From 6017cdd1d6677746cb164e500736d2500f1b8839 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Thu, 30 May 2013 18:26:23 +0000 Subject: [PATCH 001/149] simplify handling of h and ? for help; old h becomes H (argument for helix angle) svn:revision:55606 svn:branch:trunk svn:account:carlmoore --- src/shapes/coil.c | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/src/shapes/coil.c b/src/shapes/coil.c index d9f82a4f3d3..9304da15170 100644 --- a/src/shapes/coil.c +++ b/src/shapes/coil.c @@ -315,7 +315,7 @@ make_coil(struct rt_wdb (*file), char *prefix, struct bu_list *sections, int sta void usage() { - bu_log("Usage: coil [-d mean_outer_diameter] [-w wire_diameter] [-h helix_angle] [-p pitch]\n"); + bu_log("Usage: coil [-d mean_outer_diameter] [-w wire_diameter] [-H helix_angle] [-p pitch]\n"); bu_log(" [-n number_of_turns] [-s start_cap_type] [-e end_cap_type]\n"); bu_log(" [-S coil_data_structure] [-l overall_length] [-L]\n"); } @@ -326,7 +326,7 @@ int ReadArgs(int argc, char **argv, struct bu_list *sections, fastf_t *mean_outer_diameter, fastf_t *wire_diameter, fastf_t *helix_angle, fastf_t *pitch, int *nt, int *start_cap_type, int *end_cap_type, fastf_t *overall_length, int *lhf) { int c = 0; - char *options="d:w:h:p:n:s:e:S:l:L"; + char *options="d:w:H:p:n:s:e:S:l:Lh?"; int numturns, stype, etype, lhflag; float mean_od, wired, h_angle, ptch, lngth; int d1, d6; @@ -335,8 +335,6 @@ ReadArgs(int argc, char **argv, struct bu_list *sections, fastf_t *mean_outer_di struct coil_data_t *coil_data; - bu_opterr = 0; - if (argc == 1) { usage(); bu_log(" Program continues running:\n"); @@ -352,7 +350,7 @@ ReadArgs(int argc, char **argv, struct bu_list *sections, fastf_t *mean_outer_di sscanf(bu_optarg, "%f", &wired); *wire_diameter = wired; break; - case 'h': + case 'H': sscanf(bu_optarg, "%f", &h_angle); *helix_angle = h_angle; break; @@ -395,17 +393,7 @@ ReadArgs(int argc, char **argv, struct bu_list *sections, fastf_t *mean_outer_di } BU_LIST_INSERT(&(*sections), &((*coil_data).l)); break; - case '?': - if (argc == 2) - usedefaults=1; - usage(); - break; default: - /* since c (bu_getopt() return value) holds '?', - * instead print bu_optopt global which holds the - * parsed character. - */ - bu_log("%s: illegal option -- %c\n", bu_getprogname(), bu_optopt); usage(); bu_exit(EXIT_FAILURE, NULL); } From 39f1d4fc671f14d97c48ec2a3cd863f7fd0bc3c8 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Thu, 30 May 2013 18:36:23 +0000 Subject: [PATCH 002/149] make ?,h available as help in comgeom-g svn:revision:55607 svn:branch:trunk svn:account:carlmoore --- src/conv/comgeom/cvt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conv/comgeom/cvt.c b/src/conv/comgeom/cvt.c index 365b07e7112..d3ec3d1de3a 100644 --- a/src/conv/comgeom/cvt.c +++ b/src/conv/comgeom/cvt.c @@ -91,7 +91,7 @@ get_args(int argc, char **argv) return 0; } - while ((c = bu_getopt(argc, argv, "d:v:s:")) != -1) { + while ((c = bu_getopt(argc, argv, "d:v:s:h?")) != -1) { switch (c) { case 'd': verbose = atoi(bu_optarg); From 099de3548966c11d933cb59e3d1de5c11db345f6 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Thu, 30 May 2013 18:46:03 +0000 Subject: [PATCH 003/149] add 'continues running (will create file' svn:revision:55608 svn:branch:trunk svn:account:carlmoore --- src/proc-db/csgbrep.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/proc-db/csgbrep.cpp b/src/proc-db/csgbrep.cpp index cf1ea37ac3b..e3fc1860376 100644 --- a/src/proc-db/csgbrep.cpp +++ b/src/proc-db/csgbrep.cpp @@ -100,6 +100,7 @@ main(int argc, char** argv) else bu_log("Usage: %s\n", argv[0]); + bu_log(" Program continues running (will create file csgbrep.g):\n"); bu_log("Writing objects to %s:\n", DEFAULT_FILENAME); ON::Begin(); From 61bbaf0c95e54f3411250e61c17e6fc06a4f7a9c Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Thu, 30 May 2013 21:08:46 +0000 Subject: [PATCH 004/149] use preset of scale=1.0, like FORTRAN DATA statement (variable can receive different values during execution svn:revision:55610 svn:branch:trunk svn:account:carlmoore --- src/sig/d-bw.c | 4 +--- src/sig/d-f.c | 4 +--- src/sig/d-i.c | 4 +--- src/sig/d-u.c | 4 +--- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/sig/d-bw.c b/src/sig/d-bw.c index 306bc5fa579..a2314b2a355 100644 --- a/src/sig/d-bw.c +++ b/src/sig/d-bw.c @@ -45,13 +45,11 @@ unsigned char obuf[512]; int main(int argc, char **argv) { int i, num; - double scale; + double scale = 1.0; double value; int clip_high, clip_low; size_t ret; - scale = 1.0; - if ( argc > 1 ) { if ( BU_STR_EQUAL( argv[1], "-n" ) ) scale = 255.0; diff --git a/src/sig/d-f.c b/src/sig/d-f.c index 76f544881be..25d06c8e0a7 100644 --- a/src/sig/d-f.c +++ b/src/sig/d-f.c @@ -46,11 +46,9 @@ float obuf[512] = { 0.0f}; int main(int argc, char **argv) { int i, num; - double scale; + double scale = 1.0; size_t ret; - scale = 1.0; - if ( argc > 1 ) { if ( ! BU_STR_EQUAL( argv[1], "-n" ) ) scale = atof( argv[1] ); diff --git a/src/sig/d-i.c b/src/sig/d-i.c index c051c689666..78ad3019643 100644 --- a/src/sig/d-i.c +++ b/src/sig/d-i.c @@ -46,13 +46,11 @@ short obuf[512]; int main(int argc, char **argv) { int i, num; - double scale; + double scale = 1.0; double value; int clip_high, clip_low; size_t ret; - scale = 1.0; - if ( argc > 1 ) { if ( BU_STR_EQUAL( argv[1], "-n" ) ) scale = 32767.0; diff --git a/src/sig/d-u.c b/src/sig/d-u.c index c355b4517eb..dceb1783d7b 100644 --- a/src/sig/d-u.c +++ b/src/sig/d-u.c @@ -46,13 +46,11 @@ unsigned short obuf[512]; int main(int argc, char **argv) { int i, num; - double scale; + double scale = 1.0; double value; int clip_high, clip_low; size_t ret; - scale = 1.0; - if ( argc > 1 ) { if ( BU_STR_EQUAL( argv[1], "-n" ) ) scale = 65536.0; From 654fa235832d821add9f93ecb61289923439acb7 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Thu, 30 May 2013 21:13:37 +0000 Subject: [PATCH 005/149] provide h and ? for help; all I did was eliminate illegal-option message when one of those is detected svn:revision:55611 svn:branch:trunk svn:account:carlmoore --- src/util/dbcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/dbcp.c b/src/util/dbcp.c index 261754d13ad..45c55196f41 100644 --- a/src/util/dbcp.c +++ b/src/util/dbcp.c @@ -80,7 +80,7 @@ main(int argc, char **argv) int c; int deprecated = 1; - while ((c = bu_getopt(argc, argv, "vD")) != -1) { + while ((c = bu_getopt(argc, argv, "vDh?")) != -1) { switch (c) { case 'v': verbose++; From 8ffe37edea709e404afffe9e88998ea448cf6ec2 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Thu, 30 May 2013 21:37:36 +0000 Subject: [PATCH 006/149] implement h,?, and Illegal option; old h became H svn:revision:55612 svn:branch:trunk svn:account:carlmoore --- src/sig/ddisp.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/sig/ddisp.c b/src/sig/ddisp.c index fd82c70799f..879c71e2158 100644 --- a/src/sig/ddisp.c +++ b/src/sig/ddisp.c @@ -47,7 +47,7 @@ void disp_inten(double *buf, int size); void disp_bars(double *buf, int size); static const char usage[] = "\ -Usage: ddisp [-v -b -p -c -h] [width (512)] < inputfile\n"; +Usage: ddisp [-v -b -p -c -H] [width (512)] < inputfile\n"; int main(int argc, char **argv) @@ -71,10 +71,14 @@ main(int argc, char **argv) pause_time = 3; } else if ( BU_STR_EQUAL(argv[1], "-c") ) { Clear++; - } else if ( BU_STR_EQUAL(argv[1], "-h") ) { + } else if ( BU_STR_EQUAL(argv[1], "-H") ) { fbsize = 1024; - } else - break; + bu_exit(1, "%s", usage ); + } else { + if (! BU_STR_EQUAL(argv[1], "-h") && ! BU_STR_EQUAL(argv[1], "-?") ) + fprintf(stderr,"Illegal option -- %s\n",argv[1]); + bu_exit(1, "%s", usage ); + } argc--; argv++; } From 593fc63f5e4e1d2b40309a5460271adbc27ca9fb Mon Sep 17 00:00:00 2001 From: Clifford Yapp <238416+starseeker@users.noreply.github.com> Date: Thu, 30 May 2013 23:17:18 +0000 Subject: [PATCH 007/149] h -> H in coil per 55606 - update man page svn:revision:55613 svn:branch:trunk svn:account:starseeker --- doc/docbook/system/man1/en/coil.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/docbook/system/man1/en/coil.xml b/doc/docbook/system/man1/en/coil.xml index 4dc5a4c5c76..28cdda0200b 100644 --- a/doc/docbook/system/man1/en/coil.xml +++ b/doc/docbook/system/man1/en/coil.xml @@ -76,7 +76,7 @@ - + Specify the helix angle of the coil in degrees. @@ -158,7 +158,7 @@ Creating a coil with large helix angle and pitch - coil -h 40 -p 350 + coil -H 40 -p 350 Creating a multi-section coil with right handed winding From 13fc8128ddaae852b4e8f22915c1cd5995b7808a Mon Sep 17 00:00:00 2001 From: Clifford Yapp <238416+starseeker@users.noreply.github.com> Date: Fri, 31 May 2013 13:15:45 +0000 Subject: [PATCH 008/149] Tweak the pinewood car subtractions so the faces of the subtraction arbs aren't exactly on the faces of the solid arb - more robust. svn:revision:55614 svn:branch:trunk svn:account:starseeker --- db/pinewood.asc | 70 ++++++++++++++++++++++++------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/db/pinewood.asc b/db/pinewood.asc index 3c5bb34c9f6..b902ff1b850 100644 --- a/db/pinewood.asc +++ b/db/pinewood.asc @@ -1,28 +1,46 @@ title {Pinewood Derby Car Model} units mm -put {cuttest1.s} tgc V {21 -12.5 67} H {9.009813205160669449917104E-15 23.5329866686764859196046 3.449487102286835224083511E-30} A {-1.722865014715246889664968E-14 0 45} B {9 -3.445730029430494568190841E-15 3.445730029430493384899483E-15} C {-1.722865014715246889664968E-14 0 45} D {9 -3.445730029430494568190841E-15 3.445730029430493384899483E-15} -put {axel.s} tgc V {0 0 0} H {0 63 0} A {0 0 1} B {1 0 0} C {0 0 1} D {1 0 0} +put {outer-tire-upper-hollow.s} tgc V {0 0 0} H {0 0 0.9000000000000000222044605} A {0 -0.9000000000000000222044605 0} B {0.9000000000000000222044605 0 0} C {0 -0.9000000000000000222044605 0} D {0.9000000000000000222044605 0 0} +put {inner-cyl-2.s} tgc V {0 0 0} H {0 0 0.5999999999999999777955395} A {0 -0.800000000000000044408921 0} B {0.800000000000000044408921 0 0} C {0 -0.800000000000000044408921 0} D {0.800000000000000044408921 0 0} +put {center-cyl.s} tgc V {0 0 -0.1000000000000000055511151} H {0 0 0.5} A {0 -0.4000000000000000222044605 0} B {0.4000000000000000222044605 0 0} C {0 -0.4000000000000000222044605 0} D {0.4000000000000000222044605 0 0} +put {outer-tire.c} comb region no tree {u {- {- {l outer-cyl.s} {l outer-hollow-cyl.s}} {l outer-tire-upper-hollow.s}} {- {- {l wheel-outer-bump.s} {l outer-hollow-cyl.s}} {l outer-tire-upper-hollow.s}}} +put {center-cyl.c} comb region no tree {u {- {l center-cyl.s} {l center-cyl-hollow.s}} {- {l center-cyl-bump.s} {l center-cyl-hollow.s}}} +put {right-front-cut.s} arb8 V1 {-0.8518329999999998403126256 23.80319999999999680539986 150.5082181818181936705514} V2 {-0.8518329999999998403126256 10.9999999999999911182158 154.0000000000000284217094} V3 {-0.8518329999999998403126256 5.999999999999991118215803 177.9999999999998863131623} V4 {-0.851832999999999951334928 23.80320000000000035811354 177.9999999999999715782906} V5 {7.999999999999998223643161 23.80319999999999680539986 150.5082181818181936705514} V6 {7.999999999999998223643161 10.9999999999999911182158 154.0000000000000284217094} V7 {7.999999999999995559107901 5.999999999999991118215803 177.9999999999998863131623} V8 {7.999999999999996447286321 23.80320000000000035811354 177.9999999999999715782906} +put {center-cyl-bump.s} tgc V {0 0 -0.1000000000000000055511151} H {0 0 0.5999999999999999777955395} A {0 -0.2000000000000000111022302 0} B {0.2000000000000000111022302 0 0} C {0 -0.2000000000000000111022302 0} D {0.2000000000000000111022302 0 0} +put {outer-cyl.s} tgc V {0 0 0} H {0 0 0.800000000000000044408921} A {0 -1.5 0} B {1.5 0 0} C {0 -1.5 0} D {1.5 0 0} +put {inner-cyl.s} tgc V {0 0 0} H {0 0 0.9000000000000000222044605} A {0 -0.9000000000000000222044605 0} B {0.9000000000000000222044605 0 0} C {0 -0.9000000000000000222044605 0} D {0.9000000000000000222044605 0 0} +put {axel-cut-2.c} comb region no tree {- {l axel-cutout-2a.s} {l axel-cutout-2.s}} +put {axel-cut-1.c} comb region no tree {- {l axel-cutout-1a.s} {l axel-cutout-1.s}} put {inner-cyl.c} comb region no tree {u {- {l inner-cyl.s} {l inner-hollow.cyl.s}} {- {l inner-cyl-2.s} {l inner-cyl-2-hollow.s}}} -put {axel-cutout-2a.s} tgc V {0 61 0} H {0 1 0} A {0 0 1} B {1 0 0} C {0 0 1} D {1 0 0} -put {axel-cutout-1a.s} tgc V {0 1 0} H {0 1 0} A {0 0 1} B {1 0 0} C {0 0 1} D {1 0 0} -put {detail-spheres.c} comb region no tree {u {u {u {l detail-sphere.s} {l detail-sphere.s100}} {u {l detail-sphere.s200} {l detail-sphere.s300}}} {l detail-sphere.s400}} put {detail-sphere.s400} ell V {0.1123819780247738431278037 -0.2781551563700361273667738 0.4000000000000000222044605} A {0.01873032967079563820833599 -0.04635919272833936150002287 0} B {0.04635919272833936150002287 0.01873032967079563820833599 0} C {0 0 0.05000000000000000277555756} put {wheel-well-back.s} arb8 V1 {2 -22 25} V2 {2 22 25} V3 {2 22 27} V4 {2 -22 27} V5 {0 -22 25} V6 {0 22 25} V7 {0 22 27} V8 {0 -22 27} put {detail-sphere.s300} ell V {-0.2331437884370911595155462 -0.1887961173149513838254165 0.4000000000000000222044605} A {-0.03885729807284853121185364 -0.03146601955249189730423609 0} B {0.03146601955249189730423609 -0.03885729807284853121185364 0} C {0 0 0.05000000000000000277555756} -put {left-front-cut.s} arb8 V1 {0 -22 151} V2 {0 -11 154} V3 {0 -6 178} V4 {0 -22 178} V5 {8 -22 151} V6 {8 -11 154} V7 {8 -6 178} V8 {8 -22 178} put {detail-sphere.s200} ell V {-0.2487112717665125871668863 0.1677578710412239437754778 0.4000000000000000222044605} A {-0.04145187862775209786114772 0.0279596451735373285885089 0} B {-0.0279596451735373285885089 -0.04145187862775209786114772 0} C {0 0 0.05000000000000000277555756} -put {pinewood} comb region no tree {u {u {u {l pinewood_car_body.r} {l tire1.r}} {u {l tire2.r} {l tire3.r}}} {u {u {l tire4.r} {l axel1.r}} {l axel2.r}}} put {detail-sphere.s100} ell V {0.08771151141682095864204882 0.2868914267889106639586316 0.4000000000000000222044605} A {0.0146185852361368287533061 0.04781523779815177732643861 0} B {-0.04781523779815177732643861 0.0146185852361368287533061 0} C {0 0 0.05000000000000000277555756} -put {side-cut-right.s} arb8 V1 {10.0000000000000088817842 22 77} V2 {8.881784197001252323389053E-15 22.00000000000000710542736 77} V3 {8.881784197001252323389053E-15 22.00000000000000710542736 130} V4 {10.00000000000000710542736 21.99999999999999644728632 130.0000000000000284217094} V5 {16 11 89} V6 {1.776356839400250464677811E-15 11.00000000000000710542736 89} V7 {1.776356839400252436830074E-15 11.00000000000000710542736 122.0000000000000284217094} V8 {16 11 122.0000000000000710542736} +put {inner-detail-401.s} tgc V {-0.2996852747327302113333758 0.741747083653429784000366 0.4000000000000000222044605} H {0.2247639560495476862556075 -0.5563103127400722547335477 0} A {0 0 -0.1499999999999999944488849} B {0.1390775781850180636833869 0.05619098901238692156390186 0} C {0 0 -0.01000000000000000020816682} D {0.009271838545667871259170489 0.003746065934159127901875719 0} +put {inner-detail-301.s} tgc V {0.6217167691655764993896582 0.5034563128398703568677774 0.4000000000000000222044605} H {-0.4662875768741823190310924 -0.3775922346299027676508331 0} A {0 0 -0.1499999999999999944488849} B {0.09439805865747569191270827 -0.1165718942185455797577731 0} C {0 0 -0.01000000000000000020816682} D {0.006293203910498379634319566 -0.007771459614569705548481338 0} +put {inner-detail-201.s} tgc V {0.6632300580440335657783635 -0.4473543227765972574161424 0.4000000000000000222044605} H {-0.4974225435330251743337726 0.3355157420824478875509556 0} A {0 0 -0.1499999999999999944488849} B {-0.08387893552061197188773889 -0.1243556358832562935834432 0} C {0 0 -0.01000000000000000020816682} D {-0.005591929034707465023812389 -0.008290375725550419225284848 0} +put {inner-detail-101.s} tgc V {-0.2338973637781892600528977 -0.7650438047704284372230177 0.4000000000000000222044605} H {0.1754230228336419172840976 0.5737828535778213279172633 0} A {0 0 -0.1499999999999999944488849} B {-0.1434457133944553319793158 0.04385575570841047932102441 0} C {0 0 -0.01000000000000000020816682} D {-0.009563047559630355812232416 0.002923717047227365403716526 0} +put {cuttest1.s} tgc V {21 -12.5 67} H {9.009813205160669449917104E-15 23.5329866686764859196046 3.449487102286835224083511E-30} A {-1.722865014715246889664968E-14 0 45} B {9 -3.445730029430494568190841E-15 3.445730029430493384899483E-15} C {-1.722865014715246889664968E-14 0 45} D {9 -3.445730029430494568190841E-15 3.445730029430493384899483E-15} +put {detail-spheres.c} comb region no tree {u {u {u {l detail-sphere.s} {l detail-sphere.s100}} {u {l detail-sphere.s200} {l detail-sphere.s300}}} {l detail-sphere.s400}} +put {left-front-cut.s} arb8 V1 {-0.6130360000000001363673618 -23.96719999999999117790139 150.4634909090908365669748} V2 {-0.6130360000000000253450594 -10.99999999999998934185896 154.0000000000000852651283} V3 {-0.6130360000000000253450594 -6.000000000000002664535259 177.9999999999999431565811} V4 {-0.6130360000000000253450594 -23.96719999999999117790139 177.9999999999999431565811} V5 {8.000000000000001776356839 -23.96719999999999117790139 150.4634909090908365669748} V6 {7.99999999999999911182158 -10.99999999999998934185896 154.0000000000000852651283} V7 {7.999999999999998223643161 -6.000000000000002664535259 177.9999999999999431565811} V8 {8.000000000000003552713679 -23.96719999999999117790139 177.9999999999999431565811} +put {side-cut-right.s} arb8 V1 {9.151327272727264983132045 23.55590000000000827640179 75.30265454545443049028108} V2 {9.886814599336834788138377E-15 23.55590000000001893454282 75.30265454545450154455466} V3 {9.886814599336837943581998E-15 23.55590000000000472368811 131.1315636363635803718353} V4 {9.151327272727243666849972 23.55589999999998696011971 131.1315636363635519501258} V5 {15.99999999999997690736109 10.99999999999999822364316 88.99999999999984368059813} V6 {1.776356839400245337081927E-15 11.00000000000001243449788 88.99999999999995736743585} V7 {1.776356839400252042399621E-15 11.00000000000000355271368 121.9999999999999715782906} V8 {15.99999999999996624922005 10.9999999999999911182158 121.9999999999999573674359} +put {axel-cutout-2a.s} tgc V {0 61 0} H {0 1 0} A {0 0 1} B {1 0 0} C {0 0 1} D {1 0 0} +put {axel-cutout-1a.s} tgc V {0 1 0} H {0 1 0} A {0 0 1} B {1 0 0} C {0 0 1} D {1 0 0} +put {pinewood} comb region no tree {u {u {u {l pinewood_car_body.r} {l tire1.r}} {u {l tire2.r} {l tire3.r}}} {u {u {l tire4.r} {l axel1.r}} {l axel2.r}}} +put {inner-detail-1.s} tgc V {-0.800000000000000044408921 0 0.4000000000000000222044605} H {0.5999999999999999777955395 0 0} A {0 0 -0.1499999999999999944488849} B {0 0.1499999999999999944488849 0} C {0 0 -0.01000000000000000020816682} D {0 0.01000000000000000020816682 0} +put {detail-sphere.s} ell V {0.2999999999999999888977698 0 0.4000000000000000222044605} A {0.05000000000000000277555756 0 0} B {0 0.05000000000000000277555756 0} C {0 0 0.05000000000000000277555756} +put {inner-cyl-2-hollow.s} tgc V {0 0 0} H {0 0 0.800000000000000044408921} A {0 -0.7499999999999998889776975 0} B {0.7499999999999998889776975 0 0} C {0 -0.7499999999999998889776975 0} D {0.7499999999999998889776975 0 0} +put {block6.s} arb8 V1 {18 -12.5 102} V2 {18 10.5 102} V3 {18 10.5 177} V4 {18 -12.5 177} V5 {23.23583984375 -12.5 102} V6 {23.23583984375 10.5 102} V7 {23.23583984375 10.5 177} V8 {23.23583984375 -12.5 177} +put {block5.s} arb8 V1 {2.5 -22 177} V2 {18 -22 102} V3 {18 22 102} V4 {2.5 22 177} V5 {18 -22 177} V6 {18 -22 177} V7 {18 22 177} V8 {18 22 177} +put {block4.s} arb8 V1 {10 -12.5 67} V2 {10 10.5 67} V3 {10 10.5 177} V4 {10 -12.5 177} V5 {21 -5.5 67} V6 {21 2.5 67} V7 {21 2.5 177} V8 {21 -5.5 177} +put {block3.s} arb8 V1 {10 -12.5 0} V2 {10 10.5 0} V3 {10.00000000000000177635684 10.5 67} V4 {10.00000000000000177635684 -12.49999999999999822364316 67.00000000000001421085472} V5 {21 -5.5 0} V6 {21 2.5 0} V7 {21 2.500000000000007105427358 67.00000000000001421085472} V8 {21 -5.5 67} +put {block2.s} arb8 V1 {12.75558857142857327460206 -12.38815357142856932171071 -1.069299999999999695177166} V2 {21.83899999999998797761691 -5.575595000000001633111424 38.67062500000000113686838} V3 {21.83899999999999508304427 2.455820000000009883933672 38.67062499999998692601366} V4 {12.75558857142860702538201 10.40380499999997354620973 -1.069299999999999917221771} V5 {21.83899999999999153033059 -5.575594999999994527684066 -1.069299999999999917221771} V6 {21.83899999999999153033059 -5.575594999999994527684066 -1.069299999999999917221771} V7 {21.83899999999999863575795 2.45582000000001521300419 -1.069299999999999695177166} V8 {21.83899999999999863575795 2.45582000000001521300419 -1.069299999999999695177166} +put {block1.s} arb8 V1 {0 -22 0} V2 {0 22 0} V3 {0 22 177} V4 {0 -22 177} V5 {10 -22 0} V6 {10 22 0} V7 {10 22 177} V8 {10 -22 177} +put {side-cut-left.s} arb8 V1 {0 -23.55600000000000093791641 77.94399999999994577137841} V2 {8.726909090909078514641806 -23.55600000000000093791641 77.94399999999995998223312} V3 {8.726909090909080290998645 -23.55600000000000093791641 130.348727272727245463102} V4 {0 -23.55600000000000093791641 130.3487272727272738848114} V5 {0 -11 90.49999999999994315658114} V6 {18.99999999999998934185896 -11 90.49999999999994315658114} V7 {18.99999999999998934185896 -11 123.4999999999999857891453} V8 {0 -11 123.5000000000000568434189} put {pinewood_car_body.r} comb region yes tree {u {u {- {- {- {- {- {- {- {l block1.s {0 0 1 0 0 -1 0 0 1 0 0 0 0 0 0 1}} {l block5.s {0 0 1 0 0 -1 0 0 1 0 0 0 0 0 0 1}}} {l side-cut-left.s {0 0 1 0 0 -1 0 0 1 0 0 0 0 0 0 1}}} {l side-cut-right.s {0 0 1 0 0 -1 0 0 1 0 0 0 0 0 0 1}}} {l left-front-cut.s {0 0 1 0 0 -1 0 0 1 0 0 0 0 0 0 1}}} {l right-front-cut.s {0 0 1 0 0 -1 0 0 1 0 0 0 0 0 0 1}}} {l wheel-well-back.s {0 0 1 0 0 -1 0 0 1 0 0 0 0 0 0 1}}} {l wheel-well-front.s {0 0 1 0 0 -1 0 0 1 0 0 0 0 0 0 1}}} {- {l block3.s {0 0 1 0 0 -1 0 0 1 0 0 0 0 0 0 1}} {l block2.s {0 0 1 0 0 -1 0 0 1 0 0 0 0 0 0 1}}}} {- {- {- {l block4.s {0 0 1 0 0 -1 0 0 1 0 0 0 0 0 0 1}} {l cuttest1.s {0 0 1 0 0 -1 0 0 1 0 0 0 0 0 0 1}}} {l block5.s {0 0 1 0 0 -1 0 0 1 0 0 0 0 0 0 1}}} {l block6.s {0 0 1 0 0 -1 0 0 1 0 0 0 0 0 0 1}}}} attr set {pinewood_car_body.r} {region} {R} {los} {100} {material_id} {1} {region_id} {1000} {shader} {plastic} {color} {255/255/118} -put {outer-tire-upper-hollow.s} tgc V {0 0 0} H {0 0 0.9000000000000000222044605} A {0 -0.9000000000000000222044605 0} B {0.9000000000000000222044605 0 0} C {0 -0.9000000000000000222044605 0} D {0.9000000000000000222044605 0 0} -put {right-front-cut.s} arb8 V1 {0 22 151} V2 {0 11 154} V3 {0 6 178} V4 {0 22 178} V5 {8 22 151} V6 {8 11 154} V7 {8 6 178} V8 {8 22 178} -put {inner-cyl-2.s} tgc V {0 0 0} H {0 0 0.5999999999999999777955395} A {0 -0.800000000000000044408921 0} B {0.800000000000000044408921 0 0} C {0 -0.800000000000000044408921 0} D {0.800000000000000044408921 0 0} -put {inner-detail-1.s} tgc V {-0.800000000000000044408921 0 0.4000000000000000222044605} H {0.5999999999999999777955395 0 0} A {0 0 -0.1499999999999999944488849} B {0 0.1499999999999999944488849 0} C {0 0 -0.01000000000000000020816682} D {0 0.01000000000000000020816682 0} put {axel-cutout-2.s} tgc V {0 61 0} H {0 1 0} A {0 0 0.5999999999999999777955395} B {0.5999999999999999777955395 0 0} C {0 0 0.5999999999999999777955395} D {0.5999999999999999777955395 0 0} -put {inner-cones.c} comb region no tree {u {u {u {l inner-detail-1.s} {l inner-detail-101.s}} {u {l inner-detail-201.s} {l inner-detail-301.s}}} {l inner-detail-401.s}} -put {detail-sphere.s} ell V {0.2999999999999999888977698 0 0.4000000000000000222044605} A {0.05000000000000000277555756 0 0} B {0 0.05000000000000000277555756 0} C {0 0 0.05000000000000000277555756} put {axel-cutout-1.s} tgc V {0 1 0} H {0 1 0} A {0 0 0.5999999999999999777955395} B {0.5999999999999999777955395 0 0} C {0 0 0.5999999999999999777955395} D {0.5999999999999999777955395 0 0} put {tire4.r} comb region yes tree {u {u {u {u {l outer-tire.c {-1 0 0 14 0 0 -1 -2.3 0 -1 0 0.1 0 0 0 0.1}} {- {l inner-cyl.c {-1 0 0 14 0 0 -1 -2.3 0 -1 0 0.1 0 0 0 0.1}} {l inner-cyl-lower-trim.s {-1 0 0 14 0 0 -1 -2.3 0 -1 0 0.1 0 0 0 0.1}}}} {- {l inner-cones.c {-1 0 0 14 0 0 -1 -2.3 0 -1 0 0.1 0 0 0 0.1}} {l inner-cyl-lower-trim.s {-1 0 0 14 0 0 -1 -2.3 0 -1 0 0.1 0 0 0 0.1}}}} {l detail-spheres.c {-1 0 0 14 0 0 -1 -2.3 0 -1 0 0.1 0 0 0 0.1}}} {l center-cyl.c {-1 0 0 14 0 0 -1 -2.3 0 -1 0 0.1 0 0 0 0.1}}} attr set {tire4.r} {region} {R} {shader} {plastic} {region_id} {1001} {material_id} {1} {los} {100} {color} {40/40/40} @@ -36,29 +54,11 @@ put {tire1.r} comb region yes tree {u {u {u {u {l outer-tire.c {1 0 0 2.6 0 0 1 attr set {tire1.r} {region} {R} {shader} {plastic} {region_id} {1001} {material_id} {1} {los} {100} {color} {40/40/40} put {axel1.r} comb region yes tree {- {- {l axel.s {1 0 0 26 0 1 0 -31.5 0 0 1 1 0 0 0 1}} {l axel-cut-1.c {1 0 0 26 0 1 0 -31.5 0 0 1 1 0 0 0 1}}} {l axel-cut-2.c {1 0 0 26 0 1 0 -31.5 0 0 1 1 0 0 0 1}}} attr set {axel1.r} {region} {R} {los} {100} {material_id} {1} {region_id} {1000} -put {center-cyl-bump.s} tgc V {0 0 -0.1000000000000000055511151} H {0 0 0.5999999999999999777955395} A {0 -0.2000000000000000111022302 0} B {0.2000000000000000111022302 0 0} C {0 -0.2000000000000000111022302 0} D {0.2000000000000000111022302 0 0} -put {center-cyl.s} tgc V {0 0 -0.1000000000000000055511151} H {0 0 0.5} A {0 -0.4000000000000000222044605 0} B {0.4000000000000000222044605 0 0} C {0 -0.4000000000000000222044605 0} D {0.4000000000000000222044605 0 0} -put {wheel-well-front.s} arb8 V1 {2 -22 139} V2 {2 22 139} V3 {2 22 141} V4 {2 -22 141} V5 {0 -22 139} V6 {0 22 139} V7 {0 22 141} V8 {0 -22 141} put {center-cyl-hollow.s} tgc V {0 0 -0.1000000000000000055511151} H {0 0 0.5999999999999999777955395} A {0 -0.1000000000000000055511151 0} B {0.1000000000000000055511151 0 0} C {0 -0.1000000000000000055511151 0} D {0.1000000000000000055511151 0 0} +put {axel.s} tgc V {0 0 0} H {0 63 0} A {0 0 1} B {1 0 0} C {0 0 1} D {1 0 0} +put {inner-cones.c} comb region no tree {u {u {u {l inner-detail-1.s} {l inner-detail-101.s}} {u {l inner-detail-201.s} {l inner-detail-301.s}}} {l inner-detail-401.s}} +put {wheel-well-front.s} arb8 V1 {2 -22 139} V2 {2 22 139} V3 {2 22 141} V4 {2 -22 141} V5 {0 -22 139} V6 {0 22 139} V7 {0 22 141} V8 {0 -22 141} put {outer-hollow-cyl.s} tgc V {0 0 0} H {0 0 0.5} A {0 -1.199999999999999955591079 0} B {1.199999999999999955591079 0 0} C {0 -1.199999999999999955591079 0} D {1.199999999999999955591079 0 0} -put {inner-detail-401.s} tgc V {-0.2996852747327302113333758 0.741747083653429784000366 0.4000000000000000222044605} H {0.2247639560495476862556075 -0.5563103127400722547335477 0} A {0 0 -0.1499999999999999944488849} B {0.1390775781850180636833869 0.05619098901238692156390186 0} C {0 0 -0.01000000000000000020816682} D {0.009271838545667871259170489 0.003746065934159127901875719 0} -put {inner-detail-301.s} tgc V {0.6217167691655764993896582 0.5034563128398703568677774 0.4000000000000000222044605} H {-0.4662875768741823190310924 -0.3775922346299027676508331 0} A {0 0 -0.1499999999999999944488849} B {0.09439805865747569191270827 -0.1165718942185455797577731 0} C {0 0 -0.01000000000000000020816682} D {0.006293203910498379634319566 -0.007771459614569705548481338 0} put {wheel-outer-bump.s} eto V {0 0 0.800000000000000044408921} N {0 -8.34544256767107268166427E-16 -1.089884907806513147932037} C {0.281492275734594732394811 0.02689961599649578691262342 0.0008719051763263864019207205} r 1.175024957792653701460495 r_d 0.09511428095492888146189614 put {inner-hollow.cyl.s} tgc V {0 0 0} H {0 0 0.9000000000000000222044605} A {0 -0.800000000000000044408921 0} B {0.800000000000000044408921 0 0} C {0 -0.800000000000000044408921 0} D {0.800000000000000044408921 0 0} -put {inner-detail-201.s} tgc V {0.6632300580440335657783635 -0.4473543227765972574161424 0.4000000000000000222044605} H {-0.4974225435330251743337726 0.3355157420824478875509556 0} A {0 0 -0.1499999999999999944488849} B {-0.08387893552061197188773889 -0.1243556358832562935834432 0} C {0 0 -0.01000000000000000020816682} D {-0.005591929034707465023812389 -0.008290375725550419225284848 0} -put {inner-detail-101.s} tgc V {-0.2338973637781892600528977 -0.7650438047704284372230177 0.4000000000000000222044605} H {0.1754230228336419172840976 0.5737828535778213279172633 0} A {0 0 -0.1499999999999999944488849} B {-0.1434457133944553319793158 0.04385575570841047932102441 0} C {0 0 -0.01000000000000000020816682} D {-0.009563047559630355812232416 0.002923717047227365403716526 0} -put {outer-cyl.s} tgc V {0 0 0} H {0 0 0.800000000000000044408921} A {0 -1.5 0} B {1.5 0 0} C {0 -1.5 0} D {1.5 0 0} -put {outer-tire.c} comb region no tree {u {- {- {l outer-cyl.s} {l outer-hollow-cyl.s}} {l outer-tire-upper-hollow.s}} {- {- {l wheel-outer-bump.s} {l outer-hollow-cyl.s}} {l outer-tire-upper-hollow.s}}} -put {inner-cyl.s} tgc V {0 0 0} H {0 0 0.9000000000000000222044605} A {0 -0.9000000000000000222044605 0} B {0.9000000000000000222044605 0 0} C {0 -0.9000000000000000222044605 0} D {0.9000000000000000222044605 0 0} -put {axel-cut-2.c} comb region no tree {- {l axel-cutout-2a.s} {l axel-cutout-2.s}} -put {center-cyl.c} comb region no tree {u {- {l center-cyl.s} {l center-cyl-hollow.s}} {- {l center-cyl-bump.s} {l center-cyl-hollow.s}}} -put {axel-cut-1.c} comb region no tree {- {l axel-cutout-1a.s} {l axel-cutout-1.s}} -put {inner-cyl-2-hollow.s} tgc V {0 0 0} H {0 0 0.800000000000000044408921} A {0 -0.7499999999999998889776975 0} B {0.7499999999999998889776975 0 0} C {0 -0.7499999999999998889776975 0} D {0.7499999999999998889776975 0 0} -put {block6.s} arb8 V1 {18 -12.5 102} V2 {18 10.5 102} V3 {18 10.5 177} V4 {18 -12.5 177} V5 {23.23583984375 -12.5 102} V6 {23.23583984375 10.5 102} V7 {23.23583984375 10.5 177} V8 {23.23583984375 -12.5 177} -put {block5.s} arb8 V1 {2.5 -22 177} V2 {18 -22 102} V3 {18 22 102} V4 {2.5 22 177} V5 {18 -22 177} V6 {18 -22 177} V7 {18 22 177} V8 {18 22 177} -put {block4.s} arb8 V1 {10 -12.5 67} V2 {10 10.5 67} V3 {10 10.5 177} V4 {10 -12.5 177} V5 {21 -5.5 67} V6 {21 2.5 67} V7 {21 2.5 177} V8 {21 -5.5 177} -put {block3.s} arb8 V1 {10 -12.5 0} V2 {10 10.5 0} V3 {10.00000000000000177635684 10.5 67} V4 {10.00000000000000177635684 -12.49999999999999822364316 67.00000000000001421085472} V5 {21 -5.5 0} V6 {21 2.5 0} V7 {21 2.500000000000007105427358 67.00000000000001421085472} V8 {21 -5.5 67} -put {block2.s} arb8 V1 {13 -11.5 0} V2 {21 -5.5 35} V3 {21 2.5 35} V4 {13 9.5 0} V5 {21 -5.5 0} V6 {21 -5.5 0} V7 {21 2.5 0} V8 {21 2.5 0} -put {block1.s} arb8 V1 {0 -22 0} V2 {0 22 0} V3 {0 22 177} V4 {0 -22 177} V5 {10 -22 0} V6 {10 22 0} V7 {10 22 177} V8 {10 -22 177} -put {side-cut-left.s} arb8 V1 {0 -22 79.5} V2 {10 -22 79.5} V3 {9.999999999999996447286321 -22 129.5} V4 {0 -22 129.5} V5 {0 -11 90.5} V6 {19 -11 90.49999999999998578914528} V7 {19 -11 123.5} V8 {0 -11.00000000000000177635684 123.5000000000000142108547} put {inner-cyl-lower-trim.s} tgc V {0 0 0} H {0 0 0.4000000000000000222044605} A {0 -0.9000000000000000222044605 0} B {0.9000000000000000222044605 0 0} C {0 -0.9000000000000000222044605 0} D {0.9000000000000000222044605 0 0} From b9ca119f48cf1fad5140001d8b48b177f53b4dcf Mon Sep 17 00:00:00 2001 From: Richard Weiss Date: Fri, 31 May 2013 15:54:41 +0000 Subject: [PATCH 009/149] Fixed a bug in libged 'draw.c' function 'append_solid_to_display_list' which corrects 'autoview' in mged. svn:revision:55615 svn:branch:trunk svn:account:r_weiss --- src/libged/draw.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libged/draw.c b/src/libged/draw.c index 3e81d1ca9e2..4d6e1184e55 100644 --- a/src/libged/draw.c +++ b/src/libged/draw.c @@ -442,6 +442,9 @@ append_solid_to_display_list( BN_CK_TOL(tsp->ts_tol); RT_CK_RESOURCE(tsp->ts_resp); + VSETALL(min, INFINITY); + VSETALL(max, -INFINITY); + if (!dgcdp) { return TREE_NULL; } From bc834d5a7fbc2cd1530ac14cf1453da929f1fca3 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Fri, 31 May 2013 16:21:25 +0000 Subject: [PATCH 010/149] remove 'Bad option' message (go with bu_getopt instead); Ch would be '?' anyway if we got here svn:revision:55616 svn:branch:trunk svn:account:carlmoore --- src/util/azel.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/util/azel.c b/src/util/azel.c index efb8248e4ea..e970d2de547 100644 --- a/src/util/azel.c +++ b/src/util/azel.c @@ -181,9 +181,6 @@ main (int argc, char **argv) Round = 1; break; default: - if (Ch != '?' && Ch != 'h') { - fprintf(stderr, "Bad option '-%c'\n", Ch); - } PrintUsage(); } From c111250e21c9aaab853c88604d553a576254356e Mon Sep 17 00:00:00 2001 From: Clifford Yapp <238416+starseeker@users.noreply.github.com> Date: Fri, 31 May 2013 16:51:53 +0000 Subject: [PATCH 011/149] Convert libged struct elements to pointers from inline bu_list structures. ged_close no longer frees the top level gedp pointer automatically, in case callers want to close stack-allocated ged structures. svn:revision:55617 svn:branch:trunk svn:account:starseeker --- include/ged.h | 5 +++-- src/conv/bot_dump.c | 2 ++ src/conv/g-dot.c | 2 ++ src/gtools/g_qa.c | 2 ++ src/libged/autoview.c | 4 ++-- src/libged/bot_dump.c | 2 +- src/libged/color.c | 2 +- src/libged/draw.c | 16 +++++++--------- src/libged/erase.c | 22 +++++++++++----------- src/libged/ged.c | 28 +++++++++++++--------------- src/libged/get_autoview.c | 4 ++-- src/libged/how.c | 4 ++-- src/libged/illum.c | 4 ++-- src/libged/joint.c | 4 ++-- src/libged/move.c | 2 +- src/libged/move_all.c | 2 +- src/libged/nirt.c | 4 ++-- src/libged/plot.c | 8 ++++---- src/libged/png.c | 4 ++-- src/libged/polybinout.c | 4 ++-- src/libged/ps.c | 4 ++-- src/libged/report.c | 8 ++++---- src/libged/rt.c | 20 ++++++++++---------- src/libged/rtcheck.c | 8 ++++---- src/libged/saveview.c | 4 ++-- src/libged/select.c | 8 ++++---- src/libged/set_transparency.c | 4 ++-- src/libged/vdraw.c | 14 +++++++------- src/libged/who.c | 2 +- src/libged/zap.c | 2 +- src/libtclcad/tclcad_obj.c | 14 ++++++++------ src/mged/attach.c | 2 +- src/mged/buttons.c | 12 ++++++------ src/mged/chgtree.c | 8 ++++---- src/mged/chgview.c | 20 ++++++++++---------- src/mged/dodraw.c | 6 +++--- src/mged/dozoom.c | 16 ++++++++-------- src/mged/edsol.c | 16 ++++++++-------- src/mged/mater.c | 2 +- src/mged/mged.c | 7 +++++-- src/mged/overlay.c | 4 ++-- src/mged/plot.c | 12 ++++++------ src/mged/polyif.c | 4 ++-- src/mged/rtif.c | 4 ++-- src/mged/set.c | 6 +++--- src/mged/share.c | 2 +- src/mged/usepen.c | 16 ++++++++-------- 47 files changed, 179 insertions(+), 171 deletions(-) diff --git a/include/ged.h b/include/ged.h index a362caa2182..9756ab517e5 100644 --- a/include/ged.h +++ b/include/ged.h @@ -459,8 +459,8 @@ struct ged_display_list { /* FIXME: should be private */ struct ged_drawable { struct bu_list l; - struct bu_list gd_headDisplay; /**< @brief head of display list */ - struct bu_list gd_headVDraw; /**< @brief head of vdraw list */ + struct bu_list *gd_headDisplay; /**< @brief head of display list */ + struct bu_list *gd_headVDraw; /**< @brief head of vdraw list */ struct vd_curve *gd_currVHead; /**< @brief current vdraw head */ struct solid *gd_freeSolids; /**< @brief ptr to head of free solid list */ @@ -639,6 +639,7 @@ GED_EXPORT extern void ged_erasePathFromDisplay(struct ged *gedp, GED_EXPORT extern void ged_close(struct ged *gedp); GED_EXPORT extern void ged_free(struct ged *gedp); GED_EXPORT extern void ged_init(struct ged *gedp); +/* Call BU_PUT to release returned ged structure */ GED_EXPORT extern struct ged *ged_open(const char *dbtype, const char *filename, int existing_only); diff --git a/src/conv/bot_dump.c b/src/conv/bot_dump.c index 3390093a68a..e298f3ed70c 100644 --- a/src/conv/bot_dump.c +++ b/src/conv/bot_dump.c @@ -89,6 +89,8 @@ main(int argc, char *argv[]) if (bu_vls_strlen(gedp->ged_result_str) > 0) bu_log("%s", bu_vls_addr(gedp->ged_result_str)); ged_close(gedp); + if(gedp) + BU_PUT(gedp, struct ged); bu_free(av, "free argv copy"); return 0; diff --git a/src/conv/g-dot.c b/src/conv/g-dot.c index cb60305e043..3537e5d3674 100644 --- a/src/conv/g-dot.c +++ b/src/conv/g-dot.c @@ -402,6 +402,8 @@ main(int ac, char *av[]) bu_ptbl_free(&o.groups); ged_close(gp); + if (gp) + BU_PUT(gp, struct ged); bu_free_argv(c, objs); diff --git a/src/gtools/g_qa.c b/src/gtools/g_qa.c index ec1e1739056..4080e77b5c4 100644 --- a/src/gtools/g_qa.c +++ b/src/gtools/g_qa.c @@ -109,6 +109,8 @@ main(int argc, char *argv[]) if (bu_vls_strlen(gedp->ged_result_str) > 0) bu_log("%s", bu_vls_addr(gedp->ged_result_str)); ged_close(gedp); + if (gedp) + BU_PUT(gedp, struct ged); bu_free(av, "av"); diff --git a/src/libged/autoview.c b/src/libged/autoview.c index eb03f14cb6a..eb39b6e24e2 100644 --- a/src/libged/autoview.c +++ b/src/libged/autoview.c @@ -90,8 +90,8 @@ ged_autoview(struct ged *gedp, int argc, const char *argv[]) VSETALL(sqrt_small, SQRT_SMALL_FASTF); /* calculate the bounding for of all solids being displayed */ - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { diff --git a/src/libged/bot_dump.c b/src/libged/bot_dump.c index 470e2310df9..371a7b2aabd 100644 --- a/src/libged/bot_dump.c +++ b/src/libged/bot_dump.c @@ -1499,7 +1499,7 @@ ged_dbot_dump(struct ged *gedp, int argc, const char *argv[]) MAT_IDN(mat); - for (BU_LIST_FOR(gdlp, ged_display_list, &gedp->ged_gdp->gd_headDisplay)) { + for (BU_LIST_FOR(gdlp, ged_display_list, gedp->ged_gdp->gd_headDisplay)) { struct solid *sp; FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { diff --git a/src/libged/color.c b/src/libged/color.c index b2a07363aa2..8784082b7fc 100644 --- a/src/libged/color.c +++ b/src/libged/color.c @@ -238,7 +238,7 @@ edcolor(struct ged *gedp, int argc, const char *argv[]) /* if there are drawables, update their colors */ if (gedp->ged_gdp) - ged_color_soltab(&gedp->ged_gdp->gd_headDisplay); + ged_color_soltab(gedp->ged_gdp->gd_headDisplay); return GED_OK; } diff --git a/src/libged/draw.c b/src/libged/draw.c index 4d6e1184e55..228cf3b4c86 100644 --- a/src/libged/draw.c +++ b/src/libged/draw.c @@ -1610,7 +1610,7 @@ ged_draw_guts(struct ged *gedp, int argc, const char *argv[], int kind) /* Done checking options. If our display is non-empty, * add -R to keep current view. */ - if (BU_LIST_NON_EMPTY(&gedp->ged_gdp->gd_headDisplay)) { + if (BU_LIST_NON_EMPTY(gedp->ged_gdp->gd_headDisplay)) { bu_vls_strcat(&vls, " -R"); } break; @@ -1726,7 +1726,7 @@ ged_draw_guts(struct ged *gedp, int argc, const char *argv[], int kind) bu_vls_free(&vls); empty_display = 1; - if (BU_LIST_NON_EMPTY(&gedp->ged_gdp->gd_headDisplay)) { + if (BU_LIST_NON_EMPTY(gedp->ged_gdp->gd_headDisplay)) { empty_display = 0; } @@ -1807,8 +1807,8 @@ ged_addToDisplay(struct ged *gedp, found_namepath = 1; /* Make sure name is not already in the list */ - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { if (BU_STR_EQUAL(name, bu_vls_addr(&gdlp->gdl_path))) goto end; @@ -1832,7 +1832,7 @@ ged_addToDisplay(struct ged *gedp, BU_ALLOC(gdlp, struct ged_display_list); BU_LIST_INIT(&gdlp->l); - BU_LIST_INSERT(&gedp->ged_gdp->gd_headDisplay, &gdlp->l); + BU_LIST_INSERT(gedp->ged_gdp->gd_headDisplay, &gdlp->l); BU_LIST_INIT(&gdlp->gdl_headSolid); gdlp->gdl_dp = dp; bu_vls_init(&gdlp->gdl_path); @@ -1861,8 +1861,7 @@ ged_redraw(struct ged *gedp, int argc, const char *argv[]) if (argc == 1) { /* redraw everything */ - for (BU_LIST_FOR(gdlp, ged_display_list, - &gedp->ged_gdp->gd_headDisplay)) + for (BU_LIST_FOR(gdlp, ged_display_list, gedp->ged_gdp->gd_headDisplay)) { for (BU_LIST_FOR(sp, solid, &gdlp->gdl_headSolid)) { ret = redraw_solid(gedp, sp); @@ -1888,8 +1887,7 @@ ged_redraw(struct ged *gedp, int argc, const char *argv[]) } found_path = 0; - for (BU_LIST_FOR(gdlp, ged_display_list, - &gedp->ged_gdp->gd_headDisplay)) + for (BU_LIST_FOR(gdlp, ged_display_list, gedp->ged_gdp->gd_headDisplay)) { ret = db_string_to_path(&dl_path, gedp->ged_wdbp->dbip, bu_vls_addr(&gdlp->gdl_path)); diff --git a/src/libged/erase.c b/src/libged/erase.c index 18863bc6f89..772dcbdbd7b 100644 --- a/src/libged/erase.c +++ b/src/libged/erase.c @@ -257,9 +257,9 @@ ged_erasePathFromDisplay(struct ged *gedp, else found_subpath = 0; - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - last_gdlp = BU_LIST_LAST(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + last_gdlp = BU_LIST_LAST(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); if (BU_STR_EQUAL(path, bu_vls_addr(&gdlp->gdl_path))) { @@ -328,7 +328,7 @@ ged_erasePathFromDisplay(struct ged *gedp, } if (gdlp == last_gdlp) - gdlp = (struct ged_display_list *)&gedp->ged_gdp->gd_headDisplay; + gdlp = (struct ged_display_list *)gedp->ged_gdp->gd_headDisplay; else gdlp = next_gdlp; } @@ -377,8 +377,8 @@ _ged_eraseAllNamesFromDisplay(struct ged *gedp, struct ged_display_list *gdlp; struct ged_display_list *next_gdlp; - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { char *dup_path; char *tok; int first = 1; @@ -489,14 +489,14 @@ _ged_eraseAllPathsFromDisplay(struct ged *gedp, struct db_full_path fullpath, subpath; if (db_string_to_path(&subpath, gedp->ged_wdbp->dbip, path) == 0) { - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { gdlp->gdl_wflag = 0; gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); } - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); /* This display list has already been visited. */ @@ -512,7 +512,7 @@ _ged_eraseAllPathsFromDisplay(struct ged *gedp, if (db_full_path_subset(&fullpath, &subpath, skip_first)) { _ged_freeDisplayListItem(gedp, gdlp); } else if (_ged_eraseFirstSubpath(gedp, gdlp, &subpath, skip_first)) { - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); db_free_full_path(&fullpath); continue; } diff --git a/src/libged/ged.c b/src/libged/ged.c index afe325b78b2..2487e656b42 100644 --- a/src/libged/ged.c +++ b/src/libged/ged.c @@ -81,13 +81,7 @@ ged_close(struct ged *gedp) gedp->ged_wdbp = RT_WDB_NULL; } - if (gedp->ged_gdp != GED_DRAWABLE_NULL) { - qray_free(gedp->ged_gdp); - BU_PUT(gedp->ged_gdp, struct ged_drawable); - } - ged_free(gedp); - BU_PUT(gedp, struct ged); } @@ -98,24 +92,26 @@ ged_free(struct ged *gedp) return; gedp->ged_wdbp = RT_WDB_NULL; - gedp->ged_gdp = GED_DRAWABLE_NULL; + + if (gedp->ged_gdp != GED_DRAWABLE_NULL) { + if (gedp->ged_gdp->gd_headDisplay) + BU_PUT(gedp->ged_gdp->gd_headDisplay, struct bu_vls); + if (gedp->ged_gdp->gd_headVDraw) + BU_PUT(gedp->ged_gdp->gd_headVDraw, struct bu_vls); + qray_free(gedp->ged_gdp); + BU_PUT(gedp->ged_gdp, struct ged_drawable); + } if (gedp->ged_log) { bu_vls_free(gedp->ged_log); BU_PUT(gedp->ged_log, struct bu_vls); - gedp->ged_log = NULL; /* sanity */ } if (gedp->ged_result_str) { bu_vls_free(gedp->ged_result_str); BU_PUT(gedp->ged_result_str, struct bu_vls); - gedp->ged_result_str = NULL; /* sanity */ } - if (gedp->ged_gdp) { - BU_PUT(gedp->ged_gdp, struct ged_drawable); - gedp->ged_gdp = NULL; /* sanity */ - } } @@ -135,8 +131,10 @@ ged_init(struct ged *gedp) bu_vls_init(gedp->ged_result_str); BU_GET(gedp->ged_gdp, struct ged_drawable); - BU_LIST_INIT(&gedp->ged_gdp->gd_headDisplay); - BU_LIST_INIT(&gedp->ged_gdp->gd_headVDraw); + BU_GET(gedp->ged_gdp->gd_headDisplay, struct bu_list); + BU_LIST_INIT(gedp->ged_gdp->gd_headDisplay); + BU_GET(gedp->ged_gdp->gd_headVDraw, struct bu_list); + BU_LIST_INIT(gedp->ged_gdp->gd_headVDraw); BU_LIST_INIT(&gedp->ged_gdp->gd_headRunRt.l); /* yuck */ diff --git a/src/libged/get_autoview.c b/src/libged/get_autoview.c index ad2164cad32..b7d529b5a37 100644 --- a/src/libged/get_autoview.c +++ b/src/libged/get_autoview.c @@ -81,8 +81,8 @@ ged_get_autoview(struct ged *gedp, int argc, const char *argv[]) VSETALL(min, INFINITY); VSETALL(max, -INFINITY); - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { diff --git a/src/libged/how.c b/src/libged/how.c index 399635575cd..6b6e471c680 100644 --- a/src/libged/how.c +++ b/src/libged/how.c @@ -84,8 +84,8 @@ ged_how(struct ged *gedp, int argc, const char *argv[]) goto good; } - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { diff --git a/src/libged/illum.c b/src/libged/illum.c index d0e076e8534..7dffb2ee284 100644 --- a/src/libged/illum.c +++ b/src/libged/illum.c @@ -72,8 +72,8 @@ ged_illum(struct ged *gedp, int argc, const char *argv[]) if (argc != 2) goto bad; - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { diff --git a/src/libged/joint.c b/src/libged/joint.c index 345a102b08b..dda8545e25b 100644 --- a/src/libged/joint.c +++ b/src/libged/joint.c @@ -3553,8 +3553,8 @@ f_Jmesh(struct ged *gedp, int UNUSED(argc), const char *UNUSED(argv[])) struct ged_display_list *next_gdlp; struct solid *sp; - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { diff --git a/src/libged/move.c b/src/libged/move.c index 50ee1f9cf24..76e3998fc07 100644 --- a/src/libged/move.c +++ b/src/libged/move.c @@ -87,7 +87,7 @@ ged_move(struct ged *gedp, int argc, const char *argv[]) } /* Change object name if it matches the first element in the display list path. */ - for (BU_LIST_FOR(gdlp, ged_display_list, &gedp->ged_gdp->gd_headDisplay)) { + for (BU_LIST_FOR(gdlp, ged_display_list, gedp->ged_gdp->gd_headDisplay)) { int first = 1; int found = 0; struct bu_vls new_path = BU_VLS_INIT_ZERO; diff --git a/src/libged/move_all.c b/src/libged/move_all.c index f113d018a60..970cb1dc45e 100644 --- a/src/libged/move_all.c +++ b/src/libged/move_all.c @@ -182,7 +182,7 @@ move_all_func(struct ged *gedp, int nflag, const char *old, const char *new) if (!nflag) { /* Change object name anywhere in the display list path. */ - for (BU_LIST_FOR(gdlp, ged_display_list, &gedp->ged_gdp->gd_headDisplay)) { + for (BU_LIST_FOR(gdlp, ged_display_list, gedp->ged_gdp->gd_headDisplay)) { int first = 1; int found = 0; struct bu_vls new_path = BU_VLS_INIT_ZERO; diff --git a/src/libged/nirt.c b/src/libged/nirt.c index e347506ed54..1cc6a99a0e4 100644 --- a/src/libged/nirt.c +++ b/src/libged/nirt.c @@ -549,8 +549,8 @@ ged_nirt(struct ged *gedp, int argc, const char *argv[]) bu_vls_free(&line1); #endif - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) diff --git a/src/libged/plot.c b/src/libged/plot.c index f8f3b39c1b6..c8321bd5dd2 100644 --- a/src/libged/plot.c +++ b/src/libged/plot.c @@ -146,8 +146,8 @@ ged_plot(struct ged *gedp, int argc, const char *argv[]) Dashing = 0; pl_linmod(fp, "solid"); - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { @@ -198,8 +198,8 @@ ged_plot(struct ged *gedp, int argc, const char *argv[]) Dashing = 0; pl_linmod(fp, "solid"); - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { diff --git a/src/libged/png.c b/src/libged/png.c index 47725332a18..e0e22f3ec21 100644 --- a/src/libged/png.c +++ b/src/libged/png.c @@ -307,8 +307,8 @@ draw_png_body(struct ged *gedp, unsigned char **image) mat = newmat; } - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { diff --git a/src/libged/polybinout.c b/src/libged/polybinout.c index b8313280441..c7e8d7f59d8 100644 --- a/src/libged/polybinout.c +++ b/src/libged/polybinout.c @@ -107,8 +107,8 @@ ged_polybinout(struct ged *gedp, int argc, const char *argv[]) return GED_ERROR; } - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { diff --git a/src/libged/ps.c b/src/libged/ps.c index add610aa368..0230811d240 100644 --- a/src/libged/ps.c +++ b/src/libged/ps.c @@ -262,8 +262,8 @@ ps_draw_body(struct ged *gedp, FILE *fp) mat = newmat; } - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { diff --git a/src/libged/report.c b/src/libged/report.c index f2320ddbe47..cfbbb5b4fa7 100644 --- a/src/libged/report.c +++ b/src/libged/report.c @@ -47,8 +47,8 @@ print_schain(struct ged *gedp, int lvl) if (gedp->ged_wdbp->dbip == DBI_NULL) return; - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { @@ -139,8 +139,8 @@ print_schain_vlcmds(struct ged *gedp) if (gedp->ged_wdbp->dbip == DBI_NULL) return; - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { diff --git a/src/libged/rt.c b/src/libged/rt.c index d68a9d42f9b..5a0580b805d 100644 --- a/src/libged/rt.c +++ b/src/libged/rt.c @@ -79,8 +79,8 @@ _ged_rt_write(struct ged *gedp, fprintf(fp, "start 0; clean;\n"); - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { @@ -92,8 +92,8 @@ _ged_rt_write(struct ged *gedp, gdlp = next_gdlp; } - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { @@ -112,8 +112,8 @@ _ged_rt_write(struct ged *gedp, gdlp = next_gdlp; } - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { @@ -159,8 +159,8 @@ _ged_rt_set_eye_model(struct ged *gedp, extremum[1][i] = -INFINITY; } - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { @@ -477,7 +477,7 @@ ged_count_tops(struct ged *gedp) { struct ged_display_list *gdlp = NULL; size_t visibleCount = 0; - for (BU_LIST_FOR(gdlp, ged_display_list, &gedp->ged_gdp->gd_headDisplay)) { + for (BU_LIST_FOR(gdlp, ged_display_list, gedp->ged_gdp->gd_headDisplay)) { visibleCount++; } return visibleCount; @@ -495,7 +495,7 @@ ged_build_tops(struct ged *gedp, char **start, char **end) struct ged_display_list *gdlp; char **vp = start; - for (BU_LIST_FOR(gdlp, ged_display_list, &gedp->ged_gdp->gd_headDisplay)) { + for (BU_LIST_FOR(gdlp, ged_display_list, gedp->ged_gdp->gd_headDisplay)) { if (gdlp->gdl_dp->d_addr == RT_DIR_PHONY_ADDR) continue; diff --git a/src/libged/rtcheck.c b/src/libged/rtcheck.c index b7dc869ff35..53c8c876033 100644 --- a/src/libged/rtcheck.c +++ b/src/libged/rtcheck.c @@ -120,8 +120,8 @@ rtcheck_vector_handler(ClientData clientData, int UNUSED(mask)) Tcl_DeleteFileHandler(rtcp->fd); fclose(rtcp->fp); - gdlp = BU_LIST_NEXT(ged_display_list, &rtcp->gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &rtcp->gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, rtcp->gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, rtcp->gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) @@ -201,8 +201,8 @@ rtcheck_vector_handler(ClientData clientData, int mask) (ClientData)rtcp); Tcl_Close(rtcp->interp, rtcp->chan); - gdlp = BU_LIST_NEXT(ged_display_list, &rtcp->gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &rtcp->gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, rtcp->gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, rtcp->gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) diff --git a/src/libged/saveview.c b/src/libged/saveview.c index d0109738751..8258bf933cd 100644 --- a/src/libged/saveview.c +++ b/src/libged/saveview.c @@ -166,8 +166,8 @@ ged_saveview(struct ged *gedp, int argc, const char *argv[]) } fprintf(fp, " '%s'\\\n ", inputg); - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); fprintf(fp, "'%s' ", bu_vls_addr(&gdlp->gdl_path)); gdlp = next_gdlp; diff --git a/src/libged/select.c b/src/libged/select.c index 875bdc68d16..a4ac365bcab 100644 --- a/src/libged/select.c +++ b/src/libged/select.c @@ -64,8 +64,8 @@ _ged_select(struct ged *gedp, double vx, double vy, double vwidth, double vheigh } } - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { @@ -182,8 +182,8 @@ _ged_select_partial(struct ged *gedp, double vx, double vy, double vwidth, doubl } } - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { diff --git a/src/libged/set_transparency.c b/src/libged/set_transparency.c index 955bb6cefe9..2f910e1fed0 100644 --- a/src/libged/set_transparency.c +++ b/src/libged/set_transparency.c @@ -82,8 +82,8 @@ ged_set_transparency(struct ged *gedp, int argc, const char *argv[]) return GED_OK; } - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { diff --git a/src/libged/vdraw.c b/src/libged/vdraw.c index 482df13e1ac..722cace8331 100644 --- a/src/libged/vdraw.c +++ b/src/libged/vdraw.c @@ -590,7 +590,7 @@ vdraw_params(void *data, int argc, const char *argv[]) } if (argv[2][0] == 'n') { /* check for conflicts with existing vlists*/ - for (BU_LIST_FOR(rcp, vd_curve, &gedp->ged_gdp->gd_headVDraw)) { + for (BU_LIST_FOR(rcp, vd_curve, gedp->ged_gdp->gd_headVDraw)) { if (!bu_strncmp(rcp->vdc_name, argv[2], RT_VDRW_MAXNAME)) { bu_vls_printf(gedp->ged_result_str, "%s %s: name %.40s is already in use\n", argv[0], argv[1], argv[2]); return GED_ERROR; @@ -638,7 +638,7 @@ vdraw_open(void *data, int argc, const char *argv[]) bu_strlcpy(temp_name, argv[2], RT_VDRW_MAXNAME); gedp->ged_gdp->gd_currVHead = (struct vd_curve *) NULL; - for (BU_LIST_FOR(rcp, vd_curve, &gedp->ged_gdp->gd_headVDraw)) { + for (BU_LIST_FOR(rcp, vd_curve, gedp->ged_gdp->gd_headVDraw)) { if (!bu_strncmp(rcp->vdc_name, temp_name, RT_VDRW_MAXNAME)) { gedp->ged_gdp->gd_currVHead = rcp; break; @@ -648,7 +648,7 @@ vdraw_open(void *data, int argc, const char *argv[]) if (!gedp->ged_gdp->gd_currVHead) { /* create new entry */ BU_GET(rcp, struct vd_curve); - BU_LIST_APPEND(&gedp->ged_gdp->gd_headVDraw, &(rcp->l)); + BU_LIST_APPEND(gedp->ged_gdp->gd_headVDraw, &(rcp->l)); bu_strlcpy(rcp->vdc_name, temp_name, RT_VDRW_MAXNAME); @@ -694,7 +694,7 @@ vdraw_vlist(void *data, int argc, const char *argv[]) switch (argv[2][0]) { case 'l': - for (BU_LIST_FOR(rcp, vd_curve, &gedp->ged_gdp->gd_headVDraw)) { + for (BU_LIST_FOR(rcp, vd_curve, gedp->ged_gdp->gd_headVDraw)) { bu_vls_strcat(gedp->ged_result_str, rcp->vdc_name); bu_vls_strcat(gedp->ged_result_str, " "); } @@ -702,7 +702,7 @@ vdraw_vlist(void *data, int argc, const char *argv[]) return GED_OK; case 'd': rcp2 = (struct vd_curve *)NULL; - for (BU_LIST_FOR(rcp, vd_curve, &gedp->ged_gdp->gd_headVDraw)) { + for (BU_LIST_FOR(rcp, vd_curve, gedp->ged_gdp->gd_headVDraw)) { if (!bu_strncmp(rcp->vdc_name, argv[3], RT_VDRW_MAXNAME)) { rcp2 = rcp; break; @@ -714,10 +714,10 @@ vdraw_vlist(void *data, int argc, const char *argv[]) } BU_LIST_DEQUEUE(&(rcp2->l)); if (gedp->ged_gdp->gd_currVHead == rcp2) { - if (BU_LIST_IS_EMPTY(&gedp->ged_gdp->gd_headVDraw)) { + if (BU_LIST_IS_EMPTY(gedp->ged_gdp->gd_headVDraw)) { gedp->ged_gdp->gd_currVHead = (struct vd_curve *)NULL; } else { - gedp->ged_gdp->gd_currVHead = BU_LIST_LAST(vd_curve, &gedp->ged_gdp->gd_headVDraw); + gedp->ged_gdp->gd_currVHead = BU_LIST_LAST(vd_curve, gedp->ged_gdp->gd_headVDraw); } } RT_FREE_VLIST(&(rcp2->vdc_vhd)); diff --git a/src/libged/who.c b/src/libged/who.c index 5c1fd95a18d..4c8243121fd 100644 --- a/src/libged/who.c +++ b/src/libged/who.c @@ -75,7 +75,7 @@ ged_who(struct ged *gedp, int argc, const char *argv[]) } } - for (BU_LIST_FOR(gdlp, ged_display_list, &gedp->ged_gdp->gd_headDisplay)) { + for (BU_LIST_FOR(gdlp, ged_display_list, gedp->ged_gdp->gd_headDisplay)) { if (gdlp->gdl_dp->d_addr == RT_DIR_PHONY_ADDR) { if (skip_phony) continue; } else { diff --git a/src/libged/zap.c b/src/libged/zap.c index 12dde0b5c61..ce9c59d7ba6 100644 --- a/src/libged/zap.c +++ b/src/libged/zap.c @@ -60,7 +60,7 @@ ged_zap(struct ged *gedp, int argc, const char *argv[]) return GED_ERROR; } - while (BU_LIST_WHILE(gdlp, ged_display_list, &gedp->ged_gdp->gd_headDisplay)) { + while (BU_LIST_WHILE(gdlp, ged_display_list, gedp->ged_gdp->gd_headDisplay)) { if (gedp->ged_free_vlist_callback != GED_FREE_VLIST_CALLBACK_PTR_NULL) (*gedp->ged_free_vlist_callback)(gedp, BU_LIST_FIRST(solid, &gdlp->gdl_headSolid)->s_dlist, diff --git a/src/libtclcad/tclcad_obj.c b/src/libtclcad/tclcad_obj.c index c6731dd308b..b3847741f5f 100644 --- a/src/libtclcad/tclcad_obj.c +++ b/src/libtclcad/tclcad_obj.c @@ -1415,6 +1415,8 @@ to_deleteProc(ClientData clientData) BU_LIST_DEQUEUE(&top->l); bu_vls_free(&top->to_gop->go_name); ged_close(top->to_gop->go_gedp); + if (top->to_gop->go_gedp) + BU_PUT(top->to_gop->go_gedp, struct ged); while (BU_LIST_WHILE(gdvp, ged_dm_view, &top->to_gop->go_head_views.l)) { BU_LIST_DEQUEUE(&(gdvp->l)); @@ -12397,16 +12399,16 @@ to_edit_redraw(struct ged *gedp, if (argc != 2) return GED_ERROR; - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { gdlp->gdl_wflag = 0; gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); } if (db_string_to_path(&subpath, gedp->ged_wdbp->dbip, argv[1]) == 0) { for (i = 0; i < subpath.fp_len; ++i) { - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { register struct solid *curr_sp; next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); @@ -12446,7 +12448,7 @@ to_edit_redraw(struct ged *gedp, * second to last list items play leap frog * with the end of list. */ - last_gdlp = BU_LIST_PREV(ged_display_list, &gedp->ged_gdp->gd_headDisplay); + last_gdlp = BU_LIST_PREV(ged_display_list, gedp->ged_gdp->gd_headDisplay); BU_LIST_DEQUEUE(&last_gdlp->l); BU_LIST_INSERT(&next_gdlp->l, &last_gdlp->l); last_gdlp->gdl_wflag = 1; @@ -13273,7 +13275,7 @@ go_draw(struct ged_dm_view *gdvp) else (void)DM_LOADPMATRIX(gdvp->gdv_dmp, (fastf_t *)NULL); - go_draw_dlist(gdvp->gdv_gop, gdvp->gdv_dmp, &gdvp->gdv_gop->go_gedp->ged_gdp->gd_headDisplay); + go_draw_dlist(gdvp->gdv_gop, gdvp->gdv_dmp, gdvp->gdv_gop->go_gedp->ged_gdp->gd_headDisplay); } diff --git a/src/mged/attach.c b/src/mged/attach.c index 9f644f77f21..f594fdab6a9 100644 --- a/src/mged/attach.c +++ b/src/mged/attach.c @@ -538,7 +538,7 @@ mged_attach(struct w_dm *wp, int argc, const char *argv[]) share_dlist(curr_dm_list); if (displaylist && mged_variables->mv_dlist && !dlist_state->dl_active) { - createDLists(&gedp->ged_gdp->gd_headDisplay); + createDLists(gedp->ged_gdp->gd_headDisplay); dlist_state->dl_active = 1; } diff --git a/src/mged/buttons.c b/src/mged/buttons.c index 41c5d3c3efd..6a566805783 100644 --- a/src/mged/buttons.c +++ b/src/mged/buttons.c @@ -516,8 +516,8 @@ ill_common(void) { int is_empty = 1; /* Common part of illumination */ - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); if (BU_LIST_NON_EMPTY(&gdlp->gdl_headSolid)) { @@ -721,8 +721,8 @@ be_accept() mmenu_set_all(MENU_L1, MENU_NULL); mmenu_set_all(MENU_L2, MENU_NULL); - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) @@ -816,8 +816,8 @@ be_reject() illump = SOLID_NULL; /* None selected */ /* Clear illumination flags */ - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) diff --git a/src/mged/chgtree.c b/src/mged/chgtree.c index cf534543519..ce6df61e3d9 100644 --- a/src/mged/chgtree.c +++ b/src/mged/chgtree.c @@ -149,8 +149,8 @@ find_solid_with_path(struct db_full_path *pathp) RT_CK_FULL_PATH(pathp); - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { @@ -217,8 +217,8 @@ cmd_oed(ClientData clientData, Tcl_Interp *interp, int argc, const char *argv[]) } /* Common part of illumination */ - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); if (BU_LIST_NON_EMPTY(&gdlp->gdl_headSolid)) { diff --git a/src/mged/chgview.c b/src/mged/chgview.c index d848b3da2fc..5e31bf2df10 100644 --- a/src/mged/chgview.c +++ b/src/mged/chgview.c @@ -269,9 +269,9 @@ edit_com(int argc, CHECK_DBI_NULL; /* Common part of illumination */ - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); if (BU_LIST_NON_EMPTY(&gdlp->gdl_headSolid)) { @@ -463,9 +463,9 @@ edit_com(int argc, gedp->ged_gvp = view_state->vs_gvp; - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); if (BU_LIST_NON_EMPTY(&gdlp->gdl_headSolid)) { @@ -741,9 +741,9 @@ cmd_zap(ClientData UNUSED(clientData), Tcl_Interp *UNUSED(interp), int UNUSED(ar button(BE_REJECT); } - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); freeDListsAll(BU_LIST_FIRST(solid, &gdlp->gdl_headSolid)->s_dlist, BU_LIST_LAST(solid, &gdlp->gdl_headSolid)->s_dlist - @@ -1021,9 +1021,9 @@ f_ill(ClientData UNUSED(clientData), Tcl_Interp *interp, int argc, const char *a goto bail_out; } - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { @@ -1160,9 +1160,9 @@ f_sed(ClientData clientData, Tcl_Interp *interp, int argc, const char *argv[]) } /* Common part of illumination */ - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); if (BU_LIST_NON_EMPTY(&gdlp->gdl_headSolid)) { diff --git a/src/mged/dodraw.c b/src/mged/dodraw.c index 2d96e2c1f9a..29cfb4e3d67 100644 --- a/src/mged/dodraw.c +++ b/src/mged/dodraw.c @@ -332,7 +332,7 @@ drawH_part2(int dashflag, struct bu_list *vhead, const struct db_full_path *path bu_semaphore_acquire(RT_SEM_MODEL); /* Grab the last display list */ - gdlp = BU_LIST_PREV(ged_display_list, &gedp->ged_gdp->gd_headDisplay); + gdlp = BU_LIST_PREV(ged_display_list, gedp->ged_gdp->gd_headDisplay); BU_LIST_APPEND(gdlp->gdl_headSolid.back, &sp->l); bu_semaphore_release(RT_SEM_MODEL); @@ -1135,8 +1135,8 @@ cmd_redraw_vlist(ClientData UNUSED(clientData), Tcl_Interp *interp, int argc, co if ((dp = db_lookup(dbip, argv[i], LOOKUP_NOISY)) == NULL) continue; - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { diff --git a/src/mged/dozoom.c b/src/mged/dozoom.c index cae3dd17e95..09487010d1e 100644 --- a/src/mged/dozoom.c +++ b/src/mged/dozoom.c @@ -375,8 +375,8 @@ dozoom(int which_eye) if (dmp->dm_transparency) { /* First, draw opaque stuff */ - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { @@ -422,8 +422,8 @@ dozoom(int which_eye) DM_SET_DEPTH_MASK(dmp, 0); /* Second, draw transparent stuff */ - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { @@ -469,8 +469,8 @@ dozoom(int which_eye) DM_SET_DEPTH_MASK(dmp, 1); } else { - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { @@ -544,8 +544,8 @@ dozoom(int which_eye) color_scheme->cs_geo_hl[1], color_scheme->cs_geo_hl[2], 1, 1.0); - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { diff --git a/src/mged/edsol.c b/src/mged/edsol.c index 93095c5df10..cb21b7a30f2 100644 --- a/src/mged/edsol.c +++ b/src/mged/edsol.c @@ -2638,8 +2638,8 @@ replot_editing_solid(void) illdp = LAST_SOLID(illump); - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { @@ -7496,8 +7496,8 @@ oedit_apply(int continue_editing) modelchanges[15] = 1000000000; /* => small ratio */ /* Now, recompute new chunks of displaylist */ - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { @@ -7528,8 +7528,8 @@ oedit_accept(void) if (dbip->dbi_read_only) { oedit_reject(); - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { @@ -7776,8 +7776,8 @@ sedit_reject(void) struct ged_display_list *next_gdlp; struct solid *sp; - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { diff --git a/src/mged/mater.c b/src/mged/mater.c index 9bb8f691c94..03f46926f53 100644 --- a/src/mged/mater.c +++ b/src/mged/mater.c @@ -53,7 +53,7 @@ void color_soltab(void) { - ged_color_soltab(&gedp->ged_gdp->gd_headDisplay); + ged_color_soltab(gedp->ged_gdp->gd_headDisplay); update_views = 1; /* re-write control list with new colors */ } diff --git a/src/mged/mged.c b/src/mged/mged.c index f303dee7bc7..dd2b196c3ad 100644 --- a/src/mged/mged.c +++ b/src/mged/mged.c @@ -2515,7 +2515,9 @@ mged_finish(int exitcode) Tcl_Release((ClientData)INTERP); ged_close(gedp); - gedp = GED_NULL; + if (gedp) + BU_PUT(gedp, struct ged); + wdbp = RT_WDB_NULL; dbip = DBI_NULL; @@ -2952,7 +2954,8 @@ f_closedb(ClientData clientData, Tcl_Interp *interpreter, int argc, const char * /* close the geometry instance */ ged_close(gedp); - gedp = GED_NULL; + BU_PUT(gedp, struct ged); + wdbp = RT_WDB_NULL; dbip = DBI_NULL; diff --git a/src/mged/overlay.c b/src/mged/overlay.c index dd6cd5270ba..30f96bfc1f2 100644 --- a/src/mged/overlay.c +++ b/src/mged/overlay.c @@ -116,8 +116,8 @@ f_labelvert(ClientData UNUSED(clientData), Tcl_Interp *interp, int argc, const c if ((dp = db_lookup(dbip, argv[i], LOOKUP_NOISY)) == RT_DIR_NULL) continue; /* Find uses of this solid in the solid table */ - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(s, &gdlp->gdl_headSolid) { diff --git a/src/mged/plot.c b/src/mged/plot.c index 26e35cec0d5..48e3dd56254 100644 --- a/src/mged/plot.c +++ b/src/mged/plot.c @@ -85,8 +85,8 @@ f_area(ClientData UNUSED(clientData), Tcl_Interp *interp, int argc, const char * if (not_state(ST_VIEW, "Presented Area Calculation") == TCL_ERROR) return TCL_ERROR; - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); if (BU_LIST_NON_EMPTY(&gdlp->gdl_headSolid)) { @@ -102,8 +102,8 @@ f_area(ClientData UNUSED(clientData), Tcl_Interp *interp, int argc, const char * return TCL_ERROR; } - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { @@ -193,8 +193,8 @@ f_area(ClientData UNUSED(clientData), Tcl_Interp *interp, int argc, const char * * Write out rotated but unclipped, untranslated, * and unscaled vectors */ - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { diff --git a/src/mged/polyif.c b/src/mged/polyif.c index 2d2dd5e984d..83258c022d3 100644 --- a/src/mged/polyif.c +++ b/src/mged/polyif.c @@ -100,8 +100,8 @@ f_polybinout(ClientData UNUSED(clientData), Tcl_Interp *interp, int argc, const return TCL_ERROR; } - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { diff --git a/src/mged/rtif.c b/src/mged/rtif.c index f8cc6325620..aec0c29150c 100644 --- a/src/mged/rtif.c +++ b/src/mged/rtif.c @@ -228,8 +228,8 @@ f_rmats(ClientData UNUSED(clientData), Tcl_Interp *interp, int argc, const char break; } - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { diff --git a/src/mged/set.c b/src/mged/set.c index af76503dbce..9aa4270777b 100644 --- a/src/mged/set.c +++ b/src/mged/set.c @@ -377,7 +377,7 @@ set_dlist(void) if (dlp1->dml_dmp->dm_displaylist && dlp1->dml_dlist_state->dl_active == 0) { curr_dm_list = dlp1; - createDLists(&gedp->ged_gdp->gd_headDisplay); + createDLists(gedp->ged_gdp->gd_headDisplay); dlp1->dml_dlist_state->dl_active = 1; dlp1->dml_dirty = 1; } @@ -411,8 +411,8 @@ set_dlist(void) dlp1->dml_dlist_state->dl_active = 0; - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); (void)DM_MAKE_CURRENT(dlp1->dml_dmp); diff --git a/src/mged/share.c b/src/mged/share.c index 69a61dcef4b..1f624cfbd78 100644 --- a/src/mged/share.c +++ b/src/mged/share.c @@ -189,7 +189,7 @@ f_share(ClientData UNUSED(clientData), Tcl_Interp *interpreter, int argc, const save_dlp = curr_dm_list; curr_dm_list = dlp1; - createDLists(&gedp->ged_gdp->gd_headDisplay); + createDLists(gedp->ged_gdp->gd_headDisplay); /* restore */ curr_dm_list = save_dlp; diff --git a/src/mged/usepen.c b/src/mged/usepen.c index 44eb5c44ce3..28a6e9186e9 100644 --- a/src/mged/usepen.c +++ b/src/mged/usepen.c @@ -66,8 +66,8 @@ illuminate(int y) { */ count = ((fastf_t)y + GED_MAX) * curr_dm_list->dml_ndrawn / GED_RANGE; - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { @@ -137,8 +137,8 @@ f_aip(ClientData UNUSED(clientData), Tcl_Interp *interp, int argc, const char *a if (argc == 1 || *argv[1] == 'f') { if (BU_LIST_NEXT_IS_HEAD(sp, &gdlp->gdl_headSolid)) { /* Advance the gdlp (i.e. display list) */ - if (BU_LIST_NEXT_IS_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); + if (BU_LIST_NEXT_IS_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); else gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); @@ -149,8 +149,8 @@ f_aip(ClientData UNUSED(clientData), Tcl_Interp *interp, int argc, const char *a } else if (*argv[1] == 'b') { if (BU_LIST_PREV_IS_HEAD(sp, &gdlp->gdl_headSolid)) { /* Advance the gdlp (i.e. display list) */ - if (BU_LIST_PREV_IS_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) - gdlp = BU_LIST_PREV(ged_display_list, &gedp->ged_gdp->gd_headDisplay); + if (BU_LIST_PREV_IS_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) + gdlp = BU_LIST_PREV(ged_display_list, gedp->ged_gdp->gd_headDisplay); else gdlp = BU_LIST_PLAST(ged_display_list, gdlp); @@ -288,8 +288,8 @@ f_matpick(ClientData UNUSED(clientData), Tcl_Interp *interp, int argc, const cha } got: /* Include all solids with same tree top */ - gdlp = BU_LIST_NEXT(ged_display_list, &gedp->ged_gdp->gd_headDisplay); - while (BU_LIST_NOT_HEAD(gdlp, &gedp->ged_gdp->gd_headDisplay)) { + gdlp = BU_LIST_NEXT(ged_display_list, gedp->ged_gdp->gd_headDisplay); + while (BU_LIST_NOT_HEAD(gdlp, gedp->ged_gdp->gd_headDisplay)) { next_gdlp = BU_LIST_PNEXT(ged_display_list, gdlp); FOR_ALL_SOLIDS(sp, &gdlp->gdl_headSolid) { From a9867f20e26e58096ffb9bafb417bad240bb56d1 Mon Sep 17 00:00:00 2001 From: Richard Weiss Date: Fri, 31 May 2013 16:56:12 +0000 Subject: [PATCH 012/149] Improve the speed of libged 'gqa' by reducing semaphore locking in function 'plane_worker'. svn:revision:55618 svn:branch:trunk svn:account:r_weiss --- src/libged/gqa.c | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/src/libged/gqa.c b/src/libged/gqa.c index f28f59ef8fd..337851791d3 100644 --- a/src/libged/gqa.c +++ b/src/libged/gqa.c @@ -1318,6 +1318,7 @@ plane_worker (int cpu, genptr_t ptr) int u, v; double v_coord; struct cstate *state = (struct cstate *)ptr; + unsigned long shot_cnt; if (aborted) return; @@ -1342,6 +1343,7 @@ plane_worker (int cpu, genptr_t ptr) v = get_next_row(state); + shot_cnt = 0; while (v) { v_coord = v * gridSpacing; @@ -1373,16 +1375,7 @@ plane_worker (int cpu, genptr_t ptr) if (aborted) return; - /* FIXME: This shots increment and its twin in the else clause below - * are presenting a significant drag on gqa performance via - * heavy duty semaphore locking and unlocking. Can a way - * be found to do this job without needing to trigger the - * semaphore locks? Seems to be the major contributor to - * semaphore overhead. - */ - bu_semaphore_acquire(GED_SEM_STATS); - state->shots[state->curr_view]++; - bu_semaphore_release(GED_SEM_STATS); + shot_cnt++; } } else { /* shoot only the rays we need to on this row. Some of @@ -1405,9 +1398,7 @@ plane_worker (int cpu, genptr_t ptr) if (aborted) return; - bu_semaphore_acquire(GED_SEM_STATS); - state->shots[state->curr_view]++; - bu_semaphore_release(GED_SEM_STATS); + shot_cnt++; if (debug) if (u+1 < state->steps[state->u_axis]) { @@ -1434,6 +1425,7 @@ plane_worker (int cpu, genptr_t ptr) * we'll have returned to serial computation. */ bu_semaphore_acquire(GED_SEM_STATS); + state->shots[state->curr_view] += shot_cnt; state->m_lenDensity[state->curr_view] += ap.A_LENDEN; /* add our length*density value */ state->m_len[state->curr_view] += ap.A_LEN; /* add our volume value */ bu_semaphore_release(GED_SEM_STATS); From 36a60e27dcbc7d0ac1f4434f22dd4e5caa0a0ff7 Mon Sep 17 00:00:00 2001 From: Robert Parker Date: Fri, 31 May 2013 17:26:41 +0000 Subject: [PATCH 013/149] Initial min and max in pipe_elements_calculate(). Also removed the PIPE_MM macro. svn:revision:55619 svn:branch:trunk svn:account:bob1961 --- src/librt/primitives/pipe/pipe.c | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/src/librt/primitives/pipe/pipe.c b/src/librt/primitives/pipe/pipe.c index 5c289d2b75c..ef1ee5b83b1 100644 --- a/src/librt/primitives/pipe/pipe.c +++ b/src/librt/primitives/pipe/pipe.c @@ -134,8 +134,6 @@ struct pipe_bend { }; -#define PIPE_MM(_v) VMINMAX((*min), (*max), _v) - #define PIPE_CONNECTING_ARCS 4 /* number of connecting arcs to draw between points */ #define PIPE_CIRCLE_SEGS 16 /* number of segments used to plot a circle */ @@ -412,12 +410,12 @@ rt_bend_pipe_prep( work[X] -= f; work[Y] -= f; work[Z] -= f; - PIPE_MM(work); + VMINMAX(*min, *max, work); VMOVE(work, bp->bend_bound_center); work[X] += f; work[Y] += f; work[Z] += f; - PIPE_MM(work); + VMINMAX(*min, *max, work); if (head) { BU_LIST_INSERT(head, &bp->l); @@ -492,29 +490,29 @@ rt_linear_pipe_prep( VSETALL(lp->pipe_max, -INFINITY); VJOIN2(work, pt1, od1, v1, od1, v2); - PIPE_MM(work); + VMINMAX(*min, *max, work); VMINMAX(lp->pipe_min, lp->pipe_max, work); VJOIN2(work, pt1, -od1, v1, od1, v2); - PIPE_MM(work); + VMINMAX(*min, *max, work); VMINMAX(lp->pipe_min, lp->pipe_max, work); VJOIN2(work, pt1, od1, v1, -od1, v2); - PIPE_MM(work); + VMINMAX(*min, *max, work); VMINMAX(lp->pipe_min, lp->pipe_max, work); VJOIN2(work, pt1, -od1, v1, -od1, v2); - PIPE_MM(work); + VMINMAX(*min, *max, work); VMINMAX(lp->pipe_min, lp->pipe_max, work); VJOIN2(work, pt2, od2, v1, od2, v2); - PIPE_MM(work); + VMINMAX(*min, *max, work); VMINMAX(lp->pipe_min, lp->pipe_max, work); VJOIN2(work, pt2, -od2, v1, od2, v2); - PIPE_MM(work); + VMINMAX(*min, *max, work); VMINMAX(lp->pipe_min, lp->pipe_max, work); VJOIN2(work, pt2, od2, v1, -od2, v2); - PIPE_MM(work); + VMINMAX(*min, *max, work); VMINMAX(lp->pipe_min, lp->pipe_max, work); VJOIN2(work, pt2, -od2, v1, -od2, v2); - PIPE_MM(work); + VMINMAX(*min, *max, work); VMINMAX(lp->pipe_min, lp->pipe_max, work); if (head) { @@ -538,6 +536,9 @@ pipe_elements_calculate(struct bu_list *elements_head, struct rt_db_internal *ip pip = (struct rt_pipe_internal *)ip->idb_ptr; RT_PIPE_CK_MAGIC(pip); + VSETALL(*min, INFINITY); + VSETALL(*max, -INFINITY); + if (BU_LIST_IS_EMPTY(&(pip->pipe_segs_head))) { return; } From da3167d1272497cb17bcc80b7285875c9baf03ec Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Fri, 31 May 2013 20:42:10 +0000 Subject: [PATCH 014/149] fix comments (including changing a 'larger' to 'smaller' svn:revision:55620 svn:branch:trunk svn:account:carlmoore --- src/util/dpix-pix.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util/dpix-pix.c b/src/util/dpix-pix.c index 4c1fe8f77a0..bf0a82656dc 100644 --- a/src/util/dpix-pix.c +++ b/src/util/dpix-pix.c @@ -72,9 +72,9 @@ main(int argc, char **argv) /* Note that the minimum is set to 1.0e20, the computer's working * equivalent of positive infinity. Thus any subsequent value - * must be larger. Likewise, the maximum is set to -1.0e20, the - * equivalent of negative infinity, and any values must thus be - * bigger than it. + * must be smaller than it. Likewise, the maximum is set to -1.0e20, + * the equivalent of negative infinity, and any subsequent values + * must thus be bigger than it. */ { double min, max; /* high usage items */ From 0ec94bed4850aeabecde61007101f1cc04a9c35a Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Fri, 31 May 2013 21:17:06 +0000 Subject: [PATCH 015/149] improve the Usage message, and implement -h and -? svn:revision:55621 svn:branch:trunk svn:account:carlmoore --- src/sig/dsel.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/sig/dsel.c b/src/sig/dsel.c index bc75e1fb5a7..da914da438a 100644 --- a/src/sig/dsel.c +++ b/src/sig/dsel.c @@ -33,6 +33,7 @@ #define INTEGER_MAX ( ((int) ~0) >> 1 ) +static char usage[]="Usage: dsel keep ...\n or\n dsel skip keep ...\n\n(must use outputfile)\n"; double buf[4096] = {0}; @@ -72,9 +73,10 @@ int main(int argc, char **argv) int nskip; /* number to skip */ int nkeep; /* number to keep */ - if ( argc < 1 || isatty(fileno(stdin)) || isatty(fileno(stdout)) ) { - bu_exit(1, "Usage: dsel num\n dsel skip keep ...\n"); - } + if ( isatty(fileno(stdin)) || isatty(fileno(stdout)) ) + bu_exit(1, "%s",usage); + if ( BU_STR_EQUAL( argv[1], "-h" ) || BU_STR_EQUAL( argv[1], "-?" ) ) + bu_exit(1, "%s",usage); if ( argc == 2 ) { keep( atoi(argv[1]) ); From 15e208905fa93e9b85d31cdaeaec601036c5ffa6 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Sat, 1 Jun 2013 03:15:37 +0000 Subject: [PATCH 016/149] carl has made numerous improvements to dozens of utilities making -h and -? consistently give a usage statement. lots of output/usage statement cleanup along with way too. svn:revision:55622 svn:branch:trunk svn:account:brlcad --- NEWS | 1 + 1 file changed, 1 insertion(+) diff --git a/NEWS b/NEWS index a5af459c564..c465e4919b1 100644 --- a/NEWS +++ b/NEWS @@ -13,6 +13,7 @@ changes made. See document footer for additional details. --- 2013-05-27 Release 7.24.0 --- ---------------------------------------------------------------------- +* improved help option consistency across numerous tools - Carl Moore * 'idents' command no longer reports negative booleans - Keith Bowman * improved support for NURBS with big uv-domain changes - Keith Bowman * improved ray tracing behavior for grazing rays - Keith Bowman From 7f3eebafa536e603e05267cacb764c38ad0e0d2b Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Sat, 1 Jun 2013 03:22:23 +0000 Subject: [PATCH 017/149] vmath min/max macros ftw. also use a more standard definition of infinity and eliminate those silly static globals. svn:revision:55623 svn:branch:trunk svn:account:brlcad --- src/util/dpix-pix.c | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/src/util/dpix-pix.c b/src/util/dpix-pix.c index bf0a82656dc..16d14a65596 100644 --- a/src/util/dpix-pix.c +++ b/src/util/dpix-pix.c @@ -34,17 +34,19 @@ #include #include "bio.h" +#include "vmath.h" #include "bu.h" #define NUM (1024 * 16) /* Note the powers of 2 -- v. efficient */ -static double doub[NUM]; -static unsigned char cha[NUM]; int main(int argc, char **argv) { + double doub[NUM]; + unsigned char cha[NUM]; + size_t count; /* count of items */ ssize_t got; /* count of bytes */ int fd; /* UNIX file descriptor */ @@ -70,17 +72,11 @@ main(int argc, char **argv) bu_exit(2, "dpix-pix: binary output directed to terminal, aborting\n"); } - /* Note that the minimum is set to 1.0e20, the computer's working - * equivalent of positive infinity. Thus any subsequent value - * must be smaller than it. Likewise, the maximum is set to -1.0e20, - * the equivalent of negative infinity, and any subsequent values - * must thus be bigger than it. - */ { double min, max; /* high usage items */ - min = 1.0e20; - max = -1.0e20; + min = INFINITY; + max = -INFINITY; while (1) { got = read(fd, (char *)&doub[0], NUM*sizeof(doub[0])); @@ -93,11 +89,10 @@ main(int argc, char **argv) count = got / sizeof(doub[0]); ep = &doub[count]; for (dp = &doub[0]; dp < ep;) { - double val; - if ((val = *dp++) < min) - min = val; - else if (val > max) - max = val; + double val = *dp++; + + V_MIN(min, val); + V_MAX(max, val); } } From 870b98d28526dff20e957dd2b6c40e1b5becaf5c Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Sat, 1 Jun 2013 03:25:26 +0000 Subject: [PATCH 018/149] main() isn't that complicated, doesn't benefit from the min/max scope svn:revision:55624 svn:branch:trunk svn:account:brlcad --- src/util/dpix-pix.c | 61 +++++++++++++++++++++------------------------ 1 file changed, 29 insertions(+), 32 deletions(-) diff --git a/src/util/dpix-pix.c b/src/util/dpix-pix.c index 16d14a65596..381a6ba998c 100644 --- a/src/util/dpix-pix.c +++ b/src/util/dpix-pix.c @@ -56,6 +56,8 @@ main(int argc, char **argv) double b; /* intercept */ char *ifname; + double min, max; /* high usage items */ + if (argc < 2) { bu_exit(1, "Usage: dpix-pix file.dpix > file.pix\n"); } @@ -72,46 +74,41 @@ main(int argc, char **argv) bu_exit(2, "dpix-pix: binary output directed to terminal, aborting\n"); } - { - double min, max; /* high usage items */ - - min = INFINITY; - max = -INFINITY; + min = INFINITY; + max = -INFINITY; - while (1) { - got = read(fd, (char *)&doub[0], NUM*sizeof(doub[0])); - if (got <= 0) { - if (got < 0) { - perror("dpix-pix READ ERROR"); - } - break; - } - count = got / sizeof(doub[0]); - ep = &doub[count]; - for (dp = &doub[0]; dp < ep;) { - double val = *dp++; - - V_MIN(min, val); - V_MAX(max, val); + while (1) { + got = read(fd, (char *)&doub[0], NUM*sizeof(doub[0])); + if (got <= 0) { + if (got < 0) { + perror("dpix-pix READ ERROR"); } + break; } + count = got / sizeof(doub[0]); + ep = &doub[count]; + for (dp = &doub[0]; dp < ep;) { + double val = *dp++; - lseek(fd, 0, 0); /* rewind(fp); */ - - - /* This section uses the maximum and the minimum values found to - * compute the m and the b of the line as specified by the - * equation y = mx + b. - */ - fprintf(stderr, "min=%f, max=%f\n", min, max); - if (max < min) { - bu_exit(1, "MINMAX: max less than min!\n"); + V_MIN(min, val); + V_MAX(max, val); } + } - m = (255 - 0)/(max - min); - b = (-255 * min)/(max - min); + lseek(fd, 0, 0); /* rewind(fp); */ + + /* This section uses the maximum and the minimum values found to + * compute the m and the b of the line as specified by the + * equation y = mx + b. + */ + fprintf(stderr, "min=%f, max=%f\n", min, max); + if (max < min) { + bu_exit(1, "MINMAX: max less than min!\n"); } + m = (255 - 0)/(max - min); + b = (-255 * min)/(max - min); + while (1) { char *cp; /* ptr to c */ double mm; /* slope */ From ebbf17690dc61de74ee6bdf017a35cd465236f31 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Sat, 1 Jun 2013 03:35:34 +0000 Subject: [PATCH 019/149] clean up api documentation on bu_vls_vprintf() and bu_vls_printf() svn:revision:55625 svn:branch:trunk svn:account:brlcad --- include/bu.h | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/include/bu.h b/include/bu.h index 6c59b21ca76..2eea9e153d7 100644 --- a/include/bu.h +++ b/include/bu.h @@ -5087,23 +5087,31 @@ BU_EXPORT extern void bu_vls_trimspace(struct bu_vls *vp); /** - * Format a string into a vls. This version should work on - * practically any machine, but it serves to highlight the - * grossness of the varargs package requiring the size of a parameter - * to be known at compile time. + * Format a string into a vls using a varargs list. * - * %s continues to be a regular 'C' string, null terminated. - * %V is a pointer to a (struct bu_vls *) string. + * %s continues to be a regular null-terminated 'C' string (char *). + * %V is a libbu variable-length string (struct bu_vls *). + * + * Other format specifiers should behave identical to printf(). * * This routine appends to the given vls similar to how vprintf - * appends to stdout (see bu_vls_printf for overwriting the vls). + * appends to stdout (see bu_vls_sprintf for overwriting the vls). */ BU_EXPORT extern void bu_vls_vprintf(struct bu_vls *vls, const char *fmt, va_list ap); /** - * Initializes the va_list, then calls the above bu_vls_vprintf. + * Format a string into a vls using standard variable arguments. + * + * %s continues to be a regular null-terminated 'C' string (char *). + * %V is a libbu variable-length string (struct bu_vls *). + * + * Other format specifiers should behave identical to printf(). + * + * This routine appends to the given vls similar to how vprintf + * appends to stdout (see bu_vls_sprintf for overwriting the vls). + * The implementation ends up calling bu_vls_vprintf(). */ BU_EXPORT extern void bu_vls_printf(struct bu_vls *vls, const char *fmt, ...) _BU_ATTR_PRINTF23; From 53318bf73af56e453076e9aed1650f5bd4dafe6e Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Sat, 1 Jun 2013 03:36:10 +0000 Subject: [PATCH 020/149] replace four vls calls to strcat() with one call to printf(). svn:revision:55626 svn:branch:trunk svn:account:brlcad --- src/libged/nirt.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/libged/nirt.c b/src/libged/nirt.c index 1cc6a99a0e4..36b27cc1d55 100644 --- a/src/libged/nirt.c +++ b/src/libged/nirt.c @@ -410,10 +410,7 @@ ged_nirt(struct ged *gedp, int argc, const char *argv[]) ++i; } else { /* append other arguments (i.e. options, file and obj(s)) */ - bu_vls_strcat(&line1, "\""); - bu_vls_strcat(&line1, gedp->ged_gdp->gd_rt_cmd[i]); - bu_vls_strcat(&line1, "\""); - bu_vls_strcat(&line1, " "); + bu_vls_printf(&line1, "\"%s\" ", gedp->ged_gdp->gd_rt_cmd[i]); } } From 4e34e54a8491641f6e4d677661baee12700371e3 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Sat, 1 Jun 2013 03:46:36 +0000 Subject: [PATCH 021/149] richard identified a bug in the mged/archer autoview command where it was calucating the view size/center dramatically wrong for some geometry (including a pipe in our toyjeep example). the problem was a primitive that was not properly setting it's min/max value and the autoview command starting with unininitalsed variables. fix was simply to init them proper to INF/-INF. svn:revision:55627 svn:branch:trunk svn:account:brlcad --- NEWS | 1 + 1 file changed, 1 insertion(+) diff --git a/NEWS b/NEWS index c465e4919b1..f82e879ff88 100644 --- a/NEWS +++ b/NEWS @@ -13,6 +13,7 @@ changes made. See document footer for additional details. --- 2013-05-27 Release 7.24.0 --- ---------------------------------------------------------------------- +* improved autoview when given a bad bounding box - Richard Weiss * improved help option consistency across numerous tools - Carl Moore * 'idents' command no longer reports negative booleans - Keith Bowman * improved support for NURBS with big uv-domain changes - Keith Bowman From 2673f2eba903586a30d441d122316c4b9f3ae082 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Sat, 1 Jun 2013 04:12:48 +0000 Subject: [PATCH 022/149] turns out the fix richard applied was never publicly visible, isolated to either r53477 or r53495, so doesn't get announced. however, bob's fix for the pipe primitive should be publicly visible (looks like it's not been calculating linear segmenets at least up to the 7.22 release) svn:revision:55628 svn:branch:trunk svn:account:brlcad --- NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS b/NEWS index f82e879ff88..4cb38798447 100644 --- a/NEWS +++ b/NEWS @@ -13,7 +13,7 @@ changes made. See document footer for additional details. --- 2013-05-27 Release 7.24.0 --- ---------------------------------------------------------------------- -* improved autoview when given a bad bounding box - Richard Weiss +* fixed bounding box size calculation for pipe geometry - Bob Parker * improved help option consistency across numerous tools - Carl Moore * 'idents' command no longer reports negative booleans - Keith Bowman * improved support for NURBS with big uv-domain changes - Keith Bowman From 64662d0712d75230e4b30e4bd95b418e92c3d97e Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Sat, 1 Jun 2013 04:29:45 +0000 Subject: [PATCH 023/149] ws style cleanup svn:revision:55629 svn:branch:trunk svn:account:brlcad --- src/sig/a-d.c | 11 +- src/sig/butter.c | 72 ++++++------ src/sig/bw-d.c | 36 +++--- src/sig/c-d.c | 52 ++++----- src/sig/coswin.c | 46 ++++---- src/sig/d-a.c | 26 ++--- src/sig/d-bw.c | 41 +++---- src/sig/d-f.c | 29 ++--- src/sig/d-i.c | 39 +++---- src/sig/d-u.c | 39 +++---- src/sig/damdf.c | 37 +++--- src/sig/dauto.c | 37 +++--- src/sig/dauto2.c | 53 ++++----- src/sig/dconv.c | 91 +++++++-------- src/sig/ddisp.c | 262 ++++++++++++++++++++++--------------------- src/sig/dfft.c | 4 + src/sig/dmod.c | 4 +- src/sig/dsel.c | 56 +++++----- src/sig/dstats.c | 1 + src/sig/dwin.c | 159 +++++++++++++------------- src/sig/f-d.c | 29 ++--- src/sig/f-i.c | 41 +++---- src/sig/fhor.c | 285 ++++++++++++++++++++++++----------------------- src/sig/hamwin.c | 57 +++++----- src/sig/i-a.c | 1 + src/sig/i-d.c | 31 +++--- src/sig/i-f.c | 31 +++--- src/sig/ihist.c | 63 +++++------ src/sig/imod.c | 77 +++++++------ src/sig/interp.c | 37 +++--- src/sig/istats.c | 2 +- src/sig/smod.c | 17 +-- src/sig/u-a.c | 1 + src/sig/u-bw.c | 7 +- src/sig/u-d.c | 31 +++--- src/sig/u-f.c | 32 +++--- src/sig/umod.c | 21 ++-- src/sig/ustats.c | 9 +- 38 files changed, 966 insertions(+), 901 deletions(-) diff --git a/src/sig/a-d.c b/src/sig/a-d.c index 73267ddca95..2724d95f833 100644 --- a/src/sig/a-d.c +++ b/src/sig/a-d.c @@ -34,13 +34,14 @@ #include "bu.h" -#define COMMENT_CHAR '#' +#define COMMENT_CHAR '#' -int main(int argc, char **argv) +int +main(int argc, char **argv) { - double d; - int i; + double d; + int i; size_t ret; if (isatty(fileno(stdout))) { @@ -58,7 +59,7 @@ int main(int argc, char **argv) } else { /* get them from stdin */ while (1) { - int ch; + int ch; while (isspace(ch = getchar())) ; diff --git a/src/sig/butter.c b/src/sig/butter.c index ff787175b8b..c2874dab0da 100644 --- a/src/sig/butter.c +++ b/src/sig/butter.c @@ -39,76 +39,78 @@ void cdiv(); /* - * Returns the magnitude of the transfer function Hs(s) for a - * 1/3 octave 6-pole Butterworth bandpass filter of the given - * frequency. + * Returns the magnitude of the transfer function Hs(s) for a + * 1/3 octave 6-pole Butterworth bandpass filter of the given + * frequency. */ double butter(double w) - /* relative frequency (1.0 = center freq) */ +/* relative frequency (1.0 = center freq) */ { - bn_complex_t denom, num, h; - double gammaval, k1, k2, k3, k4; + bn_complex_t denom, num, h; + double gammaval, k1, k2, k3, k4; /* 1/3 octave gammaval */ - gammaval = pow( 2.0, 1.0/6.0 ) - pow( 2.0, -1.0/6.0 ); + gammaval = pow(2.0, 1.0/6.0) - pow(2.0, -1.0/6.0); /* coefficients */ - k1 = pow( gammaval, 3.0 ); + k1 = pow(gammaval, 3.0); k2 = 2.0 * gammaval; - k3 = 3.0 + 2.0 * pow( gammaval, 2.0 ); - k4 = gammaval * (4.0 + pow( gammaval, 2.0 )); + k3 = 3.0 + 2.0 * pow(gammaval, 2.0); + k4 = gammaval * (4.0 + pow(gammaval, 2.0)); num.re = 0.0; - num.im = -k1 * pow( w, 3.0 ); + num.im = -k1 * pow(w, 3.0); - denom.re = 1.0 - k3 * pow( w, 2.0 ) - + k3 * pow( w, 4.0 ) - pow( w, 6.0 ); - denom.im = k2 * w - k4 * pow( w, 3.0 ) - + k2 * pow( w, 5.0 ); + denom.re = 1.0 - k3 * pow(w, 2.0) + + k3 * pow(w, 4.0) - pow(w, 6.0); + denom.im = k2 * w - k4 * pow(w, 3.0) + + k2 * pow(w, 5.0); - cdiv( &h, &num, &denom ); -/* printf( "(%f, %f)\n", h.re, h.im );*/ - return hypot( h.re, h.im ); + cdiv(&h, &num, &denom); +/* printf("(%f, %f)\n", h.re, h.im);*/ + return hypot(h.re, h.im); } + /* * Compute weights for a log point spaces critical band filter. */ void cbweights(double *filter, int window, int points) - /* Length of FFT to compute relative freq for */ - /* Length of filter kernel wanted */ +/* Length of FFT to compute relative freq for */ +/* Length of filter kernel wanted */ { - int i, center; - double step, w; + int i, center; + double step, w; center = points/2; - step = pow( (double)window, 1.0/(window-1.0) ); + step = pow((double)window, 1.0/(window-1.0)); - filter[center] = butter( 1.0 ); + filter[center] = butter(1.0); w = 1; - for ( i = 1; i <= points/2; i++ ) { + for (i = 1; i <= points/2; i++) { w *= step; - /* w = pow( step, (double)i ); */ - filter[center+i] = filter[center-i] = butter( w ); + /* w = pow(step, (double)i); */ + filter[center+i] = filter[center-i] = butter(w); } } + #ifdef TEST -#define N 512.0 +#define N 512.0 int main() { - int offset; - double wr, mag, step; + int offset; + double wr, mag, step; - step = pow( N, 1.0/(N-1) ); + step = pow(N, 1.0/(N-1)); - for ( offset = -15; offset <= 15; offset++ ) { - wr = pow( step, (double)offset ); - mag = butter( wr ); - printf( "%4d: %f, %f, %f\n", offset, wr, mag, 20.0*log10( mag ) ); + for (offset = -15; offset <= 15; offset++) { + wr = pow(step, (double)offset); + mag = butter(wr); + printf("%4d: %f, %f, %f\n", offset, wr, mag, 20.0*log10(mag)); } return 0; diff --git a/src/sig/bw-d.c b/src/sig/bw-d.c index 12c0b8054c5..36f6a060a32 100644 --- a/src/sig/bw-d.c +++ b/src/sig/bw-d.c @@ -19,7 +19,7 @@ */ /** @file bw-d.c * - * Convert unsigned bytes to doubles. + * Convert unsigned bytes to doubles. * * % bw-d [-n || scale] * @@ -37,48 +37,49 @@ #include "bu.h" #include "vmath.h" -unsigned char ibuf[512]; -double obuf[512]; +unsigned char ibuf[512]; +double obuf[512]; void printusage(void) { - bu_exit(1, "Usage: bw-d [-n || scale] < unsigned_chars > doubles\n"); + bu_exit(1, "Usage: bw-d [-n || scale] < unsigned_chars > doubles\n"); } + int main(int argc, char **argv) { - int i, num; - double scale; + int i, num; + double scale; size_t ret; - if ( BU_STR_EQUAL( argv[1], "-h" ) || BU_STR_EQUAL( argv[1], "-?" ) ) + if (BU_STR_EQUAL(argv[1], "-h") || BU_STR_EQUAL(argv[1], "-?")) printusage(); scale = 1.0; - if ( argc > 1 ) { - if ( BU_STR_EQUAL( argv[1], "-n" ) ) + if (argc > 1) { + if (BU_STR_EQUAL(argv[1], "-n")) scale = 1.0/255.0; else - scale = atof( argv[1] ); + scale = atof(argv[1]); argc--; } - if ( argc > 1 || ZERO(scale) || isatty(fileno(stdin)) ) { - fprintf(stderr,"bad argument\n"); + if (argc > 1 || ZERO(scale) || isatty(fileno(stdin))) { + fprintf(stderr, "bad argument\n"); printusage(); } - while ( (num = fread( &ibuf[0], sizeof( ibuf[0] ), 512, stdin)) > 0 ) { - if ( EQUAL(scale, 1.0) ) { - for ( i = 0; i < num; i++ ) + while ((num = fread(&ibuf[0], sizeof(ibuf[0]), 512, stdin)) > 0) { + if (EQUAL(scale, 1.0)) { + for (i = 0; i < num; i++) obuf[i] = ibuf[i]; } else { - for ( i = 0; i < num; i++ ) + for (i = 0; i < num; i++) obuf[i] = (double)ibuf[i] * scale; } - ret = fwrite( &obuf[0], sizeof( obuf[0] ), num, stdout ); + ret = fwrite(&obuf[0], sizeof(obuf[0]), num, stdout); if (ret != (size_t)num) perror("fwrite"); } @@ -86,6 +87,7 @@ int main(int argc, char **argv) return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/c-d.c b/src/sig/c-d.c index 2eb7a75ea81..438fa2c59f5 100644 --- a/src/sig/c-d.c +++ b/src/sig/c-d.c @@ -34,27 +34,28 @@ static const char usage[] = "\ Usage: c-d -r -i -m -p -z < complex_data > doubles\n"; -int rflag = 0; -int iflag = 0; -int mflag = 0; -int pflag = 0; -int zflag = 0; +int rflag = 0; +int iflag = 0; +int mflag = 0; +int pflag = 0; +int zflag = 0; -double ibuf[512]; -double obuf[512]; -double *obp; +double ibuf[512]; +double obuf[512]; +double *obp; -int main(int argc, char **argv) +int +main(int argc, char **argv) { - int i, num, onum; + int i, num, onum; size_t ret; - if ( argc <= 1 || isatty(fileno(stdin)) ) { - bu_exit(1, "%s", usage ); + if (argc <= 1 || isatty(fileno(stdin))) { + bu_exit(1, "%s", usage); } - while ( argc > 1 && argv[1][0] == '-' ) { - switch ( argv[1][1] ) { + while (argc > 1 && argv[1][0] == '-') { + switch (argv[1][1]) { case 'r': rflag++; break; @@ -75,41 +76,42 @@ int main(int argc, char **argv) argv++; } - while ( (num = fread( &ibuf[0], sizeof( ibuf[0] ), 512, stdin)) > 0 ) { + while ((num = fread(&ibuf[0], sizeof(ibuf[0]), 512, stdin)) > 0) { onum = 0; obp = obuf; - for ( i = 0; i < num; i += 2 ) { - if ( rflag ) { + for (i = 0; i < num; i += 2) { + if (rflag) { *obp++ = ibuf[i]; onum++; } - if ( iflag ) { + if (iflag) { *obp++ = ibuf[i+1]; onum++; } - if ( mflag ) { - *obp++ = hypot( ibuf[i], ibuf[i+1] ); + if (mflag) { + *obp++ = hypot(ibuf[i], ibuf[i+1]); onum++; } - if ( pflag ) { - if ( ZERO(ibuf[i]) && ZERO(ibuf[i+1]) ) + if (pflag) { + if (ZERO(ibuf[i]) && ZERO(ibuf[i+1])) *obp++ = 0; else - *obp++ = atan2( ibuf[i], ibuf[i+1] ); + *obp++ = atan2(ibuf[i], ibuf[i+1]); onum++; } - if ( zflag ) { + if (zflag) { *obp++ = 0.0; onum++; } } - ret = fwrite( &obuf[0], sizeof( obuf[0] ), onum, stdout ); + ret = fwrite(&obuf[0], sizeof(obuf[0]), onum, stdout); if (ret != (size_t)onum) perror("fwrite"); } return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/coswin.c b/src/sig/coswin.c index c0544a06b18..aba916e83fa 100644 --- a/src/sig/coswin.c +++ b/src/sig/coswin.c @@ -19,8 +19,8 @@ */ /** @file coswin.c * - * Do Cosine windowing effecting p percent of the samples in - * the buffer. Precomputes the window function. + * Do Cosine windowing effecting p percent of the samples in + * the buffer. Precomputes the window function. */ #include "common.h" @@ -33,25 +33,25 @@ #include "vmath.h" #include "bn.h" -static int _init_length = 0; /* Internal: last initialized size */ -static int maxinitlen = 0; -static double *coswintab = NULL; +static int _init_length = 0; /* Internal: last initialized size */ +static int maxinitlen = 0; +static double *coswintab = NULL; /* - * I N I T _ C O S W I N T A B + * I N I T _ C O S W I N T A B * * Internal routine to initialize the cosine window table for - * a given effect length (number of sample at each end effected). + * a given effect length (number of sample at each end effected). */ int init_coswintab(int size) { - int i; - double theta; + int i; + double theta; - if ( size > maxinitlen ) { - if ( coswintab != NULL ) { - bu_free( coswintab, "coswintab" ); + if (size > maxinitlen) { + if (coswintab != NULL) { + bu_free(coswintab, "coswintab"); maxinitlen = 0; } coswintab = (double *)bu_malloc(size*sizeof(double), "coswintab"); @@ -63,9 +63,9 @@ init_coswintab(int size) /* * Size is okay. Set up tables. */ - for ( i = 0; i < size; i++ ) { + for (i = 0; i < size; i++) { theta = M_PI * i / (double)(size); - coswintab[ i ] = 0.5 - 0.5 * cos( theta ); + coswintab[ i ] = 0.5 - 0.5 * cos(theta); } /* @@ -79,20 +79,20 @@ init_coswintab(int size) void coswin(double *data, int length, double percent) { - int num, i; + int num, i; num = percent * length/2 + 0.5; /* Check for window table initialization */ - if ( num != _init_length ) { - if ( init_coswintab( num ) == 0 ) { + if (num != _init_length) { + if (init_coswintab(num) == 0) { /* Can't do requested size */ return; } } /* Do window - could use pointers here... */ - for ( i = 0; i < num; i++ ) { + for (i = 0; i < num; i++) { data[i] *= coswintab[i]; data[length-i-1] *= coswintab[i]; } @@ -100,26 +100,27 @@ coswin(double *data, int length, double percent) bu_free(coswintab, "coswintab"); } + /* * Complex Data Version. */ void ccoswin(bn_complex_t *data, int length, double percent) { - int num, i; + int num, i; num = percent * length/2 + 0.5; /* Check for window table initialization */ - if ( num != _init_length ) { - if ( init_coswintab( num ) == 0 ) { + if (num != _init_length) { + if (init_coswintab(num) == 0) { /* Can't do requested size */ return; } } /* Do window - could use pointers here... */ - for ( i = 0; i < num; i++ ) { + for (i = 0; i < num; i++) { data[i].re *= coswintab[i]; data[length-i-1].re *= coswintab[i]; } @@ -127,6 +128,7 @@ ccoswin(bn_complex_t *data, int length, double percent) bu_free(coswintab, "coswintab"); } + /* * Local Variables: * mode: C diff --git a/src/sig/d-a.c b/src/sig/d-a.c index d62f1a393eb..71bcca419ae 100644 --- a/src/sig/d-a.c +++ b/src/sig/d-a.c @@ -30,39 +30,39 @@ #include #include "bio.h" -#include "bu.h" +#include "bu.h" -int nflag = 0; +int nflag = 0; static const char usage[] = "\ Usage: d-a [-n] < doubles > ascii\n"; int main(int argc, char **argv) { - double d; + double d; - while ( argc > 1 ) { - if ( BU_STR_EQUAL( argv[1], "-n" ) ) + while (argc > 1) { + if (BU_STR_EQUAL(argv[1], "-n")) nflag++; else break; argc--; argv++; } - if ( argc > 1 || isatty(fileno(stdin)) ) { - bu_exit(1, "%s", usage ); + if (argc > 1 || isatty(fileno(stdin))) { + bu_exit(1, "%s", usage); } - if ( nflag ) { - long n; + if (nflag) { + long n; n = 0; - while ( fread(&d, sizeof(d), 1, stdin) == 1 ) { - printf( "%ld %9g\n", n++, d ); + while (fread(&d, sizeof(d), 1, stdin) == 1) { + printf("%ld %9g\n", n++, d); } } else { - while ( fread(&d, sizeof(d), 1, stdin) == 1 ) { - printf( "%9g\n", d ); + while (fread(&d, sizeof(d), 1, stdin) == 1) { + printf("%9g\n", d); } } return 0; diff --git a/src/sig/d-bw.c b/src/sig/d-bw.c index a2314b2a355..d11bc33fd06 100644 --- a/src/sig/d-bw.c +++ b/src/sig/d-bw.c @@ -19,7 +19,7 @@ */ /** @file d-bw.c * - * Convert doubles to unsigned bytes. + * Convert doubles to unsigned bytes. * * % d-bw [-n || scale] * @@ -38,57 +38,58 @@ #include "vmath.h" -double ibuf[512]; -unsigned char obuf[512]; +double ibuf[512]; +unsigned char obuf[512]; int main(int argc, char **argv) { - int i, num; - double scale = 1.0; - double value; - int clip_high, clip_low; + int i, num; + double scale = 1.0; + double value; + int clip_high, clip_low; size_t ret; - if ( argc > 1 ) { - if ( BU_STR_EQUAL( argv[1], "-n" ) ) + if (argc > 1) { + if (BU_STR_EQUAL(argv[1], "-n")) scale = 255.0; else - scale = atof( argv[1] ); + scale = atof(argv[1]); argc--; } - if ( argc > 1 || ZERO(scale) || isatty(fileno(stdin)) ) { - bu_exit(1, "Usage: d-bw [-n || scale] < doubles > unsigned_chars\n" ); + if (argc > 1 || ZERO(scale) || isatty(fileno(stdin))) { + bu_exit(1, "Usage: d-bw [-n || scale] < doubles > unsigned_chars\n"); } clip_high = clip_low = 0; - while ( (num = fread( &ibuf[0], sizeof( ibuf[0] ), 512, stdin)) > 0 ) { - for ( i = 0; i < num; i++ ) { + while ((num = fread(&ibuf[0], sizeof(ibuf[0]), 512, stdin)) > 0) { + for (i = 0; i < num; i++) { value = ibuf[i] * scale; - if ( value > 255.0 ) { + if (value > 255.0) { obuf[i] = 255; clip_high++; - } else if ( value < 0.0 ) { + } else if (value < 0.0) { obuf[i] = 0; clip_low++; } else obuf[i] = (int)value; } - ret = fwrite( &obuf[0], sizeof( obuf[0] ), num, stdout ); + ret = fwrite(&obuf[0], sizeof(obuf[0]), num, stdout); if (ret != (size_t)num) perror("fwrite"); } - if ( clip_low != 0 || clip_high != 0 ) - fprintf( stderr, "Warning: Clipped %d high, %d low\n", - clip_high, clip_low ); + if (clip_low != 0 || clip_high != 0) + fprintf(stderr, "Warning: Clipped %d high, %d low\n", + clip_high, clip_low); return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/d-f.c b/src/sig/d-f.c index 25d06c8e0a7..1a89691a669 100644 --- a/src/sig/d-f.c +++ b/src/sig/d-f.c @@ -19,7 +19,7 @@ */ /** @file d-f.c * - * Convert doubles to floats. + * Convert doubles to floats. * * % d-f [-n || scale] * @@ -39,42 +39,43 @@ #include "vmath.h" -double ibuf[512] = { 0.0 }; -float obuf[512] = { 0.0f}; +double ibuf[512] = { 0.0 }; +float obuf[512] = { 0.0f}; int main(int argc, char **argv) { - int i, num; - double scale = 1.0; + int i, num; + double scale = 1.0; size_t ret; - if ( argc > 1 ) { - if ( ! BU_STR_EQUAL( argv[1], "-n" ) ) - scale = atof( argv[1] ); + if (argc > 1) { + if (! BU_STR_EQUAL(argv[1], "-n")) + scale = atof(argv[1]); argc--; } - if ( argc > 1 || ZERO(scale) || isatty(fileno(stdin)) ) { + if (argc > 1 || ZERO(scale) || isatty(fileno(stdin))) { bu_exit(1, "Usage: d-f [-n || scale] < doubles > floats\n"); } - while ( (num = fread( &ibuf[0], sizeof( ibuf[0] ), 512, stdin)) > 0 ) { - if ( EQUAL(scale, 1.0) ) { - for ( i = 0; i < num; i++ ) + while ((num = fread(&ibuf[0], sizeof(ibuf[0]), 512, stdin)) > 0) { + if (EQUAL(scale, 1.0)) { + for (i = 0; i < num; i++) obuf[i] = ibuf[i]; } else { - for ( i = 0; i < num; i++ ) + for (i = 0; i < num; i++) obuf[i] = ibuf[i] * scale; } - ret = fwrite( &obuf[0], sizeof( obuf[0] ), num, stdout ); + ret = fwrite(&obuf[0], sizeof(obuf[0]), num, stdout); if (ret != (size_t)num) perror("fwrite"); } return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/d-i.c b/src/sig/d-i.c index 78ad3019643..515dfe09832 100644 --- a/src/sig/d-i.c +++ b/src/sig/d-i.c @@ -19,7 +19,7 @@ */ /** @file d-i.c * - * Convert doubles to 16bit ints + * Convert doubles to 16bit ints * * % d-i [-n || scale] * @@ -39,56 +39,57 @@ #include "vmath.h" -double ibuf[512]; -short obuf[512]; +double ibuf[512]; +short obuf[512]; int main(int argc, char **argv) { - int i, num; - double scale = 1.0; - double value; - int clip_high, clip_low; + int i, num; + double scale = 1.0; + double value; + int clip_high, clip_low; size_t ret; - if ( argc > 1 ) { - if ( BU_STR_EQUAL( argv[1], "-n" ) ) + if (argc > 1) { + if (BU_STR_EQUAL(argv[1], "-n")) scale = 32767.0; else - scale = atof( argv[1] ); + scale = atof(argv[1]); argc--; } - if ( argc > 1 || ZERO(scale) || isatty(fileno(stdin)) ) { + if (argc > 1 || ZERO(scale) || isatty(fileno(stdin))) { bu_exit(1, "Usage: d-i [-n || scale] < doubles > shorts\n"); } clip_high = clip_low = 0; - while ( (num = fread( &ibuf[0], sizeof( ibuf[0] ), 512, stdin)) > 0 ) { - for ( i = 0; i < num; i++ ) { + while ((num = fread(&ibuf[0], sizeof(ibuf[0]), 512, stdin)) > 0) { + for (i = 0; i < num; i++) { value = ibuf[i] * scale; - if ( value > 32767.0 ) { + if (value > 32767.0) { obuf[i] = 32767; clip_high++; - } else if ( value < -32768.0 ) { + } else if (value < -32768.0) { obuf[i] = -32768; clip_low++; } else obuf[i] = (int)value; } - ret = fwrite( &obuf[0], sizeof( obuf[0] ), num, stdout ); + ret = fwrite(&obuf[0], sizeof(obuf[0]), num, stdout); if (ret != (size_t)num) perror("fwrite"); } - if ( clip_low != 0 || clip_high != 0 ) - fprintf( stderr, "%s: warning: clipped %d high, %d low\n", - argv[0], clip_high, clip_low ); + if (clip_low != 0 || clip_high != 0) + fprintf(stderr, "%s: warning: clipped %d high, %d low\n", + argv[0], clip_high, clip_low); return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/d-u.c b/src/sig/d-u.c index dceb1783d7b..5bab51c2e2b 100644 --- a/src/sig/d-u.c +++ b/src/sig/d-u.c @@ -19,7 +19,7 @@ */ /** @file d-u.c * - * Convert doubles to 16bit unsigned ints + * Convert doubles to 16bit unsigned ints * * % d-u [-n || scale] * @@ -39,56 +39,57 @@ #include "vmath.h" -double ibuf[512]; -unsigned short obuf[512]; +double ibuf[512]; +unsigned short obuf[512]; int main(int argc, char **argv) { - int i, num; - double scale = 1.0; - double value; - int clip_high, clip_low; + int i, num; + double scale = 1.0; + double value; + int clip_high, clip_low; size_t ret; - if ( argc > 1 ) { - if ( BU_STR_EQUAL( argv[1], "-n" ) ) + if (argc > 1) { + if (BU_STR_EQUAL(argv[1], "-n")) scale = 65536.0; else - scale = atof( argv[1] ); + scale = atof(argv[1]); argc--; } - if ( argc > 1 || ZERO(scale) || isatty(fileno(stdin)) ) { + if (argc > 1 || ZERO(scale) || isatty(fileno(stdin))) { bu_exit(1, "Usage: d-u [-n || scale] < doubles > unsigned_shorts\n"); } clip_high = clip_low = 0; - while ( (num = fread( &ibuf[0], sizeof( ibuf[0] ), 512, stdin)) > 0 ) { - for ( i = 0; i < num; i++ ) { + while ((num = fread(&ibuf[0], sizeof(ibuf[0]), 512, stdin)) > 0) { + for (i = 0; i < num; i++) { value = ibuf[i] * scale; - if ( value > 65535.0 ) { + if (value > 65535.0) { obuf[i] = 65535; clip_high++; - } else if ( value < 0.0 ) { + } else if (value < 0.0) { obuf[i] = 0; clip_low++; } else obuf[i] = (unsigned short)value; } - ret = fwrite( &obuf[0], sizeof( obuf[0] ), num, stdout ); + ret = fwrite(&obuf[0], sizeof(obuf[0]), num, stdout); if (ret != (size_t)num) perror("fwrite"); } - if ( clip_low != 0 || clip_high != 0 ) - fprintf( stderr, "%s: warning: clipped %d high, %d low\n", - argv[0], clip_high, clip_low ); + if (clip_low != 0 || clip_high != 0) + fprintf(stderr, "%s: warning: clipped %d high, %d low\n", + argv[0], clip_high, clip_low); return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/damdf.c b/src/sig/damdf.c index a21e1eb99f9..e0d3dcd136d 100644 --- a/src/sig/damdf.c +++ b/src/sig/damdf.c @@ -19,8 +19,8 @@ */ /** @file damdf.c * - * Average Magnitude Difference Function - * (Experimental: for pitch extraction) + * Average Magnitude Difference Function + * (Experimental: for pitch extraction) * */ @@ -35,48 +35,48 @@ #include "bu.h" -#define BSIZE 2048 /* Must be AT LEAST 2*Points in spectrum */ -double data[BSIZE]; /* Input buffer */ -double r[BSIZE]; +#define BSIZE 2048 /* Must be AT LEAST 2*Points in spectrum */ +double data[BSIZE]; /* Input buffer */ +double r[BSIZE]; static const char usage[] = "Usage: damdf [window_size (512)] < doubles >outputfile\n"; int main(int argc, char **argv) { - int i, j, n, L; + int i, j, n, L; double *dp1, *dp2; - double d; + double d; size_t ret; - if ( isatty(fileno(stdin)) || isatty(fileno(stdout)) ) { - bu_exit(1, "%s", usage ); + if (isatty(fileno(stdin)) || isatty(fileno(stdout))) { + bu_exit(1, "%s", usage); } L = (argc > 1) ? atoi(argv[1]) : 512; - while ( !feof( stdin ) ) { - n = fread( data, sizeof(*data), L, stdin ); - if ( n <= 0 ) + while (!feof(stdin)) { + n = fread(data, sizeof(*data), L, stdin); + if (n <= 0) break; - if ( n < L ) + if (n < L) memset((char *)&data[n], 0, (L-n)*sizeof(*data)); - for ( i = 0; i < L; i++ ) { + for (i = 0; i < L; i++) { r[i] = 0; dp1 = &data[0]; dp2 = &data[i]; - for ( j = L-i; j > 0; j-- ) { + for (j = L-i; j > 0; j--) { d = *dp1++ - *dp2++; - if ( d > 0 ) + if (d > 0) r[i] += d; else r[i] -= d; } } - for ( i = 0; i < L; i++ ) { + for (i = 0; i < L; i++) { r[i] = 1024 - r[i]; } - ret = fwrite( r, sizeof(*r), L, stdout ); + ret = fwrite(r, sizeof(*r), L, stdout); if (ret != (size_t)L) perror("fwrite"); } @@ -84,6 +84,7 @@ int main(int argc, char **argv) return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/dauto.c b/src/sig/dauto.c index 4dc34a7a697..175a19d7c74 100644 --- a/src/sig/dauto.c +++ b/src/sig/dauto.c @@ -36,53 +36,53 @@ #include "bu.h" -double *data; /* Input buffer */ -double *r; /* autocor output */ -double *weight; /* weights to unbias estimation */ +double *data; /* Input buffer */ +double *r; /* autocor output */ +double *weight; /* weights to unbias estimation */ static const char usage[] = "Usage: dauto [window_size (512)] < doubles >outputfile\n"; int main(int argc, char **argv) { - int i, j, n, L; + int i, j, n, L; double *dp1, *dp2; size_t ret; - if ( isatty(fileno(stdin)) || isatty(fileno(stdout)) ) { - bu_exit(1, "%s", usage ); + if (isatty(fileno(stdin)) || isatty(fileno(stdout))) { + bu_exit(1, "%s", usage); } L = (argc > 1) ? atoi(argv[1]) : 512; - data = (double *)bu_calloc( L, sizeof(double), "data" ); - r = (double *)bu_calloc( L, sizeof(double), "r" ); - weight = (double *)bu_calloc( L, sizeof(double), "weight" ); + data = (double *)bu_calloc(L, sizeof(double), "data"); + r = (double *)bu_calloc(L, sizeof(double), "r"); + weight = (double *)bu_calloc(L, sizeof(double), "weight"); - for ( i = 0; i < L; i++ ) { + for (i = 0; i < L; i++) { weight[i] = 1.0 / (double)(L-i); } - while ( !feof( stdin ) ) { - n = fread( data, sizeof(*data), L, stdin ); - if ( n <= 0 ) + while (!feof(stdin)) { + n = fread(data, sizeof(*data), L, stdin); + if (n <= 0) break; - if ( n < L ) + if (n < L) memset((char *)&data[n], 0, (L-n)*sizeof(*data)); - for ( i = 0; i < L; i++ ) { + for (i = 0; i < L; i++) { r[i] = 0; dp1 = &data[0]; dp2 = &data[i]; - for ( j = L-i; j > 0; j-- ) { + for (j = L-i; j > 0; j--) { r[i] += *dp1++ * *dp2++; } } /* unbias the estimation */ - for ( i = 0; i < L; i++ ) { + for (i = 0; i < L; i++) { r[i] *= weight[i]; } - ret = fwrite( r, sizeof(*r), L, stdout ); + ret = fwrite(r, sizeof(*r), L, stdout); if (ret != (size_t)L) perror("fwrite"); } @@ -94,6 +94,7 @@ int main(int argc, char **argv) return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/dauto2.c b/src/sig/dauto2.c index 0ccc69283d3..4781fed27db 100644 --- a/src/sig/dauto2.c +++ b/src/sig/dauto2.c @@ -32,74 +32,74 @@ #include "bu.h" -#define BSIZE 2048 /* Must be AT LEAST 2*Points in spectrum */ -double data[BSIZE]; /* Input buffer */ -int clip[BSIZE]; /* clipped buffer */ -int out[BSIZE]; -double r[BSIZE]; +#define BSIZE 2048 /* Must be AT LEAST 2*Points in spectrum */ +double data[BSIZE]; /* Input buffer */ +int clip[BSIZE]; /* clipped buffer */ +int out[BSIZE]; +double r[BSIZE]; static const char usage[] = "Usage: dauto2 [window_size (512)] < doubles >outputfile\n"; int main(int argc, char **argv) { - int i, j, n, L; + int i, j, n, L; int *dp1, *dp2; - double max1, max2, m, m2; + double max1, max2, m, m2; size_t ret; - if ( isatty(fileno(stdin)) || isatty(fileno(stdout)) ) { - bu_exit(1, "%s", usage ); + if (isatty(fileno(stdin)) || isatty(fileno(stdout))) { + bu_exit(1, "%s", usage); } L = (argc > 1) ? atoi(argv[1]) : 512; - while ( !feof( stdin ) ) { - n = fread( data, sizeof(*data), L, stdin ); - if ( n <= 0 ) + while (!feof(stdin)) { + n = fread(data, sizeof(*data), L, stdin); + if (n <= 0) break; - if ( n < L ) + if (n < L) memset((char *)&data[n], 0, (L-n)*sizeof(*data)); max1 = data[0]; - for ( i = 1; i < L/2; i++ ) { + for (i = 1; i < L/2; i++) { m = data[i] >= 0 ? data[i] : - data[i]; - if ( m > max1 ) max1 = m; + if (m > max1) max1 = m; } max2 = data[2*L/3]; - for ( i = 2*L/3+1; i < L; i++ ) { + for (i = 2*L/3+1; i < L; i++) { m = data[i] >= 0 ? data[i] : - data[i]; - if ( m > max2 ) max2 = m; + if (m > max2) max2 = m; } m = max1 > max2 ? max2 : max1; m *= 0.6; m2 = -m; - for ( i = 0; i < L; i++ ) { - if ( data[i] > m ) + for (i = 0; i < L; i++) { + if (data[i] > m) clip[i] = 1; - else if ( data[i] < m2 ) + else if (data[i] < m2) clip[i] = -1; else clip[i] = 0; } - for ( i = 0; i < L; i++ ) { + for (i = 0; i < L; i++) { out[i] = 0; dp1 = &clip[0]; dp2 = &clip[i]; - for ( j = L-i; j > 0; j-- ) { - if ( *dp1 == 0 || *dp2 == 0 ) + for (j = L-i; j > 0; j--) { + if (*dp1 == 0 || *dp2 == 0) continue; - else if ( *dp1 == *dp2 ) + else if (*dp1 == *dp2) out[i]++; else out[i]--; } } - for ( i = 0; i < L; i++ ) { + for (i = 0; i < L; i++) { r[i] = out[i]; } - ret = fwrite( r, sizeof(*r), L, stdout ); + ret = fwrite(r, sizeof(*r), L, stdout); if (ret != (size_t)L) perror("fwrite"); } @@ -107,6 +107,7 @@ int main(int argc, char **argv) return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/dconv.c b/src/sig/dconv.c index ec8af51b479..3751a6bb8b8 100644 --- a/src/sig/dconv.c +++ b/src/sig/dconv.c @@ -40,35 +40,35 @@ #include "bu.h" -#define MAXM 4096 +#define MAXM 4096 -void rfft256(); -void rfft(); -void irfft256(); -void irfft(); +void rfft256(); +void rfft(); +void irfft256(); +void irfft(); -double savebuffer[MAXM]; -double xbuf[2 * (MAXM + 1)]; -double ibuf[2 * (MAXM + 1)]; /* impulse response */ +double savebuffer[MAXM]; +double xbuf[2 * (MAXM + 1)]; +double ibuf[2 * (MAXM + 1)]; /* impulse response */ /* - * Multiply two "real valued" spectra of length n - * and put the result in the first. - * The order is: [Re(0), Re(1)...Re(N/2), Im(N/2-1),..., Im(1)] - * so for: 0 < i < n/2, (x[i], x[n-i]) is a complex pair. + * Multiply two "real valued" spectra of length n + * and put the result in the first. + * The order is: [Re(0), Re(1)...Re(N/2), Im(N/2-1), ..., Im(1)] + * so for: 0 < i < n/2, (x[i], x[n-i]) is a complex pair. */ void mult(double *o, double *b, int n) { - int i; - double r; + int i; + double r; /* do DC and Nyquist components */ o[0] *= b[0]; o[n/2] *= b[n/2]; - for ( i = 1; i < n/2; i++ ) { + for (i = 1; i < n/2; i++) { r = o[i] * b[i] - o[n-i] * b[n-i]; o[n-i] = o[i] * b[n-i] + o[n-i] * b[i]; o[i] = r; @@ -78,14 +78,14 @@ mult(double *o, double *b, int n) int main(int argc, char **argv) { - int i; + int i; int M = 128; /* kernel size */ - int N, L; - FILE *fp; + int N, L; + FILE *fp; size_t ret; - if ( argc != 2 || isatty(fileno(stdin)) || isatty(fileno(stdout)) ) { - bu_exit(1, "Usage: dconv filterfile < doubles > doubles\n WARNING: kernel size must be 2^i - 1\n" ); + if (argc != 2 || isatty(fileno(stdin)) || isatty(fileno(stdout))) { + bu_exit(1, "Usage: dconv filterfile < doubles > doubles\n WARNING: kernel size must be 2^i - 1\n"); } N = 2*M; /* input sub-section length (fft size) */ @@ -94,25 +94,25 @@ int main(int argc, char **argv) #ifdef never /* prepare the kernel(!) */ /* this is either the direct complex response, - * or the FT(impulse resp) + * or the FT(impulse resp) */ - for ( i = 0; i < N; i++ ) { - if ( i <= N/2 ) + for (i = 0; i < N; i++) { + if (i <= N/2) ibuf[i] = 1.0; /* Real part */ else ibuf[i] = 0.0; /* Imag part */ } #endif /* never */ - if ( (fp = fopen( argv[1], "r" )) == NULL ) { - bu_exit(2, "dconv: can't open \"%s\"\n", argv[1] ); + if ((fp = fopen(argv[1], "r")) == NULL) { + bu_exit(2, "dconv: can't open \"%s\"\n", argv[1]); } - if ( (M = fread( ibuf, sizeof(*ibuf), 2*MAXM, fp )) == 0 ) { - bu_exit(3, "dconv: problem reading filter file\n" ); + if ((M = fread(ibuf, sizeof(*ibuf), 2*MAXM, fp)) == 0) { + bu_exit(3, "dconv: problem reading filter file\n"); } - fclose( fp ); - if ( M > MAXM ) { - bu_exit(4, "dconv: only compiled for up to %d sized filter kernels\n", MAXM ); + fclose(fp); + if (M > MAXM) { + bu_exit(4, "dconv: only compiled for up to %d sized filter kernels\n", MAXM); } /*XXX HACK HACK HACK HACK XXX*/ /* Assume M = 2^i - 1 */ @@ -120,13 +120,13 @@ int main(int argc, char **argv) N = 2*M; /* input sub-section length (fft size) */ L = N - M + 1; /* number of "good" points per section */ - if ( N == 256 ) - rfft256( ibuf ); + if (N == 256) + rfft256(ibuf); else - rfft( ibuf, N ); + rfft(ibuf, N); - while ( (i = fread(&xbuf[M-1], sizeof(*xbuf), L, stdin)) > 0 ) { - if ( i < L ) { + while ((i = fread(&xbuf[M-1], sizeof(*xbuf), L, stdin)) > 0) { + if (i < L) { /* pad the end with zero's */ memset((char *)&xbuf[M-1+i], 0, (L-i)*sizeof(*savebuffer)); } @@ -136,22 +136,22 @@ int main(int argc, char **argv) memcpy(xbuf, savebuffer, COPY_SIZE); memcpy(savebuffer, &xbuf[L], COPY_SIZE); - /*xform( xbuf, N );*/ - if ( N == 256 ) - rfft256( xbuf ); + /*xform(xbuf, N);*/ + if (N == 256) + rfft256(xbuf); else - rfft( xbuf, N ); + rfft(xbuf, N); /* Mult */ - mult( xbuf, ibuf, N ); + mult(xbuf, ibuf, N); - /*invxform( xbuf, N );*/ - if ( N == 256 ) - irfft256( xbuf ); + /*invxform(xbuf, N);*/ + if (N == 256) + irfft256(xbuf); else - irfft( xbuf, N ); + irfft(xbuf, N); - ret = fwrite( &xbuf[M-1], sizeof(*xbuf), L, stdout ); + ret = fwrite(&xbuf[M-1], sizeof(*xbuf), L, stdout); if (ret != (size_t)L) perror("fwrite"); } @@ -159,6 +159,7 @@ int main(int argc, char **argv) return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/ddisp.c b/src/sig/ddisp.c index 879c71e2158..62f76ddea4d 100644 --- a/src/sig/ddisp.c +++ b/src/sig/ddisp.c @@ -31,20 +31,20 @@ #include "fb.h" -#define MAXPTS 4096 +#define MAXPTS 4096 -int Clear = 0; -int pause_time = 0; -int mode = 0; -#define VERT 1 -#define BARS 2 +int Clear = 0; +int pause_time = 0; +int mode = 0; +#define VERT 1 +#define BARS 2 -FBIO *fbp; -int fbsize = 512; +FBIO *fbp; +int fbsize = 512; -void lineout(double *dat, int n); -void disp_inten(double *buf, int size); -void disp_bars(double *buf, int size); +void lineout(double *dat, int n); +void disp_inten(double *buf, int size); +void disp_bars(double *buf, int size); static const char usage[] = "\ Usage: ddisp [-v -b -p -c -H] [width (512)] < inputfile\n"; @@ -52,198 +52,203 @@ Usage: ddisp [-v -b -p -c -H] [width (512)] < inputfile\n"; int main(int argc, char **argv) { - double buf[MAXPTS]; + double buf[MAXPTS]; - int n, L; + int n, L; - if ( isatty(fileno(stdin)) ) { - bu_exit(1, "%s", usage ); + if (isatty(fileno(stdin))) { + bu_exit(1, "%s", usage); } - while ( argc > 1 ) { - if ( BU_STR_EQUAL(argv[1], "-v") ) { + while (argc > 1) { + if (BU_STR_EQUAL(argv[1], "-v")) { mode = VERT; pause_time = 0; Clear = 0; - } else if ( BU_STR_EQUAL(argv[1], "-b") ) { + } else if (BU_STR_EQUAL(argv[1], "-b")) { mode = BARS; - } else if ( BU_STR_EQUAL(argv[1], "-p") ) { + } else if (BU_STR_EQUAL(argv[1], "-p")) { pause_time = 3; - } else if ( BU_STR_EQUAL(argv[1], "-c") ) { + } else if (BU_STR_EQUAL(argv[1], "-c")) { Clear++; - } else if ( BU_STR_EQUAL(argv[1], "-H") ) { + } else if (BU_STR_EQUAL(argv[1], "-H")) { fbsize = 1024; - bu_exit(1, "%s", usage ); + bu_exit(1, "%s", usage); } else { - if (! BU_STR_EQUAL(argv[1], "-h") && ! BU_STR_EQUAL(argv[1], "-?") ) - fprintf(stderr,"Illegal option -- %s\n",argv[1]); - bu_exit(1, "%s", usage ); + if (! BU_STR_EQUAL(argv[1], "-h") && ! BU_STR_EQUAL(argv[1], "-?")) + fprintf(stderr, "Illegal option -- %s\n", argv[1]); + bu_exit(1, "%s", usage); } argc--; argv++; } - if ( (fbp = fb_open( NULL, fbsize, fbsize )) == FBIO_NULL ) { + if ((fbp = fb_open(NULL, fbsize, fbsize)) == FBIO_NULL) { bu_exit(2, "Unable to open framebuffer\n"); } L = (argc > 1) ? atoi(argv[1]) : 512; - while ( (n = fread(buf, sizeof(*buf), L, stdin)) > 0 ) { + while ((n = fread(buf, sizeof(*buf), L, stdin)) > 0) { /* XXX - width hack */ - if ( n > fb_getwidth(fbp) ) + if (n > fb_getwidth(fbp)) n = fb_getwidth(fbp); - if ( Clear ) - fb_clear( fbp, PIXEL_NULL ); - if ( mode == VERT ) - disp_inten( buf, n ); - else if ( mode == BARS ) - disp_bars( buf, n ); + if (Clear) + fb_clear(fbp, PIXEL_NULL); + if (mode == VERT) + disp_inten(buf, n); + else if (mode == BARS) + disp_bars(buf, n); else - lineout( buf, n ); - if ( pause_time ) - sleep( pause_time ); + lineout(buf, n); + if (pause_time) + sleep(pause_time); } fb_close(fbp); return 0; } + void lineout(double *dat, int n) { - static int y = 0; - int i, value; + static int y = 0; + int i, value; RGBpixel lbuf[1024*4]; - if ( n > fb_getwidth(fbp) ) n = fb_getwidth(fbp); + if (n > fb_getwidth(fbp)) n = fb_getwidth(fbp); - for ( i = 0; i < n; i++ ) { + for (i = 0; i < n; i++) { /* Magnitude version */ value = dat[i] * 255.9; - if ( value < 0 ) value = 0; - else if ( value > 255 ) value = 255; + if (value < 0) value = 0; + else if (value > 255) value = 255; lbuf[i][RED] = lbuf[i][GRN] = lbuf[i][BLU] = value; } - fb_write( fbp, 0, y, (unsigned char *)lbuf, n ); + fb_write(fbp, 0, y, (unsigned char *)lbuf, n); /* Next screen position */ y = (y + 1) % fb_getheight(fbp); } + /* - * Display doubles. - * +/- 1.0 in, becomes +/- 128 from center Y. + * Display doubles. + * +/- 1.0 in, becomes +/- 128 from center Y. */ void disp_inten(double *buf, int size) { - int x, y; + int x, y; RGBpixel color; -/* color.red = color.green = color.blue = 255;*/ +/* color.red = color.green = color.blue = 255;*/ - if ( size > fb_getwidth(fbp) ) size = fb_getwidth(fbp); + if (size > fb_getwidth(fbp)) size = fb_getwidth(fbp); - for ( x = 0; x < size; x++ ) { + for (x = 0; x < size; x++) { y = buf[x] * 128; #ifdef OVERLAY - fb_read( fbp, x, y+255, color, 1 ); + fb_read(fbp, x, y+255, color, 1); #else color[RED] = color[BLU] = 0; #endif color[GRN] = 255; - fb_write( fbp, x, y+255, color, 1 ); + fb_write(fbp, x, y+255, color, 1); } } + /* - * Display doubles. - * +/- 1.0 in, becomes +/- 128 from center Y. + * Display doubles. + * +/- 1.0 in, becomes +/- 128 from center Y. */ void disp_bars(double *buf, int size) { - int x, y; + int x, y; RGBpixel color; -/* color.red = color.green = color.blue = 255;*/ +/* color.red = color.green = color.blue = 255;*/ - if ( size > fb_getwidth(fbp) ) size = fb_getwidth(fbp); + if (size > fb_getwidth(fbp)) size = fb_getwidth(fbp); - for ( x = 0; x < size; x++ ) { - if ( buf[x] > 1.0 ) { + for (x = 0; x < size; x++) { + if (buf[x] > 1.0) { y = 128; - } else if ( buf[x] < -1.0 ) { + } else if (buf[x] < -1.0) { y = -128; } else { y = buf[x] * 128; } #ifdef OVERLAY - fb_read( fbp, x, y+255, color, 1 ); + fb_read(fbp, x, y+255, color, 1); #else color[RED] = color[BLU] = 0; #endif color[GRN] = 255; - if ( y > 0 ) { - while ( y >= 0 ) { - fb_write( fbp, x, y+255, color, 1 ); + if (y > 0) { + while (y >= 0) { + fb_write(fbp, x, y+255, color, 1); y--; } } else { - while ( y <= 0 ) { - fb_write( fbp, x, y+255, color, 1 ); + while (y <= 0) { + fb_write(fbp, x, y+255, color, 1); y++; } } } } + #ifdef OLDANDCRUFTY /* Calculate Critical Band filter weights */ -if ( cflag ) { - cbweights( &cbfilter[0], window_size, 19 ); +if (cflag) { + cbweights(&cbfilter[0], window_size, 19); cbsum = 0.0; - for ( i = 0; i < 19; i++ ) + for (i = 0; i < 19; i++) cbsum += cbfilter[i]; } + /* * Scale 0 -> 65536 to 0 -> 100 then double it. - * (so 32767 is 100) + * (so 32767 is 100) */ -disp_mag( buf, size ) +disp_mag(buf, size) #ifdef FHT - double buf[]; +double buf[]; #else - COMPLEX buf[]; +COMPLEX buf[]; #endif - int size; +int size; { - int i, j, x; - int mag; - double value, sum; - double lin[513], logout[513]; + int i, j, x; + int mag; + double value, sum; + double lin[513], logout[513]; RGBpixel mcolor; - if ( size > 1024 ) size = 1024; + if (size > 1024) size = 1024; /* Put magnitudes in linear buffer */ -/* lin[0] = buf[0]/256.0; NO DC ON LOG SCALE! */ +/* lin[0] = buf[0]/256.0; NO DC ON LOG SCALE! */ for (i = 1; i < size/2; i++) { #ifdef FHT value = 2.0*sqrt((buf[i]*buf[i] +buf[512-i]*buf[512-i])/2.0) / 256.0; #else - value = hypot( buf[i].re, buf[i].im ); + value = hypot(buf[i].re, buf[i].im); #endif -/*printf("mag = %f, ", value );*/ - if ( value < 0.6 ) +/*printf("mag = %f, ", value);*/ + if (value < 0.6) value = 0.0; else - value = 20.0 * log10( value / 65535.0 ) + 100.0; -/*printf("value = %f\n", value );*/ + value = 20.0 * log10(value / 65535.0) + 100.0; +/*printf("value = %f\n", value);*/ lin[i-1] = value; } #ifdef FHT @@ -252,128 +257,129 @@ disp_mag( buf, size ) lin[size/2-1] = buf[size/2].re/256.0; #endif /* Interp to Log scale */ - if ( lflag ) { - LintoLog( lin, logout, size/2 ); + if (lflag) { + LintoLog(lin, logout, size/2); } else { - for ( i = 0; i < size/2; i++ ) + for (i = 0; i < size/2; i++) logout[i] = lin[i]; /* yeah, this does suck. */ } /* Critical Band Filter */ - if ( cflag ) { - for ( i = 0; i < size/2; i++ ) + if (cflag) { + for (i = 0; i < size/2; i++) lin[i] = logout[i]; /* Borrow lin */ - for ( i = 0+9; i < size/2-9; i++ ) { + for (i = 0+9; i < size/2-9; i++) { sum = 0.0; - for ( j = -9; j <= 9; j++ ) + for (j = -9; j <= 9; j++) sum += lin[i+j] * cbfilter[j+9]; logout[i] = sum / cbsum; } } /* Plot log values */ - for ( i = 0; i < size/2 + 1; i++ ) { + for (i = 0; i < size/2 + 1; i++) { mag = 2.0*logout[i] + 0.5; /* 200 point range */ - if ( size > 512 ) x = i; + if (size > 512) x = i; else x = 2*i; #ifdef OVERLAY - fb_read( fbp, x, mag+255, mcolor, 1 ); + fb_read(fbp, x, mag+255, mcolor, 1); #else mcolor[RED] = mcolor[GRN] = 0; #endif mcolor[BLU] = 255; - fb_write( fbp, x, mag+255, mcolor, 1 ); - if ( size <= 512 ) { + fb_write(fbp, x, mag+255, mcolor, 1); + if (size <= 512) { #ifdef OVERLAY - fb_read( fbp, x+1, mag+255, mcolor, 1 ); + fb_read(fbp, x+1, mag+255, mcolor, 1); #else mcolor[RED] = mcolor[GRN] = 0; #endif mcolor[BLU] = 255; - fb_write( fbp, x+1, mag+255, mcolor, 1 ); + fb_write(fbp, x+1, mag+255, mcolor, 1); } } } + /* * -PI -> PI becomes -128 -> 128 */ -disp_phase( buf, size ) +disp_phase(buf, size) #ifdef FHT - double buf[]; +double buf[]; #else - COMPLEX buf[]; +COMPLEX buf[]; #endif - int size; +int size; { - int i, x; - int mag; - double angle; + int i, x; + int mag; + double angle; RGBpixel mcolor; - if ( size > 1024 ) size = 1024; + if (size > 1024) size = 1024; #ifdef OVERLAY - fb_read( fbp, 0, 255, mcolor, 1 ); + fb_read(fbp, 0, 255, mcolor, 1); #else mcolor[GRN] = mcolor[BLU] = 0; #endif mcolor[RED] = 255; - fb_write( fbp, 0, 255, mcolor, 1 ); + fb_write(fbp, 0, 255, mcolor, 1); for (i = 1; i < size/2; i++) { #ifdef FHT - if ( fabs(buf[i]+buf[size-i]) < 0.0001 ) + if (fabs(buf[i]+buf[size-i]) < 0.0001) angle = M_PI_2; else - angle = atan( (buf[i]-buf[size-i])/ - (buf[i]+buf[size-i]) ); + angle = atan((buf[i]-buf[size-i])/ + (buf[i]+buf[size-i])); #else /* four quadrant arctan. THIS NEEDS WORK - XXX */ -/*fprintf( stderr, "%3d: (%10f,%10f) -> ", i, buf[i].re, buf[i].im );*/ - if ( fabs( buf[i].re ) < 1.0e-10 ) { +/*fprintf(stderr, "%3d: (%10f, %10f) -> ", i, buf[i].re, buf[i].im);*/ + if (fabs(buf[i].re) < 1.0e-10) { /* XXX - check for im equally small */ - if ( fabs( buf[i].im ) < 1.0e-10 ) + if (fabs(buf[i].im) < 1.0e-10) angle = 0.0; else angle = (buf[i].im > 0.0) ? M_PI_2 : -M_PI_2; } else { - angle = atan( buf[i].im / buf[i].re ); - if ( buf[i].re < 0.0 ) + angle = atan(buf[i].im / buf[i].re); + if (buf[i].re < 0.0) angle += (buf[i].im > 0.0) ? PI : -PI; } -/*fprintf( stderr, "%10f Deg\n", RtoD(angle) );*/ +/*fprintf(stderr, "%10f Deg\n", RtoD(angle));*/ #endif mag = (128.0/M_PI)*angle + 0.5; #ifdef DEBUG - printf("(%6.3f,%6.3f): angle = %7.3f (%6.2f), mag = %d\n", - buf[i].re, buf[i].im, angle, RtoD( angle ), mag ); + printf("(%6.3f, %6.3f): angle = %7.3f (%6.2f), mag = %d\n", + buf[i].re, buf[i].im, angle, RtoD(angle), mag); #endif /* DEBUG */ - if ( size > 512 ) x = i; + if (size > 512) x = i; else x = 2*i; #ifdef OVERLAY - fb_read( fbp, x, mag+255, mcolor, 1 ); + fb_read(fbp, x, mag+255, mcolor, 1); #else mcolor[GRN] = mcolor[BLU] = 0; #endif mcolor[RED] = 255; - fb_write( fbp, x, mag+255, mcolor, 1 ); - if ( size <= 512 ) { + fb_write(fbp, x, mag+255, mcolor, 1); + if (size <= 512) { #ifdef OVERLAY - fb_read( fbp, x+1, mag+255, mcolor, 1 ); + fb_read(fbp, x+1, mag+255, mcolor, 1); #else mcolor[GRN] = mcolor[BLU] = 0; #endif mcolor[RED] = 255; - fb_write( fbp, x+1, mag+255, mcolor, 1 ); + fb_write(fbp, x+1, mag+255, mcolor, 1); } } #ifdef OVERLAY - fb_read( fbp, size/2, 255, mcolor, 1 ); + fb_read(fbp, size/2, 255, mcolor, 1); #else mcolor[GRN] = mcolor[BLU] = 0; #endif mcolor[RED] = 255; - fb_write( fbp, size/2, 255, mcolor, 1 ); + fb_write(fbp, size/2, 255, mcolor, 1); } #endif /* OLDANDCRUFTY */ diff --git a/src/sig/dfft.c b/src/sig/dfft.c index 1edd3f03883..fa10b268e55 100644 --- a/src/sig/dfft.c +++ b/src/sig/dfft.c @@ -118,6 +118,7 @@ int main(int argc, char **argv) return 0; } + void fftdisp(double *dat, int N) { @@ -197,6 +198,7 @@ fftdisp(double *dat, int N) } } + void fftmag2(double *mags, double *dat, int N) { @@ -228,6 +230,7 @@ fftmag2(double *mags, double *dat, int N) } } + void fftphase(double *dat, int N) { @@ -250,6 +253,7 @@ fftphase(double *dat, int N) perror("fwrite"); } + /* * Local Variables: * mode: C diff --git a/src/sig/dmod.c b/src/sig/dmod.c index c2cd97eddac..4cb57119d99 100644 --- a/src/sig/dmod.c +++ b/src/sig/dmod.c @@ -116,8 +116,8 @@ get_args(int argc, char **argv) file_name = argv[bu_optind]; if ( (infp = fopen(file_name, "r")) == NULL ) { fprintf( stderr, - "%s: cannot open \"%s\" for reading\n", - progname,file_name ); + "%s: cannot open \"%s\" for reading\n", + progname,file_name ); return 0; } } diff --git a/src/sig/dsel.c b/src/sig/dsel.c index da914da438a..30e1ae424e6 100644 --- a/src/sig/dsel.c +++ b/src/sig/dsel.c @@ -31,66 +31,68 @@ #include "bu.h" -#define INTEGER_MAX ( ((int) ~0) >> 1 ) +#define INTEGER_MAX (((int) ~0) >> 1) static char usage[]="Usage: dsel keep ...\n or\n dsel skip keep ...\n\n(must use outputfile)\n"; -double buf[4096] = {0}; +double buf[4096] = {0}; void skip(int num) { - int n, m; + int n, m; - while ( num > 0 ) { + while (num > 0) { n = num > 1024 ? 1024 : num; - if ( (m = fread( buf, sizeof(*buf), n, stdin )) == 0 ) - exit( 0 ); + if ((m = fread(buf, sizeof(*buf), n, stdin)) == 0) + exit(0); num -= m; } } + void keep(int num) { - int n, m; + int n, m; size_t ret; - while ( num > 0 ) { + while (num > 0) { n = num > 1024 ? 1024 : num; - if ( (m = fread( buf, sizeof(*buf), n, stdin )) == 0 ) - exit( 0 ); - ret = fwrite( buf, sizeof(*buf), m, stdout ); + if ((m = fread(buf, sizeof(*buf), n, stdin)) == 0) + exit(0); + ret = fwrite(buf, sizeof(*buf), m, stdout); if (ret != (size_t)m) perror("fwrite"); num -= n; } } + int main(int argc, char **argv) { - int nskip; /* number to skip */ - int nkeep; /* number to keep */ + int nskip; /* number to skip */ + int nkeep; /* number to keep */ - if ( isatty(fileno(stdin)) || isatty(fileno(stdout)) ) - bu_exit(1, "%s",usage); - if ( BU_STR_EQUAL( argv[1], "-h" ) || BU_STR_EQUAL( argv[1], "-?" ) ) - bu_exit(1, "%s",usage); + if (isatty(fileno(stdin)) || isatty(fileno(stdout))) + bu_exit(1, "%s", usage); + if (BU_STR_EQUAL(argv[1], "-h") || BU_STR_EQUAL(argv[1], "-?")) + bu_exit(1, "%s", usage); - if ( argc == 2 ) { - keep( atoi(argv[1]) ); - exit( 0 ); + if (argc == 2) { + keep(atoi(argv[1])); + exit(0); } - while ( argc > 1 ) { + while (argc > 1) { nskip = atoi(argv[1]); argc--; argv++; - if ( nskip > 0 ) - skip( nskip ); + if (nskip > 0) + skip(nskip); - if ( argc > 1 ) { + if (argc > 1) { nkeep = atoi(argv[1]); argc--; argv++; @@ -98,9 +100,9 @@ int main(int argc, char **argv) nkeep = INTEGER_MAX; } - if ( nkeep <= 0 ) - exit( 0 ); - keep( nkeep ); + if (nkeep <= 0) + exit(0); + keep(nkeep); } return 0; } diff --git a/src/sig/dstats.c b/src/sig/dstats.c index 127b5e5ba34..c215302cbc8 100644 --- a/src/sig/dstats.c +++ b/src/sig/dstats.c @@ -113,6 +113,7 @@ int main(int ac, char *av[]) return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/dwin.c b/src/sig/dwin.c index 15f5f7bc21e..4ca447bbb02 100644 --- a/src/sig/dwin.c +++ b/src/sig/dwin.c @@ -19,8 +19,8 @@ */ /** @file dwin.c * - * Extract sliding windows of double values. - * Apply window functions if desired. + * Extract sliding windows of double values. + * Apply window functions if desired. * */ @@ -37,34 +37,34 @@ /* * Buffering stuff */ -#define BSIZE 16*1024 /* Must be AT LEAST 2*Points in spectrum */ -double buf[BSIZE]; /* input data buffer */ -double temp[BSIZE]; /* windowed data buffer */ -int input_sample = 0; /* The *next* input sample ("file pointer") */ - -int buf_start = 0; /* sample number in buf[0] */ -int buf_num = 0; /* number of samples currently in buffer */ -int buf_index = 0; /* buffer offset for current window */ - -int xform_start = 0; /* current window start/end */ -int xform_end = 0; - -#define START_IN_BUFFER (xform_start < buf_start+buf_num) -#define END_NOT_IN_BUFFER (xform_end >= buf_start+buf_num) - -int window = 0; -int hamming = 0; -int bias = 0; -int bartlett = 0; -static int endwin = 0; -int midwin = 0; - -void fill_buffer(void); -void seek_sample(int n); -void biaswin(double *data, int L); -void bartwin(double *data, int L); -void hamwin(double *data, int length); -void coswin(double *data, int length, double percent); +#define BSIZE 16*1024 /* Must be AT LEAST 2*Points in spectrum */ +double buf[BSIZE]; /* input data buffer */ +double temp[BSIZE]; /* windowed data buffer */ +int input_sample = 0; /* The *next* input sample ("file pointer") */ + +int buf_start = 0; /* sample number in buf[0] */ +int buf_num = 0; /* number of samples currently in buffer */ +int buf_index = 0; /* buffer offset for current window */ + +int xform_start = 0; /* current window start/end */ +int xform_end = 0; + +#define START_IN_BUFFER (xform_start < buf_start+buf_num) +#define END_NOT_IN_BUFFER (xform_end >= buf_start+buf_num) + +int window = 0; +int hamming = 0; +int bias = 0; +int bartlett = 0; +static int endwin = 0; +int midwin = 0; + +void fill_buffer(void); +void seek_sample(int n); +void biaswin(double *data, int L); +void bartwin(double *data, int L); +void hamwin(double *data, int length); +void coswin(double *data, int length, double percent); static const char usage[] = "\ Usage: dwin [options] [width (1024)] [step (width)] [start]\n\ @@ -78,28 +78,28 @@ Usage: dwin [options] [width (1024)] [step (width)] [start]\n\ int main(int argc, char **argv) { - int L, step; + int L, step; size_t ret; - if ( isatty(fileno(stdin)) || isatty(fileno(stdout)) ) { - bu_exit(1, "%s", usage ); + if (isatty(fileno(stdin)) || isatty(fileno(stdout))) { + bu_exit(1, "%s", usage); } - while ( argc > 1 ) { - if ( BU_STR_EQUAL(argv[1], "-w") ) { + while (argc > 1) { + if (BU_STR_EQUAL(argv[1], "-w")) { window++; - } else if ( BU_STR_EQUAL(argv[1], "-h") ) { + } else if (BU_STR_EQUAL(argv[1], "-h")) { window++; hamming++; - } else if ( BU_STR_EQUAL(argv[1], "-B") ) { + } else if (BU_STR_EQUAL(argv[1], "-B")) { window++; bias++; - } else if ( BU_STR_EQUAL(argv[1], "-b") ) { + } else if (BU_STR_EQUAL(argv[1], "-b")) { window++; bartlett++; - } else if ( BU_STR_EQUAL(argv[1], "-e") ) { + } else if (BU_STR_EQUAL(argv[1], "-e")) { endwin++; - } else if ( BU_STR_EQUAL(argv[1], "-m") ) { + } else if (BU_STR_EQUAL(argv[1], "-m")) { midwin++; } else break; @@ -108,10 +108,10 @@ int main(int argc, char **argv) } L = (argc > 1) ? atoi(argv[1]) : 1024; - if ( argc > 2 ) { - double f; + if (argc > 2) { + double f; f = atof(argv[2]); - if ( f < 1.0 ) + if (f < 1.0) step = f * L; else step = f; @@ -119,9 +119,9 @@ int main(int argc, char **argv) step = L; /* compute xform start/end */ - if ( endwin ) + if (endwin) xform_start = -L + 1; /* one sample at end */ - else if ( midwin ) + else if (midwin) xform_start = -L/2; /* odd - center, even - just after */ else xform_start = 0; @@ -133,14 +133,14 @@ int main(int argc, char **argv) buf_num = BSIZE; buf_index = 0; - while ( !feof( stdin ) ) { + while (!feof(stdin)) { #ifdef DEBUG - fprintf(stderr, "\nWant to xform [%d %d]\n", xform_start, xform_end ); - fprintf(stderr, "Buffer contains %d samples, from [%d (%d)]\n", buf_num, buf_start, buf_start+buf_num-1 ); + fprintf(stderr, "\nWant to xform [%d %d]\n", xform_start, xform_end); + fprintf(stderr, "Buffer contains %d samples, from [%d (%d)]\n", buf_num, buf_start, buf_start+buf_num-1); #endif /* DEBUG */ - if ( START_IN_BUFFER ) { + if (START_IN_BUFFER) { buf_index = xform_start - buf_start; - if ( END_NOT_IN_BUFFER ) { + if (END_NOT_IN_BUFFER) { #ifdef DEBUG fprintf(stderr, "\tend isn't in buffer.\n"); #endif /* DEBUG */ @@ -155,32 +155,32 @@ int main(int argc, char **argv) #ifdef DEBUG fprintf(stderr, "\tstart isn't in buffer.\n"); #endif /* DEBUG */ - if ( input_sample != xform_start ) - seek_sample( xform_start ); + if (input_sample != xform_start) + seek_sample(xform_start); buf_start = xform_start; buf_num = 0; buf_index = 0; fill_buffer(); - if ( feof( stdin ) ) + if (feof(stdin)) break; } #ifdef DEBUG - fprintf(stderr, "Did samples %d to %d (buf_index = %d)\n", xform_start, xform_end, buf_index ); + fprintf(stderr, "Did samples %d to %d (buf_index = %d)\n", xform_start, xform_end, buf_index); #endif /* DEBUG */ - if ( window ) { + if (window) { memcpy(temp, &buf[buf_index], L*sizeof(*temp)); - if ( hamming ) - hamwin( temp, L ); /* Hamming window */ - else if ( bartlett ) - bartwin( temp, L ); /* Bartlett window */ - else if ( bias ) - biaswin( temp, L ); /* Bias window */ + if (hamming) + hamwin(temp, L); /* Hamming window */ + else if (bartlett) + bartwin(temp, L); /* Bartlett window */ + else if (bias) + biaswin(temp, L); /* Bias window */ else - coswin( temp, L, 0.80 ); /* 80% cosine window */ - ret = fwrite( temp, sizeof(*temp), L, stdout ); + coswin(temp, L, 0.80); /* 80% cosine window */ + ret = fwrite(temp, sizeof(*temp), L, stdout); } else { - ret = fwrite( &buf[buf_index], sizeof(*buf), L, stdout ); + ret = fwrite(&buf[buf_index], sizeof(*buf), L, stdout); } if (ret != (size_t)L) perror("fwrite"); @@ -193,6 +193,7 @@ int main(int argc, char **argv) return 0; } + /* * Move input pointer to sample n. * Since we may be reading from a pipe, we actually @@ -202,66 +203,69 @@ int main(int argc, char **argv) void seek_sample(int n) { - double foo; + double foo; size_t ret; - fprintf(stderr, "seeking sample %d\n", n ); - while ( input_sample < n ) { - ret = fread( &foo, sizeof(foo), 1, stdin ); + fprintf(stderr, "seeking sample %d\n", n); + while (input_sample < n) { + ret = fread(&foo, sizeof(foo), 1, stdin); if (ret != 1) perror("fread"); input_sample++; } } + /* * Fill the data buffer from the current input location. */ void fill_buffer(void) { - int n, num_to_read; + int n, num_to_read; num_to_read = BSIZE - buf_num; #ifdef DEBUG fprintf(stderr, "fillbuffer: buf_start = %d, buf_num = %d, numtoread = %d, buf_index = %d\n", - buf_start, buf_num, num_to_read, buf_index ); + buf_start, buf_num, num_to_read, buf_index); #endif /* DEBUG */ - n = fread( &buf[buf_num], sizeof(*buf), num_to_read, stdin ); - if ( n == 0 ) { - /*fprintf( stderr, "EOF\n" );*/ + n = fread(&buf[buf_num], sizeof(*buf), num_to_read, stdin); + if (n == 0) { + /*fprintf(stderr, "EOF\n");*/ memset((char *)&buf[buf_num], 0, sizeof(*buf)*num_to_read); return; } input_sample += n; buf_num += n; - if ( n < num_to_read ) { + if (n < num_to_read) { memset((char *)&buf[buf_num], 0, sizeof(*buf)*(num_to_read-n)); clearerr(stdin); /* XXX HACK */ } #ifdef DEBUG - fprintf(stderr, "filled buffer now has %d samples, [%d (%d)]. Input at %d\n", buf_num, buf_start, buf_start+buf_num-1, input_sample ); + fprintf(stderr, "filled buffer now has %d samples, [%d (%d)]. Input at %d\n", buf_num, buf_start, buf_start+buf_num-1, input_sample); #endif /* DEBUG */ } + /* Bias window (half triangle) */ void biaswin(double *data, int L) { - int i; + int i; for (i = 0; i < L; i++) { data[i] *= (double)(L-i)/(double)L; } } + /* Bartlett window (triangle) */ void bartwin(double *data, int L) { - int i; + int i; for (i = 0; i < L/2; i++) { data[i] *= (double)i/(L/2.0); @@ -271,6 +275,7 @@ bartwin(double *data, int L) } } + /* * Local Variables: * mode: C diff --git a/src/sig/f-d.c b/src/sig/f-d.c index 2ac7004863c..de055b05991 100644 --- a/src/sig/f-d.c +++ b/src/sig/f-d.c @@ -19,7 +19,7 @@ */ /** @file f-d.c * - * Convert floats to doubles. + * Convert floats to doubles. * * % f-d [-n || scale] * @@ -39,40 +39,40 @@ #include "vmath.h" -float ibuf[512]; -double obuf[512]; +float ibuf[512]; +double obuf[512]; int main(int argc, char **argv) { - int i, num; - double scale; + int i, num; + double scale; size_t ret; scale = 1.0; - if ( argc > 1 ) { - if ( BU_STR_EQUAL( argv[1], "-n" ) ) + if (argc > 1) { + if (BU_STR_EQUAL(argv[1], "-n")) scale = 1.0; else - scale = atof( argv[1] ); + scale = atof(argv[1]); argc--; } - if ( argc > 1 || ZERO(scale) || isatty(fileno(stdin)) || isatty(fileno(stdout)) ) { + if (argc > 1 || ZERO(scale) || isatty(fileno(stdin)) || isatty(fileno(stdout))) { bu_exit(1, "Usage: f-d [-n || scale] < floats > doubles\n"); } - while ( (num = fread( &ibuf[0], sizeof( ibuf[0] ), 512, stdin)) > 0 ) { - if ( !EQUAL(scale, 1.0) ) { - for ( i = 0; i < num; i++ ) + while ((num = fread(&ibuf[0], sizeof(ibuf[0]), 512, stdin)) > 0) { + if (!EQUAL(scale, 1.0)) { + for (i = 0; i < num; i++) obuf[i] = ibuf[i] * scale; } else { - for ( i = 0; i < num; i++ ) + for (i = 0; i < num; i++) obuf[i] = ibuf[i]; } - ret = fwrite( &obuf[0], sizeof( obuf[0] ), num, stdout ); + ret = fwrite(&obuf[0], sizeof(obuf[0]), num, stdout); if (ret != (size_t)num) perror("fwrite"); } @@ -80,6 +80,7 @@ int main(int argc, char **argv) return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/f-i.c b/src/sig/f-i.c index eba480ae6e2..3df683c525a 100644 --- a/src/sig/f-i.c +++ b/src/sig/f-i.c @@ -19,7 +19,7 @@ */ /** @file f-i.c * - * Convert floats to 16bit ints + * Convert floats to 16bit ints * * % f-i [-n || scale] * @@ -39,59 +39,60 @@ #include "vmath.h" -float ibuf[512]; -short obuf[512]; +float ibuf[512]; +short obuf[512]; int main(int argc, char **argv) { - int i, num; - double scale; - double value; - int clip_high, clip_low; + int i, num; + double scale; + double value; + int clip_high, clip_low; size_t ret; scale = 1.0; - if ( argc > 1 ) { - if ( BU_STR_EQUAL( argv[1], "-n" ) ) + if (argc > 1) { + if (BU_STR_EQUAL(argv[1], "-n")) scale = 32767.0; else - scale = atof( argv[1] ); + scale = atof(argv[1]); argc--; } - if ( argc > 1 || ZERO(scale) || isatty(fileno(stdin)) ) { - bu_exit( 1, "Usage: f-i [-n || scale] < floats > shorts\n" ); + if (argc > 1 || ZERO(scale) || isatty(fileno(stdin))) { + bu_exit(1, "Usage: f-i [-n || scale] < floats > shorts\n"); } clip_high = clip_low = 0; - while ( (num = fread( &ibuf[0], sizeof( ibuf[0] ), 512, stdin)) > 0 ) { - for ( i = 0; i < num; i++ ) { + while ((num = fread(&ibuf[0], sizeof(ibuf[0]), 512, stdin)) > 0) { + for (i = 0; i < num; i++) { value = ibuf[i] * scale; - if ( value > 32767.0 ) { + if (value > 32767.0) { obuf[i] = 32767; clip_high++; - } else if ( value < -32768.0 ) { + } else if (value < -32768.0) { obuf[i] = -32768; clip_low++; } else obuf[i] = (int)value; } - ret = fwrite( &obuf[0], sizeof( obuf[0] ), num, stdout ); + ret = fwrite(&obuf[0], sizeof(obuf[0]), num, stdout); if (ret != (size_t)num) perror("fwrite"); } - if ( clip_low != 0 || clip_high != 0 ) - fprintf( stderr, "Warning: Clipped %d high, %d low\n", - clip_high, clip_low ); + if (clip_low != 0 || clip_high != 0) + fprintf(stderr, "Warning: Clipped %d high, %d low\n", + clip_high, clip_low); return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/fhor.c b/src/sig/fhor.c index f2d1e94c07d..47f581f6bff 100644 --- a/src/sig/fhor.c +++ b/src/sig/fhor.c @@ -22,8 +22,8 @@ * * The terminology throughout is X across, Y up, Z toward you. * - * Ref: "Procedural Elements for Computer Graphics," - * D. F. Rogers. + * Ref: "Procedural Elements for Computer Graphics, " + * D. F. Rogers. */ #include "common.h" @@ -35,51 +35,52 @@ #include "fb.h" -#define MYMETHOD on +#define MYMETHOD on -#define MAX(x, y) (((x)>(y))?(x):(y)) -#define MIN(x, y) (((x)<(y))?(x):(y)) +#define MAX(x, y) (((x)>(y))?(x):(y)) +#define MIN(x, y) (((x)<(y))?(x):(y)) -#define HSCREEN 1024 /* Max Horizontal screen resolution */ -#define VSCREEN 1024 /* Max Vertical screen resolution */ +#define HSCREEN 1024 /* Max Horizontal screen resolution */ +#define VSCREEN 1024 /* Max Vertical screen resolution */ -#define INVISIBLE 0 -#define ABOVE 1 -#define BELOW -1 +#define INVISIBLE 0 +#define ABOVE 1 +#define BELOW -1 /* Max and Min horizon holders */ -static int upper[HSCREEN], lower[HSCREEN]; +static int upper[HSCREEN], lower[HSCREEN]; -FBIO *fbp; /* XXX - debug */ +FBIO *fbp; /* XXX - debug */ -void Efill(void); -void Horizon(int sx1, int sy1, int sx2, int sy2); -void Intersect(int sx1, int sy1, int x2, int y2, int *hor, int *xi, int *yi); -void Draw(int sx1, int sy1, int x2, int y2); -int fhvis(int x, int y); -int sign(int i); +void Efill(void); +void Horizon(int sx1, int sy1, int sx2, int sy2); +void Intersect(int sx1, int sy1, int x2, int y2, int *hor, int *xi, int *yi); +void Draw(int sx1, int sy1, int x2, int y2); +int fhvis(int x, int y); +int sign(int i); void fhinit(void) { - int i; + int i; /* Set initial horizons */ - for ( i = 0; i < HSCREEN; i++ ) { + for (i = 0; i < HSCREEN; i++) { upper[ i ] = 0; lower[ i ] = VSCREEN; } } + /* * Add another Z cut to the display. - * This one goes "behind" the last one. + * This one goes "behind" the last one. */ void fhnewz(int *f, int num) { - int x, y, Xprev, Yprev, Xi, Yi; - int Previously, Currently; + int x, y, Xprev, Yprev, Xi, Yi; + int Previously, Currently; /* Init previous X and Y values */ Xprev = Yi = Xi = y = x = 0; @@ -87,25 +88,25 @@ fhnewz(int *f, int num) /* VIEWING XFORM */ /* Fill left side */ - Efill( ); -/* Previously = fhvis( x, y ); <<< WHAT ARE X AND Y? */ - Previously = fhvis( Xprev, Yprev ); /* <<< WHAT ARE X AND Y? */ + Efill(); +/* Previously = fhvis(x, y); <<< WHAT ARE X AND Y? */ + Previously = fhvis(Xprev, Yprev); /* <<< WHAT ARE X AND Y? */ /* Do each point in Z plane */ - for ( x = 0; x < num; x++ ) { + for (x = 0; x < num; x++) { y = f[x]; /* VIEWING XFORM */ /* Check visibility and fill horizon */ - Currently = fhvis( x, y ); - if ( Currently == Previously ) { - if ( Currently != INVISIBLE ) { + Currently = fhvis(x, y); + if (Currently == Previously) { + if (Currently != INVISIBLE) { /* * Current and Previous point both - * visible on same side of horizon. + * visible on same side of horizon. */ - Draw( Xprev, Yprev, x, y ); - Horizon( Xprev, Yprev, x, y ); + Draw(Xprev, Yprev, x, y); + Horizon(Xprev, Yprev, x, y); } /* else both invisible */ } else { @@ -113,45 +114,45 @@ fhnewz(int *f, int num) * Visibility has changed. * Calculate intersection and fill horizon. */ - switch ( Currently ) { + switch (Currently) { case INVISIBLE: - if ( Previously == ABOVE ) - Intersect( Xprev, Yprev, x, y, upper, &Xi, &Yi ); + if (Previously == ABOVE) + Intersect(Xprev, Yprev, x, y, upper, &Xi, &Yi); else /* previously BELOW */ - Intersect( Xprev, Yprev, x, y, lower, &Xi, &Yi ); - Draw( Xprev, Yprev, Xi, Yi ); - Horizon( Xprev, Yprev, Xi, Yi ); + Intersect(Xprev, Yprev, x, y, lower, &Xi, &Yi); + Draw(Xprev, Yprev, Xi, Yi); + Horizon(Xprev, Yprev, Xi, Yi); break; case ABOVE: - if ( Previously == INVISIBLE ) { - Intersect( Xprev, Yprev, x, y, lower, &Xi, &Yi ); - Draw( Xi, Yi, x, y ); - Horizon( Xi, Yi, x, y ); + if (Previously == INVISIBLE) { + Intersect(Xprev, Yprev, x, y, lower, &Xi, &Yi); + Draw(Xi, Yi, x, y); + Horizon(Xi, Yi, x, y); } else { /* previously BELOW */ - Intersect( Xprev, Yprev, x, y, lower, &Xi, &Yi ); - Draw( Xprev, Yprev, Xi, Yi ); - Horizon( Xprev, Yprev, Xi, Yi ); - Intersect( Xprev, Yprev, x, y, upper, &Xi, &Yi ); - Draw( Xi, Yi, x, y ); - Horizon( Xi, Yi, x, y ); + Intersect(Xprev, Yprev, x, y, lower, &Xi, &Yi); + Draw(Xprev, Yprev, Xi, Yi); + Horizon(Xprev, Yprev, Xi, Yi); + Intersect(Xprev, Yprev, x, y, upper, &Xi, &Yi); + Draw(Xi, Yi, x, y); + Horizon(Xi, Yi, x, y); } break; case BELOW: - if ( Previously == INVISIBLE ) { - Intersect( Xprev, Yprev, x, y, lower, &Xi, &Yi ); - Draw( Xi, Yi, x, y ); - Horizon( Xi, Yi, x, y ); + if (Previously == INVISIBLE) { + Intersect(Xprev, Yprev, x, y, lower, &Xi, &Yi); + Draw(Xi, Yi, x, y); + Horizon(Xi, Yi, x, y); } else { /* previously ABOVE */ - Intersect( Xprev, Yprev, x, y, upper, &Xi, &Yi ); - Draw( Xprev, Yprev, Xi, Yi ); - Horizon( Xprev, Yprev, Xi, Yi ); - Intersect( Xprev, Yprev, x, y, lower, &Xi, &Yi ); - Draw( Xi, Yi, x, y ); - Horizon( Xi, Yi, x, y ); + Intersect(Xprev, Yprev, x, y, upper, &Xi, &Yi); + Draw(Xprev, Yprev, Xi, Yi); + Horizon(Xprev, Yprev, Xi, Yi); + Intersect(Xprev, Yprev, x, y, lower, &Xi, &Yi); + Draw(Xi, Yi, x, y); + Horizon(Xi, Yi, x, y); } break; } @@ -166,30 +167,32 @@ fhnewz(int *f, int num) } /* Fill Right Side */ - Efill( ); + Efill(); } + /* * INTERNAL Visibility routine. - * Answers, Is Y visible at point X? + * Answers, Is Y visible at point X? * * Returns: 0 if invisible - * 1 if visible above upper horizon. - * -1 if visible below lower horizon. + * 1 if visible above upper horizon. + * -1 if visible below lower horizon. */ int fhvis(int x, int y) { /* See if hidden behind horizons */ - if ( y < upper[x] && y > lower[x] ) + if (y < upper[x] && y > lower[x]) return INVISIBLE; - if ( y >= upper[x] ) + if (y >= upper[x]) return ABOVE; return BELOW; } + /* * INTERNAL Edge fill routine. * NOT DONE YET. @@ -199,6 +202,7 @@ Efill(void) { } + /* * Fill the upper and lower horizon arrays from x_1 to x_2 * with a line spanning (x_1, y_1) to (x_2, y_2). @@ -206,40 +210,41 @@ Efill(void) void Horizon(int x_1, int y_1, int x_2, int y_2) { - int xinc, x, y; - double slope; + int xinc, x, y; + double slope; - xinc = sign( x_2 - x_1 ); - if ( xinc == 0 ) { + xinc = sign(x_2 - x_1); + if (xinc == 0) { /* Vertical line */ - upper[x_2] = MAX( upper[x_2], y_2 ); - lower[x_2] = MIN( lower[x_2], y_2 ); + upper[x_2] = MAX(upper[x_2], y_2); + lower[x_2] = MIN(lower[x_2], y_2); } else { slope = (y_2 - y_1) / (x_2 - x_1); - for ( x = x_1; x <= x_2; x += xinc ) { + for (x = x_1; x <= x_2; x += xinc) { y = slope * (x - x_1) + y_1; - upper[x] = MAX( upper[x], y ); - lower[x] = MIN( lower[x], y ); + upper[x] = MAX(upper[x], y); + lower[x] = MIN(lower[x], y); } } } + /* * Find the intersection (xi, yi) between the line (x_1, y_1)->(x_2, y_2) - * and the horizon hor[]. + * and the horizon hor[]. */ void Intersect(int x_1, int y_1, int x_2, int y_2, int *hor, int *xi, int *yi) { - int xinc, ysign; - int slope; + int xinc, ysign; + int slope; /* - printf("Intersect( (%3d,%3d)->(%3d,%3d) & (%3d,%3d)->(%3d,%3d) ) = ", x_1, y_1, x_2, y_2, x_1, hor[x_1], x_2, hor[x_2] ); - fflush( stdout ); + printf("Intersect((%3d, %3d)->(%3d, %3d) & (%3d, %3d)->(%3d, %3d)) = ", x_1, y_1, x_2, y_2, x_1, hor[x_1], x_2, hor[x_2]); + fflush(stdout); */ - xinc = sign( x_2 - x_1 ); - if ( xinc == 0 ) { + xinc = sign(x_2 - x_1); + if (xinc == 0) { /* Vertical line */ *xi = x_2; *yi = hor[x_2]; @@ -247,63 +252,65 @@ Intersect(int x_1, int y_1, int x_2, int y_2, int *hor, int *xi, int *yi) } else { #ifdef FOOBARBAZ denom = (hor[x_2]-hor[x_1])-(y_2-y_1); - if ( denom == 0 ) { + if (denom == 0) { /* same line! */ *xi = x_1; } else *xi = x_1 + ((x_2-x_1)*(hor[x_1]-y_1))/denom; *yi = y_1 + (*xi-x_1)*((y_2-y_1)/(x_2-x_1)) + 0.5; -/*printf("(%3d,%3d)\n", *xi, *yi );*/ +/*printf("(%3d, %3d)\n", *xi, *yi);*/ return; #endif /* FOOBARBAZ */ slope = (y_2 - y_1) / (x_2 - x_1); - ysign = sign( y_1 - hor[x_1 + xinc] ); + ysign = sign(y_1 - hor[x_1 + xinc]); #ifdef MYMETHOD - for ( *xi = x_1; *xi <= x_2; *xi += xinc ) { + for (*xi = x_1; *xi <= x_2; *xi += xinc) { *yi = y_1 + (*xi-x_1)*slope; /* XXX */ - if ( sign( *yi - hor[*xi + xinc] ) != ysign ) + if (sign(*yi - hor[*xi + xinc]) != ysign) break; } - if ( xinc == 1 && *xi > x_2 ) *xi = x_2; - if ( xinc == -1 && *xi < x_2 ) *xi = x_2; + if (xinc == 1 && *xi > x_2) *xi = x_2; + if (xinc == -1 && *xi < x_2) *xi = x_2; #else *yi = y_1; *xi = x_1; - while ( sign( *yi - hor[*xi + xinc] ) == ysign ) { - for ( *xi = x_1; *xi <= x_2; *xi += xinc ) + while (sign(*yi - hor[*xi + xinc]) == ysign) { + for (*xi = x_1; *xi <= x_2; *xi += xinc) *yi = *yi + slope; /* XXX */ -/*printf("[%3d,%3d]", *xi, *yi );*/ +/*printf("[%3d, %3d]", *xi, *yi);*/ } *xi = *xi + xinc; #endif /* MYMETHOD */ } -/*printf("(%3d,%3d)\n", *xi, *yi );*/ +/*printf("(%3d, %3d)\n", *xi, *yi);*/ } + int sign(int i) { - if ( i > 0 ) + if (i > 0) return 1; - else if ( i < 0 ) + else if (i < 0) return -1; else return 0; } + /* * DRAW - plot a line from (x_1, y_1) to (x_2, y_2) - * An integer Bresenham algorithm for any quadrant. + * An integer Bresenham algorithm for any quadrant. */ void Draw(int x_1, int y_1, int x_2, int y_2) { - int x, y, deltx, delty, error, i; - int temp, s1, s2, interchange; - static RGBpixel white = { 255, 255, 255 }; /* XXX - debug */ + int x, y, deltx, delty, error, i; + int temp, s1, s2, interchange; + static RGBpixel white = { 255, 255, 255 }; /* XXX - debug */ -/*printf("Draw (%d %d) -> (%d %d)\n", x_1, y_1, x_2, y_2 );*/ +/*printf("Draw (%d %d) -> (%d %d)\n", x_1, y_1, x_2, y_2);*/ x = x_1; y = y_1; deltx = (x_2 > x_1 ? x_2 - x_1 : x_1 - x_2); @@ -312,7 +319,7 @@ Draw(int x_1, int y_1, int x_2, int y_2) s2 = sign(y_2 - y_1); /* check for swap of deltx and delty */ - if ( delty > deltx ) { + if (delty > deltx) { temp = deltx; deltx = delty; delty = temp; @@ -323,18 +330,18 @@ Draw(int x_1, int y_1, int x_2, int y_2) /* init error term */ error = 2 * delty - deltx; - for ( i = 0; i < deltx; i++ ) { -/* plotxy( x, y );*/ -/* printf( "(%3d,%3d)\n", x, y );*/ - fb_write( fbp, x, y, white, 1 ); - while ( error >= 0 ) { - if ( interchange == 1 ) + for (i = 0; i < deltx; i++) { +/* plotxy(x, y);*/ +/* printf("(%3d, %3d)\n", x, y);*/ + fb_write(fbp, x, y, white, 1); + while (error >= 0) { + if (interchange == 1) x += s1; else y += s2; error -= 2 * deltx; } - if ( interchange == 1 ) + if (interchange == 1) y += s2; else x += s1; @@ -342,29 +349,30 @@ Draw(int x_1, int y_1, int x_2, int y_2) } } + #ifdef SOMBRERO int main() { - int f[500]; - int x, y, z; - double r; + int f[500]; + int x, y, z; + double r; fhinit(); - fbp = fb_open( NULL, 512, 512 ); - fb_clear( fbp, PIXEL_NULL ); + fbp = fb_open(NULL, 512, 512); + fb_clear(fbp, PIXEL_NULL); /* Nearest to Farthest */ - for ( z = 500; z > 0; z-- ) { + for (z = 500; z > 0; z--) { /* Left to Right */ - for ( x = 0; x < 500; x++ ) { + for (x = 0; x < 500; x++) { r = (x - 250) * (x - 250) + (z - 250) * (z - 250); - r = 0.10*sqrt( r ) + 0.00001; - y = 250.0 * sin( r ) / r + 100.0 + (500-z)/3; + r = 0.10*sqrt(r) + 0.00001; + y = 250.0 * sin(r) / r + 100.0 + (500-z)/3; f[x] = y; -/* printf( "f[%3d] = %d\n", x, y );*/ +/* printf("f[%3d] = %d\n", x, y);*/ } - fhnewz( f, 500 ); + fhnewz(f, 500); } return 0; @@ -376,57 +384,58 @@ Usage: fhor [width] < doubles\n"; int main(int argc, char **argv) { - double inbuf[512]; - int f[512]; - int i, x, z; - int size = 512; + double inbuf[512]; + int f[512]; + int i, x, z; + int size = 512; - if ( argc > 1 ) { - size = atoi( argv[1] ); + if (argc > 1) { + size = atoi(argv[1]); if (size < 0) size = 0; if (size > INT_MAX-1) size = INT_MAX-1; } - if ( isatty(fileno(stdin)) ) { - bu_exit(1, "%s", usage ); + if (isatty(fileno(stdin))) { + bu_exit(1, "%s", usage); } fhinit(); - fbp = fb_open( NULL, 0, 0 ); - fb_clear( fbp, PIXEL_NULL ); + fbp = fb_open(NULL, 0, 0); + fb_clear(fbp, PIXEL_NULL); memset((char *)f, 0, 512*sizeof(*f)); - fhnewz( f, 512 ); + fhnewz(f, 512); /* - * Nearest to Farthest - * Here we reverse the sense of Z - * (it now goes into the screen). + * Nearest to Farthest + * Here we reverse the sense of Z + * (it now goes into the screen). */ z = 0; - while ( fread( inbuf, sizeof(*inbuf), size, stdin ) != 0 ) { + while (fread(inbuf, sizeof(*inbuf), size, stdin) != 0) { /* Left to Right */ /*memset((char *)f, 0, 512*sizeof(*f));*/ - for ( i = 0; i < 512; i++ ) { + for (i = 0; i < 512; i++) { f[i] = 4*z; /* up 4 for every z back */ } - for ( i = 0; i < size; i++ ) { + for (i = 0; i < size; i++) { x = i + 2*z; /* right 2 for every z back */ - if ( x >= 0 && x < 512 ) { + if (x >= 0 && x < 512) { f[x] += 128 * inbuf[i]; } - /*printf( "f[%3d] = %d\n", x, y );*/ + /*printf("f[%3d] = %d\n", x, y);*/ } - fhnewz( f, 512 ); + fhnewz(f, 512); z++; } return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/hamwin.c b/src/sig/hamwin.c index af473b198b4..07290a27570 100644 --- a/src/sig/hamwin.c +++ b/src/sig/hamwin.c @@ -19,8 +19,8 @@ */ /** @file hamwin.c * - * Apply a Hamming Window to the given samples. - * Precomputes the window function. + * Apply a Hamming Window to the given samples. + * Precomputes the window function. */ #include "common.h" @@ -33,73 +33,75 @@ #include "vmath.h" #include "bn.h" -int init_hamwintab( int size ); +int init_hamwintab(int size); -static int _init_length = 0; /* Internal: last initialized size */ -static int maxinitlen = 0; -static double *hamwintab = NULL; +static int _init_length = 0; /* Internal: last initialized size */ +static int maxinitlen = 0; +static double *hamwintab = NULL; void hamwin(double *data, int length) { - int i; + int i; /* Check for window table initialization */ - if ( length != _init_length ) { - if ( init_hamwintab( length ) == 0 ) { + if (length != _init_length) { + if (init_hamwintab(length) == 0) { /* Can't do requested size */ return; } } /* Do window - could use pointers here... */ - for ( i = 0; i < length; i++ ) { + for (i = 0; i < length; i++) { data[i] *= hamwintab[i]; } } + /* * Complex Data Version. */ void chamwin(bn_complex_t *data, int length) { - int i; + int i; /* Check for window table initialization */ - if ( length != _init_length ) { - if ( init_hamwintab( length ) == 0 ) { + if (length != _init_length) { + if (init_hamwintab(length) == 0) { /* Can't do requested size */ return; } } /* Do window - could use pointers here... */ - for ( i = 0; i < length; i++ ) { + for (i = 0; i < length; i++) { data[i].re *= hamwintab[i]; } } + /* - * I N I T _ H A M W I N T A B + * I N I T _ H A M W I N T A B * - * Internal routine to initialize the hamming window table - * of a given length. - * Returns zero on failure. + * Internal routine to initialize the hamming window table + * of a given length. + * Returns zero on failure. */ int init_hamwintab(int size) { - int i; - double theta; + int i; + double theta; - if ( size > maxinitlen ) { - if ( hamwintab != NULL ) { - free( hamwintab ); + if (size > maxinitlen) { + if (hamwintab != NULL) { + free(hamwintab); maxinitlen = 0; } - if ( (hamwintab = (double *)malloc(size*sizeof(double))) == NULL ) { - fprintf( stderr, "coswin: couldn't malloc space for %d elements\n", size ); + if ((hamwintab = (double *)malloc(size*sizeof(double))) == NULL) { + fprintf(stderr, "coswin: couldn't malloc space for %d elements\n", size); return 0; } maxinitlen = size; @@ -110,9 +112,9 @@ init_hamwintab(int size) /* * Size is okay. Set up tables. */ - for ( i = 0; i < size; i++ ) { + for (i = 0; i < size; i++) { theta = 2 * M_PI * i / (double)(size); - hamwintab[ i ] = 0.54 - 0.46 * cos( theta ); + hamwintab[ i ] = 0.54 - 0.46 * cos(theta); } /* @@ -122,6 +124,7 @@ init_hamwintab(int size) return 1; } + /* * Local Variables: * mode: C diff --git a/src/sig/i-a.c b/src/sig/i-a.c index f1e8aca6a55..651f6c3e75b 100644 --- a/src/sig/i-a.c +++ b/src/sig/i-a.c @@ -40,6 +40,7 @@ int main(void) return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/i-d.c b/src/sig/i-d.c index f85882f4848..ecb790e917a 100644 --- a/src/sig/i-d.c +++ b/src/sig/i-d.c @@ -19,7 +19,7 @@ */ /** @file i-d.c * - * Convert shorts to doubles. + * Convert shorts to doubles. * * % i-d [-n || scale] * @@ -38,39 +38,39 @@ #include "vmath.h" -short ibuf[512]; -double obuf[512]; +short ibuf[512]; +double obuf[512]; int main(int argc, char **argv) { - int i, num; - double scale; + int i, num; + double scale; size_t ret; scale = 1.0; - if ( argc > 1 ) { - if ( BU_STR_EQUAL( argv[1], "-n" ) ) + if (argc > 1) { + if (BU_STR_EQUAL(argv[1], "-n")) scale = 1.0 / 32768.0; else - scale = atof( argv[1] ); + scale = atof(argv[1]); argc--; } - if ( argc > 1 || ZERO(scale) || isatty(fileno(stdin)) ) { - bu_exit( 1, "Usage: i-d [-n || scale] < shorts > doubles\n"); + if (argc > 1 || ZERO(scale) || isatty(fileno(stdin))) { + bu_exit(1, "Usage: i-d [-n || scale] < shorts > doubles\n"); } - while ( (num = fread( &ibuf[0], sizeof( ibuf[0] ), 512, stdin)) > 0 ) { - if ( EQUAL(scale, 1.0) ) { - for ( i = 0; i < num; i++ ) + while ((num = fread(&ibuf[0], sizeof(ibuf[0]), 512, stdin)) > 0) { + if (EQUAL(scale, 1.0)) { + for (i = 0; i < num; i++) obuf[i] = ibuf[i]; } else { - for ( i = 0; i < num; i++ ) + for (i = 0; i < num; i++) obuf[i] = (double)ibuf[i] * scale; } - ret = fwrite( &obuf[0], sizeof( obuf[0] ), num, stdout ); + ret = fwrite(&obuf[0], sizeof(obuf[0]), num, stdout); if (ret != (size_t)num) perror("fwrite"); } @@ -78,6 +78,7 @@ int main(int argc, char **argv) return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/i-f.c b/src/sig/i-f.c index ecd7b76f814..dcc0080d828 100644 --- a/src/sig/i-f.c +++ b/src/sig/i-f.c @@ -19,7 +19,7 @@ */ /** @file i-f.c * - * Convert shorts to floats. + * Convert shorts to floats. * * % i-f [-n || scale] * @@ -38,39 +38,39 @@ #include "vmath.h" -short ibuf[512]; -float obuf[512]; +short ibuf[512]; +float obuf[512]; int main(int argc, char **argv) { - int i, num; - double scale; + int i, num; + double scale; size_t ret; scale = 1.0; - if ( argc > 1 ) { - if ( BU_STR_EQUAL( argv[1], "-n" ) ) + if (argc > 1) { + if (BU_STR_EQUAL(argv[1], "-n")) scale = 1.0 / 32768.0; else - scale = atof( argv[1] ); + scale = atof(argv[1]); argc--; } - if ( argc > 1 || ZERO(scale) || isatty(fileno(stdin)) ) { - bu_exit( 1, "Usage: i-f [-n || scale] < shorts > floats\n" ); + if (argc > 1 || ZERO(scale) || isatty(fileno(stdin))) { + bu_exit(1, "Usage: i-f [-n || scale] < shorts > floats\n"); } - while ( (num = fread( &ibuf[0], sizeof( ibuf[0] ), 512, stdin)) > 0 ) { - if ( EQUAL(scale, 1.0) ) { - for ( i = 0; i < num; i++ ) + while ((num = fread(&ibuf[0], sizeof(ibuf[0]), 512, stdin)) > 0) { + if (EQUAL(scale, 1.0)) { + for (i = 0; i < num; i++) obuf[i] = ibuf[i]; } else { - for ( i = 0; i < num; i++ ) + for (i = 0; i < num; i++) obuf[i] = (double)ibuf[i] * scale; } - ret = fwrite( &obuf[0], sizeof( obuf[0] ), num, stdout ); + ret = fwrite(&obuf[0], sizeof(obuf[0]), num, stdout); if (ret != (size_t)num) perror("fwrite"); } @@ -78,6 +78,7 @@ int main(int argc, char **argv) return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/ihist.c b/src/sig/ihist.c index 66b8f101bf8..4680c8e2a0f 100644 --- a/src/sig/ihist.c +++ b/src/sig/ihist.c @@ -31,12 +31,12 @@ #include "bu.h" -long bits[16] = {0}; -long values[65536] = {0}; -long *zerop; -short ibuf[1024] = {0}; +long bits[16] = {0}; +long values[65536] = {0}; +long *zerop; +short ibuf[1024] = {0}; -int verbose = 0; +int verbose = 0; static const char usage[] = "\ Usage: ihist [-v] < shorts\n"; @@ -44,20 +44,20 @@ Usage: ihist [-v] < shorts\n"; int main(int argc, char **argv) { long i, bit; - int n; - int max, min; + int n; + int max, min; long num, levels=0; - while ( argc > 1 ) { - if ( BU_STR_EQUAL( argv[1], "-v" ) ) { + while (argc > 1) { + if (BU_STR_EQUAL(argv[1], "-v")) { verbose++; } else break; argc--; argv++; } - if ( argc > 1 || isatty(fileno(stdin)) ) { - bu_exit(1, "%s", usage ); + if (argc > 1 || isatty(fileno(stdin))) { + bu_exit(1, "%s", usage); } num = 0; @@ -65,9 +65,9 @@ int main(int argc, char **argv) memset(ibuf, 0, sizeof(ibuf)); zerop = &values[32768]; - while ( (n = fread(ibuf, 2, 1024, stdin)) > 0 ) { + while ((n = fread(ibuf, 2, 1024, stdin)) > 0) { num += n; - for ( i = 0; i < n; i++ ) { + for (i = 0; i < n; i++) { long idx = ibuf[i]; if (idx < 0) idx = 0; @@ -76,36 +76,36 @@ int main(int argc, char **argv) zerop[idx]++; } } - printf( "%ld values\n", num ); + printf("%ld values\n", num); max = 32767; - while ( zerop[max] == 0 ) + while (zerop[max] == 0) max--; min = -32768; - while ( zerop[min] == 0 ) + while (zerop[min] == 0) min++; - printf( "Max = %d\n", max ); - printf( "Min = %d\n", min ); + printf("Max = %d\n", max); + printf("Min = %d\n", min); - printf( "Bits\n" ); - for ( i = -32768; i < 32768; i++ ) { - if ( zerop[i] == 0 ) + printf("Bits\n"); + for (i = -32768; i < 32768; i++) { + if (zerop[i] == 0) continue; levels++; - for ( bit = 0; bit < 16; bit++ ) { - if ( i & (1<= argc ) { - if ( isatty((int)fileno(stdin)) ) + if (bu_optind >= argc) { + if (isatty((int)fileno(stdin))) return 0; file_name = "-"; } else { char *ifname; file_name = argv[bu_optind]; ifname = bu_realpath(file_name, NULL); - if ( freopen(ifname, "r", stdin) == NULL ) { - fprintf( stderr, - "bwmod: cannot open \"%s(canonical %s)\" for reading\n", - file_name,ifname); - bu_free(ifname,"ifname alloc from bu_realpath"); + if (freopen(ifname, "r", stdin) == NULL) { + fprintf(stderr, + "bwmod: cannot open \"%s(canonical %s)\" for reading\n", + file_name, ifname); + bu_free(ifname, "ifname alloc from bu_realpath"); return 0; } - bu_free(ifname,"ifname alloc from bu_realpath"); + bu_free(ifname, "ifname alloc from bu_realpath"); } - if ( argc > ++bu_optind ) - fprintf( stderr, "bwmod: excess argument(s) ignored\n" ); + if (argc > ++bu_optind) + fprintf(stderr, "bwmod: excess argument(s) ignored\n"); return 1; /* OK */ } + void mk_trans_tbl(void) { int i, j; @@ -140,10 +141,10 @@ void mk_trans_tbl(void) switch (op[i]) { case ADD : d += val[i]; break; case MULT: d *= val[i]; break; - case POW : d = pow( d, val[i]); break; + case POW : d = pow(d, val[i]); break; case ABS : if (d < 0.0) d = - d; break; default : fprintf(stderr, "%s: error in op\n", - progname); break; + progname); break; } } @@ -158,25 +159,26 @@ void mk_trans_tbl(void) } } + int main(int argc, char **argv) { short *p, *q; int i; - unsigned int n; + unsigned int n; unsigned long clip_high, clip_low; if (!(progname=strrchr(*argv, '/'))) progname = *argv; - if ( !get_args( argc, argv ) || isatty(fileno(stdin)) || isatty(fileno(stdout)) ) { - bu_exit( 1, "Usage: imod {-a add -s sub -m mult -d div -A(abs) -e exp -r root} [file.s]\n" ); + if (!get_args(argc, argv) || isatty(fileno(stdin)) || isatty(fileno(stdout))) { + bu_exit(1, "Usage: imod {-a add -s sub -m mult -d div -A(abs) -e exp -r root} [file.s]\n"); } mk_trans_tbl(); clip_high = clip_low = 0; - while ( (n=fread(iobuf, sizeof(*iobuf), BUFLEN, stdin)) > 0) { + while ((n=fread(iobuf, sizeof(*iobuf), BUFLEN, stdin)) > 0) { /* translate */ for (p=iobuf, q= &iobuf[n]; p < q; ++p) { @@ -202,13 +204,14 @@ int main(int argc, char **argv) } } - if ( clip_high != 0L || clip_low != 0L ) { - fprintf( stderr, "%s: clipped %lu high, %lu low\n", progname, (long unsigned)clip_high, (long unsigned)clip_low ); + if (clip_high != 0L || clip_low != 0L) { + fprintf(stderr, "%s: clipped %lu high, %lu low\n", progname, (long unsigned)clip_high, (long unsigned)clip_low); } return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/interp.c b/src/sig/interp.c index 989eeb26864..bb7516a1296 100644 --- a/src/sig/interp.c +++ b/src/sig/interp.c @@ -18,16 +18,16 @@ * information. */ /** @file interp.c - * Do the interpolation necessary to change a set of points from - * linear to log scale. + * Do the interpolation necessary to change a set of points from + * linear to log scale. * - * Input, a set of linearly separated samples. - * Output, the same number of samples on a log baseline. + * Input, a set of linearly separated samples. + * Output, the same number of samples on a log baseline. * - * This uses fourth order Lagrange Interpolation and may - * be too wigly for our purposes. + * This uses fourth order Lagrange Interpolation and may + * be too wigly for our purposes. * - * Sure this is ugly.... I'll be happy if it works at all. + * Sure this is ugly.... I'll be happy if it works at all. */ #include "common.h" @@ -36,40 +36,40 @@ #include -#define MAXBUF 16*1024 +#define MAXBUF 16*1024 void LintoLog(double *in, double *out, int num) { - int i; - double place, step; - double linpt[MAXBUF] = {0.0}; - double x, y, x1, x2, x3, x4; + int i; + double place, step; + double linpt[MAXBUF] = {0.0}; + double x, y, x1, x2, x3, x4; /* * Compute the break points, i.e. the fractional input * sample number corresponding to each of our "num" output * samples. */ - step = pow( (double)num, 1.0/(double)(num-1) ); + step = pow((double)num, 1.0/(double)(num-1)); place = 1.0; - for ( i = 0; i < num; i++ ) { + for (i = 0; i < num; i++) { linpt[i] = place - 1.0; place *= step; } #ifdef DEBUG - for ( i = 0; i < num; i++ ) { + for (i = 0; i < num; i++) { printf("linpt[%d] = %f\n", i, linpt[i]); } #endif /* DEBUG */ - for ( i = 0; i < num; i++ ) { + for (i = 0; i < num; i++) { /* * Compute polynomial to interp with. */ x1 = (int)linpt[i] - 1; - if ( x1 < 0 ) x1 = 0; - if ( x1 > num - 4 ) x1 = num - 4; + if (x1 < 0) x1 = 0; + if (x1 > num - 4) x1 = num - 4; x2 = x1 + 1; x3 = x1 + 2; x4 = x1 + 3; x = linpt[i]; @@ -81,6 +81,7 @@ LintoLog(double *in, double *out, int num) } } + /* * Local Variables: * mode: C diff --git a/src/sig/istats.c b/src/sig/istats.c index b61a2ad3fc5..fd66c5cbb9e 100644 --- a/src/sig/istats.c +++ b/src/sig/istats.c @@ -94,7 +94,7 @@ void comp_stats(FILE *fd) stdev = sqrt(((num * sum_sq) - (sum*sum)) / (num * (num-1))); printf(" Num: %g\n Min: %hd\n Max: %hd\n Sum: %g\n Mean: %g\nSStdev: %g\n", - num, min, max, sum, sum/num, stdev); + num, min, max, sum, sum/num, stdev); bu_free(buffer, "buffer"); } diff --git a/src/sig/smod.c b/src/sig/smod.c index 00d3f1e36a5..5f312522a1d 100644 --- a/src/sig/smod.c +++ b/src/sig/smod.c @@ -81,7 +81,7 @@ get_args(int argc, char *argv[]) op[ numop ] = MULT; d = atof(bu_optarg); if (ZERO(d)) { - bu_exit(2, "%s: divide by zero!\n",progname); + bu_exit(2, "%s: divide by zero!\n", progname); } val[ numop++ ] = 1.0 / d; break; @@ -97,7 +97,7 @@ get_args(int argc, char *argv[]) op[ numop ] = POW; d = atof(bu_optarg); if (ZERO(d)) { - bu_exit(2, "%s: zero root!\n",progname); + bu_exit(2, "%s: zero root!\n", progname); } val[ numop++ ] = 1.0 / d; break; @@ -117,16 +117,16 @@ get_args(int argc, char *argv[]) ifname = bu_realpath(file_name, NULL); if (freopen(ifname, "r", stdin) == NULL) { fprintf(stderr, - "%s: cannot open \"%s(canonical %s)\" for reading\n", - progname,file_name,ifname); - bu_free(ifname,"ifname alloc from bu_realpath"); + "%s: cannot open \"%s(canonical %s)\" for reading\n", + progname, file_name, ifname); + bu_free(ifname, "ifname alloc from bu_realpath"); return 0; } - bu_free(ifname,"ifname alloc from bu_realpath"); + bu_free(ifname, "ifname alloc from bu_realpath"); } if (argc > ++bu_optind) - fprintf(stderr, "%s: excess argument(s) ignored\n",progname); + fprintf(stderr, "%s: excess argument(s) ignored\n", progname); return 1; /* OK */ } @@ -152,7 +152,7 @@ mk_trans_tbl() case POW : d = pow(d, val[i]); break; case ABS : if (d < 0.0) d = - d; break; default : fprintf(stderr, "%s: error in op\n", - progname); break; + progname); break; } } @@ -223,6 +223,7 @@ main(int argc, char *argv[]) return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/u-a.c b/src/sig/u-a.c index 9b08e14b846..0bb34c4a0f5 100644 --- a/src/sig/u-a.c +++ b/src/sig/u-a.c @@ -41,6 +41,7 @@ int main(void) return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/u-bw.c b/src/sig/u-bw.c index db5feca34bb..4f0d47a0e21 100644 --- a/src/sig/u-bw.c +++ b/src/sig/u-bw.c @@ -37,12 +37,12 @@ int main(int ac, char **av) if (isatty(fileno(stdin)) || isatty(fileno(stdout))) { fprintf(stderr, "Usage: %s < u_shorts > bwfile\n", - *av); + *av); return -1; } if (ac > 1 && *av[1] == '-' && *av[2] == 'l') - while ((num = fread(&ibuf[0], sizeof(*ibuf), 512, stdin)) > 0 ) { + while ((num = fread(&ibuf[0], sizeof(*ibuf), 512, stdin)) > 0) { for (i=0; i < num; i++) obuf[i] = (unsigned char)ibuf[i]; @@ -52,7 +52,7 @@ int main(int ac, char **av) } } else - while ((num = fread(&ibuf[0], sizeof(*ibuf), 512, stdin)) > 0 ) { + while ((num = fread(&ibuf[0], sizeof(*ibuf), 512, stdin)) > 0) { for (i=0; i < num; i++) obuf[i] = (unsigned char)(ibuf[i] >> 8); @@ -64,6 +64,7 @@ int main(int ac, char **av) return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/u-d.c b/src/sig/u-d.c index 082a084742b..d935a3cef21 100644 --- a/src/sig/u-d.c +++ b/src/sig/u-d.c @@ -19,7 +19,7 @@ */ /** @file u-d.c * - * Convert unsigned shorts to doubles. + * Convert unsigned shorts to doubles. * * % i-d [-n || scale] * @@ -38,39 +38,39 @@ #include "vmath.h" -unsigned short ibuf[512]; -double obuf[512]; +unsigned short ibuf[512]; +double obuf[512]; int main(int argc, char **argv) { - int i, num; - double scale; + int i, num; + double scale; size_t ret; scale = 1.0; - if ( argc > 1 ) { - if ( BU_STR_EQUAL( argv[1], "-n" ) ) + if (argc > 1) { + if (BU_STR_EQUAL(argv[1], "-n")) scale = 1.0 / 65536.0; else - scale = atof( argv[1] ); + scale = atof(argv[1]); argc--; } - if ( argc > 1 || ZERO(scale) || isatty(fileno(stdin)) ) { - bu_exit( 1, "Usage: u-d [-n || scale] < shorts > doubles\n" ); + if (argc > 1 || ZERO(scale) || isatty(fileno(stdin))) { + bu_exit(1, "Usage: u-d [-n || scale] < shorts > doubles\n"); } - while ( (num = fread( &ibuf[0], sizeof( ibuf[0] ), 512, stdin)) > 0 ) { - if ( EQUAL(scale, 1.0) ) { - for ( i = 0; i < num; i++ ) + while ((num = fread(&ibuf[0], sizeof(ibuf[0]), 512, stdin)) > 0) { + if (EQUAL(scale, 1.0)) { + for (i = 0; i < num; i++) obuf[i] = ibuf[i]; } else { - for ( i = 0; i < num; i++ ) + for (i = 0; i < num; i++) obuf[i] = (double)ibuf[i] * scale; } - ret = fwrite( &obuf[0], sizeof( obuf[0] ), num, stdout ); + ret = fwrite(&obuf[0], sizeof(obuf[0]), num, stdout); if (ret != (size_t)num) perror("fwrite"); } @@ -78,6 +78,7 @@ int main(int argc, char **argv) return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/u-f.c b/src/sig/u-f.c index 6907d101cb2..e9836bab618 100644 --- a/src/sig/u-f.c +++ b/src/sig/u-f.c @@ -18,9 +18,8 @@ * information. */ /** @file u-f.c - * I - F . C * - * Convert shorts to floats. + * Convert shorts to floats. * * % i-f [-n || scale] * @@ -39,39 +38,39 @@ #include "vmath.h" -unsigned short ibuf[512]; -float obuf[512]; +unsigned short ibuf[512]; +float obuf[512]; int main(int argc, char **argv) { - int i, num; - double scale; + int i, num; + double scale; size_t ret; scale = 1.0; - if ( argc > 1 ) { - if ( BU_STR_EQUAL( argv[1], "-n" ) ) + if (argc > 1) { + if (BU_STR_EQUAL(argv[1], "-n")) scale = 1.0 / 65536.0; else - scale = atof( argv[1] ); + scale = atof(argv[1]); argc--; } - if ( argc > 1 || ZERO(scale) || isatty(fileno(stdin)) ) { - bu_exit( 1, "Usage: i-f [-n || scale] < shorts > floats\n" ); + if (argc > 1 || ZERO(scale) || isatty(fileno(stdin))) { + bu_exit(1, "Usage: i-f [-n || scale] < shorts > floats\n"); } - while ( (num = fread( &ibuf[0], sizeof( ibuf[0] ), 512, stdin)) > 0 ) { - if ( EQUAL(scale, 1.0) ) { - for ( i = 0; i < num; i++ ) + while ((num = fread(&ibuf[0], sizeof(ibuf[0]), 512, stdin)) > 0) { + if (EQUAL(scale, 1.0)) { + for (i = 0; i < num; i++) obuf[i] = ibuf[i]; } else { - for ( i = 0; i < num; i++ ) + for (i = 0; i < num; i++) obuf[i] = (double)ibuf[i] * scale; } - ret = fwrite( &obuf[0], sizeof( obuf[0] ), num, stdout ); + ret = fwrite(&obuf[0], sizeof(obuf[0]), num, stdout); if (ret != (size_t)num) perror("fwrite"); } @@ -79,6 +78,7 @@ int main(int argc, char **argv) return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/umod.c b/src/sig/umod.c index 7a896206f79..0f0c51a06ae 100644 --- a/src/sig/umod.c +++ b/src/sig/umod.c @@ -46,7 +46,7 @@ char *file_name = NULL; #define MULT 2 #define ABS 3 #define POW 4 -#define BUFLEN (8192*2) /* usually 2 pages of memory, 16KB */ +#define BUFLEN (8192*2) /* usually 2 pages of memory, 16KB */ int numop = 0; /* number of operations */ int op[256]; /* operations */ @@ -80,7 +80,7 @@ get_args(int argc, char **argv) op[ numop ] = MULT; d = atof(bu_optarg); if (ZERO(d)) { - bu_exit(2, "%s: divide by zero!\n",progname); + bu_exit(2, "%s: divide by zero!\n", progname); } val[ numop++ ] = 1.0 / d; break; @@ -96,7 +96,7 @@ get_args(int argc, char **argv) op[ numop ] = POW; d = atof(bu_optarg); if (ZERO(d)) { - bu_exit(2, "%s: zero root!\n",progname); + bu_exit(2, "%s: zero root!\n", progname); } val[ numop++ ] = 1.0 / d; break; @@ -116,16 +116,16 @@ get_args(int argc, char **argv) ifname = bu_realpath(file_name, NULL); if (freopen(ifname, "r", stdin) == NULL) { fprintf(stderr, - "%s: cannot open \"%s(canonical %s)\" for reading\n", - progname,file_name,ifname); - bu_free(ifname,"ifname alloc from bu_realpath"); + "%s: cannot open \"%s(canonical %s)\" for reading\n", + progname, file_name, ifname); + bu_free(ifname, "ifname alloc from bu_realpath"); return 0; } - bu_free(ifname,"ifname alloc from bu_realpath"); + bu_free(ifname, "ifname alloc from bu_realpath"); } if (argc > ++bu_optind) - fprintf(stderr, "%s: excess argument(s) ignored\n",progname); + fprintf(stderr, "%s: excess argument(s) ignored\n", progname); return 1; /* OK */ } @@ -147,7 +147,7 @@ mk_trans_tbl(void) case POW : d = pow(d, val[i]); break; case ABS : if (d < 0.0) d = - d; break; default : fprintf(stderr, "%s: error in op\n", - progname); break; + progname); break; } } @@ -165,7 +165,7 @@ int main(int argc, char **argv) { unsigned short *p, *q; - unsigned int n; + unsigned int n; unsigned long clip_high, clip_low; int idx; @@ -213,6 +213,7 @@ main(int argc, char **argv) return 0; } + /* * Local Variables: * mode: C diff --git a/src/sig/ustats.c b/src/sig/ustats.c index c994179e52d..5a64c2b403d 100644 --- a/src/sig/ustats.c +++ b/src/sig/ustats.c @@ -46,6 +46,7 @@ usage(void) bu_exit(1, "Usage: %s [ file ]\n", progname); } + /* * P A R S E _ A R G S --- Parse through command line flags */ @@ -72,6 +73,7 @@ parse_args(int ac, char **av) return bu_optind; } + void comp_stats(FILE *fd) { @@ -101,7 +103,7 @@ comp_stats(FILE *fd) stdev = sqrt(((num * sum_sq) - (sum*sum)) / (num * (num-1))); printf(" Num: %g\n Min: %u\n Max: %u\n Sum: %g\n Mean: %g\nSStdev: %g\n", - num, min, max, sum, sum/num, stdev); + num, min, max, sum, sum/num, stdev); bu_free(buffer, "buffer"); } @@ -126,10 +128,10 @@ main(int ac, char *av[]) /* open file of shorts */ if (freopen(ifname, "r", stdin) == (FILE *)NULL) { perror(ifname); - bu_free(ifname,"ifname alloc from bu_realpath"); + bu_free(ifname, "ifname alloc from bu_realpath"); return -1; } - bu_free(ifname,"ifname alloc from bu_realpath"); + bu_free(ifname, "ifname alloc from bu_realpath"); } else if (isatty((int)fileno(stdin))) { usage(); } @@ -139,6 +141,7 @@ main(int ac, char *av[]) return 0; } + /* * Local Variables: * mode: C From 5e2bb033e990ca0de49679f3cfe513b1543f7475 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Sat, 1 Jun 2013 04:36:40 +0000 Subject: [PATCH 024/149] still need to quantify this change (r55618), but in theory it'll be faster no matter what because the number of locks are reduced. richard fixed the FIXME in the file that talks about the excessive locking. he made it perform local book-keeping (no contention) and then combines that all together at the end (contention). svn:revision:55630 svn:branch:trunk svn:account:brlcad --- NEWS | 1 + 1 file changed, 1 insertion(+) diff --git a/NEWS b/NEWS index 4cb38798447..6aa6031bdf0 100644 --- a/NEWS +++ b/NEWS @@ -13,6 +13,7 @@ changes made. See document footer for additional details. --- 2013-05-27 Release 7.24.0 --- ---------------------------------------------------------------------- +* improved gqa performance on parallel SMP hardware - Richard Weiss * fixed bounding box size calculation for pipe geometry - Bob Parker * improved help option consistency across numerous tools - Carl Moore * 'idents' command no longer reports negative booleans - Keith Bowman From 90da7e84481e318368355048a17168bb765e052e Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Sun, 2 Jun 2013 02:23:18 +0000 Subject: [PATCH 025/149] support compiling with this header in c90 mode, no // comments in non-c++ sections of the file svn:revision:55631 svn:branch:trunk svn:account:brlcad --- include/brep.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/brep.h b/include/brep.h index ffb768829c5..49367ae2f71 100644 --- a/include/brep.h +++ b/include/brep.h @@ -177,7 +177,7 @@ class ON_Ray { bool IntersectRay(const ON_Ray& v, ON_2dPoint& isect) const { double uxv, q_pxv; - // consider parallel and collinear cases + /* consider parallel and collinear cases */ if (ZERO(uxv = V2CROSS(m_dir, v.m_dir)) || (ZERO(q_pxv = V2CROSS(v.m_origin - m_origin, v.m_dir)))) { return false; @@ -226,7 +226,7 @@ BREP_EXPORT bool ON_NearZero(double x, double tolerance = ON_ZERO_TOLERANCE); #define BREP_EDGE_MISS_TOLERANCE 5e-3 #define BREP_SAME_POINT_TOLERANCE 1e-6 -// FIXME: debugging crapola (clean up later) +/* FIXME: debugging crapola (clean up later) */ #define ON_PRINT4(p) "[" << (p)[0] << ", " << (p)[1] << ", " << (p)[2] << ", " << (p)[3] << "]" #define ON_PRINT3(p) "(" << (p)[0] << ", " << (p)[1] << ", " << (p)[2] << ")" #define ON_PRINT2(p) "(" << (p)[0] << ", " << (p)[1] << ")" @@ -236,9 +236,9 @@ BREP_EXPORT bool ON_NearZero(double x, double tolerance = ON_ZERO_TOLERANCE); #define TRACE(s) #define TRACE1(s) #define TRACE2(s) -//#define TRACE(s) std::cerr << s << std::endl; -//#define TRACE1(s) std::cerr << s << std::endl; -//#define TRACE2(s) std::cerr << s << std::endl; +/* #define TRACE(s) std::cerr << s << std::endl; */ +/* #define TRACE1(s) std::cerr << s << std::endl; */ +/* #define TRACE2(s) std::cerr << s << std::endl; */ namespace brlcad { @@ -350,9 +350,9 @@ BANode::BANode(const ON_Curve* curve, int adj_face_index, const BA& node, { m_start = curve->PointAt(m_t[0]); m_end = curve->PointAt(m_t[1]); - // check for vertical segments they can be removed - // from trims above (can't tell direction and don't - // need + /* check for vertical segments they can be removed from trims + * above (can't tell direction and don't need + */ m_Horizontal = false; m_Vertical = false; From db25c6b4cbacc7746a4dc61d4df28f6146542337 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Sun, 2 Jun 2013 02:28:58 +0000 Subject: [PATCH 026/149] set but unused var quellage svn:revision:55632 svn:branch:trunk svn:account:brlcad --- src/librt/primitives/brep/brep.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/librt/primitives/brep/brep.cpp b/src/librt/primitives/brep/brep.cpp index abb43744cf6..bb61e6f3789 100644 --- a/src/librt/primitives/brep/brep.cpp +++ b/src/librt/primitives/brep/brep.cpp @@ -2916,7 +2916,6 @@ void poly2tri_CDT(struct bu_list *vhead, ON_BrepFace &face, for (int lti = 0; lti < loop->TrimCount(); lti++) { ON_BrepTrim *trim = loop->Trim(lti); //ON_BrepEdge *edge = trim->Edge(); - bool removeedgepoints = false; if (trim->m_type == ON_BrepTrim::singular) { ON_BrepVertex& v1 = face.Brep()->m_V[trim->m_vi[0]]; @@ -2933,7 +2932,6 @@ void poly2tri_CDT(struct bu_list *vhead, ON_BrepFace &face, if (!trim->m_trim_user.p) { (void) getEdgePoints(*trim, max_dist, ttol, tol, info); - removeedgepoints = true; } if (trim->m_trim_user.p) { std::map *param_points3d = (std::map< @@ -2946,11 +2944,7 @@ void poly2tri_CDT(struct bu_list *vhead, ON_BrepFace &face, double t0, t1; trim->GetDomain(&t0, &t1); ON_2dPoint p2d = trim->PointAtStart(); - ON_3dPoint ts3d = s->PointAt(p2d.x, p2d.y); ON_2dPoint end_p2d = trim->PointAtEnd(); - ON_3dPoint te3d = s->PointAt(end_p2d.x, end_p2d.y); - ON_3dVector norm = s->NormalAt(trim->PointAtStart().x, - trim->PointAtStart().y); std::map::const_iterator i; for (i = param_points3d->begin(); i != param_points3d->end();) { @@ -3092,7 +3086,6 @@ void poly2tri_CDT(struct bu_list *vhead, ON_BrepFace &face, ON_3dPoint pnt[3]; ON_3dVector norm[3]; point_t pt[3]; - vect_t nv[3]; for (size_t i = 0; i < tris.size(); i++) { p2t::Triangle *t = tris[i]; p2t::Point *p = NULL; @@ -3110,7 +3103,6 @@ void poly2tri_CDT(struct bu_list *vhead, ON_BrepFace &face, norm[j] = norm[j] * -1.0; } VMOVE(pt[j], pnt[j]); - VMOVE(nv[j], norm[j]); } } //tri one @@ -3516,7 +3508,9 @@ int rt_brep_plot_poly(struct bu_list *vhead, const struct db_full_path *pathp, s #ifndef TESTIT #ifndef WATER_TIGHT +#ifdef DRAW_FACE fastf_t max_dist = 0; +#endif for (int index = 0; index < brep->m_F.Count(); index++) { ON_BrepFace *face = brep->Face(index); const ON_Surface *s = face->SurfaceOf(); @@ -3527,7 +3521,9 @@ int rt_brep_plot_poly(struct bu_list *vhead, const struct db_full_path *pathp, s // curves to minimize distortion in the map from parameter space to 3d.. face->SetDomain(0, 0.0, surface_width); face->SetDomain(1, 0.0, surface_height); +#ifdef DRAW_FACE max_dist = sqrt(surface_width*surface_width + surface_height*surface_height) / 10.0; +#endif } } #ifdef DRAW_FACE From f8ba87667f7fff34e99e324cbd6d05ca83c0aa8a Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Sun, 2 Jun 2013 02:59:13 +0000 Subject: [PATCH 027/149] reminded of some instanity in the C standard that has comments parsed in phase 3 BEFORE the preprocessor (phase 4) so even #if 0 // comments being compiled in -pedantic mode will cause gcc to issue a warning. it's a silly unhelpful interpretation by the gcc devs (that a warning needs to be issued in phase 3 just because it's a comment issue even if the comment is in code hidden by the pre-processor. at least accommodating the silly is simple. svn:revision:55633 svn:branch:trunk svn:account:brlcad --- include/brep.h | 166 ++++++++++++++++++++++++++----------------------- 1 file changed, 88 insertions(+), 78 deletions(-) diff --git a/include/brep.h b/include/brep.h index 49367ae2f71..becb5286fe6 100644 --- a/include/brep.h +++ b/include/brep.h @@ -413,7 +413,7 @@ BANode::BANode(const BA& node) : m_node(node) template BANode::~BANode() { - // delete the children + /* delete the children */ for (size_t i = 0; i < m_children.size(); i++) { delete m_children[i]; } @@ -539,7 +539,7 @@ BANode::isTrimmed(const ON_2dPoint& uv, double &trimdist) const { point_t bmin, bmax; BANode::GetBBox(bmin, bmax); - if ((bmin[X] <= uv[X]) && (uv[X] <= bmax[X])) { //if check trim and in BBox + if ((bmin[X] <= uv[X]) && (uv[X] <= bmax[X])) { /* if check trim and in BBox */ fastf_t v = getCurveEstimateOfV(uv[X], 0.0000001); trimdist = v - uv[Y]; if (uv[Y] <= v) { @@ -590,27 +590,29 @@ ON_2dPoint BANode::getClosestPointEstimate(const ON_3dPoint& pt, ON_Interval& u, ON_Interval& v) { if (isLeaf()) { - double uvs[5][2] = {{m_u.Min(), m_v.Min()}, // include the corners for an easy refinement + double uvs[5][2] = {{m_u.Min(), m_v.Min()}, /* include the corners for an easy refinement */ {m_u.Max(), m_v.Min()}, {m_u.Max(), m_v.Max()}, {m_u.Min(), m_v.Max()}, - {m_u.Mid(), m_v.Mid()}}; // include the estimate + {m_u.Mid(), m_v.Mid()}}; /* include the estimate */ ON_3dPoint corners[5]; const ON_Surface* surf = m_face->SurfaceOf(); u = m_u; v = m_v; - // ??? should we pass these in from SurfaceTree::curveBBox() to avoid this recalculation? + /* ??? should we pass these in from SurfaceTree::curveBBox() + * to avoid this recalculation? + */ if (!surf->EvPoint(uvs[0][0], uvs[0][1], corners[0]) || !surf->EvPoint(uvs[1][0], uvs[1][1], corners[1]) || !surf->EvPoint(uvs[2][0], uvs[2][1], corners[2]) || !surf->EvPoint(uvs[3][0], uvs[3][1], corners[3])) { - throw new std::exception(); // FIXME + throw new std::exception(); /* FIXME */ } corners[4] = BANode::m_estimate; - // find the point on the curve closest to pt + /* find the point on the curve closest to pt */ size_t mini = 0; double mindist = pt.DistanceTo(corners[mini]); double tmpdist; @@ -669,7 +671,7 @@ BANode::getCurveEstimateOfV(fastf_t u, fastf_t tol) const } fastf_t dU = B[X] - A[X]; - if (NEAR_ZERO(dU, tol)) { //vertical + if (NEAR_ZERO(dU, tol)) { /* vertical */ return A[Y]; } @@ -707,7 +709,7 @@ BANode::getCurveEstimateOfV(fastf_t u, fastf_t tol) const } dU = B[X] - A[X]; - if (NEAR_ZERO(dU, tol)) { //vertical + if (NEAR_ZERO(dU, tol)) { /* vertical */ return A[Y]; } @@ -724,7 +726,7 @@ BANode::getCurveEstimateOfV(fastf_t u, fastf_t tol) const VMOVE(B, p); } dU = B[X] - A[X]; - if (NEAR_ZERO(dU, tol)) { //vertical + if (NEAR_ZERO(dU, tol)) { /* vertical */ return A[Y]; } @@ -762,7 +764,7 @@ BANode::getCurveEstimateOfU(fastf_t v, fastf_t tol) const } fastf_t dV = B[Y] - A[Y]; - if (NEAR_ZERO(dV, tol)) { //horizontal + if (NEAR_ZERO(dV, tol)) { /* horizontal */ return A[X]; } @@ -792,7 +794,7 @@ BANode::getCurveEstimateOfU(fastf_t v, fastf_t tol) const } dV = B[Y] - A[Y]; - if (NEAR_ZERO(dV, tol)) { //horizontal + if (NEAR_ZERO(dV, tol)) { /* horizontal */ return A[X]; } @@ -809,7 +811,7 @@ BANode::getCurveEstimateOfU(fastf_t v, fastf_t tol) const VMOVE(B, p); } dV = B[Y] - A[Y]; - if (NEAR_ZERO(dV, tol)) { //horizontal + if (NEAR_ZERO(dV, tol)) { /* horizontal */ return A[X]; } dT = Tb - Ta; @@ -828,8 +830,9 @@ BANode::getCurveEstimateOfU(fastf_t v, fastf_t tol) const extern bool sortX(BRNode* first, BRNode* second); extern bool sortY(BRNode* first, BRNode* second); -//-------------------------------------------------------------------------------- -// CurveTree declaration +/*-------------------------------------------------------------------------------- + * CurveTree declaration + */ class BREP_EXPORT CurveTree { public: CurveTree(const ON_BrepFace* face); @@ -872,9 +875,9 @@ class BREP_EXPORT CurveTree { }; -//-------------------------------------------------------------------------------- -// Bounding volume hierarchy classes - +/*-------------------------------------------------------------------------------- + * Bounding volume hierarchy classes + */ template class BVNode { public: @@ -887,73 +890,75 @@ class BVNode { ~BVNode(); - // List of all children of a given node + /* List of all children of a given node */ typedef std::vector*> ChildList; ChildList m_children; - // Curve Tree associated with the parent Surface Tree + /* Curve Tree associated with the parent Surface Tree */ CurveTree* m_ctree; - // Bounding Box + /* Bounding Box */ BV m_node; - // Test if this node is a leaf node in the hierarchy + /* Test if this node is a leaf node in the hierarchy */ bool isLeaf(); - // Return all leaves below this node that are leaf nodes + /* Return all leaves below this node that are leaf nodes */ void getLeaves(std::list*>& out_leaves); - // Functions to add and remove child nodes from this node. + /* Functions to add and remove child nodes from this node. */ void addChild(const BV& child); void addChild(BVNode* child); void removeChild(const BV& child); void removeChild(BVNode* child); - // Report the depth of this node in the hierarchy + /* Report the depth of this node in the hierarchy */ int depth(); - // Get 2 points defining a bounding box - // - // _ max _ - // _ - + - _ - // * _ + _ * - // | - _ + _ - | - // | *+ | - // | |+ | - // | _ |+ _ | - // | _ - | - _ | - // * _ | _ * - // - _ | _ - - // min - // + /* Get 2 points defining a bounding box + * + * _ max _ + * _ - + - _ + * * _ + _ * + * | - _ + _ - | + * | *+ | + * | |+ | + * | _ |+ _ | + * | _ - | - _ | + * * _ | _ * + * - _ | _ - + * min + */ void GetBBox(float* min, float* max); void GetBBox(double* min, double* max); - // Surface Information + /* Surface Information */ const ON_BrepFace* m_face; ON_Interval m_u; ON_Interval m_v; - // Trimming Flags + /* Trimming Flags */ bool m_checkTrim; bool m_trimmed; - // Point used for closeness testing - usually - // based on evaluation of the curve/surface at - // the center of the parametric domain + /* Point used for closeness testing - usually based on evaluation + * of the curve/surface at the center of the parametric domain + */ ON_3dPoint m_estimate; - // Normal at the m_estimate point + /* Normal at the m_estimate point */ ON_3dVector m_normal; - // Test whether a ray intersects the 3D bounding volume - // of the node - if so, and node is not a leaf node, query - // children. If leaf node, and intersects, add to list. + /* Test whether a ray intersects the 3D bounding volume of the + * node - if so, and node is not a leaf node, query children. If + * leaf node, and intersects, add to list. + */ bool intersectedBy(ON_Ray& ray, double* tnear = 0, double* tfar = 0); bool intersectsHierarchy(ON_Ray& ray, std::list*>& results); - // Report if a given uv point is within the uv boundaries - // defined by a node. + /* Report if a given uv point is within the uv boundaries defined + * by a node. + */ bool containsUV(const ON_2dPoint& uv); @@ -971,15 +976,16 @@ class BVNode { BVNode* closer(const ON_3dPoint& pt, BVNode* left, BVNode* right); std::list m_trims_above; std::list m_trims_vertical; - // std::list m_trims_right; + /* std::list m_trims_right; */ }; typedef BVNode BBNode; - //-------------------------------------------------------------------------------- - // Template Implementation + /*-------------------------------------------------------------------------------- + * Template Implementation + */ template inline BVNode::BVNode() @@ -1057,7 +1063,7 @@ class BVNode { template BVNode::~BVNode() { - // delete the children + /* delete the children */ for (size_t i = 0; i < m_children.size(); i++) { delete m_children[i]; } @@ -1153,7 +1159,7 @@ class BVNode { } else { double t1 = (m_node.m_min[i]-ray.m_origin[i]) / ray.m_dir[i]; double t2 = (m_node.m_max[i]-ray.m_origin[i]) / ray.m_dir[i]; - if (t1 > t2) { double tmp = t1; t1 = t2; t2 = tmp; } // swap + if (t1 > t2) { double tmp = t1; t1 = t2; t2 = tmp; } /* swap */ if (t1 > tnear) tnear = t1; if (t2 < tfar) tfar = t2; if (tnear > tfar) /* box is missed */ untrimmedresult = false; @@ -1256,23 +1262,25 @@ class BVNode { if (isLeaf()) { double uvs[5][2] = {{m_u.Min(), m_v.Min()}, {m_u.Max(), m_v.Min()}, {m_u.Max(), m_v.Max()}, {m_u.Min(), m_v.Max()}, - {m_u.Mid(), m_v.Mid()}}; // include the estimate + {m_u.Mid(), m_v.Mid()}}; /* include the estimate */ ON_3dPoint corners[5]; const ON_Surface* surf = m_face->SurfaceOf(); u = m_u; v = m_v; - // ??? pass these in from SurfaceTree::surfaceBBox() to avoid this recalculation? + /* ??? pass these in from SurfaceTree::surfaceBBox() to avoid + * this recalculation? + */ if (!surf->EvPoint(uvs[0][0], uvs[0][1], corners[0]) || !surf->EvPoint(uvs[1][0], uvs[1][1], corners[1]) || !surf->EvPoint(uvs[2][0], uvs[2][1], corners[2]) || !surf->EvPoint(uvs[3][0], uvs[3][1], corners[3])) { - throw new std::exception(); // FIXME + throw new std::exception(); /* FIXME */ } corners[4] = BVNode::m_estimate; - // find the point on the surface closest to pt + /* find the point on the surface closest to pt */ size_t mini = 0; double mindist = pt.DistanceTo(corners[mini]); double tmpdist; @@ -1311,7 +1319,7 @@ class BVNode { if ((pt.x >= (min[0])) && (pt.x <= (max[0])) && (pt.y >= (min[1])) && (pt.y <= (max[1])) && (pt.z >= (min[2])) && (pt.z <= (max[2]))) { - // falls within BBox so put in list + /* falls within BBox so put in list */ out.push_back(this); return 1; } @@ -1341,7 +1349,7 @@ class BVNode { if (trims.empty()) { return 1; - } else {//find closest BB + } else { /* find closest BB */ std::list::iterator i; BRNode* vclosest = NULL; BRNode* uclosest = NULL; @@ -1362,7 +1370,7 @@ class BVNode { if (br->m_Vertical) { if ((br->m_v[0] <= uv[Y]) && (br->m_v[1] >= uv[Y])) { double dist = fabs(uv[X] - br->m_v[0]); - if (!verticalTrim) { //haven't seen vertical trim yet + if (!verticalTrim) { /* haven't seen vertical trim yet */ verticalTrim = true; vdist = dist; vclosest = br; @@ -1457,7 +1465,7 @@ BVNode::getTrimsAbove(const ON_2dPoint& uv, std::list& out_leaves) for (std::list::const_iterator i = m_trims_above.begin(); i != m_trims_above.end(); i++) { BRNode* br = dynamic_cast(*i); br->GetBBox(bmin, bmax); - dist = 0.000001; //0.03*DIST_PT_PT(bmin, bmax); + dist = 0.000001; /* 0.03*DIST_PT_PT(bmin, bmax); */ if ((uv[X] > bmin[X]-dist) && (uv[X] < bmax[X]+dist)) out_leaves.push_back(br); } @@ -1496,7 +1504,6 @@ BVNode::prepTrims() CurveTree* ct = m_ctree; std::list::iterator i; BRNode* br; - // point_t surfmin, surfmax; point_t curvemin, curvemax; double dist = 0.000001; bool trim_already_assigned = false; @@ -1512,36 +1519,36 @@ BVNode::prepTrims() i = m_trims_above.begin(); while (i != m_trims_above.end()) { br = dynamic_cast(*i); - if (br->m_Vertical) { // check V to see if trim possibly overlaps + if (br->m_Vertical) { /* check V to see if trim possibly overlaps */ br->GetBBox(curvemin, curvemax); - if (curvemin[Y]-dist <= m_v[1]) { //possibly contains trim can't rule out check closer + if (curvemin[Y]-dist <= m_v[1]) { + /* possibly contains trim can't rule out check + * closer */ m_checkTrim = true; trim_already_assigned = true; i++; } else { i = m_trims_above.erase(i); } - //i = m_trims_above.erase(i); - //i++; } else { i++; } } } - if (!trim_already_assigned) { // already contains possible vertical trim + if (!trim_already_assigned) { /* already contains possible vertical trim */ if (m_trims_above.empty() /*|| m_trims_right.empty()*/) { m_trimmed = true; m_checkTrim = false; - } else if (!m_trims_above.empty()) {//trimmed above check contains + } else if (!m_trims_above.empty()) { /*trimmed above check contains */ i = m_trims_above.begin(); br = dynamic_cast(*i); br->GetBBox(curvemin, curvemax); - dist = 0.000001; //0.03*DIST_PT_PT(curvemin, curvemax); + dist = 0.000001; /* 0.03*DIST_PT_PT(curvemin, curvemax); */ if (curvemin[Y]-dist > m_v[1]) { i++; - if (i == m_trims_above.end()) { //easy only trim in above list + if (i == m_trims_above.end()) { /* easy only trim in above list */ if (br->m_XIncreasing) { m_trimmed=true; m_checkTrim=false; @@ -1549,12 +1556,15 @@ BVNode::prepTrims() m_trimmed=false; m_checkTrim=false; } - } else { //check for trim bbox overlap TODO: look for multiple overlaps + } else { + /* check for trim bbox overlap TODO: look for + * multiple overlaps. + */ BRNode* bs; bs = dynamic_cast(*i); point_t smin, smax; bs->GetBBox(smin, smax); - if ((smin[Y] >= curvemax[Y]) || (smin[X] >= curvemax[X]) || (smax[X] <= curvemin[X])) { //can determine inside/outside without closer inspection + if ((smin[Y] >= curvemax[Y]) || (smin[X] >= curvemax[X]) || (smax[X] <= curvemin[X])) { /* can determine inside/outside without closer inspection */ if (br->m_XIncreasing) { m_trimmed=true; m_checkTrim=false; @@ -1567,10 +1577,9 @@ BVNode::prepTrims() } } } else { - //m_contains_trim = true; //will have to check for trim at shotline m_checkTrim = true; } - } else {// something wrong here + } else { /* something wrong here */ bu_log("Error prepping trims"); return false; } @@ -1579,8 +1588,9 @@ BVNode::prepTrims() } -//-------------------------------------------------------------------------------- -// SurfaceTree declaration +/*-------------------------------------------------------------------------------- + * SurfaceTree declaration + */ class BREP_EXPORT SurfaceTree { private: bool m_removeTrimmed; From 51d1e53be49e1d5a42d35cd3143170b293206d58 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Sun, 2 Jun 2013 03:01:52 +0000 Subject: [PATCH 028/149] remove unhelpful comment svn:revision:55634 svn:branch:trunk svn:account:brlcad --- src/conv/3dm/3dm-g.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/conv/3dm/3dm-g.cpp b/src/conv/3dm/3dm-g.cpp index 49418ae1147..1239cb24ab3 100644 --- a/src/conv/3dm/3dm-g.cpp +++ b/src/conv/3dm/3dm-g.cpp @@ -40,9 +40,6 @@ /* generic entity name */ #define GENERIC_NAME "rhino" #define Usage "Usage: 3dm-g [-v vmode] [-r] [-u] -o output_file.g input_file.3dm\n" -/* Did not use THIS define; some options aren't fully implemented: - #define Usage "Usage: 3dm-g [-d] [-s scalefactor] [-t tolerance] [-v vmode] [-r] [-u] -o output_file.g input_file.3dm\n" -*/ /* typedefs and global containers for building layer hierarchy */ typedef std::map< std::string, std::string> STR_STR_MAP; From 7e3b63b688221b6db89b49a7486542e53a1166a9 Mon Sep 17 00:00:00 2001 From: Wu Jianbang Date: Mon, 3 Jun 2013 13:34:52 +0000 Subject: [PATCH 029/149] Begin to add P/P, P/C and P/S support. Implement ON_PX_EVENT for reporting the intersections. svn:revision:55635 svn:branch:trunk svn:account:phoenixyjll --- include/brep.h | 171 ++++++++++++++++++++++++++++++++++++++ src/libbrep/intersect.cpp | 55 ++++++++++++ src/libbrep/px_event.cpp | 136 ++++++++++++++++++++++++++++++ 3 files changed, 362 insertions(+) create mode 100644 src/libbrep/px_event.cpp diff --git a/include/brep.h b/include/brep.h index becb5286fe6..27ddda2b3df 100644 --- a/include/brep.h +++ b/include/brep.h @@ -1784,6 +1784,177 @@ ON_Intersect(const ON_Surface* surfA, const ON_Interval* surfaceB_udomain = 0, const ON_Interval* surfaceB_vdomain = 0); +// The ON_PX_EVENT class is used to report point-point, point-curve +// and point-surface intersection events. +class ON_CLASS BREP_EXPORT ON_PX_EVENT +{ +public: + // Default construction sets everything to zero. + ON_PX_EVENT(); + + /* + Description: + Compares point intersection events and sorts them in the + canonical order. + Returns: + @untitled table + -1 this < other + 0 this == other + +1 this > other + Remarks: + ON_PX_EVENT::Compare is used to sort intersection events into canonical + order. + */ + static + int Compare(const ON_PX_EVENT* a, const ON_PX_EVENT* b); + + /* + Description: + Check point intersection event values to make sure they are valid. + Parameters: + text_log - [in] If not null and an error is found, then a description + of the error is printed to text_log. + intersection_tolerance - [in] + 0.0 or value used in intersection calculation. + pointA - [in] + NULL or pointA passed to intersection calculation. + pointB - [in] + NULL or pointB passed to intersection calculation. + curveB - [in] + NULL or curveB passed to intersection calculation. + curveB_domain - [in] + NULL or curveB domain used in intersection calculation. + surfaceB - [in] + NULL or surfaceB passed to intersection calculation. + surfaceB_domain0 - [in] + NULL or surfaceB "u" domain used in intersection calculation. + surfaceB_domain1 - [in] + NULL or surfaceB "v" domain used in intersection calculation. + Returns: + True if event is valid. + */ + bool IsValid(ON_TextLog* text_log, + double intersection_tolerance, + const class ON_3dPoint* pointA, + const class ON_3dPoint* pointB, + const class ON_Curve* curveB, + const class ON_Interval* curveB_domain, + const class ON_Surface* surfaceB, + const class ON_Interval* surfaceB_domain0, + const class ON_Interval* surfaceB_domain1) const; + + void Dump(ON_TextLog& text_log) const; + + enum TYPE { + no_px_event = 0, + ppx_point = 1, // point-point intersection + pcx_point = 2, // point-curve intersection + psx_point = 3, // point-surface intersection + }; + + TYPE m_type; + + ON_3dPoint m_A; // Point A in 3D space + ON_3dPoint m_B; // Point B in 3D space + + ON_2dPoint m_b; // Point B in 2D space for the curve/surface + // For a curve, m_b[1] == 0 + // For a point, m_b[0] == m_b[1] == 0 + + ON_3dPoint m_Mid; // The mid-point of Point A and Point B + double m_radius; // To trace the uncertainty area +}; + +/** + * An overload of ON_Intersect for point-point intersection. + * + * Description: + * Intersect pointA with pointB. + * + * Parameters: + * pointA - [in] + * + * pointB - [in] + * + * x - [out] + * Intersection events are appended to this array. + * + * tolerance - [in] + * If the input intersection_tolerance <= 0.0, then 0.001 is used. + * + * Returns: + * True for an intersection. False for no intersection. + */ +extern BREP_EXPORT bool +ON_Intersect(const ON_3dPoint& pointA, + const ON_3dPoint& pointB, + ON_ClassArray& x, + double tolerance = 0.0); + +/** + * An overload of ON_Intersect for point-curve intersection. + * + * Description: + * Intersect pointA with curveB. + * + * Parameters: + * pointA - [in] + * + * curveB - [in] + * + * x - [out] + * Intersection events are appended to this array. + * + * tolerance - [in] + * If the input intersection_tolerance <= 0.0, then 0.001 is used. + * + * curveB_domain - [in] + * optional restriction on curveB t domain + * + * Returns: + * True for an intersection. False for no intersection. + */ +extern BREP_EXPORT bool +ON_Intersect(const ON_3dPoint& pointA, + const ON_Curve& curveB, + ON_ClassArray& x, + double tolerance = 0.0, + const ON_Interval* curveB_domain = 0); + +/** + * An overload of ON_Intersect for point-surface intersection. + * + * Description: + * Intersect pointA with surfaceB. + * + * Parameters: + * pointA - [in] + * + * surfaceB - [in] + * + * x - [out] + * Intersection events are appended to this array. + * + * tolerance - [in] + * If the input intersection_tolerance <= 0.0, then 0.001 is used. + * + * surfaceB_udomain - [in] + * optional restriction on surfaceB u domain + * + * surfaceB_vdomain - [in] + * optional restriction on surfaceB v domain + * + * Returns: + * True for an intersection. False for no intersection. + */ +extern BREP_EXPORT bool +ON_Intersect(const ON_3dPoint& pointA, + const ON_Surface& surfaceB, + ON_ClassArray& x, + double tolerance = 0.0, + const ON_Interval* surfaceB_udomain = 0, + const ON_Interval* surfaceB_vdomain = 0); + } /* extern C++ */ #endif diff --git a/src/libbrep/intersect.cpp b/src/libbrep/intersect.cpp index 0ebea7994f0..e5193b55fc9 100644 --- a/src/libbrep/intersect.cpp +++ b/src/libbrep/intersect.cpp @@ -35,6 +35,61 @@ #include "brep.h" +/** + * Point-point intersections (PPI) + */ +bool +ON_Intersect(const ON_3dPoint& pointA, + const ON_3dPoint& pointB, + ON_ClassArray& x, + double tolerance) +{ + if (tolerance <= 0.0) + tolerance = 0.01; + + if (pointA.DistanceTo(pointB) <= tolerance) { + ON_PX_EVENT Event; + Event.m_type = ON_PX_EVENT::ppx_point; + Event.m_A = pointA; + Event.m_B = pointB; + Event.m_Mid = (pointA + pointB) * 0.5; + Event.m_radius = pointA.DistanceTo(pointB) * 0.5; + x.Append(Event); + return true; + } + return false; +} + +/** + * Point-curve intersections (PCI) + */ +bool +ON_Intersect(const ON_3dPoint& pointA, + const ON_Curve& curveB, + ON_ClassArray& x, + double tolerance, + const ON_Interval* curveB_domain) +{ + // Implement later. + return false; +} + +/** + * Point-surface intersections (PSI) + */ +bool +ON_Intersect(const ON_3dPoint& pointA, + const ON_Surface& surfaceB, + ON_ClassArray& x, + double tolerance, + const ON_Interval* surfaceB_udomain, + const ON_Interval* surfaceB_vdomain) +{ + // Implement later. + return false; +} + + /** * Surface-surface intersections (SSI) * diff --git a/src/libbrep/px_event.cpp b/src/libbrep/px_event.cpp new file mode 100644 index 00000000000..eb621ea3146 --- /dev/null +++ b/src/libbrep/px_event.cpp @@ -0,0 +1,136 @@ +/* P X _ E V E N T . C P P + * BRL-CAD + * + * Copyright (c) 2013 United States Government as represented by + * the U.S. Army Research Laboratory. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * version 2.1 as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this file; see the file named COPYING for more + * information. + */ +/** @file px_event.cpp + * + * Implementation of ON_PX_EVENT. + * + */ + +#include "common.h" +#include "brep.h" + +ON_PX_EVENT::ON_PX_EVENT() +{ + memset(this,0,sizeof(*this)); +} + +int +ON_PX_EVENT::Compare(const ON_PX_EVENT* a, const ON_PX_EVENT* b) +{ + if (!a) { + return b ? 1 : 0; + } + + if (!b) + return -1; + + return a->m_Mid < b->m_Mid; +} + +bool +ON_PX_EVENT::IsValid(ON_TextLog* text_log, + double intersection_tolerance, + const class ON_3dPoint* pointA, + const class ON_3dPoint* pointB, + const class ON_Curve* curveB, + const class ON_Interval* curveB_domain, + const class ON_Surface* surfaceB, + const class ON_Interval* surfaceB_domain0, + const class ON_Interval* surfaceB_domain1) const +{ + // Implement later. + return true; +} + +void +ON_PX_EVENT::Dump(ON_TextLog& text_log) const +{ + text_log.Print("m_type: "); + switch (m_type) { + case ON_PX_EVENT::no_px_event: + text_log.Print("no_px_event"); + break; + case ON_PX_EVENT::ppx_point: + text_log.Print("ppx_point"); + break; + case ON_PX_EVENT::pcx_point: + text_log.Print("pcx_point"); + break; + case ON_PX_EVENT::psx_point: + text_log.Print("psx_point"); + break; + default: + text_log.Print("illegal value"); + break; + } + text_log.Print("\n"); + text_log.PushIndent(); + + text_log.Print("Intersection Point: \n"); + text_log.PushIndent(); + text_log.Print(m_Mid); + text_log.PopIndent(); + text_log.Print("With uncertainty radius: \n"); + text_log.PushIndent(); + text_log.Print(m_radius); + text_log.PopIndent(); + text_log.PopIndent(); + + text_log.Print("pointA = \n"); + text_log.PushIndent(); + text_log.Print(m_A); + text_log.PopIndent(); + + switch (m_type) { + case ON_PX_EVENT::ppx_point: + text_log.Print("pointB = \n"); + break; + + case ON_PX_EVENT::pcx_point: + text_log.Print("curveB("); + text_log.Print(m_b[0]); + text_log.Print(") = \n"); + break; + + case ON_PX_EVENT::psx_point: + text_log.Print("surfaceB"); + text_log.Print(m_b); + text_log.Print(" = \n"); + break; + + case ON_PX_EVENT::no_px_event: + break; + } + + text_log.PushIndent(); + text_log.Print(m_B); + text_log.PopIndent(); + + text_log.PopIndent(); +} + +// Local Variables: +// tab-width: 8 +// mode: C++ +// c-basic-offset: 4 +// indent-tabs-mode: t +// c-file-style: "stroustrup" +// End: +// ex: shiftwidth=4 tabstop=8 From e77b7bb729ce1b79d75253cdad2b41b450a794ef Mon Sep 17 00:00:00 2001 From: Wu Jianbang Date: Mon, 3 Jun 2013 13:43:43 +0000 Subject: [PATCH 030/149] remove the comma at end of enumerator list. svn:revision:55636 svn:branch:trunk svn:account:phoenixyjll --- include/brep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/brep.h b/include/brep.h index 27ddda2b3df..0f6a8347f3c 100644 --- a/include/brep.h +++ b/include/brep.h @@ -1849,7 +1849,7 @@ class ON_CLASS BREP_EXPORT ON_PX_EVENT no_px_event = 0, ppx_point = 1, // point-point intersection pcx_point = 2, // point-curve intersection - psx_point = 3, // point-surface intersection + psx_point = 3 // point-surface intersection }; TYPE m_type; From aa99ce5b71d77516b5d1e90274cada584ccc4776 Mon Sep 17 00:00:00 2001 From: Wu Jianbang Date: Mon, 3 Jun 2013 13:48:45 +0000 Subject: [PATCH 031/149] remove the unused variable names to quell compiler warnings. svn:revision:55637 svn:branch:trunk svn:account:phoenixyjll --- src/libbrep/intersect.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/libbrep/intersect.cpp b/src/libbrep/intersect.cpp index e5193b55fc9..3c59215f664 100644 --- a/src/libbrep/intersect.cpp +++ b/src/libbrep/intersect.cpp @@ -64,11 +64,11 @@ ON_Intersect(const ON_3dPoint& pointA, * Point-curve intersections (PCI) */ bool -ON_Intersect(const ON_3dPoint& pointA, - const ON_Curve& curveB, - ON_ClassArray& x, - double tolerance, - const ON_Interval* curveB_domain) +ON_Intersect(const ON_3dPoint&, + const ON_Curve&, + ON_ClassArray&, + double, + const ON_Interval*) { // Implement later. return false; @@ -78,12 +78,12 @@ ON_Intersect(const ON_3dPoint& pointA, * Point-surface intersections (PSI) */ bool -ON_Intersect(const ON_3dPoint& pointA, - const ON_Surface& surfaceB, - ON_ClassArray& x, - double tolerance, - const ON_Interval* surfaceB_udomain, - const ON_Interval* surfaceB_vdomain) +ON_Intersect(const ON_3dPoint&, + const ON_Surface&, + ON_ClassArray&, + double, + const ON_Interval*, + const ON_Interval*) { // Implement later. return false; From 688ced4739d2edf0b996f7dfc81337ae0f143222 Mon Sep 17 00:00:00 2001 From: Wu Jianbang Date: Mon, 3 Jun 2013 13:57:47 +0000 Subject: [PATCH 032/149] Oops, forget to add px_event.cpp to the CMakeList and Makefile. svn:revision:55638 svn:branch:trunk svn:account:phoenixyjll --- src/libbrep/CMakeLists.txt | 1 + src/libbrep/Makefile.am | 3 ++- src/libbrep/px_event.cpp | 18 +++++++++--------- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/libbrep/CMakeLists.txt b/src/libbrep/CMakeLists.txt index 2de6e879322..ec4f85d2046 100644 --- a/src/libbrep/CMakeLists.txt +++ b/src/libbrep/CMakeLists.txt @@ -23,6 +23,7 @@ set(LIBBREP_SOURCES libbrep_brep_tools.cpp opennurbs_ext.cpp #opennurbs_fit.cpp + px_event.cpp PullbackCurve.cpp ssx_event.cpp ) diff --git a/src/libbrep/Makefile.am b/src/libbrep/Makefile.am index ee22b5059ac..d30f423b76b 100644 --- a/src/libbrep/Makefile.am +++ b/src/libbrep/Makefile.am @@ -17,7 +17,8 @@ libbrep_nil_la_SOURCES = \ intersect.cpp \ PullbackCurve.cpp \ opennurbs_ext.cpp \ - ssx_event.cpp + ssx_event.cpp \ + px_event.cpp libbrep_nil_la_LIBADD = ${OPENNURBS} diff --git a/src/libbrep/px_event.cpp b/src/libbrep/px_event.cpp index eb621ea3146..a1efc90004e 100644 --- a/src/libbrep/px_event.cpp +++ b/src/libbrep/px_event.cpp @@ -45,15 +45,15 @@ ON_PX_EVENT::Compare(const ON_PX_EVENT* a, const ON_PX_EVENT* b) } bool -ON_PX_EVENT::IsValid(ON_TextLog* text_log, - double intersection_tolerance, - const class ON_3dPoint* pointA, - const class ON_3dPoint* pointB, - const class ON_Curve* curveB, - const class ON_Interval* curveB_domain, - const class ON_Surface* surfaceB, - const class ON_Interval* surfaceB_domain0, - const class ON_Interval* surfaceB_domain1) const +ON_PX_EVENT::IsValid(ON_TextLog*, + double, + const class ON_3dPoint*, + const class ON_3dPoint*, + const class ON_Curve*, + const class ON_Interval*, + const class ON_Surface*, + const class ON_Interval*, + const class ON_Interval*) const { // Implement later. return true; From b5761225d232cdb93eaab866baff0faff9e10c47 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Mon, 3 Jun 2013 17:08:17 +0000 Subject: [PATCH 033/149] remove unused var svn:revision:55639 svn:branch:trunk svn:account:brlcad --- src/librt/primitives/brep/brep.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/librt/primitives/brep/brep.cpp b/src/librt/primitives/brep/brep.cpp index bb61e6f3789..e8c59aed75b 100644 --- a/src/librt/primitives/brep/brep.cpp +++ b/src/librt/primitives/brep/brep.cpp @@ -2944,7 +2944,6 @@ void poly2tri_CDT(struct bu_list *vhead, ON_BrepFace &face, double t0, t1; trim->GetDomain(&t0, &t1); ON_2dPoint p2d = trim->PointAtStart(); - ON_2dPoint end_p2d = trim->PointAtEnd(); std::map::const_iterator i; for (i = param_points3d->begin(); i != param_points3d->end();) { From 53f8a47ece1a6a12ad9bd521884260a1a2c1441b Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Mon, 3 Jun 2013 18:10:12 +0000 Subject: [PATCH 034/149] provide solid_name in fixing warning messages svn:revision:55640 svn:branch:trunk svn:account:carlmoore --- src/liboptical/sh_treetherm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/liboptical/sh_treetherm.c b/src/liboptical/sh_treetherm.c index eb884045db6..575d5be127a 100644 --- a/src/liboptical/sh_treetherm.c +++ b/src/liboptical/sh_treetherm.c @@ -543,6 +543,7 @@ tthrm_render(struct application *ap, const struct partition *pp, struct shadewor register struct tthrm_specific *tthrm_sp = (struct tthrm_specific *)dp; struct rt_part_internal *part_p; + char *solid_name; point_t pt; vect_t pt_v; @@ -554,6 +555,8 @@ tthrm_render(struct application *ap, const struct partition *pp, struct shadewor double Vdot; int node; + solid_name = pp->pt_inseg->seg_stp->st_dp->d_namep; + /* check the validity of the arguments we got */ RT_AP_CHECK(ap); RT_CHECK_PT(pp); @@ -574,7 +577,7 @@ tthrm_render(struct application *ap, const struct partition *pp, struct shadewor if (solid_number > tthrm_sp->tt_max_seg) { bu_log("%s:%d solid name %s has solid number higher than %ld\n", - __FILE__, __LINE__, tthrm_sp->tt_max_seg); + __FILE__, __LINE__, solid_name, tthrm_sp->tt_max_seg); bu_bomb("Choke! ack! gasp! wheeeeeeze.\n"); } From 5bf185cba009749bfeb47a889c7bae7a2756fc0e Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Mon, 3 Jun 2013 19:06:59 +0000 Subject: [PATCH 035/149] clean up the handling of h and ? as help svn:revision:55641 svn:branch:trunk svn:account:carlmoore --- src/util/dsp_add.c | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/src/util/dsp_add.c b/src/util/dsp_add.c index 7ed73bb711a..823dde1ea53 100644 --- a/src/util/dsp_add.c +++ b/src/util/dsp_add.c @@ -37,7 +37,7 @@ /* declarations to support use of bu_getopt() system call */ -char *options = "h"; +char *options = "h?"; char *progname = "(noname)"; #define ADD_STYLE_INT 0 @@ -51,8 +51,8 @@ void usage(char *s) { if (s) (void)fputs(s, stderr); - (void) fprintf(stderr, "Usage: %s [ -%s ] dsp_1 dsp_2 > dsp_3\n", - progname, options); + (void) fprintf(stderr, "Usage: %s dsp_1 dsp_2 > dsp_3\n", + progname); bu_exit (1, NULL); } @@ -70,15 +70,11 @@ int parse_args(int ac, char *av[]) else ++progname; - /* Turn off bu_getopt's error messages */ - bu_opterr = 0; - /* get all the option flags from the command line */ while ((c=bu_getopt(ac, av, options)) != -1) switch (c) { - case '?' : - case 'h' : - default : usage("Bad or help flag specified\n"); break; + default: + usage(""); } return bu_optind; @@ -181,9 +177,9 @@ main(int ac, char *av[]) struct stat sb; size_t ret; - next_arg = parse_args(ac, av); + if (isatty(fileno(stdout))) usage("Must redirect standard output\n"); - if (isatty(fileno(stdout))) usage("Redirect standard output\n"); + next_arg = parse_args(ac, av); if (next_arg >= ac) usage("No files specified\n"); From 8c5b0c4d4dcb20740df87f721ddbb16b8d6b3d06 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Mon, 3 Jun 2013 19:07:18 +0000 Subject: [PATCH 036/149] more comment conversion for the new PP PC functions // -> /* */ and eliminate tons of trailing ws. svn:revision:55642 svn:branch:trunk svn:account:brlcad --- include/brep.h | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/include/brep.h b/include/brep.h index 0f6a8347f3c..30963fdb1d2 100644 --- a/include/brep.h +++ b/include/brep.h @@ -1784,17 +1784,18 @@ ON_Intersect(const ON_Surface* surfA, const ON_Interval* surfaceB_udomain = 0, const ON_Interval* surfaceB_vdomain = 0); -// The ON_PX_EVENT class is used to report point-point, point-curve -// and point-surface intersection events. +/* The ON_PX_EVENT class is used to report point-point, point-curve + * and point-surface intersection events. + */ class ON_CLASS BREP_EXPORT ON_PX_EVENT { public: - // Default construction sets everything to zero. + /* Default construction sets everything to zero. */ ON_PX_EVENT(); /* Description: - Compares point intersection events and sorts them in the + Compares point intersection events and sorts them in the canonical order. Returns: @untitled table @@ -1814,9 +1815,9 @@ class ON_CLASS BREP_EXPORT ON_PX_EVENT Parameters: text_log - [in] If not null and an error is found, then a description of the error is printed to text_log. - intersection_tolerance - [in] + intersection_tolerance - [in] 0.0 or value used in intersection calculation. - pointA - [in] + pointA - [in] NULL or pointA passed to intersection calculation. pointB - [in] NULL or pointB passed to intersection calculation. @@ -1845,26 +1846,28 @@ class ON_CLASS BREP_EXPORT ON_PX_EVENT void Dump(ON_TextLog& text_log) const; - enum TYPE { + enum TYPE { no_px_event = 0, - ppx_point = 1, // point-point intersection - pcx_point = 2, // point-curve intersection - psx_point = 3 // point-surface intersection + ppx_point = 1, /* point-point intersection */ + pcx_point = 2, /* point-curve intersection */ + psx_point = 3 /* point-surface intersection */ }; TYPE m_type; - ON_3dPoint m_A; // Point A in 3D space - ON_3dPoint m_B; // Point B in 3D space + ON_3dPoint m_A; /* Point A in 3D space */ + ON_3dPoint m_B; /* Point B in 3D space */ - ON_2dPoint m_b; // Point B in 2D space for the curve/surface - // For a curve, m_b[1] == 0 - // For a point, m_b[0] == m_b[1] == 0 + ON_2dPoint m_b; /* Point B in 2D space for the curve/surface + * For a curve, m_b[1] == 0 + * For a point, m_b[0] == m_b[1] == 0 + */ - ON_3dPoint m_Mid; // The mid-point of Point A and Point B - double m_radius; // To trace the uncertainty area + ON_3dPoint m_Mid; /* The mid-point of Point A and Point B */ + double m_radius; /* To trace the uncertainty area */ }; + /** * An overload of ON_Intersect for point-point intersection. * From b494023d25f9abba8a12da70cef9006aa5fd77e7 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Tue, 4 Jun 2013 02:38:55 +0000 Subject: [PATCH 037/149] test for fileno() since the function disappears in c99 pedantic mode (it's a posix function). instead, check for kill() and fileno() being declared. svn:revision:55643 svn:branch:trunk svn:account:brlcad --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d85a0a31cf..6494e76c487 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1662,6 +1662,7 @@ BRLCAD_FUNCTION_EXISTS(alarm HAVE_ALARM) BRLCAD_FUNCTION_EXISTS(dlopen HAVE_DLOPEN) BRLCAD_FUNCTION_EXISTS(drand48 HAVE_DRAND48) BRLCAD_FUNCTION_EXISTS(fchmod HAVE_FCHMOD) +BRLCAD_FUNCTION_EXISTS(fileno HAVE_FILENO) BRLCAD_FUNCTION_EXISTS(fsync HAVE_FSYNC) BRLCAD_FUNCTION_EXISTS(getcwd HAVE_GETCWD) BRLCAD_FUNCTION_EXISTS(getegid HAVE_GETEGID) @@ -1697,6 +1698,12 @@ BRLCAD_FUNCTION_EXISTS(vfork HAVE_VFORK) BRLCAD_FUNCTION_EXISTS(vsscanf HAVE_VSSCANF) BRLCAD_FUNCTION_EXISTS(writev HAVE_WRITEV) +# we may compile in strict pedantic mode, but still want access to +# some POSIX functions. test whether these symbols are declared in +# addition to whether they exist (above). +CHECK_PROTOTYPE_EXISTS(kill "sys/types.h;signal.h" HAVE_DECL_KILL) +CHECK_PROTOTYPE_EXISTS(fileno "stdio.h" HAVE_DECL_FILENO) + # On Windows, we need to check for hypot etc.. This test pertains # to the windows specific config file, not CONFIG_H_FILE - hence, # just run the test and it will be handled by configure_file later. From d22fa72308df255a1db369a4b6dc7a67a52d9432 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Tue, 4 Jun 2013 03:10:27 +0000 Subject: [PATCH 038/149] need stdlib.h for modf() and nextafter() but remove the long double support since it requires build system infrastructure. several relatively common platforms (some not so common, some common) don't support long doubles. (gnulib quotes FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, HP-UX 11, IRIX 6.5, Solaris 9, Cygwin, Interix 3.5) moreover, we'd need other changes to make fastf_t be more than single or double precision. svn:revision:55644 svn:branch:trunk svn:account:brlcad --- src/libbn/plane.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/libbn/plane.c b/src/libbn/plane.c index a71e3fcd5b5..06fc943e703 100644 --- a/src/libbn/plane.c +++ b/src/libbn/plane.c @@ -28,9 +28,10 @@ #include "common.h" +#include +#include #include #include -#include #include "bu.h" #include "vmath.h" @@ -1756,11 +1757,6 @@ are_equal(fastf_t a_in, fastf_t b_in, fastf_t t) b = nextafter((double)b_in, (double)a_in); af = modf((double)a, (double *)&ai); bf = modf((double)b, (double *)&bi); - } else if (sizeof(fastf_t) == sizeof(long double)) { - a = nextafterl((long double)a_in, (long double)b_in); - b = nextafterl((long double)b_in, (long double)a_in); - af = modfl((long double)a, (long double *)&ai); - bf = modfl((long double)b, (long double *)&bi); } else { bu_bomb("are_equal(): unexpect size for type fastf_t"); } From edf8211a02287f4b49bb00764d317f0be62fe8c5 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Tue, 4 Jun 2013 03:12:44 +0000 Subject: [PATCH 039/149] windows has fileno() (because we define it to _fileno()), and there aren't c99 declaration issues because msvc doesn't give a hoot about it. svn:revision:55645 svn:branch:trunk svn:account:brlcad --- include/config_win.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/config_win.h b/include/config_win.h index 986c761f20a..cfa7f4927ef 100644 --- a/include/config_win.h +++ b/include/config_win.h @@ -75,8 +75,11 @@ * declare results of configure tests */ +#define HAVE_DECL_FILENO 1 + #define HAS_OPENGL 1 #define HAVE_FCNTL_H 1 +#define HAVE_FILENO 1 #define HAVE_GETFULLPATHNAME 1 #define HAVE_GETHOSTNAME 1 #define HAVE_GETPROGNAME 1 From 1307243f5bc448a920acaa108e956447009f6ae9 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Tue, 4 Jun 2013 03:16:03 +0000 Subject: [PATCH 040/149] ditto, we have fileno() svn:revision:55646 svn:branch:trunk svn:account:brlcad --- include/config_win_cmake.h.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/config_win_cmake.h.in b/include/config_win_cmake.h.in index ff54823a992..eb7f5381887 100644 --- a/include/config_win_cmake.h.in +++ b/include/config_win_cmake.h.in @@ -62,8 +62,11 @@ * declare results of configure tests */ +#define HAVE_DECL_FILENO 1 + #define HAS_OPENGL 1 #define HAVE_FCNTL_H 1 +#define HAVE_FILENO 1 #define HAVE_GETFULLPATHNAME 1 #define HAVE_GETHOSTNAME 1 #define HAVE_GETPROGNAME 1 From 01fd6bf797b83b21be5df03ce85f944b3cfc4908 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Tue, 4 Jun 2013 03:24:27 +0000 Subject: [PATCH 041/149] hook off of the configure tests so we don't get duplciate declarations when the posix kill() and fileno() functions are available. svn:revision:55647 svn:branch:trunk svn:account:brlcad --- src/libbu/backtrace.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/libbu/backtrace.c b/src/libbu/backtrace.c index fc3b1e82955..c9b1dfd10ec 100644 --- a/src/libbu/backtrace.c +++ b/src/libbu/backtrace.c @@ -46,12 +46,15 @@ #include "bu.h" -/* c99 doesn't declare these */ -#ifdef HAVE_KILL +/* strict c99 doesn't declare kill() (but POSIX does) */ +#if defined(HAVE_KILL) && !defined(HAVE_DECL_KILL) extern int kill(pid_t, int); #endif -#ifndef fileno +/* fileno() may be a macro (e.g., Windows) or may not even be declared + * when compiling strict, but declare it as needed + */ +#if defined(HAVE_FILENO) && !defined(HAVE_DECL_FILENO) extern int fileno(FILE*); #endif From 90e8bc6b19882013b7cddc58a76e234bb6c7909a Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Tue, 4 Jun 2013 03:38:52 +0000 Subject: [PATCH 042/149] the ctype functions technically take an 'int' derived from an unsigned char, so netbsd is appropriately warning about the danger passing a signed char. we know these are strings, so casting to unsigned char is sufficient to quell. svn:revision:55648 svn:branch:trunk svn:account:brlcad --- src/libbu/units.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/libbu/units.c b/src/libbu/units.c index f235fba0de8..01ae5e46380 100644 --- a/src/libbu/units.c +++ b/src/libbu/units.c @@ -183,28 +183,28 @@ units_name_matches(const char *input, const char *name) name = ""; /* skip spaces */ - while (isspace(*input)) + while (isspace((unsigned char)*input)) input++; - while (isspace(*name)) + while (isspace((unsigned char)*name)) name++; /* quick exit */ - if (tolower(input[0]) != tolower(name[0])) + if (tolower((unsigned char)input[0]) != tolower((unsigned char)name[0])) return 0; cp = input; /* skip spaces, convert to lowercase */ while (*cp != '\0') { - if (!isspace(*cp)) - bu_vls_putc(&normalized_input, tolower(*cp)); + if (!isspace((unsigned char)*cp)) + bu_vls_putc(&normalized_input, tolower((unsigned char)*cp)); cp++; } cp = name; /* skip spaces, convert to lowercase */ while (*cp != '\0') { - if (!isspace(*cp)) - bu_vls_putc(&normalized_name, tolower(*cp)); + if (!isspace((unsigned char)*cp)) + bu_vls_putc(&normalized_name, tolower((unsigned char)*cp)); cp++; } From 6ffbab87ee4234af166d395b54460b2fec620fc1 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Tue, 4 Jun 2013 03:56:57 +0000 Subject: [PATCH 043/149] revert r54119 by caen23 that made debug compilation also use gnu99 instead of gnu89. as noted in the preceding comment, we intentionally compile with both to provoke more warnings. need more info on the clang failures. svn:revision:55649 svn:branch:trunk svn:account:brlcad --- misc/CMake/CompilerFlags.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/CMake/CompilerFlags.cmake b/misc/CMake/CompilerFlags.cmake index 11db164d653..4fad6b9e87b 100644 --- a/misc/CMake/CompilerFlags.cmake +++ b/misc/CMake/CompilerFlags.cmake @@ -257,7 +257,7 @@ BRLCAD_CHECK_C_FLAG(msse3 BUILD_TYPES Debug) # and use gnu99 here - c99 has problems on Linux. # BRLCAD_CHECK_C_FLAG("std=gnu1x") BRLCAD_CHECK_C_FLAG("std=gnu99" BUILD_TYPES Release VARS C99_FLAG) -BRLCAD_CHECK_C_FLAG("std=gnu99" BUILD_TYPES Debug VARS C99_FLAG) +BRLCAD_CHECK_C_FLAG("std=gnu89" BUILD_TYPES Debug) # Silence check for unused arguments (used to silence clang warnings about # unused options on the command line). By default clang generates a lot of From fc6ef4950d7be42d6ec4c02d1271f9f5ece16a60 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Tue, 4 Jun 2013 04:02:32 +0000 Subject: [PATCH 044/149] separate the comments so it's more obvious that we intentionally use two different standards during compilation testing. svn:revision:55650 svn:branch:trunk svn:account:brlcad --- misc/CMake/CompilerFlags.cmake | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/misc/CMake/CompilerFlags.cmake b/misc/CMake/CompilerFlags.cmake index 4fad6b9e87b..c4c12fa57bb 100644 --- a/misc/CMake/CompilerFlags.cmake +++ b/misc/CMake/CompilerFlags.cmake @@ -244,20 +244,20 @@ BRLCAD_CHECK_CXX_FLAG(ftemplate-depth-128) # BRLCAD_CHECK_C_FLAG(msse2) BRLCAD_CHECK_C_FLAG(msse3 BUILD_TYPES Debug) -# Check for c90 support with gnu extensions if we're not building for a -# release and c99 support with gnu extensions when we are building for a -# release just so we get broader portability testing - default development -# mode is Debug, so the default behavior will be to keep things working -# with the less feature-rich C standard. +# Check for c90 support with gnu extensions if we're not building for +# a release so we get more broad portability testing. Since the +# default is debug, it will be the more difficult to keep working +# given it's the lesser feature-rich C standard. +BRLCAD_CHECK_C_FLAG("std=gnu89" BUILD_TYPES Debug) + +# Check for c99 support with gnu extensions when we are building for a +# release so we get to leverage more system features where available. # -# Also check for c99 conformance regardless since some platform +# Also check for c99 conformance (with extensions) since some platform # environments require it due to c99-specific system headers (e.g., # /System/Library/Frameworks/OpenGL.framework/Headers/gl.h on Mac OS X -# having '//' comments embedded). Do as the Autotools system did -# and use gnu99 here - c99 has problems on Linux. -# BRLCAD_CHECK_C_FLAG("std=gnu1x") +# having '//' comments embedded). BRLCAD_CHECK_C_FLAG("std=gnu1x") BRLCAD_CHECK_C_FLAG("std=gnu99" BUILD_TYPES Release VARS C99_FLAG) -BRLCAD_CHECK_C_FLAG("std=gnu89" BUILD_TYPES Debug) # Silence check for unused arguments (used to silence clang warnings about # unused options on the command line). By default clang generates a lot of From 3f7c323f1a8ebe8d4337f7c704db03efef0c6db3 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Tue, 4 Jun 2013 04:20:02 +0000 Subject: [PATCH 045/149] the gnu1x line was leftover, remove svn:revision:55651 svn:branch:trunk svn:account:brlcad --- misc/CMake/CompilerFlags.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/CMake/CompilerFlags.cmake b/misc/CMake/CompilerFlags.cmake index c4c12fa57bb..3f5572fb819 100644 --- a/misc/CMake/CompilerFlags.cmake +++ b/misc/CMake/CompilerFlags.cmake @@ -256,7 +256,7 @@ BRLCAD_CHECK_C_FLAG("std=gnu89" BUILD_TYPES Debug) # Also check for c99 conformance (with extensions) since some platform # environments require it due to c99-specific system headers (e.g., # /System/Library/Frameworks/OpenGL.framework/Headers/gl.h on Mac OS X -# having '//' comments embedded). BRLCAD_CHECK_C_FLAG("std=gnu1x") +# having '//' comments embedded). BRLCAD_CHECK_C_FLAG("std=gnu99" BUILD_TYPES Release VARS C99_FLAG) # Silence check for unused arguments (used to silence clang warnings about From 6f92c38dbbcdab764571b30425da8f769111adfa Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Tue, 4 Jun 2013 04:21:32 +0000 Subject: [PATCH 046/149] two more warnings to aspire to svn:revision:55652 svn:branch:trunk svn:account:brlcad --- misc/CMake/BRLCAD_CompilerFlags.cmake | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/misc/CMake/BRLCAD_CompilerFlags.cmake b/misc/CMake/BRLCAD_CompilerFlags.cmake index 4c9c9599996..f7cd871e008 100644 --- a/misc/CMake/BRLCAD_CompilerFlags.cmake +++ b/misc/CMake/BRLCAD_CompilerFlags.cmake @@ -107,6 +107,14 @@ if(BRLCAD_ENABLE_COMPILER_WARNINGS OR BRLCAD_ENABLE_STRICT) BRLCAD_CHECK_C_FLAG(Wshadow) BRLCAD_CHECK_CXX_FLAG(Wshadow) +# report where we throw away const +# BRLCAD_CHECK_C_FLAG(Wcast-qual) +# BRLCAD_CHECK_CXX_FLAG(Wcast-qual) + +# check for redundant declarations +# BRLCAD_CHECK_C_FLAG(Wredundant-decls) +# BRLCAD_CHECK_CXX_FLAG(Wredundant-decls) + # want C inline warnings, but versions of g++ (circa 4.7) spew # unquellable bogus warnings on default constructors that we don't # have access to (e.g., in opennurbs and boost), so turn them off From 3f2bb59b8592b31cfc8e62f2a2769b39f08b321d Mon Sep 17 00:00:00 2001 From: Wu Jianbang Date: Tue, 4 Jun 2013 04:27:38 +0000 Subject: [PATCH 047/149] run ws.sh on src/libbrep svn:revision:55653 svn:branch:trunk svn:account:phoenixyjll --- src/libbrep/PullbackCurve.cpp | 2 +- src/libbrep/libbrep_brep_tools.cpp | 73 +++++++++++++++--------------- src/libbrep/libbrep_brep_tools.h | 16 +++---- src/libbrep/opennurbs_ext.cpp | 4 +- src/libbrep/opennurbs_fit.cpp | 6 +-- 5 files changed, 50 insertions(+), 51 deletions(-) diff --git a/src/libbrep/PullbackCurve.cpp b/src/libbrep/PullbackCurve.cpp index f75823c5aa6..1680ab711d4 100644 --- a/src/libbrep/PullbackCurve.cpp +++ b/src/libbrep/PullbackCurve.cpp @@ -927,7 +927,7 @@ resolve_seam_point_from_prev( } if (surf->IsClosed(1) && - (NEAR_EQUAL(pt.y, vmin, PBC_TOL) || NEAR_EQUAL(pt.y, vmax, PBC_TOL))) + (NEAR_EQUAL(pt.y, vmin, PBC_TOL) || NEAR_EQUAL(pt.y, vmax, PBC_TOL))) { if (fabs(prev_pt.y - vmin) < fabs(prev_pt.y - vmax)) { newpt.y = vmin; diff --git a/src/libbrep/libbrep_brep_tools.cpp b/src/libbrep/libbrep_brep_tools.cpp index 5ec502e1cc3..c2ba37844e5 100644 --- a/src/libbrep/libbrep_brep_tools.cpp +++ b/src/libbrep/libbrep_brep_tools.cpp @@ -29,38 +29,38 @@ // For any pre-existing surface passed as one of the t* args, this is a no-op void ON_Surface_Create_Scratch_Surfaces( - ON_Surface **t1, - ON_Surface **t2, - ON_Surface **t3, - ON_Surface **t4) + ON_Surface **t1, + ON_Surface **t2, + ON_Surface **t3, + ON_Surface **t4) { if (!(*t1)) { - ON_NurbsSurface *nt1 = ON_NurbsSurface::New(); - (*t1)= (ON_Surface *)(nt1); + ON_NurbsSurface *nt1 = ON_NurbsSurface::New(); + (*t1)= (ON_Surface *)(nt1); } if (!(*t2)) { - ON_NurbsSurface *nt2 = ON_NurbsSurface::New(); - (*t2)= (ON_Surface *)(nt2); + ON_NurbsSurface *nt2 = ON_NurbsSurface::New(); + (*t2)= (ON_Surface *)(nt2); } if (!(*t3)) { - ON_NurbsSurface *nt3 = ON_NurbsSurface::New(); - (*t3)= (ON_Surface *)(nt3); + ON_NurbsSurface *nt3 = ON_NurbsSurface::New(); + (*t3)= (ON_Surface *)(nt3); } if (!(*t4)) { - ON_NurbsSurface *nt4 = ON_NurbsSurface::New(); - (*t4)= (ON_Surface *)(nt4); + ON_NurbsSurface *nt4 = ON_NurbsSurface::New(); + (*t4)= (ON_Surface *)(nt4); } } bool ON_Surface_SubSurface( - const ON_Surface *srf, - ON_Interval *u_val, - ON_Interval *v_val, - ON_Surface **t1, - ON_Surface **t2, - ON_Surface **t3, - ON_Surface **t4, - ON_Surface **result + const ON_Surface *srf, + ON_Interval *u_val, + ON_Interval *v_val, + ON_Surface **t1, + ON_Surface **t2, + ON_Surface **t3, + ON_Surface **t4, + ON_Surface **result ) { bool split = true; @@ -70,15 +70,15 @@ bool ON_Surface_SubSurface( // Make sure we have intervals with non-zero lengths if ((u_val->Length() <= ON_ZERO_TOLERANCE) || (v_val->Length() <= ON_ZERO_TOLERANCE)) - return false; + return false; // If we have the original surface domain, just return true if ((fabs(u_val->Min() - srf->Domain(0).m_t[0]) <= ON_ZERO_TOLERANCE) && - (fabs(u_val->Max() - srf->Domain(0).m_t[1]) <= ON_ZERO_TOLERANCE) && - (fabs(v_val->Min() - srf->Domain(1).m_t[0]) <= ON_ZERO_TOLERANCE) && - (fabs(v_val->Max() - srf->Domain(1).m_t[1]) <= ON_ZERO_TOLERANCE)) { - (*result) = (ON_Surface *)srf; - return true; + (fabs(u_val->Max() - srf->Domain(0).m_t[1]) <= ON_ZERO_TOLERANCE) && + (fabs(v_val->Min() - srf->Domain(1).m_t[0]) <= ON_ZERO_TOLERANCE) && + (fabs(v_val->Max() - srf->Domain(1).m_t[1]) <= ON_ZERO_TOLERANCE)) { + (*result) = (ON_Surface *)srf; + return true; } if (fabs(u_val->Min() - srf->Domain(0).m_t[0]) > ON_ZERO_TOLERANCE) last_split = 1; if (fabs(u_val->Max() - srf->Domain(0).m_t[1]) > ON_ZERO_TOLERANCE) last_split = 2; @@ -90,22 +90,22 @@ bool ON_Surface_SubSurface( ON_Surface *ssplit = (ON_Surface *)srf; ON_Surface_Create_Scratch_Surfaces(t1, t2, t3, t4); if (fabs(u_val->Min() - srf->Domain(0).m_t[0]) > ON_ZERO_TOLERANCE) { - if (last_split == 1) {target = t4;} else {target = t2;} - split = ssplit->Split(0, u_val->Min(), *t1, *target); - ssplit = *target; + if (last_split == 1) {target = t4;} else {target = t2;} + split = ssplit->Split(0, u_val->Min(), *t1, *target); + ssplit = *target; } if ((fabs(u_val->Max() - srf->Domain(0).m_t[1]) > ON_ZERO_TOLERANCE) && split) { - if (last_split == 2) {target = t4;} else {target = t1;} - split = ssplit->Split(0, u_val->Max(), *target, *t3); - ssplit = *target; + if (last_split == 2) {target = t4;} else {target = t1;} + split = ssplit->Split(0, u_val->Max(), *target, *t3); + ssplit = *target; } if ((fabs(v_val->Min() - srf->Domain(1).m_t[0]) > ON_ZERO_TOLERANCE) && split) { - if (last_split == 3) {target = t4;} else {target = t3;} - split = ssplit->Split(1, v_val->Min(), *t2, *target); - ssplit = *target; + if (last_split == 3) {target = t4;} else {target = t3;} + split = ssplit->Split(1, v_val->Min(), *t2, *target); + ssplit = *target; } if ((fabs(v_val->Max() - srf->Domain(1).m_t[1]) > ON_ZERO_TOLERANCE) && split) { - split = ssplit->Split(1, v_val->Max(), *t4, *t2); + split = ssplit->Split(1, v_val->Max(), *t4, *t2); } (*result) = *t4; if (t1_del) delete *t1; @@ -117,7 +117,6 @@ bool ON_Surface_SubSurface( } - // Local Variables: // tab-width: 8 // mode: C++ diff --git a/src/libbrep/libbrep_brep_tools.h b/src/libbrep/libbrep_brep_tools.h index 72f46e8d0e6..18cfb3b7e8a 100644 --- a/src/libbrep/libbrep_brep_tools.h +++ b/src/libbrep/libbrep_brep_tools.h @@ -69,14 +69,14 @@ */ NURBS_EXPORT bool ON_Surface_SubSurface( - const ON_Surface *srf, - ON_Interval *u_val, - ON_Interval *v_val, - ON_Surface **t1, - ON_Surface **t2, - ON_Surface **t3, - ON_Surface **t4, - ON_Surface **result + const ON_Surface *srf, + ON_Interval *u_val, + ON_Interval *v_val, + ON_Surface **t1, + ON_Surface **t2, + ON_Surface **t3, + ON_Surface **t4, + ON_Surface **result ); #endif /* __LIBBREP_BREP_TOOLS */ diff --git a/src/libbrep/opennurbs_ext.cpp b/src/libbrep/opennurbs_ext.cpp index ebd3fdf59a1..cde2e0b109d 100644 --- a/src/libbrep/opennurbs_ext.cpp +++ b/src/libbrep/opennurbs_ext.cpp @@ -486,9 +486,9 @@ CurveTree::getHVTangents(const ON_Curve* curve, ON_Interval& t, std::list TOL) + if (left.Length() > TOL) getHVTangents(curve, left, list); - if (right.Length() > TOL) + if (right.Length() > TOL) getHVTangents(curve, right, list); return true; } else if (tanx_changed) {//find horz diff --git a/src/libbrep/opennurbs_fit.cpp b/src/libbrep/opennurbs_fit.cpp index 7766b78927f..f283dd09ad4 100644 --- a/src/libbrep/opennurbs_fit.cpp +++ b/src/libbrep/opennurbs_fit.cpp @@ -327,16 +327,16 @@ solveSparseLinearSystemLQ (Eigen::SparseMatrix* A, Eigen::MatrixXd* b, E solver.compute(AtA); if(solver.info()!=Eigen::Success) { // decomposition failed - std::cout << "decomposition failed\n"; + std::cout << "decomposition failed\n"; } (*x) = solver.solve(Atb); if(solver.info()!=Eigen::Success) { - std::cout << "solver failed: " << solver.info() << "\n"; + std::cout << "solver failed: " << solver.info() << "\n"; return false; } else { - return true; + return true; } } From bad5352f41d8ecc0cbdf4879779aac997726b074 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Tue, 4 Jun 2013 05:30:53 +0000 Subject: [PATCH 048/149] so CHECK_PROTOTYPE_EXISTS() is woefully busted in numerous ways. assumes c++, has a bad symbol test, results in unused var warnings, and doesn't work with preprocessor-wrapped symbols coming from system headers. former versions of CHECK_SYMBOL_EXISTS() almost did exactly what we need (a simple (void)symbol; test just like AC_CHECK_DECL) but was bastardized in recent versions so it now spews an error too (it's busted and has been reported). svn:revision:55654 svn:branch:trunk svn:account:brlcad --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6494e76c487..2ca13117a37 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1700,9 +1700,9 @@ BRLCAD_FUNCTION_EXISTS(writev HAVE_WRITEV) # we may compile in strict pedantic mode, but still want access to # some POSIX functions. test whether these symbols are declared in -# addition to whether they exist (above). -CHECK_PROTOTYPE_EXISTS(kill "sys/types.h;signal.h" HAVE_DECL_KILL) -CHECK_PROTOTYPE_EXISTS(fileno "stdio.h" HAVE_DECL_FILENO) +# addition to whether they resolve (above). +CHECK_SYMBOL_EXISTS(kill "sys/types.h;signal.h" HAVE_DECL_KILL) +CHECK_SYMBOL_EXISTS(fileno "stdio.h" HAVE_DECL_FILENO) # On Windows, we need to check for hypot etc.. This test pertains # to the windows specific config file, not CONFIG_H_FILE - hence, From 67a0a5695d4b2621813f9258ef212b3f245b768f Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Tue, 4 Jun 2013 06:05:19 +0000 Subject: [PATCH 049/149] manually wrap a couple simple tests since both CHECK_SYMBOL_EXISTS and CHECK_PROTOTYPE_EXISTS appear to be completely unusable for testing header declarations. deserves a macro in the meantime, but the issue has been reported. svn:revision:55655 svn:branch:trunk svn:account:brlcad --- CMakeLists.txt | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ca13117a37..28f4ddef8ce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1699,10 +1699,30 @@ BRLCAD_FUNCTION_EXISTS(vsscanf HAVE_VSSCANF) BRLCAD_FUNCTION_EXISTS(writev HAVE_WRITEV) # we may compile in strict pedantic mode, but still want access to -# some POSIX functions. test whether these symbols are declared in -# addition to whether they resolve (above). -CHECK_SYMBOL_EXISTS(kill "sys/types.h;signal.h" HAVE_DECL_KILL) -CHECK_SYMBOL_EXISTS(fileno "stdio.h" HAVE_DECL_FILENO) +# some POSIX functions. test whether some symbols (below) are +# declared in addition to whether they resolve (above). +# +# we do this manually for now because CHECK_SYMBOL_EXISTS and +# CHECK_PROTOTYPE_EXISTS are both terribly broken. +# +# FIXME: wrap these into a BRLCAD_CHECK_SYMBOL() macro or similar. + +# test for kill() +if("${HAVE_DECL_KILL}" MATCHES "^${HAVE_DECL_KILL}$") + check_c_source_compiles("#include \n#include \nint main() { (void)kill; return 0; }" HAVE_DECL_KILL) + if(HAVE_DECL_KILL) + CONFIG_H_APPEND(BRLCAD "#cmakedefine HAVE_DECL_KILL 1\n") + endif(HAVE_DECL_KILL) +endif("${HAVE_DECL_KILL}" MATCHES "^${HAVE_DECL_KILL}$") + +# test for fileno() +if("${HAVE_DECL_FILENO}" MATCHES "^${HAVE_DECL_FILENO}$") + check_c_source_compiles("#include \nint main() { (void)fileno; return 0; }" HAVE_DECL_FILENO) + if(HAVE_DECL_FILENO) + CONFIG_H_APPEND(BRLCAD "#cmakedefine HAVE_DECL_FILENO 1\n") + endif(HAVE_DECL_FILENO) +endif("${HAVE_DECL_FILENO}" MATCHES "^${HAVE_DECL_FILENO}$") + # On Windows, we need to check for hypot etc.. This test pertains # to the windows specific config file, not CONFIG_H_FILE - hence, From 9a93c53377888783fbc1ad5fe23e4f28ec0e2b9f Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Tue, 4 Jun 2013 06:27:04 +0000 Subject: [PATCH 050/149] more ctype argument type cleansing svn:revision:55656 svn:branch:trunk svn:account:brlcad --- src/libfb/if_tk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libfb/if_tk.c b/src/libfb/if_tk.c index 5edf9d3b1e3..7cb539b02aa 100644 --- a/src/libfb/if_tk.c +++ b/src/libfb/if_tk.c @@ -113,7 +113,7 @@ fb_tk_open(FBIO *ifp, const char *file, int width, int height) /* set debug bit vector */ if (file != NULL) { const char *cp; - for (cp = file; *cp != '\0' && !isdigit(*cp); cp++) + for (cp = file; *cp != '\0' && !isdigit((unsigned char)*cp); cp++) ; sscanf(cp, "%d", &ifp->if_debug); } else { From 4382fb259f7609b1b2ff9a9ea9d4986545ef166a Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Tue, 4 Jun 2013 11:37:44 +0000 Subject: [PATCH 051/149] thanks netbsd 5 ... they partially implemented TLS support so it compiles and links, but will simply crash at runtime. (gives __tls_get_addr() runtime link failure on library linkage) change the test to also run the test, not just compile it for the __thread test only to catch this failure. pthread fallback should hopefully still work. svn:revision:55657 svn:branch:trunk svn:account:brlcad --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 28f4ddef8ce..18b125ca1a7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1628,13 +1628,15 @@ BRLCAD_TYPE_SIZE("uint64_t" "") BRLCAD_TYPE_SIZE("uintptr_t" "") BRLCAD_TYPE_SIZE("sig_t" "signal.h") + # see if we have a TLS intrinsic, first check C++11 compliance check_cxx_source_compiles("static thread_local int i = 0; int main() { return i; }" HAVE_THREAD_LOCAL) if (HAVE_THREAD_LOCAL) CONFIG_H_APPEND(BRLCAD "#define HAVE_THREAD_LOCAL 1\n") else (HAVE_THREAD_LOCAL) # try GCC except Mac OS X - check_cxx_source_compiles("static __thread int i = 0; int main() { return i; }" HAVE___THREAD) + include(CheckCXXSourceRuns) + check_cxx_source_runs("static __thread int i = 0; int main() { return i; }" HAVE___THREAD) if (HAVE___THREAD) CONFIG_H_APPEND(BRLCAD "#define HAVE___THREAD 1\n") else (HAVE___THREAD) From 42e3a57199fc98e311addd08565f4e6f7d54123f Mon Sep 17 00:00:00 2001 From: Wu Jianbang Date: Tue, 4 Jun 2013 12:13:48 +0000 Subject: [PATCH 052/149] Eliminate max_dis in the brep command for SSI. svn:revision:55658 svn:branch:trunk svn:account:phoenixyjll --- src/libged/brep.c | 15 ++++++++------- src/librt/primitives/brep/brep_debug.cpp | 4 ++-- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/libged/brep.c b/src/libged/brep.c index a136b6c1e51..00ad7ec822e 100644 --- a/src/libged/brep.c +++ b/src/libged/brep.c @@ -42,7 +42,7 @@ RT_EXPORT extern int brep_command(struct bu_vls *vls, const char *solid_name, const struct rt_tess_tol *ttol, const struct bn_tol *tol, struct brep_specific* bs, struct rt_brep_internal* bi, struct bn_vlblock *vbp, int argc, const char *argv[], char *commtag); RT_EXPORT extern int brep_conversion(struct rt_db_internal *intern, ON_Brep **brep); RT_EXPORT extern int brep_conversion_comb(struct rt_db_internal *old_internal, char *name, char *suffix, struct rt_wdb *wdbp, fastf_t local2mm); -RT_EXPORT extern int brep_intersect(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j, struct bn_vlblock *vbp, double max_dis); +RT_EXPORT extern int brep_intersect(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j, struct bn_vlblock *vbp); RT_EXPORT extern int rt_brep_boolean(struct rt_db_internal *out, const struct rt_db_internal *ip1, const struct rt_db_internal *ip2, const int operation); #else extern int brep_surface_plot(struct ged *gedp, struct brep_specific* bs, struct rt_brep_internal* bi, struct bn_vlblock *vbp, int index); @@ -80,7 +80,7 @@ ged_brep(struct ged *gedp, int argc, const char *argv[]) bu_vls_printf(gedp->ged_result_str, "\tplot - plot entire BREP\n"); bu_vls_printf(gedp->ged_result_str, "\tplot S [index] - plot specific BREP 'surface'\n"); bu_vls_printf(gedp->ged_result_str, "\tplot F [index] - plot specific BREP 'face'\n"); - bu_vls_printf(gedp->ged_result_str, "\tintersect obj2 i j [max_dis] - intersect two surfaces\n"); + bu_vls_printf(gedp->ged_result_str, "\tintersect obj2 i j - intersect two surfaces\n"); bu_vls_printf(gedp->ged_result_str, "\t[brepname] - convert the non-BREP object to BREP form\n"); bu_vls_printf(gedp->ged_result_str, "\t[suffix] - convert non-BREP comb to unevaluated BREP form\n"); return GED_HELP; @@ -116,9 +116,12 @@ ged_brep(struct ged *gedp, int argc, const char *argv[]) struct rt_db_internal intern2; int i, j; - /* we need at least 6 arguments */ - if (argc < 6) + /* we need exactly 6 arguments */ + if (argc != 6) { + bu_vls_printf(gedp->ged_result_str, "There should be 6 arguments for intersection.\n"); + bu_vls_printf(gedp->ged_result_str, "See the usage for help.\n"); return GED_ERROR; + } /* get the other solid */ if ((ndp = db_lookup(gedp->ged_wdbp->dbip, argv[3], LOOKUP_NOISY)) == RT_DIR_NULL) { @@ -141,9 +144,7 @@ ged_brep(struct ged *gedp, int argc, const char *argv[]) vbp = rt_vlblock_init(); if (argc == 6) { - brep_intersect(&intern, &intern2, i, j, vbp, 0.0); - } else { - brep_intersect(&intern, &intern2, i, j, vbp, atof(argv[6])); + brep_intersect(&intern, &intern2, i, j, vbp); } _ged_cvt_vlblock_to_solids(gedp, vbp, namebuf, 0); diff --git a/src/librt/primitives/brep/brep_debug.cpp b/src/librt/primitives/brep/brep_debug.cpp index adbeb8e177b..af20e882db4 100644 --- a/src/librt/primitives/brep/brep_debug.cpp +++ b/src/librt/primitives/brep/brep_debug.cpp @@ -55,7 +55,7 @@ extern "C" { RT_EXPORT extern int brep_command(struct bu_vls *vls, const char *solid_name, const struct rt_tess_tol* ttol, const struct bn_tol* tol, struct brep_specific* bs, struct rt_brep_internal* bi, struct bn_vlblock *vbp, int argc, const char *argv[], char *commtag); RT_EXPORT extern int brep_conversion(struct rt_db_internal* intern, ON_Brep** brep); RT_EXPORT extern int brep_conversion_comb(struct rt_db_internal *old_internal, char *name, char *suffix, struct rt_wdb *wdbp, fastf_t local2mm); - RT_EXPORT extern int brep_intersect(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j, struct bn_vlblock* vbp, double max_dis); + RT_EXPORT extern int brep_intersect(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j, struct bn_vlblock* vbp); #ifdef __cplusplus } #endif @@ -2769,7 +2769,7 @@ brep_command(struct bu_vls *vls, const char *solid_name, const struct rt_tess_to } -int brep_intersect(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j, struct bn_vlblock *vbp, double) +int brep_intersect(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j, struct bn_vlblock *vbp) { RT_CK_DB_INTERNAL(intern1); RT_CK_DB_INTERNAL(intern2); From c1832dab00512cc5fb7ed18514a87031513e5368 Mon Sep 17 00:00:00 2001 From: Wu Jianbang Date: Tue, 4 Jun 2013 13:45:30 +0000 Subject: [PATCH 053/149] Extended the brep command to handle P/P, P/C, P/S, C/C and C/S. svn:revision:55659 svn:branch:trunk svn:account:phoenixyjll --- src/libged/brep.c | 31 +++-- src/librt/primitives/brep/brep_debug.cpp | 140 ++++++++++++++++++++++- 2 files changed, 162 insertions(+), 9 deletions(-) diff --git a/src/libged/brep.c b/src/libged/brep.c index 00ad7ec822e..b9a9e01787f 100644 --- a/src/libged/brep.c +++ b/src/libged/brep.c @@ -42,7 +42,12 @@ RT_EXPORT extern int brep_command(struct bu_vls *vls, const char *solid_name, const struct rt_tess_tol *ttol, const struct bn_tol *tol, struct brep_specific* bs, struct rt_brep_internal* bi, struct bn_vlblock *vbp, int argc, const char *argv[], char *commtag); RT_EXPORT extern int brep_conversion(struct rt_db_internal *intern, ON_Brep **brep); RT_EXPORT extern int brep_conversion_comb(struct rt_db_internal *old_internal, char *name, char *suffix, struct rt_wdb *wdbp, fastf_t local2mm); -RT_EXPORT extern int brep_intersect(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j, struct bn_vlblock *vbp); +RT_EXPORT extern int brep_intersect_point_point(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j); +RT_EXPORT extern int brep_intersect_point_curve(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j); +RT_EXPORT extern int brep_intersect_point_surface(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j); +RT_EXPORT extern int brep_intersect_curve_curve(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j); +RT_EXPORT extern int brep_intersect_curve_surface(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j); +RT_EXPORT extern int brep_intersect_surface_surface(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j, struct bn_vlblock *vbp); RT_EXPORT extern int rt_brep_boolean(struct rt_db_internal *out, const struct rt_db_internal *ip1, const struct rt_db_internal *ip2, const int operation); #else extern int brep_surface_plot(struct ged *gedp, struct brep_specific* bs, struct rt_brep_internal* bi, struct bn_vlblock *vbp, int index); @@ -80,7 +85,7 @@ ged_brep(struct ged *gedp, int argc, const char *argv[]) bu_vls_printf(gedp->ged_result_str, "\tplot - plot entire BREP\n"); bu_vls_printf(gedp->ged_result_str, "\tplot S [index] - plot specific BREP 'surface'\n"); bu_vls_printf(gedp->ged_result_str, "\tplot F [index] - plot specific BREP 'face'\n"); - bu_vls_printf(gedp->ged_result_str, "\tintersect obj2 i j - intersect two surfaces\n"); + bu_vls_printf(gedp->ged_result_str, "\tintersect obj2 i j [PP|PC|PS|CC|CS|SS] - BREP intersections\n"); bu_vls_printf(gedp->ged_result_str, "\t[brepname] - convert the non-BREP object to BREP form\n"); bu_vls_printf(gedp->ged_result_str, "\t[suffix] - convert non-BREP comb to unevaluated BREP form\n"); return GED_HELP; @@ -116,9 +121,9 @@ ged_brep(struct ged *gedp, int argc, const char *argv[]) struct rt_db_internal intern2; int i, j; - /* we need exactly 6 arguments */ - if (argc != 6) { - bu_vls_printf(gedp->ged_result_str, "There should be 6 arguments for intersection.\n"); + /* we need exactly 6 or 7 arguments */ + if (argc != 6 && argc != 7) { + bu_vls_printf(gedp->ged_result_str, "There should be 6 or 7 arguments for intersection.\n"); bu_vls_printf(gedp->ged_result_str, "See the usage for help.\n"); return GED_ERROR; } @@ -143,8 +148,20 @@ ged_brep(struct ged *gedp, int argc, const char *argv[]) j = atoi(argv[5]); vbp = rt_vlblock_init(); - if (argc == 6) { - brep_intersect(&intern, &intern2, i, j, vbp); + if (argc == 6 || BU_STR_EQUAL(argv[6], "SS")) { + brep_intersect_surface_surface(&intern, &intern2, i, j, vbp); + } else if (BU_STR_EQUAL(argv[6], "PP")) { + brep_intersect_point_point(&intern, &intern2, i, j); + } else if (BU_STR_EQUAL(argv[6], "PC")) { + brep_intersect_point_curve(&intern, &intern2, i, j); + } else if (BU_STR_EQUAL(argv[6], "PS")) { + brep_intersect_point_surface(&intern, &intern2, i, j); + } else if (BU_STR_EQUAL(argv[6], "CC")) { + brep_intersect_curve_curve(&intern, &intern2, i, j); + } else if (BU_STR_EQUAL(argv[6], "PC")) { + brep_intersect_curve_surface(&intern, &intern2, i, j); + } else { + bu_vls_printf(gedp->ged_result_str, "Invalid intersection type %s.\n", argv[6]); } _ged_cvt_vlblock_to_solids(gedp, vbp, namebuf, 0); diff --git a/src/librt/primitives/brep/brep_debug.cpp b/src/librt/primitives/brep/brep_debug.cpp index af20e882db4..add34da7e49 100644 --- a/src/librt/primitives/brep/brep_debug.cpp +++ b/src/librt/primitives/brep/brep_debug.cpp @@ -55,7 +55,12 @@ extern "C" { RT_EXPORT extern int brep_command(struct bu_vls *vls, const char *solid_name, const struct rt_tess_tol* ttol, const struct bn_tol* tol, struct brep_specific* bs, struct rt_brep_internal* bi, struct bn_vlblock *vbp, int argc, const char *argv[], char *commtag); RT_EXPORT extern int brep_conversion(struct rt_db_internal* intern, ON_Brep** brep); RT_EXPORT extern int brep_conversion_comb(struct rt_db_internal *old_internal, char *name, char *suffix, struct rt_wdb *wdbp, fastf_t local2mm); - RT_EXPORT extern int brep_intersect(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j, struct bn_vlblock* vbp); + RT_EXPORT extern int brep_intersect_point_point(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j); + RT_EXPORT extern int brep_intersect_point_curve(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j); + RT_EXPORT extern int brep_intersect_point_surface(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j); + RT_EXPORT extern int brep_intersect_curve_curve(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j); + RT_EXPORT extern int brep_intersect_curve_surface(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j); + RT_EXPORT extern int brep_intersect_surface_surface(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j, struct bn_vlblock *vbp); #ifdef __cplusplus } #endif @@ -2769,7 +2774,138 @@ brep_command(struct bu_vls *vls, const char *solid_name, const struct rt_tess_to } -int brep_intersect(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j, struct bn_vlblock *vbp) +int +brep_intersect_point_point(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j) +{ + RT_CK_DB_INTERNAL(intern1); + RT_CK_DB_INTERNAL(intern2); + struct rt_brep_internal *bi1, *bi2; + bi1 = (struct rt_brep_internal *)intern1->idb_ptr; + bi2 = (struct rt_brep_internal *)intern2->idb_ptr; + RT_BREP_CK_MAGIC(bi1); + RT_BREP_CK_MAGIC(bi2); + + ON_Brep *brep1 = bi1->brep; + ON_Brep *brep2 = bi2->brep; + + if (i < 0 || i >= brep1->m_V.Count() || j < 0 || j >= brep2->m_V.Count()) { + bu_log("Out of range: \n"); + bu_log("\t0 <= i <= %d\n", brep1->m_V.Count() - 1); + bu_log("\t0 <= j <= %d\n", brep2->m_V.Count() - 1); + return -1; + } + + ON_ClassArray events; + if (ON_Intersect(brep1->m_V[i].Point(), brep2->m_V[j].Point(), events)) { + for (int k = 0; k < events.Count(); k++) { + ON_wString wstr; + ON_TextLog textlog(wstr); + events[i].Dump(textlog); + ON_String str = ON_String(wstr); + bu_log("Intersection event %d:\n %s", k + 1, str.Array()); + } + } else { + bu_log("No intersection.\n"); + } + + return 0; +} + + +int +brep_intersect_point_curve(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j) +{ + RT_CK_DB_INTERNAL(intern1); + RT_CK_DB_INTERNAL(intern2); + struct rt_brep_internal *bi1, *bi2; + bi1 = (struct rt_brep_internal *)intern1->idb_ptr; + bi2 = (struct rt_brep_internal *)intern2->idb_ptr; + RT_BREP_CK_MAGIC(bi1); + RT_BREP_CK_MAGIC(bi2); + + ON_Brep *brep1 = bi1->brep; + ON_Brep *brep2 = bi2->brep; + + if (i < 0 || i >= brep1->m_V.Count() || j < 0 || j >= brep2->m_C3.Count()) { + bu_log("Out of range: \n"); + bu_log("\t0 <= i <= %d\n", brep1->m_V.Count() - 1); + bu_log("\t0 <= j <= %d\n", brep2->m_C3.Count() - 1); + return -1; + } + + ON_ClassArray events; + if (ON_Intersect(brep1->m_V[i].Point(), *(brep2->m_C3[j]), events)) { + for (int k = 0; k < events.Count(); k++) { + ON_wString wstr; + ON_TextLog textlog(wstr); + events[i].Dump(textlog); + ON_String str = ON_String(wstr); + bu_log("Intersection event %d:\n %s", k + 1, str.Array()); + } + } else { + bu_log("No intersection.\n"); + } + + return 0; +} + + +int +brep_intersect_point_surface(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j) +{ + RT_CK_DB_INTERNAL(intern1); + RT_CK_DB_INTERNAL(intern2); + struct rt_brep_internal *bi1, *bi2; + bi1 = (struct rt_brep_internal *)intern1->idb_ptr; + bi2 = (struct rt_brep_internal *)intern2->idb_ptr; + RT_BREP_CK_MAGIC(bi1); + RT_BREP_CK_MAGIC(bi2); + + ON_Brep *brep1 = bi1->brep; + ON_Brep *brep2 = bi2->brep; + + if (i < 0 || i >= brep1->m_V.Count() || j < 0 || j >= brep2->m_S.Count()) { + bu_log("Out of range: \n"); + bu_log("\t0 <= i <= %d\n", brep1->m_V.Count() - 1); + bu_log("\t0 <= j <= %d\n", brep2->m_S.Count() - 1); + return -1; + } + + ON_ClassArray events; + if (ON_Intersect(brep1->m_V[i].Point(), *(brep2->m_S[j]), events)) { + for (int k = 0; k < events.Count(); k++) { + ON_wString wstr; + ON_TextLog textlog(wstr); + events[i].Dump(textlog); + ON_String str = ON_String(wstr); + bu_log("Intersection event %d:\n %s", k + 1, str.Array()); + } + } else { + bu_log("No intersection.\n"); + } + + return 0; +} + + +int +brep_intersect_curve_curve(struct rt_db_internal *, struct rt_db_internal *, int, int) +{ + // Curve-curve intersection is to be implemented. + return -1; +} + + +int +brep_intersect_curve_surface(struct rt_db_internal *, struct rt_db_internal *, int, int) +{ + // Curve-surface intersection is to be implemented. + return -1; +} + + +int +brep_intersect_surface_surface(struct rt_db_internal *intern1, struct rt_db_internal *intern2, int i, int j, struct bn_vlblock *vbp) { RT_CK_DB_INTERNAL(intern1); RT_CK_DB_INTERNAL(intern2); From 90b5dbcc82c360205096c0c23588322a15460a2e Mon Sep 17 00:00:00 2001 From: Wu Jianbang Date: Tue, 4 Jun 2013 13:48:45 +0000 Subject: [PATCH 054/149] Fix the format of ON_PX_EVENT::Dump(). svn:revision:55660 svn:branch:trunk svn:account:phoenixyjll --- src/libbrep/px_event.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libbrep/px_event.cpp b/src/libbrep/px_event.cpp index a1efc90004e..cf46c76795e 100644 --- a/src/libbrep/px_event.cpp +++ b/src/libbrep/px_event.cpp @@ -86,16 +86,19 @@ ON_PX_EVENT::Dump(ON_TextLog& text_log) const text_log.Print("Intersection Point: \n"); text_log.PushIndent(); text_log.Print(m_Mid); + text_log.Print("\n"); text_log.PopIndent(); text_log.Print("With uncertainty radius: \n"); text_log.PushIndent(); text_log.Print(m_radius); + text_log.Print("\n"); text_log.PopIndent(); text_log.PopIndent(); text_log.Print("pointA = \n"); text_log.PushIndent(); text_log.Print(m_A); + text_log.Print("\n"); text_log.PopIndent(); switch (m_type) { @@ -121,6 +124,7 @@ ON_PX_EVENT::Dump(ON_TextLog& text_log) const text_log.PushIndent(); text_log.Print(m_B); + text_log.Print("\n"); text_log.PopIndent(); text_log.PopIndent(); From 9b0fc493edae152a6fe835c36c4f996c2dd95683 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Tue, 4 Jun 2013 14:51:13 +0000 Subject: [PATCH 055/149] implement -h and -?, and 'Program continues running:' for no-arguments help svn:revision:55661 svn:branch:trunk svn:account:carlmoore --- src/util/dunncolor.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/util/dunncolor.c b/src/util/dunncolor.c index b8edb0d6d27..3d096a1c433 100644 --- a/src/util/dunncolor.c +++ b/src/util/dunncolor.c @@ -28,7 +28,7 @@ #include "common.h" -#include +#include "bio.h" #include #include @@ -44,15 +44,23 @@ extern int ready(int nsecs); extern void getexposure(char *title); extern int dunnsend(char color, int val); +static char usage[] = "Usage: dunncolor [-p] baseval redval greenval blueval"; int main(int argc, char **argv) { + if (argc == 1 && isatty(fileno(stdin)) && isatty(fileno(stdout)) ) { + fprintf(stderr,"%s\n",usage); + fprintf(stderr," Program continues running:\n"); + } + else if ( BU_STR_EQUAL(argv[1], "-h") || BU_STR_EQUAL(argv[1], "-?") ) + bu_exit(25, "%s\n", usage); + dunnopen(); if (!ready(5)) { - bu_exit(50, "dunncolor: camera not ready\n"); + bu_exit(50, "dunncolor: camera not ready\n"); } if (argc > 2 && BU_STR_EQUAL(argv[1], "-p")) { @@ -67,7 +75,7 @@ main(int argc, char **argv) /* check argument */ if (argc != 5 && argc != 6) { - bu_exit(25, "Usage: dunncolor [-p] baseval redval greenval blueval\n"); + bu_exit(25, "%s\n", usage); } dunnsend('A', atoi(*++argv)); From cd7bb3d0ab5c9cb1a2ffc9698d6fd6110c8e3bf5 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Tue, 4 Jun 2013 14:59:42 +0000 Subject: [PATCH 056/149] remove verbose flag and reference to 'mode'; implement -h, -? svn:revision:55662 svn:branch:trunk svn:account:carlmoore --- src/sig/dstats.c | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/src/sig/dstats.c b/src/sig/dstats.c index c215302cbc8..c0d97639270 100644 --- a/src/sig/dstats.c +++ b/src/sig/dstats.c @@ -36,8 +36,10 @@ #define IBUFSIZE 1024 /* Max read size */ double buf[IBUFSIZE]; /* Input buffer */ -int verbose = 0; - +void printusage (void) +{ + bu_exit(1, "Usage: dstats [file.doubles]\n"); +} int main(int ac, char *av[]) { @@ -49,15 +51,13 @@ int main(int ac, char *av[]) double mean, var; FILE *fp; - /* check for verbose flag */ - if (ac > 1 && BU_STR_EQUAL(av[1], "-v")) { - verbose++; - av++; - ac--; - } + if ( ac == 1 && isatty(fileno(stdin)) && isatty(fileno(stdout)) ) + printusage(); - /* look for optional input file */ + /* look for optional input file, after checking for -h and -? */ if (ac > 1) { + if ( BU_STR_EQUAL(av[1], "-h") || BU_STR_EQUAL(av[1], "-?") ) + printusage(); if ((fp = fopen(av[1], "r")) == 0) { bu_exit(1, "dstats: can't open \"%s\"\n", av[1]); } @@ -66,13 +66,8 @@ int main(int ac, char *av[]) } else fp = stdin; - /* check usage */ - if (ac > 1 || isatty(fileno(fp))) { - bu_exit(1, "Usage: dstats [-v] [file.doubles]\n"); - } - /* - * Find sum, min, max, mode. + * Find sum, min, max. */ num_values = 0; sum = sum2 = 0; From 0c280e279ce502e1b6ebffaae0331d8574ce5f25 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Tue, 4 Jun 2013 19:04:55 +0000 Subject: [PATCH 057/149] remove h for high-res ('s 1024' or 'S 1024' in its place), and implement -h,-? svn:revision:55663 svn:branch:trunk svn:account:carlmoore --- src/util/dunnsnap.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/util/dunnsnap.c b/src/util/dunnsnap.c index 9cd12f9c3ed..e92eb183ed2 100644 --- a/src/util/dunnsnap.c +++ b/src/util/dunnsnap.c @@ -51,8 +51,8 @@ static char *framebuffer; static int scr_width = 0; static int scr_height = 0; -static char usage[] = "\ -Usage: dunnsnap [-h] [-F framebuffer]\n\ +static char usage[] = +"Usage: dunnsnap [-F framebuffer]\n\ [-{sS} squarescrsize] [-{wW} scr_width] [-{nN} scr_height]\n\ [num_frames]\n"; @@ -61,12 +61,8 @@ get_args(int argc, char **argv) { int c; - while ((c = bu_getopt(argc, argv, "hF:s:S:w:W:n:N:")) != -1) { + while ((c = bu_getopt(argc, argv, "F:s:S:w:W:n:N:h?")) != -1) { switch (c) { - case 'h': - /* high-res */ - scr_height = scr_width = 1024; - break; case 'F': framebuffer = bu_optarg; break; @@ -109,6 +105,13 @@ main(int argc, char **argv) bu_exit (1, NULL); } + if (argc == 1 && isatty(fileno(stdin)) && isatty(fileno(stdout)) ) { + fprintf(stderr,"%s",usage); + fprintf(stderr," Program continues running:\n"); + } + else if ( BU_STR_EQUAL(argv[1], "-h") || BU_STR_EQUAL(argv[1], "-?") ) + bu_exit(25, "%s", usage); + dunnopen(); if (framebuffer != (char *)0) { From a75bd593806f02c3b2d5666ac57aee47761e5320 Mon Sep 17 00:00:00 2001 From: Clifford Yapp <238416+starseeker@users.noreply.github.com> Date: Tue, 4 Jun 2013 20:05:46 +0000 Subject: [PATCH 058/149] Add NO_CMAKE_SYSTEM_PATH to OpenGL searches, to mirror FindX11 behavior. svn:revision:55664 svn:branch:trunk svn:account:starseeker --- misc/CMake/FindGL.cmake | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/misc/CMake/FindGL.cmake b/misc/CMake/FindGL.cmake index d31ea2cc502..03272bdbce7 100644 --- a/misc/CMake/FindGL.cmake +++ b/misc/CMake/FindGL.cmake @@ -191,17 +191,17 @@ else (WIN32) endif(APPLE) if(OPENGL_USE_AQUA) - find_library(OPENGL_gl_LIBRARY OpenGL DOC "OpenGL lib for OSX") + find_library(OPENGL_gl_LIBRARY OpenGL DOC "OpenGL lib for OSX" ) find_library(OPENGL_glu_LIBRARY AGL DOC "AGL lib for OSX") find_path(OPENGL_INCLUDE_DIR_GL OpenGL/gl.h DOC "Include for OpenGL on OSX") else(OPENGL_USE_AQUA) # If we're on Apple and not using Aqua, we don't want frameworks set(CMAKE_FIND_FRAMEWORK "NEVER") - find_path(OPENGL_INCLUDE_DIR_GL GL/gl.h ${OPENGL_INC_SEARCH_PATH}) - find_path(OPENGL_INCLUDE_DIR_GLX GL/glx.h ${OPENGL_INC_SEARCH_PATH}) - find_path(OPENGL_xmesa_INCLUDE_DIR GL/xmesa.h ${OPENGL_INC_SEARCH_PATH}) - find_library(OPENGL_gl_LIBRARY NAMES GL MesaGL PATHS ${OPENGL_LIB_SEARCH_PATH}) + find_path(OPENGL_INCLUDE_DIR_GL GL/gl.h ${OPENGL_INC_SEARCH_PATH} NO_CMAKE_SYSTEM_PATH) + find_path(OPENGL_INCLUDE_DIR_GLX GL/glx.h ${OPENGL_INC_SEARCH_PATH} NO_CMAKE_SYSTEM_PATH) + find_path(OPENGL_xmesa_INCLUDE_DIR GL/xmesa.h ${OPENGL_INC_SEARCH_PATH} NO_CMAKE_SYSTEM_PATH) + find_library(OPENGL_gl_LIBRARY NAMES GL MesaGL PATHS ${OPENGL_LIB_SEARCH_PATH} NO_CMAKE_SYSTEM_PATH) # On Unix OpenGL most certainly always requires X11. # Feel free to tighten up these conditions if you don't @@ -217,7 +217,7 @@ else (WIN32) endif(X11_FOUND) endif(OPENGL_gl_LIBRARY) - find_library(OPENGL_glu_LIBRARY NAMES GLU MesaGLU PATHS ${OPENGL_LIB_SEARCH_PATH}) + find_library(OPENGL_glu_LIBRARY NAMES GLU MesaGLU PATHS ${OPENGL_LIB_SEARCH_PATH} NO_CMAKE_SYSTEM_PATH) endif(OPENGL_USE_AQUA) endif(WIN32) From 59d28c8d4dc99a542b28445729d68e5a9c6fa6bc Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Tue, 4 Jun 2013 20:28:02 +0000 Subject: [PATCH 059/149] implement -h and -? for help, specify usage of files (not stdin/stdout), and change old h to H svn:revision:55665 svn:branch:trunk svn:account:carlmoore --- src/sig/dwin.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/sig/dwin.c b/src/sig/dwin.c index 4ca447bbb02..e8cca4f591f 100644 --- a/src/sig/dwin.c +++ b/src/sig/dwin.c @@ -67,9 +67,10 @@ void hamwin(double *data, int length); void coswin(double *data, int length, double percent); static const char usage[] = "\ -Usage: dwin [options] [width (1024)] [step (width)] [start]\n\ +Usage: dwin [options] [width (1024)] [step (width)] [start] outputfile\n\ + Options:\n\ -w apply window (80%% split Cosine)\n\ - -h apply Hamming window\n\ + -H apply Hamming window\n\ -b apply Bartlett window (triangle)\n\ -B apply bias window (half triangle)\n\ -e start first sample at end of buffer\n\ @@ -81,14 +82,13 @@ int main(int argc, char **argv) int L, step; size_t ret; - if (isatty(fileno(stdin)) || isatty(fileno(stdout))) { + if (isatty(fileno(stdin)) || isatty(fileno(stdout))) bu_exit(1, "%s", usage); - } while (argc > 1) { if (BU_STR_EQUAL(argv[1], "-w")) { window++; - } else if (BU_STR_EQUAL(argv[1], "-h")) { + } else if (BU_STR_EQUAL(argv[1], "-H")) { window++; hamming++; } else if (BU_STR_EQUAL(argv[1], "-B")) { @@ -101,8 +101,11 @@ int main(int argc, char **argv) endwin++; } else if (BU_STR_EQUAL(argv[1], "-m")) { midwin++; - } else - break; + } else { + if ( ! BU_STR_EQUAL(argv[1], "-h") && ! BU_STR_EQUAL(argv[1], "-?") ) + fprintf(stderr,"dwin: illegal option %s\n",argv[1]); + bu_exit(1, "%s", usage); + } argc--; argv++; } From 22179f901528e5c5c1a3b4b88fa015128a03c33b Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Tue, 4 Jun 2013 21:18:49 +0000 Subject: [PATCH 060/149] search the provided source directories for headers before searching for them in system directories. fixes a build error encountered on a system where the system-installed glew.h was too old to be used. warrants a header compatibility test if we encounter a case where the system dirs need to get searched first. svn:revision:55666 svn:branch:trunk svn:account:brlcad --- src/other/togl/src/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/other/togl/src/CMakeLists.txt b/src/other/togl/src/CMakeLists.txt index 0a9f2908c36..d6cd777dbe6 100644 --- a/src/other/togl/src/CMakeLists.txt +++ b/src/other/togl/src/CMakeLists.txt @@ -1,12 +1,12 @@ include_directories( - ${TK_INCLUDE_PATH} - ${TCL_INCLUDE_DIRS} - ${X11_INCLUDE_DIR} - ${OPENGL_INCLUDE_DIR_GL} ${CMAKE_CURRENT_SOURCE_DIR}/../include ${CMAKE_CURRENT_SOURCE_DIR}/Xmu ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}/../include + ${TK_INCLUDE_PATH} + ${TCL_INCLUDE_DIRS} + ${X11_INCLUDE_DIR} + ${OPENGL_INCLUDE_DIR_GL} ) # Because Togl is Yet Another Tcl/Tk package that needs From 0f923943a27dc7b6e19faeda6fb3f2ceb23bccf8 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Tue, 4 Jun 2013 21:54:21 +0000 Subject: [PATCH 061/149] remove a 'break'; add -h,-?; add 'Usage' svn:revision:55667 svn:branch:trunk svn:account:carlmoore --- src/conv/dxf/dxf-g.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/conv/dxf/dxf-g.c b/src/conv/dxf/dxf-g.c index 9176d25ca68..d05f549b51c 100644 --- a/src/conv/dxf/dxf-g.c +++ b/src/conv/dxf/dxf-g.c @@ -208,7 +208,7 @@ static int invisible=0; #define MAX_LINE_SIZE 2050 char line[MAX_LINE_SIZE]; -static char *usage="dxf-g [-c] [-d] [-v] [-t tolerance] [-s scale_factor] input_file.dxf output_file.g\n"; +static char *usage="Usage: dxf-g [-c] [-d] [-v] [-t tolerance] [-s scale_factor] input_file.dxf output_file.g\n"; static FILE *dxf; static struct rt_wdb *out_fp; @@ -3147,7 +3147,7 @@ main(int argc, char *argv[]) /* get command line arguments */ scale_factor = 1.0; - while ((c = bu_getopt(argc, argv, "cdvt:s:")) != -1) + while ((c = bu_getopt(argc, argv, "cdvt:s:h?")) != -1) { switch (c) { @@ -3173,7 +3173,6 @@ main(int argc, char *argv[]) break; default: bu_exit(1, "%s", usage); - break; } } From 3d5ee803ff4f55180c00d194202c8409d3766d3f Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Wed, 5 Jun 2013 03:06:37 +0000 Subject: [PATCH 062/149] by design, common.h should always come before all system headers whenever system headers are include. svn:revision:55668 svn:branch:trunk svn:account:brlcad --- src/libbu/sscanf.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libbu/sscanf.c b/src/libbu/sscanf.c index 567154660d6..59c95ddf1c0 100644 --- a/src/libbu/sscanf.c +++ b/src/libbu/sscanf.c @@ -40,12 +40,16 @@ * */ +#include "common.h" + #include #include #include #include + #include "bu.h" + /* * Flags used during conversion. */ From 160360bdbab207515fb9d716536a682fbdf814fd Mon Sep 17 00:00:00 2001 From: Clifford Yapp <238416+starseeker@users.noreply.github.com> Date: Wed, 5 Jun 2013 03:43:11 +0000 Subject: [PATCH 063/149] another common.h missing svn:revision:55669 svn:branch:trunk svn:account:starseeker --- src/libbn/tri_tri.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libbn/tri_tri.c b/src/libbn/tri_tri.c index a3785bcd20b..814cea0dd5f 100644 --- a/src/libbn/tri_tri.c +++ b/src/libbn/tri_tri.c @@ -55,6 +55,7 @@ * */ +#include "common.h" #include #include #define FABS(x) fabs(x) /* implement as is fastest on your machine */ From afe6a85895316796154a4a921fcedde4ae92eed1 Mon Sep 17 00:00:00 2001 From: Clifford Yapp <238416+starseeker@users.noreply.github.com> Date: Wed, 5 Jun 2013 03:50:41 +0000 Subject: [PATCH 064/149] Both the BEGIN and the END need to be inside or outside the ifdef together - mixing and matching doesn't work on NetBSD. svn:revision:55670 svn:branch:trunk svn:account:starseeker --- include/brep.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/brep.h b/include/brep.h index 30963fdb1d2..67090aef979 100644 --- a/include/brep.h +++ b/include/brep.h @@ -107,9 +107,11 @@ typedef struct _brep_cdbitem { int dummy; /* MS Visual C hack which can be removed if the struct contains something meaningful */ } brep_cdbitem; -__END_DECLS #ifdef __cplusplus + +__END_DECLS + extern "C++" { class plane_ray { From 48cec036125b2c4f6dc5194ceefa950905521329 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Wed, 5 Jun 2013 04:02:13 +0000 Subject: [PATCH 065/149] make sure the emmintrin.h header actually works, not just exists. there's a gcc bug spanning 4.0-4.5 where the posix_memalign() decls are different causing a 'throws different exceptions' failure svn:revision:55671 svn:branch:trunk svn:account:brlcad --- CMakeLists.txt | 9 ++++++++- include/dvec.h | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 18b125ca1a7..7dfc64bfc9b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1603,6 +1603,14 @@ if(BRLCAD_ENABLE_OPENGL) endif(OPENGL_INCLUDE_DIR_GLX) endif(BRLCAD_ENABLE_OPENGL) +# may have the header, but ensure it works in pedantic mode (gcc bug) +if (HAVE_EMMINTRIN_H + check_cxx_source_compiles("#include \nint main() { return 0; }" HAVE_EMMINTRIN) + if (HAVE_EMMINTRIN) + CONFIG_H_APPEND(BRLCAD "#define HAVE_EMMINTRIN 1\n") + endif (HAVE_EMMINTRIN) +endif (HAVE_EMMINTRIN_H) + # ******************************************************************* # *** Check for Types/Structures - Stage 6 of 9 *** @@ -1628,7 +1636,6 @@ BRLCAD_TYPE_SIZE("uint64_t" "") BRLCAD_TYPE_SIZE("uintptr_t" "") BRLCAD_TYPE_SIZE("sig_t" "signal.h") - # see if we have a TLS intrinsic, first check C++11 compliance check_cxx_source_compiles("static thread_local int i = 0; int main() { return i; }" HAVE_THREAD_LOCAL) if (HAVE_THREAD_LOCAL) diff --git a/include/dvec.h b/include/dvec.h index f7ab82ad879..1526272a0f5 100644 --- a/include/dvec.h +++ b/include/dvec.h @@ -125,7 +125,7 @@ extern "C++" { #define VEC_ALIGN /*#undef __SSE2__*/ // Test FPU version -#if defined(__SSE2__) && defined(__GNUC__) && defined(HAVE_EMMINTRIN_H) +#if defined(__SSE2__) && defined(__GNUC__) && defined(HAVE_EMMINTRIN_H) && defined(HAVE_EMMINTRIN) # define __x86_vector__ # include "vector_x86.h" #else From eef30a52a5c4a9a84c3cc3cf1d48686a8b2fab00 Mon Sep 17 00:00:00 2001 From: Clifford Yapp <238416+starseeker@users.noreply.github.com> Date: Wed, 5 Jun 2013 04:04:56 +0000 Subject: [PATCH 066/149] Don't define __BEGIN_DECLS and __END_DECLS in regex.h if they're already defined. svn:revision:55672 svn:branch:trunk svn:account:starseeker --- src/other/libregex/regex.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/other/libregex/regex.h b/src/other/libregex/regex.h index c36a2ed9755..c83504d0027 100644 --- a/src/other/libregex/regex.h +++ b/src/other/libregex/regex.h @@ -80,8 +80,12 @@ # define __BEGIN_DECLS extern "C" { # define __END_DECLS } #else -# define __BEGIN_DECLS -# define __END_DECLS +# ifndef __BEGIN_DECLS +# define __BEGIN_DECLS + #endif +# ifndef __END_DECLS +# define __END_DECLS +# endif #endif From dbb370149db2c71fb082cb8fcfa72edde16b4631 Mon Sep 17 00:00:00 2001 From: Clifford Yapp <238416+starseeker@users.noreply.github.com> Date: Wed, 5 Jun 2013 04:07:20 +0000 Subject: [PATCH 067/149] Fix syntax error svn:revision:55673 svn:branch:trunk svn:account:starseeker --- CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7dfc64bfc9b..78de6787775 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1604,12 +1604,12 @@ if(BRLCAD_ENABLE_OPENGL) endif(BRLCAD_ENABLE_OPENGL) # may have the header, but ensure it works in pedantic mode (gcc bug) -if (HAVE_EMMINTRIN_H - check_cxx_source_compiles("#include \nint main() { return 0; }" HAVE_EMMINTRIN) - if (HAVE_EMMINTRIN) - CONFIG_H_APPEND(BRLCAD "#define HAVE_EMMINTRIN 1\n") - endif (HAVE_EMMINTRIN) -endif (HAVE_EMMINTRIN_H) +if(HAVE_EMMINTRIN_H) + check_cxx_source_compiles("#include \nint main() { return 0; }" HAVE_EMMINTRIN) + if(HAVE_EMMINTRIN) + CONFIG_H_APPEND(BRLCAD "#define HAVE_EMMINTRIN 1\n") + endif(HAVE_EMMINTRIN) +endif(HAVE_EMMINTRIN_H) # ******************************************************************* From f8a016c28a2c406f4c3efd28e298d0a18c67dd92 Mon Sep 17 00:00:00 2001 From: Clifford Yapp <238416+starseeker@users.noreply.github.com> Date: Wed, 5 Jun 2013 04:09:56 +0000 Subject: [PATCH 068/149] Another missing common.h svn:revision:55674 svn:branch:trunk svn:account:starseeker --- src/libged/illum.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libged/illum.c b/src/libged/illum.c index 7dffb2ee284..e87587e280d 100644 --- a/src/libged/illum.c +++ b/src/libged/illum.c @@ -23,6 +23,7 @@ * */ +#include "common.h" #include #include "ged.h" From 7b7a3d5a9f639776bd7d6b51be7c83c4a8ddb403 Mon Sep 17 00:00:00 2001 From: Clifford Yapp <238416+starseeker@users.noreply.github.com> Date: Wed, 5 Jun 2013 04:10:39 +0000 Subject: [PATCH 069/149] Another missing common.h svn:revision:55675 svn:branch:trunk svn:account:starseeker --- src/libged/item.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libged/item.c b/src/libged/item.c index a250102aa57..4b956a4c4d6 100644 --- a/src/libged/item.c +++ b/src/libged/item.c @@ -23,6 +23,7 @@ * */ +#include "common.h" #include #include "ged.h" From edc08bd179af5c4e6f0710bdf891865085ac3f6a Mon Sep 17 00:00:00 2001 From: Clifford Yapp <238416+starseeker@users.noreply.github.com> Date: Wed, 5 Jun 2013 04:13:23 +0000 Subject: [PATCH 070/149] The rest of the missing libged common.h inclusions svn:revision:55676 svn:branch:trunk svn:account:starseeker --- src/libged/make_name.c | 1 + src/libged/regdef.c | 1 + src/libged/report.c | 1 + src/libged/set_output_script.c | 1 + src/libged/set_uplotOutputMode.c | 1 + 5 files changed, 5 insertions(+) diff --git a/src/libged/make_name.c b/src/libged/make_name.c index 791e139dcfa..3575c0fe862 100644 --- a/src/libged/make_name.c +++ b/src/libged/make_name.c @@ -23,6 +23,7 @@ * */ +#include "common.h" #include #include "ged.h" diff --git a/src/libged/regdef.c b/src/libged/regdef.c index 4b3f65b8258..5edba5687d2 100644 --- a/src/libged/regdef.c +++ b/src/libged/regdef.c @@ -23,6 +23,7 @@ * */ +#include "common.h" #include #include "ged.h" diff --git a/src/libged/report.c b/src/libged/report.c index cfbbb5b4fa7..5eb09a1babb 100644 --- a/src/libged/report.c +++ b/src/libged/report.c @@ -23,6 +23,7 @@ * */ +#include "common.h" #include #include "ged.h" diff --git a/src/libged/set_output_script.c b/src/libged/set_output_script.c index 552898c9014..4589cebccb7 100644 --- a/src/libged/set_output_script.c +++ b/src/libged/set_output_script.c @@ -23,6 +23,7 @@ * */ +#include "common.h" #include #include "ged.h" diff --git a/src/libged/set_uplotOutputMode.c b/src/libged/set_uplotOutputMode.c index 25083c22a4b..98a7143e6a8 100644 --- a/src/libged/set_uplotOutputMode.c +++ b/src/libged/set_uplotOutputMode.c @@ -23,6 +23,7 @@ * */ +#include "common.h" #include #include "ged.h" #include "plot3.h" From e5094002d0e5971cd2f7f60e3864d898cc1112c4 Mon Sep 17 00:00:00 2001 From: Clifford Yapp <238416+starseeker@users.noreply.github.com> Date: Wed, 5 Jun 2013 04:47:19 +0000 Subject: [PATCH 071/149] More common.h additions - this gets us to a finished build. svn:revision:55677 svn:branch:trunk svn:account:starseeker --- src/adrt/librender/component.c | 1 + src/adrt/librender/cut.c | 1 + src/adrt/librender/normal.c | 1 + src/adrt/librender/path.c | 1 + src/adrt/librender/phong.c | 1 + src/adrt/librender/surfel.c | 1 + src/adrt/load.c | 1 + src/burst/glob.c | 2 ++ src/conv/nmg/nmg-rib.c | 1 + src/conv/raw/Bot.h | 2 +- src/conv/raw/RegionList.h | 2 ++ src/conv/raw/raw-g.cpp | 1 + src/conv/shp/shapelib/shpopen.c | 2 ++ src/conv/step/STEPWrapper.cpp | 1 + src/librt/tests/test_ssi.cpp | 1 + src/rttherm/spectrum.c | 1 + 16 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/adrt/librender/component.c b/src/adrt/librender/component.c index 48ccd06b265..d4b563c08e4 100644 --- a/src/adrt/librender/component.c +++ b/src/adrt/librender/component.c @@ -21,6 +21,7 @@ * */ +#include "common.h" #include #include "adrt.h" diff --git a/src/adrt/librender/cut.c b/src/adrt/librender/cut.c index 33986370854..ba5bd410c72 100644 --- a/src/adrt/librender/cut.c +++ b/src/adrt/librender/cut.c @@ -21,6 +21,7 @@ * */ +#include "common.h" #include #include #include diff --git a/src/adrt/librender/normal.c b/src/adrt/librender/normal.c index 309515c940d..69aef57117d 100644 --- a/src/adrt/librender/normal.c +++ b/src/adrt/librender/normal.c @@ -21,6 +21,7 @@ * */ +#include "common.h" #include #include "adrt_struct.h" diff --git a/src/adrt/librender/path.c b/src/adrt/librender/path.c index a6d066437c5..9e9f0581334 100644 --- a/src/adrt/librender/path.c +++ b/src/adrt/librender/path.c @@ -25,6 +25,7 @@ # define TIE_PRECISION 0 #endif +#include "common.h" #include #include #include diff --git a/src/adrt/librender/phong.c b/src/adrt/librender/phong.c index 64c5ed815e6..182aed3a964 100644 --- a/src/adrt/librender/phong.c +++ b/src/adrt/librender/phong.c @@ -21,6 +21,7 @@ * */ +#include "common.h" #include #include "vmath.h" diff --git a/src/adrt/librender/surfel.c b/src/adrt/librender/surfel.c index ccfad1b4abd..ba26a6bf85f 100644 --- a/src/adrt/librender/surfel.c +++ b/src/adrt/librender/surfel.c @@ -18,6 +18,7 @@ * information. */ +#include "common.h" #include #include diff --git a/src/adrt/load.c b/src/adrt/load.c index 7af853ea97c..558afd0c7ab 100644 --- a/src/adrt/load.c +++ b/src/adrt/load.c @@ -25,6 +25,7 @@ # define TIE_PRECISION 0 #endif +#include "common.h" #include #include #include diff --git a/src/burst/glob.c b/src/burst/glob.c index 6b416cb7e24..ecae48e074c 100644 --- a/src/burst/glob.c +++ b/src/burst/glob.c @@ -21,6 +21,8 @@ /** @file burst/glob.c * */ + +#include "common.h" #include #include diff --git a/src/conv/nmg/nmg-rib.c b/src/conv/nmg/nmg-rib.c index c20a72d185e..5cf1ae30835 100644 --- a/src/conv/nmg/nmg-rib.c +++ b/src/conv/nmg/nmg-rib.c @@ -27,6 +27,7 @@ * */ +#include "common.h" #include #include #include diff --git a/src/conv/raw/Bot.h b/src/conv/raw/Bot.h index 2d4945d4409..0c6584d6faa 100644 --- a/src/conv/raw/Bot.h +++ b/src/conv/raw/Bot.h @@ -29,8 +29,8 @@ #ifndef BOT_INCLUDED #define BOT_INCLUDED +#include "common.h" #include - #include "wdb.h" diff --git a/src/conv/raw/RegionList.h b/src/conv/raw/RegionList.h index a55a0fab591..8bfad853020 100644 --- a/src/conv/raw/RegionList.h +++ b/src/conv/raw/RegionList.h @@ -29,6 +29,8 @@ #ifndef REGIONLIST_INCLUDED #define REGIONLIST_INCLUDED +#include "common.h" + #include #include diff --git a/src/conv/raw/raw-g.cpp b/src/conv/raw/raw-g.cpp index 4ed1ee412e2..f7482ecaaa1 100644 --- a/src/conv/raw/raw-g.cpp +++ b/src/conv/raw/raw-g.cpp @@ -26,6 +26,7 @@ * IABG mbH (Germany) */ +#include "common.h" #include #include "RegionList.h" diff --git a/src/conv/shp/shapelib/shpopen.c b/src/conv/shp/shapelib/shpopen.c index b177aa244e2..c0f340f17d0 100644 --- a/src/conv/shp/shapelib/shpopen.c +++ b/src/conv/shp/shapelib/shpopen.c @@ -237,6 +237,8 @@ * */ +#include "common.h" + #include "shapefil.h" #include diff --git a/src/conv/step/STEPWrapper.cpp b/src/conv/step/STEPWrapper.cpp index 52cf2a169ea..b82adf9fb97 100644 --- a/src/conv/step/STEPWrapper.cpp +++ b/src/conv/step/STEPWrapper.cpp @@ -23,6 +23,7 @@ * */ +#include "common.h" #include #include diff --git a/src/librt/tests/test_ssi.cpp b/src/librt/tests/test_ssi.cpp index fc2aa5a495a..e1abf2932db 100644 --- a/src/librt/tests/test_ssi.cpp +++ b/src/librt/tests/test_ssi.cpp @@ -18,6 +18,7 @@ * information. */ +#include "common.h" #include #include #include diff --git a/src/rttherm/spectrum.c b/src/rttherm/spectrum.c index 72f63916eff..4f959f72156 100644 --- a/src/rttherm/spectrum.c +++ b/src/rttherm/spectrum.c @@ -32,6 +32,7 @@ * With thanks to Russ Moulton Jr, EOSoft Inc. for his "rad.c" module. */ +#include "common.h" #include #include #include From 5e7891725bda5b62f60e3fb8d90fd779dc985a39 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Wed, 5 Jun 2013 16:06:43 +0000 Subject: [PATCH 072/149] fix 'must' spelling; add progname to error messages; implement -h,-? svn:revision:55678 svn:branch:trunk svn:account:carlmoore --- src/conv/enf-g.c | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/src/conv/enf-g.c b/src/conv/enf-g.c index bce9d793e16..4f1214e9dfa 100644 --- a/src/conv/enf-g.c +++ b/src/conv/enf-g.c @@ -88,6 +88,7 @@ struct obj_info { static int *part_tris=NULL; /* list of triangles for current part */ static size_t max_tri=0; /* number of triangles currently malloced */ static size_t curr_tri=0; /* number of triangles currently being used */ +static char progname[]="enf-g"; #define TRI_BLOCK 512 /* number of triangles to malloc per call */ @@ -117,12 +118,12 @@ create_name_hash( FILE *fd ) ptr = strtok( line, " \t\n" ); if ( !ptr ) - bu_exit( 1, "*****Error processing part name file at line:\n\t%s\n", line ); + bu_exit( 1, "%s: *****Error processing part name file at line:\n\t%s\n", progname,line ); part_no = bu_strdup( ptr ); lower_case( part_no ); ptr = strtok( (char *)NULL, " \t\n" ); if ( !ptr ) - bu_exit( 1, "*****Error processing part name file at line:\n\t%s\n", line ); + bu_exit( 1, "%s: *****Error processing part name file at line:\n\t%s\n", progname,line ); desc = bu_strdup( ptr ); lower_case( desc ); @@ -219,7 +220,7 @@ List_assem( struct obj_info *assem ) void Usage(void) { - bu_log( "Usage:\n\tenf-g [-i starting_ident] [-t tolerance] [-l name_length_limit] [-n part_number_to_name_list] input_facets_file output_brlcad_file.g\n" ); + bu_log( "Usage: %s [-i starting_ident] [-t tolerance] [-l name_length_limit] [-n part_number_to_name_list] input_facets_file output_brlcad_file.g\n",progname); } void @@ -408,7 +409,7 @@ Part_import( int id_start ) /* found end of part, check id */ id_end = atoi( &line[10] ); if ( id_end != id_start ) - bu_exit( 1, "ERROR: found end of part id %d while processing part %d\n", id_end, id_start ); + bu_exit( 1, "%s: ERROR: found end of part id %d while processing part %d\n", progname,id_end, id_start ); if ( last_surf ) { break; } @@ -462,7 +463,7 @@ Part_import( int id_start ) } else if ( !bu_strncmp( line, "PointCount", 10 ) ) { /* get number of vertices for this surface */ } else - bu_exit( 1, "ERROR: unrecognized line encountered while processing part id %d:\n%s\n", id_start, line ); + bu_exit( 1, "%s: ERROR: unrecognized line encountered while processing part id %d:\n%s\n", progname,id_start, line ); } if ( curr_tri == 0 ) { @@ -474,7 +475,7 @@ Part_import( int id_start ) /* write this part to database, first make a primitive solid */ if ( mk_bot( fd_out, part->brlcad_solid, RT_BOT_SOLID, RT_BOT_UNORIENTED, 0, tree_root->curr_vert, curr_tri, tree_root->the_array, part_tris, NULL, NULL ) ) - bu_exit( 1, "Failed to write primitive %s (%s) to database\n", part->brlcad_solid, part->obj_name ); + bu_exit( 1, "%s: Failed to write primitive %s (%s) to database\n", progname,part->brlcad_solid, part->obj_name ); if ( verbose ) { DO_INDENT; bu_log( "Wrote BOT %s\n", part->brlcad_solid ); @@ -483,10 +484,10 @@ Part_import( int id_start ) /* then a region */ BU_LIST_INIT( ®_head.l ); if ( mk_addmember( part->brlcad_solid, ®_head.l, NULL, WMOP_UNION ) == WMEMBER_NULL ) - bu_exit( 1, "ERROR: Failed to add solid (%s), to region (%s)\n", part->brlcad_solid, part->brlcad_comb ); + bu_exit( 1, "%s: ERROR: Failed to add solid (%s), to region (%s)\n", progname,part->brlcad_solid, part->brlcad_comb ); if ( mk_comb( fd_out, part->brlcad_comb, ®_head.l, 1, NULL, NULL, rgb, ident++, 0, 1, 100, 0, 0, 0 ) ) - bu_exit( 1, "Failed to write region %s (%s) to database\n", part->brlcad_comb, part->obj_name ); + bu_exit( 1, "%s: Failed to write region %s (%s) to database\n", progname,part->brlcad_comb, part->obj_name ); if ( verbose ) { DO_INDENT; bu_log( "Wrote region %s\n", part->brlcad_comb ); @@ -561,14 +562,13 @@ Assembly_import( int id_start ) /* found end of assembly, make sure it is this one */ id_end = atoi( &line[14] ); if ( id_end != id_start ) - bu_exit( 1, "ERROR: found end of assembly id %d while processing id %d\n", id_end, id_start ); + bu_exit( 1, "%s: ERROR: found end of assembly id %d while processing id %d\n", progname,id_end, id_start ); indent_level -= indent_delta; DO_INDENT; bu_log( "Found end of assembly %s (id = %d)\n", this_assem->obj_name, id_start ); break; } else { - bu_log( "Unrecognized line encountered while processing assembly id %d:\n", - id_start ); + bu_log( "%s: Unrecognized line encountered while processing assembly id %d:\n", progname,id_start ); bu_exit( 1, "%s\n", line ); } } @@ -581,11 +581,12 @@ Assembly_import( int id_start ) for ( i=0; ipart_count; i++ ) if ( mk_addmember( this_assem->members[i]->brlcad_comb, &assem_head.l, NULL, WMOP_UNION ) == WMEMBER_NULL ) - bu_exit( 1, "ERROR: Failed to add region %s to assembly %s\n", this_assem->members[i]->brlcad_comb, this_assem->brlcad_comb ); + bu_exit( 1, "%s: ERROR: Failed to add region %s to assembly %s\n", + progname,this_assem->members[i]->brlcad_comb, this_assem->brlcad_comb ); if ( mk_comb( fd_out, this_assem->brlcad_comb, &assem_head.l, 0, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0 ) ) - bu_exit( 1, "ERROR: Failed to write combination (%s) to database\n", this_assem->brlcad_comb ); + bu_exit( 1, "%s: ERROR: Failed to write combination (%s) to database\n", progname,this_assem->brlcad_comb ); if ( use_part_name_hash ) { if ( db5_update_attribute( this_assem->brlcad_comb, "Part_No", this_assem->obj_name, fd_out->dbip ) ) { @@ -616,7 +617,7 @@ main( int argc, char *argv[] ) local_tol_sq = local_tol * local_tol; ident = 1000; - while ( (c=bu_getopt( argc, argv, "vi:t:n:l:" ) ) != -1 ) { + while ( (c=bu_getopt( argc, argv, "vi:t:n:l:h?" ) ) != -1 ) { switch ( c ) { case 'v': /* verbose */ verbose = 1; @@ -627,7 +628,7 @@ main( int argc, char *argv[] ) case 't': /* tolerance */ tmp = atof( bu_optarg ); if ( tmp <= 0.0 ) - bu_exit( 1, "Illegal tolerance (%g), musy be > 0.0\n", tmp ); + bu_exit( 1, "%s: Illegal tolerance (%g), must be > 0.0\n", progname,tmp ); break; case 'n': /* part name list */ part_name_file = bu_optarg; @@ -636,39 +637,39 @@ main( int argc, char *argv[] ) case 'l': /* max name length */ max_name_len = atoi( bu_optarg ); if ( max_name_len < 5 ) - bu_exit( 1, "Unreasonable name length limitation\n" ); + bu_exit( 1, "%s: Unreasonable name length limitation\n",progname ); break; default: - bu_log( "Unrecognized option %c\n", c ); Usage(); bu_exit( 1, NULL ); } } if ( argc - bu_optind != 2 ) { - bu_log( "Not enough arguments!!\n" ); + bu_log( "Not enough arguments!! (need at least input & output file names)\n" ); Usage(); bu_exit( 1, NULL ); } input_file = bu_strdup( argv[bu_optind] ); - output_file = bu_strdup( argv[bu_optind+1] ); if ((fd_in=fopen(input_file, "rb")) == NULL) { - bu_log( "Cannot open %s for reading\n", input_file ); + bu_log( "%s: Cannot open %s for reading\n", progname,input_file ); perror( argv[0] ); bu_exit( 1, NULL ); } + output_file = bu_strdup( argv[bu_optind+1] ); + if ( (fd_out=wdb_fopen( output_file )) == NULL ) { - bu_log( "Cannot open %s for writing\n", output_file ); + bu_log( "%s: Cannot open %s for writing\n", progname,output_file ); perror( argv[0] ); bu_exit( 1, NULL ); } if ( use_part_name_hash ) { if ( (fd_parts=fopen( part_name_file, "rb" )) == NULL ) { - bu_log( "Cannot open part name file (%s)\n", part_name_file ); + bu_log( "%s,Cannot open part name file (%s)\n", progname,part_name_file ); perror( argv[0] ); bu_exit( 1, NULL ); } From a2bbcf50513b39533ef0fcae1ec49faee1d7fdf8 Mon Sep 17 00:00:00 2001 From: Nicholas Reed Date: Wed, 5 Jun 2013 18:20:32 +0000 Subject: [PATCH 073/149] don't set autoview flag until after memset svn:revision:55679 svn:branch:trunk svn:account:n_reed --- src/libged/draw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libged/draw.c b/src/libged/draw.c index 228cf3b4c86..80a699d289d 100644 --- a/src/libged/draw.c +++ b/src/libged/draw.c @@ -1142,15 +1142,15 @@ _ged_drawtrees(struct ged *gedp, int argc, const char *argv[], int kind, struct } else { struct ged_view *gvp; + memset(&dgcdp, 0, sizeof(struct _ged_client_data)); + dgcdp.gedp = gedp; + gvp = gedp->ged_gvp; if (gvp && gvp->gv_adaptive_plot) dgcdp.autoview = 1; else dgcdp.autoview = 0; - memset(&dgcdp, 0, sizeof(struct _ged_client_data)); - dgcdp.gedp = gedp; - /* Initial values for options, must be reset each time */ dgcdp.draw_nmg_only = 0; /* no booleans */ dgcdp.nmg_triangulate = 1; From a025342f87b1ebcaf9221dc2fa7f4c2c459acb4e Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Wed, 5 Jun 2013 20:46:37 +0000 Subject: [PATCH 074/149] remove 'scale = 1.0;' because the if/else will assign a value anyway svn:revision:55680 svn:branch:trunk svn:account:carlmoore --- src/sig/f-d.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/sig/f-d.c b/src/sig/f-d.c index de055b05991..43f5131a4f9 100644 --- a/src/sig/f-d.c +++ b/src/sig/f-d.c @@ -49,8 +49,6 @@ int main(int argc, char **argv) double scale; size_t ret; - scale = 1.0; - if (argc > 1) { if (BU_STR_EQUAL(argv[1], "-n")) scale = 1.0; From 0e6a871c47b940fe8a66612e9850ed3058a0c81e Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Wed, 5 Jun 2013 22:32:42 +0000 Subject: [PATCH 075/149] learn from each other. scale must be initialized. svn:revision:55681 svn:branch:trunk svn:account:brlcad --- src/sig/d-f.c | 4 ++-- src/sig/f-d.c | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/sig/d-f.c b/src/sig/d-f.c index 1a89691a669..14ca7f617e8 100644 --- a/src/sig/d-f.c +++ b/src/sig/d-f.c @@ -50,12 +50,12 @@ int main(int argc, char **argv) size_t ret; if (argc > 1) { - if (! BU_STR_EQUAL(argv[1], "-n")) + if (!BU_STR_EQUAL(argv[1], "-n")) scale = atof(argv[1]); argc--; } - if (argc > 1 || ZERO(scale) || isatty(fileno(stdin))) { + if (argc > 1 || ZERO(scale) || isatty(fileno(stdin)) || isatty(fileno(stdout))) { bu_exit(1, "Usage: d-f [-n || scale] < doubles > floats\n"); } diff --git a/src/sig/f-d.c b/src/sig/f-d.c index 43f5131a4f9..5b7ba1fab5c 100644 --- a/src/sig/f-d.c +++ b/src/sig/f-d.c @@ -46,13 +46,11 @@ double obuf[512]; int main(int argc, char **argv) { int i, num; - double scale; + double scale = 1.0; size_t ret; if (argc > 1) { - if (BU_STR_EQUAL(argv[1], "-n")) - scale = 1.0; - else + if (!BU_STR_EQUAL(argv[1], "-n")) scale = atof(argv[1]); argc--; } From 28ce2ce9a9f7121d26e1cdb0d888eefd0cb8b1e0 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Thu, 6 Jun 2013 15:59:17 +0000 Subject: [PATCH 076/149] bio.h is a system header wrapper but should still probably come after the <> headers svn:revision:55682 svn:branch:trunk svn:account:brlcad --- src/libbrep/intersect.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libbrep/intersect.cpp b/src/libbrep/intersect.cpp index 3c59215f664..ec4802c54b6 100644 --- a/src/libbrep/intersect.cpp +++ b/src/libbrep/intersect.cpp @@ -25,16 +25,17 @@ #include "common.h" -#include "bio.h" #include #include #include +#include "bio.h" #include "vmath.h" #include "bu.h" #include "brep.h" + /** * Point-point intersections (PPI) */ From 5f66506ba7b2b831d06e7bf2ddd9fb64138e49e5 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Thu, 6 Jun 2013 16:14:16 +0000 Subject: [PATCH 077/149] cosmetic stuff to resemble d-f.c source as much as possible svn:revision:55683 svn:branch:trunk svn:account:carlmoore --- src/sig/f-d.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/sig/f-d.c b/src/sig/f-d.c index 5b7ba1fab5c..883e1b096ee 100644 --- a/src/sig/f-d.c +++ b/src/sig/f-d.c @@ -31,8 +31,8 @@ #include "common.h" #include /* for atof() */ -#include #include +#include #include "bio.h" #include "bu.h" @@ -60,19 +60,18 @@ int main(int argc, char **argv) } while ((num = fread(&ibuf[0], sizeof(ibuf[0]), 512, stdin)) > 0) { - if (!EQUAL(scale, 1.0)) { + if (EQUAL(scale, 1.0)) { for (i = 0; i < num; i++) - obuf[i] = ibuf[i] * scale; + obuf[i] = ibuf[i]; } else { for (i = 0; i < num; i++) - obuf[i] = ibuf[i]; + obuf[i] = ibuf[i] * scale; } ret = fwrite(&obuf[0], sizeof(obuf[0]), num, stdout); if (ret != (size_t)num) perror("fwrite"); } - return 0; } From 9e38c39916f3453e6064ba4b8a011fcc4b593f01 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Thu, 6 Jun 2013 20:22:30 +0000 Subject: [PATCH 078/149] remove old h (it was a high-res flag; use 's 1024' or 'S 1024) and implement h,? svn:revision:55684 svn:branch:trunk svn:account:carlmoore --- src/fb/fbclear.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/fb/fbclear.c b/src/fb/fbclear.c index 4d40e3549d2..4304a2e1d52 100644 --- a/src/fb/fbclear.c +++ b/src/fb/fbclear.c @@ -47,21 +47,16 @@ static int clear_and_reset = 0; #define u_char unsigned char -static char usage[] = "\ -Usage: fbclear [-h -c] [-F framebuffer]\n\ - [-S squarescrsize] [-W scr_width] [-N scr_height] [gray | r g b]\n"; +static char usage[] = "Usage: fbclear [-c] [-F framebuffer]\n\ + [-{sS} squarescrsize] [-{wW} scr_width] [-{nN} scr_height] [gray | r g b]\n"; int get_args(int argc, char **argv) { int c; - while ((c = bu_getopt(argc, argv, "hcF:s:w:n:S:W:N:")) != -1) { + while ((c = bu_getopt(argc, argv, "cF:s:w:n:S:W:N:h?")) != -1) { switch (c) { - case 'h': - /* high-res */ - scr_height = scr_width = 1024; - break; case 'c': /* clear only, no cmap, pan, and zoom */ clear_and_reset++; From 252f1500bbdcf1afe9de026da937242d179660a7 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Thu, 6 Jun 2013 21:18:40 +0000 Subject: [PATCH 079/149] remove -h reference; notice the reference to Adage in the now-deleted remark about -h svn:revision:55685 svn:branch:trunk svn:account:carlmoore --- doc/docbook/system/man1/en/fbclear.xml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/doc/docbook/system/man1/en/fbclear.xml b/doc/docbook/system/man1/en/fbclear.xml index d402cfbd6f4..27696b3cb7e 100644 --- a/doc/docbook/system/man1/en/fbclear.xml +++ b/doc/docbook/system/man1/en/fbclear.xml @@ -16,13 +16,13 @@ fbclear - -h -c + -c -F framebuffer redgreenblue fbclear - -h -c + -c -F framebuffer gray_value @@ -57,17 +57,7 @@ Otherwise the environment variable is used to select the display device (see brlcad1). If this variable is not set, the default device for your system will -be used. -If the - -option is used on those devices where it makes a difference (e.g. Adage), -the - -HIRES -(1024x1024x24) memory is cleared; otherwise a - -LORES -(512x512x24) device is assumed. +be used. In addition to those flags shown above, the width From 4b5cf84900fa500a442f8c36faa8011ed91ed3bd Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Thu, 6 Jun 2013 22:01:06 +0000 Subject: [PATCH 080/149] remove a set of braces because the if/then has just 1 statement svn:revision:55686 svn:branch:trunk svn:account:carlmoore --- src/conv/euclid/euclid_format.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/conv/euclid/euclid_format.c b/src/conv/euclid/euclid_format.c index 01e76d5f080..aaff528da8d 100644 --- a/src/conv/euclid/euclid_format.c +++ b/src/conv/euclid/euclid_format.c @@ -68,9 +68,7 @@ main(void) bu_exit(1, "Unexpected EOF\n"); if ( j != i+1 ) - { bu_exit(1, "Points out of order\n"); - } VSET( pts[i], a, b, c ); } From 03586f0bda08fca14410d78b49a56484b94e789a Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Fri, 7 Jun 2013 14:34:50 +0000 Subject: [PATCH 081/149] set scale=1.0 in the declaration, not in a separate statement svn:revision:55687 svn:branch:trunk svn:account:carlmoore --- src/sig/f-i.c | 4 +--- src/sig/i-f.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/sig/f-i.c b/src/sig/f-i.c index 3df683c525a..f2dc39ceac9 100644 --- a/src/sig/f-i.c +++ b/src/sig/f-i.c @@ -46,13 +46,11 @@ short obuf[512]; int main(int argc, char **argv) { int i, num; - double scale; + double scale = 1.0; double value; int clip_high, clip_low; size_t ret; - scale = 1.0; - if (argc > 1) { if (BU_STR_EQUAL(argv[1], "-n")) scale = 32767.0; diff --git a/src/sig/i-f.c b/src/sig/i-f.c index dcc0080d828..353f6797cfb 100644 --- a/src/sig/i-f.c +++ b/src/sig/i-f.c @@ -45,11 +45,9 @@ float obuf[512]; int main(int argc, char **argv) { int i, num; - double scale; + double scale = 1.0; size_t ret; - scale = 1.0; - if (argc > 1) { if (BU_STR_EQUAL(argv[1], "-n")) scale = 1.0 / 32768.0; From 183ddc19a75de98aaa52e3a1525838b774041820 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Fri, 7 Jun 2013 14:54:36 +0000 Subject: [PATCH 082/149] changes (preset of scale =1.0 and implementing -h and -?) for bw-d.c and d-bw.c svn:revision:55688 svn:branch:trunk svn:account:carlmoore --- src/sig/bw-d.c | 6 ++---- src/sig/d-bw.c | 12 ++++++++++-- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/sig/bw-d.c b/src/sig/bw-d.c index 36f6a060a32..e7c3a879d03 100644 --- a/src/sig/bw-d.c +++ b/src/sig/bw-d.c @@ -46,18 +46,15 @@ printusage(void) bu_exit(1, "Usage: bw-d [-n || scale] < unsigned_chars > doubles\n"); } - int main(int argc, char **argv) { int i, num; - double scale; + double scale = 1.0; size_t ret; if (BU_STR_EQUAL(argv[1], "-h") || BU_STR_EQUAL(argv[1], "-?")) printusage(); - scale = 1.0; - if (argc > 1) { if (BU_STR_EQUAL(argv[1], "-n")) scale = 1.0/255.0; @@ -79,6 +76,7 @@ int main(int argc, char **argv) for (i = 0; i < num; i++) obuf[i] = (double)ibuf[i] * scale; } + ret = fwrite(&obuf[0], sizeof(obuf[0]), num, stdout); if (ret != (size_t)num) perror("fwrite"); diff --git a/src/sig/d-bw.c b/src/sig/d-bw.c index d11bc33fd06..5e74bd13271 100644 --- a/src/sig/d-bw.c +++ b/src/sig/d-bw.c @@ -37,10 +37,14 @@ #include "bu.h" #include "vmath.h" - double ibuf[512]; unsigned char obuf[512]; +void +printusage(void) +{ + bu_exit(1, "Usage: d-bw [-n || scale] < doubles > unsigned_chars\n"); +} int main(int argc, char **argv) { @@ -50,6 +54,9 @@ int main(int argc, char **argv) int clip_high, clip_low; size_t ret; + if (BU_STR_EQUAL(argv[1], "-h") || BU_STR_EQUAL(argv[1], "-?")) + printusage(); + if (argc > 1) { if (BU_STR_EQUAL(argv[1], "-n")) scale = 255.0; @@ -59,7 +66,8 @@ int main(int argc, char **argv) } if (argc > 1 || ZERO(scale) || isatty(fileno(stdin))) { - bu_exit(1, "Usage: d-bw [-n || scale] < doubles > unsigned_chars\n"); + fprintf(stderr, "bad argument\n"); + printusage(); } clip_high = clip_low = 0; From dad4a4337252002bf016af2c1864be5f8a9c82a1 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Fri, 7 Jun 2013 14:57:58 +0000 Subject: [PATCH 083/149] remove math.h reference, which d-bw.c did not have, and I did make to make sure this didn't break anything svn:revision:55689 svn:branch:trunk svn:account:carlmoore --- src/sig/bw-d.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/sig/bw-d.c b/src/sig/bw-d.c index e7c3a879d03..06971e9cd82 100644 --- a/src/sig/bw-d.c +++ b/src/sig/bw-d.c @@ -31,7 +31,6 @@ #include /* for atof() */ #include -#include #include "bio.h" #include "bu.h" From 298f6f152082c000ed087086a786ac6407820eea Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Fri, 7 Jun 2013 15:25:30 +0000 Subject: [PATCH 084/149] cosmetic changes for d-u.c/u-d.c file comparison, and in u-d.c implement 'double scale=1.0;' svn:revision:55690 svn:branch:trunk svn:account:carlmoore --- src/sig/d-u.c | 1 - src/sig/u-d.c | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/sig/d-u.c b/src/sig/d-u.c index 5bab51c2e2b..be1b37c3f11 100644 --- a/src/sig/d-u.c +++ b/src/sig/d-u.c @@ -30,7 +30,6 @@ #include "common.h" -#include #include /* for atof() */ #include #include "bio.h" diff --git a/src/sig/u-d.c b/src/sig/u-d.c index d935a3cef21..46e6799fc2c 100644 --- a/src/sig/u-d.c +++ b/src/sig/u-d.c @@ -30,7 +30,6 @@ #include "common.h" #include /* for atof() */ -#include #include #include "bio.h" @@ -45,11 +44,9 @@ double obuf[512]; int main(int argc, char **argv) { int i, num; - double scale; + double scale = 1.0; size_t ret; - scale = 1.0; - if (argc > 1) { if (BU_STR_EQUAL(argv[1], "-n")) scale = 1.0 / 65536.0; @@ -70,6 +67,7 @@ int main(int argc, char **argv) for (i = 0; i < num; i++) obuf[i] = (double)ibuf[i] * scale; } + ret = fwrite(&obuf[0], sizeof(obuf[0]), num, stdout); if (ret != (size_t)num) perror("fwrite"); From e309db1c56dfd5412a8265e55691e270cd277c0c Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Fri, 7 Jun 2013 15:29:06 +0000 Subject: [PATCH 085/149] move scale=1.0 into the type declaration svn:revision:55691 svn:branch:trunk svn:account:carlmoore --- src/sig/u-f.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/sig/u-f.c b/src/sig/u-f.c index e9836bab618..3703bffc647 100644 --- a/src/sig/u-f.c +++ b/src/sig/u-f.c @@ -45,11 +45,9 @@ float obuf[512]; int main(int argc, char **argv) { int i, num; - double scale; + double scale = 1.0; size_t ret; - scale = 1.0; - if (argc > 1) { if (BU_STR_EQUAL(argv[1], "-n")) scale = 1.0 / 65536.0; From 9ad51c5a5d0368e1859a3f44bc3cd0a0af075b00 Mon Sep 17 00:00:00 2001 From: Wu Jianbang Date: Fri, 7 Jun 2013 16:59:29 +0000 Subject: [PATCH 086/149] Try to add PS support using get_closest_point(). svn:revision:55692 svn:branch:trunk svn:account:phoenixyjll --- src/libbrep/intersect.cpp | 57 ++++++++++++++++++++++++++++++++++----- 1 file changed, 50 insertions(+), 7 deletions(-) diff --git a/src/libbrep/intersect.cpp b/src/libbrep/intersect.cpp index ec4802c54b6..c583c200534 100644 --- a/src/libbrep/intersect.cpp +++ b/src/libbrep/intersect.cpp @@ -38,6 +38,14 @@ /** * Point-point intersections (PPI) + * + * approach: + * + * - Calculate the distance of the two points. + * + * - If the distance is within the tolerance, the two points + * intersect. Thd mid-point of them is the intersection point, + * and half of the distance is the uncertainty radius. */ bool ON_Intersect(const ON_3dPoint& pointA, @@ -79,14 +87,49 @@ ON_Intersect(const ON_3dPoint&, * Point-surface intersections (PSI) */ bool -ON_Intersect(const ON_3dPoint&, - const ON_Surface&, - ON_ClassArray&, - double, - const ON_Interval*, - const ON_Interval*) +ON_Intersect(const ON_3dPoint& pointA, + const ON_Surface& surfaceB, + ON_ClassArray& x, + double tolerance, + const ON_Interval* surfaceB_udomain, + const ON_Interval* surfaceB_vdomain) { - // Implement later. + if (tolerance <= 0.0) + tolerance = 0.01; + + ON_Interval u_domain, v_domain; + if (surfaceB_udomain == 0) + u_domain = surfaceB.Domain(0); + else + u_domain = *surfaceB_udomain; + if (surfaceB_vdomain == 0) + v_domain = surfaceB.Domain(1); + else + v_domain = *surfaceB_vdomain; + + // We need ON_BrepFace for get_closest_point(). + // TODO: Use routines like SubSurface in SSI to reduce computation. + ON_Brep *brep = ON_Brep::New(); + brep->AddSurface(surfaceB.Duplicate()); + brep->NewFace(0); + ON_2dPoint closest_point_uv; + brlcad::get_closest_point(closest_point_uv, brep->Face(0), pointA); + delete brep; + + ON_3dPoint closest_point_3d = surfaceB.PointAt(closest_point_uv.x, closest_point_uv.y); + bu_log("%lf %lf %lf\n", pointA.x, pointA.y, pointA.z); + bu_log("%lf %lf %lf\n", closest_point_3d.x, closest_point_3d.y, closest_point_3d.z); + if (pointA.DistanceTo(closest_point_3d) <= tolerance) { + ON_PX_EVENT Event; + Event.m_type = ON_PX_EVENT::psx_point; + Event.m_A = pointA; + Event.m_b = closest_point_uv; + Event.m_B = closest_point_3d; + Event.m_Mid = (pointA + Event.m_B) * 0.5; + Event.m_radius = pointA.DistanceTo(Event.m_B) * 0.5; + x.Append(Event); + return true; + } return false; } From 3d3e5826bac60853510c24fb9ba052ec67c618c8 Mon Sep 17 00:00:00 2001 From: Erik Greenwald Date: Fri, 7 Jun 2013 17:00:43 +0000 Subject: [PATCH 087/149] rebalance the XML so it can be parsed svn:revision:55693 svn:branch:trunk svn:account:erikgreenwald --- doc/docbook/system/man1/en/fbclear.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/docbook/system/man1/en/fbclear.xml b/doc/docbook/system/man1/en/fbclear.xml index 27696b3cb7e..d8ebd4384a8 100644 --- a/doc/docbook/system/man1/en/fbclear.xml +++ b/doc/docbook/system/man1/en/fbclear.xml @@ -16,13 +16,13 @@ fbclear - -c + -c -F framebuffer redgreenblue fbclear - -c + -c -F framebuffer gray_value From 0f04da6e851ab731da176fb85423c1dae0d0f22c Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Fri, 7 Jun 2013 18:14:36 +0000 Subject: [PATCH 088/149] add a blank line (cosmetic comparison with d-i.c) and initialize scale in the type statement svn:revision:55694 svn:branch:trunk svn:account:carlmoore --- src/sig/i-d.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/sig/i-d.c b/src/sig/i-d.c index ecb790e917a..860141779b5 100644 --- a/src/sig/i-d.c +++ b/src/sig/i-d.c @@ -45,11 +45,9 @@ double obuf[512]; int main(int argc, char **argv) { int i, num; - double scale; + double scale = 1.0; size_t ret; - scale = 1.0; - if (argc > 1) { if (BU_STR_EQUAL(argv[1], "-n")) scale = 1.0 / 32768.0; @@ -70,6 +68,7 @@ int main(int argc, char **argv) for (i = 0; i < num; i++) obuf[i] = (double)ibuf[i] * scale; } + ret = fwrite(&obuf[0], sizeof(obuf[0]), num, stdout); if (ret != (size_t)num) perror("fwrite"); From 3111142626846c3fb35b95b05d0a03cfa99d4a53 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Fri, 7 Jun 2013 19:32:30 +0000 Subject: [PATCH 089/149] don't need those 2 case statements; just use default svn:revision:55695 svn:branch:trunk svn:account:carlmoore --- src/util/pix-png.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/util/pix-png.c b/src/util/pix-png.c index 4a8f27e6095..52803ca004c 100644 --- a/src/util/pix-png.c +++ b/src/util/pix-png.c @@ -93,8 +93,6 @@ get_args(int argc, char **argv, size_t *width, size_t *height, FILE **infp, FILE break; } - case '?': - case 'h': default: /* help */ return 0; } From 170d398736c277e4fca9d5fd69c62c0cae6710e4 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Fri, 7 Jun 2013 20:29:26 +0000 Subject: [PATCH 090/149] implement -h and -? (removing old -h high-res) svn:revision:55696 svn:branch:trunk svn:account:carlmoore --- src/util/pix-ps.c | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/src/util/pix-ps.c b/src/util/pix-ps.c index 11e5b2cb8ff..6cdcb0c1eda 100644 --- a/src/util/pix-ps.c +++ b/src/util/pix-ps.c @@ -54,7 +54,7 @@ static FILE *infp; static char usage[] = "\ -Usage: pix-ps [-e] [-c|-l] [-L] [-h]\n\ +Usage: pix-ps [-e] [-c|-l] [-L]\n\ [-s input_squaresize] [-w input_width] [-n input_height]\n\ [-S inches_square] [-W inches_width] [-N inches_height] [file.pix]\n"; @@ -138,16 +138,12 @@ get_args(int argc, char **argv) { int c; - while ((c = bu_getopt(argc, argv, "ehclLs:w:n:S:W:N:")) != -1) { + while ((c = bu_getopt(argc, argv, "eclLs:w:n:S:W:N:h?")) != -1) { switch (c) { case 'e': /* Encapsulated PostScript */ encapsulated++; break; - case 'h': - /* high-res */ - height = width = 1024; - break; case 'c': center = 1; break; @@ -205,6 +201,12 @@ get_args(int argc, char **argv) return 1; /* OK */ } +void +printusage(void) +{ + (void)fputs(usage, stderr); + bu_exit (1, NULL); +} int main(int argc, char **argv) @@ -214,12 +216,12 @@ main(int argc, char **argv) size_t scans_per_patch, bytes_per_patch; size_t y; - outwidth = outheight = DEFAULT_SIZE; + if (argc == 1 && isatty(fileno(stdin)) && isatty(fileno(stdout)) ) + printusage(); + if (!get_args(argc, argv)) + printusage(); - if (!get_args(argc, argv)) { - (void)fputs(usage, stderr); - bu_exit (1, NULL); - } + outwidth = outheight = DEFAULT_SIZE; if (encapsulated) { xpoints = width; From ec777d7dffae64f16f625c703194572c7b896054 Mon Sep 17 00:00:00 2001 From: Richard Weiss Date: Fri, 7 Jun 2013 22:42:23 +0000 Subject: [PATCH 091/149] Updates to 'gqa' command to improve results with default settings and improve user messages/warnings. More testing is needed. svn:revision:55697 svn:branch:trunk svn:account:r_weiss --- src/libged/gqa.c | 49 +++++++++++++++++++++++++++--------------------- 1 file changed, 28 insertions(+), 21 deletions(-) diff --git a/src/libged/gqa.c b/src/libged/gqa.c index 337851791d3..22161de5a0a 100644 --- a/src/libged/gqa.c +++ b/src/libged/gqa.c @@ -611,10 +611,6 @@ parse_args(int ac, char *av[]) gridSpacing = 0.0; /* flag it */ } - - bu_vls_printf(_ged_current_gedp->ged_result_str, "set grid spacing:%g %s limit:%g %s\n", - gridSpacing / units[LINE]->val, units[LINE]->name, - gridSpacingLimit / units[LINE]->val, units[LINE]->name); break; } case 'G': @@ -1613,10 +1609,10 @@ options_prep(struct rt_i *rtip, vect_t span) } if (!ZERO(newGridSpacing - gridSpacing)) { - bu_vls_printf(_ged_current_gedp->ged_result_str, "Grid spacing %g %s is does not allow %g samples per axis\n", + bu_log("Initial grid spacing %g %s does not allow %g samples per axis.\n", gridSpacing / units[LINE]->val, units[LINE]->name, Samples_per_model_axis - 1); - bu_vls_printf(_ged_current_gedp->ged_result_str, "Adjusted to %g %s to get %g samples per model axis\n", + bu_log("Adjusted initial grid spacing to %g %s to get %g samples per model axis.\n", newGridSpacing / units[LINE]->val, units[LINE]->name, Samples_per_model_axis); gridSpacing = newGridSpacing; @@ -1625,19 +1621,20 @@ options_prep(struct rt_i *rtip, vect_t span) /* if the vol/weight tolerances are not set, pick something */ if (analysis_flags & ANALYSIS_VOLUME) { char *name = "volume.pl"; - if (ZERO(volume_tolerance - 1.0)) { + if (EQUAL(volume_tolerance, -1)) { volume_tolerance = span[X] * span[Y] * span[Z] * 0.001; - bu_vls_printf(_ged_current_gedp->ged_result_str, "setting volume tolerance to %g %s\n", + bu_log("Using estimated volume tolerance %g %s\n", volume_tolerance / units[VOL]->val, units[VOL]->name); } else - bu_vls_printf(_ged_current_gedp->ged_result_str, "volume tolerance %g\n", volume_tolerance); + bu_log("Using volume tolerance %g %s\n", + volume_tolerance / units[VOL]->val, units[VOL]->name); if (plot_files) if ((plot_volume=fopen(name, "wb")) == (FILE *)NULL) { bu_vls_printf(_ged_current_gedp->ged_result_str, "cannot open plot file %s\n", name); } } if (analysis_flags & ANALYSIS_WEIGHT) { - if (ZERO(weight_tolerance - 1.0)) { + if (EQUAL(weight_tolerance, -1)) { double max_den = 0.0; int i; for (i = 0; i < num_densities; i++) { @@ -1788,15 +1785,15 @@ weight_volume_terminate(struct cstate *state) val = obj_tbl[obj].o_weight[view] = obj_tbl[obj].o_lenDensity[view] * (state->area[view] / state->shots[view]); - low = hi = 0.0; - + low = INFINITY; + hi = -INFINITY; /* compute the per-view weight of this object */ for (view=1; view < num_views; view++) { obj_tbl[obj].o_weight[view] = obj_tbl[obj].o_lenDensity[view] * (state->area[view] / state->shots[view]); - delta = val - obj_tbl[obj].o_weight[view]; + delta = fabs(val - obj_tbl[obj].o_weight[view]); if (delta < low) low = delta; if (delta > hi) hi = delta; } @@ -1839,13 +1836,14 @@ weight_volume_terminate(struct cstate *state) val = obj_tbl[obj].o_volume[view] = obj_tbl[obj].o_len[view] * (state->area[view] / state->shots[view]); - low = hi = 0.0; + low = INFINITY; + hi = -INFINITY; /* compute the per-view volume of this object */ for (view=1; view < num_views; view++) { obj_tbl[obj].o_volume[view] = obj_tbl[obj].o_len[view] * (state->area[view] / state->shots[view]); - delta = val - obj_tbl[obj].o_volume[view]; + delta = fabs(val - obj_tbl[obj].o_volume[view]); if (delta < low) low = delta; if (delta > hi) hi = delta; } @@ -1911,9 +1909,8 @@ terminate_check(struct cstate *state) /* if we've reached the grid limit, we're done, no matter what */ if (gridSpacing < gridSpacingLimit) { - if (verbose) - bu_vls_printf(_ged_current_gedp->ged_result_str, "grid spacing refined to %g (below lower limit %g)\n", - gridSpacing, gridSpacingLimit); + bu_vls_printf(_ged_current_gedp->ged_result_str, "NOTE: Stopped, grid spacing refined to %g (below lower limit %g).\n", + gridSpacing, gridSpacingLimit); return 0; } @@ -2361,7 +2358,8 @@ ged_gqa(struct ged *gedp, int argc, const char *argv[]) elevation_deg = 0.0; densityFileName = (char *)0; gridSpacing = 50.0; - gridSpacingLimit = 0.25; + /* set default grid spacing limit based on distance tolerance */ + gridSpacingLimit = 4.0 * gedp->ged_wdbp->wdb_tol.dist; makeOverlapAssemblies = 0; require_num_hits = 1; max_cpus = ncpu = bu_avail_cpus(); @@ -2458,11 +2456,20 @@ ged_gqa(struct ged *gedp, int argc, const char *argv[]) do { gridSpacing *= 2.0; } while (gridSpacing < min_span); + gridSpacing *= 0.25; if (gridSpacing < gridSpacingLimit) gridSpacing = gridSpacingLimit; - bu_vls_printf(gedp->ged_result_str, "initial spacing %g\n", gridSpacing); + + bu_log("Trying estimated initial grid spacing: %g %s\n", + gridSpacing / units[LINE]->val, units[LINE]->name); + } else { + bu_log("Trying initial grid spacing: %g %s\n", + gridSpacing / units[LINE]->val, units[LINE]->name); } + bu_log("Using grid spacing lower limit: %g %s\n", + gridSpacingLimit / units[LINE]->val, units[LINE]->name); + if (options_prep(rtip, state.span) != GED_OK) return GED_ERROR; /* initialize some stuff */ @@ -2477,7 +2484,7 @@ ged_gqa(struct ged *gedp, int argc, const char *argv[]) VSCALE(state.steps, state.span, inv_spacing); - bu_vls_printf(gedp->ged_result_str, "grid spacing %g %s %ld x %ld x %ld\n", + bu_log("Processing with grid spacing %g %s %ld x %ld x %ld\n", gridSpacing / units[LINE]->val, units[LINE]->name, state.steps[0]-1, From 25d650a3288cd9799c8daf4a02a5c2ed460baced Mon Sep 17 00:00:00 2001 From: Erik Greenwald Date: Mon, 10 Jun 2013 13:10:22 +0000 Subject: [PATCH 092/149] remove executable prop for .c files svn:revision:55698 svn:branch:trunk svn:account:erikgreenwald --- src/libdm/adc.c | 0 src/libdm/grid.c | 0 src/libdm/labels.c | 0 src/libdm/rect.c | 0 src/libdm/scale.c | 0 5 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 src/libdm/adc.c mode change 100755 => 100644 src/libdm/grid.c mode change 100755 => 100644 src/libdm/labels.c mode change 100755 => 100644 src/libdm/rect.c mode change 100755 => 100644 src/libdm/scale.c diff --git a/src/libdm/adc.c b/src/libdm/adc.c old mode 100755 new mode 100644 diff --git a/src/libdm/grid.c b/src/libdm/grid.c old mode 100755 new mode 100644 diff --git a/src/libdm/labels.c b/src/libdm/labels.c old mode 100755 new mode 100644 diff --git a/src/libdm/rect.c b/src/libdm/rect.c old mode 100755 new mode 100644 diff --git a/src/libdm/scale.c b/src/libdm/scale.c old mode 100755 new mode 100644 From 9ba86b14529ee1ad4bab93f1d28224443c1a8c08 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Mon, 10 Jun 2013 16:39:26 +0000 Subject: [PATCH 093/149] __STRICT_ANSI__ is not the right define to key off of as it catches c89 and c99 (for gcc and clang). if we're compililing gnu89 pedantic, we need to check for GNU inline behavior, which is indicated for gcc 4.1+ and clang via the __GNUC_GNU_INLINE__ define. leaving __STRICT_ANSI__ in place to not rock the windows boat prior to release. svn:revision:55699 svn:branch:trunk svn:account:brlcad --- include/common.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/common.h b/include/common.h index 916daabe5f2..a112ea6c797 100644 --- a/include/common.h +++ b/include/common.h @@ -82,8 +82,12 @@ # endif #endif -/* ansi c89 does not allow the 'inline' keyword */ -#ifdef __STRICT_ANSI__ +/* ansi c89 does not allow the 'inline' keyword, check if GNU inline + * rules are in effect. + * + * TODO: test removal of __STRICT_ANSI__ on Windows. + */ +#if defined(__STRICT_ANSI__) || defined(__GNUC_GNU_INLINE__) # ifndef inline # define inline /***/ # endif From d107b4cbe0002f5ce5351ee5ac1bfac0bf6ad22f Mon Sep 17 00:00:00 2001 From: Nicholas Reed Date: Mon, 10 Jun 2013 17:47:20 +0000 Subject: [PATCH 094/149] don't want to remove inline uses from cpp files svn:revision:55700 svn:branch:trunk svn:account:n_reed --- include/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/common.h b/include/common.h index a112ea6c797..9972e372557 100644 --- a/include/common.h +++ b/include/common.h @@ -87,7 +87,7 @@ * * TODO: test removal of __STRICT_ANSI__ on Windows. */ -#if defined(__STRICT_ANSI__) || defined(__GNUC_GNU_INLINE__) +#if !defined __cplusplus && (defined(__STRICT_ANSI__) || defined(__GNUC_GNU_INLINE__)) # ifndef inline # define inline /***/ # endif From 989bcf5adc24eaec19672ce618e8e24ed5e70970 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Mon, 10 Jun 2013 18:03:20 +0000 Subject: [PATCH 095/149] remove old -h (high-res); use h,?,run-with-no-arguments for help svn:revision:55701 svn:branch:trunk svn:account:carlmoore --- src/util/pixscale.c | 13 +++++-------- src/util/pixshrink.c | 17 ++++++----------- 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/src/util/pixscale.c b/src/util/pixscale.c index ff840b2c2a6..1d1a871e67b 100644 --- a/src/util/pixscale.c +++ b/src/util/pixscale.c @@ -61,7 +61,7 @@ int outy = 512; static char usage[] = "\ -Usage: pixscale [-h] [-r] [-s squareinsize] [-w inwidth] [-n inheight]\n\ +Usage: pixscale [-r] [-s squareinsize] [-w inwidth] [-n inheight]\n\ [-S squareoutsize] [-W outwidth] [-N outheight] [in.pix] > out.pix\n"; /****** THIS PROBABLY SHOULD BE ELSEWHERE *******/ @@ -339,16 +339,12 @@ get_args(int argc, char **argv) { int c; - while ((c = bu_getopt(argc, argv, "rhs:w:n:S:W:N:")) != -1) { + while ((c = bu_getopt(argc, argv, "rs:w:n:S:W:N:h?")) != -1) { switch (c) { case 'r': /* pixel replication */ rflag = 1; break; - case 'h': - /* high-res */ - inx = iny = 1024; - break; case 'S': /* square size */ outx = outy = atoi(bu_optarg); @@ -413,9 +409,10 @@ main(int argc, char **argv) { int i; - if (!get_args(argc, argv) || isatty(fileno(stdout))) { + if ( argc == 1 && isatty(fileno(stdin)) && isatty(fileno(stdout)) ) + bu_exit(1, "%s", usage); + if (!get_args(argc, argv) || isatty(fileno(stdout))) bu_exit(1, "%s", usage); - } if (inx <= 0 || iny <= 0 || outx <= 0 || outy <= 0) { bu_exit(2, "pixscale: bad size\n"); diff --git a/src/util/pixshrink.c b/src/util/pixshrink.c index cd431e0884c..abdc76df63d 100644 --- a/src/util/pixshrink.c +++ b/src/util/pixshrink.c @@ -35,7 +35,7 @@ #define UCHAR unsigned char /* declarations to support use of bu_getopt() system call */ -char *options = "uhs:w:n:f:"; +char *options = "us:w:n:f:h?"; char *progname = "(noname)"; char *filename = "(stdin)"; @@ -173,7 +173,7 @@ int method = METH_BOXCAR; void usage(void) { (void) fprintf(stderr, - "Usage: %s [-u] [-h] [-w width] [-n scanlines] [-s squaresize]\n\ + "Usage: %s [-u] [-w width] [-n scanlines] [-s squaresize]\n\ [-f shrink_factor] [pixfile] > pixfile\n", progname); bu_exit (1, NULL); } @@ -182,16 +182,14 @@ void usage(void) /* * P A R S E _ A R G S --- Parse through command line flags */ -void parse_args(int ac, char **av) +void +parse_args(int ac, char **av) { int c; if (!(progname = strrchr(*av, '/'))) progname = *av; - /* Turn off bu_getopt's error messages */ - bu_opterr = 0; - /* get all the option flags from the command line */ while ((c=bu_getopt(ac, av, options)) != -1) switch (c) { @@ -199,9 +197,6 @@ void parse_args(int ac, char **av) if ((c = atoi(bu_optarg)) > 1) factor = c; break; - case 'h': - width = height = 1024; - break; case 'n': if ((c=atoi(bu_optarg)) > 0) height = c; @@ -217,7 +212,6 @@ void parse_args(int ac, char **av) case 'u': method = METH_UNDERSAMPLE; break; - case '?': default: usage(); break; @@ -254,7 +248,8 @@ int main(int ac, char **av) UCHAR *buffer = (UCHAR *)NULL; (void)parse_args(ac, av); - if (isatty(fileno(stdin))) usage(); + if (isatty(fileno(stdin))) + usage(); /* process stdin */ scanlen = width * 3; From fdec58b0dccd8c947939d67500a29b195107970d Mon Sep 17 00:00:00 2001 From: Nicholas Reed Date: Mon, 10 Jun 2013 18:14:43 +0000 Subject: [PATCH 096/149] remove duplicate prototypes svn:revision:55702 svn:branch:trunk svn:account:n_reed --- src/libdm/dm-ogl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/libdm/dm-ogl.c b/src/libdm/dm-ogl.c index 393ae596468..761582d7136 100644 --- a/src/libdm/dm-ogl.c +++ b/src/libdm/dm-ogl.c @@ -133,9 +133,6 @@ HIDDEN int ogl_getDisplayImage(struct dm *dmp, unsigned char **image); HIDDEN void ogl_reshape(struct dm *dmp, int width, int height); HIDDEN int ogl_makeCurrent(struct dm *dmp); -HIDDEN int ogl_setLight(struct dm *dmp, int lighting_on); -HIDDEN int ogl_setZBuffer(struct dm *dmp, int zbuffer_on); - struct dm dm_ogl = { ogl_close, From 2bf348ab70463d91c737dd71f8125d481480caab Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Mon, 10 Jun 2013 18:32:37 +0000 Subject: [PATCH 097/149] remove h for high-res; implement h,? for help svn:revision:55703 svn:branch:trunk svn:account:carlmoore --- src/fb/pix-fb.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/fb/pix-fb.c b/src/fb/pix-fb.c index 4fafbdafa9d..920900a71c9 100644 --- a/src/fb/pix-fb.c +++ b/src/fb/pix-fb.c @@ -71,7 +71,7 @@ static int pause_sec = 0; /* Pause that many seconds before closing the FB and exiting */ static char usage[] = "\ -Usage: pix-fb [-a -h -i -c -z -1] [-m #lines] [-F framebuffer]\n\ +Usage: pix-fb [-a -i -c -z -1] [-m #lines] [-F framebuffer]\n\ [-s squarefilesize] [-w file_width] [-n file_height]\n\ [-x file_xoff] [-y file_yoff] [-X scr_xoff] [-Y scr_yoff]\n\ [-S squarescrsize] [-W scr_width] [-N scr_height] [-p seconds]\n\ @@ -82,7 +82,7 @@ get_args(int argc, char **argv) { int c; - while ((c = bu_getopt(argc, argv, "1m:ahiczF:p:s:w:n:x:y:X:Y:S:W:N:")) != -1) { + while ((c = bu_getopt(argc, argv, "1m:aiczF:p:s:w:n:x:y:X:Y:S:W:N:h?")) != -1) { switch (c) { case '1': one_line_only = 1; @@ -93,12 +93,6 @@ get_args(int argc, char **argv) case 'a': autosize = 1; break; - case 'h': - /* high-res */ - file_height = file_width = 1024; - scr_height = scr_width = 1024; - autosize = 0; - break; case 'i': inverse = 1; break; From 97e749fbda1ac2b92999699ee17c1de3561f55a0 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Mon, 10 Jun 2013 20:44:11 +0000 Subject: [PATCH 098/149] remove unneeded braces svn:revision:55704 svn:branch:trunk svn:account:carlmoore --- src/sig/f-d.c | 3 +-- src/sig/f-i.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/sig/f-d.c b/src/sig/f-d.c index 883e1b096ee..356b9aa3b29 100644 --- a/src/sig/f-d.c +++ b/src/sig/f-d.c @@ -55,9 +55,8 @@ int main(int argc, char **argv) argc--; } - if (argc > 1 || ZERO(scale) || isatty(fileno(stdin)) || isatty(fileno(stdout))) { + if (argc > 1 || ZERO(scale) || isatty(fileno(stdin)) || isatty(fileno(stdout))) bu_exit(1, "Usage: f-d [-n || scale] < floats > doubles\n"); - } while ((num = fread(&ibuf[0], sizeof(ibuf[0]), 512, stdin)) > 0) { if (EQUAL(scale, 1.0)) { diff --git a/src/sig/f-i.c b/src/sig/f-i.c index f2dc39ceac9..edee6a01f3d 100644 --- a/src/sig/f-i.c +++ b/src/sig/f-i.c @@ -59,9 +59,8 @@ int main(int argc, char **argv) argc--; } - if (argc > 1 || ZERO(scale) || isatty(fileno(stdin))) { + if (argc > 1 || ZERO(scale) || isatty(fileno(stdin))) bu_exit(1, "Usage: f-i [-n || scale] < floats > shorts\n"); - } clip_high = clip_low = 0; From a5be10c8ba9f54eab511683e64ca8f15e1248bc5 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Mon, 10 Jun 2013 20:49:48 +0000 Subject: [PATCH 099/149] cosmetic stuff, to look as much as possible like d-f.c svn:revision:55705 svn:branch:trunk svn:account:carlmoore --- src/sig/i-f.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sig/i-f.c b/src/sig/i-f.c index 353f6797cfb..1e083ffb78c 100644 --- a/src/sig/i-f.c +++ b/src/sig/i-f.c @@ -30,8 +30,8 @@ #include "common.h" #include /* for atof() */ -#include #include +#include #include "bio.h" #include "bu.h" @@ -68,11 +68,11 @@ int main(int argc, char **argv) for (i = 0; i < num; i++) obuf[i] = (double)ibuf[i] * scale; } + ret = fwrite(&obuf[0], sizeof(obuf[0]), num, stdout); if (ret != (size_t)num) perror("fwrite"); } - return 0; } From bf789f8c5b5a9bcc00a714059d362dbd4d066556 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Mon, 10 Jun 2013 22:42:11 +0000 Subject: [PATCH 100/149] key off any negative tolerance value for weight/volume, not just the specific value we initialized with svn:revision:55706 svn:branch:trunk svn:account:brlcad --- src/libged/gqa.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libged/gqa.c b/src/libged/gqa.c index 22161de5a0a..200549b9d7d 100644 --- a/src/libged/gqa.c +++ b/src/libged/gqa.c @@ -1621,7 +1621,8 @@ options_prep(struct rt_i *rtip, vect_t span) /* if the vol/weight tolerances are not set, pick something */ if (analysis_flags & ANALYSIS_VOLUME) { char *name = "volume.pl"; - if (EQUAL(volume_tolerance, -1)) { + if (volume_tolerance < 0.0) { + /* using 1/1000th the volume as a default tolerance, no particular reason */ volume_tolerance = span[X] * span[Y] * span[Z] * 0.001; bu_log("Using estimated volume tolerance %g %s\n", volume_tolerance / units[VOL]->val, units[VOL]->name); @@ -1634,7 +1635,7 @@ options_prep(struct rt_i *rtip, vect_t span) } } if (analysis_flags & ANALYSIS_WEIGHT) { - if (EQUAL(weight_tolerance, -1)) { + if (weight_tolerance < 0.0) { double max_den = 0.0; int i; for (i = 0; i < num_densities; i++) { From cee8bb697f96c78cec9a22182e7161414451e4cb Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Mon, 10 Jun 2013 22:49:18 +0000 Subject: [PATCH 101/149] introducing new magic numbers (literal values) without explanation is taboo, go with something (an order of magnitude) that should be defensible. value is still significantly smaller than the previous quarter-mm value... svn:revision:55707 svn:branch:trunk svn:account:brlcad --- src/libged/gqa.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/libged/gqa.c b/src/libged/gqa.c index 200549b9d7d..ddeb388d14f 100644 --- a/src/libged/gqa.c +++ b/src/libged/gqa.c @@ -2358,9 +2358,19 @@ ged_gqa(struct ged *gedp, int argc, const char *argv[]) azimuth_deg = 0.0; elevation_deg = 0.0; densityFileName = (char *)0; + + /* FIXME: this is completely arbitrary, should probably be based + * on the model size. + */ gridSpacing = 50.0; - /* set default grid spacing limit based on distance tolerance */ - gridSpacingLimit = 4.0 * gedp->ged_wdbp->wdb_tol.dist; + + /* default grid spacing limit is based on the current distance + * tolerance, one order of magnitude greater. + * + * FIXME: should probably be based on the model size. + */ + gridSpacingLimit = 10.0 * gedp->ged_wdbp->wdb_tol.dist; + makeOverlapAssemblies = 0; require_num_hits = 1; max_cpus = ncpu = bu_avail_cpus(); From 66838b82e510052cf1ed63bba499f9b4419038da Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Tue, 11 Jun 2013 13:11:44 +0000 Subject: [PATCH 102/149] correct lu vs. d discrepancy between variable & format specification; also remove unneeded braces svn:revision:55708 svn:branch:trunk svn:account:carlmoore --- src/rt/view.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/rt/view.c b/src/rt/view.c index fde6f52f997..680894dfa1e 100644 --- a/src/rt/view.c +++ b/src/rt/view.c @@ -1871,9 +1871,9 @@ view_2init(struct application *ap, char *UNUSED(framename)) * structures in the space partitioning tree */ bu_ptbl_init(&stps, 8, "soltabs to delete"); - if (R_DEBUG & RDEBUG_LIGHT) { - bu_log("deleting %d invisible light regions\n", BU_PTBL_LEN(&ap->a_rt_i->delete_regs)); - } + if (R_DEBUG & RDEBUG_LIGHT) + bu_log("deleting %lu invisible light regions\n", BU_PTBL_LEN(&ap->a_rt_i->delete_regs)); + for (i=0; ia_rt_i->delete_regs); i++) { struct region *rp; struct soltab *stp; @@ -1890,10 +1890,10 @@ view_2init(struct application *ap, char *UNUSED(framename)) /* remove the invisible light region pointers from the soltab * structs. */ - if (R_DEBUG & RDEBUG_LIGHT) { - bu_log("Removing invisible light region pointers from %d soltabs\n", + if (R_DEBUG & RDEBUG_LIGHT) + bu_log("Removing invisible light region pointers from %lu soltabs\n", BU_PTBL_LEN(&stps)); - } + for (j=0; j Date: Tue, 11 Jun 2013 17:20:55 +0000 Subject: [PATCH 103/149] Don't always add compiler flags to C group - some flags are C++ only svn:revision:55709 svn:branch:trunk svn:account:starseeker --- misc/CMake/CompilerFlags.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/CMake/CompilerFlags.cmake b/misc/CMake/CompilerFlags.cmake index 3f5572fb819..c00aacde52f 100644 --- a/misc/CMake/CompilerFlags.cmake +++ b/misc/CMake/CompilerFlags.cmake @@ -137,7 +137,7 @@ macro(BRLCAD_CHECK_FLAG) foreach(build_type ${FLAG_BUILD_TYPES}) CHECK_COMPILER_FLAG(${FLAG_LANG} ${NEW_FLAG} ${UPPER_FLAG}_COMPILER_FLAG_FOUND) if(${UPPER_FLAG}_COMPILER_FLAG_FOUND) - ADD_NEW_FLAG(C NEW_FLAG "${build_type}") + ADD_NEW_FLAG(${FLAG_LANG} NEW_FLAG "${build_type}") endif(${UPPER_FLAG}_COMPILER_FLAG_FOUND) endforeach(build_type ${FLAG_BUILD_TYPES}) From 65d1ec76a7cceab25e8baf8f170b7f2b876173f3 Mon Sep 17 00:00:00 2001 From: Clifford Yapp <238416+starseeker@users.noreply.github.com> Date: Tue, 11 Jun 2013 20:07:33 +0000 Subject: [PATCH 104/149] Add (commented out) file that attemps to make nicer bot wireframes using a surface patch breakout technique. Proving to be too slow for interactive use in its current form - hot spot is determing which faces share the edges with any one particular face, and even if that can somehow be made fast the pre-processing really should be done in parallel. Checkpointing so a revert point is available. svn:revision:55710 svn:branch:trunk svn:account:starseeker --- src/librt/CMakeLists.txt | 1 + src/librt/primitives/bot/bot_wireframe.cpp | 288 +++++++++++++++++++++ 2 files changed, 289 insertions(+) create mode 100644 src/librt/primitives/bot/bot_wireframe.cpp diff --git a/src/librt/CMakeLists.txt b/src/librt/CMakeLists.txt index 3ace0daecdb..dc9f0665d73 100644 --- a/src/librt/CMakeLists.txt +++ b/src/librt/CMakeLists.txt @@ -257,6 +257,7 @@ set(librt_ignored_files prcomb.c primitives/bot/btg.h primitives/bot/g_bot_include.c + primitives/bot/bot_wireframe.cpp primitives/bot/tieprivate.h primitives/bot/tie.c primitives/bot/tie_kdtree.c diff --git a/src/librt/primitives/bot/bot_wireframe.cpp b/src/librt/primitives/bot/bot_wireframe.cpp new file mode 100644 index 00000000000..bf22b50af14 --- /dev/null +++ b/src/librt/primitives/bot/bot_wireframe.cpp @@ -0,0 +1,288 @@ +#include "common.h" + +#include +#include +#include +#include +#include + +#include "vmath.h" +#include "raytrace.h" +#include "wdb.h" + +/************************* + * Utility functions + *************************/ + +#if 0 +// Make an edge id using the Szudzik pairing function: +long unsigned int edge_id(size_t pt_A, size_t pt_B) +{ + return (pt_A >= pt_B) ? (pt_A * pt_A + pt_A + pt_B) : (pt_B * pt_B + pt_A); +} + +// shift one of the vertex index numbers up to form a unique ID. Offset is +// log10(bot->num_vertices) + 1 +long unsigned int edge_id(size_t pt_A, size_t pt_B, int offset) +{ + return (pt_A <= pt_B) ? (pt_A * pow(10,offset) + pt_B) : (pt_B * pow(10,offset) + pt_A); +} + +void breakout(long unsigned int id, int offset, size_t *A, size_t *B) +{ + (*B) = (size_t)((long)id % (int)pow(10,offset)); + (*A) = (size_t)(id - (*B))/ (int)(pow(10, offset)); +} +#endif + +// Make an edge using consistent vertex ordering +static std::pair +mk_edge(size_t pt_A, size_t pt_B) +{ + if (pt_A <= pt_B) { + return std::make_pair(pt_A, pt_B); + } else { + return std::make_pair(pt_B, pt_A); + } +} + + +// Calculate area of a face +static double +face_area(struct rt_bot_internal *bot, size_t face_num) +{ + point_t ptA, ptB, ptC; + double a, b, c, p; + double area; + VMOVE(ptA, &bot->vertices[bot->faces[face_num*3+0]*3]); + VMOVE(ptB, &bot->vertices[bot->faces[face_num*3+1]*3]); + VMOVE(ptC, &bot->vertices[bot->faces[face_num*3+2]*3]); + a = DIST_PT_PT(ptA, ptB); + b = DIST_PT_PT(ptB, ptC); + c = DIST_PT_PT(ptC, ptA); + p = (a + b + c)/2; + area = sqrt(p*(p-a)*(p-b)*(p-c)); + return area; +} + +// Given a BoT face, return the three other faces that share an edge with that face +static void +get_connected_faces(struct rt_bot_internal *bot, size_t face_num, std::map > *vert_to_face, std::set *faces) +{ + std::map face_cnt; + size_t points[3]; + points[0] = bot->faces[face_num*3+0]*3; + points[1] = bot->faces[face_num*3+1]*3; + points[2] = bot->faces[face_num*3+2]*3; + std::set::iterator it; + for (int i = 0; i < 3; ++i) { + for (it = (*vert_to_face)[points[i]].begin(); it != (*vert_to_face)[points[i]].end(); it++) { + face_cnt[(*it)] += 1; + } + } + std::map::iterator mit; + for (mit = face_cnt.begin(); mit != face_cnt.end(); ++mit) { + if ((*mit).second > 1) { + faces->insert((*mit).first); + } + } +} + +/* To avoid drawing dupliate lines, build the final vlist using a set */ +static void +plot_patch_borders(std::vector, size_t> > *patch_edge_cnt, struct rt_bot_internal *bot, struct bu_list *vhead) +{ + std::set > final_edge_set; + std::set >::iterator fe_it; + std::map, size_t>::iterator e_it; + for (int i = 0; i < patch_edge_cnt->size(); i++) { + for (e_it = (*patch_edge_cnt)[i].begin(); e_it != (*patch_edge_cnt)[i].end(); e_it++) { + if ((*e_it).second == 1) { + final_edge_set.insert((*e_it).first); + } + } + } + for (fe_it = final_edge_set.begin(); fe_it != final_edge_set.end(); fe_it++) { + RT_ADD_VLIST(vhead, &(bot->vertices[(*fe_it).first]), BN_VLIST_LINE_MOVE); + RT_ADD_VLIST(vhead, &(bot->vertices[(*fe_it).second]), BN_VLIST_LINE_DRAW); + } +} + +/********************************************************** + * Code for identifying semi-flat patches in bots + * and creating wireframe edges + **********************************************************/ +extern "C" int +rt_bot_adaptive_plot(struct rt_db_internal *ip, const struct rt_view_info *info) +{ + struct rt_bot_internal *bot; + RT_CK_DB_INTERNAL(ip); + BU_CK_LIST_HEAD(info->vhead); + bot = (struct rt_bot_internal *)ip->idb_ptr; + RT_BOT_CK_MAGIC(bot); + + if (bot->num_vertices <= 0 || !bot->vertices || bot->num_faces <= 0 || !bot->faces) + return 0; + + /* Declare key containers */ + vect_t gvects[6]; + std::vector face_areas; + std::vector face_normals; + std::vector > groups; + std::vector, size_t> > groups_edge_face_cnt; + std::vector > categorization_results; + std::vector face_to_plane; + std::vector > patches; + std::map > vert_to_face; + + /* Initialize containers */ + face_areas.resize(bot->num_faces); + face_to_plane.resize(bot->num_faces); + face_normals.resize(bot->num_faces*3); + groups.resize(6); + groups_edge_face_cnt.resize(6); + categorization_results.resize(6); + for (int i = 0; i < 6; ++i) { + categorization_results[i].resize(bot->num_faces); //categories can hold at most all faces in bot + } + patches.resize(bot->num_faces*3); // Max number of patches should be the same as the face cnt, but it isn't always + VSET(gvects[0], -1,0,0); + VSET(gvects[1], 0,-1,0); + VSET(gvects[2], 0,0,-1); + VSET(gvects[3], 1,0,0); + VSET(gvects[4], 0,1,0); + VSET(gvects[5], 0,0,1); + + // Calculate face normals dot product with bounding rpp planes + for (size_t i=0; i < bot->num_faces; ++i) { + size_t pt_A, pt_B, pt_C; + size_t result_max; + double vdot = 0.0; + double result = 0.0; + vect_t a, b, norm_dir; + // Add vert -> edge and edge -> face mappings to global map. + pt_A = bot->faces[i*3+0]*3; + pt_B = bot->faces[i*3+1]*3; + pt_C = bot->faces[i*3+2]*3; + vert_to_face[pt_A].insert(i); + vert_to_face[pt_B].insert(i); + vert_to_face[pt_C].insert(i); + // Categorize face + VSUB2(a, &bot->vertices[bot->faces[i*3+1]*3], &bot->vertices[bot->faces[i*3]*3]); + VSUB2(b, &bot->vertices[bot->faces[i*3+2]*3], &bot->vertices[bot->faces[i*3]*3]); + VCROSS(norm_dir, a, b); + VUNITIZE(norm_dir); + face_normals[i*3]=norm_dir[0]; + face_normals[i*3+1]=norm_dir[1]; + face_normals[i*3+2]=norm_dir[2]; + for (int j=0; j < 6; j++) { + vdot = VDOT(gvects[j],norm_dir); + categorization_results[j][i] = vdot; + if (vdot > result) { + result_max = j; + result = vdot; + } + } + groups[result_max].push_back(i); + face_to_plane[i]=result_max; + face_areas[i] = face_area(bot, i); + } + + // Order the groups by number of bots + std::vector ordered_groups; + int group_ids[] = {0, 1, 2, 3, 4, 5}; + std::set group_bin (group_ids, group_ids+6); + std::set::iterator fg_it; + while (!group_bin.empty()) { + int largest_group = 0; + int max = 0; + for (fg_it = group_bin.begin(); fg_it != group_bin.end(); fg_it++) { + if (groups[(*fg_it)].size() == 0) { + group_bin.erase((*fg_it)); + } else { + if (groups[(*fg_it)].size() > max) { + max = groups[(*fg_it)].size(); + largest_group = (*fg_it); + } + } + } + if (max > 0) + ordered_groups.push_back(largest_group); + group_bin.erase(largest_group); + } + + // All faces must belong to some patch - continue until all faces are processed + std::vector face_pool (bot->num_faces, 1); + std::vector face_to_patch (bot->num_faces, -1); + int patch_cnt = -1; + for (int i = 0; i < ordered_groups.size(); i++) { + int largest_face = 0; + int curr_group = ordered_groups[i]; + while (largest_face != -1) { + // Start a new patch + vect_t largest_face_normal; + largest_face = -1; + patch_cnt++; + // Find largest remaining face in group + double face_size_criteria = 0.0; + for (int f_it = 0; f_it < groups[curr_group].size(); f_it++) { + if (face_pool[groups[curr_group][f_it]]) { + double fa = face_areas[groups[curr_group][f_it]]; + if (fa > face_size_criteria) { + largest_face = groups[curr_group][f_it]; + face_size_criteria = fa; + } + } + } + if (largest_face != -1) { + std::queue face_queue; + face_queue.push(largest_face); + + VSET(largest_face_normal, face_normals[largest_face*3], face_normals[largest_face*3+1], face_normals[largest_face*3+2]); + face_pool[largest_face] = 0; + while (!face_queue.empty()) { + size_t pt_A, pt_B, pt_C; + int face_num = face_queue.front(); + face_queue.pop(); + patches[patch_cnt].insert(face_num); + face_to_patch[face_num] = patch_cnt; + pt_A = bot->faces[face_num*3+0]*3; + pt_B = bot->faces[face_num*3+1]*3; + pt_C = bot->faces[face_num*3+2]*3; + groups_edge_face_cnt[curr_group][mk_edge(pt_A, pt_B)] += 1; + groups_edge_face_cnt[curr_group][mk_edge(pt_B, pt_C)] += 1; + groups_edge_face_cnt[curr_group][mk_edge(pt_C, pt_A)] += 1; + + std::set connected_faces; + std::set::iterator cf_it; + get_connected_faces(bot, face_num, &(vert_to_face), &connected_faces); + for (cf_it = connected_faces.begin(); cf_it != connected_faces.end() ; cf_it++) { + if (face_pool[(*cf_it)]) { + double curr_face_area = face_areas[(*cf_it)]; + if (curr_face_area < (face_size_criteria*10) && curr_face_area > (face_size_criteria*0.1)) { + vect_t face_normal; + VSET(face_normal, face_normals[face_num*3], face_normals[face_num*3+1], face_normals[face_num*3+2]); + if (VDOT(largest_face_normal, face_normal) > 0.85) { + face_queue.push((*cf_it)); + face_pool[(*cf_it)] = 0; + } + } + } + } + } + } + } + } + plot_patch_borders(&(groups_edge_face_cnt), bot, info->vhead); + + return 0; +} + +// Local Variables: +// tab-width: 8 +// mode: C++ +// c-basic-offset: 4 +// indent-tabs-mode: t +// c-file-style: "stroustrup" +// End: +// ex: shiftwidth=4 tabstop=8 From dc7a0b929f2c18057ef3a8c2c8d394cd3eab1f4b Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Tue, 11 Jun 2013 20:42:20 +0000 Subject: [PATCH 105/149] Implement -h and -? in fb-bw (removing old -h); and make 1 cosmetic change in bw-fb.c svn:revision:55711 svn:branch:trunk svn:account:carlmoore --- src/fb/bw-fb.c | 1 - src/fb/fb-bw.c | 9 ++------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/fb/bw-fb.c b/src/fb/bw-fb.c index a29afc5ae6b..cac141a7c3e 100644 --- a/src/fb/bw-fb.c +++ b/src/fb/bw-fb.c @@ -16,7 +16,6 @@ * You should have received a copy of the GNU Lesser General Public * License along with this file; see the file named COPYING for more * information. - * */ /** @file bw-fb.c * diff --git a/src/fb/fb-bw.c b/src/fb/fb-bw.c index a78c60cb966..9a6850ac2c6 100644 --- a/src/fb/fb-bw.c +++ b/src/fb/fb-bw.c @@ -58,12 +58,8 @@ get_args(int argc, char **argv) { int c; - while ((c = bu_getopt(argc, argv, "hiF:X:Y:s:w:n:")) != -1) { + while ((c = bu_getopt(argc, argv, "iF:X:Y:s:w:n:h?")) != -1) { switch (c) { - case 'h': - /* high-res */ - height = width = 1024; - break; case 'i': inverse = 1; break; @@ -122,8 +118,7 @@ main(int argc, char **argv) int x, y; int xin, yin; /* number of sceen output lines */ - char usage[] = "\ -Usage: fb-bw [-h -i] [-F framebuffer]\n\ + char usage[] = "Usage: fb-bw [-i] [-F framebuffer]\n\ [-X scr_xoff] [-Y scr_yoff]\n\ [-s squaresize] [-w width] [-n height] [file.bw]\n"; From a57c46cf824c817ae7318c9bcca3bf491c76c1bc Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Tue, 11 Jun 2013 21:01:22 +0000 Subject: [PATCH 106/149] implement -h and -? for help (old -h has become -H) svn:revision:55712 svn:branch:trunk svn:account:carlmoore --- src/fb/fb-cmap.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/fb/fb-cmap.c b/src/fb/fb-cmap.c index 81d60836dc1..534f71244cb 100644 --- a/src/fb/fb-cmap.c +++ b/src/fb/fb-cmap.c @@ -35,7 +35,7 @@ ColorMap cm; static char usage[] = "\ -Usage: fb-cmap [-h] [colormap]\n"; +Usage: fb-cmap [-H] [colormap]\n"; int main(int argc, char **argv) @@ -46,10 +46,11 @@ main(int argc, char **argv) int i; while (argc > 1) { - if (BU_STR_EQUAL(argv[1], "-h")) { + if (BU_STR_EQUAL(argv[1], "-H")) { fbsize = 1024; } else if (argv[1][0] == '-') { - /* unknown flag */ + if ( (!BU_STR_EQUAL(argv[1], "-?")) && (!BU_STR_EQUAL(argv[1], "-h")) ) + fprintf(stderr, "fb-cmap: unknown flag %s\n", argv[1]); bu_exit(1, "%s", usage); } else break; /* must be a filename */ @@ -62,8 +63,11 @@ main(int argc, char **argv) fprintf(stderr, "fb-cmap: can't open \"%s\"\n", argv[1]); bu_exit(2, "%s", usage); } - } else + } else { fp = stdout; + if(isatty(fileno(fp))) + fprintf(stderr, "%s Program continues running:\n", usage); + } if ((fbp = fb_open(NULL, fbsize, fbsize)) == FBIO_NULL) bu_exit(2, "Unable to open framebuffer\n"); From e2feacebc87e041749ba619c3d4403a895eb5ba0 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Tue, 11 Jun 2013 21:18:40 +0000 Subject: [PATCH 107/149] for fb-fb, implement h and ? svn:revision:55713 svn:branch:trunk svn:account:carlmoore --- src/fb/fb-fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fb/fb-fb.c b/src/fb/fb-fb.c index 02d69f82e30..f73529f1acb 100644 --- a/src/fb/fb-fb.c +++ b/src/fb/fb-fb.c @@ -51,7 +51,7 @@ get_args(int argc, char **argv) { int c; - while ((c = bu_getopt(argc, argv, "vF:")) != -1) { + while ((c = bu_getopt(argc, argv, "vF:h?")) != -1) { switch (c) { case 'F': out_fb_name = bu_optarg; From ba0c9b7e65099e8406ad1da9fb779c45ce6507b4 Mon Sep 17 00:00:00 2001 From: Richard Weiss Date: Tue, 11 Jun 2013 21:55:33 +0000 Subject: [PATCH 108/149] Simplified the "gqa" command logic for testing if the volume/weight estimate is within volume/weight tolerance. svn:revision:55714 svn:branch:trunk svn:account:r_weiss --- src/libged/gqa.c | 67 +++++++++++++++++++++++------------------------- 1 file changed, 32 insertions(+), 35 deletions(-) diff --git a/src/libged/gqa.c b/src/libged/gqa.c index ddeb388d14f..5c3a6f468d6 100644 --- a/src/libged/gqa.c +++ b/src/libged/gqa.c @@ -1779,34 +1779,33 @@ weight_volume_terminate(struct cstate *state) int obj; for (obj = 0; obj < num_objects; obj++) { - int view = 0; + int view; + double tmp; + if (verbose) bu_vls_printf(_ged_current_gedp->ged_result_str, "object %d\n", obj); - /* compute weight of object for given view */ - val = obj_tbl[obj].o_weight[view] = - obj_tbl[obj].o_lenDensity[view] * (state->area[view] / state->shots[view]); + /* compute weight of object for given view */ low = INFINITY; hi = -INFINITY; - /* compute the per-view weight of this object */ - for (view=1; view < num_views; view++) { - obj_tbl[obj].o_weight[view] = - obj_tbl[obj].o_lenDensity[view] * - (state->area[view] / state->shots[view]); - - delta = fabs(val - obj_tbl[obj].o_weight[view]); - if (delta < low) low = delta; - if (delta > hi) hi = delta; + tmp = 0.0; + for (view = 0; view < num_views; view++) { + val = obj_tbl[obj].o_weight[view] = + obj_tbl[obj].o_lenDensity[view] * (state->area[view] / state->shots[view]); + V_MIN(low, val); + V_MAX(hi, val); + tmp += val; } delta = hi - low; if (verbose) - bu_vls_printf(_ged_current_gedp->ged_result_str, "\t%s weight %g %s +%g -%g\n", - obj_tbl[obj].o_name, - val / units[WGT]->val, - units[WGT]->name, - fabs(hi / units[WGT]->val), - fabs(low / units[WGT]->val)); + bu_vls_printf(_ged_current_gedp->ged_result_str, + "\t%s running avg weight %g %s hi=(%g) low=(%g)\n", + obj_tbl[obj].o_name, + (tmp / num_views) / units[WGT]->val, + units[WGT]->name, + hi / units[WGT]->val, + low / units[WGT]->val); if (delta > weight_tolerance) { /* this object differs too much in each view, so we @@ -1831,31 +1830,29 @@ weight_volume_terminate(struct cstate *state) /* for each object, compute the volume for all views */ for (obj = 0; obj < num_objects; obj++) { + int view; + double tmp; /* compute volume of object for given view */ - int view = 0; - val = obj_tbl[obj].o_volume[view] = - obj_tbl[obj].o_len[view] * (state->area[view] / state->shots[view]); - low = INFINITY; hi = -INFINITY; - /* compute the per-view volume of this object */ - for (view=1; view < num_views; view++) { - obj_tbl[obj].o_volume[view] = + tmp = 0.0; + for (view = 0; view < num_views; view++) { + val = obj_tbl[obj].o_volume[view] = obj_tbl[obj].o_len[view] * (state->area[view] / state->shots[view]); - - delta = fabs(val - obj_tbl[obj].o_volume[view]); - if (delta < low) low = delta; - if (delta > hi) hi = delta; + V_MIN(low, val); + V_MAX(hi, val); + tmp += val; } delta = hi - low; if (verbose) - bu_vls_printf(_ged_current_gedp->ged_result_str, "\t%s volume %g %s +(%g) -(%g)\n", - obj_tbl[obj].o_name, - val / units[VOL]->val, units[VOL]->name, - hi / units[VOL]->val, - fabs(low / units[VOL]->val)); + bu_vls_printf(_ged_current_gedp->ged_result_str, + "\t%s running avg volume %g %s hi=(%g) low=(%g)\n", + obj_tbl[obj].o_name, + (tmp / num_views) / units[VOL]->val, units[VOL]->name, + hi / units[VOL]->val, + low / units[VOL]->val); if (delta > volume_tolerance) { /* this object differs too much in each view, so we From 2e32a743e58268bf2a201a8d155c21b9312cbd9e Mon Sep 17 00:00:00 2001 From: Wu Jianbang Date: Wed, 12 Jun 2013 07:12:47 +0000 Subject: [PATCH 109/149] Calculate point-curve intersection using sub-division. svn:revision:55715 svn:branch:trunk svn:account:phoenixyjll --- src/libbrep/intersect.cpp | 352 +++++++++++++++++++++++++++----------- 1 file changed, 252 insertions(+), 100 deletions(-) diff --git a/src/libbrep/intersect.cpp b/src/libbrep/intersect.cpp index c583c200534..276c6650853 100644 --- a/src/libbrep/intersect.cpp +++ b/src/libbrep/intersect.cpp @@ -36,6 +36,168 @@ #include "brep.h" +/* Sub-division support for a curve. + * It's similar to generating the bounding box tree, when the Split() + * method is called, the curve is splitted into two parts, whose bounding + * boxes become the children of the original curve's bbox. + */ +struct Subcurve { +private: + ON_BoundingBox m_node; +public: + ON_Curve *m_curve; + ON_Interval m_t; + Subcurve *m_children[2]; + ON_BOOL32 m_islinear; + + Subcurve() : m_curve(NULL), m_islinear(false) + { + m_children[0] = m_children[1] = NULL; + } + Subcurve(const Subcurve &_scurve) + { + m_islinear = _scurve.m_islinear; + m_curve = _scurve.m_curve->Duplicate(); + m_t = _scurve.m_t; + m_children[0] = m_children[1] = NULL; + SetBBox(_scurve.m_node); + } + ~Subcurve() + { + for (int i = 0; i < 2; i++) { + if (m_children[i]) + delete m_children[i]; + } + delete m_curve; + } + int Split() + { + for (int i = 0; i < 2; i++) + m_children[i] = new Subcurve(); + + if (m_curve->Split(m_t.Mid(), m_children[0]->m_curve, m_children[1]->m_curve) == false) + return -1; + + m_children[0]->m_t = ON_Interval(m_t.Min(), m_t.Mid()); + m_children[0]->SetBBox(m_children[0]->m_curve->BoundingBox()); + m_children[0]->m_islinear = m_children[0]->m_curve->IsLinear(); + m_children[1]->m_t = ON_Interval(m_t.Mid(), m_t.Max()); + m_children[1]->SetBBox(m_children[1]->m_curve->BoundingBox()); + m_children[1]->m_islinear = m_children[1]->m_curve->IsLinear(); + + return 0; + } + void GetBBox(ON_3dPoint &min, ON_3dPoint &max) + { + min = m_node.m_min; + max = m_node.m_max; + } + void SetBBox(const ON_BoundingBox &bbox) + { + m_node = bbox; + } + bool IsPointIn(const ON_3dPoint &pt) + { + return m_node.IsPointIn(pt); + } +}; + + +/* Sub-division support for a surface. + * It's similar to generating the bounding box tree, when the Split() + * method is called, the surface is splitted into two parts, whose bounding + * boxes become the children of the original surface's bbox. + */ +struct Subsurface { +private: + ON_BoundingBox m_node; +public: + ON_Surface *m_surf; + ON_Interval m_u, m_v; + Subsurface *m_children[4]; + + Subsurface() : m_surf(NULL) + { + m_children[0] = m_children[1] = m_children[2] = m_children[3] = NULL; + } + Subsurface(const Subsurface &_ssurf) + { + m_surf = _ssurf.m_surf->Duplicate(); + m_u = _ssurf.m_u; + m_v = _ssurf.m_v; + m_children[0] = m_children[1] = m_children[2] = m_children[3] = NULL; + SetBBox(_ssurf.m_node); + } + ~Subsurface() + { + for (int i = 0; i < 4; i++) { + if (m_children[i]) + delete m_children[i]; + } + delete m_surf; + } + int Split() + { + for (int i = 0; i < 4; i++) + m_children[i] = new Subsurface(); + ON_Surface *temp_surf1 = NULL, *temp_surf2 = NULL; + ON_BOOL32 ret = true; + ret = m_surf->Split(0, m_u.Mid(), temp_surf1, temp_surf2); + if (!ret) { + delete temp_surf1; + delete temp_surf2; + return -1; + } + + ret = temp_surf1->Split(1, m_v.Mid(), m_children[0]->m_surf, m_children[1]->m_surf); + delete temp_surf1; + if (!ret) { + delete temp_surf2; + return -1; + } + m_children[0]->m_u = ON_Interval(m_u.Min(), m_u.Mid()); + m_children[0]->m_v = ON_Interval(m_v.Min(), m_v.Mid()); + m_children[0]->SetBBox(m_children[0]->m_surf->BoundingBox()); + m_children[1]->m_u = ON_Interval(m_u.Min(), m_u.Mid()); + m_children[1]->m_v = ON_Interval(m_v.Mid(), m_v.Max()); + m_children[1]->SetBBox(m_children[1]->m_surf->BoundingBox()); + + ret = temp_surf2->Split(1, m_v.Mid(), m_children[2]->m_surf, m_children[3]->m_surf); + delete temp_surf2; + if (!ret) + return -1; + m_children[2]->m_u = ON_Interval(m_u.Mid(), m_u.Max()); + m_children[2]->m_v = ON_Interval(m_v.Min(), m_v.Mid()); + m_children[2]->SetBBox(m_children[2]->m_surf->BoundingBox()); + m_children[3]->m_u = ON_Interval(m_u.Mid(), m_u.Max()); + m_children[3]->m_v = ON_Interval(m_v.Mid(), m_v.Max()); + m_children[3]->SetBBox(m_children[3]->m_surf->BoundingBox()); + + return 0; + } + void GetBBox(ON_3dPoint &min, ON_3dPoint &max) + { + min = m_node.m_min; + max = m_node.m_max; + } + void SetBBox(const ON_BoundingBox &bbox) + { + m_node = bbox; + /* Make sure that each dimension of the bounding box is greater than + * ON_ZERO_TOLERANCE. + * It does the same work as building the surface tree when ray tracing + */ + for (int i = 0; i < 3; i++) { + double d = m_node.m_max[i] - m_node.m_min[i]; + if (ON_NearZero(d, ON_ZERO_TOLERANCE)) { + m_node.m_min[i] -= 0.001; + m_node.m_max[i] += 0.001; + } + } + } +}; + + /** * Point-point intersections (PPI) * @@ -69,20 +231,100 @@ ON_Intersect(const ON_3dPoint& pointA, return false; } + +#define MAX_PCI_DEPTH 8 /** * Point-curve intersections (PCI) */ bool -ON_Intersect(const ON_3dPoint&, - const ON_Curve&, - ON_ClassArray&, - double, - const ON_Interval*) +ON_Intersect(const ON_3dPoint& pointA, + const ON_Curve& curveB, + ON_ClassArray& x, + double tolerance, + const ON_Interval* curveB_domain) { - // Implement later. + bu_log("PCI called.\n"); + Subcurve root; + if (curveB_domain == NULL) { + root.m_curve = curveB.Duplicate(); + root.m_t = curveB.Domain(); + } + else { + // Use ON_Curve::Split() to get the sub-curve inside curveB_domain + ON_Curve *temp_curve1 = NULL, *temp_curve2 = NULL, *temp_curve3 = NULL; + if (!curveB.Split(curveB_domain->Min(), temp_curve1, temp_curve2)) + return false; + delete temp_curve1; + temp_curve1 = NULL; + if (!temp_curve2->Split(curveB_domain->Max(), temp_curve1, temp_curve3)) + return false; + delete temp_curve1; + delete temp_curve2; + root.m_curve = temp_curve3; + root.m_t = *curveB_domain; + } + + root.SetBBox(root.m_curve->BoundingBox()); + root.m_islinear = root.m_curve->IsLinear(); + + if (!root.IsPointIn(pointA)) + return false; + + std::vector candidates, next_candidates; + candidates.push_back(&root); + + // Find the sub-curves that are possibly intersected with the point. + for (int i = 0; i < MAX_PCI_DEPTH; i++) { + next_candidates.clear(); + for (unsigned int j = 0; j < candidates.size(); j++) { + if (candidates[j]->m_islinear) { + next_candidates.push_back(candidates[j]); + } else { + if (candidates[j]->Split() == 0) { + if (candidates[j]->m_children[0]->IsPointIn(pointA)) + next_candidates.push_back(candidates[j]->m_children[0]); + if (candidates[j]->m_children[1]->IsPointIn(pointA)) + next_candidates.push_back(candidates[j]->m_children[1]); + } else + next_candidates.push_back(candidates[j]); + } + } + candidates = next_candidates; + } + + for (unsigned int i = 0; i < candidates.size(); i++) { + // Use linear approximation to get the intersection point + ON_Line line(candidates[i]->m_curve->PointAtStart(), candidates[i]->m_curve->PointAtEnd()); + double t, dis; + line.ClosestPointTo(pointA, &t); + // Get the closest point on the line *segment* to the point + double closest_point_t; + if (t < 0) + closest_point_t = 0; + else if (t > 1) + closest_point_t = 1; + else + closest_point_t = t; + ON_3dPoint closest_point = line.PointAt(closest_point_t); + dis = pointA.DistanceTo(closest_point); + + if (dis <= tolerance) { + ON_PX_EVENT *Event = new ON_PX_EVENT; + Event->m_type = ON_PX_EVENT::pcx_point; + Event->m_A = pointA; + Event->m_B = closest_point; + Event->m_b[0] = candidates[i]->m_t.Min()+candidates[i]->m_t.Length()*closest_point_t; + Event->m_Mid = (pointA + Event->m_B) * 0.5; + Event->m_radius = dis * 0.5; + x.Append(*Event); + return true; + } + } + // All candidates have no intersection return false; } + /** * Point-surface intersections (PSI) */ @@ -296,97 +538,7 @@ struct PointPair { }; -struct Subsurface { -private: - ON_BoundingBox m_node; -public: - ON_Surface *m_surf; - ON_Interval m_u, m_v; - Subsurface *m_children[4]; - - Subsurface() : m_surf(NULL) - { - m_children[0] = m_children[1] = m_children[2] = m_children[3] = NULL; - } - Subsurface(const Subsurface &_ssurf) - { - m_surf = _ssurf.m_surf->Duplicate(); - m_u = _ssurf.m_u; - m_v = _ssurf.m_v; - m_children[0] = m_children[1] = m_children[2] = m_children[3] = NULL; - SetBBox(_ssurf.m_node); - } - ~Subsurface() - { - for (int i = 0; i < 4; i++) { - if (m_children[i]) - delete m_children[i]; - } - delete m_surf; - } - int Split() - { - for (int i = 0; i < 4; i++) - m_children[i] = new Subsurface(); - ON_Surface *temp_surf1 = NULL, *temp_surf2 = NULL; - ON_BOOL32 ret = true; - ret = m_surf->Split(0, m_u.Mid(), temp_surf1, temp_surf2); - if (!ret) { - delete temp_surf1; - delete temp_surf2; - return -1; - } - - ret = temp_surf1->Split(1, m_v.Mid(), m_children[0]->m_surf, m_children[1]->m_surf); - delete temp_surf1; - if (!ret) { - delete temp_surf2; - return -1; - } - m_children[0]->m_u = ON_Interval(m_u.Min(), m_u.Mid()); - m_children[0]->m_v = ON_Interval(m_v.Min(), m_v.Mid()); - m_children[0]->SetBBox(m_children[0]->m_surf->BoundingBox()); - m_children[1]->m_u = ON_Interval(m_u.Min(), m_u.Mid()); - m_children[1]->m_v = ON_Interval(m_v.Mid(), m_v.Max()); - m_children[1]->SetBBox(m_children[1]->m_surf->BoundingBox()); - - ret = temp_surf2->Split(1, m_v.Mid(), m_children[2]->m_surf, m_children[3]->m_surf); - delete temp_surf2; - if (!ret) - return -1; - m_children[2]->m_u = ON_Interval(m_u.Mid(), m_u.Max()); - m_children[2]->m_v = ON_Interval(m_v.Min(), m_v.Mid()); - m_children[2]->SetBBox(m_children[2]->m_surf->BoundingBox()); - m_children[3]->m_u = ON_Interval(m_u.Mid(), m_u.Max()); - m_children[3]->m_v = ON_Interval(m_v.Mid(), m_v.Max()); - m_children[3]->SetBBox(m_children[3]->m_surf->BoundingBox()); - - return 0; - } - void GetBBox(ON_3dPoint &min, ON_3dPoint &max) - { - min = m_node.m_min; - max = m_node.m_max; - } - void SetBBox(const ON_BoundingBox &bbox) - { - m_node = bbox; - /* Make sure that each dimension of the bounding box is greater than - * ON_ZERO_TOLERANCE. - * It does the same work as building the surface tree when ray tracing - */ - for (int i = 0; i < 3; i++) { - double d = m_node.m_max[i] - m_node.m_min[i]; - if (ON_NearZero(d, ON_ZERO_TOLERANCE)) { - m_node.m_min[i] -= 0.001; - m_node.m_max[i] += 0.001; - } - } - } -}; - - -#define INTERSECT_MAX_DEPTH 8 +#define MAX_SSI_DEPTH 8 int ON_Intersect(const ON_Surface* surfA, const ON_Surface* surfB, @@ -429,7 +581,7 @@ ON_Intersect(const ON_Surface* surfA, * method of splitting a NURBS surface. * So finally only a small subset of the surface tree is created. */ - for (int h = 0; h <= INTERSECT_MAX_DEPTH; h++) { + for (int h = 0; h <= MAX_SSI_DEPTH; h++) { if (nodepairs.empty()) break; NodePairs tmp_pairs; @@ -444,7 +596,7 @@ ON_Intersect(const ON_Surface* surfA, if (ret1) { if (ret2) { /* both splits failed */ tmp_pairs.push_back(*i); - h = INTERSECT_MAX_DEPTH; + h = MAX_SSI_DEPTH; } else { /* the first failed */ for (int j = 0; j < 4; j++) tmp_pairs.push_back(std::make_pair((*i).first, (*i).second->m_children[j])); @@ -469,7 +621,7 @@ ON_Intersect(const ON_Surface* surfA, (*i).first->GetBBox(box_a.m_min, box_a.m_max); (*i).second->GetBBox(box_b.m_min, box_b.m_max); if (box_intersect.Intersection(box_a, box_b)) { - if (h == INTERSECT_MAX_DEPTH) { + if (h == MAX_SSI_DEPTH) { // We have arrived at the bottom of the trees. // Get an estimate of the intersection point lying on the intersection curve From 6b8782fa67b0a140b46f83270fecf0ef39bda03a Mon Sep 17 00:00:00 2001 From: Wu Jianbang Date: Wed, 12 Jun 2013 07:16:14 +0000 Subject: [PATCH 110/149] ws. svn:revision:55716 svn:branch:trunk svn:account:phoenixyjll --- src/libbrep/intersect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libbrep/intersect.cpp b/src/libbrep/intersect.cpp index 276c6650853..1406a98cd05 100644 --- a/src/libbrep/intersect.cpp +++ b/src/libbrep/intersect.cpp @@ -307,7 +307,7 @@ ON_Intersect(const ON_3dPoint& pointA, closest_point_t = t; ON_3dPoint closest_point = line.PointAt(closest_point_t); dis = pointA.DistanceTo(closest_point); - + if (dis <= tolerance) { ON_PX_EVENT *Event = new ON_PX_EVENT; Event->m_type = ON_PX_EVENT::pcx_point; From a1164852a13e6867eb18c60928c6ca2c8e7de52a Mon Sep 17 00:00:00 2001 From: Clifford Yapp <238416+starseeker@users.noreply.github.com> Date: Wed, 12 Jun 2013 14:12:09 +0000 Subject: [PATCH 111/149] isst wasn't using the brlcad target macros for its library because it needed a custom install directory location. Rather than ditch the macro setup (which does lots of nice things automatically) add the NO_INSTALL option already used for executables to the library macro as well. This lets us pass the NO_INSTALL flag for the isst library to disable the automatic install call and we can instead substitute our own customized version. svn:revision:55717 svn:branch:trunk svn:account:starseeker --- misc/CMake/BRLCAD_Targets.cmake | 38 +++++++++++++++++++++++---------- src/adrt/CMakeLists.txt | 5 ++--- 2 files changed, 29 insertions(+), 14 deletions(-) diff --git a/misc/CMake/BRLCAD_Targets.cmake b/misc/CMake/BRLCAD_Targets.cmake index d446565678a..37ddb4eccb3 100644 --- a/misc/CMake/BRLCAD_Targets.cmake +++ b/misc/CMake/BRLCAD_Targets.cmake @@ -162,8 +162,11 @@ macro(BRLCAD_ADDEXEC execname srcslist libslist) add_executable(${execname} ${srcslist}) target_link_libraries(${execname} ${libslist}) - # Make sure we don't have a non-installed exec target. If it is to - # be installed, call the install function + + # If an executable isn't to be installed or needs to be installed + # somewhere other than the default location, the NO_INSTALL argument + # bypasses the standard install command call. Otherwise, call install + # with standard arguments. CHECK_OPT("NO_INSTALL" NO_EXEC_INSTALL "${ARGN}") if(NOT NO_EXEC_INSTALL) install(TARGETS ${execname} DESTINATION ${BIN_DIR}) @@ -284,11 +287,17 @@ macro(BRLCAD_ADDLIB libname srcslist libslist) target_link_libraries(${libname} ${libslist}) endif(NOT "${libslist}" STREQUAL "" AND NOT "${libslist}" STREQUAL "NONE") - # Call install to setup the installation logic. - install(TARGETS ${libname} - RUNTIME DESTINATION ${BIN_DIR} - LIBRARY DESTINATION ${LIB_DIR} - ARCHIVE DESTINATION ${LIB_DIR}) + # If a library isn't to be installed or needs to be installed + # somewhere other than the default location, the NO_INSTALL argument + # bypasses the standard install command call. Otherwise, call install + # with standard arguments. + CHECK_OPT("NO_INSTALL" NO_LIB_INSTALL "${ARGN}") + if(NOT NO_LIB_INSTALL) + install(TARGETS ${libname} + RUNTIME DESTINATION ${BIN_DIR} + LIBRARY DESTINATION ${LIB_DIR} + ARCHIVE DESTINATION ${LIB_DIR}) + endif(NOT NO_LIB_INSTALL) # Apply the definitions. foreach(lib_define ${${libname}_DEFINES}) @@ -337,10 +346,17 @@ macro(BRLCAD_ADDLIB libname srcslist libslist) set_target_properties(${libname}-static PROPERTIES OUTPUT_NAME "${libname}") endif(NOT MSVC) - install(TARGETS ${libname}-static - RUNTIME DESTINATION ${BIN_DIR} - LIBRARY DESTINATION ${LIB_DIR} - ARCHIVE DESTINATION ${LIB_DIR}) + # If a library isn't to be installed or needs to be installed + # somewhere other than the default location, the NO_INSTALL argument + # bypasses the standard install command call. Otherwise, call install + # with standard arguments. + CHECK_OPT("NO_INSTALL" NO_LIB_INSTALL "${ARGN}") + if(NOT NO_LIB_INSTALL) + install(TARGETS ${libname}-static + RUNTIME DESTINATION ${BIN_DIR} + LIBRARY DESTINATION ${LIB_DIR} + ARCHIVE DESTINATION ${LIB_DIR}) + endif(NOT NO_LIB_INSTALL) foreach(lib_define ${${libname}_DEFINES}) set_property(TARGET ${libname}-static APPEND PROPERTY COMPILE_DEFINITIONS "${lib_define}") diff --git a/src/adrt/CMakeLists.txt b/src/adrt/CMakeLists.txt index cc07111add4..8fda3e00edd 100644 --- a/src/adrt/CMakeLists.txt +++ b/src/adrt/CMakeLists.txt @@ -64,11 +64,10 @@ INCLUDE_DIRECTORIES( ) if(TOGL_LIBRARIES AND BRLCAD_ENABLE_OPENGL) add_definitions(-DTOGL_USE_EXTERNAL_CONFIG_H=1) - add_library(issttcltk isst_tcltk.c) if(WIN32) - target_link_libraries(issttcltk librender ${TCL_LIBRARIES} ${TOGL_STUB_LIBRARIES} ${OPENGL_LIBRARIES} opengl32.lib) + BRLCAD_ADDLIB(issttcltk isst_tcltk.c "librender;${TCL_LIBRARIES};${TOGL_STUB_LIBRARIES};${OPENGL_LIBRARIES};opengl32.lib" NO_INSTALL) else(WIN32) - target_link_libraries(issttcltk librender ${TCL_LIBRARIES} ${TOGL_LIBRARIES}) + BRLCAD_ADDLIB(issttcltk isst_tcltk.c "librender;${TCL_LIBRARIES};${TOGL_LIBRARIES}" NO_INSTALL) endif(WIN32) install(TARGETS issttcltk RUNTIME DESTINATION ${BIN_DIR}/isst0.1 From 4db270501beb3e7b3a881a95e13261e7f45207dc Mon Sep 17 00:00:00 2001 From: Erik Greenwald Date: Wed, 12 Jun 2013 14:33:04 +0000 Subject: [PATCH 112/149] redo isst to use libdm instead of togl svn:revision:55718 svn:branch:trunk svn:account:erikgreenwald --- src/adrt/CMakeLists.txt | 10 +- src/adrt/Makefile.am | 19 ---- src/adrt/isst | 27 ++--- src/adrt/isst_tcltk.c | 223 ++++++++++++---------------------------- 4 files changed, 81 insertions(+), 198 deletions(-) diff --git a/src/adrt/CMakeLists.txt b/src/adrt/CMakeLists.txt index 8fda3e00edd..428258ea271 100644 --- a/src/adrt/CMakeLists.txt +++ b/src/adrt/CMakeLists.txt @@ -56,18 +56,16 @@ CMAKEFILES(${tie_HDRS}) # Tcl/Tk based ISST INCLUDE_DIRECTORIES( - ${TOGL_INCLUDE_DIRS} ${OPENGL_INCLUDE_DIR_GL} ${OPENGL_INCLUDE_DIR_GLX} ${X11_INCLUDE_DIR} ${CMAKE_CURRENT_BINARY_DIR}/../other/togl/src ) -if(TOGL_LIBRARIES AND BRLCAD_ENABLE_OPENGL) - add_definitions(-DTOGL_USE_EXTERNAL_CONFIG_H=1) +if(BRLCAD_ENABLE_OPENGL) if(WIN32) - BRLCAD_ADDLIB(issttcltk isst_tcltk.c "librender;${TCL_LIBRARIES};${TOGL_STUB_LIBRARIES};${OPENGL_LIBRARIES};opengl32.lib" NO_INSTALL) + BRLCAD_ADDLIB(issttcltk isst_tcltk.c "librender;libdm;${TCL_LIBRARIES};${OPENGL_LIBRARIES};opengl32.lib" NO_INSTALL) else(WIN32) - BRLCAD_ADDLIB(issttcltk isst_tcltk.c "librender;${TCL_LIBRARIES};${TOGL_LIBRARIES}" NO_INSTALL) + BRLCAD_ADDLIB(issttcltk isst_tcltk.c "librender;libdm;${TCL_LIBRARIES};" NO_INSTALL) endif(WIN32) install(TARGETS issttcltk RUNTIME DESTINATION ${BIN_DIR}/isst0.1 @@ -92,7 +90,7 @@ if(TOGL_LIBRARIES AND BRLCAD_ENABLE_OPENGL) endforeach(CFG_TYPE ${CMAKE_CONFIGURATION_TYPES}) endif(NOT CMAKE_CONFIGURATION_TYPES) install(PROGRAMS ${isst_script} DESTINATION bin) -endif(TOGL_LIBRARIES AND BRLCAD_ENABLE_OPENGL) +endif(BRLCAD_ENABLE_OPENGL) CMAKEFILES(isst_tcltk.c) set(adrt_ignore_files diff --git a/src/adrt/Makefile.am b/src/adrt/Makefile.am index 0a7c4b8dafa..4dbaf4d1b3f 100644 --- a/src/adrt/Makefile.am +++ b/src/adrt/Makefile.am @@ -58,25 +58,6 @@ noinst_HEADERS = \ pkglibdir = $(libdir)/isst -#if BUILD_TOGL -#pkglib_LTLIBRARIES = issttcltk.la -# -#issttcltk_la_SOURCES = isst_tcltk.c -# -#issttcltk_la_DEPENDENCIES = libtie.la librender.la -# -#issttcltk_la_LIBADD = ${TIE} ${RENDER} ${TCL} ${TK} -L$(top_builddir)/src/other/togl -lToglstub2.1 -#issttcltk_la_CFLAGS = -I$(top_srcdir)/src/adrt/libtie -I$(top_srcdir)/src/adrt/librender -DTIE_PRECISION=0 ${TCL_CPPFLAGS} ${TK_CPPFLAGS} -I$(top_srcdir)/src/other/togl -I$(top_builddir)/src/other/togl ${GL_CPPFLAGS} -#issttcltk_la_LDFLAGS = -module -shrext .plugin -# -#pkgIndex.tcl: -# @echo 'package ifneeded isst 0.1 [list load [file join $(pkglibdir) issttcltk.plugin] isst]' > pkgIndex.tcl -# -#issttcltkscriptdir = $(pkglibdir) -# -#issttcltkscript_SCRIPTS = pkgIndex.tcl -#endif - EXTRA_DIST = \ isst \ isst.bat \ diff --git a/src/adrt/isst b/src/adrt/isst index b749343ea49..fbe1011180c 100755 --- a/src/adrt/isst +++ b/src/adrt/isst @@ -44,13 +44,14 @@ done #\ exec $WISH $0 $@ -package require Togl package require isst # create ::isst namespace namespace eval ::isst { } +set oglwin .w0 + proc ::isst::overwin {x y W} { global selectedobjs set rootxmin [winfo rootx $W] @@ -138,7 +139,7 @@ proc ::isst::setup {} { bind . {if {[::isst::overwin %X %Y $oglwin]} {render_mode $oglwin phong}} bind . {if {[::isst::overwin %X %Y $oglwin]} {render_mode $oglwin normal} else {puts "Place mouse over geometry window."}} bind . {if {[::isst::overwin %X %Y $oglwin]} {render_mode $oglwin depth}} - bind . {if {[::isst::overwin %X %Y $oglwin]} {render_mode $oglwin component}} +# bind . {if {[::isst::overwin %X %Y $oglwin]} {render_mode $oglwin component}} bind . {if {[::isst::overwin %X %Y $oglwin]} {reset $oglwin}} bind . {if {[::isst::overwin %X %Y $oglwin]} {::isst::MoveForward $oglwin}} @@ -157,20 +158,16 @@ proc ::isst::setup {} { bind . {if {[::isst::overwin %X %Y $oglwin]} {::isst::RotStart %x %y $oglwin}} bind . {if {[::isst::overwin %X %Y $oglwin]} {::isst::RotMove %x %y $oglwin}} bind . {if {[::isst::overwin %X %Y $oglwin]} {::isst::RotMove2 %x %y $oglwin}} - drawview .w0 10 + + isst_init + open_dm + bind $oglwin { reshape %w %h } + pack $oglwin -expand true -fill both frame .f pack .f -side bottom button .f.b1 -text " Quit " -command exit pack .f.b1 -side left -anchor w -padx 5 - -} - -proc ::isst::drawview {win {tick 100} } { - global az el resolution oglwin - togl $win -width 800 -height 600 -rgba true -double true -depth true -privatecmap false -time $tick -create isst_init -destroy isst_zap -display refresh_ogl -reshape reshape -timer idle - set oglwin $win - pack $win -expand true -fill both } proc ::isst::RotStart {x y W} { @@ -198,11 +195,11 @@ proc ::isst::MoveRight {W} { proc ::isst::Resolution {W n} { global resolution if { $resolution < 20 && $n > 0 } { - set_resolution $W [expr $resolution + $n] + set_resolution [expr $resolution + $n] set resolution [expr $resolution + $n] } if { $resolution > 1 && $n < 0 } { - set_resolution $W [expr $resolution + $n] + set_resolution [expr $resolution + $n] set resolution [expr $resolution + $n] } } @@ -240,4 +237,8 @@ if { [info script] == $argv0 } { walk $oglwin 1 walk $oglwin -1 update + while 1 { + update + refresh_ogl $oglwin + } } diff --git a/src/adrt/isst_tcltk.c b/src/adrt/isst_tcltk.c index 1c1078fdec4..4a2991bca66 100644 --- a/src/adrt/isst_tcltk.c +++ b/src/adrt/isst_tcltk.c @@ -28,14 +28,13 @@ #include +#include + #include "tcl.h" #include "tk.h" -#define USE_TOGL_STUBS - -#include "togl.h" - #include "bu.h" +#include "dm.h" #include "tie.h" #include "adrt.h" @@ -52,6 +51,9 @@ #include #endif +static struct dm *dmp; +static struct isst_s *isst; + /* ISST functions */ RT_EXPORT extern int (Issttcltk_Init)(Tcl_Interp *interp); @@ -62,22 +64,17 @@ static int reshape(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const *objv) { - Togl *togl; - struct isst_s *isst; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { + int width, height; + if (objc != 3) { + Tcl_WrongNumArgs(interp, 1, objv, "width height"); return TCL_ERROR; } - isst = Togl_GetClientData(togl); + Tcl_GetIntFromObj(interp, objv[1], &width); + Tcl_GetIntFromObj(interp, objv[2], &height); - isst->w = Togl_Width(togl); - isst->h = Togl_Height(togl); + isst->w = width; + isst->h = height; resize_isst(isst); @@ -85,38 +82,38 @@ reshape(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, } void -resize_isst(struct isst_s *isst) +resize_isst(struct isst_s *isstp) { - switch(isst->gs) { + switch(isstp->gs) { case 0: - isst->camera.w = isst->tile.size_x = isst->w; - isst->camera.h = isst->tile.size_y = isst->h; + isstp->camera.w = isstp->tile.size_x = isstp->w; + isstp->camera.h = isstp->tile.size_y = isstp->h; break; default: - isst->camera.w = isst->tile.size_x = isst->gs; - isst->camera.h = isst->tile.size_y = isst->camera.w * isst->h / isst->w; + isstp->camera.w = isstp->tile.size_x = isstp->gs; + isstp->camera.h = isstp->tile.size_y = isstp->camera.w * isstp->h / isstp->w; break; } - isst->tile.format = RENDER_CAMERA_BIT_DEPTH_24; - TIENET_BUFFER_SIZE(isst->buffer_image, (size_t)(3 * isst->camera.w * isst->camera.h)); + isstp->tile.format = RENDER_CAMERA_BIT_DEPTH_24; + TIENET_BUFFER_SIZE(isstp->buffer_image, (size_t)(3 * isstp->camera.w * isstp->camera.h)); glClearColor (0.0, 0, 0.0, 1); - glBindTexture (GL_TEXTURE_2D, isst->texid); + glBindTexture (GL_TEXTURE_2D, isstp->texid); glPixelStorei (GL_UNPACK_ALIGNMENT, 1); glTexParameteri (GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); glTexParameteri (GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); glTexEnvf (GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); - isst->texdata = realloc(isst->texdata, isst->camera.w * isst->camera.h * 3); - glTexImage2D (GL_TEXTURE_2D, 0, GL_RGB, isst->camera.w, isst->camera.h, 0, GL_RGB, GL_UNSIGNED_BYTE, isst->texdata); + isstp->texdata = realloc(isstp->texdata, isstp->camera.w * isstp->camera.h * 3); + glTexImage2D (GL_TEXTURE_2D, 0, GL_RGB, isstp->camera.w, isstp->camera.h, 0, GL_RGB, GL_UNSIGNED_BYTE, isstp->texdata); glDisable(GL_LIGHTING); - glViewport(0,0,isst->w, isst->h); + glViewport(0,0,isstp->w, isstp->h); glMatrixMode (GL_PROJECTION); glLoadIdentity (); - glOrtho(0, isst->w, isst->h, 0, -1, 1); + glOrtho(0, isstp->w, isstp->h, 0, -1, 1); glMatrixMode (GL_MODELVIEW); glClear(GL_COLOR_BUFFER_BIT); - isst->dirty = 1; + isstp->dirty = 1; } @@ -124,25 +121,17 @@ static int isst_load_g(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const *objv) { - struct isst_s *isst; char **argv; int argc; double az, el; struct bu_vls tclstr = BU_VLS_INIT_ZERO; vect_t vec; - Togl *togl; if (objc < 4) { Tcl_WrongNumArgs(interp, 1, objv, "load_g pathname object"); return TCL_ERROR; } - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - isst = (struct isst_s *) Togl_GetClientData(togl); - argv = (char **)malloc(sizeof(char *) * (strlen(Tcl_GetString(objv[3])) + 1)); /* allocate way too much. */ argc = bu_argv_from_string(argv, strlen(Tcl_GetString(objv[3])), Tcl_GetString(objv[3])); @@ -169,8 +158,8 @@ isst_load_g(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, render_phong_init(&isst->camera.render, NULL); isst->ogl = 1; - isst->w = Togl_Width(togl); - isst->h = Togl_Height(togl); + isst->w = 800; + isst->h = 600; resize_isst(isst); @@ -214,8 +203,6 @@ list_geometry(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_O static int paint_window(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const *objv) { - struct isst_s *isst; - Togl *togl; double dt = 1.0; int glclrbts = GL_DEPTH_BUFFER_BIT; @@ -224,12 +211,6 @@ paint_window(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Ob return TCL_ERROR; } - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - isst = (struct isst_s *) Togl_GetClientData(togl); - isst->t2 = bu_gettime(); dt = isst->t2 - isst->t1; @@ -242,6 +223,8 @@ paint_window(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Ob isst->t1 = bu_gettime(); + DM_MAKE_CURRENT(dmp); + glClear(glclrbts); glLoadIdentity(); glColor3f(1,1,1); @@ -259,7 +242,7 @@ paint_window(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Ob isst->dirty = 0; - Togl_SwapBuffers(togl); + DM_DRAW_END(dmp); } return TCL_OK; } @@ -267,25 +250,17 @@ paint_window(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Ob static int set_resolution(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const *objv) { - struct isst_s *isst; - Togl *togl; - int resolution; + int resolution = 0; - if (objc != 3) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName resolution"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { + if (objc != 2) { + Tcl_WrongNumArgs(interp, 1, objv, "resolution"); return TCL_ERROR; } - if (Tcl_GetIntFromObj(interp, objv[2], &resolution) != TCL_OK) { + if (Tcl_GetIntFromObj(interp, objv[1], &resolution) != TCL_OK) { return TCL_ERROR; } - isst = (struct isst_s *) Togl_GetClientData(togl); - if (resolution < 1) resolution = 1; if (resolution > 20) { resolution = 20; @@ -298,42 +273,10 @@ set_resolution(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_ return TCL_OK; } -static int -idle(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const *objv) -{ - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - (void)Togl_GetClientData(togl); - Togl_PostRedisplay(togl); - - return TCL_OK; -} - static int -isst_init(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const *objv) +isst_init(ClientData UNUSED(clientData), Tcl_Interp *UNUSED(interp), int UNUSED(objc), Tcl_Obj *const *UNUSED(objv)) { - struct isst_s *isst; - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - BU_ALLOC(isst, struct isst_s); isst->ui = 0; isst->uic = 0; @@ -345,28 +288,20 @@ isst_init(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj * isst->camera.type = RENDER_CAMERA_PERSPECTIVE; isst->camera.fov = 25; - Togl_SetClientData(togl, (ClientData) isst); - return TCL_OK; } static int isst_zap(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const *objv) { - struct isst_s *isst; - Togl *togl; + printf(">>> %s\n", __FUNCTION__); if (objc != 2) { Tcl_WrongNumArgs(interp, 1, objv, "pathName"); return TCL_ERROR; } - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - isst = (struct isst_s *) Togl_GetClientData(togl); - bu_free(isst, "isst free"); + isst = NULL; return TCL_OK; } @@ -374,20 +309,14 @@ isst_zap(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *c static int render_mode(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const *objv) { - struct isst_s *isst; - Togl *togl; char buf[BUFSIZ]; + printf(">>> %s\n", __FUNCTION__); if (objc < 3) { Tcl_WrongNumArgs(interp, 1, objv, "pathName mode [arguments]"); return TCL_ERROR; } - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) - return TCL_ERROR; - - isst = (struct isst_s *) Togl_GetClientData(togl); - /* pack the 'rest' into buf - probably should use a vls for this*/ buf[0] = '\0'; @@ -400,17 +329,11 @@ render_mode(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj static int -zero_view(ClientData UNUSED(clientData), Tcl_Interp *interp, int UNUSED(objc), Tcl_Obj *const *objv) +zero_view(ClientData UNUSED(clientData), Tcl_Interp *UNUSED(interp), int UNUSED(objc), Tcl_Obj *const *UNUSED(objv)) { - struct isst_s *isst; - Togl *togl; vect_t vec; double mag_vec; - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) - return TCL_ERROR; - - isst = (struct isst_s *) Togl_GetClientData(togl); + printf(">>> %s\n", __FUNCTION__); mag_vec = DIST_PT_PT(isst->camera.pos, isst->camera.focus); @@ -427,16 +350,9 @@ zero_view(ClientData UNUSED(clientData), Tcl_Interp *interp, int UNUSED(objc), T static int move_walk(ClientData UNUSED(clientData), Tcl_Interp *interp, int UNUSED(objc), Tcl_Obj *const *objv) { - struct isst_s *isst; - Togl *togl; vect_t vec; int flag; - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) - return TCL_ERROR; - - isst = (struct isst_s *) Togl_GetClientData(togl); - if (Tcl_GetIntFromObj(interp, objv[2], &flag) != TCL_OK) return TCL_ERROR; @@ -458,17 +374,10 @@ move_walk(ClientData UNUSED(clientData), Tcl_Interp *interp, int UNUSED(objc), T static int move_strafe(ClientData UNUSED(clientData), Tcl_Interp *interp, int UNUSED(objc), Tcl_Obj *const *objv) { - struct isst_s *isst; - Togl *togl; vect_t vec, dir, up; int flag; - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) - return TCL_ERROR; - - isst = (struct isst_s *) Togl_GetClientData(togl); - if (Tcl_GetIntFromObj(interp, objv[2], &flag) != TCL_OK) return TCL_ERROR; @@ -493,16 +402,8 @@ move_strafe(ClientData UNUSED(clientData), Tcl_Interp *interp, int UNUSED(objc), } static int -move_float(ClientData UNUSED(clientData), Tcl_Interp *interp, int UNUSED(objc), Tcl_Obj *const *objv) +move_float(ClientData UNUSED(clientData), Tcl_Interp *UNUSED(interp), int UNUSED(objc), Tcl_Obj *const *UNUSED(objv)) { - struct isst_s *isst; - Togl *togl; - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) - return TCL_ERROR; - - isst = (struct isst_s *) Togl_GetClientData(togl); - isst->camera.pos[2] += 0.05; isst->camera.focus[2] += 0.05; isst->dirty = 1; @@ -513,8 +414,6 @@ move_float(ClientData UNUSED(clientData), Tcl_Interp *interp, int UNUSED(objc), static int aetolookat(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const *objv) { - struct isst_s *isst; - Togl *togl; vect_t vecdfoc; double x, y; double az, el; @@ -525,11 +424,6 @@ aetolookat(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj return TCL_ERROR; } - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) - return TCL_ERROR; - - isst = (struct isst_s *) Togl_GetClientData(togl); - if (Tcl_GetDoubleFromObj(interp, objv[2], &x) != TCL_OK) return TCL_ERROR; if (Tcl_GetDoubleFromObj(interp, objv[3], &y) != TCL_OK) @@ -554,8 +448,6 @@ aetolookat(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj static int aerotate(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const *objv) { - struct isst_s *isst; - Togl *togl; vect_t vec, vecdpos, vecdfoc; double x, y; double az, el; @@ -567,11 +459,6 @@ aerotate(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *c return TCL_ERROR; } - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) - return TCL_ERROR; - - isst = (struct isst_s *) Togl_GetClientData(togl); - if (Tcl_GetDoubleFromObj(interp, objv[2], &x) != TCL_OK) return TCL_ERROR; if (Tcl_GetDoubleFromObj(interp, objv[3], &y) != TCL_OK) @@ -626,6 +513,23 @@ aerotate(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *c return TCL_OK; } +static int +open_dm(ClientData UNUSED(cdata), Tcl_Interp *interp, int UNUSED(objc), Tcl_Obj *const *UNUSED(objv)) +{ + char *av[] = { "Ogl_open", "-t", "0", "-n", ".w0", "-W", "800", "-N", "600", NULL }; + + dmp = DM_OPEN(interp, DM_TYPE_OGL, sizeof(av)/sizeof(void*)-1, (const char **)av); + DM_SET_BGCOLOR(dmp, 0, 0, 0x30); + + if(dmp == DM_NULL) { + printf("dm failed?\n"); + return TCL_ERROR; + } + + return TCL_OK; + +} + /* this function needs to be Isst_Init() for fbsd and mac, but may need to be * Issttcltk_Init on other platforms (I'm looking at you, windows). Needs more * investigation. @@ -638,10 +542,9 @@ Isst_Init(Tcl_Interp *interp) } /* - * Initialize Tcl and the Togl widget module. + * Initialize Tcl */ - if (Tcl_InitStubs(interp, "8.1", 0) == NULL - || Togl_InitStubs(interp, "2.0", 0) == NULL) { + if (Tcl_InitStubs(interp, "8.1", 0) == NULL) { return TCL_ERROR; } @@ -655,7 +558,6 @@ Isst_Init(Tcl_Interp *interp) Tcl_CreateObjCommand(interp, "reshape", reshape, NULL, NULL); Tcl_CreateObjCommand(interp, "load_g", isst_load_g, NULL, NULL); Tcl_CreateObjCommand(interp, "list_g", list_geometry, NULL, NULL); - Tcl_CreateObjCommand(interp, "idle", idle, NULL, NULL); Tcl_CreateObjCommand(interp, "aetolookat", aetolookat, NULL, NULL); Tcl_CreateObjCommand(interp, "aerotate", aerotate, NULL, NULL); Tcl_CreateObjCommand(interp, "walk", move_walk, NULL, NULL); @@ -664,6 +566,7 @@ Isst_Init(Tcl_Interp *interp) Tcl_CreateObjCommand(interp, "reset", zero_view, NULL, NULL); Tcl_CreateObjCommand(interp, "set_resolution", set_resolution, NULL, NULL); Tcl_CreateObjCommand(interp, "render_mode", render_mode, NULL, NULL); + Tcl_CreateObjCommand(interp, "open_dm", open_dm, NULL, NULL); return TCL_OK; } From bf081d16e4a1a7068a707ec0f1353ff2284264e1 Mon Sep 17 00:00:00 2001 From: Erik Greenwald Date: Wed, 12 Jun 2013 14:42:26 +0000 Subject: [PATCH 113/149] remove togl svn:revision:55719 svn:branch:trunk svn:account:erikgreenwald --- CMakeLists.txt | 2 +- INSTALL | 13 - TODO | 2 - configure.cmake.sh | 4 - src/other/CMakeLists.txt | 34 - src/other/Makefile.am | 12 - src/other/README | 1 - src/other/togl.dist | 36 - src/other/togl/CMake/CheckCSourceRuns.cmake | 137 - src/other/togl/CMake/CheckFunctions.cmake | 22 - .../togl/CMake/CheckPrototypeExists.cmake | 62 - src/other/togl/CMake/FindGL.cmake | 283 - src/other/togl/CMake/FindTCL.cmake | 1083 - src/other/togl/CMake/test_srcs/ctypes_test.c | 24 - src/other/togl/CMakeLists.txt | 78 - src/other/togl/LICENSE | 28 - src/other/togl/README | 29 - src/other/togl/configure | 10187 --------- src/other/togl/configure.in | 281 - src/other/togl/demo/CMakeLists.txt | 19 - src/other/togl/demo/ben.rgb | Bin 49959 -> 0 bytes src/other/togl/demo/double.c | 279 - src/other/togl/demo/double.tcl | 96 - src/other/togl/demo/gears.c | 491 - src/other/togl/demo/gears.tcl | 88 - src/other/togl/demo/image.h | 14 - src/other/togl/demo/index.c | 227 - src/other/togl/demo/index.tcl | 50 - src/other/togl/demo/multisample.tcl | 96 - src/other/togl/demo/overlay.c | 214 - src/other/togl/demo/overlay.tcl | 37 - src/other/togl/demo/pbuffer.c | 489 - src/other/togl/demo/pbuffer.tcl | 115 - src/other/togl/demo/stereo.c | 343 - src/other/togl/demo/stereo.tcl | 106 - src/other/togl/demo/texture.c | 663 - src/other/togl/demo/texture.tcl | 278 - src/other/togl/demo/tree2.rgba | Bin 66048 -> 0 bytes src/other/togl/doc/README.txt | 2 - src/other/togl/doc/capi.html | 652 - src/other/togl/doc/download.html | 340 - src/other/togl/doc/faq.html | 112 - src/other/togl/doc/header.js | 20 - src/other/togl/doc/index.html | 150 - src/other/togl/doc/stereo.html | 171 - src/other/togl/doc/tclapi.html | 774 - src/other/togl/doc/upgrading.html | 109 - src/other/togl/doc/using.html | 180 - src/other/togl/include/CMakeLists.txt | 8 - src/other/togl/include/GL/glew.h | 17132 ---------------- src/other/togl/include/GL/glext.h | 6495 ------ src/other/togl/include/GL/glu.h | 353 - src/other/togl/include/GL/glxew.h | 1637 -- src/other/togl/include/GL/wglew.h | 1397 -- src/other/togl/include/GL/wglext.h | 929 - src/other/togl/include/config.h.in | 26 - src/other/togl/include/tcltk/tk8.2/tclInt.h | 2163 -- .../togl/include/tcltk/tk8.2/tclIntDecls.h | 1363 -- src/other/togl/include/tcltk/tk8.2/tkInt.h | 1009 - .../togl/include/tcltk/tk8.2/tkIntDecls.h | 1460 -- .../togl/include/tcltk/tk8.2/tkIntPlatDecls.h | 837 - .../togl/include/tcltk/tk8.2/tkPlatDecls.h | 208 - src/other/togl/include/tcltk/tk8.2/tkPort.h | 36 - src/other/togl/include/tcltk/tk8.2/tkWin.h | 55 - src/other/togl/include/tcltk/tk8.2/tkWinInt.h | 160 - .../togl/include/tcltk/tk8.2/tkWinPort.h | 127 - src/other/togl/include/tcltk/tk8.3/default.h | 29 - src/other/togl/include/tcltk/tk8.3/tclInt.h | 2188 -- .../togl/include/tcltk/tk8.3/tclIntDecls.h | 1393 -- src/other/togl/include/tcltk/tk8.3/tkInt.h | 1097 - .../togl/include/tcltk/tk8.3/tkIntDecls.h | 1483 -- .../togl/include/tcltk/tk8.3/tkIntPlatDecls.h | 844 - .../togl/include/tcltk/tk8.3/tkMacDefault.h | 465 - .../togl/include/tcltk/tk8.3/tkPlatDecls.h | 208 - src/other/togl/include/tcltk/tk8.3/tkPort.h | 36 - .../togl/include/tcltk/tk8.3/tkUnixDefault.h | 454 - .../togl/include/tcltk/tk8.3/tkUnixPort.h | 225 - src/other/togl/include/tcltk/tk8.3/tkWin.h | 55 - .../togl/include/tcltk/tk8.3/tkWinDefault.h | 460 - src/other/togl/include/tcltk/tk8.3/tkWinInt.h | 171 - .../togl/include/tcltk/tk8.3/tkWinPort.h | 129 - src/other/togl/include/tcltk/tk8.4/default.h | 32 - src/other/togl/include/tcltk/tk8.4/tclInt.h | 2341 --- .../togl/include/tcltk/tk8.4/tclIntDecls.h | 1414 -- src/other/togl/include/tcltk/tk8.4/tkInt.h | 1229 -- .../togl/include/tcltk/tk8.4/tkIntDecls.h | 1578 -- .../togl/include/tcltk/tk8.4/tkIntPlatDecls.h | 1233 -- .../togl/include/tcltk/tk8.4/tkMacDefault.h | 529 - .../include/tcltk/tk8.4/tkMacOSXDefault.h | 546 - .../togl/include/tcltk/tk8.4/tkMacOSXInt.h | 174 - .../togl/include/tcltk/tk8.4/tkMacOSXPort.h | 204 - .../togl/include/tcltk/tk8.4/tkPlatDecls.h | 300 - src/other/togl/include/tcltk/tk8.4/tkPort.h | 38 - .../togl/include/tcltk/tk8.4/tkUnixDefault.h | 519 - .../togl/include/tcltk/tk8.4/tkUnixPort.h | 220 - src/other/togl/include/tcltk/tk8.4/tkWin.h | 55 - .../togl/include/tcltk/tk8.4/tkWinDefault.h | 524 - src/other/togl/include/tcltk/tk8.4/tkWinInt.h | 225 - .../togl/include/tcltk/tk8.4/tkWinPort.h | 135 - src/other/togl/include/tcltk/tk8.5/default.h | 30 - src/other/togl/include/tcltk/tk8.5/tclInt.h | 3804 ---- .../togl/include/tcltk/tk8.5/tclIntDecls.h | 2110 -- .../include/tcltk/tk8.5/tclIntPlatDecls.h | 709 - src/other/togl/include/tcltk/tk8.5/tclPort.h | 48 - .../togl/include/tcltk/tk8.5/tclUnixPort.h | 682 - .../togl/include/tcltk/tk8.5/tclWinPort.h | 527 - src/other/togl/include/tcltk/tk8.5/tkInt.h | 1237 -- .../togl/include/tcltk/tk8.5/tkIntDecls.h | 1908 -- .../togl/include/tcltk/tk8.5/tkIntPlatDecls.h | 1090 - .../include/tcltk/tk8.5/tkMacOSXDefault.h | 550 - .../togl/include/tcltk/tk8.5/tkMacOSXInt.h | 180 - .../togl/include/tcltk/tk8.5/tkMacOSXPort.h | 206 - .../togl/include/tcltk/tk8.5/tkPlatDecls.h | 253 - src/other/togl/include/tcltk/tk8.5/tkPort.h | 36 - .../togl/include/tcltk/tk8.5/tkUnixDefault.h | 526 - .../togl/include/tcltk/tk8.5/tkUnixPort.h | 218 - src/other/togl/include/tcltk/tk8.5/tkWin.h | 91 - .../togl/include/tcltk/tk8.5/tkWinDefault.h | 529 - src/other/togl/include/tcltk/tk8.5/tkWinInt.h | 298 - .../togl/include/tcltk/tk8.5/tkWinPort.h | 140 - src/other/togl/include/tcltk/tk8.6/default.h | 30 - src/other/togl/include/tcltk/tk8.6/tclInt.h | 4185 ---- .../togl/include/tcltk/tk8.6/tclIntDecls.h | 2149 -- .../include/tcltk/tk8.6/tclIntPlatDecls.h | 705 - src/other/togl/include/tcltk/tk8.6/tclPort.h | 48 - .../togl/include/tcltk/tk8.6/tclUnixPort.h | 624 - .../togl/include/tcltk/tk8.6/tclWinPort.h | 527 - src/other/togl/include/tcltk/tk8.6/tkInt.h | 1223 -- .../togl/include/tcltk/tk8.6/tkIntDecls.h | 1896 -- .../togl/include/tcltk/tk8.6/tkIntPlatDecls.h | 1065 - .../include/tcltk/tk8.6/tkMacOSXDefault.h | 550 - .../togl/include/tcltk/tk8.6/tkMacOSXInt.h | 180 - .../togl/include/tcltk/tk8.6/tkMacOSXPort.h | 204 - .../togl/include/tcltk/tk8.6/tkPlatDecls.h | 249 - src/other/togl/include/tcltk/tk8.6/tkPort.h | 36 - .../togl/include/tcltk/tk8.6/tkUnixDefault.h | 526 - .../togl/include/tcltk/tk8.6/tkUnixPort.h | 207 - src/other/togl/include/tcltk/tk8.6/tkWin.h | 91 - .../togl/include/tcltk/tk8.6/tkWinDefault.h | 529 - src/other/togl/include/tcltk/tk8.6/tkWinInt.h | 298 - .../togl/include/tcltk/tk8.6/tkWinPort.h | 129 - src/other/togl/include/togl.h | 145 - src/other/togl/include/togl_config.h.in | 27 - src/other/togl/include/toglpy.h | 81 - src/other/togl/src/CMakeLists.txt | 125 - src/other/togl/src/Togl.py | 129 - src/other/togl/src/Xmu/CmapAlloc.c | 335 - src/other/togl/src/Xmu/CrCmap.c | 523 - src/other/togl/src/Xmu/DelCmap.c | 67 - src/other/togl/src/Xmu/LookupCmap.c | 311 - src/other/togl/src/Xmu/README | 8 - src/other/togl/src/Xmu/README.togl | 3 - src/other/togl/src/Xmu/StdCmap.c | 219 - src/other/togl/src/Xmu/StdCmap.h | 112 - src/other/togl/src/glew/glew.c | 16972 --------------- src/other/togl/src/togl.c | 5112 ----- src/other/togl/src/togl.decls | 190 - src/other/togl/src/toglAGL.c | 293 - src/other/togl/src/toglGLX.c | 481 - src/other/togl/src/toglNSOpenGL.c | 207 - src/other/togl/src/toglProcAddr.c | 61 - src/other/togl/src/toglStubLib.c | 59 - src/other/togl/src/toglWGL.c | 601 - src/other/togl/tools/genStubs.tcl | 1115 - src/other/togl/tools/valgrind-togl.supp | 65 - src/other/togl/tools/valgrind.cmd | 1 - 166 files changed, 1 insertion(+), 132225 deletions(-) delete mode 100644 src/other/togl.dist delete mode 100644 src/other/togl/CMake/CheckCSourceRuns.cmake delete mode 100644 src/other/togl/CMake/CheckFunctions.cmake delete mode 100644 src/other/togl/CMake/CheckPrototypeExists.cmake delete mode 100644 src/other/togl/CMake/FindGL.cmake delete mode 100644 src/other/togl/CMake/FindTCL.cmake delete mode 100644 src/other/togl/CMake/test_srcs/ctypes_test.c delete mode 100644 src/other/togl/CMakeLists.txt delete mode 100644 src/other/togl/LICENSE delete mode 100644 src/other/togl/README delete mode 100755 src/other/togl/configure delete mode 100644 src/other/togl/configure.in delete mode 100644 src/other/togl/demo/CMakeLists.txt delete mode 100644 src/other/togl/demo/ben.rgb delete mode 100644 src/other/togl/demo/double.c delete mode 100644 src/other/togl/demo/double.tcl delete mode 100644 src/other/togl/demo/gears.c delete mode 100755 src/other/togl/demo/gears.tcl delete mode 100644 src/other/togl/demo/image.h delete mode 100644 src/other/togl/demo/index.c delete mode 100644 src/other/togl/demo/index.tcl delete mode 100755 src/other/togl/demo/multisample.tcl delete mode 100644 src/other/togl/demo/overlay.c delete mode 100755 src/other/togl/demo/overlay.tcl delete mode 100644 src/other/togl/demo/pbuffer.c delete mode 100755 src/other/togl/demo/pbuffer.tcl delete mode 100644 src/other/togl/demo/stereo.c delete mode 100644 src/other/togl/demo/stereo.tcl delete mode 100644 src/other/togl/demo/texture.c delete mode 100644 src/other/togl/demo/texture.tcl delete mode 100644 src/other/togl/demo/tree2.rgba delete mode 100644 src/other/togl/doc/README.txt delete mode 100644 src/other/togl/doc/capi.html delete mode 100644 src/other/togl/doc/download.html delete mode 100644 src/other/togl/doc/faq.html delete mode 100644 src/other/togl/doc/header.js delete mode 100644 src/other/togl/doc/index.html delete mode 100644 src/other/togl/doc/stereo.html delete mode 100644 src/other/togl/doc/tclapi.html delete mode 100644 src/other/togl/doc/upgrading.html delete mode 100644 src/other/togl/doc/using.html delete mode 100644 src/other/togl/include/CMakeLists.txt delete mode 100644 src/other/togl/include/GL/glew.h delete mode 100644 src/other/togl/include/GL/glext.h delete mode 100644 src/other/togl/include/GL/glu.h delete mode 100644 src/other/togl/include/GL/glxew.h delete mode 100644 src/other/togl/include/GL/wglew.h delete mode 100644 src/other/togl/include/GL/wglext.h delete mode 100644 src/other/togl/include/config.h.in delete mode 100644 src/other/togl/include/tcltk/tk8.2/tclInt.h delete mode 100644 src/other/togl/include/tcltk/tk8.2/tclIntDecls.h delete mode 100644 src/other/togl/include/tcltk/tk8.2/tkInt.h delete mode 100644 src/other/togl/include/tcltk/tk8.2/tkIntDecls.h delete mode 100644 src/other/togl/include/tcltk/tk8.2/tkIntPlatDecls.h delete mode 100644 src/other/togl/include/tcltk/tk8.2/tkPlatDecls.h delete mode 100644 src/other/togl/include/tcltk/tk8.2/tkPort.h delete mode 100644 src/other/togl/include/tcltk/tk8.2/tkWin.h delete mode 100644 src/other/togl/include/tcltk/tk8.2/tkWinInt.h delete mode 100644 src/other/togl/include/tcltk/tk8.2/tkWinPort.h delete mode 100644 src/other/togl/include/tcltk/tk8.3/default.h delete mode 100644 src/other/togl/include/tcltk/tk8.3/tclInt.h delete mode 100644 src/other/togl/include/tcltk/tk8.3/tclIntDecls.h delete mode 100644 src/other/togl/include/tcltk/tk8.3/tkInt.h delete mode 100644 src/other/togl/include/tcltk/tk8.3/tkIntDecls.h delete mode 100644 src/other/togl/include/tcltk/tk8.3/tkIntPlatDecls.h delete mode 100644 src/other/togl/include/tcltk/tk8.3/tkMacDefault.h delete mode 100644 src/other/togl/include/tcltk/tk8.3/tkPlatDecls.h delete mode 100644 src/other/togl/include/tcltk/tk8.3/tkPort.h delete mode 100644 src/other/togl/include/tcltk/tk8.3/tkUnixDefault.h delete mode 100644 src/other/togl/include/tcltk/tk8.3/tkUnixPort.h delete mode 100644 src/other/togl/include/tcltk/tk8.3/tkWin.h delete mode 100644 src/other/togl/include/tcltk/tk8.3/tkWinDefault.h delete mode 100644 src/other/togl/include/tcltk/tk8.3/tkWinInt.h delete mode 100644 src/other/togl/include/tcltk/tk8.3/tkWinPort.h delete mode 100644 src/other/togl/include/tcltk/tk8.4/default.h delete mode 100644 src/other/togl/include/tcltk/tk8.4/tclInt.h delete mode 100644 src/other/togl/include/tcltk/tk8.4/tclIntDecls.h delete mode 100644 src/other/togl/include/tcltk/tk8.4/tkInt.h delete mode 100644 src/other/togl/include/tcltk/tk8.4/tkIntDecls.h delete mode 100644 src/other/togl/include/tcltk/tk8.4/tkIntPlatDecls.h delete mode 100644 src/other/togl/include/tcltk/tk8.4/tkMacDefault.h delete mode 100644 src/other/togl/include/tcltk/tk8.4/tkMacOSXDefault.h delete mode 100644 src/other/togl/include/tcltk/tk8.4/tkMacOSXInt.h delete mode 100644 src/other/togl/include/tcltk/tk8.4/tkMacOSXPort.h delete mode 100644 src/other/togl/include/tcltk/tk8.4/tkPlatDecls.h delete mode 100644 src/other/togl/include/tcltk/tk8.4/tkPort.h delete mode 100644 src/other/togl/include/tcltk/tk8.4/tkUnixDefault.h delete mode 100644 src/other/togl/include/tcltk/tk8.4/tkUnixPort.h delete mode 100644 src/other/togl/include/tcltk/tk8.4/tkWin.h delete mode 100644 src/other/togl/include/tcltk/tk8.4/tkWinDefault.h delete mode 100644 src/other/togl/include/tcltk/tk8.4/tkWinInt.h delete mode 100644 src/other/togl/include/tcltk/tk8.4/tkWinPort.h delete mode 100644 src/other/togl/include/tcltk/tk8.5/default.h delete mode 100644 src/other/togl/include/tcltk/tk8.5/tclInt.h delete mode 100644 src/other/togl/include/tcltk/tk8.5/tclIntDecls.h delete mode 100644 src/other/togl/include/tcltk/tk8.5/tclIntPlatDecls.h delete mode 100644 src/other/togl/include/tcltk/tk8.5/tclPort.h delete mode 100644 src/other/togl/include/tcltk/tk8.5/tclUnixPort.h delete mode 100644 src/other/togl/include/tcltk/tk8.5/tclWinPort.h delete mode 100644 src/other/togl/include/tcltk/tk8.5/tkInt.h delete mode 100644 src/other/togl/include/tcltk/tk8.5/tkIntDecls.h delete mode 100644 src/other/togl/include/tcltk/tk8.5/tkIntPlatDecls.h delete mode 100644 src/other/togl/include/tcltk/tk8.5/tkMacOSXDefault.h delete mode 100644 src/other/togl/include/tcltk/tk8.5/tkMacOSXInt.h delete mode 100644 src/other/togl/include/tcltk/tk8.5/tkMacOSXPort.h delete mode 100644 src/other/togl/include/tcltk/tk8.5/tkPlatDecls.h delete mode 100644 src/other/togl/include/tcltk/tk8.5/tkPort.h delete mode 100644 src/other/togl/include/tcltk/tk8.5/tkUnixDefault.h delete mode 100644 src/other/togl/include/tcltk/tk8.5/tkUnixPort.h delete mode 100644 src/other/togl/include/tcltk/tk8.5/tkWin.h delete mode 100644 src/other/togl/include/tcltk/tk8.5/tkWinDefault.h delete mode 100644 src/other/togl/include/tcltk/tk8.5/tkWinInt.h delete mode 100644 src/other/togl/include/tcltk/tk8.5/tkWinPort.h delete mode 100644 src/other/togl/include/tcltk/tk8.6/default.h delete mode 100644 src/other/togl/include/tcltk/tk8.6/tclInt.h delete mode 100644 src/other/togl/include/tcltk/tk8.6/tclIntDecls.h delete mode 100644 src/other/togl/include/tcltk/tk8.6/tclIntPlatDecls.h delete mode 100644 src/other/togl/include/tcltk/tk8.6/tclPort.h delete mode 100644 src/other/togl/include/tcltk/tk8.6/tclUnixPort.h delete mode 100644 src/other/togl/include/tcltk/tk8.6/tclWinPort.h delete mode 100644 src/other/togl/include/tcltk/tk8.6/tkInt.h delete mode 100644 src/other/togl/include/tcltk/tk8.6/tkIntDecls.h delete mode 100644 src/other/togl/include/tcltk/tk8.6/tkIntPlatDecls.h delete mode 100644 src/other/togl/include/tcltk/tk8.6/tkMacOSXDefault.h delete mode 100644 src/other/togl/include/tcltk/tk8.6/tkMacOSXInt.h delete mode 100644 src/other/togl/include/tcltk/tk8.6/tkMacOSXPort.h delete mode 100644 src/other/togl/include/tcltk/tk8.6/tkPlatDecls.h delete mode 100644 src/other/togl/include/tcltk/tk8.6/tkPort.h delete mode 100644 src/other/togl/include/tcltk/tk8.6/tkUnixDefault.h delete mode 100644 src/other/togl/include/tcltk/tk8.6/tkUnixPort.h delete mode 100644 src/other/togl/include/tcltk/tk8.6/tkWin.h delete mode 100644 src/other/togl/include/tcltk/tk8.6/tkWinDefault.h delete mode 100644 src/other/togl/include/tcltk/tk8.6/tkWinInt.h delete mode 100644 src/other/togl/include/tcltk/tk8.6/tkWinPort.h delete mode 100644 src/other/togl/include/togl.h delete mode 100644 src/other/togl/include/togl_config.h.in delete mode 100644 src/other/togl/include/toglpy.h delete mode 100644 src/other/togl/src/CMakeLists.txt delete mode 100755 src/other/togl/src/Togl.py delete mode 100644 src/other/togl/src/Xmu/CmapAlloc.c delete mode 100644 src/other/togl/src/Xmu/CrCmap.c delete mode 100644 src/other/togl/src/Xmu/DelCmap.c delete mode 100644 src/other/togl/src/Xmu/LookupCmap.c delete mode 100644 src/other/togl/src/Xmu/README delete mode 100644 src/other/togl/src/Xmu/README.togl delete mode 100644 src/other/togl/src/Xmu/StdCmap.c delete mode 100644 src/other/togl/src/Xmu/StdCmap.h delete mode 100644 src/other/togl/src/glew/glew.c delete mode 100644 src/other/togl/src/togl.c delete mode 100644 src/other/togl/src/togl.decls delete mode 100644 src/other/togl/src/toglAGL.c delete mode 100644 src/other/togl/src/toglGLX.c delete mode 100644 src/other/togl/src/toglNSOpenGL.c delete mode 100644 src/other/togl/src/toglProcAddr.c delete mode 100644 src/other/togl/src/toglStubLib.c delete mode 100644 src/other/togl/src/toglWGL.c delete mode 100644 src/other/togl/tools/genStubs.tcl delete mode 100644 src/other/togl/tools/valgrind-togl.supp delete mode 100644 src/other/togl/tools/valgrind.cmd diff --git a/CMakeLists.txt b/CMakeLists.txt index 78de6787775..4b484eb093f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -994,7 +994,7 @@ if(NOT BRLCAD_BUNDLED_LIBS MATCHES "AUTO" AND NOT BRLCAD_BUNDLED_LIBS MATCHES "B endif(NOT BRLCAD_BUNDLED_LIBS MATCHES "AUTO" AND NOT BRLCAD_BUNDLED_LIBS MATCHES "BUNDLED" AND NOT BRLCAD_BUNDLED_LIBS MATCHES "SYSTEM") # Enable Aqua widgets on Mac OSX. This impacts Tcl/Tk building and OpenGL -# building. Not currently working - needs work in at least Tk and togl +# building. Not currently working - needs work in at least Tk # CMake logic (probably more), and the display manager/framebuffer codes are known to depend # on either GLX or WGL specifically in their current forms. option(BRLCAD_ENABLE_AQUA "Use Aqua instead of X11 whenever possible on OSX." OFF) diff --git a/INSTALL b/INSTALL index ccb943cd761..d51d771e472 100644 --- a/INSTALL +++ b/INSTALL @@ -577,19 +577,6 @@ BRLCAD_ENABLE_TK is OFF. Aliases: ENABLE_ITK ---- BRLCAD_TOGL --- - -Option for enabling and disabling compilation of the Togl package for -Tcl/Tk OpenGL support provided with BRL-CAD's source distribution. -Default is AUTO, auto-enabling if the BRLCAD_TCL option is set to -BUNDLED and testing first for a system version if BRLCAD_TCL is set to -AUTO or SYSTEM. If BRLCAD_TOGL is set to BUNDLED, local copy is built -even if a system version is present. This package will be disabled if -either BRLCAD_ENABLE_OPENGL or BRLCAD_ENABLE_TK are OFF. - -Aliases: ENABLE_TOGL - - --- BRLCAD_IWIDGETS --- Option for enabling and disabling compilation of the IWidgets Tk diff --git a/TODO b/TODO index cf3280f70a8..447ecc892db 100644 --- a/TODO +++ b/TODO @@ -28,8 +28,6 @@ THESE TASKS SHOULD HAPPEN WITHIN TWO RELEASE ITERATIONS * closing the graphics window brings down X11 on Mac due to a bad context. fix or revert recent close window behavior. -* Investigate replacing togl for adrt/isst - * Rework p2t so it doesn't take down the application when a NURBS tessellation fails - should just abandon the problem input and continue. diff --git a/configure.cmake.sh b/configure.cmake.sh index 363725248fd..aee8c198e76 100755 --- a/configure.cmake.sh +++ b/configure.cmake.sh @@ -138,10 +138,6 @@ do shift;; --disable-itk) options="$options -DBRLCAD_ITK=SYSTEM"; shift;; - --enable-togl) options="$options -DBRLCAD_TOGL=BUNDLED"; - shift;; - --disable-togl) options="$options -DBRLCAD_TOGL=SYSTEM"; - shift;; --enable-iwidgets) options="$options -DBRLCAD_IWIDGETS=BUNDLED"; shift;; --disable-iwidgets) options="$options -DBRLCAD_IWIDGETS=SYSTEM"; diff --git a/src/other/CMakeLists.txt b/src/other/CMakeLists.txt index 80ebcfd6734..f6d8fee502c 100644 --- a/src/other/CMakeLists.txt +++ b/src/other/CMakeLists.txt @@ -678,40 +678,6 @@ endif(BRLCAD_ITK_BUILD) mark_as_advanced(ITK_VERSION) mark_as_advanced(ITK_LIBRARY) -# For now only turn on Togl for X11, but will need it everywhere -# eventually. Will need some logic to both look for package require -# and the C library, as both APIs will be needed. - -set(togl_ALIASES ENABLE_TOGL) -set(togl_DESCRIPTION " -Option for enabling and disabling compilation of the Togl package for -Tcl/Tk OpenGL support provided with BRL-CAD's source distribution. -Default is AUTO, auto-enabling if the BRLCAD_TCL option is set to -BUNDLED and testing first for a system version if BRLCAD_TCL is set to -AUTO or SYSTEM. If BRLCAD_TOGL is set to BUNDLED, local copy is built -even if a system version is present. This package will be disabled if -either BRLCAD_ENABLE_OPENGL or BRLCAD_ENABLE_TK are OFF. -") -THIRD_PARTY_TCL_PACKAGE(Togl togl "${TCL_WISH_EXECUTABLE}" "tcl;tk" "BRLCAD_ENABLE_TK;BRLCAD_ENABLE_OPENGL;BRLCAD_ENABLE_X11;BRLCAD_LEVEL3" "togl" togl_ALIASES togl_DESCRIPTION) -if(BRLCAD_TOGL_BUILD) - set(TOGL_LIBRARIES togl CACHE STRING "TOGL_LIBRARIES" FORCE) - set(TOGL_STUB_LIBRARIES toglstub CACHE STRING "TOGL_STUB_LIBRARIES" FORCE) - set(TOGL_INCLUDE_DIRS "${CMAKE_CURRENT_BINARY_DIR}/togl/include;${CMAKE_CURRENT_SOURCE_DIR}/togl/include" CACHE STRING "Togl include path" FORCE) - DISTCLEAN(${CMAKE_CURRENT_BINARY_DIR}/togl/pkgIndex.tcl - ${CMAKE_CURRENT_BINARY_DIR}/togl/src/pkgIndex.tcl) - DISTCLEAN(${CMAKE_BINARY_DIR}/lib/Togl2.1) -ELSE(BRLCAD_TOGL_BUILD) - # No Togl enabled - fix this so a system one has a chance... - #set(TOGL_LIBRARIES "" CACHE STRING "Tcl/Tk OpenGL disabled" FORCE) - #set(TOGL_STUB_LIBRARIES "" CACHE STRING "Tcl/Tk OpenGL disabled" FORCE) - #set(TOGL_INCLUDE_DIRS "" CACHE STRING "Tcl/Tk OpenGL disabled" FORCE) - set(TOGL_INCLUDE_DIRS "${CMAKE_CURRENT_BINARY_DIR}/togl/include;${CMAKE_CURRENT_SOURCE_DIR}/togl/include" CACHE STRING "Togl include path" FORCE) -endif(BRLCAD_TOGL_BUILD) -mark_as_advanced(TOGL_LIBRARY) -mark_as_advanced(TOGL_LIBRARIES) -mark_as_advanced(TOGL_STUB_LIBRARIES) -mark_as_advanced(TOGL_INCLUDE_DIRS) - set(iwidgets_ALIASES ENABLE_IWIDGETS) set(iwidgets_DESCRIPTION " Option for enabling and disabling compilation of the IWidgets Tk diff --git a/src/other/Makefile.am b/src/other/Makefile.am index e45417ac880..e10da97bf64 100644 --- a/src/other/Makefile.am +++ b/src/other/Makefile.am @@ -65,16 +65,6 @@ else TKHTMLDIR= endif -#if BUILD_TOGL -#if WITH_TK -#TOGLDIR=togl -#else -#TOGLDIR= -#endif -#else -#TOGLDIR= -#endif - if BUILD_TKPNG if WITH_TK TKPNGDIR=tkpng @@ -166,7 +156,6 @@ EXTRA_DIST = \ README \ boost \ clipper \ - togl \ hv3 \ Eigen \ CMakeLists.txt \ @@ -209,7 +198,6 @@ EXTRA_DIST = \ tkhtml.dist \ tkpng.dist \ tktable.dist \ - togl.dist \ URToolkit.dist \ libvds.dist \ poly2tri.dist \ diff --git a/src/other/README b/src/other/README index dcde6077779..bfe4a2b821f 100644 --- a/src/other/README +++ b/src/other/README @@ -55,7 +55,6 @@ sqlite3 http://www.sqlite.org/ Although sqlite has many potential uses, curr tkhtml fork of http://tkhtml.tcl.tk/tkhtml.html Used by MGED and Archer help systems now, and by hv3 once it is up and running. tkpng http://www.muonics.com/FreeStuff/TkPNG/ PNG photo image support for Tk - used by Archer tktable http://tktable.sourceforge.net/ High performing table widget for Tcl/Tk, used by Archer -togl fork of http://togl.sourceforge.net/ Tk OpenGL widget, used by ISST 6. Misc osl diff --git a/src/other/togl.dist b/src/other/togl.dist deleted file mode 100644 index 11192ef2012..00000000000 --- a/src/other/togl.dist +++ /dev/null @@ -1,36 +0,0 @@ -SET(togl_ignore_files -CMake -LICENSE -README -configure -configure.in -doc -include -tools -src/Togl.py -src/Xmu/README -src/Xmu/README.togl -src/Xmu/StdCmap.h -src/togl.decls -src/toglAGL.c -src/toglGLX.c -src/toglNSOpenGL.c -src/toglWGL.c -demo/ben.rgb -demo/double.c -demo/double.tcl -demo/gears.tcl -demo/image.h -demo/index.c -demo/index.tcl -demo/multisample.tcl -demo/overlay.c -demo/overlay.tcl -demo/pbuffer.c -demo/pbuffer.tcl -demo/stereo.c -demo/stereo.tcl -demo/texture.c -demo/texture.tcl -demo/tree2.rgba -) diff --git a/src/other/togl/CMake/CheckCSourceRuns.cmake b/src/other/togl/CMake/CheckCSourceRuns.cmake deleted file mode 100644 index e029007c273..00000000000 --- a/src/other/togl/CMake/CheckCSourceRuns.cmake +++ /dev/null @@ -1,137 +0,0 @@ -# - Check if the given C source code compiles and runs. -# CHECK_C_SOURCE_RUNS( ) -# - source code to try to compile -# - variable to store the result -# (1 for success, empty for failure) -# The following variables may be set before calling this macro to -# modify the way the check is run: -# -# CMAKE_REQUIRED_FLAGS = string of compile command line flags -# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) -# CMAKE_REQUIRED_INCLUDES = list of include directories -# CMAKE_REQUIRED_LIBRARIES = list of libraries to link - -#============================================================================= -# Copyright 2006-2009 Kitware, Inc. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# * Neither the names of Kitware, Inc., the Insight Software Consortium, -# nor the names of their contributors may be used to endorse or promote -# products derived from this software without specific prior written -# permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ------------------------------------------------------------------------------ -# -# The above copyright and license notice applies to distributions of -# CMake in source and binary form. Some source files contain additional -# notices of original copyright by their contributors; see each source -# for details. Third-party software packages supplied with CMake under -# compatible licenses provide their own copyright notices documented in -# corresponding subdirectories. -# -# ------------------------------------------------------------------------------ -# -# CMake was initially developed by Kitware with the following sponsorship: -# -# * National Library of Medicine at the National Institutes of Health -# as part of the Insight Segmentation and Registration Toolkit (ITK). -# -# * US National Labs (Los Alamos, Livermore, Sandia) ASC Parallel -# Visualization Initiative. -# -# * National Alliance for Medical Image Computing (NAMIC) is funded by the -# National Institutes of Health through the NIH Roadmap for Medical Research, -# Grant U54 EB005149. -# -# * Kitware, Inc. -# -#============================================================================= - -MACRO(CHECK_C_SOURCE_RUNS SOURCE VAR) - IF("${VAR}" MATCHES "^${VAR}$") - SET(MACRO_CHECK_FUNCTION_DEFINITIONS - "-D${VAR} ${CMAKE_REQUIRED_FLAGS}") - IF(CMAKE_REQUIRED_LIBRARIES) - SET(CHECK_C_SOURCE_COMPILES_ADD_LIBRARIES - "-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}") - ELSE(CMAKE_REQUIRED_LIBRARIES) - SET(CHECK_C_SOURCE_COMPILES_ADD_LIBRARIES) - ENDIF(CMAKE_REQUIRED_LIBRARIES) - IF(CMAKE_REQUIRED_INCLUDES) - SET(CHECK_C_SOURCE_COMPILES_ADD_INCLUDES - "-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES}") - ELSE(CMAKE_REQUIRED_INCLUDES) - SET(CHECK_C_SOURCE_COMPILES_ADD_INCLUDES) - ENDIF(CMAKE_REQUIRED_INCLUDES) - IF(EXISTS "${SOURCE}") - SET(CHECK_SRC "${SOURCE}") - ELSE(EXISTS "${SOURCE}") - FILE(WRITE "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.c" - "${SOURCE}\n") - SET(CHECK_SRC "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.c") - ENDIF(EXISTS "${SOURCE}") - - MESSAGE(STATUS "Performing Test ${VAR}") - TRY_RUN(${VAR}_EXITCODE ${VAR}_COMPILED - ${CMAKE_BINARY_DIR} - ${CHECK_SRC} - COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} - CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_FUNCTION_DEFINITIONS} - -DCMAKE_SKIP_RPATH:BOOL=${CMAKE_SKIP_RPATH} - "${CHECK_C_SOURCE_COMPILES_ADD_LIBRARIES}" - "${CHECK_C_SOURCE_COMPILES_ADD_INCLUDES}" - COMPILE_OUTPUT_VARIABLE OUTPUT) - # if it did not compile make the return value fail code of 1 - IF(NOT ${VAR}_COMPILED) - SET(${VAR}_EXITCODE 1) - ENDIF(NOT ${VAR}_COMPILED) - # if the return value was 0 then it worked - IF("${${VAR}_EXITCODE}" EQUAL 0) - SET(${VAR} 1 CACHE INTERNAL "Test ${VAR}") - MESSAGE(STATUS "Performing Test ${VAR} - Success") - FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log - "Performing C SOURCE FILE Test ${VAR} succeded with the following output:\n" - "${OUTPUT}\n" - "Return value: ${${VAR}}\n" - "Source file was:\n${SOURCE}\n") - ELSE("${${VAR}_EXITCODE}" EQUAL 0) - IF(CMAKE_CROSSCOMPILING AND "${${VAR}_EXITCODE}" MATCHES "FAILED_TO_RUN") - SET(${VAR} "${${VAR}_EXITCODE}") - ELSE(CMAKE_CROSSCOMPILING AND "${${VAR}_EXITCODE}" MATCHES "FAILED_TO_RUN") - SET(${VAR} "" CACHE INTERNAL "Test ${VAR}") - ENDIF(CMAKE_CROSSCOMPILING AND "${${VAR}_EXITCODE}" MATCHES "FAILED_TO_RUN") - - MESSAGE(STATUS "Performing Test ${VAR} - Failed") - FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log - "Performing C SOURCE FILE Test ${VAR} failed with the following output:\n" - "${OUTPUT}\n" - "Return value: ${${VAR}_EXITCODE}\n" - "Source file was:\n${SOURCE}\n") - - ENDIF("${${VAR}_EXITCODE}" EQUAL 0) - ENDIF("${VAR}" MATCHES "^${VAR}$") -ENDMACRO(CHECK_C_SOURCE_RUNS) - diff --git a/src/other/togl/CMake/CheckFunctions.cmake b/src/other/togl/CMake/CheckFunctions.cmake deleted file mode 100644 index c1ac018258a..00000000000 --- a/src/other/togl/CMake/CheckFunctions.cmake +++ /dev/null @@ -1,22 +0,0 @@ -# Automate putting variables from tests into a config.h.in file, -# and otherwise wrap check macros in extra logic as needed - -INCLUDE(CheckIncludeFile) -INCLUDE(CheckPrototypeExists) -INCLUDE(CheckCSourceRuns) -# Based on AC_HEADER_STDC - using the source code for ctype -# checking found in the generated configure file -MACRO(CMAKE_HEADER_STDC) - CHECK_INCLUDE_FILE(stdlib.h HAVE_STDLIB_H) - CHECK_INCLUDE_FILE(stdarg.h HAVE_STDARG_H) - CHECK_INCLUDE_FILE(string.h HAVE_STRING_H) - CHECK_INCLUDE_FILE(strings.h HAVE_STRINGS_H) - CHECK_INCLUDE_FILE(float.h HAVE_FLOAT_H) - CHECK_PROTOTYPE_EXISTS(memchr string.h HAVE_STRING_H_MEMCHR) - CHECK_PROTOTYPE_EXISTS(free stdlib.h HAVE_STDLIB_H_FREE) - CHECK_C_SOURCE_RUNS(${CMAKE_CURRENT_SOURCE_DIR}/CMake/test_srcs/ctypes_test.c WORKING_CTYPE_MACROS) - IF(HAVE_STDLIB_H AND HAVE_STDARG_H AND HAVE_STRING_H AND HAVE_FLOAT_H AND WORKING_CTYPE_MACROS) - SET(STDC_HEADERS 1) - ENDIF(HAVE_STDLIB_H AND HAVE_STDARG_H AND HAVE_STRING_H AND HAVE_FLOAT_H AND WORKING_CTYPE_MACROS) -ENDMACRO(CMAKE_HEADER_STDC) - diff --git a/src/other/togl/CMake/CheckPrototypeExists.cmake b/src/other/togl/CMake/CheckPrototypeExists.cmake deleted file mode 100644 index 077083c7449..00000000000 --- a/src/other/togl/CMake/CheckPrototypeExists.cmake +++ /dev/null @@ -1,62 +0,0 @@ -# - Check if the prototype for a function exists. -# CHECK_PROTOTYPE_EXISTS (FUNCTION HEADER VARIABLE) -# -# FUNCTION - the name of the function you are looking for -# HEADER - the header(s) where the prototype should be declared -# VARIABLE - variable to store the result -# -# The following variables may be set before calling this macro to -# modify the way the check is run: -# -# CMAKE_REQUIRED_FLAGS = string of compile command line flags -# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) -# CMAKE_REQUIRED_INCLUDES = list of include directories - -# Copyright (c) 2006, Alexander Neundorf, -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# 1. Redistributions of source code must retain the copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. The name of the author may not be used to endorse or promote products -# derived from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# http://websvn.kde.org/trunk/KDE/kdelibs/cmake/modules/CheckPrototypeExists.cmake?pathrev=776742 - - -include(CheckCXXSourceCompiles) - -macro(CHECK_PROTOTYPE_EXISTS _SYMBOL _HEADER _RESULT) - set(_INCLUDE_FILES) - foreach(it ${_HEADER}) - set(_INCLUDE_FILES "${_INCLUDE_FILES}#include <${it}>\n") - endforeach(it) - - set(_CHECK_PROTO_EXISTS_SOURCE_CODE " -${_INCLUDE_FILES} -int main() -{ -#ifndef ${_SYMBOL} - int i = sizeof(&${_SYMBOL}); -#endif - return 0; -} -") - CHECK_CXX_SOURCE_COMPILES("${_CHECK_PROTO_EXISTS_SOURCE_CODE}" ${_RESULT}) -endmacro(CHECK_PROTOTYPE_EXISTS _SYMBOL _HEADER _RESULT) - diff --git a/src/other/togl/CMake/FindGL.cmake b/src/other/togl/CMake/FindGL.cmake deleted file mode 100644 index d37a8cfb9b7..00000000000 --- a/src/other/togl/CMake/FindGL.cmake +++ /dev/null @@ -1,283 +0,0 @@ -# F I N D G L . C M A K E -# BRL-CAD -# -# Copyright (c) 2001-2012 United States Government as represented by -# the U.S. Army Research Laboratory. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided -# with the distribution. -# -# 3. The name of the author may not be used to endorse or promote -# products derived from this software without specific prior written -# permission. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS -# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY -# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -### -# - Try to find OpenGL -# Once done this will define -# -# OPENGL_FOUND - system has OpenGL -# OPENGL_XMESA_FOUND - system has XMESA -# OPENGL_GLU_FOUND - system has GLU -# OPENGL_INCLUDE_DIR_GL - the GL include directory -# OPENGL_INCLUDE_DIR_GLX - the GLX include directory -# OPENGL_LIBRARIES - Link these to use OpenGL and GLU -# -# If you want to use just GL you can use these values -# OPENGL_gl_LIBRARY - Path to OpenGL Library -# OPENGL_glu_LIBRARY - Path to GLU Library -# -# Define controlling option OPENGL_USE_AQUA if on Apple - -# if this is not true, look for the X11 OpenGL. Defaults -# to true. - -#============================================================================= -# Copyright 2001-2009 Kitware, Inc. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# * Neither the names of Kitware, Inc., the Insight Software Consortium, -# nor the names of their contributors may be used to endorse or promote -# products derived from this software without specific prior written -# permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# ------------------------------------------------------------------------------ -# -# The above copyright and license notice applies to distributions of -# CMake in source and binary form. Some source files contain additional -# notices of original copyright by their contributors; see each source -# for details. Third-party software packages supplied with CMake under -# compatible licenses provide their own copyright notices documented in -# corresponding subdirectories. -# -# ------------------------------------------------------------------------------ -# -# CMake was initially developed by Kitware with the following sponsorship: -# -# * National Library of Medicine at the National Institutes of Health -# as part of the Insight Segmentation and Registration Toolkit (ITK). -# -# * US National Labs (Los Alamos, Livermore, Sandia) ASC Parallel -# Visualization Initiative. -# -# * National Alliance for Medical Image Computing (NAMIC) is funded by the -# National Institutes of Health through the NIH Roadmap for Medical Research, -# Grant U54 EB005149. -# -# * Kitware, Inc. -# -#============================================================================= - -if(WIN32) - if(CYGWIN) - - find_path(OPENGL_INCLUDE_DIR_GL GL/gl.h ) - - find_library(OPENGL_gl_LIBRARY opengl32 ) - - find_library(OPENGL_glu_LIBRARY glu32 ) - - else (CYGWIN) - - if(BORLAND) - set(OPENGL_gl_LIBRARY import32 CACHE STRING "OpenGL library for win32") - set(OPENGL_glu_LIBRARY import32 CACHE STRING "GLU library for win32") - else(BORLAND) - set(OPENGL_gl_LIBRARY opengl32 CACHE STRING "OpenGL library for win32") - set(OPENGL_glu_LIBRARY glu32 CACHE STRING "GLU library for win32") - endif(BORLAND) - - endif(CYGWIN) - -else (WIN32) - - # The first line below is to make sure that the proper headers - # are used on a Linux machine with the NVidia drivers installed. - # They replace Mesa with NVidia's own library but normally do not - # install headers and that causes the linking to - # fail since the compiler finds the Mesa headers but NVidia's library. - # Make sure the NVIDIA directory comes BEFORE the others. - # - Atanas Georgiev - - - set(OPENGL_INC_SEARCH_PATH - /usr/share/doc/NVIDIA_GLX-1.0/include - /usr/X11/include - /usr/X11R7/include - /usr/X11R6/include - /usr/include/X11 - /usr/local/include/X11 - /usr/local/include - /usr/include - /usr/openwin/share/include - /usr/openwin/include - /usr/pkg/xorg/include - /opt/graphics/OpenGL/include - ) - # Handle HP-UX cases where we only want to find OpenGL in either hpux64 - # or hpux32 depending on if we're doing a 64 bit build. - if(CMAKE_SIZEOF_VOID_P EQUAL 4) - set(HPUX_IA_OPENGL_LIB_PATH /opt/graphics/OpenGL/lib/hpux32/) - else(CMAKE_SIZEOF_VOID_P EQUAL 4) - set(HPUX_IA_OPENGL_LIB_PATH - /opt/graphics/OpenGL/lib/hpux64/ - /opt/graphics/OpenGL/lib/pa20_64) - endif(CMAKE_SIZEOF_VOID_P EQUAL 4) - - get_property(SEARCH_64BIT GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS) - if(SEARCH_64BIT) - set(64BIT_DIRS "/usr/lib64/X11;/usr/lib64") - else(SEARCH_64BIT) - set(32BIT_DIRS "/usr/lib/X11;/usr/lib") - endif(SEARCH_64BIT) - - set(OPENGL_LIB_SEARCH_PATH - ${64BIT_DIRS} - ${32BIT_DIRS} - /usr/X11/lib - /usr/X11R7/lib - /usr/X11R6/lib - /usr/shlib - /usr/openwin/lib - /opt/graphics/OpenGL/lib - /usr/pkg/xorg/lib - ${HPUX_IA_OPENGL_LIB_PATH} - ) - - if(APPLE) - OPTION(OPENGL_USE_AQUA "Require native OSX Framework version of OpenGL." ON) - endif(APPLE) - - if(OPENGL_USE_AQUA) - find_library(OPENGL_gl_LIBRARY OpenGL DOC "OpenGL lib for OSX") - find_library(OPENGL_glu_LIBRARY AGL DOC "AGL lib for OSX") - find_path(OPENGL_INCLUDE_DIR_GL OpenGL/gl.h DOC "Include for OpenGL on OSX") - else(OPENGL_USE_AQUA) - # If we're on Apple and not using Aqua, we don't want frameworks - set(CMAKE_FIND_FRAMEWORK "NEVER") - - find_path(OPENGL_INCLUDE_DIR_GL GL/gl.h ${OPENGL_INC_SEARCH_PATH}) - find_path(OPENGL_INCLUDE_DIR_GLX GL/glx.h ${OPENGL_INC_SEARCH_PATH}) - find_path(OPENGL_xmesa_INCLUDE_DIR GL/xmesa.h ${OPENGL_INC_SEARCH_PATH}) - find_library(OPENGL_gl_LIBRARY NAMES GL MesaGL PATHS ${OPENGL_LIB_SEARCH_PATH}) - - # On Unix OpenGL most certainly always requires X11. - # Feel free to tighten up these conditions if you don't - # think this is always true. - # It's not true on OSX. - - if(OPENGL_gl_LIBRARY) - if(NOT X11_FOUND) - include(FindX11) - endif(NOT X11_FOUND) - if(X11_FOUND) - set(OPENGL_LIBRARIES ${X11_LIBRARIES}) - endif(X11_FOUND) - endif(OPENGL_gl_LIBRARY) - - find_library(OPENGL_glu_LIBRARY NAMES GLU MesaGLU PATHS ${OPENGL_LIB_SEARCH_PATH}) - endif(OPENGL_USE_AQUA) - -endif(WIN32) - -set( OPENGL_FOUND "NO" ) - -if(X11_FOUND) - if(OPENGL_INCLUDE_DIR_GLX AND OPENGL_INCLUDE_DIR_GL AND OPENGL_gl_LIBRARY) - set(OPENGL_FOUND "YES" ) - endif(OPENGL_INCLUDE_DIR_GLX AND OPENGL_INCLUDE_DIR_GL AND OPENGL_gl_LIBRARY) -else(X11_FOUND) - if(MSVC) - if(OPENGL_gl_LIBRARY) - set(OPENGL_FOUND "YES" ) - endif(OPENGL_gl_LIBRARY) - else(MSVC) - if(OPENGL_INCLUDE_DIR_GL AND OPENGL_gl_LIBRARY) - set(OPENGL_FOUND "YES" ) - endif(OPENGL_INCLUDE_DIR_GL AND OPENGL_gl_LIBRARY) - endif(MSVC) -endif(X11_FOUND) - - -if(OPENGL_FOUND) - if(OPENGL_xmesa_INCLUDE_DIR) - set( OPENGL_XMESA_FOUND "YES" ) - else(OPENGL_xmesa_INCLUDE_DIR) - set( OPENGL_XMESA_FOUND "NO" ) - endif(OPENGL_xmesa_INCLUDE_DIR) - - set(OPENGL_LIBRARIES ${OPENGL_gl_LIBRARY} ${OPENGL_LIBRARIES}) - if(OPENGL_glu_LIBRARY) - set(OPENGL_GLU_FOUND "YES" ) - set(OPENGL_LIBRARIES ${OPENGL_glu_LIBRARY} ${OPENGL_LIBRARIES} ) - else(OPENGL_glu_LIBRARY) - set( OPENGL_GLU_FOUND "NO" ) - endif(OPENGL_glu_LIBRARY) - - # This deprecated setting is for backward compatibility with CMake1.4 - set(OPENGL_LIBRARY ${OPENGL_LIBRARIES}) -else(OPENGL_FOUND) - # We don't have enough, so no partials - clean up - set(OPENGL_INCLUDE_DIR_GL "" CACHE STRING "OpenGL not found" FORCE) - set(OPENGL_INCLUDE_DIR_GLX "" CACHE STRING "OpenGL not found" FORCE) - set(OPENGL_xmesa_INCLUDE_DIR "" CACHE STRING "OpenGL not found" FORCE) - set(OPENGL_glu_LIBRARY "" CACHE STRING "OpenGL not found" FORCE) - set(OPENGL_gl_LIBRARY "" CACHE STRING "OpenGL not found" FORCE) -endif(OPENGL_FOUND) - -mark_as_advanced( - OPENGL_INCLUDE_DIR_GL - OPENGL_INCLUDE_DIR_GLX - OPENGL_xmesa_INCLUDE_DIR - OPENGL_glu_LIBRARY - OPENGL_gl_LIBRARY - ) - -# Local Variables: -# tab-width: 8 -# mode: cmake -# indent-tabs-mode: t -# End: -# ex: shiftwidth=2 tabstop=8 diff --git a/src/other/togl/CMake/FindTCL.cmake b/src/other/togl/CMake/FindTCL.cmake deleted file mode 100644 index 288f0624d33..00000000000 --- a/src/other/togl/CMake/FindTCL.cmake +++ /dev/null @@ -1,1083 +0,0 @@ -# F I N D T C L . C M A K E -# BRL-CAD -# -# Copyright (c) 2010-2012 United States Government as represented by -# the U.S. Army Research Laboratory. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# 2. Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided -# with the distribution. -# -# 3. The name of the author may not be used to endorse or promote -# products derived from this software without specific prior written -# permission. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS -# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY -# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -### -# - Find Tcl/Tk commands, includes and libraries. -# -# Copyright (c) 2010-2012 United States Government as represented by -# the U.S. Army Research Laboratory. -# -# Copyright 2001-2009 Kitware, Inc. -# -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# * Neither the names of Kitware, Inc., the Insight Software Consortium, -# the United States Government, the U.S. Army Research Laboratory, -# nor the names of their contributors may be used to endorse or promote -# products derived from this software without specific prior written -# permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -#----------------------------------------------------------------------- -# -# There are quite a number of potential compilcations when it comes to -# Tcl/Tk, particularly in cases where multiple versions of Tcl/Tk are -# present on a system and the case of OSX, which my have Tk built for -# either X11 or Aqua. On Windows there may be Cygwin installs of -# Tcl/Tk as well. -# -# Several "design philosophy" decisions have to be made - what to report -# when multiple instances of Tcl/Tk are available, how much control to -# allow users, how to expose those controls, etc. Here are the rules -# this particular implementation of FindTCL will strive to express: -# -# 1. If a parent CMakeLists.txt defines a specific TCL_PREFIX -# directory, don't look for or return any settings using -# other Tcl/Tk installations, even if nothing is found -# below TCL_PREFIX and other installations are present. -# Report NOTFOUND instead. -# -# 2. There will be two variables for controlling which versions to -# report, above and beyond the standard version option to -# find_package: -# -# TCL_MIN_VERSION -# TCL_MAX_VERSION -# -# These will be expected to have the form: -# -# TCL_VERSION_MAJOR.TCL_VERSION_MINOR.TCL_VERSION_PATCH -# -# although the PATCH_VERSION will be optional. If -# no PATCH_VERSION is specified, any patch version will -# be regarded as satisfying the criteria of any version -# number test applied. If no versions are specified it -# is assumed any will do. Higher versions are preferred -# over lower, within the above constraints. -# -# 3. Tk provides the option to compile either for -# the "native" graphics system (aqua, win32, etc.) or for -# X11 (which is also the native graphics system on Unix-type -# platforms other than Mac OSX.) There are situations were -# a program or developer may want to require a particular -# windowing system. If that is the case they can make use -# of the following two options: -# -# TK_NATIVE_GRAPHICS -# TK_X11_GRAPHICS -# -# If NATIVE_GRAPHICS is set to ON, a Tcl/Tk system is -# reported found only if the reported graphics system -# matches that of the current platform. If X11_GRAPHICS -# is on, a match is reported only if the windowing system -# reports X11. If neither option is ON, the windowing -# system is not a factor in deciding to report -# FOUND or NOTFOUND. If BOTH are ON (why??) NATIVE_GRAPHICS -# will override the TK_X11_GRAPHICS setting and set it -# to OFF. -# -# 4. By default, if no prefix is specified, FindTCL will search -# a list of directories and the system path for tcl libraries. -# This list can be expanded by a parent CMakeLists.txt file -# by specifying additional paths in this variable, which will -# be checked before the system path. Essentially, this lets -# a configure process do a "soft set" of the TCL prefix - look -# here first but if not found or constraints aren't satisfied -# check system paths: -# -# TCL_ADDITIONAL_SEARCH_PATHS -# -# 5. On Apple platforms, there may be a "Framework" install of -# Tcl/Tk. By default, FindTCL will start with this version -# on OSX platforms if no TCL_PREFIX is specified, but will -# move on to another installation if the Framework Tcl/Tk doesn't -# satisfy other criteria. If a developer wishes to REQUIRE a -# Framework build of Tcl/Tk and reject other installs even though -# they may satisfy other criteria, they can enable the following -# option: -# -# TCL_USE_FRAMEWORK_ONLY -# -# 6. If a developer needs ONLY Tcl, without the Tk graphics library, -# they can disable the following option (on by default) -# -# TCL_REQUIRE_TK -# -# 7. If a developer needs Threads support in Tcl, they can enable -# the following option (disabled by default) -# -# TCL_REQUIRE_THREADS -# -# 8. Normally, FindTCL will assume that the intent is to compile -# C code and will require headers. If a developer needs Tcl/Tk -# ONLY for the purposes of running tclsh or wish scripts and is -# not planning to do any compiling, they can disable the following -# option and FindTCL will report a Tcl/Tk installation without -# headers as FOUND. -# -# TCL_NEED_HEADERS -# -# 9. FindTCL will also typically require the stub libraries be present -# If they are not needed, the parent CMakeLists.txt file can disable -# the following variable (defaults to ON) -# -# TCL_NEED_STUB_LIBS -# -#10. It may be that there are Tcl/Tk installations on a machine that -# should NOT be found by Tcl/Tk for reasons other than those -# available above - in that case, the parent CMakeLists.txt file -# can list REGEX patterns identifying those locations in the -# variable (empty by default): -# -# TCL_PATH_NOMATCH_PATTERNS -# -# -# The following variables are set as the "standard" results from -# this script: -# -# TCL_INCLUDE_DIRS (will also include Tk header paths if Tk is enabled) -# TCL_LIBRARIES (will also include Tk libraries if Tk is enabled) -# TCL_STUB_LIBRARIES (will also include Tk stub libraries if Tk is enabled) -# TCL_TCLSH_EXECUTABLE (path to tclsh binary) -# TCL_WISH_EXECUTABLE (path to wish binary, set only if Tk is enabled) -# TCL_ROOT_PATH -# TCL_FOUND (set if all required features (Tk, threads, etc.) are found) -# TCL_VERSION_STRING (in the case where both Tcl and Tk are returned they, -# TCL_VERSION_MAJOR should both share the same version information. If -# TCL_VERSION_MINOR a situation arises where they do not, it is a bug.) -# TCL_VERSION_PATCH -# -# The following are not specifically called out by readme.txt but are -# useful when building TEA based extensions to Tcl/Tk -# -# TCL_CONF_PREFIX (path to parent dir of tclConfig.sh file) -# TCL_TK_CONF_PREFIX (path to parent dir of tkConfig.sh file) -# -# The readme.txt file discourages the use of XXX_LIBRARY settings in CMakeLists.txt files, -# but in the specific case of Tcl/Tk it is quite plausible to desire to specifically use -# only (say) the Tcl library, even if in the broader system Tk usage is also present. -# For that reason, the following variables will be maintained: -# -# TCL_LIBRARY (path to just the Tcl library) -# TCL_TK_LIBRARY (path to just the Tk library, set only if Tk is enabled) -# TCL_STUB_LIBRARY (path to just the Tcl stub library) -# TCL_TK_STUB_LIBRARY (path to just the Tk stub library) -# -# Previous FindTCL implementations set a series of less verbose -# variables that did not strictly conform to the format defined by -# the readme.txt file in the CMake modules directory. These are set, -# but should be regarded as deprecated. -# -# TK_LIBRARY = path to Tk library -# TK_STUB_LIBRARY = path to Tk stub library -# TCL_INCLUDE_PATH = path to directory containing tcl.h -# TK_INCLUDE_PATH = path to directory containing tk.h -# TCL_TCLSH = full path to tclsh binary -# TK_WISH = full path wo wish binary -# -# Note: In the special case where headers are not required, the *LIBRARIES, *LIBRARY, -# *CONF_PREFIX, and *_INCLUDE_DIRS variables are also not required. If -# all that is required is tclsh and/or wish, those are the only fixed -# requirements. In most cases the other variables will also be populated -# but it is not guaranteed. - -# Tcl/Tk tends to name things using version numbers, so we need a -# list of numbers to check -set(TCL_POSSIBLE_MAJOR_VERSIONS 8) -set(TCL_POSSIBLE_MINOR_VERSIONS 6 5 4 3 2 1 0) - -# Create the Tcl/Tk options if not already present -OPTION(TK_NATIVE_GRAPHICS "Require native Tk graphics." OFF) -OPTION(TK_X11_GRAPHICS "Require X11 Tk graphics." OFF) -OPTION(TCL_USE_FRAMEWORK_ONLY "Don't use any Tcl/Tk installation that isn't a Framework." OFF) -OPTION(TCL_REQUIRE_TK "Look for Tk installation, not just Tcl." ON) -OPTION(TCL_REQUIRE_THREADS "Reject a Tcl/Tk installation unless threads are enabled." OFF) -OPTION(TCL_NEED_HEADERS "Don't report a found Tcl/Tk unless headers are present." ON) -OPTION(TCL_NEED_STUB_LIBS "Don't report a found Tcl/Tk unless the stub libraries are present." ON) - -# Sanity check the settings - can't require both Native and X11 if X11 isn't -# the native windowing system on the platform -if(WIN32 OR APPLE) - if(TK_NATIVE_GRAPHICS AND TK_X11_GRAPHICS) - message(STATUS "Warning - both Native and X11 graphics required on platform where X11 is not a native graphics layer - disabling X11 graphics.") - set(TK_X11_GRAPHICS OFF CACHE BOOL "Require X11 Tk graphics." FORCE) - endif(TK_NATIVE_GRAPHICS AND TK_X11_GRAPHICS) -endif(WIN32 OR APPLE) - -#----------------------------------------------------------------------------- -# -# Run-Time testing for Tcl/Tk features -# -# This section specifically contains macros that write tcl scripts to -# files in order to be run by tclsh/wish binaries found by other routines. -# Routines here are intended to probe the details of the Tcl/Tk installation, -# and should only be used to get information not obtainable through config -# files or environment variables. -# -#----------------------------------------------------------------------------- - -# Set up the logic for determing the tk windowingsystem. -set(tkwin_script " -set filename \"${CMAKE_BINARY_DIR}/CMakeTmp/TK_WINDOWINGSYSTEM\" -set fileId [open $filename \"w\"] -set windowingsystem [tk windowingsystem] -puts $fileId $windowingsystem -close $fileId -exit -") -set(tkwin_scriptfile "${CMAKE_BINARY_DIR}/CMakeTmp/tk_windowingsystem.tcl") -macro(TK_GRAPHICS_SYSTEM wishcmd resultvar) - set(${resultvar} "wm-NOTFOUND") - file(WRITE ${tkwin_scriptfile} ${tkwin_script}) - EXEC_PROGRAM(${wishcmd} ARGS ${tkwin_scriptfile} OUTPUT_VARIABLE EXECOUTPUT) - file(READ ${CMAKE_BINARY_DIR}/CMakeTmp/TK_WINDOWINGSYSTEM readresultvar) - string(REGEX REPLACE "\n" "" "${resultvar}" "${readresultvar}") -endmacro() - - -# Set up the logic for determing the version of Tcl/Tk via running a script. -set(tclversion_script " -set filename \"${CMAKE_BINARY_DIR}/CMakeTmp/TCL_VERSION\" -set fileId [open $filename \"w\"] -puts $fileId $tcl_patchLevel -close $fileId -exit -") -set(tclversion_scriptfile "${CMAKE_BINARY_DIR}/CMakeTmp/tcl_version.tcl") -macro(TCL_GET_VERSION tclshcmd resultvar) - set(${resultvar} "NOTFOUND") - file(WRITE ${tclversion_scriptfile} ${tclversion_script}) - EXEC_PROGRAM(${tclshcmd} ARGS ${tclversion_scriptfile} OUTPUT_VARIABLE EXECOUTPUT) - file(READ ${CMAKE_BINARY_DIR}/CMakeTmp/TCL_VERSION readresultvar) - string(REGEX REPLACE "\n" "" "${resultvar}" "${readresultvar}") -endmacro() - - -# Set up the logic for determing if a particular Tcl is compiled threaded. -set(tclthreaded_script" -set filename \"${CMAKE_BINARY_DIR}/CMakeTmp/TCL_THREADED\" -set fileId [open $filename \"w\"] -if {[info exists tcl_platform(threaded)]} {puts $fileId 1} -close $fileId -exit -") - set(tclthreaded_scriptfile "${CMAKE_BINARY_DIR}/CMakeTmp/tcl_threaded.tcl") - macro(TCL_ISTHREADED tclshcmd resultvar) - set(${resultvar} "NOTFOUND") - file(WRITE ${tclthreaded_scriptfile} ${tclthreaded_script}) - EXEC_PROGRAM(${tclshcmd} ARGS ${tclthreaded_scriptfile} OUTPUT_VARIABLE EXECOUTPUT) - file(READ ${CMAKE_BINARY_DIR}/CMakeTmp/TCL_THREADED readresultvar) - string(REGEX REPLACE "\n" "" "${resultvar}" "${readresultvar}") - endmacro() - - #----------------------------------------------------------------------------- - # - # Routines dealing with version numbers - # - #----------------------------------------------------------------------------- - - # A routine to chop version numbers up into individual variables - macro(SPLIT_TCL_VERSION_NUM versionnum) - string(REGEX REPLACE "([0-9]*).[0-9]*.?[0-9]*" "\\1" ${versionnum}_MAJOR "${${versionnum}}") - string(REGEX REPLACE "[0-9]*.([0-9]*).?[0-9]*" "\\1" ${versionnum}_MINOR "${${versionnum}}") - string(REGEX REPLACE "[0-9]*.[0-9]*.?([0-9]*)" "\\1" ${versionnum}_PATCH "${${versionnum}}") - endmacro() - - # If version information is supplied, use it to restrict the search space. If EXACT, - # peg min and max at the same value. - if(TCL_FIND_VERSION_MAJOR) - set(TCL_POSSIBLE_MAJOR_VERSIONS ${TCL_FIND_VERSION_MAJOR}) - endif(TCL_FIND_VERSION_MAJOR) - if(TCL_FIND_VERSION_MINOR) - set(TCL_POSSIBLE_MINOR_VERSIONS ${TCL_FIND_VERSION_MINOR}) - endif(TCL_FIND_VERSION_MINOR) - if(TCL_FIND_VERSION_EXACT) - set(TCL_MIN_VERSION ${TCL_FIND_VERSION}) - set(TCL_MAX_VERSION ${TCL_FIND_VERSION}) - endif(TCL_FIND_VERSION_EXACT) - - # In various loops, we don't want to waste time checking for paths containing - # version numbers incompatible with restrictions imposed by the min/max/exact - # variables. Define a version to validate a given version against those - # variables, if they are defined. - macro(VALIDATE_VERSION vstatus versionnum) - set(${vstatus} "NOTFOUND") - if(TCL_EXACT_VERSION) - if(${TCL_EXACT_VERSION} VERSION_EQUAL ${versionnum}) - set(${vstatus} 1) - else() - set(${vstatus} 0) - endif() - else() - set(vminpass "NOTFOUND") - set(vmaxpass "NOTFOUND") - if(TCL_MIN_VERSION) - if(${versionnum} VERSION_LESS ${TCL_MIN_VERSION}) - set(vminpass 0) - else() - set(vminpass 1) - endif() - else() - set(vminpass 1) - endif() - if(TCL_MAX_VERSION) - if(${versionnum} VERSION_GREATER ${TCL_MIN_VERSION}) - set(vmaxpass 0) - else() - set(vmaxpass 1) - endif() - else() - set(vmaxpass 1) - endif() - if(${vminpass} EQUAL 1 AND ${vmaxpass} EQUAL 1) - set(${vstatus} 1) - else() - set(${vstatus} 0) - endif() - endif() - endmacro() - - - #----------------------------------------------------------------------------- - # - # Routines for defining sets of file system paths - # - #----------------------------------------------------------------------------- - - # For ActiveState's Tcl/Tk install on Windows, there are some specific - # paths that may be needed. This is a macro-ized version of the paths - # found in CMake's FindTCL.cmake - macro(WIN32TCLPATHS vararray extension) - if(WIN32) - get_filename_component( - ActiveTcl_CurrentVersion - "[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl;CurrentVersion]" - NAME) - set(${vararray} ${${vararray}} - "[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/${extension}") - foreach(MAJORNUM ${TCL_POSSIBLE_MAJOR_VERSIONS}) - foreach(MINORNUM ${TCL_POSSIBLE_MINOR_VERSIONS}) - set(${vararray} ${${vararray}} "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\${MAJORNUM}.${MINORNUM};Root]/${extension}") - endforeach() - endforeach() - set(${vararray} ${${vararray}} "C:/Tcl") - endif(WIN32) - endmacro(WIN32TCLPATHS) - - - - - macro(FIND_PROGRAM_PATHS PROGRAM_PATHS FOUND_PATHS majorlibnum minorlibnum) - set(PROGRAM_MIDPATH "bin;sbin") - set(PROGRAM_APPENDPATH "") - set(PROGRAM_SEARCH_PATHS "") - foreach(foundpath ${${FOUND_PATHS}}) - foreach(midpath ${PROGRAM_MIDPATH}) - set(PROGRAM_SEARCH_PATHS "${PROGRAM_SEARCH_PATHS};${foundpath}/${midpath}") - foreach(appendpath ${PROGRAM_APPENDPATH}) - set(PROGRAM_SEARCH_PATHS "${PROGRAM_SEARCH_PATHS};${foundpath}/${midpath}/${appendpath}") - endforeach(appendpath ${PROGRAM_APPENDPATH}) - endforeach(midpath ${PROGRAM_MIDPATH}) - set(CONFGENPATHS "") - foreach(genpath ${PROGRAM_SEARCH_PATHS}) - set(CONFGENPATHS "${CONFGENPATHS};${genpath}${majorlibnum}${minorlibnum};${genpath}${majorlibnum}.${minorlibnum}") - endforeach(genpath ${PROGRAM_SEARCH_PATHS}) - set(${PROGRAM_SEARCH_PATHS} "${PROGRAM_SEARCH_PATHS};${CONFGENPATHS}") - endforeach() - set(${PROGRAM_PATHS} ${PROGRAM_SEARCH_PATHS}) - endmacro() - - macro(FIND_LIBRARY_PATHS LIBRARY_PATHS FOUND_PATHS majorlibnum minorlibnum) - set(LIBRARY_MIDPATH "lib;lib64") - set(LIBRARY_APPENDPATH "tcl;tk;tcltk;tcltk/tcl;tcltk/tk") - set(LIBRARY_SEARCH_PATHS "") - foreach(foundpath ${${FOUND_PATHS}}) - foreach(midpath ${LIBRARY_MIDPATH}) - set(LIBRARY_SEARCH_PATHS "${LIBRARY_SEARCH_PATHS};${foundpath}/${midpath}") - foreach(appendpath ${LIBRARY_APPENDPATH}) - set(LIBRARY_SEARCH_PATHS "${LIBRARY_SEARCH_PATHS};${foundpath}/${midpath}/${appendpath}") - endforeach(appendpath ${LIBRARY_APPENDPATH}) - endforeach(midpath ${LIBRARY_MIDPATH}) - set(CONFGENPATHS "") - foreach(genpath ${LIBRARY_SEARCH_PATHS}) - set(CONFGENPATHS "${CONFGENPATHS};${genpath}${majorlibnum}${minorlibnum};${genpath}${majorlibnum}.${minorlibnum}") - endforeach(genpath ${LIBRARY_SEARCH_PATHS}) - set(${LIBRARY_SEARCH_PATHS} "${LIBRARY_SEARCH_PATHS};${CONFGENPATHS}") - endforeach() - set(${LIBRARY_PATHS} ${LIBRARY_SEARCH_PATHS}) - endmacro() - - macro(FIND_INCLUDE_PATHS INCLUDE_PATHS FOUND_PATHS majorlibnum minorlibnum) - set(INCLUDE_MIDPATH "include") - set(INCLUDE_APPENDPATH "tcl;tk;tcltk;tcltk/tcl;tcltk/tk") - set(INCLUDE_SEARCH_PATHS "") - foreach(foundpath ${${FOUND_PATHS}}) - foreach(midpath ${INCLUDE_MIDPATH}) - set(INCLUDE_SEARCH_PATHS "${INCLUDE_SEARCH_PATHS};${foundpath}/${midpath}") - foreach(appendpath ${INCLUDE_APPENDPATH}) - set(INCLUDE_SEARCH_PATHS "${INCLUDE_SEARCH_PATHS};${foundpath}/${midpath}/${appendpath}") - endforeach(appendpath ${INCLUDE_APPENDPATH}) - endforeach(midpath ${INCLUDE_MIDPATH}) - set(CONFGENPATHS "") - foreach(genpath ${INCLUDE_SEARCH_PATHS}) - set(CONFGENPATHS "${CONFGENPATHS};${genpath}${majorlibnum}${minorlibnum};${genpath}${majorlibnum}.${minorlibnum}") - endforeach(genpath ${INCLUDE_SEARCH_PATHS}) - set(${INCLUDE_SEARCH_PATHS} "${INCLUDE_SEARCH_PATHS};${CONFGENPATHS}") - endforeach() - set(${INCLUDE_PATHS} ${INCLUDE_SEARCH_PATHS}) - endmacro() - - - macro(FIND_POSSIBLE_PATHS targetbinnames targetlibnames pathnames options) - set(PATH_RESULTS "") - foreach(MAJORNUM ${TCL_POSSIBLE_MAJOR_VERSIONS}) - foreach(MINORNUM ${TCL_POSSIBLE_MINOR_VERSIONS}) - foreach(SPATH ${${pathnames}}) - set(TCL_CURRENTPATH TCL-NOTFOUND) - set(CURRENT_SEARCH_VERSION "${MAJORNUM}.${MINORNUM}") - VALIDATE_VERSION(dosearch ${CURRENT_SEARCH_VERSION}) - if(dosearch) - FIND_PROGRAM_PATHS(BIN_POSSIBLE_PATHS SPATH ${MAJORNUM} ${MINORNUM}) - FIND_LIBRARY_PATHS(LIB_POSSIBLE_PATHS SPATH ${MAJORNUM} ${MINORNUM}) - foreach(targetbin ${targetbinnames}) - if(TCL_CURRENTPATH MATCHES "NOTFOUND$") - find_program(TCL_CURRENTPATH NAMES ${targetbin}${MAJORNUM}.${MINORNUM} ${targetbin}${MAJORNUM}${MINORNUM} PATHS ${BIN_POSSIBLE_PATHS} ${options}) - endif(TCL_CURRENTPATH MATCHES "NOTFOUND$") - endforeach(targetbin ${targetbinnames}) - foreach(targetlib ${targetbinnames}) - if(TCL_CURRENTPATH MATCHES "NOTFOUND$") - find_library(TCL_CURRENTPATH NAMES ${targetlib}${MAJORNUM}.${MINORNUM} ${targetlib}${MAJORNUM}${MINORNUM} PATHS ${LIB_POSSIBE_PATHS} ${options}) - endif(TCL_CURRENTPATH MATCHES "NOTFOUND$") - endforeach(targetlib ${targetbinnames}) - endif(dosearch) - if(TCL_CURRENTPATH) - list(APPEND PATH_RESULTS ${SPATH}) - list(REMOVE_ITEM ${pathnames} ${SPATH}) - endif(TCL_CURRENTPATH) - endforeach(SPATH ${${pathnames}}) - endforeach() - endforeach() - set(${pathnames} ${PATH_RESULTS}) - endmacro() - - - macro(FIND_CONFIG_FILES FOUND_PATHS TARGET_LIST filename) - set(CONFIG_MIDPATH "lib;lib64;share") - set(CONFIG_APPENDPATH "tcl;tk;tcltk;tcltk/tcl;tcltk/tk") - foreach(foundpath ${${FOUND_PATHS}}) - set(CONFIG_SEARCH_PATHS "") - foreach(midpath ${CONFIG_MIDPATH}) - set(CONFIG_SEARCH_PATHS "${CONFIG_SEARCH_PATHS};${foundpath}/${midpath}") - foreach(appendpath ${CONFIG_APPENDPATH}) - set(CONFIG_SEARCH_PATHS "${CONFIG_SEARCH_PATHS};${foundpath}/${midpath}/${appendpath}") - endforeach(appendpath ${CONFIG_APPENDPATH}) - endforeach(midpath ${CONFIG_MIDPATH}) - set(CONFGENPATHS "") - foreach(MAJORNUM ${TCL_POSSIBLE_MAJOR_VERSIONS}) - foreach(MINORNUM ${TCL_POSSIBLE_MINOR_VERSIONS}) - set(CURRENT_SEARCH_VERSION "${MAJORNUM}.${MINORNUM}") - VALIDATE_VERSION(isvalid ${CURRENT_SEARCH_VERSION}) - if(isvalid) - foreach(genpath ${CONFIG_SEARCH_PATHS}) - set(CONFGENPATHS "${CONFGENPATHS};${genpath}${MAJORNUM}${MINORNUM};${genpath}${MAJORNUM}.${MINORNUM}") - endforeach(genpath ${CONFIG_SEARCH_PATHS}) - endif(isvalid) - endforeach(MINORNUM ${TCL_POSSIBLE_MINOR_VERSIONS}) - endforeach(MAJORNUM ${TCL_POSSIBLE_MAJOR_VERSIONS}) - set(CONFIG_SEARCH_PATHS "${CONFIG_SEARCH_PATHS};${CONFGENPATHS}") - set(conffile "${filename}-NOTFOUND") - find_file(conffile ${filename} PATHS ${CONFIG_SEARCH_PATHS} NO_SYSTEM_PATH) - if(NOT conffile MATCHES "NOTFOUND$") - set(${TARGET_LIST} "${${TARGET_LIST}}${conffile};") - endif(NOT conffile MATCHES "NOTFOUND$") - endforeach() - endmacro() - - - #----------------------------------------------------------------------------- - # - # Routines for resetting Tcl/Tk variables - # - #----------------------------------------------------------------------------- - - - macro(RESET_TCL_VARS) - set(TCL_VERSION_MAJOR "NOTFOUND") - set(TCL_VERSION_MINOR "NOTFOUND") - set(TCL_VERSION_PATCH "NOTFOUND") - set(TCL_INCLUDE_DIRS "NOTFOUND") - set(TCL_INCLUDE_PATH "NOTFOUND") - set(TCL_LIBRARIES "NOTFOUND") - set(TCL_LIBRARY "NOTFOUND") - set(TCL_STUB_LIBRARIES "NOTFOUND") - set(TCL_STUB_LIBRARY "NOTFOUND") - set(TCL_TCLSH "NOTFOUND") - set(TCL_TCLSH_EXECUTABLE "NOTFOUND") - endmacro() - - macro(RESET_TK_VARS) - set(TK_VERSION_MAJOR "NOTFOUND") - set(TK_VERSION_MINOR "NOTFOUND") - set(TK_VERSION_PATCH "NOTFOUND") - set(TK_INCLUDE_PATH "NOTFOUND") - set(TCL_TK_LIBRARY "NOTFOUND") - set(TCL_TK_STUB_LIBRARY "NOTFOUND") - set(TCL_WISH_EXECUTABLE "NOTFOUND") - set(TK_WISH "NOTFOUND") - endmacro() - - macro(VALIDATE_TCL_VARIABLES validvar) - if(NOT TCL_INCLUDE_PATH AND TCL_NEED_HEADERS) - set(${validvar} 0) - endif(NOT TCL_INCLUDE_PATH AND TCL_NEED_HEADERS) - if(NOT TCL_LIBRARY AND TCL_NEED_HEADERS) - set(${validvar} 0) - endif(NOT TCL_LIBRARY AND TCL_NEED_HEADERS) - if(NOT TCL_STUB_LIBRARY AND TCL_NEED_STUB_LIBS AND TCL_NEED_HEADERS) - set(${validvar} 0) - endif(NOT TCL_STUB_LIBRARY AND TCL_NEED_STUB_LIBS AND TCL_NEED_HEADERS) - if(NOT TCL_TCLSH_EXECUTABLE) - set(${validvar} 0) - endif(NOT TCL_TCLSH_EXECUTABLE) - endmacro(VALIDATE_TCL_VARIABLES) - - - macro(VALIDATE_TK_VARIABLES validvar) - if(NOT TK_INCLUDE_PATH AND TCL_NEED_HEADERS) - set(${validvar} 0) - endif(NOT TK_INCLUDE_PATH AND TCL_NEED_HEADERS) - if(NOT TCL_TK_LIBRARY AND TCL_NEED_HEADERS) - set(${validvar} 0) - endif(NOT TCL_TK_LIBRARY AND TCL_NEED_HEADERS) - if(NOT TCL_TK_STUB_LIBRARY AND TCL_NEED_STUB_LIBS AND TCL_NEED_HEADERS) - set(${validvar} 0) - endif(NOT TCL_TK_STUB_LIBRARY AND TCL_NEED_STUB_LIBS AND TCL_NEED_HEADERS) - if(NOT TCL_WISH_EXECUTABLE) - set(${validvar} 0) - endif(NOT TCL_WISH_EXECUTABLE) - endmacro(VALIDATE_TK_VARIABLES) - - - - #----------------------------------------------------------------------------- - # - # Routines for extracting variable values from Tcl/Tk config files - # - #----------------------------------------------------------------------------- - - macro(READ_TCLCONFIG_FILE tclconffile) - RESET_TCL_VARS() - set(TCL_CONF_FILE "") - file(READ ${tclconffile} TCL_CONF_FILE) - string(REGEX REPLACE "\r?\n" ";" ENT "${TCL_CONF_FILE}") - foreach(line ${ENT}) - if(${line} MATCHES "TCL_MAJOR_VERSION") - string(REGEX REPLACE ".*TCL_MAJOR_VERSION='([0-9]*)'.*" "\\1" TCL_VERSION_MAJOR ${line}) - endif(${line} MATCHES "TCL_MAJOR_VERSION") - if(${line} MATCHES "TCL_MINOR_VERSION") - string(REGEX REPLACE ".*TCL_MINOR_VERSION='([0-9]*)'.*" "\\1" TCL_VERSION_MINOR ${line}) - endif(${line} MATCHES "TCL_MINOR_VERSION") - if(${line} MATCHES "TCL_PATCH_LEVEL") - string(REGEX REPLACE ".*TCL_PATCH_LEVEL='.([0-9]*)'.*" "\\1" TCL_VERSION_PATCH ${line}) - endif(${line} MATCHES "TCL_PATCH_LEVEL") - if(${line} MATCHES "TCL_INCLUDE") - string(REGEX REPLACE ".*TCL_INCLUDE_SPEC='-I(.+)'.*" "\\1" TCL_INCLUDE_PATH ${line}) - endif() - if(${line} MATCHES "TCL_PREFIX") - string(REGEX REPLACE ".*TCL_PREFIX='(.+)'" "\\1" TCL_PREFIX ${line}) - endif() - if(${line} MATCHES "TCL_EXEC_PREFIX") - if(MSVC) - set(TCL_EXE_SUFFIX ".exe") - else(MSVC) - set(TCL_EXE_SUFFIX "") - endif(MSVC) - string(REGEX REPLACE ".*TCL_EXEC_PREFIX='(.+)'.*" "\\1" TCL_TCLSH_EXECUTABLE ${line}) - IF (EXISTS "${TCL_TCLSH_EXECUTABLE}/bin/tclsh${TCL_VERSION_MAJOR}${TCL_VERSION_MINOR}${TCL_EXE_SUFFIX}") - set(TCL_TCLSH_EXECUTABLE "${TCL_TCLSH_EXECUTABLE}/bin/tclsh${TCL_VERSION_MAJOR}${TCL_VERSION_MINOR}${TCL_EXE_SUFFIX}") - ELSEif(EXISTS "${TCL_TCLSH_EXECUTABLE}/bin/tclsh${TCL_VERSION_MAJOR}.${TCL_VERSION_MINOR}${TCL_EXE_SUFFIX}") - set(TCL_TCLSH_EXECUTABLE "${TCL_TCLSH_EXECUTABLE}/bin/tclsh${TCL_VERSION_MAJOR}.${TCL_VERSION_MINOR}${TCL_EXE_SUFFIX}") - ELSEif(EXISTS "${TCL_TCLSH_EXECUTABLE}/bin/tclsh-${TCL_VERSION_MAJOR}${TCL_VERSION_MINOR}${TCL_EXE_SUFFIX}") - set(TCL_TCLSH_EXECUTABLE "${TCL_TCLSH_EXECUTABLE}/bin/tclsh-${TCL_VERSION_MAJOR}${TCL_VERSION_MINOR}${TCL_EXE_SUFFIX}") - ELSEif(EXISTS "${TCL_TCLSH_EXECUTABLE}/bin/tclsh-${TCL_VERSION_MAJOR}.${TCL_VERSION_MINOR}${TCL_EXE_SUFFIX}") - set(TCL_TCLSH_EXECUTABLE "${TCL_TCLSH_EXECUTABLE}/bin/tclsh-${TCL_VERSION_MAJOR}.${TCL_VERSION_MINOR}${TCL_EXE_SUFFIX}") - ELSEif(EXISTS "${TCL_TCLSH_EXECUTABLE}/bin/tclsh") - set(TCL_TCLSH_EXECUTABLE "${TCL_TCLSH_EXECUTABLE}/bin/tclsh") - endif() - endif() - if(${line} MATCHES "TCL_STUB_LIB_PATH") - string(REGEX REPLACE ".*TCL_STUB_LIB_PATH='(.+)/lib.*" "\\1" TCL_STUB_LIB_PATH ${line}) - endif() - if(${line} MATCHES "TCL_THREADS") - string(REGEX REPLACE ".*TCL_THREADS=(.+)" "\\1" TCL_THREADS ${line}) - endif() - endforeach(line ${ENT}) - endmacro() - - - macro(READ_TKCONFIG_FILE tkconffile) - RESET_TK_VARS() - set(TK_CONF_FILE "") - file(READ ${tkconffile} TK_CONF_FILE) - string(REGEX REPLACE "\r?\n" ";" ENT "${TK_CONF_FILE}") - foreach(line ${ENT}) - if(${line} MATCHES "TK_MAJOR_VERSION") - string(REGEX REPLACE ".*TK_MAJOR_VERSION='([0-9]*)'.*" "\\1" TK_VERSION_MAJOR ${line}) - endif(${line} MATCHES "TK_MAJOR_VERSION") - if(${line} MATCHES "TK_MINOR_VERSION") - string(REGEX REPLACE ".*TK_MINOR_VERSION='([0-9]*)'.*" "\\1" TK_VERSION_MINOR ${line}) - endif(${line} MATCHES "TK_MINOR_VERSION") - if(${line} MATCHES "TK_PATCH_LEVEL") - string(REGEX REPLACE ".*TK_PATCH_LEVEL='.([0-9]*)'.*" "\\1" TK_VERSION_PATCH ${line}) - endif(${line} MATCHES "TK_PATCH_LEVEL") - if(${line} MATCHES "TK_.*INCLUDE") - string(REGEX REPLACE ".*TK_.*INCLUDE.*='-I(.+)'.*" "\\1" TK_INCLUDE_PATH ${line}) - endif() - if(${line} MATCHES "TK_PREFIX") - string(REGEX REPLACE ".*TK_PREFIX='(.+)'" "\\1" TK_PREFIX ${line}) - endif() - if(${line} MATCHES "TK_EXEC_PREFIX") - if(MSVC) - set(TK_EXE_SUFFIX ".exe") - else(MSVC) - set(TK_EXE_SUFFIX "") - endif(MSVC) - string(REGEX REPLACE ".*TK_EXEC_PREFIX='(.+)'.*" "\\1" TCL_WISH_EXECUTABLE ${line}) - IF (EXISTS "${TCL_WISH_EXECUTABLE}/bin/wish${TK_VERSION_MAJOR}${TK_VERSION_MINOR}${TK_EXE_SUFFIX}") - set(TCL_WISH_EXECUTABLE "${TCL_WISH_EXECUTABLE}/bin/wish${TK_VERSION_MAJOR}${TK_VERSION_MINOR}${TK_EXE_SUFFIX}") - ELSEif(EXISTS "${TCL_WISH_EXECUTABLE}/bin/wish${TK_VERSION_MAJOR}.${TK_VERSION_MINOR}${TK_EXE_SUFFIX}") - set(TCL_WISH_EXECUTABLE "${TCL_WISH_EXECUTABLE}/bin/wish${TK_VERSION_MAJOR}.${TK_VERSION_MINOR}${TK_EXE_SUFFIX}") - ELSEif(EXISTS "${TCL_WISH_EXECUTABLE}/bin/wish-${TK_VERSION_MAJOR}${TK_VERSION_MINOR}${TK_EXE_SUFFIX}") - set(TCL_WISH_EXECUTABLE "${TCL_WISH_EXECUTABLE}/bin/wish-${TK_VERSION_MAJOR}${TK_VERSION_MINOR}${TK_EXE_SUFFIX}") - ELSEif(EXISTS "${TCL_WISH_EXECUTABLE}/bin/wish-${TK_VERSION_MAJOR}.${TK_VERSION_MINOR}${TK_EXE_SUFFIX}") - set(TCL_WISH_EXECUTABLE "${TCL_WISH_EXECUTABLE}/bin/wish-${TK_VERSION_MAJOR}.${TK_VERSION_MINOR}${TK_EXE_SUFFIX}") - ELSEif(EXISTS "${TCL_WISH_EXECUTABLE}/bin/wish") - set(TCL_WISH_EXECUTABLE "${TCL_WISH_EXECUTABLE}/bin/wish") - endif() - endif() - endforeach(line ${ENT}) - if(NOT TK_INCLUDE_PATH) - set(TK_INCLUDE_PATH ${TCL_INCLUDE_PATH}) - endif(NOT TK_INCLUDE_PATH) - endmacro() - - - #----------------------------------------------------------------------------- - # - # Validate a Tcl/Tk installation based on options - # - #----------------------------------------------------------------------------- - - macro(VALIDATE_TCL validvar) - set(${validvar} 1) - VALIDATE_TCL_VARIABLES(${validvar}) - if(TCL_TCLSH_EXECUTABLE) - TCL_GET_VERSION(${TCL_TCLSH_EXECUTABLE} CURRENT_SEARCH_VERSION) - VALIDATE_VERSION(dosearch ${CURRENT_SEARCH_VERSION}) - if(NOT dosearch) - set(${validvar} 0) - endif(NOT dosearch) - endif(TCL_TCLSH_EXECUTABLE) - if(TCL_REQUIRE_THREADS AND TCL_TCLSH_EXECUTABLE) - TCL_ISTHREADED(${TCL_TCLSH_EXECUTABLE} TCL_THREADS) - if(NOT TCL_THREADS) - set(${validvar} 0) - endif(NOT TCL_THREADS) - endif(TCL_REQUIRE_THREADS AND TCL_TCLSH_EXECUTABLE) - endmacro(VALIDATE_TCL) - - macro(VALIDATE_TK validvar) - set(${validvar} 1) - VALIDATE_TK_VARIABLES(${validvar}) - if(TK_NATIVE_GRAPHICS OR TK_X11_GRAPHICS) - TK_GRAPHICS_SYSTEM(${TCL_WISH_EXECUTABLE} TK_SYSTEM_GRAPHICS) - if(APPLE AND TK_NATIVE_GRAPHICS) - if(NOT ${TK_SYSTEM_GRAPHICS} MATCHES "aqua") - set(${validvar} 0) - endif() - endif() - if(WIN32 AND TK_NATIVE_GRAPHICS) - if(NOT ${TK_SYSTEM_GRAPHICS} MATCHES "win32") - set(${validvar} 0) - endif() - endif() - if(TK_X11_GRAPHICS) - if(NOT ${TK_SYSTEM_GRAPHICS} MATCHES "x11") - set(${validvar} 0) - endif() - endif() - endif(TK_NATIVE_GRAPHICS OR TK_X11_GRAPHICS) - endmacro(VALIDATE_TK) - - - #----------------------------------------------------------------------------- - # - # Main Search Logic - Search for Tcl/Tk installations - # - # The general rules for searching are as follows: - # - # 1. If a prefix is specified, use only that prefix in the search - - # do not attempt to find Tcl/Tk elsewhere on the system. - # - # 2. If on Apple, check for Framework installations - they will be the - # first to be checked - potentially the only one(s) checked, depending - # on option settings. - # - # 3. If options allow/dictate, pull all environment variables that might - # point to Tcl/Tk paths and look for tclsh/wish/libtcl/libtk variations - # in those paths. Use the paths that contain at least one of the - # binary/library files as a basis for generating paths to look for - # config files. - # - # 4. Search for config files, and if found read key variables from the - # files. Config files are preferred when available, since they - # help to ensure the Find routines don't accidentally find mis-matched - # binary/library/include files. - # - # 5. If config files found, use those paths to find full paths to binaries - # and libraries. - # - # 6. If config files are NOT found, fall back on an ordered path search, - # with higher versions being preferred over lower. This is done only - # to locate a runnable Tcl/Tk and will not set variables related to - # config files or include paths. It is a last resort intended to - # allow systems that provide a stripped down Tcl/Tk to return useful - # results when the only functionality needed by the CMake project - # is to run tclsh/wish. - # - #----------------------------------------------------------------------------- - - # Because it is not out of the question for a build system to be building - # its own local copy of Tcl/Tk (and hence define the needed variables - # on its own) we check up front to see if all of the options have already - # been satisfied by a mechanism other than find_package - include(FindPackageHandleStandardArgs) - set(PACKAGE_HANDLE_VARS "TCL_TCLSH_EXECUTABLE") - set(TCL_TCLSH ${TCL_TCLSH_EXECUTABLE}) #Deprecated - set(PACKAGE_HANDLE_VARS "${PACKAGE_HANDLE_VARS} TCL_TCLSH") - if(TCL_NEED_HEADERS) - set(PACKAGE_HANDLE_VARS "${PACKAGE_HANDLE_VARS} TCL_LIBRARIES TCL_INCLUDE_DIRS TCL_CONF_PREFIX TCL_LIBRARY TCL_INCLUDE_PATH") - if(TCL_NEED_STUB_LIBS) - set(PACKAGE_HANDLE_VARS "${PACKAGE_HANDLE_VARS} TCL_STUB_LIBRARIES TCL_STUB_LIBRARY") - endif(TCL_NEED_STUB_LIBS) - - if(TCL_REQUIRE_TK) - set(PACKAGE_HANDLE_VARS "${PACKAGE_HANDLE_VARS} TK_INCLUDE_PATH TCL_TK_CONF_PREFIX TCL_TK_LIBRARY TCL_WISH_EXECUTABLE") - set(TK_LIBRARY ${TCL_TK_LIBRARY}) # Deprecated - set(PACKAGE_HANDLE_VARS "${PACKAGE_HANDLE_VARS} TK_LIBRARY") - if(TCL_NEED_STUB_LIBS) - set(PACKAGE_HANDLE_VARS "${PACKAGE_HANDLE_VARS} TCL_TK_STUB_LIBRARY") - set(TK_STUB_LIBRARY ${TCL_TK_STUB_LIBRARY}) #Deprecated - set(PACKAGE_HANDLE_VARS "${PACKAGE_HANDLE_VARS} TK_STUB_LIBRARY") - endif(TCL_NEED_STUB_LIBS) - endif(TCL_REQUIRE_TK) - else(TCL_NEED_HEADERS) - if(TCL_REQUIRE_TK) - set(PACKAGE_HANDLE_VARS "${PACKAGE_HANDLE_VARS} TCL_WISH_EXECUTABLE") - set(TK_WISH ${TCL_WISH_EXECUTABLE}) #Deprecated - set(PACKAGE_HANDLE_VARS "${PACKAGE_HANDLE_VARS} TK_WISH") - endif(TCL_REQUIRE_TK) - endif(TCL_NEED_HEADERS) - string(REGEX REPLACE " " ";" PACKAGE_HANDLE_VARS "${PACKAGE_HANDLE_VARS}") - set(TCL_FOUND TRUE) - foreach(REQUIRED_VAR ${PACKAGE_HANDLE_VARS}) - if(NOT ${REQUIRED_VAR}) - set(TCL_FOUND FALSE) - endif(NOT ${REQUIRED_VAR}) - endforeach(REQUIRED_VAR ${PACKAGE_HANDLE_VARS}) - - - # Try to be a bit forgiving with the TCL prefix - if someone gives the - # full path to the lib directory, catch that by adding the parent path - # to the list to check - if(NOT TCL_FOUND) - if(TCL_PREFIX) - set(TCL_LIBRARY "NOTFOUND") - set(TCL_PREFIX_LIBDIRS ${TCL_PREFIX_LIBDIRS} ${TCL_PREFIX}/lib) - set(TCL_PREFIX_LIBDIRS ${TCL_PREFIX_LIBDIRS} ${TCL_PREFIX}) - get_filename_component(TCL_LIB_PATH_PARENT "${TCL_PREFIX}" PATH) - set(TCL_PREFIX_LIBDIRS ${TCL_PREFIX_LIBDIRS} ${TCL_LIB_PATH_PARENT}/lib) - set(TCL_PREFIX_LIBDIRS ${TCL_PREFIX_LIBDIRS} ${TCL_LIB_PATH_PARENT}) - list(REMOVE_DUPLICATES TCL_PREFIX_LIBDIRS) - FIND_LIBRARY_VERSIONS(tcl TCL_PREFIX_LIBDIRS NO_SYSTEM_PATH) - set(FOUND_FILES "${TCL_tcl_LIST}") - FIND_CONFIG_FILES(FOUND_FILES TCLCONFIG_LIST tclConfig.sh) - if(TCL_REQUIRE_TK) - FIND_LIBRARY_VERSIONS(tk TCL_PREFIX_LIBDIRS NO_SYSTEM_PATH) - set(FOUND_FILES "${TCL_tk_LIST}") - FIND_CONFIG_FILES(FOUND_FILES TKCONFIG_LIST tkConfig.sh) - endif(TCL_REQUIRE_TK) - else(TCL_PREFIX) - set(TCLCONFIG_LIST "") - if(APPLE) - include(CMakeFindFrameworks) - CMAKE_FIND_FRAMEWORKS(Tcl) - foreach(dir ${Tcl_FRAMEWORKS}) - set(tclconf "tclConfig.sh-NOTFOUND") - find_file(tclconf tclConfig.sh PATHS ${dir}) - mark_as_advanced(tclconf) - if(NOT tclconf MATCHES "NOTFOUND$") - set(TCLCONFIG_LIST "${TCLCONFIG_LIST}${tclconf};") - endif(NOT tclconf MATCHES "NOTFOUND$") - endforeach(dir ${Tcl_FRAMEWORKS}) - if(TCL_REQUIRE_TK) - CMAKE_FIND_FRAMEWORKS(Tk) - foreach(dir ${Tk_FRAMEWORKS}) - set(tkconf "tkConfig.sh-NOTFOUND") - find_file(tkconf tkConfig.sh PATHS ${dir}) - mark_as_advanced(tkconf) - if(NOT tkconf MATCHES "NOTFOUND$") - set(TKCONFIG_LIST "${TKCONFIG_LIST}${tkconf};") - endif(NOT tkconf MATCHES "NOTFOUND$") - endforeach(dir ${Tk_FRAMEWORKS}) - endif(TCL_REQUIRE_TK) - endif(APPLE) - if(NOT APPLE OR NOT TCL_USE_FRAMEWORK_ONLY) - set(PATHLIST "$ENV{LD_LIBRARY_PATH}:$ENV{DYLD_LIBRARY_PATH}:$ENV{DYLD_FALLBACK_LIBRARY_PATH}:$ENV{PATH}") - set(PATHLIST "${TCL_ADDITIONAL_SEARCH_PATHS}:${PATHLIST}") - if(WIN32) - WIN32TCLPATHS(PATHLIST "") - endif(WIN32) - string(REGEX REPLACE "/s?bin:" ":" PATHLIST "${PATHLIST}") - string(REGEX REPLACE "/s?bin;" ":" PATHLIST "${PATHLIST}") - string(REGEX REPLACE "/lib6?4?:" ":" PATHLIST "${PATHLIST}") - string(REGEX REPLACE "/lib6?4?;" ":" PATHLIST "${PATHLIST}") - string(REGEX REPLACE ":" ";" PATHLIST "${PATHLIST}") - list(REMOVE_DUPLICATES PATHLIST) - foreach(foundpath ${PATHLIST}) - foreach(pattern ${TCL_PATH_NOMATCH_PATTERNS}) - if(foundpath MATCHES "${pattern}") - list(REMOVE_ITEM PATHLIST ${foundpath}) - endif(foundpath MATCHES "${pattern}") - endforeach(pattern ${TCL_PATH_NOMATCH_PATTERNS}) - endforeach() - set(TCLPATHLIST "${PATHLIST}") - set(TKPATHLIST "${PATHLIST}") - FIND_POSSIBLE_PATHS("tclsh" "tcl" TCLPATHLIST NO_SYSTEM_PATH) - if(TCL_REQUIRE_TK) - FIND_POSSIBLE_PATHS("wish" "tk" TKPATHLIST NO_SYSTEM_PATH) - endif(TCL_REQUIRE_TK) - # Hunt up tclConfig.sh files - FIND_CONFIG_FILES(TCLPATHLIST TCLCONFIG_LIST tclConfig.sh) - # Hunt up tkConfig.sh files - FIND_CONFIG_FILES(TKPATHLIST TKCONFIG_LIST tkConfig.sh) - endif(NOT APPLE OR NOT TCL_USE_FRAMEWORK_ONLY) - endif(TCL_PREFIX) - set(TCLVALID 0) - RESET_TCL_VARS() - foreach(tcl_config_file ${TCLCONFIG_LIST}) - if(NOT TCLVALID) - RESET_TCL_VARS() - READ_TCLCONFIG_file(${tcl_config_file}) - set(TCLVALID 1) - set(CURRENTTCLVERSION "${TCL_VERSION_MAJOR}.${TCL_VERSION_MINOR}.${TCL_VERSION_PATCH}") - VALIDATE_VERSION(TCLVALID ${CURRENTTCLVERSION}) - if(TCLVALID) - get_filename_component(TCL_CONF_PREFIX "${tcl_config_file}" PATH) - get_filename_component(TCL_LIBRARY_DIR2 "${TCL_CONF_PREFIX}" PATH) - FIND_LIBRARY_PATHS(TCL_LIBRARY_SEARCH_PATHS TCL_PREFIX ${TCL_VERSION_MAJOR} ${TCL_VERSION_MINOR}) - set(TCL_LIBRARY_SEARCH_PATHS "${TCL_CONF_PREFIX};${TCL_LIBRARY_DIR2};${TCL_LIBRARY_SEARCH_PATHS}") - find_library(TCL_LIBRARY tcl Tcl tcl${TCL_VERSION_MAJOR}.${TCL_VERSION_MINOR} tcl${TCL_VERSION_MAJOR}${TCL_VERSION_MINOR} PATHS ${TCL_LIBRARY_SEARCH_PATHS} NO_SYSTEM_PATH) - find_library(TCL_STUB_LIBRARY tclstub${TCL_VERSION_MAJOR}.${TCL_VERSION_MINOR} tclstub${TCL_VERSION_MAJOR}${TCL_VERSION_MINOR} PATHS ${TCL_LIBRARY_SEARCH_PATHS} NO_SYSTEM_PATH) - endif(TCLVALID) - VALIDATE_TCL(TCLVALID) - if(TCLVALID) - if(TCL_REQUIRE_TK) - set(TKVALID 0) - foreach(tk_config_file ${TKCONFIG_LIST}) - if(NOT TKVALID) - RESET_TK_VARS() - READ_TKCONFIG_file(${tk_config_file}) - set(TKVALID 0) - set(CURRENTTKVERSION "${TK_VERSION_MAJOR}.${TK_VERSION_MINOR}.${TK_VERSION_PATCH}") - set(vtcltkcompare 0) - if(${CURRENTTCLVERSION} VERSION_EQUAL ${CURRENTTKVERSION}) - set(TKVALID 1) - else() - set(TKVALID 0) - endif() - if(TKVALID) - get_filename_component(TCL_TK_CONF_PREFIX "${tk_config_file}" PATH) - get_filename_component(TCL_TK_LIBRARY_DIR2 "${TCL_TK_CONF_PREFIX}" PATH) - FIND_LIBRARY_PATHS(TCL_TK_LIBRARY_SEARCH_PATHS TK_PREFIX ${TK_VERSION_MAJOR} ${TK_VERSION_MINOR}) - set(TCL_TK_LIBRARY_SEARCH_PATHS "${TCL_TK_CONF_PREFIX};${TCL_TK_LIBRARY_DIR2};${TCL_TK_LIBRARY_SEARCH_PATHS}") - find_library(TCL_TK_LIBRARY tk Tk tk${TK_VERSION_MAJOR}.${TK_VERSION_MINOR} tk${TK_VERSION_MAJOR}${TK_VERSION_MINOR} PATHS ${TCL_TK_LIBRARY_SEARCH_PATHS} NO_SYSTEM_PATH) - find_library(TCL_TK_STUB_LIBRARY tkstub tkstub${TK_VERSION_MAJOR}.${TK_VERSION_MINOR} tkstub${TK_VERSION_MAJOR}${TK_VERSION_MINOR} PATHS ${TCL_TK_LIBRARY_SEARCH_PATHS} NO_SYSTEM_PATH) - VALIDATE_TK(TKVALID) - endif(TKVALID) - endif(NOT TKVALID) - endforeach(tk_config_file ${TKCONFIG_LIST}) - if(NOT TKVALID) - set(TCLVALID 0) - RESET_TCL_VARS() - RESET_TK_VARS() - endif(NOT TKVALID) - endif(TCL_REQUIRE_TK) - endif(TCLVALID) - endif(NOT TCLVALID) - endforeach(tcl_config_file ${TCLCONFIG_LIST}) - - # If we still don't have anything by now, we may have a system without tclConfig.sh and tkConfig.sh - # Back to trying to guess values, using the TCLPATHLIST and TKPATHLIST arrays of paths. This is - # attempted ONLY if we are looking for a Tcl/Tk installation to call as a scripting engine and not - # as C libraries to build against - the autotools/TEA based Tcl/Tk world requires those files be - # present and any ExternalProject build attempting to use a Tcl/Tk installation without them would - # not succeed. - if(NOT TCLVALID AND NOT TCL_NEED_HEADERS) - set(PATHLIST "${TCLPATHLIST};${TKPATHLIST}") - list(REMOVE_DUPLICATES PATHLIST) - foreach(MAJORNUM ${TCL_POSSIBLE_MAJOR_VERSIONS}) - foreach(MINORNUM ${TCL_POSSIBLE_MINOR_VERSIONS}) - foreach(SPATH ${PATHLIST}) - if(NOT TCLVALID) - RESET_TCL_VARS() - set(CURRENT_SEARCH_VERSION "${MAJORNUM}.${MINORNUM}") - VALIDATE_VERSION(dosearch ${CURRENT_SEARCH_VERSION}) - if(dosearch) - FIND_LIBRARY_PATHS(TCL_LIBRARY_SEARCH_PATHS SPATH ${MAJORNUM} ${MINORNUM}) - FIND_PROGRAM_PATHS(TCL_PROGRAM_SEARCH_PATHS SPATH ${MAJORNUM} ${MINORNUM}) - find_program(TCL_TCLSH_EXECUTABLE NAMES tclsh${MAJORNUM}.${MINORNUM} tclsh${MAJORNUM}${MINORNUM} PATHS ${TCL_PROGRAM_SEARCH_PATHS} NO_SYSTEM_PATH) - endif(dosearch) - VALIDATE_TCL(TCLVALID) - if(TCLVALID) - if(TCL_REQUIRE_TK) - set(TKVALID 0) - RESET_TK_VARS() - find_program(TCL_WISH_EXECUTABLE NAMES wish${MAJORNUM}.${MINORNUM} wish${MAJORNUM}${MINORNUM} PATHS ${TCL_PROGRAM_SEARCH_PATHS} NO_SYSTEM_PATH) - VALIDATE_TK(TKVALID) - if(NOT TKVALID) - set(TCLVALID 0) - RESET_TCL_VARS() - RESET_TK_VARS() - endif(NOT TKVALID) - endif(TCL_REQUIRE_TK) - else(TCLVALID) - RESET_TCL_VARS() - endif(TCLVALID) - endif(NOT TCLVALID) - endforeach(SPATH ${PATHLIST}) - endforeach() - endforeach() - endif(NOT TCLVALID AND NOT TCL_NEED_HEADERS) - - # By this point we have found everything we're going to find - set variables to be exposed as results - set(TCL_TCLSH ${TCL_TCLSH_EXECUTABLE}) - set(TK_WISH ${TCL_WISH_EXECUTABLE}) - set(TK_LIBRARY ${TCL_TK_LIBRARY}) # Deprecated - set(TK_STUB_LIBRARY ${TCL_TK_STUB_LIBRARY}) - set(TCL_INCLUDE_DIRS ${TCL_INCLUDE_PATH} ${TK_INCLUDE_PATH}) - set(TCL_LIBRARIES ${TCL_LIBRARY} ${TK_LIBRARY}) - set(TCL_STUB_LIBRARIES ${TCL_STUB_LIBRARY} ${TK_STUB_LIBRARY}) - set(TCL_ROOT_PATH ${TCL_CONF_PREFIX}) - set(TCL_VERSION_STRING "${TCL_VERSION_MAJOR}.${TCL_VERSION_MINOR}.${TCL_VERSION_PATCH}") - FIND_PACKAGE_HANDLE_STANDARD_ARGS(TCL DEFAULT_MSG TCL_LIBRARY ${PACKAGE_HANDLE_VARS}) - if(TCL_REQUIRE_TK) - set(TK_FIND_QUIETLY ${TCL_FIND_QUIETLY}) - set(PACKAGE_HANDLE_VARS "${PACKAGE_HANDLE_VARS};TCL_LIBRARY") - FIND_PACKAGE_HANDLE_STANDARD_ARGS(TK DEFAULT_MSG TCL_TK_LIBRARY ${PACKAGE_HANDLE_VARS}) - endif(TCL_REQUIRE_TK) - - foreach(pkgvar ${PACKAGE_HANDLE_VARS}) - set(${pkgvar} ${${pkgvar}} CACHE STRING "set by FindTCL" FORCE) - endforeach(pkgvar ${PACKAGE_HANDLE_VARS}) - - endif(NOT TCL_FOUND) - - mark_as_advanced( - TCL_INCLUDE_DIRS - TCL_INCLUDE_PATH - TK_INCLUDE_PATH - TCL_LIBRARIES - TCL_LIBRARY - TCL_TK_LIBRARY - TK_LIBRARY - TCL_STUB_LIBRARIES - TCL_STUB_LIBRARY - TCL_TK_STUB_LIBRARY - TK_STUB_LIBRARY - TCL_TCLSH_EXECUTABLE - TCL_TCLSH - TCL_WISH_EXECUTABLE - TK_WISH - TCL_CONF_PREFIX - TCL_TK_CONF_PREFIX - ) - - # Other variables to hide - mark_as_advanced( - TCL_CURRENTPATH - TCL_MIN_VERSION - TCL_MAX_VERSION - TCL_NEED_HEADERS - TCL_NEED_STUB_LIBS - TCL_PATH_NOMATCH_PATTERNS - TCL_REQUIRE_THREADS - TCL_REQUIRE_TK - TCL_USE_FRAMEWORK_ONLY - TK_NATIVE_GRAPHICS - TK_X11_GRAPHICS - conffile - USE_TCL_STUBS - USE_TK_STUBS - ) - - - # Local Variables: - # tab-width: 8 - # mode: cmake - # indent-tabs-mode: t - # End: - # ex: shiftwidth=2 tabstop=8 diff --git a/src/other/togl/CMake/test_srcs/ctypes_test.c b/src/other/togl/CMake/test_srcs/ctypes_test.c deleted file mode 100644 index ff512eb8365..00000000000 --- a/src/other/togl/CMake/test_srcs/ctypes_test.c +++ /dev/null @@ -1,24 +0,0 @@ -#include -#include -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; - return 0; -} diff --git a/src/other/togl/CMakeLists.txt b/src/other/togl/CMakeLists.txt deleted file mode 100644 index 602f4831b80..00000000000 --- a/src/other/togl/CMakeLists.txt +++ /dev/null @@ -1,78 +0,0 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.8) -IF(COMMAND CMAKE_POLICY) - CMAKE_POLICY(SET CMP0003 NEW) -ENDIF(COMMAND CMAKE_POLICY) - -PROJECT(TOGL) - -SET(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH};${TOGL_SOURCE_DIR}/CMake") - -find_package(X11) -find_package(GL) -find_package(TCL) - -IF(NOT LIB_DIR) - SET(LIB_DIR lib) -ENDIF(NOT LIB_DIR) - -# If we have only a target and not a full working exec, it's up to -# a parent CMake system to define TK_SYSTEM_GRAPHICS -IF(NOT TARGET ${TCL_WISH_EXECUTABLE}) - IF(NOT TK_GRAPHICS_SYSTEM) - TK_GRAPHICS_SYSTEM(${TCL_WISH_EXECUTABLE} TK_SYSTEM_GRAPHICS) - ENDIF(NOT TK_GRAPHICS_SYSTEM) -ENDIF(NOT TARGET ${TCL_WISH_EXECUTABLE}) -IF(TK_SYSTEM_GRAPHICS MATCHES "x11") - SET(TOGL_WINDOWINGSYSTEM "TOGL_X11") - IF(APPLE) - add_definitions(-DGLEW_APPLE_GLX) - ENDIF(APPLE) -ENDIF(TK_SYSTEM_GRAPHICS MATCHES "x11") -IF(TK_SYSTEM_GRAPHICS MATCHES "aqua") - SET(TOGL_WINDOWINGSYSTEM "TOGL_AGL") -ENDIF(TK_SYSTEM_GRAPHICS MATCHES "aqua") -IF(TK_SYSTEM_GRAPHICS MATCHES "win32") - SET(TOGL_WINDOWINGSYSTEM "TOGL_WGL") -ENDIF(TK_SYSTEM_GRAPHICS MATCHES "win32") -# If we can't run Tk for whatever reason, do a -# best guess -IF(NOT TK_SYSTEM_GRAPHICS) - IF(WIN32) - SET(TOGL_WINDOWINGSYSTEM "TOGL_WGL") - ELSE(WIN32) - SET(TOGL_WINDOWINGSYSTEM "TOGL_X11") - ENDIF(WIN32) -ENDIF(NOT TK_SYSTEM_GRAPHICS) - -# System checks -INCLUDE(CheckFunctions) -CMAKE_HEADER_STDC() -CHECK_INCLUDE_FILE(sys/types.h HAVE_SYS_TYPES_H) -CHECK_INCLUDE_FILE(sys/stat.h HAVE_SYS_STAT_H) -CHECK_INCLUDE_FILE(stdlib.h HAVE_STDLIB_H) -CHECK_INCLUDE_FILE(memory.h HAVE_MEMORY_H) -CHECK_INCLUDE_FILE(string.h HAVE_STRING_H) -CHECK_INCLUDE_FILE(strings.h HAVE_STRINGS_H) -CHECK_INCLUDE_FILE(inttypes.h HAVE_INTTYPES_H) -CHECK_INCLUDE_FILE(stdint.h HAVE_STDINT_H) -CHECK_INCLUDE_FILE(stddef.h HAVE_STDDEF_H) -CHECK_INCLUDE_FILE(unistd.h HAVE_UNISTD_H) -CHECK_INCLUDE_FILE(limits.h HAVE_LIMITS_H) -CHECK_INCLUDE_FILE(sys/param.h HAVE_SYS_PARAM_H) - -OPTION(USE_TCL_STUBS "Use Tcl Stubs" ON) -OPTION(USE_TK_STUBS "Use Tk Stubs" ON) - -#TODO -#cmakedefine _LARGEFILE64_SOURCE -#cmakedefine TCL_WIDE_INT_IS_LONG - -configure_file(${CMAKE_CURRENT_SOURCE_DIR}/include/togl_config.h.in ${CMAKE_CURRENT_BINARY_DIR}/include/togl_config.h) -configure_file(${CMAKE_CURRENT_SOURCE_DIR}/include/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/include/config.h) - -SET(TOGL_PKGNAME Togl) -SET(TOGL_PKGVERSION "2.1") - -ADD_SUBDIRECTORY(include) -ADD_SUBDIRECTORY(src) -ADD_SUBDIRECTORY(demo) diff --git a/src/other/togl/LICENSE b/src/other/togl/LICENSE deleted file mode 100644 index a40bd5cd39b..00000000000 --- a/src/other/togl/LICENSE +++ /dev/null @@ -1,28 +0,0 @@ -This software is copyrighted by Brian Paul (brian@mesa3d.org), -Benjamin Bederson (bederson@cs.umd.edu), and Greg Couch -(gregcouch@users.sourceforge.net). The following terms apply to all -files associated with the software unless explicitly disclaimed in -individual files. - -The authors hereby grant permission to use, copy, modify, distribute, -and license this software and its documentation for any purpose, provided -that existing copyright notices are retained in all copies and that this -notice is included verbatim in any distributions. No written agreement, -license, or royalty fee is required for any of the authorized uses. -Modifications to this software may be copyrighted by their authors -and need not follow the licensing terms described here, provided that -the new terms are clearly indicated on the first page of each file where -they apply. - -IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY -FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES -ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY -DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. - -THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, -INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE -IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE -NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR -MODIFICATIONS. diff --git a/src/other/togl/README b/src/other/togl/README deleted file mode 100644 index 7a4ed83ed00..00000000000 --- a/src/other/togl/README +++ /dev/null @@ -1,29 +0,0 @@ -This is a fork of the Togl codebase - eventual goal is to use the -abstracting logic of glfw and glew (glfw assumes toplevel windows, so -it cannot be simply used outright.) - - -*** Original contents of README.stubs *** - -This version of Togl is entirely free from -dependencies on Tcl/Tk's internal functions. It uses the public stubs -interface, witch means that the same binary works with any stubs-aware -wish (i.e. version >= 8.1) - -It has been tested on Windows NT/2000 and Linux for several Tcl/Tk versions up -to 8.4a3. I haven't been able to test the Mac port, it propably needs mending -but I can't see why it shouldn't work in principle. - -Implementation wise, what differs from Togl 1.5 is that Togl_MakeWindowExist() -is replaced by Togl_CreateWindow(), a function that gets registered in Tk as a -callback for window creation. In Tk/Tk 8.4a3, there is a new public API call -Tk_SetClassProcs() to register this callback, but for earlier versions of Tk -one needs to do this using some pointer magic. -There is a run-time check to determine which method to use, hence the -same binary runs on all versions of Wish from 8.1 and up. For this to -work you need to compile against the headers from Tcl/Tk 8.4a3 or later, or -the binary will only work for Tcl/Tk 8.1-8.4a2. -The tk8.4a3 public headers (tk8.4a3.h + tkDecls.h) are included for -conveniance, and they are used if the flag -DUSE_LOCAL_TK_H is specified. - -Jonas Beskow, December 2001 diff --git a/src/other/togl/configure b/src/other/togl/configure deleted file mode 100755 index 9f4cdf30cca..00000000000 --- a/src/other/togl/configure +++ /dev/null @@ -1,10187 +0,0 @@ -#! /bin/sh -# Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.65 for Togl 2.1. -# -# -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# -# -# This configure script is free software; the Free Software Foundation -# gives unlimited permission to copy, distribute and modify it. -## -------------------- ## -## M4sh Initialization. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; -esac -fi - - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in #(( - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break - done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -if test "x$CONFIG_SHELL" = x; then - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which - # is contrary to our usage. Disable this feature. - alias -g '\${1+\"\$@\"}'='\"\$@\"' - setopt NO_GLOB_SUBST -else - case \`(set -o) 2>/dev/null\` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; -esac -fi -" - as_required="as_fn_return () { (exit \$1); } -as_fn_success () { as_fn_return 0; } -as_fn_failure () { as_fn_return 1; } -as_fn_ret_success () { return 0; } -as_fn_ret_failure () { return 1; } - -exitcode=0 -as_fn_success || { exitcode=1; echo as_fn_success failed.; } -as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } -as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } -as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } -if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : - -else - exitcode=1; echo positional parameters were not saved. -fi -test x\$exitcode = x0 || exit 1" - as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO - as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO - eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && - test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 -test \$(( 1 + 1 )) = 2 || exit 1" - if (eval "$as_required") 2>/dev/null; then : - as_have_required=yes -else - as_have_required=no -fi - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : - -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -as_found=false -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - as_found=: - case $as_dir in #( - /*) - for as_base in sh bash ksh sh5; do - # Try only shells that exist, to save several forks. - as_shell=$as_dir/$as_base - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : - CONFIG_SHELL=$as_shell as_have_required=yes - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : - break 2 -fi -fi - done;; - esac - as_found=false -done -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : - CONFIG_SHELL=$SHELL as_have_required=yes -fi; } -IFS=$as_save_IFS - - - if test "x$CONFIG_SHELL" != x; then : - # We cannot yet assume a decent shell, so we have to provide a - # neutralization value for shells without unset; and this also - # works around shells that cannot unset nonexistent variables. - BASH_ENV=/dev/null - ENV=/dev/null - (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} -fi - - if test x$as_have_required = xno; then : - $as_echo "$0: This script requires a shell more modern than all" - $as_echo "$0: the shells that I found on your system." - if test x${ZSH_VERSION+set} = xset ; then - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" - $as_echo "$0: be upgraded to zsh 4.3.4 or later." - else - $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, -$0: including any error possibly output before this -$0: message. Then install a modern shell, or manually run -$0: the script under such a shell if you do have one." - fi - exit 1 -fi -fi -fi -SHELL=${CONFIG_SHELL-/bin/sh} -export SHELL -# Unset more variables known to interfere with behavior of common tools. -CLICOLOR_FORCE= GREP_OPTIONS= -unset CLICOLOR_FORCE GREP_OPTIONS - -## --------------------- ## -## M4sh Shell Functions. ## -## --------------------- ## -# as_fn_unset VAR -# --------------- -# Portably unset VAR. -as_fn_unset () -{ - { eval $1=; unset $1;} -} -as_unset=as_fn_unset - -# as_fn_set_status STATUS -# ----------------------- -# Set $? to STATUS, without forking. -as_fn_set_status () -{ - return $1 -} # as_fn_set_status - -# as_fn_exit STATUS -# ----------------- -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -as_fn_exit () -{ - set +e - as_fn_set_status $1 - exit $1 -} # as_fn_exit - -# as_fn_mkdir_p -# ------------- -# Create "$as_dir" as a directory, including parents if necessary. -as_fn_mkdir_p () -{ - - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || eval $as_mkdir_p || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" - - -} # as_fn_mkdir_p -# as_fn_append VAR VALUE -# ---------------------- -# Append the text in VALUE to the end of the definition contained in VAR. Take -# advantage of any shell optimizations that allow amortized linear growth over -# repeated appends, instead of the typical quadratic growth present in naive -# implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : - eval 'as_fn_append () - { - eval $1+=\$2 - }' -else - as_fn_append () - { - eval $1=\$$1\$2 - } -fi # as_fn_append - -# as_fn_arith ARG... -# ------------------ -# Perform arithmetic evaluation on the ARGs, and store the result in the -# global $as_val. Take advantage of shells that can avoid forks. The arguments -# must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : - eval 'as_fn_arith () - { - as_val=$(( $* )) - }' -else - as_fn_arith () - { - as_val=`expr "$@" || test $? -eq 1` - } -fi # as_fn_arith - - -# as_fn_error ERROR [LINENO LOG_FD] -# --------------------------------- -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -# script with status $?, using 1 if that was 0. -as_fn_error () -{ - as_status=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 - fi - $as_echo "$as_me: error: $1" >&2 - as_fn_exit $as_status -} # as_fn_error - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - - - as_lineno_1=$LINENO as_lineno_1a=$LINENO - as_lineno_2=$LINENO as_lineno_2a=$LINENO - eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && - test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { - # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in #((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - ECHO_N='-n';; -esac - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p='mkdir -p "$as_dir"' -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -test -n "$DJDIR" || exec 7<&0 &1 - -# Name of the host. -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, -# so uname gets run too. -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` - -# -# Initializations. -# -ac_default_prefix=/usr/local -ac_clean_files= -ac_config_libobj_dir=. -LIBOBJS= -cross_compiling=no -subdirs= -MFLAGS= -MAKEFLAGS= - -# Identity of this package. -PACKAGE_NAME='Togl' -PACKAGE_TARNAME='togl' -PACKAGE_VERSION='2.1' -PACKAGE_STRING='Togl 2.1' -PACKAGE_BUGREPORT='' -PACKAGE_URL='' - -# Factoring default headers for most tests. -ac_includes_default="\ -#include -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_STAT_H -# include -#endif -#ifdef STDC_HEADERS -# include -# include -#else -# ifdef HAVE_STDLIB_H -# include -# endif -#endif -#ifdef HAVE_STRING_H -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -# include -# endif -# include -#endif -#ifdef HAVE_STRINGS_H -# include -#endif -#ifdef HAVE_INTTYPES_H -# include -#endif -#ifdef HAVE_STDINT_H -# include -#endif -#ifdef HAVE_UNISTD_H -# include -#endif" - -ac_subst_vars='LTLIBOBJS -TCLSH_PROG -RANLIB_STUB -MAKE_STUB_LIB -MAKE_STATIC_LIB -MAKE_SHARED_LIB -MAKE_LIB -TCL_DBGX -LDFLAGS_DEFAULT -CFLAGS_DEFAULT -SHLIB_SUFFIX -LD_LIBRARY_PATH_VAR -SHLIB_CFLAGS -SHLIB_LD_LIBS -SHLIB_LD -STLIB_LD -CFLAGS_WARNING -CFLAGS_OPTIMIZE -CFLAGS_DEBUG -DL_LIBS -LIBOBJS -CELIB_DIR -AR -SHARED_BUILD -TCL_THREADS -TEA_WINDOWINGSYSTEM -LIBGLU -TOGL_WINDOWINGSYSTEM -AUTOSTEREOD -XMKMF -TK_XLIB_DIR_NATIVE -TK_TOP_DIR_NATIVE -TK_INCLUDES -TCL_TOP_DIR_NATIVE -TCL_INCLUDES -CLEANFILES -PKG_OBJECTS -PKG_SOURCES -MATH_LIBS -EGREP -GREP -RANLIB -SET_MAKE -INSTALL_DATA -INSTALL_SCRIPT -INSTALL_PROGRAM -CPP -OBJEXT -ac_ct_CC -CPPFLAGS -LDFLAGS -CFLAGS -CC -TK_XINCLUDES -TK_LIBS -TK_STUB_LIB_SPEC -TK_STUB_LIB_FLAG -TK_STUB_LIB_FILE -TK_LIB_SPEC -TK_LIB_FLAG -TK_LIB_FILE -TK_SRC_DIR -TK_BIN_DIR -TK_VERSION -TCL_SHLIB_LD_LIBS -TCL_LD_FLAGS -TCL_EXTRA_CFLAGS -TCL_DEFS -TCL_LIBS -TCL_STUB_LIB_SPEC -TCL_STUB_LIB_FLAG -TCL_STUB_LIB_FILE -TCL_LIB_SPEC -TCL_LIB_FLAG -TCL_LIB_FILE -TCL_SRC_DIR -TCL_BIN_DIR -TCL_VERSION -PKG_CFLAGS -PKG_LIBS -PKG_INCLUDES -PKG_HEADERS -PKG_TCL_SOURCES -PKG_STUB_OBJECTS -PKG_STUB_SOURCES -PKG_STUB_LIB_FILE -PKG_LIB_FILE -EXEEXT -CYGPATH -target_alias -host_alias -build_alias -LIBS -ECHO_T -ECHO_N -ECHO_C -DEFS -mandir -localedir -libdir -psdir -pdfdir -dvidir -htmldir -infodir -docdir -oldincludedir -includedir -localstatedir -sharedstatedir -sysconfdir -datadir -datarootdir -libexecdir -sbindir -bindir -program_transform_name -prefix -exec_prefix -PACKAGE_URL -PACKAGE_BUGREPORT -PACKAGE_STRING -PACKAGE_VERSION -PACKAGE_TARNAME -PACKAGE_NAME -PATH_SEPARATOR -SHELL' -ac_subst_files='' -ac_user_opts=' -enable_option_checking -with_tcl -with_tk -enable_stubs -with_tclinclude -with_tkinclude -with_x -with_autostereo -with_autostereod -with_Xmu -enable_threads -enable_shared -enable_64bit -enable_64bit_vis -enable_rpath -enable_wince -with_celib -enable_load -enable_symbols -' - ac_precious_vars='build_alias -host_alias -target_alias -CC -CFLAGS -LDFLAGS -LIBS -CPPFLAGS -CPP -XMKMF -AUTOSTEREOD' - - -# Initialize some variables set by options. -ac_init_help= -ac_init_version=false -ac_unrecognized_opts= -ac_unrecognized_sep= -# The variables have the same names as the options, with -# dashes changed to underlines. -cache_file=/dev/null -exec_prefix=NONE -no_create= -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -verbose= -x_includes=NONE -x_libraries=NONE - -# Installation directory options. -# These are left unexpanded so users can "make install exec_prefix=/foo" -# and all the variables that are supposed to be based on exec_prefix -# by default will actually change. -# Use braces instead of parens because sh, perl, etc. also accept them. -# (The list follows the same order as the GNU Coding Standards.) -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datarootdir='${prefix}/share' -datadir='${datarootdir}' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -includedir='${prefix}/include' -oldincludedir='/usr/include' -docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' -infodir='${datarootdir}/info' -htmldir='${docdir}' -dvidir='${docdir}' -pdfdir='${docdir}' -psdir='${docdir}' -libdir='${exec_prefix}/lib' -localedir='${datarootdir}/locale' -mandir='${datarootdir}/man' - -ac_prev= -ac_dashdash= -for ac_option -do - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval $ac_prev=\$ac_option - ac_prev= - continue - fi - - case $ac_option in - *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; - *) ac_optarg=yes ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case $ac_dashdash$ac_option in - --) - ac_dashdash=yes ;; - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir=$ac_optarg ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build_alias ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build_alias=$ac_optarg ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file=$ac_optarg ;; - - --config-cache | -C) - cache_file=config.cache ;; - - -datadir | --datadir | --datadi | --datad) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=*) - datadir=$ac_optarg ;; - - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ - | --dataroo | --dataro | --datar) - ac_prev=datarootdir ;; - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) - datarootdir=$ac_optarg ;; - - -disable-* | --disable-*) - ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid feature name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=no ;; - - -docdir | --docdir | --docdi | --doc | --do) - ac_prev=docdir ;; - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) - docdir=$ac_optarg ;; - - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) - ac_prev=dvidir ;; - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) - dvidir=$ac_optarg ;; - - -enable-* | --enable-*) - ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid feature name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=\$ac_optarg ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix=$ac_optarg ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he | -h) - ac_init_help=long ;; - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) - ac_init_help=recursive ;; - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) - ac_init_help=short ;; - - -host | --host | --hos | --ho) - ac_prev=host_alias ;; - -host=* | --host=* | --hos=* | --ho=*) - host_alias=$ac_optarg ;; - - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) - ac_prev=htmldir ;; - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ - | --ht=*) - htmldir=$ac_optarg ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir=$ac_optarg ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir=$ac_optarg ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir=$ac_optarg ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir=$ac_optarg ;; - - -localedir | --localedir | --localedi | --localed | --locale) - ac_prev=localedir ;; - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) - localedir=$ac_optarg ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst | --locals) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) - localstatedir=$ac_optarg ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir=$ac_optarg ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir=$ac_optarg ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=$ac_optarg ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix=$ac_optarg ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix=$ac_optarg ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name=$ac_optarg ;; - - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) - ac_prev=pdfdir ;; - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) - pdfdir=$ac_optarg ;; - - -psdir | --psdir | --psdi | --psd | --ps) - ac_prev=psdir ;; - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) - psdir=$ac_optarg ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir=$ac_optarg ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir=$ac_optarg ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site=$ac_optarg ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=$ac_optarg ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir=$ac_optarg ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target_alias ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target_alias=$ac_optarg ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=: ;; - - -with-* | --with-*) - ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid package name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=\$ac_optarg ;; - - -without-* | --without-*) - ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error "invalid package name: $ac_useropt" - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=no ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes=$ac_optarg ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries=$ac_optarg ;; - - -*) as_fn_error "unrecognized option: \`$ac_option' -Try \`$0 --help' for more information." - ;; - - *=*) - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` - # Reject names that are not valid shell variable names. - case $ac_envvar in #( - '' | [0-9]* | *[!_$as_cr_alnum]* ) - as_fn_error "invalid variable name: \`$ac_envvar'" ;; - esac - eval $ac_envvar=\$ac_optarg - export $ac_envvar ;; - - *) - # FIXME: should be removed in autoconf 3.0. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} - ;; - - esac -done - -if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` - as_fn_error "missing argument to $ac_option" -fi - -if test -n "$ac_unrecognized_opts"; then - case $enable_option_checking in - no) ;; - fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; - esac -fi - -# Check all directory arguments for consistency. -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ - datadir sysconfdir sharedstatedir localstatedir includedir \ - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir -do - eval ac_val=\$$ac_var - # Remove trailing slashes. - case $ac_val in - */ ) - ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` - eval $ac_var=\$ac_val;; - esac - # Be sure to have absolute directory names. - case $ac_val in - [\\/$]* | ?:[\\/]* ) continue;; - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; - esac - as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" -done - -# There might be people who depend on the old broken behavior: `$host' -# used to hold the argument of --host etc. -# FIXME: To remove some day. -build=$build_alias -host=$host_alias -target=$target_alias - -# FIXME: To remove some day. -if test "x$host_alias" != x; then - if test "x$build_alias" = x; then - cross_compiling=maybe - $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used." >&2 - elif test "x$build_alias" != "x$host_alias"; then - cross_compiling=yes - fi -fi - -ac_tool_prefix= -test -n "$host_alias" && ac_tool_prefix=$host_alias- - -test "$silent" = yes && exec 6>/dev/null - - -ac_pwd=`pwd` && test -n "$ac_pwd" && -ac_ls_di=`ls -di .` && -ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || - as_fn_error "working directory cannot be determined" -test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - as_fn_error "pwd does not report name of working directory" - - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then the parent directory. - ac_confdir=`$as_dirname -- "$as_myself" || -$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_myself" : 'X\(//\)[^/]' \| \ - X"$as_myself" : 'X\(//\)$' \| \ - X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_myself" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - srcdir=$ac_confdir - if test ! -r "$srcdir/$ac_unique_file"; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -fi -if test ! -r "$srcdir/$ac_unique_file"; then - test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." - as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" -fi -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" -ac_abs_confdir=`( - cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" - pwd)` -# When building in place, set srcdir=. -if test "$ac_abs_confdir" = "$ac_pwd"; then - srcdir=. -fi -# Remove unnecessary trailing slashes from srcdir. -# Double slashes in file names in object file debugging info -# mess up M-x gdb in Emacs. -case $srcdir in -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; -esac -for ac_var in $ac_precious_vars; do - eval ac_env_${ac_var}_set=\${${ac_var}+set} - eval ac_env_${ac_var}_value=\$${ac_var} - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} - eval ac_cv_env_${ac_var}_value=\$${ac_var} -done - -# -# Report the --help message. -# -if test "$ac_init_help" = "long"; then - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat <<_ACEOF -\`configure' configures Togl 2.1 to adapt to many kinds of systems. - -Usage: $0 [OPTION]... [VAR=VALUE]... - -To assign environment variables (e.g., CC, CFLAGS...), specify them as -VAR=VALUE. See below for descriptions of some of the useful variables. - -Defaults for the options are specified in brackets. - -Configuration: - -h, --help display this help and exit - --help=short display options specific to this package - --help=recursive display the short help of all the included packages - -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking...' messages - --cache-file=FILE cache test results in FILE [disabled] - -C, --config-cache alias for \`--cache-file=config.cache' - -n, --no-create do not create output files - --srcdir=DIR find the sources in DIR [configure dir or \`..'] - -Installation directories: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [PREFIX] - -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. - -For better control, use the options below. - -Fine tuning of the installation directories: - --bindir=DIR user executables [EPREFIX/bin] - --sbindir=DIR system admin executables [EPREFIX/sbin] - --libexecdir=DIR program executables [EPREFIX/libexec] - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] - --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --libdir=DIR object code libraries [EPREFIX/lib] - --includedir=DIR C header files [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc [/usr/include] - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] - --datadir=DIR read-only architecture-independent data [DATAROOTDIR] - --infodir=DIR info documentation [DATAROOTDIR/info] - --localedir=DIR locale-dependent data [DATAROOTDIR/locale] - --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root [DATAROOTDIR/doc/togl] - --htmldir=DIR html documentation [DOCDIR] - --dvidir=DIR dvi documentation [DOCDIR] - --pdfdir=DIR pdf documentation [DOCDIR] - --psdir=DIR ps documentation [DOCDIR] -_ACEOF - - cat <<\_ACEOF - -X features: - --x-includes=DIR X include files are in DIR - --x-libraries=DIR X library files are in DIR -_ACEOF -fi - -if test -n "$ac_init_help"; then - case $ac_init_help in - short | recursive ) echo "Configuration of Togl 2.1:";; - esac - cat <<\_ACEOF - -Optional Features: - --disable-option-checking ignore unrecognized --enable/--with options - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --enable-stubs build and link with stub libraries (--enable-stubs) - --enable-threads build with threads - --enable-shared build and link with shared libraries (default: on) - --enable-64bit enable 64bit support (default: off) - --enable-64bit-vis enable 64bit Sparc VIS support (default: off) - --disable-rpath disable rpath support (default: on) - --enable-wince enable Win/CE support (where applicable) - --enable-load allow dynamic loading and "load" command (default: - on) - --enable-symbols build with debugging symbols (default: off) - -Optional Packages: - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --with-tcl directory containing tcl configuration - (tclConfig.sh) - --with-tk directory containing tk configuration (tkConfig.sh) - --with-tclinclude directory containing the public Tcl header files - --with-tkinclude directory containing the public Tk header files - --with-x use the X Window System - --with-autostereo directory with autostereo source (for SGI) - --with-autostereod path to autostereod daemon (for SGI) - --with-Xmu use system's shared Xmu library - --with-celib=DIR use Windows/CE support library from DIR - -Some influential environment variables: - CC C compiler command - CFLAGS C compiler flags - LDFLAGS linker flags, e.g. -L if you have libraries in a - nonstandard directory - LIBS libraries to pass to the linker, e.g. -l - CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if - you have headers in a nonstandard directory - CPP C preprocessor - XMKMF Path to xmkmf, Makefile generator for X Window System - AUTOSTEREOD Path to autostereod for SGI IRIX computers - -Use these variables to override the choices made by `configure' or to help -it to find libraries and programs with nonstandard names/locations. - -Report bugs to the package provider. -_ACEOF -ac_status=$? -fi - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d "$ac_dir" || - { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || - continue - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - cd "$ac_dir" || { ac_status=$?; continue; } - # Check for guested configure. - if test -f "$ac_srcdir/configure.gnu"; then - echo && - $SHELL "$ac_srcdir/configure.gnu" --help=recursive - elif test -f "$ac_srcdir/configure"; then - echo && - $SHELL "$ac_srcdir/configure" --help=recursive - else - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi || ac_status=$? - cd "$ac_pwd" || { ac_status=$?; break; } - done -fi - -test -n "$ac_init_help" && exit $ac_status -if $ac_init_version; then - cat <<\_ACEOF -Togl configure 2.1 -generated by GNU Autoconf 2.65 - -Copyright (C) 2009 Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. -_ACEOF - exit -fi - -## ------------------------ ## -## Autoconf initialization. ## -## ------------------------ ## - -# ac_fn_c_try_compile LINENO -# -------------------------- -# Try to compile conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext - if { { ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compile") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} # ac_fn_c_try_compile - -# ac_fn_c_try_cpp LINENO -# ---------------------- -# Try to preprocess conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_cpp () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} # ac_fn_c_try_cpp - -# ac_fn_c_try_run LINENO -# ---------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes -# that executables *can* be run. -ac_fn_c_try_run () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then : - ac_retval=0 -else - $as_echo "$as_me: program exited with status $ac_status" >&5 - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=$ac_status -fi - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} # ac_fn_c_try_run - -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} # ac_fn_c_check_header_compile - -# ac_fn_c_try_link LINENO -# ----------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_link () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext conftest$ac_exeext - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information - # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would - # interfere with the next link command; also delete a directory that is - # left behind by Apple's compiler. We do this before executing the actions. - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} # ac_fn_c_try_link - -# ac_fn_c_check_func LINENO FUNC VAR -# ---------------------------------- -# Tests whether FUNC exists, setting the cache variable VAR accordingly -ac_fn_c_check_func () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -/* Define $2 to an innocuous variant, in case declares $2. - For example, HP-UX 11i declares gettimeofday. */ -#define $2 innocuous_$2 - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $2 (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $2 - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char $2 (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_$2 || defined __stub___$2 -choke me -#endif - -int -main () -{ -return $2 (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} # ac_fn_c_check_func - -# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists, giving a warning if it cannot be compiled using -# the include files in INCLUDES and setting the cache variable VAR -# accordingly. -ac_fn_c_check_header_mongrel () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 -$as_echo_n "checking $2 usability... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_header_compiler=yes -else - ac_header_compiler=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -$as_echo_n "checking $2 presence... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <$2> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - ac_header_preproc=yes -else - ac_header_preproc=no -fi -rm -f conftest.err conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( - yes:no: ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; - no:yes:* ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; -esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - eval "$3=\$ac_header_compiler" -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} # ac_fn_c_check_header_mongrel -cat >config.log <<_ACEOF -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by Togl $as_me 2.1, which was -generated by GNU Autoconf 2.65. Invocation command line was - - $ $0 $@ - -_ACEOF -exec 5>>config.log -{ -cat <<_ASUNAME -## --------- ## -## Platform. ## -## --------- ## - -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` - -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` - -_ASUNAME - -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - $as_echo "PATH: $as_dir" - done -IFS=$as_save_IFS - -} >&5 - -cat >&5 <<_ACEOF - - -## ----------- ## -## Core tests. ## -## ----------- ## - -_ACEOF - - -# Keep a trace of the command line. -# Strip out --no-create and --no-recursion so they do not pile up. -# Strip out --silent because we don't want to record it for future runs. -# Also quote any args containing shell meta-characters. -# Make two passes to allow for proper duplicate-argument suppression. -ac_configure_args= -ac_configure_args0= -ac_configure_args1= -ac_must_keep_next=false -for ac_pass in 1 2 -do - for ac_arg - do - case $ac_arg in - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - continue ;; - *\'*) - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - case $ac_pass in - 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; - 2) - as_fn_append ac_configure_args1 " '$ac_arg'" - if test $ac_must_keep_next = true; then - ac_must_keep_next=false # Got value, back to normal. - else - case $ac_arg in - *=* | --config-cache | -C | -disable-* | --disable-* \ - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ - | -with-* | --with-* | -without-* | --without-* | --x) - case "$ac_configure_args0 " in - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; - esac - ;; - -* ) ac_must_keep_next=true ;; - esac - fi - as_fn_append ac_configure_args " '$ac_arg'" - ;; - esac - done -done -{ ac_configure_args0=; unset ac_configure_args0;} -{ ac_configure_args1=; unset ac_configure_args1;} - -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. We remove comments because anyway the quotes in there -# would cause problems or look ugly. -# WARNING: Use '\'' to represent an apostrophe within the trap. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. -trap 'exit_status=$? - # Save into config.log some information that might help in debugging. - { - echo - - cat <<\_ASBOX -## ---------------- ## -## Cache variables. ## -## ---------------- ## -_ASBOX - echo - # The following way of writing the cache mishandles newlines in values, -( - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) { eval $ac_var=; unset $ac_var;} ;; - esac ;; - esac - done - (set) 2>&1 | - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - sed -n \ - "s/'\''/'\''\\\\'\'''\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" - ;; #( - *) - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) - echo - - cat <<\_ASBOX -## ----------------- ## -## Output variables. ## -## ----------------- ## -_ASBOX - echo - for ac_var in $ac_subst_vars - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - - if test -n "$ac_subst_files"; then - cat <<\_ASBOX -## ------------------- ## -## File substitutions. ## -## ------------------- ## -_ASBOX - echo - for ac_var in $ac_subst_files - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - fi - - if test -s confdefs.h; then - cat <<\_ASBOX -## ----------- ## -## confdefs.h. ## -## ----------- ## -_ASBOX - echo - cat confdefs.h - echo - fi - test "$ac_signal" != 0 && - $as_echo "$as_me: caught signal $ac_signal" - $as_echo "$as_me: exit $exit_status" - } >&5 - rm -f core *.core core.conftest.* && - rm -f -r conftest* confdefs* conf$$* $ac_clean_files && - exit $exit_status -' 0 -for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal -done -ac_signal=0 - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -f -r conftest* confdefs.h - -$as_echo "/* confdefs.h */" > confdefs.h - -# Predefined preprocessor variables. - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_URL "$PACKAGE_URL" -_ACEOF - - -# Let the site file select an alternate cache file if it wants to. -# Prefer an explicitly selected file to automatically selected ones. -ac_site_file1=NONE -ac_site_file2=NONE -if test -n "$CONFIG_SITE"; then - ac_site_file1=$CONFIG_SITE -elif test "x$prefix" != xNONE; then - ac_site_file1=$prefix/share/config.site - ac_site_file2=$prefix/etc/config.site -else - ac_site_file1=$ac_default_prefix/share/config.site - ac_site_file2=$ac_default_prefix/etc/config.site -fi -for ac_site_file in "$ac_site_file1" "$ac_site_file2" -do - test "x$ac_site_file" = xNONE && continue - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 -$as_echo "$as_me: loading site script $ac_site_file" >&6;} - sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" - fi -done - -if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special files - # actually), so we avoid doing that. DJGPP emulates it as a regular file. - if test /dev/null != "$cache_file" && test -f "$cache_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -$as_echo "$as_me: loading cache $cache_file" >&6;} - case $cache_file in - [\\/]* | ?:[\\/]* ) . "$cache_file";; - *) . "./$cache_file";; - esac - fi -else - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -$as_echo "$as_me: creating cache $cache_file" >&6;} - >$cache_file -fi - -# Check that the precious variables saved in the cache have kept the same -# value. -ac_cache_corrupted=false -for ac_var in $ac_precious_vars; do - eval ac_old_set=\$ac_cv_env_${ac_var}_set - eval ac_new_set=\$ac_env_${ac_var}_set - eval ac_old_val=\$ac_cv_env_${ac_var}_value - eval ac_new_val=\$ac_env_${ac_var}_value - case $ac_old_set,$ac_new_set in - set,) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,set) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,);; - *) - if test "x$ac_old_val" != "x$ac_new_val"; then - # differences in whitespace do not lead to failure. - ac_old_val_w=`echo x $ac_old_val` - ac_new_val_w=`echo x $ac_new_val` - if test "$ac_old_val_w" != "$ac_new_val_w"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - ac_cache_corrupted=: - else - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} - eval $ac_var=\$ac_old_val - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} - fi;; - esac - # Pass precious variables to config.status. - if test "$ac_new_set" = set; then - case $ac_new_val in - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; - *) ac_arg=$ac_var=$ac_new_val ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) as_fn_append ac_configure_args " '$ac_arg'" ;; - esac - fi -done -if $ac_cache_corrupted; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} - as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 -fi -## -------------------- ## -## Main body of script. ## -## -------------------- ## - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - -#-------------------------------------------------------------------- -# Call TEA_INIT as the first TEA_ macro to set up initial vars. -# This will define a ${TEA_PLATFORM} variable == "unix" or "windows" -# as well as PKG_LIB_FILE and PKG_STUB_LIB_FILE. -#-------------------------------------------------------------------- - - - # TEA extensions pass this us the version of TEA they think they - # are compatible with. - TEA_VERSION="3.7" - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct TEA configuration" >&5 -$as_echo_n "checking for correct TEA configuration... " >&6; } - if test x"${PACKAGE_NAME}" = x ; then - as_fn_error " -The PACKAGE_NAME variable must be defined by your TEA configure.in" "$LINENO" 5 - fi - if test x"3.7" = x ; then - as_fn_error " -TEA version not specified." "$LINENO" 5 - elif test "3.7" != "${TEA_VERSION}" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: requested TEA version \"3.7\", have \"${TEA_VERSION}\"" >&5 -$as_echo "warning: requested TEA version \"3.7\", have \"${TEA_VERSION}\"" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok (TEA ${TEA_VERSION})" >&5 -$as_echo "ok (TEA ${TEA_VERSION})" >&6; } - fi - case "`uname -s`" in - *win32*|*WIN32*|*CYGWIN_NT*|*CYGWIN_9*|*CYGWIN_ME*|*MINGW32_*) - # Extract the first word of "cygpath", so it can be a program name with args. -set dummy cygpath; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CYGPATH+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CYGPATH"; then - ac_cv_prog_CYGPATH="$CYGPATH" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CYGPATH="cygpath -w" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - test -z "$ac_cv_prog_CYGPATH" && ac_cv_prog_CYGPATH="echo" -fi -fi -CYGPATH=$ac_cv_prog_CYGPATH -if test -n "$CYGPATH"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CYGPATH" >&5 -$as_echo "$CYGPATH" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - EXEEXT=".exe" - TEA_PLATFORM="windows" - ;; - *) - CYGPATH=echo - EXEEXT="" - TEA_PLATFORM="unix" - ;; - esac - - # Check if exec_prefix is set. If not use fall back to prefix. - # Note when adjusted, so that TEA_PREFIX can correct for this. - # This is needed for recursive configures, since autoconf propagates - # $prefix, but not $exec_prefix (doh!). - if test x$exec_prefix = xNONE ; then - exec_prefix_default=yes - exec_prefix=$prefix - fi - - - - - # This package name must be replaced statically for AC_SUBST to work - - # Substitute STUB_LIB_FILE in case package creates a stub library too. - - - # We AC_SUBST these here to ensure they are subst'ed, - # in case the user doesn't call TEA_ADD_... - - - - - - - - - -ac_aux_dir= -for ac_dir in tclconfig "$srcdir"/tclconfig; do - for ac_t in install-sh install.sh shtool; do - if test -f "$ac_dir/$ac_t"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/$ac_t -c" - break 2 - fi - done -done -if test -z "$ac_aux_dir"; then - as_fn_error "cannot find install-sh, install.sh, or shtool in tclconfig \"$srcdir\"/tclconfig" "$LINENO" 5 -fi - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - - - -#-------------------------------------------------------------------- -# Load the tclConfig.sh file -#-------------------------------------------------------------------- - - - - # - # Ok, lets find the tcl configuration - # First, look for one uninstalled. - # the alternative search directory is invoked by --with-tcl - # - - if test x"${no_tcl}" = x ; then - # we reset no_tcl in case something fails here - no_tcl=true - -# Check whether --with-tcl was given. -if test "${with_tcl+set}" = set; then : - withval=$with_tcl; with_tclconfig=${withval} -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl configuration" >&5 -$as_echo_n "checking for Tcl configuration... " >&6; } - if test "${ac_cv_c_tclconfig+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - - # First check to see if --with-tcl was specified. - if test x"${with_tclconfig}" != x ; then - case ${with_tclconfig} in - */tclConfig.sh ) - if test -f ${with_tclconfig}; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-tcl argument should refer to directory containing tclConfig.sh, not to tclConfig.sh itself" >&5 -$as_echo "$as_me: WARNING: --with-tcl argument should refer to directory containing tclConfig.sh, not to tclConfig.sh itself" >&2;} - with_tclconfig=`echo ${with_tclconfig} | sed 's!/tclConfig\.sh$!!'` - fi ;; - esac - if test -f "${with_tclconfig}/tclConfig.sh" ; then - ac_cv_c_tclconfig=`(cd ${with_tclconfig}; pwd)` - else - as_fn_error "${with_tclconfig} directory doesn't contain tclConfig.sh" "$LINENO" 5 - fi - fi - - # then check for a private Tcl installation - if test x"${ac_cv_c_tclconfig}" = x ; then - for i in \ - ../tcl \ - `ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \ - `ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \ - `ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \ - ../../tcl \ - `ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \ - `ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \ - `ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \ - ../../../tcl \ - `ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \ - `ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \ - `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null` ; do - if test -f "$i/unix/tclConfig.sh" ; then - ac_cv_c_tclconfig=`(cd $i/unix; pwd)` - break - fi - done - fi - - # on Darwin, check in Framework installation locations - if test "`uname -s`" = "Darwin" -a x"${ac_cv_c_tclconfig}" = x ; then - for i in `ls -d ~/Library/Frameworks 2>/dev/null` \ - `ls -d /Library/Frameworks 2>/dev/null` \ - `ls -d /Network/Library/Frameworks 2>/dev/null` \ - `ls -d /System/Library/Frameworks 2>/dev/null` \ - ; do - if test -f "$i/Tcl.framework/tclConfig.sh" ; then - ac_cv_c_tclconfig=`(cd $i/Tcl.framework; pwd)` - break - fi - done - fi - - # TEA specific: on Windows, check in common installation locations - if test "${TEA_PLATFORM}" = "windows" \ - -a x"${ac_cv_c_tclconfig}" = x ; then - for i in `ls -d C:/Tcl/lib 2>/dev/null` \ - `ls -d C:/Progra~1/Tcl/lib 2>/dev/null` \ - ; do - if test -f "$i/tclConfig.sh" ; then - ac_cv_c_tclconfig=`(cd $i; pwd)` - break - fi - done - fi - - # check in a few common install locations - if test x"${ac_cv_c_tclconfig}" = x ; then - for i in `ls -d ${libdir} 2>/dev/null` \ - `ls -d ${exec_prefix}/lib 2>/dev/null` \ - `ls -d ${prefix}/lib 2>/dev/null` \ - `ls -d /usr/local/lib 2>/dev/null` \ - `ls -d /usr/contrib/lib 2>/dev/null` \ - `ls -d /usr/lib 2>/dev/null` \ - ; do - if test -f "$i/tclConfig.sh" ; then - ac_cv_c_tclconfig=`(cd $i; pwd)` - break - fi - done - fi - - # check in a few other private locations - if test x"${ac_cv_c_tclconfig}" = x ; then - for i in \ - ${srcdir}/../tcl \ - `ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \ - `ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \ - `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null` ; do - if test -f "$i/unix/tclConfig.sh" ; then - ac_cv_c_tclconfig=`(cd $i/unix; pwd)` - break - fi - done - fi - -fi - - - if test x"${ac_cv_c_tclconfig}" = x ; then - TCL_BIN_DIR="# no Tcl configs found" - as_fn_error "Can't find Tcl configuration definitions" "$LINENO" 5 - else - no_tcl= - TCL_BIN_DIR=${ac_cv_c_tclconfig} - { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${TCL_BIN_DIR}/tclConfig.sh" >&5 -$as_echo "found ${TCL_BIN_DIR}/tclConfig.sh" >&6; } - fi - fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for existence of ${TCL_BIN_DIR}/tclConfig.sh" >&5 -$as_echo_n "checking for existence of ${TCL_BIN_DIR}/tclConfig.sh... " >&6; } - - if test -f "${TCL_BIN_DIR}/tclConfig.sh" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: loading" >&5 -$as_echo "loading" >&6; } - . "${TCL_BIN_DIR}/tclConfig.sh" - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: could not find ${TCL_BIN_DIR}/tclConfig.sh" >&5 -$as_echo "could not find ${TCL_BIN_DIR}/tclConfig.sh" >&6; } - fi - - # eval is required to do the TCL_DBGX substitution - eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\"" - eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\"" - - # If the TCL_BIN_DIR is the build directory (not the install directory), - # then set the common variable name to the value of the build variables. - # For example, the variable TCL_LIB_SPEC will be set to the value - # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC - # instead of TCL_BUILD_LIB_SPEC since it will work with both an - # installed and uninstalled version of Tcl. - if test -f "${TCL_BIN_DIR}/Makefile" ; then - TCL_LIB_SPEC=${TCL_BUILD_LIB_SPEC} - TCL_STUB_LIB_SPEC=${TCL_BUILD_STUB_LIB_SPEC} - TCL_STUB_LIB_PATH=${TCL_BUILD_STUB_LIB_PATH} - elif test "`uname -s`" = "Darwin"; then - # If Tcl was built as a framework, attempt to use the libraries - # from the framework at the given location so that linking works - # against Tcl.framework installed in an arbitary location. - case ${TCL_DEFS} in - *TCL_FRAMEWORK*) - if test -f "${TCL_BIN_DIR}/${TCL_LIB_FILE}"; then - for i in "`cd ${TCL_BIN_DIR}; pwd`" \ - "`cd ${TCL_BIN_DIR}/../..; pwd`"; do - if test "`basename "$i"`" = "${TCL_LIB_FILE}.framework"; then - TCL_LIB_SPEC="-F`dirname "$i"` -framework ${TCL_LIB_FILE}" - break - fi - done - fi - if test -f "${TCL_BIN_DIR}/${TCL_STUB_LIB_FILE}"; then - TCL_STUB_LIB_SPEC="-L${TCL_BIN_DIR} ${TCL_STUB_LIB_FLAG}" - TCL_STUB_LIB_PATH="${TCL_BIN_DIR}/${TCL_STUB_LIB_FILE}" - fi - ;; - esac - fi - - # eval is required to do the TCL_DBGX substitution - eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\"" - eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\"" - eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\"" - eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\"" - - - - - - - - - - - - - - # TEA specific: - - - - - - - -#-------------------------------------------------------------------- -# Load the tkConfig.sh file if necessary (Tk extension) -#-------------------------------------------------------------------- - - - # - # Ok, lets find the tk configuration - # First, look for one uninstalled. - # the alternative search directory is invoked by --with-tk - # - - if test x"${no_tk}" = x ; then - # we reset no_tk in case something fails here - no_tk=true - -# Check whether --with-tk was given. -if test "${with_tk+set}" = set; then : - withval=$with_tk; with_tkconfig=${withval} -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tk configuration" >&5 -$as_echo_n "checking for Tk configuration... " >&6; } - if test "${ac_cv_c_tkconfig+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - - # First check to see if --with-tkconfig was specified. - if test x"${with_tkconfig}" != x ; then - case ${with_tkconfig} in - */tkConfig.sh ) - if test -f ${with_tkconfig}; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-tk argument should refer to directory containing tkConfig.sh, not to tkConfig.sh itself" >&5 -$as_echo "$as_me: WARNING: --with-tk argument should refer to directory containing tkConfig.sh, not to tkConfig.sh itself" >&2;} - with_tkconfig=`echo ${with_tkconfig} | sed 's!/tkConfig\.sh$!!'` - fi ;; - esac - if test -f "${with_tkconfig}/tkConfig.sh" ; then - ac_cv_c_tkconfig=`(cd ${with_tkconfig}; pwd)` - else - as_fn_error "${with_tkconfig} directory doesn't contain tkConfig.sh" "$LINENO" 5 - fi - fi - - # then check for a private Tk library - if test x"${ac_cv_c_tkconfig}" = x ; then - for i in \ - ../tk \ - `ls -dr ../tk[8-9].[0-9].[0-9]* 2>/dev/null` \ - `ls -dr ../tk[8-9].[0-9] 2>/dev/null` \ - `ls -dr ../tk[8-9].[0-9]* 2>/dev/null` \ - ../../tk \ - `ls -dr ../../tk[8-9].[0-9].[0-9]* 2>/dev/null` \ - `ls -dr ../../tk[8-9].[0-9] 2>/dev/null` \ - `ls -dr ../../tk[8-9].[0-9]* 2>/dev/null` \ - ../../../tk \ - `ls -dr ../../../tk[8-9].[0-9].[0-9]* 2>/dev/null` \ - `ls -dr ../../../tk[8-9].[0-9] 2>/dev/null` \ - `ls -dr ../../../tk[8-9].[0-9]* 2>/dev/null` ; do - if test -f "$i/unix/tkConfig.sh" ; then - ac_cv_c_tkconfig=`(cd $i/unix; pwd)` - break - fi - done - fi - - # on Darwin, check in Framework installation locations - if test "`uname -s`" = "Darwin" -a x"${ac_cv_c_tkconfig}" = x ; then - for i in `ls -d ~/Library/Frameworks 2>/dev/null` \ - `ls -d /Library/Frameworks 2>/dev/null` \ - `ls -d /Network/Library/Frameworks 2>/dev/null` \ - `ls -d /System/Library/Frameworks 2>/dev/null` \ - ; do - if test -f "$i/Tk.framework/tkConfig.sh" ; then - ac_cv_c_tkconfig=`(cd $i/Tk.framework; pwd)` - break - fi - done - fi - - # check in a few common install locations - if test x"${ac_cv_c_tkconfig}" = x ; then - for i in `ls -d ${libdir} 2>/dev/null` \ - `ls -d ${exec_prefix}/lib 2>/dev/null` \ - `ls -d ${prefix}/lib 2>/dev/null` \ - `ls -d /usr/local/lib 2>/dev/null` \ - `ls -d /usr/contrib/lib 2>/dev/null` \ - `ls -d /usr/lib 2>/dev/null` \ - ; do - if test -f "$i/tkConfig.sh" ; then - ac_cv_c_tkconfig=`(cd $i; pwd)` - break - fi - done - fi - - # TEA specific: on Windows, check in common installation locations - if test "${TEA_PLATFORM}" = "windows" \ - -a x"${ac_cv_c_tkconfig}" = x ; then - for i in `ls -d C:/Tcl/lib 2>/dev/null` \ - `ls -d C:/Progra~1/Tcl/lib 2>/dev/null` \ - ; do - if test -f "$i/tkConfig.sh" ; then - ac_cv_c_tkconfig=`(cd $i; pwd)` - break - fi - done - fi - - # check in a few other private locations - if test x"${ac_cv_c_tkconfig}" = x ; then - for i in \ - ${srcdir}/../tk \ - `ls -dr ${srcdir}/../tk[8-9].[0-9].[0-9]* 2>/dev/null` \ - `ls -dr ${srcdir}/../tk[8-9].[0-9] 2>/dev/null` \ - `ls -dr ${srcdir}/../tk[8-9].[0-9]* 2>/dev/null` ; do - if test -f "$i/unix/tkConfig.sh" ; then - ac_cv_c_tkconfig=`(cd $i/unix; pwd)` - break - fi - done - fi - -fi - - - if test x"${ac_cv_c_tkconfig}" = x ; then - TK_BIN_DIR="# no Tk configs found" - as_fn_error "Can't find Tk configuration definitions" "$LINENO" 5 - else - no_tk= - TK_BIN_DIR=${ac_cv_c_tkconfig} - { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${TK_BIN_DIR}/tkConfig.sh" >&5 -$as_echo "found ${TK_BIN_DIR}/tkConfig.sh" >&6; } - fi - fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for existence of ${TK_BIN_DIR}/tkConfig.sh" >&5 -$as_echo_n "checking for existence of ${TK_BIN_DIR}/tkConfig.sh... " >&6; } - - if test -f "${TK_BIN_DIR}/tkConfig.sh" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: loading" >&5 -$as_echo "loading" >&6; } - . "${TK_BIN_DIR}/tkConfig.sh" - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: could not find ${TK_BIN_DIR}/tkConfig.sh" >&5 -$as_echo "could not find ${TK_BIN_DIR}/tkConfig.sh" >&6; } - fi - - # eval is required to do the TK_DBGX substitution - eval "TK_LIB_FILE=\"${TK_LIB_FILE}\"" - eval "TK_STUB_LIB_FILE=\"${TK_STUB_LIB_FILE}\"" - - # If the TK_BIN_DIR is the build directory (not the install directory), - # then set the common variable name to the value of the build variables. - # For example, the variable TK_LIB_SPEC will be set to the value - # of TK_BUILD_LIB_SPEC. An extension should make use of TK_LIB_SPEC - # instead of TK_BUILD_LIB_SPEC since it will work with both an - # installed and uninstalled version of Tcl. - if test -f "${TK_BIN_DIR}/Makefile" ; then - TK_LIB_SPEC=${TK_BUILD_LIB_SPEC} - TK_STUB_LIB_SPEC=${TK_BUILD_STUB_LIB_SPEC} - TK_STUB_LIB_PATH=${TK_BUILD_STUB_LIB_PATH} - elif test "`uname -s`" = "Darwin"; then - # If Tk was built as a framework, attempt to use the libraries - # from the framework at the given location so that linking works - # against Tk.framework installed in an arbitary location. - case ${TK_DEFS} in - *TK_FRAMEWORK*) - if test -f "${TK_BIN_DIR}/${TK_LIB_FILE}"; then - for i in "`cd ${TK_BIN_DIR}; pwd`" \ - "`cd ${TK_BIN_DIR}/../..; pwd`"; do - if test "`basename "$i"`" = "${TK_LIB_FILE}.framework"; then - TK_LIB_SPEC="-F`dirname "$i"` -framework ${TK_LIB_FILE}" - break - fi - done - fi - if test -f "${TK_BIN_DIR}/${TK_STUB_LIB_FILE}"; then - TK_STUB_LIB_SPEC="-L${TK_BIN_DIR} ${TK_STUB_LIB_FLAG}" - TK_STUB_LIB_PATH="${TK_BIN_DIR}/${TK_STUB_LIB_FILE}" - fi - ;; - esac - fi - - # eval is required to do the TK_DBGX substitution - eval "TK_LIB_FLAG=\"${TK_LIB_FLAG}\"" - eval "TK_LIB_SPEC=\"${TK_LIB_SPEC}\"" - eval "TK_STUB_LIB_FLAG=\"${TK_STUB_LIB_FLAG}\"" - eval "TK_STUB_LIB_SPEC=\"${TK_STUB_LIB_SPEC}\"" - - # TEA specific: Ensure windowingsystem is defined - if test "${TEA_PLATFORM}" = "unix" ; then - case ${TK_DEFS} in - *MAC_OSX_TK*) - -$as_echo "#define MAC_OSX_TK 1" >>confdefs.h - - TEA_WINDOWINGSYSTEM="aqua" - ;; - *) - TEA_WINDOWINGSYSTEM="x11" - ;; - esac - elif test "${TEA_PLATFORM}" = "windows" ; then - TEA_WINDOWINGSYSTEM="win32" - fi - - - - - - - - - - - - - - # TEA specific: - - - - -#----------------------------------------------------------------------- -# Handle the --prefix=... option by defaulting to what Tcl gave. -# Must be called after TEA_LOAD_TCLCONFIG and before TEA_SETUP_COMPILER. -#----------------------------------------------------------------------- - - - if test "${prefix}" = "NONE"; then - prefix_default=yes - if test x"${TCL_PREFIX}" != x; then - { $as_echo "$as_me:${as_lineno-$LINENO}: --prefix defaulting to TCL_PREFIX ${TCL_PREFIX}" >&5 -$as_echo "$as_me: --prefix defaulting to TCL_PREFIX ${TCL_PREFIX}" >&6;} - prefix=${TCL_PREFIX} - else - { $as_echo "$as_me:${as_lineno-$LINENO}: --prefix defaulting to /usr/local" >&5 -$as_echo "$as_me: --prefix defaulting to /usr/local" >&6;} - prefix=/usr/local - fi - fi - if test "${exec_prefix}" = "NONE" -a x"${prefix_default}" = x"yes" \ - -o x"${exec_prefix_default}" = x"yes" ; then - if test x"${TCL_EXEC_PREFIX}" != x; then - { $as_echo "$as_me:${as_lineno-$LINENO}: --exec-prefix defaulting to TCL_EXEC_PREFIX ${TCL_EXEC_PREFIX}" >&5 -$as_echo "$as_me: --exec-prefix defaulting to TCL_EXEC_PREFIX ${TCL_EXEC_PREFIX}" >&6;} - exec_prefix=${TCL_EXEC_PREFIX} - else - { $as_echo "$as_me:${as_lineno-$LINENO}: --exec-prefix defaulting to ${prefix}" >&5 -$as_echo "$as_me: --exec-prefix defaulting to ${prefix}" >&6;} - exec_prefix=$prefix - fi - fi - - -#----------------------------------------------------------------------- -# Standard compiler checks. -# This sets up CC by using the CC env var, or looks for gcc otherwise. -# This also calls AC_PROG_CC, AC_PROG_INSTALL and a few others to create -# the basic setup necessary to compile executables. -#----------------------------------------------------------------------- - -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AmigaOS /C/install, which installs bootblocks on floppy discs -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# OS/2's system install, which has a completely different semantic -# ./install, which can be erroneously created by make from ./install.sh. -# Reject install programs that cannot install multiple files. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 -$as_echo_n "checking for a BSD-compatible install... " >&6; } -if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in #(( - ./ | .// | /[cC]/* | \ - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ - /usr/ucb/* ) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then - if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # program-specific install script used by HP pwplus--don't use. - : - else - rm -rf conftest.one conftest.two conftest.dir - echo one > conftest.one - echo two > conftest.two - mkdir conftest.dir - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && - test -s conftest.one && test -s conftest.two && - test -s conftest.dir/conftest.one && - test -s conftest.dir/conftest.two - then - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 - fi - fi - fi - done - done - ;; -esac - - done -IFS=$as_save_IFS - -rm -rf conftest.one conftest.two conftest.dir - -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install - else - # As a last resort, use the slow shell script. Don't cache a - # value for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - INSTALL=$ac_install_sh - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 -$as_echo "$INSTALL" >&6; } - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - - - # Don't put any macros that use the compiler (e.g. AC_TRY_COMPILE) - # in this macro, they need to go into TEA_SETUP_COMPILER instead. - - # If the user did not set CFLAGS, set it now to keep - # the AC_PROG_CC macro from adding "-g -O2". - if test "${CFLAGS+set}" != "set" ; then - CFLAGS="" - fi - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - fi -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CC" && break -done - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -fi - -fi - - -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "no acceptable C compiler found in \$PATH -See \`config.log' for more details." "$LINENO" 5; } - -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - sed '10a\ -... rest of stderr output deleted ... - 10q' conftest.err >conftest.er1 - cat conftest.er1 >&5 - fi - rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -done - -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" -# Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compilers, and finding out an intuition -# of exeext. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 -$as_echo_n "checking whether the C compiler works... " >&6; } -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` - -# The possible output files: -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" - -ac_rmfiles= -for ac_file in $ac_files -do - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - * ) ac_rmfiles="$ac_rmfiles $ac_file";; - esac -done -rm -f $ac_rmfiles - -if { { ac_try="$ac_link_default" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link_default") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -# in a Makefile. We should not override ac_cv_exeext if it was cached, -# so that the user can short-circuit this test for compilers unknown to -# Autoconf. -for ac_file in $ac_files '' -do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) - ;; - [ab].out ) - # We found the default executable, but exeext='' is most - # certainly right. - break;; - *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; - then :; else - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - fi - # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an `-o' - # argument, so we may need to know it at that point already. - # Even if this section looks crufty: it has the advantage of - # actually working. - break;; - * ) - break;; - esac -done -test "$ac_cv_exeext" = no && ac_cv_exeext= - -else - ac_file='' -fi -if test -z "$ac_file"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ as_fn_set_status 77 -as_fn_error "C compiler cannot create executables -See \`config.log' for more details." "$LINENO" 5; }; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 -$as_echo_n "checking for C compiler default output file name... " >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } -ac_exeext=$ac_cv_exeext - -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 -$as_echo_n "checking for suffix of executables... " >&6; } -if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - # If both `conftest.exe' and `conftest' are `present' (well, observable) -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -# work properly (i.e., refer to `conftest.exe'), while it won't with -# `rm'. -for ac_file in conftest.exe conftest conftest.*; do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - break;; - * ) break;; - esac -done -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." "$LINENO" 5; } -fi -rm -f conftest conftest$ac_cv_exeext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -$as_echo "$ac_cv_exeext" >&6; } - -rm -f conftest.$ac_ext -EXEEXT=$ac_cv_exeext -ac_exeext=$EXEEXT -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -FILE *f = fopen ("conftest.out", "w"); - return ferror (f) || fclose (f) != 0; - - ; - return 0; -} -_ACEOF -ac_clean_files="$ac_clean_files conftest.out" -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 -$as_echo_n "checking whether we are cross compiling... " >&6; } -if test "$cross_compiling" != yes; then - { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - if { ac_try='./conftest$ac_cv_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then - cross_compiling=no - else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." "$LINENO" 5; } - fi - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -$as_echo "$cross_compiling" >&6; } - -rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 -$as_echo_n "checking for suffix of object files... " >&6; } -if test "${ac_cv_objext+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.o conftest.obj -if { { ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compile") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : - for ac_file in conftest.o conftest.obj conftest.*; do - test -f "$ac_file" || continue; - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` - break;; - esac -done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot compute suffix of object files: cannot compile -See \`config.log' for more details." "$LINENO" 5; } -fi -rm -f conftest.$ac_cv_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -$as_echo "$ac_cv_objext" >&6; } -OBJEXT=$ac_cv_objext -ac_objext=$OBJEXT -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - ac_compiler_gnu=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GCC=yes -else - GCC= -fi -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 -$as_echo_n "checking whether $CC accepts -g... " >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_save_c_werror_flag=$ac_c_werror_flag - ac_c_werror_flag=yes - ac_cv_prog_cc_g=no - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -else - CFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - -else - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c89=no -ac_save_CC=$CC -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#include -#include -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_c89=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac -if test "x$ac_cv_prog_cc_c89" != xno; then : - -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 -$as_echo_n "checking how to run the C preprocessor... " >&6; } -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -$as_echo "$CPP" >&6; } -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details." "$LINENO" 5; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - - - #-------------------------------------------------------------------- - # Checks to see if the make program sets the $MAKE variable. - #-------------------------------------------------------------------- - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } -set x ${MAKE-make} -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - cat >conftest.make <<\_ACEOF -SHELL = /bin/sh -all: - @echo '@@@%%%=$(MAKE)=@@@%%%' -_ACEOF -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. -case `${MAKE-make} -f conftest.make 2>/dev/null` in - *@@@%%%=?*=@@@%%%*) - eval ac_cv_prog_make_${ac_make}_set=yes;; - *) - eval ac_cv_prog_make_${ac_make}_set=no;; -esac -rm -f conftest.make -fi -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - SET_MAKE= -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - SET_MAKE="MAKE=${MAKE-make}" -fi - - - #-------------------------------------------------------------------- - # Find ranlib - #-------------------------------------------------------------------- - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. -set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_RANLIB+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$RANLIB"; then - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -RANLIB=$ac_cv_prog_RANLIB -if test -n "$RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 -$as_echo "$RANLIB" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_RANLIB"; then - ac_ct_RANLIB=$RANLIB - # Extract the first word of "ranlib", so it can be a program name with args. -set dummy ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_RANLIB"; then - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_RANLIB="ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB -if test -n "$ac_ct_RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 -$as_echo "$ac_ct_RANLIB" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_RANLIB" = x; then - RANLIB=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - RANLIB=$ac_ct_RANLIB - fi -else - RANLIB="$ac_cv_prog_RANLIB" -fi - - - #-------------------------------------------------------------------- - # Determines the correct binary file extension (.o, .obj, .exe etc.) - #-------------------------------------------------------------------- - - - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if test "${ac_cv_path_GREP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$GREP"; then - ac_path_GREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue -# Check for GNU ac_path_GREP and select it if it is found. - # Check for GNU $ac_path_GREP -case `"$ac_path_GREP" --version 2>&1` in -*GNU*) - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'GREP' >> "conftest.nl" - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_GREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_GREP="$ac_path_GREP" - ac_path_GREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_GREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_GREP"; then - as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_GREP=$GREP -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 -$as_echo "$ac_cv_path_GREP" >&6; } - GREP="$ac_cv_path_GREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 -$as_echo_n "checking for egrep... " >&6; } -if test "${ac_cv_path_EGREP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 - then ac_cv_path_EGREP="$GREP -E" - else - if test -z "$EGREP"; then - ac_path_EGREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue -# Check for GNU ac_path_EGREP and select it if it is found. - # Check for GNU $ac_path_EGREP -case `"$ac_path_EGREP" --version 2>&1` in -*GNU*) - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'EGREP' >> "conftest.nl" - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val - if test $ac_count -gt ${ac_path_EGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_EGREP="$ac_path_EGREP" - ac_path_EGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_EGREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_EGREP"; then - as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_EGREP=$EGREP -fi - - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -$as_echo "$ac_cv_path_EGREP" >&6; } - EGREP="$ac_cv_path_EGREP" - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 -$as_echo_n "checking for ANSI C header files... " >&6; } -if test "${ac_cv_header_stdc+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#include -#include - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_header_stdc=yes -else - ac_cv_header_stdc=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then : - : -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - -else - ac_cv_header_stdc=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 -$as_echo "$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then - -$as_echo "#define STDC_HEADERS 1" >>confdefs.h - -fi - -# On IRIX 5.3, sys/types and inttypes.h are conflicting. -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default -" -eval as_val=\$$as_ac_Header - if test "x$as_val" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - - - # Any macros that use the compiler (e.g. AC_TRY_COMPILE) have to go here. - - - #------------------------------------------------------------------------ - # If we're using GCC, see if the compiler understands -pipe. If so, use it. - # It makes compiling go faster. (This is only a performance feature.) - #------------------------------------------------------------------------ - - if test -z "$no_pipe" -a -n "$GCC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler understands -pipe" >&5 -$as_echo_n "checking if the compiler understands -pipe... " >&6; } -if test "${tcl_cv_cc_pipe+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -pipe" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - tcl_cv_cc_pipe=yes -else - tcl_cv_cc_pipe=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$hold_cflags -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_pipe" >&5 -$as_echo "$tcl_cv_cc_pipe" >&6; } - if test $tcl_cv_cc_pipe = yes; then - CFLAGS="$CFLAGS -pipe" - fi - fi - - #-------------------------------------------------------------------- - # Common compiler flag setup - #-------------------------------------------------------------------- - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 -$as_echo_n "checking whether byte ordering is bigendian... " >&6; } -if test "${ac_cv_c_bigendian+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_c_bigendian=unknown - # See if we're dealing with a universal compiler. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifndef __APPLE_CC__ - not a universal capable compiler - #endif - typedef int dummy; - -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - - # Check for potential -arch flags. It is not universal unless - # there are at least two -arch flags with different values. - ac_arch= - ac_prev= - for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do - if test -n "$ac_prev"; then - case $ac_word in - i?86 | x86_64 | ppc | ppc64) - if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then - ac_arch=$ac_word - else - ac_cv_c_bigendian=universal - break - fi - ;; - esac - ac_prev= - elif test "x$ac_word" = "x-arch"; then - ac_prev=arch - fi - done -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - if test $ac_cv_c_bigendian = unknown; then - # See if sys/param.h defines the BYTE_ORDER macro. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #include - -int -main () -{ -#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ - && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ - && LITTLE_ENDIAN) - bogus endian macros - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - # It does; now see whether it defined to BIG_ENDIAN or not. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #include - -int -main () -{ -#if BYTE_ORDER != BIG_ENDIAN - not big endian - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_c_bigendian=yes -else - ac_cv_c_bigendian=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - if test $ac_cv_c_bigendian = unknown; then - # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -int -main () -{ -#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) - bogus endian macros - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - # It does; now see whether it defined to _BIG_ENDIAN or not. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -int -main () -{ -#ifndef _BIG_ENDIAN - not big endian - #endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_c_bigendian=yes -else - ac_cv_c_bigendian=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - if test $ac_cv_c_bigendian = unknown; then - # Compile a test program. - if test "$cross_compiling" = yes; then : - # Try to guess by grepping values from an object file. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -short int ascii_mm[] = - { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; - short int ascii_ii[] = - { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; - int use_ascii (int i) { - return ascii_mm[i] + ascii_ii[i]; - } - short int ebcdic_ii[] = - { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; - short int ebcdic_mm[] = - { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; - int use_ebcdic (int i) { - return ebcdic_mm[i] + ebcdic_ii[i]; - } - extern int foo; - -int -main () -{ -return use_ascii (foo) == use_ebcdic (foo); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then - ac_cv_c_bigendian=yes - fi - if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then - if test "$ac_cv_c_bigendian" = unknown; then - ac_cv_c_bigendian=no - else - # finding both strings is unlikely to happen, but who knows? - ac_cv_c_bigendian=unknown - fi - fi -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ - - /* Are we little or big endian? From Harbison&Steele. */ - union - { - long int l; - char c[sizeof (long int)]; - } u; - u.l = 1; - return u.c[sizeof (long int) - 1] == 1; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - ac_cv_c_bigendian=no -else - ac_cv_c_bigendian=yes -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 -$as_echo "$ac_cv_c_bigendian" >&6; } - case $ac_cv_c_bigendian in #( - yes) - $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h -;; #( - no) - ;; #( - universal) - -$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h - - ;; #( - *) - as_fn_error "unknown endianness - presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; - esac - - if test "${TEA_PLATFORM}" = "unix" ; then - - #-------------------------------------------------------------------- - # On a few very rare systems, all of the libm.a stuff is - # already in libc.a. Set compiler flags accordingly. - # Also, Linux requires the "ieee" library for math to work - # right (and it must appear before "-lm"). - #-------------------------------------------------------------------- - - ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin" -if test "x$ac_cv_func_sin" = x""yes; then : - MATH_LIBS="" -else - MATH_LIBS="-lm" -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lieee" >&5 -$as_echo_n "checking for main in -lieee... " >&6; } -if test "${ac_cv_lib_ieee_main+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lieee $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - -int -main () -{ -return main (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_ieee_main=yes -else - ac_cv_lib_ieee_main=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ieee_main" >&5 -$as_echo "$ac_cv_lib_ieee_main" >&6; } -if test "x$ac_cv_lib_ieee_main" = x""yes; then : - MATH_LIBS="-lieee $MATH_LIBS" -fi - - - #-------------------------------------------------------------------- - # Interactive UNIX requires -linet instead of -lsocket, plus it - # needs net/errno.h to define the socket-related error codes. - #-------------------------------------------------------------------- - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -linet" >&5 -$as_echo_n "checking for main in -linet... " >&6; } -if test "${ac_cv_lib_inet_main+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-linet $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - -int -main () -{ -return main (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_inet_main=yes -else - ac_cv_lib_inet_main=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet_main" >&5 -$as_echo "$ac_cv_lib_inet_main" >&6; } -if test "x$ac_cv_lib_inet_main" = x""yes; then : - LIBS="$LIBS -linet" -fi - - ac_fn_c_check_header_mongrel "$LINENO" "net/errno.h" "ac_cv_header_net_errno_h" "$ac_includes_default" -if test "x$ac_cv_header_net_errno_h" = x""yes; then : - - -$as_echo "#define HAVE_NET_ERRNO_H 1" >>confdefs.h - -fi - - - - #-------------------------------------------------------------------- - # Check for the existence of the -lsocket and -lnsl libraries. - # The order here is important, so that they end up in the right - # order in the command line generated by make. Here are some - # special considerations: - # 1. Use "connect" and "accept" to check for -lsocket, and - # "gethostbyname" to check for -lnsl. - # 2. Use each function name only once: can't redo a check because - # autoconf caches the results of the last check and won't redo it. - # 3. Use -lnsl and -lsocket only if they supply procedures that - # aren't already present in the normal libraries. This is because - # IRIX 5.2 has libraries, but they aren't needed and they're - # bogus: they goof up name resolution if used. - # 4. On some SVR4 systems, can't use -lsocket without -lnsl too. - # To get around this problem, check for both libraries together - # if -lsocket doesn't work by itself. - #-------------------------------------------------------------------- - - tcl_checkBoth=0 - ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" -if test "x$ac_cv_func_connect" = x""yes; then : - tcl_checkSocket=0 -else - tcl_checkSocket=1 -fi - - if test "$tcl_checkSocket" = 1; then - ac_fn_c_check_func "$LINENO" "setsockopt" "ac_cv_func_setsockopt" -if test "x$ac_cv_func_setsockopt" = x""yes; then : - -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setsockopt in -lsocket" >&5 -$as_echo_n "checking for setsockopt in -lsocket... " >&6; } -if test "${ac_cv_lib_socket_setsockopt+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsocket $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char setsockopt (); -int -main () -{ -return setsockopt (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_socket_setsockopt=yes -else - ac_cv_lib_socket_setsockopt=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_setsockopt" >&5 -$as_echo "$ac_cv_lib_socket_setsockopt" >&6; } -if test "x$ac_cv_lib_socket_setsockopt" = x""yes; then : - LIBS="$LIBS -lsocket" -else - tcl_checkBoth=1 -fi - -fi - - fi - if test "$tcl_checkBoth" = 1; then - tk_oldLibs=$LIBS - LIBS="$LIBS -lsocket -lnsl" - ac_fn_c_check_func "$LINENO" "accept" "ac_cv_func_accept" -if test "x$ac_cv_func_accept" = x""yes; then : - tcl_checkNsl=0 -else - LIBS=$tk_oldLibs -fi - - fi - ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" -if test "x$ac_cv_func_gethostbyname" = x""yes; then : - -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 -$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } -if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lnsl $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char gethostbyname (); -int -main () -{ -return gethostbyname (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_nsl_gethostbyname=yes -else - ac_cv_lib_nsl_gethostbyname=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 -$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } -if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : - LIBS="$LIBS -lnsl" -fi - -fi - - - # TEA specific: Don't perform the eval of the libraries here because - # DL_LIBS won't be set until we call TEA_CONFIG_CFLAGS - - TCL_LIBS='${DL_LIBS} ${LIBS} ${MATH_LIBS}' - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dirent.h" >&5 -$as_echo_n "checking dirent.h... " >&6; } -if test "${tcl_cv_dirent_h+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -int -main () -{ - -#ifndef _POSIX_SOURCE -# ifdef __Lynx__ - /* - * Generate compilation error to make the test fail: Lynx headers - * are only valid if really in the POSIX environment. - */ - - missing_procedure(); -# endif -#endif -DIR *d; -struct dirent *entryPtr; -char *p; -d = opendir("foobar"); -entryPtr = readdir(d); -p = entryPtr->d_name; -closedir(d); - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - tcl_cv_dirent_h=yes -else - tcl_cv_dirent_h=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_dirent_h" >&5 -$as_echo "$tcl_cv_dirent_h" >&6; } - - if test $tcl_cv_dirent_h = no; then - -$as_echo "#define NO_DIRENT_H 1" >>confdefs.h - - fi - - # TEA specific: - ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" -if test "x$ac_cv_header_errno_h" = x""yes; then : - -else - -$as_echo "#define NO_ERRNO_H 1" >>confdefs.h - -fi - - - ac_fn_c_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default" -if test "x$ac_cv_header_float_h" = x""yes; then : - -else - -$as_echo "#define NO_FLOAT_H 1" >>confdefs.h - -fi - - - ac_fn_c_check_header_mongrel "$LINENO" "values.h" "ac_cv_header_values_h" "$ac_includes_default" -if test "x$ac_cv_header_values_h" = x""yes; then : - -else - -$as_echo "#define NO_VALUES_H 1" >>confdefs.h - -fi - - - ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" -if test "x$ac_cv_header_limits_h" = x""yes; then : - -$as_echo "#define HAVE_LIMITS_H 1" >>confdefs.h - -else - -$as_echo "#define NO_LIMITS_H 1" >>confdefs.h - -fi - - - ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" -if test "x$ac_cv_header_stdlib_h" = x""yes; then : - tcl_ok=1 -else - tcl_ok=0 -fi - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "strtol" >/dev/null 2>&1; then : - -else - tcl_ok=0 -fi -rm -f conftest* - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "strtoul" >/dev/null 2>&1; then : - -else - tcl_ok=0 -fi -rm -f conftest* - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "strtod" >/dev/null 2>&1; then : - -else - tcl_ok=0 -fi -rm -f conftest* - - if test $tcl_ok = 0; then - -$as_echo "#define NO_STDLIB_H 1" >>confdefs.h - - fi - ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" -if test "x$ac_cv_header_string_h" = x""yes; then : - tcl_ok=1 -else - tcl_ok=0 -fi - - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "strstr" >/dev/null 2>&1; then : - -else - tcl_ok=0 -fi -rm -f conftest* - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "strerror" >/dev/null 2>&1; then : - -else - tcl_ok=0 -fi -rm -f conftest* - - - # See also memmove check below for a place where NO_STRING_H can be - # set and why. - - if test $tcl_ok = 0; then - -$as_echo "#define NO_STRING_H 1" >>confdefs.h - - fi - - ac_fn_c_check_header_mongrel "$LINENO" "sys/wait.h" "ac_cv_header_sys_wait_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_wait_h" = x""yes; then : - -else - -$as_echo "#define NO_SYS_WAIT_H 1" >>confdefs.h - -fi - - - ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" -if test "x$ac_cv_header_dlfcn_h" = x""yes; then : - -else - -$as_echo "#define NO_DLFCN_H 1" >>confdefs.h - -fi - - - - # OS/390 lacks sys/param.h (and doesn't need it, by chance). - for ac_header in sys/param.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_param_h" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SYS_PARAM_H 1 -_ACEOF - -fi - -done - - - # Let the user call this, because if it triggers, they will - # need a compat/strtod.c that is correct. Users can also - # use Tcl_GetDouble(FromObj) instead. - #TEA_BUGGY_STRTOD - fi - - -#----------------------------------------------------------------------- -# __CHANGE__ -# Specify the C source files to compile in TEA_ADD_SOURCES, -# public headers that need to be installed in TEA_ADD_HEADERS, -# stub library C source files to compile in TEA_ADD_STUB_SOURCES, -# and runtime Tcl library files in TEA_ADD_TCL_SOURCES. -# This defines PKG(_STUB)_SOURCES, PKG(_STUB)_OBJECTS, PKG_HEADERS -# and PKG_TCL_SOURCES. -#----------------------------------------------------------------------- - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to link with stubs library" >&5 -$as_echo_n "checking whether to link with stubs library... " >&6; } - # Check whether --enable-stubs was given. -if test "${enable_stubs+set}" = set; then : - enableval=$enable_stubs; tcl_ok=$enableval -else - tcl_ok=yes -fi - - - if test "${enable_stubs+set}" = set; then - enableval="$enable_stubs" - tcl_ok=$enableval - else - tcl_ok=yes - fi - - if test "$tcl_ok" = "yes" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: stubs" >&5 -$as_echo "stubs" >&6; } - USE_STUBS=1 - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no stubs" >&5 -$as_echo "no stubs" >&6; } - USE_STUBS=0 - fi - - - - vars="togl.c toglProcAddr.c toglStubInit.c" - for i in $vars; do - case $i in - \$*) - # allow $-var names - PKG_SOURCES="$PKG_SOURCES $i" - PKG_OBJECTS="$PKG_OBJECTS $i" - ;; - *) - # check for existence - allows for generic/win/unix VPATH - # To add more dirs here (like 'src'), you have to update VPATH - # in Makefile.in as well - if test ! -f "${srcdir}/$i" -a ! -f "${srcdir}/generic/$i" \ - -a ! -f "${srcdir}/win/$i" -a ! -f "${srcdir}/unix/$i" \ - ; then - as_fn_error "could not find source file '$i'" "$LINENO" 5 - fi - PKG_SOURCES="$PKG_SOURCES $i" - # this assumes it is in a VPATH dir - i=`basename $i` - # handle user calling this before or after TEA_SETUP_COMPILER - if test x"${OBJEXT}" != x ; then - j="`echo $i | sed -e 's/\.[^.]*$//'`.${OBJEXT}" - else - j="`echo $i | sed -e 's/\.[^.]*$//'`.\${OBJEXT}" - fi - PKG_OBJECTS="$PKG_OBJECTS $j" - ;; - esac - done - - - -# togl_ws.h is added in Makefile.in because it is generated - - vars="togl.h toglDecls.h" - for i in $vars; do - # check for existence, be strict because it is installed - if test ! -f "${srcdir}/$i" ; then - as_fn_error "could not find header file '${srcdir}/$i'" "$LINENO" 5 - fi - PKG_HEADERS="$PKG_HEADERS $i" - done - - - - vars="" - for i in $vars; do - PKG_INCLUDES="$PKG_INCLUDES $i" - done - - - - vars="" - for i in $vars; do - if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then - # Convert foo.lib to -lfoo for GCC. No-op if not *.lib - i=`echo "$i" | sed -e 's/^\([^-].*\)\.lib$/-l\1/i'` - fi - PKG_LIBS="$PKG_LIBS $i" - done - - - - PKG_CFLAGS="$PKG_CFLAGS " - - -if test "${USE_STUBS}" = "1" ; then - - vars="toglStubLib.c" - for i in $vars; do - # check for existence - allows for generic/win/unix VPATH - if test ! -f "${srcdir}/$i" -a ! -f "${srcdir}/generic/$i" \ - -a ! -f "${srcdir}/win/$i" -a ! -f "${srcdir}/unix/$i" \ - ; then - as_fn_error "could not find stub source file '$i'" "$LINENO" 5 - fi - PKG_STUB_SOURCES="$PKG_STUB_SOURCES $i" - # this assumes it is in a VPATH dir - i=`basename $i` - # handle user calling this before or after TEA_SETUP_COMPILER - if test x"${OBJEXT}" != x ; then - j="`echo $i | sed -e 's/\.[^.]*$//'`.${OBJEXT}" - else - j="`echo $i | sed -e 's/\.[^.]*$//'`.\${OBJEXT}" - fi - PKG_STUB_OBJECTS="$PKG_STUB_OBJECTS $j" - done - - - -fi - - vars="" - for i in $vars; do - # check for existence, be strict because it is installed - if test ! -f "${srcdir}/$i" ; then - as_fn_error "could not find tcl source file '${srcdir}/$i'" "$LINENO" 5 - fi - PKG_TCL_SOURCES="$PKG_TCL_SOURCES $i" - done - - - -#-------------------------------------------------------------------- -# __CHANGE__ -# A few miscellaneous platform-specific items: -# -# Define a special symbol for Windows (BUILD_sample in this case) so -# that we create the export library with the dll. -# -# Windows creates a few extra files that need to be cleaned up. -# You can add more files to clean if your extension creates any extra -# files. -# -# TEA_ADD_* any platform specific compiler/build info here. -#-------------------------------------------------------------------- - -# Add pkgIndex.tcl if it is generated in the Makefile instead of ./configure -# and change Makefile.in to move it from CONFIG_CLEAN_FILES to BINARIES var. -#CLEANFILES="pkgIndex.tcl" -if test "${TEA_PLATFORM}" = "windows" ; then - -$as_echo "#define BUILD_togl 1" >>confdefs.h - - CLEANFILES="$CLEANFILES *.lib *.dll *.exp *.ilk *.pdb vc*.pch *.manifest" - #TEA_ADD_SOURCES([win/winFile.c]) - #TEA_ADD_INCLUDES([-I\"$(${CYGPATH} ${srcdir}/win)\"]) -else - # Ensure no empty else clauses - : - CLEANFILES="so_locations" - #TEA_ADD_SOURCES([unix/unixFile.c]) - #TEA_ADD_LIBS([-lsuperfly]) -fi - - -#-------------------------------------------------------------------- -# __CHANGE__ -# Choose which headers you need. Extension authors should try very -# hard to only rely on the Tcl public header files. Internal headers -# contain private data structures and are subject to change without -# notice. -# This MUST be called after TEA_LOAD_TCLCONFIG / TEA_LOAD_TKCONFIG -#-------------------------------------------------------------------- - -# find Tcl, Tk, and X11 headers -#TEA_PUBLIC_TCL_HEADERS - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl public headers" >&5 -$as_echo_n "checking for Tcl public headers... " >&6; } - - -# Check whether --with-tclinclude was given. -if test "${with_tclinclude+set}" = set; then : - withval=$with_tclinclude; with_tclinclude=${withval} -fi - - - if test "${ac_cv_c_tclh+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - # Use the value from --with-tclinclude, if it was given - - if test x"${with_tclinclude}" != x ; then - if test -f "${with_tclinclude}/tcl.h" ; then - ac_cv_c_tclh=${with_tclinclude} - else - as_fn_error "${with_tclinclude} directory does not contain tcl.h" "$LINENO" 5 - fi - else - if test "`uname -s`" = "Darwin"; then - # If Tcl was built as a framework, attempt to use - # the framework's Headers directory - case ${TCL_DEFS} in - *TCL_FRAMEWORK*) - list="`ls -d ${TCL_BIN_DIR}/Headers 2>/dev/null`" - ;; - esac - fi - - # Look in the source dir only if Tcl is not installed, - # and in that situation, look there before installed locations. - if test -f "${TCL_BIN_DIR}/Makefile" ; then - list="$list `ls -d ${TCL_SRC_DIR}/generic 2>/dev/null`" - fi - - # Check order: pkg --prefix location, Tcl's --prefix location, - # relative to directory of tclConfig.sh. - - eval "temp_includedir=${includedir}" - list="$list \ - `ls -d ${temp_includedir} 2>/dev/null` \ - `ls -d ${TCL_PREFIX}/include 2>/dev/null` \ - `ls -d ${TCL_BIN_DIR}/../include 2>/dev/null`" - if test "${TEA_PLATFORM}" != "windows" -o "$GCC" = "yes"; then - list="$list /usr/local/include /usr/include" - if test x"${TCL_INCLUDE_SPEC}" != x ; then - d=`echo "${TCL_INCLUDE_SPEC}" | sed -e 's/^-I//'` - list="$list `ls -d ${d} 2>/dev/null`" - fi - fi - for i in $list ; do - if test -f "$i/tcl.h" ; then - ac_cv_c_tclh=$i - break - fi - done - fi - -fi - - - # Print a message based on how we determined the include path - - if test x"${ac_cv_c_tclh}" = x ; then - as_fn_error "tcl.h not found. Please specify its location with --with-tclinclude" "$LINENO" 5 - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_c_tclh}" >&5 -$as_echo "${ac_cv_c_tclh}" >&6; } - fi - - # Convert to a native path and substitute into the output files. - - INCLUDE_DIR_NATIVE=`${CYGPATH} ${ac_cv_c_tclh}` - - TCL_INCLUDES=-I\"${INCLUDE_DIR_NATIVE}\" - - - - - # Allow for --with-tclinclude to take effect and define ${ac_cv_c_tclh} - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl private include files" >&5 -$as_echo_n "checking for Tcl private include files... " >&6; } - - TCL_SRC_DIR_NATIVE=`${CYGPATH} ${TCL_SRC_DIR}` - TCL_TOP_DIR_NATIVE=\"${TCL_SRC_DIR_NATIVE}\" - - # Check to see if tclPort.h isn't already with the public headers - # Don't look for tclInt.h because that resides with tcl.h in the core - # sources, but the Port headers are in a different directory - if test "${TEA_PLATFORM}" = "windows" -a \ - -f "${ac_cv_c_tclh}/tclWinPort.h"; then - result="private headers found with public headers" - elif test "${TEA_PLATFORM}" = "unix" -a \ - -f "${ac_cv_c_tclh}/tclUnixPort.h"; then - result="private headers found with public headers" - else - TCL_GENERIC_DIR_NATIVE=\"${TCL_SRC_DIR_NATIVE}/generic\" - if test "${TEA_PLATFORM}" = "windows"; then - TCL_PLATFORM_DIR_NATIVE=\"${TCL_SRC_DIR_NATIVE}/win\" - else - TCL_PLATFORM_DIR_NATIVE=\"${TCL_SRC_DIR_NATIVE}/unix\" - fi - # Overwrite the previous TCL_INCLUDES as this should capture both - # public and private headers in the same set. - # We want to ensure these are substituted so as not to require - # any *_NATIVE vars be defined in the Makefile - TCL_INCLUDES="-I${TCL_GENERIC_DIR_NATIVE} -I${TCL_PLATFORM_DIR_NATIVE}" - if test "`uname -s`" = "Darwin"; then - # If Tcl was built as a framework, attempt to use - # the framework's Headers and PrivateHeaders directories - case ${TCL_DEFS} in - *TCL_FRAMEWORK*) - if test -d "${TCL_BIN_DIR}/Headers" -a \ - -d "${TCL_BIN_DIR}/PrivateHeaders"; then - TCL_INCLUDES="-I\"${TCL_BIN_DIR}/Headers\" -I\"${TCL_BIN_DIR}/PrivateHeaders\" ${TCL_INCLUDES}" - else - TCL_INCLUDES="${TCL_INCLUDES} ${TCL_INCLUDE_SPEC} `echo "${TCL_INCLUDE_SPEC}" | sed -e 's/Headers/PrivateHeaders/'`" - fi - ;; - esac - result="Using ${TCL_INCLUDES}" - else - if test ! -f "${TCL_SRC_DIR}/generic/tclInt.h" ; then - as_fn_error "Cannot find private header tclInt.h in ${TCL_SRC_DIR}" "$LINENO" 5 - fi - result="Using srcdir found in tclConfig.sh: ${TCL_SRC_DIR}" - fi - fi - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${result}" >&5 -$as_echo "${result}" >&6; } - - -#TEA_PUBLIC_TK_HEADERS - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tk public headers" >&5 -$as_echo_n "checking for Tk public headers... " >&6; } - - -# Check whether --with-tkinclude was given. -if test "${with_tkinclude+set}" = set; then : - withval=$with_tkinclude; with_tkinclude=${withval} -fi - - - if test "${ac_cv_c_tkh+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - # Use the value from --with-tkinclude, if it was given - - if test x"${with_tkinclude}" != x ; then - if test -f "${with_tkinclude}/tk.h" ; then - ac_cv_c_tkh=${with_tkinclude} - else - as_fn_error "${with_tkinclude} directory does not contain tk.h" "$LINENO" 5 - fi - else - if test "`uname -s`" = "Darwin"; then - # If Tk was built as a framework, attempt to use - # the framework's Headers directory. - case ${TK_DEFS} in - *TK_FRAMEWORK*) - list="`ls -d ${TK_BIN_DIR}/Headers 2>/dev/null`" - ;; - esac - fi - - # Look in the source dir only if Tk is not installed, - # and in that situation, look there before installed locations. - if test -f "${TK_BIN_DIR}/Makefile" ; then - list="$list `ls -d ${TK_SRC_DIR}/generic 2>/dev/null`" - fi - - # Check order: pkg --prefix location, Tk's --prefix location, - # relative to directory of tkConfig.sh, Tcl's --prefix location, - # relative to directory of tclConfig.sh. - - eval "temp_includedir=${includedir}" - list="$list \ - `ls -d ${temp_includedir} 2>/dev/null` \ - `ls -d ${TK_PREFIX}/include 2>/dev/null` \ - `ls -d ${TK_BIN_DIR}/../include 2>/dev/null` \ - `ls -d ${TCL_PREFIX}/include 2>/dev/null` \ - `ls -d ${TCL_BIN_DIR}/../include 2>/dev/null`" - if test "${TEA_PLATFORM}" != "windows" -o "$GCC" = "yes"; then - list="$list /usr/local/include /usr/include" - fi - for i in $list ; do - if test -f "$i/tk.h" ; then - ac_cv_c_tkh=$i - break - fi - done - fi - -fi - - - # Print a message based on how we determined the include path - - if test x"${ac_cv_c_tkh}" = x ; then - as_fn_error "tk.h not found. Please specify its location with --with-tkinclude" "$LINENO" 5 - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_c_tkh}" >&5 -$as_echo "${ac_cv_c_tkh}" >&6; } - fi - - # Convert to a native path and substitute into the output files. - - INCLUDE_DIR_NATIVE=`${CYGPATH} ${ac_cv_c_tkh}` - - TK_INCLUDES=-I\"${INCLUDE_DIR_NATIVE}\" - - - - if test "${TEA_WINDOWINGSYSTEM}" != "x11"; then - # On Windows and Aqua, we need the X compat headers - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11 header files" >&5 -$as_echo_n "checking for X11 header files... " >&6; } - if test ! -r "${INCLUDE_DIR_NATIVE}/X11/Xlib.h"; then - INCLUDE_DIR_NATIVE="`${CYGPATH} ${TK_SRC_DIR}/xlib`" - TK_XINCLUDES=-I\"${INCLUDE_DIR_NATIVE}\" - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${INCLUDE_DIR_NATIVE}" >&5 -$as_echo "${INCLUDE_DIR_NATIVE}" >&6; } - fi - - - # Allow for --with-tkinclude to take effect and define ${ac_cv_c_tkh} - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tk private include files" >&5 -$as_echo_n "checking for Tk private include files... " >&6; } - - TK_SRC_DIR_NATIVE=`${CYGPATH} ${TK_SRC_DIR}` - TK_TOP_DIR_NATIVE=\"${TK_SRC_DIR_NATIVE}\" - - # Check to see if tkPort.h isn't already with the public headers - # Don't look for tkInt.h because that resides with tk.h in the core - # sources, but the Port headers are in a different directory - if test "${TEA_PLATFORM}" = "windows" -a \ - -f "${ac_cv_c_tkh}/tkWinPort.h"; then - result="private headers found with public headers" - elif test "${TEA_PLATFORM}" = "unix" -a \ - -f "${ac_cv_c_tkh}/tkUnixPort.h"; then - result="private headers found with public headers" - else - TK_GENERIC_DIR_NATIVE=\"${TK_SRC_DIR_NATIVE}/generic\" - TK_XLIB_DIR_NATIVE=\"${TK_SRC_DIR_NATIVE}/xlib\" - if test "${TEA_PLATFORM}" = "windows"; then - TK_PLATFORM_DIR_NATIVE=\"${TK_SRC_DIR_NATIVE}/win\" - else - TK_PLATFORM_DIR_NATIVE=\"${TK_SRC_DIR_NATIVE}/unix\" - fi - # Overwrite the previous TK_INCLUDES as this should capture both - # public and private headers in the same set. - # We want to ensure these are substituted so as not to require - # any *_NATIVE vars be defined in the Makefile - TK_INCLUDES="-I${TK_GENERIC_DIR_NATIVE} -I${TK_PLATFORM_DIR_NATIVE}" - # Detect and add ttk subdir - if test -d "${TK_SRC_DIR}/generic/ttk"; then - TK_INCLUDES="${TK_INCLUDES} -I\"${TK_SRC_DIR_NATIVE}/generic/ttk\"" - fi - if test "${TEA_WINDOWINGSYSTEM}" != "x11"; then - TK_INCLUDES="${TK_INCLUDES} -I${TK_XLIB_DIR_NATIVE}" - fi - if test "${TEA_WINDOWINGSYSTEM}" = "aqua"; then - TK_INCLUDES="${TK_INCLUDES} -I\"${TK_SRC_DIR_NATIVE}/macosx\"" - fi - if test "`uname -s`" = "Darwin"; then - # If Tk was built as a framework, attempt to use - # the framework's Headers and PrivateHeaders directories - case ${TK_DEFS} in - *TK_FRAMEWORK*) - if test -d "${TK_BIN_DIR}/Headers" -a \ - -d "${TK_BIN_DIR}/PrivateHeaders"; then - TK_INCLUDES="-I\"${TK_BIN_DIR}/Headers\" -I\"${TK_BIN_DIR}/PrivateHeaders\" ${TK_INCLUDES}" - else - TK_INCLUDES="${TK_INCLUDES} ${TK_INCLUDE_SPEC} `echo "${TK_INCLUDE_SPEC}" | sed -e 's/Headers/PrivateHeaders/'`" - fi - ;; - esac - result="Using ${TK_INCLUDES}" - else - if test ! -f "${TK_SRC_DIR}/generic/tkInt.h" ; then - as_fn_error "Cannot find private header tkInt.h in ${TK_SRC_DIR}" "$LINENO" 5 - fi - result="Using srcdir found in tkConfig.sh: ${TK_SRC_DIR}" - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${result}" >&5 -$as_echo "${result}" >&6; } - - - if test "${TEA_WINDOWINGSYSTEM}" = "x11" ; then - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 -$as_echo_n "checking for X... " >&6; } - - -# Check whether --with-x was given. -if test "${with_x+set}" = set; then : - withval=$with_x; -fi - -# $have_x is `yes', `no', `disabled', or empty when we do not yet know. -if test "x$with_x" = xno; then - # The user explicitly disabled X. - have_x=disabled -else - case $x_includes,$x_libraries in #( - *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( - *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - # One or both of the vars are not set, and there is no cached value. -ac_x_includes=no ac_x_libraries=no -rm -f -r conftest.dir -if mkdir conftest.dir; then - cd conftest.dir - cat >Imakefile <<'_ACEOF' -incroot: - @echo incroot='${INCROOT}' -usrlibdir: - @echo usrlibdir='${USRLIBDIR}' -libdir: - @echo libdir='${LIBDIR}' -_ACEOF - if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then - # GNU make sometimes prints "make[1]: Entering...", which would confuse us. - for ac_var in incroot usrlibdir libdir; do - eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" - done - # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. - for ac_extension in a so sl dylib la dll; do - if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && - test -f "$ac_im_libdir/libX11.$ac_extension"; then - ac_im_usrlibdir=$ac_im_libdir; break - fi - done - # Screen out bogus values from the imake configuration. They are - # bogus both because they are the default anyway, and because - # using them would break gcc on systems where it needs fixed includes. - case $ac_im_incroot in - /usr/include) ac_x_includes= ;; - *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; - esac - case $ac_im_usrlibdir in - /usr/lib | /usr/lib64 | /lib | /lib64) ;; - *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; - esac - fi - cd .. - rm -f -r conftest.dir -fi - -# Standard set of common directories for X headers. -# Check X11 before X11Rn because it is often a symlink to the current release. -ac_x_header_dirs=' -/usr/X11/include -/usr/X11R7/include -/usr/X11R6/include -/usr/X11R5/include -/usr/X11R4/include - -/usr/include/X11 -/usr/include/X11R7 -/usr/include/X11R6 -/usr/include/X11R5 -/usr/include/X11R4 - -/usr/local/X11/include -/usr/local/X11R7/include -/usr/local/X11R6/include -/usr/local/X11R5/include -/usr/local/X11R4/include - -/usr/local/include/X11 -/usr/local/include/X11R7 -/usr/local/include/X11R6 -/usr/local/include/X11R5 -/usr/local/include/X11R4 - -/usr/X386/include -/usr/x386/include -/usr/XFree86/include/X11 - -/usr/include -/usr/local/include -/usr/unsupported/include -/usr/athena/include -/usr/local/x11r5/include -/usr/lpp/Xamples/include - -/usr/openwin/include -/usr/openwin/share/include' - -if test "$ac_x_includes" = no; then - # Guess where to find include files, by looking for Xlib.h. - # First, try using that file with no special directory specified. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # We can compile using X headers with no special include directory. -ac_x_includes= -else - for ac_dir in $ac_x_header_dirs; do - if test -r "$ac_dir/X11/Xlib.h"; then - ac_x_includes=$ac_dir - break - fi -done -fi -rm -f conftest.err conftest.$ac_ext -fi # $ac_x_includes = no - -if test "$ac_x_libraries" = no; then - # Check for the libraries. - # See if we find them without any special options. - # Don't add to $LIBS permanently. - ac_save_LIBS=$LIBS - LIBS="-lX11 $LIBS" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -XrmInitialize () - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - LIBS=$ac_save_LIBS -# We can link X programs with no special library path. -ac_x_libraries= -else - LIBS=$ac_save_LIBS -for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` -do - # Don't even attempt the hair of trying to link an X program! - for ac_extension in a so sl dylib la dll; do - if test -r "$ac_dir/libX11.$ac_extension"; then - ac_x_libraries=$ac_dir - break 2 - fi - done -done -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi # $ac_x_libraries = no - -case $ac_x_includes,$ac_x_libraries in #( - no,* | *,no | *\'*) - # Didn't find X, or a directory has "'" in its name. - ac_cv_have_x="have_x=no";; #( - *) - # Record where we found X for the cache. - ac_cv_have_x="have_x=yes\ - ac_x_includes='$ac_x_includes'\ - ac_x_libraries='$ac_x_libraries'" -esac -fi -;; #( - *) have_x=yes;; - esac - eval "$ac_cv_have_x" -fi # $with_x != no - -if test "$have_x" != yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 -$as_echo "$have_x" >&6; } - no_x=yes -else - # If each of the values was on the command line, it overrides each guess. - test "x$x_includes" = xNONE && x_includes=$ac_x_includes - test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries - # Update the cache value to reflect the command line values. - ac_cv_have_x="have_x=yes\ - ac_x_includes='$x_includes'\ - ac_x_libraries='$x_libraries'" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 -$as_echo "libraries $x_libraries, headers $x_includes" >&6; } -fi - - not_really_there="" - if test "$no_x" = ""; then - if test "$x_includes" = ""; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - not_really_there="yes" -fi -rm -f conftest.err conftest.$ac_ext - else - if test ! -r $x_includes/X11/Intrinsic.h; then - not_really_there="yes" - fi - fi - fi - if test "$no_x" = "yes" -o "$not_really_there" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11 header files" >&5 -$as_echo_n "checking for X11 header files... " >&6; } - found_xincludes="no" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - found_xincludes="yes" -else - found_xincludes="no" -fi -rm -f conftest.err conftest.$ac_ext - if test "$found_xincludes" = "no"; then - dirs="/usr/unsupported/include /usr/local/include /usr/X386/include /usr/X11R6/include /usr/X11R5/include /usr/include/X11R5 /usr/include/X11R4 /usr/openwin/include /usr/X11/include /usr/sww/include" - for i in $dirs ; do - if test -r $i/X11/Intrinsic.h; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $i" >&5 -$as_echo "$i" >&6; } - XINCLUDES=" -I$i" - found_xincludes="yes" - break - fi - done - fi - else - if test "$x_includes" != ""; then - XINCLUDES="-I$x_includes" - found_xincludes="yes" - fi - fi - if test found_xincludes = "no"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: couldn't find any!" >&5 -$as_echo "couldn't find any!" >&6; } - fi - - if test "$no_x" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11 libraries" >&5 -$as_echo_n "checking for X11 libraries... " >&6; } - XLIBSW=nope - dirs="/usr/unsupported/lib /usr/local/lib /usr/X386/lib /usr/X11R6/lib /usr/X11R5/lib /usr/lib/X11R5 /usr/lib/X11R4 /usr/openwin/lib /usr/X11/lib /usr/sww/X11/lib" - for i in $dirs ; do - if test -r $i/libX11.a -o -r $i/libX11.so -o -r $i/libX11.sl -o -r $i/libX11.dylib; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $i" >&5 -$as_echo "$i" >&6; } - XLIBSW="-L$i -lX11" - x_libraries="$i" - break - fi - done - else - if test "$x_libraries" = ""; then - XLIBSW=-lX11 - else - XLIBSW="-L$x_libraries -lX11" - fi - fi - if test "$XLIBSW" = nope ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateWindow in -lXwindow" >&5 -$as_echo_n "checking for XCreateWindow in -lXwindow... " >&6; } -if test "${ac_cv_lib_Xwindow_XCreateWindow+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lXwindow $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char XCreateWindow (); -int -main () -{ -return XCreateWindow (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_Xwindow_XCreateWindow=yes -else - ac_cv_lib_Xwindow_XCreateWindow=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xwindow_XCreateWindow" >&5 -$as_echo "$ac_cv_lib_Xwindow_XCreateWindow" >&6; } -if test "x$ac_cv_lib_Xwindow_XCreateWindow" = x""yes; then : - XLIBSW=-lXwindow -fi - - fi - if test "$XLIBSW" = nope ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: could not find any! Using -lX11." >&5 -$as_echo "could not find any! Using -lX11." >&6; } - XLIBSW=-lX11 - fi - # TEA specific: - if test x"${XLIBSW}" != x ; then - PKG_LIBS="${PKG_LIBS} ${XLIBSW}" - fi - - fi - - -# find autostereo header, lib, and daemon - -# Check whether --with-autostereo was given. -if test "${with_autostereo+set}" = set; then : - withval=$with_autostereo; with_autostereo=${withval} -fi - - -# Check whether --with-autostereod was given. -if test "${with_autostereod+set}" = set; then : - withval=$with_autostereod; with_autostereod=${withval} -fi - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for autostereo directory" >&5 -$as_echo_n "checking for autostereo directory... " >&6; } -if test x"${with_autostereo}" != x ; then - if test -f "${with_autostereo}/lib/autostereo.h" ; then - with_autostereo=`(cd ${with_autostereo}; pwd)` - - vars="-I${with_autostereo}/lib" - for i in $vars; do - PKG_INCLUDES="$PKG_INCLUDES $i" - done - - - - vars="-L${with_autostereo}/lib -lautostereo" - for i in $vars; do - if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then - # Convert foo.lib to -lfoo for GCC. No-op if not *.lib - i=`echo "$i" | sed -e 's/^\([^-].*\)\.lib$/-l\1/i'` - fi - PKG_LIBS="$PKG_LIBS $i" - done - - - -cat >>confdefs.h <<_ACEOF -#define HAVE_AUTOSTEREO 1 -_ACEOF - - else - as_fn_error "${with_autostereo} directory doesn't contain lib/autostereo.h" "$LINENO" 5 - fi -fi - -# Extract the first word of "autostereod", so it can be a program name with args. -set dummy autostereod; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_AUTOSTEREOD+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - case $AUTOSTEREOD in - [\\/]* | ?:[\\/]*) - ac_cv_path_AUTOSTEREOD="$AUTOSTEREOD" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -as_dummy="`eval \"echo $sbindir\"`:$PATH:/sbin:/usr/sbin" -for as_dir in $as_dummy -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_AUTOSTEREOD="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -AUTOSTEREOD=$ac_cv_path_AUTOSTEREOD -if test -n "$AUTOSTEREOD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOSTEREOD" >&5 -$as_echo "$AUTOSTEREOD" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - - -# Choose OpenGL platform -case "${TEA_WINDOWINGSYSTEM}" in - aqua) - TOGL_WINDOWINGSYSTEM=TOGL_NSOPENGL - CFLAGS="-ObjC" - - -# vars="-framework AGL -framework OpenGL -framework ApplicationServices" - vars="-framework OpenGL -framework AppKit -framework ApplicationServices" - for i in $vars; do - if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then - # Convert foo.lib to -lfoo for GCC. No-op if not *.lib - i=`echo "$i" | sed -e 's/^\([^-].*\)\.lib$/-l\1/i'` - fi - PKG_LIBS="$PKG_LIBS $i" - done - - - # libGLU is implicit in OpenGL framework - LIBGLU= - ;; - - x11) - TOGL_WINDOWINGSYSTEM=TOGL_X11 - - -# Check whether --with-Xmu was given. -if test "${with_Xmu+set}" = set; then : - withval=$with_Xmu; -else - with_Xmu=no -fi - - if test "x$with_Xmu" != xno; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuLookupStandardColormap in -lXmu" >&5 -$as_echo_n "checking for XmuLookupStandardColormap in -lXmu... " >&6; } -if test "${ac_cv_lib_Xmu_XmuLookupStandardColormap+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lXmu -lXt -lX11 - $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char XmuLookupStandardColormap (); -int -main () -{ -return XmuLookupStandardColormap (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_Xmu_XmuLookupStandardColormap=yes -else - ac_cv_lib_Xmu_XmuLookupStandardColormap=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuLookupStandardColormap" >&5 -$as_echo "$ac_cv_lib_Xmu_XmuLookupStandardColormap" >&6; } -if test "x$ac_cv_lib_Xmu_XmuLookupStandardColormap" = x""yes; then : - - vars="-lXmu" - for i in $vars; do - if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then - # Convert foo.lib to -lfoo for GCC. No-op if not *.lib - i=`echo "$i" | sed -e 's/^\([^-].*\)\.lib$/-l\1/i'` - fi - PKG_LIBS="$PKG_LIBS $i" - done - - - -$as_echo "#define USE_SYSTEM_LIBXMU 1" >>confdefs.h - - -else - with_Xmu=no -fi - -fi - if test "x$with_Xmu" = xno; then : - - vars="Xmu/CmapAlloc.c Xmu/CrCmap.c Xmu/DelCmap.c Xmu/LookupCmap.c Xmu/StdCmap.c" - for i in $vars; do - case $i in - \$*) - # allow $-var names - PKG_SOURCES="$PKG_SOURCES $i" - PKG_OBJECTS="$PKG_OBJECTS $i" - ;; - *) - # check for existence - allows for generic/win/unix VPATH - # To add more dirs here (like 'src'), you have to update VPATH - # in Makefile.in as well - if test ! -f "${srcdir}/$i" -a ! -f "${srcdir}/generic/$i" \ - -a ! -f "${srcdir}/win/$i" -a ! -f "${srcdir}/unix/$i" \ - ; then - as_fn_error "could not find source file '$i'" "$LINENO" 5 - fi - PKG_SOURCES="$PKG_SOURCES $i" - # this assumes it is in a VPATH dir - i=`basename $i` - # handle user calling this before or after TEA_SETUP_COMPILER - if test x"${OBJEXT}" != x ; then - j="`echo $i | sed -e 's/\.[^.]*$//'`.${OBJEXT}" - else - j="`echo $i | sed -e 's/\.[^.]*$//'`.\${OBJEXT}" - fi - PKG_OBJECTS="$PKG_OBJECTS $j" - ;; - esac - done - - - -fi - - vars="-lGL" - for i in $vars; do - if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then - # Convert foo.lib to -lfoo for GCC. No-op if not *.lib - i=`echo "$i" | sed -e 's/^\([^-].*\)\.lib$/-l\1/i'` - fi - PKG_LIBS="$PKG_LIBS $i" - done - - - LIBGLU=-lGLU - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GLX_GLXEXT_LEGACY interfers with including GL/glxext.h" >&5 -$as_echo_n "checking if GLX_GLXEXT_LEGACY interfers with including GL/glxext.h... " >&6; } - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - ac_save_CFLAGS=$CFLAGS - CFLAGS=$TK_XINCLUDES - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#define GLX_GLXEXT_LEGACY -#include -#undef GLX_VERSION_1_3 -#undef GLX_VERSION_1_4 -#include -int main() { return 0; } - -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - $as_echo "#define UNDEF_GET_PROC_ADDRESS 1" >>confdefs.h - -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS=$ac_save_CFLAGS - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - ;; - win32) - TOGL_WINDOWINGSYSTEM=TOGL_WGL - - - vars="opengl32.lib user32.lib gdi32.lib" - for i in $vars; do - if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then - # Convert foo.lib to -lfoo for GCC. No-op if not *.lib - i=`echo "$i" | sed -e 's/^\([^-].*\)\.lib$/-l\1/i'` - fi - PKG_LIBS="$PKG_LIBS $i" - done - - - if test "$GCC" = "yes" ; then - LIBGLU=-lglu32 - else - # assume Microsoft compiler - LIBGLU=glu32.lib - fi - ;; - *) - as_fn_error "Unsupported windowing system: ${TEA_WINDOWINGSYSTEM}" "$LINENO" 5 - ;; -esac - - - -#-------------------------------------------------------------------- -# Check whether --enable-threads or --disable-threads was given. -# This auto-enables if Tcl was compiled threaded. -#-------------------------------------------------------------------- - - - # Check whether --enable-threads was given. -if test "${enable_threads+set}" = set; then : - enableval=$enable_threads; tcl_ok=$enableval -else - tcl_ok=yes -fi - - - if test "${enable_threads+set}" = set; then - enableval="$enable_threads" - tcl_ok=$enableval - else - tcl_ok=yes - fi - - if test "$tcl_ok" = "yes" -o "${TCL_THREADS}" = 1; then - TCL_THREADS=1 - - if test "${TEA_PLATFORM}" != "windows" ; then - # We are always OK on Windows, so check what this platform wants: - - # USE_THREAD_ALLOC tells us to try the special thread-based - # allocator that significantly reduces lock contention - -$as_echo "#define USE_THREAD_ALLOC 1" >>confdefs.h - - -$as_echo "#define _REENTRANT 1" >>confdefs.h - - if test "`uname -s`" = "SunOS" ; then - -$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h - - fi - -$as_echo "#define _THREAD_SAFE 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5 -$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; } -if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lpthread $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char pthread_mutex_init (); -int -main () -{ -return pthread_mutex_init (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_pthread_pthread_mutex_init=yes -else - ac_cv_lib_pthread_pthread_mutex_init=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5 -$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; } -if test "x$ac_cv_lib_pthread_pthread_mutex_init" = x""yes; then : - tcl_ok=yes -else - tcl_ok=no -fi - - if test "$tcl_ok" = "no"; then - # Check a little harder for __pthread_mutex_init in the same - # library, as some systems hide it there until pthread.h is - # defined. We could alternatively do an AC_TRY_COMPILE with - # pthread.h, but that will work with libpthread really doesn't - # exist, like AIX 4.2. [Bug: 4359] - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __pthread_mutex_init in -lpthread" >&5 -$as_echo_n "checking for __pthread_mutex_init in -lpthread... " >&6; } -if test "${ac_cv_lib_pthread___pthread_mutex_init+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lpthread $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char __pthread_mutex_init (); -int -main () -{ -return __pthread_mutex_init (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_pthread___pthread_mutex_init=yes -else - ac_cv_lib_pthread___pthread_mutex_init=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread___pthread_mutex_init" >&5 -$as_echo "$ac_cv_lib_pthread___pthread_mutex_init" >&6; } -if test "x$ac_cv_lib_pthread___pthread_mutex_init" = x""yes; then : - tcl_ok=yes -else - tcl_ok=no -fi - - fi - - if test "$tcl_ok" = "yes"; then - # The space is needed - THREADS_LIBS=" -lpthread" - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthreads" >&5 -$as_echo_n "checking for pthread_mutex_init in -lpthreads... " >&6; } -if test "${ac_cv_lib_pthreads_pthread_mutex_init+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lpthreads $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char pthread_mutex_init (); -int -main () -{ -return pthread_mutex_init (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_pthreads_pthread_mutex_init=yes -else - ac_cv_lib_pthreads_pthread_mutex_init=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_mutex_init" >&5 -$as_echo "$ac_cv_lib_pthreads_pthread_mutex_init" >&6; } -if test "x$ac_cv_lib_pthreads_pthread_mutex_init" = x""yes; then : - tcl_ok=yes -else - tcl_ok=no -fi - - if test "$tcl_ok" = "yes"; then - # The space is needed - THREADS_LIBS=" -lpthreads" - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lc" >&5 -$as_echo_n "checking for pthread_mutex_init in -lc... " >&6; } -if test "${ac_cv_lib_c_pthread_mutex_init+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lc $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char pthread_mutex_init (); -int -main () -{ -return pthread_mutex_init (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_c_pthread_mutex_init=yes -else - ac_cv_lib_c_pthread_mutex_init=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pthread_mutex_init" >&5 -$as_echo "$ac_cv_lib_c_pthread_mutex_init" >&6; } -if test "x$ac_cv_lib_c_pthread_mutex_init" = x""yes; then : - tcl_ok=yes -else - tcl_ok=no -fi - - if test "$tcl_ok" = "no"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lc_r" >&5 -$as_echo_n "checking for pthread_mutex_init in -lc_r... " >&6; } -if test "${ac_cv_lib_c_r_pthread_mutex_init+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lc_r $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char pthread_mutex_init (); -int -main () -{ -return pthread_mutex_init (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_c_r_pthread_mutex_init=yes -else - ac_cv_lib_c_r_pthread_mutex_init=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_mutex_init" >&5 -$as_echo "$ac_cv_lib_c_r_pthread_mutex_init" >&6; } -if test "x$ac_cv_lib_c_r_pthread_mutex_init" = x""yes; then : - tcl_ok=yes -else - tcl_ok=no -fi - - if test "$tcl_ok" = "yes"; then - # The space is needed - THREADS_LIBS=" -pthread" - else - TCL_THREADS=0 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Do not know how to find pthread lib on your system - thread support disabled" >&5 -$as_echo "$as_me: WARNING: Do not know how to find pthread lib on your system - thread support disabled" >&2;} - fi - fi - fi - fi - fi - else - TCL_THREADS=0 - fi - # Do checking message here to not mess up interleaved configure output - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for building with threads" >&5 -$as_echo_n "checking for building with threads... " >&6; } - if test "${TCL_THREADS}" = 1; then - -$as_echo "#define TCL_THREADS 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5 -$as_echo "yes (default)" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - fi - # TCL_THREADS sanity checking. See if our request for building with - # threads is the same as the way Tcl was built. If not, warn the user. - case ${TCL_DEFS} in - *THREADS=1*) - if test "${TCL_THREADS}" = "0"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: - Building ${PACKAGE_NAME} without threads enabled, but building against Tcl - that IS thread-enabled. It is recommended to use --enable-threads." >&5 -$as_echo "$as_me: WARNING: - Building ${PACKAGE_NAME} without threads enabled, but building against Tcl - that IS thread-enabled. It is recommended to use --enable-threads." >&2;} - fi - ;; - *) - if test "${TCL_THREADS}" = "1"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: - --enable-threads requested, but building against a Tcl that is NOT - thread-enabled. This is an OK configuration that will also run in - a thread-enabled core." >&5 -$as_echo "$as_me: WARNING: - --enable-threads requested, but building against a Tcl that is NOT - thread-enabled. This is an OK configuration that will also run in - a thread-enabled core." >&2;} - fi - ;; - esac - - - -#-------------------------------------------------------------------- -# The statement below defines a collection of symbols related to -# building as a shared library instead of a static library. -#-------------------------------------------------------------------- - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build libraries" >&5 -$as_echo_n "checking how to build libraries... " >&6; } - # Check whether --enable-shared was given. -if test "${enable_shared+set}" = set; then : - enableval=$enable_shared; tcl_ok=$enableval -else - tcl_ok=yes -fi - - - if test "${enable_shared+set}" = set; then - enableval="$enable_shared" - tcl_ok=$enableval - else - tcl_ok=yes - fi - - if test "$tcl_ok" = "yes" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5 -$as_echo "shared" >&6; } - SHARED_BUILD=1 - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5 -$as_echo "static" >&6; } - SHARED_BUILD=0 - -$as_echo "#define STATIC_BUILD 1" >>confdefs.h - - fi - - - -#-------------------------------------------------------------------- -# This macro figures out what flags to use with the compiler/linker -# when building shared/static debug/optimized objects. This information -# can be taken from the tclConfig.sh file, but this figures it all out. -#-------------------------------------------------------------------- - - - - - # Step 0.a: Enable 64 bit support? - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5 -$as_echo_n "checking if 64bit support is requested... " >&6; } - # Check whether --enable-64bit was given. -if test "${enable_64bit+set}" = set; then : - enableval=$enable_64bit; do64bit=$enableval -else - do64bit=no -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5 -$as_echo "$do64bit" >&6; } - - # Step 0.b: Enable Solaris 64 bit VIS support? - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5 -$as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; } - # Check whether --enable-64bit-vis was given. -if test "${enable_64bit_vis+set}" = set; then : - enableval=$enable_64bit_vis; do64bitVIS=$enableval -else - do64bitVIS=no -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5 -$as_echo "$do64bitVIS" >&6; } - # Force 64bit on with VIS - if test "$do64bitVIS" = "yes"; then : - do64bit=yes -fi - - # Step 0.c: Check if visibility support is available. Do this here so - # that platform specific alternatives can be used below if this fails. - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports visibility \"hidden\"" >&5 -$as_echo_n "checking if compiler supports visibility \"hidden\"... " >&6; } -if test "${tcl_cv_cc_visibility_hidden+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -Werror" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - - extern __attribute__((__visibility__("hidden"))) void f(void); - void f(void) {} -int -main () -{ -f(); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - tcl_cv_cc_visibility_hidden=yes -else - tcl_cv_cc_visibility_hidden=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CFLAGS=$hold_cflags -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_visibility_hidden" >&5 -$as_echo "$tcl_cv_cc_visibility_hidden" >&6; } - if test $tcl_cv_cc_visibility_hidden = yes; then : - - -$as_echo "#define MODULE_SCOPE extern __attribute__((__visibility__(\"hidden\")))" >>confdefs.h - - -fi - - # Step 0.d: Disable -rpath support? - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if rpath support is requested" >&5 -$as_echo_n "checking if rpath support is requested... " >&6; } - # Check whether --enable-rpath was given. -if test "${enable_rpath+set}" = set; then : - enableval=$enable_rpath; doRpath=$enableval -else - doRpath=yes -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $doRpath" >&5 -$as_echo "$doRpath" >&6; } - - # TEA specific: Cross-compiling options for Windows/CE builds? - - if test "${TEA_PLATFORM}" = windows; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Windows/CE build is requested" >&5 -$as_echo_n "checking if Windows/CE build is requested... " >&6; } - # Check whether --enable-wince was given. -if test "${enable_wince+set}" = set; then : - enableval=$enable_wince; doWince=$enableval -else - doWince=no -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $doWince" >&5 -$as_echo "$doWince" >&6; } - -fi - - # Step 1: set the variable "system" to hold the name and version number - # for the system. - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5 -$as_echo_n "checking system version... " >&6; } -if test "${tcl_cv_sys_version+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - # TEA specific: - if test "${TEA_PLATFORM}" = "windows" ; then - tcl_cv_sys_version=windows - elif test -f /usr/lib/NextStep/software_version; then - tcl_cv_sys_version=NEXTSTEP-`awk '/3/,/3/' /usr/lib/NextStep/software_version` - else - tcl_cv_sys_version=`uname -s`-`uname -r` - if test "$?" -ne 0 ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5 -$as_echo "$as_me: WARNING: can't find uname command" >&2;} - tcl_cv_sys_version=unknown - else - # Special check for weird MP-RAS system (uname returns weird - # results, and the version is kept in special file). - - if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then - tcl_cv_sys_version=MP-RAS-`awk '{print $3}' /etc/.relid` - fi - if test "`uname -s`" = "AIX" ; then - tcl_cv_sys_version=AIX-`uname -v`.`uname -r` - fi - fi - fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5 -$as_echo "$tcl_cv_sys_version" >&6; } - system=$tcl_cv_sys_version - - - # Step 2: check for existence of -ldl library. This is needed because - # Linux can use either -ldl or -ldld for dynamic loading. - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 -$as_echo_n "checking for dlopen in -ldl... " >&6; } -if test "${ac_cv_lib_dl_dlopen+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldl $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dlopen (); -int -main () -{ -return dlopen (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_dl_dlopen=yes -else - ac_cv_lib_dl_dlopen=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 -$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : - have_dl=yes -else - have_dl=no -fi - - - # Require ranlib early so we can override it in special cases below. - - - - # Step 3: set configuration options based on system name and version. - # This is similar to Tcl's unix/tcl.m4 except that we've added a - # "windows" case. - - do64bit_ok=no - LDFLAGS_ORIG="$LDFLAGS" - # When ld needs options to work in 64-bit mode, put them in - # LDFLAGS_ARCH so they eventually end up in LDFLAGS even if [load] - # is disabled by the user. [Bug 1016796] - LDFLAGS_ARCH="" - TCL_EXPORT_FILE_SUFFIX="" - UNSHARED_LIB_SUFFIX="" - # TEA specific: use PACKAGE_VERSION instead of VERSION - TCL_TRIM_DOTS='`echo ${PACKAGE_VERSION} | tr -d .`' - ECHO_VERSION='`echo ${PACKAGE_VERSION}`' - TCL_LIB_VERSIONS_OK=ok - CFLAGS_DEBUG=-g - CFLAGS_OPTIMIZE=-O - if test "$GCC" = yes; then : - - # TEA specific: - CFLAGS_OPTIMIZE=-O2 - CFLAGS_WARNING="-Wall -Wno-implicit-int" - -else - CFLAGS_WARNING="" -fi - TCL_NEEDS_EXP_FILE=0 - TCL_BUILD_EXP_FILE="" - TCL_EXP_FILE="" - # Extract the first word of "ar", so it can be a program name with args. -set dummy ar; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AR+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AR"; then - ac_cv_prog_AR="$AR" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_AR="ar" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AR=$ac_cv_prog_AR -if test -n "$AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -$as_echo "$AR" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - STLIB_LD='${AR} cr' - LD_LIBRARY_PATH_VAR="LD_LIBRARY_PATH" - case $system in - # TEA specific: - windows) - # This is a 2-stage check to make sure we have the 64-bit SDK - # We have to know where the SDK is installed. - # This magic is based on MS Platform SDK for Win2003 SP1 - hobbs - # MACHINE is IX86 for LINK, but this is used by the manifest, - # which requires x86|amd64|ia64. - MACHINE="X86" - if test "$do64bit" != "no" ; then - if test "x${MSSDK}x" = "xx" ; then - MSSDK="C:/Progra~1/Microsoft Platform SDK" - fi - MSSDK=`echo "$MSSDK" | sed -e 's!\\\!/!g'` - PATH64="" - case "$do64bit" in - amd64|x64|yes) - MACHINE="AMD64" ; # default to AMD64 64-bit build - PATH64="${MSSDK}/Bin/Win64/x86/AMD64" - ;; - ia64) - MACHINE="IA64" - PATH64="${MSSDK}/Bin/Win64" - ;; - esac - if test ! -d "${PATH64}" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find 64-bit $MACHINE SDK to enable 64bit mode" >&5 -$as_echo "$as_me: WARNING: Could not find 64-bit $MACHINE SDK to enable 64bit mode" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ensure latest Platform SDK is installed" >&5 -$as_echo "$as_me: WARNING: Ensure latest Platform SDK is installed" >&2;} - do64bit="no" - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using 64-bit $MACHINE mode" >&5 -$as_echo " Using 64-bit $MACHINE mode" >&6; } - do64bit_ok="yes" - fi - fi - - if test "$doWince" != "no" ; then - if test "$do64bit" != "no" ; then - as_fn_error "Windows/CE and 64-bit builds incompatible" "$LINENO" 5 - fi - if test "$GCC" = "yes" ; then - as_fn_error "Windows/CE and GCC builds incompatible" "$LINENO" 5 - fi - - # First, look for one uninstalled. - # the alternative search directory is invoked by --with-celib - - if test x"${no_celib}" = x ; then - # we reset no_celib in case something fails here - no_celib=true - -# Check whether --with-celib was given. -if test "${with_celib+set}" = set; then : - withval=$with_celib; with_celibconfig=${withval} -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows/CE celib directory" >&5 -$as_echo_n "checking for Windows/CE celib directory... " >&6; } - if test "${ac_cv_c_celibconfig+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - # First check to see if --with-celibconfig was specified. - if test x"${with_celibconfig}" != x ; then - if test -d "${with_celibconfig}/inc" ; then - ac_cv_c_celibconfig=`(cd ${with_celibconfig}; pwd)` - else - as_fn_error "${with_celibconfig} directory doesn't contain inc directory" "$LINENO" 5 - fi - fi - - # then check for a celib library - if test x"${ac_cv_c_celibconfig}" = x ; then - for i in \ - ../celib-palm-3.0 \ - ../celib \ - ../../celib-palm-3.0 \ - ../../celib \ - `ls -dr ../celib-*3.[0-9]* 2>/dev/null` \ - ${srcdir}/../celib-palm-3.0 \ - ${srcdir}/../celib \ - `ls -dr ${srcdir}/../celib-*3.[0-9]* 2>/dev/null` \ - ; do - if test -d "$i/inc" ; then - ac_cv_c_celibconfig=`(cd $i; pwd)` - break - fi - done - fi - -fi - - if test x"${ac_cv_c_celibconfig}" = x ; then - as_fn_error "Cannot find celib support library directory" "$LINENO" 5 - else - no_celib= - CELIB_DIR=${ac_cv_c_celibconfig} - CELIB_DIR=`echo "$CELIB_DIR" | sed -e 's!\\\!/!g'` - { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $CELIB_DIR" >&5 -$as_echo "found $CELIB_DIR" >&6; } - fi - fi - - # Set defaults for common evc4/PPC2003 setup - # Currently Tcl requires 300+, possibly 420+ for sockets - CEVERSION=420; # could be 211 300 301 400 420 ... - TARGETCPU=ARMV4; # could be ARMV4 ARM MIPS SH3 X86 ... - ARCH=ARM; # could be ARM MIPS X86EM ... - PLATFORM="Pocket PC 2003"; # or "Pocket PC 2002" - if test "$doWince" != "yes"; then - # If !yes then the user specified something - # Reset ARCH to allow user to skip specifying it - ARCH= - eval `echo $doWince | awk -F, '{ \ - if (length($1)) { printf "CEVERSION=\"%s\"\n", $1; \ - if ($1 < 400) { printf "PLATFORM=\"Pocket PC 2002\"\n" } }; \ - if (length($2)) { printf "TARGETCPU=\"%s\"\n", toupper($2) }; \ - if (length($3)) { printf "ARCH=\"%s\"\n", toupper($3) }; \ - if (length($4)) { printf "PLATFORM=\"%s\"\n", $4 }; \ - }'` - if test "x${ARCH}" = "x" ; then - ARCH=$TARGETCPU; - fi - fi - OSVERSION=WCE$CEVERSION; - if test "x${WCEROOT}" = "x" ; then - WCEROOT="C:/Program Files/Microsoft eMbedded C++ 4.0" - if test ! -d "${WCEROOT}" ; then - WCEROOT="C:/Program Files/Microsoft eMbedded Tools" - fi - fi - if test "x${SDKROOT}" = "x" ; then - SDKROOT="C:/Program Files/Windows CE Tools" - if test ! -d "${SDKROOT}" ; then - SDKROOT="C:/Windows CE Tools" - fi - fi - WCEROOT=`echo "$WCEROOT" | sed -e 's!\\\!/!g'` - SDKROOT=`echo "$SDKROOT" | sed -e 's!\\\!/!g'` - if test ! -d "${SDKROOT}/${OSVERSION}/${PLATFORM}/Lib/${TARGETCPU}" \ - -o ! -d "${WCEROOT}/EVC/${OSVERSION}/bin"; then - as_fn_error "could not find PocketPC SDK or target compiler to enable WinCE mode $CEVERSION,$TARGETCPU,$ARCH,$PLATFORM" "$LINENO" 5 - doWince="no" - else - # We could PATH_NOSPACE these, but that's not important, - # as long as we quote them when used. - CEINCLUDE="${SDKROOT}/${OSVERSION}/${PLATFORM}/include" - if test -d "${CEINCLUDE}/${TARGETCPU}" ; then - CEINCLUDE="${CEINCLUDE}/${TARGETCPU}" - fi - CELIBPATH="${SDKROOT}/${OSVERSION}/${PLATFORM}/Lib/${TARGETCPU}" - fi - fi - - if test "$GCC" != "yes" ; then - if test "${SHARED_BUILD}" = "0" ; then - runtime=-MT - else - runtime=-MD - fi - - if test "$do64bit" != "no" ; then - # All this magic is necessary for the Win64 SDK RC1 - hobbs - CC="\"${PATH64}/cl.exe\"" - CFLAGS="${CFLAGS} -I\"${MSSDK}/Include\" -I\"${MSSDK}/Include/crt\" -I\"${MSSDK}/Include/crt/sys\"" - RC="\"${MSSDK}/bin/rc.exe\"" - lflags="-nologo -MACHINE:${MACHINE} -LIBPATH:\"${MSSDK}/Lib/${MACHINE}\"" - LINKBIN="\"${PATH64}/link.exe\"" - CFLAGS_DEBUG="-nologo -Zi -Od -W3 ${runtime}d" - CFLAGS_OPTIMIZE="-nologo -O2 -W2 ${runtime}" - # Avoid 'unresolved external symbol __security_cookie' - # errors, c.f. http://support.microsoft.com/?id=894573 - - vars="bufferoverflowU.lib" - for i in $vars; do - if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then - # Convert foo.lib to -lfoo for GCC. No-op if not *.lib - i=`echo "$i" | sed -e 's/^\([^-].*\)\.lib$/-l\1/i'` - fi - PKG_LIBS="$PKG_LIBS $i" - done - - - elif test "$doWince" != "no" ; then - CEBINROOT="${WCEROOT}/EVC/${OSVERSION}/bin" - if test "${TARGETCPU}" = "X86"; then - CC="\"${CEBINROOT}/cl.exe\"" - else - CC="\"${CEBINROOT}/cl${ARCH}.exe\"" - fi - CFLAGS="$CFLAGS -I\"${CELIB_DIR}/inc\" -I\"${CEINCLUDE}\"" - RC="\"${WCEROOT}/Common/EVC/bin/rc.exe\"" - arch=`echo ${ARCH} | awk '{print tolower($0)}'` - defs="${ARCH} _${ARCH}_ ${arch} PALM_SIZE _MT _WINDOWS" - if test "${SHARED_BUILD}" = "1" ; then - # Static CE builds require static celib as well - defs="${defs} _DLL" - fi - for i in $defs ; do - -cat >>confdefs.h <<_ACEOF -#define $i 1 -_ACEOF - - done - -cat >>confdefs.h <<_ACEOF -#define _WIN32_WCE $CEVERSION -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define UNDER_CE $CEVERSION -_ACEOF - - CFLAGS_DEBUG="-nologo -Zi -Od" - CFLAGS_OPTIMIZE="-nologo -Ox" - lversion=`echo ${CEVERSION} | sed -e 's/\(.\)\(..\)/\1\.\2/'` - lflags="-MACHINE:${ARCH} -LIBPATH:\"${CELIBPATH}\" -subsystem:windowsce,${lversion} -nologo" - LINKBIN="\"${CEBINROOT}/link.exe\"" - - else - RC="rc" - lflags="-nologo" - LINKBIN="link" - CFLAGS_DEBUG="-nologo -Z7 -Od -W3 -WX ${runtime}d" - CFLAGS_OPTIMIZE="-nologo -O2 -W2 ${runtime}" - fi - fi - - if test "$GCC" = "yes"; then - # mingw gcc mode - RC="windres" - CFLAGS_DEBUG="-g" - CFLAGS_OPTIMIZE="-O2 -fomit-frame-pointer" - SHLIB_LD="$CC -shared" - UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' - LDFLAGS_CONSOLE="-wl,--subsystem,console ${lflags}" - LDFLAGS_WINDOW="-wl,--subsystem,windows ${lflags}" - else - SHLIB_LD="${LINKBIN} -dll ${lflags}" - # link -lib only works when -lib is the first arg - STLIB_LD="${LINKBIN} -lib ${lflags}" - UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.lib' - PATHTYPE=-w - # For information on what debugtype is most useful, see: - # http://msdn.microsoft.com/library/en-us/dnvc60/html/gendepdebug.asp - # and also - # http://msdn2.microsoft.com/en-us/library/y0zzbyt4%28VS.80%29.aspx - # This essentially turns it all on. - LDFLAGS_DEBUG="-debug -debugtype:cv" - LDFLAGS_OPTIMIZE="-release" - if test "$doWince" != "no" ; then - LDFLAGS_CONSOLE="-link ${lflags}" - LDFLAGS_WINDOW=${LDFLAGS_CONSOLE} - else - LDFLAGS_CONSOLE="-link -subsystem:console ${lflags}" - LDFLAGS_WINDOW="-link -subsystem:windows ${lflags}" - fi - fi - - SHLIB_LD_LIBS='${LIBS}' - SHLIB_SUFFIX=".dll" - SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.dll' - - TCL_LIB_VERSIONS_OK=nodots - # Bogus to avoid getting this turned off - DL_OBJS="tclLoadNone.obj" - ;; - AIX-*) - if test "${TCL_THREADS}" = "1" -a "$GCC" != "yes"; then : - - # AIX requires the _r compiler when gcc isn't being used - case "${CC}" in - *_r) - # ok ... - ;; - *) - CC=${CC}_r - ;; - esac - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5 -$as_echo "Using $CC for compiling with threads" >&6; } - -fi - LIBS="$LIBS -lc" - SHLIB_CFLAGS="" - SHLIB_LD_LIBS='${LIBS}' - SHLIB_SUFFIX=".so" - - DL_OBJS="tclLoadDl.o" - LD_LIBRARY_PATH_VAR="LIBPATH" - - # Check to enable 64-bit flags for compiler/linker on AIX 4+ - if test "$do64bit" = yes -a "`uname -v`" -gt 3; then : - - if test "$GCC" = yes; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 -$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} - -else - - do64bit_ok=yes - CFLAGS="$CFLAGS -q64" - LDFLAGS_ARCH="-q64" - RANLIB="${RANLIB} -X64" - AR="${AR} -X64" - SHLIB_LD_FLAGS="-b64" - -fi - -fi - - if test "`uname -m`" = ia64; then : - - # AIX-5 uses ELF style dynamic libraries on IA-64, but not PPC - SHLIB_LD="/usr/ccs/bin/ld -G -z text" - # AIX-5 has dl* in libc.so - DL_LIBS="" - if test "$GCC" = yes; then : - - CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' - -else - - CC_SEARCH_FLAGS='-R${LIB_RUNTIME_DIR}' - -fi - LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}' - -else - - if test "$GCC" = yes; then : - SHLIB_LD='${CC} -shared' -else - - SHLIB_LD="/bin/ld -bhalt:4 -bM:SRE -bE:lib.exp -H512 -T512 -bnoentry" - -fi - SHLIB_LD="${TCL_SRC_DIR}/unix/ldAix ${SHLIB_LD} ${SHLIB_LD_FLAGS}" - DL_LIBS="-ldl" - CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} - TCL_NEEDS_EXP_FILE=1 - # TEA specific: use PACKAGE_VERSION instead of VERSION - TCL_EXPORT_FILE_SUFFIX='${PACKAGE_VERSION}.exp' - -fi - - # AIX v<=4.1 has some different flags than 4.2+ - if test "$system" = "AIX-4.1" -o "`uname -v`" -lt 4; then : - - case " $LIBOBJS " in - *" tclLoadAix.$ac_objext "* ) ;; - *) LIBOBJS="$LIBOBJS tclLoadAix.$ac_objext" - ;; -esac - - DL_LIBS="-lld" - -fi - - # On AIX <=v4 systems, libbsd.a has to be linked in to support - # non-blocking file IO. This library has to be linked in after - # the MATH_LIBS or it breaks the pow() function. The way to - # insure proper sequencing, is to add it to the tail of MATH_LIBS. - # This library also supplies gettimeofday. - # - # AIX does not have a timezone field in struct tm. When the AIX - # bsd library is used, the timezone global and the gettimeofday - # methods are to be avoided for timezone deduction instead, we - # deduce the timezone by comparing the localtime result on a - # known GMT value. - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5 -$as_echo_n "checking for gettimeofday in -lbsd... " >&6; } -if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lbsd $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char gettimeofday (); -int -main () -{ -return gettimeofday (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_bsd_gettimeofday=yes -else - ac_cv_lib_bsd_gettimeofday=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5 -$as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; } -if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then : - libbsd=yes -else - libbsd=no -fi - - if test $libbsd = yes; then : - - MATH_LIBS="$MATH_LIBS -lbsd" - -$as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h - - -fi - ;; - BeOS*) - SHLIB_CFLAGS="-fPIC" - SHLIB_LD='${CC} -nostart' - SHLIB_LD_LIBS='${LIBS}' - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" - - #----------------------------------------------------------- - # Check for inet_ntoa in -lbind, for BeOS (which also needs - # -lsocket, even if the network functions are in -lnet which - # is always linked to, for compatibility. - #----------------------------------------------------------- - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5 -$as_echo_n "checking for inet_ntoa in -lbind... " >&6; } -if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lbind $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char inet_ntoa (); -int -main () -{ -return inet_ntoa (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_bind_inet_ntoa=yes -else - ac_cv_lib_bind_inet_ntoa=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5 -$as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; } -if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then : - LIBS="$LIBS -lbind -lsocket" -fi - - ;; - BSD/OS-2.1*|BSD/OS-3*) - SHLIB_CFLAGS="" - SHLIB_LD="shlicc -r" - SHLIB_LD_LIBS='${LIBS}' - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - ;; - BSD/OS-4.*) - SHLIB_CFLAGS="-export-dynamic -fPIC" - SHLIB_LD='${CC} -shared' - SHLIB_LD_LIBS='${LIBS}' - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" - LDFLAGS="$LDFLAGS -export-dynamic" - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - ;; - dgux*) - SHLIB_CFLAGS="-K PIC" - SHLIB_LD='${CC} -G' - SHLIB_LD_LIBS="" - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - ;; - HP-UX-*.11.*) - # Use updated header definitions where possible - -$as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h - - # TEA specific: Needed by Tcl, but not most extensions - #AC_DEFINE(_XOPEN_SOURCE, 1, [Do we want to use the XOPEN network library?]) - #LIBS="$LIBS -lxnet" # Use the XOPEN network library - - if test "`uname -m`" = ia64; then : - - SHLIB_SUFFIX=".so" - # Use newer C++ library for C++ extensions - #if test "$GCC" != "yes" ; then - # CPPFLAGS="-AA" - #fi - -else - - SHLIB_SUFFIX=".sl" - -fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 -$as_echo_n "checking for shl_load in -ldld... " >&6; } -if test "${ac_cv_lib_dld_shl_load+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldld $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char shl_load (); -int -main () -{ -return shl_load (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_dld_shl_load=yes -else - ac_cv_lib_dld_shl_load=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 -$as_echo "$ac_cv_lib_dld_shl_load" >&6; } -if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : - tcl_ok=yes -else - tcl_ok=no -fi - - if test "$tcl_ok" = yes; then : - - SHLIB_CFLAGS="+z" - SHLIB_LD="ld -b" - SHLIB_LD_LIBS='${LIBS}' - DL_OBJS="tclLoadShl.o" - DL_LIBS="-ldld" - LDFLAGS="$LDFLAGS -Wl,-E" - CC_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.' - LD_SEARCH_FLAGS='+s +b ${LIB_RUNTIME_DIR}:.' - LD_LIBRARY_PATH_VAR="SHLIB_PATH" - -fi - if test "$GCC" = yes; then : - - SHLIB_LD='${CC} -shared' - SHLIB_LD_LIBS='${LIBS}' - LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} - -fi - - # Users may want PA-RISC 1.1/2.0 portable code - needs HP cc - #CFLAGS="$CFLAGS +DAportable" - - # Check to enable 64-bit flags for compiler/linker - if test "$do64bit" = "yes"; then : - - if test "$GCC" = yes; then : - - case `${CC} -dumpmachine` in - hppa64*) - # 64-bit gcc in use. Fix flags for GNU ld. - do64bit_ok=yes - SHLIB_LD='${CC} -shared' - SHLIB_LD_LIBS='${LIBS}' - if test $doRpath = yes; then : - - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -fi - LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} - ;; - *) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 -$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;} - ;; - esac - -else - - do64bit_ok=yes - CFLAGS="$CFLAGS +DD64" - LDFLAGS_ARCH="+DD64" - -fi - -fi ;; - HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*) - SHLIB_SUFFIX=".sl" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 -$as_echo_n "checking for shl_load in -ldld... " >&6; } -if test "${ac_cv_lib_dld_shl_load+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldld $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char shl_load (); -int -main () -{ -return shl_load (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_dld_shl_load=yes -else - ac_cv_lib_dld_shl_load=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 -$as_echo "$ac_cv_lib_dld_shl_load" >&6; } -if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : - tcl_ok=yes -else - tcl_ok=no -fi - - if test "$tcl_ok" = yes; then : - - SHLIB_CFLAGS="+z" - SHLIB_LD="ld -b" - SHLIB_LD_LIBS="" - DL_OBJS="tclLoadShl.o" - DL_LIBS="-ldld" - LDFLAGS="$LDFLAGS -Wl,-E" - CC_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.' - LD_SEARCH_FLAGS='+s +b ${LIB_RUNTIME_DIR}:.' - LD_LIBRARY_PATH_VAR="SHLIB_PATH" - -fi ;; - IRIX-5.*) - SHLIB_CFLAGS="" - SHLIB_LD="ld -shared -rdata_shared" - SHLIB_LD_LIBS='${LIBS}' - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="" - if test $doRpath = yes; then : - - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' -fi - ;; - IRIX-6.*) - SHLIB_CFLAGS="" - SHLIB_LD="ld -n32 -shared -rdata_shared" - SHLIB_LD_LIBS='${LIBS}' - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="" - if test $doRpath = yes; then : - - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' -fi - if test "$GCC" = yes; then : - - CFLAGS="$CFLAGS -mabi=n32" - LDFLAGS="$LDFLAGS -mabi=n32" - -else - - case $system in - IRIX-6.3) - # Use to build 6.2 compatible binaries on 6.3. - CFLAGS="$CFLAGS -n32 -D_OLD_TERMIOS" - ;; - *) - CFLAGS="$CFLAGS -n32" - ;; - esac - LDFLAGS="$LDFLAGS -n32" - -fi - ;; - IRIX64-6.*) - SHLIB_CFLAGS="" - SHLIB_LD="ld -n32 -shared -rdata_shared" - SHLIB_LD_LIBS='${LIBS}' - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="" - if test $doRpath = yes; then : - - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' -fi - - # Check to enable 64-bit flags for compiler/linker - - if test "$do64bit" = yes; then : - - if test "$GCC" = yes; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5 -$as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;} - -else - - do64bit_ok=yes - SHLIB_LD="ld -64 -shared -rdata_shared" - CFLAGS="$CFLAGS -64" - LDFLAGS_ARCH="-64" - -fi - -fi - ;; - Linux*) - SHLIB_CFLAGS="-fPIC" - SHLIB_LD_LIBS='${LIBS}' - SHLIB_SUFFIX=".so" - - # TEA specific: - CFLAGS_OPTIMIZE="-O2 -fomit-frame-pointer" - # egcs-2.91.66 on Redhat Linux 6.0 generates lots of warnings - # when you inline the string and math operations. Turn this off to - # get rid of the warnings. - #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES" - - # TEA specific: use LDFLAGS_DEFAULT instead of LDFLAGS - SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS_DEFAULT}' - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" - LDFLAGS="$LDFLAGS -Wl,--export-dynamic" - if test $doRpath = yes; then : - - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -fi - LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} - if test "`uname -m`" = "alpha"; then : - CFLAGS="$CFLAGS -mieee" -fi - if test $do64bit = yes; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5 -$as_echo_n "checking if compiler accepts -m64 flag... " >&6; } -if test "${tcl_cv_cc_m64+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - hold_cflags=$CFLAGS - CFLAGS="$CFLAGS -m64" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - tcl_cv_cc_m64=yes -else - tcl_cv_cc_m64=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CFLAGS=$hold_cflags -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5 -$as_echo "$tcl_cv_cc_m64" >&6; } - if test $tcl_cv_cc_m64 = yes; then : - - CFLAGS="$CFLAGS -m64" - do64bit_ok=yes - -fi - -fi - - # The combo of gcc + glibc has a bug related to inlining of - # functions like strtod(). The -fno-builtin flag should address - # this problem but it does not work. The -fno-inline flag is kind - # of overkill but it works. Disable inlining only when one of the - # files in compat/*.c is being linked in. - - if test x"${USE_COMPAT}" != x; then : - CFLAGS="$CFLAGS -fno-inline" -fi - - ;; - GNU*) - SHLIB_CFLAGS="-fPIC" - SHLIB_LD_LIBS='${LIBS}' - SHLIB_SUFFIX=".so" - - SHLIB_LD='${CC} -shared' - DL_OBJS="" - DL_LIBS="-ldl" - LDFLAGS="$LDFLAGS -Wl,--export-dynamic" - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - if test "`uname -m`" = "alpha"; then : - CFLAGS="$CFLAGS -mieee" -fi - ;; - Lynx*) - SHLIB_CFLAGS="-fPIC" - SHLIB_LD_LIBS='${LIBS}' - SHLIB_SUFFIX=".so" - CFLAGS_OPTIMIZE=-02 - SHLIB_LD='${CC} -shared' - DL_OBJS="tclLoadDl.o" - DL_LIBS="-mshared -ldl" - LD_FLAGS="-Wl,--export-dynamic" - if test $doRpath = yes; then : - - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -fi - ;; - MP-RAS-02*) - SHLIB_CFLAGS="-K PIC" - SHLIB_LD='${CC} -G' - SHLIB_LD_LIBS="" - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - ;; - MP-RAS-*) - SHLIB_CFLAGS="-K PIC" - SHLIB_LD='${CC} -G' - SHLIB_LD_LIBS="" - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" - LDFLAGS="$LDFLAGS -Wl,-Bexport" - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - ;; - NetBSD-1.*|FreeBSD-[1-2].*) - SHLIB_CFLAGS="-fPIC" - SHLIB_LD="ld -Bshareable -x" - SHLIB_LD_LIBS='${LIBS}' - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="" - if test $doRpath = yes; then : - - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' -fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 -$as_echo_n "checking for ELF... " >&6; } -if test "${tcl_cv_ld_elf+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifdef __ELF__ - yes -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "yes" >/dev/null 2>&1; then : - tcl_cv_ld_elf=yes -else - tcl_cv_ld_elf=no -fi -rm -f conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 -$as_echo "$tcl_cv_ld_elf" >&6; } - if test $tcl_cv_ld_elf = yes; then : - - SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so' - -else - - SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0' - -fi - - # Ancient FreeBSD doesn't handle version numbers with dots. - - UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' - TCL_LIB_VERSIONS_OK=nodots - ;; - OpenBSD-*) - SHLIB_CFLAGS="-fPIC" - SHLIB_LD='${CC} -shared ${SHLIB_CFLAGS}' - SHLIB_LD_LIBS='${LIBS}' - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="" - if test $doRpath = yes; then : - - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -fi - LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} - SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0' - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 -$as_echo_n "checking for ELF... " >&6; } -if test "${tcl_cv_ld_elf+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifdef __ELF__ - yes -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "yes" >/dev/null 2>&1; then : - tcl_cv_ld_elf=yes -else - tcl_cv_ld_elf=no -fi -rm -f conftest* - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5 -$as_echo "$tcl_cv_ld_elf" >&6; } - if test $tcl_cv_ld_elf = yes; then : - - LDFLAGS=-Wl,-export-dynamic - -else - LDFLAGS="" -fi - - # OpenBSD doesn't do version numbers with dots. - UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' - TCL_LIB_VERSIONS_OK=nodots - ;; - NetBSD-*|FreeBSD-*) - # FreeBSD 3.* and greater have ELF. - # NetBSD 2.* has ELF and can use 'cc -shared' to build shared libs - SHLIB_CFLAGS="-fPIC" - SHLIB_LD='${CC} -shared ${SHLIB_CFLAGS}' - SHLIB_LD_LIBS='${LIBS}' - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="" - LDFLAGS="$LDFLAGS -export-dynamic" - if test $doRpath = yes; then : - - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -fi - LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} - if test "${TCL_THREADS}" = "1"; then : - - # The -pthread needs to go in the CFLAGS, not LIBS - LIBS=`echo $LIBS | sed s/-pthread//` - CFLAGS="$CFLAGS -pthread" - LDFLAGS="$LDFLAGS -pthread" - -fi - case $system in - FreeBSD-3.*) - # FreeBSD-3 doesn't handle version numbers with dots. - UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' - SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so' - TCL_LIB_VERSIONS_OK=nodots - ;; - esac - ;; - Darwin-*) - CFLAGS_OPTIMIZE="-Os" - SHLIB_CFLAGS="-fno-common" - # To avoid discrepancies between what headers configure sees during - # preprocessing tests and compiling tests, move any -isysroot and - # -mmacosx-version-min flags from CFLAGS to CPPFLAGS: - CPPFLAGS="${CPPFLAGS} `echo " ${CFLAGS}" | \ - awk 'BEGIN {FS=" +-";ORS=" "}; {for (i=2;i<=NF;i++) \ - if ($i~/^(isysroot|mmacosx-version-min)/) print "-"$i}'`" - CFLAGS="`echo " ${CFLAGS}" | \ - awk 'BEGIN {FS=" +-";ORS=" "}; {for (i=2;i<=NF;i++) \ - if (!($i~/^(isysroot|mmacosx-version-min)/)) print "-"$i}'`" - if test $do64bit = yes; then : - - case `arch` in - ppc) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5 -$as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; } -if test "${tcl_cv_cc_arch_ppc64+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - hold_cflags=$CFLAGS - CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - tcl_cv_cc_arch_ppc64=yes -else - tcl_cv_cc_arch_ppc64=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CFLAGS=$hold_cflags -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5 -$as_echo "$tcl_cv_cc_arch_ppc64" >&6; } - if test $tcl_cv_cc_arch_ppc64 = yes; then : - - CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5" - do64bit_ok=yes - -fi;; - i386) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5 -$as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; } -if test "${tcl_cv_cc_arch_x86_64+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - hold_cflags=$CFLAGS - CFLAGS="$CFLAGS -arch x86_64" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - tcl_cv_cc_arch_x86_64=yes -else - tcl_cv_cc_arch_x86_64=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CFLAGS=$hold_cflags -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5 -$as_echo "$tcl_cv_cc_arch_x86_64" >&6; } - if test $tcl_cv_cc_arch_x86_64 = yes; then : - - CFLAGS="$CFLAGS -arch x86_64" - do64bit_ok=yes - -fi;; - *) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5 -$as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};; - esac - -else - - # Check for combined 32-bit and 64-bit fat build - if echo "$CFLAGS " |grep -E -q -- '-arch (ppc64|x86_64) ' \ - && echo "$CFLAGS " |grep -E -q -- '-arch (ppc|i386) '; then : - - fat_32_64=yes -fi - -fi - # TEA specific: use LDFLAGS_DEFAULT instead of LDFLAGS - SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS_DEFAULT}' - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5 -$as_echo_n "checking if ld accepts -single_module flag... " >&6; } -if test "${tcl_cv_ld_single_module+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - hold_ldflags=$LDFLAGS - LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -int i; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - tcl_cv_ld_single_module=yes -else - tcl_cv_ld_single_module=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS=$hold_ldflags -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5 -$as_echo "$tcl_cv_ld_single_module" >&6; } - if test $tcl_cv_ld_single_module = yes; then : - - SHLIB_LD="${SHLIB_LD} -Wl,-single_module" - -fi - # TEA specific: link shlib with current and compatiblity version flags - vers=`echo ${PACKAGE_VERSION} | sed -e 's/^\([0-9]\{1,5\}\)\(\(\.[0-9]\{1,3\}\)\{0,2\}\).*$/\1\2/p' -e d` - SHLIB_LD="${SHLIB_LD} -current_version ${vers:-0} -compatibility_version ${vers:-0}" - SHLIB_LD_LIBS='${LIBS}' - SHLIB_SUFFIX=".dylib" - DL_OBJS="tclLoadDyld.o" - DL_LIBS="" - # Don't use -prebind when building for Mac OS X 10.4 or later only: - if test "`echo "${MACOSX_DEPLOYMENT_TARGET}" | awk -F '10\\.' '{print int($2)}'`" -lt 4 -a \ - "`echo "${CPPFLAGS}" | awk -F '-mmacosx-version-min=10\\.' '{print int($2)}'`" -lt 4; then : - - LDFLAGS="$LDFLAGS -prebind" -fi - LDFLAGS="$LDFLAGS -headerpad_max_install_names" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5 -$as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; } -if test "${tcl_cv_ld_search_paths_first+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - hold_ldflags=$LDFLAGS - LDFLAGS="$LDFLAGS -Wl,-search_paths_first" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -int i; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - tcl_cv_ld_search_paths_first=yes -else - tcl_cv_ld_search_paths_first=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS=$hold_ldflags -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5 -$as_echo "$tcl_cv_ld_search_paths_first" >&6; } - if test $tcl_cv_ld_search_paths_first = yes; then : - - LDFLAGS="$LDFLAGS -Wl,-search_paths_first" - -fi - if test "$tcl_cv_cc_visibility_hidden" != yes; then : - - -$as_echo "#define MODULE_SCOPE __private_extern__" >>confdefs.h - - -fi - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - LD_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH" - # TEA specific: for combined 32 & 64 bit fat builds of Tk - # extensions, verify that 64-bit build is possible. - if test "$fat_32_64" = yes && test -n "${TK_BIN_DIR}"; then : - - if test "${TEA_WINDOWINGSYSTEM}" = x11; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit X11" >&5 -$as_echo_n "checking for 64-bit X11... " >&6; } -if test "${tcl_cv_lib_x11_64+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - for v in CFLAGS CPPFLAGS LDFLAGS; do - eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"' - done - CPPFLAGS="$CPPFLAGS -I/usr/X11R6/include" - LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -lX11" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -XrmInitialize(); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - tcl_cv_lib_x11_64=yes -else - tcl_cv_lib_x11_64=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - for v in CFLAGS CPPFLAGS LDFLAGS; do - eval $v'="$hold_'$v'"' - done -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_x11_64" >&5 -$as_echo "$tcl_cv_lib_x11_64" >&6; } - -fi - # remove 64-bit arch flags from CFLAGS et al. if configuration - # does not support 64-bit. - if test "${TEA_WINDOWINGSYSTEM}" = aqua -o "$tcl_cv_lib_x11_64" = no; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: Removing 64-bit architectures from compiler & linker flags" >&5 -$as_echo "$as_me: Removing 64-bit architectures from compiler & linker flags" >&6;} - for v in CFLAGS CPPFLAGS LDFLAGS; do - eval $v'="`echo "$'$v' "|sed -e "s/-arch ppc64 / /g" -e "s/-arch x86_64 / /g"`"' - done -fi - -fi - ;; - NEXTSTEP-*) - SHLIB_CFLAGS="" - SHLIB_LD='${CC} -nostdlib -r' - SHLIB_LD_LIBS="" - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadNext.o" - DL_LIBS="" - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - ;; - OS/390-*) - CFLAGS_OPTIMIZE="" # Optimizer is buggy - -$as_echo "#define _OE_SOCKETS 1" >>confdefs.h - - ;; - OSF1-1.0|OSF1-1.1|OSF1-1.2) - # OSF/1 1.[012] from OSF, and derivatives, including Paragon OSF/1 - SHLIB_CFLAGS="" - # Hack: make package name same as library name - SHLIB_LD='ld -R -export :' - SHLIB_LD_LIBS="" - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadOSF.o" - DL_LIBS="" - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - ;; - OSF1-1.*) - # OSF/1 1.3 from OSF using ELF, and derivatives, including AD2 - SHLIB_CFLAGS="-fPIC" - if test "$SHARED_BUILD" = 1; then : - SHLIB_LD="ld -shared" -else - - SHLIB_LD="ld -non_shared" - -fi - SHLIB_LD_LIBS="" - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="" - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - ;; - OSF1-V*) - # Digital OSF/1 - SHLIB_CFLAGS="" - if test "$SHARED_BUILD" = 1; then : - - SHLIB_LD='${CC} -shared' - -else - - SHLIB_LD='${CC} -non_shared' - -fi - SHLIB_LD_LIBS="${LIBS}" - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="" - if test $doRpath = yes; then : - - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' -fi - if test "$GCC" = yes; then : - CFLAGS="$CFLAGS -mieee" -else - - CFLAGS="$CFLAGS -DHAVE_TZSET -std1 -ieee" -fi - # see pthread_intro(3) for pthread support on osf1, k.furukawa - if test "${TCL_THREADS}" = 1; then : - - CFLAGS="$CFLAGS -DHAVE_PTHREAD_ATTR_SETSTACKSIZE" - CFLAGS="$CFLAGS -DTCL_THREAD_STACK_MIN=PTHREAD_STACK_MIN*64" - LIBS=`echo $LIBS | sed s/-lpthreads//` - if test "$GCC" = yes; then : - - LIBS="$LIBS -lpthread -lmach -lexc" - -else - - CFLAGS="$CFLAGS -pthread" - LDFLAGS="$LDFLAGS -pthread" - -fi - -fi - ;; - QNX-6*) - # QNX RTP - # This may work for all QNX, but it was only reported for v6. - SHLIB_CFLAGS="-fPIC" - SHLIB_LD="ld -Bshareable -x" - SHLIB_LD_LIBS="" - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - # dlopen is in -lc on QNX - DL_LIBS="" - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - ;; - SCO_SV-3.2*) - # Note, dlopen is available only on SCO 3.2.5 and greater. However, - # this test works, since "uname -s" was non-standard in 3.2.4 and - # below. - if test "$GCC" = yes; then : - - SHLIB_CFLAGS="-fPIC -melf" - LDFLAGS="$LDFLAGS -melf -Wl,-Bexport" - -else - - SHLIB_CFLAGS="-Kpic -belf" - LDFLAGS="$LDFLAGS -belf -Wl,-Bexport" - -fi - SHLIB_LD="ld -G" - SHLIB_LD_LIBS="" - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="" - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - ;; - SINIX*5.4*) - SHLIB_CFLAGS="-K PIC" - SHLIB_LD='${CC} -G' - SHLIB_LD_LIBS="" - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - ;; - SunOS-4*) - SHLIB_CFLAGS="-PIC" - SHLIB_LD="ld" - SHLIB_LD_LIBS="" - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" - CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} - - # SunOS can't handle version numbers with dots in them in library - # specs, like -ltcl7.5, so use -ltcl75 instead. Also, it - # requires an extra version number at the end of .so file names. - # So, the library has to have a name like libtcl75.so.1.0 - - SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0' - UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' - TCL_LIB_VERSIONS_OK=nodots - ;; - SunOS-5.[0-6]) - # Careful to not let 5.10+ fall into this case - - # Note: If _REENTRANT isn't defined, then Solaris - # won't define thread-safe library routines. - - -$as_echo "#define _REENTRANT 1" >>confdefs.h - - -$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h - - - SHLIB_CFLAGS="-KPIC" - - # Note: need the LIBS below, otherwise Tk won't find Tcl's - # symbols when dynamically loaded into tclsh. - - SHLIB_LD_LIBS='${LIBS}' - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" - if test "$GCC" = yes; then : - - SHLIB_LD='${CC} -shared' - CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} - -else - - SHLIB_LD="/usr/ccs/bin/ld -G -z text" - CC_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} - -fi - ;; - SunOS-5*) - # Note: If _REENTRANT isn't defined, then Solaris - # won't define thread-safe library routines. - - -$as_echo "#define _REENTRANT 1" >>confdefs.h - - -$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h - - - SHLIB_CFLAGS="-KPIC" - - # Check to enable 64-bit flags for compiler/linker - if test "$do64bit" = yes; then : - - arch=`isainfo` - if test "$arch" = "sparcv9 sparc"; then : - - if test "$GCC" = yes; then : - - if test "`${CC} -dumpversion | awk -F. '{print $1}'`" -lt 3; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5 -$as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;} - -else - - do64bit_ok=yes - CFLAGS="$CFLAGS -m64 -mcpu=v9" - LDFLAGS="$LDFLAGS -m64 -mcpu=v9" - SHLIB_CFLAGS="-fPIC" - -fi - -else - - do64bit_ok=yes - if test "$do64bitVIS" = yes; then : - - CFLAGS="$CFLAGS -xarch=v9a" - LDFLAGS_ARCH="-xarch=v9a" - -else - - CFLAGS="$CFLAGS -xarch=v9" - LDFLAGS_ARCH="-xarch=v9" - -fi - # Solaris 64 uses this as well - #LD_LIBRARY_PATH_VAR="LD_LIBRARY_PATH_64" - -fi - -else - if test "$arch" = "amd64 i386"; then : - - if test "$GCC" = yes; then : - - case $system in - SunOS-5.1[1-9]*|SunOS-5.[2-9][0-9]*) - do64bit_ok=yes - CFLAGS="$CFLAGS -m64" - LDFLAGS="$LDFLAGS -m64";; - *) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5 -$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;};; - esac - -else - - do64bit_ok=yes - case $system in - SunOS-5.1[1-9]*|SunOS-5.[2-9][0-9]*) - CFLAGS="$CFLAGS -m64" - LDFLAGS="$LDFLAGS -m64";; - *) - CFLAGS="$CFLAGS -xarch=amd64" - LDFLAGS="$LDFLAGS -xarch=amd64";; - esac - -fi - -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5 -$as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;} -fi -fi - -fi - - # Note: need the LIBS below, otherwise Tk won't find Tcl's - # symbols when dynamically loaded into tclsh. - - SHLIB_LD_LIBS='${LIBS}' - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" - if test "$GCC" = yes; then : - - SHLIB_LD='${CC} -shared' - CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} - if test "$do64bit_ok" = yes; then : - - if test "$arch" = "sparcv9 sparc"; then : - - # We need to specify -static-libgcc or we need to - # add the path to the sparv9 libgcc. - # JH: static-libgcc is necessary for core Tcl, but may - # not be necessary for extensions. - SHLIB_LD="$SHLIB_LD -m64 -mcpu=v9 -static-libgcc" - # for finding sparcv9 libgcc, get the regular libgcc - # path, remove so name and append 'sparcv9' - #v9gcclibdir="`gcc -print-file-name=libgcc_s.so` | ..." - #CC_SEARCH_FLAGS="${CC_SEARCH_FLAGS},-R,$v9gcclibdir" - -else - if test "$arch" = "amd64 i386"; then : - - # JH: static-libgcc is necessary for core Tcl, but may - # not be necessary for extensions. - SHLIB_LD="$SHLIB_LD -m64 -static-libgcc" - -fi -fi - -fi - -else - - case $system in - SunOS-5.[1-9][0-9]*) - SHLIB_LD='${CC} -G -z text ${LDFLAGS}';; - *) - SHLIB_LD='/usr/ccs/bin/ld -G -z text';; - esac - CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}' - -fi - ;; - UNIX_SV* | UnixWare-5*) - SHLIB_CFLAGS="-KPIC" - SHLIB_LD='${CC} -G' - SHLIB_LD_LIBS="" - SHLIB_SUFFIX=".so" - DL_OBJS="tclLoadDl.o" - DL_LIBS="-ldl" - # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers - # that don't grok the -Bexport option. Test that it does. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5 -$as_echo_n "checking for ld accepts -Bexport flag... " >&6; } -if test "${tcl_cv_ld_Bexport+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - hold_ldflags=$LDFLAGS - LDFLAGS="$LDFLAGS -Wl,-Bexport" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -int i; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - tcl_cv_ld_Bexport=yes -else - tcl_cv_ld_Bexport=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS=$hold_ldflags -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5 -$as_echo "$tcl_cv_ld_Bexport" >&6; } - if test $tcl_cv_ld_Bexport = yes; then : - - LDFLAGS="$LDFLAGS -Wl,-Bexport" - -fi - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - ;; - esac - - if test "$do64bit" = yes -a "$do64bit_ok" = no; then : - - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5 -$as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;} - -fi - - - - # Step 4: disable dynamic loading if requested via a command-line switch. - - # Check whether --enable-load was given. -if test "${enable_load+set}" = set; then : - enableval=$enable_load; tcl_ok=$enableval -else - tcl_ok=yes -fi - - if test "$tcl_ok" = no; then : - DL_OBJS="" -fi - - if test "x$DL_OBJS" != x; then : - BUILD_DLTEST="\$(DLTEST_TARGETS)" -else - - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't figure out how to do dynamic loading or shared libraries on this system." >&5 -$as_echo "$as_me: WARNING: Can't figure out how to do dynamic loading or shared libraries on this system." >&2;} - SHLIB_CFLAGS="" - SHLIB_LD="" - SHLIB_SUFFIX="" - DL_OBJS="tclLoadNone.o" - DL_LIBS="" - LDFLAGS="$LDFLAGS_ORIG" - CC_SEARCH_FLAGS="" - LD_SEARCH_FLAGS="" - BUILD_DLTEST="" - -fi - LDFLAGS="$LDFLAGS $LDFLAGS_ARCH" - - # If we're running gcc, then change the C flags for compiling shared - # libraries to the right flags for gcc, instead of those for the - # standard manufacturer compiler. - - if test "$DL_OBJS" != "tclLoadNone.o" -a "$GCC" = yes; then : - - case $system in - AIX-*) ;; - BSD/OS*) ;; - IRIX*) ;; - NetBSD-*|FreeBSD-*) ;; - Darwin-*) ;; - SCO_SV-3.2*) ;; - *) SHLIB_CFLAGS="-fPIC" ;; - esac -fi - - if test "$SHARED_LIB_SUFFIX" = ""; then : - - # TEA specific: use PACKAGE_VERSION instead of VERSION - SHARED_LIB_SUFFIX='${PACKAGE_VERSION}${SHLIB_SUFFIX}' -fi - if test "$UNSHARED_LIB_SUFFIX" = ""; then : - - # TEA specific: use PACKAGE_VERSION instead of VERSION - UNSHARED_LIB_SUFFIX='${PACKAGE_VERSION}.a' -fi - - - - - - - - - - - - - - - - # These must be called after we do the basic CFLAGS checks and - # verify any possible 64-bit or similar switches are necessary - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for required early compiler flags" >&5 -$as_echo_n "checking for required early compiler flags... " >&6; } - tcl_flags="" - - if test "${tcl_cv_flag__isoc99_source+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -char *p = (char *)strtoll; char *q = (char *)strtoull; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - tcl_cv_flag__isoc99_source=no -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#define _ISOC99_SOURCE 1 -#include -int -main () -{ -char *p = (char *)strtoll; char *q = (char *)strtoull; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - tcl_cv_flag__isoc99_source=yes -else - tcl_cv_flag__isoc99_source=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - - if test "x${tcl_cv_flag__isoc99_source}" = "xyes" ; then - -$as_echo "#define _ISOC99_SOURCE 1" >>confdefs.h - - tcl_flags="$tcl_flags _ISOC99_SOURCE" - fi - - - if test "${tcl_cv_flag__largefile64_source+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -struct stat64 buf; int i = stat64("/", &buf); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - tcl_cv_flag__largefile64_source=no -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#define _LARGEFILE64_SOURCE 1 -#include -int -main () -{ -struct stat64 buf; int i = stat64("/", &buf); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - tcl_cv_flag__largefile64_source=yes -else - tcl_cv_flag__largefile64_source=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - - if test "x${tcl_cv_flag__largefile64_source}" = "xyes" ; then - -$as_echo "#define _LARGEFILE64_SOURCE 1" >>confdefs.h - - tcl_flags="$tcl_flags _LARGEFILE64_SOURCE" - fi - - - if test "${tcl_cv_flag__largefile_source64+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -char *p = (char *)open64; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - tcl_cv_flag__largefile_source64=no -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#define _LARGEFILE_SOURCE64 1 -#include -int -main () -{ -char *p = (char *)open64; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - tcl_cv_flag__largefile_source64=yes -else - tcl_cv_flag__largefile_source64=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - - if test "x${tcl_cv_flag__largefile_source64}" = "xyes" ; then - -$as_echo "#define _LARGEFILE_SOURCE64 1" >>confdefs.h - - tcl_flags="$tcl_flags _LARGEFILE_SOURCE64" - fi - - if test "x${tcl_flags}" = "x" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 -$as_echo "none" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${tcl_flags}" >&5 -$as_echo "${tcl_flags}" >&6; } - fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit integer type" >&5 -$as_echo_n "checking for 64-bit integer type... " >&6; } - if test "${tcl_cv_type_64bit+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - tcl_cv_type_64bit=none - # See if the compiler knows natively about __int64 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -__int64 value = (__int64) 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - tcl_type_64bit=__int64 -else - tcl_type_64bit="long long" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - # See if we should use long anyway Note that we substitute in the - # type that is our current guess for a 64-bit type inside this check - # program, so it should be modified only carefully... - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ -switch (0) { - case 1: case (sizeof(${tcl_type_64bit})==sizeof(long)): ; - } - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - tcl_cv_type_64bit=${tcl_type_64bit} -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - - if test "${tcl_cv_type_64bit}" = none ; then - -$as_echo "#define TCL_WIDE_INT_IS_LONG 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: using long" >&5 -$as_echo "using long" >&6; } - elif test "${tcl_cv_type_64bit}" = "__int64" \ - -a "${TEA_PLATFORM}" = "windows" ; then - # TEA specific: We actually want to use the default tcl.h checks in - # this case to handle both TCL_WIDE_INT_TYPE and TCL_LL_MODIFIER* - { $as_echo "$as_me:${as_lineno-$LINENO}: result: using Tcl header defaults" >&5 -$as_echo "using Tcl header defaults" >&6; } - else - -cat >>confdefs.h <<_ACEOF -#define TCL_WIDE_INT_TYPE ${tcl_cv_type_64bit} -_ACEOF - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${tcl_cv_type_64bit}" >&5 -$as_echo "${tcl_cv_type_64bit}" >&6; } - - # Now check for auxiliary declarations - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent64" >&5 -$as_echo_n "checking for struct dirent64... " >&6; } -if test "${tcl_cv_struct_dirent64+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -int -main () -{ -struct dirent64 p; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - tcl_cv_struct_dirent64=yes -else - tcl_cv_struct_dirent64=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_struct_dirent64" >&5 -$as_echo "$tcl_cv_struct_dirent64" >&6; } - if test "x${tcl_cv_struct_dirent64}" = "xyes" ; then - -$as_echo "#define HAVE_STRUCT_DIRENT64 1" >>confdefs.h - - fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat64" >&5 -$as_echo_n "checking for struct stat64... " >&6; } -if test "${tcl_cv_struct_stat64+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -struct stat64 p; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - tcl_cv_struct_stat64=yes -else - tcl_cv_struct_stat64=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_struct_stat64" >&5 -$as_echo "$tcl_cv_struct_stat64" >&6; } - if test "x${tcl_cv_struct_stat64}" = "xyes" ; then - -$as_echo "#define HAVE_STRUCT_STAT64 1" >>confdefs.h - - fi - - for ac_func in open64 lseek64 -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -eval as_val=\$$as_ac_var - if test "x$as_val" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for off64_t" >&5 -$as_echo_n "checking for off64_t... " >&6; } - if test "${tcl_cv_type_off64_t+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -off64_t offset; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - tcl_cv_type_off64_t=yes -else - tcl_cv_type_off64_t=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - - if test "x${tcl_cv_type_off64_t}" = "xyes" && \ - test "x${ac_cv_func_lseek64}" = "xyes" && \ - test "x${ac_cv_func_open64}" = "xyes" ; then - -$as_echo "#define HAVE_TYPE_OFF64_T 1" >>confdefs.h - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - fi - fi - - -# should be part of TEA_CONFIG_CFLAGS, but more visible modification here - - -#-------------------------------------------------------------------- -# Set the default compiler switches based on the --enable-symbols option. -#-------------------------------------------------------------------- - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build with symbols" >&5 -$as_echo_n "checking for build with symbols... " >&6; } - # Check whether --enable-symbols was given. -if test "${enable_symbols+set}" = set; then : - enableval=$enable_symbols; tcl_ok=$enableval -else - tcl_ok=no -fi - - DBGX="" - if test "$tcl_ok" = "no"; then - CFLAGS_DEFAULT="${CFLAGS_OPTIMIZE}" - LDFLAGS_DEFAULT="${LDFLAGS_OPTIMIZE}" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - else - CFLAGS_DEFAULT="${CFLAGS_DEBUG}" - LDFLAGS_DEFAULT="${LDFLAGS_DEBUG}" - if test "$tcl_ok" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (standard debugging)" >&5 -$as_echo "yes (standard debugging)" >&6; } - fi - fi - # TEA specific: - if test "${TEA_PLATFORM}" != "windows" ; then - LDFLAGS_DEFAULT="${LDFLAGS}" - fi - - - - - if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then - -$as_echo "#define TCL_MEM_DEBUG 1" >>confdefs.h - - fi - - if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then - if test "$tcl_ok" = "all"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled symbols mem debugging" >&5 -$as_echo "enabled symbols mem debugging" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled $tcl_ok debugging" >&5 -$as_echo "enabled $tcl_ok debugging" >&6; } - fi - fi - - -#-------------------------------------------------------------------- -# Everyone should be linking against the Tcl stub library. If you -# can't for some reason, remove this definition. If you aren't using -# stubs, you also need to modify the SHLIB_LD_LIBS setting below to -# link against the non-stubbed Tcl library. Add Tk too if necessary. -#-------------------------------------------------------------------- - -if test "${USE_STUBS}" = "1" ; then - -$as_echo "#define USE_TCL_STUBS 1" >>confdefs.h - - -$as_echo "#define USE_TK_STUBS 1" >>confdefs.h - -fi - -#-------------------------------------------------------------------- -# This macro generates a line to use when building a library. It -# depends on values set by the TEA_ENABLE_SHARED, TEA_ENABLE_SYMBOLS, -# and TEA_LOAD_TCLCONFIG macros above. -#-------------------------------------------------------------------- - - - if test "${TEA_PLATFORM}" = "windows" -a "$GCC" != "yes"; then - MAKE_STATIC_LIB="\${STLIB_LD} -out:\$@ \$(PKG_OBJECTS)" - MAKE_SHARED_LIB="\${SHLIB_LD} \${SHLIB_LD_LIBS} \${LDFLAGS_DEFAULT} -out:\$@ \$(PKG_OBJECTS)" - MAKE_STUB_LIB="\${STLIB_LD} -out:\$@ \$(PKG_STUB_OBJECTS)" - else - MAKE_STATIC_LIB="\${STLIB_LD} \$@ \$(PKG_OBJECTS)" - MAKE_SHARED_LIB="\${SHLIB_LD} -o \$@ \$(PKG_OBJECTS) \${SHLIB_LD_LIBS}" - MAKE_STUB_LIB="\${STLIB_LD} \$@ \$(PKG_STUB_OBJECTS)" - fi - - if test "${SHARED_BUILD}" = "1" ; then - MAKE_LIB="${MAKE_SHARED_LIB} " - else - MAKE_LIB="${MAKE_STATIC_LIB} " - fi - - #-------------------------------------------------------------------- - # Shared libraries and static libraries have different names. - # Use the double eval to make sure any variables in the suffix is - # substituted. (@@@ Might not be necessary anymore) - #-------------------------------------------------------------------- - - if test "${TEA_PLATFORM}" = "windows" ; then - if test "${SHARED_BUILD}" = "1" ; then - # We force the unresolved linking of symbols that are really in - # the private libraries of Tcl and Tk. - SHLIB_LD_LIBS="${SHLIB_LD_LIBS} \"`${CYGPATH} ${TCL_BIN_DIR}/${TCL_STUB_LIB_FILE}`\"" - if test x"${TK_BIN_DIR}" != x ; then - SHLIB_LD_LIBS="${SHLIB_LD_LIBS} \"`${CYGPATH} ${TK_BIN_DIR}/${TK_STUB_LIB_FILE}`\"" - fi - eval eval "PKG_LIB_FILE=${PACKAGE_NAME}${SHARED_LIB_SUFFIX}" - else - eval eval "PKG_LIB_FILE=${PACKAGE_NAME}${UNSHARED_LIB_SUFFIX}" - fi - # Some packages build their own stubs libraries - eval eval "PKG_STUB_LIB_FILE=${PACKAGE_NAME}stub${UNSHARED_LIB_SUFFIX}" - if test "$GCC" = "yes"; then - PKG_STUB_LIB_FILE=lib${PKG_STUB_LIB_FILE} - fi - # These aren't needed on Windows (either MSVC or gcc) - RANLIB=: - RANLIB_STUB=: - else - RANLIB_STUB="${RANLIB}" - if test "${SHARED_BUILD}" = "1" ; then - SHLIB_LD_LIBS="${SHLIB_LD_LIBS} ${TCL_STUB_LIB_SPEC}" - if test x"${TK_BIN_DIR}" != x ; then - SHLIB_LD_LIBS="${SHLIB_LD_LIBS} ${TK_STUB_LIB_SPEC}" - fi - eval eval "PKG_LIB_FILE=lib${PACKAGE_NAME}${SHARED_LIB_SUFFIX}" - RANLIB=: - else - eval eval "PKG_LIB_FILE=lib${PACKAGE_NAME}${UNSHARED_LIB_SUFFIX}" - fi - # Some packages build their own stubs libraries - eval eval "PKG_STUB_LIB_FILE=lib${PACKAGE_NAME}stub${UNSHARED_LIB_SUFFIX}" - fi - - # These are escaped so that only CFLAGS is picked up at configure time. - # The other values will be substituted at make time. - CFLAGS="${CFLAGS} \${CFLAGS_DEFAULT} \${CFLAGS_WARNING}" - if test "${SHARED_BUILD}" = "1" ; then - CFLAGS="${CFLAGS} \${SHLIB_CFLAGS}" - fi - - - - - - - - -if test "${USE_STUBS}" = "0" ; then - SHLIB_LD_LIBS=`echo "$SHLIB_LD_LIBS" | sed -e 's!stub!!g'` -fi - -#-------------------------------------------------------------------- -# Determine the name of the tclsh and/or wish executables in the -# Tcl and Tk build directories or the location they were installed -# into. These paths are used to support running test cases only, -# the Makefile should not be making use of these paths to generate -# a pkgIndex.tcl file or anything else at extension build time. -#-------------------------------------------------------------------- - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclsh" >&5 -$as_echo_n "checking for tclsh... " >&6; } - if test -f "${TCL_BIN_DIR}/Makefile" ; then - # tclConfig.sh is in Tcl build directory - if test "${TEA_PLATFORM}" = "windows"; then - TCLSH_PROG="${TCL_BIN_DIR}/tclsh${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}${TCL_DBGX}${EXEEXT}" - else - TCLSH_PROG="${TCL_BIN_DIR}/tclsh" - fi - else - # tclConfig.sh is in install location - if test "${TEA_PLATFORM}" = "windows"; then - TCLSH_PROG="tclsh${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}${TCL_DBGX}${EXEEXT}" - else - TCLSH_PROG="tclsh${TCL_MAJOR_VERSION}.${TCL_MINOR_VERSION}${TCL_DBGX}" - fi - list="`ls -d ${TCL_BIN_DIR}/../bin 2>/dev/null` \ - `ls -d ${TCL_BIN_DIR}/.. 2>/dev/null` \ - `ls -d ${TCL_PREFIX}/bin 2>/dev/null`" - for i in $list ; do - if test -f "$i/${TCLSH_PROG}" ; then - REAL_TCL_BIN_DIR="`cd "$i"; pwd`/" - break - fi - done - TCLSH_PROG="${REAL_TCL_BIN_DIR}${TCLSH_PROG}" - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TCLSH_PROG}" >&5 -$as_echo "${TCLSH_PROG}" >&6; } - - -#TEA_PROG_WISH - -#-------------------------------------------------------------------- -# Finally, substitute all of the various values into the Makefile. -# You may alternatively have a special pkgIndex.tcl.in or other files -# which require substituting th AC variables in. Include these here. -#-------------------------------------------------------------------- - -ac_config_files="$ac_config_files Makefile pkgIndex.tcl togl_ws.h" - -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) { eval $ac_var=; unset $ac_var;} ;; - esac ;; - esac - done - - (set) 2>&1 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes: double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \. - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; #( - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) | - sed ' - /^ac_cv_env_/b end - t clear - :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - :end' >>confcache -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else - if test -w "$cache_file"; then - test "x$cache_file" != "x/dev/null" && - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} - cat confcache >$cache_file - else - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} - fi -fi -rm -f confcache - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -# Transform confdefs.h into DEFS. -# Protect against shell expansion while executing Makefile rules. -# Protect against Makefile macro expansion. -# -# If the first sed substitution is executed (which looks for macros that -# take arguments), then branch to the quote section. Otherwise, -# look for a macro that doesn't take arguments. -ac_script=' -:mline -/\\$/{ - N - s,\\\n,, - b mline -} -t clear -:clear -s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g -t quote -s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g -t quote -b any -:quote -s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g -s/\[/\\&/g -s/\]/\\&/g -s/\$/$$/g -H -:any -${ - g - s/^\n// - s/\n/ /g - p -} -' -DEFS=`sed -n "$ac_script" confdefs.h` - - -ac_libobjs= -ac_ltlibobjs= -for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue - # 1. Remove the extension, and $U if already installed. - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR - # will be set to the directory where LIBOBJS objects are built. - as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" - as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' -done -LIBOBJS=$ac_libobjs - -LTLIBOBJS=$ac_ltlibobjs - - - -CFLAGS="${CFLAGS} ${CPPFLAGS}"; CPPFLAGS="" - -: ${CONFIG_STATUS=./config.status} -ac_write_fail=0 -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} -as_write_fail=0 -cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 -#! $SHELL -# Generated by $as_me. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -debug=false -ac_cs_recheck=false -ac_cs_silent=false - -SHELL=\${CONFIG_SHELL-$SHELL} -export SHELL -_ASEOF -cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 -## -------------------- ## -## M4sh Initialization. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; -esac -fi - - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in #(( - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break - done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - - -# as_fn_error ERROR [LINENO LOG_FD] -# --------------------------------- -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -# script with status $?, using 1 if that was 0. -as_fn_error () -{ - as_status=$?; test $as_status -eq 0 && as_status=1 - if test "$3"; then - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 - fi - $as_echo "$as_me: error: $1" >&2 - as_fn_exit $as_status -} # as_fn_error - - -# as_fn_set_status STATUS -# ----------------------- -# Set $? to STATUS, without forking. -as_fn_set_status () -{ - return $1 -} # as_fn_set_status - -# as_fn_exit STATUS -# ----------------- -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -as_fn_exit () -{ - set +e - as_fn_set_status $1 - exit $1 -} # as_fn_exit - -# as_fn_unset VAR -# --------------- -# Portably unset VAR. -as_fn_unset () -{ - { eval $1=; unset $1;} -} -as_unset=as_fn_unset -# as_fn_append VAR VALUE -# ---------------------- -# Append the text in VALUE to the end of the definition contained in VAR. Take -# advantage of any shell optimizations that allow amortized linear growth over -# repeated appends, instead of the typical quadratic growth present in naive -# implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : - eval 'as_fn_append () - { - eval $1+=\$2 - }' -else - as_fn_append () - { - eval $1=\$$1\$2 - } -fi # as_fn_append - -# as_fn_arith ARG... -# ------------------ -# Perform arithmetic evaluation on the ARGs, and store the result in the -# global $as_val. Take advantage of shells that can avoid forks. The arguments -# must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : - eval 'as_fn_arith () - { - as_val=$(( $* )) - }' -else - as_fn_arith () - { - as_val=`expr "$@" || test $? -eq 1` - } -fi # as_fn_arith - - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in #((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - ECHO_N='-n';; -esac - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - - -# as_fn_mkdir_p -# ------------- -# Create "$as_dir" as a directory, including parents if necessary. -as_fn_mkdir_p () -{ - - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || eval $as_mkdir_p || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" - - -} # as_fn_mkdir_p -if mkdir -p . 2>/dev/null; then - as_mkdir_p='mkdir -p "$as_dir"' -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -exec 6>&1 -## ----------------------------------- ## -## Main body of $CONFIG_STATUS script. ## -## ----------------------------------- ## -_ASEOF -test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# Save the log message, to keep $0 and so on meaningful, and to -# report actual input values of CONFIG_FILES etc. instead of their -# values after options handling. -ac_log=" -This file was extended by Togl $as_me 2.1, which was -generated by GNU Autoconf 2.65. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -on `(hostname || uname -n) 2>/dev/null | sed 1q` -" - -_ACEOF - -case $ac_config_files in *" -"*) set x $ac_config_files; shift; ac_config_files=$*;; -esac - - - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# Files that config.status was made for. -config_files="$ac_config_files" - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -ac_cs_usage="\ -\`$as_me' instantiates files and other configuration actions -from templates according to the current configuration. Unless the files -and actions are specified as TAGs, all are instantiated by default. - -Usage: $0 [OPTION]... [TAG]... - - -h, --help print this help, then exit - -V, --version print version number and configuration settings, then exit - --config print configuration, then exit - -q, --quiet, --silent - do not print progress messages - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - -Configuration files: -$config_files - -Report bugs to the package provider." - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" -ac_cs_version="\\ -Togl config.status 2.1 -configured by $0, generated by GNU Autoconf 2.65, - with options \\"\$ac_cs_config\\" - -Copyright (C) 2009 Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." - -ac_pwd='$ac_pwd' -srcdir='$srcdir' -INSTALL='$INSTALL' -test -n "\$AWK" || AWK=awk -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# The default lists apply if the user does not specify any file. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=*) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` - ac_shift=: - ;; - *) - ac_option=$1 - ac_optarg=$2 - ac_shift=shift - ;; - esac - - case $ac_option in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=: ;; - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; - --config | --confi | --conf | --con | --co | --c ) - $as_echo "$ac_cs_config"; exit ;; - --debug | --debu | --deb | --de | --d | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - as_fn_append CONFIG_FILES " '$ac_optarg'" - ac_need_defaults=false;; - --he | --h | --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=: ;; - - # This is an error. - -*) as_fn_error "unrecognized option: \`$1' -Try \`$0 --help' for more information." ;; - - *) as_fn_append ac_config_targets " $1" - ac_need_defaults=false ;; - - esac - shift -done - -ac_configure_extra_args= - -if $ac_cs_silent; then - exec 6>/dev/null - ac_configure_extra_args="$ac_configure_extra_args --silent" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -if \$ac_cs_recheck; then - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion - shift - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 - CONFIG_SHELL='$SHELL' - export CONFIG_SHELL - exec "\$@" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -## Running $as_me. ## -_ASBOX - $as_echo "$ac_log" -} >&5 - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - -# Handling of arguments. -for ac_config_target in $ac_config_targets -do - case $ac_config_target in - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES pkgIndex.tcl" ;; - "togl_ws.h") CONFIG_FILES="$CONFIG_FILES togl_ws.h" ;; - - *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; - esac -done - - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files -fi - -# Have a temporary directory for convenience. Make it in the build tree -# simply because there is no reason against having it here, and in addition, -# creating and moving files from /tmp can sometimes cause problems. -# Hook for its removal unless debugging. -# Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. -$debug || -{ - tmp= - trap 'exit_status=$? - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status -' 0 - trap 'as_fn_exit 1' 1 2 13 15 -} -# Create a (secure) tmp directory for tmp files. - -{ - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") -} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 - -# Set up the scripts for CONFIG_FILES section. -# No need to generate them if there are no CONFIG_FILES. -# This happens for instance with `./config.status config.h'. -if test -n "$CONFIG_FILES"; then - - -ac_cr=`echo X | tr X '\015'` -# On cygwin, bash can eat \r inside `` if the user requested igncr. -# But we know of no other shell where ac_cr would be empty at this -# point, so we can use a bashism as a fallback. -if test "x$ac_cr" = x; then - eval ac_cr=\$\'\\r\' -fi -ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` -if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then - ac_cs_awk_cr='\r' -else - ac_cs_awk_cr=$ac_cr -fi - -echo 'BEGIN {' >"$tmp/subs1.awk" && -_ACEOF - - -{ - echo "cat >conf$$subs.awk <<_ACEOF" && - echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && - echo "_ACEOF" -} >conf$$subs.sh || - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 -ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` -ac_delim='%!_!# ' -for ac_last_try in false false false false false :; do - . ./conf$$subs.sh || - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 - - ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` - if test $ac_delim_n = $ac_delim_num; then - break - elif $ac_last_try; then - as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done -rm -f conf$$subs.sh - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -cat >>"\$tmp/subs1.awk" <<\\_ACAWK && -_ACEOF -sed -n ' -h -s/^/S["/; s/!.*/"]=/ -p -g -s/^[^!]*!// -:repl -t repl -s/'"$ac_delim"'$// -t delim -:nl -h -s/\(.\{148\}\)..*/\1/ -t more1 -s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ -p -n -b repl -:more1 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t nl -:delim -h -s/\(.\{148\}\)..*/\1/ -t more2 -s/["\\]/\\&/g; s/^/"/; s/$/"/ -p -b -:more2 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t delim -' >$CONFIG_STATUS || ac_write_fail=1 -rm -f conf$$subs.awk -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -_ACAWK -cat >>"\$tmp/subs1.awk" <<_ACAWK && - for (key in S) S_is_set[key] = 1 - FS = "" - -} -{ - line = $ 0 - nfields = split(line, field, "@") - substed = 0 - len = length(field[1]) - for (i = 2; i < nfields; i++) { - key = field[i] - keylen = length(key) - if (S_is_set[key]) { - value = S[key] - line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) - len += length(value) + length(field[++i]) - substed = 1 - } else - len += 1 + keylen - } - - print line -} - -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then - sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -else - cat -fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ - || as_fn_error "could not setup config files machinery" "$LINENO" 5 -_ACEOF - -# VPATH may cause trouble with some makes, so we remove $(srcdir), -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and -# trailing colons and then remove the whole line if VPATH becomes empty -# (actually we leave an empty line to preserve line numbers). -if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=/{ -s/:*\$(srcdir):*/:/ -s/:*\${srcdir}:*/:/ -s/:*@srcdir@:*/:/ -s/^\([^=]*=[ ]*\):*/\1/ -s/:*$// -s/^[^=]*=[ ]*$// -}' -fi - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -fi # test -n "$CONFIG_FILES" - - -eval set X " :F $CONFIG_FILES " -shift -for ac_tag -do - case $ac_tag in - :[FHLC]) ac_mode=$ac_tag; continue;; - esac - case $ac_mode$ac_tag in - :[FHL]*:*);; - :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; - :[FH]-) ac_tag=-:-;; - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; - esac - ac_save_IFS=$IFS - IFS=: - set x $ac_tag - IFS=$ac_save_IFS - shift - ac_file=$1 - shift - - case $ac_mode in - :L) ac_source=$1;; - :[FH]) - ac_file_inputs= - for ac_f - do - case $ac_f in - -) ac_f="$tmp/stdin";; - *) # Look for the file first in the build tree, then in the source tree - # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. - test -f "$ac_f" || - case $ac_f in - [\\/$]*) false;; - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; - esac || - as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; - esac - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac - as_fn_append ac_file_inputs " '$ac_f'" - done - - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - configure_input='Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' - `' by configure.' - if test x"$ac_file" != x-; then - configure_input="$ac_file. $configure_input" - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} - fi - # Neutralize special characters interpreted by sed in replacement strings. - case $configure_input in #( - *\&* | *\|* | *\\* ) - ac_sed_conf_input=`$as_echo "$configure_input" | - sed 's/[\\\\&|]/\\\\&/g'`;; #( - *) ac_sed_conf_input=$configure_input;; - esac - - case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin" \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; - esac - ;; - esac - - ac_dir=`$as_dirname -- "$ac_file" || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir="$ac_dir"; as_fn_mkdir_p - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - - case $ac_mode in - :F) - # - # CONFIG_FILE - # - - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; - esac -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# If the template does not know about datarootdir, expand it. -# FIXME: This hack should be removed a few years after 2.60. -ac_datarootdir_hack=; ac_datarootdir_seen= -ac_sed_dataroot=' -/datarootdir/ { - p - q -} -/@datadir@/p -/@docdir@/p -/@infodir@/p -/@localedir@/p -/@mandir@/p' -case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in -*datarootdir*) ac_datarootdir_seen=yes;; -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - ac_datarootdir_hack=' - s&@datadir@&$datadir&g - s&@docdir@&$docdir&g - s&@infodir@&$infodir&g - s&@localedir@&$localedir&g - s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; -esac -_ACEOF - -# Neutralize VPATH when `$srcdir' = `.'. -# Shell code in configure.ac might set extrasub. -# FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_sed_extra="$ac_vpsub -$extrasub -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s|@configure_input@|$ac_sed_conf_input|;t t -s&@top_builddir@&$ac_top_builddir_sub&;t t -s&@top_build_prefix@&$ac_top_build_prefix&;t t -s&@srcdir@&$ac_srcdir&;t t -s&@abs_srcdir@&$ac_abs_srcdir&;t t -s&@top_srcdir@&$ac_top_srcdir&;t t -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -s&@builddir@&$ac_builddir&;t t -s&@abs_builddir@&$ac_abs_builddir&;t t -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -s&@INSTALL@&$ac_INSTALL&;t t -$ac_datarootdir_hack -" -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&5 -$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&2;} - - rm -f "$tmp/stdin" - case $ac_file in - -) cat "$tmp/out" && rm -f "$tmp/out";; - *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; - esac \ - || as_fn_error "could not create $ac_file" "$LINENO" 5 - ;; - - - - esac - -done # for ac_tag - - -as_fn_exit 0 -_ACEOF -ac_clean_files=$ac_clean_files_save - -test $ac_write_fail = 0 || - as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 - - -# configure is writing to config.log, and then calls config.status. -# config.status does its own redirection, appending to config.log. -# Unfortunately, on DOS this fails, as config.log is still kept open -# by configure, so config.status won't be able to write to it; its -# output is simply discarded. So we exec the FD to /dev/null, -# effectively closing config.log, so it can be properly (re)opened and -# appended to by config.status. When coming back to configure, we -# need to make the FD available again. -if test "$no_create" != yes; then - ac_cs_success=: - ac_config_status_args= - test "$silent" = yes && - ac_config_status_args="$ac_config_status_args --quiet" - exec 5>/dev/null - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false - exec 5>>config.log - # Use ||, not &&, to avoid exiting from the if with $? = 1, which - # would make configure fail if this is the last instruction. - $ac_cs_success || as_fn_exit $? -fi -if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} -fi - diff --git a/src/other/togl/configure.in b/src/other/togl/configure.in deleted file mode 100644 index 5256b2f71c0..00000000000 --- a/src/other/togl/configure.in +++ /dev/null @@ -1,281 +0,0 @@ -#!/bin/bash -norc -dnl This file is an input file used by the GNU "autoconf" program to -dnl generate the file "configure", which is run during Tcl installation -dnl to configure the system for the local environment. -# -# RCS: @(#) $Id$ - -#----------------------------------------------------------------------- -# Sample configure.in for Tcl Extensions. The only places you should -# need to modify this file are marked by the string __CHANGE__ -#----------------------------------------------------------------------- - -#----------------------------------------------------------------------- -# __CHANGE__ -# Set your package name and version numbers here. -# -# This initializes the environment with PACKAGE_NAME and PACKAGE_VERSION -# set as provided. These will also be added as -D defs in your Makefile -# so you can encode the package version directly into the source files. -#----------------------------------------------------------------------- - -AC_INIT([Togl], [2.1]) - -#-------------------------------------------------------------------- -# Call TEA_INIT as the first TEA_ macro to set up initial vars. -# This will define a ${TEA_PLATFORM} variable == "unix" or "windows" -# as well as PKG_LIB_FILE and PKG_STUB_LIB_FILE. -#-------------------------------------------------------------------- - -TEA_INIT([3.7]) - -AC_CONFIG_AUX_DIR(tclconfig) - -#-------------------------------------------------------------------- -# Load the tclConfig.sh file -#-------------------------------------------------------------------- - -TEA_PATH_TCLCONFIG -TEA_LOAD_TCLCONFIG - -#-------------------------------------------------------------------- -# Load the tkConfig.sh file if necessary (Tk extension) -#-------------------------------------------------------------------- - -TEA_PATH_TKCONFIG -TEA_LOAD_TKCONFIG - -#----------------------------------------------------------------------- -# Handle the --prefix=... option by defaulting to what Tcl gave. -# Must be called after TEA_LOAD_TCLCONFIG and before TEA_SETUP_COMPILER. -#----------------------------------------------------------------------- - -TEA_PREFIX - -#----------------------------------------------------------------------- -# Standard compiler checks. -# This sets up CC by using the CC env var, or looks for gcc otherwise. -# This also calls AC_PROG_CC, AC_PROG_INSTALL and a few others to create -# the basic setup necessary to compile executables. -#----------------------------------------------------------------------- - -TEA_SETUP_COMPILER - -#----------------------------------------------------------------------- -# __CHANGE__ -# Specify the C source files to compile in TEA_ADD_SOURCES, -# public headers that need to be installed in TEA_ADD_HEADERS, -# stub library C source files to compile in TEA_ADD_STUB_SOURCES, -# and runtime Tcl library files in TEA_ADD_TCL_SOURCES. -# This defines PKG(_STUB)_SOURCES, PKG(_STUB)_OBJECTS, PKG_HEADERS -# and PKG_TCL_SOURCES. -#----------------------------------------------------------------------- - -TOGL_ENABLE_STUBS - -TEA_ADD_SOURCES([togl.c toglProcAddr.c toglStubInit.c]) -# togl_ws.h is added in Makefile.in because it is generated -TEA_ADD_HEADERS([togl.h toglDecls.h]) -TEA_ADD_INCLUDES([]) -TEA_ADD_LIBS([]) -TEA_ADD_CFLAGS([]) -if test "${USE_STUBS}" = "1" ; then - TEA_ADD_STUB_SOURCES([toglStubLib.c]) -fi -TEA_ADD_TCL_SOURCES([]) - -#-------------------------------------------------------------------- -# __CHANGE__ -# A few miscellaneous platform-specific items: -# -# Define a special symbol for Windows (BUILD_sample in this case) so -# that we create the export library with the dll. -# -# Windows creates a few extra files that need to be cleaned up. -# You can add more files to clean if your extension creates any extra -# files. -# -# TEA_ADD_* any platform specific compiler/build info here. -#-------------------------------------------------------------------- - -# Add pkgIndex.tcl if it is generated in the Makefile instead of ./configure -# and change Makefile.in to move it from CONFIG_CLEAN_FILES to BINARIES var. -#CLEANFILES="pkgIndex.tcl" -if test "${TEA_PLATFORM}" = "windows" ; then - AC_DEFINE(BUILD_togl, 1, [Build windows export dll]) - CLEANFILES="$CLEANFILES *.lib *.dll *.exp *.ilk *.pdb vc*.pch *.manifest" - #TEA_ADD_SOURCES([win/winFile.c]) - #TEA_ADD_INCLUDES([-I\"$(${CYGPATH} ${srcdir}/win)\"]) -else - # Ensure no empty else clauses - : - CLEANFILES="so_locations" - #TEA_ADD_SOURCES([unix/unixFile.c]) - #TEA_ADD_LIBS([-lsuperfly]) -fi -AC_SUBST(CLEANFILES) - -#-------------------------------------------------------------------- -# __CHANGE__ -# Choose which headers you need. Extension authors should try very -# hard to only rely on the Tcl public header files. Internal headers -# contain private data structures and are subject to change without -# notice. -# This MUST be called after TEA_LOAD_TCLCONFIG / TEA_LOAD_TKCONFIG -#-------------------------------------------------------------------- - -# find Tcl, Tk, and X11 headers -#TEA_PUBLIC_TCL_HEADERS -TEA_PRIVATE_TCL_HEADERS - -#TEA_PUBLIC_TK_HEADERS -TEA_PRIVATE_TK_HEADERS -TEA_PATH_X - -# find autostereo header, lib, and daemon -AC_ARG_WITH([autostereo], - [AS_HELP_STRING([--with-autostereo], - [directory with autostereo source (for SGI)])], - [with_autostereo=${withval}]) -AC_ARG_WITH([autostereod], - [AS_HELP_STRING([--with-autostereod], - [path to autostereod daemon (for SGI)])], - [with_autostereod=${withval}]) -AC_ARG_VAR([AUTOSTEREOD], [Path to autostereod for SGI IRIX computers]) - -AC_MSG_CHECKING([for autostereo directory]) -if test x"${with_autostereo}" != x ; then - if test -f "${with_autostereo}/lib/autostereo.h" ; then - with_autostereo=`(cd ${with_autostereo}; pwd)` - TEA_ADD_INCLUDES([-I${with_autostereo}/lib]) - TEA_ADD_LIBS([-L${with_autostereo}/lib -lautostereo]) - AC_DEFINE_UNQUOTED(HAVE_AUTOSTEREO, 1, - [Define this if you have the autostereo header]) - else - AC_MSG_ERROR([${with_autostereo} directory doesn't contain lib/autostereo.h]) - fi -fi - -AC_PATH_PROG([AUTOSTEREOD], [autostereod], [], - [`eval \"echo $sbindir\"`:$PATH:/sbin:/usr/sbin]) - - -# Choose OpenGL platform -case "${TEA_WINDOWINGSYSTEM}" in - aqua) - AC_SUBST(TOGL_WINDOWINGSYSTEM,TOGL_AGL) - TEA_ADD_LIBS([-framework AGL -framework OpenGL -framework ApplicationServices]) - # libGLU is implicit in OpenGL framework - LIBGLU= - ;; - x11) - AC_SUBST(TOGL_WINDOWINGSYSTEM,TOGL_X11) - AC_ARG_WITH([Xmu], - [AS_HELP_STRING([--with-Xmu], - [use system's shared Xmu library])], - [], - [with_Xmu=no]) - AS_IF([test "x$with_Xmu" != xno], - [AC_CHECK_LIB([Xmu], [XmuLookupStandardColormap], - [TEA_ADD_LIBS([-lXmu]) - AC_DEFINE(USE_SYSTEM_LIBXMU, 1, - [Define to use system Xmu library]) - ], - [with_Xmu=no], - [-lXt -lX11] - )]) - AS_IF([test "x$with_Xmu" = xno], - [TEA_ADD_SOURCES([Xmu/CmapAlloc.c Xmu/CrCmap.c Xmu/DelCmap.c Xmu/LookupCmap.c Xmu/StdCmap.c])]) - TEA_ADD_LIBS([-lGL]) - LIBGLU=-lGLU - TOGL_UNDEF_GET_PROC_ADDRESS - ;; - win32) - AC_SUBST(TOGL_WINDOWINGSYSTEM,TOGL_WGL) - TEA_ADD_LIBS([opengl32.lib user32.lib gdi32.lib]) - if test "$GCC" = "yes" ; then - LIBGLU=-lglu32 - else - # assume Microsoft compiler - LIBGLU=glu32.lib - fi - ;; - *) - AC_MSG_ERROR([Unsupported windowing system: ${TEA_WINDOWINGSYSTEM}]) - ;; -esac -AC_SUBST(LIBGLU) -AC_SUBST(TEA_WINDOWINGSYSTEM) - -#-------------------------------------------------------------------- -# Check whether --enable-threads or --disable-threads was given. -# This auto-enables if Tcl was compiled threaded. -#-------------------------------------------------------------------- - -TEA_ENABLE_THREADS - -#-------------------------------------------------------------------- -# The statement below defines a collection of symbols related to -# building as a shared library instead of a static library. -#-------------------------------------------------------------------- - -TEA_ENABLE_SHARED - -#-------------------------------------------------------------------- -# This macro figures out what flags to use with the compiler/linker -# when building shared/static debug/optimized objects. This information -# can be taken from the tclConfig.sh file, but this figures it all out. -#-------------------------------------------------------------------- - -TEA_CONFIG_CFLAGS -# should be part of TEA_CONFIG_CFLAGS, but more visible modification here -AC_SUBST(SHLIB_SUFFIX) - -#-------------------------------------------------------------------- -# Set the default compiler switches based on the --enable-symbols option. -#-------------------------------------------------------------------- - -TEA_ENABLE_SYMBOLS - -#-------------------------------------------------------------------- -# Everyone should be linking against the Tcl stub library. If you -# can't for some reason, remove this definition. If you aren't using -# stubs, you also need to modify the SHLIB_LD_LIBS setting below to -# link against the non-stubbed Tcl library. Add Tk too if necessary. -#-------------------------------------------------------------------- - -if test "${USE_STUBS}" = "1" ; then - AC_DEFINE(USE_TCL_STUBS, 1, [Use Tcl stubs]) - AC_DEFINE(USE_TK_STUBS, 1, [Use Tk stubs]) -fi - -#-------------------------------------------------------------------- -# This macro generates a line to use when building a library. It -# depends on values set by the TEA_ENABLE_SHARED, TEA_ENABLE_SYMBOLS, -# and TEA_LOAD_TCLCONFIG macros above. -#-------------------------------------------------------------------- - -TEA_MAKE_LIB - -if test "${USE_STUBS}" = "0" ; then - SHLIB_LD_LIBS=`echo "$SHLIB_LD_LIBS" | sed -e 's!stub!!g'` -fi - -#-------------------------------------------------------------------- -# Determine the name of the tclsh and/or wish executables in the -# Tcl and Tk build directories or the location they were installed -# into. These paths are used to support running test cases only, -# the Makefile should not be making use of these paths to generate -# a pkgIndex.tcl file or anything else at extension build time. -#-------------------------------------------------------------------- - -TEA_PROG_TCLSH -#TEA_PROG_WISH - -#-------------------------------------------------------------------- -# Finally, substitute all of the various values into the Makefile. -# You may alternatively have a special pkgIndex.tcl.in or other files -# which require substituting th AC variables in. Include these here. -#-------------------------------------------------------------------- - -AC_OUTPUT([Makefile pkgIndex.tcl togl_ws.h]) diff --git a/src/other/togl/demo/CMakeLists.txt b/src/other/togl/demo/CMakeLists.txt deleted file mode 100644 index 1357d6f9fb8..00000000000 --- a/src/other/togl/demo/CMakeLists.txt +++ /dev/null @@ -1,19 +0,0 @@ -include_directories( - ${TCL_INCLUDE_PATH} - ${TK_INCLUDE_PATH} - ${X11_INCLUDE_DIR} - ${OPENGL_INCLUDE_DIR_GL} - ${CMAKE_CURRENT_SOURCE_DIR}/../include - ${CMAKE_CURRENT_BINARY_DIR}/../src - ${CMAKE_CURRENT_BINARY_DIR}/../include - ) - -SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) -IF(NOT WIN32) - add_library(gears SHARED gears.c) - target_link_libraries(gears togl) - set_target_properties(gears PROPERTIES PREFIX "") - if(NOT "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}") - configure_file(${CMAKE_CURRENT_SOURCE_DIR}/gears.tcl ${CMAKE_CURRENT_BINARY_DIR}/gears.tcl COPYONLY) - endif(NOT "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}") -ENDIF(NOT WIN32) diff --git a/src/other/togl/demo/ben.rgb b/src/other/togl/demo/ben.rgb deleted file mode 100644 index 4eb067a23eaf7441b71fc762313de1dab562878d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 49959 zcmeIbiIZj7UEg_{_cE)hB~S|OYHd#|ixAYM0Gn0tBo>2NlT|`kXs*~7vm`s&xx8E| zYw7B)?!LWgYpJC~3m`BUfk}|VjvVgT;Texto|)Y-cFe>~4C5J3Ow99qKHqa+W;H?h z515#)zIorf%Q?T__qU$kIrqN1{^ebFl~I|Mck#FW_aEH-_)omz$KU>A?QrP--~E3V zfwg~B%BO!P9N+~a1E#;mYrM&dTrM&FPQeN?SrA$6v%B#Ml zlvjVEl-GVuDX;sJQa*FNl+XHSrM&*zOZl9CT*~KuZz-SmUzgIny_C=YZ%X-s?=R&G z|E!e1^43!RD#yR%J4*S||Gtzje`hIQ@xPSvl|NU?^g=0by04V4zPpsKxmn8BJ-?K{ zM&IA?qEi0)7R2+`pDpEk|4k|1 z_uZxZjel6m_kVdQ@Ayb5?JG-pCvE)TGfMfPUn=E?|EE%Z^qWihu|F*3Cph<$^!qpe zT`52P4W;}H*Kb@Z<>$cT=i&Jm{)bY2={2SN^4m)J73lialTtSSZ7EyOyZwSvb~v|t zrIgthm9odS|5>FRytb6Xrj)BMFXiZSOS$%jQm*s)2FGtg!_5zua^Fvsatq#W{fkoW z2kQsG@HTin_yuhLp_GSL*#2oL-PKYa`KD4HeHL3^%46{QICwtsDz-l_4ZA1mcUUscL6bRUELul;T*AD)%+ksmJQ zqa6PjIDQNae*K@9@*5v3PJD)6u)fN_qLK(YxO&<&|HE-XX8oK+9|Yq?FJ2 zdi0JqKASdP|4&MJ!?&Y%v~?MJn?Eb%3i~hM`xm_py@Td2{!aAnPfPi-cc6FZ$Qz;a zEB_z#4t(DHY3SXxQoa^mz7E>H{yFGfSIRfO0KJ2!Z+RYi_e3e{_n>#^(RcFwyP)xV zR?)kkNALdEQr?D4zV9EG^7c2QcfViCfAU)N?%k#Q0B!srIRDW9QOb{S&5xeqSudk^ zkD_zn`BN==_sLRz_GReZ26_jMzksZN@mtWlo9Nx&NALbUI)}dB`_<^(+tE8@xwDDh z9iVqd=-nQA_lxM=E_(ON=-n@&cl+qw7JA3=8$W~2eL35oqjw)h=iY+Ot+D+9diQbk z?kRNcr%QPVj2`|5bPoPI=y(K79{pN$4tsd)KSS>xLFd5rU7yXiK<_yAp7)@4=-2z+ ziq3rrItL%`hu05)#Z&P5!H=MK&~yCP&^dVcHL&_H$3OBx^lk^8`!00u%h0(OvY`XN z`Onci&i@wJ{q_-h2d}^LHR#++*#0eg_gm;4cz%NWe*cTnxo5EbOZ4v7(YYT*=U&71 zPtm!bLf;D81Lzt!e-gQW@>l)v zYbVI*m46#w2VbwDvDbYqdiS5>>(I5&rj5^G{|4y&yzfEp{tRCSHdp>Dd>#8Q`cr(} zThKesf9c!MyMK+Z`w{f+&rA8LZG0Uve)9poj{Vm@h_8D#diN;4?#1ZcWB5As=3Dsw zZScJg#@}%ddiOBC4qg2o_2Yjj#K0 z^bS0J?5ohbV|?B7(7Rto@BSIS?hDX6^m_x^e*O#5JM`oie-FK*?O*v!d>wpkBBOh0 zbL$i6-G7SSao_HrqIdr-diPJzJ8(Fdqj&7D^8JW&*Zu)|_Ycv#6LjuxqH~|ihR?b6 z7&?b6?_Z#E@NxU!pm!fb?>>s&fqVDY(K(Jk0>+OXqI2lX+G7J-fMr7&Er4ChFo$EyDe@%%m$9-huGfE_Exs`+T;qW&2V#YV|)Fu{|xpMHgvhXfbB(Wn{3-`TWr5N zY#via9=n%qm(6otrySK8zpFD|eY9$DPO<4-Kmq`z<2dh8L4+mxxbOm>d;rQ+18Xz9r9lF zNZs<-o7ui{*p%&?*p$7W)o;(M@9Kwp`%`D!+oyDSotxj6dbGU8wmk0j%Qoc6&)>qP zy|^v=a=)a*{=8ovq*+?zPr9Z5bJ*~A(Z31%7qY2yFK63hQ?|-TS^L>zv*EjX;I`Bm zX&+>%)W0#T(g_#h0^vA)D7P&nss?E4MFW`${&i`zkh%Dd(?d zTk3~0SAUeb$LvEr^Sj62!e;v(w~eI^x|hD?cWLyq?fF?=ynm^4-fx?4WRo8C^i6E` zx$NI#U%}@2C2yDcERU~adoA1Z*`C98&->eEGM#KRYisRvZPKi@P1kQs+ey>*i}iLg zY3K89GHSQy{iwY*Z5NBSZCZBSsC{&Eu~_d~E?ji%*B6TuzO8qQ#r~+h)%Oioc57>; zq1|TMjXAdHr(Du4dYb6gC+%u;*R;I9X(lBkG>}l%8v5QS4L9}udNY|c^LaZNHQV!U z)a*{1#bTw|p#{EdF8cLRb7Xt#O|#xFPDaga9qRVEyzj=GT9c_sQ>N{>+2z9Ns5xvG zJ#9DZlM8=&_aIQaUku$h>At7&AVALoF={{n3W1Do0|9_j5rBYx+`Lx+N(F!m8xg2C zG!6H_8^~b?D#q;|*U`|p-R_=l5T`5n72=Ic4 z5+YiOXi5VSm)Rfp`{QQkq@RwPTk}Ob1$0P&V59;b*Mz0vXa@XRZfWQk*-pJ zmRAsvgqNs9`+YABsN#0pA_{!r`gGEaCQmjkyiXu~()Rn%C8S-0EReb~;9IcV=Py|E zca8$KlCarE4vOX7-F(q^TtDwxjAWyktnrVJ3NV7Z(Md_0i@N@a(c-RSXn@(#<9u1nN9}Bi4AwCT z!~)Wqg5YCA9=-3lpLEBxFhL!r8}0hIz3v5E;ckM}>_tE* zq}k}_cqFL+zQr+;m_tN-h3=`!B_3nkJS+*w;<%f%$AxAgp=>nk5g(E`QWErM>nokT z2L*aBcc9Q*;e0m-E_z?2_m1AL(z{|9x<{?({wXj}DDuWW7&O>X4*^$}1hicEFaqFw zy>NnLXx#6Bz@QKHfUu}8xJ@S0X|Kx?+haty&duveqenKlea&GP8`MJZRfyt*FBk=) z=+|+Pie%KH`pBL8h&$8C`YMKmmv8Tjz_bzDqUpO9clCuh(GE0V6VOnm-HBAvt27jp z86dYi9Lf$pJ`R5ls8E1v&!C_IC2XTxZ*bdjS+iE98#Q}~w?IL&z2Nr2zi)BdZrgR3 zM0tM!fkADD-uv2nMWCR@_TJk&{Ob*MZ$h8`AESRglY&_G?@6S?#Rs+jh90lCT*!$? ztQlbs+ueWw@ffV|NL;Odo*)In=tO0pUo$6?e)@Y!>>&64~@u+#9daxt`6e739!kw65agdHabX)UJ>C5Ao zEr6keS_Bk=T5XhkY1H1&*Te|;r%hcOKBY^BG-~0TsQX)(MTL5?!M;;FKpt6`MIi`v z-!OtEBP#gUGG=^-l735tn3o5o!>ma;>4@+si@I*FA{)e8xRmF;1D3<(D=O3ku8nZy2;wKn@o=T zuJNwECyQ;3)hmMwGEXGt>UxL*yHEq5n8LnUlTq4(sM#2|w2nL*BlHHK;={1$;1s*#HAtAw-x|;mlBG zC9&Is2NB`}wg2P_wSUty?zpn-AHiZFnEKGYHUTJHa|IVsyJuXI#GVxD36!2oy@(iP z|FH}ZgfXr@xa{0`kQ6I#y#)2WECdh?s|f4?zG<8AwE> zK!x~E%wGAr-m{Nu!Oi0k!1ED^@Q^VRzoW9kHrxy5h(u@r3HDb+qIM_^NNUvl1B4MGKmt?IMQMaU0pe%rEqANNKtW0XIh^os z9g`^|ummq`0uOc6lEO~geIn%A%H+24z$R(VBv#`vG+e{P7jq;qMMI3z^LdpH@*s=C z*t+{j94pl55QyWB?%RhFg{tu)Fhps5XSYqp($4UNy>@Zr@R~e+oosVuay`PBiZLW$ z`}%F@FXpivCV*lVyLj;`8r(M{n(zq;6=@QfQFDV_voI!2)Nx!`&4Ozj&yn{Y6T_Fi zcgx->DGI<96x!a2QMuuk{1d(5KTxJ~<0RIF35?n&!$0SM1Ccaze#OoerQVbFXzoyb z5nWk0Mhc_8JjE4wrf$=8Utur=T-1R?PYSI=qKm0sWkIOW4%^+6xE2KAx9*tOONgfN zW4uGY4uBsb?UtxwY$n$2YZHiov)#gMmtk#!r6RxzLqnPRWxdCJ?3y&Km=d)Nsp%W+ zswxtVJzrDD`yoI*i+Yl}^3^;SjXlH^+RmXJfUkG^N-oZM52|zwXPH8!prSBPkRD7O zp+E?7vn2dsjn|NnUbRIB4jFCIo6M%Iw9(j09vHqj!E`{N-{0v=yLgpg!b0|q0k9kz5^ z`Uj$fU)`yB4uJdh3BD1@sQ$Ujn540Rz7uF=UFg-q zW#>lGxn61L+`ewwxvU#3s{PU>1j{>zM%uwgvE7fJ~MS-Zg2(IcX0G z4y3ZX+8thqF+D1N%>gxrFjvP%-2q>Le;pTgsDU7h4HBgLPt2Ra2s5xPZom%A5k4AM zWGx69QWl#uC)hL46B1xNDQh#;ImH%|D?&peZY^!lpgKdo7X9}tW1V0P2yLOl)f}AQ zMu@&KlSLgqFp4x?`=Ife@bNSflHfa72?=25Kv7qKT$UuL03W8?*o6E;1vt1v6!-;H zUtx8S-jxkJ&`x{8UmQY=SDPYebpc}6;5cgD)$LE(eJlZ6uoR>C=ue+SEAthrM~Y@j z8cj+%Xgl3y_(ohBb-UB-j@B6=oG1ic(ZTVAln#N$6cFQePU@60O0Tx?kR*US{YwJ% zCc@dm(PkyVGb+SU=#I~gq@2SHF=yG*m3 zVi2Gym@Hw5%iae7(tCA(@J~6Vv-?Mg5zX{UxCdCRjUH)$PAGPuWh5kya*wP(oCu#m zW$6D3A0HM?3j;cQN9YO&92mph=ol^VeWPR0)Zz~w*8m8mv^r-@#tvfRm*8}z{fJ&E zZioz(?&5gJpZAB+gUzDzx+8=5VTbhfb&NG`a9B%FYTQB2N~r?^7%HIY8|G(~0N}xt zIX3UH4`?-kcdrBZ7;Zi)0wLj}dLQzbeN=>Vsw6DLH5m*CfElMhy$95T5<b1DJ@V;Dj*Fkmw_$+*yfqJIK}QS;s_chaDdM<&96W7JWN+Yf8`2&&Ei;A8MK zkU)w%Z?ABN=F1Imwa(D$uC9Ev#~ATP?Iz`30=n^fKjplHW=>=rtsTTDfElc5f~d^M z4M_lc;zQ>Eu3zb>$Ex}#sXs9+Wk?P7I)7IROAbG{2JoS|2ypQ$?VEWlKZy4|u{1Ch`vjVvoC)f>HYr-6Q~0H3w%z0S(&2 zje!P+wmO2SrfTf|VT#GVVZ*7|W#mNeFRZqkuNRF29Gv7iM6x^8vB0lSVz+KnT z9o8UmEIlLi;eL`PQO_U#hQcijZfkPaK0#rRDGIcdJag!pqIZ9y518YPhH*2Ru*BZ{ zCy6;-r;=J;iifKf&!cangz%RLDs`MQ3|FnnxRjNlTIDNQr>?3ybmlwc;y#nuJ{4mWjP z6AXxv8zbel)C3@le@TL_#}Lqe-3O4;39?u9`*Fv>9>>xd2av!Ce{N_R0b0CpSMGYveK`(gMq~wUZ(LT)JJSNW)^8nMjNppm1 zR?bfFZZoMxw@iUh^$scCPdNqjiJjd-bD@xcT+aLVjJ|N_pH+!93?wNc1+@Pw@QyW* zkqfy$0PElPRPaJp>*V_ z&4~Rer#LBRCOaY~S=A#MfmConG|7h?DAa--eMdKJ5ml5PT7sZhf$j-Mpm%U~D-mOV zrMWi8*WJ2^`2T7=m zbuzLX;0FrwktjVnT_>TP*ifS(&_Dpa9Z{{if<(vanW+>J3rvBk+XYJME--KBT{=%_ zL&S`s0&J6b;mG<}>WC4->9S+zRdodZezg=|{r)+pOG;l-py)a*I_d&^mQ=B)l@?czCgT?t;|}5ATSmI0IWUsv zagd}BTsp2W3C*Z3QiC(Z;h6;UQMaP}pCXPrQ%f~DE=W5t-+<{UXV$|#y_<}j5Q*VV z0Ha}$72}3l^5*-LhNKQx;EfK3iW9jHvkRlhr}5~XWYstxhoHoh0Zr|0-faz z=Gnl2D-h}~H4=BUiRQ#nY0sZ1jQLjijnbu;r&qQF&2bK*d!^n_m|s#Y_gq2~*c z*$dW*8zhW9onx7s4v+SoT`6`B!zk-co#l*Irt8izF;lJ#11dMsMi>eS?Zc8>)k}D) zs=_#?L){>g?i@YVK{-N24I_WL@6&zex`*!Ny^;69_p_rOqI0w&rzeMNjN3A1GGG`U zwSOyPb-EOORiP@0G+DVY9EXBj5m%2xZW$Jg+S~J<6!e%L9FH26tz?n>%n2``?+hBe zqh*OcidKY=_$!=b27G%^R~7J22B#$YBPQFt%6Q_n$zu7l(rq2n_rqvD%WdeKyvE6P zLn2@gg`k>?i##fT`p2wQe;SOAz?_Lms5A(m0Vn73irIR$9^b%z7Or!aAedq_IjC?L>g$Y5r1AO0^k!e45sV?X0#UJ)GKKvhv6r4kY-Cr3`9=d|- zPxCnCxNj*yj`{$0N8F!&AOf`II|}N~GhkmS@H*ulLY?411NbZjo@l2ljKfI99j|UM z7$TuU{&=5e>HuS2HJ-WRR79(%TSv54Qw5Bg<9_1hbw9BHf}Mk5g7B!jK2-vwsGz>| zRD_BHO$3Roj|cw)+l~F>ZLt7H$JC>Nd+;_j0ZQcM$Ro!N%jy^u1*E&BZmqQM2et%7 z*#<;7XV53!T*EGP1iTN!P-Azz&w1yS`E(xU3H7?V$Ci;aCP2^CmBhz5^nwBcqs+Is zH3&ddxT4$XA4usRX8B94jv9@%XVgz@bv<2qMBveqDKmzM#&NKhP@5#>IZ4zdl}Q&^ z0IDB+QTJ#&9-oW&OGwZr^4WRxZXcLMdDPvG_IoyZzmDB^P8!Yao0yOO7y8EV?OWuN z?wmM*nWT%MEf5m-!k@7L2Cun;EoP2Ubkl!&!_`BlN9-Jm z~j|MTM5=sI8rVhuY z7nO2ku+?QSaFbqCBe-|Qi~$MLDK>WvxEVPaTd~&mQM@nyqasNNpdA!^2n7;C{8d0v z4rH+1FD@V%o8Vf8$_D@mWnH@}{99$UIWX3ef3oaq55FIrHT0_dRRWBf-Yf6w7QSTg zyV5Kp?6{5idRqzPn@Z=D6wQ$GR8a(a9S?K)C`e`~NJps;$u*6`^^GgR*o#P|xt9eJ z@gdrPE3K-`t5*k0B@l-%^3cE)9ulFR)aaUqPXZS~;5Q&ag89Dc5G)B6VrHg{lGnO1 zmrpo)mrd-mM`Vvy0hqI6zSVK?mysIq9u4q=Dc{UG?HX$d^5gC%!i>3Kq&gkc#A`5# zU2Pz-uVa{nyGhWctX-XtL61=nG&GI_syLi2@f)NVR2`GcN_OzbULBIbRDHlec1eH% zh0u@70WU1%sA{sFs@7!xaC&7)0&PP=VL=OQ*gy*nCi=7#Ai2QGQhW%#2Ztg4n${`~ zaqv!Y7=rP20w2<`Se*dDxD0hPYu#0u69vo^ZYvG`b#rQSVB$DqAJp(=3BT$#r5(Z^ zK<8jp0szNR@YgWRj~p+8~f-+?;$_PBkY0#Lc#iy|QyuB9pi0j4BsH~>&WG+$VD zJ&0g|s)IVd=^BFz#BIp33VfZm4JHW))f#qi#Gr;7#?N*qtcWfICQ2vP06+keSuCM? zWj<2bzzb*JGr+G}RiT_ogYS@8YjxZS77R16Bdh_Zbrm%EKzr->#6{VqWXaiWDYy|3 zq<}u~Pwj_9JI0_eLISP3I$Y-z6#x}@MP~<@xG-0D$j*roygK7_r%b8&3k1XV!-&K6 zi58|wi0-FgY$}?{=mvFasz!{O^gy++fbI*uIi$VCy%VeSPkg;2FjE*+7)cL?zYmb# zCJ&8xSQ-)0;E>u4I$xCgtw|C6$OxULFeRudJP4`f4koMa*I_Av;;L&);6IG-RID5hm{FC_`{zjE}Qmn&~;O)1ox1vlHKDmD;Wn%GFY$;1fk+_AsDED!m9kZ44_bn zcgYysK?X=`26RY1;Fw7vAcf&fNO_>rz}Q8_r(_D9wU)&KEY_bc$_{j6ND6}s`c0MR zL1@qr@O&pqfnKZ*2`-&p*TE?cXkapU3B15`4-gE{cN897l~JTW?hgB&oYk?!sM~jH z8pFmtt#82Kl?cR=0kw&^1twGaO|l}AnsIZR&Q2_239WgQmcjD@x_N!H01QlX&aav0 zrdwS=1~gBq`ko_8f!Wk$7y|LZfklW=B^Tu?8UK|^M7-MOsQHN3CqD`n=&SI$qbK?` zIo7{Hoxm>T!MBx`wcEI{_3AX$VMY><_vDP&m1y8u=6pDTZkBEH>`UZvKV`H@hhHKv zu(1jifqZZS=@WZ|6KoTj*@gR>_tb>-+zy5yksTs}pdoOKkjA`owZ$=qAZAkztZj%< zaJc0NrOlHX#tIgp;+ZyxnnY%kHGq|G19co0`#-7fMS`M(;g1Ff=?Iq1yQ|RY=I2Zm zvtYZ%;KimA<*E#r7UdS|4iT!vm5Rf-`Lzl|QZWOz=>a=Lls&y?Xdn?7MgAsG;HgyB z8Y1vbgY{fxGzbt-z!}CB6$z?|2!hEIMAU3zU0HySe;>EMW=GmZ6@yAn#H~vlJx(8R z7rUtbY0MHnWim)Z3*|JIX*S^Q%m(ZHcwodb8D-UWyJ_z_Mi=Rw<&Et{%%D$2wB|!_ z2;(X?x?2-Da201fdC>P8Z6yXkZDus&M9?VZRFU|Ns_S(Fq-8`LOoPi503P z_%7~^;J_QcO>peqxExQ3$bf~Bt85AJIqr4Ltb+>pu?~#{=i(5<5)(ArJM&pY#HI=F ze?%{=XPc@X{F@RS7%MC61kzz2ENiH!CZK4T+^#+eVu;21q8gZ4FA&5{ODQ4}yP3el z29XBw2Ea}b(-xJIB&@%QB9Wm@T?}RFN`xQ~sPkZt>j7T&ff@Zv7QKwwiI7PqYH${^ zieSnY8U|cL0%o0Q%$poAUt(D4nWvEu5O7MY-y%Fn0?exbAkL*r64EClE%eJK^u1sX z1XTd|9igXoq0T7)x_9FCBoz=;0inVa5HNp^`s)l6#5Rajbg0|iAh`!Anx>`zu!_Qp z90_iBQ)ka<&BIc}Qsq(YYic`UIX8;=C`NIuT0(VVsd3MpU>gL$Z7s{@_@A_pOl5;TxLA7>3WtV1AMh zW-nC{V6@VKJ6XZi@4#-6kv=xl81@@->NXY@%XyJ0jVbm~MZ0TUQ z-neWyU@&QnR{1d;MiB%7dha6z=4@DA!_r)0fyE%w#amSaxl-i^T~;PODg=BnuZV}Q zBPlUY5qEGrDx#MpNfCB61-sc64oJb!2NzFYw(QLlkJ%-F%Q+4 z+=v$Jk`O(Xj=FX7uN>A6su<1_qag%e!|e=k>-`_8;F~UC2;Sa1-A0%nL-UqvnMhNe zv_V6W0P2S$+F)q*M_euMFnyK~@l_gf7^baZh_Fa27uI_ySm#X&@Y z0ZDj~j5y>D58;^vWaj2jVvdb0YtvO8%z6Svwd`F9$ z{PhYF(-^@hqiE#rxA}N+=y9AQD?AS5mMn^DdK%3_PC z%s22KbB&5;4%TE}y|EdGb;!iO@iyUrgV~D(&*)LrmwnKU6HI0zit#=YfdHWC#3;ZX z<;i-f%*=`|79z6Lb^KPLBZV491+4a*cTALb0imrRFe%UTi%qKv;_&xT3GM)*;F^b(%n?DxFAAftie!xfO4zYPd5M^KPN|vS=67dYl^f$7P=tU5?%w!eU{8Y zh7USXTZ-%VVV3HQ`I`KPugNS81$51b@_zMuK*JrKsr>BGM~d9hQYmm$7PWKDH5jp; zWl;WB60VcvK*GW$cFxQ^0%(RG4G$Gi!h((rmgOLvU#1n+Yj|dnNY!ac;AX`ZBj77% zO_M0-v|?`%@nW7YCk_OG-{kt^_`m6KhHA`kh_5PNJ-tb(_QEbryH*QjXP~q!3YmMJ zMF9>E&S!vorQhRj=~w$Z7O$)QXhY@Rxg^|gnI5~W{nv3THRBX{XaxeN4-Lstyb5{M zUO8)@R4%Am%~l3UECmD7@;h!H2?oChtkKl#Cj(%&(p40oWk7*-XPb-&w7-3f%XPO- z$`c__qCw%QB4}saJWOO9NXE|wq|zG= z5JbGimn4#pAdssabf5v4L5O&2AR+*S z2oOTn!fY>Sg5lR(SN?}l?_<#?WguhK7W6;%wOmp{1`rX{#1vZmK-@H`)e5i|9tdJk zjCrn5;U+v0kgYs$?bCqnm`8wydW>nw)Z_Y1vl?WKlp!J$0;9z)cf*)&AM2Sj3(y~V z5sLw6p;j6OL1S zivu=pD6Co=Pfhnsyx!^Ix$;g=%;HVRh}zSSd)QQH>_EaDDyQ{xQ5JLw&>a*k9Q`tv zL%ZmCmIPHJlmB)X0>F1!{Zz#qLAyTT@xW{!v~5pxmEo3OA=+KF1&j1Ru*XGMEe}gL zfG!7lVw=|xth5j6UQIo!=x{zp;gw;AGNwZeO^9K-1@uP!p6DBXJsR|@zAGHTXWbE> zc&ccO8LYA{jIfKg(C-c!PxjlfR-Jyk2CX09!qcEn(9YvjvQ#}dx)CR$)`rz+{>cFK zis?|rKPV(;vgVkhkg#jOU>3msyYv1ZcT#{JoTEqa1`6~y<_k-}&tB?~)_?^?0#v1H zc(9Y@WFTY@711oZ;>s}3dO^D(&o)QkYM+RwR_Tign_}qIf$7g;kD>~ z>AM2rxP3otLE+#%6rIY=9_FNDyNur;^QlhYE_ve;GdHoR8cgTLX`M!0ORUd4Qj6U(@E=Eh-}Iy?0p zN_{M4KJHnRfNvGBQTu^9zr{E8jh%<}I5Mc_yGIYtkqJKFp3yBA#1GfU&1+0morxXY z(D`HO{0c=z8z-=GhpyfBX&1g}F}kiK&oKpLu!SG5bne&k4zC5_IG3sWRJycf2yp&M z|E3N=8Dr(Rc12JaOS2^1%NTBLY%n*K)txk)Tm~gaT7N;+4}0o;giC`bA!dLc>}l|U zLG>evXuL-OUJ7tdkhH5uX&DC@6Q*gfr}NIv9~e5XQf(^d?U7Oi4jK`CS@&3?CAiYm6PA4E zILcfj-hQon$6A9{L(+hHY+$85K)4$WXIuKdMtf5*r$*xPILe++19&;J>!5g0XbY3o zWh6aJN)K@$zf53|_K@hW^bh7nO;IJ0IR2OEYdG2BfE8_F&(mR$!d`A3SnQ!3!P|4i3^c_vq8@-o9_wzGd1p79)VPq$KBl93cZZp-NY; z7q>?`9(A_@w{7t?@v;K_gp#t4;b?@xHPFCRCyvFgkErJvmAohg2^!1b6$F>ar|YNX zFAr6Ro)8tF=?aKPJ*&U`Ucb82wcO7skI)B6sT5I7D_7IAfHRZJGFNz3y~vJHW(wi3 znG^)Q8WM57tK5Se92H@;;8ce*Im=zSiKAAC;Y)B>_rZm9fNxoL|Jcxd@>JyEV~Q3J zAo9$ZlCum!a;1H;0;t}=3l4-Gt=U0RcJ@F>xAm*8K_5`D;%R zQlc@PSVtf@gFF?1rLtQdQw9{p%(~tuoP1qI&_TEJl_orCdZW{0!T_e?0athu+Ubmk zNkW*{oswB6Rne^=a?bebFyRw|rT@+XysGlDTXk~j$B&j5LJMc2vl6Z%sYQ8Gl*=wsI00u*HzPT=e=jUC;2A46>dJzf24Qr>hU=y?1Sew$#$TQis5RMopqX) z&Tmtf)RW`?)lM3cmvfCKOSdAUL&@2*#3ccA={)L1)$MTckT+Ji0lUw_OGPwZ9N=In zQEtfjV~bH~p2dwZzViUL zvOx%;T3T)_j(MboDn$CSep;_LQ;D?1O*99?pUF2A_zXQR*K`Z$u{-15rfc zNqWxLFzky`HY(aoX8NuUxjHS=YPy=O9F6XqYPY%+5}_B*cu z)0yk6^z`QJ_JB&WEW`UaGhXaM6r;c`)r`>$3x+7M9nG1>bM*tB{tR{QtT;2izpiDn zQfR5`nS2`ZZ?t+Z-dlZ+*zV^q*-Smio_6sq`x%Z-;k)ft)4BOdW?Lx-Sa_|Dnx269 z3_*A!ZmNMemI{7QCiOZRzKT8H=v6_1*nSgF8<$QT=62V12%mB`br<3LpQV7`&ILgFTeMKe{adPg818xAG3x1j;i%VZY$w z-f47su#0nv<@}Yv=m9q1V=4T@s@l@J*WUa4|c$;GWy@4U#JA!9`zljy9Khlv`8j zWzXpUy>?%Pt1P1YUIf=D54A#p7VnM*H~<}_6mg)$`vTr>P*JMAGtB2w00$IX zla(PqJPVdtIk){_t~4SY}NTomk4gIq4D(l85F2=xSCkU;?FRZ(-D*Rs!r3;5!3(kCtD z${|jIcBaaNQ83Q>dZaoIT?Jhrgq*Hu9}ODKIZ(IQ6}1q|l1Kny&}ES%j}CLi86|Tur}Z zrH)v7pZ*6RM4k9Z8Bjo_>3r|v7oq1UKucaM-}PaGEaJ0k3uhkWKGE={fGGt7)v{;a z6r(;K_~L^q(b{A!dk?tjv$-GalWi(SK^S$usy5l6{E3BEaoVEN@*5v$UyHJDAAh9p zBTBPb`M%zrj2Vk=CVsw*0(dSH}v=*p$oqSBlwW&m}xYMrY8XJ%s#`7eCOc02RRa_V-0f^y-q`Q&fYg~-iX1)=*SSfenuY!z9TQ3oy$dP)9tIn+a31RhEH36(y z%4qQrTC5VpH`5MZ{I=4QGS@GvUn&JqNN%KJy_>$3=ebTpxi7E zQRDN6B&<3H-gq)xT|G4wS%fus-DS)IHIl#cuJO|>GiI2>yM&(xHeO^V%M1yR?6|5n zEA8ajxmC*GZ zasK*j$mfgCQozm@dK=^FcF;`{rKOj4_UGLdYpxVJ0j%zX5A=83-_67#2C#|MB111S zuc5QE5J=w7AghA4oK;|+X1uuOxHRx0vV@mwbX-f1 zH-{d%hx>eou|hn<7FWP4rO`rq6(^cy4J>c%7us${KWGr&nTO#@P))9@k-#Ip!J{*6 z#;y}m8=o>sr(DYWRTdjrlmaAHE|vi=$Ye5--csyfzwfdWoDJpZ#gS+!3s%Qxb-Hjm zU&B&g?@%B@%lOnO z5QZWM*RY9j2{9Np$ua1%E>+l_q>lzMrGLt3miUON5&tqy(M8a#J{cBRcS3^!jjkk( zUU{biQ>pf9I}Q)E;MyCOf400we3xzoli`)06zY3=rNUopVs^%|59x{+umf=cfQnp= zn_K;-G3ULwzdP=ycq$i|M@~kuTMmlOrq1=PPHkm$vda1`5+HJ8R6LKuLq15W#&mK9 zE6YFi1{`L`xwUl0Q)g2yaXGp8fJMUinaZKQQ90%?AQ(hhG$5)N!09Or=nj~&;w@Vd ziQl8J4lj*-NQWXV)@grgj%&E_>b1iGQPZ=iC=?=#Bv?R2hq`HnxdL;y5EYXr_L*Kh zYjzmdAxJm9h2SZ9jHkNFVUI81xGRhYRkhHG#~A=ZNgpsA0cr}>K*K)@A7nq$qxQP) zP21oyeGrF7{p~bbwN$8GJ~4lGK&49~NoNhZ)(OEPo^?ou_*n9{??@^T<=nF`5G^dR2Ctj4h0x|8dHQ2$+Kj@Qoi1}>oyo+p@u%) z1BN69H5mvAfsxmLDHZ;SW@^FxE^or^o?~CP)DzA?noq|9LWS^r>V%UNBIwKI>3XvM z^kR2_QU)~MzIu)y(D82XOqpncJW^vPCe=LSvh3w7F}P+p;<6~9!5%97#T&b#`b@Dv zBVzg(_r<&p5Y^}wImwJOodL9JvP*Z{{?p}Z)^Cv2*43u(<5E=+{!zuiFnp~`Cm|nL zc}|+^34i=saa;zr9FLc-&Xqf9K~HOgJVoF2&$X|;Zo^f-W7d6FEdqMJ4|#gkCJ~Gh zHav|CFsB!~M^3vKHfu4tK4B$0@gtnuhN^wu&n*3{FcciR31oW2tUrkL;Q8D~&4#Yv zfg=~X8Av+-m_?0!J-e^~s&-v-Ci-excv@NPW$E=C2Z2F`UkeXe0T46+a3~Nct!^E6 z$Ym6gJ$r!*lQ|Lo@CCK>ekAmq^g>GRO5%A#PcTnU7$YVG$IBoL0Qpw)CY%JT6?ICT zxSg)D%fAy-YJw|0#n5zY*uV-pv5WcI%b3Em4_VpGf#F49=>}qDy?#UVslJf%uqJUz zY+mjB@ep>r2o{alV|9+~VBzS9_C?QiO#ow;rm}ODEQK=|-np#?lyS!!(k)c+JXF=Y z0e-qz1vi>pU68fA2*c*nfa42BTYjmEt3P_aupQBl48Z}8rNUN$!d*BPr56lY3VjnO zB#p3I+}QBulg)9YX{Xag@7oEq~Uf{`h zOpcDsHm>{r62d5=$qhzfE0=QR$V>f}k=4Z^3!ha&Q$tdjvw?e^zX34pBUreOid>a7 zSNj;KrE_swiNCWrBWC804$R`^s0DZtIpzz}k;~~-srq|QV00vHvPicgrk}fs&NAj^ zooX93yAaG=@s8u>>LA7qi4+cul-06_=vY`8BJwf{(SZS$9sp0b2kz+u(6Wfl9qNcD z7coO%#?(I7uZqG3cvUu#4}b-dWwkVXYM{4WVpy5x7{S2{O{uMHu=Xr|4M@kVS<8jP zqN%7`*S{z@>3Wu?M>n<3karUD4NWl~2R45}NJmF6=$3k_VG^p$a5Q@~Gmo3q>3|^h zmv$jGHtN3iVO3W)TSGzZ1O7;!HCI4;w-9iF>QU9lPbUv zo?Fq^!6sxECi+Ms%mKhnCwhV(?ph(=^d2@^% zVzhaQ`o_ahi}`W?5?dyiVjzM+!*>9q`w&3Of$}D=xQdxdgLh(~u$h@vdGZX;Ba(iV zdzKByy_~gN*Vu+-`OEtRXpjT&8KV}B_7YjU=42XyNN76Gf(Qin*mwukmlk`x#yxNt z=BkPitAyhrU9acdiwB7eK3api$jn+z7Z5RlVwUsHc=r9vhE};pEa1HQ<0#A-F4xpz z#!Ob|(2Dy4M*RaS7DTR#L^5&tGRy2c+D3x?=6nDe>T13w9DEt{17Ay-90RcfnFWwb zBmyc!^v;A&sX(^I<=ajBmxgXswB4~!2Q`@lP3NN#TMZ|DJZdX zQ{Z`)D9LNzzr42WbEP5@f18Q|!|kdndC~xH5u@ktDu$!+5Q)Xa^`(&9@XCZE{2`yX z?~Zn>Zlv9hK`}KS1Egvo#qNw+6dNIXex+?bV4EtpYFu|wHGtL97Rw*DTxP z1?IFD@gj87E(DXu3hJ1p3LWBRGKn~nV59jeC^B~<+UK}ETibnDCF4=bIAxQg0F$QC zG<+@%(+#-5W$#KCUj@x&zN_g1s(({mBVpmMzunfqn%9D8*8F~meEG+bAPT@Eq^#Go zJ>kF_cp6GJd6A)Vs-ZBerHQB56BPF(T|$Q8^OzH&1c`Ca;@V@O@(;$ti%9eIN}U|` zFv!0W32 zv>FZ4>%+TXTyS{-%9Z0th+$Hr+-9Nj+1(D)jA*k7dabEJdprWq42OB;a1k#@g#mo6 z@S>HzS0mB)wa(tbZ_uoGiY`oSb|-Zjt}267+wji>r}{YVE@t^bd#kxDqQn7Tb;R2; zI7O@5?eTM{NN%=gt(b0dCEgx}_icuT7!T?)vxuVEE;M{qxHv;g5RAKl*axz{^7SH4UcqYyOxTjy@z^n9hftQi^IREK zUYexs>qFbQn#S`J&2$6*n6i|jkzA)K@Qti4W+DQ1tZ!Jhyn9RyowJ)P)N@9M1$67p z=B8rsF^_!>4uZwkCk-qy(zNpqE8s8-4t`Q{%=FL&5q3*(nRce_W3zvru4eIix7mRP zobjM2@JclL#2hE^54>gUn4u$W;)YOu9;NZ+b4+G#q7!NX#kBJ# zSyk!laH#vSu&B0>$iKr>t9Th%w~zPjk0u|GN)VtJg?3wjTl9oNL=QuZt9+MB=PP{p zH}3CqIls}Z{xf;=w}Ax#8n~pV$@|Wlcg0+w}c+x(U+e|XW3<7CLe46Pvw z#AVj~>IWO9T({De4D*k&oC?{`FEJ4%=(s`sF#!jRc-IRHc3o{WQ!ns()$!MN;karZ zC!^GriylcU#n;VO`x{{&56GSaV}G7)>}oQ!l59Ll(ip`@@YF{t=UgNssoIl8s(NAE zpIkgRZ~As^I(k6UbP3taA#**n@W1Ju_P#>xD(hZcETsp)`hDTD09>bNm->O^qJy_J z1k}pEM6q;Dqerz-bj@F+NPu@S9+;wJlz|mJ&*U%&q-S9`h>&Q7RRMDX;$r?>65Bd5 z;3gfj9P2@pIRB4&k~X!S3Kb-p5YE&JsjRJ`MrW-(dl*AGt49AWn&xR4{vidRwP3f} zu}+IeWP$-ts#S&$l(;N2P@40OAt3V=psr!1&v8~U9H=YUoGqKnY`4v)qEh?@jBd`U z88jZUws2OjrE-Fg5)B<#xY{Ch8-kX+7&C!tFgM3V|9G{(++BV*Uz7 zMmueLyy;Eo2iDchkZyLc}Mx&Y7YB!{`sDEBgoL9OP?GaZhf=?N0p zo`vd|AIul4d3l#gtVZjidG^Fe)k6O)K#%*ale_gq0`_9ZZP2D)XBsFP;sDh^qTxw2 zH=tu%CzmMisAAr=onjY?k&vT;6Gu^Q_8eOcufVGpKDp>BXp?VjQCI&w*63YqlCj`+ z?fdRpe>J;6=q4$s1J4tn5LhlkjhkB1xCNaiPvir{1a9BQxx>R>yq& zmb4mi<-;nO5(iF`CaBw&+YQ|Z1h6>Rq97m_-v=s#J~gJh0+(Q84LUJPuSPbacO)?+ zTskn9c8<=~I)PARmb>sjfLchnkIBD7?dfNd6Q{^hDVLD>go#?Gc>@+mw2$Ehv1_r;2>b1 zGD5(#rIFx+JAU|bjW?c>;xj;;*&m-#@=GLlas;1{?1U#-qP=bPjGgP z9sL_Y_$P=yb->$TVr*ug$uQA=Z|xq00R|C;ALM0^bBL8aODAe1p~LiQ_G)a)%$-ta zVKiS^)6PGa*K?~ilGXlDALAmshW!(wrEpJgU7RUS*73@Q z>Axdg(>M8?-^0To(1DwRlQ9GN;hh<#BWs$a?jDy-U2F%Fqu9|M<_FM+R!*VFR(zpB z4XvxXPxzy6hx0p^*LdO>zn#ryu&x!>gu zEwrLyBndmH7{AHIYo16`UrFgAfUYhp)(Kj~MLmHDwf~-W^JKKPhhOMV)z4a&5=o}b zxDr=k?M*x{x6eR6cFV8H>vQdP+hXSq;(3Lk(`pLzIikjdE)Z+M6!(D7y`)ibGxJ%* zHzsp2Dt`2mG)u*JIV-ZrJreVFRjL(4fRE;OeDopv{IdbBXZEe<&5jrrzoM=mPYd|8 z_Od?0Yn?5jLvx$aDGTRR5k`=wmqJ6JXT68^<*IdI2l$sRc3Gmz6G3{L3z)$rZwGsD ztGTqf1T+Zy5jQYI!e>)i!D>mAx#OZ?tXnn4$$(CspxP{lF&p=Y2Ut2)E)paz5yp`2CQoC4v%58ourI~WQr zm`Cg-Bu zt&u@qXN(=4W-ywH+!h0MyEnkhv@sgsC1OhsNHbY8OFK3c5yENGQBUBFzYnKoxF8rX>V|q!6#CSA%K~Fvr1!Mjx96wYAB7EqURJMb zw9HQ`1h}w~24YSJLD-58T?OLAWXG2uk~M2fbU{lb6534uPq4EHfjF#sI~FJKERB1k zkt%1$P$_Z^etl{J@UJ0M%8wO;EFZJ_t3IJG+8jy=7Q<~UfX{6q;8pRWia^Jcg>6&{ zEGbk0_A z;O08Gb>lsvdQE&OjaL?2ajH_m!d31>8gxY7e0Jv%cM|KV{+^;#+xfY_OnNdh!VAq@ zg-IE3xrg;w@1uz=IGsLy}8}xW4NYq^7T6H`)T9DVJ#k0jK3@^OL#w0`w z=T2lccS`%dq;=W}RF!Bt4r1cq0I4`9{=6uc5>XsVq=N{Gvhjx8H=g)zSp5p)U*I#b zhjhFlhQBza@~}g?y{e0%*HaQ)SKMqlkxTDrmz5HK4`;F=(dN7_MXR9`s?Um9OSTM` zg#PNV&~YwVZNg3b^yC26dDx6F=}+nySEn@ z48*GwRu*N8QUpvPBdrLz-0(FHI4_h0hG`2jl#lLV!yg_-K4g!KWu)9PD-dd@_D!xG zS+SnlN|Qf^=BuV>%BPbgqL_{h=>38BXd4T~(QpoC_T-tVBNt3*ah2EkM?xK$aMGBS z9*f~dT{}kpip6yZmrUrPP$&c7d^gXKxlrIT1}S5-l9Fy9acCc#Ni*EKf*HH2Qx}FV z_|FluoHWfdt&kR&hG&#BmL)L^jG5mWl^xz^L&`)Tei=`xLDev{vPMd@b}Ya@4pP6L zPS&R2+QS=oMO|>qD`sXa7o4cv{Y;6GPwgNQH6BB-{t2k4VAVxv`Y4WuhaHT1CiM^q@?av0gps-32@+l*Swp_JYk48YPU+hMWZW-Ex9ly zL$!OB7c{<*VmMAZ;r6VFQ|#@~;3Ru+XH6-tgsPlPAwmk!NQkz|*q>5fwx#YQYuiL3 z$k!i`yeE!KFP{7XTy!Ng9=8ralN5kxZB%HFqnrHPbJw#hYN&+jep2MBx%A7JwC4P1 zkzAC094|3%4ULJDy12%RdH_--J!>bb5XG-{{NkE7XgrPxO^mcV3xI10|FC%Z;u^&) zdSh4vR4glD;sr;l$}Q_G$*i@zIQ~mGL9ReAsnjB^3kd7t+7>YFIbQ91R>$%3mnyYx zV{I9UcX;-~K^NnF&S6Ea$uXp-*pvlQO<7&r2GiJ4`0{}BB#m@PB0 z$^?T_jwTd(1b@!uvK4pU*-wJ#;B8Bc^70|=uMJTeS(?i7l#M2TaEJ zKSXWePiE?BH^|H}yd;%1%ddd;@^&Mu37RFh zX>#}*VX#(sH#)4-u~mNi8<)fXW>7$cUnNlJV^mmy$6|4^DZVPJ$t4t*`9O3TD>}cu z^L7RYr!QaZoiam>Z*w|0`bo#+D>8@MKy{2~jL~UocQO^2w4}nSv-~(O{nixhB`M-3 z%JGA3Rzzz(PoCfoP30fFluDMKMcYOd;^jBSYdoxItibaUDnTp4ewMD3ctxnWu(m(B z!c$ru@zxt_c;LpFGll5s(J7ElCfHeu1&*)b1#Melr9(2zws}W`?b{N3)|SwZ#047K zR!zsm1xEX(CHxMZLqv})$Nfl$7D5YB+H3^GoLKk4xIMD$E~z&!G=}0|wRVyN6Og+Z z138QYvZlGTwvWeUq&KID2W$db&ze9NRP`#9LR@5y4jnXIfi9}(ZR3c8<$abamw#1wuK_svPr$D@7T>5?Q_t=n$7 z7l-u@J>QJc7tbpA6plV37TsPxYbB`2pxXgYBqujizjTc+taR*3Xifa_nKMcrru2@B z37Ip_O_7k?P_%=a`>eEc4d)#bt#=m;*gXrvk-OQ>9uh~}N2q{2Aq#A+jE5MTVS`Pa zIv~fj@NVL&dyCqHV%{bFK$VP2uyr>PAqHgtC?J$^m%vg1<1r<7w{S|Z-tHtff-U6-uU2v)f^ZMIb=$-MFMVCLt8E% z)3{vmLA`e;6Plsqxl|@>j(lnYW3ILF;THcP9b_EiqBUbUS;^qWkQ4(MWCtD75lQ?m zKWK7X65wYq z>UwGdeL2QOKIzzUD|T*{mHCEHA{wO4v{N8v=I=jJK%3D#ueHPmj5&_o0B<0w1}Z%U z>c|z8Wt6f@mTCs6Y|so29x~$7<`?*l)W(Sk2NRYCDcPX~k`P+Zf4Zco-=*}&_`(+S zV)-3BRKr?9ji(NFpov^oZ%A8IQk0j)52z&z4>e9SQdlN=cs`*920RKE_|_zSRQ8mY z|7^}AQLhKNi<4> zR)e{zf9}Wo=})Mp=YExvX+;7nzw=AZ%>P5NhV|-nMYW}_;wMSQ)6~W?K7|<8K$}XX zA(V9}C%%|m7UwA~OW6^mpT<>T2*A(CQWFNLaD|rxaf}TL7*8?a+U^^)+mgXxYj-br z!VkepCWG5GgU1@?24^w1OpG#HWE&(o_#tan)}LtTz~rM!48{lq)Wc5eIBEu=6WTk% z@Ybr}(jFd@2dNm`P-LV%%`w%vduWl|e5slr?QJ3qjY!_ zVpM*DkNb|Z%s|EJr>nSK(y;#7AVqLM4wIX7jF8tDer4!}(HQ3d>VS9P_;ZHPq?Y!W z+OicaqWL~K#b?&J?$IgljHM`KTWkQlY*VjHlVm66#QPLP7))So$D}5MmP*)Re2f~J zC2^`?ybQkszihM8S>0!i3cmcpsKt8_G(*+aX&YvC=M&t-A!4p4)~K%Pebx{xxXz^T ziY9MuUtYrPGL`hr7^wZE^0^)ZTf9vWF@ZQ$<%go zlz|@FQJk4K90O;Tj5xwU(-5S3NIRGztFlE5{t*HL8#B`>&Vf8-oksS!3?m-*pSpO| zxG*Id5o<+=ESt4;-WY3HaTwOz(E@cZMylJ?!-y|j9`~iALW-nbk1Ij^Yi*Bi{7~EL zLsAvu4)ITt@V*)QqN~!yRN`7@i41)%48cE-nujzXY2&Z|GZyrvvXZB?2hMplVHNVC^cB9;Et=1#hdy37A-z!HXFhh94qX4R&2;GBg**+%RJX9Yp~5&oEZtdf<{+K}vG~tJq(6%uGUU zg)D}b63~j7Dmp-1Jf)#S)&tNb?nm&Eip6IqIB5+QF05UHL5QL?3VpT)Gbs8oWlq;I zY6%XxOx0erIG{Djf<@Qe(3iy*$2~T6ASe=srXGtHV{7v18m(EkK{a!?<8CIhQqSPI zZH{~EAwHXx4^;JH>i0ta*UxVA)UYk$@ z5hH*WKU=acY%$6z*-@6gaGd{1h-y==%hvA5#txQx1VO6g(4>YGxPeg z#my7%fe#7i{|m-QoeKXhp{{_2yMz{Iu1L8Md$JpC10+^S?ha49nic}=ASlBdhk=(y zgyyUf>$2Sg7R#MqJI1zsSmm3N(P6ddp_m9c}w_B_c4@-H_2(%kqYEs}58p3d= zei{QIVQk3L@MBwy3*Z9^87cxS37OnDq9CB-;x<;Gf<>57*wcG>tCV`j9V<~uT%+Zi zUDzNXGW3vH#~^7c6Rmj19dh^;q)H5MG1ZG}E2`BhM=gC|N@V{9DNBc@6jb9Bv2#XX z;E1keal$UIg;`@-iF5{&n8k~Y$h5C&6CeZJarJcXa+`5~W4K?n!GI<#`!eE#2vhw# z@30+*pdxZ{?Pglg9voRN=bJU3!+oxZg<_37JC1LqA!Wmj*07wMbx=+Guq8AEdSY3g zSxz0V5^0?sT(cO-2!tX?s|OiT28nagQ8^f9U@^jaaLdi~iliu-9Td%l3#p>hL^U5) z4loV8tB{@fp6Tr{7TPd5y@sNyWy>~v*%bfc{iQ=qi)(-B0yBXWnz_45Wh-q+2l_@E z=tyORv|nALCg-~~rcgdCw|WWI4^D|Csy(iFGKYj| zQ->&=>;2`J2eWF3vUq^9j3$Oq+o3(g;TJHvqdlrFk*AplE7dK=8KF>Kn^GR5vPYT- zt7na&eiE0K@i1s0>ntSBM?aEuj3zrg?huK+YH@Wwg#zscyhoEG$vC5mG=!5JQVn~S zr6{yzBS$nM_PV?YdCL^J@78v1*o5uK5hg*6gH}8wceNqXD(o6%#U-*B4)@6O$X z4E);FZhyne>AjApUcGqVoL@Q9G|-{Q-Me)G9Ki+R&E~B4A%_p$!}P&A+87$`lRzF8~_i!4~d%NrdNdkd{zZOy2C-3;%-*ogn&G&mTAeB0yj^9 z^`DV(xZ*`#t2irY7A=&XRowa}yqY-@*YguQ&~BW3o$k^xfd+Fc=BJ8Ooa>!&Muy>r zF~)^Va`8|EV}5|MujO4TS(1DEyU4UvwR$UoZ(w;0*-1vG>Vf~zcTxMyEIHLC1CrC6 zTc@vIF!c%Js%--^+tV8Bxj3`n%CwjiXTI_?c?Zn$YEIPFp#3Q{!aZ zm;{@7^LhW-i~C$DsYL5t2^hJ{Mf^3j@iDe=bD{rSf6T;D5z!8O=AW~)@tKFY?o4>y z8|oqqvH&Avy;f5;^=#Hb;8GgxKWD+phd7QZADZ0qIR*GPECGJZ_6q#@0;R3~G8ddW zn9UVi4R+>=oGUyi$0{Lu;sQs;CNg-b$;|GT;<)Tp+?lJgTEnthJhTq($Ia*&S}YGL zafh%!GK|n>aUG*IXNyMt4=1|=r4$7Aus^81FdW9sQG#V?&GN1coVHGXNDaxVGxE$0 zobzhOA%Hf1KnA5T#v -#include -#include - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT - -static Tcl_Obj *toglFont; -static double xAngle = 0, yAngle = 0, zAngle = 0; -static GLdouble CornerX, CornerY, CornerZ; /* where to print strings */ - - -/* - * Togl widget create callback. This is called by Tcl/Tk when the widget has - * been realized. Here's where one may do some one-time context setup or - * initializations. - */ -static int -create_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - if (!toglFont) - toglFont = Togl_LoadBitmapFont(togl, "Helvetica"); - if (!toglFont) { - static int shown; - - if (!shown) { - fprintf(stderr, "Couldn't load font!\n"); - shown = 1; - } - } - return TCL_OK; -} - - -/* - * Togl widget reshape callback. This is called by Tcl/Tk when the widget - * has been resized. Typically, we call glViewport and perhaps setup the - * projection matrix. - */ -static int -reshape_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - int width; - int height; - double aspect; - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - width = Togl_Width(togl); - height = Togl_Height(togl); - aspect = (double) width / (double) height; - - glViewport(0, 0, width, height); - - /* Set up projection transform */ - glMatrixMode(GL_PROJECTION); - glLoadIdentity(); - glFrustum(-aspect, aspect, -1, 1, 1, 10); - - CornerX = -aspect; - CornerY = -1; - CornerZ = -1.1; - - /* Change back to model view transform for rendering */ - glMatrixMode(GL_MODELVIEW); - - return TCL_OK; -} - - - -static void -print_string(Togl *togl, const char *s) -{ - if (toglFont) - Togl_WriteChars(togl, toglFont, s, 0); -} - - -/* - * Togl widget display callback. This is called by Tcl/Tk when the widget's - * contents have to be redrawn. Typically, we clear the color and depth - * buffers, render our objects, then swap the front/back color buffers. - */ -static int -display_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - static GLuint cubeList = 0; - const char *ident; - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) - return TCL_ERROR; - - glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); - - glLoadIdentity(); /* Reset modelview matrix to the identity - * matrix */ - glTranslatef(0, 0, -3); /* Move the camera back three units */ - glRotated(xAngle, 1, 0, 0); /* Rotate by X, Y, and Z angles */ - glRotated(yAngle, 0, 1, 0); - glRotated(zAngle, 0, 0, 1); - - glEnable(GL_DEPTH_TEST); - - if (!cubeList) { - cubeList = glGenLists(1); - glNewList(cubeList, GL_COMPILE); - - /* Front face */ - glBegin(GL_QUADS); - glColor3f(0, 0.7f, 0.1f); /* Green */ - glVertex3f(-1, 1, 1); - glVertex3f(1, 1, 1); - glVertex3f(1, -1, 1); - glVertex3f(-1, -1, 1); - /* Back face */ - glColor3f(0.9f, 1, 0); /* Yellow */ - glVertex3f(-1, 1, -1); - glVertex3f(1, 1, -1); - glVertex3f(1, -1, -1); - glVertex3f(-1, -1, -1); - /* Top side face */ - glColor3f(0.2f, 0.2f, 1); /* Blue */ - glVertex3f(-1, 1, 1); - glVertex3f(1, 1, 1); - glVertex3f(1, 1, -1); - glVertex3f(-1, 1, -1); - /* Bottom side face */ - glColor3f(0.7f, 0, 0.1f); /* Red */ - glVertex3f(-1, -1, 1); - glVertex3f(1, -1, 1); - glVertex3f(1, -1, -1); - glVertex3f(-1, -1, -1); - glEnd(); - - glEndList(); - - } - glCallList(cubeList); - - glDisable(GL_DEPTH_TEST); - glLoadIdentity(); - glColor3f(1, 1, 1); - glRasterPos3d(CornerX, CornerY, CornerZ); - ident = Togl_Ident(togl); - if (ident) - print_string(togl, ident); - Togl_SwapBuffers(togl); - return TCL_OK; -} - - - - -static int -setXrot_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "angle"); - return TCL_ERROR; - } - - if (Tcl_GetDoubleFromObj(interp, objv[1], &xAngle) != TCL_OK) { - return TCL_ERROR; - } - - /* printf( "before %f ", xAngle ); */ - - xAngle = fmod(xAngle, 360.0); - if (xAngle < 0) - xAngle += 360.0; - - /* printf( "after %f \n", xAngle ); */ - - /* Let result string equal value */ - Tcl_SetObjResult(interp, objv[1]); - return TCL_OK; -} - - -static int -setYrot_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName angle"); - return TCL_ERROR; - } - - if (Tcl_GetDoubleFromObj(interp, objv[1], &yAngle) != TCL_OK) { - return TCL_ERROR; - } - - yAngle = fmod(yAngle, 360.0); - if (yAngle < 0) - yAngle += 360.0; - - /* Let result string equal value */ - Tcl_SetObjResult(interp, objv[1]); - return TCL_OK; -} - -/* - * Called by Tcl to let me initialize the modules (Togl) I will need. - */ -EXTERN int -Double_Init(Tcl_Interp *interp) -{ - /* - * Initialize Tcl and the Togl widget module. - */ - if (Tcl_InitStubs(interp, "8.1", 0) == NULL - || Togl_InitStubs(interp, "2.0", 0) == NULL) { - return TCL_ERROR; - } - - /* - * Specify the C callback functions for widget creation, display, - * and reshape. - */ - Tcl_CreateObjCommand(interp, "double::create_cb", create_cb, NULL, NULL); - Tcl_CreateObjCommand(interp, "double::display_cb", display_cb, NULL, NULL); - Tcl_CreateObjCommand(interp, "double::reshape_cb", reshape_cb, NULL, NULL); - - /* - * Make a new Togl widget command so the Tcl code can set a C variable. - */ - - Tcl_CreateObjCommand(interp, "double::setXrot", setXrot_cb, NULL, NULL); - Tcl_CreateObjCommand(interp, "double::setYrot", setYrot_cb, NULL, NULL); - - /* - * Call Tcl_CreateCommand for application-specific commands, if - * they weren't already created by the init procedures called above. - */ - - return TCL_OK; -} diff --git a/src/other/togl/demo/double.tcl b/src/other/togl/demo/double.tcl deleted file mode 100644 index 9dbfe829021..00000000000 --- a/src/other/togl/demo/double.tcl +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/sh -# the next line restarts using tclsh \ -exec tclsh "$0" "$@" - -# $Id$ - -# Togl - a Tk OpenGL widget -# Copyright (C) 1996 Brian Paul and Ben Bederson -# Copyright (C) 2006-2007 Greg Couch -# See the LICENSE file for copyright details. - - -# An Tk/OpenGL widget demo with two windows, one single buffered and the -# other double buffered. - -package provide double 1.0 - -# add parent directory to path to find Togl's pkgIndex in current directory -if { [file exists pkgIndex.tcl] } { - set auto_path [linsert $auto_path 0 ..] -} -# following load also loads Tk and Togl packages -load [file dirname [info script]]/double[info sharedlibextension] - -# create ::double namespace -namespace eval ::double { -} - -proc double::setup {} { - wm title . "Single vs Double Buffering" - - # create first Togl widget - togl .o1 -width 200 -height 200 -rgba true -double false -depth true -ident "Single Buffered" -create double::create_cb -display double::display_cb -reshape double::reshape_cb - - # create second Togl widget, share display lists with first widget - togl .o2 -width 200 -height 200 -rgba true -double true -depth true -ident "Double Buffered" -sharelist "Single Buffered" -create double::create_cb -display double::display_cb -reshape double::reshape_cb - - scale .sx -label {X Axis} -from 0 -to 360 -command {::double::setAngle x} -orient horizontal - scale .sy -label {Y Axis} -from 0 -to 360 -command {::double::setAngle y} -orient horizontal - button .btn -text Quit -command exit - - bind .o1 { - ::double::motion_event [lindex [%W config -width] 4] \ - [lindex [%W config -height] 4] \ - %x %y - } - - bind .o2 { - ::double::motion_event [lindex [%W config -width] 4] \ - [lindex [%W config -height] 4] \ - %x %y - } - - grid rowconfigure . 0 -weight 1 - grid columnconfigure . 0 -weight 1 -uniform same - grid columnconfigure . 1 -weight 1 -uniform same - grid .o1 -row 0 -column 0 -sticky nesw -padx 3 -pady 3 - grid .o2 -row 0 -column 1 -sticky nesw -padx 3 -pady 3 - #grid .l1 -row 1 -column 0 -sticky ew -padx 3 -pady 3 - #grid .l2 -row 1 -column 1 -sticky ew -padx 3 -pady 3 - grid .sx -row 2 -column 0 -columnspan 2 -sticky ew - grid .sy -row 3 -column 0 -columnspan 2 -sticky ew - grid .btn -row 4 -column 0 -columnspan 2 -sticky ew -} - - - -# This is called when mouse button 1 is pressed and moved in either of -# the OpenGL windows. -proc double::motion_event { width height x y } { - .sx set [double::setXrot [expr 360.0 * $y / $height]] - .sy set [double::setYrot [expr 360.0 * ($width - $x) / $width]] - - .o1 postredisplay - .o2 postredisplay -} - -# This is called when a slider is changed. -proc double::setAngle {axis value} { - global xAngle yAngle zAngle - - switch -exact $axis { - x {double::setXrot $value - double::setXrot $value} - y {double::setYrot $value - double::setYrot $value} - } - - .o1 postredisplay - .o2 postredisplay -} - -# Execution starts here! -if { [info script] == $argv0 } { - ::double::setup -} diff --git a/src/other/togl/demo/gears.c b/src/other/togl/demo/gears.c deleted file mode 100644 index 8e557dc33e1..00000000000 --- a/src/other/togl/demo/gears.c +++ /dev/null @@ -1,491 +0,0 @@ -/* gears.c */ - -/* - * 3-D gear wheels. This program is in the public domain. - * - * Brian Paul - * - * - * Modified to work under Togl as a widget for TK 1997 - * - * Philip Quaife - * - */ - -#define USE_TOGL_STUBS - -#include "togl.h" -#include -#include -#include - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT - -#ifndef M_PI -# define M_PI 3.14159265 -#endif -#define FM_PI ((float) M_PI) - -#ifdef _MSC_VER -__inline float -sinf(double a) -{ - return (float) sin(a); -} -__inline float -cosf(double a) -{ - return (float) cos(a); -} -__inline float -sqrtf(double a) -{ - return (float) sqrt(a); -} - -# define sin sinf -# define cos cosf -# define sqrt sqrtf -#endif - -struct WHIRLYGIZMO -{ - int Gear1, Gear2, Gear3; - double Rotx, Roty, Rotz; - double Angle; - int Height, Width; -}; - -typedef struct WHIRLYGIZMO WHIRLYGIZMO; - -/* - * Draw a gear wheel. You'll probably want to call this function when - * building a display list since we do a lot of trig here. - * - * Input: inner_radius - radius of hole at center - * outer_radius - radius at center of teeth - * width - width of gear - * teeth - number of teeth - * tooth_depth - depth of tooth - */ -static void -gear(GLfloat inner_radius, GLfloat outer_radius, GLfloat width, - GLint teeth, GLfloat tooth_depth) -{ - GLint i; - GLfloat r0, r1, r2; - GLfloat angle, da; - GLfloat u, v, len; - - r0 = inner_radius; - r1 = outer_radius - tooth_depth / 2; - r2 = outer_radius + tooth_depth / 2; - - da = 2 * FM_PI / teeth / 4; - - glShadeModel(GL_FLAT); - - glNormal3f(0, 0, 1); - - /* draw front face */ - glBegin(GL_QUAD_STRIP); - for (i = 0; i <= teeth; i++) { - angle = i * 2 * FM_PI / teeth; - glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5f); - glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5f); - glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5f); - glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle + 3 * da), - width * 0.5f); - } - glEnd(); - - /* draw front sides of teeth */ - glBegin(GL_QUADS); - da = 2 * FM_PI / teeth / 4; - for (i = 0; i < teeth; i++) { - angle = i * 2 * FM_PI / teeth; - - glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5f); - glVertex3f(r2 * cos(angle + da), r2 * sin(angle + da), width * 0.5f); - glVertex3f(r2 * cos(angle + 2 * da), r2 * sin(angle + 2 * da), - width * 0.5f); - glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle + 3 * da), - width * 0.5f); - } - glEnd(); - - - glNormal3f(0, 0, -1); - - /* draw back face */ - glBegin(GL_QUAD_STRIP); - for (i = 0; i <= teeth; i++) { - angle = i * 2 * FM_PI / teeth; - glVertex3f(r1 * cos(angle), r1 * sin(angle), -width * 0.5f); - glVertex3f(r0 * cos(angle), r0 * sin(angle), -width * 0.5f); - glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle + 3 * da), - -width * 0.5f); - glVertex3f(r0 * cos(angle), r0 * sin(angle), -width * 0.5f); - } - glEnd(); - - /* draw back sides of teeth */ - glBegin(GL_QUADS); - da = 2 * FM_PI / teeth / 4; - for (i = 0; i < teeth; i++) { - angle = i * 2 * FM_PI / teeth; - - glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle + 3 * da), - -width * 0.5f); - glVertex3f(r2 * cos(angle + 2 * da), r2 * sin(angle + 2 * da), - -width * 0.5f); - glVertex3f(r2 * cos(angle + da), r2 * sin(angle + da), -width * 0.5f); - glVertex3f(r1 * cos(angle), r1 * sin(angle), -width * 0.5f); - } - glEnd(); - - - /* draw outward faces of teeth */ - glBegin(GL_QUAD_STRIP); - for (i = 0; i < teeth; i++) { - angle = i * 2 * FM_PI / teeth; - - glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5f); - glVertex3f(r1 * cos(angle), r1 * sin(angle), -width * 0.5f); - u = r2 * cos(angle + da) - r1 * cos(angle); - v = r2 * sin(angle + da) - r1 * sin(angle); - len = sqrt(u * u + v * v); - u /= len; - v /= len; - glNormal3f(v, -u, 0); - glVertex3f(r2 * cos(angle + da), r2 * sin(angle + da), width * 0.5f); - glVertex3f(r2 * cos(angle + da), r2 * sin(angle + da), -width * 0.5f); - glNormal3f(cos(angle), sin(angle), 0); - glVertex3f(r2 * cos(angle + 2 * da), r2 * sin(angle + 2 * da), - width * 0.5f); - glVertex3f(r2 * cos(angle + 2 * da), r2 * sin(angle + 2 * da), - -width * 0.5f); - u = r1 * cos(angle + 3 * da) - r2 * cos(angle + 2 * da); - v = r1 * sin(angle + 3 * da) - r2 * sin(angle + 2 * da); - glNormal3f(v, -u, 0); - glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle + 3 * da), - width * 0.5f); - glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle + 3 * da), - -width * 0.5f); - glNormal3f(cos(angle), sin(angle), 0); - } - - glVertex3f(r1 /* * cos(0) */ , /* r1 * sin(0) */ 0, width * 0.5f); - glVertex3f(r1 /* * cos(0) */ , /* r1 * sin(0) */ 0, -width * 0.5f); - - glEnd(); - - - glShadeModel(GL_SMOOTH); - - /* draw inside radius cylinder */ - glBegin(GL_QUAD_STRIP); - for (i = 0; i <= teeth; i++) { - angle = i * 2 * FM_PI / teeth; - glNormal3f(-cos(angle), -sin(angle), 0); - glVertex3f(r0 * cos(angle), r0 * sin(angle), -width * 0.5f); - glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5f); - } - glEnd(); - -} - -/* - * static GLfloat view_rotx=20, view_roty=30, view_rotz=0; static GLint - * gear1, gear2, gear3; static GLfloat angle = 0; */ -static GLuint limit; -static GLuint count = 1; - -static GLubyte polycolor[4] = { 255, 255, 255, 255 }; - -static int -draw(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const *objv) -{ - WHIRLYGIZMO *Wg; - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); - - Wg = (WHIRLYGIZMO *) Togl_GetClientData(togl); - glDisable(GL_TEXTURE_2D); - glPushMatrix(); - glRotatef((float) Wg->Rotx, 1, 0, 0); - glRotatef((float) Wg->Roty, 0, 1, 0); - glRotatef((float) Wg->Rotz, 0, 0, 1); - - glPushMatrix(); - glTranslatef(-3, -2, 0); - glRotatef((float) Wg->Angle, 0, 0, 1); - glEnable(GL_DEPTH_TEST); - glCallList(Wg->Gear1); - glEnable(GL_DEPTH_TEST); - glPopMatrix(); - - glPushMatrix(); - glTranslatef(3.1f, -2, 0); - glRotatef(-2 * (float) Wg->Angle - 9, 0, 0, 1); - glCallList(Wg->Gear2); - glPopMatrix(); - - glPushMatrix(); - glTranslatef(-3.1f, 4.2f, 0); - glRotatef(-2 * (float) Wg->Angle - 25, 0, 0, 1); - glCallList(Wg->Gear3); - glPopMatrix(); - - glPopMatrix(); - - Togl_SwapBuffers(togl); - - return TCL_OK; -} - - -static int -zap(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const *objv) -{ - WHIRLYGIZMO *Wg; - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - Wg = (WHIRLYGIZMO *) Togl_GetClientData(togl); - free(Wg); - - return TCL_OK; -} - - -static int -idle(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const *objv) -{ - WHIRLYGIZMO *Wg; - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - Wg = (WHIRLYGIZMO *) Togl_GetClientData(togl); - Wg->Angle += 2; - Togl_PostRedisplay(togl); - - return TCL_OK; -} - - -/* change view angle, exit upon ESC */ -/* - * static GLenum key(int k, GLenum mask) { switch (k) { case TK_UP: view_rotx - * += 5; return GL_TRUE; case TK_DOWN: view_rotx -= 5; return GL_TRUE; case - * TK_LEFT: view_roty += 5; return GL_TRUE; case TK_RIGHT: view_roty -= 5; - * return GL_TRUE; case TK_z: view_rotz += 5; return GL_TRUE; case TK_Z: - * view_rotz -= 5; return GL_TRUE; } return GL_FALSE; } */ - -/* new window size or exposure */ -static int -reshape(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - int width, height; - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - width = Togl_Width(togl); - height = Togl_Height(togl); - glViewport(0, 0, (GLint) width, (GLint) height); - glMatrixMode(GL_PROJECTION); - glLoadIdentity(); - if (width > height) { - GLfloat w = (GLfloat) width / (GLfloat) height; - - glFrustum(-w, w, -1, 1, 5, 60); - } else { - GLfloat h = (GLfloat) height / (GLfloat) width; - - glFrustum(-1, 1, -h, h, 5, 60); - } - - glMatrixMode(GL_MODELVIEW); - glLoadIdentity(); - glTranslatef(0, 0, -40); - glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); - - return TCL_OK; -} - - -static int -init(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const *objv) -{ - WHIRLYGIZMO *Wg; - static GLfloat red[4] = { 0.8f, 0.1f, 0, 1 }; - static GLfloat green[4] = { 0, 0.8f, 0.2f, 1 }; - static GLfloat blue[4] = { 0.2f, 0.2f, 1, 1 }; - static GLfloat pos[4] = { 5, 5, 10, 0 }; - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - glLightfv(GL_LIGHT0, GL_POSITION, pos); - glEnable(GL_CULL_FACE); - glEnable(GL_LIGHTING); - glEnable(GL_LIGHT0); - glEnable(GL_DEPTH_TEST); - /* make the gears */ - Wg = (WHIRLYGIZMO *) malloc(sizeof (WHIRLYGIZMO)); - if (!Wg) { - Tcl_SetResult(Togl_Interp(togl), - "\"Cannot allocate client data for widget\"", TCL_STATIC); - } - Wg->Gear1 = glGenLists(1); - glNewList(Wg->Gear1, GL_COMPILE); - glMaterialfv(GL_FRONT, GL_AMBIENT_AND_DIFFUSE, red); - gear(1, 4, 1, 20, 0.7f); - glEndList(); - - Wg->Gear2 = glGenLists(1); - glNewList(Wg->Gear2, GL_COMPILE); - glMaterialfv(GL_FRONT, GL_AMBIENT_AND_DIFFUSE, green); - gear(0.5f, 2, 2, 10, 0.7f); - glEndList(); - - Wg->Gear3 = glGenLists(1); - glNewList(Wg->Gear3, GL_COMPILE); - glMaterialfv(GL_FRONT, GL_AMBIENT_AND_DIFFUSE, blue); - gear(1.3f, 2, 0.5f, 10, 0.7f); - glEndList(); - - glEnable(GL_NORMALIZE); - Wg->Height = Togl_Height(togl); - Wg->Width = Togl_Width(togl); - Wg->Angle = 0; - Wg->Rotx = 0; - Wg->Roty = 0; - Wg->Rotz = 0; - Togl_SetClientData(togl, (ClientData) Wg); - - return TCL_OK; -} - -static int -position(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - WHIRLYGIZMO *Wg; - char Result[100]; - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - Wg = (WHIRLYGIZMO *) Togl_GetClientData(togl); - - /* Let result string equal value */ - sprintf(Result, "%g %g", Wg->Roty, Wg->Rotx); - - Tcl_SetResult(interp, Result, TCL_VOLATILE); - return TCL_OK; -} - -static int -rotate(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - WHIRLYGIZMO *Wg; - Togl *togl; - - if (objc != 4) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName yrot xrot"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - Wg = (WHIRLYGIZMO *) Togl_GetClientData(togl); - - if (Tcl_GetDoubleFromObj(interp, objv[2], &Wg->Roty) != TCL_OK) { - return TCL_ERROR; - } - if (Tcl_GetDoubleFromObj(interp, objv[3], &Wg->Rotx) != TCL_OK) { - return TCL_ERROR; - } - Togl_PostRedisplay(togl); - - return TCL_OK; -} - -EXTERN int -Gears_Init(Tcl_Interp *interp) -{ - /* - * Initialize Tcl and the Togl widget module. - */ - if (Tcl_InitStubs(interp, "8.1", 0) == NULL - || Togl_InitStubs(interp, "2.0", 0) == NULL) { - return TCL_ERROR; - } - - /* - * Specify the C callback functions for widget creation, display, - * and reshape. - */ - Tcl_CreateObjCommand(interp, "init", init, NULL, NULL); - Tcl_CreateObjCommand(interp, "zap", zap, NULL, NULL); - Tcl_CreateObjCommand(interp, "draw", draw, NULL, NULL); - Tcl_CreateObjCommand(interp, "reshape", reshape, NULL, NULL); - Tcl_CreateObjCommand(interp, "idle", idle, NULL, NULL); - Tcl_CreateObjCommand(interp, "rotate", rotate, NULL, NULL); - Tcl_CreateObjCommand(interp, "position", position, NULL, NULL); - return TCL_OK; -} diff --git a/src/other/togl/demo/gears.tcl b/src/other/togl/demo/gears.tcl deleted file mode 100755 index 1f6f44f3a2e..00000000000 --- a/src/other/togl/demo/gears.tcl +++ /dev/null @@ -1,88 +0,0 @@ -#!/bin/sh -# the next line restarts using tclsh \ -exec tclsh "$0" "$@" - -# Togl - a Tk OpenGL widget -# Copyright (C) 1996-1997 Brian Paul and Ben Bederson -# Copyright (C) 2006-2007 Greg Couch -# See the LICENSE file for copyright details. - - -# -# Test Togl using GL Gears Demo -# -# Copyright (C) 1997 Philip Quaife -# - -package require Togl - -package provide gears 1.0 - -# following load also loads Tk and Togl packages -load [file dirname [info script]]/gears[info sharedlibextension] - -# create ::gears namespace -namespace eval ::gears { -} - -proc ::gears::setup {} { - global startx starty xangle0 yangle0 xangle yangle RotCnt - global vTime - set RotCnt 1 - set xangle 0.0 - set yangle 0.0 - set vTime 100 - wm title . "Rotating Gear Widget Test" - - label .t -text "Click and drag to rotate image" - pack .t -side top -padx 2 -pady 10 - frame .f - pack .f -side top - button .f.n1 -text " Add " -command ::gears::AutoRot - button .f.r1 -text "Remove" -command ::gears::DelRot - button .f.b1 -text " Quit " -command exit - entry .f.t -width 4 -textvariable vTime - pack .f.n1 .f.t .f.r1 .f.b1 -side left -anchor w -padx 5 - newRot .w0 10 - -} -proc ::gears::AutoRot {} { - global RotCnt vTime - newRot .w$RotCnt $vTime - set RotCnt [expr $RotCnt + 1] -} - -proc ::gears::DelRot {} { - global RotCnt vTime - if { $RotCnt != 0 } { - set RotCnt [expr $RotCnt - 1] - destroy .w$RotCnt - } -} - -proc ::gears::newRot {win {tick 100} } { - togl $win -width 200 -height 200 -rgba true -double true -depth true -privatecmap false -time $tick -create init -destroy zap -display draw -reshape reshape -timer idle - bind $win {::gears::RotStart %x %y %W} - bind $win {::gears::RotMove %x %y %W} - pack $win -expand true -fill both -} - -proc ::gears::RotStart {x y W} { - global startx starty xangle0 yangle0 xangle yangle - set startx $x - set starty $y - set vPos [position $W] - set xangle0 [lindex $vPos 0] - set yangle0 [lindex $vPos 1] -} - -proc ::gears::RotMove {x y W} { - global startx starty xangle0 yangle0 xangle yangle - set xangle [expr $xangle0 + ($x - $startx)] - set yangle [expr $yangle0 + ($y - $starty)] - rotate $W $xangle $yangle -} - -if { [info script] == $argv0 } { - ::gears::setup -} diff --git a/src/other/togl/demo/image.h b/src/other/togl/demo/image.h deleted file mode 100644 index 30b537bc65d..00000000000 --- a/src/other/togl/demo/image.h +++ /dev/null @@ -1,14 +0,0 @@ -/* image.h */ - -#ifndef IMAGE_H -# define IMAGE_H - -typedef struct _TK_RGBImageRec -{ - int sizeX, sizeY, sizeZ; - unsigned char *data; -} TK_RGBImageRec; - -extern TK_RGBImageRec *tkRGBImageLoad(const char *fileName); - -#endif diff --git a/src/other/togl/demo/index.c b/src/other/togl/demo/index.c deleted file mode 100644 index f3d7becee09..00000000000 --- a/src/other/togl/demo/index.c +++ /dev/null @@ -1,227 +0,0 @@ -/* $Id$ */ - -/* - * Togl - a Tk OpenGL widget - * Copyright (C) 1996-1997 Brian Paul and Ben Bederson - * Copyright (C) 2006-2007 Greg Couch - * See the LICENSE file for copyright details. - */ - - -/* - * An example Togl program using color-index mode. - */ - -#define USE_TOGL_STUBS - -#include "togl.h" -#include -#include - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT - - -/* Our color indexes: */ -static unsigned long black, red, green, blue; - -/* Rotation angle */ -static float Angle = 0; - - -/* - * Togl widget create callback. This is called by Tcl/Tk when the widget has - * been realized. Here's where one may do some one-time context setup or - * initializations. - */ -static int -create_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - /* allocate color indexes */ - black = Togl_AllocColor(togl, 0, 0, 0); - red = Togl_AllocColor(togl, 1, 0, 0); - green = Togl_AllocColor(togl, 0, 1, 0); - blue = Togl_AllocColor(togl, 0, 0, 1); - - /* If we were using a private read/write colormap we'd setup our color - * table with something like this: */ - /* - * black = 1; Togl_SetColor( togl, black, 0, 0, 0 ); red = 2; - * Togl_SetColor( togl, red, 1, 0, 0 ); green = 3; Togl_SetColor( - * togl, green, 0, 1, 0 ); blue = 4; Togl_SetColor( togl, blue, 0, - * 0, 1 ); */ - - glShadeModel(GL_FLAT); - glDisable(GL_DITHER); - - return TCL_OK; -} - - -/* - * Togl widget reshape callback. This is called by Tcl/Tk when the widget - * has been resized. Typically, we call glViewport and perhaps setup the - * projection matrix. - */ -static int -reshape_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - int width; - int height; - float aspect; - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - width = Togl_Width(togl); - height = Togl_Height(togl); - aspect = (float) width / (float) height; - glViewport(0, 0, width, height); - - /* Set up projection transform */ - glMatrixMode(GL_PROJECTION); - glLoadIdentity(); - glOrtho(-aspect, aspect, -1, 1, -1, 1); - - /* Change back to model view transform for rendering */ - glMatrixMode(GL_MODELVIEW); - - return TCL_OK; -} - - -/* - * Togl widget display callback. This is called by Tcl/Tk when the widget's - * contents have to be redrawn. Typically, we clear the color and depth - * buffers, render our objects, then swap the front/back color buffers. - */ -static int -display_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - glClearIndex((float) black); - glClear(GL_COLOR_BUFFER_BIT); - - glPushMatrix(); - glTranslatef(0.3f, -0.3f, 0); - glRotatef(Angle, 0, 0, 1); - glIndexi(red); - glBegin(GL_TRIANGLES); - glVertex2f(-0.5f, -0.3f); - glVertex2f(0.5f, -0.3f); - glVertex2f(0, 0.6f); - glEnd(); - glPopMatrix(); - - glPushMatrix(); - glRotatef(Angle, 0, 0, 1); - glIndexi(green); - glBegin(GL_TRIANGLES); - glVertex2f(-0.5f, -0.3f); - glVertex2f(0.5f, -0.3f); - glVertex2f(0, 0.6f); - glEnd(); - glPopMatrix(); - - glPushMatrix(); - glTranslatef(-0.3f, 0.3f, 0); - glRotatef(Angle, 0, 0, 1); - glIndexi(blue); - glBegin(GL_TRIANGLES); - glVertex2f(-0.5f, -0.3f); - glVertex2f(0.5f, -0.3f); - glVertex2f(0, 0.6f); - glEnd(); - glPopMatrix(); - - glFlush(); - Togl_SwapBuffers(togl); - - return TCL_OK; -} - - -static int -timer_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - Angle += 5.0; - Togl_PostRedisplay(togl); - - return TCL_OK; -} - - -EXTERN int -Index_Init(Tcl_Interp *interp) -{ - /* - * Initialize Tcl and the Togl widget module. - */ - if (Tcl_InitStubs(interp, "8.1", 0) == NULL - || Togl_InitStubs(interp, "2.0", 0) == NULL) { - return TCL_ERROR; - } - - /* - * Specify the C callback functions for widget creation, display, - * and reshape. - */ - Tcl_CreateObjCommand(interp, "::index::create_cb", create_cb, NULL, NULL); - Tcl_CreateObjCommand(interp, "::index::display_cb", display_cb, NULL, NULL); - Tcl_CreateObjCommand(interp, "::index::reshape_cb", reshape_cb, NULL, NULL); - Tcl_CreateObjCommand(interp, "::index::timer_cb", timer_cb, NULL, NULL); - - /* - * Make a new Togl widget command so the Tcl code can set a C variable. - */ - /* NONE */ - - /* - * Call Tcl_CreateCommand for application-specific commands, if - * they weren't already created by the init procedures called above. - */ - return TCL_OK; -} diff --git a/src/other/togl/demo/index.tcl b/src/other/togl/demo/index.tcl deleted file mode 100644 index a01e97c0fa2..00000000000 --- a/src/other/togl/demo/index.tcl +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh -# the next line restarts using tclsh \ -exec tclsh "$0" "$@" - -# $Id$ - -# Togl - a Tk OpenGL widget -# Copyright (C) 1996 Brian Paul and Ben Bederson -# Copyright (C) 2006-2007 Greg Couch -# See the LICENSE file for copyright details. - - -# A Tk/OpenGL widget demo using color-index mode. - -package provide index 1.0 - -# add parent directory to path to find Togl's pkgIndex in current directory -if { [file exists pkgIndex.tcl] } { - set auto_path [linsert $auto_path 0 ..] -} -# following load also loads Tk and Togl packages -load [file dirname [info script]]/index[info sharedlibextension] - -# create ::index namespace -namespace eval ::index { -} - -proc ::index::setup {} { - wm title . "Color index demo" - - togl .win -width 200 -height 200 -rgba false -double true -privatecmap false -time 10 -timer ::index::timer_cb -create ::index::create_cb -reshape ::index::reshape_cb -display ::index::display_cb - button .photo -text "Take Photo" -command ::index::take_photo - button .btn -text Quit -command exit - - pack .win -expand true -fill both - pack .photo -expand true -fill both - pack .btn -expand true -fill both -} - -proc ::index::take_photo {} { - image create photo img - .win takephoto img - img write image.ppm -format ppm -} - - -# Execution starts here! -if { [info script] == $argv0 } { - ::index::setup -} diff --git a/src/other/togl/demo/multisample.tcl b/src/other/togl/demo/multisample.tcl deleted file mode 100755 index feb58bc9653..00000000000 --- a/src/other/togl/demo/multisample.tcl +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/sh -# the next line restarts using tclsh \ -exec tclsh "$0" "$@" - -# $Id$ - -# Togl - a Tk OpenGL widget -# Copyright (C) 1996 Brian Paul and Ben Bederson -# Copyright (C) 2006-2007 Greg Couch -# See the LICENSE file for copyright details. - - -# An Tk/OpenGL widget demo with two windows, one aliased and the -# other multisampled. Reuse C code from double buffering demo. - -package provide multisample 1.0 - -# add parent directory to path to find Togl's pkgIndex in current directory -if { [file exists pkgIndex.tcl] } { - set auto_path [linsert $auto_path 0 ..] -} -# following load also loads Tk and Togl packages -load [file dirname [info script]]/double[info sharedlibextension] - -# create ::multisample namespace -namespace eval ::multisample { -} - -proc multisample::setup {} { - wm title . "Multisample vs Aliased" - - # create first Togl widget - togl .o1 -width 200 -height 200 -rgba true -double true -depth true -create double::create_cb -display double::display_cb -reshape double::reshape_cb -multisample false -ident Aliased - - # create second Togl widget, share display lists with first widget - togl .o2 -width 200 -height 200 -rgba true -double true -depth true -create double::create_cb -display double::display_cb -reshape double::reshape_cb -multisample true -ident Multisampled -sharelist Aliased - - scale .sx -label {X Axis} -from 0 -to 360 -command {::multisample::setAngle x} -orient horizontal - scale .sy -label {Y Axis} -from 0 -to 360 -command {::multisample::setAngle y} -orient horizontal - button .btn -text Quit -command exit - - bind .o1 { - ::multisample::motion_event [lindex [%W config -width] 4] \ - [lindex [%W config -height] 4] \ - %x %y - } - - bind .o2 { - ::multisample::motion_event [lindex [%W config -width] 4] \ - [lindex [%W config -height] 4] \ - %x %y - } - - grid rowconfigure . 0 -weight 1 - grid columnconfigure . 0 -weight 1 -uniform same - grid columnconfigure . 1 -weight 1 -uniform same - grid .o1 -row 0 -column 0 -sticky nesw -padx 3 -pady 3 - grid .o2 -row 0 -column 1 -sticky nesw -padx 3 -pady 3 - #grid .l1 -row 1 -column 0 -sticky ew -padx 3 -pady 3 - #grid .l2 -row 1 -column 1 -sticky ew -padx 3 -pady 3 - grid .sx -row 2 -column 0 -columnspan 2 -sticky ew - grid .sy -row 3 -column 0 -columnspan 2 -sticky ew - grid .btn -row 4 -column 0 -columnspan 2 -sticky ew -} - - - -# This is called when mouse button 1 is pressed and moved in either of -# the OpenGL windows. -proc multisample::motion_event { width height x y } { - .sx set [double::setXrot [expr 360.0 * $y / $height]] - .sy set [double::setYrot [expr 360.0 * ($width - $x) / $width]] - - .o1 postredisplay - .o2 postredisplay -} - -# This is called when a slider is changed. -proc multisample::setAngle {axis value} { - global xAngle yAngle zAngle - - switch -exact $axis { - x {double::setXrot $value - double::setXrot $value} - y {double::setYrot $value - double::setYrot $value} - } - - .o1 postredisplay - .o2 postredisplay -} - -# Execution starts here! -if { [info script] == $argv0 } { - ::multisample::setup -} diff --git a/src/other/togl/demo/overlay.c b/src/other/togl/demo/overlay.c deleted file mode 100644 index 26ad6abffc8..00000000000 --- a/src/other/togl/demo/overlay.c +++ /dev/null @@ -1,214 +0,0 @@ -/* $Id$ */ - -/* - * Togl - a Tk OpenGL widget - * Copyright (C) 1996-1997 Brian Paul and Ben Bederson - * Copyright (C) 2006-2007 Greg Couch - * See the LICENSE file for copyright details. - */ - - -/* - * An example Togl program using an overlay. - */ - -#define USE_TOGL_STUBS - -#include "togl.h" -#include -#include - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT - - -/* Overlay color indexes: */ -static unsigned long Red, Green; - - -/* - * Togl widget create callback. This is called by Tcl/Tk when the widget has - * been realized. Here's where one may do some one-time context setup or - * initializations. - */ -static int -create_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - /* allocate overlay color indexes */ - Red = Togl_AllocColorOverlay(togl, 1, 0, 0); - Green = Togl_AllocColorOverlay(togl, 0, 1, 0); - - /* in this demo we always show the overlay */ - if (Togl_ExistsOverlay(togl)) { - Togl_ShowOverlay(togl); - printf("Red and green lines are in the overlay\n"); - } else { - printf("Sorry, this display doesn't support overlays\n"); - } - return TCL_OK; -} - - -/* - * Togl widget reshape callback. This is called by Tcl/Tk when the widget - * has been resized. Typically, we call glViewport and perhaps setup the - * projection matrix. - */ -static int -reshape_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - int width; - int height; - float aspect; - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - width = Togl_Width(togl); - height = Togl_Height(togl); - aspect = (float) width / (float) height; - - /* Set up viewing for normal plane's context */ - glViewport(0, 0, width, height); - glMatrixMode(GL_PROJECTION); - glLoadIdentity(); - glOrtho(-aspect, aspect, -1, 1, -1, 1); - glMatrixMode(GL_MODELVIEW); - - /* Set up viewing for overlay plane's context */ - if (Togl_ExistsOverlay(togl)) { - Togl_UseLayer(togl, TOGL_OVERLAY); - glViewport(0, 0, width, height); - glMatrixMode(GL_PROJECTION); - glLoadIdentity(); - glOrtho(-1, 1, -1, 1, -1, 1); - glMatrixMode(GL_MODELVIEW); - Togl_UseLayer(togl, TOGL_NORMAL); - } - return TCL_OK; -} - - -/* - * Togl widget overlay display callback. This is called by Tcl/Tk when the - * overlay has to be redrawn. - */ -static int -overlay_display_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - glClear(GL_COLOR_BUFFER_BIT); - - glIndexi(Red); - glBegin(GL_LINES); - glVertex2f(-1, -1); - glVertex2f(1, 1); - glVertex2f(-1, 1); - glVertex2f(1, -1); - glEnd(); - - glIndexi(Green); - glBegin(GL_LINE_LOOP); - glVertex2f(-0.5f, -0.5f); - glVertex2f(0.5f, -0.5f); - glVertex2f(0.5f, 0.5f); - glVertex2f(-0.5f, 0.5f); - glEnd(); - glFlush(); - return TCL_OK; -} - - -/* - * Togl widget display callback. This is called by Tcl/Tk when the widget's - * contents have to be redrawn. Typically, we clear the color and depth - * buffers, render our objects, then swap the front/back color buffers. - */ -static int -display_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - glClear(GL_COLOR_BUFFER_BIT); - - glLoadIdentity(); - - glBegin(GL_TRIANGLES); - - glColor3f(1, 0, 1); - glVertex2f(-0.5f, -0.3f); - glVertex2f(0.5f, -0.3f); - glVertex2f(0, 0.6f); - - glColor3f(1, 1, 0); - glVertex2f(-0.5f + 0.2f, -0.3f - 0.2f); - glVertex2f(0.5f + 0.2f, -0.3f - 0.2f); - glVertex2f(0 + 0.2f, 0.6f - 0.2f); - - glColor3f(0, 1, 1); - glVertex2f(-0.5f + 0.4f, -0.3f - 0.4f); - glVertex2f(0.5f + 0.4f, -0.3f - 0.4f); - glVertex2f(0 + 0.4f, 0.6f - 0.4f); - - glEnd(); - - glFlush(); - return TCL_OK; -} - - -/* - * Called by Tcl to let me initialize the modules (Togl) I will need. - */ -EXTERN int -Overlay_Init(Tcl_Interp *interp) -{ - /* - * Initialize Tcl and the Togl widget module. - */ - if (Tcl_InitStubs(interp, "8.1", 0) == NULL - || Togl_InitStubs(interp, "2.0", 0) == NULL) { - return TCL_ERROR; - } - - /* - * Specify the C callback functions for widget creation, display, - * and reshape. - */ - Tcl_CreateObjCommand(interp, "create_cb", create_cb, NULL, NULL); - Tcl_CreateObjCommand(interp, "display_cb", display_cb, NULL, NULL); - Tcl_CreateObjCommand(interp, "reshape_cb", reshape_cb, NULL, NULL); - - Tcl_CreateObjCommand(interp, "overlay_display_cb", overlay_display_cb, NULL, - NULL); - - /* - * Make a new Togl widget command so the Tcl code can set a C variable. - */ - /* NONE */ - - /* - * Call Tcl_CreateCommand for application-specific commands, if - * they weren't already created by the init procedures called above. - */ - return TCL_OK; -} diff --git a/src/other/togl/demo/overlay.tcl b/src/other/togl/demo/overlay.tcl deleted file mode 100755 index 14b74902e19..00000000000 --- a/src/other/togl/demo/overlay.tcl +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh -# the next line restarts using tclsh \ -exec tclsh "$0" "$@" - -# $Id$ - -# Togl - a Tk OpenGL widget -# Copyright (C) 1996 Brian Paul and Ben Bederson -# Copyright (C) 2006-2007 Greg Couch -# See the LICENSE file for copyright details. - - -# A Tk/OpenGL widget demo using an overlay. - -# add parent directory to path to find Togl's pkgIndex in current directory -if { [file exists pkgIndex.tcl] } { - set auto_path [linsert $auto_path 0 ..] -} -# following load also loads Tk and Togl packages -load [file dirname [info script]]/overlay[info sharedlibextension] - -proc setup {} { - wm title . "Overlay demo" - - togl .win -width 200 -height 200 -rgba true -double false -overlay true -create create_cb -reshape reshape_cb -display display_cb -overlaydisplay overlay_display_cb - button .btn -text Quit -command exit - - pack .win -expand true -fill both - pack .btn -expand true -fill both -} - - -# Execution starts here! -# Execution starts here! -if { [info script] == $argv0 } { - setup -} diff --git a/src/other/togl/demo/pbuffer.c b/src/other/togl/demo/pbuffer.c deleted file mode 100644 index d56dd090586..00000000000 --- a/src/other/togl/demo/pbuffer.c +++ /dev/null @@ -1,489 +0,0 @@ -/* $Id$ */ - -/* - * Togl - a Tk OpenGL widget - * Copyright (C) 1996-1997 Brian Paul and Ben Bederson - * Copyright (C) 2006-2007 Greg Couch - * See the LICENSE file for copyright details. - */ - -#undef PBUFFER_DEBUG - -#define USE_TOGL_STUBS - -#include "togl.h" -#include -#include -#include -#if defined(TOGL_AGL) -# include -# include -#elif defined(TOGL_NSOPENGL) -# include -# include -#else -# include -#endif -#include /* OpenGL 1.4 GL_GENERATE_MIPMAP */ - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT - -static double xAngle = 0, yAngle = 0, zAngle = 0; -static GLdouble CornerX, CornerY, CornerZ; /* where to print strings */ -static GLuint texture; -static Togl *output; - -/* - * Togl widget create callback. This is called by Tcl/Tk when the widget has - * been realized. Here's where one may do some one-time context setup or - * initializations. - */ -static int -create_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - Togl *togl; - double version; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - version = atof((const char *) glGetString(GL_VERSION)); - if (version < 1.4) { - Tcl_SetResult(interp, "need OpenGL 1.4 or later", TCL_STATIC); - return TCL_ERROR; - } - - return TCL_OK; -} - - -/* - * Togl widget reshape callback. This is called by Tcl/Tk when the widget - * has been resized. Typically, we call glViewport and perhaps setup the - * projection matrix. - */ -static int -reshape_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - int width; - int height; - double aspect; - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - width = Togl_Width(togl); - height = Togl_Height(togl); - aspect = (double) width / (double) height; - - glViewport(0, 0, width, height); - - /* Set up projection transform */ - glMatrixMode(GL_PROJECTION); - glLoadIdentity(); - glFrustum(-aspect, aspect, -1, 1, 1, 10); - - CornerX = -aspect; - CornerY = -1; - CornerZ = -1.1; - - /* Change back to model view transform for rendering */ - glMatrixMode(GL_MODELVIEW); - - return TCL_OK; -} - - -/* - * Togl widget reshape callback. This is called by Tcl/Tk when the widget - * has been resized. Typically, we call glViewport and perhaps setup the - * projection matrix. - */ -static int -reshape2_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - int width; - int height; - double aspect; - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - width = Togl_Width(togl); - height = Togl_Height(togl); - aspect = (double) width / (double) height; - - glViewport(0, 0, width, height); - - /* Set up projection transform */ - glMatrixMode(GL_PROJECTION); - glLoadIdentity(); - glOrtho(-aspect, aspect, -1, 1, -1, 1); - - /* Change back to model view transform for rendering */ - glMatrixMode(GL_MODELVIEW); - glLoadIdentity(); - - return TCL_OK; -} - - -static void -draw_object() -{ - static GLuint cubeList = 0; - - glLoadIdentity(); /* Reset modelview matrix to the identity - * matrix */ - glTranslatef(0, 0, -3); /* Move the camera back three units */ - glRotated(xAngle, 1, 0, 0); /* Rotate by X, Y, and Z angles */ - glRotated(yAngle, 0, 1, 0); - glRotated(zAngle, 0, 0, 1); - - glEnable(GL_DEPTH_TEST); - - if (!cubeList) { - cubeList = glGenLists(1); - glNewList(cubeList, GL_COMPILE); - - /* Front face */ - glBegin(GL_QUADS); - glColor3f(0, 0.7f, 0.1f); /* Green */ - glVertex3f(-1, 1, 1); - glVertex3f(1, 1, 1); - glVertex3f(1, -1, 1); - glVertex3f(-1, -1, 1); - /* Back face */ - glColor3f(0.9f, 1, 0); /* Yellow */ - glVertex3f(-1, 1, -1); - glVertex3f(1, 1, -1); - glVertex3f(1, -1, -1); - glVertex3f(-1, -1, -1); - /* Top side face */ - glColor3f(0.2f, 0.2f, 1); /* Blue */ - glVertex3f(-1, 1, 1); - glVertex3f(1, 1, 1); - glVertex3f(1, 1, -1); - glVertex3f(-1, 1, -1); - /* Bottom side face */ - glColor3f(0.7f, 0, 0.1f); /* Red */ - glVertex3f(-1, -1, 1); - glVertex3f(1, -1, 1); - glVertex3f(1, -1, -1); - glVertex3f(-1, -1, -1); - glEnd(); - - glEndList(); - - } - glCallList(cubeList); -} - -/* - * Togl widget display callback. This is called by Tcl/Tk when the widget's - * contents have to be redrawn. Typically, we clear the color and depth - * buffers, render our objects, then swap the front/back color buffers. - */ -static int -display_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) - return TCL_ERROR; - - glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); - - draw_object(); - -#ifdef PBUFFER_DEBUG - { - Tk_PhotoHandle photo; - - /* first tcl: image create photo test */ - photo = Tk_FindPhoto(interp, "test2"); - if (photo == NULL) { - fprintf(stderr, "missing tk photo object test2\n"); - } else { - Togl_TakePhoto(togl, photo); - Tcl_Eval(interp, "test2 write test2.ppm -format ppm"); - } - } -#endif - Togl_SwapBuffers(togl); - return TCL_OK; -} - - -/* - * Togl widget display callback. This is called by Tcl/Tk when the widget's - * contents have to be redrawn. Typically, we clear the color and depth - * buffers, render our objects, then swap the front/back color buffers. - */ -static int -display2_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) - return TCL_ERROR; - - glClear(GL_COLOR_BUFFER_BIT); - - if (texture) { - glEnable(GL_TEXTURE_2D); - glBindTexture(GL_TEXTURE_2D, texture); - glBegin(GL_QUADS); - glTexCoord2i(0, 0); - glVertex2i(-1, -1); - glTexCoord2i(1, 0); - glVertex2i(1, -1); - glTexCoord2i(1, 1); - glVertex2i(1, 1); - glTexCoord2i(0, 1); - glVertex2i(-1, 1); - glEnd(); - glBindTexture(GL_TEXTURE_2D, 0); - } - - Togl_SwapBuffers(togl); - return TCL_OK; -} - - -/* - * Togl widget display callback. This is called by Tcl/Tk when the widget's - * contents have to be redrawn. Typically, we clear the color and depth - * buffers, render our objects, then swap the front/back color buffers. - */ -static int -pbuffer_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - Togl *togl; - int width; - int height; - GLenum error; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) - return TCL_ERROR; - - width = Togl_Width(togl); - height = Togl_Height(togl); - - if (texture == 0) { - glGenTextures(1, &texture); - glBindTexture(GL_TEXTURE_2D, texture); - glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); -#if !defined(TOGL_AGL) && !defined(TOGL_NSOPENGL) - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, - GL_LINEAR_MIPMAP_LINEAR); -#else - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); -#endif - glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, width, height, 0, GL_RGB, - GL_BYTE, NULL); - glTexParameteri(GL_TEXTURE_2D, GL_GENERATE_MIPMAP, GL_TRUE); - glBindTexture(GL_TEXTURE_2D, 0); - error = glGetError(); - if (error != GL_NO_ERROR) { - fprintf(stderr, "texture init: %s\n", gluErrorString(error)); - } -#if 0 && defined(TOGL_AGL) - AGLContext ctx = aglGetCurrentContext(); - AGLPbuffer pbuf; - GLint face, level, screen; - GLenum err; - - aglGetPBuffer(ctx, &pbuf, &face, &level, &screen); - err = aglGetError(); - if (err != AGL_NO_ERROR) - fprintf(stderr, "getPBuffer: %s\n", aglErrorString(err)); - aglTexImagePBuffer(ctx, pbuf, GL_FRONT); - err = aglGetError(); - if (err != AGL_NO_ERROR) - fprintf(stderr, "teximagepbuffer: %s\n", aglErrorString(err)); -#endif - } - - glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); - - draw_object(); - -#if 1 || !defined(TOGL_AGL) - glBindTexture(GL_TEXTURE_2D, texture); - glCopyTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 0, 0, width, height); - glBindTexture(GL_TEXTURE_2D, 0); - error = glGetError(); - if (error != GL_NO_ERROR) { - fprintf(stderr, "after tex copy: %s\n", gluErrorString(error)); - } -#endif -#ifdef PBUFFER_DEBUG - { - Tk_PhotoHandle photo; - - /* first tcl: image create photo test */ - photo = Tk_FindPhoto(interp, "test"); - Togl_TakePhoto(togl, photo); - Tcl_Eval(interp, "test write test.ppm -format ppm"); - } -#endif - Togl_SwapBuffers(togl); - if (output) - Togl_PostRedisplay(output); - - return TCL_OK; -} - - -static int -setXrot_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "angle"); - return TCL_ERROR; - } - - if (Tcl_GetDoubleFromObj(interp, objv[1], &xAngle) != TCL_OK) { - return TCL_ERROR; - } - - /* printf( "before %f ", xAngle ); */ - - xAngle = fmod(xAngle, 360.0); - if (xAngle < 0.0) - xAngle += 360.0; - - /* printf( "after %f \n", xAngle ); */ - - /* Let result string equal value */ - Tcl_SetObjResult(interp, objv[1]); - return TCL_OK; -} - - -static int -setYrot_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "angle"); - return TCL_ERROR; - } - - if (Tcl_GetDoubleFromObj(interp, objv[1], &yAngle) != TCL_OK) { - return TCL_ERROR; - } - - yAngle = fmod(yAngle, 360.0); - if (yAngle < 0.0) - yAngle += 360.0; - - /* Let result equal value */ - Tcl_SetObjResult(interp, objv[1]); - return TCL_OK; -} - -static int -setOutput_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &output) != TCL_OK) - return TCL_ERROR; - - return TCL_OK; -} - -/* - * Called by Tcl to let me initialize the modules (Togl) I will need. - */ -EXTERN int -Pbuffer_Init(Tcl_Interp *interp) -{ - /* - * Initialize Tcl and the Togl widget module. - */ - if (Tcl_InitStubs(interp, "8.1", 0) == NULL -#ifdef PBUFFER_DEBUG - || Tk_InitStubs(interp, "8.1", 0) == NULL -#endif - || Togl_InitStubs(interp, "2.0", 0) == NULL) { - return TCL_ERROR; - } - - /* - * Specify the C callback functions for widget creation, display, - * and reshape. - */ - Tcl_CreateObjCommand(interp, "create_cb", create_cb, NULL, NULL); - Tcl_CreateObjCommand(interp, "display_cb", display_cb, NULL, NULL); - Tcl_CreateObjCommand(interp, "display2_cb", display2_cb, NULL, NULL); - Tcl_CreateObjCommand(interp, "pbuffer_cb", pbuffer_cb, NULL, NULL); - Tcl_CreateObjCommand(interp, "reshape_cb", reshape_cb, NULL, NULL); - Tcl_CreateObjCommand(interp, "reshape2_cb", reshape2_cb, NULL, NULL); - - /* - * Make a new Togl widget command so the Tcl code can set a C variable. - */ - - Tcl_CreateObjCommand(interp, "setXrot", setXrot_cb, NULL, NULL); - Tcl_CreateObjCommand(interp, "setYrot", setYrot_cb, NULL, NULL); - Tcl_CreateObjCommand(interp, "setOutput", setOutput_cb, NULL, NULL); - - /* - * Call Tcl_CreateCommand for application-specific commands, if - * they weren't already created by the init procedures called above. - */ - - return TCL_OK; -} diff --git a/src/other/togl/demo/pbuffer.tcl b/src/other/togl/demo/pbuffer.tcl deleted file mode 100755 index 30efd72d187..00000000000 --- a/src/other/togl/demo/pbuffer.tcl +++ /dev/null @@ -1,115 +0,0 @@ -#!/bin/sh -# the next line restarts using tclsh \ -exec tclsh "$0" "$@" - -# $Id$ - -# Togl - a Tk OpenGL widget -# Copyright (C) 1996 Brian Paul and Ben Bederson -# Copyright (C) 2006-2007 Greg Couch -# See the LICENSE file for copyright details. - - -# An Tk/OpenGL widget demo with two double-buffered OpenGL windows. -# The first shows the aliased object, the second show the results of -# rendering the same object in a higher resolution Pbuffer and using -# texture mapping to antialias it. - -package provide pbuffer 1.0 - -# add parent directory to path to find Togl's pkgIndex in current directory -if { [file exists pkgIndex.tcl] } { - set auto_path [linsert $auto_path 0 ..] -} -# following load also loads Tk and Togl packages -load [file dirname [info script]]/pbuffer[info sharedlibextension] - -# create ::pbuffer namespace -namespace eval ::pbuffer { -} - -proc pbuffer::setup {} { - wm title . "Pbuffer test" - -#debug - image create photo test - image create photo test2 -#end debug - - # create first Togl widget - togl .o1 -width 300 -height 300 -rgba true -double true -depth true -ident main -create create_cb -reshape reshape_cb -display display_cb - label .l1 -text "RGB, Z, double" - - # create second Togl widget, share display lists with first widget, no depth - togl .o2 -width 300 -height 300 -rgba true -double true -sharelist main -reshape reshape2_cb -display display2_cb -ident second - setOutput .o2 - label .l2 -text "RGB from pbuffer texture" - - # create off-screen pbuffer, share display lists with other widgets - # must power of 2 squared in size - togl .pbuf -width 2048 -height 2048 -rgba true -depth true -sharelist main -pbuffer 1 -reshape reshape_cb -display pbuffer_cb -ident pbuffer - - scale .sx -label {X Axis} -from 0 -to 360 -command {::pbuffer::setAngle x} -orient horizontal - scale .sy -label {Y Axis} -from 0 -to 360 -command {::pbuffer::setAngle y} -orient horizontal - button .btn -text Quit -command exit - - bind .o1 { - ::pbuffer::motion_event [lindex [%W config -width] 4] \ - [lindex [%W config -height] 4] \ - %x %y - } - - bind .o2 { - ::pbuffer::motion_event [lindex [%W config -width] 4] \ - [lindex [%W config -height] 4] \ - %x %y - } - - grid rowconfigure . 0 -weight 1 - grid columnconfigure . 0 -weight 1 -uniform same - grid columnconfigure . 1 -weight 1 -uniform same - grid .o1 -row 0 -column 0 -sticky nesw -padx 3 -pady 3 - grid .o2 -row 0 -column 1 -sticky nesw -padx 3 -pady 3 - grid .l1 -row 1 -column 0 -sticky ew -padx 3 -pady 3 - grid .l2 -row 1 -column 1 -sticky ew -padx 3 -pady 3 - grid .sx -row 2 -column 0 -columnspan 2 -sticky ew - grid .sy -row 3 -column 0 -columnspan 2 -sticky ew - grid .btn -row 4 -column 0 -columnspan 2 -sticky ew -} - - -proc pbuffer::display { } { - pbuffer_cb .pbuf - .o2 postredisplay -} - - -# This is called when mouse button 1 is pressed and moved in either of -# the OpenGL windows. -proc pbuffer::motion_event { width height x y } { - .sx set [setXrot [expr 360.0 * $y / $height]] - .sy set [setYrot [expr 360.0 * ($width - $x) / $width]] - - .o1 postredisplay - .pbuf postredisplay -} - -# This is called when a slider is changed. -proc pbuffer::setAngle {axis value} { - global xAngle yAngle zAngle - - switch -exact $axis { - x {setXrot $value - setXrot $value} - y {setYrot $value - setYrot $value} - } - - .o1 postredisplay - .pbuf postredisplay -} - -# Execution starts here! -if { [info script] == $argv0 } { - ::pbuffer::setup -} diff --git a/src/other/togl/demo/stereo.c b/src/other/togl/demo/stereo.c deleted file mode 100644 index 6ae1155071f..00000000000 --- a/src/other/togl/demo/stereo.c +++ /dev/null @@ -1,343 +0,0 @@ -/* $Id$ */ - -/* - * Togl - a Tk OpenGL widget - * Copyright (C) 1996-1997 Brian Paul and Ben Bederson - * Copyright (C) 2006-2009 Greg Couch - * See the LICENSE file for copyright details. - */ - -#define USE_TOGL_STUBS - -#include "togl.h" -#include -#include - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT - - -static Tcl_Obj *toglFont; -static double xAngle = 0, yAngle = 0, zAngle = 0; -static GLfloat CornerX, CornerY, CornerZ; /* where to print strings */ -static double coord_scale = 1; - - - -/* - * Togl widget create callback. This is called by Tcl/Tk when the widget has - * been realized. Here's where one may do some one-time context setup or - * initializations. - */ -static int -create_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - return TCL_OK; -} - - -/* - * Togl widget reshape callback. This is called by Tcl/Tk when the widget - * has been resized. Typically, we call glViewport and perhaps setup the - * projection matrix. - */ -static int -reshape_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - int width; - int height; - float aspect; - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - width = Togl_Width(togl); - height = Togl_Height(togl); - aspect = (float) width / (float) height; - - glViewport(0, 0, width, height); - - /* Set up projection transform */ - glMatrixMode(GL_PROJECTION); - glLoadIdentity(); - glFrustum(-aspect, aspect, -1, 1, 1, 10); - - CornerX = -aspect; - CornerY = -1; - CornerZ = -1.1f; - - /* Change back to model view transform for rendering */ - glMatrixMode(GL_MODELVIEW); - return TCL_OK; -} - - -static void -draw_eye(Togl *togl) -{ - static GLuint cubeList = 0; - - Togl_Clear(togl, GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); - glMatrixMode(GL_PROJECTION); - glLoadIdentity(); - Togl_Frustum(togl, -1, 1, -1, 1, 1, 10); - glMatrixMode(GL_MODELVIEW); - - if (!cubeList) { - cubeList = glGenLists(1); - glNewList(cubeList, GL_COMPILE); - - /* Front face */ - glBegin(GL_QUADS); - glColor3f(0.4f, 0.8f, 0.4f); /* Green-ish */ - glVertex3f(-1, 1, 1); - glVertex3f(1, 1, 1); - glVertex3f(1, -1, 1); - glVertex3f(-1, -1, 1); - /* Back face */ - glColor3f(0.8f, 0.8f, 0.4f); /* Yellow-ish */ - glVertex3f(-1, 1, -1); - glVertex3f(1, 1, -1); - glVertex3f(1, -1, -1); - glVertex3f(-1, -1, -1); - /* Top side face */ - glColor3f(0.4f, 0.4f, 0.8f); /* Blue-ish */ - glVertex3f(-1, 1, 1); - glVertex3f(1, 1, 1); - glVertex3f(1, 1, -1); - glVertex3f(-1, 1, -1); - /* Bottom side face */ - glColor3f(0.8f, 0.4f, 0.4f); /* Red-ish */ - glVertex3f(-1, -1, 1); - glVertex3f(1, -1, 1); - glVertex3f(1, -1, -1); - glVertex3f(-1, -1, -1); - glEnd(); - - glEndList(); - } - glCallList(cubeList); -} - -/* - * Togl widget display callback. This is called by Tcl/Tk when the widget's - * contents have to be redrawn. Typically, we clear the color and depth - * buffers, render our objects, then swap the front/back color buffers. - */ -static int -display_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - /* setup modelview matrix */ - glLoadIdentity(); /* Reset modelview matrix to the identity - * matrix */ - glTranslatef(0, 0, -3.0); /* Move the camera back three units */ - glScaled(coord_scale, coord_scale, coord_scale); /* Zoom in and out */ - glRotated(xAngle, 1, 0, 0); /* Rotate by X, Y, and Z angles */ - glRotated(yAngle, 0, 1, 0); - glRotated(zAngle, 0, 0, 1); - - glEnable(GL_DEPTH_TEST); - - if (Togl_NumEyes(togl) == 1) { - /* single eye */ - Togl_DrawBuffer(togl, GL_BACK); - draw_eye(togl); - } else { - /* stereo left eye */ - Togl_DrawBuffer(togl, GL_BACK_LEFT); - draw_eye(togl); - - /* stereo right eye */ - Togl_DrawBuffer(togl, GL_BACK_RIGHT); - draw_eye(togl); - } - - glDisable(GL_DEPTH_TEST); - glLoadIdentity(); - glColor3f(1, 1, 1); - glRasterPos3f(CornerX, CornerY, CornerZ); - Togl_SwapBuffers(togl); - return TCL_OK; -} - - -static int -setXrot_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - Togl *togl; - - if (objc != 3) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName angle"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - if (Tcl_GetDoubleFromObj(interp, objv[2], &xAngle) != TCL_OK) { - return TCL_ERROR; - } - - /* printf( "before %f ", xAngle ); */ - - if (xAngle < 0) { - xAngle += 360; - } else if (xAngle > 360) { - xAngle -= 360; - } - - /* printf( "after %f \n", xAngle ); */ - - Togl_PostRedisplay(togl); - - /* Let result string equal value */ - Tcl_SetObjResult(interp, objv[2]); - return TCL_OK; -} - - -static int -setYrot_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - Togl *togl; - - if (objc != 3) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName angle"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - if (Tcl_GetDoubleFromObj(interp, objv[2], &yAngle) != TCL_OK) { - return TCL_ERROR; - } - - if (yAngle < 0) { - yAngle += 360; - } else if (yAngle > 360) { - yAngle -= 360; - } - - Togl_PostRedisplay(togl); - - /* Let result string equal value */ - Tcl_SetObjResult(interp, objv[2]); - return TCL_OK; -} - - -int -getXrot_cb(ClientData clientData, Tcl_Interp *interp, - int argc, CONST84 char *argv[]) -{ - Tcl_SetObjResult(interp, Tcl_NewDoubleObj(xAngle)); - return TCL_OK; -} - - -int -getYrot_cb(ClientData clientData, Tcl_Interp *interp, - int argc, CONST84 char *argv[]) -{ - Tcl_SetObjResult(interp, Tcl_NewDoubleObj(yAngle)); - return TCL_OK; -} - - -static int -coord_scale_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - Togl *togl; - - if (objc != 3) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName value"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - if (Tcl_GetDoubleFromObj(interp, objv[2], &coord_scale) != TCL_OK) { - return TCL_ERROR; - } - - Togl_PostRedisplay(togl); - - /* Let result string equal value */ - Tcl_SetObjResult(interp, objv[2]); - return TCL_OK; -} - - -EXTERN int -Stereo_Init(Tcl_Interp *interp) -{ - /* - * Initialize Tcl and the Togl widget module. - */ - if (Tcl_InitStubs(interp, "8.1", 0) == NULL - || Togl_InitStubs(interp, "2.0", 0) == NULL) { - return TCL_ERROR; - } - - /* - * Specify the C callback functions for widget creation, display, - * and reshape. - */ - Tcl_CreateObjCommand(interp, "create_cb", create_cb, NULL, NULL); - Tcl_CreateObjCommand(interp, "display_cb", display_cb, NULL, NULL); - Tcl_CreateObjCommand(interp, "reshape_cb", reshape_cb, NULL, NULL); - - Tcl_CreateObjCommand(interp, "setXrot", setXrot_cb, NULL, NULL); - Tcl_CreateObjCommand(interp, "setYrot", setYrot_cb, NULL, NULL); - Tcl_CreateObjCommand(interp, "coord_scale", coord_scale_cb, NULL, NULL); - - /* - * Call Tcl_CreateCommand for application-specific commands, if - * they weren't already created by the init procedures called above. - */ - - Tcl_CreateCommand(interp, "getXrot", getXrot_cb, NULL, NULL); - Tcl_CreateCommand(interp, "getYrot", getYrot_cb, NULL, NULL); - - return TCL_OK; -} diff --git a/src/other/togl/demo/stereo.tcl b/src/other/togl/demo/stereo.tcl deleted file mode 100644 index 4c6147350e0..00000000000 --- a/src/other/togl/demo/stereo.tcl +++ /dev/null @@ -1,106 +0,0 @@ -#!/bin/sh -# the next line restarts using tclsh \ -exec tclsh "$0" "$@" - -# $Id$ - -# Togl - a Tk OpenGL widget -# Copyright (C) 1996 Brian Paul and Ben Bederson -# Copyright (C) 2006-2009 Greg Couch -# See the LICENSE file for copyright details. - -# add parent directory to path to find Togl's pkgIndex in current directory -if { [file exists pkgIndex.tcl] } { - set auto_path [linsert $auto_path 0 ..] -} -# following load also loads Tk and Togl packages -load [file dirname [info script]]/stereo[info sharedlibextension] - -# create ::stereo namespace -namespace eval ::stereo { -} - -variable stereo::mode none -proc stereo::setup {} { - grid rowconfigure . 0 -weight 1 -minsize 200p - grid columnconfigure . 1 -weight 1 -minsize 200p - labelframe .c -text "Stereo mode:" - grid .c -padx 2 -pady 2 -ipadx 2 -ipady 1 - foreach {b} {none native sgioldstyle anaglyph cross-eye wall-eye DTI "row interleaved" "left eye" "right eye" } { - set name [string map {- _ " " _} $b] - radiobutton .c.b$name -text "$b" -command "::stereo::makeGraphics {$b}" -variable stereo::mode -value "$b" - pack .c.b$name -padx 2 -pady 1 -anchor w - } - scale .sx -label {X Axis} -from 0 -to 360 -command {::stereo::setAngle x} -orient horizontal - grid .sx -columnspan 2 -sticky ew - scale .sy -label {Y Axis} -from 0 -to 360 -command {::stereo::setAngle y} -orient horizontal - grid .sy -columnspan 2 -sticky ew - if {[string first IRIX $::tcl_platform(os)] != -1} { - label .irix -justify left -wraplength 250p -text "Use /usr/gfx/setmon or /usr/bin/X11/xsetmon to change video mode for native stereo (eg., 1024x768_120s) or sgioldstyle stereo (eg., str_bot) and back." - grid .irix -sticky new -columnspan 2 - } - button .quit -text Close -command exit - grid .quit -sticky se -columnspan 2 -padx 2 -pady 2 - frame .f -relief groove -borderwidth 2 -bg black - grid .f -row 0 -column 1 -sticky news - bind . {exit} - label .f.error -wraplength 100p -bg black -fg white - ::stereo::makeGraphics $stereo::mode -} - -set stereo::count 0 -set stereo::gwidget "" -proc stereo::makeGraphics {mode} { - incr stereo::count - set name .f.gr$stereo::count - set width 200 - set height 200 - if { [catch { togl $name -width $width -height $height -rgba true -stereo "$mode" -double true -depth true -sharelist main -create create_cb -display display_cb -reshape reshape_cb -eyeseparation 0.05 -convergence 2.0 -stencil true } error] } { - pack forget $stereo::gwidget - .f.error configure -text "$error\n\nMake another choice from the stereo modes on the left." - pack .f.error -expand 1 -fill both - } else { - pack forget .f.error - $name configure -ident main - if { "$stereo::gwidget" != "" } { - destroy $stereo::gwidget - } - set stereo::gwidget $name - pack $name -expand 1 -fill both - bind $name { - ::stereo::motion_event %W \ - [lindex [%W config -width] 4] \ - [lindex [%W config -height] 4] %x %y - } - } -} - -# This is called when mouse button 1 is pressed and moved -proc stereo::motion_event { widget width height x y } { - setXrot $widget [expr 360.0 * $y / $height] - setYrot $widget [expr 360.0 * ($width - $x) / $width] - -# .sx set [expr 360.0 * $y / $height] -# .sy set [expr 360.0 * ($width - $x) / $width] - - .sx set [getXrot] - .sy set [getYrot] -} - -# This is called when a slider is changed. -proc stereo::setAngle {axis value} { - # catch because .f.gr might be a label instead of a Togl widget - catch { - switch -exact $axis { - x {setXrot $stereo::gwidget $value} - y {setYrot $stereo::gwidget $value} - } - } -} - -if { [info script] == $argv0 } { - if { $argc == 1 } { - set stereo::mode [lindex $argv 0] - } - ::stereo::setup -} diff --git a/src/other/togl/demo/texture.c b/src/other/togl/demo/texture.c deleted file mode 100644 index 2eee229dc55..00000000000 --- a/src/other/togl/demo/texture.c +++ /dev/null @@ -1,663 +0,0 @@ -/* $Id$ */ - -/* - * Togl - a Tk OpenGL widget - * Copyright (C) 1996-1997 Brian Paul and Ben Bederson - * Copyright (C) 2006-2007 Greg Couch - * See the LICENSE file for copyright details. - */ - - -/* - * An example Togl program demonstrating texture mapping - */ - -#define USE_TOGL_STUBS - -#include "togl.h" -#include -#include -#if defined(TOGL_AGL) -# include -#else -# include -#endif -#include "image.h" - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT - -#define CHECKER 0 -#define FACE 1 -#define TREE 2 - - -static GLenum minfilter = GL_NEAREST_MIPMAP_LINEAR; -static GLenum magfilter = GL_LINEAR; -static GLenum swrap = GL_REPEAT; -static GLenum twrap = GL_REPEAT; -static GLenum envmode = GL_MODULATE; -static GLubyte polycolor[4] = { 255, 255, 255, 255 }; -static int teximage = CHECKER; -static double coord_scale = 1; -static double xrot = 0; -static double yrot = 0; -static double texscale = 1; - -static GLint width, height; - -static GLboolean blend = GL_FALSE; - - -/* - * Load a texture image. n is one of CHECKER, FACE or TREE. - */ -static void -texture_image(int n) -{ - if (n == CHECKER) { -#define WIDTH 64 -#define HEIGHT 64 - GLubyte teximage[WIDTH * HEIGHT][4]; - int i, j; - - for (i = 0; i < HEIGHT; i++) { - for (j = 0; j < WIDTH; j++) { - GLubyte value; - - value = ((i / 4 + j / 4) % 2) ? 0xff : 0x00; - teximage[i * WIDTH + j][0] = value; - teximage[i * WIDTH + j][1] = value; - teximage[i * WIDTH + j][2] = value; - teximage[i * WIDTH + j][3] = value; - } - } - - glEnable(GL_TEXTURE_2D); - gluBuild2DMipmaps(GL_TEXTURE_2D, 4, WIDTH, HEIGHT, - GL_RGBA, GL_UNSIGNED_BYTE, teximage); - blend = GL_FALSE; - -#undef WIDTH -#undef HEIGHT - } else if (n == FACE) { - TK_RGBImageRec *img = tkRGBImageLoad("ben.rgb"); - - if (img) { - glEnable(GL_TEXTURE_2D); - glPixelStorei(GL_UNPACK_ALIGNMENT, 1); - gluBuild2DMipmaps(GL_TEXTURE_2D, img->sizeZ, img->sizeX, img->sizeY, - img->sizeZ == 3 ? GL_RGB : GL_RGBA, - GL_UNSIGNED_BYTE, img->data); - - blend = GL_TRUE; - } - } else if (n == TREE) { - TK_RGBImageRec *img = tkRGBImageLoad("tree2.rgba"); - - if (img) { - glEnable(GL_TEXTURE_2D); - glPixelStorei(GL_UNPACK_ALIGNMENT, 1); - gluBuild2DMipmaps(GL_TEXTURE_2D, img->sizeZ, img->sizeX, img->sizeY, - img->sizeZ == 3 ? GL_RGB : GL_RGBA, - GL_UNSIGNED_BYTE, img->data); - - blend = GL_TRUE; - } - } else { - abort(); - } -} - - -/* - * Togl widget create callback. This is called by Tcl/Tk when the widget has - * been realized. Here's where one may do some one-time context setup or - * initializations. - */ -static int -create_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - glEnable(GL_DEPTH_TEST); /* Enable depth buffering */ - - texture_image(CHECKER); - - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, magfilter); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, minfilter); - - return TCL_OK; -} - - -/* - * Togl widget reshape callback. This is called by Tcl/Tk when the widget - * has been resized. Typically, we call glViewport and perhaps setup the - * projection matrix. - */ -static int -reshape_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - width = Togl_Width(togl); - height = Togl_Height(togl); - - glViewport(0, 0, width, height); - - return TCL_OK; -} - - -static void -check_error(char *where) -{ - GLenum error; - - while (1) { - error = glGetError(); - if (error == GL_NO_ERROR) { - break; - } - printf("OpenGL error near %s: %s\n", where, gluErrorString(error)); - } -} - - - -/* - * Togl widget display callback. This is called by Tcl/Tk when the widget's - * contents have to be redrawn. Typically, we clear the color and depth - * buffers, render our objects, then swap the front/back color buffers. - */ -static int -display_cb(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - float aspect = (float) width / (float) height; - Togl *togl; - - if (objc != 2) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - check_error("begin display\n"); - - glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); - - /* Draw background image */ - glMatrixMode(GL_PROJECTION); - glLoadIdentity(); - glMatrixMode(GL_MODELVIEW); - glLoadIdentity(); - - glDisable(GL_TEXTURE_2D); - glDisable(GL_DEPTH_TEST); - glBegin(GL_POLYGON); - glColor3f(0, 0, 0.3f); - glVertex2f(-1, -1); - glColor3f(0, 0, 0.3f); - glVertex2f(1, -1); - glColor3f(0, 0, 0.9f); - glVertex2f(1, 1); - glColor3f(0, 0, 0.9f); - glVertex2f(-1, 1); - glEnd(); - - /* draw textured object */ - glMatrixMode(GL_PROJECTION); - glLoadIdentity(); - glFrustum(-aspect, aspect, -1, 1, 2, 10); - glMatrixMode(GL_MODELVIEW); - glLoadIdentity(); - glTranslatef(0, 0, -5); - glScaled(texscale, texscale, texscale); - glRotated(yrot, 0, 1, 0); - glRotated(xrot, 1, 0, 0); - - glEnable(GL_DEPTH_TEST); - glEnable(GL_TEXTURE_2D); - glColor4ubv(polycolor); - - if (blend) { - glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); - glEnable(GL_BLEND); - } - - glBegin(GL_POLYGON); - glTexCoord2f(0, 0); - glVertex2f(-1, -1); - glTexCoord2d(coord_scale, 0); - glVertex2f(1, -1); - glTexCoord2d(coord_scale, coord_scale); - glVertex2f(1, 1); - glTexCoord2d(0, coord_scale); - glVertex2f(-1, 1); - glEnd(); - - glDisable(GL_BLEND); - - Togl_SwapBuffers(togl); - - return TCL_OK; -} - - -/* - * Called when a magnification filter radio button is pressed. - */ -static int -magfilter_cmd(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - static const char *names[] = { "GL_NEAREST", "GL_LINEAR", NULL }; - static const GLenum magfilters[] = { GL_NEAREST, GL_LINEAR }; - int result, index; - Togl *togl; - - if (objc != 3) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName magnification-filter-type"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - result = Tcl_GetIndexFromObj(interp, objv[2], names, - "magnification filter type", 0, &index); - if (result == TCL_OK) { - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, - magfilters[index]); - Togl_PostRedisplay(togl); - } - return result; -} - - -/* - * Called when a minification filter radio button is pressed. - */ -static int -minfilter_cmd(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - static const char *names[] = { - "GL_NEAREST", "GL_LINEAR", - "GL_NEAREST_MIPMAP_NEAREST", "GL_LINEAR_MIPMAP_NEAREST", - "GL_NEAREST_MIPMAP_LINEAR", "GL_LINEAR_MIPMAP_LINEAR", NULL - }; - static const GLenum minfilters[] = { - GL_NEAREST, GL_LINEAR, - GL_NEAREST_MIPMAP_NEAREST, GL_LINEAR_MIPMAP_NEAREST, - GL_NEAREST_MIPMAP_LINEAR, GL_LINEAR_MIPMAP_LINEAR - }; - int result, index; - Togl *togl; - - if (objc != 3) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName minification-filter-type"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - result = Tcl_GetIndexFromObj(interp, objv[2], names, - "minification filter type", 0, &index); - if (result == TCL_OK) { - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, - minfilters[index]); - Togl_PostRedisplay(togl); - } - return result; -} - - -static int -xrot_cmd(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - Togl *togl; - - if (objc != 3) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName angle"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - if (Tcl_GetDoubleFromObj(interp, objv[2], &xrot) != TCL_OK) { - return TCL_ERROR; - } - - Togl_PostRedisplay(togl); - - /* Let result string equal value */ - Tcl_SetObjResult(interp, objv[2]); - return TCL_OK; -} - - -static int -yrot_cmd(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - Togl *togl; - - if (objc != 3) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName angle"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - if (Tcl_GetDoubleFromObj(interp, objv[2], &yrot) != TCL_OK) { - return TCL_ERROR; - } - - Togl_PostRedisplay(togl); - - /* Let result string equal value */ - Tcl_SetObjResult(interp, objv[2]); - return TCL_OK; -} - - -static int -texscale_cmd(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - Togl *togl; - - if (objc != 3) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName value"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - if (Tcl_GetDoubleFromObj(interp, objv[2], &texscale) != TCL_OK) { - return TCL_ERROR; - } - - Togl_PostRedisplay(togl); - - /* Let result string equal value */ - Tcl_SetObjResult(interp, objv[2]); - return TCL_OK; -} - - -/* - * Called when S texture coordinate wrapping is changed. - */ -static int -swrap_cmd(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - static const char *names[] = { "GL_CLAMP", "GL_REPEAT", NULL }; - static const GLenum swraps[] = { GL_CLAMP, GL_REPEAT }; - int result, index; - Togl *togl; - - if (objc != 3) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName wrap-mode"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - result = Tcl_GetIndexFromObj(interp, objv[2], names, - "wrap mode", 0, &index); - if (result == TCL_OK) { - swrap = swraps[index]; - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, swrap); - Togl_PostRedisplay(togl); - /* Let result string equal value */ - Tcl_SetObjResult(interp, objv[2]); - } - return result; -} - - -/* - * Called when T texture coordinate wrapping is changed. - */ -static int -twrap_cmd(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - static const char *names[] = { "GL_CLAMP", "GL_REPEAT", NULL }; - static const GLenum twraps[] = { GL_CLAMP, GL_REPEAT }; - int result, index; - Togl *togl; - - if (objc != 3) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName wrap-mode"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - result = Tcl_GetIndexFromObj(interp, objv[2], names, - "wrap mode", 0, &index); - if (result == TCL_OK) { - twrap = twraps[index]; - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, twrap); - Togl_PostRedisplay(togl); - /* Let result string equal value */ - Tcl_SetObjResult(interp, objv[2]); - } - return result; -} - - -/* - * Called when the texture environment mode is changed. - */ -static int -envmode_cmd(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - static const char *names[] = { - "GL_MODULATE", "GL_DECAL", "GL_BLEND", NULL - }; - static const GLenum envmodes[] = { GL_MODULATE, GL_DECAL, GL_BLEND }; - int result, index; - Togl *togl; - - if (objc != 3) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName texture-env-mode"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - result = Tcl_GetIndexFromObj(interp, objv[2], names, - "texture env mode", 0, &index); - if (result == TCL_OK) { - envmode = envmodes[index]; - glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, envmode); - Togl_PostRedisplay(togl); - /* Let result string equal value */ - Tcl_SetObjResult(interp, objv[2]); - } - return result; -} - - -/* - * Called when the polygon color is changed. - */ -static int -polycolor_cmd(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - Togl *togl; - int r, g, b; - - if (objc != 5) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName r g b"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - if (Tcl_GetIntFromObj(interp, objv[2], &r) != TCL_OK - || Tcl_GetIntFromObj(interp, objv[3], &g) != TCL_OK - || Tcl_GetIntFromObj(interp, objv[4], &b) != TCL_OK) { - return TCL_ERROR; - } - polycolor[0] = r; - polycolor[1] = g; - polycolor[2] = b; - - Togl_PostRedisplay(togl); - - return TCL_OK; -} - - -/* - * Called when the texture image is to be changed - */ -static int -teximage_cmd(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - static const char *names[] = { - "CHECKER", "FACE", "TREE", NULL - }; - static const GLenum teximages[] = { - CHECKER, FACE, TREE - }; - int result, index; - Togl *togl; - - if (objc != 3) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName texture-image-name"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - result = Tcl_GetIndexFromObj(interp, objv[2], names, - "texture image name", 0, &index); - if (result == TCL_OK) { - teximage = teximages[index]; - texture_image(teximage); - Togl_PostRedisplay(togl); - /* Let result string equal value */ - Tcl_SetObjResult(interp, objv[2]); - } - return result; -} - - -/* - * Called when the texture coordinate scale is changed. - */ -static int -coord_scale_cmd(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - double s; - Togl *togl; - - if (objc != 3) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName scale"); - return TCL_ERROR; - } - - if (Togl_GetToglFromObj(interp, objv[1], &togl) != TCL_OK) { - return TCL_ERROR; - } - - if (Tcl_GetDoubleFromObj(interp, objv[2], &s) != TCL_OK) { - return TCL_ERROR; - } - if (s > 0 && s < 10) { - coord_scale = s; - Togl_PostRedisplay(togl); - } - - /* Let result string equal value */ - Tcl_SetObjResult(interp, objv[2]); - return TCL_OK; -} - - -EXTERN int -Texture_Init(Tcl_Interp *interp) -{ - /* - * Initialize Tcl and the Togl widget module. - */ - if (Tcl_InitStubs(interp, "8.1", 0) == NULL - || Togl_InitStubs(interp, "2.0", 0) == NULL) { - return TCL_ERROR; - } - - /* - * Specify the C callback functions for widget creation, display, - * and reshape. - */ - Tcl_CreateObjCommand(interp, "create_cb", create_cb, NULL, NULL); - Tcl_CreateObjCommand(interp, "display_cb", display_cb, NULL, NULL); - Tcl_CreateObjCommand(interp, "reshape_cb", reshape_cb, NULL, NULL); - - /* - * Make a new Togl widget command so the Tcl code can set a C variable. - */ - Tcl_CreateObjCommand(interp, "min_filter", minfilter_cmd, NULL, NULL); - Tcl_CreateObjCommand(interp, "mag_filter", magfilter_cmd, NULL, NULL); - Tcl_CreateObjCommand(interp, "xrot", xrot_cmd, NULL, NULL); - Tcl_CreateObjCommand(interp, "yrot", yrot_cmd, NULL, NULL); - Tcl_CreateObjCommand(interp, "texscale", texscale_cmd, NULL, NULL); - Tcl_CreateObjCommand(interp, "swrap", swrap_cmd, NULL, NULL); - Tcl_CreateObjCommand(interp, "twrap", twrap_cmd, NULL, NULL); - Tcl_CreateObjCommand(interp, "envmode", envmode_cmd, NULL, NULL); - Tcl_CreateObjCommand(interp, "polycolor", polycolor_cmd, NULL, NULL); - Tcl_CreateObjCommand(interp, "teximage", teximage_cmd, NULL, NULL); - Tcl_CreateObjCommand(interp, "coord_scale", coord_scale_cmd, NULL, NULL); - - /* - * Call Tcl_CreateCommand for application-specific commands, if - * they weren't already created by the init procedures called above. - */ - - return TCL_OK; -} diff --git a/src/other/togl/demo/texture.tcl b/src/other/togl/demo/texture.tcl deleted file mode 100644 index b56f7900592..00000000000 --- a/src/other/togl/demo/texture.tcl +++ /dev/null @@ -1,278 +0,0 @@ -#!/bin/sh -# the next line restarts using tclsh \ -exec tclsh "$0" "$@" - -# $Id$ - -# Togl - a Tk OpenGL widget -# Copyright (C) 1996 Brian Paul and Ben Bederson -# Copyright (C) 2006-2007 Greg Couch -# See the LICENSE file for copyright details. - - -# Togl texture map demo - -package provide texture 1.0 - -# add parent directory to path to find Togl's pkgIndex in current directory -if { [file exists pkgIndex.tcl] } { - set auto_path [linsert $auto_path 0 ..] -} -# following load also loads Tk and Togl packages -load [file dirname [info script]]/texture[info sharedlibextension] - -# create ::texture namespace -namespace eval ::texture { -} - -# Called magnification filter changes -proc ::texture::new_magfilter {} { - global magfilter - mag_filter .f1.view $magfilter -} - - -# Called minification filter changes -proc ::texture::new_minfilter {} { - global minfilter - min_filter .f1.view $minfilter -} - - -# Called when texture image radio button changes -proc ::texture::new_image {} { - global image - teximage .f1.view $image -} - - -# Called when texture S wrap button changes -proc ::texture::new_swrap {} { - global swrap - swrap .f1.view $swrap -} - - -# Called when texture T wrap button changes -proc ::texture::new_twrap {} { - global twrap - twrap .f1.view $twrap -} - - -# Called when texture environment radio button selected -proc ::texture::new_env {} { - global envmode - envmode .f1.view $envmode -} - - -# Called when polygon color sliders change -proc ::texture::new_color { foo } { - global poly_red poly_green poly_blue - polycolor .f1.view $poly_red $poly_green $poly_blue -} - - -proc ::texture::new_coord_scale { name element op } { - global coord_scale - coord_scale .f1.view $coord_scale -} - -proc ::texture::take_photo {} { - image create photo teximg - .f1.view takephoto teximg - teximg write image.ppm -format ppm -} - -# Make the widgets -proc ::texture::setup {} { - global magfilter - global minfilter - global image - global swrap - global twrap - global envmode - global poly_red - global poly_green - global poly_blue - global coord_scale - global startx starty # location of mouse when button pressed - global xangle yangle - global xangle0 yangle0 - global texscale texscale0 - - wm title . "Texture Map Options" - - ### Two frames: top half and bottom half - frame .f1 - frame .f2 - - ### The OpenGL window - togl .f1.view -width 250 -height 250 -rgba true -double true -depth true -create create_cb -reshape reshape_cb -display display_cb - - - ### Filter radio buttons - frame .f1.filter -relief ridge -borderwidth 3 - - frame .f1.filter.mag -relief ridge -borderwidth 2 - - label .f1.filter.mag.label -text "Magnification Filter" -anchor w - radiobutton .f1.filter.mag.nearest -text GL_NEAREST -anchor w -variable magfilter -value GL_NEAREST -command ::texture::new_magfilter - radiobutton .f1.filter.mag.linear -text GL_LINEAR -anchor w -variable magfilter -value GL_LINEAR -command ::texture::new_magfilter - - frame .f1.filter.min -relief ridge -borderwidth 2 - - label .f1.filter.min.label -text "Minification Filter" -anchor w - radiobutton .f1.filter.min.nearest -text GL_NEAREST -anchor w -variable minfilter -value GL_NEAREST -command ::texture::new_minfilter - radiobutton .f1.filter.min.linear -text GL_LINEAR -anchor w -variable minfilter -value GL_LINEAR -command ::texture::new_minfilter - radiobutton .f1.filter.min.nearest_mipmap_nearest -text GL_NEAREST_MIPMAP_NEAREST -anchor w -variable minfilter -value GL_NEAREST_MIPMAP_NEAREST -command ::texture::new_minfilter - radiobutton .f1.filter.min.linear_mipmap_nearest -text GL_LINEAR_MIPMAP_NEAREST -anchor w -variable minfilter -value GL_LINEAR_MIPMAP_NEAREST -command ::texture::new_minfilter - radiobutton .f1.filter.min.nearest_mipmap_linear -text GL_NEAREST_MIPMAP_LINEAR -anchor w -variable minfilter -value GL_NEAREST_MIPMAP_LINEAR -command ::texture::new_minfilter - radiobutton .f1.filter.min.linear_mipmap_linear -text GL_LINEAR_MIPMAP_LINEAR -anchor w -variable minfilter -value GL_LINEAR_MIPMAP_LINEAR -command ::texture::new_minfilter - - pack .f1.filter.mag -fill x - pack .f1.filter.mag.label -fill x - pack .f1.filter.mag.nearest -side top -fill x - pack .f1.filter.mag.linear -side top -fill x - - pack .f1.filter.min -fill both -expand true - pack .f1.filter.min.label -side top -fill x - pack .f1.filter.min.nearest -side top -fill x - pack .f1.filter.min.linear -side top -fill x - pack .f1.filter.min.nearest_mipmap_nearest -side top -fill x - pack .f1.filter.min.linear_mipmap_nearest -side top -fill x - pack .f1.filter.min.nearest_mipmap_linear -side top -fill x - pack .f1.filter.min.linear_mipmap_linear -side top -fill x - - - ### Texture coordinate scale and wrapping - frame .f2.coord -relief ridge -borderwidth 3 - frame .f2.coord.scale -relief ridge -borderwidth 2 - label .f2.coord.scale.label -text "Max Texture Coord" -anchor w - entry .f2.coord.scale.entry -textvariable coord_scale - trace variable coord_scale w ::texture::new_coord_scale - - frame .f2.coord.s -relief ridge -borderwidth 2 - label .f2.coord.s.label -text "GL_TEXTURE_WRAP_S" -anchor w - radiobutton .f2.coord.s.repeat -text "GL_REPEAT" -anchor w -variable swrap -value GL_REPEAT -command ::texture::new_swrap - radiobutton .f2.coord.s.clamp -text "GL_CLAMP" -anchor w -variable swrap -value GL_CLAMP -command ::texture::new_swrap - - frame .f2.coord.t -relief ridge -borderwidth 2 - label .f2.coord.t.label -text "GL_TEXTURE_WRAP_T" -anchor w - radiobutton .f2.coord.t.repeat -text "GL_REPEAT" -anchor w -variable twrap -value GL_REPEAT -command ::texture::new_twrap - radiobutton .f2.coord.t.clamp -text "GL_CLAMP" -anchor w -variable twrap -value GL_CLAMP -command ::texture::new_twrap - - pack .f2.coord.scale -fill both -expand true - pack .f2.coord.scale.label -side top -fill x - pack .f2.coord.scale.entry -side top -fill x - - pack .f2.coord.s -fill x - pack .f2.coord.s.label -side top -fill x - pack .f2.coord.s.repeat -side top -fill x - pack .f2.coord.s.clamp -side top -fill x - - pack .f2.coord.t -fill x - pack .f2.coord.t.label -side top -fill x - pack .f2.coord.t.repeat -side top -fill x - pack .f2.coord.t.clamp -side top -fill x - - - ### Texture image radio buttons (just happens to fit into the coord frame) - frame .f2.env -relief ridge -borderwidth 3 - frame .f2.env.image -relief ridge -borderwidth 2 - label .f2.env.image.label -text "Texture Image" -anchor w - radiobutton .f2.env.image.checker -text "Checker" -anchor w -variable image -value CHECKER -command ::texture::new_image - radiobutton .f2.env.image.tree -text "Tree" -anchor w -variable image -value TREE -command ::texture::new_image - radiobutton .f2.env.image.face -text "Face" -anchor w -variable image -value FACE -command ::texture::new_image - pack .f2.env.image -fill x - pack .f2.env.image.label -side top -fill x - pack .f2.env.image.checker -side top -fill x - pack .f2.env.image.tree -side top -fill x - pack .f2.env.image.face -side top -fill x - - - ### Texture Environment - label .f2.env.label -text "GL_TEXTURE_ENV_MODE" -anchor w - radiobutton .f2.env.modulate -text "GL_MODULATE" -anchor w -variable envmode -value GL_MODULATE -command ::texture::new_env - radiobutton .f2.env.decal -text "GL_DECAL" -anchor w -variable envmode -value GL_DECAL -command ::texture::new_env - radiobutton .f2.env.blend -text "GL_BLEND" -anchor w -variable envmode -value GL_BLEND -command ::texture::new_env - pack .f2.env.label -fill x - pack .f2.env.modulate -side top -fill x - pack .f2.env.decal -side top -fill x - pack .f2.env.blend -side top -fill x - - ### Polygon color - frame .f2.color -relief ridge -borderwidth 3 - label .f2.color.label -text "Polygon color" -anchor w - scale .f2.color.red -label Red -from 0 -to 255 -orient horizontal -variable poly_red -command ::texture::new_color - scale .f2.color.green -label Green -from 0 -to 255 -orient horizontal -variable poly_green -command ::texture::new_color - scale .f2.color.blue -label Blue -from 0 -to 255 -orient horizontal -variable poly_blue -command ::texture::new_color - pack .f2.color.label -fill x - pack .f2.color.red -side top -fill x - pack .f2.color.green -side top -fill x - pack .f2.color.blue -side top -fill x - - - ### Main widgets - pack .f1.view -side left -fill both -expand true - pack .f1.filter -side left -fill y - pack .f1 -side top -fill both -expand true - - pack .f2.coord .f2.env -side left -fill both - pack .f2.color -fill x - pack .f2 -side top -fill x - - button .photo -text "Take Photo" -command ::texture::take_photo - pack .photo -expand true -fill both - button .quit -text Quit -command exit - pack .quit -expand true -fill both - - bind .f1.view { - set startx %x - set starty %y - set xangle0 $xangle - set yangle0 $yangle - } - - bind .f1.view { - set xangle [expr $xangle0 + (%x - $startx) / 3.0 ] - set yangle [expr $yangle0 + (%y - $starty) / 3.0 ] - yrot .f1.view $xangle - xrot .f1.view $yangle - } - - bind .f1.view { - set startx %x - set starty %y - set texscale0 $texscale - } - - bind .f1.view { - set q [ expr ($starty - %y) / 400.0 ] - set texscale [expr $texscale0 * exp($q)] - texscale .f1.view $texscale - } - - # set default values: - set minfilter GL_NEAREST_MIPMAP_LINEAR - set magfilter GL_LINEAR - set swrap GL_REPEAT - set twrap GL_REPEAT - set envmode GL_MODULATE - set image CHECKER - set poly_red 255 - set poly_green 255 - set poly_blue 255 - set coord_scale 1.0 - - set xangle 0.0 - set yangle 0.0 - set texscale 1.0 -} - - -# Execution starts here! -if { [info script] == $argv0 } { - ::texture::setup -} diff --git a/src/other/togl/demo/tree2.rgba b/src/other/togl/demo/tree2.rgba deleted file mode 100644 index 67b02799cf5bd4d3bdebac754e57bb1abf30560a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 66048 zcmeFa-;3MWzAxC9nU{t<FI&ERis3W8kT0{p)P`Jd!u zP88)LzytnYo%^4BQjmpWQRaos41?dk!T$`xro1iioXkT2{_M_Q=aiQ>x3_sn;ol0r z3i;32FaLEY{s2mjlexk+$5ZovaO1CZlG~EGEnbibe(pDbxwiI^O7F_twosHswEtfo z{;gZNk5vlISKuYNBy;k|9{mUv>rbxO_fe__3!xkpWrYH#Z7AzrD4!qHbejEw{0L>+bsPwVUuvxm=Kbw5AVk+`1jM zrEM^lF91B1Pj0Q>eg6pPBGPW>OPiY;`NHPLw!+}w)#dyrpX7_>%4U8&pI^_d-ysxk z-@a9IdTME_AbdogZ&A6kUKEaIc0+{2s)wg>8HTu);f5(RVLI5c}^(i zH@PkP<2IT(UEA6&sDYtYOV#yOVo7ptjpr*=(^mOC5#Ku^(6{d1y>+*?wXLH=i9F9q zs>E0z30s@_TtSeulq(d3@|}(Cjl2x#TVgT4vBl@Nd2X|?RVZv0>wF=X&kLm@FBDC~ z^TchnT;@4y$b6xAE0@=u?}26)Zr!@OVO#06QQ8)zl33t4P%p3-Io(i!M}ZSS#pWh7 zp0JtAQOhZYD*V{ZN6C4@CLvYIEe@0k|+br76?S`D1`z(@`AXX-@w1ZCaw_t?ZU<; zy8{fsC!(0>03JBZ1Hat5S}7Lu>vz`kRYTa$U-d`=FYwc4qNyS;3MEl6MbyVb1b{j~ z0q*AJR$*f!ms?+7XE@|@xW|sN51^SLN2d%PJ~%PYi*$m53e+kG_@#}zwUTLR&_xrvuiEbU+0sd;xt@5Clz^U^)>01-t(?lt2ThSQS=JUJ^fq z&CVE7EAFpQDo`)W*v{%eHQAl3>Q;ymGdLj+n?VqGv;y=y!7mBB7lHC#=i)6^Sq{&x zAgrppKD&mWH3$HrQhE=(WkA`J@4>SpFdw{vI;GYJ2Y8M_m&?KFNo*=wM(yf#`T|`y zA<`wrWV#4eL*0=`ux5bTf!@KzRZC>=Q62OaeSl~*FPM+c&5NoCEHe0t9$bzi6Y@v3 zvlrPU)_|7KTSfPEsVuEo-_D-(KN!burJ$=-eD{ zm;%UGL!fjE2(5iqY#vTJ!Oa8y~*1meOKtn3yE z0xN_%#&HL#Rgl4W(Q*_}%fCmU-b#Q*g};VRa+=HWj(8=2MC_`eGrD195GDmZ^ljZz zNch3nn{99np3s4KLP_DTz{^e?doqSPpa7_%NJfWeRHO=FOvGmlfRcACiDU{R+BMmP z1OetbIx1+UB*>)NfibxIfd~)+1RDiMG#XMjD5y|8iXxRtlAf6!0s7CNtkWzEHN!lT$@D=7XTb5M zNHtLhT@}!s@m0`a+6oZBQcYDQp`=WM$z^OSwSjK~zQzE8O`Jxf1Tjoe;?xAK8P(j1 z1B4_x1+gce7fl0g2MHz^bR{Qf^iAx*2`VA*tdN=le6)J8WUG+AfMEf6q^k`@23QQiRc$H4=MQ@nen87nH=Fj<1Fx8f#Yq06j|_S?5In%1h8@fU<&_ zaf&gFUBVqAUvS7uge}D@2F7~5-|+!|+;D#va>y= zK;tD72WoKoqk>L{3bJD+dZd>~Pvo~S59DO1K7rT6sMV}M0~dw#bW#?|?Gz#bdh%p4 zL*p=c;UR9Qh``eU{&>ZLDx$*BW2~VQlofnXD4;je74{0wIZ>9Ve`2bV=SxiU?s)r8 zov~Id7Pt9fN0N-dZ~!0mWvD};@C8j~m5>%;c;HO2WKf)Ex|gsd)-z->1B{-}7bH_% z^+fhsK{n0RWUf%ajEpM?V$}+r{&O8_;Q7U#Eg8BjT-%bP`)UCqn3 zPVLR060GbbmlO1Cvcj%GHPF*2q!G~Jb;l&(BG!yliQC$ijjC&mTCe~_`PEm|ZFDgn z5`x}N>WBE2D;Gn0x^WA;7*M9S$aP1SOy2c%q-+ zp}@LOvJ-Z1b(P_RWnxUkXlTk~8cFk7u`JfRsw^f4TCpUyUS7VXAxX77j#EhG1r}sR z)(f1@#3%!uF@aN=K?nl|CLBSLWQIUql(PeXTnRtJl4!<%s5a={0$=7!+l8%?QXMI1 z`cmaVt0*5|F6;_T0cDlrEgfvqEevEL^r>}a5CerwqE?j~p-#pIu3ioK1$l)lV}6Dc zs9>rD>Id3~}>GC#LteAR9mZWV-S4(!ws#NcNRqQ&u z^J%*-C|E6ln!xO!p!rSxO67|}hCm+1JzCj9KSu2sY^Y{gCtZU=AP6b}y`HnMM=;$& z!((a#@`X|ZJ+91GL|v)7gI&3HFfN|8op#!-bB?20A}2cv`a}?np!HdGZ2f>xAOR}y z4n|_oM)NXUGkh%8fJ$QSiVc8&J!QyfhY3kYVg*D(o7d}_;Hb{7rQYvZtwmI-p6oWN zW|-Fk*;6<^F~BPWlLPiLD9!XCprL_e$cIe)6%`sPbEuIGEHrX*S*ItKGsIa-5bvSU zNhNP?ZHpyQsniXzTv4pVEZ1v}wp*<|Jg!w0gA>MSs47}y6fowRG#6nFnFk|CwNOpG zESf6rQ}=*r1FC37#TOKey_n9j*%NVtnjyoV2!{saaSwdiE@Hi`qKcyA#y~`ERkUx) z%1K&w(;}BQ=8qzb4OpbG@J-VcYE~eT*VL>wkfJF{K^ZU(=LJQVc@;t%#HJuRDHf_| z^r6=( zPV6Y?ViwdU)yd?TD3+ifU|9kISPEgJ(M;AD3@t?+p7>CKAd@RdlBCfw^t>R57*Z_< zOG=z5(YzBApR!c)lccWo&S3l>4K7U6H_@zvV;|28y6KOeE>0JY3MG^oAB>H_EH4CL z3-lg_M=sCXk*$f6Du-!k2C3(3w1fb5E2a%qiUP%tVYeV+O_A0c3>ayWsz{num)&ts zF|?;e@u;GAETfOP2j81mvZ?8g9X);f`)@|74ql;OK{JD+XlFhz_MsI4AB6EaK0KZe zBg-(O(J%=t!#7n-X`o0wtV`2s0w>ym1M^9JYRSv+v4q4P{9LavCpR*cRhq9rje5t8wEFi0cYUo0b)cjhU^ z6HzlgJzvl@nanvo31LGkngY6c+mAe+6J)G@shU(YT4u98o}*Ln<(^T(A}Xhz^_!^= z6~pniZkT9mQY(&^^(DXu=t9nlNC+U8l59CqGEGfg_hinRPy4DM8Zmk>8VObo#K7_$ zol_l8(sfZYY^Nm3)&lSqNj9wA-FEL8Mj&CEyRXr*fOtA|&Qr{#sc^DrFl9nGuq!0l z-~z3kKpnDPjY>%pcz~aSVqL*UXCj2CgPSi-M_89UN5IQXkzP4qydXYE#PsPtJPX}MWemyvIq*8GkVjxH!Y9k$o0cS-%8SsT{ zHHuG%iDy6~0U3;PWcf?}$TlS@{9+kdl7jV3$0AXL9xx<9hw>A6NicNPGqoTNbkjs1 z)Xj$O?nIaT;bP<@U(OrYbf6`5j9;9Dkq8iBZ9^2H8AuOuSS@5@UtSzSPk^g{kA`8* z!$s3blk~4&V8H^r;+l+23{loq6^lwLDPKVmEZZ;~KX5eDi6d3g%zn4C*X?ablY0Z# zGgTP8C|D;(^XqD+c_Wx4(20Ow;0I>L4AB^vuuh=ZR`97^!nv;c#_~ir3`MiBE3HYY zLA^mn6M$EODw)2aIBhIFXwEcLF%AuO9y~fwi^b7gwlz~(DuRIFALyg68bAh&rEadl zB&80;#ut)50liQXY#Zo+`9Olxh51x9Jx@2hG_YVJKnIzI4h?`+ULEWDY{^N2I961x zqG8;SE7cv>JA4xq#kr%ax>>J#j)8?R8#8H4fkKm5jzt9s92>teq+oGA8sG3?{ zi%I44fg$9n3o|RSAo!z1(?y^{9RmwvD+IWLVd|jK3$a=xVLi%#cpK4BlZ<4#ym+xV zeeohy>>!B@tsnH0aoq8$?*=WmS=m<7MPf*nCrF`617=`ydE3Gu z1Oec%uNE)7Bw|v?*gzcvsF+C{IHAt#4%G5&fPSE3h0BN?%^CXU^0jYFFMLckf_dM8 zbcFM9f465wY2Es-RiP+h4_hoZp4KXrZPAzwn&>91)52PC>_Sd5F@iuA1Si&|aHNyj zPc1^4iJ2O(+%$jK2g9If!j~su5Q1;AA0>n7T#;x`Mb)4(t(e9ts~`7*gT=|iqw_~E zu<}=wYU5Tpb`HK=LUpKSdo~ZCEzrTRN&{mD;s<>S259D7%!{K)Rr4I!LTf~j4dMWF zwP{$eFtD~5^!rgbjdaCKv8XnWA!(S|!65MUV73TsvpyT`IQ_+we>(rJ4AoyOO1)=q zCi5^HJ;hF6rS@*1NYkVrr^9GGRj@KG z$msEYYMXJdH}1#DQEz9^>%CaEJ%BIirZW=7vtqqBnP+2)g_W4yLS-x4KF$`?%9 z+bIYk+8v;vCZWrL04`!#Q~;KoWc$zsXpRC#dM{SxD4h<#1J8_Q(N+~z)$DZO7{Pe7 zzv~|jpY%_MlX&^%zELcdjvplV#mmLWJ3W0p?gReF{=>=Z>C9BoPt8E&OxS=>A2BU( z6?hD^CKOs8Y!C_(OgmVh#$w1i1^THVad3=~M3`<`xhhJvYNg`nx;0+JrrTTIi~LR) zCBs?L?!LL4{hP(spG&2C6aT5)vpaUD-~aOU>(`+^oCl^YVxA{zAeL+wl0wJ<);d9a z0TWPIj6CLyJg50Gh-VCduGF!R14fmq<#JIs%e>TZU?L`t71rt#-|mv}L4yjEisN<<%~3quN$@zj7toj{AT89Y#cZ9v8a%u$R9HVhvc zi8Am7+KZsc7#QWdwQ^ucVnuHSb_n~_5XDwY(Y%ZE)7RlEr*`2J_)?LqbaX^Bbd%so zSrlGtq8jwQ!FYr%VRb(1!xjMZVadS$LmNOHNT41wjhs+WEI|&))F2#SWkWF09eBRz zc!6#l#11KowZIy%;EtO%wZC(kw2 zkmU&L1LPYZc@fP$VTdYeC}Dw%d<4)cfX{YumDFO8EFc2v-purMG*hCUr*9>v43rpY)> zWdzvR!T?JtcA|0UsTgcwxRQ2|7jfMkS^hZfSZ=-9^?I>pIfHJy_x!76xw+F$Ci?E5 zx;NoBgj&TpP~AnpSuLUCTSrHWrD>W@BxAEe#DsKuZh^Zp203(esAmP*4*DhHg>=9gaPTFP0?PkLR`>d%R?r7WF*p1sL@)QZfZh>KFx@ka`JMC>hfi)9KT}*)kq_ z2M4w_9UIoL-a2hPxPKal!=3tQ|0eWO>Fvo$B<$Eyu~aUr6|oWRNBfDc)hp#1EJd>) zO`Ra|Ro-+QSaCAC8N`hZztF?Pa`G3!2c#24FfUH~_VG?@de}X@__E(WJ@P`=aq9g= z7=~8Zv|%T|C;sYa5r|@?Q|)_or`Krhrz*w`E%hTO9>QqXVaW+vV(q_vB)4$C~es8)kd@W-sgcS8%g$QC$4V zd@1jR%~p_}nEPq6)7NcHwFiC73Hwt^A5Il9?qll)n>W1gW$eJ zKM3E^w08W+^I$<%s+w0<+JUEeTD2A0UO!6aLpz>Eu%;x{fw716Q1k-{e8&)!k=XG`G@s97eT0a0Bm(H4>{bOGZhlBax+kQ|{btCZo<|s9l*6`$L z{^gfZIyiPM5Q|kh%>%_S0Mu2_Ba9+g^4NRvyj0lRdHUsfuToW-)rw{$_D&<*_y0HD zy?1yX{!rH=jLw?vSFvH*O1p;n6y~s+>F>CGTQB>;Y%qR$k{l%!xsD-U!FnUKj|{^E zb4+x4Oos&C@k1;;S?I*@BinxQ-Pw`T2v4y9q#kxu3b7 zYE^f-HA!*Cb35tp7_#s6M`zDlTCgXVv5-J}S=g4^ISP}S9Z>CneZkkwSc*V@Sei+@W+i7q-I@zxY zylEM`u#MsEK>Cj~F$^x~Kh?pUL4j_TWGx+;z5cl;c;iREuRJ&ir&?MmqkCb$_vwR5 zlXe<@yzKVoiZ$BVA631;@OGVUT`?%D%h%VXKlmKvACg_7z#<_&~#JA92+J+ zx+?87B}b9J>-#1@>OWtUG%R=DYha%nMJ#^TeDPECmrAFnZ=am@7XNq_47#mWnjB9f z$JYIYBbTH~4Q3=pF}0%dj@NB3CX-(8?`5UGGcYhyQ=o}K zf2d-G#XlNFv2OH?rfZvSTMMx_J6$S2lnFYrvtxO z87YP_x2@W_-E6)&HtKUv#r(!G(alBA$5ht{!}-Z@VAc}H={`2cb))z7cX5CBCFU4Z zv+DE~O63C>KXHO#ur&PFKmOrq+jL#67{N23xp%Ou8(lv-_~ZV5bKqHqELKgCm$b<1 zhA{g)Yk9WBy0aPR$*fV+?I+(hn{_k%-QtuXaR2C@^K%ivbVTegpFMvUs5R437NbU^ zwR>t9lj+l@zZf6ZEWfT{Viamc)$c1ccy7UYWB#;Xv&t2}RP~nkEAIS1?!B=;Ywgcw zj8eJkF6uu)^UYhuqS$X7zI*cg-tMD$;M^Z;rnyX-{{7QoMLT^p(iclj8F+))B3&Gv zwPa|$z&8AYPFX2wi@Nnnew)UFRgJS10yX>j503da0k4js9vgB-(a^v@qyH7l+0!v4he%$i&(YlfMg zo;~iTN!aTx7H{9a9k7|@kJbOt>tazUpX?X;Nv{)}onn&+Z`j)3;Q~|Y*rsL6E?Cdl4mML6_dU8J(vmp&I8AGd;62Uq}y8ne5sT^Tb%xoiTyKy|>l?;8m<@?Jj;5d8p-+UD2;QkVB405^b-q|$43eXRd(H30b^oQ+dUgCfS+&)#1NH-NSLAAYx&QRv-aUV0 zSp&_eO}{X-nOfI(p9}*nsr$V^Yc}7$dGcE!P?S5J>EWZKKCv3Q11rPX31ztGz4&Z+ z&#LU0-f2|Roqu>keyqPm5k=#3zvI>$%M)zY3{LjFWBaJ zH=`dk4Wpf2_}ppK>fKM`jd4GTZkFAE@ z#3JSI7istp%|_2_-#>h^f6}xuO^w_ye^dBHxM;u#`q#yx_uXvqmFaXvSBt*2dtuzF zNKY@{{qEUsC4P(rCvz+Q=Yzrd;j5SbWjPsP6Q}4^qTdfX$DcLa?pJ^KKl{Hac&J40 z;(vMb^xMI+2Y+`I2fgsL_ipOFd(dg`)%DZEZyUd1<7ZVjmVX=#PoKN>a8|3C;q$n+ z7+fZ1E7s&Mh9{NZ9Db>>KNt;;&xhXzC0RdNB<=AZ(`LoE(4nCI3gBT+xyL7C*p(O+ zl-{e$*`qhFUt@t#VXN4`J^iJUcCc79vq4EeJnW4hENYp7^b3Kr0JvZ9v9`8$_clIm z-@Z+ug+Cnu`U~p+*eh$d0eby!3IEoeJ759I--7&4Zh--7Yj-mEe|7Go!PoA9{yTSW ztvK+p_WDcT2mOd{UAu#?zjW0l^EL z*Y5%cBo|n}8EwxVyL0nOUaRImM$UERcd@^*fglv-8 ztmO+Ew{u7Xa2?-`iV@nz|J?ZhJEn!mB>0TbhBB2;Zspdmk^2O6QD%zU`MU_m-q^_J zwkmhw26HP{mw;;lt0eH?Lzu^A{tmsiwsuQx2DS3`ws;ev_w`*LL5gqPMm$>)&J|na z@rG?w2A{8Bt22xLN0@$Y9bxo$S^Ph?`}5md>-mk`Mjokf_|0ZshXXfU&kRJ@RX40o zy`<#V1-=TW1ne7MgZlmfDqg#daPS{cvFcCy5oZtRlw{ zfz7i9XWp>6Rs28TlNZ(&xt1dn3b~-5&=xed#;`TO7i72%Av?gfw2{;GQh950eUqzO z$Z>EbvjiT#i!*qTVnG>ByKt$&%OV<$oGKWtoA5(KUI{7y!GKU)C~jt_*bXO8!K@Gl zv^@jQeKCu=A?JI(rg3T!(IR>5j5Z}nmt@E&m_YEWRo6}}@Rr;vdF(1tgTc#%s>xsw zAO`;`5{BHr2oZM9HsR@%p~m2&h64O&@j78s$U~;#E>RXFw=5$5pK>868ubZ+Z`*SU zNyR1(IrL=gBiK|J6ntdVGjPO&D^}2Dij82XvS;a?t2Z-zAWy^~U`g%)I3t%f$f%aC z;JfuMd_Az2fqL)&Lzq>OfzN0~U6z_!@qz-g!QXZ8%LsNbxQqK<$YS zouZIeg)U#wg-d8Cf)_IK?dC9b zBabCuV2mal82r4d0VS#)v#p)&8WjP`MnS5jr|Br|X zUR=Si>ut-T-cPJ$@8dNT2)4)Syn=q!>li-SheDASJmObY{e)f3>HrDvk;bq<#0xq+ z7Qub^#tRwwz`^mRRvDh(w3*HtfaDLY2w%VCx&f%p_wcW%EO?Oz9~Fa~v{}oq&<9{P zeiIv6m7D^ndH`ne|2F9wY_u`@UDs-O3Au!WHQDp{F2KzUPA*c`rhrYgF!)e-I0Slh zz!`Dq7&hD>01(5(wd^sttTx6`bR~Ev!9kA~6fX)9+D-8R#DS(+uQoNeQ6>0{ZXz72 z0wRsv2IOaqK8=C?inD|SaHBx<9B07GT!DKinQQ3P8UJoJV)hobC1FQRpy?QV6scU6 z;qUGO@Q$pziH1`~KOO|`2q%Mps|MxZ$%{yXkwJa0_^DpxiP9-;3Px*k2S*Q}R~d9_ zJ!-3i^!XlVjyT~S3x zr1J@W4$devQX;&E-ebc+22q4AfiB9Vm*IknfKpz77Z>wY0_q5xagD=hdb!iA)rXNQ z^ST9q@T*1h8{iiki4`sBTUpZs1+blT4z&-yfd-8MvST973K0UtG{yiyCEAIJCC7BVi;%zW&ja9lDG`=>JVVTR3@G<&42?WK$4Tb>bkq_okhBXuoT1qlWsu4qj+79 z5(E`t1wxNV55UPf$8 z-}eB2XgYyg)2K&aXd)RR_*7?q1ZO{Q1QA2UjDJK z2DlEEf|IaFDGXFa>~XbJZuG}(*Hz7CuR9Ow9RvLnG$=M2fHAM2VrMmQWHMg}A66$( zonb(7%8m&>&|y!ZNzi@piE=Hm6t9PY2XV+O3>2NdS=H} zfFj518VyjW8vf<6rBRO}+EF3>DLUDqtZsBv1|&m=#E_wgR%YLX0xsbg#6vZ~Ppn)f zEx?y0rBrXV+D)sfxjVJX>5gBuQinjnn+7Thwj!BpkZ}kDDk0{f9{lCC_wo0jD5I1R z$_!D0N%;e=Fd!bG7QlwzT4Ae#a9P=bA{6yb*MZqxt2b)tlf#Or1bqjO;CT#^K$?W9 z0NqRYQym$6L<6WMOGN^R>>`mz;4|j1hJas`i5MC}gf8s@+=(*up|Ls;s9JT z?n5zPq`4XYPv-_q3nB|n!!iP}DM~SH?VNiJ!#q3d+Z78w{Vdp$m<~u_nPLMzULjvw zLW9wgN1RcH2qPM7h6*BKfWtqD4B<%p&JOVw4lwW@N@K(~C^H*=dJ<+gz zijjqN9NFYjr}GGXW7RMguo^KPX2AxO#0D8=08!C!15gl#yFwOCNbJEi;6XG4F1iuf zHkg5xwz=&}wYIAueQ-rtM22+$?0P32sWT~|vuxPjpSvsRbyav00H9JTrA8Ec^1DY%n_&|}hrW8Dj^!dYgZc@i= z8=X=@dJ9B1M4_Ru;fr81I#8QRO`Vt6gdivS$Ws7Chxq|}0{78LNKVio86U3TGd4i| zV9HlQM<~PaKuCtF*iEZaJG?X^H=T~Url>gzvJ=oGjMoF#lBqgWi`*}az`Tae#=*0h z>>EKfxhK7@vs>?rkvv2oJ& z{GHh3ecwQooZ_G(N>!UMRB%KWI4BRS z_vox;XnY|wm{@{*l6ZvBjS)d-A zr>P<^0167IL<@jKSPE(1gyNE{(a6?}!2)WN;J|BI;pl8}I`<78Rt*y?){!xS7o?ElzKBR9 zSP=Z!(cvYn#{I|&`-nF}t5HyvZb6Mu(<`R0BP2sM;GHjuI^zGKxHLqb8x?0i(wq8I z(>`f7I*vKO+(YOcG*#QMJUcpl^Ys^Sy2m;uDik;cvVdhNu^{zLGz-NfA}@y+9nD9v zV%K;p;Wu>MehC@%z)5r;CvrrYh zX<}nmXtF8o=QhqQeG{gc8L$YFfNjgUSzve5vJs%@+vSdP< zAkrY8x-xZbT4_U=v_$p>^>Plu86l$URfGkZ!xUlm5Cb$7=C>*W{t=*rl_B1M-#Nwq zW1Kzzw`;+FqX~S)%lJs|BTctRv12;gdDpHi8{}y=I>zVG!;IqV}aJh$I zU=DMo=6NL;q=>UeTt;O2h?HScMnRu~f~g*@B1^UbS60LhRZ2+xQl(y@Tc-cSF(!7? z9{#>twofkScGam{2z?S2tmKf{1C_yaIiOSLgCKzuoPBmQG-$1a)E!D5K}iYRfJMcc zrs2TC@-2_ZHR`i)(}p5}27r)?if1DN-RJ~ftBTy8R@3SBqWM49p1*q1|NQcDc;v!1 zLk0ji()%>!zyynC!Ng@8;~!;PN2?17;{Q#^A2SqLBgnzXv1BEBIgKn5PT6;CjNoWw z#9<=t5Yt#$gb`@NQ?=_ENCzcraPMw(2Rkn-hs&XpzMk3WyxRh@qrym#kfRVC327|Q z+YxI*DdHC<;b{gC;_Q5E}@Uj1W2#SrzP-E>~;b$XC_6 zHQ0ancw}kD!J*>l&FVwUNmb;>kg=SD9J~+!upa`5tRh4|mgU))hMf>3w30**(cZ)j zd_D%L8WlA?M*Ken52^VIc_bDB z`_(av`lNA(iV%&!3L22ere`Z7tU(mRrxhrOv>Dr238pYia|o$29Wx$;@$%vrD+^wX z%pj8CI6-8}RYcehC4`E5ZklRk#dNC6gUb;bNG)ro#u)=0Pz6LFb675+p^WT^fD{bu zA;8C=hGj=;5E_h3+r*|<5b78zY$PI3WgU>Q#FLC>XHRF#^NUz9y)e+V*o)(F>O{@f z?rvaz`}DllHJhc9=R3Zqidz3@&{Ql>QW99-f)ZIg7kH$?K)r#q0dp@2S(gM$s3p)m zu#)>J0+n>ZfZ|rCeM3fwiXmI6r~7@+oWJyp*_k7&NUIaso@I3>gJh@M>?LONKO@$^ zQi4TVwayxv263J5Lkw&PD;B;4C2+XB0nL&KnO1(|FRXeA71I7vqi9tX{Y72tg|EExpd?Z8&W3nx;h%fkC$RH#W4Sa zjgFi;=niOaoiq`;win1Gh#Y4`QJ82-l#cpP3GHU0lw4KSRn3VLyU`g9`#bFi2WPv- zgM;+J=feOYCX0LN!{+6KnRkAEIoSpLnf>ngayGN|z*H>QdluG2F_1wjh*X50AekWS z4{TO(8s$R}C1)`pMTMCTQbr&Y6GN{-CTLBP>snQFOv4^dL(`4!Pohp3cGBT&x6`}4 zoc*sotUsDSVm6E(SJM_ET@UtNTwY#==3pKRp5Hp+6Q2M9Z) zW57xR1h-iAU0n%HrL5FjzJm}Q%amoeRjd2wrw=aE7hd!EE`dkVfo4ssFjFn`Sq45zaZ%v60oO)1WeYNu*_N}FagzWCkc<(s|QWtYIab^}pUPp6Guy%#SXn536xIOqG?46Nab-QkNXt$aa z|L?o$aOk`7(4BPMBxUf~$GvgaxwJ0Ro*VQZ%`Xm+zr#mXG6Z9KF|7-$GsL$+uxXVR z1F#ZAux_E66nz*gSgXSHg_bt}ABH@~YvVaIe&8I;yt-#QowygZyD&6^{n?X?2DWRK zle#yZyoYb2#hb~&(DLS^0q|^g_DB6e>U&Py$6zgrk!{XrHmw~Z`WQ-46EUD8yOlf| zX^NBT0xd0?*g=4Dg6F_8X$0d|FpQ&?ha_G8PSR+#58@y`dv&O`kRN1h?*7B@CVab$ zfZw6vFGqI0q8N&Oa&mm+cn-4Q$_79w^8Bey#;FEvjHDbO(r_#T`Mv~sFhg%ZMx|&t zpgm-?0D>`(E)J%HV7S+_{a&}-a{Ow|)Q#Oy2lS*5(stxE-osaGy6JWg`z>$xNyCI0 zR6Q7sm&+)wDA!R_~Pru z#ZkP7ciN3cdf+#GwQ1^BZEI&j8y*w3-SH%!Xg|0~kY?QDB{q#w>ime!e(Pozp?ETqcX>Z}#?1j>EVU1kK%9 z6h+O*b|M?9|If>!16sSazGoqD+ne^kzw6p5Zk-B31Vl=@WWK#fw*mNAF%;Jo)U|*(gEE+551! z$IGMRv2Qgj1h(pWJh0O7)Hi~;hvdyLhp zCm9%ih@^ay>IX=FiESFlyoEIltl44jAK9WDL+uA*dxz}hjb@c z;6Xni6=Wb^45n+GGc#bfs2HA4$B2J+$GgE^8%$kxT1Q9i!QWyB`lyWons#q=P?zn;Hcbf6IpB{fbADqq>NO*vbPCF=UtqFnWNWibCq;{>o zD*IU6Q6(%j``it#8MOmm9pS@17*xB>F+}UH6H1@!ejnv$r?jf71`D zST9K8B$y7ZT6=tUw0QF-8I4W?2PO|z=?tGH#F)oZ&%;(W{+lUHdTq?ZQfW9i{o?UX z4a;lD#bqUSuNmxye?kE3^tAUwU5^;@#0x&#MQV;(r>+}5cxm~`KE@$S#XNm5d-}A0 zGSI6gBo8w>$#g7QXfUwSM2ZK&aA6do>v^$^VW?C(|K{u{XmwAzTB&vz)fNoaN)r6F*(&759$+HLhNM!g)jM& zN569(9dxJl)N-)R-*Ed+9$>>6dyYR|hViW0ob(SS^*BMl0~;{xyYbm^T`$3PBDx<~ z4*DVj?lBaiwc#gjV#NvAU$K0b^+ztLR=s;pM^W`EaFO+D5yHB=ycm}Ftn2KyR;xTZIZ zJflC4e6QWZie_L*jzh^V-17-Gm{~E+FRUca0{Oda?IJbHuQYY2~r#%#COJvs=gdd0TW82Rn61qGd}=teR; zPO$c7?bj;JAR3#>!DzVWPyOk1&IX$E=ReitAF|_kPoMp_;mhTGX!Pz4r<2iWW=!@& zuj?G8HoJ1G1Ub9r}HGmKDyCDv}};pbzEvzu0eh zRjsSk{QJw6Kl%OM8|Qh1I4wqW+wvb|lZ}t_04XpB&BNcFJelr3Tt@ywu)p2w7L@&D||@0@o&4w^jy z^=QLod-CX?|M&m)&#lHIyw|j>`0%o= z)q^j4&ez?=+tC$#%xp8Tou3Py9#4*J!+mu;{1bZrAb#+$VcN$Jn^D8;4eq7!i$`w5 zPV161IrO_N#D6Q6Z6o&m$$mfW#xaZkpR$={2KpC#nnqQ*KQyWbaTq>2hkGvSa4gU3 z98DZ=FtD19I*iSGC-@THTdi|g7h1sQA^}vT>PrRDyTXhG?n=9RA*wDhggT1)*^oy>y2L#gO0OR}u zuexq`y7*P_uelN?47{nqlCz`1;P=O;LA&jR2R$s(b)2(rma+EwB-rh_{@G}k1T`z& zRmZzJ|CQg3svh^6$CocI&jwyNRa+CxJJh3t{?T;Vem6103(x!P!PCi&C5>MR@x#}h zX0tmVKKYk#E*^XENNZWMmzF-)n&tr03muCMJ6(*iZ$3Z&tq^E5!|vha;f^`=oO(Fz z`&howYGHbDF{=JL2*bH|VO{Qa}8Zp>c3 zJUE=p7yG@2I8Ov{LHcgufAe?{51Piq=~ur-8O!+VFK>dA+@)1PvAU*l>%I&*r zw~^f8qw)H;@80g75XapWfy+!Lc>`QvCYeyLTxo0}^vkVEd zbg^>vRairS0Rm;&Gq-OOb)VebM9zgflzidV`rSK}fgzV$E8f}K!qJwro!{Ij+}SR1 zxs5xw5uub@Ut3?_`~jd>mq>(A@29s*@Snein;p<665YVfPC>$ljm_J4b9aH!I&wcC z|HB8A#S}Kn2Z^!Dq>>+kY^wTMEC5J|1$AlfcB-c0BH}Y$DwvaDjV*{)}ZvhG!eEN+$fP`$0 zbf5}WD-z9Qg#Z9I`ostIz}4aELAuUfXK1ivb`Dk`c&~^Ch9}F`2K3_7C+KP;>&e4zO!)?y+#f<(9PH^#qmszXR zgV)dF_xXZRwqz}I_eW$NOZ5vY@h!E5XYA0&q4KuYclO!mlc4*vIWVY@*Ds;76*`EMY= z>bk+?^(*j%4OL7?pkY`RYnsArR>8hNm<;BWJdeeB5WuH%=oi2x>l2=hc>Mh3qilzUC`cgDRNFENgC(CMrI z1iQ<)&EPRmD^ynM08i4@tBW^l19}|O%fti365(f<;l9E6U*L-(;%|uj4-mjBYk8S? z%&H~r$_fEk9pj7Gj&NwwbX49ya{E0}>`orP+>4$^-g@LXLOa-5^XKzr&1b);jEXXx z>6?z$b5@?ge_!%2>{Y3ZQ%DQw;+^^{EP*R{v2}g5PV$EYF!~gUn_JF9174RU-Xr|%kC2QuFu&C zYbZ1Ug8x~Z4tXk4tn-Eno29;qBldjuQdSf37NBxm2A^mlsu^&0v{F1I)O7O-J~5wK z??$T-GAL*OxGGYZaSg#v==6n66>$oOJW@7+e*C9u=#TYdq6Pc?jiJFl(71rapl8V6F31FW)hp@)CVt1b4WZw}@6if|yv4L5 z9xO;y4=Xvi7Ap#3y{|5yM#vi@AD0LLI$=$)0txu+Dxq)#KC`^2jetgOv#QsMa3fQO zI^f@fucvNHB_z;5g(wgu=u`%heo_y>GX$u{+iL}$V6wXL7=urz>_0t_4HNG{vwBb~ zjkx)3Xj!z>HecKl)e=kv9VLxepdD+0+HKw*@m#|bP^$Y8TC)QrkF@k#(7qWSEY zpb`oUK8=d(Nd}qWPCz-au)ZOnPYLX&iKTi4zXJ~4vyrQLjY57C!bXEL7|dR#V{}F~ zySYXKH6k$o3MQ)`psCO?`=Ueiaq2{LiG337h}Z;88yiR$f!Sz*YbnlN#e?`m9vaF< z4z>{DO6aYO*%%^`x{agr?0;6_8sb`sQph|(%7lR()4Oy)@WEmR81Pw*8^^P%=iKQ;Grul6}w(K*V2WfM!rv zB(M_(AL^E0!7s#6xf`2&si>AbnfTAm_qM?>^dIU%&^W6~@_^5;jx!*{2&6Y4`ava8 z3J%aG9RhuZD5IFYmOVgsFsVksETdmk^IKaRd9H{sR3HKQ+bkv`0jD^}^>u_hujgdQ z00s(N%c>*-0flN^he4KcHB%HBczhxg%j#kF7(Q;mr-6VFfbs$Hn;3W%WbfZ<21Vqs zlj3el>_>Pp%wi6(Wr5VMh)BCDW>B4s32Rx?QfC6XxJJWNM*qt01S&TWVP}wJl0GN_ z66cEg9C-TOY+iezEPlVJW))sG5N)tx&K zHa0QS*xW>ZNW|nz)xgK^$2j=}zYy81A(|OZ&6^uM{jAsj-`@GXxQ%Ri{Li?L?T3C) z8$DPc=|KWXAS93wvJApT#tm+XHU@Vm-TjbEevm+Z3`v;GgvlKybGbYBvMlWG%RVgo zxa_|+`#I%y;_0?C9jD#7aHE-Y%d%A8s#B-VIaTWOtu{OEP_iml@a0g}PV`f?Q^O;1 zO?8sOq=nosf}i)xyiTf;tSgB0cfjW`jE-h^>>%{+u|?agtJ!CNeZ@xU ztlYJ#+`tkEKN9qUx2RCyU4JB<} z8ZTCzhe%`QlbUYMr#|qUj2wIPm^*v@yEZ8ujQiPHs^h6h120J(A_I;p&+(OnDGkv} zapDxH0+qpBGpC?MB#KM%e2Y`U-cuY08A%dVAPi}jWYgh?B`MZ3dq*SF3*Ug>vAVup z8HjQ)W%pRp9^-uSfYd#Fom8I!=X5t%WG$ysf)5s|A^8>}PW}K}(vk2YBJs8bq7n^~ zQL9?O^DT*hRDkZc`I~X{xY8Q8oQm1mTK3-mvj-Fad&Yqe#qdv66 zN@))a2psqVQaw}<&xYa1h7Zzq6oGMyN{Gm1jiV)zHGKstb5C|IOk`JNBPp^xIXe>; zQ+-J6FFoJHE`+IKsF{zeflH4D@qB!VBxN{8IZlWf5nU|_7zmVK8nv=4YJq@7^mGgV z%l92_U!jvq4bnAoF=FdCU#a1Q7ga&bH|ynGqcQ$7Jg1B zmlUe#(EfA`%y%^CrKDq|1C)8OEgBh&ySPLi8ekhl=`b0^E=R-E0PLA%5A012nF@a!66IuZ{?TUD^XteT*kF zCRxY_Rep&sVRUGcREHZ3);wUBCVxh9@CWx&ZFlIK%zj~r4s01Bj`9I1Ll4DPA{Le8 zpk5*s)m&c2L}NlEJT4)iklm1lhs|Ng%}1PU#4Qq)(MgsFlE6mdQyfxfNFaoZC#^I? zdpYu0`!P?=y}hh{N)jivgfkj(i48DExFB`RwXc{duOc#sdQ2j9rGH47=Y;K7jE$-- zvj<7WlEh&)i>^rH*HAY|Gon0amqsjArgb%vghSh<&~}*V-}a#0l46mLvx5 z0-~E*RP~9Hq-VtUFhZn1r2jGQm>SFvr;Gs3#lRp9v>h4C3* z!(hx6e@G38F-eGnkih9cE=Yc61UUm~oXLQ^#n>wf%lTiE>A)^JYFI<3W8f~UOtc6^ zRCWkmkl;hQ6r;craWR7aKkGqnuHhy6I^0{oQvsV_EbZJUGi{F?+n4 zwqcl)W(;dJ=%R8Q(zmphTFk{85rHuD)gePcD#5+73W>-hx={(hNIPbQ18Ip5qI<~6 zq5@=YQ3)&%8Ct~ng1^(Yhr`}(>lPY=dH$aIORce+fOB9I_=!nWW`vP1qgnL;@>h)~ zObZChaaja9ENv-v*@zCt))O(yY9De}q4?B+#O| zwqu(QQq!z0O_4d#QgJnm{#cf;sfUCxA{XfbVqx)oj53+2bBP`!jwjNAxq)`rB*H^? zN2df4Nh`^qA}z5W4D)fnj;klaO|DH3vV3`N_3v-~C1>lOBTd?$32ylUxP=Af#*ziZBcE?S^bU>PD9vMb-7&=Mwy}_+6eynv3ejRABW#^I%z!##ap!S9rvi@3!x|EhDBbl8 z5+q|dwnCUVJZ73fU?+n^GtXm`>-{kt^y2T#+70=hjJ?8eq2GYafJrHIXLLYA)<3&@ z%PKLAgn|oqBiaUIB%a3;Lq)~F=WaBz8fS)=czKVY&JUuZntE!}$HPN2 z4tnq5IoV|f)r&hWn{Q`@2UQ^cimXmT7ICC)axEb;qASE6i2DIVDSyGh2;c^i*%G`M zN+UJ1Cd;`3SG*oOWhF)Kkkk(?%D2DVvl2gcC-(4f*)qP1r3x$EDLmiRA!354Dk8(q zBOoTe6*~^wAZ?^e5Ij05R*fa24pt;*fu6vhtjG}};6KJdP{Zz#VhBhL&C(?-O7O9ihE6YF(jj;bVn7H@X`{j~WLzmj z)L}H@v$=&?3pQB1O>}m9e+qj?oIv$o^hs8+*tFA4ho#|GMRkS%myT8$9X=|49>C3y z^VFfbf@zOzd=K70mdhYFkXbQ77_?6`U37g%Xx+{|fea4O{CUKuSuPoZRb3t8>EmwK zb9;jz9C*o5GHp(S;bG;~)e<Mh@7u3B8K(gZ=7O zb}$Qj5lKU2j~+cg5W|1**xhY@wO+Q9)DMgDl#%FUeW-P0NA(lz0xVi_DpNFK3kG;A z%>|vsQeq65c5zkSsTUCBm^qtxpt|+*v(c=q9v{zU4{jfNkiiXV-}ZIOzlbfLF+)Y1 zJCWUXs_su`kA`fl+m9VX#Luh|cMznozf=K@#Q@8D5#R+AaF#5^%@QSvrxk8}BHj9M zI-FEVbH>)Z&=MUSBy2iixMo|{eODZ=0|}Gm=Kaj-O@D>=qg(KjfIUxA6dE@sb8Y-T zJR`Vz3Ap$vYZL_CV)$5JU<{i?7-ZyAW9YAj`S8wh4fTtcohAoxTe*GLtMg<9IB%Nh z?EEZAD+j%E^3XwJSc8Bs8Y2K94Jmgyh%_7%<{sZo z4u{2%Wsd1IiyoZ02m8T*oZa#8{{)K$fB`8{*Bh4+G1j zV2O@?#saiuhQyeY858j(8leRxOi!@a;YJ}~Iz58qJ~DK(zklHVItki#GBKl*L7If& z%I0fh`{B1etJohMj(+V&vM7c9wPhH>vI)K8j2!HdPjE;OP`C=%+t}n-3c;7Com(xq4Tl+*lh_$MD=k} z#7G31UY_80!?5-aCNDZh>8GrBw9~{0y2sOu*Nh)Ic3b=T0s00UahsVA!ywN`aN?!2 zXf(9+U4%KJsj{dgV-I+VI~Wl-Dd83s_LHIti{5c+rlaZ4OjwFr`aX;Pa?pI!{Rli? z1^Lhj5p@Nl1~F?8;(83*KRz)n9D(iUiOikp0cOc!Z4o|C3`smFd) zyefvbHq1*K_FwePG%z_B8>aj+(=t)dN|;A-Q}-$f`FwWz!F*L!s->D%#=Pb|KX&_n zfDiBNzda0^dk-5wVAJnBpT013BdU9yAxcq)OjC8*8qjvB0QQgt+oHxt`CeB@ZoBBo zl-L8p&#F3AQ=IbIAAl}u$M3pq#sBA@^_$v*!39FYVQP-q-ZKtI`?cr2GCEdyh)!(h|AVeSI5T>!D;Yx+GE7sJ?SNTMrt_5 z&~og1jLV1n2Jh;b81ZHvH;*@l3WU*8jf%pDwJzwM`aLhqU%f0329M$d>4R_ix7fbv ziib=Fg6|%mHYpLarNIaaUvV$DoXqR?et{$q6jlOUhuMvj`!I!~ctJCnz<}=IUm8Pq z!;=?~@>tR9rc@QkPo`|zb+v=P2GX)>dN}28g2K?qi6{Inwr4-PZ^q4Vz+#on?pJYS z>uz51CWj5O`e`-md(1C#J|Fe4G1ZTNx)%;OxQn(;>s&r;QBerDI-->%2`1c#O< zZ69kMIQhx`UVHqkG52fs6~iu->8LsO#p=-hxC?=@;Y|JLnSRnMgYyCx70|6atnOXu z03R2i%_hJ6_2m;wzYl>MRj>2gW-n_OuV8n~;8e{*9TK+NN5fLBr4~hZ1Z83O$0~Yj zHYc*p*7;#ktWH0jLXg#GU?zlmaF*tQtGDqM z@jiK(kcDM=-ZXF<25M$`b;JvI@>X8|#@}rnAkyAJU%(j8m81y(*z#`aG~fcecau3d$Us8%|}uG?K!@-Q?}dX0GsMD1lUOd z?!j!obhU#??favB$j2T$4@wUHWar6T@vj87@}|0;a{Udl?YsGY98AzVjR~Dm9=lcw zs~~#@=xM`pZ;+28Kd*+(pkKh5DAnzqHtfgpIY*5h;(ax*YP2u6E0IO@+VP`S}d4L3r9yJAq*} z;x(?Gmc87Y+)d-c4CDTIil1$Gl=aiH`5XbLG8C-oD|ogz>~w(5U!2^AM-e8&0ScLT zvo}qtKb)llo7nQ`;DenP+Tv?G*yAs$!m}Fk&^~;BZFiqIw0%(aZ;zVbW#RUo=;70Q z-xe!pHrG%OR_v3bbo4JTPY+S{j%y#jHO-Ok`-9oA>9jeExL?#f{#I;9U4v_ypH_+AC8;R@Y%0+&(@2i^RTpV<-_Rj;0J?2{if-6{|ZrC(K{PgZPa84TY>%^Ma; zbl)5N#V?XUXmlP;Uq3tBmij4t*k;PV9TxlJA0GefWPenK8LK7zcLbU*iMhUe_doru z!c&Ln&M(i0e;zzJc>(WKH+wMnY39C}CQ;(rcZP5NU~Y2_YT!=(+SK1Xb_^C^Z9jWb zrA_q=CK6cdf2itDi7_^;j2m_95<0853G0pZtzk0y%OKF5CpHG^2H@#|=%{8_F4-oi z)BXPC!O>%U)gI|YA58y-O}pY_=BR1>xl^(Z4srwO+#w%VLY?2YqJ;IA zR+N2S{^FT6cPw32&Hhc=u8zfnSNXko<~o001y}C5PR!-9RMGQFd`ugbAKAkBqJ{H{ ztoXSF%r!->0O!)0o40X!Wd*hYw64rm6^iuExJf30w}psMD&dZtdC%8Eg$}Rl#2ve+B%FcEFd$U!{Pnx@lY2 zR<(aySS!lC3@-v%apRUQt;WB(3S7olSGLsJOU15%zp?hO!k3`zQbo6O;S&6IVAhm+ z3H`j?U##^@6;f5+Zbg>R)}F4B+_hX@3%c~hwE(RtWC>>N>6%Bcq4#TN|3YXMqa z$O2{E@6}IT+tqcji|f}0w7Q@L%-Y|pAG@}zYjGD}TpQBrf)+6Af3JS-x~{IregDmM zL9Ht1J;+B+wm1Af0=o3o_5!gbkUuzGCA-b8Et#@Ez+C=%GptolotLUsoL0sB%cvjD zSCzEcwGU-}(%EKUE1vo!)DJhWC~2chA4>eBvyHGWK15jeNucj_lf7fFKE+Gp9uQ?_D%6FKKH)BPdm9- z%*LND!m5HUUcB^qW4Ox?{=V$x|1W^Apg#$JQOoQ7{h{?z znU5UT3;VvbtKz?ZV2dX=-}>J*<_p7rtowgg&uxA9!tMVE{Cf+rt)@%4OZev>=2!W! zP1xnK&#Q1=ndNV8=v-Amu;k>1FqdH#_>14m-`&Xh99Y`^C7MqYr2;q7(sdwT7=B%~ UzFz+-fv*zyDuJ&OxVi-XAFe{$Hvj+t diff --git a/src/other/togl/doc/README.txt b/src/other/togl/doc/README.txt deleted file mode 100644 index 07f6577b6fe..00000000000 --- a/src/other/togl/doc/README.txt +++ /dev/null @@ -1,2 +0,0 @@ -This directory contains the documentation of Togl, the Tk OpenGL widget. -The documentation also doubles as the contents of the Togl home page. diff --git a/src/other/togl/doc/capi.html b/src/other/togl/doc/capi.html deleted file mode 100644 index b86c4a42162..00000000000 --- a/src/other/togl/doc/capi.html +++ /dev/null @@ -1,652 +0,0 @@ - - - - - - - - Togl C API - - - - - - -

Togl C API

- -

Contents

-
    -
  • Compiling and linking C Togl Functions -
  • Setup and Initialization Functions -
      -
    • Togl_Init, - Togl_InitStubs -
    -
  • Drawing-related Commands -
      -
    • Togl_PostRedisplay, - Togl_SwapBuffers, - Togl_MakeCurrent, - Togl_SwapInterval - Togl_CopyContext -
    -
  • Query Functions -
      -
    • Togl_Ident, - Togl_Width, - Togl_Height, - Togl_Interp, - Togl_TkWin, - Togl_GetProcAddr, - Togl_ContextTag - Togl_UpdatePending - Togl_HasRGBA - Togl_IsDoubleBuffered - Togl_HasDepthBuffer - Togl_HasAccumulationBuffer - Togl_HasDestinationAlpha - Togl_HasStencilBuffer - Togl_StereoMode - Togl_HasMultisample -
    -
  • Color Index Mode Functions -
      -
    • Togl_AllocColor, - Togl_FreeColor, - Togl_SetColor -
    -
  • Font Functions -
      -
    • Togl_LoadBitmapFont, - Togl_UnloadBitmapFont, - Togl_WriteObj, - Togl_WriteChars -
    -
  • Client Data Functions -
      -
    • Togl_SetClientData, - Togl_GetClientData -
    -
  • Overlay Functions -
      -
    • Togl_UseLayer, - Togl_ShowOverlay, - Togl_HideOverlay, - Togl_PostOveralyRedisplay, - Togl_ExistsOverlay, - Togl_GetOverlayTransparentValue, - Togl_IsMappedOverlay, - Togl_AllocColorOverlay, - Togl_FreeColorOverlay -
    -
  • Stereo Functions -
      -
    • Togl_Drawbuffer, -
    • Togl_Clear -
    • Togl_Frustum -
    • Togl_Ortho -
    • Togl_NumEyes -
    -
  • Image Functions -
      -
    • Togl_TakePhoto -
    -
  • Conversion Functions -
      -
    • Togl_GetToglFromObj, -
    • Togl_GetToglFromName -
    -
- -
- -

Compiling and linking C Togl Functions

- -

- All Togl functions are found in the Togl header file. - -

- - #include "togl.h" - -
- -

- For portability, you should include the togl.h header - before any other OpenGL headers - so it will compile on Microsoft Windows. - -

- Before calling any Togl functions, you need to initialize it. - Regardless if you're using stubs (by defining USE_TOGL_STUBS) - or not, the following code will properly initialize togl: - -

-if (Tcl_InitStubs(interp, "8.1", 0) == NULL
-|| Togl_InitStubs(interp, "2.0", 0) == NULL) {
-    /* fail */
-}
-
- -

- If you are using a prebuilt binary distribution, - you should be sure to define USE_TOGL_STUBS beforehand. - -

- See the source for the demo programs in the Togl source distribution - for working examples. - -

Linking

- -

- If you are using a prebuilt binary, - be sure to link against the stub library. - On Microsoft Windows, - link against Toglstub21.lib opengl32.lib user32.lib gdi32.lib, - on Mac OS X, - link against -lToglstub2.1 -framework OpenGL, - on other platforms, - link against -lToglstub2.1 -lGLU -lGL -lm. - -

- If building your own Togl package, - you can use the stubs interface or link in the Tcl and Tk libraries as well. - If using the stubs interface, link as shown above. - Otherwise: - on Microsoft Windows, - link against Togl21.lib tk84.lib tcl84.lib opengl32.lib user32.lib gdi32.lib, - on Mac OS X, - link against -lTogl2.1 -framework Tk -framework Tcl -framework OpenGL, - on other platforms, - link against -lTogl2.1 -ltk8.4 -ltcl8.4 -lGLU -lGL -lm. - -

Setup and Initialization Functions

- -
-
int Togl_Init(Tcl_Interp *interp) -
- Initializes the Togl module. This is typically called from the - Tk_Main() function - or other Tcl package initialization function that is directly linked - to the Togl (shared) library. - It is also indirectly called via - Tcl's package require Togl command. - If successful, the return value is TCL_OK. -
- -
-
- const char *Togl_InitStubs(Tcl_Interp *interp, const char *version, int exact) -
- Loads the Togl package into the given interpreter - and initializes it. - version should be "2.0" or higher. - This is typically called from C/C++ code that accesses Togl's C API - and has installed Togl into the standard TCL hierarchy. - See the Tcl InitStubs(3) or the Tk TkInitStubs(3) manual pages for - more information. -
- -

Drawing-related Commands

- -
-
void Togl_PostRedisplay(Togl *togl) -
- Signals that the widget should be redrawn. When Tk is next idle, - the displaycommand callback will be invoked. -
- -
-
void Togl_SwapBuffers(const Togl *togl) -
- Swaps the front and back color buffers for a double-buffered widget. - - glFlush is executed if the window is single-buffered. So this call - works for both single- and double-buffered contexts. This is - typically called in the displaycommand callback function. -
- -
-
void Togl_MakeCurrent(const Togl *togl) -
- Sets the current rendering context to the given widget. This is done - automatically before any Togl callback functions is called. So the - call is only needed if you have multiple widgets with separate OpenGL - contexts. If the argument is NULL, then the rendering context is cleared - and subsequent OpenGL commands will fail. -
- -
-
Bool Togl_SwapInterval(const Togl *togl, int interval) -
- Returns True if successful. - Attempts to change the maximum refresh rate - by setting the minimum number of cycles between successive swap buffers. - For benchmarking purposes, you should set the swap interval to 0. -
- -
-
int Togl_CopyContext(const Togl *from, const Togl *to, unsigned int mask) -
- Copy a subset of the OpenGL context state from from one context - to another using the mask parameter who values are the same as - - glPushAttrib. - The return value is TCL_OK if the context was copied. -
- -

Query Functions

- -
-
char *Togl_Ident(const Togl *togl) -
- Returns a pointer to the identification string associated with a Togl - widget or NULL if there's no identifier string. -
- -
-
int Togl_Width(const Togl *togl) -
- Returns the width of the given Togl widget. Typically called in the - reshapecommand callback function. -
- -
-
int Togl_Height(const Togl *togl) -
- Returns the height of the given Togl widget. Typically called in the - reshapecommand callback function. -
- -
-
Tcl_Interp *Togl_Interp(const Togl *togl) -
- Returns the Tcl interpreter associated with the given Togl widget. -
-
-
- Tk_Window Togl_TkWin(const Togl *togl) -
- Returns the Tk window associated with the given Togl widget. -
- -
-
Togl_FuncPtr Togl_GetProcAddr(const char *funcname) -
- Platform-independent way to get OpenGL function pointers from a - function name. - Note that in Microsoft Windows (WGL) versions that - "the extension function addresses are unique for each pixel format. - All rendering contexts of a given pixel format - share the same extension function addresses." - And on *nix (GLX/X11) platforms, - "the function pointers returned are context independent" - (Linux ABI documentation). - The Mac OS X (AGL) platform acts like a *nix platform. -
- -
-
int Togl_ContextTag(const Togl *t) -
- Returns an integer that represents the context tag. - All Togl widgets with the same context tag share display lists. -
- -
-
Bool Togl_UpdatePending(const Togl *t) -
- Returns True if the window should be redrawn. See Togl_PostRedisplay. -
- -
-
Bool Togl_HasRGBA(const Togl *t) -
- Return True if Togl widget has a RBGA color buffer. - False means that the widget is using a color index buffer. -
- -
-
Bool Togl_IsDoubleBuffered(const Togl *t) -
- Return True if Togl widget is double buffered. -
- -
-
Bool Togl_HasDepthBuffer(const Togl *t) -
- Return True if Togl widget is has a depth buffer. -
- -
-
Bool Togl_HasAccumulationBuffer(const Togl *t) -
- Return True if Togl widget has an accumulation buffer. -
- -
-
Bool Togl_HasDestinationAlpha(const Togl *t) -
- Return True if Togl widget has a destination alpha buffer. -
- -
-
Bool Togl_HasStencilBuffer(const Togl *t) -
- Return True if Togl widget has a stencil buffer. -
- -
-
int Togl_StereoMode(const Togl *t) -
- Return current stereo mode. See ?? -
- -
-
Bool Togl_HasMultisample(const Togl *t) -
- Return True if Togl widget has a multisample buffer. -
- -

Color Index Mode Functions

- -

- These functions are only used for color index mode. - -

-
unsigned long Togl_AllocColor(Togl *togl, float red, float green, float blue) -
- Allocate a color from a read-only colormap. Given a color specified - by red, green, and blue return a colormap index (aka pixel value) - whose entry most closely matches the red, green, blue color. Red, - green, and blue are values in [0,1]. This function is only used in - color index mode when the -privatecmap option is false. -
- -
-
void Togl_FreeColor(Togl *togl, unsigned long index) -
- Free a color in a read-only colormap. Index is a value which was - returned by the Togl_AllocColor() function. This function is only - used in color index mode when the -privatecmap option - is false. -
- -
-
void Togl_SetColor(Togl *togl, - int index, float red, float green, float blue) -
- Load the colormap entry specified by index with the given red, green - and blue values. Red, green, and blue are values in [0,1]. This - function is only used in color index mode when the - -privatecmap option is true. -
- - -

Font Functions

- -

- These functions provide an interface to the simple bitmap font capabilities - that every OpenGL implementation provides. - Better font support is found in other C APIs, e.g., - QuesoGLC - or FTGL. - -

-
Tcl_Obj *Togl_LoadBitmapFont(Togl *togl, - const char *fontname) -
- Load the named font as a set of - - glBitmap display lists. - fontname may be any of the font description styles - accepted by the Tk font command. - For maximum portability, one of the standard Tk fonts, - Courier, Times, and Helvetica, should be used. - Unicode fonts are treated as if they have only have an 8-bit index - (so poorly). - If successful, a Togl BitmapFont object is returned. - NULL is returned on failure. -
- -
-
int Togl_UnloadBitmapFont(Togl *togl, Tcl_Obj *toglfont) - -
- Destroys the bitmap display lists created by by Togl_LoadBitmapFont(). - If successful, the return value is TCL_OK. -
- -
-
int Togl_WriteChars(const Togl *togl, const Tcl_Obj *toglfont, const char *string, int length) - - Draw the given string. - If the given length is zero, then it is computed using strlen. - Returns the length of the drawn string. -
-
- -
-
int Togl_WriteObj(const Togl *togl, const Tcl_Obj *toglfont, Tcl_Obj *obj) - -
- Tcl_Obj interface to Tcl_WriteChars. -
- -

Client Data Functions

- -

- Each Togl structure has a pointer to an arbitrary client data structure. - -

-
void Togl_SetClientData(Togl *togl, ClientData clientData) -
- Set the Togl widget's client data pointer to clientData. -
- -
-
ClientData Togl_GetClientData(const Togl *togl) -
- Return the Togl widget's client data pointer. -
- - -

Overlay Functions

- -

- These functions are modeled after GLUT's overlay sub-API. - -

-
void Togl_UseLayer(Togl *togl, int layer) -
- Select the layer into which subsequent OpenGL rendering will be - directed. layer may be either TOGL_OVERLAY or - TOGL_NORMAL. -
- -
-
void Togl_ShowOverlay(Togl *togl) -
- Display the overlay planes, if any. -
- -
-
void Togl_HideOverlay(Togl *togl) -
- Hide the overlay planes, if any. -
- -
-
void Togl_PostOverlayRedisplay(Togl *togl) -
- Signal that the overlay planes should be redraw. - When Tk is next idle, - the overlaydisplaycommand callback will be invoked. -
- -
-
int Togl_ExistsOverlay(Togl *togl) -
- Returns 1 if overlay planes exist, 0 otherwise. -
- -
-
int Togl_GetOverlayTransparentValue(const Togl *togl) -
- Returns the color index of the overlay's transparent pixel value. -
- -
-
int Togl_IsMappedOverlay(const Togl *togl) -
- Returns 1 if the overlay planes are currently displayed, 0 otherwise. -
- -
-
unsigned long Togl_AllocColorOverlay(const Togl *togl, - float red, float green, float blue) -
- Allocate a color in the overlay planes. Red, green, and blue are - values in [0,1]. Return the color index or -1 if the allocation - fails. -
- -
-
void Togl_FreeColorOverlay(const Togl *togl, unsigned long index) -
- Free a color which was allocated with Togl_AllocColorOverlay(). -
- -

Stereo Functions

- -

- Togl abstracts part of the stereo drawing process to seamlessly - support quad-buffered stereo as well as various alternative stereo - formats. The stereo viewing parameters, eyeseparation - and convergence need to be set with the Togl's - stereo options. - -

-
void Togl_DrawBuffer(Togl *togl, GLenum mode) -
- Switch to OpenGL draw buffer. - Should be one of GL_BACK_LEFT, GL_BACK_RIGHT, GL_FRONT_LEFT, or - GL_FRONT_RIGHT. - It is not possible to draw in the left and right buffers at the same - time in the alternate stereo modes. -
- -
-
void Togl_Clear(const Togl *togl, GLbitfield mask) -
- Replacement for OpenGL's - - glClear that takes into account the alternate stereo mode. -
- -
-
void Togl_Frustum(const Togl *togl, GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat near, GLfloat far) -
- Replacement for OpenGL's - - glFrustum that takes into account the alternate stereo mode. -
- -
-
void Togl_Ortho(const Togl *togl, GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat near, GLfloat far) -
- Replacement for OpenGL's - - glOrtho that takes into account the alternate stereo mode. -
- -
-
int Togl_NumEyes(const Togl *togl) -
-
- -

Stereo Example

- -

- This code works for quad-buffered stereo, - as well as the other stereo modes. - -

-if (Togl_NumEyes(togl) == 1) {
-    Togl_DrawBuffer(togl, GL_BACK);
-    Togl_Clear(togl);
-    glMatrixMode(GL_PROJECTION);
-    glLoadIdentity();
-    Togl_Frustum(togl, left, right, bottom, top, near, far);
-    glMatrixMode(GL_MODELVIEW);
-    draw image
-} else {
-    Togl_DrawBuffer(togl, GL_BACK_LEFT);
-    Togl_Clear(togl);
-    glMatrixMode(GL_PROJECTION);
-    glLoadIdentity();
-    Togl_Frustum(togl, left, right, bottom, top, near, far);
-    glMatrixMode(GL_MODELVIEW);
-    draw left-eye image
-    Togl_DrawBuffer(togl, GL_BACK_RIGHT);
-    Togl_Clear(togl);
-    glMatrixMode(GL_PROJECTION);
-    glLoadIdentity();
-    Togl_Frustum(togl, left, right, bottom, top, near, far);
-    glMatrixMode(GL_MODELVIEW);
-    draw right-eye image
-}
-Togl_SwapBuffers(togl);
-
- -

Image Functions

- -

- - -

-
int Togl_TakePhoto(Togl *togl, Tk_PhotoHandle photo) -
- Take a photo image of the current Togl window and place it in the - given photo object. - If the window is partially obscured, - either by other windows or by the edges of the display, - the results are undefined in the obscured region. - If successful, the return value is TCL_OK. -
- -

Conversion Functions

- -

- These functions aid the programmer when writing Togl callback functions. - -

-
int Togl_GetToglFromObj(Tcl_Interp *interp, Tcl_Obj *obj, Togl **toglPtr) -
- Attempt to return a Togl structure "toglPtr" from the Tcl object "obj". - If successful, the return value is TCL_OK. -
- -
-
int Togl_GetToglFromName(Tcl_Interp *interp, const char *cmdName, Togl **toglPtr) -
- Attempt to return a Togl structure "toglPtr" from the Tcl command name "cmdName". - If successful, the return value is TCL_OK. -
- -
- - Get Togl at SourceForge.net. Fast, secure and Free Open Source software downloads - - - Valid HTML 4.01 Transitional - - - diff --git a/src/other/togl/doc/download.html b/src/other/togl/doc/download.html deleted file mode 100644 index 72b7c7b2677..00000000000 --- a/src/other/togl/doc/download.html +++ /dev/null @@ -1,340 +0,0 @@ - - - - - - - - Downloading and Installing Togl - - - - - - -

Downloading and Installing Togl

- -

Contents

- - -
- -

Prerequisites

- -

- You should have - Tcl and Tk - installed on your computer. - Togl works with Tcl/Tk version 8.1 and up - (all recent testing has been with version 8.4). - The Mac OS X version requires version 8.4 - (note: versions 8.4.12 and 8.4.13 have a bug when unmapping Togl widgets). - -

- You must also have - OpenGL or - Mesa - (a free alternative to OpenGL with the same API) - installed on your computer. - -

- And one should be familiar with Tcl, Tk, OpenGL, - and C programming to use Togl effectively. - -
-

Downloading Togl

- -

- Togl can be downloaded from the - - SourceForge Files page. - -

- Several prebuilt binary distributions are available - as well as a source distribution. - -

Installing Togl

- -

Installing prebuild binaries

- -

- Prebuilt binaries provide a Togl2.1 directory, - the togl.h, togl_ws.h and toglDecls.h include files, - and the togl stub library - (libToglstub2.1.a or Toglstub20.lib, etc). - The Togl2.1 directory needs to copied - into one of the directories on Tcl's package path - (type puts $auto_path in the Tcl interpreter to see - the list of directories). - If you have C code that needs to access Togl's subroutines directly, - place the include file in the same place as Tcl's include file and - the stub library in the same place as Tcl's stub library. - -

Installing from source

- -

- Togl uses the Tcl Extension Architecture to be able to build on the - same platforms Tcl can be built on. - In addition to the Togl source, - you will need to have the Tcl and Tk source distributions - because not all installations have the needed Tcl and Tk internal header files. - -

- How you link with Togl depends on how you're planning to use it. - There are basically three ways of using Togl with your application: -

    -
  • - Install the Togl shared library and pkgIndex.tcl file - (using make install) - and link to the Togl stubs library with your executable or shared library. - In this case you must call Togl_InitStubs() (and probably Tcl_InitStubs() - — Tk_InitStubs is only needed if you call Tk functions). - This is the way the included Togl examples are built. - -
  • - Link to the Togl shared library - or "compile in" the Togl object files - with your executable or shared library. - In this case you must call Togl_Init() from your C code - to initialize Togl. - -
  • - Install the Togl shared library and pkgIndex.tcl file - (using make install) - and then load it using Tcl commands or Tcl_PkgRequire(). - Then use Tcl commands to create and manipulate the Togl widget. -
- - Since Togl is compiled into a shared library using the Tcl/Tk stubs-interface, - the same binary can be used with any version of Tck/Tk from 8.1 and up. - See README.stubs for more info. - -

- Specific platform notes follow: - -

Unix/X11 usage

- -

- Unix/X systems only need the public Tcl/Tk include files. - Just configure, make, - and optionally make install. - -

Microsoft Windows usage

- -

- Microsoft Windows platforms need tkWinInt.h - and other internal Tk header files. So you need a Tcl/Tk - source distribution in addition to the Togl distribution - (or copy over the various include files). -

- Here's the minimal way to build Togl with Tcl/Tk - using the gcc that is distributed - as part of the cygwin tools - (Microsoft's compilers work too): -


-VER=8.4.12
-SRCDIR=`pwd`
-
-cd $SRCDIR/tcl$VER/win
-env 'CC=gcc -mno-cygwin' ./configure --enable-threads
-make libtclstub84.a
-
-cd $SRCDIR/tk$VER/win
-env 'CC=gcc -mno-cygwin' ./configure --enable-threads
-make libtkstub84.a
-
-cd $SRCDIR/Togl2.1
-env 'CC=gcc -mno-cygwin' ./configure --with-tcl=../tcl$VER/win --with-tk=../tk$VER/win
-
-make
-
- The resulting Togl21.dll and pkgIndex.tcl - should be installed into your Tcl installation just like any other package. - -

- If you change all of the above make's - to make install instead, - then the Togl package is installed correctly. - -

Mac OS X usage

- -

- These special instructions are for building the Aqua version of Togl. - Mac OS X needs tkMacOSXInt.h - and other internal Tk header files. - Unfortunately, the Tcl and Tk frameworks that Apple distributes - are missing the internal headers. - So you need a Tcl/Tk source distribution in addition to the Togl - distribution (or copy over the various include files). - You would probably want a newer version of Tcl and Tk anyway - because each minor revision of 8.4 has many Aqua bug fixes. -

- Here's one way to build Tcl, Tk, and Togl on Mac OS X - (assuming they are all in the same directory) - to install in your home directory: -


-VER=8.4.12
-
-mkdir -p ~/bin
-make -C tcl$VER/macosx install PREFIX="${HOME}" INSTALL_PATH="${HOME}/Library/Frameworks"
-make -C tk$VER/macosx install PREFIX="${HOME}" INSTALL_PATH="${HOME}/Library/Frameworks" APPLICATION_INSTALL_PATH="${HOME}/Applications"
-
-cd Togl2.1
-./configure --prefix="${HOME}"
-make install
-
- -
-

Version History

- -

Version 1.0 — March, 1996

-
    -
  • Initial version -
- -

Version 1.1 (never officially released)

-
    -
  • Added Togl_LoadBitmapFont function -
  • Fixed a few bugs -
- -

Version 1.2 — November, 1996

-
    -
  • added swapbuffers and makecurrent Tcl commands -
  • more bug fixes -
  • upgraded to suport Tcl 7.6 and Tk 4.2 -
  • added stereo and overlay plane support -
  • added Togl_Get/SetClientData() functions -
  • added Togl_DestroyFunc() -
- -

Version 1.3 — May 2, 1997

-
    -
  • fixed a bug in Togl_Configure() -
  • fixed a compilation problem in using Tcl_PkgProvide() with Tcl < 7.4 -
  • new overlay functions: Togl_ExistsOverlay, Togl_GetOverlayTransparentValue, - Togl_IsMappedOverlay, Togl_AllocColorOverlay, Togl_FreeColorOverlay -
  • added X11 functions: Togl_Display, Togl_Screen, Togl_ScreenNumber, - Togl_Colormap -
  • added Togl_DumpToEpsFile function -
  • fixed a C++ compilation problem -
  • more robust overlay code -
  • added timers (Togl_TimerFunc) from Peter Dern and Elmar Gerwalin -
- -

Version 1.4 — September 17, 1997

-
    -
  • ported to Microsoft Windows NT (Robert Casto) -
  • updated for Tcl/Tk 8.0 -
  • added many config flags (-redsize, -depthsize, etc) (Matthias Ott) -
  • added Togl_Set*Func() functions to reassign callback functions (Matthias Ott) -
  • added Togl_ResetDefaultCallbacks() and Togl_ClientData() functions (Greg Couch) -
- -

Version 1.5 — September 18, 1998

-
    -
  • fixed a few Unix and Microsoft Windows compilation bugs -
  • added Ben Evan's SGI stereo functions -
  • multiple expose events now reduced to one redraw -
  • destroying Togl widgets caused problems, patched by Adrian J. Chung -
  • added Togl_TkWin() function -
  • updated for Tcl/Tk 8.0p2 -
  • added gears demo from Philip Quaife -
  • added -sharelist and -sharecontext config flags -
  • fixed a few overlay update bugs -
  • added -indirect config flag -
- -

Version 1.6 — May 7, 2003

-
    -
  • added Togl_SetTimerFunc function -
  • updated for Tcl/Tk 8.0.5 and 8.1 -
  • context sharing added for Microsoft Windows -
  • Macintosh support (by Paul Thiessen) -
  • Tcl/Tk stubs support — see README.tcl (by Jonas Beskow) -
- -

Version 1.7 — January 6, 2006

-
    -
  • added Mac OS X support -
  • enabled asking for quad-buffered stereo pixel formats on all platforms - (use -oldstereo on SGIs for splitscreen stereo — C API changed too) -
  • configuring the cursor is no longer slow -
  • added -pixelformat config flag -
  • added setgrid support (unfortunately many window managers can't cope with 1x1 pixel grid) -
  • only free context when last reference is gone -
  • switched to TEA-based configure (instead of editting make files) -
- -

Version 2.0 — April 22, 2008

-
    -
  • stubified C API -
  • replaced EPS support with TK photo image support -
  • simplified C API by requiring callback command options -
  • Added command arguments for create, destroy, etc. callbacks, - so there is a -createcommand option to the togl command (etc.). - (and removed Togl_*Func from the C API) -
  • added togl instance commands that call C API — - see documentation -
  • use Tcl objects internally -
  • use Tcl object interface for callbacks -
  • vertical sync control -
  • fix thread safety in anticipation that OpenGL drivers may someday be thread safe -
  • added simple stereo rendering interface -
  • revised font C API -
  • updated font support for Tk 8.4 on all platforms -
  • updated documentation -
  • prebuilt binaries -
- -

Version 2.1 — December 2009

-
    -
  • incorporate the part of the X11R6 Xmu library that Togl uses - so it will work on (Linux) systems that don't have the Xmu shared library -
  • Mac OS X Aqua delete context bug fix -
  • multisampling support -
  • pbuffer support (Unix/X11, Microsoft Windows, Mac OS X) -
  • Ability to copy context state -
  • row interleaved stereo support -
- -
-

Future plans

- Patches for the following are especially welcome: -
    -
  • Tk 8.5 fonts -
  • Aqua Cocoa support (Tk 8.6b2) -
  • OpenGL 3 contexts -
  • EGL support -
  • RGB overlays -
  • Tcl access to colormap manipulation -
  • NVidia consumer stereo support -
- -
- - Get Togl at SourceForge.net. Fast, secure and Free Open Source software downloads - - - Valid HTML 4.01 Transitional - - - diff --git a/src/other/togl/doc/faq.html b/src/other/togl/doc/faq.html deleted file mode 100644 index 81018051c1b..00000000000 --- a/src/other/togl/doc/faq.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - - Togl Frequently Asked Questions - - - - - - -

Togl Frequently Asked Questions

- -

Contents

- -

Frequently Asked Questions (and Problems)

- -
- -

- If you have something to add to this section please let us know. - -

-
- Bad Match X errors on Sun systems -
- There is(was?) a bug in Sun's XmuLookupStandardColormap - X library function. - If you compile togl.c with the SOLARIS_BUG symbol defined (-DSOLARIS_BUG) - this function call will be omitted. - -

-

- Is stereo rendering supported? -
- Several different stereo modes are supported. - -

-

- Is fullscreen stereo rendering supported? -
- Before Tk 8.5, - Tk does not support true fullscreen windows. - Consequenly the full-screen stereo, - that gaming graphics cards support (ATI Radeon, NVidia GeForce), - won't be added until sometime after Tk 8.5 is available. - Fullscreen stereo on workstation graphics cards - (ATI FireGL, NVidia Quadro, Matrix Parhelia, 3Dlabs Wildcat) - does work. -

-

- How do I get the Microsoft Windows device context? -
- First call Togl_MakeCurrent to make sure you have the - right OpenGL context and device context set, - then call wglGetCurrentDC. - -

-

- How do I use Togl from Python? -
- The Togl source distribution comes with a Togl.py file - that provides a Tkinter-style Togl widget. - And for Togl callbacks that are C functions, - there is a toglpy.h file that provides a function - that converts a Python object into its corresponding Togl widget: -
- Togl *getToglFromWidget(PyObject *widget) -
- -

-

- Is Togl compatible with Tile and Tk 8.5? -
- Yes, Togl works as is (except for the bitmap font support for X11 and Aqua). - From Joe English: -
- Complex "owner-draw" widgets like tkZinc, - or the text and canvas widgets, - really don't benefit much from themability, - so there's no reason to rewrite them. - (http://wiki.tcl.tk/13373) -
-
- -
- - Get Togl at SourceForge.net. Fast, secure and Free Open Source software downloads - - - Valid HTML 4.01 Transitional - - - diff --git a/src/other/togl/doc/header.js b/src/other/togl/doc/header.js deleted file mode 100644 index 5e87cd508f3..00000000000 --- a/src/other/togl/doc/header.js +++ /dev/null @@ -1,20 +0,0 @@ -function displayHeader(pageTitle) -{ - document.write("

" + pageTitle + "

"); -} - -function NavigationBar() -{ - document.write(""); - document.write(" "); - document.write(" "); - document.write(" "); - document.write(" "); - document.write(" "); - document.write(" "); - document.write(" "); - document.write(" "); - document.write(" "); - document.write("
IndexIntroDownload/InstallUsing ToglTcl APIC APIFAQ
"); - document.write("
"); -} diff --git a/src/other/togl/doc/index.html b/src/other/togl/doc/index.html deleted file mode 100644 index 222099e9f0a..00000000000 --- a/src/other/togl/doc/index.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - Togl, a Tk OpenGL widget - - - - - -

Togl — a Tk OpenGL widget

-

Copyright © 1996-2009 Brian Paul, Ben Bederson, and Greg Couch

- -

Index

- - - -
- -

Introduction

- - Togl is a Tk widget for - OpenGL rendering. - Togl was originally based on OGLTK, written by Benjamin Bederson at - the University of New Mexico. - - Togl's main features are: - -
    -
  • unifies Microsoft Windows, X11 (Linux/IRIX/...), and Mac OS X Aqua support -
  • support for requesting stencil, accumulation, alpha buffers, etc. -
  • multiple OpenGL drawing windows -
  • simple stereo rendering support -
  • simple, portable font support -
  • color-index mode support including color allocation functions -
  • overlay plane support -
  • OpenGL extension testing from Tcl -
  • Tcl Extension Architecture (TEA) 3 compliant -
- -

- Togl does almost no OpenGL drawing itself, - instead it manages OpenGL drawing by calling various Tcl commands - (a.k.a., callback functions). - Those commands can be C functions that call OpenGL (in)directly - or another Tcl package - (e.g., Tcl3D). - -

- Togl is copyrighted by - Brian Paul - (brian_e_paulATyahooDOTcom), - Benjamin Bederson - (bedersonATcsDOTumdDOTedu), and - Greg Couch - (gregcouchATusersDOTsourceforgeDOTnet). - See the LICENSE file for details. - -

- The - Togl project and - home page are - hosted by SourceForge. - -
-

Mailing list

- -

- See the - Togl project at SourceForge for mailing list information. - -
-

Reporting Bugs

- -

- There is a bug database on the - Togl Project Page. - You may also discuss bugs on the mailing list. -

- It may be worth upgrading your graphics driver and retesting - before reporting a bug, - as, historically, - many Togl "bugs" have been fixed by a graphics driver upgrade, - especially on Microsoft Windows. -

- When reporting bugs please provide as much information as possible. - Such as the version of Togl, which operating system - (e,g., Microsoft Windows, Red Hat Linux, Mac OS X, etc.), - the version of the operating system, - and the version of the graphics driver. - Also, it's very helpful to us if you can provide an example program - which demonstrates the problem. - -
-

Contributors

- -

- Several people have contributed new features to Togl. Among them are: - -

    -
  • Ramon Ramsan — overlay plane support -
  • Miguel A. De Riera Pasenau — more overlay functions, X11 functions - and EPS output -
  • Peter Dern and Elmar Gerwalin — Togl_TimerFunc and related code -
  • Robert Casto — Microsoft Windows NT port -
  • Geza Groma — Microsoft Windows 95/NT patches -
  • Ben Evans — SGI stereo support -
  • Paul Thiessen — Macintosh support -
  • Jonas Beskow — Tcl/Tk stubs support -
  • Paul Kienzle — TEA debugging and patches -
  • Greg Couch — version 1.7, 2.0, 2.1 -
- - Many others have contributed bug fixes. Thanks for your contributions! - -
-
- Last edited on 4 February 2009 by Greg Couch. - -
- - Get Togl at SourceForge.net. Fast, secure and Free Open Source software downloads - - - Valid HTML 4.01 Transitional - - - diff --git a/src/other/togl/doc/stereo.html b/src/other/togl/doc/stereo.html deleted file mode 100644 index 72d4ec8de73..00000000000 --- a/src/other/togl/doc/stereo.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - - - Togl Stereo Modes - - - - - - -

Togl Stereo Modes

- -

Contents

- - -
- -

- There are lots of stereo modes in Togl because there are many ways to - draw stereo with different tradeoffs. - All of the stereo modes are choosen with the - - -stereo configuration option. - All of the non-native stereo techniques - are software-only and can be changed at anytime. -

- When using a non-native stereo mode, the OpenGL - glDrawBuffer, glClear, - glFrustum, and glOrtho calls - should be replaced with the Togl - Tcl or - C versions - for seemless stereo rendering. -

- The various stereo modes are: -

-
- none or "" or any false boolean value -
- Turn off stereo. -
native or any true boolean value -
- Use native OpenGL hardware accelerated stereo - (single- or double-buffered for both the left and the right eyes). - Each eye is drawn at full window resolution - which gives the best stereo image. - This mode requires support from the graphics driver and is - typically only supported on workstation-class graphics cards, e.g., - NVidia Quadro, - ATI FireGL, - Matrix Parhelia, - 3DLabs Wildcat - graphics cards - and SGI workstations. - The video refresh rate is changed automatically by the windowing system - except on SGI workstations. - Developers for SGI workstations can either switch the video manually with - /usr/gfx/setmon or /usr/bin/X11/xsetmon, or use the - - autostereo package. -

- Currently, there is a limitation that a togl widget can not be - reconfigured in or out of the native stereo mode. - And if/when it is supported, - some graphics drivers might not allow it. -

- anaglyph -
- Draw the left eye in the red part of the color buffer - and the right eye in the blue and green parts. - Designed to be viewed with inexpensive red-blue or red-cyan glasses. - Works best with gray scale and non-saturated color images. -
- cross-eye -
- Draw right eye image on the left half of screen, - and draw left eye image on the right half of screen. - So each eye is drawn at less than half of the window resolution. -
- wall-eye -
- Draw left eye image on the left half of the screen, - and draw right eye image on the right half of the screen. - So each eye is drawn at less than half of the window resolution. -
- dti -
- Designed for DTI displays. - If you look at the window unassisted, - you'll see horizonally squished images - with the left eye image on the left, - and right eye image on the right. - So each eye is drawn at half of the window resolution. -
- row interleaved -
- Designed for - VRex, - Zalman, and - Hyundai displays. - Where the right eye is on the even scanlines - and the left is on the odd ones. - Requires that there be a stencil buffer - and uses the most significant stencil bit. - Changes to the stencil state should be placed within - - glPushAttrib(GL_STENCIL_BUFFER_BIT) and glPopAttrib() calls. -
- left eye -
- Only draw left eye view at full resolution. -
- right eye -
- Only draw right eye view at full resolution. -
- sgioldstyle -
- Support older-style SGI stereo where you lose half of the vertical resolution. - This uses the SGIStereo X extension, - that is only available on SGI workstations, - to tell the X server to duplicate non-stereo windows into both eyes. - This option only works when the monitor has been changed to the one - of the str_top, str_bot, or str_rect video output modes. - -
- -
- - Get Togl at SourceForge.net. Fast, secure and Free Open Source software downloads - - - Valid HTML 4.01 Transitional - - - diff --git a/src/other/togl/doc/tclapi.html b/src/other/togl/doc/tclapi.html deleted file mode 100644 index 6d6c9a97035..00000000000 --- a/src/other/togl/doc/tclapi.html +++ /dev/null @@ -1,774 +0,0 @@ - - - - - - - - Togl Tcl API - - - - - - -

Togl Tcl API

- -

Contents

- - -
- -

Togl Tcl command

- -

- The togl command creates a new Tk widget, a Tcl command, - whose name is pathName. - This command may be used to invoke various operations on the widget. -

- togl pathName [options] -
- If no options are given, a 400 by 400 pixel RGB window is created. - This command may be used to invoke various operations on the widget. - -

Togl widget commands

- - The following commands are possible for an existing togl widget: - -

Configuration commands

- -
-
pathName cget -option -
- Return current value of given configuration option. -
- -
-
- pathName configure
- pathName configure -option -
- If no option is given, - then return information about - all configuration options. - Otherwise, - return configuration information for given option. - All configuration information consists of five values: - the configuration option name, - the option database name, - the option database class, - the default value, - and the current value. -
- -
-
pathName configure -option value -
- Reconfigure a Togl widget. - option may be any one of the options listed below. -
- -
-
pathName contexttag -
- Returns an integer that represents the context tag. - All Togl widgets with the same context tag share display lists. -
- -

Extensions command

- -
-
pathName extensions -
- Returns a list of OpenGL extensions available. For example: -

-if {[lsearch [pathName extensions] GL_EXT_bgra] != -1]} {
-    ....
-}
-
- would check if the GL_EXT_bgra extension were supported. -
- -

Rendering commands

- -
-
pathName postredisplay -
- Cause the displaycommand callback to be called - the next time the event loop is idle. -
- -
-
pathName render -
- Causes the displaycommand callback to be called for pathName. -
- -
-
pathName swapbuffers -
- Causes front/back buffers to be swapped if in double buffer mode. - And flushs the OpenGL command buffer if in single buffer mode. - (So this is appropriate to call after every frame is drawn.) -
- -
-
pathName makecurrent -
- Make the widget specified by pathName and its OpenGL context - the current ones. - This is implicitly called before any callback command is invoked. -
- -
-
pathName copycontextto toPathName mask -
- Copy a subset of the OpenGL context state from pathName to - toPathName according the given mask. - The mask is an integer corresponding to the same values as - - glPushAttrib. -
- -

Image commands

- -
-
pathName takephoto imagename -
- Copy the contents of the togl window into the given Tk photo image. - Transparency values are copied and should be fully opaque for windows - without alpha bitplanes. -
- -

Font commands

- -

- These functions provide an interface to the simple bitmap font capabilities - that every OpenGL implementation provides. - Better font support is found in other packages, e.g., - Tcl3D - or with different C APIs. - -

-
pathName loadbitmapfont font -
- font can be any of font descriptions listed in the Tk - font command. - It returns a togl font object. -
- -
-
pathName unloadbitmapfont toglfont -
- Releases the OpenGL resources needed by the toglfont. -
- -
-
pathName write toglfont [-pos xyzw] [-color rgba] string -
- Write the given string in the given toglfont, - optionally at a particular position, xyzw - and color, rgba. - xyzw is either a 2, 3, or 4 element list of numbers. - rgba is either a 3 or 4 element list of numbers. -
- -

Overlay Commands

- -
-
pathName uselayer layer -
- This is a variation on the makecurrent command - that makes the overlay OpenGL context current - if layer is 2 - and makes the normal OpenGL context current - if layer is 1. -
- -
-
pathName showoverlay -
- Turn on drawing in the overlay planes. -
- -
-
pathName hideoverlay -
- Turn off drawing in the overlay planes. -
- -
-
pathName postredisplayoverlay -
- Cause the overlay OpenGL context to be redrawn the next time - the Tcl event loop is idle. -
- -
-
pathName renderoverlay -
- Causes the overlaydisplaycommand callback to be called for pathName. -
- -
-
pathName existsoverlay -
- Return true if togl widget has overlay planes. -
- -
-
pathName ismappedoverlay -
- Return true if overlay planes are shown. -
- -
-
pathName getoverlaytransparentvalue -
- Return overlay plane's transparent pixel value. -
- -

OpenGL (Stereo) Commands

- These commands exist to support stereo rendering. - Just replace select OpenGL calls with the Togl versions - and stereo rendering will magically work. And don't forget - to update the stereo options. - -
-
pathName drawbuffer mode -
- Replaces calls to - - glDrawBuffer. - The mode is an integer. -
- -
-
pathName clear mask -
- Replaces calls to - - glClear. - The mask is an integer. -
- -
-
pathName frustum left right bottom top near far -
- Replaces calls to - - glFrustum. -
- -
-
pathName ortho left right bottom top near far -
- Replaces calls to - - glOrtho. -
- -
-
pathName numeyes -
- Returns numbers of eyes — basically, - 2 for stereo views and 1 for all others, - except some stereo views only need one eye from OpenGL. -
- -

Togl configuration options

- - Togl's configuration options can be separated into several categories: - geometry, pixel format, and other. - The pixel format related options can only be set at widget creation time. - The other options can be changed dynamically - by the pathName configure command (see above). - -

Drawing callbacks

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OptionDefaultComments
-createcommand{} - Can be abbreviated -create. -
-displaycommand{} - Can be abbreviated -display. -
-reshapecommand{} - Can be abbreviated -reshape. -
-destroycommand{} - Can be abbreviated -destroy. -
-overlaydisplaycommand{} - Can be abbreviated -overlaydisplay. -
- -

Geometry Options

- - - - - - - - - - - - - - - - - - - - - - - - - - -
OptionDefaultComments
-width400 - Set width of widget in pixels. - It may have any of the forms accepted by Tk_GetPixels. -
-height400 - Set height of widget in pixels. - It may have any of the forms accepted by Tk_GetPixels(3). -
-setgrid0 - Turn on gridded geometry management for togl widget's toplevel - window and specify the geometry of the grid. - See the manual pages for Tk's wm(n) and Tk_SetGrid(3) - for more information. - Unlike the text widget, - the same value is used for both width and height increments. -
- -

Timer Options

- - - - - - - - - - - - - - - - - - - - - -
OptionDefaultComments
-time1 - Specifies the interval, in milliseconds, for - calling the timer callback function which - was registered with -timercommand.
-timercommand{} - Can be abbreviated -timer. -
- -

Stereo Options

- - - - - - - - - - - - - - - - - - - - - - -
OptionDefaultComments
-eyeseparation2.0 - Set the distance between the eyes in viewing coordinates. -
-convergence30.0 - Set the distance to the screen from the eye in viewing coordinates - (the distance at which the eyes converge). -
- -
- You'd think these values would be given in physical units, - but there's no single right way to convert to viewing coordinates - from physical units. - So if you're willing to use Tk's idea of the horizontal size of a - window in millimeters (not always correct), - you could convert the average eye separation of 63 mm - to your viewing coordinates, and use that value as the eye separation. -
- -

Miscellaneous Options

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OptionDefaultComments
-cursor"" - Set the cursor in the widget window. -
-swapinterval1 - Set the minimum swap interval measure in video frame periods. - The default is 1 for for non-tearing artifacts - when swapping buffers. - Use a value of 0 when benchmarking frame rates. -
-ident"" - A user identification string. This is used match widgets - for the -sharecontext - and the -sharelist options (see below). - This is also useful in your callback functions - to determine which Togl widget is the caller. -
- -

Pixel Format Options

- - The following options can only be given when the togl widget is created - — that is, unlike other options, - the togl widget can not be reconfigured with different values - for the following options after it is created. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OptionDefaultComments
-rgbatrueIf true, use RGB(A) mode, otherwise use Color Index mode.
-redsize1Minimum number of bits in red component.
-greensize1Minimum number of bits in green component.
-bluesize1Minimum number of bits in blue component.
-alpha1 - If true and -rgba is true, request an alpha channel. -
-alphasize1Minimum number of bits in alpha component.
 
-doublefalse - If true, request a double-buffered window, otherwise - request a single-buffered window. -
 
-depthfalseIf true, request a depth buffer.
-depthsize1Minimum number of bits in depth buffer.
 
-accumfalseIf true, request an accumulation buffer.
-accumredsize1Minimum number of bits in accumulation buffer red component.
-accumgreensize1 - Minimum number of bits in accumulation buffer green component. -
-accumbluesize1Minimum number of bits in accumulation buffer blue component.
-accumalphasize1 - Minimum number of bits in accumulation buffer alpha component. -
 
-stencilfalseIf true, request a stencil buffer.
-stencilsize1Minimum number of bits in stencil component.
 
-auxbuffers0Desired number of auxiliary buffers.
 
-privatecmapfalse - Only applicable in color index mode. - If false, use a shared read-only colormap. - If true, use a private read/write colormap. -
 
-overlayfalseIf true, request overlay planes.
 
-stereomode - See the stereo information - for details about the various modes. - Stereo parameters are changed with the - stereo options. -

- When using a non-native stereo mode, the OpenGL - - glDrawBuffer, - - glClear, - - glFrustum, and - - glOrtho calls - must be replaced with the Togl - Tcl or - C versions. -

 
-pbufferfalse - If true, request off-screen framebuffer memory for the graphics. - The resulting togl widget should not be managed. -
-largestpbufferfalse - If true, when asking for a pbuffer of a given size - and there isn't enough framebuffer memory available, - fallback to the largest size available. -
 
-multisamplefalse - If true, request an multisampled rendering context. -
-indirectfalse - If present, request an indirect rendering context. - A direct rendering context is normally requested. - Only significant on Unix/X11. -
-sharelist"" - Togl identification string or window path name - of an existing Togl widget with which to share display lists. - If it is not possible to share display lists - between the two togl widgets - (depends on the graphics driver and the particular formats), - it fails. -
-sharecontext"" - Togl identification string or window path name - of an existing Togl widget with which to share the OpenGL context. - Note: all other pixel format options are ignored. -
-pixelformat0 - Set the pixel format to the (platform-dependent) given value. - This is a backdoor into choosing a particular pixel format - that was determined by other means. -
- -
- - Get Togl at SourceForge.net. Fast, secure and Free Open Source software downloads - - - Valid HTML 4.01 Transitional - - - diff --git a/src/other/togl/doc/upgrading.html b/src/other/togl/doc/upgrading.html deleted file mode 100644 index 790cc732141..00000000000 --- a/src/other/togl/doc/upgrading.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - Upgrading to Version 2 - - - - - - -

Upgrading to Version 2

- -

Contents

- - -
- -

- Internally, Togl version 2 isn't very different from version 1, - and much of the C interface is the same. - The main difference is that the focus of the Togl API has changed - from being a C API to being a Tcl API. - Which means that the full power of Togl is accessible from Tcl - (the few exceptions are considered bugs). - -

Widget callback changes

- - The biggest change is how the various callback are initialized. - In version 1, - the C API Togl_Set*Func functions had to be used - to setup the callback functions before creating the Togl widget. - And once the callbacks were set for a particular Togl widget, - they could not be changed. - If more than once Togl widget was needed, - the callback functions would need to be reset before each widget creation. - In version 2, - the callbacks are configuration arguments to the widget - and can be updated like any other standard widget configuration option. - See the Tcl API for details. - -

Widget subcommand changes

- - Version 1 also allowed new subcommands to be added - to the togl widget command via the C API. - This was dropped for a variety of reasons: - there is no exact Tcl equivalent, - there is no standard object-oriented technique - currently in the Tcl core (8.4.13), - it is unclear how to make the API thread safe, - and the internal Tcl C API doesn't support - dynamicly changing sets of subcommands. - That said, this functionality might come back, especially when - TIP #257 is implemented. - Instead, in version 2, - create a Tcl function that takes the Togl widget as an argument. - Functions written in C can get the underlying Togl structure handle - with either the Togl_GetToglFromObj - or the Togl_GetToglFromName function, - as appropriate. - This means that there are no special Togl commands, only Tcl commands. - See the C API for details. - -

Stereo changes

- - The stereo support has been totally revamped. - Some form of stereo is available all of the time. - -

Font changes

- - Tcl support for writing strings has been added. -

- - The font C API has been revised - so that Togl_LoadBitmapFont returns a font object instead an integer - (likewise for Togl_UnloadBitmapFont). - So instead of calling glListBase and glCallLists directly, - use Togl_WriteObj or Togl_WriteChars. -

- The TOGL_BITMAP_* constants remain for limited backwards - source compatibility and are deprecated. - The acceptable font names are now the same as Tk_GetFont - and the Tk font command on all platforms. - -


- - Get Togl at SourceForge.net. Fast, secure and Free Open Source software downloads - - - Valid HTML 4.01 Transitional - - - diff --git a/src/other/togl/doc/using.html b/src/other/togl/doc/using.html deleted file mode 100644 index 0e847d1fc70..00000000000 --- a/src/other/togl/doc/using.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - - - Using the Togl Widget - - - - - - -

Using the Togl Widget

- -

Contents

- - -
- -

Using Togl With Your Application

- -

- First, double check that you have all of the - prerequisites - and that you have - compiled and installed Togl. -

- Then, Togl acts like any other extension package — - to load it, you use the Tcl package command: -

- package require Togl 2.0 -
- After that, you can create a Togl widget just like any other Tk widget. - -

Examples

- -

- There are eight working examples: - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
double.tcl— compares single vs double buffering with two Togl widgets
texture.tcl— lets you play with texture mapping options
index.tcl— example of using color index mode
overlay.tcl— example of using overlay planes (requires overlay hardware)
stereo.tcl— stereo example
gears.tcl— spinning gears example
multisample.tcl— multisampling example
pbuffer.tcl— pbuffer (off-screen rendering) example
-
- -

- Each example consists of two files: a Tcl script for the user interface, - and a Tcl C package that does the OpenGL drawing. - To compile the examples, type make examples - in the Togl source directory. - The C packages are compiled into shared libraries - that are loaded into the Tcl interpreter as Tcl/Tk-extensions. - The examples are started by running the corrsponding Tcl script: - just type ./double.tcl - (or ./texture.tcl etc.) - or run under one of the Tcl interpreters, i.e., - tclsh or wish. - For example: -

- tclsh84 double.tcl -
- -

- Other examples that use Tcl for OpenGL drawing can be found in the - Tcl3D demos. - -

Togl callbacks

-

- All of the examples have similar structure. - First they create the user interface with one or more Togl widgets. - Each Togl widget is configured with the desired pixel format - and several callback commands (not all are needed): - - - - - - - - - - - - - - - - - - - - - - - - - -
-createcommand - Called when Togl widget is mapped — - when it is safe to initialize the OpenGL context. -
-reshapecommand - Called when the Togl widget is resized — - when the OpenGL context's viewport needs to be changed. -
-displaycommand - Called when the contents of the Togl widget needs to be redrawn. - Redraws are normally delayed to be when the Tcl event loop is idle - (see the togl widget's postredisplay command), - or as the result of an explict call to the togl's widgets - render command. -
-destroycommand - Called when the Togl widget is destroyed. - While OpenGL frees display lists and other resources, - sometimes there's some associated state that is no longer needed. -
-timercommand - Called every n milliseconds - as given by the -time option. -
-overlaydisplaycommand - Called when the overlay planes needs to be redrawn. - The overlay planes are created and reshaped - at the same time as the main OpenGL context. -
- - Typically, only -createcommand, -reshapecommand - and -displaycommand are used. - -


- - Get Togl at SourceForge.net. Fast, secure and Free Open Source software downloads - - - Valid HTML 4.01 Transitional - - - diff --git a/src/other/togl/include/CMakeLists.txt b/src/other/togl/include/CMakeLists.txt deleted file mode 100644 index f2f39b48b1a..00000000000 --- a/src/other/togl/include/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ -SET(TOGL_HDRS - togl.h - ${CMAKE_CURRENT_BINARY_DIR}/togl_config.h - ${CMAKE_CURRENT_BINARY_DIR}/../src/toglDecls.h - ) -install(FILES ${TOGL_HDRS} DESTINATION include/togl) -install(FILES GL/glew.h DESTINATION include/GL) -install(FILES GL/glu.h DESTINATION include/GL) diff --git a/src/other/togl/include/GL/glew.h b/src/other/togl/include/GL/glew.h deleted file mode 100644 index 3962f7c91f1..00000000000 --- a/src/other/togl/include/GL/glew.h +++ /dev/null @@ -1,17132 +0,0 @@ -/* -** The OpenGL Extension Wrangler Library -** Copyright (C) 2002-2008, Milan Ikits -** Copyright (C) 2002-2008, Marcelo E. Magallon -** Copyright (C) 2002, Lev Povalahev -** All rights reserved. -** -** Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are met: -** -** * Redistributions of source code must retain the above copyright notice, -** this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright notice, -** this list of conditions and the following disclaimer in the documentation -** and/or other materials provided with the distribution. -** * The name of the author may be used to endorse or promote products -** derived from this software without specific prior written permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF -** THE POSSIBILITY OF SUCH DAMAGE. -*/ - -/* - * Mesa 3-D graphics library - * Version: 7.0 - * - * Copyright (C) 1999-2007 Brian Paul All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included - * in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL - * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -/* -** Copyright (c) 2007 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ - -#ifndef __glew_h__ -#define __glew_h__ -#define __GLEW_H__ - -#if defined(__gl_h_) || defined(__GL_H__) || defined(__X_GL_H) -#error gl.h included before glew.h -#endif -#if defined(__REGAL_H__) -#error Regal.h included before glew.h -#endif -#if defined(__glext_h_) || defined(__GLEXT_H_) -#error glext.h included before glew.h -#endif -#if defined(__gl_ATI_h_) -#error glATI.h included before glew.h -#endif - -#define __gl_h_ -#define __GL_H__ -#define __REGAL_H__ -#define __X_GL_H -#define __glext_h_ -#define __GLEXT_H_ -#define __gl_ATI_h_ - -#if defined(_WIN32) - -/* - * GLEW does not include to avoid name space pollution. - * GL needs GLAPI and GLAPIENTRY, GLU needs APIENTRY, CALLBACK, and wchar_t - * defined properly. - */ -/* */ -#ifndef APIENTRY -#define GLEW_APIENTRY_DEFINED -# if defined(__MINGW32__) || defined(__CYGWIN__) -# define APIENTRY __stdcall -# elif (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__BORLANDC__) -# define APIENTRY __stdcall -# else -# define APIENTRY -# endif -#endif -#ifndef GLAPI -# if defined(__MINGW32__) || defined(__CYGWIN__) -# define GLAPI extern -# endif -#endif -/* */ -#ifndef CALLBACK -#define GLEW_CALLBACK_DEFINED -# if defined(__MINGW32__) || defined(__CYGWIN__) -# define CALLBACK __attribute__ ((__stdcall__)) -# elif (defined(_M_MRX000) || defined(_M_IX86) || defined(_M_ALPHA) || defined(_M_PPC)) && !defined(MIDL_PASS) -# define CALLBACK __stdcall -# else -# define CALLBACK -# endif -#endif -/* and */ -#ifndef WINGDIAPI -#define GLEW_WINGDIAPI_DEFINED -#define WINGDIAPI __declspec(dllimport) -#endif -/* */ -#if (defined(_MSC_VER) || defined(__BORLANDC__)) && !defined(_WCHAR_T_DEFINED) -typedef unsigned short wchar_t; -# define _WCHAR_T_DEFINED -#endif -/* */ -#if !defined(_W64) -# if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && defined(_MSC_VER) && _MSC_VER >= 1300 -# define _W64 __w64 -# else -# define _W64 -# endif -#endif -#if !defined(_PTRDIFF_T_DEFINED) && !defined(_PTRDIFF_T_) && !defined(__MINGW64__) -# ifdef _WIN64 -typedef __int64 ptrdiff_t; -# else -typedef _W64 int ptrdiff_t; -# endif -# define _PTRDIFF_T_DEFINED -# define _PTRDIFF_T_ -#endif - -#ifndef GLAPI -# if defined(__MINGW32__) || defined(__CYGWIN__) -# define GLAPI extern -# else -# define GLAPI WINGDIAPI -# endif -#endif - -#ifndef GLAPIENTRY -#define GLAPIENTRY APIENTRY -#endif - -#ifndef GLEWAPIENTRY -#define GLEWAPIENTRY APIENTRY -#endif - -/* - * GLEW_STATIC is defined for static library. - * GLEW_BUILD is defined for building the DLL library. - */ - -#ifdef GLEW_STATIC -# define GLEWAPI extern -#else -# ifdef GLEW_BUILD -# define GLEWAPI extern __declspec(dllexport) -# else -# define GLEWAPI extern __declspec(dllimport) -# endif -#endif - -#else /* _UNIX */ - -/* - * Needed for ptrdiff_t in turn needed by VBO. This is defined by ISO - * C. On my system, this amounts to _3 lines_ of included code, all of - * them pretty much harmless. If you know of a way of detecting 32 vs - * 64 _targets_ at compile time you are free to replace this with - * something that's portable. For now, _this_ is the portable solution. - * (mem, 2004-01-04) - */ - -#include - -/* SGI MIPSPro doesn't like stdint.h in C++ mode */ -/* ID: 3376260 Solaris 9 has inttypes.h, but not stdint.h */ - -#if (defined(__sgi) || defined(__sun)) && !defined(__GNUC__) -#include -#else -#include -#endif - -#define GLEW_APIENTRY_DEFINED -#define APIENTRY - -/* - * GLEW_STATIC is defined for static library. - */ - -#ifdef GLEW_STATIC -# define GLEWAPI extern -#else -# if defined(__GNUC__) && __GNUC__>=4 -# define GLEWAPI extern __attribute__ ((visibility("default"))) -# elif defined(__SUNPRO_C) || defined(__SUNPRO_CC) -# define GLEWAPI extern __global -# else -# define GLEWAPI extern -# endif -#endif - -/* */ -#ifndef GLAPI -#define GLAPI extern -#endif - -#ifndef GLAPIENTRY -#define GLAPIENTRY -#endif - -#ifndef GLEWAPIENTRY -#define GLEWAPIENTRY -#endif - -#endif /* _WIN32 */ - -#ifdef __cplusplus -extern "C" { -#endif - -/* ----------------------------- GL_VERSION_1_1 ---------------------------- */ - -#ifndef GL_VERSION_1_1 -#define GL_VERSION_1_1 1 - -typedef unsigned int GLenum; -typedef unsigned int GLbitfield; -typedef unsigned int GLuint; -typedef int GLint; -typedef int GLsizei; -typedef unsigned char GLboolean; -typedef signed char GLbyte; -typedef short GLshort; -typedef unsigned char GLubyte; -typedef unsigned short GLushort; -typedef unsigned long GLulong; -typedef float GLfloat; -typedef float GLclampf; -typedef double GLdouble; -typedef double GLclampd; -typedef void GLvoid; -#if defined(_MSC_VER) && _MSC_VER < 1400 -typedef __int64 GLint64EXT; -typedef unsigned __int64 GLuint64EXT; -#elif defined(_MSC_VER) || defined(__BORLANDC__) -typedef signed long long GLint64EXT; -typedef unsigned long long GLuint64EXT; -#else -# if defined(__MINGW32__) || defined(__CYGWIN__) -#include -# endif -typedef int64_t GLint64EXT; -typedef uint64_t GLuint64EXT; -#endif -typedef GLint64EXT GLint64; -typedef GLuint64EXT GLuint64; -typedef struct __GLsync *GLsync; - -typedef char GLchar; - -#define GL_ZERO 0 -#define GL_FALSE 0 -#define GL_LOGIC_OP 0x0BF1 -#define GL_NONE 0 -#define GL_TEXTURE_COMPONENTS 0x1003 -#define GL_NO_ERROR 0 -#define GL_POINTS 0x0000 -#define GL_CURRENT_BIT 0x00000001 -#define GL_TRUE 1 -#define GL_ONE 1 -#define GL_CLIENT_PIXEL_STORE_BIT 0x00000001 -#define GL_LINES 0x0001 -#define GL_LINE_LOOP 0x0002 -#define GL_POINT_BIT 0x00000002 -#define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002 -#define GL_LINE_STRIP 0x0003 -#define GL_LINE_BIT 0x00000004 -#define GL_TRIANGLES 0x0004 -#define GL_TRIANGLE_STRIP 0x0005 -#define GL_TRIANGLE_FAN 0x0006 -#define GL_QUADS 0x0007 -#define GL_QUAD_STRIP 0x0008 -#define GL_POLYGON_BIT 0x00000008 -#define GL_POLYGON 0x0009 -#define GL_POLYGON_STIPPLE_BIT 0x00000010 -#define GL_PIXEL_MODE_BIT 0x00000020 -#define GL_LIGHTING_BIT 0x00000040 -#define GL_FOG_BIT 0x00000080 -#define GL_DEPTH_BUFFER_BIT 0x00000100 -#define GL_ACCUM 0x0100 -#define GL_LOAD 0x0101 -#define GL_RETURN 0x0102 -#define GL_MULT 0x0103 -#define GL_ADD 0x0104 -#define GL_NEVER 0x0200 -#define GL_ACCUM_BUFFER_BIT 0x00000200 -#define GL_LESS 0x0201 -#define GL_EQUAL 0x0202 -#define GL_LEQUAL 0x0203 -#define GL_GREATER 0x0204 -#define GL_NOTEQUAL 0x0205 -#define GL_GEQUAL 0x0206 -#define GL_ALWAYS 0x0207 -#define GL_SRC_COLOR 0x0300 -#define GL_ONE_MINUS_SRC_COLOR 0x0301 -#define GL_SRC_ALPHA 0x0302 -#define GL_ONE_MINUS_SRC_ALPHA 0x0303 -#define GL_DST_ALPHA 0x0304 -#define GL_ONE_MINUS_DST_ALPHA 0x0305 -#define GL_DST_COLOR 0x0306 -#define GL_ONE_MINUS_DST_COLOR 0x0307 -#define GL_SRC_ALPHA_SATURATE 0x0308 -#define GL_STENCIL_BUFFER_BIT 0x00000400 -#define GL_FRONT_LEFT 0x0400 -#define GL_FRONT_RIGHT 0x0401 -#define GL_BACK_LEFT 0x0402 -#define GL_BACK_RIGHT 0x0403 -#define GL_FRONT 0x0404 -#define GL_BACK 0x0405 -#define GL_LEFT 0x0406 -#define GL_RIGHT 0x0407 -#define GL_FRONT_AND_BACK 0x0408 -#define GL_AUX0 0x0409 -#define GL_AUX1 0x040A -#define GL_AUX2 0x040B -#define GL_AUX3 0x040C -#define GL_INVALID_ENUM 0x0500 -#define GL_INVALID_VALUE 0x0501 -#define GL_INVALID_OPERATION 0x0502 -#define GL_STACK_OVERFLOW 0x0503 -#define GL_STACK_UNDERFLOW 0x0504 -#define GL_OUT_OF_MEMORY 0x0505 -#define GL_2D 0x0600 -#define GL_3D 0x0601 -#define GL_3D_COLOR 0x0602 -#define GL_3D_COLOR_TEXTURE 0x0603 -#define GL_4D_COLOR_TEXTURE 0x0604 -#define GL_PASS_THROUGH_TOKEN 0x0700 -#define GL_POINT_TOKEN 0x0701 -#define GL_LINE_TOKEN 0x0702 -#define GL_POLYGON_TOKEN 0x0703 -#define GL_BITMAP_TOKEN 0x0704 -#define GL_DRAW_PIXEL_TOKEN 0x0705 -#define GL_COPY_PIXEL_TOKEN 0x0706 -#define GL_LINE_RESET_TOKEN 0x0707 -#define GL_EXP 0x0800 -#define GL_VIEWPORT_BIT 0x00000800 -#define GL_EXP2 0x0801 -#define GL_CW 0x0900 -#define GL_CCW 0x0901 -#define GL_COEFF 0x0A00 -#define GL_ORDER 0x0A01 -#define GL_DOMAIN 0x0A02 -#define GL_CURRENT_COLOR 0x0B00 -#define GL_CURRENT_INDEX 0x0B01 -#define GL_CURRENT_NORMAL 0x0B02 -#define GL_CURRENT_TEXTURE_COORDS 0x0B03 -#define GL_CURRENT_RASTER_COLOR 0x0B04 -#define GL_CURRENT_RASTER_INDEX 0x0B05 -#define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06 -#define GL_CURRENT_RASTER_POSITION 0x0B07 -#define GL_CURRENT_RASTER_POSITION_VALID 0x0B08 -#define GL_CURRENT_RASTER_DISTANCE 0x0B09 -#define GL_POINT_SMOOTH 0x0B10 -#define GL_POINT_SIZE 0x0B11 -#define GL_POINT_SIZE_RANGE 0x0B12 -#define GL_POINT_SIZE_GRANULARITY 0x0B13 -#define GL_LINE_SMOOTH 0x0B20 -#define GL_LINE_WIDTH 0x0B21 -#define GL_LINE_WIDTH_RANGE 0x0B22 -#define GL_LINE_WIDTH_GRANULARITY 0x0B23 -#define GL_LINE_STIPPLE 0x0B24 -#define GL_LINE_STIPPLE_PATTERN 0x0B25 -#define GL_LINE_STIPPLE_REPEAT 0x0B26 -#define GL_LIST_MODE 0x0B30 -#define GL_MAX_LIST_NESTING 0x0B31 -#define GL_LIST_BASE 0x0B32 -#define GL_LIST_INDEX 0x0B33 -#define GL_POLYGON_MODE 0x0B40 -#define GL_POLYGON_SMOOTH 0x0B41 -#define GL_POLYGON_STIPPLE 0x0B42 -#define GL_EDGE_FLAG 0x0B43 -#define GL_CULL_FACE 0x0B44 -#define GL_CULL_FACE_MODE 0x0B45 -#define GL_FRONT_FACE 0x0B46 -#define GL_LIGHTING 0x0B50 -#define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51 -#define GL_LIGHT_MODEL_TWO_SIDE 0x0B52 -#define GL_LIGHT_MODEL_AMBIENT 0x0B53 -#define GL_SHADE_MODEL 0x0B54 -#define GL_COLOR_MATERIAL_FACE 0x0B55 -#define GL_COLOR_MATERIAL_PARAMETER 0x0B56 -#define GL_COLOR_MATERIAL 0x0B57 -#define GL_FOG 0x0B60 -#define GL_FOG_INDEX 0x0B61 -#define GL_FOG_DENSITY 0x0B62 -#define GL_FOG_START 0x0B63 -#define GL_FOG_END 0x0B64 -#define GL_FOG_MODE 0x0B65 -#define GL_FOG_COLOR 0x0B66 -#define GL_DEPTH_RANGE 0x0B70 -#define GL_DEPTH_TEST 0x0B71 -#define GL_DEPTH_WRITEMASK 0x0B72 -#define GL_DEPTH_CLEAR_VALUE 0x0B73 -#define GL_DEPTH_FUNC 0x0B74 -#define GL_ACCUM_CLEAR_VALUE 0x0B80 -#define GL_STENCIL_TEST 0x0B90 -#define GL_STENCIL_CLEAR_VALUE 0x0B91 -#define GL_STENCIL_FUNC 0x0B92 -#define GL_STENCIL_VALUE_MASK 0x0B93 -#define GL_STENCIL_FAIL 0x0B94 -#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 -#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 -#define GL_STENCIL_REF 0x0B97 -#define GL_STENCIL_WRITEMASK 0x0B98 -#define GL_MATRIX_MODE 0x0BA0 -#define GL_NORMALIZE 0x0BA1 -#define GL_VIEWPORT 0x0BA2 -#define GL_MODELVIEW_STACK_DEPTH 0x0BA3 -#define GL_PROJECTION_STACK_DEPTH 0x0BA4 -#define GL_TEXTURE_STACK_DEPTH 0x0BA5 -#define GL_MODELVIEW_MATRIX 0x0BA6 -#define GL_PROJECTION_MATRIX 0x0BA7 -#define GL_TEXTURE_MATRIX 0x0BA8 -#define GL_ATTRIB_STACK_DEPTH 0x0BB0 -#define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1 -#define GL_ALPHA_TEST 0x0BC0 -#define GL_ALPHA_TEST_FUNC 0x0BC1 -#define GL_ALPHA_TEST_REF 0x0BC2 -#define GL_DITHER 0x0BD0 -#define GL_BLEND_DST 0x0BE0 -#define GL_BLEND_SRC 0x0BE1 -#define GL_BLEND 0x0BE2 -#define GL_LOGIC_OP_MODE 0x0BF0 -#define GL_INDEX_LOGIC_OP 0x0BF1 -#define GL_COLOR_LOGIC_OP 0x0BF2 -#define GL_AUX_BUFFERS 0x0C00 -#define GL_DRAW_BUFFER 0x0C01 -#define GL_READ_BUFFER 0x0C02 -#define GL_SCISSOR_BOX 0x0C10 -#define GL_SCISSOR_TEST 0x0C11 -#define GL_INDEX_CLEAR_VALUE 0x0C20 -#define GL_INDEX_WRITEMASK 0x0C21 -#define GL_COLOR_CLEAR_VALUE 0x0C22 -#define GL_COLOR_WRITEMASK 0x0C23 -#define GL_INDEX_MODE 0x0C30 -#define GL_RGBA_MODE 0x0C31 -#define GL_DOUBLEBUFFER 0x0C32 -#define GL_STEREO 0x0C33 -#define GL_RENDER_MODE 0x0C40 -#define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 -#define GL_POINT_SMOOTH_HINT 0x0C51 -#define GL_LINE_SMOOTH_HINT 0x0C52 -#define GL_POLYGON_SMOOTH_HINT 0x0C53 -#define GL_FOG_HINT 0x0C54 -#define GL_TEXTURE_GEN_S 0x0C60 -#define GL_TEXTURE_GEN_T 0x0C61 -#define GL_TEXTURE_GEN_R 0x0C62 -#define GL_TEXTURE_GEN_Q 0x0C63 -#define GL_PIXEL_MAP_I_TO_I 0x0C70 -#define GL_PIXEL_MAP_S_TO_S 0x0C71 -#define GL_PIXEL_MAP_I_TO_R 0x0C72 -#define GL_PIXEL_MAP_I_TO_G 0x0C73 -#define GL_PIXEL_MAP_I_TO_B 0x0C74 -#define GL_PIXEL_MAP_I_TO_A 0x0C75 -#define GL_PIXEL_MAP_R_TO_R 0x0C76 -#define GL_PIXEL_MAP_G_TO_G 0x0C77 -#define GL_PIXEL_MAP_B_TO_B 0x0C78 -#define GL_PIXEL_MAP_A_TO_A 0x0C79 -#define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0 -#define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1 -#define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2 -#define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3 -#define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4 -#define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5 -#define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6 -#define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7 -#define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8 -#define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9 -#define GL_UNPACK_SWAP_BYTES 0x0CF0 -#define GL_UNPACK_LSB_FIRST 0x0CF1 -#define GL_UNPACK_ROW_LENGTH 0x0CF2 -#define GL_UNPACK_SKIP_ROWS 0x0CF3 -#define GL_UNPACK_SKIP_PIXELS 0x0CF4 -#define GL_UNPACK_ALIGNMENT 0x0CF5 -#define GL_PACK_SWAP_BYTES 0x0D00 -#define GL_PACK_LSB_FIRST 0x0D01 -#define GL_PACK_ROW_LENGTH 0x0D02 -#define GL_PACK_SKIP_ROWS 0x0D03 -#define GL_PACK_SKIP_PIXELS 0x0D04 -#define GL_PACK_ALIGNMENT 0x0D05 -#define GL_MAP_COLOR 0x0D10 -#define GL_MAP_STENCIL 0x0D11 -#define GL_INDEX_SHIFT 0x0D12 -#define GL_INDEX_OFFSET 0x0D13 -#define GL_RED_SCALE 0x0D14 -#define GL_RED_BIAS 0x0D15 -#define GL_ZOOM_X 0x0D16 -#define GL_ZOOM_Y 0x0D17 -#define GL_GREEN_SCALE 0x0D18 -#define GL_GREEN_BIAS 0x0D19 -#define GL_BLUE_SCALE 0x0D1A -#define GL_BLUE_BIAS 0x0D1B -#define GL_ALPHA_SCALE 0x0D1C -#define GL_ALPHA_BIAS 0x0D1D -#define GL_DEPTH_SCALE 0x0D1E -#define GL_DEPTH_BIAS 0x0D1F -#define GL_MAX_EVAL_ORDER 0x0D30 -#define GL_MAX_LIGHTS 0x0D31 -#define GL_MAX_CLIP_PLANES 0x0D32 -#define GL_MAX_TEXTURE_SIZE 0x0D33 -#define GL_MAX_PIXEL_MAP_TABLE 0x0D34 -#define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35 -#define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36 -#define GL_MAX_NAME_STACK_DEPTH 0x0D37 -#define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38 -#define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39 -#define GL_MAX_VIEWPORT_DIMS 0x0D3A -#define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B -#define GL_SUBPIXEL_BITS 0x0D50 -#define GL_INDEX_BITS 0x0D51 -#define GL_RED_BITS 0x0D52 -#define GL_GREEN_BITS 0x0D53 -#define GL_BLUE_BITS 0x0D54 -#define GL_ALPHA_BITS 0x0D55 -#define GL_DEPTH_BITS 0x0D56 -#define GL_STENCIL_BITS 0x0D57 -#define GL_ACCUM_RED_BITS 0x0D58 -#define GL_ACCUM_GREEN_BITS 0x0D59 -#define GL_ACCUM_BLUE_BITS 0x0D5A -#define GL_ACCUM_ALPHA_BITS 0x0D5B -#define GL_NAME_STACK_DEPTH 0x0D70 -#define GL_AUTO_NORMAL 0x0D80 -#define GL_MAP1_COLOR_4 0x0D90 -#define GL_MAP1_INDEX 0x0D91 -#define GL_MAP1_NORMAL 0x0D92 -#define GL_MAP1_TEXTURE_COORD_1 0x0D93 -#define GL_MAP1_TEXTURE_COORD_2 0x0D94 -#define GL_MAP1_TEXTURE_COORD_3 0x0D95 -#define GL_MAP1_TEXTURE_COORD_4 0x0D96 -#define GL_MAP1_VERTEX_3 0x0D97 -#define GL_MAP1_VERTEX_4 0x0D98 -#define GL_MAP2_COLOR_4 0x0DB0 -#define GL_MAP2_INDEX 0x0DB1 -#define GL_MAP2_NORMAL 0x0DB2 -#define GL_MAP2_TEXTURE_COORD_1 0x0DB3 -#define GL_MAP2_TEXTURE_COORD_2 0x0DB4 -#define GL_MAP2_TEXTURE_COORD_3 0x0DB5 -#define GL_MAP2_TEXTURE_COORD_4 0x0DB6 -#define GL_MAP2_VERTEX_3 0x0DB7 -#define GL_MAP2_VERTEX_4 0x0DB8 -#define GL_MAP1_GRID_DOMAIN 0x0DD0 -#define GL_MAP1_GRID_SEGMENTS 0x0DD1 -#define GL_MAP2_GRID_DOMAIN 0x0DD2 -#define GL_MAP2_GRID_SEGMENTS 0x0DD3 -#define GL_TEXTURE_1D 0x0DE0 -#define GL_TEXTURE_2D 0x0DE1 -#define GL_FEEDBACK_BUFFER_POINTER 0x0DF0 -#define GL_FEEDBACK_BUFFER_SIZE 0x0DF1 -#define GL_FEEDBACK_BUFFER_TYPE 0x0DF2 -#define GL_SELECTION_BUFFER_POINTER 0x0DF3 -#define GL_SELECTION_BUFFER_SIZE 0x0DF4 -#define GL_TEXTURE_WIDTH 0x1000 -#define GL_TRANSFORM_BIT 0x00001000 -#define GL_TEXTURE_HEIGHT 0x1001 -#define GL_TEXTURE_INTERNAL_FORMAT 0x1003 -#define GL_TEXTURE_BORDER_COLOR 0x1004 -#define GL_TEXTURE_BORDER 0x1005 -#define GL_DONT_CARE 0x1100 -#define GL_FASTEST 0x1101 -#define GL_NICEST 0x1102 -#define GL_AMBIENT 0x1200 -#define GL_DIFFUSE 0x1201 -#define GL_SPECULAR 0x1202 -#define GL_POSITION 0x1203 -#define GL_SPOT_DIRECTION 0x1204 -#define GL_SPOT_EXPONENT 0x1205 -#define GL_SPOT_CUTOFF 0x1206 -#define GL_CONSTANT_ATTENUATION 0x1207 -#define GL_LINEAR_ATTENUATION 0x1208 -#define GL_QUADRATIC_ATTENUATION 0x1209 -#define GL_COMPILE 0x1300 -#define GL_COMPILE_AND_EXECUTE 0x1301 -#define GL_BYTE 0x1400 -#define GL_UNSIGNED_BYTE 0x1401 -#define GL_SHORT 0x1402 -#define GL_UNSIGNED_SHORT 0x1403 -#define GL_INT 0x1404 -#define GL_UNSIGNED_INT 0x1405 -#define GL_FLOAT 0x1406 -#define GL_2_BYTES 0x1407 -#define GL_3_BYTES 0x1408 -#define GL_4_BYTES 0x1409 -#define GL_DOUBLE 0x140A -#define GL_CLEAR 0x1500 -#define GL_AND 0x1501 -#define GL_AND_REVERSE 0x1502 -#define GL_COPY 0x1503 -#define GL_AND_INVERTED 0x1504 -#define GL_NOOP 0x1505 -#define GL_XOR 0x1506 -#define GL_OR 0x1507 -#define GL_NOR 0x1508 -#define GL_EQUIV 0x1509 -#define GL_INVERT 0x150A -#define GL_OR_REVERSE 0x150B -#define GL_COPY_INVERTED 0x150C -#define GL_OR_INVERTED 0x150D -#define GL_NAND 0x150E -#define GL_SET 0x150F -#define GL_EMISSION 0x1600 -#define GL_SHININESS 0x1601 -#define GL_AMBIENT_AND_DIFFUSE 0x1602 -#define GL_COLOR_INDEXES 0x1603 -#define GL_MODELVIEW 0x1700 -#define GL_PROJECTION 0x1701 -#define GL_TEXTURE 0x1702 -#define GL_COLOR 0x1800 -#define GL_DEPTH 0x1801 -#define GL_STENCIL 0x1802 -#define GL_COLOR_INDEX 0x1900 -#define GL_STENCIL_INDEX 0x1901 -#define GL_DEPTH_COMPONENT 0x1902 -#define GL_RED 0x1903 -#define GL_GREEN 0x1904 -#define GL_BLUE 0x1905 -#define GL_ALPHA 0x1906 -#define GL_RGB 0x1907 -#define GL_RGBA 0x1908 -#define GL_LUMINANCE 0x1909 -#define GL_LUMINANCE_ALPHA 0x190A -#define GL_BITMAP 0x1A00 -#define GL_POINT 0x1B00 -#define GL_LINE 0x1B01 -#define GL_FILL 0x1B02 -#define GL_RENDER 0x1C00 -#define GL_FEEDBACK 0x1C01 -#define GL_SELECT 0x1C02 -#define GL_FLAT 0x1D00 -#define GL_SMOOTH 0x1D01 -#define GL_KEEP 0x1E00 -#define GL_REPLACE 0x1E01 -#define GL_INCR 0x1E02 -#define GL_DECR 0x1E03 -#define GL_VENDOR 0x1F00 -#define GL_RENDERER 0x1F01 -#define GL_VERSION 0x1F02 -#define GL_EXTENSIONS 0x1F03 -#define GL_S 0x2000 -#define GL_ENABLE_BIT 0x00002000 -#define GL_T 0x2001 -#define GL_R 0x2002 -#define GL_Q 0x2003 -#define GL_MODULATE 0x2100 -#define GL_DECAL 0x2101 -#define GL_TEXTURE_ENV_MODE 0x2200 -#define GL_TEXTURE_ENV_COLOR 0x2201 -#define GL_TEXTURE_ENV 0x2300 -#define GL_EYE_LINEAR 0x2400 -#define GL_OBJECT_LINEAR 0x2401 -#define GL_SPHERE_MAP 0x2402 -#define GL_TEXTURE_GEN_MODE 0x2500 -#define GL_OBJECT_PLANE 0x2501 -#define GL_EYE_PLANE 0x2502 -#define GL_NEAREST 0x2600 -#define GL_LINEAR 0x2601 -#define GL_NEAREST_MIPMAP_NEAREST 0x2700 -#define GL_LINEAR_MIPMAP_NEAREST 0x2701 -#define GL_NEAREST_MIPMAP_LINEAR 0x2702 -#define GL_LINEAR_MIPMAP_LINEAR 0x2703 -#define GL_TEXTURE_MAG_FILTER 0x2800 -#define GL_TEXTURE_MIN_FILTER 0x2801 -#define GL_TEXTURE_WRAP_S 0x2802 -#define GL_TEXTURE_WRAP_T 0x2803 -#define GL_CLAMP 0x2900 -#define GL_REPEAT 0x2901 -#define GL_POLYGON_OFFSET_UNITS 0x2A00 -#define GL_POLYGON_OFFSET_POINT 0x2A01 -#define GL_POLYGON_OFFSET_LINE 0x2A02 -#define GL_R3_G3_B2 0x2A10 -#define GL_V2F 0x2A20 -#define GL_V3F 0x2A21 -#define GL_C4UB_V2F 0x2A22 -#define GL_C4UB_V3F 0x2A23 -#define GL_C3F_V3F 0x2A24 -#define GL_N3F_V3F 0x2A25 -#define GL_C4F_N3F_V3F 0x2A26 -#define GL_T2F_V3F 0x2A27 -#define GL_T4F_V4F 0x2A28 -#define GL_T2F_C4UB_V3F 0x2A29 -#define GL_T2F_C3F_V3F 0x2A2A -#define GL_T2F_N3F_V3F 0x2A2B -#define GL_T2F_C4F_N3F_V3F 0x2A2C -#define GL_T4F_C4F_N3F_V4F 0x2A2D -#define GL_CLIP_PLANE0 0x3000 -#define GL_CLIP_PLANE1 0x3001 -#define GL_CLIP_PLANE2 0x3002 -#define GL_CLIP_PLANE3 0x3003 -#define GL_CLIP_PLANE4 0x3004 -#define GL_CLIP_PLANE5 0x3005 -#define GL_LIGHT0 0x4000 -#define GL_COLOR_BUFFER_BIT 0x00004000 -#define GL_LIGHT1 0x4001 -#define GL_LIGHT2 0x4002 -#define GL_LIGHT3 0x4003 -#define GL_LIGHT4 0x4004 -#define GL_LIGHT5 0x4005 -#define GL_LIGHT6 0x4006 -#define GL_LIGHT7 0x4007 -#define GL_HINT_BIT 0x00008000 -#define GL_POLYGON_OFFSET_FILL 0x8037 -#define GL_POLYGON_OFFSET_FACTOR 0x8038 -#define GL_ALPHA4 0x803B -#define GL_ALPHA8 0x803C -#define GL_ALPHA12 0x803D -#define GL_ALPHA16 0x803E -#define GL_LUMINANCE4 0x803F -#define GL_LUMINANCE8 0x8040 -#define GL_LUMINANCE12 0x8041 -#define GL_LUMINANCE16 0x8042 -#define GL_LUMINANCE4_ALPHA4 0x8043 -#define GL_LUMINANCE6_ALPHA2 0x8044 -#define GL_LUMINANCE8_ALPHA8 0x8045 -#define GL_LUMINANCE12_ALPHA4 0x8046 -#define GL_LUMINANCE12_ALPHA12 0x8047 -#define GL_LUMINANCE16_ALPHA16 0x8048 -#define GL_INTENSITY 0x8049 -#define GL_INTENSITY4 0x804A -#define GL_INTENSITY8 0x804B -#define GL_INTENSITY12 0x804C -#define GL_INTENSITY16 0x804D -#define GL_RGB4 0x804F -#define GL_RGB5 0x8050 -#define GL_RGB8 0x8051 -#define GL_RGB10 0x8052 -#define GL_RGB12 0x8053 -#define GL_RGB16 0x8054 -#define GL_RGBA2 0x8055 -#define GL_RGBA4 0x8056 -#define GL_RGB5_A1 0x8057 -#define GL_RGBA8 0x8058 -#define GL_RGB10_A2 0x8059 -#define GL_RGBA12 0x805A -#define GL_RGBA16 0x805B -#define GL_TEXTURE_RED_SIZE 0x805C -#define GL_TEXTURE_GREEN_SIZE 0x805D -#define GL_TEXTURE_BLUE_SIZE 0x805E -#define GL_TEXTURE_ALPHA_SIZE 0x805F -#define GL_TEXTURE_LUMINANCE_SIZE 0x8060 -#define GL_TEXTURE_INTENSITY_SIZE 0x8061 -#define GL_PROXY_TEXTURE_1D 0x8063 -#define GL_PROXY_TEXTURE_2D 0x8064 -#define GL_TEXTURE_PRIORITY 0x8066 -#define GL_TEXTURE_RESIDENT 0x8067 -#define GL_TEXTURE_BINDING_1D 0x8068 -#define GL_TEXTURE_BINDING_2D 0x8069 -#define GL_VERTEX_ARRAY 0x8074 -#define GL_NORMAL_ARRAY 0x8075 -#define GL_COLOR_ARRAY 0x8076 -#define GL_INDEX_ARRAY 0x8077 -#define GL_TEXTURE_COORD_ARRAY 0x8078 -#define GL_EDGE_FLAG_ARRAY 0x8079 -#define GL_VERTEX_ARRAY_SIZE 0x807A -#define GL_VERTEX_ARRAY_TYPE 0x807B -#define GL_VERTEX_ARRAY_STRIDE 0x807C -#define GL_NORMAL_ARRAY_TYPE 0x807E -#define GL_NORMAL_ARRAY_STRIDE 0x807F -#define GL_COLOR_ARRAY_SIZE 0x8081 -#define GL_COLOR_ARRAY_TYPE 0x8082 -#define GL_COLOR_ARRAY_STRIDE 0x8083 -#define GL_INDEX_ARRAY_TYPE 0x8085 -#define GL_INDEX_ARRAY_STRIDE 0x8086 -#define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088 -#define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089 -#define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A -#define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C -#define GL_VERTEX_ARRAY_POINTER 0x808E -#define GL_NORMAL_ARRAY_POINTER 0x808F -#define GL_COLOR_ARRAY_POINTER 0x8090 -#define GL_INDEX_ARRAY_POINTER 0x8091 -#define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092 -#define GL_EDGE_FLAG_ARRAY_POINTER 0x8093 -#define GL_COLOR_INDEX1_EXT 0x80E2 -#define GL_COLOR_INDEX2_EXT 0x80E3 -#define GL_COLOR_INDEX4_EXT 0x80E4 -#define GL_COLOR_INDEX8_EXT 0x80E5 -#define GL_COLOR_INDEX12_EXT 0x80E6 -#define GL_COLOR_INDEX16_EXT 0x80E7 -#define GL_EVAL_BIT 0x00010000 -#define GL_LIST_BIT 0x00020000 -#define GL_TEXTURE_BIT 0x00040000 -#define GL_SCISSOR_BIT 0x00080000 -#define GL_ALL_ATTRIB_BITS 0x000fffff -#define GL_CLIENT_ALL_ATTRIB_BITS 0xffffffff - -GLAPI void GLAPIENTRY glAccum (GLenum op, GLfloat value); -GLAPI void GLAPIENTRY glAlphaFunc (GLenum func, GLclampf ref); -GLAPI GLboolean GLAPIENTRY glAreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences); -GLAPI void GLAPIENTRY glArrayElement (GLint i); -GLAPI void GLAPIENTRY glBegin (GLenum mode); -GLAPI void GLAPIENTRY glBindTexture (GLenum target, GLuint texture); -GLAPI void GLAPIENTRY glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap); -GLAPI void GLAPIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); -GLAPI void GLAPIENTRY glCallList (GLuint list); -GLAPI void GLAPIENTRY glCallLists (GLsizei n, GLenum type, const GLvoid *lists); -GLAPI void GLAPIENTRY glClear (GLbitfield mask); -GLAPI void GLAPIENTRY glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -GLAPI void GLAPIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); -GLAPI void GLAPIENTRY glClearDepth (GLclampd depth); -GLAPI void GLAPIENTRY glClearIndex (GLfloat c); -GLAPI void GLAPIENTRY glClearStencil (GLint s); -GLAPI void GLAPIENTRY glClipPlane (GLenum plane, const GLdouble *equation); -GLAPI void GLAPIENTRY glColor3b (GLbyte red, GLbyte green, GLbyte blue); -GLAPI void GLAPIENTRY glColor3bv (const GLbyte *v); -GLAPI void GLAPIENTRY glColor3d (GLdouble red, GLdouble green, GLdouble blue); -GLAPI void GLAPIENTRY glColor3dv (const GLdouble *v); -GLAPI void GLAPIENTRY glColor3f (GLfloat red, GLfloat green, GLfloat blue); -GLAPI void GLAPIENTRY glColor3fv (const GLfloat *v); -GLAPI void GLAPIENTRY glColor3i (GLint red, GLint green, GLint blue); -GLAPI void GLAPIENTRY glColor3iv (const GLint *v); -GLAPI void GLAPIENTRY glColor3s (GLshort red, GLshort green, GLshort blue); -GLAPI void GLAPIENTRY glColor3sv (const GLshort *v); -GLAPI void GLAPIENTRY glColor3ub (GLubyte red, GLubyte green, GLubyte blue); -GLAPI void GLAPIENTRY glColor3ubv (const GLubyte *v); -GLAPI void GLAPIENTRY glColor3ui (GLuint red, GLuint green, GLuint blue); -GLAPI void GLAPIENTRY glColor3uiv (const GLuint *v); -GLAPI void GLAPIENTRY glColor3us (GLushort red, GLushort green, GLushort blue); -GLAPI void GLAPIENTRY glColor3usv (const GLushort *v); -GLAPI void GLAPIENTRY glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha); -GLAPI void GLAPIENTRY glColor4bv (const GLbyte *v); -GLAPI void GLAPIENTRY glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha); -GLAPI void GLAPIENTRY glColor4dv (const GLdouble *v); -GLAPI void GLAPIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -GLAPI void GLAPIENTRY glColor4fv (const GLfloat *v); -GLAPI void GLAPIENTRY glColor4i (GLint red, GLint green, GLint blue, GLint alpha); -GLAPI void GLAPIENTRY glColor4iv (const GLint *v); -GLAPI void GLAPIENTRY glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha); -GLAPI void GLAPIENTRY glColor4sv (const GLshort *v); -GLAPI void GLAPIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); -GLAPI void GLAPIENTRY glColor4ubv (const GLubyte *v); -GLAPI void GLAPIENTRY glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha); -GLAPI void GLAPIENTRY glColor4uiv (const GLuint *v); -GLAPI void GLAPIENTRY glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha); -GLAPI void GLAPIENTRY glColor4usv (const GLushort *v); -GLAPI void GLAPIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -GLAPI void GLAPIENTRY glColorMaterial (GLenum face, GLenum mode); -GLAPI void GLAPIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -GLAPI void GLAPIENTRY glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); -GLAPI void GLAPIENTRY glCopyTexImage1D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border); -GLAPI void GLAPIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -GLAPI void GLAPIENTRY glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -GLAPI void GLAPIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI void GLAPIENTRY glCullFace (GLenum mode); -GLAPI void GLAPIENTRY glDeleteLists (GLuint list, GLsizei range); -GLAPI void GLAPIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); -GLAPI void GLAPIENTRY glDepthFunc (GLenum func); -GLAPI void GLAPIENTRY glDepthMask (GLboolean flag); -GLAPI void GLAPIENTRY glDepthRange (GLclampd zNear, GLclampd zFar); -GLAPI void GLAPIENTRY glDisable (GLenum cap); -GLAPI void GLAPIENTRY glDisableClientState (GLenum array); -GLAPI void GLAPIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); -GLAPI void GLAPIENTRY glDrawBuffer (GLenum mode); -GLAPI void GLAPIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices); -GLAPI void GLAPIENTRY glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); -GLAPI void GLAPIENTRY glEdgeFlag (GLboolean flag); -GLAPI void GLAPIENTRY glEdgeFlagPointer (GLsizei stride, const GLvoid *pointer); -GLAPI void GLAPIENTRY glEdgeFlagv (const GLboolean *flag); -GLAPI void GLAPIENTRY glEnable (GLenum cap); -GLAPI void GLAPIENTRY glEnableClientState (GLenum array); -GLAPI void GLAPIENTRY glEnd (void); -GLAPI void GLAPIENTRY glEndList (void); -GLAPI void GLAPIENTRY glEvalCoord1d (GLdouble u); -GLAPI void GLAPIENTRY glEvalCoord1dv (const GLdouble *u); -GLAPI void GLAPIENTRY glEvalCoord1f (GLfloat u); -GLAPI void GLAPIENTRY glEvalCoord1fv (const GLfloat *u); -GLAPI void GLAPIENTRY glEvalCoord2d (GLdouble u, GLdouble v); -GLAPI void GLAPIENTRY glEvalCoord2dv (const GLdouble *u); -GLAPI void GLAPIENTRY glEvalCoord2f (GLfloat u, GLfloat v); -GLAPI void GLAPIENTRY glEvalCoord2fv (const GLfloat *u); -GLAPI void GLAPIENTRY glEvalMesh1 (GLenum mode, GLint i1, GLint i2); -GLAPI void GLAPIENTRY glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); -GLAPI void GLAPIENTRY glEvalPoint1 (GLint i); -GLAPI void GLAPIENTRY glEvalPoint2 (GLint i, GLint j); -GLAPI void GLAPIENTRY glFeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer); -GLAPI void GLAPIENTRY glFinish (void); -GLAPI void GLAPIENTRY glFlush (void); -GLAPI void GLAPIENTRY glFogf (GLenum pname, GLfloat param); -GLAPI void GLAPIENTRY glFogfv (GLenum pname, const GLfloat *params); -GLAPI void GLAPIENTRY glFogi (GLenum pname, GLint param); -GLAPI void GLAPIENTRY glFogiv (GLenum pname, const GLint *params); -GLAPI void GLAPIENTRY glFrontFace (GLenum mode); -GLAPI void GLAPIENTRY glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); -GLAPI GLuint GLAPIENTRY glGenLists (GLsizei range); -GLAPI void GLAPIENTRY glGenTextures (GLsizei n, GLuint *textures); -GLAPI void GLAPIENTRY glGetBooleanv (GLenum pname, GLboolean *params); -GLAPI void GLAPIENTRY glGetClipPlane (GLenum plane, GLdouble *equation); -GLAPI void GLAPIENTRY glGetDoublev (GLenum pname, GLdouble *params); -GLAPI GLenum GLAPIENTRY glGetError (void); -GLAPI void GLAPIENTRY glGetFloatv (GLenum pname, GLfloat *params); -GLAPI void GLAPIENTRY glGetIntegerv (GLenum pname, GLint *params); -GLAPI void GLAPIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params); -GLAPI void GLAPIENTRY glGetLightiv (GLenum light, GLenum pname, GLint *params); -GLAPI void GLAPIENTRY glGetMapdv (GLenum target, GLenum query, GLdouble *v); -GLAPI void GLAPIENTRY glGetMapfv (GLenum target, GLenum query, GLfloat *v); -GLAPI void GLAPIENTRY glGetMapiv (GLenum target, GLenum query, GLint *v); -GLAPI void GLAPIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params); -GLAPI void GLAPIENTRY glGetMaterialiv (GLenum face, GLenum pname, GLint *params); -GLAPI void GLAPIENTRY glGetPixelMapfv (GLenum map, GLfloat *values); -GLAPI void GLAPIENTRY glGetPixelMapuiv (GLenum map, GLuint *values); -GLAPI void GLAPIENTRY glGetPixelMapusv (GLenum map, GLushort *values); -GLAPI void GLAPIENTRY glGetPointerv (GLenum pname, GLvoid* *params); -GLAPI void GLAPIENTRY glGetPolygonStipple (GLubyte *mask); -GLAPI const GLubyte * GLAPIENTRY glGetString (GLenum name); -GLAPI void GLAPIENTRY glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params); -GLAPI void GLAPIENTRY glGetTexEnviv (GLenum target, GLenum pname, GLint *params); -GLAPI void GLAPIENTRY glGetTexGendv (GLenum coord, GLenum pname, GLdouble *params); -GLAPI void GLAPIENTRY glGetTexGenfv (GLenum coord, GLenum pname, GLfloat *params); -GLAPI void GLAPIENTRY glGetTexGeniv (GLenum coord, GLenum pname, GLint *params); -GLAPI void GLAPIENTRY glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels); -GLAPI void GLAPIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params); -GLAPI void GLAPIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params); -GLAPI void GLAPIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); -GLAPI void GLAPIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); -GLAPI void GLAPIENTRY glHint (GLenum target, GLenum mode); -GLAPI void GLAPIENTRY glIndexMask (GLuint mask); -GLAPI void GLAPIENTRY glIndexPointer (GLenum type, GLsizei stride, const GLvoid *pointer); -GLAPI void GLAPIENTRY glIndexd (GLdouble c); -GLAPI void GLAPIENTRY glIndexdv (const GLdouble *c); -GLAPI void GLAPIENTRY glIndexf (GLfloat c); -GLAPI void GLAPIENTRY glIndexfv (const GLfloat *c); -GLAPI void GLAPIENTRY glIndexi (GLint c); -GLAPI void GLAPIENTRY glIndexiv (const GLint *c); -GLAPI void GLAPIENTRY glIndexs (GLshort c); -GLAPI void GLAPIENTRY glIndexsv (const GLshort *c); -GLAPI void GLAPIENTRY glIndexub (GLubyte c); -GLAPI void GLAPIENTRY glIndexubv (const GLubyte *c); -GLAPI void GLAPIENTRY glInitNames (void); -GLAPI void GLAPIENTRY glInterleavedArrays (GLenum format, GLsizei stride, const GLvoid *pointer); -GLAPI GLboolean GLAPIENTRY glIsEnabled (GLenum cap); -GLAPI GLboolean GLAPIENTRY glIsList (GLuint list); -GLAPI GLboolean GLAPIENTRY glIsTexture (GLuint texture); -GLAPI void GLAPIENTRY glLightModelf (GLenum pname, GLfloat param); -GLAPI void GLAPIENTRY glLightModelfv (GLenum pname, const GLfloat *params); -GLAPI void GLAPIENTRY glLightModeli (GLenum pname, GLint param); -GLAPI void GLAPIENTRY glLightModeliv (GLenum pname, const GLint *params); -GLAPI void GLAPIENTRY glLightf (GLenum light, GLenum pname, GLfloat param); -GLAPI void GLAPIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params); -GLAPI void GLAPIENTRY glLighti (GLenum light, GLenum pname, GLint param); -GLAPI void GLAPIENTRY glLightiv (GLenum light, GLenum pname, const GLint *params); -GLAPI void GLAPIENTRY glLineStipple (GLint factor, GLushort pattern); -GLAPI void GLAPIENTRY glLineWidth (GLfloat width); -GLAPI void GLAPIENTRY glListBase (GLuint base); -GLAPI void GLAPIENTRY glLoadIdentity (void); -GLAPI void GLAPIENTRY glLoadMatrixd (const GLdouble *m); -GLAPI void GLAPIENTRY glLoadMatrixf (const GLfloat *m); -GLAPI void GLAPIENTRY glLoadName (GLuint name); -GLAPI void GLAPIENTRY glLogicOp (GLenum opcode); -GLAPI void GLAPIENTRY glMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points); -GLAPI void GLAPIENTRY glMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points); -GLAPI void GLAPIENTRY glMap2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points); -GLAPI void GLAPIENTRY glMap2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points); -GLAPI void GLAPIENTRY glMapGrid1d (GLint un, GLdouble u1, GLdouble u2); -GLAPI void GLAPIENTRY glMapGrid1f (GLint un, GLfloat u1, GLfloat u2); -GLAPI void GLAPIENTRY glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); -GLAPI void GLAPIENTRY glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); -GLAPI void GLAPIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param); -GLAPI void GLAPIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params); -GLAPI void GLAPIENTRY glMateriali (GLenum face, GLenum pname, GLint param); -GLAPI void GLAPIENTRY glMaterialiv (GLenum face, GLenum pname, const GLint *params); -GLAPI void GLAPIENTRY glMatrixMode (GLenum mode); -GLAPI void GLAPIENTRY glMultMatrixd (const GLdouble *m); -GLAPI void GLAPIENTRY glMultMatrixf (const GLfloat *m); -GLAPI void GLAPIENTRY glNewList (GLuint list, GLenum mode); -GLAPI void GLAPIENTRY glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz); -GLAPI void GLAPIENTRY glNormal3bv (const GLbyte *v); -GLAPI void GLAPIENTRY glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz); -GLAPI void GLAPIENTRY glNormal3dv (const GLdouble *v); -GLAPI void GLAPIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz); -GLAPI void GLAPIENTRY glNormal3fv (const GLfloat *v); -GLAPI void GLAPIENTRY glNormal3i (GLint nx, GLint ny, GLint nz); -GLAPI void GLAPIENTRY glNormal3iv (const GLint *v); -GLAPI void GLAPIENTRY glNormal3s (GLshort nx, GLshort ny, GLshort nz); -GLAPI void GLAPIENTRY glNormal3sv (const GLshort *v); -GLAPI void GLAPIENTRY glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer); -GLAPI void GLAPIENTRY glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); -GLAPI void GLAPIENTRY glPassThrough (GLfloat token); -GLAPI void GLAPIENTRY glPixelMapfv (GLenum map, GLsizei mapsize, const GLfloat *values); -GLAPI void GLAPIENTRY glPixelMapuiv (GLenum map, GLsizei mapsize, const GLuint *values); -GLAPI void GLAPIENTRY glPixelMapusv (GLenum map, GLsizei mapsize, const GLushort *values); -GLAPI void GLAPIENTRY glPixelStoref (GLenum pname, GLfloat param); -GLAPI void GLAPIENTRY glPixelStorei (GLenum pname, GLint param); -GLAPI void GLAPIENTRY glPixelTransferf (GLenum pname, GLfloat param); -GLAPI void GLAPIENTRY glPixelTransferi (GLenum pname, GLint param); -GLAPI void GLAPIENTRY glPixelZoom (GLfloat xfactor, GLfloat yfactor); -GLAPI void GLAPIENTRY glPointSize (GLfloat size); -GLAPI void GLAPIENTRY glPolygonMode (GLenum face, GLenum mode); -GLAPI void GLAPIENTRY glPolygonOffset (GLfloat factor, GLfloat units); -GLAPI void GLAPIENTRY glPolygonStipple (const GLubyte *mask); -GLAPI void GLAPIENTRY glPopAttrib (void); -GLAPI void GLAPIENTRY glPopClientAttrib (void); -GLAPI void GLAPIENTRY glPopMatrix (void); -GLAPI void GLAPIENTRY glPopName (void); -GLAPI void GLAPIENTRY glPrioritizeTextures (GLsizei n, const GLuint *textures, const GLclampf *priorities); -GLAPI void GLAPIENTRY glPushAttrib (GLbitfield mask); -GLAPI void GLAPIENTRY glPushClientAttrib (GLbitfield mask); -GLAPI void GLAPIENTRY glPushMatrix (void); -GLAPI void GLAPIENTRY glPushName (GLuint name); -GLAPI void GLAPIENTRY glRasterPos2d (GLdouble x, GLdouble y); -GLAPI void GLAPIENTRY glRasterPos2dv (const GLdouble *v); -GLAPI void GLAPIENTRY glRasterPos2f (GLfloat x, GLfloat y); -GLAPI void GLAPIENTRY glRasterPos2fv (const GLfloat *v); -GLAPI void GLAPIENTRY glRasterPos2i (GLint x, GLint y); -GLAPI void GLAPIENTRY glRasterPos2iv (const GLint *v); -GLAPI void GLAPIENTRY glRasterPos2s (GLshort x, GLshort y); -GLAPI void GLAPIENTRY glRasterPos2sv (const GLshort *v); -GLAPI void GLAPIENTRY glRasterPos3d (GLdouble x, GLdouble y, GLdouble z); -GLAPI void GLAPIENTRY glRasterPos3dv (const GLdouble *v); -GLAPI void GLAPIENTRY glRasterPos3f (GLfloat x, GLfloat y, GLfloat z); -GLAPI void GLAPIENTRY glRasterPos3fv (const GLfloat *v); -GLAPI void GLAPIENTRY glRasterPos3i (GLint x, GLint y, GLint z); -GLAPI void GLAPIENTRY glRasterPos3iv (const GLint *v); -GLAPI void GLAPIENTRY glRasterPos3s (GLshort x, GLshort y, GLshort z); -GLAPI void GLAPIENTRY glRasterPos3sv (const GLshort *v); -GLAPI void GLAPIENTRY glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI void GLAPIENTRY glRasterPos4dv (const GLdouble *v); -GLAPI void GLAPIENTRY glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GLAPI void GLAPIENTRY glRasterPos4fv (const GLfloat *v); -GLAPI void GLAPIENTRY glRasterPos4i (GLint x, GLint y, GLint z, GLint w); -GLAPI void GLAPIENTRY glRasterPos4iv (const GLint *v); -GLAPI void GLAPIENTRY glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w); -GLAPI void GLAPIENTRY glRasterPos4sv (const GLshort *v); -GLAPI void GLAPIENTRY glReadBuffer (GLenum mode); -GLAPI void GLAPIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels); -GLAPI void GLAPIENTRY glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2); -GLAPI void GLAPIENTRY glRectdv (const GLdouble *v1, const GLdouble *v2); -GLAPI void GLAPIENTRY glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); -GLAPI void GLAPIENTRY glRectfv (const GLfloat *v1, const GLfloat *v2); -GLAPI void GLAPIENTRY glRecti (GLint x1, GLint y1, GLint x2, GLint y2); -GLAPI void GLAPIENTRY glRectiv (const GLint *v1, const GLint *v2); -GLAPI void GLAPIENTRY glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2); -GLAPI void GLAPIENTRY glRectsv (const GLshort *v1, const GLshort *v2); -GLAPI GLint GLAPIENTRY glRenderMode (GLenum mode); -GLAPI void GLAPIENTRY glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z); -GLAPI void GLAPIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z); -GLAPI void GLAPIENTRY glScaled (GLdouble x, GLdouble y, GLdouble z); -GLAPI void GLAPIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z); -GLAPI void GLAPIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI void GLAPIENTRY glSelectBuffer (GLsizei size, GLuint *buffer); -GLAPI void GLAPIENTRY glShadeModel (GLenum mode); -GLAPI void GLAPIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); -GLAPI void GLAPIENTRY glStencilMask (GLuint mask); -GLAPI void GLAPIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); -GLAPI void GLAPIENTRY glTexCoord1d (GLdouble s); -GLAPI void GLAPIENTRY glTexCoord1dv (const GLdouble *v); -GLAPI void GLAPIENTRY glTexCoord1f (GLfloat s); -GLAPI void GLAPIENTRY glTexCoord1fv (const GLfloat *v); -GLAPI void GLAPIENTRY glTexCoord1i (GLint s); -GLAPI void GLAPIENTRY glTexCoord1iv (const GLint *v); -GLAPI void GLAPIENTRY glTexCoord1s (GLshort s); -GLAPI void GLAPIENTRY glTexCoord1sv (const GLshort *v); -GLAPI void GLAPIENTRY glTexCoord2d (GLdouble s, GLdouble t); -GLAPI void GLAPIENTRY glTexCoord2dv (const GLdouble *v); -GLAPI void GLAPIENTRY glTexCoord2f (GLfloat s, GLfloat t); -GLAPI void GLAPIENTRY glTexCoord2fv (const GLfloat *v); -GLAPI void GLAPIENTRY glTexCoord2i (GLint s, GLint t); -GLAPI void GLAPIENTRY glTexCoord2iv (const GLint *v); -GLAPI void GLAPIENTRY glTexCoord2s (GLshort s, GLshort t); -GLAPI void GLAPIENTRY glTexCoord2sv (const GLshort *v); -GLAPI void GLAPIENTRY glTexCoord3d (GLdouble s, GLdouble t, GLdouble r); -GLAPI void GLAPIENTRY glTexCoord3dv (const GLdouble *v); -GLAPI void GLAPIENTRY glTexCoord3f (GLfloat s, GLfloat t, GLfloat r); -GLAPI void GLAPIENTRY glTexCoord3fv (const GLfloat *v); -GLAPI void GLAPIENTRY glTexCoord3i (GLint s, GLint t, GLint r); -GLAPI void GLAPIENTRY glTexCoord3iv (const GLint *v); -GLAPI void GLAPIENTRY glTexCoord3s (GLshort s, GLshort t, GLshort r); -GLAPI void GLAPIENTRY glTexCoord3sv (const GLshort *v); -GLAPI void GLAPIENTRY glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q); -GLAPI void GLAPIENTRY glTexCoord4dv (const GLdouble *v); -GLAPI void GLAPIENTRY glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q); -GLAPI void GLAPIENTRY glTexCoord4fv (const GLfloat *v); -GLAPI void GLAPIENTRY glTexCoord4i (GLint s, GLint t, GLint r, GLint q); -GLAPI void GLAPIENTRY glTexCoord4iv (const GLint *v); -GLAPI void GLAPIENTRY glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q); -GLAPI void GLAPIENTRY glTexCoord4sv (const GLshort *v); -GLAPI void GLAPIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -GLAPI void GLAPIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param); -GLAPI void GLAPIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params); -GLAPI void GLAPIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param); -GLAPI void GLAPIENTRY glTexEnviv (GLenum target, GLenum pname, const GLint *params); -GLAPI void GLAPIENTRY glTexGend (GLenum coord, GLenum pname, GLdouble param); -GLAPI void GLAPIENTRY glTexGendv (GLenum coord, GLenum pname, const GLdouble *params); -GLAPI void GLAPIENTRY glTexGenf (GLenum coord, GLenum pname, GLfloat param); -GLAPI void GLAPIENTRY glTexGenfv (GLenum coord, GLenum pname, const GLfloat *params); -GLAPI void GLAPIENTRY glTexGeni (GLenum coord, GLenum pname, GLint param); -GLAPI void GLAPIENTRY glTexGeniv (GLenum coord, GLenum pname, const GLint *params); -GLAPI void GLAPIENTRY glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -GLAPI void GLAPIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -GLAPI void GLAPIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); -GLAPI void GLAPIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); -GLAPI void GLAPIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); -GLAPI void GLAPIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); -GLAPI void GLAPIENTRY glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); -GLAPI void GLAPIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); -GLAPI void GLAPIENTRY glTranslated (GLdouble x, GLdouble y, GLdouble z); -GLAPI void GLAPIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z); -GLAPI void GLAPIENTRY glVertex2d (GLdouble x, GLdouble y); -GLAPI void GLAPIENTRY glVertex2dv (const GLdouble *v); -GLAPI void GLAPIENTRY glVertex2f (GLfloat x, GLfloat y); -GLAPI void GLAPIENTRY glVertex2fv (const GLfloat *v); -GLAPI void GLAPIENTRY glVertex2i (GLint x, GLint y); -GLAPI void GLAPIENTRY glVertex2iv (const GLint *v); -GLAPI void GLAPIENTRY glVertex2s (GLshort x, GLshort y); -GLAPI void GLAPIENTRY glVertex2sv (const GLshort *v); -GLAPI void GLAPIENTRY glVertex3d (GLdouble x, GLdouble y, GLdouble z); -GLAPI void GLAPIENTRY glVertex3dv (const GLdouble *v); -GLAPI void GLAPIENTRY glVertex3f (GLfloat x, GLfloat y, GLfloat z); -GLAPI void GLAPIENTRY glVertex3fv (const GLfloat *v); -GLAPI void GLAPIENTRY glVertex3i (GLint x, GLint y, GLint z); -GLAPI void GLAPIENTRY glVertex3iv (const GLint *v); -GLAPI void GLAPIENTRY glVertex3s (GLshort x, GLshort y, GLshort z); -GLAPI void GLAPIENTRY glVertex3sv (const GLshort *v); -GLAPI void GLAPIENTRY glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI void GLAPIENTRY glVertex4dv (const GLdouble *v); -GLAPI void GLAPIENTRY glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GLAPI void GLAPIENTRY glVertex4fv (const GLfloat *v); -GLAPI void GLAPIENTRY glVertex4i (GLint x, GLint y, GLint z, GLint w); -GLAPI void GLAPIENTRY glVertex4iv (const GLint *v); -GLAPI void GLAPIENTRY glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w); -GLAPI void GLAPIENTRY glVertex4sv (const GLshort *v); -GLAPI void GLAPIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -GLAPI void GLAPIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); - -#define GLEW_VERSION_1_1 GLEW_GET_VAR(__GLEW_VERSION_1_1) - -#endif /* GL_VERSION_1_1 */ - -/* ---------------------------------- GLU ---------------------------------- */ - -#ifndef GLEW_NO_GLU -/* this is where we can safely include GLU */ -# if defined(__APPLE__) && defined(__MACH__) -# include -# else -# include -# endif -#endif - -/* ----------------------------- GL_VERSION_1_2 ---------------------------- */ - -#ifndef GL_VERSION_1_2 -#define GL_VERSION_1_2 1 - -#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 -#define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 -#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 -#define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 -#define GL_UNSIGNED_BYTE_3_3_2 0x8032 -#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 -#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 -#define GL_UNSIGNED_INT_8_8_8_8 0x8035 -#define GL_UNSIGNED_INT_10_10_10_2 0x8036 -#define GL_RESCALE_NORMAL 0x803A -#define GL_TEXTURE_BINDING_3D 0x806A -#define GL_PACK_SKIP_IMAGES 0x806B -#define GL_PACK_IMAGE_HEIGHT 0x806C -#define GL_UNPACK_SKIP_IMAGES 0x806D -#define GL_UNPACK_IMAGE_HEIGHT 0x806E -#define GL_TEXTURE_3D 0x806F -#define GL_PROXY_TEXTURE_3D 0x8070 -#define GL_TEXTURE_DEPTH 0x8071 -#define GL_TEXTURE_WRAP_R 0x8072 -#define GL_MAX_3D_TEXTURE_SIZE 0x8073 -#define GL_BGR 0x80E0 -#define GL_BGRA 0x80E1 -#define GL_MAX_ELEMENTS_VERTICES 0x80E8 -#define GL_MAX_ELEMENTS_INDICES 0x80E9 -#define GL_CLAMP_TO_EDGE 0x812F -#define GL_TEXTURE_MIN_LOD 0x813A -#define GL_TEXTURE_MAX_LOD 0x813B -#define GL_TEXTURE_BASE_LEVEL 0x813C -#define GL_TEXTURE_MAX_LEVEL 0x813D -#define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 -#define GL_SINGLE_COLOR 0x81F9 -#define GL_SEPARATE_SPECULAR_COLOR 0x81FA -#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 -#define GL_UNSIGNED_SHORT_5_6_5 0x8363 -#define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 -#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 -#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 -#define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 -#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 -#define GL_ALIASED_POINT_SIZE_RANGE 0x846D -#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E - -typedef void (GLAPIENTRY * PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GLAPIENTRY * PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); -typedef void (GLAPIENTRY * PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (GLAPIENTRY * PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); - -#define glCopyTexSubImage3D GLEW_GET_FUN(__glewCopyTexSubImage3D) -#define glDrawRangeElements GLEW_GET_FUN(__glewDrawRangeElements) -#define glTexImage3D GLEW_GET_FUN(__glewTexImage3D) -#define glTexSubImage3D GLEW_GET_FUN(__glewTexSubImage3D) - -#define GLEW_VERSION_1_2 GLEW_GET_VAR(__GLEW_VERSION_1_2) - -#endif /* GL_VERSION_1_2 */ - -/* ---------------------------- GL_VERSION_1_2_1 --------------------------- */ - -#ifndef GL_VERSION_1_2_1 -#define GL_VERSION_1_2_1 1 - -#define GLEW_VERSION_1_2_1 GLEW_GET_VAR(__GLEW_VERSION_1_2_1) - -#endif /* GL_VERSION_1_2_1 */ - -/* ----------------------------- GL_VERSION_1_3 ---------------------------- */ - -#ifndef GL_VERSION_1_3 -#define GL_VERSION_1_3 1 - -#define GL_MULTISAMPLE 0x809D -#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E -#define GL_SAMPLE_ALPHA_TO_ONE 0x809F -#define GL_SAMPLE_COVERAGE 0x80A0 -#define GL_SAMPLE_BUFFERS 0x80A8 -#define GL_SAMPLES 0x80A9 -#define GL_SAMPLE_COVERAGE_VALUE 0x80AA -#define GL_SAMPLE_COVERAGE_INVERT 0x80AB -#define GL_CLAMP_TO_BORDER 0x812D -#define GL_TEXTURE0 0x84C0 -#define GL_TEXTURE1 0x84C1 -#define GL_TEXTURE2 0x84C2 -#define GL_TEXTURE3 0x84C3 -#define GL_TEXTURE4 0x84C4 -#define GL_TEXTURE5 0x84C5 -#define GL_TEXTURE6 0x84C6 -#define GL_TEXTURE7 0x84C7 -#define GL_TEXTURE8 0x84C8 -#define GL_TEXTURE9 0x84C9 -#define GL_TEXTURE10 0x84CA -#define GL_TEXTURE11 0x84CB -#define GL_TEXTURE12 0x84CC -#define GL_TEXTURE13 0x84CD -#define GL_TEXTURE14 0x84CE -#define GL_TEXTURE15 0x84CF -#define GL_TEXTURE16 0x84D0 -#define GL_TEXTURE17 0x84D1 -#define GL_TEXTURE18 0x84D2 -#define GL_TEXTURE19 0x84D3 -#define GL_TEXTURE20 0x84D4 -#define GL_TEXTURE21 0x84D5 -#define GL_TEXTURE22 0x84D6 -#define GL_TEXTURE23 0x84D7 -#define GL_TEXTURE24 0x84D8 -#define GL_TEXTURE25 0x84D9 -#define GL_TEXTURE26 0x84DA -#define GL_TEXTURE27 0x84DB -#define GL_TEXTURE28 0x84DC -#define GL_TEXTURE29 0x84DD -#define GL_TEXTURE30 0x84DE -#define GL_TEXTURE31 0x84DF -#define GL_ACTIVE_TEXTURE 0x84E0 -#define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 -#define GL_MAX_TEXTURE_UNITS 0x84E2 -#define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3 -#define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4 -#define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5 -#define GL_TRANSPOSE_COLOR_MATRIX 0x84E6 -#define GL_SUBTRACT 0x84E7 -#define GL_COMPRESSED_ALPHA 0x84E9 -#define GL_COMPRESSED_LUMINANCE 0x84EA -#define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB -#define GL_COMPRESSED_INTENSITY 0x84EC -#define GL_COMPRESSED_RGB 0x84ED -#define GL_COMPRESSED_RGBA 0x84EE -#define GL_TEXTURE_COMPRESSION_HINT 0x84EF -#define GL_NORMAL_MAP 0x8511 -#define GL_REFLECTION_MAP 0x8512 -#define GL_TEXTURE_CUBE_MAP 0x8513 -#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A -#define GL_PROXY_TEXTURE_CUBE_MAP 0x851B -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C -#define GL_COMBINE 0x8570 -#define GL_COMBINE_RGB 0x8571 -#define GL_COMBINE_ALPHA 0x8572 -#define GL_RGB_SCALE 0x8573 -#define GL_ADD_SIGNED 0x8574 -#define GL_INTERPOLATE 0x8575 -#define GL_CONSTANT 0x8576 -#define GL_PRIMARY_COLOR 0x8577 -#define GL_PREVIOUS 0x8578 -#define GL_SOURCE0_RGB 0x8580 -#define GL_SOURCE1_RGB 0x8581 -#define GL_SOURCE2_RGB 0x8582 -#define GL_SOURCE0_ALPHA 0x8588 -#define GL_SOURCE1_ALPHA 0x8589 -#define GL_SOURCE2_ALPHA 0x858A -#define GL_OPERAND0_RGB 0x8590 -#define GL_OPERAND1_RGB 0x8591 -#define GL_OPERAND2_RGB 0x8592 -#define GL_OPERAND0_ALPHA 0x8598 -#define GL_OPERAND1_ALPHA 0x8599 -#define GL_OPERAND2_ALPHA 0x859A -#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 -#define GL_TEXTURE_COMPRESSED 0x86A1 -#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 -#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 -#define GL_DOT3_RGB 0x86AE -#define GL_DOT3_RGBA 0x86AF -#define GL_MULTISAMPLE_BIT 0x20000000 - -typedef void (GLAPIENTRY * PFNGLACTIVETEXTUREPROC) (GLenum texture); -typedef void (GLAPIENTRY * PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture); -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (GLAPIENTRY * PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLvoid *img); -typedef void (GLAPIENTRY * PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble m[16]); -typedef void (GLAPIENTRY * PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat m[16]); -typedef void (GLAPIENTRY * PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble m[16]); -typedef void (GLAPIENTRY * PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat m[16]); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v); -typedef void (GLAPIENTRY * PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert); - -#define glActiveTexture GLEW_GET_FUN(__glewActiveTexture) -#define glClientActiveTexture GLEW_GET_FUN(__glewClientActiveTexture) -#define glCompressedTexImage1D GLEW_GET_FUN(__glewCompressedTexImage1D) -#define glCompressedTexImage2D GLEW_GET_FUN(__glewCompressedTexImage2D) -#define glCompressedTexImage3D GLEW_GET_FUN(__glewCompressedTexImage3D) -#define glCompressedTexSubImage1D GLEW_GET_FUN(__glewCompressedTexSubImage1D) -#define glCompressedTexSubImage2D GLEW_GET_FUN(__glewCompressedTexSubImage2D) -#define glCompressedTexSubImage3D GLEW_GET_FUN(__glewCompressedTexSubImage3D) -#define glGetCompressedTexImage GLEW_GET_FUN(__glewGetCompressedTexImage) -#define glLoadTransposeMatrixd GLEW_GET_FUN(__glewLoadTransposeMatrixd) -#define glLoadTransposeMatrixf GLEW_GET_FUN(__glewLoadTransposeMatrixf) -#define glMultTransposeMatrixd GLEW_GET_FUN(__glewMultTransposeMatrixd) -#define glMultTransposeMatrixf GLEW_GET_FUN(__glewMultTransposeMatrixf) -#define glMultiTexCoord1d GLEW_GET_FUN(__glewMultiTexCoord1d) -#define glMultiTexCoord1dv GLEW_GET_FUN(__glewMultiTexCoord1dv) -#define glMultiTexCoord1f GLEW_GET_FUN(__glewMultiTexCoord1f) -#define glMultiTexCoord1fv GLEW_GET_FUN(__glewMultiTexCoord1fv) -#define glMultiTexCoord1i GLEW_GET_FUN(__glewMultiTexCoord1i) -#define glMultiTexCoord1iv GLEW_GET_FUN(__glewMultiTexCoord1iv) -#define glMultiTexCoord1s GLEW_GET_FUN(__glewMultiTexCoord1s) -#define glMultiTexCoord1sv GLEW_GET_FUN(__glewMultiTexCoord1sv) -#define glMultiTexCoord2d GLEW_GET_FUN(__glewMultiTexCoord2d) -#define glMultiTexCoord2dv GLEW_GET_FUN(__glewMultiTexCoord2dv) -#define glMultiTexCoord2f GLEW_GET_FUN(__glewMultiTexCoord2f) -#define glMultiTexCoord2fv GLEW_GET_FUN(__glewMultiTexCoord2fv) -#define glMultiTexCoord2i GLEW_GET_FUN(__glewMultiTexCoord2i) -#define glMultiTexCoord2iv GLEW_GET_FUN(__glewMultiTexCoord2iv) -#define glMultiTexCoord2s GLEW_GET_FUN(__glewMultiTexCoord2s) -#define glMultiTexCoord2sv GLEW_GET_FUN(__glewMultiTexCoord2sv) -#define glMultiTexCoord3d GLEW_GET_FUN(__glewMultiTexCoord3d) -#define glMultiTexCoord3dv GLEW_GET_FUN(__glewMultiTexCoord3dv) -#define glMultiTexCoord3f GLEW_GET_FUN(__glewMultiTexCoord3f) -#define glMultiTexCoord3fv GLEW_GET_FUN(__glewMultiTexCoord3fv) -#define glMultiTexCoord3i GLEW_GET_FUN(__glewMultiTexCoord3i) -#define glMultiTexCoord3iv GLEW_GET_FUN(__glewMultiTexCoord3iv) -#define glMultiTexCoord3s GLEW_GET_FUN(__glewMultiTexCoord3s) -#define glMultiTexCoord3sv GLEW_GET_FUN(__glewMultiTexCoord3sv) -#define glMultiTexCoord4d GLEW_GET_FUN(__glewMultiTexCoord4d) -#define glMultiTexCoord4dv GLEW_GET_FUN(__glewMultiTexCoord4dv) -#define glMultiTexCoord4f GLEW_GET_FUN(__glewMultiTexCoord4f) -#define glMultiTexCoord4fv GLEW_GET_FUN(__glewMultiTexCoord4fv) -#define glMultiTexCoord4i GLEW_GET_FUN(__glewMultiTexCoord4i) -#define glMultiTexCoord4iv GLEW_GET_FUN(__glewMultiTexCoord4iv) -#define glMultiTexCoord4s GLEW_GET_FUN(__glewMultiTexCoord4s) -#define glMultiTexCoord4sv GLEW_GET_FUN(__glewMultiTexCoord4sv) -#define glSampleCoverage GLEW_GET_FUN(__glewSampleCoverage) - -#define GLEW_VERSION_1_3 GLEW_GET_VAR(__GLEW_VERSION_1_3) - -#endif /* GL_VERSION_1_3 */ - -/* ----------------------------- GL_VERSION_1_4 ---------------------------- */ - -#ifndef GL_VERSION_1_4 -#define GL_VERSION_1_4 1 - -#define GL_BLEND_DST_RGB 0x80C8 -#define GL_BLEND_SRC_RGB 0x80C9 -#define GL_BLEND_DST_ALPHA 0x80CA -#define GL_BLEND_SRC_ALPHA 0x80CB -#define GL_POINT_SIZE_MIN 0x8126 -#define GL_POINT_SIZE_MAX 0x8127 -#define GL_POINT_FADE_THRESHOLD_SIZE 0x8128 -#define GL_POINT_DISTANCE_ATTENUATION 0x8129 -#define GL_GENERATE_MIPMAP 0x8191 -#define GL_GENERATE_MIPMAP_HINT 0x8192 -#define GL_DEPTH_COMPONENT16 0x81A5 -#define GL_DEPTH_COMPONENT24 0x81A6 -#define GL_DEPTH_COMPONENT32 0x81A7 -#define GL_MIRRORED_REPEAT 0x8370 -#define GL_FOG_COORDINATE_SOURCE 0x8450 -#define GL_FOG_COORDINATE 0x8451 -#define GL_FRAGMENT_DEPTH 0x8452 -#define GL_CURRENT_FOG_COORDINATE 0x8453 -#define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454 -#define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455 -#define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456 -#define GL_FOG_COORDINATE_ARRAY 0x8457 -#define GL_COLOR_SUM 0x8458 -#define GL_CURRENT_SECONDARY_COLOR 0x8459 -#define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A -#define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B -#define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C -#define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D -#define GL_SECONDARY_COLOR_ARRAY 0x845E -#define GL_MAX_TEXTURE_LOD_BIAS 0x84FD -#define GL_TEXTURE_FILTER_CONTROL 0x8500 -#define GL_TEXTURE_LOD_BIAS 0x8501 -#define GL_INCR_WRAP 0x8507 -#define GL_DECR_WRAP 0x8508 -#define GL_TEXTURE_DEPTH_SIZE 0x884A -#define GL_DEPTH_TEXTURE_MODE 0x884B -#define GL_TEXTURE_COMPARE_MODE 0x884C -#define GL_TEXTURE_COMPARE_FUNC 0x884D -#define GL_COMPARE_R_TO_TEXTURE 0x884E - -typedef void (GLAPIENTRY * PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); -typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONPROC) (GLenum mode); -typedef void (GLAPIENTRY * PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -typedef void (GLAPIENTRY * PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); -typedef void (GLAPIENTRY * PFNGLFOGCOORDDPROC) (GLdouble coord); -typedef void (GLAPIENTRY * PFNGLFOGCOORDDVPROC) (const GLdouble *coord); -typedef void (GLAPIENTRY * PFNGLFOGCOORDFPROC) (GLfloat coord); -typedef void (GLAPIENTRY * PFNGLFOGCOORDFVPROC) (const GLfloat *coord); -typedef void (GLAPIENTRY * PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount); -typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei drawcount); -typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param); -typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params); -typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param); -typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2DVPROC) (const GLdouble *p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2FVPROC) (const GLfloat *p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2IPROC) (GLint x, GLint y); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2IVPROC) (const GLint *p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2SVPROC) (const GLshort *p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3DVPROC) (const GLdouble *p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3FVPROC) (const GLfloat *p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3IVPROC) (const GLint *p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3SVPROC) (const GLshort *p); - -#define glBlendColor GLEW_GET_FUN(__glewBlendColor) -#define glBlendEquation GLEW_GET_FUN(__glewBlendEquation) -#define glBlendFuncSeparate GLEW_GET_FUN(__glewBlendFuncSeparate) -#define glFogCoordPointer GLEW_GET_FUN(__glewFogCoordPointer) -#define glFogCoordd GLEW_GET_FUN(__glewFogCoordd) -#define glFogCoorddv GLEW_GET_FUN(__glewFogCoorddv) -#define glFogCoordf GLEW_GET_FUN(__glewFogCoordf) -#define glFogCoordfv GLEW_GET_FUN(__glewFogCoordfv) -#define glMultiDrawArrays GLEW_GET_FUN(__glewMultiDrawArrays) -#define glMultiDrawElements GLEW_GET_FUN(__glewMultiDrawElements) -#define glPointParameterf GLEW_GET_FUN(__glewPointParameterf) -#define glPointParameterfv GLEW_GET_FUN(__glewPointParameterfv) -#define glPointParameteri GLEW_GET_FUN(__glewPointParameteri) -#define glPointParameteriv GLEW_GET_FUN(__glewPointParameteriv) -#define glSecondaryColor3b GLEW_GET_FUN(__glewSecondaryColor3b) -#define glSecondaryColor3bv GLEW_GET_FUN(__glewSecondaryColor3bv) -#define glSecondaryColor3d GLEW_GET_FUN(__glewSecondaryColor3d) -#define glSecondaryColor3dv GLEW_GET_FUN(__glewSecondaryColor3dv) -#define glSecondaryColor3f GLEW_GET_FUN(__glewSecondaryColor3f) -#define glSecondaryColor3fv GLEW_GET_FUN(__glewSecondaryColor3fv) -#define glSecondaryColor3i GLEW_GET_FUN(__glewSecondaryColor3i) -#define glSecondaryColor3iv GLEW_GET_FUN(__glewSecondaryColor3iv) -#define glSecondaryColor3s GLEW_GET_FUN(__glewSecondaryColor3s) -#define glSecondaryColor3sv GLEW_GET_FUN(__glewSecondaryColor3sv) -#define glSecondaryColor3ub GLEW_GET_FUN(__glewSecondaryColor3ub) -#define glSecondaryColor3ubv GLEW_GET_FUN(__glewSecondaryColor3ubv) -#define glSecondaryColor3ui GLEW_GET_FUN(__glewSecondaryColor3ui) -#define glSecondaryColor3uiv GLEW_GET_FUN(__glewSecondaryColor3uiv) -#define glSecondaryColor3us GLEW_GET_FUN(__glewSecondaryColor3us) -#define glSecondaryColor3usv GLEW_GET_FUN(__glewSecondaryColor3usv) -#define glSecondaryColorPointer GLEW_GET_FUN(__glewSecondaryColorPointer) -#define glWindowPos2d GLEW_GET_FUN(__glewWindowPos2d) -#define glWindowPos2dv GLEW_GET_FUN(__glewWindowPos2dv) -#define glWindowPos2f GLEW_GET_FUN(__glewWindowPos2f) -#define glWindowPos2fv GLEW_GET_FUN(__glewWindowPos2fv) -#define glWindowPos2i GLEW_GET_FUN(__glewWindowPos2i) -#define glWindowPos2iv GLEW_GET_FUN(__glewWindowPos2iv) -#define glWindowPos2s GLEW_GET_FUN(__glewWindowPos2s) -#define glWindowPos2sv GLEW_GET_FUN(__glewWindowPos2sv) -#define glWindowPos3d GLEW_GET_FUN(__glewWindowPos3d) -#define glWindowPos3dv GLEW_GET_FUN(__glewWindowPos3dv) -#define glWindowPos3f GLEW_GET_FUN(__glewWindowPos3f) -#define glWindowPos3fv GLEW_GET_FUN(__glewWindowPos3fv) -#define glWindowPos3i GLEW_GET_FUN(__glewWindowPos3i) -#define glWindowPos3iv GLEW_GET_FUN(__glewWindowPos3iv) -#define glWindowPos3s GLEW_GET_FUN(__glewWindowPos3s) -#define glWindowPos3sv GLEW_GET_FUN(__glewWindowPos3sv) - -#define GLEW_VERSION_1_4 GLEW_GET_VAR(__GLEW_VERSION_1_4) - -#endif /* GL_VERSION_1_4 */ - -/* ----------------------------- GL_VERSION_1_5 ---------------------------- */ - -#ifndef GL_VERSION_1_5 -#define GL_VERSION_1_5 1 - -#define GL_FOG_COORD_SRC GL_FOG_COORDINATE_SOURCE -#define GL_FOG_COORD GL_FOG_COORDINATE -#define GL_FOG_COORD_ARRAY GL_FOG_COORDINATE_ARRAY -#define GL_SRC0_RGB GL_SOURCE0_RGB -#define GL_FOG_COORD_ARRAY_POINTER GL_FOG_COORDINATE_ARRAY_POINTER -#define GL_FOG_COORD_ARRAY_TYPE GL_FOG_COORDINATE_ARRAY_TYPE -#define GL_SRC1_ALPHA GL_SOURCE1_ALPHA -#define GL_CURRENT_FOG_COORD GL_CURRENT_FOG_COORDINATE -#define GL_FOG_COORD_ARRAY_STRIDE GL_FOG_COORDINATE_ARRAY_STRIDE -#define GL_SRC0_ALPHA GL_SOURCE0_ALPHA -#define GL_SRC1_RGB GL_SOURCE1_RGB -#define GL_FOG_COORD_ARRAY_BUFFER_BINDING GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING -#define GL_SRC2_ALPHA GL_SOURCE2_ALPHA -#define GL_SRC2_RGB GL_SOURCE2_RGB -#define GL_BUFFER_SIZE 0x8764 -#define GL_BUFFER_USAGE 0x8765 -#define GL_QUERY_COUNTER_BITS 0x8864 -#define GL_CURRENT_QUERY 0x8865 -#define GL_QUERY_RESULT 0x8866 -#define GL_QUERY_RESULT_AVAILABLE 0x8867 -#define GL_ARRAY_BUFFER 0x8892 -#define GL_ELEMENT_ARRAY_BUFFER 0x8893 -#define GL_ARRAY_BUFFER_BINDING 0x8894 -#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 -#define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896 -#define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897 -#define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898 -#define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899 -#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A -#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B -#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C -#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D -#define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E -#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F -#define GL_READ_ONLY 0x88B8 -#define GL_WRITE_ONLY 0x88B9 -#define GL_READ_WRITE 0x88BA -#define GL_BUFFER_ACCESS 0x88BB -#define GL_BUFFER_MAPPED 0x88BC -#define GL_BUFFER_MAP_POINTER 0x88BD -#define GL_STREAM_DRAW 0x88E0 -#define GL_STREAM_READ 0x88E1 -#define GL_STREAM_COPY 0x88E2 -#define GL_STATIC_DRAW 0x88E4 -#define GL_STATIC_READ 0x88E5 -#define GL_STATIC_COPY 0x88E6 -#define GL_DYNAMIC_DRAW 0x88E8 -#define GL_DYNAMIC_READ 0x88E9 -#define GL_DYNAMIC_COPY 0x88EA -#define GL_SAMPLES_PASSED 0x8914 - -typedef ptrdiff_t GLintptr; -typedef ptrdiff_t GLsizeiptr; - -typedef void (GLAPIENTRY * PFNGLBEGINQUERYPROC) (GLenum target, GLuint id); -typedef void (GLAPIENTRY * PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); -typedef void (GLAPIENTRY * PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage); -typedef void (GLAPIENTRY * PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data); -typedef void (GLAPIENTRY * PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint* buffers); -typedef void (GLAPIENTRY * PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint* ids); -typedef void (GLAPIENTRY * PFNGLENDQUERYPROC) (GLenum target); -typedef void (GLAPIENTRY * PFNGLGENBUFFERSPROC) (GLsizei n, GLuint* buffers); -typedef void (GLAPIENTRY * PFNGLGENQUERIESPROC) (GLsizei n, GLuint* ids); -typedef void (GLAPIENTRY * PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid** params); -typedef void (GLAPIENTRY * PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid* data); -typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint* params); -typedef void (GLAPIENTRY * PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint* params); -typedef GLboolean (GLAPIENTRY * PFNGLISBUFFERPROC) (GLuint buffer); -typedef GLboolean (GLAPIENTRY * PFNGLISQUERYPROC) (GLuint id); -typedef GLvoid* (GLAPIENTRY * PFNGLMAPBUFFERPROC) (GLenum target, GLenum access); -typedef GLboolean (GLAPIENTRY * PFNGLUNMAPBUFFERPROC) (GLenum target); - -#define glBeginQuery GLEW_GET_FUN(__glewBeginQuery) -#define glBindBuffer GLEW_GET_FUN(__glewBindBuffer) -#define glBufferData GLEW_GET_FUN(__glewBufferData) -#define glBufferSubData GLEW_GET_FUN(__glewBufferSubData) -#define glDeleteBuffers GLEW_GET_FUN(__glewDeleteBuffers) -#define glDeleteQueries GLEW_GET_FUN(__glewDeleteQueries) -#define glEndQuery GLEW_GET_FUN(__glewEndQuery) -#define glGenBuffers GLEW_GET_FUN(__glewGenBuffers) -#define glGenQueries GLEW_GET_FUN(__glewGenQueries) -#define glGetBufferParameteriv GLEW_GET_FUN(__glewGetBufferParameteriv) -#define glGetBufferPointerv GLEW_GET_FUN(__glewGetBufferPointerv) -#define glGetBufferSubData GLEW_GET_FUN(__glewGetBufferSubData) -#define glGetQueryObjectiv GLEW_GET_FUN(__glewGetQueryObjectiv) -#define glGetQueryObjectuiv GLEW_GET_FUN(__glewGetQueryObjectuiv) -#define glGetQueryiv GLEW_GET_FUN(__glewGetQueryiv) -#define glIsBuffer GLEW_GET_FUN(__glewIsBuffer) -#define glIsQuery GLEW_GET_FUN(__glewIsQuery) -#define glMapBuffer GLEW_GET_FUN(__glewMapBuffer) -#define glUnmapBuffer GLEW_GET_FUN(__glewUnmapBuffer) - -#define GLEW_VERSION_1_5 GLEW_GET_VAR(__GLEW_VERSION_1_5) - -#endif /* GL_VERSION_1_5 */ - -/* ----------------------------- GL_VERSION_2_0 ---------------------------- */ - -#ifndef GL_VERSION_2_0 -#define GL_VERSION_2_0 1 - -#define GL_BLEND_EQUATION_RGB GL_BLEND_EQUATION -#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 -#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 -#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 -#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 -#define GL_CURRENT_VERTEX_ATTRIB 0x8626 -#define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 -#define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643 -#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 -#define GL_STENCIL_BACK_FUNC 0x8800 -#define GL_STENCIL_BACK_FAIL 0x8801 -#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 -#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 -#define GL_MAX_DRAW_BUFFERS 0x8824 -#define GL_DRAW_BUFFER0 0x8825 -#define GL_DRAW_BUFFER1 0x8826 -#define GL_DRAW_BUFFER2 0x8827 -#define GL_DRAW_BUFFER3 0x8828 -#define GL_DRAW_BUFFER4 0x8829 -#define GL_DRAW_BUFFER5 0x882A -#define GL_DRAW_BUFFER6 0x882B -#define GL_DRAW_BUFFER7 0x882C -#define GL_DRAW_BUFFER8 0x882D -#define GL_DRAW_BUFFER9 0x882E -#define GL_DRAW_BUFFER10 0x882F -#define GL_DRAW_BUFFER11 0x8830 -#define GL_DRAW_BUFFER12 0x8831 -#define GL_DRAW_BUFFER13 0x8832 -#define GL_DRAW_BUFFER14 0x8833 -#define GL_DRAW_BUFFER15 0x8834 -#define GL_BLEND_EQUATION_ALPHA 0x883D -#define GL_POINT_SPRITE 0x8861 -#define GL_COORD_REPLACE 0x8862 -#define GL_MAX_VERTEX_ATTRIBS 0x8869 -#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A -#define GL_MAX_TEXTURE_COORDS 0x8871 -#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 -#define GL_FRAGMENT_SHADER 0x8B30 -#define GL_VERTEX_SHADER 0x8B31 -#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 -#define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A -#define GL_MAX_VARYING_FLOATS 0x8B4B -#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C -#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D -#define GL_SHADER_TYPE 0x8B4F -#define GL_FLOAT_VEC2 0x8B50 -#define GL_FLOAT_VEC3 0x8B51 -#define GL_FLOAT_VEC4 0x8B52 -#define GL_INT_VEC2 0x8B53 -#define GL_INT_VEC3 0x8B54 -#define GL_INT_VEC4 0x8B55 -#define GL_BOOL 0x8B56 -#define GL_BOOL_VEC2 0x8B57 -#define GL_BOOL_VEC3 0x8B58 -#define GL_BOOL_VEC4 0x8B59 -#define GL_FLOAT_MAT2 0x8B5A -#define GL_FLOAT_MAT3 0x8B5B -#define GL_FLOAT_MAT4 0x8B5C -#define GL_SAMPLER_1D 0x8B5D -#define GL_SAMPLER_2D 0x8B5E -#define GL_SAMPLER_3D 0x8B5F -#define GL_SAMPLER_CUBE 0x8B60 -#define GL_SAMPLER_1D_SHADOW 0x8B61 -#define GL_SAMPLER_2D_SHADOW 0x8B62 -#define GL_DELETE_STATUS 0x8B80 -#define GL_COMPILE_STATUS 0x8B81 -#define GL_LINK_STATUS 0x8B82 -#define GL_VALIDATE_STATUS 0x8B83 -#define GL_INFO_LOG_LENGTH 0x8B84 -#define GL_ATTACHED_SHADERS 0x8B85 -#define GL_ACTIVE_UNIFORMS 0x8B86 -#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 -#define GL_SHADER_SOURCE_LENGTH 0x8B88 -#define GL_ACTIVE_ATTRIBUTES 0x8B89 -#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A -#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B -#define GL_SHADING_LANGUAGE_VERSION 0x8B8C -#define GL_CURRENT_PROGRAM 0x8B8D -#define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0 -#define GL_LOWER_LEFT 0x8CA1 -#define GL_UPPER_LEFT 0x8CA2 -#define GL_STENCIL_BACK_REF 0x8CA3 -#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 -#define GL_STENCIL_BACK_WRITEMASK 0x8CA5 - -typedef void (GLAPIENTRY * PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); -typedef void (GLAPIENTRY * PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar* name); -typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum, GLenum); -typedef void (GLAPIENTRY * PFNGLCOMPILESHADERPROC) (GLuint shader); -typedef GLuint (GLAPIENTRY * PFNGLCREATEPROGRAMPROC) (void); -typedef GLuint (GLAPIENTRY * PFNGLCREATESHADERPROC) (GLenum type); -typedef void (GLAPIENTRY * PFNGLDELETEPROGRAMPROC) (GLuint program); -typedef void (GLAPIENTRY * PFNGLDELETESHADERPROC) (GLuint shader); -typedef void (GLAPIENTRY * PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader); -typedef void (GLAPIENTRY * PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint); -typedef void (GLAPIENTRY * PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum* bufs); -typedef void (GLAPIENTRY * PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint); -typedef void (GLAPIENTRY * PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLchar* name); -typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLchar* name); -typedef void (GLAPIENTRY * PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei* count, GLuint* shaders); -typedef GLint (GLAPIENTRY * PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar* name); -typedef void (GLAPIENTRY * PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei* length, GLchar* infoLog); -typedef void (GLAPIENTRY * PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint* param); -typedef void (GLAPIENTRY * PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei* length, GLchar* infoLog); -typedef void (GLAPIENTRY * PFNGLGETSHADERSOURCEPROC) (GLuint obj, GLsizei maxLength, GLsizei* length, GLchar* source); -typedef void (GLAPIENTRY * PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint* param); -typedef GLint (GLAPIENTRY * PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar* name); -typedef void (GLAPIENTRY * PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint, GLenum, GLvoid**); -typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBDVPROC) (GLuint, GLenum, GLdouble*); -typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBFVPROC) (GLuint, GLenum, GLfloat*); -typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIVPROC) (GLuint, GLenum, GLint*); -typedef GLboolean (GLAPIENTRY * PFNGLISPROGRAMPROC) (GLuint program); -typedef GLboolean (GLAPIENTRY * PFNGLISSHADERPROC) (GLuint shader); -typedef void (GLAPIENTRY * PFNGLLINKPROGRAMPROC) (GLuint program); -typedef void (GLAPIENTRY * PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar** strings, const GLint* lengths); -typedef void (GLAPIENTRY * PFNGLSTENCILFUNCSEPARATEPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); -typedef void (GLAPIENTRY * PFNGLSTENCILMASKSEPARATEPROC) (GLenum, GLuint); -typedef void (GLAPIENTRY * PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); -typedef void (GLAPIENTRY * PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); -typedef void (GLAPIENTRY * PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM1IPROC) (GLint location, GLint v0); -typedef void (GLAPIENTRY * PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); -typedef void (GLAPIENTRY * PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); -typedef void (GLAPIENTRY * PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -typedef void (GLAPIENTRY * PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); -typedef void (GLAPIENTRY * PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -typedef void (GLAPIENTRY * PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -typedef void (GLAPIENTRY * PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint* value); -typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLUSEPROGRAMPROC) (GLuint program); -typedef void (GLAPIENTRY * PFNGLVALIDATEPROGRAMPROC) (GLuint program); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* pointer); - -#define glAttachShader GLEW_GET_FUN(__glewAttachShader) -#define glBindAttribLocation GLEW_GET_FUN(__glewBindAttribLocation) -#define glBlendEquationSeparate GLEW_GET_FUN(__glewBlendEquationSeparate) -#define glCompileShader GLEW_GET_FUN(__glewCompileShader) -#define glCreateProgram GLEW_GET_FUN(__glewCreateProgram) -#define glCreateShader GLEW_GET_FUN(__glewCreateShader) -#define glDeleteProgram GLEW_GET_FUN(__glewDeleteProgram) -#define glDeleteShader GLEW_GET_FUN(__glewDeleteShader) -#define glDetachShader GLEW_GET_FUN(__glewDetachShader) -#define glDisableVertexAttribArray GLEW_GET_FUN(__glewDisableVertexAttribArray) -#define glDrawBuffers GLEW_GET_FUN(__glewDrawBuffers) -#define glEnableVertexAttribArray GLEW_GET_FUN(__glewEnableVertexAttribArray) -#define glGetActiveAttrib GLEW_GET_FUN(__glewGetActiveAttrib) -#define glGetActiveUniform GLEW_GET_FUN(__glewGetActiveUniform) -#define glGetAttachedShaders GLEW_GET_FUN(__glewGetAttachedShaders) -#define glGetAttribLocation GLEW_GET_FUN(__glewGetAttribLocation) -#define glGetProgramInfoLog GLEW_GET_FUN(__glewGetProgramInfoLog) -#define glGetProgramiv GLEW_GET_FUN(__glewGetProgramiv) -#define glGetShaderInfoLog GLEW_GET_FUN(__glewGetShaderInfoLog) -#define glGetShaderSource GLEW_GET_FUN(__glewGetShaderSource) -#define glGetShaderiv GLEW_GET_FUN(__glewGetShaderiv) -#define glGetUniformLocation GLEW_GET_FUN(__glewGetUniformLocation) -#define glGetUniformfv GLEW_GET_FUN(__glewGetUniformfv) -#define glGetUniformiv GLEW_GET_FUN(__glewGetUniformiv) -#define glGetVertexAttribPointerv GLEW_GET_FUN(__glewGetVertexAttribPointerv) -#define glGetVertexAttribdv GLEW_GET_FUN(__glewGetVertexAttribdv) -#define glGetVertexAttribfv GLEW_GET_FUN(__glewGetVertexAttribfv) -#define glGetVertexAttribiv GLEW_GET_FUN(__glewGetVertexAttribiv) -#define glIsProgram GLEW_GET_FUN(__glewIsProgram) -#define glIsShader GLEW_GET_FUN(__glewIsShader) -#define glLinkProgram GLEW_GET_FUN(__glewLinkProgram) -#define glShaderSource GLEW_GET_FUN(__glewShaderSource) -#define glStencilFuncSeparate GLEW_GET_FUN(__glewStencilFuncSeparate) -#define glStencilMaskSeparate GLEW_GET_FUN(__glewStencilMaskSeparate) -#define glStencilOpSeparate GLEW_GET_FUN(__glewStencilOpSeparate) -#define glUniform1f GLEW_GET_FUN(__glewUniform1f) -#define glUniform1fv GLEW_GET_FUN(__glewUniform1fv) -#define glUniform1i GLEW_GET_FUN(__glewUniform1i) -#define glUniform1iv GLEW_GET_FUN(__glewUniform1iv) -#define glUniform2f GLEW_GET_FUN(__glewUniform2f) -#define glUniform2fv GLEW_GET_FUN(__glewUniform2fv) -#define glUniform2i GLEW_GET_FUN(__glewUniform2i) -#define glUniform2iv GLEW_GET_FUN(__glewUniform2iv) -#define glUniform3f GLEW_GET_FUN(__glewUniform3f) -#define glUniform3fv GLEW_GET_FUN(__glewUniform3fv) -#define glUniform3i GLEW_GET_FUN(__glewUniform3i) -#define glUniform3iv GLEW_GET_FUN(__glewUniform3iv) -#define glUniform4f GLEW_GET_FUN(__glewUniform4f) -#define glUniform4fv GLEW_GET_FUN(__glewUniform4fv) -#define glUniform4i GLEW_GET_FUN(__glewUniform4i) -#define glUniform4iv GLEW_GET_FUN(__glewUniform4iv) -#define glUniformMatrix2fv GLEW_GET_FUN(__glewUniformMatrix2fv) -#define glUniformMatrix3fv GLEW_GET_FUN(__glewUniformMatrix3fv) -#define glUniformMatrix4fv GLEW_GET_FUN(__glewUniformMatrix4fv) -#define glUseProgram GLEW_GET_FUN(__glewUseProgram) -#define glValidateProgram GLEW_GET_FUN(__glewValidateProgram) -#define glVertexAttrib1d GLEW_GET_FUN(__glewVertexAttrib1d) -#define glVertexAttrib1dv GLEW_GET_FUN(__glewVertexAttrib1dv) -#define glVertexAttrib1f GLEW_GET_FUN(__glewVertexAttrib1f) -#define glVertexAttrib1fv GLEW_GET_FUN(__glewVertexAttrib1fv) -#define glVertexAttrib1s GLEW_GET_FUN(__glewVertexAttrib1s) -#define glVertexAttrib1sv GLEW_GET_FUN(__glewVertexAttrib1sv) -#define glVertexAttrib2d GLEW_GET_FUN(__glewVertexAttrib2d) -#define glVertexAttrib2dv GLEW_GET_FUN(__glewVertexAttrib2dv) -#define glVertexAttrib2f GLEW_GET_FUN(__glewVertexAttrib2f) -#define glVertexAttrib2fv GLEW_GET_FUN(__glewVertexAttrib2fv) -#define glVertexAttrib2s GLEW_GET_FUN(__glewVertexAttrib2s) -#define glVertexAttrib2sv GLEW_GET_FUN(__glewVertexAttrib2sv) -#define glVertexAttrib3d GLEW_GET_FUN(__glewVertexAttrib3d) -#define glVertexAttrib3dv GLEW_GET_FUN(__glewVertexAttrib3dv) -#define glVertexAttrib3f GLEW_GET_FUN(__glewVertexAttrib3f) -#define glVertexAttrib3fv GLEW_GET_FUN(__glewVertexAttrib3fv) -#define glVertexAttrib3s GLEW_GET_FUN(__glewVertexAttrib3s) -#define glVertexAttrib3sv GLEW_GET_FUN(__glewVertexAttrib3sv) -#define glVertexAttrib4Nbv GLEW_GET_FUN(__glewVertexAttrib4Nbv) -#define glVertexAttrib4Niv GLEW_GET_FUN(__glewVertexAttrib4Niv) -#define glVertexAttrib4Nsv GLEW_GET_FUN(__glewVertexAttrib4Nsv) -#define glVertexAttrib4Nub GLEW_GET_FUN(__glewVertexAttrib4Nub) -#define glVertexAttrib4Nubv GLEW_GET_FUN(__glewVertexAttrib4Nubv) -#define glVertexAttrib4Nuiv GLEW_GET_FUN(__glewVertexAttrib4Nuiv) -#define glVertexAttrib4Nusv GLEW_GET_FUN(__glewVertexAttrib4Nusv) -#define glVertexAttrib4bv GLEW_GET_FUN(__glewVertexAttrib4bv) -#define glVertexAttrib4d GLEW_GET_FUN(__glewVertexAttrib4d) -#define glVertexAttrib4dv GLEW_GET_FUN(__glewVertexAttrib4dv) -#define glVertexAttrib4f GLEW_GET_FUN(__glewVertexAttrib4f) -#define glVertexAttrib4fv GLEW_GET_FUN(__glewVertexAttrib4fv) -#define glVertexAttrib4iv GLEW_GET_FUN(__glewVertexAttrib4iv) -#define glVertexAttrib4s GLEW_GET_FUN(__glewVertexAttrib4s) -#define glVertexAttrib4sv GLEW_GET_FUN(__glewVertexAttrib4sv) -#define glVertexAttrib4ubv GLEW_GET_FUN(__glewVertexAttrib4ubv) -#define glVertexAttrib4uiv GLEW_GET_FUN(__glewVertexAttrib4uiv) -#define glVertexAttrib4usv GLEW_GET_FUN(__glewVertexAttrib4usv) -#define glVertexAttribPointer GLEW_GET_FUN(__glewVertexAttribPointer) - -#define GLEW_VERSION_2_0 GLEW_GET_VAR(__GLEW_VERSION_2_0) - -#endif /* GL_VERSION_2_0 */ - -/* ----------------------------- GL_VERSION_2_1 ---------------------------- */ - -#ifndef GL_VERSION_2_1 -#define GL_VERSION_2_1 1 - -#define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F -#define GL_PIXEL_PACK_BUFFER 0x88EB -#define GL_PIXEL_UNPACK_BUFFER 0x88EC -#define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED -#define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF -#define GL_FLOAT_MAT2x3 0x8B65 -#define GL_FLOAT_MAT2x4 0x8B66 -#define GL_FLOAT_MAT3x2 0x8B67 -#define GL_FLOAT_MAT3x4 0x8B68 -#define GL_FLOAT_MAT4x2 0x8B69 -#define GL_FLOAT_MAT4x3 0x8B6A -#define GL_SRGB 0x8C40 -#define GL_SRGB8 0x8C41 -#define GL_SRGB_ALPHA 0x8C42 -#define GL_SRGB8_ALPHA8 0x8C43 -#define GL_SLUMINANCE_ALPHA 0x8C44 -#define GL_SLUMINANCE8_ALPHA8 0x8C45 -#define GL_SLUMINANCE 0x8C46 -#define GL_SLUMINANCE8 0x8C47 -#define GL_COMPRESSED_SRGB 0x8C48 -#define GL_COMPRESSED_SRGB_ALPHA 0x8C49 -#define GL_COMPRESSED_SLUMINANCE 0x8C4A -#define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B - -typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); - -#define glUniformMatrix2x3fv GLEW_GET_FUN(__glewUniformMatrix2x3fv) -#define glUniformMatrix2x4fv GLEW_GET_FUN(__glewUniformMatrix2x4fv) -#define glUniformMatrix3x2fv GLEW_GET_FUN(__glewUniformMatrix3x2fv) -#define glUniformMatrix3x4fv GLEW_GET_FUN(__glewUniformMatrix3x4fv) -#define glUniformMatrix4x2fv GLEW_GET_FUN(__glewUniformMatrix4x2fv) -#define glUniformMatrix4x3fv GLEW_GET_FUN(__glewUniformMatrix4x3fv) - -#define GLEW_VERSION_2_1 GLEW_GET_VAR(__GLEW_VERSION_2_1) - -#endif /* GL_VERSION_2_1 */ - -/* ----------------------------- GL_VERSION_3_0 ---------------------------- */ - -#ifndef GL_VERSION_3_0 -#define GL_VERSION_3_0 1 - -#define GL_MAX_CLIP_DISTANCES GL_MAX_CLIP_PLANES -#define GL_CLIP_DISTANCE5 GL_CLIP_PLANE5 -#define GL_CLIP_DISTANCE1 GL_CLIP_PLANE1 -#define GL_CLIP_DISTANCE3 GL_CLIP_PLANE3 -#define GL_COMPARE_REF_TO_TEXTURE GL_COMPARE_R_TO_TEXTURE_ARB -#define GL_CLIP_DISTANCE0 GL_CLIP_PLANE0 -#define GL_CLIP_DISTANCE4 GL_CLIP_PLANE4 -#define GL_CLIP_DISTANCE2 GL_CLIP_PLANE2 -#define GL_MAX_VARYING_COMPONENTS GL_MAX_VARYING_FLOATS -#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001 -#define GL_MAJOR_VERSION 0x821B -#define GL_MINOR_VERSION 0x821C -#define GL_NUM_EXTENSIONS 0x821D -#define GL_CONTEXT_FLAGS 0x821E -#define GL_DEPTH_BUFFER 0x8223 -#define GL_STENCIL_BUFFER 0x8224 -#define GL_COMPRESSED_RED 0x8225 -#define GL_COMPRESSED_RG 0x8226 -#define GL_RGBA32F 0x8814 -#define GL_RGB32F 0x8815 -#define GL_RGBA16F 0x881A -#define GL_RGB16F 0x881B -#define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD -#define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF -#define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 -#define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 -#define GL_CLAMP_VERTEX_COLOR 0x891A -#define GL_CLAMP_FRAGMENT_COLOR 0x891B -#define GL_CLAMP_READ_COLOR 0x891C -#define GL_FIXED_ONLY 0x891D -#define GL_TEXTURE_RED_TYPE 0x8C10 -#define GL_TEXTURE_GREEN_TYPE 0x8C11 -#define GL_TEXTURE_BLUE_TYPE 0x8C12 -#define GL_TEXTURE_ALPHA_TYPE 0x8C13 -#define GL_TEXTURE_LUMINANCE_TYPE 0x8C14 -#define GL_TEXTURE_INTENSITY_TYPE 0x8C15 -#define GL_TEXTURE_DEPTH_TYPE 0x8C16 -#define GL_TEXTURE_1D_ARRAY 0x8C18 -#define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19 -#define GL_TEXTURE_2D_ARRAY 0x8C1A -#define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B -#define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C -#define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D -#define GL_R11F_G11F_B10F 0x8C3A -#define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B -#define GL_RGB9_E5 0x8C3D -#define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E -#define GL_TEXTURE_SHARED_SIZE 0x8C3F -#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76 -#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80 -#define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83 -#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84 -#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85 -#define GL_PRIMITIVES_GENERATED 0x8C87 -#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88 -#define GL_RASTERIZER_DISCARD 0x8C89 -#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B -#define GL_INTERLEAVED_ATTRIBS 0x8C8C -#define GL_SEPARATE_ATTRIBS 0x8C8D -#define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E -#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F -#define GL_RGBA32UI 0x8D70 -#define GL_RGB32UI 0x8D71 -#define GL_RGBA16UI 0x8D76 -#define GL_RGB16UI 0x8D77 -#define GL_RGBA8UI 0x8D7C -#define GL_RGB8UI 0x8D7D -#define GL_RGBA32I 0x8D82 -#define GL_RGB32I 0x8D83 -#define GL_RGBA16I 0x8D88 -#define GL_RGB16I 0x8D89 -#define GL_RGBA8I 0x8D8E -#define GL_RGB8I 0x8D8F -#define GL_RED_INTEGER 0x8D94 -#define GL_GREEN_INTEGER 0x8D95 -#define GL_BLUE_INTEGER 0x8D96 -#define GL_ALPHA_INTEGER 0x8D97 -#define GL_RGB_INTEGER 0x8D98 -#define GL_RGBA_INTEGER 0x8D99 -#define GL_BGR_INTEGER 0x8D9A -#define GL_BGRA_INTEGER 0x8D9B -#define GL_SAMPLER_1D_ARRAY 0x8DC0 -#define GL_SAMPLER_2D_ARRAY 0x8DC1 -#define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3 -#define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4 -#define GL_SAMPLER_CUBE_SHADOW 0x8DC5 -#define GL_UNSIGNED_INT_VEC2 0x8DC6 -#define GL_UNSIGNED_INT_VEC3 0x8DC7 -#define GL_UNSIGNED_INT_VEC4 0x8DC8 -#define GL_INT_SAMPLER_1D 0x8DC9 -#define GL_INT_SAMPLER_2D 0x8DCA -#define GL_INT_SAMPLER_3D 0x8DCB -#define GL_INT_SAMPLER_CUBE 0x8DCC -#define GL_INT_SAMPLER_1D_ARRAY 0x8DCE -#define GL_INT_SAMPLER_2D_ARRAY 0x8DCF -#define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1 -#define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2 -#define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3 -#define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4 -#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6 -#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 -#define GL_QUERY_WAIT 0x8E13 -#define GL_QUERY_NO_WAIT 0x8E14 -#define GL_QUERY_BY_REGION_WAIT 0x8E15 -#define GL_QUERY_BY_REGION_NO_WAIT 0x8E16 - -typedef void (GLAPIENTRY * PFNGLBEGINCONDITIONALRENDERPROC) (GLuint, GLenum); -typedef void (GLAPIENTRY * PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum); -typedef void (GLAPIENTRY * PFNGLBINDFRAGDATALOCATIONPROC) (GLuint, GLuint, const GLchar*); -typedef void (GLAPIENTRY * PFNGLCLAMPCOLORPROC) (GLenum, GLenum); -typedef void (GLAPIENTRY * PFNGLCLEARBUFFERFIPROC) (GLenum, GLint, GLfloat, GLint); -typedef void (GLAPIENTRY * PFNGLCLEARBUFFERFVPROC) (GLenum, GLint, const GLfloat*); -typedef void (GLAPIENTRY * PFNGLCLEARBUFFERIVPROC) (GLenum, GLint, const GLint*); -typedef void (GLAPIENTRY * PFNGLCLEARBUFFERUIVPROC) (GLenum, GLint, const GLuint*); -typedef void (GLAPIENTRY * PFNGLCOLORMASKIPROC) (GLuint, GLboolean, GLboolean, GLboolean, GLboolean); -typedef void (GLAPIENTRY * PFNGLDISABLEIPROC) (GLenum, GLuint); -typedef void (GLAPIENTRY * PFNGLENABLEIPROC) (GLenum, GLuint); -typedef void (GLAPIENTRY * PFNGLENDCONDITIONALRENDERPROC) (void); -typedef void (GLAPIENTRY * PFNGLENDTRANSFORMFEEDBACKPROC) (void); -typedef void (GLAPIENTRY * PFNGLGETBOOLEANI_VPROC) (GLenum, GLuint, GLboolean*); -typedef GLint (GLAPIENTRY * PFNGLGETFRAGDATALOCATIONPROC) (GLuint, const GLchar*); -typedef const GLubyte* (GLAPIENTRY * PFNGLGETSTRINGIPROC) (GLenum, GLuint); -typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERIIVPROC) (GLenum, GLenum, GLint*); -typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERIUIVPROC) (GLenum, GLenum, GLuint*); -typedef void (GLAPIENTRY * PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *); -typedef void (GLAPIENTRY * PFNGLGETUNIFORMUIVPROC) (GLuint, GLint, GLuint*); -typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIIVPROC) (GLuint, GLenum, GLint*); -typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint, GLenum, GLuint*); -typedef GLboolean (GLAPIENTRY * PFNGLISENABLEDIPROC) (GLenum, GLuint); -typedef void (GLAPIENTRY * PFNGLTEXPARAMETERIIVPROC) (GLenum, GLenum, const GLint*); -typedef void (GLAPIENTRY * PFNGLTEXPARAMETERIUIVPROC) (GLenum, GLenum, const GLuint*); -typedef void (GLAPIENTRY * PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint, GLsizei, const GLchar **, GLenum); -typedef void (GLAPIENTRY * PFNGLUNIFORM1UIPROC) (GLint, GLuint); -typedef void (GLAPIENTRY * PFNGLUNIFORM1UIVPROC) (GLint, GLsizei, const GLuint*); -typedef void (GLAPIENTRY * PFNGLUNIFORM2UIPROC) (GLint, GLuint, GLuint); -typedef void (GLAPIENTRY * PFNGLUNIFORM2UIVPROC) (GLint, GLsizei, const GLuint*); -typedef void (GLAPIENTRY * PFNGLUNIFORM3UIPROC) (GLint, GLuint, GLuint, GLuint); -typedef void (GLAPIENTRY * PFNGLUNIFORM3UIVPROC) (GLint, GLsizei, const GLuint*); -typedef void (GLAPIENTRY * PFNGLUNIFORM4UIPROC) (GLint, GLuint, GLuint, GLuint, GLuint); -typedef void (GLAPIENTRY * PFNGLUNIFORM4UIVPROC) (GLint, GLsizei, const GLuint*); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1IPROC) (GLuint, GLint); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1IVPROC) (GLuint, const GLint*); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1UIPROC) (GLuint, GLuint); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1UIVPROC) (GLuint, const GLuint*); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2IPROC) (GLuint, GLint, GLint); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2IVPROC) (GLuint, const GLint*); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2UIPROC) (GLuint, GLuint, GLuint); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2UIVPROC) (GLuint, const GLuint*); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3IPROC) (GLuint, GLint, GLint, GLint); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3IVPROC) (GLuint, const GLint*); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3UIPROC) (GLuint, GLuint, GLuint, GLuint); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3UIVPROC) (GLuint, const GLuint*); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4BVPROC) (GLuint, const GLbyte*); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4IPROC) (GLuint, GLint, GLint, GLint, GLint); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4IVPROC) (GLuint, const GLint*); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4SVPROC) (GLuint, const GLshort*); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UBVPROC) (GLuint, const GLubyte*); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UIPROC) (GLuint, GLuint, GLuint, GLuint, GLuint); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UIVPROC) (GLuint, const GLuint*); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4USVPROC) (GLuint, const GLushort*); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint, GLint, GLenum, GLsizei, const GLvoid*); - -#define glBeginConditionalRender GLEW_GET_FUN(__glewBeginConditionalRender) -#define glBeginTransformFeedback GLEW_GET_FUN(__glewBeginTransformFeedback) -#define glBindFragDataLocation GLEW_GET_FUN(__glewBindFragDataLocation) -#define glClampColor GLEW_GET_FUN(__glewClampColor) -#define glClearBufferfi GLEW_GET_FUN(__glewClearBufferfi) -#define glClearBufferfv GLEW_GET_FUN(__glewClearBufferfv) -#define glClearBufferiv GLEW_GET_FUN(__glewClearBufferiv) -#define glClearBufferuiv GLEW_GET_FUN(__glewClearBufferuiv) -#define glColorMaski GLEW_GET_FUN(__glewColorMaski) -#define glDisablei GLEW_GET_FUN(__glewDisablei) -#define glEnablei GLEW_GET_FUN(__glewEnablei) -#define glEndConditionalRender GLEW_GET_FUN(__glewEndConditionalRender) -#define glEndTransformFeedback GLEW_GET_FUN(__glewEndTransformFeedback) -#define glGetBooleani_v GLEW_GET_FUN(__glewGetBooleani_v) -#define glGetFragDataLocation GLEW_GET_FUN(__glewGetFragDataLocation) -#define glGetStringi GLEW_GET_FUN(__glewGetStringi) -#define glGetTexParameterIiv GLEW_GET_FUN(__glewGetTexParameterIiv) -#define glGetTexParameterIuiv GLEW_GET_FUN(__glewGetTexParameterIuiv) -#define glGetTransformFeedbackVarying GLEW_GET_FUN(__glewGetTransformFeedbackVarying) -#define glGetUniformuiv GLEW_GET_FUN(__glewGetUniformuiv) -#define glGetVertexAttribIiv GLEW_GET_FUN(__glewGetVertexAttribIiv) -#define glGetVertexAttribIuiv GLEW_GET_FUN(__glewGetVertexAttribIuiv) -#define glIsEnabledi GLEW_GET_FUN(__glewIsEnabledi) -#define glTexParameterIiv GLEW_GET_FUN(__glewTexParameterIiv) -#define glTexParameterIuiv GLEW_GET_FUN(__glewTexParameterIuiv) -#define glTransformFeedbackVaryings GLEW_GET_FUN(__glewTransformFeedbackVaryings) -#define glUniform1ui GLEW_GET_FUN(__glewUniform1ui) -#define glUniform1uiv GLEW_GET_FUN(__glewUniform1uiv) -#define glUniform2ui GLEW_GET_FUN(__glewUniform2ui) -#define glUniform2uiv GLEW_GET_FUN(__glewUniform2uiv) -#define glUniform3ui GLEW_GET_FUN(__glewUniform3ui) -#define glUniform3uiv GLEW_GET_FUN(__glewUniform3uiv) -#define glUniform4ui GLEW_GET_FUN(__glewUniform4ui) -#define glUniform4uiv GLEW_GET_FUN(__glewUniform4uiv) -#define glVertexAttribI1i GLEW_GET_FUN(__glewVertexAttribI1i) -#define glVertexAttribI1iv GLEW_GET_FUN(__glewVertexAttribI1iv) -#define glVertexAttribI1ui GLEW_GET_FUN(__glewVertexAttribI1ui) -#define glVertexAttribI1uiv GLEW_GET_FUN(__glewVertexAttribI1uiv) -#define glVertexAttribI2i GLEW_GET_FUN(__glewVertexAttribI2i) -#define glVertexAttribI2iv GLEW_GET_FUN(__glewVertexAttribI2iv) -#define glVertexAttribI2ui GLEW_GET_FUN(__glewVertexAttribI2ui) -#define glVertexAttribI2uiv GLEW_GET_FUN(__glewVertexAttribI2uiv) -#define glVertexAttribI3i GLEW_GET_FUN(__glewVertexAttribI3i) -#define glVertexAttribI3iv GLEW_GET_FUN(__glewVertexAttribI3iv) -#define glVertexAttribI3ui GLEW_GET_FUN(__glewVertexAttribI3ui) -#define glVertexAttribI3uiv GLEW_GET_FUN(__glewVertexAttribI3uiv) -#define glVertexAttribI4bv GLEW_GET_FUN(__glewVertexAttribI4bv) -#define glVertexAttribI4i GLEW_GET_FUN(__glewVertexAttribI4i) -#define glVertexAttribI4iv GLEW_GET_FUN(__glewVertexAttribI4iv) -#define glVertexAttribI4sv GLEW_GET_FUN(__glewVertexAttribI4sv) -#define glVertexAttribI4ubv GLEW_GET_FUN(__glewVertexAttribI4ubv) -#define glVertexAttribI4ui GLEW_GET_FUN(__glewVertexAttribI4ui) -#define glVertexAttribI4uiv GLEW_GET_FUN(__glewVertexAttribI4uiv) -#define glVertexAttribI4usv GLEW_GET_FUN(__glewVertexAttribI4usv) -#define glVertexAttribIPointer GLEW_GET_FUN(__glewVertexAttribIPointer) - -#define GLEW_VERSION_3_0 GLEW_GET_VAR(__GLEW_VERSION_3_0) - -#endif /* GL_VERSION_3_0 */ - -/* ----------------------------- GL_VERSION_3_1 ---------------------------- */ - -#ifndef GL_VERSION_3_1 -#define GL_VERSION_3_1 1 - -#define GL_TEXTURE_RECTANGLE 0x84F5 -#define GL_TEXTURE_BINDING_RECTANGLE 0x84F6 -#define GL_PROXY_TEXTURE_RECTANGLE 0x84F7 -#define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8 -#define GL_SAMPLER_2D_RECT 0x8B63 -#define GL_SAMPLER_2D_RECT_SHADOW 0x8B64 -#define GL_TEXTURE_BUFFER 0x8C2A -#define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B -#define GL_TEXTURE_BINDING_BUFFER 0x8C2C -#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D -#define GL_TEXTURE_BUFFER_FORMAT 0x8C2E -#define GL_SAMPLER_BUFFER 0x8DC2 -#define GL_INT_SAMPLER_2D_RECT 0x8DCD -#define GL_INT_SAMPLER_BUFFER 0x8DD0 -#define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5 -#define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8 -#define GL_RED_SNORM 0x8F90 -#define GL_RG_SNORM 0x8F91 -#define GL_RGB_SNORM 0x8F92 -#define GL_RGBA_SNORM 0x8F93 -#define GL_R8_SNORM 0x8F94 -#define GL_RG8_SNORM 0x8F95 -#define GL_RGB8_SNORM 0x8F96 -#define GL_RGBA8_SNORM 0x8F97 -#define GL_R16_SNORM 0x8F98 -#define GL_RG16_SNORM 0x8F99 -#define GL_RGB16_SNORM 0x8F9A -#define GL_RGBA16_SNORM 0x8F9B -#define GL_SIGNED_NORMALIZED 0x8F9C -#define GL_PRIMITIVE_RESTART 0x8F9D -#define GL_PRIMITIVE_RESTART_INDEX 0x8F9E -#define GL_BUFFER_ACCESS_FLAGS 0x911F -#define GL_BUFFER_MAP_LENGTH 0x9120 -#define GL_BUFFER_MAP_OFFSET 0x9121 - -typedef void (GLAPIENTRY * PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum, GLint, GLsizei, GLsizei); -typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum, GLsizei, GLenum, const GLvoid*, GLsizei); -typedef void (GLAPIENTRY * PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint); -typedef void (GLAPIENTRY * PFNGLTEXBUFFERPROC) (GLenum, GLenum, GLuint); - -#define glDrawArraysInstanced GLEW_GET_FUN(__glewDrawArraysInstanced) -#define glDrawElementsInstanced GLEW_GET_FUN(__glewDrawElementsInstanced) -#define glPrimitiveRestartIndex GLEW_GET_FUN(__glewPrimitiveRestartIndex) -#define glTexBuffer GLEW_GET_FUN(__glewTexBuffer) - -#define GLEW_VERSION_3_1 GLEW_GET_VAR(__GLEW_VERSION_3_1) - -#endif /* GL_VERSION_3_1 */ - -/* ----------------------------- GL_VERSION_3_2 ---------------------------- */ - -#ifndef GL_VERSION_3_2 -#define GL_VERSION_3_2 1 - -#define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001 -#define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002 -#define GL_LINES_ADJACENCY 0x000A -#define GL_LINE_STRIP_ADJACENCY 0x000B -#define GL_TRIANGLES_ADJACENCY 0x000C -#define GL_TRIANGLE_STRIP_ADJACENCY 0x000D -#define GL_PROGRAM_POINT_SIZE 0x8642 -#define GL_GEOMETRY_VERTICES_OUT 0x8916 -#define GL_GEOMETRY_INPUT_TYPE 0x8917 -#define GL_GEOMETRY_OUTPUT_TYPE 0x8918 -#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29 -#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8 -#define GL_GEOMETRY_SHADER 0x8DD9 -#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF -#define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0 -#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1 -#define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122 -#define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123 -#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124 -#define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 -#define GL_CONTEXT_PROFILE_MASK 0x9126 - -typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum, GLenum, GLuint, GLint); -typedef void (GLAPIENTRY * PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum, GLenum, GLint64 *); -typedef void (GLAPIENTRY * PFNGLGETINTEGER64I_VPROC) (GLenum, GLuint, GLint64 *); - -#define glFramebufferTexture GLEW_GET_FUN(__glewFramebufferTexture) -#define glGetBufferParameteri64v GLEW_GET_FUN(__glewGetBufferParameteri64v) -#define glGetInteger64i_v GLEW_GET_FUN(__glewGetInteger64i_v) - -#define GLEW_VERSION_3_2 GLEW_GET_VAR(__GLEW_VERSION_3_2) - -#endif /* GL_VERSION_3_2 */ - -/* ----------------------------- GL_VERSION_3_3 ---------------------------- */ - -#ifndef GL_VERSION_3_3 -#define GL_VERSION_3_3 1 - -#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE -#define GL_TEXTURE_SWIZZLE_R 0x8E42 -#define GL_TEXTURE_SWIZZLE_G 0x8E43 -#define GL_TEXTURE_SWIZZLE_B 0x8E44 -#define GL_TEXTURE_SWIZZLE_A 0x8E45 -#define GL_TEXTURE_SWIZZLE_RGBA 0x8E46 -#define GL_RGB10_A2UI 0x906F - -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor); - -#define glVertexAttribDivisor GLEW_GET_FUN(__glewVertexAttribDivisor) - -#define GLEW_VERSION_3_3 GLEW_GET_VAR(__GLEW_VERSION_3_3) - -#endif /* GL_VERSION_3_3 */ - -/* ----------------------------- GL_VERSION_4_0 ---------------------------- */ - -#ifndef GL_VERSION_4_0 -#define GL_VERSION_4_0 1 - -#define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F -#define GL_SAMPLE_SHADING 0x8C36 -#define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37 -#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A -#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B -#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C -#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D -#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E -#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F -#define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS 0x8F9F -#define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009 -#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A -#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B -#define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C -#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D -#define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E -#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F - -typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); -typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode); -typedef void (GLAPIENTRY * PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -typedef void (GLAPIENTRY * PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst); -typedef void (GLAPIENTRY * PFNGLMINSAMPLESHADINGPROC) (GLclampf value); - -#define glBlendEquationSeparatei GLEW_GET_FUN(__glewBlendEquationSeparatei) -#define glBlendEquationi GLEW_GET_FUN(__glewBlendEquationi) -#define glBlendFuncSeparatei GLEW_GET_FUN(__glewBlendFuncSeparatei) -#define glBlendFunci GLEW_GET_FUN(__glewBlendFunci) -#define glMinSampleShading GLEW_GET_FUN(__glewMinSampleShading) - -#define GLEW_VERSION_4_0 GLEW_GET_VAR(__GLEW_VERSION_4_0) - -#endif /* GL_VERSION_4_0 */ - -/* ----------------------------- GL_VERSION_4_1 ---------------------------- */ - -#ifndef GL_VERSION_4_1 -#define GL_VERSION_4_1 1 - -#define GLEW_VERSION_4_1 GLEW_GET_VAR(__GLEW_VERSION_4_1) - -#endif /* GL_VERSION_4_1 */ - -/* ----------------------------- GL_VERSION_4_2 ---------------------------- */ - -#ifndef GL_VERSION_4_2 -#define GL_VERSION_4_2 1 - -#define GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C -#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D -#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E -#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F - -#define GLEW_VERSION_4_2 GLEW_GET_VAR(__GLEW_VERSION_4_2) - -#endif /* GL_VERSION_4_2 */ - -/* ----------------------------- GL_VERSION_4_3 ---------------------------- */ - -#ifndef GL_VERSION_4_3 -#define GL_VERSION_4_3 1 - -#define GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9 -#define GL_VERTEX_ATTRIB_ARRAY_LONG 0x874E - -#define GLEW_VERSION_4_3 GLEW_GET_VAR(__GLEW_VERSION_4_3) - -#endif /* GL_VERSION_4_3 */ - -/* -------------------------- GL_3DFX_multisample -------------------------- */ - -#ifndef GL_3DFX_multisample -#define GL_3DFX_multisample 1 - -#define GL_MULTISAMPLE_3DFX 0x86B2 -#define GL_SAMPLE_BUFFERS_3DFX 0x86B3 -#define GL_SAMPLES_3DFX 0x86B4 -#define GL_MULTISAMPLE_BIT_3DFX 0x20000000 - -#define GLEW_3DFX_multisample GLEW_GET_VAR(__GLEW_3DFX_multisample) - -#endif /* GL_3DFX_multisample */ - -/* ---------------------------- GL_3DFX_tbuffer ---------------------------- */ - -#ifndef GL_3DFX_tbuffer -#define GL_3DFX_tbuffer 1 - -typedef void (GLAPIENTRY * PFNGLTBUFFERMASK3DFXPROC) (GLuint mask); - -#define glTbufferMask3DFX GLEW_GET_FUN(__glewTbufferMask3DFX) - -#define GLEW_3DFX_tbuffer GLEW_GET_VAR(__GLEW_3DFX_tbuffer) - -#endif /* GL_3DFX_tbuffer */ - -/* -------------------- GL_3DFX_texture_compression_FXT1 ------------------- */ - -#ifndef GL_3DFX_texture_compression_FXT1 -#define GL_3DFX_texture_compression_FXT1 1 - -#define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0 -#define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1 - -#define GLEW_3DFX_texture_compression_FXT1 GLEW_GET_VAR(__GLEW_3DFX_texture_compression_FXT1) - -#endif /* GL_3DFX_texture_compression_FXT1 */ - -/* ----------------------- GL_AMD_blend_minmax_factor ---------------------- */ - -#ifndef GL_AMD_blend_minmax_factor -#define GL_AMD_blend_minmax_factor 1 - -#define GL_FACTOR_MIN_AMD 0x901C -#define GL_FACTOR_MAX_AMD 0x901D - -#define GLEW_AMD_blend_minmax_factor GLEW_GET_VAR(__GLEW_AMD_blend_minmax_factor) - -#endif /* GL_AMD_blend_minmax_factor */ - -/* ----------------------- GL_AMD_conservative_depth ----------------------- */ - -#ifndef GL_AMD_conservative_depth -#define GL_AMD_conservative_depth 1 - -#define GLEW_AMD_conservative_depth GLEW_GET_VAR(__GLEW_AMD_conservative_depth) - -#endif /* GL_AMD_conservative_depth */ - -/* -------------------------- GL_AMD_debug_output -------------------------- */ - -#ifndef GL_AMD_debug_output -#define GL_AMD_debug_output 1 - -#define GL_MAX_DEBUG_MESSAGE_LENGTH_AMD 0x9143 -#define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD 0x9144 -#define GL_DEBUG_LOGGED_MESSAGES_AMD 0x9145 -#define GL_DEBUG_SEVERITY_HIGH_AMD 0x9146 -#define GL_DEBUG_SEVERITY_MEDIUM_AMD 0x9147 -#define GL_DEBUG_SEVERITY_LOW_AMD 0x9148 -#define GL_DEBUG_CATEGORY_API_ERROR_AMD 0x9149 -#define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A -#define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B -#define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C -#define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D -#define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E -#define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F -#define GL_DEBUG_CATEGORY_OTHER_AMD 0x9150 - -typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id, GLenum category, GLenum severity, GLsizei length, const GLchar* message, GLvoid* userParam); - -typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void* userParam); -typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint* ids, GLboolean enabled); -typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar* buf); -typedef GLuint (GLAPIENTRY * PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufsize, GLenum* categories, GLuint* severities, GLuint* ids, GLsizei* lengths, GLchar* message); - -#define glDebugMessageCallbackAMD GLEW_GET_FUN(__glewDebugMessageCallbackAMD) -#define glDebugMessageEnableAMD GLEW_GET_FUN(__glewDebugMessageEnableAMD) -#define glDebugMessageInsertAMD GLEW_GET_FUN(__glewDebugMessageInsertAMD) -#define glGetDebugMessageLogAMD GLEW_GET_FUN(__glewGetDebugMessageLogAMD) - -#define GLEW_AMD_debug_output GLEW_GET_VAR(__GLEW_AMD_debug_output) - -#endif /* GL_AMD_debug_output */ - -/* ---------------------- GL_AMD_depth_clamp_separate ---------------------- */ - -#ifndef GL_AMD_depth_clamp_separate -#define GL_AMD_depth_clamp_separate 1 - -#define GL_DEPTH_CLAMP_NEAR_AMD 0x901E -#define GL_DEPTH_CLAMP_FAR_AMD 0x901F - -#define GLEW_AMD_depth_clamp_separate GLEW_GET_VAR(__GLEW_AMD_depth_clamp_separate) - -#endif /* GL_AMD_depth_clamp_separate */ - -/* ----------------------- GL_AMD_draw_buffers_blend ----------------------- */ - -#ifndef GL_AMD_draw_buffers_blend -#define GL_AMD_draw_buffers_blend 1 - -typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode); -typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); -typedef void (GLAPIENTRY * PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst); -typedef void (GLAPIENTRY * PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); - -#define glBlendEquationIndexedAMD GLEW_GET_FUN(__glewBlendEquationIndexedAMD) -#define glBlendEquationSeparateIndexedAMD GLEW_GET_FUN(__glewBlendEquationSeparateIndexedAMD) -#define glBlendFuncIndexedAMD GLEW_GET_FUN(__glewBlendFuncIndexedAMD) -#define glBlendFuncSeparateIndexedAMD GLEW_GET_FUN(__glewBlendFuncSeparateIndexedAMD) - -#define GLEW_AMD_draw_buffers_blend GLEW_GET_VAR(__GLEW_AMD_draw_buffers_blend) - -#endif /* GL_AMD_draw_buffers_blend */ - -/* ----------------------- GL_AMD_multi_draw_indirect ---------------------- */ - -#ifndef GL_AMD_multi_draw_indirect -#define GL_AMD_multi_draw_indirect 1 - -typedef void (GLAPIENTRY * PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC) (GLenum mode, const void* indirect, GLsizei primcount, GLsizei stride); -typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC) (GLenum mode, GLenum type, const void* indirect, GLsizei primcount, GLsizei stride); - -#define glMultiDrawArraysIndirectAMD GLEW_GET_FUN(__glewMultiDrawArraysIndirectAMD) -#define glMultiDrawElementsIndirectAMD GLEW_GET_FUN(__glewMultiDrawElementsIndirectAMD) - -#define GLEW_AMD_multi_draw_indirect GLEW_GET_VAR(__GLEW_AMD_multi_draw_indirect) - -#endif /* GL_AMD_multi_draw_indirect */ - -/* ------------------------- GL_AMD_name_gen_delete ------------------------ */ - -#ifndef GL_AMD_name_gen_delete -#define GL_AMD_name_gen_delete 1 - -#define GL_DATA_BUFFER_AMD 0x9151 -#define GL_PERFORMANCE_MONITOR_AMD 0x9152 -#define GL_QUERY_OBJECT_AMD 0x9153 -#define GL_VERTEX_ARRAY_OBJECT_AMD 0x9154 -#define GL_SAMPLER_OBJECT_AMD 0x9155 - -typedef void (GLAPIENTRY * PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint* names); -typedef void (GLAPIENTRY * PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint* names); -typedef GLboolean (GLAPIENTRY * PFNGLISNAMEAMDPROC) (GLenum identifier, GLuint name); - -#define glDeleteNamesAMD GLEW_GET_FUN(__glewDeleteNamesAMD) -#define glGenNamesAMD GLEW_GET_FUN(__glewGenNamesAMD) -#define glIsNameAMD GLEW_GET_FUN(__glewIsNameAMD) - -#define GLEW_AMD_name_gen_delete GLEW_GET_VAR(__GLEW_AMD_name_gen_delete) - -#endif /* GL_AMD_name_gen_delete */ - -/* ----------------------- GL_AMD_performance_monitor ---------------------- */ - -#ifndef GL_AMD_performance_monitor -#define GL_AMD_performance_monitor 1 - -#define GL_COUNTER_TYPE_AMD 0x8BC0 -#define GL_COUNTER_RANGE_AMD 0x8BC1 -#define GL_UNSIGNED_INT64_AMD 0x8BC2 -#define GL_PERCENTAGE_AMD 0x8BC3 -#define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 -#define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 -#define GL_PERFMON_RESULT_AMD 0x8BC6 - -typedef void (GLAPIENTRY * PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); -typedef void (GLAPIENTRY * PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint* monitors); -typedef void (GLAPIENTRY * PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); -typedef void (GLAPIENTRY * PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint* monitors); -typedef void (GLAPIENTRY * PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint* data, GLint *bytesWritten); -typedef void (GLAPIENTRY * PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void* data); -typedef void (GLAPIENTRY * PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei* length, GLchar *counterString); -typedef void (GLAPIENTRY * PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint* numCounters, GLint *maxActiveCounters, GLsizei countersSize, GLuint *counters); -typedef void (GLAPIENTRY * PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei* length, GLchar *groupString); -typedef void (GLAPIENTRY * PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint* numGroups, GLsizei groupsSize, GLuint *groups); -typedef void (GLAPIENTRY * PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint* counterList); - -#define glBeginPerfMonitorAMD GLEW_GET_FUN(__glewBeginPerfMonitorAMD) -#define glDeletePerfMonitorsAMD GLEW_GET_FUN(__glewDeletePerfMonitorsAMD) -#define glEndPerfMonitorAMD GLEW_GET_FUN(__glewEndPerfMonitorAMD) -#define glGenPerfMonitorsAMD GLEW_GET_FUN(__glewGenPerfMonitorsAMD) -#define glGetPerfMonitorCounterDataAMD GLEW_GET_FUN(__glewGetPerfMonitorCounterDataAMD) -#define glGetPerfMonitorCounterInfoAMD GLEW_GET_FUN(__glewGetPerfMonitorCounterInfoAMD) -#define glGetPerfMonitorCounterStringAMD GLEW_GET_FUN(__glewGetPerfMonitorCounterStringAMD) -#define glGetPerfMonitorCountersAMD GLEW_GET_FUN(__glewGetPerfMonitorCountersAMD) -#define glGetPerfMonitorGroupStringAMD GLEW_GET_FUN(__glewGetPerfMonitorGroupStringAMD) -#define glGetPerfMonitorGroupsAMD GLEW_GET_FUN(__glewGetPerfMonitorGroupsAMD) -#define glSelectPerfMonitorCountersAMD GLEW_GET_FUN(__glewSelectPerfMonitorCountersAMD) - -#define GLEW_AMD_performance_monitor GLEW_GET_VAR(__GLEW_AMD_performance_monitor) - -#endif /* GL_AMD_performance_monitor */ - -/* -------------------------- GL_AMD_pinned_memory ------------------------- */ - -#ifndef GL_AMD_pinned_memory -#define GL_AMD_pinned_memory 1 - -#define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160 - -#define GLEW_AMD_pinned_memory GLEW_GET_VAR(__GLEW_AMD_pinned_memory) - -#endif /* GL_AMD_pinned_memory */ - -/* ----------------------- GL_AMD_query_buffer_object ---------------------- */ - -#ifndef GL_AMD_query_buffer_object -#define GL_AMD_query_buffer_object 1 - -#define GL_QUERY_BUFFER_AMD 0x9192 -#define GL_QUERY_BUFFER_BINDING_AMD 0x9193 -#define GL_QUERY_RESULT_NO_WAIT_AMD 0x9194 - -#define GLEW_AMD_query_buffer_object GLEW_GET_VAR(__GLEW_AMD_query_buffer_object) - -#endif /* GL_AMD_query_buffer_object */ - -/* ------------------------ GL_AMD_sample_positions ------------------------ */ - -#ifndef GL_AMD_sample_positions -#define GL_AMD_sample_positions 1 - -#define GL_SUBSAMPLE_DISTANCE_AMD 0x883F - -typedef void (GLAPIENTRY * PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat* val); - -#define glSetMultisamplefvAMD GLEW_GET_FUN(__glewSetMultisamplefvAMD) - -#define GLEW_AMD_sample_positions GLEW_GET_VAR(__GLEW_AMD_sample_positions) - -#endif /* GL_AMD_sample_positions */ - -/* ------------------ GL_AMD_seamless_cubemap_per_texture ------------------ */ - -#ifndef GL_AMD_seamless_cubemap_per_texture -#define GL_AMD_seamless_cubemap_per_texture 1 - -#define GL_TEXTURE_CUBE_MAP_SEAMLESS_ARB 0x884F - -#define GLEW_AMD_seamless_cubemap_per_texture GLEW_GET_VAR(__GLEW_AMD_seamless_cubemap_per_texture) - -#endif /* GL_AMD_seamless_cubemap_per_texture */ - -/* ---------------------- GL_AMD_shader_stencil_export --------------------- */ - -#ifndef GL_AMD_shader_stencil_export -#define GL_AMD_shader_stencil_export 1 - -#define GLEW_AMD_shader_stencil_export GLEW_GET_VAR(__GLEW_AMD_shader_stencil_export) - -#endif /* GL_AMD_shader_stencil_export */ - -/* ------------------- GL_AMD_stencil_operation_extended ------------------- */ - -#ifndef GL_AMD_stencil_operation_extended -#define GL_AMD_stencil_operation_extended 1 - -#define GL_SET_AMD 0x874A -#define GL_REPLACE_VALUE_AMD 0x874B -#define GL_STENCIL_OP_VALUE_AMD 0x874C -#define GL_STENCIL_BACK_OP_VALUE_AMD 0x874D - -typedef void (GLAPIENTRY * PFNGLSTENCILOPVALUEAMDPROC) (GLenum face, GLuint value); - -#define glStencilOpValueAMD GLEW_GET_FUN(__glewStencilOpValueAMD) - -#define GLEW_AMD_stencil_operation_extended GLEW_GET_VAR(__GLEW_AMD_stencil_operation_extended) - -#endif /* GL_AMD_stencil_operation_extended */ - -/* ------------------------ GL_AMD_texture_texture4 ------------------------ */ - -#ifndef GL_AMD_texture_texture4 -#define GL_AMD_texture_texture4 1 - -#define GLEW_AMD_texture_texture4 GLEW_GET_VAR(__GLEW_AMD_texture_texture4) - -#endif /* GL_AMD_texture_texture4 */ - -/* --------------- GL_AMD_transform_feedback3_lines_triangles -------------- */ - -#ifndef GL_AMD_transform_feedback3_lines_triangles -#define GL_AMD_transform_feedback3_lines_triangles 1 - -#define GLEW_AMD_transform_feedback3_lines_triangles GLEW_GET_VAR(__GLEW_AMD_transform_feedback3_lines_triangles) - -#endif /* GL_AMD_transform_feedback3_lines_triangles */ - -/* ----------------------- GL_AMD_vertex_shader_layer ---------------------- */ - -#ifndef GL_AMD_vertex_shader_layer -#define GL_AMD_vertex_shader_layer 1 - -#define GLEW_AMD_vertex_shader_layer GLEW_GET_VAR(__GLEW_AMD_vertex_shader_layer) - -#endif /* GL_AMD_vertex_shader_layer */ - -/* -------------------- GL_AMD_vertex_shader_tessellator ------------------- */ - -#ifndef GL_AMD_vertex_shader_tessellator -#define GL_AMD_vertex_shader_tessellator 1 - -#define GL_SAMPLER_BUFFER_AMD 0x9001 -#define GL_INT_SAMPLER_BUFFER_AMD 0x9002 -#define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003 -#define GL_TESSELLATION_MODE_AMD 0x9004 -#define GL_TESSELLATION_FACTOR_AMD 0x9005 -#define GL_DISCRETE_AMD 0x9006 -#define GL_CONTINUOUS_AMD 0x9007 - -typedef void (GLAPIENTRY * PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor); -typedef void (GLAPIENTRY * PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode); - -#define glTessellationFactorAMD GLEW_GET_FUN(__glewTessellationFactorAMD) -#define glTessellationModeAMD GLEW_GET_FUN(__glewTessellationModeAMD) - -#define GLEW_AMD_vertex_shader_tessellator GLEW_GET_VAR(__GLEW_AMD_vertex_shader_tessellator) - -#endif /* GL_AMD_vertex_shader_tessellator */ - -/* ------------------ GL_AMD_vertex_shader_viewport_index ------------------ */ - -#ifndef GL_AMD_vertex_shader_viewport_index -#define GL_AMD_vertex_shader_viewport_index 1 - -#define GLEW_AMD_vertex_shader_viewport_index GLEW_GET_VAR(__GLEW_AMD_vertex_shader_viewport_index) - -#endif /* GL_AMD_vertex_shader_viewport_index */ - -/* ----------------------- GL_APPLE_aux_depth_stencil ---------------------- */ - -#ifndef GL_APPLE_aux_depth_stencil -#define GL_APPLE_aux_depth_stencil 1 - -#define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14 - -#define GLEW_APPLE_aux_depth_stencil GLEW_GET_VAR(__GLEW_APPLE_aux_depth_stencil) - -#endif /* GL_APPLE_aux_depth_stencil */ - -/* ------------------------ GL_APPLE_client_storage ------------------------ */ - -#ifndef GL_APPLE_client_storage -#define GL_APPLE_client_storage 1 - -#define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2 - -#define GLEW_APPLE_client_storage GLEW_GET_VAR(__GLEW_APPLE_client_storage) - -#endif /* GL_APPLE_client_storage */ - -/* ------------------------- GL_APPLE_element_array ------------------------ */ - -#ifndef GL_APPLE_element_array -#define GL_APPLE_element_array 1 - -#define GL_ELEMENT_ARRAY_APPLE 0x8A0C -#define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D -#define GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E - -typedef void (GLAPIENTRY * PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count); -typedef void (GLAPIENTRY * PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count); -typedef void (GLAPIENTRY * PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const void* pointer); -typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint* first, const GLsizei *count, GLsizei primcount); -typedef void (GLAPIENTRY * PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint* first, const GLsizei *count, GLsizei primcount); - -#define glDrawElementArrayAPPLE GLEW_GET_FUN(__glewDrawElementArrayAPPLE) -#define glDrawRangeElementArrayAPPLE GLEW_GET_FUN(__glewDrawRangeElementArrayAPPLE) -#define glElementPointerAPPLE GLEW_GET_FUN(__glewElementPointerAPPLE) -#define glMultiDrawElementArrayAPPLE GLEW_GET_FUN(__glewMultiDrawElementArrayAPPLE) -#define glMultiDrawRangeElementArrayAPPLE GLEW_GET_FUN(__glewMultiDrawRangeElementArrayAPPLE) - -#define GLEW_APPLE_element_array GLEW_GET_VAR(__GLEW_APPLE_element_array) - -#endif /* GL_APPLE_element_array */ - -/* ----------------------------- GL_APPLE_fence ---------------------------- */ - -#ifndef GL_APPLE_fence -#define GL_APPLE_fence 1 - -#define GL_DRAW_PIXELS_APPLE 0x8A0A -#define GL_FENCE_APPLE 0x8A0B - -typedef void (GLAPIENTRY * PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint* fences); -typedef void (GLAPIENTRY * PFNGLFINISHFENCEAPPLEPROC) (GLuint fence); -typedef void (GLAPIENTRY * PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name); -typedef void (GLAPIENTRY * PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint* fences); -typedef GLboolean (GLAPIENTRY * PFNGLISFENCEAPPLEPROC) (GLuint fence); -typedef void (GLAPIENTRY * PFNGLSETFENCEAPPLEPROC) (GLuint fence); -typedef GLboolean (GLAPIENTRY * PFNGLTESTFENCEAPPLEPROC) (GLuint fence); -typedef GLboolean (GLAPIENTRY * PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name); - -#define glDeleteFencesAPPLE GLEW_GET_FUN(__glewDeleteFencesAPPLE) -#define glFinishFenceAPPLE GLEW_GET_FUN(__glewFinishFenceAPPLE) -#define glFinishObjectAPPLE GLEW_GET_FUN(__glewFinishObjectAPPLE) -#define glGenFencesAPPLE GLEW_GET_FUN(__glewGenFencesAPPLE) -#define glIsFenceAPPLE GLEW_GET_FUN(__glewIsFenceAPPLE) -#define glSetFenceAPPLE GLEW_GET_FUN(__glewSetFenceAPPLE) -#define glTestFenceAPPLE GLEW_GET_FUN(__glewTestFenceAPPLE) -#define glTestObjectAPPLE GLEW_GET_FUN(__glewTestObjectAPPLE) - -#define GLEW_APPLE_fence GLEW_GET_VAR(__GLEW_APPLE_fence) - -#endif /* GL_APPLE_fence */ - -/* ------------------------- GL_APPLE_float_pixels ------------------------- */ - -#ifndef GL_APPLE_float_pixels -#define GL_APPLE_float_pixels 1 - -#define GL_HALF_APPLE 0x140B -#define GL_RGBA_FLOAT32_APPLE 0x8814 -#define GL_RGB_FLOAT32_APPLE 0x8815 -#define GL_ALPHA_FLOAT32_APPLE 0x8816 -#define GL_INTENSITY_FLOAT32_APPLE 0x8817 -#define GL_LUMINANCE_FLOAT32_APPLE 0x8818 -#define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819 -#define GL_RGBA_FLOAT16_APPLE 0x881A -#define GL_RGB_FLOAT16_APPLE 0x881B -#define GL_ALPHA_FLOAT16_APPLE 0x881C -#define GL_INTENSITY_FLOAT16_APPLE 0x881D -#define GL_LUMINANCE_FLOAT16_APPLE 0x881E -#define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F -#define GL_COLOR_FLOAT_APPLE 0x8A0F - -#define GLEW_APPLE_float_pixels GLEW_GET_VAR(__GLEW_APPLE_float_pixels) - -#endif /* GL_APPLE_float_pixels */ - -/* ---------------------- GL_APPLE_flush_buffer_range ---------------------- */ - -#ifndef GL_APPLE_flush_buffer_range -#define GL_APPLE_flush_buffer_range 1 - -#define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12 -#define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13 - -typedef void (GLAPIENTRY * PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param); -typedef void (GLAPIENTRY * PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size); - -#define glBufferParameteriAPPLE GLEW_GET_FUN(__glewBufferParameteriAPPLE) -#define glFlushMappedBufferRangeAPPLE GLEW_GET_FUN(__glewFlushMappedBufferRangeAPPLE) - -#define GLEW_APPLE_flush_buffer_range GLEW_GET_VAR(__GLEW_APPLE_flush_buffer_range) - -#endif /* GL_APPLE_flush_buffer_range */ - -/* ----------------------- GL_APPLE_object_purgeable ----------------------- */ - -#ifndef GL_APPLE_object_purgeable -#define GL_APPLE_object_purgeable 1 - -#define GL_BUFFER_OBJECT_APPLE 0x85B3 -#define GL_RELEASED_APPLE 0x8A19 -#define GL_VOLATILE_APPLE 0x8A1A -#define GL_RETAINED_APPLE 0x8A1B -#define GL_UNDEFINED_APPLE 0x8A1C -#define GL_PURGEABLE_APPLE 0x8A1D - -typedef void (GLAPIENTRY * PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint* params); -typedef GLenum (GLAPIENTRY * PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option); -typedef GLenum (GLAPIENTRY * PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option); - -#define glGetObjectParameterivAPPLE GLEW_GET_FUN(__glewGetObjectParameterivAPPLE) -#define glObjectPurgeableAPPLE GLEW_GET_FUN(__glewObjectPurgeableAPPLE) -#define glObjectUnpurgeableAPPLE GLEW_GET_FUN(__glewObjectUnpurgeableAPPLE) - -#define GLEW_APPLE_object_purgeable GLEW_GET_VAR(__GLEW_APPLE_object_purgeable) - -#endif /* GL_APPLE_object_purgeable */ - -/* ------------------------- GL_APPLE_pixel_buffer ------------------------- */ - -#ifndef GL_APPLE_pixel_buffer -#define GL_APPLE_pixel_buffer 1 - -#define GL_MIN_PBUFFER_VIEWPORT_DIMS_APPLE 0x8A10 - -#define GLEW_APPLE_pixel_buffer GLEW_GET_VAR(__GLEW_APPLE_pixel_buffer) - -#endif /* GL_APPLE_pixel_buffer */ - -/* ---------------------------- GL_APPLE_rgb_422 --------------------------- */ - -#ifndef GL_APPLE_rgb_422 -#define GL_APPLE_rgb_422 1 - -#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA -#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB -#define GL_RGB_422_APPLE 0x8A1F - -#define GLEW_APPLE_rgb_422 GLEW_GET_VAR(__GLEW_APPLE_rgb_422) - -#endif /* GL_APPLE_rgb_422 */ - -/* --------------------------- GL_APPLE_row_bytes -------------------------- */ - -#ifndef GL_APPLE_row_bytes -#define GL_APPLE_row_bytes 1 - -#define GL_PACK_ROW_BYTES_APPLE 0x8A15 -#define GL_UNPACK_ROW_BYTES_APPLE 0x8A16 - -#define GLEW_APPLE_row_bytes GLEW_GET_VAR(__GLEW_APPLE_row_bytes) - -#endif /* GL_APPLE_row_bytes */ - -/* ------------------------ GL_APPLE_specular_vector ----------------------- */ - -#ifndef GL_APPLE_specular_vector -#define GL_APPLE_specular_vector 1 - -#define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0 - -#define GLEW_APPLE_specular_vector GLEW_GET_VAR(__GLEW_APPLE_specular_vector) - -#endif /* GL_APPLE_specular_vector */ - -/* ------------------------- GL_APPLE_texture_range ------------------------ */ - -#ifndef GL_APPLE_texture_range -#define GL_APPLE_texture_range 1 - -#define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7 -#define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8 -#define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC -#define GL_STORAGE_PRIVATE_APPLE 0x85BD -#define GL_STORAGE_CACHED_APPLE 0x85BE -#define GL_STORAGE_SHARED_APPLE 0x85BF - -typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, GLvoid **params); -typedef void (GLAPIENTRY * PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, GLvoid *pointer); - -#define glGetTexParameterPointervAPPLE GLEW_GET_FUN(__glewGetTexParameterPointervAPPLE) -#define glTextureRangeAPPLE GLEW_GET_FUN(__glewTextureRangeAPPLE) - -#define GLEW_APPLE_texture_range GLEW_GET_VAR(__GLEW_APPLE_texture_range) - -#endif /* GL_APPLE_texture_range */ - -/* ------------------------ GL_APPLE_transform_hint ------------------------ */ - -#ifndef GL_APPLE_transform_hint -#define GL_APPLE_transform_hint 1 - -#define GL_TRANSFORM_HINT_APPLE 0x85B1 - -#define GLEW_APPLE_transform_hint GLEW_GET_VAR(__GLEW_APPLE_transform_hint) - -#endif /* GL_APPLE_transform_hint */ - -/* ---------------------- GL_APPLE_vertex_array_object --------------------- */ - -#ifndef GL_APPLE_vertex_array_object -#define GL_APPLE_vertex_array_object 1 - -#define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5 - -typedef void (GLAPIENTRY * PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array); -typedef void (GLAPIENTRY * PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint* arrays); -typedef void (GLAPIENTRY * PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint* arrays); -typedef GLboolean (GLAPIENTRY * PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array); - -#define glBindVertexArrayAPPLE GLEW_GET_FUN(__glewBindVertexArrayAPPLE) -#define glDeleteVertexArraysAPPLE GLEW_GET_FUN(__glewDeleteVertexArraysAPPLE) -#define glGenVertexArraysAPPLE GLEW_GET_FUN(__glewGenVertexArraysAPPLE) -#define glIsVertexArrayAPPLE GLEW_GET_FUN(__glewIsVertexArrayAPPLE) - -#define GLEW_APPLE_vertex_array_object GLEW_GET_VAR(__GLEW_APPLE_vertex_array_object) - -#endif /* GL_APPLE_vertex_array_object */ - -/* ---------------------- GL_APPLE_vertex_array_range ---------------------- */ - -#ifndef GL_APPLE_vertex_array_range -#define GL_APPLE_vertex_array_range 1 - -#define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D -#define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E -#define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F -#define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE 0x8520 -#define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521 -#define GL_STORAGE_CLIENT_APPLE 0x85B4 -#define GL_STORAGE_CACHED_APPLE 0x85BE -#define GL_STORAGE_SHARED_APPLE 0x85BF - -typedef void (GLAPIENTRY * PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void* pointer); -typedef void (GLAPIENTRY * PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param); -typedef void (GLAPIENTRY * PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void* pointer); - -#define glFlushVertexArrayRangeAPPLE GLEW_GET_FUN(__glewFlushVertexArrayRangeAPPLE) -#define glVertexArrayParameteriAPPLE GLEW_GET_FUN(__glewVertexArrayParameteriAPPLE) -#define glVertexArrayRangeAPPLE GLEW_GET_FUN(__glewVertexArrayRangeAPPLE) - -#define GLEW_APPLE_vertex_array_range GLEW_GET_VAR(__GLEW_APPLE_vertex_array_range) - -#endif /* GL_APPLE_vertex_array_range */ - -/* ------------------- GL_APPLE_vertex_program_evaluators ------------------ */ - -#ifndef GL_APPLE_vertex_program_evaluators -#define GL_APPLE_vertex_program_evaluators 1 - -#define GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00 -#define GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01 -#define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02 -#define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03 -#define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04 -#define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05 -#define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06 -#define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07 -#define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08 -#define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09 - -typedef void (GLAPIENTRY * PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname); -typedef void (GLAPIENTRY * PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname); -typedef GLboolean (GLAPIENTRY * PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname); -typedef void (GLAPIENTRY * PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble* points); -typedef void (GLAPIENTRY * PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat* points); -typedef void (GLAPIENTRY * PFNGLMAPVERTEXATTRIB2DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble* points); -typedef void (GLAPIENTRY * PFNGLMAPVERTEXATTRIB2FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat* points); - -#define glDisableVertexAttribAPPLE GLEW_GET_FUN(__glewDisableVertexAttribAPPLE) -#define glEnableVertexAttribAPPLE GLEW_GET_FUN(__glewEnableVertexAttribAPPLE) -#define glIsVertexAttribEnabledAPPLE GLEW_GET_FUN(__glewIsVertexAttribEnabledAPPLE) -#define glMapVertexAttrib1dAPPLE GLEW_GET_FUN(__glewMapVertexAttrib1dAPPLE) -#define glMapVertexAttrib1fAPPLE GLEW_GET_FUN(__glewMapVertexAttrib1fAPPLE) -#define glMapVertexAttrib2dAPPLE GLEW_GET_FUN(__glewMapVertexAttrib2dAPPLE) -#define glMapVertexAttrib2fAPPLE GLEW_GET_FUN(__glewMapVertexAttrib2fAPPLE) - -#define GLEW_APPLE_vertex_program_evaluators GLEW_GET_VAR(__GLEW_APPLE_vertex_program_evaluators) - -#endif /* GL_APPLE_vertex_program_evaluators */ - -/* --------------------------- GL_APPLE_ycbcr_422 -------------------------- */ - -#ifndef GL_APPLE_ycbcr_422 -#define GL_APPLE_ycbcr_422 1 - -#define GL_YCBCR_422_APPLE 0x85B9 - -#define GLEW_APPLE_ycbcr_422 GLEW_GET_VAR(__GLEW_APPLE_ycbcr_422) - -#endif /* GL_APPLE_ycbcr_422 */ - -/* ------------------------ GL_ARB_ES2_compatibility ----------------------- */ - -#ifndef GL_ARB_ES2_compatibility -#define GL_ARB_ES2_compatibility 1 - -#define GL_FIXED 0x140C -#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A -#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B -#define GL_RGB565 0x8D62 -#define GL_LOW_FLOAT 0x8DF0 -#define GL_MEDIUM_FLOAT 0x8DF1 -#define GL_HIGH_FLOAT 0x8DF2 -#define GL_LOW_INT 0x8DF3 -#define GL_MEDIUM_INT 0x8DF4 -#define GL_HIGH_INT 0x8DF5 -#define GL_SHADER_BINARY_FORMATS 0x8DF8 -#define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 -#define GL_SHADER_COMPILER 0x8DFA -#define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB -#define GL_MAX_VARYING_VECTORS 0x8DFC -#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD - -typedef void (GLAPIENTRY * PFNGLCLEARDEPTHFPROC) (GLclampf d); -typedef void (GLAPIENTRY * PFNGLDEPTHRANGEFPROC) (GLclampf n, GLclampf f); -typedef void (GLAPIENTRY * PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint* range, GLint *precision); -typedef void (GLAPIENTRY * PFNGLRELEASESHADERCOMPILERPROC) (void); -typedef void (GLAPIENTRY * PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint* shaders, GLenum binaryformat, const GLvoid*binary, GLsizei length); - -#define glClearDepthf GLEW_GET_FUN(__glewClearDepthf) -#define glDepthRangef GLEW_GET_FUN(__glewDepthRangef) -#define glGetShaderPrecisionFormat GLEW_GET_FUN(__glewGetShaderPrecisionFormat) -#define glReleaseShaderCompiler GLEW_GET_FUN(__glewReleaseShaderCompiler) -#define glShaderBinary GLEW_GET_FUN(__glewShaderBinary) - -#define GLEW_ARB_ES2_compatibility GLEW_GET_VAR(__GLEW_ARB_ES2_compatibility) - -#endif /* GL_ARB_ES2_compatibility */ - -/* ------------------------ GL_ARB_ES3_compatibility ----------------------- */ - -#ifndef GL_ARB_ES3_compatibility -#define GL_ARB_ES3_compatibility 1 - -#define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69 -#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A -#define GL_MAX_ELEMENT_INDEX 0x8D6B -#define GL_COMPRESSED_R11_EAC 0x9270 -#define GL_COMPRESSED_SIGNED_R11_EAC 0x9271 -#define GL_COMPRESSED_RG11_EAC 0x9272 -#define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273 -#define GL_COMPRESSED_RGB8_ETC2 0x9274 -#define GL_COMPRESSED_SRGB8_ETC2 0x9275 -#define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276 -#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277 -#define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278 -#define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279 - -#define GLEW_ARB_ES3_compatibility GLEW_GET_VAR(__GLEW_ARB_ES3_compatibility) - -#endif /* GL_ARB_ES3_compatibility */ - -/* ------------------------ GL_ARB_arrays_of_arrays ------------------------ */ - -#ifndef GL_ARB_arrays_of_arrays -#define GL_ARB_arrays_of_arrays 1 - -#define GLEW_ARB_arrays_of_arrays GLEW_GET_VAR(__GLEW_ARB_arrays_of_arrays) - -#endif /* GL_ARB_arrays_of_arrays */ - -/* -------------------------- GL_ARB_base_instance ------------------------- */ - -#ifndef GL_ARB_base_instance -#define GL_ARB_base_instance 1 - -typedef void (GLAPIENTRY * PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount, GLuint baseinstance); -typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount, GLuint baseinstance); -typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount, GLint basevertex, GLuint baseinstance); - -#define glDrawArraysInstancedBaseInstance GLEW_GET_FUN(__glewDrawArraysInstancedBaseInstance) -#define glDrawElementsInstancedBaseInstance GLEW_GET_FUN(__glewDrawElementsInstancedBaseInstance) -#define glDrawElementsInstancedBaseVertexBaseInstance GLEW_GET_FUN(__glewDrawElementsInstancedBaseVertexBaseInstance) - -#define GLEW_ARB_base_instance GLEW_GET_VAR(__GLEW_ARB_base_instance) - -#endif /* GL_ARB_base_instance */ - -/* ----------------------- GL_ARB_blend_func_extended ---------------------- */ - -#ifndef GL_ARB_blend_func_extended -#define GL_ARB_blend_func_extended 1 - -#define GL_SRC1_COLOR 0x88F9 -#define GL_ONE_MINUS_SRC1_COLOR 0x88FA -#define GL_ONE_MINUS_SRC1_ALPHA 0x88FB -#define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC - -typedef void (GLAPIENTRY * PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar * name); -typedef GLint (GLAPIENTRY * PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar * name); - -#define glBindFragDataLocationIndexed GLEW_GET_FUN(__glewBindFragDataLocationIndexed) -#define glGetFragDataIndex GLEW_GET_FUN(__glewGetFragDataIndex) - -#define GLEW_ARB_blend_func_extended GLEW_GET_VAR(__GLEW_ARB_blend_func_extended) - -#endif /* GL_ARB_blend_func_extended */ - -/* ---------------------------- GL_ARB_cl_event ---------------------------- */ - -#ifndef GL_ARB_cl_event -#define GL_ARB_cl_event 1 - -#define GL_SYNC_CL_EVENT_ARB 0x8240 -#define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241 - -typedef struct _cl_context *cl_context; -typedef struct _cl_event *cl_event; - -typedef GLsync (GLAPIENTRY * PFNGLCREATESYNCFROMCLEVENTARBPROC) (cl_context context, cl_event event, GLbitfield flags); - -#define glCreateSyncFromCLeventARB GLEW_GET_FUN(__glewCreateSyncFromCLeventARB) - -#define GLEW_ARB_cl_event GLEW_GET_VAR(__GLEW_ARB_cl_event) - -#endif /* GL_ARB_cl_event */ - -/* ----------------------- GL_ARB_clear_buffer_object ---------------------- */ - -#ifndef GL_ARB_clear_buffer_object -#define GL_ARB_clear_buffer_object 1 - -typedef void (GLAPIENTRY * PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const GLvoid* data); -typedef void (GLAPIENTRY * PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const GLvoid* data); -typedef void (GLAPIENTRY * PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const GLvoid* data); -typedef void (GLAPIENTRY * PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const GLvoid* data); - -#define glClearBufferData GLEW_GET_FUN(__glewClearBufferData) -#define glClearBufferSubData GLEW_GET_FUN(__glewClearBufferSubData) -#define glClearNamedBufferDataEXT GLEW_GET_FUN(__glewClearNamedBufferDataEXT) -#define glClearNamedBufferSubDataEXT GLEW_GET_FUN(__glewClearNamedBufferSubDataEXT) - -#define GLEW_ARB_clear_buffer_object GLEW_GET_VAR(__GLEW_ARB_clear_buffer_object) - -#endif /* GL_ARB_clear_buffer_object */ - -/* ----------------------- GL_ARB_color_buffer_float ----------------------- */ - -#ifndef GL_ARB_color_buffer_float -#define GL_ARB_color_buffer_float 1 - -#define GL_RGBA_FLOAT_MODE_ARB 0x8820 -#define GL_CLAMP_VERTEX_COLOR_ARB 0x891A -#define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B -#define GL_CLAMP_READ_COLOR_ARB 0x891C -#define GL_FIXED_ONLY_ARB 0x891D - -typedef void (GLAPIENTRY * PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp); - -#define glClampColorARB GLEW_GET_FUN(__glewClampColorARB) - -#define GLEW_ARB_color_buffer_float GLEW_GET_VAR(__GLEW_ARB_color_buffer_float) - -#endif /* GL_ARB_color_buffer_float */ - -/* -------------------------- GL_ARB_compatibility ------------------------- */ - -#ifndef GL_ARB_compatibility -#define GL_ARB_compatibility 1 - -#define GLEW_ARB_compatibility GLEW_GET_VAR(__GLEW_ARB_compatibility) - -#endif /* GL_ARB_compatibility */ - -/* ---------------- GL_ARB_compressed_texture_pixel_storage ---------------- */ - -#ifndef GL_ARB_compressed_texture_pixel_storage -#define GL_ARB_compressed_texture_pixel_storage 1 - -#define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127 -#define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128 -#define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129 -#define GL_UNPACK_COMPRESSED_BLOCK_SIZE 0x912A -#define GL_PACK_COMPRESSED_BLOCK_WIDTH 0x912B -#define GL_PACK_COMPRESSED_BLOCK_HEIGHT 0x912C -#define GL_PACK_COMPRESSED_BLOCK_DEPTH 0x912D -#define GL_PACK_COMPRESSED_BLOCK_SIZE 0x912E - -#define GLEW_ARB_compressed_texture_pixel_storage GLEW_GET_VAR(__GLEW_ARB_compressed_texture_pixel_storage) - -#endif /* GL_ARB_compressed_texture_pixel_storage */ - -/* ------------------------- GL_ARB_compute_shader ------------------------- */ - -#ifndef GL_ARB_compute_shader -#define GL_ARB_compute_shader 1 - -#define GL_COMPUTE_SHADER_BIT 0x00000020 -#define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262 -#define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263 -#define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264 -#define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265 -#define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266 -#define GL_COMPUTE_WORK_GROUP_SIZE 0x8267 -#define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB -#define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED -#define GL_DISPATCH_INDIRECT_BUFFER 0x90EE -#define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF -#define GL_COMPUTE_SHADER 0x91B9 -#define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB -#define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC -#define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD -#define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE -#define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF - -typedef void (GLAPIENTRY * PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); -typedef void (GLAPIENTRY * PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect); - -#define glDispatchCompute GLEW_GET_FUN(__glewDispatchCompute) -#define glDispatchComputeIndirect GLEW_GET_FUN(__glewDispatchComputeIndirect) - -#define GLEW_ARB_compute_shader GLEW_GET_VAR(__GLEW_ARB_compute_shader) - -#endif /* GL_ARB_compute_shader */ - -/* ----------------------- GL_ARB_conservative_depth ----------------------- */ - -#ifndef GL_ARB_conservative_depth -#define GL_ARB_conservative_depth 1 - -#define GLEW_ARB_conservative_depth GLEW_GET_VAR(__GLEW_ARB_conservative_depth) - -#endif /* GL_ARB_conservative_depth */ - -/* --------------------------- GL_ARB_copy_buffer -------------------------- */ - -#ifndef GL_ARB_copy_buffer -#define GL_ARB_copy_buffer 1 - -#define GL_COPY_READ_BUFFER 0x8F36 -#define GL_COPY_WRITE_BUFFER 0x8F37 - -typedef void (GLAPIENTRY * PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readtarget, GLenum writetarget, GLintptr readoffset, GLintptr writeoffset, GLsizeiptr size); - -#define glCopyBufferSubData GLEW_GET_FUN(__glewCopyBufferSubData) - -#define GLEW_ARB_copy_buffer GLEW_GET_VAR(__GLEW_ARB_copy_buffer) - -#endif /* GL_ARB_copy_buffer */ - -/* --------------------------- GL_ARB_copy_image --------------------------- */ - -#ifndef GL_ARB_copy_image -#define GL_ARB_copy_image 1 - -typedef void (GLAPIENTRY * PFNGLCOPYIMAGESUBDATAPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); - -#define glCopyImageSubData GLEW_GET_FUN(__glewCopyImageSubData) - -#define GLEW_ARB_copy_image GLEW_GET_VAR(__GLEW_ARB_copy_image) - -#endif /* GL_ARB_copy_image */ - -/* -------------------------- GL_ARB_debug_output -------------------------- */ - -#ifndef GL_ARB_debug_output -#define GL_ARB_debug_output 1 - -#define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242 -#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243 -#define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244 -#define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245 -#define GL_DEBUG_SOURCE_API_ARB 0x8246 -#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247 -#define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248 -#define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249 -#define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A -#define GL_DEBUG_SOURCE_OTHER_ARB 0x824B -#define GL_DEBUG_TYPE_ERROR_ARB 0x824C -#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D -#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E -#define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F -#define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250 -#define GL_DEBUG_TYPE_OTHER_ARB 0x8251 -#define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143 -#define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144 -#define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145 -#define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146 -#define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147 -#define GL_DEBUG_SEVERITY_LOW_ARB 0x9148 - -typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, GLvoid* userParam); - -typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, void* userParam); -typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint* ids, GLboolean enabled); -typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* buf); -typedef GLuint (GLAPIENTRY * PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufsize, GLenum* sources, GLenum* types, GLuint* ids, GLenum* severities, GLsizei* lengths, GLchar* messageLog); - -#define glDebugMessageCallbackARB GLEW_GET_FUN(__glewDebugMessageCallbackARB) -#define glDebugMessageControlARB GLEW_GET_FUN(__glewDebugMessageControlARB) -#define glDebugMessageInsertARB GLEW_GET_FUN(__glewDebugMessageInsertARB) -#define glGetDebugMessageLogARB GLEW_GET_FUN(__glewGetDebugMessageLogARB) - -#define GLEW_ARB_debug_output GLEW_GET_VAR(__GLEW_ARB_debug_output) - -#endif /* GL_ARB_debug_output */ - -/* ----------------------- GL_ARB_depth_buffer_float ----------------------- */ - -#ifndef GL_ARB_depth_buffer_float -#define GL_ARB_depth_buffer_float 1 - -#define GL_DEPTH_COMPONENT32F 0x8CAC -#define GL_DEPTH32F_STENCIL8 0x8CAD -#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD - -#define GLEW_ARB_depth_buffer_float GLEW_GET_VAR(__GLEW_ARB_depth_buffer_float) - -#endif /* GL_ARB_depth_buffer_float */ - -/* --------------------------- GL_ARB_depth_clamp -------------------------- */ - -#ifndef GL_ARB_depth_clamp -#define GL_ARB_depth_clamp 1 - -#define GL_DEPTH_CLAMP 0x864F - -#define GLEW_ARB_depth_clamp GLEW_GET_VAR(__GLEW_ARB_depth_clamp) - -#endif /* GL_ARB_depth_clamp */ - -/* -------------------------- GL_ARB_depth_texture ------------------------- */ - -#ifndef GL_ARB_depth_texture -#define GL_ARB_depth_texture 1 - -#define GL_DEPTH_COMPONENT16_ARB 0x81A5 -#define GL_DEPTH_COMPONENT24_ARB 0x81A6 -#define GL_DEPTH_COMPONENT32_ARB 0x81A7 -#define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A -#define GL_DEPTH_TEXTURE_MODE_ARB 0x884B - -#define GLEW_ARB_depth_texture GLEW_GET_VAR(__GLEW_ARB_depth_texture) - -#endif /* GL_ARB_depth_texture */ - -/* -------------------------- GL_ARB_draw_buffers -------------------------- */ - -#ifndef GL_ARB_draw_buffers -#define GL_ARB_draw_buffers 1 - -#define GL_MAX_DRAW_BUFFERS_ARB 0x8824 -#define GL_DRAW_BUFFER0_ARB 0x8825 -#define GL_DRAW_BUFFER1_ARB 0x8826 -#define GL_DRAW_BUFFER2_ARB 0x8827 -#define GL_DRAW_BUFFER3_ARB 0x8828 -#define GL_DRAW_BUFFER4_ARB 0x8829 -#define GL_DRAW_BUFFER5_ARB 0x882A -#define GL_DRAW_BUFFER6_ARB 0x882B -#define GL_DRAW_BUFFER7_ARB 0x882C -#define GL_DRAW_BUFFER8_ARB 0x882D -#define GL_DRAW_BUFFER9_ARB 0x882E -#define GL_DRAW_BUFFER10_ARB 0x882F -#define GL_DRAW_BUFFER11_ARB 0x8830 -#define GL_DRAW_BUFFER12_ARB 0x8831 -#define GL_DRAW_BUFFER13_ARB 0x8832 -#define GL_DRAW_BUFFER14_ARB 0x8833 -#define GL_DRAW_BUFFER15_ARB 0x8834 - -typedef void (GLAPIENTRY * PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum* bufs); - -#define glDrawBuffersARB GLEW_GET_FUN(__glewDrawBuffersARB) - -#define GLEW_ARB_draw_buffers GLEW_GET_VAR(__GLEW_ARB_draw_buffers) - -#endif /* GL_ARB_draw_buffers */ - -/* ----------------------- GL_ARB_draw_buffers_blend ----------------------- */ - -#ifndef GL_ARB_draw_buffers_blend -#define GL_ARB_draw_buffers_blend 1 - -typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); -typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode); -typedef void (GLAPIENTRY * PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -typedef void (GLAPIENTRY * PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst); - -#define glBlendEquationSeparateiARB GLEW_GET_FUN(__glewBlendEquationSeparateiARB) -#define glBlendEquationiARB GLEW_GET_FUN(__glewBlendEquationiARB) -#define glBlendFuncSeparateiARB GLEW_GET_FUN(__glewBlendFuncSeparateiARB) -#define glBlendFunciARB GLEW_GET_FUN(__glewBlendFunciARB) - -#define GLEW_ARB_draw_buffers_blend GLEW_GET_VAR(__GLEW_ARB_draw_buffers_blend) - -#endif /* GL_ARB_draw_buffers_blend */ - -/* -------------------- GL_ARB_draw_elements_base_vertex ------------------- */ - -#ifndef GL_ARB_draw_elements_base_vertex -#define GL_ARB_draw_elements_base_vertex 1 - -typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, void* indices, GLint basevertex); -typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount, GLint basevertex); -typedef void (GLAPIENTRY * PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, void* indices, GLint basevertex); -typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei* count, GLenum type, GLvoid**indices, GLsizei primcount, GLint *basevertex); - -#define glDrawElementsBaseVertex GLEW_GET_FUN(__glewDrawElementsBaseVertex) -#define glDrawElementsInstancedBaseVertex GLEW_GET_FUN(__glewDrawElementsInstancedBaseVertex) -#define glDrawRangeElementsBaseVertex GLEW_GET_FUN(__glewDrawRangeElementsBaseVertex) -#define glMultiDrawElementsBaseVertex GLEW_GET_FUN(__glewMultiDrawElementsBaseVertex) - -#define GLEW_ARB_draw_elements_base_vertex GLEW_GET_VAR(__GLEW_ARB_draw_elements_base_vertex) - -#endif /* GL_ARB_draw_elements_base_vertex */ - -/* -------------------------- GL_ARB_draw_indirect ------------------------- */ - -#ifndef GL_ARB_draw_indirect -#define GL_ARB_draw_indirect 1 - -#define GL_DRAW_INDIRECT_BUFFER 0x8F3F -#define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43 - -typedef void (GLAPIENTRY * PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void* indirect); -typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void* indirect); - -#define glDrawArraysIndirect GLEW_GET_FUN(__glewDrawArraysIndirect) -#define glDrawElementsIndirect GLEW_GET_FUN(__glewDrawElementsIndirect) - -#define GLEW_ARB_draw_indirect GLEW_GET_VAR(__GLEW_ARB_draw_indirect) - -#endif /* GL_ARB_draw_indirect */ - -/* ------------------------- GL_ARB_draw_instanced ------------------------- */ - -#ifndef GL_ARB_draw_instanced -#define GL_ARB_draw_instanced 1 - -#define GLEW_ARB_draw_instanced GLEW_GET_VAR(__GLEW_ARB_draw_instanced) - -#endif /* GL_ARB_draw_instanced */ - -/* -------------------- GL_ARB_explicit_attrib_location -------------------- */ - -#ifndef GL_ARB_explicit_attrib_location -#define GL_ARB_explicit_attrib_location 1 - -#define GLEW_ARB_explicit_attrib_location GLEW_GET_VAR(__GLEW_ARB_explicit_attrib_location) - -#endif /* GL_ARB_explicit_attrib_location */ - -/* -------------------- GL_ARB_explicit_uniform_location ------------------- */ - -#ifndef GL_ARB_explicit_uniform_location -#define GL_ARB_explicit_uniform_location 1 - -#define GL_MAX_UNIFORM_LOCATIONS 0x826E - -#define GLEW_ARB_explicit_uniform_location GLEW_GET_VAR(__GLEW_ARB_explicit_uniform_location) - -#endif /* GL_ARB_explicit_uniform_location */ - -/* ------------------- GL_ARB_fragment_coord_conventions ------------------- */ - -#ifndef GL_ARB_fragment_coord_conventions -#define GL_ARB_fragment_coord_conventions 1 - -#define GLEW_ARB_fragment_coord_conventions GLEW_GET_VAR(__GLEW_ARB_fragment_coord_conventions) - -#endif /* GL_ARB_fragment_coord_conventions */ - -/* --------------------- GL_ARB_fragment_layer_viewport -------------------- */ - -#ifndef GL_ARB_fragment_layer_viewport -#define GL_ARB_fragment_layer_viewport 1 - -#define GLEW_ARB_fragment_layer_viewport GLEW_GET_VAR(__GLEW_ARB_fragment_layer_viewport) - -#endif /* GL_ARB_fragment_layer_viewport */ - -/* ------------------------ GL_ARB_fragment_program ------------------------ */ - -#ifndef GL_ARB_fragment_program -#define GL_ARB_fragment_program 1 - -#define GL_FRAGMENT_PROGRAM_ARB 0x8804 -#define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805 -#define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806 -#define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807 -#define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808 -#define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809 -#define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A -#define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B -#define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C -#define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D -#define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E -#define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F -#define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810 -#define GL_MAX_TEXTURE_COORDS_ARB 0x8871 -#define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872 - -#define GLEW_ARB_fragment_program GLEW_GET_VAR(__GLEW_ARB_fragment_program) - -#endif /* GL_ARB_fragment_program */ - -/* --------------------- GL_ARB_fragment_program_shadow -------------------- */ - -#ifndef GL_ARB_fragment_program_shadow -#define GL_ARB_fragment_program_shadow 1 - -#define GLEW_ARB_fragment_program_shadow GLEW_GET_VAR(__GLEW_ARB_fragment_program_shadow) - -#endif /* GL_ARB_fragment_program_shadow */ - -/* ------------------------- GL_ARB_fragment_shader ------------------------ */ - -#ifndef GL_ARB_fragment_shader -#define GL_ARB_fragment_shader 1 - -#define GL_FRAGMENT_SHADER_ARB 0x8B30 -#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49 -#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B - -#define GLEW_ARB_fragment_shader GLEW_GET_VAR(__GLEW_ARB_fragment_shader) - -#endif /* GL_ARB_fragment_shader */ - -/* ------------------- GL_ARB_framebuffer_no_attachments ------------------- */ - -#ifndef GL_ARB_framebuffer_no_attachments -#define GL_ARB_framebuffer_no_attachments 1 - -#define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310 -#define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311 -#define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312 -#define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313 -#define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314 -#define GL_MAX_FRAMEBUFFER_WIDTH 0x9315 -#define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316 -#define GL_MAX_FRAMEBUFFER_LAYERS 0x9317 -#define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318 - -typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); -typedef void (GLAPIENTRY * PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param); - -#define glFramebufferParameteri GLEW_GET_FUN(__glewFramebufferParameteri) -#define glGetFramebufferParameteriv GLEW_GET_FUN(__glewGetFramebufferParameteriv) -#define glGetNamedFramebufferParameterivEXT GLEW_GET_FUN(__glewGetNamedFramebufferParameterivEXT) -#define glNamedFramebufferParameteriEXT GLEW_GET_FUN(__glewNamedFramebufferParameteriEXT) - -#define GLEW_ARB_framebuffer_no_attachments GLEW_GET_VAR(__GLEW_ARB_framebuffer_no_attachments) - -#endif /* GL_ARB_framebuffer_no_attachments */ - -/* ----------------------- GL_ARB_framebuffer_object ----------------------- */ - -#ifndef GL_ARB_framebuffer_object -#define GL_ARB_framebuffer_object 1 - -#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 -#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 -#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 -#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 -#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 -#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 -#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 -#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 -#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 -#define GL_FRAMEBUFFER_DEFAULT 0x8218 -#define GL_FRAMEBUFFER_UNDEFINED 0x8219 -#define GL_DEPTH_STENCIL_ATTACHMENT 0x821A -#define GL_INDEX 0x8222 -#define GL_MAX_RENDERBUFFER_SIZE 0x84E8 -#define GL_DEPTH_STENCIL 0x84F9 -#define GL_UNSIGNED_INT_24_8 0x84FA -#define GL_DEPTH24_STENCIL8 0x88F0 -#define GL_TEXTURE_STENCIL_SIZE 0x88F1 -#define GL_UNSIGNED_NORMALIZED 0x8C17 -#define GL_SRGB 0x8C40 -#define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6 -#define GL_FRAMEBUFFER_BINDING 0x8CA6 -#define GL_RENDERBUFFER_BINDING 0x8CA7 -#define GL_READ_FRAMEBUFFER 0x8CA8 -#define GL_DRAW_FRAMEBUFFER 0x8CA9 -#define GL_READ_FRAMEBUFFER_BINDING 0x8CAA -#define GL_RENDERBUFFER_SAMPLES 0x8CAB -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 -#define GL_FRAMEBUFFER_COMPLETE 0x8CD5 -#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 -#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 -#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB -#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC -#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD -#define GL_MAX_COLOR_ATTACHMENTS 0x8CDF -#define GL_COLOR_ATTACHMENT0 0x8CE0 -#define GL_COLOR_ATTACHMENT1 0x8CE1 -#define GL_COLOR_ATTACHMENT2 0x8CE2 -#define GL_COLOR_ATTACHMENT3 0x8CE3 -#define GL_COLOR_ATTACHMENT4 0x8CE4 -#define GL_COLOR_ATTACHMENT5 0x8CE5 -#define GL_COLOR_ATTACHMENT6 0x8CE6 -#define GL_COLOR_ATTACHMENT7 0x8CE7 -#define GL_COLOR_ATTACHMENT8 0x8CE8 -#define GL_COLOR_ATTACHMENT9 0x8CE9 -#define GL_COLOR_ATTACHMENT10 0x8CEA -#define GL_COLOR_ATTACHMENT11 0x8CEB -#define GL_COLOR_ATTACHMENT12 0x8CEC -#define GL_COLOR_ATTACHMENT13 0x8CED -#define GL_COLOR_ATTACHMENT14 0x8CEE -#define GL_COLOR_ATTACHMENT15 0x8CEF -#define GL_DEPTH_ATTACHMENT 0x8D00 -#define GL_STENCIL_ATTACHMENT 0x8D20 -#define GL_FRAMEBUFFER 0x8D40 -#define GL_RENDERBUFFER 0x8D41 -#define GL_RENDERBUFFER_WIDTH 0x8D42 -#define GL_RENDERBUFFER_HEIGHT 0x8D43 -#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 -#define GL_STENCIL_INDEX1 0x8D46 -#define GL_STENCIL_INDEX4 0x8D47 -#define GL_STENCIL_INDEX8 0x8D48 -#define GL_STENCIL_INDEX16 0x8D49 -#define GL_RENDERBUFFER_RED_SIZE 0x8D50 -#define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 -#define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 -#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 -#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 -#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 -#define GL_MAX_SAMPLES 0x8D57 - -typedef void (GLAPIENTRY * PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer); -typedef void (GLAPIENTRY * PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer); -typedef void (GLAPIENTRY * PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -typedef GLenum (GLAPIENTRY * PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target); -typedef void (GLAPIENTRY * PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint* framebuffers); -typedef void (GLAPIENTRY * PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint* renderbuffers); -typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint layer); -typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target,GLenum attachment, GLuint texture,GLint level,GLint layer); -typedef void (GLAPIENTRY * PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint* framebuffers); -typedef void (GLAPIENTRY * PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint* renderbuffers); -typedef void (GLAPIENTRY * PFNGLGENERATEMIPMAPPROC) (GLenum target); -typedef void (GLAPIENTRY * PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint* params); -typedef GLboolean (GLAPIENTRY * PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer); -typedef GLboolean (GLAPIENTRY * PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer); -typedef void (GLAPIENTRY * PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GLAPIENTRY * PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); - -#define glBindFramebuffer GLEW_GET_FUN(__glewBindFramebuffer) -#define glBindRenderbuffer GLEW_GET_FUN(__glewBindRenderbuffer) -#define glBlitFramebuffer GLEW_GET_FUN(__glewBlitFramebuffer) -#define glCheckFramebufferStatus GLEW_GET_FUN(__glewCheckFramebufferStatus) -#define glDeleteFramebuffers GLEW_GET_FUN(__glewDeleteFramebuffers) -#define glDeleteRenderbuffers GLEW_GET_FUN(__glewDeleteRenderbuffers) -#define glFramebufferRenderbuffer GLEW_GET_FUN(__glewFramebufferRenderbuffer) -#define glFramebufferTexture1D GLEW_GET_FUN(__glewFramebufferTexture1D) -#define glFramebufferTexture2D GLEW_GET_FUN(__glewFramebufferTexture2D) -#define glFramebufferTexture3D GLEW_GET_FUN(__glewFramebufferTexture3D) -#define glFramebufferTextureLayer GLEW_GET_FUN(__glewFramebufferTextureLayer) -#define glGenFramebuffers GLEW_GET_FUN(__glewGenFramebuffers) -#define glGenRenderbuffers GLEW_GET_FUN(__glewGenRenderbuffers) -#define glGenerateMipmap GLEW_GET_FUN(__glewGenerateMipmap) -#define glGetFramebufferAttachmentParameteriv GLEW_GET_FUN(__glewGetFramebufferAttachmentParameteriv) -#define glGetRenderbufferParameteriv GLEW_GET_FUN(__glewGetRenderbufferParameteriv) -#define glIsFramebuffer GLEW_GET_FUN(__glewIsFramebuffer) -#define glIsRenderbuffer GLEW_GET_FUN(__glewIsRenderbuffer) -#define glRenderbufferStorage GLEW_GET_FUN(__glewRenderbufferStorage) -#define glRenderbufferStorageMultisample GLEW_GET_FUN(__glewRenderbufferStorageMultisample) - -#define GLEW_ARB_framebuffer_object GLEW_GET_VAR(__GLEW_ARB_framebuffer_object) - -#endif /* GL_ARB_framebuffer_object */ - -/* ------------------------ GL_ARB_framebuffer_sRGB ------------------------ */ - -#ifndef GL_ARB_framebuffer_sRGB -#define GL_ARB_framebuffer_sRGB 1 - -#define GL_FRAMEBUFFER_SRGB 0x8DB9 - -#define GLEW_ARB_framebuffer_sRGB GLEW_GET_VAR(__GLEW_ARB_framebuffer_sRGB) - -#endif /* GL_ARB_framebuffer_sRGB */ - -/* ------------------------ GL_ARB_geometry_shader4 ------------------------ */ - -#ifndef GL_ARB_geometry_shader4 -#define GL_ARB_geometry_shader4 1 - -#define GL_LINES_ADJACENCY_ARB 0xA -#define GL_LINE_STRIP_ADJACENCY_ARB 0xB -#define GL_TRIANGLES_ADJACENCY_ARB 0xC -#define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0xD -#define GL_PROGRAM_POINT_SIZE_ARB 0x8642 -#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 -#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9 -#define GL_GEOMETRY_SHADER_ARB 0x8DD9 -#define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA -#define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB -#define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC -#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD -#define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE -#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF -#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0 -#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1 - -typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); -typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); -typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value); - -#define glFramebufferTextureARB GLEW_GET_FUN(__glewFramebufferTextureARB) -#define glFramebufferTextureFaceARB GLEW_GET_FUN(__glewFramebufferTextureFaceARB) -#define glFramebufferTextureLayerARB GLEW_GET_FUN(__glewFramebufferTextureLayerARB) -#define glProgramParameteriARB GLEW_GET_FUN(__glewProgramParameteriARB) - -#define GLEW_ARB_geometry_shader4 GLEW_GET_VAR(__GLEW_ARB_geometry_shader4) - -#endif /* GL_ARB_geometry_shader4 */ - -/* ----------------------- GL_ARB_get_program_binary ----------------------- */ - -#ifndef GL_ARB_get_program_binary -#define GL_ARB_get_program_binary 1 - -#define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257 -#define GL_PROGRAM_BINARY_LENGTH 0x8741 -#define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE -#define GL_PROGRAM_BINARY_FORMATS 0x87FF - -typedef void (GLAPIENTRY * PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei* length, GLenum *binaryFormat, GLvoid*binary); -typedef void (GLAPIENTRY * PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void* binary, GLsizei length); -typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value); - -#define glGetProgramBinary GLEW_GET_FUN(__glewGetProgramBinary) -#define glProgramBinary GLEW_GET_FUN(__glewProgramBinary) -#define glProgramParameteri GLEW_GET_FUN(__glewProgramParameteri) - -#define GLEW_ARB_get_program_binary GLEW_GET_VAR(__GLEW_ARB_get_program_binary) - -#endif /* GL_ARB_get_program_binary */ - -/* --------------------------- GL_ARB_gpu_shader5 -------------------------- */ - -#ifndef GL_ARB_gpu_shader5 -#define GL_ARB_gpu_shader5 1 - -#define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F -#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A -#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B -#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C -#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D -#define GL_MAX_VERTEX_STREAMS 0x8E71 - -#define GLEW_ARB_gpu_shader5 GLEW_GET_VAR(__GLEW_ARB_gpu_shader5) - -#endif /* GL_ARB_gpu_shader5 */ - -/* ------------------------- GL_ARB_gpu_shader_fp64 ------------------------ */ - -#ifndef GL_ARB_gpu_shader_fp64 -#define GL_ARB_gpu_shader_fp64 1 - -#define GL_DOUBLE_MAT2 0x8F46 -#define GL_DOUBLE_MAT3 0x8F47 -#define GL_DOUBLE_MAT4 0x8F48 -#define GL_DOUBLE_MAT2x3 0x8F49 -#define GL_DOUBLE_MAT2x4 0x8F4A -#define GL_DOUBLE_MAT3x2 0x8F4B -#define GL_DOUBLE_MAT3x4 0x8F4C -#define GL_DOUBLE_MAT4x2 0x8F4D -#define GL_DOUBLE_MAT4x3 0x8F4E -#define GL_DOUBLE_VEC2 0x8FFC -#define GL_DOUBLE_VEC3 0x8FFD -#define GL_DOUBLE_VEC4 0x8FFE - -typedef void (GLAPIENTRY * PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble* params); -typedef void (GLAPIENTRY * PFNGLUNIFORM1DPROC) (GLint location, GLdouble x); -typedef void (GLAPIENTRY * PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y); -typedef void (GLAPIENTRY * PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z); -typedef void (GLAPIENTRY * PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (GLAPIENTRY * PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value); - -#define glGetUniformdv GLEW_GET_FUN(__glewGetUniformdv) -#define glUniform1d GLEW_GET_FUN(__glewUniform1d) -#define glUniform1dv GLEW_GET_FUN(__glewUniform1dv) -#define glUniform2d GLEW_GET_FUN(__glewUniform2d) -#define glUniform2dv GLEW_GET_FUN(__glewUniform2dv) -#define glUniform3d GLEW_GET_FUN(__glewUniform3d) -#define glUniform3dv GLEW_GET_FUN(__glewUniform3dv) -#define glUniform4d GLEW_GET_FUN(__glewUniform4d) -#define glUniform4dv GLEW_GET_FUN(__glewUniform4dv) -#define glUniformMatrix2dv GLEW_GET_FUN(__glewUniformMatrix2dv) -#define glUniformMatrix2x3dv GLEW_GET_FUN(__glewUniformMatrix2x3dv) -#define glUniformMatrix2x4dv GLEW_GET_FUN(__glewUniformMatrix2x4dv) -#define glUniformMatrix3dv GLEW_GET_FUN(__glewUniformMatrix3dv) -#define glUniformMatrix3x2dv GLEW_GET_FUN(__glewUniformMatrix3x2dv) -#define glUniformMatrix3x4dv GLEW_GET_FUN(__glewUniformMatrix3x4dv) -#define glUniformMatrix4dv GLEW_GET_FUN(__glewUniformMatrix4dv) -#define glUniformMatrix4x2dv GLEW_GET_FUN(__glewUniformMatrix4x2dv) -#define glUniformMatrix4x3dv GLEW_GET_FUN(__glewUniformMatrix4x3dv) - -#define GLEW_ARB_gpu_shader_fp64 GLEW_GET_VAR(__GLEW_ARB_gpu_shader_fp64) - -#endif /* GL_ARB_gpu_shader_fp64 */ - -/* ------------------------ GL_ARB_half_float_pixel ------------------------ */ - -#ifndef GL_ARB_half_float_pixel -#define GL_ARB_half_float_pixel 1 - -#define GL_HALF_FLOAT_ARB 0x140B - -#define GLEW_ARB_half_float_pixel GLEW_GET_VAR(__GLEW_ARB_half_float_pixel) - -#endif /* GL_ARB_half_float_pixel */ - -/* ------------------------ GL_ARB_half_float_vertex ----------------------- */ - -#ifndef GL_ARB_half_float_vertex -#define GL_ARB_half_float_vertex 1 - -#define GL_HALF_FLOAT 0x140B - -#define GLEW_ARB_half_float_vertex GLEW_GET_VAR(__GLEW_ARB_half_float_vertex) - -#endif /* GL_ARB_half_float_vertex */ - -/* ----------------------------- GL_ARB_imaging ---------------------------- */ - -#ifndef GL_ARB_imaging -#define GL_ARB_imaging 1 - -#define GL_CONSTANT_COLOR 0x8001 -#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 -#define GL_CONSTANT_ALPHA 0x8003 -#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 -#define GL_BLEND_COLOR 0x8005 -#define GL_FUNC_ADD 0x8006 -#define GL_MIN 0x8007 -#define GL_MAX 0x8008 -#define GL_BLEND_EQUATION 0x8009 -#define GL_FUNC_SUBTRACT 0x800A -#define GL_FUNC_REVERSE_SUBTRACT 0x800B -#define GL_CONVOLUTION_1D 0x8010 -#define GL_CONVOLUTION_2D 0x8011 -#define GL_SEPARABLE_2D 0x8012 -#define GL_CONVOLUTION_BORDER_MODE 0x8013 -#define GL_CONVOLUTION_FILTER_SCALE 0x8014 -#define GL_CONVOLUTION_FILTER_BIAS 0x8015 -#define GL_REDUCE 0x8016 -#define GL_CONVOLUTION_FORMAT 0x8017 -#define GL_CONVOLUTION_WIDTH 0x8018 -#define GL_CONVOLUTION_HEIGHT 0x8019 -#define GL_MAX_CONVOLUTION_WIDTH 0x801A -#define GL_MAX_CONVOLUTION_HEIGHT 0x801B -#define GL_POST_CONVOLUTION_RED_SCALE 0x801C -#define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D -#define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E -#define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F -#define GL_POST_CONVOLUTION_RED_BIAS 0x8020 -#define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021 -#define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022 -#define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023 -#define GL_HISTOGRAM 0x8024 -#define GL_PROXY_HISTOGRAM 0x8025 -#define GL_HISTOGRAM_WIDTH 0x8026 -#define GL_HISTOGRAM_FORMAT 0x8027 -#define GL_HISTOGRAM_RED_SIZE 0x8028 -#define GL_HISTOGRAM_GREEN_SIZE 0x8029 -#define GL_HISTOGRAM_BLUE_SIZE 0x802A -#define GL_HISTOGRAM_ALPHA_SIZE 0x802B -#define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C -#define GL_HISTOGRAM_SINK 0x802D -#define GL_MINMAX 0x802E -#define GL_MINMAX_FORMAT 0x802F -#define GL_MINMAX_SINK 0x8030 -#define GL_TABLE_TOO_LARGE 0x8031 -#define GL_COLOR_MATRIX 0x80B1 -#define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2 -#define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3 -#define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4 -#define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5 -#define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6 -#define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7 -#define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8 -#define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9 -#define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA -#define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB -#define GL_COLOR_TABLE 0x80D0 -#define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1 -#define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2 -#define GL_PROXY_COLOR_TABLE 0x80D3 -#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4 -#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5 -#define GL_COLOR_TABLE_SCALE 0x80D6 -#define GL_COLOR_TABLE_BIAS 0x80D7 -#define GL_COLOR_TABLE_FORMAT 0x80D8 -#define GL_COLOR_TABLE_WIDTH 0x80D9 -#define GL_COLOR_TABLE_RED_SIZE 0x80DA -#define GL_COLOR_TABLE_GREEN_SIZE 0x80DB -#define GL_COLOR_TABLE_BLUE_SIZE 0x80DC -#define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD -#define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE -#define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF -#define GL_IGNORE_BORDER 0x8150 -#define GL_CONSTANT_BORDER 0x8151 -#define GL_WRAP_BORDER 0x8152 -#define GL_REPLICATE_BORDER 0x8153 -#define GL_CONVOLUTION_BORDER_COLOR 0x8154 - -typedef void (GLAPIENTRY * PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); -typedef void (GLAPIENTRY * PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); -typedef void (GLAPIENTRY * PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (GLAPIENTRY * PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (GLAPIENTRY * PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); -typedef void (GLAPIENTRY * PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); -typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params); -typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params); -typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (GLAPIENTRY * PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); -typedef void (GLAPIENTRY * PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -typedef void (GLAPIENTRY * PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -typedef void (GLAPIENTRY * PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table); -typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image); -typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); -typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (GLAPIENTRY * PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values); -typedef void (GLAPIENTRY * PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (GLAPIENTRY * PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (GLAPIENTRY * PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); -typedef void (GLAPIENTRY * PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); -typedef void (GLAPIENTRY * PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink); -typedef void (GLAPIENTRY * PFNGLRESETHISTOGRAMPROC) (GLenum target); -typedef void (GLAPIENTRY * PFNGLRESETMINMAXPROC) (GLenum target); -typedef void (GLAPIENTRY * PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); - -#define glColorSubTable GLEW_GET_FUN(__glewColorSubTable) -#define glColorTable GLEW_GET_FUN(__glewColorTable) -#define glColorTableParameterfv GLEW_GET_FUN(__glewColorTableParameterfv) -#define glColorTableParameteriv GLEW_GET_FUN(__glewColorTableParameteriv) -#define glConvolutionFilter1D GLEW_GET_FUN(__glewConvolutionFilter1D) -#define glConvolutionFilter2D GLEW_GET_FUN(__glewConvolutionFilter2D) -#define glConvolutionParameterf GLEW_GET_FUN(__glewConvolutionParameterf) -#define glConvolutionParameterfv GLEW_GET_FUN(__glewConvolutionParameterfv) -#define glConvolutionParameteri GLEW_GET_FUN(__glewConvolutionParameteri) -#define glConvolutionParameteriv GLEW_GET_FUN(__glewConvolutionParameteriv) -#define glCopyColorSubTable GLEW_GET_FUN(__glewCopyColorSubTable) -#define glCopyColorTable GLEW_GET_FUN(__glewCopyColorTable) -#define glCopyConvolutionFilter1D GLEW_GET_FUN(__glewCopyConvolutionFilter1D) -#define glCopyConvolutionFilter2D GLEW_GET_FUN(__glewCopyConvolutionFilter2D) -#define glGetColorTable GLEW_GET_FUN(__glewGetColorTable) -#define glGetColorTableParameterfv GLEW_GET_FUN(__glewGetColorTableParameterfv) -#define glGetColorTableParameteriv GLEW_GET_FUN(__glewGetColorTableParameteriv) -#define glGetConvolutionFilter GLEW_GET_FUN(__glewGetConvolutionFilter) -#define glGetConvolutionParameterfv GLEW_GET_FUN(__glewGetConvolutionParameterfv) -#define glGetConvolutionParameteriv GLEW_GET_FUN(__glewGetConvolutionParameteriv) -#define glGetHistogram GLEW_GET_FUN(__glewGetHistogram) -#define glGetHistogramParameterfv GLEW_GET_FUN(__glewGetHistogramParameterfv) -#define glGetHistogramParameteriv GLEW_GET_FUN(__glewGetHistogramParameteriv) -#define glGetMinmax GLEW_GET_FUN(__glewGetMinmax) -#define glGetMinmaxParameterfv GLEW_GET_FUN(__glewGetMinmaxParameterfv) -#define glGetMinmaxParameteriv GLEW_GET_FUN(__glewGetMinmaxParameteriv) -#define glGetSeparableFilter GLEW_GET_FUN(__glewGetSeparableFilter) -#define glHistogram GLEW_GET_FUN(__glewHistogram) -#define glMinmax GLEW_GET_FUN(__glewMinmax) -#define glResetHistogram GLEW_GET_FUN(__glewResetHistogram) -#define glResetMinmax GLEW_GET_FUN(__glewResetMinmax) -#define glSeparableFilter2D GLEW_GET_FUN(__glewSeparableFilter2D) - -#define GLEW_ARB_imaging GLEW_GET_VAR(__GLEW_ARB_imaging) - -#endif /* GL_ARB_imaging */ - -/* ------------------------ GL_ARB_instanced_arrays ------------------------ */ - -#ifndef GL_ARB_instanced_arrays -#define GL_ARB_instanced_arrays 1 - -#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE - -typedef void (GLAPIENTRY * PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); -typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor); - -#define glDrawArraysInstancedARB GLEW_GET_FUN(__glewDrawArraysInstancedARB) -#define glDrawElementsInstancedARB GLEW_GET_FUN(__glewDrawElementsInstancedARB) -#define glVertexAttribDivisorARB GLEW_GET_FUN(__glewVertexAttribDivisorARB) - -#define GLEW_ARB_instanced_arrays GLEW_GET_VAR(__GLEW_ARB_instanced_arrays) - -#endif /* GL_ARB_instanced_arrays */ - -/* ---------------------- GL_ARB_internalformat_query ---------------------- */ - -#ifndef GL_ARB_internalformat_query -#define GL_ARB_internalformat_query 1 - -#define GL_NUM_SAMPLE_COUNTS 0x9380 - -typedef void (GLAPIENTRY * PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint* params); - -#define glGetInternalformativ GLEW_GET_FUN(__glewGetInternalformativ) - -#define GLEW_ARB_internalformat_query GLEW_GET_VAR(__GLEW_ARB_internalformat_query) - -#endif /* GL_ARB_internalformat_query */ - -/* ---------------------- GL_ARB_internalformat_query2 --------------------- */ - -#ifndef GL_ARB_internalformat_query2 -#define GL_ARB_internalformat_query2 1 - -#define GL_TEXTURE_1D 0x0DE0 -#define GL_TEXTURE_2D 0x0DE1 -#define GL_TEXTURE_3D 0x806F -#define GL_SAMPLES 0x80A9 -#define GL_INTERNALFORMAT_SUPPORTED 0x826F -#define GL_INTERNALFORMAT_PREFERRED 0x8270 -#define GL_INTERNALFORMAT_RED_SIZE 0x8271 -#define GL_INTERNALFORMAT_GREEN_SIZE 0x8272 -#define GL_INTERNALFORMAT_BLUE_SIZE 0x8273 -#define GL_INTERNALFORMAT_ALPHA_SIZE 0x8274 -#define GL_INTERNALFORMAT_DEPTH_SIZE 0x8275 -#define GL_INTERNALFORMAT_STENCIL_SIZE 0x8276 -#define GL_INTERNALFORMAT_SHARED_SIZE 0x8277 -#define GL_INTERNALFORMAT_RED_TYPE 0x8278 -#define GL_INTERNALFORMAT_GREEN_TYPE 0x8279 -#define GL_INTERNALFORMAT_BLUE_TYPE 0x827A -#define GL_INTERNALFORMAT_ALPHA_TYPE 0x827B -#define GL_INTERNALFORMAT_DEPTH_TYPE 0x827C -#define GL_INTERNALFORMAT_STENCIL_TYPE 0x827D -#define GL_MAX_WIDTH 0x827E -#define GL_MAX_HEIGHT 0x827F -#define GL_MAX_DEPTH 0x8280 -#define GL_MAX_LAYERS 0x8281 -#define GL_MAX_COMBINED_DIMENSIONS 0x8282 -#define GL_COLOR_COMPONENTS 0x8283 -#define GL_DEPTH_COMPONENTS 0x8284 -#define GL_STENCIL_COMPONENTS 0x8285 -#define GL_COLOR_RENDERABLE 0x8286 -#define GL_DEPTH_RENDERABLE 0x8287 -#define GL_STENCIL_RENDERABLE 0x8288 -#define GL_FRAMEBUFFER_RENDERABLE 0x8289 -#define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A -#define GL_FRAMEBUFFER_BLEND 0x828B -#define GL_READ_PIXELS 0x828C -#define GL_READ_PIXELS_FORMAT 0x828D -#define GL_READ_PIXELS_TYPE 0x828E -#define GL_TEXTURE_IMAGE_FORMAT 0x828F -#define GL_TEXTURE_IMAGE_TYPE 0x8290 -#define GL_GET_TEXTURE_IMAGE_FORMAT 0x8291 -#define GL_GET_TEXTURE_IMAGE_TYPE 0x8292 -#define GL_MIPMAP 0x8293 -#define GL_MANUAL_GENERATE_MIPMAP 0x8294 -#define GL_AUTO_GENERATE_MIPMAP 0x8295 -#define GL_COLOR_ENCODING 0x8296 -#define GL_SRGB_READ 0x8297 -#define GL_SRGB_WRITE 0x8298 -#define GL_SRGB_DECODE_ARB 0x8299 -#define GL_FILTER 0x829A -#define GL_VERTEX_TEXTURE 0x829B -#define GL_TESS_CONTROL_TEXTURE 0x829C -#define GL_TESS_EVALUATION_TEXTURE 0x829D -#define GL_GEOMETRY_TEXTURE 0x829E -#define GL_FRAGMENT_TEXTURE 0x829F -#define GL_COMPUTE_TEXTURE 0x82A0 -#define GL_TEXTURE_SHADOW 0x82A1 -#define GL_TEXTURE_GATHER 0x82A2 -#define GL_TEXTURE_GATHER_SHADOW 0x82A3 -#define GL_SHADER_IMAGE_LOAD 0x82A4 -#define GL_SHADER_IMAGE_STORE 0x82A5 -#define GL_SHADER_IMAGE_ATOMIC 0x82A6 -#define GL_IMAGE_TEXEL_SIZE 0x82A7 -#define GL_IMAGE_COMPATIBILITY_CLASS 0x82A8 -#define GL_IMAGE_PIXEL_FORMAT 0x82A9 -#define GL_IMAGE_PIXEL_TYPE 0x82AA -#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC -#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD -#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE -#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF -#define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1 -#define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2 -#define GL_TEXTURE_COMPRESSED_BLOCK_SIZE 0x82B3 -#define GL_CLEAR_BUFFER 0x82B4 -#define GL_TEXTURE_VIEW 0x82B5 -#define GL_VIEW_COMPATIBILITY_CLASS 0x82B6 -#define GL_FULL_SUPPORT 0x82B7 -#define GL_CAVEAT_SUPPORT 0x82B8 -#define GL_IMAGE_CLASS_4_X_32 0x82B9 -#define GL_IMAGE_CLASS_2_X_32 0x82BA -#define GL_IMAGE_CLASS_1_X_32 0x82BB -#define GL_IMAGE_CLASS_4_X_16 0x82BC -#define GL_IMAGE_CLASS_2_X_16 0x82BD -#define GL_IMAGE_CLASS_1_X_16 0x82BE -#define GL_IMAGE_CLASS_4_X_8 0x82BF -#define GL_IMAGE_CLASS_2_X_8 0x82C0 -#define GL_IMAGE_CLASS_1_X_8 0x82C1 -#define GL_IMAGE_CLASS_11_11_10 0x82C2 -#define GL_IMAGE_CLASS_10_10_10_2 0x82C3 -#define GL_VIEW_CLASS_128_BITS 0x82C4 -#define GL_VIEW_CLASS_96_BITS 0x82C5 -#define GL_VIEW_CLASS_64_BITS 0x82C6 -#define GL_VIEW_CLASS_48_BITS 0x82C7 -#define GL_VIEW_CLASS_32_BITS 0x82C8 -#define GL_VIEW_CLASS_24_BITS 0x82C9 -#define GL_VIEW_CLASS_16_BITS 0x82CA -#define GL_VIEW_CLASS_8_BITS 0x82CB -#define GL_VIEW_CLASS_S3TC_DXT1_RGB 0x82CC -#define GL_VIEW_CLASS_S3TC_DXT1_RGBA 0x82CD -#define GL_VIEW_CLASS_S3TC_DXT3_RGBA 0x82CE -#define GL_VIEW_CLASS_S3TC_DXT5_RGBA 0x82CF -#define GL_VIEW_CLASS_RGTC1_RED 0x82D0 -#define GL_VIEW_CLASS_RGTC2_RG 0x82D1 -#define GL_VIEW_CLASS_BPTC_UNORM 0x82D2 -#define GL_VIEW_CLASS_BPTC_FLOAT 0x82D3 -#define GL_TEXTURE_RECTANGLE 0x84F5 -#define GL_TEXTURE_1D_ARRAY 0x8C18 -#define GL_TEXTURE_2D_ARRAY 0x8C1A -#define GL_TEXTURE_BUFFER 0x8C2A -#define GL_RENDERBUFFER 0x8D41 -#define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009 -#define GL_TEXTURE_2D_MULTISAMPLE 0x9100 -#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102 -#define GL_NUM_SAMPLE_COUNTS 0x9380 - -typedef void (GLAPIENTRY * PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64* params); - -#define glGetInternalformati64v GLEW_GET_FUN(__glewGetInternalformati64v) - -#define GLEW_ARB_internalformat_query2 GLEW_GET_VAR(__GLEW_ARB_internalformat_query2) - -#endif /* GL_ARB_internalformat_query2 */ - -/* ----------------------- GL_ARB_invalidate_subdata ----------------------- */ - -#ifndef GL_ARB_invalidate_subdata -#define GL_ARB_invalidate_subdata 1 - -typedef void (GLAPIENTRY * PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer); -typedef void (GLAPIENTRY * PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length); -typedef void (GLAPIENTRY * PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum* attachments); -typedef void (GLAPIENTRY * PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum* attachments, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GLAPIENTRY * PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level); -typedef void (GLAPIENTRY * PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); - -#define glInvalidateBufferData GLEW_GET_FUN(__glewInvalidateBufferData) -#define glInvalidateBufferSubData GLEW_GET_FUN(__glewInvalidateBufferSubData) -#define glInvalidateFramebuffer GLEW_GET_FUN(__glewInvalidateFramebuffer) -#define glInvalidateSubFramebuffer GLEW_GET_FUN(__glewInvalidateSubFramebuffer) -#define glInvalidateTexImage GLEW_GET_FUN(__glewInvalidateTexImage) -#define glInvalidateTexSubImage GLEW_GET_FUN(__glewInvalidateTexSubImage) - -#define GLEW_ARB_invalidate_subdata GLEW_GET_VAR(__GLEW_ARB_invalidate_subdata) - -#endif /* GL_ARB_invalidate_subdata */ - -/* ---------------------- GL_ARB_map_buffer_alignment ---------------------- */ - -#ifndef GL_ARB_map_buffer_alignment -#define GL_ARB_map_buffer_alignment 1 - -#define GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC - -#define GLEW_ARB_map_buffer_alignment GLEW_GET_VAR(__GLEW_ARB_map_buffer_alignment) - -#endif /* GL_ARB_map_buffer_alignment */ - -/* ------------------------ GL_ARB_map_buffer_range ------------------------ */ - -#ifndef GL_ARB_map_buffer_range -#define GL_ARB_map_buffer_range 1 - -#define GL_MAP_READ_BIT 0x0001 -#define GL_MAP_WRITE_BIT 0x0002 -#define GL_MAP_INVALIDATE_RANGE_BIT 0x0004 -#define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 -#define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 -#define GL_MAP_UNSYNCHRONIZED_BIT 0x0020 - -typedef void (GLAPIENTRY * PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length); -typedef GLvoid * (GLAPIENTRY * PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); - -#define glFlushMappedBufferRange GLEW_GET_FUN(__glewFlushMappedBufferRange) -#define glMapBufferRange GLEW_GET_FUN(__glewMapBufferRange) - -#define GLEW_ARB_map_buffer_range GLEW_GET_VAR(__GLEW_ARB_map_buffer_range) - -#endif /* GL_ARB_map_buffer_range */ - -/* ------------------------- GL_ARB_matrix_palette ------------------------- */ - -#ifndef GL_ARB_matrix_palette -#define GL_ARB_matrix_palette 1 - -#define GL_MATRIX_PALETTE_ARB 0x8840 -#define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841 -#define GL_MAX_PALETTE_MATRICES_ARB 0x8842 -#define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843 -#define GL_MATRIX_INDEX_ARRAY_ARB 0x8844 -#define GL_CURRENT_MATRIX_INDEX_ARB 0x8845 -#define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846 -#define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847 -#define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848 -#define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849 - -typedef void (GLAPIENTRY * PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index); -typedef void (GLAPIENTRY * PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer); -typedef void (GLAPIENTRY * PFNGLMATRIXINDEXUBVARBPROC) (GLint size, GLubyte *indices); -typedef void (GLAPIENTRY * PFNGLMATRIXINDEXUIVARBPROC) (GLint size, GLuint *indices); -typedef void (GLAPIENTRY * PFNGLMATRIXINDEXUSVARBPROC) (GLint size, GLushort *indices); - -#define glCurrentPaletteMatrixARB GLEW_GET_FUN(__glewCurrentPaletteMatrixARB) -#define glMatrixIndexPointerARB GLEW_GET_FUN(__glewMatrixIndexPointerARB) -#define glMatrixIndexubvARB GLEW_GET_FUN(__glewMatrixIndexubvARB) -#define glMatrixIndexuivARB GLEW_GET_FUN(__glewMatrixIndexuivARB) -#define glMatrixIndexusvARB GLEW_GET_FUN(__glewMatrixIndexusvARB) - -#define GLEW_ARB_matrix_palette GLEW_GET_VAR(__GLEW_ARB_matrix_palette) - -#endif /* GL_ARB_matrix_palette */ - -/* ----------------------- GL_ARB_multi_draw_indirect ---------------------- */ - -#ifndef GL_ARB_multi_draw_indirect -#define GL_ARB_multi_draw_indirect 1 - -typedef void (GLAPIENTRY * PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void* indirect, GLsizei primcount, GLsizei stride); -typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void* indirect, GLsizei primcount, GLsizei stride); - -#define glMultiDrawArraysIndirect GLEW_GET_FUN(__glewMultiDrawArraysIndirect) -#define glMultiDrawElementsIndirect GLEW_GET_FUN(__glewMultiDrawElementsIndirect) - -#define GLEW_ARB_multi_draw_indirect GLEW_GET_VAR(__GLEW_ARB_multi_draw_indirect) - -#endif /* GL_ARB_multi_draw_indirect */ - -/* --------------------------- GL_ARB_multisample -------------------------- */ - -#ifndef GL_ARB_multisample -#define GL_ARB_multisample 1 - -#define GL_MULTISAMPLE_ARB 0x809D -#define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E -#define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F -#define GL_SAMPLE_COVERAGE_ARB 0x80A0 -#define GL_SAMPLE_BUFFERS_ARB 0x80A8 -#define GL_SAMPLES_ARB 0x80A9 -#define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA -#define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB -#define GL_MULTISAMPLE_BIT_ARB 0x20000000 - -typedef void (GLAPIENTRY * PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert); - -#define glSampleCoverageARB GLEW_GET_FUN(__glewSampleCoverageARB) - -#define GLEW_ARB_multisample GLEW_GET_VAR(__GLEW_ARB_multisample) - -#endif /* GL_ARB_multisample */ - -/* -------------------------- GL_ARB_multitexture -------------------------- */ - -#ifndef GL_ARB_multitexture -#define GL_ARB_multitexture 1 - -#define GL_TEXTURE0_ARB 0x84C0 -#define GL_TEXTURE1_ARB 0x84C1 -#define GL_TEXTURE2_ARB 0x84C2 -#define GL_TEXTURE3_ARB 0x84C3 -#define GL_TEXTURE4_ARB 0x84C4 -#define GL_TEXTURE5_ARB 0x84C5 -#define GL_TEXTURE6_ARB 0x84C6 -#define GL_TEXTURE7_ARB 0x84C7 -#define GL_TEXTURE8_ARB 0x84C8 -#define GL_TEXTURE9_ARB 0x84C9 -#define GL_TEXTURE10_ARB 0x84CA -#define GL_TEXTURE11_ARB 0x84CB -#define GL_TEXTURE12_ARB 0x84CC -#define GL_TEXTURE13_ARB 0x84CD -#define GL_TEXTURE14_ARB 0x84CE -#define GL_TEXTURE15_ARB 0x84CF -#define GL_TEXTURE16_ARB 0x84D0 -#define GL_TEXTURE17_ARB 0x84D1 -#define GL_TEXTURE18_ARB 0x84D2 -#define GL_TEXTURE19_ARB 0x84D3 -#define GL_TEXTURE20_ARB 0x84D4 -#define GL_TEXTURE21_ARB 0x84D5 -#define GL_TEXTURE22_ARB 0x84D6 -#define GL_TEXTURE23_ARB 0x84D7 -#define GL_TEXTURE24_ARB 0x84D8 -#define GL_TEXTURE25_ARB 0x84D9 -#define GL_TEXTURE26_ARB 0x84DA -#define GL_TEXTURE27_ARB 0x84DB -#define GL_TEXTURE28_ARB 0x84DC -#define GL_TEXTURE29_ARB 0x84DD -#define GL_TEXTURE30_ARB 0x84DE -#define GL_TEXTURE31_ARB 0x84DF -#define GL_ACTIVE_TEXTURE_ARB 0x84E0 -#define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1 -#define GL_MAX_TEXTURE_UNITS_ARB 0x84E2 - -typedef void (GLAPIENTRY * PFNGLACTIVETEXTUREARBPROC) (GLenum texture); -typedef void (GLAPIENTRY * PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v); - -#define glActiveTextureARB GLEW_GET_FUN(__glewActiveTextureARB) -#define glClientActiveTextureARB GLEW_GET_FUN(__glewClientActiveTextureARB) -#define glMultiTexCoord1dARB GLEW_GET_FUN(__glewMultiTexCoord1dARB) -#define glMultiTexCoord1dvARB GLEW_GET_FUN(__glewMultiTexCoord1dvARB) -#define glMultiTexCoord1fARB GLEW_GET_FUN(__glewMultiTexCoord1fARB) -#define glMultiTexCoord1fvARB GLEW_GET_FUN(__glewMultiTexCoord1fvARB) -#define glMultiTexCoord1iARB GLEW_GET_FUN(__glewMultiTexCoord1iARB) -#define glMultiTexCoord1ivARB GLEW_GET_FUN(__glewMultiTexCoord1ivARB) -#define glMultiTexCoord1sARB GLEW_GET_FUN(__glewMultiTexCoord1sARB) -#define glMultiTexCoord1svARB GLEW_GET_FUN(__glewMultiTexCoord1svARB) -#define glMultiTexCoord2dARB GLEW_GET_FUN(__glewMultiTexCoord2dARB) -#define glMultiTexCoord2dvARB GLEW_GET_FUN(__glewMultiTexCoord2dvARB) -#define glMultiTexCoord2fARB GLEW_GET_FUN(__glewMultiTexCoord2fARB) -#define glMultiTexCoord2fvARB GLEW_GET_FUN(__glewMultiTexCoord2fvARB) -#define glMultiTexCoord2iARB GLEW_GET_FUN(__glewMultiTexCoord2iARB) -#define glMultiTexCoord2ivARB GLEW_GET_FUN(__glewMultiTexCoord2ivARB) -#define glMultiTexCoord2sARB GLEW_GET_FUN(__glewMultiTexCoord2sARB) -#define glMultiTexCoord2svARB GLEW_GET_FUN(__glewMultiTexCoord2svARB) -#define glMultiTexCoord3dARB GLEW_GET_FUN(__glewMultiTexCoord3dARB) -#define glMultiTexCoord3dvARB GLEW_GET_FUN(__glewMultiTexCoord3dvARB) -#define glMultiTexCoord3fARB GLEW_GET_FUN(__glewMultiTexCoord3fARB) -#define glMultiTexCoord3fvARB GLEW_GET_FUN(__glewMultiTexCoord3fvARB) -#define glMultiTexCoord3iARB GLEW_GET_FUN(__glewMultiTexCoord3iARB) -#define glMultiTexCoord3ivARB GLEW_GET_FUN(__glewMultiTexCoord3ivARB) -#define glMultiTexCoord3sARB GLEW_GET_FUN(__glewMultiTexCoord3sARB) -#define glMultiTexCoord3svARB GLEW_GET_FUN(__glewMultiTexCoord3svARB) -#define glMultiTexCoord4dARB GLEW_GET_FUN(__glewMultiTexCoord4dARB) -#define glMultiTexCoord4dvARB GLEW_GET_FUN(__glewMultiTexCoord4dvARB) -#define glMultiTexCoord4fARB GLEW_GET_FUN(__glewMultiTexCoord4fARB) -#define glMultiTexCoord4fvARB GLEW_GET_FUN(__glewMultiTexCoord4fvARB) -#define glMultiTexCoord4iARB GLEW_GET_FUN(__glewMultiTexCoord4iARB) -#define glMultiTexCoord4ivARB GLEW_GET_FUN(__glewMultiTexCoord4ivARB) -#define glMultiTexCoord4sARB GLEW_GET_FUN(__glewMultiTexCoord4sARB) -#define glMultiTexCoord4svARB GLEW_GET_FUN(__glewMultiTexCoord4svARB) - -#define GLEW_ARB_multitexture GLEW_GET_VAR(__GLEW_ARB_multitexture) - -#endif /* GL_ARB_multitexture */ - -/* ------------------------- GL_ARB_occlusion_query ------------------------ */ - -#ifndef GL_ARB_occlusion_query -#define GL_ARB_occlusion_query 1 - -#define GL_QUERY_COUNTER_BITS_ARB 0x8864 -#define GL_CURRENT_QUERY_ARB 0x8865 -#define GL_QUERY_RESULT_ARB 0x8866 -#define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867 -#define GL_SAMPLES_PASSED_ARB 0x8914 - -typedef void (GLAPIENTRY * PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id); -typedef void (GLAPIENTRY * PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint* ids); -typedef void (GLAPIENTRY * PFNGLENDQUERYARBPROC) (GLenum target); -typedef void (GLAPIENTRY * PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint* ids); -typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint* params); -typedef void (GLAPIENTRY * PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint* params); -typedef GLboolean (GLAPIENTRY * PFNGLISQUERYARBPROC) (GLuint id); - -#define glBeginQueryARB GLEW_GET_FUN(__glewBeginQueryARB) -#define glDeleteQueriesARB GLEW_GET_FUN(__glewDeleteQueriesARB) -#define glEndQueryARB GLEW_GET_FUN(__glewEndQueryARB) -#define glGenQueriesARB GLEW_GET_FUN(__glewGenQueriesARB) -#define glGetQueryObjectivARB GLEW_GET_FUN(__glewGetQueryObjectivARB) -#define glGetQueryObjectuivARB GLEW_GET_FUN(__glewGetQueryObjectuivARB) -#define glGetQueryivARB GLEW_GET_FUN(__glewGetQueryivARB) -#define glIsQueryARB GLEW_GET_FUN(__glewIsQueryARB) - -#define GLEW_ARB_occlusion_query GLEW_GET_VAR(__GLEW_ARB_occlusion_query) - -#endif /* GL_ARB_occlusion_query */ - -/* ------------------------ GL_ARB_occlusion_query2 ------------------------ */ - -#ifndef GL_ARB_occlusion_query2 -#define GL_ARB_occlusion_query2 1 - -#define GL_ANY_SAMPLES_PASSED 0x8C2F - -#define GLEW_ARB_occlusion_query2 GLEW_GET_VAR(__GLEW_ARB_occlusion_query2) - -#endif /* GL_ARB_occlusion_query2 */ - -/* ----------------------- GL_ARB_pixel_buffer_object ---------------------- */ - -#ifndef GL_ARB_pixel_buffer_object -#define GL_ARB_pixel_buffer_object 1 - -#define GL_PIXEL_PACK_BUFFER_ARB 0x88EB -#define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC -#define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED -#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF - -#define GLEW_ARB_pixel_buffer_object GLEW_GET_VAR(__GLEW_ARB_pixel_buffer_object) - -#endif /* GL_ARB_pixel_buffer_object */ - -/* ------------------------ GL_ARB_point_parameters ------------------------ */ - -#ifndef GL_ARB_point_parameters -#define GL_ARB_point_parameters 1 - -#define GL_POINT_SIZE_MIN_ARB 0x8126 -#define GL_POINT_SIZE_MAX_ARB 0x8127 -#define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128 -#define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129 - -typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param); -typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat* params); - -#define glPointParameterfARB GLEW_GET_FUN(__glewPointParameterfARB) -#define glPointParameterfvARB GLEW_GET_FUN(__glewPointParameterfvARB) - -#define GLEW_ARB_point_parameters GLEW_GET_VAR(__GLEW_ARB_point_parameters) - -#endif /* GL_ARB_point_parameters */ - -/* -------------------------- GL_ARB_point_sprite -------------------------- */ - -#ifndef GL_ARB_point_sprite -#define GL_ARB_point_sprite 1 - -#define GL_POINT_SPRITE_ARB 0x8861 -#define GL_COORD_REPLACE_ARB 0x8862 - -#define GLEW_ARB_point_sprite GLEW_GET_VAR(__GLEW_ARB_point_sprite) - -#endif /* GL_ARB_point_sprite */ - -/* --------------------- GL_ARB_program_interface_query -------------------- */ - -#ifndef GL_ARB_program_interface_query -#define GL_ARB_program_interface_query 1 - -#define GL_UNIFORM 0x92E1 -#define GL_UNIFORM_BLOCK 0x92E2 -#define GL_PROGRAM_INPUT 0x92E3 -#define GL_PROGRAM_OUTPUT 0x92E4 -#define GL_BUFFER_VARIABLE 0x92E5 -#define GL_SHADER_STORAGE_BLOCK 0x92E6 -#define GL_IS_PER_PATCH 0x92E7 -#define GL_VERTEX_SUBROUTINE 0x92E8 -#define GL_TESS_CONTROL_SUBROUTINE 0x92E9 -#define GL_TESS_EVALUATION_SUBROUTINE 0x92EA -#define GL_GEOMETRY_SUBROUTINE 0x92EB -#define GL_FRAGMENT_SUBROUTINE 0x92EC -#define GL_COMPUTE_SUBROUTINE 0x92ED -#define GL_VERTEX_SUBROUTINE_UNIFORM 0x92EE -#define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF -#define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0 -#define GL_GEOMETRY_SUBROUTINE_UNIFORM 0x92F1 -#define GL_FRAGMENT_SUBROUTINE_UNIFORM 0x92F2 -#define GL_COMPUTE_SUBROUTINE_UNIFORM 0x92F3 -#define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4 -#define GL_ACTIVE_RESOURCES 0x92F5 -#define GL_MAX_NAME_LENGTH 0x92F6 -#define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7 -#define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8 -#define GL_NAME_LENGTH 0x92F9 -#define GL_TYPE 0x92FA -#define GL_ARRAY_SIZE 0x92FB -#define GL_OFFSET 0x92FC -#define GL_BLOCK_INDEX 0x92FD -#define GL_ARRAY_STRIDE 0x92FE -#define GL_MATRIX_STRIDE 0x92FF -#define GL_IS_ROW_MAJOR 0x9300 -#define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301 -#define GL_BUFFER_BINDING 0x9302 -#define GL_BUFFER_DATA_SIZE 0x9303 -#define GL_NUM_ACTIVE_VARIABLES 0x9304 -#define GL_ACTIVE_VARIABLES 0x9305 -#define GL_REFERENCED_BY_VERTEX_SHADER 0x9306 -#define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307 -#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308 -#define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309 -#define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A -#define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B -#define GL_TOP_LEVEL_ARRAY_SIZE 0x930C -#define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D -#define GL_LOCATION 0x930E -#define GL_LOCATION_INDEX 0x930F - -typedef void (GLAPIENTRY * PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint* params); -typedef GLuint (GLAPIENTRY * PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar* name); -typedef GLint (GLAPIENTRY * PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar* name); -typedef GLint (GLAPIENTRY * PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar* name); -typedef void (GLAPIENTRY * PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei* length, GLchar *name); -typedef void (GLAPIENTRY * PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum* props, GLsizei bufSize, GLsizei *length, GLint *params); - -#define glGetProgramInterfaceiv GLEW_GET_FUN(__glewGetProgramInterfaceiv) -#define glGetProgramResourceIndex GLEW_GET_FUN(__glewGetProgramResourceIndex) -#define glGetProgramResourceLocation GLEW_GET_FUN(__glewGetProgramResourceLocation) -#define glGetProgramResourceLocationIndex GLEW_GET_FUN(__glewGetProgramResourceLocationIndex) -#define glGetProgramResourceName GLEW_GET_FUN(__glewGetProgramResourceName) -#define glGetProgramResourceiv GLEW_GET_FUN(__glewGetProgramResourceiv) - -#define GLEW_ARB_program_interface_query GLEW_GET_VAR(__GLEW_ARB_program_interface_query) - -#endif /* GL_ARB_program_interface_query */ - -/* ------------------------ GL_ARB_provoking_vertex ------------------------ */ - -#ifndef GL_ARB_provoking_vertex -#define GL_ARB_provoking_vertex 1 - -#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C -#define GL_FIRST_VERTEX_CONVENTION 0x8E4D -#define GL_LAST_VERTEX_CONVENTION 0x8E4E -#define GL_PROVOKING_VERTEX 0x8E4F - -typedef void (GLAPIENTRY * PFNGLPROVOKINGVERTEXPROC) (GLenum mode); - -#define glProvokingVertex GLEW_GET_FUN(__glewProvokingVertex) - -#define GLEW_ARB_provoking_vertex GLEW_GET_VAR(__GLEW_ARB_provoking_vertex) - -#endif /* GL_ARB_provoking_vertex */ - -/* ------------------ GL_ARB_robust_buffer_access_behavior ----------------- */ - -#ifndef GL_ARB_robust_buffer_access_behavior -#define GL_ARB_robust_buffer_access_behavior 1 - -#define GLEW_ARB_robust_buffer_access_behavior GLEW_GET_VAR(__GLEW_ARB_robust_buffer_access_behavior) - -#endif /* GL_ARB_robust_buffer_access_behavior */ - -/* --------------------------- GL_ARB_robustness --------------------------- */ - -#ifndef GL_ARB_robustness -#define GL_ARB_robustness 1 - -#define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004 -#define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252 -#define GL_GUILTY_CONTEXT_RESET_ARB 0x8253 -#define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254 -#define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255 -#define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 -#define GL_NO_RESET_NOTIFICATION_ARB 0x8261 - -typedef GLenum (GLAPIENTRY * PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void); -typedef void (GLAPIENTRY * PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void* table); -typedef void (GLAPIENTRY * PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void* img); -typedef void (GLAPIENTRY * PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void* image); -typedef void (GLAPIENTRY * PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void* values); -typedef void (GLAPIENTRY * PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble* v); -typedef void (GLAPIENTRY * PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat* v); -typedef void (GLAPIENTRY * PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint* v); -typedef void (GLAPIENTRY * PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void* values); -typedef void (GLAPIENTRY * PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat* values); -typedef void (GLAPIENTRY * PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint* values); -typedef void (GLAPIENTRY * PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort* values); -typedef void (GLAPIENTRY * PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte* pattern); -typedef void (GLAPIENTRY * PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void* row, GLsizei columnBufSize, GLvoid*column, GLvoid*span); -typedef void (GLAPIENTRY * PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void* img); -typedef void (GLAPIENTRY * PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble* params); -typedef void (GLAPIENTRY * PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint* params); -typedef void (GLAPIENTRY * PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void* data); - -#define glGetGraphicsResetStatusARB GLEW_GET_FUN(__glewGetGraphicsResetStatusARB) -#define glGetnColorTableARB GLEW_GET_FUN(__glewGetnColorTableARB) -#define glGetnCompressedTexImageARB GLEW_GET_FUN(__glewGetnCompressedTexImageARB) -#define glGetnConvolutionFilterARB GLEW_GET_FUN(__glewGetnConvolutionFilterARB) -#define glGetnHistogramARB GLEW_GET_FUN(__glewGetnHistogramARB) -#define glGetnMapdvARB GLEW_GET_FUN(__glewGetnMapdvARB) -#define glGetnMapfvARB GLEW_GET_FUN(__glewGetnMapfvARB) -#define glGetnMapivARB GLEW_GET_FUN(__glewGetnMapivARB) -#define glGetnMinmaxARB GLEW_GET_FUN(__glewGetnMinmaxARB) -#define glGetnPixelMapfvARB GLEW_GET_FUN(__glewGetnPixelMapfvARB) -#define glGetnPixelMapuivARB GLEW_GET_FUN(__glewGetnPixelMapuivARB) -#define glGetnPixelMapusvARB GLEW_GET_FUN(__glewGetnPixelMapusvARB) -#define glGetnPolygonStippleARB GLEW_GET_FUN(__glewGetnPolygonStippleARB) -#define glGetnSeparableFilterARB GLEW_GET_FUN(__glewGetnSeparableFilterARB) -#define glGetnTexImageARB GLEW_GET_FUN(__glewGetnTexImageARB) -#define glGetnUniformdvARB GLEW_GET_FUN(__glewGetnUniformdvARB) -#define glGetnUniformfvARB GLEW_GET_FUN(__glewGetnUniformfvARB) -#define glGetnUniformivARB GLEW_GET_FUN(__glewGetnUniformivARB) -#define glGetnUniformuivARB GLEW_GET_FUN(__glewGetnUniformuivARB) -#define glReadnPixelsARB GLEW_GET_FUN(__glewReadnPixelsARB) - -#define GLEW_ARB_robustness GLEW_GET_VAR(__GLEW_ARB_robustness) - -#endif /* GL_ARB_robustness */ - -/* ---------------- GL_ARB_robustness_application_isolation ---------------- */ - -#ifndef GL_ARB_robustness_application_isolation -#define GL_ARB_robustness_application_isolation 1 - -#define GLEW_ARB_robustness_application_isolation GLEW_GET_VAR(__GLEW_ARB_robustness_application_isolation) - -#endif /* GL_ARB_robustness_application_isolation */ - -/* ---------------- GL_ARB_robustness_share_group_isolation ---------------- */ - -#ifndef GL_ARB_robustness_share_group_isolation -#define GL_ARB_robustness_share_group_isolation 1 - -#define GLEW_ARB_robustness_share_group_isolation GLEW_GET_VAR(__GLEW_ARB_robustness_share_group_isolation) - -#endif /* GL_ARB_robustness_share_group_isolation */ - -/* ------------------------- GL_ARB_sample_shading ------------------------- */ - -#ifndef GL_ARB_sample_shading -#define GL_ARB_sample_shading 1 - -#define GL_SAMPLE_SHADING_ARB 0x8C36 -#define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37 - -typedef void (GLAPIENTRY * PFNGLMINSAMPLESHADINGARBPROC) (GLclampf value); - -#define glMinSampleShadingARB GLEW_GET_FUN(__glewMinSampleShadingARB) - -#define GLEW_ARB_sample_shading GLEW_GET_VAR(__GLEW_ARB_sample_shading) - -#endif /* GL_ARB_sample_shading */ - -/* ------------------------- GL_ARB_sampler_objects ------------------------ */ - -#ifndef GL_ARB_sampler_objects -#define GL_ARB_sampler_objects 1 - -#define GL_SAMPLER_BINDING 0x8919 - -typedef void (GLAPIENTRY * PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler); -typedef void (GLAPIENTRY * PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint * samplers); -typedef void (GLAPIENTRY * PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint* samplers); -typedef void (GLAPIENTRY * PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint* params); -typedef void (GLAPIENTRY * PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint* params); -typedef GLboolean (GLAPIENTRY * PFNGLISSAMPLERPROC) (GLuint sampler); -typedef void (GLAPIENTRY * PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint* params); -typedef void (GLAPIENTRY * PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint* params); -typedef void (GLAPIENTRY * PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param); -typedef void (GLAPIENTRY * PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param); -typedef void (GLAPIENTRY * PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint* params); - -#define glBindSampler GLEW_GET_FUN(__glewBindSampler) -#define glDeleteSamplers GLEW_GET_FUN(__glewDeleteSamplers) -#define glGenSamplers GLEW_GET_FUN(__glewGenSamplers) -#define glGetSamplerParameterIiv GLEW_GET_FUN(__glewGetSamplerParameterIiv) -#define glGetSamplerParameterIuiv GLEW_GET_FUN(__glewGetSamplerParameterIuiv) -#define glGetSamplerParameterfv GLEW_GET_FUN(__glewGetSamplerParameterfv) -#define glGetSamplerParameteriv GLEW_GET_FUN(__glewGetSamplerParameteriv) -#define glIsSampler GLEW_GET_FUN(__glewIsSampler) -#define glSamplerParameterIiv GLEW_GET_FUN(__glewSamplerParameterIiv) -#define glSamplerParameterIuiv GLEW_GET_FUN(__glewSamplerParameterIuiv) -#define glSamplerParameterf GLEW_GET_FUN(__glewSamplerParameterf) -#define glSamplerParameterfv GLEW_GET_FUN(__glewSamplerParameterfv) -#define glSamplerParameteri GLEW_GET_FUN(__glewSamplerParameteri) -#define glSamplerParameteriv GLEW_GET_FUN(__glewSamplerParameteriv) - -#define GLEW_ARB_sampler_objects GLEW_GET_VAR(__GLEW_ARB_sampler_objects) - -#endif /* GL_ARB_sampler_objects */ - -/* ------------------------ GL_ARB_seamless_cube_map ----------------------- */ - -#ifndef GL_ARB_seamless_cube_map -#define GL_ARB_seamless_cube_map 1 - -#define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F - -#define GLEW_ARB_seamless_cube_map GLEW_GET_VAR(__GLEW_ARB_seamless_cube_map) - -#endif /* GL_ARB_seamless_cube_map */ - -/* --------------------- GL_ARB_separate_shader_objects -------------------- */ - -#ifndef GL_ARB_separate_shader_objects -#define GL_ARB_separate_shader_objects 1 - -#define GL_VERTEX_SHADER_BIT 0x00000001 -#define GL_FRAGMENT_SHADER_BIT 0x00000002 -#define GL_GEOMETRY_SHADER_BIT 0x00000004 -#define GL_TESS_CONTROL_SHADER_BIT 0x00000008 -#define GL_TESS_EVALUATION_SHADER_BIT 0x00000010 -#define GL_PROGRAM_SEPARABLE 0x8258 -#define GL_ACTIVE_PROGRAM 0x8259 -#define GL_PROGRAM_PIPELINE_BINDING 0x825A -#define GL_ALL_SHADER_BITS 0xFFFFFFFF - -typedef void (GLAPIENTRY * PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program); -typedef void (GLAPIENTRY * PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline); -typedef GLuint (GLAPIENTRY * PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar ** strings); -typedef void (GLAPIENTRY * PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint* pipelines); -typedef void (GLAPIENTRY * PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint* pipelines); -typedef void (GLAPIENTRY * PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei* length, GLchar *infoLog); -typedef void (GLAPIENTRY * PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint* params); -typedef GLboolean (GLAPIENTRY * PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble x); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat x); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint x); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint x); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble x, GLdouble y); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat x, GLfloat y); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint x, GLint y); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint x, GLuint y); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint x, GLint y, GLint z); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint x, GLuint y, GLuint z); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint x, GLuint y, GLuint z, GLuint w); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program); -typedef void (GLAPIENTRY * PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline); - -#define glActiveShaderProgram GLEW_GET_FUN(__glewActiveShaderProgram) -#define glBindProgramPipeline GLEW_GET_FUN(__glewBindProgramPipeline) -#define glCreateShaderProgramv GLEW_GET_FUN(__glewCreateShaderProgramv) -#define glDeleteProgramPipelines GLEW_GET_FUN(__glewDeleteProgramPipelines) -#define glGenProgramPipelines GLEW_GET_FUN(__glewGenProgramPipelines) -#define glGetProgramPipelineInfoLog GLEW_GET_FUN(__glewGetProgramPipelineInfoLog) -#define glGetProgramPipelineiv GLEW_GET_FUN(__glewGetProgramPipelineiv) -#define glIsProgramPipeline GLEW_GET_FUN(__glewIsProgramPipeline) -#define glProgramUniform1d GLEW_GET_FUN(__glewProgramUniform1d) -#define glProgramUniform1dv GLEW_GET_FUN(__glewProgramUniform1dv) -#define glProgramUniform1f GLEW_GET_FUN(__glewProgramUniform1f) -#define glProgramUniform1fv GLEW_GET_FUN(__glewProgramUniform1fv) -#define glProgramUniform1i GLEW_GET_FUN(__glewProgramUniform1i) -#define glProgramUniform1iv GLEW_GET_FUN(__glewProgramUniform1iv) -#define glProgramUniform1ui GLEW_GET_FUN(__glewProgramUniform1ui) -#define glProgramUniform1uiv GLEW_GET_FUN(__glewProgramUniform1uiv) -#define glProgramUniform2d GLEW_GET_FUN(__glewProgramUniform2d) -#define glProgramUniform2dv GLEW_GET_FUN(__glewProgramUniform2dv) -#define glProgramUniform2f GLEW_GET_FUN(__glewProgramUniform2f) -#define glProgramUniform2fv GLEW_GET_FUN(__glewProgramUniform2fv) -#define glProgramUniform2i GLEW_GET_FUN(__glewProgramUniform2i) -#define glProgramUniform2iv GLEW_GET_FUN(__glewProgramUniform2iv) -#define glProgramUniform2ui GLEW_GET_FUN(__glewProgramUniform2ui) -#define glProgramUniform2uiv GLEW_GET_FUN(__glewProgramUniform2uiv) -#define glProgramUniform3d GLEW_GET_FUN(__glewProgramUniform3d) -#define glProgramUniform3dv GLEW_GET_FUN(__glewProgramUniform3dv) -#define glProgramUniform3f GLEW_GET_FUN(__glewProgramUniform3f) -#define glProgramUniform3fv GLEW_GET_FUN(__glewProgramUniform3fv) -#define glProgramUniform3i GLEW_GET_FUN(__glewProgramUniform3i) -#define glProgramUniform3iv GLEW_GET_FUN(__glewProgramUniform3iv) -#define glProgramUniform3ui GLEW_GET_FUN(__glewProgramUniform3ui) -#define glProgramUniform3uiv GLEW_GET_FUN(__glewProgramUniform3uiv) -#define glProgramUniform4d GLEW_GET_FUN(__glewProgramUniform4d) -#define glProgramUniform4dv GLEW_GET_FUN(__glewProgramUniform4dv) -#define glProgramUniform4f GLEW_GET_FUN(__glewProgramUniform4f) -#define glProgramUniform4fv GLEW_GET_FUN(__glewProgramUniform4fv) -#define glProgramUniform4i GLEW_GET_FUN(__glewProgramUniform4i) -#define glProgramUniform4iv GLEW_GET_FUN(__glewProgramUniform4iv) -#define glProgramUniform4ui GLEW_GET_FUN(__glewProgramUniform4ui) -#define glProgramUniform4uiv GLEW_GET_FUN(__glewProgramUniform4uiv) -#define glProgramUniformMatrix2dv GLEW_GET_FUN(__glewProgramUniformMatrix2dv) -#define glProgramUniformMatrix2fv GLEW_GET_FUN(__glewProgramUniformMatrix2fv) -#define glProgramUniformMatrix2x3dv GLEW_GET_FUN(__glewProgramUniformMatrix2x3dv) -#define glProgramUniformMatrix2x3fv GLEW_GET_FUN(__glewProgramUniformMatrix2x3fv) -#define glProgramUniformMatrix2x4dv GLEW_GET_FUN(__glewProgramUniformMatrix2x4dv) -#define glProgramUniformMatrix2x4fv GLEW_GET_FUN(__glewProgramUniformMatrix2x4fv) -#define glProgramUniformMatrix3dv GLEW_GET_FUN(__glewProgramUniformMatrix3dv) -#define glProgramUniformMatrix3fv GLEW_GET_FUN(__glewProgramUniformMatrix3fv) -#define glProgramUniformMatrix3x2dv GLEW_GET_FUN(__glewProgramUniformMatrix3x2dv) -#define glProgramUniformMatrix3x2fv GLEW_GET_FUN(__glewProgramUniformMatrix3x2fv) -#define glProgramUniformMatrix3x4dv GLEW_GET_FUN(__glewProgramUniformMatrix3x4dv) -#define glProgramUniformMatrix3x4fv GLEW_GET_FUN(__glewProgramUniformMatrix3x4fv) -#define glProgramUniformMatrix4dv GLEW_GET_FUN(__glewProgramUniformMatrix4dv) -#define glProgramUniformMatrix4fv GLEW_GET_FUN(__glewProgramUniformMatrix4fv) -#define glProgramUniformMatrix4x2dv GLEW_GET_FUN(__glewProgramUniformMatrix4x2dv) -#define glProgramUniformMatrix4x2fv GLEW_GET_FUN(__glewProgramUniformMatrix4x2fv) -#define glProgramUniformMatrix4x3dv GLEW_GET_FUN(__glewProgramUniformMatrix4x3dv) -#define glProgramUniformMatrix4x3fv GLEW_GET_FUN(__glewProgramUniformMatrix4x3fv) -#define glUseProgramStages GLEW_GET_FUN(__glewUseProgramStages) -#define glValidateProgramPipeline GLEW_GET_FUN(__glewValidateProgramPipeline) - -#define GLEW_ARB_separate_shader_objects GLEW_GET_VAR(__GLEW_ARB_separate_shader_objects) - -#endif /* GL_ARB_separate_shader_objects */ - -/* --------------------- GL_ARB_shader_atomic_counters --------------------- */ - -#ifndef GL_ARB_shader_atomic_counters -#define GL_ARB_shader_atomic_counters 1 - -#define GL_ATOMIC_COUNTER_BUFFER 0x92C0 -#define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1 -#define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2 -#define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3 -#define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4 -#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5 -#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6 -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7 -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8 -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9 -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB -#define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC -#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD -#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE -#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF -#define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0 -#define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1 -#define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2 -#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3 -#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4 -#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5 -#define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6 -#define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7 -#define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8 -#define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9 -#define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA -#define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB -#define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC - -typedef void (GLAPIENTRY * PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint* params); - -#define glGetActiveAtomicCounterBufferiv GLEW_GET_FUN(__glewGetActiveAtomicCounterBufferiv) - -#define GLEW_ARB_shader_atomic_counters GLEW_GET_VAR(__GLEW_ARB_shader_atomic_counters) - -#endif /* GL_ARB_shader_atomic_counters */ - -/* ----------------------- GL_ARB_shader_bit_encoding ---------------------- */ - -#ifndef GL_ARB_shader_bit_encoding -#define GL_ARB_shader_bit_encoding 1 - -#define GLEW_ARB_shader_bit_encoding GLEW_GET_VAR(__GLEW_ARB_shader_bit_encoding) - -#endif /* GL_ARB_shader_bit_encoding */ - -/* --------------------- GL_ARB_shader_image_load_store -------------------- */ - -#ifndef GL_ARB_shader_image_load_store -#define GL_ARB_shader_image_load_store 1 - -#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001 -#define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002 -#define GL_UNIFORM_BARRIER_BIT 0x00000004 -#define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008 -#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020 -#define GL_COMMAND_BARRIER_BIT 0x00000040 -#define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080 -#define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100 -#define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200 -#define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400 -#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800 -#define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000 -#define GL_MAX_IMAGE_UNITS 0x8F38 -#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39 -#define GL_IMAGE_BINDING_NAME 0x8F3A -#define GL_IMAGE_BINDING_LEVEL 0x8F3B -#define GL_IMAGE_BINDING_LAYERED 0x8F3C -#define GL_IMAGE_BINDING_LAYER 0x8F3D -#define GL_IMAGE_BINDING_ACCESS 0x8F3E -#define GL_IMAGE_1D 0x904C -#define GL_IMAGE_2D 0x904D -#define GL_IMAGE_3D 0x904E -#define GL_IMAGE_2D_RECT 0x904F -#define GL_IMAGE_CUBE 0x9050 -#define GL_IMAGE_BUFFER 0x9051 -#define GL_IMAGE_1D_ARRAY 0x9052 -#define GL_IMAGE_2D_ARRAY 0x9053 -#define GL_IMAGE_CUBE_MAP_ARRAY 0x9054 -#define GL_IMAGE_2D_MULTISAMPLE 0x9055 -#define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056 -#define GL_INT_IMAGE_1D 0x9057 -#define GL_INT_IMAGE_2D 0x9058 -#define GL_INT_IMAGE_3D 0x9059 -#define GL_INT_IMAGE_2D_RECT 0x905A -#define GL_INT_IMAGE_CUBE 0x905B -#define GL_INT_IMAGE_BUFFER 0x905C -#define GL_INT_IMAGE_1D_ARRAY 0x905D -#define GL_INT_IMAGE_2D_ARRAY 0x905E -#define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F -#define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060 -#define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061 -#define GL_UNSIGNED_INT_IMAGE_1D 0x9062 -#define GL_UNSIGNED_INT_IMAGE_2D 0x9063 -#define GL_UNSIGNED_INT_IMAGE_3D 0x9064 -#define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065 -#define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066 -#define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067 -#define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068 -#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069 -#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A -#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B -#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C -#define GL_MAX_IMAGE_SAMPLES 0x906D -#define GL_IMAGE_BINDING_FORMAT 0x906E -#define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7 -#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8 -#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9 -#define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA -#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB -#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC -#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD -#define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE -#define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF -#define GL_ALL_BARRIER_BITS 0xFFFFFFFF - -typedef void (GLAPIENTRY * PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); -typedef void (GLAPIENTRY * PFNGLMEMORYBARRIERPROC) (GLbitfield barriers); - -#define glBindImageTexture GLEW_GET_FUN(__glewBindImageTexture) -#define glMemoryBarrier GLEW_GET_FUN(__glewMemoryBarrier) - -#define GLEW_ARB_shader_image_load_store GLEW_GET_VAR(__GLEW_ARB_shader_image_load_store) - -#endif /* GL_ARB_shader_image_load_store */ - -/* ------------------------ GL_ARB_shader_image_size ----------------------- */ - -#ifndef GL_ARB_shader_image_size -#define GL_ARB_shader_image_size 1 - -#define GLEW_ARB_shader_image_size GLEW_GET_VAR(__GLEW_ARB_shader_image_size) - -#endif /* GL_ARB_shader_image_size */ - -/* ------------------------- GL_ARB_shader_objects ------------------------- */ - -#ifndef GL_ARB_shader_objects -#define GL_ARB_shader_objects 1 - -#define GL_PROGRAM_OBJECT_ARB 0x8B40 -#define GL_SHADER_OBJECT_ARB 0x8B48 -#define GL_OBJECT_TYPE_ARB 0x8B4E -#define GL_OBJECT_SUBTYPE_ARB 0x8B4F -#define GL_FLOAT_VEC2_ARB 0x8B50 -#define GL_FLOAT_VEC3_ARB 0x8B51 -#define GL_FLOAT_VEC4_ARB 0x8B52 -#define GL_INT_VEC2_ARB 0x8B53 -#define GL_INT_VEC3_ARB 0x8B54 -#define GL_INT_VEC4_ARB 0x8B55 -#define GL_BOOL_ARB 0x8B56 -#define GL_BOOL_VEC2_ARB 0x8B57 -#define GL_BOOL_VEC3_ARB 0x8B58 -#define GL_BOOL_VEC4_ARB 0x8B59 -#define GL_FLOAT_MAT2_ARB 0x8B5A -#define GL_FLOAT_MAT3_ARB 0x8B5B -#define GL_FLOAT_MAT4_ARB 0x8B5C -#define GL_SAMPLER_1D_ARB 0x8B5D -#define GL_SAMPLER_2D_ARB 0x8B5E -#define GL_SAMPLER_3D_ARB 0x8B5F -#define GL_SAMPLER_CUBE_ARB 0x8B60 -#define GL_SAMPLER_1D_SHADOW_ARB 0x8B61 -#define GL_SAMPLER_2D_SHADOW_ARB 0x8B62 -#define GL_SAMPLER_2D_RECT_ARB 0x8B63 -#define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64 -#define GL_OBJECT_DELETE_STATUS_ARB 0x8B80 -#define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81 -#define GL_OBJECT_LINK_STATUS_ARB 0x8B82 -#define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83 -#define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84 -#define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85 -#define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86 -#define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87 -#define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88 - -typedef char GLcharARB; -typedef unsigned int GLhandleARB; - -typedef void (GLAPIENTRY * PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj); -typedef void (GLAPIENTRY * PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj); -typedef GLhandleARB (GLAPIENTRY * PFNGLCREATEPROGRAMOBJECTARBPROC) (void); -typedef GLhandleARB (GLAPIENTRY * PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType); -typedef void (GLAPIENTRY * PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj); -typedef void (GLAPIENTRY * PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj); -typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint *size, GLenum *type, GLcharARB *name); -typedef void (GLAPIENTRY * PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei* count, GLhandleARB *obj); -typedef GLhandleARB (GLAPIENTRY * PFNGLGETHANDLEARBPROC) (GLenum pname); -typedef void (GLAPIENTRY * PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB *infoLog); -typedef void (GLAPIENTRY * PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB *source); -typedef GLint (GLAPIENTRY * PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB* name); -typedef void (GLAPIENTRY * PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint* params); -typedef void (GLAPIENTRY * PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj); -typedef void (GLAPIENTRY * PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB ** string, const GLint *length); -typedef void (GLAPIENTRY * PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0); -typedef void (GLAPIENTRY * PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0); -typedef void (GLAPIENTRY * PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1); -typedef void (GLAPIENTRY * PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1); -typedef void (GLAPIENTRY * PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -typedef void (GLAPIENTRY * PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2); -typedef void (GLAPIENTRY * PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -typedef void (GLAPIENTRY * PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -typedef void (GLAPIENTRY * PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint* value); -typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj); -typedef void (GLAPIENTRY * PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj); - -#define glAttachObjectARB GLEW_GET_FUN(__glewAttachObjectARB) -#define glCompileShaderARB GLEW_GET_FUN(__glewCompileShaderARB) -#define glCreateProgramObjectARB GLEW_GET_FUN(__glewCreateProgramObjectARB) -#define glCreateShaderObjectARB GLEW_GET_FUN(__glewCreateShaderObjectARB) -#define glDeleteObjectARB GLEW_GET_FUN(__glewDeleteObjectARB) -#define glDetachObjectARB GLEW_GET_FUN(__glewDetachObjectARB) -#define glGetActiveUniformARB GLEW_GET_FUN(__glewGetActiveUniformARB) -#define glGetAttachedObjectsARB GLEW_GET_FUN(__glewGetAttachedObjectsARB) -#define glGetHandleARB GLEW_GET_FUN(__glewGetHandleARB) -#define glGetInfoLogARB GLEW_GET_FUN(__glewGetInfoLogARB) -#define glGetObjectParameterfvARB GLEW_GET_FUN(__glewGetObjectParameterfvARB) -#define glGetObjectParameterivARB GLEW_GET_FUN(__glewGetObjectParameterivARB) -#define glGetShaderSourceARB GLEW_GET_FUN(__glewGetShaderSourceARB) -#define glGetUniformLocationARB GLEW_GET_FUN(__glewGetUniformLocationARB) -#define glGetUniformfvARB GLEW_GET_FUN(__glewGetUniformfvARB) -#define glGetUniformivARB GLEW_GET_FUN(__glewGetUniformivARB) -#define glLinkProgramARB GLEW_GET_FUN(__glewLinkProgramARB) -#define glShaderSourceARB GLEW_GET_FUN(__glewShaderSourceARB) -#define glUniform1fARB GLEW_GET_FUN(__glewUniform1fARB) -#define glUniform1fvARB GLEW_GET_FUN(__glewUniform1fvARB) -#define glUniform1iARB GLEW_GET_FUN(__glewUniform1iARB) -#define glUniform1ivARB GLEW_GET_FUN(__glewUniform1ivARB) -#define glUniform2fARB GLEW_GET_FUN(__glewUniform2fARB) -#define glUniform2fvARB GLEW_GET_FUN(__glewUniform2fvARB) -#define glUniform2iARB GLEW_GET_FUN(__glewUniform2iARB) -#define glUniform2ivARB GLEW_GET_FUN(__glewUniform2ivARB) -#define glUniform3fARB GLEW_GET_FUN(__glewUniform3fARB) -#define glUniform3fvARB GLEW_GET_FUN(__glewUniform3fvARB) -#define glUniform3iARB GLEW_GET_FUN(__glewUniform3iARB) -#define glUniform3ivARB GLEW_GET_FUN(__glewUniform3ivARB) -#define glUniform4fARB GLEW_GET_FUN(__glewUniform4fARB) -#define glUniform4fvARB GLEW_GET_FUN(__glewUniform4fvARB) -#define glUniform4iARB GLEW_GET_FUN(__glewUniform4iARB) -#define glUniform4ivARB GLEW_GET_FUN(__glewUniform4ivARB) -#define glUniformMatrix2fvARB GLEW_GET_FUN(__glewUniformMatrix2fvARB) -#define glUniformMatrix3fvARB GLEW_GET_FUN(__glewUniformMatrix3fvARB) -#define glUniformMatrix4fvARB GLEW_GET_FUN(__glewUniformMatrix4fvARB) -#define glUseProgramObjectARB GLEW_GET_FUN(__glewUseProgramObjectARB) -#define glValidateProgramARB GLEW_GET_FUN(__glewValidateProgramARB) - -#define GLEW_ARB_shader_objects GLEW_GET_VAR(__GLEW_ARB_shader_objects) - -#endif /* GL_ARB_shader_objects */ - -/* ------------------------ GL_ARB_shader_precision ------------------------ */ - -#ifndef GL_ARB_shader_precision -#define GL_ARB_shader_precision 1 - -#define GLEW_ARB_shader_precision GLEW_GET_VAR(__GLEW_ARB_shader_precision) - -#endif /* GL_ARB_shader_precision */ - -/* ---------------------- GL_ARB_shader_stencil_export --------------------- */ - -#ifndef GL_ARB_shader_stencil_export -#define GL_ARB_shader_stencil_export 1 - -#define GLEW_ARB_shader_stencil_export GLEW_GET_VAR(__GLEW_ARB_shader_stencil_export) - -#endif /* GL_ARB_shader_stencil_export */ - -/* ------------------ GL_ARB_shader_storage_buffer_object ------------------ */ - -#ifndef GL_ARB_shader_storage_buffer_object -#define GL_ARB_shader_storage_buffer_object 1 - -#define GL_SHADER_STORAGE_BARRIER_BIT 0x2000 -#define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39 -#define GL_SHADER_STORAGE_BUFFER 0x90D2 -#define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3 -#define GL_SHADER_STORAGE_BUFFER_START 0x90D4 -#define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5 -#define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6 -#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7 -#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8 -#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9 -#define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA -#define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB -#define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC -#define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD -#define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE -#define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF - -typedef void (GLAPIENTRY * PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding); - -#define glShaderStorageBlockBinding GLEW_GET_FUN(__glewShaderStorageBlockBinding) - -#define GLEW_ARB_shader_storage_buffer_object GLEW_GET_VAR(__GLEW_ARB_shader_storage_buffer_object) - -#endif /* GL_ARB_shader_storage_buffer_object */ - -/* ------------------------ GL_ARB_shader_subroutine ----------------------- */ - -#ifndef GL_ARB_shader_subroutine -#define GL_ARB_shader_subroutine 1 - -#define GL_ACTIVE_SUBROUTINES 0x8DE5 -#define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6 -#define GL_MAX_SUBROUTINES 0x8DE7 -#define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8 -#define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47 -#define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48 -#define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49 -#define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A -#define GL_COMPATIBLE_SUBROUTINES 0x8E4B - -typedef void (GLAPIENTRY * PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei* length, GLchar *name); -typedef void (GLAPIENTRY * PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei* length, GLchar *name); -typedef void (GLAPIENTRY * PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint* values); -typedef void (GLAPIENTRY * PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint* values); -typedef GLuint (GLAPIENTRY * PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar* name); -typedef GLint (GLAPIENTRY * PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar* name); -typedef void (GLAPIENTRY * PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint* params); -typedef void (GLAPIENTRY * PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint* indices); - -#define glGetActiveSubroutineName GLEW_GET_FUN(__glewGetActiveSubroutineName) -#define glGetActiveSubroutineUniformName GLEW_GET_FUN(__glewGetActiveSubroutineUniformName) -#define glGetActiveSubroutineUniformiv GLEW_GET_FUN(__glewGetActiveSubroutineUniformiv) -#define glGetProgramStageiv GLEW_GET_FUN(__glewGetProgramStageiv) -#define glGetSubroutineIndex GLEW_GET_FUN(__glewGetSubroutineIndex) -#define glGetSubroutineUniformLocation GLEW_GET_FUN(__glewGetSubroutineUniformLocation) -#define glGetUniformSubroutineuiv GLEW_GET_FUN(__glewGetUniformSubroutineuiv) -#define glUniformSubroutinesuiv GLEW_GET_FUN(__glewUniformSubroutinesuiv) - -#define GLEW_ARB_shader_subroutine GLEW_GET_VAR(__GLEW_ARB_shader_subroutine) - -#endif /* GL_ARB_shader_subroutine */ - -/* ----------------------- GL_ARB_shader_texture_lod ----------------------- */ - -#ifndef GL_ARB_shader_texture_lod -#define GL_ARB_shader_texture_lod 1 - -#define GLEW_ARB_shader_texture_lod GLEW_GET_VAR(__GLEW_ARB_shader_texture_lod) - -#endif /* GL_ARB_shader_texture_lod */ - -/* ---------------------- GL_ARB_shading_language_100 ---------------------- */ - -#ifndef GL_ARB_shading_language_100 -#define GL_ARB_shading_language_100 1 - -#define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C - -#define GLEW_ARB_shading_language_100 GLEW_GET_VAR(__GLEW_ARB_shading_language_100) - -#endif /* GL_ARB_shading_language_100 */ - -/* -------------------- GL_ARB_shading_language_420pack -------------------- */ - -#ifndef GL_ARB_shading_language_420pack -#define GL_ARB_shading_language_420pack 1 - -#define GLEW_ARB_shading_language_420pack GLEW_GET_VAR(__GLEW_ARB_shading_language_420pack) - -#endif /* GL_ARB_shading_language_420pack */ - -/* -------------------- GL_ARB_shading_language_include -------------------- */ - -#ifndef GL_ARB_shading_language_include -#define GL_ARB_shading_language_include 1 - -#define GL_SHADER_INCLUDE_ARB 0x8DAE -#define GL_NAMED_STRING_LENGTH_ARB 0x8DE9 -#define GL_NAMED_STRING_TYPE_ARB 0x8DEA - -typedef void (GLAPIENTRY * PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar ** path, const GLint *length); -typedef void (GLAPIENTRY * PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar* name); -typedef void (GLAPIENTRY * PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar* name, GLsizei bufSize, GLint *stringlen, GLchar *string); -typedef void (GLAPIENTRY * PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar* name, GLenum pname, GLint *params); -typedef GLboolean (GLAPIENTRY * PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar* name); -typedef void (GLAPIENTRY * PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar* name, GLint stringlen, const GLchar *string); - -#define glCompileShaderIncludeARB GLEW_GET_FUN(__glewCompileShaderIncludeARB) -#define glDeleteNamedStringARB GLEW_GET_FUN(__glewDeleteNamedStringARB) -#define glGetNamedStringARB GLEW_GET_FUN(__glewGetNamedStringARB) -#define glGetNamedStringivARB GLEW_GET_FUN(__glewGetNamedStringivARB) -#define glIsNamedStringARB GLEW_GET_FUN(__glewIsNamedStringARB) -#define glNamedStringARB GLEW_GET_FUN(__glewNamedStringARB) - -#define GLEW_ARB_shading_language_include GLEW_GET_VAR(__GLEW_ARB_shading_language_include) - -#endif /* GL_ARB_shading_language_include */ - -/* -------------------- GL_ARB_shading_language_packing -------------------- */ - -#ifndef GL_ARB_shading_language_packing -#define GL_ARB_shading_language_packing 1 - -#define GLEW_ARB_shading_language_packing GLEW_GET_VAR(__GLEW_ARB_shading_language_packing) - -#endif /* GL_ARB_shading_language_packing */ - -/* ----------------------------- GL_ARB_shadow ----------------------------- */ - -#ifndef GL_ARB_shadow -#define GL_ARB_shadow 1 - -#define GL_TEXTURE_COMPARE_MODE_ARB 0x884C -#define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D -#define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E - -#define GLEW_ARB_shadow GLEW_GET_VAR(__GLEW_ARB_shadow) - -#endif /* GL_ARB_shadow */ - -/* ------------------------- GL_ARB_shadow_ambient ------------------------- */ - -#ifndef GL_ARB_shadow_ambient -#define GL_ARB_shadow_ambient 1 - -#define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF - -#define GLEW_ARB_shadow_ambient GLEW_GET_VAR(__GLEW_ARB_shadow_ambient) - -#endif /* GL_ARB_shadow_ambient */ - -/* ------------------------ GL_ARB_stencil_texturing ----------------------- */ - -#ifndef GL_ARB_stencil_texturing -#define GL_ARB_stencil_texturing 1 - -#define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA - -#define GLEW_ARB_stencil_texturing GLEW_GET_VAR(__GLEW_ARB_stencil_texturing) - -#endif /* GL_ARB_stencil_texturing */ - -/* ------------------------------ GL_ARB_sync ------------------------------ */ - -#ifndef GL_ARB_sync -#define GL_ARB_sync 1 - -#define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 -#define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 -#define GL_OBJECT_TYPE 0x9112 -#define GL_SYNC_CONDITION 0x9113 -#define GL_SYNC_STATUS 0x9114 -#define GL_SYNC_FLAGS 0x9115 -#define GL_SYNC_FENCE 0x9116 -#define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 -#define GL_UNSIGNALED 0x9118 -#define GL_SIGNALED 0x9119 -#define GL_ALREADY_SIGNALED 0x911A -#define GL_TIMEOUT_EXPIRED 0x911B -#define GL_CONDITION_SATISFIED 0x911C -#define GL_WAIT_FAILED 0x911D -#define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFF - -typedef GLenum (GLAPIENTRY * PFNGLCLIENTWAITSYNCPROC) (GLsync GLsync,GLbitfield flags,GLuint64 timeout); -typedef void (GLAPIENTRY * PFNGLDELETESYNCPROC) (GLsync GLsync); -typedef GLsync (GLAPIENTRY * PFNGLFENCESYNCPROC) (GLenum condition,GLbitfield flags); -typedef void (GLAPIENTRY * PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64* params); -typedef void (GLAPIENTRY * PFNGLGETSYNCIVPROC) (GLsync GLsync,GLenum pname,GLsizei bufSize,GLsizei* length, GLint *values); -typedef GLboolean (GLAPIENTRY * PFNGLISSYNCPROC) (GLsync GLsync); -typedef void (GLAPIENTRY * PFNGLWAITSYNCPROC) (GLsync GLsync,GLbitfield flags,GLuint64 timeout); - -#define glClientWaitSync GLEW_GET_FUN(__glewClientWaitSync) -#define glDeleteSync GLEW_GET_FUN(__glewDeleteSync) -#define glFenceSync GLEW_GET_FUN(__glewFenceSync) -#define glGetInteger64v GLEW_GET_FUN(__glewGetInteger64v) -#define glGetSynciv GLEW_GET_FUN(__glewGetSynciv) -#define glIsSync GLEW_GET_FUN(__glewIsSync) -#define glWaitSync GLEW_GET_FUN(__glewWaitSync) - -#define GLEW_ARB_sync GLEW_GET_VAR(__GLEW_ARB_sync) - -#endif /* GL_ARB_sync */ - -/* ----------------------- GL_ARB_tessellation_shader ---------------------- */ - -#ifndef GL_ARB_tessellation_shader -#define GL_ARB_tessellation_shader 1 - -#define GL_PATCHES 0xE -#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1 -#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C -#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D -#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E -#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F -#define GL_PATCH_VERTICES 0x8E72 -#define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73 -#define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74 -#define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75 -#define GL_TESS_GEN_MODE 0x8E76 -#define GL_TESS_GEN_SPACING 0x8E77 -#define GL_TESS_GEN_VERTEX_ORDER 0x8E78 -#define GL_TESS_GEN_POINT_MODE 0x8E79 -#define GL_ISOLINES 0x8E7A -#define GL_FRACTIONAL_ODD 0x8E7B -#define GL_FRACTIONAL_EVEN 0x8E7C -#define GL_MAX_PATCH_VERTICES 0x8E7D -#define GL_MAX_TESS_GEN_LEVEL 0x8E7E -#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F -#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80 -#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81 -#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82 -#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83 -#define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84 -#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85 -#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86 -#define GL_TESS_EVALUATION_SHADER 0x8E87 -#define GL_TESS_CONTROL_SHADER 0x8E88 -#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89 -#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A - -typedef void (GLAPIENTRY * PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat* values); -typedef void (GLAPIENTRY * PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value); - -#define glPatchParameterfv GLEW_GET_FUN(__glewPatchParameterfv) -#define glPatchParameteri GLEW_GET_FUN(__glewPatchParameteri) - -#define GLEW_ARB_tessellation_shader GLEW_GET_VAR(__GLEW_ARB_tessellation_shader) - -#endif /* GL_ARB_tessellation_shader */ - -/* ---------------------- GL_ARB_texture_border_clamp ---------------------- */ - -#ifndef GL_ARB_texture_border_clamp -#define GL_ARB_texture_border_clamp 1 - -#define GL_CLAMP_TO_BORDER_ARB 0x812D - -#define GLEW_ARB_texture_border_clamp GLEW_GET_VAR(__GLEW_ARB_texture_border_clamp) - -#endif /* GL_ARB_texture_border_clamp */ - -/* ---------------------- GL_ARB_texture_buffer_object --------------------- */ - -#ifndef GL_ARB_texture_buffer_object -#define GL_ARB_texture_buffer_object 1 - -#define GL_TEXTURE_BUFFER_ARB 0x8C2A -#define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B -#define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C -#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D -#define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E - -typedef void (GLAPIENTRY * PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer); - -#define glTexBufferARB GLEW_GET_FUN(__glewTexBufferARB) - -#define GLEW_ARB_texture_buffer_object GLEW_GET_VAR(__GLEW_ARB_texture_buffer_object) - -#endif /* GL_ARB_texture_buffer_object */ - -/* ------------------- GL_ARB_texture_buffer_object_rgb32 ------------------ */ - -#ifndef GL_ARB_texture_buffer_object_rgb32 -#define GL_ARB_texture_buffer_object_rgb32 1 - -#define GLEW_ARB_texture_buffer_object_rgb32 GLEW_GET_VAR(__GLEW_ARB_texture_buffer_object_rgb32) - -#endif /* GL_ARB_texture_buffer_object_rgb32 */ - -/* ---------------------- GL_ARB_texture_buffer_range ---------------------- */ - -#ifndef GL_ARB_texture_buffer_range -#define GL_ARB_texture_buffer_range 1 - -#define GL_TEXTURE_BUFFER_OFFSET 0x919D -#define GL_TEXTURE_BUFFER_SIZE 0x919E -#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F - -typedef void (GLAPIENTRY * PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); -typedef void (GLAPIENTRY * PFNGLTEXTUREBUFFERRANGEEXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); - -#define glTexBufferRange GLEW_GET_FUN(__glewTexBufferRange) -#define glTextureBufferRangeEXT GLEW_GET_FUN(__glewTextureBufferRangeEXT) - -#define GLEW_ARB_texture_buffer_range GLEW_GET_VAR(__GLEW_ARB_texture_buffer_range) - -#endif /* GL_ARB_texture_buffer_range */ - -/* ----------------------- GL_ARB_texture_compression ---------------------- */ - -#ifndef GL_ARB_texture_compression -#define GL_ARB_texture_compression 1 - -#define GL_COMPRESSED_ALPHA_ARB 0x84E9 -#define GL_COMPRESSED_LUMINANCE_ARB 0x84EA -#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB -#define GL_COMPRESSED_INTENSITY_ARB 0x84EC -#define GL_COMPRESSED_RGB_ARB 0x84ED -#define GL_COMPRESSED_RGBA_ARB 0x84EE -#define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF -#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0 -#define GL_TEXTURE_COMPRESSED_ARB 0x86A1 -#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2 -#define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3 - -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void* data); -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data); -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data); -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void* data); -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data); -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void* data); -typedef void (GLAPIENTRY * PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, void* img); - -#define glCompressedTexImage1DARB GLEW_GET_FUN(__glewCompressedTexImage1DARB) -#define glCompressedTexImage2DARB GLEW_GET_FUN(__glewCompressedTexImage2DARB) -#define glCompressedTexImage3DARB GLEW_GET_FUN(__glewCompressedTexImage3DARB) -#define glCompressedTexSubImage1DARB GLEW_GET_FUN(__glewCompressedTexSubImage1DARB) -#define glCompressedTexSubImage2DARB GLEW_GET_FUN(__glewCompressedTexSubImage2DARB) -#define glCompressedTexSubImage3DARB GLEW_GET_FUN(__glewCompressedTexSubImage3DARB) -#define glGetCompressedTexImageARB GLEW_GET_FUN(__glewGetCompressedTexImageARB) - -#define GLEW_ARB_texture_compression GLEW_GET_VAR(__GLEW_ARB_texture_compression) - -#endif /* GL_ARB_texture_compression */ - -/* -------------------- GL_ARB_texture_compression_bptc -------------------- */ - -#ifndef GL_ARB_texture_compression_bptc -#define GL_ARB_texture_compression_bptc 1 - -#define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C -#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D -#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E -#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F - -#define GLEW_ARB_texture_compression_bptc GLEW_GET_VAR(__GLEW_ARB_texture_compression_bptc) - -#endif /* GL_ARB_texture_compression_bptc */ - -/* -------------------- GL_ARB_texture_compression_rgtc -------------------- */ - -#ifndef GL_ARB_texture_compression_rgtc -#define GL_ARB_texture_compression_rgtc 1 - -#define GL_COMPRESSED_RED_RGTC1 0x8DBB -#define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC -#define GL_COMPRESSED_RG_RGTC2 0x8DBD -#define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE - -#define GLEW_ARB_texture_compression_rgtc GLEW_GET_VAR(__GLEW_ARB_texture_compression_rgtc) - -#endif /* GL_ARB_texture_compression_rgtc */ - -/* ------------------------ GL_ARB_texture_cube_map ------------------------ */ - -#ifndef GL_ARB_texture_cube_map -#define GL_ARB_texture_cube_map 1 - -#define GL_NORMAL_MAP_ARB 0x8511 -#define GL_REFLECTION_MAP_ARB 0x8512 -#define GL_TEXTURE_CUBE_MAP_ARB 0x8513 -#define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A -#define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C - -#define GLEW_ARB_texture_cube_map GLEW_GET_VAR(__GLEW_ARB_texture_cube_map) - -#endif /* GL_ARB_texture_cube_map */ - -/* --------------------- GL_ARB_texture_cube_map_array --------------------- */ - -#ifndef GL_ARB_texture_cube_map_array -#define GL_ARB_texture_cube_map_array 1 - -#define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009 -#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A -#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B -#define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C -#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D -#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E -#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F - -#define GLEW_ARB_texture_cube_map_array GLEW_GET_VAR(__GLEW_ARB_texture_cube_map_array) - -#endif /* GL_ARB_texture_cube_map_array */ - -/* ------------------------- GL_ARB_texture_env_add ------------------------ */ - -#ifndef GL_ARB_texture_env_add -#define GL_ARB_texture_env_add 1 - -#define GLEW_ARB_texture_env_add GLEW_GET_VAR(__GLEW_ARB_texture_env_add) - -#endif /* GL_ARB_texture_env_add */ - -/* ----------------------- GL_ARB_texture_env_combine ---------------------- */ - -#ifndef GL_ARB_texture_env_combine -#define GL_ARB_texture_env_combine 1 - -#define GL_SUBTRACT_ARB 0x84E7 -#define GL_COMBINE_ARB 0x8570 -#define GL_COMBINE_RGB_ARB 0x8571 -#define GL_COMBINE_ALPHA_ARB 0x8572 -#define GL_RGB_SCALE_ARB 0x8573 -#define GL_ADD_SIGNED_ARB 0x8574 -#define GL_INTERPOLATE_ARB 0x8575 -#define GL_CONSTANT_ARB 0x8576 -#define GL_PRIMARY_COLOR_ARB 0x8577 -#define GL_PREVIOUS_ARB 0x8578 -#define GL_SOURCE0_RGB_ARB 0x8580 -#define GL_SOURCE1_RGB_ARB 0x8581 -#define GL_SOURCE2_RGB_ARB 0x8582 -#define GL_SOURCE0_ALPHA_ARB 0x8588 -#define GL_SOURCE1_ALPHA_ARB 0x8589 -#define GL_SOURCE2_ALPHA_ARB 0x858A -#define GL_OPERAND0_RGB_ARB 0x8590 -#define GL_OPERAND1_RGB_ARB 0x8591 -#define GL_OPERAND2_RGB_ARB 0x8592 -#define GL_OPERAND0_ALPHA_ARB 0x8598 -#define GL_OPERAND1_ALPHA_ARB 0x8599 -#define GL_OPERAND2_ALPHA_ARB 0x859A - -#define GLEW_ARB_texture_env_combine GLEW_GET_VAR(__GLEW_ARB_texture_env_combine) - -#endif /* GL_ARB_texture_env_combine */ - -/* ---------------------- GL_ARB_texture_env_crossbar ---------------------- */ - -#ifndef GL_ARB_texture_env_crossbar -#define GL_ARB_texture_env_crossbar 1 - -#define GLEW_ARB_texture_env_crossbar GLEW_GET_VAR(__GLEW_ARB_texture_env_crossbar) - -#endif /* GL_ARB_texture_env_crossbar */ - -/* ------------------------ GL_ARB_texture_env_dot3 ------------------------ */ - -#ifndef GL_ARB_texture_env_dot3 -#define GL_ARB_texture_env_dot3 1 - -#define GL_DOT3_RGB_ARB 0x86AE -#define GL_DOT3_RGBA_ARB 0x86AF - -#define GLEW_ARB_texture_env_dot3 GLEW_GET_VAR(__GLEW_ARB_texture_env_dot3) - -#endif /* GL_ARB_texture_env_dot3 */ - -/* -------------------------- GL_ARB_texture_float ------------------------- */ - -#ifndef GL_ARB_texture_float -#define GL_ARB_texture_float 1 - -#define GL_RGBA32F_ARB 0x8814 -#define GL_RGB32F_ARB 0x8815 -#define GL_ALPHA32F_ARB 0x8816 -#define GL_INTENSITY32F_ARB 0x8817 -#define GL_LUMINANCE32F_ARB 0x8818 -#define GL_LUMINANCE_ALPHA32F_ARB 0x8819 -#define GL_RGBA16F_ARB 0x881A -#define GL_RGB16F_ARB 0x881B -#define GL_ALPHA16F_ARB 0x881C -#define GL_INTENSITY16F_ARB 0x881D -#define GL_LUMINANCE16F_ARB 0x881E -#define GL_LUMINANCE_ALPHA16F_ARB 0x881F -#define GL_TEXTURE_RED_TYPE_ARB 0x8C10 -#define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11 -#define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12 -#define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13 -#define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14 -#define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15 -#define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16 -#define GL_UNSIGNED_NORMALIZED_ARB 0x8C17 - -#define GLEW_ARB_texture_float GLEW_GET_VAR(__GLEW_ARB_texture_float) - -#endif /* GL_ARB_texture_float */ - -/* ------------------------- GL_ARB_texture_gather ------------------------- */ - -#ifndef GL_ARB_texture_gather -#define GL_ARB_texture_gather 1 - -#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E -#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F -#define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F - -#define GLEW_ARB_texture_gather GLEW_GET_VAR(__GLEW_ARB_texture_gather) - -#endif /* GL_ARB_texture_gather */ - -/* --------------------- GL_ARB_texture_mirrored_repeat -------------------- */ - -#ifndef GL_ARB_texture_mirrored_repeat -#define GL_ARB_texture_mirrored_repeat 1 - -#define GL_MIRRORED_REPEAT_ARB 0x8370 - -#define GLEW_ARB_texture_mirrored_repeat GLEW_GET_VAR(__GLEW_ARB_texture_mirrored_repeat) - -#endif /* GL_ARB_texture_mirrored_repeat */ - -/* ----------------------- GL_ARB_texture_multisample ---------------------- */ - -#ifndef GL_ARB_texture_multisample -#define GL_ARB_texture_multisample 1 - -#define GL_SAMPLE_POSITION 0x8E50 -#define GL_SAMPLE_MASK 0x8E51 -#define GL_SAMPLE_MASK_VALUE 0x8E52 -#define GL_MAX_SAMPLE_MASK_WORDS 0x8E59 -#define GL_TEXTURE_2D_MULTISAMPLE 0x9100 -#define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101 -#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102 -#define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103 -#define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104 -#define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105 -#define GL_TEXTURE_SAMPLES 0x9106 -#define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107 -#define GL_SAMPLER_2D_MULTISAMPLE 0x9108 -#define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109 -#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A -#define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B -#define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C -#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D -#define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E -#define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F -#define GL_MAX_INTEGER_SAMPLES 0x9110 - -typedef void (GLAPIENTRY * PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat* val); -typedef void (GLAPIENTRY * PFNGLSAMPLEMASKIPROC) (GLuint index, GLbitfield mask); -typedef void (GLAPIENTRY * PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -typedef void (GLAPIENTRY * PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); - -#define glGetMultisamplefv GLEW_GET_FUN(__glewGetMultisamplefv) -#define glSampleMaski GLEW_GET_FUN(__glewSampleMaski) -#define glTexImage2DMultisample GLEW_GET_FUN(__glewTexImage2DMultisample) -#define glTexImage3DMultisample GLEW_GET_FUN(__glewTexImage3DMultisample) - -#define GLEW_ARB_texture_multisample GLEW_GET_VAR(__GLEW_ARB_texture_multisample) - -#endif /* GL_ARB_texture_multisample */ - -/* -------------------- GL_ARB_texture_non_power_of_two -------------------- */ - -#ifndef GL_ARB_texture_non_power_of_two -#define GL_ARB_texture_non_power_of_two 1 - -#define GLEW_ARB_texture_non_power_of_two GLEW_GET_VAR(__GLEW_ARB_texture_non_power_of_two) - -#endif /* GL_ARB_texture_non_power_of_two */ - -/* ---------------------- GL_ARB_texture_query_levels ---------------------- */ - -#ifndef GL_ARB_texture_query_levels -#define GL_ARB_texture_query_levels 1 - -#define GLEW_ARB_texture_query_levels GLEW_GET_VAR(__GLEW_ARB_texture_query_levels) - -#endif /* GL_ARB_texture_query_levels */ - -/* ------------------------ GL_ARB_texture_query_lod ----------------------- */ - -#ifndef GL_ARB_texture_query_lod -#define GL_ARB_texture_query_lod 1 - -#define GLEW_ARB_texture_query_lod GLEW_GET_VAR(__GLEW_ARB_texture_query_lod) - -#endif /* GL_ARB_texture_query_lod */ - -/* ------------------------ GL_ARB_texture_rectangle ----------------------- */ - -#ifndef GL_ARB_texture_rectangle -#define GL_ARB_texture_rectangle 1 - -#define GL_TEXTURE_RECTANGLE_ARB 0x84F5 -#define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6 -#define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7 -#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8 -#define GL_SAMPLER_2D_RECT_ARB 0x8B63 -#define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64 - -#define GLEW_ARB_texture_rectangle GLEW_GET_VAR(__GLEW_ARB_texture_rectangle) - -#endif /* GL_ARB_texture_rectangle */ - -/* --------------------------- GL_ARB_texture_rg --------------------------- */ - -#ifndef GL_ARB_texture_rg -#define GL_ARB_texture_rg 1 - -#define GL_COMPRESSED_RED 0x8225 -#define GL_COMPRESSED_RG 0x8226 -#define GL_RG 0x8227 -#define GL_RG_INTEGER 0x8228 -#define GL_R8 0x8229 -#define GL_R16 0x822A -#define GL_RG8 0x822B -#define GL_RG16 0x822C -#define GL_R16F 0x822D -#define GL_R32F 0x822E -#define GL_RG16F 0x822F -#define GL_RG32F 0x8230 -#define GL_R8I 0x8231 -#define GL_R8UI 0x8232 -#define GL_R16I 0x8233 -#define GL_R16UI 0x8234 -#define GL_R32I 0x8235 -#define GL_R32UI 0x8236 -#define GL_RG8I 0x8237 -#define GL_RG8UI 0x8238 -#define GL_RG16I 0x8239 -#define GL_RG16UI 0x823A -#define GL_RG32I 0x823B -#define GL_RG32UI 0x823C - -#define GLEW_ARB_texture_rg GLEW_GET_VAR(__GLEW_ARB_texture_rg) - -#endif /* GL_ARB_texture_rg */ - -/* ----------------------- GL_ARB_texture_rgb10_a2ui ----------------------- */ - -#ifndef GL_ARB_texture_rgb10_a2ui -#define GL_ARB_texture_rgb10_a2ui 1 - -#define GL_RGB10_A2UI 0x906F - -#define GLEW_ARB_texture_rgb10_a2ui GLEW_GET_VAR(__GLEW_ARB_texture_rgb10_a2ui) - -#endif /* GL_ARB_texture_rgb10_a2ui */ - -/* ------------------------- GL_ARB_texture_storage ------------------------ */ - -#ifndef GL_ARB_texture_storage -#define GL_ARB_texture_storage 1 - -#define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F - -typedef void (GLAPIENTRY * PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -typedef void (GLAPIENTRY * PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GLAPIENTRY * PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -typedef void (GLAPIENTRY * PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -typedef void (GLAPIENTRY * PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GLAPIENTRY * PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); - -#define glTexStorage1D GLEW_GET_FUN(__glewTexStorage1D) -#define glTexStorage2D GLEW_GET_FUN(__glewTexStorage2D) -#define glTexStorage3D GLEW_GET_FUN(__glewTexStorage3D) -#define glTextureStorage1DEXT GLEW_GET_FUN(__glewTextureStorage1DEXT) -#define glTextureStorage2DEXT GLEW_GET_FUN(__glewTextureStorage2DEXT) -#define glTextureStorage3DEXT GLEW_GET_FUN(__glewTextureStorage3DEXT) - -#define GLEW_ARB_texture_storage GLEW_GET_VAR(__GLEW_ARB_texture_storage) - -#endif /* GL_ARB_texture_storage */ - -/* ------------------- GL_ARB_texture_storage_multisample ------------------ */ - -#ifndef GL_ARB_texture_storage_multisample -#define GL_ARB_texture_storage_multisample 1 - -typedef void (GLAPIENTRY * PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -typedef void (GLAPIENTRY * PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -typedef void (GLAPIENTRY * PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -typedef void (GLAPIENTRY * PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); - -#define glTexStorage2DMultisample GLEW_GET_FUN(__glewTexStorage2DMultisample) -#define glTexStorage3DMultisample GLEW_GET_FUN(__glewTexStorage3DMultisample) -#define glTextureStorage2DMultisampleEXT GLEW_GET_FUN(__glewTextureStorage2DMultisampleEXT) -#define glTextureStorage3DMultisampleEXT GLEW_GET_FUN(__glewTextureStorage3DMultisampleEXT) - -#define GLEW_ARB_texture_storage_multisample GLEW_GET_VAR(__GLEW_ARB_texture_storage_multisample) - -#endif /* GL_ARB_texture_storage_multisample */ - -/* ------------------------- GL_ARB_texture_swizzle ------------------------ */ - -#ifndef GL_ARB_texture_swizzle -#define GL_ARB_texture_swizzle 1 - -#define GL_TEXTURE_SWIZZLE_R 0x8E42 -#define GL_TEXTURE_SWIZZLE_G 0x8E43 -#define GL_TEXTURE_SWIZZLE_B 0x8E44 -#define GL_TEXTURE_SWIZZLE_A 0x8E45 -#define GL_TEXTURE_SWIZZLE_RGBA 0x8E46 - -#define GLEW_ARB_texture_swizzle GLEW_GET_VAR(__GLEW_ARB_texture_swizzle) - -#endif /* GL_ARB_texture_swizzle */ - -/* -------------------------- GL_ARB_texture_view -------------------------- */ - -#ifndef GL_ARB_texture_view -#define GL_ARB_texture_view 1 - -#define GL_TEXTURE_VIEW_MIN_LEVEL 0x82DB -#define GL_TEXTURE_VIEW_NUM_LEVELS 0x82DC -#define GL_TEXTURE_VIEW_MIN_LAYER 0x82DD -#define GL_TEXTURE_VIEW_NUM_LAYERS 0x82DE -#define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF - -typedef void (GLAPIENTRY * PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); - -#define glTextureView GLEW_GET_FUN(__glewTextureView) - -#define GLEW_ARB_texture_view GLEW_GET_VAR(__GLEW_ARB_texture_view) - -#endif /* GL_ARB_texture_view */ - -/* --------------------------- GL_ARB_timer_query -------------------------- */ - -#ifndef GL_ARB_timer_query -#define GL_ARB_timer_query 1 - -#define GL_TIME_ELAPSED 0x88BF -#define GL_TIMESTAMP 0x8E28 - -typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64* params); -typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64* params); -typedef void (GLAPIENTRY * PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target); - -#define glGetQueryObjecti64v GLEW_GET_FUN(__glewGetQueryObjecti64v) -#define glGetQueryObjectui64v GLEW_GET_FUN(__glewGetQueryObjectui64v) -#define glQueryCounter GLEW_GET_FUN(__glewQueryCounter) - -#define GLEW_ARB_timer_query GLEW_GET_VAR(__GLEW_ARB_timer_query) - -#endif /* GL_ARB_timer_query */ - -/* ----------------------- GL_ARB_transform_feedback2 ---------------------- */ - -#ifndef GL_ARB_transform_feedback2 -#define GL_ARB_transform_feedback2 1 - -#define GL_TRANSFORM_FEEDBACK 0x8E22 -#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23 -#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24 -#define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25 - -typedef void (GLAPIENTRY * PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id); -typedef void (GLAPIENTRY * PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint* ids); -typedef void (GLAPIENTRY * PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id); -typedef void (GLAPIENTRY * PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint* ids); -typedef GLboolean (GLAPIENTRY * PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id); -typedef void (GLAPIENTRY * PFNGLPAUSETRANSFORMFEEDBACKPROC) (void); -typedef void (GLAPIENTRY * PFNGLRESUMETRANSFORMFEEDBACKPROC) (void); - -#define glBindTransformFeedback GLEW_GET_FUN(__glewBindTransformFeedback) -#define glDeleteTransformFeedbacks GLEW_GET_FUN(__glewDeleteTransformFeedbacks) -#define glDrawTransformFeedback GLEW_GET_FUN(__glewDrawTransformFeedback) -#define glGenTransformFeedbacks GLEW_GET_FUN(__glewGenTransformFeedbacks) -#define glIsTransformFeedback GLEW_GET_FUN(__glewIsTransformFeedback) -#define glPauseTransformFeedback GLEW_GET_FUN(__glewPauseTransformFeedback) -#define glResumeTransformFeedback GLEW_GET_FUN(__glewResumeTransformFeedback) - -#define GLEW_ARB_transform_feedback2 GLEW_GET_VAR(__GLEW_ARB_transform_feedback2) - -#endif /* GL_ARB_transform_feedback2 */ - -/* ----------------------- GL_ARB_transform_feedback3 ---------------------- */ - -#ifndef GL_ARB_transform_feedback3 -#define GL_ARB_transform_feedback3 1 - -#define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70 -#define GL_MAX_VERTEX_STREAMS 0x8E71 - -typedef void (GLAPIENTRY * PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id); -typedef void (GLAPIENTRY * PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream); -typedef void (GLAPIENTRY * PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index); -typedef void (GLAPIENTRY * PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint* params); - -#define glBeginQueryIndexed GLEW_GET_FUN(__glewBeginQueryIndexed) -#define glDrawTransformFeedbackStream GLEW_GET_FUN(__glewDrawTransformFeedbackStream) -#define glEndQueryIndexed GLEW_GET_FUN(__glewEndQueryIndexed) -#define glGetQueryIndexediv GLEW_GET_FUN(__glewGetQueryIndexediv) - -#define GLEW_ARB_transform_feedback3 GLEW_GET_VAR(__GLEW_ARB_transform_feedback3) - -#endif /* GL_ARB_transform_feedback3 */ - -/* ------------------ GL_ARB_transform_feedback_instanced ------------------ */ - -#ifndef GL_ARB_transform_feedback_instanced -#define GL_ARB_transform_feedback_instanced 1 - -typedef void (GLAPIENTRY * PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei primcount); -typedef void (GLAPIENTRY * PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei primcount); - -#define glDrawTransformFeedbackInstanced GLEW_GET_FUN(__glewDrawTransformFeedbackInstanced) -#define glDrawTransformFeedbackStreamInstanced GLEW_GET_FUN(__glewDrawTransformFeedbackStreamInstanced) - -#define GLEW_ARB_transform_feedback_instanced GLEW_GET_VAR(__GLEW_ARB_transform_feedback_instanced) - -#endif /* GL_ARB_transform_feedback_instanced */ - -/* ------------------------ GL_ARB_transpose_matrix ------------------------ */ - -#ifndef GL_ARB_transpose_matrix -#define GL_ARB_transpose_matrix 1 - -#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3 -#define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4 -#define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5 -#define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6 - -typedef void (GLAPIENTRY * PFNGLLOADTRANSPOSEMATRIXDARBPROC) (GLdouble m[16]); -typedef void (GLAPIENTRY * PFNGLLOADTRANSPOSEMATRIXFARBPROC) (GLfloat m[16]); -typedef void (GLAPIENTRY * PFNGLMULTTRANSPOSEMATRIXDARBPROC) (GLdouble m[16]); -typedef void (GLAPIENTRY * PFNGLMULTTRANSPOSEMATRIXFARBPROC) (GLfloat m[16]); - -#define glLoadTransposeMatrixdARB GLEW_GET_FUN(__glewLoadTransposeMatrixdARB) -#define glLoadTransposeMatrixfARB GLEW_GET_FUN(__glewLoadTransposeMatrixfARB) -#define glMultTransposeMatrixdARB GLEW_GET_FUN(__glewMultTransposeMatrixdARB) -#define glMultTransposeMatrixfARB GLEW_GET_FUN(__glewMultTransposeMatrixfARB) - -#define GLEW_ARB_transpose_matrix GLEW_GET_VAR(__GLEW_ARB_transpose_matrix) - -#endif /* GL_ARB_transpose_matrix */ - -/* ---------------------- GL_ARB_uniform_buffer_object --------------------- */ - -#ifndef GL_ARB_uniform_buffer_object -#define GL_ARB_uniform_buffer_object 1 - -#define GL_UNIFORM_BUFFER 0x8A11 -#define GL_UNIFORM_BUFFER_BINDING 0x8A28 -#define GL_UNIFORM_BUFFER_START 0x8A29 -#define GL_UNIFORM_BUFFER_SIZE 0x8A2A -#define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B -#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C -#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D -#define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E -#define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F -#define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30 -#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31 -#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32 -#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33 -#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34 -#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35 -#define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36 -#define GL_UNIFORM_TYPE 0x8A37 -#define GL_UNIFORM_SIZE 0x8A38 -#define GL_UNIFORM_NAME_LENGTH 0x8A39 -#define GL_UNIFORM_BLOCK_INDEX 0x8A3A -#define GL_UNIFORM_OFFSET 0x8A3B -#define GL_UNIFORM_ARRAY_STRIDE 0x8A3C -#define GL_UNIFORM_MATRIX_STRIDE 0x8A3D -#define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E -#define GL_UNIFORM_BLOCK_BINDING 0x8A3F -#define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40 -#define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41 -#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42 -#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46 -#define GL_INVALID_INDEX 0xFFFFFFFF - -typedef void (GLAPIENTRY * PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer); -typedef void (GLAPIENTRY * PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformBlockName); -typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformName); -typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint* uniformIndices, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint* data); -typedef GLuint (GLAPIENTRY * PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar* uniformBlockName); -typedef void (GLAPIENTRY * PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar** uniformNames, GLuint* uniformIndices); -typedef void (GLAPIENTRY * PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); - -#define glBindBufferBase GLEW_GET_FUN(__glewBindBufferBase) -#define glBindBufferRange GLEW_GET_FUN(__glewBindBufferRange) -#define glGetActiveUniformBlockName GLEW_GET_FUN(__glewGetActiveUniformBlockName) -#define glGetActiveUniformBlockiv GLEW_GET_FUN(__glewGetActiveUniformBlockiv) -#define glGetActiveUniformName GLEW_GET_FUN(__glewGetActiveUniformName) -#define glGetActiveUniformsiv GLEW_GET_FUN(__glewGetActiveUniformsiv) -#define glGetIntegeri_v GLEW_GET_FUN(__glewGetIntegeri_v) -#define glGetUniformBlockIndex GLEW_GET_FUN(__glewGetUniformBlockIndex) -#define glGetUniformIndices GLEW_GET_FUN(__glewGetUniformIndices) -#define glUniformBlockBinding GLEW_GET_FUN(__glewUniformBlockBinding) - -#define GLEW_ARB_uniform_buffer_object GLEW_GET_VAR(__GLEW_ARB_uniform_buffer_object) - -#endif /* GL_ARB_uniform_buffer_object */ - -/* ------------------------ GL_ARB_vertex_array_bgra ----------------------- */ - -#ifndef GL_ARB_vertex_array_bgra -#define GL_ARB_vertex_array_bgra 1 - -#define GL_BGRA 0x80E1 - -#define GLEW_ARB_vertex_array_bgra GLEW_GET_VAR(__GLEW_ARB_vertex_array_bgra) - -#endif /* GL_ARB_vertex_array_bgra */ - -/* ----------------------- GL_ARB_vertex_array_object ---------------------- */ - -#ifndef GL_ARB_vertex_array_object -#define GL_ARB_vertex_array_object 1 - -#define GL_VERTEX_ARRAY_BINDING 0x85B5 - -typedef void (GLAPIENTRY * PFNGLBINDVERTEXARRAYPROC) (GLuint array); -typedef void (GLAPIENTRY * PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint* arrays); -typedef void (GLAPIENTRY * PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint* arrays); -typedef GLboolean (GLAPIENTRY * PFNGLISVERTEXARRAYPROC) (GLuint array); - -#define glBindVertexArray GLEW_GET_FUN(__glewBindVertexArray) -#define glDeleteVertexArrays GLEW_GET_FUN(__glewDeleteVertexArrays) -#define glGenVertexArrays GLEW_GET_FUN(__glewGenVertexArrays) -#define glIsVertexArray GLEW_GET_FUN(__glewIsVertexArray) - -#define GLEW_ARB_vertex_array_object GLEW_GET_VAR(__GLEW_ARB_vertex_array_object) - -#endif /* GL_ARB_vertex_array_object */ - -/* ----------------------- GL_ARB_vertex_attrib_64bit ---------------------- */ - -#ifndef GL_ARB_vertex_attrib_64bit -#define GL_ARB_vertex_attrib_64bit 1 - -#define GL_DOUBLE_MAT2 0x8F46 -#define GL_DOUBLE_MAT3 0x8F47 -#define GL_DOUBLE_MAT4 0x8F48 -#define GL_DOUBLE_VEC2 0x8FFC -#define GL_DOUBLE_VEC3 0x8FFD -#define GL_DOUBLE_VEC4 0x8FFE - -typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble* params); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void* pointer); - -#define glGetVertexAttribLdv GLEW_GET_FUN(__glewGetVertexAttribLdv) -#define glVertexAttribL1d GLEW_GET_FUN(__glewVertexAttribL1d) -#define glVertexAttribL1dv GLEW_GET_FUN(__glewVertexAttribL1dv) -#define glVertexAttribL2d GLEW_GET_FUN(__glewVertexAttribL2d) -#define glVertexAttribL2dv GLEW_GET_FUN(__glewVertexAttribL2dv) -#define glVertexAttribL3d GLEW_GET_FUN(__glewVertexAttribL3d) -#define glVertexAttribL3dv GLEW_GET_FUN(__glewVertexAttribL3dv) -#define glVertexAttribL4d GLEW_GET_FUN(__glewVertexAttribL4d) -#define glVertexAttribL4dv GLEW_GET_FUN(__glewVertexAttribL4dv) -#define glVertexAttribLPointer GLEW_GET_FUN(__glewVertexAttribLPointer) - -#define GLEW_ARB_vertex_attrib_64bit GLEW_GET_VAR(__GLEW_ARB_vertex_attrib_64bit) - -#endif /* GL_ARB_vertex_attrib_64bit */ - -/* ---------------------- GL_ARB_vertex_attrib_binding --------------------- */ - -#ifndef GL_ARB_vertex_attrib_binding -#define GL_ARB_vertex_attrib_binding 1 - -#define GL_VERTEX_ATTRIB_BINDING 0x82D4 -#define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5 -#define GL_VERTEX_BINDING_DIVISOR 0x82D6 -#define GL_VERTEX_BINDING_OFFSET 0x82D7 -#define GL_VERTEX_BINDING_STRIDE 0x82D8 -#define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9 -#define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA - -typedef void (GLAPIENTRY * PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -typedef void (GLAPIENTRY * PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor); - -#define glBindVertexBuffer GLEW_GET_FUN(__glewBindVertexBuffer) -#define glVertexAttribBinding GLEW_GET_FUN(__glewVertexAttribBinding) -#define glVertexAttribFormat GLEW_GET_FUN(__glewVertexAttribFormat) -#define glVertexAttribIFormat GLEW_GET_FUN(__glewVertexAttribIFormat) -#define glVertexAttribLFormat GLEW_GET_FUN(__glewVertexAttribLFormat) -#define glVertexBindingDivisor GLEW_GET_FUN(__glewVertexBindingDivisor) - -#define GLEW_ARB_vertex_attrib_binding GLEW_GET_VAR(__GLEW_ARB_vertex_attrib_binding) - -#endif /* GL_ARB_vertex_attrib_binding */ - -/* -------------------------- GL_ARB_vertex_blend -------------------------- */ - -#ifndef GL_ARB_vertex_blend -#define GL_ARB_vertex_blend 1 - -#define GL_MODELVIEW0_ARB 0x1700 -#define GL_MODELVIEW1_ARB 0x850A -#define GL_MAX_VERTEX_UNITS_ARB 0x86A4 -#define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5 -#define GL_WEIGHT_SUM_UNITY_ARB 0x86A6 -#define GL_VERTEX_BLEND_ARB 0x86A7 -#define GL_CURRENT_WEIGHT_ARB 0x86A8 -#define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9 -#define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA -#define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB -#define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC -#define GL_WEIGHT_ARRAY_ARB 0x86AD -#define GL_MODELVIEW2_ARB 0x8722 -#define GL_MODELVIEW3_ARB 0x8723 -#define GL_MODELVIEW4_ARB 0x8724 -#define GL_MODELVIEW5_ARB 0x8725 -#define GL_MODELVIEW6_ARB 0x8726 -#define GL_MODELVIEW7_ARB 0x8727 -#define GL_MODELVIEW8_ARB 0x8728 -#define GL_MODELVIEW9_ARB 0x8729 -#define GL_MODELVIEW10_ARB 0x872A -#define GL_MODELVIEW11_ARB 0x872B -#define GL_MODELVIEW12_ARB 0x872C -#define GL_MODELVIEW13_ARB 0x872D -#define GL_MODELVIEW14_ARB 0x872E -#define GL_MODELVIEW15_ARB 0x872F -#define GL_MODELVIEW16_ARB 0x8730 -#define GL_MODELVIEW17_ARB 0x8731 -#define GL_MODELVIEW18_ARB 0x8732 -#define GL_MODELVIEW19_ARB 0x8733 -#define GL_MODELVIEW20_ARB 0x8734 -#define GL_MODELVIEW21_ARB 0x8735 -#define GL_MODELVIEW22_ARB 0x8736 -#define GL_MODELVIEW23_ARB 0x8737 -#define GL_MODELVIEW24_ARB 0x8738 -#define GL_MODELVIEW25_ARB 0x8739 -#define GL_MODELVIEW26_ARB 0x873A -#define GL_MODELVIEW27_ARB 0x873B -#define GL_MODELVIEW28_ARB 0x873C -#define GL_MODELVIEW29_ARB 0x873D -#define GL_MODELVIEW30_ARB 0x873E -#define GL_MODELVIEW31_ARB 0x873F - -typedef void (GLAPIENTRY * PFNGLVERTEXBLENDARBPROC) (GLint count); -typedef void (GLAPIENTRY * PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer); -typedef void (GLAPIENTRY * PFNGLWEIGHTBVARBPROC) (GLint size, GLbyte *weights); -typedef void (GLAPIENTRY * PFNGLWEIGHTDVARBPROC) (GLint size, GLdouble *weights); -typedef void (GLAPIENTRY * PFNGLWEIGHTFVARBPROC) (GLint size, GLfloat *weights); -typedef void (GLAPIENTRY * PFNGLWEIGHTIVARBPROC) (GLint size, GLint *weights); -typedef void (GLAPIENTRY * PFNGLWEIGHTSVARBPROC) (GLint size, GLshort *weights); -typedef void (GLAPIENTRY * PFNGLWEIGHTUBVARBPROC) (GLint size, GLubyte *weights); -typedef void (GLAPIENTRY * PFNGLWEIGHTUIVARBPROC) (GLint size, GLuint *weights); -typedef void (GLAPIENTRY * PFNGLWEIGHTUSVARBPROC) (GLint size, GLushort *weights); - -#define glVertexBlendARB GLEW_GET_FUN(__glewVertexBlendARB) -#define glWeightPointerARB GLEW_GET_FUN(__glewWeightPointerARB) -#define glWeightbvARB GLEW_GET_FUN(__glewWeightbvARB) -#define glWeightdvARB GLEW_GET_FUN(__glewWeightdvARB) -#define glWeightfvARB GLEW_GET_FUN(__glewWeightfvARB) -#define glWeightivARB GLEW_GET_FUN(__glewWeightivARB) -#define glWeightsvARB GLEW_GET_FUN(__glewWeightsvARB) -#define glWeightubvARB GLEW_GET_FUN(__glewWeightubvARB) -#define glWeightuivARB GLEW_GET_FUN(__glewWeightuivARB) -#define glWeightusvARB GLEW_GET_FUN(__glewWeightusvARB) - -#define GLEW_ARB_vertex_blend GLEW_GET_VAR(__GLEW_ARB_vertex_blend) - -#endif /* GL_ARB_vertex_blend */ - -/* ---------------------- GL_ARB_vertex_buffer_object ---------------------- */ - -#ifndef GL_ARB_vertex_buffer_object -#define GL_ARB_vertex_buffer_object 1 - -#define GL_BUFFER_SIZE_ARB 0x8764 -#define GL_BUFFER_USAGE_ARB 0x8765 -#define GL_ARRAY_BUFFER_ARB 0x8892 -#define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893 -#define GL_ARRAY_BUFFER_BINDING_ARB 0x8894 -#define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895 -#define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896 -#define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897 -#define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898 -#define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899 -#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A -#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B -#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C -#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D -#define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E -#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F -#define GL_READ_ONLY_ARB 0x88B8 -#define GL_WRITE_ONLY_ARB 0x88B9 -#define GL_READ_WRITE_ARB 0x88BA -#define GL_BUFFER_ACCESS_ARB 0x88BB -#define GL_BUFFER_MAPPED_ARB 0x88BC -#define GL_BUFFER_MAP_POINTER_ARB 0x88BD -#define GL_STREAM_DRAW_ARB 0x88E0 -#define GL_STREAM_READ_ARB 0x88E1 -#define GL_STREAM_COPY_ARB 0x88E2 -#define GL_STATIC_DRAW_ARB 0x88E4 -#define GL_STATIC_READ_ARB 0x88E5 -#define GL_STATIC_COPY_ARB 0x88E6 -#define GL_DYNAMIC_DRAW_ARB 0x88E8 -#define GL_DYNAMIC_READ_ARB 0x88E9 -#define GL_DYNAMIC_COPY_ARB 0x88EA - -typedef ptrdiff_t GLintptrARB; -typedef ptrdiff_t GLsizeiptrARB; - -typedef void (GLAPIENTRY * PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer); -typedef void (GLAPIENTRY * PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const GLvoid* data, GLenum usage); -typedef void (GLAPIENTRY * PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid* data); -typedef void (GLAPIENTRY * PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint* buffers); -typedef void (GLAPIENTRY * PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint* buffers); -typedef void (GLAPIENTRY * PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, GLvoid** params); -typedef void (GLAPIENTRY * PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid* data); -typedef GLboolean (GLAPIENTRY * PFNGLISBUFFERARBPROC) (GLuint buffer); -typedef GLvoid * (GLAPIENTRY * PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access); -typedef GLboolean (GLAPIENTRY * PFNGLUNMAPBUFFERARBPROC) (GLenum target); - -#define glBindBufferARB GLEW_GET_FUN(__glewBindBufferARB) -#define glBufferDataARB GLEW_GET_FUN(__glewBufferDataARB) -#define glBufferSubDataARB GLEW_GET_FUN(__glewBufferSubDataARB) -#define glDeleteBuffersARB GLEW_GET_FUN(__glewDeleteBuffersARB) -#define glGenBuffersARB GLEW_GET_FUN(__glewGenBuffersARB) -#define glGetBufferParameterivARB GLEW_GET_FUN(__glewGetBufferParameterivARB) -#define glGetBufferPointervARB GLEW_GET_FUN(__glewGetBufferPointervARB) -#define glGetBufferSubDataARB GLEW_GET_FUN(__glewGetBufferSubDataARB) -#define glIsBufferARB GLEW_GET_FUN(__glewIsBufferARB) -#define glMapBufferARB GLEW_GET_FUN(__glewMapBufferARB) -#define glUnmapBufferARB GLEW_GET_FUN(__glewUnmapBufferARB) - -#define GLEW_ARB_vertex_buffer_object GLEW_GET_VAR(__GLEW_ARB_vertex_buffer_object) - -#endif /* GL_ARB_vertex_buffer_object */ - -/* ------------------------- GL_ARB_vertex_program ------------------------- */ - -#ifndef GL_ARB_vertex_program -#define GL_ARB_vertex_program 1 - -#define GL_COLOR_SUM_ARB 0x8458 -#define GL_VERTEX_PROGRAM_ARB 0x8620 -#define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622 -#define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623 -#define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624 -#define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625 -#define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626 -#define GL_PROGRAM_LENGTH_ARB 0x8627 -#define GL_PROGRAM_STRING_ARB 0x8628 -#define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E -#define GL_MAX_PROGRAM_MATRICES_ARB 0x862F -#define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640 -#define GL_CURRENT_MATRIX_ARB 0x8641 -#define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642 -#define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643 -#define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645 -#define GL_PROGRAM_ERROR_POSITION_ARB 0x864B -#define GL_PROGRAM_BINDING_ARB 0x8677 -#define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869 -#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A -#define GL_PROGRAM_ERROR_STRING_ARB 0x8874 -#define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875 -#define GL_PROGRAM_FORMAT_ARB 0x8876 -#define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0 -#define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1 -#define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2 -#define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3 -#define GL_PROGRAM_TEMPORARIES_ARB 0x88A4 -#define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5 -#define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6 -#define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7 -#define GL_PROGRAM_PARAMETERS_ARB 0x88A8 -#define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9 -#define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA -#define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB -#define GL_PROGRAM_ATTRIBS_ARB 0x88AC -#define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD -#define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE -#define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF -#define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0 -#define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1 -#define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2 -#define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3 -#define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4 -#define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5 -#define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6 -#define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7 -#define GL_MATRIX0_ARB 0x88C0 -#define GL_MATRIX1_ARB 0x88C1 -#define GL_MATRIX2_ARB 0x88C2 -#define GL_MATRIX3_ARB 0x88C3 -#define GL_MATRIX4_ARB 0x88C4 -#define GL_MATRIX5_ARB 0x88C5 -#define GL_MATRIX6_ARB 0x88C6 -#define GL_MATRIX7_ARB 0x88C7 -#define GL_MATRIX8_ARB 0x88C8 -#define GL_MATRIX9_ARB 0x88C9 -#define GL_MATRIX10_ARB 0x88CA -#define GL_MATRIX11_ARB 0x88CB -#define GL_MATRIX12_ARB 0x88CC -#define GL_MATRIX13_ARB 0x88CD -#define GL_MATRIX14_ARB 0x88CE -#define GL_MATRIX15_ARB 0x88CF -#define GL_MATRIX16_ARB 0x88D0 -#define GL_MATRIX17_ARB 0x88D1 -#define GL_MATRIX18_ARB 0x88D2 -#define GL_MATRIX19_ARB 0x88D3 -#define GL_MATRIX20_ARB 0x88D4 -#define GL_MATRIX21_ARB 0x88D5 -#define GL_MATRIX22_ARB 0x88D6 -#define GL_MATRIX23_ARB 0x88D7 -#define GL_MATRIX24_ARB 0x88D8 -#define GL_MATRIX25_ARB 0x88D9 -#define GL_MATRIX26_ARB 0x88DA -#define GL_MATRIX27_ARB 0x88DB -#define GL_MATRIX28_ARB 0x88DC -#define GL_MATRIX29_ARB 0x88DD -#define GL_MATRIX30_ARB 0x88DE -#define GL_MATRIX31_ARB 0x88DF - -typedef void (GLAPIENTRY * PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program); -typedef void (GLAPIENTRY * PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint* programs); -typedef void (GLAPIENTRY * PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index); -typedef void (GLAPIENTRY * PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index); -typedef void (GLAPIENTRY * PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint* programs); -typedef void (GLAPIENTRY * PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble* params); -typedef void (GLAPIENTRY * PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble* params); -typedef void (GLAPIENTRY * PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, void* string); -typedef void (GLAPIENTRY * PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, GLvoid** pointer); -typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble* params); -typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint* params); -typedef GLboolean (GLAPIENTRY * PFNGLISPROGRAMARBPROC) (GLuint program); -typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble* params); -typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble* params); -typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const void* string); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* pointer); - -#define glBindProgramARB GLEW_GET_FUN(__glewBindProgramARB) -#define glDeleteProgramsARB GLEW_GET_FUN(__glewDeleteProgramsARB) -#define glDisableVertexAttribArrayARB GLEW_GET_FUN(__glewDisableVertexAttribArrayARB) -#define glEnableVertexAttribArrayARB GLEW_GET_FUN(__glewEnableVertexAttribArrayARB) -#define glGenProgramsARB GLEW_GET_FUN(__glewGenProgramsARB) -#define glGetProgramEnvParameterdvARB GLEW_GET_FUN(__glewGetProgramEnvParameterdvARB) -#define glGetProgramEnvParameterfvARB GLEW_GET_FUN(__glewGetProgramEnvParameterfvARB) -#define glGetProgramLocalParameterdvARB GLEW_GET_FUN(__glewGetProgramLocalParameterdvARB) -#define glGetProgramLocalParameterfvARB GLEW_GET_FUN(__glewGetProgramLocalParameterfvARB) -#define glGetProgramStringARB GLEW_GET_FUN(__glewGetProgramStringARB) -#define glGetProgramivARB GLEW_GET_FUN(__glewGetProgramivARB) -#define glGetVertexAttribPointervARB GLEW_GET_FUN(__glewGetVertexAttribPointervARB) -#define glGetVertexAttribdvARB GLEW_GET_FUN(__glewGetVertexAttribdvARB) -#define glGetVertexAttribfvARB GLEW_GET_FUN(__glewGetVertexAttribfvARB) -#define glGetVertexAttribivARB GLEW_GET_FUN(__glewGetVertexAttribivARB) -#define glIsProgramARB GLEW_GET_FUN(__glewIsProgramARB) -#define glProgramEnvParameter4dARB GLEW_GET_FUN(__glewProgramEnvParameter4dARB) -#define glProgramEnvParameter4dvARB GLEW_GET_FUN(__glewProgramEnvParameter4dvARB) -#define glProgramEnvParameter4fARB GLEW_GET_FUN(__glewProgramEnvParameter4fARB) -#define glProgramEnvParameter4fvARB GLEW_GET_FUN(__glewProgramEnvParameter4fvARB) -#define glProgramLocalParameter4dARB GLEW_GET_FUN(__glewProgramLocalParameter4dARB) -#define glProgramLocalParameter4dvARB GLEW_GET_FUN(__glewProgramLocalParameter4dvARB) -#define glProgramLocalParameter4fARB GLEW_GET_FUN(__glewProgramLocalParameter4fARB) -#define glProgramLocalParameter4fvARB GLEW_GET_FUN(__glewProgramLocalParameter4fvARB) -#define glProgramStringARB GLEW_GET_FUN(__glewProgramStringARB) -#define glVertexAttrib1dARB GLEW_GET_FUN(__glewVertexAttrib1dARB) -#define glVertexAttrib1dvARB GLEW_GET_FUN(__glewVertexAttrib1dvARB) -#define glVertexAttrib1fARB GLEW_GET_FUN(__glewVertexAttrib1fARB) -#define glVertexAttrib1fvARB GLEW_GET_FUN(__glewVertexAttrib1fvARB) -#define glVertexAttrib1sARB GLEW_GET_FUN(__glewVertexAttrib1sARB) -#define glVertexAttrib1svARB GLEW_GET_FUN(__glewVertexAttrib1svARB) -#define glVertexAttrib2dARB GLEW_GET_FUN(__glewVertexAttrib2dARB) -#define glVertexAttrib2dvARB GLEW_GET_FUN(__glewVertexAttrib2dvARB) -#define glVertexAttrib2fARB GLEW_GET_FUN(__glewVertexAttrib2fARB) -#define glVertexAttrib2fvARB GLEW_GET_FUN(__glewVertexAttrib2fvARB) -#define glVertexAttrib2sARB GLEW_GET_FUN(__glewVertexAttrib2sARB) -#define glVertexAttrib2svARB GLEW_GET_FUN(__glewVertexAttrib2svARB) -#define glVertexAttrib3dARB GLEW_GET_FUN(__glewVertexAttrib3dARB) -#define glVertexAttrib3dvARB GLEW_GET_FUN(__glewVertexAttrib3dvARB) -#define glVertexAttrib3fARB GLEW_GET_FUN(__glewVertexAttrib3fARB) -#define glVertexAttrib3fvARB GLEW_GET_FUN(__glewVertexAttrib3fvARB) -#define glVertexAttrib3sARB GLEW_GET_FUN(__glewVertexAttrib3sARB) -#define glVertexAttrib3svARB GLEW_GET_FUN(__glewVertexAttrib3svARB) -#define glVertexAttrib4NbvARB GLEW_GET_FUN(__glewVertexAttrib4NbvARB) -#define glVertexAttrib4NivARB GLEW_GET_FUN(__glewVertexAttrib4NivARB) -#define glVertexAttrib4NsvARB GLEW_GET_FUN(__glewVertexAttrib4NsvARB) -#define glVertexAttrib4NubARB GLEW_GET_FUN(__glewVertexAttrib4NubARB) -#define glVertexAttrib4NubvARB GLEW_GET_FUN(__glewVertexAttrib4NubvARB) -#define glVertexAttrib4NuivARB GLEW_GET_FUN(__glewVertexAttrib4NuivARB) -#define glVertexAttrib4NusvARB GLEW_GET_FUN(__glewVertexAttrib4NusvARB) -#define glVertexAttrib4bvARB GLEW_GET_FUN(__glewVertexAttrib4bvARB) -#define glVertexAttrib4dARB GLEW_GET_FUN(__glewVertexAttrib4dARB) -#define glVertexAttrib4dvARB GLEW_GET_FUN(__glewVertexAttrib4dvARB) -#define glVertexAttrib4fARB GLEW_GET_FUN(__glewVertexAttrib4fARB) -#define glVertexAttrib4fvARB GLEW_GET_FUN(__glewVertexAttrib4fvARB) -#define glVertexAttrib4ivARB GLEW_GET_FUN(__glewVertexAttrib4ivARB) -#define glVertexAttrib4sARB GLEW_GET_FUN(__glewVertexAttrib4sARB) -#define glVertexAttrib4svARB GLEW_GET_FUN(__glewVertexAttrib4svARB) -#define glVertexAttrib4ubvARB GLEW_GET_FUN(__glewVertexAttrib4ubvARB) -#define glVertexAttrib4uivARB GLEW_GET_FUN(__glewVertexAttrib4uivARB) -#define glVertexAttrib4usvARB GLEW_GET_FUN(__glewVertexAttrib4usvARB) -#define glVertexAttribPointerARB GLEW_GET_FUN(__glewVertexAttribPointerARB) - -#define GLEW_ARB_vertex_program GLEW_GET_VAR(__GLEW_ARB_vertex_program) - -#endif /* GL_ARB_vertex_program */ - -/* -------------------------- GL_ARB_vertex_shader ------------------------- */ - -#ifndef GL_ARB_vertex_shader -#define GL_ARB_vertex_shader 1 - -#define GL_VERTEX_SHADER_ARB 0x8B31 -#define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A -#define GL_MAX_VARYING_FLOATS_ARB 0x8B4B -#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C -#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D -#define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89 -#define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A - -typedef void (GLAPIENTRY * PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB* name); -typedef void (GLAPIENTRY * PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint *size, GLenum *type, GLcharARB *name); -typedef GLint (GLAPIENTRY * PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB* name); - -#define glBindAttribLocationARB GLEW_GET_FUN(__glewBindAttribLocationARB) -#define glGetActiveAttribARB GLEW_GET_FUN(__glewGetActiveAttribARB) -#define glGetAttribLocationARB GLEW_GET_FUN(__glewGetAttribLocationARB) - -#define GLEW_ARB_vertex_shader GLEW_GET_VAR(__GLEW_ARB_vertex_shader) - -#endif /* GL_ARB_vertex_shader */ - -/* ------------------- GL_ARB_vertex_type_2_10_10_10_rev ------------------- */ - -#ifndef GL_ARB_vertex_type_2_10_10_10_rev -#define GL_ARB_vertex_type_2_10_10_10_rev 1 - -#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 -#define GL_INT_2_10_10_10_REV 0x8D9F - -typedef void (GLAPIENTRY * PFNGLCOLORP3UIPROC) (GLenum type, GLuint color); -typedef void (GLAPIENTRY * PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint* color); -typedef void (GLAPIENTRY * PFNGLCOLORP4UIPROC) (GLenum type, GLuint color); -typedef void (GLAPIENTRY * PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint* color); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint* coords); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint* coords); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint* coords); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint* coords); -typedef void (GLAPIENTRY * PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords); -typedef void (GLAPIENTRY * PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint* coords); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint* color); -typedef void (GLAPIENTRY * PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords); -typedef void (GLAPIENTRY * PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint* coords); -typedef void (GLAPIENTRY * PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords); -typedef void (GLAPIENTRY * PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint* coords); -typedef void (GLAPIENTRY * PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords); -typedef void (GLAPIENTRY * PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint* coords); -typedef void (GLAPIENTRY * PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords); -typedef void (GLAPIENTRY * PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint* coords); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint* value); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint* value); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint* value); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint* value); -typedef void (GLAPIENTRY * PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value); -typedef void (GLAPIENTRY * PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint* value); -typedef void (GLAPIENTRY * PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value); -typedef void (GLAPIENTRY * PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint* value); -typedef void (GLAPIENTRY * PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value); -typedef void (GLAPIENTRY * PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint* value); - -#define glColorP3ui GLEW_GET_FUN(__glewColorP3ui) -#define glColorP3uiv GLEW_GET_FUN(__glewColorP3uiv) -#define glColorP4ui GLEW_GET_FUN(__glewColorP4ui) -#define glColorP4uiv GLEW_GET_FUN(__glewColorP4uiv) -#define glMultiTexCoordP1ui GLEW_GET_FUN(__glewMultiTexCoordP1ui) -#define glMultiTexCoordP1uiv GLEW_GET_FUN(__glewMultiTexCoordP1uiv) -#define glMultiTexCoordP2ui GLEW_GET_FUN(__glewMultiTexCoordP2ui) -#define glMultiTexCoordP2uiv GLEW_GET_FUN(__glewMultiTexCoordP2uiv) -#define glMultiTexCoordP3ui GLEW_GET_FUN(__glewMultiTexCoordP3ui) -#define glMultiTexCoordP3uiv GLEW_GET_FUN(__glewMultiTexCoordP3uiv) -#define glMultiTexCoordP4ui GLEW_GET_FUN(__glewMultiTexCoordP4ui) -#define glMultiTexCoordP4uiv GLEW_GET_FUN(__glewMultiTexCoordP4uiv) -#define glNormalP3ui GLEW_GET_FUN(__glewNormalP3ui) -#define glNormalP3uiv GLEW_GET_FUN(__glewNormalP3uiv) -#define glSecondaryColorP3ui GLEW_GET_FUN(__glewSecondaryColorP3ui) -#define glSecondaryColorP3uiv GLEW_GET_FUN(__glewSecondaryColorP3uiv) -#define glTexCoordP1ui GLEW_GET_FUN(__glewTexCoordP1ui) -#define glTexCoordP1uiv GLEW_GET_FUN(__glewTexCoordP1uiv) -#define glTexCoordP2ui GLEW_GET_FUN(__glewTexCoordP2ui) -#define glTexCoordP2uiv GLEW_GET_FUN(__glewTexCoordP2uiv) -#define glTexCoordP3ui GLEW_GET_FUN(__glewTexCoordP3ui) -#define glTexCoordP3uiv GLEW_GET_FUN(__glewTexCoordP3uiv) -#define glTexCoordP4ui GLEW_GET_FUN(__glewTexCoordP4ui) -#define glTexCoordP4uiv GLEW_GET_FUN(__glewTexCoordP4uiv) -#define glVertexAttribP1ui GLEW_GET_FUN(__glewVertexAttribP1ui) -#define glVertexAttribP1uiv GLEW_GET_FUN(__glewVertexAttribP1uiv) -#define glVertexAttribP2ui GLEW_GET_FUN(__glewVertexAttribP2ui) -#define glVertexAttribP2uiv GLEW_GET_FUN(__glewVertexAttribP2uiv) -#define glVertexAttribP3ui GLEW_GET_FUN(__glewVertexAttribP3ui) -#define glVertexAttribP3uiv GLEW_GET_FUN(__glewVertexAttribP3uiv) -#define glVertexAttribP4ui GLEW_GET_FUN(__glewVertexAttribP4ui) -#define glVertexAttribP4uiv GLEW_GET_FUN(__glewVertexAttribP4uiv) -#define glVertexP2ui GLEW_GET_FUN(__glewVertexP2ui) -#define glVertexP2uiv GLEW_GET_FUN(__glewVertexP2uiv) -#define glVertexP3ui GLEW_GET_FUN(__glewVertexP3ui) -#define glVertexP3uiv GLEW_GET_FUN(__glewVertexP3uiv) -#define glVertexP4ui GLEW_GET_FUN(__glewVertexP4ui) -#define glVertexP4uiv GLEW_GET_FUN(__glewVertexP4uiv) - -#define GLEW_ARB_vertex_type_2_10_10_10_rev GLEW_GET_VAR(__GLEW_ARB_vertex_type_2_10_10_10_rev) - -#endif /* GL_ARB_vertex_type_2_10_10_10_rev */ - -/* ------------------------- GL_ARB_viewport_array ------------------------- */ - -#ifndef GL_ARB_viewport_array -#define GL_ARB_viewport_array 1 - -#define GL_DEPTH_RANGE 0x0B70 -#define GL_VIEWPORT 0x0BA2 -#define GL_SCISSOR_BOX 0x0C10 -#define GL_SCISSOR_TEST 0x0C11 -#define GL_MAX_VIEWPORTS 0x825B -#define GL_VIEWPORT_SUBPIXEL_BITS 0x825C -#define GL_VIEWPORT_BOUNDS_RANGE 0x825D -#define GL_LAYER_PROVOKING_VERTEX 0x825E -#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F -#define GL_UNDEFINED_VERTEX 0x8260 -#define GL_FIRST_VERTEX_CONVENTION 0x8E4D -#define GL_LAST_VERTEX_CONVENTION 0x8E4E -#define GL_PROVOKING_VERTEX 0x8E4F - -typedef void (GLAPIENTRY * PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLclampd * v); -typedef void (GLAPIENTRY * PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLclampd n, GLclampd f); -typedef void (GLAPIENTRY * PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble* data); -typedef void (GLAPIENTRY * PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat* data); -typedef void (GLAPIENTRY * PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint * v); -typedef void (GLAPIENTRY * PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); -typedef void (GLAPIENTRY * PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint * v); -typedef void (GLAPIENTRY * PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat * v); -typedef void (GLAPIENTRY * PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); -typedef void (GLAPIENTRY * PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat * v); - -#define glDepthRangeArrayv GLEW_GET_FUN(__glewDepthRangeArrayv) -#define glDepthRangeIndexed GLEW_GET_FUN(__glewDepthRangeIndexed) -#define glGetDoublei_v GLEW_GET_FUN(__glewGetDoublei_v) -#define glGetFloati_v GLEW_GET_FUN(__glewGetFloati_v) -#define glScissorArrayv GLEW_GET_FUN(__glewScissorArrayv) -#define glScissorIndexed GLEW_GET_FUN(__glewScissorIndexed) -#define glScissorIndexedv GLEW_GET_FUN(__glewScissorIndexedv) -#define glViewportArrayv GLEW_GET_FUN(__glewViewportArrayv) -#define glViewportIndexedf GLEW_GET_FUN(__glewViewportIndexedf) -#define glViewportIndexedfv GLEW_GET_FUN(__glewViewportIndexedfv) - -#define GLEW_ARB_viewport_array GLEW_GET_VAR(__GLEW_ARB_viewport_array) - -#endif /* GL_ARB_viewport_array */ - -/* --------------------------- GL_ARB_window_pos --------------------------- */ - -#ifndef GL_ARB_window_pos -#define GL_ARB_window_pos 1 - -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2DVARBPROC) (const GLdouble* p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2FVARBPROC) (const GLfloat* p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2IVARBPROC) (const GLint* p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2SVARBPROC) (const GLshort* p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3DVARBPROC) (const GLdouble* p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3FVARBPROC) (const GLfloat* p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3IVARBPROC) (const GLint* p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3SVARBPROC) (const GLshort* p); - -#define glWindowPos2dARB GLEW_GET_FUN(__glewWindowPos2dARB) -#define glWindowPos2dvARB GLEW_GET_FUN(__glewWindowPos2dvARB) -#define glWindowPos2fARB GLEW_GET_FUN(__glewWindowPos2fARB) -#define glWindowPos2fvARB GLEW_GET_FUN(__glewWindowPos2fvARB) -#define glWindowPos2iARB GLEW_GET_FUN(__glewWindowPos2iARB) -#define glWindowPos2ivARB GLEW_GET_FUN(__glewWindowPos2ivARB) -#define glWindowPos2sARB GLEW_GET_FUN(__glewWindowPos2sARB) -#define glWindowPos2svARB GLEW_GET_FUN(__glewWindowPos2svARB) -#define glWindowPos3dARB GLEW_GET_FUN(__glewWindowPos3dARB) -#define glWindowPos3dvARB GLEW_GET_FUN(__glewWindowPos3dvARB) -#define glWindowPos3fARB GLEW_GET_FUN(__glewWindowPos3fARB) -#define glWindowPos3fvARB GLEW_GET_FUN(__glewWindowPos3fvARB) -#define glWindowPos3iARB GLEW_GET_FUN(__glewWindowPos3iARB) -#define glWindowPos3ivARB GLEW_GET_FUN(__glewWindowPos3ivARB) -#define glWindowPos3sARB GLEW_GET_FUN(__glewWindowPos3sARB) -#define glWindowPos3svARB GLEW_GET_FUN(__glewWindowPos3svARB) - -#define GLEW_ARB_window_pos GLEW_GET_VAR(__GLEW_ARB_window_pos) - -#endif /* GL_ARB_window_pos */ - -/* ------------------------- GL_ATIX_point_sprites ------------------------- */ - -#ifndef GL_ATIX_point_sprites -#define GL_ATIX_point_sprites 1 - -#define GL_TEXTURE_POINT_MODE_ATIX 0x60B0 -#define GL_TEXTURE_POINT_ONE_COORD_ATIX 0x60B1 -#define GL_TEXTURE_POINT_SPRITE_ATIX 0x60B2 -#define GL_POINT_SPRITE_CULL_MODE_ATIX 0x60B3 -#define GL_POINT_SPRITE_CULL_CENTER_ATIX 0x60B4 -#define GL_POINT_SPRITE_CULL_CLIP_ATIX 0x60B5 - -#define GLEW_ATIX_point_sprites GLEW_GET_VAR(__GLEW_ATIX_point_sprites) - -#endif /* GL_ATIX_point_sprites */ - -/* ---------------------- GL_ATIX_texture_env_combine3 --------------------- */ - -#ifndef GL_ATIX_texture_env_combine3 -#define GL_ATIX_texture_env_combine3 1 - -#define GL_MODULATE_ADD_ATIX 0x8744 -#define GL_MODULATE_SIGNED_ADD_ATIX 0x8745 -#define GL_MODULATE_SUBTRACT_ATIX 0x8746 - -#define GLEW_ATIX_texture_env_combine3 GLEW_GET_VAR(__GLEW_ATIX_texture_env_combine3) - -#endif /* GL_ATIX_texture_env_combine3 */ - -/* ----------------------- GL_ATIX_texture_env_route ----------------------- */ - -#ifndef GL_ATIX_texture_env_route -#define GL_ATIX_texture_env_route 1 - -#define GL_SECONDARY_COLOR_ATIX 0x8747 -#define GL_TEXTURE_OUTPUT_RGB_ATIX 0x8748 -#define GL_TEXTURE_OUTPUT_ALPHA_ATIX 0x8749 - -#define GLEW_ATIX_texture_env_route GLEW_GET_VAR(__GLEW_ATIX_texture_env_route) - -#endif /* GL_ATIX_texture_env_route */ - -/* ---------------- GL_ATIX_vertex_shader_output_point_size ---------------- */ - -#ifndef GL_ATIX_vertex_shader_output_point_size -#define GL_ATIX_vertex_shader_output_point_size 1 - -#define GL_OUTPUT_POINT_SIZE_ATIX 0x610E - -#define GLEW_ATIX_vertex_shader_output_point_size GLEW_GET_VAR(__GLEW_ATIX_vertex_shader_output_point_size) - -#endif /* GL_ATIX_vertex_shader_output_point_size */ - -/* -------------------------- GL_ATI_draw_buffers -------------------------- */ - -#ifndef GL_ATI_draw_buffers -#define GL_ATI_draw_buffers 1 - -#define GL_MAX_DRAW_BUFFERS_ATI 0x8824 -#define GL_DRAW_BUFFER0_ATI 0x8825 -#define GL_DRAW_BUFFER1_ATI 0x8826 -#define GL_DRAW_BUFFER2_ATI 0x8827 -#define GL_DRAW_BUFFER3_ATI 0x8828 -#define GL_DRAW_BUFFER4_ATI 0x8829 -#define GL_DRAW_BUFFER5_ATI 0x882A -#define GL_DRAW_BUFFER6_ATI 0x882B -#define GL_DRAW_BUFFER7_ATI 0x882C -#define GL_DRAW_BUFFER8_ATI 0x882D -#define GL_DRAW_BUFFER9_ATI 0x882E -#define GL_DRAW_BUFFER10_ATI 0x882F -#define GL_DRAW_BUFFER11_ATI 0x8830 -#define GL_DRAW_BUFFER12_ATI 0x8831 -#define GL_DRAW_BUFFER13_ATI 0x8832 -#define GL_DRAW_BUFFER14_ATI 0x8833 -#define GL_DRAW_BUFFER15_ATI 0x8834 - -typedef void (GLAPIENTRY * PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum* bufs); - -#define glDrawBuffersATI GLEW_GET_FUN(__glewDrawBuffersATI) - -#define GLEW_ATI_draw_buffers GLEW_GET_VAR(__GLEW_ATI_draw_buffers) - -#endif /* GL_ATI_draw_buffers */ - -/* -------------------------- GL_ATI_element_array ------------------------- */ - -#ifndef GL_ATI_element_array -#define GL_ATI_element_array 1 - -#define GL_ELEMENT_ARRAY_ATI 0x8768 -#define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769 -#define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A - -typedef void (GLAPIENTRY * PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count); -typedef void (GLAPIENTRY * PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count); -typedef void (GLAPIENTRY * PFNGLELEMENTPOINTERATIPROC) (GLenum type, const void* pointer); - -#define glDrawElementArrayATI GLEW_GET_FUN(__glewDrawElementArrayATI) -#define glDrawRangeElementArrayATI GLEW_GET_FUN(__glewDrawRangeElementArrayATI) -#define glElementPointerATI GLEW_GET_FUN(__glewElementPointerATI) - -#define GLEW_ATI_element_array GLEW_GET_VAR(__GLEW_ATI_element_array) - -#endif /* GL_ATI_element_array */ - -/* ------------------------- GL_ATI_envmap_bumpmap ------------------------- */ - -#ifndef GL_ATI_envmap_bumpmap -#define GL_ATI_envmap_bumpmap 1 - -#define GL_BUMP_ROT_MATRIX_ATI 0x8775 -#define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776 -#define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777 -#define GL_BUMP_TEX_UNITS_ATI 0x8778 -#define GL_DUDV_ATI 0x8779 -#define GL_DU8DV8_ATI 0x877A -#define GL_BUMP_ENVMAP_ATI 0x877B -#define GL_BUMP_TARGET_ATI 0x877C - -typedef void (GLAPIENTRY * PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param); -typedef void (GLAPIENTRY * PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param); -typedef void (GLAPIENTRY * PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param); -typedef void (GLAPIENTRY * PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param); - -#define glGetTexBumpParameterfvATI GLEW_GET_FUN(__glewGetTexBumpParameterfvATI) -#define glGetTexBumpParameterivATI GLEW_GET_FUN(__glewGetTexBumpParameterivATI) -#define glTexBumpParameterfvATI GLEW_GET_FUN(__glewTexBumpParameterfvATI) -#define glTexBumpParameterivATI GLEW_GET_FUN(__glewTexBumpParameterivATI) - -#define GLEW_ATI_envmap_bumpmap GLEW_GET_VAR(__GLEW_ATI_envmap_bumpmap) - -#endif /* GL_ATI_envmap_bumpmap */ - -/* ------------------------- GL_ATI_fragment_shader ------------------------ */ - -#ifndef GL_ATI_fragment_shader -#define GL_ATI_fragment_shader 1 - -#define GL_RED_BIT_ATI 0x00000001 -#define GL_2X_BIT_ATI 0x00000001 -#define GL_4X_BIT_ATI 0x00000002 -#define GL_GREEN_BIT_ATI 0x00000002 -#define GL_COMP_BIT_ATI 0x00000002 -#define GL_BLUE_BIT_ATI 0x00000004 -#define GL_8X_BIT_ATI 0x00000004 -#define GL_NEGATE_BIT_ATI 0x00000004 -#define GL_BIAS_BIT_ATI 0x00000008 -#define GL_HALF_BIT_ATI 0x00000008 -#define GL_QUARTER_BIT_ATI 0x00000010 -#define GL_EIGHTH_BIT_ATI 0x00000020 -#define GL_SATURATE_BIT_ATI 0x00000040 -#define GL_FRAGMENT_SHADER_ATI 0x8920 -#define GL_REG_0_ATI 0x8921 -#define GL_REG_1_ATI 0x8922 -#define GL_REG_2_ATI 0x8923 -#define GL_REG_3_ATI 0x8924 -#define GL_REG_4_ATI 0x8925 -#define GL_REG_5_ATI 0x8926 -#define GL_CON_0_ATI 0x8941 -#define GL_CON_1_ATI 0x8942 -#define GL_CON_2_ATI 0x8943 -#define GL_CON_3_ATI 0x8944 -#define GL_CON_4_ATI 0x8945 -#define GL_CON_5_ATI 0x8946 -#define GL_CON_6_ATI 0x8947 -#define GL_CON_7_ATI 0x8948 -#define GL_MOV_ATI 0x8961 -#define GL_ADD_ATI 0x8963 -#define GL_MUL_ATI 0x8964 -#define GL_SUB_ATI 0x8965 -#define GL_DOT3_ATI 0x8966 -#define GL_DOT4_ATI 0x8967 -#define GL_MAD_ATI 0x8968 -#define GL_LERP_ATI 0x8969 -#define GL_CND_ATI 0x896A -#define GL_CND0_ATI 0x896B -#define GL_DOT2_ADD_ATI 0x896C -#define GL_SECONDARY_INTERPOLATOR_ATI 0x896D -#define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E -#define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F -#define GL_NUM_PASSES_ATI 0x8970 -#define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971 -#define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972 -#define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973 -#define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974 -#define GL_COLOR_ALPHA_PAIRING_ATI 0x8975 -#define GL_SWIZZLE_STR_ATI 0x8976 -#define GL_SWIZZLE_STQ_ATI 0x8977 -#define GL_SWIZZLE_STR_DR_ATI 0x8978 -#define GL_SWIZZLE_STQ_DQ_ATI 0x8979 -#define GL_SWIZZLE_STRQ_ATI 0x897A -#define GL_SWIZZLE_STRQ_DQ_ATI 0x897B - -typedef void (GLAPIENTRY * PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); -typedef void (GLAPIENTRY * PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); -typedef void (GLAPIENTRY * PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); -typedef void (GLAPIENTRY * PFNGLBEGINFRAGMENTSHADERATIPROC) (void); -typedef void (GLAPIENTRY * PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id); -typedef void (GLAPIENTRY * PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); -typedef void (GLAPIENTRY * PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); -typedef void (GLAPIENTRY * PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); -typedef void (GLAPIENTRY * PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id); -typedef void (GLAPIENTRY * PFNGLENDFRAGMENTSHADERATIPROC) (void); -typedef GLuint (GLAPIENTRY * PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range); -typedef void (GLAPIENTRY * PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle); -typedef void (GLAPIENTRY * PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle); -typedef void (GLAPIENTRY * PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat* value); - -#define glAlphaFragmentOp1ATI GLEW_GET_FUN(__glewAlphaFragmentOp1ATI) -#define glAlphaFragmentOp2ATI GLEW_GET_FUN(__glewAlphaFragmentOp2ATI) -#define glAlphaFragmentOp3ATI GLEW_GET_FUN(__glewAlphaFragmentOp3ATI) -#define glBeginFragmentShaderATI GLEW_GET_FUN(__glewBeginFragmentShaderATI) -#define glBindFragmentShaderATI GLEW_GET_FUN(__glewBindFragmentShaderATI) -#define glColorFragmentOp1ATI GLEW_GET_FUN(__glewColorFragmentOp1ATI) -#define glColorFragmentOp2ATI GLEW_GET_FUN(__glewColorFragmentOp2ATI) -#define glColorFragmentOp3ATI GLEW_GET_FUN(__glewColorFragmentOp3ATI) -#define glDeleteFragmentShaderATI GLEW_GET_FUN(__glewDeleteFragmentShaderATI) -#define glEndFragmentShaderATI GLEW_GET_FUN(__glewEndFragmentShaderATI) -#define glGenFragmentShadersATI GLEW_GET_FUN(__glewGenFragmentShadersATI) -#define glPassTexCoordATI GLEW_GET_FUN(__glewPassTexCoordATI) -#define glSampleMapATI GLEW_GET_FUN(__glewSampleMapATI) -#define glSetFragmentShaderConstantATI GLEW_GET_FUN(__glewSetFragmentShaderConstantATI) - -#define GLEW_ATI_fragment_shader GLEW_GET_VAR(__GLEW_ATI_fragment_shader) - -#endif /* GL_ATI_fragment_shader */ - -/* ------------------------ GL_ATI_map_object_buffer ----------------------- */ - -#ifndef GL_ATI_map_object_buffer -#define GL_ATI_map_object_buffer 1 - -typedef GLvoid * (GLAPIENTRY * PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer); -typedef void (GLAPIENTRY * PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer); - -#define glMapObjectBufferATI GLEW_GET_FUN(__glewMapObjectBufferATI) -#define glUnmapObjectBufferATI GLEW_GET_FUN(__glewUnmapObjectBufferATI) - -#define GLEW_ATI_map_object_buffer GLEW_GET_VAR(__GLEW_ATI_map_object_buffer) - -#endif /* GL_ATI_map_object_buffer */ - -/* ----------------------------- GL_ATI_meminfo ---------------------------- */ - -#ifndef GL_ATI_meminfo -#define GL_ATI_meminfo 1 - -#define GL_VBO_FREE_MEMORY_ATI 0x87FB -#define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC -#define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD - -#define GLEW_ATI_meminfo GLEW_GET_VAR(__GLEW_ATI_meminfo) - -#endif /* GL_ATI_meminfo */ - -/* -------------------------- GL_ATI_pn_triangles -------------------------- */ - -#ifndef GL_ATI_pn_triangles -#define GL_ATI_pn_triangles 1 - -#define GL_PN_TRIANGLES_ATI 0x87F0 -#define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1 -#define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2 -#define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3 -#define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4 -#define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5 -#define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6 -#define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7 -#define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8 - -typedef void (GLAPIENTRY * PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param); -typedef void (GLAPIENTRY * PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param); - -#define glPNTrianglesfATI GLEW_GET_FUN(__glewPNTrianglesfATI) -#define glPNTrianglesiATI GLEW_GET_FUN(__glewPNTrianglesiATI) - -#define GLEW_ATI_pn_triangles GLEW_GET_VAR(__GLEW_ATI_pn_triangles) - -#endif /* GL_ATI_pn_triangles */ - -/* ------------------------ GL_ATI_separate_stencil ------------------------ */ - -#ifndef GL_ATI_separate_stencil -#define GL_ATI_separate_stencil 1 - -#define GL_STENCIL_BACK_FUNC_ATI 0x8800 -#define GL_STENCIL_BACK_FAIL_ATI 0x8801 -#define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802 -#define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803 - -typedef void (GLAPIENTRY * PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); -typedef void (GLAPIENTRY * PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); - -#define glStencilFuncSeparateATI GLEW_GET_FUN(__glewStencilFuncSeparateATI) -#define glStencilOpSeparateATI GLEW_GET_FUN(__glewStencilOpSeparateATI) - -#define GLEW_ATI_separate_stencil GLEW_GET_VAR(__GLEW_ATI_separate_stencil) - -#endif /* GL_ATI_separate_stencil */ - -/* ----------------------- GL_ATI_shader_texture_lod ----------------------- */ - -#ifndef GL_ATI_shader_texture_lod -#define GL_ATI_shader_texture_lod 1 - -#define GLEW_ATI_shader_texture_lod GLEW_GET_VAR(__GLEW_ATI_shader_texture_lod) - -#endif /* GL_ATI_shader_texture_lod */ - -/* ---------------------- GL_ATI_text_fragment_shader ---------------------- */ - -#ifndef GL_ATI_text_fragment_shader -#define GL_ATI_text_fragment_shader 1 - -#define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200 - -#define GLEW_ATI_text_fragment_shader GLEW_GET_VAR(__GLEW_ATI_text_fragment_shader) - -#endif /* GL_ATI_text_fragment_shader */ - -/* --------------------- GL_ATI_texture_compression_3dc -------------------- */ - -#ifndef GL_ATI_texture_compression_3dc -#define GL_ATI_texture_compression_3dc 1 - -#define GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI 0x8837 - -#define GLEW_ATI_texture_compression_3dc GLEW_GET_VAR(__GLEW_ATI_texture_compression_3dc) - -#endif /* GL_ATI_texture_compression_3dc */ - -/* ---------------------- GL_ATI_texture_env_combine3 ---------------------- */ - -#ifndef GL_ATI_texture_env_combine3 -#define GL_ATI_texture_env_combine3 1 - -#define GL_MODULATE_ADD_ATI 0x8744 -#define GL_MODULATE_SIGNED_ADD_ATI 0x8745 -#define GL_MODULATE_SUBTRACT_ATI 0x8746 - -#define GLEW_ATI_texture_env_combine3 GLEW_GET_VAR(__GLEW_ATI_texture_env_combine3) - -#endif /* GL_ATI_texture_env_combine3 */ - -/* -------------------------- GL_ATI_texture_float ------------------------- */ - -#ifndef GL_ATI_texture_float -#define GL_ATI_texture_float 1 - -#define GL_RGBA_FLOAT32_ATI 0x8814 -#define GL_RGB_FLOAT32_ATI 0x8815 -#define GL_ALPHA_FLOAT32_ATI 0x8816 -#define GL_INTENSITY_FLOAT32_ATI 0x8817 -#define GL_LUMINANCE_FLOAT32_ATI 0x8818 -#define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819 -#define GL_RGBA_FLOAT16_ATI 0x881A -#define GL_RGB_FLOAT16_ATI 0x881B -#define GL_ALPHA_FLOAT16_ATI 0x881C -#define GL_INTENSITY_FLOAT16_ATI 0x881D -#define GL_LUMINANCE_FLOAT16_ATI 0x881E -#define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F - -#define GLEW_ATI_texture_float GLEW_GET_VAR(__GLEW_ATI_texture_float) - -#endif /* GL_ATI_texture_float */ - -/* ----------------------- GL_ATI_texture_mirror_once ---------------------- */ - -#ifndef GL_ATI_texture_mirror_once -#define GL_ATI_texture_mirror_once 1 - -#define GL_MIRROR_CLAMP_ATI 0x8742 -#define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743 - -#define GLEW_ATI_texture_mirror_once GLEW_GET_VAR(__GLEW_ATI_texture_mirror_once) - -#endif /* GL_ATI_texture_mirror_once */ - -/* ----------------------- GL_ATI_vertex_array_object ---------------------- */ - -#ifndef GL_ATI_vertex_array_object -#define GL_ATI_vertex_array_object 1 - -#define GL_STATIC_ATI 0x8760 -#define GL_DYNAMIC_ATI 0x8761 -#define GL_PRESERVE_ATI 0x8762 -#define GL_DISCARD_ATI 0x8763 -#define GL_OBJECT_BUFFER_SIZE_ATI 0x8764 -#define GL_OBJECT_BUFFER_USAGE_ATI 0x8765 -#define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766 -#define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767 - -typedef void (GLAPIENTRY * PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); -typedef void (GLAPIENTRY * PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer); -typedef void (GLAPIENTRY * PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint* params); -typedef GLboolean (GLAPIENTRY * PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer); -typedef GLuint (GLAPIENTRY * PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const void* pointer, GLenum usage); -typedef void (GLAPIENTRY * PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const void* pointer, GLenum preserve); -typedef void (GLAPIENTRY * PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); - -#define glArrayObjectATI GLEW_GET_FUN(__glewArrayObjectATI) -#define glFreeObjectBufferATI GLEW_GET_FUN(__glewFreeObjectBufferATI) -#define glGetArrayObjectfvATI GLEW_GET_FUN(__glewGetArrayObjectfvATI) -#define glGetArrayObjectivATI GLEW_GET_FUN(__glewGetArrayObjectivATI) -#define glGetObjectBufferfvATI GLEW_GET_FUN(__glewGetObjectBufferfvATI) -#define glGetObjectBufferivATI GLEW_GET_FUN(__glewGetObjectBufferivATI) -#define glGetVariantArrayObjectfvATI GLEW_GET_FUN(__glewGetVariantArrayObjectfvATI) -#define glGetVariantArrayObjectivATI GLEW_GET_FUN(__glewGetVariantArrayObjectivATI) -#define glIsObjectBufferATI GLEW_GET_FUN(__glewIsObjectBufferATI) -#define glNewObjectBufferATI GLEW_GET_FUN(__glewNewObjectBufferATI) -#define glUpdateObjectBufferATI GLEW_GET_FUN(__glewUpdateObjectBufferATI) -#define glVariantArrayObjectATI GLEW_GET_FUN(__glewVariantArrayObjectATI) - -#define GLEW_ATI_vertex_array_object GLEW_GET_VAR(__GLEW_ATI_vertex_array_object) - -#endif /* GL_ATI_vertex_array_object */ - -/* ------------------- GL_ATI_vertex_attrib_array_object ------------------- */ - -#ifndef GL_ATI_vertex_attrib_array_object -#define GL_ATI_vertex_attrib_array_object 1 - -typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset); - -#define glGetVertexAttribArrayObjectfvATI GLEW_GET_FUN(__glewGetVertexAttribArrayObjectfvATI) -#define glGetVertexAttribArrayObjectivATI GLEW_GET_FUN(__glewGetVertexAttribArrayObjectivATI) -#define glVertexAttribArrayObjectATI GLEW_GET_FUN(__glewVertexAttribArrayObjectATI) - -#define GLEW_ATI_vertex_attrib_array_object GLEW_GET_VAR(__GLEW_ATI_vertex_attrib_array_object) - -#endif /* GL_ATI_vertex_attrib_array_object */ - -/* ------------------------- GL_ATI_vertex_streams ------------------------- */ - -#ifndef GL_ATI_vertex_streams -#define GL_ATI_vertex_streams 1 - -#define GL_MAX_VERTEX_STREAMS_ATI 0x876B -#define GL_VERTEX_SOURCE_ATI 0x876C -#define GL_VERTEX_STREAM0_ATI 0x876D -#define GL_VERTEX_STREAM1_ATI 0x876E -#define GL_VERTEX_STREAM2_ATI 0x876F -#define GL_VERTEX_STREAM3_ATI 0x8770 -#define GL_VERTEX_STREAM4_ATI 0x8771 -#define GL_VERTEX_STREAM5_ATI 0x8772 -#define GL_VERTEX_STREAM6_ATI 0x8773 -#define GL_VERTEX_STREAM7_ATI 0x8774 - -typedef void (GLAPIENTRY * PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream); -typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte x, GLbyte y, GLbyte z); -typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords); -typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z); -typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords); -typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords); -typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z); -typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords); -typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z); -typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords); -typedef void (GLAPIENTRY * PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param); -typedef void (GLAPIENTRY * PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords); - -#define glClientActiveVertexStreamATI GLEW_GET_FUN(__glewClientActiveVertexStreamATI) -#define glNormalStream3bATI GLEW_GET_FUN(__glewNormalStream3bATI) -#define glNormalStream3bvATI GLEW_GET_FUN(__glewNormalStream3bvATI) -#define glNormalStream3dATI GLEW_GET_FUN(__glewNormalStream3dATI) -#define glNormalStream3dvATI GLEW_GET_FUN(__glewNormalStream3dvATI) -#define glNormalStream3fATI GLEW_GET_FUN(__glewNormalStream3fATI) -#define glNormalStream3fvATI GLEW_GET_FUN(__glewNormalStream3fvATI) -#define glNormalStream3iATI GLEW_GET_FUN(__glewNormalStream3iATI) -#define glNormalStream3ivATI GLEW_GET_FUN(__glewNormalStream3ivATI) -#define glNormalStream3sATI GLEW_GET_FUN(__glewNormalStream3sATI) -#define glNormalStream3svATI GLEW_GET_FUN(__glewNormalStream3svATI) -#define glVertexBlendEnvfATI GLEW_GET_FUN(__glewVertexBlendEnvfATI) -#define glVertexBlendEnviATI GLEW_GET_FUN(__glewVertexBlendEnviATI) -#define glVertexStream1dATI GLEW_GET_FUN(__glewVertexStream1dATI) -#define glVertexStream1dvATI GLEW_GET_FUN(__glewVertexStream1dvATI) -#define glVertexStream1fATI GLEW_GET_FUN(__glewVertexStream1fATI) -#define glVertexStream1fvATI GLEW_GET_FUN(__glewVertexStream1fvATI) -#define glVertexStream1iATI GLEW_GET_FUN(__glewVertexStream1iATI) -#define glVertexStream1ivATI GLEW_GET_FUN(__glewVertexStream1ivATI) -#define glVertexStream1sATI GLEW_GET_FUN(__glewVertexStream1sATI) -#define glVertexStream1svATI GLEW_GET_FUN(__glewVertexStream1svATI) -#define glVertexStream2dATI GLEW_GET_FUN(__glewVertexStream2dATI) -#define glVertexStream2dvATI GLEW_GET_FUN(__glewVertexStream2dvATI) -#define glVertexStream2fATI GLEW_GET_FUN(__glewVertexStream2fATI) -#define glVertexStream2fvATI GLEW_GET_FUN(__glewVertexStream2fvATI) -#define glVertexStream2iATI GLEW_GET_FUN(__glewVertexStream2iATI) -#define glVertexStream2ivATI GLEW_GET_FUN(__glewVertexStream2ivATI) -#define glVertexStream2sATI GLEW_GET_FUN(__glewVertexStream2sATI) -#define glVertexStream2svATI GLEW_GET_FUN(__glewVertexStream2svATI) -#define glVertexStream3dATI GLEW_GET_FUN(__glewVertexStream3dATI) -#define glVertexStream3dvATI GLEW_GET_FUN(__glewVertexStream3dvATI) -#define glVertexStream3fATI GLEW_GET_FUN(__glewVertexStream3fATI) -#define glVertexStream3fvATI GLEW_GET_FUN(__glewVertexStream3fvATI) -#define glVertexStream3iATI GLEW_GET_FUN(__glewVertexStream3iATI) -#define glVertexStream3ivATI GLEW_GET_FUN(__glewVertexStream3ivATI) -#define glVertexStream3sATI GLEW_GET_FUN(__glewVertexStream3sATI) -#define glVertexStream3svATI GLEW_GET_FUN(__glewVertexStream3svATI) -#define glVertexStream4dATI GLEW_GET_FUN(__glewVertexStream4dATI) -#define glVertexStream4dvATI GLEW_GET_FUN(__glewVertexStream4dvATI) -#define glVertexStream4fATI GLEW_GET_FUN(__glewVertexStream4fATI) -#define glVertexStream4fvATI GLEW_GET_FUN(__glewVertexStream4fvATI) -#define glVertexStream4iATI GLEW_GET_FUN(__glewVertexStream4iATI) -#define glVertexStream4ivATI GLEW_GET_FUN(__glewVertexStream4ivATI) -#define glVertexStream4sATI GLEW_GET_FUN(__glewVertexStream4sATI) -#define glVertexStream4svATI GLEW_GET_FUN(__glewVertexStream4svATI) - -#define GLEW_ATI_vertex_streams GLEW_GET_VAR(__GLEW_ATI_vertex_streams) - -#endif /* GL_ATI_vertex_streams */ - -/* --------------------------- GL_EXT_422_pixels --------------------------- */ - -#ifndef GL_EXT_422_pixels -#define GL_EXT_422_pixels 1 - -#define GL_422_EXT 0x80CC -#define GL_422_REV_EXT 0x80CD -#define GL_422_AVERAGE_EXT 0x80CE -#define GL_422_REV_AVERAGE_EXT 0x80CF - -#define GLEW_EXT_422_pixels GLEW_GET_VAR(__GLEW_EXT_422_pixels) - -#endif /* GL_EXT_422_pixels */ - -/* ---------------------------- GL_EXT_Cg_shader --------------------------- */ - -#ifndef GL_EXT_Cg_shader -#define GL_EXT_Cg_shader 1 - -#define GL_CG_VERTEX_SHADER_EXT 0x890E -#define GL_CG_FRAGMENT_SHADER_EXT 0x890F - -#define GLEW_EXT_Cg_shader GLEW_GET_VAR(__GLEW_EXT_Cg_shader) - -#endif /* GL_EXT_Cg_shader */ - -/* ------------------------------ GL_EXT_abgr ------------------------------ */ - -#ifndef GL_EXT_abgr -#define GL_EXT_abgr 1 - -#define GL_ABGR_EXT 0x8000 - -#define GLEW_EXT_abgr GLEW_GET_VAR(__GLEW_EXT_abgr) - -#endif /* GL_EXT_abgr */ - -/* ------------------------------ GL_EXT_bgra ------------------------------ */ - -#ifndef GL_EXT_bgra -#define GL_EXT_bgra 1 - -#define GL_BGR_EXT 0x80E0 -#define GL_BGRA_EXT 0x80E1 - -#define GLEW_EXT_bgra GLEW_GET_VAR(__GLEW_EXT_bgra) - -#endif /* GL_EXT_bgra */ - -/* ------------------------ GL_EXT_bindable_uniform ------------------------ */ - -#ifndef GL_EXT_bindable_uniform -#define GL_EXT_bindable_uniform 1 - -#define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2 -#define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3 -#define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4 -#define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED -#define GL_UNIFORM_BUFFER_EXT 0x8DEE -#define GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF - -typedef GLint (GLAPIENTRY * PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location); -typedef GLintptr (GLAPIENTRY * PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location); -typedef void (GLAPIENTRY * PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer); - -#define glGetUniformBufferSizeEXT GLEW_GET_FUN(__glewGetUniformBufferSizeEXT) -#define glGetUniformOffsetEXT GLEW_GET_FUN(__glewGetUniformOffsetEXT) -#define glUniformBufferEXT GLEW_GET_FUN(__glewUniformBufferEXT) - -#define GLEW_EXT_bindable_uniform GLEW_GET_VAR(__GLEW_EXT_bindable_uniform) - -#endif /* GL_EXT_bindable_uniform */ - -/* --------------------------- GL_EXT_blend_color -------------------------- */ - -#ifndef GL_EXT_blend_color -#define GL_EXT_blend_color 1 - -#define GL_CONSTANT_COLOR_EXT 0x8001 -#define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002 -#define GL_CONSTANT_ALPHA_EXT 0x8003 -#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004 -#define GL_BLEND_COLOR_EXT 0x8005 - -typedef void (GLAPIENTRY * PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); - -#define glBlendColorEXT GLEW_GET_FUN(__glewBlendColorEXT) - -#define GLEW_EXT_blend_color GLEW_GET_VAR(__GLEW_EXT_blend_color) - -#endif /* GL_EXT_blend_color */ - -/* --------------------- GL_EXT_blend_equation_separate -------------------- */ - -#ifndef GL_EXT_blend_equation_separate -#define GL_EXT_blend_equation_separate 1 - -#define GL_BLEND_EQUATION_RGB_EXT 0x8009 -#define GL_BLEND_EQUATION_ALPHA_EXT 0x883D - -typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha); - -#define glBlendEquationSeparateEXT GLEW_GET_FUN(__glewBlendEquationSeparateEXT) - -#define GLEW_EXT_blend_equation_separate GLEW_GET_VAR(__GLEW_EXT_blend_equation_separate) - -#endif /* GL_EXT_blend_equation_separate */ - -/* ----------------------- GL_EXT_blend_func_separate ---------------------- */ - -#ifndef GL_EXT_blend_func_separate -#define GL_EXT_blend_func_separate 1 - -#define GL_BLEND_DST_RGB_EXT 0x80C8 -#define GL_BLEND_SRC_RGB_EXT 0x80C9 -#define GL_BLEND_DST_ALPHA_EXT 0x80CA -#define GL_BLEND_SRC_ALPHA_EXT 0x80CB - -typedef void (GLAPIENTRY * PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); - -#define glBlendFuncSeparateEXT GLEW_GET_FUN(__glewBlendFuncSeparateEXT) - -#define GLEW_EXT_blend_func_separate GLEW_GET_VAR(__GLEW_EXT_blend_func_separate) - -#endif /* GL_EXT_blend_func_separate */ - -/* ------------------------- GL_EXT_blend_logic_op ------------------------- */ - -#ifndef GL_EXT_blend_logic_op -#define GL_EXT_blend_logic_op 1 - -#define GLEW_EXT_blend_logic_op GLEW_GET_VAR(__GLEW_EXT_blend_logic_op) - -#endif /* GL_EXT_blend_logic_op */ - -/* -------------------------- GL_EXT_blend_minmax -------------------------- */ - -#ifndef GL_EXT_blend_minmax -#define GL_EXT_blend_minmax 1 - -#define GL_FUNC_ADD_EXT 0x8006 -#define GL_MIN_EXT 0x8007 -#define GL_MAX_EXT 0x8008 -#define GL_BLEND_EQUATION_EXT 0x8009 - -typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONEXTPROC) (GLenum mode); - -#define glBlendEquationEXT GLEW_GET_FUN(__glewBlendEquationEXT) - -#define GLEW_EXT_blend_minmax GLEW_GET_VAR(__GLEW_EXT_blend_minmax) - -#endif /* GL_EXT_blend_minmax */ - -/* ------------------------- GL_EXT_blend_subtract ------------------------- */ - -#ifndef GL_EXT_blend_subtract -#define GL_EXT_blend_subtract 1 - -#define GL_FUNC_SUBTRACT_EXT 0x800A -#define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B - -#define GLEW_EXT_blend_subtract GLEW_GET_VAR(__GLEW_EXT_blend_subtract) - -#endif /* GL_EXT_blend_subtract */ - -/* ------------------------ GL_EXT_clip_volume_hint ------------------------ */ - -#ifndef GL_EXT_clip_volume_hint -#define GL_EXT_clip_volume_hint 1 - -#define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0 - -#define GLEW_EXT_clip_volume_hint GLEW_GET_VAR(__GLEW_EXT_clip_volume_hint) - -#endif /* GL_EXT_clip_volume_hint */ - -/* ------------------------------ GL_EXT_cmyka ----------------------------- */ - -#ifndef GL_EXT_cmyka -#define GL_EXT_cmyka 1 - -#define GL_CMYK_EXT 0x800C -#define GL_CMYKA_EXT 0x800D -#define GL_PACK_CMYK_HINT_EXT 0x800E -#define GL_UNPACK_CMYK_HINT_EXT 0x800F - -#define GLEW_EXT_cmyka GLEW_GET_VAR(__GLEW_EXT_cmyka) - -#endif /* GL_EXT_cmyka */ - -/* ------------------------- GL_EXT_color_subtable ------------------------- */ - -#ifndef GL_EXT_color_subtable -#define GL_EXT_color_subtable 1 - -typedef void (GLAPIENTRY * PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void* data); -typedef void (GLAPIENTRY * PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); - -#define glColorSubTableEXT GLEW_GET_FUN(__glewColorSubTableEXT) -#define glCopyColorSubTableEXT GLEW_GET_FUN(__glewCopyColorSubTableEXT) - -#define GLEW_EXT_color_subtable GLEW_GET_VAR(__GLEW_EXT_color_subtable) - -#endif /* GL_EXT_color_subtable */ - -/* ---------------------- GL_EXT_compiled_vertex_array --------------------- */ - -#ifndef GL_EXT_compiled_vertex_array -#define GL_EXT_compiled_vertex_array 1 - -#define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8 -#define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9 - -typedef void (GLAPIENTRY * PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count); -typedef void (GLAPIENTRY * PFNGLUNLOCKARRAYSEXTPROC) (void); - -#define glLockArraysEXT GLEW_GET_FUN(__glewLockArraysEXT) -#define glUnlockArraysEXT GLEW_GET_FUN(__glewUnlockArraysEXT) - -#define GLEW_EXT_compiled_vertex_array GLEW_GET_VAR(__GLEW_EXT_compiled_vertex_array) - -#endif /* GL_EXT_compiled_vertex_array */ - -/* --------------------------- GL_EXT_convolution -------------------------- */ - -#ifndef GL_EXT_convolution -#define GL_EXT_convolution 1 - -#define GL_CONVOLUTION_1D_EXT 0x8010 -#define GL_CONVOLUTION_2D_EXT 0x8011 -#define GL_SEPARABLE_2D_EXT 0x8012 -#define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013 -#define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014 -#define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015 -#define GL_REDUCE_EXT 0x8016 -#define GL_CONVOLUTION_FORMAT_EXT 0x8017 -#define GL_CONVOLUTION_WIDTH_EXT 0x8018 -#define GL_CONVOLUTION_HEIGHT_EXT 0x8019 -#define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A -#define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B -#define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C -#define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D -#define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E -#define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F -#define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020 -#define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021 -#define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022 -#define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023 - -typedef void (GLAPIENTRY * PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void* image); -typedef void (GLAPIENTRY * PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* image); -typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param); -typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param); -typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint* params); -typedef void (GLAPIENTRY * PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -typedef void (GLAPIENTRY * PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void* image); -typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void* row, void* column, void* span); -typedef void (GLAPIENTRY * PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* row, const void* column); - -#define glConvolutionFilter1DEXT GLEW_GET_FUN(__glewConvolutionFilter1DEXT) -#define glConvolutionFilter2DEXT GLEW_GET_FUN(__glewConvolutionFilter2DEXT) -#define glConvolutionParameterfEXT GLEW_GET_FUN(__glewConvolutionParameterfEXT) -#define glConvolutionParameterfvEXT GLEW_GET_FUN(__glewConvolutionParameterfvEXT) -#define glConvolutionParameteriEXT GLEW_GET_FUN(__glewConvolutionParameteriEXT) -#define glConvolutionParameterivEXT GLEW_GET_FUN(__glewConvolutionParameterivEXT) -#define glCopyConvolutionFilter1DEXT GLEW_GET_FUN(__glewCopyConvolutionFilter1DEXT) -#define glCopyConvolutionFilter2DEXT GLEW_GET_FUN(__glewCopyConvolutionFilter2DEXT) -#define glGetConvolutionFilterEXT GLEW_GET_FUN(__glewGetConvolutionFilterEXT) -#define glGetConvolutionParameterfvEXT GLEW_GET_FUN(__glewGetConvolutionParameterfvEXT) -#define glGetConvolutionParameterivEXT GLEW_GET_FUN(__glewGetConvolutionParameterivEXT) -#define glGetSeparableFilterEXT GLEW_GET_FUN(__glewGetSeparableFilterEXT) -#define glSeparableFilter2DEXT GLEW_GET_FUN(__glewSeparableFilter2DEXT) - -#define GLEW_EXT_convolution GLEW_GET_VAR(__GLEW_EXT_convolution) - -#endif /* GL_EXT_convolution */ - -/* ------------------------ GL_EXT_coordinate_frame ------------------------ */ - -#ifndef GL_EXT_coordinate_frame -#define GL_EXT_coordinate_frame 1 - -#define GL_TANGENT_ARRAY_EXT 0x8439 -#define GL_BINORMAL_ARRAY_EXT 0x843A -#define GL_CURRENT_TANGENT_EXT 0x843B -#define GL_CURRENT_BINORMAL_EXT 0x843C -#define GL_TANGENT_ARRAY_TYPE_EXT 0x843E -#define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F -#define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440 -#define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441 -#define GL_TANGENT_ARRAY_POINTER_EXT 0x8442 -#define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443 -#define GL_MAP1_TANGENT_EXT 0x8444 -#define GL_MAP2_TANGENT_EXT 0x8445 -#define GL_MAP1_BINORMAL_EXT 0x8446 -#define GL_MAP2_BINORMAL_EXT 0x8447 - -typedef void (GLAPIENTRY * PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, void* pointer); -typedef void (GLAPIENTRY * PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, void* pointer); - -#define glBinormalPointerEXT GLEW_GET_FUN(__glewBinormalPointerEXT) -#define glTangentPointerEXT GLEW_GET_FUN(__glewTangentPointerEXT) - -#define GLEW_EXT_coordinate_frame GLEW_GET_VAR(__GLEW_EXT_coordinate_frame) - -#endif /* GL_EXT_coordinate_frame */ - -/* -------------------------- GL_EXT_copy_texture -------------------------- */ - -#ifndef GL_EXT_copy_texture -#define GL_EXT_copy_texture 1 - -typedef void (GLAPIENTRY * PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); -typedef void (GLAPIENTRY * PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -typedef void (GLAPIENTRY * PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -typedef void (GLAPIENTRY * PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GLAPIENTRY * PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); - -#define glCopyTexImage1DEXT GLEW_GET_FUN(__glewCopyTexImage1DEXT) -#define glCopyTexImage2DEXT GLEW_GET_FUN(__glewCopyTexImage2DEXT) -#define glCopyTexSubImage1DEXT GLEW_GET_FUN(__glewCopyTexSubImage1DEXT) -#define glCopyTexSubImage2DEXT GLEW_GET_FUN(__glewCopyTexSubImage2DEXT) -#define glCopyTexSubImage3DEXT GLEW_GET_FUN(__glewCopyTexSubImage3DEXT) - -#define GLEW_EXT_copy_texture GLEW_GET_VAR(__GLEW_EXT_copy_texture) - -#endif /* GL_EXT_copy_texture */ - -/* --------------------------- GL_EXT_cull_vertex -------------------------- */ - -#ifndef GL_EXT_cull_vertex -#define GL_EXT_cull_vertex 1 - -#define GL_CULL_VERTEX_EXT 0x81AA -#define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB -#define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC - -typedef void (GLAPIENTRY * PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble* params); -typedef void (GLAPIENTRY * PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat* params); - -#define glCullParameterdvEXT GLEW_GET_FUN(__glewCullParameterdvEXT) -#define glCullParameterfvEXT GLEW_GET_FUN(__glewCullParameterfvEXT) - -#define GLEW_EXT_cull_vertex GLEW_GET_VAR(__GLEW_EXT_cull_vertex) - -#endif /* GL_EXT_cull_vertex */ - -/* -------------------------- GL_EXT_debug_marker -------------------------- */ - -#ifndef GL_EXT_debug_marker -#define GL_EXT_debug_marker 1 - -typedef void (GLAPIENTRY * PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar* marker); -typedef void (GLAPIENTRY * PFNGLPOPGROUPMARKEREXTPROC) (void); -typedef void (GLAPIENTRY * PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar* marker); - -#define glInsertEventMarkerEXT GLEW_GET_FUN(__glewInsertEventMarkerEXT) -#define glPopGroupMarkerEXT GLEW_GET_FUN(__glewPopGroupMarkerEXT) -#define glPushGroupMarkerEXT GLEW_GET_FUN(__glewPushGroupMarkerEXT) - -#define GLEW_EXT_debug_marker GLEW_GET_VAR(__GLEW_EXT_debug_marker) - -#endif /* GL_EXT_debug_marker */ - -/* ------------------------ GL_EXT_depth_bounds_test ----------------------- */ - -#ifndef GL_EXT_depth_bounds_test -#define GL_EXT_depth_bounds_test 1 - -#define GL_DEPTH_BOUNDS_TEST_EXT 0x8890 -#define GL_DEPTH_BOUNDS_EXT 0x8891 - -typedef void (GLAPIENTRY * PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax); - -#define glDepthBoundsEXT GLEW_GET_FUN(__glewDepthBoundsEXT) - -#define GLEW_EXT_depth_bounds_test GLEW_GET_VAR(__GLEW_EXT_depth_bounds_test) - -#endif /* GL_EXT_depth_bounds_test */ - -/* ----------------------- GL_EXT_direct_state_access ---------------------- */ - -#ifndef GL_EXT_direct_state_access -#define GL_EXT_direct_state_access 1 - -#define GL_PROGRAM_MATRIX_EXT 0x8E2D -#define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E -#define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F - -typedef void (GLAPIENTRY * PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture); -typedef GLenum (GLAPIENTRY * PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target); -typedef void (GLAPIENTRY * PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask); -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void* data); -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data); -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data); -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void* data); -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data); -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void* data); -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void* data); -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data); -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data); -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void* data); -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data); -typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void* data); -typedef void (GLAPIENTRY * PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); -typedef void (GLAPIENTRY * PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -typedef void (GLAPIENTRY * PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -typedef void (GLAPIENTRY * PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GLAPIENTRY * PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GLAPIENTRY * PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); -typedef void (GLAPIENTRY * PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -typedef void (GLAPIENTRY * PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -typedef void (GLAPIENTRY * PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GLAPIENTRY * PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (GLAPIENTRY * PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index); -typedef void (GLAPIENTRY * PFNGLDISABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index); -typedef void (GLAPIENTRY * PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index); -typedef void (GLAPIENTRY * PFNGLDISABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array); -typedef void (GLAPIENTRY * PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index); -typedef void (GLAPIENTRY * PFNGLENABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index); -typedef void (GLAPIENTRY * PFNGLENABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index); -typedef void (GLAPIENTRY * PFNGLENABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array); -typedef void (GLAPIENTRY * PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length); -typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode); -typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum* bufs); -typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode); -typedef void (GLAPIENTRY * PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target); -typedef void (GLAPIENTRY * PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target); -typedef void (GLAPIENTRY * PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, void* img); -typedef void (GLAPIENTRY * PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, void* img); -typedef void (GLAPIENTRY * PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble* params); -typedef void (GLAPIENTRY * PFNGLGETDOUBLEI_VEXTPROC) (GLenum pname, GLuint index, GLdouble* params); -typedef void (GLAPIENTRY * PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETFLOATI_VEXTPROC) (GLenum pname, GLuint index, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint* param); -typedef void (GLAPIENTRY * PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble* params); -typedef void (GLAPIENTRY * PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void* pixels); -typedef void (GLAPIENTRY * PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint* params); -typedef void (GLAPIENTRY * PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, void** params); -typedef void (GLAPIENTRY * PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void* data); -typedef void (GLAPIENTRY * PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint* params); -typedef void (GLAPIENTRY * PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble* params); -typedef void (GLAPIENTRY * PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, void* string); -typedef void (GLAPIENTRY * PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLvoid** params); -typedef void (GLAPIENTRY * PFNGLGETPOINTERI_VEXTPROC) (GLenum pname, GLuint index, GLvoid** params); -typedef void (GLAPIENTRY * PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void* pixels); -typedef void (GLAPIENTRY * PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint* params); -typedef void (GLAPIENTRY * PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint* param); -typedef void (GLAPIENTRY * PFNGLGETVERTEXARRAYINTEGERVEXTPROC) (GLuint vaobj, GLenum pname, GLint* param); -typedef void (GLAPIENTRY * PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLvoid** param); -typedef void (GLAPIENTRY * PFNGLGETVERTEXARRAYPOINTERVEXTPROC) (GLuint vaobj, GLenum pname, GLvoid** param); -typedef GLvoid * (GLAPIENTRY * PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access); -typedef GLvoid * (GLAPIENTRY * PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); -typedef void (GLAPIENTRY * PFNGLMATRIXFRUSTUMEXTPROC) (GLenum matrixMode, GLdouble l, GLdouble r, GLdouble b, GLdouble t, GLdouble n, GLdouble f); -typedef void (GLAPIENTRY * PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum matrixMode); -typedef void (GLAPIENTRY * PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum matrixMode, const GLdouble* m); -typedef void (GLAPIENTRY * PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum matrixMode, const GLfloat* m); -typedef void (GLAPIENTRY * PFNGLMATRIXLOADDEXTPROC) (GLenum matrixMode, const GLdouble* m); -typedef void (GLAPIENTRY * PFNGLMATRIXLOADFEXTPROC) (GLenum matrixMode, const GLfloat* m); -typedef void (GLAPIENTRY * PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum matrixMode, const GLdouble* m); -typedef void (GLAPIENTRY * PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum matrixMode, const GLfloat* m); -typedef void (GLAPIENTRY * PFNGLMATRIXMULTDEXTPROC) (GLenum matrixMode, const GLdouble* m); -typedef void (GLAPIENTRY * PFNGLMATRIXMULTFEXTPROC) (GLenum matrixMode, const GLfloat* m); -typedef void (GLAPIENTRY * PFNGLMATRIXORTHOEXTPROC) (GLenum matrixMode, GLdouble l, GLdouble r, GLdouble b, GLdouble t, GLdouble n, GLdouble f); -typedef void (GLAPIENTRY * PFNGLMATRIXPOPEXTPROC) (GLenum matrixMode); -typedef void (GLAPIENTRY * PFNGLMATRIXPUSHEXTPROC) (GLenum matrixMode); -typedef void (GLAPIENTRY * PFNGLMATRIXROTATEDEXTPROC) (GLenum matrixMode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); -typedef void (GLAPIENTRY * PFNGLMATRIXROTATEFEXTPROC) (GLenum matrixMode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLMATRIXSCALEDEXTPROC) (GLenum matrixMode, GLdouble x, GLdouble y, GLdouble z); -typedef void (GLAPIENTRY * PFNGLMATRIXSCALEFEXTPROC) (GLenum matrixMode, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum matrixMode, GLdouble x, GLdouble y, GLdouble z); -typedef void (GLAPIENTRY * PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum matrixMode, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void* pointer); -typedef void (GLAPIENTRY * PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param); -typedef void (GLAPIENTRY * PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param); -typedef void (GLAPIENTRY * PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint* params); -typedef void (GLAPIENTRY * PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param); -typedef void (GLAPIENTRY * PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble* params); -typedef void (GLAPIENTRY * PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param); -typedef void (GLAPIENTRY * PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param); -typedef void (GLAPIENTRY * PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint* params); -typedef void (GLAPIENTRY * PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void* pixels); -typedef void (GLAPIENTRY * PFNGLMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels); -typedef void (GLAPIENTRY * PFNGLMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void* pixels); -typedef void (GLAPIENTRY * PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint* params); -typedef void (GLAPIENTRY * PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint* params); -typedef void (GLAPIENTRY * PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param); -typedef void (GLAPIENTRY * PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat* param); -typedef void (GLAPIENTRY * PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param); -typedef void (GLAPIENTRY * PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint* param); -typedef void (GLAPIENTRY * PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer); -typedef void (GLAPIENTRY * PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void* pixels); -typedef void (GLAPIENTRY * PFNGLMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels); -typedef void (GLAPIENTRY * PFNGLMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void* pixels); -typedef void (GLAPIENTRY * PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const void* data, GLenum usage); -typedef void (GLAPIENTRY * PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void* data); -typedef void (GLAPIENTRY * PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -typedef void (GLAPIENTRY * PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -typedef void (GLAPIENTRY * PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (GLAPIENTRY * PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (GLAPIENTRY * PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); -typedef void (GLAPIENTRY * PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); -typedef void (GLAPIENTRY * PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face); -typedef void (GLAPIENTRY * PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); -typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble* params); -typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); -typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint* params); -typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint* params); -typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint* params); -typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint* params); -typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const void* string); -typedef void (GLAPIENTRY * PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GLAPIENTRY * PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GLAPIENTRY * PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask); -typedef void (GLAPIENTRY * PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer); -typedef void (GLAPIENTRY * PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void* pixels); -typedef void (GLAPIENTRY * PFNGLTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels); -typedef void (GLAPIENTRY * PFNGLTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void* pixels); -typedef void (GLAPIENTRY * PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint* params); -typedef void (GLAPIENTRY * PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint* params); -typedef void (GLAPIENTRY * PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param); -typedef void (GLAPIENTRY * PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat* param); -typedef void (GLAPIENTRY * PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param); -typedef void (GLAPIENTRY * PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint* param); -typedef void (GLAPIENTRY * PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer); -typedef void (GLAPIENTRY * PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void* pixels); -typedef void (GLAPIENTRY * PFNGLTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels); -typedef void (GLAPIENTRY * PFNGLTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void* pixels); -typedef GLboolean (GLAPIENTRY * PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer); -typedef void (GLAPIENTRY * PFNGLVERTEXARRAYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); -typedef void (GLAPIENTRY * PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset); -typedef void (GLAPIENTRY * PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); -typedef void (GLAPIENTRY * PFNGLVERTEXARRAYINDEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); -typedef void (GLAPIENTRY * PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset); -typedef void (GLAPIENTRY * PFNGLVERTEXARRAYNORMALOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); -typedef void (GLAPIENTRY * PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); -typedef void (GLAPIENTRY * PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); -typedef void (GLAPIENTRY * PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); -typedef void (GLAPIENTRY * PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset); -typedef void (GLAPIENTRY * PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); - -#define glBindMultiTextureEXT GLEW_GET_FUN(__glewBindMultiTextureEXT) -#define glCheckNamedFramebufferStatusEXT GLEW_GET_FUN(__glewCheckNamedFramebufferStatusEXT) -#define glClientAttribDefaultEXT GLEW_GET_FUN(__glewClientAttribDefaultEXT) -#define glCompressedMultiTexImage1DEXT GLEW_GET_FUN(__glewCompressedMultiTexImage1DEXT) -#define glCompressedMultiTexImage2DEXT GLEW_GET_FUN(__glewCompressedMultiTexImage2DEXT) -#define glCompressedMultiTexImage3DEXT GLEW_GET_FUN(__glewCompressedMultiTexImage3DEXT) -#define glCompressedMultiTexSubImage1DEXT GLEW_GET_FUN(__glewCompressedMultiTexSubImage1DEXT) -#define glCompressedMultiTexSubImage2DEXT GLEW_GET_FUN(__glewCompressedMultiTexSubImage2DEXT) -#define glCompressedMultiTexSubImage3DEXT GLEW_GET_FUN(__glewCompressedMultiTexSubImage3DEXT) -#define glCompressedTextureImage1DEXT GLEW_GET_FUN(__glewCompressedTextureImage1DEXT) -#define glCompressedTextureImage2DEXT GLEW_GET_FUN(__glewCompressedTextureImage2DEXT) -#define glCompressedTextureImage3DEXT GLEW_GET_FUN(__glewCompressedTextureImage3DEXT) -#define glCompressedTextureSubImage1DEXT GLEW_GET_FUN(__glewCompressedTextureSubImage1DEXT) -#define glCompressedTextureSubImage2DEXT GLEW_GET_FUN(__glewCompressedTextureSubImage2DEXT) -#define glCompressedTextureSubImage3DEXT GLEW_GET_FUN(__glewCompressedTextureSubImage3DEXT) -#define glCopyMultiTexImage1DEXT GLEW_GET_FUN(__glewCopyMultiTexImage1DEXT) -#define glCopyMultiTexImage2DEXT GLEW_GET_FUN(__glewCopyMultiTexImage2DEXT) -#define glCopyMultiTexSubImage1DEXT GLEW_GET_FUN(__glewCopyMultiTexSubImage1DEXT) -#define glCopyMultiTexSubImage2DEXT GLEW_GET_FUN(__glewCopyMultiTexSubImage2DEXT) -#define glCopyMultiTexSubImage3DEXT GLEW_GET_FUN(__glewCopyMultiTexSubImage3DEXT) -#define glCopyTextureImage1DEXT GLEW_GET_FUN(__glewCopyTextureImage1DEXT) -#define glCopyTextureImage2DEXT GLEW_GET_FUN(__glewCopyTextureImage2DEXT) -#define glCopyTextureSubImage1DEXT GLEW_GET_FUN(__glewCopyTextureSubImage1DEXT) -#define glCopyTextureSubImage2DEXT GLEW_GET_FUN(__glewCopyTextureSubImage2DEXT) -#define glCopyTextureSubImage3DEXT GLEW_GET_FUN(__glewCopyTextureSubImage3DEXT) -#define glDisableClientStateIndexedEXT GLEW_GET_FUN(__glewDisableClientStateIndexedEXT) -#define glDisableClientStateiEXT GLEW_GET_FUN(__glewDisableClientStateiEXT) -#define glDisableVertexArrayAttribEXT GLEW_GET_FUN(__glewDisableVertexArrayAttribEXT) -#define glDisableVertexArrayEXT GLEW_GET_FUN(__glewDisableVertexArrayEXT) -#define glEnableClientStateIndexedEXT GLEW_GET_FUN(__glewEnableClientStateIndexedEXT) -#define glEnableClientStateiEXT GLEW_GET_FUN(__glewEnableClientStateiEXT) -#define glEnableVertexArrayAttribEXT GLEW_GET_FUN(__glewEnableVertexArrayAttribEXT) -#define glEnableVertexArrayEXT GLEW_GET_FUN(__glewEnableVertexArrayEXT) -#define glFlushMappedNamedBufferRangeEXT GLEW_GET_FUN(__glewFlushMappedNamedBufferRangeEXT) -#define glFramebufferDrawBufferEXT GLEW_GET_FUN(__glewFramebufferDrawBufferEXT) -#define glFramebufferDrawBuffersEXT GLEW_GET_FUN(__glewFramebufferDrawBuffersEXT) -#define glFramebufferReadBufferEXT GLEW_GET_FUN(__glewFramebufferReadBufferEXT) -#define glGenerateMultiTexMipmapEXT GLEW_GET_FUN(__glewGenerateMultiTexMipmapEXT) -#define glGenerateTextureMipmapEXT GLEW_GET_FUN(__glewGenerateTextureMipmapEXT) -#define glGetCompressedMultiTexImageEXT GLEW_GET_FUN(__glewGetCompressedMultiTexImageEXT) -#define glGetCompressedTextureImageEXT GLEW_GET_FUN(__glewGetCompressedTextureImageEXT) -#define glGetDoubleIndexedvEXT GLEW_GET_FUN(__glewGetDoubleIndexedvEXT) -#define glGetDoublei_vEXT GLEW_GET_FUN(__glewGetDoublei_vEXT) -#define glGetFloatIndexedvEXT GLEW_GET_FUN(__glewGetFloatIndexedvEXT) -#define glGetFloati_vEXT GLEW_GET_FUN(__glewGetFloati_vEXT) -#define glGetFramebufferParameterivEXT GLEW_GET_FUN(__glewGetFramebufferParameterivEXT) -#define glGetMultiTexEnvfvEXT GLEW_GET_FUN(__glewGetMultiTexEnvfvEXT) -#define glGetMultiTexEnvivEXT GLEW_GET_FUN(__glewGetMultiTexEnvivEXT) -#define glGetMultiTexGendvEXT GLEW_GET_FUN(__glewGetMultiTexGendvEXT) -#define glGetMultiTexGenfvEXT GLEW_GET_FUN(__glewGetMultiTexGenfvEXT) -#define glGetMultiTexGenivEXT GLEW_GET_FUN(__glewGetMultiTexGenivEXT) -#define glGetMultiTexImageEXT GLEW_GET_FUN(__glewGetMultiTexImageEXT) -#define glGetMultiTexLevelParameterfvEXT GLEW_GET_FUN(__glewGetMultiTexLevelParameterfvEXT) -#define glGetMultiTexLevelParameterivEXT GLEW_GET_FUN(__glewGetMultiTexLevelParameterivEXT) -#define glGetMultiTexParameterIivEXT GLEW_GET_FUN(__glewGetMultiTexParameterIivEXT) -#define glGetMultiTexParameterIuivEXT GLEW_GET_FUN(__glewGetMultiTexParameterIuivEXT) -#define glGetMultiTexParameterfvEXT GLEW_GET_FUN(__glewGetMultiTexParameterfvEXT) -#define glGetMultiTexParameterivEXT GLEW_GET_FUN(__glewGetMultiTexParameterivEXT) -#define glGetNamedBufferParameterivEXT GLEW_GET_FUN(__glewGetNamedBufferParameterivEXT) -#define glGetNamedBufferPointervEXT GLEW_GET_FUN(__glewGetNamedBufferPointervEXT) -#define glGetNamedBufferSubDataEXT GLEW_GET_FUN(__glewGetNamedBufferSubDataEXT) -#define glGetNamedFramebufferAttachmentParameterivEXT GLEW_GET_FUN(__glewGetNamedFramebufferAttachmentParameterivEXT) -#define glGetNamedProgramLocalParameterIivEXT GLEW_GET_FUN(__glewGetNamedProgramLocalParameterIivEXT) -#define glGetNamedProgramLocalParameterIuivEXT GLEW_GET_FUN(__glewGetNamedProgramLocalParameterIuivEXT) -#define glGetNamedProgramLocalParameterdvEXT GLEW_GET_FUN(__glewGetNamedProgramLocalParameterdvEXT) -#define glGetNamedProgramLocalParameterfvEXT GLEW_GET_FUN(__glewGetNamedProgramLocalParameterfvEXT) -#define glGetNamedProgramStringEXT GLEW_GET_FUN(__glewGetNamedProgramStringEXT) -#define glGetNamedProgramivEXT GLEW_GET_FUN(__glewGetNamedProgramivEXT) -#define glGetNamedRenderbufferParameterivEXT GLEW_GET_FUN(__glewGetNamedRenderbufferParameterivEXT) -#define glGetPointerIndexedvEXT GLEW_GET_FUN(__glewGetPointerIndexedvEXT) -#define glGetPointeri_vEXT GLEW_GET_FUN(__glewGetPointeri_vEXT) -#define glGetTextureImageEXT GLEW_GET_FUN(__glewGetTextureImageEXT) -#define glGetTextureLevelParameterfvEXT GLEW_GET_FUN(__glewGetTextureLevelParameterfvEXT) -#define glGetTextureLevelParameterivEXT GLEW_GET_FUN(__glewGetTextureLevelParameterivEXT) -#define glGetTextureParameterIivEXT GLEW_GET_FUN(__glewGetTextureParameterIivEXT) -#define glGetTextureParameterIuivEXT GLEW_GET_FUN(__glewGetTextureParameterIuivEXT) -#define glGetTextureParameterfvEXT GLEW_GET_FUN(__glewGetTextureParameterfvEXT) -#define glGetTextureParameterivEXT GLEW_GET_FUN(__glewGetTextureParameterivEXT) -#define glGetVertexArrayIntegeri_vEXT GLEW_GET_FUN(__glewGetVertexArrayIntegeri_vEXT) -#define glGetVertexArrayIntegervEXT GLEW_GET_FUN(__glewGetVertexArrayIntegervEXT) -#define glGetVertexArrayPointeri_vEXT GLEW_GET_FUN(__glewGetVertexArrayPointeri_vEXT) -#define glGetVertexArrayPointervEXT GLEW_GET_FUN(__glewGetVertexArrayPointervEXT) -#define glMapNamedBufferEXT GLEW_GET_FUN(__glewMapNamedBufferEXT) -#define glMapNamedBufferRangeEXT GLEW_GET_FUN(__glewMapNamedBufferRangeEXT) -#define glMatrixFrustumEXT GLEW_GET_FUN(__glewMatrixFrustumEXT) -#define glMatrixLoadIdentityEXT GLEW_GET_FUN(__glewMatrixLoadIdentityEXT) -#define glMatrixLoadTransposedEXT GLEW_GET_FUN(__glewMatrixLoadTransposedEXT) -#define glMatrixLoadTransposefEXT GLEW_GET_FUN(__glewMatrixLoadTransposefEXT) -#define glMatrixLoaddEXT GLEW_GET_FUN(__glewMatrixLoaddEXT) -#define glMatrixLoadfEXT GLEW_GET_FUN(__glewMatrixLoadfEXT) -#define glMatrixMultTransposedEXT GLEW_GET_FUN(__glewMatrixMultTransposedEXT) -#define glMatrixMultTransposefEXT GLEW_GET_FUN(__glewMatrixMultTransposefEXT) -#define glMatrixMultdEXT GLEW_GET_FUN(__glewMatrixMultdEXT) -#define glMatrixMultfEXT GLEW_GET_FUN(__glewMatrixMultfEXT) -#define glMatrixOrthoEXT GLEW_GET_FUN(__glewMatrixOrthoEXT) -#define glMatrixPopEXT GLEW_GET_FUN(__glewMatrixPopEXT) -#define glMatrixPushEXT GLEW_GET_FUN(__glewMatrixPushEXT) -#define glMatrixRotatedEXT GLEW_GET_FUN(__glewMatrixRotatedEXT) -#define glMatrixRotatefEXT GLEW_GET_FUN(__glewMatrixRotatefEXT) -#define glMatrixScaledEXT GLEW_GET_FUN(__glewMatrixScaledEXT) -#define glMatrixScalefEXT GLEW_GET_FUN(__glewMatrixScalefEXT) -#define glMatrixTranslatedEXT GLEW_GET_FUN(__glewMatrixTranslatedEXT) -#define glMatrixTranslatefEXT GLEW_GET_FUN(__glewMatrixTranslatefEXT) -#define glMultiTexBufferEXT GLEW_GET_FUN(__glewMultiTexBufferEXT) -#define glMultiTexCoordPointerEXT GLEW_GET_FUN(__glewMultiTexCoordPointerEXT) -#define glMultiTexEnvfEXT GLEW_GET_FUN(__glewMultiTexEnvfEXT) -#define glMultiTexEnvfvEXT GLEW_GET_FUN(__glewMultiTexEnvfvEXT) -#define glMultiTexEnviEXT GLEW_GET_FUN(__glewMultiTexEnviEXT) -#define glMultiTexEnvivEXT GLEW_GET_FUN(__glewMultiTexEnvivEXT) -#define glMultiTexGendEXT GLEW_GET_FUN(__glewMultiTexGendEXT) -#define glMultiTexGendvEXT GLEW_GET_FUN(__glewMultiTexGendvEXT) -#define glMultiTexGenfEXT GLEW_GET_FUN(__glewMultiTexGenfEXT) -#define glMultiTexGenfvEXT GLEW_GET_FUN(__glewMultiTexGenfvEXT) -#define glMultiTexGeniEXT GLEW_GET_FUN(__glewMultiTexGeniEXT) -#define glMultiTexGenivEXT GLEW_GET_FUN(__glewMultiTexGenivEXT) -#define glMultiTexImage1DEXT GLEW_GET_FUN(__glewMultiTexImage1DEXT) -#define glMultiTexImage2DEXT GLEW_GET_FUN(__glewMultiTexImage2DEXT) -#define glMultiTexImage3DEXT GLEW_GET_FUN(__glewMultiTexImage3DEXT) -#define glMultiTexParameterIivEXT GLEW_GET_FUN(__glewMultiTexParameterIivEXT) -#define glMultiTexParameterIuivEXT GLEW_GET_FUN(__glewMultiTexParameterIuivEXT) -#define glMultiTexParameterfEXT GLEW_GET_FUN(__glewMultiTexParameterfEXT) -#define glMultiTexParameterfvEXT GLEW_GET_FUN(__glewMultiTexParameterfvEXT) -#define glMultiTexParameteriEXT GLEW_GET_FUN(__glewMultiTexParameteriEXT) -#define glMultiTexParameterivEXT GLEW_GET_FUN(__glewMultiTexParameterivEXT) -#define glMultiTexRenderbufferEXT GLEW_GET_FUN(__glewMultiTexRenderbufferEXT) -#define glMultiTexSubImage1DEXT GLEW_GET_FUN(__glewMultiTexSubImage1DEXT) -#define glMultiTexSubImage2DEXT GLEW_GET_FUN(__glewMultiTexSubImage2DEXT) -#define glMultiTexSubImage3DEXT GLEW_GET_FUN(__glewMultiTexSubImage3DEXT) -#define glNamedBufferDataEXT GLEW_GET_FUN(__glewNamedBufferDataEXT) -#define glNamedBufferSubDataEXT GLEW_GET_FUN(__glewNamedBufferSubDataEXT) -#define glNamedCopyBufferSubDataEXT GLEW_GET_FUN(__glewNamedCopyBufferSubDataEXT) -#define glNamedFramebufferRenderbufferEXT GLEW_GET_FUN(__glewNamedFramebufferRenderbufferEXT) -#define glNamedFramebufferTexture1DEXT GLEW_GET_FUN(__glewNamedFramebufferTexture1DEXT) -#define glNamedFramebufferTexture2DEXT GLEW_GET_FUN(__glewNamedFramebufferTexture2DEXT) -#define glNamedFramebufferTexture3DEXT GLEW_GET_FUN(__glewNamedFramebufferTexture3DEXT) -#define glNamedFramebufferTextureEXT GLEW_GET_FUN(__glewNamedFramebufferTextureEXT) -#define glNamedFramebufferTextureFaceEXT GLEW_GET_FUN(__glewNamedFramebufferTextureFaceEXT) -#define glNamedFramebufferTextureLayerEXT GLEW_GET_FUN(__glewNamedFramebufferTextureLayerEXT) -#define glNamedProgramLocalParameter4dEXT GLEW_GET_FUN(__glewNamedProgramLocalParameter4dEXT) -#define glNamedProgramLocalParameter4dvEXT GLEW_GET_FUN(__glewNamedProgramLocalParameter4dvEXT) -#define glNamedProgramLocalParameter4fEXT GLEW_GET_FUN(__glewNamedProgramLocalParameter4fEXT) -#define glNamedProgramLocalParameter4fvEXT GLEW_GET_FUN(__glewNamedProgramLocalParameter4fvEXT) -#define glNamedProgramLocalParameterI4iEXT GLEW_GET_FUN(__glewNamedProgramLocalParameterI4iEXT) -#define glNamedProgramLocalParameterI4ivEXT GLEW_GET_FUN(__glewNamedProgramLocalParameterI4ivEXT) -#define glNamedProgramLocalParameterI4uiEXT GLEW_GET_FUN(__glewNamedProgramLocalParameterI4uiEXT) -#define glNamedProgramLocalParameterI4uivEXT GLEW_GET_FUN(__glewNamedProgramLocalParameterI4uivEXT) -#define glNamedProgramLocalParameters4fvEXT GLEW_GET_FUN(__glewNamedProgramLocalParameters4fvEXT) -#define glNamedProgramLocalParametersI4ivEXT GLEW_GET_FUN(__glewNamedProgramLocalParametersI4ivEXT) -#define glNamedProgramLocalParametersI4uivEXT GLEW_GET_FUN(__glewNamedProgramLocalParametersI4uivEXT) -#define glNamedProgramStringEXT GLEW_GET_FUN(__glewNamedProgramStringEXT) -#define glNamedRenderbufferStorageEXT GLEW_GET_FUN(__glewNamedRenderbufferStorageEXT) -#define glNamedRenderbufferStorageMultisampleCoverageEXT GLEW_GET_FUN(__glewNamedRenderbufferStorageMultisampleCoverageEXT) -#define glNamedRenderbufferStorageMultisampleEXT GLEW_GET_FUN(__glewNamedRenderbufferStorageMultisampleEXT) -#define glProgramUniform1dEXT GLEW_GET_FUN(__glewProgramUniform1dEXT) -#define glProgramUniform1dvEXT GLEW_GET_FUN(__glewProgramUniform1dvEXT) -#define glProgramUniform1fEXT GLEW_GET_FUN(__glewProgramUniform1fEXT) -#define glProgramUniform1fvEXT GLEW_GET_FUN(__glewProgramUniform1fvEXT) -#define glProgramUniform1iEXT GLEW_GET_FUN(__glewProgramUniform1iEXT) -#define glProgramUniform1ivEXT GLEW_GET_FUN(__glewProgramUniform1ivEXT) -#define glProgramUniform1uiEXT GLEW_GET_FUN(__glewProgramUniform1uiEXT) -#define glProgramUniform1uivEXT GLEW_GET_FUN(__glewProgramUniform1uivEXT) -#define glProgramUniform2dEXT GLEW_GET_FUN(__glewProgramUniform2dEXT) -#define glProgramUniform2dvEXT GLEW_GET_FUN(__glewProgramUniform2dvEXT) -#define glProgramUniform2fEXT GLEW_GET_FUN(__glewProgramUniform2fEXT) -#define glProgramUniform2fvEXT GLEW_GET_FUN(__glewProgramUniform2fvEXT) -#define glProgramUniform2iEXT GLEW_GET_FUN(__glewProgramUniform2iEXT) -#define glProgramUniform2ivEXT GLEW_GET_FUN(__glewProgramUniform2ivEXT) -#define glProgramUniform2uiEXT GLEW_GET_FUN(__glewProgramUniform2uiEXT) -#define glProgramUniform2uivEXT GLEW_GET_FUN(__glewProgramUniform2uivEXT) -#define glProgramUniform3dEXT GLEW_GET_FUN(__glewProgramUniform3dEXT) -#define glProgramUniform3dvEXT GLEW_GET_FUN(__glewProgramUniform3dvEXT) -#define glProgramUniform3fEXT GLEW_GET_FUN(__glewProgramUniform3fEXT) -#define glProgramUniform3fvEXT GLEW_GET_FUN(__glewProgramUniform3fvEXT) -#define glProgramUniform3iEXT GLEW_GET_FUN(__glewProgramUniform3iEXT) -#define glProgramUniform3ivEXT GLEW_GET_FUN(__glewProgramUniform3ivEXT) -#define glProgramUniform3uiEXT GLEW_GET_FUN(__glewProgramUniform3uiEXT) -#define glProgramUniform3uivEXT GLEW_GET_FUN(__glewProgramUniform3uivEXT) -#define glProgramUniform4dEXT GLEW_GET_FUN(__glewProgramUniform4dEXT) -#define glProgramUniform4dvEXT GLEW_GET_FUN(__glewProgramUniform4dvEXT) -#define glProgramUniform4fEXT GLEW_GET_FUN(__glewProgramUniform4fEXT) -#define glProgramUniform4fvEXT GLEW_GET_FUN(__glewProgramUniform4fvEXT) -#define glProgramUniform4iEXT GLEW_GET_FUN(__glewProgramUniform4iEXT) -#define glProgramUniform4ivEXT GLEW_GET_FUN(__glewProgramUniform4ivEXT) -#define glProgramUniform4uiEXT GLEW_GET_FUN(__glewProgramUniform4uiEXT) -#define glProgramUniform4uivEXT GLEW_GET_FUN(__glewProgramUniform4uivEXT) -#define glProgramUniformMatrix2dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix2dvEXT) -#define glProgramUniformMatrix2fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix2fvEXT) -#define glProgramUniformMatrix2x3dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix2x3dvEXT) -#define glProgramUniformMatrix2x3fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix2x3fvEXT) -#define glProgramUniformMatrix2x4dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix2x4dvEXT) -#define glProgramUniformMatrix2x4fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix2x4fvEXT) -#define glProgramUniformMatrix3dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix3dvEXT) -#define glProgramUniformMatrix3fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix3fvEXT) -#define glProgramUniformMatrix3x2dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix3x2dvEXT) -#define glProgramUniformMatrix3x2fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix3x2fvEXT) -#define glProgramUniformMatrix3x4dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix3x4dvEXT) -#define glProgramUniformMatrix3x4fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix3x4fvEXT) -#define glProgramUniformMatrix4dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix4dvEXT) -#define glProgramUniformMatrix4fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix4fvEXT) -#define glProgramUniformMatrix4x2dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix4x2dvEXT) -#define glProgramUniformMatrix4x2fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix4x2fvEXT) -#define glProgramUniformMatrix4x3dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix4x3dvEXT) -#define glProgramUniformMatrix4x3fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix4x3fvEXT) -#define glPushClientAttribDefaultEXT GLEW_GET_FUN(__glewPushClientAttribDefaultEXT) -#define glTextureBufferEXT GLEW_GET_FUN(__glewTextureBufferEXT) -#define glTextureImage1DEXT GLEW_GET_FUN(__glewTextureImage1DEXT) -#define glTextureImage2DEXT GLEW_GET_FUN(__glewTextureImage2DEXT) -#define glTextureImage3DEXT GLEW_GET_FUN(__glewTextureImage3DEXT) -#define glTextureParameterIivEXT GLEW_GET_FUN(__glewTextureParameterIivEXT) -#define glTextureParameterIuivEXT GLEW_GET_FUN(__glewTextureParameterIuivEXT) -#define glTextureParameterfEXT GLEW_GET_FUN(__glewTextureParameterfEXT) -#define glTextureParameterfvEXT GLEW_GET_FUN(__glewTextureParameterfvEXT) -#define glTextureParameteriEXT GLEW_GET_FUN(__glewTextureParameteriEXT) -#define glTextureParameterivEXT GLEW_GET_FUN(__glewTextureParameterivEXT) -#define glTextureRenderbufferEXT GLEW_GET_FUN(__glewTextureRenderbufferEXT) -#define glTextureSubImage1DEXT GLEW_GET_FUN(__glewTextureSubImage1DEXT) -#define glTextureSubImage2DEXT GLEW_GET_FUN(__glewTextureSubImage2DEXT) -#define glTextureSubImage3DEXT GLEW_GET_FUN(__glewTextureSubImage3DEXT) -#define glUnmapNamedBufferEXT GLEW_GET_FUN(__glewUnmapNamedBufferEXT) -#define glVertexArrayColorOffsetEXT GLEW_GET_FUN(__glewVertexArrayColorOffsetEXT) -#define glVertexArrayEdgeFlagOffsetEXT GLEW_GET_FUN(__glewVertexArrayEdgeFlagOffsetEXT) -#define glVertexArrayFogCoordOffsetEXT GLEW_GET_FUN(__glewVertexArrayFogCoordOffsetEXT) -#define glVertexArrayIndexOffsetEXT GLEW_GET_FUN(__glewVertexArrayIndexOffsetEXT) -#define glVertexArrayMultiTexCoordOffsetEXT GLEW_GET_FUN(__glewVertexArrayMultiTexCoordOffsetEXT) -#define glVertexArrayNormalOffsetEXT GLEW_GET_FUN(__glewVertexArrayNormalOffsetEXT) -#define glVertexArraySecondaryColorOffsetEXT GLEW_GET_FUN(__glewVertexArraySecondaryColorOffsetEXT) -#define glVertexArrayTexCoordOffsetEXT GLEW_GET_FUN(__glewVertexArrayTexCoordOffsetEXT) -#define glVertexArrayVertexAttribIOffsetEXT GLEW_GET_FUN(__glewVertexArrayVertexAttribIOffsetEXT) -#define glVertexArrayVertexAttribOffsetEXT GLEW_GET_FUN(__glewVertexArrayVertexAttribOffsetEXT) -#define glVertexArrayVertexOffsetEXT GLEW_GET_FUN(__glewVertexArrayVertexOffsetEXT) - -#define GLEW_EXT_direct_state_access GLEW_GET_VAR(__GLEW_EXT_direct_state_access) - -#endif /* GL_EXT_direct_state_access */ - -/* -------------------------- GL_EXT_draw_buffers2 ------------------------- */ - -#ifndef GL_EXT_draw_buffers2 -#define GL_EXT_draw_buffers2 1 - -typedef void (GLAPIENTRY * PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint buf, GLboolean r, GLboolean g, GLboolean b, GLboolean a); -typedef void (GLAPIENTRY * PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index); -typedef void (GLAPIENTRY * PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index); -typedef void (GLAPIENTRY * PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum value, GLuint index, GLboolean* data); -typedef void (GLAPIENTRY * PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum value, GLuint index, GLint* data); -typedef GLboolean (GLAPIENTRY * PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index); - -#define glColorMaskIndexedEXT GLEW_GET_FUN(__glewColorMaskIndexedEXT) -#define glDisableIndexedEXT GLEW_GET_FUN(__glewDisableIndexedEXT) -#define glEnableIndexedEXT GLEW_GET_FUN(__glewEnableIndexedEXT) -#define glGetBooleanIndexedvEXT GLEW_GET_FUN(__glewGetBooleanIndexedvEXT) -#define glGetIntegerIndexedvEXT GLEW_GET_FUN(__glewGetIntegerIndexedvEXT) -#define glIsEnabledIndexedEXT GLEW_GET_FUN(__glewIsEnabledIndexedEXT) - -#define GLEW_EXT_draw_buffers2 GLEW_GET_VAR(__GLEW_EXT_draw_buffers2) - -#endif /* GL_EXT_draw_buffers2 */ - -/* ------------------------- GL_EXT_draw_instanced ------------------------- */ - -#ifndef GL_EXT_draw_instanced -#define GL_EXT_draw_instanced 1 - -typedef void (GLAPIENTRY * PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount); -typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount); - -#define glDrawArraysInstancedEXT GLEW_GET_FUN(__glewDrawArraysInstancedEXT) -#define glDrawElementsInstancedEXT GLEW_GET_FUN(__glewDrawElementsInstancedEXT) - -#define GLEW_EXT_draw_instanced GLEW_GET_VAR(__GLEW_EXT_draw_instanced) - -#endif /* GL_EXT_draw_instanced */ - -/* ----------------------- GL_EXT_draw_range_elements ---------------------- */ - -#ifndef GL_EXT_draw_range_elements -#define GL_EXT_draw_range_elements 1 - -#define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8 -#define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9 - -typedef void (GLAPIENTRY * PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); - -#define glDrawRangeElementsEXT GLEW_GET_FUN(__glewDrawRangeElementsEXT) - -#define GLEW_EXT_draw_range_elements GLEW_GET_VAR(__GLEW_EXT_draw_range_elements) - -#endif /* GL_EXT_draw_range_elements */ - -/* ---------------------------- GL_EXT_fog_coord --------------------------- */ - -#ifndef GL_EXT_fog_coord -#define GL_EXT_fog_coord 1 - -#define GL_FOG_COORDINATE_SOURCE_EXT 0x8450 -#define GL_FOG_COORDINATE_EXT 0x8451 -#define GL_FRAGMENT_DEPTH_EXT 0x8452 -#define GL_CURRENT_FOG_COORDINATE_EXT 0x8453 -#define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454 -#define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455 -#define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456 -#define GL_FOG_COORDINATE_ARRAY_EXT 0x8457 - -typedef void (GLAPIENTRY * PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); -typedef void (GLAPIENTRY * PFNGLFOGCOORDDEXTPROC) (GLdouble coord); -typedef void (GLAPIENTRY * PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord); -typedef void (GLAPIENTRY * PFNGLFOGCOORDFEXTPROC) (GLfloat coord); -typedef void (GLAPIENTRY * PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord); - -#define glFogCoordPointerEXT GLEW_GET_FUN(__glewFogCoordPointerEXT) -#define glFogCoorddEXT GLEW_GET_FUN(__glewFogCoorddEXT) -#define glFogCoorddvEXT GLEW_GET_FUN(__glewFogCoorddvEXT) -#define glFogCoordfEXT GLEW_GET_FUN(__glewFogCoordfEXT) -#define glFogCoordfvEXT GLEW_GET_FUN(__glewFogCoordfvEXT) - -#define GLEW_EXT_fog_coord GLEW_GET_VAR(__GLEW_EXT_fog_coord) - -#endif /* GL_EXT_fog_coord */ - -/* ------------------------ GL_EXT_fragment_lighting ----------------------- */ - -#ifndef GL_EXT_fragment_lighting -#define GL_EXT_fragment_lighting 1 - -#define GL_FRAGMENT_LIGHTING_EXT 0x8400 -#define GL_FRAGMENT_COLOR_MATERIAL_EXT 0x8401 -#define GL_FRAGMENT_COLOR_MATERIAL_FACE_EXT 0x8402 -#define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_EXT 0x8403 -#define GL_MAX_FRAGMENT_LIGHTS_EXT 0x8404 -#define GL_MAX_ACTIVE_LIGHTS_EXT 0x8405 -#define GL_CURRENT_RASTER_NORMAL_EXT 0x8406 -#define GL_LIGHT_ENV_MODE_EXT 0x8407 -#define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_EXT 0x8408 -#define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_EXT 0x8409 -#define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_EXT 0x840A -#define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_EXT 0x840B -#define GL_FRAGMENT_LIGHT0_EXT 0x840C -#define GL_FRAGMENT_LIGHT7_EXT 0x8413 - -typedef void (GLAPIENTRY * PFNGLFRAGMENTCOLORMATERIALEXTPROC) (GLenum face, GLenum mode); -typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELFEXTPROC) (GLenum pname, GLfloat param); -typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELFVEXTPROC) (GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELIEXTPROC) (GLenum pname, GLint param); -typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELIVEXTPROC) (GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTFEXTPROC) (GLenum light, GLenum pname, GLfloat param); -typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTFVEXTPROC) (GLenum light, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTIEXTPROC) (GLenum light, GLenum pname, GLint param); -typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTIVEXTPROC) (GLenum light, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLFRAGMENTMATERIALFEXTPROC) (GLenum face, GLenum pname, const GLfloat param); -typedef void (GLAPIENTRY * PFNGLFRAGMENTMATERIALFVEXTPROC) (GLenum face, GLenum pname, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLFRAGMENTMATERIALIEXTPROC) (GLenum face, GLenum pname, const GLint param); -typedef void (GLAPIENTRY * PFNGLFRAGMENTMATERIALIVEXTPROC) (GLenum face, GLenum pname, const GLint* params); -typedef void (GLAPIENTRY * PFNGLGETFRAGMENTLIGHTFVEXTPROC) (GLenum light, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETFRAGMENTLIGHTIVEXTPROC) (GLenum light, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETFRAGMENTMATERIALFVEXTPROC) (GLenum face, GLenum pname, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETFRAGMENTMATERIALIVEXTPROC) (GLenum face, GLenum pname, const GLint* params); -typedef void (GLAPIENTRY * PFNGLLIGHTENVIEXTPROC) (GLenum pname, GLint param); - -#define glFragmentColorMaterialEXT GLEW_GET_FUN(__glewFragmentColorMaterialEXT) -#define glFragmentLightModelfEXT GLEW_GET_FUN(__glewFragmentLightModelfEXT) -#define glFragmentLightModelfvEXT GLEW_GET_FUN(__glewFragmentLightModelfvEXT) -#define glFragmentLightModeliEXT GLEW_GET_FUN(__glewFragmentLightModeliEXT) -#define glFragmentLightModelivEXT GLEW_GET_FUN(__glewFragmentLightModelivEXT) -#define glFragmentLightfEXT GLEW_GET_FUN(__glewFragmentLightfEXT) -#define glFragmentLightfvEXT GLEW_GET_FUN(__glewFragmentLightfvEXT) -#define glFragmentLightiEXT GLEW_GET_FUN(__glewFragmentLightiEXT) -#define glFragmentLightivEXT GLEW_GET_FUN(__glewFragmentLightivEXT) -#define glFragmentMaterialfEXT GLEW_GET_FUN(__glewFragmentMaterialfEXT) -#define glFragmentMaterialfvEXT GLEW_GET_FUN(__glewFragmentMaterialfvEXT) -#define glFragmentMaterialiEXT GLEW_GET_FUN(__glewFragmentMaterialiEXT) -#define glFragmentMaterialivEXT GLEW_GET_FUN(__glewFragmentMaterialivEXT) -#define glGetFragmentLightfvEXT GLEW_GET_FUN(__glewGetFragmentLightfvEXT) -#define glGetFragmentLightivEXT GLEW_GET_FUN(__glewGetFragmentLightivEXT) -#define glGetFragmentMaterialfvEXT GLEW_GET_FUN(__glewGetFragmentMaterialfvEXT) -#define glGetFragmentMaterialivEXT GLEW_GET_FUN(__glewGetFragmentMaterialivEXT) -#define glLightEnviEXT GLEW_GET_FUN(__glewLightEnviEXT) - -#define GLEW_EXT_fragment_lighting GLEW_GET_VAR(__GLEW_EXT_fragment_lighting) - -#endif /* GL_EXT_fragment_lighting */ - -/* ------------------------ GL_EXT_framebuffer_blit ------------------------ */ - -#ifndef GL_EXT_framebuffer_blit -#define GL_EXT_framebuffer_blit 1 - -#define GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6 -#define GL_READ_FRAMEBUFFER_EXT 0x8CA8 -#define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9 -#define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA - -typedef void (GLAPIENTRY * PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); - -#define glBlitFramebufferEXT GLEW_GET_FUN(__glewBlitFramebufferEXT) - -#define GLEW_EXT_framebuffer_blit GLEW_GET_VAR(__GLEW_EXT_framebuffer_blit) - -#endif /* GL_EXT_framebuffer_blit */ - -/* --------------------- GL_EXT_framebuffer_multisample -------------------- */ - -#ifndef GL_EXT_framebuffer_multisample -#define GL_EXT_framebuffer_multisample 1 - -#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 -#define GL_MAX_SAMPLES_EXT 0x8D57 - -typedef void (GLAPIENTRY * PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); - -#define glRenderbufferStorageMultisampleEXT GLEW_GET_FUN(__glewRenderbufferStorageMultisampleEXT) - -#define GLEW_EXT_framebuffer_multisample GLEW_GET_VAR(__GLEW_EXT_framebuffer_multisample) - -#endif /* GL_EXT_framebuffer_multisample */ - -/* --------------- GL_EXT_framebuffer_multisample_blit_scaled -------------- */ - -#ifndef GL_EXT_framebuffer_multisample_blit_scaled -#define GL_EXT_framebuffer_multisample_blit_scaled 1 - -#define GL_SCALED_RESOLVE_FASTEST_EXT 0x90BA -#define GL_SCALED_RESOLVE_NICEST_EXT 0x90BB - -#define GLEW_EXT_framebuffer_multisample_blit_scaled GLEW_GET_VAR(__GLEW_EXT_framebuffer_multisample_blit_scaled) - -#endif /* GL_EXT_framebuffer_multisample_blit_scaled */ - -/* ----------------------- GL_EXT_framebuffer_object ----------------------- */ - -#ifndef GL_EXT_framebuffer_object -#define GL_EXT_framebuffer_object 1 - -#define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506 -#define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8 -#define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6 -#define GL_RENDERBUFFER_BINDING_EXT 0x8CA7 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4 -#define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5 -#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6 -#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7 -#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9 -#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA -#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB -#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC -#define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD -#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF -#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 -#define GL_COLOR_ATTACHMENT1_EXT 0x8CE1 -#define GL_COLOR_ATTACHMENT2_EXT 0x8CE2 -#define GL_COLOR_ATTACHMENT3_EXT 0x8CE3 -#define GL_COLOR_ATTACHMENT4_EXT 0x8CE4 -#define GL_COLOR_ATTACHMENT5_EXT 0x8CE5 -#define GL_COLOR_ATTACHMENT6_EXT 0x8CE6 -#define GL_COLOR_ATTACHMENT7_EXT 0x8CE7 -#define GL_COLOR_ATTACHMENT8_EXT 0x8CE8 -#define GL_COLOR_ATTACHMENT9_EXT 0x8CE9 -#define GL_COLOR_ATTACHMENT10_EXT 0x8CEA -#define GL_COLOR_ATTACHMENT11_EXT 0x8CEB -#define GL_COLOR_ATTACHMENT12_EXT 0x8CEC -#define GL_COLOR_ATTACHMENT13_EXT 0x8CED -#define GL_COLOR_ATTACHMENT14_EXT 0x8CEE -#define GL_COLOR_ATTACHMENT15_EXT 0x8CEF -#define GL_DEPTH_ATTACHMENT_EXT 0x8D00 -#define GL_STENCIL_ATTACHMENT_EXT 0x8D20 -#define GL_FRAMEBUFFER_EXT 0x8D40 -#define GL_RENDERBUFFER_EXT 0x8D41 -#define GL_RENDERBUFFER_WIDTH_EXT 0x8D42 -#define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43 -#define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44 -#define GL_STENCIL_INDEX1_EXT 0x8D46 -#define GL_STENCIL_INDEX4_EXT 0x8D47 -#define GL_STENCIL_INDEX8_EXT 0x8D48 -#define GL_STENCIL_INDEX16_EXT 0x8D49 -#define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50 -#define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51 -#define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52 -#define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53 -#define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54 -#define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55 - -typedef void (GLAPIENTRY * PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer); -typedef void (GLAPIENTRY * PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer); -typedef GLenum (GLAPIENTRY * PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target); -typedef void (GLAPIENTRY * PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint* framebuffers); -typedef void (GLAPIENTRY * PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint* renderbuffers); -typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); -typedef void (GLAPIENTRY * PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint* framebuffers); -typedef void (GLAPIENTRY * PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint* renderbuffers); -typedef void (GLAPIENTRY * PFNGLGENERATEMIPMAPEXTPROC) (GLenum target); -typedef void (GLAPIENTRY * PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint* params); -typedef GLboolean (GLAPIENTRY * PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer); -typedef GLboolean (GLAPIENTRY * PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer); -typedef void (GLAPIENTRY * PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); - -#define glBindFramebufferEXT GLEW_GET_FUN(__glewBindFramebufferEXT) -#define glBindRenderbufferEXT GLEW_GET_FUN(__glewBindRenderbufferEXT) -#define glCheckFramebufferStatusEXT GLEW_GET_FUN(__glewCheckFramebufferStatusEXT) -#define glDeleteFramebuffersEXT GLEW_GET_FUN(__glewDeleteFramebuffersEXT) -#define glDeleteRenderbuffersEXT GLEW_GET_FUN(__glewDeleteRenderbuffersEXT) -#define glFramebufferRenderbufferEXT GLEW_GET_FUN(__glewFramebufferRenderbufferEXT) -#define glFramebufferTexture1DEXT GLEW_GET_FUN(__glewFramebufferTexture1DEXT) -#define glFramebufferTexture2DEXT GLEW_GET_FUN(__glewFramebufferTexture2DEXT) -#define glFramebufferTexture3DEXT GLEW_GET_FUN(__glewFramebufferTexture3DEXT) -#define glGenFramebuffersEXT GLEW_GET_FUN(__glewGenFramebuffersEXT) -#define glGenRenderbuffersEXT GLEW_GET_FUN(__glewGenRenderbuffersEXT) -#define glGenerateMipmapEXT GLEW_GET_FUN(__glewGenerateMipmapEXT) -#define glGetFramebufferAttachmentParameterivEXT GLEW_GET_FUN(__glewGetFramebufferAttachmentParameterivEXT) -#define glGetRenderbufferParameterivEXT GLEW_GET_FUN(__glewGetRenderbufferParameterivEXT) -#define glIsFramebufferEXT GLEW_GET_FUN(__glewIsFramebufferEXT) -#define glIsRenderbufferEXT GLEW_GET_FUN(__glewIsRenderbufferEXT) -#define glRenderbufferStorageEXT GLEW_GET_FUN(__glewRenderbufferStorageEXT) - -#define GLEW_EXT_framebuffer_object GLEW_GET_VAR(__GLEW_EXT_framebuffer_object) - -#endif /* GL_EXT_framebuffer_object */ - -/* ------------------------ GL_EXT_framebuffer_sRGB ------------------------ */ - -#ifndef GL_EXT_framebuffer_sRGB -#define GL_EXT_framebuffer_sRGB 1 - -#define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 -#define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA - -#define GLEW_EXT_framebuffer_sRGB GLEW_GET_VAR(__GLEW_EXT_framebuffer_sRGB) - -#endif /* GL_EXT_framebuffer_sRGB */ - -/* ------------------------ GL_EXT_geometry_shader4 ------------------------ */ - -#ifndef GL_EXT_geometry_shader4 -#define GL_EXT_geometry_shader4 1 - -#define GL_LINES_ADJACENCY_EXT 0xA -#define GL_LINE_STRIP_ADJACENCY_EXT 0xB -#define GL_TRIANGLES_ADJACENCY_EXT 0xC -#define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0xD -#define GL_PROGRAM_POINT_SIZE_EXT 0x8642 -#define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B -#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4 -#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9 -#define GL_GEOMETRY_SHADER_EXT 0x8DD9 -#define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA -#define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB -#define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC -#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD -#define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE -#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF -#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0 -#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1 - -typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); -typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); -typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value); - -#define glFramebufferTextureEXT GLEW_GET_FUN(__glewFramebufferTextureEXT) -#define glFramebufferTextureFaceEXT GLEW_GET_FUN(__glewFramebufferTextureFaceEXT) -#define glProgramParameteriEXT GLEW_GET_FUN(__glewProgramParameteriEXT) - -#define GLEW_EXT_geometry_shader4 GLEW_GET_VAR(__GLEW_EXT_geometry_shader4) - -#endif /* GL_EXT_geometry_shader4 */ - -/* --------------------- GL_EXT_gpu_program_parameters --------------------- */ - -#ifndef GL_EXT_gpu_program_parameters -#define GL_EXT_gpu_program_parameters 1 - -typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat* params); - -#define glProgramEnvParameters4fvEXT GLEW_GET_FUN(__glewProgramEnvParameters4fvEXT) -#define glProgramLocalParameters4fvEXT GLEW_GET_FUN(__glewProgramLocalParameters4fvEXT) - -#define GLEW_EXT_gpu_program_parameters GLEW_GET_VAR(__GLEW_EXT_gpu_program_parameters) - -#endif /* GL_EXT_gpu_program_parameters */ - -/* --------------------------- GL_EXT_gpu_shader4 -------------------------- */ - -#ifndef GL_EXT_gpu_shader4 -#define GL_EXT_gpu_shader4 1 - -#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD -#define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0 -#define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1 -#define GL_SAMPLER_BUFFER_EXT 0x8DC2 -#define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3 -#define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4 -#define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5 -#define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6 -#define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7 -#define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8 -#define GL_INT_SAMPLER_1D_EXT 0x8DC9 -#define GL_INT_SAMPLER_2D_EXT 0x8DCA -#define GL_INT_SAMPLER_3D_EXT 0x8DCB -#define GL_INT_SAMPLER_CUBE_EXT 0x8DCC -#define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD -#define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE -#define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF -#define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0 -#define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1 -#define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2 -#define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3 -#define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4 -#define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5 -#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6 -#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7 -#define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8 - -typedef void (GLAPIENTRY * PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name); -typedef GLint (GLAPIENTRY * PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name); -typedef void (GLAPIENTRY * PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params); -typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params); -typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params); -typedef void (GLAPIENTRY * PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0); -typedef void (GLAPIENTRY * PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (GLAPIENTRY * PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1); -typedef void (GLAPIENTRY * PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (GLAPIENTRY * PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2); -typedef void (GLAPIENTRY * PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (GLAPIENTRY * PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -typedef void (GLAPIENTRY * PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); - -#define glBindFragDataLocationEXT GLEW_GET_FUN(__glewBindFragDataLocationEXT) -#define glGetFragDataLocationEXT GLEW_GET_FUN(__glewGetFragDataLocationEXT) -#define glGetUniformuivEXT GLEW_GET_FUN(__glewGetUniformuivEXT) -#define glGetVertexAttribIivEXT GLEW_GET_FUN(__glewGetVertexAttribIivEXT) -#define glGetVertexAttribIuivEXT GLEW_GET_FUN(__glewGetVertexAttribIuivEXT) -#define glUniform1uiEXT GLEW_GET_FUN(__glewUniform1uiEXT) -#define glUniform1uivEXT GLEW_GET_FUN(__glewUniform1uivEXT) -#define glUniform2uiEXT GLEW_GET_FUN(__glewUniform2uiEXT) -#define glUniform2uivEXT GLEW_GET_FUN(__glewUniform2uivEXT) -#define glUniform3uiEXT GLEW_GET_FUN(__glewUniform3uiEXT) -#define glUniform3uivEXT GLEW_GET_FUN(__glewUniform3uivEXT) -#define glUniform4uiEXT GLEW_GET_FUN(__glewUniform4uiEXT) -#define glUniform4uivEXT GLEW_GET_FUN(__glewUniform4uivEXT) -#define glVertexAttribI1iEXT GLEW_GET_FUN(__glewVertexAttribI1iEXT) -#define glVertexAttribI1ivEXT GLEW_GET_FUN(__glewVertexAttribI1ivEXT) -#define glVertexAttribI1uiEXT GLEW_GET_FUN(__glewVertexAttribI1uiEXT) -#define glVertexAttribI1uivEXT GLEW_GET_FUN(__glewVertexAttribI1uivEXT) -#define glVertexAttribI2iEXT GLEW_GET_FUN(__glewVertexAttribI2iEXT) -#define glVertexAttribI2ivEXT GLEW_GET_FUN(__glewVertexAttribI2ivEXT) -#define glVertexAttribI2uiEXT GLEW_GET_FUN(__glewVertexAttribI2uiEXT) -#define glVertexAttribI2uivEXT GLEW_GET_FUN(__glewVertexAttribI2uivEXT) -#define glVertexAttribI3iEXT GLEW_GET_FUN(__glewVertexAttribI3iEXT) -#define glVertexAttribI3ivEXT GLEW_GET_FUN(__glewVertexAttribI3ivEXT) -#define glVertexAttribI3uiEXT GLEW_GET_FUN(__glewVertexAttribI3uiEXT) -#define glVertexAttribI3uivEXT GLEW_GET_FUN(__glewVertexAttribI3uivEXT) -#define glVertexAttribI4bvEXT GLEW_GET_FUN(__glewVertexAttribI4bvEXT) -#define glVertexAttribI4iEXT GLEW_GET_FUN(__glewVertexAttribI4iEXT) -#define glVertexAttribI4ivEXT GLEW_GET_FUN(__glewVertexAttribI4ivEXT) -#define glVertexAttribI4svEXT GLEW_GET_FUN(__glewVertexAttribI4svEXT) -#define glVertexAttribI4ubvEXT GLEW_GET_FUN(__glewVertexAttribI4ubvEXT) -#define glVertexAttribI4uiEXT GLEW_GET_FUN(__glewVertexAttribI4uiEXT) -#define glVertexAttribI4uivEXT GLEW_GET_FUN(__glewVertexAttribI4uivEXT) -#define glVertexAttribI4usvEXT GLEW_GET_FUN(__glewVertexAttribI4usvEXT) -#define glVertexAttribIPointerEXT GLEW_GET_FUN(__glewVertexAttribIPointerEXT) - -#define GLEW_EXT_gpu_shader4 GLEW_GET_VAR(__GLEW_EXT_gpu_shader4) - -#endif /* GL_EXT_gpu_shader4 */ - -/* ---------------------------- GL_EXT_histogram --------------------------- */ - -#ifndef GL_EXT_histogram -#define GL_EXT_histogram 1 - -#define GL_HISTOGRAM_EXT 0x8024 -#define GL_PROXY_HISTOGRAM_EXT 0x8025 -#define GL_HISTOGRAM_WIDTH_EXT 0x8026 -#define GL_HISTOGRAM_FORMAT_EXT 0x8027 -#define GL_HISTOGRAM_RED_SIZE_EXT 0x8028 -#define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029 -#define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A -#define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B -#define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C -#define GL_HISTOGRAM_SINK_EXT 0x802D -#define GL_MINMAX_EXT 0x802E -#define GL_MINMAX_FORMAT_EXT 0x802F -#define GL_MINMAX_SINK_EXT 0x8030 - -typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void* values); -typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void* values); -typedef void (GLAPIENTRY * PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); -typedef void (GLAPIENTRY * PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink); -typedef void (GLAPIENTRY * PFNGLRESETHISTOGRAMEXTPROC) (GLenum target); -typedef void (GLAPIENTRY * PFNGLRESETMINMAXEXTPROC) (GLenum target); - -#define glGetHistogramEXT GLEW_GET_FUN(__glewGetHistogramEXT) -#define glGetHistogramParameterfvEXT GLEW_GET_FUN(__glewGetHistogramParameterfvEXT) -#define glGetHistogramParameterivEXT GLEW_GET_FUN(__glewGetHistogramParameterivEXT) -#define glGetMinmaxEXT GLEW_GET_FUN(__glewGetMinmaxEXT) -#define glGetMinmaxParameterfvEXT GLEW_GET_FUN(__glewGetMinmaxParameterfvEXT) -#define glGetMinmaxParameterivEXT GLEW_GET_FUN(__glewGetMinmaxParameterivEXT) -#define glHistogramEXT GLEW_GET_FUN(__glewHistogramEXT) -#define glMinmaxEXT GLEW_GET_FUN(__glewMinmaxEXT) -#define glResetHistogramEXT GLEW_GET_FUN(__glewResetHistogramEXT) -#define glResetMinmaxEXT GLEW_GET_FUN(__glewResetMinmaxEXT) - -#define GLEW_EXT_histogram GLEW_GET_VAR(__GLEW_EXT_histogram) - -#endif /* GL_EXT_histogram */ - -/* ----------------------- GL_EXT_index_array_formats ---------------------- */ - -#ifndef GL_EXT_index_array_formats -#define GL_EXT_index_array_formats 1 - -#define GLEW_EXT_index_array_formats GLEW_GET_VAR(__GLEW_EXT_index_array_formats) - -#endif /* GL_EXT_index_array_formats */ - -/* --------------------------- GL_EXT_index_func --------------------------- */ - -#ifndef GL_EXT_index_func -#define GL_EXT_index_func 1 - -typedef void (GLAPIENTRY * PFNGLINDEXFUNCEXTPROC) (GLenum func, GLfloat ref); - -#define glIndexFuncEXT GLEW_GET_FUN(__glewIndexFuncEXT) - -#define GLEW_EXT_index_func GLEW_GET_VAR(__GLEW_EXT_index_func) - -#endif /* GL_EXT_index_func */ - -/* ------------------------- GL_EXT_index_material ------------------------- */ - -#ifndef GL_EXT_index_material -#define GL_EXT_index_material 1 - -typedef void (GLAPIENTRY * PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode); - -#define glIndexMaterialEXT GLEW_GET_FUN(__glewIndexMaterialEXT) - -#define GLEW_EXT_index_material GLEW_GET_VAR(__GLEW_EXT_index_material) - -#endif /* GL_EXT_index_material */ - -/* -------------------------- GL_EXT_index_texture ------------------------- */ - -#ifndef GL_EXT_index_texture -#define GL_EXT_index_texture 1 - -#define GLEW_EXT_index_texture GLEW_GET_VAR(__GLEW_EXT_index_texture) - -#endif /* GL_EXT_index_texture */ - -/* -------------------------- GL_EXT_light_texture ------------------------- */ - -#ifndef GL_EXT_light_texture -#define GL_EXT_light_texture 1 - -#define GL_FRAGMENT_MATERIAL_EXT 0x8349 -#define GL_FRAGMENT_NORMAL_EXT 0x834A -#define GL_FRAGMENT_COLOR_EXT 0x834C -#define GL_ATTENUATION_EXT 0x834D -#define GL_SHADOW_ATTENUATION_EXT 0x834E -#define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F -#define GL_TEXTURE_LIGHT_EXT 0x8350 -#define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351 -#define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352 - -typedef void (GLAPIENTRY * PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode); -typedef void (GLAPIENTRY * PFNGLTEXTURELIGHTEXTPROC) (GLenum pname); -typedef void (GLAPIENTRY * PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode); - -#define glApplyTextureEXT GLEW_GET_FUN(__glewApplyTextureEXT) -#define glTextureLightEXT GLEW_GET_FUN(__glewTextureLightEXT) -#define glTextureMaterialEXT GLEW_GET_FUN(__glewTextureMaterialEXT) - -#define GLEW_EXT_light_texture GLEW_GET_VAR(__GLEW_EXT_light_texture) - -#endif /* GL_EXT_light_texture */ - -/* ------------------------- GL_EXT_misc_attribute ------------------------- */ - -#ifndef GL_EXT_misc_attribute -#define GL_EXT_misc_attribute 1 - -#define GLEW_EXT_misc_attribute GLEW_GET_VAR(__GLEW_EXT_misc_attribute) - -#endif /* GL_EXT_misc_attribute */ - -/* ------------------------ GL_EXT_multi_draw_arrays ----------------------- */ - -#ifndef GL_EXT_multi_draw_arrays -#define GL_EXT_multi_draw_arrays 1 - -typedef void (GLAPIENTRY * PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint* first, const GLsizei *count, GLsizei primcount); -typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, GLsizei* count, GLenum type, const GLvoid **indices, GLsizei primcount); - -#define glMultiDrawArraysEXT GLEW_GET_FUN(__glewMultiDrawArraysEXT) -#define glMultiDrawElementsEXT GLEW_GET_FUN(__glewMultiDrawElementsEXT) - -#define GLEW_EXT_multi_draw_arrays GLEW_GET_VAR(__GLEW_EXT_multi_draw_arrays) - -#endif /* GL_EXT_multi_draw_arrays */ - -/* --------------------------- GL_EXT_multisample -------------------------- */ - -#ifndef GL_EXT_multisample -#define GL_EXT_multisample 1 - -#define GL_MULTISAMPLE_EXT 0x809D -#define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E -#define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F -#define GL_SAMPLE_MASK_EXT 0x80A0 -#define GL_1PASS_EXT 0x80A1 -#define GL_2PASS_0_EXT 0x80A2 -#define GL_2PASS_1_EXT 0x80A3 -#define GL_4PASS_0_EXT 0x80A4 -#define GL_4PASS_1_EXT 0x80A5 -#define GL_4PASS_2_EXT 0x80A6 -#define GL_4PASS_3_EXT 0x80A7 -#define GL_SAMPLE_BUFFERS_EXT 0x80A8 -#define GL_SAMPLES_EXT 0x80A9 -#define GL_SAMPLE_MASK_VALUE_EXT 0x80AA -#define GL_SAMPLE_MASK_INVERT_EXT 0x80AB -#define GL_SAMPLE_PATTERN_EXT 0x80AC -#define GL_MULTISAMPLE_BIT_EXT 0x20000000 - -typedef void (GLAPIENTRY * PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert); -typedef void (GLAPIENTRY * PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern); - -#define glSampleMaskEXT GLEW_GET_FUN(__glewSampleMaskEXT) -#define glSamplePatternEXT GLEW_GET_FUN(__glewSamplePatternEXT) - -#define GLEW_EXT_multisample GLEW_GET_VAR(__GLEW_EXT_multisample) - -#endif /* GL_EXT_multisample */ - -/* ---------------------- GL_EXT_packed_depth_stencil ---------------------- */ - -#ifndef GL_EXT_packed_depth_stencil -#define GL_EXT_packed_depth_stencil 1 - -#define GL_DEPTH_STENCIL_EXT 0x84F9 -#define GL_UNSIGNED_INT_24_8_EXT 0x84FA -#define GL_DEPTH24_STENCIL8_EXT 0x88F0 -#define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1 - -#define GLEW_EXT_packed_depth_stencil GLEW_GET_VAR(__GLEW_EXT_packed_depth_stencil) - -#endif /* GL_EXT_packed_depth_stencil */ - -/* -------------------------- GL_EXT_packed_float -------------------------- */ - -#ifndef GL_EXT_packed_float -#define GL_EXT_packed_float 1 - -#define GL_R11F_G11F_B10F_EXT 0x8C3A -#define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B -#define GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C - -#define GLEW_EXT_packed_float GLEW_GET_VAR(__GLEW_EXT_packed_float) - -#endif /* GL_EXT_packed_float */ - -/* -------------------------- GL_EXT_packed_pixels ------------------------- */ - -#ifndef GL_EXT_packed_pixels -#define GL_EXT_packed_pixels 1 - -#define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032 -#define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033 -#define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034 -#define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035 -#define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036 - -#define GLEW_EXT_packed_pixels GLEW_GET_VAR(__GLEW_EXT_packed_pixels) - -#endif /* GL_EXT_packed_pixels */ - -/* ------------------------ GL_EXT_paletted_texture ------------------------ */ - -#ifndef GL_EXT_paletted_texture -#define GL_EXT_paletted_texture 1 - -#define GL_TEXTURE_1D 0x0DE0 -#define GL_TEXTURE_2D 0x0DE1 -#define GL_PROXY_TEXTURE_1D 0x8063 -#define GL_PROXY_TEXTURE_2D 0x8064 -#define GL_COLOR_TABLE_FORMAT_EXT 0x80D8 -#define GL_COLOR_TABLE_WIDTH_EXT 0x80D9 -#define GL_COLOR_TABLE_RED_SIZE_EXT 0x80DA -#define GL_COLOR_TABLE_GREEN_SIZE_EXT 0x80DB -#define GL_COLOR_TABLE_BLUE_SIZE_EXT 0x80DC -#define GL_COLOR_TABLE_ALPHA_SIZE_EXT 0x80DD -#define GL_COLOR_TABLE_LUMINANCE_SIZE_EXT 0x80DE -#define GL_COLOR_TABLE_INTENSITY_SIZE_EXT 0x80DF -#define GL_COLOR_INDEX1_EXT 0x80E2 -#define GL_COLOR_INDEX2_EXT 0x80E3 -#define GL_COLOR_INDEX4_EXT 0x80E4 -#define GL_COLOR_INDEX8_EXT 0x80E5 -#define GL_COLOR_INDEX12_EXT 0x80E6 -#define GL_COLOR_INDEX16_EXT 0x80E7 -#define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED -#define GL_TEXTURE_CUBE_MAP_ARB 0x8513 -#define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B - -typedef void (GLAPIENTRY * PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void* data); -typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, void* data); -typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint* params); - -#define glColorTableEXT GLEW_GET_FUN(__glewColorTableEXT) -#define glGetColorTableEXT GLEW_GET_FUN(__glewGetColorTableEXT) -#define glGetColorTableParameterfvEXT GLEW_GET_FUN(__glewGetColorTableParameterfvEXT) -#define glGetColorTableParameterivEXT GLEW_GET_FUN(__glewGetColorTableParameterivEXT) - -#define GLEW_EXT_paletted_texture GLEW_GET_VAR(__GLEW_EXT_paletted_texture) - -#endif /* GL_EXT_paletted_texture */ - -/* ----------------------- GL_EXT_pixel_buffer_object ---------------------- */ - -#ifndef GL_EXT_pixel_buffer_object -#define GL_EXT_pixel_buffer_object 1 - -#define GL_PIXEL_PACK_BUFFER_EXT 0x88EB -#define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC -#define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED -#define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF - -#define GLEW_EXT_pixel_buffer_object GLEW_GET_VAR(__GLEW_EXT_pixel_buffer_object) - -#endif /* GL_EXT_pixel_buffer_object */ - -/* ------------------------- GL_EXT_pixel_transform ------------------------ */ - -#ifndef GL_EXT_pixel_transform -#define GL_EXT_pixel_transform 1 - -#define GL_PIXEL_TRANSFORM_2D_EXT 0x8330 -#define GL_PIXEL_MAG_FILTER_EXT 0x8331 -#define GL_PIXEL_MIN_FILTER_EXT 0x8332 -#define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333 -#define GL_CUBIC_EXT 0x8334 -#define GL_AVERAGE_EXT 0x8335 -#define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336 -#define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337 -#define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338 - -typedef void (GLAPIENTRY * PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint* params); -typedef void (GLAPIENTRY * PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, const GLfloat param); -typedef void (GLAPIENTRY * PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, const GLint param); -typedef void (GLAPIENTRY * PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint* params); - -#define glGetPixelTransformParameterfvEXT GLEW_GET_FUN(__glewGetPixelTransformParameterfvEXT) -#define glGetPixelTransformParameterivEXT GLEW_GET_FUN(__glewGetPixelTransformParameterivEXT) -#define glPixelTransformParameterfEXT GLEW_GET_FUN(__glewPixelTransformParameterfEXT) -#define glPixelTransformParameterfvEXT GLEW_GET_FUN(__glewPixelTransformParameterfvEXT) -#define glPixelTransformParameteriEXT GLEW_GET_FUN(__glewPixelTransformParameteriEXT) -#define glPixelTransformParameterivEXT GLEW_GET_FUN(__glewPixelTransformParameterivEXT) - -#define GLEW_EXT_pixel_transform GLEW_GET_VAR(__GLEW_EXT_pixel_transform) - -#endif /* GL_EXT_pixel_transform */ - -/* ------------------- GL_EXT_pixel_transform_color_table ------------------ */ - -#ifndef GL_EXT_pixel_transform_color_table -#define GL_EXT_pixel_transform_color_table 1 - -#define GLEW_EXT_pixel_transform_color_table GLEW_GET_VAR(__GLEW_EXT_pixel_transform_color_table) - -#endif /* GL_EXT_pixel_transform_color_table */ - -/* ------------------------ GL_EXT_point_parameters ------------------------ */ - -#ifndef GL_EXT_point_parameters -#define GL_EXT_point_parameters 1 - -#define GL_POINT_SIZE_MIN_EXT 0x8126 -#define GL_POINT_SIZE_MAX_EXT 0x8127 -#define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128 -#define GL_DISTANCE_ATTENUATION_EXT 0x8129 - -typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param); -typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat* params); - -#define glPointParameterfEXT GLEW_GET_FUN(__glewPointParameterfEXT) -#define glPointParameterfvEXT GLEW_GET_FUN(__glewPointParameterfvEXT) - -#define GLEW_EXT_point_parameters GLEW_GET_VAR(__GLEW_EXT_point_parameters) - -#endif /* GL_EXT_point_parameters */ - -/* ------------------------- GL_EXT_polygon_offset ------------------------- */ - -#ifndef GL_EXT_polygon_offset -#define GL_EXT_polygon_offset 1 - -#define GL_POLYGON_OFFSET_EXT 0x8037 -#define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038 -#define GL_POLYGON_OFFSET_BIAS_EXT 0x8039 - -typedef void (GLAPIENTRY * PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias); - -#define glPolygonOffsetEXT GLEW_GET_FUN(__glewPolygonOffsetEXT) - -#define GLEW_EXT_polygon_offset GLEW_GET_VAR(__GLEW_EXT_polygon_offset) - -#endif /* GL_EXT_polygon_offset */ - -/* ------------------------ GL_EXT_provoking_vertex ------------------------ */ - -#ifndef GL_EXT_provoking_vertex -#define GL_EXT_provoking_vertex 1 - -#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C -#define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D -#define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E -#define GL_PROVOKING_VERTEX_EXT 0x8E4F - -typedef void (GLAPIENTRY * PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode); - -#define glProvokingVertexEXT GLEW_GET_FUN(__glewProvokingVertexEXT) - -#define GLEW_EXT_provoking_vertex GLEW_GET_VAR(__GLEW_EXT_provoking_vertex) - -#endif /* GL_EXT_provoking_vertex */ - -/* ------------------------- GL_EXT_rescale_normal ------------------------- */ - -#ifndef GL_EXT_rescale_normal -#define GL_EXT_rescale_normal 1 - -#define GL_RESCALE_NORMAL_EXT 0x803A - -#define GLEW_EXT_rescale_normal GLEW_GET_VAR(__GLEW_EXT_rescale_normal) - -#endif /* GL_EXT_rescale_normal */ - -/* -------------------------- GL_EXT_scene_marker -------------------------- */ - -#ifndef GL_EXT_scene_marker -#define GL_EXT_scene_marker 1 - -typedef void (GLAPIENTRY * PFNGLBEGINSCENEEXTPROC) (void); -typedef void (GLAPIENTRY * PFNGLENDSCENEEXTPROC) (void); - -#define glBeginSceneEXT GLEW_GET_FUN(__glewBeginSceneEXT) -#define glEndSceneEXT GLEW_GET_FUN(__glewEndSceneEXT) - -#define GLEW_EXT_scene_marker GLEW_GET_VAR(__GLEW_EXT_scene_marker) - -#endif /* GL_EXT_scene_marker */ - -/* ------------------------- GL_EXT_secondary_color ------------------------ */ - -#ifndef GL_EXT_secondary_color -#define GL_EXT_secondary_color 1 - -#define GL_COLOR_SUM_EXT 0x8458 -#define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459 -#define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A -#define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B -#define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C -#define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D -#define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E - -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); - -#define glSecondaryColor3bEXT GLEW_GET_FUN(__glewSecondaryColor3bEXT) -#define glSecondaryColor3bvEXT GLEW_GET_FUN(__glewSecondaryColor3bvEXT) -#define glSecondaryColor3dEXT GLEW_GET_FUN(__glewSecondaryColor3dEXT) -#define glSecondaryColor3dvEXT GLEW_GET_FUN(__glewSecondaryColor3dvEXT) -#define glSecondaryColor3fEXT GLEW_GET_FUN(__glewSecondaryColor3fEXT) -#define glSecondaryColor3fvEXT GLEW_GET_FUN(__glewSecondaryColor3fvEXT) -#define glSecondaryColor3iEXT GLEW_GET_FUN(__glewSecondaryColor3iEXT) -#define glSecondaryColor3ivEXT GLEW_GET_FUN(__glewSecondaryColor3ivEXT) -#define glSecondaryColor3sEXT GLEW_GET_FUN(__glewSecondaryColor3sEXT) -#define glSecondaryColor3svEXT GLEW_GET_FUN(__glewSecondaryColor3svEXT) -#define glSecondaryColor3ubEXT GLEW_GET_FUN(__glewSecondaryColor3ubEXT) -#define glSecondaryColor3ubvEXT GLEW_GET_FUN(__glewSecondaryColor3ubvEXT) -#define glSecondaryColor3uiEXT GLEW_GET_FUN(__glewSecondaryColor3uiEXT) -#define glSecondaryColor3uivEXT GLEW_GET_FUN(__glewSecondaryColor3uivEXT) -#define glSecondaryColor3usEXT GLEW_GET_FUN(__glewSecondaryColor3usEXT) -#define glSecondaryColor3usvEXT GLEW_GET_FUN(__glewSecondaryColor3usvEXT) -#define glSecondaryColorPointerEXT GLEW_GET_FUN(__glewSecondaryColorPointerEXT) - -#define GLEW_EXT_secondary_color GLEW_GET_VAR(__GLEW_EXT_secondary_color) - -#endif /* GL_EXT_secondary_color */ - -/* --------------------- GL_EXT_separate_shader_objects -------------------- */ - -#ifndef GL_EXT_separate_shader_objects -#define GL_EXT_separate_shader_objects 1 - -#define GL_ACTIVE_PROGRAM_EXT 0x8B8D - -typedef void (GLAPIENTRY * PFNGLACTIVEPROGRAMEXTPROC) (GLuint program); -typedef GLuint (GLAPIENTRY * PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar* string); -typedef void (GLAPIENTRY * PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program); - -#define glActiveProgramEXT GLEW_GET_FUN(__glewActiveProgramEXT) -#define glCreateShaderProgramEXT GLEW_GET_FUN(__glewCreateShaderProgramEXT) -#define glUseShaderProgramEXT GLEW_GET_FUN(__glewUseShaderProgramEXT) - -#define GLEW_EXT_separate_shader_objects GLEW_GET_VAR(__GLEW_EXT_separate_shader_objects) - -#endif /* GL_EXT_separate_shader_objects */ - -/* --------------------- GL_EXT_separate_specular_color -------------------- */ - -#ifndef GL_EXT_separate_specular_color -#define GL_EXT_separate_specular_color 1 - -#define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8 -#define GL_SINGLE_COLOR_EXT 0x81F9 -#define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA - -#define GLEW_EXT_separate_specular_color GLEW_GET_VAR(__GLEW_EXT_separate_specular_color) - -#endif /* GL_EXT_separate_specular_color */ - -/* --------------------- GL_EXT_shader_image_load_store -------------------- */ - -#ifndef GL_EXT_shader_image_load_store -#define GL_EXT_shader_image_load_store 1 - -#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001 -#define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT 0x00000002 -#define GL_UNIFORM_BARRIER_BIT_EXT 0x00000004 -#define GL_TEXTURE_FETCH_BARRIER_BIT_EXT 0x00000008 -#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020 -#define GL_COMMAND_BARRIER_BIT_EXT 0x00000040 -#define GL_PIXEL_BUFFER_BARRIER_BIT_EXT 0x00000080 -#define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100 -#define GL_BUFFER_UPDATE_BARRIER_BIT_EXT 0x00000200 -#define GL_FRAMEBUFFER_BARRIER_BIT_EXT 0x00000400 -#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800 -#define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000 -#define GL_MAX_IMAGE_UNITS_EXT 0x8F38 -#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39 -#define GL_IMAGE_BINDING_NAME_EXT 0x8F3A -#define GL_IMAGE_BINDING_LEVEL_EXT 0x8F3B -#define GL_IMAGE_BINDING_LAYERED_EXT 0x8F3C -#define GL_IMAGE_BINDING_LAYER_EXT 0x8F3D -#define GL_IMAGE_BINDING_ACCESS_EXT 0x8F3E -#define GL_IMAGE_1D_EXT 0x904C -#define GL_IMAGE_2D_EXT 0x904D -#define GL_IMAGE_3D_EXT 0x904E -#define GL_IMAGE_2D_RECT_EXT 0x904F -#define GL_IMAGE_CUBE_EXT 0x9050 -#define GL_IMAGE_BUFFER_EXT 0x9051 -#define GL_IMAGE_1D_ARRAY_EXT 0x9052 -#define GL_IMAGE_2D_ARRAY_EXT 0x9053 -#define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054 -#define GL_IMAGE_2D_MULTISAMPLE_EXT 0x9055 -#define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056 -#define GL_INT_IMAGE_1D_EXT 0x9057 -#define GL_INT_IMAGE_2D_EXT 0x9058 -#define GL_INT_IMAGE_3D_EXT 0x9059 -#define GL_INT_IMAGE_2D_RECT_EXT 0x905A -#define GL_INT_IMAGE_CUBE_EXT 0x905B -#define GL_INT_IMAGE_BUFFER_EXT 0x905C -#define GL_INT_IMAGE_1D_ARRAY_EXT 0x905D -#define GL_INT_IMAGE_2D_ARRAY_EXT 0x905E -#define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F -#define GL_INT_IMAGE_2D_MULTISAMPLE_EXT 0x9060 -#define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061 -#define GL_UNSIGNED_INT_IMAGE_1D_EXT 0x9062 -#define GL_UNSIGNED_INT_IMAGE_2D_EXT 0x9063 -#define GL_UNSIGNED_INT_IMAGE_3D_EXT 0x9064 -#define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065 -#define GL_UNSIGNED_INT_IMAGE_CUBE_EXT 0x9066 -#define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067 -#define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068 -#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069 -#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A -#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B -#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C -#define GL_MAX_IMAGE_SAMPLES_EXT 0x906D -#define GL_IMAGE_BINDING_FORMAT_EXT 0x906E -#define GL_ALL_BARRIER_BITS_EXT 0xFFFFFFFF - -typedef void (GLAPIENTRY * PFNGLBINDIMAGETEXTUREEXTPROC) (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format); -typedef void (GLAPIENTRY * PFNGLMEMORYBARRIEREXTPROC) (GLbitfield barriers); - -#define glBindImageTextureEXT GLEW_GET_FUN(__glewBindImageTextureEXT) -#define glMemoryBarrierEXT GLEW_GET_FUN(__glewMemoryBarrierEXT) - -#define GLEW_EXT_shader_image_load_store GLEW_GET_VAR(__GLEW_EXT_shader_image_load_store) - -#endif /* GL_EXT_shader_image_load_store */ - -/* -------------------------- GL_EXT_shadow_funcs -------------------------- */ - -#ifndef GL_EXT_shadow_funcs -#define GL_EXT_shadow_funcs 1 - -#define GLEW_EXT_shadow_funcs GLEW_GET_VAR(__GLEW_EXT_shadow_funcs) - -#endif /* GL_EXT_shadow_funcs */ - -/* --------------------- GL_EXT_shared_texture_palette --------------------- */ - -#ifndef GL_EXT_shared_texture_palette -#define GL_EXT_shared_texture_palette 1 - -#define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB - -#define GLEW_EXT_shared_texture_palette GLEW_GET_VAR(__GLEW_EXT_shared_texture_palette) - -#endif /* GL_EXT_shared_texture_palette */ - -/* ------------------------ GL_EXT_stencil_clear_tag ----------------------- */ - -#ifndef GL_EXT_stencil_clear_tag -#define GL_EXT_stencil_clear_tag 1 - -#define GL_STENCIL_TAG_BITS_EXT 0x88F2 -#define GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3 - -#define GLEW_EXT_stencil_clear_tag GLEW_GET_VAR(__GLEW_EXT_stencil_clear_tag) - -#endif /* GL_EXT_stencil_clear_tag */ - -/* ------------------------ GL_EXT_stencil_two_side ------------------------ */ - -#ifndef GL_EXT_stencil_two_side -#define GL_EXT_stencil_two_side 1 - -#define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910 -#define GL_ACTIVE_STENCIL_FACE_EXT 0x8911 - -typedef void (GLAPIENTRY * PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face); - -#define glActiveStencilFaceEXT GLEW_GET_FUN(__glewActiveStencilFaceEXT) - -#define GLEW_EXT_stencil_two_side GLEW_GET_VAR(__GLEW_EXT_stencil_two_side) - -#endif /* GL_EXT_stencil_two_side */ - -/* -------------------------- GL_EXT_stencil_wrap -------------------------- */ - -#ifndef GL_EXT_stencil_wrap -#define GL_EXT_stencil_wrap 1 - -#define GL_INCR_WRAP_EXT 0x8507 -#define GL_DECR_WRAP_EXT 0x8508 - -#define GLEW_EXT_stencil_wrap GLEW_GET_VAR(__GLEW_EXT_stencil_wrap) - -#endif /* GL_EXT_stencil_wrap */ - -/* --------------------------- GL_EXT_subtexture --------------------------- */ - -#ifndef GL_EXT_subtexture -#define GL_EXT_subtexture 1 - -typedef void (GLAPIENTRY * PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void* pixels); -typedef void (GLAPIENTRY * PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels); -typedef void (GLAPIENTRY * PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void* pixels); - -#define glTexSubImage1DEXT GLEW_GET_FUN(__glewTexSubImage1DEXT) -#define glTexSubImage2DEXT GLEW_GET_FUN(__glewTexSubImage2DEXT) -#define glTexSubImage3DEXT GLEW_GET_FUN(__glewTexSubImage3DEXT) - -#define GLEW_EXT_subtexture GLEW_GET_VAR(__GLEW_EXT_subtexture) - -#endif /* GL_EXT_subtexture */ - -/* ----------------------------- GL_EXT_texture ---------------------------- */ - -#ifndef GL_EXT_texture -#define GL_EXT_texture 1 - -#define GL_ALPHA4_EXT 0x803B -#define GL_ALPHA8_EXT 0x803C -#define GL_ALPHA12_EXT 0x803D -#define GL_ALPHA16_EXT 0x803E -#define GL_LUMINANCE4_EXT 0x803F -#define GL_LUMINANCE8_EXT 0x8040 -#define GL_LUMINANCE12_EXT 0x8041 -#define GL_LUMINANCE16_EXT 0x8042 -#define GL_LUMINANCE4_ALPHA4_EXT 0x8043 -#define GL_LUMINANCE6_ALPHA2_EXT 0x8044 -#define GL_LUMINANCE8_ALPHA8_EXT 0x8045 -#define GL_LUMINANCE12_ALPHA4_EXT 0x8046 -#define GL_LUMINANCE12_ALPHA12_EXT 0x8047 -#define GL_LUMINANCE16_ALPHA16_EXT 0x8048 -#define GL_INTENSITY_EXT 0x8049 -#define GL_INTENSITY4_EXT 0x804A -#define GL_INTENSITY8_EXT 0x804B -#define GL_INTENSITY12_EXT 0x804C -#define GL_INTENSITY16_EXT 0x804D -#define GL_RGB2_EXT 0x804E -#define GL_RGB4_EXT 0x804F -#define GL_RGB5_EXT 0x8050 -#define GL_RGB8_EXT 0x8051 -#define GL_RGB10_EXT 0x8052 -#define GL_RGB12_EXT 0x8053 -#define GL_RGB16_EXT 0x8054 -#define GL_RGBA2_EXT 0x8055 -#define GL_RGBA4_EXT 0x8056 -#define GL_RGB5_A1_EXT 0x8057 -#define GL_RGBA8_EXT 0x8058 -#define GL_RGB10_A2_EXT 0x8059 -#define GL_RGBA12_EXT 0x805A -#define GL_RGBA16_EXT 0x805B -#define GL_TEXTURE_RED_SIZE_EXT 0x805C -#define GL_TEXTURE_GREEN_SIZE_EXT 0x805D -#define GL_TEXTURE_BLUE_SIZE_EXT 0x805E -#define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F -#define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060 -#define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061 -#define GL_REPLACE_EXT 0x8062 -#define GL_PROXY_TEXTURE_1D_EXT 0x8063 -#define GL_PROXY_TEXTURE_2D_EXT 0x8064 - -#define GLEW_EXT_texture GLEW_GET_VAR(__GLEW_EXT_texture) - -#endif /* GL_EXT_texture */ - -/* ---------------------------- GL_EXT_texture3D --------------------------- */ - -#ifndef GL_EXT_texture3D -#define GL_EXT_texture3D 1 - -#define GL_PACK_SKIP_IMAGES_EXT 0x806B -#define GL_PACK_IMAGE_HEIGHT_EXT 0x806C -#define GL_UNPACK_SKIP_IMAGES_EXT 0x806D -#define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E -#define GL_TEXTURE_3D_EXT 0x806F -#define GL_PROXY_TEXTURE_3D_EXT 0x8070 -#define GL_TEXTURE_DEPTH_EXT 0x8071 -#define GL_TEXTURE_WRAP_R_EXT 0x8072 -#define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073 - -typedef void (GLAPIENTRY * PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void* pixels); - -#define glTexImage3DEXT GLEW_GET_FUN(__glewTexImage3DEXT) - -#define GLEW_EXT_texture3D GLEW_GET_VAR(__GLEW_EXT_texture3D) - -#endif /* GL_EXT_texture3D */ - -/* -------------------------- GL_EXT_texture_array ------------------------- */ - -#ifndef GL_EXT_texture_array -#define GL_EXT_texture_array 1 - -#define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E -#define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF -#define GL_TEXTURE_1D_ARRAY_EXT 0x8C18 -#define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19 -#define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A -#define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B -#define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C -#define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D - -typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); - -#define glFramebufferTextureLayerEXT GLEW_GET_FUN(__glewFramebufferTextureLayerEXT) - -#define GLEW_EXT_texture_array GLEW_GET_VAR(__GLEW_EXT_texture_array) - -#endif /* GL_EXT_texture_array */ - -/* ---------------------- GL_EXT_texture_buffer_object --------------------- */ - -#ifndef GL_EXT_texture_buffer_object -#define GL_EXT_texture_buffer_object 1 - -#define GL_TEXTURE_BUFFER_EXT 0x8C2A -#define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B -#define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C -#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D -#define GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E - -typedef void (GLAPIENTRY * PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer); - -#define glTexBufferEXT GLEW_GET_FUN(__glewTexBufferEXT) - -#define GLEW_EXT_texture_buffer_object GLEW_GET_VAR(__GLEW_EXT_texture_buffer_object) - -#endif /* GL_EXT_texture_buffer_object */ - -/* -------------------- GL_EXT_texture_compression_dxt1 -------------------- */ - -#ifndef GL_EXT_texture_compression_dxt1 -#define GL_EXT_texture_compression_dxt1 1 - -#define GLEW_EXT_texture_compression_dxt1 GLEW_GET_VAR(__GLEW_EXT_texture_compression_dxt1) - -#endif /* GL_EXT_texture_compression_dxt1 */ - -/* -------------------- GL_EXT_texture_compression_latc -------------------- */ - -#ifndef GL_EXT_texture_compression_latc -#define GL_EXT_texture_compression_latc 1 - -#define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70 -#define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71 -#define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72 -#define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73 - -#define GLEW_EXT_texture_compression_latc GLEW_GET_VAR(__GLEW_EXT_texture_compression_latc) - -#endif /* GL_EXT_texture_compression_latc */ - -/* -------------------- GL_EXT_texture_compression_rgtc -------------------- */ - -#ifndef GL_EXT_texture_compression_rgtc -#define GL_EXT_texture_compression_rgtc 1 - -#define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB -#define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC -#define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD -#define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE - -#define GLEW_EXT_texture_compression_rgtc GLEW_GET_VAR(__GLEW_EXT_texture_compression_rgtc) - -#endif /* GL_EXT_texture_compression_rgtc */ - -/* -------------------- GL_EXT_texture_compression_s3tc -------------------- */ - -#ifndef GL_EXT_texture_compression_s3tc -#define GL_EXT_texture_compression_s3tc 1 - -#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 -#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 -#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 -#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 - -#define GLEW_EXT_texture_compression_s3tc GLEW_GET_VAR(__GLEW_EXT_texture_compression_s3tc) - -#endif /* GL_EXT_texture_compression_s3tc */ - -/* ------------------------ GL_EXT_texture_cube_map ------------------------ */ - -#ifndef GL_EXT_texture_cube_map -#define GL_EXT_texture_cube_map 1 - -#define GL_NORMAL_MAP_EXT 0x8511 -#define GL_REFLECTION_MAP_EXT 0x8512 -#define GL_TEXTURE_CUBE_MAP_EXT 0x8513 -#define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A -#define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C - -#define GLEW_EXT_texture_cube_map GLEW_GET_VAR(__GLEW_EXT_texture_cube_map) - -#endif /* GL_EXT_texture_cube_map */ - -/* ----------------------- GL_EXT_texture_edge_clamp ----------------------- */ - -#ifndef GL_EXT_texture_edge_clamp -#define GL_EXT_texture_edge_clamp 1 - -#define GL_CLAMP_TO_EDGE_EXT 0x812F - -#define GLEW_EXT_texture_edge_clamp GLEW_GET_VAR(__GLEW_EXT_texture_edge_clamp) - -#endif /* GL_EXT_texture_edge_clamp */ - -/* --------------------------- GL_EXT_texture_env -------------------------- */ - -#ifndef GL_EXT_texture_env -#define GL_EXT_texture_env 1 - -#define GL_TEXTURE_ENV0_EXT 0 -#define GL_ENV_BLEND_EXT 0 -#define GL_TEXTURE_ENV_SHIFT_EXT 0 -#define GL_ENV_REPLACE_EXT 0 -#define GL_ENV_ADD_EXT 0 -#define GL_ENV_SUBTRACT_EXT 0 -#define GL_TEXTURE_ENV_MODE_ALPHA_EXT 0 -#define GL_ENV_REVERSE_SUBTRACT_EXT 0 -#define GL_ENV_REVERSE_BLEND_EXT 0 -#define GL_ENV_COPY_EXT 0 -#define GL_ENV_MODULATE_EXT 0 - -#define GLEW_EXT_texture_env GLEW_GET_VAR(__GLEW_EXT_texture_env) - -#endif /* GL_EXT_texture_env */ - -/* ------------------------- GL_EXT_texture_env_add ------------------------ */ - -#ifndef GL_EXT_texture_env_add -#define GL_EXT_texture_env_add 1 - -#define GLEW_EXT_texture_env_add GLEW_GET_VAR(__GLEW_EXT_texture_env_add) - -#endif /* GL_EXT_texture_env_add */ - -/* ----------------------- GL_EXT_texture_env_combine ---------------------- */ - -#ifndef GL_EXT_texture_env_combine -#define GL_EXT_texture_env_combine 1 - -#define GL_COMBINE_EXT 0x8570 -#define GL_COMBINE_RGB_EXT 0x8571 -#define GL_COMBINE_ALPHA_EXT 0x8572 -#define GL_RGB_SCALE_EXT 0x8573 -#define GL_ADD_SIGNED_EXT 0x8574 -#define GL_INTERPOLATE_EXT 0x8575 -#define GL_CONSTANT_EXT 0x8576 -#define GL_PRIMARY_COLOR_EXT 0x8577 -#define GL_PREVIOUS_EXT 0x8578 -#define GL_SOURCE0_RGB_EXT 0x8580 -#define GL_SOURCE1_RGB_EXT 0x8581 -#define GL_SOURCE2_RGB_EXT 0x8582 -#define GL_SOURCE0_ALPHA_EXT 0x8588 -#define GL_SOURCE1_ALPHA_EXT 0x8589 -#define GL_SOURCE2_ALPHA_EXT 0x858A -#define GL_OPERAND0_RGB_EXT 0x8590 -#define GL_OPERAND1_RGB_EXT 0x8591 -#define GL_OPERAND2_RGB_EXT 0x8592 -#define GL_OPERAND0_ALPHA_EXT 0x8598 -#define GL_OPERAND1_ALPHA_EXT 0x8599 -#define GL_OPERAND2_ALPHA_EXT 0x859A - -#define GLEW_EXT_texture_env_combine GLEW_GET_VAR(__GLEW_EXT_texture_env_combine) - -#endif /* GL_EXT_texture_env_combine */ - -/* ------------------------ GL_EXT_texture_env_dot3 ------------------------ */ - -#ifndef GL_EXT_texture_env_dot3 -#define GL_EXT_texture_env_dot3 1 - -#define GL_DOT3_RGB_EXT 0x8740 -#define GL_DOT3_RGBA_EXT 0x8741 - -#define GLEW_EXT_texture_env_dot3 GLEW_GET_VAR(__GLEW_EXT_texture_env_dot3) - -#endif /* GL_EXT_texture_env_dot3 */ - -/* ------------------- GL_EXT_texture_filter_anisotropic ------------------- */ - -#ifndef GL_EXT_texture_filter_anisotropic -#define GL_EXT_texture_filter_anisotropic 1 - -#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE -#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF - -#define GLEW_EXT_texture_filter_anisotropic GLEW_GET_VAR(__GLEW_EXT_texture_filter_anisotropic) - -#endif /* GL_EXT_texture_filter_anisotropic */ - -/* ------------------------- GL_EXT_texture_integer ------------------------ */ - -#ifndef GL_EXT_texture_integer -#define GL_EXT_texture_integer 1 - -#define GL_RGBA32UI_EXT 0x8D70 -#define GL_RGB32UI_EXT 0x8D71 -#define GL_ALPHA32UI_EXT 0x8D72 -#define GL_INTENSITY32UI_EXT 0x8D73 -#define GL_LUMINANCE32UI_EXT 0x8D74 -#define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75 -#define GL_RGBA16UI_EXT 0x8D76 -#define GL_RGB16UI_EXT 0x8D77 -#define GL_ALPHA16UI_EXT 0x8D78 -#define GL_INTENSITY16UI_EXT 0x8D79 -#define GL_LUMINANCE16UI_EXT 0x8D7A -#define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B -#define GL_RGBA8UI_EXT 0x8D7C -#define GL_RGB8UI_EXT 0x8D7D -#define GL_ALPHA8UI_EXT 0x8D7E -#define GL_INTENSITY8UI_EXT 0x8D7F -#define GL_LUMINANCE8UI_EXT 0x8D80 -#define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81 -#define GL_RGBA32I_EXT 0x8D82 -#define GL_RGB32I_EXT 0x8D83 -#define GL_ALPHA32I_EXT 0x8D84 -#define GL_INTENSITY32I_EXT 0x8D85 -#define GL_LUMINANCE32I_EXT 0x8D86 -#define GL_LUMINANCE_ALPHA32I_EXT 0x8D87 -#define GL_RGBA16I_EXT 0x8D88 -#define GL_RGB16I_EXT 0x8D89 -#define GL_ALPHA16I_EXT 0x8D8A -#define GL_INTENSITY16I_EXT 0x8D8B -#define GL_LUMINANCE16I_EXT 0x8D8C -#define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D -#define GL_RGBA8I_EXT 0x8D8E -#define GL_RGB8I_EXT 0x8D8F -#define GL_ALPHA8I_EXT 0x8D90 -#define GL_INTENSITY8I_EXT 0x8D91 -#define GL_LUMINANCE8I_EXT 0x8D92 -#define GL_LUMINANCE_ALPHA8I_EXT 0x8D93 -#define GL_RED_INTEGER_EXT 0x8D94 -#define GL_GREEN_INTEGER_EXT 0x8D95 -#define GL_BLUE_INTEGER_EXT 0x8D96 -#define GL_ALPHA_INTEGER_EXT 0x8D97 -#define GL_RGB_INTEGER_EXT 0x8D98 -#define GL_RGBA_INTEGER_EXT 0x8D99 -#define GL_BGR_INTEGER_EXT 0x8D9A -#define GL_BGRA_INTEGER_EXT 0x8D9B -#define GL_LUMINANCE_INTEGER_EXT 0x8D9C -#define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D -#define GL_RGBA_INTEGER_MODE_EXT 0x8D9E - -typedef void (GLAPIENTRY * PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha); -typedef void (GLAPIENTRY * PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha); -typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params); -typedef void (GLAPIENTRY * PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (GLAPIENTRY * PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params); - -#define glClearColorIiEXT GLEW_GET_FUN(__glewClearColorIiEXT) -#define glClearColorIuiEXT GLEW_GET_FUN(__glewClearColorIuiEXT) -#define glGetTexParameterIivEXT GLEW_GET_FUN(__glewGetTexParameterIivEXT) -#define glGetTexParameterIuivEXT GLEW_GET_FUN(__glewGetTexParameterIuivEXT) -#define glTexParameterIivEXT GLEW_GET_FUN(__glewTexParameterIivEXT) -#define glTexParameterIuivEXT GLEW_GET_FUN(__glewTexParameterIuivEXT) - -#define GLEW_EXT_texture_integer GLEW_GET_VAR(__GLEW_EXT_texture_integer) - -#endif /* GL_EXT_texture_integer */ - -/* ------------------------ GL_EXT_texture_lod_bias ------------------------ */ - -#ifndef GL_EXT_texture_lod_bias -#define GL_EXT_texture_lod_bias 1 - -#define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD -#define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500 -#define GL_TEXTURE_LOD_BIAS_EXT 0x8501 - -#define GLEW_EXT_texture_lod_bias GLEW_GET_VAR(__GLEW_EXT_texture_lod_bias) - -#endif /* GL_EXT_texture_lod_bias */ - -/* ---------------------- GL_EXT_texture_mirror_clamp ---------------------- */ - -#ifndef GL_EXT_texture_mirror_clamp -#define GL_EXT_texture_mirror_clamp 1 - -#define GL_MIRROR_CLAMP_EXT 0x8742 -#define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743 -#define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912 - -#define GLEW_EXT_texture_mirror_clamp GLEW_GET_VAR(__GLEW_EXT_texture_mirror_clamp) - -#endif /* GL_EXT_texture_mirror_clamp */ - -/* ------------------------- GL_EXT_texture_object ------------------------- */ - -#ifndef GL_EXT_texture_object -#define GL_EXT_texture_object 1 - -#define GL_TEXTURE_PRIORITY_EXT 0x8066 -#define GL_TEXTURE_RESIDENT_EXT 0x8067 -#define GL_TEXTURE_1D_BINDING_EXT 0x8068 -#define GL_TEXTURE_2D_BINDING_EXT 0x8069 -#define GL_TEXTURE_3D_BINDING_EXT 0x806A - -typedef GLboolean (GLAPIENTRY * PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint* textures, GLboolean* residences); -typedef void (GLAPIENTRY * PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture); -typedef void (GLAPIENTRY * PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint* textures); -typedef void (GLAPIENTRY * PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint* textures); -typedef GLboolean (GLAPIENTRY * PFNGLISTEXTUREEXTPROC) (GLuint texture); -typedef void (GLAPIENTRY * PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint* textures, const GLclampf* priorities); - -#define glAreTexturesResidentEXT GLEW_GET_FUN(__glewAreTexturesResidentEXT) -#define glBindTextureEXT GLEW_GET_FUN(__glewBindTextureEXT) -#define glDeleteTexturesEXT GLEW_GET_FUN(__glewDeleteTexturesEXT) -#define glGenTexturesEXT GLEW_GET_FUN(__glewGenTexturesEXT) -#define glIsTextureEXT GLEW_GET_FUN(__glewIsTextureEXT) -#define glPrioritizeTexturesEXT GLEW_GET_FUN(__glewPrioritizeTexturesEXT) - -#define GLEW_EXT_texture_object GLEW_GET_VAR(__GLEW_EXT_texture_object) - -#endif /* GL_EXT_texture_object */ - -/* --------------------- GL_EXT_texture_perturb_normal --------------------- */ - -#ifndef GL_EXT_texture_perturb_normal -#define GL_EXT_texture_perturb_normal 1 - -#define GL_PERTURB_EXT 0x85AE -#define GL_TEXTURE_NORMAL_EXT 0x85AF - -typedef void (GLAPIENTRY * PFNGLTEXTURENORMALEXTPROC) (GLenum mode); - -#define glTextureNormalEXT GLEW_GET_FUN(__glewTextureNormalEXT) - -#define GLEW_EXT_texture_perturb_normal GLEW_GET_VAR(__GLEW_EXT_texture_perturb_normal) - -#endif /* GL_EXT_texture_perturb_normal */ - -/* ------------------------ GL_EXT_texture_rectangle ----------------------- */ - -#ifndef GL_EXT_texture_rectangle -#define GL_EXT_texture_rectangle 1 - -#define GL_TEXTURE_RECTANGLE_EXT 0x84F5 -#define GL_TEXTURE_BINDING_RECTANGLE_EXT 0x84F6 -#define GL_PROXY_TEXTURE_RECTANGLE_EXT 0x84F7 -#define GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT 0x84F8 - -#define GLEW_EXT_texture_rectangle GLEW_GET_VAR(__GLEW_EXT_texture_rectangle) - -#endif /* GL_EXT_texture_rectangle */ - -/* -------------------------- GL_EXT_texture_sRGB -------------------------- */ - -#ifndef GL_EXT_texture_sRGB -#define GL_EXT_texture_sRGB 1 - -#define GL_SRGB_EXT 0x8C40 -#define GL_SRGB8_EXT 0x8C41 -#define GL_SRGB_ALPHA_EXT 0x8C42 -#define GL_SRGB8_ALPHA8_EXT 0x8C43 -#define GL_SLUMINANCE_ALPHA_EXT 0x8C44 -#define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45 -#define GL_SLUMINANCE_EXT 0x8C46 -#define GL_SLUMINANCE8_EXT 0x8C47 -#define GL_COMPRESSED_SRGB_EXT 0x8C48 -#define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49 -#define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A -#define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B -#define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C -#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D -#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E -#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F - -#define GLEW_EXT_texture_sRGB GLEW_GET_VAR(__GLEW_EXT_texture_sRGB) - -#endif /* GL_EXT_texture_sRGB */ - -/* ----------------------- GL_EXT_texture_sRGB_decode ---------------------- */ - -#ifndef GL_EXT_texture_sRGB_decode -#define GL_EXT_texture_sRGB_decode 1 - -#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 -#define GL_DECODE_EXT 0x8A49 -#define GL_SKIP_DECODE_EXT 0x8A4A - -#define GLEW_EXT_texture_sRGB_decode GLEW_GET_VAR(__GLEW_EXT_texture_sRGB_decode) - -#endif /* GL_EXT_texture_sRGB_decode */ - -/* --------------------- GL_EXT_texture_shared_exponent -------------------- */ - -#ifndef GL_EXT_texture_shared_exponent -#define GL_EXT_texture_shared_exponent 1 - -#define GL_RGB9_E5_EXT 0x8C3D -#define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E -#define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F - -#define GLEW_EXT_texture_shared_exponent GLEW_GET_VAR(__GLEW_EXT_texture_shared_exponent) - -#endif /* GL_EXT_texture_shared_exponent */ - -/* -------------------------- GL_EXT_texture_snorm ------------------------- */ - -#ifndef GL_EXT_texture_snorm -#define GL_EXT_texture_snorm 1 - -#define GL_RED_SNORM 0x8F90 -#define GL_RG_SNORM 0x8F91 -#define GL_RGB_SNORM 0x8F92 -#define GL_RGBA_SNORM 0x8F93 -#define GL_R8_SNORM 0x8F94 -#define GL_RG8_SNORM 0x8F95 -#define GL_RGB8_SNORM 0x8F96 -#define GL_RGBA8_SNORM 0x8F97 -#define GL_R16_SNORM 0x8F98 -#define GL_RG16_SNORM 0x8F99 -#define GL_RGB16_SNORM 0x8F9A -#define GL_RGBA16_SNORM 0x8F9B -#define GL_SIGNED_NORMALIZED 0x8F9C -#define GL_ALPHA_SNORM 0x9010 -#define GL_LUMINANCE_SNORM 0x9011 -#define GL_LUMINANCE_ALPHA_SNORM 0x9012 -#define GL_INTENSITY_SNORM 0x9013 -#define GL_ALPHA8_SNORM 0x9014 -#define GL_LUMINANCE8_SNORM 0x9015 -#define GL_LUMINANCE8_ALPHA8_SNORM 0x9016 -#define GL_INTENSITY8_SNORM 0x9017 -#define GL_ALPHA16_SNORM 0x9018 -#define GL_LUMINANCE16_SNORM 0x9019 -#define GL_LUMINANCE16_ALPHA16_SNORM 0x901A -#define GL_INTENSITY16_SNORM 0x901B - -#define GLEW_EXT_texture_snorm GLEW_GET_VAR(__GLEW_EXT_texture_snorm) - -#endif /* GL_EXT_texture_snorm */ - -/* ------------------------- GL_EXT_texture_swizzle ------------------------ */ - -#ifndef GL_EXT_texture_swizzle -#define GL_EXT_texture_swizzle 1 - -#define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42 -#define GL_TEXTURE_SWIZZLE_G_EXT 0x8E43 -#define GL_TEXTURE_SWIZZLE_B_EXT 0x8E44 -#define GL_TEXTURE_SWIZZLE_A_EXT 0x8E45 -#define GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46 - -#define GLEW_EXT_texture_swizzle GLEW_GET_VAR(__GLEW_EXT_texture_swizzle) - -#endif /* GL_EXT_texture_swizzle */ - -/* --------------------------- GL_EXT_timer_query -------------------------- */ - -#ifndef GL_EXT_timer_query -#define GL_EXT_timer_query 1 - -#define GL_TIME_ELAPSED_EXT 0x88BF - -typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64EXT *params); -typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64EXT *params); - -#define glGetQueryObjecti64vEXT GLEW_GET_FUN(__glewGetQueryObjecti64vEXT) -#define glGetQueryObjectui64vEXT GLEW_GET_FUN(__glewGetQueryObjectui64vEXT) - -#define GLEW_EXT_timer_query GLEW_GET_VAR(__GLEW_EXT_timer_query) - -#endif /* GL_EXT_timer_query */ - -/* ----------------------- GL_EXT_transform_feedback ----------------------- */ - -#ifndef GL_EXT_transform_feedback -#define GL_EXT_transform_feedback 1 - -#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76 -#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80 -#define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83 -#define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84 -#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85 -#define GL_PRIMITIVES_GENERATED_EXT 0x8C87 -#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88 -#define GL_RASTERIZER_DISCARD_EXT 0x8C89 -#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B -#define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C -#define GL_SEPARATE_ATTRIBS_EXT 0x8C8D -#define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E -#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F - -typedef void (GLAPIENTRY * PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode); -typedef void (GLAPIENTRY * PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer); -typedef void (GLAPIENTRY * PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset); -typedef void (GLAPIENTRY * PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -typedef void (GLAPIENTRY * PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void); -typedef void (GLAPIENTRY * PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLsizei *size, GLenum *type, GLchar *name); -typedef void (GLAPIENTRY * PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLchar ** varyings, GLenum bufferMode); - -#define glBeginTransformFeedbackEXT GLEW_GET_FUN(__glewBeginTransformFeedbackEXT) -#define glBindBufferBaseEXT GLEW_GET_FUN(__glewBindBufferBaseEXT) -#define glBindBufferOffsetEXT GLEW_GET_FUN(__glewBindBufferOffsetEXT) -#define glBindBufferRangeEXT GLEW_GET_FUN(__glewBindBufferRangeEXT) -#define glEndTransformFeedbackEXT GLEW_GET_FUN(__glewEndTransformFeedbackEXT) -#define glGetTransformFeedbackVaryingEXT GLEW_GET_FUN(__glewGetTransformFeedbackVaryingEXT) -#define glTransformFeedbackVaryingsEXT GLEW_GET_FUN(__glewTransformFeedbackVaryingsEXT) - -#define GLEW_EXT_transform_feedback GLEW_GET_VAR(__GLEW_EXT_transform_feedback) - -#endif /* GL_EXT_transform_feedback */ - -/* -------------------------- GL_EXT_vertex_array -------------------------- */ - -#ifndef GL_EXT_vertex_array -#define GL_EXT_vertex_array 1 - -#define GL_DOUBLE_EXT 0x140A -#define GL_VERTEX_ARRAY_EXT 0x8074 -#define GL_NORMAL_ARRAY_EXT 0x8075 -#define GL_COLOR_ARRAY_EXT 0x8076 -#define GL_INDEX_ARRAY_EXT 0x8077 -#define GL_TEXTURE_COORD_ARRAY_EXT 0x8078 -#define GL_EDGE_FLAG_ARRAY_EXT 0x8079 -#define GL_VERTEX_ARRAY_SIZE_EXT 0x807A -#define GL_VERTEX_ARRAY_TYPE_EXT 0x807B -#define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C -#define GL_VERTEX_ARRAY_COUNT_EXT 0x807D -#define GL_NORMAL_ARRAY_TYPE_EXT 0x807E -#define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F -#define GL_NORMAL_ARRAY_COUNT_EXT 0x8080 -#define GL_COLOR_ARRAY_SIZE_EXT 0x8081 -#define GL_COLOR_ARRAY_TYPE_EXT 0x8082 -#define GL_COLOR_ARRAY_STRIDE_EXT 0x8083 -#define GL_COLOR_ARRAY_COUNT_EXT 0x8084 -#define GL_INDEX_ARRAY_TYPE_EXT 0x8085 -#define GL_INDEX_ARRAY_STRIDE_EXT 0x8086 -#define GL_INDEX_ARRAY_COUNT_EXT 0x8087 -#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088 -#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089 -#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A -#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B -#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C -#define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D -#define GL_VERTEX_ARRAY_POINTER_EXT 0x808E -#define GL_NORMAL_ARRAY_POINTER_EXT 0x808F -#define GL_COLOR_ARRAY_POINTER_EXT 0x8090 -#define GL_INDEX_ARRAY_POINTER_EXT 0x8091 -#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092 -#define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093 - -typedef void (GLAPIENTRY * PFNGLARRAYELEMENTEXTPROC) (GLint i); -typedef void (GLAPIENTRY * PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void* pointer); -typedef void (GLAPIENTRY * PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count); -typedef void (GLAPIENTRY * PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean* pointer); -typedef void (GLAPIENTRY * PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void* pointer); -typedef void (GLAPIENTRY * PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void* pointer); -typedef void (GLAPIENTRY * PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void* pointer); -typedef void (GLAPIENTRY * PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void* pointer); - -#define glArrayElementEXT GLEW_GET_FUN(__glewArrayElementEXT) -#define glColorPointerEXT GLEW_GET_FUN(__glewColorPointerEXT) -#define glDrawArraysEXT GLEW_GET_FUN(__glewDrawArraysEXT) -#define glEdgeFlagPointerEXT GLEW_GET_FUN(__glewEdgeFlagPointerEXT) -#define glIndexPointerEXT GLEW_GET_FUN(__glewIndexPointerEXT) -#define glNormalPointerEXT GLEW_GET_FUN(__glewNormalPointerEXT) -#define glTexCoordPointerEXT GLEW_GET_FUN(__glewTexCoordPointerEXT) -#define glVertexPointerEXT GLEW_GET_FUN(__glewVertexPointerEXT) - -#define GLEW_EXT_vertex_array GLEW_GET_VAR(__GLEW_EXT_vertex_array) - -#endif /* GL_EXT_vertex_array */ - -/* ------------------------ GL_EXT_vertex_array_bgra ----------------------- */ - -#ifndef GL_EXT_vertex_array_bgra -#define GL_EXT_vertex_array_bgra 1 - -#define GL_BGRA 0x80E1 - -#define GLEW_EXT_vertex_array_bgra GLEW_GET_VAR(__GLEW_EXT_vertex_array_bgra) - -#endif /* GL_EXT_vertex_array_bgra */ - -/* ----------------------- GL_EXT_vertex_attrib_64bit ---------------------- */ - -#ifndef GL_EXT_vertex_attrib_64bit -#define GL_EXT_vertex_attrib_64bit 1 - -#define GL_DOUBLE_MAT2_EXT 0x8F46 -#define GL_DOUBLE_MAT3_EXT 0x8F47 -#define GL_DOUBLE_MAT4_EXT 0x8F48 -#define GL_DOUBLE_MAT2x3_EXT 0x8F49 -#define GL_DOUBLE_MAT2x4_EXT 0x8F4A -#define GL_DOUBLE_MAT3x2_EXT 0x8F4B -#define GL_DOUBLE_MAT3x4_EXT 0x8F4C -#define GL_DOUBLE_MAT4x2_EXT 0x8F4D -#define GL_DOUBLE_MAT4x3_EXT 0x8F4E -#define GL_DOUBLE_VEC2_EXT 0x8FFC -#define GL_DOUBLE_VEC3_EXT 0x8FFD -#define GL_DOUBLE_VEC4_EXT 0x8FFE - -typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBLDVEXTPROC) (GLuint index, GLenum pname, GLdouble* params); -typedef void (GLAPIENTRY * PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL1DEXTPROC) (GLuint index, GLdouble x); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL1DVEXTPROC) (GLuint index, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL2DEXTPROC) (GLuint index, GLdouble x, GLdouble y); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL2DVEXTPROC) (GLuint index, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL3DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL3DVEXTPROC) (GLuint index, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL4DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL4DVEXTPROC) (GLuint index, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBLPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void* pointer); - -#define glGetVertexAttribLdvEXT GLEW_GET_FUN(__glewGetVertexAttribLdvEXT) -#define glVertexArrayVertexAttribLOffsetEXT GLEW_GET_FUN(__glewVertexArrayVertexAttribLOffsetEXT) -#define glVertexAttribL1dEXT GLEW_GET_FUN(__glewVertexAttribL1dEXT) -#define glVertexAttribL1dvEXT GLEW_GET_FUN(__glewVertexAttribL1dvEXT) -#define glVertexAttribL2dEXT GLEW_GET_FUN(__glewVertexAttribL2dEXT) -#define glVertexAttribL2dvEXT GLEW_GET_FUN(__glewVertexAttribL2dvEXT) -#define glVertexAttribL3dEXT GLEW_GET_FUN(__glewVertexAttribL3dEXT) -#define glVertexAttribL3dvEXT GLEW_GET_FUN(__glewVertexAttribL3dvEXT) -#define glVertexAttribL4dEXT GLEW_GET_FUN(__glewVertexAttribL4dEXT) -#define glVertexAttribL4dvEXT GLEW_GET_FUN(__glewVertexAttribL4dvEXT) -#define glVertexAttribLPointerEXT GLEW_GET_FUN(__glewVertexAttribLPointerEXT) - -#define GLEW_EXT_vertex_attrib_64bit GLEW_GET_VAR(__GLEW_EXT_vertex_attrib_64bit) - -#endif /* GL_EXT_vertex_attrib_64bit */ - -/* -------------------------- GL_EXT_vertex_shader ------------------------- */ - -#ifndef GL_EXT_vertex_shader -#define GL_EXT_vertex_shader 1 - -#define GL_VERTEX_SHADER_EXT 0x8780 -#define GL_VERTEX_SHADER_BINDING_EXT 0x8781 -#define GL_OP_INDEX_EXT 0x8782 -#define GL_OP_NEGATE_EXT 0x8783 -#define GL_OP_DOT3_EXT 0x8784 -#define GL_OP_DOT4_EXT 0x8785 -#define GL_OP_MUL_EXT 0x8786 -#define GL_OP_ADD_EXT 0x8787 -#define GL_OP_MADD_EXT 0x8788 -#define GL_OP_FRAC_EXT 0x8789 -#define GL_OP_MAX_EXT 0x878A -#define GL_OP_MIN_EXT 0x878B -#define GL_OP_SET_GE_EXT 0x878C -#define GL_OP_SET_LT_EXT 0x878D -#define GL_OP_CLAMP_EXT 0x878E -#define GL_OP_FLOOR_EXT 0x878F -#define GL_OP_ROUND_EXT 0x8790 -#define GL_OP_EXP_BASE_2_EXT 0x8791 -#define GL_OP_LOG_BASE_2_EXT 0x8792 -#define GL_OP_POWER_EXT 0x8793 -#define GL_OP_RECIP_EXT 0x8794 -#define GL_OP_RECIP_SQRT_EXT 0x8795 -#define GL_OP_SUB_EXT 0x8796 -#define GL_OP_CROSS_PRODUCT_EXT 0x8797 -#define GL_OP_MULTIPLY_MATRIX_EXT 0x8798 -#define GL_OP_MOV_EXT 0x8799 -#define GL_OUTPUT_VERTEX_EXT 0x879A -#define GL_OUTPUT_COLOR0_EXT 0x879B -#define GL_OUTPUT_COLOR1_EXT 0x879C -#define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D -#define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E -#define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F -#define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0 -#define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1 -#define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2 -#define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3 -#define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4 -#define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5 -#define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6 -#define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7 -#define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8 -#define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9 -#define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA -#define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB -#define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC -#define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD -#define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE -#define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF -#define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0 -#define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1 -#define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2 -#define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3 -#define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4 -#define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5 -#define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6 -#define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7 -#define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8 -#define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9 -#define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA -#define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB -#define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC -#define GL_OUTPUT_FOG_EXT 0x87BD -#define GL_SCALAR_EXT 0x87BE -#define GL_VECTOR_EXT 0x87BF -#define GL_MATRIX_EXT 0x87C0 -#define GL_VARIANT_EXT 0x87C1 -#define GL_INVARIANT_EXT 0x87C2 -#define GL_LOCAL_CONSTANT_EXT 0x87C3 -#define GL_LOCAL_EXT 0x87C4 -#define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5 -#define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6 -#define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7 -#define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8 -#define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9 -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CC -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CD -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE -#define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF -#define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0 -#define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1 -#define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2 -#define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3 -#define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4 -#define GL_X_EXT 0x87D5 -#define GL_Y_EXT 0x87D6 -#define GL_Z_EXT 0x87D7 -#define GL_W_EXT 0x87D8 -#define GL_NEGATIVE_X_EXT 0x87D9 -#define GL_NEGATIVE_Y_EXT 0x87DA -#define GL_NEGATIVE_Z_EXT 0x87DB -#define GL_NEGATIVE_W_EXT 0x87DC -#define GL_ZERO_EXT 0x87DD -#define GL_ONE_EXT 0x87DE -#define GL_NEGATIVE_ONE_EXT 0x87DF -#define GL_NORMALIZED_RANGE_EXT 0x87E0 -#define GL_FULL_RANGE_EXT 0x87E1 -#define GL_CURRENT_VERTEX_EXT 0x87E2 -#define GL_MVP_MATRIX_EXT 0x87E3 -#define GL_VARIANT_VALUE_EXT 0x87E4 -#define GL_VARIANT_DATATYPE_EXT 0x87E5 -#define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6 -#define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7 -#define GL_VARIANT_ARRAY_EXT 0x87E8 -#define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9 -#define GL_INVARIANT_VALUE_EXT 0x87EA -#define GL_INVARIANT_DATATYPE_EXT 0x87EB -#define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC -#define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED - -typedef void (GLAPIENTRY * PFNGLBEGINVERTEXSHADEREXTPROC) (void); -typedef GLuint (GLAPIENTRY * PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value); -typedef GLuint (GLAPIENTRY * PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value); -typedef GLuint (GLAPIENTRY * PFNGLBINDPARAMETEREXTPROC) (GLenum value); -typedef GLuint (GLAPIENTRY * PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value); -typedef GLuint (GLAPIENTRY * PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value); -typedef void (GLAPIENTRY * PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id); -typedef void (GLAPIENTRY * PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id); -typedef void (GLAPIENTRY * PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id); -typedef void (GLAPIENTRY * PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id); -typedef void (GLAPIENTRY * PFNGLENDVERTEXSHADEREXTPROC) (void); -typedef void (GLAPIENTRY * PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num); -typedef GLuint (GLAPIENTRY * PFNGLGENSYMBOLSEXTPROC) (GLenum dataType, GLenum storageType, GLenum range, GLuint components); -typedef GLuint (GLAPIENTRY * PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range); -typedef void (GLAPIENTRY * PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); -typedef void (GLAPIENTRY * PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); -typedef void (GLAPIENTRY * PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); -typedef void (GLAPIENTRY * PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); -typedef void (GLAPIENTRY * PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); -typedef void (GLAPIENTRY * PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); -typedef void (GLAPIENTRY * PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); -typedef void (GLAPIENTRY * PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); -typedef void (GLAPIENTRY * PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); -typedef void (GLAPIENTRY * PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, GLvoid **data); -typedef void (GLAPIENTRY * PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num); -typedef GLboolean (GLAPIENTRY * PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap); -typedef void (GLAPIENTRY * PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, GLvoid *addr); -typedef void (GLAPIENTRY * PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, GLvoid *addr); -typedef void (GLAPIENTRY * PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1); -typedef void (GLAPIENTRY * PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2); -typedef void (GLAPIENTRY * PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3); -typedef void (GLAPIENTRY * PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); -typedef void (GLAPIENTRY * PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, GLvoid *addr); -typedef void (GLAPIENTRY * PFNGLVARIANTBVEXTPROC) (GLuint id, GLbyte *addr); -typedef void (GLAPIENTRY * PFNGLVARIANTDVEXTPROC) (GLuint id, GLdouble *addr); -typedef void (GLAPIENTRY * PFNGLVARIANTFVEXTPROC) (GLuint id, GLfloat *addr); -typedef void (GLAPIENTRY * PFNGLVARIANTIVEXTPROC) (GLuint id, GLint *addr); -typedef void (GLAPIENTRY * PFNGLVARIANTSVEXTPROC) (GLuint id, GLshort *addr); -typedef void (GLAPIENTRY * PFNGLVARIANTUBVEXTPROC) (GLuint id, GLubyte *addr); -typedef void (GLAPIENTRY * PFNGLVARIANTUIVEXTPROC) (GLuint id, GLuint *addr); -typedef void (GLAPIENTRY * PFNGLVARIANTUSVEXTPROC) (GLuint id, GLushort *addr); -typedef void (GLAPIENTRY * PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); - -#define glBeginVertexShaderEXT GLEW_GET_FUN(__glewBeginVertexShaderEXT) -#define glBindLightParameterEXT GLEW_GET_FUN(__glewBindLightParameterEXT) -#define glBindMaterialParameterEXT GLEW_GET_FUN(__glewBindMaterialParameterEXT) -#define glBindParameterEXT GLEW_GET_FUN(__glewBindParameterEXT) -#define glBindTexGenParameterEXT GLEW_GET_FUN(__glewBindTexGenParameterEXT) -#define glBindTextureUnitParameterEXT GLEW_GET_FUN(__glewBindTextureUnitParameterEXT) -#define glBindVertexShaderEXT GLEW_GET_FUN(__glewBindVertexShaderEXT) -#define glDeleteVertexShaderEXT GLEW_GET_FUN(__glewDeleteVertexShaderEXT) -#define glDisableVariantClientStateEXT GLEW_GET_FUN(__glewDisableVariantClientStateEXT) -#define glEnableVariantClientStateEXT GLEW_GET_FUN(__glewEnableVariantClientStateEXT) -#define glEndVertexShaderEXT GLEW_GET_FUN(__glewEndVertexShaderEXT) -#define glExtractComponentEXT GLEW_GET_FUN(__glewExtractComponentEXT) -#define glGenSymbolsEXT GLEW_GET_FUN(__glewGenSymbolsEXT) -#define glGenVertexShadersEXT GLEW_GET_FUN(__glewGenVertexShadersEXT) -#define glGetInvariantBooleanvEXT GLEW_GET_FUN(__glewGetInvariantBooleanvEXT) -#define glGetInvariantFloatvEXT GLEW_GET_FUN(__glewGetInvariantFloatvEXT) -#define glGetInvariantIntegervEXT GLEW_GET_FUN(__glewGetInvariantIntegervEXT) -#define glGetLocalConstantBooleanvEXT GLEW_GET_FUN(__glewGetLocalConstantBooleanvEXT) -#define glGetLocalConstantFloatvEXT GLEW_GET_FUN(__glewGetLocalConstantFloatvEXT) -#define glGetLocalConstantIntegervEXT GLEW_GET_FUN(__glewGetLocalConstantIntegervEXT) -#define glGetVariantBooleanvEXT GLEW_GET_FUN(__glewGetVariantBooleanvEXT) -#define glGetVariantFloatvEXT GLEW_GET_FUN(__glewGetVariantFloatvEXT) -#define glGetVariantIntegervEXT GLEW_GET_FUN(__glewGetVariantIntegervEXT) -#define glGetVariantPointervEXT GLEW_GET_FUN(__glewGetVariantPointervEXT) -#define glInsertComponentEXT GLEW_GET_FUN(__glewInsertComponentEXT) -#define glIsVariantEnabledEXT GLEW_GET_FUN(__glewIsVariantEnabledEXT) -#define glSetInvariantEXT GLEW_GET_FUN(__glewSetInvariantEXT) -#define glSetLocalConstantEXT GLEW_GET_FUN(__glewSetLocalConstantEXT) -#define glShaderOp1EXT GLEW_GET_FUN(__glewShaderOp1EXT) -#define glShaderOp2EXT GLEW_GET_FUN(__glewShaderOp2EXT) -#define glShaderOp3EXT GLEW_GET_FUN(__glewShaderOp3EXT) -#define glSwizzleEXT GLEW_GET_FUN(__glewSwizzleEXT) -#define glVariantPointerEXT GLEW_GET_FUN(__glewVariantPointerEXT) -#define glVariantbvEXT GLEW_GET_FUN(__glewVariantbvEXT) -#define glVariantdvEXT GLEW_GET_FUN(__glewVariantdvEXT) -#define glVariantfvEXT GLEW_GET_FUN(__glewVariantfvEXT) -#define glVariantivEXT GLEW_GET_FUN(__glewVariantivEXT) -#define glVariantsvEXT GLEW_GET_FUN(__glewVariantsvEXT) -#define glVariantubvEXT GLEW_GET_FUN(__glewVariantubvEXT) -#define glVariantuivEXT GLEW_GET_FUN(__glewVariantuivEXT) -#define glVariantusvEXT GLEW_GET_FUN(__glewVariantusvEXT) -#define glWriteMaskEXT GLEW_GET_FUN(__glewWriteMaskEXT) - -#define GLEW_EXT_vertex_shader GLEW_GET_VAR(__GLEW_EXT_vertex_shader) - -#endif /* GL_EXT_vertex_shader */ - -/* ------------------------ GL_EXT_vertex_weighting ------------------------ */ - -#ifndef GL_EXT_vertex_weighting -#define GL_EXT_vertex_weighting 1 - -#define GL_MODELVIEW0_STACK_DEPTH_EXT 0x0BA3 -#define GL_MODELVIEW0_MATRIX_EXT 0x0BA6 -#define GL_MODELVIEW0_EXT 0x1700 -#define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502 -#define GL_MODELVIEW1_MATRIX_EXT 0x8506 -#define GL_VERTEX_WEIGHTING_EXT 0x8509 -#define GL_MODELVIEW1_EXT 0x850A -#define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B -#define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C -#define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D -#define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E -#define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F -#define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510 - -typedef void (GLAPIENTRY * PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, void* pointer); -typedef void (GLAPIENTRY * PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight); -typedef void (GLAPIENTRY * PFNGLVERTEXWEIGHTFVEXTPROC) (GLfloat* weight); - -#define glVertexWeightPointerEXT GLEW_GET_FUN(__glewVertexWeightPointerEXT) -#define glVertexWeightfEXT GLEW_GET_FUN(__glewVertexWeightfEXT) -#define glVertexWeightfvEXT GLEW_GET_FUN(__glewVertexWeightfvEXT) - -#define GLEW_EXT_vertex_weighting GLEW_GET_VAR(__GLEW_EXT_vertex_weighting) - -#endif /* GL_EXT_vertex_weighting */ - -/* ------------------------- GL_EXT_x11_sync_object ------------------------ */ - -#ifndef GL_EXT_x11_sync_object -#define GL_EXT_x11_sync_object 1 - -#define GL_SYNC_X11_FENCE_EXT 0x90E1 - -typedef GLsync (GLAPIENTRY * PFNGLIMPORTSYNCEXTPROC) (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags); - -#define glImportSyncEXT GLEW_GET_FUN(__glewImportSyncEXT) - -#define GLEW_EXT_x11_sync_object GLEW_GET_VAR(__GLEW_EXT_x11_sync_object) - -#endif /* GL_EXT_x11_sync_object */ - -/* ---------------------- GL_GREMEDY_frame_terminator ---------------------- */ - -#ifndef GL_GREMEDY_frame_terminator -#define GL_GREMEDY_frame_terminator 1 - -typedef void (GLAPIENTRY * PFNGLFRAMETERMINATORGREMEDYPROC) (void); - -#define glFrameTerminatorGREMEDY GLEW_GET_FUN(__glewFrameTerminatorGREMEDY) - -#define GLEW_GREMEDY_frame_terminator GLEW_GET_VAR(__GLEW_GREMEDY_frame_terminator) - -#endif /* GL_GREMEDY_frame_terminator */ - -/* ------------------------ GL_GREMEDY_string_marker ----------------------- */ - -#ifndef GL_GREMEDY_string_marker -#define GL_GREMEDY_string_marker 1 - -typedef void (GLAPIENTRY * PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const void* string); - -#define glStringMarkerGREMEDY GLEW_GET_FUN(__glewStringMarkerGREMEDY) - -#define GLEW_GREMEDY_string_marker GLEW_GET_VAR(__GLEW_GREMEDY_string_marker) - -#endif /* GL_GREMEDY_string_marker */ - -/* --------------------- GL_HP_convolution_border_modes -------------------- */ - -#ifndef GL_HP_convolution_border_modes -#define GL_HP_convolution_border_modes 1 - -#define GLEW_HP_convolution_border_modes GLEW_GET_VAR(__GLEW_HP_convolution_border_modes) - -#endif /* GL_HP_convolution_border_modes */ - -/* ------------------------- GL_HP_image_transform ------------------------- */ - -#ifndef GL_HP_image_transform -#define GL_HP_image_transform 1 - -typedef void (GLAPIENTRY * PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint* params); -typedef void (GLAPIENTRY * PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, const GLfloat param); -typedef void (GLAPIENTRY * PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, const GLint param); -typedef void (GLAPIENTRY * PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint* params); - -#define glGetImageTransformParameterfvHP GLEW_GET_FUN(__glewGetImageTransformParameterfvHP) -#define glGetImageTransformParameterivHP GLEW_GET_FUN(__glewGetImageTransformParameterivHP) -#define glImageTransformParameterfHP GLEW_GET_FUN(__glewImageTransformParameterfHP) -#define glImageTransformParameterfvHP GLEW_GET_FUN(__glewImageTransformParameterfvHP) -#define glImageTransformParameteriHP GLEW_GET_FUN(__glewImageTransformParameteriHP) -#define glImageTransformParameterivHP GLEW_GET_FUN(__glewImageTransformParameterivHP) - -#define GLEW_HP_image_transform GLEW_GET_VAR(__GLEW_HP_image_transform) - -#endif /* GL_HP_image_transform */ - -/* -------------------------- GL_HP_occlusion_test ------------------------- */ - -#ifndef GL_HP_occlusion_test -#define GL_HP_occlusion_test 1 - -#define GL_OCCLUSION_TEST_HP 0x8165 -#define GL_OCCLUSION_TEST_RESULT_HP 0x8166 - -#define GLEW_HP_occlusion_test GLEW_GET_VAR(__GLEW_HP_occlusion_test) - -#endif /* GL_HP_occlusion_test */ - -/* ------------------------- GL_HP_texture_lighting ------------------------ */ - -#ifndef GL_HP_texture_lighting -#define GL_HP_texture_lighting 1 - -#define GLEW_HP_texture_lighting GLEW_GET_VAR(__GLEW_HP_texture_lighting) - -#endif /* GL_HP_texture_lighting */ - -/* --------------------------- GL_IBM_cull_vertex -------------------------- */ - -#ifndef GL_IBM_cull_vertex -#define GL_IBM_cull_vertex 1 - -#define GL_CULL_VERTEX_IBM 103050 - -#define GLEW_IBM_cull_vertex GLEW_GET_VAR(__GLEW_IBM_cull_vertex) - -#endif /* GL_IBM_cull_vertex */ - -/* ---------------------- GL_IBM_multimode_draw_arrays --------------------- */ - -#ifndef GL_IBM_multimode_draw_arrays -#define GL_IBM_multimode_draw_arrays 1 - -typedef void (GLAPIENTRY * PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum* mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride); -typedef void (GLAPIENTRY * PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum* mode, const GLsizei *count, GLenum type, const GLvoid * const *indices, GLsizei primcount, GLint modestride); - -#define glMultiModeDrawArraysIBM GLEW_GET_FUN(__glewMultiModeDrawArraysIBM) -#define glMultiModeDrawElementsIBM GLEW_GET_FUN(__glewMultiModeDrawElementsIBM) - -#define GLEW_IBM_multimode_draw_arrays GLEW_GET_VAR(__GLEW_IBM_multimode_draw_arrays) - -#endif /* GL_IBM_multimode_draw_arrays */ - -/* ------------------------- GL_IBM_rasterpos_clip ------------------------- */ - -#ifndef GL_IBM_rasterpos_clip -#define GL_IBM_rasterpos_clip 1 - -#define GL_RASTER_POSITION_UNCLIPPED_IBM 103010 - -#define GLEW_IBM_rasterpos_clip GLEW_GET_VAR(__GLEW_IBM_rasterpos_clip) - -#endif /* GL_IBM_rasterpos_clip */ - -/* --------------------------- GL_IBM_static_data -------------------------- */ - -#ifndef GL_IBM_static_data -#define GL_IBM_static_data 1 - -#define GL_ALL_STATIC_DATA_IBM 103060 -#define GL_STATIC_VERTEX_ARRAY_IBM 103061 - -#define GLEW_IBM_static_data GLEW_GET_VAR(__GLEW_IBM_static_data) - -#endif /* GL_IBM_static_data */ - -/* --------------------- GL_IBM_texture_mirrored_repeat -------------------- */ - -#ifndef GL_IBM_texture_mirrored_repeat -#define GL_IBM_texture_mirrored_repeat 1 - -#define GL_MIRRORED_REPEAT_IBM 0x8370 - -#define GLEW_IBM_texture_mirrored_repeat GLEW_GET_VAR(__GLEW_IBM_texture_mirrored_repeat) - -#endif /* GL_IBM_texture_mirrored_repeat */ - -/* ----------------------- GL_IBM_vertex_array_lists ----------------------- */ - -#ifndef GL_IBM_vertex_array_lists -#define GL_IBM_vertex_array_lists 1 - -#define GL_VERTEX_ARRAY_LIST_IBM 103070 -#define GL_NORMAL_ARRAY_LIST_IBM 103071 -#define GL_COLOR_ARRAY_LIST_IBM 103072 -#define GL_INDEX_ARRAY_LIST_IBM 103073 -#define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074 -#define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075 -#define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076 -#define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077 -#define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080 -#define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081 -#define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082 -#define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083 -#define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084 -#define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085 -#define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086 -#define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087 - -typedef void (GLAPIENTRY * PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride); -typedef void (GLAPIENTRY * PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean ** pointer, GLint ptrstride); -typedef void (GLAPIENTRY * PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride); -typedef void (GLAPIENTRY * PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride); -typedef void (GLAPIENTRY * PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride); -typedef void (GLAPIENTRY * PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride); -typedef void (GLAPIENTRY * PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride); - -#define glColorPointerListIBM GLEW_GET_FUN(__glewColorPointerListIBM) -#define glEdgeFlagPointerListIBM GLEW_GET_FUN(__glewEdgeFlagPointerListIBM) -#define glFogCoordPointerListIBM GLEW_GET_FUN(__glewFogCoordPointerListIBM) -#define glIndexPointerListIBM GLEW_GET_FUN(__glewIndexPointerListIBM) -#define glNormalPointerListIBM GLEW_GET_FUN(__glewNormalPointerListIBM) -#define glSecondaryColorPointerListIBM GLEW_GET_FUN(__glewSecondaryColorPointerListIBM) -#define glTexCoordPointerListIBM GLEW_GET_FUN(__glewTexCoordPointerListIBM) -#define glVertexPointerListIBM GLEW_GET_FUN(__glewVertexPointerListIBM) - -#define GLEW_IBM_vertex_array_lists GLEW_GET_VAR(__GLEW_IBM_vertex_array_lists) - -#endif /* GL_IBM_vertex_array_lists */ - -/* -------------------------- GL_INGR_color_clamp -------------------------- */ - -#ifndef GL_INGR_color_clamp -#define GL_INGR_color_clamp 1 - -#define GL_RED_MIN_CLAMP_INGR 0x8560 -#define GL_GREEN_MIN_CLAMP_INGR 0x8561 -#define GL_BLUE_MIN_CLAMP_INGR 0x8562 -#define GL_ALPHA_MIN_CLAMP_INGR 0x8563 -#define GL_RED_MAX_CLAMP_INGR 0x8564 -#define GL_GREEN_MAX_CLAMP_INGR 0x8565 -#define GL_BLUE_MAX_CLAMP_INGR 0x8566 -#define GL_ALPHA_MAX_CLAMP_INGR 0x8567 - -#define GLEW_INGR_color_clamp GLEW_GET_VAR(__GLEW_INGR_color_clamp) - -#endif /* GL_INGR_color_clamp */ - -/* ------------------------- GL_INGR_interlace_read ------------------------ */ - -#ifndef GL_INGR_interlace_read -#define GL_INGR_interlace_read 1 - -#define GL_INTERLACE_READ_INGR 0x8568 - -#define GLEW_INGR_interlace_read GLEW_GET_VAR(__GLEW_INGR_interlace_read) - -#endif /* GL_INGR_interlace_read */ - -/* ------------------------ GL_INTEL_parallel_arrays ----------------------- */ - -#ifndef GL_INTEL_parallel_arrays -#define GL_INTEL_parallel_arrays 1 - -#define GL_PARALLEL_ARRAYS_INTEL 0x83F4 -#define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5 -#define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6 -#define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7 -#define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8 - -typedef void (GLAPIENTRY * PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const void** pointer); -typedef void (GLAPIENTRY * PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const void** pointer); -typedef void (GLAPIENTRY * PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const void** pointer); -typedef void (GLAPIENTRY * PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const void** pointer); - -#define glColorPointervINTEL GLEW_GET_FUN(__glewColorPointervINTEL) -#define glNormalPointervINTEL GLEW_GET_FUN(__glewNormalPointervINTEL) -#define glTexCoordPointervINTEL GLEW_GET_FUN(__glewTexCoordPointervINTEL) -#define glVertexPointervINTEL GLEW_GET_FUN(__glewVertexPointervINTEL) - -#define GLEW_INTEL_parallel_arrays GLEW_GET_VAR(__GLEW_INTEL_parallel_arrays) - -#endif /* GL_INTEL_parallel_arrays */ - -/* ------------------------ GL_INTEL_texture_scissor ----------------------- */ - -#ifndef GL_INTEL_texture_scissor -#define GL_INTEL_texture_scissor 1 - -typedef void (GLAPIENTRY * PFNGLTEXSCISSORFUNCINTELPROC) (GLenum target, GLenum lfunc, GLenum hfunc); -typedef void (GLAPIENTRY * PFNGLTEXSCISSORINTELPROC) (GLenum target, GLclampf tlow, GLclampf thigh); - -#define glTexScissorFuncINTEL GLEW_GET_FUN(__glewTexScissorFuncINTEL) -#define glTexScissorINTEL GLEW_GET_FUN(__glewTexScissorINTEL) - -#define GLEW_INTEL_texture_scissor GLEW_GET_VAR(__GLEW_INTEL_texture_scissor) - -#endif /* GL_INTEL_texture_scissor */ - -/* ------------------------------ GL_KHR_debug ----------------------------- */ - -#ifndef GL_KHR_debug -#define GL_KHR_debug 1 - -#define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002 -#define GL_STACK_OVERFLOW 0x0503 -#define GL_STACK_UNDERFLOW 0x0504 -#define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242 -#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243 -#define GL_DEBUG_CALLBACK_FUNCTION 0x8244 -#define GL_DEBUG_CALLBACK_USER_PARAM 0x8245 -#define GL_DEBUG_SOURCE_API 0x8246 -#define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247 -#define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248 -#define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249 -#define GL_DEBUG_SOURCE_APPLICATION 0x824A -#define GL_DEBUG_SOURCE_OTHER 0x824B -#define GL_DEBUG_TYPE_ERROR 0x824C -#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D -#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E -#define GL_DEBUG_TYPE_PORTABILITY 0x824F -#define GL_DEBUG_TYPE_PERFORMANCE 0x8250 -#define GL_DEBUG_TYPE_OTHER 0x8251 -#define GL_DEBUG_TYPE_MARKER 0x8268 -#define GL_DEBUG_TYPE_PUSH_GROUP 0x8269 -#define GL_DEBUG_TYPE_POP_GROUP 0x826A -#define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B -#define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C -#define GL_DEBUG_GROUP_STACK_DEPTH 0x826D -#define GL_BUFFER 0x82E0 -#define GL_SHADER 0x82E1 -#define GL_PROGRAM 0x82E2 -#define GL_QUERY 0x82E3 -#define GL_PROGRAM_PIPELINE 0x82E4 -#define GL_SAMPLER 0x82E6 -#define GL_DISPLAY_LIST 0x82E7 -#define GL_MAX_LABEL_LENGTH 0x82E8 -#define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143 -#define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144 -#define GL_DEBUG_LOGGED_MESSAGES 0x9145 -#define GL_DEBUG_SEVERITY_HIGH 0x9146 -#define GL_DEBUG_SEVERITY_MEDIUM 0x9147 -#define GL_DEBUG_SEVERITY_LOW 0x9148 -#define GL_DEBUG_OUTPUT 0x92E0 - -typedef void (APIENTRY *GLDEBUGPROC)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, GLvoid* userParam); - -typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, void* userParam); -typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint* ids, GLboolean enabled); -typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* buf); -typedef GLuint (GLAPIENTRY * PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufsize, GLenum* sources, GLenum* types, GLuint* ids, GLenum* severities, GLsizei* lengths, GLchar* messageLog); -typedef void (GLAPIENTRY * PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei* length, GLchar *label); -typedef void (GLAPIENTRY * PFNGLGETOBJECTPTRLABELPROC) (void* ptr, GLsizei bufSize, GLsizei* length, GLchar *label); -typedef void (GLAPIENTRY * PFNGLGETPOINTERVPROC) (GLenum pname, void** params); -typedef void (GLAPIENTRY * PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar* label); -typedef void (GLAPIENTRY * PFNGLOBJECTPTRLABELPROC) (void* ptr, GLsizei length, const GLchar* label); -typedef void (GLAPIENTRY * PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar * message); - -#define glDebugMessageCallback GLEW_GET_FUN(__glewDebugMessageCallback) -#define glDebugMessageControl GLEW_GET_FUN(__glewDebugMessageControl) -#define glDebugMessageInsert GLEW_GET_FUN(__glewDebugMessageInsert) -#define glGetDebugMessageLog GLEW_GET_FUN(__glewGetDebugMessageLog) -#define glGetObjectLabel GLEW_GET_FUN(__glewGetObjectLabel) -#define glGetObjectPtrLabel GLEW_GET_FUN(__glewGetObjectPtrLabel) -#define glGetPointerv GLEW_GET_FUN(__glewGetPointerv) -#define glObjectLabel GLEW_GET_FUN(__glewObjectLabel) -#define glObjectPtrLabel GLEW_GET_FUN(__glewObjectPtrLabel) -#define glPushDebugGroup GLEW_GET_FUN(__glewPushDebugGroup) - -#define GLEW_KHR_debug GLEW_GET_VAR(__GLEW_KHR_debug) - -#endif /* GL_KHR_debug */ - -/* ------------------ GL_KHR_texture_compression_astc_ldr ------------------ */ - -#ifndef GL_KHR_texture_compression_astc_ldr -#define GL_KHR_texture_compression_astc_ldr 1 - -#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 -#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1 -#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2 -#define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3 -#define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4 -#define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5 -#define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6 -#define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7 -#define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8 -#define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9 -#define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA -#define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB -#define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC -#define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD - -#define GLEW_KHR_texture_compression_astc_ldr GLEW_GET_VAR(__GLEW_KHR_texture_compression_astc_ldr) - -#endif /* GL_KHR_texture_compression_astc_ldr */ - -/* -------------------------- GL_KTX_buffer_region ------------------------- */ - -#ifndef GL_KTX_buffer_region -#define GL_KTX_buffer_region 1 - -#define GL_KTX_FRONT_REGION 0x0 -#define GL_KTX_BACK_REGION 0x1 -#define GL_KTX_Z_REGION 0x2 -#define GL_KTX_STENCIL_REGION 0x3 - -typedef GLuint (GLAPIENTRY * PFNGLBUFFERREGIONENABLEDPROC) (void); -typedef void (GLAPIENTRY * PFNGLDELETEBUFFERREGIONPROC) (GLenum region); -typedef void (GLAPIENTRY * PFNGLDRAWBUFFERREGIONPROC) (GLuint region, GLint x, GLint y, GLsizei width, GLsizei height, GLint xDest, GLint yDest); -typedef GLuint (GLAPIENTRY * PFNGLNEWBUFFERREGIONPROC) (GLenum region); -typedef void (GLAPIENTRY * PFNGLREADBUFFERREGIONPROC) (GLuint region, GLint x, GLint y, GLsizei width, GLsizei height); - -#define glBufferRegionEnabled GLEW_GET_FUN(__glewBufferRegionEnabled) -#define glDeleteBufferRegion GLEW_GET_FUN(__glewDeleteBufferRegion) -#define glDrawBufferRegion GLEW_GET_FUN(__glewDrawBufferRegion) -#define glNewBufferRegion GLEW_GET_FUN(__glewNewBufferRegion) -#define glReadBufferRegion GLEW_GET_FUN(__glewReadBufferRegion) - -#define GLEW_KTX_buffer_region GLEW_GET_VAR(__GLEW_KTX_buffer_region) - -#endif /* GL_KTX_buffer_region */ - -/* ------------------------- GL_MESAX_texture_stack ------------------------ */ - -#ifndef GL_MESAX_texture_stack -#define GL_MESAX_texture_stack 1 - -#define GL_TEXTURE_1D_STACK_MESAX 0x8759 -#define GL_TEXTURE_2D_STACK_MESAX 0x875A -#define GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B -#define GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C -#define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D -#define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E - -#define GLEW_MESAX_texture_stack GLEW_GET_VAR(__GLEW_MESAX_texture_stack) - -#endif /* GL_MESAX_texture_stack */ - -/* -------------------------- GL_MESA_pack_invert -------------------------- */ - -#ifndef GL_MESA_pack_invert -#define GL_MESA_pack_invert 1 - -#define GL_PACK_INVERT_MESA 0x8758 - -#define GLEW_MESA_pack_invert GLEW_GET_VAR(__GLEW_MESA_pack_invert) - -#endif /* GL_MESA_pack_invert */ - -/* ------------------------- GL_MESA_resize_buffers ------------------------ */ - -#ifndef GL_MESA_resize_buffers -#define GL_MESA_resize_buffers 1 - -typedef void (GLAPIENTRY * PFNGLRESIZEBUFFERSMESAPROC) (void); - -#define glResizeBuffersMESA GLEW_GET_FUN(__glewResizeBuffersMESA) - -#define GLEW_MESA_resize_buffers GLEW_GET_VAR(__GLEW_MESA_resize_buffers) - -#endif /* GL_MESA_resize_buffers */ - -/* --------------------------- GL_MESA_window_pos -------------------------- */ - -#ifndef GL_MESA_window_pos -#define GL_MESA_window_pos 1 - -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble* p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat* p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2IVMESAPROC) (const GLint* p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS2SVMESAPROC) (const GLshort* p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble* p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat* p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3IVMESAPROC) (const GLint* p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS3SVMESAPROC) (const GLshort* p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble* p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat* p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS4IVMESAPROC) (const GLint* p); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (GLAPIENTRY * PFNGLWINDOWPOS4SVMESAPROC) (const GLshort* p); - -#define glWindowPos2dMESA GLEW_GET_FUN(__glewWindowPos2dMESA) -#define glWindowPos2dvMESA GLEW_GET_FUN(__glewWindowPos2dvMESA) -#define glWindowPos2fMESA GLEW_GET_FUN(__glewWindowPos2fMESA) -#define glWindowPos2fvMESA GLEW_GET_FUN(__glewWindowPos2fvMESA) -#define glWindowPos2iMESA GLEW_GET_FUN(__glewWindowPos2iMESA) -#define glWindowPos2ivMESA GLEW_GET_FUN(__glewWindowPos2ivMESA) -#define glWindowPos2sMESA GLEW_GET_FUN(__glewWindowPos2sMESA) -#define glWindowPos2svMESA GLEW_GET_FUN(__glewWindowPos2svMESA) -#define glWindowPos3dMESA GLEW_GET_FUN(__glewWindowPos3dMESA) -#define glWindowPos3dvMESA GLEW_GET_FUN(__glewWindowPos3dvMESA) -#define glWindowPos3fMESA GLEW_GET_FUN(__glewWindowPos3fMESA) -#define glWindowPos3fvMESA GLEW_GET_FUN(__glewWindowPos3fvMESA) -#define glWindowPos3iMESA GLEW_GET_FUN(__glewWindowPos3iMESA) -#define glWindowPos3ivMESA GLEW_GET_FUN(__glewWindowPos3ivMESA) -#define glWindowPos3sMESA GLEW_GET_FUN(__glewWindowPos3sMESA) -#define glWindowPos3svMESA GLEW_GET_FUN(__glewWindowPos3svMESA) -#define glWindowPos4dMESA GLEW_GET_FUN(__glewWindowPos4dMESA) -#define glWindowPos4dvMESA GLEW_GET_FUN(__glewWindowPos4dvMESA) -#define glWindowPos4fMESA GLEW_GET_FUN(__glewWindowPos4fMESA) -#define glWindowPos4fvMESA GLEW_GET_FUN(__glewWindowPos4fvMESA) -#define glWindowPos4iMESA GLEW_GET_FUN(__glewWindowPos4iMESA) -#define glWindowPos4ivMESA GLEW_GET_FUN(__glewWindowPos4ivMESA) -#define glWindowPos4sMESA GLEW_GET_FUN(__glewWindowPos4sMESA) -#define glWindowPos4svMESA GLEW_GET_FUN(__glewWindowPos4svMESA) - -#define GLEW_MESA_window_pos GLEW_GET_VAR(__GLEW_MESA_window_pos) - -#endif /* GL_MESA_window_pos */ - -/* ------------------------- GL_MESA_ycbcr_texture ------------------------- */ - -#ifndef GL_MESA_ycbcr_texture -#define GL_MESA_ycbcr_texture 1 - -#define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA -#define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB -#define GL_YCBCR_MESA 0x8757 - -#define GLEW_MESA_ycbcr_texture GLEW_GET_VAR(__GLEW_MESA_ycbcr_texture) - -#endif /* GL_MESA_ycbcr_texture */ - -/* ------------------------- GL_NVX_gpu_memory_info ------------------------ */ - -#ifndef GL_NVX_gpu_memory_info -#define GL_NVX_gpu_memory_info 1 - -#define GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047 -#define GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048 -#define GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049 -#define GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A -#define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B - -#define GLEW_NVX_gpu_memory_info GLEW_GET_VAR(__GLEW_NVX_gpu_memory_info) - -#endif /* GL_NVX_gpu_memory_info */ - -/* ------------------------- GL_NV_bindless_texture ------------------------ */ - -#ifndef GL_NV_bindless_texture -#define GL_NV_bindless_texture 1 - -typedef GLuint64 (GLAPIENTRY * PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); -typedef GLuint64 (GLAPIENTRY * PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture); -typedef GLuint64 (GLAPIENTRY * PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler); -typedef GLboolean (GLAPIENTRY * PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle); -typedef GLboolean (GLAPIENTRY * PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); -typedef void (GLAPIENTRY * PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle); -typedef void (GLAPIENTRY * PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access); -typedef void (GLAPIENTRY * PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle); -typedef void (GLAPIENTRY * PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64* values); -typedef void (GLAPIENTRY * PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value); -typedef void (GLAPIENTRY * PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64* value); - -#define glGetImageHandleNV GLEW_GET_FUN(__glewGetImageHandleNV) -#define glGetTextureHandleNV GLEW_GET_FUN(__glewGetTextureHandleNV) -#define glGetTextureSamplerHandleNV GLEW_GET_FUN(__glewGetTextureSamplerHandleNV) -#define glIsImageHandleResidentNV GLEW_GET_FUN(__glewIsImageHandleResidentNV) -#define glIsTextureHandleResidentNV GLEW_GET_FUN(__glewIsTextureHandleResidentNV) -#define glMakeImageHandleNonResidentNV GLEW_GET_FUN(__glewMakeImageHandleNonResidentNV) -#define glMakeImageHandleResidentNV GLEW_GET_FUN(__glewMakeImageHandleResidentNV) -#define glMakeTextureHandleNonResidentNV GLEW_GET_FUN(__glewMakeTextureHandleNonResidentNV) -#define glMakeTextureHandleResidentNV GLEW_GET_FUN(__glewMakeTextureHandleResidentNV) -#define glProgramUniformHandleui64NV GLEW_GET_FUN(__glewProgramUniformHandleui64NV) -#define glProgramUniformHandleui64vNV GLEW_GET_FUN(__glewProgramUniformHandleui64vNV) -#define glUniformHandleui64NV GLEW_GET_FUN(__glewUniformHandleui64NV) -#define glUniformHandleui64vNV GLEW_GET_FUN(__glewUniformHandleui64vNV) - -#define GLEW_NV_bindless_texture GLEW_GET_VAR(__GLEW_NV_bindless_texture) - -#endif /* GL_NV_bindless_texture */ - -/* --------------------------- GL_NV_blend_square -------------------------- */ - -#ifndef GL_NV_blend_square -#define GL_NV_blend_square 1 - -#define GLEW_NV_blend_square GLEW_GET_VAR(__GLEW_NV_blend_square) - -#endif /* GL_NV_blend_square */ - -/* ------------------------ GL_NV_conditional_render ----------------------- */ - -#ifndef GL_NV_conditional_render -#define GL_NV_conditional_render 1 - -#define GL_QUERY_WAIT_NV 0x8E13 -#define GL_QUERY_NO_WAIT_NV 0x8E14 -#define GL_QUERY_BY_REGION_WAIT_NV 0x8E15 -#define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16 - -typedef void (GLAPIENTRY * PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode); -typedef void (GLAPIENTRY * PFNGLENDCONDITIONALRENDERNVPROC) (void); - -#define glBeginConditionalRenderNV GLEW_GET_FUN(__glewBeginConditionalRenderNV) -#define glEndConditionalRenderNV GLEW_GET_FUN(__glewEndConditionalRenderNV) - -#define GLEW_NV_conditional_render GLEW_GET_VAR(__GLEW_NV_conditional_render) - -#endif /* GL_NV_conditional_render */ - -/* ----------------------- GL_NV_copy_depth_to_color ----------------------- */ - -#ifndef GL_NV_copy_depth_to_color -#define GL_NV_copy_depth_to_color 1 - -#define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E -#define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F - -#define GLEW_NV_copy_depth_to_color GLEW_GET_VAR(__GLEW_NV_copy_depth_to_color) - -#endif /* GL_NV_copy_depth_to_color */ - -/* ---------------------------- GL_NV_copy_image --------------------------- */ - -#ifndef GL_NV_copy_image -#define GL_NV_copy_image 1 - -typedef void (GLAPIENTRY * PFNGLCOPYIMAGESUBDATANVPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); - -#define glCopyImageSubDataNV GLEW_GET_FUN(__glewCopyImageSubDataNV) - -#define GLEW_NV_copy_image GLEW_GET_VAR(__GLEW_NV_copy_image) - -#endif /* GL_NV_copy_image */ - -/* ------------------------ GL_NV_depth_buffer_float ----------------------- */ - -#ifndef GL_NV_depth_buffer_float -#define GL_NV_depth_buffer_float 1 - -#define GL_DEPTH_COMPONENT32F_NV 0x8DAB -#define GL_DEPTH32F_STENCIL8_NV 0x8DAC -#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD -#define GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF - -typedef void (GLAPIENTRY * PFNGLCLEARDEPTHDNVPROC) (GLdouble depth); -typedef void (GLAPIENTRY * PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax); -typedef void (GLAPIENTRY * PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar); - -#define glClearDepthdNV GLEW_GET_FUN(__glewClearDepthdNV) -#define glDepthBoundsdNV GLEW_GET_FUN(__glewDepthBoundsdNV) -#define glDepthRangedNV GLEW_GET_FUN(__glewDepthRangedNV) - -#define GLEW_NV_depth_buffer_float GLEW_GET_VAR(__GLEW_NV_depth_buffer_float) - -#endif /* GL_NV_depth_buffer_float */ - -/* --------------------------- GL_NV_depth_clamp --------------------------- */ - -#ifndef GL_NV_depth_clamp -#define GL_NV_depth_clamp 1 - -#define GL_DEPTH_CLAMP_NV 0x864F - -#define GLEW_NV_depth_clamp GLEW_GET_VAR(__GLEW_NV_depth_clamp) - -#endif /* GL_NV_depth_clamp */ - -/* ---------------------- GL_NV_depth_range_unclamped ---------------------- */ - -#ifndef GL_NV_depth_range_unclamped -#define GL_NV_depth_range_unclamped 1 - -#define GL_SAMPLE_COUNT_BITS_NV 0x8864 -#define GL_CURRENT_SAMPLE_COUNT_QUERY_NV 0x8865 -#define GL_QUERY_RESULT_NV 0x8866 -#define GL_QUERY_RESULT_AVAILABLE_NV 0x8867 -#define GL_SAMPLE_COUNT_NV 0x8914 - -#define GLEW_NV_depth_range_unclamped GLEW_GET_VAR(__GLEW_NV_depth_range_unclamped) - -#endif /* GL_NV_depth_range_unclamped */ - -/* ---------------------------- GL_NV_evaluators --------------------------- */ - -#ifndef GL_NV_evaluators -#define GL_NV_evaluators 1 - -#define GL_EVAL_2D_NV 0x86C0 -#define GL_EVAL_TRIANGULAR_2D_NV 0x86C1 -#define GL_MAP_TESSELLATION_NV 0x86C2 -#define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3 -#define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4 -#define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5 -#define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6 -#define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7 -#define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8 -#define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9 -#define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA -#define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB -#define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC -#define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD -#define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE -#define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF -#define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0 -#define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1 -#define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2 -#define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3 -#define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4 -#define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5 -#define GL_MAX_MAP_TESSELLATION_NV 0x86D6 -#define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7 - -typedef void (GLAPIENTRY * PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode); -typedef void (GLAPIENTRY * PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void* points); -typedef void (GLAPIENTRY * PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void* points); -typedef void (GLAPIENTRY * PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint* params); - -#define glEvalMapsNV GLEW_GET_FUN(__glewEvalMapsNV) -#define glGetMapAttribParameterfvNV GLEW_GET_FUN(__glewGetMapAttribParameterfvNV) -#define glGetMapAttribParameterivNV GLEW_GET_FUN(__glewGetMapAttribParameterivNV) -#define glGetMapControlPointsNV GLEW_GET_FUN(__glewGetMapControlPointsNV) -#define glGetMapParameterfvNV GLEW_GET_FUN(__glewGetMapParameterfvNV) -#define glGetMapParameterivNV GLEW_GET_FUN(__glewGetMapParameterivNV) -#define glMapControlPointsNV GLEW_GET_FUN(__glewMapControlPointsNV) -#define glMapParameterfvNV GLEW_GET_FUN(__glewMapParameterfvNV) -#define glMapParameterivNV GLEW_GET_FUN(__glewMapParameterivNV) - -#define GLEW_NV_evaluators GLEW_GET_VAR(__GLEW_NV_evaluators) - -#endif /* GL_NV_evaluators */ - -/* ----------------------- GL_NV_explicit_multisample ---------------------- */ - -#ifndef GL_NV_explicit_multisample -#define GL_NV_explicit_multisample 1 - -#define GL_SAMPLE_POSITION_NV 0x8E50 -#define GL_SAMPLE_MASK_NV 0x8E51 -#define GL_SAMPLE_MASK_VALUE_NV 0x8E52 -#define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53 -#define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54 -#define GL_TEXTURE_RENDERBUFFER_NV 0x8E55 -#define GL_SAMPLER_RENDERBUFFER_NV 0x8E56 -#define GL_INT_SAMPLER_RENDERBUFFER_NV 0x8E57 -#define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58 -#define GL_MAX_SAMPLE_MASK_WORDS_NV 0x8E59 - -typedef void (GLAPIENTRY * PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat* val); -typedef void (GLAPIENTRY * PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitfield mask); -typedef void (GLAPIENTRY * PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer); - -#define glGetMultisamplefvNV GLEW_GET_FUN(__glewGetMultisamplefvNV) -#define glSampleMaskIndexedNV GLEW_GET_FUN(__glewSampleMaskIndexedNV) -#define glTexRenderbufferNV GLEW_GET_FUN(__glewTexRenderbufferNV) - -#define GLEW_NV_explicit_multisample GLEW_GET_VAR(__GLEW_NV_explicit_multisample) - -#endif /* GL_NV_explicit_multisample */ - -/* ------------------------------ GL_NV_fence ------------------------------ */ - -#ifndef GL_NV_fence -#define GL_NV_fence 1 - -#define GL_ALL_COMPLETED_NV 0x84F2 -#define GL_FENCE_STATUS_NV 0x84F3 -#define GL_FENCE_CONDITION_NV 0x84F4 - -typedef void (GLAPIENTRY * PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint* fences); -typedef void (GLAPIENTRY * PFNGLFINISHFENCENVPROC) (GLuint fence); -typedef void (GLAPIENTRY * PFNGLGENFENCESNVPROC) (GLsizei n, GLuint* fences); -typedef void (GLAPIENTRY * PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint* params); -typedef GLboolean (GLAPIENTRY * PFNGLISFENCENVPROC) (GLuint fence); -typedef void (GLAPIENTRY * PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); -typedef GLboolean (GLAPIENTRY * PFNGLTESTFENCENVPROC) (GLuint fence); - -#define glDeleteFencesNV GLEW_GET_FUN(__glewDeleteFencesNV) -#define glFinishFenceNV GLEW_GET_FUN(__glewFinishFenceNV) -#define glGenFencesNV GLEW_GET_FUN(__glewGenFencesNV) -#define glGetFenceivNV GLEW_GET_FUN(__glewGetFenceivNV) -#define glIsFenceNV GLEW_GET_FUN(__glewIsFenceNV) -#define glSetFenceNV GLEW_GET_FUN(__glewSetFenceNV) -#define glTestFenceNV GLEW_GET_FUN(__glewTestFenceNV) - -#define GLEW_NV_fence GLEW_GET_VAR(__GLEW_NV_fence) - -#endif /* GL_NV_fence */ - -/* --------------------------- GL_NV_float_buffer -------------------------- */ - -#ifndef GL_NV_float_buffer -#define GL_NV_float_buffer 1 - -#define GL_FLOAT_R_NV 0x8880 -#define GL_FLOAT_RG_NV 0x8881 -#define GL_FLOAT_RGB_NV 0x8882 -#define GL_FLOAT_RGBA_NV 0x8883 -#define GL_FLOAT_R16_NV 0x8884 -#define GL_FLOAT_R32_NV 0x8885 -#define GL_FLOAT_RG16_NV 0x8886 -#define GL_FLOAT_RG32_NV 0x8887 -#define GL_FLOAT_RGB16_NV 0x8888 -#define GL_FLOAT_RGB32_NV 0x8889 -#define GL_FLOAT_RGBA16_NV 0x888A -#define GL_FLOAT_RGBA32_NV 0x888B -#define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C -#define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D -#define GL_FLOAT_RGBA_MODE_NV 0x888E - -#define GLEW_NV_float_buffer GLEW_GET_VAR(__GLEW_NV_float_buffer) - -#endif /* GL_NV_float_buffer */ - -/* --------------------------- GL_NV_fog_distance -------------------------- */ - -#ifndef GL_NV_fog_distance -#define GL_NV_fog_distance 1 - -#define GL_FOG_DISTANCE_MODE_NV 0x855A -#define GL_EYE_RADIAL_NV 0x855B -#define GL_EYE_PLANE_ABSOLUTE_NV 0x855C - -#define GLEW_NV_fog_distance GLEW_GET_VAR(__GLEW_NV_fog_distance) - -#endif /* GL_NV_fog_distance */ - -/* ------------------------- GL_NV_fragment_program ------------------------ */ - -#ifndef GL_NV_fragment_program -#define GL_NV_fragment_program 1 - -#define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868 -#define GL_FRAGMENT_PROGRAM_NV 0x8870 -#define GL_MAX_TEXTURE_COORDS_NV 0x8871 -#define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872 -#define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873 -#define GL_PROGRAM_ERROR_STRING_NV 0x8874 - -typedef void (GLAPIENTRY * PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte* name, GLdouble *params); -typedef void (GLAPIENTRY * PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte* name, GLfloat *params); -typedef void (GLAPIENTRY * PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte* name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (GLAPIENTRY * PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte* name, const GLdouble v[]); -typedef void (GLAPIENTRY * PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (GLAPIENTRY * PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte* name, const GLfloat v[]); - -#define glGetProgramNamedParameterdvNV GLEW_GET_FUN(__glewGetProgramNamedParameterdvNV) -#define glGetProgramNamedParameterfvNV GLEW_GET_FUN(__glewGetProgramNamedParameterfvNV) -#define glProgramNamedParameter4dNV GLEW_GET_FUN(__glewProgramNamedParameter4dNV) -#define glProgramNamedParameter4dvNV GLEW_GET_FUN(__glewProgramNamedParameter4dvNV) -#define glProgramNamedParameter4fNV GLEW_GET_FUN(__glewProgramNamedParameter4fNV) -#define glProgramNamedParameter4fvNV GLEW_GET_FUN(__glewProgramNamedParameter4fvNV) - -#define GLEW_NV_fragment_program GLEW_GET_VAR(__GLEW_NV_fragment_program) - -#endif /* GL_NV_fragment_program */ - -/* ------------------------ GL_NV_fragment_program2 ------------------------ */ - -#ifndef GL_NV_fragment_program2 -#define GL_NV_fragment_program2 1 - -#define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4 -#define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5 -#define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6 -#define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7 -#define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8 - -#define GLEW_NV_fragment_program2 GLEW_GET_VAR(__GLEW_NV_fragment_program2) - -#endif /* GL_NV_fragment_program2 */ - -/* ------------------------ GL_NV_fragment_program4 ------------------------ */ - -#ifndef GL_NV_fragment_program4 -#define GL_NV_fragment_program4 1 - -#define GLEW_NV_fragment_program4 GLEW_GET_VAR(__GLEW_NV_fragment_program4) - -#endif /* GL_NV_fragment_program4 */ - -/* --------------------- GL_NV_fragment_program_option --------------------- */ - -#ifndef GL_NV_fragment_program_option -#define GL_NV_fragment_program_option 1 - -#define GLEW_NV_fragment_program_option GLEW_GET_VAR(__GLEW_NV_fragment_program_option) - -#endif /* GL_NV_fragment_program_option */ - -/* ----------------- GL_NV_framebuffer_multisample_coverage ---------------- */ - -#ifndef GL_NV_framebuffer_multisample_coverage -#define GL_NV_framebuffer_multisample_coverage 1 - -#define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB -#define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10 -#define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11 -#define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12 - -typedef void (GLAPIENTRY * PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); - -#define glRenderbufferStorageMultisampleCoverageNV GLEW_GET_FUN(__glewRenderbufferStorageMultisampleCoverageNV) - -#define GLEW_NV_framebuffer_multisample_coverage GLEW_GET_VAR(__GLEW_NV_framebuffer_multisample_coverage) - -#endif /* GL_NV_framebuffer_multisample_coverage */ - -/* ------------------------ GL_NV_geometry_program4 ------------------------ */ - -#ifndef GL_NV_geometry_program4 -#define GL_NV_geometry_program4 1 - -#define GL_GEOMETRY_PROGRAM_NV 0x8C26 -#define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27 -#define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28 - -typedef void (GLAPIENTRY * PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit); - -#define glProgramVertexLimitNV GLEW_GET_FUN(__glewProgramVertexLimitNV) - -#define GLEW_NV_geometry_program4 GLEW_GET_VAR(__GLEW_NV_geometry_program4) - -#endif /* GL_NV_geometry_program4 */ - -/* ------------------------- GL_NV_geometry_shader4 ------------------------ */ - -#ifndef GL_NV_geometry_shader4 -#define GL_NV_geometry_shader4 1 - -#define GLEW_NV_geometry_shader4 GLEW_GET_VAR(__GLEW_NV_geometry_shader4) - -#endif /* GL_NV_geometry_shader4 */ - -/* --------------------------- GL_NV_gpu_program4 -------------------------- */ - -#ifndef GL_NV_gpu_program4 -#define GL_NV_gpu_program4 1 - -#define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904 -#define GL_MAX_PROGRAM_TEXEL_OFFSET_NV 0x8905 -#define GL_PROGRAM_ATTRIB_COMPONENTS_NV 0x8906 -#define GL_PROGRAM_RESULT_COMPONENTS_NV 0x8907 -#define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908 -#define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909 -#define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5 -#define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6 - -typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); -typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params); -typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params); -typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params); -typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params); -typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); -typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params); -typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params); -typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params); -typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params); - -#define glProgramEnvParameterI4iNV GLEW_GET_FUN(__glewProgramEnvParameterI4iNV) -#define glProgramEnvParameterI4ivNV GLEW_GET_FUN(__glewProgramEnvParameterI4ivNV) -#define glProgramEnvParameterI4uiNV GLEW_GET_FUN(__glewProgramEnvParameterI4uiNV) -#define glProgramEnvParameterI4uivNV GLEW_GET_FUN(__glewProgramEnvParameterI4uivNV) -#define glProgramEnvParametersI4ivNV GLEW_GET_FUN(__glewProgramEnvParametersI4ivNV) -#define glProgramEnvParametersI4uivNV GLEW_GET_FUN(__glewProgramEnvParametersI4uivNV) -#define glProgramLocalParameterI4iNV GLEW_GET_FUN(__glewProgramLocalParameterI4iNV) -#define glProgramLocalParameterI4ivNV GLEW_GET_FUN(__glewProgramLocalParameterI4ivNV) -#define glProgramLocalParameterI4uiNV GLEW_GET_FUN(__glewProgramLocalParameterI4uiNV) -#define glProgramLocalParameterI4uivNV GLEW_GET_FUN(__glewProgramLocalParameterI4uivNV) -#define glProgramLocalParametersI4ivNV GLEW_GET_FUN(__glewProgramLocalParametersI4ivNV) -#define glProgramLocalParametersI4uivNV GLEW_GET_FUN(__glewProgramLocalParametersI4uivNV) - -#define GLEW_NV_gpu_program4 GLEW_GET_VAR(__GLEW_NV_gpu_program4) - -#endif /* GL_NV_gpu_program4 */ - -/* --------------------------- GL_NV_gpu_program5 -------------------------- */ - -#ifndef GL_NV_gpu_program5 -#define GL_NV_gpu_program5 1 - -#define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A -#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B -#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C -#define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D -#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E -#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F - -#define GLEW_NV_gpu_program5 GLEW_GET_VAR(__GLEW_NV_gpu_program5) - -#endif /* GL_NV_gpu_program5 */ - -/* ------------------------- GL_NV_gpu_program_fp64 ------------------------ */ - -#ifndef GL_NV_gpu_program_fp64 -#define GL_NV_gpu_program_fp64 1 - -#define GLEW_NV_gpu_program_fp64 GLEW_GET_VAR(__GLEW_NV_gpu_program_fp64) - -#endif /* GL_NV_gpu_program_fp64 */ - -/* --------------------------- GL_NV_gpu_shader5 --------------------------- */ - -#ifndef GL_NV_gpu_shader5 -#define GL_NV_gpu_shader5 1 - -#define GL_INT64_NV 0x140E -#define GL_UNSIGNED_INT64_NV 0x140F -#define GL_INT8_NV 0x8FE0 -#define GL_INT8_VEC2_NV 0x8FE1 -#define GL_INT8_VEC3_NV 0x8FE2 -#define GL_INT8_VEC4_NV 0x8FE3 -#define GL_INT16_NV 0x8FE4 -#define GL_INT16_VEC2_NV 0x8FE5 -#define GL_INT16_VEC3_NV 0x8FE6 -#define GL_INT16_VEC4_NV 0x8FE7 -#define GL_INT64_VEC2_NV 0x8FE9 -#define GL_INT64_VEC3_NV 0x8FEA -#define GL_INT64_VEC4_NV 0x8FEB -#define GL_UNSIGNED_INT8_NV 0x8FEC -#define GL_UNSIGNED_INT8_VEC2_NV 0x8FED -#define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE -#define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF -#define GL_UNSIGNED_INT16_NV 0x8FF0 -#define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1 -#define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2 -#define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3 -#define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5 -#define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6 -#define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7 -#define GL_FLOAT16_NV 0x8FF8 -#define GL_FLOAT16_VEC2_NV 0x8FF9 -#define GL_FLOAT16_VEC3_NV 0x8FFA -#define GL_FLOAT16_VEC4_NV 0x8FFB - -typedef void (GLAPIENTRY * PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT* params); -typedef void (GLAPIENTRY * PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT* params); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT* value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x); -typedef void (GLAPIENTRY * PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x); -typedef void (GLAPIENTRY * PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y); -typedef void (GLAPIENTRY * PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y); -typedef void (GLAPIENTRY * PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); -typedef void (GLAPIENTRY * PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); -typedef void (GLAPIENTRY * PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); -typedef void (GLAPIENTRY * PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT* value); -typedef void (GLAPIENTRY * PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); -typedef void (GLAPIENTRY * PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT* value); - -#define glGetUniformi64vNV GLEW_GET_FUN(__glewGetUniformi64vNV) -#define glGetUniformui64vNV GLEW_GET_FUN(__glewGetUniformui64vNV) -#define glProgramUniform1i64NV GLEW_GET_FUN(__glewProgramUniform1i64NV) -#define glProgramUniform1i64vNV GLEW_GET_FUN(__glewProgramUniform1i64vNV) -#define glProgramUniform1ui64NV GLEW_GET_FUN(__glewProgramUniform1ui64NV) -#define glProgramUniform1ui64vNV GLEW_GET_FUN(__glewProgramUniform1ui64vNV) -#define glProgramUniform2i64NV GLEW_GET_FUN(__glewProgramUniform2i64NV) -#define glProgramUniform2i64vNV GLEW_GET_FUN(__glewProgramUniform2i64vNV) -#define glProgramUniform2ui64NV GLEW_GET_FUN(__glewProgramUniform2ui64NV) -#define glProgramUniform2ui64vNV GLEW_GET_FUN(__glewProgramUniform2ui64vNV) -#define glProgramUniform3i64NV GLEW_GET_FUN(__glewProgramUniform3i64NV) -#define glProgramUniform3i64vNV GLEW_GET_FUN(__glewProgramUniform3i64vNV) -#define glProgramUniform3ui64NV GLEW_GET_FUN(__glewProgramUniform3ui64NV) -#define glProgramUniform3ui64vNV GLEW_GET_FUN(__glewProgramUniform3ui64vNV) -#define glProgramUniform4i64NV GLEW_GET_FUN(__glewProgramUniform4i64NV) -#define glProgramUniform4i64vNV GLEW_GET_FUN(__glewProgramUniform4i64vNV) -#define glProgramUniform4ui64NV GLEW_GET_FUN(__glewProgramUniform4ui64NV) -#define glProgramUniform4ui64vNV GLEW_GET_FUN(__glewProgramUniform4ui64vNV) -#define glUniform1i64NV GLEW_GET_FUN(__glewUniform1i64NV) -#define glUniform1i64vNV GLEW_GET_FUN(__glewUniform1i64vNV) -#define glUniform1ui64NV GLEW_GET_FUN(__glewUniform1ui64NV) -#define glUniform1ui64vNV GLEW_GET_FUN(__glewUniform1ui64vNV) -#define glUniform2i64NV GLEW_GET_FUN(__glewUniform2i64NV) -#define glUniform2i64vNV GLEW_GET_FUN(__glewUniform2i64vNV) -#define glUniform2ui64NV GLEW_GET_FUN(__glewUniform2ui64NV) -#define glUniform2ui64vNV GLEW_GET_FUN(__glewUniform2ui64vNV) -#define glUniform3i64NV GLEW_GET_FUN(__glewUniform3i64NV) -#define glUniform3i64vNV GLEW_GET_FUN(__glewUniform3i64vNV) -#define glUniform3ui64NV GLEW_GET_FUN(__glewUniform3ui64NV) -#define glUniform3ui64vNV GLEW_GET_FUN(__glewUniform3ui64vNV) -#define glUniform4i64NV GLEW_GET_FUN(__glewUniform4i64NV) -#define glUniform4i64vNV GLEW_GET_FUN(__glewUniform4i64vNV) -#define glUniform4ui64NV GLEW_GET_FUN(__glewUniform4ui64NV) -#define glUniform4ui64vNV GLEW_GET_FUN(__glewUniform4ui64vNV) - -#define GLEW_NV_gpu_shader5 GLEW_GET_VAR(__GLEW_NV_gpu_shader5) - -#endif /* GL_NV_gpu_shader5 */ - -/* ---------------------------- GL_NV_half_float --------------------------- */ - -#ifndef GL_NV_half_float -#define GL_NV_half_float 1 - -#define GL_HALF_FLOAT_NV 0x140B - -typedef unsigned short GLhalf; - -typedef void (GLAPIENTRY * PFNGLCOLOR3HNVPROC) (GLhalf red, GLhalf green, GLhalf blue); -typedef void (GLAPIENTRY * PFNGLCOLOR3HVNVPROC) (const GLhalf* v); -typedef void (GLAPIENTRY * PFNGLCOLOR4HNVPROC) (GLhalf red, GLhalf green, GLhalf blue, GLhalf alpha); -typedef void (GLAPIENTRY * PFNGLCOLOR4HVNVPROC) (const GLhalf* v); -typedef void (GLAPIENTRY * PFNGLFOGCOORDHNVPROC) (GLhalf fog); -typedef void (GLAPIENTRY * PFNGLFOGCOORDHVNVPROC) (const GLhalf* fog); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalf s); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalf* v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalf s, GLhalf t); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalf* v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalf s, GLhalf t, GLhalf r); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalf* v); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalf s, GLhalf t, GLhalf r, GLhalf q); -typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalf* v); -typedef void (GLAPIENTRY * PFNGLNORMAL3HNVPROC) (GLhalf nx, GLhalf ny, GLhalf nz); -typedef void (GLAPIENTRY * PFNGLNORMAL3HVNVPROC) (const GLhalf* v); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3HNVPROC) (GLhalf red, GLhalf green, GLhalf blue); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalf* v); -typedef void (GLAPIENTRY * PFNGLTEXCOORD1HNVPROC) (GLhalf s); -typedef void (GLAPIENTRY * PFNGLTEXCOORD1HVNVPROC) (const GLhalf* v); -typedef void (GLAPIENTRY * PFNGLTEXCOORD2HNVPROC) (GLhalf s, GLhalf t); -typedef void (GLAPIENTRY * PFNGLTEXCOORD2HVNVPROC) (const GLhalf* v); -typedef void (GLAPIENTRY * PFNGLTEXCOORD3HNVPROC) (GLhalf s, GLhalf t, GLhalf r); -typedef void (GLAPIENTRY * PFNGLTEXCOORD3HVNVPROC) (const GLhalf* v); -typedef void (GLAPIENTRY * PFNGLTEXCOORD4HNVPROC) (GLhalf s, GLhalf t, GLhalf r, GLhalf q); -typedef void (GLAPIENTRY * PFNGLTEXCOORD4HVNVPROC) (const GLhalf* v); -typedef void (GLAPIENTRY * PFNGLVERTEX2HNVPROC) (GLhalf x, GLhalf y); -typedef void (GLAPIENTRY * PFNGLVERTEX2HVNVPROC) (const GLhalf* v); -typedef void (GLAPIENTRY * PFNGLVERTEX3HNVPROC) (GLhalf x, GLhalf y, GLhalf z); -typedef void (GLAPIENTRY * PFNGLVERTEX3HVNVPROC) (const GLhalf* v); -typedef void (GLAPIENTRY * PFNGLVERTEX4HNVPROC) (GLhalf x, GLhalf y, GLhalf z, GLhalf w); -typedef void (GLAPIENTRY * PFNGLVERTEX4HVNVPROC) (const GLhalf* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalf x); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalf* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalf x, GLhalf y); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalf* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalf x, GLhalf y, GLhalf z); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalf* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalf x, GLhalf y, GLhalf z, GLhalf w); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalf* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalf* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalf* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalf* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalf* v); -typedef void (GLAPIENTRY * PFNGLVERTEXWEIGHTHNVPROC) (GLhalf weight); -typedef void (GLAPIENTRY * PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalf* weight); - -#define glColor3hNV GLEW_GET_FUN(__glewColor3hNV) -#define glColor3hvNV GLEW_GET_FUN(__glewColor3hvNV) -#define glColor4hNV GLEW_GET_FUN(__glewColor4hNV) -#define glColor4hvNV GLEW_GET_FUN(__glewColor4hvNV) -#define glFogCoordhNV GLEW_GET_FUN(__glewFogCoordhNV) -#define glFogCoordhvNV GLEW_GET_FUN(__glewFogCoordhvNV) -#define glMultiTexCoord1hNV GLEW_GET_FUN(__glewMultiTexCoord1hNV) -#define glMultiTexCoord1hvNV GLEW_GET_FUN(__glewMultiTexCoord1hvNV) -#define glMultiTexCoord2hNV GLEW_GET_FUN(__glewMultiTexCoord2hNV) -#define glMultiTexCoord2hvNV GLEW_GET_FUN(__glewMultiTexCoord2hvNV) -#define glMultiTexCoord3hNV GLEW_GET_FUN(__glewMultiTexCoord3hNV) -#define glMultiTexCoord3hvNV GLEW_GET_FUN(__glewMultiTexCoord3hvNV) -#define glMultiTexCoord4hNV GLEW_GET_FUN(__glewMultiTexCoord4hNV) -#define glMultiTexCoord4hvNV GLEW_GET_FUN(__glewMultiTexCoord4hvNV) -#define glNormal3hNV GLEW_GET_FUN(__glewNormal3hNV) -#define glNormal3hvNV GLEW_GET_FUN(__glewNormal3hvNV) -#define glSecondaryColor3hNV GLEW_GET_FUN(__glewSecondaryColor3hNV) -#define glSecondaryColor3hvNV GLEW_GET_FUN(__glewSecondaryColor3hvNV) -#define glTexCoord1hNV GLEW_GET_FUN(__glewTexCoord1hNV) -#define glTexCoord1hvNV GLEW_GET_FUN(__glewTexCoord1hvNV) -#define glTexCoord2hNV GLEW_GET_FUN(__glewTexCoord2hNV) -#define glTexCoord2hvNV GLEW_GET_FUN(__glewTexCoord2hvNV) -#define glTexCoord3hNV GLEW_GET_FUN(__glewTexCoord3hNV) -#define glTexCoord3hvNV GLEW_GET_FUN(__glewTexCoord3hvNV) -#define glTexCoord4hNV GLEW_GET_FUN(__glewTexCoord4hNV) -#define glTexCoord4hvNV GLEW_GET_FUN(__glewTexCoord4hvNV) -#define glVertex2hNV GLEW_GET_FUN(__glewVertex2hNV) -#define glVertex2hvNV GLEW_GET_FUN(__glewVertex2hvNV) -#define glVertex3hNV GLEW_GET_FUN(__glewVertex3hNV) -#define glVertex3hvNV GLEW_GET_FUN(__glewVertex3hvNV) -#define glVertex4hNV GLEW_GET_FUN(__glewVertex4hNV) -#define glVertex4hvNV GLEW_GET_FUN(__glewVertex4hvNV) -#define glVertexAttrib1hNV GLEW_GET_FUN(__glewVertexAttrib1hNV) -#define glVertexAttrib1hvNV GLEW_GET_FUN(__glewVertexAttrib1hvNV) -#define glVertexAttrib2hNV GLEW_GET_FUN(__glewVertexAttrib2hNV) -#define glVertexAttrib2hvNV GLEW_GET_FUN(__glewVertexAttrib2hvNV) -#define glVertexAttrib3hNV GLEW_GET_FUN(__glewVertexAttrib3hNV) -#define glVertexAttrib3hvNV GLEW_GET_FUN(__glewVertexAttrib3hvNV) -#define glVertexAttrib4hNV GLEW_GET_FUN(__glewVertexAttrib4hNV) -#define glVertexAttrib4hvNV GLEW_GET_FUN(__glewVertexAttrib4hvNV) -#define glVertexAttribs1hvNV GLEW_GET_FUN(__glewVertexAttribs1hvNV) -#define glVertexAttribs2hvNV GLEW_GET_FUN(__glewVertexAttribs2hvNV) -#define glVertexAttribs3hvNV GLEW_GET_FUN(__glewVertexAttribs3hvNV) -#define glVertexAttribs4hvNV GLEW_GET_FUN(__glewVertexAttribs4hvNV) -#define glVertexWeighthNV GLEW_GET_FUN(__glewVertexWeighthNV) -#define glVertexWeighthvNV GLEW_GET_FUN(__glewVertexWeighthvNV) - -#define GLEW_NV_half_float GLEW_GET_VAR(__GLEW_NV_half_float) - -#endif /* GL_NV_half_float */ - -/* ------------------------ GL_NV_light_max_exponent ----------------------- */ - -#ifndef GL_NV_light_max_exponent -#define GL_NV_light_max_exponent 1 - -#define GL_MAX_SHININESS_NV 0x8504 -#define GL_MAX_SPOT_EXPONENT_NV 0x8505 - -#define GLEW_NV_light_max_exponent GLEW_GET_VAR(__GLEW_NV_light_max_exponent) - -#endif /* GL_NV_light_max_exponent */ - -/* ----------------------- GL_NV_multisample_coverage ---------------------- */ - -#ifndef GL_NV_multisample_coverage -#define GL_NV_multisample_coverage 1 - -#define GL_COVERAGE_SAMPLES_NV 0x80A9 -#define GL_COLOR_SAMPLES_NV 0x8E20 - -#define GLEW_NV_multisample_coverage GLEW_GET_VAR(__GLEW_NV_multisample_coverage) - -#endif /* GL_NV_multisample_coverage */ - -/* --------------------- GL_NV_multisample_filter_hint --------------------- */ - -#ifndef GL_NV_multisample_filter_hint -#define GL_NV_multisample_filter_hint 1 - -#define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534 - -#define GLEW_NV_multisample_filter_hint GLEW_GET_VAR(__GLEW_NV_multisample_filter_hint) - -#endif /* GL_NV_multisample_filter_hint */ - -/* ------------------------- GL_NV_occlusion_query ------------------------- */ - -#ifndef GL_NV_occlusion_query -#define GL_NV_occlusion_query 1 - -#define GL_PIXEL_COUNTER_BITS_NV 0x8864 -#define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865 -#define GL_PIXEL_COUNT_NV 0x8866 -#define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867 - -typedef void (GLAPIENTRY * PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id); -typedef void (GLAPIENTRY * PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint* ids); -typedef void (GLAPIENTRY * PFNGLENDOCCLUSIONQUERYNVPROC) (void); -typedef void (GLAPIENTRY * PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint* ids); -typedef void (GLAPIENTRY * PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint* params); -typedef GLboolean (GLAPIENTRY * PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id); - -#define glBeginOcclusionQueryNV GLEW_GET_FUN(__glewBeginOcclusionQueryNV) -#define glDeleteOcclusionQueriesNV GLEW_GET_FUN(__glewDeleteOcclusionQueriesNV) -#define glEndOcclusionQueryNV GLEW_GET_FUN(__glewEndOcclusionQueryNV) -#define glGenOcclusionQueriesNV GLEW_GET_FUN(__glewGenOcclusionQueriesNV) -#define glGetOcclusionQueryivNV GLEW_GET_FUN(__glewGetOcclusionQueryivNV) -#define glGetOcclusionQueryuivNV GLEW_GET_FUN(__glewGetOcclusionQueryuivNV) -#define glIsOcclusionQueryNV GLEW_GET_FUN(__glewIsOcclusionQueryNV) - -#define GLEW_NV_occlusion_query GLEW_GET_VAR(__GLEW_NV_occlusion_query) - -#endif /* GL_NV_occlusion_query */ - -/* ----------------------- GL_NV_packed_depth_stencil ---------------------- */ - -#ifndef GL_NV_packed_depth_stencil -#define GL_NV_packed_depth_stencil 1 - -#define GL_DEPTH_STENCIL_NV 0x84F9 -#define GL_UNSIGNED_INT_24_8_NV 0x84FA - -#define GLEW_NV_packed_depth_stencil GLEW_GET_VAR(__GLEW_NV_packed_depth_stencil) - -#endif /* GL_NV_packed_depth_stencil */ - -/* --------------------- GL_NV_parameter_buffer_object --------------------- */ - -#ifndef GL_NV_parameter_buffer_object -#define GL_NV_parameter_buffer_object 1 - -#define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0 -#define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1 -#define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2 -#define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3 -#define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4 - -typedef void (GLAPIENTRY * PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLint *params); -typedef void (GLAPIENTRY * PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLuint *params); -typedef void (GLAPIENTRY * PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLfloat *params); - -#define glProgramBufferParametersIivNV GLEW_GET_FUN(__glewProgramBufferParametersIivNV) -#define glProgramBufferParametersIuivNV GLEW_GET_FUN(__glewProgramBufferParametersIuivNV) -#define glProgramBufferParametersfvNV GLEW_GET_FUN(__glewProgramBufferParametersfvNV) - -#define GLEW_NV_parameter_buffer_object GLEW_GET_VAR(__GLEW_NV_parameter_buffer_object) - -#endif /* GL_NV_parameter_buffer_object */ - -/* --------------------- GL_NV_parameter_buffer_object2 -------------------- */ - -#ifndef GL_NV_parameter_buffer_object2 -#define GL_NV_parameter_buffer_object2 1 - -#define GLEW_NV_parameter_buffer_object2 GLEW_GET_VAR(__GLEW_NV_parameter_buffer_object2) - -#endif /* GL_NV_parameter_buffer_object2 */ - -/* -------------------------- GL_NV_path_rendering ------------------------- */ - -#ifndef GL_NV_path_rendering -#define GL_NV_path_rendering 1 - -#define GL_CLOSE_PATH_NV 0x00 -#define GL_BOLD_BIT_NV 0x01 -#define GL_GLYPH_WIDTH_BIT_NV 0x01 -#define GL_GLYPH_HEIGHT_BIT_NV 0x02 -#define GL_ITALIC_BIT_NV 0x02 -#define GL_MOVE_TO_NV 0x02 -#define GL_RELATIVE_MOVE_TO_NV 0x03 -#define GL_LINE_TO_NV 0x04 -#define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04 -#define GL_RELATIVE_LINE_TO_NV 0x05 -#define GL_HORIZONTAL_LINE_TO_NV 0x06 -#define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07 -#define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08 -#define GL_VERTICAL_LINE_TO_NV 0x08 -#define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09 -#define GL_QUADRATIC_CURVE_TO_NV 0x0A -#define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B -#define GL_CUBIC_CURVE_TO_NV 0x0C -#define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D -#define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E -#define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F -#define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10 -#define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10 -#define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11 -#define GL_SMALL_CCW_ARC_TO_NV 0x12 -#define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13 -#define GL_SMALL_CW_ARC_TO_NV 0x14 -#define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15 -#define GL_LARGE_CCW_ARC_TO_NV 0x16 -#define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17 -#define GL_LARGE_CW_ARC_TO_NV 0x18 -#define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19 -#define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20 -#define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40 -#define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80 -#define GL_RESTART_PATH_NV 0xF0 -#define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2 -#define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4 -#define GL_RECT_NV 0xF6 -#define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8 -#define GL_CIRCULAR_CW_ARC_TO_NV 0xFA -#define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC -#define GL_ARC_TO_NV 0xFE -#define GL_RELATIVE_ARC_TO_NV 0xFF -#define GL_GLYPH_HAS_KERNING_BIT_NV 0x100 -#define GL_PRIMARY_COLOR_NV 0x852C -#define GL_SECONDARY_COLOR_NV 0x852D -#define GL_PRIMARY_COLOR 0x8577 -#define GL_PATH_FORMAT_SVG_NV 0x9070 -#define GL_PATH_FORMAT_PS_NV 0x9071 -#define GL_STANDARD_FONT_NAME_NV 0x9072 -#define GL_SYSTEM_FONT_NAME_NV 0x9073 -#define GL_FILE_NAME_NV 0x9074 -#define GL_PATH_STROKE_WIDTH_NV 0x9075 -#define GL_PATH_END_CAPS_NV 0x9076 -#define GL_PATH_INITIAL_END_CAP_NV 0x9077 -#define GL_PATH_TERMINAL_END_CAP_NV 0x9078 -#define GL_PATH_JOIN_STYLE_NV 0x9079 -#define GL_PATH_MITER_LIMIT_NV 0x907A -#define GL_PATH_DASH_CAPS_NV 0x907B -#define GL_PATH_INITIAL_DASH_CAP_NV 0x907C -#define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D -#define GL_PATH_DASH_OFFSET_NV 0x907E -#define GL_PATH_CLIENT_LENGTH_NV 0x907F -#define GL_PATH_FILL_MODE_NV 0x9080 -#define GL_PATH_FILL_MASK_NV 0x9081 -#define GL_PATH_FILL_COVER_MODE_NV 0x9082 -#define GL_PATH_STROKE_COVER_MODE_NV 0x9083 -#define GL_PATH_STROKE_MASK_NV 0x9084 -#define GL_COUNT_UP_NV 0x9088 -#define GL_COUNT_DOWN_NV 0x9089 -#define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A -#define GL_CONVEX_HULL_NV 0x908B -#define GL_BOUNDING_BOX_NV 0x908D -#define GL_TRANSLATE_X_NV 0x908E -#define GL_TRANSLATE_Y_NV 0x908F -#define GL_TRANSLATE_2D_NV 0x9090 -#define GL_TRANSLATE_3D_NV 0x9091 -#define GL_AFFINE_2D_NV 0x9092 -#define GL_AFFINE_3D_NV 0x9094 -#define GL_TRANSPOSE_AFFINE_2D_NV 0x9096 -#define GL_TRANSPOSE_AFFINE_3D_NV 0x9098 -#define GL_UTF8_NV 0x909A -#define GL_UTF16_NV 0x909B -#define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C -#define GL_PATH_COMMAND_COUNT_NV 0x909D -#define GL_PATH_COORD_COUNT_NV 0x909E -#define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F -#define GL_PATH_COMPUTED_LENGTH_NV 0x90A0 -#define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1 -#define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2 -#define GL_SQUARE_NV 0x90A3 -#define GL_ROUND_NV 0x90A4 -#define GL_TRIANGULAR_NV 0x90A5 -#define GL_BEVEL_NV 0x90A6 -#define GL_MITER_REVERT_NV 0x90A7 -#define GL_MITER_TRUNCATE_NV 0x90A8 -#define GL_SKIP_MISSING_GLYPH_NV 0x90A9 -#define GL_USE_MISSING_GLYPH_NV 0x90AA -#define GL_PATH_ERROR_POSITION_NV 0x90AB -#define GL_PATH_FOG_GEN_MODE_NV 0x90AC -#define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD -#define GL_ADJACENT_PAIRS_NV 0x90AE -#define GL_FIRST_TO_REST_NV 0x90AF -#define GL_PATH_GEN_MODE_NV 0x90B0 -#define GL_PATH_GEN_COEFF_NV 0x90B1 -#define GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2 -#define GL_PATH_GEN_COMPONENTS_NV 0x90B3 -#define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4 -#define GL_MOVE_TO_RESETS_NV 0x90B5 -#define GL_MOVE_TO_CONTINUES_NV 0x90B6 -#define GL_PATH_STENCIL_FUNC_NV 0x90B7 -#define GL_PATH_STENCIL_REF_NV 0x90B8 -#define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9 -#define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD -#define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE -#define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF -#define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000 -#define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000 -#define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000 -#define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000 -#define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000 -#define GL_FONT_ASCENDER_BIT_NV 0x00200000 -#define GL_FONT_DESCENDER_BIT_NV 0x00400000 -#define GL_FONT_HEIGHT_BIT_NV 0x00800000 -#define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000 -#define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000 -#define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000 -#define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000 -#define GL_FONT_HAS_KERNING_BIT_NV 0x10000000 - -typedef void (GLAPIENTRY * PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath); -typedef void (GLAPIENTRY * PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void* paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); -typedef void (GLAPIENTRY * PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode); -typedef void (GLAPIENTRY * PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void* paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); -typedef void (GLAPIENTRY * PFNGLCOVERSTROKEPATHNVPROC) (GLuint name, GLenum coverMode); -typedef void (GLAPIENTRY * PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range); -typedef GLuint (GLAPIENTRY * PFNGLGENPATHSNVPROC) (GLsizei range); -typedef void (GLAPIENTRY * PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat* value); -typedef void (GLAPIENTRY * PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint* value); -typedef void (GLAPIENTRY * PFNGLGETPATHCOMMANDSNVPROC) (GLuint name, GLubyte* commands); -typedef void (GLAPIENTRY * PFNGLGETPATHCOORDSNVPROC) (GLuint name, GLfloat* coords); -typedef void (GLAPIENTRY * PFNGLGETPATHDASHARRAYNVPROC) (GLuint name, GLfloat* dashArray); -typedef GLfloat (GLAPIENTRY * PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments); -typedef void (GLAPIENTRY * PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint fistPathName, GLsizei numPaths, GLsizei stride, GLfloat* metrics); -typedef void (GLAPIENTRY * PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void* paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); -typedef void (GLAPIENTRY * PFNGLGETPATHPARAMETERFVNVPROC) (GLuint name, GLenum param, GLfloat* value); -typedef void (GLAPIENTRY * PFNGLGETPATHPARAMETERIVNVPROC) (GLuint name, GLenum param, GLint* value); -typedef void (GLAPIENTRY * PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void* paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing); -typedef void (GLAPIENTRY * PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat* value); -typedef void (GLAPIENTRY * PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint* value); -typedef void (GLAPIENTRY * PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); -typedef GLboolean (GLAPIENTRY * PFNGLISPATHNVPROC) (GLuint path); -typedef GLboolean (GLAPIENTRY * PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y); -typedef GLboolean (GLAPIENTRY * PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y); -typedef void (GLAPIENTRY * PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat* coeffs); -typedef void (GLAPIENTRY * PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte* commands, GLsizei numCoords, GLenum coordType, const GLvoid*coords); -typedef void (GLAPIENTRY * PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void* coords); -typedef void (GLAPIENTRY * PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum zfunc); -typedef void (GLAPIENTRY * PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat* dashArray); -typedef void (GLAPIENTRY * PFNGLPATHFOGGENNVPROC) (GLenum genMode); -typedef void (GLAPIENTRY * PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void* fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); -typedef void (GLAPIENTRY * PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const void* fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const GLvoid*charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); -typedef void (GLAPIENTRY * PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value); -typedef void (GLAPIENTRY * PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat* value); -typedef void (GLAPIENTRY * PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value); -typedef void (GLAPIENTRY * PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint* value); -typedef void (GLAPIENTRY * PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units); -typedef void (GLAPIENTRY * PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask); -typedef void (GLAPIENTRY * PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void* pathString); -typedef void (GLAPIENTRY * PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte* commands, GLsizei numCoords, GLenum coordType, const GLvoid*coords); -typedef void (GLAPIENTRY * PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void* coords); -typedef void (GLAPIENTRY * PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat* coeffs); -typedef GLboolean (GLAPIENTRY * PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat* x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY); -typedef void (GLAPIENTRY * PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void* paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues); -typedef void (GLAPIENTRY * PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask); -typedef void (GLAPIENTRY * PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void* paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues); -typedef void (GLAPIENTRY * PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask); -typedef void (GLAPIENTRY * PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat* transformValues); -typedef void (GLAPIENTRY * PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint paths[], const GLfloat weights[]); - -#define glCopyPathNV GLEW_GET_FUN(__glewCopyPathNV) -#define glCoverFillPathInstancedNV GLEW_GET_FUN(__glewCoverFillPathInstancedNV) -#define glCoverFillPathNV GLEW_GET_FUN(__glewCoverFillPathNV) -#define glCoverStrokePathInstancedNV GLEW_GET_FUN(__glewCoverStrokePathInstancedNV) -#define glCoverStrokePathNV GLEW_GET_FUN(__glewCoverStrokePathNV) -#define glDeletePathsNV GLEW_GET_FUN(__glewDeletePathsNV) -#define glGenPathsNV GLEW_GET_FUN(__glewGenPathsNV) -#define glGetPathColorGenfvNV GLEW_GET_FUN(__glewGetPathColorGenfvNV) -#define glGetPathColorGenivNV GLEW_GET_FUN(__glewGetPathColorGenivNV) -#define glGetPathCommandsNV GLEW_GET_FUN(__glewGetPathCommandsNV) -#define glGetPathCoordsNV GLEW_GET_FUN(__glewGetPathCoordsNV) -#define glGetPathDashArrayNV GLEW_GET_FUN(__glewGetPathDashArrayNV) -#define glGetPathLengthNV GLEW_GET_FUN(__glewGetPathLengthNV) -#define glGetPathMetricRangeNV GLEW_GET_FUN(__glewGetPathMetricRangeNV) -#define glGetPathMetricsNV GLEW_GET_FUN(__glewGetPathMetricsNV) -#define glGetPathParameterfvNV GLEW_GET_FUN(__glewGetPathParameterfvNV) -#define glGetPathParameterivNV GLEW_GET_FUN(__glewGetPathParameterivNV) -#define glGetPathSpacingNV GLEW_GET_FUN(__glewGetPathSpacingNV) -#define glGetPathTexGenfvNV GLEW_GET_FUN(__glewGetPathTexGenfvNV) -#define glGetPathTexGenivNV GLEW_GET_FUN(__glewGetPathTexGenivNV) -#define glInterpolatePathsNV GLEW_GET_FUN(__glewInterpolatePathsNV) -#define glIsPathNV GLEW_GET_FUN(__glewIsPathNV) -#define glIsPointInFillPathNV GLEW_GET_FUN(__glewIsPointInFillPathNV) -#define glIsPointInStrokePathNV GLEW_GET_FUN(__glewIsPointInStrokePathNV) -#define glPathColorGenNV GLEW_GET_FUN(__glewPathColorGenNV) -#define glPathCommandsNV GLEW_GET_FUN(__glewPathCommandsNV) -#define glPathCoordsNV GLEW_GET_FUN(__glewPathCoordsNV) -#define glPathCoverDepthFuncNV GLEW_GET_FUN(__glewPathCoverDepthFuncNV) -#define glPathDashArrayNV GLEW_GET_FUN(__glewPathDashArrayNV) -#define glPathFogGenNV GLEW_GET_FUN(__glewPathFogGenNV) -#define glPathGlyphRangeNV GLEW_GET_FUN(__glewPathGlyphRangeNV) -#define glPathGlyphsNV GLEW_GET_FUN(__glewPathGlyphsNV) -#define glPathParameterfNV GLEW_GET_FUN(__glewPathParameterfNV) -#define glPathParameterfvNV GLEW_GET_FUN(__glewPathParameterfvNV) -#define glPathParameteriNV GLEW_GET_FUN(__glewPathParameteriNV) -#define glPathParameterivNV GLEW_GET_FUN(__glewPathParameterivNV) -#define glPathStencilDepthOffsetNV GLEW_GET_FUN(__glewPathStencilDepthOffsetNV) -#define glPathStencilFuncNV GLEW_GET_FUN(__glewPathStencilFuncNV) -#define glPathStringNV GLEW_GET_FUN(__glewPathStringNV) -#define glPathSubCommandsNV GLEW_GET_FUN(__glewPathSubCommandsNV) -#define glPathSubCoordsNV GLEW_GET_FUN(__glewPathSubCoordsNV) -#define glPathTexGenNV GLEW_GET_FUN(__glewPathTexGenNV) -#define glPointAlongPathNV GLEW_GET_FUN(__glewPointAlongPathNV) -#define glStencilFillPathInstancedNV GLEW_GET_FUN(__glewStencilFillPathInstancedNV) -#define glStencilFillPathNV GLEW_GET_FUN(__glewStencilFillPathNV) -#define glStencilStrokePathInstancedNV GLEW_GET_FUN(__glewStencilStrokePathInstancedNV) -#define glStencilStrokePathNV GLEW_GET_FUN(__glewStencilStrokePathNV) -#define glTransformPathNV GLEW_GET_FUN(__glewTransformPathNV) -#define glWeightPathsNV GLEW_GET_FUN(__glewWeightPathsNV) - -#define GLEW_NV_path_rendering GLEW_GET_VAR(__GLEW_NV_path_rendering) - -#endif /* GL_NV_path_rendering */ - -/* ------------------------- GL_NV_pixel_data_range ------------------------ */ - -#ifndef GL_NV_pixel_data_range -#define GL_NV_pixel_data_range 1 - -#define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878 -#define GL_READ_PIXEL_DATA_RANGE_NV 0x8879 -#define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A -#define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B -#define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C -#define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D - -typedef void (GLAPIENTRY * PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target); -typedef void (GLAPIENTRY * PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, void* pointer); - -#define glFlushPixelDataRangeNV GLEW_GET_FUN(__glewFlushPixelDataRangeNV) -#define glPixelDataRangeNV GLEW_GET_FUN(__glewPixelDataRangeNV) - -#define GLEW_NV_pixel_data_range GLEW_GET_VAR(__GLEW_NV_pixel_data_range) - -#endif /* GL_NV_pixel_data_range */ - -/* --------------------------- GL_NV_point_sprite -------------------------- */ - -#ifndef GL_NV_point_sprite -#define GL_NV_point_sprite 1 - -#define GL_POINT_SPRITE_NV 0x8861 -#define GL_COORD_REPLACE_NV 0x8862 -#define GL_POINT_SPRITE_R_MODE_NV 0x8863 - -typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param); -typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint* params); - -#define glPointParameteriNV GLEW_GET_FUN(__glewPointParameteriNV) -#define glPointParameterivNV GLEW_GET_FUN(__glewPointParameterivNV) - -#define GLEW_NV_point_sprite GLEW_GET_VAR(__GLEW_NV_point_sprite) - -#endif /* GL_NV_point_sprite */ - -/* -------------------------- GL_NV_present_video -------------------------- */ - -#ifndef GL_NV_present_video -#define GL_NV_present_video 1 - -#define GL_FRAME_NV 0x8E26 -#define GL_FIELDS_NV 0x8E27 -#define GL_CURRENT_TIME_NV 0x8E28 -#define GL_NUM_FILL_STREAMS_NV 0x8E29 -#define GL_PRESENT_TIME_NV 0x8E2A -#define GL_PRESENT_DURATION_NV 0x8E2B - -typedef void (GLAPIENTRY * PFNGLGETVIDEOI64VNVPROC) (GLuint video_slot, GLenum pname, GLint64EXT* params); -typedef void (GLAPIENTRY * PFNGLGETVIDEOIVNVPROC) (GLuint video_slot, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETVIDEOUI64VNVPROC) (GLuint video_slot, GLenum pname, GLuint64EXT* params); -typedef void (GLAPIENTRY * PFNGLGETVIDEOUIVNVPROC) (GLuint video_slot, GLenum pname, GLuint* params); -typedef void (GLAPIENTRY * PFNGLPRESENTFRAMEDUALFILLNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3); -typedef void (GLAPIENTRY * PFNGLPRESENTFRAMEKEYEDNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1); - -#define glGetVideoi64vNV GLEW_GET_FUN(__glewGetVideoi64vNV) -#define glGetVideoivNV GLEW_GET_FUN(__glewGetVideoivNV) -#define glGetVideoui64vNV GLEW_GET_FUN(__glewGetVideoui64vNV) -#define glGetVideouivNV GLEW_GET_FUN(__glewGetVideouivNV) -#define glPresentFrameDualFillNV GLEW_GET_FUN(__glewPresentFrameDualFillNV) -#define glPresentFrameKeyedNV GLEW_GET_FUN(__glewPresentFrameKeyedNV) - -#define GLEW_NV_present_video GLEW_GET_VAR(__GLEW_NV_present_video) - -#endif /* GL_NV_present_video */ - -/* ------------------------ GL_NV_primitive_restart ------------------------ */ - -#ifndef GL_NV_primitive_restart -#define GL_NV_primitive_restart 1 - -#define GL_PRIMITIVE_RESTART_NV 0x8558 -#define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559 - -typedef void (GLAPIENTRY * PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index); -typedef void (GLAPIENTRY * PFNGLPRIMITIVERESTARTNVPROC) (void); - -#define glPrimitiveRestartIndexNV GLEW_GET_FUN(__glewPrimitiveRestartIndexNV) -#define glPrimitiveRestartNV GLEW_GET_FUN(__glewPrimitiveRestartNV) - -#define GLEW_NV_primitive_restart GLEW_GET_VAR(__GLEW_NV_primitive_restart) - -#endif /* GL_NV_primitive_restart */ - -/* ------------------------ GL_NV_register_combiners ----------------------- */ - -#ifndef GL_NV_register_combiners -#define GL_NV_register_combiners 1 - -#define GL_REGISTER_COMBINERS_NV 0x8522 -#define GL_VARIABLE_A_NV 0x8523 -#define GL_VARIABLE_B_NV 0x8524 -#define GL_VARIABLE_C_NV 0x8525 -#define GL_VARIABLE_D_NV 0x8526 -#define GL_VARIABLE_E_NV 0x8527 -#define GL_VARIABLE_F_NV 0x8528 -#define GL_VARIABLE_G_NV 0x8529 -#define GL_CONSTANT_COLOR0_NV 0x852A -#define GL_CONSTANT_COLOR1_NV 0x852B -#define GL_PRIMARY_COLOR_NV 0x852C -#define GL_SECONDARY_COLOR_NV 0x852D -#define GL_SPARE0_NV 0x852E -#define GL_SPARE1_NV 0x852F -#define GL_DISCARD_NV 0x8530 -#define GL_E_TIMES_F_NV 0x8531 -#define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532 -#define GL_UNSIGNED_IDENTITY_NV 0x8536 -#define GL_UNSIGNED_INVERT_NV 0x8537 -#define GL_EXPAND_NORMAL_NV 0x8538 -#define GL_EXPAND_NEGATE_NV 0x8539 -#define GL_HALF_BIAS_NORMAL_NV 0x853A -#define GL_HALF_BIAS_NEGATE_NV 0x853B -#define GL_SIGNED_IDENTITY_NV 0x853C -#define GL_SIGNED_NEGATE_NV 0x853D -#define GL_SCALE_BY_TWO_NV 0x853E -#define GL_SCALE_BY_FOUR_NV 0x853F -#define GL_SCALE_BY_ONE_HALF_NV 0x8540 -#define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541 -#define GL_COMBINER_INPUT_NV 0x8542 -#define GL_COMBINER_MAPPING_NV 0x8543 -#define GL_COMBINER_COMPONENT_USAGE_NV 0x8544 -#define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545 -#define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546 -#define GL_COMBINER_MUX_SUM_NV 0x8547 -#define GL_COMBINER_SCALE_NV 0x8548 -#define GL_COMBINER_BIAS_NV 0x8549 -#define GL_COMBINER_AB_OUTPUT_NV 0x854A -#define GL_COMBINER_CD_OUTPUT_NV 0x854B -#define GL_COMBINER_SUM_OUTPUT_NV 0x854C -#define GL_MAX_GENERAL_COMBINERS_NV 0x854D -#define GL_NUM_GENERAL_COMBINERS_NV 0x854E -#define GL_COLOR_SUM_CLAMP_NV 0x854F -#define GL_COMBINER0_NV 0x8550 -#define GL_COMBINER1_NV 0x8551 -#define GL_COMBINER2_NV 0x8552 -#define GL_COMBINER3_NV 0x8553 -#define GL_COMBINER4_NV 0x8554 -#define GL_COMBINER5_NV 0x8555 -#define GL_COMBINER6_NV 0x8556 -#define GL_COMBINER7_NV 0x8557 - -typedef void (GLAPIENTRY * PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); -typedef void (GLAPIENTRY * PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); -typedef void (GLAPIENTRY * PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param); -typedef void (GLAPIENTRY * PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param); -typedef void (GLAPIENTRY * PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint* params); -typedef void (GLAPIENTRY * PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); -typedef void (GLAPIENTRY * PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint* params); - -#define glCombinerInputNV GLEW_GET_FUN(__glewCombinerInputNV) -#define glCombinerOutputNV GLEW_GET_FUN(__glewCombinerOutputNV) -#define glCombinerParameterfNV GLEW_GET_FUN(__glewCombinerParameterfNV) -#define glCombinerParameterfvNV GLEW_GET_FUN(__glewCombinerParameterfvNV) -#define glCombinerParameteriNV GLEW_GET_FUN(__glewCombinerParameteriNV) -#define glCombinerParameterivNV GLEW_GET_FUN(__glewCombinerParameterivNV) -#define glFinalCombinerInputNV GLEW_GET_FUN(__glewFinalCombinerInputNV) -#define glGetCombinerInputParameterfvNV GLEW_GET_FUN(__glewGetCombinerInputParameterfvNV) -#define glGetCombinerInputParameterivNV GLEW_GET_FUN(__glewGetCombinerInputParameterivNV) -#define glGetCombinerOutputParameterfvNV GLEW_GET_FUN(__glewGetCombinerOutputParameterfvNV) -#define glGetCombinerOutputParameterivNV GLEW_GET_FUN(__glewGetCombinerOutputParameterivNV) -#define glGetFinalCombinerInputParameterfvNV GLEW_GET_FUN(__glewGetFinalCombinerInputParameterfvNV) -#define glGetFinalCombinerInputParameterivNV GLEW_GET_FUN(__glewGetFinalCombinerInputParameterivNV) - -#define GLEW_NV_register_combiners GLEW_GET_VAR(__GLEW_NV_register_combiners) - -#endif /* GL_NV_register_combiners */ - -/* ----------------------- GL_NV_register_combiners2 ----------------------- */ - -#ifndef GL_NV_register_combiners2 -#define GL_NV_register_combiners2 1 - -#define GL_PER_STAGE_CONSTANTS_NV 0x8535 - -typedef void (GLAPIENTRY * PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat* params); - -#define glCombinerStageParameterfvNV GLEW_GET_FUN(__glewCombinerStageParameterfvNV) -#define glGetCombinerStageParameterfvNV GLEW_GET_FUN(__glewGetCombinerStageParameterfvNV) - -#define GLEW_NV_register_combiners2 GLEW_GET_VAR(__GLEW_NV_register_combiners2) - -#endif /* GL_NV_register_combiners2 */ - -/* ----------------------- GL_NV_shader_atomic_float ----------------------- */ - -#ifndef GL_NV_shader_atomic_float -#define GL_NV_shader_atomic_float 1 - -#define GLEW_NV_shader_atomic_float GLEW_GET_VAR(__GLEW_NV_shader_atomic_float) - -#endif /* GL_NV_shader_atomic_float */ - -/* ------------------------ GL_NV_shader_buffer_load ----------------------- */ - -#ifndef GL_NV_shader_buffer_load -#define GL_NV_shader_buffer_load 1 - -#define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D -#define GL_GPU_ADDRESS_NV 0x8F34 -#define GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35 - -typedef void (GLAPIENTRY * PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT* params); -typedef void (GLAPIENTRY * PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64EXT* result); -typedef void (GLAPIENTRY * PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint buffer, GLenum pname, GLuint64EXT* params); -typedef GLboolean (GLAPIENTRY * PFNGLISBUFFERRESIDENTNVPROC) (GLenum target); -typedef GLboolean (GLAPIENTRY * PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buffer); -typedef void (GLAPIENTRY * PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target); -typedef void (GLAPIENTRY * PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access); -typedef void (GLAPIENTRY * PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buffer); -typedef void (GLAPIENTRY * PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLint location, GLuint64EXT value); -typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT* value); -typedef void (GLAPIENTRY * PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EXT value); -typedef void (GLAPIENTRY * PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT* value); - -#define glGetBufferParameterui64vNV GLEW_GET_FUN(__glewGetBufferParameterui64vNV) -#define glGetIntegerui64vNV GLEW_GET_FUN(__glewGetIntegerui64vNV) -#define glGetNamedBufferParameterui64vNV GLEW_GET_FUN(__glewGetNamedBufferParameterui64vNV) -#define glIsBufferResidentNV GLEW_GET_FUN(__glewIsBufferResidentNV) -#define glIsNamedBufferResidentNV GLEW_GET_FUN(__glewIsNamedBufferResidentNV) -#define glMakeBufferNonResidentNV GLEW_GET_FUN(__glewMakeBufferNonResidentNV) -#define glMakeBufferResidentNV GLEW_GET_FUN(__glewMakeBufferResidentNV) -#define glMakeNamedBufferNonResidentNV GLEW_GET_FUN(__glewMakeNamedBufferNonResidentNV) -#define glMakeNamedBufferResidentNV GLEW_GET_FUN(__glewMakeNamedBufferResidentNV) -#define glProgramUniformui64NV GLEW_GET_FUN(__glewProgramUniformui64NV) -#define glProgramUniformui64vNV GLEW_GET_FUN(__glewProgramUniformui64vNV) -#define glUniformui64NV GLEW_GET_FUN(__glewUniformui64NV) -#define glUniformui64vNV GLEW_GET_FUN(__glewUniformui64vNV) - -#define GLEW_NV_shader_buffer_load GLEW_GET_VAR(__GLEW_NV_shader_buffer_load) - -#endif /* GL_NV_shader_buffer_load */ - -/* ---------------------- GL_NV_tessellation_program5 ---------------------- */ - -#ifndef GL_NV_tessellation_program5 -#define GL_NV_tessellation_program5 1 - -#define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8 -#define GL_TESS_CONTROL_PROGRAM_NV 0x891E -#define GL_TESS_EVALUATION_PROGRAM_NV 0x891F -#define GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74 -#define GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75 - -#define GLEW_NV_tessellation_program5 GLEW_GET_VAR(__GLEW_NV_tessellation_program5) - -#endif /* GL_NV_tessellation_program5 */ - -/* -------------------------- GL_NV_texgen_emboss -------------------------- */ - -#ifndef GL_NV_texgen_emboss -#define GL_NV_texgen_emboss 1 - -#define GL_EMBOSS_LIGHT_NV 0x855D -#define GL_EMBOSS_CONSTANT_NV 0x855E -#define GL_EMBOSS_MAP_NV 0x855F - -#define GLEW_NV_texgen_emboss GLEW_GET_VAR(__GLEW_NV_texgen_emboss) - -#endif /* GL_NV_texgen_emboss */ - -/* ------------------------ GL_NV_texgen_reflection ------------------------ */ - -#ifndef GL_NV_texgen_reflection -#define GL_NV_texgen_reflection 1 - -#define GL_NORMAL_MAP_NV 0x8511 -#define GL_REFLECTION_MAP_NV 0x8512 - -#define GLEW_NV_texgen_reflection GLEW_GET_VAR(__GLEW_NV_texgen_reflection) - -#endif /* GL_NV_texgen_reflection */ - -/* ------------------------- GL_NV_texture_barrier ------------------------- */ - -#ifndef GL_NV_texture_barrier -#define GL_NV_texture_barrier 1 - -typedef void (GLAPIENTRY * PFNGLTEXTUREBARRIERNVPROC) (void); - -#define glTextureBarrierNV GLEW_GET_FUN(__glewTextureBarrierNV) - -#define GLEW_NV_texture_barrier GLEW_GET_VAR(__GLEW_NV_texture_barrier) - -#endif /* GL_NV_texture_barrier */ - -/* --------------------- GL_NV_texture_compression_vtc --------------------- */ - -#ifndef GL_NV_texture_compression_vtc -#define GL_NV_texture_compression_vtc 1 - -#define GLEW_NV_texture_compression_vtc GLEW_GET_VAR(__GLEW_NV_texture_compression_vtc) - -#endif /* GL_NV_texture_compression_vtc */ - -/* ----------------------- GL_NV_texture_env_combine4 ---------------------- */ - -#ifndef GL_NV_texture_env_combine4 -#define GL_NV_texture_env_combine4 1 - -#define GL_COMBINE4_NV 0x8503 -#define GL_SOURCE3_RGB_NV 0x8583 -#define GL_SOURCE3_ALPHA_NV 0x858B -#define GL_OPERAND3_RGB_NV 0x8593 -#define GL_OPERAND3_ALPHA_NV 0x859B - -#define GLEW_NV_texture_env_combine4 GLEW_GET_VAR(__GLEW_NV_texture_env_combine4) - -#endif /* GL_NV_texture_env_combine4 */ - -/* ---------------------- GL_NV_texture_expand_normal ---------------------- */ - -#ifndef GL_NV_texture_expand_normal -#define GL_NV_texture_expand_normal 1 - -#define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F - -#define GLEW_NV_texture_expand_normal GLEW_GET_VAR(__GLEW_NV_texture_expand_normal) - -#endif /* GL_NV_texture_expand_normal */ - -/* ----------------------- GL_NV_texture_multisample ----------------------- */ - -#ifndef GL_NV_texture_multisample -#define GL_NV_texture_multisample 1 - -#define GL_TEXTURE_COVERAGE_SAMPLES_NV 0x9045 -#define GL_TEXTURE_COLOR_SAMPLES_NV 0x9046 - -typedef void (GLAPIENTRY * PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); -typedef void (GLAPIENTRY * PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); -typedef void (GLAPIENTRY * PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); -typedef void (GLAPIENTRY * PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); -typedef void (GLAPIENTRY * PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); -typedef void (GLAPIENTRY * PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); - -#define glTexImage2DMultisampleCoverageNV GLEW_GET_FUN(__glewTexImage2DMultisampleCoverageNV) -#define glTexImage3DMultisampleCoverageNV GLEW_GET_FUN(__glewTexImage3DMultisampleCoverageNV) -#define glTextureImage2DMultisampleCoverageNV GLEW_GET_FUN(__glewTextureImage2DMultisampleCoverageNV) -#define glTextureImage2DMultisampleNV GLEW_GET_FUN(__glewTextureImage2DMultisampleNV) -#define glTextureImage3DMultisampleCoverageNV GLEW_GET_FUN(__glewTextureImage3DMultisampleCoverageNV) -#define glTextureImage3DMultisampleNV GLEW_GET_FUN(__glewTextureImage3DMultisampleNV) - -#define GLEW_NV_texture_multisample GLEW_GET_VAR(__GLEW_NV_texture_multisample) - -#endif /* GL_NV_texture_multisample */ - -/* ------------------------ GL_NV_texture_rectangle ------------------------ */ - -#ifndef GL_NV_texture_rectangle -#define GL_NV_texture_rectangle 1 - -#define GL_TEXTURE_RECTANGLE_NV 0x84F5 -#define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6 -#define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7 -#define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8 - -#define GLEW_NV_texture_rectangle GLEW_GET_VAR(__GLEW_NV_texture_rectangle) - -#endif /* GL_NV_texture_rectangle */ - -/* -------------------------- GL_NV_texture_shader ------------------------- */ - -#ifndef GL_NV_texture_shader -#define GL_NV_texture_shader 1 - -#define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C -#define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D -#define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E -#define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9 -#define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA -#define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB -#define GL_DSDT_MAG_INTENSITY_NV 0x86DC -#define GL_SHADER_CONSISTENT_NV 0x86DD -#define GL_TEXTURE_SHADER_NV 0x86DE -#define GL_SHADER_OPERATION_NV 0x86DF -#define GL_CULL_MODES_NV 0x86E0 -#define GL_OFFSET_TEXTURE_2D_MATRIX_NV 0x86E1 -#define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1 -#define GL_OFFSET_TEXTURE_2D_SCALE_NV 0x86E2 -#define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2 -#define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3 -#define GL_OFFSET_TEXTURE_2D_BIAS_NV 0x86E3 -#define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4 -#define GL_CONST_EYE_NV 0x86E5 -#define GL_PASS_THROUGH_NV 0x86E6 -#define GL_CULL_FRAGMENT_NV 0x86E7 -#define GL_OFFSET_TEXTURE_2D_NV 0x86E8 -#define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9 -#define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA -#define GL_DOT_PRODUCT_NV 0x86EC -#define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED -#define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE -#define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0 -#define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1 -#define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2 -#define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3 -#define GL_HILO_NV 0x86F4 -#define GL_DSDT_NV 0x86F5 -#define GL_DSDT_MAG_NV 0x86F6 -#define GL_DSDT_MAG_VIB_NV 0x86F7 -#define GL_HILO16_NV 0x86F8 -#define GL_SIGNED_HILO_NV 0x86F9 -#define GL_SIGNED_HILO16_NV 0x86FA -#define GL_SIGNED_RGBA_NV 0x86FB -#define GL_SIGNED_RGBA8_NV 0x86FC -#define GL_SIGNED_RGB_NV 0x86FE -#define GL_SIGNED_RGB8_NV 0x86FF -#define GL_SIGNED_LUMINANCE_NV 0x8701 -#define GL_SIGNED_LUMINANCE8_NV 0x8702 -#define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703 -#define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704 -#define GL_SIGNED_ALPHA_NV 0x8705 -#define GL_SIGNED_ALPHA8_NV 0x8706 -#define GL_SIGNED_INTENSITY_NV 0x8707 -#define GL_SIGNED_INTENSITY8_NV 0x8708 -#define GL_DSDT8_NV 0x8709 -#define GL_DSDT8_MAG8_NV 0x870A -#define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B -#define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C -#define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D -#define GL_HI_SCALE_NV 0x870E -#define GL_LO_SCALE_NV 0x870F -#define GL_DS_SCALE_NV 0x8710 -#define GL_DT_SCALE_NV 0x8711 -#define GL_MAGNITUDE_SCALE_NV 0x8712 -#define GL_VIBRANCE_SCALE_NV 0x8713 -#define GL_HI_BIAS_NV 0x8714 -#define GL_LO_BIAS_NV 0x8715 -#define GL_DS_BIAS_NV 0x8716 -#define GL_DT_BIAS_NV 0x8717 -#define GL_MAGNITUDE_BIAS_NV 0x8718 -#define GL_VIBRANCE_BIAS_NV 0x8719 -#define GL_TEXTURE_BORDER_VALUES_NV 0x871A -#define GL_TEXTURE_HI_SIZE_NV 0x871B -#define GL_TEXTURE_LO_SIZE_NV 0x871C -#define GL_TEXTURE_DS_SIZE_NV 0x871D -#define GL_TEXTURE_DT_SIZE_NV 0x871E -#define GL_TEXTURE_MAG_SIZE_NV 0x871F - -#define GLEW_NV_texture_shader GLEW_GET_VAR(__GLEW_NV_texture_shader) - -#endif /* GL_NV_texture_shader */ - -/* ------------------------- GL_NV_texture_shader2 ------------------------- */ - -#ifndef GL_NV_texture_shader2 -#define GL_NV_texture_shader2 1 - -#define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA -#define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB -#define GL_DSDT_MAG_INTENSITY_NV 0x86DC -#define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF -#define GL_HILO_NV 0x86F4 -#define GL_DSDT_NV 0x86F5 -#define GL_DSDT_MAG_NV 0x86F6 -#define GL_DSDT_MAG_VIB_NV 0x86F7 -#define GL_HILO16_NV 0x86F8 -#define GL_SIGNED_HILO_NV 0x86F9 -#define GL_SIGNED_HILO16_NV 0x86FA -#define GL_SIGNED_RGBA_NV 0x86FB -#define GL_SIGNED_RGBA8_NV 0x86FC -#define GL_SIGNED_RGB_NV 0x86FE -#define GL_SIGNED_RGB8_NV 0x86FF -#define GL_SIGNED_LUMINANCE_NV 0x8701 -#define GL_SIGNED_LUMINANCE8_NV 0x8702 -#define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703 -#define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704 -#define GL_SIGNED_ALPHA_NV 0x8705 -#define GL_SIGNED_ALPHA8_NV 0x8706 -#define GL_SIGNED_INTENSITY_NV 0x8707 -#define GL_SIGNED_INTENSITY8_NV 0x8708 -#define GL_DSDT8_NV 0x8709 -#define GL_DSDT8_MAG8_NV 0x870A -#define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B -#define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C -#define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D - -#define GLEW_NV_texture_shader2 GLEW_GET_VAR(__GLEW_NV_texture_shader2) - -#endif /* GL_NV_texture_shader2 */ - -/* ------------------------- GL_NV_texture_shader3 ------------------------- */ - -#ifndef GL_NV_texture_shader3 -#define GL_NV_texture_shader3 1 - -#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850 -#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851 -#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852 -#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853 -#define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854 -#define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855 -#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856 -#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857 -#define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858 -#define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859 -#define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A -#define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B -#define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C -#define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D -#define GL_HILO8_NV 0x885E -#define GL_SIGNED_HILO8_NV 0x885F -#define GL_FORCE_BLUE_TO_ONE_NV 0x8860 - -#define GLEW_NV_texture_shader3 GLEW_GET_VAR(__GLEW_NV_texture_shader3) - -#endif /* GL_NV_texture_shader3 */ - -/* ------------------------ GL_NV_transform_feedback ----------------------- */ - -#ifndef GL_NV_transform_feedback -#define GL_NV_transform_feedback 1 - -#define GL_BACK_PRIMARY_COLOR_NV 0x8C77 -#define GL_BACK_SECONDARY_COLOR_NV 0x8C78 -#define GL_TEXTURE_COORD_NV 0x8C79 -#define GL_CLIP_DISTANCE_NV 0x8C7A -#define GL_VERTEX_ID_NV 0x8C7B -#define GL_PRIMITIVE_ID_NV 0x8C7C -#define GL_GENERIC_ATTRIB_NV 0x8C7D -#define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV 0x8C7E -#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80 -#define GL_ACTIVE_VARYINGS_NV 0x8C81 -#define GL_ACTIVE_VARYING_MAX_LENGTH_NV 0x8C82 -#define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83 -#define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84 -#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85 -#define GL_TRANSFORM_FEEDBACK_RECORD_NV 0x8C86 -#define GL_PRIMITIVES_GENERATED_NV 0x8C87 -#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88 -#define GL_RASTERIZER_DISCARD_NV 0x8C89 -#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_NV 0x8C8A -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B -#define GL_INTERLEAVED_ATTRIBS_NV 0x8C8C -#define GL_SEPARATE_ATTRIBS_NV 0x8C8D -#define GL_TRANSFORM_FEEDBACK_BUFFER_NV 0x8C8E -#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F - -typedef void (GLAPIENTRY * PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name); -typedef void (GLAPIENTRY * PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode); -typedef void (GLAPIENTRY * PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer); -typedef void (GLAPIENTRY * PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset); -typedef void (GLAPIENTRY * PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -typedef void (GLAPIENTRY * PFNGLENDTRANSFORMFEEDBACKNVPROC) (void); -typedef void (GLAPIENTRY * PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); -typedef void (GLAPIENTRY * PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location); -typedef GLint (GLAPIENTRY * PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name); -typedef void (GLAPIENTRY * PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode); -typedef void (GLAPIENTRY * PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode); - -#define glActiveVaryingNV GLEW_GET_FUN(__glewActiveVaryingNV) -#define glBeginTransformFeedbackNV GLEW_GET_FUN(__glewBeginTransformFeedbackNV) -#define glBindBufferBaseNV GLEW_GET_FUN(__glewBindBufferBaseNV) -#define glBindBufferOffsetNV GLEW_GET_FUN(__glewBindBufferOffsetNV) -#define glBindBufferRangeNV GLEW_GET_FUN(__glewBindBufferRangeNV) -#define glEndTransformFeedbackNV GLEW_GET_FUN(__glewEndTransformFeedbackNV) -#define glGetActiveVaryingNV GLEW_GET_FUN(__glewGetActiveVaryingNV) -#define glGetTransformFeedbackVaryingNV GLEW_GET_FUN(__glewGetTransformFeedbackVaryingNV) -#define glGetVaryingLocationNV GLEW_GET_FUN(__glewGetVaryingLocationNV) -#define glTransformFeedbackAttribsNV GLEW_GET_FUN(__glewTransformFeedbackAttribsNV) -#define glTransformFeedbackVaryingsNV GLEW_GET_FUN(__glewTransformFeedbackVaryingsNV) - -#define GLEW_NV_transform_feedback GLEW_GET_VAR(__GLEW_NV_transform_feedback) - -#endif /* GL_NV_transform_feedback */ - -/* ----------------------- GL_NV_transform_feedback2 ----------------------- */ - -#ifndef GL_NV_transform_feedback2 -#define GL_NV_transform_feedback2 1 - -#define GL_TRANSFORM_FEEDBACK_NV 0x8E22 -#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23 -#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24 -#define GL_TRANSFORM_FEEDBACK_BINDING_NV 0x8E25 - -typedef void (GLAPIENTRY * PFNGLBINDTRANSFORMFEEDBACKNVPROC) (GLenum target, GLuint id); -typedef void (GLAPIENTRY * PFNGLDELETETRANSFORMFEEDBACKSNVPROC) (GLsizei n, const GLuint* ids); -typedef void (GLAPIENTRY * PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLuint id); -typedef void (GLAPIENTRY * PFNGLGENTRANSFORMFEEDBACKSNVPROC) (GLsizei n, GLuint* ids); -typedef GLboolean (GLAPIENTRY * PFNGLISTRANSFORMFEEDBACKNVPROC) (GLuint id); -typedef void (GLAPIENTRY * PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void); -typedef void (GLAPIENTRY * PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void); - -#define glBindTransformFeedbackNV GLEW_GET_FUN(__glewBindTransformFeedbackNV) -#define glDeleteTransformFeedbacksNV GLEW_GET_FUN(__glewDeleteTransformFeedbacksNV) -#define glDrawTransformFeedbackNV GLEW_GET_FUN(__glewDrawTransformFeedbackNV) -#define glGenTransformFeedbacksNV GLEW_GET_FUN(__glewGenTransformFeedbacksNV) -#define glIsTransformFeedbackNV GLEW_GET_FUN(__glewIsTransformFeedbackNV) -#define glPauseTransformFeedbackNV GLEW_GET_FUN(__glewPauseTransformFeedbackNV) -#define glResumeTransformFeedbackNV GLEW_GET_FUN(__glewResumeTransformFeedbackNV) - -#define GLEW_NV_transform_feedback2 GLEW_GET_VAR(__GLEW_NV_transform_feedback2) - -#endif /* GL_NV_transform_feedback2 */ - -/* -------------------------- GL_NV_vdpau_interop -------------------------- */ - -#ifndef GL_NV_vdpau_interop -#define GL_NV_vdpau_interop 1 - -#define GL_SURFACE_STATE_NV 0x86EB -#define GL_SURFACE_REGISTERED_NV 0x86FD -#define GL_SURFACE_MAPPED_NV 0x8700 -#define GL_WRITE_DISCARD_NV 0x88BE - -typedef GLintptr GLvdpauSurfaceNV; - -typedef void (GLAPIENTRY * PFNGLVDPAUFININVPROC) (void); -typedef void (GLAPIENTRY * PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei* length, GLint *values); -typedef void (GLAPIENTRY * PFNGLVDPAUINITNVPROC) (const void* vdpDevice, const GLvoid*getProcAddress); -typedef void (GLAPIENTRY * PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface); -typedef void (GLAPIENTRY * PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV* surfaces); -typedef GLvdpauSurfaceNV (GLAPIENTRY * PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (const void* vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames); -typedef GLvdpauSurfaceNV (GLAPIENTRY * PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) (const void* vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames); -typedef void (GLAPIENTRY * PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access); -typedef void (GLAPIENTRY * PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV* surfaces); -typedef void (GLAPIENTRY * PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface); - -#define glVDPAUFiniNV GLEW_GET_FUN(__glewVDPAUFiniNV) -#define glVDPAUGetSurfaceivNV GLEW_GET_FUN(__glewVDPAUGetSurfaceivNV) -#define glVDPAUInitNV GLEW_GET_FUN(__glewVDPAUInitNV) -#define glVDPAUIsSurfaceNV GLEW_GET_FUN(__glewVDPAUIsSurfaceNV) -#define glVDPAUMapSurfacesNV GLEW_GET_FUN(__glewVDPAUMapSurfacesNV) -#define glVDPAURegisterOutputSurfaceNV GLEW_GET_FUN(__glewVDPAURegisterOutputSurfaceNV) -#define glVDPAURegisterVideoSurfaceNV GLEW_GET_FUN(__glewVDPAURegisterVideoSurfaceNV) -#define glVDPAUSurfaceAccessNV GLEW_GET_FUN(__glewVDPAUSurfaceAccessNV) -#define glVDPAUUnmapSurfacesNV GLEW_GET_FUN(__glewVDPAUUnmapSurfacesNV) -#define glVDPAUUnregisterSurfaceNV GLEW_GET_FUN(__glewVDPAUUnregisterSurfaceNV) - -#define GLEW_NV_vdpau_interop GLEW_GET_VAR(__GLEW_NV_vdpau_interop) - -#endif /* GL_NV_vdpau_interop */ - -/* ------------------------ GL_NV_vertex_array_range ----------------------- */ - -#ifndef GL_NV_vertex_array_range -#define GL_NV_vertex_array_range 1 - -#define GL_VERTEX_ARRAY_RANGE_NV 0x851D -#define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E -#define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F -#define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520 -#define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521 - -typedef void (GLAPIENTRY * PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void); -typedef void (GLAPIENTRY * PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, void* pointer); - -#define glFlushVertexArrayRangeNV GLEW_GET_FUN(__glewFlushVertexArrayRangeNV) -#define glVertexArrayRangeNV GLEW_GET_FUN(__glewVertexArrayRangeNV) - -#define GLEW_NV_vertex_array_range GLEW_GET_VAR(__GLEW_NV_vertex_array_range) - -#endif /* GL_NV_vertex_array_range */ - -/* ----------------------- GL_NV_vertex_array_range2 ----------------------- */ - -#ifndef GL_NV_vertex_array_range2 -#define GL_NV_vertex_array_range2 1 - -#define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533 - -#define GLEW_NV_vertex_array_range2 GLEW_GET_VAR(__GLEW_NV_vertex_array_range2) - -#endif /* GL_NV_vertex_array_range2 */ - -/* ------------------- GL_NV_vertex_attrib_integer_64bit ------------------- */ - -#ifndef GL_NV_vertex_attrib_integer_64bit -#define GL_NV_vertex_attrib_integer_64bit 1 - -#define GL_INT64_NV 0x140E -#define GL_UNSIGNED_INT64_NV 0x140F - -typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBLI64VNVPROC) (GLuint index, GLenum pname, GLint64EXT* params); -typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBLUI64VNVPROC) (GLuint index, GLenum pname, GLuint64EXT* params); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL1I64NVPROC) (GLuint index, GLint64EXT x); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL1I64VNVPROC) (GLuint index, const GLint64EXT* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL1UI64NVPROC) (GLuint index, GLuint64EXT x); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL1UI64VNVPROC) (GLuint index, const GLuint64EXT* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL2I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL2I64VNVPROC) (GLuint index, const GLint64EXT* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL2UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL2UI64VNVPROC) (GLuint index, const GLuint64EXT* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL3I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL3I64VNVPROC) (GLuint index, const GLint64EXT* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL3UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL3UI64VNVPROC) (GLuint index, const GLuint64EXT* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL4I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL4I64VNVPROC) (GLuint index, const GLint64EXT* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL4UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL4UI64VNVPROC) (GLuint index, const GLuint64EXT* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBLFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride); - -#define glGetVertexAttribLi64vNV GLEW_GET_FUN(__glewGetVertexAttribLi64vNV) -#define glGetVertexAttribLui64vNV GLEW_GET_FUN(__glewGetVertexAttribLui64vNV) -#define glVertexAttribL1i64NV GLEW_GET_FUN(__glewVertexAttribL1i64NV) -#define glVertexAttribL1i64vNV GLEW_GET_FUN(__glewVertexAttribL1i64vNV) -#define glVertexAttribL1ui64NV GLEW_GET_FUN(__glewVertexAttribL1ui64NV) -#define glVertexAttribL1ui64vNV GLEW_GET_FUN(__glewVertexAttribL1ui64vNV) -#define glVertexAttribL2i64NV GLEW_GET_FUN(__glewVertexAttribL2i64NV) -#define glVertexAttribL2i64vNV GLEW_GET_FUN(__glewVertexAttribL2i64vNV) -#define glVertexAttribL2ui64NV GLEW_GET_FUN(__glewVertexAttribL2ui64NV) -#define glVertexAttribL2ui64vNV GLEW_GET_FUN(__glewVertexAttribL2ui64vNV) -#define glVertexAttribL3i64NV GLEW_GET_FUN(__glewVertexAttribL3i64NV) -#define glVertexAttribL3i64vNV GLEW_GET_FUN(__glewVertexAttribL3i64vNV) -#define glVertexAttribL3ui64NV GLEW_GET_FUN(__glewVertexAttribL3ui64NV) -#define glVertexAttribL3ui64vNV GLEW_GET_FUN(__glewVertexAttribL3ui64vNV) -#define glVertexAttribL4i64NV GLEW_GET_FUN(__glewVertexAttribL4i64NV) -#define glVertexAttribL4i64vNV GLEW_GET_FUN(__glewVertexAttribL4i64vNV) -#define glVertexAttribL4ui64NV GLEW_GET_FUN(__glewVertexAttribL4ui64NV) -#define glVertexAttribL4ui64vNV GLEW_GET_FUN(__glewVertexAttribL4ui64vNV) -#define glVertexAttribLFormatNV GLEW_GET_FUN(__glewVertexAttribLFormatNV) - -#define GLEW_NV_vertex_attrib_integer_64bit GLEW_GET_VAR(__GLEW_NV_vertex_attrib_integer_64bit) - -#endif /* GL_NV_vertex_attrib_integer_64bit */ - -/* ------------------- GL_NV_vertex_buffer_unified_memory ------------------ */ - -#ifndef GL_NV_vertex_buffer_unified_memory -#define GL_NV_vertex_buffer_unified_memory 1 - -#define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E -#define GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F -#define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20 -#define GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21 -#define GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22 -#define GL_COLOR_ARRAY_ADDRESS_NV 0x8F23 -#define GL_INDEX_ARRAY_ADDRESS_NV 0x8F24 -#define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25 -#define GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26 -#define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27 -#define GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28 -#define GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29 -#define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A -#define GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B -#define GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C -#define GL_COLOR_ARRAY_LENGTH_NV 0x8F2D -#define GL_INDEX_ARRAY_LENGTH_NV 0x8F2E -#define GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F -#define GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30 -#define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31 -#define GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32 -#define GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33 -#define GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40 -#define GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41 -#define GL_DRAW_INDIRECT_LENGTH_NV 0x8F42 - -typedef void (GLAPIENTRY * PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length); -typedef void (GLAPIENTRY * PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); -typedef void (GLAPIENTRY * PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride); -typedef void (GLAPIENTRY * PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei stride); -typedef void (GLAPIENTRY * PFNGLGETINTEGERUI64I_VNVPROC) (GLenum value, GLuint index, GLuint64EXT result[]); -typedef void (GLAPIENTRY * PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei stride); -typedef void (GLAPIENTRY * PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stride); -typedef void (GLAPIENTRY * PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); -typedef void (GLAPIENTRY * PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBIFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride); -typedef void (GLAPIENTRY * PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); - -#define glBufferAddressRangeNV GLEW_GET_FUN(__glewBufferAddressRangeNV) -#define glColorFormatNV GLEW_GET_FUN(__glewColorFormatNV) -#define glEdgeFlagFormatNV GLEW_GET_FUN(__glewEdgeFlagFormatNV) -#define glFogCoordFormatNV GLEW_GET_FUN(__glewFogCoordFormatNV) -#define glGetIntegerui64i_vNV GLEW_GET_FUN(__glewGetIntegerui64i_vNV) -#define glIndexFormatNV GLEW_GET_FUN(__glewIndexFormatNV) -#define glNormalFormatNV GLEW_GET_FUN(__glewNormalFormatNV) -#define glSecondaryColorFormatNV GLEW_GET_FUN(__glewSecondaryColorFormatNV) -#define glTexCoordFormatNV GLEW_GET_FUN(__glewTexCoordFormatNV) -#define glVertexAttribFormatNV GLEW_GET_FUN(__glewVertexAttribFormatNV) -#define glVertexAttribIFormatNV GLEW_GET_FUN(__glewVertexAttribIFormatNV) -#define glVertexFormatNV GLEW_GET_FUN(__glewVertexFormatNV) - -#define GLEW_NV_vertex_buffer_unified_memory GLEW_GET_VAR(__GLEW_NV_vertex_buffer_unified_memory) - -#endif /* GL_NV_vertex_buffer_unified_memory */ - -/* -------------------------- GL_NV_vertex_program ------------------------- */ - -#ifndef GL_NV_vertex_program -#define GL_NV_vertex_program 1 - -#define GL_VERTEX_PROGRAM_NV 0x8620 -#define GL_VERTEX_STATE_PROGRAM_NV 0x8621 -#define GL_ATTRIB_ARRAY_SIZE_NV 0x8623 -#define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624 -#define GL_ATTRIB_ARRAY_TYPE_NV 0x8625 -#define GL_CURRENT_ATTRIB_NV 0x8626 -#define GL_PROGRAM_LENGTH_NV 0x8627 -#define GL_PROGRAM_STRING_NV 0x8628 -#define GL_MODELVIEW_PROJECTION_NV 0x8629 -#define GL_IDENTITY_NV 0x862A -#define GL_INVERSE_NV 0x862B -#define GL_TRANSPOSE_NV 0x862C -#define GL_INVERSE_TRANSPOSE_NV 0x862D -#define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E -#define GL_MAX_TRACK_MATRICES_NV 0x862F -#define GL_MATRIX0_NV 0x8630 -#define GL_MATRIX1_NV 0x8631 -#define GL_MATRIX2_NV 0x8632 -#define GL_MATRIX3_NV 0x8633 -#define GL_MATRIX4_NV 0x8634 -#define GL_MATRIX5_NV 0x8635 -#define GL_MATRIX6_NV 0x8636 -#define GL_MATRIX7_NV 0x8637 -#define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640 -#define GL_CURRENT_MATRIX_NV 0x8641 -#define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642 -#define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643 -#define GL_PROGRAM_PARAMETER_NV 0x8644 -#define GL_ATTRIB_ARRAY_POINTER_NV 0x8645 -#define GL_PROGRAM_TARGET_NV 0x8646 -#define GL_PROGRAM_RESIDENT_NV 0x8647 -#define GL_TRACK_MATRIX_NV 0x8648 -#define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649 -#define GL_VERTEX_PROGRAM_BINDING_NV 0x864A -#define GL_PROGRAM_ERROR_POSITION_NV 0x864B -#define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650 -#define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651 -#define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652 -#define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653 -#define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654 -#define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655 -#define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656 -#define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657 -#define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658 -#define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659 -#define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A -#define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B -#define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C -#define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D -#define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E -#define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F -#define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660 -#define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661 -#define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662 -#define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663 -#define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664 -#define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665 -#define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666 -#define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667 -#define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668 -#define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669 -#define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A -#define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B -#define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C -#define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D -#define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E -#define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F -#define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670 -#define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671 -#define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672 -#define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673 -#define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674 -#define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675 -#define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676 -#define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677 -#define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678 -#define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679 -#define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A -#define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B -#define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C -#define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D -#define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E -#define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F - -typedef GLboolean (GLAPIENTRY * PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint* ids, GLboolean *residences); -typedef void (GLAPIENTRY * PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id); -typedef void (GLAPIENTRY * PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint* ids); -typedef void (GLAPIENTRY * PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint* ids); -typedef void (GLAPIENTRY * PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble* params); -typedef void (GLAPIENTRY * PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte* program); -typedef void (GLAPIENTRY * PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, GLvoid** pointer); -typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble* params); -typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint* params); -typedef GLboolean (GLAPIENTRY * PFNGLISPROGRAMNVPROC) (GLuint id); -typedef void (GLAPIENTRY * PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte* program); -typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble* params); -typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLsizei num, const GLdouble* params); -typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLsizei num, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, GLuint* ids); -typedef void (GLAPIENTRY * PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void* pointer); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei n, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei n, const GLfloat* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei n, const GLshort* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei n, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei n, const GLfloat* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei n, const GLshort* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei n, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei n, const GLfloat* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei n, const GLshort* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei n, const GLdouble* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei n, const GLfloat* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei n, const GLshort* v); -typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei n, const GLubyte* v); - -#define glAreProgramsResidentNV GLEW_GET_FUN(__glewAreProgramsResidentNV) -#define glBindProgramNV GLEW_GET_FUN(__glewBindProgramNV) -#define glDeleteProgramsNV GLEW_GET_FUN(__glewDeleteProgramsNV) -#define glExecuteProgramNV GLEW_GET_FUN(__glewExecuteProgramNV) -#define glGenProgramsNV GLEW_GET_FUN(__glewGenProgramsNV) -#define glGetProgramParameterdvNV GLEW_GET_FUN(__glewGetProgramParameterdvNV) -#define glGetProgramParameterfvNV GLEW_GET_FUN(__glewGetProgramParameterfvNV) -#define glGetProgramStringNV GLEW_GET_FUN(__glewGetProgramStringNV) -#define glGetProgramivNV GLEW_GET_FUN(__glewGetProgramivNV) -#define glGetTrackMatrixivNV GLEW_GET_FUN(__glewGetTrackMatrixivNV) -#define glGetVertexAttribPointervNV GLEW_GET_FUN(__glewGetVertexAttribPointervNV) -#define glGetVertexAttribdvNV GLEW_GET_FUN(__glewGetVertexAttribdvNV) -#define glGetVertexAttribfvNV GLEW_GET_FUN(__glewGetVertexAttribfvNV) -#define glGetVertexAttribivNV GLEW_GET_FUN(__glewGetVertexAttribivNV) -#define glIsProgramNV GLEW_GET_FUN(__glewIsProgramNV) -#define glLoadProgramNV GLEW_GET_FUN(__glewLoadProgramNV) -#define glProgramParameter4dNV GLEW_GET_FUN(__glewProgramParameter4dNV) -#define glProgramParameter4dvNV GLEW_GET_FUN(__glewProgramParameter4dvNV) -#define glProgramParameter4fNV GLEW_GET_FUN(__glewProgramParameter4fNV) -#define glProgramParameter4fvNV GLEW_GET_FUN(__glewProgramParameter4fvNV) -#define glProgramParameters4dvNV GLEW_GET_FUN(__glewProgramParameters4dvNV) -#define glProgramParameters4fvNV GLEW_GET_FUN(__glewProgramParameters4fvNV) -#define glRequestResidentProgramsNV GLEW_GET_FUN(__glewRequestResidentProgramsNV) -#define glTrackMatrixNV GLEW_GET_FUN(__glewTrackMatrixNV) -#define glVertexAttrib1dNV GLEW_GET_FUN(__glewVertexAttrib1dNV) -#define glVertexAttrib1dvNV GLEW_GET_FUN(__glewVertexAttrib1dvNV) -#define glVertexAttrib1fNV GLEW_GET_FUN(__glewVertexAttrib1fNV) -#define glVertexAttrib1fvNV GLEW_GET_FUN(__glewVertexAttrib1fvNV) -#define glVertexAttrib1sNV GLEW_GET_FUN(__glewVertexAttrib1sNV) -#define glVertexAttrib1svNV GLEW_GET_FUN(__glewVertexAttrib1svNV) -#define glVertexAttrib2dNV GLEW_GET_FUN(__glewVertexAttrib2dNV) -#define glVertexAttrib2dvNV GLEW_GET_FUN(__glewVertexAttrib2dvNV) -#define glVertexAttrib2fNV GLEW_GET_FUN(__glewVertexAttrib2fNV) -#define glVertexAttrib2fvNV GLEW_GET_FUN(__glewVertexAttrib2fvNV) -#define glVertexAttrib2sNV GLEW_GET_FUN(__glewVertexAttrib2sNV) -#define glVertexAttrib2svNV GLEW_GET_FUN(__glewVertexAttrib2svNV) -#define glVertexAttrib3dNV GLEW_GET_FUN(__glewVertexAttrib3dNV) -#define glVertexAttrib3dvNV GLEW_GET_FUN(__glewVertexAttrib3dvNV) -#define glVertexAttrib3fNV GLEW_GET_FUN(__glewVertexAttrib3fNV) -#define glVertexAttrib3fvNV GLEW_GET_FUN(__glewVertexAttrib3fvNV) -#define glVertexAttrib3sNV GLEW_GET_FUN(__glewVertexAttrib3sNV) -#define glVertexAttrib3svNV GLEW_GET_FUN(__glewVertexAttrib3svNV) -#define glVertexAttrib4dNV GLEW_GET_FUN(__glewVertexAttrib4dNV) -#define glVertexAttrib4dvNV GLEW_GET_FUN(__glewVertexAttrib4dvNV) -#define glVertexAttrib4fNV GLEW_GET_FUN(__glewVertexAttrib4fNV) -#define glVertexAttrib4fvNV GLEW_GET_FUN(__glewVertexAttrib4fvNV) -#define glVertexAttrib4sNV GLEW_GET_FUN(__glewVertexAttrib4sNV) -#define glVertexAttrib4svNV GLEW_GET_FUN(__glewVertexAttrib4svNV) -#define glVertexAttrib4ubNV GLEW_GET_FUN(__glewVertexAttrib4ubNV) -#define glVertexAttrib4ubvNV GLEW_GET_FUN(__glewVertexAttrib4ubvNV) -#define glVertexAttribPointerNV GLEW_GET_FUN(__glewVertexAttribPointerNV) -#define glVertexAttribs1dvNV GLEW_GET_FUN(__glewVertexAttribs1dvNV) -#define glVertexAttribs1fvNV GLEW_GET_FUN(__glewVertexAttribs1fvNV) -#define glVertexAttribs1svNV GLEW_GET_FUN(__glewVertexAttribs1svNV) -#define glVertexAttribs2dvNV GLEW_GET_FUN(__glewVertexAttribs2dvNV) -#define glVertexAttribs2fvNV GLEW_GET_FUN(__glewVertexAttribs2fvNV) -#define glVertexAttribs2svNV GLEW_GET_FUN(__glewVertexAttribs2svNV) -#define glVertexAttribs3dvNV GLEW_GET_FUN(__glewVertexAttribs3dvNV) -#define glVertexAttribs3fvNV GLEW_GET_FUN(__glewVertexAttribs3fvNV) -#define glVertexAttribs3svNV GLEW_GET_FUN(__glewVertexAttribs3svNV) -#define glVertexAttribs4dvNV GLEW_GET_FUN(__glewVertexAttribs4dvNV) -#define glVertexAttribs4fvNV GLEW_GET_FUN(__glewVertexAttribs4fvNV) -#define glVertexAttribs4svNV GLEW_GET_FUN(__glewVertexAttribs4svNV) -#define glVertexAttribs4ubvNV GLEW_GET_FUN(__glewVertexAttribs4ubvNV) - -#define GLEW_NV_vertex_program GLEW_GET_VAR(__GLEW_NV_vertex_program) - -#endif /* GL_NV_vertex_program */ - -/* ------------------------ GL_NV_vertex_program1_1 ------------------------ */ - -#ifndef GL_NV_vertex_program1_1 -#define GL_NV_vertex_program1_1 1 - -#define GLEW_NV_vertex_program1_1 GLEW_GET_VAR(__GLEW_NV_vertex_program1_1) - -#endif /* GL_NV_vertex_program1_1 */ - -/* ------------------------- GL_NV_vertex_program2 ------------------------- */ - -#ifndef GL_NV_vertex_program2 -#define GL_NV_vertex_program2 1 - -#define GLEW_NV_vertex_program2 GLEW_GET_VAR(__GLEW_NV_vertex_program2) - -#endif /* GL_NV_vertex_program2 */ - -/* ---------------------- GL_NV_vertex_program2_option --------------------- */ - -#ifndef GL_NV_vertex_program2_option -#define GL_NV_vertex_program2_option 1 - -#define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4 -#define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5 - -#define GLEW_NV_vertex_program2_option GLEW_GET_VAR(__GLEW_NV_vertex_program2_option) - -#endif /* GL_NV_vertex_program2_option */ - -/* ------------------------- GL_NV_vertex_program3 ------------------------- */ - -#ifndef GL_NV_vertex_program3 -#define GL_NV_vertex_program3 1 - -#define MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C - -#define GLEW_NV_vertex_program3 GLEW_GET_VAR(__GLEW_NV_vertex_program3) - -#endif /* GL_NV_vertex_program3 */ - -/* ------------------------- GL_NV_vertex_program4 ------------------------- */ - -#ifndef GL_NV_vertex_program4 -#define GL_NV_vertex_program4 1 - -#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD - -#define GLEW_NV_vertex_program4 GLEW_GET_VAR(__GLEW_NV_vertex_program4) - -#endif /* GL_NV_vertex_program4 */ - -/* -------------------------- GL_NV_video_capture -------------------------- */ - -#ifndef GL_NV_video_capture -#define GL_NV_video_capture 1 - -#define GL_VIDEO_BUFFER_NV 0x9020 -#define GL_VIDEO_BUFFER_BINDING_NV 0x9021 -#define GL_FIELD_UPPER_NV 0x9022 -#define GL_FIELD_LOWER_NV 0x9023 -#define GL_NUM_VIDEO_CAPTURE_STREAMS_NV 0x9024 -#define GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV 0x9025 -#define GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV 0x9026 -#define GL_LAST_VIDEO_CAPTURE_STATUS_NV 0x9027 -#define GL_VIDEO_BUFFER_PITCH_NV 0x9028 -#define GL_VIDEO_COLOR_CONVERSION_MATRIX_NV 0x9029 -#define GL_VIDEO_COLOR_CONVERSION_MAX_NV 0x902A -#define GL_VIDEO_COLOR_CONVERSION_MIN_NV 0x902B -#define GL_VIDEO_COLOR_CONVERSION_OFFSET_NV 0x902C -#define GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV 0x902D -#define GL_PARTIAL_SUCCESS_NV 0x902E -#define GL_SUCCESS_NV 0x902F -#define GL_FAILURE_NV 0x9030 -#define GL_YCBYCR8_422_NV 0x9031 -#define GL_YCBAYCR8A_4224_NV 0x9032 -#define GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV 0x9033 -#define GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV 0x9034 -#define GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV 0x9035 -#define GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV 0x9036 -#define GL_Z4Y12Z4CB12Z4CR12_444_NV 0x9037 -#define GL_VIDEO_CAPTURE_FRAME_WIDTH_NV 0x9038 -#define GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV 0x9039 -#define GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV 0x903A -#define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B -#define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C - -typedef void (GLAPIENTRY * PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture_slot); -typedef void (GLAPIENTRY * PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset); -typedef void (GLAPIENTRY * PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture); -typedef void (GLAPIENTRY * PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_slot); -typedef void (GLAPIENTRY * PFNGLGETVIDEOCAPTURESTREAMDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble* params); -typedef void (GLAPIENTRY * PFNGLGETVIDEOCAPTURESTREAMFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETVIDEOCAPTURESTREAMIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture_slot, GLenum pname, GLint* params); -typedef GLenum (GLAPIENTRY * PFNGLVIDEOCAPTURENVPROC) (GLuint video_capture_slot, GLuint* sequence_num, GLuint64EXT *capture_time); -typedef void (GLAPIENTRY * PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble* params); -typedef void (GLAPIENTRY * PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint* params); - -#define glBeginVideoCaptureNV GLEW_GET_FUN(__glewBeginVideoCaptureNV) -#define glBindVideoCaptureStreamBufferNV GLEW_GET_FUN(__glewBindVideoCaptureStreamBufferNV) -#define glBindVideoCaptureStreamTextureNV GLEW_GET_FUN(__glewBindVideoCaptureStreamTextureNV) -#define glEndVideoCaptureNV GLEW_GET_FUN(__glewEndVideoCaptureNV) -#define glGetVideoCaptureStreamdvNV GLEW_GET_FUN(__glewGetVideoCaptureStreamdvNV) -#define glGetVideoCaptureStreamfvNV GLEW_GET_FUN(__glewGetVideoCaptureStreamfvNV) -#define glGetVideoCaptureStreamivNV GLEW_GET_FUN(__glewGetVideoCaptureStreamivNV) -#define glGetVideoCaptureivNV GLEW_GET_FUN(__glewGetVideoCaptureivNV) -#define glVideoCaptureNV GLEW_GET_FUN(__glewVideoCaptureNV) -#define glVideoCaptureStreamParameterdvNV GLEW_GET_FUN(__glewVideoCaptureStreamParameterdvNV) -#define glVideoCaptureStreamParameterfvNV GLEW_GET_FUN(__glewVideoCaptureStreamParameterfvNV) -#define glVideoCaptureStreamParameterivNV GLEW_GET_FUN(__glewVideoCaptureStreamParameterivNV) - -#define GLEW_NV_video_capture GLEW_GET_VAR(__GLEW_NV_video_capture) - -#endif /* GL_NV_video_capture */ - -/* ------------------------ GL_OES_byte_coordinates ------------------------ */ - -#ifndef GL_OES_byte_coordinates -#define GL_OES_byte_coordinates 1 - -#define GL_BYTE 0x1400 - -#define GLEW_OES_byte_coordinates GLEW_GET_VAR(__GLEW_OES_byte_coordinates) - -#endif /* GL_OES_byte_coordinates */ - -/* ------------------- GL_OES_compressed_paletted_texture ------------------ */ - -#ifndef GL_OES_compressed_paletted_texture -#define GL_OES_compressed_paletted_texture 1 - -#define GL_PALETTE4_RGB8_OES 0x8B90 -#define GL_PALETTE4_RGBA8_OES 0x8B91 -#define GL_PALETTE4_R5_G6_B5_OES 0x8B92 -#define GL_PALETTE4_RGBA4_OES 0x8B93 -#define GL_PALETTE4_RGB5_A1_OES 0x8B94 -#define GL_PALETTE8_RGB8_OES 0x8B95 -#define GL_PALETTE8_RGBA8_OES 0x8B96 -#define GL_PALETTE8_R5_G6_B5_OES 0x8B97 -#define GL_PALETTE8_RGBA4_OES 0x8B98 -#define GL_PALETTE8_RGB5_A1_OES 0x8B99 - -#define GLEW_OES_compressed_paletted_texture GLEW_GET_VAR(__GLEW_OES_compressed_paletted_texture) - -#endif /* GL_OES_compressed_paletted_texture */ - -/* --------------------------- GL_OES_read_format -------------------------- */ - -#ifndef GL_OES_read_format -#define GL_OES_read_format 1 - -#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A -#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B - -#define GLEW_OES_read_format GLEW_GET_VAR(__GLEW_OES_read_format) - -#endif /* GL_OES_read_format */ - -/* ------------------------ GL_OES_single_precision ------------------------ */ - -#ifndef GL_OES_single_precision -#define GL_OES_single_precision 1 - -typedef void (GLAPIENTRY * PFNGLCLEARDEPTHFOESPROC) (GLclampd depth); -typedef void (GLAPIENTRY * PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat* equation); -typedef void (GLAPIENTRY * PFNGLDEPTHRANGEFOESPROC) (GLclampf n, GLclampf f); -typedef void (GLAPIENTRY * PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); -typedef void (GLAPIENTRY * PFNGLGETCLIPPLANEFOESPROC) (GLenum plane, GLfloat* equation); -typedef void (GLAPIENTRY * PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); - -#define glClearDepthfOES GLEW_GET_FUN(__glewClearDepthfOES) -#define glClipPlanefOES GLEW_GET_FUN(__glewClipPlanefOES) -#define glDepthRangefOES GLEW_GET_FUN(__glewDepthRangefOES) -#define glFrustumfOES GLEW_GET_FUN(__glewFrustumfOES) -#define glGetClipPlanefOES GLEW_GET_FUN(__glewGetClipPlanefOES) -#define glOrthofOES GLEW_GET_FUN(__glewOrthofOES) - -#define GLEW_OES_single_precision GLEW_GET_VAR(__GLEW_OES_single_precision) - -#endif /* GL_OES_single_precision */ - -/* ---------------------------- GL_OML_interlace --------------------------- */ - -#ifndef GL_OML_interlace -#define GL_OML_interlace 1 - -#define GL_INTERLACE_OML 0x8980 -#define GL_INTERLACE_READ_OML 0x8981 - -#define GLEW_OML_interlace GLEW_GET_VAR(__GLEW_OML_interlace) - -#endif /* GL_OML_interlace */ - -/* ---------------------------- GL_OML_resample ---------------------------- */ - -#ifndef GL_OML_resample -#define GL_OML_resample 1 - -#define GL_PACK_RESAMPLE_OML 0x8984 -#define GL_UNPACK_RESAMPLE_OML 0x8985 -#define GL_RESAMPLE_REPLICATE_OML 0x8986 -#define GL_RESAMPLE_ZERO_FILL_OML 0x8987 -#define GL_RESAMPLE_AVERAGE_OML 0x8988 -#define GL_RESAMPLE_DECIMATE_OML 0x8989 - -#define GLEW_OML_resample GLEW_GET_VAR(__GLEW_OML_resample) - -#endif /* GL_OML_resample */ - -/* ---------------------------- GL_OML_subsample --------------------------- */ - -#ifndef GL_OML_subsample -#define GL_OML_subsample 1 - -#define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982 -#define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983 - -#define GLEW_OML_subsample GLEW_GET_VAR(__GLEW_OML_subsample) - -#endif /* GL_OML_subsample */ - -/* --------------------------- GL_PGI_misc_hints --------------------------- */ - -#ifndef GL_PGI_misc_hints -#define GL_PGI_misc_hints 1 - -#define GL_PREFER_DOUBLEBUFFER_HINT_PGI 107000 -#define GL_CONSERVE_MEMORY_HINT_PGI 107005 -#define GL_RECLAIM_MEMORY_HINT_PGI 107006 -#define GL_NATIVE_GRAPHICS_HANDLE_PGI 107010 -#define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 107011 -#define GL_NATIVE_GRAPHICS_END_HINT_PGI 107012 -#define GL_ALWAYS_FAST_HINT_PGI 107020 -#define GL_ALWAYS_SOFT_HINT_PGI 107021 -#define GL_ALLOW_DRAW_OBJ_HINT_PGI 107022 -#define GL_ALLOW_DRAW_WIN_HINT_PGI 107023 -#define GL_ALLOW_DRAW_FRG_HINT_PGI 107024 -#define GL_ALLOW_DRAW_MEM_HINT_PGI 107025 -#define GL_STRICT_DEPTHFUNC_HINT_PGI 107030 -#define GL_STRICT_LIGHTING_HINT_PGI 107031 -#define GL_STRICT_SCISSOR_HINT_PGI 107032 -#define GL_FULL_STIPPLE_HINT_PGI 107033 -#define GL_CLIP_NEAR_HINT_PGI 107040 -#define GL_CLIP_FAR_HINT_PGI 107041 -#define GL_WIDE_LINE_HINT_PGI 107042 -#define GL_BACK_NORMALS_HINT_PGI 107043 - -#define GLEW_PGI_misc_hints GLEW_GET_VAR(__GLEW_PGI_misc_hints) - -#endif /* GL_PGI_misc_hints */ - -/* -------------------------- GL_PGI_vertex_hints -------------------------- */ - -#ifndef GL_PGI_vertex_hints -#define GL_PGI_vertex_hints 1 - -#define GL_VERTEX23_BIT_PGI 0x00000004 -#define GL_VERTEX4_BIT_PGI 0x00000008 -#define GL_COLOR3_BIT_PGI 0x00010000 -#define GL_COLOR4_BIT_PGI 0x00020000 -#define GL_EDGEFLAG_BIT_PGI 0x00040000 -#define GL_INDEX_BIT_PGI 0x00080000 -#define GL_MAT_AMBIENT_BIT_PGI 0x00100000 -#define GL_VERTEX_DATA_HINT_PGI 107050 -#define GL_VERTEX_CONSISTENT_HINT_PGI 107051 -#define GL_MATERIAL_SIDE_HINT_PGI 107052 -#define GL_MAX_VERTEX_HINT_PGI 107053 -#define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000 -#define GL_MAT_DIFFUSE_BIT_PGI 0x00400000 -#define GL_MAT_EMISSION_BIT_PGI 0x00800000 -#define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000 -#define GL_MAT_SHININESS_BIT_PGI 0x02000000 -#define GL_MAT_SPECULAR_BIT_PGI 0x04000000 -#define GL_NORMAL_BIT_PGI 0x08000000 -#define GL_TEXCOORD1_BIT_PGI 0x10000000 -#define GL_TEXCOORD2_BIT_PGI 0x20000000 -#define GL_TEXCOORD3_BIT_PGI 0x40000000 -#define GL_TEXCOORD4_BIT_PGI 0x80000000 - -#define GLEW_PGI_vertex_hints GLEW_GET_VAR(__GLEW_PGI_vertex_hints) - -#endif /* GL_PGI_vertex_hints */ - -/* ------------------------- GL_REGAL_error_string ------------------------- */ - -#ifndef GL_REGAL_error_string -#define GL_REGAL_error_string 1 - -typedef const GLchar* (GLAPIENTRY * PFNGLERRORSTRINGREGALPROC) (GLenum error); - -#define glErrorStringREGAL GLEW_GET_FUN(__glewErrorStringREGAL) - -#define GLEW_REGAL_error_string GLEW_GET_VAR(__GLEW_REGAL_error_string) - -#endif /* GL_REGAL_error_string */ - -/* ------------------------ GL_REGAL_extension_query ----------------------- */ - -#ifndef GL_REGAL_extension_query -#define GL_REGAL_extension_query 1 - -typedef GLboolean (GLAPIENTRY * PFNGLGETEXTENSIONREGALPROC) (const GLchar* ext); -typedef GLboolean (GLAPIENTRY * PFNGLISSUPPORTEDREGALPROC) (const GLchar* ext); - -#define glGetExtensionREGAL GLEW_GET_FUN(__glewGetExtensionREGAL) -#define glIsSupportedREGAL GLEW_GET_FUN(__glewIsSupportedREGAL) - -#define GLEW_REGAL_extension_query GLEW_GET_VAR(__GLEW_REGAL_extension_query) - -#endif /* GL_REGAL_extension_query */ - -/* ------------------------------ GL_REGAL_log ----------------------------- */ - -#ifndef GL_REGAL_log -#define GL_REGAL_log 1 - -#define GL_LOG_ERROR_REGAL 0x9319 -#define GL_LOG_WARNING_REGAL 0x931A -#define GL_LOG_INFO_REGAL 0x931B -#define GL_LOG_APP_REGAL 0x931C -#define GL_LOG_DRIVER_REGAL 0x931D -#define GL_LOG_INTERNAL_REGAL 0x931E -#define GL_LOG_DEBUG_REGAL 0x931F -#define GL_LOG_STATUS_REGAL 0x9320 -#define GL_LOG_HTTP_REGAL 0x9321 - -#define GLEW_REGAL_log GLEW_GET_VAR(__GLEW_REGAL_log) - -#endif /* GL_REGAL_log */ - -/* ----------------------- GL_REND_screen_coordinates ---------------------- */ - -#ifndef GL_REND_screen_coordinates -#define GL_REND_screen_coordinates 1 - -#define GL_SCREEN_COORDINATES_REND 0x8490 -#define GL_INVERTED_SCREEN_W_REND 0x8491 - -#define GLEW_REND_screen_coordinates GLEW_GET_VAR(__GLEW_REND_screen_coordinates) - -#endif /* GL_REND_screen_coordinates */ - -/* ------------------------------- GL_S3_s3tc ------------------------------ */ - -#ifndef GL_S3_s3tc -#define GL_S3_s3tc 1 - -#define GL_RGB_S3TC 0x83A0 -#define GL_RGB4_S3TC 0x83A1 -#define GL_RGBA_S3TC 0x83A2 -#define GL_RGBA4_S3TC 0x83A3 -#define GL_RGBA_DXT5_S3TC 0x83A4 -#define GL_RGBA4_DXT5_S3TC 0x83A5 - -#define GLEW_S3_s3tc GLEW_GET_VAR(__GLEW_S3_s3tc) - -#endif /* GL_S3_s3tc */ - -/* -------------------------- GL_SGIS_color_range -------------------------- */ - -#ifndef GL_SGIS_color_range -#define GL_SGIS_color_range 1 - -#define GL_EXTENDED_RANGE_SGIS 0x85A5 -#define GL_MIN_RED_SGIS 0x85A6 -#define GL_MAX_RED_SGIS 0x85A7 -#define GL_MIN_GREEN_SGIS 0x85A8 -#define GL_MAX_GREEN_SGIS 0x85A9 -#define GL_MIN_BLUE_SGIS 0x85AA -#define GL_MAX_BLUE_SGIS 0x85AB -#define GL_MIN_ALPHA_SGIS 0x85AC -#define GL_MAX_ALPHA_SGIS 0x85AD - -#define GLEW_SGIS_color_range GLEW_GET_VAR(__GLEW_SGIS_color_range) - -#endif /* GL_SGIS_color_range */ - -/* ------------------------- GL_SGIS_detail_texture ------------------------ */ - -#ifndef GL_SGIS_detail_texture -#define GL_SGIS_detail_texture 1 - -typedef void (GLAPIENTRY * PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat* points); -typedef void (GLAPIENTRY * PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat* points); - -#define glDetailTexFuncSGIS GLEW_GET_FUN(__glewDetailTexFuncSGIS) -#define glGetDetailTexFuncSGIS GLEW_GET_FUN(__glewGetDetailTexFuncSGIS) - -#define GLEW_SGIS_detail_texture GLEW_GET_VAR(__GLEW_SGIS_detail_texture) - -#endif /* GL_SGIS_detail_texture */ - -/* -------------------------- GL_SGIS_fog_function ------------------------- */ - -#ifndef GL_SGIS_fog_function -#define GL_SGIS_fog_function 1 - -typedef void (GLAPIENTRY * PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat* points); -typedef void (GLAPIENTRY * PFNGLGETFOGFUNCSGISPROC) (GLfloat* points); - -#define glFogFuncSGIS GLEW_GET_FUN(__glewFogFuncSGIS) -#define glGetFogFuncSGIS GLEW_GET_FUN(__glewGetFogFuncSGIS) - -#define GLEW_SGIS_fog_function GLEW_GET_VAR(__GLEW_SGIS_fog_function) - -#endif /* GL_SGIS_fog_function */ - -/* ------------------------ GL_SGIS_generate_mipmap ------------------------ */ - -#ifndef GL_SGIS_generate_mipmap -#define GL_SGIS_generate_mipmap 1 - -#define GL_GENERATE_MIPMAP_SGIS 0x8191 -#define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192 - -#define GLEW_SGIS_generate_mipmap GLEW_GET_VAR(__GLEW_SGIS_generate_mipmap) - -#endif /* GL_SGIS_generate_mipmap */ - -/* -------------------------- GL_SGIS_multisample -------------------------- */ - -#ifndef GL_SGIS_multisample -#define GL_SGIS_multisample 1 - -#define GL_MULTISAMPLE_SGIS 0x809D -#define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E -#define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F -#define GL_SAMPLE_MASK_SGIS 0x80A0 -#define GL_1PASS_SGIS 0x80A1 -#define GL_2PASS_0_SGIS 0x80A2 -#define GL_2PASS_1_SGIS 0x80A3 -#define GL_4PASS_0_SGIS 0x80A4 -#define GL_4PASS_1_SGIS 0x80A5 -#define GL_4PASS_2_SGIS 0x80A6 -#define GL_4PASS_3_SGIS 0x80A7 -#define GL_SAMPLE_BUFFERS_SGIS 0x80A8 -#define GL_SAMPLES_SGIS 0x80A9 -#define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA -#define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB -#define GL_SAMPLE_PATTERN_SGIS 0x80AC - -typedef void (GLAPIENTRY * PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert); -typedef void (GLAPIENTRY * PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern); - -#define glSampleMaskSGIS GLEW_GET_FUN(__glewSampleMaskSGIS) -#define glSamplePatternSGIS GLEW_GET_FUN(__glewSamplePatternSGIS) - -#define GLEW_SGIS_multisample GLEW_GET_VAR(__GLEW_SGIS_multisample) - -#endif /* GL_SGIS_multisample */ - -/* ------------------------- GL_SGIS_pixel_texture ------------------------- */ - -#ifndef GL_SGIS_pixel_texture -#define GL_SGIS_pixel_texture 1 - -#define GLEW_SGIS_pixel_texture GLEW_GET_VAR(__GLEW_SGIS_pixel_texture) - -#endif /* GL_SGIS_pixel_texture */ - -/* ----------------------- GL_SGIS_point_line_texgen ----------------------- */ - -#ifndef GL_SGIS_point_line_texgen -#define GL_SGIS_point_line_texgen 1 - -#define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0 -#define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1 -#define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2 -#define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3 -#define GL_EYE_POINT_SGIS 0x81F4 -#define GL_OBJECT_POINT_SGIS 0x81F5 -#define GL_EYE_LINE_SGIS 0x81F6 -#define GL_OBJECT_LINE_SGIS 0x81F7 - -#define GLEW_SGIS_point_line_texgen GLEW_GET_VAR(__GLEW_SGIS_point_line_texgen) - -#endif /* GL_SGIS_point_line_texgen */ - -/* ------------------------ GL_SGIS_sharpen_texture ------------------------ */ - -#ifndef GL_SGIS_sharpen_texture -#define GL_SGIS_sharpen_texture 1 - -typedef void (GLAPIENTRY * PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat* points); -typedef void (GLAPIENTRY * PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat* points); - -#define glGetSharpenTexFuncSGIS GLEW_GET_FUN(__glewGetSharpenTexFuncSGIS) -#define glSharpenTexFuncSGIS GLEW_GET_FUN(__glewSharpenTexFuncSGIS) - -#define GLEW_SGIS_sharpen_texture GLEW_GET_VAR(__GLEW_SGIS_sharpen_texture) - -#endif /* GL_SGIS_sharpen_texture */ - -/* --------------------------- GL_SGIS_texture4D --------------------------- */ - -#ifndef GL_SGIS_texture4D -#define GL_SGIS_texture4D 1 - -typedef void (GLAPIENTRY * PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei extent, GLint border, GLenum format, GLenum type, const void* pixels); -typedef void (GLAPIENTRY * PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei extent, GLenum format, GLenum type, const void* pixels); - -#define glTexImage4DSGIS GLEW_GET_FUN(__glewTexImage4DSGIS) -#define glTexSubImage4DSGIS GLEW_GET_FUN(__glewTexSubImage4DSGIS) - -#define GLEW_SGIS_texture4D GLEW_GET_VAR(__GLEW_SGIS_texture4D) - -#endif /* GL_SGIS_texture4D */ - -/* ---------------------- GL_SGIS_texture_border_clamp --------------------- */ - -#ifndef GL_SGIS_texture_border_clamp -#define GL_SGIS_texture_border_clamp 1 - -#define GL_CLAMP_TO_BORDER_SGIS 0x812D - -#define GLEW_SGIS_texture_border_clamp GLEW_GET_VAR(__GLEW_SGIS_texture_border_clamp) - -#endif /* GL_SGIS_texture_border_clamp */ - -/* ----------------------- GL_SGIS_texture_edge_clamp ---------------------- */ - -#ifndef GL_SGIS_texture_edge_clamp -#define GL_SGIS_texture_edge_clamp 1 - -#define GL_CLAMP_TO_EDGE_SGIS 0x812F - -#define GLEW_SGIS_texture_edge_clamp GLEW_GET_VAR(__GLEW_SGIS_texture_edge_clamp) - -#endif /* GL_SGIS_texture_edge_clamp */ - -/* ------------------------ GL_SGIS_texture_filter4 ------------------------ */ - -#ifndef GL_SGIS_texture_filter4 -#define GL_SGIS_texture_filter4 1 - -typedef void (GLAPIENTRY * PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat* weights); -typedef void (GLAPIENTRY * PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat* weights); - -#define glGetTexFilterFuncSGIS GLEW_GET_FUN(__glewGetTexFilterFuncSGIS) -#define glTexFilterFuncSGIS GLEW_GET_FUN(__glewTexFilterFuncSGIS) - -#define GLEW_SGIS_texture_filter4 GLEW_GET_VAR(__GLEW_SGIS_texture_filter4) - -#endif /* GL_SGIS_texture_filter4 */ - -/* -------------------------- GL_SGIS_texture_lod -------------------------- */ - -#ifndef GL_SGIS_texture_lod -#define GL_SGIS_texture_lod 1 - -#define GL_TEXTURE_MIN_LOD_SGIS 0x813A -#define GL_TEXTURE_MAX_LOD_SGIS 0x813B -#define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C -#define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D - -#define GLEW_SGIS_texture_lod GLEW_GET_VAR(__GLEW_SGIS_texture_lod) - -#endif /* GL_SGIS_texture_lod */ - -/* ------------------------- GL_SGIS_texture_select ------------------------ */ - -#ifndef GL_SGIS_texture_select -#define GL_SGIS_texture_select 1 - -#define GLEW_SGIS_texture_select GLEW_GET_VAR(__GLEW_SGIS_texture_select) - -#endif /* GL_SGIS_texture_select */ - -/* ----------------------------- GL_SGIX_async ----------------------------- */ - -#ifndef GL_SGIX_async -#define GL_SGIX_async 1 - -#define GL_ASYNC_MARKER_SGIX 0x8329 - -typedef void (GLAPIENTRY * PFNGLASYNCMARKERSGIXPROC) (GLuint marker); -typedef void (GLAPIENTRY * PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range); -typedef GLint (GLAPIENTRY * PFNGLFINISHASYNCSGIXPROC) (GLuint* markerp); -typedef GLuint (GLAPIENTRY * PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range); -typedef GLboolean (GLAPIENTRY * PFNGLISASYNCMARKERSGIXPROC) (GLuint marker); -typedef GLint (GLAPIENTRY * PFNGLPOLLASYNCSGIXPROC) (GLuint* markerp); - -#define glAsyncMarkerSGIX GLEW_GET_FUN(__glewAsyncMarkerSGIX) -#define glDeleteAsyncMarkersSGIX GLEW_GET_FUN(__glewDeleteAsyncMarkersSGIX) -#define glFinishAsyncSGIX GLEW_GET_FUN(__glewFinishAsyncSGIX) -#define glGenAsyncMarkersSGIX GLEW_GET_FUN(__glewGenAsyncMarkersSGIX) -#define glIsAsyncMarkerSGIX GLEW_GET_FUN(__glewIsAsyncMarkerSGIX) -#define glPollAsyncSGIX GLEW_GET_FUN(__glewPollAsyncSGIX) - -#define GLEW_SGIX_async GLEW_GET_VAR(__GLEW_SGIX_async) - -#endif /* GL_SGIX_async */ - -/* ------------------------ GL_SGIX_async_histogram ------------------------ */ - -#ifndef GL_SGIX_async_histogram -#define GL_SGIX_async_histogram 1 - -#define GL_ASYNC_HISTOGRAM_SGIX 0x832C -#define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D - -#define GLEW_SGIX_async_histogram GLEW_GET_VAR(__GLEW_SGIX_async_histogram) - -#endif /* GL_SGIX_async_histogram */ - -/* -------------------------- GL_SGIX_async_pixel -------------------------- */ - -#ifndef GL_SGIX_async_pixel -#define GL_SGIX_async_pixel 1 - -#define GL_ASYNC_TEX_IMAGE_SGIX 0x835C -#define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D -#define GL_ASYNC_READ_PIXELS_SGIX 0x835E -#define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F -#define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360 -#define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361 - -#define GLEW_SGIX_async_pixel GLEW_GET_VAR(__GLEW_SGIX_async_pixel) - -#endif /* GL_SGIX_async_pixel */ - -/* ----------------------- GL_SGIX_blend_alpha_minmax ---------------------- */ - -#ifndef GL_SGIX_blend_alpha_minmax -#define GL_SGIX_blend_alpha_minmax 1 - -#define GL_ALPHA_MIN_SGIX 0x8320 -#define GL_ALPHA_MAX_SGIX 0x8321 - -#define GLEW_SGIX_blend_alpha_minmax GLEW_GET_VAR(__GLEW_SGIX_blend_alpha_minmax) - -#endif /* GL_SGIX_blend_alpha_minmax */ - -/* ---------------------------- GL_SGIX_clipmap ---------------------------- */ - -#ifndef GL_SGIX_clipmap -#define GL_SGIX_clipmap 1 - -#define GLEW_SGIX_clipmap GLEW_GET_VAR(__GLEW_SGIX_clipmap) - -#endif /* GL_SGIX_clipmap */ - -/* ---------------------- GL_SGIX_convolution_accuracy --------------------- */ - -#ifndef GL_SGIX_convolution_accuracy -#define GL_SGIX_convolution_accuracy 1 - -#define GL_CONVOLUTION_HINT_SGIX 0x8316 - -#define GLEW_SGIX_convolution_accuracy GLEW_GET_VAR(__GLEW_SGIX_convolution_accuracy) - -#endif /* GL_SGIX_convolution_accuracy */ - -/* ------------------------- GL_SGIX_depth_texture ------------------------- */ - -#ifndef GL_SGIX_depth_texture -#define GL_SGIX_depth_texture 1 - -#define GL_DEPTH_COMPONENT16_SGIX 0x81A5 -#define GL_DEPTH_COMPONENT24_SGIX 0x81A6 -#define GL_DEPTH_COMPONENT32_SGIX 0x81A7 - -#define GLEW_SGIX_depth_texture GLEW_GET_VAR(__GLEW_SGIX_depth_texture) - -#endif /* GL_SGIX_depth_texture */ - -/* -------------------------- GL_SGIX_flush_raster ------------------------- */ - -#ifndef GL_SGIX_flush_raster -#define GL_SGIX_flush_raster 1 - -typedef void (GLAPIENTRY * PFNGLFLUSHRASTERSGIXPROC) (void); - -#define glFlushRasterSGIX GLEW_GET_FUN(__glewFlushRasterSGIX) - -#define GLEW_SGIX_flush_raster GLEW_GET_VAR(__GLEW_SGIX_flush_raster) - -#endif /* GL_SGIX_flush_raster */ - -/* --------------------------- GL_SGIX_fog_offset -------------------------- */ - -#ifndef GL_SGIX_fog_offset -#define GL_SGIX_fog_offset 1 - -#define GL_FOG_OFFSET_SGIX 0x8198 -#define GL_FOG_OFFSET_VALUE_SGIX 0x8199 - -#define GLEW_SGIX_fog_offset GLEW_GET_VAR(__GLEW_SGIX_fog_offset) - -#endif /* GL_SGIX_fog_offset */ - -/* -------------------------- GL_SGIX_fog_texture -------------------------- */ - -#ifndef GL_SGIX_fog_texture -#define GL_SGIX_fog_texture 1 - -#define GL_TEXTURE_FOG_SGIX 0 -#define GL_FOG_PATCHY_FACTOR_SGIX 0 -#define GL_FRAGMENT_FOG_SGIX 0 - -typedef void (GLAPIENTRY * PFNGLTEXTUREFOGSGIXPROC) (GLenum pname); - -#define glTextureFogSGIX GLEW_GET_FUN(__glewTextureFogSGIX) - -#define GLEW_SGIX_fog_texture GLEW_GET_VAR(__GLEW_SGIX_fog_texture) - -#endif /* GL_SGIX_fog_texture */ - -/* ------------------- GL_SGIX_fragment_specular_lighting ------------------ */ - -#ifndef GL_SGIX_fragment_specular_lighting -#define GL_SGIX_fragment_specular_lighting 1 - -typedef void (GLAPIENTRY * PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode); -typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param); -typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param); -typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param); -typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param); -typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, const GLfloat param); -typedef void (GLAPIENTRY * PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, const GLint param); -typedef void (GLAPIENTRY * PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint* params); -typedef void (GLAPIENTRY * PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum value, GLfloat* data); -typedef void (GLAPIENTRY * PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum value, GLint* data); -typedef void (GLAPIENTRY * PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat* data); -typedef void (GLAPIENTRY * PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint* data); - -#define glFragmentColorMaterialSGIX GLEW_GET_FUN(__glewFragmentColorMaterialSGIX) -#define glFragmentLightModelfSGIX GLEW_GET_FUN(__glewFragmentLightModelfSGIX) -#define glFragmentLightModelfvSGIX GLEW_GET_FUN(__glewFragmentLightModelfvSGIX) -#define glFragmentLightModeliSGIX GLEW_GET_FUN(__glewFragmentLightModeliSGIX) -#define glFragmentLightModelivSGIX GLEW_GET_FUN(__glewFragmentLightModelivSGIX) -#define glFragmentLightfSGIX GLEW_GET_FUN(__glewFragmentLightfSGIX) -#define glFragmentLightfvSGIX GLEW_GET_FUN(__glewFragmentLightfvSGIX) -#define glFragmentLightiSGIX GLEW_GET_FUN(__glewFragmentLightiSGIX) -#define glFragmentLightivSGIX GLEW_GET_FUN(__glewFragmentLightivSGIX) -#define glFragmentMaterialfSGIX GLEW_GET_FUN(__glewFragmentMaterialfSGIX) -#define glFragmentMaterialfvSGIX GLEW_GET_FUN(__glewFragmentMaterialfvSGIX) -#define glFragmentMaterialiSGIX GLEW_GET_FUN(__glewFragmentMaterialiSGIX) -#define glFragmentMaterialivSGIX GLEW_GET_FUN(__glewFragmentMaterialivSGIX) -#define glGetFragmentLightfvSGIX GLEW_GET_FUN(__glewGetFragmentLightfvSGIX) -#define glGetFragmentLightivSGIX GLEW_GET_FUN(__glewGetFragmentLightivSGIX) -#define glGetFragmentMaterialfvSGIX GLEW_GET_FUN(__glewGetFragmentMaterialfvSGIX) -#define glGetFragmentMaterialivSGIX GLEW_GET_FUN(__glewGetFragmentMaterialivSGIX) - -#define GLEW_SGIX_fragment_specular_lighting GLEW_GET_VAR(__GLEW_SGIX_fragment_specular_lighting) - -#endif /* GL_SGIX_fragment_specular_lighting */ - -/* --------------------------- GL_SGIX_framezoom --------------------------- */ - -#ifndef GL_SGIX_framezoom -#define GL_SGIX_framezoom 1 - -typedef void (GLAPIENTRY * PFNGLFRAMEZOOMSGIXPROC) (GLint factor); - -#define glFrameZoomSGIX GLEW_GET_FUN(__glewFrameZoomSGIX) - -#define GLEW_SGIX_framezoom GLEW_GET_VAR(__GLEW_SGIX_framezoom) - -#endif /* GL_SGIX_framezoom */ - -/* --------------------------- GL_SGIX_interlace --------------------------- */ - -#ifndef GL_SGIX_interlace -#define GL_SGIX_interlace 1 - -#define GL_INTERLACE_SGIX 0x8094 - -#define GLEW_SGIX_interlace GLEW_GET_VAR(__GLEW_SGIX_interlace) - -#endif /* GL_SGIX_interlace */ - -/* ------------------------- GL_SGIX_ir_instrument1 ------------------------ */ - -#ifndef GL_SGIX_ir_instrument1 -#define GL_SGIX_ir_instrument1 1 - -#define GLEW_SGIX_ir_instrument1 GLEW_GET_VAR(__GLEW_SGIX_ir_instrument1) - -#endif /* GL_SGIX_ir_instrument1 */ - -/* ------------------------- GL_SGIX_list_priority ------------------------- */ - -#ifndef GL_SGIX_list_priority -#define GL_SGIX_list_priority 1 - -#define GLEW_SGIX_list_priority GLEW_GET_VAR(__GLEW_SGIX_list_priority) - -#endif /* GL_SGIX_list_priority */ - -/* ------------------------- GL_SGIX_pixel_texture ------------------------- */ - -#ifndef GL_SGIX_pixel_texture -#define GL_SGIX_pixel_texture 1 - -typedef void (GLAPIENTRY * PFNGLPIXELTEXGENSGIXPROC) (GLenum mode); - -#define glPixelTexGenSGIX GLEW_GET_FUN(__glewPixelTexGenSGIX) - -#define GLEW_SGIX_pixel_texture GLEW_GET_VAR(__GLEW_SGIX_pixel_texture) - -#endif /* GL_SGIX_pixel_texture */ - -/* ----------------------- GL_SGIX_pixel_texture_bits ---------------------- */ - -#ifndef GL_SGIX_pixel_texture_bits -#define GL_SGIX_pixel_texture_bits 1 - -#define GLEW_SGIX_pixel_texture_bits GLEW_GET_VAR(__GLEW_SGIX_pixel_texture_bits) - -#endif /* GL_SGIX_pixel_texture_bits */ - -/* ------------------------ GL_SGIX_reference_plane ------------------------ */ - -#ifndef GL_SGIX_reference_plane -#define GL_SGIX_reference_plane 1 - -typedef void (GLAPIENTRY * PFNGLREFERENCEPLANESGIXPROC) (const GLdouble* equation); - -#define glReferencePlaneSGIX GLEW_GET_FUN(__glewReferencePlaneSGIX) - -#define GLEW_SGIX_reference_plane GLEW_GET_VAR(__GLEW_SGIX_reference_plane) - -#endif /* GL_SGIX_reference_plane */ - -/* ---------------------------- GL_SGIX_resample --------------------------- */ - -#ifndef GL_SGIX_resample -#define GL_SGIX_resample 1 - -#define GL_PACK_RESAMPLE_SGIX 0x842E -#define GL_UNPACK_RESAMPLE_SGIX 0x842F -#define GL_RESAMPLE_DECIMATE_SGIX 0x8430 -#define GL_RESAMPLE_REPLICATE_SGIX 0x8433 -#define GL_RESAMPLE_ZERO_FILL_SGIX 0x8434 - -#define GLEW_SGIX_resample GLEW_GET_VAR(__GLEW_SGIX_resample) - -#endif /* GL_SGIX_resample */ - -/* ----------------------------- GL_SGIX_shadow ---------------------------- */ - -#ifndef GL_SGIX_shadow -#define GL_SGIX_shadow 1 - -#define GL_TEXTURE_COMPARE_SGIX 0x819A -#define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B -#define GL_TEXTURE_LEQUAL_R_SGIX 0x819C -#define GL_TEXTURE_GEQUAL_R_SGIX 0x819D - -#define GLEW_SGIX_shadow GLEW_GET_VAR(__GLEW_SGIX_shadow) - -#endif /* GL_SGIX_shadow */ - -/* ------------------------- GL_SGIX_shadow_ambient ------------------------ */ - -#ifndef GL_SGIX_shadow_ambient -#define GL_SGIX_shadow_ambient 1 - -#define GL_SHADOW_AMBIENT_SGIX 0x80BF - -#define GLEW_SGIX_shadow_ambient GLEW_GET_VAR(__GLEW_SGIX_shadow_ambient) - -#endif /* GL_SGIX_shadow_ambient */ - -/* ----------------------------- GL_SGIX_sprite ---------------------------- */ - -#ifndef GL_SGIX_sprite -#define GL_SGIX_sprite 1 - -typedef void (GLAPIENTRY * PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param); -typedef void (GLAPIENTRY * PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param); -typedef void (GLAPIENTRY * PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, GLint* params); - -#define glSpriteParameterfSGIX GLEW_GET_FUN(__glewSpriteParameterfSGIX) -#define glSpriteParameterfvSGIX GLEW_GET_FUN(__glewSpriteParameterfvSGIX) -#define glSpriteParameteriSGIX GLEW_GET_FUN(__glewSpriteParameteriSGIX) -#define glSpriteParameterivSGIX GLEW_GET_FUN(__glewSpriteParameterivSGIX) - -#define GLEW_SGIX_sprite GLEW_GET_VAR(__GLEW_SGIX_sprite) - -#endif /* GL_SGIX_sprite */ - -/* ----------------------- GL_SGIX_tag_sample_buffer ----------------------- */ - -#ifndef GL_SGIX_tag_sample_buffer -#define GL_SGIX_tag_sample_buffer 1 - -typedef void (GLAPIENTRY * PFNGLTAGSAMPLEBUFFERSGIXPROC) (void); - -#define glTagSampleBufferSGIX GLEW_GET_FUN(__glewTagSampleBufferSGIX) - -#define GLEW_SGIX_tag_sample_buffer GLEW_GET_VAR(__GLEW_SGIX_tag_sample_buffer) - -#endif /* GL_SGIX_tag_sample_buffer */ - -/* ------------------------ GL_SGIX_texture_add_env ------------------------ */ - -#ifndef GL_SGIX_texture_add_env -#define GL_SGIX_texture_add_env 1 - -#define GLEW_SGIX_texture_add_env GLEW_GET_VAR(__GLEW_SGIX_texture_add_env) - -#endif /* GL_SGIX_texture_add_env */ - -/* -------------------- GL_SGIX_texture_coordinate_clamp ------------------- */ - -#ifndef GL_SGIX_texture_coordinate_clamp -#define GL_SGIX_texture_coordinate_clamp 1 - -#define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369 -#define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A -#define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B - -#define GLEW_SGIX_texture_coordinate_clamp GLEW_GET_VAR(__GLEW_SGIX_texture_coordinate_clamp) - -#endif /* GL_SGIX_texture_coordinate_clamp */ - -/* ------------------------ GL_SGIX_texture_lod_bias ----------------------- */ - -#ifndef GL_SGIX_texture_lod_bias -#define GL_SGIX_texture_lod_bias 1 - -#define GLEW_SGIX_texture_lod_bias GLEW_GET_VAR(__GLEW_SGIX_texture_lod_bias) - -#endif /* GL_SGIX_texture_lod_bias */ - -/* ---------------------- GL_SGIX_texture_multi_buffer --------------------- */ - -#ifndef GL_SGIX_texture_multi_buffer -#define GL_SGIX_texture_multi_buffer 1 - -#define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E - -#define GLEW_SGIX_texture_multi_buffer GLEW_GET_VAR(__GLEW_SGIX_texture_multi_buffer) - -#endif /* GL_SGIX_texture_multi_buffer */ - -/* ------------------------- GL_SGIX_texture_range ------------------------- */ - -#ifndef GL_SGIX_texture_range -#define GL_SGIX_texture_range 1 - -#define GL_RGB_SIGNED_SGIX 0x85E0 -#define GL_RGBA_SIGNED_SGIX 0x85E1 -#define GL_ALPHA_SIGNED_SGIX 0x85E2 -#define GL_LUMINANCE_SIGNED_SGIX 0x85E3 -#define GL_INTENSITY_SIGNED_SGIX 0x85E4 -#define GL_LUMINANCE_ALPHA_SIGNED_SGIX 0x85E5 -#define GL_RGB16_SIGNED_SGIX 0x85E6 -#define GL_RGBA16_SIGNED_SGIX 0x85E7 -#define GL_ALPHA16_SIGNED_SGIX 0x85E8 -#define GL_LUMINANCE16_SIGNED_SGIX 0x85E9 -#define GL_INTENSITY16_SIGNED_SGIX 0x85EA -#define GL_LUMINANCE16_ALPHA16_SIGNED_SGIX 0x85EB -#define GL_RGB_EXTENDED_RANGE_SGIX 0x85EC -#define GL_RGBA_EXTENDED_RANGE_SGIX 0x85ED -#define GL_ALPHA_EXTENDED_RANGE_SGIX 0x85EE -#define GL_LUMINANCE_EXTENDED_RANGE_SGIX 0x85EF -#define GL_INTENSITY_EXTENDED_RANGE_SGIX 0x85F0 -#define GL_LUMINANCE_ALPHA_EXTENDED_RANGE_SGIX 0x85F1 -#define GL_RGB16_EXTENDED_RANGE_SGIX 0x85F2 -#define GL_RGBA16_EXTENDED_RANGE_SGIX 0x85F3 -#define GL_ALPHA16_EXTENDED_RANGE_SGIX 0x85F4 -#define GL_LUMINANCE16_EXTENDED_RANGE_SGIX 0x85F5 -#define GL_INTENSITY16_EXTENDED_RANGE_SGIX 0x85F6 -#define GL_LUMINANCE16_ALPHA16_EXTENDED_RANGE_SGIX 0x85F7 -#define GL_MIN_LUMINANCE_SGIS 0x85F8 -#define GL_MAX_LUMINANCE_SGIS 0x85F9 -#define GL_MIN_INTENSITY_SGIS 0x85FA -#define GL_MAX_INTENSITY_SGIS 0x85FB - -#define GLEW_SGIX_texture_range GLEW_GET_VAR(__GLEW_SGIX_texture_range) - -#endif /* GL_SGIX_texture_range */ - -/* ----------------------- GL_SGIX_texture_scale_bias ---------------------- */ - -#ifndef GL_SGIX_texture_scale_bias -#define GL_SGIX_texture_scale_bias 1 - -#define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179 -#define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A -#define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B -#define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C - -#define GLEW_SGIX_texture_scale_bias GLEW_GET_VAR(__GLEW_SGIX_texture_scale_bias) - -#endif /* GL_SGIX_texture_scale_bias */ - -/* ------------------------- GL_SGIX_vertex_preclip ------------------------ */ - -#ifndef GL_SGIX_vertex_preclip -#define GL_SGIX_vertex_preclip 1 - -#define GL_VERTEX_PRECLIP_SGIX 0x83EE -#define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF - -#define GLEW_SGIX_vertex_preclip GLEW_GET_VAR(__GLEW_SGIX_vertex_preclip) - -#endif /* GL_SGIX_vertex_preclip */ - -/* ---------------------- GL_SGIX_vertex_preclip_hint ---------------------- */ - -#ifndef GL_SGIX_vertex_preclip_hint -#define GL_SGIX_vertex_preclip_hint 1 - -#define GL_VERTEX_PRECLIP_SGIX 0x83EE -#define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF - -#define GLEW_SGIX_vertex_preclip_hint GLEW_GET_VAR(__GLEW_SGIX_vertex_preclip_hint) - -#endif /* GL_SGIX_vertex_preclip_hint */ - -/* ----------------------------- GL_SGIX_ycrcb ----------------------------- */ - -#ifndef GL_SGIX_ycrcb -#define GL_SGIX_ycrcb 1 - -#define GLEW_SGIX_ycrcb GLEW_GET_VAR(__GLEW_SGIX_ycrcb) - -#endif /* GL_SGIX_ycrcb */ - -/* -------------------------- GL_SGI_color_matrix -------------------------- */ - -#ifndef GL_SGI_color_matrix -#define GL_SGI_color_matrix 1 - -#define GL_COLOR_MATRIX_SGI 0x80B1 -#define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2 -#define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3 -#define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4 -#define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5 -#define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6 -#define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7 -#define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8 -#define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9 -#define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA -#define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB - -#define GLEW_SGI_color_matrix GLEW_GET_VAR(__GLEW_SGI_color_matrix) - -#endif /* GL_SGI_color_matrix */ - -/* --------------------------- GL_SGI_color_table -------------------------- */ - -#ifndef GL_SGI_color_table -#define GL_SGI_color_table 1 - -#define GL_COLOR_TABLE_SGI 0x80D0 -#define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1 -#define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2 -#define GL_PROXY_COLOR_TABLE_SGI 0x80D3 -#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4 -#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5 -#define GL_COLOR_TABLE_SCALE_SGI 0x80D6 -#define GL_COLOR_TABLE_BIAS_SGI 0x80D7 -#define GL_COLOR_TABLE_FORMAT_SGI 0x80D8 -#define GL_COLOR_TABLE_WIDTH_SGI 0x80D9 -#define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA -#define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB -#define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC -#define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD -#define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE -#define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF - -typedef void (GLAPIENTRY * PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat* params); -typedef void (GLAPIENTRY * PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint* params); -typedef void (GLAPIENTRY * PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void* table); -typedef void (GLAPIENTRY * PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat* params); -typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint* params); -typedef void (GLAPIENTRY * PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, void* table); - -#define glColorTableParameterfvSGI GLEW_GET_FUN(__glewColorTableParameterfvSGI) -#define glColorTableParameterivSGI GLEW_GET_FUN(__glewColorTableParameterivSGI) -#define glColorTableSGI GLEW_GET_FUN(__glewColorTableSGI) -#define glCopyColorTableSGI GLEW_GET_FUN(__glewCopyColorTableSGI) -#define glGetColorTableParameterfvSGI GLEW_GET_FUN(__glewGetColorTableParameterfvSGI) -#define glGetColorTableParameterivSGI GLEW_GET_FUN(__glewGetColorTableParameterivSGI) -#define glGetColorTableSGI GLEW_GET_FUN(__glewGetColorTableSGI) - -#define GLEW_SGI_color_table GLEW_GET_VAR(__GLEW_SGI_color_table) - -#endif /* GL_SGI_color_table */ - -/* ----------------------- GL_SGI_texture_color_table ---------------------- */ - -#ifndef GL_SGI_texture_color_table -#define GL_SGI_texture_color_table 1 - -#define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC -#define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD - -#define GLEW_SGI_texture_color_table GLEW_GET_VAR(__GLEW_SGI_texture_color_table) - -#endif /* GL_SGI_texture_color_table */ - -/* ------------------------- GL_SUNX_constant_data ------------------------- */ - -#ifndef GL_SUNX_constant_data -#define GL_SUNX_constant_data 1 - -#define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5 -#define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6 - -typedef void (GLAPIENTRY * PFNGLFINISHTEXTURESUNXPROC) (void); - -#define glFinishTextureSUNX GLEW_GET_FUN(__glewFinishTextureSUNX) - -#define GLEW_SUNX_constant_data GLEW_GET_VAR(__GLEW_SUNX_constant_data) - -#endif /* GL_SUNX_constant_data */ - -/* -------------------- GL_SUN_convolution_border_modes -------------------- */ - -#ifndef GL_SUN_convolution_border_modes -#define GL_SUN_convolution_border_modes 1 - -#define GL_WRAP_BORDER_SUN 0x81D4 - -#define GLEW_SUN_convolution_border_modes GLEW_GET_VAR(__GLEW_SUN_convolution_border_modes) - -#endif /* GL_SUN_convolution_border_modes */ - -/* -------------------------- GL_SUN_global_alpha -------------------------- */ - -#ifndef GL_SUN_global_alpha -#define GL_SUN_global_alpha 1 - -#define GL_GLOBAL_ALPHA_SUN 0x81D9 -#define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA - -typedef void (GLAPIENTRY * PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor); -typedef void (GLAPIENTRY * PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor); -typedef void (GLAPIENTRY * PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor); -typedef void (GLAPIENTRY * PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor); -typedef void (GLAPIENTRY * PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor); -typedef void (GLAPIENTRY * PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor); -typedef void (GLAPIENTRY * PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor); -typedef void (GLAPIENTRY * PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor); - -#define glGlobalAlphaFactorbSUN GLEW_GET_FUN(__glewGlobalAlphaFactorbSUN) -#define glGlobalAlphaFactordSUN GLEW_GET_FUN(__glewGlobalAlphaFactordSUN) -#define glGlobalAlphaFactorfSUN GLEW_GET_FUN(__glewGlobalAlphaFactorfSUN) -#define glGlobalAlphaFactoriSUN GLEW_GET_FUN(__glewGlobalAlphaFactoriSUN) -#define glGlobalAlphaFactorsSUN GLEW_GET_FUN(__glewGlobalAlphaFactorsSUN) -#define glGlobalAlphaFactorubSUN GLEW_GET_FUN(__glewGlobalAlphaFactorubSUN) -#define glGlobalAlphaFactoruiSUN GLEW_GET_FUN(__glewGlobalAlphaFactoruiSUN) -#define glGlobalAlphaFactorusSUN GLEW_GET_FUN(__glewGlobalAlphaFactorusSUN) - -#define GLEW_SUN_global_alpha GLEW_GET_VAR(__GLEW_SUN_global_alpha) - -#endif /* GL_SUN_global_alpha */ - -/* --------------------------- GL_SUN_mesh_array --------------------------- */ - -#ifndef GL_SUN_mesh_array -#define GL_SUN_mesh_array 1 - -#define GL_QUAD_MESH_SUN 0x8614 -#define GL_TRIANGLE_MESH_SUN 0x8615 - -#define GLEW_SUN_mesh_array GLEW_GET_VAR(__GLEW_SUN_mesh_array) - -#endif /* GL_SUN_mesh_array */ - -/* ------------------------ GL_SUN_read_video_pixels ----------------------- */ - -#ifndef GL_SUN_read_video_pixels -#define GL_SUN_read_video_pixels 1 - -typedef void (GLAPIENTRY * PFNGLREADVIDEOPIXELSSUNPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels); - -#define glReadVideoPixelsSUN GLEW_GET_FUN(__glewReadVideoPixelsSUN) - -#define GLEW_SUN_read_video_pixels GLEW_GET_VAR(__GLEW_SUN_read_video_pixels) - -#endif /* GL_SUN_read_video_pixels */ - -/* --------------------------- GL_SUN_slice_accum -------------------------- */ - -#ifndef GL_SUN_slice_accum -#define GL_SUN_slice_accum 1 - -#define GL_SLICE_ACCUM_SUN 0x85CC - -#define GLEW_SUN_slice_accum GLEW_GET_VAR(__GLEW_SUN_slice_accum) - -#endif /* GL_SUN_slice_accum */ - -/* -------------------------- GL_SUN_triangle_list ------------------------- */ - -#ifndef GL_SUN_triangle_list -#define GL_SUN_triangle_list 1 - -#define GL_RESTART_SUN 0x01 -#define GL_REPLACE_MIDDLE_SUN 0x02 -#define GL_REPLACE_OLDEST_SUN 0x03 -#define GL_TRIANGLE_LIST_SUN 0x81D7 -#define GL_REPLACEMENT_CODE_SUN 0x81D8 -#define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0 -#define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1 -#define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2 -#define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3 -#define GL_R1UI_V3F_SUN 0x85C4 -#define GL_R1UI_C4UB_V3F_SUN 0x85C5 -#define GL_R1UI_C3F_V3F_SUN 0x85C6 -#define GL_R1UI_N3F_V3F_SUN 0x85C7 -#define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8 -#define GL_R1UI_T2F_V3F_SUN 0x85C9 -#define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA -#define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB - -typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const void* pointer); -typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code); -typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte* code); -typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code); -typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint* code); -typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code); -typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort* code); - -#define glReplacementCodePointerSUN GLEW_GET_FUN(__glewReplacementCodePointerSUN) -#define glReplacementCodeubSUN GLEW_GET_FUN(__glewReplacementCodeubSUN) -#define glReplacementCodeubvSUN GLEW_GET_FUN(__glewReplacementCodeubvSUN) -#define glReplacementCodeuiSUN GLEW_GET_FUN(__glewReplacementCodeuiSUN) -#define glReplacementCodeuivSUN GLEW_GET_FUN(__glewReplacementCodeuivSUN) -#define glReplacementCodeusSUN GLEW_GET_FUN(__glewReplacementCodeusSUN) -#define glReplacementCodeusvSUN GLEW_GET_FUN(__glewReplacementCodeusvSUN) - -#define GLEW_SUN_triangle_list GLEW_GET_VAR(__GLEW_SUN_triangle_list) - -#endif /* GL_SUN_triangle_list */ - -/* ----------------------------- GL_SUN_vertex ----------------------------- */ - -#ifndef GL_SUN_vertex -#define GL_SUN_vertex 1 - -typedef void (GLAPIENTRY * PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat* c, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat* c, const GLfloat *n, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y); -typedef void (GLAPIENTRY * PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte* c, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte* c, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat* n, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint* rc, const GLfloat *c, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint* rc, const GLfloat *c, const GLfloat *n, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint* rc, const GLubyte *c, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint* rc, const GLfloat *n, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint* rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint* rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint* rc, const GLfloat *tc, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint* rc, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat* tc, const GLfloat *c, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat* tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat* tc, const GLubyte *c, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat* tc, const GLfloat *n, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); -typedef void (GLAPIENTRY * PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat* tc, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (GLAPIENTRY * PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat* tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); -typedef void (GLAPIENTRY * PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (GLAPIENTRY * PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat* tc, const GLfloat *v); - -#define glColor3fVertex3fSUN GLEW_GET_FUN(__glewColor3fVertex3fSUN) -#define glColor3fVertex3fvSUN GLEW_GET_FUN(__glewColor3fVertex3fvSUN) -#define glColor4fNormal3fVertex3fSUN GLEW_GET_FUN(__glewColor4fNormal3fVertex3fSUN) -#define glColor4fNormal3fVertex3fvSUN GLEW_GET_FUN(__glewColor4fNormal3fVertex3fvSUN) -#define glColor4ubVertex2fSUN GLEW_GET_FUN(__glewColor4ubVertex2fSUN) -#define glColor4ubVertex2fvSUN GLEW_GET_FUN(__glewColor4ubVertex2fvSUN) -#define glColor4ubVertex3fSUN GLEW_GET_FUN(__glewColor4ubVertex3fSUN) -#define glColor4ubVertex3fvSUN GLEW_GET_FUN(__glewColor4ubVertex3fvSUN) -#define glNormal3fVertex3fSUN GLEW_GET_FUN(__glewNormal3fVertex3fSUN) -#define glNormal3fVertex3fvSUN GLEW_GET_FUN(__glewNormal3fVertex3fvSUN) -#define glReplacementCodeuiColor3fVertex3fSUN GLEW_GET_FUN(__glewReplacementCodeuiColor3fVertex3fSUN) -#define glReplacementCodeuiColor3fVertex3fvSUN GLEW_GET_FUN(__glewReplacementCodeuiColor3fVertex3fvSUN) -#define glReplacementCodeuiColor4fNormal3fVertex3fSUN GLEW_GET_FUN(__glewReplacementCodeuiColor4fNormal3fVertex3fSUN) -#define glReplacementCodeuiColor4fNormal3fVertex3fvSUN GLEW_GET_FUN(__glewReplacementCodeuiColor4fNormal3fVertex3fvSUN) -#define glReplacementCodeuiColor4ubVertex3fSUN GLEW_GET_FUN(__glewReplacementCodeuiColor4ubVertex3fSUN) -#define glReplacementCodeuiColor4ubVertex3fvSUN GLEW_GET_FUN(__glewReplacementCodeuiColor4ubVertex3fvSUN) -#define glReplacementCodeuiNormal3fVertex3fSUN GLEW_GET_FUN(__glewReplacementCodeuiNormal3fVertex3fSUN) -#define glReplacementCodeuiNormal3fVertex3fvSUN GLEW_GET_FUN(__glewReplacementCodeuiNormal3fVertex3fvSUN) -#define glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN GLEW_GET_FUN(__glewReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN) -#define glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN GLEW_GET_FUN(__glewReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN) -#define glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN GLEW_GET_FUN(__glewReplacementCodeuiTexCoord2fNormal3fVertex3fSUN) -#define glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN GLEW_GET_FUN(__glewReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN) -#define glReplacementCodeuiTexCoord2fVertex3fSUN GLEW_GET_FUN(__glewReplacementCodeuiTexCoord2fVertex3fSUN) -#define glReplacementCodeuiTexCoord2fVertex3fvSUN GLEW_GET_FUN(__glewReplacementCodeuiTexCoord2fVertex3fvSUN) -#define glReplacementCodeuiVertex3fSUN GLEW_GET_FUN(__glewReplacementCodeuiVertex3fSUN) -#define glReplacementCodeuiVertex3fvSUN GLEW_GET_FUN(__glewReplacementCodeuiVertex3fvSUN) -#define glTexCoord2fColor3fVertex3fSUN GLEW_GET_FUN(__glewTexCoord2fColor3fVertex3fSUN) -#define glTexCoord2fColor3fVertex3fvSUN GLEW_GET_FUN(__glewTexCoord2fColor3fVertex3fvSUN) -#define glTexCoord2fColor4fNormal3fVertex3fSUN GLEW_GET_FUN(__glewTexCoord2fColor4fNormal3fVertex3fSUN) -#define glTexCoord2fColor4fNormal3fVertex3fvSUN GLEW_GET_FUN(__glewTexCoord2fColor4fNormal3fVertex3fvSUN) -#define glTexCoord2fColor4ubVertex3fSUN GLEW_GET_FUN(__glewTexCoord2fColor4ubVertex3fSUN) -#define glTexCoord2fColor4ubVertex3fvSUN GLEW_GET_FUN(__glewTexCoord2fColor4ubVertex3fvSUN) -#define glTexCoord2fNormal3fVertex3fSUN GLEW_GET_FUN(__glewTexCoord2fNormal3fVertex3fSUN) -#define glTexCoord2fNormal3fVertex3fvSUN GLEW_GET_FUN(__glewTexCoord2fNormal3fVertex3fvSUN) -#define glTexCoord2fVertex3fSUN GLEW_GET_FUN(__glewTexCoord2fVertex3fSUN) -#define glTexCoord2fVertex3fvSUN GLEW_GET_FUN(__glewTexCoord2fVertex3fvSUN) -#define glTexCoord4fColor4fNormal3fVertex4fSUN GLEW_GET_FUN(__glewTexCoord4fColor4fNormal3fVertex4fSUN) -#define glTexCoord4fColor4fNormal3fVertex4fvSUN GLEW_GET_FUN(__glewTexCoord4fColor4fNormal3fVertex4fvSUN) -#define glTexCoord4fVertex4fSUN GLEW_GET_FUN(__glewTexCoord4fVertex4fSUN) -#define glTexCoord4fVertex4fvSUN GLEW_GET_FUN(__glewTexCoord4fVertex4fvSUN) - -#define GLEW_SUN_vertex GLEW_GET_VAR(__GLEW_SUN_vertex) - -#endif /* GL_SUN_vertex */ - -/* -------------------------- GL_WIN_phong_shading ------------------------- */ - -#ifndef GL_WIN_phong_shading -#define GL_WIN_phong_shading 1 - -#define GL_PHONG_WIN 0x80EA -#define GL_PHONG_HINT_WIN 0x80EB - -#define GLEW_WIN_phong_shading GLEW_GET_VAR(__GLEW_WIN_phong_shading) - -#endif /* GL_WIN_phong_shading */ - -/* -------------------------- GL_WIN_specular_fog -------------------------- */ - -#ifndef GL_WIN_specular_fog -#define GL_WIN_specular_fog 1 - -#define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC - -#define GLEW_WIN_specular_fog GLEW_GET_VAR(__GLEW_WIN_specular_fog) - -#endif /* GL_WIN_specular_fog */ - -/* ---------------------------- GL_WIN_swap_hint --------------------------- */ - -#ifndef GL_WIN_swap_hint -#define GL_WIN_swap_hint 1 - -typedef void (GLAPIENTRY * PFNGLADDSWAPHINTRECTWINPROC) (GLint x, GLint y, GLsizei width, GLsizei height); - -#define glAddSwapHintRectWIN GLEW_GET_FUN(__glewAddSwapHintRectWIN) - -#define GLEW_WIN_swap_hint GLEW_GET_VAR(__GLEW_WIN_swap_hint) - -#endif /* GL_WIN_swap_hint */ - -/* ------------------------------------------------------------------------- */ - -#if defined(GLEW_MX) && defined(_WIN32) -#define GLEW_FUN_EXPORT -#else -#define GLEW_FUN_EXPORT GLEWAPI -#endif /* GLEW_MX */ - -#if defined(GLEW_MX) -#define GLEW_VAR_EXPORT -#else -#define GLEW_VAR_EXPORT GLEWAPI -#endif /* GLEW_MX */ - -#if defined(GLEW_MX) && defined(_WIN32) -struct GLEWContextStruct -{ -#endif /* GLEW_MX */ - -GLEW_FUN_EXPORT PFNGLCOPYTEXSUBIMAGE3DPROC __glewCopyTexSubImage3D; -GLEW_FUN_EXPORT PFNGLDRAWRANGEELEMENTSPROC __glewDrawRangeElements; -GLEW_FUN_EXPORT PFNGLTEXIMAGE3DPROC __glewTexImage3D; -GLEW_FUN_EXPORT PFNGLTEXSUBIMAGE3DPROC __glewTexSubImage3D; - -GLEW_FUN_EXPORT PFNGLACTIVETEXTUREPROC __glewActiveTexture; -GLEW_FUN_EXPORT PFNGLCLIENTACTIVETEXTUREPROC __glewClientActiveTexture; -GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXIMAGE1DPROC __glewCompressedTexImage1D; -GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXIMAGE2DPROC __glewCompressedTexImage2D; -GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXIMAGE3DPROC __glewCompressedTexImage3D; -GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC __glewCompressedTexSubImage1D; -GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC __glewCompressedTexSubImage2D; -GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC __glewCompressedTexSubImage3D; -GLEW_FUN_EXPORT PFNGLGETCOMPRESSEDTEXIMAGEPROC __glewGetCompressedTexImage; -GLEW_FUN_EXPORT PFNGLLOADTRANSPOSEMATRIXDPROC __glewLoadTransposeMatrixd; -GLEW_FUN_EXPORT PFNGLLOADTRANSPOSEMATRIXFPROC __glewLoadTransposeMatrixf; -GLEW_FUN_EXPORT PFNGLMULTTRANSPOSEMATRIXDPROC __glewMultTransposeMatrixd; -GLEW_FUN_EXPORT PFNGLMULTTRANSPOSEMATRIXFPROC __glewMultTransposeMatrixf; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1DPROC __glewMultiTexCoord1d; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1DVPROC __glewMultiTexCoord1dv; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1FPROC __glewMultiTexCoord1f; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1FVPROC __glewMultiTexCoord1fv; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1IPROC __glewMultiTexCoord1i; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1IVPROC __glewMultiTexCoord1iv; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1SPROC __glewMultiTexCoord1s; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1SVPROC __glewMultiTexCoord1sv; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2DPROC __glewMultiTexCoord2d; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2DVPROC __glewMultiTexCoord2dv; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2FPROC __glewMultiTexCoord2f; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2FVPROC __glewMultiTexCoord2fv; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2IPROC __glewMultiTexCoord2i; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2IVPROC __glewMultiTexCoord2iv; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2SPROC __glewMultiTexCoord2s; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2SVPROC __glewMultiTexCoord2sv; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3DPROC __glewMultiTexCoord3d; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3DVPROC __glewMultiTexCoord3dv; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3FPROC __glewMultiTexCoord3f; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3FVPROC __glewMultiTexCoord3fv; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3IPROC __glewMultiTexCoord3i; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3IVPROC __glewMultiTexCoord3iv; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3SPROC __glewMultiTexCoord3s; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3SVPROC __glewMultiTexCoord3sv; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4DPROC __glewMultiTexCoord4d; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4DVPROC __glewMultiTexCoord4dv; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4FPROC __glewMultiTexCoord4f; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4FVPROC __glewMultiTexCoord4fv; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4IPROC __glewMultiTexCoord4i; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4IVPROC __glewMultiTexCoord4iv; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4SPROC __glewMultiTexCoord4s; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4SVPROC __glewMultiTexCoord4sv; -GLEW_FUN_EXPORT PFNGLSAMPLECOVERAGEPROC __glewSampleCoverage; - -GLEW_FUN_EXPORT PFNGLBLENDCOLORPROC __glewBlendColor; -GLEW_FUN_EXPORT PFNGLBLENDEQUATIONPROC __glewBlendEquation; -GLEW_FUN_EXPORT PFNGLBLENDFUNCSEPARATEPROC __glewBlendFuncSeparate; -GLEW_FUN_EXPORT PFNGLFOGCOORDPOINTERPROC __glewFogCoordPointer; -GLEW_FUN_EXPORT PFNGLFOGCOORDDPROC __glewFogCoordd; -GLEW_FUN_EXPORT PFNGLFOGCOORDDVPROC __glewFogCoorddv; -GLEW_FUN_EXPORT PFNGLFOGCOORDFPROC __glewFogCoordf; -GLEW_FUN_EXPORT PFNGLFOGCOORDFVPROC __glewFogCoordfv; -GLEW_FUN_EXPORT PFNGLMULTIDRAWARRAYSPROC __glewMultiDrawArrays; -GLEW_FUN_EXPORT PFNGLMULTIDRAWELEMENTSPROC __glewMultiDrawElements; -GLEW_FUN_EXPORT PFNGLPOINTPARAMETERFPROC __glewPointParameterf; -GLEW_FUN_EXPORT PFNGLPOINTPARAMETERFVPROC __glewPointParameterfv; -GLEW_FUN_EXPORT PFNGLPOINTPARAMETERIPROC __glewPointParameteri; -GLEW_FUN_EXPORT PFNGLPOINTPARAMETERIVPROC __glewPointParameteriv; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3BPROC __glewSecondaryColor3b; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3BVPROC __glewSecondaryColor3bv; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3DPROC __glewSecondaryColor3d; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3DVPROC __glewSecondaryColor3dv; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3FPROC __glewSecondaryColor3f; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3FVPROC __glewSecondaryColor3fv; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3IPROC __glewSecondaryColor3i; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3IVPROC __glewSecondaryColor3iv; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3SPROC __glewSecondaryColor3s; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3SVPROC __glewSecondaryColor3sv; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3UBPROC __glewSecondaryColor3ub; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3UBVPROC __glewSecondaryColor3ubv; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3UIPROC __glewSecondaryColor3ui; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3UIVPROC __glewSecondaryColor3uiv; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3USPROC __glewSecondaryColor3us; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3USVPROC __glewSecondaryColor3usv; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLORPOINTERPROC __glewSecondaryColorPointer; -GLEW_FUN_EXPORT PFNGLWINDOWPOS2DPROC __glewWindowPos2d; -GLEW_FUN_EXPORT PFNGLWINDOWPOS2DVPROC __glewWindowPos2dv; -GLEW_FUN_EXPORT PFNGLWINDOWPOS2FPROC __glewWindowPos2f; -GLEW_FUN_EXPORT PFNGLWINDOWPOS2FVPROC __glewWindowPos2fv; -GLEW_FUN_EXPORT PFNGLWINDOWPOS2IPROC __glewWindowPos2i; -GLEW_FUN_EXPORT PFNGLWINDOWPOS2IVPROC __glewWindowPos2iv; -GLEW_FUN_EXPORT PFNGLWINDOWPOS2SPROC __glewWindowPos2s; -GLEW_FUN_EXPORT PFNGLWINDOWPOS2SVPROC __glewWindowPos2sv; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3DPROC __glewWindowPos3d; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3DVPROC __glewWindowPos3dv; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3FPROC __glewWindowPos3f; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3FVPROC __glewWindowPos3fv; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3IPROC __glewWindowPos3i; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3IVPROC __glewWindowPos3iv; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3SPROC __glewWindowPos3s; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3SVPROC __glewWindowPos3sv; - -GLEW_FUN_EXPORT PFNGLBEGINQUERYPROC __glewBeginQuery; -GLEW_FUN_EXPORT PFNGLBINDBUFFERPROC __glewBindBuffer; -GLEW_FUN_EXPORT PFNGLBUFFERDATAPROC __glewBufferData; -GLEW_FUN_EXPORT PFNGLBUFFERSUBDATAPROC __glewBufferSubData; -GLEW_FUN_EXPORT PFNGLDELETEBUFFERSPROC __glewDeleteBuffers; -GLEW_FUN_EXPORT PFNGLDELETEQUERIESPROC __glewDeleteQueries; -GLEW_FUN_EXPORT PFNGLENDQUERYPROC __glewEndQuery; -GLEW_FUN_EXPORT PFNGLGENBUFFERSPROC __glewGenBuffers; -GLEW_FUN_EXPORT PFNGLGENQUERIESPROC __glewGenQueries; -GLEW_FUN_EXPORT PFNGLGETBUFFERPARAMETERIVPROC __glewGetBufferParameteriv; -GLEW_FUN_EXPORT PFNGLGETBUFFERPOINTERVPROC __glewGetBufferPointerv; -GLEW_FUN_EXPORT PFNGLGETBUFFERSUBDATAPROC __glewGetBufferSubData; -GLEW_FUN_EXPORT PFNGLGETQUERYOBJECTIVPROC __glewGetQueryObjectiv; -GLEW_FUN_EXPORT PFNGLGETQUERYOBJECTUIVPROC __glewGetQueryObjectuiv; -GLEW_FUN_EXPORT PFNGLGETQUERYIVPROC __glewGetQueryiv; -GLEW_FUN_EXPORT PFNGLISBUFFERPROC __glewIsBuffer; -GLEW_FUN_EXPORT PFNGLISQUERYPROC __glewIsQuery; -GLEW_FUN_EXPORT PFNGLMAPBUFFERPROC __glewMapBuffer; -GLEW_FUN_EXPORT PFNGLUNMAPBUFFERPROC __glewUnmapBuffer; - -GLEW_FUN_EXPORT PFNGLATTACHSHADERPROC __glewAttachShader; -GLEW_FUN_EXPORT PFNGLBINDATTRIBLOCATIONPROC __glewBindAttribLocation; -GLEW_FUN_EXPORT PFNGLBLENDEQUATIONSEPARATEPROC __glewBlendEquationSeparate; -GLEW_FUN_EXPORT PFNGLCOMPILESHADERPROC __glewCompileShader; -GLEW_FUN_EXPORT PFNGLCREATEPROGRAMPROC __glewCreateProgram; -GLEW_FUN_EXPORT PFNGLCREATESHADERPROC __glewCreateShader; -GLEW_FUN_EXPORT PFNGLDELETEPROGRAMPROC __glewDeleteProgram; -GLEW_FUN_EXPORT PFNGLDELETESHADERPROC __glewDeleteShader; -GLEW_FUN_EXPORT PFNGLDETACHSHADERPROC __glewDetachShader; -GLEW_FUN_EXPORT PFNGLDISABLEVERTEXATTRIBARRAYPROC __glewDisableVertexAttribArray; -GLEW_FUN_EXPORT PFNGLDRAWBUFFERSPROC __glewDrawBuffers; -GLEW_FUN_EXPORT PFNGLENABLEVERTEXATTRIBARRAYPROC __glewEnableVertexAttribArray; -GLEW_FUN_EXPORT PFNGLGETACTIVEATTRIBPROC __glewGetActiveAttrib; -GLEW_FUN_EXPORT PFNGLGETACTIVEUNIFORMPROC __glewGetActiveUniform; -GLEW_FUN_EXPORT PFNGLGETATTACHEDSHADERSPROC __glewGetAttachedShaders; -GLEW_FUN_EXPORT PFNGLGETATTRIBLOCATIONPROC __glewGetAttribLocation; -GLEW_FUN_EXPORT PFNGLGETPROGRAMINFOLOGPROC __glewGetProgramInfoLog; -GLEW_FUN_EXPORT PFNGLGETPROGRAMIVPROC __glewGetProgramiv; -GLEW_FUN_EXPORT PFNGLGETSHADERINFOLOGPROC __glewGetShaderInfoLog; -GLEW_FUN_EXPORT PFNGLGETSHADERSOURCEPROC __glewGetShaderSource; -GLEW_FUN_EXPORT PFNGLGETSHADERIVPROC __glewGetShaderiv; -GLEW_FUN_EXPORT PFNGLGETUNIFORMLOCATIONPROC __glewGetUniformLocation; -GLEW_FUN_EXPORT PFNGLGETUNIFORMFVPROC __glewGetUniformfv; -GLEW_FUN_EXPORT PFNGLGETUNIFORMIVPROC __glewGetUniformiv; -GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBPOINTERVPROC __glewGetVertexAttribPointerv; -GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBDVPROC __glewGetVertexAttribdv; -GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBFVPROC __glewGetVertexAttribfv; -GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBIVPROC __glewGetVertexAttribiv; -GLEW_FUN_EXPORT PFNGLISPROGRAMPROC __glewIsProgram; -GLEW_FUN_EXPORT PFNGLISSHADERPROC __glewIsShader; -GLEW_FUN_EXPORT PFNGLLINKPROGRAMPROC __glewLinkProgram; -GLEW_FUN_EXPORT PFNGLSHADERSOURCEPROC __glewShaderSource; -GLEW_FUN_EXPORT PFNGLSTENCILFUNCSEPARATEPROC __glewStencilFuncSeparate; -GLEW_FUN_EXPORT PFNGLSTENCILMASKSEPARATEPROC __glewStencilMaskSeparate; -GLEW_FUN_EXPORT PFNGLSTENCILOPSEPARATEPROC __glewStencilOpSeparate; -GLEW_FUN_EXPORT PFNGLUNIFORM1FPROC __glewUniform1f; -GLEW_FUN_EXPORT PFNGLUNIFORM1FVPROC __glewUniform1fv; -GLEW_FUN_EXPORT PFNGLUNIFORM1IPROC __glewUniform1i; -GLEW_FUN_EXPORT PFNGLUNIFORM1IVPROC __glewUniform1iv; -GLEW_FUN_EXPORT PFNGLUNIFORM2FPROC __glewUniform2f; -GLEW_FUN_EXPORT PFNGLUNIFORM2FVPROC __glewUniform2fv; -GLEW_FUN_EXPORT PFNGLUNIFORM2IPROC __glewUniform2i; -GLEW_FUN_EXPORT PFNGLUNIFORM2IVPROC __glewUniform2iv; -GLEW_FUN_EXPORT PFNGLUNIFORM3FPROC __glewUniform3f; -GLEW_FUN_EXPORT PFNGLUNIFORM3FVPROC __glewUniform3fv; -GLEW_FUN_EXPORT PFNGLUNIFORM3IPROC __glewUniform3i; -GLEW_FUN_EXPORT PFNGLUNIFORM3IVPROC __glewUniform3iv; -GLEW_FUN_EXPORT PFNGLUNIFORM4FPROC __glewUniform4f; -GLEW_FUN_EXPORT PFNGLUNIFORM4FVPROC __glewUniform4fv; -GLEW_FUN_EXPORT PFNGLUNIFORM4IPROC __glewUniform4i; -GLEW_FUN_EXPORT PFNGLUNIFORM4IVPROC __glewUniform4iv; -GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX2FVPROC __glewUniformMatrix2fv; -GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX3FVPROC __glewUniformMatrix3fv; -GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX4FVPROC __glewUniformMatrix4fv; -GLEW_FUN_EXPORT PFNGLUSEPROGRAMPROC __glewUseProgram; -GLEW_FUN_EXPORT PFNGLVALIDATEPROGRAMPROC __glewValidateProgram; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1DPROC __glewVertexAttrib1d; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1DVPROC __glewVertexAttrib1dv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1FPROC __glewVertexAttrib1f; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1FVPROC __glewVertexAttrib1fv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1SPROC __glewVertexAttrib1s; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1SVPROC __glewVertexAttrib1sv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2DPROC __glewVertexAttrib2d; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2DVPROC __glewVertexAttrib2dv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2FPROC __glewVertexAttrib2f; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2FVPROC __glewVertexAttrib2fv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2SPROC __glewVertexAttrib2s; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2SVPROC __glewVertexAttrib2sv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3DPROC __glewVertexAttrib3d; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3DVPROC __glewVertexAttrib3dv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3FPROC __glewVertexAttrib3f; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3FVPROC __glewVertexAttrib3fv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3SPROC __glewVertexAttrib3s; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3SVPROC __glewVertexAttrib3sv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NBVPROC __glewVertexAttrib4Nbv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NIVPROC __glewVertexAttrib4Niv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NSVPROC __glewVertexAttrib4Nsv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NUBPROC __glewVertexAttrib4Nub; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NUBVPROC __glewVertexAttrib4Nubv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NUIVPROC __glewVertexAttrib4Nuiv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NUSVPROC __glewVertexAttrib4Nusv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4BVPROC __glewVertexAttrib4bv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4DPROC __glewVertexAttrib4d; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4DVPROC __glewVertexAttrib4dv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4FPROC __glewVertexAttrib4f; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4FVPROC __glewVertexAttrib4fv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4IVPROC __glewVertexAttrib4iv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4SPROC __glewVertexAttrib4s; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4SVPROC __glewVertexAttrib4sv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4UBVPROC __glewVertexAttrib4ubv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4UIVPROC __glewVertexAttrib4uiv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4USVPROC __glewVertexAttrib4usv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBPOINTERPROC __glewVertexAttribPointer; - -GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX2X3FVPROC __glewUniformMatrix2x3fv; -GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX2X4FVPROC __glewUniformMatrix2x4fv; -GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX3X2FVPROC __glewUniformMatrix3x2fv; -GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX3X4FVPROC __glewUniformMatrix3x4fv; -GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX4X2FVPROC __glewUniformMatrix4x2fv; -GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX4X3FVPROC __glewUniformMatrix4x3fv; - -GLEW_FUN_EXPORT PFNGLBEGINCONDITIONALRENDERPROC __glewBeginConditionalRender; -GLEW_FUN_EXPORT PFNGLBEGINTRANSFORMFEEDBACKPROC __glewBeginTransformFeedback; -GLEW_FUN_EXPORT PFNGLBINDFRAGDATALOCATIONPROC __glewBindFragDataLocation; -GLEW_FUN_EXPORT PFNGLCLAMPCOLORPROC __glewClampColor; -GLEW_FUN_EXPORT PFNGLCLEARBUFFERFIPROC __glewClearBufferfi; -GLEW_FUN_EXPORT PFNGLCLEARBUFFERFVPROC __glewClearBufferfv; -GLEW_FUN_EXPORT PFNGLCLEARBUFFERIVPROC __glewClearBufferiv; -GLEW_FUN_EXPORT PFNGLCLEARBUFFERUIVPROC __glewClearBufferuiv; -GLEW_FUN_EXPORT PFNGLCOLORMASKIPROC __glewColorMaski; -GLEW_FUN_EXPORT PFNGLDISABLEIPROC __glewDisablei; -GLEW_FUN_EXPORT PFNGLENABLEIPROC __glewEnablei; -GLEW_FUN_EXPORT PFNGLENDCONDITIONALRENDERPROC __glewEndConditionalRender; -GLEW_FUN_EXPORT PFNGLENDTRANSFORMFEEDBACKPROC __glewEndTransformFeedback; -GLEW_FUN_EXPORT PFNGLGETBOOLEANI_VPROC __glewGetBooleani_v; -GLEW_FUN_EXPORT PFNGLGETFRAGDATALOCATIONPROC __glewGetFragDataLocation; -GLEW_FUN_EXPORT PFNGLGETSTRINGIPROC __glewGetStringi; -GLEW_FUN_EXPORT PFNGLGETTEXPARAMETERIIVPROC __glewGetTexParameterIiv; -GLEW_FUN_EXPORT PFNGLGETTEXPARAMETERIUIVPROC __glewGetTexParameterIuiv; -GLEW_FUN_EXPORT PFNGLGETTRANSFORMFEEDBACKVARYINGPROC __glewGetTransformFeedbackVarying; -GLEW_FUN_EXPORT PFNGLGETUNIFORMUIVPROC __glewGetUniformuiv; -GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBIIVPROC __glewGetVertexAttribIiv; -GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBIUIVPROC __glewGetVertexAttribIuiv; -GLEW_FUN_EXPORT PFNGLISENABLEDIPROC __glewIsEnabledi; -GLEW_FUN_EXPORT PFNGLTEXPARAMETERIIVPROC __glewTexParameterIiv; -GLEW_FUN_EXPORT PFNGLTEXPARAMETERIUIVPROC __glewTexParameterIuiv; -GLEW_FUN_EXPORT PFNGLTRANSFORMFEEDBACKVARYINGSPROC __glewTransformFeedbackVaryings; -GLEW_FUN_EXPORT PFNGLUNIFORM1UIPROC __glewUniform1ui; -GLEW_FUN_EXPORT PFNGLUNIFORM1UIVPROC __glewUniform1uiv; -GLEW_FUN_EXPORT PFNGLUNIFORM2UIPROC __glewUniform2ui; -GLEW_FUN_EXPORT PFNGLUNIFORM2UIVPROC __glewUniform2uiv; -GLEW_FUN_EXPORT PFNGLUNIFORM3UIPROC __glewUniform3ui; -GLEW_FUN_EXPORT PFNGLUNIFORM3UIVPROC __glewUniform3uiv; -GLEW_FUN_EXPORT PFNGLUNIFORM4UIPROC __glewUniform4ui; -GLEW_FUN_EXPORT PFNGLUNIFORM4UIVPROC __glewUniform4uiv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI1IPROC __glewVertexAttribI1i; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI1IVPROC __glewVertexAttribI1iv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI1UIPROC __glewVertexAttribI1ui; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI1UIVPROC __glewVertexAttribI1uiv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI2IPROC __glewVertexAttribI2i; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI2IVPROC __glewVertexAttribI2iv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI2UIPROC __glewVertexAttribI2ui; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI2UIVPROC __glewVertexAttribI2uiv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI3IPROC __glewVertexAttribI3i; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI3IVPROC __glewVertexAttribI3iv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI3UIPROC __glewVertexAttribI3ui; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI3UIVPROC __glewVertexAttribI3uiv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4BVPROC __glewVertexAttribI4bv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4IPROC __glewVertexAttribI4i; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4IVPROC __glewVertexAttribI4iv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4SVPROC __glewVertexAttribI4sv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4UBVPROC __glewVertexAttribI4ubv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4UIPROC __glewVertexAttribI4ui; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4UIVPROC __glewVertexAttribI4uiv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4USVPROC __glewVertexAttribI4usv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBIPOINTERPROC __glewVertexAttribIPointer; - -GLEW_FUN_EXPORT PFNGLDRAWARRAYSINSTANCEDPROC __glewDrawArraysInstanced; -GLEW_FUN_EXPORT PFNGLDRAWELEMENTSINSTANCEDPROC __glewDrawElementsInstanced; -GLEW_FUN_EXPORT PFNGLPRIMITIVERESTARTINDEXPROC __glewPrimitiveRestartIndex; -GLEW_FUN_EXPORT PFNGLTEXBUFFERPROC __glewTexBuffer; - -GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTUREPROC __glewFramebufferTexture; -GLEW_FUN_EXPORT PFNGLGETBUFFERPARAMETERI64VPROC __glewGetBufferParameteri64v; -GLEW_FUN_EXPORT PFNGLGETINTEGER64I_VPROC __glewGetInteger64i_v; - -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBDIVISORPROC __glewVertexAttribDivisor; - -GLEW_FUN_EXPORT PFNGLBLENDEQUATIONSEPARATEIPROC __glewBlendEquationSeparatei; -GLEW_FUN_EXPORT PFNGLBLENDEQUATIONIPROC __glewBlendEquationi; -GLEW_FUN_EXPORT PFNGLBLENDFUNCSEPARATEIPROC __glewBlendFuncSeparatei; -GLEW_FUN_EXPORT PFNGLBLENDFUNCIPROC __glewBlendFunci; -GLEW_FUN_EXPORT PFNGLMINSAMPLESHADINGPROC __glewMinSampleShading; - -GLEW_FUN_EXPORT PFNGLTBUFFERMASK3DFXPROC __glewTbufferMask3DFX; - -GLEW_FUN_EXPORT PFNGLDEBUGMESSAGECALLBACKAMDPROC __glewDebugMessageCallbackAMD; -GLEW_FUN_EXPORT PFNGLDEBUGMESSAGEENABLEAMDPROC __glewDebugMessageEnableAMD; -GLEW_FUN_EXPORT PFNGLDEBUGMESSAGEINSERTAMDPROC __glewDebugMessageInsertAMD; -GLEW_FUN_EXPORT PFNGLGETDEBUGMESSAGELOGAMDPROC __glewGetDebugMessageLogAMD; - -GLEW_FUN_EXPORT PFNGLBLENDEQUATIONINDEXEDAMDPROC __glewBlendEquationIndexedAMD; -GLEW_FUN_EXPORT PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC __glewBlendEquationSeparateIndexedAMD; -GLEW_FUN_EXPORT PFNGLBLENDFUNCINDEXEDAMDPROC __glewBlendFuncIndexedAMD; -GLEW_FUN_EXPORT PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC __glewBlendFuncSeparateIndexedAMD; - -GLEW_FUN_EXPORT PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC __glewMultiDrawArraysIndirectAMD; -GLEW_FUN_EXPORT PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC __glewMultiDrawElementsIndirectAMD; - -GLEW_FUN_EXPORT PFNGLDELETENAMESAMDPROC __glewDeleteNamesAMD; -GLEW_FUN_EXPORT PFNGLGENNAMESAMDPROC __glewGenNamesAMD; -GLEW_FUN_EXPORT PFNGLISNAMEAMDPROC __glewIsNameAMD; - -GLEW_FUN_EXPORT PFNGLBEGINPERFMONITORAMDPROC __glewBeginPerfMonitorAMD; -GLEW_FUN_EXPORT PFNGLDELETEPERFMONITORSAMDPROC __glewDeletePerfMonitorsAMD; -GLEW_FUN_EXPORT PFNGLENDPERFMONITORAMDPROC __glewEndPerfMonitorAMD; -GLEW_FUN_EXPORT PFNGLGENPERFMONITORSAMDPROC __glewGenPerfMonitorsAMD; -GLEW_FUN_EXPORT PFNGLGETPERFMONITORCOUNTERDATAAMDPROC __glewGetPerfMonitorCounterDataAMD; -GLEW_FUN_EXPORT PFNGLGETPERFMONITORCOUNTERINFOAMDPROC __glewGetPerfMonitorCounterInfoAMD; -GLEW_FUN_EXPORT PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC __glewGetPerfMonitorCounterStringAMD; -GLEW_FUN_EXPORT PFNGLGETPERFMONITORCOUNTERSAMDPROC __glewGetPerfMonitorCountersAMD; -GLEW_FUN_EXPORT PFNGLGETPERFMONITORGROUPSTRINGAMDPROC __glewGetPerfMonitorGroupStringAMD; -GLEW_FUN_EXPORT PFNGLGETPERFMONITORGROUPSAMDPROC __glewGetPerfMonitorGroupsAMD; -GLEW_FUN_EXPORT PFNGLSELECTPERFMONITORCOUNTERSAMDPROC __glewSelectPerfMonitorCountersAMD; - -GLEW_FUN_EXPORT PFNGLSETMULTISAMPLEFVAMDPROC __glewSetMultisamplefvAMD; - -GLEW_FUN_EXPORT PFNGLSTENCILOPVALUEAMDPROC __glewStencilOpValueAMD; - -GLEW_FUN_EXPORT PFNGLTESSELLATIONFACTORAMDPROC __glewTessellationFactorAMD; -GLEW_FUN_EXPORT PFNGLTESSELLATIONMODEAMDPROC __glewTessellationModeAMD; - -GLEW_FUN_EXPORT PFNGLDRAWELEMENTARRAYAPPLEPROC __glewDrawElementArrayAPPLE; -GLEW_FUN_EXPORT PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC __glewDrawRangeElementArrayAPPLE; -GLEW_FUN_EXPORT PFNGLELEMENTPOINTERAPPLEPROC __glewElementPointerAPPLE; -GLEW_FUN_EXPORT PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC __glewMultiDrawElementArrayAPPLE; -GLEW_FUN_EXPORT PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC __glewMultiDrawRangeElementArrayAPPLE; - -GLEW_FUN_EXPORT PFNGLDELETEFENCESAPPLEPROC __glewDeleteFencesAPPLE; -GLEW_FUN_EXPORT PFNGLFINISHFENCEAPPLEPROC __glewFinishFenceAPPLE; -GLEW_FUN_EXPORT PFNGLFINISHOBJECTAPPLEPROC __glewFinishObjectAPPLE; -GLEW_FUN_EXPORT PFNGLGENFENCESAPPLEPROC __glewGenFencesAPPLE; -GLEW_FUN_EXPORT PFNGLISFENCEAPPLEPROC __glewIsFenceAPPLE; -GLEW_FUN_EXPORT PFNGLSETFENCEAPPLEPROC __glewSetFenceAPPLE; -GLEW_FUN_EXPORT PFNGLTESTFENCEAPPLEPROC __glewTestFenceAPPLE; -GLEW_FUN_EXPORT PFNGLTESTOBJECTAPPLEPROC __glewTestObjectAPPLE; - -GLEW_FUN_EXPORT PFNGLBUFFERPARAMETERIAPPLEPROC __glewBufferParameteriAPPLE; -GLEW_FUN_EXPORT PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC __glewFlushMappedBufferRangeAPPLE; - -GLEW_FUN_EXPORT PFNGLGETOBJECTPARAMETERIVAPPLEPROC __glewGetObjectParameterivAPPLE; -GLEW_FUN_EXPORT PFNGLOBJECTPURGEABLEAPPLEPROC __glewObjectPurgeableAPPLE; -GLEW_FUN_EXPORT PFNGLOBJECTUNPURGEABLEAPPLEPROC __glewObjectUnpurgeableAPPLE; - -GLEW_FUN_EXPORT PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC __glewGetTexParameterPointervAPPLE; -GLEW_FUN_EXPORT PFNGLTEXTURERANGEAPPLEPROC __glewTextureRangeAPPLE; - -GLEW_FUN_EXPORT PFNGLBINDVERTEXARRAYAPPLEPROC __glewBindVertexArrayAPPLE; -GLEW_FUN_EXPORT PFNGLDELETEVERTEXARRAYSAPPLEPROC __glewDeleteVertexArraysAPPLE; -GLEW_FUN_EXPORT PFNGLGENVERTEXARRAYSAPPLEPROC __glewGenVertexArraysAPPLE; -GLEW_FUN_EXPORT PFNGLISVERTEXARRAYAPPLEPROC __glewIsVertexArrayAPPLE; - -GLEW_FUN_EXPORT PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC __glewFlushVertexArrayRangeAPPLE; -GLEW_FUN_EXPORT PFNGLVERTEXARRAYPARAMETERIAPPLEPROC __glewVertexArrayParameteriAPPLE; -GLEW_FUN_EXPORT PFNGLVERTEXARRAYRANGEAPPLEPROC __glewVertexArrayRangeAPPLE; - -GLEW_FUN_EXPORT PFNGLDISABLEVERTEXATTRIBAPPLEPROC __glewDisableVertexAttribAPPLE; -GLEW_FUN_EXPORT PFNGLENABLEVERTEXATTRIBAPPLEPROC __glewEnableVertexAttribAPPLE; -GLEW_FUN_EXPORT PFNGLISVERTEXATTRIBENABLEDAPPLEPROC __glewIsVertexAttribEnabledAPPLE; -GLEW_FUN_EXPORT PFNGLMAPVERTEXATTRIB1DAPPLEPROC __glewMapVertexAttrib1dAPPLE; -GLEW_FUN_EXPORT PFNGLMAPVERTEXATTRIB1FAPPLEPROC __glewMapVertexAttrib1fAPPLE; -GLEW_FUN_EXPORT PFNGLMAPVERTEXATTRIB2DAPPLEPROC __glewMapVertexAttrib2dAPPLE; -GLEW_FUN_EXPORT PFNGLMAPVERTEXATTRIB2FAPPLEPROC __glewMapVertexAttrib2fAPPLE; - -GLEW_FUN_EXPORT PFNGLCLEARDEPTHFPROC __glewClearDepthf; -GLEW_FUN_EXPORT PFNGLDEPTHRANGEFPROC __glewDepthRangef; -GLEW_FUN_EXPORT PFNGLGETSHADERPRECISIONFORMATPROC __glewGetShaderPrecisionFormat; -GLEW_FUN_EXPORT PFNGLRELEASESHADERCOMPILERPROC __glewReleaseShaderCompiler; -GLEW_FUN_EXPORT PFNGLSHADERBINARYPROC __glewShaderBinary; - -GLEW_FUN_EXPORT PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC __glewDrawArraysInstancedBaseInstance; -GLEW_FUN_EXPORT PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC __glewDrawElementsInstancedBaseInstance; -GLEW_FUN_EXPORT PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC __glewDrawElementsInstancedBaseVertexBaseInstance; - -GLEW_FUN_EXPORT PFNGLBINDFRAGDATALOCATIONINDEXEDPROC __glewBindFragDataLocationIndexed; -GLEW_FUN_EXPORT PFNGLGETFRAGDATAINDEXPROC __glewGetFragDataIndex; - -GLEW_FUN_EXPORT PFNGLCREATESYNCFROMCLEVENTARBPROC __glewCreateSyncFromCLeventARB; - -GLEW_FUN_EXPORT PFNGLCLEARBUFFERDATAPROC __glewClearBufferData; -GLEW_FUN_EXPORT PFNGLCLEARBUFFERSUBDATAPROC __glewClearBufferSubData; -GLEW_FUN_EXPORT PFNGLCLEARNAMEDBUFFERDATAEXTPROC __glewClearNamedBufferDataEXT; -GLEW_FUN_EXPORT PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC __glewClearNamedBufferSubDataEXT; - -GLEW_FUN_EXPORT PFNGLCLAMPCOLORARBPROC __glewClampColorARB; - -GLEW_FUN_EXPORT PFNGLDISPATCHCOMPUTEPROC __glewDispatchCompute; -GLEW_FUN_EXPORT PFNGLDISPATCHCOMPUTEINDIRECTPROC __glewDispatchComputeIndirect; - -GLEW_FUN_EXPORT PFNGLCOPYBUFFERSUBDATAPROC __glewCopyBufferSubData; - -GLEW_FUN_EXPORT PFNGLCOPYIMAGESUBDATAPROC __glewCopyImageSubData; - -GLEW_FUN_EXPORT PFNGLDEBUGMESSAGECALLBACKARBPROC __glewDebugMessageCallbackARB; -GLEW_FUN_EXPORT PFNGLDEBUGMESSAGECONTROLARBPROC __glewDebugMessageControlARB; -GLEW_FUN_EXPORT PFNGLDEBUGMESSAGEINSERTARBPROC __glewDebugMessageInsertARB; -GLEW_FUN_EXPORT PFNGLGETDEBUGMESSAGELOGARBPROC __glewGetDebugMessageLogARB; - -GLEW_FUN_EXPORT PFNGLDRAWBUFFERSARBPROC __glewDrawBuffersARB; - -GLEW_FUN_EXPORT PFNGLBLENDEQUATIONSEPARATEIARBPROC __glewBlendEquationSeparateiARB; -GLEW_FUN_EXPORT PFNGLBLENDEQUATIONIARBPROC __glewBlendEquationiARB; -GLEW_FUN_EXPORT PFNGLBLENDFUNCSEPARATEIARBPROC __glewBlendFuncSeparateiARB; -GLEW_FUN_EXPORT PFNGLBLENDFUNCIARBPROC __glewBlendFunciARB; - -GLEW_FUN_EXPORT PFNGLDRAWELEMENTSBASEVERTEXPROC __glewDrawElementsBaseVertex; -GLEW_FUN_EXPORT PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC __glewDrawElementsInstancedBaseVertex; -GLEW_FUN_EXPORT PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC __glewDrawRangeElementsBaseVertex; -GLEW_FUN_EXPORT PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC __glewMultiDrawElementsBaseVertex; - -GLEW_FUN_EXPORT PFNGLDRAWARRAYSINDIRECTPROC __glewDrawArraysIndirect; -GLEW_FUN_EXPORT PFNGLDRAWELEMENTSINDIRECTPROC __glewDrawElementsIndirect; - -GLEW_FUN_EXPORT PFNGLFRAMEBUFFERPARAMETERIPROC __glewFramebufferParameteri; -GLEW_FUN_EXPORT PFNGLGETFRAMEBUFFERPARAMETERIVPROC __glewGetFramebufferParameteriv; -GLEW_FUN_EXPORT PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC __glewGetNamedFramebufferParameterivEXT; -GLEW_FUN_EXPORT PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC __glewNamedFramebufferParameteriEXT; - -GLEW_FUN_EXPORT PFNGLBINDFRAMEBUFFERPROC __glewBindFramebuffer; -GLEW_FUN_EXPORT PFNGLBINDRENDERBUFFERPROC __glewBindRenderbuffer; -GLEW_FUN_EXPORT PFNGLBLITFRAMEBUFFERPROC __glewBlitFramebuffer; -GLEW_FUN_EXPORT PFNGLCHECKFRAMEBUFFERSTATUSPROC __glewCheckFramebufferStatus; -GLEW_FUN_EXPORT PFNGLDELETEFRAMEBUFFERSPROC __glewDeleteFramebuffers; -GLEW_FUN_EXPORT PFNGLDELETERENDERBUFFERSPROC __glewDeleteRenderbuffers; -GLEW_FUN_EXPORT PFNGLFRAMEBUFFERRENDERBUFFERPROC __glewFramebufferRenderbuffer; -GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURE1DPROC __glewFramebufferTexture1D; -GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURE2DPROC __glewFramebufferTexture2D; -GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURE3DPROC __glewFramebufferTexture3D; -GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURELAYERPROC __glewFramebufferTextureLayer; -GLEW_FUN_EXPORT PFNGLGENFRAMEBUFFERSPROC __glewGenFramebuffers; -GLEW_FUN_EXPORT PFNGLGENRENDERBUFFERSPROC __glewGenRenderbuffers; -GLEW_FUN_EXPORT PFNGLGENERATEMIPMAPPROC __glewGenerateMipmap; -GLEW_FUN_EXPORT PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC __glewGetFramebufferAttachmentParameteriv; -GLEW_FUN_EXPORT PFNGLGETRENDERBUFFERPARAMETERIVPROC __glewGetRenderbufferParameteriv; -GLEW_FUN_EXPORT PFNGLISFRAMEBUFFERPROC __glewIsFramebuffer; -GLEW_FUN_EXPORT PFNGLISRENDERBUFFERPROC __glewIsRenderbuffer; -GLEW_FUN_EXPORT PFNGLRENDERBUFFERSTORAGEPROC __glewRenderbufferStorage; -GLEW_FUN_EXPORT PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC __glewRenderbufferStorageMultisample; - -GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTUREARBPROC __glewFramebufferTextureARB; -GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTUREFACEARBPROC __glewFramebufferTextureFaceARB; -GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURELAYERARBPROC __glewFramebufferTextureLayerARB; -GLEW_FUN_EXPORT PFNGLPROGRAMPARAMETERIARBPROC __glewProgramParameteriARB; - -GLEW_FUN_EXPORT PFNGLGETPROGRAMBINARYPROC __glewGetProgramBinary; -GLEW_FUN_EXPORT PFNGLPROGRAMBINARYPROC __glewProgramBinary; -GLEW_FUN_EXPORT PFNGLPROGRAMPARAMETERIPROC __glewProgramParameteri; - -GLEW_FUN_EXPORT PFNGLGETUNIFORMDVPROC __glewGetUniformdv; -GLEW_FUN_EXPORT PFNGLUNIFORM1DPROC __glewUniform1d; -GLEW_FUN_EXPORT PFNGLUNIFORM1DVPROC __glewUniform1dv; -GLEW_FUN_EXPORT PFNGLUNIFORM2DPROC __glewUniform2d; -GLEW_FUN_EXPORT PFNGLUNIFORM2DVPROC __glewUniform2dv; -GLEW_FUN_EXPORT PFNGLUNIFORM3DPROC __glewUniform3d; -GLEW_FUN_EXPORT PFNGLUNIFORM3DVPROC __glewUniform3dv; -GLEW_FUN_EXPORT PFNGLUNIFORM4DPROC __glewUniform4d; -GLEW_FUN_EXPORT PFNGLUNIFORM4DVPROC __glewUniform4dv; -GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX2DVPROC __glewUniformMatrix2dv; -GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX2X3DVPROC __glewUniformMatrix2x3dv; -GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX2X4DVPROC __glewUniformMatrix2x4dv; -GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX3DVPROC __glewUniformMatrix3dv; -GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX3X2DVPROC __glewUniformMatrix3x2dv; -GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX3X4DVPROC __glewUniformMatrix3x4dv; -GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX4DVPROC __glewUniformMatrix4dv; -GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX4X2DVPROC __glewUniformMatrix4x2dv; -GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX4X3DVPROC __glewUniformMatrix4x3dv; - -GLEW_FUN_EXPORT PFNGLCOLORSUBTABLEPROC __glewColorSubTable; -GLEW_FUN_EXPORT PFNGLCOLORTABLEPROC __glewColorTable; -GLEW_FUN_EXPORT PFNGLCOLORTABLEPARAMETERFVPROC __glewColorTableParameterfv; -GLEW_FUN_EXPORT PFNGLCOLORTABLEPARAMETERIVPROC __glewColorTableParameteriv; -GLEW_FUN_EXPORT PFNGLCONVOLUTIONFILTER1DPROC __glewConvolutionFilter1D; -GLEW_FUN_EXPORT PFNGLCONVOLUTIONFILTER2DPROC __glewConvolutionFilter2D; -GLEW_FUN_EXPORT PFNGLCONVOLUTIONPARAMETERFPROC __glewConvolutionParameterf; -GLEW_FUN_EXPORT PFNGLCONVOLUTIONPARAMETERFVPROC __glewConvolutionParameterfv; -GLEW_FUN_EXPORT PFNGLCONVOLUTIONPARAMETERIPROC __glewConvolutionParameteri; -GLEW_FUN_EXPORT PFNGLCONVOLUTIONPARAMETERIVPROC __glewConvolutionParameteriv; -GLEW_FUN_EXPORT PFNGLCOPYCOLORSUBTABLEPROC __glewCopyColorSubTable; -GLEW_FUN_EXPORT PFNGLCOPYCOLORTABLEPROC __glewCopyColorTable; -GLEW_FUN_EXPORT PFNGLCOPYCONVOLUTIONFILTER1DPROC __glewCopyConvolutionFilter1D; -GLEW_FUN_EXPORT PFNGLCOPYCONVOLUTIONFILTER2DPROC __glewCopyConvolutionFilter2D; -GLEW_FUN_EXPORT PFNGLGETCOLORTABLEPROC __glewGetColorTable; -GLEW_FUN_EXPORT PFNGLGETCOLORTABLEPARAMETERFVPROC __glewGetColorTableParameterfv; -GLEW_FUN_EXPORT PFNGLGETCOLORTABLEPARAMETERIVPROC __glewGetColorTableParameteriv; -GLEW_FUN_EXPORT PFNGLGETCONVOLUTIONFILTERPROC __glewGetConvolutionFilter; -GLEW_FUN_EXPORT PFNGLGETCONVOLUTIONPARAMETERFVPROC __glewGetConvolutionParameterfv; -GLEW_FUN_EXPORT PFNGLGETCONVOLUTIONPARAMETERIVPROC __glewGetConvolutionParameteriv; -GLEW_FUN_EXPORT PFNGLGETHISTOGRAMPROC __glewGetHistogram; -GLEW_FUN_EXPORT PFNGLGETHISTOGRAMPARAMETERFVPROC __glewGetHistogramParameterfv; -GLEW_FUN_EXPORT PFNGLGETHISTOGRAMPARAMETERIVPROC __glewGetHistogramParameteriv; -GLEW_FUN_EXPORT PFNGLGETMINMAXPROC __glewGetMinmax; -GLEW_FUN_EXPORT PFNGLGETMINMAXPARAMETERFVPROC __glewGetMinmaxParameterfv; -GLEW_FUN_EXPORT PFNGLGETMINMAXPARAMETERIVPROC __glewGetMinmaxParameteriv; -GLEW_FUN_EXPORT PFNGLGETSEPARABLEFILTERPROC __glewGetSeparableFilter; -GLEW_FUN_EXPORT PFNGLHISTOGRAMPROC __glewHistogram; -GLEW_FUN_EXPORT PFNGLMINMAXPROC __glewMinmax; -GLEW_FUN_EXPORT PFNGLRESETHISTOGRAMPROC __glewResetHistogram; -GLEW_FUN_EXPORT PFNGLRESETMINMAXPROC __glewResetMinmax; -GLEW_FUN_EXPORT PFNGLSEPARABLEFILTER2DPROC __glewSeparableFilter2D; - -GLEW_FUN_EXPORT PFNGLDRAWARRAYSINSTANCEDARBPROC __glewDrawArraysInstancedARB; -GLEW_FUN_EXPORT PFNGLDRAWELEMENTSINSTANCEDARBPROC __glewDrawElementsInstancedARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBDIVISORARBPROC __glewVertexAttribDivisorARB; - -GLEW_FUN_EXPORT PFNGLGETINTERNALFORMATIVPROC __glewGetInternalformativ; - -GLEW_FUN_EXPORT PFNGLGETINTERNALFORMATI64VPROC __glewGetInternalformati64v; - -GLEW_FUN_EXPORT PFNGLINVALIDATEBUFFERDATAPROC __glewInvalidateBufferData; -GLEW_FUN_EXPORT PFNGLINVALIDATEBUFFERSUBDATAPROC __glewInvalidateBufferSubData; -GLEW_FUN_EXPORT PFNGLINVALIDATEFRAMEBUFFERPROC __glewInvalidateFramebuffer; -GLEW_FUN_EXPORT PFNGLINVALIDATESUBFRAMEBUFFERPROC __glewInvalidateSubFramebuffer; -GLEW_FUN_EXPORT PFNGLINVALIDATETEXIMAGEPROC __glewInvalidateTexImage; -GLEW_FUN_EXPORT PFNGLINVALIDATETEXSUBIMAGEPROC __glewInvalidateTexSubImage; - -GLEW_FUN_EXPORT PFNGLFLUSHMAPPEDBUFFERRANGEPROC __glewFlushMappedBufferRange; -GLEW_FUN_EXPORT PFNGLMAPBUFFERRANGEPROC __glewMapBufferRange; - -GLEW_FUN_EXPORT PFNGLCURRENTPALETTEMATRIXARBPROC __glewCurrentPaletteMatrixARB; -GLEW_FUN_EXPORT PFNGLMATRIXINDEXPOINTERARBPROC __glewMatrixIndexPointerARB; -GLEW_FUN_EXPORT PFNGLMATRIXINDEXUBVARBPROC __glewMatrixIndexubvARB; -GLEW_FUN_EXPORT PFNGLMATRIXINDEXUIVARBPROC __glewMatrixIndexuivARB; -GLEW_FUN_EXPORT PFNGLMATRIXINDEXUSVARBPROC __glewMatrixIndexusvARB; - -GLEW_FUN_EXPORT PFNGLMULTIDRAWARRAYSINDIRECTPROC __glewMultiDrawArraysIndirect; -GLEW_FUN_EXPORT PFNGLMULTIDRAWELEMENTSINDIRECTPROC __glewMultiDrawElementsIndirect; - -GLEW_FUN_EXPORT PFNGLSAMPLECOVERAGEARBPROC __glewSampleCoverageARB; - -GLEW_FUN_EXPORT PFNGLACTIVETEXTUREARBPROC __glewActiveTextureARB; -GLEW_FUN_EXPORT PFNGLCLIENTACTIVETEXTUREARBPROC __glewClientActiveTextureARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1DARBPROC __glewMultiTexCoord1dARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1DVARBPROC __glewMultiTexCoord1dvARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1FARBPROC __glewMultiTexCoord1fARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1FVARBPROC __glewMultiTexCoord1fvARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1IARBPROC __glewMultiTexCoord1iARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1IVARBPROC __glewMultiTexCoord1ivARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1SARBPROC __glewMultiTexCoord1sARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1SVARBPROC __glewMultiTexCoord1svARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2DARBPROC __glewMultiTexCoord2dARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2DVARBPROC __glewMultiTexCoord2dvARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2FARBPROC __glewMultiTexCoord2fARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2FVARBPROC __glewMultiTexCoord2fvARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2IARBPROC __glewMultiTexCoord2iARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2IVARBPROC __glewMultiTexCoord2ivARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2SARBPROC __glewMultiTexCoord2sARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2SVARBPROC __glewMultiTexCoord2svARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3DARBPROC __glewMultiTexCoord3dARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3DVARBPROC __glewMultiTexCoord3dvARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3FARBPROC __glewMultiTexCoord3fARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3FVARBPROC __glewMultiTexCoord3fvARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3IARBPROC __glewMultiTexCoord3iARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3IVARBPROC __glewMultiTexCoord3ivARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3SARBPROC __glewMultiTexCoord3sARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3SVARBPROC __glewMultiTexCoord3svARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4DARBPROC __glewMultiTexCoord4dARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4DVARBPROC __glewMultiTexCoord4dvARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4FARBPROC __glewMultiTexCoord4fARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4FVARBPROC __glewMultiTexCoord4fvARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4IARBPROC __glewMultiTexCoord4iARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4IVARBPROC __glewMultiTexCoord4ivARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4SARBPROC __glewMultiTexCoord4sARB; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4SVARBPROC __glewMultiTexCoord4svARB; - -GLEW_FUN_EXPORT PFNGLBEGINQUERYARBPROC __glewBeginQueryARB; -GLEW_FUN_EXPORT PFNGLDELETEQUERIESARBPROC __glewDeleteQueriesARB; -GLEW_FUN_EXPORT PFNGLENDQUERYARBPROC __glewEndQueryARB; -GLEW_FUN_EXPORT PFNGLGENQUERIESARBPROC __glewGenQueriesARB; -GLEW_FUN_EXPORT PFNGLGETQUERYOBJECTIVARBPROC __glewGetQueryObjectivARB; -GLEW_FUN_EXPORT PFNGLGETQUERYOBJECTUIVARBPROC __glewGetQueryObjectuivARB; -GLEW_FUN_EXPORT PFNGLGETQUERYIVARBPROC __glewGetQueryivARB; -GLEW_FUN_EXPORT PFNGLISQUERYARBPROC __glewIsQueryARB; - -GLEW_FUN_EXPORT PFNGLPOINTPARAMETERFARBPROC __glewPointParameterfARB; -GLEW_FUN_EXPORT PFNGLPOINTPARAMETERFVARBPROC __glewPointParameterfvARB; - -GLEW_FUN_EXPORT PFNGLGETPROGRAMINTERFACEIVPROC __glewGetProgramInterfaceiv; -GLEW_FUN_EXPORT PFNGLGETPROGRAMRESOURCEINDEXPROC __glewGetProgramResourceIndex; -GLEW_FUN_EXPORT PFNGLGETPROGRAMRESOURCELOCATIONPROC __glewGetProgramResourceLocation; -GLEW_FUN_EXPORT PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC __glewGetProgramResourceLocationIndex; -GLEW_FUN_EXPORT PFNGLGETPROGRAMRESOURCENAMEPROC __glewGetProgramResourceName; -GLEW_FUN_EXPORT PFNGLGETPROGRAMRESOURCEIVPROC __glewGetProgramResourceiv; - -GLEW_FUN_EXPORT PFNGLPROVOKINGVERTEXPROC __glewProvokingVertex; - -GLEW_FUN_EXPORT PFNGLGETGRAPHICSRESETSTATUSARBPROC __glewGetGraphicsResetStatusARB; -GLEW_FUN_EXPORT PFNGLGETNCOLORTABLEARBPROC __glewGetnColorTableARB; -GLEW_FUN_EXPORT PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC __glewGetnCompressedTexImageARB; -GLEW_FUN_EXPORT PFNGLGETNCONVOLUTIONFILTERARBPROC __glewGetnConvolutionFilterARB; -GLEW_FUN_EXPORT PFNGLGETNHISTOGRAMARBPROC __glewGetnHistogramARB; -GLEW_FUN_EXPORT PFNGLGETNMAPDVARBPROC __glewGetnMapdvARB; -GLEW_FUN_EXPORT PFNGLGETNMAPFVARBPROC __glewGetnMapfvARB; -GLEW_FUN_EXPORT PFNGLGETNMAPIVARBPROC __glewGetnMapivARB; -GLEW_FUN_EXPORT PFNGLGETNMINMAXARBPROC __glewGetnMinmaxARB; -GLEW_FUN_EXPORT PFNGLGETNPIXELMAPFVARBPROC __glewGetnPixelMapfvARB; -GLEW_FUN_EXPORT PFNGLGETNPIXELMAPUIVARBPROC __glewGetnPixelMapuivARB; -GLEW_FUN_EXPORT PFNGLGETNPIXELMAPUSVARBPROC __glewGetnPixelMapusvARB; -GLEW_FUN_EXPORT PFNGLGETNPOLYGONSTIPPLEARBPROC __glewGetnPolygonStippleARB; -GLEW_FUN_EXPORT PFNGLGETNSEPARABLEFILTERARBPROC __glewGetnSeparableFilterARB; -GLEW_FUN_EXPORT PFNGLGETNTEXIMAGEARBPROC __glewGetnTexImageARB; -GLEW_FUN_EXPORT PFNGLGETNUNIFORMDVARBPROC __glewGetnUniformdvARB; -GLEW_FUN_EXPORT PFNGLGETNUNIFORMFVARBPROC __glewGetnUniformfvARB; -GLEW_FUN_EXPORT PFNGLGETNUNIFORMIVARBPROC __glewGetnUniformivARB; -GLEW_FUN_EXPORT PFNGLGETNUNIFORMUIVARBPROC __glewGetnUniformuivARB; -GLEW_FUN_EXPORT PFNGLREADNPIXELSARBPROC __glewReadnPixelsARB; - -GLEW_FUN_EXPORT PFNGLMINSAMPLESHADINGARBPROC __glewMinSampleShadingARB; - -GLEW_FUN_EXPORT PFNGLBINDSAMPLERPROC __glewBindSampler; -GLEW_FUN_EXPORT PFNGLDELETESAMPLERSPROC __glewDeleteSamplers; -GLEW_FUN_EXPORT PFNGLGENSAMPLERSPROC __glewGenSamplers; -GLEW_FUN_EXPORT PFNGLGETSAMPLERPARAMETERIIVPROC __glewGetSamplerParameterIiv; -GLEW_FUN_EXPORT PFNGLGETSAMPLERPARAMETERIUIVPROC __glewGetSamplerParameterIuiv; -GLEW_FUN_EXPORT PFNGLGETSAMPLERPARAMETERFVPROC __glewGetSamplerParameterfv; -GLEW_FUN_EXPORT PFNGLGETSAMPLERPARAMETERIVPROC __glewGetSamplerParameteriv; -GLEW_FUN_EXPORT PFNGLISSAMPLERPROC __glewIsSampler; -GLEW_FUN_EXPORT PFNGLSAMPLERPARAMETERIIVPROC __glewSamplerParameterIiv; -GLEW_FUN_EXPORT PFNGLSAMPLERPARAMETERIUIVPROC __glewSamplerParameterIuiv; -GLEW_FUN_EXPORT PFNGLSAMPLERPARAMETERFPROC __glewSamplerParameterf; -GLEW_FUN_EXPORT PFNGLSAMPLERPARAMETERFVPROC __glewSamplerParameterfv; -GLEW_FUN_EXPORT PFNGLSAMPLERPARAMETERIPROC __glewSamplerParameteri; -GLEW_FUN_EXPORT PFNGLSAMPLERPARAMETERIVPROC __glewSamplerParameteriv; - -GLEW_FUN_EXPORT PFNGLACTIVESHADERPROGRAMPROC __glewActiveShaderProgram; -GLEW_FUN_EXPORT PFNGLBINDPROGRAMPIPELINEPROC __glewBindProgramPipeline; -GLEW_FUN_EXPORT PFNGLCREATESHADERPROGRAMVPROC __glewCreateShaderProgramv; -GLEW_FUN_EXPORT PFNGLDELETEPROGRAMPIPELINESPROC __glewDeleteProgramPipelines; -GLEW_FUN_EXPORT PFNGLGENPROGRAMPIPELINESPROC __glewGenProgramPipelines; -GLEW_FUN_EXPORT PFNGLGETPROGRAMPIPELINEINFOLOGPROC __glewGetProgramPipelineInfoLog; -GLEW_FUN_EXPORT PFNGLGETPROGRAMPIPELINEIVPROC __glewGetProgramPipelineiv; -GLEW_FUN_EXPORT PFNGLISPROGRAMPIPELINEPROC __glewIsProgramPipeline; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1DPROC __glewProgramUniform1d; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1DVPROC __glewProgramUniform1dv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1FPROC __glewProgramUniform1f; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1FVPROC __glewProgramUniform1fv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1IPROC __glewProgramUniform1i; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1IVPROC __glewProgramUniform1iv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1UIPROC __glewProgramUniform1ui; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1UIVPROC __glewProgramUniform1uiv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2DPROC __glewProgramUniform2d; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2DVPROC __glewProgramUniform2dv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2FPROC __glewProgramUniform2f; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2FVPROC __glewProgramUniform2fv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2IPROC __glewProgramUniform2i; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2IVPROC __glewProgramUniform2iv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2UIPROC __glewProgramUniform2ui; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2UIVPROC __glewProgramUniform2uiv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3DPROC __glewProgramUniform3d; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3DVPROC __glewProgramUniform3dv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3FPROC __glewProgramUniform3f; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3FVPROC __glewProgramUniform3fv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3IPROC __glewProgramUniform3i; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3IVPROC __glewProgramUniform3iv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3UIPROC __glewProgramUniform3ui; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3UIVPROC __glewProgramUniform3uiv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4DPROC __glewProgramUniform4d; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4DVPROC __glewProgramUniform4dv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4FPROC __glewProgramUniform4f; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4FVPROC __glewProgramUniform4fv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4IPROC __glewProgramUniform4i; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4IVPROC __glewProgramUniform4iv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4UIPROC __glewProgramUniform4ui; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4UIVPROC __glewProgramUniform4uiv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2DVPROC __glewProgramUniformMatrix2dv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2FVPROC __glewProgramUniformMatrix2fv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC __glewProgramUniformMatrix2x3dv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC __glewProgramUniformMatrix2x3fv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC __glewProgramUniformMatrix2x4dv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC __glewProgramUniformMatrix2x4fv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3DVPROC __glewProgramUniformMatrix3dv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3FVPROC __glewProgramUniformMatrix3fv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC __glewProgramUniformMatrix3x2dv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC __glewProgramUniformMatrix3x2fv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC __glewProgramUniformMatrix3x4dv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC __glewProgramUniformMatrix3x4fv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4DVPROC __glewProgramUniformMatrix4dv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4FVPROC __glewProgramUniformMatrix4fv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC __glewProgramUniformMatrix4x2dv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC __glewProgramUniformMatrix4x2fv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC __glewProgramUniformMatrix4x3dv; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC __glewProgramUniformMatrix4x3fv; -GLEW_FUN_EXPORT PFNGLUSEPROGRAMSTAGESPROC __glewUseProgramStages; -GLEW_FUN_EXPORT PFNGLVALIDATEPROGRAMPIPELINEPROC __glewValidateProgramPipeline; - -GLEW_FUN_EXPORT PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC __glewGetActiveAtomicCounterBufferiv; - -GLEW_FUN_EXPORT PFNGLBINDIMAGETEXTUREPROC __glewBindImageTexture; -GLEW_FUN_EXPORT PFNGLMEMORYBARRIERPROC __glewMemoryBarrier; - -GLEW_FUN_EXPORT PFNGLATTACHOBJECTARBPROC __glewAttachObjectARB; -GLEW_FUN_EXPORT PFNGLCOMPILESHADERARBPROC __glewCompileShaderARB; -GLEW_FUN_EXPORT PFNGLCREATEPROGRAMOBJECTARBPROC __glewCreateProgramObjectARB; -GLEW_FUN_EXPORT PFNGLCREATESHADEROBJECTARBPROC __glewCreateShaderObjectARB; -GLEW_FUN_EXPORT PFNGLDELETEOBJECTARBPROC __glewDeleteObjectARB; -GLEW_FUN_EXPORT PFNGLDETACHOBJECTARBPROC __glewDetachObjectARB; -GLEW_FUN_EXPORT PFNGLGETACTIVEUNIFORMARBPROC __glewGetActiveUniformARB; -GLEW_FUN_EXPORT PFNGLGETATTACHEDOBJECTSARBPROC __glewGetAttachedObjectsARB; -GLEW_FUN_EXPORT PFNGLGETHANDLEARBPROC __glewGetHandleARB; -GLEW_FUN_EXPORT PFNGLGETINFOLOGARBPROC __glewGetInfoLogARB; -GLEW_FUN_EXPORT PFNGLGETOBJECTPARAMETERFVARBPROC __glewGetObjectParameterfvARB; -GLEW_FUN_EXPORT PFNGLGETOBJECTPARAMETERIVARBPROC __glewGetObjectParameterivARB; -GLEW_FUN_EXPORT PFNGLGETSHADERSOURCEARBPROC __glewGetShaderSourceARB; -GLEW_FUN_EXPORT PFNGLGETUNIFORMLOCATIONARBPROC __glewGetUniformLocationARB; -GLEW_FUN_EXPORT PFNGLGETUNIFORMFVARBPROC __glewGetUniformfvARB; -GLEW_FUN_EXPORT PFNGLGETUNIFORMIVARBPROC __glewGetUniformivARB; -GLEW_FUN_EXPORT PFNGLLINKPROGRAMARBPROC __glewLinkProgramARB; -GLEW_FUN_EXPORT PFNGLSHADERSOURCEARBPROC __glewShaderSourceARB; -GLEW_FUN_EXPORT PFNGLUNIFORM1FARBPROC __glewUniform1fARB; -GLEW_FUN_EXPORT PFNGLUNIFORM1FVARBPROC __glewUniform1fvARB; -GLEW_FUN_EXPORT PFNGLUNIFORM1IARBPROC __glewUniform1iARB; -GLEW_FUN_EXPORT PFNGLUNIFORM1IVARBPROC __glewUniform1ivARB; -GLEW_FUN_EXPORT PFNGLUNIFORM2FARBPROC __glewUniform2fARB; -GLEW_FUN_EXPORT PFNGLUNIFORM2FVARBPROC __glewUniform2fvARB; -GLEW_FUN_EXPORT PFNGLUNIFORM2IARBPROC __glewUniform2iARB; -GLEW_FUN_EXPORT PFNGLUNIFORM2IVARBPROC __glewUniform2ivARB; -GLEW_FUN_EXPORT PFNGLUNIFORM3FARBPROC __glewUniform3fARB; -GLEW_FUN_EXPORT PFNGLUNIFORM3FVARBPROC __glewUniform3fvARB; -GLEW_FUN_EXPORT PFNGLUNIFORM3IARBPROC __glewUniform3iARB; -GLEW_FUN_EXPORT PFNGLUNIFORM3IVARBPROC __glewUniform3ivARB; -GLEW_FUN_EXPORT PFNGLUNIFORM4FARBPROC __glewUniform4fARB; -GLEW_FUN_EXPORT PFNGLUNIFORM4FVARBPROC __glewUniform4fvARB; -GLEW_FUN_EXPORT PFNGLUNIFORM4IARBPROC __glewUniform4iARB; -GLEW_FUN_EXPORT PFNGLUNIFORM4IVARBPROC __glewUniform4ivARB; -GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX2FVARBPROC __glewUniformMatrix2fvARB; -GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX3FVARBPROC __glewUniformMatrix3fvARB; -GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX4FVARBPROC __glewUniformMatrix4fvARB; -GLEW_FUN_EXPORT PFNGLUSEPROGRAMOBJECTARBPROC __glewUseProgramObjectARB; -GLEW_FUN_EXPORT PFNGLVALIDATEPROGRAMARBPROC __glewValidateProgramARB; - -GLEW_FUN_EXPORT PFNGLSHADERSTORAGEBLOCKBINDINGPROC __glewShaderStorageBlockBinding; - -GLEW_FUN_EXPORT PFNGLGETACTIVESUBROUTINENAMEPROC __glewGetActiveSubroutineName; -GLEW_FUN_EXPORT PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC __glewGetActiveSubroutineUniformName; -GLEW_FUN_EXPORT PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC __glewGetActiveSubroutineUniformiv; -GLEW_FUN_EXPORT PFNGLGETPROGRAMSTAGEIVPROC __glewGetProgramStageiv; -GLEW_FUN_EXPORT PFNGLGETSUBROUTINEINDEXPROC __glewGetSubroutineIndex; -GLEW_FUN_EXPORT PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC __glewGetSubroutineUniformLocation; -GLEW_FUN_EXPORT PFNGLGETUNIFORMSUBROUTINEUIVPROC __glewGetUniformSubroutineuiv; -GLEW_FUN_EXPORT PFNGLUNIFORMSUBROUTINESUIVPROC __glewUniformSubroutinesuiv; - -GLEW_FUN_EXPORT PFNGLCOMPILESHADERINCLUDEARBPROC __glewCompileShaderIncludeARB; -GLEW_FUN_EXPORT PFNGLDELETENAMEDSTRINGARBPROC __glewDeleteNamedStringARB; -GLEW_FUN_EXPORT PFNGLGETNAMEDSTRINGARBPROC __glewGetNamedStringARB; -GLEW_FUN_EXPORT PFNGLGETNAMEDSTRINGIVARBPROC __glewGetNamedStringivARB; -GLEW_FUN_EXPORT PFNGLISNAMEDSTRINGARBPROC __glewIsNamedStringARB; -GLEW_FUN_EXPORT PFNGLNAMEDSTRINGARBPROC __glewNamedStringARB; - -GLEW_FUN_EXPORT PFNGLCLIENTWAITSYNCPROC __glewClientWaitSync; -GLEW_FUN_EXPORT PFNGLDELETESYNCPROC __glewDeleteSync; -GLEW_FUN_EXPORT PFNGLFENCESYNCPROC __glewFenceSync; -GLEW_FUN_EXPORT PFNGLGETINTEGER64VPROC __glewGetInteger64v; -GLEW_FUN_EXPORT PFNGLGETSYNCIVPROC __glewGetSynciv; -GLEW_FUN_EXPORT PFNGLISSYNCPROC __glewIsSync; -GLEW_FUN_EXPORT PFNGLWAITSYNCPROC __glewWaitSync; - -GLEW_FUN_EXPORT PFNGLPATCHPARAMETERFVPROC __glewPatchParameterfv; -GLEW_FUN_EXPORT PFNGLPATCHPARAMETERIPROC __glewPatchParameteri; - -GLEW_FUN_EXPORT PFNGLTEXBUFFERARBPROC __glewTexBufferARB; - -GLEW_FUN_EXPORT PFNGLTEXBUFFERRANGEPROC __glewTexBufferRange; -GLEW_FUN_EXPORT PFNGLTEXTUREBUFFERRANGEEXTPROC __glewTextureBufferRangeEXT; - -GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXIMAGE1DARBPROC __glewCompressedTexImage1DARB; -GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXIMAGE2DARBPROC __glewCompressedTexImage2DARB; -GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXIMAGE3DARBPROC __glewCompressedTexImage3DARB; -GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC __glewCompressedTexSubImage1DARB; -GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC __glewCompressedTexSubImage2DARB; -GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC __glewCompressedTexSubImage3DARB; -GLEW_FUN_EXPORT PFNGLGETCOMPRESSEDTEXIMAGEARBPROC __glewGetCompressedTexImageARB; - -GLEW_FUN_EXPORT PFNGLGETMULTISAMPLEFVPROC __glewGetMultisamplefv; -GLEW_FUN_EXPORT PFNGLSAMPLEMASKIPROC __glewSampleMaski; -GLEW_FUN_EXPORT PFNGLTEXIMAGE2DMULTISAMPLEPROC __glewTexImage2DMultisample; -GLEW_FUN_EXPORT PFNGLTEXIMAGE3DMULTISAMPLEPROC __glewTexImage3DMultisample; - -GLEW_FUN_EXPORT PFNGLTEXSTORAGE1DPROC __glewTexStorage1D; -GLEW_FUN_EXPORT PFNGLTEXSTORAGE2DPROC __glewTexStorage2D; -GLEW_FUN_EXPORT PFNGLTEXSTORAGE3DPROC __glewTexStorage3D; -GLEW_FUN_EXPORT PFNGLTEXTURESTORAGE1DEXTPROC __glewTextureStorage1DEXT; -GLEW_FUN_EXPORT PFNGLTEXTURESTORAGE2DEXTPROC __glewTextureStorage2DEXT; -GLEW_FUN_EXPORT PFNGLTEXTURESTORAGE3DEXTPROC __glewTextureStorage3DEXT; - -GLEW_FUN_EXPORT PFNGLTEXSTORAGE2DMULTISAMPLEPROC __glewTexStorage2DMultisample; -GLEW_FUN_EXPORT PFNGLTEXSTORAGE3DMULTISAMPLEPROC __glewTexStorage3DMultisample; -GLEW_FUN_EXPORT PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC __glewTextureStorage2DMultisampleEXT; -GLEW_FUN_EXPORT PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC __glewTextureStorage3DMultisampleEXT; - -GLEW_FUN_EXPORT PFNGLTEXTUREVIEWPROC __glewTextureView; - -GLEW_FUN_EXPORT PFNGLGETQUERYOBJECTI64VPROC __glewGetQueryObjecti64v; -GLEW_FUN_EXPORT PFNGLGETQUERYOBJECTUI64VPROC __glewGetQueryObjectui64v; -GLEW_FUN_EXPORT PFNGLQUERYCOUNTERPROC __glewQueryCounter; - -GLEW_FUN_EXPORT PFNGLBINDTRANSFORMFEEDBACKPROC __glewBindTransformFeedback; -GLEW_FUN_EXPORT PFNGLDELETETRANSFORMFEEDBACKSPROC __glewDeleteTransformFeedbacks; -GLEW_FUN_EXPORT PFNGLDRAWTRANSFORMFEEDBACKPROC __glewDrawTransformFeedback; -GLEW_FUN_EXPORT PFNGLGENTRANSFORMFEEDBACKSPROC __glewGenTransformFeedbacks; -GLEW_FUN_EXPORT PFNGLISTRANSFORMFEEDBACKPROC __glewIsTransformFeedback; -GLEW_FUN_EXPORT PFNGLPAUSETRANSFORMFEEDBACKPROC __glewPauseTransformFeedback; -GLEW_FUN_EXPORT PFNGLRESUMETRANSFORMFEEDBACKPROC __glewResumeTransformFeedback; - -GLEW_FUN_EXPORT PFNGLBEGINQUERYINDEXEDPROC __glewBeginQueryIndexed; -GLEW_FUN_EXPORT PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC __glewDrawTransformFeedbackStream; -GLEW_FUN_EXPORT PFNGLENDQUERYINDEXEDPROC __glewEndQueryIndexed; -GLEW_FUN_EXPORT PFNGLGETQUERYINDEXEDIVPROC __glewGetQueryIndexediv; - -GLEW_FUN_EXPORT PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC __glewDrawTransformFeedbackInstanced; -GLEW_FUN_EXPORT PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC __glewDrawTransformFeedbackStreamInstanced; - -GLEW_FUN_EXPORT PFNGLLOADTRANSPOSEMATRIXDARBPROC __glewLoadTransposeMatrixdARB; -GLEW_FUN_EXPORT PFNGLLOADTRANSPOSEMATRIXFARBPROC __glewLoadTransposeMatrixfARB; -GLEW_FUN_EXPORT PFNGLMULTTRANSPOSEMATRIXDARBPROC __glewMultTransposeMatrixdARB; -GLEW_FUN_EXPORT PFNGLMULTTRANSPOSEMATRIXFARBPROC __glewMultTransposeMatrixfARB; - -GLEW_FUN_EXPORT PFNGLBINDBUFFERBASEPROC __glewBindBufferBase; -GLEW_FUN_EXPORT PFNGLBINDBUFFERRANGEPROC __glewBindBufferRange; -GLEW_FUN_EXPORT PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC __glewGetActiveUniformBlockName; -GLEW_FUN_EXPORT PFNGLGETACTIVEUNIFORMBLOCKIVPROC __glewGetActiveUniformBlockiv; -GLEW_FUN_EXPORT PFNGLGETACTIVEUNIFORMNAMEPROC __glewGetActiveUniformName; -GLEW_FUN_EXPORT PFNGLGETACTIVEUNIFORMSIVPROC __glewGetActiveUniformsiv; -GLEW_FUN_EXPORT PFNGLGETINTEGERI_VPROC __glewGetIntegeri_v; -GLEW_FUN_EXPORT PFNGLGETUNIFORMBLOCKINDEXPROC __glewGetUniformBlockIndex; -GLEW_FUN_EXPORT PFNGLGETUNIFORMINDICESPROC __glewGetUniformIndices; -GLEW_FUN_EXPORT PFNGLUNIFORMBLOCKBINDINGPROC __glewUniformBlockBinding; - -GLEW_FUN_EXPORT PFNGLBINDVERTEXARRAYPROC __glewBindVertexArray; -GLEW_FUN_EXPORT PFNGLDELETEVERTEXARRAYSPROC __glewDeleteVertexArrays; -GLEW_FUN_EXPORT PFNGLGENVERTEXARRAYSPROC __glewGenVertexArrays; -GLEW_FUN_EXPORT PFNGLISVERTEXARRAYPROC __glewIsVertexArray; - -GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBLDVPROC __glewGetVertexAttribLdv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL1DPROC __glewVertexAttribL1d; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL1DVPROC __glewVertexAttribL1dv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL2DPROC __glewVertexAttribL2d; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL2DVPROC __glewVertexAttribL2dv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL3DPROC __glewVertexAttribL3d; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL3DVPROC __glewVertexAttribL3dv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL4DPROC __glewVertexAttribL4d; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL4DVPROC __glewVertexAttribL4dv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBLPOINTERPROC __glewVertexAttribLPointer; - -GLEW_FUN_EXPORT PFNGLBINDVERTEXBUFFERPROC __glewBindVertexBuffer; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBBINDINGPROC __glewVertexAttribBinding; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBFORMATPROC __glewVertexAttribFormat; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBIFORMATPROC __glewVertexAttribIFormat; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBLFORMATPROC __glewVertexAttribLFormat; -GLEW_FUN_EXPORT PFNGLVERTEXBINDINGDIVISORPROC __glewVertexBindingDivisor; - -GLEW_FUN_EXPORT PFNGLVERTEXBLENDARBPROC __glewVertexBlendARB; -GLEW_FUN_EXPORT PFNGLWEIGHTPOINTERARBPROC __glewWeightPointerARB; -GLEW_FUN_EXPORT PFNGLWEIGHTBVARBPROC __glewWeightbvARB; -GLEW_FUN_EXPORT PFNGLWEIGHTDVARBPROC __glewWeightdvARB; -GLEW_FUN_EXPORT PFNGLWEIGHTFVARBPROC __glewWeightfvARB; -GLEW_FUN_EXPORT PFNGLWEIGHTIVARBPROC __glewWeightivARB; -GLEW_FUN_EXPORT PFNGLWEIGHTSVARBPROC __glewWeightsvARB; -GLEW_FUN_EXPORT PFNGLWEIGHTUBVARBPROC __glewWeightubvARB; -GLEW_FUN_EXPORT PFNGLWEIGHTUIVARBPROC __glewWeightuivARB; -GLEW_FUN_EXPORT PFNGLWEIGHTUSVARBPROC __glewWeightusvARB; - -GLEW_FUN_EXPORT PFNGLBINDBUFFERARBPROC __glewBindBufferARB; -GLEW_FUN_EXPORT PFNGLBUFFERDATAARBPROC __glewBufferDataARB; -GLEW_FUN_EXPORT PFNGLBUFFERSUBDATAARBPROC __glewBufferSubDataARB; -GLEW_FUN_EXPORT PFNGLDELETEBUFFERSARBPROC __glewDeleteBuffersARB; -GLEW_FUN_EXPORT PFNGLGENBUFFERSARBPROC __glewGenBuffersARB; -GLEW_FUN_EXPORT PFNGLGETBUFFERPARAMETERIVARBPROC __glewGetBufferParameterivARB; -GLEW_FUN_EXPORT PFNGLGETBUFFERPOINTERVARBPROC __glewGetBufferPointervARB; -GLEW_FUN_EXPORT PFNGLGETBUFFERSUBDATAARBPROC __glewGetBufferSubDataARB; -GLEW_FUN_EXPORT PFNGLISBUFFERARBPROC __glewIsBufferARB; -GLEW_FUN_EXPORT PFNGLMAPBUFFERARBPROC __glewMapBufferARB; -GLEW_FUN_EXPORT PFNGLUNMAPBUFFERARBPROC __glewUnmapBufferARB; - -GLEW_FUN_EXPORT PFNGLBINDPROGRAMARBPROC __glewBindProgramARB; -GLEW_FUN_EXPORT PFNGLDELETEPROGRAMSARBPROC __glewDeleteProgramsARB; -GLEW_FUN_EXPORT PFNGLDISABLEVERTEXATTRIBARRAYARBPROC __glewDisableVertexAttribArrayARB; -GLEW_FUN_EXPORT PFNGLENABLEVERTEXATTRIBARRAYARBPROC __glewEnableVertexAttribArrayARB; -GLEW_FUN_EXPORT PFNGLGENPROGRAMSARBPROC __glewGenProgramsARB; -GLEW_FUN_EXPORT PFNGLGETPROGRAMENVPARAMETERDVARBPROC __glewGetProgramEnvParameterdvARB; -GLEW_FUN_EXPORT PFNGLGETPROGRAMENVPARAMETERFVARBPROC __glewGetProgramEnvParameterfvARB; -GLEW_FUN_EXPORT PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC __glewGetProgramLocalParameterdvARB; -GLEW_FUN_EXPORT PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC __glewGetProgramLocalParameterfvARB; -GLEW_FUN_EXPORT PFNGLGETPROGRAMSTRINGARBPROC __glewGetProgramStringARB; -GLEW_FUN_EXPORT PFNGLGETPROGRAMIVARBPROC __glewGetProgramivARB; -GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBPOINTERVARBPROC __glewGetVertexAttribPointervARB; -GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBDVARBPROC __glewGetVertexAttribdvARB; -GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBFVARBPROC __glewGetVertexAttribfvARB; -GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBIVARBPROC __glewGetVertexAttribivARB; -GLEW_FUN_EXPORT PFNGLISPROGRAMARBPROC __glewIsProgramARB; -GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETER4DARBPROC __glewProgramEnvParameter4dARB; -GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETER4DVARBPROC __glewProgramEnvParameter4dvARB; -GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETER4FARBPROC __glewProgramEnvParameter4fARB; -GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETER4FVARBPROC __glewProgramEnvParameter4fvARB; -GLEW_FUN_EXPORT PFNGLPROGRAMLOCALPARAMETER4DARBPROC __glewProgramLocalParameter4dARB; -GLEW_FUN_EXPORT PFNGLPROGRAMLOCALPARAMETER4DVARBPROC __glewProgramLocalParameter4dvARB; -GLEW_FUN_EXPORT PFNGLPROGRAMLOCALPARAMETER4FARBPROC __glewProgramLocalParameter4fARB; -GLEW_FUN_EXPORT PFNGLPROGRAMLOCALPARAMETER4FVARBPROC __glewProgramLocalParameter4fvARB; -GLEW_FUN_EXPORT PFNGLPROGRAMSTRINGARBPROC __glewProgramStringARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1DARBPROC __glewVertexAttrib1dARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1DVARBPROC __glewVertexAttrib1dvARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1FARBPROC __glewVertexAttrib1fARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1FVARBPROC __glewVertexAttrib1fvARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1SARBPROC __glewVertexAttrib1sARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1SVARBPROC __glewVertexAttrib1svARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2DARBPROC __glewVertexAttrib2dARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2DVARBPROC __glewVertexAttrib2dvARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2FARBPROC __glewVertexAttrib2fARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2FVARBPROC __glewVertexAttrib2fvARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2SARBPROC __glewVertexAttrib2sARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2SVARBPROC __glewVertexAttrib2svARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3DARBPROC __glewVertexAttrib3dARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3DVARBPROC __glewVertexAttrib3dvARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3FARBPROC __glewVertexAttrib3fARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3FVARBPROC __glewVertexAttrib3fvARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3SARBPROC __glewVertexAttrib3sARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3SVARBPROC __glewVertexAttrib3svARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NBVARBPROC __glewVertexAttrib4NbvARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NIVARBPROC __glewVertexAttrib4NivARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NSVARBPROC __glewVertexAttrib4NsvARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NUBARBPROC __glewVertexAttrib4NubARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NUBVARBPROC __glewVertexAttrib4NubvARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NUIVARBPROC __glewVertexAttrib4NuivARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NUSVARBPROC __glewVertexAttrib4NusvARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4BVARBPROC __glewVertexAttrib4bvARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4DARBPROC __glewVertexAttrib4dARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4DVARBPROC __glewVertexAttrib4dvARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4FARBPROC __glewVertexAttrib4fARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4FVARBPROC __glewVertexAttrib4fvARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4IVARBPROC __glewVertexAttrib4ivARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4SARBPROC __glewVertexAttrib4sARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4SVARBPROC __glewVertexAttrib4svARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4UBVARBPROC __glewVertexAttrib4ubvARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4UIVARBPROC __glewVertexAttrib4uivARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4USVARBPROC __glewVertexAttrib4usvARB; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBPOINTERARBPROC __glewVertexAttribPointerARB; - -GLEW_FUN_EXPORT PFNGLBINDATTRIBLOCATIONARBPROC __glewBindAttribLocationARB; -GLEW_FUN_EXPORT PFNGLGETACTIVEATTRIBARBPROC __glewGetActiveAttribARB; -GLEW_FUN_EXPORT PFNGLGETATTRIBLOCATIONARBPROC __glewGetAttribLocationARB; - -GLEW_FUN_EXPORT PFNGLCOLORP3UIPROC __glewColorP3ui; -GLEW_FUN_EXPORT PFNGLCOLORP3UIVPROC __glewColorP3uiv; -GLEW_FUN_EXPORT PFNGLCOLORP4UIPROC __glewColorP4ui; -GLEW_FUN_EXPORT PFNGLCOLORP4UIVPROC __glewColorP4uiv; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORDP1UIPROC __glewMultiTexCoordP1ui; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORDP1UIVPROC __glewMultiTexCoordP1uiv; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORDP2UIPROC __glewMultiTexCoordP2ui; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORDP2UIVPROC __glewMultiTexCoordP2uiv; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORDP3UIPROC __glewMultiTexCoordP3ui; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORDP3UIVPROC __glewMultiTexCoordP3uiv; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORDP4UIPROC __glewMultiTexCoordP4ui; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORDP4UIVPROC __glewMultiTexCoordP4uiv; -GLEW_FUN_EXPORT PFNGLNORMALP3UIPROC __glewNormalP3ui; -GLEW_FUN_EXPORT PFNGLNORMALP3UIVPROC __glewNormalP3uiv; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLORP3UIPROC __glewSecondaryColorP3ui; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLORP3UIVPROC __glewSecondaryColorP3uiv; -GLEW_FUN_EXPORT PFNGLTEXCOORDP1UIPROC __glewTexCoordP1ui; -GLEW_FUN_EXPORT PFNGLTEXCOORDP1UIVPROC __glewTexCoordP1uiv; -GLEW_FUN_EXPORT PFNGLTEXCOORDP2UIPROC __glewTexCoordP2ui; -GLEW_FUN_EXPORT PFNGLTEXCOORDP2UIVPROC __glewTexCoordP2uiv; -GLEW_FUN_EXPORT PFNGLTEXCOORDP3UIPROC __glewTexCoordP3ui; -GLEW_FUN_EXPORT PFNGLTEXCOORDP3UIVPROC __glewTexCoordP3uiv; -GLEW_FUN_EXPORT PFNGLTEXCOORDP4UIPROC __glewTexCoordP4ui; -GLEW_FUN_EXPORT PFNGLTEXCOORDP4UIVPROC __glewTexCoordP4uiv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBP1UIPROC __glewVertexAttribP1ui; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBP1UIVPROC __glewVertexAttribP1uiv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBP2UIPROC __glewVertexAttribP2ui; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBP2UIVPROC __glewVertexAttribP2uiv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBP3UIPROC __glewVertexAttribP3ui; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBP3UIVPROC __glewVertexAttribP3uiv; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBP4UIPROC __glewVertexAttribP4ui; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBP4UIVPROC __glewVertexAttribP4uiv; -GLEW_FUN_EXPORT PFNGLVERTEXP2UIPROC __glewVertexP2ui; -GLEW_FUN_EXPORT PFNGLVERTEXP2UIVPROC __glewVertexP2uiv; -GLEW_FUN_EXPORT PFNGLVERTEXP3UIPROC __glewVertexP3ui; -GLEW_FUN_EXPORT PFNGLVERTEXP3UIVPROC __glewVertexP3uiv; -GLEW_FUN_EXPORT PFNGLVERTEXP4UIPROC __glewVertexP4ui; -GLEW_FUN_EXPORT PFNGLVERTEXP4UIVPROC __glewVertexP4uiv; - -GLEW_FUN_EXPORT PFNGLDEPTHRANGEARRAYVPROC __glewDepthRangeArrayv; -GLEW_FUN_EXPORT PFNGLDEPTHRANGEINDEXEDPROC __glewDepthRangeIndexed; -GLEW_FUN_EXPORT PFNGLGETDOUBLEI_VPROC __glewGetDoublei_v; -GLEW_FUN_EXPORT PFNGLGETFLOATI_VPROC __glewGetFloati_v; -GLEW_FUN_EXPORT PFNGLSCISSORARRAYVPROC __glewScissorArrayv; -GLEW_FUN_EXPORT PFNGLSCISSORINDEXEDPROC __glewScissorIndexed; -GLEW_FUN_EXPORT PFNGLSCISSORINDEXEDVPROC __glewScissorIndexedv; -GLEW_FUN_EXPORT PFNGLVIEWPORTARRAYVPROC __glewViewportArrayv; -GLEW_FUN_EXPORT PFNGLVIEWPORTINDEXEDFPROC __glewViewportIndexedf; -GLEW_FUN_EXPORT PFNGLVIEWPORTINDEXEDFVPROC __glewViewportIndexedfv; - -GLEW_FUN_EXPORT PFNGLWINDOWPOS2DARBPROC __glewWindowPos2dARB; -GLEW_FUN_EXPORT PFNGLWINDOWPOS2DVARBPROC __glewWindowPos2dvARB; -GLEW_FUN_EXPORT PFNGLWINDOWPOS2FARBPROC __glewWindowPos2fARB; -GLEW_FUN_EXPORT PFNGLWINDOWPOS2FVARBPROC __glewWindowPos2fvARB; -GLEW_FUN_EXPORT PFNGLWINDOWPOS2IARBPROC __glewWindowPos2iARB; -GLEW_FUN_EXPORT PFNGLWINDOWPOS2IVARBPROC __glewWindowPos2ivARB; -GLEW_FUN_EXPORT PFNGLWINDOWPOS2SARBPROC __glewWindowPos2sARB; -GLEW_FUN_EXPORT PFNGLWINDOWPOS2SVARBPROC __glewWindowPos2svARB; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3DARBPROC __glewWindowPos3dARB; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3DVARBPROC __glewWindowPos3dvARB; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3FARBPROC __glewWindowPos3fARB; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3FVARBPROC __glewWindowPos3fvARB; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3IARBPROC __glewWindowPos3iARB; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3IVARBPROC __glewWindowPos3ivARB; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3SARBPROC __glewWindowPos3sARB; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3SVARBPROC __glewWindowPos3svARB; - -GLEW_FUN_EXPORT PFNGLDRAWBUFFERSATIPROC __glewDrawBuffersATI; - -GLEW_FUN_EXPORT PFNGLDRAWELEMENTARRAYATIPROC __glewDrawElementArrayATI; -GLEW_FUN_EXPORT PFNGLDRAWRANGEELEMENTARRAYATIPROC __glewDrawRangeElementArrayATI; -GLEW_FUN_EXPORT PFNGLELEMENTPOINTERATIPROC __glewElementPointerATI; - -GLEW_FUN_EXPORT PFNGLGETTEXBUMPPARAMETERFVATIPROC __glewGetTexBumpParameterfvATI; -GLEW_FUN_EXPORT PFNGLGETTEXBUMPPARAMETERIVATIPROC __glewGetTexBumpParameterivATI; -GLEW_FUN_EXPORT PFNGLTEXBUMPPARAMETERFVATIPROC __glewTexBumpParameterfvATI; -GLEW_FUN_EXPORT PFNGLTEXBUMPPARAMETERIVATIPROC __glewTexBumpParameterivATI; - -GLEW_FUN_EXPORT PFNGLALPHAFRAGMENTOP1ATIPROC __glewAlphaFragmentOp1ATI; -GLEW_FUN_EXPORT PFNGLALPHAFRAGMENTOP2ATIPROC __glewAlphaFragmentOp2ATI; -GLEW_FUN_EXPORT PFNGLALPHAFRAGMENTOP3ATIPROC __glewAlphaFragmentOp3ATI; -GLEW_FUN_EXPORT PFNGLBEGINFRAGMENTSHADERATIPROC __glewBeginFragmentShaderATI; -GLEW_FUN_EXPORT PFNGLBINDFRAGMENTSHADERATIPROC __glewBindFragmentShaderATI; -GLEW_FUN_EXPORT PFNGLCOLORFRAGMENTOP1ATIPROC __glewColorFragmentOp1ATI; -GLEW_FUN_EXPORT PFNGLCOLORFRAGMENTOP2ATIPROC __glewColorFragmentOp2ATI; -GLEW_FUN_EXPORT PFNGLCOLORFRAGMENTOP3ATIPROC __glewColorFragmentOp3ATI; -GLEW_FUN_EXPORT PFNGLDELETEFRAGMENTSHADERATIPROC __glewDeleteFragmentShaderATI; -GLEW_FUN_EXPORT PFNGLENDFRAGMENTSHADERATIPROC __glewEndFragmentShaderATI; -GLEW_FUN_EXPORT PFNGLGENFRAGMENTSHADERSATIPROC __glewGenFragmentShadersATI; -GLEW_FUN_EXPORT PFNGLPASSTEXCOORDATIPROC __glewPassTexCoordATI; -GLEW_FUN_EXPORT PFNGLSAMPLEMAPATIPROC __glewSampleMapATI; -GLEW_FUN_EXPORT PFNGLSETFRAGMENTSHADERCONSTANTATIPROC __glewSetFragmentShaderConstantATI; - -GLEW_FUN_EXPORT PFNGLMAPOBJECTBUFFERATIPROC __glewMapObjectBufferATI; -GLEW_FUN_EXPORT PFNGLUNMAPOBJECTBUFFERATIPROC __glewUnmapObjectBufferATI; - -GLEW_FUN_EXPORT PFNGLPNTRIANGLESFATIPROC __glewPNTrianglesfATI; -GLEW_FUN_EXPORT PFNGLPNTRIANGLESIATIPROC __glewPNTrianglesiATI; - -GLEW_FUN_EXPORT PFNGLSTENCILFUNCSEPARATEATIPROC __glewStencilFuncSeparateATI; -GLEW_FUN_EXPORT PFNGLSTENCILOPSEPARATEATIPROC __glewStencilOpSeparateATI; - -GLEW_FUN_EXPORT PFNGLARRAYOBJECTATIPROC __glewArrayObjectATI; -GLEW_FUN_EXPORT PFNGLFREEOBJECTBUFFERATIPROC __glewFreeObjectBufferATI; -GLEW_FUN_EXPORT PFNGLGETARRAYOBJECTFVATIPROC __glewGetArrayObjectfvATI; -GLEW_FUN_EXPORT PFNGLGETARRAYOBJECTIVATIPROC __glewGetArrayObjectivATI; -GLEW_FUN_EXPORT PFNGLGETOBJECTBUFFERFVATIPROC __glewGetObjectBufferfvATI; -GLEW_FUN_EXPORT PFNGLGETOBJECTBUFFERIVATIPROC __glewGetObjectBufferivATI; -GLEW_FUN_EXPORT PFNGLGETVARIANTARRAYOBJECTFVATIPROC __glewGetVariantArrayObjectfvATI; -GLEW_FUN_EXPORT PFNGLGETVARIANTARRAYOBJECTIVATIPROC __glewGetVariantArrayObjectivATI; -GLEW_FUN_EXPORT PFNGLISOBJECTBUFFERATIPROC __glewIsObjectBufferATI; -GLEW_FUN_EXPORT PFNGLNEWOBJECTBUFFERATIPROC __glewNewObjectBufferATI; -GLEW_FUN_EXPORT PFNGLUPDATEOBJECTBUFFERATIPROC __glewUpdateObjectBufferATI; -GLEW_FUN_EXPORT PFNGLVARIANTARRAYOBJECTATIPROC __glewVariantArrayObjectATI; - -GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC __glewGetVertexAttribArrayObjectfvATI; -GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC __glewGetVertexAttribArrayObjectivATI; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBARRAYOBJECTATIPROC __glewVertexAttribArrayObjectATI; - -GLEW_FUN_EXPORT PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC __glewClientActiveVertexStreamATI; -GLEW_FUN_EXPORT PFNGLNORMALSTREAM3BATIPROC __glewNormalStream3bATI; -GLEW_FUN_EXPORT PFNGLNORMALSTREAM3BVATIPROC __glewNormalStream3bvATI; -GLEW_FUN_EXPORT PFNGLNORMALSTREAM3DATIPROC __glewNormalStream3dATI; -GLEW_FUN_EXPORT PFNGLNORMALSTREAM3DVATIPROC __glewNormalStream3dvATI; -GLEW_FUN_EXPORT PFNGLNORMALSTREAM3FATIPROC __glewNormalStream3fATI; -GLEW_FUN_EXPORT PFNGLNORMALSTREAM3FVATIPROC __glewNormalStream3fvATI; -GLEW_FUN_EXPORT PFNGLNORMALSTREAM3IATIPROC __glewNormalStream3iATI; -GLEW_FUN_EXPORT PFNGLNORMALSTREAM3IVATIPROC __glewNormalStream3ivATI; -GLEW_FUN_EXPORT PFNGLNORMALSTREAM3SATIPROC __glewNormalStream3sATI; -GLEW_FUN_EXPORT PFNGLNORMALSTREAM3SVATIPROC __glewNormalStream3svATI; -GLEW_FUN_EXPORT PFNGLVERTEXBLENDENVFATIPROC __glewVertexBlendEnvfATI; -GLEW_FUN_EXPORT PFNGLVERTEXBLENDENVIATIPROC __glewVertexBlendEnviATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM1DATIPROC __glewVertexStream1dATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM1DVATIPROC __glewVertexStream1dvATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM1FATIPROC __glewVertexStream1fATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM1FVATIPROC __glewVertexStream1fvATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM1IATIPROC __glewVertexStream1iATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM1IVATIPROC __glewVertexStream1ivATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM1SATIPROC __glewVertexStream1sATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM1SVATIPROC __glewVertexStream1svATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM2DATIPROC __glewVertexStream2dATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM2DVATIPROC __glewVertexStream2dvATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM2FATIPROC __glewVertexStream2fATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM2FVATIPROC __glewVertexStream2fvATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM2IATIPROC __glewVertexStream2iATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM2IVATIPROC __glewVertexStream2ivATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM2SATIPROC __glewVertexStream2sATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM2SVATIPROC __glewVertexStream2svATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM3DATIPROC __glewVertexStream3dATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM3DVATIPROC __glewVertexStream3dvATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM3FATIPROC __glewVertexStream3fATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM3FVATIPROC __glewVertexStream3fvATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM3IATIPROC __glewVertexStream3iATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM3IVATIPROC __glewVertexStream3ivATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM3SATIPROC __glewVertexStream3sATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM3SVATIPROC __glewVertexStream3svATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM4DATIPROC __glewVertexStream4dATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM4DVATIPROC __glewVertexStream4dvATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM4FATIPROC __glewVertexStream4fATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM4FVATIPROC __glewVertexStream4fvATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM4IATIPROC __glewVertexStream4iATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM4IVATIPROC __glewVertexStream4ivATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM4SATIPROC __glewVertexStream4sATI; -GLEW_FUN_EXPORT PFNGLVERTEXSTREAM4SVATIPROC __glewVertexStream4svATI; - -GLEW_FUN_EXPORT PFNGLGETUNIFORMBUFFERSIZEEXTPROC __glewGetUniformBufferSizeEXT; -GLEW_FUN_EXPORT PFNGLGETUNIFORMOFFSETEXTPROC __glewGetUniformOffsetEXT; -GLEW_FUN_EXPORT PFNGLUNIFORMBUFFEREXTPROC __glewUniformBufferEXT; - -GLEW_FUN_EXPORT PFNGLBLENDCOLOREXTPROC __glewBlendColorEXT; - -GLEW_FUN_EXPORT PFNGLBLENDEQUATIONSEPARATEEXTPROC __glewBlendEquationSeparateEXT; - -GLEW_FUN_EXPORT PFNGLBLENDFUNCSEPARATEEXTPROC __glewBlendFuncSeparateEXT; - -GLEW_FUN_EXPORT PFNGLBLENDEQUATIONEXTPROC __glewBlendEquationEXT; - -GLEW_FUN_EXPORT PFNGLCOLORSUBTABLEEXTPROC __glewColorSubTableEXT; -GLEW_FUN_EXPORT PFNGLCOPYCOLORSUBTABLEEXTPROC __glewCopyColorSubTableEXT; - -GLEW_FUN_EXPORT PFNGLLOCKARRAYSEXTPROC __glewLockArraysEXT; -GLEW_FUN_EXPORT PFNGLUNLOCKARRAYSEXTPROC __glewUnlockArraysEXT; - -GLEW_FUN_EXPORT PFNGLCONVOLUTIONFILTER1DEXTPROC __glewConvolutionFilter1DEXT; -GLEW_FUN_EXPORT PFNGLCONVOLUTIONFILTER2DEXTPROC __glewConvolutionFilter2DEXT; -GLEW_FUN_EXPORT PFNGLCONVOLUTIONPARAMETERFEXTPROC __glewConvolutionParameterfEXT; -GLEW_FUN_EXPORT PFNGLCONVOLUTIONPARAMETERFVEXTPROC __glewConvolutionParameterfvEXT; -GLEW_FUN_EXPORT PFNGLCONVOLUTIONPARAMETERIEXTPROC __glewConvolutionParameteriEXT; -GLEW_FUN_EXPORT PFNGLCONVOLUTIONPARAMETERIVEXTPROC __glewConvolutionParameterivEXT; -GLEW_FUN_EXPORT PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC __glewCopyConvolutionFilter1DEXT; -GLEW_FUN_EXPORT PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC __glewCopyConvolutionFilter2DEXT; -GLEW_FUN_EXPORT PFNGLGETCONVOLUTIONFILTEREXTPROC __glewGetConvolutionFilterEXT; -GLEW_FUN_EXPORT PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC __glewGetConvolutionParameterfvEXT; -GLEW_FUN_EXPORT PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC __glewGetConvolutionParameterivEXT; -GLEW_FUN_EXPORT PFNGLGETSEPARABLEFILTEREXTPROC __glewGetSeparableFilterEXT; -GLEW_FUN_EXPORT PFNGLSEPARABLEFILTER2DEXTPROC __glewSeparableFilter2DEXT; - -GLEW_FUN_EXPORT PFNGLBINORMALPOINTEREXTPROC __glewBinormalPointerEXT; -GLEW_FUN_EXPORT PFNGLTANGENTPOINTEREXTPROC __glewTangentPointerEXT; - -GLEW_FUN_EXPORT PFNGLCOPYTEXIMAGE1DEXTPROC __glewCopyTexImage1DEXT; -GLEW_FUN_EXPORT PFNGLCOPYTEXIMAGE2DEXTPROC __glewCopyTexImage2DEXT; -GLEW_FUN_EXPORT PFNGLCOPYTEXSUBIMAGE1DEXTPROC __glewCopyTexSubImage1DEXT; -GLEW_FUN_EXPORT PFNGLCOPYTEXSUBIMAGE2DEXTPROC __glewCopyTexSubImage2DEXT; -GLEW_FUN_EXPORT PFNGLCOPYTEXSUBIMAGE3DEXTPROC __glewCopyTexSubImage3DEXT; - -GLEW_FUN_EXPORT PFNGLCULLPARAMETERDVEXTPROC __glewCullParameterdvEXT; -GLEW_FUN_EXPORT PFNGLCULLPARAMETERFVEXTPROC __glewCullParameterfvEXT; - -GLEW_FUN_EXPORT PFNGLINSERTEVENTMARKEREXTPROC __glewInsertEventMarkerEXT; -GLEW_FUN_EXPORT PFNGLPOPGROUPMARKEREXTPROC __glewPopGroupMarkerEXT; -GLEW_FUN_EXPORT PFNGLPUSHGROUPMARKEREXTPROC __glewPushGroupMarkerEXT; - -GLEW_FUN_EXPORT PFNGLDEPTHBOUNDSEXTPROC __glewDepthBoundsEXT; - -GLEW_FUN_EXPORT PFNGLBINDMULTITEXTUREEXTPROC __glewBindMultiTextureEXT; -GLEW_FUN_EXPORT PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC __glewCheckNamedFramebufferStatusEXT; -GLEW_FUN_EXPORT PFNGLCLIENTATTRIBDEFAULTEXTPROC __glewClientAttribDefaultEXT; -GLEW_FUN_EXPORT PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC __glewCompressedMultiTexImage1DEXT; -GLEW_FUN_EXPORT PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC __glewCompressedMultiTexImage2DEXT; -GLEW_FUN_EXPORT PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC __glewCompressedMultiTexImage3DEXT; -GLEW_FUN_EXPORT PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC __glewCompressedMultiTexSubImage1DEXT; -GLEW_FUN_EXPORT PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC __glewCompressedMultiTexSubImage2DEXT; -GLEW_FUN_EXPORT PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC __glewCompressedMultiTexSubImage3DEXT; -GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC __glewCompressedTextureImage1DEXT; -GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC __glewCompressedTextureImage2DEXT; -GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC __glewCompressedTextureImage3DEXT; -GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC __glewCompressedTextureSubImage1DEXT; -GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC __glewCompressedTextureSubImage2DEXT; -GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC __glewCompressedTextureSubImage3DEXT; -GLEW_FUN_EXPORT PFNGLCOPYMULTITEXIMAGE1DEXTPROC __glewCopyMultiTexImage1DEXT; -GLEW_FUN_EXPORT PFNGLCOPYMULTITEXIMAGE2DEXTPROC __glewCopyMultiTexImage2DEXT; -GLEW_FUN_EXPORT PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC __glewCopyMultiTexSubImage1DEXT; -GLEW_FUN_EXPORT PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC __glewCopyMultiTexSubImage2DEXT; -GLEW_FUN_EXPORT PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC __glewCopyMultiTexSubImage3DEXT; -GLEW_FUN_EXPORT PFNGLCOPYTEXTUREIMAGE1DEXTPROC __glewCopyTextureImage1DEXT; -GLEW_FUN_EXPORT PFNGLCOPYTEXTUREIMAGE2DEXTPROC __glewCopyTextureImage2DEXT; -GLEW_FUN_EXPORT PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC __glewCopyTextureSubImage1DEXT; -GLEW_FUN_EXPORT PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC __glewCopyTextureSubImage2DEXT; -GLEW_FUN_EXPORT PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC __glewCopyTextureSubImage3DEXT; -GLEW_FUN_EXPORT PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC __glewDisableClientStateIndexedEXT; -GLEW_FUN_EXPORT PFNGLDISABLECLIENTSTATEIEXTPROC __glewDisableClientStateiEXT; -GLEW_FUN_EXPORT PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC __glewDisableVertexArrayAttribEXT; -GLEW_FUN_EXPORT PFNGLDISABLEVERTEXARRAYEXTPROC __glewDisableVertexArrayEXT; -GLEW_FUN_EXPORT PFNGLENABLECLIENTSTATEINDEXEDEXTPROC __glewEnableClientStateIndexedEXT; -GLEW_FUN_EXPORT PFNGLENABLECLIENTSTATEIEXTPROC __glewEnableClientStateiEXT; -GLEW_FUN_EXPORT PFNGLENABLEVERTEXARRAYATTRIBEXTPROC __glewEnableVertexArrayAttribEXT; -GLEW_FUN_EXPORT PFNGLENABLEVERTEXARRAYEXTPROC __glewEnableVertexArrayEXT; -GLEW_FUN_EXPORT PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC __glewFlushMappedNamedBufferRangeEXT; -GLEW_FUN_EXPORT PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC __glewFramebufferDrawBufferEXT; -GLEW_FUN_EXPORT PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC __glewFramebufferDrawBuffersEXT; -GLEW_FUN_EXPORT PFNGLFRAMEBUFFERREADBUFFEREXTPROC __glewFramebufferReadBufferEXT; -GLEW_FUN_EXPORT PFNGLGENERATEMULTITEXMIPMAPEXTPROC __glewGenerateMultiTexMipmapEXT; -GLEW_FUN_EXPORT PFNGLGENERATETEXTUREMIPMAPEXTPROC __glewGenerateTextureMipmapEXT; -GLEW_FUN_EXPORT PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC __glewGetCompressedMultiTexImageEXT; -GLEW_FUN_EXPORT PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC __glewGetCompressedTextureImageEXT; -GLEW_FUN_EXPORT PFNGLGETDOUBLEINDEXEDVEXTPROC __glewGetDoubleIndexedvEXT; -GLEW_FUN_EXPORT PFNGLGETDOUBLEI_VEXTPROC __glewGetDoublei_vEXT; -GLEW_FUN_EXPORT PFNGLGETFLOATINDEXEDVEXTPROC __glewGetFloatIndexedvEXT; -GLEW_FUN_EXPORT PFNGLGETFLOATI_VEXTPROC __glewGetFloati_vEXT; -GLEW_FUN_EXPORT PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC __glewGetFramebufferParameterivEXT; -GLEW_FUN_EXPORT PFNGLGETMULTITEXENVFVEXTPROC __glewGetMultiTexEnvfvEXT; -GLEW_FUN_EXPORT PFNGLGETMULTITEXENVIVEXTPROC __glewGetMultiTexEnvivEXT; -GLEW_FUN_EXPORT PFNGLGETMULTITEXGENDVEXTPROC __glewGetMultiTexGendvEXT; -GLEW_FUN_EXPORT PFNGLGETMULTITEXGENFVEXTPROC __glewGetMultiTexGenfvEXT; -GLEW_FUN_EXPORT PFNGLGETMULTITEXGENIVEXTPROC __glewGetMultiTexGenivEXT; -GLEW_FUN_EXPORT PFNGLGETMULTITEXIMAGEEXTPROC __glewGetMultiTexImageEXT; -GLEW_FUN_EXPORT PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC __glewGetMultiTexLevelParameterfvEXT; -GLEW_FUN_EXPORT PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC __glewGetMultiTexLevelParameterivEXT; -GLEW_FUN_EXPORT PFNGLGETMULTITEXPARAMETERIIVEXTPROC __glewGetMultiTexParameterIivEXT; -GLEW_FUN_EXPORT PFNGLGETMULTITEXPARAMETERIUIVEXTPROC __glewGetMultiTexParameterIuivEXT; -GLEW_FUN_EXPORT PFNGLGETMULTITEXPARAMETERFVEXTPROC __glewGetMultiTexParameterfvEXT; -GLEW_FUN_EXPORT PFNGLGETMULTITEXPARAMETERIVEXTPROC __glewGetMultiTexParameterivEXT; -GLEW_FUN_EXPORT PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC __glewGetNamedBufferParameterivEXT; -GLEW_FUN_EXPORT PFNGLGETNAMEDBUFFERPOINTERVEXTPROC __glewGetNamedBufferPointervEXT; -GLEW_FUN_EXPORT PFNGLGETNAMEDBUFFERSUBDATAEXTPROC __glewGetNamedBufferSubDataEXT; -GLEW_FUN_EXPORT PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC __glewGetNamedFramebufferAttachmentParameterivEXT; -GLEW_FUN_EXPORT PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC __glewGetNamedProgramLocalParameterIivEXT; -GLEW_FUN_EXPORT PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC __glewGetNamedProgramLocalParameterIuivEXT; -GLEW_FUN_EXPORT PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC __glewGetNamedProgramLocalParameterdvEXT; -GLEW_FUN_EXPORT PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC __glewGetNamedProgramLocalParameterfvEXT; -GLEW_FUN_EXPORT PFNGLGETNAMEDPROGRAMSTRINGEXTPROC __glewGetNamedProgramStringEXT; -GLEW_FUN_EXPORT PFNGLGETNAMEDPROGRAMIVEXTPROC __glewGetNamedProgramivEXT; -GLEW_FUN_EXPORT PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC __glewGetNamedRenderbufferParameterivEXT; -GLEW_FUN_EXPORT PFNGLGETPOINTERINDEXEDVEXTPROC __glewGetPointerIndexedvEXT; -GLEW_FUN_EXPORT PFNGLGETPOINTERI_VEXTPROC __glewGetPointeri_vEXT; -GLEW_FUN_EXPORT PFNGLGETTEXTUREIMAGEEXTPROC __glewGetTextureImageEXT; -GLEW_FUN_EXPORT PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC __glewGetTextureLevelParameterfvEXT; -GLEW_FUN_EXPORT PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC __glewGetTextureLevelParameterivEXT; -GLEW_FUN_EXPORT PFNGLGETTEXTUREPARAMETERIIVEXTPROC __glewGetTextureParameterIivEXT; -GLEW_FUN_EXPORT PFNGLGETTEXTUREPARAMETERIUIVEXTPROC __glewGetTextureParameterIuivEXT; -GLEW_FUN_EXPORT PFNGLGETTEXTUREPARAMETERFVEXTPROC __glewGetTextureParameterfvEXT; -GLEW_FUN_EXPORT PFNGLGETTEXTUREPARAMETERIVEXTPROC __glewGetTextureParameterivEXT; -GLEW_FUN_EXPORT PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC __glewGetVertexArrayIntegeri_vEXT; -GLEW_FUN_EXPORT PFNGLGETVERTEXARRAYINTEGERVEXTPROC __glewGetVertexArrayIntegervEXT; -GLEW_FUN_EXPORT PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC __glewGetVertexArrayPointeri_vEXT; -GLEW_FUN_EXPORT PFNGLGETVERTEXARRAYPOINTERVEXTPROC __glewGetVertexArrayPointervEXT; -GLEW_FUN_EXPORT PFNGLMAPNAMEDBUFFEREXTPROC __glewMapNamedBufferEXT; -GLEW_FUN_EXPORT PFNGLMAPNAMEDBUFFERRANGEEXTPROC __glewMapNamedBufferRangeEXT; -GLEW_FUN_EXPORT PFNGLMATRIXFRUSTUMEXTPROC __glewMatrixFrustumEXT; -GLEW_FUN_EXPORT PFNGLMATRIXLOADIDENTITYEXTPROC __glewMatrixLoadIdentityEXT; -GLEW_FUN_EXPORT PFNGLMATRIXLOADTRANSPOSEDEXTPROC __glewMatrixLoadTransposedEXT; -GLEW_FUN_EXPORT PFNGLMATRIXLOADTRANSPOSEFEXTPROC __glewMatrixLoadTransposefEXT; -GLEW_FUN_EXPORT PFNGLMATRIXLOADDEXTPROC __glewMatrixLoaddEXT; -GLEW_FUN_EXPORT PFNGLMATRIXLOADFEXTPROC __glewMatrixLoadfEXT; -GLEW_FUN_EXPORT PFNGLMATRIXMULTTRANSPOSEDEXTPROC __glewMatrixMultTransposedEXT; -GLEW_FUN_EXPORT PFNGLMATRIXMULTTRANSPOSEFEXTPROC __glewMatrixMultTransposefEXT; -GLEW_FUN_EXPORT PFNGLMATRIXMULTDEXTPROC __glewMatrixMultdEXT; -GLEW_FUN_EXPORT PFNGLMATRIXMULTFEXTPROC __glewMatrixMultfEXT; -GLEW_FUN_EXPORT PFNGLMATRIXORTHOEXTPROC __glewMatrixOrthoEXT; -GLEW_FUN_EXPORT PFNGLMATRIXPOPEXTPROC __glewMatrixPopEXT; -GLEW_FUN_EXPORT PFNGLMATRIXPUSHEXTPROC __glewMatrixPushEXT; -GLEW_FUN_EXPORT PFNGLMATRIXROTATEDEXTPROC __glewMatrixRotatedEXT; -GLEW_FUN_EXPORT PFNGLMATRIXROTATEFEXTPROC __glewMatrixRotatefEXT; -GLEW_FUN_EXPORT PFNGLMATRIXSCALEDEXTPROC __glewMatrixScaledEXT; -GLEW_FUN_EXPORT PFNGLMATRIXSCALEFEXTPROC __glewMatrixScalefEXT; -GLEW_FUN_EXPORT PFNGLMATRIXTRANSLATEDEXTPROC __glewMatrixTranslatedEXT; -GLEW_FUN_EXPORT PFNGLMATRIXTRANSLATEFEXTPROC __glewMatrixTranslatefEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXBUFFEREXTPROC __glewMultiTexBufferEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORDPOINTEREXTPROC __glewMultiTexCoordPointerEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXENVFEXTPROC __glewMultiTexEnvfEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXENVFVEXTPROC __glewMultiTexEnvfvEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXENVIEXTPROC __glewMultiTexEnviEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXENVIVEXTPROC __glewMultiTexEnvivEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXGENDEXTPROC __glewMultiTexGendEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXGENDVEXTPROC __glewMultiTexGendvEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXGENFEXTPROC __glewMultiTexGenfEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXGENFVEXTPROC __glewMultiTexGenfvEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXGENIEXTPROC __glewMultiTexGeniEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXGENIVEXTPROC __glewMultiTexGenivEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXIMAGE1DEXTPROC __glewMultiTexImage1DEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXIMAGE2DEXTPROC __glewMultiTexImage2DEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXIMAGE3DEXTPROC __glewMultiTexImage3DEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXPARAMETERIIVEXTPROC __glewMultiTexParameterIivEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXPARAMETERIUIVEXTPROC __glewMultiTexParameterIuivEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXPARAMETERFEXTPROC __glewMultiTexParameterfEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXPARAMETERFVEXTPROC __glewMultiTexParameterfvEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXPARAMETERIEXTPROC __glewMultiTexParameteriEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXPARAMETERIVEXTPROC __glewMultiTexParameterivEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXRENDERBUFFEREXTPROC __glewMultiTexRenderbufferEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXSUBIMAGE1DEXTPROC __glewMultiTexSubImage1DEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXSUBIMAGE2DEXTPROC __glewMultiTexSubImage2DEXT; -GLEW_FUN_EXPORT PFNGLMULTITEXSUBIMAGE3DEXTPROC __glewMultiTexSubImage3DEXT; -GLEW_FUN_EXPORT PFNGLNAMEDBUFFERDATAEXTPROC __glewNamedBufferDataEXT; -GLEW_FUN_EXPORT PFNGLNAMEDBUFFERSUBDATAEXTPROC __glewNamedBufferSubDataEXT; -GLEW_FUN_EXPORT PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC __glewNamedCopyBufferSubDataEXT; -GLEW_FUN_EXPORT PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC __glewNamedFramebufferRenderbufferEXT; -GLEW_FUN_EXPORT PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC __glewNamedFramebufferTexture1DEXT; -GLEW_FUN_EXPORT PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC __glewNamedFramebufferTexture2DEXT; -GLEW_FUN_EXPORT PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC __glewNamedFramebufferTexture3DEXT; -GLEW_FUN_EXPORT PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC __glewNamedFramebufferTextureEXT; -GLEW_FUN_EXPORT PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC __glewNamedFramebufferTextureFaceEXT; -GLEW_FUN_EXPORT PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC __glewNamedFramebufferTextureLayerEXT; -GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC __glewNamedProgramLocalParameter4dEXT; -GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC __glewNamedProgramLocalParameter4dvEXT; -GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC __glewNamedProgramLocalParameter4fEXT; -GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC __glewNamedProgramLocalParameter4fvEXT; -GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC __glewNamedProgramLocalParameterI4iEXT; -GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC __glewNamedProgramLocalParameterI4ivEXT; -GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC __glewNamedProgramLocalParameterI4uiEXT; -GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC __glewNamedProgramLocalParameterI4uivEXT; -GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC __glewNamedProgramLocalParameters4fvEXT; -GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC __glewNamedProgramLocalParametersI4ivEXT; -GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC __glewNamedProgramLocalParametersI4uivEXT; -GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMSTRINGEXTPROC __glewNamedProgramStringEXT; -GLEW_FUN_EXPORT PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC __glewNamedRenderbufferStorageEXT; -GLEW_FUN_EXPORT PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC __glewNamedRenderbufferStorageMultisampleCoverageEXT; -GLEW_FUN_EXPORT PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC __glewNamedRenderbufferStorageMultisampleEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1DEXTPROC __glewProgramUniform1dEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1DVEXTPROC __glewProgramUniform1dvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1FEXTPROC __glewProgramUniform1fEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1FVEXTPROC __glewProgramUniform1fvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1IEXTPROC __glewProgramUniform1iEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1IVEXTPROC __glewProgramUniform1ivEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1UIEXTPROC __glewProgramUniform1uiEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1UIVEXTPROC __glewProgramUniform1uivEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2DEXTPROC __glewProgramUniform2dEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2DVEXTPROC __glewProgramUniform2dvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2FEXTPROC __glewProgramUniform2fEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2FVEXTPROC __glewProgramUniform2fvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2IEXTPROC __glewProgramUniform2iEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2IVEXTPROC __glewProgramUniform2ivEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2UIEXTPROC __glewProgramUniform2uiEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2UIVEXTPROC __glewProgramUniform2uivEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3DEXTPROC __glewProgramUniform3dEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3DVEXTPROC __glewProgramUniform3dvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3FEXTPROC __glewProgramUniform3fEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3FVEXTPROC __glewProgramUniform3fvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3IEXTPROC __glewProgramUniform3iEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3IVEXTPROC __glewProgramUniform3ivEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3UIEXTPROC __glewProgramUniform3uiEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3UIVEXTPROC __glewProgramUniform3uivEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4DEXTPROC __glewProgramUniform4dEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4DVEXTPROC __glewProgramUniform4dvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4FEXTPROC __glewProgramUniform4fEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4FVEXTPROC __glewProgramUniform4fvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4IEXTPROC __glewProgramUniform4iEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4IVEXTPROC __glewProgramUniform4ivEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4UIEXTPROC __glewProgramUniform4uiEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4UIVEXTPROC __glewProgramUniform4uivEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC __glewProgramUniformMatrix2dvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC __glewProgramUniformMatrix2fvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC __glewProgramUniformMatrix2x3dvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC __glewProgramUniformMatrix2x3fvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC __glewProgramUniformMatrix2x4dvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC __glewProgramUniformMatrix2x4fvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC __glewProgramUniformMatrix3dvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC __glewProgramUniformMatrix3fvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC __glewProgramUniformMatrix3x2dvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC __glewProgramUniformMatrix3x2fvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC __glewProgramUniformMatrix3x4dvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC __glewProgramUniformMatrix3x4fvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC __glewProgramUniformMatrix4dvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC __glewProgramUniformMatrix4fvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC __glewProgramUniformMatrix4x2dvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC __glewProgramUniformMatrix4x2fvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC __glewProgramUniformMatrix4x3dvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC __glewProgramUniformMatrix4x3fvEXT; -GLEW_FUN_EXPORT PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC __glewPushClientAttribDefaultEXT; -GLEW_FUN_EXPORT PFNGLTEXTUREBUFFEREXTPROC __glewTextureBufferEXT; -GLEW_FUN_EXPORT PFNGLTEXTUREIMAGE1DEXTPROC __glewTextureImage1DEXT; -GLEW_FUN_EXPORT PFNGLTEXTUREIMAGE2DEXTPROC __glewTextureImage2DEXT; -GLEW_FUN_EXPORT PFNGLTEXTUREIMAGE3DEXTPROC __glewTextureImage3DEXT; -GLEW_FUN_EXPORT PFNGLTEXTUREPARAMETERIIVEXTPROC __glewTextureParameterIivEXT; -GLEW_FUN_EXPORT PFNGLTEXTUREPARAMETERIUIVEXTPROC __glewTextureParameterIuivEXT; -GLEW_FUN_EXPORT PFNGLTEXTUREPARAMETERFEXTPROC __glewTextureParameterfEXT; -GLEW_FUN_EXPORT PFNGLTEXTUREPARAMETERFVEXTPROC __glewTextureParameterfvEXT; -GLEW_FUN_EXPORT PFNGLTEXTUREPARAMETERIEXTPROC __glewTextureParameteriEXT; -GLEW_FUN_EXPORT PFNGLTEXTUREPARAMETERIVEXTPROC __glewTextureParameterivEXT; -GLEW_FUN_EXPORT PFNGLTEXTURERENDERBUFFEREXTPROC __glewTextureRenderbufferEXT; -GLEW_FUN_EXPORT PFNGLTEXTURESUBIMAGE1DEXTPROC __glewTextureSubImage1DEXT; -GLEW_FUN_EXPORT PFNGLTEXTURESUBIMAGE2DEXTPROC __glewTextureSubImage2DEXT; -GLEW_FUN_EXPORT PFNGLTEXTURESUBIMAGE3DEXTPROC __glewTextureSubImage3DEXT; -GLEW_FUN_EXPORT PFNGLUNMAPNAMEDBUFFEREXTPROC __glewUnmapNamedBufferEXT; -GLEW_FUN_EXPORT PFNGLVERTEXARRAYCOLOROFFSETEXTPROC __glewVertexArrayColorOffsetEXT; -GLEW_FUN_EXPORT PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC __glewVertexArrayEdgeFlagOffsetEXT; -GLEW_FUN_EXPORT PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC __glewVertexArrayFogCoordOffsetEXT; -GLEW_FUN_EXPORT PFNGLVERTEXARRAYINDEXOFFSETEXTPROC __glewVertexArrayIndexOffsetEXT; -GLEW_FUN_EXPORT PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC __glewVertexArrayMultiTexCoordOffsetEXT; -GLEW_FUN_EXPORT PFNGLVERTEXARRAYNORMALOFFSETEXTPROC __glewVertexArrayNormalOffsetEXT; -GLEW_FUN_EXPORT PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC __glewVertexArraySecondaryColorOffsetEXT; -GLEW_FUN_EXPORT PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC __glewVertexArrayTexCoordOffsetEXT; -GLEW_FUN_EXPORT PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC __glewVertexArrayVertexAttribIOffsetEXT; -GLEW_FUN_EXPORT PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC __glewVertexArrayVertexAttribOffsetEXT; -GLEW_FUN_EXPORT PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC __glewVertexArrayVertexOffsetEXT; - -GLEW_FUN_EXPORT PFNGLCOLORMASKINDEXEDEXTPROC __glewColorMaskIndexedEXT; -GLEW_FUN_EXPORT PFNGLDISABLEINDEXEDEXTPROC __glewDisableIndexedEXT; -GLEW_FUN_EXPORT PFNGLENABLEINDEXEDEXTPROC __glewEnableIndexedEXT; -GLEW_FUN_EXPORT PFNGLGETBOOLEANINDEXEDVEXTPROC __glewGetBooleanIndexedvEXT; -GLEW_FUN_EXPORT PFNGLGETINTEGERINDEXEDVEXTPROC __glewGetIntegerIndexedvEXT; -GLEW_FUN_EXPORT PFNGLISENABLEDINDEXEDEXTPROC __glewIsEnabledIndexedEXT; - -GLEW_FUN_EXPORT PFNGLDRAWARRAYSINSTANCEDEXTPROC __glewDrawArraysInstancedEXT; -GLEW_FUN_EXPORT PFNGLDRAWELEMENTSINSTANCEDEXTPROC __glewDrawElementsInstancedEXT; - -GLEW_FUN_EXPORT PFNGLDRAWRANGEELEMENTSEXTPROC __glewDrawRangeElementsEXT; - -GLEW_FUN_EXPORT PFNGLFOGCOORDPOINTEREXTPROC __glewFogCoordPointerEXT; -GLEW_FUN_EXPORT PFNGLFOGCOORDDEXTPROC __glewFogCoorddEXT; -GLEW_FUN_EXPORT PFNGLFOGCOORDDVEXTPROC __glewFogCoorddvEXT; -GLEW_FUN_EXPORT PFNGLFOGCOORDFEXTPROC __glewFogCoordfEXT; -GLEW_FUN_EXPORT PFNGLFOGCOORDFVEXTPROC __glewFogCoordfvEXT; - -GLEW_FUN_EXPORT PFNGLFRAGMENTCOLORMATERIALEXTPROC __glewFragmentColorMaterialEXT; -GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTMODELFEXTPROC __glewFragmentLightModelfEXT; -GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTMODELFVEXTPROC __glewFragmentLightModelfvEXT; -GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTMODELIEXTPROC __glewFragmentLightModeliEXT; -GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTMODELIVEXTPROC __glewFragmentLightModelivEXT; -GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTFEXTPROC __glewFragmentLightfEXT; -GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTFVEXTPROC __glewFragmentLightfvEXT; -GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTIEXTPROC __glewFragmentLightiEXT; -GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTIVEXTPROC __glewFragmentLightivEXT; -GLEW_FUN_EXPORT PFNGLFRAGMENTMATERIALFEXTPROC __glewFragmentMaterialfEXT; -GLEW_FUN_EXPORT PFNGLFRAGMENTMATERIALFVEXTPROC __glewFragmentMaterialfvEXT; -GLEW_FUN_EXPORT PFNGLFRAGMENTMATERIALIEXTPROC __glewFragmentMaterialiEXT; -GLEW_FUN_EXPORT PFNGLFRAGMENTMATERIALIVEXTPROC __glewFragmentMaterialivEXT; -GLEW_FUN_EXPORT PFNGLGETFRAGMENTLIGHTFVEXTPROC __glewGetFragmentLightfvEXT; -GLEW_FUN_EXPORT PFNGLGETFRAGMENTLIGHTIVEXTPROC __glewGetFragmentLightivEXT; -GLEW_FUN_EXPORT PFNGLGETFRAGMENTMATERIALFVEXTPROC __glewGetFragmentMaterialfvEXT; -GLEW_FUN_EXPORT PFNGLGETFRAGMENTMATERIALIVEXTPROC __glewGetFragmentMaterialivEXT; -GLEW_FUN_EXPORT PFNGLLIGHTENVIEXTPROC __glewLightEnviEXT; - -GLEW_FUN_EXPORT PFNGLBLITFRAMEBUFFEREXTPROC __glewBlitFramebufferEXT; - -GLEW_FUN_EXPORT PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC __glewRenderbufferStorageMultisampleEXT; - -GLEW_FUN_EXPORT PFNGLBINDFRAMEBUFFEREXTPROC __glewBindFramebufferEXT; -GLEW_FUN_EXPORT PFNGLBINDRENDERBUFFEREXTPROC __glewBindRenderbufferEXT; -GLEW_FUN_EXPORT PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC __glewCheckFramebufferStatusEXT; -GLEW_FUN_EXPORT PFNGLDELETEFRAMEBUFFERSEXTPROC __glewDeleteFramebuffersEXT; -GLEW_FUN_EXPORT PFNGLDELETERENDERBUFFERSEXTPROC __glewDeleteRenderbuffersEXT; -GLEW_FUN_EXPORT PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC __glewFramebufferRenderbufferEXT; -GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURE1DEXTPROC __glewFramebufferTexture1DEXT; -GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURE2DEXTPROC __glewFramebufferTexture2DEXT; -GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURE3DEXTPROC __glewFramebufferTexture3DEXT; -GLEW_FUN_EXPORT PFNGLGENFRAMEBUFFERSEXTPROC __glewGenFramebuffersEXT; -GLEW_FUN_EXPORT PFNGLGENRENDERBUFFERSEXTPROC __glewGenRenderbuffersEXT; -GLEW_FUN_EXPORT PFNGLGENERATEMIPMAPEXTPROC __glewGenerateMipmapEXT; -GLEW_FUN_EXPORT PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC __glewGetFramebufferAttachmentParameterivEXT; -GLEW_FUN_EXPORT PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC __glewGetRenderbufferParameterivEXT; -GLEW_FUN_EXPORT PFNGLISFRAMEBUFFEREXTPROC __glewIsFramebufferEXT; -GLEW_FUN_EXPORT PFNGLISRENDERBUFFEREXTPROC __glewIsRenderbufferEXT; -GLEW_FUN_EXPORT PFNGLRENDERBUFFERSTORAGEEXTPROC __glewRenderbufferStorageEXT; - -GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTUREEXTPROC __glewFramebufferTextureEXT; -GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC __glewFramebufferTextureFaceEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMPARAMETERIEXTPROC __glewProgramParameteriEXT; - -GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETERS4FVEXTPROC __glewProgramEnvParameters4fvEXT; -GLEW_FUN_EXPORT PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC __glewProgramLocalParameters4fvEXT; - -GLEW_FUN_EXPORT PFNGLBINDFRAGDATALOCATIONEXTPROC __glewBindFragDataLocationEXT; -GLEW_FUN_EXPORT PFNGLGETFRAGDATALOCATIONEXTPROC __glewGetFragDataLocationEXT; -GLEW_FUN_EXPORT PFNGLGETUNIFORMUIVEXTPROC __glewGetUniformuivEXT; -GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBIIVEXTPROC __glewGetVertexAttribIivEXT; -GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBIUIVEXTPROC __glewGetVertexAttribIuivEXT; -GLEW_FUN_EXPORT PFNGLUNIFORM1UIEXTPROC __glewUniform1uiEXT; -GLEW_FUN_EXPORT PFNGLUNIFORM1UIVEXTPROC __glewUniform1uivEXT; -GLEW_FUN_EXPORT PFNGLUNIFORM2UIEXTPROC __glewUniform2uiEXT; -GLEW_FUN_EXPORT PFNGLUNIFORM2UIVEXTPROC __glewUniform2uivEXT; -GLEW_FUN_EXPORT PFNGLUNIFORM3UIEXTPROC __glewUniform3uiEXT; -GLEW_FUN_EXPORT PFNGLUNIFORM3UIVEXTPROC __glewUniform3uivEXT; -GLEW_FUN_EXPORT PFNGLUNIFORM4UIEXTPROC __glewUniform4uiEXT; -GLEW_FUN_EXPORT PFNGLUNIFORM4UIVEXTPROC __glewUniform4uivEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI1IEXTPROC __glewVertexAttribI1iEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI1IVEXTPROC __glewVertexAttribI1ivEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI1UIEXTPROC __glewVertexAttribI1uiEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI1UIVEXTPROC __glewVertexAttribI1uivEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI2IEXTPROC __glewVertexAttribI2iEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI2IVEXTPROC __glewVertexAttribI2ivEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI2UIEXTPROC __glewVertexAttribI2uiEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI2UIVEXTPROC __glewVertexAttribI2uivEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI3IEXTPROC __glewVertexAttribI3iEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI3IVEXTPROC __glewVertexAttribI3ivEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI3UIEXTPROC __glewVertexAttribI3uiEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI3UIVEXTPROC __glewVertexAttribI3uivEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4BVEXTPROC __glewVertexAttribI4bvEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4IEXTPROC __glewVertexAttribI4iEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4IVEXTPROC __glewVertexAttribI4ivEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4SVEXTPROC __glewVertexAttribI4svEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4UBVEXTPROC __glewVertexAttribI4ubvEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4UIEXTPROC __glewVertexAttribI4uiEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4UIVEXTPROC __glewVertexAttribI4uivEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4USVEXTPROC __glewVertexAttribI4usvEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBIPOINTEREXTPROC __glewVertexAttribIPointerEXT; - -GLEW_FUN_EXPORT PFNGLGETHISTOGRAMEXTPROC __glewGetHistogramEXT; -GLEW_FUN_EXPORT PFNGLGETHISTOGRAMPARAMETERFVEXTPROC __glewGetHistogramParameterfvEXT; -GLEW_FUN_EXPORT PFNGLGETHISTOGRAMPARAMETERIVEXTPROC __glewGetHistogramParameterivEXT; -GLEW_FUN_EXPORT PFNGLGETMINMAXEXTPROC __glewGetMinmaxEXT; -GLEW_FUN_EXPORT PFNGLGETMINMAXPARAMETERFVEXTPROC __glewGetMinmaxParameterfvEXT; -GLEW_FUN_EXPORT PFNGLGETMINMAXPARAMETERIVEXTPROC __glewGetMinmaxParameterivEXT; -GLEW_FUN_EXPORT PFNGLHISTOGRAMEXTPROC __glewHistogramEXT; -GLEW_FUN_EXPORT PFNGLMINMAXEXTPROC __glewMinmaxEXT; -GLEW_FUN_EXPORT PFNGLRESETHISTOGRAMEXTPROC __glewResetHistogramEXT; -GLEW_FUN_EXPORT PFNGLRESETMINMAXEXTPROC __glewResetMinmaxEXT; - -GLEW_FUN_EXPORT PFNGLINDEXFUNCEXTPROC __glewIndexFuncEXT; - -GLEW_FUN_EXPORT PFNGLINDEXMATERIALEXTPROC __glewIndexMaterialEXT; - -GLEW_FUN_EXPORT PFNGLAPPLYTEXTUREEXTPROC __glewApplyTextureEXT; -GLEW_FUN_EXPORT PFNGLTEXTURELIGHTEXTPROC __glewTextureLightEXT; -GLEW_FUN_EXPORT PFNGLTEXTUREMATERIALEXTPROC __glewTextureMaterialEXT; - -GLEW_FUN_EXPORT PFNGLMULTIDRAWARRAYSEXTPROC __glewMultiDrawArraysEXT; -GLEW_FUN_EXPORT PFNGLMULTIDRAWELEMENTSEXTPROC __glewMultiDrawElementsEXT; - -GLEW_FUN_EXPORT PFNGLSAMPLEMASKEXTPROC __glewSampleMaskEXT; -GLEW_FUN_EXPORT PFNGLSAMPLEPATTERNEXTPROC __glewSamplePatternEXT; - -GLEW_FUN_EXPORT PFNGLCOLORTABLEEXTPROC __glewColorTableEXT; -GLEW_FUN_EXPORT PFNGLGETCOLORTABLEEXTPROC __glewGetColorTableEXT; -GLEW_FUN_EXPORT PFNGLGETCOLORTABLEPARAMETERFVEXTPROC __glewGetColorTableParameterfvEXT; -GLEW_FUN_EXPORT PFNGLGETCOLORTABLEPARAMETERIVEXTPROC __glewGetColorTableParameterivEXT; - -GLEW_FUN_EXPORT PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC __glewGetPixelTransformParameterfvEXT; -GLEW_FUN_EXPORT PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC __glewGetPixelTransformParameterivEXT; -GLEW_FUN_EXPORT PFNGLPIXELTRANSFORMPARAMETERFEXTPROC __glewPixelTransformParameterfEXT; -GLEW_FUN_EXPORT PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC __glewPixelTransformParameterfvEXT; -GLEW_FUN_EXPORT PFNGLPIXELTRANSFORMPARAMETERIEXTPROC __glewPixelTransformParameteriEXT; -GLEW_FUN_EXPORT PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC __glewPixelTransformParameterivEXT; - -GLEW_FUN_EXPORT PFNGLPOINTPARAMETERFEXTPROC __glewPointParameterfEXT; -GLEW_FUN_EXPORT PFNGLPOINTPARAMETERFVEXTPROC __glewPointParameterfvEXT; - -GLEW_FUN_EXPORT PFNGLPOLYGONOFFSETEXTPROC __glewPolygonOffsetEXT; - -GLEW_FUN_EXPORT PFNGLPROVOKINGVERTEXEXTPROC __glewProvokingVertexEXT; - -GLEW_FUN_EXPORT PFNGLBEGINSCENEEXTPROC __glewBeginSceneEXT; -GLEW_FUN_EXPORT PFNGLENDSCENEEXTPROC __glewEndSceneEXT; - -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3BEXTPROC __glewSecondaryColor3bEXT; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3BVEXTPROC __glewSecondaryColor3bvEXT; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3DEXTPROC __glewSecondaryColor3dEXT; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3DVEXTPROC __glewSecondaryColor3dvEXT; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3FEXTPROC __glewSecondaryColor3fEXT; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3FVEXTPROC __glewSecondaryColor3fvEXT; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3IEXTPROC __glewSecondaryColor3iEXT; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3IVEXTPROC __glewSecondaryColor3ivEXT; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3SEXTPROC __glewSecondaryColor3sEXT; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3SVEXTPROC __glewSecondaryColor3svEXT; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3UBEXTPROC __glewSecondaryColor3ubEXT; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3UBVEXTPROC __glewSecondaryColor3ubvEXT; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3UIEXTPROC __glewSecondaryColor3uiEXT; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3UIVEXTPROC __glewSecondaryColor3uivEXT; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3USEXTPROC __glewSecondaryColor3usEXT; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3USVEXTPROC __glewSecondaryColor3usvEXT; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLORPOINTEREXTPROC __glewSecondaryColorPointerEXT; - -GLEW_FUN_EXPORT PFNGLACTIVEPROGRAMEXTPROC __glewActiveProgramEXT; -GLEW_FUN_EXPORT PFNGLCREATESHADERPROGRAMEXTPROC __glewCreateShaderProgramEXT; -GLEW_FUN_EXPORT PFNGLUSESHADERPROGRAMEXTPROC __glewUseShaderProgramEXT; - -GLEW_FUN_EXPORT PFNGLBINDIMAGETEXTUREEXTPROC __glewBindImageTextureEXT; -GLEW_FUN_EXPORT PFNGLMEMORYBARRIEREXTPROC __glewMemoryBarrierEXT; - -GLEW_FUN_EXPORT PFNGLACTIVESTENCILFACEEXTPROC __glewActiveStencilFaceEXT; - -GLEW_FUN_EXPORT PFNGLTEXSUBIMAGE1DEXTPROC __glewTexSubImage1DEXT; -GLEW_FUN_EXPORT PFNGLTEXSUBIMAGE2DEXTPROC __glewTexSubImage2DEXT; -GLEW_FUN_EXPORT PFNGLTEXSUBIMAGE3DEXTPROC __glewTexSubImage3DEXT; - -GLEW_FUN_EXPORT PFNGLTEXIMAGE3DEXTPROC __glewTexImage3DEXT; - -GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC __glewFramebufferTextureLayerEXT; - -GLEW_FUN_EXPORT PFNGLTEXBUFFEREXTPROC __glewTexBufferEXT; - -GLEW_FUN_EXPORT PFNGLCLEARCOLORIIEXTPROC __glewClearColorIiEXT; -GLEW_FUN_EXPORT PFNGLCLEARCOLORIUIEXTPROC __glewClearColorIuiEXT; -GLEW_FUN_EXPORT PFNGLGETTEXPARAMETERIIVEXTPROC __glewGetTexParameterIivEXT; -GLEW_FUN_EXPORT PFNGLGETTEXPARAMETERIUIVEXTPROC __glewGetTexParameterIuivEXT; -GLEW_FUN_EXPORT PFNGLTEXPARAMETERIIVEXTPROC __glewTexParameterIivEXT; -GLEW_FUN_EXPORT PFNGLTEXPARAMETERIUIVEXTPROC __glewTexParameterIuivEXT; - -GLEW_FUN_EXPORT PFNGLARETEXTURESRESIDENTEXTPROC __glewAreTexturesResidentEXT; -GLEW_FUN_EXPORT PFNGLBINDTEXTUREEXTPROC __glewBindTextureEXT; -GLEW_FUN_EXPORT PFNGLDELETETEXTURESEXTPROC __glewDeleteTexturesEXT; -GLEW_FUN_EXPORT PFNGLGENTEXTURESEXTPROC __glewGenTexturesEXT; -GLEW_FUN_EXPORT PFNGLISTEXTUREEXTPROC __glewIsTextureEXT; -GLEW_FUN_EXPORT PFNGLPRIORITIZETEXTURESEXTPROC __glewPrioritizeTexturesEXT; - -GLEW_FUN_EXPORT PFNGLTEXTURENORMALEXTPROC __glewTextureNormalEXT; - -GLEW_FUN_EXPORT PFNGLGETQUERYOBJECTI64VEXTPROC __glewGetQueryObjecti64vEXT; -GLEW_FUN_EXPORT PFNGLGETQUERYOBJECTUI64VEXTPROC __glewGetQueryObjectui64vEXT; - -GLEW_FUN_EXPORT PFNGLBEGINTRANSFORMFEEDBACKEXTPROC __glewBeginTransformFeedbackEXT; -GLEW_FUN_EXPORT PFNGLBINDBUFFERBASEEXTPROC __glewBindBufferBaseEXT; -GLEW_FUN_EXPORT PFNGLBINDBUFFEROFFSETEXTPROC __glewBindBufferOffsetEXT; -GLEW_FUN_EXPORT PFNGLBINDBUFFERRANGEEXTPROC __glewBindBufferRangeEXT; -GLEW_FUN_EXPORT PFNGLENDTRANSFORMFEEDBACKEXTPROC __glewEndTransformFeedbackEXT; -GLEW_FUN_EXPORT PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC __glewGetTransformFeedbackVaryingEXT; -GLEW_FUN_EXPORT PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC __glewTransformFeedbackVaryingsEXT; - -GLEW_FUN_EXPORT PFNGLARRAYELEMENTEXTPROC __glewArrayElementEXT; -GLEW_FUN_EXPORT PFNGLCOLORPOINTEREXTPROC __glewColorPointerEXT; -GLEW_FUN_EXPORT PFNGLDRAWARRAYSEXTPROC __glewDrawArraysEXT; -GLEW_FUN_EXPORT PFNGLEDGEFLAGPOINTEREXTPROC __glewEdgeFlagPointerEXT; -GLEW_FUN_EXPORT PFNGLINDEXPOINTEREXTPROC __glewIndexPointerEXT; -GLEW_FUN_EXPORT PFNGLNORMALPOINTEREXTPROC __glewNormalPointerEXT; -GLEW_FUN_EXPORT PFNGLTEXCOORDPOINTEREXTPROC __glewTexCoordPointerEXT; -GLEW_FUN_EXPORT PFNGLVERTEXPOINTEREXTPROC __glewVertexPointerEXT; - -GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBLDVEXTPROC __glewGetVertexAttribLdvEXT; -GLEW_FUN_EXPORT PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC __glewVertexArrayVertexAttribLOffsetEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL1DEXTPROC __glewVertexAttribL1dEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL1DVEXTPROC __glewVertexAttribL1dvEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL2DEXTPROC __glewVertexAttribL2dEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL2DVEXTPROC __glewVertexAttribL2dvEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL3DEXTPROC __glewVertexAttribL3dEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL3DVEXTPROC __glewVertexAttribL3dvEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL4DEXTPROC __glewVertexAttribL4dEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL4DVEXTPROC __glewVertexAttribL4dvEXT; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBLPOINTEREXTPROC __glewVertexAttribLPointerEXT; - -GLEW_FUN_EXPORT PFNGLBEGINVERTEXSHADEREXTPROC __glewBeginVertexShaderEXT; -GLEW_FUN_EXPORT PFNGLBINDLIGHTPARAMETEREXTPROC __glewBindLightParameterEXT; -GLEW_FUN_EXPORT PFNGLBINDMATERIALPARAMETEREXTPROC __glewBindMaterialParameterEXT; -GLEW_FUN_EXPORT PFNGLBINDPARAMETEREXTPROC __glewBindParameterEXT; -GLEW_FUN_EXPORT PFNGLBINDTEXGENPARAMETEREXTPROC __glewBindTexGenParameterEXT; -GLEW_FUN_EXPORT PFNGLBINDTEXTUREUNITPARAMETEREXTPROC __glewBindTextureUnitParameterEXT; -GLEW_FUN_EXPORT PFNGLBINDVERTEXSHADEREXTPROC __glewBindVertexShaderEXT; -GLEW_FUN_EXPORT PFNGLDELETEVERTEXSHADEREXTPROC __glewDeleteVertexShaderEXT; -GLEW_FUN_EXPORT PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC __glewDisableVariantClientStateEXT; -GLEW_FUN_EXPORT PFNGLENABLEVARIANTCLIENTSTATEEXTPROC __glewEnableVariantClientStateEXT; -GLEW_FUN_EXPORT PFNGLENDVERTEXSHADEREXTPROC __glewEndVertexShaderEXT; -GLEW_FUN_EXPORT PFNGLEXTRACTCOMPONENTEXTPROC __glewExtractComponentEXT; -GLEW_FUN_EXPORT PFNGLGENSYMBOLSEXTPROC __glewGenSymbolsEXT; -GLEW_FUN_EXPORT PFNGLGENVERTEXSHADERSEXTPROC __glewGenVertexShadersEXT; -GLEW_FUN_EXPORT PFNGLGETINVARIANTBOOLEANVEXTPROC __glewGetInvariantBooleanvEXT; -GLEW_FUN_EXPORT PFNGLGETINVARIANTFLOATVEXTPROC __glewGetInvariantFloatvEXT; -GLEW_FUN_EXPORT PFNGLGETINVARIANTINTEGERVEXTPROC __glewGetInvariantIntegervEXT; -GLEW_FUN_EXPORT PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC __glewGetLocalConstantBooleanvEXT; -GLEW_FUN_EXPORT PFNGLGETLOCALCONSTANTFLOATVEXTPROC __glewGetLocalConstantFloatvEXT; -GLEW_FUN_EXPORT PFNGLGETLOCALCONSTANTINTEGERVEXTPROC __glewGetLocalConstantIntegervEXT; -GLEW_FUN_EXPORT PFNGLGETVARIANTBOOLEANVEXTPROC __glewGetVariantBooleanvEXT; -GLEW_FUN_EXPORT PFNGLGETVARIANTFLOATVEXTPROC __glewGetVariantFloatvEXT; -GLEW_FUN_EXPORT PFNGLGETVARIANTINTEGERVEXTPROC __glewGetVariantIntegervEXT; -GLEW_FUN_EXPORT PFNGLGETVARIANTPOINTERVEXTPROC __glewGetVariantPointervEXT; -GLEW_FUN_EXPORT PFNGLINSERTCOMPONENTEXTPROC __glewInsertComponentEXT; -GLEW_FUN_EXPORT PFNGLISVARIANTENABLEDEXTPROC __glewIsVariantEnabledEXT; -GLEW_FUN_EXPORT PFNGLSETINVARIANTEXTPROC __glewSetInvariantEXT; -GLEW_FUN_EXPORT PFNGLSETLOCALCONSTANTEXTPROC __glewSetLocalConstantEXT; -GLEW_FUN_EXPORT PFNGLSHADEROP1EXTPROC __glewShaderOp1EXT; -GLEW_FUN_EXPORT PFNGLSHADEROP2EXTPROC __glewShaderOp2EXT; -GLEW_FUN_EXPORT PFNGLSHADEROP3EXTPROC __glewShaderOp3EXT; -GLEW_FUN_EXPORT PFNGLSWIZZLEEXTPROC __glewSwizzleEXT; -GLEW_FUN_EXPORT PFNGLVARIANTPOINTEREXTPROC __glewVariantPointerEXT; -GLEW_FUN_EXPORT PFNGLVARIANTBVEXTPROC __glewVariantbvEXT; -GLEW_FUN_EXPORT PFNGLVARIANTDVEXTPROC __glewVariantdvEXT; -GLEW_FUN_EXPORT PFNGLVARIANTFVEXTPROC __glewVariantfvEXT; -GLEW_FUN_EXPORT PFNGLVARIANTIVEXTPROC __glewVariantivEXT; -GLEW_FUN_EXPORT PFNGLVARIANTSVEXTPROC __glewVariantsvEXT; -GLEW_FUN_EXPORT PFNGLVARIANTUBVEXTPROC __glewVariantubvEXT; -GLEW_FUN_EXPORT PFNGLVARIANTUIVEXTPROC __glewVariantuivEXT; -GLEW_FUN_EXPORT PFNGLVARIANTUSVEXTPROC __glewVariantusvEXT; -GLEW_FUN_EXPORT PFNGLWRITEMASKEXTPROC __glewWriteMaskEXT; - -GLEW_FUN_EXPORT PFNGLVERTEXWEIGHTPOINTEREXTPROC __glewVertexWeightPointerEXT; -GLEW_FUN_EXPORT PFNGLVERTEXWEIGHTFEXTPROC __glewVertexWeightfEXT; -GLEW_FUN_EXPORT PFNGLVERTEXWEIGHTFVEXTPROC __glewVertexWeightfvEXT; - -GLEW_FUN_EXPORT PFNGLIMPORTSYNCEXTPROC __glewImportSyncEXT; - -GLEW_FUN_EXPORT PFNGLFRAMETERMINATORGREMEDYPROC __glewFrameTerminatorGREMEDY; - -GLEW_FUN_EXPORT PFNGLSTRINGMARKERGREMEDYPROC __glewStringMarkerGREMEDY; - -GLEW_FUN_EXPORT PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC __glewGetImageTransformParameterfvHP; -GLEW_FUN_EXPORT PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC __glewGetImageTransformParameterivHP; -GLEW_FUN_EXPORT PFNGLIMAGETRANSFORMPARAMETERFHPPROC __glewImageTransformParameterfHP; -GLEW_FUN_EXPORT PFNGLIMAGETRANSFORMPARAMETERFVHPPROC __glewImageTransformParameterfvHP; -GLEW_FUN_EXPORT PFNGLIMAGETRANSFORMPARAMETERIHPPROC __glewImageTransformParameteriHP; -GLEW_FUN_EXPORT PFNGLIMAGETRANSFORMPARAMETERIVHPPROC __glewImageTransformParameterivHP; - -GLEW_FUN_EXPORT PFNGLMULTIMODEDRAWARRAYSIBMPROC __glewMultiModeDrawArraysIBM; -GLEW_FUN_EXPORT PFNGLMULTIMODEDRAWELEMENTSIBMPROC __glewMultiModeDrawElementsIBM; - -GLEW_FUN_EXPORT PFNGLCOLORPOINTERLISTIBMPROC __glewColorPointerListIBM; -GLEW_FUN_EXPORT PFNGLEDGEFLAGPOINTERLISTIBMPROC __glewEdgeFlagPointerListIBM; -GLEW_FUN_EXPORT PFNGLFOGCOORDPOINTERLISTIBMPROC __glewFogCoordPointerListIBM; -GLEW_FUN_EXPORT PFNGLINDEXPOINTERLISTIBMPROC __glewIndexPointerListIBM; -GLEW_FUN_EXPORT PFNGLNORMALPOINTERLISTIBMPROC __glewNormalPointerListIBM; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLORPOINTERLISTIBMPROC __glewSecondaryColorPointerListIBM; -GLEW_FUN_EXPORT PFNGLTEXCOORDPOINTERLISTIBMPROC __glewTexCoordPointerListIBM; -GLEW_FUN_EXPORT PFNGLVERTEXPOINTERLISTIBMPROC __glewVertexPointerListIBM; - -GLEW_FUN_EXPORT PFNGLCOLORPOINTERVINTELPROC __glewColorPointervINTEL; -GLEW_FUN_EXPORT PFNGLNORMALPOINTERVINTELPROC __glewNormalPointervINTEL; -GLEW_FUN_EXPORT PFNGLTEXCOORDPOINTERVINTELPROC __glewTexCoordPointervINTEL; -GLEW_FUN_EXPORT PFNGLVERTEXPOINTERVINTELPROC __glewVertexPointervINTEL; - -GLEW_FUN_EXPORT PFNGLTEXSCISSORFUNCINTELPROC __glewTexScissorFuncINTEL; -GLEW_FUN_EXPORT PFNGLTEXSCISSORINTELPROC __glewTexScissorINTEL; - -GLEW_FUN_EXPORT PFNGLDEBUGMESSAGECALLBACKPROC __glewDebugMessageCallback; -GLEW_FUN_EXPORT PFNGLDEBUGMESSAGECONTROLPROC __glewDebugMessageControl; -GLEW_FUN_EXPORT PFNGLDEBUGMESSAGEINSERTPROC __glewDebugMessageInsert; -GLEW_FUN_EXPORT PFNGLGETDEBUGMESSAGELOGPROC __glewGetDebugMessageLog; -GLEW_FUN_EXPORT PFNGLGETOBJECTLABELPROC __glewGetObjectLabel; -GLEW_FUN_EXPORT PFNGLGETOBJECTPTRLABELPROC __glewGetObjectPtrLabel; -GLEW_FUN_EXPORT PFNGLGETPOINTERVPROC __glewGetPointerv; -GLEW_FUN_EXPORT PFNGLOBJECTLABELPROC __glewObjectLabel; -GLEW_FUN_EXPORT PFNGLOBJECTPTRLABELPROC __glewObjectPtrLabel; -GLEW_FUN_EXPORT PFNGLPUSHDEBUGGROUPPROC __glewPushDebugGroup; - -GLEW_FUN_EXPORT PFNGLBUFFERREGIONENABLEDPROC __glewBufferRegionEnabled; -GLEW_FUN_EXPORT PFNGLDELETEBUFFERREGIONPROC __glewDeleteBufferRegion; -GLEW_FUN_EXPORT PFNGLDRAWBUFFERREGIONPROC __glewDrawBufferRegion; -GLEW_FUN_EXPORT PFNGLNEWBUFFERREGIONPROC __glewNewBufferRegion; -GLEW_FUN_EXPORT PFNGLREADBUFFERREGIONPROC __glewReadBufferRegion; - -GLEW_FUN_EXPORT PFNGLRESIZEBUFFERSMESAPROC __glewResizeBuffersMESA; - -GLEW_FUN_EXPORT PFNGLWINDOWPOS2DMESAPROC __glewWindowPos2dMESA; -GLEW_FUN_EXPORT PFNGLWINDOWPOS2DVMESAPROC __glewWindowPos2dvMESA; -GLEW_FUN_EXPORT PFNGLWINDOWPOS2FMESAPROC __glewWindowPos2fMESA; -GLEW_FUN_EXPORT PFNGLWINDOWPOS2FVMESAPROC __glewWindowPos2fvMESA; -GLEW_FUN_EXPORT PFNGLWINDOWPOS2IMESAPROC __glewWindowPos2iMESA; -GLEW_FUN_EXPORT PFNGLWINDOWPOS2IVMESAPROC __glewWindowPos2ivMESA; -GLEW_FUN_EXPORT PFNGLWINDOWPOS2SMESAPROC __glewWindowPos2sMESA; -GLEW_FUN_EXPORT PFNGLWINDOWPOS2SVMESAPROC __glewWindowPos2svMESA; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3DMESAPROC __glewWindowPos3dMESA; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3DVMESAPROC __glewWindowPos3dvMESA; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3FMESAPROC __glewWindowPos3fMESA; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3FVMESAPROC __glewWindowPos3fvMESA; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3IMESAPROC __glewWindowPos3iMESA; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3IVMESAPROC __glewWindowPos3ivMESA; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3SMESAPROC __glewWindowPos3sMESA; -GLEW_FUN_EXPORT PFNGLWINDOWPOS3SVMESAPROC __glewWindowPos3svMESA; -GLEW_FUN_EXPORT PFNGLWINDOWPOS4DMESAPROC __glewWindowPos4dMESA; -GLEW_FUN_EXPORT PFNGLWINDOWPOS4DVMESAPROC __glewWindowPos4dvMESA; -GLEW_FUN_EXPORT PFNGLWINDOWPOS4FMESAPROC __glewWindowPos4fMESA; -GLEW_FUN_EXPORT PFNGLWINDOWPOS4FVMESAPROC __glewWindowPos4fvMESA; -GLEW_FUN_EXPORT PFNGLWINDOWPOS4IMESAPROC __glewWindowPos4iMESA; -GLEW_FUN_EXPORT PFNGLWINDOWPOS4IVMESAPROC __glewWindowPos4ivMESA; -GLEW_FUN_EXPORT PFNGLWINDOWPOS4SMESAPROC __glewWindowPos4sMESA; -GLEW_FUN_EXPORT PFNGLWINDOWPOS4SVMESAPROC __glewWindowPos4svMESA; - -GLEW_FUN_EXPORT PFNGLGETIMAGEHANDLENVPROC __glewGetImageHandleNV; -GLEW_FUN_EXPORT PFNGLGETTEXTUREHANDLENVPROC __glewGetTextureHandleNV; -GLEW_FUN_EXPORT PFNGLGETTEXTURESAMPLERHANDLENVPROC __glewGetTextureSamplerHandleNV; -GLEW_FUN_EXPORT PFNGLISIMAGEHANDLERESIDENTNVPROC __glewIsImageHandleResidentNV; -GLEW_FUN_EXPORT PFNGLISTEXTUREHANDLERESIDENTNVPROC __glewIsTextureHandleResidentNV; -GLEW_FUN_EXPORT PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC __glewMakeImageHandleNonResidentNV; -GLEW_FUN_EXPORT PFNGLMAKEIMAGEHANDLERESIDENTNVPROC __glewMakeImageHandleResidentNV; -GLEW_FUN_EXPORT PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC __glewMakeTextureHandleNonResidentNV; -GLEW_FUN_EXPORT PFNGLMAKETEXTUREHANDLERESIDENTNVPROC __glewMakeTextureHandleResidentNV; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC __glewProgramUniformHandleui64NV; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC __glewProgramUniformHandleui64vNV; -GLEW_FUN_EXPORT PFNGLUNIFORMHANDLEUI64NVPROC __glewUniformHandleui64NV; -GLEW_FUN_EXPORT PFNGLUNIFORMHANDLEUI64VNVPROC __glewUniformHandleui64vNV; - -GLEW_FUN_EXPORT PFNGLBEGINCONDITIONALRENDERNVPROC __glewBeginConditionalRenderNV; -GLEW_FUN_EXPORT PFNGLENDCONDITIONALRENDERNVPROC __glewEndConditionalRenderNV; - -GLEW_FUN_EXPORT PFNGLCOPYIMAGESUBDATANVPROC __glewCopyImageSubDataNV; - -GLEW_FUN_EXPORT PFNGLCLEARDEPTHDNVPROC __glewClearDepthdNV; -GLEW_FUN_EXPORT PFNGLDEPTHBOUNDSDNVPROC __glewDepthBoundsdNV; -GLEW_FUN_EXPORT PFNGLDEPTHRANGEDNVPROC __glewDepthRangedNV; - -GLEW_FUN_EXPORT PFNGLEVALMAPSNVPROC __glewEvalMapsNV; -GLEW_FUN_EXPORT PFNGLGETMAPATTRIBPARAMETERFVNVPROC __glewGetMapAttribParameterfvNV; -GLEW_FUN_EXPORT PFNGLGETMAPATTRIBPARAMETERIVNVPROC __glewGetMapAttribParameterivNV; -GLEW_FUN_EXPORT PFNGLGETMAPCONTROLPOINTSNVPROC __glewGetMapControlPointsNV; -GLEW_FUN_EXPORT PFNGLGETMAPPARAMETERFVNVPROC __glewGetMapParameterfvNV; -GLEW_FUN_EXPORT PFNGLGETMAPPARAMETERIVNVPROC __glewGetMapParameterivNV; -GLEW_FUN_EXPORT PFNGLMAPCONTROLPOINTSNVPROC __glewMapControlPointsNV; -GLEW_FUN_EXPORT PFNGLMAPPARAMETERFVNVPROC __glewMapParameterfvNV; -GLEW_FUN_EXPORT PFNGLMAPPARAMETERIVNVPROC __glewMapParameterivNV; - -GLEW_FUN_EXPORT PFNGLGETMULTISAMPLEFVNVPROC __glewGetMultisamplefvNV; -GLEW_FUN_EXPORT PFNGLSAMPLEMASKINDEXEDNVPROC __glewSampleMaskIndexedNV; -GLEW_FUN_EXPORT PFNGLTEXRENDERBUFFERNVPROC __glewTexRenderbufferNV; - -GLEW_FUN_EXPORT PFNGLDELETEFENCESNVPROC __glewDeleteFencesNV; -GLEW_FUN_EXPORT PFNGLFINISHFENCENVPROC __glewFinishFenceNV; -GLEW_FUN_EXPORT PFNGLGENFENCESNVPROC __glewGenFencesNV; -GLEW_FUN_EXPORT PFNGLGETFENCEIVNVPROC __glewGetFenceivNV; -GLEW_FUN_EXPORT PFNGLISFENCENVPROC __glewIsFenceNV; -GLEW_FUN_EXPORT PFNGLSETFENCENVPROC __glewSetFenceNV; -GLEW_FUN_EXPORT PFNGLTESTFENCENVPROC __glewTestFenceNV; - -GLEW_FUN_EXPORT PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC __glewGetProgramNamedParameterdvNV; -GLEW_FUN_EXPORT PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC __glewGetProgramNamedParameterfvNV; -GLEW_FUN_EXPORT PFNGLPROGRAMNAMEDPARAMETER4DNVPROC __glewProgramNamedParameter4dNV; -GLEW_FUN_EXPORT PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC __glewProgramNamedParameter4dvNV; -GLEW_FUN_EXPORT PFNGLPROGRAMNAMEDPARAMETER4FNVPROC __glewProgramNamedParameter4fNV; -GLEW_FUN_EXPORT PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC __glewProgramNamedParameter4fvNV; - -GLEW_FUN_EXPORT PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC __glewRenderbufferStorageMultisampleCoverageNV; - -GLEW_FUN_EXPORT PFNGLPROGRAMVERTEXLIMITNVPROC __glewProgramVertexLimitNV; - -GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETERI4INVPROC __glewProgramEnvParameterI4iNV; -GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETERI4IVNVPROC __glewProgramEnvParameterI4ivNV; -GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETERI4UINVPROC __glewProgramEnvParameterI4uiNV; -GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETERI4UIVNVPROC __glewProgramEnvParameterI4uivNV; -GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETERSI4IVNVPROC __glewProgramEnvParametersI4ivNV; -GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC __glewProgramEnvParametersI4uivNV; -GLEW_FUN_EXPORT PFNGLPROGRAMLOCALPARAMETERI4INVPROC __glewProgramLocalParameterI4iNV; -GLEW_FUN_EXPORT PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC __glewProgramLocalParameterI4ivNV; -GLEW_FUN_EXPORT PFNGLPROGRAMLOCALPARAMETERI4UINVPROC __glewProgramLocalParameterI4uiNV; -GLEW_FUN_EXPORT PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC __glewProgramLocalParameterI4uivNV; -GLEW_FUN_EXPORT PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC __glewProgramLocalParametersI4ivNV; -GLEW_FUN_EXPORT PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC __glewProgramLocalParametersI4uivNV; - -GLEW_FUN_EXPORT PFNGLGETUNIFORMI64VNVPROC __glewGetUniformi64vNV; -GLEW_FUN_EXPORT PFNGLGETUNIFORMUI64VNVPROC __glewGetUniformui64vNV; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1I64NVPROC __glewProgramUniform1i64NV; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1I64VNVPROC __glewProgramUniform1i64vNV; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1UI64NVPROC __glewProgramUniform1ui64NV; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1UI64VNVPROC __glewProgramUniform1ui64vNV; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2I64NVPROC __glewProgramUniform2i64NV; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2I64VNVPROC __glewProgramUniform2i64vNV; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2UI64NVPROC __glewProgramUniform2ui64NV; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2UI64VNVPROC __glewProgramUniform2ui64vNV; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3I64NVPROC __glewProgramUniform3i64NV; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3I64VNVPROC __glewProgramUniform3i64vNV; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3UI64NVPROC __glewProgramUniform3ui64NV; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3UI64VNVPROC __glewProgramUniform3ui64vNV; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4I64NVPROC __glewProgramUniform4i64NV; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4I64VNVPROC __glewProgramUniform4i64vNV; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4UI64NVPROC __glewProgramUniform4ui64NV; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4UI64VNVPROC __glewProgramUniform4ui64vNV; -GLEW_FUN_EXPORT PFNGLUNIFORM1I64NVPROC __glewUniform1i64NV; -GLEW_FUN_EXPORT PFNGLUNIFORM1I64VNVPROC __glewUniform1i64vNV; -GLEW_FUN_EXPORT PFNGLUNIFORM1UI64NVPROC __glewUniform1ui64NV; -GLEW_FUN_EXPORT PFNGLUNIFORM1UI64VNVPROC __glewUniform1ui64vNV; -GLEW_FUN_EXPORT PFNGLUNIFORM2I64NVPROC __glewUniform2i64NV; -GLEW_FUN_EXPORT PFNGLUNIFORM2I64VNVPROC __glewUniform2i64vNV; -GLEW_FUN_EXPORT PFNGLUNIFORM2UI64NVPROC __glewUniform2ui64NV; -GLEW_FUN_EXPORT PFNGLUNIFORM2UI64VNVPROC __glewUniform2ui64vNV; -GLEW_FUN_EXPORT PFNGLUNIFORM3I64NVPROC __glewUniform3i64NV; -GLEW_FUN_EXPORT PFNGLUNIFORM3I64VNVPROC __glewUniform3i64vNV; -GLEW_FUN_EXPORT PFNGLUNIFORM3UI64NVPROC __glewUniform3ui64NV; -GLEW_FUN_EXPORT PFNGLUNIFORM3UI64VNVPROC __glewUniform3ui64vNV; -GLEW_FUN_EXPORT PFNGLUNIFORM4I64NVPROC __glewUniform4i64NV; -GLEW_FUN_EXPORT PFNGLUNIFORM4I64VNVPROC __glewUniform4i64vNV; -GLEW_FUN_EXPORT PFNGLUNIFORM4UI64NVPROC __glewUniform4ui64NV; -GLEW_FUN_EXPORT PFNGLUNIFORM4UI64VNVPROC __glewUniform4ui64vNV; - -GLEW_FUN_EXPORT PFNGLCOLOR3HNVPROC __glewColor3hNV; -GLEW_FUN_EXPORT PFNGLCOLOR3HVNVPROC __glewColor3hvNV; -GLEW_FUN_EXPORT PFNGLCOLOR4HNVPROC __glewColor4hNV; -GLEW_FUN_EXPORT PFNGLCOLOR4HVNVPROC __glewColor4hvNV; -GLEW_FUN_EXPORT PFNGLFOGCOORDHNVPROC __glewFogCoordhNV; -GLEW_FUN_EXPORT PFNGLFOGCOORDHVNVPROC __glewFogCoordhvNV; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1HNVPROC __glewMultiTexCoord1hNV; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1HVNVPROC __glewMultiTexCoord1hvNV; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2HNVPROC __glewMultiTexCoord2hNV; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2HVNVPROC __glewMultiTexCoord2hvNV; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3HNVPROC __glewMultiTexCoord3hNV; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3HVNVPROC __glewMultiTexCoord3hvNV; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4HNVPROC __glewMultiTexCoord4hNV; -GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4HVNVPROC __glewMultiTexCoord4hvNV; -GLEW_FUN_EXPORT PFNGLNORMAL3HNVPROC __glewNormal3hNV; -GLEW_FUN_EXPORT PFNGLNORMAL3HVNVPROC __glewNormal3hvNV; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3HNVPROC __glewSecondaryColor3hNV; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3HVNVPROC __glewSecondaryColor3hvNV; -GLEW_FUN_EXPORT PFNGLTEXCOORD1HNVPROC __glewTexCoord1hNV; -GLEW_FUN_EXPORT PFNGLTEXCOORD1HVNVPROC __glewTexCoord1hvNV; -GLEW_FUN_EXPORT PFNGLTEXCOORD2HNVPROC __glewTexCoord2hNV; -GLEW_FUN_EXPORT PFNGLTEXCOORD2HVNVPROC __glewTexCoord2hvNV; -GLEW_FUN_EXPORT PFNGLTEXCOORD3HNVPROC __glewTexCoord3hNV; -GLEW_FUN_EXPORT PFNGLTEXCOORD3HVNVPROC __glewTexCoord3hvNV; -GLEW_FUN_EXPORT PFNGLTEXCOORD4HNVPROC __glewTexCoord4hNV; -GLEW_FUN_EXPORT PFNGLTEXCOORD4HVNVPROC __glewTexCoord4hvNV; -GLEW_FUN_EXPORT PFNGLVERTEX2HNVPROC __glewVertex2hNV; -GLEW_FUN_EXPORT PFNGLVERTEX2HVNVPROC __glewVertex2hvNV; -GLEW_FUN_EXPORT PFNGLVERTEX3HNVPROC __glewVertex3hNV; -GLEW_FUN_EXPORT PFNGLVERTEX3HVNVPROC __glewVertex3hvNV; -GLEW_FUN_EXPORT PFNGLVERTEX4HNVPROC __glewVertex4hNV; -GLEW_FUN_EXPORT PFNGLVERTEX4HVNVPROC __glewVertex4hvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1HNVPROC __glewVertexAttrib1hNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1HVNVPROC __glewVertexAttrib1hvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2HNVPROC __glewVertexAttrib2hNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2HVNVPROC __glewVertexAttrib2hvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3HNVPROC __glewVertexAttrib3hNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3HVNVPROC __glewVertexAttrib3hvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4HNVPROC __glewVertexAttrib4hNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4HVNVPROC __glewVertexAttrib4hvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS1HVNVPROC __glewVertexAttribs1hvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS2HVNVPROC __glewVertexAttribs2hvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS3HVNVPROC __glewVertexAttribs3hvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS4HVNVPROC __glewVertexAttribs4hvNV; -GLEW_FUN_EXPORT PFNGLVERTEXWEIGHTHNVPROC __glewVertexWeighthNV; -GLEW_FUN_EXPORT PFNGLVERTEXWEIGHTHVNVPROC __glewVertexWeighthvNV; - -GLEW_FUN_EXPORT PFNGLBEGINOCCLUSIONQUERYNVPROC __glewBeginOcclusionQueryNV; -GLEW_FUN_EXPORT PFNGLDELETEOCCLUSIONQUERIESNVPROC __glewDeleteOcclusionQueriesNV; -GLEW_FUN_EXPORT PFNGLENDOCCLUSIONQUERYNVPROC __glewEndOcclusionQueryNV; -GLEW_FUN_EXPORT PFNGLGENOCCLUSIONQUERIESNVPROC __glewGenOcclusionQueriesNV; -GLEW_FUN_EXPORT PFNGLGETOCCLUSIONQUERYIVNVPROC __glewGetOcclusionQueryivNV; -GLEW_FUN_EXPORT PFNGLGETOCCLUSIONQUERYUIVNVPROC __glewGetOcclusionQueryuivNV; -GLEW_FUN_EXPORT PFNGLISOCCLUSIONQUERYNVPROC __glewIsOcclusionQueryNV; - -GLEW_FUN_EXPORT PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC __glewProgramBufferParametersIivNV; -GLEW_FUN_EXPORT PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC __glewProgramBufferParametersIuivNV; -GLEW_FUN_EXPORT PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC __glewProgramBufferParametersfvNV; - -GLEW_FUN_EXPORT PFNGLCOPYPATHNVPROC __glewCopyPathNV; -GLEW_FUN_EXPORT PFNGLCOVERFILLPATHINSTANCEDNVPROC __glewCoverFillPathInstancedNV; -GLEW_FUN_EXPORT PFNGLCOVERFILLPATHNVPROC __glewCoverFillPathNV; -GLEW_FUN_EXPORT PFNGLCOVERSTROKEPATHINSTANCEDNVPROC __glewCoverStrokePathInstancedNV; -GLEW_FUN_EXPORT PFNGLCOVERSTROKEPATHNVPROC __glewCoverStrokePathNV; -GLEW_FUN_EXPORT PFNGLDELETEPATHSNVPROC __glewDeletePathsNV; -GLEW_FUN_EXPORT PFNGLGENPATHSNVPROC __glewGenPathsNV; -GLEW_FUN_EXPORT PFNGLGETPATHCOLORGENFVNVPROC __glewGetPathColorGenfvNV; -GLEW_FUN_EXPORT PFNGLGETPATHCOLORGENIVNVPROC __glewGetPathColorGenivNV; -GLEW_FUN_EXPORT PFNGLGETPATHCOMMANDSNVPROC __glewGetPathCommandsNV; -GLEW_FUN_EXPORT PFNGLGETPATHCOORDSNVPROC __glewGetPathCoordsNV; -GLEW_FUN_EXPORT PFNGLGETPATHDASHARRAYNVPROC __glewGetPathDashArrayNV; -GLEW_FUN_EXPORT PFNGLGETPATHLENGTHNVPROC __glewGetPathLengthNV; -GLEW_FUN_EXPORT PFNGLGETPATHMETRICRANGENVPROC __glewGetPathMetricRangeNV; -GLEW_FUN_EXPORT PFNGLGETPATHMETRICSNVPROC __glewGetPathMetricsNV; -GLEW_FUN_EXPORT PFNGLGETPATHPARAMETERFVNVPROC __glewGetPathParameterfvNV; -GLEW_FUN_EXPORT PFNGLGETPATHPARAMETERIVNVPROC __glewGetPathParameterivNV; -GLEW_FUN_EXPORT PFNGLGETPATHSPACINGNVPROC __glewGetPathSpacingNV; -GLEW_FUN_EXPORT PFNGLGETPATHTEXGENFVNVPROC __glewGetPathTexGenfvNV; -GLEW_FUN_EXPORT PFNGLGETPATHTEXGENIVNVPROC __glewGetPathTexGenivNV; -GLEW_FUN_EXPORT PFNGLINTERPOLATEPATHSNVPROC __glewInterpolatePathsNV; -GLEW_FUN_EXPORT PFNGLISPATHNVPROC __glewIsPathNV; -GLEW_FUN_EXPORT PFNGLISPOINTINFILLPATHNVPROC __glewIsPointInFillPathNV; -GLEW_FUN_EXPORT PFNGLISPOINTINSTROKEPATHNVPROC __glewIsPointInStrokePathNV; -GLEW_FUN_EXPORT PFNGLPATHCOLORGENNVPROC __glewPathColorGenNV; -GLEW_FUN_EXPORT PFNGLPATHCOMMANDSNVPROC __glewPathCommandsNV; -GLEW_FUN_EXPORT PFNGLPATHCOORDSNVPROC __glewPathCoordsNV; -GLEW_FUN_EXPORT PFNGLPATHCOVERDEPTHFUNCNVPROC __glewPathCoverDepthFuncNV; -GLEW_FUN_EXPORT PFNGLPATHDASHARRAYNVPROC __glewPathDashArrayNV; -GLEW_FUN_EXPORT PFNGLPATHFOGGENNVPROC __glewPathFogGenNV; -GLEW_FUN_EXPORT PFNGLPATHGLYPHRANGENVPROC __glewPathGlyphRangeNV; -GLEW_FUN_EXPORT PFNGLPATHGLYPHSNVPROC __glewPathGlyphsNV; -GLEW_FUN_EXPORT PFNGLPATHPARAMETERFNVPROC __glewPathParameterfNV; -GLEW_FUN_EXPORT PFNGLPATHPARAMETERFVNVPROC __glewPathParameterfvNV; -GLEW_FUN_EXPORT PFNGLPATHPARAMETERINVPROC __glewPathParameteriNV; -GLEW_FUN_EXPORT PFNGLPATHPARAMETERIVNVPROC __glewPathParameterivNV; -GLEW_FUN_EXPORT PFNGLPATHSTENCILDEPTHOFFSETNVPROC __glewPathStencilDepthOffsetNV; -GLEW_FUN_EXPORT PFNGLPATHSTENCILFUNCNVPROC __glewPathStencilFuncNV; -GLEW_FUN_EXPORT PFNGLPATHSTRINGNVPROC __glewPathStringNV; -GLEW_FUN_EXPORT PFNGLPATHSUBCOMMANDSNVPROC __glewPathSubCommandsNV; -GLEW_FUN_EXPORT PFNGLPATHSUBCOORDSNVPROC __glewPathSubCoordsNV; -GLEW_FUN_EXPORT PFNGLPATHTEXGENNVPROC __glewPathTexGenNV; -GLEW_FUN_EXPORT PFNGLPOINTALONGPATHNVPROC __glewPointAlongPathNV; -GLEW_FUN_EXPORT PFNGLSTENCILFILLPATHINSTANCEDNVPROC __glewStencilFillPathInstancedNV; -GLEW_FUN_EXPORT PFNGLSTENCILFILLPATHNVPROC __glewStencilFillPathNV; -GLEW_FUN_EXPORT PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC __glewStencilStrokePathInstancedNV; -GLEW_FUN_EXPORT PFNGLSTENCILSTROKEPATHNVPROC __glewStencilStrokePathNV; -GLEW_FUN_EXPORT PFNGLTRANSFORMPATHNVPROC __glewTransformPathNV; -GLEW_FUN_EXPORT PFNGLWEIGHTPATHSNVPROC __glewWeightPathsNV; - -GLEW_FUN_EXPORT PFNGLFLUSHPIXELDATARANGENVPROC __glewFlushPixelDataRangeNV; -GLEW_FUN_EXPORT PFNGLPIXELDATARANGENVPROC __glewPixelDataRangeNV; - -GLEW_FUN_EXPORT PFNGLPOINTPARAMETERINVPROC __glewPointParameteriNV; -GLEW_FUN_EXPORT PFNGLPOINTPARAMETERIVNVPROC __glewPointParameterivNV; - -GLEW_FUN_EXPORT PFNGLGETVIDEOI64VNVPROC __glewGetVideoi64vNV; -GLEW_FUN_EXPORT PFNGLGETVIDEOIVNVPROC __glewGetVideoivNV; -GLEW_FUN_EXPORT PFNGLGETVIDEOUI64VNVPROC __glewGetVideoui64vNV; -GLEW_FUN_EXPORT PFNGLGETVIDEOUIVNVPROC __glewGetVideouivNV; -GLEW_FUN_EXPORT PFNGLPRESENTFRAMEDUALFILLNVPROC __glewPresentFrameDualFillNV; -GLEW_FUN_EXPORT PFNGLPRESENTFRAMEKEYEDNVPROC __glewPresentFrameKeyedNV; - -GLEW_FUN_EXPORT PFNGLPRIMITIVERESTARTINDEXNVPROC __glewPrimitiveRestartIndexNV; -GLEW_FUN_EXPORT PFNGLPRIMITIVERESTARTNVPROC __glewPrimitiveRestartNV; - -GLEW_FUN_EXPORT PFNGLCOMBINERINPUTNVPROC __glewCombinerInputNV; -GLEW_FUN_EXPORT PFNGLCOMBINEROUTPUTNVPROC __glewCombinerOutputNV; -GLEW_FUN_EXPORT PFNGLCOMBINERPARAMETERFNVPROC __glewCombinerParameterfNV; -GLEW_FUN_EXPORT PFNGLCOMBINERPARAMETERFVNVPROC __glewCombinerParameterfvNV; -GLEW_FUN_EXPORT PFNGLCOMBINERPARAMETERINVPROC __glewCombinerParameteriNV; -GLEW_FUN_EXPORT PFNGLCOMBINERPARAMETERIVNVPROC __glewCombinerParameterivNV; -GLEW_FUN_EXPORT PFNGLFINALCOMBINERINPUTNVPROC __glewFinalCombinerInputNV; -GLEW_FUN_EXPORT PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC __glewGetCombinerInputParameterfvNV; -GLEW_FUN_EXPORT PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC __glewGetCombinerInputParameterivNV; -GLEW_FUN_EXPORT PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC __glewGetCombinerOutputParameterfvNV; -GLEW_FUN_EXPORT PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC __glewGetCombinerOutputParameterivNV; -GLEW_FUN_EXPORT PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC __glewGetFinalCombinerInputParameterfvNV; -GLEW_FUN_EXPORT PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC __glewGetFinalCombinerInputParameterivNV; - -GLEW_FUN_EXPORT PFNGLCOMBINERSTAGEPARAMETERFVNVPROC __glewCombinerStageParameterfvNV; -GLEW_FUN_EXPORT PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC __glewGetCombinerStageParameterfvNV; - -GLEW_FUN_EXPORT PFNGLGETBUFFERPARAMETERUI64VNVPROC __glewGetBufferParameterui64vNV; -GLEW_FUN_EXPORT PFNGLGETINTEGERUI64VNVPROC __glewGetIntegerui64vNV; -GLEW_FUN_EXPORT PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC __glewGetNamedBufferParameterui64vNV; -GLEW_FUN_EXPORT PFNGLISBUFFERRESIDENTNVPROC __glewIsBufferResidentNV; -GLEW_FUN_EXPORT PFNGLISNAMEDBUFFERRESIDENTNVPROC __glewIsNamedBufferResidentNV; -GLEW_FUN_EXPORT PFNGLMAKEBUFFERNONRESIDENTNVPROC __glewMakeBufferNonResidentNV; -GLEW_FUN_EXPORT PFNGLMAKEBUFFERRESIDENTNVPROC __glewMakeBufferResidentNV; -GLEW_FUN_EXPORT PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC __glewMakeNamedBufferNonResidentNV; -GLEW_FUN_EXPORT PFNGLMAKENAMEDBUFFERRESIDENTNVPROC __glewMakeNamedBufferResidentNV; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMUI64NVPROC __glewProgramUniformui64NV; -GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMUI64VNVPROC __glewProgramUniformui64vNV; -GLEW_FUN_EXPORT PFNGLUNIFORMUI64NVPROC __glewUniformui64NV; -GLEW_FUN_EXPORT PFNGLUNIFORMUI64VNVPROC __glewUniformui64vNV; - -GLEW_FUN_EXPORT PFNGLTEXTUREBARRIERNVPROC __glewTextureBarrierNV; - -GLEW_FUN_EXPORT PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC __glewTexImage2DMultisampleCoverageNV; -GLEW_FUN_EXPORT PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC __glewTexImage3DMultisampleCoverageNV; -GLEW_FUN_EXPORT PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC __glewTextureImage2DMultisampleCoverageNV; -GLEW_FUN_EXPORT PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC __glewTextureImage2DMultisampleNV; -GLEW_FUN_EXPORT PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC __glewTextureImage3DMultisampleCoverageNV; -GLEW_FUN_EXPORT PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC __glewTextureImage3DMultisampleNV; - -GLEW_FUN_EXPORT PFNGLACTIVEVARYINGNVPROC __glewActiveVaryingNV; -GLEW_FUN_EXPORT PFNGLBEGINTRANSFORMFEEDBACKNVPROC __glewBeginTransformFeedbackNV; -GLEW_FUN_EXPORT PFNGLBINDBUFFERBASENVPROC __glewBindBufferBaseNV; -GLEW_FUN_EXPORT PFNGLBINDBUFFEROFFSETNVPROC __glewBindBufferOffsetNV; -GLEW_FUN_EXPORT PFNGLBINDBUFFERRANGENVPROC __glewBindBufferRangeNV; -GLEW_FUN_EXPORT PFNGLENDTRANSFORMFEEDBACKNVPROC __glewEndTransformFeedbackNV; -GLEW_FUN_EXPORT PFNGLGETACTIVEVARYINGNVPROC __glewGetActiveVaryingNV; -GLEW_FUN_EXPORT PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC __glewGetTransformFeedbackVaryingNV; -GLEW_FUN_EXPORT PFNGLGETVARYINGLOCATIONNVPROC __glewGetVaryingLocationNV; -GLEW_FUN_EXPORT PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC __glewTransformFeedbackAttribsNV; -GLEW_FUN_EXPORT PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC __glewTransformFeedbackVaryingsNV; - -GLEW_FUN_EXPORT PFNGLBINDTRANSFORMFEEDBACKNVPROC __glewBindTransformFeedbackNV; -GLEW_FUN_EXPORT PFNGLDELETETRANSFORMFEEDBACKSNVPROC __glewDeleteTransformFeedbacksNV; -GLEW_FUN_EXPORT PFNGLDRAWTRANSFORMFEEDBACKNVPROC __glewDrawTransformFeedbackNV; -GLEW_FUN_EXPORT PFNGLGENTRANSFORMFEEDBACKSNVPROC __glewGenTransformFeedbacksNV; -GLEW_FUN_EXPORT PFNGLISTRANSFORMFEEDBACKNVPROC __glewIsTransformFeedbackNV; -GLEW_FUN_EXPORT PFNGLPAUSETRANSFORMFEEDBACKNVPROC __glewPauseTransformFeedbackNV; -GLEW_FUN_EXPORT PFNGLRESUMETRANSFORMFEEDBACKNVPROC __glewResumeTransformFeedbackNV; - -GLEW_FUN_EXPORT PFNGLVDPAUFININVPROC __glewVDPAUFiniNV; -GLEW_FUN_EXPORT PFNGLVDPAUGETSURFACEIVNVPROC __glewVDPAUGetSurfaceivNV; -GLEW_FUN_EXPORT PFNGLVDPAUINITNVPROC __glewVDPAUInitNV; -GLEW_FUN_EXPORT PFNGLVDPAUISSURFACENVPROC __glewVDPAUIsSurfaceNV; -GLEW_FUN_EXPORT PFNGLVDPAUMAPSURFACESNVPROC __glewVDPAUMapSurfacesNV; -GLEW_FUN_EXPORT PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC __glewVDPAURegisterOutputSurfaceNV; -GLEW_FUN_EXPORT PFNGLVDPAUREGISTERVIDEOSURFACENVPROC __glewVDPAURegisterVideoSurfaceNV; -GLEW_FUN_EXPORT PFNGLVDPAUSURFACEACCESSNVPROC __glewVDPAUSurfaceAccessNV; -GLEW_FUN_EXPORT PFNGLVDPAUUNMAPSURFACESNVPROC __glewVDPAUUnmapSurfacesNV; -GLEW_FUN_EXPORT PFNGLVDPAUUNREGISTERSURFACENVPROC __glewVDPAUUnregisterSurfaceNV; - -GLEW_FUN_EXPORT PFNGLFLUSHVERTEXARRAYRANGENVPROC __glewFlushVertexArrayRangeNV; -GLEW_FUN_EXPORT PFNGLVERTEXARRAYRANGENVPROC __glewVertexArrayRangeNV; - -GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBLI64VNVPROC __glewGetVertexAttribLi64vNV; -GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBLUI64VNVPROC __glewGetVertexAttribLui64vNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL1I64NVPROC __glewVertexAttribL1i64NV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL1I64VNVPROC __glewVertexAttribL1i64vNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL1UI64NVPROC __glewVertexAttribL1ui64NV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL1UI64VNVPROC __glewVertexAttribL1ui64vNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL2I64NVPROC __glewVertexAttribL2i64NV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL2I64VNVPROC __glewVertexAttribL2i64vNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL2UI64NVPROC __glewVertexAttribL2ui64NV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL2UI64VNVPROC __glewVertexAttribL2ui64vNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL3I64NVPROC __glewVertexAttribL3i64NV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL3I64VNVPROC __glewVertexAttribL3i64vNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL3UI64NVPROC __glewVertexAttribL3ui64NV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL3UI64VNVPROC __glewVertexAttribL3ui64vNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL4I64NVPROC __glewVertexAttribL4i64NV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL4I64VNVPROC __glewVertexAttribL4i64vNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL4UI64NVPROC __glewVertexAttribL4ui64NV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL4UI64VNVPROC __glewVertexAttribL4ui64vNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBLFORMATNVPROC __glewVertexAttribLFormatNV; - -GLEW_FUN_EXPORT PFNGLBUFFERADDRESSRANGENVPROC __glewBufferAddressRangeNV; -GLEW_FUN_EXPORT PFNGLCOLORFORMATNVPROC __glewColorFormatNV; -GLEW_FUN_EXPORT PFNGLEDGEFLAGFORMATNVPROC __glewEdgeFlagFormatNV; -GLEW_FUN_EXPORT PFNGLFOGCOORDFORMATNVPROC __glewFogCoordFormatNV; -GLEW_FUN_EXPORT PFNGLGETINTEGERUI64I_VNVPROC __glewGetIntegerui64i_vNV; -GLEW_FUN_EXPORT PFNGLINDEXFORMATNVPROC __glewIndexFormatNV; -GLEW_FUN_EXPORT PFNGLNORMALFORMATNVPROC __glewNormalFormatNV; -GLEW_FUN_EXPORT PFNGLSECONDARYCOLORFORMATNVPROC __glewSecondaryColorFormatNV; -GLEW_FUN_EXPORT PFNGLTEXCOORDFORMATNVPROC __glewTexCoordFormatNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBFORMATNVPROC __glewVertexAttribFormatNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBIFORMATNVPROC __glewVertexAttribIFormatNV; -GLEW_FUN_EXPORT PFNGLVERTEXFORMATNVPROC __glewVertexFormatNV; - -GLEW_FUN_EXPORT PFNGLAREPROGRAMSRESIDENTNVPROC __glewAreProgramsResidentNV; -GLEW_FUN_EXPORT PFNGLBINDPROGRAMNVPROC __glewBindProgramNV; -GLEW_FUN_EXPORT PFNGLDELETEPROGRAMSNVPROC __glewDeleteProgramsNV; -GLEW_FUN_EXPORT PFNGLEXECUTEPROGRAMNVPROC __glewExecuteProgramNV; -GLEW_FUN_EXPORT PFNGLGENPROGRAMSNVPROC __glewGenProgramsNV; -GLEW_FUN_EXPORT PFNGLGETPROGRAMPARAMETERDVNVPROC __glewGetProgramParameterdvNV; -GLEW_FUN_EXPORT PFNGLGETPROGRAMPARAMETERFVNVPROC __glewGetProgramParameterfvNV; -GLEW_FUN_EXPORT PFNGLGETPROGRAMSTRINGNVPROC __glewGetProgramStringNV; -GLEW_FUN_EXPORT PFNGLGETPROGRAMIVNVPROC __glewGetProgramivNV; -GLEW_FUN_EXPORT PFNGLGETTRACKMATRIXIVNVPROC __glewGetTrackMatrixivNV; -GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBPOINTERVNVPROC __glewGetVertexAttribPointervNV; -GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBDVNVPROC __glewGetVertexAttribdvNV; -GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBFVNVPROC __glewGetVertexAttribfvNV; -GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBIVNVPROC __glewGetVertexAttribivNV; -GLEW_FUN_EXPORT PFNGLISPROGRAMNVPROC __glewIsProgramNV; -GLEW_FUN_EXPORT PFNGLLOADPROGRAMNVPROC __glewLoadProgramNV; -GLEW_FUN_EXPORT PFNGLPROGRAMPARAMETER4DNVPROC __glewProgramParameter4dNV; -GLEW_FUN_EXPORT PFNGLPROGRAMPARAMETER4DVNVPROC __glewProgramParameter4dvNV; -GLEW_FUN_EXPORT PFNGLPROGRAMPARAMETER4FNVPROC __glewProgramParameter4fNV; -GLEW_FUN_EXPORT PFNGLPROGRAMPARAMETER4FVNVPROC __glewProgramParameter4fvNV; -GLEW_FUN_EXPORT PFNGLPROGRAMPARAMETERS4DVNVPROC __glewProgramParameters4dvNV; -GLEW_FUN_EXPORT PFNGLPROGRAMPARAMETERS4FVNVPROC __glewProgramParameters4fvNV; -GLEW_FUN_EXPORT PFNGLREQUESTRESIDENTPROGRAMSNVPROC __glewRequestResidentProgramsNV; -GLEW_FUN_EXPORT PFNGLTRACKMATRIXNVPROC __glewTrackMatrixNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1DNVPROC __glewVertexAttrib1dNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1DVNVPROC __glewVertexAttrib1dvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1FNVPROC __glewVertexAttrib1fNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1FVNVPROC __glewVertexAttrib1fvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1SNVPROC __glewVertexAttrib1sNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1SVNVPROC __glewVertexAttrib1svNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2DNVPROC __glewVertexAttrib2dNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2DVNVPROC __glewVertexAttrib2dvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2FNVPROC __glewVertexAttrib2fNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2FVNVPROC __glewVertexAttrib2fvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2SNVPROC __glewVertexAttrib2sNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2SVNVPROC __glewVertexAttrib2svNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3DNVPROC __glewVertexAttrib3dNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3DVNVPROC __glewVertexAttrib3dvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3FNVPROC __glewVertexAttrib3fNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3FVNVPROC __glewVertexAttrib3fvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3SNVPROC __glewVertexAttrib3sNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3SVNVPROC __glewVertexAttrib3svNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4DNVPROC __glewVertexAttrib4dNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4DVNVPROC __glewVertexAttrib4dvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4FNVPROC __glewVertexAttrib4fNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4FVNVPROC __glewVertexAttrib4fvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4SNVPROC __glewVertexAttrib4sNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4SVNVPROC __glewVertexAttrib4svNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4UBNVPROC __glewVertexAttrib4ubNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4UBVNVPROC __glewVertexAttrib4ubvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBPOINTERNVPROC __glewVertexAttribPointerNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS1DVNVPROC __glewVertexAttribs1dvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS1FVNVPROC __glewVertexAttribs1fvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS1SVNVPROC __glewVertexAttribs1svNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS2DVNVPROC __glewVertexAttribs2dvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS2FVNVPROC __glewVertexAttribs2fvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS2SVNVPROC __glewVertexAttribs2svNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS3DVNVPROC __glewVertexAttribs3dvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS3FVNVPROC __glewVertexAttribs3fvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS3SVNVPROC __glewVertexAttribs3svNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS4DVNVPROC __glewVertexAttribs4dvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS4FVNVPROC __glewVertexAttribs4fvNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS4SVNVPROC __glewVertexAttribs4svNV; -GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS4UBVNVPROC __glewVertexAttribs4ubvNV; - -GLEW_FUN_EXPORT PFNGLBEGINVIDEOCAPTURENVPROC __glewBeginVideoCaptureNV; -GLEW_FUN_EXPORT PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC __glewBindVideoCaptureStreamBufferNV; -GLEW_FUN_EXPORT PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC __glewBindVideoCaptureStreamTextureNV; -GLEW_FUN_EXPORT PFNGLENDVIDEOCAPTURENVPROC __glewEndVideoCaptureNV; -GLEW_FUN_EXPORT PFNGLGETVIDEOCAPTURESTREAMDVNVPROC __glewGetVideoCaptureStreamdvNV; -GLEW_FUN_EXPORT PFNGLGETVIDEOCAPTURESTREAMFVNVPROC __glewGetVideoCaptureStreamfvNV; -GLEW_FUN_EXPORT PFNGLGETVIDEOCAPTURESTREAMIVNVPROC __glewGetVideoCaptureStreamivNV; -GLEW_FUN_EXPORT PFNGLGETVIDEOCAPTUREIVNVPROC __glewGetVideoCaptureivNV; -GLEW_FUN_EXPORT PFNGLVIDEOCAPTURENVPROC __glewVideoCaptureNV; -GLEW_FUN_EXPORT PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC __glewVideoCaptureStreamParameterdvNV; -GLEW_FUN_EXPORT PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC __glewVideoCaptureStreamParameterfvNV; -GLEW_FUN_EXPORT PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC __glewVideoCaptureStreamParameterivNV; - -GLEW_FUN_EXPORT PFNGLCLEARDEPTHFOESPROC __glewClearDepthfOES; -GLEW_FUN_EXPORT PFNGLCLIPPLANEFOESPROC __glewClipPlanefOES; -GLEW_FUN_EXPORT PFNGLDEPTHRANGEFOESPROC __glewDepthRangefOES; -GLEW_FUN_EXPORT PFNGLFRUSTUMFOESPROC __glewFrustumfOES; -GLEW_FUN_EXPORT PFNGLGETCLIPPLANEFOESPROC __glewGetClipPlanefOES; -GLEW_FUN_EXPORT PFNGLORTHOFOESPROC __glewOrthofOES; - -GLEW_FUN_EXPORT PFNGLERRORSTRINGREGALPROC __glewErrorStringREGAL; - -GLEW_FUN_EXPORT PFNGLGETEXTENSIONREGALPROC __glewGetExtensionREGAL; -GLEW_FUN_EXPORT PFNGLISSUPPORTEDREGALPROC __glewIsSupportedREGAL; - -GLEW_FUN_EXPORT PFNGLDETAILTEXFUNCSGISPROC __glewDetailTexFuncSGIS; -GLEW_FUN_EXPORT PFNGLGETDETAILTEXFUNCSGISPROC __glewGetDetailTexFuncSGIS; - -GLEW_FUN_EXPORT PFNGLFOGFUNCSGISPROC __glewFogFuncSGIS; -GLEW_FUN_EXPORT PFNGLGETFOGFUNCSGISPROC __glewGetFogFuncSGIS; - -GLEW_FUN_EXPORT PFNGLSAMPLEMASKSGISPROC __glewSampleMaskSGIS; -GLEW_FUN_EXPORT PFNGLSAMPLEPATTERNSGISPROC __glewSamplePatternSGIS; - -GLEW_FUN_EXPORT PFNGLGETSHARPENTEXFUNCSGISPROC __glewGetSharpenTexFuncSGIS; -GLEW_FUN_EXPORT PFNGLSHARPENTEXFUNCSGISPROC __glewSharpenTexFuncSGIS; - -GLEW_FUN_EXPORT PFNGLTEXIMAGE4DSGISPROC __glewTexImage4DSGIS; -GLEW_FUN_EXPORT PFNGLTEXSUBIMAGE4DSGISPROC __glewTexSubImage4DSGIS; - -GLEW_FUN_EXPORT PFNGLGETTEXFILTERFUNCSGISPROC __glewGetTexFilterFuncSGIS; -GLEW_FUN_EXPORT PFNGLTEXFILTERFUNCSGISPROC __glewTexFilterFuncSGIS; - -GLEW_FUN_EXPORT PFNGLASYNCMARKERSGIXPROC __glewAsyncMarkerSGIX; -GLEW_FUN_EXPORT PFNGLDELETEASYNCMARKERSSGIXPROC __glewDeleteAsyncMarkersSGIX; -GLEW_FUN_EXPORT PFNGLFINISHASYNCSGIXPROC __glewFinishAsyncSGIX; -GLEW_FUN_EXPORT PFNGLGENASYNCMARKERSSGIXPROC __glewGenAsyncMarkersSGIX; -GLEW_FUN_EXPORT PFNGLISASYNCMARKERSGIXPROC __glewIsAsyncMarkerSGIX; -GLEW_FUN_EXPORT PFNGLPOLLASYNCSGIXPROC __glewPollAsyncSGIX; - -GLEW_FUN_EXPORT PFNGLFLUSHRASTERSGIXPROC __glewFlushRasterSGIX; - -GLEW_FUN_EXPORT PFNGLTEXTUREFOGSGIXPROC __glewTextureFogSGIX; - -GLEW_FUN_EXPORT PFNGLFRAGMENTCOLORMATERIALSGIXPROC __glewFragmentColorMaterialSGIX; -GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTMODELFSGIXPROC __glewFragmentLightModelfSGIX; -GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTMODELFVSGIXPROC __glewFragmentLightModelfvSGIX; -GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTMODELISGIXPROC __glewFragmentLightModeliSGIX; -GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTMODELIVSGIXPROC __glewFragmentLightModelivSGIX; -GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTFSGIXPROC __glewFragmentLightfSGIX; -GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTFVSGIXPROC __glewFragmentLightfvSGIX; -GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTISGIXPROC __glewFragmentLightiSGIX; -GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTIVSGIXPROC __glewFragmentLightivSGIX; -GLEW_FUN_EXPORT PFNGLFRAGMENTMATERIALFSGIXPROC __glewFragmentMaterialfSGIX; -GLEW_FUN_EXPORT PFNGLFRAGMENTMATERIALFVSGIXPROC __glewFragmentMaterialfvSGIX; -GLEW_FUN_EXPORT PFNGLFRAGMENTMATERIALISGIXPROC __glewFragmentMaterialiSGIX; -GLEW_FUN_EXPORT PFNGLFRAGMENTMATERIALIVSGIXPROC __glewFragmentMaterialivSGIX; -GLEW_FUN_EXPORT PFNGLGETFRAGMENTLIGHTFVSGIXPROC __glewGetFragmentLightfvSGIX; -GLEW_FUN_EXPORT PFNGLGETFRAGMENTLIGHTIVSGIXPROC __glewGetFragmentLightivSGIX; -GLEW_FUN_EXPORT PFNGLGETFRAGMENTMATERIALFVSGIXPROC __glewGetFragmentMaterialfvSGIX; -GLEW_FUN_EXPORT PFNGLGETFRAGMENTMATERIALIVSGIXPROC __glewGetFragmentMaterialivSGIX; - -GLEW_FUN_EXPORT PFNGLFRAMEZOOMSGIXPROC __glewFrameZoomSGIX; - -GLEW_FUN_EXPORT PFNGLPIXELTEXGENSGIXPROC __glewPixelTexGenSGIX; - -GLEW_FUN_EXPORT PFNGLREFERENCEPLANESGIXPROC __glewReferencePlaneSGIX; - -GLEW_FUN_EXPORT PFNGLSPRITEPARAMETERFSGIXPROC __glewSpriteParameterfSGIX; -GLEW_FUN_EXPORT PFNGLSPRITEPARAMETERFVSGIXPROC __glewSpriteParameterfvSGIX; -GLEW_FUN_EXPORT PFNGLSPRITEPARAMETERISGIXPROC __glewSpriteParameteriSGIX; -GLEW_FUN_EXPORT PFNGLSPRITEPARAMETERIVSGIXPROC __glewSpriteParameterivSGIX; - -GLEW_FUN_EXPORT PFNGLTAGSAMPLEBUFFERSGIXPROC __glewTagSampleBufferSGIX; - -GLEW_FUN_EXPORT PFNGLCOLORTABLEPARAMETERFVSGIPROC __glewColorTableParameterfvSGI; -GLEW_FUN_EXPORT PFNGLCOLORTABLEPARAMETERIVSGIPROC __glewColorTableParameterivSGI; -GLEW_FUN_EXPORT PFNGLCOLORTABLESGIPROC __glewColorTableSGI; -GLEW_FUN_EXPORT PFNGLCOPYCOLORTABLESGIPROC __glewCopyColorTableSGI; -GLEW_FUN_EXPORT PFNGLGETCOLORTABLEPARAMETERFVSGIPROC __glewGetColorTableParameterfvSGI; -GLEW_FUN_EXPORT PFNGLGETCOLORTABLEPARAMETERIVSGIPROC __glewGetColorTableParameterivSGI; -GLEW_FUN_EXPORT PFNGLGETCOLORTABLESGIPROC __glewGetColorTableSGI; - -GLEW_FUN_EXPORT PFNGLFINISHTEXTURESUNXPROC __glewFinishTextureSUNX; - -GLEW_FUN_EXPORT PFNGLGLOBALALPHAFACTORBSUNPROC __glewGlobalAlphaFactorbSUN; -GLEW_FUN_EXPORT PFNGLGLOBALALPHAFACTORDSUNPROC __glewGlobalAlphaFactordSUN; -GLEW_FUN_EXPORT PFNGLGLOBALALPHAFACTORFSUNPROC __glewGlobalAlphaFactorfSUN; -GLEW_FUN_EXPORT PFNGLGLOBALALPHAFACTORISUNPROC __glewGlobalAlphaFactoriSUN; -GLEW_FUN_EXPORT PFNGLGLOBALALPHAFACTORSSUNPROC __glewGlobalAlphaFactorsSUN; -GLEW_FUN_EXPORT PFNGLGLOBALALPHAFACTORUBSUNPROC __glewGlobalAlphaFactorubSUN; -GLEW_FUN_EXPORT PFNGLGLOBALALPHAFACTORUISUNPROC __glewGlobalAlphaFactoruiSUN; -GLEW_FUN_EXPORT PFNGLGLOBALALPHAFACTORUSSUNPROC __glewGlobalAlphaFactorusSUN; - -GLEW_FUN_EXPORT PFNGLREADVIDEOPIXELSSUNPROC __glewReadVideoPixelsSUN; - -GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEPOINTERSUNPROC __glewReplacementCodePointerSUN; -GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUBSUNPROC __glewReplacementCodeubSUN; -GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUBVSUNPROC __glewReplacementCodeubvSUN; -GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUISUNPROC __glewReplacementCodeuiSUN; -GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUIVSUNPROC __glewReplacementCodeuivSUN; -GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUSSUNPROC __glewReplacementCodeusSUN; -GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUSVSUNPROC __glewReplacementCodeusvSUN; - -GLEW_FUN_EXPORT PFNGLCOLOR3FVERTEX3FSUNPROC __glewColor3fVertex3fSUN; -GLEW_FUN_EXPORT PFNGLCOLOR3FVERTEX3FVSUNPROC __glewColor3fVertex3fvSUN; -GLEW_FUN_EXPORT PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewColor4fNormal3fVertex3fSUN; -GLEW_FUN_EXPORT PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewColor4fNormal3fVertex3fvSUN; -GLEW_FUN_EXPORT PFNGLCOLOR4UBVERTEX2FSUNPROC __glewColor4ubVertex2fSUN; -GLEW_FUN_EXPORT PFNGLCOLOR4UBVERTEX2FVSUNPROC __glewColor4ubVertex2fvSUN; -GLEW_FUN_EXPORT PFNGLCOLOR4UBVERTEX3FSUNPROC __glewColor4ubVertex3fSUN; -GLEW_FUN_EXPORT PFNGLCOLOR4UBVERTEX3FVSUNPROC __glewColor4ubVertex3fvSUN; -GLEW_FUN_EXPORT PFNGLNORMAL3FVERTEX3FSUNPROC __glewNormal3fVertex3fSUN; -GLEW_FUN_EXPORT PFNGLNORMAL3FVERTEX3FVSUNPROC __glewNormal3fVertex3fvSUN; -GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC __glewReplacementCodeuiColor3fVertex3fSUN; -GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC __glewReplacementCodeuiColor3fVertex3fvSUN; -GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiColor4fNormal3fVertex3fSUN; -GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiColor4fNormal3fVertex3fvSUN; -GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC __glewReplacementCodeuiColor4ubVertex3fSUN; -GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC __glewReplacementCodeuiColor4ubVertex3fvSUN; -GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiNormal3fVertex3fSUN; -GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiNormal3fVertex3fvSUN; -GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN; -GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN; -GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fNormal3fVertex3fSUN; -GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN; -GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fVertex3fSUN; -GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fVertex3fvSUN; -GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC __glewReplacementCodeuiVertex3fSUN; -GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC __glewReplacementCodeuiVertex3fvSUN; -GLEW_FUN_EXPORT PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC __glewTexCoord2fColor3fVertex3fSUN; -GLEW_FUN_EXPORT PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC __glewTexCoord2fColor3fVertex3fvSUN; -GLEW_FUN_EXPORT PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewTexCoord2fColor4fNormal3fVertex3fSUN; -GLEW_FUN_EXPORT PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewTexCoord2fColor4fNormal3fVertex3fvSUN; -GLEW_FUN_EXPORT PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC __glewTexCoord2fColor4ubVertex3fSUN; -GLEW_FUN_EXPORT PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC __glewTexCoord2fColor4ubVertex3fvSUN; -GLEW_FUN_EXPORT PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC __glewTexCoord2fNormal3fVertex3fSUN; -GLEW_FUN_EXPORT PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC __glewTexCoord2fNormal3fVertex3fvSUN; -GLEW_FUN_EXPORT PFNGLTEXCOORD2FVERTEX3FSUNPROC __glewTexCoord2fVertex3fSUN; -GLEW_FUN_EXPORT PFNGLTEXCOORD2FVERTEX3FVSUNPROC __glewTexCoord2fVertex3fvSUN; -GLEW_FUN_EXPORT PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC __glewTexCoord4fColor4fNormal3fVertex4fSUN; -GLEW_FUN_EXPORT PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC __glewTexCoord4fColor4fNormal3fVertex4fvSUN; -GLEW_FUN_EXPORT PFNGLTEXCOORD4FVERTEX4FSUNPROC __glewTexCoord4fVertex4fSUN; -GLEW_FUN_EXPORT PFNGLTEXCOORD4FVERTEX4FVSUNPROC __glewTexCoord4fVertex4fvSUN; - -GLEW_FUN_EXPORT PFNGLADDSWAPHINTRECTWINPROC __glewAddSwapHintRectWIN; - -#if defined(GLEW_MX) && !defined(_WIN32) -struct GLEWContextStruct -{ -#endif /* GLEW_MX */ - -GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_1_1; -GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_1_2; -GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_1_2_1; -GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_1_3; -GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_1_4; -GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_1_5; -GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_2_0; -GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_2_1; -GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_3_0; -GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_3_1; -GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_3_2; -GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_3_3; -GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_4_0; -GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_4_1; -GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_4_2; -GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_4_3; -GLEW_VAR_EXPORT GLboolean __GLEW_3DFX_multisample; -GLEW_VAR_EXPORT GLboolean __GLEW_3DFX_tbuffer; -GLEW_VAR_EXPORT GLboolean __GLEW_3DFX_texture_compression_FXT1; -GLEW_VAR_EXPORT GLboolean __GLEW_AMD_blend_minmax_factor; -GLEW_VAR_EXPORT GLboolean __GLEW_AMD_conservative_depth; -GLEW_VAR_EXPORT GLboolean __GLEW_AMD_debug_output; -GLEW_VAR_EXPORT GLboolean __GLEW_AMD_depth_clamp_separate; -GLEW_VAR_EXPORT GLboolean __GLEW_AMD_draw_buffers_blend; -GLEW_VAR_EXPORT GLboolean __GLEW_AMD_multi_draw_indirect; -GLEW_VAR_EXPORT GLboolean __GLEW_AMD_name_gen_delete; -GLEW_VAR_EXPORT GLboolean __GLEW_AMD_performance_monitor; -GLEW_VAR_EXPORT GLboolean __GLEW_AMD_pinned_memory; -GLEW_VAR_EXPORT GLboolean __GLEW_AMD_query_buffer_object; -GLEW_VAR_EXPORT GLboolean __GLEW_AMD_sample_positions; -GLEW_VAR_EXPORT GLboolean __GLEW_AMD_seamless_cubemap_per_texture; -GLEW_VAR_EXPORT GLboolean __GLEW_AMD_shader_stencil_export; -GLEW_VAR_EXPORT GLboolean __GLEW_AMD_stencil_operation_extended; -GLEW_VAR_EXPORT GLboolean __GLEW_AMD_texture_texture4; -GLEW_VAR_EXPORT GLboolean __GLEW_AMD_transform_feedback3_lines_triangles; -GLEW_VAR_EXPORT GLboolean __GLEW_AMD_vertex_shader_layer; -GLEW_VAR_EXPORT GLboolean __GLEW_AMD_vertex_shader_tessellator; -GLEW_VAR_EXPORT GLboolean __GLEW_AMD_vertex_shader_viewport_index; -GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_aux_depth_stencil; -GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_client_storage; -GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_element_array; -GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_fence; -GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_float_pixels; -GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_flush_buffer_range; -GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_object_purgeable; -GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_pixel_buffer; -GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_rgb_422; -GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_row_bytes; -GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_specular_vector; -GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_texture_range; -GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_transform_hint; -GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_vertex_array_object; -GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_vertex_array_range; -GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_vertex_program_evaluators; -GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_ycbcr_422; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_ES2_compatibility; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_ES3_compatibility; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_arrays_of_arrays; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_base_instance; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_blend_func_extended; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_cl_event; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_clear_buffer_object; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_color_buffer_float; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_compatibility; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_compressed_texture_pixel_storage; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_compute_shader; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_conservative_depth; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_copy_buffer; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_copy_image; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_debug_output; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_depth_buffer_float; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_depth_clamp; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_depth_texture; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_draw_buffers; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_draw_buffers_blend; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_draw_elements_base_vertex; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_draw_indirect; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_draw_instanced; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_explicit_attrib_location; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_explicit_uniform_location; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_fragment_coord_conventions; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_fragment_layer_viewport; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_fragment_program; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_fragment_program_shadow; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_fragment_shader; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_framebuffer_no_attachments; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_framebuffer_object; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_framebuffer_sRGB; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_geometry_shader4; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_get_program_binary; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_gpu_shader5; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_gpu_shader_fp64; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_half_float_pixel; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_half_float_vertex; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_imaging; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_instanced_arrays; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_internalformat_query; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_internalformat_query2; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_invalidate_subdata; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_map_buffer_alignment; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_map_buffer_range; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_matrix_palette; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_multi_draw_indirect; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_multisample; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_multitexture; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_occlusion_query; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_occlusion_query2; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_pixel_buffer_object; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_point_parameters; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_point_sprite; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_program_interface_query; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_provoking_vertex; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_robust_buffer_access_behavior; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_robustness; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_robustness_application_isolation; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_robustness_share_group_isolation; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_sample_shading; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_sampler_objects; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_seamless_cube_map; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_separate_shader_objects; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shader_atomic_counters; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shader_bit_encoding; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shader_image_load_store; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shader_image_size; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shader_objects; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shader_precision; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shader_stencil_export; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shader_storage_buffer_object; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shader_subroutine; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shader_texture_lod; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shading_language_100; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shading_language_420pack; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shading_language_include; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shading_language_packing; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shadow; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shadow_ambient; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_stencil_texturing; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_sync; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_tessellation_shader; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_border_clamp; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_buffer_object; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_buffer_object_rgb32; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_buffer_range; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_compression; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_compression_bptc; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_compression_rgtc; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_cube_map; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_cube_map_array; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_env_add; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_env_combine; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_env_crossbar; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_env_dot3; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_float; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_gather; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_mirrored_repeat; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_multisample; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_non_power_of_two; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_query_levels; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_query_lod; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_rectangle; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_rg; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_rgb10_a2ui; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_storage; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_storage_multisample; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_swizzle; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_view; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_timer_query; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_transform_feedback2; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_transform_feedback3; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_transform_feedback_instanced; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_transpose_matrix; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_uniform_buffer_object; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_vertex_array_bgra; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_vertex_array_object; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_vertex_attrib_64bit; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_vertex_attrib_binding; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_vertex_blend; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_vertex_buffer_object; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_vertex_program; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_vertex_shader; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_vertex_type_2_10_10_10_rev; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_viewport_array; -GLEW_VAR_EXPORT GLboolean __GLEW_ARB_window_pos; -GLEW_VAR_EXPORT GLboolean __GLEW_ATIX_point_sprites; -GLEW_VAR_EXPORT GLboolean __GLEW_ATIX_texture_env_combine3; -GLEW_VAR_EXPORT GLboolean __GLEW_ATIX_texture_env_route; -GLEW_VAR_EXPORT GLboolean __GLEW_ATIX_vertex_shader_output_point_size; -GLEW_VAR_EXPORT GLboolean __GLEW_ATI_draw_buffers; -GLEW_VAR_EXPORT GLboolean __GLEW_ATI_element_array; -GLEW_VAR_EXPORT GLboolean __GLEW_ATI_envmap_bumpmap; -GLEW_VAR_EXPORT GLboolean __GLEW_ATI_fragment_shader; -GLEW_VAR_EXPORT GLboolean __GLEW_ATI_map_object_buffer; -GLEW_VAR_EXPORT GLboolean __GLEW_ATI_meminfo; -GLEW_VAR_EXPORT GLboolean __GLEW_ATI_pn_triangles; -GLEW_VAR_EXPORT GLboolean __GLEW_ATI_separate_stencil; -GLEW_VAR_EXPORT GLboolean __GLEW_ATI_shader_texture_lod; -GLEW_VAR_EXPORT GLboolean __GLEW_ATI_text_fragment_shader; -GLEW_VAR_EXPORT GLboolean __GLEW_ATI_texture_compression_3dc; -GLEW_VAR_EXPORT GLboolean __GLEW_ATI_texture_env_combine3; -GLEW_VAR_EXPORT GLboolean __GLEW_ATI_texture_float; -GLEW_VAR_EXPORT GLboolean __GLEW_ATI_texture_mirror_once; -GLEW_VAR_EXPORT GLboolean __GLEW_ATI_vertex_array_object; -GLEW_VAR_EXPORT GLboolean __GLEW_ATI_vertex_attrib_array_object; -GLEW_VAR_EXPORT GLboolean __GLEW_ATI_vertex_streams; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_422_pixels; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_Cg_shader; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_abgr; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_bgra; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_bindable_uniform; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_blend_color; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_blend_equation_separate; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_blend_func_separate; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_blend_logic_op; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_blend_minmax; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_blend_subtract; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_clip_volume_hint; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_cmyka; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_color_subtable; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_compiled_vertex_array; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_convolution; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_coordinate_frame; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_copy_texture; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_cull_vertex; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_debug_marker; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_depth_bounds_test; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_direct_state_access; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_draw_buffers2; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_draw_instanced; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_draw_range_elements; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_fog_coord; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_fragment_lighting; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_framebuffer_blit; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_framebuffer_multisample; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_framebuffer_multisample_blit_scaled; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_framebuffer_object; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_framebuffer_sRGB; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_geometry_shader4; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_gpu_program_parameters; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_gpu_shader4; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_histogram; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_index_array_formats; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_index_func; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_index_material; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_index_texture; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_light_texture; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_misc_attribute; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_multi_draw_arrays; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_multisample; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_packed_depth_stencil; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_packed_float; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_packed_pixels; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_paletted_texture; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_pixel_buffer_object; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_pixel_transform; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_pixel_transform_color_table; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_point_parameters; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_polygon_offset; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_provoking_vertex; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_rescale_normal; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_scene_marker; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_secondary_color; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_separate_shader_objects; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_separate_specular_color; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_shader_image_load_store; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_shadow_funcs; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_shared_texture_palette; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_stencil_clear_tag; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_stencil_two_side; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_stencil_wrap; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_subtexture; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture3D; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_array; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_buffer_object; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_compression_dxt1; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_compression_latc; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_compression_rgtc; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_compression_s3tc; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_cube_map; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_edge_clamp; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_env; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_env_add; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_env_combine; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_env_dot3; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_filter_anisotropic; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_integer; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_lod_bias; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_mirror_clamp; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_object; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_perturb_normal; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_rectangle; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_sRGB; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_sRGB_decode; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_shared_exponent; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_snorm; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_swizzle; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_timer_query; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_transform_feedback; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_vertex_array; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_vertex_array_bgra; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_vertex_attrib_64bit; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_vertex_shader; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_vertex_weighting; -GLEW_VAR_EXPORT GLboolean __GLEW_EXT_x11_sync_object; -GLEW_VAR_EXPORT GLboolean __GLEW_GREMEDY_frame_terminator; -GLEW_VAR_EXPORT GLboolean __GLEW_GREMEDY_string_marker; -GLEW_VAR_EXPORT GLboolean __GLEW_HP_convolution_border_modes; -GLEW_VAR_EXPORT GLboolean __GLEW_HP_image_transform; -GLEW_VAR_EXPORT GLboolean __GLEW_HP_occlusion_test; -GLEW_VAR_EXPORT GLboolean __GLEW_HP_texture_lighting; -GLEW_VAR_EXPORT GLboolean __GLEW_IBM_cull_vertex; -GLEW_VAR_EXPORT GLboolean __GLEW_IBM_multimode_draw_arrays; -GLEW_VAR_EXPORT GLboolean __GLEW_IBM_rasterpos_clip; -GLEW_VAR_EXPORT GLboolean __GLEW_IBM_static_data; -GLEW_VAR_EXPORT GLboolean __GLEW_IBM_texture_mirrored_repeat; -GLEW_VAR_EXPORT GLboolean __GLEW_IBM_vertex_array_lists; -GLEW_VAR_EXPORT GLboolean __GLEW_INGR_color_clamp; -GLEW_VAR_EXPORT GLboolean __GLEW_INGR_interlace_read; -GLEW_VAR_EXPORT GLboolean __GLEW_INTEL_parallel_arrays; -GLEW_VAR_EXPORT GLboolean __GLEW_INTEL_texture_scissor; -GLEW_VAR_EXPORT GLboolean __GLEW_KHR_debug; -GLEW_VAR_EXPORT GLboolean __GLEW_KHR_texture_compression_astc_ldr; -GLEW_VAR_EXPORT GLboolean __GLEW_KTX_buffer_region; -GLEW_VAR_EXPORT GLboolean __GLEW_MESAX_texture_stack; -GLEW_VAR_EXPORT GLboolean __GLEW_MESA_pack_invert; -GLEW_VAR_EXPORT GLboolean __GLEW_MESA_resize_buffers; -GLEW_VAR_EXPORT GLboolean __GLEW_MESA_window_pos; -GLEW_VAR_EXPORT GLboolean __GLEW_MESA_ycbcr_texture; -GLEW_VAR_EXPORT GLboolean __GLEW_NVX_gpu_memory_info; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_bindless_texture; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_blend_square; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_conditional_render; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_copy_depth_to_color; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_copy_image; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_depth_buffer_float; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_depth_clamp; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_depth_range_unclamped; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_evaluators; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_explicit_multisample; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_fence; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_float_buffer; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_fog_distance; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_fragment_program; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_fragment_program2; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_fragment_program4; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_fragment_program_option; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_framebuffer_multisample_coverage; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_geometry_program4; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_geometry_shader4; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_gpu_program4; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_gpu_program5; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_gpu_program_fp64; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_gpu_shader5; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_half_float; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_light_max_exponent; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_multisample_coverage; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_multisample_filter_hint; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_occlusion_query; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_packed_depth_stencil; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_parameter_buffer_object; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_parameter_buffer_object2; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_path_rendering; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_pixel_data_range; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_point_sprite; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_present_video; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_primitive_restart; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_register_combiners; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_register_combiners2; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_shader_atomic_float; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_shader_buffer_load; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_tessellation_program5; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_texgen_emboss; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_texgen_reflection; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_texture_barrier; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_texture_compression_vtc; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_texture_env_combine4; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_texture_expand_normal; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_texture_multisample; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_texture_rectangle; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_texture_shader; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_texture_shader2; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_texture_shader3; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_transform_feedback; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_transform_feedback2; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_vdpau_interop; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_vertex_array_range; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_vertex_array_range2; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_vertex_attrib_integer_64bit; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_vertex_buffer_unified_memory; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_vertex_program; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_vertex_program1_1; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_vertex_program2; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_vertex_program2_option; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_vertex_program3; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_vertex_program4; -GLEW_VAR_EXPORT GLboolean __GLEW_NV_video_capture; -GLEW_VAR_EXPORT GLboolean __GLEW_OES_byte_coordinates; -GLEW_VAR_EXPORT GLboolean __GLEW_OES_compressed_paletted_texture; -GLEW_VAR_EXPORT GLboolean __GLEW_OES_read_format; -GLEW_VAR_EXPORT GLboolean __GLEW_OES_single_precision; -GLEW_VAR_EXPORT GLboolean __GLEW_OML_interlace; -GLEW_VAR_EXPORT GLboolean __GLEW_OML_resample; -GLEW_VAR_EXPORT GLboolean __GLEW_OML_subsample; -GLEW_VAR_EXPORT GLboolean __GLEW_PGI_misc_hints; -GLEW_VAR_EXPORT GLboolean __GLEW_PGI_vertex_hints; -GLEW_VAR_EXPORT GLboolean __GLEW_REGAL_error_string; -GLEW_VAR_EXPORT GLboolean __GLEW_REGAL_extension_query; -GLEW_VAR_EXPORT GLboolean __GLEW_REGAL_log; -GLEW_VAR_EXPORT GLboolean __GLEW_REND_screen_coordinates; -GLEW_VAR_EXPORT GLboolean __GLEW_S3_s3tc; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_color_range; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_detail_texture; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_fog_function; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_generate_mipmap; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_multisample; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_pixel_texture; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_point_line_texgen; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_sharpen_texture; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_texture4D; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_texture_border_clamp; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_texture_edge_clamp; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_texture_filter4; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_texture_lod; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_texture_select; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_async; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_async_histogram; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_async_pixel; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_blend_alpha_minmax; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_clipmap; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_convolution_accuracy; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_depth_texture; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_flush_raster; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_fog_offset; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_fog_texture; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_fragment_specular_lighting; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_framezoom; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_interlace; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_ir_instrument1; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_list_priority; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_pixel_texture; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_pixel_texture_bits; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_reference_plane; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_resample; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_shadow; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_shadow_ambient; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_sprite; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_tag_sample_buffer; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_texture_add_env; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_texture_coordinate_clamp; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_texture_lod_bias; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_texture_multi_buffer; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_texture_range; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_texture_scale_bias; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_vertex_preclip; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_vertex_preclip_hint; -GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_ycrcb; -GLEW_VAR_EXPORT GLboolean __GLEW_SGI_color_matrix; -GLEW_VAR_EXPORT GLboolean __GLEW_SGI_color_table; -GLEW_VAR_EXPORT GLboolean __GLEW_SGI_texture_color_table; -GLEW_VAR_EXPORT GLboolean __GLEW_SUNX_constant_data; -GLEW_VAR_EXPORT GLboolean __GLEW_SUN_convolution_border_modes; -GLEW_VAR_EXPORT GLboolean __GLEW_SUN_global_alpha; -GLEW_VAR_EXPORT GLboolean __GLEW_SUN_mesh_array; -GLEW_VAR_EXPORT GLboolean __GLEW_SUN_read_video_pixels; -GLEW_VAR_EXPORT GLboolean __GLEW_SUN_slice_accum; -GLEW_VAR_EXPORT GLboolean __GLEW_SUN_triangle_list; -GLEW_VAR_EXPORT GLboolean __GLEW_SUN_vertex; -GLEW_VAR_EXPORT GLboolean __GLEW_WIN_phong_shading; -GLEW_VAR_EXPORT GLboolean __GLEW_WIN_specular_fog; -GLEW_VAR_EXPORT GLboolean __GLEW_WIN_swap_hint; - -#ifdef GLEW_MX -}; /* GLEWContextStruct */ -#endif /* GLEW_MX */ - -/* ------------------------------------------------------------------------- */ - -/* error codes */ -#define GLEW_OK 0 -#define GLEW_NO_ERROR 0 -#define GLEW_ERROR_NO_GL_VERSION 1 /* missing GL version */ -#define GLEW_ERROR_GL_VERSION_10_ONLY 2 /* Need at least OpenGL 1.1 */ -#define GLEW_ERROR_GLX_VERSION_11_ONLY 3 /* Need at least GLX 1.2 */ - -/* string codes */ -#define GLEW_VERSION 1 -#define GLEW_VERSION_MAJOR 2 -#define GLEW_VERSION_MINOR 3 -#define GLEW_VERSION_MICRO 4 - -/* API */ -#ifdef GLEW_MX - -typedef struct GLEWContextStruct GLEWContext; -GLEWAPI GLenum GLEWAPIENTRY glewContextInit (GLEWContext *ctx); -GLEWAPI GLboolean GLEWAPIENTRY glewContextIsSupported (const GLEWContext *ctx, const char *name); - -#define glewInit() glewContextInit(glewGetContext()) -#define glewIsSupported(x) glewContextIsSupported(glewGetContext(), x) -#define glewIsExtensionSupported(x) glewIsSupported(x) - -#define GLEW_GET_VAR(x) (*(const GLboolean*)&(glewGetContext()->x)) -#ifdef _WIN32 -# define GLEW_GET_FUN(x) glewGetContext()->x -#else -# define GLEW_GET_FUN(x) x -#endif - -#else /* GLEW_MX */ - -GLEWAPI GLenum GLEWAPIENTRY glewInit (void); -GLEWAPI GLboolean GLEWAPIENTRY glewIsSupported (const char *name); -#define glewIsExtensionSupported(x) glewIsSupported(x) - -#define GLEW_GET_VAR(x) (*(const GLboolean*)&x) -#define GLEW_GET_FUN(x) x - -#endif /* GLEW_MX */ - -GLEWAPI GLboolean glewExperimental; -GLEWAPI GLboolean GLEWAPIENTRY glewGetExtension (const char *name); -GLEWAPI const GLubyte * GLEWAPIENTRY glewGetErrorString (GLenum error); -GLEWAPI const GLubyte * GLEWAPIENTRY glewGetString (GLenum name); - -#ifdef __cplusplus -} -#endif - -#ifdef GLEW_APIENTRY_DEFINED -#undef GLEW_APIENTRY_DEFINED -#undef APIENTRY -#undef GLAPIENTRY -#define GLAPIENTRY -#endif - -#ifdef GLEW_CALLBACK_DEFINED -#undef GLEW_CALLBACK_DEFINED -#undef CALLBACK -#endif - -#ifdef GLEW_WINGDIAPI_DEFINED -#undef GLEW_WINGDIAPI_DEFINED -#undef WINGDIAPI -#endif - -#undef GLAPI -/* #undef GLEWAPI */ - -#endif /* __glew_h__ */ diff --git a/src/other/togl/include/GL/glext.h b/src/other/togl/include/GL/glext.h deleted file mode 100644 index 7bb8e6e7cc7..00000000000 --- a/src/other/togl/include/GL/glext.h +++ /dev/null @@ -1,6495 +0,0 @@ -#ifndef __glext_h_ -#define __glext_h_ - -#ifdef __cplusplus -extern "C" { -#endif - -/* -** License Applicability. Except to the extent portions of this file are -** made subject to an alternative license as permitted in the SGI Free -** Software License B, Version 1.1 (the "License"), the contents of this -** file are subject only to the provisions of the License. You may not use -** this file except in compliance with the License. You may obtain a copy -** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 -** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: -** -** http://oss.sgi.com/projects/FreeB -** -** Note that, as provided in the License, the Software is distributed on an -** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS -** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND -** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A -** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. -** -** Original Code. The Original Code is: OpenGL Sample Implementation, -** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, -** Inc. The Original Code is Copyright (c) 1991-2004 Silicon Graphics, Inc. -** Copyright in any portions created by third parties is as indicated -** elsewhere herein. All Rights Reserved. -** -** Additional Notice Provisions: This software was created using the -** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has -** not been independently verified as being compliant with the OpenGL(R) -** version 1.2.1 Specification. -*/ - -#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) -#define WIN32_LEAN_AND_MEAN 1 -#include -#endif - -#ifndef APIENTRY -#define APIENTRY -#endif -#ifndef APIENTRYP -#define APIENTRYP APIENTRY * -#endif -#ifndef GLAPI -#define GLAPI extern -#endif - -/*************************************************************/ - -/* Header file version number, required by OpenGL ABI for Linux */ -/* glext.h last updated 2005/06/20 */ -/* Current version at http://oss.sgi.com/projects/ogl-sample/registry/ */ -#define GL_GLEXT_VERSION 29 - -#ifndef GL_VERSION_1_2 -#define GL_UNSIGNED_BYTE_3_3_2 0x8032 -#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 -#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 -#define GL_UNSIGNED_INT_8_8_8_8 0x8035 -#define GL_UNSIGNED_INT_10_10_10_2 0x8036 -#define GL_RESCALE_NORMAL 0x803A -#define GL_TEXTURE_BINDING_3D 0x806A -#define GL_PACK_SKIP_IMAGES 0x806B -#define GL_PACK_IMAGE_HEIGHT 0x806C -#define GL_UNPACK_SKIP_IMAGES 0x806D -#define GL_UNPACK_IMAGE_HEIGHT 0x806E -#define GL_TEXTURE_3D 0x806F -#define GL_PROXY_TEXTURE_3D 0x8070 -#define GL_TEXTURE_DEPTH 0x8071 -#define GL_TEXTURE_WRAP_R 0x8072 -#define GL_MAX_3D_TEXTURE_SIZE 0x8073 -#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 -#define GL_UNSIGNED_SHORT_5_6_5 0x8363 -#define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 -#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 -#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 -#define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 -#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 -#define GL_BGR 0x80E0 -#define GL_BGRA 0x80E1 -#define GL_MAX_ELEMENTS_VERTICES 0x80E8 -#define GL_MAX_ELEMENTS_INDICES 0x80E9 -#define GL_CLAMP_TO_EDGE 0x812F -#define GL_TEXTURE_MIN_LOD 0x813A -#define GL_TEXTURE_MAX_LOD 0x813B -#define GL_TEXTURE_BASE_LEVEL 0x813C -#define GL_TEXTURE_MAX_LEVEL 0x813D -#define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 -#define GL_SINGLE_COLOR 0x81F9 -#define GL_SEPARATE_SPECULAR_COLOR 0x81FA -#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 -#define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 -#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 -#define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 -#define GL_ALIASED_POINT_SIZE_RANGE 0x846D -#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E -#endif - -#ifndef GL_ARB_imaging -#define GL_CONSTANT_COLOR 0x8001 -#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 -#define GL_CONSTANT_ALPHA 0x8003 -#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 -#define GL_BLEND_COLOR 0x8005 -#define GL_FUNC_ADD 0x8006 -#define GL_MIN 0x8007 -#define GL_MAX 0x8008 -#define GL_BLEND_EQUATION 0x8009 -#define GL_FUNC_SUBTRACT 0x800A -#define GL_FUNC_REVERSE_SUBTRACT 0x800B -#define GL_CONVOLUTION_1D 0x8010 -#define GL_CONVOLUTION_2D 0x8011 -#define GL_SEPARABLE_2D 0x8012 -#define GL_CONVOLUTION_BORDER_MODE 0x8013 -#define GL_CONVOLUTION_FILTER_SCALE 0x8014 -#define GL_CONVOLUTION_FILTER_BIAS 0x8015 -#define GL_REDUCE 0x8016 -#define GL_CONVOLUTION_FORMAT 0x8017 -#define GL_CONVOLUTION_WIDTH 0x8018 -#define GL_CONVOLUTION_HEIGHT 0x8019 -#define GL_MAX_CONVOLUTION_WIDTH 0x801A -#define GL_MAX_CONVOLUTION_HEIGHT 0x801B -#define GL_POST_CONVOLUTION_RED_SCALE 0x801C -#define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D -#define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E -#define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F -#define GL_POST_CONVOLUTION_RED_BIAS 0x8020 -#define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021 -#define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022 -#define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023 -#define GL_HISTOGRAM 0x8024 -#define GL_PROXY_HISTOGRAM 0x8025 -#define GL_HISTOGRAM_WIDTH 0x8026 -#define GL_HISTOGRAM_FORMAT 0x8027 -#define GL_HISTOGRAM_RED_SIZE 0x8028 -#define GL_HISTOGRAM_GREEN_SIZE 0x8029 -#define GL_HISTOGRAM_BLUE_SIZE 0x802A -#define GL_HISTOGRAM_ALPHA_SIZE 0x802B -#define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C -#define GL_HISTOGRAM_SINK 0x802D -#define GL_MINMAX 0x802E -#define GL_MINMAX_FORMAT 0x802F -#define GL_MINMAX_SINK 0x8030 -#define GL_TABLE_TOO_LARGE 0x8031 -#define GL_COLOR_MATRIX 0x80B1 -#define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2 -#define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3 -#define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4 -#define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5 -#define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6 -#define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7 -#define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8 -#define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9 -#define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA -#define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB -#define GL_COLOR_TABLE 0x80D0 -#define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1 -#define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2 -#define GL_PROXY_COLOR_TABLE 0x80D3 -#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4 -#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5 -#define GL_COLOR_TABLE_SCALE 0x80D6 -#define GL_COLOR_TABLE_BIAS 0x80D7 -#define GL_COLOR_TABLE_FORMAT 0x80D8 -#define GL_COLOR_TABLE_WIDTH 0x80D9 -#define GL_COLOR_TABLE_RED_SIZE 0x80DA -#define GL_COLOR_TABLE_GREEN_SIZE 0x80DB -#define GL_COLOR_TABLE_BLUE_SIZE 0x80DC -#define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD -#define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE -#define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF -#define GL_CONSTANT_BORDER 0x8151 -#define GL_REPLICATE_BORDER 0x8153 -#define GL_CONVOLUTION_BORDER_COLOR 0x8154 -#endif - -#ifndef GL_VERSION_1_3 -#define GL_TEXTURE0 0x84C0 -#define GL_TEXTURE1 0x84C1 -#define GL_TEXTURE2 0x84C2 -#define GL_TEXTURE3 0x84C3 -#define GL_TEXTURE4 0x84C4 -#define GL_TEXTURE5 0x84C5 -#define GL_TEXTURE6 0x84C6 -#define GL_TEXTURE7 0x84C7 -#define GL_TEXTURE8 0x84C8 -#define GL_TEXTURE9 0x84C9 -#define GL_TEXTURE10 0x84CA -#define GL_TEXTURE11 0x84CB -#define GL_TEXTURE12 0x84CC -#define GL_TEXTURE13 0x84CD -#define GL_TEXTURE14 0x84CE -#define GL_TEXTURE15 0x84CF -#define GL_TEXTURE16 0x84D0 -#define GL_TEXTURE17 0x84D1 -#define GL_TEXTURE18 0x84D2 -#define GL_TEXTURE19 0x84D3 -#define GL_TEXTURE20 0x84D4 -#define GL_TEXTURE21 0x84D5 -#define GL_TEXTURE22 0x84D6 -#define GL_TEXTURE23 0x84D7 -#define GL_TEXTURE24 0x84D8 -#define GL_TEXTURE25 0x84D9 -#define GL_TEXTURE26 0x84DA -#define GL_TEXTURE27 0x84DB -#define GL_TEXTURE28 0x84DC -#define GL_TEXTURE29 0x84DD -#define GL_TEXTURE30 0x84DE -#define GL_TEXTURE31 0x84DF -#define GL_ACTIVE_TEXTURE 0x84E0 -#define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 -#define GL_MAX_TEXTURE_UNITS 0x84E2 -#define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3 -#define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4 -#define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5 -#define GL_TRANSPOSE_COLOR_MATRIX 0x84E6 -#define GL_MULTISAMPLE 0x809D -#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E -#define GL_SAMPLE_ALPHA_TO_ONE 0x809F -#define GL_SAMPLE_COVERAGE 0x80A0 -#define GL_SAMPLE_BUFFERS 0x80A8 -#define GL_SAMPLES 0x80A9 -#define GL_SAMPLE_COVERAGE_VALUE 0x80AA -#define GL_SAMPLE_COVERAGE_INVERT 0x80AB -#define GL_MULTISAMPLE_BIT 0x20000000 -#define GL_NORMAL_MAP 0x8511 -#define GL_REFLECTION_MAP 0x8512 -#define GL_TEXTURE_CUBE_MAP 0x8513 -#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A -#define GL_PROXY_TEXTURE_CUBE_MAP 0x851B -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C -#define GL_COMPRESSED_ALPHA 0x84E9 -#define GL_COMPRESSED_LUMINANCE 0x84EA -#define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB -#define GL_COMPRESSED_INTENSITY 0x84EC -#define GL_COMPRESSED_RGB 0x84ED -#define GL_COMPRESSED_RGBA 0x84EE -#define GL_TEXTURE_COMPRESSION_HINT 0x84EF -#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 -#define GL_TEXTURE_COMPRESSED 0x86A1 -#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 -#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 -#define GL_CLAMP_TO_BORDER 0x812D -#define GL_COMBINE 0x8570 -#define GL_COMBINE_RGB 0x8571 -#define GL_COMBINE_ALPHA 0x8572 -#define GL_SOURCE0_RGB 0x8580 -#define GL_SOURCE1_RGB 0x8581 -#define GL_SOURCE2_RGB 0x8582 -#define GL_SOURCE0_ALPHA 0x8588 -#define GL_SOURCE1_ALPHA 0x8589 -#define GL_SOURCE2_ALPHA 0x858A -#define GL_OPERAND0_RGB 0x8590 -#define GL_OPERAND1_RGB 0x8591 -#define GL_OPERAND2_RGB 0x8592 -#define GL_OPERAND0_ALPHA 0x8598 -#define GL_OPERAND1_ALPHA 0x8599 -#define GL_OPERAND2_ALPHA 0x859A -#define GL_RGB_SCALE 0x8573 -#define GL_ADD_SIGNED 0x8574 -#define GL_INTERPOLATE 0x8575 -#define GL_SUBTRACT 0x84E7 -#define GL_CONSTANT 0x8576 -#define GL_PRIMARY_COLOR 0x8577 -#define GL_PREVIOUS 0x8578 -#define GL_DOT3_RGB 0x86AE -#define GL_DOT3_RGBA 0x86AF -#endif - -#ifndef GL_VERSION_1_4 -#define GL_BLEND_DST_RGB 0x80C8 -#define GL_BLEND_SRC_RGB 0x80C9 -#define GL_BLEND_DST_ALPHA 0x80CA -#define GL_BLEND_SRC_ALPHA 0x80CB -#define GL_POINT_SIZE_MIN 0x8126 -#define GL_POINT_SIZE_MAX 0x8127 -#define GL_POINT_FADE_THRESHOLD_SIZE 0x8128 -#define GL_POINT_DISTANCE_ATTENUATION 0x8129 -#define GL_GENERATE_MIPMAP 0x8191 -#define GL_GENERATE_MIPMAP_HINT 0x8192 -#define GL_DEPTH_COMPONENT16 0x81A5 -#define GL_DEPTH_COMPONENT24 0x81A6 -#define GL_DEPTH_COMPONENT32 0x81A7 -#define GL_MIRRORED_REPEAT 0x8370 -#define GL_FOG_COORDINATE_SOURCE 0x8450 -#define GL_FOG_COORDINATE 0x8451 -#define GL_FRAGMENT_DEPTH 0x8452 -#define GL_CURRENT_FOG_COORDINATE 0x8453 -#define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454 -#define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455 -#define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456 -#define GL_FOG_COORDINATE_ARRAY 0x8457 -#define GL_COLOR_SUM 0x8458 -#define GL_CURRENT_SECONDARY_COLOR 0x8459 -#define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A -#define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B -#define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C -#define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D -#define GL_SECONDARY_COLOR_ARRAY 0x845E -#define GL_MAX_TEXTURE_LOD_BIAS 0x84FD -#define GL_TEXTURE_FILTER_CONTROL 0x8500 -#define GL_TEXTURE_LOD_BIAS 0x8501 -#define GL_INCR_WRAP 0x8507 -#define GL_DECR_WRAP 0x8508 -#define GL_TEXTURE_DEPTH_SIZE 0x884A -#define GL_DEPTH_TEXTURE_MODE 0x884B -#define GL_TEXTURE_COMPARE_MODE 0x884C -#define GL_TEXTURE_COMPARE_FUNC 0x884D -#define GL_COMPARE_R_TO_TEXTURE 0x884E -#endif - -#ifndef GL_VERSION_1_5 -#define GL_BUFFER_SIZE 0x8764 -#define GL_BUFFER_USAGE 0x8765 -#define GL_QUERY_COUNTER_BITS 0x8864 -#define GL_CURRENT_QUERY 0x8865 -#define GL_QUERY_RESULT 0x8866 -#define GL_QUERY_RESULT_AVAILABLE 0x8867 -#define GL_ARRAY_BUFFER 0x8892 -#define GL_ELEMENT_ARRAY_BUFFER 0x8893 -#define GL_ARRAY_BUFFER_BINDING 0x8894 -#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 -#define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896 -#define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897 -#define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898 -#define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899 -#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A -#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B -#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C -#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D -#define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E -#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F -#define GL_READ_ONLY 0x88B8 -#define GL_WRITE_ONLY 0x88B9 -#define GL_READ_WRITE 0x88BA -#define GL_BUFFER_ACCESS 0x88BB -#define GL_BUFFER_MAPPED 0x88BC -#define GL_BUFFER_MAP_POINTER 0x88BD -#define GL_STREAM_DRAW 0x88E0 -#define GL_STREAM_READ 0x88E1 -#define GL_STREAM_COPY 0x88E2 -#define GL_STATIC_DRAW 0x88E4 -#define GL_STATIC_READ 0x88E5 -#define GL_STATIC_COPY 0x88E6 -#define GL_DYNAMIC_DRAW 0x88E8 -#define GL_DYNAMIC_READ 0x88E9 -#define GL_DYNAMIC_COPY 0x88EA -#define GL_SAMPLES_PASSED 0x8914 -#define GL_FOG_COORD_SRC GL_FOG_COORDINATE_SOURCE -#define GL_FOG_COORD GL_FOG_COORDINATE -#define GL_CURRENT_FOG_COORD GL_CURRENT_FOG_COORDINATE -#define GL_FOG_COORD_ARRAY_TYPE GL_FOG_COORDINATE_ARRAY_TYPE -#define GL_FOG_COORD_ARRAY_STRIDE GL_FOG_COORDINATE_ARRAY_STRIDE -#define GL_FOG_COORD_ARRAY_POINTER GL_FOG_COORDINATE_ARRAY_POINTER -#define GL_FOG_COORD_ARRAY GL_FOG_COORDINATE_ARRAY -#define GL_FOG_COORD_ARRAY_BUFFER_BINDING GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING -#define GL_SRC0_RGB GL_SOURCE0_RGB -#define GL_SRC1_RGB GL_SOURCE1_RGB -#define GL_SRC2_RGB GL_SOURCE2_RGB -#define GL_SRC0_ALPHA GL_SOURCE0_ALPHA -#define GL_SRC1_ALPHA GL_SOURCE1_ALPHA -#define GL_SRC2_ALPHA GL_SOURCE2_ALPHA -#endif - -#ifndef GL_VERSION_2_0 -#define GL_BLEND_EQUATION_RGB GL_BLEND_EQUATION -#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 -#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 -#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 -#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 -#define GL_CURRENT_VERTEX_ATTRIB 0x8626 -#define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 -#define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643 -#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 -#define GL_STENCIL_BACK_FUNC 0x8800 -#define GL_STENCIL_BACK_FAIL 0x8801 -#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 -#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 -#define GL_MAX_DRAW_BUFFERS 0x8824 -#define GL_DRAW_BUFFER0 0x8825 -#define GL_DRAW_BUFFER1 0x8826 -#define GL_DRAW_BUFFER2 0x8827 -#define GL_DRAW_BUFFER3 0x8828 -#define GL_DRAW_BUFFER4 0x8829 -#define GL_DRAW_BUFFER5 0x882A -#define GL_DRAW_BUFFER6 0x882B -#define GL_DRAW_BUFFER7 0x882C -#define GL_DRAW_BUFFER8 0x882D -#define GL_DRAW_BUFFER9 0x882E -#define GL_DRAW_BUFFER10 0x882F -#define GL_DRAW_BUFFER11 0x8830 -#define GL_DRAW_BUFFER12 0x8831 -#define GL_DRAW_BUFFER13 0x8832 -#define GL_DRAW_BUFFER14 0x8833 -#define GL_DRAW_BUFFER15 0x8834 -#define GL_BLEND_EQUATION_ALPHA 0x883D -#define GL_POINT_SPRITE 0x8861 -#define GL_COORD_REPLACE 0x8862 -#define GL_MAX_VERTEX_ATTRIBS 0x8869 -#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A -#define GL_MAX_TEXTURE_COORDS 0x8871 -#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 -#define GL_FRAGMENT_SHADER 0x8B30 -#define GL_VERTEX_SHADER 0x8B31 -#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 -#define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A -#define GL_MAX_VARYING_FLOATS 0x8B4B -#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C -#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D -#define GL_SHADER_TYPE 0x8B4F -#define GL_FLOAT_VEC2 0x8B50 -#define GL_FLOAT_VEC3 0x8B51 -#define GL_FLOAT_VEC4 0x8B52 -#define GL_INT_VEC2 0x8B53 -#define GL_INT_VEC3 0x8B54 -#define GL_INT_VEC4 0x8B55 -#define GL_BOOL 0x8B56 -#define GL_BOOL_VEC2 0x8B57 -#define GL_BOOL_VEC3 0x8B58 -#define GL_BOOL_VEC4 0x8B59 -#define GL_FLOAT_MAT2 0x8B5A -#define GL_FLOAT_MAT3 0x8B5B -#define GL_FLOAT_MAT4 0x8B5C -#define GL_SAMPLER_1D 0x8B5D -#define GL_SAMPLER_2D 0x8B5E -#define GL_SAMPLER_3D 0x8B5F -#define GL_SAMPLER_CUBE 0x8B60 -#define GL_SAMPLER_1D_SHADOW 0x8B61 -#define GL_SAMPLER_2D_SHADOW 0x8B62 -#define GL_DELETE_STATUS 0x8B80 -#define GL_COMPILE_STATUS 0x8B81 -#define GL_LINK_STATUS 0x8B82 -#define GL_VALIDATE_STATUS 0x8B83 -#define GL_INFO_LOG_LENGTH 0x8B84 -#define GL_ATTACHED_SHADERS 0x8B85 -#define GL_ACTIVE_UNIFORMS 0x8B86 -#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 -#define GL_SHADER_SOURCE_LENGTH 0x8B88 -#define GL_ACTIVE_ATTRIBUTES 0x8B89 -#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A -#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B -#define GL_SHADING_LANGUAGE_VERSION 0x8B8C -#define GL_CURRENT_PROGRAM 0x8B8D -#define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0 -#define GL_LOWER_LEFT 0x8CA1 -#define GL_UPPER_LEFT 0x8CA2 -#define GL_STENCIL_BACK_REF 0x8CA3 -#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 -#define GL_STENCIL_BACK_WRITEMASK 0x8CA5 -#endif - -#ifndef GL_ARB_multitexture -#define GL_TEXTURE0_ARB 0x84C0 -#define GL_TEXTURE1_ARB 0x84C1 -#define GL_TEXTURE2_ARB 0x84C2 -#define GL_TEXTURE3_ARB 0x84C3 -#define GL_TEXTURE4_ARB 0x84C4 -#define GL_TEXTURE5_ARB 0x84C5 -#define GL_TEXTURE6_ARB 0x84C6 -#define GL_TEXTURE7_ARB 0x84C7 -#define GL_TEXTURE8_ARB 0x84C8 -#define GL_TEXTURE9_ARB 0x84C9 -#define GL_TEXTURE10_ARB 0x84CA -#define GL_TEXTURE11_ARB 0x84CB -#define GL_TEXTURE12_ARB 0x84CC -#define GL_TEXTURE13_ARB 0x84CD -#define GL_TEXTURE14_ARB 0x84CE -#define GL_TEXTURE15_ARB 0x84CF -#define GL_TEXTURE16_ARB 0x84D0 -#define GL_TEXTURE17_ARB 0x84D1 -#define GL_TEXTURE18_ARB 0x84D2 -#define GL_TEXTURE19_ARB 0x84D3 -#define GL_TEXTURE20_ARB 0x84D4 -#define GL_TEXTURE21_ARB 0x84D5 -#define GL_TEXTURE22_ARB 0x84D6 -#define GL_TEXTURE23_ARB 0x84D7 -#define GL_TEXTURE24_ARB 0x84D8 -#define GL_TEXTURE25_ARB 0x84D9 -#define GL_TEXTURE26_ARB 0x84DA -#define GL_TEXTURE27_ARB 0x84DB -#define GL_TEXTURE28_ARB 0x84DC -#define GL_TEXTURE29_ARB 0x84DD -#define GL_TEXTURE30_ARB 0x84DE -#define GL_TEXTURE31_ARB 0x84DF -#define GL_ACTIVE_TEXTURE_ARB 0x84E0 -#define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1 -#define GL_MAX_TEXTURE_UNITS_ARB 0x84E2 -#endif - -#ifndef GL_ARB_transpose_matrix -#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3 -#define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4 -#define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5 -#define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6 -#endif - -#ifndef GL_ARB_multisample -#define GL_MULTISAMPLE_ARB 0x809D -#define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E -#define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F -#define GL_SAMPLE_COVERAGE_ARB 0x80A0 -#define GL_SAMPLE_BUFFERS_ARB 0x80A8 -#define GL_SAMPLES_ARB 0x80A9 -#define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA -#define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB -#define GL_MULTISAMPLE_BIT_ARB 0x20000000 -#endif - -#ifndef GL_ARB_texture_env_add -#endif - -#ifndef GL_ARB_texture_cube_map -#define GL_NORMAL_MAP_ARB 0x8511 -#define GL_REFLECTION_MAP_ARB 0x8512 -#define GL_TEXTURE_CUBE_MAP_ARB 0x8513 -#define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A -#define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C -#endif - -#ifndef GL_ARB_texture_compression -#define GL_COMPRESSED_ALPHA_ARB 0x84E9 -#define GL_COMPRESSED_LUMINANCE_ARB 0x84EA -#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB -#define GL_COMPRESSED_INTENSITY_ARB 0x84EC -#define GL_COMPRESSED_RGB_ARB 0x84ED -#define GL_COMPRESSED_RGBA_ARB 0x84EE -#define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF -#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0 -#define GL_TEXTURE_COMPRESSED_ARB 0x86A1 -#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2 -#define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3 -#endif - -#ifndef GL_ARB_texture_border_clamp -#define GL_CLAMP_TO_BORDER_ARB 0x812D -#endif - -#ifndef GL_ARB_point_parameters -#define GL_POINT_SIZE_MIN_ARB 0x8126 -#define GL_POINT_SIZE_MAX_ARB 0x8127 -#define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128 -#define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129 -#endif - -#ifndef GL_ARB_vertex_blend -#define GL_MAX_VERTEX_UNITS_ARB 0x86A4 -#define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5 -#define GL_WEIGHT_SUM_UNITY_ARB 0x86A6 -#define GL_VERTEX_BLEND_ARB 0x86A7 -#define GL_CURRENT_WEIGHT_ARB 0x86A8 -#define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9 -#define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA -#define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB -#define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC -#define GL_WEIGHT_ARRAY_ARB 0x86AD -#define GL_MODELVIEW0_ARB 0x1700 -#define GL_MODELVIEW1_ARB 0x850A -#define GL_MODELVIEW2_ARB 0x8722 -#define GL_MODELVIEW3_ARB 0x8723 -#define GL_MODELVIEW4_ARB 0x8724 -#define GL_MODELVIEW5_ARB 0x8725 -#define GL_MODELVIEW6_ARB 0x8726 -#define GL_MODELVIEW7_ARB 0x8727 -#define GL_MODELVIEW8_ARB 0x8728 -#define GL_MODELVIEW9_ARB 0x8729 -#define GL_MODELVIEW10_ARB 0x872A -#define GL_MODELVIEW11_ARB 0x872B -#define GL_MODELVIEW12_ARB 0x872C -#define GL_MODELVIEW13_ARB 0x872D -#define GL_MODELVIEW14_ARB 0x872E -#define GL_MODELVIEW15_ARB 0x872F -#define GL_MODELVIEW16_ARB 0x8730 -#define GL_MODELVIEW17_ARB 0x8731 -#define GL_MODELVIEW18_ARB 0x8732 -#define GL_MODELVIEW19_ARB 0x8733 -#define GL_MODELVIEW20_ARB 0x8734 -#define GL_MODELVIEW21_ARB 0x8735 -#define GL_MODELVIEW22_ARB 0x8736 -#define GL_MODELVIEW23_ARB 0x8737 -#define GL_MODELVIEW24_ARB 0x8738 -#define GL_MODELVIEW25_ARB 0x8739 -#define GL_MODELVIEW26_ARB 0x873A -#define GL_MODELVIEW27_ARB 0x873B -#define GL_MODELVIEW28_ARB 0x873C -#define GL_MODELVIEW29_ARB 0x873D -#define GL_MODELVIEW30_ARB 0x873E -#define GL_MODELVIEW31_ARB 0x873F -#endif - -#ifndef GL_ARB_matrix_palette -#define GL_MATRIX_PALETTE_ARB 0x8840 -#define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841 -#define GL_MAX_PALETTE_MATRICES_ARB 0x8842 -#define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843 -#define GL_MATRIX_INDEX_ARRAY_ARB 0x8844 -#define GL_CURRENT_MATRIX_INDEX_ARB 0x8845 -#define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846 -#define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847 -#define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848 -#define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849 -#endif - -#ifndef GL_ARB_texture_env_combine -#define GL_COMBINE_ARB 0x8570 -#define GL_COMBINE_RGB_ARB 0x8571 -#define GL_COMBINE_ALPHA_ARB 0x8572 -#define GL_SOURCE0_RGB_ARB 0x8580 -#define GL_SOURCE1_RGB_ARB 0x8581 -#define GL_SOURCE2_RGB_ARB 0x8582 -#define GL_SOURCE0_ALPHA_ARB 0x8588 -#define GL_SOURCE1_ALPHA_ARB 0x8589 -#define GL_SOURCE2_ALPHA_ARB 0x858A -#define GL_OPERAND0_RGB_ARB 0x8590 -#define GL_OPERAND1_RGB_ARB 0x8591 -#define GL_OPERAND2_RGB_ARB 0x8592 -#define GL_OPERAND0_ALPHA_ARB 0x8598 -#define GL_OPERAND1_ALPHA_ARB 0x8599 -#define GL_OPERAND2_ALPHA_ARB 0x859A -#define GL_RGB_SCALE_ARB 0x8573 -#define GL_ADD_SIGNED_ARB 0x8574 -#define GL_INTERPOLATE_ARB 0x8575 -#define GL_SUBTRACT_ARB 0x84E7 -#define GL_CONSTANT_ARB 0x8576 -#define GL_PRIMARY_COLOR_ARB 0x8577 -#define GL_PREVIOUS_ARB 0x8578 -#endif - -#ifndef GL_ARB_texture_env_crossbar -#endif - -#ifndef GL_ARB_texture_env_dot3 -#define GL_DOT3_RGB_ARB 0x86AE -#define GL_DOT3_RGBA_ARB 0x86AF -#endif - -#ifndef GL_ARB_texture_mirrored_repeat -#define GL_MIRRORED_REPEAT_ARB 0x8370 -#endif - -#ifndef GL_ARB_depth_texture -#define GL_DEPTH_COMPONENT16_ARB 0x81A5 -#define GL_DEPTH_COMPONENT24_ARB 0x81A6 -#define GL_DEPTH_COMPONENT32_ARB 0x81A7 -#define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A -#define GL_DEPTH_TEXTURE_MODE_ARB 0x884B -#endif - -#ifndef GL_ARB_shadow -#define GL_TEXTURE_COMPARE_MODE_ARB 0x884C -#define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D -#define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E -#endif - -#ifndef GL_ARB_shadow_ambient -#define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF -#endif - -#ifndef GL_ARB_window_pos -#endif - -#ifndef GL_ARB_vertex_program -#define GL_COLOR_SUM_ARB 0x8458 -#define GL_VERTEX_PROGRAM_ARB 0x8620 -#define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622 -#define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623 -#define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624 -#define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625 -#define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626 -#define GL_PROGRAM_LENGTH_ARB 0x8627 -#define GL_PROGRAM_STRING_ARB 0x8628 -#define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E -#define GL_MAX_PROGRAM_MATRICES_ARB 0x862F -#define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640 -#define GL_CURRENT_MATRIX_ARB 0x8641 -#define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642 -#define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643 -#define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645 -#define GL_PROGRAM_ERROR_POSITION_ARB 0x864B -#define GL_PROGRAM_BINDING_ARB 0x8677 -#define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869 -#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A -#define GL_PROGRAM_ERROR_STRING_ARB 0x8874 -#define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875 -#define GL_PROGRAM_FORMAT_ARB 0x8876 -#define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0 -#define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1 -#define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2 -#define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3 -#define GL_PROGRAM_TEMPORARIES_ARB 0x88A4 -#define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5 -#define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6 -#define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7 -#define GL_PROGRAM_PARAMETERS_ARB 0x88A8 -#define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9 -#define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA -#define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB -#define GL_PROGRAM_ATTRIBS_ARB 0x88AC -#define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD -#define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE -#define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF -#define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0 -#define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1 -#define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2 -#define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3 -#define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4 -#define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5 -#define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6 -#define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7 -#define GL_MATRIX0_ARB 0x88C0 -#define GL_MATRIX1_ARB 0x88C1 -#define GL_MATRIX2_ARB 0x88C2 -#define GL_MATRIX3_ARB 0x88C3 -#define GL_MATRIX4_ARB 0x88C4 -#define GL_MATRIX5_ARB 0x88C5 -#define GL_MATRIX6_ARB 0x88C6 -#define GL_MATRIX7_ARB 0x88C7 -#define GL_MATRIX8_ARB 0x88C8 -#define GL_MATRIX9_ARB 0x88C9 -#define GL_MATRIX10_ARB 0x88CA -#define GL_MATRIX11_ARB 0x88CB -#define GL_MATRIX12_ARB 0x88CC -#define GL_MATRIX13_ARB 0x88CD -#define GL_MATRIX14_ARB 0x88CE -#define GL_MATRIX15_ARB 0x88CF -#define GL_MATRIX16_ARB 0x88D0 -#define GL_MATRIX17_ARB 0x88D1 -#define GL_MATRIX18_ARB 0x88D2 -#define GL_MATRIX19_ARB 0x88D3 -#define GL_MATRIX20_ARB 0x88D4 -#define GL_MATRIX21_ARB 0x88D5 -#define GL_MATRIX22_ARB 0x88D6 -#define GL_MATRIX23_ARB 0x88D7 -#define GL_MATRIX24_ARB 0x88D8 -#define GL_MATRIX25_ARB 0x88D9 -#define GL_MATRIX26_ARB 0x88DA -#define GL_MATRIX27_ARB 0x88DB -#define GL_MATRIX28_ARB 0x88DC -#define GL_MATRIX29_ARB 0x88DD -#define GL_MATRIX30_ARB 0x88DE -#define GL_MATRIX31_ARB 0x88DF -#endif - -#ifndef GL_ARB_fragment_program -#define GL_FRAGMENT_PROGRAM_ARB 0x8804 -#define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805 -#define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806 -#define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807 -#define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808 -#define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809 -#define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A -#define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B -#define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C -#define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D -#define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E -#define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F -#define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810 -#define GL_MAX_TEXTURE_COORDS_ARB 0x8871 -#define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872 -#endif - -#ifndef GL_ARB_vertex_buffer_object -#define GL_BUFFER_SIZE_ARB 0x8764 -#define GL_BUFFER_USAGE_ARB 0x8765 -#define GL_ARRAY_BUFFER_ARB 0x8892 -#define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893 -#define GL_ARRAY_BUFFER_BINDING_ARB 0x8894 -#define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895 -#define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896 -#define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897 -#define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898 -#define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899 -#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A -#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B -#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C -#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D -#define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E -#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F -#define GL_READ_ONLY_ARB 0x88B8 -#define GL_WRITE_ONLY_ARB 0x88B9 -#define GL_READ_WRITE_ARB 0x88BA -#define GL_BUFFER_ACCESS_ARB 0x88BB -#define GL_BUFFER_MAPPED_ARB 0x88BC -#define GL_BUFFER_MAP_POINTER_ARB 0x88BD -#define GL_STREAM_DRAW_ARB 0x88E0 -#define GL_STREAM_READ_ARB 0x88E1 -#define GL_STREAM_COPY_ARB 0x88E2 -#define GL_STATIC_DRAW_ARB 0x88E4 -#define GL_STATIC_READ_ARB 0x88E5 -#define GL_STATIC_COPY_ARB 0x88E6 -#define GL_DYNAMIC_DRAW_ARB 0x88E8 -#define GL_DYNAMIC_READ_ARB 0x88E9 -#define GL_DYNAMIC_COPY_ARB 0x88EA -#endif - -#ifndef GL_ARB_occlusion_query -#define GL_QUERY_COUNTER_BITS_ARB 0x8864 -#define GL_CURRENT_QUERY_ARB 0x8865 -#define GL_QUERY_RESULT_ARB 0x8866 -#define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867 -#define GL_SAMPLES_PASSED_ARB 0x8914 -#endif - -#ifndef GL_ARB_shader_objects -#define GL_PROGRAM_OBJECT_ARB 0x8B40 -#define GL_SHADER_OBJECT_ARB 0x8B48 -#define GL_OBJECT_TYPE_ARB 0x8B4E -#define GL_OBJECT_SUBTYPE_ARB 0x8B4F -#define GL_FLOAT_VEC2_ARB 0x8B50 -#define GL_FLOAT_VEC3_ARB 0x8B51 -#define GL_FLOAT_VEC4_ARB 0x8B52 -#define GL_INT_VEC2_ARB 0x8B53 -#define GL_INT_VEC3_ARB 0x8B54 -#define GL_INT_VEC4_ARB 0x8B55 -#define GL_BOOL_ARB 0x8B56 -#define GL_BOOL_VEC2_ARB 0x8B57 -#define GL_BOOL_VEC3_ARB 0x8B58 -#define GL_BOOL_VEC4_ARB 0x8B59 -#define GL_FLOAT_MAT2_ARB 0x8B5A -#define GL_FLOAT_MAT3_ARB 0x8B5B -#define GL_FLOAT_MAT4_ARB 0x8B5C -#define GL_SAMPLER_1D_ARB 0x8B5D -#define GL_SAMPLER_2D_ARB 0x8B5E -#define GL_SAMPLER_3D_ARB 0x8B5F -#define GL_SAMPLER_CUBE_ARB 0x8B60 -#define GL_SAMPLER_1D_SHADOW_ARB 0x8B61 -#define GL_SAMPLER_2D_SHADOW_ARB 0x8B62 -#define GL_SAMPLER_2D_RECT_ARB 0x8B63 -#define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64 -#define GL_OBJECT_DELETE_STATUS_ARB 0x8B80 -#define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81 -#define GL_OBJECT_LINK_STATUS_ARB 0x8B82 -#define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83 -#define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84 -#define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85 -#define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86 -#define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87 -#define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88 -#endif - -#ifndef GL_ARB_vertex_shader -#define GL_VERTEX_SHADER_ARB 0x8B31 -#define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A -#define GL_MAX_VARYING_FLOATS_ARB 0x8B4B -#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C -#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D -#define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89 -#define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A -#endif - -#ifndef GL_ARB_fragment_shader -#define GL_FRAGMENT_SHADER_ARB 0x8B30 -#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49 -#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B -#endif - -#ifndef GL_ARB_shading_language_100 -#define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C -#endif - -#ifndef GL_ARB_texture_non_power_of_two -#endif - -#ifndef GL_ARB_point_sprite -#define GL_POINT_SPRITE_ARB 0x8861 -#define GL_COORD_REPLACE_ARB 0x8862 -#endif - -#ifndef GL_ARB_fragment_program_shadow -#endif - -#ifndef GL_ARB_draw_buffers -#define GL_MAX_DRAW_BUFFERS_ARB 0x8824 -#define GL_DRAW_BUFFER0_ARB 0x8825 -#define GL_DRAW_BUFFER1_ARB 0x8826 -#define GL_DRAW_BUFFER2_ARB 0x8827 -#define GL_DRAW_BUFFER3_ARB 0x8828 -#define GL_DRAW_BUFFER4_ARB 0x8829 -#define GL_DRAW_BUFFER5_ARB 0x882A -#define GL_DRAW_BUFFER6_ARB 0x882B -#define GL_DRAW_BUFFER7_ARB 0x882C -#define GL_DRAW_BUFFER8_ARB 0x882D -#define GL_DRAW_BUFFER9_ARB 0x882E -#define GL_DRAW_BUFFER10_ARB 0x882F -#define GL_DRAW_BUFFER11_ARB 0x8830 -#define GL_DRAW_BUFFER12_ARB 0x8831 -#define GL_DRAW_BUFFER13_ARB 0x8832 -#define GL_DRAW_BUFFER14_ARB 0x8833 -#define GL_DRAW_BUFFER15_ARB 0x8834 -#endif - -#ifndef GL_ARB_texture_rectangle -#define GL_TEXTURE_RECTANGLE_ARB 0x84F5 -#define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6 -#define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7 -#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8 -#endif - -#ifndef GL_ARB_color_buffer_float -#define GL_RGBA_FLOAT_MODE_ARB 0x8820 -#define GL_CLAMP_VERTEX_COLOR_ARB 0x891A -#define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B -#define GL_CLAMP_READ_COLOR_ARB 0x891C -#define GL_FIXED_ONLY_ARB 0x891D -#endif - -#ifndef GL_ARB_half_float_pixel -#define GL_HALF_FLOAT_ARB 0x140B -#endif - -#ifndef GL_ARB_texture_float -#define GL_TEXTURE_RED_TYPE_ARB 0x8C10 -#define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11 -#define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12 -#define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13 -#define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14 -#define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15 -#define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16 -#define GL_UNSIGNED_NORMALIZED_ARB 0x8C17 -#define GL_RGBA32F_ARB 0x8814 -#define GL_RGB32F_ARB 0x8815 -#define GL_ALPHA32F_ARB 0x8816 -#define GL_INTENSITY32F_ARB 0x8817 -#define GL_LUMINANCE32F_ARB 0x8818 -#define GL_LUMINANCE_ALPHA32F_ARB 0x8819 -#define GL_RGBA16F_ARB 0x881A -#define GL_RGB16F_ARB 0x881B -#define GL_ALPHA16F_ARB 0x881C -#define GL_INTENSITY16F_ARB 0x881D -#define GL_LUMINANCE16F_ARB 0x881E -#define GL_LUMINANCE_ALPHA16F_ARB 0x881F -#endif - -#ifndef GL_ARB_pixel_buffer_object -#define GL_PIXEL_PACK_BUFFER_ARB 0x88EB -#define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC -#define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED -#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF -#endif - -#ifndef GL_EXT_abgr -#define GL_ABGR_EXT 0x8000 -#endif - -#ifndef GL_EXT_blend_color -#define GL_CONSTANT_COLOR_EXT 0x8001 -#define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002 -#define GL_CONSTANT_ALPHA_EXT 0x8003 -#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004 -#define GL_BLEND_COLOR_EXT 0x8005 -#endif - -#ifndef GL_EXT_polygon_offset -#define GL_POLYGON_OFFSET_EXT 0x8037 -#define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038 -#define GL_POLYGON_OFFSET_BIAS_EXT 0x8039 -#endif - -#ifndef GL_EXT_texture -#define GL_ALPHA4_EXT 0x803B -#define GL_ALPHA8_EXT 0x803C -#define GL_ALPHA12_EXT 0x803D -#define GL_ALPHA16_EXT 0x803E -#define GL_LUMINANCE4_EXT 0x803F -#define GL_LUMINANCE8_EXT 0x8040 -#define GL_LUMINANCE12_EXT 0x8041 -#define GL_LUMINANCE16_EXT 0x8042 -#define GL_LUMINANCE4_ALPHA4_EXT 0x8043 -#define GL_LUMINANCE6_ALPHA2_EXT 0x8044 -#define GL_LUMINANCE8_ALPHA8_EXT 0x8045 -#define GL_LUMINANCE12_ALPHA4_EXT 0x8046 -#define GL_LUMINANCE12_ALPHA12_EXT 0x8047 -#define GL_LUMINANCE16_ALPHA16_EXT 0x8048 -#define GL_INTENSITY_EXT 0x8049 -#define GL_INTENSITY4_EXT 0x804A -#define GL_INTENSITY8_EXT 0x804B -#define GL_INTENSITY12_EXT 0x804C -#define GL_INTENSITY16_EXT 0x804D -#define GL_RGB2_EXT 0x804E -#define GL_RGB4_EXT 0x804F -#define GL_RGB5_EXT 0x8050 -#define GL_RGB8_EXT 0x8051 -#define GL_RGB10_EXT 0x8052 -#define GL_RGB12_EXT 0x8053 -#define GL_RGB16_EXT 0x8054 -#define GL_RGBA2_EXT 0x8055 -#define GL_RGBA4_EXT 0x8056 -#define GL_RGB5_A1_EXT 0x8057 -#define GL_RGBA8_EXT 0x8058 -#define GL_RGB10_A2_EXT 0x8059 -#define GL_RGBA12_EXT 0x805A -#define GL_RGBA16_EXT 0x805B -#define GL_TEXTURE_RED_SIZE_EXT 0x805C -#define GL_TEXTURE_GREEN_SIZE_EXT 0x805D -#define GL_TEXTURE_BLUE_SIZE_EXT 0x805E -#define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F -#define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060 -#define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061 -#define GL_REPLACE_EXT 0x8062 -#define GL_PROXY_TEXTURE_1D_EXT 0x8063 -#define GL_PROXY_TEXTURE_2D_EXT 0x8064 -#define GL_TEXTURE_TOO_LARGE_EXT 0x8065 -#endif - -#ifndef GL_EXT_texture3D -#define GL_PACK_SKIP_IMAGES_EXT 0x806B -#define GL_PACK_IMAGE_HEIGHT_EXT 0x806C -#define GL_UNPACK_SKIP_IMAGES_EXT 0x806D -#define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E -#define GL_TEXTURE_3D_EXT 0x806F -#define GL_PROXY_TEXTURE_3D_EXT 0x8070 -#define GL_TEXTURE_DEPTH_EXT 0x8071 -#define GL_TEXTURE_WRAP_R_EXT 0x8072 -#define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073 -#endif - -#ifndef GL_SGIS_texture_filter4 -#define GL_FILTER4_SGIS 0x8146 -#define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147 -#endif - -#ifndef GL_EXT_subtexture -#endif - -#ifndef GL_EXT_copy_texture -#endif - -#ifndef GL_EXT_histogram -#define GL_HISTOGRAM_EXT 0x8024 -#define GL_PROXY_HISTOGRAM_EXT 0x8025 -#define GL_HISTOGRAM_WIDTH_EXT 0x8026 -#define GL_HISTOGRAM_FORMAT_EXT 0x8027 -#define GL_HISTOGRAM_RED_SIZE_EXT 0x8028 -#define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029 -#define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A -#define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B -#define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C -#define GL_HISTOGRAM_SINK_EXT 0x802D -#define GL_MINMAX_EXT 0x802E -#define GL_MINMAX_FORMAT_EXT 0x802F -#define GL_MINMAX_SINK_EXT 0x8030 -#define GL_TABLE_TOO_LARGE_EXT 0x8031 -#endif - -#ifndef GL_EXT_convolution -#define GL_CONVOLUTION_1D_EXT 0x8010 -#define GL_CONVOLUTION_2D_EXT 0x8011 -#define GL_SEPARABLE_2D_EXT 0x8012 -#define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013 -#define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014 -#define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015 -#define GL_REDUCE_EXT 0x8016 -#define GL_CONVOLUTION_FORMAT_EXT 0x8017 -#define GL_CONVOLUTION_WIDTH_EXT 0x8018 -#define GL_CONVOLUTION_HEIGHT_EXT 0x8019 -#define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A -#define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B -#define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C -#define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D -#define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E -#define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F -#define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020 -#define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021 -#define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022 -#define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023 -#endif - -#ifndef GL_SGI_color_matrix -#define GL_COLOR_MATRIX_SGI 0x80B1 -#define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2 -#define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3 -#define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4 -#define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5 -#define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6 -#define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7 -#define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8 -#define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9 -#define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA -#define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB -#endif - -#ifndef GL_SGI_color_table -#define GL_COLOR_TABLE_SGI 0x80D0 -#define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1 -#define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2 -#define GL_PROXY_COLOR_TABLE_SGI 0x80D3 -#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4 -#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5 -#define GL_COLOR_TABLE_SCALE_SGI 0x80D6 -#define GL_COLOR_TABLE_BIAS_SGI 0x80D7 -#define GL_COLOR_TABLE_FORMAT_SGI 0x80D8 -#define GL_COLOR_TABLE_WIDTH_SGI 0x80D9 -#define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA -#define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB -#define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC -#define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD -#define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE -#define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF -#endif - -#ifndef GL_SGIS_pixel_texture -#define GL_PIXEL_TEXTURE_SGIS 0x8353 -#define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354 -#define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355 -#define GL_PIXEL_GROUP_COLOR_SGIS 0x8356 -#endif - -#ifndef GL_SGIX_pixel_texture -#define GL_PIXEL_TEX_GEN_SGIX 0x8139 -#define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B -#endif - -#ifndef GL_SGIS_texture4D -#define GL_PACK_SKIP_VOLUMES_SGIS 0x8130 -#define GL_PACK_IMAGE_DEPTH_SGIS 0x8131 -#define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132 -#define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133 -#define GL_TEXTURE_4D_SGIS 0x8134 -#define GL_PROXY_TEXTURE_4D_SGIS 0x8135 -#define GL_TEXTURE_4DSIZE_SGIS 0x8136 -#define GL_TEXTURE_WRAP_Q_SGIS 0x8137 -#define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138 -#define GL_TEXTURE_4D_BINDING_SGIS 0x814F -#endif - -#ifndef GL_SGI_texture_color_table -#define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC -#define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD -#endif - -#ifndef GL_EXT_cmyka -#define GL_CMYK_EXT 0x800C -#define GL_CMYKA_EXT 0x800D -#define GL_PACK_CMYK_HINT_EXT 0x800E -#define GL_UNPACK_CMYK_HINT_EXT 0x800F -#endif - -#ifndef GL_EXT_texture_object -#define GL_TEXTURE_PRIORITY_EXT 0x8066 -#define GL_TEXTURE_RESIDENT_EXT 0x8067 -#define GL_TEXTURE_1D_BINDING_EXT 0x8068 -#define GL_TEXTURE_2D_BINDING_EXT 0x8069 -#define GL_TEXTURE_3D_BINDING_EXT 0x806A -#endif - -#ifndef GL_SGIS_detail_texture -#define GL_DETAIL_TEXTURE_2D_SGIS 0x8095 -#define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096 -#define GL_LINEAR_DETAIL_SGIS 0x8097 -#define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098 -#define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099 -#define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A -#define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B -#define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C -#endif - -#ifndef GL_SGIS_sharpen_texture -#define GL_LINEAR_SHARPEN_SGIS 0x80AD -#define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE -#define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF -#define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0 -#endif - -#ifndef GL_EXT_packed_pixels -#define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032 -#define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033 -#define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034 -#define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035 -#define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036 -#endif - -#ifndef GL_SGIS_texture_lod -#define GL_TEXTURE_MIN_LOD_SGIS 0x813A -#define GL_TEXTURE_MAX_LOD_SGIS 0x813B -#define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C -#define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D -#endif - -#ifndef GL_SGIS_multisample -#define GL_MULTISAMPLE_SGIS 0x809D -#define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E -#define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F -#define GL_SAMPLE_MASK_SGIS 0x80A0 -#define GL_1PASS_SGIS 0x80A1 -#define GL_2PASS_0_SGIS 0x80A2 -#define GL_2PASS_1_SGIS 0x80A3 -#define GL_4PASS_0_SGIS 0x80A4 -#define GL_4PASS_1_SGIS 0x80A5 -#define GL_4PASS_2_SGIS 0x80A6 -#define GL_4PASS_3_SGIS 0x80A7 -#define GL_SAMPLE_BUFFERS_SGIS 0x80A8 -#define GL_SAMPLES_SGIS 0x80A9 -#define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA -#define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB -#define GL_SAMPLE_PATTERN_SGIS 0x80AC -#endif - -#ifndef GL_EXT_rescale_normal -#define GL_RESCALE_NORMAL_EXT 0x803A -#endif - -#ifndef GL_EXT_vertex_array -#define GL_VERTEX_ARRAY_EXT 0x8074 -#define GL_NORMAL_ARRAY_EXT 0x8075 -#define GL_COLOR_ARRAY_EXT 0x8076 -#define GL_INDEX_ARRAY_EXT 0x8077 -#define GL_TEXTURE_COORD_ARRAY_EXT 0x8078 -#define GL_EDGE_FLAG_ARRAY_EXT 0x8079 -#define GL_VERTEX_ARRAY_SIZE_EXT 0x807A -#define GL_VERTEX_ARRAY_TYPE_EXT 0x807B -#define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C -#define GL_VERTEX_ARRAY_COUNT_EXT 0x807D -#define GL_NORMAL_ARRAY_TYPE_EXT 0x807E -#define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F -#define GL_NORMAL_ARRAY_COUNT_EXT 0x8080 -#define GL_COLOR_ARRAY_SIZE_EXT 0x8081 -#define GL_COLOR_ARRAY_TYPE_EXT 0x8082 -#define GL_COLOR_ARRAY_STRIDE_EXT 0x8083 -#define GL_COLOR_ARRAY_COUNT_EXT 0x8084 -#define GL_INDEX_ARRAY_TYPE_EXT 0x8085 -#define GL_INDEX_ARRAY_STRIDE_EXT 0x8086 -#define GL_INDEX_ARRAY_COUNT_EXT 0x8087 -#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088 -#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089 -#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A -#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B -#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C -#define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D -#define GL_VERTEX_ARRAY_POINTER_EXT 0x808E -#define GL_NORMAL_ARRAY_POINTER_EXT 0x808F -#define GL_COLOR_ARRAY_POINTER_EXT 0x8090 -#define GL_INDEX_ARRAY_POINTER_EXT 0x8091 -#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092 -#define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093 -#endif - -#ifndef GL_EXT_misc_attribute -#endif - -#ifndef GL_SGIS_generate_mipmap -#define GL_GENERATE_MIPMAP_SGIS 0x8191 -#define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192 -#endif - -#ifndef GL_SGIX_clipmap -#define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170 -#define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171 -#define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172 -#define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173 -#define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174 -#define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175 -#define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176 -#define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177 -#define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178 -#define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D -#define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E -#define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F -#endif - -#ifndef GL_SGIX_shadow -#define GL_TEXTURE_COMPARE_SGIX 0x819A -#define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B -#define GL_TEXTURE_LEQUAL_R_SGIX 0x819C -#define GL_TEXTURE_GEQUAL_R_SGIX 0x819D -#endif - -#ifndef GL_SGIS_texture_edge_clamp -#define GL_CLAMP_TO_EDGE_SGIS 0x812F -#endif - -#ifndef GL_SGIS_texture_border_clamp -#define GL_CLAMP_TO_BORDER_SGIS 0x812D -#endif - -#ifndef GL_EXT_blend_minmax -#define GL_FUNC_ADD_EXT 0x8006 -#define GL_MIN_EXT 0x8007 -#define GL_MAX_EXT 0x8008 -#define GL_BLEND_EQUATION_EXT 0x8009 -#endif - -#ifndef GL_EXT_blend_subtract -#define GL_FUNC_SUBTRACT_EXT 0x800A -#define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B -#endif - -#ifndef GL_EXT_blend_logic_op -#endif - -#ifndef GL_SGIX_interlace -#define GL_INTERLACE_SGIX 0x8094 -#endif - -#ifndef GL_SGIX_pixel_tiles -#define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E -#define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F -#define GL_PIXEL_TILE_WIDTH_SGIX 0x8140 -#define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141 -#define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142 -#define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143 -#define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144 -#define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145 -#endif - -#ifndef GL_SGIS_texture_select -#define GL_DUAL_ALPHA4_SGIS 0x8110 -#define GL_DUAL_ALPHA8_SGIS 0x8111 -#define GL_DUAL_ALPHA12_SGIS 0x8112 -#define GL_DUAL_ALPHA16_SGIS 0x8113 -#define GL_DUAL_LUMINANCE4_SGIS 0x8114 -#define GL_DUAL_LUMINANCE8_SGIS 0x8115 -#define GL_DUAL_LUMINANCE12_SGIS 0x8116 -#define GL_DUAL_LUMINANCE16_SGIS 0x8117 -#define GL_DUAL_INTENSITY4_SGIS 0x8118 -#define GL_DUAL_INTENSITY8_SGIS 0x8119 -#define GL_DUAL_INTENSITY12_SGIS 0x811A -#define GL_DUAL_INTENSITY16_SGIS 0x811B -#define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C -#define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D -#define GL_QUAD_ALPHA4_SGIS 0x811E -#define GL_QUAD_ALPHA8_SGIS 0x811F -#define GL_QUAD_LUMINANCE4_SGIS 0x8120 -#define GL_QUAD_LUMINANCE8_SGIS 0x8121 -#define GL_QUAD_INTENSITY4_SGIS 0x8122 -#define GL_QUAD_INTENSITY8_SGIS 0x8123 -#define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124 -#define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125 -#endif - -#ifndef GL_SGIX_sprite -#define GL_SPRITE_SGIX 0x8148 -#define GL_SPRITE_MODE_SGIX 0x8149 -#define GL_SPRITE_AXIS_SGIX 0x814A -#define GL_SPRITE_TRANSLATION_SGIX 0x814B -#define GL_SPRITE_AXIAL_SGIX 0x814C -#define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D -#define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E -#endif - -#ifndef GL_SGIX_texture_multi_buffer -#define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E -#endif - -#ifndef GL_EXT_point_parameters -#define GL_POINT_SIZE_MIN_EXT 0x8126 -#define GL_POINT_SIZE_MAX_EXT 0x8127 -#define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128 -#define GL_DISTANCE_ATTENUATION_EXT 0x8129 -#endif - -#ifndef GL_SGIS_point_parameters -#define GL_POINT_SIZE_MIN_SGIS 0x8126 -#define GL_POINT_SIZE_MAX_SGIS 0x8127 -#define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128 -#define GL_DISTANCE_ATTENUATION_SGIS 0x8129 -#endif - -#ifndef GL_SGIX_instruments -#define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180 -#define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181 -#endif - -#ifndef GL_SGIX_texture_scale_bias -#define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179 -#define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A -#define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B -#define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C -#endif - -#ifndef GL_SGIX_framezoom -#define GL_FRAMEZOOM_SGIX 0x818B -#define GL_FRAMEZOOM_FACTOR_SGIX 0x818C -#define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D -#endif - -#ifndef GL_SGIX_tag_sample_buffer -#endif - -#ifndef GL_FfdMaskSGIX -#define GL_TEXTURE_DEFORMATION_BIT_SGIX 0x00000001 -#define GL_GEOMETRY_DEFORMATION_BIT_SGIX 0x00000002 -#endif - -#ifndef GL_SGIX_polynomial_ffd -#define GL_GEOMETRY_DEFORMATION_SGIX 0x8194 -#define GL_TEXTURE_DEFORMATION_SGIX 0x8195 -#define GL_DEFORMATIONS_MASK_SGIX 0x8196 -#define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197 -#endif - -#ifndef GL_SGIX_reference_plane -#define GL_REFERENCE_PLANE_SGIX 0x817D -#define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E -#endif - -#ifndef GL_SGIX_flush_raster -#endif - -#ifndef GL_SGIX_depth_texture -#define GL_DEPTH_COMPONENT16_SGIX 0x81A5 -#define GL_DEPTH_COMPONENT24_SGIX 0x81A6 -#define GL_DEPTH_COMPONENT32_SGIX 0x81A7 -#endif - -#ifndef GL_SGIS_fog_function -#define GL_FOG_FUNC_SGIS 0x812A -#define GL_FOG_FUNC_POINTS_SGIS 0x812B -#define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C -#endif - -#ifndef GL_SGIX_fog_offset -#define GL_FOG_OFFSET_SGIX 0x8198 -#define GL_FOG_OFFSET_VALUE_SGIX 0x8199 -#endif - -#ifndef GL_HP_image_transform -#define GL_IMAGE_SCALE_X_HP 0x8155 -#define GL_IMAGE_SCALE_Y_HP 0x8156 -#define GL_IMAGE_TRANSLATE_X_HP 0x8157 -#define GL_IMAGE_TRANSLATE_Y_HP 0x8158 -#define GL_IMAGE_ROTATE_ANGLE_HP 0x8159 -#define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A -#define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B -#define GL_IMAGE_MAG_FILTER_HP 0x815C -#define GL_IMAGE_MIN_FILTER_HP 0x815D -#define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E -#define GL_CUBIC_HP 0x815F -#define GL_AVERAGE_HP 0x8160 -#define GL_IMAGE_TRANSFORM_2D_HP 0x8161 -#define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162 -#define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163 -#endif - -#ifndef GL_HP_convolution_border_modes -#define GL_IGNORE_BORDER_HP 0x8150 -#define GL_CONSTANT_BORDER_HP 0x8151 -#define GL_REPLICATE_BORDER_HP 0x8153 -#define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154 -#endif - -#ifndef GL_INGR_palette_buffer -#endif - -#ifndef GL_SGIX_texture_add_env -#define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE -#endif - -#ifndef GL_EXT_color_subtable -#endif - -#ifndef GL_PGI_vertex_hints -#define GL_VERTEX_DATA_HINT_PGI 0x1A22A -#define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B -#define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C -#define GL_MAX_VERTEX_HINT_PGI 0x1A22D -#define GL_COLOR3_BIT_PGI 0x00010000 -#define GL_COLOR4_BIT_PGI 0x00020000 -#define GL_EDGEFLAG_BIT_PGI 0x00040000 -#define GL_INDEX_BIT_PGI 0x00080000 -#define GL_MAT_AMBIENT_BIT_PGI 0x00100000 -#define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000 -#define GL_MAT_DIFFUSE_BIT_PGI 0x00400000 -#define GL_MAT_EMISSION_BIT_PGI 0x00800000 -#define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000 -#define GL_MAT_SHININESS_BIT_PGI 0x02000000 -#define GL_MAT_SPECULAR_BIT_PGI 0x04000000 -#define GL_NORMAL_BIT_PGI 0x08000000 -#define GL_TEXCOORD1_BIT_PGI 0x10000000 -#define GL_TEXCOORD2_BIT_PGI 0x20000000 -#define GL_TEXCOORD3_BIT_PGI 0x40000000 -#define GL_TEXCOORD4_BIT_PGI 0x80000000 -#define GL_VERTEX23_BIT_PGI 0x00000004 -#define GL_VERTEX4_BIT_PGI 0x00000008 -#endif - -#ifndef GL_PGI_misc_hints -#define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8 -#define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD -#define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE -#define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202 -#define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203 -#define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204 -#define GL_ALWAYS_FAST_HINT_PGI 0x1A20C -#define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D -#define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E -#define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F -#define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210 -#define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211 -#define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216 -#define GL_STRICT_LIGHTING_HINT_PGI 0x1A217 -#define GL_STRICT_SCISSOR_HINT_PGI 0x1A218 -#define GL_FULL_STIPPLE_HINT_PGI 0x1A219 -#define GL_CLIP_NEAR_HINT_PGI 0x1A220 -#define GL_CLIP_FAR_HINT_PGI 0x1A221 -#define GL_WIDE_LINE_HINT_PGI 0x1A222 -#define GL_BACK_NORMALS_HINT_PGI 0x1A223 -#endif - -#ifndef GL_EXT_paletted_texture -#define GL_COLOR_INDEX1_EXT 0x80E2 -#define GL_COLOR_INDEX2_EXT 0x80E3 -#define GL_COLOR_INDEX4_EXT 0x80E4 -#define GL_COLOR_INDEX8_EXT 0x80E5 -#define GL_COLOR_INDEX12_EXT 0x80E6 -#define GL_COLOR_INDEX16_EXT 0x80E7 -#define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED -#endif - -#ifndef GL_EXT_clip_volume_hint -#define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0 -#endif - -#ifndef GL_SGIX_list_priority -#define GL_LIST_PRIORITY_SGIX 0x8182 -#endif - -#ifndef GL_SGIX_ir_instrument1 -#define GL_IR_INSTRUMENT1_SGIX 0x817F -#endif - -#ifndef GL_SGIX_calligraphic_fragment -#define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183 -#endif - -#ifndef GL_SGIX_texture_lod_bias -#define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E -#define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F -#define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190 -#endif - -#ifndef GL_SGIX_shadow_ambient -#define GL_SHADOW_AMBIENT_SGIX 0x80BF -#endif - -#ifndef GL_EXT_index_texture -#endif - -#ifndef GL_EXT_index_material -#define GL_INDEX_MATERIAL_EXT 0x81B8 -#define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9 -#define GL_INDEX_MATERIAL_FACE_EXT 0x81BA -#endif - -#ifndef GL_EXT_index_func -#define GL_INDEX_TEST_EXT 0x81B5 -#define GL_INDEX_TEST_FUNC_EXT 0x81B6 -#define GL_INDEX_TEST_REF_EXT 0x81B7 -#endif - -#ifndef GL_EXT_index_array_formats -#define GL_IUI_V2F_EXT 0x81AD -#define GL_IUI_V3F_EXT 0x81AE -#define GL_IUI_N3F_V2F_EXT 0x81AF -#define GL_IUI_N3F_V3F_EXT 0x81B0 -#define GL_T2F_IUI_V2F_EXT 0x81B1 -#define GL_T2F_IUI_V3F_EXT 0x81B2 -#define GL_T2F_IUI_N3F_V2F_EXT 0x81B3 -#define GL_T2F_IUI_N3F_V3F_EXT 0x81B4 -#endif - -#ifndef GL_EXT_compiled_vertex_array -#define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8 -#define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9 -#endif - -#ifndef GL_EXT_cull_vertex -#define GL_CULL_VERTEX_EXT 0x81AA -#define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB -#define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC -#endif - -#ifndef GL_SGIX_ycrcb -#define GL_YCRCB_422_SGIX 0x81BB -#define GL_YCRCB_444_SGIX 0x81BC -#endif - -#ifndef GL_SGIX_fragment_lighting -#define GL_FRAGMENT_LIGHTING_SGIX 0x8400 -#define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401 -#define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402 -#define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403 -#define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404 -#define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405 -#define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406 -#define GL_LIGHT_ENV_MODE_SGIX 0x8407 -#define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408 -#define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409 -#define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A -#define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B -#define GL_FRAGMENT_LIGHT0_SGIX 0x840C -#define GL_FRAGMENT_LIGHT1_SGIX 0x840D -#define GL_FRAGMENT_LIGHT2_SGIX 0x840E -#define GL_FRAGMENT_LIGHT3_SGIX 0x840F -#define GL_FRAGMENT_LIGHT4_SGIX 0x8410 -#define GL_FRAGMENT_LIGHT5_SGIX 0x8411 -#define GL_FRAGMENT_LIGHT6_SGIX 0x8412 -#define GL_FRAGMENT_LIGHT7_SGIX 0x8413 -#endif - -#ifndef GL_IBM_rasterpos_clip -#define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262 -#endif - -#ifndef GL_HP_texture_lighting -#define GL_TEXTURE_LIGHTING_MODE_HP 0x8167 -#define GL_TEXTURE_POST_SPECULAR_HP 0x8168 -#define GL_TEXTURE_PRE_SPECULAR_HP 0x8169 -#endif - -#ifndef GL_EXT_draw_range_elements -#define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8 -#define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9 -#endif - -#ifndef GL_WIN_phong_shading -#define GL_PHONG_WIN 0x80EA -#define GL_PHONG_HINT_WIN 0x80EB -#endif - -#ifndef GL_WIN_specular_fog -#define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC -#endif - -#ifndef GL_EXT_light_texture -#define GL_FRAGMENT_MATERIAL_EXT 0x8349 -#define GL_FRAGMENT_NORMAL_EXT 0x834A -#define GL_FRAGMENT_COLOR_EXT 0x834C -#define GL_ATTENUATION_EXT 0x834D -#define GL_SHADOW_ATTENUATION_EXT 0x834E -#define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F -#define GL_TEXTURE_LIGHT_EXT 0x8350 -#define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351 -#define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352 -/* reuse GL_FRAGMENT_DEPTH_EXT */ -#endif - -#ifndef GL_SGIX_blend_alpha_minmax -#define GL_ALPHA_MIN_SGIX 0x8320 -#define GL_ALPHA_MAX_SGIX 0x8321 -#endif - -#ifndef GL_SGIX_impact_pixel_texture -#define GL_PIXEL_TEX_GEN_Q_CEILING_SGIX 0x8184 -#define GL_PIXEL_TEX_GEN_Q_ROUND_SGIX 0x8185 -#define GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX 0x8186 -#define GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX 0x8187 -#define GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX 0x8188 -#define GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX 0x8189 -#define GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX 0x818A -#endif - -#ifndef GL_EXT_bgra -#define GL_BGR_EXT 0x80E0 -#define GL_BGRA_EXT 0x80E1 -#endif - -#ifndef GL_SGIX_async -#define GL_ASYNC_MARKER_SGIX 0x8329 -#endif - -#ifndef GL_SGIX_async_pixel -#define GL_ASYNC_TEX_IMAGE_SGIX 0x835C -#define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D -#define GL_ASYNC_READ_PIXELS_SGIX 0x835E -#define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F -#define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360 -#define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361 -#endif - -#ifndef GL_SGIX_async_histogram -#define GL_ASYNC_HISTOGRAM_SGIX 0x832C -#define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D -#endif - -#ifndef GL_INTEL_texture_scissor -#endif - -#ifndef GL_INTEL_parallel_arrays -#define GL_PARALLEL_ARRAYS_INTEL 0x83F4 -#define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5 -#define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6 -#define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7 -#define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8 -#endif - -#ifndef GL_HP_occlusion_test -#define GL_OCCLUSION_TEST_HP 0x8165 -#define GL_OCCLUSION_TEST_RESULT_HP 0x8166 -#endif - -#ifndef GL_EXT_pixel_transform -#define GL_PIXEL_TRANSFORM_2D_EXT 0x8330 -#define GL_PIXEL_MAG_FILTER_EXT 0x8331 -#define GL_PIXEL_MIN_FILTER_EXT 0x8332 -#define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333 -#define GL_CUBIC_EXT 0x8334 -#define GL_AVERAGE_EXT 0x8335 -#define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336 -#define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337 -#define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338 -#endif - -#ifndef GL_EXT_pixel_transform_color_table -#endif - -#ifndef GL_EXT_shared_texture_palette -#define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB -#endif - -#ifndef GL_EXT_separate_specular_color -#define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8 -#define GL_SINGLE_COLOR_EXT 0x81F9 -#define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA -#endif - -#ifndef GL_EXT_secondary_color -#define GL_COLOR_SUM_EXT 0x8458 -#define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459 -#define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A -#define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B -#define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C -#define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D -#define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E -#endif - -#ifndef GL_EXT_texture_perturb_normal -#define GL_PERTURB_EXT 0x85AE -#define GL_TEXTURE_NORMAL_EXT 0x85AF -#endif - -#ifndef GL_EXT_multi_draw_arrays -#endif - -#ifndef GL_EXT_fog_coord -#define GL_FOG_COORDINATE_SOURCE_EXT 0x8450 -#define GL_FOG_COORDINATE_EXT 0x8451 -#define GL_FRAGMENT_DEPTH_EXT 0x8452 -#define GL_CURRENT_FOG_COORDINATE_EXT 0x8453 -#define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454 -#define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455 -#define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456 -#define GL_FOG_COORDINATE_ARRAY_EXT 0x8457 -#endif - -#ifndef GL_REND_screen_coordinates -#define GL_SCREEN_COORDINATES_REND 0x8490 -#define GL_INVERTED_SCREEN_W_REND 0x8491 -#endif - -#ifndef GL_EXT_coordinate_frame -#define GL_TANGENT_ARRAY_EXT 0x8439 -#define GL_BINORMAL_ARRAY_EXT 0x843A -#define GL_CURRENT_TANGENT_EXT 0x843B -#define GL_CURRENT_BINORMAL_EXT 0x843C -#define GL_TANGENT_ARRAY_TYPE_EXT 0x843E -#define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F -#define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440 -#define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441 -#define GL_TANGENT_ARRAY_POINTER_EXT 0x8442 -#define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443 -#define GL_MAP1_TANGENT_EXT 0x8444 -#define GL_MAP2_TANGENT_EXT 0x8445 -#define GL_MAP1_BINORMAL_EXT 0x8446 -#define GL_MAP2_BINORMAL_EXT 0x8447 -#endif - -#ifndef GL_EXT_texture_env_combine -#define GL_COMBINE_EXT 0x8570 -#define GL_COMBINE_RGB_EXT 0x8571 -#define GL_COMBINE_ALPHA_EXT 0x8572 -#define GL_RGB_SCALE_EXT 0x8573 -#define GL_ADD_SIGNED_EXT 0x8574 -#define GL_INTERPOLATE_EXT 0x8575 -#define GL_CONSTANT_EXT 0x8576 -#define GL_PRIMARY_COLOR_EXT 0x8577 -#define GL_PREVIOUS_EXT 0x8578 -#define GL_SOURCE0_RGB_EXT 0x8580 -#define GL_SOURCE1_RGB_EXT 0x8581 -#define GL_SOURCE2_RGB_EXT 0x8582 -#define GL_SOURCE0_ALPHA_EXT 0x8588 -#define GL_SOURCE1_ALPHA_EXT 0x8589 -#define GL_SOURCE2_ALPHA_EXT 0x858A -#define GL_OPERAND0_RGB_EXT 0x8590 -#define GL_OPERAND1_RGB_EXT 0x8591 -#define GL_OPERAND2_RGB_EXT 0x8592 -#define GL_OPERAND0_ALPHA_EXT 0x8598 -#define GL_OPERAND1_ALPHA_EXT 0x8599 -#define GL_OPERAND2_ALPHA_EXT 0x859A -#endif - -#ifndef GL_APPLE_specular_vector -#define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0 -#endif - -#ifndef GL_APPLE_transform_hint -#define GL_TRANSFORM_HINT_APPLE 0x85B1 -#endif - -#ifndef GL_SGIX_fog_scale -#define GL_FOG_SCALE_SGIX 0x81FC -#define GL_FOG_SCALE_VALUE_SGIX 0x81FD -#endif - -#ifndef GL_SUNX_constant_data -#define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5 -#define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6 -#endif - -#ifndef GL_SUN_global_alpha -#define GL_GLOBAL_ALPHA_SUN 0x81D9 -#define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA -#endif - -#ifndef GL_SUN_triangle_list -#define GL_RESTART_SUN 0x0001 -#define GL_REPLACE_MIDDLE_SUN 0x0002 -#define GL_REPLACE_OLDEST_SUN 0x0003 -#define GL_TRIANGLE_LIST_SUN 0x81D7 -#define GL_REPLACEMENT_CODE_SUN 0x81D8 -#define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0 -#define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1 -#define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2 -#define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3 -#define GL_R1UI_V3F_SUN 0x85C4 -#define GL_R1UI_C4UB_V3F_SUN 0x85C5 -#define GL_R1UI_C3F_V3F_SUN 0x85C6 -#define GL_R1UI_N3F_V3F_SUN 0x85C7 -#define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8 -#define GL_R1UI_T2F_V3F_SUN 0x85C9 -#define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA -#define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB -#endif - -#ifndef GL_SUN_vertex -#endif - -#ifndef GL_EXT_blend_func_separate -#define GL_BLEND_DST_RGB_EXT 0x80C8 -#define GL_BLEND_SRC_RGB_EXT 0x80C9 -#define GL_BLEND_DST_ALPHA_EXT 0x80CA -#define GL_BLEND_SRC_ALPHA_EXT 0x80CB -#endif - -#ifndef GL_INGR_color_clamp -#define GL_RED_MIN_CLAMP_INGR 0x8560 -#define GL_GREEN_MIN_CLAMP_INGR 0x8561 -#define GL_BLUE_MIN_CLAMP_INGR 0x8562 -#define GL_ALPHA_MIN_CLAMP_INGR 0x8563 -#define GL_RED_MAX_CLAMP_INGR 0x8564 -#define GL_GREEN_MAX_CLAMP_INGR 0x8565 -#define GL_BLUE_MAX_CLAMP_INGR 0x8566 -#define GL_ALPHA_MAX_CLAMP_INGR 0x8567 -#endif - -#ifndef GL_INGR_interlace_read -#define GL_INTERLACE_READ_INGR 0x8568 -#endif - -#ifndef GL_EXT_stencil_wrap -#define GL_INCR_WRAP_EXT 0x8507 -#define GL_DECR_WRAP_EXT 0x8508 -#endif - -#ifndef GL_EXT_422_pixels -#define GL_422_EXT 0x80CC -#define GL_422_REV_EXT 0x80CD -#define GL_422_AVERAGE_EXT 0x80CE -#define GL_422_REV_AVERAGE_EXT 0x80CF -#endif - -#ifndef GL_NV_texgen_reflection -#define GL_NORMAL_MAP_NV 0x8511 -#define GL_REFLECTION_MAP_NV 0x8512 -#endif - -#ifndef GL_EXT_texture_cube_map -#define GL_NORMAL_MAP_EXT 0x8511 -#define GL_REFLECTION_MAP_EXT 0x8512 -#define GL_TEXTURE_CUBE_MAP_EXT 0x8513 -#define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A -#define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C -#endif - -#ifndef GL_SUN_convolution_border_modes -#define GL_WRAP_BORDER_SUN 0x81D4 -#endif - -#ifndef GL_EXT_texture_env_add -#endif - -#ifndef GL_EXT_texture_lod_bias -#define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD -#define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500 -#define GL_TEXTURE_LOD_BIAS_EXT 0x8501 -#endif - -#ifndef GL_EXT_texture_filter_anisotropic -#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE -#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF -#endif - -#ifndef GL_EXT_vertex_weighting -#define GL_MODELVIEW0_STACK_DEPTH_EXT GL_MODELVIEW_STACK_DEPTH -#define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502 -#define GL_MODELVIEW0_MATRIX_EXT GL_MODELVIEW_MATRIX -#define GL_MODELVIEW1_MATRIX_EXT 0x8506 -#define GL_VERTEX_WEIGHTING_EXT 0x8509 -#define GL_MODELVIEW0_EXT GL_MODELVIEW -#define GL_MODELVIEW1_EXT 0x850A -#define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B -#define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C -#define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D -#define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E -#define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F -#define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510 -#endif - -#ifndef GL_NV_light_max_exponent -#define GL_MAX_SHININESS_NV 0x8504 -#define GL_MAX_SPOT_EXPONENT_NV 0x8505 -#endif - -#ifndef GL_NV_vertex_array_range -#define GL_VERTEX_ARRAY_RANGE_NV 0x851D -#define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E -#define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F -#define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520 -#define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521 -#endif - -#ifndef GL_NV_register_combiners -#define GL_REGISTER_COMBINERS_NV 0x8522 -#define GL_VARIABLE_A_NV 0x8523 -#define GL_VARIABLE_B_NV 0x8524 -#define GL_VARIABLE_C_NV 0x8525 -#define GL_VARIABLE_D_NV 0x8526 -#define GL_VARIABLE_E_NV 0x8527 -#define GL_VARIABLE_F_NV 0x8528 -#define GL_VARIABLE_G_NV 0x8529 -#define GL_CONSTANT_COLOR0_NV 0x852A -#define GL_CONSTANT_COLOR1_NV 0x852B -#define GL_PRIMARY_COLOR_NV 0x852C -#define GL_SECONDARY_COLOR_NV 0x852D -#define GL_SPARE0_NV 0x852E -#define GL_SPARE1_NV 0x852F -#define GL_DISCARD_NV 0x8530 -#define GL_E_TIMES_F_NV 0x8531 -#define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532 -#define GL_UNSIGNED_IDENTITY_NV 0x8536 -#define GL_UNSIGNED_INVERT_NV 0x8537 -#define GL_EXPAND_NORMAL_NV 0x8538 -#define GL_EXPAND_NEGATE_NV 0x8539 -#define GL_HALF_BIAS_NORMAL_NV 0x853A -#define GL_HALF_BIAS_NEGATE_NV 0x853B -#define GL_SIGNED_IDENTITY_NV 0x853C -#define GL_SIGNED_NEGATE_NV 0x853D -#define GL_SCALE_BY_TWO_NV 0x853E -#define GL_SCALE_BY_FOUR_NV 0x853F -#define GL_SCALE_BY_ONE_HALF_NV 0x8540 -#define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541 -#define GL_COMBINER_INPUT_NV 0x8542 -#define GL_COMBINER_MAPPING_NV 0x8543 -#define GL_COMBINER_COMPONENT_USAGE_NV 0x8544 -#define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545 -#define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546 -#define GL_COMBINER_MUX_SUM_NV 0x8547 -#define GL_COMBINER_SCALE_NV 0x8548 -#define GL_COMBINER_BIAS_NV 0x8549 -#define GL_COMBINER_AB_OUTPUT_NV 0x854A -#define GL_COMBINER_CD_OUTPUT_NV 0x854B -#define GL_COMBINER_SUM_OUTPUT_NV 0x854C -#define GL_MAX_GENERAL_COMBINERS_NV 0x854D -#define GL_NUM_GENERAL_COMBINERS_NV 0x854E -#define GL_COLOR_SUM_CLAMP_NV 0x854F -#define GL_COMBINER0_NV 0x8550 -#define GL_COMBINER1_NV 0x8551 -#define GL_COMBINER2_NV 0x8552 -#define GL_COMBINER3_NV 0x8553 -#define GL_COMBINER4_NV 0x8554 -#define GL_COMBINER5_NV 0x8555 -#define GL_COMBINER6_NV 0x8556 -#define GL_COMBINER7_NV 0x8557 -/* reuse GL_TEXTURE0_ARB */ -/* reuse GL_TEXTURE1_ARB */ -/* reuse GL_ZERO */ -/* reuse GL_NONE */ -/* reuse GL_FOG */ -#endif - -#ifndef GL_NV_fog_distance -#define GL_FOG_DISTANCE_MODE_NV 0x855A -#define GL_EYE_RADIAL_NV 0x855B -#define GL_EYE_PLANE_ABSOLUTE_NV 0x855C -/* reuse GL_EYE_PLANE */ -#endif - -#ifndef GL_NV_texgen_emboss -#define GL_EMBOSS_LIGHT_NV 0x855D -#define GL_EMBOSS_CONSTANT_NV 0x855E -#define GL_EMBOSS_MAP_NV 0x855F -#endif - -#ifndef GL_NV_blend_square -#endif - -#ifndef GL_NV_texture_env_combine4 -#define GL_COMBINE4_NV 0x8503 -#define GL_SOURCE3_RGB_NV 0x8583 -#define GL_SOURCE3_ALPHA_NV 0x858B -#define GL_OPERAND3_RGB_NV 0x8593 -#define GL_OPERAND3_ALPHA_NV 0x859B -#endif - -#ifndef GL_MESA_resize_buffers -#endif - -#ifndef GL_MESA_window_pos -#endif - -#ifndef GL_EXT_texture_compression_s3tc -#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 -#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 -#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 -#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 -#endif - -#ifndef GL_IBM_cull_vertex -#define GL_CULL_VERTEX_IBM 103050 -#endif - -#ifndef GL_IBM_multimode_draw_arrays -#endif - -#ifndef GL_IBM_vertex_array_lists -#define GL_VERTEX_ARRAY_LIST_IBM 103070 -#define GL_NORMAL_ARRAY_LIST_IBM 103071 -#define GL_COLOR_ARRAY_LIST_IBM 103072 -#define GL_INDEX_ARRAY_LIST_IBM 103073 -#define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074 -#define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075 -#define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076 -#define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077 -#define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080 -#define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081 -#define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082 -#define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083 -#define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084 -#define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085 -#define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086 -#define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087 -#endif - -#ifndef GL_SGIX_subsample -#define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0 -#define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1 -#define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2 -#define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3 -#define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4 -#endif - -#ifndef GL_SGIX_ycrcb_subsample -#endif - -#ifndef GL_SGIX_ycrcba -#define GL_YCRCB_SGIX 0x8318 -#define GL_YCRCBA_SGIX 0x8319 -#endif - -#ifndef GL_SGI_depth_pass_instrument -#define GL_DEPTH_PASS_INSTRUMENT_SGIX 0x8310 -#define GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX 0x8311 -#define GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX 0x8312 -#endif - -#ifndef GL_3DFX_texture_compression_FXT1 -#define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0 -#define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1 -#endif - -#ifndef GL_3DFX_multisample -#define GL_MULTISAMPLE_3DFX 0x86B2 -#define GL_SAMPLE_BUFFERS_3DFX 0x86B3 -#define GL_SAMPLES_3DFX 0x86B4 -#define GL_MULTISAMPLE_BIT_3DFX 0x20000000 -#endif - -#ifndef GL_3DFX_tbuffer -#endif - -#ifndef GL_EXT_multisample -#define GL_MULTISAMPLE_EXT 0x809D -#define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E -#define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F -#define GL_SAMPLE_MASK_EXT 0x80A0 -#define GL_1PASS_EXT 0x80A1 -#define GL_2PASS_0_EXT 0x80A2 -#define GL_2PASS_1_EXT 0x80A3 -#define GL_4PASS_0_EXT 0x80A4 -#define GL_4PASS_1_EXT 0x80A5 -#define GL_4PASS_2_EXT 0x80A6 -#define GL_4PASS_3_EXT 0x80A7 -#define GL_SAMPLE_BUFFERS_EXT 0x80A8 -#define GL_SAMPLES_EXT 0x80A9 -#define GL_SAMPLE_MASK_VALUE_EXT 0x80AA -#define GL_SAMPLE_MASK_INVERT_EXT 0x80AB -#define GL_SAMPLE_PATTERN_EXT 0x80AC -#define GL_MULTISAMPLE_BIT_EXT 0x20000000 -#endif - -#ifndef GL_SGIX_vertex_preclip -#define GL_VERTEX_PRECLIP_SGIX 0x83EE -#define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF -#endif - -#ifndef GL_SGIX_convolution_accuracy -#define GL_CONVOLUTION_HINT_SGIX 0x8316 -#endif - -#ifndef GL_SGIX_resample -#define GL_PACK_RESAMPLE_SGIX 0x842C -#define GL_UNPACK_RESAMPLE_SGIX 0x842D -#define GL_RESAMPLE_REPLICATE_SGIX 0x842E -#define GL_RESAMPLE_ZERO_FILL_SGIX 0x842F -#define GL_RESAMPLE_DECIMATE_SGIX 0x8430 -#endif - -#ifndef GL_SGIS_point_line_texgen -#define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0 -#define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1 -#define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2 -#define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3 -#define GL_EYE_POINT_SGIS 0x81F4 -#define GL_OBJECT_POINT_SGIS 0x81F5 -#define GL_EYE_LINE_SGIS 0x81F6 -#define GL_OBJECT_LINE_SGIS 0x81F7 -#endif - -#ifndef GL_SGIS_texture_color_mask -#define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF -#endif - -#ifndef GL_EXT_texture_env_dot3 -#define GL_DOT3_RGB_EXT 0x8740 -#define GL_DOT3_RGBA_EXT 0x8741 -#endif - -#ifndef GL_ATI_texture_mirror_once -#define GL_MIRROR_CLAMP_ATI 0x8742 -#define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743 -#endif - -#ifndef GL_NV_fence -#define GL_ALL_COMPLETED_NV 0x84F2 -#define GL_FENCE_STATUS_NV 0x84F3 -#define GL_FENCE_CONDITION_NV 0x84F4 -#endif - -#ifndef GL_IBM_texture_mirrored_repeat -#define GL_MIRRORED_REPEAT_IBM 0x8370 -#endif - -#ifndef GL_NV_evaluators -#define GL_EVAL_2D_NV 0x86C0 -#define GL_EVAL_TRIANGULAR_2D_NV 0x86C1 -#define GL_MAP_TESSELLATION_NV 0x86C2 -#define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3 -#define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4 -#define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5 -#define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6 -#define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7 -#define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8 -#define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9 -#define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA -#define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB -#define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC -#define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD -#define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE -#define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF -#define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0 -#define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1 -#define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2 -#define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3 -#define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4 -#define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5 -#define GL_MAX_MAP_TESSELLATION_NV 0x86D6 -#define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7 -#endif - -#ifndef GL_NV_packed_depth_stencil -#define GL_DEPTH_STENCIL_NV 0x84F9 -#define GL_UNSIGNED_INT_24_8_NV 0x84FA -#endif - -#ifndef GL_NV_register_combiners2 -#define GL_PER_STAGE_CONSTANTS_NV 0x8535 -#endif - -#ifndef GL_NV_texture_compression_vtc -#endif - -#ifndef GL_NV_texture_rectangle -#define GL_TEXTURE_RECTANGLE_NV 0x84F5 -#define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6 -#define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7 -#define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8 -#endif - -#ifndef GL_NV_texture_shader -#define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C -#define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D -#define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E -#define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9 -#define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA -#define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB -#define GL_DSDT_MAG_INTENSITY_NV 0x86DC -#define GL_SHADER_CONSISTENT_NV 0x86DD -#define GL_TEXTURE_SHADER_NV 0x86DE -#define GL_SHADER_OPERATION_NV 0x86DF -#define GL_CULL_MODES_NV 0x86E0 -#define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1 -#define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2 -#define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3 -#define GL_OFFSET_TEXTURE_2D_MATRIX_NV GL_OFFSET_TEXTURE_MATRIX_NV -#define GL_OFFSET_TEXTURE_2D_SCALE_NV GL_OFFSET_TEXTURE_SCALE_NV -#define GL_OFFSET_TEXTURE_2D_BIAS_NV GL_OFFSET_TEXTURE_BIAS_NV -#define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4 -#define GL_CONST_EYE_NV 0x86E5 -#define GL_PASS_THROUGH_NV 0x86E6 -#define GL_CULL_FRAGMENT_NV 0x86E7 -#define GL_OFFSET_TEXTURE_2D_NV 0x86E8 -#define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9 -#define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA -#define GL_DOT_PRODUCT_NV 0x86EC -#define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED -#define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE -#define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0 -#define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1 -#define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2 -#define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3 -#define GL_HILO_NV 0x86F4 -#define GL_DSDT_NV 0x86F5 -#define GL_DSDT_MAG_NV 0x86F6 -#define GL_DSDT_MAG_VIB_NV 0x86F7 -#define GL_HILO16_NV 0x86F8 -#define GL_SIGNED_HILO_NV 0x86F9 -#define GL_SIGNED_HILO16_NV 0x86FA -#define GL_SIGNED_RGBA_NV 0x86FB -#define GL_SIGNED_RGBA8_NV 0x86FC -#define GL_SIGNED_RGB_NV 0x86FE -#define GL_SIGNED_RGB8_NV 0x86FF -#define GL_SIGNED_LUMINANCE_NV 0x8701 -#define GL_SIGNED_LUMINANCE8_NV 0x8702 -#define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703 -#define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704 -#define GL_SIGNED_ALPHA_NV 0x8705 -#define GL_SIGNED_ALPHA8_NV 0x8706 -#define GL_SIGNED_INTENSITY_NV 0x8707 -#define GL_SIGNED_INTENSITY8_NV 0x8708 -#define GL_DSDT8_NV 0x8709 -#define GL_DSDT8_MAG8_NV 0x870A -#define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B -#define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C -#define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D -#define GL_HI_SCALE_NV 0x870E -#define GL_LO_SCALE_NV 0x870F -#define GL_DS_SCALE_NV 0x8710 -#define GL_DT_SCALE_NV 0x8711 -#define GL_MAGNITUDE_SCALE_NV 0x8712 -#define GL_VIBRANCE_SCALE_NV 0x8713 -#define GL_HI_BIAS_NV 0x8714 -#define GL_LO_BIAS_NV 0x8715 -#define GL_DS_BIAS_NV 0x8716 -#define GL_DT_BIAS_NV 0x8717 -#define GL_MAGNITUDE_BIAS_NV 0x8718 -#define GL_VIBRANCE_BIAS_NV 0x8719 -#define GL_TEXTURE_BORDER_VALUES_NV 0x871A -#define GL_TEXTURE_HI_SIZE_NV 0x871B -#define GL_TEXTURE_LO_SIZE_NV 0x871C -#define GL_TEXTURE_DS_SIZE_NV 0x871D -#define GL_TEXTURE_DT_SIZE_NV 0x871E -#define GL_TEXTURE_MAG_SIZE_NV 0x871F -#endif - -#ifndef GL_NV_texture_shader2 -#define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF -#endif - -#ifndef GL_NV_vertex_array_range2 -#define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533 -#endif - -#ifndef GL_NV_vertex_program -#define GL_VERTEX_PROGRAM_NV 0x8620 -#define GL_VERTEX_STATE_PROGRAM_NV 0x8621 -#define GL_ATTRIB_ARRAY_SIZE_NV 0x8623 -#define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624 -#define GL_ATTRIB_ARRAY_TYPE_NV 0x8625 -#define GL_CURRENT_ATTRIB_NV 0x8626 -#define GL_PROGRAM_LENGTH_NV 0x8627 -#define GL_PROGRAM_STRING_NV 0x8628 -#define GL_MODELVIEW_PROJECTION_NV 0x8629 -#define GL_IDENTITY_NV 0x862A -#define GL_INVERSE_NV 0x862B -#define GL_TRANSPOSE_NV 0x862C -#define GL_INVERSE_TRANSPOSE_NV 0x862D -#define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E -#define GL_MAX_TRACK_MATRICES_NV 0x862F -#define GL_MATRIX0_NV 0x8630 -#define GL_MATRIX1_NV 0x8631 -#define GL_MATRIX2_NV 0x8632 -#define GL_MATRIX3_NV 0x8633 -#define GL_MATRIX4_NV 0x8634 -#define GL_MATRIX5_NV 0x8635 -#define GL_MATRIX6_NV 0x8636 -#define GL_MATRIX7_NV 0x8637 -#define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640 -#define GL_CURRENT_MATRIX_NV 0x8641 -#define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642 -#define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643 -#define GL_PROGRAM_PARAMETER_NV 0x8644 -#define GL_ATTRIB_ARRAY_POINTER_NV 0x8645 -#define GL_PROGRAM_TARGET_NV 0x8646 -#define GL_PROGRAM_RESIDENT_NV 0x8647 -#define GL_TRACK_MATRIX_NV 0x8648 -#define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649 -#define GL_VERTEX_PROGRAM_BINDING_NV 0x864A -#define GL_PROGRAM_ERROR_POSITION_NV 0x864B -#define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650 -#define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651 -#define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652 -#define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653 -#define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654 -#define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655 -#define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656 -#define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657 -#define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658 -#define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659 -#define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A -#define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B -#define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C -#define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D -#define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E -#define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F -#define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660 -#define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661 -#define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662 -#define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663 -#define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664 -#define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665 -#define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666 -#define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667 -#define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668 -#define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669 -#define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A -#define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B -#define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C -#define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D -#define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E -#define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F -#define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670 -#define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671 -#define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672 -#define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673 -#define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674 -#define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675 -#define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676 -#define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677 -#define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678 -#define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679 -#define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A -#define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B -#define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C -#define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D -#define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E -#define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F -#endif - -#ifndef GL_SGIX_texture_coordinate_clamp -#define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369 -#define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A -#define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B -#endif - -#ifndef GL_SGIX_scalebias_hint -#define GL_SCALEBIAS_HINT_SGIX 0x8322 -#endif - -#ifndef GL_OML_interlace -#define GL_INTERLACE_OML 0x8980 -#define GL_INTERLACE_READ_OML 0x8981 -#endif - -#ifndef GL_OML_subsample -#define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982 -#define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983 -#endif - -#ifndef GL_OML_resample -#define GL_PACK_RESAMPLE_OML 0x8984 -#define GL_UNPACK_RESAMPLE_OML 0x8985 -#define GL_RESAMPLE_REPLICATE_OML 0x8986 -#define GL_RESAMPLE_ZERO_FILL_OML 0x8987 -#define GL_RESAMPLE_AVERAGE_OML 0x8988 -#define GL_RESAMPLE_DECIMATE_OML 0x8989 -#endif - -#ifndef GL_NV_copy_depth_to_color -#define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E -#define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F -#endif - -#ifndef GL_ATI_envmap_bumpmap -#define GL_BUMP_ROT_MATRIX_ATI 0x8775 -#define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776 -#define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777 -#define GL_BUMP_TEX_UNITS_ATI 0x8778 -#define GL_DUDV_ATI 0x8779 -#define GL_DU8DV8_ATI 0x877A -#define GL_BUMP_ENVMAP_ATI 0x877B -#define GL_BUMP_TARGET_ATI 0x877C -#endif - -#ifndef GL_ATI_fragment_shader -#define GL_FRAGMENT_SHADER_ATI 0x8920 -#define GL_REG_0_ATI 0x8921 -#define GL_REG_1_ATI 0x8922 -#define GL_REG_2_ATI 0x8923 -#define GL_REG_3_ATI 0x8924 -#define GL_REG_4_ATI 0x8925 -#define GL_REG_5_ATI 0x8926 -#define GL_REG_6_ATI 0x8927 -#define GL_REG_7_ATI 0x8928 -#define GL_REG_8_ATI 0x8929 -#define GL_REG_9_ATI 0x892A -#define GL_REG_10_ATI 0x892B -#define GL_REG_11_ATI 0x892C -#define GL_REG_12_ATI 0x892D -#define GL_REG_13_ATI 0x892E -#define GL_REG_14_ATI 0x892F -#define GL_REG_15_ATI 0x8930 -#define GL_REG_16_ATI 0x8931 -#define GL_REG_17_ATI 0x8932 -#define GL_REG_18_ATI 0x8933 -#define GL_REG_19_ATI 0x8934 -#define GL_REG_20_ATI 0x8935 -#define GL_REG_21_ATI 0x8936 -#define GL_REG_22_ATI 0x8937 -#define GL_REG_23_ATI 0x8938 -#define GL_REG_24_ATI 0x8939 -#define GL_REG_25_ATI 0x893A -#define GL_REG_26_ATI 0x893B -#define GL_REG_27_ATI 0x893C -#define GL_REG_28_ATI 0x893D -#define GL_REG_29_ATI 0x893E -#define GL_REG_30_ATI 0x893F -#define GL_REG_31_ATI 0x8940 -#define GL_CON_0_ATI 0x8941 -#define GL_CON_1_ATI 0x8942 -#define GL_CON_2_ATI 0x8943 -#define GL_CON_3_ATI 0x8944 -#define GL_CON_4_ATI 0x8945 -#define GL_CON_5_ATI 0x8946 -#define GL_CON_6_ATI 0x8947 -#define GL_CON_7_ATI 0x8948 -#define GL_CON_8_ATI 0x8949 -#define GL_CON_9_ATI 0x894A -#define GL_CON_10_ATI 0x894B -#define GL_CON_11_ATI 0x894C -#define GL_CON_12_ATI 0x894D -#define GL_CON_13_ATI 0x894E -#define GL_CON_14_ATI 0x894F -#define GL_CON_15_ATI 0x8950 -#define GL_CON_16_ATI 0x8951 -#define GL_CON_17_ATI 0x8952 -#define GL_CON_18_ATI 0x8953 -#define GL_CON_19_ATI 0x8954 -#define GL_CON_20_ATI 0x8955 -#define GL_CON_21_ATI 0x8956 -#define GL_CON_22_ATI 0x8957 -#define GL_CON_23_ATI 0x8958 -#define GL_CON_24_ATI 0x8959 -#define GL_CON_25_ATI 0x895A -#define GL_CON_26_ATI 0x895B -#define GL_CON_27_ATI 0x895C -#define GL_CON_28_ATI 0x895D -#define GL_CON_29_ATI 0x895E -#define GL_CON_30_ATI 0x895F -#define GL_CON_31_ATI 0x8960 -#define GL_MOV_ATI 0x8961 -#define GL_ADD_ATI 0x8963 -#define GL_MUL_ATI 0x8964 -#define GL_SUB_ATI 0x8965 -#define GL_DOT3_ATI 0x8966 -#define GL_DOT4_ATI 0x8967 -#define GL_MAD_ATI 0x8968 -#define GL_LERP_ATI 0x8969 -#define GL_CND_ATI 0x896A -#define GL_CND0_ATI 0x896B -#define GL_DOT2_ADD_ATI 0x896C -#define GL_SECONDARY_INTERPOLATOR_ATI 0x896D -#define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E -#define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F -#define GL_NUM_PASSES_ATI 0x8970 -#define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971 -#define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972 -#define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973 -#define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974 -#define GL_COLOR_ALPHA_PAIRING_ATI 0x8975 -#define GL_SWIZZLE_STR_ATI 0x8976 -#define GL_SWIZZLE_STQ_ATI 0x8977 -#define GL_SWIZZLE_STR_DR_ATI 0x8978 -#define GL_SWIZZLE_STQ_DQ_ATI 0x8979 -#define GL_SWIZZLE_STRQ_ATI 0x897A -#define GL_SWIZZLE_STRQ_DQ_ATI 0x897B -#define GL_RED_BIT_ATI 0x00000001 -#define GL_GREEN_BIT_ATI 0x00000002 -#define GL_BLUE_BIT_ATI 0x00000004 -#define GL_2X_BIT_ATI 0x00000001 -#define GL_4X_BIT_ATI 0x00000002 -#define GL_8X_BIT_ATI 0x00000004 -#define GL_HALF_BIT_ATI 0x00000008 -#define GL_QUARTER_BIT_ATI 0x00000010 -#define GL_EIGHTH_BIT_ATI 0x00000020 -#define GL_SATURATE_BIT_ATI 0x00000040 -#define GL_COMP_BIT_ATI 0x00000002 -#define GL_NEGATE_BIT_ATI 0x00000004 -#define GL_BIAS_BIT_ATI 0x00000008 -#endif - -#ifndef GL_ATI_pn_triangles -#define GL_PN_TRIANGLES_ATI 0x87F0 -#define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1 -#define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2 -#define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3 -#define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4 -#define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5 -#define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6 -#define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7 -#define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8 -#endif - -#ifndef GL_ATI_vertex_array_object -#define GL_STATIC_ATI 0x8760 -#define GL_DYNAMIC_ATI 0x8761 -#define GL_PRESERVE_ATI 0x8762 -#define GL_DISCARD_ATI 0x8763 -#define GL_OBJECT_BUFFER_SIZE_ATI 0x8764 -#define GL_OBJECT_BUFFER_USAGE_ATI 0x8765 -#define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766 -#define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767 -#endif - -#ifndef GL_EXT_vertex_shader -#define GL_VERTEX_SHADER_EXT 0x8780 -#define GL_VERTEX_SHADER_BINDING_EXT 0x8781 -#define GL_OP_INDEX_EXT 0x8782 -#define GL_OP_NEGATE_EXT 0x8783 -#define GL_OP_DOT3_EXT 0x8784 -#define GL_OP_DOT4_EXT 0x8785 -#define GL_OP_MUL_EXT 0x8786 -#define GL_OP_ADD_EXT 0x8787 -#define GL_OP_MADD_EXT 0x8788 -#define GL_OP_FRAC_EXT 0x8789 -#define GL_OP_MAX_EXT 0x878A -#define GL_OP_MIN_EXT 0x878B -#define GL_OP_SET_GE_EXT 0x878C -#define GL_OP_SET_LT_EXT 0x878D -#define GL_OP_CLAMP_EXT 0x878E -#define GL_OP_FLOOR_EXT 0x878F -#define GL_OP_ROUND_EXT 0x8790 -#define GL_OP_EXP_BASE_2_EXT 0x8791 -#define GL_OP_LOG_BASE_2_EXT 0x8792 -#define GL_OP_POWER_EXT 0x8793 -#define GL_OP_RECIP_EXT 0x8794 -#define GL_OP_RECIP_SQRT_EXT 0x8795 -#define GL_OP_SUB_EXT 0x8796 -#define GL_OP_CROSS_PRODUCT_EXT 0x8797 -#define GL_OP_MULTIPLY_MATRIX_EXT 0x8798 -#define GL_OP_MOV_EXT 0x8799 -#define GL_OUTPUT_VERTEX_EXT 0x879A -#define GL_OUTPUT_COLOR0_EXT 0x879B -#define GL_OUTPUT_COLOR1_EXT 0x879C -#define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D -#define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E -#define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F -#define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0 -#define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1 -#define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2 -#define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3 -#define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4 -#define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5 -#define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6 -#define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7 -#define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8 -#define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9 -#define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA -#define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB -#define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC -#define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD -#define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE -#define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF -#define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0 -#define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1 -#define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2 -#define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3 -#define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4 -#define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5 -#define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6 -#define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7 -#define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8 -#define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9 -#define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA -#define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB -#define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC -#define GL_OUTPUT_FOG_EXT 0x87BD -#define GL_SCALAR_EXT 0x87BE -#define GL_VECTOR_EXT 0x87BF -#define GL_MATRIX_EXT 0x87C0 -#define GL_VARIANT_EXT 0x87C1 -#define GL_INVARIANT_EXT 0x87C2 -#define GL_LOCAL_CONSTANT_EXT 0x87C3 -#define GL_LOCAL_EXT 0x87C4 -#define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5 -#define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6 -#define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7 -#define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8 -#define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9 -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE -#define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF -#define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0 -#define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1 -#define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2 -#define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3 -#define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4 -#define GL_X_EXT 0x87D5 -#define GL_Y_EXT 0x87D6 -#define GL_Z_EXT 0x87D7 -#define GL_W_EXT 0x87D8 -#define GL_NEGATIVE_X_EXT 0x87D9 -#define GL_NEGATIVE_Y_EXT 0x87DA -#define GL_NEGATIVE_Z_EXT 0x87DB -#define GL_NEGATIVE_W_EXT 0x87DC -#define GL_ZERO_EXT 0x87DD -#define GL_ONE_EXT 0x87DE -#define GL_NEGATIVE_ONE_EXT 0x87DF -#define GL_NORMALIZED_RANGE_EXT 0x87E0 -#define GL_FULL_RANGE_EXT 0x87E1 -#define GL_CURRENT_VERTEX_EXT 0x87E2 -#define GL_MVP_MATRIX_EXT 0x87E3 -#define GL_VARIANT_VALUE_EXT 0x87E4 -#define GL_VARIANT_DATATYPE_EXT 0x87E5 -#define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6 -#define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7 -#define GL_VARIANT_ARRAY_EXT 0x87E8 -#define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9 -#define GL_INVARIANT_VALUE_EXT 0x87EA -#define GL_INVARIANT_DATATYPE_EXT 0x87EB -#define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC -#define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED -#endif - -#ifndef GL_ATI_vertex_streams -#define GL_MAX_VERTEX_STREAMS_ATI 0x876B -#define GL_VERTEX_STREAM0_ATI 0x876C -#define GL_VERTEX_STREAM1_ATI 0x876D -#define GL_VERTEX_STREAM2_ATI 0x876E -#define GL_VERTEX_STREAM3_ATI 0x876F -#define GL_VERTEX_STREAM4_ATI 0x8770 -#define GL_VERTEX_STREAM5_ATI 0x8771 -#define GL_VERTEX_STREAM6_ATI 0x8772 -#define GL_VERTEX_STREAM7_ATI 0x8773 -#define GL_VERTEX_SOURCE_ATI 0x8774 -#endif - -#ifndef GL_ATI_element_array -#define GL_ELEMENT_ARRAY_ATI 0x8768 -#define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769 -#define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A -#endif - -#ifndef GL_SUN_mesh_array -#define GL_QUAD_MESH_SUN 0x8614 -#define GL_TRIANGLE_MESH_SUN 0x8615 -#endif - -#ifndef GL_SUN_slice_accum -#define GL_SLICE_ACCUM_SUN 0x85CC -#endif - -#ifndef GL_NV_multisample_filter_hint -#define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534 -#endif - -#ifndef GL_NV_depth_clamp -#define GL_DEPTH_CLAMP_NV 0x864F -#endif - -#ifndef GL_NV_occlusion_query -#define GL_PIXEL_COUNTER_BITS_NV 0x8864 -#define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865 -#define GL_PIXEL_COUNT_NV 0x8866 -#define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867 -#endif - -#ifndef GL_NV_point_sprite -#define GL_POINT_SPRITE_NV 0x8861 -#define GL_COORD_REPLACE_NV 0x8862 -#define GL_POINT_SPRITE_R_MODE_NV 0x8863 -#endif - -#ifndef GL_NV_texture_shader3 -#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850 -#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851 -#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852 -#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853 -#define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854 -#define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855 -#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856 -#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857 -#define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858 -#define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859 -#define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A -#define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B -#define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C -#define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D -#define GL_HILO8_NV 0x885E -#define GL_SIGNED_HILO8_NV 0x885F -#define GL_FORCE_BLUE_TO_ONE_NV 0x8860 -#endif - -#ifndef GL_NV_vertex_program1_1 -#endif - -#ifndef GL_EXT_shadow_funcs -#endif - -#ifndef GL_EXT_stencil_two_side -#define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910 -#define GL_ACTIVE_STENCIL_FACE_EXT 0x8911 -#endif - -#ifndef GL_ATI_text_fragment_shader -#define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200 -#endif - -#ifndef GL_APPLE_client_storage -#define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2 -#endif - -#ifndef GL_APPLE_element_array -#define GL_ELEMENT_ARRAY_APPLE 0x8768 -#define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8769 -#define GL_ELEMENT_ARRAY_POINTER_APPLE 0x876A -#endif - -#ifndef GL_APPLE_fence -#define GL_DRAW_PIXELS_APPLE 0x8A0A -#define GL_FENCE_APPLE 0x8A0B -#endif - -#ifndef GL_APPLE_vertex_array_object -#define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5 -#endif - -#ifndef GL_APPLE_vertex_array_range -#define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D -#define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E -#define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F -#define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521 -#define GL_STORAGE_CACHED_APPLE 0x85BE -#define GL_STORAGE_SHARED_APPLE 0x85BF -#endif - -#ifndef GL_APPLE_ycbcr_422 -#define GL_YCBCR_422_APPLE 0x85B9 -#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA -#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB -#endif - -#ifndef GL_S3_s3tc -#define GL_RGB_S3TC 0x83A0 -#define GL_RGB4_S3TC 0x83A1 -#define GL_RGBA_S3TC 0x83A2 -#define GL_RGBA4_S3TC 0x83A3 -#endif - -#ifndef GL_ATI_draw_buffers -#define GL_MAX_DRAW_BUFFERS_ATI 0x8824 -#define GL_DRAW_BUFFER0_ATI 0x8825 -#define GL_DRAW_BUFFER1_ATI 0x8826 -#define GL_DRAW_BUFFER2_ATI 0x8827 -#define GL_DRAW_BUFFER3_ATI 0x8828 -#define GL_DRAW_BUFFER4_ATI 0x8829 -#define GL_DRAW_BUFFER5_ATI 0x882A -#define GL_DRAW_BUFFER6_ATI 0x882B -#define GL_DRAW_BUFFER7_ATI 0x882C -#define GL_DRAW_BUFFER8_ATI 0x882D -#define GL_DRAW_BUFFER9_ATI 0x882E -#define GL_DRAW_BUFFER10_ATI 0x882F -#define GL_DRAW_BUFFER11_ATI 0x8830 -#define GL_DRAW_BUFFER12_ATI 0x8831 -#define GL_DRAW_BUFFER13_ATI 0x8832 -#define GL_DRAW_BUFFER14_ATI 0x8833 -#define GL_DRAW_BUFFER15_ATI 0x8834 -#endif - -#ifndef GL_ATI_pixel_format_float -#define GL_TYPE_RGBA_FLOAT_ATI 0x8820 -#define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835 -#endif - -#ifndef GL_ATI_texture_env_combine3 -#define GL_MODULATE_ADD_ATI 0x8744 -#define GL_MODULATE_SIGNED_ADD_ATI 0x8745 -#define GL_MODULATE_SUBTRACT_ATI 0x8746 -#endif - -#ifndef GL_ATI_texture_float -#define GL_RGBA_FLOAT32_ATI 0x8814 -#define GL_RGB_FLOAT32_ATI 0x8815 -#define GL_ALPHA_FLOAT32_ATI 0x8816 -#define GL_INTENSITY_FLOAT32_ATI 0x8817 -#define GL_LUMINANCE_FLOAT32_ATI 0x8818 -#define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819 -#define GL_RGBA_FLOAT16_ATI 0x881A -#define GL_RGB_FLOAT16_ATI 0x881B -#define GL_ALPHA_FLOAT16_ATI 0x881C -#define GL_INTENSITY_FLOAT16_ATI 0x881D -#define GL_LUMINANCE_FLOAT16_ATI 0x881E -#define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F -#endif - -#ifndef GL_NV_float_buffer -#define GL_FLOAT_R_NV 0x8880 -#define GL_FLOAT_RG_NV 0x8881 -#define GL_FLOAT_RGB_NV 0x8882 -#define GL_FLOAT_RGBA_NV 0x8883 -#define GL_FLOAT_R16_NV 0x8884 -#define GL_FLOAT_R32_NV 0x8885 -#define GL_FLOAT_RG16_NV 0x8886 -#define GL_FLOAT_RG32_NV 0x8887 -#define GL_FLOAT_RGB16_NV 0x8888 -#define GL_FLOAT_RGB32_NV 0x8889 -#define GL_FLOAT_RGBA16_NV 0x888A -#define GL_FLOAT_RGBA32_NV 0x888B -#define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C -#define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D -#define GL_FLOAT_RGBA_MODE_NV 0x888E -#endif - -#ifndef GL_NV_fragment_program -#define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868 -#define GL_FRAGMENT_PROGRAM_NV 0x8870 -#define GL_MAX_TEXTURE_COORDS_NV 0x8871 -#define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872 -#define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873 -#define GL_PROGRAM_ERROR_STRING_NV 0x8874 -#endif - -#ifndef GL_NV_half_float -#define GL_HALF_FLOAT_NV 0x140B -#endif - -#ifndef GL_NV_pixel_data_range -#define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878 -#define GL_READ_PIXEL_DATA_RANGE_NV 0x8879 -#define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A -#define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B -#define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C -#define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D -#endif - -#ifndef GL_NV_primitive_restart -#define GL_PRIMITIVE_RESTART_NV 0x8558 -#define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559 -#endif - -#ifndef GL_NV_texture_expand_normal -#define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F -#endif - -#ifndef GL_NV_vertex_program2 -#endif - -#ifndef GL_ATI_map_object_buffer -#endif - -#ifndef GL_ATI_separate_stencil -#define GL_STENCIL_BACK_FUNC_ATI 0x8800 -#define GL_STENCIL_BACK_FAIL_ATI 0x8801 -#define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802 -#define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803 -#endif - -#ifndef GL_ATI_vertex_attrib_array_object -#endif - -#ifndef GL_OES_read_format -#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A -#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B -#endif - -#ifndef GL_EXT_depth_bounds_test -#define GL_DEPTH_BOUNDS_TEST_EXT 0x8890 -#define GL_DEPTH_BOUNDS_EXT 0x8891 -#endif - -#ifndef GL_EXT_texture_mirror_clamp -#define GL_MIRROR_CLAMP_EXT 0x8742 -#define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743 -#define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912 -#endif - -#ifndef GL_EXT_blend_equation_separate -#define GL_BLEND_EQUATION_RGB_EXT GL_BLEND_EQUATION -#define GL_BLEND_EQUATION_ALPHA_EXT 0x883D -#endif - -#ifndef GL_MESA_pack_invert -#define GL_PACK_INVERT_MESA 0x8758 -#endif - -#ifndef GL_MESA_ycbcr_texture -#define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA -#define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB -#define GL_YCBCR_MESA 0x8757 -#endif - -#ifndef GL_EXT_pixel_buffer_object -#define GL_PIXEL_PACK_BUFFER_EXT 0x88EB -#define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC -#define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED -#define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF -#endif - -#ifndef GL_NV_fragment_program_option -#endif - -#ifndef GL_NV_fragment_program2 -#define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4 -#define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5 -#define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6 -#define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7 -#define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8 -#endif - -#ifndef GL_NV_vertex_program2_option -/* reuse GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV */ -/* reuse GL_MAX_PROGRAM_CALL_DEPTH_NV */ -#endif - -#ifndef GL_NV_vertex_program3 -/* reuse GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB */ -#endif - -#ifndef GL_EXT_framebuffer_object -#define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506 -#define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8 -#define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6 -#define GL_RENDERBUFFER_BINDING_EXT 0x8CA7 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4 -#define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5 -#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6 -#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7 -#define GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT 0x8CD8 -#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9 -#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA -#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB -#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC -#define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD -#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF -#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 -#define GL_COLOR_ATTACHMENT1_EXT 0x8CE1 -#define GL_COLOR_ATTACHMENT2_EXT 0x8CE2 -#define GL_COLOR_ATTACHMENT3_EXT 0x8CE3 -#define GL_COLOR_ATTACHMENT4_EXT 0x8CE4 -#define GL_COLOR_ATTACHMENT5_EXT 0x8CE5 -#define GL_COLOR_ATTACHMENT6_EXT 0x8CE6 -#define GL_COLOR_ATTACHMENT7_EXT 0x8CE7 -#define GL_COLOR_ATTACHMENT8_EXT 0x8CE8 -#define GL_COLOR_ATTACHMENT9_EXT 0x8CE9 -#define GL_COLOR_ATTACHMENT10_EXT 0x8CEA -#define GL_COLOR_ATTACHMENT11_EXT 0x8CEB -#define GL_COLOR_ATTACHMENT12_EXT 0x8CEC -#define GL_COLOR_ATTACHMENT13_EXT 0x8CED -#define GL_COLOR_ATTACHMENT14_EXT 0x8CEE -#define GL_COLOR_ATTACHMENT15_EXT 0x8CEF -#define GL_DEPTH_ATTACHMENT_EXT 0x8D00 -#define GL_STENCIL_ATTACHMENT_EXT 0x8D20 -#define GL_FRAMEBUFFER_EXT 0x8D40 -#define GL_RENDERBUFFER_EXT 0x8D41 -#define GL_RENDERBUFFER_WIDTH_EXT 0x8D42 -#define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43 -#define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44 -#define GL_STENCIL_INDEX1_EXT 0x8D46 -#define GL_STENCIL_INDEX4_EXT 0x8D47 -#define GL_STENCIL_INDEX8_EXT 0x8D48 -#define GL_STENCIL_INDEX16_EXT 0x8D49 -#define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50 -#define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51 -#define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52 -#define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53 -#define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54 -#define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55 -#endif - -#ifndef GL_GREMEDY_string_marker -#endif - - -/*************************************************************/ - -#include -#ifndef GL_VERSION_2_0 -/* GL type for program/shader text */ -typedef char GLchar; /* native character */ -#endif - -#ifndef GL_VERSION_1_5 -/* GL types for handling large vertex buffer objects */ -typedef ptrdiff_t GLintptr; -typedef ptrdiff_t GLsizeiptr; -#endif - -#ifndef GL_ARB_vertex_buffer_object -/* GL types for handling large vertex buffer objects */ -typedef ptrdiff_t GLintptrARB; -typedef ptrdiff_t GLsizeiptrARB; -#endif - -#ifndef GL_ARB_shader_objects -/* GL types for handling shader object handles and program/shader text */ -typedef char GLcharARB; /* native character */ -typedef unsigned int GLhandleARB; /* shader object handle */ -#endif - -/* GL types for "half" precision (s10e5) float data in host memory */ -#ifndef GL_ARB_half_float_pixel -typedef unsigned short GLhalfARB; -#endif - -#ifndef GL_NV_half_float -typedef unsigned short GLhalfNV; -#endif - -#ifndef GL_VERSION_1_2 -#define GL_VERSION_1_2 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendColor (GLclampf, GLclampf, GLclampf, GLclampf); -GLAPI void APIENTRY glBlendEquation (GLenum); -GLAPI void APIENTRY glDrawRangeElements (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *); -GLAPI void APIENTRY glColorTable (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glColorTableParameterfv (GLenum, GLenum, const GLfloat *); -GLAPI void APIENTRY glColorTableParameteriv (GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glCopyColorTable (GLenum, GLenum, GLint, GLint, GLsizei); -GLAPI void APIENTRY glGetColorTable (GLenum, GLenum, GLenum, GLvoid *); -GLAPI void APIENTRY glGetColorTableParameterfv (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetColorTableParameteriv (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glColorSubTable (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glCopyColorSubTable (GLenum, GLsizei, GLint, GLint, GLsizei); -GLAPI void APIENTRY glConvolutionFilter1D (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glConvolutionFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glConvolutionParameterf (GLenum, GLenum, GLfloat); -GLAPI void APIENTRY glConvolutionParameterfv (GLenum, GLenum, const GLfloat *); -GLAPI void APIENTRY glConvolutionParameteri (GLenum, GLenum, GLint); -GLAPI void APIENTRY glConvolutionParameteriv (GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum, GLenum, GLint, GLint, GLsizei); -GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei); -GLAPI void APIENTRY glGetConvolutionFilter (GLenum, GLenum, GLenum, GLvoid *); -GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetSeparableFilter (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *); -GLAPI void APIENTRY glSeparableFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *); -GLAPI void APIENTRY glGetHistogram (GLenum, GLboolean, GLenum, GLenum, GLvoid *); -GLAPI void APIENTRY glGetHistogramParameterfv (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetHistogramParameteriv (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetMinmax (GLenum, GLboolean, GLenum, GLenum, GLvoid *); -GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glHistogram (GLenum, GLsizei, GLenum, GLboolean); -GLAPI void APIENTRY glMinmax (GLenum, GLenum, GLboolean); -GLAPI void APIENTRY glResetHistogram (GLenum); -GLAPI void APIENTRY glResetMinmax (GLenum); -GLAPI void APIENTRY glTexImage3D (GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glCopyTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); -typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); -typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); -typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); -typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); -typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image); -typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); -typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); -typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); -typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); -typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); -typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink); -typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target); -typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target); -typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -#endif - -#ifndef GL_VERSION_1_3 -#define GL_VERSION_1_3 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glActiveTexture (GLenum); -GLAPI void APIENTRY glClientActiveTexture (GLenum); -GLAPI void APIENTRY glMultiTexCoord1d (GLenum, GLdouble); -GLAPI void APIENTRY glMultiTexCoord1dv (GLenum, const GLdouble *); -GLAPI void APIENTRY glMultiTexCoord1f (GLenum, GLfloat); -GLAPI void APIENTRY glMultiTexCoord1fv (GLenum, const GLfloat *); -GLAPI void APIENTRY glMultiTexCoord1i (GLenum, GLint); -GLAPI void APIENTRY glMultiTexCoord1iv (GLenum, const GLint *); -GLAPI void APIENTRY glMultiTexCoord1s (GLenum, GLshort); -GLAPI void APIENTRY glMultiTexCoord1sv (GLenum, const GLshort *); -GLAPI void APIENTRY glMultiTexCoord2d (GLenum, GLdouble, GLdouble); -GLAPI void APIENTRY glMultiTexCoord2dv (GLenum, const GLdouble *); -GLAPI void APIENTRY glMultiTexCoord2f (GLenum, GLfloat, GLfloat); -GLAPI void APIENTRY glMultiTexCoord2fv (GLenum, const GLfloat *); -GLAPI void APIENTRY glMultiTexCoord2i (GLenum, GLint, GLint); -GLAPI void APIENTRY glMultiTexCoord2iv (GLenum, const GLint *); -GLAPI void APIENTRY glMultiTexCoord2s (GLenum, GLshort, GLshort); -GLAPI void APIENTRY glMultiTexCoord2sv (GLenum, const GLshort *); -GLAPI void APIENTRY glMultiTexCoord3d (GLenum, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glMultiTexCoord3dv (GLenum, const GLdouble *); -GLAPI void APIENTRY glMultiTexCoord3f (GLenum, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glMultiTexCoord3fv (GLenum, const GLfloat *); -GLAPI void APIENTRY glMultiTexCoord3i (GLenum, GLint, GLint, GLint); -GLAPI void APIENTRY glMultiTexCoord3iv (GLenum, const GLint *); -GLAPI void APIENTRY glMultiTexCoord3s (GLenum, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glMultiTexCoord3sv (GLenum, const GLshort *); -GLAPI void APIENTRY glMultiTexCoord4d (GLenum, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glMultiTexCoord4dv (GLenum, const GLdouble *); -GLAPI void APIENTRY glMultiTexCoord4f (GLenum, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glMultiTexCoord4fv (GLenum, const GLfloat *); -GLAPI void APIENTRY glMultiTexCoord4i (GLenum, GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glMultiTexCoord4iv (GLenum, const GLint *); -GLAPI void APIENTRY glMultiTexCoord4s (GLenum, GLshort, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glMultiTexCoord4sv (GLenum, const GLshort *); -GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *); -GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *); -GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *); -GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *); -GLAPI void APIENTRY glSampleCoverage (GLclampf, GLboolean); -GLAPI void APIENTRY glCompressedTexImage3D (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTexImage2D (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTexImage1D (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glGetCompressedTexImage (GLenum, GLint, GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); -typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m); -typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m); -typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m); -typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m); -typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, GLvoid *img); -#endif - -#ifndef GL_VERSION_1_4 -#define GL_VERSION_1_4 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendFuncSeparate (GLenum, GLenum, GLenum, GLenum); -GLAPI void APIENTRY glFogCoordf (GLfloat); -GLAPI void APIENTRY glFogCoordfv (const GLfloat *); -GLAPI void APIENTRY glFogCoordd (GLdouble); -GLAPI void APIENTRY glFogCoorddv (const GLdouble *); -GLAPI void APIENTRY glFogCoordPointer (GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glMultiDrawArrays (GLenum, GLint *, GLsizei *, GLsizei); -GLAPI void APIENTRY glMultiDrawElements (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei); -GLAPI void APIENTRY glPointParameterf (GLenum, GLfloat); -GLAPI void APIENTRY glPointParameterfv (GLenum, const GLfloat *); -GLAPI void APIENTRY glPointParameteri (GLenum, GLint); -GLAPI void APIENTRY glPointParameteriv (GLenum, const GLint *); -GLAPI void APIENTRY glSecondaryColor3b (GLbyte, GLbyte, GLbyte); -GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *); -GLAPI void APIENTRY glSecondaryColor3d (GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *); -GLAPI void APIENTRY glSecondaryColor3f (GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *); -GLAPI void APIENTRY glSecondaryColor3i (GLint, GLint, GLint); -GLAPI void APIENTRY glSecondaryColor3iv (const GLint *); -GLAPI void APIENTRY glSecondaryColor3s (GLshort, GLshort, GLshort); -GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *); -GLAPI void APIENTRY glSecondaryColor3ub (GLubyte, GLubyte, GLubyte); -GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *); -GLAPI void APIENTRY glSecondaryColor3ui (GLuint, GLuint, GLuint); -GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *); -GLAPI void APIENTRY glSecondaryColor3us (GLushort, GLushort, GLushort); -GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *); -GLAPI void APIENTRY glSecondaryColorPointer (GLint, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glWindowPos2d (GLdouble, GLdouble); -GLAPI void APIENTRY glWindowPos2dv (const GLdouble *); -GLAPI void APIENTRY glWindowPos2f (GLfloat, GLfloat); -GLAPI void APIENTRY glWindowPos2fv (const GLfloat *); -GLAPI void APIENTRY glWindowPos2i (GLint, GLint); -GLAPI void APIENTRY glWindowPos2iv (const GLint *); -GLAPI void APIENTRY glWindowPos2s (GLshort, GLshort); -GLAPI void APIENTRY glWindowPos2sv (const GLshort *); -GLAPI void APIENTRY glWindowPos3d (GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glWindowPos3dv (const GLdouble *); -GLAPI void APIENTRY glWindowPos3f (GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glWindowPos3fv (const GLfloat *); -GLAPI void APIENTRY glWindowPos3i (GLint, GLint, GLint); -GLAPI void APIENTRY glWindowPos3iv (const GLint *); -GLAPI void APIENTRY glWindowPos3s (GLshort, GLshort, GLshort); -GLAPI void APIENTRY glWindowPos3sv (const GLshort *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord); -typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord); -typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord); -typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord); -typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); -typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y); -typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y); -typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z); -typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z); -typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v); -#endif - -#ifndef GL_VERSION_1_5 -#define GL_VERSION_1_5 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGenQueries (GLsizei, GLuint *); -GLAPI void APIENTRY glDeleteQueries (GLsizei, const GLuint *); -GLAPI GLboolean APIENTRY glIsQuery (GLuint); -GLAPI void APIENTRY glBeginQuery (GLenum, GLuint); -GLAPI void APIENTRY glEndQuery (GLenum); -GLAPI void APIENTRY glGetQueryiv (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetQueryObjectiv (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetQueryObjectuiv (GLuint, GLenum, GLuint *); -GLAPI void APIENTRY glBindBuffer (GLenum, GLuint); -GLAPI void APIENTRY glDeleteBuffers (GLsizei, const GLuint *); -GLAPI void APIENTRY glGenBuffers (GLsizei, GLuint *); -GLAPI GLboolean APIENTRY glIsBuffer (GLuint); -GLAPI void APIENTRY glBufferData (GLenum, GLsizeiptr, const GLvoid *, GLenum); -GLAPI void APIENTRY glBufferSubData (GLenum, GLintptr, GLsizeiptr, const GLvoid *); -GLAPI void APIENTRY glGetBufferSubData (GLenum, GLintptr, GLsizeiptr, GLvoid *); -GLAPI GLvoid* APIENTRY glMapBuffer (GLenum, GLenum); -GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum); -GLAPI void APIENTRY glGetBufferParameteriv (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetBufferPointerv (GLenum, GLenum, GLvoid* *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids); -typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids); -typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id); -typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id); -typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target); -typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params); -typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); -typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); -typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); -typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); -typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage); -typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data); -typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data); -typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access); -typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target); -typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid* *params); -#endif - -#ifndef GL_VERSION_2_0 -#define GL_VERSION_2_0 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendEquationSeparate (GLenum, GLenum); -GLAPI void APIENTRY glDrawBuffers (GLsizei, const GLenum *); -GLAPI void APIENTRY glStencilOpSeparate (GLenum, GLenum, GLenum, GLenum); -GLAPI void APIENTRY glStencilFuncSeparate (GLenum, GLenum, GLint, GLuint); -GLAPI void APIENTRY glStencilMaskSeparate (GLenum, GLuint); -GLAPI void APIENTRY glAttachShader (GLuint, GLuint); -GLAPI void APIENTRY glBindAttribLocation (GLuint, GLuint, const GLchar *); -GLAPI void APIENTRY glCompileShader (GLuint); -GLAPI GLuint APIENTRY glCreateProgram (void); -GLAPI GLuint APIENTRY glCreateShader (GLenum); -GLAPI void APIENTRY glDeleteProgram (GLuint); -GLAPI void APIENTRY glDeleteShader (GLuint); -GLAPI void APIENTRY glDetachShader (GLuint, GLuint); -GLAPI void APIENTRY glDisableVertexAttribArray (GLuint); -GLAPI void APIENTRY glEnableVertexAttribArray (GLuint); -GLAPI void APIENTRY glGetActiveAttrib (GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *); -GLAPI void APIENTRY glGetActiveUniform (GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *); -GLAPI void APIENTRY glGetAttachedShaders (GLuint, GLsizei, GLsizei *, GLuint *); -GLAPI GLint APIENTRY glGetAttribLocation (GLuint, const GLchar *); -GLAPI void APIENTRY glGetProgramiv (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetProgramInfoLog (GLuint, GLsizei, GLsizei *, GLchar *); -GLAPI void APIENTRY glGetShaderiv (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetShaderInfoLog (GLuint, GLsizei, GLsizei *, GLchar *); -GLAPI void APIENTRY glGetShaderSource (GLuint, GLsizei, GLsizei *, GLchar *); -GLAPI GLint APIENTRY glGetUniformLocation (GLuint, const GLchar *); -GLAPI void APIENTRY glGetUniformfv (GLuint, GLint, GLfloat *); -GLAPI void APIENTRY glGetUniformiv (GLuint, GLint, GLint *); -GLAPI void APIENTRY glGetVertexAttribdv (GLuint, GLenum, GLdouble *); -GLAPI void APIENTRY glGetVertexAttribfv (GLuint, GLenum, GLfloat *); -GLAPI void APIENTRY glGetVertexAttribiv (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint, GLenum, GLvoid* *); -GLAPI GLboolean APIENTRY glIsProgram (GLuint); -GLAPI GLboolean APIENTRY glIsShader (GLuint); -GLAPI void APIENTRY glLinkProgram (GLuint); -GLAPI void APIENTRY glShaderSource (GLuint, GLsizei, const GLchar* *, const GLint *); -GLAPI void APIENTRY glUseProgram (GLuint); -GLAPI void APIENTRY glUniform1f (GLint, GLfloat); -GLAPI void APIENTRY glUniform2f (GLint, GLfloat, GLfloat); -GLAPI void APIENTRY glUniform3f (GLint, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glUniform4f (GLint, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glUniform1i (GLint, GLint); -GLAPI void APIENTRY glUniform2i (GLint, GLint, GLint); -GLAPI void APIENTRY glUniform3i (GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glUniform4i (GLint, GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glUniform1fv (GLint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glUniform2fv (GLint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glUniform3fv (GLint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glUniform4fv (GLint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glUniform1iv (GLint, GLsizei, const GLint *); -GLAPI void APIENTRY glUniform2iv (GLint, GLsizei, const GLint *); -GLAPI void APIENTRY glUniform3iv (GLint, GLsizei, const GLint *); -GLAPI void APIENTRY glUniform4iv (GLint, GLsizei, const GLint *); -GLAPI void APIENTRY glUniformMatrix2fv (GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glUniformMatrix3fv (GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glUniformMatrix4fv (GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glValidateProgram (GLuint); -GLAPI void APIENTRY glVertexAttrib1d (GLuint, GLdouble); -GLAPI void APIENTRY glVertexAttrib1dv (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib1f (GLuint, GLfloat); -GLAPI void APIENTRY glVertexAttrib1fv (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib1s (GLuint, GLshort); -GLAPI void APIENTRY glVertexAttrib1sv (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib2d (GLuint, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexAttrib2dv (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib2f (GLuint, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexAttrib2fv (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib2s (GLuint, GLshort, GLshort); -GLAPI void APIENTRY glVertexAttrib2sv (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib3d (GLuint, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexAttrib3dv (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib3f (GLuint, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexAttrib3fv (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib3s (GLuint, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glVertexAttrib3sv (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint, const GLbyte *); -GLAPI void APIENTRY glVertexAttrib4Niv (GLuint, const GLint *); -GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib4Nub (GLuint, GLubyte, GLubyte, GLubyte, GLubyte); -GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint, const GLubyte *); -GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint, const GLuint *); -GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint, const GLushort *); -GLAPI void APIENTRY glVertexAttrib4bv (GLuint, const GLbyte *); -GLAPI void APIENTRY glVertexAttrib4d (GLuint, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexAttrib4dv (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib4f (GLuint, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexAttrib4fv (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib4iv (GLuint, const GLint *); -GLAPI void APIENTRY glVertexAttrib4s (GLuint, GLshort, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glVertexAttrib4sv (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib4ubv (GLuint, const GLubyte *); -GLAPI void APIENTRY glVertexAttrib4uiv (GLuint, const GLuint *); -GLAPI void APIENTRY glVertexAttrib4usv (GLuint, const GLushort *); -GLAPI void APIENTRY glVertexAttribPointer (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha); -typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs); -typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); -typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); -typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask); -typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); -typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name); -typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader); -typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void); -typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type); -typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program); -typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader); -typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader); -typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index); -typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); -typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj); -typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name); -typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); -typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name); -typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params); -typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, GLvoid* *pointer); -typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program); -typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader); -typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program); -typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length); -typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program); -typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); -typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); -typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0); -typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); -typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); -typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); -#endif - -#ifndef GL_ARB_multitexture -#define GL_ARB_multitexture 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glActiveTextureARB (GLenum); -GLAPI void APIENTRY glClientActiveTextureARB (GLenum); -GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum, GLdouble); -GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum, const GLdouble *); -GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum, GLfloat); -GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum, const GLfloat *); -GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum, GLint); -GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum, const GLint *); -GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum, GLshort); -GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum, const GLshort *); -GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum, GLdouble, GLdouble); -GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum, const GLdouble *); -GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum, GLfloat, GLfloat); -GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum, const GLfloat *); -GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum, GLint, GLint); -GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum, const GLint *); -GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum, GLshort, GLshort); -GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum, const GLshort *); -GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum, const GLdouble *); -GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum, const GLfloat *); -GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum, GLint, GLint, GLint); -GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum, const GLint *); -GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum, const GLshort *); -GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum, const GLdouble *); -GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum, const GLfloat *); -GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum, GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum, const GLint *); -GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum, GLshort, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum, const GLshort *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture); -typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v); -#endif - -#ifndef GL_ARB_transpose_matrix -#define GL_ARB_transpose_matrix 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *); -GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *); -GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *); -GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m); -typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m); -typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m); -typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m); -#endif - -#ifndef GL_ARB_multisample -#define GL_ARB_multisample 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glSampleCoverageARB (GLclampf, GLboolean); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert); -#endif - -#ifndef GL_ARB_texture_env_add -#define GL_ARB_texture_env_add 1 -#endif - -#ifndef GL_ARB_texture_cube_map -#define GL_ARB_texture_cube_map 1 -#endif - -#ifndef GL_ARB_texture_compression -#define GL_ARB_texture_compression 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum, GLint, GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, GLvoid *img); -#endif - -#ifndef GL_ARB_texture_border_clamp -#define GL_ARB_texture_border_clamp 1 -#endif - -#ifndef GL_ARB_point_parameters -#define GL_ARB_point_parameters 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPointParameterfARB (GLenum, GLfloat); -GLAPI void APIENTRY glPointParameterfvARB (GLenum, const GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params); -#endif - -#ifndef GL_ARB_vertex_blend -#define GL_ARB_vertex_blend 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glWeightbvARB (GLint, const GLbyte *); -GLAPI void APIENTRY glWeightsvARB (GLint, const GLshort *); -GLAPI void APIENTRY glWeightivARB (GLint, const GLint *); -GLAPI void APIENTRY glWeightfvARB (GLint, const GLfloat *); -GLAPI void APIENTRY glWeightdvARB (GLint, const GLdouble *); -GLAPI void APIENTRY glWeightubvARB (GLint, const GLubyte *); -GLAPI void APIENTRY glWeightusvARB (GLint, const GLushort *); -GLAPI void APIENTRY glWeightuivARB (GLint, const GLuint *); -GLAPI void APIENTRY glWeightPointerARB (GLint, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glVertexBlendARB (GLint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights); -typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights); -typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights); -typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights); -typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights); -typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights); -typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights); -typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights); -typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count); -#endif - -#ifndef GL_ARB_matrix_palette -#define GL_ARB_matrix_palette 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint); -GLAPI void APIENTRY glMatrixIndexubvARB (GLint, const GLubyte *); -GLAPI void APIENTRY glMatrixIndexusvARB (GLint, const GLushort *); -GLAPI void APIENTRY glMatrixIndexuivARB (GLint, const GLuint *); -GLAPI void APIENTRY glMatrixIndexPointerARB (GLint, GLenum, GLsizei, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index); -typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices); -typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices); -typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices); -typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -#endif - -#ifndef GL_ARB_texture_env_combine -#define GL_ARB_texture_env_combine 1 -#endif - -#ifndef GL_ARB_texture_env_crossbar -#define GL_ARB_texture_env_crossbar 1 -#endif - -#ifndef GL_ARB_texture_env_dot3 -#define GL_ARB_texture_env_dot3 1 -#endif - -#ifndef GL_ARB_texture_mirrored_repeat -#define GL_ARB_texture_mirrored_repeat 1 -#endif - -#ifndef GL_ARB_depth_texture -#define GL_ARB_depth_texture 1 -#endif - -#ifndef GL_ARB_shadow -#define GL_ARB_shadow 1 -#endif - -#ifndef GL_ARB_shadow_ambient -#define GL_ARB_shadow_ambient 1 -#endif - -#ifndef GL_ARB_window_pos -#define GL_ARB_window_pos 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glWindowPos2dARB (GLdouble, GLdouble); -GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *); -GLAPI void APIENTRY glWindowPos2fARB (GLfloat, GLfloat); -GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *); -GLAPI void APIENTRY glWindowPos2iARB (GLint, GLint); -GLAPI void APIENTRY glWindowPos2ivARB (const GLint *); -GLAPI void APIENTRY glWindowPos2sARB (GLshort, GLshort); -GLAPI void APIENTRY glWindowPos2svARB (const GLshort *); -GLAPI void APIENTRY glWindowPos3dARB (GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *); -GLAPI void APIENTRY glWindowPos3fARB (GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *); -GLAPI void APIENTRY glWindowPos3iARB (GLint, GLint, GLint); -GLAPI void APIENTRY glWindowPos3ivARB (const GLint *); -GLAPI void APIENTRY glWindowPos3sARB (GLshort, GLshort, GLshort); -GLAPI void APIENTRY glWindowPos3svARB (const GLshort *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y); -typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y); -typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z); -typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z); -typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v); -#endif - -#ifndef GL_ARB_vertex_program -#define GL_ARB_vertex_program 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexAttrib1dARB (GLuint, GLdouble); -GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib1fARB (GLuint, GLfloat); -GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib1sARB (GLuint, GLshort); -GLAPI void APIENTRY glVertexAttrib1svARB (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib2dARB (GLuint, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib2fARB (GLuint, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib2sARB (GLuint, GLshort, GLshort); -GLAPI void APIENTRY glVertexAttrib2svARB (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib3dARB (GLuint, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib3fARB (GLuint, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib3sARB (GLuint, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glVertexAttrib3svARB (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint, const GLbyte *); -GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint, const GLint *); -GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint, GLubyte, GLubyte, GLubyte, GLubyte); -GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint, const GLubyte *); -GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint, const GLuint *); -GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint, const GLushort *); -GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint, const GLbyte *); -GLAPI void APIENTRY glVertexAttrib4dARB (GLuint, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib4fARB (GLuint, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint, const GLint *); -GLAPI void APIENTRY glVertexAttrib4sARB (GLuint, GLshort, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glVertexAttrib4svARB (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint, const GLubyte *); -GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint, const GLuint *); -GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint, const GLushort *); -GLAPI void APIENTRY glVertexAttribPointerARB (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *); -GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint); -GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint); -GLAPI void APIENTRY glProgramStringARB (GLenum, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glBindProgramARB (GLenum, GLuint); -GLAPI void APIENTRY glDeleteProgramsARB (GLsizei, const GLuint *); -GLAPI void APIENTRY glGenProgramsARB (GLsizei, GLuint *); -GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum, GLuint, const GLdouble *); -GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum, GLuint, const GLfloat *); -GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum, GLuint, const GLdouble *); -GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum, GLuint, const GLfloat *); -GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum, GLuint, GLdouble *); -GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum, GLuint, GLfloat *); -GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum, GLuint, GLdouble *); -GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum, GLuint, GLfloat *); -GLAPI void APIENTRY glGetProgramivARB (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetProgramStringARB (GLenum, GLenum, GLvoid *); -GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint, GLenum, GLdouble *); -GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint, GLenum, GLfloat *); -GLAPI void APIENTRY glGetVertexAttribivARB (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint, GLenum, GLvoid* *); -GLAPI GLboolean APIENTRY glIsProgramARB (GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index); -typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index); -typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const GLvoid *string); -typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program); -typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs); -typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params); -typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params); -typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params); -typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params); -typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params); -typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, GLvoid *string); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, GLvoid* *pointer); -typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program); -#endif - -#ifndef GL_ARB_fragment_program -#define GL_ARB_fragment_program 1 -/* All ARB_fragment_program entry points are shared with ARB_vertex_program. */ -#endif - -#ifndef GL_ARB_vertex_buffer_object -#define GL_ARB_vertex_buffer_object 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBindBufferARB (GLenum, GLuint); -GLAPI void APIENTRY glDeleteBuffersARB (GLsizei, const GLuint *); -GLAPI void APIENTRY glGenBuffersARB (GLsizei, GLuint *); -GLAPI GLboolean APIENTRY glIsBufferARB (GLuint); -GLAPI void APIENTRY glBufferDataARB (GLenum, GLsizeiptrARB, const GLvoid *, GLenum); -GLAPI void APIENTRY glBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrARB, const GLvoid *); -GLAPI void APIENTRY glGetBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrARB, GLvoid *); -GLAPI GLvoid* APIENTRY glMapBufferARB (GLenum, GLenum); -GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum); -GLAPI void APIENTRY glGetBufferParameterivARB (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetBufferPointervARB (GLenum, GLenum, GLvoid* *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer); -typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers); -typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers); -typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer); -typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage); -typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data); -typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data); -typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access); -typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target); -typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, GLvoid* *params); -#endif - -#ifndef GL_ARB_occlusion_query -#define GL_ARB_occlusion_query 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGenQueriesARB (GLsizei, GLuint *); -GLAPI void APIENTRY glDeleteQueriesARB (GLsizei, const GLuint *); -GLAPI GLboolean APIENTRY glIsQueryARB (GLuint); -GLAPI void APIENTRY glBeginQueryARB (GLenum, GLuint); -GLAPI void APIENTRY glEndQueryARB (GLenum); -GLAPI void APIENTRY glGetQueryivARB (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetQueryObjectivARB (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint, GLenum, GLuint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids); -typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids); -typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id); -typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id); -typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target); -typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params); -#endif - -#ifndef GL_ARB_shader_objects -#define GL_ARB_shader_objects 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB); -GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum); -GLAPI void APIENTRY glDetachObjectARB (GLhandleARB, GLhandleARB); -GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum); -GLAPI void APIENTRY glShaderSourceARB (GLhandleARB, GLsizei, const GLcharARB* *, const GLint *); -GLAPI void APIENTRY glCompileShaderARB (GLhandleARB); -GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void); -GLAPI void APIENTRY glAttachObjectARB (GLhandleARB, GLhandleARB); -GLAPI void APIENTRY glLinkProgramARB (GLhandleARB); -GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB); -GLAPI void APIENTRY glValidateProgramARB (GLhandleARB); -GLAPI void APIENTRY glUniform1fARB (GLint, GLfloat); -GLAPI void APIENTRY glUniform2fARB (GLint, GLfloat, GLfloat); -GLAPI void APIENTRY glUniform3fARB (GLint, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glUniform4fARB (GLint, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glUniform1iARB (GLint, GLint); -GLAPI void APIENTRY glUniform2iARB (GLint, GLint, GLint); -GLAPI void APIENTRY glUniform3iARB (GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glUniform4iARB (GLint, GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glUniform1fvARB (GLint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glUniform2fvARB (GLint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glUniform3fvARB (GLint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glUniform4fvARB (GLint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glUniform1ivARB (GLint, GLsizei, const GLint *); -GLAPI void APIENTRY glUniform2ivARB (GLint, GLsizei, const GLint *); -GLAPI void APIENTRY glUniform3ivARB (GLint, GLsizei, const GLint *); -GLAPI void APIENTRY glUniform4ivARB (GLint, GLsizei, const GLint *); -GLAPI void APIENTRY glUniformMatrix2fvARB (GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glUniformMatrix3fvARB (GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glUniformMatrix4fvARB (GLint, GLsizei, GLboolean, const GLfloat *); -GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB, GLenum, GLfloat *); -GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB, GLenum, GLint *); -GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *); -GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB, GLsizei, GLsizei *, GLhandleARB *); -GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB, const GLcharARB *); -GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *); -GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB, GLint, GLfloat *); -GLAPI void APIENTRY glGetUniformivARB (GLhandleARB, GLint, GLint *); -GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj); -typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname); -typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj); -typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType); -typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB* *string, const GLint *length); -typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj); -typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void); -typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj); -typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj); -typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj); -typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj); -typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0); -typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1); -typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0); -typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1); -typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2); -typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog); -typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj); -typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name); -typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); -typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params); -typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params); -typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source); -#endif - -#ifndef GL_ARB_vertex_shader -#define GL_ARB_vertex_shader 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB, GLuint, const GLcharARB *); -GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *); -GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB, const GLcharARB *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name); -typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); -typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name); -#endif - -#ifndef GL_ARB_fragment_shader -#define GL_ARB_fragment_shader 1 -#endif - -#ifndef GL_ARB_shading_language_100 -#define GL_ARB_shading_language_100 1 -#endif - -#ifndef GL_ARB_texture_non_power_of_two -#define GL_ARB_texture_non_power_of_two 1 -#endif - -#ifndef GL_ARB_point_sprite -#define GL_ARB_point_sprite 1 -#endif - -#ifndef GL_ARB_fragment_program_shadow -#define GL_ARB_fragment_program_shadow 1 -#endif - -#ifndef GL_ARB_draw_buffers -#define GL_ARB_draw_buffers 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawBuffersARB (GLsizei, const GLenum *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs); -#endif - -#ifndef GL_ARB_texture_rectangle -#define GL_ARB_texture_rectangle 1 -#endif - -#ifndef GL_ARB_color_buffer_float -#define GL_ARB_color_buffer_float 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glClampColorARB (GLenum, GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp); -#endif - -#ifndef GL_ARB_half_float_pixel -#define GL_ARB_half_float_pixel 1 -#endif - -#ifndef GL_ARB_texture_float -#define GL_ARB_texture_float 1 -#endif - -#ifndef GL_ARB_pixel_buffer_object -#define GL_ARB_pixel_buffer_object 1 -#endif - -#ifndef GL_EXT_abgr -#define GL_EXT_abgr 1 -#endif - -#ifndef GL_EXT_blend_color -#define GL_EXT_blend_color 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendColorEXT (GLclampf, GLclampf, GLclampf, GLclampf); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); -#endif - -#ifndef GL_EXT_polygon_offset -#define GL_EXT_polygon_offset 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat, GLfloat); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias); -#endif - -#ifndef GL_EXT_texture -#define GL_EXT_texture 1 -#endif - -#ifndef GL_EXT_texture3D -#define GL_EXT_texture3D 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTexImage3DEXT (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); -#endif - -#ifndef GL_SGIS_texture_filter4 -#define GL_SGIS_texture_filter4 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum, GLenum, GLsizei, const GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights); -typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights); -#endif - -#ifndef GL_EXT_subtexture -#define GL_EXT_subtexture 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTexSubImage1DEXT (GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); -#endif - -#ifndef GL_EXT_copy_texture -#define GL_EXT_copy_texture 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint); -GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint); -GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei); -GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); -GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); -typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -#endif - -#ifndef GL_EXT_histogram -#define GL_EXT_histogram 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGetHistogramEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *); -GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetMinmaxEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *); -GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glHistogramEXT (GLenum, GLsizei, GLenum, GLboolean); -GLAPI void APIENTRY glMinmaxEXT (GLenum, GLenum, GLboolean); -GLAPI void APIENTRY glResetHistogramEXT (GLenum); -GLAPI void APIENTRY glResetMinmaxEXT (GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); -typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); -typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); -typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink); -typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target); -typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target); -#endif - -#ifndef GL_EXT_convolution -#define GL_EXT_convolution 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum, GLenum, GLfloat); -GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum, GLenum, const GLfloat *); -GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum, GLenum, GLint); -GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum, GLenum, GLint, GLint, GLsizei); -GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei); -GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum, GLenum, GLenum, GLvoid *); -GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *); -GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); -typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params); -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image); -typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); -typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); -#endif - -#ifndef GL_EXT_color_matrix -#define GL_EXT_color_matrix 1 -#endif - -#ifndef GL_SGI_color_table -#define GL_SGI_color_table 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glColorTableSGI (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum, GLenum, const GLfloat *); -GLAPI void APIENTRY glColorTableParameterivSGI (GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glCopyColorTableSGI (GLenum, GLenum, GLint, GLint, GLsizei); -GLAPI void APIENTRY glGetColorTableSGI (GLenum, GLenum, GLenum, GLvoid *); -GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum, GLenum, GLint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); -typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params); -#endif - -#ifndef GL_SGIX_pixel_texture -#define GL_SGIX_pixel_texture 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPixelTexGenSGIX (GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode); -#endif - -#ifndef GL_SGIS_pixel_texture -#define GL_SGIS_pixel_texture 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum, GLint); -GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum, const GLint *); -GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum, GLfloat); -GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum, const GLfloat *); -GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum, GLint *); -GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum, GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params); -#endif - -#ifndef GL_SGIS_texture4D -#define GL_SGIS_texture4D 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTexImage4DSGIS (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glTexSubImage4DSGIS (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -typedef void (APIENTRYP PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels); -#endif - -#ifndef GL_SGI_texture_color_table -#define GL_SGI_texture_color_table 1 -#endif - -#ifndef GL_EXT_cmyka -#define GL_EXT_cmyka 1 -#endif - -#ifndef GL_EXT_texture_object -#define GL_EXT_texture_object 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei, const GLuint *, GLboolean *); -GLAPI void APIENTRY glBindTextureEXT (GLenum, GLuint); -GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei, const GLuint *); -GLAPI void APIENTRY glGenTexturesEXT (GLsizei, GLuint *); -GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint); -GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei, const GLuint *, const GLclampf *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences); -typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture); -typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures); -typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures); -typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture); -typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities); -#endif - -#ifndef GL_SGIS_detail_texture -#define GL_SGIS_detail_texture 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum, GLsizei, const GLfloat *); -GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum, GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points); -typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points); -#endif - -#ifndef GL_SGIS_sharpen_texture -#define GL_SGIS_sharpen_texture 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum, GLsizei, const GLfloat *); -GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum, GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points); -typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points); -#endif - -#ifndef GL_EXT_packed_pixels -#define GL_EXT_packed_pixels 1 -#endif - -#ifndef GL_SGIS_texture_lod -#define GL_SGIS_texture_lod 1 -#endif - -#ifndef GL_SGIS_multisample -#define GL_SGIS_multisample 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glSampleMaskSGIS (GLclampf, GLboolean); -GLAPI void APIENTRY glSamplePatternSGIS (GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert); -typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern); -#endif - -#ifndef GL_EXT_rescale_normal -#define GL_EXT_rescale_normal 1 -#endif - -#ifndef GL_EXT_vertex_array -#define GL_EXT_vertex_array 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glArrayElementEXT (GLint); -GLAPI void APIENTRY glColorPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *); -GLAPI void APIENTRY glDrawArraysEXT (GLenum, GLint, GLsizei); -GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei, GLsizei, const GLboolean *); -GLAPI void APIENTRY glGetPointervEXT (GLenum, GLvoid* *); -GLAPI void APIENTRY glIndexPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *); -GLAPI void APIENTRY glNormalPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *); -GLAPI void APIENTRY glTexCoordPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *); -GLAPI void APIENTRY glVertexPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i); -typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count); -typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer); -typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params); -typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); -#endif - -#ifndef GL_EXT_misc_attribute -#define GL_EXT_misc_attribute 1 -#endif - -#ifndef GL_SGIS_generate_mipmap -#define GL_SGIS_generate_mipmap 1 -#endif - -#ifndef GL_SGIX_clipmap -#define GL_SGIX_clipmap 1 -#endif - -#ifndef GL_SGIX_shadow -#define GL_SGIX_shadow 1 -#endif - -#ifndef GL_SGIS_texture_edge_clamp -#define GL_SGIS_texture_edge_clamp 1 -#endif - -#ifndef GL_SGIS_texture_border_clamp -#define GL_SGIS_texture_border_clamp 1 -#endif - -#ifndef GL_EXT_blend_minmax -#define GL_EXT_blend_minmax 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendEquationEXT (GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode); -#endif - -#ifndef GL_EXT_blend_subtract -#define GL_EXT_blend_subtract 1 -#endif - -#ifndef GL_EXT_blend_logic_op -#define GL_EXT_blend_logic_op 1 -#endif - -#ifndef GL_SGIX_interlace -#define GL_SGIX_interlace 1 -#endif - -#ifndef GL_SGIX_pixel_tiles -#define GL_SGIX_pixel_tiles 1 -#endif - -#ifndef GL_SGIX_texture_select -#define GL_SGIX_texture_select 1 -#endif - -#ifndef GL_SGIX_sprite -#define GL_SGIX_sprite 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum, GLfloat); -GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum, const GLfloat *); -GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum, GLint); -GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum, const GLint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params); -#endif - -#ifndef GL_SGIX_texture_multi_buffer -#define GL_SGIX_texture_multi_buffer 1 -#endif - -#ifndef GL_EXT_point_parameters -#define GL_EXT_point_parameters 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPointParameterfEXT (GLenum, GLfloat); -GLAPI void APIENTRY glPointParameterfvEXT (GLenum, const GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params); -#endif - -#ifndef GL_SGIS_point_parameters -#define GL_SGIS_point_parameters 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPointParameterfSGIS (GLenum, GLfloat); -GLAPI void APIENTRY glPointParameterfvSGIS (GLenum, const GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params); -#endif - -#ifndef GL_SGIX_instruments -#define GL_SGIX_instruments 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLint APIENTRY glGetInstrumentsSGIX (void); -GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei, GLint *); -GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *); -GLAPI void APIENTRY glReadInstrumentsSGIX (GLint); -GLAPI void APIENTRY glStartInstrumentsSGIX (void); -GLAPI void APIENTRY glStopInstrumentsSGIX (GLint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void); -typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer); -typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p); -typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker); -typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void); -typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker); -#endif - -#ifndef GL_SGIX_texture_scale_bias -#define GL_SGIX_texture_scale_bias 1 -#endif - -#ifndef GL_SGIX_framezoom -#define GL_SGIX_framezoom 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFrameZoomSGIX (GLint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor); -#endif - -#ifndef GL_SGIX_tag_sample_buffer -#define GL_SGIX_tag_sample_buffer 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTagSampleBufferSGIX (void); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void); -#endif - -#ifndef GL_SGIX_polynomial_ffd -#define GL_SGIX_polynomial_ffd 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDeformationMap3dSGIX (GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *); -GLAPI void APIENTRY glDeformationMap3fSGIX (GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *); -GLAPI void APIENTRY glDeformSGIX (GLbitfield); -GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLDEFORMATIONMAP3DSGIXPROC) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points); -typedef void (APIENTRYP PFNGLDEFORMATIONMAP3FSGIXPROC) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points); -typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask); -typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask); -#endif - -#ifndef GL_SGIX_reference_plane -#define GL_SGIX_reference_plane 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation); -#endif - -#ifndef GL_SGIX_flush_raster -#define GL_SGIX_flush_raster 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFlushRasterSGIX (void); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void); -#endif - -#ifndef GL_SGIX_depth_texture -#define GL_SGIX_depth_texture 1 -#endif - -#ifndef GL_SGIS_fog_function -#define GL_SGIS_fog_function 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFogFuncSGIS (GLsizei, const GLfloat *); -GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points); -typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points); -#endif - -#ifndef GL_SGIX_fog_offset -#define GL_SGIX_fog_offset 1 -#endif - -#ifndef GL_HP_image_transform -#define GL_HP_image_transform 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glImageTransformParameteriHP (GLenum, GLenum, GLint); -GLAPI void APIENTRY glImageTransformParameterfHP (GLenum, GLenum, GLfloat); -GLAPI void APIENTRY glImageTransformParameterivHP (GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum, GLenum, const GLfloat *); -GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum, GLenum, GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params); -#endif - -#ifndef GL_HP_convolution_border_modes -#define GL_HP_convolution_border_modes 1 -#endif - -#ifndef GL_SGIX_texture_add_env -#define GL_SGIX_texture_add_env 1 -#endif - -#ifndef GL_EXT_color_subtable -#define GL_EXT_color_subtable 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glColorSubTableEXT (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum, GLsizei, GLint, GLint, GLsizei); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); -typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); -#endif - -#ifndef GL_PGI_vertex_hints -#define GL_PGI_vertex_hints 1 -#endif - -#ifndef GL_PGI_misc_hints -#define GL_PGI_misc_hints 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glHintPGI (GLenum, GLint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode); -#endif - -#ifndef GL_EXT_paletted_texture -#define GL_EXT_paletted_texture 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glColorTableEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); -GLAPI void APIENTRY glGetColorTableEXT (GLenum, GLenum, GLenum, GLvoid *); -GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum, GLenum, GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); -typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *data); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); -#endif - -#ifndef GL_EXT_clip_volume_hint -#define GL_EXT_clip_volume_hint 1 -#endif - -#ifndef GL_SGIX_list_priority -#define GL_SGIX_list_priority 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint, GLenum, GLfloat *); -GLAPI void APIENTRY glGetListParameterivSGIX (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glListParameterfSGIX (GLuint, GLenum, GLfloat); -GLAPI void APIENTRY glListParameterfvSGIX (GLuint, GLenum, const GLfloat *); -GLAPI void APIENTRY glListParameteriSGIX (GLuint, GLenum, GLint); -GLAPI void APIENTRY glListParameterivSGIX (GLuint, GLenum, const GLint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params); -#endif - -#ifndef GL_SGIX_ir_instrument1 -#define GL_SGIX_ir_instrument1 1 -#endif - -#ifndef GL_SGIX_calligraphic_fragment -#define GL_SGIX_calligraphic_fragment 1 -#endif - -#ifndef GL_SGIX_texture_lod_bias -#define GL_SGIX_texture_lod_bias 1 -#endif - -#ifndef GL_SGIX_shadow_ambient -#define GL_SGIX_shadow_ambient 1 -#endif - -#ifndef GL_EXT_index_texture -#define GL_EXT_index_texture 1 -#endif - -#ifndef GL_EXT_index_material -#define GL_EXT_index_material 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glIndexMaterialEXT (GLenum, GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode); -#endif - -#ifndef GL_EXT_index_func -#define GL_EXT_index_func 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glIndexFuncEXT (GLenum, GLclampf); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref); -#endif - -#ifndef GL_EXT_index_array_formats -#define GL_EXT_index_array_formats 1 -#endif - -#ifndef GL_EXT_compiled_vertex_array -#define GL_EXT_compiled_vertex_array 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glLockArraysEXT (GLint, GLsizei); -GLAPI void APIENTRY glUnlockArraysEXT (void); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count); -typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void); -#endif - -#ifndef GL_EXT_cull_vertex -#define GL_EXT_cull_vertex 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glCullParameterdvEXT (GLenum, GLdouble *); -GLAPI void APIENTRY glCullParameterfvEXT (GLenum, GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params); -typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params); -#endif - -#ifndef GL_SGIX_ycrcb -#define GL_SGIX_ycrcb 1 -#endif - -#ifndef GL_SGIX_fragment_lighting -#define GL_SGIX_fragment_lighting 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum, GLenum); -GLAPI void APIENTRY glFragmentLightfSGIX (GLenum, GLenum, GLfloat); -GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum, GLenum, const GLfloat *); -GLAPI void APIENTRY glFragmentLightiSGIX (GLenum, GLenum, GLint); -GLAPI void APIENTRY glFragmentLightivSGIX (GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum, GLfloat); -GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum, const GLfloat *); -GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum, GLint); -GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum, const GLint *); -GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum, GLenum, GLfloat); -GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum, GLenum, const GLfloat *); -GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum, GLenum, GLint); -GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glLightEnviSGIX (GLenum, GLint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param); -#endif - -#ifndef GL_IBM_rasterpos_clip -#define GL_IBM_rasterpos_clip 1 -#endif - -#ifndef GL_HP_texture_lighting -#define GL_HP_texture_lighting 1 -#endif - -#ifndef GL_EXT_draw_range_elements -#define GL_EXT_draw_range_elements 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); -#endif - -#ifndef GL_WIN_phong_shading -#define GL_WIN_phong_shading 1 -#endif - -#ifndef GL_WIN_specular_fog -#define GL_WIN_specular_fog 1 -#endif - -#ifndef GL_EXT_light_texture -#define GL_EXT_light_texture 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glApplyTextureEXT (GLenum); -GLAPI void APIENTRY glTextureLightEXT (GLenum); -GLAPI void APIENTRY glTextureMaterialEXT (GLenum, GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode); -typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname); -typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode); -#endif - -#ifndef GL_SGIX_blend_alpha_minmax -#define GL_SGIX_blend_alpha_minmax 1 -#endif - -#ifndef GL_EXT_bgra -#define GL_EXT_bgra 1 -#endif - -#ifndef GL_SGIX_async -#define GL_SGIX_async 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint); -GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *); -GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *); -GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei); -GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint, GLsizei); -GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker); -typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp); -typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp); -typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range); -typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range); -typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker); -#endif - -#ifndef GL_SGIX_async_pixel -#define GL_SGIX_async_pixel 1 -#endif - -#ifndef GL_SGIX_async_histogram -#define GL_SGIX_async_histogram 1 -#endif - -#ifndef GL_INTEL_parallel_arrays -#define GL_INTEL_parallel_arrays 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexPointervINTEL (GLint, GLenum, const GLvoid* *); -GLAPI void APIENTRY glNormalPointervINTEL (GLenum, const GLvoid* *); -GLAPI void APIENTRY glColorPointervINTEL (GLint, GLenum, const GLvoid* *); -GLAPI void APIENTRY glTexCoordPointervINTEL (GLint, GLenum, const GLvoid* *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer); -typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const GLvoid* *pointer); -typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer); -typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer); -#endif - -#ifndef GL_HP_occlusion_test -#define GL_HP_occlusion_test 1 -#endif - -#ifndef GL_EXT_pixel_transform -#define GL_EXT_pixel_transform 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum, GLenum, GLint); -GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum, GLenum, GLfloat); -GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum, GLenum, const GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params); -#endif - -#ifndef GL_EXT_pixel_transform_color_table -#define GL_EXT_pixel_transform_color_table 1 -#endif - -#ifndef GL_EXT_shared_texture_palette -#define GL_EXT_shared_texture_palette 1 -#endif - -#ifndef GL_EXT_separate_specular_color -#define GL_EXT_separate_specular_color 1 -#endif - -#ifndef GL_EXT_secondary_color -#define GL_EXT_secondary_color 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte, GLbyte, GLbyte); -GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *); -GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *); -GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *); -GLAPI void APIENTRY glSecondaryColor3iEXT (GLint, GLint, GLint); -GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *); -GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort, GLshort, GLshort); -GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *); -GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte, GLubyte, GLubyte); -GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *); -GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint, GLuint, GLuint); -GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *); -GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort, GLushort, GLushort); -GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *); -GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint, GLenum, GLsizei, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v); -typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -#endif - -#ifndef GL_EXT_texture_perturb_normal -#define GL_EXT_texture_perturb_normal 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTextureNormalEXT (GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode); -#endif - -#ifndef GL_EXT_multi_draw_arrays -#define GL_EXT_multi_draw_arrays 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum, GLint *, GLsizei *, GLsizei); -GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); -#endif - -#ifndef GL_EXT_fog_coord -#define GL_EXT_fog_coord 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFogCoordfEXT (GLfloat); -GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *); -GLAPI void APIENTRY glFogCoorddEXT (GLdouble); -GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *); -GLAPI void APIENTRY glFogCoordPointerEXT (GLenum, GLsizei, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord); -typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord); -typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord); -typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord); -typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); -#endif - -#ifndef GL_REND_screen_coordinates -#define GL_REND_screen_coordinates 1 -#endif - -#ifndef GL_EXT_coordinate_frame -#define GL_EXT_coordinate_frame 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTangent3bEXT (GLbyte, GLbyte, GLbyte); -GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *); -GLAPI void APIENTRY glTangent3dEXT (GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *); -GLAPI void APIENTRY glTangent3fEXT (GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *); -GLAPI void APIENTRY glTangent3iEXT (GLint, GLint, GLint); -GLAPI void APIENTRY glTangent3ivEXT (const GLint *); -GLAPI void APIENTRY glTangent3sEXT (GLshort, GLshort, GLshort); -GLAPI void APIENTRY glTangent3svEXT (const GLshort *); -GLAPI void APIENTRY glBinormal3bEXT (GLbyte, GLbyte, GLbyte); -GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *); -GLAPI void APIENTRY glBinormal3dEXT (GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *); -GLAPI void APIENTRY glBinormal3fEXT (GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *); -GLAPI void APIENTRY glBinormal3iEXT (GLint, GLint, GLint); -GLAPI void APIENTRY glBinormal3ivEXT (const GLint *); -GLAPI void APIENTRY glBinormal3sEXT (GLshort, GLshort, GLshort); -GLAPI void APIENTRY glBinormal3svEXT (const GLshort *); -GLAPI void APIENTRY glTangentPointerEXT (GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glBinormalPointerEXT (GLenum, GLsizei, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz); -typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v); -typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz); -typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz); -typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz); -typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz); -typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz); -typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v); -typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz); -typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz); -typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz); -typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz); -typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer); -#endif - -#ifndef GL_EXT_texture_env_combine -#define GL_EXT_texture_env_combine 1 -#endif - -#ifndef GL_APPLE_specular_vector -#define GL_APPLE_specular_vector 1 -#endif - -#ifndef GL_APPLE_transform_hint -#define GL_APPLE_transform_hint 1 -#endif - -#ifndef GL_SGIX_fog_scale -#define GL_SGIX_fog_scale 1 -#endif - -#ifndef GL_SUNX_constant_data -#define GL_SUNX_constant_data 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFinishTextureSUNX (void); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void); -#endif - -#ifndef GL_SUN_global_alpha -#define GL_SUN_global_alpha 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte); -GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort); -GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint); -GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat); -GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble); -GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte); -GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort); -GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor); -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor); -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor); -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor); -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor); -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor); -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor); -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor); -#endif - -#ifndef GL_SUN_triangle_list -#define GL_SUN_triangle_list 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint); -GLAPI void APIENTRY glReplacementCodeusSUN (GLushort); -GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte); -GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *); -GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *); -GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *); -GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum, GLsizei, const GLvoid* *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const GLvoid* *pointer); -#endif - -#ifndef GL_SUN_vertex -#define GL_SUN_vertex 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat); -GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *, const GLfloat *); -GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *, const GLfloat *); -GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat, GLfloat, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *, const GLubyte *, const GLfloat *); -GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *, const GLfloat *); -GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *, const GLubyte *, const GLfloat *); -GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *); -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v); -typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v); -typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v); -typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v); -typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v); -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v); -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v); -typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); -#endif - -#ifndef GL_EXT_blend_func_separate -#define GL_EXT_blend_func_separate 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum, GLenum, GLenum, GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -#endif - -#ifndef GL_INGR_blend_func_separate -#define GL_INGR_blend_func_separate 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum, GLenum, GLenum, GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -#endif - -#ifndef GL_INGR_color_clamp -#define GL_INGR_color_clamp 1 -#endif - -#ifndef GL_INGR_interlace_read -#define GL_INGR_interlace_read 1 -#endif - -#ifndef GL_EXT_stencil_wrap -#define GL_EXT_stencil_wrap 1 -#endif - -#ifndef GL_EXT_422_pixels -#define GL_EXT_422_pixels 1 -#endif - -#ifndef GL_NV_texgen_reflection -#define GL_NV_texgen_reflection 1 -#endif - -#ifndef GL_SUN_convolution_border_modes -#define GL_SUN_convolution_border_modes 1 -#endif - -#ifndef GL_EXT_texture_env_add -#define GL_EXT_texture_env_add 1 -#endif - -#ifndef GL_EXT_texture_lod_bias -#define GL_EXT_texture_lod_bias 1 -#endif - -#ifndef GL_EXT_texture_filter_anisotropic -#define GL_EXT_texture_filter_anisotropic 1 -#endif - -#ifndef GL_EXT_vertex_weighting -#define GL_EXT_vertex_weighting 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexWeightfEXT (GLfloat); -GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *); -GLAPI void APIENTRY glVertexWeightPointerEXT (GLsizei, GLenum, GLsizei, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight); -typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight); -typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer); -#endif - -#ifndef GL_NV_light_max_exponent -#define GL_NV_light_max_exponent 1 -#endif - -#ifndef GL_NV_vertex_array_range -#define GL_NV_vertex_array_range 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glFlushVertexArrayRangeNV (void); -GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void); -typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const GLvoid *pointer); -#endif - -#ifndef GL_NV_register_combiners -#define GL_NV_register_combiners 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glCombinerParameterfvNV (GLenum, const GLfloat *); -GLAPI void APIENTRY glCombinerParameterfNV (GLenum, GLfloat); -GLAPI void APIENTRY glCombinerParameterivNV (GLenum, const GLint *); -GLAPI void APIENTRY glCombinerParameteriNV (GLenum, GLint); -GLAPI void APIENTRY glCombinerInputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum); -GLAPI void APIENTRY glCombinerOutputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean); -GLAPI void APIENTRY glFinalCombinerInputNV (GLenum, GLenum, GLenum, GLenum); -GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum, GLenum, GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum, GLenum, GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum, GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum, GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum, GLenum, GLint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param); -typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); -typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); -typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); -typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params); -#endif - -#ifndef GL_NV_fog_distance -#define GL_NV_fog_distance 1 -#endif - -#ifndef GL_NV_texgen_emboss -#define GL_NV_texgen_emboss 1 -#endif - -#ifndef GL_NV_blend_square -#define GL_NV_blend_square 1 -#endif - -#ifndef GL_NV_texture_env_combine4 -#define GL_NV_texture_env_combine4 1 -#endif - -#ifndef GL_MESA_resize_buffers -#define GL_MESA_resize_buffers 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glResizeBuffersMESA (void); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void); -#endif - -#ifndef GL_MESA_window_pos -#define GL_MESA_window_pos 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glWindowPos2dMESA (GLdouble, GLdouble); -GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *); -GLAPI void APIENTRY glWindowPos2fMESA (GLfloat, GLfloat); -GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *); -GLAPI void APIENTRY glWindowPos2iMESA (GLint, GLint); -GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *); -GLAPI void APIENTRY glWindowPos2sMESA (GLshort, GLshort); -GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *); -GLAPI void APIENTRY glWindowPos3dMESA (GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *); -GLAPI void APIENTRY glWindowPos3fMESA (GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *); -GLAPI void APIENTRY glWindowPos3iMESA (GLint, GLint, GLint); -GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *); -GLAPI void APIENTRY glWindowPos3sMESA (GLshort, GLshort, GLshort); -GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *); -GLAPI void APIENTRY glWindowPos4dMESA (GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *); -GLAPI void APIENTRY glWindowPos4fMESA (GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *); -GLAPI void APIENTRY glWindowPos4iMESA (GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *); -GLAPI void APIENTRY glWindowPos4sMESA (GLshort, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y); -typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y); -typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z); -typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z); -typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v); -typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v); -typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v); -typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w); -typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v); -typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v); -#endif - -#ifndef GL_IBM_cull_vertex -#define GL_IBM_cull_vertex 1 -#endif - -#ifndef GL_IBM_multimode_draw_arrays -#define GL_IBM_multimode_draw_arrays 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *, const GLint *, const GLsizei *, GLsizei, GLint); -GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *, const GLsizei *, GLenum, const GLvoid* const *, GLsizei, GLint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride); -typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, GLint modestride); -#endif - -#ifndef GL_IBM_vertex_array_lists -#define GL_IBM_vertex_array_lists 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint); -GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint); -GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint, const GLboolean* *, GLint); -GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum, GLint, const GLvoid* *, GLint); -GLAPI void APIENTRY glIndexPointerListIBM (GLenum, GLint, const GLvoid* *, GLint); -GLAPI void APIENTRY glNormalPointerListIBM (GLenum, GLint, const GLvoid* *, GLint); -GLAPI void APIENTRY glTexCoordPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint); -GLAPI void APIENTRY glVertexPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); -typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); -typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean* *pointer, GLint ptrstride); -typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); -typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); -typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); -typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); -typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride); -#endif - -#ifndef GL_SGIX_subsample -#define GL_SGIX_subsample 1 -#endif - -#ifndef GL_SGIX_ycrcba -#define GL_SGIX_ycrcba 1 -#endif - -#ifndef GL_SGIX_ycrcb_subsample -#define GL_SGIX_ycrcb_subsample 1 -#endif - -#ifndef GL_SGIX_depth_pass_instrument -#define GL_SGIX_depth_pass_instrument 1 -#endif - -#ifndef GL_3DFX_texture_compression_FXT1 -#define GL_3DFX_texture_compression_FXT1 1 -#endif - -#ifndef GL_3DFX_multisample -#define GL_3DFX_multisample 1 -#endif - -#ifndef GL_3DFX_tbuffer -#define GL_3DFX_tbuffer 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTbufferMask3DFX (GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask); -#endif - -#ifndef GL_EXT_multisample -#define GL_EXT_multisample 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glSampleMaskEXT (GLclampf, GLboolean); -GLAPI void APIENTRY glSamplePatternEXT (GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert); -typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern); -#endif - -#ifndef GL_SGIX_vertex_preclip -#define GL_SGIX_vertex_preclip 1 -#endif - -#ifndef GL_SGIX_convolution_accuracy -#define GL_SGIX_convolution_accuracy 1 -#endif - -#ifndef GL_SGIX_resample -#define GL_SGIX_resample 1 -#endif - -#ifndef GL_SGIS_point_line_texgen -#define GL_SGIS_point_line_texgen 1 -#endif - -#ifndef GL_SGIS_texture_color_mask -#define GL_SGIS_texture_color_mask 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean, GLboolean, GLboolean, GLboolean); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -#endif - -#ifndef GL_SGIX_igloo_interface -#define GL_SGIX_igloo_interface 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const GLvoid *params); -#endif - -#ifndef GL_EXT_texture_env_dot3 -#define GL_EXT_texture_env_dot3 1 -#endif - -#ifndef GL_ATI_texture_mirror_once -#define GL_ATI_texture_mirror_once 1 -#endif - -#ifndef GL_NV_fence -#define GL_NV_fence 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDeleteFencesNV (GLsizei, const GLuint *); -GLAPI void APIENTRY glGenFencesNV (GLsizei, GLuint *); -GLAPI GLboolean APIENTRY glIsFenceNV (GLuint); -GLAPI GLboolean APIENTRY glTestFenceNV (GLuint); -GLAPI void APIENTRY glGetFenceivNV (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glFinishFenceNV (GLuint); -GLAPI void APIENTRY glSetFenceNV (GLuint, GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); -typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); -typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); -typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); -typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); -typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); -#endif - -#ifndef GL_NV_evaluators -#define GL_NV_evaluators 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glMapControlPointsNV (GLenum, GLuint, GLenum, GLsizei, GLsizei, GLint, GLint, GLboolean, const GLvoid *); -GLAPI void APIENTRY glMapParameterivNV (GLenum, GLenum, const GLint *); -GLAPI void APIENTRY glMapParameterfvNV (GLenum, GLenum, const GLfloat *); -GLAPI void APIENTRY glGetMapControlPointsNV (GLenum, GLuint, GLenum, GLsizei, GLsizei, GLboolean, GLvoid *); -GLAPI void APIENTRY glGetMapParameterivNV (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGetMapParameterfvNV (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum, GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum, GLuint, GLenum, GLfloat *); -GLAPI void APIENTRY glEvalMapsNV (GLenum, GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points); -typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params); -typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points); -typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode); -#endif - -#ifndef GL_NV_packed_depth_stencil -#define GL_NV_packed_depth_stencil 1 -#endif - -#ifndef GL_NV_register_combiners2 -#define GL_NV_register_combiners2 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum, GLenum, const GLfloat *); -GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum, GLenum, GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params); -typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params); -#endif - -#ifndef GL_NV_texture_compression_vtc -#define GL_NV_texture_compression_vtc 1 -#endif - -#ifndef GL_NV_texture_rectangle -#define GL_NV_texture_rectangle 1 -#endif - -#ifndef GL_NV_texture_shader -#define GL_NV_texture_shader 1 -#endif - -#ifndef GL_NV_texture_shader2 -#define GL_NV_texture_shader2 1 -#endif - -#ifndef GL_NV_vertex_array_range2 -#define GL_NV_vertex_array_range2 1 -#endif - -#ifndef GL_NV_vertex_program -#define GL_NV_vertex_program 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei, const GLuint *, GLboolean *); -GLAPI void APIENTRY glBindProgramNV (GLenum, GLuint); -GLAPI void APIENTRY glDeleteProgramsNV (GLsizei, const GLuint *); -GLAPI void APIENTRY glExecuteProgramNV (GLenum, GLuint, const GLfloat *); -GLAPI void APIENTRY glGenProgramsNV (GLsizei, GLuint *); -GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum, GLuint, GLenum, GLdouble *); -GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum, GLuint, GLenum, GLfloat *); -GLAPI void APIENTRY glGetProgramivNV (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetProgramStringNV (GLuint, GLenum, GLubyte *); -GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum, GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint, GLenum, GLdouble *); -GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint, GLenum, GLfloat *); -GLAPI void APIENTRY glGetVertexAttribivNV (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint, GLenum, GLvoid* *); -GLAPI GLboolean APIENTRY glIsProgramNV (GLuint); -GLAPI void APIENTRY glLoadProgramNV (GLenum, GLuint, GLsizei, const GLubyte *); -GLAPI void APIENTRY glProgramParameter4dNV (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glProgramParameter4dvNV (GLenum, GLuint, const GLdouble *); -GLAPI void APIENTRY glProgramParameter4fNV (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glProgramParameter4fvNV (GLenum, GLuint, const GLfloat *); -GLAPI void APIENTRY glProgramParameters4dvNV (GLenum, GLuint, GLuint, const GLdouble *); -GLAPI void APIENTRY glProgramParameters4fvNV (GLenum, GLuint, GLuint, const GLfloat *); -GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei, const GLuint *); -GLAPI void APIENTRY glTrackMatrixNV (GLenum, GLuint, GLenum, GLenum); -GLAPI void APIENTRY glVertexAttribPointerNV (GLuint, GLint, GLenum, GLsizei, const GLvoid *); -GLAPI void APIENTRY glVertexAttrib1dNV (GLuint, GLdouble); -GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib1fNV (GLuint, GLfloat); -GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib1sNV (GLuint, GLshort); -GLAPI void APIENTRY glVertexAttrib1svNV (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib2dNV (GLuint, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib2fNV (GLuint, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib2sNV (GLuint, GLshort, GLshort); -GLAPI void APIENTRY glVertexAttrib2svNV (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib3dNV (GLuint, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib3fNV (GLuint, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib3sNV (GLuint, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glVertexAttrib3svNV (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib4dNV (GLuint, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint, const GLdouble *); -GLAPI void APIENTRY glVertexAttrib4fNV (GLuint, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint, const GLfloat *); -GLAPI void APIENTRY glVertexAttrib4sNV (GLuint, GLshort, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glVertexAttrib4svNV (GLuint, const GLshort *); -GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint, GLubyte, GLubyte, GLubyte, GLubyte); -GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint, const GLubyte *); -GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint, GLsizei, const GLdouble *); -GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glVertexAttribs1svNV (GLuint, GLsizei, const GLshort *); -GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint, GLsizei, const GLdouble *); -GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glVertexAttribs2svNV (GLuint, GLsizei, const GLshort *); -GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint, GLsizei, const GLdouble *); -GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glVertexAttribs3svNV (GLuint, GLsizei, const GLshort *); -GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint, GLsizei, const GLdouble *); -GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint, GLsizei, const GLfloat *); -GLAPI void APIENTRY glVertexAttribs4svNV (GLuint, GLsizei, const GLshort *); -GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint, GLsizei, const GLubyte *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences); -typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id); -typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs); -typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params); -typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs); -typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params); -typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program); -typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, GLvoid* *pointer); -typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id); -typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program); -typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLuint count, const GLdouble *v); -typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLuint count, const GLfloat *v); -typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs); -typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform); -typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v); -#endif - -#ifndef GL_SGIX_texture_coordinate_clamp -#define GL_SGIX_texture_coordinate_clamp 1 -#endif - -#ifndef GL_SGIX_scalebias_hint -#define GL_SGIX_scalebias_hint 1 -#endif - -#ifndef GL_OML_interlace -#define GL_OML_interlace 1 -#endif - -#ifndef GL_OML_subsample -#define GL_OML_subsample 1 -#endif - -#ifndef GL_OML_resample -#define GL_OML_resample 1 -#endif - -#ifndef GL_NV_copy_depth_to_color -#define GL_NV_copy_depth_to_color 1 -#endif - -#ifndef GL_ATI_envmap_bumpmap -#define GL_ATI_envmap_bumpmap 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glTexBumpParameterivATI (GLenum, const GLint *); -GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum, const GLfloat *); -GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum, GLint *); -GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum, GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param); -typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param); -typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param); -typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param); -#endif - -#ifndef GL_ATI_fragment_shader -#define GL_ATI_fragment_shader 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint); -GLAPI void APIENTRY glBindFragmentShaderATI (GLuint); -GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint); -GLAPI void APIENTRY glBeginFragmentShaderATI (void); -GLAPI void APIENTRY glEndFragmentShaderATI (void); -GLAPI void APIENTRY glPassTexCoordATI (GLuint, GLuint, GLenum); -GLAPI void APIENTRY glSampleMapATI (GLuint, GLuint, GLenum); -GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glColorFragmentOp3ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glAlphaFragmentOp3ATI (GLenum, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint, const GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range); -typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id); -typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id); -typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void); -typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void); -typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle); -typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle); -typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); -typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); -typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); -typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); -typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); -typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); -typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value); -#endif - -#ifndef GL_ATI_pn_triangles -#define GL_ATI_pn_triangles 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPNTrianglesiATI (GLenum, GLint); -GLAPI void APIENTRY glPNTrianglesfATI (GLenum, GLfloat); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param); -#endif - -#ifndef GL_ATI_vertex_array_object -#define GL_ATI_vertex_array_object 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei, const GLvoid *, GLenum); -GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint); -GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint, GLuint, GLsizei, const GLvoid *, GLenum); -GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint, GLenum, GLfloat *); -GLAPI void APIENTRY glGetObjectBufferivATI (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glFreeObjectBufferATI (GLuint); -GLAPI void APIENTRY glArrayObjectATI (GLenum, GLint, GLenum, GLsizei, GLuint, GLuint); -GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum, GLenum, GLfloat *); -GLAPI void APIENTRY glGetArrayObjectivATI (GLenum, GLenum, GLint *); -GLAPI void APIENTRY glVariantArrayObjectATI (GLuint, GLenum, GLsizei, GLuint, GLuint); -GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint, GLenum, GLfloat *); -GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint, GLenum, GLint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const GLvoid *pointer, GLenum usage); -typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer); -typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve); -typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer); -typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); -typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); -typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params); -#endif - -#ifndef GL_EXT_vertex_shader -#define GL_EXT_vertex_shader 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBeginVertexShaderEXT (void); -GLAPI void APIENTRY glEndVertexShaderEXT (void); -GLAPI void APIENTRY glBindVertexShaderEXT (GLuint); -GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint); -GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint); -GLAPI void APIENTRY glShaderOp1EXT (GLenum, GLuint, GLuint); -GLAPI void APIENTRY glShaderOp2EXT (GLenum, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glShaderOp3EXT (GLenum, GLuint, GLuint, GLuint, GLuint); -GLAPI void APIENTRY glSwizzleEXT (GLuint, GLuint, GLenum, GLenum, GLenum, GLenum); -GLAPI void APIENTRY glWriteMaskEXT (GLuint, GLuint, GLenum, GLenum, GLenum, GLenum); -GLAPI void APIENTRY glInsertComponentEXT (GLuint, GLuint, GLuint); -GLAPI void APIENTRY glExtractComponentEXT (GLuint, GLuint, GLuint); -GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum, GLenum, GLenum, GLuint); -GLAPI void APIENTRY glSetInvariantEXT (GLuint, GLenum, const GLvoid *); -GLAPI void APIENTRY glSetLocalConstantEXT (GLuint, GLenum, const GLvoid *); -GLAPI void APIENTRY glVariantbvEXT (GLuint, const GLbyte *); -GLAPI void APIENTRY glVariantsvEXT (GLuint, const GLshort *); -GLAPI void APIENTRY glVariantivEXT (GLuint, const GLint *); -GLAPI void APIENTRY glVariantfvEXT (GLuint, const GLfloat *); -GLAPI void APIENTRY glVariantdvEXT (GLuint, const GLdouble *); -GLAPI void APIENTRY glVariantubvEXT (GLuint, const GLubyte *); -GLAPI void APIENTRY glVariantusvEXT (GLuint, const GLushort *); -GLAPI void APIENTRY glVariantuivEXT (GLuint, const GLuint *); -GLAPI void APIENTRY glVariantPointerEXT (GLuint, GLenum, GLuint, const GLvoid *); -GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint); -GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint); -GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum, GLenum); -GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum, GLenum); -GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum, GLenum, GLenum); -GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum, GLenum); -GLAPI GLuint APIENTRY glBindParameterEXT (GLenum); -GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint, GLenum); -GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint, GLenum, GLboolean *); -GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint, GLenum, GLfloat *); -GLAPI void APIENTRY glGetVariantPointervEXT (GLuint, GLenum, GLvoid* *); -GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint, GLenum, GLboolean *); -GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint, GLenum, GLfloat *); -GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint, GLenum, GLboolean *); -GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint, GLenum, GLfloat *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void); -typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void); -typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id); -typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range); -typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id); -typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1); -typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2); -typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3); -typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); -typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); -typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num); -typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num); -typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components); -typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr); -typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr); -typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr); -typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr); -typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr); -typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr); -typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr); -typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr); -typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr); -typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr); -typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const GLvoid *addr); -typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id); -typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id); -typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value); -typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value); -typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value); -typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value); -typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value); -typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap); -typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); -typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); -typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); -typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, GLvoid* *data); -typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); -typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); -typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); -typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); -typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); -typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); -#endif - -#ifndef GL_ATI_vertex_streams -#define GL_ATI_vertex_streams 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexStream1sATI (GLenum, GLshort); -GLAPI void APIENTRY glVertexStream1svATI (GLenum, const GLshort *); -GLAPI void APIENTRY glVertexStream1iATI (GLenum, GLint); -GLAPI void APIENTRY glVertexStream1ivATI (GLenum, const GLint *); -GLAPI void APIENTRY glVertexStream1fATI (GLenum, GLfloat); -GLAPI void APIENTRY glVertexStream1fvATI (GLenum, const GLfloat *); -GLAPI void APIENTRY glVertexStream1dATI (GLenum, GLdouble); -GLAPI void APIENTRY glVertexStream1dvATI (GLenum, const GLdouble *); -GLAPI void APIENTRY glVertexStream2sATI (GLenum, GLshort, GLshort); -GLAPI void APIENTRY glVertexStream2svATI (GLenum, const GLshort *); -GLAPI void APIENTRY glVertexStream2iATI (GLenum, GLint, GLint); -GLAPI void APIENTRY glVertexStream2ivATI (GLenum, const GLint *); -GLAPI void APIENTRY glVertexStream2fATI (GLenum, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexStream2fvATI (GLenum, const GLfloat *); -GLAPI void APIENTRY glVertexStream2dATI (GLenum, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexStream2dvATI (GLenum, const GLdouble *); -GLAPI void APIENTRY glVertexStream3sATI (GLenum, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glVertexStream3svATI (GLenum, const GLshort *); -GLAPI void APIENTRY glVertexStream3iATI (GLenum, GLint, GLint, GLint); -GLAPI void APIENTRY glVertexStream3ivATI (GLenum, const GLint *); -GLAPI void APIENTRY glVertexStream3fATI (GLenum, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexStream3fvATI (GLenum, const GLfloat *); -GLAPI void APIENTRY glVertexStream3dATI (GLenum, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexStream3dvATI (GLenum, const GLdouble *); -GLAPI void APIENTRY glVertexStream4sATI (GLenum, GLshort, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glVertexStream4svATI (GLenum, const GLshort *); -GLAPI void APIENTRY glVertexStream4iATI (GLenum, GLint, GLint, GLint, GLint); -GLAPI void APIENTRY glVertexStream4ivATI (GLenum, const GLint *); -GLAPI void APIENTRY glVertexStream4fATI (GLenum, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glVertexStream4fvATI (GLenum, const GLfloat *); -GLAPI void APIENTRY glVertexStream4dATI (GLenum, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glVertexStream4dvATI (GLenum, const GLdouble *); -GLAPI void APIENTRY glNormalStream3bATI (GLenum, GLbyte, GLbyte, GLbyte); -GLAPI void APIENTRY glNormalStream3bvATI (GLenum, const GLbyte *); -GLAPI void APIENTRY glNormalStream3sATI (GLenum, GLshort, GLshort, GLshort); -GLAPI void APIENTRY glNormalStream3svATI (GLenum, const GLshort *); -GLAPI void APIENTRY glNormalStream3iATI (GLenum, GLint, GLint, GLint); -GLAPI void APIENTRY glNormalStream3ivATI (GLenum, const GLint *); -GLAPI void APIENTRY glNormalStream3fATI (GLenum, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glNormalStream3fvATI (GLenum, const GLfloat *); -GLAPI void APIENTRY glNormalStream3dATI (GLenum, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glNormalStream3dvATI (GLenum, const GLdouble *); -GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum); -GLAPI void APIENTRY glVertexBlendEnviATI (GLenum, GLint); -GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum, GLfloat); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x); -typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x); -typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x); -typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x); -typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y); -typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z); -typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords); -typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz); -typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords); -typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz); -typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords); -typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz); -typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords); -typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz); -typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords); -typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz); -typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords); -typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream); -typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param); -#endif - -#ifndef GL_ATI_element_array -#define GL_ATI_element_array 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glElementPointerATI (GLenum, const GLvoid *); -GLAPI void APIENTRY glDrawElementArrayATI (GLenum, GLsizei); -GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum, GLuint, GLuint, GLsizei); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count); -typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count); -#endif - -#ifndef GL_SUN_mesh_array -#define GL_SUN_mesh_array 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum, GLint, GLsizei, GLsizei); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width); -#endif - -#ifndef GL_SUN_slice_accum -#define GL_SUN_slice_accum 1 -#endif - -#ifndef GL_NV_multisample_filter_hint -#define GL_NV_multisample_filter_hint 1 -#endif - -#ifndef GL_NV_depth_clamp -#define GL_NV_depth_clamp 1 -#endif - -#ifndef GL_NV_occlusion_query -#define GL_NV_occlusion_query 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei, GLuint *); -GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei, const GLuint *); -GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint); -GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint); -GLAPI void APIENTRY glEndOcclusionQueryNV (void); -GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint, GLenum, GLint *); -GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint, GLenum, GLuint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids); -typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids); -typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id); -typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id); -typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void); -typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params); -#endif - -#ifndef GL_NV_point_sprite -#define GL_NV_point_sprite 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPointParameteriNV (GLenum, GLint); -GLAPI void APIENTRY glPointParameterivNV (GLenum, const GLint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param); -typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params); -#endif - -#ifndef GL_NV_texture_shader3 -#define GL_NV_texture_shader3 1 -#endif - -#ifndef GL_NV_vertex_program1_1 -#define GL_NV_vertex_program1_1 1 -#endif - -#ifndef GL_EXT_shadow_funcs -#define GL_EXT_shadow_funcs 1 -#endif - -#ifndef GL_EXT_stencil_two_side -#define GL_EXT_stencil_two_side 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face); -#endif - -#ifndef GL_ATI_text_fragment_shader -#define GL_ATI_text_fragment_shader 1 -#endif - -#ifndef GL_APPLE_client_storage -#define GL_APPLE_client_storage 1 -#endif - -#ifndef GL_APPLE_element_array -#define GL_APPLE_element_array 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glElementPointerAPPLE (GLenum, const GLvoid *); -GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum, GLint, GLsizei); -GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum, GLuint, GLuint, GLint, GLsizei); -GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum, const GLint *, const GLsizei *, GLsizei); -GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum, GLuint, GLuint, const GLint *, const GLsizei *, GLsizei); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const GLvoid *pointer); -typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count); -typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count); -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); -typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount); -#endif - -#ifndef GL_APPLE_fence -#define GL_APPLE_fence 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glGenFencesAPPLE (GLsizei, GLuint *); -GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei, const GLuint *); -GLAPI void APIENTRY glSetFenceAPPLE (GLuint); -GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint); -GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint); -GLAPI void APIENTRY glFinishFenceAPPLE (GLuint); -GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum, GLuint); -GLAPI void APIENTRY glFinishObjectAPPLE (GLenum, GLint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences); -typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences); -typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence); -typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence); -typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence); -typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence); -typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name); -typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name); -#endif - -#ifndef GL_APPLE_vertex_array_object -#define GL_APPLE_vertex_array_object 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint); -GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei, const GLuint *); -GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei, const GLuint *); -GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array); -typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays); -typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays); -typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array); -#endif - -#ifndef GL_APPLE_vertex_array_range -#define GL_APPLE_vertex_array_range 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei, GLvoid *); -GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei, GLvoid *); -GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum, GLint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer); -typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer); -typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param); -#endif - -#ifndef GL_APPLE_ycbcr_422 -#define GL_APPLE_ycbcr_422 1 -#endif - -#ifndef GL_S3_s3tc -#define GL_S3_s3tc 1 -#endif - -#ifndef GL_ATI_draw_buffers -#define GL_ATI_draw_buffers 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDrawBuffersATI (GLsizei, const GLenum *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs); -#endif - -#ifndef GL_ATI_pixel_format_float -#define GL_ATI_pixel_format_float 1 -/* This is really a WGL extension, but defines some associated GL enums. - * ATI does not export "GL_ATI_pixel_format_float" in the GL_EXTENSIONS string. - */ -#endif - -#ifndef GL_ATI_texture_env_combine3 -#define GL_ATI_texture_env_combine3 1 -#endif - -#ifndef GL_ATI_texture_float -#define GL_ATI_texture_float 1 -#endif - -#ifndef GL_NV_float_buffer -#define GL_NV_float_buffer 1 -#endif - -#ifndef GL_NV_fragment_program -#define GL_NV_fragment_program 1 -/* Some NV_fragment_program entry points are shared with ARB_vertex_program. */ -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint, GLsizei, const GLubyte *, GLfloat, GLfloat, GLfloat, GLfloat); -GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint, GLsizei, const GLubyte *, GLdouble, GLdouble, GLdouble, GLdouble); -GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint, GLsizei, const GLubyte *, const GLfloat *); -GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint, GLsizei, const GLubyte *, const GLdouble *); -GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint, GLsizei, const GLubyte *, GLfloat *); -GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint, GLsizei, const GLubyte *, GLdouble *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v); -typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v); -typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params); -typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params); -#endif - -#ifndef GL_NV_half_float -#define GL_NV_half_float 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertex2hNV (GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *); -GLAPI void APIENTRY glVertex3hNV (GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *); -GLAPI void APIENTRY glVertex4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *); -GLAPI void APIENTRY glNormal3hNV (GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *); -GLAPI void APIENTRY glColor3hNV (GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *); -GLAPI void APIENTRY glColor4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *); -GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV); -GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *); -GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *); -GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *); -GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *); -GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum, GLhalfNV); -GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum, const GLhalfNV *); -GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum, const GLhalfNV *); -GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum, GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum, const GLhalfNV *); -GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum, GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum, const GLhalfNV *); -GLAPI void APIENTRY glFogCoordhNV (GLhalfNV); -GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *); -GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *); -GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV); -GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *); -GLAPI void APIENTRY glVertexAttrib1hNV (GLuint, GLhalfNV); -GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint, const GLhalfNV *); -GLAPI void APIENTRY glVertexAttrib2hNV (GLuint, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint, const GLhalfNV *); -GLAPI void APIENTRY glVertexAttrib3hNV (GLuint, GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint, const GLhalfNV *); -GLAPI void APIENTRY glVertexAttrib4hNV (GLuint, GLhalfNV, GLhalfNV, GLhalfNV, GLhalfNV); -GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint, const GLhalfNV *); -GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint, GLsizei, const GLhalfNV *); -GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint, GLsizei, const GLhalfNV *); -GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint, GLsizei, const GLhalfNV *); -GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint, GLsizei, const GLhalfNV *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y); -typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z); -typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); -typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz); -typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue); -typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha); -typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s); -typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t); -typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r); -typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); -typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s); -typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t); -typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r); -typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); -typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog); -typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue); -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight); -typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x); -typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y); -typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z); -typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); -typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); -typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); -#endif - -#ifndef GL_NV_pixel_data_range -#define GL_NV_pixel_data_range 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPixelDataRangeNV (GLenum, GLsizei, GLvoid *); -GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, GLvoid *pointer); -typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target); -#endif - -#ifndef GL_NV_primitive_restart -#define GL_NV_primitive_restart 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glPrimitiveRestartNV (void); -GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void); -typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index); -#endif - -#ifndef GL_NV_texture_expand_normal -#define GL_NV_texture_expand_normal 1 -#endif - -#ifndef GL_NV_vertex_program2 -#define GL_NV_vertex_program2 1 -#endif - -#ifndef GL_ATI_map_object_buffer -#define GL_ATI_map_object_buffer 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLvoid* APIENTRY glMapObjectBufferATI (GLuint); -GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef GLvoid* (APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer); -typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer); -#endif - -#ifndef GL_ATI_separate_stencil -#define GL_ATI_separate_stencil 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glStencilOpSeparateATI (GLenum, GLenum, GLenum, GLenum); -GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum, GLenum, GLint, GLuint); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); -typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); -#endif - -#ifndef GL_ATI_vertex_attrib_array_object -#define GL_ATI_vertex_attrib_array_object 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint, GLint, GLenum, GLboolean, GLsizei, GLuint, GLuint); -GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint, GLenum, GLfloat *); -GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint, GLenum, GLint *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params); -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params); -#endif - -#ifndef GL_OES_read_format -#define GL_OES_read_format 1 -#endif - -#ifndef GL_EXT_depth_bounds_test -#define GL_EXT_depth_bounds_test 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glDepthBoundsEXT (GLclampd, GLclampd); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax); -#endif - -#ifndef GL_EXT_texture_mirror_clamp -#define GL_EXT_texture_mirror_clamp 1 -#endif - -#ifndef GL_EXT_blend_equation_separate -#define GL_EXT_blend_equation_separate 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum, GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha); -#endif - -#ifndef GL_MESA_pack_invert -#define GL_MESA_pack_invert 1 -#endif - -#ifndef GL_MESA_ycbcr_texture -#define GL_MESA_ycbcr_texture 1 -#endif - -#ifndef GL_EXT_pixel_buffer_object -#define GL_EXT_pixel_buffer_object 1 -#endif - -#ifndef GL_NV_fragment_program_option -#define GL_NV_fragment_program_option 1 -#endif - -#ifndef GL_NV_fragment_program2 -#define GL_NV_fragment_program2 1 -#endif - -#ifndef GL_NV_vertex_program2_option -#define GL_NV_vertex_program2_option 1 -#endif - -#ifndef GL_NV_vertex_program3 -#define GL_NV_vertex_program3 1 -#endif - -#ifndef GL_EXT_framebuffer_object -#define GL_EXT_framebuffer_object 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint); -GLAPI void APIENTRY glBindRenderbufferEXT (GLenum, GLuint); -GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei, const GLuint *); -GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei, GLuint *); -GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum, GLenum, GLsizei, GLsizei); -GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum, GLenum, GLint *); -GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint); -GLAPI void APIENTRY glBindFramebufferEXT (GLenum, GLuint); -GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei, const GLuint *); -GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei, GLuint *); -GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum); -GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum, GLenum, GLenum, GLuint, GLint); -GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum, GLenum, GLenum, GLuint, GLint); -GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum, GLenum, GLenum, GLuint, GLint, GLint); -GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum, GLenum, GLenum, GLuint); -GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum, GLenum, GLenum, GLint *); -GLAPI void APIENTRY glGenerateMipmapEXT (GLenum); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer); -typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer); -typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers); -typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers); -typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); -typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer); -typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer); -typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers); -typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers); -typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); -typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); -typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target); -#endif - -#ifndef GL_GREMEDY_string_marker -#define GL_GREMEDY_string_marker 1 -#ifdef GL_GLEXT_PROTOTYPES -GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei, const GLvoid *); -#endif /* GL_GLEXT_PROTOTYPES */ -typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const GLvoid *string); -#endif - - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/src/other/togl/include/GL/glu.h b/src/other/togl/include/GL/glu.h deleted file mode 100644 index ba2228d8d86..00000000000 --- a/src/other/togl/include/GL/glu.h +++ /dev/null @@ -1,353 +0,0 @@ -/* - * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) - * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice including the dates of first publication and - * either this permission notice or a reference to - * http://oss.sgi.com/projects/FreeB/ - * shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL - * SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF - * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * Except as contained in this notice, the name of Silicon Graphics, Inc. - * shall not be used in advertising or otherwise to promote the sale, use or - * other dealings in this Software without prior written authorization from - * Silicon Graphics, Inc. - */ - -#ifndef __glu_h__ -#define __glu_h__ - -#if defined(USE_MGL_NAMESPACE) -#include "glu_mangle.h" -#endif - -#include - -#ifndef GLAPIENTRY -#if defined(_MSC_VER) || defined(__MINGW32__) -#define GLAPIENTRY __stdcall -#else -#define GLAPIENTRY -#endif -#endif - -#ifndef GLAPIENTRYP -#define GLAPIENTRYP GLAPIENTRY * -#endif - -#if (defined(_MSC_VER) || defined(__MINGW32__)) && defined(BUILD_GLU32) -# undef GLAPI -# define GLAPI __declspec(dllexport) -#elif (defined(_MSC_VER) || defined(__MINGW32__)) && defined(_DLL) -/* tag specifying we're building for DLL runtime support */ -# undef GLAPI -# define GLAPI __declspec(dllimport) -#elif !defined(GLAPI) -/* for use with static link lib build of Win32 edition only */ -# define GLAPI extern -#endif /* _STATIC_MESA support */ - -#ifdef __cplusplus -extern "C" { -#endif - -/*************************************************************/ - -/* Extensions */ -#define GLU_EXT_object_space_tess 1 -#define GLU_EXT_nurbs_tessellator 1 - -/* Boolean */ -#define GLU_FALSE 0 -#define GLU_TRUE 1 - -/* Version */ -#define GLU_VERSION_1_1 1 -#define GLU_VERSION_1_2 1 -#define GLU_VERSION_1_3 1 - -/* StringName */ -#define GLU_VERSION 100800 -#define GLU_EXTENSIONS 100801 - -/* ErrorCode */ -#define GLU_INVALID_ENUM 100900 -#define GLU_INVALID_VALUE 100901 -#define GLU_OUT_OF_MEMORY 100902 -#define GLU_INCOMPATIBLE_GL_VERSION 100903 -#define GLU_INVALID_OPERATION 100904 - -/* NurbsDisplay */ -/* GLU_FILL */ -#define GLU_OUTLINE_POLYGON 100240 -#define GLU_OUTLINE_PATCH 100241 - -/* NurbsCallback */ -#define GLU_NURBS_ERROR 100103 -#define GLU_ERROR 100103 -#define GLU_NURBS_BEGIN 100164 -#define GLU_NURBS_BEGIN_EXT 100164 -#define GLU_NURBS_VERTEX 100165 -#define GLU_NURBS_VERTEX_EXT 100165 -#define GLU_NURBS_NORMAL 100166 -#define GLU_NURBS_NORMAL_EXT 100166 -#define GLU_NURBS_COLOR 100167 -#define GLU_NURBS_COLOR_EXT 100167 -#define GLU_NURBS_TEXTURE_COORD 100168 -#define GLU_NURBS_TEX_COORD_EXT 100168 -#define GLU_NURBS_END 100169 -#define GLU_NURBS_END_EXT 100169 -#define GLU_NURBS_BEGIN_DATA 100170 -#define GLU_NURBS_BEGIN_DATA_EXT 100170 -#define GLU_NURBS_VERTEX_DATA 100171 -#define GLU_NURBS_VERTEX_DATA_EXT 100171 -#define GLU_NURBS_NORMAL_DATA 100172 -#define GLU_NURBS_NORMAL_DATA_EXT 100172 -#define GLU_NURBS_COLOR_DATA 100173 -#define GLU_NURBS_COLOR_DATA_EXT 100173 -#define GLU_NURBS_TEXTURE_COORD_DATA 100174 -#define GLU_NURBS_TEX_COORD_DATA_EXT 100174 -#define GLU_NURBS_END_DATA 100175 -#define GLU_NURBS_END_DATA_EXT 100175 - -/* NurbsError */ -#define GLU_NURBS_ERROR1 100251 -#define GLU_NURBS_ERROR2 100252 -#define GLU_NURBS_ERROR3 100253 -#define GLU_NURBS_ERROR4 100254 -#define GLU_NURBS_ERROR5 100255 -#define GLU_NURBS_ERROR6 100256 -#define GLU_NURBS_ERROR7 100257 -#define GLU_NURBS_ERROR8 100258 -#define GLU_NURBS_ERROR9 100259 -#define GLU_NURBS_ERROR10 100260 -#define GLU_NURBS_ERROR11 100261 -#define GLU_NURBS_ERROR12 100262 -#define GLU_NURBS_ERROR13 100263 -#define GLU_NURBS_ERROR14 100264 -#define GLU_NURBS_ERROR15 100265 -#define GLU_NURBS_ERROR16 100266 -#define GLU_NURBS_ERROR17 100267 -#define GLU_NURBS_ERROR18 100268 -#define GLU_NURBS_ERROR19 100269 -#define GLU_NURBS_ERROR20 100270 -#define GLU_NURBS_ERROR21 100271 -#define GLU_NURBS_ERROR22 100272 -#define GLU_NURBS_ERROR23 100273 -#define GLU_NURBS_ERROR24 100274 -#define GLU_NURBS_ERROR25 100275 -#define GLU_NURBS_ERROR26 100276 -#define GLU_NURBS_ERROR27 100277 -#define GLU_NURBS_ERROR28 100278 -#define GLU_NURBS_ERROR29 100279 -#define GLU_NURBS_ERROR30 100280 -#define GLU_NURBS_ERROR31 100281 -#define GLU_NURBS_ERROR32 100282 -#define GLU_NURBS_ERROR33 100283 -#define GLU_NURBS_ERROR34 100284 -#define GLU_NURBS_ERROR35 100285 -#define GLU_NURBS_ERROR36 100286 -#define GLU_NURBS_ERROR37 100287 - -/* NurbsProperty */ -#define GLU_AUTO_LOAD_MATRIX 100200 -#define GLU_CULLING 100201 -#define GLU_SAMPLING_TOLERANCE 100203 -#define GLU_DISPLAY_MODE 100204 -#define GLU_PARAMETRIC_TOLERANCE 100202 -#define GLU_SAMPLING_METHOD 100205 -#define GLU_U_STEP 100206 -#define GLU_V_STEP 100207 -#define GLU_NURBS_MODE 100160 -#define GLU_NURBS_MODE_EXT 100160 -#define GLU_NURBS_TESSELLATOR 100161 -#define GLU_NURBS_TESSELLATOR_EXT 100161 -#define GLU_NURBS_RENDERER 100162 -#define GLU_NURBS_RENDERER_EXT 100162 - -/* NurbsSampling */ -#define GLU_OBJECT_PARAMETRIC_ERROR 100208 -#define GLU_OBJECT_PARAMETRIC_ERROR_EXT 100208 -#define GLU_OBJECT_PATH_LENGTH 100209 -#define GLU_OBJECT_PATH_LENGTH_EXT 100209 -#define GLU_PATH_LENGTH 100215 -#define GLU_PARAMETRIC_ERROR 100216 -#define GLU_DOMAIN_DISTANCE 100217 - -/* NurbsTrim */ -#define GLU_MAP1_TRIM_2 100210 -#define GLU_MAP1_TRIM_3 100211 - -/* QuadricDrawStyle */ -#define GLU_POINT 100010 -#define GLU_LINE 100011 -#define GLU_FILL 100012 -#define GLU_SILHOUETTE 100013 - -/* QuadricCallback */ -/* GLU_ERROR */ - -/* QuadricNormal */ -#define GLU_SMOOTH 100000 -#define GLU_FLAT 100001 -#define GLU_NONE 100002 - -/* QuadricOrientation */ -#define GLU_OUTSIDE 100020 -#define GLU_INSIDE 100021 - -/* TessCallback */ -#define GLU_TESS_BEGIN 100100 -#define GLU_BEGIN 100100 -#define GLU_TESS_VERTEX 100101 -#define GLU_VERTEX 100101 -#define GLU_TESS_END 100102 -#define GLU_END 100102 -#define GLU_TESS_ERROR 100103 -#define GLU_TESS_EDGE_FLAG 100104 -#define GLU_EDGE_FLAG 100104 -#define GLU_TESS_COMBINE 100105 -#define GLU_TESS_BEGIN_DATA 100106 -#define GLU_TESS_VERTEX_DATA 100107 -#define GLU_TESS_END_DATA 100108 -#define GLU_TESS_ERROR_DATA 100109 -#define GLU_TESS_EDGE_FLAG_DATA 100110 -#define GLU_TESS_COMBINE_DATA 100111 - -/* TessContour */ -#define GLU_CW 100120 -#define GLU_CCW 100121 -#define GLU_INTERIOR 100122 -#define GLU_EXTERIOR 100123 -#define GLU_UNKNOWN 100124 - -/* TessProperty */ -#define GLU_TESS_WINDING_RULE 100140 -#define GLU_TESS_BOUNDARY_ONLY 100141 -#define GLU_TESS_TOLERANCE 100142 - -/* TessError */ -#define GLU_TESS_ERROR1 100151 -#define GLU_TESS_ERROR2 100152 -#define GLU_TESS_ERROR3 100153 -#define GLU_TESS_ERROR4 100154 -#define GLU_TESS_ERROR5 100155 -#define GLU_TESS_ERROR6 100156 -#define GLU_TESS_ERROR7 100157 -#define GLU_TESS_ERROR8 100158 -#define GLU_TESS_MISSING_BEGIN_POLYGON 100151 -#define GLU_TESS_MISSING_BEGIN_CONTOUR 100152 -#define GLU_TESS_MISSING_END_POLYGON 100153 -#define GLU_TESS_MISSING_END_CONTOUR 100154 -#define GLU_TESS_COORD_TOO_LARGE 100155 -#define GLU_TESS_NEED_COMBINE_CALLBACK 100156 - -/* TessWinding */ -#define GLU_TESS_WINDING_ODD 100130 -#define GLU_TESS_WINDING_NONZERO 100131 -#define GLU_TESS_WINDING_POSITIVE 100132 -#define GLU_TESS_WINDING_NEGATIVE 100133 -#define GLU_TESS_WINDING_ABS_GEQ_TWO 100134 - -/*************************************************************/ - - -#ifdef __cplusplus -class GLUnurbs; -class GLUquadric; -class GLUtesselator; -#else -typedef struct GLUnurbs GLUnurbs; -typedef struct GLUquadric GLUquadric; -typedef struct GLUtesselator GLUtesselator; -#endif - -typedef GLUnurbs GLUnurbsObj; -typedef GLUquadric GLUquadricObj; -typedef GLUtesselator GLUtesselatorObj; -typedef GLUtesselator GLUtriangulatorObj; - -#define GLU_TESS_MAX_COORD 1.0e150 - -/* Internal convenience typedefs */ -typedef void (GLAPIENTRYP _GLUfuncptr)(void); - -GLAPI void GLAPIENTRY gluBeginCurve (GLUnurbs* nurb); -GLAPI void GLAPIENTRY gluBeginPolygon (GLUtesselator* tess); -GLAPI void GLAPIENTRY gluBeginSurface (GLUnurbs* nurb); -GLAPI void GLAPIENTRY gluBeginTrim (GLUnurbs* nurb); -GLAPI GLint GLAPIENTRY gluBuild1DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data); -GLAPI GLint GLAPIENTRY gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data); -GLAPI GLint GLAPIENTRY gluBuild2DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data); -GLAPI GLint GLAPIENTRY gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data); -GLAPI GLint GLAPIENTRY gluBuild3DMipmapLevels (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLint level, GLint base, GLint max, const void *data); -GLAPI GLint GLAPIENTRY gluBuild3DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data); -GLAPI GLboolean GLAPIENTRY gluCheckExtension (const GLubyte *extName, const GLubyte *extString); -GLAPI void GLAPIENTRY gluCylinder (GLUquadric* quad, GLdouble base, GLdouble top, GLdouble height, GLint slices, GLint stacks); -GLAPI void GLAPIENTRY gluDeleteNurbsRenderer (GLUnurbs* nurb); -GLAPI void GLAPIENTRY gluDeleteQuadric (GLUquadric* quad); -GLAPI void GLAPIENTRY gluDeleteTess (GLUtesselator* tess); -GLAPI void GLAPIENTRY gluDisk (GLUquadric* quad, GLdouble inner, GLdouble outer, GLint slices, GLint loops); -GLAPI void GLAPIENTRY gluEndCurve (GLUnurbs* nurb); -GLAPI void GLAPIENTRY gluEndPolygon (GLUtesselator* tess); -GLAPI void GLAPIENTRY gluEndSurface (GLUnurbs* nurb); -GLAPI void GLAPIENTRY gluEndTrim (GLUnurbs* nurb); -GLAPI const GLubyte * GLAPIENTRY gluErrorString (GLenum error); -GLAPI void GLAPIENTRY gluGetNurbsProperty (GLUnurbs* nurb, GLenum property, GLfloat* data); -GLAPI const GLubyte * GLAPIENTRY gluGetString (GLenum name); -GLAPI void GLAPIENTRY gluGetTessProperty (GLUtesselator* tess, GLenum which, GLdouble* data); -GLAPI void GLAPIENTRY gluLoadSamplingMatrices (GLUnurbs* nurb, const GLfloat *model, const GLfloat *perspective, const GLint *view); -GLAPI void GLAPIENTRY gluLookAt (GLdouble eyeX, GLdouble eyeY, GLdouble eyeZ, GLdouble centerX, GLdouble centerY, GLdouble centerZ, GLdouble upX, GLdouble upY, GLdouble upZ); -GLAPI GLUnurbs* GLAPIENTRY gluNewNurbsRenderer (void); -GLAPI GLUquadric* GLAPIENTRY gluNewQuadric (void); -GLAPI GLUtesselator* GLAPIENTRY gluNewTess (void); -GLAPI void GLAPIENTRY gluNextContour (GLUtesselator* tess, GLenum type); -GLAPI void GLAPIENTRY gluNurbsCallback (GLUnurbs* nurb, GLenum which, _GLUfuncptr CallBackFunc); -GLAPI void GLAPIENTRY gluNurbsCallbackData (GLUnurbs* nurb, GLvoid* userData); -GLAPI void GLAPIENTRY gluNurbsCallbackDataEXT (GLUnurbs* nurb, GLvoid* userData); -GLAPI void GLAPIENTRY gluNurbsCurve (GLUnurbs* nurb, GLint knotCount, GLfloat *knots, GLint stride, GLfloat *control, GLint order, GLenum type); -GLAPI void GLAPIENTRY gluNurbsProperty (GLUnurbs* nurb, GLenum property, GLfloat value); -GLAPI void GLAPIENTRY gluNurbsSurface (GLUnurbs* nurb, GLint sKnotCount, GLfloat* sKnots, GLint tKnotCount, GLfloat* tKnots, GLint sStride, GLint tStride, GLfloat* control, GLint sOrder, GLint tOrder, GLenum type); -GLAPI void GLAPIENTRY gluOrtho2D (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top); -GLAPI void GLAPIENTRY gluPartialDisk (GLUquadric* quad, GLdouble inner, GLdouble outer, GLint slices, GLint loops, GLdouble start, GLdouble sweep); -GLAPI void GLAPIENTRY gluPerspective (GLdouble fovy, GLdouble aspect, GLdouble zNear, GLdouble zFar); -GLAPI void GLAPIENTRY gluPickMatrix (GLdouble x, GLdouble y, GLdouble delX, GLdouble delY, GLint *viewport); -GLAPI GLint GLAPIENTRY gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ); -GLAPI void GLAPIENTRY gluPwlCurve (GLUnurbs* nurb, GLint count, GLfloat* data, GLint stride, GLenum type); -GLAPI void GLAPIENTRY gluQuadricCallback (GLUquadric* quad, GLenum which, _GLUfuncptr CallBackFunc); -GLAPI void GLAPIENTRY gluQuadricDrawStyle (GLUquadric* quad, GLenum draw); -GLAPI void GLAPIENTRY gluQuadricNormals (GLUquadric* quad, GLenum normal); -GLAPI void GLAPIENTRY gluQuadricOrientation (GLUquadric* quad, GLenum orientation); -GLAPI void GLAPIENTRY gluQuadricTexture (GLUquadric* quad, GLboolean texture); -GLAPI GLint GLAPIENTRY gluScaleImage (GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, const void *dataIn, GLsizei wOut, GLsizei hOut, GLenum typeOut, GLvoid* dataOut); -GLAPI void GLAPIENTRY gluSphere (GLUquadric* quad, GLdouble radius, GLint slices, GLint stacks); -GLAPI void GLAPIENTRY gluTessBeginContour (GLUtesselator* tess); -GLAPI void GLAPIENTRY gluTessBeginPolygon (GLUtesselator* tess, GLvoid* data); -GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); -GLAPI void GLAPIENTRY gluTessEndContour (GLUtesselator* tess); -GLAPI void GLAPIENTRY gluTessEndPolygon (GLUtesselator* tess); -GLAPI void GLAPIENTRY gluTessNormal (GLUtesselator* tess, GLdouble valueX, GLdouble valueY, GLdouble valueZ); -GLAPI void GLAPIENTRY gluTessProperty (GLUtesselator* tess, GLenum which, GLdouble data); -GLAPI void GLAPIENTRY gluTessVertex (GLUtesselator* tess, GLdouble *location, GLvoid* data); -GLAPI GLint GLAPIENTRY gluUnProject (GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* objX, GLdouble* objY, GLdouble* objZ); -GLAPI GLint GLAPIENTRY gluUnProject4 (GLdouble winX, GLdouble winY, GLdouble winZ, GLdouble clipW, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble nearVal, GLdouble farVal, GLdouble* objX, GLdouble* objY, GLdouble* objZ, GLdouble* objW); - -#ifdef __cplusplus -} -#endif - -#endif /* __glu_h__ */ diff --git a/src/other/togl/include/GL/glxew.h b/src/other/togl/include/GL/glxew.h deleted file mode 100644 index 9335b27bcc2..00000000000 --- a/src/other/togl/include/GL/glxew.h +++ /dev/null @@ -1,1637 +0,0 @@ -/* -** The OpenGL Extension Wrangler Library -** Copyright (C) 2002-2008, Milan Ikits -** Copyright (C) 2002-2008, Marcelo E. Magallon -** Copyright (C) 2002, Lev Povalahev -** All rights reserved. -** -** Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are met: -** -** * Redistributions of source code must retain the above copyright notice, -** this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright notice, -** this list of conditions and the following disclaimer in the documentation -** and/or other materials provided with the distribution. -** * The name of the author may be used to endorse or promote products -** derived from this software without specific prior written permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF -** THE POSSIBILITY OF SUCH DAMAGE. -*/ - -/* - * Mesa 3-D graphics library - * Version: 7.0 - * - * Copyright (C) 1999-2007 Brian Paul All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included - * in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL - * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -/* -** Copyright (c) 2007 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ - -#ifndef __glxew_h__ -#define __glxew_h__ -#define __GLXEW_H__ - -#ifdef __glxext_h_ -#error glxext.h included before glxew.h -#endif - -#if defined(GLX_H) || defined(__GLX_glx_h__) || defined(__glx_h__) -#error glx.h included before glxew.h -#endif - -#define __glxext_h_ - -#define GLX_H -#define __GLX_glx_h__ -#define __glx_h__ - -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ---------------------------- GLX_VERSION_1_0 --------------------------- */ - -#ifndef GLX_VERSION_1_0 -#define GLX_VERSION_1_0 1 - -#define GLX_USE_GL 1 -#define GLX_BUFFER_SIZE 2 -#define GLX_LEVEL 3 -#define GLX_RGBA 4 -#define GLX_DOUBLEBUFFER 5 -#define GLX_STEREO 6 -#define GLX_AUX_BUFFERS 7 -#define GLX_RED_SIZE 8 -#define GLX_GREEN_SIZE 9 -#define GLX_BLUE_SIZE 10 -#define GLX_ALPHA_SIZE 11 -#define GLX_DEPTH_SIZE 12 -#define GLX_STENCIL_SIZE 13 -#define GLX_ACCUM_RED_SIZE 14 -#define GLX_ACCUM_GREEN_SIZE 15 -#define GLX_ACCUM_BLUE_SIZE 16 -#define GLX_ACCUM_ALPHA_SIZE 17 -#define GLX_BAD_SCREEN 1 -#define GLX_BAD_ATTRIBUTE 2 -#define GLX_NO_EXTENSION 3 -#define GLX_BAD_VISUAL 4 -#define GLX_BAD_CONTEXT 5 -#define GLX_BAD_VALUE 6 -#define GLX_BAD_ENUM 7 - -typedef XID GLXDrawable; -typedef XID GLXPixmap; -#ifdef __sun -typedef struct __glXContextRec *GLXContext; -#else -typedef struct __GLXcontextRec *GLXContext; -#endif - -typedef unsigned int GLXVideoDeviceNV; - -extern Bool glXQueryExtension (Display *dpy, int *errorBase, int *eventBase); -extern Bool glXQueryVersion (Display *dpy, int *major, int *minor); -extern int glXGetConfig (Display *dpy, XVisualInfo *vis, int attrib, int *value); -extern XVisualInfo* glXChooseVisual (Display *dpy, int screen, int *attribList); -extern GLXPixmap glXCreateGLXPixmap (Display *dpy, XVisualInfo *vis, Pixmap pixmap); -extern void glXDestroyGLXPixmap (Display *dpy, GLXPixmap pix); -extern GLXContext glXCreateContext (Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct); -extern void glXDestroyContext (Display *dpy, GLXContext ctx); -extern Bool glXIsDirect (Display *dpy, GLXContext ctx); -extern void glXCopyContext (Display *dpy, GLXContext src, GLXContext dst, GLulong mask); -extern Bool glXMakeCurrent (Display *dpy, GLXDrawable drawable, GLXContext ctx); -extern GLXContext glXGetCurrentContext (void); -extern GLXDrawable glXGetCurrentDrawable (void); -extern void glXWaitGL (void); -extern void glXWaitX (void); -extern void glXSwapBuffers (Display *dpy, GLXDrawable drawable); -extern void glXUseXFont (Font font, int first, int count, int listBase); - -#define GLXEW_VERSION_1_0 GLXEW_GET_VAR(__GLXEW_VERSION_1_0) - -#endif /* GLX_VERSION_1_0 */ - -/* ---------------------------- GLX_VERSION_1_1 --------------------------- */ - -#ifndef GLX_VERSION_1_1 -#define GLX_VERSION_1_1 - -#define GLX_VENDOR 0x1 -#define GLX_VERSION 0x2 -#define GLX_EXTENSIONS 0x3 - -extern const char* glXQueryExtensionsString (Display *dpy, int screen); -extern const char* glXGetClientString (Display *dpy, int name); -extern const char* glXQueryServerString (Display *dpy, int screen, int name); - -#define GLXEW_VERSION_1_1 GLXEW_GET_VAR(__GLXEW_VERSION_1_1) - -#endif /* GLX_VERSION_1_1 */ - -/* ---------------------------- GLX_VERSION_1_2 ---------------------------- */ - -#ifndef GLX_VERSION_1_2 -#define GLX_VERSION_1_2 1 - -typedef Display* ( * PFNGLXGETCURRENTDISPLAYPROC) (void); - -#define glXGetCurrentDisplay GLXEW_GET_FUN(__glewXGetCurrentDisplay) - -#define GLXEW_VERSION_1_2 GLXEW_GET_VAR(__GLXEW_VERSION_1_2) - -#endif /* GLX_VERSION_1_2 */ - -/* ---------------------------- GLX_VERSION_1_3 ---------------------------- */ - -#ifndef GLX_VERSION_1_3 -#define GLX_VERSION_1_3 1 - -#define GLX_RGBA_BIT 0x00000001 -#define GLX_FRONT_LEFT_BUFFER_BIT 0x00000001 -#define GLX_WINDOW_BIT 0x00000001 -#define GLX_COLOR_INDEX_BIT 0x00000002 -#define GLX_PIXMAP_BIT 0x00000002 -#define GLX_FRONT_RIGHT_BUFFER_BIT 0x00000002 -#define GLX_BACK_LEFT_BUFFER_BIT 0x00000004 -#define GLX_PBUFFER_BIT 0x00000004 -#define GLX_BACK_RIGHT_BUFFER_BIT 0x00000008 -#define GLX_AUX_BUFFERS_BIT 0x00000010 -#define GLX_CONFIG_CAVEAT 0x20 -#define GLX_DEPTH_BUFFER_BIT 0x00000020 -#define GLX_X_VISUAL_TYPE 0x22 -#define GLX_TRANSPARENT_TYPE 0x23 -#define GLX_TRANSPARENT_INDEX_VALUE 0x24 -#define GLX_TRANSPARENT_RED_VALUE 0x25 -#define GLX_TRANSPARENT_GREEN_VALUE 0x26 -#define GLX_TRANSPARENT_BLUE_VALUE 0x27 -#define GLX_TRANSPARENT_ALPHA_VALUE 0x28 -#define GLX_STENCIL_BUFFER_BIT 0x00000040 -#define GLX_ACCUM_BUFFER_BIT 0x00000080 -#define GLX_NONE 0x8000 -#define GLX_SLOW_CONFIG 0x8001 -#define GLX_TRUE_COLOR 0x8002 -#define GLX_DIRECT_COLOR 0x8003 -#define GLX_PSEUDO_COLOR 0x8004 -#define GLX_STATIC_COLOR 0x8005 -#define GLX_GRAY_SCALE 0x8006 -#define GLX_STATIC_GRAY 0x8007 -#define GLX_TRANSPARENT_RGB 0x8008 -#define GLX_TRANSPARENT_INDEX 0x8009 -#define GLX_VISUAL_ID 0x800B -#define GLX_SCREEN 0x800C -#define GLX_NON_CONFORMANT_CONFIG 0x800D -#define GLX_DRAWABLE_TYPE 0x8010 -#define GLX_RENDER_TYPE 0x8011 -#define GLX_X_RENDERABLE 0x8012 -#define GLX_FBCONFIG_ID 0x8013 -#define GLX_RGBA_TYPE 0x8014 -#define GLX_COLOR_INDEX_TYPE 0x8015 -#define GLX_MAX_PBUFFER_WIDTH 0x8016 -#define GLX_MAX_PBUFFER_HEIGHT 0x8017 -#define GLX_MAX_PBUFFER_PIXELS 0x8018 -#define GLX_PRESERVED_CONTENTS 0x801B -#define GLX_LARGEST_PBUFFER 0x801C -#define GLX_WIDTH 0x801D -#define GLX_HEIGHT 0x801E -#define GLX_EVENT_MASK 0x801F -#define GLX_DAMAGED 0x8020 -#define GLX_SAVED 0x8021 -#define GLX_WINDOW 0x8022 -#define GLX_PBUFFER 0x8023 -#define GLX_PBUFFER_HEIGHT 0x8040 -#define GLX_PBUFFER_WIDTH 0x8041 -#define GLX_PBUFFER_CLOBBER_MASK 0x08000000 -#define GLX_DONT_CARE 0xFFFFFFFF - -typedef XID GLXFBConfigID; -typedef XID GLXPbuffer; -typedef XID GLXWindow; -typedef struct __GLXFBConfigRec *GLXFBConfig; - -typedef struct { - int event_type; - int draw_type; - unsigned long serial; - Bool send_event; - Display *display; - GLXDrawable drawable; - unsigned int buffer_mask; - unsigned int aux_buffer; - int x, y; - int width, height; - int count; -} GLXPbufferClobberEvent; -typedef union __GLXEvent { - GLXPbufferClobberEvent glxpbufferclobber; - long pad[24]; -} GLXEvent; - -typedef GLXFBConfig* ( * PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements); -typedef GLXContext ( * PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct); -typedef GLXPbuffer ( * PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list); -typedef GLXPixmap ( * PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list); -typedef GLXWindow ( * PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list); -typedef void ( * PFNGLXDESTROYPBUFFERPROC) (Display *dpy, GLXPbuffer pbuf); -typedef void ( * PFNGLXDESTROYPIXMAPPROC) (Display *dpy, GLXPixmap pixmap); -typedef void ( * PFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win); -typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLEPROC) (void); -typedef int ( * PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value); -typedef GLXFBConfig* ( * PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements); -typedef void ( * PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_mask); -typedef XVisualInfo* ( * PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBConfig config); -typedef Bool ( * PFNGLXMAKECONTEXTCURRENTPROC) (Display *display, GLXDrawable draw, GLXDrawable read, GLXContext ctx); -typedef int ( * PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value); -typedef void ( * PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); -typedef void ( * PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask); - -#define glXChooseFBConfig GLXEW_GET_FUN(__glewXChooseFBConfig) -#define glXCreateNewContext GLXEW_GET_FUN(__glewXCreateNewContext) -#define glXCreatePbuffer GLXEW_GET_FUN(__glewXCreatePbuffer) -#define glXCreatePixmap GLXEW_GET_FUN(__glewXCreatePixmap) -#define glXCreateWindow GLXEW_GET_FUN(__glewXCreateWindow) -#define glXDestroyPbuffer GLXEW_GET_FUN(__glewXDestroyPbuffer) -#define glXDestroyPixmap GLXEW_GET_FUN(__glewXDestroyPixmap) -#define glXDestroyWindow GLXEW_GET_FUN(__glewXDestroyWindow) -#define glXGetCurrentReadDrawable GLXEW_GET_FUN(__glewXGetCurrentReadDrawable) -#define glXGetFBConfigAttrib GLXEW_GET_FUN(__glewXGetFBConfigAttrib) -#define glXGetFBConfigs GLXEW_GET_FUN(__glewXGetFBConfigs) -#define glXGetSelectedEvent GLXEW_GET_FUN(__glewXGetSelectedEvent) -#define glXGetVisualFromFBConfig GLXEW_GET_FUN(__glewXGetVisualFromFBConfig) -#define glXMakeContextCurrent GLXEW_GET_FUN(__glewXMakeContextCurrent) -#define glXQueryContext GLXEW_GET_FUN(__glewXQueryContext) -#define glXQueryDrawable GLXEW_GET_FUN(__glewXQueryDrawable) -#define glXSelectEvent GLXEW_GET_FUN(__glewXSelectEvent) - -#define GLXEW_VERSION_1_3 GLXEW_GET_VAR(__GLXEW_VERSION_1_3) - -#endif /* GLX_VERSION_1_3 */ - -/* ---------------------------- GLX_VERSION_1_4 ---------------------------- */ - -#ifndef GLX_VERSION_1_4 -#define GLX_VERSION_1_4 1 - -#define GLX_SAMPLE_BUFFERS 100000 -#define GLX_SAMPLES 100001 - -extern void ( * glXGetProcAddress (const GLubyte *procName)) (void); - -#define GLXEW_VERSION_1_4 GLXEW_GET_VAR(__GLXEW_VERSION_1_4) - -#endif /* GLX_VERSION_1_4 */ - -/* -------------------------- GLX_3DFX_multisample ------------------------- */ - -#ifndef GLX_3DFX_multisample -#define GLX_3DFX_multisample 1 - -#define GLX_SAMPLE_BUFFERS_3DFX 0x8050 -#define GLX_SAMPLES_3DFX 0x8051 - -#define GLXEW_3DFX_multisample GLXEW_GET_VAR(__GLXEW_3DFX_multisample) - -#endif /* GLX_3DFX_multisample */ - -/* ------------------------ GLX_AMD_gpu_association ------------------------ */ - -#ifndef GLX_AMD_gpu_association -#define GLX_AMD_gpu_association 1 - -#define GLX_GPU_VENDOR_AMD 0x1F00 -#define GLX_GPU_RENDERER_STRING_AMD 0x1F01 -#define GLX_GPU_OPENGL_VERSION_STRING_AMD 0x1F02 -#define GLX_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2 -#define GLX_GPU_RAM_AMD 0x21A3 -#define GLX_GPU_CLOCK_AMD 0x21A4 -#define GLX_GPU_NUM_PIPES_AMD 0x21A5 -#define GLX_GPU_NUM_SIMD_AMD 0x21A6 -#define GLX_GPU_NUM_RB_AMD 0x21A7 -#define GLX_GPU_NUM_SPI_AMD 0x21A8 - -#define GLXEW_AMD_gpu_association GLXEW_GET_VAR(__GLXEW_AMD_gpu_association) - -#endif /* GLX_AMD_gpu_association */ - -/* ------------------------- GLX_ARB_create_context ------------------------ */ - -#ifndef GLX_ARB_create_context -#define GLX_ARB_create_context 1 - -#define GLX_CONTEXT_DEBUG_BIT_ARB 0x0001 -#define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002 -#define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091 -#define GLX_CONTEXT_MINOR_VERSION_ARB 0x2092 -#define GLX_CONTEXT_FLAGS_ARB 0x2094 - -typedef GLXContext ( * PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display* dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list); - -#define glXCreateContextAttribsARB GLXEW_GET_FUN(__glewXCreateContextAttribsARB) - -#define GLXEW_ARB_create_context GLXEW_GET_VAR(__GLXEW_ARB_create_context) - -#endif /* GLX_ARB_create_context */ - -/* --------------------- GLX_ARB_create_context_profile -------------------- */ - -#ifndef GLX_ARB_create_context_profile -#define GLX_ARB_create_context_profile 1 - -#define GLX_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 -#define GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 -#define GLX_CONTEXT_PROFILE_MASK_ARB 0x9126 - -#define GLXEW_ARB_create_context_profile GLXEW_GET_VAR(__GLXEW_ARB_create_context_profile) - -#endif /* GLX_ARB_create_context_profile */ - -/* ------------------- GLX_ARB_create_context_robustness ------------------- */ - -#ifndef GLX_ARB_create_context_robustness -#define GLX_ARB_create_context_robustness 1 - -#define GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004 -#define GLX_LOSE_CONTEXT_ON_RESET_ARB 0x8252 -#define GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 -#define GLX_NO_RESET_NOTIFICATION_ARB 0x8261 - -#define GLXEW_ARB_create_context_robustness GLXEW_GET_VAR(__GLXEW_ARB_create_context_robustness) - -#endif /* GLX_ARB_create_context_robustness */ - -/* ------------------------- GLX_ARB_fbconfig_float ------------------------ */ - -#ifndef GLX_ARB_fbconfig_float -#define GLX_ARB_fbconfig_float 1 - -#define GLX_RGBA_FLOAT_BIT 0x00000004 -#define GLX_RGBA_FLOAT_TYPE 0x20B9 - -#define GLXEW_ARB_fbconfig_float GLXEW_GET_VAR(__GLXEW_ARB_fbconfig_float) - -#endif /* GLX_ARB_fbconfig_float */ - -/* ------------------------ GLX_ARB_framebuffer_sRGB ----------------------- */ - -#ifndef GLX_ARB_framebuffer_sRGB -#define GLX_ARB_framebuffer_sRGB 1 - -#define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20B2 - -#define GLXEW_ARB_framebuffer_sRGB GLXEW_GET_VAR(__GLXEW_ARB_framebuffer_sRGB) - -#endif /* GLX_ARB_framebuffer_sRGB */ - -/* ------------------------ GLX_ARB_get_proc_address ----------------------- */ - -#ifndef GLX_ARB_get_proc_address -#define GLX_ARB_get_proc_address 1 - -extern void ( * glXGetProcAddressARB (const GLubyte *procName)) (void); - -#define GLXEW_ARB_get_proc_address GLXEW_GET_VAR(__GLXEW_ARB_get_proc_address) - -#endif /* GLX_ARB_get_proc_address */ - -/* -------------------------- GLX_ARB_multisample -------------------------- */ - -#ifndef GLX_ARB_multisample -#define GLX_ARB_multisample 1 - -#define GLX_SAMPLE_BUFFERS_ARB 100000 -#define GLX_SAMPLES_ARB 100001 - -#define GLXEW_ARB_multisample GLXEW_GET_VAR(__GLXEW_ARB_multisample) - -#endif /* GLX_ARB_multisample */ - -/* ---------------- GLX_ARB_robustness_application_isolation --------------- */ - -#ifndef GLX_ARB_robustness_application_isolation -#define GLX_ARB_robustness_application_isolation 1 - -#define GLX_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008 - -#define GLXEW_ARB_robustness_application_isolation GLXEW_GET_VAR(__GLXEW_ARB_robustness_application_isolation) - -#endif /* GLX_ARB_robustness_application_isolation */ - -/* ---------------- GLX_ARB_robustness_share_group_isolation --------------- */ - -#ifndef GLX_ARB_robustness_share_group_isolation -#define GLX_ARB_robustness_share_group_isolation 1 - -#define GLX_CONTEXT_RESET_ISOLATION_BIT_ARB 0x00000008 - -#define GLXEW_ARB_robustness_share_group_isolation GLXEW_GET_VAR(__GLXEW_ARB_robustness_share_group_isolation) - -#endif /* GLX_ARB_robustness_share_group_isolation */ - -/* ---------------------- GLX_ARB_vertex_buffer_object --------------------- */ - -#ifndef GLX_ARB_vertex_buffer_object -#define GLX_ARB_vertex_buffer_object 1 - -#define GLX_CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB 0x2095 - -#define GLXEW_ARB_vertex_buffer_object GLXEW_GET_VAR(__GLXEW_ARB_vertex_buffer_object) - -#endif /* GLX_ARB_vertex_buffer_object */ - -/* ----------------------- GLX_ATI_pixel_format_float ---------------------- */ - -#ifndef GLX_ATI_pixel_format_float -#define GLX_ATI_pixel_format_float 1 - -#define GLX_RGBA_FLOAT_ATI_BIT 0x00000100 - -#define GLXEW_ATI_pixel_format_float GLXEW_GET_VAR(__GLXEW_ATI_pixel_format_float) - -#endif /* GLX_ATI_pixel_format_float */ - -/* ------------------------- GLX_ATI_render_texture ------------------------ */ - -#ifndef GLX_ATI_render_texture -#define GLX_ATI_render_texture 1 - -#define GLX_BIND_TO_TEXTURE_RGB_ATI 0x9800 -#define GLX_BIND_TO_TEXTURE_RGBA_ATI 0x9801 -#define GLX_TEXTURE_FORMAT_ATI 0x9802 -#define GLX_TEXTURE_TARGET_ATI 0x9803 -#define GLX_MIPMAP_TEXTURE_ATI 0x9804 -#define GLX_TEXTURE_RGB_ATI 0x9805 -#define GLX_TEXTURE_RGBA_ATI 0x9806 -#define GLX_NO_TEXTURE_ATI 0x9807 -#define GLX_TEXTURE_CUBE_MAP_ATI 0x9808 -#define GLX_TEXTURE_1D_ATI 0x9809 -#define GLX_TEXTURE_2D_ATI 0x980A -#define GLX_MIPMAP_LEVEL_ATI 0x980B -#define GLX_CUBE_MAP_FACE_ATI 0x980C -#define GLX_TEXTURE_CUBE_MAP_POSITIVE_X_ATI 0x980D -#define GLX_TEXTURE_CUBE_MAP_NEGATIVE_X_ATI 0x980E -#define GLX_TEXTURE_CUBE_MAP_POSITIVE_Y_ATI 0x980F -#define GLX_TEXTURE_CUBE_MAP_NEGATIVE_Y_ATI 0x9810 -#define GLX_TEXTURE_CUBE_MAP_POSITIVE_Z_ATI 0x9811 -#define GLX_TEXTURE_CUBE_MAP_NEGATIVE_Z_ATI 0x9812 -#define GLX_FRONT_LEFT_ATI 0x9813 -#define GLX_FRONT_RIGHT_ATI 0x9814 -#define GLX_BACK_LEFT_ATI 0x9815 -#define GLX_BACK_RIGHT_ATI 0x9816 -#define GLX_AUX0_ATI 0x9817 -#define GLX_AUX1_ATI 0x9818 -#define GLX_AUX2_ATI 0x9819 -#define GLX_AUX3_ATI 0x981A -#define GLX_AUX4_ATI 0x981B -#define GLX_AUX5_ATI 0x981C -#define GLX_AUX6_ATI 0x981D -#define GLX_AUX7_ATI 0x981E -#define GLX_AUX8_ATI 0x981F -#define GLX_AUX9_ATI 0x9820 -#define GLX_BIND_TO_TEXTURE_LUMINANCE_ATI 0x9821 -#define GLX_BIND_TO_TEXTURE_INTENSITY_ATI 0x9822 - -typedef void ( * PFNGLXBINDTEXIMAGEATIPROC) (Display *dpy, GLXPbuffer pbuf, int buffer); -typedef void ( * PFNGLXDRAWABLEATTRIBATIPROC) (Display *dpy, GLXDrawable draw, const int *attrib_list); -typedef void ( * PFNGLXRELEASETEXIMAGEATIPROC) (Display *dpy, GLXPbuffer pbuf, int buffer); - -#define glXBindTexImageATI GLXEW_GET_FUN(__glewXBindTexImageATI) -#define glXDrawableAttribATI GLXEW_GET_FUN(__glewXDrawableAttribATI) -#define glXReleaseTexImageATI GLXEW_GET_FUN(__glewXReleaseTexImageATI) - -#define GLXEW_ATI_render_texture GLXEW_GET_VAR(__GLXEW_ATI_render_texture) - -#endif /* GLX_ATI_render_texture */ - -/* ------------------- GLX_EXT_create_context_es2_profile ------------------ */ - -#ifndef GLX_EXT_create_context_es2_profile -#define GLX_EXT_create_context_es2_profile 1 - -#define GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 - -#define GLXEW_EXT_create_context_es2_profile GLXEW_GET_VAR(__GLXEW_EXT_create_context_es2_profile) - -#endif /* GLX_EXT_create_context_es2_profile */ - -/* ------------------- GLX_EXT_create_context_es_profile ------------------- */ - -#ifndef GLX_EXT_create_context_es_profile -#define GLX_EXT_create_context_es_profile 1 - -#define GLX_CONTEXT_ES_PROFILE_BIT_EXT 0x00000004 - -#define GLXEW_EXT_create_context_es_profile GLXEW_GET_VAR(__GLXEW_EXT_create_context_es_profile) - -#endif /* GLX_EXT_create_context_es_profile */ - -/* --------------------- GLX_EXT_fbconfig_packed_float --------------------- */ - -#ifndef GLX_EXT_fbconfig_packed_float -#define GLX_EXT_fbconfig_packed_float 1 - -#define GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008 -#define GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1 - -#define GLXEW_EXT_fbconfig_packed_float GLXEW_GET_VAR(__GLXEW_EXT_fbconfig_packed_float) - -#endif /* GLX_EXT_fbconfig_packed_float */ - -/* ------------------------ GLX_EXT_framebuffer_sRGB ----------------------- */ - -#ifndef GLX_EXT_framebuffer_sRGB -#define GLX_EXT_framebuffer_sRGB 1 - -#define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2 - -#define GLXEW_EXT_framebuffer_sRGB GLXEW_GET_VAR(__GLXEW_EXT_framebuffer_sRGB) - -#endif /* GLX_EXT_framebuffer_sRGB */ - -/* ------------------------- GLX_EXT_import_context ------------------------ */ - -#ifndef GLX_EXT_import_context -#define GLX_EXT_import_context 1 - -#define GLX_SHARE_CONTEXT_EXT 0x800A -#define GLX_VISUAL_ID_EXT 0x800B -#define GLX_SCREEN_EXT 0x800C - -typedef XID GLXContextID; - -typedef void ( * PFNGLXFREECONTEXTEXTPROC) (Display* dpy, GLXContext context); -typedef GLXContextID ( * PFNGLXGETCONTEXTIDEXTPROC) (const GLXContext context); -typedef GLXContext ( * PFNGLXIMPORTCONTEXTEXTPROC) (Display* dpy, GLXContextID contextID); -typedef int ( * PFNGLXQUERYCONTEXTINFOEXTPROC) (Display* dpy, GLXContext context, int attribute,int *value); - -#define glXFreeContextEXT GLXEW_GET_FUN(__glewXFreeContextEXT) -#define glXGetContextIDEXT GLXEW_GET_FUN(__glewXGetContextIDEXT) -#define glXImportContextEXT GLXEW_GET_FUN(__glewXImportContextEXT) -#define glXQueryContextInfoEXT GLXEW_GET_FUN(__glewXQueryContextInfoEXT) - -#define GLXEW_EXT_import_context GLXEW_GET_VAR(__GLXEW_EXT_import_context) - -#endif /* GLX_EXT_import_context */ - -/* -------------------------- GLX_EXT_scene_marker ------------------------- */ - -#ifndef GLX_EXT_scene_marker -#define GLX_EXT_scene_marker 1 - -#define GLXEW_EXT_scene_marker GLXEW_GET_VAR(__GLXEW_EXT_scene_marker) - -#endif /* GLX_EXT_scene_marker */ - -/* -------------------------- GLX_EXT_swap_control ------------------------- */ - -#ifndef GLX_EXT_swap_control -#define GLX_EXT_swap_control 1 - -#define GLX_SWAP_INTERVAL_EXT 0x20F1 -#define GLX_MAX_SWAP_INTERVAL_EXT 0x20F2 - -typedef void ( * PFNGLXSWAPINTERVALEXTPROC) (Display* dpy, GLXDrawable drawable, int interval); - -#define glXSwapIntervalEXT GLXEW_GET_FUN(__glewXSwapIntervalEXT) - -#define GLXEW_EXT_swap_control GLXEW_GET_VAR(__GLXEW_EXT_swap_control) - -#endif /* GLX_EXT_swap_control */ - -/* ----------------------- GLX_EXT_swap_control_tear ----------------------- */ - -#ifndef GLX_EXT_swap_control_tear -#define GLX_EXT_swap_control_tear 1 - -#define GLX_LATE_SWAPS_TEAR_EXT 0x20F3 - -#define GLXEW_EXT_swap_control_tear GLXEW_GET_VAR(__GLXEW_EXT_swap_control_tear) - -#endif /* GLX_EXT_swap_control_tear */ - -/* ---------------------- GLX_EXT_texture_from_pixmap ---------------------- */ - -#ifndef GLX_EXT_texture_from_pixmap -#define GLX_EXT_texture_from_pixmap 1 - -#define GLX_TEXTURE_1D_BIT_EXT 0x00000001 -#define GLX_TEXTURE_2D_BIT_EXT 0x00000002 -#define GLX_TEXTURE_RECTANGLE_BIT_EXT 0x00000004 -#define GLX_BIND_TO_TEXTURE_RGB_EXT 0x20D0 -#define GLX_BIND_TO_TEXTURE_RGBA_EXT 0x20D1 -#define GLX_BIND_TO_MIPMAP_TEXTURE_EXT 0x20D2 -#define GLX_BIND_TO_TEXTURE_TARGETS_EXT 0x20D3 -#define GLX_Y_INVERTED_EXT 0x20D4 -#define GLX_TEXTURE_FORMAT_EXT 0x20D5 -#define GLX_TEXTURE_TARGET_EXT 0x20D6 -#define GLX_MIPMAP_TEXTURE_EXT 0x20D7 -#define GLX_TEXTURE_FORMAT_NONE_EXT 0x20D8 -#define GLX_TEXTURE_FORMAT_RGB_EXT 0x20D9 -#define GLX_TEXTURE_FORMAT_RGBA_EXT 0x20DA -#define GLX_TEXTURE_1D_EXT 0x20DB -#define GLX_TEXTURE_2D_EXT 0x20DC -#define GLX_TEXTURE_RECTANGLE_EXT 0x20DD -#define GLX_FRONT_LEFT_EXT 0x20DE -#define GLX_FRONT_RIGHT_EXT 0x20DF -#define GLX_BACK_LEFT_EXT 0x20E0 -#define GLX_BACK_RIGHT_EXT 0x20E1 -#define GLX_AUX0_EXT 0x20E2 -#define GLX_AUX1_EXT 0x20E3 -#define GLX_AUX2_EXT 0x20E4 -#define GLX_AUX3_EXT 0x20E5 -#define GLX_AUX4_EXT 0x20E6 -#define GLX_AUX5_EXT 0x20E7 -#define GLX_AUX6_EXT 0x20E8 -#define GLX_AUX7_EXT 0x20E9 -#define GLX_AUX8_EXT 0x20EA -#define GLX_AUX9_EXT 0x20EB - -typedef void ( * PFNGLXBINDTEXIMAGEEXTPROC) (Display* display, GLXDrawable drawable, int buffer, const int *attrib_list); -typedef void ( * PFNGLXRELEASETEXIMAGEEXTPROC) (Display* display, GLXDrawable drawable, int buffer); - -#define glXBindTexImageEXT GLXEW_GET_FUN(__glewXBindTexImageEXT) -#define glXReleaseTexImageEXT GLXEW_GET_FUN(__glewXReleaseTexImageEXT) - -#define GLXEW_EXT_texture_from_pixmap GLXEW_GET_VAR(__GLXEW_EXT_texture_from_pixmap) - -#endif /* GLX_EXT_texture_from_pixmap */ - -/* -------------------------- GLX_EXT_visual_info -------------------------- */ - -#ifndef GLX_EXT_visual_info -#define GLX_EXT_visual_info 1 - -#define GLX_X_VISUAL_TYPE_EXT 0x22 -#define GLX_TRANSPARENT_TYPE_EXT 0x23 -#define GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24 -#define GLX_TRANSPARENT_RED_VALUE_EXT 0x25 -#define GLX_TRANSPARENT_GREEN_VALUE_EXT 0x26 -#define GLX_TRANSPARENT_BLUE_VALUE_EXT 0x27 -#define GLX_TRANSPARENT_ALPHA_VALUE_EXT 0x28 -#define GLX_NONE_EXT 0x8000 -#define GLX_TRUE_COLOR_EXT 0x8002 -#define GLX_DIRECT_COLOR_EXT 0x8003 -#define GLX_PSEUDO_COLOR_EXT 0x8004 -#define GLX_STATIC_COLOR_EXT 0x8005 -#define GLX_GRAY_SCALE_EXT 0x8006 -#define GLX_STATIC_GRAY_EXT 0x8007 -#define GLX_TRANSPARENT_RGB_EXT 0x8008 -#define GLX_TRANSPARENT_INDEX_EXT 0x8009 - -#define GLXEW_EXT_visual_info GLXEW_GET_VAR(__GLXEW_EXT_visual_info) - -#endif /* GLX_EXT_visual_info */ - -/* ------------------------- GLX_EXT_visual_rating ------------------------- */ - -#ifndef GLX_EXT_visual_rating -#define GLX_EXT_visual_rating 1 - -#define GLX_VISUAL_CAVEAT_EXT 0x20 -#define GLX_SLOW_VISUAL_EXT 0x8001 -#define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D - -#define GLXEW_EXT_visual_rating GLXEW_GET_VAR(__GLXEW_EXT_visual_rating) - -#endif /* GLX_EXT_visual_rating */ - -/* -------------------------- GLX_INTEL_swap_event ------------------------- */ - -#ifndef GLX_INTEL_swap_event -#define GLX_INTEL_swap_event 1 - -#define GLX_EXCHANGE_COMPLETE_INTEL 0x8180 -#define GLX_COPY_COMPLETE_INTEL 0x8181 -#define GLX_FLIP_COMPLETE_INTEL 0x8182 -#define GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK 0x04000000 - -#define GLXEW_INTEL_swap_event GLXEW_GET_VAR(__GLXEW_INTEL_swap_event) - -#endif /* GLX_INTEL_swap_event */ - -/* -------------------------- GLX_MESA_agp_offset -------------------------- */ - -#ifndef GLX_MESA_agp_offset -#define GLX_MESA_agp_offset 1 - -typedef unsigned int ( * PFNGLXGETAGPOFFSETMESAPROC) (const void* pointer); - -#define glXGetAGPOffsetMESA GLXEW_GET_FUN(__glewXGetAGPOffsetMESA) - -#define GLXEW_MESA_agp_offset GLXEW_GET_VAR(__GLXEW_MESA_agp_offset) - -#endif /* GLX_MESA_agp_offset */ - -/* ------------------------ GLX_MESA_copy_sub_buffer ----------------------- */ - -#ifndef GLX_MESA_copy_sub_buffer -#define GLX_MESA_copy_sub_buffer 1 - -typedef void ( * PFNGLXCOPYSUBBUFFERMESAPROC) (Display* dpy, GLXDrawable drawable, int x, int y, int width, int height); - -#define glXCopySubBufferMESA GLXEW_GET_FUN(__glewXCopySubBufferMESA) - -#define GLXEW_MESA_copy_sub_buffer GLXEW_GET_VAR(__GLXEW_MESA_copy_sub_buffer) - -#endif /* GLX_MESA_copy_sub_buffer */ - -/* ------------------------ GLX_MESA_pixmap_colormap ----------------------- */ - -#ifndef GLX_MESA_pixmap_colormap -#define GLX_MESA_pixmap_colormap 1 - -typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPMESAPROC) (Display* dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap); - -#define glXCreateGLXPixmapMESA GLXEW_GET_FUN(__glewXCreateGLXPixmapMESA) - -#define GLXEW_MESA_pixmap_colormap GLXEW_GET_VAR(__GLXEW_MESA_pixmap_colormap) - -#endif /* GLX_MESA_pixmap_colormap */ - -/* ------------------------ GLX_MESA_release_buffers ----------------------- */ - -#ifndef GLX_MESA_release_buffers -#define GLX_MESA_release_buffers 1 - -typedef Bool ( * PFNGLXRELEASEBUFFERSMESAPROC) (Display* dpy, GLXDrawable d); - -#define glXReleaseBuffersMESA GLXEW_GET_FUN(__glewXReleaseBuffersMESA) - -#define GLXEW_MESA_release_buffers GLXEW_GET_VAR(__GLXEW_MESA_release_buffers) - -#endif /* GLX_MESA_release_buffers */ - -/* ------------------------- GLX_MESA_set_3dfx_mode ------------------------ */ - -#ifndef GLX_MESA_set_3dfx_mode -#define GLX_MESA_set_3dfx_mode 1 - -#define GLX_3DFX_WINDOW_MODE_MESA 0x1 -#define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2 - -typedef GLboolean ( * PFNGLXSET3DFXMODEMESAPROC) (GLint mode); - -#define glXSet3DfxModeMESA GLXEW_GET_FUN(__glewXSet3DfxModeMESA) - -#define GLXEW_MESA_set_3dfx_mode GLXEW_GET_VAR(__GLXEW_MESA_set_3dfx_mode) - -#endif /* GLX_MESA_set_3dfx_mode */ - -/* ------------------------- GLX_MESA_swap_control ------------------------- */ - -#ifndef GLX_MESA_swap_control -#define GLX_MESA_swap_control 1 - -typedef int ( * PFNGLXGETSWAPINTERVALMESAPROC) (void); -typedef int ( * PFNGLXSWAPINTERVALMESAPROC) (unsigned int interval); - -#define glXGetSwapIntervalMESA GLXEW_GET_FUN(__glewXGetSwapIntervalMESA) -#define glXSwapIntervalMESA GLXEW_GET_FUN(__glewXSwapIntervalMESA) - -#define GLXEW_MESA_swap_control GLXEW_GET_VAR(__GLXEW_MESA_swap_control) - -#endif /* GLX_MESA_swap_control */ - -/* --------------------------- GLX_NV_copy_image --------------------------- */ - -#ifndef GLX_NV_copy_image -#define GLX_NV_copy_image 1 - -typedef void ( * PFNGLXCOPYIMAGESUBDATANVPROC) (Display *dpy, GLXContext srcCtx, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLXContext dstCtx, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); - -#define glXCopyImageSubDataNV GLXEW_GET_FUN(__glewXCopyImageSubDataNV) - -#define GLXEW_NV_copy_image GLXEW_GET_VAR(__GLXEW_NV_copy_image) - -#endif /* GLX_NV_copy_image */ - -/* -------------------------- GLX_NV_float_buffer -------------------------- */ - -#ifndef GLX_NV_float_buffer -#define GLX_NV_float_buffer 1 - -#define GLX_FLOAT_COMPONENTS_NV 0x20B0 - -#define GLXEW_NV_float_buffer GLXEW_GET_VAR(__GLXEW_NV_float_buffer) - -#endif /* GLX_NV_float_buffer */ - -/* ---------------------- GLX_NV_multisample_coverage ---------------------- */ - -#ifndef GLX_NV_multisample_coverage -#define GLX_NV_multisample_coverage 1 - -#define GLX_COLOR_SAMPLES_NV 0x20B3 -#define GLX_COVERAGE_SAMPLES_NV 100001 - -#define GLXEW_NV_multisample_coverage GLXEW_GET_VAR(__GLXEW_NV_multisample_coverage) - -#endif /* GLX_NV_multisample_coverage */ - -/* -------------------------- GLX_NV_present_video ------------------------- */ - -#ifndef GLX_NV_present_video -#define GLX_NV_present_video 1 - -#define GLX_NUM_VIDEO_SLOTS_NV 0x20F0 - -typedef int ( * PFNGLXBINDVIDEODEVICENVPROC) (Display* dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list); -typedef unsigned int* ( * PFNGLXENUMERATEVIDEODEVICESNVPROC) (Display *dpy, int screen, int *nelements); - -#define glXBindVideoDeviceNV GLXEW_GET_FUN(__glewXBindVideoDeviceNV) -#define glXEnumerateVideoDevicesNV GLXEW_GET_FUN(__glewXEnumerateVideoDevicesNV) - -#define GLXEW_NV_present_video GLXEW_GET_VAR(__GLXEW_NV_present_video) - -#endif /* GLX_NV_present_video */ - -/* --------------------------- GLX_NV_swap_group --------------------------- */ - -#ifndef GLX_NV_swap_group -#define GLX_NV_swap_group 1 - -typedef Bool ( * PFNGLXBINDSWAPBARRIERNVPROC) (Display* dpy, GLuint group, GLuint barrier); -typedef Bool ( * PFNGLXJOINSWAPGROUPNVPROC) (Display* dpy, GLXDrawable drawable, GLuint group); -typedef Bool ( * PFNGLXQUERYFRAMECOUNTNVPROC) (Display* dpy, int screen, GLuint *count); -typedef Bool ( * PFNGLXQUERYMAXSWAPGROUPSNVPROC) (Display* dpy, int screen, GLuint *maxGroups, GLuint *maxBarriers); -typedef Bool ( * PFNGLXQUERYSWAPGROUPNVPROC) (Display* dpy, GLXDrawable drawable, GLuint *group, GLuint *barrier); -typedef Bool ( * PFNGLXRESETFRAMECOUNTNVPROC) (Display* dpy, int screen); - -#define glXBindSwapBarrierNV GLXEW_GET_FUN(__glewXBindSwapBarrierNV) -#define glXJoinSwapGroupNV GLXEW_GET_FUN(__glewXJoinSwapGroupNV) -#define glXQueryFrameCountNV GLXEW_GET_FUN(__glewXQueryFrameCountNV) -#define glXQueryMaxSwapGroupsNV GLXEW_GET_FUN(__glewXQueryMaxSwapGroupsNV) -#define glXQuerySwapGroupNV GLXEW_GET_FUN(__glewXQuerySwapGroupNV) -#define glXResetFrameCountNV GLXEW_GET_FUN(__glewXResetFrameCountNV) - -#define GLXEW_NV_swap_group GLXEW_GET_VAR(__GLXEW_NV_swap_group) - -#endif /* GLX_NV_swap_group */ - -/* ----------------------- GLX_NV_vertex_array_range ----------------------- */ - -#ifndef GLX_NV_vertex_array_range -#define GLX_NV_vertex_array_range 1 - -typedef void * ( * PFNGLXALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority); -typedef void ( * PFNGLXFREEMEMORYNVPROC) (void *pointer); - -#define glXAllocateMemoryNV GLXEW_GET_FUN(__glewXAllocateMemoryNV) -#define glXFreeMemoryNV GLXEW_GET_FUN(__glewXFreeMemoryNV) - -#define GLXEW_NV_vertex_array_range GLXEW_GET_VAR(__GLXEW_NV_vertex_array_range) - -#endif /* GLX_NV_vertex_array_range */ - -/* -------------------------- GLX_NV_video_capture ------------------------- */ - -#ifndef GLX_NV_video_capture -#define GLX_NV_video_capture 1 - -#define GLX_DEVICE_ID_NV 0x20CD -#define GLX_UNIQUE_ID_NV 0x20CE -#define GLX_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF - -typedef XID GLXVideoCaptureDeviceNV; - -typedef int ( * PFNGLXBINDVIDEOCAPTUREDEVICENVPROC) (Display* dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device); -typedef GLXVideoCaptureDeviceNV * ( * PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC) (Display* dpy, int screen, int *nelements); -typedef void ( * PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC) (Display* dpy, GLXVideoCaptureDeviceNV device); -typedef int ( * PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC) (Display* dpy, GLXVideoCaptureDeviceNV device, int attribute, int *value); -typedef void ( * PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC) (Display* dpy, GLXVideoCaptureDeviceNV device); - -#define glXBindVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXBindVideoCaptureDeviceNV) -#define glXEnumerateVideoCaptureDevicesNV GLXEW_GET_FUN(__glewXEnumerateVideoCaptureDevicesNV) -#define glXLockVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXLockVideoCaptureDeviceNV) -#define glXQueryVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXQueryVideoCaptureDeviceNV) -#define glXReleaseVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXReleaseVideoCaptureDeviceNV) - -#define GLXEW_NV_video_capture GLXEW_GET_VAR(__GLXEW_NV_video_capture) - -#endif /* GLX_NV_video_capture */ - -/* ---------------------------- GLX_NV_video_out --------------------------- */ - -#ifndef GLX_NV_video_out -#define GLX_NV_video_out 1 - -#define GLX_VIDEO_OUT_COLOR_NV 0x20C3 -#define GLX_VIDEO_OUT_ALPHA_NV 0x20C4 -#define GLX_VIDEO_OUT_DEPTH_NV 0x20C5 -#define GLX_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6 -#define GLX_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7 -#define GLX_VIDEO_OUT_FRAME_NV 0x20C8 -#define GLX_VIDEO_OUT_FIELD_1_NV 0x20C9 -#define GLX_VIDEO_OUT_FIELD_2_NV 0x20CA -#define GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV 0x20CB -#define GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV 0x20CC - -typedef int ( * PFNGLXBINDVIDEOIMAGENVPROC) (Display* dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer); -typedef int ( * PFNGLXGETVIDEODEVICENVPROC) (Display* dpy, int screen, int numVideoDevices, GLXVideoDeviceNV *pVideoDevice); -typedef int ( * PFNGLXGETVIDEOINFONVPROC) (Display* dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo); -typedef int ( * PFNGLXRELEASEVIDEODEVICENVPROC) (Display* dpy, int screen, GLXVideoDeviceNV VideoDevice); -typedef int ( * PFNGLXRELEASEVIDEOIMAGENVPROC) (Display* dpy, GLXPbuffer pbuf); -typedef int ( * PFNGLXSENDPBUFFERTOVIDEONVPROC) (Display* dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock); - -#define glXBindVideoImageNV GLXEW_GET_FUN(__glewXBindVideoImageNV) -#define glXGetVideoDeviceNV GLXEW_GET_FUN(__glewXGetVideoDeviceNV) -#define glXGetVideoInfoNV GLXEW_GET_FUN(__glewXGetVideoInfoNV) -#define glXReleaseVideoDeviceNV GLXEW_GET_FUN(__glewXReleaseVideoDeviceNV) -#define glXReleaseVideoImageNV GLXEW_GET_FUN(__glewXReleaseVideoImageNV) -#define glXSendPbufferToVideoNV GLXEW_GET_FUN(__glewXSendPbufferToVideoNV) - -#define GLXEW_NV_video_out GLXEW_GET_VAR(__GLXEW_NV_video_out) - -#endif /* GLX_NV_video_out */ - -/* -------------------------- GLX_OML_swap_method -------------------------- */ - -#ifndef GLX_OML_swap_method -#define GLX_OML_swap_method 1 - -#define GLX_SWAP_METHOD_OML 0x8060 -#define GLX_SWAP_EXCHANGE_OML 0x8061 -#define GLX_SWAP_COPY_OML 0x8062 -#define GLX_SWAP_UNDEFINED_OML 0x8063 - -#define GLXEW_OML_swap_method GLXEW_GET_VAR(__GLXEW_OML_swap_method) - -#endif /* GLX_OML_swap_method */ - -/* -------------------------- GLX_OML_sync_control ------------------------- */ - -#ifndef GLX_OML_sync_control -#define GLX_OML_sync_control 1 - -typedef Bool ( * PFNGLXGETMSCRATEOMLPROC) (Display* dpy, GLXDrawable drawable, int32_t* numerator, int32_t* denominator); -typedef Bool ( * PFNGLXGETSYNCVALUESOMLPROC) (Display* dpy, GLXDrawable drawable, int64_t* ust, int64_t* msc, int64_t* sbc); -typedef int64_t ( * PFNGLXSWAPBUFFERSMSCOMLPROC) (Display* dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder); -typedef Bool ( * PFNGLXWAITFORMSCOMLPROC) (Display* dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t* ust, int64_t* msc, int64_t* sbc); -typedef Bool ( * PFNGLXWAITFORSBCOMLPROC) (Display* dpy, GLXDrawable drawable, int64_t target_sbc, int64_t* ust, int64_t* msc, int64_t* sbc); - -#define glXGetMscRateOML GLXEW_GET_FUN(__glewXGetMscRateOML) -#define glXGetSyncValuesOML GLXEW_GET_FUN(__glewXGetSyncValuesOML) -#define glXSwapBuffersMscOML GLXEW_GET_FUN(__glewXSwapBuffersMscOML) -#define glXWaitForMscOML GLXEW_GET_FUN(__glewXWaitForMscOML) -#define glXWaitForSbcOML GLXEW_GET_FUN(__glewXWaitForSbcOML) - -#define GLXEW_OML_sync_control GLXEW_GET_VAR(__GLXEW_OML_sync_control) - -#endif /* GLX_OML_sync_control */ - -/* ------------------------ GLX_SGIS_blended_overlay ----------------------- */ - -#ifndef GLX_SGIS_blended_overlay -#define GLX_SGIS_blended_overlay 1 - -#define GLX_BLENDED_RGBA_SGIS 0x8025 - -#define GLXEW_SGIS_blended_overlay GLXEW_GET_VAR(__GLXEW_SGIS_blended_overlay) - -#endif /* GLX_SGIS_blended_overlay */ - -/* -------------------------- GLX_SGIS_color_range ------------------------- */ - -#ifndef GLX_SGIS_color_range -#define GLX_SGIS_color_range 1 - -#define GLX_MIN_RED_SGIS 0 -#define GLX_MAX_GREEN_SGIS 0 -#define GLX_MIN_BLUE_SGIS 0 -#define GLX_MAX_ALPHA_SGIS 0 -#define GLX_MIN_GREEN_SGIS 0 -#define GLX_MIN_ALPHA_SGIS 0 -#define GLX_MAX_RED_SGIS 0 -#define GLX_EXTENDED_RANGE_SGIS 0 -#define GLX_MAX_BLUE_SGIS 0 - -#define GLXEW_SGIS_color_range GLXEW_GET_VAR(__GLXEW_SGIS_color_range) - -#endif /* GLX_SGIS_color_range */ - -/* -------------------------- GLX_SGIS_multisample ------------------------- */ - -#ifndef GLX_SGIS_multisample -#define GLX_SGIS_multisample 1 - -#define GLX_SAMPLE_BUFFERS_SGIS 100000 -#define GLX_SAMPLES_SGIS 100001 - -#define GLXEW_SGIS_multisample GLXEW_GET_VAR(__GLXEW_SGIS_multisample) - -#endif /* GLX_SGIS_multisample */ - -/* ---------------------- GLX_SGIS_shared_multisample ---------------------- */ - -#ifndef GLX_SGIS_shared_multisample -#define GLX_SGIS_shared_multisample 1 - -#define GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026 -#define GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027 - -#define GLXEW_SGIS_shared_multisample GLXEW_GET_VAR(__GLXEW_SGIS_shared_multisample) - -#endif /* GLX_SGIS_shared_multisample */ - -/* --------------------------- GLX_SGIX_fbconfig --------------------------- */ - -#ifndef GLX_SGIX_fbconfig -#define GLX_SGIX_fbconfig 1 - -#define GLX_WINDOW_BIT_SGIX 0x00000001 -#define GLX_RGBA_BIT_SGIX 0x00000001 -#define GLX_PIXMAP_BIT_SGIX 0x00000002 -#define GLX_COLOR_INDEX_BIT_SGIX 0x00000002 -#define GLX_SCREEN_EXT 0x800C -#define GLX_DRAWABLE_TYPE_SGIX 0x8010 -#define GLX_RENDER_TYPE_SGIX 0x8011 -#define GLX_X_RENDERABLE_SGIX 0x8012 -#define GLX_FBCONFIG_ID_SGIX 0x8013 -#define GLX_RGBA_TYPE_SGIX 0x8014 -#define GLX_COLOR_INDEX_TYPE_SGIX 0x8015 - -typedef XID GLXFBConfigIDSGIX; -typedef struct __GLXFBConfigRec *GLXFBConfigSGIX; - -typedef GLXFBConfigSGIX* ( * PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements); -typedef GLXContext ( * PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC) (Display* dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct); -typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC) (Display* dpy, GLXFBConfig config, Pixmap pixmap); -typedef int ( * PFNGLXGETFBCONFIGATTRIBSGIXPROC) (Display* dpy, GLXFBConfigSGIX config, int attribute, int *value); -typedef GLXFBConfigSGIX ( * PFNGLXGETFBCONFIGFROMVISUALSGIXPROC) (Display* dpy, XVisualInfo *vis); -typedef XVisualInfo* ( * PFNGLXGETVISUALFROMFBCONFIGSGIXPROC) (Display *dpy, GLXFBConfig config); - -#define glXChooseFBConfigSGIX GLXEW_GET_FUN(__glewXChooseFBConfigSGIX) -#define glXCreateContextWithConfigSGIX GLXEW_GET_FUN(__glewXCreateContextWithConfigSGIX) -#define glXCreateGLXPixmapWithConfigSGIX GLXEW_GET_FUN(__glewXCreateGLXPixmapWithConfigSGIX) -#define glXGetFBConfigAttribSGIX GLXEW_GET_FUN(__glewXGetFBConfigAttribSGIX) -#define glXGetFBConfigFromVisualSGIX GLXEW_GET_FUN(__glewXGetFBConfigFromVisualSGIX) -#define glXGetVisualFromFBConfigSGIX GLXEW_GET_FUN(__glewXGetVisualFromFBConfigSGIX) - -#define GLXEW_SGIX_fbconfig GLXEW_GET_VAR(__GLXEW_SGIX_fbconfig) - -#endif /* GLX_SGIX_fbconfig */ - -/* --------------------------- GLX_SGIX_hyperpipe -------------------------- */ - -#ifndef GLX_SGIX_hyperpipe -#define GLX_SGIX_hyperpipe 1 - -#define GLX_HYPERPIPE_DISPLAY_PIPE_SGIX 0x00000001 -#define GLX_PIPE_RECT_SGIX 0x00000001 -#define GLX_PIPE_RECT_LIMITS_SGIX 0x00000002 -#define GLX_HYPERPIPE_RENDER_PIPE_SGIX 0x00000002 -#define GLX_HYPERPIPE_STEREO_SGIX 0x00000003 -#define GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX 0x00000004 -#define GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX 80 -#define GLX_BAD_HYPERPIPE_CONFIG_SGIX 91 -#define GLX_BAD_HYPERPIPE_SGIX 92 -#define GLX_HYPERPIPE_ID_SGIX 0x8030 - -typedef struct { - char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; - int networkId; -} GLXHyperpipeNetworkSGIX; -typedef struct { - char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; - int XOrigin; - int YOrigin; - int maxHeight; - int maxWidth; -} GLXPipeRectLimits; -typedef struct { - char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; - int channel; - unsigned int participationType; - int timeSlice; -} GLXHyperpipeConfigSGIX; -typedef struct { - char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; - int srcXOrigin; - int srcYOrigin; - int srcWidth; - int srcHeight; - int destXOrigin; - int destYOrigin; - int destWidth; - int destHeight; -} GLXPipeRect; - -typedef int ( * PFNGLXBINDHYPERPIPESGIXPROC) (Display *dpy, int hpId); -typedef int ( * PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId); -typedef int ( * PFNGLXHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList); -typedef int ( * PFNGLXHYPERPIPECONFIGSGIXPROC) (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId); -typedef int ( * PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList); -typedef int ( * PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList); -typedef GLXHyperpipeConfigSGIX * ( * PFNGLXQUERYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId, int *npipes); -typedef GLXHyperpipeNetworkSGIX * ( * PFNGLXQUERYHYPERPIPENETWORKSGIXPROC) (Display *dpy, int *npipes); - -#define glXBindHyperpipeSGIX GLXEW_GET_FUN(__glewXBindHyperpipeSGIX) -#define glXDestroyHyperpipeConfigSGIX GLXEW_GET_FUN(__glewXDestroyHyperpipeConfigSGIX) -#define glXHyperpipeAttribSGIX GLXEW_GET_FUN(__glewXHyperpipeAttribSGIX) -#define glXHyperpipeConfigSGIX GLXEW_GET_FUN(__glewXHyperpipeConfigSGIX) -#define glXQueryHyperpipeAttribSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeAttribSGIX) -#define glXQueryHyperpipeBestAttribSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeBestAttribSGIX) -#define glXQueryHyperpipeConfigSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeConfigSGIX) -#define glXQueryHyperpipeNetworkSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeNetworkSGIX) - -#define GLXEW_SGIX_hyperpipe GLXEW_GET_VAR(__GLXEW_SGIX_hyperpipe) - -#endif /* GLX_SGIX_hyperpipe */ - -/* ---------------------------- GLX_SGIX_pbuffer --------------------------- */ - -#ifndef GLX_SGIX_pbuffer -#define GLX_SGIX_pbuffer 1 - -#define GLX_FRONT_LEFT_BUFFER_BIT_SGIX 0x00000001 -#define GLX_FRONT_RIGHT_BUFFER_BIT_SGIX 0x00000002 -#define GLX_PBUFFER_BIT_SGIX 0x00000004 -#define GLX_BACK_LEFT_BUFFER_BIT_SGIX 0x00000004 -#define GLX_BACK_RIGHT_BUFFER_BIT_SGIX 0x00000008 -#define GLX_AUX_BUFFERS_BIT_SGIX 0x00000010 -#define GLX_DEPTH_BUFFER_BIT_SGIX 0x00000020 -#define GLX_STENCIL_BUFFER_BIT_SGIX 0x00000040 -#define GLX_ACCUM_BUFFER_BIT_SGIX 0x00000080 -#define GLX_SAMPLE_BUFFERS_BIT_SGIX 0x00000100 -#define GLX_MAX_PBUFFER_WIDTH_SGIX 0x8016 -#define GLX_MAX_PBUFFER_HEIGHT_SGIX 0x8017 -#define GLX_MAX_PBUFFER_PIXELS_SGIX 0x8018 -#define GLX_OPTIMAL_PBUFFER_WIDTH_SGIX 0x8019 -#define GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX 0x801A -#define GLX_PRESERVED_CONTENTS_SGIX 0x801B -#define GLX_LARGEST_PBUFFER_SGIX 0x801C -#define GLX_WIDTH_SGIX 0x801D -#define GLX_HEIGHT_SGIX 0x801E -#define GLX_EVENT_MASK_SGIX 0x801F -#define GLX_DAMAGED_SGIX 0x8020 -#define GLX_SAVED_SGIX 0x8021 -#define GLX_WINDOW_SGIX 0x8022 -#define GLX_PBUFFER_SGIX 0x8023 -#define GLX_BUFFER_CLOBBER_MASK_SGIX 0x08000000 - -typedef XID GLXPbufferSGIX; -typedef struct { int type; unsigned long serial; Bool send_event; Display *display; GLXDrawable drawable; int event_type; int draw_type; unsigned int mask; int x, y; int width, height; int count; } GLXBufferClobberEventSGIX; - -typedef GLXPbuffer ( * PFNGLXCREATEGLXPBUFFERSGIXPROC) (Display* dpy, GLXFBConfig config, unsigned int width, unsigned int height, int *attrib_list); -typedef void ( * PFNGLXDESTROYGLXPBUFFERSGIXPROC) (Display* dpy, GLXPbuffer pbuf); -typedef void ( * PFNGLXGETSELECTEDEVENTSGIXPROC) (Display* dpy, GLXDrawable drawable, unsigned long *mask); -typedef void ( * PFNGLXQUERYGLXPBUFFERSGIXPROC) (Display* dpy, GLXPbuffer pbuf, int attribute, unsigned int *value); -typedef void ( * PFNGLXSELECTEVENTSGIXPROC) (Display* dpy, GLXDrawable drawable, unsigned long mask); - -#define glXCreateGLXPbufferSGIX GLXEW_GET_FUN(__glewXCreateGLXPbufferSGIX) -#define glXDestroyGLXPbufferSGIX GLXEW_GET_FUN(__glewXDestroyGLXPbufferSGIX) -#define glXGetSelectedEventSGIX GLXEW_GET_FUN(__glewXGetSelectedEventSGIX) -#define glXQueryGLXPbufferSGIX GLXEW_GET_FUN(__glewXQueryGLXPbufferSGIX) -#define glXSelectEventSGIX GLXEW_GET_FUN(__glewXSelectEventSGIX) - -#define GLXEW_SGIX_pbuffer GLXEW_GET_VAR(__GLXEW_SGIX_pbuffer) - -#endif /* GLX_SGIX_pbuffer */ - -/* ------------------------- GLX_SGIX_swap_barrier ------------------------- */ - -#ifndef GLX_SGIX_swap_barrier -#define GLX_SGIX_swap_barrier 1 - -typedef void ( * PFNGLXBINDSWAPBARRIERSGIXPROC) (Display *dpy, GLXDrawable drawable, int barrier); -typedef Bool ( * PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC) (Display *dpy, int screen, int *max); - -#define glXBindSwapBarrierSGIX GLXEW_GET_FUN(__glewXBindSwapBarrierSGIX) -#define glXQueryMaxSwapBarriersSGIX GLXEW_GET_FUN(__glewXQueryMaxSwapBarriersSGIX) - -#define GLXEW_SGIX_swap_barrier GLXEW_GET_VAR(__GLXEW_SGIX_swap_barrier) - -#endif /* GLX_SGIX_swap_barrier */ - -/* -------------------------- GLX_SGIX_swap_group -------------------------- */ - -#ifndef GLX_SGIX_swap_group -#define GLX_SGIX_swap_group 1 - -typedef void ( * PFNGLXJOINSWAPGROUPSGIXPROC) (Display *dpy, GLXDrawable drawable, GLXDrawable member); - -#define glXJoinSwapGroupSGIX GLXEW_GET_FUN(__glewXJoinSwapGroupSGIX) - -#define GLXEW_SGIX_swap_group GLXEW_GET_VAR(__GLXEW_SGIX_swap_group) - -#endif /* GLX_SGIX_swap_group */ - -/* ------------------------- GLX_SGIX_video_resize ------------------------- */ - -#ifndef GLX_SGIX_video_resize -#define GLX_SGIX_video_resize 1 - -#define GLX_SYNC_FRAME_SGIX 0x00000000 -#define GLX_SYNC_SWAP_SGIX 0x00000001 - -typedef int ( * PFNGLXBINDCHANNELTOWINDOWSGIXPROC) (Display* display, int screen, int channel, Window window); -typedef int ( * PFNGLXCHANNELRECTSGIXPROC) (Display* display, int screen, int channel, int x, int y, int w, int h); -typedef int ( * PFNGLXCHANNELRECTSYNCSGIXPROC) (Display* display, int screen, int channel, GLenum synctype); -typedef int ( * PFNGLXQUERYCHANNELDELTASSGIXPROC) (Display* display, int screen, int channel, int *x, int *y, int *w, int *h); -typedef int ( * PFNGLXQUERYCHANNELRECTSGIXPROC) (Display* display, int screen, int channel, int *dx, int *dy, int *dw, int *dh); - -#define glXBindChannelToWindowSGIX GLXEW_GET_FUN(__glewXBindChannelToWindowSGIX) -#define glXChannelRectSGIX GLXEW_GET_FUN(__glewXChannelRectSGIX) -#define glXChannelRectSyncSGIX GLXEW_GET_FUN(__glewXChannelRectSyncSGIX) -#define glXQueryChannelDeltasSGIX GLXEW_GET_FUN(__glewXQueryChannelDeltasSGIX) -#define glXQueryChannelRectSGIX GLXEW_GET_FUN(__glewXQueryChannelRectSGIX) - -#define GLXEW_SGIX_video_resize GLXEW_GET_VAR(__GLXEW_SGIX_video_resize) - -#endif /* GLX_SGIX_video_resize */ - -/* ---------------------- GLX_SGIX_visual_select_group --------------------- */ - -#ifndef GLX_SGIX_visual_select_group -#define GLX_SGIX_visual_select_group 1 - -#define GLX_VISUAL_SELECT_GROUP_SGIX 0x8028 - -#define GLXEW_SGIX_visual_select_group GLXEW_GET_VAR(__GLXEW_SGIX_visual_select_group) - -#endif /* GLX_SGIX_visual_select_group */ - -/* ---------------------------- GLX_SGI_cushion ---------------------------- */ - -#ifndef GLX_SGI_cushion -#define GLX_SGI_cushion 1 - -typedef void ( * PFNGLXCUSHIONSGIPROC) (Display* dpy, Window window, float cushion); - -#define glXCushionSGI GLXEW_GET_FUN(__glewXCushionSGI) - -#define GLXEW_SGI_cushion GLXEW_GET_VAR(__GLXEW_SGI_cushion) - -#endif /* GLX_SGI_cushion */ - -/* ----------------------- GLX_SGI_make_current_read ----------------------- */ - -#ifndef GLX_SGI_make_current_read -#define GLX_SGI_make_current_read 1 - -typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLESGIPROC) (void); -typedef Bool ( * PFNGLXMAKECURRENTREADSGIPROC) (Display* dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); - -#define glXGetCurrentReadDrawableSGI GLXEW_GET_FUN(__glewXGetCurrentReadDrawableSGI) -#define glXMakeCurrentReadSGI GLXEW_GET_FUN(__glewXMakeCurrentReadSGI) - -#define GLXEW_SGI_make_current_read GLXEW_GET_VAR(__GLXEW_SGI_make_current_read) - -#endif /* GLX_SGI_make_current_read */ - -/* -------------------------- GLX_SGI_swap_control ------------------------- */ - -#ifndef GLX_SGI_swap_control -#define GLX_SGI_swap_control 1 - -typedef int ( * PFNGLXSWAPINTERVALSGIPROC) (int interval); - -#define glXSwapIntervalSGI GLXEW_GET_FUN(__glewXSwapIntervalSGI) - -#define GLXEW_SGI_swap_control GLXEW_GET_VAR(__GLXEW_SGI_swap_control) - -#endif /* GLX_SGI_swap_control */ - -/* --------------------------- GLX_SGI_video_sync -------------------------- */ - -#ifndef GLX_SGI_video_sync -#define GLX_SGI_video_sync 1 - -typedef int ( * PFNGLXGETVIDEOSYNCSGIPROC) (unsigned int* count); -typedef int ( * PFNGLXWAITVIDEOSYNCSGIPROC) (int divisor, int remainder, unsigned int* count); - -#define glXGetVideoSyncSGI GLXEW_GET_FUN(__glewXGetVideoSyncSGI) -#define glXWaitVideoSyncSGI GLXEW_GET_FUN(__glewXWaitVideoSyncSGI) - -#define GLXEW_SGI_video_sync GLXEW_GET_VAR(__GLXEW_SGI_video_sync) - -#endif /* GLX_SGI_video_sync */ - -/* --------------------- GLX_SUN_get_transparent_index --------------------- */ - -#ifndef GLX_SUN_get_transparent_index -#define GLX_SUN_get_transparent_index 1 - -typedef Status ( * PFNGLXGETTRANSPARENTINDEXSUNPROC) (Display* dpy, Window overlay, Window underlay, unsigned long *pTransparentIndex); - -#define glXGetTransparentIndexSUN GLXEW_GET_FUN(__glewXGetTransparentIndexSUN) - -#define GLXEW_SUN_get_transparent_index GLXEW_GET_VAR(__GLXEW_SUN_get_transparent_index) - -#endif /* GLX_SUN_get_transparent_index */ - -/* -------------------------- GLX_SUN_video_resize ------------------------- */ - -#ifndef GLX_SUN_video_resize -#define GLX_SUN_video_resize 1 - -#define GLX_VIDEO_RESIZE_SUN 0x8171 -#define GL_VIDEO_RESIZE_COMPENSATION_SUN 0x85CD - -typedef int ( * PFNGLXGETVIDEORESIZESUNPROC) (Display* display, GLXDrawable window, float* factor); -typedef int ( * PFNGLXVIDEORESIZESUNPROC) (Display* display, GLXDrawable window, float factor); - -#define glXGetVideoResizeSUN GLXEW_GET_FUN(__glewXGetVideoResizeSUN) -#define glXVideoResizeSUN GLXEW_GET_FUN(__glewXVideoResizeSUN) - -#define GLXEW_SUN_video_resize GLXEW_GET_VAR(__GLXEW_SUN_video_resize) - -#endif /* GLX_SUN_video_resize */ - -/* ------------------------------------------------------------------------- */ - -#ifdef GLEW_MX -#define GLXEW_FUN_EXPORT -#define GLXEW_VAR_EXPORT -#else -#define GLXEW_FUN_EXPORT GLEW_FUN_EXPORT -#define GLXEW_VAR_EXPORT GLEW_VAR_EXPORT -#endif /* GLEW_MX */ - -GLXEW_FUN_EXPORT PFNGLXGETCURRENTDISPLAYPROC __glewXGetCurrentDisplay; - -GLXEW_FUN_EXPORT PFNGLXCHOOSEFBCONFIGPROC __glewXChooseFBConfig; -GLXEW_FUN_EXPORT PFNGLXCREATENEWCONTEXTPROC __glewXCreateNewContext; -GLXEW_FUN_EXPORT PFNGLXCREATEPBUFFERPROC __glewXCreatePbuffer; -GLXEW_FUN_EXPORT PFNGLXCREATEPIXMAPPROC __glewXCreatePixmap; -GLXEW_FUN_EXPORT PFNGLXCREATEWINDOWPROC __glewXCreateWindow; -GLXEW_FUN_EXPORT PFNGLXDESTROYPBUFFERPROC __glewXDestroyPbuffer; -GLXEW_FUN_EXPORT PFNGLXDESTROYPIXMAPPROC __glewXDestroyPixmap; -GLXEW_FUN_EXPORT PFNGLXDESTROYWINDOWPROC __glewXDestroyWindow; -GLXEW_FUN_EXPORT PFNGLXGETCURRENTREADDRAWABLEPROC __glewXGetCurrentReadDrawable; -GLXEW_FUN_EXPORT PFNGLXGETFBCONFIGATTRIBPROC __glewXGetFBConfigAttrib; -GLXEW_FUN_EXPORT PFNGLXGETFBCONFIGSPROC __glewXGetFBConfigs; -GLXEW_FUN_EXPORT PFNGLXGETSELECTEDEVENTPROC __glewXGetSelectedEvent; -GLXEW_FUN_EXPORT PFNGLXGETVISUALFROMFBCONFIGPROC __glewXGetVisualFromFBConfig; -GLXEW_FUN_EXPORT PFNGLXMAKECONTEXTCURRENTPROC __glewXMakeContextCurrent; -GLXEW_FUN_EXPORT PFNGLXQUERYCONTEXTPROC __glewXQueryContext; -GLXEW_FUN_EXPORT PFNGLXQUERYDRAWABLEPROC __glewXQueryDrawable; -GLXEW_FUN_EXPORT PFNGLXSELECTEVENTPROC __glewXSelectEvent; - -GLXEW_FUN_EXPORT PFNGLXCREATECONTEXTATTRIBSARBPROC __glewXCreateContextAttribsARB; - -GLXEW_FUN_EXPORT PFNGLXBINDTEXIMAGEATIPROC __glewXBindTexImageATI; -GLXEW_FUN_EXPORT PFNGLXDRAWABLEATTRIBATIPROC __glewXDrawableAttribATI; -GLXEW_FUN_EXPORT PFNGLXRELEASETEXIMAGEATIPROC __glewXReleaseTexImageATI; - -GLXEW_FUN_EXPORT PFNGLXFREECONTEXTEXTPROC __glewXFreeContextEXT; -GLXEW_FUN_EXPORT PFNGLXGETCONTEXTIDEXTPROC __glewXGetContextIDEXT; -GLXEW_FUN_EXPORT PFNGLXIMPORTCONTEXTEXTPROC __glewXImportContextEXT; -GLXEW_FUN_EXPORT PFNGLXQUERYCONTEXTINFOEXTPROC __glewXQueryContextInfoEXT; - -GLXEW_FUN_EXPORT PFNGLXSWAPINTERVALEXTPROC __glewXSwapIntervalEXT; - -GLXEW_FUN_EXPORT PFNGLXBINDTEXIMAGEEXTPROC __glewXBindTexImageEXT; -GLXEW_FUN_EXPORT PFNGLXRELEASETEXIMAGEEXTPROC __glewXReleaseTexImageEXT; - -GLXEW_FUN_EXPORT PFNGLXGETAGPOFFSETMESAPROC __glewXGetAGPOffsetMESA; - -GLXEW_FUN_EXPORT PFNGLXCOPYSUBBUFFERMESAPROC __glewXCopySubBufferMESA; - -GLXEW_FUN_EXPORT PFNGLXCREATEGLXPIXMAPMESAPROC __glewXCreateGLXPixmapMESA; - -GLXEW_FUN_EXPORT PFNGLXRELEASEBUFFERSMESAPROC __glewXReleaseBuffersMESA; - -GLXEW_FUN_EXPORT PFNGLXSET3DFXMODEMESAPROC __glewXSet3DfxModeMESA; - -GLXEW_FUN_EXPORT PFNGLXGETSWAPINTERVALMESAPROC __glewXGetSwapIntervalMESA; -GLXEW_FUN_EXPORT PFNGLXSWAPINTERVALMESAPROC __glewXSwapIntervalMESA; - -GLXEW_FUN_EXPORT PFNGLXCOPYIMAGESUBDATANVPROC __glewXCopyImageSubDataNV; - -GLXEW_FUN_EXPORT PFNGLXBINDVIDEODEVICENVPROC __glewXBindVideoDeviceNV; -GLXEW_FUN_EXPORT PFNGLXENUMERATEVIDEODEVICESNVPROC __glewXEnumerateVideoDevicesNV; - -GLXEW_FUN_EXPORT PFNGLXBINDSWAPBARRIERNVPROC __glewXBindSwapBarrierNV; -GLXEW_FUN_EXPORT PFNGLXJOINSWAPGROUPNVPROC __glewXJoinSwapGroupNV; -GLXEW_FUN_EXPORT PFNGLXQUERYFRAMECOUNTNVPROC __glewXQueryFrameCountNV; -GLXEW_FUN_EXPORT PFNGLXQUERYMAXSWAPGROUPSNVPROC __glewXQueryMaxSwapGroupsNV; -GLXEW_FUN_EXPORT PFNGLXQUERYSWAPGROUPNVPROC __glewXQuerySwapGroupNV; -GLXEW_FUN_EXPORT PFNGLXRESETFRAMECOUNTNVPROC __glewXResetFrameCountNV; - -GLXEW_FUN_EXPORT PFNGLXALLOCATEMEMORYNVPROC __glewXAllocateMemoryNV; -GLXEW_FUN_EXPORT PFNGLXFREEMEMORYNVPROC __glewXFreeMemoryNV; - -GLXEW_FUN_EXPORT PFNGLXBINDVIDEOCAPTUREDEVICENVPROC __glewXBindVideoCaptureDeviceNV; -GLXEW_FUN_EXPORT PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC __glewXEnumerateVideoCaptureDevicesNV; -GLXEW_FUN_EXPORT PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC __glewXLockVideoCaptureDeviceNV; -GLXEW_FUN_EXPORT PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC __glewXQueryVideoCaptureDeviceNV; -GLXEW_FUN_EXPORT PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC __glewXReleaseVideoCaptureDeviceNV; - -GLXEW_FUN_EXPORT PFNGLXBINDVIDEOIMAGENVPROC __glewXBindVideoImageNV; -GLXEW_FUN_EXPORT PFNGLXGETVIDEODEVICENVPROC __glewXGetVideoDeviceNV; -GLXEW_FUN_EXPORT PFNGLXGETVIDEOINFONVPROC __glewXGetVideoInfoNV; -GLXEW_FUN_EXPORT PFNGLXRELEASEVIDEODEVICENVPROC __glewXReleaseVideoDeviceNV; -GLXEW_FUN_EXPORT PFNGLXRELEASEVIDEOIMAGENVPROC __glewXReleaseVideoImageNV; -GLXEW_FUN_EXPORT PFNGLXSENDPBUFFERTOVIDEONVPROC __glewXSendPbufferToVideoNV; - -GLXEW_FUN_EXPORT PFNGLXGETMSCRATEOMLPROC __glewXGetMscRateOML; -GLXEW_FUN_EXPORT PFNGLXGETSYNCVALUESOMLPROC __glewXGetSyncValuesOML; -GLXEW_FUN_EXPORT PFNGLXSWAPBUFFERSMSCOMLPROC __glewXSwapBuffersMscOML; -GLXEW_FUN_EXPORT PFNGLXWAITFORMSCOMLPROC __glewXWaitForMscOML; -GLXEW_FUN_EXPORT PFNGLXWAITFORSBCOMLPROC __glewXWaitForSbcOML; - -GLXEW_FUN_EXPORT PFNGLXCHOOSEFBCONFIGSGIXPROC __glewXChooseFBConfigSGIX; -GLXEW_FUN_EXPORT PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC __glewXCreateContextWithConfigSGIX; -GLXEW_FUN_EXPORT PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC __glewXCreateGLXPixmapWithConfigSGIX; -GLXEW_FUN_EXPORT PFNGLXGETFBCONFIGATTRIBSGIXPROC __glewXGetFBConfigAttribSGIX; -GLXEW_FUN_EXPORT PFNGLXGETFBCONFIGFROMVISUALSGIXPROC __glewXGetFBConfigFromVisualSGIX; -GLXEW_FUN_EXPORT PFNGLXGETVISUALFROMFBCONFIGSGIXPROC __glewXGetVisualFromFBConfigSGIX; - -GLXEW_FUN_EXPORT PFNGLXBINDHYPERPIPESGIXPROC __glewXBindHyperpipeSGIX; -GLXEW_FUN_EXPORT PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC __glewXDestroyHyperpipeConfigSGIX; -GLXEW_FUN_EXPORT PFNGLXHYPERPIPEATTRIBSGIXPROC __glewXHyperpipeAttribSGIX; -GLXEW_FUN_EXPORT PFNGLXHYPERPIPECONFIGSGIXPROC __glewXHyperpipeConfigSGIX; -GLXEW_FUN_EXPORT PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC __glewXQueryHyperpipeAttribSGIX; -GLXEW_FUN_EXPORT PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC __glewXQueryHyperpipeBestAttribSGIX; -GLXEW_FUN_EXPORT PFNGLXQUERYHYPERPIPECONFIGSGIXPROC __glewXQueryHyperpipeConfigSGIX; -GLXEW_FUN_EXPORT PFNGLXQUERYHYPERPIPENETWORKSGIXPROC __glewXQueryHyperpipeNetworkSGIX; - -GLXEW_FUN_EXPORT PFNGLXCREATEGLXPBUFFERSGIXPROC __glewXCreateGLXPbufferSGIX; -GLXEW_FUN_EXPORT PFNGLXDESTROYGLXPBUFFERSGIXPROC __glewXDestroyGLXPbufferSGIX; -GLXEW_FUN_EXPORT PFNGLXGETSELECTEDEVENTSGIXPROC __glewXGetSelectedEventSGIX; -GLXEW_FUN_EXPORT PFNGLXQUERYGLXPBUFFERSGIXPROC __glewXQueryGLXPbufferSGIX; -GLXEW_FUN_EXPORT PFNGLXSELECTEVENTSGIXPROC __glewXSelectEventSGIX; - -GLXEW_FUN_EXPORT PFNGLXBINDSWAPBARRIERSGIXPROC __glewXBindSwapBarrierSGIX; -GLXEW_FUN_EXPORT PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC __glewXQueryMaxSwapBarriersSGIX; - -GLXEW_FUN_EXPORT PFNGLXJOINSWAPGROUPSGIXPROC __glewXJoinSwapGroupSGIX; - -GLXEW_FUN_EXPORT PFNGLXBINDCHANNELTOWINDOWSGIXPROC __glewXBindChannelToWindowSGIX; -GLXEW_FUN_EXPORT PFNGLXCHANNELRECTSGIXPROC __glewXChannelRectSGIX; -GLXEW_FUN_EXPORT PFNGLXCHANNELRECTSYNCSGIXPROC __glewXChannelRectSyncSGIX; -GLXEW_FUN_EXPORT PFNGLXQUERYCHANNELDELTASSGIXPROC __glewXQueryChannelDeltasSGIX; -GLXEW_FUN_EXPORT PFNGLXQUERYCHANNELRECTSGIXPROC __glewXQueryChannelRectSGIX; - -GLXEW_FUN_EXPORT PFNGLXCUSHIONSGIPROC __glewXCushionSGI; - -GLXEW_FUN_EXPORT PFNGLXGETCURRENTREADDRAWABLESGIPROC __glewXGetCurrentReadDrawableSGI; -GLXEW_FUN_EXPORT PFNGLXMAKECURRENTREADSGIPROC __glewXMakeCurrentReadSGI; - -GLXEW_FUN_EXPORT PFNGLXSWAPINTERVALSGIPROC __glewXSwapIntervalSGI; - -GLXEW_FUN_EXPORT PFNGLXGETVIDEOSYNCSGIPROC __glewXGetVideoSyncSGI; -GLXEW_FUN_EXPORT PFNGLXWAITVIDEOSYNCSGIPROC __glewXWaitVideoSyncSGI; - -GLXEW_FUN_EXPORT PFNGLXGETTRANSPARENTINDEXSUNPROC __glewXGetTransparentIndexSUN; - -GLXEW_FUN_EXPORT PFNGLXGETVIDEORESIZESUNPROC __glewXGetVideoResizeSUN; -GLXEW_FUN_EXPORT PFNGLXVIDEORESIZESUNPROC __glewXVideoResizeSUN; - -#if defined(GLEW_MX) -struct GLXEWContextStruct -{ -#endif /* GLEW_MX */ - -GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_0; -GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_1; -GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_2; -GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_3; -GLXEW_VAR_EXPORT GLboolean __GLXEW_VERSION_1_4; -GLXEW_VAR_EXPORT GLboolean __GLXEW_3DFX_multisample; -GLXEW_VAR_EXPORT GLboolean __GLXEW_AMD_gpu_association; -GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_create_context; -GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_create_context_profile; -GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_create_context_robustness; -GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_fbconfig_float; -GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_framebuffer_sRGB; -GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_get_proc_address; -GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_multisample; -GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_robustness_application_isolation; -GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_robustness_share_group_isolation; -GLXEW_VAR_EXPORT GLboolean __GLXEW_ARB_vertex_buffer_object; -GLXEW_VAR_EXPORT GLboolean __GLXEW_ATI_pixel_format_float; -GLXEW_VAR_EXPORT GLboolean __GLXEW_ATI_render_texture; -GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_create_context_es2_profile; -GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_create_context_es_profile; -GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_fbconfig_packed_float; -GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_framebuffer_sRGB; -GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_import_context; -GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_scene_marker; -GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_swap_control; -GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_swap_control_tear; -GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_texture_from_pixmap; -GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_visual_info; -GLXEW_VAR_EXPORT GLboolean __GLXEW_EXT_visual_rating; -GLXEW_VAR_EXPORT GLboolean __GLXEW_INTEL_swap_event; -GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_agp_offset; -GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_copy_sub_buffer; -GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_pixmap_colormap; -GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_release_buffers; -GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_set_3dfx_mode; -GLXEW_VAR_EXPORT GLboolean __GLXEW_MESA_swap_control; -GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_copy_image; -GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_float_buffer; -GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_multisample_coverage; -GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_present_video; -GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_swap_group; -GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_vertex_array_range; -GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_video_capture; -GLXEW_VAR_EXPORT GLboolean __GLXEW_NV_video_out; -GLXEW_VAR_EXPORT GLboolean __GLXEW_OML_swap_method; -GLXEW_VAR_EXPORT GLboolean __GLXEW_OML_sync_control; -GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIS_blended_overlay; -GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIS_color_range; -GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIS_multisample; -GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIS_shared_multisample; -GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_fbconfig; -GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_hyperpipe; -GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_pbuffer; -GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_swap_barrier; -GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_swap_group; -GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_video_resize; -GLXEW_VAR_EXPORT GLboolean __GLXEW_SGIX_visual_select_group; -GLXEW_VAR_EXPORT GLboolean __GLXEW_SGI_cushion; -GLXEW_VAR_EXPORT GLboolean __GLXEW_SGI_make_current_read; -GLXEW_VAR_EXPORT GLboolean __GLXEW_SGI_swap_control; -GLXEW_VAR_EXPORT GLboolean __GLXEW_SGI_video_sync; -GLXEW_VAR_EXPORT GLboolean __GLXEW_SUN_get_transparent_index; -GLXEW_VAR_EXPORT GLboolean __GLXEW_SUN_video_resize; - -#ifdef GLEW_MX -}; /* GLXEWContextStruct */ -#endif /* GLEW_MX */ - -/* ------------------------------------------------------------------------ */ - -#ifdef GLEW_MX - -typedef struct GLXEWContextStruct GLXEWContext; -GLEWAPI GLenum GLEWAPIENTRY glxewContextInit (GLXEWContext *ctx); -GLEWAPI GLboolean GLEWAPIENTRY glxewContextIsSupported (const GLXEWContext *ctx, const char *name); - -#define glxewInit() glxewContextInit(glxewGetContext()) -#define glxewIsSupported(x) glxewContextIsSupported(glxewGetContext(), x) - -#define GLXEW_GET_VAR(x) (*(const GLboolean*)&(glxewGetContext()->x)) -#define GLXEW_GET_FUN(x) x - -#else /* GLEW_MX */ - -#define GLXEW_GET_VAR(x) (*(const GLboolean*)&x) -#define GLXEW_GET_FUN(x) x - -GLEWAPI GLboolean GLEWAPIENTRY glxewIsSupported (const char *name); - -#endif /* GLEW_MX */ - -GLEWAPI GLboolean GLEWAPIENTRY glxewGetExtension (const char *name); - -#ifdef __cplusplus -} -#endif - -#endif /* __glxew_h__ */ diff --git a/src/other/togl/include/GL/wglew.h b/src/other/togl/include/GL/wglew.h deleted file mode 100644 index c0f59f56da9..00000000000 --- a/src/other/togl/include/GL/wglew.h +++ /dev/null @@ -1,1397 +0,0 @@ -/* -** The OpenGL Extension Wrangler Library -** Copyright (C) 2002-2008, Milan Ikits -** Copyright (C) 2002-2008, Marcelo E. Magallon -** Copyright (C) 2002, Lev Povalahev -** All rights reserved. -** -** Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are met: -** -** * Redistributions of source code must retain the above copyright notice, -** this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright notice, -** this list of conditions and the following disclaimer in the documentation -** and/or other materials provided with the distribution. -** * The name of the author may be used to endorse or promote products -** derived from this software without specific prior written permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF -** THE POSSIBILITY OF SUCH DAMAGE. -*/ - -/* -** Copyright (c) 2007 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ - -#ifndef __wglew_h__ -#define __wglew_h__ -#define __WGLEW_H__ - -#ifdef __wglext_h_ -#error wglext.h included before wglew.h -#endif - -#define __wglext_h_ - -#if !defined(WINAPI) -# ifndef WIN32_LEAN_AND_MEAN -# define WIN32_LEAN_AND_MEAN 1 -# endif -#include -# undef WIN32_LEAN_AND_MEAN -#endif - -/* - * GLEW_STATIC needs to be set when using the static version. - * GLEW_BUILD is set when building the DLL version. - */ -#ifdef GLEW_STATIC -# define GLEWAPI extern -#else -# ifdef GLEW_BUILD -# define GLEWAPI extern __declspec(dllexport) -# else -# define GLEWAPI extern __declspec(dllimport) -# endif -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* -------------------------- WGL_3DFX_multisample ------------------------- */ - -#ifndef WGL_3DFX_multisample -#define WGL_3DFX_multisample 1 - -#define WGL_SAMPLE_BUFFERS_3DFX 0x2060 -#define WGL_SAMPLES_3DFX 0x2061 - -#define WGLEW_3DFX_multisample WGLEW_GET_VAR(__WGLEW_3DFX_multisample) - -#endif /* WGL_3DFX_multisample */ - -/* ------------------------- WGL_3DL_stereo_control ------------------------ */ - -#ifndef WGL_3DL_stereo_control -#define WGL_3DL_stereo_control 1 - -#define WGL_STEREO_EMITTER_ENABLE_3DL 0x2055 -#define WGL_STEREO_EMITTER_DISABLE_3DL 0x2056 -#define WGL_STEREO_POLARITY_NORMAL_3DL 0x2057 -#define WGL_STEREO_POLARITY_INVERT_3DL 0x2058 - -typedef BOOL (WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC) (HDC hDC, UINT uState); - -#define wglSetStereoEmitterState3DL WGLEW_GET_FUN(__wglewSetStereoEmitterState3DL) - -#define WGLEW_3DL_stereo_control WGLEW_GET_VAR(__WGLEW_3DL_stereo_control) - -#endif /* WGL_3DL_stereo_control */ - -/* ------------------------ WGL_AMD_gpu_association ------------------------ */ - -#ifndef WGL_AMD_gpu_association -#define WGL_AMD_gpu_association 1 - -#define WGL_GPU_VENDOR_AMD 0x1F00 -#define WGL_GPU_RENDERER_STRING_AMD 0x1F01 -#define WGL_GPU_OPENGL_VERSION_STRING_AMD 0x1F02 -#define WGL_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2 -#define WGL_GPU_RAM_AMD 0x21A3 -#define WGL_GPU_CLOCK_AMD 0x21A4 -#define WGL_GPU_NUM_PIPES_AMD 0x21A5 -#define WGL_GPU_NUM_SIMD_AMD 0x21A6 -#define WGL_GPU_NUM_RB_AMD 0x21A7 -#define WGL_GPU_NUM_SPI_AMD 0x21A8 - -typedef VOID (WINAPI * PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC) (HGLRC dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC) (UINT id); -typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC) (UINT id, HGLRC hShareContext, const int* attribList); -typedef BOOL (WINAPI * PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC) (HGLRC hglrc); -typedef UINT (WINAPI * PFNWGLGETCONTEXTGPUIDAMDPROC) (HGLRC hglrc); -typedef HGLRC (WINAPI * PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC) (void); -typedef UINT (WINAPI * PFNWGLGETGPUIDSAMDPROC) (UINT maxCount, UINT* ids); -typedef INT (WINAPI * PFNWGLGETGPUINFOAMDPROC) (UINT id, INT property, GLenum dataType, UINT size, void* data); -typedef BOOL (WINAPI * PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC) (HGLRC hglrc); - -#define wglBlitContextFramebufferAMD WGLEW_GET_FUN(__wglewBlitContextFramebufferAMD) -#define wglCreateAssociatedContextAMD WGLEW_GET_FUN(__wglewCreateAssociatedContextAMD) -#define wglCreateAssociatedContextAttribsAMD WGLEW_GET_FUN(__wglewCreateAssociatedContextAttribsAMD) -#define wglDeleteAssociatedContextAMD WGLEW_GET_FUN(__wglewDeleteAssociatedContextAMD) -#define wglGetContextGPUIDAMD WGLEW_GET_FUN(__wglewGetContextGPUIDAMD) -#define wglGetCurrentAssociatedContextAMD WGLEW_GET_FUN(__wglewGetCurrentAssociatedContextAMD) -#define wglGetGPUIDsAMD WGLEW_GET_FUN(__wglewGetGPUIDsAMD) -#define wglGetGPUInfoAMD WGLEW_GET_FUN(__wglewGetGPUInfoAMD) -#define wglMakeAssociatedContextCurrentAMD WGLEW_GET_FUN(__wglewMakeAssociatedContextCurrentAMD) - -#define WGLEW_AMD_gpu_association WGLEW_GET_VAR(__WGLEW_AMD_gpu_association) - -#endif /* WGL_AMD_gpu_association */ - -/* ------------------------- WGL_ARB_buffer_region ------------------------- */ - -#ifndef WGL_ARB_buffer_region -#define WGL_ARB_buffer_region 1 - -#define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001 -#define WGL_BACK_COLOR_BUFFER_BIT_ARB 0x00000002 -#define WGL_DEPTH_BUFFER_BIT_ARB 0x00000004 -#define WGL_STENCIL_BUFFER_BIT_ARB 0x00000008 - -typedef HANDLE (WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC) (HDC hDC, int iLayerPlane, UINT uType); -typedef VOID (WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC) (HANDLE hRegion); -typedef BOOL (WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc); -typedef BOOL (WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height); - -#define wglCreateBufferRegionARB WGLEW_GET_FUN(__wglewCreateBufferRegionARB) -#define wglDeleteBufferRegionARB WGLEW_GET_FUN(__wglewDeleteBufferRegionARB) -#define wglRestoreBufferRegionARB WGLEW_GET_FUN(__wglewRestoreBufferRegionARB) -#define wglSaveBufferRegionARB WGLEW_GET_FUN(__wglewSaveBufferRegionARB) - -#define WGLEW_ARB_buffer_region WGLEW_GET_VAR(__WGLEW_ARB_buffer_region) - -#endif /* WGL_ARB_buffer_region */ - -/* ------------------------- WGL_ARB_create_context ------------------------ */ - -#ifndef WGL_ARB_create_context -#define WGL_ARB_create_context 1 - -#define WGL_CONTEXT_DEBUG_BIT_ARB 0x0001 -#define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002 -#define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091 -#define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092 -#define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093 -#define WGL_CONTEXT_FLAGS_ARB 0x2094 -#define ERROR_INVALID_VERSION_ARB 0x2095 -#define ERROR_INVALID_PROFILE_ARB 0x2096 - -typedef HGLRC (WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC) (HDC hDC, HGLRC hShareContext, const int* attribList); - -#define wglCreateContextAttribsARB WGLEW_GET_FUN(__wglewCreateContextAttribsARB) - -#define WGLEW_ARB_create_context WGLEW_GET_VAR(__WGLEW_ARB_create_context) - -#endif /* WGL_ARB_create_context */ - -/* --------------------- WGL_ARB_create_context_profile -------------------- */ - -#ifndef WGL_ARB_create_context_profile -#define WGL_ARB_create_context_profile 1 - -#define WGL_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 -#define WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 -#define WGL_CONTEXT_PROFILE_MASK_ARB 0x9126 - -#define WGLEW_ARB_create_context_profile WGLEW_GET_VAR(__WGLEW_ARB_create_context_profile) - -#endif /* WGL_ARB_create_context_profile */ - -/* ------------------- WGL_ARB_create_context_robustness ------------------- */ - -#ifndef WGL_ARB_create_context_robustness -#define WGL_ARB_create_context_robustness 1 - -#define WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004 -#define WGL_LOSE_CONTEXT_ON_RESET_ARB 0x8252 -#define WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 -#define WGL_NO_RESET_NOTIFICATION_ARB 0x8261 - -#define WGLEW_ARB_create_context_robustness WGLEW_GET_VAR(__WGLEW_ARB_create_context_robustness) - -#endif /* WGL_ARB_create_context_robustness */ - -/* ----------------------- WGL_ARB_extensions_string ----------------------- */ - -#ifndef WGL_ARB_extensions_string -#define WGL_ARB_extensions_string 1 - -typedef const char* (WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc); - -#define wglGetExtensionsStringARB WGLEW_GET_FUN(__wglewGetExtensionsStringARB) - -#define WGLEW_ARB_extensions_string WGLEW_GET_VAR(__WGLEW_ARB_extensions_string) - -#endif /* WGL_ARB_extensions_string */ - -/* ------------------------ WGL_ARB_framebuffer_sRGB ----------------------- */ - -#ifndef WGL_ARB_framebuffer_sRGB -#define WGL_ARB_framebuffer_sRGB 1 - -#define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20A9 - -#define WGLEW_ARB_framebuffer_sRGB WGLEW_GET_VAR(__WGLEW_ARB_framebuffer_sRGB) - -#endif /* WGL_ARB_framebuffer_sRGB */ - -/* ----------------------- WGL_ARB_make_current_read ----------------------- */ - -#ifndef WGL_ARB_make_current_read -#define WGL_ARB_make_current_read 1 - -#define ERROR_INVALID_PIXEL_TYPE_ARB 0x2043 -#define ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054 - -typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCARBPROC) (VOID); -typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); - -#define wglGetCurrentReadDCARB WGLEW_GET_FUN(__wglewGetCurrentReadDCARB) -#define wglMakeContextCurrentARB WGLEW_GET_FUN(__wglewMakeContextCurrentARB) - -#define WGLEW_ARB_make_current_read WGLEW_GET_VAR(__WGLEW_ARB_make_current_read) - -#endif /* WGL_ARB_make_current_read */ - -/* -------------------------- WGL_ARB_multisample -------------------------- */ - -#ifndef WGL_ARB_multisample -#define WGL_ARB_multisample 1 - -#define WGL_SAMPLE_BUFFERS_ARB 0x2041 -#define WGL_SAMPLES_ARB 0x2042 - -#define WGLEW_ARB_multisample WGLEW_GET_VAR(__WGLEW_ARB_multisample) - -#endif /* WGL_ARB_multisample */ - -/* ---------------------------- WGL_ARB_pbuffer ---------------------------- */ - -#ifndef WGL_ARB_pbuffer -#define WGL_ARB_pbuffer 1 - -#define WGL_DRAW_TO_PBUFFER_ARB 0x202D -#define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E -#define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F -#define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030 -#define WGL_PBUFFER_LARGEST_ARB 0x2033 -#define WGL_PBUFFER_WIDTH_ARB 0x2034 -#define WGL_PBUFFER_HEIGHT_ARB 0x2035 -#define WGL_PBUFFER_LOST_ARB 0x2036 - -DECLARE_HANDLE(HPBUFFERARB); - -typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int* piAttribList); -typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFERARBPROC) (HPBUFFERARB hPbuffer); -typedef HDC (WINAPI * PFNWGLGETPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer); -typedef BOOL (WINAPI * PFNWGLQUERYPBUFFERARBPROC) (HPBUFFERARB hPbuffer, int iAttribute, int* piValue); -typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC hDC); - -#define wglCreatePbufferARB WGLEW_GET_FUN(__wglewCreatePbufferARB) -#define wglDestroyPbufferARB WGLEW_GET_FUN(__wglewDestroyPbufferARB) -#define wglGetPbufferDCARB WGLEW_GET_FUN(__wglewGetPbufferDCARB) -#define wglQueryPbufferARB WGLEW_GET_FUN(__wglewQueryPbufferARB) -#define wglReleasePbufferDCARB WGLEW_GET_FUN(__wglewReleasePbufferDCARB) - -#define WGLEW_ARB_pbuffer WGLEW_GET_VAR(__WGLEW_ARB_pbuffer) - -#endif /* WGL_ARB_pbuffer */ - -/* -------------------------- WGL_ARB_pixel_format ------------------------- */ - -#ifndef WGL_ARB_pixel_format -#define WGL_ARB_pixel_format 1 - -#define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000 -#define WGL_DRAW_TO_WINDOW_ARB 0x2001 -#define WGL_DRAW_TO_BITMAP_ARB 0x2002 -#define WGL_ACCELERATION_ARB 0x2003 -#define WGL_NEED_PALETTE_ARB 0x2004 -#define WGL_NEED_SYSTEM_PALETTE_ARB 0x2005 -#define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006 -#define WGL_SWAP_METHOD_ARB 0x2007 -#define WGL_NUMBER_OVERLAYS_ARB 0x2008 -#define WGL_NUMBER_UNDERLAYS_ARB 0x2009 -#define WGL_TRANSPARENT_ARB 0x200A -#define WGL_SHARE_DEPTH_ARB 0x200C -#define WGL_SHARE_STENCIL_ARB 0x200D -#define WGL_SHARE_ACCUM_ARB 0x200E -#define WGL_SUPPORT_GDI_ARB 0x200F -#define WGL_SUPPORT_OPENGL_ARB 0x2010 -#define WGL_DOUBLE_BUFFER_ARB 0x2011 -#define WGL_STEREO_ARB 0x2012 -#define WGL_PIXEL_TYPE_ARB 0x2013 -#define WGL_COLOR_BITS_ARB 0x2014 -#define WGL_RED_BITS_ARB 0x2015 -#define WGL_RED_SHIFT_ARB 0x2016 -#define WGL_GREEN_BITS_ARB 0x2017 -#define WGL_GREEN_SHIFT_ARB 0x2018 -#define WGL_BLUE_BITS_ARB 0x2019 -#define WGL_BLUE_SHIFT_ARB 0x201A -#define WGL_ALPHA_BITS_ARB 0x201B -#define WGL_ALPHA_SHIFT_ARB 0x201C -#define WGL_ACCUM_BITS_ARB 0x201D -#define WGL_ACCUM_RED_BITS_ARB 0x201E -#define WGL_ACCUM_GREEN_BITS_ARB 0x201F -#define WGL_ACCUM_BLUE_BITS_ARB 0x2020 -#define WGL_ACCUM_ALPHA_BITS_ARB 0x2021 -#define WGL_DEPTH_BITS_ARB 0x2022 -#define WGL_STENCIL_BITS_ARB 0x2023 -#define WGL_AUX_BUFFERS_ARB 0x2024 -#define WGL_NO_ACCELERATION_ARB 0x2025 -#define WGL_GENERIC_ACCELERATION_ARB 0x2026 -#define WGL_FULL_ACCELERATION_ARB 0x2027 -#define WGL_SWAP_EXCHANGE_ARB 0x2028 -#define WGL_SWAP_COPY_ARB 0x2029 -#define WGL_SWAP_UNDEFINED_ARB 0x202A -#define WGL_TYPE_RGBA_ARB 0x202B -#define WGL_TYPE_COLORINDEX_ARB 0x202C -#define WGL_TRANSPARENT_RED_VALUE_ARB 0x2037 -#define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038 -#define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039 -#define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A -#define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B - -typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int* piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); -typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, FLOAT *pfValues); -typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, int *piValues); - -#define wglChoosePixelFormatARB WGLEW_GET_FUN(__wglewChoosePixelFormatARB) -#define wglGetPixelFormatAttribfvARB WGLEW_GET_FUN(__wglewGetPixelFormatAttribfvARB) -#define wglGetPixelFormatAttribivARB WGLEW_GET_FUN(__wglewGetPixelFormatAttribivARB) - -#define WGLEW_ARB_pixel_format WGLEW_GET_VAR(__WGLEW_ARB_pixel_format) - -#endif /* WGL_ARB_pixel_format */ - -/* ----------------------- WGL_ARB_pixel_format_float ---------------------- */ - -#ifndef WGL_ARB_pixel_format_float -#define WGL_ARB_pixel_format_float 1 - -#define WGL_TYPE_RGBA_FLOAT_ARB 0x21A0 - -#define WGLEW_ARB_pixel_format_float WGLEW_GET_VAR(__WGLEW_ARB_pixel_format_float) - -#endif /* WGL_ARB_pixel_format_float */ - -/* ------------------------- WGL_ARB_render_texture ------------------------ */ - -#ifndef WGL_ARB_render_texture -#define WGL_ARB_render_texture 1 - -#define WGL_BIND_TO_TEXTURE_RGB_ARB 0x2070 -#define WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071 -#define WGL_TEXTURE_FORMAT_ARB 0x2072 -#define WGL_TEXTURE_TARGET_ARB 0x2073 -#define WGL_MIPMAP_TEXTURE_ARB 0x2074 -#define WGL_TEXTURE_RGB_ARB 0x2075 -#define WGL_TEXTURE_RGBA_ARB 0x2076 -#define WGL_NO_TEXTURE_ARB 0x2077 -#define WGL_TEXTURE_CUBE_MAP_ARB 0x2078 -#define WGL_TEXTURE_1D_ARB 0x2079 -#define WGL_TEXTURE_2D_ARB 0x207A -#define WGL_MIPMAP_LEVEL_ARB 0x207B -#define WGL_CUBE_MAP_FACE_ARB 0x207C -#define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D -#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E -#define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F -#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080 -#define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081 -#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082 -#define WGL_FRONT_LEFT_ARB 0x2083 -#define WGL_FRONT_RIGHT_ARB 0x2084 -#define WGL_BACK_LEFT_ARB 0x2085 -#define WGL_BACK_RIGHT_ARB 0x2086 -#define WGL_AUX0_ARB 0x2087 -#define WGL_AUX1_ARB 0x2088 -#define WGL_AUX2_ARB 0x2089 -#define WGL_AUX3_ARB 0x208A -#define WGL_AUX4_ARB 0x208B -#define WGL_AUX5_ARB 0x208C -#define WGL_AUX6_ARB 0x208D -#define WGL_AUX7_ARB 0x208E -#define WGL_AUX8_ARB 0x208F -#define WGL_AUX9_ARB 0x2090 - -typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer); -typedef BOOL (WINAPI * PFNWGLRELEASETEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer); -typedef BOOL (WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC) (HPBUFFERARB hPbuffer, const int* piAttribList); - -#define wglBindTexImageARB WGLEW_GET_FUN(__wglewBindTexImageARB) -#define wglReleaseTexImageARB WGLEW_GET_FUN(__wglewReleaseTexImageARB) -#define wglSetPbufferAttribARB WGLEW_GET_FUN(__wglewSetPbufferAttribARB) - -#define WGLEW_ARB_render_texture WGLEW_GET_VAR(__WGLEW_ARB_render_texture) - -#endif /* WGL_ARB_render_texture */ - -/* ----------------------- WGL_ATI_pixel_format_float ---------------------- */ - -#ifndef WGL_ATI_pixel_format_float -#define WGL_ATI_pixel_format_float 1 - -#define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0 -#define GL_RGBA_FLOAT_MODE_ATI 0x8820 -#define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835 - -#define WGLEW_ATI_pixel_format_float WGLEW_GET_VAR(__WGLEW_ATI_pixel_format_float) - -#endif /* WGL_ATI_pixel_format_float */ - -/* -------------------- WGL_ATI_render_texture_rectangle ------------------- */ - -#ifndef WGL_ATI_render_texture_rectangle -#define WGL_ATI_render_texture_rectangle 1 - -#define WGL_TEXTURE_RECTANGLE_ATI 0x21A5 - -#define WGLEW_ATI_render_texture_rectangle WGLEW_GET_VAR(__WGLEW_ATI_render_texture_rectangle) - -#endif /* WGL_ATI_render_texture_rectangle */ - -/* ------------------- WGL_EXT_create_context_es2_profile ------------------ */ - -#ifndef WGL_EXT_create_context_es2_profile -#define WGL_EXT_create_context_es2_profile 1 - -#define WGL_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 - -#define WGLEW_EXT_create_context_es2_profile WGLEW_GET_VAR(__WGLEW_EXT_create_context_es2_profile) - -#endif /* WGL_EXT_create_context_es2_profile */ - -/* ------------------- WGL_EXT_create_context_es_profile ------------------- */ - -#ifndef WGL_EXT_create_context_es_profile -#define WGL_EXT_create_context_es_profile 1 - -#define WGL_CONTEXT_ES_PROFILE_BIT_EXT 0x00000004 - -#define WGLEW_EXT_create_context_es_profile WGLEW_GET_VAR(__WGLEW_EXT_create_context_es_profile) - -#endif /* WGL_EXT_create_context_es_profile */ - -/* -------------------------- WGL_EXT_depth_float -------------------------- */ - -#ifndef WGL_EXT_depth_float -#define WGL_EXT_depth_float 1 - -#define WGL_DEPTH_FLOAT_EXT 0x2040 - -#define WGLEW_EXT_depth_float WGLEW_GET_VAR(__WGLEW_EXT_depth_float) - -#endif /* WGL_EXT_depth_float */ - -/* ---------------------- WGL_EXT_display_color_table ---------------------- */ - -#ifndef WGL_EXT_display_color_table -#define WGL_EXT_display_color_table 1 - -typedef GLboolean (WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC) (GLushort id); -typedef GLboolean (WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC) (GLushort id); -typedef void (WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC) (GLushort id); -typedef GLboolean (WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC) (GLushort* table, GLuint length); - -#define wglBindDisplayColorTableEXT WGLEW_GET_FUN(__wglewBindDisplayColorTableEXT) -#define wglCreateDisplayColorTableEXT WGLEW_GET_FUN(__wglewCreateDisplayColorTableEXT) -#define wglDestroyDisplayColorTableEXT WGLEW_GET_FUN(__wglewDestroyDisplayColorTableEXT) -#define wglLoadDisplayColorTableEXT WGLEW_GET_FUN(__wglewLoadDisplayColorTableEXT) - -#define WGLEW_EXT_display_color_table WGLEW_GET_VAR(__WGLEW_EXT_display_color_table) - -#endif /* WGL_EXT_display_color_table */ - -/* ----------------------- WGL_EXT_extensions_string ----------------------- */ - -#ifndef WGL_EXT_extensions_string -#define WGL_EXT_extensions_string 1 - -typedef const char* (WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC) (void); - -#define wglGetExtensionsStringEXT WGLEW_GET_FUN(__wglewGetExtensionsStringEXT) - -#define WGLEW_EXT_extensions_string WGLEW_GET_VAR(__WGLEW_EXT_extensions_string) - -#endif /* WGL_EXT_extensions_string */ - -/* ------------------------ WGL_EXT_framebuffer_sRGB ----------------------- */ - -#ifndef WGL_EXT_framebuffer_sRGB -#define WGL_EXT_framebuffer_sRGB 1 - -#define WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9 - -#define WGLEW_EXT_framebuffer_sRGB WGLEW_GET_VAR(__WGLEW_EXT_framebuffer_sRGB) - -#endif /* WGL_EXT_framebuffer_sRGB */ - -/* ----------------------- WGL_EXT_make_current_read ----------------------- */ - -#ifndef WGL_EXT_make_current_read -#define WGL_EXT_make_current_read 1 - -#define ERROR_INVALID_PIXEL_TYPE_EXT 0x2043 - -typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCEXTPROC) (VOID); -typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTEXTPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); - -#define wglGetCurrentReadDCEXT WGLEW_GET_FUN(__wglewGetCurrentReadDCEXT) -#define wglMakeContextCurrentEXT WGLEW_GET_FUN(__wglewMakeContextCurrentEXT) - -#define WGLEW_EXT_make_current_read WGLEW_GET_VAR(__WGLEW_EXT_make_current_read) - -#endif /* WGL_EXT_make_current_read */ - -/* -------------------------- WGL_EXT_multisample -------------------------- */ - -#ifndef WGL_EXT_multisample -#define WGL_EXT_multisample 1 - -#define WGL_SAMPLE_BUFFERS_EXT 0x2041 -#define WGL_SAMPLES_EXT 0x2042 - -#define WGLEW_EXT_multisample WGLEW_GET_VAR(__WGLEW_EXT_multisample) - -#endif /* WGL_EXT_multisample */ - -/* ---------------------------- WGL_EXT_pbuffer ---------------------------- */ - -#ifndef WGL_EXT_pbuffer -#define WGL_EXT_pbuffer 1 - -#define WGL_DRAW_TO_PBUFFER_EXT 0x202D -#define WGL_MAX_PBUFFER_PIXELS_EXT 0x202E -#define WGL_MAX_PBUFFER_WIDTH_EXT 0x202F -#define WGL_MAX_PBUFFER_HEIGHT_EXT 0x2030 -#define WGL_OPTIMAL_PBUFFER_WIDTH_EXT 0x2031 -#define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032 -#define WGL_PBUFFER_LARGEST_EXT 0x2033 -#define WGL_PBUFFER_WIDTH_EXT 0x2034 -#define WGL_PBUFFER_HEIGHT_EXT 0x2035 - -DECLARE_HANDLE(HPBUFFEREXT); - -typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int* piAttribList); -typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer); -typedef HDC (WINAPI * PFNWGLGETPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer); -typedef BOOL (WINAPI * PFNWGLQUERYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer, int iAttribute, int* piValue); -typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer, HDC hDC); - -#define wglCreatePbufferEXT WGLEW_GET_FUN(__wglewCreatePbufferEXT) -#define wglDestroyPbufferEXT WGLEW_GET_FUN(__wglewDestroyPbufferEXT) -#define wglGetPbufferDCEXT WGLEW_GET_FUN(__wglewGetPbufferDCEXT) -#define wglQueryPbufferEXT WGLEW_GET_FUN(__wglewQueryPbufferEXT) -#define wglReleasePbufferDCEXT WGLEW_GET_FUN(__wglewReleasePbufferDCEXT) - -#define WGLEW_EXT_pbuffer WGLEW_GET_VAR(__WGLEW_EXT_pbuffer) - -#endif /* WGL_EXT_pbuffer */ - -/* -------------------------- WGL_EXT_pixel_format ------------------------- */ - -#ifndef WGL_EXT_pixel_format -#define WGL_EXT_pixel_format 1 - -#define WGL_NUMBER_PIXEL_FORMATS_EXT 0x2000 -#define WGL_DRAW_TO_WINDOW_EXT 0x2001 -#define WGL_DRAW_TO_BITMAP_EXT 0x2002 -#define WGL_ACCELERATION_EXT 0x2003 -#define WGL_NEED_PALETTE_EXT 0x2004 -#define WGL_NEED_SYSTEM_PALETTE_EXT 0x2005 -#define WGL_SWAP_LAYER_BUFFERS_EXT 0x2006 -#define WGL_SWAP_METHOD_EXT 0x2007 -#define WGL_NUMBER_OVERLAYS_EXT 0x2008 -#define WGL_NUMBER_UNDERLAYS_EXT 0x2009 -#define WGL_TRANSPARENT_EXT 0x200A -#define WGL_TRANSPARENT_VALUE_EXT 0x200B -#define WGL_SHARE_DEPTH_EXT 0x200C -#define WGL_SHARE_STENCIL_EXT 0x200D -#define WGL_SHARE_ACCUM_EXT 0x200E -#define WGL_SUPPORT_GDI_EXT 0x200F -#define WGL_SUPPORT_OPENGL_EXT 0x2010 -#define WGL_DOUBLE_BUFFER_EXT 0x2011 -#define WGL_STEREO_EXT 0x2012 -#define WGL_PIXEL_TYPE_EXT 0x2013 -#define WGL_COLOR_BITS_EXT 0x2014 -#define WGL_RED_BITS_EXT 0x2015 -#define WGL_RED_SHIFT_EXT 0x2016 -#define WGL_GREEN_BITS_EXT 0x2017 -#define WGL_GREEN_SHIFT_EXT 0x2018 -#define WGL_BLUE_BITS_EXT 0x2019 -#define WGL_BLUE_SHIFT_EXT 0x201A -#define WGL_ALPHA_BITS_EXT 0x201B -#define WGL_ALPHA_SHIFT_EXT 0x201C -#define WGL_ACCUM_BITS_EXT 0x201D -#define WGL_ACCUM_RED_BITS_EXT 0x201E -#define WGL_ACCUM_GREEN_BITS_EXT 0x201F -#define WGL_ACCUM_BLUE_BITS_EXT 0x2020 -#define WGL_ACCUM_ALPHA_BITS_EXT 0x2021 -#define WGL_DEPTH_BITS_EXT 0x2022 -#define WGL_STENCIL_BITS_EXT 0x2023 -#define WGL_AUX_BUFFERS_EXT 0x2024 -#define WGL_NO_ACCELERATION_EXT 0x2025 -#define WGL_GENERIC_ACCELERATION_EXT 0x2026 -#define WGL_FULL_ACCELERATION_EXT 0x2027 -#define WGL_SWAP_EXCHANGE_EXT 0x2028 -#define WGL_SWAP_COPY_EXT 0x2029 -#define WGL_SWAP_UNDEFINED_EXT 0x202A -#define WGL_TYPE_RGBA_EXT 0x202B -#define WGL_TYPE_COLORINDEX_EXT 0x202C - -typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC) (HDC hdc, const int* piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); -typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int* piAttributes, FLOAT *pfValues); -typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int* piAttributes, int *piValues); - -#define wglChoosePixelFormatEXT WGLEW_GET_FUN(__wglewChoosePixelFormatEXT) -#define wglGetPixelFormatAttribfvEXT WGLEW_GET_FUN(__wglewGetPixelFormatAttribfvEXT) -#define wglGetPixelFormatAttribivEXT WGLEW_GET_FUN(__wglewGetPixelFormatAttribivEXT) - -#define WGLEW_EXT_pixel_format WGLEW_GET_VAR(__WGLEW_EXT_pixel_format) - -#endif /* WGL_EXT_pixel_format */ - -/* ------------------- WGL_EXT_pixel_format_packed_float ------------------- */ - -#ifndef WGL_EXT_pixel_format_packed_float -#define WGL_EXT_pixel_format_packed_float 1 - -#define WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8 - -#define WGLEW_EXT_pixel_format_packed_float WGLEW_GET_VAR(__WGLEW_EXT_pixel_format_packed_float) - -#endif /* WGL_EXT_pixel_format_packed_float */ - -/* -------------------------- WGL_EXT_swap_control ------------------------- */ - -#ifndef WGL_EXT_swap_control -#define WGL_EXT_swap_control 1 - -typedef int (WINAPI * PFNWGLGETSWAPINTERVALEXTPROC) (void); -typedef BOOL (WINAPI * PFNWGLSWAPINTERVALEXTPROC) (int interval); - -#define wglGetSwapIntervalEXT WGLEW_GET_FUN(__wglewGetSwapIntervalEXT) -#define wglSwapIntervalEXT WGLEW_GET_FUN(__wglewSwapIntervalEXT) - -#define WGLEW_EXT_swap_control WGLEW_GET_VAR(__WGLEW_EXT_swap_control) - -#endif /* WGL_EXT_swap_control */ - -/* ----------------------- WGL_EXT_swap_control_tear ----------------------- */ - -#ifndef WGL_EXT_swap_control_tear -#define WGL_EXT_swap_control_tear 1 - -#define WGLEW_EXT_swap_control_tear WGLEW_GET_VAR(__WGLEW_EXT_swap_control_tear) - -#endif /* WGL_EXT_swap_control_tear */ - -/* --------------------- WGL_I3D_digital_video_control --------------------- */ - -#ifndef WGL_I3D_digital_video_control -#define WGL_I3D_digital_video_control 1 - -#define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050 -#define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051 -#define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052 -#define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053 - -typedef BOOL (WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int* piValue); -typedef BOOL (WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int* piValue); - -#define wglGetDigitalVideoParametersI3D WGLEW_GET_FUN(__wglewGetDigitalVideoParametersI3D) -#define wglSetDigitalVideoParametersI3D WGLEW_GET_FUN(__wglewSetDigitalVideoParametersI3D) - -#define WGLEW_I3D_digital_video_control WGLEW_GET_VAR(__WGLEW_I3D_digital_video_control) - -#endif /* WGL_I3D_digital_video_control */ - -/* ----------------------------- WGL_I3D_gamma ----------------------------- */ - -#ifndef WGL_I3D_gamma -#define WGL_I3D_gamma 1 - -#define WGL_GAMMA_TABLE_SIZE_I3D 0x204E -#define WGL_GAMMA_EXCLUDE_DESKTOP_I3D 0x204F - -typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, USHORT* puRed, USHORT *puGreen, USHORT *puBlue); -typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int* piValue); -typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, const USHORT* puRed, const USHORT *puGreen, const USHORT *puBlue); -typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int* piValue); - -#define wglGetGammaTableI3D WGLEW_GET_FUN(__wglewGetGammaTableI3D) -#define wglGetGammaTableParametersI3D WGLEW_GET_FUN(__wglewGetGammaTableParametersI3D) -#define wglSetGammaTableI3D WGLEW_GET_FUN(__wglewSetGammaTableI3D) -#define wglSetGammaTableParametersI3D WGLEW_GET_FUN(__wglewSetGammaTableParametersI3D) - -#define WGLEW_I3D_gamma WGLEW_GET_VAR(__WGLEW_I3D_gamma) - -#endif /* WGL_I3D_gamma */ - -/* ---------------------------- WGL_I3D_genlock ---------------------------- */ - -#ifndef WGL_I3D_genlock -#define WGL_I3D_genlock 1 - -#define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044 -#define WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D 0x2045 -#define WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D 0x2046 -#define WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D 0x2047 -#define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048 -#define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049 -#define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A -#define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B -#define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C - -typedef BOOL (WINAPI * PFNWGLDISABLEGENLOCKI3DPROC) (HDC hDC); -typedef BOOL (WINAPI * PFNWGLENABLEGENLOCKI3DPROC) (HDC hDC); -typedef BOOL (WINAPI * PFNWGLGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT uRate); -typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT uDelay); -typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT uEdge); -typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEI3DPROC) (HDC hDC, UINT uSource); -typedef BOOL (WINAPI * PFNWGLGETGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT* uRate); -typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT* uDelay); -typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT* uEdge); -typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEI3DPROC) (HDC hDC, UINT* uSource); -typedef BOOL (WINAPI * PFNWGLISENABLEDGENLOCKI3DPROC) (HDC hDC, BOOL* pFlag); -typedef BOOL (WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC) (HDC hDC, UINT* uMaxLineDelay, UINT *uMaxPixelDelay); - -#define wglDisableGenlockI3D WGLEW_GET_FUN(__wglewDisableGenlockI3D) -#define wglEnableGenlockI3D WGLEW_GET_FUN(__wglewEnableGenlockI3D) -#define wglGenlockSampleRateI3D WGLEW_GET_FUN(__wglewGenlockSampleRateI3D) -#define wglGenlockSourceDelayI3D WGLEW_GET_FUN(__wglewGenlockSourceDelayI3D) -#define wglGenlockSourceEdgeI3D WGLEW_GET_FUN(__wglewGenlockSourceEdgeI3D) -#define wglGenlockSourceI3D WGLEW_GET_FUN(__wglewGenlockSourceI3D) -#define wglGetGenlockSampleRateI3D WGLEW_GET_FUN(__wglewGetGenlockSampleRateI3D) -#define wglGetGenlockSourceDelayI3D WGLEW_GET_FUN(__wglewGetGenlockSourceDelayI3D) -#define wglGetGenlockSourceEdgeI3D WGLEW_GET_FUN(__wglewGetGenlockSourceEdgeI3D) -#define wglGetGenlockSourceI3D WGLEW_GET_FUN(__wglewGetGenlockSourceI3D) -#define wglIsEnabledGenlockI3D WGLEW_GET_FUN(__wglewIsEnabledGenlockI3D) -#define wglQueryGenlockMaxSourceDelayI3D WGLEW_GET_FUN(__wglewQueryGenlockMaxSourceDelayI3D) - -#define WGLEW_I3D_genlock WGLEW_GET_VAR(__WGLEW_I3D_genlock) - -#endif /* WGL_I3D_genlock */ - -/* -------------------------- WGL_I3D_image_buffer ------------------------- */ - -#ifndef WGL_I3D_image_buffer -#define WGL_I3D_image_buffer 1 - -#define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001 -#define WGL_IMAGE_BUFFER_LOCK_I3D 0x00000002 - -typedef BOOL (WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC) (HDC hdc, HANDLE* pEvent, LPVOID *pAddress, DWORD *pSize, UINT count); -typedef LPVOID (WINAPI * PFNWGLCREATEIMAGEBUFFERI3DPROC) (HDC hDC, DWORD dwSize, UINT uFlags); -typedef BOOL (WINAPI * PFNWGLDESTROYIMAGEBUFFERI3DPROC) (HDC hDC, LPVOID pAddress); -typedef BOOL (WINAPI * PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC) (HDC hdc, LPVOID* pAddress, UINT count); - -#define wglAssociateImageBufferEventsI3D WGLEW_GET_FUN(__wglewAssociateImageBufferEventsI3D) -#define wglCreateImageBufferI3D WGLEW_GET_FUN(__wglewCreateImageBufferI3D) -#define wglDestroyImageBufferI3D WGLEW_GET_FUN(__wglewDestroyImageBufferI3D) -#define wglReleaseImageBufferEventsI3D WGLEW_GET_FUN(__wglewReleaseImageBufferEventsI3D) - -#define WGLEW_I3D_image_buffer WGLEW_GET_VAR(__WGLEW_I3D_image_buffer) - -#endif /* WGL_I3D_image_buffer */ - -/* ------------------------ WGL_I3D_swap_frame_lock ------------------------ */ - -#ifndef WGL_I3D_swap_frame_lock -#define WGL_I3D_swap_frame_lock 1 - -typedef BOOL (WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC) (VOID); -typedef BOOL (WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC) (VOID); -typedef BOOL (WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC) (BOOL* pFlag); -typedef BOOL (WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC) (BOOL* pFlag); - -#define wglDisableFrameLockI3D WGLEW_GET_FUN(__wglewDisableFrameLockI3D) -#define wglEnableFrameLockI3D WGLEW_GET_FUN(__wglewEnableFrameLockI3D) -#define wglIsEnabledFrameLockI3D WGLEW_GET_FUN(__wglewIsEnabledFrameLockI3D) -#define wglQueryFrameLockMasterI3D WGLEW_GET_FUN(__wglewQueryFrameLockMasterI3D) - -#define WGLEW_I3D_swap_frame_lock WGLEW_GET_VAR(__WGLEW_I3D_swap_frame_lock) - -#endif /* WGL_I3D_swap_frame_lock */ - -/* ------------------------ WGL_I3D_swap_frame_usage ----------------------- */ - -#ifndef WGL_I3D_swap_frame_usage -#define WGL_I3D_swap_frame_usage 1 - -typedef BOOL (WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC) (void); -typedef BOOL (WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC) (void); -typedef BOOL (WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC) (float* pUsage); -typedef BOOL (WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC) (DWORD* pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage); - -#define wglBeginFrameTrackingI3D WGLEW_GET_FUN(__wglewBeginFrameTrackingI3D) -#define wglEndFrameTrackingI3D WGLEW_GET_FUN(__wglewEndFrameTrackingI3D) -#define wglGetFrameUsageI3D WGLEW_GET_FUN(__wglewGetFrameUsageI3D) -#define wglQueryFrameTrackingI3D WGLEW_GET_FUN(__wglewQueryFrameTrackingI3D) - -#define WGLEW_I3D_swap_frame_usage WGLEW_GET_VAR(__WGLEW_I3D_swap_frame_usage) - -#endif /* WGL_I3D_swap_frame_usage */ - -/* --------------------------- WGL_NV_DX_interop --------------------------- */ - -#ifndef WGL_NV_DX_interop -#define WGL_NV_DX_interop 1 - -#define WGL_ACCESS_READ_ONLY_NV 0x0000 -#define WGL_ACCESS_READ_WRITE_NV 0x0001 -#define WGL_ACCESS_WRITE_DISCARD_NV 0x0002 - -typedef BOOL (WINAPI * PFNWGLDXCLOSEDEVICENVPROC) (HANDLE hDevice); -typedef BOOL (WINAPI * PFNWGLDXLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE* hObjects); -typedef BOOL (WINAPI * PFNWGLDXOBJECTACCESSNVPROC) (HANDLE hObject, GLenum access); -typedef HANDLE (WINAPI * PFNWGLDXOPENDEVICENVPROC) (void* dxDevice); -typedef HANDLE (WINAPI * PFNWGLDXREGISTEROBJECTNVPROC) (HANDLE hDevice, void* dxObject, GLuint name, GLenum type, GLenum access); -typedef BOOL (WINAPI * PFNWGLDXSETRESOURCESHAREHANDLENVPROC) (void* dxObject, HANDLE shareHandle); -typedef BOOL (WINAPI * PFNWGLDXUNLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE* hObjects); -typedef BOOL (WINAPI * PFNWGLDXUNREGISTEROBJECTNVPROC) (HANDLE hDevice, HANDLE hObject); - -#define wglDXCloseDeviceNV WGLEW_GET_FUN(__wglewDXCloseDeviceNV) -#define wglDXLockObjectsNV WGLEW_GET_FUN(__wglewDXLockObjectsNV) -#define wglDXObjectAccessNV WGLEW_GET_FUN(__wglewDXObjectAccessNV) -#define wglDXOpenDeviceNV WGLEW_GET_FUN(__wglewDXOpenDeviceNV) -#define wglDXRegisterObjectNV WGLEW_GET_FUN(__wglewDXRegisterObjectNV) -#define wglDXSetResourceShareHandleNV WGLEW_GET_FUN(__wglewDXSetResourceShareHandleNV) -#define wglDXUnlockObjectsNV WGLEW_GET_FUN(__wglewDXUnlockObjectsNV) -#define wglDXUnregisterObjectNV WGLEW_GET_FUN(__wglewDXUnregisterObjectNV) - -#define WGLEW_NV_DX_interop WGLEW_GET_VAR(__WGLEW_NV_DX_interop) - -#endif /* WGL_NV_DX_interop */ - -/* --------------------------- WGL_NV_DX_interop2 -------------------------- */ - -#ifndef WGL_NV_DX_interop2 -#define WGL_NV_DX_interop2 1 - -#define WGLEW_NV_DX_interop2 WGLEW_GET_VAR(__WGLEW_NV_DX_interop2) - -#endif /* WGL_NV_DX_interop2 */ - -/* --------------------------- WGL_NV_copy_image --------------------------- */ - -#ifndef WGL_NV_copy_image -#define WGL_NV_copy_image 1 - -typedef BOOL (WINAPI * PFNWGLCOPYIMAGESUBDATANVPROC) (HGLRC hSrcRC, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, HGLRC hDstRC, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); - -#define wglCopyImageSubDataNV WGLEW_GET_FUN(__wglewCopyImageSubDataNV) - -#define WGLEW_NV_copy_image WGLEW_GET_VAR(__WGLEW_NV_copy_image) - -#endif /* WGL_NV_copy_image */ - -/* -------------------------- WGL_NV_float_buffer -------------------------- */ - -#ifndef WGL_NV_float_buffer -#define WGL_NV_float_buffer 1 - -#define WGL_FLOAT_COMPONENTS_NV 0x20B0 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4 -#define WGL_TEXTURE_FLOAT_R_NV 0x20B5 -#define WGL_TEXTURE_FLOAT_RG_NV 0x20B6 -#define WGL_TEXTURE_FLOAT_RGB_NV 0x20B7 -#define WGL_TEXTURE_FLOAT_RGBA_NV 0x20B8 - -#define WGLEW_NV_float_buffer WGLEW_GET_VAR(__WGLEW_NV_float_buffer) - -#endif /* WGL_NV_float_buffer */ - -/* -------------------------- WGL_NV_gpu_affinity -------------------------- */ - -#ifndef WGL_NV_gpu_affinity -#define WGL_NV_gpu_affinity 1 - -#define WGL_ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0 -#define WGL_ERROR_MISSING_AFFINITY_MASK_NV 0x20D1 - -DECLARE_HANDLE(HGPUNV); -typedef struct _GPU_DEVICE { - DWORD cb; - CHAR DeviceName[32]; - CHAR DeviceString[128]; - DWORD Flags; - RECT rcVirtualScreen; -} GPU_DEVICE, *PGPU_DEVICE; - -typedef HDC (WINAPI * PFNWGLCREATEAFFINITYDCNVPROC) (const HGPUNV *phGpuList); -typedef BOOL (WINAPI * PFNWGLDELETEDCNVPROC) (HDC hdc); -typedef BOOL (WINAPI * PFNWGLENUMGPUDEVICESNVPROC) (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice); -typedef BOOL (WINAPI * PFNWGLENUMGPUSFROMAFFINITYDCNVPROC) (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu); -typedef BOOL (WINAPI * PFNWGLENUMGPUSNVPROC) (UINT iGpuIndex, HGPUNV *phGpu); - -#define wglCreateAffinityDCNV WGLEW_GET_FUN(__wglewCreateAffinityDCNV) -#define wglDeleteDCNV WGLEW_GET_FUN(__wglewDeleteDCNV) -#define wglEnumGpuDevicesNV WGLEW_GET_FUN(__wglewEnumGpuDevicesNV) -#define wglEnumGpusFromAffinityDCNV WGLEW_GET_FUN(__wglewEnumGpusFromAffinityDCNV) -#define wglEnumGpusNV WGLEW_GET_FUN(__wglewEnumGpusNV) - -#define WGLEW_NV_gpu_affinity WGLEW_GET_VAR(__WGLEW_NV_gpu_affinity) - -#endif /* WGL_NV_gpu_affinity */ - -/* ---------------------- WGL_NV_multisample_coverage ---------------------- */ - -#ifndef WGL_NV_multisample_coverage -#define WGL_NV_multisample_coverage 1 - -#define WGL_COVERAGE_SAMPLES_NV 0x2042 -#define WGL_COLOR_SAMPLES_NV 0x20B9 - -#define WGLEW_NV_multisample_coverage WGLEW_GET_VAR(__WGLEW_NV_multisample_coverage) - -#endif /* WGL_NV_multisample_coverage */ - -/* -------------------------- WGL_NV_present_video ------------------------- */ - -#ifndef WGL_NV_present_video -#define WGL_NV_present_video 1 - -#define WGL_NUM_VIDEO_SLOTS_NV 0x20F0 - -DECLARE_HANDLE(HVIDEOOUTPUTDEVICENV); - -typedef BOOL (WINAPI * PFNWGLBINDVIDEODEVICENVPROC) (HDC hDc, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int* piAttribList); -typedef int (WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC) (HDC hDc, HVIDEOOUTPUTDEVICENV* phDeviceList); -typedef BOOL (WINAPI * PFNWGLQUERYCURRENTCONTEXTNVPROC) (int iAttribute, int* piValue); - -#define wglBindVideoDeviceNV WGLEW_GET_FUN(__wglewBindVideoDeviceNV) -#define wglEnumerateVideoDevicesNV WGLEW_GET_FUN(__wglewEnumerateVideoDevicesNV) -#define wglQueryCurrentContextNV WGLEW_GET_FUN(__wglewQueryCurrentContextNV) - -#define WGLEW_NV_present_video WGLEW_GET_VAR(__WGLEW_NV_present_video) - -#endif /* WGL_NV_present_video */ - -/* ---------------------- WGL_NV_render_depth_texture ---------------------- */ - -#ifndef WGL_NV_render_depth_texture -#define WGL_NV_render_depth_texture 1 - -#define WGL_NO_TEXTURE_ARB 0x2077 -#define WGL_BIND_TO_TEXTURE_DEPTH_NV 0x20A3 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4 -#define WGL_DEPTH_TEXTURE_FORMAT_NV 0x20A5 -#define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6 -#define WGL_DEPTH_COMPONENT_NV 0x20A7 - -#define WGLEW_NV_render_depth_texture WGLEW_GET_VAR(__WGLEW_NV_render_depth_texture) - -#endif /* WGL_NV_render_depth_texture */ - -/* -------------------- WGL_NV_render_texture_rectangle -------------------- */ - -#ifndef WGL_NV_render_texture_rectangle -#define WGL_NV_render_texture_rectangle 1 - -#define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1 -#define WGL_TEXTURE_RECTANGLE_NV 0x20A2 - -#define WGLEW_NV_render_texture_rectangle WGLEW_GET_VAR(__WGLEW_NV_render_texture_rectangle) - -#endif /* WGL_NV_render_texture_rectangle */ - -/* --------------------------- WGL_NV_swap_group --------------------------- */ - -#ifndef WGL_NV_swap_group -#define WGL_NV_swap_group 1 - -typedef BOOL (WINAPI * PFNWGLBINDSWAPBARRIERNVPROC) (GLuint group, GLuint barrier); -typedef BOOL (WINAPI * PFNWGLJOINSWAPGROUPNVPROC) (HDC hDC, GLuint group); -typedef BOOL (WINAPI * PFNWGLQUERYFRAMECOUNTNVPROC) (HDC hDC, GLuint* count); -typedef BOOL (WINAPI * PFNWGLQUERYMAXSWAPGROUPSNVPROC) (HDC hDC, GLuint* maxGroups, GLuint *maxBarriers); -typedef BOOL (WINAPI * PFNWGLQUERYSWAPGROUPNVPROC) (HDC hDC, GLuint* group, GLuint *barrier); -typedef BOOL (WINAPI * PFNWGLRESETFRAMECOUNTNVPROC) (HDC hDC); - -#define wglBindSwapBarrierNV WGLEW_GET_FUN(__wglewBindSwapBarrierNV) -#define wglJoinSwapGroupNV WGLEW_GET_FUN(__wglewJoinSwapGroupNV) -#define wglQueryFrameCountNV WGLEW_GET_FUN(__wglewQueryFrameCountNV) -#define wglQueryMaxSwapGroupsNV WGLEW_GET_FUN(__wglewQueryMaxSwapGroupsNV) -#define wglQuerySwapGroupNV WGLEW_GET_FUN(__wglewQuerySwapGroupNV) -#define wglResetFrameCountNV WGLEW_GET_FUN(__wglewResetFrameCountNV) - -#define WGLEW_NV_swap_group WGLEW_GET_VAR(__WGLEW_NV_swap_group) - -#endif /* WGL_NV_swap_group */ - -/* ----------------------- WGL_NV_vertex_array_range ----------------------- */ - -#ifndef WGL_NV_vertex_array_range -#define WGL_NV_vertex_array_range 1 - -typedef void * (WINAPI * PFNWGLALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority); -typedef void (WINAPI * PFNWGLFREEMEMORYNVPROC) (void *pointer); - -#define wglAllocateMemoryNV WGLEW_GET_FUN(__wglewAllocateMemoryNV) -#define wglFreeMemoryNV WGLEW_GET_FUN(__wglewFreeMemoryNV) - -#define WGLEW_NV_vertex_array_range WGLEW_GET_VAR(__WGLEW_NV_vertex_array_range) - -#endif /* WGL_NV_vertex_array_range */ - -/* -------------------------- WGL_NV_video_capture ------------------------- */ - -#ifndef WGL_NV_video_capture -#define WGL_NV_video_capture 1 - -#define WGL_UNIQUE_ID_NV 0x20CE -#define WGL_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF - -DECLARE_HANDLE(HVIDEOINPUTDEVICENV); - -typedef BOOL (WINAPI * PFNWGLBINDVIDEOCAPTUREDEVICENVPROC) (UINT uVideoSlot, HVIDEOINPUTDEVICENV hDevice); -typedef UINT (WINAPI * PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC) (HDC hDc, HVIDEOINPUTDEVICENV* phDeviceList); -typedef BOOL (WINAPI * PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice); -typedef BOOL (WINAPI * PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice, int iAttribute, int* piValue); -typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice); - -#define wglBindVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewBindVideoCaptureDeviceNV) -#define wglEnumerateVideoCaptureDevicesNV WGLEW_GET_FUN(__wglewEnumerateVideoCaptureDevicesNV) -#define wglLockVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewLockVideoCaptureDeviceNV) -#define wglQueryVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewQueryVideoCaptureDeviceNV) -#define wglReleaseVideoCaptureDeviceNV WGLEW_GET_FUN(__wglewReleaseVideoCaptureDeviceNV) - -#define WGLEW_NV_video_capture WGLEW_GET_VAR(__WGLEW_NV_video_capture) - -#endif /* WGL_NV_video_capture */ - -/* -------------------------- WGL_NV_video_output -------------------------- */ - -#ifndef WGL_NV_video_output -#define WGL_NV_video_output 1 - -#define WGL_BIND_TO_VIDEO_RGB_NV 0x20C0 -#define WGL_BIND_TO_VIDEO_RGBA_NV 0x20C1 -#define WGL_BIND_TO_VIDEO_RGB_AND_DEPTH_NV 0x20C2 -#define WGL_VIDEO_OUT_COLOR_NV 0x20C3 -#define WGL_VIDEO_OUT_ALPHA_NV 0x20C4 -#define WGL_VIDEO_OUT_DEPTH_NV 0x20C5 -#define WGL_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6 -#define WGL_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7 -#define WGL_VIDEO_OUT_FRAME 0x20C8 -#define WGL_VIDEO_OUT_FIELD_1 0x20C9 -#define WGL_VIDEO_OUT_FIELD_2 0x20CA -#define WGL_VIDEO_OUT_STACKED_FIELDS_1_2 0x20CB -#define WGL_VIDEO_OUT_STACKED_FIELDS_2_1 0x20CC - -DECLARE_HANDLE(HPVIDEODEV); - -typedef BOOL (WINAPI * PFNWGLBINDVIDEOIMAGENVPROC) (HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer); -typedef BOOL (WINAPI * PFNWGLGETVIDEODEVICENVPROC) (HDC hDC, int numDevices, HPVIDEODEV* hVideoDevice); -typedef BOOL (WINAPI * PFNWGLGETVIDEOINFONVPROC) (HPVIDEODEV hpVideoDevice, unsigned long* pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo); -typedef BOOL (WINAPI * PFNWGLRELEASEVIDEODEVICENVPROC) (HPVIDEODEV hVideoDevice); -typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOIMAGENVPROC) (HPBUFFERARB hPbuffer, int iVideoBuffer); -typedef BOOL (WINAPI * PFNWGLSENDPBUFFERTOVIDEONVPROC) (HPBUFFERARB hPbuffer, int iBufferType, unsigned long* pulCounterPbuffer, BOOL bBlock); - -#define wglBindVideoImageNV WGLEW_GET_FUN(__wglewBindVideoImageNV) -#define wglGetVideoDeviceNV WGLEW_GET_FUN(__wglewGetVideoDeviceNV) -#define wglGetVideoInfoNV WGLEW_GET_FUN(__wglewGetVideoInfoNV) -#define wglReleaseVideoDeviceNV WGLEW_GET_FUN(__wglewReleaseVideoDeviceNV) -#define wglReleaseVideoImageNV WGLEW_GET_FUN(__wglewReleaseVideoImageNV) -#define wglSendPbufferToVideoNV WGLEW_GET_FUN(__wglewSendPbufferToVideoNV) - -#define WGLEW_NV_video_output WGLEW_GET_VAR(__WGLEW_NV_video_output) - -#endif /* WGL_NV_video_output */ - -/* -------------------------- WGL_OML_sync_control ------------------------- */ - -#ifndef WGL_OML_sync_control -#define WGL_OML_sync_control 1 - -typedef BOOL (WINAPI * PFNWGLGETMSCRATEOMLPROC) (HDC hdc, INT32* numerator, INT32 *denominator); -typedef BOOL (WINAPI * PFNWGLGETSYNCVALUESOMLPROC) (HDC hdc, INT64* ust, INT64 *msc, INT64 *sbc); -typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder); -typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) (HDC hdc, INT fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder); -typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64* ust, INT64 *msc, INT64 *sbc); -typedef BOOL (WINAPI * PFNWGLWAITFORSBCOMLPROC) (HDC hdc, INT64 target_sbc, INT64* ust, INT64 *msc, INT64 *sbc); - -#define wglGetMscRateOML WGLEW_GET_FUN(__wglewGetMscRateOML) -#define wglGetSyncValuesOML WGLEW_GET_FUN(__wglewGetSyncValuesOML) -#define wglSwapBuffersMscOML WGLEW_GET_FUN(__wglewSwapBuffersMscOML) -#define wglSwapLayerBuffersMscOML WGLEW_GET_FUN(__wglewSwapLayerBuffersMscOML) -#define wglWaitForMscOML WGLEW_GET_FUN(__wglewWaitForMscOML) -#define wglWaitForSbcOML WGLEW_GET_FUN(__wglewWaitForSbcOML) - -#define WGLEW_OML_sync_control WGLEW_GET_VAR(__WGLEW_OML_sync_control) - -#endif /* WGL_OML_sync_control */ - -/* ------------------------------------------------------------------------- */ - -#ifdef GLEW_MX -#define WGLEW_FUN_EXPORT -#define WGLEW_VAR_EXPORT -#else -#define WGLEW_FUN_EXPORT GLEW_FUN_EXPORT -#define WGLEW_VAR_EXPORT GLEW_VAR_EXPORT -#endif /* GLEW_MX */ - -#ifdef GLEW_MX -struct WGLEWContextStruct -{ -#endif /* GLEW_MX */ - -WGLEW_FUN_EXPORT PFNWGLSETSTEREOEMITTERSTATE3DLPROC __wglewSetStereoEmitterState3DL; - -WGLEW_FUN_EXPORT PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC __wglewBlitContextFramebufferAMD; -WGLEW_FUN_EXPORT PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC __wglewCreateAssociatedContextAMD; -WGLEW_FUN_EXPORT PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC __wglewCreateAssociatedContextAttribsAMD; -WGLEW_FUN_EXPORT PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC __wglewDeleteAssociatedContextAMD; -WGLEW_FUN_EXPORT PFNWGLGETCONTEXTGPUIDAMDPROC __wglewGetContextGPUIDAMD; -WGLEW_FUN_EXPORT PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC __wglewGetCurrentAssociatedContextAMD; -WGLEW_FUN_EXPORT PFNWGLGETGPUIDSAMDPROC __wglewGetGPUIDsAMD; -WGLEW_FUN_EXPORT PFNWGLGETGPUINFOAMDPROC __wglewGetGPUInfoAMD; -WGLEW_FUN_EXPORT PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC __wglewMakeAssociatedContextCurrentAMD; - -WGLEW_FUN_EXPORT PFNWGLCREATEBUFFERREGIONARBPROC __wglewCreateBufferRegionARB; -WGLEW_FUN_EXPORT PFNWGLDELETEBUFFERREGIONARBPROC __wglewDeleteBufferRegionARB; -WGLEW_FUN_EXPORT PFNWGLRESTOREBUFFERREGIONARBPROC __wglewRestoreBufferRegionARB; -WGLEW_FUN_EXPORT PFNWGLSAVEBUFFERREGIONARBPROC __wglewSaveBufferRegionARB; - -WGLEW_FUN_EXPORT PFNWGLCREATECONTEXTATTRIBSARBPROC __wglewCreateContextAttribsARB; - -WGLEW_FUN_EXPORT PFNWGLGETEXTENSIONSSTRINGARBPROC __wglewGetExtensionsStringARB; - -WGLEW_FUN_EXPORT PFNWGLGETCURRENTREADDCARBPROC __wglewGetCurrentReadDCARB; -WGLEW_FUN_EXPORT PFNWGLMAKECONTEXTCURRENTARBPROC __wglewMakeContextCurrentARB; - -WGLEW_FUN_EXPORT PFNWGLCREATEPBUFFERARBPROC __wglewCreatePbufferARB; -WGLEW_FUN_EXPORT PFNWGLDESTROYPBUFFERARBPROC __wglewDestroyPbufferARB; -WGLEW_FUN_EXPORT PFNWGLGETPBUFFERDCARBPROC __wglewGetPbufferDCARB; -WGLEW_FUN_EXPORT PFNWGLQUERYPBUFFERARBPROC __wglewQueryPbufferARB; -WGLEW_FUN_EXPORT PFNWGLRELEASEPBUFFERDCARBPROC __wglewReleasePbufferDCARB; - -WGLEW_FUN_EXPORT PFNWGLCHOOSEPIXELFORMATARBPROC __wglewChoosePixelFormatARB; -WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBFVARBPROC __wglewGetPixelFormatAttribfvARB; -WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBIVARBPROC __wglewGetPixelFormatAttribivARB; - -WGLEW_FUN_EXPORT PFNWGLBINDTEXIMAGEARBPROC __wglewBindTexImageARB; -WGLEW_FUN_EXPORT PFNWGLRELEASETEXIMAGEARBPROC __wglewReleaseTexImageARB; -WGLEW_FUN_EXPORT PFNWGLSETPBUFFERATTRIBARBPROC __wglewSetPbufferAttribARB; - -WGLEW_FUN_EXPORT PFNWGLBINDDISPLAYCOLORTABLEEXTPROC __wglewBindDisplayColorTableEXT; -WGLEW_FUN_EXPORT PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC __wglewCreateDisplayColorTableEXT; -WGLEW_FUN_EXPORT PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC __wglewDestroyDisplayColorTableEXT; -WGLEW_FUN_EXPORT PFNWGLLOADDISPLAYCOLORTABLEEXTPROC __wglewLoadDisplayColorTableEXT; - -WGLEW_FUN_EXPORT PFNWGLGETEXTENSIONSSTRINGEXTPROC __wglewGetExtensionsStringEXT; - -WGLEW_FUN_EXPORT PFNWGLGETCURRENTREADDCEXTPROC __wglewGetCurrentReadDCEXT; -WGLEW_FUN_EXPORT PFNWGLMAKECONTEXTCURRENTEXTPROC __wglewMakeContextCurrentEXT; - -WGLEW_FUN_EXPORT PFNWGLCREATEPBUFFEREXTPROC __wglewCreatePbufferEXT; -WGLEW_FUN_EXPORT PFNWGLDESTROYPBUFFEREXTPROC __wglewDestroyPbufferEXT; -WGLEW_FUN_EXPORT PFNWGLGETPBUFFERDCEXTPROC __wglewGetPbufferDCEXT; -WGLEW_FUN_EXPORT PFNWGLQUERYPBUFFEREXTPROC __wglewQueryPbufferEXT; -WGLEW_FUN_EXPORT PFNWGLRELEASEPBUFFERDCEXTPROC __wglewReleasePbufferDCEXT; - -WGLEW_FUN_EXPORT PFNWGLCHOOSEPIXELFORMATEXTPROC __wglewChoosePixelFormatEXT; -WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBFVEXTPROC __wglewGetPixelFormatAttribfvEXT; -WGLEW_FUN_EXPORT PFNWGLGETPIXELFORMATATTRIBIVEXTPROC __wglewGetPixelFormatAttribivEXT; - -WGLEW_FUN_EXPORT PFNWGLGETSWAPINTERVALEXTPROC __wglewGetSwapIntervalEXT; -WGLEW_FUN_EXPORT PFNWGLSWAPINTERVALEXTPROC __wglewSwapIntervalEXT; - -WGLEW_FUN_EXPORT PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC __wglewGetDigitalVideoParametersI3D; -WGLEW_FUN_EXPORT PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC __wglewSetDigitalVideoParametersI3D; - -WGLEW_FUN_EXPORT PFNWGLGETGAMMATABLEI3DPROC __wglewGetGammaTableI3D; -WGLEW_FUN_EXPORT PFNWGLGETGAMMATABLEPARAMETERSI3DPROC __wglewGetGammaTableParametersI3D; -WGLEW_FUN_EXPORT PFNWGLSETGAMMATABLEI3DPROC __wglewSetGammaTableI3D; -WGLEW_FUN_EXPORT PFNWGLSETGAMMATABLEPARAMETERSI3DPROC __wglewSetGammaTableParametersI3D; - -WGLEW_FUN_EXPORT PFNWGLDISABLEGENLOCKI3DPROC __wglewDisableGenlockI3D; -WGLEW_FUN_EXPORT PFNWGLENABLEGENLOCKI3DPROC __wglewEnableGenlockI3D; -WGLEW_FUN_EXPORT PFNWGLGENLOCKSAMPLERATEI3DPROC __wglewGenlockSampleRateI3D; -WGLEW_FUN_EXPORT PFNWGLGENLOCKSOURCEDELAYI3DPROC __wglewGenlockSourceDelayI3D; -WGLEW_FUN_EXPORT PFNWGLGENLOCKSOURCEEDGEI3DPROC __wglewGenlockSourceEdgeI3D; -WGLEW_FUN_EXPORT PFNWGLGENLOCKSOURCEI3DPROC __wglewGenlockSourceI3D; -WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSAMPLERATEI3DPROC __wglewGetGenlockSampleRateI3D; -WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSOURCEDELAYI3DPROC __wglewGetGenlockSourceDelayI3D; -WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSOURCEEDGEI3DPROC __wglewGetGenlockSourceEdgeI3D; -WGLEW_FUN_EXPORT PFNWGLGETGENLOCKSOURCEI3DPROC __wglewGetGenlockSourceI3D; -WGLEW_FUN_EXPORT PFNWGLISENABLEDGENLOCKI3DPROC __wglewIsEnabledGenlockI3D; -WGLEW_FUN_EXPORT PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC __wglewQueryGenlockMaxSourceDelayI3D; - -WGLEW_FUN_EXPORT PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC __wglewAssociateImageBufferEventsI3D; -WGLEW_FUN_EXPORT PFNWGLCREATEIMAGEBUFFERI3DPROC __wglewCreateImageBufferI3D; -WGLEW_FUN_EXPORT PFNWGLDESTROYIMAGEBUFFERI3DPROC __wglewDestroyImageBufferI3D; -WGLEW_FUN_EXPORT PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC __wglewReleaseImageBufferEventsI3D; - -WGLEW_FUN_EXPORT PFNWGLDISABLEFRAMELOCKI3DPROC __wglewDisableFrameLockI3D; -WGLEW_FUN_EXPORT PFNWGLENABLEFRAMELOCKI3DPROC __wglewEnableFrameLockI3D; -WGLEW_FUN_EXPORT PFNWGLISENABLEDFRAMELOCKI3DPROC __wglewIsEnabledFrameLockI3D; -WGLEW_FUN_EXPORT PFNWGLQUERYFRAMELOCKMASTERI3DPROC __wglewQueryFrameLockMasterI3D; - -WGLEW_FUN_EXPORT PFNWGLBEGINFRAMETRACKINGI3DPROC __wglewBeginFrameTrackingI3D; -WGLEW_FUN_EXPORT PFNWGLENDFRAMETRACKINGI3DPROC __wglewEndFrameTrackingI3D; -WGLEW_FUN_EXPORT PFNWGLGETFRAMEUSAGEI3DPROC __wglewGetFrameUsageI3D; -WGLEW_FUN_EXPORT PFNWGLQUERYFRAMETRACKINGI3DPROC __wglewQueryFrameTrackingI3D; - -WGLEW_FUN_EXPORT PFNWGLDXCLOSEDEVICENVPROC __wglewDXCloseDeviceNV; -WGLEW_FUN_EXPORT PFNWGLDXLOCKOBJECTSNVPROC __wglewDXLockObjectsNV; -WGLEW_FUN_EXPORT PFNWGLDXOBJECTACCESSNVPROC __wglewDXObjectAccessNV; -WGLEW_FUN_EXPORT PFNWGLDXOPENDEVICENVPROC __wglewDXOpenDeviceNV; -WGLEW_FUN_EXPORT PFNWGLDXREGISTEROBJECTNVPROC __wglewDXRegisterObjectNV; -WGLEW_FUN_EXPORT PFNWGLDXSETRESOURCESHAREHANDLENVPROC __wglewDXSetResourceShareHandleNV; -WGLEW_FUN_EXPORT PFNWGLDXUNLOCKOBJECTSNVPROC __wglewDXUnlockObjectsNV; -WGLEW_FUN_EXPORT PFNWGLDXUNREGISTEROBJECTNVPROC __wglewDXUnregisterObjectNV; - -WGLEW_FUN_EXPORT PFNWGLCOPYIMAGESUBDATANVPROC __wglewCopyImageSubDataNV; - -WGLEW_FUN_EXPORT PFNWGLCREATEAFFINITYDCNVPROC __wglewCreateAffinityDCNV; -WGLEW_FUN_EXPORT PFNWGLDELETEDCNVPROC __wglewDeleteDCNV; -WGLEW_FUN_EXPORT PFNWGLENUMGPUDEVICESNVPROC __wglewEnumGpuDevicesNV; -WGLEW_FUN_EXPORT PFNWGLENUMGPUSFROMAFFINITYDCNVPROC __wglewEnumGpusFromAffinityDCNV; -WGLEW_FUN_EXPORT PFNWGLENUMGPUSNVPROC __wglewEnumGpusNV; - -WGLEW_FUN_EXPORT PFNWGLBINDVIDEODEVICENVPROC __wglewBindVideoDeviceNV; -WGLEW_FUN_EXPORT PFNWGLENUMERATEVIDEODEVICESNVPROC __wglewEnumerateVideoDevicesNV; -WGLEW_FUN_EXPORT PFNWGLQUERYCURRENTCONTEXTNVPROC __wglewQueryCurrentContextNV; - -WGLEW_FUN_EXPORT PFNWGLBINDSWAPBARRIERNVPROC __wglewBindSwapBarrierNV; -WGLEW_FUN_EXPORT PFNWGLJOINSWAPGROUPNVPROC __wglewJoinSwapGroupNV; -WGLEW_FUN_EXPORT PFNWGLQUERYFRAMECOUNTNVPROC __wglewQueryFrameCountNV; -WGLEW_FUN_EXPORT PFNWGLQUERYMAXSWAPGROUPSNVPROC __wglewQueryMaxSwapGroupsNV; -WGLEW_FUN_EXPORT PFNWGLQUERYSWAPGROUPNVPROC __wglewQuerySwapGroupNV; -WGLEW_FUN_EXPORT PFNWGLRESETFRAMECOUNTNVPROC __wglewResetFrameCountNV; - -WGLEW_FUN_EXPORT PFNWGLALLOCATEMEMORYNVPROC __wglewAllocateMemoryNV; -WGLEW_FUN_EXPORT PFNWGLFREEMEMORYNVPROC __wglewFreeMemoryNV; - -WGLEW_FUN_EXPORT PFNWGLBINDVIDEOCAPTUREDEVICENVPROC __wglewBindVideoCaptureDeviceNV; -WGLEW_FUN_EXPORT PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC __wglewEnumerateVideoCaptureDevicesNV; -WGLEW_FUN_EXPORT PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC __wglewLockVideoCaptureDeviceNV; -WGLEW_FUN_EXPORT PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC __wglewQueryVideoCaptureDeviceNV; -WGLEW_FUN_EXPORT PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC __wglewReleaseVideoCaptureDeviceNV; - -WGLEW_FUN_EXPORT PFNWGLBINDVIDEOIMAGENVPROC __wglewBindVideoImageNV; -WGLEW_FUN_EXPORT PFNWGLGETVIDEODEVICENVPROC __wglewGetVideoDeviceNV; -WGLEW_FUN_EXPORT PFNWGLGETVIDEOINFONVPROC __wglewGetVideoInfoNV; -WGLEW_FUN_EXPORT PFNWGLRELEASEVIDEODEVICENVPROC __wglewReleaseVideoDeviceNV; -WGLEW_FUN_EXPORT PFNWGLRELEASEVIDEOIMAGENVPROC __wglewReleaseVideoImageNV; -WGLEW_FUN_EXPORT PFNWGLSENDPBUFFERTOVIDEONVPROC __wglewSendPbufferToVideoNV; - -WGLEW_FUN_EXPORT PFNWGLGETMSCRATEOMLPROC __wglewGetMscRateOML; -WGLEW_FUN_EXPORT PFNWGLGETSYNCVALUESOMLPROC __wglewGetSyncValuesOML; -WGLEW_FUN_EXPORT PFNWGLSWAPBUFFERSMSCOMLPROC __wglewSwapBuffersMscOML; -WGLEW_FUN_EXPORT PFNWGLSWAPLAYERBUFFERSMSCOMLPROC __wglewSwapLayerBuffersMscOML; -WGLEW_FUN_EXPORT PFNWGLWAITFORMSCOMLPROC __wglewWaitForMscOML; -WGLEW_FUN_EXPORT PFNWGLWAITFORSBCOMLPROC __wglewWaitForSbcOML; -WGLEW_VAR_EXPORT GLboolean __WGLEW_3DFX_multisample; -WGLEW_VAR_EXPORT GLboolean __WGLEW_3DL_stereo_control; -WGLEW_VAR_EXPORT GLboolean __WGLEW_AMD_gpu_association; -WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_buffer_region; -WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_create_context; -WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_create_context_profile; -WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_create_context_robustness; -WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_extensions_string; -WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_framebuffer_sRGB; -WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_make_current_read; -WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_multisample; -WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_pbuffer; -WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_pixel_format; -WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_pixel_format_float; -WGLEW_VAR_EXPORT GLboolean __WGLEW_ARB_render_texture; -WGLEW_VAR_EXPORT GLboolean __WGLEW_ATI_pixel_format_float; -WGLEW_VAR_EXPORT GLboolean __WGLEW_ATI_render_texture_rectangle; -WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_create_context_es2_profile; -WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_create_context_es_profile; -WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_depth_float; -WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_display_color_table; -WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_extensions_string; -WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_framebuffer_sRGB; -WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_make_current_read; -WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_multisample; -WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_pbuffer; -WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_pixel_format; -WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_pixel_format_packed_float; -WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_swap_control; -WGLEW_VAR_EXPORT GLboolean __WGLEW_EXT_swap_control_tear; -WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_digital_video_control; -WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_gamma; -WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_genlock; -WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_image_buffer; -WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_swap_frame_lock; -WGLEW_VAR_EXPORT GLboolean __WGLEW_I3D_swap_frame_usage; -WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_DX_interop; -WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_DX_interop2; -WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_copy_image; -WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_float_buffer; -WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_gpu_affinity; -WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_multisample_coverage; -WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_present_video; -WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_render_depth_texture; -WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_render_texture_rectangle; -WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_swap_group; -WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_vertex_array_range; -WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_video_capture; -WGLEW_VAR_EXPORT GLboolean __WGLEW_NV_video_output; -WGLEW_VAR_EXPORT GLboolean __WGLEW_OML_sync_control; - -#ifdef GLEW_MX -}; /* WGLEWContextStruct */ -#endif /* GLEW_MX */ - -/* ------------------------------------------------------------------------- */ - -#ifdef GLEW_MX - -typedef struct WGLEWContextStruct WGLEWContext; -GLEWAPI GLenum GLEWAPIENTRY wglewContextInit (WGLEWContext *ctx); -GLEWAPI GLboolean GLEWAPIENTRY wglewContextIsSupported (const WGLEWContext *ctx, const char *name); - -#define wglewInit() wglewContextInit(wglewGetContext()) -#define wglewIsSupported(x) wglewContextIsSupported(wglewGetContext(), x) - -#define WGLEW_GET_VAR(x) (*(const GLboolean*)&(wglewGetContext()->x)) -#define WGLEW_GET_FUN(x) wglewGetContext()->x - -#else /* GLEW_MX */ - -#define WGLEW_GET_VAR(x) (*(const GLboolean*)&x) -#define WGLEW_GET_FUN(x) x - -GLEWAPI GLboolean GLEWAPIENTRY wglewIsSupported (const char *name); - -#endif /* GLEW_MX */ - -GLEWAPI GLboolean GLEWAPIENTRY wglewGetExtension (const char *name); - -#ifdef __cplusplus -} -#endif - -#undef GLEWAPI - -#endif /* __wglew_h__ */ diff --git a/src/other/togl/include/GL/wglext.h b/src/other/togl/include/GL/wglext.h deleted file mode 100644 index 3fe2e2df96e..00000000000 --- a/src/other/togl/include/GL/wglext.h +++ /dev/null @@ -1,929 +0,0 @@ -#ifndef __wglext_h_ -#define __wglext_h_ - -#ifdef __cplusplus -extern "C" { -#endif - -/* -** Copyright (c) 2007-2010 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ - -/* Function declaration macros - to move into glplatform.h */ - -#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) -#define WIN32_LEAN_AND_MEAN 1 -#include -#endif - -#ifndef APIENTRY -#define APIENTRY -#endif -#ifndef APIENTRYP -#define APIENTRYP APIENTRY * -#endif -#ifndef GLAPI -#define GLAPI extern -#endif - -/*************************************************************/ - -/* Header file version number */ -/* wglext.h last updated 2011/04/13 */ -/* Current version at http://www.opengl.org/registry/ */ -#define WGL_WGLEXT_VERSION 23 - -#ifndef WGL_ARB_buffer_region -#define WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001 -#define WGL_BACK_COLOR_BUFFER_BIT_ARB 0x00000002 -#define WGL_DEPTH_BUFFER_BIT_ARB 0x00000004 -#define WGL_STENCIL_BUFFER_BIT_ARB 0x00000008 -#endif - -#ifndef WGL_ARB_multisample -#define WGL_SAMPLE_BUFFERS_ARB 0x2041 -#define WGL_SAMPLES_ARB 0x2042 -#endif - -#ifndef WGL_ARB_extensions_string -#endif - -#ifndef WGL_ARB_pixel_format -#define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000 -#define WGL_DRAW_TO_WINDOW_ARB 0x2001 -#define WGL_DRAW_TO_BITMAP_ARB 0x2002 -#define WGL_ACCELERATION_ARB 0x2003 -#define WGL_NEED_PALETTE_ARB 0x2004 -#define WGL_NEED_SYSTEM_PALETTE_ARB 0x2005 -#define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006 -#define WGL_SWAP_METHOD_ARB 0x2007 -#define WGL_NUMBER_OVERLAYS_ARB 0x2008 -#define WGL_NUMBER_UNDERLAYS_ARB 0x2009 -#define WGL_TRANSPARENT_ARB 0x200A -#define WGL_TRANSPARENT_RED_VALUE_ARB 0x2037 -#define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038 -#define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039 -#define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A -#define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B -#define WGL_SHARE_DEPTH_ARB 0x200C -#define WGL_SHARE_STENCIL_ARB 0x200D -#define WGL_SHARE_ACCUM_ARB 0x200E -#define WGL_SUPPORT_GDI_ARB 0x200F -#define WGL_SUPPORT_OPENGL_ARB 0x2010 -#define WGL_DOUBLE_BUFFER_ARB 0x2011 -#define WGL_STEREO_ARB 0x2012 -#define WGL_PIXEL_TYPE_ARB 0x2013 -#define WGL_COLOR_BITS_ARB 0x2014 -#define WGL_RED_BITS_ARB 0x2015 -#define WGL_RED_SHIFT_ARB 0x2016 -#define WGL_GREEN_BITS_ARB 0x2017 -#define WGL_GREEN_SHIFT_ARB 0x2018 -#define WGL_BLUE_BITS_ARB 0x2019 -#define WGL_BLUE_SHIFT_ARB 0x201A -#define WGL_ALPHA_BITS_ARB 0x201B -#define WGL_ALPHA_SHIFT_ARB 0x201C -#define WGL_ACCUM_BITS_ARB 0x201D -#define WGL_ACCUM_RED_BITS_ARB 0x201E -#define WGL_ACCUM_GREEN_BITS_ARB 0x201F -#define WGL_ACCUM_BLUE_BITS_ARB 0x2020 -#define WGL_ACCUM_ALPHA_BITS_ARB 0x2021 -#define WGL_DEPTH_BITS_ARB 0x2022 -#define WGL_STENCIL_BITS_ARB 0x2023 -#define WGL_AUX_BUFFERS_ARB 0x2024 -#define WGL_NO_ACCELERATION_ARB 0x2025 -#define WGL_GENERIC_ACCELERATION_ARB 0x2026 -#define WGL_FULL_ACCELERATION_ARB 0x2027 -#define WGL_SWAP_EXCHANGE_ARB 0x2028 -#define WGL_SWAP_COPY_ARB 0x2029 -#define WGL_SWAP_UNDEFINED_ARB 0x202A -#define WGL_TYPE_RGBA_ARB 0x202B -#define WGL_TYPE_COLORINDEX_ARB 0x202C -#endif - -#ifndef WGL_ARB_make_current_read -#define ERROR_INVALID_PIXEL_TYPE_ARB 0x2043 -#define ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054 -#endif - -#ifndef WGL_ARB_pbuffer -#define WGL_DRAW_TO_PBUFFER_ARB 0x202D -#define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E -#define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F -#define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030 -#define WGL_PBUFFER_LARGEST_ARB 0x2033 -#define WGL_PBUFFER_WIDTH_ARB 0x2034 -#define WGL_PBUFFER_HEIGHT_ARB 0x2035 -#define WGL_PBUFFER_LOST_ARB 0x2036 -#endif - -#ifndef WGL_ARB_render_texture -#define WGL_BIND_TO_TEXTURE_RGB_ARB 0x2070 -#define WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071 -#define WGL_TEXTURE_FORMAT_ARB 0x2072 -#define WGL_TEXTURE_TARGET_ARB 0x2073 -#define WGL_MIPMAP_TEXTURE_ARB 0x2074 -#define WGL_TEXTURE_RGB_ARB 0x2075 -#define WGL_TEXTURE_RGBA_ARB 0x2076 -#define WGL_NO_TEXTURE_ARB 0x2077 -#define WGL_TEXTURE_CUBE_MAP_ARB 0x2078 -#define WGL_TEXTURE_1D_ARB 0x2079 -#define WGL_TEXTURE_2D_ARB 0x207A -#define WGL_MIPMAP_LEVEL_ARB 0x207B -#define WGL_CUBE_MAP_FACE_ARB 0x207C -#define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D -#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E -#define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F -#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080 -#define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081 -#define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082 -#define WGL_FRONT_LEFT_ARB 0x2083 -#define WGL_FRONT_RIGHT_ARB 0x2084 -#define WGL_BACK_LEFT_ARB 0x2085 -#define WGL_BACK_RIGHT_ARB 0x2086 -#define WGL_AUX0_ARB 0x2087 -#define WGL_AUX1_ARB 0x2088 -#define WGL_AUX2_ARB 0x2089 -#define WGL_AUX3_ARB 0x208A -#define WGL_AUX4_ARB 0x208B -#define WGL_AUX5_ARB 0x208C -#define WGL_AUX6_ARB 0x208D -#define WGL_AUX7_ARB 0x208E -#define WGL_AUX8_ARB 0x208F -#define WGL_AUX9_ARB 0x2090 -#endif - -#ifndef WGL_ARB_pixel_format_float -#define WGL_TYPE_RGBA_FLOAT_ARB 0x21A0 -#endif - -#ifndef WGL_ARB_framebuffer_sRGB -#define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20A9 -#endif - -#ifndef WGL_ARB_create_context -#define WGL_CONTEXT_DEBUG_BIT_ARB 0x00000001 -#define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002 -#define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091 -#define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092 -#define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093 -#define WGL_CONTEXT_FLAGS_ARB 0x2094 -#define ERROR_INVALID_VERSION_ARB 0x2095 -#endif - -#ifndef WGL_ARB_create_context_profile -#define WGL_CONTEXT_PROFILE_MASK_ARB 0x9126 -#define WGL_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 -#define WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 -#define ERROR_INVALID_PROFILE_ARB 0x2096 -#endif - -#ifndef WGL_ARB_create_context_robustness -#define WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004 -#define WGL_LOSE_CONTEXT_ON_RESET_ARB 0x8252 -#define WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 -#define WGL_NO_RESET_NOTIFICATION_ARB 0x8261 -#endif - -#ifndef WGL_EXT_make_current_read -#define ERROR_INVALID_PIXEL_TYPE_EXT 0x2043 -#endif - -#ifndef WGL_EXT_pixel_format -#define WGL_NUMBER_PIXEL_FORMATS_EXT 0x2000 -#define WGL_DRAW_TO_WINDOW_EXT 0x2001 -#define WGL_DRAW_TO_BITMAP_EXT 0x2002 -#define WGL_ACCELERATION_EXT 0x2003 -#define WGL_NEED_PALETTE_EXT 0x2004 -#define WGL_NEED_SYSTEM_PALETTE_EXT 0x2005 -#define WGL_SWAP_LAYER_BUFFERS_EXT 0x2006 -#define WGL_SWAP_METHOD_EXT 0x2007 -#define WGL_NUMBER_OVERLAYS_EXT 0x2008 -#define WGL_NUMBER_UNDERLAYS_EXT 0x2009 -#define WGL_TRANSPARENT_EXT 0x200A -#define WGL_TRANSPARENT_VALUE_EXT 0x200B -#define WGL_SHARE_DEPTH_EXT 0x200C -#define WGL_SHARE_STENCIL_EXT 0x200D -#define WGL_SHARE_ACCUM_EXT 0x200E -#define WGL_SUPPORT_GDI_EXT 0x200F -#define WGL_SUPPORT_OPENGL_EXT 0x2010 -#define WGL_DOUBLE_BUFFER_EXT 0x2011 -#define WGL_STEREO_EXT 0x2012 -#define WGL_PIXEL_TYPE_EXT 0x2013 -#define WGL_COLOR_BITS_EXT 0x2014 -#define WGL_RED_BITS_EXT 0x2015 -#define WGL_RED_SHIFT_EXT 0x2016 -#define WGL_GREEN_BITS_EXT 0x2017 -#define WGL_GREEN_SHIFT_EXT 0x2018 -#define WGL_BLUE_BITS_EXT 0x2019 -#define WGL_BLUE_SHIFT_EXT 0x201A -#define WGL_ALPHA_BITS_EXT 0x201B -#define WGL_ALPHA_SHIFT_EXT 0x201C -#define WGL_ACCUM_BITS_EXT 0x201D -#define WGL_ACCUM_RED_BITS_EXT 0x201E -#define WGL_ACCUM_GREEN_BITS_EXT 0x201F -#define WGL_ACCUM_BLUE_BITS_EXT 0x2020 -#define WGL_ACCUM_ALPHA_BITS_EXT 0x2021 -#define WGL_DEPTH_BITS_EXT 0x2022 -#define WGL_STENCIL_BITS_EXT 0x2023 -#define WGL_AUX_BUFFERS_EXT 0x2024 -#define WGL_NO_ACCELERATION_EXT 0x2025 -#define WGL_GENERIC_ACCELERATION_EXT 0x2026 -#define WGL_FULL_ACCELERATION_EXT 0x2027 -#define WGL_SWAP_EXCHANGE_EXT 0x2028 -#define WGL_SWAP_COPY_EXT 0x2029 -#define WGL_SWAP_UNDEFINED_EXT 0x202A -#define WGL_TYPE_RGBA_EXT 0x202B -#define WGL_TYPE_COLORINDEX_EXT 0x202C -#endif - -#ifndef WGL_EXT_pbuffer -#define WGL_DRAW_TO_PBUFFER_EXT 0x202D -#define WGL_MAX_PBUFFER_PIXELS_EXT 0x202E -#define WGL_MAX_PBUFFER_WIDTH_EXT 0x202F -#define WGL_MAX_PBUFFER_HEIGHT_EXT 0x2030 -#define WGL_OPTIMAL_PBUFFER_WIDTH_EXT 0x2031 -#define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032 -#define WGL_PBUFFER_LARGEST_EXT 0x2033 -#define WGL_PBUFFER_WIDTH_EXT 0x2034 -#define WGL_PBUFFER_HEIGHT_EXT 0x2035 -#endif - -#ifndef WGL_EXT_depth_float -#define WGL_DEPTH_FLOAT_EXT 0x2040 -#endif - -#ifndef WGL_3DFX_multisample -#define WGL_SAMPLE_BUFFERS_3DFX 0x2060 -#define WGL_SAMPLES_3DFX 0x2061 -#endif - -#ifndef WGL_EXT_multisample -#define WGL_SAMPLE_BUFFERS_EXT 0x2041 -#define WGL_SAMPLES_EXT 0x2042 -#endif - -#ifndef WGL_I3D_digital_video_control -#define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050 -#define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051 -#define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052 -#define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053 -#endif - -#ifndef WGL_I3D_gamma -#define WGL_GAMMA_TABLE_SIZE_I3D 0x204E -#define WGL_GAMMA_EXCLUDE_DESKTOP_I3D 0x204F -#endif - -#ifndef WGL_I3D_genlock -#define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044 -#define WGL_GENLOCK_SOURCE_EXTENAL_SYNC_I3D 0x2045 -#define WGL_GENLOCK_SOURCE_EXTENAL_FIELD_I3D 0x2046 -#define WGL_GENLOCK_SOURCE_EXTENAL_TTL_I3D 0x2047 -#define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048 -#define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049 -#define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A -#define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B -#define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C -#endif - -#ifndef WGL_I3D_image_buffer -#define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001 -#define WGL_IMAGE_BUFFER_LOCK_I3D 0x00000002 -#endif - -#ifndef WGL_I3D_swap_frame_lock -#endif - -#ifndef WGL_NV_render_depth_texture -#define WGL_BIND_TO_TEXTURE_DEPTH_NV 0x20A3 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4 -#define WGL_DEPTH_TEXTURE_FORMAT_NV 0x20A5 -#define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6 -#define WGL_DEPTH_COMPONENT_NV 0x20A7 -#endif - -#ifndef WGL_NV_render_texture_rectangle -#define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1 -#define WGL_TEXTURE_RECTANGLE_NV 0x20A2 -#endif - -#ifndef WGL_ATI_pixel_format_float -#define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0 -#endif - -#ifndef WGL_NV_float_buffer -#define WGL_FLOAT_COMPONENTS_NV 0x20B0 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3 -#define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4 -#define WGL_TEXTURE_FLOAT_R_NV 0x20B5 -#define WGL_TEXTURE_FLOAT_RG_NV 0x20B6 -#define WGL_TEXTURE_FLOAT_RGB_NV 0x20B7 -#define WGL_TEXTURE_FLOAT_RGBA_NV 0x20B8 -#endif - -#ifndef WGL_3DL_stereo_control -#define WGL_STEREO_EMITTER_ENABLE_3DL 0x2055 -#define WGL_STEREO_EMITTER_DISABLE_3DL 0x2056 -#define WGL_STEREO_POLARITY_NORMAL_3DL 0x2057 -#define WGL_STEREO_POLARITY_INVERT_3DL 0x2058 -#endif - -#ifndef WGL_EXT_pixel_format_packed_float -#define WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8 -#endif - -#ifndef WGL_EXT_framebuffer_sRGB -#define WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9 -#endif - -#ifndef WGL_NV_present_video -#define WGL_NUM_VIDEO_SLOTS_NV 0x20F0 -#endif - -#ifndef WGL_NV_video_out -#define WGL_BIND_TO_VIDEO_RGB_NV 0x20C0 -#define WGL_BIND_TO_VIDEO_RGBA_NV 0x20C1 -#define WGL_BIND_TO_VIDEO_RGB_AND_DEPTH_NV 0x20C2 -#define WGL_VIDEO_OUT_COLOR_NV 0x20C3 -#define WGL_VIDEO_OUT_ALPHA_NV 0x20C4 -#define WGL_VIDEO_OUT_DEPTH_NV 0x20C5 -#define WGL_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6 -#define WGL_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7 -#define WGL_VIDEO_OUT_FRAME 0x20C8 -#define WGL_VIDEO_OUT_FIELD_1 0x20C9 -#define WGL_VIDEO_OUT_FIELD_2 0x20CA -#define WGL_VIDEO_OUT_STACKED_FIELDS_1_2 0x20CB -#define WGL_VIDEO_OUT_STACKED_FIELDS_2_1 0x20CC -#endif - -#ifndef WGL_NV_swap_group -#endif - -#ifndef WGL_NV_gpu_affinity -#define WGL_ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0 -#define WGL_ERROR_MISSING_AFFINITY_MASK_NV 0x20D1 -#endif - -#ifndef WGL_AMD_gpu_association -#define WGL_GPU_VENDOR_AMD 0x1F00 -#define WGL_GPU_RENDERER_STRING_AMD 0x1F01 -#define WGL_GPU_OPENGL_VERSION_STRING_AMD 0x1F02 -#define WGL_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2 -#define WGL_GPU_RAM_AMD 0x21A3 -#define WGL_GPU_CLOCK_AMD 0x21A4 -#define WGL_GPU_NUM_PIPES_AMD 0x21A5 -#define WGL_GPU_NUM_SIMD_AMD 0x21A6 -#define WGL_GPU_NUM_RB_AMD 0x21A7 -#define WGL_GPU_NUM_SPI_AMD 0x21A8 -#endif - -#ifndef WGL_NV_video_capture -#define WGL_UNIQUE_ID_NV 0x20CE -#define WGL_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF -#endif - -#ifndef WGL_NV_copy_image -#endif - -#ifndef WGL_NV_multisample_coverage -#define WGL_COVERAGE_SAMPLES_NV 0x2042 -#define WGL_COLOR_SAMPLES_NV 0x20B9 -#endif - -#ifndef WGL_EXT_create_context_es2_profile -#define WGL_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 -#endif - -#ifndef WGL_NV_DX_interop -#define WGL_ACCESS_READ_ONLY_NV 0x00000000 -#define WGL_ACCESS_READ_WRITE_NV 0x00000001 -#define WGL_ACCESS_WRITE_DISCARD_NV 0x00000002 -#endif - - -/*************************************************************/ - -#ifndef WGL_ARB_pbuffer -DECLARE_HANDLE(HPBUFFERARB); -#endif -#ifndef WGL_EXT_pbuffer -DECLARE_HANDLE(HPBUFFEREXT); -#endif -#ifndef WGL_NV_present_video -DECLARE_HANDLE(HVIDEOOUTPUTDEVICENV); -#endif -#ifndef WGL_NV_video_output -DECLARE_HANDLE(HPVIDEODEV); -#endif -#ifndef WGL_NV_gpu_affinity -DECLARE_HANDLE(HPGPUNV); -DECLARE_HANDLE(HGPUNV); - -typedef struct _GPU_DEVICE { - DWORD cb; - CHAR DeviceName[32]; - CHAR DeviceString[128]; - DWORD Flags; - RECT rcVirtualScreen; -} GPU_DEVICE, *PGPU_DEVICE; -#endif -#ifndef WGL_NV_video_capture -DECLARE_HANDLE(HVIDEOINPUTDEVICENV); -#endif - -#ifndef WGL_ARB_buffer_region -#define WGL_ARB_buffer_region 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern HANDLE WINAPI wglCreateBufferRegionARB (HDC hDC, int iLayerPlane, UINT uType); -extern VOID WINAPI wglDeleteBufferRegionARB (HANDLE hRegion); -extern BOOL WINAPI wglSaveBufferRegionARB (HANDLE hRegion, int x, int y, int width, int height); -extern BOOL WINAPI wglRestoreBufferRegionARB (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef HANDLE (WINAPI * PFNWGLCREATEBUFFERREGIONARBPROC) (HDC hDC, int iLayerPlane, UINT uType); -typedef VOID (WINAPI * PFNWGLDELETEBUFFERREGIONARBPROC) (HANDLE hRegion); -typedef BOOL (WINAPI * PFNWGLSAVEBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height); -typedef BOOL (WINAPI * PFNWGLRESTOREBUFFERREGIONARBPROC) (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc); -#endif - -#ifndef WGL_ARB_multisample -#define WGL_ARB_multisample 1 -#endif - -#ifndef WGL_ARB_extensions_string -#define WGL_ARB_extensions_string 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern const char * WINAPI wglGetExtensionsStringARB (HDC hdc); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef const char * (WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc); -#endif - -#ifndef WGL_ARB_pixel_format -#define WGL_ARB_pixel_format 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern BOOL WINAPI wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues); -extern BOOL WINAPI wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues); -extern BOOL WINAPI wglChoosePixelFormatARB (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues); -typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues); -typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); -#endif - -#ifndef WGL_ARB_make_current_read -#define WGL_ARB_make_current_read 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern BOOL WINAPI wglMakeContextCurrentARB (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); -extern HDC WINAPI wglGetCurrentReadDCARB (void); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); -typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCARBPROC) (void); -#endif - -#ifndef WGL_ARB_pbuffer -#define WGL_ARB_pbuffer 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern HPBUFFERARB WINAPI wglCreatePbufferARB (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList); -extern HDC WINAPI wglGetPbufferDCARB (HPBUFFERARB hPbuffer); -extern int WINAPI wglReleasePbufferDCARB (HPBUFFERARB hPbuffer, HDC hDC); -extern BOOL WINAPI wglDestroyPbufferARB (HPBUFFERARB hPbuffer); -extern BOOL WINAPI wglQueryPbufferARB (HPBUFFERARB hPbuffer, int iAttribute, int *piValue); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList); -typedef HDC (WINAPI * PFNWGLGETPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer); -typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC hDC); -typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFERARBPROC) (HPBUFFERARB hPbuffer); -typedef BOOL (WINAPI * PFNWGLQUERYPBUFFERARBPROC) (HPBUFFERARB hPbuffer, int iAttribute, int *piValue); -#endif - -#ifndef WGL_ARB_render_texture -#define WGL_ARB_render_texture 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern BOOL WINAPI wglBindTexImageARB (HPBUFFERARB hPbuffer, int iBuffer); -extern BOOL WINAPI wglReleaseTexImageARB (HPBUFFERARB hPbuffer, int iBuffer); -extern BOOL WINAPI wglSetPbufferAttribARB (HPBUFFERARB hPbuffer, const int *piAttribList); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer); -typedef BOOL (WINAPI * PFNWGLRELEASETEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer); -typedef BOOL (WINAPI * PFNWGLSETPBUFFERATTRIBARBPROC) (HPBUFFERARB hPbuffer, const int *piAttribList); -#endif - -#ifndef WGL_ARB_pixel_format_float -#define WGL_ARB_pixel_format_float 1 -#endif - -#ifndef WGL_ARB_framebuffer_sRGB -#define WGL_ARB_framebuffer_sRGB 1 -#endif - -#ifndef WGL_ARB_create_context -#define WGL_ARB_create_context 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern HGLRC WINAPI wglCreateContextAttribsARB (HDC hDC, HGLRC hShareContext, const int *attribList); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef HGLRC (WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC) (HDC hDC, HGLRC hShareContext, const int *attribList); -#endif - -#ifndef WGL_ARB_create_context_profile -#define WGL_ARB_create_context_profile 1 -#endif - -#ifndef WGL_ARB_create_context_robustness -#define WGL_ARB_create_context_robustness 1 -#endif - -#ifndef WGL_EXT_display_color_table -#define WGL_EXT_display_color_table 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern GLboolean WINAPI wglCreateDisplayColorTableEXT (GLushort id); -extern GLboolean WINAPI wglLoadDisplayColorTableEXT (const GLushort *table, GLuint length); -extern GLboolean WINAPI wglBindDisplayColorTableEXT (GLushort id); -extern VOID WINAPI wglDestroyDisplayColorTableEXT (GLushort id); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef GLboolean (WINAPI * PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC) (GLushort id); -typedef GLboolean (WINAPI * PFNWGLLOADDISPLAYCOLORTABLEEXTPROC) (const GLushort *table, GLuint length); -typedef GLboolean (WINAPI * PFNWGLBINDDISPLAYCOLORTABLEEXTPROC) (GLushort id); -typedef VOID (WINAPI * PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC) (GLushort id); -#endif - -#ifndef WGL_EXT_extensions_string -#define WGL_EXT_extensions_string 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern const char * WINAPI wglGetExtensionsStringEXT (void); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef const char * (WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC) (void); -#endif - -#ifndef WGL_EXT_make_current_read -#define WGL_EXT_make_current_read 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern BOOL WINAPI wglMakeContextCurrentEXT (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); -extern HDC WINAPI wglGetCurrentReadDCEXT (void); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTEXTPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); -typedef HDC (WINAPI * PFNWGLGETCURRENTREADDCEXTPROC) (void); -#endif - -#ifndef WGL_EXT_pbuffer -#define WGL_EXT_pbuffer 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern HPBUFFEREXT WINAPI wglCreatePbufferEXT (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList); -extern HDC WINAPI wglGetPbufferDCEXT (HPBUFFEREXT hPbuffer); -extern int WINAPI wglReleasePbufferDCEXT (HPBUFFEREXT hPbuffer, HDC hDC); -extern BOOL WINAPI wglDestroyPbufferEXT (HPBUFFEREXT hPbuffer); -extern BOOL WINAPI wglQueryPbufferEXT (HPBUFFEREXT hPbuffer, int iAttribute, int *piValue); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef HPBUFFEREXT (WINAPI * PFNWGLCREATEPBUFFEREXTPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList); -typedef HDC (WINAPI * PFNWGLGETPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer); -typedef int (WINAPI * PFNWGLRELEASEPBUFFERDCEXTPROC) (HPBUFFEREXT hPbuffer, HDC hDC); -typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer); -typedef BOOL (WINAPI * PFNWGLQUERYPBUFFEREXTPROC) (HPBUFFEREXT hPbuffer, int iAttribute, int *piValue); -#endif - -#ifndef WGL_EXT_pixel_format -#define WGL_EXT_pixel_format 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern BOOL WINAPI wglGetPixelFormatAttribivEXT (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues); -extern BOOL WINAPI wglGetPixelFormatAttribfvEXT (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues); -extern BOOL WINAPI wglChoosePixelFormatEXT (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues); -typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVEXTPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues); -typedef BOOL (WINAPI * PFNWGLCHOOSEPIXELFORMATEXTPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats); -#endif - -#ifndef WGL_EXT_swap_control -#define WGL_EXT_swap_control 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern BOOL WINAPI wglSwapIntervalEXT (int interval); -extern int WINAPI wglGetSwapIntervalEXT (void); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef BOOL (WINAPI * PFNWGLSWAPINTERVALEXTPROC) (int interval); -typedef int (WINAPI * PFNWGLGETSWAPINTERVALEXTPROC) (void); -#endif - -#ifndef WGL_EXT_depth_float -#define WGL_EXT_depth_float 1 -#endif - -#ifndef WGL_NV_vertex_array_range -#define WGL_NV_vertex_array_range 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern void* WINAPI wglAllocateMemoryNV (GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority); -extern void WINAPI wglFreeMemoryNV (void *pointer); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef void* (WINAPI * PFNWGLALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority); -typedef void (WINAPI * PFNWGLFREEMEMORYNVPROC) (void *pointer); -#endif - -#ifndef WGL_3DFX_multisample -#define WGL_3DFX_multisample 1 -#endif - -#ifndef WGL_EXT_multisample -#define WGL_EXT_multisample 1 -#endif - -#ifndef WGL_OML_sync_control -#define WGL_OML_sync_control 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern BOOL WINAPI wglGetSyncValuesOML (HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc); -extern BOOL WINAPI wglGetMscRateOML (HDC hdc, INT32 *numerator, INT32 *denominator); -extern INT64 WINAPI wglSwapBuffersMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder); -extern INT64 WINAPI wglSwapLayerBuffersMscOML (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder); -extern BOOL WINAPI wglWaitForMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc); -extern BOOL WINAPI wglWaitForSbcOML (HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef BOOL (WINAPI * PFNWGLGETSYNCVALUESOMLPROC) (HDC hdc, INT64 *ust, INT64 *msc, INT64 *sbc); -typedef BOOL (WINAPI * PFNWGLGETMSCRATEOMLPROC) (HDC hdc, INT32 *numerator, INT32 *denominator); -typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder); -typedef INT64 (WINAPI * PFNWGLSWAPLAYERBUFFERSMSCOMLPROC) (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder); -typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust, INT64 *msc, INT64 *sbc); -typedef BOOL (WINAPI * PFNWGLWAITFORSBCOMLPROC) (HDC hdc, INT64 target_sbc, INT64 *ust, INT64 *msc, INT64 *sbc); -#endif - -#ifndef WGL_I3D_digital_video_control -#define WGL_I3D_digital_video_control 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern BOOL WINAPI wglGetDigitalVideoParametersI3D (HDC hDC, int iAttribute, int *piValue); -extern BOOL WINAPI wglSetDigitalVideoParametersI3D (HDC hDC, int iAttribute, const int *piValue); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef BOOL (WINAPI * PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int *piValue); -typedef BOOL (WINAPI * PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int *piValue); -#endif - -#ifndef WGL_I3D_gamma -#define WGL_I3D_gamma 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern BOOL WINAPI wglGetGammaTableParametersI3D (HDC hDC, int iAttribute, int *piValue); -extern BOOL WINAPI wglSetGammaTableParametersI3D (HDC hDC, int iAttribute, const int *piValue); -extern BOOL WINAPI wglGetGammaTableI3D (HDC hDC, int iEntries, USHORT *puRed, USHORT *puGreen, USHORT *puBlue); -extern BOOL WINAPI wglSetGammaTableI3D (HDC hDC, int iEntries, const USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, int *piValue); -typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEPARAMETERSI3DPROC) (HDC hDC, int iAttribute, const int *piValue); -typedef BOOL (WINAPI * PFNWGLGETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, USHORT *puRed, USHORT *puGreen, USHORT *puBlue); -typedef BOOL (WINAPI * PFNWGLSETGAMMATABLEI3DPROC) (HDC hDC, int iEntries, const USHORT *puRed, const USHORT *puGreen, const USHORT *puBlue); -#endif - -#ifndef WGL_I3D_genlock -#define WGL_I3D_genlock 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern BOOL WINAPI wglEnableGenlockI3D (HDC hDC); -extern BOOL WINAPI wglDisableGenlockI3D (HDC hDC); -extern BOOL WINAPI wglIsEnabledGenlockI3D (HDC hDC, BOOL *pFlag); -extern BOOL WINAPI wglGenlockSourceI3D (HDC hDC, UINT uSource); -extern BOOL WINAPI wglGetGenlockSourceI3D (HDC hDC, UINT *uSource); -extern BOOL WINAPI wglGenlockSourceEdgeI3D (HDC hDC, UINT uEdge); -extern BOOL WINAPI wglGetGenlockSourceEdgeI3D (HDC hDC, UINT *uEdge); -extern BOOL WINAPI wglGenlockSampleRateI3D (HDC hDC, UINT uRate); -extern BOOL WINAPI wglGetGenlockSampleRateI3D (HDC hDC, UINT *uRate); -extern BOOL WINAPI wglGenlockSourceDelayI3D (HDC hDC, UINT uDelay); -extern BOOL WINAPI wglGetGenlockSourceDelayI3D (HDC hDC, UINT *uDelay); -extern BOOL WINAPI wglQueryGenlockMaxSourceDelayI3D (HDC hDC, UINT *uMaxLineDelay, UINT *uMaxPixelDelay); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef BOOL (WINAPI * PFNWGLENABLEGENLOCKI3DPROC) (HDC hDC); -typedef BOOL (WINAPI * PFNWGLDISABLEGENLOCKI3DPROC) (HDC hDC); -typedef BOOL (WINAPI * PFNWGLISENABLEDGENLOCKI3DPROC) (HDC hDC, BOOL *pFlag); -typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEI3DPROC) (HDC hDC, UINT uSource); -typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEI3DPROC) (HDC hDC, UINT *uSource); -typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT uEdge); -typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEEDGEI3DPROC) (HDC hDC, UINT *uEdge); -typedef BOOL (WINAPI * PFNWGLGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT uRate); -typedef BOOL (WINAPI * PFNWGLGETGENLOCKSAMPLERATEI3DPROC) (HDC hDC, UINT *uRate); -typedef BOOL (WINAPI * PFNWGLGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT uDelay); -typedef BOOL (WINAPI * PFNWGLGETGENLOCKSOURCEDELAYI3DPROC) (HDC hDC, UINT *uDelay); -typedef BOOL (WINAPI * PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC) (HDC hDC, UINT *uMaxLineDelay, UINT *uMaxPixelDelay); -#endif - -#ifndef WGL_I3D_image_buffer -#define WGL_I3D_image_buffer 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern LPVOID WINAPI wglCreateImageBufferI3D (HDC hDC, DWORD dwSize, UINT uFlags); -extern BOOL WINAPI wglDestroyImageBufferI3D (HDC hDC, LPVOID pAddress); -extern BOOL WINAPI wglAssociateImageBufferEventsI3D (HDC hDC, const HANDLE *pEvent, const LPVOID *pAddress, const DWORD *pSize, UINT count); -extern BOOL WINAPI wglReleaseImageBufferEventsI3D (HDC hDC, const LPVOID *pAddress, UINT count); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef LPVOID (WINAPI * PFNWGLCREATEIMAGEBUFFERI3DPROC) (HDC hDC, DWORD dwSize, UINT uFlags); -typedef BOOL (WINAPI * PFNWGLDESTROYIMAGEBUFFERI3DPROC) (HDC hDC, LPVOID pAddress); -typedef BOOL (WINAPI * PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC) (HDC hDC, const HANDLE *pEvent, const LPVOID *pAddress, const DWORD *pSize, UINT count); -typedef BOOL (WINAPI * PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC) (HDC hDC, const LPVOID *pAddress, UINT count); -#endif - -#ifndef WGL_I3D_swap_frame_lock -#define WGL_I3D_swap_frame_lock 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern BOOL WINAPI wglEnableFrameLockI3D (void); -extern BOOL WINAPI wglDisableFrameLockI3D (void); -extern BOOL WINAPI wglIsEnabledFrameLockI3D (BOOL *pFlag); -extern BOOL WINAPI wglQueryFrameLockMasterI3D (BOOL *pFlag); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef BOOL (WINAPI * PFNWGLENABLEFRAMELOCKI3DPROC) (void); -typedef BOOL (WINAPI * PFNWGLDISABLEFRAMELOCKI3DPROC) (void); -typedef BOOL (WINAPI * PFNWGLISENABLEDFRAMELOCKI3DPROC) (BOOL *pFlag); -typedef BOOL (WINAPI * PFNWGLQUERYFRAMELOCKMASTERI3DPROC) (BOOL *pFlag); -#endif - -#ifndef WGL_I3D_swap_frame_usage -#define WGL_I3D_swap_frame_usage 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern BOOL WINAPI wglGetFrameUsageI3D (float *pUsage); -extern BOOL WINAPI wglBeginFrameTrackingI3D (void); -extern BOOL WINAPI wglEndFrameTrackingI3D (void); -extern BOOL WINAPI wglQueryFrameTrackingI3D (DWORD *pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef BOOL (WINAPI * PFNWGLGETFRAMEUSAGEI3DPROC) (float *pUsage); -typedef BOOL (WINAPI * PFNWGLBEGINFRAMETRACKINGI3DPROC) (void); -typedef BOOL (WINAPI * PFNWGLENDFRAMETRACKINGI3DPROC) (void); -typedef BOOL (WINAPI * PFNWGLQUERYFRAMETRACKINGI3DPROC) (DWORD *pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage); -#endif - -#ifndef WGL_ATI_pixel_format_float -#define WGL_ATI_pixel_format_float 1 -#endif - -#ifndef WGL_NV_float_buffer -#define WGL_NV_float_buffer 1 -#endif - -#ifndef WGL_3DL_stereo_control -#define WGL_3DL_stereo_control 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern BOOL WINAPI wglSetStereoEmitterState3DL (HDC hDC, UINT uState); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef BOOL (WINAPI * PFNWGLSETSTEREOEMITTERSTATE3DLPROC) (HDC hDC, UINT uState); -#endif - -#ifndef WGL_EXT_pixel_format_packed_float -#define WGL_EXT_pixel_format_packed_float 1 -#endif - -#ifndef WGL_EXT_framebuffer_sRGB -#define WGL_EXT_framebuffer_sRGB 1 -#endif - -#ifndef WGL_NV_present_video -#define WGL_NV_present_video 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern int WINAPI wglEnumerateVideoDevicesNV (HDC hDC, HVIDEOOUTPUTDEVICENV *phDeviceList); -extern BOOL WINAPI wglBindVideoDeviceNV (HDC hDC, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList); -extern BOOL WINAPI wglQueryCurrentContextNV (int iAttribute, int *piValue); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef int (WINAPI * PFNWGLENUMERATEVIDEODEVICESNVPROC) (HDC hDC, HVIDEOOUTPUTDEVICENV *phDeviceList); -typedef BOOL (WINAPI * PFNWGLBINDVIDEODEVICENVPROC) (HDC hDC, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int *piAttribList); -typedef BOOL (WINAPI * PFNWGLQUERYCURRENTCONTEXTNVPROC) (int iAttribute, int *piValue); -#endif - -#ifndef WGL_NV_video_output -#define WGL_NV_video_output 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern BOOL WINAPI wglGetVideoDeviceNV (HDC hDC, int numDevices, HPVIDEODEV *hVideoDevice); -extern BOOL WINAPI wglReleaseVideoDeviceNV (HPVIDEODEV hVideoDevice); -extern BOOL WINAPI wglBindVideoImageNV (HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer); -extern BOOL WINAPI wglReleaseVideoImageNV (HPBUFFERARB hPbuffer, int iVideoBuffer); -extern BOOL WINAPI wglSendPbufferToVideoNV (HPBUFFERARB hPbuffer, int iBufferType, unsigned long *pulCounterPbuffer, BOOL bBlock); -extern BOOL WINAPI wglGetVideoInfoNV (HPVIDEODEV hpVideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef BOOL (WINAPI * PFNWGLGETVIDEODEVICENVPROC) (HDC hDC, int numDevices, HPVIDEODEV *hVideoDevice); -typedef BOOL (WINAPI * PFNWGLRELEASEVIDEODEVICENVPROC) (HPVIDEODEV hVideoDevice); -typedef BOOL (WINAPI * PFNWGLBINDVIDEOIMAGENVPROC) (HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer); -typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOIMAGENVPROC) (HPBUFFERARB hPbuffer, int iVideoBuffer); -typedef BOOL (WINAPI * PFNWGLSENDPBUFFERTOVIDEONVPROC) (HPBUFFERARB hPbuffer, int iBufferType, unsigned long *pulCounterPbuffer, BOOL bBlock); -typedef BOOL (WINAPI * PFNWGLGETVIDEOINFONVPROC) (HPVIDEODEV hpVideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo); -#endif - -#ifndef WGL_NV_swap_group -#define WGL_NV_swap_group 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern BOOL WINAPI wglJoinSwapGroupNV (HDC hDC, GLuint group); -extern BOOL WINAPI wglBindSwapBarrierNV (GLuint group, GLuint barrier); -extern BOOL WINAPI wglQuerySwapGroupNV (HDC hDC, GLuint *group, GLuint *barrier); -extern BOOL WINAPI wglQueryMaxSwapGroupsNV (HDC hDC, GLuint *maxGroups, GLuint *maxBarriers); -extern BOOL WINAPI wglQueryFrameCountNV (HDC hDC, GLuint *count); -extern BOOL WINAPI wglResetFrameCountNV (HDC hDC); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef BOOL (WINAPI * PFNWGLJOINSWAPGROUPNVPROC) (HDC hDC, GLuint group); -typedef BOOL (WINAPI * PFNWGLBINDSWAPBARRIERNVPROC) (GLuint group, GLuint barrier); -typedef BOOL (WINAPI * PFNWGLQUERYSWAPGROUPNVPROC) (HDC hDC, GLuint *group, GLuint *barrier); -typedef BOOL (WINAPI * PFNWGLQUERYMAXSWAPGROUPSNVPROC) (HDC hDC, GLuint *maxGroups, GLuint *maxBarriers); -typedef BOOL (WINAPI * PFNWGLQUERYFRAMECOUNTNVPROC) (HDC hDC, GLuint *count); -typedef BOOL (WINAPI * PFNWGLRESETFRAMECOUNTNVPROC) (HDC hDC); -#endif - -#ifndef WGL_NV_gpu_affinity -#define WGL_NV_gpu_affinity 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern BOOL WINAPI wglEnumGpusNV (UINT iGpuIndex, HGPUNV *phGpu); -extern BOOL WINAPI wglEnumGpuDevicesNV (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice); -extern HDC WINAPI wglCreateAffinityDCNV (const HGPUNV *phGpuList); -extern BOOL WINAPI wglEnumGpusFromAffinityDCNV (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu); -extern BOOL WINAPI wglDeleteDCNV (HDC hdc); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef BOOL (WINAPI * PFNWGLENUMGPUSNVPROC) (UINT iGpuIndex, HGPUNV *phGpu); -typedef BOOL (WINAPI * PFNWGLENUMGPUDEVICESNVPROC) (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice); -typedef HDC (WINAPI * PFNWGLCREATEAFFINITYDCNVPROC) (const HGPUNV *phGpuList); -typedef BOOL (WINAPI * PFNWGLENUMGPUSFROMAFFINITYDCNVPROC) (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu); -typedef BOOL (WINAPI * PFNWGLDELETEDCNVPROC) (HDC hdc); -#endif - -#ifndef WGL_AMD_gpu_association -#define WGL_AMD_gpu_association 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern UINT WINAPI wglGetGPUIDsAMD (UINT maxCount, UINT *ids); -extern INT WINAPI wglGetGPUInfoAMD (UINT id, int property, GLenum dataType, UINT size, void *data); -extern UINT WINAPI wglGetContextGPUIDAMD (HGLRC hglrc); -extern HGLRC WINAPI wglCreateAssociatedContextAMD (UINT id); -extern HGLRC WINAPI wglCreateAssociatedContextAttribsAMD (UINT id, HGLRC hShareContext, const int *attribList); -extern BOOL WINAPI wglDeleteAssociatedContextAMD (HGLRC hglrc); -extern BOOL WINAPI wglMakeAssociatedContextCurrentAMD (HGLRC hglrc); -extern HGLRC WINAPI wglGetCurrentAssociatedContextAMD (void); -extern VOID WINAPI wglBlitContextFramebufferAMD (HGLRC dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef UINT (WINAPI * PFNWGLGETGPUIDSAMDPROC) (UINT maxCount, UINT *ids); -typedef INT (WINAPI * PFNWGLGETGPUINFOAMDPROC) (UINT id, int property, GLenum dataType, UINT size, void *data); -typedef UINT (WINAPI * PFNWGLGETCONTEXTGPUIDAMDPROC) (HGLRC hglrc); -typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC) (UINT id); -typedef HGLRC (WINAPI * PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC) (UINT id, HGLRC hShareContext, const int *attribList); -typedef BOOL (WINAPI * PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC) (HGLRC hglrc); -typedef BOOL (WINAPI * PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC) (HGLRC hglrc); -typedef HGLRC (WINAPI * PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC) (void); -typedef VOID (WINAPI * PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC) (HGLRC dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -#endif - -#ifndef WGL_NV_video_capture -#define WGL_NV_video_capture 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern BOOL WINAPI wglBindVideoCaptureDeviceNV (UINT uVideoSlot, HVIDEOINPUTDEVICENV hDevice); -extern UINT WINAPI wglEnumerateVideoCaptureDevicesNV (HDC hDc, HVIDEOINPUTDEVICENV *phDeviceList); -extern BOOL WINAPI wglLockVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice); -extern BOOL WINAPI wglQueryVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice, int iAttribute, int *piValue); -extern BOOL WINAPI wglReleaseVideoCaptureDeviceNV (HDC hDc, HVIDEOINPUTDEVICENV hDevice); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef BOOL (WINAPI * PFNWGLBINDVIDEOCAPTUREDEVICENVPROC) (UINT uVideoSlot, HVIDEOINPUTDEVICENV hDevice); -typedef UINT (WINAPI * PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC) (HDC hDc, HVIDEOINPUTDEVICENV *phDeviceList); -typedef BOOL (WINAPI * PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice); -typedef BOOL (WINAPI * PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice, int iAttribute, int *piValue); -typedef BOOL (WINAPI * PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC) (HDC hDc, HVIDEOINPUTDEVICENV hDevice); -#endif - -#ifndef WGL_NV_copy_image -#define WGL_NV_copy_image 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern BOOL WINAPI wglCopyImageSubDataNV (HGLRC hSrcRC, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, HGLRC hDstRC, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef BOOL (WINAPI * PFNWGLCOPYIMAGESUBDATANVPROC) (HGLRC hSrcRC, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, HGLRC hDstRC, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); -#endif - -#ifndef WGL_NV_multisample_coverage -#define WGL_NV_multisample_coverage 1 -#endif - -#ifndef WGL_NV_DX_interop -#define WGL_NV_DX_interop 1 -#ifdef WGL_WGLEXT_PROTOTYPES -extern BOOL WINAPI wglDXSetResourceShareHandleNV (void *dxObject, HANDLE shareHandle); -extern HANDLE WINAPI wglDXOpenDeviceNV (void *dxDevice); -extern BOOL WINAPI wglDXCloseDeviceNV (HANDLE hDevice); -extern HANDLE WINAPI wglDXRegisterObjectNV (HANDLE hDevice, void *dxObject, GLuint name, GLenum type, GLenum access); -extern BOOL WINAPI wglDXUnregisterObjectNV (HANDLE hDevice, HANDLE hObject); -extern BOOL WINAPI wglDXObjectAccessNV (HANDLE hObject, GLenum access); -extern BOOL WINAPI wglDXLockObjectsNV (HANDLE hDevice, GLint count, HANDLE *hObjects); -extern BOOL WINAPI wglDXUnlockObjectsNV (HANDLE hDevice, GLint count, HANDLE *hObjects); -#endif /* WGL_WGLEXT_PROTOTYPES */ -typedef BOOL (WINAPI * PFNWGLDXSETRESOURCESHAREHANDLENVPROC) (void *dxObject, HANDLE shareHandle); -typedef HANDLE (WINAPI * PFNWGLDXOPENDEVICENVPROC) (void *dxDevice); -typedef BOOL (WINAPI * PFNWGLDXCLOSEDEVICENVPROC) (HANDLE hDevice); -typedef HANDLE (WINAPI * PFNWGLDXREGISTEROBJECTNVPROC) (HANDLE hDevice, void *dxObject, GLuint name, GLenum type, GLenum access); -typedef BOOL (WINAPI * PFNWGLDXUNREGISTEROBJECTNVPROC) (HANDLE hDevice, HANDLE hObject); -typedef BOOL (WINAPI * PFNWGLDXOBJECTACCESSNVPROC) (HANDLE hObject, GLenum access); -typedef BOOL (WINAPI * PFNWGLDXLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE *hObjects); -typedef BOOL (WINAPI * PFNWGLDXUNLOCKOBJECTSNVPROC) (HANDLE hDevice, GLint count, HANDLE *hObjects); -#endif - - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/src/other/togl/include/config.h.in b/src/other/togl/include/config.h.in deleted file mode 100644 index 1e695bc3b5d..00000000000 --- a/src/other/togl/include/config.h.in +++ /dev/null @@ -1,26 +0,0 @@ -/* For protability, try to shift from a huge - * number of compile flags to an include file - */ - -/* System configuration */ -#cmakedefine STDC_HEADERS -#cmakedefine HAVE_SYS_TYPES_H -#cmakedefine HAVE_SYS_STAT_H -#cmakedefine HAVE_STDLIB_H -#cmakedefine HAVE_STRING_H -#cmakedefine HAVE_MEMORY_H -#cmakedefine HAVE_STRINGS_H -#cmakedefine HAVE_INTTYPES_H @HAVE_INTTYPES_H@ -#cmakedefine HAVE_STDINT_H @HAVE_STDINT_H@ -#cmakedefine HAVE_STDDEF_H -#cmakedefine HAVE_UNISTD_H -#cmakedefine HAVE_LIMITS_H -#cmakedefine HAVE_SYS_PARAM_H -#cmakedefine USE_THREAD_ALLOC -#cmakedefine _REENTRANT -#cmakedefine _THREAD_SAFE -#cmakedefine TCL_THREADS -#cmakedefine _LARGEFILE64_SOURCE @_LARGEFILE64_SOURCE@ -#cmakedefine TCL_WIDE_INT_IS_LONG -#cmakedefine USE_TCL_STUBS -#cmakedefine USE_TK_STUBS diff --git a/src/other/togl/include/tcltk/tk8.2/tclInt.h b/src/other/togl/include/tcltk/tk8.2/tclInt.h deleted file mode 100644 index 05cc6f4a25f..00000000000 --- a/src/other/togl/include/tcltk/tk8.2/tclInt.h +++ /dev/null @@ -1,2163 +0,0 @@ -/* - * tclInt.h -- - * - * Declarations of things used internally by the Tcl interpreter. - * - * Copyright (c) 1987-1993 The Regents of the University of California. - * Copyright (c) 1993-1997 Lucent Technologies. - * Copyright (c) 1994-1998 Sun Microsystems, Inc. - * Copyright (c) 1998-1999 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TCLINT -#define _TCLINT - -/* - * Common include files needed by most of the Tcl source files are - * included here, so that system-dependent personalizations for the - * include files only have to be made in once place. This results - * in a few extra includes, but greater modularity. The order of - * the three groups of #includes is important. For example, stdio.h - * is needed by tcl.h, and the _ANSI_ARGS_ declaration in tcl.h is - * needed by stdlib.h in some configurations. - */ - -#include - -#ifndef _TCL -#include "tcl.h" -#endif - -#include -#ifdef NO_LIMITS_H -# include "../compat/limits.h" -#else -# include -#endif -#ifdef NO_STDLIB_H -# include "../compat/stdlib.h" -#else -# include -#endif -#ifdef NO_STRING_H -#include "../compat/string.h" -#else -#include -#endif - -#undef TCL_STORAGE_CLASS -#ifdef BUILD_tcl -# define TCL_STORAGE_CLASS DLLEXPORT -#else -# ifdef USE_TCL_STUBS -# define TCL_STORAGE_CLASS -# else -# define TCL_STORAGE_CLASS DLLIMPORT -# endif -#endif - -/* - * The following procedures allow namespaces to be customized to - * support special name resolution rules for commands/variables. - * - */ - -struct Tcl_ResolvedVarInfo; - -typedef Tcl_Var (Tcl_ResolveRuntimeVarProc) _ANSI_ARGS_(( - Tcl_Interp* interp, struct Tcl_ResolvedVarInfo *vinfoPtr)); - -typedef void (Tcl_ResolveVarDeleteProc) _ANSI_ARGS_(( - struct Tcl_ResolvedVarInfo *vinfoPtr)); - -/* - * The following structure encapsulates the routines needed to resolve a - * variable reference at runtime. Any variable specific state will typically - * be appended to this structure. - */ - - -typedef struct Tcl_ResolvedVarInfo { - Tcl_ResolveRuntimeVarProc *fetchProc; - Tcl_ResolveVarDeleteProc *deleteProc; -} Tcl_ResolvedVarInfo; - - - -typedef int (Tcl_ResolveCompiledVarProc) _ANSI_ARGS_(( - Tcl_Interp* interp, char* name, int length, - Tcl_Namespace *context, Tcl_ResolvedVarInfo **rPtr)); - -typedef int (Tcl_ResolveVarProc) _ANSI_ARGS_(( - Tcl_Interp* interp, char* name, Tcl_Namespace *context, - int flags, Tcl_Var *rPtr)); - -typedef int (Tcl_ResolveCmdProc) _ANSI_ARGS_((Tcl_Interp* interp, - char* name, Tcl_Namespace *context, int flags, - Tcl_Command *rPtr)); - -typedef struct Tcl_ResolverInfo { - Tcl_ResolveCmdProc *cmdResProc; /* Procedure handling command name - * resolution. */ - Tcl_ResolveVarProc *varResProc; /* Procedure handling variable name - * resolution for variables that - * can only be handled at runtime. */ - Tcl_ResolveCompiledVarProc *compiledVarResProc; - /* Procedure handling variable name - * resolution at compile time. */ -} Tcl_ResolverInfo; - -/* - *---------------------------------------------------------------- - * Data structures related to namespaces. - *---------------------------------------------------------------- - */ - -/* - * The structure below defines a namespace. - * Note: the first five fields must match exactly the fields in a - * Tcl_Namespace structure (see tcl.h). If you change one, be sure to - * change the other. - */ - -typedef struct Namespace { - char *name; /* The namespace's simple (unqualified) - * name. This contains no ::'s. The name of - * the global namespace is "" although "::" - * is an synonym. */ - char *fullName; /* The namespace's fully qualified name. - * This starts with ::. */ - ClientData clientData; /* An arbitrary value associated with this - * namespace. */ - Tcl_NamespaceDeleteProc *deleteProc; - /* Procedure invoked when deleting the - * namespace to, e.g., free clientData. */ - struct Namespace *parentPtr; /* Points to the namespace that contains - * this one. NULL if this is the global - * namespace. */ - Tcl_HashTable childTable; /* Contains any child namespaces. Indexed - * by strings; values have type - * (Namespace *). */ - long nsId; /* Unique id for the namespace. */ - Tcl_Interp *interp; /* The interpreter containing this - * namespace. */ - int flags; /* OR-ed combination of the namespace - * status flags NS_DYING and NS_DEAD - * listed below. */ - int activationCount; /* Number of "activations" or active call - * frames for this namespace that are on - * the Tcl call stack. The namespace won't - * be freed until activationCount becomes - * zero. */ - int refCount; /* Count of references by namespaceName * - * objects. The namespace can't be freed - * until refCount becomes zero. */ - Tcl_HashTable cmdTable; /* Contains all the commands currently - * registered in the namespace. Indexed by - * strings; values have type (Command *). - * Commands imported by Tcl_Import have - * Command structures that point (via an - * ImportedCmdRef structure) to the - * Command structure in the source - * namespace's command table. */ - Tcl_HashTable varTable; /* Contains all the (global) variables - * currently in this namespace. Indexed - * by strings; values have type (Var *). */ - char **exportArrayPtr; /* Points to an array of string patterns - * specifying which commands are exported. - * A pattern may include "string match" - * style wildcard characters to specify - * multiple commands; however, no namespace - * qualifiers are allowed. NULL if no - * export patterns are registered. */ - int numExportPatterns; /* Number of export patterns currently - * registered using "namespace export". */ - int maxExportPatterns; /* Mumber of export patterns for which - * space is currently allocated. */ - int cmdRefEpoch; /* Incremented if a newly added command - * shadows a command for which this - * namespace has already cached a Command * - * pointer; this causes all its cached - * Command* pointers to be invalidated. */ - int resolverEpoch; /* Incremented whenever the name resolution - * rules change for this namespace; this - * invalidates all byte codes compiled in - * the namespace, causing the code to be - * recompiled under the new rules. */ - Tcl_ResolveCmdProc *cmdResProc; - /* If non-null, this procedure overrides - * the usual command resolution mechanism - * in Tcl. This procedure is invoked - * within Tcl_FindCommand to resolve all - * command references within the namespace. */ - Tcl_ResolveVarProc *varResProc; - /* If non-null, this procedure overrides - * the usual variable resolution mechanism - * in Tcl. This procedure is invoked - * within Tcl_FindNamespaceVar to resolve all - * variable references within the namespace - * at runtime. */ - Tcl_ResolveCompiledVarProc *compiledVarResProc; - /* If non-null, this procedure overrides - * the usual variable resolution mechanism - * in Tcl. This procedure is invoked - * within LookupCompiledLocal to resolve - * variable references within the namespace - * at compile time. */ -} Namespace; - -/* - * Flags used to represent the status of a namespace: - * - * NS_DYING - 1 means Tcl_DeleteNamespace has been called to delete the - * namespace but there are still active call frames on the Tcl - * stack that refer to the namespace. When the last call frame - * referring to it has been popped, it's variables and command - * will be destroyed and it will be marked "dead" (NS_DEAD). - * The namespace can no longer be looked up by name. - * NS_DEAD - 1 means Tcl_DeleteNamespace has been called to delete the - * namespace and no call frames still refer to it. Its - * variables and command have already been destroyed. This bit - * allows the namespace resolution code to recognize that the - * namespace is "deleted". When the last namespaceName object - * in any byte code code unit that refers to the namespace has - * been freed (i.e., when the namespace's refCount is 0), the - * namespace's storage will be freed. - */ - -#define NS_DYING 0x01 -#define NS_DEAD 0x02 - -/* - * Flag passed to TclGetNamespaceForQualName to have it create all namespace - * components of a namespace-qualified name that cannot be found. The new - * namespaces are created within their specified parent. Note that this - * flag's value must not conflict with the values of the flags - * TCL_GLOBAL_ONLY, TCL_NAMESPACE_ONLY, and FIND_ONLY_NS (defined in - * tclNamesp.c). - */ - -#define CREATE_NS_IF_UNKNOWN 0x800 - -/* - *---------------------------------------------------------------- - * Data structures related to variables. These are used primarily - * in tclVar.c - *---------------------------------------------------------------- - */ - -/* - * The following structure defines a variable trace, which is used to - * invoke a specific C procedure whenever certain operations are performed - * on a variable. - */ - -typedef struct VarTrace { - Tcl_VarTraceProc *traceProc;/* Procedure to call when operations given - * by flags are performed on variable. */ - ClientData clientData; /* Argument to pass to proc. */ - int flags; /* What events the trace procedure is - * interested in: OR-ed combination of - * TCL_TRACE_READS, TCL_TRACE_WRITES, - * TCL_TRACE_UNSETS and TCL_TRACE_ARRAY. */ - struct VarTrace *nextPtr; /* Next in list of traces associated with - * a particular variable. */ -} VarTrace; - -/* - * When a variable trace is active (i.e. its associated procedure is - * executing), one of the following structures is linked into a list - * associated with the variable's interpreter. The information in - * the structure is needed in order for Tcl to behave reasonably - * if traces are deleted while traces are active. - */ - -typedef struct ActiveVarTrace { - struct Var *varPtr; /* Variable that's being traced. */ - struct ActiveVarTrace *nextPtr; - /* Next in list of all active variable - * traces for the interpreter, or NULL - * if no more. */ - VarTrace *nextTracePtr; /* Next trace to check after current - * trace procedure returns; if this - * trace gets deleted, must update pointer - * to avoid using free'd memory. */ -} ActiveVarTrace; - -/* - * The following structure describes an enumerative search in progress on - * an array variable; this are invoked with options to the "array" - * command. - */ - -typedef struct ArraySearch { - int id; /* Integer id used to distinguish among - * multiple concurrent searches for the - * same array. */ - struct Var *varPtr; /* Pointer to array variable that's being - * searched. */ - Tcl_HashSearch search; /* Info kept by the hash module about - * progress through the array. */ - Tcl_HashEntry *nextEntry; /* Non-null means this is the next element - * to be enumerated (it's leftover from - * the Tcl_FirstHashEntry call or from - * an "array anymore" command). NULL - * means must call Tcl_NextHashEntry - * to get value to return. */ - struct ArraySearch *nextPtr;/* Next in list of all active searches - * for this variable, or NULL if this is - * the last one. */ -} ArraySearch; - -/* - * The structure below defines a variable, which associates a string name - * with a Tcl_Obj value. These structures are kept in procedure call frames - * (for local variables recognized by the compiler) or in the heap (for - * global variables and any variable not known to the compiler). For each - * Var structure in the heap, a hash table entry holds the variable name and - * a pointer to the Var structure. - */ - -typedef struct Var { - union { - Tcl_Obj *objPtr; /* The variable's object value. Used for - * scalar variables and array elements. */ - Tcl_HashTable *tablePtr;/* For array variables, this points to - * information about the hash table used - * to implement the associative array. - * Points to malloc-ed data. */ - struct Var *linkPtr; /* If this is a global variable being - * referred to in a procedure, or a variable - * created by "upvar", this field points to - * the referenced variable's Var struct. */ - } value; - char *name; /* NULL if the variable is in a hashtable, - * otherwise points to the variable's - * name. It is used, e.g., by TclLookupVar - * and "info locals". The storage for the - * characters of the name is not owned by - * the Var and must not be freed when - * freeing the Var. */ - Namespace *nsPtr; /* Points to the namespace that contains - * this variable or NULL if the variable is - * a local variable in a Tcl procedure. */ - Tcl_HashEntry *hPtr; /* If variable is in a hashtable, either the - * hash table entry that refers to this - * variable or NULL if the variable has been - * detached from its hash table (e.g. an - * array is deleted, but some of its - * elements are still referred to in - * upvars). NULL if the variable is not in a - * hashtable. This is used to delete an - * variable from its hashtable if it is no - * longer needed. */ - int refCount; /* Counts number of active uses of this - * variable, not including its entry in the - * call frame or the hash table: 1 for each - * additional variable whose linkPtr points - * here, 1 for each nested trace active on - * variable, and 1 if the variable is a - * namespace variable. This record can't be - * deleted until refCount becomes 0. */ - VarTrace *tracePtr; /* First in list of all traces set for this - * variable. */ - ArraySearch *searchPtr; /* First in list of all searches active - * for this variable, or NULL if none. */ - int flags; /* Miscellaneous bits of information about - * variable. See below for definitions. */ -} Var; - -/* - * Flag bits for variables. The first three (VAR_SCALAR, VAR_ARRAY, and - * VAR_LINK) are mutually exclusive and give the "type" of the variable. - * VAR_UNDEFINED is independent of the variable's type. - * - * VAR_SCALAR - 1 means this is a scalar variable and not - * an array or link. The "objPtr" field points - * to the variable's value, a Tcl object. - * VAR_ARRAY - 1 means this is an array variable rather - * than a scalar variable or link. The - * "tablePtr" field points to the array's - * hashtable for its elements. - * VAR_LINK - 1 means this Var structure contains a - * pointer to another Var structure that - * either has the real value or is itself - * another VAR_LINK pointer. Variables like - * this come about through "upvar" and "global" - * commands, or through references to variables - * in enclosing namespaces. - * VAR_UNDEFINED - 1 means that the variable is in the process - * of being deleted. An undefined variable - * logically does not exist and survives only - * while it has a trace, or if it is a global - * variable currently being used by some - * procedure. - * VAR_IN_HASHTABLE - 1 means this variable is in a hashtable and - * the Var structure is malloced. 0 if it is - * a local variable that was assigned a slot - * in a procedure frame by the compiler so the - * Var storage is part of the call frame. - * VAR_TRACE_ACTIVE - 1 means that trace processing is currently - * underway for a read or write access, so - * new read or write accesses should not cause - * trace procedures to be called and the - * variable can't be deleted. - * VAR_ARRAY_ELEMENT - 1 means that this variable is an array - * element, so it is not legal for it to be - * an array itself (the VAR_ARRAY flag had - * better not be set). - * VAR_NAMESPACE_VAR - 1 means that this variable was declared - * as a namespace variable. This flag ensures - * it persists until its namespace is - * destroyed or until the variable is unset; - * it will persist even if it has not been - * initialized and is marked undefined. - * The variable's refCount is incremented to - * reflect the "reference" from its namespace. - * - * The following additional flags are used with the CompiledLocal type - * defined below: - * - * VAR_ARGUMENT - 1 means that this variable holds a procedure - * argument. - * VAR_TEMPORARY - 1 if the local variable is an anonymous - * temporary variable. Temporaries have a NULL - * name. - * VAR_RESOLVED - 1 if name resolution has been done for this - * variable. - */ - -#define VAR_SCALAR 0x1 -#define VAR_ARRAY 0x2 -#define VAR_LINK 0x4 -#define VAR_UNDEFINED 0x8 -#define VAR_IN_HASHTABLE 0x10 -#define VAR_TRACE_ACTIVE 0x20 -#define VAR_ARRAY_ELEMENT 0x40 -#define VAR_NAMESPACE_VAR 0x80 - -#define VAR_ARGUMENT 0x100 -#define VAR_TEMPORARY 0x200 -#define VAR_RESOLVED 0x400 - -/* - * Macros to ensure that various flag bits are set properly for variables. - * The ANSI C "prototypes" for these macros are: - * - * EXTERN void TclSetVarScalar _ANSI_ARGS_((Var *varPtr)); - * EXTERN void TclSetVarArray _ANSI_ARGS_((Var *varPtr)); - * EXTERN void TclSetVarLink _ANSI_ARGS_((Var *varPtr)); - * EXTERN void TclSetVarArrayElement _ANSI_ARGS_((Var *varPtr)); - * EXTERN void TclSetVarUndefined _ANSI_ARGS_((Var *varPtr)); - * EXTERN void TclClearVarUndefined _ANSI_ARGS_((Var *varPtr)); - */ - -#define TclSetVarScalar(varPtr) \ - (varPtr)->flags = ((varPtr)->flags & ~(VAR_ARRAY|VAR_LINK)) | VAR_SCALAR - -#define TclSetVarArray(varPtr) \ - (varPtr)->flags = ((varPtr)->flags & ~(VAR_SCALAR|VAR_LINK)) | VAR_ARRAY - -#define TclSetVarLink(varPtr) \ - (varPtr)->flags = ((varPtr)->flags & ~(VAR_SCALAR|VAR_ARRAY)) | VAR_LINK - -#define TclSetVarArrayElement(varPtr) \ - (varPtr)->flags = ((varPtr)->flags & ~VAR_ARRAY) | VAR_ARRAY_ELEMENT - -#define TclSetVarUndefined(varPtr) \ - (varPtr)->flags |= VAR_UNDEFINED - -#define TclClearVarUndefined(varPtr) \ - (varPtr)->flags &= ~VAR_UNDEFINED - -/* - * Macros to read various flag bits of variables. - * The ANSI C "prototypes" for these macros are: - * - * EXTERN int TclIsVarScalar _ANSI_ARGS_((Var *varPtr)); - * EXTERN int TclIsVarLink _ANSI_ARGS_((Var *varPtr)); - * EXTERN int TclIsVarArray _ANSI_ARGS_((Var *varPtr)); - * EXTERN int TclIsVarUndefined _ANSI_ARGS_((Var *varPtr)); - * EXTERN int TclIsVarArrayElement _ANSI_ARGS_((Var *varPtr)); - * EXTERN int TclIsVarTemporary _ANSI_ARGS_((Var *varPtr)); - * EXTERN int TclIsVarArgument _ANSI_ARGS_((Var *varPtr)); - * EXTERN int TclIsVarResolved _ANSI_ARGS_((Var *varPtr)); - */ - -#define TclIsVarScalar(varPtr) \ - ((varPtr)->flags & VAR_SCALAR) - -#define TclIsVarLink(varPtr) \ - ((varPtr)->flags & VAR_LINK) - -#define TclIsVarArray(varPtr) \ - ((varPtr)->flags & VAR_ARRAY) - -#define TclIsVarUndefined(varPtr) \ - ((varPtr)->flags & VAR_UNDEFINED) - -#define TclIsVarArrayElement(varPtr) \ - ((varPtr)->flags & VAR_ARRAY_ELEMENT) - -#define TclIsVarTemporary(varPtr) \ - ((varPtr)->flags & VAR_TEMPORARY) - -#define TclIsVarArgument(varPtr) \ - ((varPtr)->flags & VAR_ARGUMENT) - -#define TclIsVarResolved(varPtr) \ - ((varPtr)->flags & VAR_RESOLVED) - -/* - *---------------------------------------------------------------- - * Data structures related to procedures. These are used primarily - * in tclProc.c, tclCompile.c, and tclExecute.c. - *---------------------------------------------------------------- - */ - -/* - * Forward declaration to prevent an error when the forward reference to - * Command is encountered in the Proc and ImportRef types declared below. - */ - -struct Command; - -/* - * The variable-length structure below describes a local variable of a - * procedure that was recognized by the compiler. These variables have a - * name, an element in the array of compiler-assigned local variables in the - * procedure's call frame, and various other items of information. If the - * local variable is a formal argument, it may also have a default value. - * The compiler can't recognize local variables whose names are - * expressions (these names are only known at runtime when the expressions - * are evaluated) or local variables that are created as a result of an - * "upvar" or "uplevel" command. These other local variables are kept - * separately in a hash table in the call frame. - */ - -typedef struct CompiledLocal { - struct CompiledLocal *nextPtr; - /* Next compiler-recognized local variable - * for this procedure, or NULL if this is - * the last local. */ - int nameLength; /* The number of characters in local - * variable's name. Used to speed up - * variable lookups. */ - int frameIndex; /* Index in the array of compiler-assigned - * variables in the procedure call frame. */ - int flags; /* Flag bits for the local variable. Same as - * the flags for the Var structure above, - * although only VAR_SCALAR, VAR_ARRAY, - * VAR_LINK, VAR_ARGUMENT, VAR_TEMPORARY, and - * VAR_RESOLVED make sense. */ - Tcl_Obj *defValuePtr; /* Pointer to the default value of an - * argument, if any. NULL if not an argument - * or, if an argument, no default value. */ - Tcl_ResolvedVarInfo *resolveInfo; - /* Customized variable resolution info - * supplied by the Tcl_ResolveCompiledVarProc - * associated with a namespace. Each variable - * is marked by a unique ClientData tag - * during compilation, and that same tag - * is used to find the variable at runtime. */ - char name[4]; /* Name of the local variable starts here. - * If the name is NULL, this will just be - * '\0'. The actual size of this field will - * be large enough to hold the name. MUST - * BE THE LAST FIELD IN THE STRUCTURE! */ -} CompiledLocal; - -/* - * The structure below defines a command procedure, which consists of a - * collection of Tcl commands plus information about arguments and other - * local variables recognized at compile time. - */ - -typedef struct Proc { - struct Interp *iPtr; /* Interpreter for which this command - * is defined. */ - int refCount; /* Reference count: 1 if still present - * in command table plus 1 for each call - * to the procedure that is currently - * active. This structure can be freed - * when refCount becomes zero. */ - struct Command *cmdPtr; /* Points to the Command structure for - * this procedure. This is used to get - * the namespace in which to execute - * the procedure. */ - Tcl_Obj *bodyPtr; /* Points to the ByteCode object for - * procedure's body command. */ - int numArgs; /* Number of formal parameters. */ - int numCompiledLocals; /* Count of local variables recognized by - * the compiler including arguments and - * temporaries. */ - CompiledLocal *firstLocalPtr; /* Pointer to first of the procedure's - * compiler-allocated local variables, or - * NULL if none. The first numArgs entries - * in this list describe the procedure's - * formal arguments. */ - CompiledLocal *lastLocalPtr; /* Pointer to the last allocated local - * variable or NULL if none. This has - * frame index (numCompiledLocals-1). */ -} Proc; - -/* - * The structure below defines a command trace. This is used to allow Tcl - * clients to find out whenever a command is about to be executed. - */ - -typedef struct Trace { - int level; /* Only trace commands at nesting level - * less than or equal to this. */ - Tcl_CmdTraceProc *proc; /* Procedure to call to trace command. */ - ClientData clientData; /* Arbitrary value to pass to proc. */ - struct Trace *nextPtr; /* Next in list of traces for this interp. */ -} Trace; - -/* - * The structure below defines an entry in the assocData hash table which - * is associated with an interpreter. The entry contains a pointer to a - * function to call when the interpreter is deleted, and a pointer to - * a user-defined piece of data. - */ - -typedef struct AssocData { - Tcl_InterpDeleteProc *proc; /* Proc to call when deleting. */ - ClientData clientData; /* Value to pass to proc. */ -} AssocData; - -/* - * The structure below defines a call frame. A call frame defines a naming - * context for a procedure call: its local naming scope (for local - * variables) and its global naming scope (a namespace, perhaps the global - * :: namespace). A call frame can also define the naming context for a - * namespace eval or namespace inscope command: the namespace in which the - * command's code should execute. The Tcl_CallFrame structures exist only - * while procedures or namespace eval/inscope's are being executed, and - * provide a kind of Tcl call stack. - * - * WARNING!! The structure definition must be kept consistent with the - * Tcl_CallFrame structure in tcl.h. If you change one, change the other. - */ - -typedef struct CallFrame { - Namespace *nsPtr; /* Points to the namespace used to resolve - * commands and global variables. */ - int isProcCallFrame; /* If nonzero, the frame was pushed to - * execute a Tcl procedure and may have - * local vars. If 0, the frame was pushed - * to execute a namespace command and var - * references are treated as references to - * namespace vars; varTablePtr and - * compiledLocals are ignored. */ - int objc; /* This and objv below describe the - * arguments for this procedure call. */ - Tcl_Obj *CONST *objv; /* Array of argument objects. */ - struct CallFrame *callerPtr; - /* Value of interp->framePtr when this - * procedure was invoked (i.e. next higher - * in stack of all active procedures). */ - struct CallFrame *callerVarPtr; - /* Value of interp->varFramePtr when this - * procedure was invoked (i.e. determines - * variable scoping within caller). Same - * as callerPtr unless an "uplevel" command - * or something equivalent was active in - * the caller). */ - int level; /* Level of this procedure, for "uplevel" - * purposes (i.e. corresponds to nesting of - * callerVarPtr's, not callerPtr's). 1 for - * outermost procedure, 0 for top-level. */ - Proc *procPtr; /* Points to the structure defining the - * called procedure. Used to get information - * such as the number of compiled local - * variables (local variables assigned - * entries ["slots"] in the compiledLocals - * array below). */ - Tcl_HashTable *varTablePtr; /* Hash table containing local variables not - * recognized by the compiler, or created at - * execution time through, e.g., upvar. - * Initially NULL and created if needed. */ - int numCompiledLocals; /* Count of local variables recognized by - * the compiler including arguments. */ - Var* compiledLocals; /* Points to the array of local variables - * recognized by the compiler. The compiler - * emits code that refers to these variables - * using an index into this array. */ -} CallFrame; - -/* - *---------------------------------------------------------------- - * Data structures and procedures related to TclHandles, which - * are a very lightweight method of preserving enough information - * to determine if an arbitrary malloc'd block has been deleted. - *---------------------------------------------------------------- - */ - -typedef VOID **TclHandle; - -EXTERN TclHandle TclHandleCreate _ANSI_ARGS_((VOID *ptr)); -EXTERN void TclHandleFree _ANSI_ARGS_((TclHandle handle)); -EXTERN TclHandle TclHandlePreserve _ANSI_ARGS_((TclHandle handle)); -EXTERN void TclHandleRelease _ANSI_ARGS_((TclHandle handle)); - -/* - *---------------------------------------------------------------- - * Data structures related to history. These are used primarily - * in tclHistory.c - *---------------------------------------------------------------- - */ - -/* - * The structure below defines one history event (a previously-executed - * command that can be re-executed in whole or in part). - */ - -typedef struct { - char *command; /* String containing previously-executed - * command. */ - int bytesAvl; /* Total # of bytes available at *event (not - * all are necessarily in use now). */ -} HistoryEvent; - -/* - * The structure below defines a pending revision to the most recent - * history event. Changes are linked together into a list and applied - * during the next call to Tcl_RecordHistory. See the comments at the - * beginning of tclHistory.c for information on revisions. - */ - -typedef struct HistoryRev { - int firstIndex; /* Index of the first byte to replace in - * current history event. */ - int lastIndex; /* Index of last byte to replace in - * current history event. */ - int newSize; /* Number of bytes in newBytes. */ - char *newBytes; /* Replacement for the range given by - * firstIndex and lastIndex (malloced). */ - struct HistoryRev *nextPtr; /* Next in chain of revisions to apply, or - * NULL for end of list. */ -} HistoryRev; - -/* - *---------------------------------------------------------------- - * Data structures related to expressions. These are used only in - * tclExpr.c. - *---------------------------------------------------------------- - */ - -/* - * The data structure below defines a math function (e.g. sin or hypot) - * for use in Tcl expressions. - */ - -#define MAX_MATH_ARGS 5 -typedef struct MathFunc { - int builtinFuncIndex; /* If this is a builtin math function, its - * index in the array of builtin functions. - * (tclCompilation.h lists these indices.) - * The value is -1 if this is a new function - * defined by Tcl_CreateMathFunc. The value - * is also -1 if a builtin function is - * replaced by a Tcl_CreateMathFunc call. */ - int numArgs; /* Number of arguments for function. */ - Tcl_ValueType argTypes[MAX_MATH_ARGS]; - /* Acceptable types for each argument. */ - Tcl_MathProc *proc; /* Procedure that implements this function. - * NULL if isBuiltinFunc is 1. */ - ClientData clientData; /* Additional argument to pass to the - * function when invoking it. NULL if - * isBuiltinFunc is 1. */ -} MathFunc; - -/* - * These are a thin layer over TclpThreadKeyDataGet and TclpThreadKeyDataSet - * when threads are used, or an emulation if there are no threads. These - * are really internal and Tcl clients should use Tcl_GetThreadData. - */ - -EXTERN VOID *TclThreadDataKeyGet _ANSI_ARGS_((Tcl_ThreadDataKey *keyPtr)); -EXTERN void TclThreadDataKeySet _ANSI_ARGS_((Tcl_ThreadDataKey *keyPtr, VOID *data)); - -/* - * This is a convenience macro used to initialize a thread local storage ptr. - */ -#define TCL_TSD_INIT(keyPtr) (ThreadSpecificData *)Tcl_GetThreadData((keyPtr), sizeof(ThreadSpecificData)) - - -#ifdef MAC_TCL -typedef pascal void *(Tcl_ThreadCreateProc) _ANSI_ARGS_((ClientData clientData)); -#else -typedef void (Tcl_ThreadCreateProc) _ANSI_ARGS_((ClientData clientData)); -#endif - -/* - *---------------------------------------------------------------- - * Data structures related to bytecode compilation and execution. - * These are used primarily in tclCompile.c, tclExecute.c, and - * tclBasic.c. - *---------------------------------------------------------------- - */ - -/* - * Forward declaration to prevent errors when the forward references to - * Tcl_Parse and CompileEnv are encountered in the procedure type - * CompileProc declared below. - */ - -struct CompileEnv; - -/* - * The type of procedures called by the Tcl bytecode compiler to compile - * commands. Pointers to these procedures are kept in the Command structure - * describing each command. When a CompileProc returns, the interpreter's - * result is set to error information, if any. In addition, the CompileProc - * returns an integer value, which is one of the following: - * - * TCL_OK Compilation completed normally. - * TCL_ERROR Compilation failed because of an error; - * the interpreter's result describes what went wrong. - * TCL_OUT_LINE_COMPILE Compilation failed because, e.g., the command is - * too complex for effective inline compilation. The - * CompileProc believes the command is legal but - * should be compiled "out of line" by emitting code - * to invoke its command procedure at runtime. - */ - -#define TCL_OUT_LINE_COMPILE (TCL_CONTINUE + 1) - -typedef int (CompileProc) _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *compEnvPtr)); - -/* - * The type of procedure called from the compilation hook point in - * SetByteCodeFromAny. - */ - -typedef int (CompileHookProc) _ANSI_ARGS_((Tcl_Interp *interp, - struct CompileEnv *compEnvPtr, ClientData clientData)); - -/* - * The data structure defining the execution environment for ByteCode's. - * There is one ExecEnv structure per Tcl interpreter. It holds the - * evaluation stack that holds command operands and results. The stack grows - * towards increasing addresses. The "stackTop" member is cached by - * TclExecuteByteCode in a local variable: it must be set before calling - * TclExecuteByteCode and will be restored by TclExecuteByteCode before it - * returns. - */ - -typedef struct ExecEnv { - Tcl_Obj **stackPtr; /* Points to the first item in the - * evaluation stack on the heap. */ - int stackTop; /* Index of current top of stack; -1 when - * the stack is empty. */ - int stackEnd; /* Index of last usable item in stack. */ -} ExecEnv; - -/* - * The definitions for the LiteralTable and LiteralEntry structures. Each - * interpreter contains a LiteralTable. It is used to reduce the storage - * needed for all the Tcl objects that hold the literals of scripts compiled - * by the interpreter. A literal's object is shared by all the ByteCodes - * that refer to the literal. Each distinct literal has one LiteralEntry - * entry in the LiteralTable. A literal table is a specialized hash table - * that is indexed by the literal's string representation, which may contain - * null characters. - * - * Note that we reduce the space needed for literals by sharing literal - * objects both within a ByteCode (each ByteCode contains a local - * LiteralTable) and across all an interpreter's ByteCodes (with the - * interpreter's global LiteralTable). - */ - -typedef struct LiteralEntry { - struct LiteralEntry *nextPtr; /* Points to next entry in this - * hash bucket or NULL if end of - * chain. */ - Tcl_Obj *objPtr; /* Points to Tcl object that - * holds the literal's bytes and - * length. */ - int refCount; /* If in an interpreter's global - * literal table, the number of - * ByteCode structures that share - * the literal object; the literal - * entry can be freed when refCount - * drops to 0. If in a local literal - * table, -1. */ -} LiteralEntry; - -typedef struct LiteralTable { - LiteralEntry **buckets; /* Pointer to bucket array. Each - * element points to first entry in - * bucket's hash chain, or NULL. */ - LiteralEntry *staticBuckets[TCL_SMALL_HASH_TABLE]; - /* Bucket array used for small - * tables to avoid mallocs and - * frees. */ - int numBuckets; /* Total number of buckets allocated - * at **buckets. */ - int numEntries; /* Total number of entries present - * in table. */ - int rebuildSize; /* Enlarge table when numEntries - * gets to be this large. */ - int mask; /* Mask value used in hashing - * function. */ -} LiteralTable; - -/* - * The following structure defines for each Tcl interpreter various - * statistics-related information about the bytecode compiler and - * interpreter's operation in that interpreter. - */ - -#ifdef TCL_COMPILE_STATS -typedef struct ByteCodeStats { - long numExecutions; /* Number of ByteCodes executed. */ - long numCompilations; /* Number of ByteCodes created. */ - long numByteCodesFreed; /* Number of ByteCodes destroyed. */ - long instructionCount[256]; /* Number of times each instruction was - * executed. */ - - double totalSrcBytes; /* Total source bytes ever compiled. */ - double totalByteCodeBytes; /* Total bytes for all ByteCodes. */ - double currentSrcBytes; /* Src bytes for all current ByteCodes. */ - double currentByteCodeBytes; /* Code bytes in all current ByteCodes. */ - - long srcCount[32]; /* Source size distribution: # of srcs of - * size [2**(n-1)..2**n), n in [0..32). */ - long byteCodeCount[32]; /* ByteCode size distribution. */ - long lifetimeCount[32]; /* ByteCode lifetime distribution (ms). */ - - double currentInstBytes; /* Instruction bytes-current ByteCodes. */ - double currentLitBytes; /* Current literal bytes. */ - double currentExceptBytes; /* Current exception table bytes. */ - double currentAuxBytes; /* Current auxiliary information bytes. */ - double currentCmdMapBytes; /* Current src<->code map bytes. */ - - long numLiteralsCreated; /* Total literal objects ever compiled. */ - double totalLitStringBytes; /* Total string bytes in all literals. */ - double currentLitStringBytes; /* String bytes in current literals. */ - long literalCount[32]; /* Distribution of literal string sizes. */ -} ByteCodeStats; -#endif /* TCL_COMPILE_STATS */ - -/* - *---------------------------------------------------------------- - * Data structures related to commands. - *---------------------------------------------------------------- - */ - -/* - * An imported command is created in an namespace when it imports a "real" - * command from another namespace. An imported command has a Command - * structure that points (via its ClientData value) to the "real" Command - * structure in the source namespace's command table. The real command - * records all the imported commands that refer to it in a list of ImportRef - * structures so that they can be deleted when the real command is deleted. */ - -typedef struct ImportRef { - struct Command *importedCmdPtr; - /* Points to the imported command created in - * an importing namespace; this command - * redirects its invocations to the "real" - * command. */ - struct ImportRef *nextPtr; /* Next element on the linked list of - * imported commands that refer to the - * "real" command. The real command deletes - * these imported commands on this list when - * it is deleted. */ -} ImportRef; - -/* - * Data structure used as the ClientData of imported commands: commands - * created in an namespace when it imports a "real" command from another - * namespace. - */ - -typedef struct ImportedCmdData { - struct Command *realCmdPtr; /* "Real" command that this imported command - * refers to. */ - struct Command *selfPtr; /* Pointer to this imported command. Needed - * only when deleting it in order to remove - * it from the real command's linked list of - * imported commands that refer to it. */ -} ImportedCmdData; - -/* - * A Command structure exists for each command in a namespace. The - * Tcl_Command opaque type actually refers to these structures. - */ - -typedef struct Command { - Tcl_HashEntry *hPtr; /* Pointer to the hash table entry that - * refers to this command. The hash table is - * either a namespace's command table or an - * interpreter's hidden command table. This - * pointer is used to get a command's name - * from its Tcl_Command handle. NULL means - * that the hash table entry has been - * removed already (this can happen if - * deleteProc causes the command to be - * deleted or recreated). */ - Namespace *nsPtr; /* Points to the namespace containing this - * command. */ - int refCount; /* 1 if in command hashtable plus 1 for each - * reference from a CmdName Tcl object - * representing a command's name in a - * ByteCode instruction sequence. This - * structure can be freed when refCount - * becomes zero. */ - int cmdEpoch; /* Incremented to invalidate any references - * that point to this command when it is - * renamed, deleted, hidden, or exposed. */ - CompileProc *compileProc; /* Procedure called to compile command. NULL - * if no compile proc exists for command. */ - Tcl_ObjCmdProc *objProc; /* Object-based command procedure. */ - ClientData objClientData; /* Arbitrary value passed to object proc. */ - Tcl_CmdProc *proc; /* String-based command procedure. */ - ClientData clientData; /* Arbitrary value passed to string proc. */ - Tcl_CmdDeleteProc *deleteProc; - /* Procedure invoked when deleting command - * to, e.g., free all client data. */ - ClientData deleteData; /* Arbitrary value passed to deleteProc. */ - int deleted; /* Means that the command is in the process - * of being deleted (its deleteProc is - * currently executing). Other attempts to - * delete the command should be ignored. */ - ImportRef *importRefPtr; /* List of each imported Command created in - * another namespace when this command is - * imported. These imported commands - * redirect invocations back to this - * command. The list is used to remove all - * those imported commands when deleting - * this "real" command. */ -} Command; - -/* - *---------------------------------------------------------------- - * Data structures related to name resolution procedures. - *---------------------------------------------------------------- - */ - -/* - * The interpreter keeps a linked list of name resolution schemes. - * The scheme for a namespace is consulted first, followed by the - * list of schemes in an interpreter, followed by the default - * name resolution in Tcl. Schemes are added/removed from the - * interpreter's list by calling Tcl_AddInterpResolver and - * Tcl_RemoveInterpResolver. - */ - -typedef struct ResolverScheme { - char *name; /* Name identifying this scheme. */ - Tcl_ResolveCmdProc *cmdResProc; - /* Procedure handling command name - * resolution. */ - Tcl_ResolveVarProc *varResProc; - /* Procedure handling variable name - * resolution for variables that - * can only be handled at runtime. */ - Tcl_ResolveCompiledVarProc *compiledVarResProc; - /* Procedure handling variable name - * resolution at compile time. */ - - struct ResolverScheme *nextPtr; - /* Pointer to next record in linked list. */ -} ResolverScheme; - -/* - *---------------------------------------------------------------- - * This structure defines an interpreter, which is a collection of - * commands plus other state information related to interpreting - * commands, such as variable storage. Primary responsibility for - * this data structure is in tclBasic.c, but almost every Tcl - * source file uses something in here. - *---------------------------------------------------------------- - */ - -typedef struct Interp { - - /* - * Note: the first three fields must match exactly the fields in - * a Tcl_Interp struct (see tcl.h). If you change one, be sure to - * change the other. - * - * The interpreter's result is held in both the string and the - * objResultPtr fields. These fields hold, respectively, the result's - * string or object value. The interpreter's result is always in the - * result field if that is non-empty, otherwise it is in objResultPtr. - * The two fields are kept consistent unless some C code sets - * interp->result directly. Programs should not access result and - * objResultPtr directly; instead, they should always get and set the - * result using procedures such as Tcl_SetObjResult, Tcl_GetObjResult, - * and Tcl_GetStringResult. See the SetResult man page for details. - */ - - char *result; /* If the last command returned a string - * result, this points to it. Should not be - * accessed directly; see comment above. */ - Tcl_FreeProc *freeProc; /* Zero means a string result is statically - * allocated. TCL_DYNAMIC means string - * result was allocated with ckalloc and - * should be freed with ckfree. Other values - * give address of procedure to invoke to - * free the string result. Tcl_Eval must - * free it before executing next command. */ - int errorLine; /* When TCL_ERROR is returned, this gives - * the line number in the command where the - * error occurred (1 means first line). */ - struct TclStubs *stubTable; - /* Pointer to the exported Tcl stub table. - * On previous versions of Tcl this is a - * pointer to the objResultPtr or a pointer - * to a buckets array in a hash table. We - * therefore have to do some careful checking - * before we can use this. */ - - TclHandle handle; /* Handle used to keep track of when this - * interp is deleted. */ - - Namespace *globalNsPtr; /* The interpreter's global namespace. */ - Tcl_HashTable *hiddenCmdTablePtr; - /* Hash table used by tclBasic.c to keep - * track of hidden commands on a per-interp - * basis. */ - ClientData interpInfo; /* Information used by tclInterp.c to keep - * track of master/slave interps on - * a per-interp basis. */ - Tcl_HashTable mathFuncTable;/* Contains all the math functions currently - * defined for the interpreter. Indexed by - * strings (function names); values have - * type (MathFunc *). */ - - - - /* - * Information related to procedures and variables. See tclProc.c - * and tclvar.c for usage. - */ - - int numLevels; /* Keeps track of how many nested calls to - * Tcl_Eval are in progress for this - * interpreter. It's used to delay deletion - * of the table until all Tcl_Eval - * invocations are completed. */ - int maxNestingDepth; /* If numLevels exceeds this value then Tcl - * assumes that infinite recursion has - * occurred and it generates an error. */ - CallFrame *framePtr; /* Points to top-most in stack of all nested - * procedure invocations. NULL means there - * are no active procedures. */ - CallFrame *varFramePtr; /* Points to the call frame whose variables - * are currently in use (same as framePtr - * unless an "uplevel" command is - * executing). NULL means no procedure is - * active or "uplevel 0" is executing. */ - ActiveVarTrace *activeTracePtr; - /* First in list of active traces for - * interp, or NULL if no active traces. */ - int returnCode; /* Completion code to return if current - * procedure exits with TCL_RETURN code. */ - char *errorInfo; /* Value to store in errorInfo if returnCode - * is TCL_ERROR. Malloc'ed, may be NULL */ - char *errorCode; /* Value to store in errorCode if returnCode - * is TCL_ERROR. Malloc'ed, may be NULL */ - - /* - * Information used by Tcl_AppendResult to keep track of partial - * results. See Tcl_AppendResult code for details. - */ - - char *appendResult; /* Storage space for results generated - * by Tcl_AppendResult. Malloc-ed. NULL - * means not yet allocated. */ - int appendAvl; /* Total amount of space available at - * partialResult. */ - int appendUsed; /* Number of non-null bytes currently - * stored at partialResult. */ - - /* - * Information about packages. Used only in tclPkg.c. - */ - - Tcl_HashTable packageTable; /* Describes all of the packages loaded - * in or available to this interpreter. - * Keys are package names, values are - * (Package *) pointers. */ - char *packageUnknown; /* Command to invoke during "package - * require" commands for packages that - * aren't described in packageTable. - * Malloc'ed, may be NULL. */ - - /* - * Miscellaneous information: - */ - - int cmdCount; /* Total number of times a command procedure - * has been called for this interpreter. */ - int evalFlags; /* Flags to control next call to Tcl_Eval. - * Normally zero, but may be set before - * calling Tcl_Eval. See below for valid - * values. */ - int termOffset; /* Offset of character just after last one - * compiled or executed by Tcl_EvalObj. */ - LiteralTable literalTable; /* Contains LiteralEntry's describing all - * Tcl objects holding literals of scripts - * compiled by the interpreter. Indexed by - * the string representations of literals. - * Used to avoid creating duplicate - * objects. */ - int compileEpoch; /* Holds the current "compilation epoch" - * for this interpreter. This is - * incremented to invalidate existing - * ByteCodes when, e.g., a command with a - * compile procedure is redefined. */ - Proc *compiledProcPtr; /* If a procedure is being compiled, a - * pointer to its Proc structure; otherwise, - * this is NULL. Set by ObjInterpProc in - * tclProc.c and used by tclCompile.c to - * process local variables appropriately. */ - ResolverScheme *resolverPtr; - /* Linked list of name resolution schemes - * added to this interpreter. Schemes - * are added/removed by calling - * Tcl_AddInterpResolvers and - * Tcl_RemoveInterpResolver. */ - char *scriptFile; /* NULL means there is no nested source - * command active; otherwise this points to - * the name of the file being sourced (it's - * not malloc-ed: it points to an argument - * to Tcl_EvalFile. */ - int flags; /* Various flag bits. See below. */ - long randSeed; /* Seed used for rand() function. */ - Trace *tracePtr; /* List of traces for this interpreter. */ - Tcl_HashTable *assocData; /* Hash table for associating data with - * this interpreter. Cleaned up when - * this interpreter is deleted. */ - struct ExecEnv *execEnvPtr; /* Execution environment for Tcl bytecode - * execution. Contains a pointer to the - * Tcl evaluation stack. */ - Tcl_Obj *emptyObjPtr; /* Points to an object holding an empty - * string. Returned by Tcl_ObjSetVar2 when - * variable traces change a variable in a - * gross way. */ - char resultSpace[TCL_RESULT_SIZE+1]; - /* Static space holding small results. */ - Tcl_Obj *objResultPtr; /* If the last command returned an object - * result, this points to it. Should not be - * accessed directly; see comment above. */ - Tcl_ThreadId threadId; /* ID of thread that owns the interpreter */ - - /* - * Statistical information about the bytecode compiler and interpreter's - * operation. - */ - -#ifdef TCL_COMPILE_STATS - ByteCodeStats stats; /* Holds compilation and execution - * statistics for this interpreter. */ -#endif /* TCL_COMPILE_STATS */ -} Interp; - -/* - * EvalFlag bits for Interp structures: - * - * TCL_BRACKET_TERM 1 means that the current script is terminated by - * a close bracket rather than the end of the string. - * TCL_ALLOW_EXCEPTIONS 1 means it's OK for the script to terminate with - * a code other than TCL_OK or TCL_ERROR; 0 means - * codes other than these should be turned into errors. - */ - -#define TCL_BRACKET_TERM 1 -#define TCL_ALLOW_EXCEPTIONS 4 - -/* - * Flag bits for Interp structures: - * - * DELETED: Non-zero means the interpreter has been deleted: - * don't process any more commands for it, and destroy - * the structure as soon as all nested invocations of - * Tcl_Eval are done. - * ERR_IN_PROGRESS: Non-zero means an error unwind is already in - * progress. Zero means a command proc has been - * invoked since last error occured. - * ERR_ALREADY_LOGGED: Non-zero means information has already been logged - * in $errorInfo for the current Tcl_Eval instance, - * so Tcl_Eval needn't log it (used to implement the - * "error message log" command). - * ERROR_CODE_SET: Non-zero means that Tcl_SetErrorCode has been - * called to record information for the current - * error. Zero means Tcl_Eval must clear the - * errorCode variable if an error is returned. - * EXPR_INITIALIZED: Non-zero means initialization specific to - * expressions has been carried out. - * DONT_COMPILE_CMDS_INLINE: Non-zero means that the bytecode compiler - * should not compile any commands into an inline - * sequence of instructions. This is set 1, for - * example, when command traces are requested. - * RAND_SEED_INITIALIZED: Non-zero means that the randSeed value of the - * interp has not be initialized. This is set 1 - * when we first use the rand() or srand() functions. - * SAFE_INTERP: Non zero means that the current interp is a - * safe interp (ie it has only the safe commands - * installed, less priviledge than a regular interp). - * USE_EVAL_DIRECT: Non-zero means don't use the compiler or byte-code - * interpreter; instead, have Tcl_EvalObj call - * Tcl_EvalEx. Used primarily for testing the - * new parser. - */ - -#define DELETED 1 -#define ERR_IN_PROGRESS 2 -#define ERR_ALREADY_LOGGED 4 -#define ERROR_CODE_SET 8 -#define EXPR_INITIALIZED 0x10 -#define DONT_COMPILE_CMDS_INLINE 0x20 -#define RAND_SEED_INITIALIZED 0x40 -#define SAFE_INTERP 0x80 -#define USE_EVAL_DIRECT 0x100 - -/* - *---------------------------------------------------------------- - * Data structures related to command parsing. These are used in - * tclParse.c and its clients. - *---------------------------------------------------------------- - */ - -/* - * The following data structure is used by various parsing procedures - * to hold information about where to store the results of parsing - * (e.g. the substituted contents of a quoted argument, or the result - * of a nested command). At any given time, the space available - * for output is fixed, but a procedure may be called to expand the - * space available if the current space runs out. - */ - -typedef struct ParseValue { - char *buffer; /* Address of first character in - * output buffer. */ - char *next; /* Place to store next character in - * output buffer. */ - char *end; /* Address of the last usable character - * in the buffer. */ - void (*expandProc) _ANSI_ARGS_((struct ParseValue *pvPtr, int needed)); - /* Procedure to call when space runs out; - * it will make more space. */ - ClientData clientData; /* Arbitrary information for use of - * expandProc. */ -} ParseValue; - - -/* - * Maximum number of levels of nesting permitted in Tcl commands (used - * to catch infinite recursion). - */ - -#define MAX_NESTING_DEPTH 1000 - -/* - * The macro below is used to modify a "char" value (e.g. by casting - * it to an unsigned character) so that it can be used safely with - * macros such as isspace. - */ - -#define UCHAR(c) ((unsigned char) (c)) - -/* - * This macro is used to determine the offset needed to safely allocate any - * data structure in memory. Given a starting offset or size, it "rounds up" - * or "aligns" the offset to the next 8-byte boundary so that any data - * structure can be placed at the resulting offset without fear of an - * alignment error. - * - * WARNING!! DO NOT USE THIS MACRO TO ALIGN POINTERS: it will produce - * the wrong result on platforms that allocate addresses that are divisible - * by 4 or 2. Only use it for offsets or sizes. - */ - -#define TCL_ALIGN(x) (((int)(x) + 7) & ~7) - -/* - * The following macros are used to specify the runtime platform - * setting of the tclPlatform variable. - */ - -typedef enum { - TCL_PLATFORM_UNIX, /* Any Unix-like OS. */ - TCL_PLATFORM_MAC, /* MacOS. */ - TCL_PLATFORM_WINDOWS /* Any Microsoft Windows OS. */ -} TclPlatformType; - -/* - * Flags for TclInvoke: - * - * TCL_INVOKE_HIDDEN Invoke a hidden command; if not set, - * invokes an exposed command. - * TCL_INVOKE_NO_UNKNOWN If set, "unknown" is not invoked if - * the command to be invoked is not found. - * Only has an effect if invoking an exposed - * command, i.e. if TCL_INVOKE_HIDDEN is not - * also set. - * TCL_INVOKE_NO_TRACEBACK Does not record traceback information if - * the invoked command returns an error. Used - * if the caller plans on recording its own - * traceback information. - */ - -#define TCL_INVOKE_HIDDEN (1<<0) -#define TCL_INVOKE_NO_UNKNOWN (1<<1) -#define TCL_INVOKE_NO_TRACEBACK (1<<2) - -/* - * The structure used as the internal representation of Tcl list - * objects. This is an array of pointers to the element objects. This array - * is grown (reallocated and copied) as necessary to hold all the list's - * element pointers. The array might contain more slots than currently used - * to hold all element pointers. This is done to make append operations - * faster. - */ - -typedef struct List { - int maxElemCount; /* Total number of element array slots. */ - int elemCount; /* Current number of list elements. */ - Tcl_Obj **elements; /* Array of pointers to element objects. */ -} List; - - -/* - * The following types are used for getting and storing platform-specific - * file attributes in tclFCmd.c and the various platform-versions of - * that file. This is done to have as much common code as possible - * in the file attributes code. For more information about the callbacks, - * see TclFileAttrsCmd in tclFCmd.c. - */ - -typedef int (TclGetFileAttrProc) _ANSI_ARGS_((Tcl_Interp *interp, - int objIndex, CONST char *fileName, Tcl_Obj **attrObjPtrPtr)); -typedef int (TclSetFileAttrProc) _ANSI_ARGS_((Tcl_Interp *interp, - int objIndex, CONST char *fileName, Tcl_Obj *attrObjPtr)); - -typedef struct TclFileAttrProcs { - TclGetFileAttrProc *getProc; /* The procedure for getting attrs. */ - TclSetFileAttrProc *setProc; /* The procedure for setting attrs. */ -} TclFileAttrProcs; - -/* - * Opaque handle used in pipeline routines to encapsulate platform-dependent - * state. - */ - -typedef struct TclFile_ *TclFile; - -/* - *---------------------------------------------------------------- - * Data structures related to hooking 'TclStat(...)' and - * 'TclAccess(...)'. - *---------------------------------------------------------------- - */ - -typedef int (TclStatProc_) _ANSI_ARGS_((CONST char *path, struct stat *buf)); -typedef int (TclAccessProc_) _ANSI_ARGS_((CONST char *path, int mode)); -typedef Tcl_Channel (TclOpenFileChannelProc_) _ANSI_ARGS_((Tcl_Interp *interp, - char *fileName, char *modeString, - int permissions)); - -typedef int (*TclCmdProcType) _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char *argv[])); -typedef int (*TclObjCmdProcType) _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, struct Tcl_Obj * CONST objv[])); - -/* - * Opaque names for platform specific types. - */ - -typedef struct TclpTime_t_ *TclpTime_t; - -/* - *---------------------------------------------------------------- - * Variables shared among Tcl modules but not used by the outside world. - *---------------------------------------------------------------- - */ - -extern Tcl_Time tclBlockTime; -extern int tclBlockTimeSet; -extern char * tclExecutableName; -extern char * tclNativeExecutableName; -extern char * tclDefaultEncodingDir; -extern Tcl_ChannelType tclFileChannelType; -extern char * tclMemDumpFileName; -extern TclPlatformType tclPlatform; -extern char * tclpFileAttrStrings[]; -extern CONST TclFileAttrProcs tclpFileAttrProcs[]; - -/* - * Variables denoting the Tcl object types defined in the core. - */ - -extern Tcl_ObjType tclBooleanType; -extern Tcl_ObjType tclByteArrayType; -extern Tcl_ObjType tclByteCodeType; -extern Tcl_ObjType tclDoubleType; -extern Tcl_ObjType tclIntType; -extern Tcl_ObjType tclListType; -extern Tcl_ObjType tclProcBodyType; -extern Tcl_ObjType tclStringType; - -/* - * The head of the list of free Tcl objects, and the total number of Tcl - * objects ever allocated and freed. - */ - -extern Tcl_Obj * tclFreeObjList; - -#ifdef TCL_COMPILE_STATS -extern long tclObjsAlloced; -extern long tclObjsFreed; -#endif /* TCL_COMPILE_STATS */ - -/* - * Pointer to a heap-allocated string of length zero that the Tcl core uses - * as the value of an empty string representation for an object. This value - * is shared by all new objects allocated by Tcl_NewObj. - */ - -extern char * tclEmptyStringRep; - -/* - *---------------------------------------------------------------- - * Procedures shared among Tcl modules but not used by the outside - * world: - *---------------------------------------------------------------- - */ - -EXTERN int TclAccess _ANSI_ARGS_((CONST char *path, - int mode)); -EXTERN int TclAccessDeleteProc _ANSI_ARGS_((TclAccessProc_ *proc)); -EXTERN int TclAccessInsertProc _ANSI_ARGS_((TclAccessProc_ *proc)); -EXTERN void TclAllocateFreeObjects _ANSI_ARGS_((void)); -EXTERN int TclArraySet _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Obj *arrayNameObj, Tcl_Obj *arrayElemObj)); -EXTERN int TclCleanupChildren _ANSI_ARGS_((Tcl_Interp *interp, - int numPids, Tcl_Pid *pidPtr, - Tcl_Channel errorChan)); -EXTERN void TclCleanupCommand _ANSI_ARGS_((Command *cmdPtr)); -EXTERN int TclCopyChannel _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Channel inChan, Tcl_Channel outChan, - int toRead, Tcl_Obj *cmdPtr)); -/* - * TclCreatePipeline unofficially exported for use by BLT. - */ -EXTERN int TclCreatePipeline _ANSI_ARGS_((Tcl_Interp *interp, - int argc, char **argv, Tcl_Pid **pidArrayPtr, - TclFile *inPipePtr, TclFile *outPipePtr, - TclFile *errFilePtr)); -EXTERN int TclCreateProc _ANSI_ARGS_((Tcl_Interp *interp, - Namespace *nsPtr, char *procName, - Tcl_Obj *argsPtr, Tcl_Obj *bodyPtr, - Proc **procPtrPtr)); -EXTERN void TclDeleteCompiledLocalVars _ANSI_ARGS_(( - Interp *iPtr, CallFrame *framePtr)); -EXTERN void TclDeleteVars _ANSI_ARGS_((Interp *iPtr, - Tcl_HashTable *tablePtr)); -EXTERN int TclDoGlob _ANSI_ARGS_((Tcl_Interp *interp, - char *separators, Tcl_DString *headPtr, - char *tail)); -EXTERN void TclDumpMemoryInfo _ANSI_ARGS_((FILE *outFile)); -EXTERN void TclExpandTokenArray _ANSI_ARGS_(( - Tcl_Parse *parsePtr)); -EXTERN void TclExprFloatError _ANSI_ARGS_((Tcl_Interp *interp, - double value)); -EXTERN int TclFileAttrsCmd _ANSI_ARGS_((Tcl_Interp *interp, - int objc, Tcl_Obj *CONST objv[])); -EXTERN int TclFileCopyCmd _ANSI_ARGS_((Tcl_Interp *interp, - int argc, char **argv)) ; -EXTERN int TclFileDeleteCmd _ANSI_ARGS_((Tcl_Interp *interp, - int argc, char **argv)); -EXTERN int TclFileMakeDirsCmd _ANSI_ARGS_((Tcl_Interp *interp, - int argc, char **argv)) ; -EXTERN int TclFileRenameCmd _ANSI_ARGS_((Tcl_Interp *interp, - int argc, char **argv)) ; -EXTERN void TclFinalizeAllocSubsystem _ANSI_ARGS_((void)); -EXTERN void TclFinalizeCompExecEnv _ANSI_ARGS_((void)); -EXTERN void TclFinalizeCondition _ANSI_ARGS_(( - Tcl_Condition *condPtr)); -EXTERN void TclFinalizeCompilation _ANSI_ARGS_((void)); -EXTERN void TclFinalizeEncodingSubsystem _ANSI_ARGS_((void)); -EXTERN void TclFinalizeEnvironment _ANSI_ARGS_((void)); -EXTERN void TclFinalizeExecution _ANSI_ARGS_((void)); -EXTERN void TclFinalizeIOSubsystem _ANSI_ARGS_((void)); -EXTERN void TclFinalizeLoad _ANSI_ARGS_((void)); -EXTERN void TclFinalizeMemorySubsystem _ANSI_ARGS_((void)); -EXTERN void TclFinalizeMutex _ANSI_ARGS_((Tcl_Mutex *mutex)); -EXTERN void TclFinalizeNotifier _ANSI_ARGS_((void)); -EXTERN void TclFinalizeSynchronization _ANSI_ARGS_((void)); -EXTERN void TclFinalizeThreadData _ANSI_ARGS_((void)); -EXTERN void TclFindEncodings _ANSI_ARGS_((CONST char *argv0)); -EXTERN Proc * TclFindProc _ANSI_ARGS_((Interp *iPtr, - char *procName)); -EXTERN int TclFormatInt _ANSI_ARGS_((char *buffer, long n)); -EXTERN void TclFreePackageInfo _ANSI_ARGS_((Interp *iPtr)); -EXTERN int TclGetDate _ANSI_ARGS_((char *p, - unsigned long now, long zone, - unsigned long *timePtr)); -EXTERN Tcl_Obj * TclGetElementOfIndexedArray _ANSI_ARGS_(( - Tcl_Interp *interp, int localIndex, - Tcl_Obj *elemPtr, int leaveErrorMsg)); -EXTERN char * TclGetExtension _ANSI_ARGS_((char *name)); -EXTERN int TclGetFrame _ANSI_ARGS_((Tcl_Interp *interp, - char *string, CallFrame **framePtrPtr)); -EXTERN TclCmdProcType TclGetInterpProc _ANSI_ARGS_((void)); -EXTERN int TclGetIntForIndex _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Obj *objPtr, int endValue, int *indexPtr)); -EXTERN Tcl_Obj * TclGetIndexedScalar _ANSI_ARGS_((Tcl_Interp *interp, - int localIndex, int leaveErrorMsg)); -EXTERN int TclGetLong _ANSI_ARGS_((Tcl_Interp *interp, - char *string, long *longPtr)); -EXTERN int TclGetLoadedPackages _ANSI_ARGS_(( - Tcl_Interp *interp, char *targetName)); -EXTERN int TclGetNamespaceForQualName _ANSI_ARGS_(( - Tcl_Interp *interp, char *qualName, - Namespace *cxtNsPtr, int flags, - Namespace **nsPtrPtr, Namespace **altNsPtrPtr, - Namespace **actualCxtPtrPtr, - char **simpleNamePtr)); -EXTERN TclObjCmdProcType TclGetObjInterpProc _ANSI_ARGS_((void)); -EXTERN int TclGetOpenMode _ANSI_ARGS_((Tcl_Interp *interp, - char *string, int *seekFlagPtr)); -EXTERN Tcl_Command TclGetOriginalCommand _ANSI_ARGS_(( - Tcl_Command command)); -EXTERN int TclGlob _ANSI_ARGS_((Tcl_Interp *interp, - char *pattern, int noComplain)); -EXTERN int TclGlobalInvoke _ANSI_ARGS_((Tcl_Interp *interp, - int argc, char **argv, int flags)); -EXTERN int TclGuessPackageName _ANSI_ARGS_((char *fileName, - Tcl_DString *bufPtr)); -EXTERN int TclHideUnsafeCommands _ANSI_ARGS_(( - Tcl_Interp *interp)); -EXTERN int TclInExit _ANSI_ARGS_((void)); -EXTERN Tcl_Obj * TclIncrElementOfIndexedArray _ANSI_ARGS_(( - Tcl_Interp *interp, int localIndex, - Tcl_Obj *elemPtr, long incrAmount)); -EXTERN Tcl_Obj * TclIncrIndexedScalar _ANSI_ARGS_(( - Tcl_Interp *interp, int localIndex, - long incrAmount)); -EXTERN Tcl_Obj * TclIncrVar2 _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Obj *part1Ptr, Tcl_Obj *part2Ptr, - long incrAmount, int flags)); -EXTERN void TclInitAlloc _ANSI_ARGS_((void)); -EXTERN void TclInitCompiledLocals _ANSI_ARGS_(( - Tcl_Interp *interp, CallFrame *framePtr, - Namespace *nsPtr)); -EXTERN void TclInitDbCkalloc _ANSI_ARGS_((void)); -EXTERN void TclInitEncodingSubsystem _ANSI_ARGS_((void)); -EXTERN void TclInitIOSubsystem _ANSI_ARGS_((void)); -EXTERN void TclInitNamespaceSubsystem _ANSI_ARGS_((void)); -EXTERN void TclInitNotifier _ANSI_ARGS_((void)); -EXTERN void TclInitObjSubsystem _ANSI_ARGS_((void)); -EXTERN void TclInitSubsystems _ANSI_ARGS_((CONST char *argv0)); -EXTERN int TclInvoke _ANSI_ARGS_((Tcl_Interp *interp, - int argc, char **argv, int flags)); -EXTERN int TclInvokeObjectCommand _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - int argc, char **argv)); -EXTERN int TclInvokeStringCommand _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - int objc, Tcl_Obj *CONST objv[])); -EXTERN int TclIsLocalScalar _ANSI_ARGS_((CONST char *src, - int len)); -EXTERN Proc * TclIsProc _ANSI_ARGS_((Command *cmdPtr)); -EXTERN Var * TclLookupVar _ANSI_ARGS_((Tcl_Interp *interp, - char *part1, char *part2, int flags, char *msg, - int createPart1, int createPart2, - Var **arrayPtrPtr)); -EXTERN int TclMathInProgress _ANSI_ARGS_((void)); -EXTERN int TclNeedSpace _ANSI_ARGS_((char *start, char *end)); -EXTERN Tcl_Obj * TclNewProcBodyObj _ANSI_ARGS_((Proc *procPtr)); -EXTERN int TclObjCommandComplete _ANSI_ARGS_((Tcl_Obj *cmdPtr)); -EXTERN int TclObjInterpProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int TclObjInvoke _ANSI_ARGS_((Tcl_Interp *interp, - int objc, Tcl_Obj *CONST objv[], int flags)); -EXTERN int TclObjInvokeGlobal _ANSI_ARGS_((Tcl_Interp *interp, - int objc, Tcl_Obj *CONST objv[], int flags)); -EXTERN int TclOpenFileChannelDeleteProc _ANSI_ARGS_(( - TclOpenFileChannelProc_ *proc)); -EXTERN int TclOpenFileChannelInsertProc _ANSI_ARGS_(( - TclOpenFileChannelProc_ *proc)); -EXTERN int TclpAccess _ANSI_ARGS_((CONST char *filename, - int mode)); -EXTERN char * TclpAlloc _ANSI_ARGS_((unsigned int size)); -EXTERN int TclpCheckStackSpace _ANSI_ARGS_((void)); -EXTERN int TclpCopyFile _ANSI_ARGS_((CONST char *source, - CONST char *dest)); -EXTERN int TclpCopyDirectory _ANSI_ARGS_((CONST char *source, - CONST char *dest, Tcl_DString *errorPtr)); -EXTERN int TclpCreateDirectory _ANSI_ARGS_((CONST char *path)); -EXTERN int TclpDeleteFile _ANSI_ARGS_((CONST char *path)); -EXTERN void TclpExit _ANSI_ARGS_((int status)); -EXTERN void TclpFinalizeCondition _ANSI_ARGS_(( - Tcl_Condition *condPtr)); -EXTERN void TclpFinalizeMutex _ANSI_ARGS_((Tcl_Mutex *mutexPtr)); -EXTERN void TclpFinalizeThreadData _ANSI_ARGS_(( - Tcl_ThreadDataKey *keyPtr)); -EXTERN void TclpFinalizeThreadDataKey _ANSI_ARGS_(( - Tcl_ThreadDataKey *keyPtr)); -EXTERN char * TclpFindExecutable _ANSI_ARGS_(( - CONST char *argv0)); -EXTERN int TclpFindVariable _ANSI_ARGS_((CONST char *name, - int *lengthPtr)); -EXTERN void TclpFree _ANSI_ARGS_((char *ptr)); -EXTERN unsigned long TclpGetClicks _ANSI_ARGS_((void)); -EXTERN Tcl_Channel TclpGetDefaultStdChannel _ANSI_ARGS_((int type)); -EXTERN unsigned long TclpGetSeconds _ANSI_ARGS_((void)); -EXTERN void TclpGetTime _ANSI_ARGS_((Tcl_Time *time)); -EXTERN int TclpGetTimeZone _ANSI_ARGS_((unsigned long time)); -EXTERN char * TclpGetUserHome _ANSI_ARGS_((CONST char *name, - Tcl_DString *bufferPtr)); -EXTERN int TclpHasSockets _ANSI_ARGS_((Tcl_Interp *interp)); -EXTERN void TclpInitLibraryPath _ANSI_ARGS_((CONST char *argv0)); -EXTERN void TclpInitLock _ANSI_ARGS_((void)); -EXTERN void TclpInitPlatform _ANSI_ARGS_((void)); -EXTERN void TclpInitUnlock _ANSI_ARGS_((void)); -EXTERN int TclpListVolumes _ANSI_ARGS_((Tcl_Interp *interp)); -EXTERN void TclpMasterLock _ANSI_ARGS_((void)); -EXTERN void TclpMasterUnlock _ANSI_ARGS_((void)); -EXTERN int TclpMatchFiles _ANSI_ARGS_((Tcl_Interp *interp, - char *separators, Tcl_DString *dirPtr, - char *pattern, char *tail)); -EXTERN Tcl_Channel TclpOpenFileChannel _ANSI_ARGS_((Tcl_Interp *interp, - char *fileName, char *modeString, - int permissions)); -EXTERN char * TclpReadlink _ANSI_ARGS_((CONST char *fileName, - Tcl_DString *linkPtr)); -EXTERN char * TclpRealloc _ANSI_ARGS_((char *ptr, - unsigned int size)); -EXTERN void TclpReleaseFile _ANSI_ARGS_((TclFile file)); -EXTERN int TclpRemoveDirectory _ANSI_ARGS_((CONST char *path, - int recursive, Tcl_DString *errorPtr)); -EXTERN int TclpRenameFile _ANSI_ARGS_((CONST char *source, - CONST char *dest)); -EXTERN void TclpSetInitialEncodings _ANSI_ARGS_((void)); -EXTERN void TclpSetVariables _ANSI_ARGS_((Tcl_Interp *interp)); -EXTERN VOID * TclpSysAlloc _ANSI_ARGS_((long size, int isBin)); -EXTERN void TclpSysFree _ANSI_ARGS_((VOID *ptr)); -EXTERN VOID * TclpSysRealloc _ANSI_ARGS_((VOID *cp, - unsigned int size)); -EXTERN void TclpUnloadFile _ANSI_ARGS_((ClientData clientData)); -EXTERN char * TclPrecTraceProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, char *name1, char *name2, - int flags)); -EXTERN int TclPreventAliasLoop _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Interp *cmdInterp, Tcl_Command cmd)); -EXTERN void TclProcCleanupProc _ANSI_ARGS_((Proc *procPtr)); -EXTERN int TclProcCompileProc _ANSI_ARGS_((Tcl_Interp *interp, - Proc *procPtr, Tcl_Obj *bodyPtr, Namespace *nsPtr, - CONST char *description, CONST char *procName)); -EXTERN void TclProcDeleteProc _ANSI_ARGS_((ClientData clientData)); -EXTERN int TclProcInterpProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int TclpThreadCreate _ANSI_ARGS_((Tcl_ThreadId *idPtr, - Tcl_ThreadCreateProc proc, ClientData clientData)); -EXTERN VOID * TclpThreadDataKeyGet _ANSI_ARGS_(( - Tcl_ThreadDataKey *keyPtr)); -EXTERN void TclpThreadDataKeyInit _ANSI_ARGS_(( - Tcl_ThreadDataKey *keyPtr)); -EXTERN void TclpThreadDataKeySet _ANSI_ARGS_(( - Tcl_ThreadDataKey *keyPtr, VOID *data)); -EXTERN void TclpThreadExit _ANSI_ARGS_((int status)); -EXTERN void TclRememberCondition _ANSI_ARGS_((Tcl_Condition *mutex)); -EXTERN void TclRememberDataKey _ANSI_ARGS_((Tcl_ThreadDataKey *mutex)); -EXTERN void TclRememberMutex _ANSI_ARGS_((Tcl_Mutex *mutex)); -EXTERN int TclRenameCommand _ANSI_ARGS_((Tcl_Interp *interp, - char *oldName, char *newName)) ; -EXTERN void TclResetShadowedCmdRefs _ANSI_ARGS_(( - Tcl_Interp *interp, Command *newCmdPtr)); -EXTERN int TclServiceIdle _ANSI_ARGS_((void)); -EXTERN Tcl_Obj * TclSetElementOfIndexedArray _ANSI_ARGS_(( - Tcl_Interp *interp, int localIndex, - Tcl_Obj *elemPtr, Tcl_Obj *objPtr, - int leaveErrorMsg)); -EXTERN Tcl_Obj * TclSetIndexedScalar _ANSI_ARGS_((Tcl_Interp *interp, - int localIndex, Tcl_Obj *objPtr, - int leaveErrorMsg)); -EXTERN char * TclSetPreInitScript _ANSI_ARGS_((char *string)); -EXTERN void TclSetupEnv _ANSI_ARGS_((Tcl_Interp *interp)); -EXTERN int TclSockGetPort _ANSI_ARGS_((Tcl_Interp *interp, - char *string, char *proto, int *portPtr)); -EXTERN int TclSockMinimumBuffers _ANSI_ARGS_((int sock, - int size)); -EXTERN int TclStat _ANSI_ARGS_((CONST char *path, - struct stat *buf)); -EXTERN int TclStatDeleteProc _ANSI_ARGS_((TclStatProc_ *proc)); -EXTERN int TclStatInsertProc _ANSI_ARGS_((TclStatProc_ *proc)); -EXTERN void TclTeardownNamespace _ANSI_ARGS_((Namespace *nsPtr)); -EXTERN void TclTransferResult _ANSI_ARGS_((Tcl_Interp *sourceInterp, - int result, Tcl_Interp *targetInterp)); -EXTERN int TclUpdateReturnInfo _ANSI_ARGS_((Interp *iPtr)); - -/* - *---------------------------------------------------------------- - * Command procedures in the generic core: - *---------------------------------------------------------------- - */ - -EXTERN int Tcl_AfterObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_AppendObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ArrayObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_BinaryObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_BreakObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_CaseObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_CatchObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_CdObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ClockObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_CloseObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ConcatObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ContinueObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_EncodingObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_EofObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ErrorObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_EvalObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ExecObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ExitObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ExprObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_FblockedObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_FconfigureObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_FcopyObjCmd _ANSI_ARGS_((ClientData dummy, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_FileObjCmd _ANSI_ARGS_((ClientData dummy, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_FileEventObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_FlushObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ForObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ForeachObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_FormatObjCmd _ANSI_ARGS_((ClientData dummy, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_GetsObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_GlobalObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_GlobObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_IfObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_IncrObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_InfoObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_InterpObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_JoinObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LappendObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LindexObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LinsertObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LlengthObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ListObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LoadObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LrangeObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LreplaceObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LsearchObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LsortObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_NamespaceObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_OpenObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_PackageObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_PidObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ProcObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_PutsObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_PwdObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ReadObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_RegexpObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_RegsubObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_RenameObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ReturnObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ScanObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_SeekObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_SetObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_SplitObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_SocketObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_SourceObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_StringObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_SubstObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_SwitchObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_TellObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_TimeObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_TraceObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_UnsetObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_UpdateObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_UplevelObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_UpvarObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_VariableObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_VwaitObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_WhileObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); - -/* - *---------------------------------------------------------------- - * Command procedures found only in the Mac version of the core: - *---------------------------------------------------------------- - */ - -#ifdef MAC_TCL -EXTERN int Tcl_EchoCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tcl_LsObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_BeepObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_MacSourceObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ResourceObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -#endif - -/* - *---------------------------------------------------------------- - * Compilation procedures for commands in the generic core: - *---------------------------------------------------------------- - */ - -EXTERN int TclCompileBreakCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileCatchCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileContinueCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileExprCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileForCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileForeachCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileIfCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileIncrCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileSetCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileWhileCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); - -/* - *---------------------------------------------------------------- - * Macros used by the Tcl core to create and release Tcl objects. - * TclNewObj(objPtr) creates a new object denoting an empty string. - * TclDecrRefCount(objPtr) decrements the object's reference count, - * and frees the object if its reference count is zero. - * These macros are inline versions of Tcl_NewObj() and - * Tcl_DecrRefCount(). Notice that the names differ in not having - * a "_" after the "Tcl". Notice also that these macros reference - * their argument more than once, so you should avoid calling them - * with an expression that is expensive to compute or has - * side effects. The ANSI C "prototypes" for these macros are: - * - * EXTERN void TclNewObj _ANSI_ARGS_((Tcl_Obj *objPtr)); - * EXTERN void TclDecrRefCount _ANSI_ARGS_((Tcl_Obj *objPtr)); - *---------------------------------------------------------------- - */ - -#ifdef TCL_COMPILE_STATS -# define TclIncrObjsAllocated() \ - tclObjsAlloced++ -# define TclIncrObjsFreed() \ - tclObjsFreed++ -#else -# define TclIncrObjsAllocated() -# define TclIncrObjsFreed() -#endif /* TCL_COMPILE_STATS */ - -#ifdef TCL_MEM_DEBUG -# define TclNewObj(objPtr) \ - (objPtr) = (Tcl_Obj *) \ - Tcl_DbCkalloc(sizeof(Tcl_Obj), __FILE__, __LINE__); \ - (objPtr)->refCount = 0; \ - (objPtr)->bytes = tclEmptyStringRep; \ - (objPtr)->length = 0; \ - (objPtr)->typePtr = NULL; \ - TclIncrObjsAllocated() - -# define TclDbNewObj(objPtr, file, line) \ - (objPtr) = (Tcl_Obj *) Tcl_DbCkalloc(sizeof(Tcl_Obj), (file), (line)); \ - (objPtr)->refCount = 0; \ - (objPtr)->bytes = tclEmptyStringRep; \ - (objPtr)->length = 0; \ - (objPtr)->typePtr = NULL; \ - TclIncrObjsAllocated() - -# define TclDecrRefCount(objPtr) \ - if (--(objPtr)->refCount <= 0) { \ - if ((objPtr)->refCount < -1) \ - panic("Reference count for %lx was negative: %s line %d", \ - (objPtr), __FILE__, __LINE__); \ - if (((objPtr)->bytes != NULL) \ - && ((objPtr)->bytes != tclEmptyStringRep)) { \ - ckfree((char *) (objPtr)->bytes); \ - } \ - if (((objPtr)->typePtr != NULL) \ - && ((objPtr)->typePtr->freeIntRepProc != NULL)) { \ - (objPtr)->typePtr->freeIntRepProc(objPtr); \ - } \ - ckfree((char *) (objPtr)); \ - TclIncrObjsFreed(); \ - } - -#else /* not TCL_MEM_DEBUG */ - -#ifdef TCL_THREADS -extern Tcl_Mutex tclObjMutex; -#endif - -# define TclNewObj(objPtr) \ - Tcl_MutexLock(&tclObjMutex); \ - if (tclFreeObjList == NULL) { \ - TclAllocateFreeObjects(); \ - } \ - (objPtr) = tclFreeObjList; \ - tclFreeObjList = (Tcl_Obj *) \ - tclFreeObjList->internalRep.otherValuePtr; \ - (objPtr)->refCount = 0; \ - (objPtr)->bytes = tclEmptyStringRep; \ - (objPtr)->length = 0; \ - (objPtr)->typePtr = NULL; \ - TclIncrObjsAllocated(); \ - Tcl_MutexUnlock(&tclObjMutex) - -# define TclDecrRefCount(objPtr) \ - if (--(objPtr)->refCount <= 0) { \ - if (((objPtr)->bytes != NULL) \ - && ((objPtr)->bytes != tclEmptyStringRep)) { \ - ckfree((char *) (objPtr)->bytes); \ - } \ - if (((objPtr)->typePtr != NULL) \ - && ((objPtr)->typePtr->freeIntRepProc != NULL)) { \ - (objPtr)->typePtr->freeIntRepProc(objPtr); \ - } \ - Tcl_MutexLock(&tclObjMutex); \ - (objPtr)->internalRep.otherValuePtr = (VOID *) tclFreeObjList; \ - tclFreeObjList = (objPtr); \ - TclIncrObjsFreed(); \ - Tcl_MutexUnlock(&tclObjMutex); \ - } -#endif /* TCL_MEM_DEBUG */ - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to set a Tcl_Obj's string representation - * to a copy of the "len" bytes starting at "bytePtr". This code - * works even if the byte array contains NULLs as long as the length - * is correct. Because "len" is referenced multiple times, it should - * be as simple an expression as possible. The ANSI C "prototype" for - * this macro is: - * - * EXTERN void TclInitStringRep _ANSI_ARGS_((Tcl_Obj *objPtr, - * char *bytePtr, int len)); - *---------------------------------------------------------------- - */ - -#define TclInitStringRep(objPtr, bytePtr, len) \ - if ((len) == 0) { \ - (objPtr)->bytes = tclEmptyStringRep; \ - (objPtr)->length = 0; \ - } else { \ - (objPtr)->bytes = (char *) ckalloc((unsigned) ((len) + 1)); \ - memcpy((VOID *) (objPtr)->bytes, (VOID *) (bytePtr), \ - (unsigned) (len)); \ - (objPtr)->bytes[len] = '\0'; \ - (objPtr)->length = (len); \ - } - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to get the string representation's - * byte array pointer from a Tcl_Obj. This is an inline version - * of Tcl_GetString(). The macro's expression result is the string - * rep's byte pointer which might be NULL. The bytes referenced by - * this pointer must not be modified by the caller. - * The ANSI C "prototype" for this macro is: - * - * EXTERN char * TclGetString _ANSI_ARGS_((Tcl_Obj *objPtr)); - *---------------------------------------------------------------- - */ - -#define TclGetString(objPtr) \ - ((objPtr)->bytes? (objPtr)->bytes : Tcl_GetString((objPtr))) - -#include "tclIntDecls.h" - -# undef TCL_STORAGE_CLASS -# define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TCLINT */ - diff --git a/src/other/togl/include/tcltk/tk8.2/tclIntDecls.h b/src/other/togl/include/tcltk/tk8.2/tclIntDecls.h deleted file mode 100644 index 8178173fb2d..00000000000 --- a/src/other/togl/include/tcltk/tk8.2/tclIntDecls.h +++ /dev/null @@ -1,1363 +0,0 @@ -/* - * tclIntDecls.h -- - * - * This file contains the declarations for all unsupported - * functions that are exported by the Tcl library. These - * interfaces are not guaranteed to remain the same between - * versions. Use at your own risk. - * - * Copyright (c) 1998-1999 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TCLINTDECLS -#define _TCLINTDECLS - -/* - * WARNING: This file is automatically generated by the tools/genStubs.tcl - * script. Any modifications to the function declarations below should be made - * in the generic/tclInt.decls script. - */ - -/* !BEGIN!: Do not edit below this line. */ - -/* - * Exported function declarations: - */ - -/* 0 */ -EXTERN int TclAccess _ANSI_ARGS_((CONST char * path, int mode)); -/* 1 */ -EXTERN int TclAccessDeleteProc _ANSI_ARGS_(( - TclAccessProc_ * proc)); -/* 2 */ -EXTERN int TclAccessInsertProc _ANSI_ARGS_(( - TclAccessProc_ * proc)); -/* 3 */ -EXTERN void TclAllocateFreeObjects _ANSI_ARGS_((void)); -/* Slot 4 is reserved */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -/* 5 */ -EXTERN int TclCleanupChildren _ANSI_ARGS_((Tcl_Interp * interp, - int numPids, Tcl_Pid * pidPtr, - Tcl_Channel errorChan)); -#endif /* UNIX */ -#ifdef __WIN32__ -/* 5 */ -EXTERN int TclCleanupChildren _ANSI_ARGS_((Tcl_Interp * interp, - int numPids, Tcl_Pid * pidPtr, - Tcl_Channel errorChan)); -#endif /* __WIN32__ */ -/* 6 */ -EXTERN void TclCleanupCommand _ANSI_ARGS_((Command * cmdPtr)); -/* 7 */ -EXTERN int TclCopyAndCollapse _ANSI_ARGS_((int count, - CONST char * src, char * dst)); -/* 8 */ -EXTERN int TclCopyChannel _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Channel inChan, Tcl_Channel outChan, - int toRead, Tcl_Obj * cmdPtr)); -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -/* 9 */ -EXTERN int TclCreatePipeline _ANSI_ARGS_((Tcl_Interp * interp, - int argc, char ** argv, - Tcl_Pid ** pidArrayPtr, TclFile * inPipePtr, - TclFile * outPipePtr, TclFile * errFilePtr)); -#endif /* UNIX */ -#ifdef __WIN32__ -/* 9 */ -EXTERN int TclCreatePipeline _ANSI_ARGS_((Tcl_Interp * interp, - int argc, char ** argv, - Tcl_Pid ** pidArrayPtr, TclFile * inPipePtr, - TclFile * outPipePtr, TclFile * errFilePtr)); -#endif /* __WIN32__ */ -/* 10 */ -EXTERN int TclCreateProc _ANSI_ARGS_((Tcl_Interp * interp, - Namespace * nsPtr, char * procName, - Tcl_Obj * argsPtr, Tcl_Obj * bodyPtr, - Proc ** procPtrPtr)); -/* 11 */ -EXTERN void TclDeleteCompiledLocalVars _ANSI_ARGS_(( - Interp * iPtr, CallFrame * framePtr)); -/* 12 */ -EXTERN void TclDeleteVars _ANSI_ARGS_((Interp * iPtr, - Tcl_HashTable * tablePtr)); -/* 13 */ -EXTERN int TclDoGlob _ANSI_ARGS_((Tcl_Interp * interp, - char * separators, Tcl_DString * headPtr, - char * tail)); -/* 14 */ -EXTERN void TclDumpMemoryInfo _ANSI_ARGS_((FILE * outFile)); -/* Slot 15 is reserved */ -/* 16 */ -EXTERN void TclExprFloatError _ANSI_ARGS_((Tcl_Interp * interp, - double value)); -/* 17 */ -EXTERN int TclFileAttrsCmd _ANSI_ARGS_((Tcl_Interp * interp, - int objc, Tcl_Obj *CONST objv[])); -/* 18 */ -EXTERN int TclFileCopyCmd _ANSI_ARGS_((Tcl_Interp * interp, - int argc, char ** argv)); -/* 19 */ -EXTERN int TclFileDeleteCmd _ANSI_ARGS_((Tcl_Interp * interp, - int argc, char ** argv)); -/* 20 */ -EXTERN int TclFileMakeDirsCmd _ANSI_ARGS_((Tcl_Interp * interp, - int argc, char ** argv)); -/* 21 */ -EXTERN int TclFileRenameCmd _ANSI_ARGS_((Tcl_Interp * interp, - int argc, char ** argv)); -/* 22 */ -EXTERN int TclFindElement _ANSI_ARGS_((Tcl_Interp * interp, - CONST char * listStr, int listLength, - CONST char ** elementPtr, - CONST char ** nextPtr, int * sizePtr, - int * bracePtr)); -/* 23 */ -EXTERN Proc * TclFindProc _ANSI_ARGS_((Interp * iPtr, - char * procName)); -/* 24 */ -EXTERN int TclFormatInt _ANSI_ARGS_((char * buffer, long n)); -/* 25 */ -EXTERN void TclFreePackageInfo _ANSI_ARGS_((Interp * iPtr)); -/* Slot 26 is reserved */ -/* 27 */ -EXTERN int TclGetDate _ANSI_ARGS_((char * p, unsigned long now, - long zone, unsigned long * timePtr)); -/* 28 */ -EXTERN Tcl_Channel TclpGetDefaultStdChannel _ANSI_ARGS_((int type)); -/* 29 */ -EXTERN Tcl_Obj * TclGetElementOfIndexedArray _ANSI_ARGS_(( - Tcl_Interp * interp, int localIndex, - Tcl_Obj * elemPtr, int leaveErrorMsg)); -/* Slot 30 is reserved */ -/* 31 */ -EXTERN char * TclGetExtension _ANSI_ARGS_((char * name)); -/* 32 */ -EXTERN int TclGetFrame _ANSI_ARGS_((Tcl_Interp * interp, - char * str, CallFrame ** framePtrPtr)); -/* 33 */ -EXTERN TclCmdProcType TclGetInterpProc _ANSI_ARGS_((void)); -/* 34 */ -EXTERN int TclGetIntForIndex _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Obj * objPtr, int endValue, - int * indexPtr)); -/* 35 */ -EXTERN Tcl_Obj * TclGetIndexedScalar _ANSI_ARGS_((Tcl_Interp * interp, - int localIndex, int leaveErrorMsg)); -/* 36 */ -EXTERN int TclGetLong _ANSI_ARGS_((Tcl_Interp * interp, - char * str, long * longPtr)); -/* 37 */ -EXTERN int TclGetLoadedPackages _ANSI_ARGS_(( - Tcl_Interp * interp, char * targetName)); -/* 38 */ -EXTERN int TclGetNamespaceForQualName _ANSI_ARGS_(( - Tcl_Interp * interp, char * qualName, - Namespace * cxtNsPtr, int flags, - Namespace ** nsPtrPtr, - Namespace ** altNsPtrPtr, - Namespace ** actualCxtPtrPtr, - char ** simpleNamePtr)); -/* 39 */ -EXTERN TclObjCmdProcType TclGetObjInterpProc _ANSI_ARGS_((void)); -/* 40 */ -EXTERN int TclGetOpenMode _ANSI_ARGS_((Tcl_Interp * interp, - char * str, int * seekFlagPtr)); -/* 41 */ -EXTERN Tcl_Command TclGetOriginalCommand _ANSI_ARGS_(( - Tcl_Command command)); -/* 42 */ -EXTERN char * TclpGetUserHome _ANSI_ARGS_((CONST char * name, - Tcl_DString * bufferPtr)); -/* 43 */ -EXTERN int TclGlobalInvoke _ANSI_ARGS_((Tcl_Interp * interp, - int argc, char ** argv, int flags)); -/* 44 */ -EXTERN int TclGuessPackageName _ANSI_ARGS_((char * fileName, - Tcl_DString * bufPtr)); -/* 45 */ -EXTERN int TclHideUnsafeCommands _ANSI_ARGS_(( - Tcl_Interp * interp)); -/* 46 */ -EXTERN int TclInExit _ANSI_ARGS_((void)); -/* 47 */ -EXTERN Tcl_Obj * TclIncrElementOfIndexedArray _ANSI_ARGS_(( - Tcl_Interp * interp, int localIndex, - Tcl_Obj * elemPtr, long incrAmount)); -/* 48 */ -EXTERN Tcl_Obj * TclIncrIndexedScalar _ANSI_ARGS_(( - Tcl_Interp * interp, int localIndex, - long incrAmount)); -/* 49 */ -EXTERN Tcl_Obj * TclIncrVar2 _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Obj * part1Ptr, Tcl_Obj * part2Ptr, - long incrAmount, int part1NotParsed)); -/* 50 */ -EXTERN void TclInitCompiledLocals _ANSI_ARGS_(( - Tcl_Interp * interp, CallFrame * framePtr, - Namespace * nsPtr)); -/* 51 */ -EXTERN int TclInterpInit _ANSI_ARGS_((Tcl_Interp * interp)); -/* 52 */ -EXTERN int TclInvoke _ANSI_ARGS_((Tcl_Interp * interp, int argc, - char ** argv, int flags)); -/* 53 */ -EXTERN int TclInvokeObjectCommand _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp * interp, - int argc, char ** argv)); -/* 54 */ -EXTERN int TclInvokeStringCommand _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp * interp, - int objc, Tcl_Obj *CONST objv[])); -/* 55 */ -EXTERN Proc * TclIsProc _ANSI_ARGS_((Command * cmdPtr)); -/* Slot 56 is reserved */ -/* Slot 57 is reserved */ -/* 58 */ -EXTERN Var * TclLookupVar _ANSI_ARGS_((Tcl_Interp * interp, - char * part1, char * part2, int flags, - char * msg, int createPart1, int createPart2, - Var ** arrayPtrPtr)); -/* 59 */ -EXTERN int TclpMatchFiles _ANSI_ARGS_((Tcl_Interp * interp, - char * separators, Tcl_DString * dirPtr, - char * pattern, char * tail)); -/* 60 */ -EXTERN int TclNeedSpace _ANSI_ARGS_((char * start, char * end)); -/* 61 */ -EXTERN Tcl_Obj * TclNewProcBodyObj _ANSI_ARGS_((Proc * procPtr)); -/* 62 */ -EXTERN int TclObjCommandComplete _ANSI_ARGS_((Tcl_Obj * cmdPtr)); -/* 63 */ -EXTERN int TclObjInterpProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp * interp, int objc, - Tcl_Obj *CONST objv[])); -/* 64 */ -EXTERN int TclObjInvoke _ANSI_ARGS_((Tcl_Interp * interp, - int objc, Tcl_Obj *CONST objv[], int flags)); -/* 65 */ -EXTERN int TclObjInvokeGlobal _ANSI_ARGS_((Tcl_Interp * interp, - int objc, Tcl_Obj *CONST objv[], int flags)); -/* 66 */ -EXTERN int TclOpenFileChannelDeleteProc _ANSI_ARGS_(( - TclOpenFileChannelProc_ * proc)); -/* 67 */ -EXTERN int TclOpenFileChannelInsertProc _ANSI_ARGS_(( - TclOpenFileChannelProc_ * proc)); -/* 68 */ -EXTERN int TclpAccess _ANSI_ARGS_((CONST char * path, int mode)); -/* 69 */ -EXTERN char * TclpAlloc _ANSI_ARGS_((unsigned int size)); -/* 70 */ -EXTERN int TclpCopyFile _ANSI_ARGS_((CONST char * source, - CONST char * dest)); -/* 71 */ -EXTERN int TclpCopyDirectory _ANSI_ARGS_((CONST char * source, - CONST char * dest, Tcl_DString * errorPtr)); -/* 72 */ -EXTERN int TclpCreateDirectory _ANSI_ARGS_((CONST char * path)); -/* 73 */ -EXTERN int TclpDeleteFile _ANSI_ARGS_((CONST char * path)); -/* 74 */ -EXTERN void TclpFree _ANSI_ARGS_((char * ptr)); -/* 75 */ -EXTERN unsigned long TclpGetClicks _ANSI_ARGS_((void)); -/* 76 */ -EXTERN unsigned long TclpGetSeconds _ANSI_ARGS_((void)); -/* 77 */ -EXTERN void TclpGetTime _ANSI_ARGS_((Tcl_Time * time)); -/* 78 */ -EXTERN int TclpGetTimeZone _ANSI_ARGS_((unsigned long time)); -/* 79 */ -EXTERN int TclpListVolumes _ANSI_ARGS_((Tcl_Interp * interp)); -/* 80 */ -EXTERN Tcl_Channel TclpOpenFileChannel _ANSI_ARGS_((Tcl_Interp * interp, - char * fileName, char * modeString, - int permissions)); -/* 81 */ -EXTERN char * TclpRealloc _ANSI_ARGS_((char * ptr, - unsigned int size)); -/* 82 */ -EXTERN int TclpRemoveDirectory _ANSI_ARGS_((CONST char * path, - int recursive, Tcl_DString * errorPtr)); -/* 83 */ -EXTERN int TclpRenameFile _ANSI_ARGS_((CONST char * source, - CONST char * dest)); -/* Slot 84 is reserved */ -/* Slot 85 is reserved */ -/* Slot 86 is reserved */ -/* Slot 87 is reserved */ -/* 88 */ -EXTERN char * TclPrecTraceProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp * interp, char * name1, - char * name2, int flags)); -/* 89 */ -EXTERN int TclPreventAliasLoop _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Interp * cmdInterp, Tcl_Command cmd)); -/* Slot 90 is reserved */ -/* 91 */ -EXTERN void TclProcCleanupProc _ANSI_ARGS_((Proc * procPtr)); -/* 92 */ -EXTERN int TclProcCompileProc _ANSI_ARGS_((Tcl_Interp * interp, - Proc * procPtr, Tcl_Obj * bodyPtr, - Namespace * nsPtr, CONST char * description, - CONST char * procName)); -/* 93 */ -EXTERN void TclProcDeleteProc _ANSI_ARGS_((ClientData clientData)); -/* 94 */ -EXTERN int TclProcInterpProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp * interp, int argc, char ** argv)); -/* 95 */ -EXTERN int TclpStat _ANSI_ARGS_((CONST char * path, - struct stat * buf)); -/* 96 */ -EXTERN int TclRenameCommand _ANSI_ARGS_((Tcl_Interp * interp, - char * oldName, char * newName)); -/* 97 */ -EXTERN void TclResetShadowedCmdRefs _ANSI_ARGS_(( - Tcl_Interp * interp, Command * newCmdPtr)); -/* 98 */ -EXTERN int TclServiceIdle _ANSI_ARGS_((void)); -/* 99 */ -EXTERN Tcl_Obj * TclSetElementOfIndexedArray _ANSI_ARGS_(( - Tcl_Interp * interp, int localIndex, - Tcl_Obj * elemPtr, Tcl_Obj * objPtr, - int leaveErrorMsg)); -/* 100 */ -EXTERN Tcl_Obj * TclSetIndexedScalar _ANSI_ARGS_((Tcl_Interp * interp, - int localIndex, Tcl_Obj * objPtr, - int leaveErrorMsg)); -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -/* 101 */ -EXTERN char * TclSetPreInitScript _ANSI_ARGS_((char * string)); -#endif /* UNIX */ -#ifdef __WIN32__ -/* 101 */ -EXTERN char * TclSetPreInitScript _ANSI_ARGS_((char * string)); -#endif /* __WIN32__ */ -/* 102 */ -EXTERN void TclSetupEnv _ANSI_ARGS_((Tcl_Interp * interp)); -/* 103 */ -EXTERN int TclSockGetPort _ANSI_ARGS_((Tcl_Interp * interp, - char * str, char * proto, int * portPtr)); -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -/* 104 */ -EXTERN int TclSockMinimumBuffers _ANSI_ARGS_((int sock, - int size)); -#endif /* UNIX */ -#ifdef __WIN32__ -/* 104 */ -EXTERN int TclSockMinimumBuffers _ANSI_ARGS_((int sock, - int size)); -#endif /* __WIN32__ */ -/* 105 */ -EXTERN int TclStat _ANSI_ARGS_((CONST char * path, - struct stat * buf)); -/* 106 */ -EXTERN int TclStatDeleteProc _ANSI_ARGS_((TclStatProc_ * proc)); -/* 107 */ -EXTERN int TclStatInsertProc _ANSI_ARGS_((TclStatProc_ * proc)); -/* 108 */ -EXTERN void TclTeardownNamespace _ANSI_ARGS_((Namespace * nsPtr)); -/* 109 */ -EXTERN int TclUpdateReturnInfo _ANSI_ARGS_((Interp * iPtr)); -/* Slot 110 is reserved */ -/* 111 */ -EXTERN void Tcl_AddInterpResolvers _ANSI_ARGS_(( - Tcl_Interp * interp, char * name, - Tcl_ResolveCmdProc * cmdProc, - Tcl_ResolveVarProc * varProc, - Tcl_ResolveCompiledVarProc * compiledVarProc)); -/* 112 */ -EXTERN int Tcl_AppendExportList _ANSI_ARGS_(( - Tcl_Interp * interp, Tcl_Namespace * nsPtr, - Tcl_Obj * objPtr)); -/* 113 */ -EXTERN Tcl_Namespace * Tcl_CreateNamespace _ANSI_ARGS_((Tcl_Interp * interp, - char * name, ClientData clientData, - Tcl_NamespaceDeleteProc * deleteProc)); -/* 114 */ -EXTERN void Tcl_DeleteNamespace _ANSI_ARGS_(( - Tcl_Namespace * nsPtr)); -/* 115 */ -EXTERN int Tcl_Export _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Namespace * nsPtr, char * pattern, - int resetListFirst)); -/* 116 */ -EXTERN Tcl_Command Tcl_FindCommand _ANSI_ARGS_((Tcl_Interp * interp, - char * name, Tcl_Namespace * contextNsPtr, - int flags)); -/* 117 */ -EXTERN Tcl_Namespace * Tcl_FindNamespace _ANSI_ARGS_((Tcl_Interp * interp, - char * name, Tcl_Namespace * contextNsPtr, - int flags)); -/* 118 */ -EXTERN int Tcl_GetInterpResolvers _ANSI_ARGS_(( - Tcl_Interp * interp, char * name, - Tcl_ResolverInfo * resInfo)); -/* 119 */ -EXTERN int Tcl_GetNamespaceResolvers _ANSI_ARGS_(( - Tcl_Namespace * namespacePtr, - Tcl_ResolverInfo * resInfo)); -/* 120 */ -EXTERN Tcl_Var Tcl_FindNamespaceVar _ANSI_ARGS_(( - Tcl_Interp * interp, char * name, - Tcl_Namespace * contextNsPtr, int flags)); -/* 121 */ -EXTERN int Tcl_ForgetImport _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Namespace * nsPtr, char * pattern)); -/* 122 */ -EXTERN Tcl_Command Tcl_GetCommandFromObj _ANSI_ARGS_(( - Tcl_Interp * interp, Tcl_Obj * objPtr)); -/* 123 */ -EXTERN void Tcl_GetCommandFullName _ANSI_ARGS_(( - Tcl_Interp * interp, Tcl_Command command, - Tcl_Obj * objPtr)); -/* 124 */ -EXTERN Tcl_Namespace * Tcl_GetCurrentNamespace _ANSI_ARGS_(( - Tcl_Interp * interp)); -/* 125 */ -EXTERN Tcl_Namespace * Tcl_GetGlobalNamespace _ANSI_ARGS_(( - Tcl_Interp * interp)); -/* 126 */ -EXTERN void Tcl_GetVariableFullName _ANSI_ARGS_(( - Tcl_Interp * interp, Tcl_Var variable, - Tcl_Obj * objPtr)); -/* 127 */ -EXTERN int Tcl_Import _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Namespace * nsPtr, char * pattern, - int allowOverwrite)); -/* 128 */ -EXTERN void Tcl_PopCallFrame _ANSI_ARGS_((Tcl_Interp* interp)); -/* 129 */ -EXTERN int Tcl_PushCallFrame _ANSI_ARGS_((Tcl_Interp* interp, - Tcl_CallFrame * framePtr, - Tcl_Namespace * nsPtr, int isProcCallFrame)); -/* 130 */ -EXTERN int Tcl_RemoveInterpResolvers _ANSI_ARGS_(( - Tcl_Interp * interp, char * name)); -/* 131 */ -EXTERN void Tcl_SetNamespaceResolvers _ANSI_ARGS_(( - Tcl_Namespace * namespacePtr, - Tcl_ResolveCmdProc * cmdProc, - Tcl_ResolveVarProc * varProc, - Tcl_ResolveCompiledVarProc * compiledVarProc)); -/* 132 */ -EXTERN int TclpHasSockets _ANSI_ARGS_((Tcl_Interp * interp)); -/* 133 */ -EXTERN struct tm * TclpGetDate _ANSI_ARGS_((TclpTime_t time, int useGMT)); -/* 134 */ -EXTERN size_t TclpStrftime _ANSI_ARGS_((char * s, size_t maxsize, - CONST char * format, CONST struct tm * t)); -/* 135 */ -EXTERN int TclpCheckStackSpace _ANSI_ARGS_((void)); -/* Slot 136 is reserved */ -/* 137 */ -EXTERN int TclpChdir _ANSI_ARGS_((CONST char * dirName)); -/* 138 */ -EXTERN char * TclGetEnv _ANSI_ARGS_((CONST char * name, - Tcl_DString * valuePtr)); -/* 139 */ -EXTERN int TclpLoadFile _ANSI_ARGS_((Tcl_Interp * interp, - char * fileName, char * sym1, char * sym2, - Tcl_PackageInitProc ** proc1Ptr, - Tcl_PackageInitProc ** proc2Ptr, - ClientData * clientDataPtr)); -/* 140 */ -EXTERN int TclLooksLikeInt _ANSI_ARGS_((char * bytes, - int length)); -/* 141 */ -EXTERN char * TclpGetCwd _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_DString * cwdPtr)); -/* 142 */ -EXTERN int TclSetByteCodeFromAny _ANSI_ARGS_(( - Tcl_Interp * interp, Tcl_Obj * objPtr, - CompileHookProc * hookProc, - ClientData clientData)); -/* 143 */ -EXTERN int TclAddLiteralObj _ANSI_ARGS_(( - struct CompileEnv * envPtr, Tcl_Obj * objPtr, - LiteralEntry ** litPtrPtr)); -/* 144 */ -EXTERN void TclHideLiteral _ANSI_ARGS_((Tcl_Interp * interp, - struct CompileEnv * envPtr, int index)); -/* 145 */ -EXTERN struct AuxDataType * TclGetAuxDataType _ANSI_ARGS_((char * typeName)); -/* 146 */ -EXTERN TclHandle TclHandleCreate _ANSI_ARGS_((VOID * ptr)); -/* 147 */ -EXTERN void TclHandleFree _ANSI_ARGS_((TclHandle handle)); -/* 148 */ -EXTERN TclHandle TclHandlePreserve _ANSI_ARGS_((TclHandle handle)); -/* 149 */ -EXTERN void TclHandleRelease _ANSI_ARGS_((TclHandle handle)); -/* 150 */ -EXTERN int TclRegAbout _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_RegExp re)); -/* 151 */ -EXTERN void TclRegExpRangeUniChar _ANSI_ARGS_((Tcl_RegExp re, - int index, int * startPtr, int * endPtr)); -/* 152 */ -EXTERN void TclSetLibraryPath _ANSI_ARGS_((Tcl_Obj * pathPtr)); -/* 153 */ -EXTERN Tcl_Obj * TclGetLibraryPath _ANSI_ARGS_((void)); -/* 154 */ -EXTERN int TclTestChannelCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp * interp, int argc, char ** argv)); -/* 155 */ -EXTERN int TclTestChannelEventCmd _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp * interp, - int argc, char ** argv)); -/* 156 */ -EXTERN void TclRegError _ANSI_ARGS_((Tcl_Interp * interp, - char * msg, int status)); -/* 157 */ -EXTERN Var * TclVarTraceExists _ANSI_ARGS_((Tcl_Interp * interp, - char * varName)); - -typedef struct TclIntStubs { - int magic; - struct TclIntStubHooks *hooks; - - int (*tclAccess) _ANSI_ARGS_((CONST char * path, int mode)); /* 0 */ - int (*tclAccessDeleteProc) _ANSI_ARGS_((TclAccessProc_ * proc)); /* 1 */ - int (*tclAccessInsertProc) _ANSI_ARGS_((TclAccessProc_ * proc)); /* 2 */ - void (*tclAllocateFreeObjects) _ANSI_ARGS_((void)); /* 3 */ - void *reserved4; -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - int (*tclCleanupChildren) _ANSI_ARGS_((Tcl_Interp * interp, int numPids, Tcl_Pid * pidPtr, Tcl_Channel errorChan)); /* 5 */ -#endif /* UNIX */ -#ifdef __WIN32__ - int (*tclCleanupChildren) _ANSI_ARGS_((Tcl_Interp * interp, int numPids, Tcl_Pid * pidPtr, Tcl_Channel errorChan)); /* 5 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void *reserved5; -#endif /* MAC_TCL */ - void (*tclCleanupCommand) _ANSI_ARGS_((Command * cmdPtr)); /* 6 */ - int (*tclCopyAndCollapse) _ANSI_ARGS_((int count, CONST char * src, char * dst)); /* 7 */ - int (*tclCopyChannel) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Channel inChan, Tcl_Channel outChan, int toRead, Tcl_Obj * cmdPtr)); /* 8 */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - int (*tclCreatePipeline) _ANSI_ARGS_((Tcl_Interp * interp, int argc, char ** argv, Tcl_Pid ** pidArrayPtr, TclFile * inPipePtr, TclFile * outPipePtr, TclFile * errFilePtr)); /* 9 */ -#endif /* UNIX */ -#ifdef __WIN32__ - int (*tclCreatePipeline) _ANSI_ARGS_((Tcl_Interp * interp, int argc, char ** argv, Tcl_Pid ** pidArrayPtr, TclFile * inPipePtr, TclFile * outPipePtr, TclFile * errFilePtr)); /* 9 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void *reserved9; -#endif /* MAC_TCL */ - int (*tclCreateProc) _ANSI_ARGS_((Tcl_Interp * interp, Namespace * nsPtr, char * procName, Tcl_Obj * argsPtr, Tcl_Obj * bodyPtr, Proc ** procPtrPtr)); /* 10 */ - void (*tclDeleteCompiledLocalVars) _ANSI_ARGS_((Interp * iPtr, CallFrame * framePtr)); /* 11 */ - void (*tclDeleteVars) _ANSI_ARGS_((Interp * iPtr, Tcl_HashTable * tablePtr)); /* 12 */ - int (*tclDoGlob) _ANSI_ARGS_((Tcl_Interp * interp, char * separators, Tcl_DString * headPtr, char * tail)); /* 13 */ - void (*tclDumpMemoryInfo) _ANSI_ARGS_((FILE * outFile)); /* 14 */ - void *reserved15; - void (*tclExprFloatError) _ANSI_ARGS_((Tcl_Interp * interp, double value)); /* 16 */ - int (*tclFileAttrsCmd) _ANSI_ARGS_((Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[])); /* 17 */ - int (*tclFileCopyCmd) _ANSI_ARGS_((Tcl_Interp * interp, int argc, char ** argv)); /* 18 */ - int (*tclFileDeleteCmd) _ANSI_ARGS_((Tcl_Interp * interp, int argc, char ** argv)); /* 19 */ - int (*tclFileMakeDirsCmd) _ANSI_ARGS_((Tcl_Interp * interp, int argc, char ** argv)); /* 20 */ - int (*tclFileRenameCmd) _ANSI_ARGS_((Tcl_Interp * interp, int argc, char ** argv)); /* 21 */ - int (*tclFindElement) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * listStr, int listLength, CONST char ** elementPtr, CONST char ** nextPtr, int * sizePtr, int * bracePtr)); /* 22 */ - Proc * (*tclFindProc) _ANSI_ARGS_((Interp * iPtr, char * procName)); /* 23 */ - int (*tclFormatInt) _ANSI_ARGS_((char * buffer, long n)); /* 24 */ - void (*tclFreePackageInfo) _ANSI_ARGS_((Interp * iPtr)); /* 25 */ - void *reserved26; - int (*tclGetDate) _ANSI_ARGS_((char * p, unsigned long now, long zone, unsigned long * timePtr)); /* 27 */ - Tcl_Channel (*tclpGetDefaultStdChannel) _ANSI_ARGS_((int type)); /* 28 */ - Tcl_Obj * (*tclGetElementOfIndexedArray) _ANSI_ARGS_((Tcl_Interp * interp, int localIndex, Tcl_Obj * elemPtr, int leaveErrorMsg)); /* 29 */ - void *reserved30; - char * (*tclGetExtension) _ANSI_ARGS_((char * name)); /* 31 */ - int (*tclGetFrame) _ANSI_ARGS_((Tcl_Interp * interp, char * str, CallFrame ** framePtrPtr)); /* 32 */ - TclCmdProcType (*tclGetInterpProc) _ANSI_ARGS_((void)); /* 33 */ - int (*tclGetIntForIndex) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * objPtr, int endValue, int * indexPtr)); /* 34 */ - Tcl_Obj * (*tclGetIndexedScalar) _ANSI_ARGS_((Tcl_Interp * interp, int localIndex, int leaveErrorMsg)); /* 35 */ - int (*tclGetLong) _ANSI_ARGS_((Tcl_Interp * interp, char * str, long * longPtr)); /* 36 */ - int (*tclGetLoadedPackages) _ANSI_ARGS_((Tcl_Interp * interp, char * targetName)); /* 37 */ - int (*tclGetNamespaceForQualName) _ANSI_ARGS_((Tcl_Interp * interp, char * qualName, Namespace * cxtNsPtr, int flags, Namespace ** nsPtrPtr, Namespace ** altNsPtrPtr, Namespace ** actualCxtPtrPtr, char ** simpleNamePtr)); /* 38 */ - TclObjCmdProcType (*tclGetObjInterpProc) _ANSI_ARGS_((void)); /* 39 */ - int (*tclGetOpenMode) _ANSI_ARGS_((Tcl_Interp * interp, char * str, int * seekFlagPtr)); /* 40 */ - Tcl_Command (*tclGetOriginalCommand) _ANSI_ARGS_((Tcl_Command command)); /* 41 */ - char * (*tclpGetUserHome) _ANSI_ARGS_((CONST char * name, Tcl_DString * bufferPtr)); /* 42 */ - int (*tclGlobalInvoke) _ANSI_ARGS_((Tcl_Interp * interp, int argc, char ** argv, int flags)); /* 43 */ - int (*tclGuessPackageName) _ANSI_ARGS_((char * fileName, Tcl_DString * bufPtr)); /* 44 */ - int (*tclHideUnsafeCommands) _ANSI_ARGS_((Tcl_Interp * interp)); /* 45 */ - int (*tclInExit) _ANSI_ARGS_((void)); /* 46 */ - Tcl_Obj * (*tclIncrElementOfIndexedArray) _ANSI_ARGS_((Tcl_Interp * interp, int localIndex, Tcl_Obj * elemPtr, long incrAmount)); /* 47 */ - Tcl_Obj * (*tclIncrIndexedScalar) _ANSI_ARGS_((Tcl_Interp * interp, int localIndex, long incrAmount)); /* 48 */ - Tcl_Obj * (*tclIncrVar2) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * part1Ptr, Tcl_Obj * part2Ptr, long incrAmount, int part1NotParsed)); /* 49 */ - void (*tclInitCompiledLocals) _ANSI_ARGS_((Tcl_Interp * interp, CallFrame * framePtr, Namespace * nsPtr)); /* 50 */ - int (*tclInterpInit) _ANSI_ARGS_((Tcl_Interp * interp)); /* 51 */ - int (*tclInvoke) _ANSI_ARGS_((Tcl_Interp * interp, int argc, char ** argv, int flags)); /* 52 */ - int (*tclInvokeObjectCommand) _ANSI_ARGS_((ClientData clientData, Tcl_Interp * interp, int argc, char ** argv)); /* 53 */ - int (*tclInvokeStringCommand) _ANSI_ARGS_((ClientData clientData, Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[])); /* 54 */ - Proc * (*tclIsProc) _ANSI_ARGS_((Command * cmdPtr)); /* 55 */ - void *reserved56; - void *reserved57; - Var * (*tclLookupVar) _ANSI_ARGS_((Tcl_Interp * interp, char * part1, char * part2, int flags, char * msg, int createPart1, int createPart2, Var ** arrayPtrPtr)); /* 58 */ - int (*tclpMatchFiles) _ANSI_ARGS_((Tcl_Interp * interp, char * separators, Tcl_DString * dirPtr, char * pattern, char * tail)); /* 59 */ - int (*tclNeedSpace) _ANSI_ARGS_((char * start, char * end)); /* 60 */ - Tcl_Obj * (*tclNewProcBodyObj) _ANSI_ARGS_((Proc * procPtr)); /* 61 */ - int (*tclObjCommandComplete) _ANSI_ARGS_((Tcl_Obj * cmdPtr)); /* 62 */ - int (*tclObjInterpProc) _ANSI_ARGS_((ClientData clientData, Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[])); /* 63 */ - int (*tclObjInvoke) _ANSI_ARGS_((Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[], int flags)); /* 64 */ - int (*tclObjInvokeGlobal) _ANSI_ARGS_((Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[], int flags)); /* 65 */ - int (*tclOpenFileChannelDeleteProc) _ANSI_ARGS_((TclOpenFileChannelProc_ * proc)); /* 66 */ - int (*tclOpenFileChannelInsertProc) _ANSI_ARGS_((TclOpenFileChannelProc_ * proc)); /* 67 */ - int (*tclpAccess) _ANSI_ARGS_((CONST char * path, int mode)); /* 68 */ - char * (*tclpAlloc) _ANSI_ARGS_((unsigned int size)); /* 69 */ - int (*tclpCopyFile) _ANSI_ARGS_((CONST char * source, CONST char * dest)); /* 70 */ - int (*tclpCopyDirectory) _ANSI_ARGS_((CONST char * source, CONST char * dest, Tcl_DString * errorPtr)); /* 71 */ - int (*tclpCreateDirectory) _ANSI_ARGS_((CONST char * path)); /* 72 */ - int (*tclpDeleteFile) _ANSI_ARGS_((CONST char * path)); /* 73 */ - void (*tclpFree) _ANSI_ARGS_((char * ptr)); /* 74 */ - unsigned long (*tclpGetClicks) _ANSI_ARGS_((void)); /* 75 */ - unsigned long (*tclpGetSeconds) _ANSI_ARGS_((void)); /* 76 */ - void (*tclpGetTime) _ANSI_ARGS_((Tcl_Time * time)); /* 77 */ - int (*tclpGetTimeZone) _ANSI_ARGS_((unsigned long time)); /* 78 */ - int (*tclpListVolumes) _ANSI_ARGS_((Tcl_Interp * interp)); /* 79 */ - Tcl_Channel (*tclpOpenFileChannel) _ANSI_ARGS_((Tcl_Interp * interp, char * fileName, char * modeString, int permissions)); /* 80 */ - char * (*tclpRealloc) _ANSI_ARGS_((char * ptr, unsigned int size)); /* 81 */ - int (*tclpRemoveDirectory) _ANSI_ARGS_((CONST char * path, int recursive, Tcl_DString * errorPtr)); /* 82 */ - int (*tclpRenameFile) _ANSI_ARGS_((CONST char * source, CONST char * dest)); /* 83 */ - void *reserved84; - void *reserved85; - void *reserved86; - void *reserved87; - char * (*tclPrecTraceProc) _ANSI_ARGS_((ClientData clientData, Tcl_Interp * interp, char * name1, char * name2, int flags)); /* 88 */ - int (*tclPreventAliasLoop) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Interp * cmdInterp, Tcl_Command cmd)); /* 89 */ - void *reserved90; - void (*tclProcCleanupProc) _ANSI_ARGS_((Proc * procPtr)); /* 91 */ - int (*tclProcCompileProc) _ANSI_ARGS_((Tcl_Interp * interp, Proc * procPtr, Tcl_Obj * bodyPtr, Namespace * nsPtr, CONST char * description, CONST char * procName)); /* 92 */ - void (*tclProcDeleteProc) _ANSI_ARGS_((ClientData clientData)); /* 93 */ - int (*tclProcInterpProc) _ANSI_ARGS_((ClientData clientData, Tcl_Interp * interp, int argc, char ** argv)); /* 94 */ - int (*tclpStat) _ANSI_ARGS_((CONST char * path, struct stat * buf)); /* 95 */ - int (*tclRenameCommand) _ANSI_ARGS_((Tcl_Interp * interp, char * oldName, char * newName)); /* 96 */ - void (*tclResetShadowedCmdRefs) _ANSI_ARGS_((Tcl_Interp * interp, Command * newCmdPtr)); /* 97 */ - int (*tclServiceIdle) _ANSI_ARGS_((void)); /* 98 */ - Tcl_Obj * (*tclSetElementOfIndexedArray) _ANSI_ARGS_((Tcl_Interp * interp, int localIndex, Tcl_Obj * elemPtr, Tcl_Obj * objPtr, int leaveErrorMsg)); /* 99 */ - Tcl_Obj * (*tclSetIndexedScalar) _ANSI_ARGS_((Tcl_Interp * interp, int localIndex, Tcl_Obj * objPtr, int leaveErrorMsg)); /* 100 */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - char * (*tclSetPreInitScript) _ANSI_ARGS_((char * string)); /* 101 */ -#endif /* UNIX */ -#ifdef __WIN32__ - char * (*tclSetPreInitScript) _ANSI_ARGS_((char * string)); /* 101 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void *reserved101; -#endif /* MAC_TCL */ - void (*tclSetupEnv) _ANSI_ARGS_((Tcl_Interp * interp)); /* 102 */ - int (*tclSockGetPort) _ANSI_ARGS_((Tcl_Interp * interp, char * str, char * proto, int * portPtr)); /* 103 */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - int (*tclSockMinimumBuffers) _ANSI_ARGS_((int sock, int size)); /* 104 */ -#endif /* UNIX */ -#ifdef __WIN32__ - int (*tclSockMinimumBuffers) _ANSI_ARGS_((int sock, int size)); /* 104 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void *reserved104; -#endif /* MAC_TCL */ - int (*tclStat) _ANSI_ARGS_((CONST char * path, struct stat * buf)); /* 105 */ - int (*tclStatDeleteProc) _ANSI_ARGS_((TclStatProc_ * proc)); /* 106 */ - int (*tclStatInsertProc) _ANSI_ARGS_((TclStatProc_ * proc)); /* 107 */ - void (*tclTeardownNamespace) _ANSI_ARGS_((Namespace * nsPtr)); /* 108 */ - int (*tclUpdateReturnInfo) _ANSI_ARGS_((Interp * iPtr)); /* 109 */ - void *reserved110; - void (*tcl_AddInterpResolvers) _ANSI_ARGS_((Tcl_Interp * interp, char * name, Tcl_ResolveCmdProc * cmdProc, Tcl_ResolveVarProc * varProc, Tcl_ResolveCompiledVarProc * compiledVarProc)); /* 111 */ - int (*tcl_AppendExportList) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Namespace * nsPtr, Tcl_Obj * objPtr)); /* 112 */ - Tcl_Namespace * (*tcl_CreateNamespace) _ANSI_ARGS_((Tcl_Interp * interp, char * name, ClientData clientData, Tcl_NamespaceDeleteProc * deleteProc)); /* 113 */ - void (*tcl_DeleteNamespace) _ANSI_ARGS_((Tcl_Namespace * nsPtr)); /* 114 */ - int (*tcl_Export) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Namespace * nsPtr, char * pattern, int resetListFirst)); /* 115 */ - Tcl_Command (*tcl_FindCommand) _ANSI_ARGS_((Tcl_Interp * interp, char * name, Tcl_Namespace * contextNsPtr, int flags)); /* 116 */ - Tcl_Namespace * (*tcl_FindNamespace) _ANSI_ARGS_((Tcl_Interp * interp, char * name, Tcl_Namespace * contextNsPtr, int flags)); /* 117 */ - int (*tcl_GetInterpResolvers) _ANSI_ARGS_((Tcl_Interp * interp, char * name, Tcl_ResolverInfo * resInfo)); /* 118 */ - int (*tcl_GetNamespaceResolvers) _ANSI_ARGS_((Tcl_Namespace * namespacePtr, Tcl_ResolverInfo * resInfo)); /* 119 */ - Tcl_Var (*tcl_FindNamespaceVar) _ANSI_ARGS_((Tcl_Interp * interp, char * name, Tcl_Namespace * contextNsPtr, int flags)); /* 120 */ - int (*tcl_ForgetImport) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Namespace * nsPtr, char * pattern)); /* 121 */ - Tcl_Command (*tcl_GetCommandFromObj) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * objPtr)); /* 122 */ - void (*tcl_GetCommandFullName) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Command command, Tcl_Obj * objPtr)); /* 123 */ - Tcl_Namespace * (*tcl_GetCurrentNamespace) _ANSI_ARGS_((Tcl_Interp * interp)); /* 124 */ - Tcl_Namespace * (*tcl_GetGlobalNamespace) _ANSI_ARGS_((Tcl_Interp * interp)); /* 125 */ - void (*tcl_GetVariableFullName) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Var variable, Tcl_Obj * objPtr)); /* 126 */ - int (*tcl_Import) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Namespace * nsPtr, char * pattern, int allowOverwrite)); /* 127 */ - void (*tcl_PopCallFrame) _ANSI_ARGS_((Tcl_Interp* interp)); /* 128 */ - int (*tcl_PushCallFrame) _ANSI_ARGS_((Tcl_Interp* interp, Tcl_CallFrame * framePtr, Tcl_Namespace * nsPtr, int isProcCallFrame)); /* 129 */ - int (*tcl_RemoveInterpResolvers) _ANSI_ARGS_((Tcl_Interp * interp, char * name)); /* 130 */ - void (*tcl_SetNamespaceResolvers) _ANSI_ARGS_((Tcl_Namespace * namespacePtr, Tcl_ResolveCmdProc * cmdProc, Tcl_ResolveVarProc * varProc, Tcl_ResolveCompiledVarProc * compiledVarProc)); /* 131 */ - int (*tclpHasSockets) _ANSI_ARGS_((Tcl_Interp * interp)); /* 132 */ - struct tm * (*tclpGetDate) _ANSI_ARGS_((TclpTime_t time, int useGMT)); /* 133 */ - size_t (*tclpStrftime) _ANSI_ARGS_((char * s, size_t maxsize, CONST char * format, CONST struct tm * t)); /* 134 */ - int (*tclpCheckStackSpace) _ANSI_ARGS_((void)); /* 135 */ - void *reserved136; - int (*tclpChdir) _ANSI_ARGS_((CONST char * dirName)); /* 137 */ - char * (*tclGetEnv) _ANSI_ARGS_((CONST char * name, Tcl_DString * valuePtr)); /* 138 */ - int (*tclpLoadFile) _ANSI_ARGS_((Tcl_Interp * interp, char * fileName, char * sym1, char * sym2, Tcl_PackageInitProc ** proc1Ptr, Tcl_PackageInitProc ** proc2Ptr, ClientData * clientDataPtr)); /* 139 */ - int (*tclLooksLikeInt) _ANSI_ARGS_((char * bytes, int length)); /* 140 */ - char * (*tclpGetCwd) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_DString * cwdPtr)); /* 141 */ - int (*tclSetByteCodeFromAny) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * objPtr, CompileHookProc * hookProc, ClientData clientData)); /* 142 */ - int (*tclAddLiteralObj) _ANSI_ARGS_((struct CompileEnv * envPtr, Tcl_Obj * objPtr, LiteralEntry ** litPtrPtr)); /* 143 */ - void (*tclHideLiteral) _ANSI_ARGS_((Tcl_Interp * interp, struct CompileEnv * envPtr, int index)); /* 144 */ - struct AuxDataType * (*tclGetAuxDataType) _ANSI_ARGS_((char * typeName)); /* 145 */ - TclHandle (*tclHandleCreate) _ANSI_ARGS_((VOID * ptr)); /* 146 */ - void (*tclHandleFree) _ANSI_ARGS_((TclHandle handle)); /* 147 */ - TclHandle (*tclHandlePreserve) _ANSI_ARGS_((TclHandle handle)); /* 148 */ - void (*tclHandleRelease) _ANSI_ARGS_((TclHandle handle)); /* 149 */ - int (*tclRegAbout) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_RegExp re)); /* 150 */ - void (*tclRegExpRangeUniChar) _ANSI_ARGS_((Tcl_RegExp re, int index, int * startPtr, int * endPtr)); /* 151 */ - void (*tclSetLibraryPath) _ANSI_ARGS_((Tcl_Obj * pathPtr)); /* 152 */ - Tcl_Obj * (*tclGetLibraryPath) _ANSI_ARGS_((void)); /* 153 */ - int (*tclTestChannelCmd) _ANSI_ARGS_((ClientData clientData, Tcl_Interp * interp, int argc, char ** argv)); /* 154 */ - int (*tclTestChannelEventCmd) _ANSI_ARGS_((ClientData clientData, Tcl_Interp * interp, int argc, char ** argv)); /* 155 */ - void (*tclRegError) _ANSI_ARGS_((Tcl_Interp * interp, char * msg, int status)); /* 156 */ - Var * (*tclVarTraceExists) _ANSI_ARGS_((Tcl_Interp * interp, char * varName)); /* 157 */ -} TclIntStubs; - -#ifdef __cplusplus -extern "C" { -#endif -extern TclIntStubs *tclIntStubsPtr; -#ifdef __cplusplus -} -#endif - -#if defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) - -/* - * Inline function declarations: - */ - -#ifndef TclAccess -#define TclAccess \ - (tclIntStubsPtr->tclAccess) /* 0 */ -#endif -#ifndef TclAccessDeleteProc -#define TclAccessDeleteProc \ - (tclIntStubsPtr->tclAccessDeleteProc) /* 1 */ -#endif -#ifndef TclAccessInsertProc -#define TclAccessInsertProc \ - (tclIntStubsPtr->tclAccessInsertProc) /* 2 */ -#endif -#ifndef TclAllocateFreeObjects -#define TclAllocateFreeObjects \ - (tclIntStubsPtr->tclAllocateFreeObjects) /* 3 */ -#endif -/* Slot 4 is reserved */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -#ifndef TclCleanupChildren -#define TclCleanupChildren \ - (tclIntStubsPtr->tclCleanupChildren) /* 5 */ -#endif -#endif /* UNIX */ -#ifdef __WIN32__ -#ifndef TclCleanupChildren -#define TclCleanupChildren \ - (tclIntStubsPtr->tclCleanupChildren) /* 5 */ -#endif -#endif /* __WIN32__ */ -#ifndef TclCleanupCommand -#define TclCleanupCommand \ - (tclIntStubsPtr->tclCleanupCommand) /* 6 */ -#endif -#ifndef TclCopyAndCollapse -#define TclCopyAndCollapse \ - (tclIntStubsPtr->tclCopyAndCollapse) /* 7 */ -#endif -#ifndef TclCopyChannel -#define TclCopyChannel \ - (tclIntStubsPtr->tclCopyChannel) /* 8 */ -#endif -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -#ifndef TclCreatePipeline -#define TclCreatePipeline \ - (tclIntStubsPtr->tclCreatePipeline) /* 9 */ -#endif -#endif /* UNIX */ -#ifdef __WIN32__ -#ifndef TclCreatePipeline -#define TclCreatePipeline \ - (tclIntStubsPtr->tclCreatePipeline) /* 9 */ -#endif -#endif /* __WIN32__ */ -#ifndef TclCreateProc -#define TclCreateProc \ - (tclIntStubsPtr->tclCreateProc) /* 10 */ -#endif -#ifndef TclDeleteCompiledLocalVars -#define TclDeleteCompiledLocalVars \ - (tclIntStubsPtr->tclDeleteCompiledLocalVars) /* 11 */ -#endif -#ifndef TclDeleteVars -#define TclDeleteVars \ - (tclIntStubsPtr->tclDeleteVars) /* 12 */ -#endif -#ifndef TclDoGlob -#define TclDoGlob \ - (tclIntStubsPtr->tclDoGlob) /* 13 */ -#endif -#ifndef TclDumpMemoryInfo -#define TclDumpMemoryInfo \ - (tclIntStubsPtr->tclDumpMemoryInfo) /* 14 */ -#endif -/* Slot 15 is reserved */ -#ifndef TclExprFloatError -#define TclExprFloatError \ - (tclIntStubsPtr->tclExprFloatError) /* 16 */ -#endif -#ifndef TclFileAttrsCmd -#define TclFileAttrsCmd \ - (tclIntStubsPtr->tclFileAttrsCmd) /* 17 */ -#endif -#ifndef TclFileCopyCmd -#define TclFileCopyCmd \ - (tclIntStubsPtr->tclFileCopyCmd) /* 18 */ -#endif -#ifndef TclFileDeleteCmd -#define TclFileDeleteCmd \ - (tclIntStubsPtr->tclFileDeleteCmd) /* 19 */ -#endif -#ifndef TclFileMakeDirsCmd -#define TclFileMakeDirsCmd \ - (tclIntStubsPtr->tclFileMakeDirsCmd) /* 20 */ -#endif -#ifndef TclFileRenameCmd -#define TclFileRenameCmd \ - (tclIntStubsPtr->tclFileRenameCmd) /* 21 */ -#endif -#ifndef TclFindElement -#define TclFindElement \ - (tclIntStubsPtr->tclFindElement) /* 22 */ -#endif -#ifndef TclFindProc -#define TclFindProc \ - (tclIntStubsPtr->tclFindProc) /* 23 */ -#endif -#ifndef TclFormatInt -#define TclFormatInt \ - (tclIntStubsPtr->tclFormatInt) /* 24 */ -#endif -#ifndef TclFreePackageInfo -#define TclFreePackageInfo \ - (tclIntStubsPtr->tclFreePackageInfo) /* 25 */ -#endif -/* Slot 26 is reserved */ -#ifndef TclGetDate -#define TclGetDate \ - (tclIntStubsPtr->tclGetDate) /* 27 */ -#endif -#ifndef TclpGetDefaultStdChannel -#define TclpGetDefaultStdChannel \ - (tclIntStubsPtr->tclpGetDefaultStdChannel) /* 28 */ -#endif -#ifndef TclGetElementOfIndexedArray -#define TclGetElementOfIndexedArray \ - (tclIntStubsPtr->tclGetElementOfIndexedArray) /* 29 */ -#endif -/* Slot 30 is reserved */ -#ifndef TclGetExtension -#define TclGetExtension \ - (tclIntStubsPtr->tclGetExtension) /* 31 */ -#endif -#ifndef TclGetFrame -#define TclGetFrame \ - (tclIntStubsPtr->tclGetFrame) /* 32 */ -#endif -#ifndef TclGetInterpProc -#define TclGetInterpProc \ - (tclIntStubsPtr->tclGetInterpProc) /* 33 */ -#endif -#ifndef TclGetIntForIndex -#define TclGetIntForIndex \ - (tclIntStubsPtr->tclGetIntForIndex) /* 34 */ -#endif -#ifndef TclGetIndexedScalar -#define TclGetIndexedScalar \ - (tclIntStubsPtr->tclGetIndexedScalar) /* 35 */ -#endif -#ifndef TclGetLong -#define TclGetLong \ - (tclIntStubsPtr->tclGetLong) /* 36 */ -#endif -#ifndef TclGetLoadedPackages -#define TclGetLoadedPackages \ - (tclIntStubsPtr->tclGetLoadedPackages) /* 37 */ -#endif -#ifndef TclGetNamespaceForQualName -#define TclGetNamespaceForQualName \ - (tclIntStubsPtr->tclGetNamespaceForQualName) /* 38 */ -#endif -#ifndef TclGetObjInterpProc -#define TclGetObjInterpProc \ - (tclIntStubsPtr->tclGetObjInterpProc) /* 39 */ -#endif -#ifndef TclGetOpenMode -#define TclGetOpenMode \ - (tclIntStubsPtr->tclGetOpenMode) /* 40 */ -#endif -#ifndef TclGetOriginalCommand -#define TclGetOriginalCommand \ - (tclIntStubsPtr->tclGetOriginalCommand) /* 41 */ -#endif -#ifndef TclpGetUserHome -#define TclpGetUserHome \ - (tclIntStubsPtr->tclpGetUserHome) /* 42 */ -#endif -#ifndef TclGlobalInvoke -#define TclGlobalInvoke \ - (tclIntStubsPtr->tclGlobalInvoke) /* 43 */ -#endif -#ifndef TclGuessPackageName -#define TclGuessPackageName \ - (tclIntStubsPtr->tclGuessPackageName) /* 44 */ -#endif -#ifndef TclHideUnsafeCommands -#define TclHideUnsafeCommands \ - (tclIntStubsPtr->tclHideUnsafeCommands) /* 45 */ -#endif -#ifndef TclInExit -#define TclInExit \ - (tclIntStubsPtr->tclInExit) /* 46 */ -#endif -#ifndef TclIncrElementOfIndexedArray -#define TclIncrElementOfIndexedArray \ - (tclIntStubsPtr->tclIncrElementOfIndexedArray) /* 47 */ -#endif -#ifndef TclIncrIndexedScalar -#define TclIncrIndexedScalar \ - (tclIntStubsPtr->tclIncrIndexedScalar) /* 48 */ -#endif -#ifndef TclIncrVar2 -#define TclIncrVar2 \ - (tclIntStubsPtr->tclIncrVar2) /* 49 */ -#endif -#ifndef TclInitCompiledLocals -#define TclInitCompiledLocals \ - (tclIntStubsPtr->tclInitCompiledLocals) /* 50 */ -#endif -#ifndef TclInterpInit -#define TclInterpInit \ - (tclIntStubsPtr->tclInterpInit) /* 51 */ -#endif -#ifndef TclInvoke -#define TclInvoke \ - (tclIntStubsPtr->tclInvoke) /* 52 */ -#endif -#ifndef TclInvokeObjectCommand -#define TclInvokeObjectCommand \ - (tclIntStubsPtr->tclInvokeObjectCommand) /* 53 */ -#endif -#ifndef TclInvokeStringCommand -#define TclInvokeStringCommand \ - (tclIntStubsPtr->tclInvokeStringCommand) /* 54 */ -#endif -#ifndef TclIsProc -#define TclIsProc \ - (tclIntStubsPtr->tclIsProc) /* 55 */ -#endif -/* Slot 56 is reserved */ -/* Slot 57 is reserved */ -#ifndef TclLookupVar -#define TclLookupVar \ - (tclIntStubsPtr->tclLookupVar) /* 58 */ -#endif -#ifndef TclpMatchFiles -#define TclpMatchFiles \ - (tclIntStubsPtr->tclpMatchFiles) /* 59 */ -#endif -#ifndef TclNeedSpace -#define TclNeedSpace \ - (tclIntStubsPtr->tclNeedSpace) /* 60 */ -#endif -#ifndef TclNewProcBodyObj -#define TclNewProcBodyObj \ - (tclIntStubsPtr->tclNewProcBodyObj) /* 61 */ -#endif -#ifndef TclObjCommandComplete -#define TclObjCommandComplete \ - (tclIntStubsPtr->tclObjCommandComplete) /* 62 */ -#endif -#ifndef TclObjInterpProc -#define TclObjInterpProc \ - (tclIntStubsPtr->tclObjInterpProc) /* 63 */ -#endif -#ifndef TclObjInvoke -#define TclObjInvoke \ - (tclIntStubsPtr->tclObjInvoke) /* 64 */ -#endif -#ifndef TclObjInvokeGlobal -#define TclObjInvokeGlobal \ - (tclIntStubsPtr->tclObjInvokeGlobal) /* 65 */ -#endif -#ifndef TclOpenFileChannelDeleteProc -#define TclOpenFileChannelDeleteProc \ - (tclIntStubsPtr->tclOpenFileChannelDeleteProc) /* 66 */ -#endif -#ifndef TclOpenFileChannelInsertProc -#define TclOpenFileChannelInsertProc \ - (tclIntStubsPtr->tclOpenFileChannelInsertProc) /* 67 */ -#endif -#ifndef TclpAccess -#define TclpAccess \ - (tclIntStubsPtr->tclpAccess) /* 68 */ -#endif -#ifndef TclpAlloc -#define TclpAlloc \ - (tclIntStubsPtr->tclpAlloc) /* 69 */ -#endif -#ifndef TclpCopyFile -#define TclpCopyFile \ - (tclIntStubsPtr->tclpCopyFile) /* 70 */ -#endif -#ifndef TclpCopyDirectory -#define TclpCopyDirectory \ - (tclIntStubsPtr->tclpCopyDirectory) /* 71 */ -#endif -#ifndef TclpCreateDirectory -#define TclpCreateDirectory \ - (tclIntStubsPtr->tclpCreateDirectory) /* 72 */ -#endif -#ifndef TclpDeleteFile -#define TclpDeleteFile \ - (tclIntStubsPtr->tclpDeleteFile) /* 73 */ -#endif -#ifndef TclpFree -#define TclpFree \ - (tclIntStubsPtr->tclpFree) /* 74 */ -#endif -#ifndef TclpGetClicks -#define TclpGetClicks \ - (tclIntStubsPtr->tclpGetClicks) /* 75 */ -#endif -#ifndef TclpGetSeconds -#define TclpGetSeconds \ - (tclIntStubsPtr->tclpGetSeconds) /* 76 */ -#endif -#ifndef TclpGetTime -#define TclpGetTime \ - (tclIntStubsPtr->tclpGetTime) /* 77 */ -#endif -#ifndef TclpGetTimeZone -#define TclpGetTimeZone \ - (tclIntStubsPtr->tclpGetTimeZone) /* 78 */ -#endif -#ifndef TclpListVolumes -#define TclpListVolumes \ - (tclIntStubsPtr->tclpListVolumes) /* 79 */ -#endif -#ifndef TclpOpenFileChannel -#define TclpOpenFileChannel \ - (tclIntStubsPtr->tclpOpenFileChannel) /* 80 */ -#endif -#ifndef TclpRealloc -#define TclpRealloc \ - (tclIntStubsPtr->tclpRealloc) /* 81 */ -#endif -#ifndef TclpRemoveDirectory -#define TclpRemoveDirectory \ - (tclIntStubsPtr->tclpRemoveDirectory) /* 82 */ -#endif -#ifndef TclpRenameFile -#define TclpRenameFile \ - (tclIntStubsPtr->tclpRenameFile) /* 83 */ -#endif -/* Slot 84 is reserved */ -/* Slot 85 is reserved */ -/* Slot 86 is reserved */ -/* Slot 87 is reserved */ -#ifndef TclPrecTraceProc -#define TclPrecTraceProc \ - (tclIntStubsPtr->tclPrecTraceProc) /* 88 */ -#endif -#ifndef TclPreventAliasLoop -#define TclPreventAliasLoop \ - (tclIntStubsPtr->tclPreventAliasLoop) /* 89 */ -#endif -/* Slot 90 is reserved */ -#ifndef TclProcCleanupProc -#define TclProcCleanupProc \ - (tclIntStubsPtr->tclProcCleanupProc) /* 91 */ -#endif -#ifndef TclProcCompileProc -#define TclProcCompileProc \ - (tclIntStubsPtr->tclProcCompileProc) /* 92 */ -#endif -#ifndef TclProcDeleteProc -#define TclProcDeleteProc \ - (tclIntStubsPtr->tclProcDeleteProc) /* 93 */ -#endif -#ifndef TclProcInterpProc -#define TclProcInterpProc \ - (tclIntStubsPtr->tclProcInterpProc) /* 94 */ -#endif -#ifndef TclpStat -#define TclpStat \ - (tclIntStubsPtr->tclpStat) /* 95 */ -#endif -#ifndef TclRenameCommand -#define TclRenameCommand \ - (tclIntStubsPtr->tclRenameCommand) /* 96 */ -#endif -#ifndef TclResetShadowedCmdRefs -#define TclResetShadowedCmdRefs \ - (tclIntStubsPtr->tclResetShadowedCmdRefs) /* 97 */ -#endif -#ifndef TclServiceIdle -#define TclServiceIdle \ - (tclIntStubsPtr->tclServiceIdle) /* 98 */ -#endif -#ifndef TclSetElementOfIndexedArray -#define TclSetElementOfIndexedArray \ - (tclIntStubsPtr->tclSetElementOfIndexedArray) /* 99 */ -#endif -#ifndef TclSetIndexedScalar -#define TclSetIndexedScalar \ - (tclIntStubsPtr->tclSetIndexedScalar) /* 100 */ -#endif -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -#ifndef TclSetPreInitScript -#define TclSetPreInitScript \ - (tclIntStubsPtr->tclSetPreInitScript) /* 101 */ -#endif -#endif /* UNIX */ -#ifdef __WIN32__ -#ifndef TclSetPreInitScript -#define TclSetPreInitScript \ - (tclIntStubsPtr->tclSetPreInitScript) /* 101 */ -#endif -#endif /* __WIN32__ */ -#ifndef TclSetupEnv -#define TclSetupEnv \ - (tclIntStubsPtr->tclSetupEnv) /* 102 */ -#endif -#ifndef TclSockGetPort -#define TclSockGetPort \ - (tclIntStubsPtr->tclSockGetPort) /* 103 */ -#endif -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -#ifndef TclSockMinimumBuffers -#define TclSockMinimumBuffers \ - (tclIntStubsPtr->tclSockMinimumBuffers) /* 104 */ -#endif -#endif /* UNIX */ -#ifdef __WIN32__ -#ifndef TclSockMinimumBuffers -#define TclSockMinimumBuffers \ - (tclIntStubsPtr->tclSockMinimumBuffers) /* 104 */ -#endif -#endif /* __WIN32__ */ -#ifndef TclStat -#define TclStat \ - (tclIntStubsPtr->tclStat) /* 105 */ -#endif -#ifndef TclStatDeleteProc -#define TclStatDeleteProc \ - (tclIntStubsPtr->tclStatDeleteProc) /* 106 */ -#endif -#ifndef TclStatInsertProc -#define TclStatInsertProc \ - (tclIntStubsPtr->tclStatInsertProc) /* 107 */ -#endif -#ifndef TclTeardownNamespace -#define TclTeardownNamespace \ - (tclIntStubsPtr->tclTeardownNamespace) /* 108 */ -#endif -#ifndef TclUpdateReturnInfo -#define TclUpdateReturnInfo \ - (tclIntStubsPtr->tclUpdateReturnInfo) /* 109 */ -#endif -/* Slot 110 is reserved */ -#ifndef Tcl_AddInterpResolvers -#define Tcl_AddInterpResolvers \ - (tclIntStubsPtr->tcl_AddInterpResolvers) /* 111 */ -#endif -#ifndef Tcl_AppendExportList -#define Tcl_AppendExportList \ - (tclIntStubsPtr->tcl_AppendExportList) /* 112 */ -#endif -#ifndef Tcl_CreateNamespace -#define Tcl_CreateNamespace \ - (tclIntStubsPtr->tcl_CreateNamespace) /* 113 */ -#endif -#ifndef Tcl_DeleteNamespace -#define Tcl_DeleteNamespace \ - (tclIntStubsPtr->tcl_DeleteNamespace) /* 114 */ -#endif -#ifndef Tcl_Export -#define Tcl_Export \ - (tclIntStubsPtr->tcl_Export) /* 115 */ -#endif -#ifndef Tcl_FindCommand -#define Tcl_FindCommand \ - (tclIntStubsPtr->tcl_FindCommand) /* 116 */ -#endif -#ifndef Tcl_FindNamespace -#define Tcl_FindNamespace \ - (tclIntStubsPtr->tcl_FindNamespace) /* 117 */ -#endif -#ifndef Tcl_GetInterpResolvers -#define Tcl_GetInterpResolvers \ - (tclIntStubsPtr->tcl_GetInterpResolvers) /* 118 */ -#endif -#ifndef Tcl_GetNamespaceResolvers -#define Tcl_GetNamespaceResolvers \ - (tclIntStubsPtr->tcl_GetNamespaceResolvers) /* 119 */ -#endif -#ifndef Tcl_FindNamespaceVar -#define Tcl_FindNamespaceVar \ - (tclIntStubsPtr->tcl_FindNamespaceVar) /* 120 */ -#endif -#ifndef Tcl_ForgetImport -#define Tcl_ForgetImport \ - (tclIntStubsPtr->tcl_ForgetImport) /* 121 */ -#endif -#ifndef Tcl_GetCommandFromObj -#define Tcl_GetCommandFromObj \ - (tclIntStubsPtr->tcl_GetCommandFromObj) /* 122 */ -#endif -#ifndef Tcl_GetCommandFullName -#define Tcl_GetCommandFullName \ - (tclIntStubsPtr->tcl_GetCommandFullName) /* 123 */ -#endif -#ifndef Tcl_GetCurrentNamespace -#define Tcl_GetCurrentNamespace \ - (tclIntStubsPtr->tcl_GetCurrentNamespace) /* 124 */ -#endif -#ifndef Tcl_GetGlobalNamespace -#define Tcl_GetGlobalNamespace \ - (tclIntStubsPtr->tcl_GetGlobalNamespace) /* 125 */ -#endif -#ifndef Tcl_GetVariableFullName -#define Tcl_GetVariableFullName \ - (tclIntStubsPtr->tcl_GetVariableFullName) /* 126 */ -#endif -#ifndef Tcl_Import -#define Tcl_Import \ - (tclIntStubsPtr->tcl_Import) /* 127 */ -#endif -#ifndef Tcl_PopCallFrame -#define Tcl_PopCallFrame \ - (tclIntStubsPtr->tcl_PopCallFrame) /* 128 */ -#endif -#ifndef Tcl_PushCallFrame -#define Tcl_PushCallFrame \ - (tclIntStubsPtr->tcl_PushCallFrame) /* 129 */ -#endif -#ifndef Tcl_RemoveInterpResolvers -#define Tcl_RemoveInterpResolvers \ - (tclIntStubsPtr->tcl_RemoveInterpResolvers) /* 130 */ -#endif -#ifndef Tcl_SetNamespaceResolvers -#define Tcl_SetNamespaceResolvers \ - (tclIntStubsPtr->tcl_SetNamespaceResolvers) /* 131 */ -#endif -#ifndef TclpHasSockets -#define TclpHasSockets \ - (tclIntStubsPtr->tclpHasSockets) /* 132 */ -#endif -#ifndef TclpGetDate -#define TclpGetDate \ - (tclIntStubsPtr->tclpGetDate) /* 133 */ -#endif -#ifndef TclpStrftime -#define TclpStrftime \ - (tclIntStubsPtr->tclpStrftime) /* 134 */ -#endif -#ifndef TclpCheckStackSpace -#define TclpCheckStackSpace \ - (tclIntStubsPtr->tclpCheckStackSpace) /* 135 */ -#endif -/* Slot 136 is reserved */ -#ifndef TclpChdir -#define TclpChdir \ - (tclIntStubsPtr->tclpChdir) /* 137 */ -#endif -#ifndef TclGetEnv -#define TclGetEnv \ - (tclIntStubsPtr->tclGetEnv) /* 138 */ -#endif -#ifndef TclpLoadFile -#define TclpLoadFile \ - (tclIntStubsPtr->tclpLoadFile) /* 139 */ -#endif -#ifndef TclLooksLikeInt -#define TclLooksLikeInt \ - (tclIntStubsPtr->tclLooksLikeInt) /* 140 */ -#endif -#ifndef TclpGetCwd -#define TclpGetCwd \ - (tclIntStubsPtr->tclpGetCwd) /* 141 */ -#endif -#ifndef TclSetByteCodeFromAny -#define TclSetByteCodeFromAny \ - (tclIntStubsPtr->tclSetByteCodeFromAny) /* 142 */ -#endif -#ifndef TclAddLiteralObj -#define TclAddLiteralObj \ - (tclIntStubsPtr->tclAddLiteralObj) /* 143 */ -#endif -#ifndef TclHideLiteral -#define TclHideLiteral \ - (tclIntStubsPtr->tclHideLiteral) /* 144 */ -#endif -#ifndef TclGetAuxDataType -#define TclGetAuxDataType \ - (tclIntStubsPtr->tclGetAuxDataType) /* 145 */ -#endif -#ifndef TclHandleCreate -#define TclHandleCreate \ - (tclIntStubsPtr->tclHandleCreate) /* 146 */ -#endif -#ifndef TclHandleFree -#define TclHandleFree \ - (tclIntStubsPtr->tclHandleFree) /* 147 */ -#endif -#ifndef TclHandlePreserve -#define TclHandlePreserve \ - (tclIntStubsPtr->tclHandlePreserve) /* 148 */ -#endif -#ifndef TclHandleRelease -#define TclHandleRelease \ - (tclIntStubsPtr->tclHandleRelease) /* 149 */ -#endif -#ifndef TclRegAbout -#define TclRegAbout \ - (tclIntStubsPtr->tclRegAbout) /* 150 */ -#endif -#ifndef TclRegExpRangeUniChar -#define TclRegExpRangeUniChar \ - (tclIntStubsPtr->tclRegExpRangeUniChar) /* 151 */ -#endif -#ifndef TclSetLibraryPath -#define TclSetLibraryPath \ - (tclIntStubsPtr->tclSetLibraryPath) /* 152 */ -#endif -#ifndef TclGetLibraryPath -#define TclGetLibraryPath \ - (tclIntStubsPtr->tclGetLibraryPath) /* 153 */ -#endif -#ifndef TclTestChannelCmd -#define TclTestChannelCmd \ - (tclIntStubsPtr->tclTestChannelCmd) /* 154 */ -#endif -#ifndef TclTestChannelEventCmd -#define TclTestChannelEventCmd \ - (tclIntStubsPtr->tclTestChannelEventCmd) /* 155 */ -#endif -#ifndef TclRegError -#define TclRegError \ - (tclIntStubsPtr->tclRegError) /* 156 */ -#endif -#ifndef TclVarTraceExists -#define TclVarTraceExists \ - (tclIntStubsPtr->tclVarTraceExists) /* 157 */ -#endif - -#endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */ - -/* !END!: Do not edit above this line. */ - -#endif /* _TCLINTDECLS */ diff --git a/src/other/togl/include/tcltk/tk8.2/tkInt.h b/src/other/togl/include/tcltk/tk8.2/tkInt.h deleted file mode 100644 index 86423801590..00000000000 --- a/src/other/togl/include/tcltk/tk8.2/tkInt.h +++ /dev/null @@ -1,1009 +0,0 @@ -/* - * tkInt.h -- - * - * Declarations for things used internally by the Tk - * procedures but not exported outside the module. - * - * Copyright (c) 1990-1994 The Regents of the University of California. - * Copyright (c) 1994-1997 Sun Microsystems, Inc. - * Copyright (c) 1998 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: Id - */ - -#ifndef _TKINT -#define _TKINT - -#ifndef _TK -#include "tk.h" -#endif -#ifndef _TCL -#include "tcl.h" -#endif -#ifndef _TKPORT -#include -#endif - -/* - * Opaque type declarations: - */ - -typedef struct TkColormap TkColormap; -typedef struct TkGrabEvent TkGrabEvent; -typedef struct Tk_PostscriptInfo Tk_PostscriptInfo; -typedef struct TkpCursor_ *TkpCursor; -typedef struct TkRegion_ *TkRegion; -typedef struct TkStressedCmap TkStressedCmap; -typedef struct TkBindInfo_ *TkBindInfo; - -/* - * Procedure types. - */ - -typedef int (TkBindEvalProc) _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, XEvent *eventPtr, Tk_Window tkwin, - KeySym keySym)); -typedef void (TkBindFreeProc) _ANSI_ARGS_((ClientData clientData)); -typedef Window (TkClassCreateProc) _ANSI_ARGS_((Tk_Window tkwin, - Window parent, ClientData instanceData)); -typedef void (TkClassGeometryProc) _ANSI_ARGS_((ClientData instanceData)); -typedef void (TkClassModalProc) _ANSI_ARGS_((Tk_Window tkwin, - XEvent *eventPtr)); - - -/* - * Widget class procedures used to implement platform specific widget - * behavior. - */ - -typedef struct TkClassProcs { - TkClassCreateProc *createProc; - /* Procedure to invoke when the - platform-dependent window needs to be - created. */ - TkClassGeometryProc *geometryProc; - /* Procedure to invoke when the geometry of a - window needs to be recalculated as a result - of some change in the system. */ - TkClassModalProc *modalProc; - /* Procedure to invoke after all bindings on a - widget have been triggered in order to - handle a modal loop. */ -} TkClassProcs; - -/* - * One of the following structures is maintained for each cursor in - * use in the system. This structure is used by tkCursor.c and the - * various system specific cursor files. - */ - -typedef struct TkCursor { - Tk_Cursor cursor; /* System specific identifier for cursor. */ - Display *display; /* Display containing cursor. Needed for - * disposal and retrieval of cursors. */ - int resourceRefCount; /* Number of active uses of this cursor (each - * active use corresponds to a call to - * Tk_AllocPreserveFromObj or Tk_Preserve). - * If this count is 0, then this structure - * is no longer valid and it isn't present - * in a hash table: it is being kept around - * only because there are objects referring - * to it. The structure is freed when - * resourceRefCount and objRefCount are - * both 0. */ - int objRefCount; /* Number of Tcl objects that reference - * this structure.. */ - Tcl_HashTable *otherTable; /* Second table (other than idTable) used - * to index this entry. */ - Tcl_HashEntry *hashPtr; /* Entry in otherTable for this structure - * (needed when deleting). */ - Tcl_HashEntry *idHashPtr; /* Entry in idTable for this structure - * (needed when deleting). */ - struct TkCursor *nextPtr; /* Points to the next TkCursor structure with - * the same name. Cursors with the same - * name but different displays are chained - * together off a single hash table entry. */ -} TkCursor; - -/* - * One of the following structures is maintained for each display - * containing a window managed by Tk. In part, the structure is - * used to store thread-specific data, since each thread will have - * its own TkDisplay structure. - */ - -typedef struct TkDisplay { - Display *display; /* Xlib's info about display. */ - struct TkDisplay *nextPtr; /* Next in list of all displays. */ - char *name; /* Name of display (with any screen - * identifier removed). Malloc-ed. */ - Time lastEventTime; /* Time of last event received for this - * display. */ - - /* - * Information used primarily by tk3d.c: - */ - - int borderInit; /* 0 means borderTable needs initializing. */ - Tcl_HashTable borderTable; /* Maps from color name to TkBorder - * structure. */ - - /* - * Information used by tkAtom.c only: - */ - - int atomInit; /* 0 means stuff below hasn't been - * initialized yet. */ - Tcl_HashTable nameTable; /* Maps from names to Atom's. */ - Tcl_HashTable atomTable; /* Maps from Atom's back to names. */ - - /* - * Information used primarily by tkBind.c: - */ - - int bindInfoStale; /* Non-zero means the variables in this - * part of the structure are potentially - * incorrect and should be recomputed. */ - unsigned int modeModMask; /* Has one bit set to indicate the modifier - * corresponding to "mode shift". If no - * such modifier, than this is zero. */ - unsigned int metaModMask; /* Has one bit set to indicate the modifier - * corresponding to the "Meta" key. If no - * such modifier, then this is zero. */ - unsigned int altModMask; /* Has one bit set to indicate the modifier - * corresponding to the "Meta" key. If no - * such modifier, then this is zero. */ - enum {LU_IGNORE, LU_CAPS, LU_SHIFT} lockUsage; - /* Indicates how to interpret lock modifier. */ - int numModKeyCodes; /* Number of entries in modKeyCodes array - * below. */ - KeyCode *modKeyCodes; /* Pointer to an array giving keycodes for - * all of the keys that have modifiers - * associated with them. Malloc'ed, but - * may be NULL. */ - - /* - * Information used by tkBitmap.c only: - */ - - int bitmapInit; /* 0 means tables above need initializing. */ - int bitmapAutoNumber; /* Used to number bitmaps. */ - Tcl_HashTable bitmapNameTable; - /* Maps from name of bitmap to the first - * TkBitmap record for that name. */ - Tcl_HashTable bitmapIdTable;/* Maps from bitmap id to the TkBitmap - * structure for the bitmap. */ - Tcl_HashTable bitmapDataTable; - /* Used by Tk_GetBitmapFromData to map from - * a collection of in-core data about a - * bitmap to a reference giving an auto- - * matically-generated name for the bitmap. */ - - /* - * Information used by tkCanvas.c only: - */ - - int numIdSearches; - int numSlowSearches; - - /* - * Used by tkColor.c only: - */ - - int colorInit; /* 0 means color module needs initializing. */ - TkStressedCmap *stressPtr; /* First in list of colormaps that have - * filled up, so we have to pick an - * approximate color. */ - Tcl_HashTable colorNameTable; - /* Maps from color name to TkColor structure - * for that color. */ - Tcl_HashTable colorValueTable; - /* Maps from integer RGB values to TkColor - * structures. */ - - /* - * Used by tkCursor.c only: - */ - - int cursorInit; /* 0 means cursor module need initializing. */ - Tcl_HashTable cursorNameTable; - /* Maps from a string name to a cursor to the - * TkCursor record for the cursor. */ - Tcl_HashTable cursorDataTable; - /* Maps from a collection of in-core data - * about a cursor to a TkCursor structure. */ - Tcl_HashTable cursorIdTable; - /* Maps from a cursor id to the TkCursor - * structure for the cursor. */ - char cursorString[20]; /* Used to store a cursor id string. */ - Font cursorFont; /* Font to use for standard cursors. - * None means font not loaded yet. */ - - /* - * Information used by tkError.c only: - */ - - struct TkErrorHandler *errorPtr; - /* First in list of error handlers - * for this display. NULL means - * no handlers exist at present. */ - int deleteCount; /* Counts # of handlers deleted since - * last time inactive handlers were - * garbage-collected. When this number - * gets big, handlers get cleaned up. */ - - /* - * Used by tkEvent.c only: - */ - - struct TkWindowEvent *delayedMotionPtr; - /* Points to a malloc-ed motion event - * whose processing has been delayed in - * the hopes that another motion event - * will come along right away and we can - * merge the two of them together. NULL - * means that there is no delayed motion - * event. */ - - /* - * Information used by tkFocus.c only: - */ - - int focusDebug; /* 1 means collect focus debugging - * statistics. */ - struct TkWindow *implicitWinPtr; - /* If the focus arrived at a toplevel window - * implicitly via an Enter event (rather - * than via a FocusIn event), this points - * to the toplevel window. Otherwise it is - * NULL. */ - struct TkWindow *focusPtr; /* Points to the window on this display that - * should be receiving keyboard events. When - * multiple applications on the display have - * the focus, this will refer to the - * innermost window in the innermost - * application. This information isn't used - * under Unix or Windows, but it's needed on - * the Macintosh. */ - - /* - * Information used by tkGC.c only: - */ - - Tcl_HashTable gcValueTable; /* Maps from a GC's values to a TkGC structure - * describing a GC with those values. */ - Tcl_HashTable gcIdTable; /* Maps from a GC to a TkGC. */ - int gcInit; /* 0 means the tables below need - * initializing. */ - - /* - * Information used by tkGeometry.c only: - */ - - Tcl_HashTable maintainHashTable; - /* Hash table that maps from a master's - * Tk_Window token to a list of slaves - * managed by that master. */ - int geomInit; - - /* - * Information used by tkGet.c only: - */ - - Tcl_HashTable uidTable; /* Stores all Tk_Uid used in a thread. */ - int uidInit; /* 0 means uidTable needs initializing. */ - - /* - * Information used by tkGrab.c only: - */ - - struct TkWindow *grabWinPtr; - /* Window in which the pointer is currently - * grabbed, or NULL if none. */ - struct TkWindow *eventualGrabWinPtr; - /* Value that grabWinPtr will have once the - * grab event queue (below) has been - * completely emptied. */ - struct TkWindow *buttonWinPtr; - /* Window in which first mouse button was - * pressed while grab was in effect, or NULL - * if no such press in effect. */ - struct TkWindow *serverWinPtr; - /* If no application contains the pointer then - * this is NULL. Otherwise it contains the - * last window for which we've gotten an - * Enter or Leave event from the server (i.e. - * the last window known to have contained - * the pointer). Doesn't reflect events - * that were synthesized in tkGrab.c. */ - TkGrabEvent *firstGrabEventPtr; - /* First in list of enter/leave events - * synthesized by grab code. These events - * must be processed in order before any other - * events are processed. NULL means no such - * events. */ - TkGrabEvent *lastGrabEventPtr; - /* Last in list of synthesized events, or NULL - * if list is empty. */ - int grabFlags; /* Miscellaneous flag values. See definitions - * in tkGrab.c. */ - - /* - * Information used by tkGrid.c only: - */ - - int gridInit; /* 0 means table below needs initializing. */ - Tcl_HashTable gridHashTable;/* Maps from Tk_Window tokens to - * corresponding Grid structures. */ - - /* - * Information used by tkImage.c only: - */ - - int imageId; /* Value used to number image ids. */ - - /* - * Information used by tkMacWinMenu.c only: - */ - - int postCommandGeneration; - - /* - * Information used by tkOption.c only. - */ - - - - /* - * Information used by tkPack.c only. - */ - - int packInit; /* 0 means table below needs initializing. */ - Tcl_HashTable packerHashTable; - /* Maps from Tk_Window tokens to - * corresponding Packer structures. */ - - - /* - * Information used by tkPlace.c only. - */ - - int placeInit; /* 0 means tables below need initializing. */ - Tcl_HashTable masterTable; /* Maps from Tk_Window toke to the Master - * structure for the window, if it exists. */ - Tcl_HashTable slaveTable; /* Maps from Tk_Window toke to the Slave - * structure for the window, if it exists. */ - - /* - * Information used by tkSelect.c and tkClipboard.c only: - */ - - struct TkSelectionInfo *selectionInfoPtr; - /* First in list of selection information - * records. Each entry contains information - * about the current owner of a particular - * selection on this display. */ - Atom multipleAtom; /* Atom for MULTIPLE. None means - * selection stuff isn't initialized. */ - Atom incrAtom; /* Atom for INCR. */ - Atom targetsAtom; /* Atom for TARGETS. */ - Atom timestampAtom; /* Atom for TIMESTAMP. */ - Atom textAtom; /* Atom for TEXT. */ - Atom compoundTextAtom; /* Atom for COMPOUND_TEXT. */ - Atom applicationAtom; /* Atom for TK_APPLICATION. */ - Atom windowAtom; /* Atom for TK_WINDOW. */ - Atom clipboardAtom; /* Atom for CLIPBOARD. */ - - Tk_Window clipWindow; /* Window used for clipboard ownership and to - * retrieve selections between processes. NULL - * means clipboard info hasn't been - * initialized. */ - int clipboardActive; /* 1 means we currently own the clipboard - * selection, 0 means we don't. */ - struct TkMainInfo *clipboardAppPtr; - /* Last application that owned clipboard. */ - struct TkClipboardTarget *clipTargetPtr; - /* First in list of clipboard type information - * records. Each entry contains information - * about the buffers for a given selection - * target. */ - - /* - * Information used by tkSend.c only: - */ - - Tk_Window commTkwin; /* Window used for communication - * between interpreters during "send" - * commands. NULL means send info hasn't - * been initialized yet. */ - Atom commProperty; /* X's name for comm property. */ - Atom registryProperty; /* X's name for property containing - * registry of interpreter names. */ - Atom appNameProperty; /* X's name for property used to hold the - * application name on each comm window. */ - - /* - * Information used by tkXId.c only: - */ - - struct TkIdStack *idStackPtr; - /* First in list of chunks of free resource - * identifiers, or NULL if there are no free - * resources. */ - XID (*defaultAllocProc) _ANSI_ARGS_((Display *display)); - /* Default resource allocator for display. */ - struct TkIdStack *windowStackPtr; - /* First in list of chunks of window - * identifers that can't be reused right - * now. */ - int idCleanupScheduled; /* 1 means a call to WindowIdCleanup has - * already been scheduled, 0 means it - * hasn't. */ - - /* - * Information used by tkUnixWm.c and tkWinWm.c only: - */ - - int wmTracing; /* Used to enable or disable tracing in - * this module. If tracing is enabled, - * then information is printed on - * standard output about interesting - * interactions with the window manager. */ - struct TkWmInfo *firstWmPtr; /* Points to first top-level window. */ - struct TkWmInfo *foregroundWmPtr; - /* Points to the foreground window. */ - - /* - * Information maintained by tkWindow.c for use later on by tkXId.c: - */ - - - int destroyCount; /* Number of Tk_DestroyWindow operations - * in progress. */ - unsigned long lastDestroyRequest; - /* Id of most recent XDestroyWindow request; - * can re-use ids in windowStackPtr when - * server has seen this request and event - * queue is empty. */ - - /* - * Information used by tkVisual.c only: - */ - - TkColormap *cmapPtr; /* First in list of all non-default colormaps - * allocated for this display. */ - - /* - * Miscellaneous information: - */ - -#ifdef TK_USE_INPUT_METHODS - XIM inputMethod; /* Input method for this display */ -#endif /* TK_USE_INPUT_METHODS */ - Tcl_HashTable winTable; /* Maps from X window ids to TkWindow ptrs. */ - - int refCount; /* Reference count of how many Tk applications - * are using this display. Used to clean up - * the display when we no longer have any - * Tk applications using it. - */ -} TkDisplay; - -/* - * One of the following structures exists for each error handler - * created by a call to Tk_CreateErrorHandler. The structure - * is managed by tkError.c. - */ - -typedef struct TkErrorHandler { - TkDisplay *dispPtr; /* Display to which handler applies. */ - unsigned long firstRequest; /* Only errors with serial numbers - * >= to this are considered. */ - unsigned long lastRequest; /* Only errors with serial numbers - * <= to this are considered. This - * field is filled in when XUnhandle - * is called. -1 means XUnhandle - * hasn't been called yet. */ - int error; /* Consider only errors with this - * error_code (-1 means consider - * all errors). */ - int request; /* Consider only errors with this - * major request code (-1 means - * consider all major codes). */ - int minorCode; /* Consider only errors with this - * minor request code (-1 means - * consider all minor codes). */ - Tk_ErrorProc *errorProc; /* Procedure to invoke when a matching - * error occurs. NULL means just ignore - * errors. */ - ClientData clientData; /* Arbitrary value to pass to - * errorProc. */ - struct TkErrorHandler *nextPtr; - /* Pointer to next older handler for - * this display, or NULL for end of - * list. */ -} TkErrorHandler; - - - - -/* - * One of the following structures exists for each event handler - * created by calling Tk_CreateEventHandler. This information - * is used by tkEvent.c only. - */ - -typedef struct TkEventHandler { - unsigned long mask; /* Events for which to invoke - * proc. */ - Tk_EventProc *proc; /* Procedure to invoke when an event - * in mask occurs. */ - ClientData clientData; /* Argument to pass to proc. */ - struct TkEventHandler *nextPtr; - /* Next in list of handlers - * associated with window (NULL means - * end of list). */ -} TkEventHandler; - -/* - * Tk keeps one of the following data structures for each main - * window (created by a call to TkCreateMainWindow). It stores - * information that is shared by all of the windows associated - * with a particular main window. - */ - -typedef struct TkMainInfo { - int refCount; /* Number of windows whose "mainPtr" fields - * point here. When this becomes zero, can - * free up the structure (the reference - * count is zero because windows can get - * deleted in almost any order; the main - * window isn't necessarily the last one - * deleted). */ - struct TkWindow *winPtr; /* Pointer to main window. */ - Tcl_Interp *interp; /* Interpreter associated with application. */ - Tcl_HashTable nameTable; /* Hash table mapping path names to TkWindow - * structs for all windows related to this - * main window. Managed by tkWindow.c. */ - Tk_BindingTable bindingTable; - /* Used in conjunction with "bind" command - * to bind events to Tcl commands. */ - TkBindInfo bindInfo; /* Information used by tkBind.c on a per - * application basis. */ - struct TkFontInfo *fontInfoPtr; - /* Information used by tkFont.c on a per - * application basis. */ - - /* - * Information used only by tkFocus.c and tk*Embed.c: - */ - - struct TkToplevelFocusInfo *tlFocusPtr; - /* First in list of records containing focus - * information for each top-level in the - * application. Used only by tkFocus.c. */ - struct TkDisplayFocusInfo *displayFocusPtr; - /* First in list of records containing focus - * information for each display that this - * application has ever used. Used only - * by tkFocus.c. */ - - struct ElArray *optionRootPtr; - /* Top level of option hierarchy for this - * main window. NULL means uninitialized. - * Managed by tkOption.c. */ - Tcl_HashTable imageTable; /* Maps from image names to Tk_ImageMaster - * structures. Managed by tkImage.c. */ - int strictMotif; /* This is linked to the tk_strictMotif - * global variable. */ - struct TkMainInfo *nextPtr; /* Next in list of all main windows managed by - * this process. */ -} TkMainInfo; - -/* - * Tk keeps the following data structure for each of it's builtin - * bitmaps. This structure is only used by tkBitmap.c and other - * platform specific bitmap files. - */ - -typedef struct { - char *source; /* Bits for bitmap. */ - int width, height; /* Dimensions of bitmap. */ - int native; /* 0 means generic (X style) bitmap, - * 1 means native style bitmap. */ -} TkPredefBitmap; - -/* - * Tk keeps one of the following structures for each window. - * Some of the information (like size and location) is a shadow - * of information managed by the X server, and some is special - * information used here, such as event and geometry management - * information. This information is (mostly) managed by tkWindow.c. - * WARNING: the declaration below must be kept consistent with the - * Tk_FakeWin structure in tk.h. If you change one, be sure to - * change the other!! - */ - -typedef struct TkWindow { - - /* - * Structural information: - */ - - Display *display; /* Display containing window. */ - TkDisplay *dispPtr; /* Tk's information about display - * for window. */ - int screenNum; /* Index of screen for window, among all - * those for dispPtr. */ - Visual *visual; /* Visual to use for window. If not default, - * MUST be set before X window is created. */ - int depth; /* Number of bits/pixel. */ - Window window; /* X's id for window. NULL means window - * hasn't actually been created yet, or it's - * been deleted. */ - struct TkWindow *childList; /* First in list of child windows, - * or NULL if no children. List is in - * stacking order, lowest window first.*/ - struct TkWindow *lastChildPtr; - /* Last in list of child windows (highest - * in stacking order), or NULL if no - * children. */ - struct TkWindow *parentPtr; /* Pointer to parent window (logical - * parent, not necessarily X parent). NULL - * means either this is the main window, or - * the window's parent has already been - * deleted. */ - struct TkWindow *nextPtr; /* Next higher sibling (in stacking order) - * in list of children with same parent. NULL - * means end of list. */ - TkMainInfo *mainPtr; /* Information shared by all windows - * associated with a particular main - * window. NULL means this window is - * a rogue that isn't associated with - * any application (at present, this - * only happens for the dummy windows - * used for "send" communication). */ - - /* - * Name and type information for the window: - */ - - char *pathName; /* Path name of window (concatenation - * of all names between this window and - * its top-level ancestor). This is a - * pointer into an entry in - * mainPtr->nameTable. NULL means that - * the window hasn't been completely - * created yet. */ - Tk_Uid nameUid; /* Name of the window within its parent - * (unique within the parent). */ - Tk_Uid classUid; /* Class of the window. NULL means window - * hasn't been given a class yet. */ - - /* - * Geometry and other attributes of window. This information - * may not be updated on the server immediately; stuff that - * hasn't been reflected in the server yet is called "dirty". - * At present, information can be dirty only if the window - * hasn't yet been created. - */ - - XWindowChanges changes; /* Geometry and other info about - * window. */ - unsigned int dirtyChanges; /* Bits indicate fields of "changes" - * that are dirty. */ - XSetWindowAttributes atts; /* Current attributes of window. */ - unsigned long dirtyAtts; /* Bits indicate fields of "atts" - * that are dirty. */ - - unsigned int flags; /* Various flag values: these are all - * defined in tk.h (confusing, but they're - * needed there for some query macros). */ - - /* - * Information kept by the event manager (tkEvent.c): - */ - - TkEventHandler *handlerList;/* First in list of event handlers - * declared for this window, or - * NULL if none. */ -#ifdef TK_USE_INPUT_METHODS - XIC inputContext; /* Input context (for input methods). */ -#endif /* TK_USE_INPUT_METHODS */ - - /* - * Information used for event bindings (see "bind" and "bindtags" - * commands in tkCmds.c): - */ - - ClientData *tagPtr; /* Points to array of tags used for bindings - * on this window. Each tag is a Tk_Uid. - * Malloc'ed. NULL means no tags. */ - int numTags; /* Number of tags at *tagPtr. */ - - /* - * Information used by tkOption.c to manage options for the - * window. - */ - - int optionLevel; /* -1 means no option information is - * currently cached for this window. - * Otherwise this gives the level in - * the option stack at which info is - * cached. */ - /* - * Information used by tkSelect.c to manage the selection. - */ - - struct TkSelHandler *selHandlerList; - /* First in list of handlers for - * returning the selection in various - * forms. */ - - /* - * Information used by tkGeometry.c for geometry management. - */ - - Tk_GeomMgr *geomMgrPtr; /* Information about geometry manager for - * this window. */ - ClientData geomData; /* Argument for geometry manager procedures. */ - int reqWidth, reqHeight; /* Arguments from last call to - * Tk_GeometryRequest, or 0's if - * Tk_GeometryRequest hasn't been - * called. */ - int internalBorderWidth; /* Width of internal border of window - * (0 means no internal border). Geometry - * managers should not normally place children - * on top of the border. */ - - /* - * Information maintained by tkWm.c for window manager communication. - */ - - struct TkWmInfo *wmInfoPtr; /* For top-level windows (and also - * for special Unix menubar and wrapper - * windows), points to structure with - * wm-related info (see tkWm.c). For - * other windows, this is NULL. */ - - /* - * Information used by widget classes. - */ - - TkClassProcs *classProcsPtr; - ClientData instanceData; - - /* - * Platform specific information private to each port. - */ - - struct TkWindowPrivate *privatePtr; -} TkWindow; - -/* - * The following structure is used as a two way map between integers - * and strings, usually to map between an internal C representation - * and the strings used in Tcl. - */ - -typedef struct TkStateMap { - int numKey; /* Integer representation of a value. */ - char *strKey; /* String representation of a value. */ -} TkStateMap; - -/* - * This structure is used by the Mac and Window porting layers as - * the internal representation of a clip_mask in a GC. - */ - -typedef struct TkpClipMask { - int type; /* One of TKP_CLIP_PIXMAP or TKP_CLIP_REGION */ - union { - Pixmap pixmap; - TkRegion region; - } value; -} TkpClipMask; - -#define TKP_CLIP_PIXMAP 0 -#define TKP_CLIP_REGION 1 - -/* - * Pointer to first entry in list of all displays currently known. - */ - -extern TkDisplay *tkDisplayList; - -/* - * Return values from TkGrabState: - */ - -#define TK_GRAB_NONE 0 -#define TK_GRAB_IN_TREE 1 -#define TK_GRAB_ANCESTOR 2 -#define TK_GRAB_EXCLUDED 3 - -/* - * The macro below is used to modify a "char" value (e.g. by casting - * it to an unsigned character) so that it can be used safely with - * macros such as isspace. - */ - -#define UCHAR(c) ((unsigned char) (c)) - -/* - * The following symbol is used in the mode field of FocusIn events - * generated by an embedded application to request the input focus from - * its container. - */ - -#define EMBEDDED_APP_WANTS_FOCUS (NotifyNormal + 20) - -/* - * Miscellaneous variables shared among Tk modules but not exported - * to the outside world: - */ - -extern Tk_Uid tkActiveUid; -extern Tk_ImageType tkBitmapImageType; -extern Tk_Uid tkDisabledUid; -extern Tk_PhotoImageFormat tkImgFmtGIF; -extern void (*tkHandleEventProc) _ANSI_ARGS_(( - XEvent* eventPtr)); -extern Tk_PhotoImageFormat tkImgFmtPPM; -extern TkMainInfo *tkMainWindowList; -extern Tk_Uid tkNormalUid; -extern Tk_ImageType tkPhotoImageType; -extern Tcl_HashTable tkPredefBitmapTable; -extern int tkSendSerial; - -#include "tkIntDecls.h" - -#ifdef BUILD_tk -# undef TCL_STORAGE_CLASS -# define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * Internal procedures shared among Tk modules but not exported - * to the outside world: - */ - -EXTERN int Tk_AfterCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_BellObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_BindCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_BindtagsCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_ButtonObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_CanvasCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_CheckbuttonObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_ClipboardCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_ChooseColorObjCmd _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tk_ChooseDirectoryObjCmd _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tk_ChooseFontObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_DestroyCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_EntryObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_EventObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_FileeventCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_FrameCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_FocusObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_FontObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_GetOpenFileObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_GetSaveFileObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_GrabCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_GridCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_ImageCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_LabelObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_ListboxCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_LowerCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_MenubuttonObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_MessageBoxObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_MessageCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_OptionCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_PackCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_PlaceCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_RadiobuttonObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_RaiseCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_ScaleObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_ScrollbarCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_SelectionCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_SendCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_SendObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_TextCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_TkObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_TkwaitCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_ToplevelCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_UpdateObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_WinfoObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_WmCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); - -void TkConsolePrint _ANSI_ARGS_((Tcl_Interp *interp, - int devId, char *buffer, long size)); - -EXTERN void TkEventInit _ANSI_ARGS_((void)); - -EXTERN int TkCreateMenuCmd _ANSI_ARGS_((Tcl_Interp *interp)); -EXTERN int TkDeadAppCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); - -EXTERN int TkpTestembedCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); - -/* - * Unsupported commands. - */ -EXTERN int TkUnsupported1Cmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); - -# undef TCL_STORAGE_CLASS -# define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKINT */ diff --git a/src/other/togl/include/tcltk/tk8.2/tkIntDecls.h b/src/other/togl/include/tcltk/tk8.2/tkIntDecls.h deleted file mode 100644 index efc29645039..00000000000 --- a/src/other/togl/include/tcltk/tk8.2/tkIntDecls.h +++ /dev/null @@ -1,1460 +0,0 @@ -/* - * tkIntDecls.h -- - * - * This file contains the declarations for all unsupported - * functions that are exported by the Tk library. These - * interfaces are not guaranteed to remain the same between - * versions. Use at your own risk. - * - * Copyright (c) 1998-1999 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKINTDECLS -#define _TKINTDECLS - -#ifdef BUILD_tk -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * WARNING: This file is automatically generated by the tools/genStubs.tcl - * script. Any modifications to the function declarations below should be made - * in the generic/tkInt.decls script. - */ - -/* !BEGIN!: Do not edit below this line. */ - -/* - * Exported function declarations: - */ - -/* 0 */ -EXTERN TkWindow * TkAllocWindow _ANSI_ARGS_((TkDisplay * dispPtr, - int screenNum, TkWindow * parentPtr)); -/* 1 */ -EXTERN void TkBezierPoints _ANSI_ARGS_((double control[], - int numSteps, double * coordPtr)); -/* 2 */ -EXTERN void TkBezierScreenPoints _ANSI_ARGS_((Tk_Canvas canvas, - double control[], int numSteps, - XPoint * xPointPtr)); -/* 3 */ -EXTERN void TkBindDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 4 */ -EXTERN void TkBindEventProc _ANSI_ARGS_((TkWindow * winPtr, - XEvent * eventPtr)); -/* 5 */ -EXTERN void TkBindFree _ANSI_ARGS_((TkMainInfo * mainPtr)); -/* 6 */ -EXTERN void TkBindInit _ANSI_ARGS_((TkMainInfo * mainPtr)); -/* 7 */ -EXTERN void TkChangeEventWindow _ANSI_ARGS_((XEvent * eventPtr, - TkWindow * winPtr)); -/* 8 */ -EXTERN int TkClipInit _ANSI_ARGS_((Tcl_Interp * interp, - TkDisplay * dispPtr)); -/* 9 */ -EXTERN void TkComputeAnchor _ANSI_ARGS_((Tk_Anchor anchor, - Tk_Window tkwin, int padX, int padY, - int innerWidth, int innerHeight, int * xPtr, - int * yPtr)); -/* 10 */ -EXTERN int TkCopyAndGlobalEval _ANSI_ARGS_((Tcl_Interp * interp, - char * script)); -/* 11 */ -EXTERN unsigned long TkCreateBindingProcedure _ANSI_ARGS_(( - Tcl_Interp * interp, - Tk_BindingTable bindingTable, - ClientData object, char * eventString, - TkBindEvalProc * evalProc, - TkBindFreeProc * freeProc, - ClientData clientData)); -/* 12 */ -EXTERN TkCursor * TkCreateCursorFromData _ANSI_ARGS_((Tk_Window tkwin, - char * source, char * mask, int width, - int height, int xHot, int yHot, XColor fg, - XColor bg)); -/* 13 */ -EXTERN int TkCreateFrame _ANSI_ARGS_((ClientData clientData, - Tcl_Interp * interp, int argc, char ** argv, - int toplevel, char * appName)); -/* 14 */ -EXTERN Tk_Window TkCreateMainWindow _ANSI_ARGS_((Tcl_Interp * interp, - char * screenName, char * baseName)); -/* 15 */ -EXTERN Time TkCurrentTime _ANSI_ARGS_((TkDisplay * dispPtr)); -/* 16 */ -EXTERN void TkDeleteAllImages _ANSI_ARGS_((TkMainInfo * mainPtr)); -/* 17 */ -EXTERN void TkDoConfigureNotify _ANSI_ARGS_((TkWindow * winPtr)); -/* 18 */ -EXTERN void TkDrawInsetFocusHighlight _ANSI_ARGS_(( - Tk_Window tkwin, GC gc, int width, - Drawable drawable, int padding)); -/* 19 */ -EXTERN void TkEventDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 20 */ -EXTERN void TkFillPolygon _ANSI_ARGS_((Tk_Canvas canvas, - double * coordPtr, int numPoints, - Display * display, Drawable drawable, GC gc, - GC outlineGC)); -/* 21 */ -EXTERN int TkFindStateNum _ANSI_ARGS_((Tcl_Interp * interp, - CONST char * option, - CONST TkStateMap * mapPtr, - CONST char * strKey)); -/* 22 */ -EXTERN char * TkFindStateString _ANSI_ARGS_(( - CONST TkStateMap * mapPtr, int numKey)); -/* 23 */ -EXTERN void TkFocusDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 24 */ -EXTERN int TkFocusFilterEvent _ANSI_ARGS_((TkWindow * winPtr, - XEvent * eventPtr)); -/* 25 */ -EXTERN TkWindow * TkFocusKeyEvent _ANSI_ARGS_((TkWindow * winPtr, - XEvent * eventPtr)); -/* 26 */ -EXTERN void TkFontPkgInit _ANSI_ARGS_((TkMainInfo * mainPtr)); -/* 27 */ -EXTERN void TkFontPkgFree _ANSI_ARGS_((TkMainInfo * mainPtr)); -/* 28 */ -EXTERN void TkFreeBindingTags _ANSI_ARGS_((TkWindow * winPtr)); -/* 29 */ -EXTERN void TkpFreeCursor _ANSI_ARGS_((TkCursor * cursorPtr)); -/* 30 */ -EXTERN char * TkGetBitmapData _ANSI_ARGS_((Tcl_Interp * interp, - char * string, char * fileName, - int * widthPtr, int * heightPtr, - int * hotXPtr, int * hotYPtr)); -/* 31 */ -EXTERN void TkGetButtPoints _ANSI_ARGS_((double p1[], - double p2[], double width, int project, - double m1[], double m2[])); -/* 32 */ -EXTERN TkCursor * TkGetCursorByName _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Window tkwin, Tk_Uid string)); -/* 33 */ -EXTERN char * TkGetDefaultScreenName _ANSI_ARGS_(( - Tcl_Interp * interp, char * screenName)); -/* 34 */ -EXTERN TkDisplay * TkGetDisplay _ANSI_ARGS_((Display * display)); -/* 35 */ -EXTERN int TkGetDisplayOf _ANSI_ARGS_((Tcl_Interp * interp, - int objc, Tcl_Obj *CONST objv[], - Tk_Window * tkwinPtr)); -/* 36 */ -EXTERN TkWindow * TkGetFocusWin _ANSI_ARGS_((TkWindow * winPtr)); -/* 37 */ -EXTERN int TkGetInterpNames _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Window tkwin)); -/* 38 */ -EXTERN int TkGetMiterPoints _ANSI_ARGS_((double p1[], - double p2[], double p3[], double width, - double m1[], double m2[])); -/* 39 */ -EXTERN void TkGetPointerCoords _ANSI_ARGS_((Tk_Window tkwin, - int * xPtr, int * yPtr)); -/* 40 */ -EXTERN void TkGetServerInfo _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Window tkwin)); -/* 41 */ -EXTERN void TkGrabDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 42 */ -EXTERN int TkGrabState _ANSI_ARGS_((TkWindow * winPtr)); -/* 43 */ -EXTERN void TkIncludePoint _ANSI_ARGS_((Tk_Item * itemPtr, - double * pointPtr)); -/* 44 */ -EXTERN void TkInOutEvents _ANSI_ARGS_((XEvent * eventPtr, - TkWindow * sourcePtr, TkWindow * destPtr, - int leaveType, int enterType, - Tcl_QueuePosition position)); -/* 45 */ -EXTERN void TkInstallFrameMenu _ANSI_ARGS_((Tk_Window tkwin)); -/* 46 */ -EXTERN char * TkKeysymToString _ANSI_ARGS_((KeySym keysym)); -/* 47 */ -EXTERN int TkLineToArea _ANSI_ARGS_((double end1Ptr[], - double end2Ptr[], double rectPtr[])); -/* 48 */ -EXTERN double TkLineToPoint _ANSI_ARGS_((double end1Ptr[], - double end2Ptr[], double pointPtr[])); -/* 49 */ -EXTERN int TkMakeBezierCurve _ANSI_ARGS_((Tk_Canvas canvas, - double * pointPtr, int numPoints, - int numSteps, XPoint xPoints[], - double dblPoints[])); -/* 50 */ -EXTERN void TkMakeBezierPostscript _ANSI_ARGS_(( - Tcl_Interp * interp, Tk_Canvas canvas, - double * pointPtr, int numPoints)); -/* 51 */ -EXTERN void TkOptionClassChanged _ANSI_ARGS_((TkWindow * winPtr)); -/* 52 */ -EXTERN void TkOptionDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 53 */ -EXTERN int TkOvalToArea _ANSI_ARGS_((double * ovalPtr, - double * rectPtr)); -/* 54 */ -EXTERN double TkOvalToPoint _ANSI_ARGS_((double ovalPtr[], - double width, int filled, double pointPtr[])); -/* 55 */ -EXTERN int TkpChangeFocus _ANSI_ARGS_((TkWindow * winPtr, - int force)); -/* 56 */ -EXTERN void TkpCloseDisplay _ANSI_ARGS_((TkDisplay * dispPtr)); -/* 57 */ -EXTERN void TkpClaimFocus _ANSI_ARGS_((TkWindow * topLevelPtr, - int force)); -/* 58 */ -EXTERN void TkpDisplayWarning _ANSI_ARGS_((char * msg, - char * title)); -/* 59 */ -EXTERN void TkpGetAppName _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_DString * name)); -/* 60 */ -EXTERN TkWindow * TkpGetOtherWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 61 */ -EXTERN TkWindow * TkpGetWrapperWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 62 */ -EXTERN int TkpInit _ANSI_ARGS_((Tcl_Interp * interp)); -/* 63 */ -EXTERN void TkpInitializeMenuBindings _ANSI_ARGS_(( - Tcl_Interp * interp, - Tk_BindingTable bindingTable)); -/* 64 */ -EXTERN void TkpMakeContainer _ANSI_ARGS_((Tk_Window tkwin)); -/* 65 */ -EXTERN void TkpMakeMenuWindow _ANSI_ARGS_((Tk_Window tkwin, - int transient)); -/* 66 */ -EXTERN Window TkpMakeWindow _ANSI_ARGS_((TkWindow * winPtr, - Window parent)); -/* 67 */ -EXTERN void TkpMenuNotifyToplevelCreate _ANSI_ARGS_(( - Tcl_Interp * interp1, char * menuName)); -/* 68 */ -EXTERN TkDisplay * TkpOpenDisplay _ANSI_ARGS_((char * display_name)); -/* 69 */ -EXTERN int TkPointerEvent _ANSI_ARGS_((XEvent * eventPtr, - TkWindow * winPtr)); -/* 70 */ -EXTERN int TkPolygonToArea _ANSI_ARGS_((double * polyPtr, - int numPoints, double * rectPtr)); -/* 71 */ -EXTERN double TkPolygonToPoint _ANSI_ARGS_((double * polyPtr, - int numPoints, double * pointPtr)); -/* 72 */ -EXTERN int TkPositionInTree _ANSI_ARGS_((TkWindow * winPtr, - TkWindow * treePtr)); -/* 73 */ -EXTERN void TkpRedirectKeyEvent _ANSI_ARGS_((TkWindow * winPtr, - XEvent * eventPtr)); -/* 74 */ -EXTERN void TkpSetMainMenubar _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Window tkwin, char * menuName)); -/* 75 */ -EXTERN int TkpUseWindow _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Window tkwin, char * string)); -/* 76 */ -EXTERN int TkpWindowWasRecentlyDeleted _ANSI_ARGS_((Window win, - TkDisplay * dispPtr)); -/* 77 */ -EXTERN void TkQueueEventForAllChildren _ANSI_ARGS_(( - TkWindow * winPtr, XEvent * eventPtr)); -/* 78 */ -EXTERN int TkReadBitmapFile _ANSI_ARGS_((Display* display, - Drawable d, CONST char* filename, - unsigned int* width_return, - unsigned int* height_return, - Pixmap* bitmap_return, int* x_hot_return, - int* y_hot_return)); -/* 79 */ -EXTERN int TkScrollWindow _ANSI_ARGS_((Tk_Window tkwin, GC gc, - int x, int y, int width, int height, int dx, - int dy, TkRegion damageRgn)); -/* 80 */ -EXTERN void TkSelDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 81 */ -EXTERN void TkSelEventProc _ANSI_ARGS_((Tk_Window tkwin, - XEvent * eventPtr)); -/* 82 */ -EXTERN void TkSelInit _ANSI_ARGS_((Tk_Window tkwin)); -/* 83 */ -EXTERN void TkSelPropProc _ANSI_ARGS_((XEvent * eventPtr)); -/* 84 */ -EXTERN void TkSetClassProcs _ANSI_ARGS_((Tk_Window tkwin, - TkClassProcs * procs, - ClientData instanceData)); -/* 85 */ -EXTERN void TkSetWindowMenuBar _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Window tkwin, char * oldMenuName, - char * menuName)); -/* 86 */ -EXTERN KeySym TkStringToKeysym _ANSI_ARGS_((char * name)); -/* 87 */ -EXTERN int TkThickPolyLineToArea _ANSI_ARGS_((double * coordPtr, - int numPoints, double width, int capStyle, - int joinStyle, double * rectPtr)); -/* 88 */ -EXTERN void TkWmAddToColormapWindows _ANSI_ARGS_(( - TkWindow * winPtr)); -/* 89 */ -EXTERN void TkWmDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 90 */ -EXTERN TkWindow * TkWmFocusToplevel _ANSI_ARGS_((TkWindow * winPtr)); -/* 91 */ -EXTERN void TkWmMapWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 92 */ -EXTERN void TkWmNewWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 93 */ -EXTERN void TkWmProtocolEventProc _ANSI_ARGS_((TkWindow * winPtr, - XEvent * evenvPtr)); -/* 94 */ -EXTERN void TkWmRemoveFromColormapWindows _ANSI_ARGS_(( - TkWindow * winPtr)); -/* 95 */ -EXTERN void TkWmRestackToplevel _ANSI_ARGS_((TkWindow * winPtr, - int aboveBelow, TkWindow * otherPtr)); -/* 96 */ -EXTERN void TkWmSetClass _ANSI_ARGS_((TkWindow * winPtr)); -/* 97 */ -EXTERN void TkWmUnmapWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 98 */ -EXTERN Tcl_Obj * TkDebugBitmap _ANSI_ARGS_((Tk_Window tkwin, - char * name)); -/* 99 */ -EXTERN Tcl_Obj * TkDebugBorder _ANSI_ARGS_((Tk_Window tkwin, - char * name)); -/* 100 */ -EXTERN Tcl_Obj * TkDebugCursor _ANSI_ARGS_((Tk_Window tkwin, - char * name)); -/* 101 */ -EXTERN Tcl_Obj * TkDebugColor _ANSI_ARGS_((Tk_Window tkwin, - char * name)); -/* 102 */ -EXTERN Tcl_Obj * TkDebugConfig _ANSI_ARGS_((Tcl_Interp * interp, - Tk_OptionTable table)); -/* 103 */ -EXTERN Tcl_Obj * TkDebugFont _ANSI_ARGS_((Tk_Window tkwin, - char * name)); -/* 104 */ -EXTERN int TkFindStateNumObj _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Obj * optionPtr, - CONST TkStateMap * mapPtr, Tcl_Obj * keyPtr)); -/* 105 */ -EXTERN Tcl_HashTable * TkGetBitmapPredefTable _ANSI_ARGS_((void)); -/* 106 */ -EXTERN TkDisplay * TkGetDisplayList _ANSI_ARGS_((void)); -/* 107 */ -EXTERN TkMainInfo * TkGetMainInfoList _ANSI_ARGS_((void)); -/* 108 */ -EXTERN int TkGetWindowFromObj _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Window tkwin, Tcl_Obj * objPtr, - Tk_Window * windowPtr)); -/* 109 */ -EXTERN char * TkpGetString _ANSI_ARGS_((TkWindow * winPtr, - XEvent * eventPtr, Tcl_DString * dsPtr)); -/* 110 */ -EXTERN void TkpGetSubFonts _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Font tkfont)); -/* 111 */ -EXTERN Tcl_Obj * TkpGetSystemDefault _ANSI_ARGS_((Tk_Window tkwin, - char * dbName, char * className)); -/* 112 */ -EXTERN void TkpMenuThreadInit _ANSI_ARGS_((void)); -#ifdef __WIN32__ -/* 113 */ -EXTERN void TkClipBox _ANSI_ARGS_((TkRegion rgn, - XRectangle* rect_return)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 113 */ -EXTERN void TkClipBox _ANSI_ARGS_((TkRegion rgn, - XRectangle* rect_return)); -#endif /* MAC_TCL */ -#ifdef __WIN32__ -/* 114 */ -EXTERN TkRegion TkCreateRegion _ANSI_ARGS_((void)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 114 */ -EXTERN TkRegion TkCreateRegion _ANSI_ARGS_((void)); -#endif /* MAC_TCL */ -#ifdef __WIN32__ -/* 115 */ -EXTERN void TkDestroyRegion _ANSI_ARGS_((TkRegion rgn)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 115 */ -EXTERN void TkDestroyRegion _ANSI_ARGS_((TkRegion rgn)); -#endif /* MAC_TCL */ -#ifdef __WIN32__ -/* 116 */ -EXTERN void TkIntersectRegion _ANSI_ARGS_((TkRegion sra, - TkRegion srcb, TkRegion dr_return)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 116 */ -EXTERN void TkIntersectRegion _ANSI_ARGS_((TkRegion sra, - TkRegion srcb, TkRegion dr_return)); -#endif /* MAC_TCL */ -#ifdef __WIN32__ -/* 117 */ -EXTERN int TkRectInRegion _ANSI_ARGS_((TkRegion rgn, int x, - int y, unsigned int width, - unsigned int height)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 117 */ -EXTERN int TkRectInRegion _ANSI_ARGS_((TkRegion rgn, int x, - int y, unsigned int width, - unsigned int height)); -#endif /* MAC_TCL */ -#ifdef __WIN32__ -/* 118 */ -EXTERN void TkSetRegion _ANSI_ARGS_((Display* display, GC gc, - TkRegion rgn)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 118 */ -EXTERN void TkSetRegion _ANSI_ARGS_((Display* display, GC gc, - TkRegion rgn)); -#endif /* MAC_TCL */ -#ifdef __WIN32__ -/* 119 */ -EXTERN void TkUnionRectWithRegion _ANSI_ARGS_((XRectangle* rect, - TkRegion src, TkRegion dr_return)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 119 */ -EXTERN void TkUnionRectWithRegion _ANSI_ARGS_((XRectangle* rect, - TkRegion src, TkRegion dr_return)); -#endif /* MAC_TCL */ -#ifdef MAC_TCL -/* 120 */ -EXTERN void TkGenerateActivateEvents _ANSI_ARGS_(( - TkWindow * winPtr, int active)); -#endif /* MAC_TCL */ -#ifdef MAC_TCL -/* 121 */ -EXTERN Pixmap TkpCreateNativeBitmap _ANSI_ARGS_((Display * display, - char * source)); -#endif /* MAC_TCL */ -#ifdef MAC_TCL -/* 122 */ -EXTERN void TkpDefineNativeBitmaps _ANSI_ARGS_((void)); -#endif /* MAC_TCL */ -#ifdef MAC_TCL -/* 123 */ -EXTERN unsigned long TkpGetMS _ANSI_ARGS_((void)); -#endif /* MAC_TCL */ -#ifdef MAC_TCL -/* 124 */ -EXTERN Pixmap TkpGetNativeAppBitmap _ANSI_ARGS_((Display * display, - CONST char * name, int * width, int * height)); -#endif /* MAC_TCL */ -#ifdef MAC_TCL -/* 125 */ -EXTERN void TkPointerDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -#endif /* MAC_TCL */ -#ifdef MAC_TCL -/* 126 */ -EXTERN void TkpSetCapture _ANSI_ARGS_((TkWindow * winPtr)); -#endif /* MAC_TCL */ -#ifdef MAC_TCL -/* 127 */ -EXTERN void TkpSetCursor _ANSI_ARGS_((TkpCursor cursor)); -#endif /* MAC_TCL */ -#ifdef MAC_TCL -/* 128 */ -EXTERN void TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr, - int state)); -#endif /* MAC_TCL */ -/* Slot 129 is reserved */ -#ifdef MAC_TCL -/* 130 */ -EXTERN Window TkGetTransientMaster _ANSI_ARGS_((TkWindow * winPtr)); -#endif /* MAC_TCL */ -#ifdef MAC_TCL -/* 131 */ -EXTERN int TkGenerateButtonEvent _ANSI_ARGS_((int x, int y, - Window window, unsigned int state)); -#endif /* MAC_TCL */ -/* Slot 132 is reserved */ -#ifdef MAC_TCL -/* 133 */ -EXTERN void TkGenWMDestroyEvent _ANSI_ARGS_((Tk_Window tkwin)); -#endif /* MAC_TCL */ -#ifdef MAC_TCL -/* 134 */ -EXTERN void TkGenWMConfigureEvent _ANSI_ARGS_((Tk_Window tkwin, - int x, int y, int width, int height, - int flags)); -#endif /* MAC_TCL */ -/* 135 */ -EXTERN void TkpDrawHighlightBorder _ANSI_ARGS_((Tk_Window tkwin, - GC fgGC, GC bgGC, int highlightWidth, - Drawable drawable)); -/* 136 */ -EXTERN void TkSetFocusWin _ANSI_ARGS_((TkWindow * winPtr, - int force)); - -typedef struct TkIntStubs { - int magic; - struct TkIntStubHooks *hooks; - - TkWindow * (*tkAllocWindow) _ANSI_ARGS_((TkDisplay * dispPtr, int screenNum, TkWindow * parentPtr)); /* 0 */ - void (*tkBezierPoints) _ANSI_ARGS_((double control[], int numSteps, double * coordPtr)); /* 1 */ - void (*tkBezierScreenPoints) _ANSI_ARGS_((Tk_Canvas canvas, double control[], int numSteps, XPoint * xPointPtr)); /* 2 */ - void (*tkBindDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 3 */ - void (*tkBindEventProc) _ANSI_ARGS_((TkWindow * winPtr, XEvent * eventPtr)); /* 4 */ - void (*tkBindFree) _ANSI_ARGS_((TkMainInfo * mainPtr)); /* 5 */ - void (*tkBindInit) _ANSI_ARGS_((TkMainInfo * mainPtr)); /* 6 */ - void (*tkChangeEventWindow) _ANSI_ARGS_((XEvent * eventPtr, TkWindow * winPtr)); /* 7 */ - int (*tkClipInit) _ANSI_ARGS_((Tcl_Interp * interp, TkDisplay * dispPtr)); /* 8 */ - void (*tkComputeAnchor) _ANSI_ARGS_((Tk_Anchor anchor, Tk_Window tkwin, int padX, int padY, int innerWidth, int innerHeight, int * xPtr, int * yPtr)); /* 9 */ - int (*tkCopyAndGlobalEval) _ANSI_ARGS_((Tcl_Interp * interp, char * script)); /* 10 */ - unsigned long (*tkCreateBindingProcedure) _ANSI_ARGS_((Tcl_Interp * interp, Tk_BindingTable bindingTable, ClientData object, char * eventString, TkBindEvalProc * evalProc, TkBindFreeProc * freeProc, ClientData clientData)); /* 11 */ - TkCursor * (*tkCreateCursorFromData) _ANSI_ARGS_((Tk_Window tkwin, char * source, char * mask, int width, int height, int xHot, int yHot, XColor fg, XColor bg)); /* 12 */ - int (*tkCreateFrame) _ANSI_ARGS_((ClientData clientData, Tcl_Interp * interp, int argc, char ** argv, int toplevel, char * appName)); /* 13 */ - Tk_Window (*tkCreateMainWindow) _ANSI_ARGS_((Tcl_Interp * interp, char * screenName, char * baseName)); /* 14 */ - Time (*tkCurrentTime) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 15 */ - void (*tkDeleteAllImages) _ANSI_ARGS_((TkMainInfo * mainPtr)); /* 16 */ - void (*tkDoConfigureNotify) _ANSI_ARGS_((TkWindow * winPtr)); /* 17 */ - void (*tkDrawInsetFocusHighlight) _ANSI_ARGS_((Tk_Window tkwin, GC gc, int width, Drawable drawable, int padding)); /* 18 */ - void (*tkEventDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 19 */ - void (*tkFillPolygon) _ANSI_ARGS_((Tk_Canvas canvas, double * coordPtr, int numPoints, Display * display, Drawable drawable, GC gc, GC outlineGC)); /* 20 */ - int (*tkFindStateNum) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * option, CONST TkStateMap * mapPtr, CONST char * strKey)); /* 21 */ - char * (*tkFindStateString) _ANSI_ARGS_((CONST TkStateMap * mapPtr, int numKey)); /* 22 */ - void (*tkFocusDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 23 */ - int (*tkFocusFilterEvent) _ANSI_ARGS_((TkWindow * winPtr, XEvent * eventPtr)); /* 24 */ - TkWindow * (*tkFocusKeyEvent) _ANSI_ARGS_((TkWindow * winPtr, XEvent * eventPtr)); /* 25 */ - void (*tkFontPkgInit) _ANSI_ARGS_((TkMainInfo * mainPtr)); /* 26 */ - void (*tkFontPkgFree) _ANSI_ARGS_((TkMainInfo * mainPtr)); /* 27 */ - void (*tkFreeBindingTags) _ANSI_ARGS_((TkWindow * winPtr)); /* 28 */ - void (*tkpFreeCursor) _ANSI_ARGS_((TkCursor * cursorPtr)); /* 29 */ - char * (*tkGetBitmapData) _ANSI_ARGS_((Tcl_Interp * interp, char * string, char * fileName, int * widthPtr, int * heightPtr, int * hotXPtr, int * hotYPtr)); /* 30 */ - void (*tkGetButtPoints) _ANSI_ARGS_((double p1[], double p2[], double width, int project, double m1[], double m2[])); /* 31 */ - TkCursor * (*tkGetCursorByName) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Window tkwin, Tk_Uid string)); /* 32 */ - char * (*tkGetDefaultScreenName) _ANSI_ARGS_((Tcl_Interp * interp, char * screenName)); /* 33 */ - TkDisplay * (*tkGetDisplay) _ANSI_ARGS_((Display * display)); /* 34 */ - int (*tkGetDisplayOf) _ANSI_ARGS_((Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[], Tk_Window * tkwinPtr)); /* 35 */ - TkWindow * (*tkGetFocusWin) _ANSI_ARGS_((TkWindow * winPtr)); /* 36 */ - int (*tkGetInterpNames) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Window tkwin)); /* 37 */ - int (*tkGetMiterPoints) _ANSI_ARGS_((double p1[], double p2[], double p3[], double width, double m1[], double m2[])); /* 38 */ - void (*tkGetPointerCoords) _ANSI_ARGS_((Tk_Window tkwin, int * xPtr, int * yPtr)); /* 39 */ - void (*tkGetServerInfo) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Window tkwin)); /* 40 */ - void (*tkGrabDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 41 */ - int (*tkGrabState) _ANSI_ARGS_((TkWindow * winPtr)); /* 42 */ - void (*tkIncludePoint) _ANSI_ARGS_((Tk_Item * itemPtr, double * pointPtr)); /* 43 */ - void (*tkInOutEvents) _ANSI_ARGS_((XEvent * eventPtr, TkWindow * sourcePtr, TkWindow * destPtr, int leaveType, int enterType, Tcl_QueuePosition position)); /* 44 */ - void (*tkInstallFrameMenu) _ANSI_ARGS_((Tk_Window tkwin)); /* 45 */ - char * (*tkKeysymToString) _ANSI_ARGS_((KeySym keysym)); /* 46 */ - int (*tkLineToArea) _ANSI_ARGS_((double end1Ptr[], double end2Ptr[], double rectPtr[])); /* 47 */ - double (*tkLineToPoint) _ANSI_ARGS_((double end1Ptr[], double end2Ptr[], double pointPtr[])); /* 48 */ - int (*tkMakeBezierCurve) _ANSI_ARGS_((Tk_Canvas canvas, double * pointPtr, int numPoints, int numSteps, XPoint xPoints[], double dblPoints[])); /* 49 */ - void (*tkMakeBezierPostscript) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Canvas canvas, double * pointPtr, int numPoints)); /* 50 */ - void (*tkOptionClassChanged) _ANSI_ARGS_((TkWindow * winPtr)); /* 51 */ - void (*tkOptionDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 52 */ - int (*tkOvalToArea) _ANSI_ARGS_((double * ovalPtr, double * rectPtr)); /* 53 */ - double (*tkOvalToPoint) _ANSI_ARGS_((double ovalPtr[], double width, int filled, double pointPtr[])); /* 54 */ - int (*tkpChangeFocus) _ANSI_ARGS_((TkWindow * winPtr, int force)); /* 55 */ - void (*tkpCloseDisplay) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 56 */ - void (*tkpClaimFocus) _ANSI_ARGS_((TkWindow * topLevelPtr, int force)); /* 57 */ - void (*tkpDisplayWarning) _ANSI_ARGS_((char * msg, char * title)); /* 58 */ - void (*tkpGetAppName) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_DString * name)); /* 59 */ - TkWindow * (*tkpGetOtherWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 60 */ - TkWindow * (*tkpGetWrapperWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 61 */ - int (*tkpInit) _ANSI_ARGS_((Tcl_Interp * interp)); /* 62 */ - void (*tkpInitializeMenuBindings) _ANSI_ARGS_((Tcl_Interp * interp, Tk_BindingTable bindingTable)); /* 63 */ - void (*tkpMakeContainer) _ANSI_ARGS_((Tk_Window tkwin)); /* 64 */ - void (*tkpMakeMenuWindow) _ANSI_ARGS_((Tk_Window tkwin, int transient)); /* 65 */ - Window (*tkpMakeWindow) _ANSI_ARGS_((TkWindow * winPtr, Window parent)); /* 66 */ - void (*tkpMenuNotifyToplevelCreate) _ANSI_ARGS_((Tcl_Interp * interp1, char * menuName)); /* 67 */ - TkDisplay * (*tkpOpenDisplay) _ANSI_ARGS_((char * display_name)); /* 68 */ - int (*tkPointerEvent) _ANSI_ARGS_((XEvent * eventPtr, TkWindow * winPtr)); /* 69 */ - int (*tkPolygonToArea) _ANSI_ARGS_((double * polyPtr, int numPoints, double * rectPtr)); /* 70 */ - double (*tkPolygonToPoint) _ANSI_ARGS_((double * polyPtr, int numPoints, double * pointPtr)); /* 71 */ - int (*tkPositionInTree) _ANSI_ARGS_((TkWindow * winPtr, TkWindow * treePtr)); /* 72 */ - void (*tkpRedirectKeyEvent) _ANSI_ARGS_((TkWindow * winPtr, XEvent * eventPtr)); /* 73 */ - void (*tkpSetMainMenubar) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Window tkwin, char * menuName)); /* 74 */ - int (*tkpUseWindow) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Window tkwin, char * string)); /* 75 */ - int (*tkpWindowWasRecentlyDeleted) _ANSI_ARGS_((Window win, TkDisplay * dispPtr)); /* 76 */ - void (*tkQueueEventForAllChildren) _ANSI_ARGS_((TkWindow * winPtr, XEvent * eventPtr)); /* 77 */ - int (*tkReadBitmapFile) _ANSI_ARGS_((Display* display, Drawable d, CONST char* filename, unsigned int* width_return, unsigned int* height_return, Pixmap* bitmap_return, int* x_hot_return, int* y_hot_return)); /* 78 */ - int (*tkScrollWindow) _ANSI_ARGS_((Tk_Window tkwin, GC gc, int x, int y, int width, int height, int dx, int dy, TkRegion damageRgn)); /* 79 */ - void (*tkSelDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 80 */ - void (*tkSelEventProc) _ANSI_ARGS_((Tk_Window tkwin, XEvent * eventPtr)); /* 81 */ - void (*tkSelInit) _ANSI_ARGS_((Tk_Window tkwin)); /* 82 */ - void (*tkSelPropProc) _ANSI_ARGS_((XEvent * eventPtr)); /* 83 */ - void (*tkSetClassProcs) _ANSI_ARGS_((Tk_Window tkwin, TkClassProcs * procs, ClientData instanceData)); /* 84 */ - void (*tkSetWindowMenuBar) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Window tkwin, char * oldMenuName, char * menuName)); /* 85 */ - KeySym (*tkStringToKeysym) _ANSI_ARGS_((char * name)); /* 86 */ - int (*tkThickPolyLineToArea) _ANSI_ARGS_((double * coordPtr, int numPoints, double width, int capStyle, int joinStyle, double * rectPtr)); /* 87 */ - void (*tkWmAddToColormapWindows) _ANSI_ARGS_((TkWindow * winPtr)); /* 88 */ - void (*tkWmDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 89 */ - TkWindow * (*tkWmFocusToplevel) _ANSI_ARGS_((TkWindow * winPtr)); /* 90 */ - void (*tkWmMapWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 91 */ - void (*tkWmNewWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 92 */ - void (*tkWmProtocolEventProc) _ANSI_ARGS_((TkWindow * winPtr, XEvent * evenvPtr)); /* 93 */ - void (*tkWmRemoveFromColormapWindows) _ANSI_ARGS_((TkWindow * winPtr)); /* 94 */ - void (*tkWmRestackToplevel) _ANSI_ARGS_((TkWindow * winPtr, int aboveBelow, TkWindow * otherPtr)); /* 95 */ - void (*tkWmSetClass) _ANSI_ARGS_((TkWindow * winPtr)); /* 96 */ - void (*tkWmUnmapWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 97 */ - Tcl_Obj * (*tkDebugBitmap) _ANSI_ARGS_((Tk_Window tkwin, char * name)); /* 98 */ - Tcl_Obj * (*tkDebugBorder) _ANSI_ARGS_((Tk_Window tkwin, char * name)); /* 99 */ - Tcl_Obj * (*tkDebugCursor) _ANSI_ARGS_((Tk_Window tkwin, char * name)); /* 100 */ - Tcl_Obj * (*tkDebugColor) _ANSI_ARGS_((Tk_Window tkwin, char * name)); /* 101 */ - Tcl_Obj * (*tkDebugConfig) _ANSI_ARGS_((Tcl_Interp * interp, Tk_OptionTable table)); /* 102 */ - Tcl_Obj * (*tkDebugFont) _ANSI_ARGS_((Tk_Window tkwin, char * name)); /* 103 */ - int (*tkFindStateNumObj) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * optionPtr, CONST TkStateMap * mapPtr, Tcl_Obj * keyPtr)); /* 104 */ - Tcl_HashTable * (*tkGetBitmapPredefTable) _ANSI_ARGS_((void)); /* 105 */ - TkDisplay * (*tkGetDisplayList) _ANSI_ARGS_((void)); /* 106 */ - TkMainInfo * (*tkGetMainInfoList) _ANSI_ARGS_((void)); /* 107 */ - int (*tkGetWindowFromObj) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Window tkwin, Tcl_Obj * objPtr, Tk_Window * windowPtr)); /* 108 */ - char * (*tkpGetString) _ANSI_ARGS_((TkWindow * winPtr, XEvent * eventPtr, Tcl_DString * dsPtr)); /* 109 */ - void (*tkpGetSubFonts) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Font tkfont)); /* 110 */ - Tcl_Obj * (*tkpGetSystemDefault) _ANSI_ARGS_((Tk_Window tkwin, char * dbName, char * className)); /* 111 */ - void (*tkpMenuThreadInit) _ANSI_ARGS_((void)); /* 112 */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved113; -#endif /* UNIX */ -#ifdef __WIN32__ - void (*tkClipBox) _ANSI_ARGS_((TkRegion rgn, XRectangle* rect_return)); /* 113 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkClipBox) _ANSI_ARGS_((TkRegion rgn, XRectangle* rect_return)); /* 113 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved114; -#endif /* UNIX */ -#ifdef __WIN32__ - TkRegion (*tkCreateRegion) _ANSI_ARGS_((void)); /* 114 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - TkRegion (*tkCreateRegion) _ANSI_ARGS_((void)); /* 114 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved115; -#endif /* UNIX */ -#ifdef __WIN32__ - void (*tkDestroyRegion) _ANSI_ARGS_((TkRegion rgn)); /* 115 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkDestroyRegion) _ANSI_ARGS_((TkRegion rgn)); /* 115 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved116; -#endif /* UNIX */ -#ifdef __WIN32__ - void (*tkIntersectRegion) _ANSI_ARGS_((TkRegion sra, TkRegion srcb, TkRegion dr_return)); /* 116 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkIntersectRegion) _ANSI_ARGS_((TkRegion sra, TkRegion srcb, TkRegion dr_return)); /* 116 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved117; -#endif /* UNIX */ -#ifdef __WIN32__ - int (*tkRectInRegion) _ANSI_ARGS_((TkRegion rgn, int x, int y, unsigned int width, unsigned int height)); /* 117 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - int (*tkRectInRegion) _ANSI_ARGS_((TkRegion rgn, int x, int y, unsigned int width, unsigned int height)); /* 117 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved118; -#endif /* UNIX */ -#ifdef __WIN32__ - void (*tkSetRegion) _ANSI_ARGS_((Display* display, GC gc, TkRegion rgn)); /* 118 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkSetRegion) _ANSI_ARGS_((Display* display, GC gc, TkRegion rgn)); /* 118 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved119; -#endif /* UNIX */ -#ifdef __WIN32__ - void (*tkUnionRectWithRegion) _ANSI_ARGS_((XRectangle* rect, TkRegion src, TkRegion dr_return)); /* 119 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkUnionRectWithRegion) _ANSI_ARGS_((XRectangle* rect, TkRegion src, TkRegion dr_return)); /* 119 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved120; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved120; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow * winPtr, int active)); /* 120 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved121; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved121; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - Pixmap (*tkpCreateNativeBitmap) _ANSI_ARGS_((Display * display, char * source)); /* 121 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved122; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved122; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkpDefineNativeBitmaps) _ANSI_ARGS_((void)); /* 122 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved123; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved123; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - unsigned long (*tkpGetMS) _ANSI_ARGS_((void)); /* 123 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved124; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved124; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - Pixmap (*tkpGetNativeAppBitmap) _ANSI_ARGS_((Display * display, CONST char * name, int * width, int * height)); /* 124 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved125; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved125; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 125 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved126; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved126; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkpSetCapture) _ANSI_ARGS_((TkWindow * winPtr)); /* 126 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved127; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved127; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkpSetCursor) _ANSI_ARGS_((TkpCursor cursor)); /* 127 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved128; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved128; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state)); /* 128 */ -#endif /* MAC_TCL */ - void *reserved129; -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved130; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved130; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - Window (*tkGetTransientMaster) _ANSI_ARGS_((TkWindow * winPtr)); /* 130 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved131; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved131; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - int (*tkGenerateButtonEvent) _ANSI_ARGS_((int x, int y, Window window, unsigned int state)); /* 131 */ -#endif /* MAC_TCL */ - void *reserved132; -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved133; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved133; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkGenWMDestroyEvent) _ANSI_ARGS_((Tk_Window tkwin)); /* 133 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved134; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved134; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkGenWMConfigureEvent) _ANSI_ARGS_((Tk_Window tkwin, int x, int y, int width, int height, int flags)); /* 134 */ -#endif /* MAC_TCL */ - void (*tkpDrawHighlightBorder) _ANSI_ARGS_((Tk_Window tkwin, GC fgGC, GC bgGC, int highlightWidth, Drawable drawable)); /* 135 */ - void (*tkSetFocusWin) _ANSI_ARGS_((TkWindow * winPtr, int force)); /* 136 */ -} TkIntStubs; - -#ifdef __cplusplus -extern "C" { -#endif -extern TkIntStubs *tkIntStubsPtr; -#ifdef __cplusplus -} -#endif - -#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) - -/* - * Inline function declarations: - */ - -#ifndef TkAllocWindow -#define TkAllocWindow \ - (tkIntStubsPtr->tkAllocWindow) /* 0 */ -#endif -#ifndef TkBezierPoints -#define TkBezierPoints \ - (tkIntStubsPtr->tkBezierPoints) /* 1 */ -#endif -#ifndef TkBezierScreenPoints -#define TkBezierScreenPoints \ - (tkIntStubsPtr->tkBezierScreenPoints) /* 2 */ -#endif -#ifndef TkBindDeadWindow -#define TkBindDeadWindow \ - (tkIntStubsPtr->tkBindDeadWindow) /* 3 */ -#endif -#ifndef TkBindEventProc -#define TkBindEventProc \ - (tkIntStubsPtr->tkBindEventProc) /* 4 */ -#endif -#ifndef TkBindFree -#define TkBindFree \ - (tkIntStubsPtr->tkBindFree) /* 5 */ -#endif -#ifndef TkBindInit -#define TkBindInit \ - (tkIntStubsPtr->tkBindInit) /* 6 */ -#endif -#ifndef TkChangeEventWindow -#define TkChangeEventWindow \ - (tkIntStubsPtr->tkChangeEventWindow) /* 7 */ -#endif -#ifndef TkClipInit -#define TkClipInit \ - (tkIntStubsPtr->tkClipInit) /* 8 */ -#endif -#ifndef TkComputeAnchor -#define TkComputeAnchor \ - (tkIntStubsPtr->tkComputeAnchor) /* 9 */ -#endif -#ifndef TkCopyAndGlobalEval -#define TkCopyAndGlobalEval \ - (tkIntStubsPtr->tkCopyAndGlobalEval) /* 10 */ -#endif -#ifndef TkCreateBindingProcedure -#define TkCreateBindingProcedure \ - (tkIntStubsPtr->tkCreateBindingProcedure) /* 11 */ -#endif -#ifndef TkCreateCursorFromData -#define TkCreateCursorFromData \ - (tkIntStubsPtr->tkCreateCursorFromData) /* 12 */ -#endif -#ifndef TkCreateFrame -#define TkCreateFrame \ - (tkIntStubsPtr->tkCreateFrame) /* 13 */ -#endif -#ifndef TkCreateMainWindow -#define TkCreateMainWindow \ - (tkIntStubsPtr->tkCreateMainWindow) /* 14 */ -#endif -#ifndef TkCurrentTime -#define TkCurrentTime \ - (tkIntStubsPtr->tkCurrentTime) /* 15 */ -#endif -#ifndef TkDeleteAllImages -#define TkDeleteAllImages \ - (tkIntStubsPtr->tkDeleteAllImages) /* 16 */ -#endif -#ifndef TkDoConfigureNotify -#define TkDoConfigureNotify \ - (tkIntStubsPtr->tkDoConfigureNotify) /* 17 */ -#endif -#ifndef TkDrawInsetFocusHighlight -#define TkDrawInsetFocusHighlight \ - (tkIntStubsPtr->tkDrawInsetFocusHighlight) /* 18 */ -#endif -#ifndef TkEventDeadWindow -#define TkEventDeadWindow \ - (tkIntStubsPtr->tkEventDeadWindow) /* 19 */ -#endif -#ifndef TkFillPolygon -#define TkFillPolygon \ - (tkIntStubsPtr->tkFillPolygon) /* 20 */ -#endif -#ifndef TkFindStateNum -#define TkFindStateNum \ - (tkIntStubsPtr->tkFindStateNum) /* 21 */ -#endif -#ifndef TkFindStateString -#define TkFindStateString \ - (tkIntStubsPtr->tkFindStateString) /* 22 */ -#endif -#ifndef TkFocusDeadWindow -#define TkFocusDeadWindow \ - (tkIntStubsPtr->tkFocusDeadWindow) /* 23 */ -#endif -#ifndef TkFocusFilterEvent -#define TkFocusFilterEvent \ - (tkIntStubsPtr->tkFocusFilterEvent) /* 24 */ -#endif -#ifndef TkFocusKeyEvent -#define TkFocusKeyEvent \ - (tkIntStubsPtr->tkFocusKeyEvent) /* 25 */ -#endif -#ifndef TkFontPkgInit -#define TkFontPkgInit \ - (tkIntStubsPtr->tkFontPkgInit) /* 26 */ -#endif -#ifndef TkFontPkgFree -#define TkFontPkgFree \ - (tkIntStubsPtr->tkFontPkgFree) /* 27 */ -#endif -#ifndef TkFreeBindingTags -#define TkFreeBindingTags \ - (tkIntStubsPtr->tkFreeBindingTags) /* 28 */ -#endif -#ifndef TkpFreeCursor -#define TkpFreeCursor \ - (tkIntStubsPtr->tkpFreeCursor) /* 29 */ -#endif -#ifndef TkGetBitmapData -#define TkGetBitmapData \ - (tkIntStubsPtr->tkGetBitmapData) /* 30 */ -#endif -#ifndef TkGetButtPoints -#define TkGetButtPoints \ - (tkIntStubsPtr->tkGetButtPoints) /* 31 */ -#endif -#ifndef TkGetCursorByName -#define TkGetCursorByName \ - (tkIntStubsPtr->tkGetCursorByName) /* 32 */ -#endif -#ifndef TkGetDefaultScreenName -#define TkGetDefaultScreenName \ - (tkIntStubsPtr->tkGetDefaultScreenName) /* 33 */ -#endif -#ifndef TkGetDisplay -#define TkGetDisplay \ - (tkIntStubsPtr->tkGetDisplay) /* 34 */ -#endif -#ifndef TkGetDisplayOf -#define TkGetDisplayOf \ - (tkIntStubsPtr->tkGetDisplayOf) /* 35 */ -#endif -#ifndef TkGetFocusWin -#define TkGetFocusWin \ - (tkIntStubsPtr->tkGetFocusWin) /* 36 */ -#endif -#ifndef TkGetInterpNames -#define TkGetInterpNames \ - (tkIntStubsPtr->tkGetInterpNames) /* 37 */ -#endif -#ifndef TkGetMiterPoints -#define TkGetMiterPoints \ - (tkIntStubsPtr->tkGetMiterPoints) /* 38 */ -#endif -#ifndef TkGetPointerCoords -#define TkGetPointerCoords \ - (tkIntStubsPtr->tkGetPointerCoords) /* 39 */ -#endif -#ifndef TkGetServerInfo -#define TkGetServerInfo \ - (tkIntStubsPtr->tkGetServerInfo) /* 40 */ -#endif -#ifndef TkGrabDeadWindow -#define TkGrabDeadWindow \ - (tkIntStubsPtr->tkGrabDeadWindow) /* 41 */ -#endif -#ifndef TkGrabState -#define TkGrabState \ - (tkIntStubsPtr->tkGrabState) /* 42 */ -#endif -#ifndef TkIncludePoint -#define TkIncludePoint \ - (tkIntStubsPtr->tkIncludePoint) /* 43 */ -#endif -#ifndef TkInOutEvents -#define TkInOutEvents \ - (tkIntStubsPtr->tkInOutEvents) /* 44 */ -#endif -#ifndef TkInstallFrameMenu -#define TkInstallFrameMenu \ - (tkIntStubsPtr->tkInstallFrameMenu) /* 45 */ -#endif -#ifndef TkKeysymToString -#define TkKeysymToString \ - (tkIntStubsPtr->tkKeysymToString) /* 46 */ -#endif -#ifndef TkLineToArea -#define TkLineToArea \ - (tkIntStubsPtr->tkLineToArea) /* 47 */ -#endif -#ifndef TkLineToPoint -#define TkLineToPoint \ - (tkIntStubsPtr->tkLineToPoint) /* 48 */ -#endif -#ifndef TkMakeBezierCurve -#define TkMakeBezierCurve \ - (tkIntStubsPtr->tkMakeBezierCurve) /* 49 */ -#endif -#ifndef TkMakeBezierPostscript -#define TkMakeBezierPostscript \ - (tkIntStubsPtr->tkMakeBezierPostscript) /* 50 */ -#endif -#ifndef TkOptionClassChanged -#define TkOptionClassChanged \ - (tkIntStubsPtr->tkOptionClassChanged) /* 51 */ -#endif -#ifndef TkOptionDeadWindow -#define TkOptionDeadWindow \ - (tkIntStubsPtr->tkOptionDeadWindow) /* 52 */ -#endif -#ifndef TkOvalToArea -#define TkOvalToArea \ - (tkIntStubsPtr->tkOvalToArea) /* 53 */ -#endif -#ifndef TkOvalToPoint -#define TkOvalToPoint \ - (tkIntStubsPtr->tkOvalToPoint) /* 54 */ -#endif -#ifndef TkpChangeFocus -#define TkpChangeFocus \ - (tkIntStubsPtr->tkpChangeFocus) /* 55 */ -#endif -#ifndef TkpCloseDisplay -#define TkpCloseDisplay \ - (tkIntStubsPtr->tkpCloseDisplay) /* 56 */ -#endif -#ifndef TkpClaimFocus -#define TkpClaimFocus \ - (tkIntStubsPtr->tkpClaimFocus) /* 57 */ -#endif -#ifndef TkpDisplayWarning -#define TkpDisplayWarning \ - (tkIntStubsPtr->tkpDisplayWarning) /* 58 */ -#endif -#ifndef TkpGetAppName -#define TkpGetAppName \ - (tkIntStubsPtr->tkpGetAppName) /* 59 */ -#endif -#ifndef TkpGetOtherWindow -#define TkpGetOtherWindow \ - (tkIntStubsPtr->tkpGetOtherWindow) /* 60 */ -#endif -#ifndef TkpGetWrapperWindow -#define TkpGetWrapperWindow \ - (tkIntStubsPtr->tkpGetWrapperWindow) /* 61 */ -#endif -#ifndef TkpInit -#define TkpInit \ - (tkIntStubsPtr->tkpInit) /* 62 */ -#endif -#ifndef TkpInitializeMenuBindings -#define TkpInitializeMenuBindings \ - (tkIntStubsPtr->tkpInitializeMenuBindings) /* 63 */ -#endif -#ifndef TkpMakeContainer -#define TkpMakeContainer \ - (tkIntStubsPtr->tkpMakeContainer) /* 64 */ -#endif -#ifndef TkpMakeMenuWindow -#define TkpMakeMenuWindow \ - (tkIntStubsPtr->tkpMakeMenuWindow) /* 65 */ -#endif -#ifndef TkpMakeWindow -#define TkpMakeWindow \ - (tkIntStubsPtr->tkpMakeWindow) /* 66 */ -#endif -#ifndef TkpMenuNotifyToplevelCreate -#define TkpMenuNotifyToplevelCreate \ - (tkIntStubsPtr->tkpMenuNotifyToplevelCreate) /* 67 */ -#endif -#ifndef TkpOpenDisplay -#define TkpOpenDisplay \ - (tkIntStubsPtr->tkpOpenDisplay) /* 68 */ -#endif -#ifndef TkPointerEvent -#define TkPointerEvent \ - (tkIntStubsPtr->tkPointerEvent) /* 69 */ -#endif -#ifndef TkPolygonToArea -#define TkPolygonToArea \ - (tkIntStubsPtr->tkPolygonToArea) /* 70 */ -#endif -#ifndef TkPolygonToPoint -#define TkPolygonToPoint \ - (tkIntStubsPtr->tkPolygonToPoint) /* 71 */ -#endif -#ifndef TkPositionInTree -#define TkPositionInTree \ - (tkIntStubsPtr->tkPositionInTree) /* 72 */ -#endif -#ifndef TkpRedirectKeyEvent -#define TkpRedirectKeyEvent \ - (tkIntStubsPtr->tkpRedirectKeyEvent) /* 73 */ -#endif -#ifndef TkpSetMainMenubar -#define TkpSetMainMenubar \ - (tkIntStubsPtr->tkpSetMainMenubar) /* 74 */ -#endif -#ifndef TkpUseWindow -#define TkpUseWindow \ - (tkIntStubsPtr->tkpUseWindow) /* 75 */ -#endif -#ifndef TkpWindowWasRecentlyDeleted -#define TkpWindowWasRecentlyDeleted \ - (tkIntStubsPtr->tkpWindowWasRecentlyDeleted) /* 76 */ -#endif -#ifndef TkQueueEventForAllChildren -#define TkQueueEventForAllChildren \ - (tkIntStubsPtr->tkQueueEventForAllChildren) /* 77 */ -#endif -#ifndef TkReadBitmapFile -#define TkReadBitmapFile \ - (tkIntStubsPtr->tkReadBitmapFile) /* 78 */ -#endif -#ifndef TkScrollWindow -#define TkScrollWindow \ - (tkIntStubsPtr->tkScrollWindow) /* 79 */ -#endif -#ifndef TkSelDeadWindow -#define TkSelDeadWindow \ - (tkIntStubsPtr->tkSelDeadWindow) /* 80 */ -#endif -#ifndef TkSelEventProc -#define TkSelEventProc \ - (tkIntStubsPtr->tkSelEventProc) /* 81 */ -#endif -#ifndef TkSelInit -#define TkSelInit \ - (tkIntStubsPtr->tkSelInit) /* 82 */ -#endif -#ifndef TkSelPropProc -#define TkSelPropProc \ - (tkIntStubsPtr->tkSelPropProc) /* 83 */ -#endif -#ifndef TkSetClassProcs -#define TkSetClassProcs \ - (tkIntStubsPtr->tkSetClassProcs) /* 84 */ -#endif -#ifndef TkSetWindowMenuBar -#define TkSetWindowMenuBar \ - (tkIntStubsPtr->tkSetWindowMenuBar) /* 85 */ -#endif -#ifndef TkStringToKeysym -#define TkStringToKeysym \ - (tkIntStubsPtr->tkStringToKeysym) /* 86 */ -#endif -#ifndef TkThickPolyLineToArea -#define TkThickPolyLineToArea \ - (tkIntStubsPtr->tkThickPolyLineToArea) /* 87 */ -#endif -#ifndef TkWmAddToColormapWindows -#define TkWmAddToColormapWindows \ - (tkIntStubsPtr->tkWmAddToColormapWindows) /* 88 */ -#endif -#ifndef TkWmDeadWindow -#define TkWmDeadWindow \ - (tkIntStubsPtr->tkWmDeadWindow) /* 89 */ -#endif -#ifndef TkWmFocusToplevel -#define TkWmFocusToplevel \ - (tkIntStubsPtr->tkWmFocusToplevel) /* 90 */ -#endif -#ifndef TkWmMapWindow -#define TkWmMapWindow \ - (tkIntStubsPtr->tkWmMapWindow) /* 91 */ -#endif -#ifndef TkWmNewWindow -#define TkWmNewWindow \ - (tkIntStubsPtr->tkWmNewWindow) /* 92 */ -#endif -#ifndef TkWmProtocolEventProc -#define TkWmProtocolEventProc \ - (tkIntStubsPtr->tkWmProtocolEventProc) /* 93 */ -#endif -#ifndef TkWmRemoveFromColormapWindows -#define TkWmRemoveFromColormapWindows \ - (tkIntStubsPtr->tkWmRemoveFromColormapWindows) /* 94 */ -#endif -#ifndef TkWmRestackToplevel -#define TkWmRestackToplevel \ - (tkIntStubsPtr->tkWmRestackToplevel) /* 95 */ -#endif -#ifndef TkWmSetClass -#define TkWmSetClass \ - (tkIntStubsPtr->tkWmSetClass) /* 96 */ -#endif -#ifndef TkWmUnmapWindow -#define TkWmUnmapWindow \ - (tkIntStubsPtr->tkWmUnmapWindow) /* 97 */ -#endif -#ifndef TkDebugBitmap -#define TkDebugBitmap \ - (tkIntStubsPtr->tkDebugBitmap) /* 98 */ -#endif -#ifndef TkDebugBorder -#define TkDebugBorder \ - (tkIntStubsPtr->tkDebugBorder) /* 99 */ -#endif -#ifndef TkDebugCursor -#define TkDebugCursor \ - (tkIntStubsPtr->tkDebugCursor) /* 100 */ -#endif -#ifndef TkDebugColor -#define TkDebugColor \ - (tkIntStubsPtr->tkDebugColor) /* 101 */ -#endif -#ifndef TkDebugConfig -#define TkDebugConfig \ - (tkIntStubsPtr->tkDebugConfig) /* 102 */ -#endif -#ifndef TkDebugFont -#define TkDebugFont \ - (tkIntStubsPtr->tkDebugFont) /* 103 */ -#endif -#ifndef TkFindStateNumObj -#define TkFindStateNumObj \ - (tkIntStubsPtr->tkFindStateNumObj) /* 104 */ -#endif -#ifndef TkGetBitmapPredefTable -#define TkGetBitmapPredefTable \ - (tkIntStubsPtr->tkGetBitmapPredefTable) /* 105 */ -#endif -#ifndef TkGetDisplayList -#define TkGetDisplayList \ - (tkIntStubsPtr->tkGetDisplayList) /* 106 */ -#endif -#ifndef TkGetMainInfoList -#define TkGetMainInfoList \ - (tkIntStubsPtr->tkGetMainInfoList) /* 107 */ -#endif -#ifndef TkGetWindowFromObj -#define TkGetWindowFromObj \ - (tkIntStubsPtr->tkGetWindowFromObj) /* 108 */ -#endif -#ifndef TkpGetString -#define TkpGetString \ - (tkIntStubsPtr->tkpGetString) /* 109 */ -#endif -#ifndef TkpGetSubFonts -#define TkpGetSubFonts \ - (tkIntStubsPtr->tkpGetSubFonts) /* 110 */ -#endif -#ifndef TkpGetSystemDefault -#define TkpGetSystemDefault \ - (tkIntStubsPtr->tkpGetSystemDefault) /* 111 */ -#endif -#ifndef TkpMenuThreadInit -#define TkpMenuThreadInit \ - (tkIntStubsPtr->tkpMenuThreadInit) /* 112 */ -#endif -#ifdef __WIN32__ -#ifndef TkClipBox -#define TkClipBox \ - (tkIntStubsPtr->tkClipBox) /* 113 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkClipBox -#define TkClipBox \ - (tkIntStubsPtr->tkClipBox) /* 113 */ -#endif -#endif /* MAC_TCL */ -#ifdef __WIN32__ -#ifndef TkCreateRegion -#define TkCreateRegion \ - (tkIntStubsPtr->tkCreateRegion) /* 114 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkCreateRegion -#define TkCreateRegion \ - (tkIntStubsPtr->tkCreateRegion) /* 114 */ -#endif -#endif /* MAC_TCL */ -#ifdef __WIN32__ -#ifndef TkDestroyRegion -#define TkDestroyRegion \ - (tkIntStubsPtr->tkDestroyRegion) /* 115 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkDestroyRegion -#define TkDestroyRegion \ - (tkIntStubsPtr->tkDestroyRegion) /* 115 */ -#endif -#endif /* MAC_TCL */ -#ifdef __WIN32__ -#ifndef TkIntersectRegion -#define TkIntersectRegion \ - (tkIntStubsPtr->tkIntersectRegion) /* 116 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkIntersectRegion -#define TkIntersectRegion \ - (tkIntStubsPtr->tkIntersectRegion) /* 116 */ -#endif -#endif /* MAC_TCL */ -#ifdef __WIN32__ -#ifndef TkRectInRegion -#define TkRectInRegion \ - (tkIntStubsPtr->tkRectInRegion) /* 117 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkRectInRegion -#define TkRectInRegion \ - (tkIntStubsPtr->tkRectInRegion) /* 117 */ -#endif -#endif /* MAC_TCL */ -#ifdef __WIN32__ -#ifndef TkSetRegion -#define TkSetRegion \ - (tkIntStubsPtr->tkSetRegion) /* 118 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkSetRegion -#define TkSetRegion \ - (tkIntStubsPtr->tkSetRegion) /* 118 */ -#endif -#endif /* MAC_TCL */ -#ifdef __WIN32__ -#ifndef TkUnionRectWithRegion -#define TkUnionRectWithRegion \ - (tkIntStubsPtr->tkUnionRectWithRegion) /* 119 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkUnionRectWithRegion -#define TkUnionRectWithRegion \ - (tkIntStubsPtr->tkUnionRectWithRegion) /* 119 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_TCL -#ifndef TkGenerateActivateEvents -#define TkGenerateActivateEvents \ - (tkIntStubsPtr->tkGenerateActivateEvents) /* 120 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_TCL -#ifndef TkpCreateNativeBitmap -#define TkpCreateNativeBitmap \ - (tkIntStubsPtr->tkpCreateNativeBitmap) /* 121 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_TCL -#ifndef TkpDefineNativeBitmaps -#define TkpDefineNativeBitmaps \ - (tkIntStubsPtr->tkpDefineNativeBitmaps) /* 122 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_TCL -#ifndef TkpGetMS -#define TkpGetMS \ - (tkIntStubsPtr->tkpGetMS) /* 123 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_TCL -#ifndef TkpGetNativeAppBitmap -#define TkpGetNativeAppBitmap \ - (tkIntStubsPtr->tkpGetNativeAppBitmap) /* 124 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_TCL -#ifndef TkPointerDeadWindow -#define TkPointerDeadWindow \ - (tkIntStubsPtr->tkPointerDeadWindow) /* 125 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_TCL -#ifndef TkpSetCapture -#define TkpSetCapture \ - (tkIntStubsPtr->tkpSetCapture) /* 126 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_TCL -#ifndef TkpSetCursor -#define TkpSetCursor \ - (tkIntStubsPtr->tkpSetCursor) /* 127 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_TCL -#ifndef TkpWmSetState -#define TkpWmSetState \ - (tkIntStubsPtr->tkpWmSetState) /* 128 */ -#endif -#endif /* MAC_TCL */ -/* Slot 129 is reserved */ -#ifdef MAC_TCL -#ifndef TkGetTransientMaster -#define TkGetTransientMaster \ - (tkIntStubsPtr->tkGetTransientMaster) /* 130 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_TCL -#ifndef TkGenerateButtonEvent -#define TkGenerateButtonEvent \ - (tkIntStubsPtr->tkGenerateButtonEvent) /* 131 */ -#endif -#endif /* MAC_TCL */ -/* Slot 132 is reserved */ -#ifdef MAC_TCL -#ifndef TkGenWMDestroyEvent -#define TkGenWMDestroyEvent \ - (tkIntStubsPtr->tkGenWMDestroyEvent) /* 133 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_TCL -#ifndef TkGenWMConfigureEvent -#define TkGenWMConfigureEvent \ - (tkIntStubsPtr->tkGenWMConfigureEvent) /* 134 */ -#endif -#endif /* MAC_TCL */ -#ifndef TkpDrawHighlightBorder -#define TkpDrawHighlightBorder \ - (tkIntStubsPtr->tkpDrawHighlightBorder) /* 135 */ -#endif -#ifndef TkSetFocusWin -#define TkSetFocusWin \ - (tkIntStubsPtr->tkSetFocusWin) /* 136 */ -#endif - -#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */ - -/* !END!: Do not edit above this line. */ - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKINTDECLS */ - diff --git a/src/other/togl/include/tcltk/tk8.2/tkIntPlatDecls.h b/src/other/togl/include/tcltk/tk8.2/tkIntPlatDecls.h deleted file mode 100644 index b10c1ad51fb..00000000000 --- a/src/other/togl/include/tcltk/tk8.2/tkIntPlatDecls.h +++ /dev/null @@ -1,837 +0,0 @@ -/* - * tkIntPlatDecls.h -- - * - * This file contains the declarations for all platform dependent - * unsupported functions that are exported by the Tk library. These - * interfaces are not guaranteed to remain the same between - * versions. Use at your own risk. - * - * Copyright (c) 1998-1999 by Scriptics Corporation. - * All rights reserved. - * - * RCS: @(#) Id - */ - -#ifndef _TKINTPLATDECLS -#define _TKINTPLATDECLS - -#ifdef BUILD_tk -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * WARNING: This file is automatically generated by the tools/genStubs.tcl - * script. Any modifications to the function declarations below should be made - * in the generic/tkInt.decls script. - */ - -/* !BEGIN!: Do not edit below this line. */ - -/* - * Exported function declarations: - */ - -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -/* 0 */ -EXTERN void TkCreateXEventSource _ANSI_ARGS_((void)); -/* 1 */ -EXTERN void TkFreeWindowId _ANSI_ARGS_((TkDisplay * dispPtr, - Window w)); -/* 2 */ -EXTERN void TkInitXId _ANSI_ARGS_((TkDisplay * dispPtr)); -/* 3 */ -EXTERN int TkpCmapStressed _ANSI_ARGS_((Tk_Window tkwin, - Colormap colormap)); -/* 4 */ -EXTERN void TkpSync _ANSI_ARGS_((Display * display)); -/* 5 */ -EXTERN Window TkUnixContainerId _ANSI_ARGS_((TkWindow * winPtr)); -/* 6 */ -EXTERN int TkUnixDoOneXEvent _ANSI_ARGS_((Tcl_Time * timePtr)); -/* 7 */ -EXTERN void TkUnixSetMenubar _ANSI_ARGS_((Tk_Window tkwin, - Tk_Window menubar)); -#endif /* UNIX */ -#ifdef __WIN32__ -/* 0 */ -EXTERN char * TkAlignImageData _ANSI_ARGS_((XImage * image, - int alignment, int bitOrder)); -/* Slot 1 is reserved */ -/* 2 */ -EXTERN void TkGenerateActivateEvents _ANSI_ARGS_(( - TkWindow * winPtr, int active)); -/* 3 */ -EXTERN unsigned long TkpGetMS _ANSI_ARGS_((void)); -/* 4 */ -EXTERN void TkPointerDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 5 */ -EXTERN void TkpPrintWindowId _ANSI_ARGS_((char * buf, - Window window)); -/* 6 */ -EXTERN int TkpScanWindowId _ANSI_ARGS_((Tcl_Interp * interp, - char * string, int * idPtr)); -/* 7 */ -EXTERN void TkpSetCapture _ANSI_ARGS_((TkWindow * winPtr)); -/* 8 */ -EXTERN void TkpSetCursor _ANSI_ARGS_((TkpCursor cursor)); -/* 9 */ -EXTERN void TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr, - int state)); -/* 10 */ -EXTERN void TkSetPixmapColormap _ANSI_ARGS_((Pixmap pixmap, - Colormap colormap)); -/* 11 */ -EXTERN void TkWinCancelMouseTimer _ANSI_ARGS_((void)); -/* 12 */ -EXTERN void TkWinClipboardRender _ANSI_ARGS_(( - TkDisplay * dispPtr, UINT format)); -/* 13 */ -EXTERN LRESULT TkWinEmbeddedEventProc _ANSI_ARGS_((HWND hwnd, - UINT message, WPARAM wParam, LPARAM lParam)); -/* 14 */ -EXTERN void TkWinFillRect _ANSI_ARGS_((HDC dc, int x, int y, - int width, int height, int pixel)); -/* 15 */ -EXTERN COLORREF TkWinGetBorderPixels _ANSI_ARGS_((Tk_Window tkwin, - Tk_3DBorder border, int which)); -/* 16 */ -EXTERN HDC TkWinGetDrawableDC _ANSI_ARGS_((Display * display, - Drawable d, TkWinDCState* state)); -/* 17 */ -EXTERN int TkWinGetModifierState _ANSI_ARGS_((void)); -/* 18 */ -EXTERN HPALETTE TkWinGetSystemPalette _ANSI_ARGS_((void)); -/* 19 */ -EXTERN HWND TkWinGetWrapperWindow _ANSI_ARGS_((Tk_Window tkwin)); -/* 20 */ -EXTERN int TkWinHandleMenuEvent _ANSI_ARGS_((HWND * phwnd, - UINT * pMessage, WPARAM * pwParam, - LPARAM * plParam, LRESULT * plResult)); -/* 21 */ -EXTERN int TkWinIndexOfColor _ANSI_ARGS_((XColor * colorPtr)); -/* 22 */ -EXTERN void TkWinReleaseDrawableDC _ANSI_ARGS_((Drawable d, - HDC hdc, TkWinDCState* state)); -/* 23 */ -EXTERN LRESULT TkWinResendEvent _ANSI_ARGS_((WNDPROC wndproc, - HWND hwnd, XEvent * eventPtr)); -/* 24 */ -EXTERN HPALETTE TkWinSelectPalette _ANSI_ARGS_((HDC dc, - Colormap colormap)); -/* 25 */ -EXTERN void TkWinSetMenu _ANSI_ARGS_((Tk_Window tkwin, - HMENU hMenu)); -/* 26 */ -EXTERN void TkWinSetWindowPos _ANSI_ARGS_((HWND hwnd, - HWND siblingHwnd, int pos)); -/* 27 */ -EXTERN void TkWinWmCleanup _ANSI_ARGS_((HINSTANCE hInstance)); -/* 28 */ -EXTERN void TkWinXCleanup _ANSI_ARGS_((HINSTANCE hInstance)); -/* 29 */ -EXTERN void TkWinXInit _ANSI_ARGS_((HINSTANCE hInstance)); -/* 30 */ -EXTERN void TkWinSetForegroundWindow _ANSI_ARGS_(( - TkWindow * winPtr)); -/* 31 */ -EXTERN void TkWinDialogDebug _ANSI_ARGS_((int debug)); -/* 32 */ -EXTERN Tcl_Obj * TkWinGetMenuSystemDefault _ANSI_ARGS_(( - Tk_Window tkwin, char * dbName, - char * className)); -/* 33 */ -EXTERN int TkWinGetPlatformId _ANSI_ARGS_((void)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 0 */ -EXTERN void TkGenerateActivateEvents _ANSI_ARGS_(( - TkWindow * winPtr, int active)); -/* 1 */ -EXTERN Pixmap TkpCreateNativeBitmap _ANSI_ARGS_((Display * display, - char * source)); -/* 2 */ -EXTERN void TkpDefineNativeBitmaps _ANSI_ARGS_((void)); -/* 3 */ -EXTERN unsigned long TkpGetMS _ANSI_ARGS_((void)); -/* Slot 4 is reserved */ -/* 5 */ -EXTERN void TkPointerDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 6 */ -EXTERN void TkpSetCapture _ANSI_ARGS_((TkWindow * winPtr)); -/* 7 */ -EXTERN void TkpSetCursor _ANSI_ARGS_((TkpCursor cursor)); -/* 8 */ -EXTERN void TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr, - int state)); -/* Slot 9 is reserved */ -/* 10 */ -EXTERN void TkAboutDlg _ANSI_ARGS_((void)); -/* Slot 11 is reserved */ -/* Slot 12 is reserved */ -/* 13 */ -EXTERN Window TkGetTransientMaster _ANSI_ARGS_((TkWindow * winPtr)); -/* 14 */ -EXTERN int TkGenerateButtonEvent _ANSI_ARGS_((int x, int y, - Window window, unsigned int state)); -/* Slot 15 is reserved */ -/* 16 */ -EXTERN void TkGenWMDestroyEvent _ANSI_ARGS_((Tk_Window tkwin)); -/* 17 */ -EXTERN void TkGenWMConfigureEvent _ANSI_ARGS_((Tk_Window tkwin, - int x, int y, int width, int height, - int flags)); -/* 18 */ -EXTERN unsigned int TkMacButtonKeyState _ANSI_ARGS_((void)); -/* 19 */ -EXTERN void TkMacClearMenubarActive _ANSI_ARGS_((void)); -/* 20 */ -EXTERN int TkMacConvertEvent _ANSI_ARGS_(( - EventRecord * eventPtr)); -/* 21 */ -EXTERN int TkMacDispatchMenuEvent _ANSI_ARGS_((int menuID, - int index)); -/* 22 */ -EXTERN void TkMacInstallCursor _ANSI_ARGS_((int resizeOverride)); -/* 23 */ -EXTERN int TkMacConvertTkEvent _ANSI_ARGS_(( - EventRecord * eventPtr, Window window)); -/* 24 */ -EXTERN void TkMacHandleTearoffMenu _ANSI_ARGS_((void)); -/* Slot 25 is reserved */ -/* 26 */ -EXTERN void TkMacInvalClipRgns _ANSI_ARGS_((TkWindow * winPtr)); -/* 27 */ -EXTERN void TkMacDoHLEvent _ANSI_ARGS_((EventRecord * theEvent)); -/* Slot 28 is reserved */ -/* 29 */ -EXTERN Time TkMacGenerateTime _ANSI_ARGS_((void)); -/* 30 */ -EXTERN GWorldPtr TkMacGetDrawablePort _ANSI_ARGS_((Drawable drawable)); -/* 31 */ -EXTERN TkWindow * TkMacGetScrollbarGrowWindow _ANSI_ARGS_(( - TkWindow * winPtr)); -/* 32 */ -EXTERN Window TkMacGetXWindow _ANSI_ARGS_((WindowRef macWinPtr)); -/* 33 */ -EXTERN int TkMacGrowToplevel _ANSI_ARGS_((WindowRef whichWindow, - Point start)); -/* 34 */ -EXTERN void TkMacHandleMenuSelect _ANSI_ARGS_((long mResult, - int optionKeyPressed)); -/* 35 */ -EXTERN int TkMacHaveAppearance _ANSI_ARGS_((void)); -/* 36 */ -EXTERN void TkMacInitAppleEvents _ANSI_ARGS_(( - Tcl_Interp * interp)); -/* 37 */ -EXTERN void TkMacInitMenus _ANSI_ARGS_((Tcl_Interp * interp)); -/* 38 */ -EXTERN void TkMacInvalidateWindow _ANSI_ARGS_(( - MacDrawable * macWin, int flag)); -/* 39 */ -EXTERN int TkMacIsCharacterMissing _ANSI_ARGS_((Tk_Font tkfont, - unsigned int searchChar)); -/* 40 */ -EXTERN void TkMacMakeRealWindowExist _ANSI_ARGS_(( - TkWindow * winPtr)); -/* 41 */ -EXTERN BitMapPtr TkMacMakeStippleMap _ANSI_ARGS_((Drawable d1, - Drawable d2)); -/* 42 */ -EXTERN void TkMacMenuClick _ANSI_ARGS_((void)); -/* 43 */ -EXTERN void TkMacRegisterOffScreenWindow _ANSI_ARGS_(( - Window window, GWorldPtr portPtr)); -/* 44 */ -EXTERN int TkMacResizable _ANSI_ARGS_((TkWindow * winPtr)); -/* Slot 45 is reserved */ -/* 46 */ -EXTERN void TkMacSetHelpMenuItemCount _ANSI_ARGS_((void)); -/* 47 */ -EXTERN void TkMacSetScrollbarGrow _ANSI_ARGS_((TkWindow * winPtr, - int flag)); -/* 48 */ -EXTERN void TkMacSetUpClippingRgn _ANSI_ARGS_((Drawable drawable)); -/* 49 */ -EXTERN void TkMacSetUpGraphicsPort _ANSI_ARGS_((GC gc)); -/* 50 */ -EXTERN void TkMacUpdateClipRgn _ANSI_ARGS_((TkWindow * winPtr)); -/* 51 */ -EXTERN void TkMacUnregisterMacWindow _ANSI_ARGS_(( - GWorldPtr portPtr)); -/* 52 */ -EXTERN int TkMacUseMenuID _ANSI_ARGS_((short macID)); -/* 53 */ -EXTERN RgnHandle TkMacVisableClipRgn _ANSI_ARGS_((TkWindow * winPtr)); -/* 54 */ -EXTERN void TkMacWinBounds _ANSI_ARGS_((TkWindow * winPtr, - Rect * geometry)); -/* 55 */ -EXTERN void TkMacWindowOffset _ANSI_ARGS_((WindowRef wRef, - int * xOffset, int * yOffset)); -/* Slot 56 is reserved */ -/* 57 */ -EXTERN int TkSetMacColor _ANSI_ARGS_((unsigned long pixel, - RGBColor * macColor)); -/* 58 */ -EXTERN void TkSetWMName _ANSI_ARGS_((TkWindow * winPtr, - Tk_Uid titleUid)); -/* 59 */ -EXTERN void TkSuspendClipboard _ANSI_ARGS_((void)); -/* Slot 60 is reserved */ -/* 61 */ -EXTERN int TkMacZoomToplevel _ANSI_ARGS_((WindowPtr whichWindow, - Point where, short zoomPart)); -/* 62 */ -EXTERN Tk_Window Tk_TopCoordsToWindow _ANSI_ARGS_((Tk_Window tkwin, - int rootX, int rootY, int * newX, int * newY)); -/* 63 */ -EXTERN MacDrawable * TkMacContainerId _ANSI_ARGS_((TkWindow * winPtr)); -/* 64 */ -EXTERN MacDrawable * TkMacGetHostToplevel _ANSI_ARGS_((TkWindow * winPtr)); -#endif /* MAC_TCL */ - -typedef struct TkIntPlatStubs { - int magic; - struct TkIntPlatStubHooks *hooks; - -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void (*tkCreateXEventSource) _ANSI_ARGS_((void)); /* 0 */ - void (*tkFreeWindowId) _ANSI_ARGS_((TkDisplay * dispPtr, Window w)); /* 1 */ - void (*tkInitXId) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 2 */ - int (*tkpCmapStressed) _ANSI_ARGS_((Tk_Window tkwin, Colormap colormap)); /* 3 */ - void (*tkpSync) _ANSI_ARGS_((Display * display)); /* 4 */ - Window (*tkUnixContainerId) _ANSI_ARGS_((TkWindow * winPtr)); /* 5 */ - int (*tkUnixDoOneXEvent) _ANSI_ARGS_((Tcl_Time * timePtr)); /* 6 */ - void (*tkUnixSetMenubar) _ANSI_ARGS_((Tk_Window tkwin, Tk_Window menubar)); /* 7 */ -#endif /* UNIX */ -#ifdef __WIN32__ - char * (*tkAlignImageData) _ANSI_ARGS_((XImage * image, int alignment, int bitOrder)); /* 0 */ - void *reserved1; - void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow * winPtr, int active)); /* 2 */ - unsigned long (*tkpGetMS) _ANSI_ARGS_((void)); /* 3 */ - void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 4 */ - void (*tkpPrintWindowId) _ANSI_ARGS_((char * buf, Window window)); /* 5 */ - int (*tkpScanWindowId) _ANSI_ARGS_((Tcl_Interp * interp, char * string, int * idPtr)); /* 6 */ - void (*tkpSetCapture) _ANSI_ARGS_((TkWindow * winPtr)); /* 7 */ - void (*tkpSetCursor) _ANSI_ARGS_((TkpCursor cursor)); /* 8 */ - void (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state)); /* 9 */ - void (*tkSetPixmapColormap) _ANSI_ARGS_((Pixmap pixmap, Colormap colormap)); /* 10 */ - void (*tkWinCancelMouseTimer) _ANSI_ARGS_((void)); /* 11 */ - void (*tkWinClipboardRender) _ANSI_ARGS_((TkDisplay * dispPtr, UINT format)); /* 12 */ - LRESULT (*tkWinEmbeddedEventProc) _ANSI_ARGS_((HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)); /* 13 */ - void (*tkWinFillRect) _ANSI_ARGS_((HDC dc, int x, int y, int width, int height, int pixel)); /* 14 */ - COLORREF (*tkWinGetBorderPixels) _ANSI_ARGS_((Tk_Window tkwin, Tk_3DBorder border, int which)); /* 15 */ - HDC (*tkWinGetDrawableDC) _ANSI_ARGS_((Display * display, Drawable d, TkWinDCState* state)); /* 16 */ - int (*tkWinGetModifierState) _ANSI_ARGS_((void)); /* 17 */ - HPALETTE (*tkWinGetSystemPalette) _ANSI_ARGS_((void)); /* 18 */ - HWND (*tkWinGetWrapperWindow) _ANSI_ARGS_((Tk_Window tkwin)); /* 19 */ - int (*tkWinHandleMenuEvent) _ANSI_ARGS_((HWND * phwnd, UINT * pMessage, WPARAM * pwParam, LPARAM * plParam, LRESULT * plResult)); /* 20 */ - int (*tkWinIndexOfColor) _ANSI_ARGS_((XColor * colorPtr)); /* 21 */ - void (*tkWinReleaseDrawableDC) _ANSI_ARGS_((Drawable d, HDC hdc, TkWinDCState* state)); /* 22 */ - LRESULT (*tkWinResendEvent) _ANSI_ARGS_((WNDPROC wndproc, HWND hwnd, XEvent * eventPtr)); /* 23 */ - HPALETTE (*tkWinSelectPalette) _ANSI_ARGS_((HDC dc, Colormap colormap)); /* 24 */ - void (*tkWinSetMenu) _ANSI_ARGS_((Tk_Window tkwin, HMENU hMenu)); /* 25 */ - void (*tkWinSetWindowPos) _ANSI_ARGS_((HWND hwnd, HWND siblingHwnd, int pos)); /* 26 */ - void (*tkWinWmCleanup) _ANSI_ARGS_((HINSTANCE hInstance)); /* 27 */ - void (*tkWinXCleanup) _ANSI_ARGS_((HINSTANCE hInstance)); /* 28 */ - void (*tkWinXInit) _ANSI_ARGS_((HINSTANCE hInstance)); /* 29 */ - void (*tkWinSetForegroundWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 30 */ - void (*tkWinDialogDebug) _ANSI_ARGS_((int debug)); /* 31 */ - Tcl_Obj * (*tkWinGetMenuSystemDefault) _ANSI_ARGS_((Tk_Window tkwin, char * dbName, char * className)); /* 32 */ - int (*tkWinGetPlatformId) _ANSI_ARGS_((void)); /* 33 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow * winPtr, int active)); /* 0 */ - Pixmap (*tkpCreateNativeBitmap) _ANSI_ARGS_((Display * display, char * source)); /* 1 */ - void (*tkpDefineNativeBitmaps) _ANSI_ARGS_((void)); /* 2 */ - unsigned long (*tkpGetMS) _ANSI_ARGS_((void)); /* 3 */ - void *reserved4; - void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 5 */ - void (*tkpSetCapture) _ANSI_ARGS_((TkWindow * winPtr)); /* 6 */ - void (*tkpSetCursor) _ANSI_ARGS_((TkpCursor cursor)); /* 7 */ - void (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state)); /* 8 */ - void *reserved9; - void (*tkAboutDlg) _ANSI_ARGS_((void)); /* 10 */ - void *reserved11; - void *reserved12; - Window (*tkGetTransientMaster) _ANSI_ARGS_((TkWindow * winPtr)); /* 13 */ - int (*tkGenerateButtonEvent) _ANSI_ARGS_((int x, int y, Window window, unsigned int state)); /* 14 */ - void *reserved15; - void (*tkGenWMDestroyEvent) _ANSI_ARGS_((Tk_Window tkwin)); /* 16 */ - void (*tkGenWMConfigureEvent) _ANSI_ARGS_((Tk_Window tkwin, int x, int y, int width, int height, int flags)); /* 17 */ - unsigned int (*tkMacButtonKeyState) _ANSI_ARGS_((void)); /* 18 */ - void (*tkMacClearMenubarActive) _ANSI_ARGS_((void)); /* 19 */ - int (*tkMacConvertEvent) _ANSI_ARGS_((EventRecord * eventPtr)); /* 20 */ - int (*tkMacDispatchMenuEvent) _ANSI_ARGS_((int menuID, int index)); /* 21 */ - void (*tkMacInstallCursor) _ANSI_ARGS_((int resizeOverride)); /* 22 */ - int (*tkMacConvertTkEvent) _ANSI_ARGS_((EventRecord * eventPtr, Window window)); /* 23 */ - void (*tkMacHandleTearoffMenu) _ANSI_ARGS_((void)); /* 24 */ - void *reserved25; - void (*tkMacInvalClipRgns) _ANSI_ARGS_((TkWindow * winPtr)); /* 26 */ - void (*tkMacDoHLEvent) _ANSI_ARGS_((EventRecord * theEvent)); /* 27 */ - void *reserved28; - Time (*tkMacGenerateTime) _ANSI_ARGS_((void)); /* 29 */ - GWorldPtr (*tkMacGetDrawablePort) _ANSI_ARGS_((Drawable drawable)); /* 30 */ - TkWindow * (*tkMacGetScrollbarGrowWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 31 */ - Window (*tkMacGetXWindow) _ANSI_ARGS_((WindowRef macWinPtr)); /* 32 */ - int (*tkMacGrowToplevel) _ANSI_ARGS_((WindowRef whichWindow, Point start)); /* 33 */ - void (*tkMacHandleMenuSelect) _ANSI_ARGS_((long mResult, int optionKeyPressed)); /* 34 */ - int (*tkMacHaveAppearance) _ANSI_ARGS_((void)); /* 35 */ - void (*tkMacInitAppleEvents) _ANSI_ARGS_((Tcl_Interp * interp)); /* 36 */ - void (*tkMacInitMenus) _ANSI_ARGS_((Tcl_Interp * interp)); /* 37 */ - void (*tkMacInvalidateWindow) _ANSI_ARGS_((MacDrawable * macWin, int flag)); /* 38 */ - int (*tkMacIsCharacterMissing) _ANSI_ARGS_((Tk_Font tkfont, unsigned int searchChar)); /* 39 */ - void (*tkMacMakeRealWindowExist) _ANSI_ARGS_((TkWindow * winPtr)); /* 40 */ - BitMapPtr (*tkMacMakeStippleMap) _ANSI_ARGS_((Drawable d1, Drawable d2)); /* 41 */ - void (*tkMacMenuClick) _ANSI_ARGS_((void)); /* 42 */ - void (*tkMacRegisterOffScreenWindow) _ANSI_ARGS_((Window window, GWorldPtr portPtr)); /* 43 */ - int (*tkMacResizable) _ANSI_ARGS_((TkWindow * winPtr)); /* 44 */ - void *reserved45; - void (*tkMacSetHelpMenuItemCount) _ANSI_ARGS_((void)); /* 46 */ - void (*tkMacSetScrollbarGrow) _ANSI_ARGS_((TkWindow * winPtr, int flag)); /* 47 */ - void (*tkMacSetUpClippingRgn) _ANSI_ARGS_((Drawable drawable)); /* 48 */ - void (*tkMacSetUpGraphicsPort) _ANSI_ARGS_((GC gc)); /* 49 */ - void (*tkMacUpdateClipRgn) _ANSI_ARGS_((TkWindow * winPtr)); /* 50 */ - void (*tkMacUnregisterMacWindow) _ANSI_ARGS_((GWorldPtr portPtr)); /* 51 */ - int (*tkMacUseMenuID) _ANSI_ARGS_((short macID)); /* 52 */ - RgnHandle (*tkMacVisableClipRgn) _ANSI_ARGS_((TkWindow * winPtr)); /* 53 */ - void (*tkMacWinBounds) _ANSI_ARGS_((TkWindow * winPtr, Rect * geometry)); /* 54 */ - void (*tkMacWindowOffset) _ANSI_ARGS_((WindowRef wRef, int * xOffset, int * yOffset)); /* 55 */ - void *reserved56; - int (*tkSetMacColor) _ANSI_ARGS_((unsigned long pixel, RGBColor * macColor)); /* 57 */ - void (*tkSetWMName) _ANSI_ARGS_((TkWindow * winPtr, Tk_Uid titleUid)); /* 58 */ - void (*tkSuspendClipboard) _ANSI_ARGS_((void)); /* 59 */ - void *reserved60; - int (*tkMacZoomToplevel) _ANSI_ARGS_((WindowPtr whichWindow, Point where, short zoomPart)); /* 61 */ - Tk_Window (*tk_TopCoordsToWindow) _ANSI_ARGS_((Tk_Window tkwin, int rootX, int rootY, int * newX, int * newY)); /* 62 */ - MacDrawable * (*tkMacContainerId) _ANSI_ARGS_((TkWindow * winPtr)); /* 63 */ - MacDrawable * (*tkMacGetHostToplevel) _ANSI_ARGS_((TkWindow * winPtr)); /* 64 */ -#endif /* MAC_TCL */ -} TkIntPlatStubs; - -#ifdef __cplusplus -extern "C" { -#endif -extern TkIntPlatStubs *tkIntPlatStubsPtr; -#ifdef __cplusplus -} -#endif - -#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) - -/* - * Inline function declarations: - */ - -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -#ifndef TkCreateXEventSource -#define TkCreateXEventSource \ - (tkIntPlatStubsPtr->tkCreateXEventSource) /* 0 */ -#endif -#ifndef TkFreeWindowId -#define TkFreeWindowId \ - (tkIntPlatStubsPtr->tkFreeWindowId) /* 1 */ -#endif -#ifndef TkInitXId -#define TkInitXId \ - (tkIntPlatStubsPtr->tkInitXId) /* 2 */ -#endif -#ifndef TkpCmapStressed -#define TkpCmapStressed \ - (tkIntPlatStubsPtr->tkpCmapStressed) /* 3 */ -#endif -#ifndef TkpSync -#define TkpSync \ - (tkIntPlatStubsPtr->tkpSync) /* 4 */ -#endif -#ifndef TkUnixContainerId -#define TkUnixContainerId \ - (tkIntPlatStubsPtr->tkUnixContainerId) /* 5 */ -#endif -#ifndef TkUnixDoOneXEvent -#define TkUnixDoOneXEvent \ - (tkIntPlatStubsPtr->tkUnixDoOneXEvent) /* 6 */ -#endif -#ifndef TkUnixSetMenubar -#define TkUnixSetMenubar \ - (tkIntPlatStubsPtr->tkUnixSetMenubar) /* 7 */ -#endif -#endif /* UNIX */ -#ifdef __WIN32__ -#ifndef TkAlignImageData -#define TkAlignImageData \ - (tkIntPlatStubsPtr->tkAlignImageData) /* 0 */ -#endif -/* Slot 1 is reserved */ -#ifndef TkGenerateActivateEvents -#define TkGenerateActivateEvents \ - (tkIntPlatStubsPtr->tkGenerateActivateEvents) /* 2 */ -#endif -#ifndef TkpGetMS -#define TkpGetMS \ - (tkIntPlatStubsPtr->tkpGetMS) /* 3 */ -#endif -#ifndef TkPointerDeadWindow -#define TkPointerDeadWindow \ - (tkIntPlatStubsPtr->tkPointerDeadWindow) /* 4 */ -#endif -#ifndef TkpPrintWindowId -#define TkpPrintWindowId \ - (tkIntPlatStubsPtr->tkpPrintWindowId) /* 5 */ -#endif -#ifndef TkpScanWindowId -#define TkpScanWindowId \ - (tkIntPlatStubsPtr->tkpScanWindowId) /* 6 */ -#endif -#ifndef TkpSetCapture -#define TkpSetCapture \ - (tkIntPlatStubsPtr->tkpSetCapture) /* 7 */ -#endif -#ifndef TkpSetCursor -#define TkpSetCursor \ - (tkIntPlatStubsPtr->tkpSetCursor) /* 8 */ -#endif -#ifndef TkpWmSetState -#define TkpWmSetState \ - (tkIntPlatStubsPtr->tkpWmSetState) /* 9 */ -#endif -#ifndef TkSetPixmapColormap -#define TkSetPixmapColormap \ - (tkIntPlatStubsPtr->tkSetPixmapColormap) /* 10 */ -#endif -#ifndef TkWinCancelMouseTimer -#define TkWinCancelMouseTimer \ - (tkIntPlatStubsPtr->tkWinCancelMouseTimer) /* 11 */ -#endif -#ifndef TkWinClipboardRender -#define TkWinClipboardRender \ - (tkIntPlatStubsPtr->tkWinClipboardRender) /* 12 */ -#endif -#ifndef TkWinEmbeddedEventProc -#define TkWinEmbeddedEventProc \ - (tkIntPlatStubsPtr->tkWinEmbeddedEventProc) /* 13 */ -#endif -#ifndef TkWinFillRect -#define TkWinFillRect \ - (tkIntPlatStubsPtr->tkWinFillRect) /* 14 */ -#endif -#ifndef TkWinGetBorderPixels -#define TkWinGetBorderPixels \ - (tkIntPlatStubsPtr->tkWinGetBorderPixels) /* 15 */ -#endif -#ifndef TkWinGetDrawableDC -#define TkWinGetDrawableDC \ - (tkIntPlatStubsPtr->tkWinGetDrawableDC) /* 16 */ -#endif -#ifndef TkWinGetModifierState -#define TkWinGetModifierState \ - (tkIntPlatStubsPtr->tkWinGetModifierState) /* 17 */ -#endif -#ifndef TkWinGetSystemPalette -#define TkWinGetSystemPalette \ - (tkIntPlatStubsPtr->tkWinGetSystemPalette) /* 18 */ -#endif -#ifndef TkWinGetWrapperWindow -#define TkWinGetWrapperWindow \ - (tkIntPlatStubsPtr->tkWinGetWrapperWindow) /* 19 */ -#endif -#ifndef TkWinHandleMenuEvent -#define TkWinHandleMenuEvent \ - (tkIntPlatStubsPtr->tkWinHandleMenuEvent) /* 20 */ -#endif -#ifndef TkWinIndexOfColor -#define TkWinIndexOfColor \ - (tkIntPlatStubsPtr->tkWinIndexOfColor) /* 21 */ -#endif -#ifndef TkWinReleaseDrawableDC -#define TkWinReleaseDrawableDC \ - (tkIntPlatStubsPtr->tkWinReleaseDrawableDC) /* 22 */ -#endif -#ifndef TkWinResendEvent -#define TkWinResendEvent \ - (tkIntPlatStubsPtr->tkWinResendEvent) /* 23 */ -#endif -#ifndef TkWinSelectPalette -#define TkWinSelectPalette \ - (tkIntPlatStubsPtr->tkWinSelectPalette) /* 24 */ -#endif -#ifndef TkWinSetMenu -#define TkWinSetMenu \ - (tkIntPlatStubsPtr->tkWinSetMenu) /* 25 */ -#endif -#ifndef TkWinSetWindowPos -#define TkWinSetWindowPos \ - (tkIntPlatStubsPtr->tkWinSetWindowPos) /* 26 */ -#endif -#ifndef TkWinWmCleanup -#define TkWinWmCleanup \ - (tkIntPlatStubsPtr->tkWinWmCleanup) /* 27 */ -#endif -#ifndef TkWinXCleanup -#define TkWinXCleanup \ - (tkIntPlatStubsPtr->tkWinXCleanup) /* 28 */ -#endif -#ifndef TkWinXInit -#define TkWinXInit \ - (tkIntPlatStubsPtr->tkWinXInit) /* 29 */ -#endif -#ifndef TkWinSetForegroundWindow -#define TkWinSetForegroundWindow \ - (tkIntPlatStubsPtr->tkWinSetForegroundWindow) /* 30 */ -#endif -#ifndef TkWinDialogDebug -#define TkWinDialogDebug \ - (tkIntPlatStubsPtr->tkWinDialogDebug) /* 31 */ -#endif -#ifndef TkWinGetMenuSystemDefault -#define TkWinGetMenuSystemDefault \ - (tkIntPlatStubsPtr->tkWinGetMenuSystemDefault) /* 32 */ -#endif -#ifndef TkWinGetPlatformId -#define TkWinGetPlatformId \ - (tkIntPlatStubsPtr->tkWinGetPlatformId) /* 33 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkGenerateActivateEvents -#define TkGenerateActivateEvents \ - (tkIntPlatStubsPtr->tkGenerateActivateEvents) /* 0 */ -#endif -#ifndef TkpCreateNativeBitmap -#define TkpCreateNativeBitmap \ - (tkIntPlatStubsPtr->tkpCreateNativeBitmap) /* 1 */ -#endif -#ifndef TkpDefineNativeBitmaps -#define TkpDefineNativeBitmaps \ - (tkIntPlatStubsPtr->tkpDefineNativeBitmaps) /* 2 */ -#endif -#ifndef TkpGetMS -#define TkpGetMS \ - (tkIntPlatStubsPtr->tkpGetMS) /* 3 */ -#endif -/* Slot 4 is reserved */ -#ifndef TkPointerDeadWindow -#define TkPointerDeadWindow \ - (tkIntPlatStubsPtr->tkPointerDeadWindow) /* 5 */ -#endif -#ifndef TkpSetCapture -#define TkpSetCapture \ - (tkIntPlatStubsPtr->tkpSetCapture) /* 6 */ -#endif -#ifndef TkpSetCursor -#define TkpSetCursor \ - (tkIntPlatStubsPtr->tkpSetCursor) /* 7 */ -#endif -#ifndef TkpWmSetState -#define TkpWmSetState \ - (tkIntPlatStubsPtr->tkpWmSetState) /* 8 */ -#endif -/* Slot 9 is reserved */ -#ifndef TkAboutDlg -#define TkAboutDlg \ - (tkIntPlatStubsPtr->tkAboutDlg) /* 10 */ -#endif -/* Slot 11 is reserved */ -/* Slot 12 is reserved */ -#ifndef TkGetTransientMaster -#define TkGetTransientMaster \ - (tkIntPlatStubsPtr->tkGetTransientMaster) /* 13 */ -#endif -#ifndef TkGenerateButtonEvent -#define TkGenerateButtonEvent \ - (tkIntPlatStubsPtr->tkGenerateButtonEvent) /* 14 */ -#endif -/* Slot 15 is reserved */ -#ifndef TkGenWMDestroyEvent -#define TkGenWMDestroyEvent \ - (tkIntPlatStubsPtr->tkGenWMDestroyEvent) /* 16 */ -#endif -#ifndef TkGenWMConfigureEvent -#define TkGenWMConfigureEvent \ - (tkIntPlatStubsPtr->tkGenWMConfigureEvent) /* 17 */ -#endif -#ifndef TkMacButtonKeyState -#define TkMacButtonKeyState \ - (tkIntPlatStubsPtr->tkMacButtonKeyState) /* 18 */ -#endif -#ifndef TkMacClearMenubarActive -#define TkMacClearMenubarActive \ - (tkIntPlatStubsPtr->tkMacClearMenubarActive) /* 19 */ -#endif -#ifndef TkMacConvertEvent -#define TkMacConvertEvent \ - (tkIntPlatStubsPtr->tkMacConvertEvent) /* 20 */ -#endif -#ifndef TkMacDispatchMenuEvent -#define TkMacDispatchMenuEvent \ - (tkIntPlatStubsPtr->tkMacDispatchMenuEvent) /* 21 */ -#endif -#ifndef TkMacInstallCursor -#define TkMacInstallCursor \ - (tkIntPlatStubsPtr->tkMacInstallCursor) /* 22 */ -#endif -#ifndef TkMacConvertTkEvent -#define TkMacConvertTkEvent \ - (tkIntPlatStubsPtr->tkMacConvertTkEvent) /* 23 */ -#endif -#ifndef TkMacHandleTearoffMenu -#define TkMacHandleTearoffMenu \ - (tkIntPlatStubsPtr->tkMacHandleTearoffMenu) /* 24 */ -#endif -/* Slot 25 is reserved */ -#ifndef TkMacInvalClipRgns -#define TkMacInvalClipRgns \ - (tkIntPlatStubsPtr->tkMacInvalClipRgns) /* 26 */ -#endif -#ifndef TkMacDoHLEvent -#define TkMacDoHLEvent \ - (tkIntPlatStubsPtr->tkMacDoHLEvent) /* 27 */ -#endif -/* Slot 28 is reserved */ -#ifndef TkMacGenerateTime -#define TkMacGenerateTime \ - (tkIntPlatStubsPtr->tkMacGenerateTime) /* 29 */ -#endif -#ifndef TkMacGetDrawablePort -#define TkMacGetDrawablePort \ - (tkIntPlatStubsPtr->tkMacGetDrawablePort) /* 30 */ -#endif -#ifndef TkMacGetScrollbarGrowWindow -#define TkMacGetScrollbarGrowWindow \ - (tkIntPlatStubsPtr->tkMacGetScrollbarGrowWindow) /* 31 */ -#endif -#ifndef TkMacGetXWindow -#define TkMacGetXWindow \ - (tkIntPlatStubsPtr->tkMacGetXWindow) /* 32 */ -#endif -#ifndef TkMacGrowToplevel -#define TkMacGrowToplevel \ - (tkIntPlatStubsPtr->tkMacGrowToplevel) /* 33 */ -#endif -#ifndef TkMacHandleMenuSelect -#define TkMacHandleMenuSelect \ - (tkIntPlatStubsPtr->tkMacHandleMenuSelect) /* 34 */ -#endif -#ifndef TkMacHaveAppearance -#define TkMacHaveAppearance \ - (tkIntPlatStubsPtr->tkMacHaveAppearance) /* 35 */ -#endif -#ifndef TkMacInitAppleEvents -#define TkMacInitAppleEvents \ - (tkIntPlatStubsPtr->tkMacInitAppleEvents) /* 36 */ -#endif -#ifndef TkMacInitMenus -#define TkMacInitMenus \ - (tkIntPlatStubsPtr->tkMacInitMenus) /* 37 */ -#endif -#ifndef TkMacInvalidateWindow -#define TkMacInvalidateWindow \ - (tkIntPlatStubsPtr->tkMacInvalidateWindow) /* 38 */ -#endif -#ifndef TkMacIsCharacterMissing -#define TkMacIsCharacterMissing \ - (tkIntPlatStubsPtr->tkMacIsCharacterMissing) /* 39 */ -#endif -#ifndef TkMacMakeRealWindowExist -#define TkMacMakeRealWindowExist \ - (tkIntPlatStubsPtr->tkMacMakeRealWindowExist) /* 40 */ -#endif -#ifndef TkMacMakeStippleMap -#define TkMacMakeStippleMap \ - (tkIntPlatStubsPtr->tkMacMakeStippleMap) /* 41 */ -#endif -#ifndef TkMacMenuClick -#define TkMacMenuClick \ - (tkIntPlatStubsPtr->tkMacMenuClick) /* 42 */ -#endif -#ifndef TkMacRegisterOffScreenWindow -#define TkMacRegisterOffScreenWindow \ - (tkIntPlatStubsPtr->tkMacRegisterOffScreenWindow) /* 43 */ -#endif -#ifndef TkMacResizable -#define TkMacResizable \ - (tkIntPlatStubsPtr->tkMacResizable) /* 44 */ -#endif -/* Slot 45 is reserved */ -#ifndef TkMacSetHelpMenuItemCount -#define TkMacSetHelpMenuItemCount \ - (tkIntPlatStubsPtr->tkMacSetHelpMenuItemCount) /* 46 */ -#endif -#ifndef TkMacSetScrollbarGrow -#define TkMacSetScrollbarGrow \ - (tkIntPlatStubsPtr->tkMacSetScrollbarGrow) /* 47 */ -#endif -#ifndef TkMacSetUpClippingRgn -#define TkMacSetUpClippingRgn \ - (tkIntPlatStubsPtr->tkMacSetUpClippingRgn) /* 48 */ -#endif -#ifndef TkMacSetUpGraphicsPort -#define TkMacSetUpGraphicsPort \ - (tkIntPlatStubsPtr->tkMacSetUpGraphicsPort) /* 49 */ -#endif -#ifndef TkMacUpdateClipRgn -#define TkMacUpdateClipRgn \ - (tkIntPlatStubsPtr->tkMacUpdateClipRgn) /* 50 */ -#endif -#ifndef TkMacUnregisterMacWindow -#define TkMacUnregisterMacWindow \ - (tkIntPlatStubsPtr->tkMacUnregisterMacWindow) /* 51 */ -#endif -#ifndef TkMacUseMenuID -#define TkMacUseMenuID \ - (tkIntPlatStubsPtr->tkMacUseMenuID) /* 52 */ -#endif -#ifndef TkMacVisableClipRgn -#define TkMacVisableClipRgn \ - (tkIntPlatStubsPtr->tkMacVisableClipRgn) /* 53 */ -#endif -#ifndef TkMacWinBounds -#define TkMacWinBounds \ - (tkIntPlatStubsPtr->tkMacWinBounds) /* 54 */ -#endif -#ifndef TkMacWindowOffset -#define TkMacWindowOffset \ - (tkIntPlatStubsPtr->tkMacWindowOffset) /* 55 */ -#endif -/* Slot 56 is reserved */ -#ifndef TkSetMacColor -#define TkSetMacColor \ - (tkIntPlatStubsPtr->tkSetMacColor) /* 57 */ -#endif -#ifndef TkSetWMName -#define TkSetWMName \ - (tkIntPlatStubsPtr->tkSetWMName) /* 58 */ -#endif -#ifndef TkSuspendClipboard -#define TkSuspendClipboard \ - (tkIntPlatStubsPtr->tkSuspendClipboard) /* 59 */ -#endif -/* Slot 60 is reserved */ -#ifndef TkMacZoomToplevel -#define TkMacZoomToplevel \ - (tkIntPlatStubsPtr->tkMacZoomToplevel) /* 61 */ -#endif -#ifndef Tk_TopCoordsToWindow -#define Tk_TopCoordsToWindow \ - (tkIntPlatStubsPtr->tk_TopCoordsToWindow) /* 62 */ -#endif -#ifndef TkMacContainerId -#define TkMacContainerId \ - (tkIntPlatStubsPtr->tkMacContainerId) /* 63 */ -#endif -#ifndef TkMacGetHostToplevel -#define TkMacGetHostToplevel \ - (tkIntPlatStubsPtr->tkMacGetHostToplevel) /* 64 */ -#endif -#endif /* MAC_TCL */ - -#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */ - -/* !END!: Do not edit above this line. */ - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKINTPLATDECLS */ diff --git a/src/other/togl/include/tcltk/tk8.2/tkPlatDecls.h b/src/other/togl/include/tcltk/tk8.2/tkPlatDecls.h deleted file mode 100644 index 00c16f77a37..00000000000 --- a/src/other/togl/include/tcltk/tk8.2/tkPlatDecls.h +++ /dev/null @@ -1,208 +0,0 @@ -/* - * tkPlatDecls.h -- - * - * Declarations of functions in the platform-specific public Tcl API. - * - * Copyright (c) 1998-1999 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKPLATDECLS -#define _TKPLATDECLS - -#ifdef BUILD_tk -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * WARNING: This file is automatically generated by the tools/genStubs.tcl - * script. Any modifications to the function declarations below should be made - * in the generic/tk.decls script. - */ - - -/* !BEGIN!: Do not edit below this line. */ - -/* - * Exported function declarations: - */ - -#ifdef __WIN32__ -/* 0 */ -EXTERN Window Tk_AttachHWND _ANSI_ARGS_((Tk_Window tkwin, - HWND hwnd)); -/* 1 */ -EXTERN HINSTANCE Tk_GetHINSTANCE _ANSI_ARGS_((void)); -/* 2 */ -EXTERN HWND Tk_GetHWND _ANSI_ARGS_((Window window)); -/* 3 */ -EXTERN Tk_Window Tk_HWNDToWindow _ANSI_ARGS_((HWND hwnd)); -/* 4 */ -EXTERN void Tk_PointerEvent _ANSI_ARGS_((HWND hwnd, int x, int y)); -/* 5 */ -EXTERN int Tk_TranslateWinEvent _ANSI_ARGS_((HWND hwnd, - UINT message, WPARAM wParam, LPARAM lParam, - LRESULT * result)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 0 */ -EXTERN void Tk_MacSetEmbedHandler _ANSI_ARGS_(( - Tk_MacEmbedRegisterWinProc * registerWinProcPtr, - Tk_MacEmbedGetGrafPortProc * getPortProcPtr, - Tk_MacEmbedMakeContainerExistProc * containerExistProcPtr, - Tk_MacEmbedGetClipProc * getClipProc, - Tk_MacEmbedGetOffsetInParentProc * getOffsetProc)); -/* 1 */ -EXTERN void Tk_MacTurnOffMenus _ANSI_ARGS_((void)); -/* 2 */ -EXTERN void Tk_MacTkOwnsCursor _ANSI_ARGS_((int tkOwnsIt)); -/* 3 */ -EXTERN void TkMacInitMenus _ANSI_ARGS_((Tcl_Interp * interp)); -/* 4 */ -EXTERN void TkMacInitAppleEvents _ANSI_ARGS_(( - Tcl_Interp * interp)); -/* 5 */ -EXTERN int TkMacConvertEvent _ANSI_ARGS_(( - EventRecord * eventPtr)); -/* 6 */ -EXTERN int TkMacConvertTkEvent _ANSI_ARGS_(( - EventRecord * eventPtr, Window window)); -/* 7 */ -EXTERN void TkGenWMConfigureEvent _ANSI_ARGS_((Tk_Window tkwin, - int x, int y, int width, int height, - int flags)); -/* 8 */ -EXTERN void TkMacInvalClipRgns _ANSI_ARGS_((TkWindow * winPtr)); -/* 9 */ -EXTERN int TkMacHaveAppearance _ANSI_ARGS_((void)); -/* 10 */ -EXTERN GWorldPtr TkMacGetDrawablePort _ANSI_ARGS_((Drawable drawable)); -#endif /* MAC_TCL */ - -typedef struct TkPlatStubs { - int magic; - struct TkPlatStubHooks *hooks; - -#ifdef __WIN32__ - Window (*tk_AttachHWND) _ANSI_ARGS_((Tk_Window tkwin, HWND hwnd)); /* 0 */ - HINSTANCE (*tk_GetHINSTANCE) _ANSI_ARGS_((void)); /* 1 */ - HWND (*tk_GetHWND) _ANSI_ARGS_((Window window)); /* 2 */ - Tk_Window (*tk_HWNDToWindow) _ANSI_ARGS_((HWND hwnd)); /* 3 */ - void (*tk_PointerEvent) _ANSI_ARGS_((HWND hwnd, int x, int y)); /* 4 */ - int (*tk_TranslateWinEvent) _ANSI_ARGS_((HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT * result)); /* 5 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tk_MacSetEmbedHandler) _ANSI_ARGS_((Tk_MacEmbedRegisterWinProc * registerWinProcPtr, Tk_MacEmbedGetGrafPortProc * getPortProcPtr, Tk_MacEmbedMakeContainerExistProc * containerExistProcPtr, Tk_MacEmbedGetClipProc * getClipProc, Tk_MacEmbedGetOffsetInParentProc * getOffsetProc)); /* 0 */ - void (*tk_MacTurnOffMenus) _ANSI_ARGS_((void)); /* 1 */ - void (*tk_MacTkOwnsCursor) _ANSI_ARGS_((int tkOwnsIt)); /* 2 */ - void (*tkMacInitMenus) _ANSI_ARGS_((Tcl_Interp * interp)); /* 3 */ - void (*tkMacInitAppleEvents) _ANSI_ARGS_((Tcl_Interp * interp)); /* 4 */ - int (*tkMacConvertEvent) _ANSI_ARGS_((EventRecord * eventPtr)); /* 5 */ - int (*tkMacConvertTkEvent) _ANSI_ARGS_((EventRecord * eventPtr, Window window)); /* 6 */ - void (*tkGenWMConfigureEvent) _ANSI_ARGS_((Tk_Window tkwin, int x, int y, int width, int height, int flags)); /* 7 */ - void (*tkMacInvalClipRgns) _ANSI_ARGS_((TkWindow * winPtr)); /* 8 */ - int (*tkMacHaveAppearance) _ANSI_ARGS_((void)); /* 9 */ - GWorldPtr (*tkMacGetDrawablePort) _ANSI_ARGS_((Drawable drawable)); /* 10 */ -#endif /* MAC_TCL */ -} TkPlatStubs; - -#ifdef __cplusplus -extern "C" { -#endif -extern TkPlatStubs *tkPlatStubsPtr; -#ifdef __cplusplus -} -#endif - -#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) - -/* - * Inline function declarations: - */ - -#ifdef __WIN32__ -#ifndef Tk_AttachHWND -#define Tk_AttachHWND \ - (tkPlatStubsPtr->tk_AttachHWND) /* 0 */ -#endif -#ifndef Tk_GetHINSTANCE -#define Tk_GetHINSTANCE \ - (tkPlatStubsPtr->tk_GetHINSTANCE) /* 1 */ -#endif -#ifndef Tk_GetHWND -#define Tk_GetHWND \ - (tkPlatStubsPtr->tk_GetHWND) /* 2 */ -#endif -#ifndef Tk_HWNDToWindow -#define Tk_HWNDToWindow \ - (tkPlatStubsPtr->tk_HWNDToWindow) /* 3 */ -#endif -#ifndef Tk_PointerEvent -#define Tk_PointerEvent \ - (tkPlatStubsPtr->tk_PointerEvent) /* 4 */ -#endif -#ifndef Tk_TranslateWinEvent -#define Tk_TranslateWinEvent \ - (tkPlatStubsPtr->tk_TranslateWinEvent) /* 5 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef Tk_MacSetEmbedHandler -#define Tk_MacSetEmbedHandler \ - (tkPlatStubsPtr->tk_MacSetEmbedHandler) /* 0 */ -#endif -#ifndef Tk_MacTurnOffMenus -#define Tk_MacTurnOffMenus \ - (tkPlatStubsPtr->tk_MacTurnOffMenus) /* 1 */ -#endif -#ifndef Tk_MacTkOwnsCursor -#define Tk_MacTkOwnsCursor \ - (tkPlatStubsPtr->tk_MacTkOwnsCursor) /* 2 */ -#endif -#ifndef TkMacInitMenus -#define TkMacInitMenus \ - (tkPlatStubsPtr->tkMacInitMenus) /* 3 */ -#endif -#ifndef TkMacInitAppleEvents -#define TkMacInitAppleEvents \ - (tkPlatStubsPtr->tkMacInitAppleEvents) /* 4 */ -#endif -#ifndef TkMacConvertEvent -#define TkMacConvertEvent \ - (tkPlatStubsPtr->tkMacConvertEvent) /* 5 */ -#endif -#ifndef TkMacConvertTkEvent -#define TkMacConvertTkEvent \ - (tkPlatStubsPtr->tkMacConvertTkEvent) /* 6 */ -#endif -#ifndef TkGenWMConfigureEvent -#define TkGenWMConfigureEvent \ - (tkPlatStubsPtr->tkGenWMConfigureEvent) /* 7 */ -#endif -#ifndef TkMacInvalClipRgns -#define TkMacInvalClipRgns \ - (tkPlatStubsPtr->tkMacInvalClipRgns) /* 8 */ -#endif -#ifndef TkMacHaveAppearance -#define TkMacHaveAppearance \ - (tkPlatStubsPtr->tkMacHaveAppearance) /* 9 */ -#endif -#ifndef TkMacGetDrawablePort -#define TkMacGetDrawablePort \ - (tkPlatStubsPtr->tkMacGetDrawablePort) /* 10 */ -#endif -#endif /* MAC_TCL */ - -#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */ - -/* !END!: Do not edit above this line. */ - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKPLATDECLS */ diff --git a/src/other/togl/include/tcltk/tk8.2/tkPort.h b/src/other/togl/include/tcltk/tk8.2/tkPort.h deleted file mode 100644 index 24660b8681d..00000000000 --- a/src/other/togl/include/tcltk/tk8.2/tkPort.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * tkPort.h -- - * - * This header file handles porting issues that occur because of - * differences between systems. It reads in platform specific - * portability files. - * - * Copyright (c) 1995 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKPORT -#define _TKPORT - -#ifndef _TK -#include "tk.h" -#endif -#ifndef _TCL -#include "tcl.h" -#endif - -#if defined(__WIN32__) || defined(_WIN32) -# include "tkWinPort.h" -#else -# if defined(MAC_TCL) -# include "tkMacPort.h" -# else -# include "tkUnixPort.h" -# endif -#endif - -#endif /* _TKPORT */ diff --git a/src/other/togl/include/tcltk/tk8.2/tkWin.h b/src/other/togl/include/tcltk/tk8.2/tkWin.h deleted file mode 100644 index 3a6bcaafc84..00000000000 --- a/src/other/togl/include/tcltk/tk8.2/tkWin.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * tkWin.h -- - * - * Declarations of public types and interfaces that are only - * available under Windows. - * - * Copyright (c) 1996-1997 by Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKWIN -#define _TKWIN - -#ifndef _TK -#include -#endif - -#define WIN32_LEAN_AND_MEAN -#include -#undef WIN32_LEAN_AND_MEAN - -#ifdef BUILD_tk -# undef TCL_STORAGE_CLASS -# define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * The following messages are use to communicate between a Tk toplevel - * and its container window. - */ - -#define TK_CLAIMFOCUS (WM_USER) -#define TK_GEOMETRYREQ (WM_USER+1) -#define TK_ATTACHWINDOW (WM_USER+2) -#define TK_DETACHWINDOW (WM_USER+3) - - -/* - *-------------------------------------------------------------- - * - * Exported procedures defined for the Windows platform only. - * - *-------------------------------------------------------------- - */ - -#include "tkPlatDecls.h" - -# undef TCL_STORAGE_CLASS -# define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKWIN */ diff --git a/src/other/togl/include/tcltk/tk8.2/tkWinInt.h b/src/other/togl/include/tcltk/tk8.2/tkWinInt.h deleted file mode 100644 index c2e48ea517c..00000000000 --- a/src/other/togl/include/tcltk/tk8.2/tkWinInt.h +++ /dev/null @@ -1,160 +0,0 @@ -/* - * tkWinInt.h -- - * - * This file contains declarations that are shared among the - * Windows-specific parts of Tk, but aren't used by the rest of - * Tk. - * - * Copyright (c) 1995-1997 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKWININT -#define _TKWININT - -#ifndef _TKINT -#include "tkInt.h" -#endif - -/* - * Include platform specific public interfaces. - */ - -#ifndef _TKWIN -#include "tkWin.h" -#endif - -#ifndef _TKPORT -#include "tkPort.h" -#endif - - -/* - * Define constants missing from older Win32 SDK header files. - */ - -#ifndef WS_EX_TOOLWINDOW -#define WS_EX_TOOLWINDOW 0x00000080L -#endif - -typedef struct TkFontAttributes TkFontAttributes; - -/* - * The TkWinDCState is used to save the state of a device context - * so that it can be restored later. - */ - -typedef struct TkWinDCState { - HPALETTE palette; -} TkWinDCState; - -/* - * The TkWinDrawable is the internal implementation of an X Drawable (either - * a Window or a Pixmap). The following constants define the valid Drawable - * types. - */ - -#define TWD_BITMAP 1 -#define TWD_WINDOW 2 -#define TWD_WINDC 3 - -typedef struct { - int type; - HWND handle; - TkWindow *winPtr; -} TkWinWindow; - -typedef struct { - int type; - HBITMAP handle; - Colormap colormap; - int depth; -} TkWinBitmap; - -typedef struct { - int type; - HDC hdc; -}TkWinDC; - -typedef union { - int type; - TkWinWindow window; - TkWinBitmap bitmap; - TkWinDC winDC; -} TkWinDrawable; - -/* - * The following macros are used to retrieve internal values from a Drawable. - */ - -#define TkWinGetHWND(w) (((TkWinDrawable *) w)->window.handle) -#define TkWinGetWinPtr(w) (((TkWinDrawable*)w)->window.winPtr) -#define TkWinGetHBITMAP(w) (((TkWinDrawable*)w)->bitmap.handle) -#define TkWinGetColormap(w) (((TkWinDrawable*)w)->bitmap.colormap) -#define TkWinGetHDC(w) (((TkWinDrawable *) w)->winDC.hdc) - -/* - * The following structure is used to encapsulate palette information. - */ - -typedef struct { - HPALETTE palette; /* Palette handle used when drawing. */ - UINT size; /* Number of entries in the palette. */ - int stale; /* 1 if palette needs to be realized, - * otherwise 0. If the palette is stale, - * then an idle handler is scheduled to - * realize the palette. */ - Tcl_HashTable refCounts; /* Hash table of palette entry reference counts - * indexed by pixel value. */ -} TkWinColormap; - -/* - * The following macro retrieves the Win32 palette from a colormap. - */ - -#define TkWinGetPalette(colormap) (((TkWinColormap *) colormap)->palette) - -/* - * The following macros define the class names for Tk Window types. - */ - -#define TK_WIN_TOPLEVEL_CLASS_NAME "TkTopLevel" -#define TK_WIN_CHILD_CLASS_NAME "TkChild" - -/* - * The following variable indicates whether we are restricted to Win32s - * GDI calls. - */ - -extern int tkpIsWin32s; - -/* - * The following variable is a translation table between X gc functions and - * Win32 raster op modes. - */ - -extern int tkpWinRopModes[]; - -/* - * The following defines are used with TkWinGetBorderPixels to get the - * extra 2 border colors from a Tk_3DBorder. - */ - -#define TK_3D_LIGHT2 TK_3D_DARK_GC+1 -#define TK_3D_DARK2 TK_3D_DARK_GC+2 - -/* - * Internal procedures used by more than one source file. - */ - -#include "tkIntPlatDecls.h" - -extern LRESULT CALLBACK TkWinChildProc _ANSI_ARGS_((HWND hwnd, UINT message, - WPARAM wParam, LPARAM lParam)); - -#endif /* _TKWININT */ - diff --git a/src/other/togl/include/tcltk/tk8.2/tkWinPort.h b/src/other/togl/include/tcltk/tk8.2/tkWinPort.h deleted file mode 100644 index 5ed66d8a93d..00000000000 --- a/src/other/togl/include/tcltk/tk8.2/tkWinPort.h +++ /dev/null @@ -1,127 +0,0 @@ -/* - * tkWinPort.h -- - * - * This header file handles porting issues that occur because of - * differences between Windows and Unix. It should be the only - * file that contains #ifdefs to handle different flavors of OS. - * - * Copyright (c) 1995-1996 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _WINPORT -#define _WINPORT - -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Need to block out this include for building extensions with MetroWerks - * compiler for Win32. - */ - -#ifndef __MWERKS__ -#include -#endif - -#include -#include - -#ifdef _MSC_VER -# define hypot _hypot -#endif /* _MSC_VER */ - -#define strncasecmp strnicmp -#define strcasecmp stricmp - -#define NBBY 8 - -#define OPEN_MAX 32 - -/* - * The following define causes Tk to use its internal keysym hash table - */ - -#define REDO_KEYSYM_LOOKUP - -/* - * The following macro checks to see whether there is buffered - * input data available for a stdio FILE. - */ - -#ifdef _MSC_VER -# define TK_READ_DATA_PENDING(f) ((f)->_cnt > 0) -#else /* _MSC_VER */ -# define TK_READ_DATA_PENDING(f) ((f)->level > 0) -#endif /* _MSC_VER */ - -/* - * The following stubs implement various calls that don't do anything - * under Windows. - */ - -#define TkFreeWindowId(dispPtr,w) -#define TkInitXId(dispPtr) -#define TkpCmapStressed(tkwin,colormap) (0) -#define XFlush(display) -#define XGrabServer(display) -#define XUngrabServer(display) -#define TkpSync(display) - -/* - * The following functions are implemented as macros under Windows. - */ - -#define XFree(data) {if ((data) != NULL) ckfree((char *) (data));} -#define XNoOp(display) {display->request++;} -#define XSynchronize(display, bool) {display->request++;} -#define XSync(display, bool) {display->request++;} -#define XVisualIDFromVisual(visual) (visual->visualid) - -/* - * The following Tk functions are implemented as macros under Windows. - */ - -#define TkpGetPixel(p) (((((p)->red >> 8) & 0xff) \ - | ((p)->green & 0xff00) | (((p)->blue << 8) & 0xff0000)) | 0x20000000) - -/* - * These calls implement native bitmaps which are not currently - * supported under Windows. The macros eliminate the calls. - */ - -#define TkpDefineNativeBitmaps() -#define TkpCreateNativeBitmap(display, source) None -#define TkpGetNativeAppBitmap(display, name, w, h) None - -/* - * Define timezone for gettimeofday. - */ - -struct timezone { - int tz_minuteswest; - int tz_dsttime; -}; - -#ifndef _TCLINT -#include -#endif - -#endif /* _WINPORT */ diff --git a/src/other/togl/include/tcltk/tk8.3/default.h b/src/other/togl/include/tcltk/tk8.3/default.h deleted file mode 100644 index 379e8621d04..00000000000 --- a/src/other/togl/include/tcltk/tk8.3/default.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * default.h -- - * - * This file defines the defaults for all options for all of - * the Tk widgets. - * - * Copyright (c) 1991-1994 The Regents of the University of California. - * Copyright (c) 1994 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _DEFAULT -#define _DEFAULT - -#if defined(__WIN32__) || defined(_WIN32) -# include "tkWinDefault.h" -#else -# if defined(MAC_TCL) -# include "tkMacDefault.h" -# else -# include "tkUnixDefault.h" -# endif -#endif - -#endif /* _DEFAULT */ diff --git a/src/other/togl/include/tcltk/tk8.3/tclInt.h b/src/other/togl/include/tcltk/tk8.3/tclInt.h deleted file mode 100644 index 41afffa0a8e..00000000000 --- a/src/other/togl/include/tcltk/tk8.3/tclInt.h +++ /dev/null @@ -1,2188 +0,0 @@ -/* - * tclInt.h -- - * - * Declarations of things used internally by the Tcl interpreter. - * - * Copyright (c) 1987-1993 The Regents of the University of California. - * Copyright (c) 1993-1997 Lucent Technologies. - * Copyright (c) 1994-1998 Sun Microsystems, Inc. - * Copyright (c) 1998-1999 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TCLINT -#define _TCLINT - -/* - * Common include files needed by most of the Tcl source files are - * included here, so that system-dependent personalizations for the - * include files only have to be made in once place. This results - * in a few extra includes, but greater modularity. The order of - * the three groups of #includes is important. For example, stdio.h - * is needed by tcl.h, and the _ANSI_ARGS_ declaration in tcl.h is - * needed by stdlib.h in some configurations. - */ - -#include - -#ifndef _TCL -#include "tcl.h" -#endif - -#include -#ifdef NO_LIMITS_H -# include "../compat/limits.h" -#else -# include -#endif -#ifdef NO_STDLIB_H -# include "../compat/stdlib.h" -#else -# include -#endif -#ifdef NO_STRING_H -#include "../compat/string.h" -#else -#include -#endif - -#undef TCL_STORAGE_CLASS -#ifdef BUILD_tcl -# define TCL_STORAGE_CLASS DLLEXPORT -#else -# ifdef USE_TCL_STUBS -# define TCL_STORAGE_CLASS -# else -# define TCL_STORAGE_CLASS DLLIMPORT -# endif -#endif - -/* - * The following procedures allow namespaces to be customized to - * support special name resolution rules for commands/variables. - * - */ - -struct Tcl_ResolvedVarInfo; - -typedef Tcl_Var (Tcl_ResolveRuntimeVarProc) _ANSI_ARGS_(( - Tcl_Interp* interp, struct Tcl_ResolvedVarInfo *vinfoPtr)); - -typedef void (Tcl_ResolveVarDeleteProc) _ANSI_ARGS_(( - struct Tcl_ResolvedVarInfo *vinfoPtr)); - -/* - * The following structure encapsulates the routines needed to resolve a - * variable reference at runtime. Any variable specific state will typically - * be appended to this structure. - */ - - -typedef struct Tcl_ResolvedVarInfo { - Tcl_ResolveRuntimeVarProc *fetchProc; - Tcl_ResolveVarDeleteProc *deleteProc; -} Tcl_ResolvedVarInfo; - - - -typedef int (Tcl_ResolveCompiledVarProc) _ANSI_ARGS_(( - Tcl_Interp* interp, char* name, int length, - Tcl_Namespace *context, Tcl_ResolvedVarInfo **rPtr)); - -typedef int (Tcl_ResolveVarProc) _ANSI_ARGS_(( - Tcl_Interp* interp, char* name, Tcl_Namespace *context, - int flags, Tcl_Var *rPtr)); - -typedef int (Tcl_ResolveCmdProc) _ANSI_ARGS_((Tcl_Interp* interp, - char* name, Tcl_Namespace *context, int flags, - Tcl_Command *rPtr)); - -typedef struct Tcl_ResolverInfo { - Tcl_ResolveCmdProc *cmdResProc; /* Procedure handling command name - * resolution. */ - Tcl_ResolveVarProc *varResProc; /* Procedure handling variable name - * resolution for variables that - * can only be handled at runtime. */ - Tcl_ResolveCompiledVarProc *compiledVarResProc; - /* Procedure handling variable name - * resolution at compile time. */ -} Tcl_ResolverInfo; - -/* - *---------------------------------------------------------------- - * Data structures related to namespaces. - *---------------------------------------------------------------- - */ - -/* - * The structure below defines a namespace. - * Note: the first five fields must match exactly the fields in a - * Tcl_Namespace structure (see tcl.h). If you change one, be sure to - * change the other. - */ - -typedef struct Namespace { - char *name; /* The namespace's simple (unqualified) - * name. This contains no ::'s. The name of - * the global namespace is "" although "::" - * is an synonym. */ - char *fullName; /* The namespace's fully qualified name. - * This starts with ::. */ - ClientData clientData; /* An arbitrary value associated with this - * namespace. */ - Tcl_NamespaceDeleteProc *deleteProc; - /* Procedure invoked when deleting the - * namespace to, e.g., free clientData. */ - struct Namespace *parentPtr; /* Points to the namespace that contains - * this one. NULL if this is the global - * namespace. */ - Tcl_HashTable childTable; /* Contains any child namespaces. Indexed - * by strings; values have type - * (Namespace *). */ - long nsId; /* Unique id for the namespace. */ - Tcl_Interp *interp; /* The interpreter containing this - * namespace. */ - int flags; /* OR-ed combination of the namespace - * status flags NS_DYING and NS_DEAD - * listed below. */ - int activationCount; /* Number of "activations" or active call - * frames for this namespace that are on - * the Tcl call stack. The namespace won't - * be freed until activationCount becomes - * zero. */ - int refCount; /* Count of references by namespaceName * - * objects. The namespace can't be freed - * until refCount becomes zero. */ - Tcl_HashTable cmdTable; /* Contains all the commands currently - * registered in the namespace. Indexed by - * strings; values have type (Command *). - * Commands imported by Tcl_Import have - * Command structures that point (via an - * ImportedCmdRef structure) to the - * Command structure in the source - * namespace's command table. */ - Tcl_HashTable varTable; /* Contains all the (global) variables - * currently in this namespace. Indexed - * by strings; values have type (Var *). */ - char **exportArrayPtr; /* Points to an array of string patterns - * specifying which commands are exported. - * A pattern may include "string match" - * style wildcard characters to specify - * multiple commands; however, no namespace - * qualifiers are allowed. NULL if no - * export patterns are registered. */ - int numExportPatterns; /* Number of export patterns currently - * registered using "namespace export". */ - int maxExportPatterns; /* Mumber of export patterns for which - * space is currently allocated. */ - int cmdRefEpoch; /* Incremented if a newly added command - * shadows a command for which this - * namespace has already cached a Command * - * pointer; this causes all its cached - * Command* pointers to be invalidated. */ - int resolverEpoch; /* Incremented whenever the name resolution - * rules change for this namespace; this - * invalidates all byte codes compiled in - * the namespace, causing the code to be - * recompiled under the new rules. */ - Tcl_ResolveCmdProc *cmdResProc; - /* If non-null, this procedure overrides - * the usual command resolution mechanism - * in Tcl. This procedure is invoked - * within Tcl_FindCommand to resolve all - * command references within the namespace. */ - Tcl_ResolveVarProc *varResProc; - /* If non-null, this procedure overrides - * the usual variable resolution mechanism - * in Tcl. This procedure is invoked - * within Tcl_FindNamespaceVar to resolve all - * variable references within the namespace - * at runtime. */ - Tcl_ResolveCompiledVarProc *compiledVarResProc; - /* If non-null, this procedure overrides - * the usual variable resolution mechanism - * in Tcl. This procedure is invoked - * within LookupCompiledLocal to resolve - * variable references within the namespace - * at compile time. */ -} Namespace; - -/* - * Flags used to represent the status of a namespace: - * - * NS_DYING - 1 means Tcl_DeleteNamespace has been called to delete the - * namespace but there are still active call frames on the Tcl - * stack that refer to the namespace. When the last call frame - * referring to it has been popped, it's variables and command - * will be destroyed and it will be marked "dead" (NS_DEAD). - * The namespace can no longer be looked up by name. - * NS_DEAD - 1 means Tcl_DeleteNamespace has been called to delete the - * namespace and no call frames still refer to it. Its - * variables and command have already been destroyed. This bit - * allows the namespace resolution code to recognize that the - * namespace is "deleted". When the last namespaceName object - * in any byte code code unit that refers to the namespace has - * been freed (i.e., when the namespace's refCount is 0), the - * namespace's storage will be freed. - */ - -#define NS_DYING 0x01 -#define NS_DEAD 0x02 - -/* - * Flag passed to TclGetNamespaceForQualName to have it create all namespace - * components of a namespace-qualified name that cannot be found. The new - * namespaces are created within their specified parent. Note that this - * flag's value must not conflict with the values of the flags - * TCL_GLOBAL_ONLY, TCL_NAMESPACE_ONLY, and FIND_ONLY_NS (defined in - * tclNamesp.c). - */ - -#define CREATE_NS_IF_UNKNOWN 0x800 - -/* - *---------------------------------------------------------------- - * Data structures related to variables. These are used primarily - * in tclVar.c - *---------------------------------------------------------------- - */ - -/* - * The following structure defines a variable trace, which is used to - * invoke a specific C procedure whenever certain operations are performed - * on a variable. - */ - -typedef struct VarTrace { - Tcl_VarTraceProc *traceProc;/* Procedure to call when operations given - * by flags are performed on variable. */ - ClientData clientData; /* Argument to pass to proc. */ - int flags; /* What events the trace procedure is - * interested in: OR-ed combination of - * TCL_TRACE_READS, TCL_TRACE_WRITES, - * TCL_TRACE_UNSETS and TCL_TRACE_ARRAY. */ - struct VarTrace *nextPtr; /* Next in list of traces associated with - * a particular variable. */ -} VarTrace; - -/* - * When a variable trace is active (i.e. its associated procedure is - * executing), one of the following structures is linked into a list - * associated with the variable's interpreter. The information in - * the structure is needed in order for Tcl to behave reasonably - * if traces are deleted while traces are active. - */ - -typedef struct ActiveVarTrace { - struct Var *varPtr; /* Variable that's being traced. */ - struct ActiveVarTrace *nextPtr; - /* Next in list of all active variable - * traces for the interpreter, or NULL - * if no more. */ - VarTrace *nextTracePtr; /* Next trace to check after current - * trace procedure returns; if this - * trace gets deleted, must update pointer - * to avoid using free'd memory. */ -} ActiveVarTrace; - -/* - * The following structure describes an enumerative search in progress on - * an array variable; this are invoked with options to the "array" - * command. - */ - -typedef struct ArraySearch { - int id; /* Integer id used to distinguish among - * multiple concurrent searches for the - * same array. */ - struct Var *varPtr; /* Pointer to array variable that's being - * searched. */ - Tcl_HashSearch search; /* Info kept by the hash module about - * progress through the array. */ - Tcl_HashEntry *nextEntry; /* Non-null means this is the next element - * to be enumerated (it's leftover from - * the Tcl_FirstHashEntry call or from - * an "array anymore" command). NULL - * means must call Tcl_NextHashEntry - * to get value to return. */ - struct ArraySearch *nextPtr;/* Next in list of all active searches - * for this variable, or NULL if this is - * the last one. */ -} ArraySearch; - -/* - * The structure below defines a variable, which associates a string name - * with a Tcl_Obj value. These structures are kept in procedure call frames - * (for local variables recognized by the compiler) or in the heap (for - * global variables and any variable not known to the compiler). For each - * Var structure in the heap, a hash table entry holds the variable name and - * a pointer to the Var structure. - */ - -typedef struct Var { - union { - Tcl_Obj *objPtr; /* The variable's object value. Used for - * scalar variables and array elements. */ - Tcl_HashTable *tablePtr;/* For array variables, this points to - * information about the hash table used - * to implement the associative array. - * Points to malloc-ed data. */ - struct Var *linkPtr; /* If this is a global variable being - * referred to in a procedure, or a variable - * created by "upvar", this field points to - * the referenced variable's Var struct. */ - } value; - char *name; /* NULL if the variable is in a hashtable, - * otherwise points to the variable's - * name. It is used, e.g., by TclLookupVar - * and "info locals". The storage for the - * characters of the name is not owned by - * the Var and must not be freed when - * freeing the Var. */ - Namespace *nsPtr; /* Points to the namespace that contains - * this variable or NULL if the variable is - * a local variable in a Tcl procedure. */ - Tcl_HashEntry *hPtr; /* If variable is in a hashtable, either the - * hash table entry that refers to this - * variable or NULL if the variable has been - * detached from its hash table (e.g. an - * array is deleted, but some of its - * elements are still referred to in - * upvars). NULL if the variable is not in a - * hashtable. This is used to delete an - * variable from its hashtable if it is no - * longer needed. */ - int refCount; /* Counts number of active uses of this - * variable, not including its entry in the - * call frame or the hash table: 1 for each - * additional variable whose linkPtr points - * here, 1 for each nested trace active on - * variable, and 1 if the variable is a - * namespace variable. This record can't be - * deleted until refCount becomes 0. */ - VarTrace *tracePtr; /* First in list of all traces set for this - * variable. */ - ArraySearch *searchPtr; /* First in list of all searches active - * for this variable, or NULL if none. */ - int flags; /* Miscellaneous bits of information about - * variable. See below for definitions. */ -} Var; - -/* - * Flag bits for variables. The first three (VAR_SCALAR, VAR_ARRAY, and - * VAR_LINK) are mutually exclusive and give the "type" of the variable. - * VAR_UNDEFINED is independent of the variable's type. - * - * VAR_SCALAR - 1 means this is a scalar variable and not - * an array or link. The "objPtr" field points - * to the variable's value, a Tcl object. - * VAR_ARRAY - 1 means this is an array variable rather - * than a scalar variable or link. The - * "tablePtr" field points to the array's - * hashtable for its elements. - * VAR_LINK - 1 means this Var structure contains a - * pointer to another Var structure that - * either has the real value or is itself - * another VAR_LINK pointer. Variables like - * this come about through "upvar" and "global" - * commands, or through references to variables - * in enclosing namespaces. - * VAR_UNDEFINED - 1 means that the variable is in the process - * of being deleted. An undefined variable - * logically does not exist and survives only - * while it has a trace, or if it is a global - * variable currently being used by some - * procedure. - * VAR_IN_HASHTABLE - 1 means this variable is in a hashtable and - * the Var structure is malloced. 0 if it is - * a local variable that was assigned a slot - * in a procedure frame by the compiler so the - * Var storage is part of the call frame. - * VAR_TRACE_ACTIVE - 1 means that trace processing is currently - * underway for a read or write access, so - * new read or write accesses should not cause - * trace procedures to be called and the - * variable can't be deleted. - * VAR_ARRAY_ELEMENT - 1 means that this variable is an array - * element, so it is not legal for it to be - * an array itself (the VAR_ARRAY flag had - * better not be set). - * VAR_NAMESPACE_VAR - 1 means that this variable was declared - * as a namespace variable. This flag ensures - * it persists until its namespace is - * destroyed or until the variable is unset; - * it will persist even if it has not been - * initialized and is marked undefined. - * The variable's refCount is incremented to - * reflect the "reference" from its namespace. - * - * The following additional flags are used with the CompiledLocal type - * defined below: - * - * VAR_ARGUMENT - 1 means that this variable holds a procedure - * argument. - * VAR_TEMPORARY - 1 if the local variable is an anonymous - * temporary variable. Temporaries have a NULL - * name. - * VAR_RESOLVED - 1 if name resolution has been done for this - * variable. - */ - -#define VAR_SCALAR 0x1 -#define VAR_ARRAY 0x2 -#define VAR_LINK 0x4 -#define VAR_UNDEFINED 0x8 -#define VAR_IN_HASHTABLE 0x10 -#define VAR_TRACE_ACTIVE 0x20 -#define VAR_ARRAY_ELEMENT 0x40 -#define VAR_NAMESPACE_VAR 0x80 - -#define VAR_ARGUMENT 0x100 -#define VAR_TEMPORARY 0x200 -#define VAR_RESOLVED 0x400 - -/* - * Macros to ensure that various flag bits are set properly for variables. - * The ANSI C "prototypes" for these macros are: - * - * EXTERN void TclSetVarScalar _ANSI_ARGS_((Var *varPtr)); - * EXTERN void TclSetVarArray _ANSI_ARGS_((Var *varPtr)); - * EXTERN void TclSetVarLink _ANSI_ARGS_((Var *varPtr)); - * EXTERN void TclSetVarArrayElement _ANSI_ARGS_((Var *varPtr)); - * EXTERN void TclSetVarUndefined _ANSI_ARGS_((Var *varPtr)); - * EXTERN void TclClearVarUndefined _ANSI_ARGS_((Var *varPtr)); - */ - -#define TclSetVarScalar(varPtr) \ - (varPtr)->flags = ((varPtr)->flags & ~(VAR_ARRAY|VAR_LINK)) | VAR_SCALAR - -#define TclSetVarArray(varPtr) \ - (varPtr)->flags = ((varPtr)->flags & ~(VAR_SCALAR|VAR_LINK)) | VAR_ARRAY - -#define TclSetVarLink(varPtr) \ - (varPtr)->flags = ((varPtr)->flags & ~(VAR_SCALAR|VAR_ARRAY)) | VAR_LINK - -#define TclSetVarArrayElement(varPtr) \ - (varPtr)->flags = ((varPtr)->flags & ~VAR_ARRAY) | VAR_ARRAY_ELEMENT - -#define TclSetVarUndefined(varPtr) \ - (varPtr)->flags |= VAR_UNDEFINED - -#define TclClearVarUndefined(varPtr) \ - (varPtr)->flags &= ~VAR_UNDEFINED - -/* - * Macros to read various flag bits of variables. - * The ANSI C "prototypes" for these macros are: - * - * EXTERN int TclIsVarScalar _ANSI_ARGS_((Var *varPtr)); - * EXTERN int TclIsVarLink _ANSI_ARGS_((Var *varPtr)); - * EXTERN int TclIsVarArray _ANSI_ARGS_((Var *varPtr)); - * EXTERN int TclIsVarUndefined _ANSI_ARGS_((Var *varPtr)); - * EXTERN int TclIsVarArrayElement _ANSI_ARGS_((Var *varPtr)); - * EXTERN int TclIsVarTemporary _ANSI_ARGS_((Var *varPtr)); - * EXTERN int TclIsVarArgument _ANSI_ARGS_((Var *varPtr)); - * EXTERN int TclIsVarResolved _ANSI_ARGS_((Var *varPtr)); - */ - -#define TclIsVarScalar(varPtr) \ - ((varPtr)->flags & VAR_SCALAR) - -#define TclIsVarLink(varPtr) \ - ((varPtr)->flags & VAR_LINK) - -#define TclIsVarArray(varPtr) \ - ((varPtr)->flags & VAR_ARRAY) - -#define TclIsVarUndefined(varPtr) \ - ((varPtr)->flags & VAR_UNDEFINED) - -#define TclIsVarArrayElement(varPtr) \ - ((varPtr)->flags & VAR_ARRAY_ELEMENT) - -#define TclIsVarTemporary(varPtr) \ - ((varPtr)->flags & VAR_TEMPORARY) - -#define TclIsVarArgument(varPtr) \ - ((varPtr)->flags & VAR_ARGUMENT) - -#define TclIsVarResolved(varPtr) \ - ((varPtr)->flags & VAR_RESOLVED) - -/* - *---------------------------------------------------------------- - * Data structures related to procedures. These are used primarily - * in tclProc.c, tclCompile.c, and tclExecute.c. - *---------------------------------------------------------------- - */ - -/* - * Forward declaration to prevent an error when the forward reference to - * Command is encountered in the Proc and ImportRef types declared below. - */ - -struct Command; - -/* - * The variable-length structure below describes a local variable of a - * procedure that was recognized by the compiler. These variables have a - * name, an element in the array of compiler-assigned local variables in the - * procedure's call frame, and various other items of information. If the - * local variable is a formal argument, it may also have a default value. - * The compiler can't recognize local variables whose names are - * expressions (these names are only known at runtime when the expressions - * are evaluated) or local variables that are created as a result of an - * "upvar" or "uplevel" command. These other local variables are kept - * separately in a hash table in the call frame. - */ - -typedef struct CompiledLocal { - struct CompiledLocal *nextPtr; - /* Next compiler-recognized local variable - * for this procedure, or NULL if this is - * the last local. */ - int nameLength; /* The number of characters in local - * variable's name. Used to speed up - * variable lookups. */ - int frameIndex; /* Index in the array of compiler-assigned - * variables in the procedure call frame. */ - int flags; /* Flag bits for the local variable. Same as - * the flags for the Var structure above, - * although only VAR_SCALAR, VAR_ARRAY, - * VAR_LINK, VAR_ARGUMENT, VAR_TEMPORARY, and - * VAR_RESOLVED make sense. */ - Tcl_Obj *defValuePtr; /* Pointer to the default value of an - * argument, if any. NULL if not an argument - * or, if an argument, no default value. */ - Tcl_ResolvedVarInfo *resolveInfo; - /* Customized variable resolution info - * supplied by the Tcl_ResolveCompiledVarProc - * associated with a namespace. Each variable - * is marked by a unique ClientData tag - * during compilation, and that same tag - * is used to find the variable at runtime. */ - char name[4]; /* Name of the local variable starts here. - * If the name is NULL, this will just be - * '\0'. The actual size of this field will - * be large enough to hold the name. MUST - * BE THE LAST FIELD IN THE STRUCTURE! */ -} CompiledLocal; - -/* - * The structure below defines a command procedure, which consists of a - * collection of Tcl commands plus information about arguments and other - * local variables recognized at compile time. - */ - -typedef struct Proc { - struct Interp *iPtr; /* Interpreter for which this command - * is defined. */ - int refCount; /* Reference count: 1 if still present - * in command table plus 1 for each call - * to the procedure that is currently - * active. This structure can be freed - * when refCount becomes zero. */ - struct Command *cmdPtr; /* Points to the Command structure for - * this procedure. This is used to get - * the namespace in which to execute - * the procedure. */ - Tcl_Obj *bodyPtr; /* Points to the ByteCode object for - * procedure's body command. */ - int numArgs; /* Number of formal parameters. */ - int numCompiledLocals; /* Count of local variables recognized by - * the compiler including arguments and - * temporaries. */ - CompiledLocal *firstLocalPtr; /* Pointer to first of the procedure's - * compiler-allocated local variables, or - * NULL if none. The first numArgs entries - * in this list describe the procedure's - * formal arguments. */ - CompiledLocal *lastLocalPtr; /* Pointer to the last allocated local - * variable or NULL if none. This has - * frame index (numCompiledLocals-1). */ -} Proc; - -/* - * The structure below defines a command trace. This is used to allow Tcl - * clients to find out whenever a command is about to be executed. - */ - -typedef struct Trace { - int level; /* Only trace commands at nesting level - * less than or equal to this. */ - Tcl_CmdTraceProc *proc; /* Procedure to call to trace command. */ - ClientData clientData; /* Arbitrary value to pass to proc. */ - struct Trace *nextPtr; /* Next in list of traces for this interp. */ -} Trace; - -/* - * The structure below defines an entry in the assocData hash table which - * is associated with an interpreter. The entry contains a pointer to a - * function to call when the interpreter is deleted, and a pointer to - * a user-defined piece of data. - */ - -typedef struct AssocData { - Tcl_InterpDeleteProc *proc; /* Proc to call when deleting. */ - ClientData clientData; /* Value to pass to proc. */ -} AssocData; - -/* - * The structure below defines a call frame. A call frame defines a naming - * context for a procedure call: its local naming scope (for local - * variables) and its global naming scope (a namespace, perhaps the global - * :: namespace). A call frame can also define the naming context for a - * namespace eval or namespace inscope command: the namespace in which the - * command's code should execute. The Tcl_CallFrame structures exist only - * while procedures or namespace eval/inscope's are being executed, and - * provide a kind of Tcl call stack. - * - * WARNING!! The structure definition must be kept consistent with the - * Tcl_CallFrame structure in tcl.h. If you change one, change the other. - */ - -typedef struct CallFrame { - Namespace *nsPtr; /* Points to the namespace used to resolve - * commands and global variables. */ - int isProcCallFrame; /* If nonzero, the frame was pushed to - * execute a Tcl procedure and may have - * local vars. If 0, the frame was pushed - * to execute a namespace command and var - * references are treated as references to - * namespace vars; varTablePtr and - * compiledLocals are ignored. */ - int objc; /* This and objv below describe the - * arguments for this procedure call. */ - Tcl_Obj *CONST *objv; /* Array of argument objects. */ - struct CallFrame *callerPtr; - /* Value of interp->framePtr when this - * procedure was invoked (i.e. next higher - * in stack of all active procedures). */ - struct CallFrame *callerVarPtr; - /* Value of interp->varFramePtr when this - * procedure was invoked (i.e. determines - * variable scoping within caller). Same - * as callerPtr unless an "uplevel" command - * or something equivalent was active in - * the caller). */ - int level; /* Level of this procedure, for "uplevel" - * purposes (i.e. corresponds to nesting of - * callerVarPtr's, not callerPtr's). 1 for - * outermost procedure, 0 for top-level. */ - Proc *procPtr; /* Points to the structure defining the - * called procedure. Used to get information - * such as the number of compiled local - * variables (local variables assigned - * entries ["slots"] in the compiledLocals - * array below). */ - Tcl_HashTable *varTablePtr; /* Hash table containing local variables not - * recognized by the compiler, or created at - * execution time through, e.g., upvar. - * Initially NULL and created if needed. */ - int numCompiledLocals; /* Count of local variables recognized by - * the compiler including arguments. */ - Var* compiledLocals; /* Points to the array of local variables - * recognized by the compiler. The compiler - * emits code that refers to these variables - * using an index into this array. */ -} CallFrame; - -/* - *---------------------------------------------------------------- - * Data structures and procedures related to TclHandles, which - * are a very lightweight method of preserving enough information - * to determine if an arbitrary malloc'd block has been deleted. - *---------------------------------------------------------------- - */ - -typedef VOID **TclHandle; - -EXTERN TclHandle TclHandleCreate _ANSI_ARGS_((VOID *ptr)); -EXTERN void TclHandleFree _ANSI_ARGS_((TclHandle handle)); -EXTERN TclHandle TclHandlePreserve _ANSI_ARGS_((TclHandle handle)); -EXTERN void TclHandleRelease _ANSI_ARGS_((TclHandle handle)); - -/* - *---------------------------------------------------------------- - * Data structures related to history. These are used primarily - * in tclHistory.c - *---------------------------------------------------------------- - */ - -/* - * The structure below defines one history event (a previously-executed - * command that can be re-executed in whole or in part). - */ - -typedef struct { - char *command; /* String containing previously-executed - * command. */ - int bytesAvl; /* Total # of bytes available at *event (not - * all are necessarily in use now). */ -} HistoryEvent; - -/* - * The structure below defines a pending revision to the most recent - * history event. Changes are linked together into a list and applied - * during the next call to Tcl_RecordHistory. See the comments at the - * beginning of tclHistory.c for information on revisions. - */ - -typedef struct HistoryRev { - int firstIndex; /* Index of the first byte to replace in - * current history event. */ - int lastIndex; /* Index of last byte to replace in - * current history event. */ - int newSize; /* Number of bytes in newBytes. */ - char *newBytes; /* Replacement for the range given by - * firstIndex and lastIndex (malloced). */ - struct HistoryRev *nextPtr; /* Next in chain of revisions to apply, or - * NULL for end of list. */ -} HistoryRev; - -/* - *---------------------------------------------------------------- - * Data structures related to expressions. These are used only in - * tclExpr.c. - *---------------------------------------------------------------- - */ - -/* - * The data structure below defines a math function (e.g. sin or hypot) - * for use in Tcl expressions. - */ - -#define MAX_MATH_ARGS 5 -typedef struct MathFunc { - int builtinFuncIndex; /* If this is a builtin math function, its - * index in the array of builtin functions. - * (tclCompilation.h lists these indices.) - * The value is -1 if this is a new function - * defined by Tcl_CreateMathFunc. The value - * is also -1 if a builtin function is - * replaced by a Tcl_CreateMathFunc call. */ - int numArgs; /* Number of arguments for function. */ - Tcl_ValueType argTypes[MAX_MATH_ARGS]; - /* Acceptable types for each argument. */ - Tcl_MathProc *proc; /* Procedure that implements this function. - * NULL if isBuiltinFunc is 1. */ - ClientData clientData; /* Additional argument to pass to the - * function when invoking it. NULL if - * isBuiltinFunc is 1. */ -} MathFunc; - -/* - * These are a thin layer over TclpThreadKeyDataGet and TclpThreadKeyDataSet - * when threads are used, or an emulation if there are no threads. These - * are really internal and Tcl clients should use Tcl_GetThreadData. - */ - -EXTERN VOID *TclThreadDataKeyGet _ANSI_ARGS_((Tcl_ThreadDataKey *keyPtr)); -EXTERN void TclThreadDataKeySet _ANSI_ARGS_((Tcl_ThreadDataKey *keyPtr, VOID *data)); - -/* - * This is a convenience macro used to initialize a thread local storage ptr. - */ -#define TCL_TSD_INIT(keyPtr) (ThreadSpecificData *)Tcl_GetThreadData((keyPtr), sizeof(ThreadSpecificData)) - - -/* - *---------------------------------------------------------------- - * Data structures related to bytecode compilation and execution. - * These are used primarily in tclCompile.c, tclExecute.c, and - * tclBasic.c. - *---------------------------------------------------------------- - */ - -/* - * Forward declaration to prevent errors when the forward references to - * Tcl_Parse and CompileEnv are encountered in the procedure type - * CompileProc declared below. - */ - -struct CompileEnv; - -/* - * The type of procedures called by the Tcl bytecode compiler to compile - * commands. Pointers to these procedures are kept in the Command structure - * describing each command. When a CompileProc returns, the interpreter's - * result is set to error information, if any. In addition, the CompileProc - * returns an integer value, which is one of the following: - * - * TCL_OK Compilation completed normally. - * TCL_ERROR Compilation failed because of an error; - * the interpreter's result describes what went wrong. - * TCL_OUT_LINE_COMPILE Compilation failed because, e.g., the command is - * too complex for effective inline compilation. The - * CompileProc believes the command is legal but - * should be compiled "out of line" by emitting code - * to invoke its command procedure at runtime. - */ - -#define TCL_OUT_LINE_COMPILE (TCL_CONTINUE + 1) - -typedef int (CompileProc) _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *compEnvPtr)); - -/* - * The type of procedure called from the compilation hook point in - * SetByteCodeFromAny. - */ - -typedef int (CompileHookProc) _ANSI_ARGS_((Tcl_Interp *interp, - struct CompileEnv *compEnvPtr, ClientData clientData)); - -/* - * The data structure defining the execution environment for ByteCode's. - * There is one ExecEnv structure per Tcl interpreter. It holds the - * evaluation stack that holds command operands and results. The stack grows - * towards increasing addresses. The "stackTop" member is cached by - * TclExecuteByteCode in a local variable: it must be set before calling - * TclExecuteByteCode and will be restored by TclExecuteByteCode before it - * returns. - */ - -typedef struct ExecEnv { - Tcl_Obj **stackPtr; /* Points to the first item in the - * evaluation stack on the heap. */ - int stackTop; /* Index of current top of stack; -1 when - * the stack is empty. */ - int stackEnd; /* Index of last usable item in stack. */ -} ExecEnv; - -/* - * The definitions for the LiteralTable and LiteralEntry structures. Each - * interpreter contains a LiteralTable. It is used to reduce the storage - * needed for all the Tcl objects that hold the literals of scripts compiled - * by the interpreter. A literal's object is shared by all the ByteCodes - * that refer to the literal. Each distinct literal has one LiteralEntry - * entry in the LiteralTable. A literal table is a specialized hash table - * that is indexed by the literal's string representation, which may contain - * null characters. - * - * Note that we reduce the space needed for literals by sharing literal - * objects both within a ByteCode (each ByteCode contains a local - * LiteralTable) and across all an interpreter's ByteCodes (with the - * interpreter's global LiteralTable). - */ - -typedef struct LiteralEntry { - struct LiteralEntry *nextPtr; /* Points to next entry in this - * hash bucket or NULL if end of - * chain. */ - Tcl_Obj *objPtr; /* Points to Tcl object that - * holds the literal's bytes and - * length. */ - int refCount; /* If in an interpreter's global - * literal table, the number of - * ByteCode structures that share - * the literal object; the literal - * entry can be freed when refCount - * drops to 0. If in a local literal - * table, -1. */ -} LiteralEntry; - -typedef struct LiteralTable { - LiteralEntry **buckets; /* Pointer to bucket array. Each - * element points to first entry in - * bucket's hash chain, or NULL. */ - LiteralEntry *staticBuckets[TCL_SMALL_HASH_TABLE]; - /* Bucket array used for small - * tables to avoid mallocs and - * frees. */ - int numBuckets; /* Total number of buckets allocated - * at **buckets. */ - int numEntries; /* Total number of entries present - * in table. */ - int rebuildSize; /* Enlarge table when numEntries - * gets to be this large. */ - int mask; /* Mask value used in hashing - * function. */ -} LiteralTable; - -/* - * The following structure defines for each Tcl interpreter various - * statistics-related information about the bytecode compiler and - * interpreter's operation in that interpreter. - */ - -#ifdef TCL_COMPILE_STATS -typedef struct ByteCodeStats { - long numExecutions; /* Number of ByteCodes executed. */ - long numCompilations; /* Number of ByteCodes created. */ - long numByteCodesFreed; /* Number of ByteCodes destroyed. */ - long instructionCount[256]; /* Number of times each instruction was - * executed. */ - - double totalSrcBytes; /* Total source bytes ever compiled. */ - double totalByteCodeBytes; /* Total bytes for all ByteCodes. */ - double currentSrcBytes; /* Src bytes for all current ByteCodes. */ - double currentByteCodeBytes; /* Code bytes in all current ByteCodes. */ - - long srcCount[32]; /* Source size distribution: # of srcs of - * size [2**(n-1)..2**n), n in [0..32). */ - long byteCodeCount[32]; /* ByteCode size distribution. */ - long lifetimeCount[32]; /* ByteCode lifetime distribution (ms). */ - - double currentInstBytes; /* Instruction bytes-current ByteCodes. */ - double currentLitBytes; /* Current literal bytes. */ - double currentExceptBytes; /* Current exception table bytes. */ - double currentAuxBytes; /* Current auxiliary information bytes. */ - double currentCmdMapBytes; /* Current src<->code map bytes. */ - - long numLiteralsCreated; /* Total literal objects ever compiled. */ - double totalLitStringBytes; /* Total string bytes in all literals. */ - double currentLitStringBytes; /* String bytes in current literals. */ - long literalCount[32]; /* Distribution of literal string sizes. */ -} ByteCodeStats; -#endif /* TCL_COMPILE_STATS */ - -/* - *---------------------------------------------------------------- - * Data structures related to commands. - *---------------------------------------------------------------- - */ - -/* - * An imported command is created in an namespace when it imports a "real" - * command from another namespace. An imported command has a Command - * structure that points (via its ClientData value) to the "real" Command - * structure in the source namespace's command table. The real command - * records all the imported commands that refer to it in a list of ImportRef - * structures so that they can be deleted when the real command is deleted. */ - -typedef struct ImportRef { - struct Command *importedCmdPtr; - /* Points to the imported command created in - * an importing namespace; this command - * redirects its invocations to the "real" - * command. */ - struct ImportRef *nextPtr; /* Next element on the linked list of - * imported commands that refer to the - * "real" command. The real command deletes - * these imported commands on this list when - * it is deleted. */ -} ImportRef; - -/* - * Data structure used as the ClientData of imported commands: commands - * created in an namespace when it imports a "real" command from another - * namespace. - */ - -typedef struct ImportedCmdData { - struct Command *realCmdPtr; /* "Real" command that this imported command - * refers to. */ - struct Command *selfPtr; /* Pointer to this imported command. Needed - * only when deleting it in order to remove - * it from the real command's linked list of - * imported commands that refer to it. */ -} ImportedCmdData; - -/* - * A Command structure exists for each command in a namespace. The - * Tcl_Command opaque type actually refers to these structures. - */ - -typedef struct Command { - Tcl_HashEntry *hPtr; /* Pointer to the hash table entry that - * refers to this command. The hash table is - * either a namespace's command table or an - * interpreter's hidden command table. This - * pointer is used to get a command's name - * from its Tcl_Command handle. NULL means - * that the hash table entry has been - * removed already (this can happen if - * deleteProc causes the command to be - * deleted or recreated). */ - Namespace *nsPtr; /* Points to the namespace containing this - * command. */ - int refCount; /* 1 if in command hashtable plus 1 for each - * reference from a CmdName Tcl object - * representing a command's name in a - * ByteCode instruction sequence. This - * structure can be freed when refCount - * becomes zero. */ - int cmdEpoch; /* Incremented to invalidate any references - * that point to this command when it is - * renamed, deleted, hidden, or exposed. */ - CompileProc *compileProc; /* Procedure called to compile command. NULL - * if no compile proc exists for command. */ - Tcl_ObjCmdProc *objProc; /* Object-based command procedure. */ - ClientData objClientData; /* Arbitrary value passed to object proc. */ - Tcl_CmdProc *proc; /* String-based command procedure. */ - ClientData clientData; /* Arbitrary value passed to string proc. */ - Tcl_CmdDeleteProc *deleteProc; - /* Procedure invoked when deleting command - * to, e.g., free all client data. */ - ClientData deleteData; /* Arbitrary value passed to deleteProc. */ - int deleted; /* Means that the command is in the process - * of being deleted (its deleteProc is - * currently executing). Other attempts to - * delete the command should be ignored. */ - ImportRef *importRefPtr; /* List of each imported Command created in - * another namespace when this command is - * imported. These imported commands - * redirect invocations back to this - * command. The list is used to remove all - * those imported commands when deleting - * this "real" command. */ -} Command; - -/* - *---------------------------------------------------------------- - * Data structures related to name resolution procedures. - *---------------------------------------------------------------- - */ - -/* - * The interpreter keeps a linked list of name resolution schemes. - * The scheme for a namespace is consulted first, followed by the - * list of schemes in an interpreter, followed by the default - * name resolution in Tcl. Schemes are added/removed from the - * interpreter's list by calling Tcl_AddInterpResolver and - * Tcl_RemoveInterpResolver. - */ - -typedef struct ResolverScheme { - char *name; /* Name identifying this scheme. */ - Tcl_ResolveCmdProc *cmdResProc; - /* Procedure handling command name - * resolution. */ - Tcl_ResolveVarProc *varResProc; - /* Procedure handling variable name - * resolution for variables that - * can only be handled at runtime. */ - Tcl_ResolveCompiledVarProc *compiledVarResProc; - /* Procedure handling variable name - * resolution at compile time. */ - - struct ResolverScheme *nextPtr; - /* Pointer to next record in linked list. */ -} ResolverScheme; - -/* - *---------------------------------------------------------------- - * This structure defines an interpreter, which is a collection of - * commands plus other state information related to interpreting - * commands, such as variable storage. Primary responsibility for - * this data structure is in tclBasic.c, but almost every Tcl - * source file uses something in here. - *---------------------------------------------------------------- - */ - -typedef struct Interp { - - /* - * Note: the first three fields must match exactly the fields in - * a Tcl_Interp struct (see tcl.h). If you change one, be sure to - * change the other. - * - * The interpreter's result is held in both the string and the - * objResultPtr fields. These fields hold, respectively, the result's - * string or object value. The interpreter's result is always in the - * result field if that is non-empty, otherwise it is in objResultPtr. - * The two fields are kept consistent unless some C code sets - * interp->result directly. Programs should not access result and - * objResultPtr directly; instead, they should always get and set the - * result using procedures such as Tcl_SetObjResult, Tcl_GetObjResult, - * and Tcl_GetStringResult. See the SetResult man page for details. - */ - - char *result; /* If the last command returned a string - * result, this points to it. Should not be - * accessed directly; see comment above. */ - Tcl_FreeProc *freeProc; /* Zero means a string result is statically - * allocated. TCL_DYNAMIC means string - * result was allocated with ckalloc and - * should be freed with ckfree. Other values - * give address of procedure to invoke to - * free the string result. Tcl_Eval must - * free it before executing next command. */ - int errorLine; /* When TCL_ERROR is returned, this gives - * the line number in the command where the - * error occurred (1 means first line). */ - struct TclStubs *stubTable; - /* Pointer to the exported Tcl stub table. - * On previous versions of Tcl this is a - * pointer to the objResultPtr or a pointer - * to a buckets array in a hash table. We - * therefore have to do some careful checking - * before we can use this. */ - - TclHandle handle; /* Handle used to keep track of when this - * interp is deleted. */ - - Namespace *globalNsPtr; /* The interpreter's global namespace. */ - Tcl_HashTable *hiddenCmdTablePtr; - /* Hash table used by tclBasic.c to keep - * track of hidden commands on a per-interp - * basis. */ - ClientData interpInfo; /* Information used by tclInterp.c to keep - * track of master/slave interps on - * a per-interp basis. */ - Tcl_HashTable mathFuncTable;/* Contains all the math functions currently - * defined for the interpreter. Indexed by - * strings (function names); values have - * type (MathFunc *). */ - - - - /* - * Information related to procedures and variables. See tclProc.c - * and tclvar.c for usage. - */ - - int numLevels; /* Keeps track of how many nested calls to - * Tcl_Eval are in progress for this - * interpreter. It's used to delay deletion - * of the table until all Tcl_Eval - * invocations are completed. */ - int maxNestingDepth; /* If numLevels exceeds this value then Tcl - * assumes that infinite recursion has - * occurred and it generates an error. */ - CallFrame *framePtr; /* Points to top-most in stack of all nested - * procedure invocations. NULL means there - * are no active procedures. */ - CallFrame *varFramePtr; /* Points to the call frame whose variables - * are currently in use (same as framePtr - * unless an "uplevel" command is - * executing). NULL means no procedure is - * active or "uplevel 0" is executing. */ - ActiveVarTrace *activeTracePtr; - /* First in list of active traces for - * interp, or NULL if no active traces. */ - int returnCode; /* Completion code to return if current - * procedure exits with TCL_RETURN code. */ - char *errorInfo; /* Value to store in errorInfo if returnCode - * is TCL_ERROR. Malloc'ed, may be NULL */ - char *errorCode; /* Value to store in errorCode if returnCode - * is TCL_ERROR. Malloc'ed, may be NULL */ - - /* - * Information used by Tcl_AppendResult to keep track of partial - * results. See Tcl_AppendResult code for details. - */ - - char *appendResult; /* Storage space for results generated - * by Tcl_AppendResult. Malloc-ed. NULL - * means not yet allocated. */ - int appendAvl; /* Total amount of space available at - * partialResult. */ - int appendUsed; /* Number of non-null bytes currently - * stored at partialResult. */ - - /* - * Information about packages. Used only in tclPkg.c. - */ - - Tcl_HashTable packageTable; /* Describes all of the packages loaded - * in or available to this interpreter. - * Keys are package names, values are - * (Package *) pointers. */ - char *packageUnknown; /* Command to invoke during "package - * require" commands for packages that - * aren't described in packageTable. - * Malloc'ed, may be NULL. */ - - /* - * Miscellaneous information: - */ - - int cmdCount; /* Total number of times a command procedure - * has been called for this interpreter. */ - int evalFlags; /* Flags to control next call to Tcl_Eval. - * Normally zero, but may be set before - * calling Tcl_Eval. See below for valid - * values. */ - int termOffset; /* Offset of character just after last one - * compiled or executed by Tcl_EvalObj. */ - LiteralTable literalTable; /* Contains LiteralEntry's describing all - * Tcl objects holding literals of scripts - * compiled by the interpreter. Indexed by - * the string representations of literals. - * Used to avoid creating duplicate - * objects. */ - int compileEpoch; /* Holds the current "compilation epoch" - * for this interpreter. This is - * incremented to invalidate existing - * ByteCodes when, e.g., a command with a - * compile procedure is redefined. */ - Proc *compiledProcPtr; /* If a procedure is being compiled, a - * pointer to its Proc structure; otherwise, - * this is NULL. Set by ObjInterpProc in - * tclProc.c and used by tclCompile.c to - * process local variables appropriately. */ - ResolverScheme *resolverPtr; - /* Linked list of name resolution schemes - * added to this interpreter. Schemes - * are added/removed by calling - * Tcl_AddInterpResolvers and - * Tcl_RemoveInterpResolver. */ - char *scriptFile; /* NULL means there is no nested source - * command active; otherwise this points to - * the name of the file being sourced (it's - * not malloc-ed: it points to an argument - * to Tcl_EvalFile. */ - int flags; /* Various flag bits. See below. */ - long randSeed; /* Seed used for rand() function. */ - Trace *tracePtr; /* List of traces for this interpreter. */ - Tcl_HashTable *assocData; /* Hash table for associating data with - * this interpreter. Cleaned up when - * this interpreter is deleted. */ - struct ExecEnv *execEnvPtr; /* Execution environment for Tcl bytecode - * execution. Contains a pointer to the - * Tcl evaluation stack. */ - Tcl_Obj *emptyObjPtr; /* Points to an object holding an empty - * string. Returned by Tcl_ObjSetVar2 when - * variable traces change a variable in a - * gross way. */ - char resultSpace[TCL_RESULT_SIZE+1]; - /* Static space holding small results. */ - Tcl_Obj *objResultPtr; /* If the last command returned an object - * result, this points to it. Should not be - * accessed directly; see comment above. */ - Tcl_ThreadId threadId; /* ID of thread that owns the interpreter */ - - /* - * Statistical information about the bytecode compiler and interpreter's - * operation. - */ - -#ifdef TCL_COMPILE_STATS - ByteCodeStats stats; /* Holds compilation and execution - * statistics for this interpreter. */ -#endif /* TCL_COMPILE_STATS */ -} Interp; - -/* - * EvalFlag bits for Interp structures: - * - * TCL_BRACKET_TERM 1 means that the current script is terminated by - * a close bracket rather than the end of the string. - * TCL_ALLOW_EXCEPTIONS 1 means it's OK for the script to terminate with - * a code other than TCL_OK or TCL_ERROR; 0 means - * codes other than these should be turned into errors. - */ - -#define TCL_BRACKET_TERM 1 -#define TCL_ALLOW_EXCEPTIONS 4 - -/* - * Flag bits for Interp structures: - * - * DELETED: Non-zero means the interpreter has been deleted: - * don't process any more commands for it, and destroy - * the structure as soon as all nested invocations of - * Tcl_Eval are done. - * ERR_IN_PROGRESS: Non-zero means an error unwind is already in - * progress. Zero means a command proc has been - * invoked since last error occured. - * ERR_ALREADY_LOGGED: Non-zero means information has already been logged - * in $errorInfo for the current Tcl_Eval instance, - * so Tcl_Eval needn't log it (used to implement the - * "error message log" command). - * ERROR_CODE_SET: Non-zero means that Tcl_SetErrorCode has been - * called to record information for the current - * error. Zero means Tcl_Eval must clear the - * errorCode variable if an error is returned. - * EXPR_INITIALIZED: Non-zero means initialization specific to - * expressions has been carried out. - * DONT_COMPILE_CMDS_INLINE: Non-zero means that the bytecode compiler - * should not compile any commands into an inline - * sequence of instructions. This is set 1, for - * example, when command traces are requested. - * RAND_SEED_INITIALIZED: Non-zero means that the randSeed value of the - * interp has not be initialized. This is set 1 - * when we first use the rand() or srand() functions. - * SAFE_INTERP: Non zero means that the current interp is a - * safe interp (ie it has only the safe commands - * installed, less priviledge than a regular interp). - * USE_EVAL_DIRECT: Non-zero means don't use the compiler or byte-code - * interpreter; instead, have Tcl_EvalObj call - * Tcl_EvalEx. Used primarily for testing the - * new parser. - */ - -#define DELETED 1 -#define ERR_IN_PROGRESS 2 -#define ERR_ALREADY_LOGGED 4 -#define ERROR_CODE_SET 8 -#define EXPR_INITIALIZED 0x10 -#define DONT_COMPILE_CMDS_INLINE 0x20 -#define RAND_SEED_INITIALIZED 0x40 -#define SAFE_INTERP 0x80 -#define USE_EVAL_DIRECT 0x100 - -/* - *---------------------------------------------------------------- - * Data structures related to command parsing. These are used in - * tclParse.c and its clients. - *---------------------------------------------------------------- - */ - -/* - * The following data structure is used by various parsing procedures - * to hold information about where to store the results of parsing - * (e.g. the substituted contents of a quoted argument, or the result - * of a nested command). At any given time, the space available - * for output is fixed, but a procedure may be called to expand the - * space available if the current space runs out. - */ - -typedef struct ParseValue { - char *buffer; /* Address of first character in - * output buffer. */ - char *next; /* Place to store next character in - * output buffer. */ - char *end; /* Address of the last usable character - * in the buffer. */ - void (*expandProc) _ANSI_ARGS_((struct ParseValue *pvPtr, int needed)); - /* Procedure to call when space runs out; - * it will make more space. */ - ClientData clientData; /* Arbitrary information for use of - * expandProc. */ -} ParseValue; - - -/* - * Maximum number of levels of nesting permitted in Tcl commands (used - * to catch infinite recursion). - */ - -#define MAX_NESTING_DEPTH 1000 - -/* - * The macro below is used to modify a "char" value (e.g. by casting - * it to an unsigned character) so that it can be used safely with - * macros such as isspace. - */ - -#define UCHAR(c) ((unsigned char) (c)) - -/* - * This macro is used to determine the offset needed to safely allocate any - * data structure in memory. Given a starting offset or size, it "rounds up" - * or "aligns" the offset to the next 8-byte boundary so that any data - * structure can be placed at the resulting offset without fear of an - * alignment error. - * - * WARNING!! DO NOT USE THIS MACRO TO ALIGN POINTERS: it will produce - * the wrong result on platforms that allocate addresses that are divisible - * by 4 or 2. Only use it for offsets or sizes. - */ - -#define TCL_ALIGN(x) (((int)(x) + 7) & ~7) - -/* - * The following macros are used to specify the runtime platform - * setting of the tclPlatform variable. - */ - -typedef enum { - TCL_PLATFORM_UNIX, /* Any Unix-like OS. */ - TCL_PLATFORM_MAC, /* MacOS. */ - TCL_PLATFORM_WINDOWS /* Any Microsoft Windows OS. */ -} TclPlatformType; - -/* - * Flags for TclInvoke: - * - * TCL_INVOKE_HIDDEN Invoke a hidden command; if not set, - * invokes an exposed command. - * TCL_INVOKE_NO_UNKNOWN If set, "unknown" is not invoked if - * the command to be invoked is not found. - * Only has an effect if invoking an exposed - * command, i.e. if TCL_INVOKE_HIDDEN is not - * also set. - * TCL_INVOKE_NO_TRACEBACK Does not record traceback information if - * the invoked command returns an error. Used - * if the caller plans on recording its own - * traceback information. - */ - -#define TCL_INVOKE_HIDDEN (1<<0) -#define TCL_INVOKE_NO_UNKNOWN (1<<1) -#define TCL_INVOKE_NO_TRACEBACK (1<<2) - -/* - * The structure used as the internal representation of Tcl list - * objects. This is an array of pointers to the element objects. This array - * is grown (reallocated and copied) as necessary to hold all the list's - * element pointers. The array might contain more slots than currently used - * to hold all element pointers. This is done to make append operations - * faster. - */ - -typedef struct List { - int maxElemCount; /* Total number of element array slots. */ - int elemCount; /* Current number of list elements. */ - Tcl_Obj **elements; /* Array of pointers to element objects. */ -} List; - - -/* - * The following types are used for getting and storing platform-specific - * file attributes in tclFCmd.c and the various platform-versions of - * that file. This is done to have as much common code as possible - * in the file attributes code. For more information about the callbacks, - * see TclFileAttrsCmd in tclFCmd.c. - */ - -typedef int (TclGetFileAttrProc) _ANSI_ARGS_((Tcl_Interp *interp, - int objIndex, CONST char *fileName, Tcl_Obj **attrObjPtrPtr)); -typedef int (TclSetFileAttrProc) _ANSI_ARGS_((Tcl_Interp *interp, - int objIndex, CONST char *fileName, Tcl_Obj *attrObjPtr)); - -typedef struct TclFileAttrProcs { - TclGetFileAttrProc *getProc; /* The procedure for getting attrs. */ - TclSetFileAttrProc *setProc; /* The procedure for setting attrs. */ -} TclFileAttrProcs; - -/* - * Opaque handle used in pipeline routines to encapsulate platform-dependent - * state. - */ - -typedef struct TclFile_ *TclFile; - -/* - *---------------------------------------------------------------- - * Data structures related to hooking 'TclStat(...)' and - * 'TclAccess(...)'. - *---------------------------------------------------------------- - */ - -typedef int (TclStatProc_) _ANSI_ARGS_((CONST char *path, struct stat *buf)); -typedef int (TclAccessProc_) _ANSI_ARGS_((CONST char *path, int mode)); -typedef Tcl_Channel (TclOpenFileChannelProc_) _ANSI_ARGS_((Tcl_Interp *interp, - char *fileName, char *modeString, - int permissions)); - -typedef int (*TclCmdProcType) _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char *argv[])); -typedef int (*TclObjCmdProcType) _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, struct Tcl_Obj * CONST objv[])); - -/* - * Opaque names for platform specific types. - */ - -typedef struct TclpTime_t_ *TclpTime_t; - -/* - * The following structure is used to pass glob type data amongst - * the various glob routines and TclpMatchFilesTypes. Currently - * most of the fields are ignored. However they will be used in - * a future release to implement glob's ability to find files - * of particular types/permissions/etc only. - */ -typedef struct GlobTypeData { - /* Corresponds to bcdpfls as in 'find -t' */ - int type; - /* Corresponds to file permissions */ - int perm; - /* Acceptable mac type */ - Tcl_Obj* macType; - /* Acceptable mac creator */ - Tcl_Obj* macCreator; -} GlobTypeData; - -/* - * type and permission definitions for glob command - */ -#define TCL_GLOB_TYPE_BLOCK (1<<0) -#define TCL_GLOB_TYPE_CHAR (1<<1) -#define TCL_GLOB_TYPE_DIR (1<<2) -#define TCL_GLOB_TYPE_PIPE (1<<3) -#define TCL_GLOB_TYPE_FILE (1<<4) -#define TCL_GLOB_TYPE_LINK (1<<5) -#define TCL_GLOB_TYPE_SOCK (1<<6) - -#define TCL_GLOB_PERM_RONLY (1<<0) -#define TCL_GLOB_PERM_HIDDEN (1<<1) -#define TCL_GLOB_PERM_R (1<<2) -#define TCL_GLOB_PERM_W (1<<3) -#define TCL_GLOB_PERM_X (1<<4) - -/* - *---------------------------------------------------------------- - * Variables shared among Tcl modules but not used by the outside world. - *---------------------------------------------------------------- - */ - -extern Tcl_Time tclBlockTime; -extern int tclBlockTimeSet; -extern char * tclExecutableName; -extern char * tclNativeExecutableName; -extern char * tclDefaultEncodingDir; -extern Tcl_ChannelType tclFileChannelType; -extern char * tclMemDumpFileName; -extern TclPlatformType tclPlatform; -extern char * tclpFileAttrStrings[]; -extern CONST TclFileAttrProcs tclpFileAttrProcs[]; - -/* - * Variables denoting the Tcl object types defined in the core. - */ - -extern Tcl_ObjType tclBooleanType; -extern Tcl_ObjType tclByteArrayType; -extern Tcl_ObjType tclByteCodeType; -extern Tcl_ObjType tclDoubleType; -extern Tcl_ObjType tclIntType; -extern Tcl_ObjType tclListType; -extern Tcl_ObjType tclProcBodyType; -extern Tcl_ObjType tclStringType; - -/* - * The head of the list of free Tcl objects, and the total number of Tcl - * objects ever allocated and freed. - */ - -extern Tcl_Obj * tclFreeObjList; - -#ifdef TCL_COMPILE_STATS -extern long tclObjsAlloced; -extern long tclObjsFreed; -#endif /* TCL_COMPILE_STATS */ - -/* - * Pointer to a heap-allocated string of length zero that the Tcl core uses - * as the value of an empty string representation for an object. This value - * is shared by all new objects allocated by Tcl_NewObj. - */ - -extern char * tclEmptyStringRep; - -/* - *---------------------------------------------------------------- - * Procedures shared among Tcl modules but not used by the outside - * world: - *---------------------------------------------------------------- - */ - -EXTERN int TclAccess _ANSI_ARGS_((CONST char *path, - int mode)); -EXTERN int TclAccessDeleteProc _ANSI_ARGS_((TclAccessProc_ *proc)); -EXTERN int TclAccessInsertProc _ANSI_ARGS_((TclAccessProc_ *proc)); -EXTERN void TclAllocateFreeObjects _ANSI_ARGS_((void)); -EXTERN int TclArraySet _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Obj *arrayNameObj, Tcl_Obj *arrayElemObj)); -EXTERN int TclCheckBadOctal _ANSI_ARGS_((Tcl_Interp *interp, - char *value)); -EXTERN int TclCleanupChildren _ANSI_ARGS_((Tcl_Interp *interp, - int numPids, Tcl_Pid *pidPtr, - Tcl_Channel errorChan)); -EXTERN void TclCleanupCommand _ANSI_ARGS_((Command *cmdPtr)); -EXTERN int TclCopyChannel _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Channel inChan, Tcl_Channel outChan, - int toRead, Tcl_Obj *cmdPtr)); -/* - * TclCreatePipeline unofficially exported for use by BLT. - */ -EXTERN int TclCreatePipeline _ANSI_ARGS_((Tcl_Interp *interp, - int argc, char **argv, Tcl_Pid **pidArrayPtr, - TclFile *inPipePtr, TclFile *outPipePtr, - TclFile *errFilePtr)); -EXTERN int TclCreateProc _ANSI_ARGS_((Tcl_Interp *interp, - Namespace *nsPtr, char *procName, - Tcl_Obj *argsPtr, Tcl_Obj *bodyPtr, - Proc **procPtrPtr)); -EXTERN void TclDeleteCompiledLocalVars _ANSI_ARGS_(( - Interp *iPtr, CallFrame *framePtr)); -EXTERN void TclDeleteVars _ANSI_ARGS_((Interp *iPtr, - Tcl_HashTable *tablePtr)); -EXTERN int TclDoGlob _ANSI_ARGS_((Tcl_Interp *interp, - char *separators, Tcl_DString *headPtr, - char *tail, GlobTypeData *types)); -EXTERN void TclDumpMemoryInfo _ANSI_ARGS_((FILE *outFile)); -EXTERN void TclExpandTokenArray _ANSI_ARGS_(( - Tcl_Parse *parsePtr)); -EXTERN void TclExprFloatError _ANSI_ARGS_((Tcl_Interp *interp, - double value)); -EXTERN int TclFileAttrsCmd _ANSI_ARGS_((Tcl_Interp *interp, - int objc, Tcl_Obj *CONST objv[])); -EXTERN int TclFileCopyCmd _ANSI_ARGS_((Tcl_Interp *interp, - int argc, char **argv)) ; -EXTERN int TclFileDeleteCmd _ANSI_ARGS_((Tcl_Interp *interp, - int argc, char **argv)); -EXTERN int TclFileMakeDirsCmd _ANSI_ARGS_((Tcl_Interp *interp, - int argc, char **argv)) ; -EXTERN int TclFileRenameCmd _ANSI_ARGS_((Tcl_Interp *interp, - int argc, char **argv)) ; -EXTERN void TclFinalizeAllocSubsystem _ANSI_ARGS_((void)); -EXTERN void TclFinalizeCompExecEnv _ANSI_ARGS_((void)); -EXTERN void TclFinalizeCompilation _ANSI_ARGS_((void)); -EXTERN void TclFinalizeEncodingSubsystem _ANSI_ARGS_((void)); -EXTERN void TclFinalizeEnvironment _ANSI_ARGS_((void)); -EXTERN void TclFinalizeExecution _ANSI_ARGS_((void)); -EXTERN void TclFinalizeIOSubsystem _ANSI_ARGS_((void)); -EXTERN void TclFinalizeLoad _ANSI_ARGS_((void)); -EXTERN void TclFinalizeMemorySubsystem _ANSI_ARGS_((void)); -EXTERN void TclFinalizeNotifier _ANSI_ARGS_((void)); -EXTERN void TclFinalizeSynchronization _ANSI_ARGS_((void)); -EXTERN void TclFinalizeThreadData _ANSI_ARGS_((void)); -EXTERN void TclFindEncodings _ANSI_ARGS_((CONST char *argv0)); -EXTERN Proc * TclFindProc _ANSI_ARGS_((Interp *iPtr, - char *procName)); -EXTERN int TclFormatInt _ANSI_ARGS_((char *buffer, long n)); -EXTERN void TclFreePackageInfo _ANSI_ARGS_((Interp *iPtr)); -EXTERN int TclGetDate _ANSI_ARGS_((char *p, - unsigned long now, long zone, - unsigned long *timePtr)); -EXTERN Tcl_Obj * TclGetElementOfIndexedArray _ANSI_ARGS_(( - Tcl_Interp *interp, int localIndex, - Tcl_Obj *elemPtr, int leaveErrorMsg)); -EXTERN char * TclGetExtension _ANSI_ARGS_((char *name)); -EXTERN int TclGetFrame _ANSI_ARGS_((Tcl_Interp *interp, - char *string, CallFrame **framePtrPtr)); -EXTERN TclCmdProcType TclGetInterpProc _ANSI_ARGS_((void)); -EXTERN int TclGetIntForIndex _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Obj *objPtr, int endValue, int *indexPtr)); -EXTERN Tcl_Obj * TclGetIndexedScalar _ANSI_ARGS_((Tcl_Interp *interp, - int localIndex, int leaveErrorMsg)); -EXTERN int TclGetLong _ANSI_ARGS_((Tcl_Interp *interp, - char *string, long *longPtr)); -EXTERN int TclGetLoadedPackages _ANSI_ARGS_(( - Tcl_Interp *interp, char *targetName)); -EXTERN int TclGetNamespaceForQualName _ANSI_ARGS_(( - Tcl_Interp *interp, char *qualName, - Namespace *cxtNsPtr, int flags, - Namespace **nsPtrPtr, Namespace **altNsPtrPtr, - Namespace **actualCxtPtrPtr, - char **simpleNamePtr)); -EXTERN TclObjCmdProcType TclGetObjInterpProc _ANSI_ARGS_((void)); -EXTERN int TclGetOpenMode _ANSI_ARGS_((Tcl_Interp *interp, - char *string, int *seekFlagPtr)); -EXTERN Tcl_Command TclGetOriginalCommand _ANSI_ARGS_(( - Tcl_Command command)); -EXTERN int TclGlob _ANSI_ARGS_((Tcl_Interp *interp, - char *pattern, char *unquotedPrefix, - int globFlags, GlobTypeData* types)); -EXTERN int TclGlobalInvoke _ANSI_ARGS_((Tcl_Interp *interp, - int argc, char **argv, int flags)); -EXTERN int TclGuessPackageName _ANSI_ARGS_((char *fileName, - Tcl_DString *bufPtr)); -EXTERN int TclHideUnsafeCommands _ANSI_ARGS_(( - Tcl_Interp *interp)); -EXTERN int TclInExit _ANSI_ARGS_((void)); -EXTERN Tcl_Obj * TclIncrElementOfIndexedArray _ANSI_ARGS_(( - Tcl_Interp *interp, int localIndex, - Tcl_Obj *elemPtr, long incrAmount)); -EXTERN Tcl_Obj * TclIncrIndexedScalar _ANSI_ARGS_(( - Tcl_Interp *interp, int localIndex, - long incrAmount)); -EXTERN Tcl_Obj * TclIncrVar2 _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Obj *part1Ptr, Tcl_Obj *part2Ptr, - long incrAmount, int flags)); -EXTERN void TclInitAlloc _ANSI_ARGS_((void)); -EXTERN void TclInitCompiledLocals _ANSI_ARGS_(( - Tcl_Interp *interp, CallFrame *framePtr, - Namespace *nsPtr)); -EXTERN void TclInitDbCkalloc _ANSI_ARGS_((void)); -EXTERN void TclInitEncodingSubsystem _ANSI_ARGS_((void)); -EXTERN void TclInitIOSubsystem _ANSI_ARGS_((void)); -EXTERN void TclInitNamespaceSubsystem _ANSI_ARGS_((void)); -EXTERN void TclInitNotifier _ANSI_ARGS_((void)); -EXTERN void TclInitObjSubsystem _ANSI_ARGS_((void)); -EXTERN void TclInitSubsystems _ANSI_ARGS_((CONST char *argv0)); -EXTERN int TclInvoke _ANSI_ARGS_((Tcl_Interp *interp, - int argc, char **argv, int flags)); -EXTERN int TclInvokeObjectCommand _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - int argc, char **argv)); -EXTERN int TclInvokeStringCommand _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - int objc, Tcl_Obj *CONST objv[])); -EXTERN int TclIsLocalScalar _ANSI_ARGS_((CONST char *src, - int len)); -EXTERN Proc * TclIsProc _ANSI_ARGS_((Command *cmdPtr)); -EXTERN Var * TclLookupVar _ANSI_ARGS_((Tcl_Interp *interp, - char *part1, char *part2, int flags, char *msg, - int createPart1, int createPart2, - Var **arrayPtrPtr)); -EXTERN int TclMathInProgress _ANSI_ARGS_((void)); -EXTERN int TclNeedSpace _ANSI_ARGS_((char *start, char *end)); -EXTERN Tcl_Obj * TclNewProcBodyObj _ANSI_ARGS_((Proc *procPtr)); -EXTERN int TclObjCommandComplete _ANSI_ARGS_((Tcl_Obj *cmdPtr)); -EXTERN int TclObjInterpProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int TclObjInvoke _ANSI_ARGS_((Tcl_Interp *interp, - int objc, Tcl_Obj *CONST objv[], int flags)); -EXTERN int TclObjInvokeGlobal _ANSI_ARGS_((Tcl_Interp *interp, - int objc, Tcl_Obj *CONST objv[], int flags)); -EXTERN int TclOpenFileChannelDeleteProc _ANSI_ARGS_(( - TclOpenFileChannelProc_ *proc)); -EXTERN int TclOpenFileChannelInsertProc _ANSI_ARGS_(( - TclOpenFileChannelProc_ *proc)); -EXTERN int TclpAccess _ANSI_ARGS_((CONST char *filename, - int mode)); -EXTERN char * TclpAlloc _ANSI_ARGS_((unsigned int size)); -EXTERN int TclpCheckStackSpace _ANSI_ARGS_((void)); -EXTERN int TclpCopyFile _ANSI_ARGS_((CONST char *source, - CONST char *dest)); -EXTERN int TclpCopyDirectory _ANSI_ARGS_((CONST char *source, - CONST char *dest, Tcl_DString *errorPtr)); -EXTERN int TclpCreateDirectory _ANSI_ARGS_((CONST char *path)); -EXTERN int TclpDeleteFile _ANSI_ARGS_((CONST char *path)); -EXTERN void TclpExit _ANSI_ARGS_((int status)); -EXTERN void TclpFinalizeCondition _ANSI_ARGS_(( - Tcl_Condition *condPtr)); -EXTERN void TclpFinalizeMutex _ANSI_ARGS_((Tcl_Mutex *mutexPtr)); -EXTERN void TclpFinalizeThreadData _ANSI_ARGS_(( - Tcl_ThreadDataKey *keyPtr)); -EXTERN void TclpFinalizeThreadDataKey _ANSI_ARGS_(( - Tcl_ThreadDataKey *keyPtr)); -EXTERN char * TclpFindExecutable _ANSI_ARGS_(( - CONST char *argv0)); -EXTERN int TclpFindVariable _ANSI_ARGS_((CONST char *name, - int *lengthPtr)); -EXTERN void TclpFree _ANSI_ARGS_((char *ptr)); -EXTERN unsigned long TclpGetClicks _ANSI_ARGS_((void)); -EXTERN Tcl_Channel TclpGetDefaultStdChannel _ANSI_ARGS_((int type)); -EXTERN unsigned long TclpGetSeconds _ANSI_ARGS_((void)); -EXTERN void TclpGetTime _ANSI_ARGS_((Tcl_Time *time)); -EXTERN int TclpGetTimeZone _ANSI_ARGS_((unsigned long time)); -EXTERN char * TclpGetUserHome _ANSI_ARGS_((CONST char *name, - Tcl_DString *bufferPtr)); -EXTERN int TclpHasSockets _ANSI_ARGS_((Tcl_Interp *interp)); -EXTERN void TclpInitLibraryPath _ANSI_ARGS_((CONST char *argv0)); -EXTERN void TclpInitLock _ANSI_ARGS_((void)); -EXTERN void TclpInitPlatform _ANSI_ARGS_((void)); -EXTERN void TclpInitUnlock _ANSI_ARGS_((void)); -EXTERN int TclpListVolumes _ANSI_ARGS_((Tcl_Interp *interp)); -EXTERN void TclpMasterLock _ANSI_ARGS_((void)); -EXTERN void TclpMasterUnlock _ANSI_ARGS_((void)); -EXTERN int TclpMatchFiles _ANSI_ARGS_((Tcl_Interp *interp, - char *separators, Tcl_DString *dirPtr, - char *pattern, char *tail)); -EXTERN Tcl_Channel TclpOpenFileChannel _ANSI_ARGS_((Tcl_Interp *interp, - char *fileName, char *modeString, - int permissions)); -EXTERN char * TclpReadlink _ANSI_ARGS_((CONST char *fileName, - Tcl_DString *linkPtr)); -EXTERN char * TclpRealloc _ANSI_ARGS_((char *ptr, - unsigned int size)); -EXTERN void TclpReleaseFile _ANSI_ARGS_((TclFile file)); -EXTERN int TclpRemoveDirectory _ANSI_ARGS_((CONST char *path, - int recursive, Tcl_DString *errorPtr)); -EXTERN int TclpRenameFile _ANSI_ARGS_((CONST char *source, - CONST char *dest)); -EXTERN void TclpSetInitialEncodings _ANSI_ARGS_((void)); -EXTERN void TclpSetVariables _ANSI_ARGS_((Tcl_Interp *interp)); -EXTERN VOID * TclpSysAlloc _ANSI_ARGS_((long size, int isBin)); -EXTERN void TclpSysFree _ANSI_ARGS_((VOID *ptr)); -EXTERN VOID * TclpSysRealloc _ANSI_ARGS_((VOID *cp, - unsigned int size)); -EXTERN void TclpUnloadFile _ANSI_ARGS_((ClientData clientData)); -EXTERN char * TclPrecTraceProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, char *name1, char *name2, - int flags)); -EXTERN int TclPreventAliasLoop _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Interp *cmdInterp, Tcl_Command cmd)); -EXTERN void TclProcCleanupProc _ANSI_ARGS_((Proc *procPtr)); -EXTERN int TclProcCompileProc _ANSI_ARGS_((Tcl_Interp *interp, - Proc *procPtr, Tcl_Obj *bodyPtr, Namespace *nsPtr, - CONST char *description, CONST char *procName)); -EXTERN void TclProcDeleteProc _ANSI_ARGS_((ClientData clientData)); -EXTERN int TclProcInterpProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN VOID * TclpThreadDataKeyGet _ANSI_ARGS_(( - Tcl_ThreadDataKey *keyPtr)); -EXTERN void TclpThreadDataKeyInit _ANSI_ARGS_(( - Tcl_ThreadDataKey *keyPtr)); -EXTERN void TclpThreadDataKeySet _ANSI_ARGS_(( - Tcl_ThreadDataKey *keyPtr, VOID *data)); -EXTERN void TclpThreadExit _ANSI_ARGS_((int status)); -EXTERN void TclRememberCondition _ANSI_ARGS_((Tcl_Condition *mutex)); -EXTERN void TclRememberDataKey _ANSI_ARGS_((Tcl_ThreadDataKey *mutex)); -EXTERN void TclRememberMutex _ANSI_ARGS_((Tcl_Mutex *mutex)); -EXTERN int TclRenameCommand _ANSI_ARGS_((Tcl_Interp *interp, - char *oldName, char *newName)) ; -EXTERN void TclResetShadowedCmdRefs _ANSI_ARGS_(( - Tcl_Interp *interp, Command *newCmdPtr)); -EXTERN int TclServiceIdle _ANSI_ARGS_((void)); -EXTERN Tcl_Obj * TclSetElementOfIndexedArray _ANSI_ARGS_(( - Tcl_Interp *interp, int localIndex, - Tcl_Obj *elemPtr, Tcl_Obj *objPtr, - int leaveErrorMsg)); -EXTERN Tcl_Obj * TclSetIndexedScalar _ANSI_ARGS_((Tcl_Interp *interp, - int localIndex, Tcl_Obj *objPtr, - int leaveErrorMsg)); -EXTERN char * TclSetPreInitScript _ANSI_ARGS_((char *string)); -EXTERN void TclSetupEnv _ANSI_ARGS_((Tcl_Interp *interp)); -EXTERN int TclSockGetPort _ANSI_ARGS_((Tcl_Interp *interp, - char *string, char *proto, int *portPtr)); -EXTERN int TclSockMinimumBuffers _ANSI_ARGS_((int sock, - int size)); -EXTERN int TclStat _ANSI_ARGS_((CONST char *path, - struct stat *buf)); -EXTERN int TclStatDeleteProc _ANSI_ARGS_((TclStatProc_ *proc)); -EXTERN int TclStatInsertProc _ANSI_ARGS_((TclStatProc_ *proc)); -EXTERN void TclTeardownNamespace _ANSI_ARGS_((Namespace *nsPtr)); -EXTERN void TclTransferResult _ANSI_ARGS_((Tcl_Interp *sourceInterp, - int result, Tcl_Interp *targetInterp)); -EXTERN int TclUpdateReturnInfo _ANSI_ARGS_((Interp *iPtr)); - -/* - *---------------------------------------------------------------- - * Command procedures in the generic core: - *---------------------------------------------------------------- - */ - -EXTERN int Tcl_AfterObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_AppendObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ArrayObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_BinaryObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_BreakObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_CaseObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_CatchObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_CdObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ClockObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_CloseObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ConcatObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ContinueObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_EncodingObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_EofObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ErrorObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_EvalObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ExecObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ExitObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ExprObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_FblockedObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_FconfigureObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_FcopyObjCmd _ANSI_ARGS_((ClientData dummy, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_FileObjCmd _ANSI_ARGS_((ClientData dummy, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_FileEventObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_FlushObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ForObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ForeachObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_FormatObjCmd _ANSI_ARGS_((ClientData dummy, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_GetsObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_GlobalObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_GlobObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_IfObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_IncrObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_InfoObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_InterpObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_JoinObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LappendObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LindexObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LinsertObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LlengthObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ListObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LoadObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LrangeObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LreplaceObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LsearchObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LsortObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_NamespaceObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_OpenObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_PackageObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_PidObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_PutsObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_PwdObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ReadObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_RegexpObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_RegsubObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_RenameObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ReturnObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ScanObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_SeekObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_SetObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_SplitObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_SocketObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_SourceObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_StringObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_SubstObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_SwitchObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_TellObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_TimeObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_TraceObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_UnsetObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_UpdateObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_UplevelObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_UpvarObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_VariableObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_VwaitObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_WhileObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); - -/* - *---------------------------------------------------------------- - * Command procedures found only in the Mac version of the core: - *---------------------------------------------------------------- - */ - -#ifdef MAC_TCL -EXTERN int Tcl_EchoCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tcl_LsObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_BeepObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_MacSourceObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ResourceObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -#endif - -/* - *---------------------------------------------------------------- - * Compilation procedures for commands in the generic core: - *---------------------------------------------------------------- - */ - -EXTERN int TclCompileBreakCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileCatchCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileContinueCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileExprCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileForCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileForeachCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileIfCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileIncrCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileSetCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileWhileCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); - -/* - *---------------------------------------------------------------- - * Macros used by the Tcl core to create and release Tcl objects. - * TclNewObj(objPtr) creates a new object denoting an empty string. - * TclDecrRefCount(objPtr) decrements the object's reference count, - * and frees the object if its reference count is zero. - * These macros are inline versions of Tcl_NewObj() and - * Tcl_DecrRefCount(). Notice that the names differ in not having - * a "_" after the "Tcl". Notice also that these macros reference - * their argument more than once, so you should avoid calling them - * with an expression that is expensive to compute or has - * side effects. The ANSI C "prototypes" for these macros are: - * - * EXTERN void TclNewObj _ANSI_ARGS_((Tcl_Obj *objPtr)); - * EXTERN void TclDecrRefCount _ANSI_ARGS_((Tcl_Obj *objPtr)); - *---------------------------------------------------------------- - */ - -#ifdef TCL_COMPILE_STATS -# define TclIncrObjsAllocated() \ - tclObjsAlloced++ -# define TclIncrObjsFreed() \ - tclObjsFreed++ -#else -# define TclIncrObjsAllocated() -# define TclIncrObjsFreed() -#endif /* TCL_COMPILE_STATS */ - -#ifdef TCL_MEM_DEBUG -# define TclNewObj(objPtr) \ - (objPtr) = (Tcl_Obj *) \ - Tcl_DbCkalloc(sizeof(Tcl_Obj), __FILE__, __LINE__); \ - (objPtr)->refCount = 0; \ - (objPtr)->bytes = tclEmptyStringRep; \ - (objPtr)->length = 0; \ - (objPtr)->typePtr = NULL; \ - TclIncrObjsAllocated() - -# define TclDbNewObj(objPtr, file, line) \ - (objPtr) = (Tcl_Obj *) Tcl_DbCkalloc(sizeof(Tcl_Obj), (file), (line)); \ - (objPtr)->refCount = 0; \ - (objPtr)->bytes = tclEmptyStringRep; \ - (objPtr)->length = 0; \ - (objPtr)->typePtr = NULL; \ - TclIncrObjsAllocated() - -# define TclDecrRefCount(objPtr) \ - if (--(objPtr)->refCount <= 0) { \ - if ((objPtr)->refCount < -1) \ - panic("Reference count for %lx was negative: %s line %d", \ - (objPtr), __FILE__, __LINE__); \ - if (((objPtr)->bytes != NULL) \ - && ((objPtr)->bytes != tclEmptyStringRep)) { \ - ckfree((char *) (objPtr)->bytes); \ - } \ - if (((objPtr)->typePtr != NULL) \ - && ((objPtr)->typePtr->freeIntRepProc != NULL)) { \ - (objPtr)->typePtr->freeIntRepProc(objPtr); \ - } \ - ckfree((char *) (objPtr)); \ - TclIncrObjsFreed(); \ - } - -#else /* not TCL_MEM_DEBUG */ - -#ifdef TCL_THREADS -extern Tcl_Mutex tclObjMutex; -#endif - -# define TclNewObj(objPtr) \ - Tcl_MutexLock(&tclObjMutex); \ - if (tclFreeObjList == NULL) { \ - TclAllocateFreeObjects(); \ - } \ - (objPtr) = tclFreeObjList; \ - tclFreeObjList = (Tcl_Obj *) \ - tclFreeObjList->internalRep.otherValuePtr; \ - (objPtr)->refCount = 0; \ - (objPtr)->bytes = tclEmptyStringRep; \ - (objPtr)->length = 0; \ - (objPtr)->typePtr = NULL; \ - TclIncrObjsAllocated(); \ - Tcl_MutexUnlock(&tclObjMutex) - -# define TclDecrRefCount(objPtr) \ - if (--(objPtr)->refCount <= 0) { \ - if (((objPtr)->bytes != NULL) \ - && ((objPtr)->bytes != tclEmptyStringRep)) { \ - ckfree((char *) (objPtr)->bytes); \ - } \ - if (((objPtr)->typePtr != NULL) \ - && ((objPtr)->typePtr->freeIntRepProc != NULL)) { \ - (objPtr)->typePtr->freeIntRepProc(objPtr); \ - } \ - Tcl_MutexLock(&tclObjMutex); \ - (objPtr)->internalRep.otherValuePtr = (VOID *) tclFreeObjList; \ - tclFreeObjList = (objPtr); \ - TclIncrObjsFreed(); \ - Tcl_MutexUnlock(&tclObjMutex); \ - } -#endif /* TCL_MEM_DEBUG */ - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to set a Tcl_Obj's string representation - * to a copy of the "len" bytes starting at "bytePtr". This code - * works even if the byte array contains NULLs as long as the length - * is correct. Because "len" is referenced multiple times, it should - * be as simple an expression as possible. The ANSI C "prototype" for - * this macro is: - * - * EXTERN void TclInitStringRep _ANSI_ARGS_((Tcl_Obj *objPtr, - * char *bytePtr, int len)); - *---------------------------------------------------------------- - */ - -#define TclInitStringRep(objPtr, bytePtr, len) \ - if ((len) == 0) { \ - (objPtr)->bytes = tclEmptyStringRep; \ - (objPtr)->length = 0; \ - } else { \ - (objPtr)->bytes = (char *) ckalloc((unsigned) ((len) + 1)); \ - memcpy((VOID *) (objPtr)->bytes, (VOID *) (bytePtr), \ - (unsigned) (len)); \ - (objPtr)->bytes[len] = '\0'; \ - (objPtr)->length = (len); \ - } - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to get the string representation's - * byte array pointer from a Tcl_Obj. This is an inline version - * of Tcl_GetString(). The macro's expression result is the string - * rep's byte pointer which might be NULL. The bytes referenced by - * this pointer must not be modified by the caller. - * The ANSI C "prototype" for this macro is: - * - * EXTERN char * TclGetString _ANSI_ARGS_((Tcl_Obj *objPtr)); - *---------------------------------------------------------------- - */ - -#define TclGetString(objPtr) \ - ((objPtr)->bytes? (objPtr)->bytes : Tcl_GetString((objPtr))) - -#include "tclIntDecls.h" - -# undef TCL_STORAGE_CLASS -# define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TCLINT */ - diff --git a/src/other/togl/include/tcltk/tk8.3/tclIntDecls.h b/src/other/togl/include/tcltk/tk8.3/tclIntDecls.h deleted file mode 100644 index 766b0d8c16e..00000000000 --- a/src/other/togl/include/tcltk/tk8.3/tclIntDecls.h +++ /dev/null @@ -1,1393 +0,0 @@ -/* - * tclIntDecls.h -- - * - * This file contains the declarations for all unsupported - * functions that are exported by the Tcl library. These - * interfaces are not guaranteed to remain the same between - * versions. Use at your own risk. - * - * Copyright (c) 1998-1999 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TCLINTDECLS -#define _TCLINTDECLS - -/* - * WARNING: This file is automatically generated by the tools/genStubs.tcl - * script. Any modifications to the function declarations below should be made - * in the generic/tclInt.decls script. - */ - -/* !BEGIN!: Do not edit below this line. */ - -/* - * Exported function declarations: - */ - -/* 0 */ -EXTERN int TclAccess _ANSI_ARGS_((CONST char * path, int mode)); -/* 1 */ -EXTERN int TclAccessDeleteProc _ANSI_ARGS_(( - TclAccessProc_ * proc)); -/* 2 */ -EXTERN int TclAccessInsertProc _ANSI_ARGS_(( - TclAccessProc_ * proc)); -/* 3 */ -EXTERN void TclAllocateFreeObjects _ANSI_ARGS_((void)); -/* Slot 4 is reserved */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -/* 5 */ -EXTERN int TclCleanupChildren _ANSI_ARGS_((Tcl_Interp * interp, - int numPids, Tcl_Pid * pidPtr, - Tcl_Channel errorChan)); -#endif /* UNIX */ -#ifdef __WIN32__ -/* 5 */ -EXTERN int TclCleanupChildren _ANSI_ARGS_((Tcl_Interp * interp, - int numPids, Tcl_Pid * pidPtr, - Tcl_Channel errorChan)); -#endif /* __WIN32__ */ -/* 6 */ -EXTERN void TclCleanupCommand _ANSI_ARGS_((Command * cmdPtr)); -/* 7 */ -EXTERN int TclCopyAndCollapse _ANSI_ARGS_((int count, - CONST char * src, char * dst)); -/* 8 */ -EXTERN int TclCopyChannel _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Channel inChan, Tcl_Channel outChan, - int toRead, Tcl_Obj * cmdPtr)); -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -/* 9 */ -EXTERN int TclCreatePipeline _ANSI_ARGS_((Tcl_Interp * interp, - int argc, char ** argv, - Tcl_Pid ** pidArrayPtr, TclFile * inPipePtr, - TclFile * outPipePtr, TclFile * errFilePtr)); -#endif /* UNIX */ -#ifdef __WIN32__ -/* 9 */ -EXTERN int TclCreatePipeline _ANSI_ARGS_((Tcl_Interp * interp, - int argc, char ** argv, - Tcl_Pid ** pidArrayPtr, TclFile * inPipePtr, - TclFile * outPipePtr, TclFile * errFilePtr)); -#endif /* __WIN32__ */ -/* 10 */ -EXTERN int TclCreateProc _ANSI_ARGS_((Tcl_Interp * interp, - Namespace * nsPtr, char * procName, - Tcl_Obj * argsPtr, Tcl_Obj * bodyPtr, - Proc ** procPtrPtr)); -/* 11 */ -EXTERN void TclDeleteCompiledLocalVars _ANSI_ARGS_(( - Interp * iPtr, CallFrame * framePtr)); -/* 12 */ -EXTERN void TclDeleteVars _ANSI_ARGS_((Interp * iPtr, - Tcl_HashTable * tablePtr)); -/* 13 */ -EXTERN int TclDoGlob _ANSI_ARGS_((Tcl_Interp * interp, - char * separators, Tcl_DString * headPtr, - char * tail, GlobTypeData * types)); -/* 14 */ -EXTERN void TclDumpMemoryInfo _ANSI_ARGS_((FILE * outFile)); -/* Slot 15 is reserved */ -/* 16 */ -EXTERN void TclExprFloatError _ANSI_ARGS_((Tcl_Interp * interp, - double value)); -/* 17 */ -EXTERN int TclFileAttrsCmd _ANSI_ARGS_((Tcl_Interp * interp, - int objc, Tcl_Obj *CONST objv[])); -/* 18 */ -EXTERN int TclFileCopyCmd _ANSI_ARGS_((Tcl_Interp * interp, - int argc, char ** argv)); -/* 19 */ -EXTERN int TclFileDeleteCmd _ANSI_ARGS_((Tcl_Interp * interp, - int argc, char ** argv)); -/* 20 */ -EXTERN int TclFileMakeDirsCmd _ANSI_ARGS_((Tcl_Interp * interp, - int argc, char ** argv)); -/* 21 */ -EXTERN int TclFileRenameCmd _ANSI_ARGS_((Tcl_Interp * interp, - int argc, char ** argv)); -/* 22 */ -EXTERN int TclFindElement _ANSI_ARGS_((Tcl_Interp * interp, - CONST char * listStr, int listLength, - CONST char ** elementPtr, - CONST char ** nextPtr, int * sizePtr, - int * bracePtr)); -/* 23 */ -EXTERN Proc * TclFindProc _ANSI_ARGS_((Interp * iPtr, - char * procName)); -/* 24 */ -EXTERN int TclFormatInt _ANSI_ARGS_((char * buffer, long n)); -/* 25 */ -EXTERN void TclFreePackageInfo _ANSI_ARGS_((Interp * iPtr)); -/* Slot 26 is reserved */ -/* 27 */ -EXTERN int TclGetDate _ANSI_ARGS_((char * p, unsigned long now, - long zone, unsigned long * timePtr)); -/* 28 */ -EXTERN Tcl_Channel TclpGetDefaultStdChannel _ANSI_ARGS_((int type)); -/* 29 */ -EXTERN Tcl_Obj * TclGetElementOfIndexedArray _ANSI_ARGS_(( - Tcl_Interp * interp, int localIndex, - Tcl_Obj * elemPtr, int leaveErrorMsg)); -/* Slot 30 is reserved */ -/* 31 */ -EXTERN char * TclGetExtension _ANSI_ARGS_((char * name)); -/* 32 */ -EXTERN int TclGetFrame _ANSI_ARGS_((Tcl_Interp * interp, - char * str, CallFrame ** framePtrPtr)); -/* 33 */ -EXTERN TclCmdProcType TclGetInterpProc _ANSI_ARGS_((void)); -/* 34 */ -EXTERN int TclGetIntForIndex _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Obj * objPtr, int endValue, - int * indexPtr)); -/* 35 */ -EXTERN Tcl_Obj * TclGetIndexedScalar _ANSI_ARGS_((Tcl_Interp * interp, - int localIndex, int leaveErrorMsg)); -/* 36 */ -EXTERN int TclGetLong _ANSI_ARGS_((Tcl_Interp * interp, - char * str, long * longPtr)); -/* 37 */ -EXTERN int TclGetLoadedPackages _ANSI_ARGS_(( - Tcl_Interp * interp, char * targetName)); -/* 38 */ -EXTERN int TclGetNamespaceForQualName _ANSI_ARGS_(( - Tcl_Interp * interp, char * qualName, - Namespace * cxtNsPtr, int flags, - Namespace ** nsPtrPtr, - Namespace ** altNsPtrPtr, - Namespace ** actualCxtPtrPtr, - char ** simpleNamePtr)); -/* 39 */ -EXTERN TclObjCmdProcType TclGetObjInterpProc _ANSI_ARGS_((void)); -/* 40 */ -EXTERN int TclGetOpenMode _ANSI_ARGS_((Tcl_Interp * interp, - char * str, int * seekFlagPtr)); -/* 41 */ -EXTERN Tcl_Command TclGetOriginalCommand _ANSI_ARGS_(( - Tcl_Command command)); -/* 42 */ -EXTERN char * TclpGetUserHome _ANSI_ARGS_((CONST char * name, - Tcl_DString * bufferPtr)); -/* 43 */ -EXTERN int TclGlobalInvoke _ANSI_ARGS_((Tcl_Interp * interp, - int argc, char ** argv, int flags)); -/* 44 */ -EXTERN int TclGuessPackageName _ANSI_ARGS_((char * fileName, - Tcl_DString * bufPtr)); -/* 45 */ -EXTERN int TclHideUnsafeCommands _ANSI_ARGS_(( - Tcl_Interp * interp)); -/* 46 */ -EXTERN int TclInExit _ANSI_ARGS_((void)); -/* 47 */ -EXTERN Tcl_Obj * TclIncrElementOfIndexedArray _ANSI_ARGS_(( - Tcl_Interp * interp, int localIndex, - Tcl_Obj * elemPtr, long incrAmount)); -/* 48 */ -EXTERN Tcl_Obj * TclIncrIndexedScalar _ANSI_ARGS_(( - Tcl_Interp * interp, int localIndex, - long incrAmount)); -/* 49 */ -EXTERN Tcl_Obj * TclIncrVar2 _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Obj * part1Ptr, Tcl_Obj * part2Ptr, - long incrAmount, int part1NotParsed)); -/* 50 */ -EXTERN void TclInitCompiledLocals _ANSI_ARGS_(( - Tcl_Interp * interp, CallFrame * framePtr, - Namespace * nsPtr)); -/* 51 */ -EXTERN int TclInterpInit _ANSI_ARGS_((Tcl_Interp * interp)); -/* 52 */ -EXTERN int TclInvoke _ANSI_ARGS_((Tcl_Interp * interp, int argc, - char ** argv, int flags)); -/* 53 */ -EXTERN int TclInvokeObjectCommand _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp * interp, - int argc, char ** argv)); -/* 54 */ -EXTERN int TclInvokeStringCommand _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp * interp, - int objc, Tcl_Obj *CONST objv[])); -/* 55 */ -EXTERN Proc * TclIsProc _ANSI_ARGS_((Command * cmdPtr)); -/* Slot 56 is reserved */ -/* Slot 57 is reserved */ -/* 58 */ -EXTERN Var * TclLookupVar _ANSI_ARGS_((Tcl_Interp * interp, - char * part1, char * part2, int flags, - char * msg, int createPart1, int createPart2, - Var ** arrayPtrPtr)); -/* 59 */ -EXTERN int TclpMatchFiles _ANSI_ARGS_((Tcl_Interp * interp, - char * separators, Tcl_DString * dirPtr, - char * pattern, char * tail)); -/* 60 */ -EXTERN int TclNeedSpace _ANSI_ARGS_((char * start, char * end)); -/* 61 */ -EXTERN Tcl_Obj * TclNewProcBodyObj _ANSI_ARGS_((Proc * procPtr)); -/* 62 */ -EXTERN int TclObjCommandComplete _ANSI_ARGS_((Tcl_Obj * cmdPtr)); -/* 63 */ -EXTERN int TclObjInterpProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp * interp, int objc, - Tcl_Obj *CONST objv[])); -/* 64 */ -EXTERN int TclObjInvoke _ANSI_ARGS_((Tcl_Interp * interp, - int objc, Tcl_Obj *CONST objv[], int flags)); -/* 65 */ -EXTERN int TclObjInvokeGlobal _ANSI_ARGS_((Tcl_Interp * interp, - int objc, Tcl_Obj *CONST objv[], int flags)); -/* 66 */ -EXTERN int TclOpenFileChannelDeleteProc _ANSI_ARGS_(( - TclOpenFileChannelProc_ * proc)); -/* 67 */ -EXTERN int TclOpenFileChannelInsertProc _ANSI_ARGS_(( - TclOpenFileChannelProc_ * proc)); -/* 68 */ -EXTERN int TclpAccess _ANSI_ARGS_((CONST char * path, int mode)); -/* 69 */ -EXTERN char * TclpAlloc _ANSI_ARGS_((unsigned int size)); -/* 70 */ -EXTERN int TclpCopyFile _ANSI_ARGS_((CONST char * source, - CONST char * dest)); -/* 71 */ -EXTERN int TclpCopyDirectory _ANSI_ARGS_((CONST char * source, - CONST char * dest, Tcl_DString * errorPtr)); -/* 72 */ -EXTERN int TclpCreateDirectory _ANSI_ARGS_((CONST char * path)); -/* 73 */ -EXTERN int TclpDeleteFile _ANSI_ARGS_((CONST char * path)); -/* 74 */ -EXTERN void TclpFree _ANSI_ARGS_((char * ptr)); -/* 75 */ -EXTERN unsigned long TclpGetClicks _ANSI_ARGS_((void)); -/* 76 */ -EXTERN unsigned long TclpGetSeconds _ANSI_ARGS_((void)); -/* 77 */ -EXTERN void TclpGetTime _ANSI_ARGS_((Tcl_Time * time)); -/* 78 */ -EXTERN int TclpGetTimeZone _ANSI_ARGS_((unsigned long time)); -/* 79 */ -EXTERN int TclpListVolumes _ANSI_ARGS_((Tcl_Interp * interp)); -/* 80 */ -EXTERN Tcl_Channel TclpOpenFileChannel _ANSI_ARGS_((Tcl_Interp * interp, - char * fileName, char * modeString, - int permissions)); -/* 81 */ -EXTERN char * TclpRealloc _ANSI_ARGS_((char * ptr, - unsigned int size)); -/* 82 */ -EXTERN int TclpRemoveDirectory _ANSI_ARGS_((CONST char * path, - int recursive, Tcl_DString * errorPtr)); -/* 83 */ -EXTERN int TclpRenameFile _ANSI_ARGS_((CONST char * source, - CONST char * dest)); -/* Slot 84 is reserved */ -/* Slot 85 is reserved */ -/* Slot 86 is reserved */ -/* Slot 87 is reserved */ -/* 88 */ -EXTERN char * TclPrecTraceProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp * interp, char * name1, - char * name2, int flags)); -/* 89 */ -EXTERN int TclPreventAliasLoop _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Interp * cmdInterp, Tcl_Command cmd)); -/* Slot 90 is reserved */ -/* 91 */ -EXTERN void TclProcCleanupProc _ANSI_ARGS_((Proc * procPtr)); -/* 92 */ -EXTERN int TclProcCompileProc _ANSI_ARGS_((Tcl_Interp * interp, - Proc * procPtr, Tcl_Obj * bodyPtr, - Namespace * nsPtr, CONST char * description, - CONST char * procName)); -/* 93 */ -EXTERN void TclProcDeleteProc _ANSI_ARGS_((ClientData clientData)); -/* 94 */ -EXTERN int TclProcInterpProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp * interp, int argc, char ** argv)); -/* 95 */ -EXTERN int TclpStat _ANSI_ARGS_((CONST char * path, - struct stat * buf)); -/* 96 */ -EXTERN int TclRenameCommand _ANSI_ARGS_((Tcl_Interp * interp, - char * oldName, char * newName)); -/* 97 */ -EXTERN void TclResetShadowedCmdRefs _ANSI_ARGS_(( - Tcl_Interp * interp, Command * newCmdPtr)); -/* 98 */ -EXTERN int TclServiceIdle _ANSI_ARGS_((void)); -/* 99 */ -EXTERN Tcl_Obj * TclSetElementOfIndexedArray _ANSI_ARGS_(( - Tcl_Interp * interp, int localIndex, - Tcl_Obj * elemPtr, Tcl_Obj * objPtr, - int leaveErrorMsg)); -/* 100 */ -EXTERN Tcl_Obj * TclSetIndexedScalar _ANSI_ARGS_((Tcl_Interp * interp, - int localIndex, Tcl_Obj * objPtr, - int leaveErrorMsg)); -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -/* 101 */ -EXTERN char * TclSetPreInitScript _ANSI_ARGS_((char * string)); -#endif /* UNIX */ -#ifdef __WIN32__ -/* 101 */ -EXTERN char * TclSetPreInitScript _ANSI_ARGS_((char * string)); -#endif /* __WIN32__ */ -/* 102 */ -EXTERN void TclSetupEnv _ANSI_ARGS_((Tcl_Interp * interp)); -/* 103 */ -EXTERN int TclSockGetPort _ANSI_ARGS_((Tcl_Interp * interp, - char * str, char * proto, int * portPtr)); -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -/* 104 */ -EXTERN int TclSockMinimumBuffers _ANSI_ARGS_((int sock, - int size)); -#endif /* UNIX */ -#ifdef __WIN32__ -/* 104 */ -EXTERN int TclSockMinimumBuffers _ANSI_ARGS_((int sock, - int size)); -#endif /* __WIN32__ */ -/* 105 */ -EXTERN int TclStat _ANSI_ARGS_((CONST char * path, - struct stat * buf)); -/* 106 */ -EXTERN int TclStatDeleteProc _ANSI_ARGS_((TclStatProc_ * proc)); -/* 107 */ -EXTERN int TclStatInsertProc _ANSI_ARGS_((TclStatProc_ * proc)); -/* 108 */ -EXTERN void TclTeardownNamespace _ANSI_ARGS_((Namespace * nsPtr)); -/* 109 */ -EXTERN int TclUpdateReturnInfo _ANSI_ARGS_((Interp * iPtr)); -/* Slot 110 is reserved */ -/* 111 */ -EXTERN void Tcl_AddInterpResolvers _ANSI_ARGS_(( - Tcl_Interp * interp, char * name, - Tcl_ResolveCmdProc * cmdProc, - Tcl_ResolveVarProc * varProc, - Tcl_ResolveCompiledVarProc * compiledVarProc)); -/* 112 */ -EXTERN int Tcl_AppendExportList _ANSI_ARGS_(( - Tcl_Interp * interp, Tcl_Namespace * nsPtr, - Tcl_Obj * objPtr)); -/* 113 */ -EXTERN Tcl_Namespace * Tcl_CreateNamespace _ANSI_ARGS_((Tcl_Interp * interp, - char * name, ClientData clientData, - Tcl_NamespaceDeleteProc * deleteProc)); -/* 114 */ -EXTERN void Tcl_DeleteNamespace _ANSI_ARGS_(( - Tcl_Namespace * nsPtr)); -/* 115 */ -EXTERN int Tcl_Export _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Namespace * nsPtr, char * pattern, - int resetListFirst)); -/* 116 */ -EXTERN Tcl_Command Tcl_FindCommand _ANSI_ARGS_((Tcl_Interp * interp, - char * name, Tcl_Namespace * contextNsPtr, - int flags)); -/* 117 */ -EXTERN Tcl_Namespace * Tcl_FindNamespace _ANSI_ARGS_((Tcl_Interp * interp, - char * name, Tcl_Namespace * contextNsPtr, - int flags)); -/* 118 */ -EXTERN int Tcl_GetInterpResolvers _ANSI_ARGS_(( - Tcl_Interp * interp, char * name, - Tcl_ResolverInfo * resInfo)); -/* 119 */ -EXTERN int Tcl_GetNamespaceResolvers _ANSI_ARGS_(( - Tcl_Namespace * namespacePtr, - Tcl_ResolverInfo * resInfo)); -/* 120 */ -EXTERN Tcl_Var Tcl_FindNamespaceVar _ANSI_ARGS_(( - Tcl_Interp * interp, char * name, - Tcl_Namespace * contextNsPtr, int flags)); -/* 121 */ -EXTERN int Tcl_ForgetImport _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Namespace * nsPtr, char * pattern)); -/* 122 */ -EXTERN Tcl_Command Tcl_GetCommandFromObj _ANSI_ARGS_(( - Tcl_Interp * interp, Tcl_Obj * objPtr)); -/* 123 */ -EXTERN void Tcl_GetCommandFullName _ANSI_ARGS_(( - Tcl_Interp * interp, Tcl_Command command, - Tcl_Obj * objPtr)); -/* 124 */ -EXTERN Tcl_Namespace * Tcl_GetCurrentNamespace _ANSI_ARGS_(( - Tcl_Interp * interp)); -/* 125 */ -EXTERN Tcl_Namespace * Tcl_GetGlobalNamespace _ANSI_ARGS_(( - Tcl_Interp * interp)); -/* 126 */ -EXTERN void Tcl_GetVariableFullName _ANSI_ARGS_(( - Tcl_Interp * interp, Tcl_Var variable, - Tcl_Obj * objPtr)); -/* 127 */ -EXTERN int Tcl_Import _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Namespace * nsPtr, char * pattern, - int allowOverwrite)); -/* 128 */ -EXTERN void Tcl_PopCallFrame _ANSI_ARGS_((Tcl_Interp* interp)); -/* 129 */ -EXTERN int Tcl_PushCallFrame _ANSI_ARGS_((Tcl_Interp* interp, - Tcl_CallFrame * framePtr, - Tcl_Namespace * nsPtr, int isProcCallFrame)); -/* 130 */ -EXTERN int Tcl_RemoveInterpResolvers _ANSI_ARGS_(( - Tcl_Interp * interp, char * name)); -/* 131 */ -EXTERN void Tcl_SetNamespaceResolvers _ANSI_ARGS_(( - Tcl_Namespace * namespacePtr, - Tcl_ResolveCmdProc * cmdProc, - Tcl_ResolveVarProc * varProc, - Tcl_ResolveCompiledVarProc * compiledVarProc)); -/* 132 */ -EXTERN int TclpHasSockets _ANSI_ARGS_((Tcl_Interp * interp)); -/* 133 */ -EXTERN struct tm * TclpGetDate _ANSI_ARGS_((TclpTime_t time, int useGMT)); -/* 134 */ -EXTERN size_t TclpStrftime _ANSI_ARGS_((char * s, size_t maxsize, - CONST char * format, CONST struct tm * t)); -/* 135 */ -EXTERN int TclpCheckStackSpace _ANSI_ARGS_((void)); -/* Slot 136 is reserved */ -/* 137 */ -EXTERN int TclpChdir _ANSI_ARGS_((CONST char * dirName)); -/* 138 */ -EXTERN char * TclGetEnv _ANSI_ARGS_((CONST char * name, - Tcl_DString * valuePtr)); -/* 139 */ -EXTERN int TclpLoadFile _ANSI_ARGS_((Tcl_Interp * interp, - char * fileName, char * sym1, char * sym2, - Tcl_PackageInitProc ** proc1Ptr, - Tcl_PackageInitProc ** proc2Ptr, - ClientData * clientDataPtr)); -/* 140 */ -EXTERN int TclLooksLikeInt _ANSI_ARGS_((char * bytes, - int length)); -/* 141 */ -EXTERN char * TclpGetCwd _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_DString * cwdPtr)); -/* 142 */ -EXTERN int TclSetByteCodeFromAny _ANSI_ARGS_(( - Tcl_Interp * interp, Tcl_Obj * objPtr, - CompileHookProc * hookProc, - ClientData clientData)); -/* 143 */ -EXTERN int TclAddLiteralObj _ANSI_ARGS_(( - struct CompileEnv * envPtr, Tcl_Obj * objPtr, - LiteralEntry ** litPtrPtr)); -/* 144 */ -EXTERN void TclHideLiteral _ANSI_ARGS_((Tcl_Interp * interp, - struct CompileEnv * envPtr, int index)); -/* 145 */ -EXTERN struct AuxDataType * TclGetAuxDataType _ANSI_ARGS_((char * typeName)); -/* 146 */ -EXTERN TclHandle TclHandleCreate _ANSI_ARGS_((VOID * ptr)); -/* 147 */ -EXTERN void TclHandleFree _ANSI_ARGS_((TclHandle handle)); -/* 148 */ -EXTERN TclHandle TclHandlePreserve _ANSI_ARGS_((TclHandle handle)); -/* 149 */ -EXTERN void TclHandleRelease _ANSI_ARGS_((TclHandle handle)); -/* 150 */ -EXTERN int TclRegAbout _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_RegExp re)); -/* 151 */ -EXTERN void TclRegExpRangeUniChar _ANSI_ARGS_((Tcl_RegExp re, - int index, int * startPtr, int * endPtr)); -/* 152 */ -EXTERN void TclSetLibraryPath _ANSI_ARGS_((Tcl_Obj * pathPtr)); -/* 153 */ -EXTERN Tcl_Obj * TclGetLibraryPath _ANSI_ARGS_((void)); -/* Slot 154 is reserved */ -/* Slot 155 is reserved */ -/* 156 */ -EXTERN void TclRegError _ANSI_ARGS_((Tcl_Interp * interp, - char * msg, int status)); -/* 157 */ -EXTERN Var * TclVarTraceExists _ANSI_ARGS_((Tcl_Interp * interp, - char * varName)); -/* 158 */ -EXTERN void TclSetStartupScriptFileName _ANSI_ARGS_(( - char * filename)); -/* 159 */ -EXTERN char * TclGetStartupScriptFileName _ANSI_ARGS_((void)); -/* 160 */ -EXTERN int TclpMatchFilesTypes _ANSI_ARGS_((Tcl_Interp * interp, - char * separators, Tcl_DString * dirPtr, - char * pattern, char * tail, - GlobTypeData * types)); -/* 161 */ -EXTERN int TclChannelTransform _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Channel chan, Tcl_Obj * cmdObjPtr)); -/* 162 */ -EXTERN void TclChannelEventScriptInvoker _ANSI_ARGS_(( - ClientData clientData, int flags)); - -typedef struct TclIntStubs { - int magic; - struct TclIntStubHooks *hooks; - - int (*tclAccess) _ANSI_ARGS_((CONST char * path, int mode)); /* 0 */ - int (*tclAccessDeleteProc) _ANSI_ARGS_((TclAccessProc_ * proc)); /* 1 */ - int (*tclAccessInsertProc) _ANSI_ARGS_((TclAccessProc_ * proc)); /* 2 */ - void (*tclAllocateFreeObjects) _ANSI_ARGS_((void)); /* 3 */ - void *reserved4; -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - int (*tclCleanupChildren) _ANSI_ARGS_((Tcl_Interp * interp, int numPids, Tcl_Pid * pidPtr, Tcl_Channel errorChan)); /* 5 */ -#endif /* UNIX */ -#ifdef __WIN32__ - int (*tclCleanupChildren) _ANSI_ARGS_((Tcl_Interp * interp, int numPids, Tcl_Pid * pidPtr, Tcl_Channel errorChan)); /* 5 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void *reserved5; -#endif /* MAC_TCL */ - void (*tclCleanupCommand) _ANSI_ARGS_((Command * cmdPtr)); /* 6 */ - int (*tclCopyAndCollapse) _ANSI_ARGS_((int count, CONST char * src, char * dst)); /* 7 */ - int (*tclCopyChannel) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Channel inChan, Tcl_Channel outChan, int toRead, Tcl_Obj * cmdPtr)); /* 8 */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - int (*tclCreatePipeline) _ANSI_ARGS_((Tcl_Interp * interp, int argc, char ** argv, Tcl_Pid ** pidArrayPtr, TclFile * inPipePtr, TclFile * outPipePtr, TclFile * errFilePtr)); /* 9 */ -#endif /* UNIX */ -#ifdef __WIN32__ - int (*tclCreatePipeline) _ANSI_ARGS_((Tcl_Interp * interp, int argc, char ** argv, Tcl_Pid ** pidArrayPtr, TclFile * inPipePtr, TclFile * outPipePtr, TclFile * errFilePtr)); /* 9 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void *reserved9; -#endif /* MAC_TCL */ - int (*tclCreateProc) _ANSI_ARGS_((Tcl_Interp * interp, Namespace * nsPtr, char * procName, Tcl_Obj * argsPtr, Tcl_Obj * bodyPtr, Proc ** procPtrPtr)); /* 10 */ - void (*tclDeleteCompiledLocalVars) _ANSI_ARGS_((Interp * iPtr, CallFrame * framePtr)); /* 11 */ - void (*tclDeleteVars) _ANSI_ARGS_((Interp * iPtr, Tcl_HashTable * tablePtr)); /* 12 */ - int (*tclDoGlob) _ANSI_ARGS_((Tcl_Interp * interp, char * separators, Tcl_DString * headPtr, char * tail, GlobTypeData * types)); /* 13 */ - void (*tclDumpMemoryInfo) _ANSI_ARGS_((FILE * outFile)); /* 14 */ - void *reserved15; - void (*tclExprFloatError) _ANSI_ARGS_((Tcl_Interp * interp, double value)); /* 16 */ - int (*tclFileAttrsCmd) _ANSI_ARGS_((Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[])); /* 17 */ - int (*tclFileCopyCmd) _ANSI_ARGS_((Tcl_Interp * interp, int argc, char ** argv)); /* 18 */ - int (*tclFileDeleteCmd) _ANSI_ARGS_((Tcl_Interp * interp, int argc, char ** argv)); /* 19 */ - int (*tclFileMakeDirsCmd) _ANSI_ARGS_((Tcl_Interp * interp, int argc, char ** argv)); /* 20 */ - int (*tclFileRenameCmd) _ANSI_ARGS_((Tcl_Interp * interp, int argc, char ** argv)); /* 21 */ - int (*tclFindElement) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * listStr, int listLength, CONST char ** elementPtr, CONST char ** nextPtr, int * sizePtr, int * bracePtr)); /* 22 */ - Proc * (*tclFindProc) _ANSI_ARGS_((Interp * iPtr, char * procName)); /* 23 */ - int (*tclFormatInt) _ANSI_ARGS_((char * buffer, long n)); /* 24 */ - void (*tclFreePackageInfo) _ANSI_ARGS_((Interp * iPtr)); /* 25 */ - void *reserved26; - int (*tclGetDate) _ANSI_ARGS_((char * p, unsigned long now, long zone, unsigned long * timePtr)); /* 27 */ - Tcl_Channel (*tclpGetDefaultStdChannel) _ANSI_ARGS_((int type)); /* 28 */ - Tcl_Obj * (*tclGetElementOfIndexedArray) _ANSI_ARGS_((Tcl_Interp * interp, int localIndex, Tcl_Obj * elemPtr, int leaveErrorMsg)); /* 29 */ - void *reserved30; - char * (*tclGetExtension) _ANSI_ARGS_((char * name)); /* 31 */ - int (*tclGetFrame) _ANSI_ARGS_((Tcl_Interp * interp, char * str, CallFrame ** framePtrPtr)); /* 32 */ - TclCmdProcType (*tclGetInterpProc) _ANSI_ARGS_((void)); /* 33 */ - int (*tclGetIntForIndex) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * objPtr, int endValue, int * indexPtr)); /* 34 */ - Tcl_Obj * (*tclGetIndexedScalar) _ANSI_ARGS_((Tcl_Interp * interp, int localIndex, int leaveErrorMsg)); /* 35 */ - int (*tclGetLong) _ANSI_ARGS_((Tcl_Interp * interp, char * str, long * longPtr)); /* 36 */ - int (*tclGetLoadedPackages) _ANSI_ARGS_((Tcl_Interp * interp, char * targetName)); /* 37 */ - int (*tclGetNamespaceForQualName) _ANSI_ARGS_((Tcl_Interp * interp, char * qualName, Namespace * cxtNsPtr, int flags, Namespace ** nsPtrPtr, Namespace ** altNsPtrPtr, Namespace ** actualCxtPtrPtr, char ** simpleNamePtr)); /* 38 */ - TclObjCmdProcType (*tclGetObjInterpProc) _ANSI_ARGS_((void)); /* 39 */ - int (*tclGetOpenMode) _ANSI_ARGS_((Tcl_Interp * interp, char * str, int * seekFlagPtr)); /* 40 */ - Tcl_Command (*tclGetOriginalCommand) _ANSI_ARGS_((Tcl_Command command)); /* 41 */ - char * (*tclpGetUserHome) _ANSI_ARGS_((CONST char * name, Tcl_DString * bufferPtr)); /* 42 */ - int (*tclGlobalInvoke) _ANSI_ARGS_((Tcl_Interp * interp, int argc, char ** argv, int flags)); /* 43 */ - int (*tclGuessPackageName) _ANSI_ARGS_((char * fileName, Tcl_DString * bufPtr)); /* 44 */ - int (*tclHideUnsafeCommands) _ANSI_ARGS_((Tcl_Interp * interp)); /* 45 */ - int (*tclInExit) _ANSI_ARGS_((void)); /* 46 */ - Tcl_Obj * (*tclIncrElementOfIndexedArray) _ANSI_ARGS_((Tcl_Interp * interp, int localIndex, Tcl_Obj * elemPtr, long incrAmount)); /* 47 */ - Tcl_Obj * (*tclIncrIndexedScalar) _ANSI_ARGS_((Tcl_Interp * interp, int localIndex, long incrAmount)); /* 48 */ - Tcl_Obj * (*tclIncrVar2) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * part1Ptr, Tcl_Obj * part2Ptr, long incrAmount, int part1NotParsed)); /* 49 */ - void (*tclInitCompiledLocals) _ANSI_ARGS_((Tcl_Interp * interp, CallFrame * framePtr, Namespace * nsPtr)); /* 50 */ - int (*tclInterpInit) _ANSI_ARGS_((Tcl_Interp * interp)); /* 51 */ - int (*tclInvoke) _ANSI_ARGS_((Tcl_Interp * interp, int argc, char ** argv, int flags)); /* 52 */ - int (*tclInvokeObjectCommand) _ANSI_ARGS_((ClientData clientData, Tcl_Interp * interp, int argc, char ** argv)); /* 53 */ - int (*tclInvokeStringCommand) _ANSI_ARGS_((ClientData clientData, Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[])); /* 54 */ - Proc * (*tclIsProc) _ANSI_ARGS_((Command * cmdPtr)); /* 55 */ - void *reserved56; - void *reserved57; - Var * (*tclLookupVar) _ANSI_ARGS_((Tcl_Interp * interp, char * part1, char * part2, int flags, char * msg, int createPart1, int createPart2, Var ** arrayPtrPtr)); /* 58 */ - int (*tclpMatchFiles) _ANSI_ARGS_((Tcl_Interp * interp, char * separators, Tcl_DString * dirPtr, char * pattern, char * tail)); /* 59 */ - int (*tclNeedSpace) _ANSI_ARGS_((char * start, char * end)); /* 60 */ - Tcl_Obj * (*tclNewProcBodyObj) _ANSI_ARGS_((Proc * procPtr)); /* 61 */ - int (*tclObjCommandComplete) _ANSI_ARGS_((Tcl_Obj * cmdPtr)); /* 62 */ - int (*tclObjInterpProc) _ANSI_ARGS_((ClientData clientData, Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[])); /* 63 */ - int (*tclObjInvoke) _ANSI_ARGS_((Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[], int flags)); /* 64 */ - int (*tclObjInvokeGlobal) _ANSI_ARGS_((Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[], int flags)); /* 65 */ - int (*tclOpenFileChannelDeleteProc) _ANSI_ARGS_((TclOpenFileChannelProc_ * proc)); /* 66 */ - int (*tclOpenFileChannelInsertProc) _ANSI_ARGS_((TclOpenFileChannelProc_ * proc)); /* 67 */ - int (*tclpAccess) _ANSI_ARGS_((CONST char * path, int mode)); /* 68 */ - char * (*tclpAlloc) _ANSI_ARGS_((unsigned int size)); /* 69 */ - int (*tclpCopyFile) _ANSI_ARGS_((CONST char * source, CONST char * dest)); /* 70 */ - int (*tclpCopyDirectory) _ANSI_ARGS_((CONST char * source, CONST char * dest, Tcl_DString * errorPtr)); /* 71 */ - int (*tclpCreateDirectory) _ANSI_ARGS_((CONST char * path)); /* 72 */ - int (*tclpDeleteFile) _ANSI_ARGS_((CONST char * path)); /* 73 */ - void (*tclpFree) _ANSI_ARGS_((char * ptr)); /* 74 */ - unsigned long (*tclpGetClicks) _ANSI_ARGS_((void)); /* 75 */ - unsigned long (*tclpGetSeconds) _ANSI_ARGS_((void)); /* 76 */ - void (*tclpGetTime) _ANSI_ARGS_((Tcl_Time * time)); /* 77 */ - int (*tclpGetTimeZone) _ANSI_ARGS_((unsigned long time)); /* 78 */ - int (*tclpListVolumes) _ANSI_ARGS_((Tcl_Interp * interp)); /* 79 */ - Tcl_Channel (*tclpOpenFileChannel) _ANSI_ARGS_((Tcl_Interp * interp, char * fileName, char * modeString, int permissions)); /* 80 */ - char * (*tclpRealloc) _ANSI_ARGS_((char * ptr, unsigned int size)); /* 81 */ - int (*tclpRemoveDirectory) _ANSI_ARGS_((CONST char * path, int recursive, Tcl_DString * errorPtr)); /* 82 */ - int (*tclpRenameFile) _ANSI_ARGS_((CONST char * source, CONST char * dest)); /* 83 */ - void *reserved84; - void *reserved85; - void *reserved86; - void *reserved87; - char * (*tclPrecTraceProc) _ANSI_ARGS_((ClientData clientData, Tcl_Interp * interp, char * name1, char * name2, int flags)); /* 88 */ - int (*tclPreventAliasLoop) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Interp * cmdInterp, Tcl_Command cmd)); /* 89 */ - void *reserved90; - void (*tclProcCleanupProc) _ANSI_ARGS_((Proc * procPtr)); /* 91 */ - int (*tclProcCompileProc) _ANSI_ARGS_((Tcl_Interp * interp, Proc * procPtr, Tcl_Obj * bodyPtr, Namespace * nsPtr, CONST char * description, CONST char * procName)); /* 92 */ - void (*tclProcDeleteProc) _ANSI_ARGS_((ClientData clientData)); /* 93 */ - int (*tclProcInterpProc) _ANSI_ARGS_((ClientData clientData, Tcl_Interp * interp, int argc, char ** argv)); /* 94 */ - int (*tclpStat) _ANSI_ARGS_((CONST char * path, struct stat * buf)); /* 95 */ - int (*tclRenameCommand) _ANSI_ARGS_((Tcl_Interp * interp, char * oldName, char * newName)); /* 96 */ - void (*tclResetShadowedCmdRefs) _ANSI_ARGS_((Tcl_Interp * interp, Command * newCmdPtr)); /* 97 */ - int (*tclServiceIdle) _ANSI_ARGS_((void)); /* 98 */ - Tcl_Obj * (*tclSetElementOfIndexedArray) _ANSI_ARGS_((Tcl_Interp * interp, int localIndex, Tcl_Obj * elemPtr, Tcl_Obj * objPtr, int leaveErrorMsg)); /* 99 */ - Tcl_Obj * (*tclSetIndexedScalar) _ANSI_ARGS_((Tcl_Interp * interp, int localIndex, Tcl_Obj * objPtr, int leaveErrorMsg)); /* 100 */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - char * (*tclSetPreInitScript) _ANSI_ARGS_((char * string)); /* 101 */ -#endif /* UNIX */ -#ifdef __WIN32__ - char * (*tclSetPreInitScript) _ANSI_ARGS_((char * string)); /* 101 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void *reserved101; -#endif /* MAC_TCL */ - void (*tclSetupEnv) _ANSI_ARGS_((Tcl_Interp * interp)); /* 102 */ - int (*tclSockGetPort) _ANSI_ARGS_((Tcl_Interp * interp, char * str, char * proto, int * portPtr)); /* 103 */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - int (*tclSockMinimumBuffers) _ANSI_ARGS_((int sock, int size)); /* 104 */ -#endif /* UNIX */ -#ifdef __WIN32__ - int (*tclSockMinimumBuffers) _ANSI_ARGS_((int sock, int size)); /* 104 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void *reserved104; -#endif /* MAC_TCL */ - int (*tclStat) _ANSI_ARGS_((CONST char * path, struct stat * buf)); /* 105 */ - int (*tclStatDeleteProc) _ANSI_ARGS_((TclStatProc_ * proc)); /* 106 */ - int (*tclStatInsertProc) _ANSI_ARGS_((TclStatProc_ * proc)); /* 107 */ - void (*tclTeardownNamespace) _ANSI_ARGS_((Namespace * nsPtr)); /* 108 */ - int (*tclUpdateReturnInfo) _ANSI_ARGS_((Interp * iPtr)); /* 109 */ - void *reserved110; - void (*tcl_AddInterpResolvers) _ANSI_ARGS_((Tcl_Interp * interp, char * name, Tcl_ResolveCmdProc * cmdProc, Tcl_ResolveVarProc * varProc, Tcl_ResolveCompiledVarProc * compiledVarProc)); /* 111 */ - int (*tcl_AppendExportList) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Namespace * nsPtr, Tcl_Obj * objPtr)); /* 112 */ - Tcl_Namespace * (*tcl_CreateNamespace) _ANSI_ARGS_((Tcl_Interp * interp, char * name, ClientData clientData, Tcl_NamespaceDeleteProc * deleteProc)); /* 113 */ - void (*tcl_DeleteNamespace) _ANSI_ARGS_((Tcl_Namespace * nsPtr)); /* 114 */ - int (*tcl_Export) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Namespace * nsPtr, char * pattern, int resetListFirst)); /* 115 */ - Tcl_Command (*tcl_FindCommand) _ANSI_ARGS_((Tcl_Interp * interp, char * name, Tcl_Namespace * contextNsPtr, int flags)); /* 116 */ - Tcl_Namespace * (*tcl_FindNamespace) _ANSI_ARGS_((Tcl_Interp * interp, char * name, Tcl_Namespace * contextNsPtr, int flags)); /* 117 */ - int (*tcl_GetInterpResolvers) _ANSI_ARGS_((Tcl_Interp * interp, char * name, Tcl_ResolverInfo * resInfo)); /* 118 */ - int (*tcl_GetNamespaceResolvers) _ANSI_ARGS_((Tcl_Namespace * namespacePtr, Tcl_ResolverInfo * resInfo)); /* 119 */ - Tcl_Var (*tcl_FindNamespaceVar) _ANSI_ARGS_((Tcl_Interp * interp, char * name, Tcl_Namespace * contextNsPtr, int flags)); /* 120 */ - int (*tcl_ForgetImport) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Namespace * nsPtr, char * pattern)); /* 121 */ - Tcl_Command (*tcl_GetCommandFromObj) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * objPtr)); /* 122 */ - void (*tcl_GetCommandFullName) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Command command, Tcl_Obj * objPtr)); /* 123 */ - Tcl_Namespace * (*tcl_GetCurrentNamespace) _ANSI_ARGS_((Tcl_Interp * interp)); /* 124 */ - Tcl_Namespace * (*tcl_GetGlobalNamespace) _ANSI_ARGS_((Tcl_Interp * interp)); /* 125 */ - void (*tcl_GetVariableFullName) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Var variable, Tcl_Obj * objPtr)); /* 126 */ - int (*tcl_Import) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Namespace * nsPtr, char * pattern, int allowOverwrite)); /* 127 */ - void (*tcl_PopCallFrame) _ANSI_ARGS_((Tcl_Interp* interp)); /* 128 */ - int (*tcl_PushCallFrame) _ANSI_ARGS_((Tcl_Interp* interp, Tcl_CallFrame * framePtr, Tcl_Namespace * nsPtr, int isProcCallFrame)); /* 129 */ - int (*tcl_RemoveInterpResolvers) _ANSI_ARGS_((Tcl_Interp * interp, char * name)); /* 130 */ - void (*tcl_SetNamespaceResolvers) _ANSI_ARGS_((Tcl_Namespace * namespacePtr, Tcl_ResolveCmdProc * cmdProc, Tcl_ResolveVarProc * varProc, Tcl_ResolveCompiledVarProc * compiledVarProc)); /* 131 */ - int (*tclpHasSockets) _ANSI_ARGS_((Tcl_Interp * interp)); /* 132 */ - struct tm * (*tclpGetDate) _ANSI_ARGS_((TclpTime_t time, int useGMT)); /* 133 */ - size_t (*tclpStrftime) _ANSI_ARGS_((char * s, size_t maxsize, CONST char * format, CONST struct tm * t)); /* 134 */ - int (*tclpCheckStackSpace) _ANSI_ARGS_((void)); /* 135 */ - void *reserved136; - int (*tclpChdir) _ANSI_ARGS_((CONST char * dirName)); /* 137 */ - char * (*tclGetEnv) _ANSI_ARGS_((CONST char * name, Tcl_DString * valuePtr)); /* 138 */ - int (*tclpLoadFile) _ANSI_ARGS_((Tcl_Interp * interp, char * fileName, char * sym1, char * sym2, Tcl_PackageInitProc ** proc1Ptr, Tcl_PackageInitProc ** proc2Ptr, ClientData * clientDataPtr)); /* 139 */ - int (*tclLooksLikeInt) _ANSI_ARGS_((char * bytes, int length)); /* 140 */ - char * (*tclpGetCwd) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_DString * cwdPtr)); /* 141 */ - int (*tclSetByteCodeFromAny) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * objPtr, CompileHookProc * hookProc, ClientData clientData)); /* 142 */ - int (*tclAddLiteralObj) _ANSI_ARGS_((struct CompileEnv * envPtr, Tcl_Obj * objPtr, LiteralEntry ** litPtrPtr)); /* 143 */ - void (*tclHideLiteral) _ANSI_ARGS_((Tcl_Interp * interp, struct CompileEnv * envPtr, int index)); /* 144 */ - struct AuxDataType * (*tclGetAuxDataType) _ANSI_ARGS_((char * typeName)); /* 145 */ - TclHandle (*tclHandleCreate) _ANSI_ARGS_((VOID * ptr)); /* 146 */ - void (*tclHandleFree) _ANSI_ARGS_((TclHandle handle)); /* 147 */ - TclHandle (*tclHandlePreserve) _ANSI_ARGS_((TclHandle handle)); /* 148 */ - void (*tclHandleRelease) _ANSI_ARGS_((TclHandle handle)); /* 149 */ - int (*tclRegAbout) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_RegExp re)); /* 150 */ - void (*tclRegExpRangeUniChar) _ANSI_ARGS_((Tcl_RegExp re, int index, int * startPtr, int * endPtr)); /* 151 */ - void (*tclSetLibraryPath) _ANSI_ARGS_((Tcl_Obj * pathPtr)); /* 152 */ - Tcl_Obj * (*tclGetLibraryPath) _ANSI_ARGS_((void)); /* 153 */ - void *reserved154; - void *reserved155; - void (*tclRegError) _ANSI_ARGS_((Tcl_Interp * interp, char * msg, int status)); /* 156 */ - Var * (*tclVarTraceExists) _ANSI_ARGS_((Tcl_Interp * interp, char * varName)); /* 157 */ - void (*tclSetStartupScriptFileName) _ANSI_ARGS_((char * filename)); /* 158 */ - char * (*tclGetStartupScriptFileName) _ANSI_ARGS_((void)); /* 159 */ - int (*tclpMatchFilesTypes) _ANSI_ARGS_((Tcl_Interp * interp, char * separators, Tcl_DString * dirPtr, char * pattern, char * tail, GlobTypeData * types)); /* 160 */ - int (*tclChannelTransform) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Channel chan, Tcl_Obj * cmdObjPtr)); /* 161 */ - void (*tclChannelEventScriptInvoker) _ANSI_ARGS_((ClientData clientData, int flags)); /* 162 */ -} TclIntStubs; - -#ifdef __cplusplus -extern "C" { -#endif -extern TclIntStubs *tclIntStubsPtr; -#ifdef __cplusplus -} -#endif - -#if defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) - -/* - * Inline function declarations: - */ - -#ifndef TclAccess -#define TclAccess \ - (tclIntStubsPtr->tclAccess) /* 0 */ -#endif -#ifndef TclAccessDeleteProc -#define TclAccessDeleteProc \ - (tclIntStubsPtr->tclAccessDeleteProc) /* 1 */ -#endif -#ifndef TclAccessInsertProc -#define TclAccessInsertProc \ - (tclIntStubsPtr->tclAccessInsertProc) /* 2 */ -#endif -#ifndef TclAllocateFreeObjects -#define TclAllocateFreeObjects \ - (tclIntStubsPtr->tclAllocateFreeObjects) /* 3 */ -#endif -/* Slot 4 is reserved */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -#ifndef TclCleanupChildren -#define TclCleanupChildren \ - (tclIntStubsPtr->tclCleanupChildren) /* 5 */ -#endif -#endif /* UNIX */ -#ifdef __WIN32__ -#ifndef TclCleanupChildren -#define TclCleanupChildren \ - (tclIntStubsPtr->tclCleanupChildren) /* 5 */ -#endif -#endif /* __WIN32__ */ -#ifndef TclCleanupCommand -#define TclCleanupCommand \ - (tclIntStubsPtr->tclCleanupCommand) /* 6 */ -#endif -#ifndef TclCopyAndCollapse -#define TclCopyAndCollapse \ - (tclIntStubsPtr->tclCopyAndCollapse) /* 7 */ -#endif -#ifndef TclCopyChannel -#define TclCopyChannel \ - (tclIntStubsPtr->tclCopyChannel) /* 8 */ -#endif -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -#ifndef TclCreatePipeline -#define TclCreatePipeline \ - (tclIntStubsPtr->tclCreatePipeline) /* 9 */ -#endif -#endif /* UNIX */ -#ifdef __WIN32__ -#ifndef TclCreatePipeline -#define TclCreatePipeline \ - (tclIntStubsPtr->tclCreatePipeline) /* 9 */ -#endif -#endif /* __WIN32__ */ -#ifndef TclCreateProc -#define TclCreateProc \ - (tclIntStubsPtr->tclCreateProc) /* 10 */ -#endif -#ifndef TclDeleteCompiledLocalVars -#define TclDeleteCompiledLocalVars \ - (tclIntStubsPtr->tclDeleteCompiledLocalVars) /* 11 */ -#endif -#ifndef TclDeleteVars -#define TclDeleteVars \ - (tclIntStubsPtr->tclDeleteVars) /* 12 */ -#endif -#ifndef TclDoGlob -#define TclDoGlob \ - (tclIntStubsPtr->tclDoGlob) /* 13 */ -#endif -#ifndef TclDumpMemoryInfo -#define TclDumpMemoryInfo \ - (tclIntStubsPtr->tclDumpMemoryInfo) /* 14 */ -#endif -/* Slot 15 is reserved */ -#ifndef TclExprFloatError -#define TclExprFloatError \ - (tclIntStubsPtr->tclExprFloatError) /* 16 */ -#endif -#ifndef TclFileAttrsCmd -#define TclFileAttrsCmd \ - (tclIntStubsPtr->tclFileAttrsCmd) /* 17 */ -#endif -#ifndef TclFileCopyCmd -#define TclFileCopyCmd \ - (tclIntStubsPtr->tclFileCopyCmd) /* 18 */ -#endif -#ifndef TclFileDeleteCmd -#define TclFileDeleteCmd \ - (tclIntStubsPtr->tclFileDeleteCmd) /* 19 */ -#endif -#ifndef TclFileMakeDirsCmd -#define TclFileMakeDirsCmd \ - (tclIntStubsPtr->tclFileMakeDirsCmd) /* 20 */ -#endif -#ifndef TclFileRenameCmd -#define TclFileRenameCmd \ - (tclIntStubsPtr->tclFileRenameCmd) /* 21 */ -#endif -#ifndef TclFindElement -#define TclFindElement \ - (tclIntStubsPtr->tclFindElement) /* 22 */ -#endif -#ifndef TclFindProc -#define TclFindProc \ - (tclIntStubsPtr->tclFindProc) /* 23 */ -#endif -#ifndef TclFormatInt -#define TclFormatInt \ - (tclIntStubsPtr->tclFormatInt) /* 24 */ -#endif -#ifndef TclFreePackageInfo -#define TclFreePackageInfo \ - (tclIntStubsPtr->tclFreePackageInfo) /* 25 */ -#endif -/* Slot 26 is reserved */ -#ifndef TclGetDate -#define TclGetDate \ - (tclIntStubsPtr->tclGetDate) /* 27 */ -#endif -#ifndef TclpGetDefaultStdChannel -#define TclpGetDefaultStdChannel \ - (tclIntStubsPtr->tclpGetDefaultStdChannel) /* 28 */ -#endif -#ifndef TclGetElementOfIndexedArray -#define TclGetElementOfIndexedArray \ - (tclIntStubsPtr->tclGetElementOfIndexedArray) /* 29 */ -#endif -/* Slot 30 is reserved */ -#ifndef TclGetExtension -#define TclGetExtension \ - (tclIntStubsPtr->tclGetExtension) /* 31 */ -#endif -#ifndef TclGetFrame -#define TclGetFrame \ - (tclIntStubsPtr->tclGetFrame) /* 32 */ -#endif -#ifndef TclGetInterpProc -#define TclGetInterpProc \ - (tclIntStubsPtr->tclGetInterpProc) /* 33 */ -#endif -#ifndef TclGetIntForIndex -#define TclGetIntForIndex \ - (tclIntStubsPtr->tclGetIntForIndex) /* 34 */ -#endif -#ifndef TclGetIndexedScalar -#define TclGetIndexedScalar \ - (tclIntStubsPtr->tclGetIndexedScalar) /* 35 */ -#endif -#ifndef TclGetLong -#define TclGetLong \ - (tclIntStubsPtr->tclGetLong) /* 36 */ -#endif -#ifndef TclGetLoadedPackages -#define TclGetLoadedPackages \ - (tclIntStubsPtr->tclGetLoadedPackages) /* 37 */ -#endif -#ifndef TclGetNamespaceForQualName -#define TclGetNamespaceForQualName \ - (tclIntStubsPtr->tclGetNamespaceForQualName) /* 38 */ -#endif -#ifndef TclGetObjInterpProc -#define TclGetObjInterpProc \ - (tclIntStubsPtr->tclGetObjInterpProc) /* 39 */ -#endif -#ifndef TclGetOpenMode -#define TclGetOpenMode \ - (tclIntStubsPtr->tclGetOpenMode) /* 40 */ -#endif -#ifndef TclGetOriginalCommand -#define TclGetOriginalCommand \ - (tclIntStubsPtr->tclGetOriginalCommand) /* 41 */ -#endif -#ifndef TclpGetUserHome -#define TclpGetUserHome \ - (tclIntStubsPtr->tclpGetUserHome) /* 42 */ -#endif -#ifndef TclGlobalInvoke -#define TclGlobalInvoke \ - (tclIntStubsPtr->tclGlobalInvoke) /* 43 */ -#endif -#ifndef TclGuessPackageName -#define TclGuessPackageName \ - (tclIntStubsPtr->tclGuessPackageName) /* 44 */ -#endif -#ifndef TclHideUnsafeCommands -#define TclHideUnsafeCommands \ - (tclIntStubsPtr->tclHideUnsafeCommands) /* 45 */ -#endif -#ifndef TclInExit -#define TclInExit \ - (tclIntStubsPtr->tclInExit) /* 46 */ -#endif -#ifndef TclIncrElementOfIndexedArray -#define TclIncrElementOfIndexedArray \ - (tclIntStubsPtr->tclIncrElementOfIndexedArray) /* 47 */ -#endif -#ifndef TclIncrIndexedScalar -#define TclIncrIndexedScalar \ - (tclIntStubsPtr->tclIncrIndexedScalar) /* 48 */ -#endif -#ifndef TclIncrVar2 -#define TclIncrVar2 \ - (tclIntStubsPtr->tclIncrVar2) /* 49 */ -#endif -#ifndef TclInitCompiledLocals -#define TclInitCompiledLocals \ - (tclIntStubsPtr->tclInitCompiledLocals) /* 50 */ -#endif -#ifndef TclInterpInit -#define TclInterpInit \ - (tclIntStubsPtr->tclInterpInit) /* 51 */ -#endif -#ifndef TclInvoke -#define TclInvoke \ - (tclIntStubsPtr->tclInvoke) /* 52 */ -#endif -#ifndef TclInvokeObjectCommand -#define TclInvokeObjectCommand \ - (tclIntStubsPtr->tclInvokeObjectCommand) /* 53 */ -#endif -#ifndef TclInvokeStringCommand -#define TclInvokeStringCommand \ - (tclIntStubsPtr->tclInvokeStringCommand) /* 54 */ -#endif -#ifndef TclIsProc -#define TclIsProc \ - (tclIntStubsPtr->tclIsProc) /* 55 */ -#endif -/* Slot 56 is reserved */ -/* Slot 57 is reserved */ -#ifndef TclLookupVar -#define TclLookupVar \ - (tclIntStubsPtr->tclLookupVar) /* 58 */ -#endif -#ifndef TclpMatchFiles -#define TclpMatchFiles \ - (tclIntStubsPtr->tclpMatchFiles) /* 59 */ -#endif -#ifndef TclNeedSpace -#define TclNeedSpace \ - (tclIntStubsPtr->tclNeedSpace) /* 60 */ -#endif -#ifndef TclNewProcBodyObj -#define TclNewProcBodyObj \ - (tclIntStubsPtr->tclNewProcBodyObj) /* 61 */ -#endif -#ifndef TclObjCommandComplete -#define TclObjCommandComplete \ - (tclIntStubsPtr->tclObjCommandComplete) /* 62 */ -#endif -#ifndef TclObjInterpProc -#define TclObjInterpProc \ - (tclIntStubsPtr->tclObjInterpProc) /* 63 */ -#endif -#ifndef TclObjInvoke -#define TclObjInvoke \ - (tclIntStubsPtr->tclObjInvoke) /* 64 */ -#endif -#ifndef TclObjInvokeGlobal -#define TclObjInvokeGlobal \ - (tclIntStubsPtr->tclObjInvokeGlobal) /* 65 */ -#endif -#ifndef TclOpenFileChannelDeleteProc -#define TclOpenFileChannelDeleteProc \ - (tclIntStubsPtr->tclOpenFileChannelDeleteProc) /* 66 */ -#endif -#ifndef TclOpenFileChannelInsertProc -#define TclOpenFileChannelInsertProc \ - (tclIntStubsPtr->tclOpenFileChannelInsertProc) /* 67 */ -#endif -#ifndef TclpAccess -#define TclpAccess \ - (tclIntStubsPtr->tclpAccess) /* 68 */ -#endif -#ifndef TclpAlloc -#define TclpAlloc \ - (tclIntStubsPtr->tclpAlloc) /* 69 */ -#endif -#ifndef TclpCopyFile -#define TclpCopyFile \ - (tclIntStubsPtr->tclpCopyFile) /* 70 */ -#endif -#ifndef TclpCopyDirectory -#define TclpCopyDirectory \ - (tclIntStubsPtr->tclpCopyDirectory) /* 71 */ -#endif -#ifndef TclpCreateDirectory -#define TclpCreateDirectory \ - (tclIntStubsPtr->tclpCreateDirectory) /* 72 */ -#endif -#ifndef TclpDeleteFile -#define TclpDeleteFile \ - (tclIntStubsPtr->tclpDeleteFile) /* 73 */ -#endif -#ifndef TclpFree -#define TclpFree \ - (tclIntStubsPtr->tclpFree) /* 74 */ -#endif -#ifndef TclpGetClicks -#define TclpGetClicks \ - (tclIntStubsPtr->tclpGetClicks) /* 75 */ -#endif -#ifndef TclpGetSeconds -#define TclpGetSeconds \ - (tclIntStubsPtr->tclpGetSeconds) /* 76 */ -#endif -#ifndef TclpGetTime -#define TclpGetTime \ - (tclIntStubsPtr->tclpGetTime) /* 77 */ -#endif -#ifndef TclpGetTimeZone -#define TclpGetTimeZone \ - (tclIntStubsPtr->tclpGetTimeZone) /* 78 */ -#endif -#ifndef TclpListVolumes -#define TclpListVolumes \ - (tclIntStubsPtr->tclpListVolumes) /* 79 */ -#endif -#ifndef TclpOpenFileChannel -#define TclpOpenFileChannel \ - (tclIntStubsPtr->tclpOpenFileChannel) /* 80 */ -#endif -#ifndef TclpRealloc -#define TclpRealloc \ - (tclIntStubsPtr->tclpRealloc) /* 81 */ -#endif -#ifndef TclpRemoveDirectory -#define TclpRemoveDirectory \ - (tclIntStubsPtr->tclpRemoveDirectory) /* 82 */ -#endif -#ifndef TclpRenameFile -#define TclpRenameFile \ - (tclIntStubsPtr->tclpRenameFile) /* 83 */ -#endif -/* Slot 84 is reserved */ -/* Slot 85 is reserved */ -/* Slot 86 is reserved */ -/* Slot 87 is reserved */ -#ifndef TclPrecTraceProc -#define TclPrecTraceProc \ - (tclIntStubsPtr->tclPrecTraceProc) /* 88 */ -#endif -#ifndef TclPreventAliasLoop -#define TclPreventAliasLoop \ - (tclIntStubsPtr->tclPreventAliasLoop) /* 89 */ -#endif -/* Slot 90 is reserved */ -#ifndef TclProcCleanupProc -#define TclProcCleanupProc \ - (tclIntStubsPtr->tclProcCleanupProc) /* 91 */ -#endif -#ifndef TclProcCompileProc -#define TclProcCompileProc \ - (tclIntStubsPtr->tclProcCompileProc) /* 92 */ -#endif -#ifndef TclProcDeleteProc -#define TclProcDeleteProc \ - (tclIntStubsPtr->tclProcDeleteProc) /* 93 */ -#endif -#ifndef TclProcInterpProc -#define TclProcInterpProc \ - (tclIntStubsPtr->tclProcInterpProc) /* 94 */ -#endif -#ifndef TclpStat -#define TclpStat \ - (tclIntStubsPtr->tclpStat) /* 95 */ -#endif -#ifndef TclRenameCommand -#define TclRenameCommand \ - (tclIntStubsPtr->tclRenameCommand) /* 96 */ -#endif -#ifndef TclResetShadowedCmdRefs -#define TclResetShadowedCmdRefs \ - (tclIntStubsPtr->tclResetShadowedCmdRefs) /* 97 */ -#endif -#ifndef TclServiceIdle -#define TclServiceIdle \ - (tclIntStubsPtr->tclServiceIdle) /* 98 */ -#endif -#ifndef TclSetElementOfIndexedArray -#define TclSetElementOfIndexedArray \ - (tclIntStubsPtr->tclSetElementOfIndexedArray) /* 99 */ -#endif -#ifndef TclSetIndexedScalar -#define TclSetIndexedScalar \ - (tclIntStubsPtr->tclSetIndexedScalar) /* 100 */ -#endif -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -#ifndef TclSetPreInitScript -#define TclSetPreInitScript \ - (tclIntStubsPtr->tclSetPreInitScript) /* 101 */ -#endif -#endif /* UNIX */ -#ifdef __WIN32__ -#ifndef TclSetPreInitScript -#define TclSetPreInitScript \ - (tclIntStubsPtr->tclSetPreInitScript) /* 101 */ -#endif -#endif /* __WIN32__ */ -#ifndef TclSetupEnv -#define TclSetupEnv \ - (tclIntStubsPtr->tclSetupEnv) /* 102 */ -#endif -#ifndef TclSockGetPort -#define TclSockGetPort \ - (tclIntStubsPtr->tclSockGetPort) /* 103 */ -#endif -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -#ifndef TclSockMinimumBuffers -#define TclSockMinimumBuffers \ - (tclIntStubsPtr->tclSockMinimumBuffers) /* 104 */ -#endif -#endif /* UNIX */ -#ifdef __WIN32__ -#ifndef TclSockMinimumBuffers -#define TclSockMinimumBuffers \ - (tclIntStubsPtr->tclSockMinimumBuffers) /* 104 */ -#endif -#endif /* __WIN32__ */ -#ifndef TclStat -#define TclStat \ - (tclIntStubsPtr->tclStat) /* 105 */ -#endif -#ifndef TclStatDeleteProc -#define TclStatDeleteProc \ - (tclIntStubsPtr->tclStatDeleteProc) /* 106 */ -#endif -#ifndef TclStatInsertProc -#define TclStatInsertProc \ - (tclIntStubsPtr->tclStatInsertProc) /* 107 */ -#endif -#ifndef TclTeardownNamespace -#define TclTeardownNamespace \ - (tclIntStubsPtr->tclTeardownNamespace) /* 108 */ -#endif -#ifndef TclUpdateReturnInfo -#define TclUpdateReturnInfo \ - (tclIntStubsPtr->tclUpdateReturnInfo) /* 109 */ -#endif -/* Slot 110 is reserved */ -#ifndef Tcl_AddInterpResolvers -#define Tcl_AddInterpResolvers \ - (tclIntStubsPtr->tcl_AddInterpResolvers) /* 111 */ -#endif -#ifndef Tcl_AppendExportList -#define Tcl_AppendExportList \ - (tclIntStubsPtr->tcl_AppendExportList) /* 112 */ -#endif -#ifndef Tcl_CreateNamespace -#define Tcl_CreateNamespace \ - (tclIntStubsPtr->tcl_CreateNamespace) /* 113 */ -#endif -#ifndef Tcl_DeleteNamespace -#define Tcl_DeleteNamespace \ - (tclIntStubsPtr->tcl_DeleteNamespace) /* 114 */ -#endif -#ifndef Tcl_Export -#define Tcl_Export \ - (tclIntStubsPtr->tcl_Export) /* 115 */ -#endif -#ifndef Tcl_FindCommand -#define Tcl_FindCommand \ - (tclIntStubsPtr->tcl_FindCommand) /* 116 */ -#endif -#ifndef Tcl_FindNamespace -#define Tcl_FindNamespace \ - (tclIntStubsPtr->tcl_FindNamespace) /* 117 */ -#endif -#ifndef Tcl_GetInterpResolvers -#define Tcl_GetInterpResolvers \ - (tclIntStubsPtr->tcl_GetInterpResolvers) /* 118 */ -#endif -#ifndef Tcl_GetNamespaceResolvers -#define Tcl_GetNamespaceResolvers \ - (tclIntStubsPtr->tcl_GetNamespaceResolvers) /* 119 */ -#endif -#ifndef Tcl_FindNamespaceVar -#define Tcl_FindNamespaceVar \ - (tclIntStubsPtr->tcl_FindNamespaceVar) /* 120 */ -#endif -#ifndef Tcl_ForgetImport -#define Tcl_ForgetImport \ - (tclIntStubsPtr->tcl_ForgetImport) /* 121 */ -#endif -#ifndef Tcl_GetCommandFromObj -#define Tcl_GetCommandFromObj \ - (tclIntStubsPtr->tcl_GetCommandFromObj) /* 122 */ -#endif -#ifndef Tcl_GetCommandFullName -#define Tcl_GetCommandFullName \ - (tclIntStubsPtr->tcl_GetCommandFullName) /* 123 */ -#endif -#ifndef Tcl_GetCurrentNamespace -#define Tcl_GetCurrentNamespace \ - (tclIntStubsPtr->tcl_GetCurrentNamespace) /* 124 */ -#endif -#ifndef Tcl_GetGlobalNamespace -#define Tcl_GetGlobalNamespace \ - (tclIntStubsPtr->tcl_GetGlobalNamespace) /* 125 */ -#endif -#ifndef Tcl_GetVariableFullName -#define Tcl_GetVariableFullName \ - (tclIntStubsPtr->tcl_GetVariableFullName) /* 126 */ -#endif -#ifndef Tcl_Import -#define Tcl_Import \ - (tclIntStubsPtr->tcl_Import) /* 127 */ -#endif -#ifndef Tcl_PopCallFrame -#define Tcl_PopCallFrame \ - (tclIntStubsPtr->tcl_PopCallFrame) /* 128 */ -#endif -#ifndef Tcl_PushCallFrame -#define Tcl_PushCallFrame \ - (tclIntStubsPtr->tcl_PushCallFrame) /* 129 */ -#endif -#ifndef Tcl_RemoveInterpResolvers -#define Tcl_RemoveInterpResolvers \ - (tclIntStubsPtr->tcl_RemoveInterpResolvers) /* 130 */ -#endif -#ifndef Tcl_SetNamespaceResolvers -#define Tcl_SetNamespaceResolvers \ - (tclIntStubsPtr->tcl_SetNamespaceResolvers) /* 131 */ -#endif -#ifndef TclpHasSockets -#define TclpHasSockets \ - (tclIntStubsPtr->tclpHasSockets) /* 132 */ -#endif -#ifndef TclpGetDate -#define TclpGetDate \ - (tclIntStubsPtr->tclpGetDate) /* 133 */ -#endif -#ifndef TclpStrftime -#define TclpStrftime \ - (tclIntStubsPtr->tclpStrftime) /* 134 */ -#endif -#ifndef TclpCheckStackSpace -#define TclpCheckStackSpace \ - (tclIntStubsPtr->tclpCheckStackSpace) /* 135 */ -#endif -/* Slot 136 is reserved */ -#ifndef TclpChdir -#define TclpChdir \ - (tclIntStubsPtr->tclpChdir) /* 137 */ -#endif -#ifndef TclGetEnv -#define TclGetEnv \ - (tclIntStubsPtr->tclGetEnv) /* 138 */ -#endif -#ifndef TclpLoadFile -#define TclpLoadFile \ - (tclIntStubsPtr->tclpLoadFile) /* 139 */ -#endif -#ifndef TclLooksLikeInt -#define TclLooksLikeInt \ - (tclIntStubsPtr->tclLooksLikeInt) /* 140 */ -#endif -#ifndef TclpGetCwd -#define TclpGetCwd \ - (tclIntStubsPtr->tclpGetCwd) /* 141 */ -#endif -#ifndef TclSetByteCodeFromAny -#define TclSetByteCodeFromAny \ - (tclIntStubsPtr->tclSetByteCodeFromAny) /* 142 */ -#endif -#ifndef TclAddLiteralObj -#define TclAddLiteralObj \ - (tclIntStubsPtr->tclAddLiteralObj) /* 143 */ -#endif -#ifndef TclHideLiteral -#define TclHideLiteral \ - (tclIntStubsPtr->tclHideLiteral) /* 144 */ -#endif -#ifndef TclGetAuxDataType -#define TclGetAuxDataType \ - (tclIntStubsPtr->tclGetAuxDataType) /* 145 */ -#endif -#ifndef TclHandleCreate -#define TclHandleCreate \ - (tclIntStubsPtr->tclHandleCreate) /* 146 */ -#endif -#ifndef TclHandleFree -#define TclHandleFree \ - (tclIntStubsPtr->tclHandleFree) /* 147 */ -#endif -#ifndef TclHandlePreserve -#define TclHandlePreserve \ - (tclIntStubsPtr->tclHandlePreserve) /* 148 */ -#endif -#ifndef TclHandleRelease -#define TclHandleRelease \ - (tclIntStubsPtr->tclHandleRelease) /* 149 */ -#endif -#ifndef TclRegAbout -#define TclRegAbout \ - (tclIntStubsPtr->tclRegAbout) /* 150 */ -#endif -#ifndef TclRegExpRangeUniChar -#define TclRegExpRangeUniChar \ - (tclIntStubsPtr->tclRegExpRangeUniChar) /* 151 */ -#endif -#ifndef TclSetLibraryPath -#define TclSetLibraryPath \ - (tclIntStubsPtr->tclSetLibraryPath) /* 152 */ -#endif -#ifndef TclGetLibraryPath -#define TclGetLibraryPath \ - (tclIntStubsPtr->tclGetLibraryPath) /* 153 */ -#endif -/* Slot 154 is reserved */ -/* Slot 155 is reserved */ -#ifndef TclRegError -#define TclRegError \ - (tclIntStubsPtr->tclRegError) /* 156 */ -#endif -#ifndef TclVarTraceExists -#define TclVarTraceExists \ - (tclIntStubsPtr->tclVarTraceExists) /* 157 */ -#endif -#ifndef TclSetStartupScriptFileName -#define TclSetStartupScriptFileName \ - (tclIntStubsPtr->tclSetStartupScriptFileName) /* 158 */ -#endif -#ifndef TclGetStartupScriptFileName -#define TclGetStartupScriptFileName \ - (tclIntStubsPtr->tclGetStartupScriptFileName) /* 159 */ -#endif -#ifndef TclpMatchFilesTypes -#define TclpMatchFilesTypes \ - (tclIntStubsPtr->tclpMatchFilesTypes) /* 160 */ -#endif -#ifndef TclChannelTransform -#define TclChannelTransform \ - (tclIntStubsPtr->tclChannelTransform) /* 161 */ -#endif -#ifndef TclChannelEventScriptInvoker -#define TclChannelEventScriptInvoker \ - (tclIntStubsPtr->tclChannelEventScriptInvoker) /* 162 */ -#endif - -#endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */ - -/* !END!: Do not edit above this line. */ - -#endif /* _TCLINTDECLS */ diff --git a/src/other/togl/include/tcltk/tk8.3/tkInt.h b/src/other/togl/include/tcltk/tk8.3/tkInt.h deleted file mode 100644 index 7c63a8a1d18..00000000000 --- a/src/other/togl/include/tcltk/tk8.3/tkInt.h +++ /dev/null @@ -1,1097 +0,0 @@ -/* - * tkInt.h -- - * - * Declarations for things used internally by the Tk - * procedures but not exported outside the module. - * - * Copyright (c) 1990-1994 The Regents of the University of California. - * Copyright (c) 1994-1997 Sun Microsystems, Inc. - * Copyright (c) 1998 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: Id - */ - -#ifndef _TKINT -#define _TKINT - -#ifndef _TK -#include "tk.h" -#endif -#ifndef _TCL -#include "tcl.h" -#endif -#ifndef _TKPORT -#include -#endif - -/* - * Opaque type declarations: - */ - -typedef struct TkColormap TkColormap; -typedef struct TkGrabEvent TkGrabEvent; -typedef struct TkpCursor_ *TkpCursor; -typedef struct TkRegion_ *TkRegion; -typedef struct TkStressedCmap TkStressedCmap; -typedef struct TkBindInfo_ *TkBindInfo; - -/* - * Procedure types. - */ - -typedef int (TkBindEvalProc) _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, XEvent *eventPtr, Tk_Window tkwin, - KeySym keySym)); -typedef void (TkBindFreeProc) _ANSI_ARGS_((ClientData clientData)); -typedef Window (TkClassCreateProc) _ANSI_ARGS_((Tk_Window tkwin, - Window parent, ClientData instanceData)); -typedef void (TkClassGeometryProc) _ANSI_ARGS_((ClientData instanceData)); -typedef void (TkClassModalProc) _ANSI_ARGS_((Tk_Window tkwin, - XEvent *eventPtr)); - - -/* - * Widget class procedures used to implement platform specific widget - * behavior. - */ - -typedef struct TkClassProcs { - TkClassCreateProc *createProc; - /* Procedure to invoke when the - platform-dependent window needs to be - created. */ - TkClassGeometryProc *geometryProc; - /* Procedure to invoke when the geometry of a - window needs to be recalculated as a result - of some change in the system. */ - TkClassModalProc *modalProc; - /* Procedure to invoke after all bindings on a - widget have been triggered in order to - handle a modal loop. */ -} TkClassProcs; - -/* - * One of the following structures is maintained for each cursor in - * use in the system. This structure is used by tkCursor.c and the - * various system specific cursor files. - */ - -typedef struct TkCursor { - Tk_Cursor cursor; /* System specific identifier for cursor. */ - Display *display; /* Display containing cursor. Needed for - * disposal and retrieval of cursors. */ - int resourceRefCount; /* Number of active uses of this cursor (each - * active use corresponds to a call to - * Tk_AllocPreserveFromObj or Tk_Preserve). - * If this count is 0, then this structure - * is no longer valid and it isn't present - * in a hash table: it is being kept around - * only because there are objects referring - * to it. The structure is freed when - * resourceRefCount and objRefCount are - * both 0. */ - int objRefCount; /* Number of Tcl objects that reference - * this structure.. */ - Tcl_HashTable *otherTable; /* Second table (other than idTable) used - * to index this entry. */ - Tcl_HashEntry *hashPtr; /* Entry in otherTable for this structure - * (needed when deleting). */ - Tcl_HashEntry *idHashPtr; /* Entry in idTable for this structure - * (needed when deleting). */ - struct TkCursor *nextPtr; /* Points to the next TkCursor structure with - * the same name. Cursors with the same - * name but different displays are chained - * together off a single hash table entry. */ -} TkCursor; - -/* - * One of the following structures is maintained for each display - * containing a window managed by Tk. In part, the structure is - * used to store thread-specific data, since each thread will have - * its own TkDisplay structure. - */ - -typedef struct TkDisplay { - Display *display; /* Xlib's info about display. */ - struct TkDisplay *nextPtr; /* Next in list of all displays. */ - char *name; /* Name of display (with any screen - * identifier removed). Malloc-ed. */ - Time lastEventTime; /* Time of last event received for this - * display. */ - - /* - * Information used primarily by tk3d.c: - */ - - int borderInit; /* 0 means borderTable needs initializing. */ - Tcl_HashTable borderTable; /* Maps from color name to TkBorder - * structure. */ - - /* - * Information used by tkAtom.c only: - */ - - int atomInit; /* 0 means stuff below hasn't been - * initialized yet. */ - Tcl_HashTable nameTable; /* Maps from names to Atom's. */ - Tcl_HashTable atomTable; /* Maps from Atom's back to names. */ - - /* - * Information used primarily by tkBind.c: - */ - - int bindInfoStale; /* Non-zero means the variables in this - * part of the structure are potentially - * incorrect and should be recomputed. */ - unsigned int modeModMask; /* Has one bit set to indicate the modifier - * corresponding to "mode shift". If no - * such modifier, than this is zero. */ - unsigned int metaModMask; /* Has one bit set to indicate the modifier - * corresponding to the "Meta" key. If no - * such modifier, then this is zero. */ - unsigned int altModMask; /* Has one bit set to indicate the modifier - * corresponding to the "Meta" key. If no - * such modifier, then this is zero. */ - enum {LU_IGNORE, LU_CAPS, LU_SHIFT} lockUsage; - /* Indicates how to interpret lock modifier. */ - int numModKeyCodes; /* Number of entries in modKeyCodes array - * below. */ - KeyCode *modKeyCodes; /* Pointer to an array giving keycodes for - * all of the keys that have modifiers - * associated with them. Malloc'ed, but - * may be NULL. */ - - /* - * Information used by tkBitmap.c only: - */ - - int bitmapInit; /* 0 means tables above need initializing. */ - int bitmapAutoNumber; /* Used to number bitmaps. */ - Tcl_HashTable bitmapNameTable; - /* Maps from name of bitmap to the first - * TkBitmap record for that name. */ - Tcl_HashTable bitmapIdTable;/* Maps from bitmap id to the TkBitmap - * structure for the bitmap. */ - Tcl_HashTable bitmapDataTable; - /* Used by Tk_GetBitmapFromData to map from - * a collection of in-core data about a - * bitmap to a reference giving an auto- - * matically-generated name for the bitmap. */ - - /* - * Information used by tkCanvas.c only: - */ - - int numIdSearches; - int numSlowSearches; - - /* - * Used by tkColor.c only: - */ - - int colorInit; /* 0 means color module needs initializing. */ - TkStressedCmap *stressPtr; /* First in list of colormaps that have - * filled up, so we have to pick an - * approximate color. */ - Tcl_HashTable colorNameTable; - /* Maps from color name to TkColor structure - * for that color. */ - Tcl_HashTable colorValueTable; - /* Maps from integer RGB values to TkColor - * structures. */ - - /* - * Used by tkCursor.c only: - */ - - int cursorInit; /* 0 means cursor module need initializing. */ - Tcl_HashTable cursorNameTable; - /* Maps from a string name to a cursor to the - * TkCursor record for the cursor. */ - Tcl_HashTable cursorDataTable; - /* Maps from a collection of in-core data - * about a cursor to a TkCursor structure. */ - Tcl_HashTable cursorIdTable; - /* Maps from a cursor id to the TkCursor - * structure for the cursor. */ - char cursorString[20]; /* Used to store a cursor id string. */ - Font cursorFont; /* Font to use for standard cursors. - * None means font not loaded yet. */ - - /* - * Information used by tkError.c only: - */ - - struct TkErrorHandler *errorPtr; - /* First in list of error handlers - * for this display. NULL means - * no handlers exist at present. */ - int deleteCount; /* Counts # of handlers deleted since - * last time inactive handlers were - * garbage-collected. When this number - * gets big, handlers get cleaned up. */ - - /* - * Used by tkEvent.c only: - */ - - struct TkWindowEvent *delayedMotionPtr; - /* Points to a malloc-ed motion event - * whose processing has been delayed in - * the hopes that another motion event - * will come along right away and we can - * merge the two of them together. NULL - * means that there is no delayed motion - * event. */ - - /* - * Information used by tkFocus.c only: - */ - - int focusDebug; /* 1 means collect focus debugging - * statistics. */ - struct TkWindow *implicitWinPtr; - /* If the focus arrived at a toplevel window - * implicitly via an Enter event (rather - * than via a FocusIn event), this points - * to the toplevel window. Otherwise it is - * NULL. */ - struct TkWindow *focusPtr; /* Points to the window on this display that - * should be receiving keyboard events. When - * multiple applications on the display have - * the focus, this will refer to the - * innermost window in the innermost - * application. This information isn't used - * under Unix or Windows, but it's needed on - * the Macintosh. */ - - /* - * Information used by tkGC.c only: - */ - - Tcl_HashTable gcValueTable; /* Maps from a GC's values to a TkGC structure - * describing a GC with those values. */ - Tcl_HashTable gcIdTable; /* Maps from a GC to a TkGC. */ - int gcInit; /* 0 means the tables below need - * initializing. */ - - /* - * Information used by tkGeometry.c only: - */ - - Tcl_HashTable maintainHashTable; - /* Hash table that maps from a master's - * Tk_Window token to a list of slaves - * managed by that master. */ - int geomInit; - - /* - * Information used by tkGet.c only: - */ - - Tcl_HashTable uidTable; /* Stores all Tk_Uid used in a thread. */ - int uidInit; /* 0 means uidTable needs initializing. */ - - /* - * Information used by tkGrab.c only: - */ - - struct TkWindow *grabWinPtr; - /* Window in which the pointer is currently - * grabbed, or NULL if none. */ - struct TkWindow *eventualGrabWinPtr; - /* Value that grabWinPtr will have once the - * grab event queue (below) has been - * completely emptied. */ - struct TkWindow *buttonWinPtr; - /* Window in which first mouse button was - * pressed while grab was in effect, or NULL - * if no such press in effect. */ - struct TkWindow *serverWinPtr; - /* If no application contains the pointer then - * this is NULL. Otherwise it contains the - * last window for which we've gotten an - * Enter or Leave event from the server (i.e. - * the last window known to have contained - * the pointer). Doesn't reflect events - * that were synthesized in tkGrab.c. */ - TkGrabEvent *firstGrabEventPtr; - /* First in list of enter/leave events - * synthesized by grab code. These events - * must be processed in order before any other - * events are processed. NULL means no such - * events. */ - TkGrabEvent *lastGrabEventPtr; - /* Last in list of synthesized events, or NULL - * if list is empty. */ - int grabFlags; /* Miscellaneous flag values. See definitions - * in tkGrab.c. */ - - /* - * Information used by tkGrid.c only: - */ - - int gridInit; /* 0 means table below needs initializing. */ - Tcl_HashTable gridHashTable;/* Maps from Tk_Window tokens to - * corresponding Grid structures. */ - - /* - * Information used by tkImage.c only: - */ - - int imageId; /* Value used to number image ids. */ - - /* - * Information used by tkMacWinMenu.c only: - */ - - int postCommandGeneration; - - /* - * Information used by tkOption.c only. - */ - - - - /* - * Information used by tkPack.c only. - */ - - int packInit; /* 0 means table below needs initializing. */ - Tcl_HashTable packerHashTable; - /* Maps from Tk_Window tokens to - * corresponding Packer structures. */ - - - /* - * Information used by tkPlace.c only. - */ - - int placeInit; /* 0 means tables below need initializing. */ - Tcl_HashTable masterTable; /* Maps from Tk_Window toke to the Master - * structure for the window, if it exists. */ - Tcl_HashTable slaveTable; /* Maps from Tk_Window toke to the Slave - * structure for the window, if it exists. */ - - /* - * Information used by tkSelect.c and tkClipboard.c only: - */ - - struct TkSelectionInfo *selectionInfoPtr; - /* First in list of selection information - * records. Each entry contains information - * about the current owner of a particular - * selection on this display. */ - Atom multipleAtom; /* Atom for MULTIPLE. None means - * selection stuff isn't initialized. */ - Atom incrAtom; /* Atom for INCR. */ - Atom targetsAtom; /* Atom for TARGETS. */ - Atom timestampAtom; /* Atom for TIMESTAMP. */ - Atom textAtom; /* Atom for TEXT. */ - Atom compoundTextAtom; /* Atom for COMPOUND_TEXT. */ - Atom applicationAtom; /* Atom for TK_APPLICATION. */ - Atom windowAtom; /* Atom for TK_WINDOW. */ - Atom clipboardAtom; /* Atom for CLIPBOARD. */ - - Tk_Window clipWindow; /* Window used for clipboard ownership and to - * retrieve selections between processes. NULL - * means clipboard info hasn't been - * initialized. */ - int clipboardActive; /* 1 means we currently own the clipboard - * selection, 0 means we don't. */ - struct TkMainInfo *clipboardAppPtr; - /* Last application that owned clipboard. */ - struct TkClipboardTarget *clipTargetPtr; - /* First in list of clipboard type information - * records. Each entry contains information - * about the buffers for a given selection - * target. */ - - /* - * Information used by tkSend.c only: - */ - - Tk_Window commTkwin; /* Window used for communication - * between interpreters during "send" - * commands. NULL means send info hasn't - * been initialized yet. */ - Atom commProperty; /* X's name for comm property. */ - Atom registryProperty; /* X's name for property containing - * registry of interpreter names. */ - Atom appNameProperty; /* X's name for property used to hold the - * application name on each comm window. */ - - /* - * Information used by tkXId.c only: - */ - - struct TkIdStack *idStackPtr; - /* First in list of chunks of free resource - * identifiers, or NULL if there are no free - * resources. */ - XID (*defaultAllocProc) _ANSI_ARGS_((Display *display)); - /* Default resource allocator for display. */ - struct TkIdStack *windowStackPtr; - /* First in list of chunks of window - * identifers that can't be reused right - * now. */ - int idCleanupScheduled; /* 1 means a call to WindowIdCleanup has - * already been scheduled, 0 means it - * hasn't. */ - - /* - * Information used by tkUnixWm.c and tkWinWm.c only: - */ - - int wmTracing; /* Used to enable or disable tracing in - * this module. If tracing is enabled, - * then information is printed on - * standard output about interesting - * interactions with the window manager. */ - struct TkWmInfo *firstWmPtr; /* Points to first top-level window. */ - struct TkWmInfo *foregroundWmPtr; - /* Points to the foreground window. */ - - /* - * Information maintained by tkWindow.c for use later on by tkXId.c: - */ - - - int destroyCount; /* Number of Tk_DestroyWindow operations - * in progress. */ - unsigned long lastDestroyRequest; - /* Id of most recent XDestroyWindow request; - * can re-use ids in windowStackPtr when - * server has seen this request and event - * queue is empty. */ - - /* - * Information used by tkVisual.c only: - */ - - TkColormap *cmapPtr; /* First in list of all non-default colormaps - * allocated for this display. */ - - /* - * Miscellaneous information: - */ - -#ifdef TK_USE_INPUT_METHODS - XIM inputMethod; /* Input method for this display */ -#endif /* TK_USE_INPUT_METHODS */ - Tcl_HashTable winTable; /* Maps from X window ids to TkWindow ptrs. */ - - int refCount; /* Reference count of how many Tk applications - * are using this display. Used to clean up - * the display when we no longer have any - * Tk applications using it. - */ - /* - * The following field were all added for Tk8.3 - */ - int mouseButtonState; /* current mouse button state for this - * display */ - int warpInProgress; - Window warpWindow; - int warpX; - int warpY; - int useInputMethods; /* Whether to use input methods */ -} TkDisplay; - -/* - * One of the following structures exists for each error handler - * created by a call to Tk_CreateErrorHandler. The structure - * is managed by tkError.c. - */ - -typedef struct TkErrorHandler { - TkDisplay *dispPtr; /* Display to which handler applies. */ - unsigned long firstRequest; /* Only errors with serial numbers - * >= to this are considered. */ - unsigned long lastRequest; /* Only errors with serial numbers - * <= to this are considered. This - * field is filled in when XUnhandle - * is called. -1 means XUnhandle - * hasn't been called yet. */ - int error; /* Consider only errors with this - * error_code (-1 means consider - * all errors). */ - int request; /* Consider only errors with this - * major request code (-1 means - * consider all major codes). */ - int minorCode; /* Consider only errors with this - * minor request code (-1 means - * consider all minor codes). */ - Tk_ErrorProc *errorProc; /* Procedure to invoke when a matching - * error occurs. NULL means just ignore - * errors. */ - ClientData clientData; /* Arbitrary value to pass to - * errorProc. */ - struct TkErrorHandler *nextPtr; - /* Pointer to next older handler for - * this display, or NULL for end of - * list. */ -} TkErrorHandler; - - - - -/* - * One of the following structures exists for each event handler - * created by calling Tk_CreateEventHandler. This information - * is used by tkEvent.c only. - */ - -typedef struct TkEventHandler { - unsigned long mask; /* Events for which to invoke - * proc. */ - Tk_EventProc *proc; /* Procedure to invoke when an event - * in mask occurs. */ - ClientData clientData; /* Argument to pass to proc. */ - struct TkEventHandler *nextPtr; - /* Next in list of handlers - * associated with window (NULL means - * end of list). */ -} TkEventHandler; - -/* - * Tk keeps one of the following data structures for each main - * window (created by a call to TkCreateMainWindow). It stores - * information that is shared by all of the windows associated - * with a particular main window. - */ - -typedef struct TkMainInfo { - int refCount; /* Number of windows whose "mainPtr" fields - * point here. When this becomes zero, can - * free up the structure (the reference - * count is zero because windows can get - * deleted in almost any order; the main - * window isn't necessarily the last one - * deleted). */ - struct TkWindow *winPtr; /* Pointer to main window. */ - Tcl_Interp *interp; /* Interpreter associated with application. */ - Tcl_HashTable nameTable; /* Hash table mapping path names to TkWindow - * structs for all windows related to this - * main window. Managed by tkWindow.c. */ - Tk_BindingTable bindingTable; - /* Used in conjunction with "bind" command - * to bind events to Tcl commands. */ - TkBindInfo bindInfo; /* Information used by tkBind.c on a per - * application basis. */ - struct TkFontInfo *fontInfoPtr; - /* Information used by tkFont.c on a per - * application basis. */ - - /* - * Information used only by tkFocus.c and tk*Embed.c: - */ - - struct TkToplevelFocusInfo *tlFocusPtr; - /* First in list of records containing focus - * information for each top-level in the - * application. Used only by tkFocus.c. */ - struct TkDisplayFocusInfo *displayFocusPtr; - /* First in list of records containing focus - * information for each display that this - * application has ever used. Used only - * by tkFocus.c. */ - - struct ElArray *optionRootPtr; - /* Top level of option hierarchy for this - * main window. NULL means uninitialized. - * Managed by tkOption.c. */ - Tcl_HashTable imageTable; /* Maps from image names to Tk_ImageMaster - * structures. Managed by tkImage.c. */ - int strictMotif; /* This is linked to the tk_strictMotif - * global variable. */ - struct TkMainInfo *nextPtr; /* Next in list of all main windows managed by - * this process. */ -} TkMainInfo; - -/* - * Tk keeps the following data structure for each of it's builtin - * bitmaps. This structure is only used by tkBitmap.c and other - * platform specific bitmap files. - */ - -typedef struct { - char *source; /* Bits for bitmap. */ - int width, height; /* Dimensions of bitmap. */ - int native; /* 0 means generic (X style) bitmap, - * 1 means native style bitmap. */ -} TkPredefBitmap; - -/* - * Tk keeps one of the following structures for each window. - * Some of the information (like size and location) is a shadow - * of information managed by the X server, and some is special - * information used here, such as event and geometry management - * information. This information is (mostly) managed by tkWindow.c. - * WARNING: the declaration below must be kept consistent with the - * Tk_FakeWin structure in tk.h. If you change one, be sure to - * change the other!! - */ - -typedef struct TkWindow { - - /* - * Structural information: - */ - - Display *display; /* Display containing window. */ - TkDisplay *dispPtr; /* Tk's information about display - * for window. */ - int screenNum; /* Index of screen for window, among all - * those for dispPtr. */ - Visual *visual; /* Visual to use for window. If not default, - * MUST be set before X window is created. */ - int depth; /* Number of bits/pixel. */ - Window window; /* X's id for window. NULL means window - * hasn't actually been created yet, or it's - * been deleted. */ - struct TkWindow *childList; /* First in list of child windows, - * or NULL if no children. List is in - * stacking order, lowest window first.*/ - struct TkWindow *lastChildPtr; - /* Last in list of child windows (highest - * in stacking order), or NULL if no - * children. */ - struct TkWindow *parentPtr; /* Pointer to parent window (logical - * parent, not necessarily X parent). NULL - * means either this is the main window, or - * the window's parent has already been - * deleted. */ - struct TkWindow *nextPtr; /* Next higher sibling (in stacking order) - * in list of children with same parent. NULL - * means end of list. */ - TkMainInfo *mainPtr; /* Information shared by all windows - * associated with a particular main - * window. NULL means this window is - * a rogue that isn't associated with - * any application (at present, this - * only happens for the dummy windows - * used for "send" communication). */ - - /* - * Name and type information for the window: - */ - - char *pathName; /* Path name of window (concatenation - * of all names between this window and - * its top-level ancestor). This is a - * pointer into an entry in - * mainPtr->nameTable. NULL means that - * the window hasn't been completely - * created yet. */ - Tk_Uid nameUid; /* Name of the window within its parent - * (unique within the parent). */ - Tk_Uid classUid; /* Class of the window. NULL means window - * hasn't been given a class yet. */ - - /* - * Geometry and other attributes of window. This information - * may not be updated on the server immediately; stuff that - * hasn't been reflected in the server yet is called "dirty". - * At present, information can be dirty only if the window - * hasn't yet been created. - */ - - XWindowChanges changes; /* Geometry and other info about - * window. */ - unsigned int dirtyChanges; /* Bits indicate fields of "changes" - * that are dirty. */ - XSetWindowAttributes atts; /* Current attributes of window. */ - unsigned long dirtyAtts; /* Bits indicate fields of "atts" - * that are dirty. */ - - unsigned int flags; /* Various flag values: these are all - * defined in tk.h (confusing, but they're - * needed there for some query macros). */ - - /* - * Information kept by the event manager (tkEvent.c): - */ - - TkEventHandler *handlerList;/* First in list of event handlers - * declared for this window, or - * NULL if none. */ -#ifdef TK_USE_INPUT_METHODS - XIC inputContext; /* Input context (for input methods). */ -#endif /* TK_USE_INPUT_METHODS */ - - /* - * Information used for event bindings (see "bind" and "bindtags" - * commands in tkCmds.c): - */ - - ClientData *tagPtr; /* Points to array of tags used for bindings - * on this window. Each tag is a Tk_Uid. - * Malloc'ed. NULL means no tags. */ - int numTags; /* Number of tags at *tagPtr. */ - - /* - * Information used by tkOption.c to manage options for the - * window. - */ - - int optionLevel; /* -1 means no option information is - * currently cached for this window. - * Otherwise this gives the level in - * the option stack at which info is - * cached. */ - /* - * Information used by tkSelect.c to manage the selection. - */ - - struct TkSelHandler *selHandlerList; - /* First in list of handlers for - * returning the selection in various - * forms. */ - - /* - * Information used by tkGeometry.c for geometry management. - */ - - Tk_GeomMgr *geomMgrPtr; /* Information about geometry manager for - * this window. */ - ClientData geomData; /* Argument for geometry manager procedures. */ - int reqWidth, reqHeight; /* Arguments from last call to - * Tk_GeometryRequest, or 0's if - * Tk_GeometryRequest hasn't been - * called. */ - int internalBorderWidth; /* Width of internal border of window - * (0 means no internal border). Geometry - * managers should not normally place children - * on top of the border. */ - - /* - * Information maintained by tkWm.c for window manager communication. - */ - - struct TkWmInfo *wmInfoPtr; /* For top-level windows (and also - * for special Unix menubar and wrapper - * windows), points to structure with - * wm-related info (see tkWm.c). For - * other windows, this is NULL. */ - - /* - * Information used by widget classes. - */ - - TkClassProcs *classProcsPtr; - ClientData instanceData; - - /* - * Platform specific information private to each port. - */ - - struct TkWindowPrivate *privatePtr; -} TkWindow; - -/* - * The following structure is used as a two way map between integers - * and strings, usually to map between an internal C representation - * and the strings used in Tcl. - */ - -typedef struct TkStateMap { - int numKey; /* Integer representation of a value. */ - char *strKey; /* String representation of a value. */ -} TkStateMap; - -/* - * This structure is used by the Mac and Window porting layers as - * the internal representation of a clip_mask in a GC. - */ - -typedef struct TkpClipMask { - int type; /* One of TKP_CLIP_PIXMAP or TKP_CLIP_REGION */ - union { - Pixmap pixmap; - TkRegion region; - } value; -} TkpClipMask; - -#define TKP_CLIP_PIXMAP 0 -#define TKP_CLIP_REGION 1 - -/* - * Pointer to first entry in list of all displays currently known. - */ - -extern TkDisplay *tkDisplayList; - -/* - * Return values from TkGrabState: - */ - -#define TK_GRAB_NONE 0 -#define TK_GRAB_IN_TREE 1 -#define TK_GRAB_ANCESTOR 2 -#define TK_GRAB_EXCLUDED 3 - -/* - * The macro below is used to modify a "char" value (e.g. by casting - * it to an unsigned character) so that it can be used safely with - * macros such as isspace. - */ - -#define UCHAR(c) ((unsigned char) (c)) - -/* - * The following symbol is used in the mode field of FocusIn events - * generated by an embedded application to request the input focus from - * its container. - */ - -#define EMBEDDED_APP_WANTS_FOCUS (NotifyNormal + 20) - -/* - * The following special modifier mask bits are defined, to indicate - * logical modifiers such as Meta and Alt that may float among the - * actual modifier bits. - */ - -#define META_MASK (AnyModifier<<1) -#define ALT_MASK (AnyModifier<<2) - -/* - * Miscellaneous variables shared among Tk modules but not exported - * to the outside world: - */ - -extern Tk_SmoothMethod tkBezierSmoothMethod; -extern Tk_ImageType tkBitmapImageType; -extern Tk_PhotoImageFormat tkImgFmtGIF; -extern void (*tkHandleEventProc) _ANSI_ARGS_(( - XEvent* eventPtr)); -extern Tk_PhotoImageFormat tkImgFmtPPM; -extern TkMainInfo *tkMainWindowList; -extern Tk_ImageType tkPhotoImageType; -extern Tcl_HashTable tkPredefBitmapTable; -extern int tkSendSerial; - -#include "tkIntDecls.h" - -#ifdef BUILD_tk -# undef TCL_STORAGE_CLASS -# define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * Internal procedures shared among Tk modules but not exported - * to the outside world: - */ - -EXTERN int Tk_AfterCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_BellObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_BindCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_BindtagsCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_ButtonObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_CanvasObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, Tcl_Obj *CONST objv[])); -EXTERN int Tk_CheckbuttonObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_ClipboardCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_ChooseColorObjCmd _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tk_ChooseDirectoryObjCmd _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tk_ChooseFontObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_DestroyObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_EntryObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_EventObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_FileeventCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_FrameObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_FocusObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_FontObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_GetOpenFileObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_GetSaveFileObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_GrabCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_GridCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_ImageObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_LabelObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_ListboxObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_LowerObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_MenubuttonObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_MessageBoxObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_MessageCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_OptionObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_PackCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_PlaceCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_RadiobuttonObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_RaiseObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_ScaleObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_ScrollbarCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_SelectionCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_SendCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_SendObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_TextCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_TkObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_TkwaitCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_ToplevelObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_UpdateObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_WinfoObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_WmCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); - -void TkConsolePrint _ANSI_ARGS_((Tcl_Interp *interp, - int devId, char *buffer, long size)); - -EXTERN void TkEventInit _ANSI_ARGS_((void)); - -EXTERN int TkCreateMenuCmd _ANSI_ARGS_((Tcl_Interp *interp)); -EXTERN int TkDeadAppCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); - -EXTERN int TkpTestembedCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int TkCanvasGetCoordObj _ANSI_ARGS_((Tcl_Interp *interp, - Tk_Canvas canvas, Tcl_Obj *obj, - double *doublePtr)); -EXTERN int TkCanvasDashParseProc _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - Tk_Window tkwin, CONST char *value, char *widgRec, - int offset)); -EXTERN char * TkCanvasDashPrintProc _ANSI_ARGS_(( - ClientData clientData, Tk_Window tkwin, - char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr)); -EXTERN int TkGetDoublePixels _ANSI_ARGS_((Tcl_Interp *interp, - Tk_Window tkwin, CONST char *string, - double *doublePtr)); -EXTERN int TkOffsetParseProc _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - Tk_Window tkwin, CONST char *value, char *widgRec, - int offset)); -EXTERN char * TkOffsetPrintProc _ANSI_ARGS_(( - ClientData clientData, Tk_Window tkwin, - char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr)); -EXTERN int TkOrientParseProc _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - Tk_Window tkwin, CONST char *value, - char *widgRec, int offset)); -EXTERN char * TkOrientPrintProc _ANSI_ARGS_(( - ClientData clientData, Tk_Window tkwin, - char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr)); -EXTERN int TkPixelParseProc _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - Tk_Window tkwin, CONST char *value, char *widgRec, - int offset)); -EXTERN char * TkPixelPrintProc _ANSI_ARGS_(( - ClientData clientData, Tk_Window tkwin, - char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr)); -EXTERN int TkPostscriptImage _ANSI_ARGS_((Tcl_Interp *interp, - Tk_Window tkwin, Tk_PostscriptInfo psInfo, - XImage *ximage, int x, int y, int width, - int height)); -EXTERN int TkSmoothParseProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, Tk_Window tkwin, - CONST char *value, char *recordPtr, int offset)); -EXTERN char * TkSmoothPrintProc _ANSI_ARGS_((ClientData clientData, - Tk_Window tkwin, char *recordPtr, int offset, - Tcl_FreeProc **freeProcPtr)); -EXTERN int TkStateParseProc _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - Tk_Window tkwin, CONST char *value, - char *widgRec, int offset)); -EXTERN char * TkStatePrintProc _ANSI_ARGS_(( - ClientData clientData, Tk_Window tkwin, - char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr)); -EXTERN int TkTileParseProc _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - Tk_Window tkwin, CONST char *value, char *widgRec, - int offset)); -EXTERN char * TkTilePrintProc _ANSI_ARGS_(( - ClientData clientData, Tk_Window tkwin, - char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr)); - -/* - * Unsupported commands. - */ -EXTERN int TkUnsupported1Cmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); - -# undef TCL_STORAGE_CLASS -# define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKINT */ diff --git a/src/other/togl/include/tcltk/tk8.3/tkIntDecls.h b/src/other/togl/include/tcltk/tk8.3/tkIntDecls.h deleted file mode 100644 index 59be7336da6..00000000000 --- a/src/other/togl/include/tcltk/tk8.3/tkIntDecls.h +++ /dev/null @@ -1,1483 +0,0 @@ -/* - * tkIntDecls.h -- - * - * This file contains the declarations for all unsupported - * functions that are exported by the Tk library. These - * interfaces are not guaranteed to remain the same between - * versions. Use at your own risk. - * - * Copyright (c) 1998-1999 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKINTDECLS -#define _TKINTDECLS - -#ifdef BUILD_tk -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * WARNING: This file is automatically generated by the tools/genStubs.tcl - * script. Any modifications to the function declarations below should be made - * in the generic/tkInt.decls script. - */ - -/* !BEGIN!: Do not edit below this line. */ - -/* - * Exported function declarations: - */ - -/* 0 */ -EXTERN TkWindow * TkAllocWindow _ANSI_ARGS_((TkDisplay * dispPtr, - int screenNum, TkWindow * parentPtr)); -/* 1 */ -EXTERN void TkBezierPoints _ANSI_ARGS_((double control[], - int numSteps, double * coordPtr)); -/* 2 */ -EXTERN void TkBezierScreenPoints _ANSI_ARGS_((Tk_Canvas canvas, - double control[], int numSteps, - XPoint * xPointPtr)); -/* 3 */ -EXTERN void TkBindDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 4 */ -EXTERN void TkBindEventProc _ANSI_ARGS_((TkWindow * winPtr, - XEvent * eventPtr)); -/* 5 */ -EXTERN void TkBindFree _ANSI_ARGS_((TkMainInfo * mainPtr)); -/* 6 */ -EXTERN void TkBindInit _ANSI_ARGS_((TkMainInfo * mainPtr)); -/* 7 */ -EXTERN void TkChangeEventWindow _ANSI_ARGS_((XEvent * eventPtr, - TkWindow * winPtr)); -/* 8 */ -EXTERN int TkClipInit _ANSI_ARGS_((Tcl_Interp * interp, - TkDisplay * dispPtr)); -/* 9 */ -EXTERN void TkComputeAnchor _ANSI_ARGS_((Tk_Anchor anchor, - Tk_Window tkwin, int padX, int padY, - int innerWidth, int innerHeight, int * xPtr, - int * yPtr)); -/* 10 */ -EXTERN int TkCopyAndGlobalEval _ANSI_ARGS_((Tcl_Interp * interp, - char * script)); -/* 11 */ -EXTERN unsigned long TkCreateBindingProcedure _ANSI_ARGS_(( - Tcl_Interp * interp, - Tk_BindingTable bindingTable, - ClientData object, char * eventString, - TkBindEvalProc * evalProc, - TkBindFreeProc * freeProc, - ClientData clientData)); -/* 12 */ -EXTERN TkCursor * TkCreateCursorFromData _ANSI_ARGS_((Tk_Window tkwin, - char * source, char * mask, int width, - int height, int xHot, int yHot, XColor fg, - XColor bg)); -/* 13 */ -EXTERN int TkCreateFrame _ANSI_ARGS_((ClientData clientData, - Tcl_Interp * interp, int argc, char ** argv, - int toplevel, char * appName)); -/* 14 */ -EXTERN Tk_Window TkCreateMainWindow _ANSI_ARGS_((Tcl_Interp * interp, - char * screenName, char * baseName)); -/* 15 */ -EXTERN Time TkCurrentTime _ANSI_ARGS_((TkDisplay * dispPtr)); -/* 16 */ -EXTERN void TkDeleteAllImages _ANSI_ARGS_((TkMainInfo * mainPtr)); -/* 17 */ -EXTERN void TkDoConfigureNotify _ANSI_ARGS_((TkWindow * winPtr)); -/* 18 */ -EXTERN void TkDrawInsetFocusHighlight _ANSI_ARGS_(( - Tk_Window tkwin, GC gc, int width, - Drawable drawable, int padding)); -/* 19 */ -EXTERN void TkEventDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 20 */ -EXTERN void TkFillPolygon _ANSI_ARGS_((Tk_Canvas canvas, - double * coordPtr, int numPoints, - Display * display, Drawable drawable, GC gc, - GC outlineGC)); -/* 21 */ -EXTERN int TkFindStateNum _ANSI_ARGS_((Tcl_Interp * interp, - CONST char * option, - CONST TkStateMap * mapPtr, - CONST char * strKey)); -/* 22 */ -EXTERN char * TkFindStateString _ANSI_ARGS_(( - CONST TkStateMap * mapPtr, int numKey)); -/* 23 */ -EXTERN void TkFocusDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 24 */ -EXTERN int TkFocusFilterEvent _ANSI_ARGS_((TkWindow * winPtr, - XEvent * eventPtr)); -/* 25 */ -EXTERN TkWindow * TkFocusKeyEvent _ANSI_ARGS_((TkWindow * winPtr, - XEvent * eventPtr)); -/* 26 */ -EXTERN void TkFontPkgInit _ANSI_ARGS_((TkMainInfo * mainPtr)); -/* 27 */ -EXTERN void TkFontPkgFree _ANSI_ARGS_((TkMainInfo * mainPtr)); -/* 28 */ -EXTERN void TkFreeBindingTags _ANSI_ARGS_((TkWindow * winPtr)); -/* 29 */ -EXTERN void TkpFreeCursor _ANSI_ARGS_((TkCursor * cursorPtr)); -/* 30 */ -EXTERN char * TkGetBitmapData _ANSI_ARGS_((Tcl_Interp * interp, - char * string, char * fileName, - int * widthPtr, int * heightPtr, - int * hotXPtr, int * hotYPtr)); -/* 31 */ -EXTERN void TkGetButtPoints _ANSI_ARGS_((double p1[], - double p2[], double width, int project, - double m1[], double m2[])); -/* 32 */ -EXTERN TkCursor * TkGetCursorByName _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Window tkwin, Tk_Uid string)); -/* 33 */ -EXTERN char * TkGetDefaultScreenName _ANSI_ARGS_(( - Tcl_Interp * interp, char * screenName)); -/* 34 */ -EXTERN TkDisplay * TkGetDisplay _ANSI_ARGS_((Display * display)); -/* 35 */ -EXTERN int TkGetDisplayOf _ANSI_ARGS_((Tcl_Interp * interp, - int objc, Tcl_Obj *CONST objv[], - Tk_Window * tkwinPtr)); -/* 36 */ -EXTERN TkWindow * TkGetFocusWin _ANSI_ARGS_((TkWindow * winPtr)); -/* 37 */ -EXTERN int TkGetInterpNames _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Window tkwin)); -/* 38 */ -EXTERN int TkGetMiterPoints _ANSI_ARGS_((double p1[], - double p2[], double p3[], double width, - double m1[], double m2[])); -/* 39 */ -EXTERN void TkGetPointerCoords _ANSI_ARGS_((Tk_Window tkwin, - int * xPtr, int * yPtr)); -/* 40 */ -EXTERN void TkGetServerInfo _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Window tkwin)); -/* 41 */ -EXTERN void TkGrabDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 42 */ -EXTERN int TkGrabState _ANSI_ARGS_((TkWindow * winPtr)); -/* 43 */ -EXTERN void TkIncludePoint _ANSI_ARGS_((Tk_Item * itemPtr, - double * pointPtr)); -/* 44 */ -EXTERN void TkInOutEvents _ANSI_ARGS_((XEvent * eventPtr, - TkWindow * sourcePtr, TkWindow * destPtr, - int leaveType, int enterType, - Tcl_QueuePosition position)); -/* 45 */ -EXTERN void TkInstallFrameMenu _ANSI_ARGS_((Tk_Window tkwin)); -/* 46 */ -EXTERN char * TkKeysymToString _ANSI_ARGS_((KeySym keysym)); -/* 47 */ -EXTERN int TkLineToArea _ANSI_ARGS_((double end1Ptr[], - double end2Ptr[], double rectPtr[])); -/* 48 */ -EXTERN double TkLineToPoint _ANSI_ARGS_((double end1Ptr[], - double end2Ptr[], double pointPtr[])); -/* 49 */ -EXTERN int TkMakeBezierCurve _ANSI_ARGS_((Tk_Canvas canvas, - double * pointPtr, int numPoints, - int numSteps, XPoint xPoints[], - double dblPoints[])); -/* 50 */ -EXTERN void TkMakeBezierPostscript _ANSI_ARGS_(( - Tcl_Interp * interp, Tk_Canvas canvas, - double * pointPtr, int numPoints)); -/* 51 */ -EXTERN void TkOptionClassChanged _ANSI_ARGS_((TkWindow * winPtr)); -/* 52 */ -EXTERN void TkOptionDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 53 */ -EXTERN int TkOvalToArea _ANSI_ARGS_((double * ovalPtr, - double * rectPtr)); -/* 54 */ -EXTERN double TkOvalToPoint _ANSI_ARGS_((double ovalPtr[], - double width, int filled, double pointPtr[])); -/* 55 */ -EXTERN int TkpChangeFocus _ANSI_ARGS_((TkWindow * winPtr, - int force)); -/* 56 */ -EXTERN void TkpCloseDisplay _ANSI_ARGS_((TkDisplay * dispPtr)); -/* 57 */ -EXTERN void TkpClaimFocus _ANSI_ARGS_((TkWindow * topLevelPtr, - int force)); -/* 58 */ -EXTERN void TkpDisplayWarning _ANSI_ARGS_((char * msg, - char * title)); -/* 59 */ -EXTERN void TkpGetAppName _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_DString * name)); -/* 60 */ -EXTERN TkWindow * TkpGetOtherWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 61 */ -EXTERN TkWindow * TkpGetWrapperWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 62 */ -EXTERN int TkpInit _ANSI_ARGS_((Tcl_Interp * interp)); -/* 63 */ -EXTERN void TkpInitializeMenuBindings _ANSI_ARGS_(( - Tcl_Interp * interp, - Tk_BindingTable bindingTable)); -/* 64 */ -EXTERN void TkpMakeContainer _ANSI_ARGS_((Tk_Window tkwin)); -/* 65 */ -EXTERN void TkpMakeMenuWindow _ANSI_ARGS_((Tk_Window tkwin, - int transient)); -/* 66 */ -EXTERN Window TkpMakeWindow _ANSI_ARGS_((TkWindow * winPtr, - Window parent)); -/* 67 */ -EXTERN void TkpMenuNotifyToplevelCreate _ANSI_ARGS_(( - Tcl_Interp * interp1, char * menuName)); -/* 68 */ -EXTERN TkDisplay * TkpOpenDisplay _ANSI_ARGS_((char * display_name)); -/* 69 */ -EXTERN int TkPointerEvent _ANSI_ARGS_((XEvent * eventPtr, - TkWindow * winPtr)); -/* 70 */ -EXTERN int TkPolygonToArea _ANSI_ARGS_((double * polyPtr, - int numPoints, double * rectPtr)); -/* 71 */ -EXTERN double TkPolygonToPoint _ANSI_ARGS_((double * polyPtr, - int numPoints, double * pointPtr)); -/* 72 */ -EXTERN int TkPositionInTree _ANSI_ARGS_((TkWindow * winPtr, - TkWindow * treePtr)); -/* 73 */ -EXTERN void TkpRedirectKeyEvent _ANSI_ARGS_((TkWindow * winPtr, - XEvent * eventPtr)); -/* 74 */ -EXTERN void TkpSetMainMenubar _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Window tkwin, char * menuName)); -/* 75 */ -EXTERN int TkpUseWindow _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Window tkwin, char * string)); -/* 76 */ -EXTERN int TkpWindowWasRecentlyDeleted _ANSI_ARGS_((Window win, - TkDisplay * dispPtr)); -/* 77 */ -EXTERN void TkQueueEventForAllChildren _ANSI_ARGS_(( - TkWindow * winPtr, XEvent * eventPtr)); -/* 78 */ -EXTERN int TkReadBitmapFile _ANSI_ARGS_((Display* display, - Drawable d, CONST char* filename, - unsigned int* width_return, - unsigned int* height_return, - Pixmap* bitmap_return, int* x_hot_return, - int* y_hot_return)); -/* 79 */ -EXTERN int TkScrollWindow _ANSI_ARGS_((Tk_Window tkwin, GC gc, - int x, int y, int width, int height, int dx, - int dy, TkRegion damageRgn)); -/* 80 */ -EXTERN void TkSelDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 81 */ -EXTERN void TkSelEventProc _ANSI_ARGS_((Tk_Window tkwin, - XEvent * eventPtr)); -/* 82 */ -EXTERN void TkSelInit _ANSI_ARGS_((Tk_Window tkwin)); -/* 83 */ -EXTERN void TkSelPropProc _ANSI_ARGS_((XEvent * eventPtr)); -/* 84 */ -EXTERN void TkSetClassProcs _ANSI_ARGS_((Tk_Window tkwin, - TkClassProcs * procs, - ClientData instanceData)); -/* 85 */ -EXTERN void TkSetWindowMenuBar _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Window tkwin, char * oldMenuName, - char * menuName)); -/* 86 */ -EXTERN KeySym TkStringToKeysym _ANSI_ARGS_((char * name)); -/* 87 */ -EXTERN int TkThickPolyLineToArea _ANSI_ARGS_((double * coordPtr, - int numPoints, double width, int capStyle, - int joinStyle, double * rectPtr)); -/* 88 */ -EXTERN void TkWmAddToColormapWindows _ANSI_ARGS_(( - TkWindow * winPtr)); -/* 89 */ -EXTERN void TkWmDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 90 */ -EXTERN TkWindow * TkWmFocusToplevel _ANSI_ARGS_((TkWindow * winPtr)); -/* 91 */ -EXTERN void TkWmMapWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 92 */ -EXTERN void TkWmNewWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 93 */ -EXTERN void TkWmProtocolEventProc _ANSI_ARGS_((TkWindow * winPtr, - XEvent * evenvPtr)); -/* 94 */ -EXTERN void TkWmRemoveFromColormapWindows _ANSI_ARGS_(( - TkWindow * winPtr)); -/* 95 */ -EXTERN void TkWmRestackToplevel _ANSI_ARGS_((TkWindow * winPtr, - int aboveBelow, TkWindow * otherPtr)); -/* 96 */ -EXTERN void TkWmSetClass _ANSI_ARGS_((TkWindow * winPtr)); -/* 97 */ -EXTERN void TkWmUnmapWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 98 */ -EXTERN Tcl_Obj * TkDebugBitmap _ANSI_ARGS_((Tk_Window tkwin, - char * name)); -/* 99 */ -EXTERN Tcl_Obj * TkDebugBorder _ANSI_ARGS_((Tk_Window tkwin, - char * name)); -/* 100 */ -EXTERN Tcl_Obj * TkDebugCursor _ANSI_ARGS_((Tk_Window tkwin, - char * name)); -/* 101 */ -EXTERN Tcl_Obj * TkDebugColor _ANSI_ARGS_((Tk_Window tkwin, - char * name)); -/* 102 */ -EXTERN Tcl_Obj * TkDebugConfig _ANSI_ARGS_((Tcl_Interp * interp, - Tk_OptionTable table)); -/* 103 */ -EXTERN Tcl_Obj * TkDebugFont _ANSI_ARGS_((Tk_Window tkwin, - char * name)); -/* 104 */ -EXTERN int TkFindStateNumObj _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Obj * optionPtr, - CONST TkStateMap * mapPtr, Tcl_Obj * keyPtr)); -/* 105 */ -EXTERN Tcl_HashTable * TkGetBitmapPredefTable _ANSI_ARGS_((void)); -/* 106 */ -EXTERN TkDisplay * TkGetDisplayList _ANSI_ARGS_((void)); -/* 107 */ -EXTERN TkMainInfo * TkGetMainInfoList _ANSI_ARGS_((void)); -/* 108 */ -EXTERN int TkGetWindowFromObj _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Window tkwin, Tcl_Obj * objPtr, - Tk_Window * windowPtr)); -/* 109 */ -EXTERN char * TkpGetString _ANSI_ARGS_((TkWindow * winPtr, - XEvent * eventPtr, Tcl_DString * dsPtr)); -/* 110 */ -EXTERN void TkpGetSubFonts _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Font tkfont)); -/* 111 */ -EXTERN Tcl_Obj * TkpGetSystemDefault _ANSI_ARGS_((Tk_Window tkwin, - char * dbName, char * className)); -/* 112 */ -EXTERN void TkpMenuThreadInit _ANSI_ARGS_((void)); -#ifdef __WIN32__ -/* 113 */ -EXTERN void TkClipBox _ANSI_ARGS_((TkRegion rgn, - XRectangle* rect_return)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 113 */ -EXTERN void TkClipBox _ANSI_ARGS_((TkRegion rgn, - XRectangle* rect_return)); -#endif /* MAC_TCL */ -#ifdef __WIN32__ -/* 114 */ -EXTERN TkRegion TkCreateRegion _ANSI_ARGS_((void)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 114 */ -EXTERN TkRegion TkCreateRegion _ANSI_ARGS_((void)); -#endif /* MAC_TCL */ -#ifdef __WIN32__ -/* 115 */ -EXTERN void TkDestroyRegion _ANSI_ARGS_((TkRegion rgn)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 115 */ -EXTERN void TkDestroyRegion _ANSI_ARGS_((TkRegion rgn)); -#endif /* MAC_TCL */ -#ifdef __WIN32__ -/* 116 */ -EXTERN void TkIntersectRegion _ANSI_ARGS_((TkRegion sra, - TkRegion srcb, TkRegion dr_return)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 116 */ -EXTERN void TkIntersectRegion _ANSI_ARGS_((TkRegion sra, - TkRegion srcb, TkRegion dr_return)); -#endif /* MAC_TCL */ -#ifdef __WIN32__ -/* 117 */ -EXTERN int TkRectInRegion _ANSI_ARGS_((TkRegion rgn, int x, - int y, unsigned int width, - unsigned int height)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 117 */ -EXTERN int TkRectInRegion _ANSI_ARGS_((TkRegion rgn, int x, - int y, unsigned int width, - unsigned int height)); -#endif /* MAC_TCL */ -#ifdef __WIN32__ -/* 118 */ -EXTERN void TkSetRegion _ANSI_ARGS_((Display* display, GC gc, - TkRegion rgn)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 118 */ -EXTERN void TkSetRegion _ANSI_ARGS_((Display* display, GC gc, - TkRegion rgn)); -#endif /* MAC_TCL */ -#ifdef __WIN32__ -/* 119 */ -EXTERN void TkUnionRectWithRegion _ANSI_ARGS_((XRectangle* rect, - TkRegion src, TkRegion dr_return)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 119 */ -EXTERN void TkUnionRectWithRegion _ANSI_ARGS_((XRectangle* rect, - TkRegion src, TkRegion dr_return)); -#endif /* MAC_TCL */ -#ifdef MAC_TCL -/* 120 */ -EXTERN void TkGenerateActivateEvents _ANSI_ARGS_(( - TkWindow * winPtr, int active)); -#endif /* MAC_TCL */ -#ifdef MAC_TCL -/* 121 */ -EXTERN Pixmap TkpCreateNativeBitmap _ANSI_ARGS_((Display * display, - char * source)); -#endif /* MAC_TCL */ -#ifdef MAC_TCL -/* 122 */ -EXTERN void TkpDefineNativeBitmaps _ANSI_ARGS_((void)); -#endif /* MAC_TCL */ -#ifdef MAC_TCL -/* 123 */ -EXTERN unsigned long TkpGetMS _ANSI_ARGS_((void)); -#endif /* MAC_TCL */ -#ifdef MAC_TCL -/* 124 */ -EXTERN Pixmap TkpGetNativeAppBitmap _ANSI_ARGS_((Display * display, - CONST char * name, int * width, int * height)); -#endif /* MAC_TCL */ -#ifdef MAC_TCL -/* 125 */ -EXTERN void TkPointerDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -#endif /* MAC_TCL */ -#ifdef MAC_TCL -/* 126 */ -EXTERN void TkpSetCapture _ANSI_ARGS_((TkWindow * winPtr)); -#endif /* MAC_TCL */ -#ifdef MAC_TCL -/* 127 */ -EXTERN void TkpSetCursor _ANSI_ARGS_((TkpCursor cursor)); -#endif /* MAC_TCL */ -#ifdef MAC_TCL -/* 128 */ -EXTERN void TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr, - int state)); -#endif /* MAC_TCL */ -/* Slot 129 is reserved */ -#ifdef MAC_TCL -/* 130 */ -EXTERN Window TkGetTransientMaster _ANSI_ARGS_((TkWindow * winPtr)); -#endif /* MAC_TCL */ -#ifdef MAC_TCL -/* 131 */ -EXTERN int TkGenerateButtonEvent _ANSI_ARGS_((int x, int y, - Window window, unsigned int state)); -#endif /* MAC_TCL */ -/* Slot 132 is reserved */ -#ifdef MAC_TCL -/* 133 */ -EXTERN void TkGenWMDestroyEvent _ANSI_ARGS_((Tk_Window tkwin)); -#endif /* MAC_TCL */ -#ifdef MAC_TCL -/* 134 */ -EXTERN void TkGenWMConfigureEvent _ANSI_ARGS_((Tk_Window tkwin, - int x, int y, int width, int height, - int flags)); -#endif /* MAC_TCL */ -/* 135 */ -EXTERN void TkpDrawHighlightBorder _ANSI_ARGS_((Tk_Window tkwin, - GC fgGC, GC bgGC, int highlightWidth, - Drawable drawable)); -/* 136 */ -EXTERN void TkSetFocusWin _ANSI_ARGS_((TkWindow * winPtr, - int force)); -/* 137 */ -EXTERN void TkpSetKeycodeAndState _ANSI_ARGS_((Tk_Window tkwin, - KeySym keySym, XEvent * eventPtr)); -/* 138 */ -EXTERN KeySym TkpGetKeySym _ANSI_ARGS_((TkDisplay * dispPtr, - XEvent * eventPtr)); -/* 139 */ -EXTERN void TkpInitKeymapInfo _ANSI_ARGS_((TkDisplay * dispPtr)); - -typedef struct TkIntStubs { - int magic; - struct TkIntStubHooks *hooks; - - TkWindow * (*tkAllocWindow) _ANSI_ARGS_((TkDisplay * dispPtr, int screenNum, TkWindow * parentPtr)); /* 0 */ - void (*tkBezierPoints) _ANSI_ARGS_((double control[], int numSteps, double * coordPtr)); /* 1 */ - void (*tkBezierScreenPoints) _ANSI_ARGS_((Tk_Canvas canvas, double control[], int numSteps, XPoint * xPointPtr)); /* 2 */ - void (*tkBindDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 3 */ - void (*tkBindEventProc) _ANSI_ARGS_((TkWindow * winPtr, XEvent * eventPtr)); /* 4 */ - void (*tkBindFree) _ANSI_ARGS_((TkMainInfo * mainPtr)); /* 5 */ - void (*tkBindInit) _ANSI_ARGS_((TkMainInfo * mainPtr)); /* 6 */ - void (*tkChangeEventWindow) _ANSI_ARGS_((XEvent * eventPtr, TkWindow * winPtr)); /* 7 */ - int (*tkClipInit) _ANSI_ARGS_((Tcl_Interp * interp, TkDisplay * dispPtr)); /* 8 */ - void (*tkComputeAnchor) _ANSI_ARGS_((Tk_Anchor anchor, Tk_Window tkwin, int padX, int padY, int innerWidth, int innerHeight, int * xPtr, int * yPtr)); /* 9 */ - int (*tkCopyAndGlobalEval) _ANSI_ARGS_((Tcl_Interp * interp, char * script)); /* 10 */ - unsigned long (*tkCreateBindingProcedure) _ANSI_ARGS_((Tcl_Interp * interp, Tk_BindingTable bindingTable, ClientData object, char * eventString, TkBindEvalProc * evalProc, TkBindFreeProc * freeProc, ClientData clientData)); /* 11 */ - TkCursor * (*tkCreateCursorFromData) _ANSI_ARGS_((Tk_Window tkwin, char * source, char * mask, int width, int height, int xHot, int yHot, XColor fg, XColor bg)); /* 12 */ - int (*tkCreateFrame) _ANSI_ARGS_((ClientData clientData, Tcl_Interp * interp, int argc, char ** argv, int toplevel, char * appName)); /* 13 */ - Tk_Window (*tkCreateMainWindow) _ANSI_ARGS_((Tcl_Interp * interp, char * screenName, char * baseName)); /* 14 */ - Time (*tkCurrentTime) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 15 */ - void (*tkDeleteAllImages) _ANSI_ARGS_((TkMainInfo * mainPtr)); /* 16 */ - void (*tkDoConfigureNotify) _ANSI_ARGS_((TkWindow * winPtr)); /* 17 */ - void (*tkDrawInsetFocusHighlight) _ANSI_ARGS_((Tk_Window tkwin, GC gc, int width, Drawable drawable, int padding)); /* 18 */ - void (*tkEventDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 19 */ - void (*tkFillPolygon) _ANSI_ARGS_((Tk_Canvas canvas, double * coordPtr, int numPoints, Display * display, Drawable drawable, GC gc, GC outlineGC)); /* 20 */ - int (*tkFindStateNum) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * option, CONST TkStateMap * mapPtr, CONST char * strKey)); /* 21 */ - char * (*tkFindStateString) _ANSI_ARGS_((CONST TkStateMap * mapPtr, int numKey)); /* 22 */ - void (*tkFocusDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 23 */ - int (*tkFocusFilterEvent) _ANSI_ARGS_((TkWindow * winPtr, XEvent * eventPtr)); /* 24 */ - TkWindow * (*tkFocusKeyEvent) _ANSI_ARGS_((TkWindow * winPtr, XEvent * eventPtr)); /* 25 */ - void (*tkFontPkgInit) _ANSI_ARGS_((TkMainInfo * mainPtr)); /* 26 */ - void (*tkFontPkgFree) _ANSI_ARGS_((TkMainInfo * mainPtr)); /* 27 */ - void (*tkFreeBindingTags) _ANSI_ARGS_((TkWindow * winPtr)); /* 28 */ - void (*tkpFreeCursor) _ANSI_ARGS_((TkCursor * cursorPtr)); /* 29 */ - char * (*tkGetBitmapData) _ANSI_ARGS_((Tcl_Interp * interp, char * string, char * fileName, int * widthPtr, int * heightPtr, int * hotXPtr, int * hotYPtr)); /* 30 */ - void (*tkGetButtPoints) _ANSI_ARGS_((double p1[], double p2[], double width, int project, double m1[], double m2[])); /* 31 */ - TkCursor * (*tkGetCursorByName) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Window tkwin, Tk_Uid string)); /* 32 */ - char * (*tkGetDefaultScreenName) _ANSI_ARGS_((Tcl_Interp * interp, char * screenName)); /* 33 */ - TkDisplay * (*tkGetDisplay) _ANSI_ARGS_((Display * display)); /* 34 */ - int (*tkGetDisplayOf) _ANSI_ARGS_((Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[], Tk_Window * tkwinPtr)); /* 35 */ - TkWindow * (*tkGetFocusWin) _ANSI_ARGS_((TkWindow * winPtr)); /* 36 */ - int (*tkGetInterpNames) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Window tkwin)); /* 37 */ - int (*tkGetMiterPoints) _ANSI_ARGS_((double p1[], double p2[], double p3[], double width, double m1[], double m2[])); /* 38 */ - void (*tkGetPointerCoords) _ANSI_ARGS_((Tk_Window tkwin, int * xPtr, int * yPtr)); /* 39 */ - void (*tkGetServerInfo) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Window tkwin)); /* 40 */ - void (*tkGrabDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 41 */ - int (*tkGrabState) _ANSI_ARGS_((TkWindow * winPtr)); /* 42 */ - void (*tkIncludePoint) _ANSI_ARGS_((Tk_Item * itemPtr, double * pointPtr)); /* 43 */ - void (*tkInOutEvents) _ANSI_ARGS_((XEvent * eventPtr, TkWindow * sourcePtr, TkWindow * destPtr, int leaveType, int enterType, Tcl_QueuePosition position)); /* 44 */ - void (*tkInstallFrameMenu) _ANSI_ARGS_((Tk_Window tkwin)); /* 45 */ - char * (*tkKeysymToString) _ANSI_ARGS_((KeySym keysym)); /* 46 */ - int (*tkLineToArea) _ANSI_ARGS_((double end1Ptr[], double end2Ptr[], double rectPtr[])); /* 47 */ - double (*tkLineToPoint) _ANSI_ARGS_((double end1Ptr[], double end2Ptr[], double pointPtr[])); /* 48 */ - int (*tkMakeBezierCurve) _ANSI_ARGS_((Tk_Canvas canvas, double * pointPtr, int numPoints, int numSteps, XPoint xPoints[], double dblPoints[])); /* 49 */ - void (*tkMakeBezierPostscript) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Canvas canvas, double * pointPtr, int numPoints)); /* 50 */ - void (*tkOptionClassChanged) _ANSI_ARGS_((TkWindow * winPtr)); /* 51 */ - void (*tkOptionDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 52 */ - int (*tkOvalToArea) _ANSI_ARGS_((double * ovalPtr, double * rectPtr)); /* 53 */ - double (*tkOvalToPoint) _ANSI_ARGS_((double ovalPtr[], double width, int filled, double pointPtr[])); /* 54 */ - int (*tkpChangeFocus) _ANSI_ARGS_((TkWindow * winPtr, int force)); /* 55 */ - void (*tkpCloseDisplay) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 56 */ - void (*tkpClaimFocus) _ANSI_ARGS_((TkWindow * topLevelPtr, int force)); /* 57 */ - void (*tkpDisplayWarning) _ANSI_ARGS_((char * msg, char * title)); /* 58 */ - void (*tkpGetAppName) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_DString * name)); /* 59 */ - TkWindow * (*tkpGetOtherWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 60 */ - TkWindow * (*tkpGetWrapperWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 61 */ - int (*tkpInit) _ANSI_ARGS_((Tcl_Interp * interp)); /* 62 */ - void (*tkpInitializeMenuBindings) _ANSI_ARGS_((Tcl_Interp * interp, Tk_BindingTable bindingTable)); /* 63 */ - void (*tkpMakeContainer) _ANSI_ARGS_((Tk_Window tkwin)); /* 64 */ - void (*tkpMakeMenuWindow) _ANSI_ARGS_((Tk_Window tkwin, int transient)); /* 65 */ - Window (*tkpMakeWindow) _ANSI_ARGS_((TkWindow * winPtr, Window parent)); /* 66 */ - void (*tkpMenuNotifyToplevelCreate) _ANSI_ARGS_((Tcl_Interp * interp1, char * menuName)); /* 67 */ - TkDisplay * (*tkpOpenDisplay) _ANSI_ARGS_((char * display_name)); /* 68 */ - int (*tkPointerEvent) _ANSI_ARGS_((XEvent * eventPtr, TkWindow * winPtr)); /* 69 */ - int (*tkPolygonToArea) _ANSI_ARGS_((double * polyPtr, int numPoints, double * rectPtr)); /* 70 */ - double (*tkPolygonToPoint) _ANSI_ARGS_((double * polyPtr, int numPoints, double * pointPtr)); /* 71 */ - int (*tkPositionInTree) _ANSI_ARGS_((TkWindow * winPtr, TkWindow * treePtr)); /* 72 */ - void (*tkpRedirectKeyEvent) _ANSI_ARGS_((TkWindow * winPtr, XEvent * eventPtr)); /* 73 */ - void (*tkpSetMainMenubar) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Window tkwin, char * menuName)); /* 74 */ - int (*tkpUseWindow) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Window tkwin, char * string)); /* 75 */ - int (*tkpWindowWasRecentlyDeleted) _ANSI_ARGS_((Window win, TkDisplay * dispPtr)); /* 76 */ - void (*tkQueueEventForAllChildren) _ANSI_ARGS_((TkWindow * winPtr, XEvent * eventPtr)); /* 77 */ - int (*tkReadBitmapFile) _ANSI_ARGS_((Display* display, Drawable d, CONST char* filename, unsigned int* width_return, unsigned int* height_return, Pixmap* bitmap_return, int* x_hot_return, int* y_hot_return)); /* 78 */ - int (*tkScrollWindow) _ANSI_ARGS_((Tk_Window tkwin, GC gc, int x, int y, int width, int height, int dx, int dy, TkRegion damageRgn)); /* 79 */ - void (*tkSelDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 80 */ - void (*tkSelEventProc) _ANSI_ARGS_((Tk_Window tkwin, XEvent * eventPtr)); /* 81 */ - void (*tkSelInit) _ANSI_ARGS_((Tk_Window tkwin)); /* 82 */ - void (*tkSelPropProc) _ANSI_ARGS_((XEvent * eventPtr)); /* 83 */ - void (*tkSetClassProcs) _ANSI_ARGS_((Tk_Window tkwin, TkClassProcs * procs, ClientData instanceData)); /* 84 */ - void (*tkSetWindowMenuBar) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Window tkwin, char * oldMenuName, char * menuName)); /* 85 */ - KeySym (*tkStringToKeysym) _ANSI_ARGS_((char * name)); /* 86 */ - int (*tkThickPolyLineToArea) _ANSI_ARGS_((double * coordPtr, int numPoints, double width, int capStyle, int joinStyle, double * rectPtr)); /* 87 */ - void (*tkWmAddToColormapWindows) _ANSI_ARGS_((TkWindow * winPtr)); /* 88 */ - void (*tkWmDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 89 */ - TkWindow * (*tkWmFocusToplevel) _ANSI_ARGS_((TkWindow * winPtr)); /* 90 */ - void (*tkWmMapWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 91 */ - void (*tkWmNewWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 92 */ - void (*tkWmProtocolEventProc) _ANSI_ARGS_((TkWindow * winPtr, XEvent * evenvPtr)); /* 93 */ - void (*tkWmRemoveFromColormapWindows) _ANSI_ARGS_((TkWindow * winPtr)); /* 94 */ - void (*tkWmRestackToplevel) _ANSI_ARGS_((TkWindow * winPtr, int aboveBelow, TkWindow * otherPtr)); /* 95 */ - void (*tkWmSetClass) _ANSI_ARGS_((TkWindow * winPtr)); /* 96 */ - void (*tkWmUnmapWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 97 */ - Tcl_Obj * (*tkDebugBitmap) _ANSI_ARGS_((Tk_Window tkwin, char * name)); /* 98 */ - Tcl_Obj * (*tkDebugBorder) _ANSI_ARGS_((Tk_Window tkwin, char * name)); /* 99 */ - Tcl_Obj * (*tkDebugCursor) _ANSI_ARGS_((Tk_Window tkwin, char * name)); /* 100 */ - Tcl_Obj * (*tkDebugColor) _ANSI_ARGS_((Tk_Window tkwin, char * name)); /* 101 */ - Tcl_Obj * (*tkDebugConfig) _ANSI_ARGS_((Tcl_Interp * interp, Tk_OptionTable table)); /* 102 */ - Tcl_Obj * (*tkDebugFont) _ANSI_ARGS_((Tk_Window tkwin, char * name)); /* 103 */ - int (*tkFindStateNumObj) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * optionPtr, CONST TkStateMap * mapPtr, Tcl_Obj * keyPtr)); /* 104 */ - Tcl_HashTable * (*tkGetBitmapPredefTable) _ANSI_ARGS_((void)); /* 105 */ - TkDisplay * (*tkGetDisplayList) _ANSI_ARGS_((void)); /* 106 */ - TkMainInfo * (*tkGetMainInfoList) _ANSI_ARGS_((void)); /* 107 */ - int (*tkGetWindowFromObj) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Window tkwin, Tcl_Obj * objPtr, Tk_Window * windowPtr)); /* 108 */ - char * (*tkpGetString) _ANSI_ARGS_((TkWindow * winPtr, XEvent * eventPtr, Tcl_DString * dsPtr)); /* 109 */ - void (*tkpGetSubFonts) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Font tkfont)); /* 110 */ - Tcl_Obj * (*tkpGetSystemDefault) _ANSI_ARGS_((Tk_Window tkwin, char * dbName, char * className)); /* 111 */ - void (*tkpMenuThreadInit) _ANSI_ARGS_((void)); /* 112 */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved113; -#endif /* UNIX */ -#ifdef __WIN32__ - void (*tkClipBox) _ANSI_ARGS_((TkRegion rgn, XRectangle* rect_return)); /* 113 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkClipBox) _ANSI_ARGS_((TkRegion rgn, XRectangle* rect_return)); /* 113 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved114; -#endif /* UNIX */ -#ifdef __WIN32__ - TkRegion (*tkCreateRegion) _ANSI_ARGS_((void)); /* 114 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - TkRegion (*tkCreateRegion) _ANSI_ARGS_((void)); /* 114 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved115; -#endif /* UNIX */ -#ifdef __WIN32__ - void (*tkDestroyRegion) _ANSI_ARGS_((TkRegion rgn)); /* 115 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkDestroyRegion) _ANSI_ARGS_((TkRegion rgn)); /* 115 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved116; -#endif /* UNIX */ -#ifdef __WIN32__ - void (*tkIntersectRegion) _ANSI_ARGS_((TkRegion sra, TkRegion srcb, TkRegion dr_return)); /* 116 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkIntersectRegion) _ANSI_ARGS_((TkRegion sra, TkRegion srcb, TkRegion dr_return)); /* 116 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved117; -#endif /* UNIX */ -#ifdef __WIN32__ - int (*tkRectInRegion) _ANSI_ARGS_((TkRegion rgn, int x, int y, unsigned int width, unsigned int height)); /* 117 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - int (*tkRectInRegion) _ANSI_ARGS_((TkRegion rgn, int x, int y, unsigned int width, unsigned int height)); /* 117 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved118; -#endif /* UNIX */ -#ifdef __WIN32__ - void (*tkSetRegion) _ANSI_ARGS_((Display* display, GC gc, TkRegion rgn)); /* 118 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkSetRegion) _ANSI_ARGS_((Display* display, GC gc, TkRegion rgn)); /* 118 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved119; -#endif /* UNIX */ -#ifdef __WIN32__ - void (*tkUnionRectWithRegion) _ANSI_ARGS_((XRectangle* rect, TkRegion src, TkRegion dr_return)); /* 119 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkUnionRectWithRegion) _ANSI_ARGS_((XRectangle* rect, TkRegion src, TkRegion dr_return)); /* 119 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved120; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved120; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow * winPtr, int active)); /* 120 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved121; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved121; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - Pixmap (*tkpCreateNativeBitmap) _ANSI_ARGS_((Display * display, char * source)); /* 121 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved122; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved122; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkpDefineNativeBitmaps) _ANSI_ARGS_((void)); /* 122 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved123; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved123; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - unsigned long (*tkpGetMS) _ANSI_ARGS_((void)); /* 123 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved124; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved124; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - Pixmap (*tkpGetNativeAppBitmap) _ANSI_ARGS_((Display * display, CONST char * name, int * width, int * height)); /* 124 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved125; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved125; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 125 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved126; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved126; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkpSetCapture) _ANSI_ARGS_((TkWindow * winPtr)); /* 126 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved127; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved127; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkpSetCursor) _ANSI_ARGS_((TkpCursor cursor)); /* 127 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved128; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved128; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state)); /* 128 */ -#endif /* MAC_TCL */ - void *reserved129; -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved130; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved130; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - Window (*tkGetTransientMaster) _ANSI_ARGS_((TkWindow * winPtr)); /* 130 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved131; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved131; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - int (*tkGenerateButtonEvent) _ANSI_ARGS_((int x, int y, Window window, unsigned int state)); /* 131 */ -#endif /* MAC_TCL */ - void *reserved132; -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved133; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved133; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkGenWMDestroyEvent) _ANSI_ARGS_((Tk_Window tkwin)); /* 133 */ -#endif /* MAC_TCL */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved134; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved134; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkGenWMConfigureEvent) _ANSI_ARGS_((Tk_Window tkwin, int x, int y, int width, int height, int flags)); /* 134 */ -#endif /* MAC_TCL */ - void (*tkpDrawHighlightBorder) _ANSI_ARGS_((Tk_Window tkwin, GC fgGC, GC bgGC, int highlightWidth, Drawable drawable)); /* 135 */ - void (*tkSetFocusWin) _ANSI_ARGS_((TkWindow * winPtr, int force)); /* 136 */ - void (*tkpSetKeycodeAndState) _ANSI_ARGS_((Tk_Window tkwin, KeySym keySym, XEvent * eventPtr)); /* 137 */ - KeySym (*tkpGetKeySym) _ANSI_ARGS_((TkDisplay * dispPtr, XEvent * eventPtr)); /* 138 */ - void (*tkpInitKeymapInfo) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 139 */ -} TkIntStubs; - -#ifdef __cplusplus -extern "C" { -#endif -extern TkIntStubs *tkIntStubsPtr; -#ifdef __cplusplus -} -#endif - -#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) - -/* - * Inline function declarations: - */ - -#ifndef TkAllocWindow -#define TkAllocWindow \ - (tkIntStubsPtr->tkAllocWindow) /* 0 */ -#endif -#ifndef TkBezierPoints -#define TkBezierPoints \ - (tkIntStubsPtr->tkBezierPoints) /* 1 */ -#endif -#ifndef TkBezierScreenPoints -#define TkBezierScreenPoints \ - (tkIntStubsPtr->tkBezierScreenPoints) /* 2 */ -#endif -#ifndef TkBindDeadWindow -#define TkBindDeadWindow \ - (tkIntStubsPtr->tkBindDeadWindow) /* 3 */ -#endif -#ifndef TkBindEventProc -#define TkBindEventProc \ - (tkIntStubsPtr->tkBindEventProc) /* 4 */ -#endif -#ifndef TkBindFree -#define TkBindFree \ - (tkIntStubsPtr->tkBindFree) /* 5 */ -#endif -#ifndef TkBindInit -#define TkBindInit \ - (tkIntStubsPtr->tkBindInit) /* 6 */ -#endif -#ifndef TkChangeEventWindow -#define TkChangeEventWindow \ - (tkIntStubsPtr->tkChangeEventWindow) /* 7 */ -#endif -#ifndef TkClipInit -#define TkClipInit \ - (tkIntStubsPtr->tkClipInit) /* 8 */ -#endif -#ifndef TkComputeAnchor -#define TkComputeAnchor \ - (tkIntStubsPtr->tkComputeAnchor) /* 9 */ -#endif -#ifndef TkCopyAndGlobalEval -#define TkCopyAndGlobalEval \ - (tkIntStubsPtr->tkCopyAndGlobalEval) /* 10 */ -#endif -#ifndef TkCreateBindingProcedure -#define TkCreateBindingProcedure \ - (tkIntStubsPtr->tkCreateBindingProcedure) /* 11 */ -#endif -#ifndef TkCreateCursorFromData -#define TkCreateCursorFromData \ - (tkIntStubsPtr->tkCreateCursorFromData) /* 12 */ -#endif -#ifndef TkCreateFrame -#define TkCreateFrame \ - (tkIntStubsPtr->tkCreateFrame) /* 13 */ -#endif -#ifndef TkCreateMainWindow -#define TkCreateMainWindow \ - (tkIntStubsPtr->tkCreateMainWindow) /* 14 */ -#endif -#ifndef TkCurrentTime -#define TkCurrentTime \ - (tkIntStubsPtr->tkCurrentTime) /* 15 */ -#endif -#ifndef TkDeleteAllImages -#define TkDeleteAllImages \ - (tkIntStubsPtr->tkDeleteAllImages) /* 16 */ -#endif -#ifndef TkDoConfigureNotify -#define TkDoConfigureNotify \ - (tkIntStubsPtr->tkDoConfigureNotify) /* 17 */ -#endif -#ifndef TkDrawInsetFocusHighlight -#define TkDrawInsetFocusHighlight \ - (tkIntStubsPtr->tkDrawInsetFocusHighlight) /* 18 */ -#endif -#ifndef TkEventDeadWindow -#define TkEventDeadWindow \ - (tkIntStubsPtr->tkEventDeadWindow) /* 19 */ -#endif -#ifndef TkFillPolygon -#define TkFillPolygon \ - (tkIntStubsPtr->tkFillPolygon) /* 20 */ -#endif -#ifndef TkFindStateNum -#define TkFindStateNum \ - (tkIntStubsPtr->tkFindStateNum) /* 21 */ -#endif -#ifndef TkFindStateString -#define TkFindStateString \ - (tkIntStubsPtr->tkFindStateString) /* 22 */ -#endif -#ifndef TkFocusDeadWindow -#define TkFocusDeadWindow \ - (tkIntStubsPtr->tkFocusDeadWindow) /* 23 */ -#endif -#ifndef TkFocusFilterEvent -#define TkFocusFilterEvent \ - (tkIntStubsPtr->tkFocusFilterEvent) /* 24 */ -#endif -#ifndef TkFocusKeyEvent -#define TkFocusKeyEvent \ - (tkIntStubsPtr->tkFocusKeyEvent) /* 25 */ -#endif -#ifndef TkFontPkgInit -#define TkFontPkgInit \ - (tkIntStubsPtr->tkFontPkgInit) /* 26 */ -#endif -#ifndef TkFontPkgFree -#define TkFontPkgFree \ - (tkIntStubsPtr->tkFontPkgFree) /* 27 */ -#endif -#ifndef TkFreeBindingTags -#define TkFreeBindingTags \ - (tkIntStubsPtr->tkFreeBindingTags) /* 28 */ -#endif -#ifndef TkpFreeCursor -#define TkpFreeCursor \ - (tkIntStubsPtr->tkpFreeCursor) /* 29 */ -#endif -#ifndef TkGetBitmapData -#define TkGetBitmapData \ - (tkIntStubsPtr->tkGetBitmapData) /* 30 */ -#endif -#ifndef TkGetButtPoints -#define TkGetButtPoints \ - (tkIntStubsPtr->tkGetButtPoints) /* 31 */ -#endif -#ifndef TkGetCursorByName -#define TkGetCursorByName \ - (tkIntStubsPtr->tkGetCursorByName) /* 32 */ -#endif -#ifndef TkGetDefaultScreenName -#define TkGetDefaultScreenName \ - (tkIntStubsPtr->tkGetDefaultScreenName) /* 33 */ -#endif -#ifndef TkGetDisplay -#define TkGetDisplay \ - (tkIntStubsPtr->tkGetDisplay) /* 34 */ -#endif -#ifndef TkGetDisplayOf -#define TkGetDisplayOf \ - (tkIntStubsPtr->tkGetDisplayOf) /* 35 */ -#endif -#ifndef TkGetFocusWin -#define TkGetFocusWin \ - (tkIntStubsPtr->tkGetFocusWin) /* 36 */ -#endif -#ifndef TkGetInterpNames -#define TkGetInterpNames \ - (tkIntStubsPtr->tkGetInterpNames) /* 37 */ -#endif -#ifndef TkGetMiterPoints -#define TkGetMiterPoints \ - (tkIntStubsPtr->tkGetMiterPoints) /* 38 */ -#endif -#ifndef TkGetPointerCoords -#define TkGetPointerCoords \ - (tkIntStubsPtr->tkGetPointerCoords) /* 39 */ -#endif -#ifndef TkGetServerInfo -#define TkGetServerInfo \ - (tkIntStubsPtr->tkGetServerInfo) /* 40 */ -#endif -#ifndef TkGrabDeadWindow -#define TkGrabDeadWindow \ - (tkIntStubsPtr->tkGrabDeadWindow) /* 41 */ -#endif -#ifndef TkGrabState -#define TkGrabState \ - (tkIntStubsPtr->tkGrabState) /* 42 */ -#endif -#ifndef TkIncludePoint -#define TkIncludePoint \ - (tkIntStubsPtr->tkIncludePoint) /* 43 */ -#endif -#ifndef TkInOutEvents -#define TkInOutEvents \ - (tkIntStubsPtr->tkInOutEvents) /* 44 */ -#endif -#ifndef TkInstallFrameMenu -#define TkInstallFrameMenu \ - (tkIntStubsPtr->tkInstallFrameMenu) /* 45 */ -#endif -#ifndef TkKeysymToString -#define TkKeysymToString \ - (tkIntStubsPtr->tkKeysymToString) /* 46 */ -#endif -#ifndef TkLineToArea -#define TkLineToArea \ - (tkIntStubsPtr->tkLineToArea) /* 47 */ -#endif -#ifndef TkLineToPoint -#define TkLineToPoint \ - (tkIntStubsPtr->tkLineToPoint) /* 48 */ -#endif -#ifndef TkMakeBezierCurve -#define TkMakeBezierCurve \ - (tkIntStubsPtr->tkMakeBezierCurve) /* 49 */ -#endif -#ifndef TkMakeBezierPostscript -#define TkMakeBezierPostscript \ - (tkIntStubsPtr->tkMakeBezierPostscript) /* 50 */ -#endif -#ifndef TkOptionClassChanged -#define TkOptionClassChanged \ - (tkIntStubsPtr->tkOptionClassChanged) /* 51 */ -#endif -#ifndef TkOptionDeadWindow -#define TkOptionDeadWindow \ - (tkIntStubsPtr->tkOptionDeadWindow) /* 52 */ -#endif -#ifndef TkOvalToArea -#define TkOvalToArea \ - (tkIntStubsPtr->tkOvalToArea) /* 53 */ -#endif -#ifndef TkOvalToPoint -#define TkOvalToPoint \ - (tkIntStubsPtr->tkOvalToPoint) /* 54 */ -#endif -#ifndef TkpChangeFocus -#define TkpChangeFocus \ - (tkIntStubsPtr->tkpChangeFocus) /* 55 */ -#endif -#ifndef TkpCloseDisplay -#define TkpCloseDisplay \ - (tkIntStubsPtr->tkpCloseDisplay) /* 56 */ -#endif -#ifndef TkpClaimFocus -#define TkpClaimFocus \ - (tkIntStubsPtr->tkpClaimFocus) /* 57 */ -#endif -#ifndef TkpDisplayWarning -#define TkpDisplayWarning \ - (tkIntStubsPtr->tkpDisplayWarning) /* 58 */ -#endif -#ifndef TkpGetAppName -#define TkpGetAppName \ - (tkIntStubsPtr->tkpGetAppName) /* 59 */ -#endif -#ifndef TkpGetOtherWindow -#define TkpGetOtherWindow \ - (tkIntStubsPtr->tkpGetOtherWindow) /* 60 */ -#endif -#ifndef TkpGetWrapperWindow -#define TkpGetWrapperWindow \ - (tkIntStubsPtr->tkpGetWrapperWindow) /* 61 */ -#endif -#ifndef TkpInit -#define TkpInit \ - (tkIntStubsPtr->tkpInit) /* 62 */ -#endif -#ifndef TkpInitializeMenuBindings -#define TkpInitializeMenuBindings \ - (tkIntStubsPtr->tkpInitializeMenuBindings) /* 63 */ -#endif -#ifndef TkpMakeContainer -#define TkpMakeContainer \ - (tkIntStubsPtr->tkpMakeContainer) /* 64 */ -#endif -#ifndef TkpMakeMenuWindow -#define TkpMakeMenuWindow \ - (tkIntStubsPtr->tkpMakeMenuWindow) /* 65 */ -#endif -#ifndef TkpMakeWindow -#define TkpMakeWindow \ - (tkIntStubsPtr->tkpMakeWindow) /* 66 */ -#endif -#ifndef TkpMenuNotifyToplevelCreate -#define TkpMenuNotifyToplevelCreate \ - (tkIntStubsPtr->tkpMenuNotifyToplevelCreate) /* 67 */ -#endif -#ifndef TkpOpenDisplay -#define TkpOpenDisplay \ - (tkIntStubsPtr->tkpOpenDisplay) /* 68 */ -#endif -#ifndef TkPointerEvent -#define TkPointerEvent \ - (tkIntStubsPtr->tkPointerEvent) /* 69 */ -#endif -#ifndef TkPolygonToArea -#define TkPolygonToArea \ - (tkIntStubsPtr->tkPolygonToArea) /* 70 */ -#endif -#ifndef TkPolygonToPoint -#define TkPolygonToPoint \ - (tkIntStubsPtr->tkPolygonToPoint) /* 71 */ -#endif -#ifndef TkPositionInTree -#define TkPositionInTree \ - (tkIntStubsPtr->tkPositionInTree) /* 72 */ -#endif -#ifndef TkpRedirectKeyEvent -#define TkpRedirectKeyEvent \ - (tkIntStubsPtr->tkpRedirectKeyEvent) /* 73 */ -#endif -#ifndef TkpSetMainMenubar -#define TkpSetMainMenubar \ - (tkIntStubsPtr->tkpSetMainMenubar) /* 74 */ -#endif -#ifndef TkpUseWindow -#define TkpUseWindow \ - (tkIntStubsPtr->tkpUseWindow) /* 75 */ -#endif -#ifndef TkpWindowWasRecentlyDeleted -#define TkpWindowWasRecentlyDeleted \ - (tkIntStubsPtr->tkpWindowWasRecentlyDeleted) /* 76 */ -#endif -#ifndef TkQueueEventForAllChildren -#define TkQueueEventForAllChildren \ - (tkIntStubsPtr->tkQueueEventForAllChildren) /* 77 */ -#endif -#ifndef TkReadBitmapFile -#define TkReadBitmapFile \ - (tkIntStubsPtr->tkReadBitmapFile) /* 78 */ -#endif -#ifndef TkScrollWindow -#define TkScrollWindow \ - (tkIntStubsPtr->tkScrollWindow) /* 79 */ -#endif -#ifndef TkSelDeadWindow -#define TkSelDeadWindow \ - (tkIntStubsPtr->tkSelDeadWindow) /* 80 */ -#endif -#ifndef TkSelEventProc -#define TkSelEventProc \ - (tkIntStubsPtr->tkSelEventProc) /* 81 */ -#endif -#ifndef TkSelInit -#define TkSelInit \ - (tkIntStubsPtr->tkSelInit) /* 82 */ -#endif -#ifndef TkSelPropProc -#define TkSelPropProc \ - (tkIntStubsPtr->tkSelPropProc) /* 83 */ -#endif -#ifndef TkSetClassProcs -#define TkSetClassProcs \ - (tkIntStubsPtr->tkSetClassProcs) /* 84 */ -#endif -#ifndef TkSetWindowMenuBar -#define TkSetWindowMenuBar \ - (tkIntStubsPtr->tkSetWindowMenuBar) /* 85 */ -#endif -#ifndef TkStringToKeysym -#define TkStringToKeysym \ - (tkIntStubsPtr->tkStringToKeysym) /* 86 */ -#endif -#ifndef TkThickPolyLineToArea -#define TkThickPolyLineToArea \ - (tkIntStubsPtr->tkThickPolyLineToArea) /* 87 */ -#endif -#ifndef TkWmAddToColormapWindows -#define TkWmAddToColormapWindows \ - (tkIntStubsPtr->tkWmAddToColormapWindows) /* 88 */ -#endif -#ifndef TkWmDeadWindow -#define TkWmDeadWindow \ - (tkIntStubsPtr->tkWmDeadWindow) /* 89 */ -#endif -#ifndef TkWmFocusToplevel -#define TkWmFocusToplevel \ - (tkIntStubsPtr->tkWmFocusToplevel) /* 90 */ -#endif -#ifndef TkWmMapWindow -#define TkWmMapWindow \ - (tkIntStubsPtr->tkWmMapWindow) /* 91 */ -#endif -#ifndef TkWmNewWindow -#define TkWmNewWindow \ - (tkIntStubsPtr->tkWmNewWindow) /* 92 */ -#endif -#ifndef TkWmProtocolEventProc -#define TkWmProtocolEventProc \ - (tkIntStubsPtr->tkWmProtocolEventProc) /* 93 */ -#endif -#ifndef TkWmRemoveFromColormapWindows -#define TkWmRemoveFromColormapWindows \ - (tkIntStubsPtr->tkWmRemoveFromColormapWindows) /* 94 */ -#endif -#ifndef TkWmRestackToplevel -#define TkWmRestackToplevel \ - (tkIntStubsPtr->tkWmRestackToplevel) /* 95 */ -#endif -#ifndef TkWmSetClass -#define TkWmSetClass \ - (tkIntStubsPtr->tkWmSetClass) /* 96 */ -#endif -#ifndef TkWmUnmapWindow -#define TkWmUnmapWindow \ - (tkIntStubsPtr->tkWmUnmapWindow) /* 97 */ -#endif -#ifndef TkDebugBitmap -#define TkDebugBitmap \ - (tkIntStubsPtr->tkDebugBitmap) /* 98 */ -#endif -#ifndef TkDebugBorder -#define TkDebugBorder \ - (tkIntStubsPtr->tkDebugBorder) /* 99 */ -#endif -#ifndef TkDebugCursor -#define TkDebugCursor \ - (tkIntStubsPtr->tkDebugCursor) /* 100 */ -#endif -#ifndef TkDebugColor -#define TkDebugColor \ - (tkIntStubsPtr->tkDebugColor) /* 101 */ -#endif -#ifndef TkDebugConfig -#define TkDebugConfig \ - (tkIntStubsPtr->tkDebugConfig) /* 102 */ -#endif -#ifndef TkDebugFont -#define TkDebugFont \ - (tkIntStubsPtr->tkDebugFont) /* 103 */ -#endif -#ifndef TkFindStateNumObj -#define TkFindStateNumObj \ - (tkIntStubsPtr->tkFindStateNumObj) /* 104 */ -#endif -#ifndef TkGetBitmapPredefTable -#define TkGetBitmapPredefTable \ - (tkIntStubsPtr->tkGetBitmapPredefTable) /* 105 */ -#endif -#ifndef TkGetDisplayList -#define TkGetDisplayList \ - (tkIntStubsPtr->tkGetDisplayList) /* 106 */ -#endif -#ifndef TkGetMainInfoList -#define TkGetMainInfoList \ - (tkIntStubsPtr->tkGetMainInfoList) /* 107 */ -#endif -#ifndef TkGetWindowFromObj -#define TkGetWindowFromObj \ - (tkIntStubsPtr->tkGetWindowFromObj) /* 108 */ -#endif -#ifndef TkpGetString -#define TkpGetString \ - (tkIntStubsPtr->tkpGetString) /* 109 */ -#endif -#ifndef TkpGetSubFonts -#define TkpGetSubFonts \ - (tkIntStubsPtr->tkpGetSubFonts) /* 110 */ -#endif -#ifndef TkpGetSystemDefault -#define TkpGetSystemDefault \ - (tkIntStubsPtr->tkpGetSystemDefault) /* 111 */ -#endif -#ifndef TkpMenuThreadInit -#define TkpMenuThreadInit \ - (tkIntStubsPtr->tkpMenuThreadInit) /* 112 */ -#endif -#ifdef __WIN32__ -#ifndef TkClipBox -#define TkClipBox \ - (tkIntStubsPtr->tkClipBox) /* 113 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkClipBox -#define TkClipBox \ - (tkIntStubsPtr->tkClipBox) /* 113 */ -#endif -#endif /* MAC_TCL */ -#ifdef __WIN32__ -#ifndef TkCreateRegion -#define TkCreateRegion \ - (tkIntStubsPtr->tkCreateRegion) /* 114 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkCreateRegion -#define TkCreateRegion \ - (tkIntStubsPtr->tkCreateRegion) /* 114 */ -#endif -#endif /* MAC_TCL */ -#ifdef __WIN32__ -#ifndef TkDestroyRegion -#define TkDestroyRegion \ - (tkIntStubsPtr->tkDestroyRegion) /* 115 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkDestroyRegion -#define TkDestroyRegion \ - (tkIntStubsPtr->tkDestroyRegion) /* 115 */ -#endif -#endif /* MAC_TCL */ -#ifdef __WIN32__ -#ifndef TkIntersectRegion -#define TkIntersectRegion \ - (tkIntStubsPtr->tkIntersectRegion) /* 116 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkIntersectRegion -#define TkIntersectRegion \ - (tkIntStubsPtr->tkIntersectRegion) /* 116 */ -#endif -#endif /* MAC_TCL */ -#ifdef __WIN32__ -#ifndef TkRectInRegion -#define TkRectInRegion \ - (tkIntStubsPtr->tkRectInRegion) /* 117 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkRectInRegion -#define TkRectInRegion \ - (tkIntStubsPtr->tkRectInRegion) /* 117 */ -#endif -#endif /* MAC_TCL */ -#ifdef __WIN32__ -#ifndef TkSetRegion -#define TkSetRegion \ - (tkIntStubsPtr->tkSetRegion) /* 118 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkSetRegion -#define TkSetRegion \ - (tkIntStubsPtr->tkSetRegion) /* 118 */ -#endif -#endif /* MAC_TCL */ -#ifdef __WIN32__ -#ifndef TkUnionRectWithRegion -#define TkUnionRectWithRegion \ - (tkIntStubsPtr->tkUnionRectWithRegion) /* 119 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkUnionRectWithRegion -#define TkUnionRectWithRegion \ - (tkIntStubsPtr->tkUnionRectWithRegion) /* 119 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_TCL -#ifndef TkGenerateActivateEvents -#define TkGenerateActivateEvents \ - (tkIntStubsPtr->tkGenerateActivateEvents) /* 120 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_TCL -#ifndef TkpCreateNativeBitmap -#define TkpCreateNativeBitmap \ - (tkIntStubsPtr->tkpCreateNativeBitmap) /* 121 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_TCL -#ifndef TkpDefineNativeBitmaps -#define TkpDefineNativeBitmaps \ - (tkIntStubsPtr->tkpDefineNativeBitmaps) /* 122 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_TCL -#ifndef TkpGetMS -#define TkpGetMS \ - (tkIntStubsPtr->tkpGetMS) /* 123 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_TCL -#ifndef TkpGetNativeAppBitmap -#define TkpGetNativeAppBitmap \ - (tkIntStubsPtr->tkpGetNativeAppBitmap) /* 124 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_TCL -#ifndef TkPointerDeadWindow -#define TkPointerDeadWindow \ - (tkIntStubsPtr->tkPointerDeadWindow) /* 125 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_TCL -#ifndef TkpSetCapture -#define TkpSetCapture \ - (tkIntStubsPtr->tkpSetCapture) /* 126 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_TCL -#ifndef TkpSetCursor -#define TkpSetCursor \ - (tkIntStubsPtr->tkpSetCursor) /* 127 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_TCL -#ifndef TkpWmSetState -#define TkpWmSetState \ - (tkIntStubsPtr->tkpWmSetState) /* 128 */ -#endif -#endif /* MAC_TCL */ -/* Slot 129 is reserved */ -#ifdef MAC_TCL -#ifndef TkGetTransientMaster -#define TkGetTransientMaster \ - (tkIntStubsPtr->tkGetTransientMaster) /* 130 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_TCL -#ifndef TkGenerateButtonEvent -#define TkGenerateButtonEvent \ - (tkIntStubsPtr->tkGenerateButtonEvent) /* 131 */ -#endif -#endif /* MAC_TCL */ -/* Slot 132 is reserved */ -#ifdef MAC_TCL -#ifndef TkGenWMDestroyEvent -#define TkGenWMDestroyEvent \ - (tkIntStubsPtr->tkGenWMDestroyEvent) /* 133 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_TCL -#ifndef TkGenWMConfigureEvent -#define TkGenWMConfigureEvent \ - (tkIntStubsPtr->tkGenWMConfigureEvent) /* 134 */ -#endif -#endif /* MAC_TCL */ -#ifndef TkpDrawHighlightBorder -#define TkpDrawHighlightBorder \ - (tkIntStubsPtr->tkpDrawHighlightBorder) /* 135 */ -#endif -#ifndef TkSetFocusWin -#define TkSetFocusWin \ - (tkIntStubsPtr->tkSetFocusWin) /* 136 */ -#endif -#ifndef TkpSetKeycodeAndState -#define TkpSetKeycodeAndState \ - (tkIntStubsPtr->tkpSetKeycodeAndState) /* 137 */ -#endif -#ifndef TkpGetKeySym -#define TkpGetKeySym \ - (tkIntStubsPtr->tkpGetKeySym) /* 138 */ -#endif -#ifndef TkpInitKeymapInfo -#define TkpInitKeymapInfo \ - (tkIntStubsPtr->tkpInitKeymapInfo) /* 139 */ -#endif - -#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */ - -/* !END!: Do not edit above this line. */ - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKINTDECLS */ - diff --git a/src/other/togl/include/tcltk/tk8.3/tkIntPlatDecls.h b/src/other/togl/include/tcltk/tk8.3/tkIntPlatDecls.h deleted file mode 100644 index 7e4c6ff3dfc..00000000000 --- a/src/other/togl/include/tcltk/tk8.3/tkIntPlatDecls.h +++ /dev/null @@ -1,844 +0,0 @@ -/* - * tkIntPlatDecls.h -- - * - * This file contains the declarations for all platform dependent - * unsupported functions that are exported by the Tk library. These - * interfaces are not guaranteed to remain the same between - * versions. Use at your own risk. - * - * Copyright (c) 1998-1999 by Scriptics Corporation. - * All rights reserved. - * - * RCS: @(#) Id - */ - -#ifndef _TKINTPLATDECLS -#define _TKINTPLATDECLS - -#ifdef BUILD_tk -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * WARNING: This file is automatically generated by the tools/genStubs.tcl - * script. Any modifications to the function declarations below should be made - * in the generic/tkInt.decls script. - */ - -/* !BEGIN!: Do not edit below this line. */ - -/* - * Exported function declarations: - */ - -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -/* 0 */ -EXTERN void TkCreateXEventSource _ANSI_ARGS_((void)); -/* 1 */ -EXTERN void TkFreeWindowId _ANSI_ARGS_((TkDisplay * dispPtr, - Window w)); -/* 2 */ -EXTERN void TkInitXId _ANSI_ARGS_((TkDisplay * dispPtr)); -/* 3 */ -EXTERN int TkpCmapStressed _ANSI_ARGS_((Tk_Window tkwin, - Colormap colormap)); -/* 4 */ -EXTERN void TkpSync _ANSI_ARGS_((Display * display)); -/* 5 */ -EXTERN Window TkUnixContainerId _ANSI_ARGS_((TkWindow * winPtr)); -/* 6 */ -EXTERN int TkUnixDoOneXEvent _ANSI_ARGS_((Tcl_Time * timePtr)); -/* 7 */ -EXTERN void TkUnixSetMenubar _ANSI_ARGS_((Tk_Window tkwin, - Tk_Window menubar)); -#endif /* UNIX */ -#ifdef __WIN32__ -/* 0 */ -EXTERN char * TkAlignImageData _ANSI_ARGS_((XImage * image, - int alignment, int bitOrder)); -/* Slot 1 is reserved */ -/* 2 */ -EXTERN void TkGenerateActivateEvents _ANSI_ARGS_(( - TkWindow * winPtr, int active)); -/* 3 */ -EXTERN unsigned long TkpGetMS _ANSI_ARGS_((void)); -/* 4 */ -EXTERN void TkPointerDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 5 */ -EXTERN void TkpPrintWindowId _ANSI_ARGS_((char * buf, - Window window)); -/* 6 */ -EXTERN int TkpScanWindowId _ANSI_ARGS_((Tcl_Interp * interp, - char * string, int * idPtr)); -/* 7 */ -EXTERN void TkpSetCapture _ANSI_ARGS_((TkWindow * winPtr)); -/* 8 */ -EXTERN void TkpSetCursor _ANSI_ARGS_((TkpCursor cursor)); -/* 9 */ -EXTERN void TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr, - int state)); -/* 10 */ -EXTERN void TkSetPixmapColormap _ANSI_ARGS_((Pixmap pixmap, - Colormap colormap)); -/* 11 */ -EXTERN void TkWinCancelMouseTimer _ANSI_ARGS_((void)); -/* 12 */ -EXTERN void TkWinClipboardRender _ANSI_ARGS_(( - TkDisplay * dispPtr, UINT format)); -/* 13 */ -EXTERN LRESULT TkWinEmbeddedEventProc _ANSI_ARGS_((HWND hwnd, - UINT message, WPARAM wParam, LPARAM lParam)); -/* 14 */ -EXTERN void TkWinFillRect _ANSI_ARGS_((HDC dc, int x, int y, - int width, int height, int pixel)); -/* 15 */ -EXTERN COLORREF TkWinGetBorderPixels _ANSI_ARGS_((Tk_Window tkwin, - Tk_3DBorder border, int which)); -/* 16 */ -EXTERN HDC TkWinGetDrawableDC _ANSI_ARGS_((Display * display, - Drawable d, TkWinDCState* state)); -/* 17 */ -EXTERN int TkWinGetModifierState _ANSI_ARGS_((void)); -/* 18 */ -EXTERN HPALETTE TkWinGetSystemPalette _ANSI_ARGS_((void)); -/* 19 */ -EXTERN HWND TkWinGetWrapperWindow _ANSI_ARGS_((Tk_Window tkwin)); -/* 20 */ -EXTERN int TkWinHandleMenuEvent _ANSI_ARGS_((HWND * phwnd, - UINT * pMessage, WPARAM * pwParam, - LPARAM * plParam, LRESULT * plResult)); -/* 21 */ -EXTERN int TkWinIndexOfColor _ANSI_ARGS_((XColor * colorPtr)); -/* 22 */ -EXTERN void TkWinReleaseDrawableDC _ANSI_ARGS_((Drawable d, - HDC hdc, TkWinDCState* state)); -/* 23 */ -EXTERN LRESULT TkWinResendEvent _ANSI_ARGS_((WNDPROC wndproc, - HWND hwnd, XEvent * eventPtr)); -/* 24 */ -EXTERN HPALETTE TkWinSelectPalette _ANSI_ARGS_((HDC dc, - Colormap colormap)); -/* 25 */ -EXTERN void TkWinSetMenu _ANSI_ARGS_((Tk_Window tkwin, - HMENU hMenu)); -/* 26 */ -EXTERN void TkWinSetWindowPos _ANSI_ARGS_((HWND hwnd, - HWND siblingHwnd, int pos)); -/* 27 */ -EXTERN void TkWinWmCleanup _ANSI_ARGS_((HINSTANCE hInstance)); -/* 28 */ -EXTERN void TkWinXCleanup _ANSI_ARGS_((HINSTANCE hInstance)); -/* 29 */ -EXTERN void TkWinXInit _ANSI_ARGS_((HINSTANCE hInstance)); -/* 30 */ -EXTERN void TkWinSetForegroundWindow _ANSI_ARGS_(( - TkWindow * winPtr)); -/* 31 */ -EXTERN void TkWinDialogDebug _ANSI_ARGS_((int debug)); -/* 32 */ -EXTERN Tcl_Obj * TkWinGetMenuSystemDefault _ANSI_ARGS_(( - Tk_Window tkwin, char * dbName, - char * className)); -/* 33 */ -EXTERN int TkWinGetPlatformId _ANSI_ARGS_((void)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 0 */ -EXTERN void TkGenerateActivateEvents _ANSI_ARGS_(( - TkWindow * winPtr, int active)); -/* 1 */ -EXTERN Pixmap TkpCreateNativeBitmap _ANSI_ARGS_((Display * display, - char * source)); -/* 2 */ -EXTERN void TkpDefineNativeBitmaps _ANSI_ARGS_((void)); -/* 3 */ -EXTERN unsigned long TkpGetMS _ANSI_ARGS_((void)); -/* Slot 4 is reserved */ -/* 5 */ -EXTERN void TkPointerDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 6 */ -EXTERN void TkpSetCapture _ANSI_ARGS_((TkWindow * winPtr)); -/* 7 */ -EXTERN void TkpSetCursor _ANSI_ARGS_((TkpCursor cursor)); -/* 8 */ -EXTERN void TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr, - int state)); -/* Slot 9 is reserved */ -/* 10 */ -EXTERN void TkAboutDlg _ANSI_ARGS_((void)); -/* Slot 11 is reserved */ -/* Slot 12 is reserved */ -/* 13 */ -EXTERN Window TkGetTransientMaster _ANSI_ARGS_((TkWindow * winPtr)); -/* 14 */ -EXTERN int TkGenerateButtonEvent _ANSI_ARGS_((int x, int y, - Window window, unsigned int state)); -/* Slot 15 is reserved */ -/* 16 */ -EXTERN void TkGenWMDestroyEvent _ANSI_ARGS_((Tk_Window tkwin)); -/* 17 */ -EXTERN void TkGenWMConfigureEvent _ANSI_ARGS_((Tk_Window tkwin, - int x, int y, int width, int height, - int flags)); -/* 18 */ -EXTERN unsigned int TkMacButtonKeyState _ANSI_ARGS_((void)); -/* 19 */ -EXTERN void TkMacClearMenubarActive _ANSI_ARGS_((void)); -/* 20 */ -EXTERN int TkMacConvertEvent _ANSI_ARGS_(( - EventRecord * eventPtr)); -/* 21 */ -EXTERN int TkMacDispatchMenuEvent _ANSI_ARGS_((int menuID, - int index)); -/* 22 */ -EXTERN void TkMacInstallCursor _ANSI_ARGS_((int resizeOverride)); -/* 23 */ -EXTERN int TkMacConvertTkEvent _ANSI_ARGS_(( - EventRecord * eventPtr, Window window)); -/* 24 */ -EXTERN void TkMacHandleTearoffMenu _ANSI_ARGS_((void)); -/* Slot 25 is reserved */ -/* 26 */ -EXTERN void TkMacInvalClipRgns _ANSI_ARGS_((TkWindow * winPtr)); -/* 27 */ -EXTERN void TkMacDoHLEvent _ANSI_ARGS_((EventRecord * theEvent)); -/* Slot 28 is reserved */ -/* 29 */ -EXTERN Time TkMacGenerateTime _ANSI_ARGS_((void)); -/* 30 */ -EXTERN GWorldPtr TkMacGetDrawablePort _ANSI_ARGS_((Drawable drawable)); -/* 31 */ -EXTERN TkWindow * TkMacGetScrollbarGrowWindow _ANSI_ARGS_(( - TkWindow * winPtr)); -/* 32 */ -EXTERN Window TkMacGetXWindow _ANSI_ARGS_((WindowRef macWinPtr)); -/* 33 */ -EXTERN int TkMacGrowToplevel _ANSI_ARGS_((WindowRef whichWindow, - Point start)); -/* 34 */ -EXTERN void TkMacHandleMenuSelect _ANSI_ARGS_((long mResult, - int optionKeyPressed)); -/* 35 */ -EXTERN int TkMacHaveAppearance _ANSI_ARGS_((void)); -/* 36 */ -EXTERN void TkMacInitAppleEvents _ANSI_ARGS_(( - Tcl_Interp * interp)); -/* 37 */ -EXTERN void TkMacInitMenus _ANSI_ARGS_((Tcl_Interp * interp)); -/* 38 */ -EXTERN void TkMacInvalidateWindow _ANSI_ARGS_(( - MacDrawable * macWin, int flag)); -/* 39 */ -EXTERN int TkMacIsCharacterMissing _ANSI_ARGS_((Tk_Font tkfont, - unsigned int searchChar)); -/* 40 */ -EXTERN void TkMacMakeRealWindowExist _ANSI_ARGS_(( - TkWindow * winPtr)); -/* 41 */ -EXTERN BitMapPtr TkMacMakeStippleMap _ANSI_ARGS_((Drawable d1, - Drawable d2)); -/* 42 */ -EXTERN void TkMacMenuClick _ANSI_ARGS_((void)); -/* 43 */ -EXTERN void TkMacRegisterOffScreenWindow _ANSI_ARGS_(( - Window window, GWorldPtr portPtr)); -/* 44 */ -EXTERN int TkMacResizable _ANSI_ARGS_((TkWindow * winPtr)); -/* Slot 45 is reserved */ -/* 46 */ -EXTERN void TkMacSetHelpMenuItemCount _ANSI_ARGS_((void)); -/* 47 */ -EXTERN void TkMacSetScrollbarGrow _ANSI_ARGS_((TkWindow * winPtr, - int flag)); -/* 48 */ -EXTERN void TkMacSetUpClippingRgn _ANSI_ARGS_((Drawable drawable)); -/* 49 */ -EXTERN void TkMacSetUpGraphicsPort _ANSI_ARGS_((GC gc)); -/* 50 */ -EXTERN void TkMacUpdateClipRgn _ANSI_ARGS_((TkWindow * winPtr)); -/* 51 */ -EXTERN void TkMacUnregisterMacWindow _ANSI_ARGS_(( - GWorldPtr portPtr)); -/* 52 */ -EXTERN int TkMacUseMenuID _ANSI_ARGS_((short macID)); -/* 53 */ -EXTERN RgnHandle TkMacVisableClipRgn _ANSI_ARGS_((TkWindow * winPtr)); -/* 54 */ -EXTERN void TkMacWinBounds _ANSI_ARGS_((TkWindow * winPtr, - Rect * geometry)); -/* 55 */ -EXTERN void TkMacWindowOffset _ANSI_ARGS_((WindowRef wRef, - int * xOffset, int * yOffset)); -/* Slot 56 is reserved */ -/* 57 */ -EXTERN int TkSetMacColor _ANSI_ARGS_((unsigned long pixel, - RGBColor * macColor)); -/* 58 */ -EXTERN void TkSetWMName _ANSI_ARGS_((TkWindow * winPtr, - Tk_Uid titleUid)); -/* 59 */ -EXTERN void TkSuspendClipboard _ANSI_ARGS_((void)); -/* Slot 60 is reserved */ -/* 61 */ -EXTERN int TkMacZoomToplevel _ANSI_ARGS_((WindowPtr whichWindow, - Point where, short zoomPart)); -/* 62 */ -EXTERN Tk_Window Tk_TopCoordsToWindow _ANSI_ARGS_((Tk_Window tkwin, - int rootX, int rootY, int * newX, int * newY)); -/* 63 */ -EXTERN MacDrawable * TkMacContainerId _ANSI_ARGS_((TkWindow * winPtr)); -/* 64 */ -EXTERN MacDrawable * TkMacGetHostToplevel _ANSI_ARGS_((TkWindow * winPtr)); -/* 65 */ -EXTERN void TkMacPreprocessMenu _ANSI_ARGS_((void)); -#endif /* MAC_TCL */ - -typedef struct TkIntPlatStubs { - int magic; - struct TkIntPlatStubHooks *hooks; - -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void (*tkCreateXEventSource) _ANSI_ARGS_((void)); /* 0 */ - void (*tkFreeWindowId) _ANSI_ARGS_((TkDisplay * dispPtr, Window w)); /* 1 */ - void (*tkInitXId) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 2 */ - int (*tkpCmapStressed) _ANSI_ARGS_((Tk_Window tkwin, Colormap colormap)); /* 3 */ - void (*tkpSync) _ANSI_ARGS_((Display * display)); /* 4 */ - Window (*tkUnixContainerId) _ANSI_ARGS_((TkWindow * winPtr)); /* 5 */ - int (*tkUnixDoOneXEvent) _ANSI_ARGS_((Tcl_Time * timePtr)); /* 6 */ - void (*tkUnixSetMenubar) _ANSI_ARGS_((Tk_Window tkwin, Tk_Window menubar)); /* 7 */ -#endif /* UNIX */ -#ifdef __WIN32__ - char * (*tkAlignImageData) _ANSI_ARGS_((XImage * image, int alignment, int bitOrder)); /* 0 */ - void *reserved1; - void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow * winPtr, int active)); /* 2 */ - unsigned long (*tkpGetMS) _ANSI_ARGS_((void)); /* 3 */ - void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 4 */ - void (*tkpPrintWindowId) _ANSI_ARGS_((char * buf, Window window)); /* 5 */ - int (*tkpScanWindowId) _ANSI_ARGS_((Tcl_Interp * interp, char * string, int * idPtr)); /* 6 */ - void (*tkpSetCapture) _ANSI_ARGS_((TkWindow * winPtr)); /* 7 */ - void (*tkpSetCursor) _ANSI_ARGS_((TkpCursor cursor)); /* 8 */ - void (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state)); /* 9 */ - void (*tkSetPixmapColormap) _ANSI_ARGS_((Pixmap pixmap, Colormap colormap)); /* 10 */ - void (*tkWinCancelMouseTimer) _ANSI_ARGS_((void)); /* 11 */ - void (*tkWinClipboardRender) _ANSI_ARGS_((TkDisplay * dispPtr, UINT format)); /* 12 */ - LRESULT (*tkWinEmbeddedEventProc) _ANSI_ARGS_((HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)); /* 13 */ - void (*tkWinFillRect) _ANSI_ARGS_((HDC dc, int x, int y, int width, int height, int pixel)); /* 14 */ - COLORREF (*tkWinGetBorderPixels) _ANSI_ARGS_((Tk_Window tkwin, Tk_3DBorder border, int which)); /* 15 */ - HDC (*tkWinGetDrawableDC) _ANSI_ARGS_((Display * display, Drawable d, TkWinDCState* state)); /* 16 */ - int (*tkWinGetModifierState) _ANSI_ARGS_((void)); /* 17 */ - HPALETTE (*tkWinGetSystemPalette) _ANSI_ARGS_((void)); /* 18 */ - HWND (*tkWinGetWrapperWindow) _ANSI_ARGS_((Tk_Window tkwin)); /* 19 */ - int (*tkWinHandleMenuEvent) _ANSI_ARGS_((HWND * phwnd, UINT * pMessage, WPARAM * pwParam, LPARAM * plParam, LRESULT * plResult)); /* 20 */ - int (*tkWinIndexOfColor) _ANSI_ARGS_((XColor * colorPtr)); /* 21 */ - void (*tkWinReleaseDrawableDC) _ANSI_ARGS_((Drawable d, HDC hdc, TkWinDCState* state)); /* 22 */ - LRESULT (*tkWinResendEvent) _ANSI_ARGS_((WNDPROC wndproc, HWND hwnd, XEvent * eventPtr)); /* 23 */ - HPALETTE (*tkWinSelectPalette) _ANSI_ARGS_((HDC dc, Colormap colormap)); /* 24 */ - void (*tkWinSetMenu) _ANSI_ARGS_((Tk_Window tkwin, HMENU hMenu)); /* 25 */ - void (*tkWinSetWindowPos) _ANSI_ARGS_((HWND hwnd, HWND siblingHwnd, int pos)); /* 26 */ - void (*tkWinWmCleanup) _ANSI_ARGS_((HINSTANCE hInstance)); /* 27 */ - void (*tkWinXCleanup) _ANSI_ARGS_((HINSTANCE hInstance)); /* 28 */ - void (*tkWinXInit) _ANSI_ARGS_((HINSTANCE hInstance)); /* 29 */ - void (*tkWinSetForegroundWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 30 */ - void (*tkWinDialogDebug) _ANSI_ARGS_((int debug)); /* 31 */ - Tcl_Obj * (*tkWinGetMenuSystemDefault) _ANSI_ARGS_((Tk_Window tkwin, char * dbName, char * className)); /* 32 */ - int (*tkWinGetPlatformId) _ANSI_ARGS_((void)); /* 33 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow * winPtr, int active)); /* 0 */ - Pixmap (*tkpCreateNativeBitmap) _ANSI_ARGS_((Display * display, char * source)); /* 1 */ - void (*tkpDefineNativeBitmaps) _ANSI_ARGS_((void)); /* 2 */ - unsigned long (*tkpGetMS) _ANSI_ARGS_((void)); /* 3 */ - void *reserved4; - void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 5 */ - void (*tkpSetCapture) _ANSI_ARGS_((TkWindow * winPtr)); /* 6 */ - void (*tkpSetCursor) _ANSI_ARGS_((TkpCursor cursor)); /* 7 */ - void (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state)); /* 8 */ - void *reserved9; - void (*tkAboutDlg) _ANSI_ARGS_((void)); /* 10 */ - void *reserved11; - void *reserved12; - Window (*tkGetTransientMaster) _ANSI_ARGS_((TkWindow * winPtr)); /* 13 */ - int (*tkGenerateButtonEvent) _ANSI_ARGS_((int x, int y, Window window, unsigned int state)); /* 14 */ - void *reserved15; - void (*tkGenWMDestroyEvent) _ANSI_ARGS_((Tk_Window tkwin)); /* 16 */ - void (*tkGenWMConfigureEvent) _ANSI_ARGS_((Tk_Window tkwin, int x, int y, int width, int height, int flags)); /* 17 */ - unsigned int (*tkMacButtonKeyState) _ANSI_ARGS_((void)); /* 18 */ - void (*tkMacClearMenubarActive) _ANSI_ARGS_((void)); /* 19 */ - int (*tkMacConvertEvent) _ANSI_ARGS_((EventRecord * eventPtr)); /* 20 */ - int (*tkMacDispatchMenuEvent) _ANSI_ARGS_((int menuID, int index)); /* 21 */ - void (*tkMacInstallCursor) _ANSI_ARGS_((int resizeOverride)); /* 22 */ - int (*tkMacConvertTkEvent) _ANSI_ARGS_((EventRecord * eventPtr, Window window)); /* 23 */ - void (*tkMacHandleTearoffMenu) _ANSI_ARGS_((void)); /* 24 */ - void *reserved25; - void (*tkMacInvalClipRgns) _ANSI_ARGS_((TkWindow * winPtr)); /* 26 */ - void (*tkMacDoHLEvent) _ANSI_ARGS_((EventRecord * theEvent)); /* 27 */ - void *reserved28; - Time (*tkMacGenerateTime) _ANSI_ARGS_((void)); /* 29 */ - GWorldPtr (*tkMacGetDrawablePort) _ANSI_ARGS_((Drawable drawable)); /* 30 */ - TkWindow * (*tkMacGetScrollbarGrowWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 31 */ - Window (*tkMacGetXWindow) _ANSI_ARGS_((WindowRef macWinPtr)); /* 32 */ - int (*tkMacGrowToplevel) _ANSI_ARGS_((WindowRef whichWindow, Point start)); /* 33 */ - void (*tkMacHandleMenuSelect) _ANSI_ARGS_((long mResult, int optionKeyPressed)); /* 34 */ - int (*tkMacHaveAppearance) _ANSI_ARGS_((void)); /* 35 */ - void (*tkMacInitAppleEvents) _ANSI_ARGS_((Tcl_Interp * interp)); /* 36 */ - void (*tkMacInitMenus) _ANSI_ARGS_((Tcl_Interp * interp)); /* 37 */ - void (*tkMacInvalidateWindow) _ANSI_ARGS_((MacDrawable * macWin, int flag)); /* 38 */ - int (*tkMacIsCharacterMissing) _ANSI_ARGS_((Tk_Font tkfont, unsigned int searchChar)); /* 39 */ - void (*tkMacMakeRealWindowExist) _ANSI_ARGS_((TkWindow * winPtr)); /* 40 */ - BitMapPtr (*tkMacMakeStippleMap) _ANSI_ARGS_((Drawable d1, Drawable d2)); /* 41 */ - void (*tkMacMenuClick) _ANSI_ARGS_((void)); /* 42 */ - void (*tkMacRegisterOffScreenWindow) _ANSI_ARGS_((Window window, GWorldPtr portPtr)); /* 43 */ - int (*tkMacResizable) _ANSI_ARGS_((TkWindow * winPtr)); /* 44 */ - void *reserved45; - void (*tkMacSetHelpMenuItemCount) _ANSI_ARGS_((void)); /* 46 */ - void (*tkMacSetScrollbarGrow) _ANSI_ARGS_((TkWindow * winPtr, int flag)); /* 47 */ - void (*tkMacSetUpClippingRgn) _ANSI_ARGS_((Drawable drawable)); /* 48 */ - void (*tkMacSetUpGraphicsPort) _ANSI_ARGS_((GC gc)); /* 49 */ - void (*tkMacUpdateClipRgn) _ANSI_ARGS_((TkWindow * winPtr)); /* 50 */ - void (*tkMacUnregisterMacWindow) _ANSI_ARGS_((GWorldPtr portPtr)); /* 51 */ - int (*tkMacUseMenuID) _ANSI_ARGS_((short macID)); /* 52 */ - RgnHandle (*tkMacVisableClipRgn) _ANSI_ARGS_((TkWindow * winPtr)); /* 53 */ - void (*tkMacWinBounds) _ANSI_ARGS_((TkWindow * winPtr, Rect * geometry)); /* 54 */ - void (*tkMacWindowOffset) _ANSI_ARGS_((WindowRef wRef, int * xOffset, int * yOffset)); /* 55 */ - void *reserved56; - int (*tkSetMacColor) _ANSI_ARGS_((unsigned long pixel, RGBColor * macColor)); /* 57 */ - void (*tkSetWMName) _ANSI_ARGS_((TkWindow * winPtr, Tk_Uid titleUid)); /* 58 */ - void (*tkSuspendClipboard) _ANSI_ARGS_((void)); /* 59 */ - void *reserved60; - int (*tkMacZoomToplevel) _ANSI_ARGS_((WindowPtr whichWindow, Point where, short zoomPart)); /* 61 */ - Tk_Window (*tk_TopCoordsToWindow) _ANSI_ARGS_((Tk_Window tkwin, int rootX, int rootY, int * newX, int * newY)); /* 62 */ - MacDrawable * (*tkMacContainerId) _ANSI_ARGS_((TkWindow * winPtr)); /* 63 */ - MacDrawable * (*tkMacGetHostToplevel) _ANSI_ARGS_((TkWindow * winPtr)); /* 64 */ - void (*tkMacPreprocessMenu) _ANSI_ARGS_((void)); /* 65 */ -#endif /* MAC_TCL */ -} TkIntPlatStubs; - -#ifdef __cplusplus -extern "C" { -#endif -extern TkIntPlatStubs *tkIntPlatStubsPtr; -#ifdef __cplusplus -} -#endif - -#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) - -/* - * Inline function declarations: - */ - -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -#ifndef TkCreateXEventSource -#define TkCreateXEventSource \ - (tkIntPlatStubsPtr->tkCreateXEventSource) /* 0 */ -#endif -#ifndef TkFreeWindowId -#define TkFreeWindowId \ - (tkIntPlatStubsPtr->tkFreeWindowId) /* 1 */ -#endif -#ifndef TkInitXId -#define TkInitXId \ - (tkIntPlatStubsPtr->tkInitXId) /* 2 */ -#endif -#ifndef TkpCmapStressed -#define TkpCmapStressed \ - (tkIntPlatStubsPtr->tkpCmapStressed) /* 3 */ -#endif -#ifndef TkpSync -#define TkpSync \ - (tkIntPlatStubsPtr->tkpSync) /* 4 */ -#endif -#ifndef TkUnixContainerId -#define TkUnixContainerId \ - (tkIntPlatStubsPtr->tkUnixContainerId) /* 5 */ -#endif -#ifndef TkUnixDoOneXEvent -#define TkUnixDoOneXEvent \ - (tkIntPlatStubsPtr->tkUnixDoOneXEvent) /* 6 */ -#endif -#ifndef TkUnixSetMenubar -#define TkUnixSetMenubar \ - (tkIntPlatStubsPtr->tkUnixSetMenubar) /* 7 */ -#endif -#endif /* UNIX */ -#ifdef __WIN32__ -#ifndef TkAlignImageData -#define TkAlignImageData \ - (tkIntPlatStubsPtr->tkAlignImageData) /* 0 */ -#endif -/* Slot 1 is reserved */ -#ifndef TkGenerateActivateEvents -#define TkGenerateActivateEvents \ - (tkIntPlatStubsPtr->tkGenerateActivateEvents) /* 2 */ -#endif -#ifndef TkpGetMS -#define TkpGetMS \ - (tkIntPlatStubsPtr->tkpGetMS) /* 3 */ -#endif -#ifndef TkPointerDeadWindow -#define TkPointerDeadWindow \ - (tkIntPlatStubsPtr->tkPointerDeadWindow) /* 4 */ -#endif -#ifndef TkpPrintWindowId -#define TkpPrintWindowId \ - (tkIntPlatStubsPtr->tkpPrintWindowId) /* 5 */ -#endif -#ifndef TkpScanWindowId -#define TkpScanWindowId \ - (tkIntPlatStubsPtr->tkpScanWindowId) /* 6 */ -#endif -#ifndef TkpSetCapture -#define TkpSetCapture \ - (tkIntPlatStubsPtr->tkpSetCapture) /* 7 */ -#endif -#ifndef TkpSetCursor -#define TkpSetCursor \ - (tkIntPlatStubsPtr->tkpSetCursor) /* 8 */ -#endif -#ifndef TkpWmSetState -#define TkpWmSetState \ - (tkIntPlatStubsPtr->tkpWmSetState) /* 9 */ -#endif -#ifndef TkSetPixmapColormap -#define TkSetPixmapColormap \ - (tkIntPlatStubsPtr->tkSetPixmapColormap) /* 10 */ -#endif -#ifndef TkWinCancelMouseTimer -#define TkWinCancelMouseTimer \ - (tkIntPlatStubsPtr->tkWinCancelMouseTimer) /* 11 */ -#endif -#ifndef TkWinClipboardRender -#define TkWinClipboardRender \ - (tkIntPlatStubsPtr->tkWinClipboardRender) /* 12 */ -#endif -#ifndef TkWinEmbeddedEventProc -#define TkWinEmbeddedEventProc \ - (tkIntPlatStubsPtr->tkWinEmbeddedEventProc) /* 13 */ -#endif -#ifndef TkWinFillRect -#define TkWinFillRect \ - (tkIntPlatStubsPtr->tkWinFillRect) /* 14 */ -#endif -#ifndef TkWinGetBorderPixels -#define TkWinGetBorderPixels \ - (tkIntPlatStubsPtr->tkWinGetBorderPixels) /* 15 */ -#endif -#ifndef TkWinGetDrawableDC -#define TkWinGetDrawableDC \ - (tkIntPlatStubsPtr->tkWinGetDrawableDC) /* 16 */ -#endif -#ifndef TkWinGetModifierState -#define TkWinGetModifierState \ - (tkIntPlatStubsPtr->tkWinGetModifierState) /* 17 */ -#endif -#ifndef TkWinGetSystemPalette -#define TkWinGetSystemPalette \ - (tkIntPlatStubsPtr->tkWinGetSystemPalette) /* 18 */ -#endif -#ifndef TkWinGetWrapperWindow -#define TkWinGetWrapperWindow \ - (tkIntPlatStubsPtr->tkWinGetWrapperWindow) /* 19 */ -#endif -#ifndef TkWinHandleMenuEvent -#define TkWinHandleMenuEvent \ - (tkIntPlatStubsPtr->tkWinHandleMenuEvent) /* 20 */ -#endif -#ifndef TkWinIndexOfColor -#define TkWinIndexOfColor \ - (tkIntPlatStubsPtr->tkWinIndexOfColor) /* 21 */ -#endif -#ifndef TkWinReleaseDrawableDC -#define TkWinReleaseDrawableDC \ - (tkIntPlatStubsPtr->tkWinReleaseDrawableDC) /* 22 */ -#endif -#ifndef TkWinResendEvent -#define TkWinResendEvent \ - (tkIntPlatStubsPtr->tkWinResendEvent) /* 23 */ -#endif -#ifndef TkWinSelectPalette -#define TkWinSelectPalette \ - (tkIntPlatStubsPtr->tkWinSelectPalette) /* 24 */ -#endif -#ifndef TkWinSetMenu -#define TkWinSetMenu \ - (tkIntPlatStubsPtr->tkWinSetMenu) /* 25 */ -#endif -#ifndef TkWinSetWindowPos -#define TkWinSetWindowPos \ - (tkIntPlatStubsPtr->tkWinSetWindowPos) /* 26 */ -#endif -#ifndef TkWinWmCleanup -#define TkWinWmCleanup \ - (tkIntPlatStubsPtr->tkWinWmCleanup) /* 27 */ -#endif -#ifndef TkWinXCleanup -#define TkWinXCleanup \ - (tkIntPlatStubsPtr->tkWinXCleanup) /* 28 */ -#endif -#ifndef TkWinXInit -#define TkWinXInit \ - (tkIntPlatStubsPtr->tkWinXInit) /* 29 */ -#endif -#ifndef TkWinSetForegroundWindow -#define TkWinSetForegroundWindow \ - (tkIntPlatStubsPtr->tkWinSetForegroundWindow) /* 30 */ -#endif -#ifndef TkWinDialogDebug -#define TkWinDialogDebug \ - (tkIntPlatStubsPtr->tkWinDialogDebug) /* 31 */ -#endif -#ifndef TkWinGetMenuSystemDefault -#define TkWinGetMenuSystemDefault \ - (tkIntPlatStubsPtr->tkWinGetMenuSystemDefault) /* 32 */ -#endif -#ifndef TkWinGetPlatformId -#define TkWinGetPlatformId \ - (tkIntPlatStubsPtr->tkWinGetPlatformId) /* 33 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkGenerateActivateEvents -#define TkGenerateActivateEvents \ - (tkIntPlatStubsPtr->tkGenerateActivateEvents) /* 0 */ -#endif -#ifndef TkpCreateNativeBitmap -#define TkpCreateNativeBitmap \ - (tkIntPlatStubsPtr->tkpCreateNativeBitmap) /* 1 */ -#endif -#ifndef TkpDefineNativeBitmaps -#define TkpDefineNativeBitmaps \ - (tkIntPlatStubsPtr->tkpDefineNativeBitmaps) /* 2 */ -#endif -#ifndef TkpGetMS -#define TkpGetMS \ - (tkIntPlatStubsPtr->tkpGetMS) /* 3 */ -#endif -/* Slot 4 is reserved */ -#ifndef TkPointerDeadWindow -#define TkPointerDeadWindow \ - (tkIntPlatStubsPtr->tkPointerDeadWindow) /* 5 */ -#endif -#ifndef TkpSetCapture -#define TkpSetCapture \ - (tkIntPlatStubsPtr->tkpSetCapture) /* 6 */ -#endif -#ifndef TkpSetCursor -#define TkpSetCursor \ - (tkIntPlatStubsPtr->tkpSetCursor) /* 7 */ -#endif -#ifndef TkpWmSetState -#define TkpWmSetState \ - (tkIntPlatStubsPtr->tkpWmSetState) /* 8 */ -#endif -/* Slot 9 is reserved */ -#ifndef TkAboutDlg -#define TkAboutDlg \ - (tkIntPlatStubsPtr->tkAboutDlg) /* 10 */ -#endif -/* Slot 11 is reserved */ -/* Slot 12 is reserved */ -#ifndef TkGetTransientMaster -#define TkGetTransientMaster \ - (tkIntPlatStubsPtr->tkGetTransientMaster) /* 13 */ -#endif -#ifndef TkGenerateButtonEvent -#define TkGenerateButtonEvent \ - (tkIntPlatStubsPtr->tkGenerateButtonEvent) /* 14 */ -#endif -/* Slot 15 is reserved */ -#ifndef TkGenWMDestroyEvent -#define TkGenWMDestroyEvent \ - (tkIntPlatStubsPtr->tkGenWMDestroyEvent) /* 16 */ -#endif -#ifndef TkGenWMConfigureEvent -#define TkGenWMConfigureEvent \ - (tkIntPlatStubsPtr->tkGenWMConfigureEvent) /* 17 */ -#endif -#ifndef TkMacButtonKeyState -#define TkMacButtonKeyState \ - (tkIntPlatStubsPtr->tkMacButtonKeyState) /* 18 */ -#endif -#ifndef TkMacClearMenubarActive -#define TkMacClearMenubarActive \ - (tkIntPlatStubsPtr->tkMacClearMenubarActive) /* 19 */ -#endif -#ifndef TkMacConvertEvent -#define TkMacConvertEvent \ - (tkIntPlatStubsPtr->tkMacConvertEvent) /* 20 */ -#endif -#ifndef TkMacDispatchMenuEvent -#define TkMacDispatchMenuEvent \ - (tkIntPlatStubsPtr->tkMacDispatchMenuEvent) /* 21 */ -#endif -#ifndef TkMacInstallCursor -#define TkMacInstallCursor \ - (tkIntPlatStubsPtr->tkMacInstallCursor) /* 22 */ -#endif -#ifndef TkMacConvertTkEvent -#define TkMacConvertTkEvent \ - (tkIntPlatStubsPtr->tkMacConvertTkEvent) /* 23 */ -#endif -#ifndef TkMacHandleTearoffMenu -#define TkMacHandleTearoffMenu \ - (tkIntPlatStubsPtr->tkMacHandleTearoffMenu) /* 24 */ -#endif -/* Slot 25 is reserved */ -#ifndef TkMacInvalClipRgns -#define TkMacInvalClipRgns \ - (tkIntPlatStubsPtr->tkMacInvalClipRgns) /* 26 */ -#endif -#ifndef TkMacDoHLEvent -#define TkMacDoHLEvent \ - (tkIntPlatStubsPtr->tkMacDoHLEvent) /* 27 */ -#endif -/* Slot 28 is reserved */ -#ifndef TkMacGenerateTime -#define TkMacGenerateTime \ - (tkIntPlatStubsPtr->tkMacGenerateTime) /* 29 */ -#endif -#ifndef TkMacGetDrawablePort -#define TkMacGetDrawablePort \ - (tkIntPlatStubsPtr->tkMacGetDrawablePort) /* 30 */ -#endif -#ifndef TkMacGetScrollbarGrowWindow -#define TkMacGetScrollbarGrowWindow \ - (tkIntPlatStubsPtr->tkMacGetScrollbarGrowWindow) /* 31 */ -#endif -#ifndef TkMacGetXWindow -#define TkMacGetXWindow \ - (tkIntPlatStubsPtr->tkMacGetXWindow) /* 32 */ -#endif -#ifndef TkMacGrowToplevel -#define TkMacGrowToplevel \ - (tkIntPlatStubsPtr->tkMacGrowToplevel) /* 33 */ -#endif -#ifndef TkMacHandleMenuSelect -#define TkMacHandleMenuSelect \ - (tkIntPlatStubsPtr->tkMacHandleMenuSelect) /* 34 */ -#endif -#ifndef TkMacHaveAppearance -#define TkMacHaveAppearance \ - (tkIntPlatStubsPtr->tkMacHaveAppearance) /* 35 */ -#endif -#ifndef TkMacInitAppleEvents -#define TkMacInitAppleEvents \ - (tkIntPlatStubsPtr->tkMacInitAppleEvents) /* 36 */ -#endif -#ifndef TkMacInitMenus -#define TkMacInitMenus \ - (tkIntPlatStubsPtr->tkMacInitMenus) /* 37 */ -#endif -#ifndef TkMacInvalidateWindow -#define TkMacInvalidateWindow \ - (tkIntPlatStubsPtr->tkMacInvalidateWindow) /* 38 */ -#endif -#ifndef TkMacIsCharacterMissing -#define TkMacIsCharacterMissing \ - (tkIntPlatStubsPtr->tkMacIsCharacterMissing) /* 39 */ -#endif -#ifndef TkMacMakeRealWindowExist -#define TkMacMakeRealWindowExist \ - (tkIntPlatStubsPtr->tkMacMakeRealWindowExist) /* 40 */ -#endif -#ifndef TkMacMakeStippleMap -#define TkMacMakeStippleMap \ - (tkIntPlatStubsPtr->tkMacMakeStippleMap) /* 41 */ -#endif -#ifndef TkMacMenuClick -#define TkMacMenuClick \ - (tkIntPlatStubsPtr->tkMacMenuClick) /* 42 */ -#endif -#ifndef TkMacRegisterOffScreenWindow -#define TkMacRegisterOffScreenWindow \ - (tkIntPlatStubsPtr->tkMacRegisterOffScreenWindow) /* 43 */ -#endif -#ifndef TkMacResizable -#define TkMacResizable \ - (tkIntPlatStubsPtr->tkMacResizable) /* 44 */ -#endif -/* Slot 45 is reserved */ -#ifndef TkMacSetHelpMenuItemCount -#define TkMacSetHelpMenuItemCount \ - (tkIntPlatStubsPtr->tkMacSetHelpMenuItemCount) /* 46 */ -#endif -#ifndef TkMacSetScrollbarGrow -#define TkMacSetScrollbarGrow \ - (tkIntPlatStubsPtr->tkMacSetScrollbarGrow) /* 47 */ -#endif -#ifndef TkMacSetUpClippingRgn -#define TkMacSetUpClippingRgn \ - (tkIntPlatStubsPtr->tkMacSetUpClippingRgn) /* 48 */ -#endif -#ifndef TkMacSetUpGraphicsPort -#define TkMacSetUpGraphicsPort \ - (tkIntPlatStubsPtr->tkMacSetUpGraphicsPort) /* 49 */ -#endif -#ifndef TkMacUpdateClipRgn -#define TkMacUpdateClipRgn \ - (tkIntPlatStubsPtr->tkMacUpdateClipRgn) /* 50 */ -#endif -#ifndef TkMacUnregisterMacWindow -#define TkMacUnregisterMacWindow \ - (tkIntPlatStubsPtr->tkMacUnregisterMacWindow) /* 51 */ -#endif -#ifndef TkMacUseMenuID -#define TkMacUseMenuID \ - (tkIntPlatStubsPtr->tkMacUseMenuID) /* 52 */ -#endif -#ifndef TkMacVisableClipRgn -#define TkMacVisableClipRgn \ - (tkIntPlatStubsPtr->tkMacVisableClipRgn) /* 53 */ -#endif -#ifndef TkMacWinBounds -#define TkMacWinBounds \ - (tkIntPlatStubsPtr->tkMacWinBounds) /* 54 */ -#endif -#ifndef TkMacWindowOffset -#define TkMacWindowOffset \ - (tkIntPlatStubsPtr->tkMacWindowOffset) /* 55 */ -#endif -/* Slot 56 is reserved */ -#ifndef TkSetMacColor -#define TkSetMacColor \ - (tkIntPlatStubsPtr->tkSetMacColor) /* 57 */ -#endif -#ifndef TkSetWMName -#define TkSetWMName \ - (tkIntPlatStubsPtr->tkSetWMName) /* 58 */ -#endif -#ifndef TkSuspendClipboard -#define TkSuspendClipboard \ - (tkIntPlatStubsPtr->tkSuspendClipboard) /* 59 */ -#endif -/* Slot 60 is reserved */ -#ifndef TkMacZoomToplevel -#define TkMacZoomToplevel \ - (tkIntPlatStubsPtr->tkMacZoomToplevel) /* 61 */ -#endif -#ifndef Tk_TopCoordsToWindow -#define Tk_TopCoordsToWindow \ - (tkIntPlatStubsPtr->tk_TopCoordsToWindow) /* 62 */ -#endif -#ifndef TkMacContainerId -#define TkMacContainerId \ - (tkIntPlatStubsPtr->tkMacContainerId) /* 63 */ -#endif -#ifndef TkMacGetHostToplevel -#define TkMacGetHostToplevel \ - (tkIntPlatStubsPtr->tkMacGetHostToplevel) /* 64 */ -#endif -#ifndef TkMacPreprocessMenu -#define TkMacPreprocessMenu \ - (tkIntPlatStubsPtr->tkMacPreprocessMenu) /* 65 */ -#endif -#endif /* MAC_TCL */ - -#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */ - -/* !END!: Do not edit above this line. */ - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKINTPLATDECLS */ diff --git a/src/other/togl/include/tcltk/tk8.3/tkMacDefault.h b/src/other/togl/include/tcltk/tk8.3/tkMacDefault.h deleted file mode 100644 index 9e10e3bc061..00000000000 --- a/src/other/togl/include/tcltk/tk8.3/tkMacDefault.h +++ /dev/null @@ -1,465 +0,0 @@ -/* - * tkMacDefault.h -- - * - * This file defines the defaults for all options for all of - * the Tk widgets. - * - * Copyright (c) 1991-1994 The Regents of the University of California. - * Copyright (c) 1994-1997 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKMACDEFAULT -#define _TKMACDEFAULT - -/* - * The definitions below provide symbolic names for the default colors. - * NORMAL_BG - Normal background color. - * ACTIVE_BG - Background color when widget is active. - * SELECT_BG - Background color for selected text. - * SELECT_FG - Foreground color for selected text. - * TROUGH - Background color for troughs in scales and scrollbars. - * INDICATOR - Color for indicator when button is selected. - * DISABLED - Foreground color when widget is disabled. - */ - -#define BLACK "Black" -#define WHITE "White" - -#define NORMAL_BG "systemWindowBody" -#define ACTIVE_BG "#ececec" -#define SELECT_BG "systemHighlight" -#define SELECT_FG "systemHighlightText" -#define TROUGH "#c3c3c3" -#define INDICATOR "#b03060" -#define DISABLED "#a3a3a3" - -/* - * Defaults for labels, buttons, checkbuttons, and radiobuttons: - */ - -#define DEF_BUTTON_ANCHOR "center" -#define DEF_BUTTON_ACTIVE_BG_COLOR "systemButtonText" -#define DEF_BUTTON_ACTIVE_BG_MONO BLACK -#define DEF_BUTTON_ACTIVE_FG_COLOR "systemButtonFace" -#define DEF_CHKRAD_ACTIVE_FG_COLOR DEF_BUTTON_ACTIVE_FG_COLOR -#define DEF_BUTTON_ACTIVE_FG_MONO WHITE -#define DEF_BUTTON_BG_COLOR "systemButtonFace" -#define DEF_BUTTON_BG_MONO WHITE -#define DEF_BUTTON_BITMAP "" -#define DEF_BUTTON_BORDER_WIDTH "2" -#define DEF_BUTTON_CURSOR "" -#define DEF_BUTTON_COMMAND "" -#define DEF_BUTTON_DEFAULT "disabled" -#define DEF_BUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_BUTTON_DISABLED_FG_MONO "" -#define DEF_BUTTON_FG "systemButtonText" -#define DEF_CHKRAD_FG DEF_BUTTON_FG -#define DEF_BUTTON_FONT "system" -#define DEF_BUTTON_HEIGHT "0" -#define DEF_BUTTON_HIGHLIGHT_BG_COLOR DEF_BUTTON_BG_COLOR -#define DEF_BUTTON_HIGHLIGHT_BG_MONO DEF_BUTTON_BG_MONO -#define DEF_BUTTON_HIGHLIGHT "systemButtonFrame" -#define DEF_LABEL_HIGHLIGHT_WIDTH "0" -#define DEF_BUTTON_HIGHLIGHT_WIDTH "4" -#define DEF_BUTTON_IMAGE (char *) NULL -#define DEF_BUTTON_INDICATOR "1" -#define DEF_BUTTON_JUSTIFY "center" -#define DEF_BUTTON_OFF_VALUE "0" -#define DEF_BUTTON_ON_VALUE "1" -#define DEF_BUTTON_PADX "7" -#define DEF_LABCHKRAD_PADX "1" -#define DEF_BUTTON_PADY "3" -#define DEF_LABCHKRAD_PADY "1" -#define DEF_BUTTON_RELIEF "flat" -#define DEF_LABCHKRAD_RELIEF "flat" -#define DEF_BUTTON_SELECT_COLOR INDICATOR -#define DEF_BUTTON_SELECT_MONO BLACK -#define DEF_BUTTON_SELECT_IMAGE (char *) NULL -#define DEF_BUTTON_STATE "normal" -#define DEF_LABEL_TAKE_FOCUS "0" -#define DEF_BUTTON_TAKE_FOCUS (char *) NULL -#define DEF_BUTTON_TEXT "" -#define DEF_BUTTON_TEXT_VARIABLE "" -#define DEF_BUTTON_UNDERLINE "-1" -#define DEF_BUTTON_VALUE "" -#define DEF_BUTTON_WIDTH "0" -#define DEF_BUTTON_WRAP_LENGTH "0" -#define DEF_RADIOBUTTON_VARIABLE "selectedButton" -#define DEF_CHECKBUTTON_VARIABLE "" - -/* - * Defaults for canvases: - */ - -#define DEF_CANVAS_BG_COLOR NORMAL_BG -#define DEF_CANVAS_BG_MONO WHITE -#define DEF_CANVAS_BORDER_WIDTH "0" -#define DEF_CANVAS_CLOSE_ENOUGH "1" -#define DEF_CANVAS_CONFINE "1" -#define DEF_CANVAS_CURSOR "" -#define DEF_CANVAS_HEIGHT "7c" -#define DEF_CANVAS_HIGHLIGHT_BG NORMAL_BG -#define DEF_CANVAS_HIGHLIGHT BLACK -#define DEF_CANVAS_HIGHLIGHT_WIDTH "3" -#define DEF_CANVAS_INSERT_BG BLACK -#define DEF_CANVAS_INSERT_BD_COLOR "0" -#define DEF_CANVAS_INSERT_BD_MONO "0" -#define DEF_CANVAS_INSERT_OFF_TIME "300" -#define DEF_CANVAS_INSERT_ON_TIME "600" -#define DEF_CANVAS_INSERT_WIDTH "2" -#define DEF_CANVAS_RELIEF "flat" -#define DEF_CANVAS_SCROLL_REGION "" -#define DEF_CANVAS_SELECT_COLOR SELECT_BG -#define DEF_CANVAS_SELECT_MONO BLACK -#define DEF_CANVAS_SELECT_BD_COLOR "1" -#define DEF_CANVAS_SELECT_BD_MONO "0" -#define DEF_CANVAS_SELECT_FG_COLOR BLACK -#define DEF_CANVAS_SELECT_FG_MONO WHITE -#define DEF_CANVAS_TAKE_FOCUS (char *) NULL -#define DEF_CANVAS_WIDTH "10c" -#define DEF_CANVAS_X_SCROLL_CMD "" -#define DEF_CANVAS_X_SCROLL_INCREMENT "0" -#define DEF_CANVAS_Y_SCROLL_CMD "" -#define DEF_CANVAS_Y_SCROLL_INCREMENT "0" - -/* - * Defaults for entries: - */ - -#define DEF_ENTRY_BG_COLOR NORMAL_BG -#define DEF_ENTRY_BG_MONO WHITE -/* #define DEF_ENTRY_BORDER_WIDTH "2" */ -#define DEF_ENTRY_BORDER_WIDTH "1" -#define DEF_ENTRY_CURSOR "xterm" -#define DEF_ENTRY_EXPORT_SELECTION "1" -#define DEF_ENTRY_FONT "Helvetica 12" -#define DEF_ENTRY_FG BLACK -#define DEF_ENTRY_HIGHLIGHT_BG NORMAL_BG -#define DEF_ENTRY_HIGHLIGHT BLACK -/* #define DEF_ENTRY_HIGHLIGHT_WIDTH "3" */ -#define DEF_ENTRY_HIGHLIGHT_WIDTH "0" -#define DEF_ENTRY_INSERT_BG BLACK -#define DEF_ENTRY_INSERT_BD_COLOR "0" -#define DEF_ENTRY_INSERT_BD_MONO "0" -#define DEF_ENTRY_INSERT_OFF_TIME "300" -#define DEF_ENTRY_INSERT_ON_TIME "600" -/* #define DEF_ENTRY_INSERT_WIDTH "2" */ -#define DEF_ENTRY_INSERT_WIDTH "1" -#define DEF_ENTRY_JUSTIFY "left" -/* #define DEF_ENTRY_RELIEF "sunken" */ -#define DEF_ENTRY_RELIEF "solid" -#define DEF_ENTRY_SCROLL_COMMAND "" -#define DEF_ENTRY_SELECT_COLOR SELECT_BG -#define DEF_ENTRY_SELECT_MONO BLACK -#define DEF_ENTRY_SELECT_BD_COLOR "1" -#define DEF_ENTRY_SELECT_BD_MONO "0" -#define DEF_ENTRY_SELECT_FG_COLOR SELECT_FG -#define DEF_ENTRY_SELECT_FG_MONO WHITE -#define DEF_ENTRY_SHOW (char *) NULL -#define DEF_ENTRY_STATE "normal" -#define DEF_ENTRY_TAKE_FOCUS (char *) NULL -#define DEF_ENTRY_TEXT_VARIABLE "" -#define DEF_ENTRY_WIDTH "20" - -/* - * Defaults for frames: - */ - -#define DEF_FRAME_BG_COLOR NORMAL_BG -#define DEF_FRAME_BG_MONO WHITE -#define DEF_FRAME_BORDER_WIDTH "0" -#define DEF_FRAME_CLASS "Frame" -#define DEF_FRAME_COLORMAP "" -#define DEF_FRAME_CONTAINER "0" -#define DEF_FRAME_CURSOR "" -#define DEF_FRAME_HEIGHT "0" -#define DEF_FRAME_HIGHLIGHT_BG NORMAL_BG -#define DEF_FRAME_HIGHLIGHT BLACK -#define DEF_FRAME_HIGHLIGHT_WIDTH "0" -#define DEF_FRAME_RELIEF "flat" -#define DEF_FRAME_TAKE_FOCUS "0" -#define DEF_FRAME_USE "" -#define DEF_FRAME_VISUAL "" -#define DEF_FRAME_WIDTH "0" - -/* - * Defaults for listboxes: - */ - -#define DEF_LISTBOX_BG_COLOR NORMAL_BG -#define DEF_LISTBOX_BG_MONO WHITE -#define DEF_LISTBOX_BORDER_WIDTH "1" -#define DEF_LISTBOX_CURSOR "" -#define DEF_LISTBOX_EXPORT_SELECTION "1" -#define DEF_LISTBOX_FONT "application" -#define DEF_LISTBOX_FG BLACK -#define DEF_LISTBOX_HEIGHT "10" -#define DEF_LISTBOX_HIGHLIGHT_BG NORMAL_BG -#define DEF_LISTBOX_HIGHLIGHT BLACK -#define DEF_LISTBOX_HIGHLIGHT_WIDTH "0" -#define DEF_LISTBOX_RELIEF "solid" -#define DEF_LISTBOX_SCROLL_COMMAND "" -#define DEF_LISTBOX_LIST_VARIABLE "" -#define DEF_LISTBOX_SELECT_COLOR SELECT_BG -#define DEF_LISTBOX_SELECT_MONO BLACK -#define DEF_LISTBOX_SELECT_BD "0" -#define DEF_LISTBOX_SELECT_FG_COLOR SELECT_FG -#define DEF_LISTBOX_SELECT_FG_MONO WHITE -#define DEF_LISTBOX_SELECT_MODE "browse" -#define DEF_LISTBOX_SET_GRID "0" -#define DEF_LISTBOX_TAKE_FOCUS (char *) NULL -#define DEF_LISTBOX_WIDTH "20" - -/* - * Defaults for individual entries of menus: - */ - -#define DEF_MENU_ENTRY_ACTIVE_BG (char *) NULL -#define DEF_MENU_ENTRY_ACTIVE_FG (char *) NULL -#define DEF_MENU_ENTRY_ACCELERATOR (char *) NULL -#define DEF_MENU_ENTRY_BG (char *) NULL -#define DEF_MENU_ENTRY_BITMAP None -#define DEF_MENU_ENTRY_COLUMN_BREAK "0" -#define DEF_MENU_ENTRY_COMMAND (char *) NULL -#define DEF_MENU_ENTRY_FG (char *) NULL -#define DEF_MENU_ENTRY_FONT (char *) NULL -#define DEF_MENU_ENTRY_HIDE_MARGIN "0" -#define DEF_MENU_ENTRY_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_INDICATOR "1" -#define DEF_MENU_ENTRY_LABEL (char *) NULL -#define DEF_MENU_ENTRY_MENU (char *) NULL -#define DEF_MENU_ENTRY_OFF_VALUE "0" -#define DEF_MENU_ENTRY_ON_VALUE "1" -#define DEF_MENU_ENTRY_SELECT_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_STATE "normal" -#define DEF_MENU_ENTRY_VALUE (char *) NULL -#define DEF_MENU_ENTRY_CHECK_VARIABLE (char *) NULL -#define DEF_MENU_ENTRY_RADIO_VARIABLE "selectedButton" -#define DEF_MENU_ENTRY_SELECT (char *) NULL -#define DEF_MENU_ENTRY_UNDERLINE "-1" - -/* - * Defaults for menus overall: - */ - -#define DEF_MENU_ACTIVE_BG_COLOR "SystemMenuActive" -#define DEF_MENU_ACTIVE_BG_MONO BLACK -#define DEF_MENU_ACTIVE_BORDER_WIDTH "0" -#define DEF_MENU_ACTIVE_FG_COLOR "SystemMenuActiveText" -#define DEF_MENU_ACTIVE_FG_MONO WHITE -#define DEF_MENU_BG_COLOR "SystemMenu" -#define DEF_MENU_BG_MONO WHITE -#define DEF_MENU_BORDER_WIDTH "0" -#define DEF_MENU_CURSOR "arrow" -#define DEF_MENU_DISABLED_FG_COLOR "SystemMenuDisabled" -#define DEF_MENU_DISABLED_FG_MONO "" -#define DEF_MENU_FONT "system" -#define DEF_MENU_FG "SystemMenuText" -#define DEF_MENU_POST_COMMAND "" -#define DEF_MENU_RELIEF "flat" -#define DEF_MENU_SELECT_COLOR "SystemMenuActive" -#define DEF_MENU_SELECT_MONO BLACK -#define DEF_MENU_TAKE_FOCUS "0" -#define DEF_MENU_TEAROFF "1" -#define DEF_MENU_TEAROFF_CMD (char *) NULL -#define DEF_MENU_TITLE "" -#define DEF_MENU_TYPE "normal" - -/* - * Defaults for menubuttons: - */ - -#define DEF_MENUBUTTON_ANCHOR "center" -#define DEF_MENUBUTTON_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_MENUBUTTON_ACTIVE_BG_MONO BLACK -#define DEF_MENUBUTTON_ACTIVE_FG_COLOR BLACK -#define DEF_MENUBUTTON_ACTIVE_FG_MONO WHITE -#define DEF_MENUBUTTON_BG_COLOR NORMAL_BG -#define DEF_MENUBUTTON_BG_MONO WHITE -#define DEF_MENUBUTTON_BITMAP "" -#define DEF_MENUBUTTON_BORDER_WIDTH "2" -#define DEF_MENUBUTTON_CURSOR "" -#define DEF_MENUBUTTON_DIRECTION "below" -#define DEF_MENUBUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_MENUBUTTON_DISABLED_FG_MONO "" -#define DEF_MENUBUTTON_FONT "system" -#define DEF_MENUBUTTON_FG BLACK -#define DEF_MENUBUTTON_HEIGHT "0" -#define DEF_MENUBUTTON_HIGHLIGHT_BG_COLOR DEF_MENUBUTTON_BG_COLOR -#define DEF_MENUBUTTON_HIGHLIGHT_BG_MONO DEF_MENUBUTTON_BG_MONO -#define DEF_MENUBUTTON_HIGHLIGHT BLACK -#define DEF_MENUBUTTON_HIGHLIGHT_WIDTH "0" -#define DEF_MENUBUTTON_IMAGE (char *) NULL -#define DEF_MENUBUTTON_INDICATOR "0" -/* #define DEF_MENUBUTTON_JUSTIFY "center" */ -#define DEF_MENUBUTTON_JUSTIFY "left" -#define DEF_MENUBUTTON_MENU "" -#define DEF_MENUBUTTON_PADX "4p" -#define DEF_MENUBUTTON_PADY "3p" -#define DEF_MENUBUTTON_RELIEF "flat" -#define DEF_MENUBUTTON_STATE "normal" -#define DEF_MENUBUTTON_TAKE_FOCUS "0" -#define DEF_MENUBUTTON_TEXT "" -#define DEF_MENUBUTTON_TEXT_VARIABLE "" -#define DEF_MENUBUTTON_UNDERLINE "-1" -#define DEF_MENUBUTTON_WIDTH "0" -#define DEF_MENUBUTTON_WRAP_LENGTH "0" - -/* - * Defaults for messages: - */ - -#define DEF_MESSAGE_ANCHOR "center" -#define DEF_MESSAGE_ASPECT "150" -#define DEF_MESSAGE_BG_COLOR NORMAL_BG -#define DEF_MESSAGE_BG_MONO WHITE -#define DEF_MESSAGE_BORDER_WIDTH "2" -#define DEF_MESSAGE_CURSOR "" -#define DEF_MESSAGE_FG BLACK -#define DEF_MESSAGE_FONT "system" -#define DEF_MESSAGE_HIGHLIGHT_BG NORMAL_BG -#define DEF_MESSAGE_HIGHLIGHT BLACK -#define DEF_MESSAGE_HIGHLIGHT_WIDTH "0" -#define DEF_MESSAGE_JUSTIFY "left" -#define DEF_MESSAGE_PADX "-1" -#define DEF_MESSAGE_PADY "-1" -#define DEF_MESSAGE_RELIEF "flat" -#define DEF_MESSAGE_TAKE_FOCUS "0" -#define DEF_MESSAGE_TEXT "" -#define DEF_MESSAGE_TEXT_VARIABLE "" -#define DEF_MESSAGE_WIDTH "0" - -/* - * Defaults for scales: - */ - -#define DEF_SCALE_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCALE_ACTIVE_BG_MONO BLACK -#define DEF_SCALE_BG_COLOR NORMAL_BG -#define DEF_SCALE_BG_MONO WHITE -#define DEF_SCALE_BIG_INCREMENT "0" -#define DEF_SCALE_BORDER_WIDTH "2" -#define DEF_SCALE_COMMAND "" -#define DEF_SCALE_CURSOR "" -#define DEF_SCALE_DIGITS "0" -#define DEF_SCALE_FONT "system" -#define DEF_SCALE_FG_COLOR BLACK -#define DEF_SCALE_FG_MONO BLACK -#define DEF_SCALE_FROM "0" -#define DEF_SCALE_HIGHLIGHT_BG_COLOR DEF_SCALE_BG_COLOR -#define DEF_SCALE_HIGHLIGHT_BG_MONO DEF_SCALE_BG_MONO -#define DEF_SCALE_HIGHLIGHT BLACK -#define DEF_SCALE_HIGHLIGHT_WIDTH "0" -#define DEF_SCALE_LABEL "" -#define DEF_SCALE_LENGTH "100" -#define DEF_SCALE_ORIENT "vertical" -#define DEF_SCALE_RELIEF "flat" -#define DEF_SCALE_REPEAT_DELAY "300" -#define DEF_SCALE_REPEAT_INTERVAL "100" -#define DEF_SCALE_RESOLUTION "1" -#define DEF_SCALE_TROUGH_COLOR TROUGH -#define DEF_SCALE_TROUGH_MONO WHITE -#define DEF_SCALE_SHOW_VALUE "1" -#define DEF_SCALE_SLIDER_LENGTH "30" -#define DEF_SCALE_SLIDER_RELIEF "raised" -#define DEF_SCALE_STATE "normal" -#define DEF_SCALE_TAKE_FOCUS (char *) NULL -#define DEF_SCALE_TICK_INTERVAL "0" -#define DEF_SCALE_TO "100" -#define DEF_SCALE_VARIABLE "" -#define DEF_SCALE_WIDTH "15" - -/* - * Defaults for scrollbars: - */ - -#define DEF_SCROLLBAR_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCROLLBAR_ACTIVE_BG_MONO BLACK -#define DEF_SCROLLBAR_ACTIVE_RELIEF "raised" -#define DEF_SCROLLBAR_BG_COLOR NORMAL_BG -#define DEF_SCROLLBAR_BG_MONO WHITE -/* #define DEF_SCROLLBAR_BORDER_WIDTH "2" */ -#define DEF_SCROLLBAR_BORDER_WIDTH "0" -#define DEF_SCROLLBAR_COMMAND "" -#define DEF_SCROLLBAR_CURSOR "" -#define DEF_SCROLLBAR_EL_BORDER_WIDTH "-1" -#define DEF_SCROLLBAR_HIGHLIGHT_BG NORMAL_BG -#define DEF_SCROLLBAR_HIGHLIGHT BLACK -/* #define DEF_SCROLLBAR_HIGHLIGHT_WIDTH "2" */ -#define DEF_SCROLLBAR_HIGHLIGHT_WIDTH "0" -#define DEF_SCROLLBAR_JUMP "0" -#define DEF_SCROLLBAR_ORIENT "vertical" -/*#define DEF_SCROLLBAR_RELIEF "sunken" */ -#define DEF_SCROLLBAR_RELIEF "flat" -#define DEF_SCROLLBAR_REPEAT_DELAY "300" -#define DEF_SCROLLBAR_REPEAT_INTERVAL "100" -#define DEF_SCROLLBAR_TAKE_FOCUS (char *) NULL -#define DEF_SCROLLBAR_TROUGH_COLOR TROUGH -#define DEF_SCROLLBAR_TROUGH_MONO WHITE -/*#define DEF_SCROLLBAR_WIDTH "15" */ -#define DEF_SCROLLBAR_WIDTH "16" - -/* - * Defaults for texts: - */ - -#define DEF_TEXT_BG_COLOR NORMAL_BG -#define DEF_TEXT_BG_MONO WHITE -#define DEF_TEXT_BORDER_WIDTH "0" -#define DEF_TEXT_CURSOR "xterm" -#define DEF_TEXT_FG BLACK -#define DEF_TEXT_EXPORT_SELECTION "1" -#define DEF_TEXT_FONT "Courier 12" -#define DEF_TEXT_HEIGHT "24" -#define DEF_TEXT_HIGHLIGHT_BG NORMAL_BG -#define DEF_TEXT_HIGHLIGHT BLACK -#define DEF_TEXT_HIGHLIGHT_WIDTH "3" -#define DEF_TEXT_INSERT_BG BLACK -#define DEF_TEXT_INSERT_BD_COLOR "0" -#define DEF_TEXT_INSERT_BD_MONO "0" -#define DEF_TEXT_INSERT_OFF_TIME "300" -#define DEF_TEXT_INSERT_ON_TIME "600" -#define DEF_TEXT_INSERT_WIDTH "1" -#define DEF_TEXT_PADX "1" -#define DEF_TEXT_PADY "1" -#define DEF_TEXT_RELIEF "flat" -#define DEF_TEXT_SELECT_COLOR SELECT_BG -#define DEF_TEXT_SELECT_MONO BLACK -#define DEF_TEXT_SELECT_BD_COLOR "1" -#define DEF_TEXT_SELECT_BD_MONO "0" -#define DEF_TEXT_SELECT_FG_COLOR SELECT_FG -#define DEF_TEXT_SELECT_FG_MONO WHITE -#define DEF_TEXT_SELECT_RELIEF "solid" -#define DEF_TEXT_SET_GRID "0" -#define DEF_TEXT_SPACING1 "0" -#define DEF_TEXT_SPACING2 "0" -#define DEF_TEXT_SPACING3 "0" -#define DEF_TEXT_STATE "normal" -#define DEF_TEXT_TABS "" -#define DEF_TEXT_TAKE_FOCUS (char *) NULL -#define DEF_TEXT_WIDTH "80" -#define DEF_TEXT_WRAP "char" -#define DEF_TEXT_XSCROLL_COMMAND "" -#define DEF_TEXT_YSCROLL_COMMAND "" - -/* - * Defaults for canvas text: - */ - -#define DEF_CANVTEXT_FONT "Helvetica 12" - -/* - * Defaults for toplevels (most of the defaults for frames also apply - * to toplevels): - */ - -#define DEF_TOPLEVEL_CLASS "Toplevel" -#define DEF_TOPLEVEL_MENU "" -#define DEF_TOPLEVEL_SCREEN "" - -#endif /* _TKMACDEFAULT */ diff --git a/src/other/togl/include/tcltk/tk8.3/tkPlatDecls.h b/src/other/togl/include/tcltk/tk8.3/tkPlatDecls.h deleted file mode 100644 index 00c16f77a37..00000000000 --- a/src/other/togl/include/tcltk/tk8.3/tkPlatDecls.h +++ /dev/null @@ -1,208 +0,0 @@ -/* - * tkPlatDecls.h -- - * - * Declarations of functions in the platform-specific public Tcl API. - * - * Copyright (c) 1998-1999 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKPLATDECLS -#define _TKPLATDECLS - -#ifdef BUILD_tk -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * WARNING: This file is automatically generated by the tools/genStubs.tcl - * script. Any modifications to the function declarations below should be made - * in the generic/tk.decls script. - */ - - -/* !BEGIN!: Do not edit below this line. */ - -/* - * Exported function declarations: - */ - -#ifdef __WIN32__ -/* 0 */ -EXTERN Window Tk_AttachHWND _ANSI_ARGS_((Tk_Window tkwin, - HWND hwnd)); -/* 1 */ -EXTERN HINSTANCE Tk_GetHINSTANCE _ANSI_ARGS_((void)); -/* 2 */ -EXTERN HWND Tk_GetHWND _ANSI_ARGS_((Window window)); -/* 3 */ -EXTERN Tk_Window Tk_HWNDToWindow _ANSI_ARGS_((HWND hwnd)); -/* 4 */ -EXTERN void Tk_PointerEvent _ANSI_ARGS_((HWND hwnd, int x, int y)); -/* 5 */ -EXTERN int Tk_TranslateWinEvent _ANSI_ARGS_((HWND hwnd, - UINT message, WPARAM wParam, LPARAM lParam, - LRESULT * result)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 0 */ -EXTERN void Tk_MacSetEmbedHandler _ANSI_ARGS_(( - Tk_MacEmbedRegisterWinProc * registerWinProcPtr, - Tk_MacEmbedGetGrafPortProc * getPortProcPtr, - Tk_MacEmbedMakeContainerExistProc * containerExistProcPtr, - Tk_MacEmbedGetClipProc * getClipProc, - Tk_MacEmbedGetOffsetInParentProc * getOffsetProc)); -/* 1 */ -EXTERN void Tk_MacTurnOffMenus _ANSI_ARGS_((void)); -/* 2 */ -EXTERN void Tk_MacTkOwnsCursor _ANSI_ARGS_((int tkOwnsIt)); -/* 3 */ -EXTERN void TkMacInitMenus _ANSI_ARGS_((Tcl_Interp * interp)); -/* 4 */ -EXTERN void TkMacInitAppleEvents _ANSI_ARGS_(( - Tcl_Interp * interp)); -/* 5 */ -EXTERN int TkMacConvertEvent _ANSI_ARGS_(( - EventRecord * eventPtr)); -/* 6 */ -EXTERN int TkMacConvertTkEvent _ANSI_ARGS_(( - EventRecord * eventPtr, Window window)); -/* 7 */ -EXTERN void TkGenWMConfigureEvent _ANSI_ARGS_((Tk_Window tkwin, - int x, int y, int width, int height, - int flags)); -/* 8 */ -EXTERN void TkMacInvalClipRgns _ANSI_ARGS_((TkWindow * winPtr)); -/* 9 */ -EXTERN int TkMacHaveAppearance _ANSI_ARGS_((void)); -/* 10 */ -EXTERN GWorldPtr TkMacGetDrawablePort _ANSI_ARGS_((Drawable drawable)); -#endif /* MAC_TCL */ - -typedef struct TkPlatStubs { - int magic; - struct TkPlatStubHooks *hooks; - -#ifdef __WIN32__ - Window (*tk_AttachHWND) _ANSI_ARGS_((Tk_Window tkwin, HWND hwnd)); /* 0 */ - HINSTANCE (*tk_GetHINSTANCE) _ANSI_ARGS_((void)); /* 1 */ - HWND (*tk_GetHWND) _ANSI_ARGS_((Window window)); /* 2 */ - Tk_Window (*tk_HWNDToWindow) _ANSI_ARGS_((HWND hwnd)); /* 3 */ - void (*tk_PointerEvent) _ANSI_ARGS_((HWND hwnd, int x, int y)); /* 4 */ - int (*tk_TranslateWinEvent) _ANSI_ARGS_((HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT * result)); /* 5 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tk_MacSetEmbedHandler) _ANSI_ARGS_((Tk_MacEmbedRegisterWinProc * registerWinProcPtr, Tk_MacEmbedGetGrafPortProc * getPortProcPtr, Tk_MacEmbedMakeContainerExistProc * containerExistProcPtr, Tk_MacEmbedGetClipProc * getClipProc, Tk_MacEmbedGetOffsetInParentProc * getOffsetProc)); /* 0 */ - void (*tk_MacTurnOffMenus) _ANSI_ARGS_((void)); /* 1 */ - void (*tk_MacTkOwnsCursor) _ANSI_ARGS_((int tkOwnsIt)); /* 2 */ - void (*tkMacInitMenus) _ANSI_ARGS_((Tcl_Interp * interp)); /* 3 */ - void (*tkMacInitAppleEvents) _ANSI_ARGS_((Tcl_Interp * interp)); /* 4 */ - int (*tkMacConvertEvent) _ANSI_ARGS_((EventRecord * eventPtr)); /* 5 */ - int (*tkMacConvertTkEvent) _ANSI_ARGS_((EventRecord * eventPtr, Window window)); /* 6 */ - void (*tkGenWMConfigureEvent) _ANSI_ARGS_((Tk_Window tkwin, int x, int y, int width, int height, int flags)); /* 7 */ - void (*tkMacInvalClipRgns) _ANSI_ARGS_((TkWindow * winPtr)); /* 8 */ - int (*tkMacHaveAppearance) _ANSI_ARGS_((void)); /* 9 */ - GWorldPtr (*tkMacGetDrawablePort) _ANSI_ARGS_((Drawable drawable)); /* 10 */ -#endif /* MAC_TCL */ -} TkPlatStubs; - -#ifdef __cplusplus -extern "C" { -#endif -extern TkPlatStubs *tkPlatStubsPtr; -#ifdef __cplusplus -} -#endif - -#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) - -/* - * Inline function declarations: - */ - -#ifdef __WIN32__ -#ifndef Tk_AttachHWND -#define Tk_AttachHWND \ - (tkPlatStubsPtr->tk_AttachHWND) /* 0 */ -#endif -#ifndef Tk_GetHINSTANCE -#define Tk_GetHINSTANCE \ - (tkPlatStubsPtr->tk_GetHINSTANCE) /* 1 */ -#endif -#ifndef Tk_GetHWND -#define Tk_GetHWND \ - (tkPlatStubsPtr->tk_GetHWND) /* 2 */ -#endif -#ifndef Tk_HWNDToWindow -#define Tk_HWNDToWindow \ - (tkPlatStubsPtr->tk_HWNDToWindow) /* 3 */ -#endif -#ifndef Tk_PointerEvent -#define Tk_PointerEvent \ - (tkPlatStubsPtr->tk_PointerEvent) /* 4 */ -#endif -#ifndef Tk_TranslateWinEvent -#define Tk_TranslateWinEvent \ - (tkPlatStubsPtr->tk_TranslateWinEvent) /* 5 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef Tk_MacSetEmbedHandler -#define Tk_MacSetEmbedHandler \ - (tkPlatStubsPtr->tk_MacSetEmbedHandler) /* 0 */ -#endif -#ifndef Tk_MacTurnOffMenus -#define Tk_MacTurnOffMenus \ - (tkPlatStubsPtr->tk_MacTurnOffMenus) /* 1 */ -#endif -#ifndef Tk_MacTkOwnsCursor -#define Tk_MacTkOwnsCursor \ - (tkPlatStubsPtr->tk_MacTkOwnsCursor) /* 2 */ -#endif -#ifndef TkMacInitMenus -#define TkMacInitMenus \ - (tkPlatStubsPtr->tkMacInitMenus) /* 3 */ -#endif -#ifndef TkMacInitAppleEvents -#define TkMacInitAppleEvents \ - (tkPlatStubsPtr->tkMacInitAppleEvents) /* 4 */ -#endif -#ifndef TkMacConvertEvent -#define TkMacConvertEvent \ - (tkPlatStubsPtr->tkMacConvertEvent) /* 5 */ -#endif -#ifndef TkMacConvertTkEvent -#define TkMacConvertTkEvent \ - (tkPlatStubsPtr->tkMacConvertTkEvent) /* 6 */ -#endif -#ifndef TkGenWMConfigureEvent -#define TkGenWMConfigureEvent \ - (tkPlatStubsPtr->tkGenWMConfigureEvent) /* 7 */ -#endif -#ifndef TkMacInvalClipRgns -#define TkMacInvalClipRgns \ - (tkPlatStubsPtr->tkMacInvalClipRgns) /* 8 */ -#endif -#ifndef TkMacHaveAppearance -#define TkMacHaveAppearance \ - (tkPlatStubsPtr->tkMacHaveAppearance) /* 9 */ -#endif -#ifndef TkMacGetDrawablePort -#define TkMacGetDrawablePort \ - (tkPlatStubsPtr->tkMacGetDrawablePort) /* 10 */ -#endif -#endif /* MAC_TCL */ - -#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */ - -/* !END!: Do not edit above this line. */ - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKPLATDECLS */ diff --git a/src/other/togl/include/tcltk/tk8.3/tkPort.h b/src/other/togl/include/tcltk/tk8.3/tkPort.h deleted file mode 100644 index 24660b8681d..00000000000 --- a/src/other/togl/include/tcltk/tk8.3/tkPort.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * tkPort.h -- - * - * This header file handles porting issues that occur because of - * differences between systems. It reads in platform specific - * portability files. - * - * Copyright (c) 1995 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKPORT -#define _TKPORT - -#ifndef _TK -#include "tk.h" -#endif -#ifndef _TCL -#include "tcl.h" -#endif - -#if defined(__WIN32__) || defined(_WIN32) -# include "tkWinPort.h" -#else -# if defined(MAC_TCL) -# include "tkMacPort.h" -# else -# include "tkUnixPort.h" -# endif -#endif - -#endif /* _TKPORT */ diff --git a/src/other/togl/include/tcltk/tk8.3/tkUnixDefault.h b/src/other/togl/include/tcltk/tk8.3/tkUnixDefault.h deleted file mode 100644 index 04fc3c979c0..00000000000 --- a/src/other/togl/include/tcltk/tk8.3/tkUnixDefault.h +++ /dev/null @@ -1,454 +0,0 @@ -/* - * tkUnixDefault.h -- - * - * This file defines the defaults for all options for all of - * the Tk widgets. - * - * Copyright (c) 1991-1994 The Regents of the University of California. - * Copyright (c) 1994-1997 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKUNIXDEFAULT -#define _TKUNIXDEFAULT - -/* - * The definitions below provide symbolic names for the default colors. - * NORMAL_BG - Normal background color. - * ACTIVE_BG - Background color when widget is active. - * SELECT_BG - Background color for selected text. - * TROUGH - Background color for troughs in scales and scrollbars. - * INDICATOR - Color for indicator when button is selected. - * DISABLED - Foreground color when widget is disabled. - */ - -#define BLACK "Black" -#define WHITE "White" - -#define NORMAL_BG "#d9d9d9" -#define ACTIVE_BG "#ececec" -#define SELECT_BG "#c3c3c3" -#define TROUGH "#c3c3c3" -#define INDICATOR "#b03060" -#define DISABLED "#a3a3a3" - -/* - * Defaults for labels, buttons, checkbuttons, and radiobuttons: - */ - -#define DEF_BUTTON_ANCHOR "center" -#define DEF_BUTTON_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_BUTTON_ACTIVE_BG_MONO BLACK -#define DEF_BUTTON_ACTIVE_FG_COLOR BLACK -#define DEF_CHKRAD_ACTIVE_FG_COLOR DEF_BUTTON_ACTIVE_FG_COLOR -#define DEF_BUTTON_ACTIVE_FG_MONO WHITE -#define DEF_BUTTON_BG_COLOR NORMAL_BG -#define DEF_BUTTON_BG_MONO WHITE -#define DEF_BUTTON_BITMAP "" -#define DEF_BUTTON_BORDER_WIDTH "2" -#define DEF_BUTTON_CURSOR "" -#define DEF_BUTTON_COMMAND "" -#define DEF_BUTTON_DEFAULT "disabled" -#define DEF_BUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_BUTTON_DISABLED_FG_MONO "" -#define DEF_BUTTON_FG BLACK -#define DEF_CHKRAD_FG DEF_BUTTON_FG -#define DEF_BUTTON_FONT "Helvetica -12 bold" -#define DEF_BUTTON_HEIGHT "0" -#define DEF_BUTTON_HIGHLIGHT_BG_COLOR DEF_BUTTON_BG_COLOR -#define DEF_BUTTON_HIGHLIGHT_BG_MONO DEF_BUTTON_BG_MONO -#define DEF_BUTTON_HIGHLIGHT BLACK -#define DEF_LABEL_HIGHLIGHT_WIDTH "0" -#define DEF_BUTTON_HIGHLIGHT_WIDTH "1" -#define DEF_BUTTON_IMAGE (char *) NULL -#define DEF_BUTTON_INDICATOR "1" -#define DEF_BUTTON_JUSTIFY "center" -#define DEF_BUTTON_OFF_VALUE "0" -#define DEF_BUTTON_ON_VALUE "1" -#define DEF_BUTTON_PADX "3m" -#define DEF_LABCHKRAD_PADX "1" -#define DEF_BUTTON_PADY "1m" -#define DEF_LABCHKRAD_PADY "1" -#define DEF_BUTTON_RELIEF "raised" -#define DEF_LABCHKRAD_RELIEF "flat" -#define DEF_BUTTON_SELECT_COLOR INDICATOR -#define DEF_BUTTON_SELECT_MONO BLACK -#define DEF_BUTTON_SELECT_IMAGE (char *) NULL -#define DEF_BUTTON_STATE "normal" -#define DEF_LABEL_TAKE_FOCUS "0" -#define DEF_BUTTON_TAKE_FOCUS (char *) NULL -#define DEF_BUTTON_TEXT "" -#define DEF_BUTTON_TEXT_VARIABLE "" -#define DEF_BUTTON_UNDERLINE "-1" -#define DEF_BUTTON_VALUE "" -#define DEF_BUTTON_WIDTH "0" -#define DEF_BUTTON_WRAP_LENGTH "0" -#define DEF_RADIOBUTTON_VARIABLE "selectedButton" -#define DEF_CHECKBUTTON_VARIABLE "" - -/* - * Defaults for canvases: - */ - -#define DEF_CANVAS_BG_COLOR NORMAL_BG -#define DEF_CANVAS_BG_MONO WHITE -#define DEF_CANVAS_BORDER_WIDTH "0" -#define DEF_CANVAS_CLOSE_ENOUGH "1" -#define DEF_CANVAS_CONFINE "1" -#define DEF_CANVAS_CURSOR "" -#define DEF_CANVAS_HEIGHT "7c" -#define DEF_CANVAS_HIGHLIGHT_BG NORMAL_BG -#define DEF_CANVAS_HIGHLIGHT BLACK -#define DEF_CANVAS_HIGHLIGHT_WIDTH "1" -#define DEF_CANVAS_INSERT_BG BLACK -#define DEF_CANVAS_INSERT_BD_COLOR "0" -#define DEF_CANVAS_INSERT_BD_MONO "0" -#define DEF_CANVAS_INSERT_OFF_TIME "300" -#define DEF_CANVAS_INSERT_ON_TIME "600" -#define DEF_CANVAS_INSERT_WIDTH "2" -#define DEF_CANVAS_RELIEF "flat" -#define DEF_CANVAS_SCROLL_REGION "" -#define DEF_CANVAS_SELECT_COLOR SELECT_BG -#define DEF_CANVAS_SELECT_MONO BLACK -#define DEF_CANVAS_SELECT_BD_COLOR "1" -#define DEF_CANVAS_SELECT_BD_MONO "0" -#define DEF_CANVAS_SELECT_FG_COLOR BLACK -#define DEF_CANVAS_SELECT_FG_MONO WHITE -#define DEF_CANVAS_TAKE_FOCUS (char *) NULL -#define DEF_CANVAS_WIDTH "10c" -#define DEF_CANVAS_X_SCROLL_CMD "" -#define DEF_CANVAS_X_SCROLL_INCREMENT "0" -#define DEF_CANVAS_Y_SCROLL_CMD "" -#define DEF_CANVAS_Y_SCROLL_INCREMENT "0" - -/* - * Defaults for entries: - */ - -#define DEF_ENTRY_BG_COLOR NORMAL_BG -#define DEF_ENTRY_BG_MONO WHITE -#define DEF_ENTRY_BORDER_WIDTH "2" -#define DEF_ENTRY_CURSOR "xterm" -#define DEF_ENTRY_EXPORT_SELECTION "1" -#define DEF_ENTRY_FONT "Helvetica -12" -#define DEF_ENTRY_FG BLACK -#define DEF_ENTRY_HIGHLIGHT_BG NORMAL_BG -#define DEF_ENTRY_HIGHLIGHT BLACK -#define DEF_ENTRY_HIGHLIGHT_WIDTH "1" -#define DEF_ENTRY_INSERT_BG BLACK -#define DEF_ENTRY_INSERT_BD_COLOR "0" -#define DEF_ENTRY_INSERT_BD_MONO "0" -#define DEF_ENTRY_INSERT_OFF_TIME "300" -#define DEF_ENTRY_INSERT_ON_TIME "600" -#define DEF_ENTRY_INSERT_WIDTH "2" -#define DEF_ENTRY_JUSTIFY "left" -#define DEF_ENTRY_RELIEF "sunken" -#define DEF_ENTRY_SCROLL_COMMAND "" -#define DEF_ENTRY_SELECT_COLOR SELECT_BG -#define DEF_ENTRY_SELECT_MONO BLACK -#define DEF_ENTRY_SELECT_BD_COLOR "1" -#define DEF_ENTRY_SELECT_BD_MONO "0" -#define DEF_ENTRY_SELECT_FG_COLOR BLACK -#define DEF_ENTRY_SELECT_FG_MONO WHITE -#define DEF_ENTRY_SHOW (char *) NULL -#define DEF_ENTRY_STATE "normal" -#define DEF_ENTRY_TAKE_FOCUS (char *) NULL -#define DEF_ENTRY_TEXT_VARIABLE "" -#define DEF_ENTRY_WIDTH "20" - -/* - * Defaults for frames: - */ - -#define DEF_FRAME_BG_COLOR NORMAL_BG -#define DEF_FRAME_BG_MONO WHITE -#define DEF_FRAME_BORDER_WIDTH "0" -#define DEF_FRAME_CLASS "Frame" -#define DEF_FRAME_COLORMAP "" -#define DEF_FRAME_CONTAINER "0" -#define DEF_FRAME_CURSOR "" -#define DEF_FRAME_HEIGHT "0" -#define DEF_FRAME_HIGHLIGHT_BG NORMAL_BG -#define DEF_FRAME_HIGHLIGHT BLACK -#define DEF_FRAME_HIGHLIGHT_WIDTH "0" -#define DEF_FRAME_RELIEF "flat" -#define DEF_FRAME_TAKE_FOCUS "0" -#define DEF_FRAME_USE "" -#define DEF_FRAME_VISUAL "" -#define DEF_FRAME_WIDTH "0" - -/* - * Defaults for listboxes: - */ - -#define DEF_LISTBOX_BG_COLOR NORMAL_BG -#define DEF_LISTBOX_BG_MONO WHITE -#define DEF_LISTBOX_BORDER_WIDTH "2" -#define DEF_LISTBOX_CURSOR "" -#define DEF_LISTBOX_EXPORT_SELECTION "1" -#define DEF_LISTBOX_FONT "Helvetica -12 bold" -#define DEF_LISTBOX_FG BLACK -#define DEF_LISTBOX_HEIGHT "10" -#define DEF_LISTBOX_HIGHLIGHT_BG NORMAL_BG -#define DEF_LISTBOX_HIGHLIGHT BLACK -#define DEF_LISTBOX_HIGHLIGHT_WIDTH "1" -#define DEF_LISTBOX_RELIEF "sunken" -#define DEF_LISTBOX_SCROLL_COMMAND "" -#define DEF_LISTBOX_LIST_VARIABLE "" -#define DEF_LISTBOX_SELECT_COLOR SELECT_BG -#define DEF_LISTBOX_SELECT_MONO BLACK -#define DEF_LISTBOX_SELECT_BD "1" -#define DEF_LISTBOX_SELECT_FG_COLOR BLACK -#define DEF_LISTBOX_SELECT_FG_MONO WHITE -#define DEF_LISTBOX_SELECT_MODE "browse" -#define DEF_LISTBOX_SET_GRID "0" -#define DEF_LISTBOX_TAKE_FOCUS (char *) NULL -#define DEF_LISTBOX_WIDTH "20" - -/* - * Defaults for individual entries of menus: - */ - -#define DEF_MENU_ENTRY_ACTIVE_BG (char *) NULL -#define DEF_MENU_ENTRY_ACTIVE_FG (char *) NULL -#define DEF_MENU_ENTRY_ACCELERATOR (char *) NULL -#define DEF_MENU_ENTRY_BG (char *) NULL -#define DEF_MENU_ENTRY_BITMAP None -#define DEF_MENU_ENTRY_COLUMN_BREAK "0" -#define DEF_MENU_ENTRY_COMMAND (char *) NULL -#define DEF_MENU_ENTRY_FG (char *) NULL -#define DEF_MENU_ENTRY_FONT (char *) NULL -#define DEF_MENU_ENTRY_HIDE_MARGIN "0" -#define DEF_MENU_ENTRY_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_INDICATOR "1" -#define DEF_MENU_ENTRY_LABEL (char *) NULL -#define DEF_MENU_ENTRY_MENU (char *) NULL -#define DEF_MENU_ENTRY_OFF_VALUE "0" -#define DEF_MENU_ENTRY_ON_VALUE "1" -#define DEF_MENU_ENTRY_SELECT_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_STATE "normal" -#define DEF_MENU_ENTRY_VALUE (char *) NULL -#define DEF_MENU_ENTRY_CHECK_VARIABLE (char *) NULL -#define DEF_MENU_ENTRY_RADIO_VARIABLE "selectedButton" -#define DEF_MENU_ENTRY_SELECT (char *) NULL -#define DEF_MENU_ENTRY_UNDERLINE "-1" - -/* - * Defaults for menus overall: - */ - -#define DEF_MENU_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_MENU_ACTIVE_BG_MONO BLACK -#define DEF_MENU_ACTIVE_BORDER_WIDTH "2" -#define DEF_MENU_ACTIVE_FG_COLOR BLACK -#define DEF_MENU_ACTIVE_FG_MONO WHITE -#define DEF_MENU_BG_COLOR NORMAL_BG -#define DEF_MENU_BG_MONO WHITE -#define DEF_MENU_BORDER_WIDTH "2" -#define DEF_MENU_CURSOR "arrow" -#define DEF_MENU_DISABLED_FG_COLOR DISABLED -#define DEF_MENU_DISABLED_FG_MONO "" -#define DEF_MENU_FONT "Helvetica -12 bold" -#define DEF_MENU_FG BLACK -#define DEF_MENU_POST_COMMAND "" -#define DEF_MENU_RELIEF "raised" -#define DEF_MENU_SELECT_COLOR INDICATOR -#define DEF_MENU_SELECT_MONO BLACK -#define DEF_MENU_TAKE_FOCUS "0" -#define DEF_MENU_TEAROFF "1" -#define DEF_MENU_TEAROFF_CMD (char *) NULL -#define DEF_MENU_TITLE "" -#define DEF_MENU_TYPE "normal" - -/* - * Defaults for menubuttons: - */ - -#define DEF_MENUBUTTON_ANCHOR "center" -#define DEF_MENUBUTTON_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_MENUBUTTON_ACTIVE_BG_MONO BLACK -#define DEF_MENUBUTTON_ACTIVE_FG_COLOR BLACK -#define DEF_MENUBUTTON_ACTIVE_FG_MONO WHITE -#define DEF_MENUBUTTON_BG_COLOR NORMAL_BG -#define DEF_MENUBUTTON_BG_MONO WHITE -#define DEF_MENUBUTTON_BITMAP "" -#define DEF_MENUBUTTON_BORDER_WIDTH "2" -#define DEF_MENUBUTTON_CURSOR "" -#define DEF_MENUBUTTON_DIRECTION "below" -#define DEF_MENUBUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_MENUBUTTON_DISABLED_FG_MONO "" -#define DEF_MENUBUTTON_FONT "Helvetica -12 bold" -#define DEF_MENUBUTTON_FG BLACK -#define DEF_MENUBUTTON_HEIGHT "0" -#define DEF_MENUBUTTON_HIGHLIGHT_BG_COLOR DEF_MENUBUTTON_BG_COLOR -#define DEF_MENUBUTTON_HIGHLIGHT_BG_MONO DEF_MENUBUTTON_BG_MONO -#define DEF_MENUBUTTON_HIGHLIGHT BLACK -#define DEF_MENUBUTTON_HIGHLIGHT_WIDTH "0" -#define DEF_MENUBUTTON_IMAGE (char *) NULL -#define DEF_MENUBUTTON_INDICATOR "0" -#define DEF_MENUBUTTON_JUSTIFY "center" -#define DEF_MENUBUTTON_MENU "" -#define DEF_MENUBUTTON_PADX "4p" -#define DEF_MENUBUTTON_PADY "3p" -#define DEF_MENUBUTTON_RELIEF "flat" -#define DEF_MENUBUTTON_STATE "normal" -#define DEF_MENUBUTTON_TAKE_FOCUS "0" -#define DEF_MENUBUTTON_TEXT "" -#define DEF_MENUBUTTON_TEXT_VARIABLE "" -#define DEF_MENUBUTTON_UNDERLINE "-1" -#define DEF_MENUBUTTON_WIDTH "0" -#define DEF_MENUBUTTON_WRAP_LENGTH "0" - -/* - * Defaults for messages: - */ - -#define DEF_MESSAGE_ANCHOR "center" -#define DEF_MESSAGE_ASPECT "150" -#define DEF_MESSAGE_BG_COLOR NORMAL_BG -#define DEF_MESSAGE_BG_MONO WHITE -#define DEF_MESSAGE_BORDER_WIDTH "2" -#define DEF_MESSAGE_CURSOR "" -#define DEF_MESSAGE_FG BLACK -#define DEF_MESSAGE_FONT "Helvetica -12 bold" -#define DEF_MESSAGE_HIGHLIGHT_BG NORMAL_BG -#define DEF_MESSAGE_HIGHLIGHT BLACK -#define DEF_MESSAGE_HIGHLIGHT_WIDTH "0" -#define DEF_MESSAGE_JUSTIFY "left" -#define DEF_MESSAGE_PADX "-1" -#define DEF_MESSAGE_PADY "-1" -#define DEF_MESSAGE_RELIEF "flat" -#define DEF_MESSAGE_TAKE_FOCUS "0" -#define DEF_MESSAGE_TEXT "" -#define DEF_MESSAGE_TEXT_VARIABLE "" -#define DEF_MESSAGE_WIDTH "0" - -/* - * Defaults for scales: - */ - -#define DEF_SCALE_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCALE_ACTIVE_BG_MONO BLACK -#define DEF_SCALE_BG_COLOR NORMAL_BG -#define DEF_SCALE_BG_MONO WHITE -#define DEF_SCALE_BIG_INCREMENT "0" -#define DEF_SCALE_BORDER_WIDTH "2" -#define DEF_SCALE_COMMAND "" -#define DEF_SCALE_CURSOR "" -#define DEF_SCALE_DIGITS "0" -#define DEF_SCALE_FONT "Helvetica -12 bold" -#define DEF_SCALE_FG_COLOR BLACK -#define DEF_SCALE_FG_MONO BLACK -#define DEF_SCALE_FROM "0" -#define DEF_SCALE_HIGHLIGHT_BG_COLOR DEF_SCALE_BG_COLOR -#define DEF_SCALE_HIGHLIGHT_BG_MONO DEF_SCALE_BG_MONO -#define DEF_SCALE_HIGHLIGHT BLACK -#define DEF_SCALE_HIGHLIGHT_WIDTH "1" -#define DEF_SCALE_LABEL "" -#define DEF_SCALE_LENGTH "100" -#define DEF_SCALE_ORIENT "vertical" -#define DEF_SCALE_RELIEF "flat" -#define DEF_SCALE_REPEAT_DELAY "300" -#define DEF_SCALE_REPEAT_INTERVAL "100" -#define DEF_SCALE_RESOLUTION "1" -#define DEF_SCALE_TROUGH_COLOR TROUGH -#define DEF_SCALE_TROUGH_MONO WHITE -#define DEF_SCALE_SHOW_VALUE "1" -#define DEF_SCALE_SLIDER_LENGTH "30" -#define DEF_SCALE_SLIDER_RELIEF "raised" -#define DEF_SCALE_STATE "normal" -#define DEF_SCALE_TAKE_FOCUS (char *) NULL -#define DEF_SCALE_TICK_INTERVAL "0" -#define DEF_SCALE_TO "100" -#define DEF_SCALE_VARIABLE "" -#define DEF_SCALE_WIDTH "15" - -/* - * Defaults for scrollbars: - */ - -#define DEF_SCROLLBAR_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCROLLBAR_ACTIVE_BG_MONO BLACK -#define DEF_SCROLLBAR_ACTIVE_RELIEF "raised" -#define DEF_SCROLLBAR_BG_COLOR NORMAL_BG -#define DEF_SCROLLBAR_BG_MONO WHITE -#define DEF_SCROLLBAR_BORDER_WIDTH "2" -#define DEF_SCROLLBAR_COMMAND "" -#define DEF_SCROLLBAR_CURSOR "" -#define DEF_SCROLLBAR_EL_BORDER_WIDTH "-1" -#define DEF_SCROLLBAR_HIGHLIGHT_BG NORMAL_BG -#define DEF_SCROLLBAR_HIGHLIGHT BLACK -#define DEF_SCROLLBAR_HIGHLIGHT_WIDTH "1" -#define DEF_SCROLLBAR_JUMP "0" -#define DEF_SCROLLBAR_ORIENT "vertical" -#define DEF_SCROLLBAR_RELIEF "sunken" -#define DEF_SCROLLBAR_REPEAT_DELAY "300" -#define DEF_SCROLLBAR_REPEAT_INTERVAL "100" -#define DEF_SCROLLBAR_TAKE_FOCUS (char *) NULL -#define DEF_SCROLLBAR_TROUGH_COLOR TROUGH -#define DEF_SCROLLBAR_TROUGH_MONO WHITE -#define DEF_SCROLLBAR_WIDTH "15" - -/* - * Defaults for texts: - */ - -#define DEF_TEXT_BG_COLOR NORMAL_BG -#define DEF_TEXT_BG_MONO WHITE -#define DEF_TEXT_BORDER_WIDTH "2" -#define DEF_TEXT_CURSOR "xterm" -#define DEF_TEXT_FG BLACK -#define DEF_TEXT_EXPORT_SELECTION "1" -#define DEF_TEXT_FONT "Courier -12" -#define DEF_TEXT_HEIGHT "24" -#define DEF_TEXT_HIGHLIGHT_BG NORMAL_BG -#define DEF_TEXT_HIGHLIGHT BLACK -#define DEF_TEXT_HIGHLIGHT_WIDTH "1" -#define DEF_TEXT_INSERT_BG BLACK -#define DEF_TEXT_INSERT_BD_COLOR "0" -#define DEF_TEXT_INSERT_BD_MONO "0" -#define DEF_TEXT_INSERT_OFF_TIME "300" -#define DEF_TEXT_INSERT_ON_TIME "600" -#define DEF_TEXT_INSERT_WIDTH "2" -#define DEF_TEXT_PADX "1" -#define DEF_TEXT_PADY "1" -#define DEF_TEXT_RELIEF "sunken" -#define DEF_TEXT_SELECT_COLOR SELECT_BG -#define DEF_TEXT_SELECT_MONO BLACK -#define DEF_TEXT_SELECT_BD_COLOR "1" -#define DEF_TEXT_SELECT_BD_MONO "0" -#define DEF_TEXT_SELECT_FG_COLOR BLACK -#define DEF_TEXT_SELECT_FG_MONO WHITE -#define DEF_TEXT_SELECT_RELIEF "raised" -#define DEF_TEXT_SET_GRID "0" -#define DEF_TEXT_SPACING1 "0" -#define DEF_TEXT_SPACING2 "0" -#define DEF_TEXT_SPACING3 "0" -#define DEF_TEXT_STATE "normal" -#define DEF_TEXT_TABS "" -#define DEF_TEXT_TAKE_FOCUS (char *) NULL -#define DEF_TEXT_WIDTH "80" -#define DEF_TEXT_WRAP "char" -#define DEF_TEXT_XSCROLL_COMMAND "" -#define DEF_TEXT_YSCROLL_COMMAND "" - -/* - * Defaults for canvas text: - */ - -#define DEF_CANVTEXT_FONT "Helvetica -12" - -/* - * Defaults for toplevels (most of the defaults for frames also apply - * to toplevels): - */ - -#define DEF_TOPLEVEL_CLASS "Toplevel" -#define DEF_TOPLEVEL_MENU "" -#define DEF_TOPLEVEL_SCREEN "" - -#endif /* _TKUNIXDEFAULT */ diff --git a/src/other/togl/include/tcltk/tk8.3/tkUnixPort.h b/src/other/togl/include/tcltk/tk8.3/tkUnixPort.h deleted file mode 100644 index 1e32be0d9ff..00000000000 --- a/src/other/togl/include/tcltk/tk8.3/tkUnixPort.h +++ /dev/null @@ -1,225 +0,0 @@ -/* - * tkUnixPort.h -- - * - * This file is included by all of the Tk C files. It contains - * information that may be configuration-dependent, such as - * #includes for system include files and a few other things. - * - * Copyright (c) 1991-1993 The Regents of the University of California. - * Copyright (c) 1994-1996 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _UNIXPORT -#define _UNIXPORT - -#define __UNIX__ 1 - -/* - * Macro to use instead of "void" for arguments that must have - * type "void *" in ANSI C; maps them to type "char *" in - * non-ANSI systems. This macro may be used in some of the include - * files below, which is why it is defined here. - */ - -#ifndef VOID -# ifdef __STDC__ -# define VOID void -# else -# define VOID char -# endif -#endif - -#include -#include -#include -#ifdef HAVE_LIMITS_H -# include -#else -# include "../compat/limits.h" -#endif -#include -#include -#ifdef NO_STDLIB_H -# include "../compat/stdlib.h" -#else -# include -#endif -#include -#include -#include -#ifdef HAVE_SYS_SELECT_H -# include -#endif -#include -#ifndef _TCL -# include -#endif -#if TIME_WITH_SYS_TIME -# include -# include -#else -# if HAVE_SYS_TIME_H -# include -# else -# include -# endif -#endif -#ifdef HAVE_UNISTD_H -# include -#else -# include "../compat/unistd.h" -#endif -#include -#include -#include -#include -#include -#include -#include - -/* - * The following macro defines the type of the mask arguments to - * select: - */ - -#ifndef NO_FD_SET -# define SELECT_MASK fd_set -#else -# ifndef _AIX - typedef long fd_mask; -# endif -# if defined(_IBMR2) -# define SELECT_MASK void -# else -# define SELECT_MASK int -# endif -#endif - -/* - * The following macro defines the number of fd_masks in an fd_set: - */ - -#ifndef FD_SETSIZE -# ifdef OPEN_MAX -# define FD_SETSIZE OPEN_MAX -# else -# define FD_SETSIZE 256 -# endif -#endif -#if !defined(howmany) -# define howmany(x, y) (((x)+((y)-1))/(y)) -#endif -#ifndef NFDBITS -# define NFDBITS NBBY*sizeof(fd_mask) -#endif -#define MASK_SIZE howmany(FD_SETSIZE, NFDBITS) - -/* - * Not all systems declare the errno variable in errno.h. so this - * file does it explicitly. - */ - -extern int errno; - -/* - * Define "NBBY" (number of bits per byte) if it's not already defined. - */ - -#ifndef NBBY -# define NBBY 8 -#endif - -/* - * These macros are just wrappers for the equivalent X Region calls. - */ - -#define TkClipBox(rgn, rect) XClipBox((Region) rgn, rect) -#define TkCreateRegion() (TkRegion) XCreateRegion() -#define TkDestroyRegion(rgn) XDestroyRegion((Region) rgn) -#define TkIntersectRegion(a, b, r) XIntersectRegion((Region) a, \ - (Region) b, (Region) r) -#define TkRectInRegion(r, x, y, w, h) XRectInRegion((Region) r, x, y, w, h) -#define TkSetRegion(d, gc, rgn) XSetRegion(d, gc, (Region) rgn) -#define TkUnionRectWithRegion(rect, src, ret) XUnionRectWithRegion(rect, \ - (Region) src, (Region) ret) - -/* - * The TkPutImage macro strips off the color table information, which isn't - * needed for X. - */ - -#define TkPutImage(colors, ncolors, display, pixels, gc, image, destx, desty, srcx, srcy, width, height) \ - XPutImage(display, pixels, gc, image, destx, desty, srcx, \ - srcy, width, height); - -/* - * Supply macros for seek offsets, if they're not already provided by - * an include file. - */ - -#ifndef SEEK_SET -# define SEEK_SET 0 -#endif - -#ifndef SEEK_CUR -# define SEEK_CUR 1 -#endif - -#ifndef SEEK_END -# define SEEK_END 2 -#endif - -/* - * Declarations for various library procedures that may not be declared - * in any other header file. - */ - - -/* - * These functions do nothing under Unix, so we just eliminate calls to them. - */ - -#define TkpButtonSetDefaults(specPtr) {} -#define TkpDestroyButton(butPtr) {} -#define TkSelUpdateClipboard(a,b) {} -#define TkSetPixmapColormap(p,c) {} - -/* - * These calls implement native bitmaps which are not supported under - * UNIX. The macros eliminate the calls. - */ - -#define TkpDefineNativeBitmaps() -#define TkpCreateNativeBitmap(display, source) None -#define TkpGetNativeAppBitmap(display, name, w, h) None - -/* - * This macro stores a representation of the window handle in a string. - * This should perhaps use the real size of an XID. - */ - -#define TkpPrintWindowId(buf,w) \ - sprintf((buf), "%#08lx", (unsigned long) (w)) - -/* - * This macro indicates that entry and text widgets should display - * the selection highlight regardless of which window has the focus. - */ - -#define ALWAYS_SHOW_SELECTION - -/* - * The following declaration is used to get access to a private Tcl interface - * that is needed for portability reasons. - */ - -#ifndef _TCLINT -#include -#endif - -#endif /* _UNIXPORT */ diff --git a/src/other/togl/include/tcltk/tk8.3/tkWin.h b/src/other/togl/include/tcltk/tk8.3/tkWin.h deleted file mode 100644 index 3a6bcaafc84..00000000000 --- a/src/other/togl/include/tcltk/tk8.3/tkWin.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * tkWin.h -- - * - * Declarations of public types and interfaces that are only - * available under Windows. - * - * Copyright (c) 1996-1997 by Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKWIN -#define _TKWIN - -#ifndef _TK -#include -#endif - -#define WIN32_LEAN_AND_MEAN -#include -#undef WIN32_LEAN_AND_MEAN - -#ifdef BUILD_tk -# undef TCL_STORAGE_CLASS -# define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * The following messages are use to communicate between a Tk toplevel - * and its container window. - */ - -#define TK_CLAIMFOCUS (WM_USER) -#define TK_GEOMETRYREQ (WM_USER+1) -#define TK_ATTACHWINDOW (WM_USER+2) -#define TK_DETACHWINDOW (WM_USER+3) - - -/* - *-------------------------------------------------------------- - * - * Exported procedures defined for the Windows platform only. - * - *-------------------------------------------------------------- - */ - -#include "tkPlatDecls.h" - -# undef TCL_STORAGE_CLASS -# define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKWIN */ diff --git a/src/other/togl/include/tcltk/tk8.3/tkWinDefault.h b/src/other/togl/include/tcltk/tk8.3/tkWinDefault.h deleted file mode 100644 index 5568e7dec39..00000000000 --- a/src/other/togl/include/tcltk/tk8.3/tkWinDefault.h +++ /dev/null @@ -1,460 +0,0 @@ -/* - * tkWinDefault.h -- - * - * This file defines the defaults for all options for all of - * the Tk widgets. - * - * Copyright (c) 1995-1997 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKWINDEFAULT -#define _TKWINDEFAULT - -/* - * The definitions below provide symbolic names for the default colors. - * NORMAL_BG - Normal background color. - * ACTIVE_BG - Background color when widget is active. - * SELECT_BG - Background color for selected text. - * TROUGH - Background color for troughs in scales and scrollbars. - * INDICATOR - Color for indicator when button is selected. - * DISABLED - Foreground color when widget is disabled. - */ - -#define BLACK "Black" -#define WHITE "White" - -#define CTL_FONT "{MS Sans Serif} 8" -#define NORMAL_BG "SystemButtonFace" -#define NORMAL_FG "SystemButtonText" -#define ACTIVE_BG NORMAL_BG -#define TEXT_FG "SystemWindowText" -#define SELECT_BG "SystemHighlight" -#define SELECT_FG "SystemHighlightText" -#define TROUGH "SystemScrollbar" -#define INDICATOR "SystemWindow" -#define DISABLED "SystemDisabledText" -#define MENU_BG "SystemMenu" -#define MENU_FG "SystemMenuText" -#define HIGHLIGHT "SystemWindowFrame" - -/* - * Defaults for labels, buttons, checkbuttons, and radiobuttons: - */ - -#define DEF_BUTTON_ANCHOR "center" -#define DEF_BUTTON_ACTIVE_BG_COLOR NORMAL_BG -#define DEF_BUTTON_ACTIVE_BG_MONO BLACK -#define DEF_BUTTON_ACTIVE_FG_COLOR NORMAL_FG -#define DEF_CHKRAD_ACTIVE_FG_COLOR TEXT_FG -#define DEF_BUTTON_ACTIVE_FG_MONO WHITE -#define DEF_BUTTON_BG_COLOR NORMAL_BG -#define DEF_BUTTON_BG_MONO WHITE -#define DEF_BUTTON_BITMAP "" -#define DEF_BUTTON_BORDER_WIDTH "2" -#define DEF_BUTTON_CURSOR "" -#define DEF_BUTTON_COMMAND "" -#define DEF_BUTTON_DEFAULT "disabled" -#define DEF_BUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_BUTTON_DISABLED_FG_MONO "" -#define DEF_BUTTON_FG NORMAL_FG -#define DEF_CHKRAD_FG TEXT_FG -#define DEF_BUTTON_FONT CTL_FONT -#define DEF_BUTTON_HEIGHT "0" -#define DEF_BUTTON_HIGHLIGHT_BG_COLOR DEF_BUTTON_BG_COLOR -#define DEF_BUTTON_HIGHLIGHT_BG_MONO DEF_BUTTON_BG_MONO -#define DEF_BUTTON_HIGHLIGHT HIGHLIGHT -#define DEF_LABEL_HIGHLIGHT_WIDTH "0" -#define DEF_BUTTON_HIGHLIGHT_WIDTH "1" -#define DEF_BUTTON_IMAGE (char *) NULL -#define DEF_BUTTON_INDICATOR "1" -#define DEF_BUTTON_JUSTIFY "center" -#define DEF_BUTTON_OFF_VALUE "0" -#define DEF_BUTTON_ON_VALUE "1" -#define DEF_BUTTON_PADX "1" -#define DEF_LABCHKRAD_PADX "1" -#define DEF_BUTTON_PADY "1" -#define DEF_LABCHKRAD_PADY "1" -#define DEF_BUTTON_RELIEF "raised" -#define DEF_LABCHKRAD_RELIEF "flat" -#define DEF_BUTTON_SELECT_COLOR INDICATOR -#define DEF_BUTTON_SELECT_MONO BLACK -#define DEF_BUTTON_SELECT_IMAGE (char *) NULL -#define DEF_BUTTON_STATE "normal" -#define DEF_LABEL_TAKE_FOCUS "0" -#define DEF_BUTTON_TAKE_FOCUS (char *) NULL -#define DEF_BUTTON_TEXT "" -#define DEF_BUTTON_TEXT_VARIABLE "" -#define DEF_BUTTON_UNDERLINE "-1" -#define DEF_BUTTON_VALUE "" -#define DEF_BUTTON_WIDTH "0" -#define DEF_BUTTON_WRAP_LENGTH "0" -#define DEF_RADIOBUTTON_VARIABLE "selectedButton" -#define DEF_CHECKBUTTON_VARIABLE "" - -/* - * Defaults for canvases: - */ - -#define DEF_CANVAS_BG_COLOR NORMAL_BG -#define DEF_CANVAS_BG_MONO WHITE -#define DEF_CANVAS_BORDER_WIDTH "0" -#define DEF_CANVAS_CLOSE_ENOUGH "1" -#define DEF_CANVAS_CONFINE "1" -#define DEF_CANVAS_CURSOR "" -#define DEF_CANVAS_HEIGHT "7c" -#define DEF_CANVAS_HIGHLIGHT_BG NORMAL_BG -#define DEF_CANVAS_HIGHLIGHT HIGHLIGHT -#define DEF_CANVAS_HIGHLIGHT_WIDTH "2" -#define DEF_CANVAS_INSERT_BG NORMAL_FG -#define DEF_CANVAS_INSERT_BD_COLOR "0" -#define DEF_CANVAS_INSERT_BD_MONO "0" -#define DEF_CANVAS_INSERT_OFF_TIME "300" -#define DEF_CANVAS_INSERT_ON_TIME "600" -#define DEF_CANVAS_INSERT_WIDTH "2" -#define DEF_CANVAS_RELIEF "flat" -#define DEF_CANVAS_SCROLL_REGION "" -#define DEF_CANVAS_SELECT_COLOR SELECT_BG -#define DEF_CANVAS_SELECT_MONO BLACK -#define DEF_CANVAS_SELECT_BD_COLOR "1" -#define DEF_CANVAS_SELECT_BD_MONO "0" -#define DEF_CANVAS_SELECT_FG_COLOR SELECT_FG -#define DEF_CANVAS_SELECT_FG_MONO WHITE -#define DEF_CANVAS_TAKE_FOCUS (char *) NULL -#define DEF_CANVAS_WIDTH "10c" -#define DEF_CANVAS_X_SCROLL_CMD "" -#define DEF_CANVAS_X_SCROLL_INCREMENT "0" -#define DEF_CANVAS_Y_SCROLL_CMD "" -#define DEF_CANVAS_Y_SCROLL_INCREMENT "0" - -/* - * Defaults for entries: - */ - -#define DEF_ENTRY_BG_COLOR "SystemWindow" -#define DEF_ENTRY_BG_MONO WHITE -#define DEF_ENTRY_BORDER_WIDTH "2" -#define DEF_ENTRY_CURSOR "xterm" -#define DEF_ENTRY_EXPORT_SELECTION "1" -#define DEF_ENTRY_FONT CTL_FONT -#define DEF_ENTRY_FG TEXT_FG -#define DEF_ENTRY_HIGHLIGHT_BG NORMAL_BG -#define DEF_ENTRY_HIGHLIGHT HIGHLIGHT -#define DEF_ENTRY_HIGHLIGHT_WIDTH "0" -#define DEF_ENTRY_INSERT_BG TEXT_FG -#define DEF_ENTRY_INSERT_BD_COLOR "0" -#define DEF_ENTRY_INSERT_BD_MONO "0" -#define DEF_ENTRY_INSERT_OFF_TIME "300" -#define DEF_ENTRY_INSERT_ON_TIME "600" -#define DEF_ENTRY_INSERT_WIDTH "2" -#define DEF_ENTRY_JUSTIFY "left" -#define DEF_ENTRY_RELIEF "sunken" -#define DEF_ENTRY_SCROLL_COMMAND "" -#define DEF_ENTRY_SELECT_COLOR SELECT_BG -#define DEF_ENTRY_SELECT_MONO BLACK -#define DEF_ENTRY_SELECT_BD_COLOR "0" -#define DEF_ENTRY_SELECT_BD_MONO "0" -#define DEF_ENTRY_SELECT_FG_COLOR SELECT_FG -#define DEF_ENTRY_SELECT_FG_MONO WHITE -#define DEF_ENTRY_SHOW (char *) NULL -#define DEF_ENTRY_STATE "normal" -#define DEF_ENTRY_TAKE_FOCUS (char *) NULL -#define DEF_ENTRY_TEXT_VARIABLE "" -#define DEF_ENTRY_WIDTH "20" - -/* - * Defaults for frames: - */ - -#define DEF_FRAME_BG_COLOR NORMAL_BG -#define DEF_FRAME_BG_MONO WHITE -#define DEF_FRAME_BORDER_WIDTH "0" -#define DEF_FRAME_CLASS "Frame" -#define DEF_FRAME_COLORMAP "" -#define DEF_FRAME_CONTAINER "0" -#define DEF_FRAME_CURSOR "" -#define DEF_FRAME_HEIGHT "0" -#define DEF_FRAME_HIGHLIGHT_BG NORMAL_BG -#define DEF_FRAME_HIGHLIGHT HIGHLIGHT -#define DEF_FRAME_HIGHLIGHT_WIDTH "0" -#define DEF_FRAME_RELIEF "flat" -#define DEF_FRAME_TAKE_FOCUS "0" -#define DEF_FRAME_USE "" -#define DEF_FRAME_VISUAL "" -#define DEF_FRAME_WIDTH "0" - -/* - * Defaults for listboxes: - */ - -#define DEF_LISTBOX_BG_COLOR NORMAL_BG -#define DEF_LISTBOX_BG_MONO WHITE -#define DEF_LISTBOX_BORDER_WIDTH "2" -#define DEF_LISTBOX_CURSOR "" -#define DEF_LISTBOX_EXPORT_SELECTION "1" -#define DEF_LISTBOX_FONT CTL_FONT -#define DEF_LISTBOX_FG NORMAL_FG -#define DEF_LISTBOX_HEIGHT "10" -#define DEF_LISTBOX_HIGHLIGHT_BG NORMAL_BG -#define DEF_LISTBOX_HIGHLIGHT HIGHLIGHT -#define DEF_LISTBOX_HIGHLIGHT_WIDTH "1" -#define DEF_LISTBOX_RELIEF "sunken" -#define DEF_LISTBOX_SCROLL_COMMAND "" -#define DEF_LISTBOX_LIST_VARIABLE "" -#define DEF_LISTBOX_SELECT_COLOR SELECT_BG -#define DEF_LISTBOX_SELECT_MONO BLACK -#define DEF_LISTBOX_SELECT_BD "1" -#define DEF_LISTBOX_SELECT_FG_COLOR SELECT_FG -#define DEF_LISTBOX_SELECT_FG_MONO WHITE -#define DEF_LISTBOX_SELECT_MODE "browse" -#define DEF_LISTBOX_SET_GRID "0" -#define DEF_LISTBOX_TAKE_FOCUS (char *) NULL -#define DEF_LISTBOX_WIDTH "20" - -/* - * Defaults for individual entries of menus: - */ - -#define DEF_MENU_ENTRY_ACTIVE_BG (char *) NULL -#define DEF_MENU_ENTRY_ACTIVE_FG (char *) NULL -#define DEF_MENU_ENTRY_ACCELERATOR (char *) NULL -#define DEF_MENU_ENTRY_BG (char *) NULL -#define DEF_MENU_ENTRY_BITMAP None -#define DEF_MENU_ENTRY_COLUMN_BREAK "0" -#define DEF_MENU_ENTRY_COMMAND (char *) NULL -#define DEF_MENU_ENTRY_FG (char *) NULL -#define DEF_MENU_ENTRY_FONT (char *) NULL -#define DEF_MENU_ENTRY_HIDE_MARGIN "0" -#define DEF_MENU_ENTRY_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_INDICATOR "1" -#define DEF_MENU_ENTRY_LABEL (char *) NULL -#define DEF_MENU_ENTRY_MENU (char *) NULL -#define DEF_MENU_ENTRY_OFF_VALUE "0" -#define DEF_MENU_ENTRY_ON_VALUE "1" -#define DEF_MENU_ENTRY_SELECT_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_STATE "normal" -#define DEF_MENU_ENTRY_VALUE (char *) NULL -#define DEF_MENU_ENTRY_CHECK_VARIABLE (char *) NULL -#define DEF_MENU_ENTRY_RADIO_VARIABLE "selectedButton" -#define DEF_MENU_ENTRY_SELECT (char *) NULL -#define DEF_MENU_ENTRY_UNDERLINE "-1" - -/* - * Defaults for menus overall: - */ - -#define DEF_MENU_ACTIVE_BG_COLOR SELECT_BG -#define DEF_MENU_ACTIVE_BG_MONO BLACK -#define DEF_MENU_ACTIVE_BORDER_WIDTH "0" -#define DEF_MENU_ACTIVE_FG_COLOR SELECT_FG -#define DEF_MENU_ACTIVE_FG_MONO WHITE -#define DEF_MENU_BG_COLOR MENU_BG -#define DEF_MENU_BG_MONO WHITE -#define DEF_MENU_BORDER_WIDTH "0" -#define DEF_MENU_CURSOR "arrow" -#define DEF_MENU_DISABLED_FG_COLOR DISABLED -#define DEF_MENU_DISABLED_FG_MONO "" -#define DEF_MENU_FONT CTL_FONT -#define DEF_MENU_FG MENU_FG -#define DEF_MENU_POST_COMMAND "" -#define DEF_MENU_RELIEF "flat" -#define DEF_MENU_SELECT_COLOR MENU_FG -#define DEF_MENU_SELECT_MONO BLACK -#define DEF_MENU_TAKE_FOCUS "0" -#define DEF_MENU_TEAROFF "1" -#define DEF_MENU_TEAROFF_CMD (char *) NULL -#define DEF_MENU_TITLE "" -#define DEF_MENU_TYPE "normal" - -/* - * Defaults for menubuttons: - */ - -#define DEF_MENUBUTTON_ANCHOR "center" -#define DEF_MENUBUTTON_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_MENUBUTTON_ACTIVE_BG_MONO BLACK -#define DEF_MENUBUTTON_ACTIVE_FG_COLOR NORMAL_FG -#define DEF_MENUBUTTON_ACTIVE_FG_MONO WHITE -#define DEF_MENUBUTTON_BG_COLOR NORMAL_BG -#define DEF_MENUBUTTON_BG_MONO WHITE -#define DEF_MENUBUTTON_BITMAP "" -#define DEF_MENUBUTTON_BORDER_WIDTH "2" -#define DEF_MENUBUTTON_CURSOR "" -#define DEF_MENUBUTTON_DIRECTION "below" -#define DEF_MENUBUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_MENUBUTTON_DISABLED_FG_MONO "" -#define DEF_MENUBUTTON_FONT CTL_FONT -#define DEF_MENUBUTTON_FG NORMAL_FG -#define DEF_MENUBUTTON_HEIGHT "0" -#define DEF_MENUBUTTON_HIGHLIGHT_BG_COLOR DEF_MENUBUTTON_BG_COLOR -#define DEF_MENUBUTTON_HIGHLIGHT_BG_MONO DEF_MENUBUTTON_BG_MONO -#define DEF_MENUBUTTON_HIGHLIGHT HIGHLIGHT -#define DEF_MENUBUTTON_HIGHLIGHT_WIDTH "0" -#define DEF_MENUBUTTON_IMAGE (char *) NULL -#define DEF_MENUBUTTON_INDICATOR "0" -#define DEF_MENUBUTTON_JUSTIFY "center" -#define DEF_MENUBUTTON_MENU "" -#define DEF_MENUBUTTON_PADX "4p" -#define DEF_MENUBUTTON_PADY "3p" -#define DEF_MENUBUTTON_RELIEF "flat" -#define DEF_MENUBUTTON_STATE "normal" -#define DEF_MENUBUTTON_TAKE_FOCUS "0" -#define DEF_MENUBUTTON_TEXT "" -#define DEF_MENUBUTTON_TEXT_VARIABLE "" -#define DEF_MENUBUTTON_UNDERLINE "-1" -#define DEF_MENUBUTTON_WIDTH "0" -#define DEF_MENUBUTTON_WRAP_LENGTH "0" - -/* - * Defaults for messages: - */ - -#define DEF_MESSAGE_ANCHOR "center" -#define DEF_MESSAGE_ASPECT "150" -#define DEF_MESSAGE_BG_COLOR NORMAL_BG -#define DEF_MESSAGE_BG_MONO WHITE -#define DEF_MESSAGE_BORDER_WIDTH "2" -#define DEF_MESSAGE_CURSOR "" -#define DEF_MESSAGE_FG NORMAL_FG -#define DEF_MESSAGE_FONT CTL_FONT -#define DEF_MESSAGE_HIGHLIGHT_BG NORMAL_BG -#define DEF_MESSAGE_HIGHLIGHT HIGHLIGHT -#define DEF_MESSAGE_HIGHLIGHT_WIDTH "0" -#define DEF_MESSAGE_JUSTIFY "left" -#define DEF_MESSAGE_PADX "-1" -#define DEF_MESSAGE_PADY "-1" -#define DEF_MESSAGE_RELIEF "flat" -#define DEF_MESSAGE_TAKE_FOCUS "0" -#define DEF_MESSAGE_TEXT "" -#define DEF_MESSAGE_TEXT_VARIABLE "" -#define DEF_MESSAGE_WIDTH "0" - -/* - * Defaults for scales: - */ - -#define DEF_SCALE_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCALE_ACTIVE_BG_MONO BLACK -#define DEF_SCALE_BG_COLOR NORMAL_BG -#define DEF_SCALE_BG_MONO WHITE -#define DEF_SCALE_BIG_INCREMENT "0" -#define DEF_SCALE_BORDER_WIDTH "2" -#define DEF_SCALE_COMMAND "" -#define DEF_SCALE_CURSOR "" -#define DEF_SCALE_DIGITS "0" -#define DEF_SCALE_FONT CTL_FONT -#define DEF_SCALE_FG_COLOR NORMAL_FG -#define DEF_SCALE_FG_MONO BLACK -#define DEF_SCALE_FROM "0" -#define DEF_SCALE_HIGHLIGHT_BG_COLOR DEF_SCALE_BG_COLOR -#define DEF_SCALE_HIGHLIGHT_BG_MONO DEF_SCALE_BG_MONO -#define DEF_SCALE_HIGHLIGHT HIGHLIGHT -#define DEF_SCALE_HIGHLIGHT_WIDTH "2" -#define DEF_SCALE_LABEL "" -#define DEF_SCALE_LENGTH "100" -#define DEF_SCALE_ORIENT "vertical" -#define DEF_SCALE_RELIEF "flat" -#define DEF_SCALE_REPEAT_DELAY "300" -#define DEF_SCALE_REPEAT_INTERVAL "100" -#define DEF_SCALE_RESOLUTION "1" -#define DEF_SCALE_TROUGH_COLOR TROUGH -#define DEF_SCALE_TROUGH_MONO WHITE -#define DEF_SCALE_SHOW_VALUE "1" -#define DEF_SCALE_SLIDER_LENGTH "30" -#define DEF_SCALE_SLIDER_RELIEF "raised" -#define DEF_SCALE_STATE "normal" -#define DEF_SCALE_TAKE_FOCUS (char *) NULL -#define DEF_SCALE_TICK_INTERVAL "0" -#define DEF_SCALE_TO "100" -#define DEF_SCALE_VARIABLE "" -#define DEF_SCALE_WIDTH "15" - -/* - * Defaults for scrollbars: - */ - -#define DEF_SCROLLBAR_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCROLLBAR_ACTIVE_BG_MONO BLACK -#define DEF_SCROLLBAR_ACTIVE_RELIEF "raised" -#define DEF_SCROLLBAR_BG_COLOR NORMAL_BG -#define DEF_SCROLLBAR_BG_MONO WHITE -#define DEF_SCROLLBAR_BORDER_WIDTH "0" -#define DEF_SCROLLBAR_COMMAND "" -#define DEF_SCROLLBAR_CURSOR "" -#define DEF_SCROLLBAR_EL_BORDER_WIDTH "-1" -#define DEF_SCROLLBAR_HIGHLIGHT_BG NORMAL_BG -#define DEF_SCROLLBAR_HIGHLIGHT HIGHLIGHT -#define DEF_SCROLLBAR_HIGHLIGHT_WIDTH "0" -#define DEF_SCROLLBAR_JUMP "0" -#define DEF_SCROLLBAR_ORIENT "vertical" -#define DEF_SCROLLBAR_RELIEF "sunken" -#define DEF_SCROLLBAR_REPEAT_DELAY "300" -#define DEF_SCROLLBAR_REPEAT_INTERVAL "100" -#define DEF_SCROLLBAR_TAKE_FOCUS (char *) NULL -#define DEF_SCROLLBAR_TROUGH_COLOR TROUGH -#define DEF_SCROLLBAR_TROUGH_MONO WHITE -#define DEF_SCROLLBAR_WIDTH "10" - -/* - * Defaults for texts: - */ - -#define DEF_TEXT_BG_COLOR "SystemWindow" -#define DEF_TEXT_BG_MONO WHITE -#define DEF_TEXT_BORDER_WIDTH "2" -#define DEF_TEXT_CURSOR "xterm" -#define DEF_TEXT_FG TEXT_FG -#define DEF_TEXT_EXPORT_SELECTION "1" -#define DEF_TEXT_FONT CTL_FONT -#define DEF_TEXT_HEIGHT "24" -#define DEF_TEXT_HIGHLIGHT_BG NORMAL_BG -#define DEF_TEXT_HIGHLIGHT HIGHLIGHT -#define DEF_TEXT_HIGHLIGHT_WIDTH "0" -#define DEF_TEXT_INSERT_BG TEXT_FG -#define DEF_TEXT_INSERT_BD_COLOR "0" -#define DEF_TEXT_INSERT_BD_MONO "0" -#define DEF_TEXT_INSERT_OFF_TIME "300" -#define DEF_TEXT_INSERT_ON_TIME "600" -#define DEF_TEXT_INSERT_WIDTH "2" -#define DEF_TEXT_PADX "1" -#define DEF_TEXT_PADY "1" -#define DEF_TEXT_RELIEF "sunken" -#define DEF_TEXT_SELECT_COLOR SELECT_BG -#define DEF_TEXT_SELECT_MONO BLACK -#define DEF_TEXT_SELECT_BD_COLOR "0" -#define DEF_TEXT_SELECT_BD_MONO "0" -#define DEF_TEXT_SELECT_FG_COLOR SELECT_FG -#define DEF_TEXT_SELECT_FG_MONO WHITE -#define DEF_TEXT_SELECT_RELIEF "flat" -#define DEF_TEXT_SET_GRID "0" -#define DEF_TEXT_SPACING1 "0" -#define DEF_TEXT_SPACING2 "0" -#define DEF_TEXT_SPACING3 "0" -#define DEF_TEXT_STATE "normal" -#define DEF_TEXT_TABS "" -#define DEF_TEXT_TAKE_FOCUS (char *) NULL -#define DEF_TEXT_WIDTH "80" -#define DEF_TEXT_WRAP "char" -#define DEF_TEXT_XSCROLL_COMMAND "" -#define DEF_TEXT_YSCROLL_COMMAND "" - -/* - * Defaults for canvas text: - */ - -#define DEF_CANVTEXT_FONT CTL_FONT - -/* - * Defaults for toplevels (most of the defaults for frames also apply - * to toplevels): - */ - -#define DEF_TOPLEVEL_CLASS "Toplevel" -#define DEF_TOPLEVEL_MENU "" -#define DEF_TOPLEVEL_SCREEN "" - -#endif /* _TKWINDEFAULT */ diff --git a/src/other/togl/include/tcltk/tk8.3/tkWinInt.h b/src/other/togl/include/tcltk/tk8.3/tkWinInt.h deleted file mode 100644 index 0d819b67dab..00000000000 --- a/src/other/togl/include/tcltk/tk8.3/tkWinInt.h +++ /dev/null @@ -1,171 +0,0 @@ -/* - * tkWinInt.h -- - * - * This file contains declarations that are shared among the - * Windows-specific parts of Tk, but aren't used by the rest of - * Tk. - * - * Copyright (c) 1995-1997 Sun Microsystems, Inc. - * Copyright (c) 1998-2000 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKWININT -#define _TKWININT - -#ifndef _TKINT -#include "tkInt.h" -#endif - -/* - * Include platform specific public interfaces. - */ - -#ifndef _TKWIN -#include "tkWin.h" -#endif - -#ifndef _TKPORT -#include "tkPort.h" -#endif - - -/* - * Define constants missing from older Win32 SDK header files. - */ - -#ifndef WS_EX_TOOLWINDOW -#define WS_EX_TOOLWINDOW 0x00000080L -#endif - -/* - * The TkWinDCState is used to save the state of a device context - * so that it can be restored later. - */ - -typedef struct TkWinDCState { - HPALETTE palette; - int bkmode; -} TkWinDCState; - -/* - * The TkWinDrawable is the internal implementation of an X Drawable (either - * a Window or a Pixmap). The following constants define the valid Drawable - * types. - */ - -#define TWD_BITMAP 1 -#define TWD_WINDOW 2 -#define TWD_WINDC 3 - -typedef struct { - int type; - HWND handle; - TkWindow *winPtr; -} TkWinWindow; - -typedef struct { - int type; - HBITMAP handle; - Colormap colormap; - int depth; -} TkWinBitmap; - -typedef struct { - int type; - HDC hdc; -}TkWinDC; - -typedef union { - int type; - TkWinWindow window; - TkWinBitmap bitmap; - TkWinDC winDC; -} TkWinDrawable; - -/* - * The following macros are used to retrieve internal values from a Drawable. - */ - -#define TkWinGetHWND(w) (((TkWinDrawable *) w)->window.handle) -#define TkWinGetWinPtr(w) (((TkWinDrawable *) w)->window.winPtr) -#define TkWinGetHBITMAP(w) (((TkWinDrawable *) w)->bitmap.handle) -#define TkWinGetColormap(w) (((TkWinDrawable *) w)->bitmap.colormap) -#define TkWinGetHDC(w) (((TkWinDrawable *) w)->winDC.hdc) - -/* - * The following structure is used to encapsulate palette information. - */ - -typedef struct { - HPALETTE palette; /* Palette handle used when drawing. */ - UINT size; /* Number of entries in the palette. */ - int stale; /* 1 if palette needs to be realized, - * otherwise 0. If the palette is stale, - * then an idle handler is scheduled to - * realize the palette. */ - Tcl_HashTable refCounts; /* Hash table of palette entry reference counts - * indexed by pixel value. */ -} TkWinColormap; - -/* - * The following macro retrieves the Win32 palette from a colormap. - */ - -#define TkWinGetPalette(colormap) (((TkWinColormap *) colormap)->palette) - -/* - * The following macros define the class names for Tk Window types. - */ - -#define TK_WIN_TOPLEVEL_CLASS_NAME "TkTopLevel" -#define TK_WIN_CHILD_CLASS_NAME "TkChild" - -/* - * The following variable is a translation table between X gc functions and - * Win32 raster op modes. - */ - -extern int tkpWinRopModes[]; - -/* - * The following defines are used with TkWinGetBorderPixels to get the - * extra 2 border colors from a Tk_3DBorder. - */ - -#define TK_3D_LIGHT2 TK_3D_DARK_GC+1 -#define TK_3D_DARK2 TK_3D_DARK_GC+2 - -/* - * Internal procedures used by more than one source file. - */ - -#include "tkIntPlatDecls.h" - -/* - * We need to specially add the TkWinChildProc because of the special - * prototype it has (doesn't fit into stubs schema) - */ -#ifdef BUILD_tk -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT -#endif - -EXTERN LRESULT CALLBACK TkWinChildProc _ANSI_ARGS_((HWND hwnd, UINT message, - WPARAM wParam, LPARAM lParam)); - -/* - * Special proc needed as tsd accessor function between - * tkWinX.c:GenerateXEvent and tkWinClipboard.c:UpdateClipboard - */ -EXTERN void TkWinUpdatingClipboard(int mode); - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKWININT */ - diff --git a/src/other/togl/include/tcltk/tk8.3/tkWinPort.h b/src/other/togl/include/tcltk/tk8.3/tkWinPort.h deleted file mode 100644 index 171db4bc780..00000000000 --- a/src/other/togl/include/tcltk/tk8.3/tkWinPort.h +++ /dev/null @@ -1,129 +0,0 @@ -/* - * tkWinPort.h -- - * - * This header file handles porting issues that occur because of - * differences between Windows and Unix. It should be the only - * file that contains #ifdefs to handle different flavors of OS. - * - * Copyright (c) 1995-1996 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _WINPORT -#define _WINPORT - -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Need to block out this include for building extensions with MetroWerks - * compiler for Win32. - */ - -#ifndef __MWERKS__ -#include -#endif - -#include -#include - -#ifdef _MSC_VER -# define hypot _hypot -#endif /* _MSC_VER */ - -#ifndef __GNUC__ -# define strncasecmp strnicmp -# define strcasecmp stricmp -#endif - -#define NBBY 8 - -#define OPEN_MAX 32 - -/* - * The following define causes Tk to use its internal keysym hash table - */ - -#define REDO_KEYSYM_LOOKUP - -/* - * The following macro checks to see whether there is buffered - * input data available for a stdio FILE. - */ - -#ifdef _MSC_VER -# define TK_READ_DATA_PENDING(f) ((f)->_cnt > 0) -#else /* _MSC_VER */ -# define TK_READ_DATA_PENDING(f) ((f)->level > 0) -#endif /* _MSC_VER */ - -/* - * The following stubs implement various calls that don't do anything - * under Windows. - */ - -#define TkFreeWindowId(dispPtr,w) -#define TkInitXId(dispPtr) -#define TkpCmapStressed(tkwin,colormap) (0) -#define XFlush(display) -#define XGrabServer(display) -#define XUngrabServer(display) -#define TkpSync(display) - -/* - * The following functions are implemented as macros under Windows. - */ - -#define XFree(data) {if ((data) != NULL) ckfree((char *) (data));} -#define XNoOp(display) {display->request++;} -#define XSynchronize(display, bool) {display->request++;} -#define XSync(display, bool) {display->request++;} -#define XVisualIDFromVisual(visual) (visual->visualid) - -/* - * The following Tk functions are implemented as macros under Windows. - */ - -#define TkpGetPixel(p) (((((p)->red >> 8) & 0xff) \ - | ((p)->green & 0xff00) | (((p)->blue << 8) & 0xff0000)) | 0x20000000) - -/* - * These calls implement native bitmaps which are not currently - * supported under Windows. The macros eliminate the calls. - */ - -#define TkpDefineNativeBitmaps() -#define TkpCreateNativeBitmap(display, source) None -#define TkpGetNativeAppBitmap(display, name, w, h) None - -/* - * Define timezone for gettimeofday. - */ - -struct timezone { - int tz_minuteswest; - int tz_dsttime; -}; - -#ifndef _TCLINT -#include -#endif - -#endif /* _WINPORT */ diff --git a/src/other/togl/include/tcltk/tk8.4/default.h b/src/other/togl/include/tcltk/tk8.4/default.h deleted file mode 100644 index 34197517cdc..00000000000 --- a/src/other/togl/include/tcltk/tk8.4/default.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * default.h -- - * - * This file defines the defaults for all options for all of - * the Tk widgets. - * - * Copyright (c) 1991-1994 The Regents of the University of California. - * Copyright (c) 1994 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _DEFAULT -#define _DEFAULT - -#if defined(__WIN32__) || defined(_WIN32) || \ - defined(__CYGWIN__) || defined(__MINGW32__) -# include "tkWinDefault.h" -#else -# if defined(MAC_OSX_TK) -# include "tkMacOSXDefault.h" -# elif defined(MAC_TCL) -# include "tkMacDefault.h" -# else -# include "tkUnixDefault.h" -# endif -#endif - -#endif /* _DEFAULT */ diff --git a/src/other/togl/include/tcltk/tk8.4/tclInt.h b/src/other/togl/include/tcltk/tk8.4/tclInt.h deleted file mode 100644 index c4dd789460f..00000000000 --- a/src/other/togl/include/tcltk/tk8.4/tclInt.h +++ /dev/null @@ -1,2341 +0,0 @@ -/* - * tclInt.h -- - * - * Declarations of things used internally by the Tcl interpreter. - * - * Copyright (c) 1987-1993 The Regents of the University of California. - * Copyright (c) 1993-1997 Lucent Technologies. - * Copyright (c) 1994-1998 Sun Microsystems, Inc. - * Copyright (c) 1998-1999 by Scriptics Corporation. - * Copyright (c) 2001, 2002 by Kevin B. Kenny. All rights reserved. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TCLINT -#define _TCLINT - -/* - * Common include files needed by most of the Tcl source files are - * included here, so that system-dependent personalizations for the - * include files only have to be made in once place. This results - * in a few extra includes, but greater modularity. The order of - * the three groups of #includes is important. For example, stdio.h - * is needed by tcl.h, and the _ANSI_ARGS_ declaration in tcl.h is - * needed by stdlib.h in some configurations. - */ - -#ifndef _TCL -#include "tcl.h" -#endif - -#include - -#include -#ifdef NO_LIMITS_H -# include "../compat/limits.h" -#else -# include -#endif -#ifdef NO_STDLIB_H -# include "../compat/stdlib.h" -#else -# include -#endif -#ifdef NO_STRING_H -#include "../compat/string.h" -#else -#include -#endif - -/* - * Ensure WORDS_BIGENDIAN is defined correcly: - * Needs to happen here in addition to configure to work with fat compiles on - * Darwin (where configure runs only once for multiple architectures). - */ - -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_PARAM_H -# include -#endif -#ifdef BYTE_ORDER -# ifdef BIG_ENDIAN -# if BYTE_ORDER == BIG_ENDIAN -# undef WORDS_BIGENDIAN -# define WORDS_BIGENDIAN -# endif -# endif -# ifdef LITTLE_ENDIAN -# if BYTE_ORDER == LITTLE_ENDIAN -# undef WORDS_BIGENDIAN -# endif -# endif -#endif - -/* - * Used to tag functions that are only to be visible within the module being - * built and not outside it (where this is supported by the linker). - */ - -#ifndef MODULE_SCOPE -# ifdef __cplusplus -# define MODULE_SCOPE extern "C" -# else -# define MODULE_SCOPE extern -# endif -#endif - -#undef TCL_STORAGE_CLASS -#ifdef BUILD_tcl -# define TCL_STORAGE_CLASS DLLEXPORT -#else -# ifdef USE_TCL_STUBS -# define TCL_STORAGE_CLASS -# else -# define TCL_STORAGE_CLASS DLLIMPORT -# endif -#endif - -/* - * The following procedures allow namespaces to be customized to - * support special name resolution rules for commands/variables. - * - */ - -struct Tcl_ResolvedVarInfo; - -typedef Tcl_Var (Tcl_ResolveRuntimeVarProc) _ANSI_ARGS_(( - Tcl_Interp* interp, struct Tcl_ResolvedVarInfo *vinfoPtr)); - -typedef void (Tcl_ResolveVarDeleteProc) _ANSI_ARGS_(( - struct Tcl_ResolvedVarInfo *vinfoPtr)); - -/* - * The following structure encapsulates the routines needed to resolve a - * variable reference at runtime. Any variable specific state will typically - * be appended to this structure. - */ - - -typedef struct Tcl_ResolvedVarInfo { - Tcl_ResolveRuntimeVarProc *fetchProc; - Tcl_ResolveVarDeleteProc *deleteProc; -} Tcl_ResolvedVarInfo; - - - -typedef int (Tcl_ResolveCompiledVarProc) _ANSI_ARGS_(( - Tcl_Interp* interp, CONST84 char* name, int length, - Tcl_Namespace *context, Tcl_ResolvedVarInfo **rPtr)); - -typedef int (Tcl_ResolveVarProc) _ANSI_ARGS_(( - Tcl_Interp* interp, CONST84 char* name, Tcl_Namespace *context, - int flags, Tcl_Var *rPtr)); - -typedef int (Tcl_ResolveCmdProc) _ANSI_ARGS_((Tcl_Interp* interp, - CONST84 char* name, Tcl_Namespace *context, int flags, - Tcl_Command *rPtr)); - -typedef struct Tcl_ResolverInfo { - Tcl_ResolveCmdProc *cmdResProc; /* Procedure handling command name - * resolution. */ - Tcl_ResolveVarProc *varResProc; /* Procedure handling variable name - * resolution for variables that - * can only be handled at runtime. */ - Tcl_ResolveCompiledVarProc *compiledVarResProc; - /* Procedure handling variable name - * resolution at compile time. */ -} Tcl_ResolverInfo; - -/* - *---------------------------------------------------------------- - * Data structures related to namespaces. - *---------------------------------------------------------------- - */ - -/* - * The structure below defines a namespace. - * Note: the first five fields must match exactly the fields in a - * Tcl_Namespace structure (see tcl.h). If you change one, be sure to - * change the other. - */ - -typedef struct Namespace { - char *name; /* The namespace's simple (unqualified) - * name. This contains no ::'s. The name of - * the global namespace is "" although "::" - * is an synonym. */ - char *fullName; /* The namespace's fully qualified name. - * This starts with ::. */ - ClientData clientData; /* An arbitrary value associated with this - * namespace. */ - Tcl_NamespaceDeleteProc *deleteProc; - /* Procedure invoked when deleting the - * namespace to, e.g., free clientData. */ - struct Namespace *parentPtr; /* Points to the namespace that contains - * this one. NULL if this is the global - * namespace. */ - Tcl_HashTable childTable; /* Contains any child namespaces. Indexed - * by strings; values have type - * (Namespace *). */ - long nsId; /* Unique id for the namespace. */ - Tcl_Interp *interp; /* The interpreter containing this - * namespace. */ - int flags; /* OR-ed combination of the namespace - * status flags NS_DYING and NS_DEAD - * listed below. */ - int activationCount; /* Number of "activations" or active call - * frames for this namespace that are on - * the Tcl call stack. The namespace won't - * be freed until activationCount becomes - * zero. */ - int refCount; /* Count of references by namespaceName * - * objects. The namespace can't be freed - * until refCount becomes zero. */ - Tcl_HashTable cmdTable; /* Contains all the commands currently - * registered in the namespace. Indexed by - * strings; values have type (Command *). - * Commands imported by Tcl_Import have - * Command structures that point (via an - * ImportedCmdRef structure) to the - * Command structure in the source - * namespace's command table. */ - Tcl_HashTable varTable; /* Contains all the (global) variables - * currently in this namespace. Indexed - * by strings; values have type (Var *). */ - char **exportArrayPtr; /* Points to an array of string patterns - * specifying which commands are exported. - * A pattern may include "string match" - * style wildcard characters to specify - * multiple commands; however, no namespace - * qualifiers are allowed. NULL if no - * export patterns are registered. */ - int numExportPatterns; /* Number of export patterns currently - * registered using "namespace export". */ - int maxExportPatterns; /* Mumber of export patterns for which - * space is currently allocated. */ - int cmdRefEpoch; /* Incremented if a newly added command - * shadows a command for which this - * namespace has already cached a Command * - * pointer; this causes all its cached - * Command* pointers to be invalidated. */ - int resolverEpoch; /* Incremented whenever (a) the name resolution - * rules change for this namespace or (b) a - * newly added command shadows a command that - * is compiled to bytecodes. - * This invalidates all byte codes compiled - * in the namespace, causing the code to be - * recompiled under the new rules.*/ - Tcl_ResolveCmdProc *cmdResProc; - /* If non-null, this procedure overrides - * the usual command resolution mechanism - * in Tcl. This procedure is invoked - * within Tcl_FindCommand to resolve all - * command references within the namespace. */ - Tcl_ResolveVarProc *varResProc; - /* If non-null, this procedure overrides - * the usual variable resolution mechanism - * in Tcl. This procedure is invoked - * within Tcl_FindNamespaceVar to resolve all - * variable references within the namespace - * at runtime. */ - Tcl_ResolveCompiledVarProc *compiledVarResProc; - /* If non-null, this procedure overrides - * the usual variable resolution mechanism - * in Tcl. This procedure is invoked - * within LookupCompiledLocal to resolve - * variable references within the namespace - * at compile time. */ -} Namespace; - -/* - * Flags used to represent the status of a namespace: - * - * NS_DYING - 1 means Tcl_DeleteNamespace has been called to delete the - * namespace but there are still active call frames on the Tcl - * stack that refer to the namespace. When the last call frame - * referring to it has been popped, it's variables and command - * will be destroyed and it will be marked "dead" (NS_DEAD). - * The namespace can no longer be looked up by name. - * NS_DEAD - 1 means Tcl_DeleteNamespace has been called to delete the - * namespace and no call frames still refer to it. Its - * variables and command have already been destroyed. This bit - * allows the namespace resolution code to recognize that the - * namespace is "deleted". When the last namespaceName object - * in any byte code code unit that refers to the namespace has - * been freed (i.e., when the namespace's refCount is 0), the - * namespace's storage will be freed. - * NS_KILLED 1 means that TclTeardownNamespace has already been called on - * this namespace and it should not be called again [Bug 1355942] - */ - -#define NS_DYING 0x01 -#define NS_DEAD 0x02 -#define NS_KILLED 0x04 - -/* - * Flag passed to TclGetNamespaceForQualName to have it create all namespace - * components of a namespace-qualified name that cannot be found. The new - * namespaces are created within their specified parent. Note that this - * flag's value must not conflict with the values of the flags - * TCL_GLOBAL_ONLY, TCL_NAMESPACE_ONLY, and FIND_ONLY_NS (defined in - * tclNamesp.c). - */ - -#define CREATE_NS_IF_UNKNOWN 0x800 - -/* - *---------------------------------------------------------------- - * Data structures related to variables. These are used primarily - * in tclVar.c - *---------------------------------------------------------------- - */ - -/* - * The following structure defines a variable trace, which is used to - * invoke a specific C procedure whenever certain operations are performed - * on a variable. - */ - -typedef struct VarTrace { - Tcl_VarTraceProc *traceProc;/* Procedure to call when operations given - * by flags are performed on variable. */ - ClientData clientData; /* Argument to pass to proc. */ - int flags; /* What events the trace procedure is - * interested in: OR-ed combination of - * TCL_TRACE_READS, TCL_TRACE_WRITES, - * TCL_TRACE_UNSETS and TCL_TRACE_ARRAY. */ - struct VarTrace *nextPtr; /* Next in list of traces associated with - * a particular variable. */ -} VarTrace; - -/* - * The following structure defines a command trace, which is used to - * invoke a specific C procedure whenever certain operations are performed - * on a command. - */ - -typedef struct CommandTrace { - Tcl_CommandTraceProc *traceProc;/* Procedure to call when operations given - * by flags are performed on command. */ - ClientData clientData; /* Argument to pass to proc. */ - int flags; /* What events the trace procedure is - * interested in: OR-ed combination of - * TCL_TRACE_RENAME, TCL_TRACE_DELETE. */ - struct CommandTrace *nextPtr; /* Next in list of traces associated with - * a particular command. */ - int refCount; /* Used to ensure this structure is - * not deleted too early. Keeps track - * of how many pieces of code have - * a pointer to this structure. */ -} CommandTrace; - -/* - * When a command trace is active (i.e. its associated procedure is - * executing), one of the following structures is linked into a list - * associated with the command's interpreter. The information in - * the structure is needed in order for Tcl to behave reasonably - * if traces are deleted while traces are active. - */ - -typedef struct ActiveCommandTrace { - struct Command *cmdPtr; /* Command that's being traced. */ - struct ActiveCommandTrace *nextPtr; - /* Next in list of all active command - * traces for the interpreter, or NULL - * if no more. */ - CommandTrace *nextTracePtr; /* Next trace to check after current - * trace procedure returns; if this - * trace gets deleted, must update pointer - * to avoid using free'd memory. */ - int reverseScan; /* Boolean set true when the traces - * are scanning in reverse order. */ -} ActiveCommandTrace; - -/* - * When a variable trace is active (i.e. its associated procedure is - * executing), one of the following structures is linked into a list - * associated with the variable's interpreter. The information in - * the structure is needed in order for Tcl to behave reasonably - * if traces are deleted while traces are active. - */ - -typedef struct ActiveVarTrace { - struct Var *varPtr; /* Variable that's being traced. */ - struct ActiveVarTrace *nextPtr; - /* Next in list of all active variable - * traces for the interpreter, or NULL - * if no more. */ - VarTrace *nextTracePtr; /* Next trace to check after current - * trace procedure returns; if this - * trace gets deleted, must update pointer - * to avoid using free'd memory. */ -} ActiveVarTrace; - -/* - * The following structure describes an enumerative search in progress on - * an array variable; this are invoked with options to the "array" - * command. - */ - -typedef struct ArraySearch { - int id; /* Integer id used to distinguish among - * multiple concurrent searches for the - * same array. */ - struct Var *varPtr; /* Pointer to array variable that's being - * searched. */ - Tcl_HashSearch search; /* Info kept by the hash module about - * progress through the array. */ - Tcl_HashEntry *nextEntry; /* Non-null means this is the next element - * to be enumerated (it's leftover from - * the Tcl_FirstHashEntry call or from - * an "array anymore" command). NULL - * means must call Tcl_NextHashEntry - * to get value to return. */ - struct ArraySearch *nextPtr;/* Next in list of all active searches - * for this variable, or NULL if this is - * the last one. */ -} ArraySearch; - -/* - * The structure below defines a variable, which associates a string name - * with a Tcl_Obj value. These structures are kept in procedure call frames - * (for local variables recognized by the compiler) or in the heap (for - * global variables and any variable not known to the compiler). For each - * Var structure in the heap, a hash table entry holds the variable name and - * a pointer to the Var structure. - */ - -typedef struct Var { - union { - Tcl_Obj *objPtr; /* The variable's object value. Used for - * scalar variables and array elements. */ - Tcl_HashTable *tablePtr;/* For array variables, this points to - * information about the hash table used - * to implement the associative array. - * Points to malloc-ed data. */ - struct Var *linkPtr; /* If this is a global variable being - * referred to in a procedure, or a variable - * created by "upvar", this field points to - * the referenced variable's Var struct. */ - } value; - char *name; /* NULL if the variable is in a hashtable, - * otherwise points to the variable's - * name. It is used, e.g., by TclLookupVar - * and "info locals". The storage for the - * characters of the name is not owned by - * the Var and must not be freed when - * freeing the Var. */ - Namespace *nsPtr; /* Points to the namespace that contains - * this variable or NULL if the variable is - * a local variable in a Tcl procedure. */ - Tcl_HashEntry *hPtr; /* If variable is in a hashtable, either the - * hash table entry that refers to this - * variable or NULL if the variable has been - * detached from its hash table (e.g. an - * array is deleted, but some of its - * elements are still referred to in - * upvars). NULL if the variable is not in a - * hashtable. This is used to delete an - * variable from its hashtable if it is no - * longer needed. */ - int refCount; /* Counts number of active uses of this - * variable, not including its entry in the - * call frame or the hash table: 1 for each - * additional variable whose linkPtr points - * here, 1 for each nested trace active on - * variable, and 1 if the variable is a - * namespace variable. This record can't be - * deleted until refCount becomes 0. */ - VarTrace *tracePtr; /* First in list of all traces set for this - * variable. */ - ArraySearch *searchPtr; /* First in list of all searches active - * for this variable, or NULL if none. */ - int flags; /* Miscellaneous bits of information about - * variable. See below for definitions. */ -} Var; - -/* - * Flag bits for variables. The first three (VAR_SCALAR, VAR_ARRAY, and - * VAR_LINK) are mutually exclusive and give the "type" of the variable. - * VAR_UNDEFINED is independent of the variable's type. - * - * VAR_SCALAR - 1 means this is a scalar variable and not - * an array or link. The "objPtr" field points - * to the variable's value, a Tcl object. - * VAR_ARRAY - 1 means this is an array variable rather - * than a scalar variable or link. The - * "tablePtr" field points to the array's - * hashtable for its elements. - * VAR_LINK - 1 means this Var structure contains a - * pointer to another Var structure that - * either has the real value or is itself - * another VAR_LINK pointer. Variables like - * this come about through "upvar" and "global" - * commands, or through references to variables - * in enclosing namespaces. - * VAR_UNDEFINED - 1 means that the variable is in the process - * of being deleted. An undefined variable - * logically does not exist and survives only - * while it has a trace, or if it is a global - * variable currently being used by some - * procedure. - * VAR_IN_HASHTABLE - 1 means this variable is in a hashtable and - * the Var structure is malloced. 0 if it is - * a local variable that was assigned a slot - * in a procedure frame by the compiler so the - * Var storage is part of the call frame. - * VAR_TRACE_ACTIVE - 1 means that trace processing is currently - * underway for a read or write access, so - * new read or write accesses should not cause - * trace procedures to be called and the - * variable can't be deleted. - * VAR_ARRAY_ELEMENT - 1 means that this variable is an array - * element, so it is not legal for it to be - * an array itself (the VAR_ARRAY flag had - * better not be set). - * VAR_NAMESPACE_VAR - 1 means that this variable was declared - * as a namespace variable. This flag ensures - * it persists until its namespace is - * destroyed or until the variable is unset; - * it will persist even if it has not been - * initialized and is marked undefined. - * The variable's refCount is incremented to - * reflect the "reference" from its namespace. - * - * The following additional flags are used with the CompiledLocal type - * defined below: - * - * VAR_ARGUMENT - 1 means that this variable holds a procedure - * argument. - * VAR_TEMPORARY - 1 if the local variable is an anonymous - * temporary variable. Temporaries have a NULL - * name. - * VAR_RESOLVED - 1 if name resolution has been done for this - * variable. - */ - -#define VAR_SCALAR 0x1 -#define VAR_ARRAY 0x2 -#define VAR_LINK 0x4 -#define VAR_UNDEFINED 0x8 -#define VAR_IN_HASHTABLE 0x10 -#define VAR_TRACE_ACTIVE 0x20 -#define VAR_ARRAY_ELEMENT 0x40 -#define VAR_NAMESPACE_VAR 0x80 - -#define VAR_ARGUMENT 0x100 -#define VAR_TEMPORARY 0x200 -#define VAR_RESOLVED 0x400 - -/* - * Macros to ensure that various flag bits are set properly for variables. - * The ANSI C "prototypes" for these macros are: - * - * EXTERN void TclSetVarScalar _ANSI_ARGS_((Var *varPtr)); - * EXTERN void TclSetVarArray _ANSI_ARGS_((Var *varPtr)); - * EXTERN void TclSetVarLink _ANSI_ARGS_((Var *varPtr)); - * EXTERN void TclSetVarArrayElement _ANSI_ARGS_((Var *varPtr)); - * EXTERN void TclSetVarUndefined _ANSI_ARGS_((Var *varPtr)); - * EXTERN void TclClearVarUndefined _ANSI_ARGS_((Var *varPtr)); - */ - -#define TclSetVarScalar(varPtr) \ - (varPtr)->flags = ((varPtr)->flags & ~(VAR_ARRAY|VAR_LINK)) | VAR_SCALAR - -#define TclSetVarArray(varPtr) \ - (varPtr)->flags = ((varPtr)->flags & ~(VAR_SCALAR|VAR_LINK)) | VAR_ARRAY - -#define TclSetVarLink(varPtr) \ - (varPtr)->flags = ((varPtr)->flags & ~(VAR_SCALAR|VAR_ARRAY)) | VAR_LINK - -#define TclSetVarArrayElement(varPtr) \ - (varPtr)->flags = ((varPtr)->flags & ~VAR_ARRAY) | VAR_ARRAY_ELEMENT - -#define TclSetVarUndefined(varPtr) \ - (varPtr)->flags |= VAR_UNDEFINED - -#define TclClearVarUndefined(varPtr) \ - (varPtr)->flags &= ~VAR_UNDEFINED - -/* - * Macros to read various flag bits of variables. - * The ANSI C "prototypes" for these macros are: - * - * EXTERN int TclIsVarScalar _ANSI_ARGS_((Var *varPtr)); - * EXTERN int TclIsVarLink _ANSI_ARGS_((Var *varPtr)); - * EXTERN int TclIsVarArray _ANSI_ARGS_((Var *varPtr)); - * EXTERN int TclIsVarUndefined _ANSI_ARGS_((Var *varPtr)); - * EXTERN int TclIsVarArrayElement _ANSI_ARGS_((Var *varPtr)); - * EXTERN int TclIsVarTemporary _ANSI_ARGS_((Var *varPtr)); - * EXTERN int TclIsVarArgument _ANSI_ARGS_((Var *varPtr)); - * EXTERN int TclIsVarResolved _ANSI_ARGS_((Var *varPtr)); - */ - -#define TclIsVarScalar(varPtr) \ - ((varPtr)->flags & VAR_SCALAR) - -#define TclIsVarLink(varPtr) \ - ((varPtr)->flags & VAR_LINK) - -#define TclIsVarArray(varPtr) \ - ((varPtr)->flags & VAR_ARRAY) - -#define TclIsVarUndefined(varPtr) \ - ((varPtr)->flags & VAR_UNDEFINED) - -#define TclIsVarArrayElement(varPtr) \ - ((varPtr)->flags & VAR_ARRAY_ELEMENT) - -#define TclIsVarTemporary(varPtr) \ - ((varPtr)->flags & VAR_TEMPORARY) - -#define TclIsVarArgument(varPtr) \ - ((varPtr)->flags & VAR_ARGUMENT) - -#define TclIsVarResolved(varPtr) \ - ((varPtr)->flags & VAR_RESOLVED) - -/* - *---------------------------------------------------------------- - * Data structures related to procedures. These are used primarily - * in tclProc.c, tclCompile.c, and tclExecute.c. - *---------------------------------------------------------------- - */ - -/* - * Forward declaration to prevent an error when the forward reference to - * Command is encountered in the Proc and ImportRef types declared below. - */ - -struct Command; - -/* - * The variable-length structure below describes a local variable of a - * procedure that was recognized by the compiler. These variables have a - * name, an element in the array of compiler-assigned local variables in the - * procedure's call frame, and various other items of information. If the - * local variable is a formal argument, it may also have a default value. - * The compiler can't recognize local variables whose names are - * expressions (these names are only known at runtime when the expressions - * are evaluated) or local variables that are created as a result of an - * "upvar" or "uplevel" command. These other local variables are kept - * separately in a hash table in the call frame. - */ - -typedef struct CompiledLocal { - struct CompiledLocal *nextPtr; - /* Next compiler-recognized local variable - * for this procedure, or NULL if this is - * the last local. */ - int nameLength; /* The number of characters in local - * variable's name. Used to speed up - * variable lookups. */ - int frameIndex; /* Index in the array of compiler-assigned - * variables in the procedure call frame. */ - int flags; /* Flag bits for the local variable. Same as - * the flags for the Var structure above, - * although only VAR_SCALAR, VAR_ARRAY, - * VAR_LINK, VAR_ARGUMENT, VAR_TEMPORARY, and - * VAR_RESOLVED make sense. */ - Tcl_Obj *defValuePtr; /* Pointer to the default value of an - * argument, if any. NULL if not an argument - * or, if an argument, no default value. */ - Tcl_ResolvedVarInfo *resolveInfo; - /* Customized variable resolution info - * supplied by the Tcl_ResolveCompiledVarProc - * associated with a namespace. Each variable - * is marked by a unique ClientData tag - * during compilation, and that same tag - * is used to find the variable at runtime. */ - char name[4]; /* Name of the local variable starts here. - * If the name is NULL, this will just be - * '\0'. The actual size of this field will - * be large enough to hold the name. MUST - * BE THE LAST FIELD IN THE STRUCTURE! */ -} CompiledLocal; - -/* - * The structure below defines a command procedure, which consists of a - * collection of Tcl commands plus information about arguments and other - * local variables recognized at compile time. - */ - -typedef struct Proc { - struct Interp *iPtr; /* Interpreter for which this command - * is defined. */ - int refCount; /* Reference count: 1 if still present - * in command table plus 1 for each call - * to the procedure that is currently - * active. This structure can be freed - * when refCount becomes zero. */ - struct Command *cmdPtr; /* Points to the Command structure for - * this procedure. This is used to get - * the namespace in which to execute - * the procedure. */ - Tcl_Obj *bodyPtr; /* Points to the ByteCode object for - * procedure's body command. */ - int numArgs; /* Number of formal parameters. */ - int numCompiledLocals; /* Count of local variables recognized by - * the compiler including arguments and - * temporaries. */ - CompiledLocal *firstLocalPtr; /* Pointer to first of the procedure's - * compiler-allocated local variables, or - * NULL if none. The first numArgs entries - * in this list describe the procedure's - * formal arguments. */ - CompiledLocal *lastLocalPtr; /* Pointer to the last allocated local - * variable or NULL if none. This has - * frame index (numCompiledLocals-1). */ -} Proc; - -/* - * The structure below defines a command trace. This is used to allow Tcl - * clients to find out whenever a command is about to be executed. - */ - -typedef struct Trace { - int level; /* Only trace commands at nesting level - * less than or equal to this. */ - Tcl_CmdObjTraceProc *proc; /* Procedure to call to trace command. */ - ClientData clientData; /* Arbitrary value to pass to proc. */ - struct Trace *nextPtr; /* Next in list of traces for this interp. */ - int flags; /* Flags governing the trace - see - * Tcl_CreateObjTrace for details */ - Tcl_CmdObjTraceDeleteProc* delProc; - /* Procedure to call when trace is deleted */ -} Trace; - -/* - * When an interpreter trace is active (i.e. its associated procedure - * is executing), one of the following structures is linked into a list - * associated with the interpreter. The information in the structure - * is needed in order for Tcl to behave reasonably if traces are - * deleted while traces are active. - */ - -typedef struct ActiveInterpTrace { - struct ActiveInterpTrace *nextPtr; - /* Next in list of all active command - * traces for the interpreter, or NULL - * if no more. */ - Trace *nextTracePtr; /* Next trace to check after current - * trace procedure returns; if this - * trace gets deleted, must update pointer - * to avoid using free'd memory. */ - int reverseScan; /* Boolean set true when the traces - * are scanning in reverse order. */ -} ActiveInterpTrace; - -/* - * The structure below defines an entry in the assocData hash table which - * is associated with an interpreter. The entry contains a pointer to a - * function to call when the interpreter is deleted, and a pointer to - * a user-defined piece of data. - */ - -typedef struct AssocData { - Tcl_InterpDeleteProc *proc; /* Proc to call when deleting. */ - ClientData clientData; /* Value to pass to proc. */ -} AssocData; - -/* - * The structure below defines a call frame. A call frame defines a naming - * context for a procedure call: its local naming scope (for local - * variables) and its global naming scope (a namespace, perhaps the global - * :: namespace). A call frame can also define the naming context for a - * namespace eval or namespace inscope command: the namespace in which the - * command's code should execute. The Tcl_CallFrame structures exist only - * while procedures or namespace eval/inscope's are being executed, and - * provide a kind of Tcl call stack. - * - * WARNING!! The structure definition must be kept consistent with the - * Tcl_CallFrame structure in tcl.h. If you change one, change the other. - */ - -typedef struct CallFrame { - Namespace *nsPtr; /* Points to the namespace used to resolve - * commands and global variables. */ - int isProcCallFrame; /* If nonzero, the frame was pushed to - * execute a Tcl procedure and may have - * local vars. If 0, the frame was pushed - * to execute a namespace command and var - * references are treated as references to - * namespace vars; varTablePtr and - * compiledLocals are ignored. */ - int objc; /* This and objv below describe the - * arguments for this procedure call. */ - Tcl_Obj *CONST *objv; /* Array of argument objects. */ - struct CallFrame *callerPtr; - /* Value of interp->framePtr when this - * procedure was invoked (i.e. next higher - * in stack of all active procedures). */ - struct CallFrame *callerVarPtr; - /* Value of interp->varFramePtr when this - * procedure was invoked (i.e. determines - * variable scoping within caller). Same - * as callerPtr unless an "uplevel" command - * or something equivalent was active in - * the caller). */ - int level; /* Level of this procedure, for "uplevel" - * purposes (i.e. corresponds to nesting of - * callerVarPtr's, not callerPtr's). 1 for - * outermost procedure, 0 for top-level. */ - Proc *procPtr; /* Points to the structure defining the - * called procedure. Used to get information - * such as the number of compiled local - * variables (local variables assigned - * entries ["slots"] in the compiledLocals - * array below). */ - Tcl_HashTable *varTablePtr; /* Hash table containing local variables not - * recognized by the compiler, or created at - * execution time through, e.g., upvar. - * Initially NULL and created if needed. */ - int numCompiledLocals; /* Count of local variables recognized by - * the compiler including arguments. */ - Var* compiledLocals; /* Points to the array of local variables - * recognized by the compiler. The compiler - * emits code that refers to these variables - * using an index into this array. */ -} CallFrame; - -/* - *---------------------------------------------------------------- - * Data structures and procedures related to TclHandles, which - * are a very lightweight method of preserving enough information - * to determine if an arbitrary malloc'd block has been deleted. - *---------------------------------------------------------------- - */ - -typedef VOID **TclHandle; - -/* - *---------------------------------------------------------------- - * Data structures related to expressions. These are used only in - * tclExpr.c. - *---------------------------------------------------------------- - */ - -/* - * The data structure below defines a math function (e.g. sin or hypot) - * for use in Tcl expressions. - */ - -#define MAX_MATH_ARGS 5 -typedef struct MathFunc { - int builtinFuncIndex; /* If this is a builtin math function, its - * index in the array of builtin functions. - * (tclCompilation.h lists these indices.) - * The value is -1 if this is a new function - * defined by Tcl_CreateMathFunc. The value - * is also -1 if a builtin function is - * replaced by a Tcl_CreateMathFunc call. */ - int numArgs; /* Number of arguments for function. */ - Tcl_ValueType argTypes[MAX_MATH_ARGS]; - /* Acceptable types for each argument. */ - Tcl_MathProc *proc; /* Procedure that implements this function. - * NULL if isBuiltinFunc is 1. */ - ClientData clientData; /* Additional argument to pass to the - * function when invoking it. NULL if - * isBuiltinFunc is 1. */ -} MathFunc; - -/* - * These are a thin layer over TclpThreadKeyDataGet and TclpThreadKeyDataSet - * when threads are used, or an emulation if there are no threads. These - * are really internal and Tcl clients should use Tcl_GetThreadData. - */ - -EXTERN VOID *TclThreadDataKeyGet _ANSI_ARGS_((Tcl_ThreadDataKey *keyPtr)); -EXTERN void TclThreadDataKeySet _ANSI_ARGS_((Tcl_ThreadDataKey *keyPtr, VOID *data)); - -/* - * This is a convenience macro used to initialize a thread local storage ptr. - */ -#define TCL_TSD_INIT(keyPtr) (ThreadSpecificData *)Tcl_GetThreadData((keyPtr), sizeof(ThreadSpecificData)) - - -/* - *---------------------------------------------------------------- - * Data structures related to bytecode compilation and execution. - * These are used primarily in tclCompile.c, tclExecute.c, and - * tclBasic.c. - *---------------------------------------------------------------- - */ - -/* - * Forward declaration to prevent errors when the forward references to - * Tcl_Parse and CompileEnv are encountered in the procedure type - * CompileProc declared below. - */ - -struct CompileEnv; - -/* - * The type of procedures called by the Tcl bytecode compiler to compile - * commands. Pointers to these procedures are kept in the Command structure - * describing each command. When a CompileProc returns, the interpreter's - * result is set to error information, if any. In addition, the CompileProc - * returns an integer value, which is one of the following: - * - * TCL_OK Compilation completed normally. - * TCL_ERROR Compilation failed because of an error; - * the interpreter's result describes what went wrong. - * TCL_OUT_LINE_COMPILE Compilation failed because, e.g., the command is - * too complex for effective inline compilation. The - * CompileProc believes the command is legal but - * should be compiled "out of line" by emitting code - * to invoke its command procedure at runtime. - */ - -#define TCL_OUT_LINE_COMPILE (TCL_CONTINUE + 1) - -typedef int (CompileProc) _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *compEnvPtr)); - -/* - * The type of procedure called from the compilation hook point in - * SetByteCodeFromAny. - */ - -typedef int (CompileHookProc) _ANSI_ARGS_((Tcl_Interp *interp, - struct CompileEnv *compEnvPtr, ClientData clientData)); - -/* - * The data structure defining the execution environment for ByteCode's. - * There is one ExecEnv structure per Tcl interpreter. It holds the - * evaluation stack that holds command operands and results. The stack grows - * towards increasing addresses. The "stackTop" member is cached by - * TclExecuteByteCode in a local variable: it must be set before calling - * TclExecuteByteCode and will be restored by TclExecuteByteCode before it - * returns. - */ - -typedef struct ExecEnv { - Tcl_Obj **stackPtr; /* Points to the first item in the - * evaluation stack on the heap. */ - int stackTop; /* Index of current top of stack; -1 when - * the stack is empty. */ - int stackEnd; /* Index of last usable item in stack. */ - Tcl_Obj *errorInfo; - Tcl_Obj *errorCode; -} ExecEnv; - -/* - * The definitions for the LiteralTable and LiteralEntry structures. Each - * interpreter contains a LiteralTable. It is used to reduce the storage - * needed for all the Tcl objects that hold the literals of scripts compiled - * by the interpreter. A literal's object is shared by all the ByteCodes - * that refer to the literal. Each distinct literal has one LiteralEntry - * entry in the LiteralTable. A literal table is a specialized hash table - * that is indexed by the literal's string representation, which may contain - * null characters. - * - * Note that we reduce the space needed for literals by sharing literal - * objects both within a ByteCode (each ByteCode contains a local - * LiteralTable) and across all an interpreter's ByteCodes (with the - * interpreter's global LiteralTable). - */ - -typedef struct LiteralEntry { - struct LiteralEntry *nextPtr; /* Points to next entry in this - * hash bucket or NULL if end of - * chain. */ - Tcl_Obj *objPtr; /* Points to Tcl object that - * holds the literal's bytes and - * length. */ - int refCount; /* If in an interpreter's global - * literal table, the number of - * ByteCode structures that share - * the literal object; the literal - * entry can be freed when refCount - * drops to 0. If in a local literal - * table, -1. */ -} LiteralEntry; - -typedef struct LiteralTable { - LiteralEntry **buckets; /* Pointer to bucket array. Each - * element points to first entry in - * bucket's hash chain, or NULL. */ - LiteralEntry *staticBuckets[TCL_SMALL_HASH_TABLE]; - /* Bucket array used for small - * tables to avoid mallocs and - * frees. */ - int numBuckets; /* Total number of buckets allocated - * at **buckets. */ - int numEntries; /* Total number of entries present - * in table. */ - int rebuildSize; /* Enlarge table when numEntries - * gets to be this large. */ - int mask; /* Mask value used in hashing - * function. */ -} LiteralTable; - -/* - * The following structure defines for each Tcl interpreter various - * statistics-related information about the bytecode compiler and - * interpreter's operation in that interpreter. - */ - -#ifdef TCL_COMPILE_STATS -typedef struct ByteCodeStats { - long numExecutions; /* Number of ByteCodes executed. */ - long numCompilations; /* Number of ByteCodes created. */ - long numByteCodesFreed; /* Number of ByteCodes destroyed. */ - long instructionCount[256]; /* Number of times each instruction was - * executed. */ - - double totalSrcBytes; /* Total source bytes ever compiled. */ - double totalByteCodeBytes; /* Total bytes for all ByteCodes. */ - double currentSrcBytes; /* Src bytes for all current ByteCodes. */ - double currentByteCodeBytes; /* Code bytes in all current ByteCodes. */ - - long srcCount[32]; /* Source size distribution: # of srcs of - * size [2**(n-1)..2**n), n in [0..32). */ - long byteCodeCount[32]; /* ByteCode size distribution. */ - long lifetimeCount[32]; /* ByteCode lifetime distribution (ms). */ - - double currentInstBytes; /* Instruction bytes-current ByteCodes. */ - double currentLitBytes; /* Current literal bytes. */ - double currentExceptBytes; /* Current exception table bytes. */ - double currentAuxBytes; /* Current auxiliary information bytes. */ - double currentCmdMapBytes; /* Current src<->code map bytes. */ - - long numLiteralsCreated; /* Total literal objects ever compiled. */ - double totalLitStringBytes; /* Total string bytes in all literals. */ - double currentLitStringBytes; /* String bytes in current literals. */ - long literalCount[32]; /* Distribution of literal string sizes. */ -} ByteCodeStats; -#endif /* TCL_COMPILE_STATS */ - -/* - *---------------------------------------------------------------- - * Data structures related to commands. - *---------------------------------------------------------------- - */ - -/* - * An imported command is created in an namespace when it imports a "real" - * command from another namespace. An imported command has a Command - * structure that points (via its ClientData value) to the "real" Command - * structure in the source namespace's command table. The real command - * records all the imported commands that refer to it in a list of ImportRef - * structures so that they can be deleted when the real command is deleted. */ - -typedef struct ImportRef { - struct Command *importedCmdPtr; - /* Points to the imported command created in - * an importing namespace; this command - * redirects its invocations to the "real" - * command. */ - struct ImportRef *nextPtr; /* Next element on the linked list of - * imported commands that refer to the - * "real" command. The real command deletes - * these imported commands on this list when - * it is deleted. */ -} ImportRef; - -/* - * Data structure used as the ClientData of imported commands: commands - * created in an namespace when it imports a "real" command from another - * namespace. - */ - -typedef struct ImportedCmdData { - struct Command *realCmdPtr; /* "Real" command that this imported command - * refers to. */ - struct Command *selfPtr; /* Pointer to this imported command. Needed - * only when deleting it in order to remove - * it from the real command's linked list of - * imported commands that refer to it. */ -} ImportedCmdData; - -/* - * A Command structure exists for each command in a namespace. The - * Tcl_Command opaque type actually refers to these structures. - */ - -typedef struct Command { - Tcl_HashEntry *hPtr; /* Pointer to the hash table entry that - * refers to this command. The hash table is - * either a namespace's command table or an - * interpreter's hidden command table. This - * pointer is used to get a command's name - * from its Tcl_Command handle. NULL means - * that the hash table entry has been - * removed already (this can happen if - * deleteProc causes the command to be - * deleted or recreated). */ - Namespace *nsPtr; /* Points to the namespace containing this - * command. */ - int refCount; /* 1 if in command hashtable plus 1 for each - * reference from a CmdName Tcl object - * representing a command's name in a - * ByteCode instruction sequence. This - * structure can be freed when refCount - * becomes zero. */ - int cmdEpoch; /* Incremented to invalidate any references - * that point to this command when it is - * renamed, deleted, hidden, or exposed. */ - CompileProc *compileProc; /* Procedure called to compile command. NULL - * if no compile proc exists for command. */ - Tcl_ObjCmdProc *objProc; /* Object-based command procedure. */ - ClientData objClientData; /* Arbitrary value passed to object proc. */ - Tcl_CmdProc *proc; /* String-based command procedure. */ - ClientData clientData; /* Arbitrary value passed to string proc. */ - Tcl_CmdDeleteProc *deleteProc; - /* Procedure invoked when deleting command - * to, e.g., free all client data. */ - ClientData deleteData; /* Arbitrary value passed to deleteProc. */ - int flags; /* Miscellaneous bits of information about - * command. See below for definitions. */ - ImportRef *importRefPtr; /* List of each imported Command created in - * another namespace when this command is - * imported. These imported commands - * redirect invocations back to this - * command. The list is used to remove all - * those imported commands when deleting - * this "real" command. */ - CommandTrace *tracePtr; /* First in list of all traces set for this - * command. */ -} Command; - -/* - * Flag bits for commands. - * - * CMD_IS_DELETED - Means that the command is in the process - * of being deleted (its deleteProc is - * currently executing). Other attempts to - * delete the command should be ignored. - * CMD_TRACE_ACTIVE - 1 means that trace processing is currently - * underway for a rename/delete change. - * See the two flags below for which is - * currently being processed. - * CMD_HAS_EXEC_TRACES - 1 means that this command has at least - * one execution trace (as opposed to simple - * delete/rename traces) in its tracePtr list. - * TCL_TRACE_RENAME - A rename trace is in progress. Further - * recursive renames will not be traced. - * TCL_TRACE_DELETE - A delete trace is in progress. Further - * recursive deletes will not be traced. - * (these last two flags are defined in tcl.h) - */ -#define CMD_IS_DELETED 0x1 -#define CMD_TRACE_ACTIVE 0x2 -#define CMD_HAS_EXEC_TRACES 0x4 - -/* - *---------------------------------------------------------------- - * Data structures related to name resolution procedures. - *---------------------------------------------------------------- - */ - -/* - * The interpreter keeps a linked list of name resolution schemes. - * The scheme for a namespace is consulted first, followed by the - * list of schemes in an interpreter, followed by the default - * name resolution in Tcl. Schemes are added/removed from the - * interpreter's list by calling Tcl_AddInterpResolver and - * Tcl_RemoveInterpResolver. - */ - -typedef struct ResolverScheme { - char *name; /* Name identifying this scheme. */ - Tcl_ResolveCmdProc *cmdResProc; - /* Procedure handling command name - * resolution. */ - Tcl_ResolveVarProc *varResProc; - /* Procedure handling variable name - * resolution for variables that - * can only be handled at runtime. */ - Tcl_ResolveCompiledVarProc *compiledVarResProc; - /* Procedure handling variable name - * resolution at compile time. */ - - struct ResolverScheme *nextPtr; - /* Pointer to next record in linked list. */ -} ResolverScheme; - -/* - *---------------------------------------------------------------- - * This structure defines an interpreter, which is a collection of - * commands plus other state information related to interpreting - * commands, such as variable storage. Primary responsibility for - * this data structure is in tclBasic.c, but almost every Tcl - * source file uses something in here. - *---------------------------------------------------------------- - */ - -typedef struct Interp { - - /* - * Note: the first three fields must match exactly the fields in - * a Tcl_Interp struct (see tcl.h). If you change one, be sure to - * change the other. - * - * The interpreter's result is held in both the string and the - * objResultPtr fields. These fields hold, respectively, the result's - * string or object value. The interpreter's result is always in the - * result field if that is non-empty, otherwise it is in objResultPtr. - * The two fields are kept consistent unless some C code sets - * interp->result directly. Programs should not access result and - * objResultPtr directly; instead, they should always get and set the - * result using procedures such as Tcl_SetObjResult, Tcl_GetObjResult, - * and Tcl_GetStringResult. See the SetResult man page for details. - */ - - char *result; /* If the last command returned a string - * result, this points to it. Should not be - * accessed directly; see comment above. */ - Tcl_FreeProc *freeProc; /* Zero means a string result is statically - * allocated. TCL_DYNAMIC means string - * result was allocated with ckalloc and - * should be freed with ckfree. Other values - * give address of procedure to invoke to - * free the string result. Tcl_Eval must - * free it before executing next command. */ - int errorLine; /* When TCL_ERROR is returned, this gives - * the line number in the command where the - * error occurred (1 means first line). */ - struct TclStubs *stubTable; - /* Pointer to the exported Tcl stub table. - * On previous versions of Tcl this is a - * pointer to the objResultPtr or a pointer - * to a buckets array in a hash table. We - * therefore have to do some careful checking - * before we can use this. */ - - TclHandle handle; /* Handle used to keep track of when this - * interp is deleted. */ - - Namespace *globalNsPtr; /* The interpreter's global namespace. */ - Tcl_HashTable *hiddenCmdTablePtr; - /* Hash table used by tclBasic.c to keep - * track of hidden commands on a per-interp - * basis. */ - ClientData interpInfo; /* Information used by tclInterp.c to keep - * track of master/slave interps on - * a per-interp basis. */ - Tcl_HashTable mathFuncTable;/* Contains all the math functions currently - * defined for the interpreter. Indexed by - * strings (function names); values have - * type (MathFunc *). */ - - - - /* - * Information related to procedures and variables. See tclProc.c - * and tclVar.c for usage. - */ - - int numLevels; /* Keeps track of how many nested calls to - * Tcl_Eval are in progress for this - * interpreter. It's used to delay deletion - * of the table until all Tcl_Eval - * invocations are completed. */ - int maxNestingDepth; /* If numLevels exceeds this value then Tcl - * assumes that infinite recursion has - * occurred and it generates an error. */ - CallFrame *framePtr; /* Points to top-most in stack of all nested - * procedure invocations. NULL means there - * are no active procedures. */ - CallFrame *varFramePtr; /* Points to the call frame whose variables - * are currently in use (same as framePtr - * unless an "uplevel" command is - * executing). NULL means no procedure is - * active or "uplevel 0" is executing. */ - ActiveVarTrace *activeVarTracePtr; - /* First in list of active traces for - * interp, or NULL if no active traces. */ - int returnCode; /* Completion code to return if current - * procedure exits with TCL_RETURN code. */ - char *errorInfo; /* Value to store in errorInfo if returnCode - * is TCL_ERROR. Malloc'ed, may be NULL */ - char *errorCode; /* Value to store in errorCode if returnCode - * is TCL_ERROR. Malloc'ed, may be NULL */ - - /* - * Information used by Tcl_AppendResult to keep track of partial - * results. See Tcl_AppendResult code for details. - */ - - char *appendResult; /* Storage space for results generated - * by Tcl_AppendResult. Malloc-ed. NULL - * means not yet allocated. */ - int appendAvl; /* Total amount of space available at - * partialResult. */ - int appendUsed; /* Number of non-null bytes currently - * stored at partialResult. */ - - /* - * Information about packages. Used only in tclPkg.c. - */ - - Tcl_HashTable packageTable; /* Describes all of the packages loaded - * in or available to this interpreter. - * Keys are package names, values are - * (Package *) pointers. */ - char *packageUnknown; /* Command to invoke during "package - * require" commands for packages that - * aren't described in packageTable. - * Malloc'ed, may be NULL. */ - - /* - * Miscellaneous information: - */ - - int cmdCount; /* Total number of times a command procedure - * has been called for this interpreter. */ - int evalFlags; /* Flags to control next call to Tcl_Eval. - * Normally zero, but may be set before - * calling Tcl_Eval. See below for valid - * values. */ - int termOffset; /* Offset of character just after last one - * compiled or executed by Tcl_EvalObj. */ - LiteralTable literalTable; /* Contains LiteralEntry's describing all - * Tcl objects holding literals of scripts - * compiled by the interpreter. Indexed by - * the string representations of literals. - * Used to avoid creating duplicate - * objects. */ - int compileEpoch; /* Holds the current "compilation epoch" - * for this interpreter. This is - * incremented to invalidate existing - * ByteCodes when, e.g., a command with a - * compile procedure is redefined. */ - Proc *compiledProcPtr; /* If a procedure is being compiled, a - * pointer to its Proc structure; otherwise, - * this is NULL. Set by ObjInterpProc in - * tclProc.c and used by tclCompile.c to - * process local variables appropriately. */ - ResolverScheme *resolverPtr; - /* Linked list of name resolution schemes - * added to this interpreter. Schemes - * are added/removed by calling - * Tcl_AddInterpResolvers and - * Tcl_RemoveInterpResolver. */ - Tcl_Obj *scriptFile; /* NULL means there is no nested source - * command active; otherwise this points to - * pathPtr of the file being sourced. */ - int flags; /* Various flag bits. See below. */ - long randSeed; /* Seed used for rand() function. */ - Trace *tracePtr; /* List of traces for this interpreter. */ - Tcl_HashTable *assocData; /* Hash table for associating data with - * this interpreter. Cleaned up when - * this interpreter is deleted. */ - struct ExecEnv *execEnvPtr; /* Execution environment for Tcl bytecode - * execution. Contains a pointer to the - * Tcl evaluation stack. */ - Tcl_Obj *emptyObjPtr; /* Points to an object holding an empty - * string. Returned by Tcl_ObjSetVar2 when - * variable traces change a variable in a - * gross way. */ - char resultSpace[TCL_RESULT_SIZE+1]; - /* Static space holding small results. */ - Tcl_Obj *objResultPtr; /* If the last command returned an object - * result, this points to it. Should not be - * accessed directly; see comment above. */ - Tcl_ThreadId threadId; /* ID of thread that owns the interpreter */ - - ActiveCommandTrace *activeCmdTracePtr; - /* First in list of active command traces for - * interp, or NULL if no active traces. */ - ActiveInterpTrace *activeInterpTracePtr; - /* First in list of active traces for - * interp, or NULL if no active traces. */ - - int tracesForbiddingInline; /* Count of traces (in the list headed by - * tracePtr) that forbid inline bytecode - * compilation */ - /* - * Statistical information about the bytecode compiler and interpreter's - * operation. - */ - -#ifdef TCL_COMPILE_STATS - ByteCodeStats stats; /* Holds compilation and execution - * statistics for this interpreter. */ -#endif /* TCL_COMPILE_STATS */ -} Interp; - -/* - * EvalFlag bits for Interp structures: - * - * TCL_BRACKET_TERM 1 means that the current script is terminated by - * a close bracket rather than the end of the string. - * TCL_ALLOW_EXCEPTIONS 1 means it's OK for the script to terminate with - * a code other than TCL_OK or TCL_ERROR; 0 means - * codes other than these should be turned into errors. - */ - -#define TCL_BRACKET_TERM 1 -#define TCL_ALLOW_EXCEPTIONS 4 - -/* - * Flag bits for Interp structures: - * - * DELETED: Non-zero means the interpreter has been deleted: - * don't process any more commands for it, and destroy - * the structure as soon as all nested invocations of - * Tcl_Eval are done. - * ERR_IN_PROGRESS: Non-zero means an error unwind is already in - * progress. Zero means a command proc has been - * invoked since last error occured. - * ERR_ALREADY_LOGGED: Non-zero means information has already been logged - * in $errorInfo for the current Tcl_Eval instance, - * so Tcl_Eval needn't log it (used to implement the - * "error message log" command). - * ERROR_CODE_SET: Non-zero means that Tcl_SetErrorCode has been - * called to record information for the current - * error. Zero means Tcl_Eval must clear the - * errorCode variable if an error is returned. - * EXPR_INITIALIZED: Non-zero means initialization specific to - * expressions has been carried out. - * DONT_COMPILE_CMDS_INLINE: Non-zero means that the bytecode compiler - * should not compile any commands into an inline - * sequence of instructions. This is set 1, for - * example, when command traces are requested. - * RAND_SEED_INITIALIZED: Non-zero means that the randSeed value of the - * interp has not be initialized. This is set 1 - * when we first use the rand() or srand() functions. - * SAFE_INTERP: Non zero means that the current interp is a - * safe interp (ie it has only the safe commands - * installed, less priviledge than a regular interp). - * USE_EVAL_DIRECT: Non-zero means don't use the compiler or byte-code - * interpreter; instead, have Tcl_EvalObj call - * Tcl_EvalEx. Used primarily for testing the - * new parser. - * INTERP_TRACE_IN_PROGRESS: Non-zero means that an interp trace is currently - * active; so no further trace callbacks should be - * invoked. - */ - -#define DELETED 1 -#define ERR_IN_PROGRESS 2 -#define ERR_ALREADY_LOGGED 4 -#define ERROR_CODE_SET 8 -#define EXPR_INITIALIZED 0x10 -#define DONT_COMPILE_CMDS_INLINE 0x20 -#define RAND_SEED_INITIALIZED 0x40 -#define SAFE_INTERP 0x80 -#define USE_EVAL_DIRECT 0x100 -#define INTERP_TRACE_IN_PROGRESS 0x200 - -/* - * Maximum number of levels of nesting permitted in Tcl commands (used - * to catch infinite recursion). - */ - -#define MAX_NESTING_DEPTH 1000 - -/* - * The macro below is used to modify a "char" value (e.g. by casting - * it to an unsigned character) so that it can be used safely with - * macros such as isspace. - */ - -#define UCHAR(c) ((unsigned char) (c)) - -/* - * This macro is used to determine the offset needed to safely allocate any - * data structure in memory. Given a starting offset or size, it "rounds up" - * or "aligns" the offset to the next 8-byte boundary so that any data - * structure can be placed at the resulting offset without fear of an - * alignment error. - * - * WARNING!! DO NOT USE THIS MACRO TO ALIGN POINTERS: it will produce - * the wrong result on platforms that allocate addresses that are divisible - * by 4 or 2. Only use it for offsets or sizes. - */ - -#define TCL_ALIGN(x) (((int)(x) + 7) & ~7) - -/* - * The following enum values are used to specify the runtime platform - * setting of the tclPlatform variable. - */ - -typedef enum { - TCL_PLATFORM_UNIX, /* Any Unix-like OS. */ - TCL_PLATFORM_MAC, /* MacOS. */ - TCL_PLATFORM_WINDOWS /* Any Microsoft Windows OS. */ -} TclPlatformType; - -/* - * The following enum values are used to indicate the translation - * of a Tcl channel. Declared here so that each platform can define - * TCL_PLATFORM_TRANSLATION to the native translation on that platform - */ - -typedef enum TclEolTranslation { - TCL_TRANSLATE_AUTO, /* Eol == \r, \n and \r\n. */ - TCL_TRANSLATE_CR, /* Eol == \r. */ - TCL_TRANSLATE_LF, /* Eol == \n. */ - TCL_TRANSLATE_CRLF /* Eol == \r\n. */ -} TclEolTranslation; - -/* - * Flags for TclInvoke: - * - * TCL_INVOKE_HIDDEN Invoke a hidden command; if not set, - * invokes an exposed command. - * TCL_INVOKE_NO_UNKNOWN If set, "unknown" is not invoked if - * the command to be invoked is not found. - * Only has an effect if invoking an exposed - * command, i.e. if TCL_INVOKE_HIDDEN is not - * also set. - * TCL_INVOKE_NO_TRACEBACK Does not record traceback information if - * the invoked command returns an error. Used - * if the caller plans on recording its own - * traceback information. - */ - -#define TCL_INVOKE_HIDDEN (1<<0) -#define TCL_INVOKE_NO_UNKNOWN (1<<1) -#define TCL_INVOKE_NO_TRACEBACK (1<<2) - -/* - * The structure used as the internal representation of Tcl list - * objects. This is an array of pointers to the element objects. This array - * is grown (reallocated and copied) as necessary to hold all the list's - * element pointers. The array might contain more slots than currently used - * to hold all element pointers. This is done to make append operations - * faster. - */ - -typedef struct List { - int maxElemCount; /* Total number of element array slots. */ - int elemCount; /* Current number of list elements. */ - Tcl_Obj **elements; /* Array of pointers to element objects. */ -} List; - - -/* - * The following types are used for getting and storing platform-specific - * file attributes in tclFCmd.c and the various platform-versions of - * that file. This is done to have as much common code as possible - * in the file attributes code. For more information about the callbacks, - * see TclFileAttrsCmd in tclFCmd.c. - */ - -typedef int (TclGetFileAttrProc) _ANSI_ARGS_((Tcl_Interp *interp, - int objIndex, Tcl_Obj *fileName, Tcl_Obj **attrObjPtrPtr)); -typedef int (TclSetFileAttrProc) _ANSI_ARGS_((Tcl_Interp *interp, - int objIndex, Tcl_Obj *fileName, Tcl_Obj *attrObjPtr)); - -typedef struct TclFileAttrProcs { - TclGetFileAttrProc *getProc; /* The procedure for getting attrs. */ - TclSetFileAttrProc *setProc; /* The procedure for setting attrs. */ -} TclFileAttrProcs; - -/* - * Opaque handle used in pipeline routines to encapsulate platform-dependent - * state. - */ - -typedef struct TclFile_ *TclFile; - -/* - * Opaque names for platform specific types. - */ - -typedef struct TclpTime_t_ *TclpTime_t; - -/* - * The "globParameters" argument of the function TclGlob is an - * or'ed combination of the following values: - */ - -#define TCL_GLOBMODE_NO_COMPLAIN 1 -#define TCL_GLOBMODE_JOIN 2 -#define TCL_GLOBMODE_DIR 4 -#define TCL_GLOBMODE_TAILS 8 - -/* - *---------------------------------------------------------------- - * Data structures related to obsolete filesystem hooks - *---------------------------------------------------------------- - */ - -typedef int (TclStatProc_) _ANSI_ARGS_((CONST char *path, struct stat *buf)); -typedef int (TclAccessProc_) _ANSI_ARGS_((CONST char *path, int mode)); -typedef Tcl_Channel (TclOpenFileChannelProc_) _ANSI_ARGS_((Tcl_Interp *interp, - CONST char *fileName, CONST char *modeString, - int permissions)); - - -/* - *---------------------------------------------------------------- - * Data structures related to procedures - *---------------------------------------------------------------- - */ - -typedef Tcl_CmdProc *TclCmdProcType; -typedef Tcl_ObjCmdProc *TclObjCmdProcType; - -/* - *---------------------------------------------------------------- - * Variables shared among Tcl modules but not used by the outside world. - *---------------------------------------------------------------- - */ - -extern Tcl_Time tclBlockTime; -extern int tclBlockTimeSet; -extern char * tclExecutableName; -extern char * tclNativeExecutableName; -extern char * tclDefaultEncodingDir; -extern Tcl_ChannelType tclFileChannelType; -extern char * tclMemDumpFileName; -extern TclPlatformType tclPlatform; -extern Tcl_NotifierProcs tclOriginalNotifier; - -/* - * Variables denoting the Tcl object types defined in the core. - */ - -extern Tcl_ObjType tclBooleanType; -extern Tcl_ObjType tclByteArrayType; -extern Tcl_ObjType tclByteCodeType; -extern Tcl_ObjType tclDoubleType; -extern Tcl_ObjType tclEndOffsetType; -extern Tcl_ObjType tclIntType; -extern Tcl_ObjType tclListType; -extern Tcl_ObjType tclProcBodyType; -extern Tcl_ObjType tclStringType; -extern Tcl_ObjType tclArraySearchType; -extern Tcl_ObjType tclIndexType; -extern Tcl_ObjType tclNsNameType; -extern Tcl_ObjType tclWideIntType; - -/* - * Variables denoting the hash key types defined in the core. - */ - -extern Tcl_HashKeyType tclArrayHashKeyType; -extern Tcl_HashKeyType tclOneWordHashKeyType; -extern Tcl_HashKeyType tclStringHashKeyType; -extern Tcl_HashKeyType tclObjHashKeyType; - -/* - * The head of the list of free Tcl objects, and the total number of Tcl - * objects ever allocated and freed. - */ - -extern Tcl_Obj * tclFreeObjList; - -#ifdef TCL_COMPILE_STATS -extern long tclObjsAlloced; -extern long tclObjsFreed; -#define TCL_MAX_SHARED_OBJ_STATS 5 -extern long tclObjsShared[TCL_MAX_SHARED_OBJ_STATS]; -#endif /* TCL_COMPILE_STATS */ - -/* - * Pointer to a heap-allocated string of length zero that the Tcl core uses - * as the value of an empty string representation for an object. This value - * is shared by all new objects allocated by Tcl_NewObj. - */ - -extern char * tclEmptyStringRep; -extern char tclEmptyString; - -/* - *---------------------------------------------------------------- - * Procedures shared among Tcl modules but not used by the outside - * world: - *---------------------------------------------------------------- - */ - -EXTERN int TclArraySet _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Obj *arrayNameObj, Tcl_Obj *arrayElemObj)); -EXTERN int TclCheckBadOctal _ANSI_ARGS_((Tcl_Interp *interp, - CONST char *value)); -EXTERN void TclDeleteNamespaceVars _ANSI_ARGS_((Namespace *nsPtr)); -EXTERN void TclExpandTokenArray _ANSI_ARGS_(( - Tcl_Parse *parsePtr)); -EXTERN int TclFileAttrsCmd _ANSI_ARGS_((Tcl_Interp *interp, - int objc, Tcl_Obj *CONST objv[])); -EXTERN int TclFileCopyCmd _ANSI_ARGS_((Tcl_Interp *interp, - int objc, Tcl_Obj *CONST objv[])) ; -EXTERN int TclFileDeleteCmd _ANSI_ARGS_((Tcl_Interp *interp, - int objc, Tcl_Obj *CONST objv[])); -EXTERN int TclFileMakeDirsCmd _ANSI_ARGS_((Tcl_Interp *interp, - int objc, Tcl_Obj *CONST objv[])) ; -EXTERN int TclFileRenameCmd _ANSI_ARGS_((Tcl_Interp *interp, - int objc, Tcl_Obj *CONST objv[])) ; -EXTERN void TclFinalizeAllocSubsystem _ANSI_ARGS_((void)); -EXTERN void TclFinalizeAsync _ANSI_ARGS_((void)); -EXTERN void TclFinalizeCompilation _ANSI_ARGS_((void)); -EXTERN void TclFinalizeEncodingSubsystem _ANSI_ARGS_((void)); -EXTERN void TclFinalizeEnvironment _ANSI_ARGS_((void)); -EXTERN void TclFinalizeExecution _ANSI_ARGS_((void)); -EXTERN void TclFinalizeIOSubsystem _ANSI_ARGS_((void)); -EXTERN void TclFinalizeFilesystem _ANSI_ARGS_((void)); -EXTERN void TclResetFilesystem _ANSI_ARGS_((void)); -EXTERN void TclFinalizeLoad _ANSI_ARGS_((void)); -EXTERN void TclFinalizeLock _ANSI_ARGS_((void)); -EXTERN void TclFinalizeMemorySubsystem _ANSI_ARGS_((void)); -EXTERN void TclFinalizeNotifier _ANSI_ARGS_((void)); -EXTERN void TclFinalizeObjects _ANSI_ARGS_((void)); -EXTERN void TclFinalizePreserve _ANSI_ARGS_((void)); -EXTERN void TclFinalizeSynchronization _ANSI_ARGS_((void)); -EXTERN void TclFinalizeThreadData _ANSI_ARGS_((void)); -EXTERN int TclGetEncodingFromObj _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Obj *objPtr, Tcl_Encoding *encodingPtr)); -EXTERN int TclGlob _ANSI_ARGS_((Tcl_Interp *interp, - char *pattern, Tcl_Obj *unquotedPrefix, - int globFlags, Tcl_GlobTypeData* types)); -EXTERN void TclInitAlloc _ANSI_ARGS_((void)); -EXTERN void TclInitDbCkalloc _ANSI_ARGS_((void)); -EXTERN void TclInitEncodingSubsystem _ANSI_ARGS_((void)); -EXTERN void TclInitIOSubsystem _ANSI_ARGS_((void)); -EXTERN void TclInitNamespaceSubsystem _ANSI_ARGS_((void)); -EXTERN void TclInitNotifier _ANSI_ARGS_((void)); -EXTERN void TclInitObjSubsystem _ANSI_ARGS_((void)); -EXTERN void TclInitSubsystems _ANSI_ARGS_((CONST char *argv0)); -EXTERN int TclIsLocalScalar _ANSI_ARGS_((CONST char *src, - int len)); -EXTERN int TclJoinThread _ANSI_ARGS_((Tcl_ThreadId id, - int* result)); -EXTERN Tcl_Obj * TclLindexList _ANSI_ARGS_((Tcl_Interp* interp, - Tcl_Obj* listPtr, - Tcl_Obj* argPtr )); -EXTERN Tcl_Obj * TclLindexFlat _ANSI_ARGS_((Tcl_Interp* interp, - Tcl_Obj* listPtr, - int indexCount, - Tcl_Obj *CONST indexArray[] - )); -EXTERN Tcl_Obj * TclLsetList _ANSI_ARGS_((Tcl_Interp* interp, - Tcl_Obj* listPtr, - Tcl_Obj* indexPtr, - Tcl_Obj* valuePtr - )); -EXTERN Tcl_Obj * TclLsetFlat _ANSI_ARGS_((Tcl_Interp* interp, - Tcl_Obj* listPtr, - int indexCount, - Tcl_Obj *CONST indexArray[], - Tcl_Obj* valuePtr - )); -EXTERN int TclParseBackslash _ANSI_ARGS_((CONST char *src, - int numBytes, int *readPtr, char *dst)); -EXTERN int TclParseHex _ANSI_ARGS_((CONST char *src, int numBytes, - Tcl_UniChar *resultPtr)); -EXTERN int TclParseInteger _ANSI_ARGS_((CONST char *string, - int numBytes)); -EXTERN int TclParseWhiteSpace _ANSI_ARGS_((CONST char *src, - int numBytes, Tcl_Parse *parsePtr, char *typePtr)); -EXTERN int TclpObjAccess _ANSI_ARGS_((Tcl_Obj *filename, - int mode)); -EXTERN int TclpObjLstat _ANSI_ARGS_((Tcl_Obj *pathPtr, - Tcl_StatBuf *buf)); -EXTERN int TclpCheckStackSpace _ANSI_ARGS_((void)); -EXTERN Tcl_Obj* TclpTempFileName _ANSI_ARGS_((void)); -EXTERN Tcl_Obj* TclNewFSPathObj _ANSI_ARGS_((Tcl_Obj *dirPtr, - CONST char *addStrRep, int len)); -EXTERN int TclpDeleteFile _ANSI_ARGS_((CONST char *path)); -EXTERN void TclpFinalizeCondition _ANSI_ARGS_(( - Tcl_Condition *condPtr)); -EXTERN void TclpFinalizeMutex _ANSI_ARGS_((Tcl_Mutex *mutexPtr)); -EXTERN void TclpFinalizePipes _ANSI_ARGS_((void)); -EXTERN void TclpFinalizeSockets _ANSI_ARGS_((void)); -EXTERN void TclpFinalizeThreadData _ANSI_ARGS_(( - Tcl_ThreadDataKey *keyPtr)); -EXTERN void TclpFinalizeThreadDataKey _ANSI_ARGS_(( - Tcl_ThreadDataKey *keyPtr)); -EXTERN char * TclpFindExecutable _ANSI_ARGS_(( - CONST char *argv0)); -EXTERN int TclpFindVariable _ANSI_ARGS_((CONST char *name, - int *lengthPtr)); -EXTERN int TclpInitLibraryPath _ANSI_ARGS_((CONST char *argv0)); -EXTERN void TclpInitLock _ANSI_ARGS_((void)); -EXTERN void TclpInitPlatform _ANSI_ARGS_((void)); -EXTERN void TclpInitUnlock _ANSI_ARGS_((void)); -EXTERN int TclpLoadFile _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Obj *pathPtr, - CONST char *sym1, CONST char *sym2, - Tcl_PackageInitProc **proc1Ptr, - Tcl_PackageInitProc **proc2Ptr, - ClientData *clientDataPtr, - Tcl_FSUnloadFileProc **unloadProcPtr)); -EXTERN Tcl_Obj* TclpObjListVolumes _ANSI_ARGS_((void)); -EXTERN void TclpMasterLock _ANSI_ARGS_((void)); -EXTERN void TclpMasterUnlock _ANSI_ARGS_((void)); -EXTERN int TclpMatchFiles _ANSI_ARGS_((Tcl_Interp *interp, - char *separators, Tcl_DString *dirPtr, - char *pattern, char *tail)); -EXTERN int TclpObjNormalizePath _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Obj *pathPtr, int nextCheckpoint)); -EXTERN int TclpObjCreateDirectory _ANSI_ARGS_((Tcl_Obj *pathPtr)); -EXTERN void TclpNativeJoinPath _ANSI_ARGS_((Tcl_Obj *prefix, - char *joining)); -EXTERN Tcl_Obj* TclpNativeSplitPath _ANSI_ARGS_((Tcl_Obj *pathPtr, - int *lenPtr)); -EXTERN Tcl_PathType TclpGetNativePathType _ANSI_ARGS_((Tcl_Obj *pathObjPtr, - int *driveNameLengthPtr, Tcl_Obj **driveNameRef)); -EXTERN int TclCrossFilesystemCopy _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Obj *source, Tcl_Obj *target)); -EXTERN int TclpObjDeleteFile _ANSI_ARGS_((Tcl_Obj *pathPtr)); -EXTERN int TclpObjCopyDirectory _ANSI_ARGS_((Tcl_Obj *srcPathPtr, - Tcl_Obj *destPathPtr, Tcl_Obj **errorPtr)); -EXTERN int TclpObjCopyFile _ANSI_ARGS_((Tcl_Obj *srcPathPtr, - Tcl_Obj *destPathPtr)); -EXTERN int TclpObjRemoveDirectory _ANSI_ARGS_((Tcl_Obj *pathPtr, - int recursive, Tcl_Obj **errorPtr)); -EXTERN int TclpObjRenameFile _ANSI_ARGS_((Tcl_Obj *srcPathPtr, - Tcl_Obj *destPathPtr)); -EXTERN int TclpMatchInDirectory _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Obj *resultPtr, Tcl_Obj *pathPtr, - CONST char *pattern, Tcl_GlobTypeData *types)); -EXTERN Tcl_Obj* TclpObjGetCwd _ANSI_ARGS_((Tcl_Interp *interp)); -EXTERN Tcl_Obj* TclpObjLink _ANSI_ARGS_((Tcl_Obj *pathPtr, - Tcl_Obj *toPtr, int linkType)); -EXTERN int TclpObjChdir _ANSI_ARGS_((Tcl_Obj *pathPtr)); -EXTERN Tcl_Obj* TclFileDirname _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Obj*pathPtr)); -EXTERN int TclpObjStat _ANSI_ARGS_((Tcl_Obj *pathPtr, Tcl_StatBuf *buf)); -EXTERN Tcl_Channel TclpOpenFileChannel _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Obj *pathPtr, int mode, - int permissions)); -EXTERN void TclpPanic _ANSI_ARGS_(TCL_VARARGS(CONST char *, - format)); -EXTERN char * TclpReadlink _ANSI_ARGS_((CONST char *fileName, - Tcl_DString *linkPtr)); -EXTERN void TclpReleaseFile _ANSI_ARGS_((TclFile file)); -EXTERN void TclpSetVariables _ANSI_ARGS_((Tcl_Interp *interp)); -EXTERN void TclpUnloadFile _ANSI_ARGS_((Tcl_LoadHandle loadHandle)); -EXTERN VOID * TclpThreadDataKeyGet _ANSI_ARGS_(( - Tcl_ThreadDataKey *keyPtr)); -EXTERN void TclpThreadDataKeyInit _ANSI_ARGS_(( - Tcl_ThreadDataKey *keyPtr)); -EXTERN void TclpThreadDataKeySet _ANSI_ARGS_(( - Tcl_ThreadDataKey *keyPtr, VOID *data)); -EXTERN int TclpThreadCreate _ANSI_ARGS_(( - Tcl_ThreadId *idPtr, - Tcl_ThreadCreateProc proc, - ClientData clientData, - int stackSize, int flags)); -EXTERN void TclpThreadExit _ANSI_ARGS_((int status)); -EXTERN void TclRememberCondition _ANSI_ARGS_((Tcl_Condition *mutex)); -EXTERN void TclRememberDataKey _ANSI_ARGS_((Tcl_ThreadDataKey *mutex)); -EXTERN VOID TclRememberJoinableThread _ANSI_ARGS_((Tcl_ThreadId id)); -EXTERN void TclRememberMutex _ANSI_ARGS_((Tcl_Mutex *mutex)); -EXTERN VOID TclSignalExitThread _ANSI_ARGS_((Tcl_ThreadId id, - int result)); -EXTERN void TclTransferResult _ANSI_ARGS_((Tcl_Interp *sourceInterp, - int result, Tcl_Interp *targetInterp)); -EXTERN Tcl_Obj* TclpNativeToNormalized - _ANSI_ARGS_((ClientData clientData)); -EXTERN Tcl_Obj* TclpFilesystemPathType - _ANSI_ARGS_((Tcl_Obj* pathObjPtr)); -EXTERN Tcl_PackageInitProc* TclpFindSymbol _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_LoadHandle loadHandle, CONST char *symbol)); -EXTERN int TclpDlopen _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Obj *pathPtr, - Tcl_LoadHandle *loadHandle, - Tcl_FSUnloadFileProc **unloadProcPtr)); -EXTERN int TclpUtime _ANSI_ARGS_((Tcl_Obj *pathPtr, - struct utimbuf *tval)); - -#ifdef TCL_LOAD_FROM_MEMORY -EXTERN void* TclpLoadMemoryGetBuffer _ANSI_ARGS_(( - Tcl_Interp *interp, int size)); -EXTERN int TclpLoadMemory _ANSI_ARGS_((Tcl_Interp *interp, - void *buffer, int size, int codeSize, - Tcl_LoadHandle *loadHandle, - Tcl_FSUnloadFileProc **unloadProcPtr)); -#endif - -/* - *---------------------------------------------------------------- - * Command procedures in the generic core: - *---------------------------------------------------------------- - */ - -EXTERN int Tcl_AfterObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_AppendObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ArrayObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_BinaryObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_BreakObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_CaseObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_CatchObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_CdObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ClockObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_CloseObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ConcatObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ContinueObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_EncodingObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_EofObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ErrorObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_EvalObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ExecObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ExitObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ExprObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_FblockedObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_FconfigureObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_FcopyObjCmd _ANSI_ARGS_((ClientData dummy, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_FileObjCmd _ANSI_ARGS_((ClientData dummy, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_FileEventObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_FlushObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ForObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ForeachObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_FormatObjCmd _ANSI_ARGS_((ClientData dummy, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_GetsObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_GlobalObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_GlobObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_IfObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_IncrObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_InfoObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_InterpObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_JoinObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LappendObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LindexObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LinsertObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LlengthObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ListObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LoadObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LrangeObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LreplaceObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LsearchObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LsetObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp* interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_LsortObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_NamespaceObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_OpenObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_PackageObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_PidObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_PutsObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_PwdObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ReadObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_RegexpObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_RegsubObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_RenameObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ReturnObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ScanObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_SeekObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_SetObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_SplitObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_SocketObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_SourceObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_StringObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_SubstObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_SwitchObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_TellObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_TimeObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_TraceObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_UnsetObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_UpdateObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_UplevelObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_UpvarObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_VariableObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_VwaitObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_WhileObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); - -/* - *---------------------------------------------------------------- - * Command procedures found only in the Mac version of the core: - *---------------------------------------------------------------- - */ - -#ifdef MAC_TCL -EXTERN int Tcl_EchoCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, CONST84 char **argv)); -EXTERN int Tcl_LsObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_BeepObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_MacSourceObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tcl_ResourceObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])); -#endif - -/* - *---------------------------------------------------------------- - * Compilation procedures for commands in the generic core: - *---------------------------------------------------------------- - */ - -EXTERN int TclCompileAppendCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileBreakCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileCatchCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileContinueCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileExprCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileForCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileForeachCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileIfCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileIncrCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileLappendCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileLindexCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileListCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileLlengthCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileLsetCmd _ANSI_ARGS_((Tcl_Interp* interp, - Tcl_Parse* parsePtr, struct CompileEnv* envPtr)); -EXTERN int TclCompileRegexpCmd _ANSI_ARGS_((Tcl_Interp* interp, - Tcl_Parse* parsePtr, struct CompileEnv* envPtr)); -EXTERN int TclCompileReturnCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileSetCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileStringCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); -EXTERN int TclCompileWhileCmd _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Parse *parsePtr, struct CompileEnv *envPtr)); - -/* - * Functions defined in generic/tclVar.c and currenttly exported only - * for use by the bytecode compiler and engine. Some of these could later - * be placed in the public interface. - */ - -EXTERN Var * TclLookupArrayElement _ANSI_ARGS_((Tcl_Interp *interp, - CONST char *arrayName, CONST char *elName, CONST int flags, - CONST char *msg, CONST int createPart1, - CONST int createPart2, Var *arrayPtr)); -EXTERN Var * TclObjLookupVar _ANSI_ARGS_((Tcl_Interp *interp, - Tcl_Obj *part1Ptr, CONST char *part2, int flags, - CONST char *msg, CONST int createPart1, - CONST int createPart2, Var **arrayPtrPtr)); -EXTERN Tcl_Obj *TclPtrGetVar _ANSI_ARGS_((Tcl_Interp *interp, Var *varPtr, - Var *arrayPtr, CONST char *part1, CONST char *part2, - CONST int flags)); -EXTERN Tcl_Obj *TclPtrSetVar _ANSI_ARGS_((Tcl_Interp *interp, Var *varPtr, - Var *arrayPtr, CONST char *part1, CONST char *part2, - Tcl_Obj *newValuePtr, CONST int flags)); -EXTERN Tcl_Obj *TclPtrIncrVar _ANSI_ARGS_((Tcl_Interp *interp, Var *varPtr, - Var *arrayPtr, CONST char *part1, CONST char *part2, - CONST long i, CONST int flags)); - -/* - *---------------------------------------------------------------- - * Macros used by the Tcl core to create and release Tcl objects. - * TclNewObj(objPtr) creates a new object denoting an empty string. - * TclDecrRefCount(objPtr) decrements the object's reference count, - * and frees the object if its reference count is zero. - * These macros are inline versions of Tcl_NewObj() and - * Tcl_DecrRefCount(). Notice that the names differ in not having - * a "_" after the "Tcl". Notice also that these macros reference - * their argument more than once, so you should avoid calling them - * with an expression that is expensive to compute or has - * side effects. The ANSI C "prototypes" for these macros are: - * - * EXTERN void TclNewObj _ANSI_ARGS_((Tcl_Obj *objPtr)); - * EXTERN void TclDecrRefCount _ANSI_ARGS_((Tcl_Obj *objPtr)); - * - * These macros are defined in terms of two macros that depend on - * memory allocator in use: TclAllocObjStorage, TclFreeObjStorage. - * They are defined below. - *---------------------------------------------------------------- - */ - -#ifdef TCL_COMPILE_STATS -# define TclIncrObjsAllocated() \ - tclObjsAlloced++ -# define TclIncrObjsFreed() \ - tclObjsFreed++ -#else -# define TclIncrObjsAllocated() -# define TclIncrObjsFreed() -#endif /* TCL_COMPILE_STATS */ - -#define TclNewObj(objPtr) \ - TclAllocObjStorage(objPtr); \ - TclIncrObjsAllocated(); \ - (objPtr)->refCount = 0; \ - (objPtr)->bytes = tclEmptyStringRep; \ - (objPtr)->length = 0; \ - (objPtr)->typePtr = NULL - -#define TclDecrRefCount(objPtr) \ - if (--(objPtr)->refCount <= 0) { \ - if (((objPtr)->typePtr != NULL) \ - && ((objPtr)->typePtr->freeIntRepProc != NULL)) { \ - (objPtr)->typePtr->freeIntRepProc(objPtr); \ - } \ - if (((objPtr)->bytes != NULL) \ - && ((objPtr)->bytes != tclEmptyStringRep)) { \ - ckfree((char *) (objPtr)->bytes); \ - } \ - TclFreeObjStorage(objPtr); \ - TclIncrObjsFreed(); \ - } - -#ifdef TCL_MEM_DEBUG -# define TclAllocObjStorage(objPtr) \ - (objPtr) = (Tcl_Obj *) \ - Tcl_DbCkalloc(sizeof(Tcl_Obj), __FILE__, __LINE__) - -# define TclFreeObjStorage(objPtr) \ - if ((objPtr)->refCount < -1) { \ - panic("Reference count for %lx was negative: %s line %d", \ - (objPtr), __FILE__, __LINE__); \ - } \ - ckfree((char *) (objPtr)) - -# define TclDbNewObj(objPtr, file, line) \ - (objPtr) = (Tcl_Obj *) Tcl_DbCkalloc(sizeof(Tcl_Obj), (file), (line)); \ - (objPtr)->refCount = 0; \ - (objPtr)->bytes = tclEmptyStringRep; \ - (objPtr)->length = 0; \ - (objPtr)->typePtr = NULL; \ - TclIncrObjsAllocated() - -#elif defined(PURIFY) - -/* - * The PURIFY mode is like the regular mode, but instead of doing block - * Tcl_Obj allocation and keeping a freed list for efficiency, it always - * allocates and frees a single Tcl_Obj so that tools like Purify can - * better track memory leaks - */ - -# define TclAllocObjStorage(objPtr) \ - (objPtr) = (Tcl_Obj *) Tcl_Ckalloc(sizeof(Tcl_Obj)) - -# define TclFreeObjStorage(objPtr) \ - ckfree((char *) (objPtr)) - -#elif defined(TCL_THREADS) && defined(USE_THREAD_ALLOC) - -/* - * The TCL_THREADS mode is like the regular mode but allocates Tcl_Obj's - * from per-thread caches. - */ - -EXTERN Tcl_Obj *TclThreadAllocObj _ANSI_ARGS_((void)); -EXTERN void TclThreadFreeObj _ANSI_ARGS_((Tcl_Obj *)); -EXTERN void TclFreeAllocCache _ANSI_ARGS_((void *)); -EXTERN void TclFinalizeThreadAlloc _ANSI_ARGS_((void)); -EXTERN void TclpFreeAllocMutex _ANSI_ARGS_((Tcl_Mutex* mutex)); -EXTERN void TclpFreeAllocCache _ANSI_ARGS_((void *)); - - -# define TclAllocObjStorage(objPtr) \ - (objPtr) = TclThreadAllocObj() - -# define TclFreeObjStorage(objPtr) \ - TclThreadFreeObj((objPtr)) - -#else /* not TCL_MEM_DEBUG */ - -#ifdef TCL_THREADS -/* declared in tclObj.c */ -extern Tcl_Mutex tclObjMutex; -#endif - -# define TclAllocObjStorage(objPtr) \ - Tcl_MutexLock(&tclObjMutex); \ - if (tclFreeObjList == NULL) { \ - TclAllocateFreeObjects(); \ - } \ - (objPtr) = tclFreeObjList; \ - tclFreeObjList = (Tcl_Obj *) \ - tclFreeObjList->internalRep.otherValuePtr; \ - Tcl_MutexUnlock(&tclObjMutex) - -# define TclFreeObjStorage(objPtr) \ - Tcl_MutexLock(&tclObjMutex); \ - (objPtr)->internalRep.otherValuePtr = (VOID *) tclFreeObjList; \ - tclFreeObjList = (objPtr); \ - Tcl_MutexUnlock(&tclObjMutex) - -#endif /* TCL_MEM_DEBUG */ - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to set a Tcl_Obj's string representation - * to a copy of the "len" bytes starting at "bytePtr". This code - * works even if the byte array contains NULLs as long as the length - * is correct. Because "len" is referenced multiple times, it should - * be as simple an expression as possible. The ANSI C "prototype" for - * this macro is: - * - * EXTERN void TclInitStringRep _ANSI_ARGS_((Tcl_Obj *objPtr, - * char *bytePtr, int len)); - *---------------------------------------------------------------- - */ - -#define TclInitStringRep(objPtr, bytePtr, len) \ - if ((len) == 0) { \ - (objPtr)->bytes = tclEmptyStringRep; \ - (objPtr)->length = 0; \ - } else { \ - (objPtr)->bytes = (char *) ckalloc((unsigned) ((len) + 1)); \ - memcpy((VOID *) (objPtr)->bytes, (VOID *) (bytePtr), \ - (unsigned) (len)); \ - (objPtr)->bytes[len] = '\0'; \ - (objPtr)->length = (len); \ - } - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to get the string representation's - * byte array pointer from a Tcl_Obj. This is an inline version - * of Tcl_GetString(). The macro's expression result is the string - * rep's byte pointer which might be NULL. The bytes referenced by - * this pointer must not be modified by the caller. - * The ANSI C "prototype" for this macro is: - * - * EXTERN char * TclGetString _ANSI_ARGS_((Tcl_Obj *objPtr)); - *---------------------------------------------------------------- - */ - -#define TclGetString(objPtr) \ - ((objPtr)->bytes? (objPtr)->bytes : Tcl_GetString((objPtr))) - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to get a Tcl_WideInt value out of - * a Tcl_Obj of the "wideInt" type. Different implementation on - * different platforms depending whether TCL_WIDE_INT_IS_LONG. - *---------------------------------------------------------------- - */ - -#ifdef TCL_WIDE_INT_IS_LONG -# define TclGetWide(resultVar, objPtr) \ - (resultVar) = (objPtr)->internalRep.longValue -# define TclGetLongFromWide(resultVar, objPtr) \ - (resultVar) = (objPtr)->internalRep.longValue -#else -# define TclGetWide(resultVar, objPtr) \ - (resultVar) = (objPtr)->internalRep.wideValue -# define TclGetLongFromWide(resultVar, objPtr) \ - (resultVar) = Tcl_WideAsLong((objPtr)->internalRep.wideValue) -#endif - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core get a unicode char from a utf string. - * It checks to see if we have a one-byte utf char before calling - * the real Tcl_UtfToUniChar, as this will save a lot of time for - * primarily ascii string handling. The macro's expression result - * is 1 for the 1-byte case or the result of Tcl_UtfToUniChar. - * The ANSI C "prototype" for this macro is: - * - * EXTERN int TclUtfToUniChar _ANSI_ARGS_((CONST char *string, - * Tcl_UniChar *ch)); - *---------------------------------------------------------------- - */ - -#define TclUtfToUniChar(str, chPtr) \ - ((((unsigned char) *(str)) < 0xC0) ? \ - ((*(chPtr) = (Tcl_UniChar) *(str)), 1) \ - : Tcl_UtfToUniChar(str, chPtr)) - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to compare Unicode strings. On - * big-endian systems we can use the more efficient memcmp, but - * this would not be lexically correct on little-endian systems. - * The ANSI C "prototype" for this macro is: - * - * EXTERN int TclUniCharNcmp _ANSI_ARGS_((CONST Tcl_UniChar *cs, - * CONST Tcl_UniChar *ct, unsigned long n)); - *---------------------------------------------------------------- - */ -#ifdef WORDS_BIGENDIAN -# define TclUniCharNcmp(cs,ct,n) memcmp((cs),(ct),(n)*sizeof(Tcl_UniChar)) -#else /* !WORDS_BIGENDIAN */ -# define TclUniCharNcmp Tcl_UniCharNcmp -#endif /* WORDS_BIGENDIAN */ - -#include "tclIntDecls.h" - -# undef TCL_STORAGE_CLASS -# define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TCLINT */ - diff --git a/src/other/togl/include/tcltk/tk8.4/tclIntDecls.h b/src/other/togl/include/tcltk/tk8.4/tclIntDecls.h deleted file mode 100644 index 1a371100f8e..00000000000 --- a/src/other/togl/include/tcltk/tk8.4/tclIntDecls.h +++ /dev/null @@ -1,1414 +0,0 @@ -/* - * tclIntDecls.h -- - * - * This file contains the declarations for all unsupported - * functions that are exported by the Tcl library. These - * interfaces are not guaranteed to remain the same between - * versions. Use at your own risk. - * - * Copyright (c) 1998-1999 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TCLINTDECLS -#define _TCLINTDECLS - -/* - * WARNING: This file is automatically generated by the tools/genStubs.tcl - * script. Any modifications to the function declarations below should be made - * in the generic/tclInt.decls script. - */ - -/* !BEGIN!: Do not edit below this line. */ - -/* - * Exported function declarations: - */ - -/* Slot 0 is reserved */ -/* 1 */ -EXTERN int TclAccessDeleteProc _ANSI_ARGS_(( - TclAccessProc_ * proc)); -/* 2 */ -EXTERN int TclAccessInsertProc _ANSI_ARGS_(( - TclAccessProc_ * proc)); -/* 3 */ -EXTERN void TclAllocateFreeObjects _ANSI_ARGS_((void)); -/* Slot 4 is reserved */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -/* 5 */ -EXTERN int TclCleanupChildren _ANSI_ARGS_((Tcl_Interp * interp, - int numPids, Tcl_Pid * pidPtr, - Tcl_Channel errorChan)); -#endif /* UNIX */ -#ifdef __WIN32__ -/* 5 */ -EXTERN int TclCleanupChildren _ANSI_ARGS_((Tcl_Interp * interp, - int numPids, Tcl_Pid * pidPtr, - Tcl_Channel errorChan)); -#endif /* __WIN32__ */ -/* 6 */ -EXTERN void TclCleanupCommand _ANSI_ARGS_((Command * cmdPtr)); -/* 7 */ -EXTERN int TclCopyAndCollapse _ANSI_ARGS_((int count, - CONST char * src, char * dst)); -/* 8 */ -EXTERN int TclCopyChannel _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Channel inChan, Tcl_Channel outChan, - int toRead, Tcl_Obj * cmdPtr)); -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -/* 9 */ -EXTERN int TclCreatePipeline _ANSI_ARGS_((Tcl_Interp * interp, - int argc, CONST char ** argv, - Tcl_Pid ** pidArrayPtr, TclFile * inPipePtr, - TclFile * outPipePtr, TclFile * errFilePtr)); -#endif /* UNIX */ -#ifdef __WIN32__ -/* 9 */ -EXTERN int TclCreatePipeline _ANSI_ARGS_((Tcl_Interp * interp, - int argc, CONST char ** argv, - Tcl_Pid ** pidArrayPtr, TclFile * inPipePtr, - TclFile * outPipePtr, TclFile * errFilePtr)); -#endif /* __WIN32__ */ -/* 10 */ -EXTERN int TclCreateProc _ANSI_ARGS_((Tcl_Interp * interp, - Namespace * nsPtr, CONST char * procName, - Tcl_Obj * argsPtr, Tcl_Obj * bodyPtr, - Proc ** procPtrPtr)); -/* 11 */ -EXTERN void TclDeleteCompiledLocalVars _ANSI_ARGS_(( - Interp * iPtr, CallFrame * framePtr)); -/* 12 */ -EXTERN void TclDeleteVars _ANSI_ARGS_((Interp * iPtr, - Tcl_HashTable * tablePtr)); -/* 13 */ -EXTERN int TclDoGlob _ANSI_ARGS_((Tcl_Interp * interp, - char * separators, Tcl_DString * headPtr, - char * tail, Tcl_GlobTypeData * types)); -/* 14 */ -EXTERN void TclDumpMemoryInfo _ANSI_ARGS_((FILE * outFile)); -/* Slot 15 is reserved */ -/* 16 */ -EXTERN void TclExprFloatError _ANSI_ARGS_((Tcl_Interp * interp, - double value)); -/* Slot 17 is reserved */ -/* Slot 18 is reserved */ -/* Slot 19 is reserved */ -/* Slot 20 is reserved */ -/* Slot 21 is reserved */ -/* 22 */ -EXTERN int TclFindElement _ANSI_ARGS_((Tcl_Interp * interp, - CONST char * listStr, int listLength, - CONST char ** elementPtr, - CONST char ** nextPtr, int * sizePtr, - int * bracePtr)); -/* 23 */ -EXTERN Proc * TclFindProc _ANSI_ARGS_((Interp * iPtr, - CONST char * procName)); -/* 24 */ -EXTERN int TclFormatInt _ANSI_ARGS_((char * buffer, long n)); -/* 25 */ -EXTERN void TclFreePackageInfo _ANSI_ARGS_((Interp * iPtr)); -/* Slot 26 is reserved */ -/* 27 */ -EXTERN int TclGetDate _ANSI_ARGS_((char * p, Tcl_WideInt now, - long zone, Tcl_WideInt * timePtr)); -/* 28 */ -EXTERN Tcl_Channel TclpGetDefaultStdChannel _ANSI_ARGS_((int type)); -/* Slot 29 is reserved */ -/* Slot 30 is reserved */ -/* 31 */ -EXTERN char * TclGetExtension _ANSI_ARGS_((char * name)); -/* 32 */ -EXTERN int TclGetFrame _ANSI_ARGS_((Tcl_Interp * interp, - CONST char * str, CallFrame ** framePtrPtr)); -/* 33 */ -EXTERN TclCmdProcType TclGetInterpProc _ANSI_ARGS_((void)); -/* 34 */ -EXTERN int TclGetIntForIndex _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Obj * objPtr, int endValue, - int * indexPtr)); -/* Slot 35 is reserved */ -/* 36 */ -EXTERN int TclGetLong _ANSI_ARGS_((Tcl_Interp * interp, - CONST char * str, long * longPtr)); -/* 37 */ -EXTERN int TclGetLoadedPackages _ANSI_ARGS_(( - Tcl_Interp * interp, char * targetName)); -/* 38 */ -EXTERN int TclGetNamespaceForQualName _ANSI_ARGS_(( - Tcl_Interp * interp, CONST char * qualName, - Namespace * cxtNsPtr, int flags, - Namespace ** nsPtrPtr, - Namespace ** altNsPtrPtr, - Namespace ** actualCxtPtrPtr, - CONST char ** simpleNamePtr)); -/* 39 */ -EXTERN TclObjCmdProcType TclGetObjInterpProc _ANSI_ARGS_((void)); -/* 40 */ -EXTERN int TclGetOpenMode _ANSI_ARGS_((Tcl_Interp * interp, - CONST char * str, int * seekFlagPtr)); -/* 41 */ -EXTERN Tcl_Command TclGetOriginalCommand _ANSI_ARGS_(( - Tcl_Command command)); -/* 42 */ -EXTERN char * TclpGetUserHome _ANSI_ARGS_((CONST char * name, - Tcl_DString * bufferPtr)); -/* 43 */ -EXTERN int TclGlobalInvoke _ANSI_ARGS_((Tcl_Interp * interp, - int argc, CONST84 char ** argv, int flags)); -/* 44 */ -EXTERN int TclGuessPackageName _ANSI_ARGS_(( - CONST char * fileName, Tcl_DString * bufPtr)); -/* 45 */ -EXTERN int TclHideUnsafeCommands _ANSI_ARGS_(( - Tcl_Interp * interp)); -/* 46 */ -EXTERN int TclInExit _ANSI_ARGS_((void)); -/* Slot 47 is reserved */ -/* Slot 48 is reserved */ -/* 49 */ -EXTERN Tcl_Obj * TclIncrVar2 _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Obj * part1Ptr, Tcl_Obj * part2Ptr, - long incrAmount, int part1NotParsed)); -/* 50 */ -EXTERN void TclInitCompiledLocals _ANSI_ARGS_(( - Tcl_Interp * interp, CallFrame * framePtr, - Namespace * nsPtr)); -/* 51 */ -EXTERN int TclInterpInit _ANSI_ARGS_((Tcl_Interp * interp)); -/* 52 */ -EXTERN int TclInvoke _ANSI_ARGS_((Tcl_Interp * interp, int argc, - CONST84 char ** argv, int flags)); -/* 53 */ -EXTERN int TclInvokeObjectCommand _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp * interp, - int argc, CONST84 char ** argv)); -/* 54 */ -EXTERN int TclInvokeStringCommand _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp * interp, - int objc, Tcl_Obj *CONST objv[])); -/* 55 */ -EXTERN Proc * TclIsProc _ANSI_ARGS_((Command * cmdPtr)); -/* Slot 56 is reserved */ -/* Slot 57 is reserved */ -/* 58 */ -EXTERN Var * TclLookupVar _ANSI_ARGS_((Tcl_Interp * interp, - CONST char * part1, CONST char * part2, - int flags, CONST char * msg, int createPart1, - int createPart2, Var ** arrayPtrPtr)); -/* Slot 59 is reserved */ -/* 60 */ -EXTERN int TclNeedSpace _ANSI_ARGS_((CONST char * start, - CONST char * end)); -/* 61 */ -EXTERN Tcl_Obj * TclNewProcBodyObj _ANSI_ARGS_((Proc * procPtr)); -/* 62 */ -EXTERN int TclObjCommandComplete _ANSI_ARGS_((Tcl_Obj * cmdPtr)); -/* 63 */ -EXTERN int TclObjInterpProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp * interp, int objc, - Tcl_Obj *CONST objv[])); -/* 64 */ -EXTERN int TclObjInvoke _ANSI_ARGS_((Tcl_Interp * interp, - int objc, Tcl_Obj *CONST objv[], int flags)); -/* 65 */ -EXTERN int TclObjInvokeGlobal _ANSI_ARGS_((Tcl_Interp * interp, - int objc, Tcl_Obj *CONST objv[], int flags)); -/* 66 */ -EXTERN int TclOpenFileChannelDeleteProc _ANSI_ARGS_(( - TclOpenFileChannelProc_ * proc)); -/* 67 */ -EXTERN int TclOpenFileChannelInsertProc _ANSI_ARGS_(( - TclOpenFileChannelProc_ * proc)); -/* Slot 68 is reserved */ -/* 69 */ -EXTERN char * TclpAlloc _ANSI_ARGS_((unsigned int size)); -/* Slot 70 is reserved */ -/* Slot 71 is reserved */ -/* Slot 72 is reserved */ -/* Slot 73 is reserved */ -/* 74 */ -EXTERN void TclpFree _ANSI_ARGS_((char * ptr)); -/* 75 */ -EXTERN unsigned long TclpGetClicks _ANSI_ARGS_((void)); -/* 76 */ -EXTERN unsigned long TclpGetSeconds _ANSI_ARGS_((void)); -/* 77 */ -EXTERN void TclpGetTime _ANSI_ARGS_((Tcl_Time * time)); -/* 78 */ -EXTERN int TclpGetTimeZone _ANSI_ARGS_((Tcl_WideInt time)); -/* Slot 79 is reserved */ -/* Slot 80 is reserved */ -/* 81 */ -EXTERN char * TclpRealloc _ANSI_ARGS_((char * ptr, - unsigned int size)); -/* Slot 82 is reserved */ -/* Slot 83 is reserved */ -/* Slot 84 is reserved */ -/* Slot 85 is reserved */ -/* Slot 86 is reserved */ -/* Slot 87 is reserved */ -/* 88 */ -EXTERN char * TclPrecTraceProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp * interp, CONST char * name1, - CONST char * name2, int flags)); -/* 89 */ -EXTERN int TclPreventAliasLoop _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Interp * cmdInterp, Tcl_Command cmd)); -/* Slot 90 is reserved */ -/* 91 */ -EXTERN void TclProcCleanupProc _ANSI_ARGS_((Proc * procPtr)); -/* 92 */ -EXTERN int TclProcCompileProc _ANSI_ARGS_((Tcl_Interp * interp, - Proc * procPtr, Tcl_Obj * bodyPtr, - Namespace * nsPtr, CONST char * description, - CONST char * procName)); -/* 93 */ -EXTERN void TclProcDeleteProc _ANSI_ARGS_((ClientData clientData)); -/* 94 */ -EXTERN int TclProcInterpProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp * interp, int argc, - CONST84 char ** argv)); -/* Slot 95 is reserved */ -/* 96 */ -EXTERN int TclRenameCommand _ANSI_ARGS_((Tcl_Interp * interp, - char * oldName, char * newName)); -/* 97 */ -EXTERN void TclResetShadowedCmdRefs _ANSI_ARGS_(( - Tcl_Interp * interp, Command * newCmdPtr)); -/* 98 */ -EXTERN int TclServiceIdle _ANSI_ARGS_((void)); -/* Slot 99 is reserved */ -/* Slot 100 is reserved */ -/* 101 */ -EXTERN char * TclSetPreInitScript _ANSI_ARGS_((char * string)); -/* 102 */ -EXTERN void TclSetupEnv _ANSI_ARGS_((Tcl_Interp * interp)); -/* 103 */ -EXTERN int TclSockGetPort _ANSI_ARGS_((Tcl_Interp * interp, - char * str, char * proto, int * portPtr)); -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -/* 104 */ -EXTERN int TclSockMinimumBuffers _ANSI_ARGS_((int sock, - int size)); -#endif /* UNIX */ -#ifdef __WIN32__ -/* 104 */ -EXTERN int TclSockMinimumBuffers _ANSI_ARGS_((int sock, - int size)); -#endif /* __WIN32__ */ -/* Slot 105 is reserved */ -/* 106 */ -EXTERN int TclStatDeleteProc _ANSI_ARGS_((TclStatProc_ * proc)); -/* 107 */ -EXTERN int TclStatInsertProc _ANSI_ARGS_((TclStatProc_ * proc)); -/* 108 */ -EXTERN void TclTeardownNamespace _ANSI_ARGS_((Namespace * nsPtr)); -/* 109 */ -EXTERN int TclUpdateReturnInfo _ANSI_ARGS_((Interp * iPtr)); -/* Slot 110 is reserved */ -/* 111 */ -EXTERN void Tcl_AddInterpResolvers _ANSI_ARGS_(( - Tcl_Interp * interp, CONST char * name, - Tcl_ResolveCmdProc * cmdProc, - Tcl_ResolveVarProc * varProc, - Tcl_ResolveCompiledVarProc * compiledVarProc)); -/* 112 */ -EXTERN int Tcl_AppendExportList _ANSI_ARGS_(( - Tcl_Interp * interp, Tcl_Namespace * nsPtr, - Tcl_Obj * objPtr)); -/* 113 */ -EXTERN Tcl_Namespace * Tcl_CreateNamespace _ANSI_ARGS_((Tcl_Interp * interp, - CONST char * name, ClientData clientData, - Tcl_NamespaceDeleteProc * deleteProc)); -/* 114 */ -EXTERN void Tcl_DeleteNamespace _ANSI_ARGS_(( - Tcl_Namespace * nsPtr)); -/* 115 */ -EXTERN int Tcl_Export _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Namespace * nsPtr, CONST char * pattern, - int resetListFirst)); -/* 116 */ -EXTERN Tcl_Command Tcl_FindCommand _ANSI_ARGS_((Tcl_Interp * interp, - CONST char * name, - Tcl_Namespace * contextNsPtr, int flags)); -/* 117 */ -EXTERN Tcl_Namespace * Tcl_FindNamespace _ANSI_ARGS_((Tcl_Interp * interp, - CONST char * name, - Tcl_Namespace * contextNsPtr, int flags)); -/* 118 */ -EXTERN int Tcl_GetInterpResolvers _ANSI_ARGS_(( - Tcl_Interp * interp, CONST char * name, - Tcl_ResolverInfo * resInfo)); -/* 119 */ -EXTERN int Tcl_GetNamespaceResolvers _ANSI_ARGS_(( - Tcl_Namespace * namespacePtr, - Tcl_ResolverInfo * resInfo)); -/* 120 */ -EXTERN Tcl_Var Tcl_FindNamespaceVar _ANSI_ARGS_(( - Tcl_Interp * interp, CONST char * name, - Tcl_Namespace * contextNsPtr, int flags)); -/* 121 */ -EXTERN int Tcl_ForgetImport _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Namespace * nsPtr, CONST char * pattern)); -/* 122 */ -EXTERN Tcl_Command Tcl_GetCommandFromObj _ANSI_ARGS_(( - Tcl_Interp * interp, Tcl_Obj * objPtr)); -/* 123 */ -EXTERN void Tcl_GetCommandFullName _ANSI_ARGS_(( - Tcl_Interp * interp, Tcl_Command command, - Tcl_Obj * objPtr)); -/* 124 */ -EXTERN Tcl_Namespace * Tcl_GetCurrentNamespace _ANSI_ARGS_(( - Tcl_Interp * interp)); -/* 125 */ -EXTERN Tcl_Namespace * Tcl_GetGlobalNamespace _ANSI_ARGS_(( - Tcl_Interp * interp)); -/* 126 */ -EXTERN void Tcl_GetVariableFullName _ANSI_ARGS_(( - Tcl_Interp * interp, Tcl_Var variable, - Tcl_Obj * objPtr)); -/* 127 */ -EXTERN int Tcl_Import _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Namespace * nsPtr, CONST char * pattern, - int allowOverwrite)); -/* 128 */ -EXTERN void Tcl_PopCallFrame _ANSI_ARGS_((Tcl_Interp* interp)); -/* 129 */ -EXTERN int Tcl_PushCallFrame _ANSI_ARGS_((Tcl_Interp* interp, - Tcl_CallFrame * framePtr, - Tcl_Namespace * nsPtr, int isProcCallFrame)); -/* 130 */ -EXTERN int Tcl_RemoveInterpResolvers _ANSI_ARGS_(( - Tcl_Interp * interp, CONST char * name)); -/* 131 */ -EXTERN void Tcl_SetNamespaceResolvers _ANSI_ARGS_(( - Tcl_Namespace * namespacePtr, - Tcl_ResolveCmdProc * cmdProc, - Tcl_ResolveVarProc * varProc, - Tcl_ResolveCompiledVarProc * compiledVarProc)); -/* 132 */ -EXTERN int TclpHasSockets _ANSI_ARGS_((Tcl_Interp * interp)); -/* 133 */ -EXTERN struct tm * TclpGetDate _ANSI_ARGS_((TclpTime_t time, int useGMT)); -/* 134 */ -EXTERN size_t TclpStrftime _ANSI_ARGS_((char * s, size_t maxsize, - CONST char * format, CONST struct tm * t, - int useGMT)); -/* 135 */ -EXTERN int TclpCheckStackSpace _ANSI_ARGS_((void)); -/* Slot 136 is reserved */ -/* Slot 137 is reserved */ -/* 138 */ -EXTERN CONST84_RETURN char * TclGetEnv _ANSI_ARGS_((CONST char * name, - Tcl_DString * valuePtr)); -/* Slot 139 is reserved */ -/* 140 */ -EXTERN int TclLooksLikeInt _ANSI_ARGS_((CONST char * bytes, - int length)); -/* 141 */ -EXTERN CONST84_RETURN char * TclpGetCwd _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_DString * cwdPtr)); -/* 142 */ -EXTERN int TclSetByteCodeFromAny _ANSI_ARGS_(( - Tcl_Interp * interp, Tcl_Obj * objPtr, - CompileHookProc * hookProc, - ClientData clientData)); -/* 143 */ -EXTERN int TclAddLiteralObj _ANSI_ARGS_(( - struct CompileEnv * envPtr, Tcl_Obj * objPtr, - LiteralEntry ** litPtrPtr)); -/* 144 */ -EXTERN void TclHideLiteral _ANSI_ARGS_((Tcl_Interp * interp, - struct CompileEnv * envPtr, int index)); -/* 145 */ -EXTERN struct AuxDataType * TclGetAuxDataType _ANSI_ARGS_((char * typeName)); -/* 146 */ -EXTERN TclHandle TclHandleCreate _ANSI_ARGS_((VOID * ptr)); -/* 147 */ -EXTERN void TclHandleFree _ANSI_ARGS_((TclHandle handle)); -/* 148 */ -EXTERN TclHandle TclHandlePreserve _ANSI_ARGS_((TclHandle handle)); -/* 149 */ -EXTERN void TclHandleRelease _ANSI_ARGS_((TclHandle handle)); -/* 150 */ -EXTERN int TclRegAbout _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_RegExp re)); -/* 151 */ -EXTERN void TclRegExpRangeUniChar _ANSI_ARGS_((Tcl_RegExp re, - int index, int * startPtr, int * endPtr)); -/* 152 */ -EXTERN void TclSetLibraryPath _ANSI_ARGS_((Tcl_Obj * pathPtr)); -/* 153 */ -EXTERN Tcl_Obj * TclGetLibraryPath _ANSI_ARGS_((void)); -/* Slot 154 is reserved */ -/* Slot 155 is reserved */ -/* 156 */ -EXTERN void TclRegError _ANSI_ARGS_((Tcl_Interp * interp, - CONST char * msg, int status)); -/* 157 */ -EXTERN Var * TclVarTraceExists _ANSI_ARGS_((Tcl_Interp * interp, - CONST char * varName)); -/* 158 */ -EXTERN void TclSetStartupScriptFileName _ANSI_ARGS_(( - CONST char * filename)); -/* 159 */ -EXTERN CONST84_RETURN char * TclGetStartupScriptFileName _ANSI_ARGS_((void)); -/* Slot 160 is reserved */ -/* 161 */ -EXTERN int TclChannelTransform _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Channel chan, Tcl_Obj * cmdObjPtr)); -/* 162 */ -EXTERN void TclChannelEventScriptInvoker _ANSI_ARGS_(( - ClientData clientData, int flags)); -/* 163 */ -EXTERN void * TclGetInstructionTable _ANSI_ARGS_((void)); -/* 164 */ -EXTERN void TclExpandCodeArray _ANSI_ARGS_((void * envPtr)); -/* 165 */ -EXTERN void TclpSetInitialEncodings _ANSI_ARGS_((void)); -/* 166 */ -EXTERN int TclListObjSetElement _ANSI_ARGS_(( - Tcl_Interp * interp, Tcl_Obj * listPtr, - int index, Tcl_Obj * valuePtr)); -/* 167 */ -EXTERN void TclSetStartupScriptPath _ANSI_ARGS_(( - Tcl_Obj * pathPtr)); -/* 168 */ -EXTERN Tcl_Obj * TclGetStartupScriptPath _ANSI_ARGS_((void)); -/* 169 */ -EXTERN int TclpUtfNcmp2 _ANSI_ARGS_((CONST char * s1, - CONST char * s2, unsigned long n)); -/* 170 */ -EXTERN int TclCheckInterpTraces _ANSI_ARGS_(( - Tcl_Interp * interp, CONST char * command, - int numChars, Command * cmdPtr, int result, - int traceFlags, int objc, - Tcl_Obj *CONST objv[])); -/* 171 */ -EXTERN int TclCheckExecutionTraces _ANSI_ARGS_(( - Tcl_Interp * interp, CONST char * command, - int numChars, Command * cmdPtr, int result, - int traceFlags, int objc, - Tcl_Obj *CONST objv[])); -/* 172 */ -EXTERN int TclInThreadExit _ANSI_ARGS_((void)); -/* 173 */ -EXTERN int TclUniCharMatch _ANSI_ARGS_(( - CONST Tcl_UniChar * string, int strLen, - CONST Tcl_UniChar * pattern, int ptnLen, - int nocase)); -/* Slot 174 is reserved */ -/* Slot 175 is reserved */ -/* Slot 176 is reserved */ -/* Slot 177 is reserved */ -/* Slot 178 is reserved */ -/* Slot 179 is reserved */ -/* Slot 180 is reserved */ -/* Slot 181 is reserved */ -/* 182 */ -EXTERN struct tm * TclpLocaltime _ANSI_ARGS_((CONST TclpTime_t clock)); -/* 183 */ -EXTERN struct tm * TclpGmtime _ANSI_ARGS_((CONST TclpTime_t clock)); -/* Slot 184 is reserved */ -/* Slot 185 is reserved */ -/* Slot 186 is reserved */ -/* Slot 187 is reserved */ -/* Slot 188 is reserved */ -/* Slot 189 is reserved */ -/* Slot 190 is reserved */ -/* Slot 191 is reserved */ -/* Slot 192 is reserved */ -/* Slot 193 is reserved */ -/* Slot 194 is reserved */ -/* Slot 195 is reserved */ -/* Slot 196 is reserved */ -/* Slot 197 is reserved */ -/* Slot 198 is reserved */ -/* 199 */ -EXTERN int TclMatchIsTrivial _ANSI_ARGS_((CONST char * pattern)); - -typedef struct TclIntStubs { - int magic; - struct TclIntStubHooks *hooks; - - void *reserved0; - int (*tclAccessDeleteProc) _ANSI_ARGS_((TclAccessProc_ * proc)); /* 1 */ - int (*tclAccessInsertProc) _ANSI_ARGS_((TclAccessProc_ * proc)); /* 2 */ - void (*tclAllocateFreeObjects) _ANSI_ARGS_((void)); /* 3 */ - void *reserved4; -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - int (*tclCleanupChildren) _ANSI_ARGS_((Tcl_Interp * interp, int numPids, Tcl_Pid * pidPtr, Tcl_Channel errorChan)); /* 5 */ -#endif /* UNIX */ -#ifdef __WIN32__ - int (*tclCleanupChildren) _ANSI_ARGS_((Tcl_Interp * interp, int numPids, Tcl_Pid * pidPtr, Tcl_Channel errorChan)); /* 5 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void *reserved5; -#endif /* MAC_TCL */ - void (*tclCleanupCommand) _ANSI_ARGS_((Command * cmdPtr)); /* 6 */ - int (*tclCopyAndCollapse) _ANSI_ARGS_((int count, CONST char * src, char * dst)); /* 7 */ - int (*tclCopyChannel) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Channel inChan, Tcl_Channel outChan, int toRead, Tcl_Obj * cmdPtr)); /* 8 */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - int (*tclCreatePipeline) _ANSI_ARGS_((Tcl_Interp * interp, int argc, CONST char ** argv, Tcl_Pid ** pidArrayPtr, TclFile * inPipePtr, TclFile * outPipePtr, TclFile * errFilePtr)); /* 9 */ -#endif /* UNIX */ -#ifdef __WIN32__ - int (*tclCreatePipeline) _ANSI_ARGS_((Tcl_Interp * interp, int argc, CONST char ** argv, Tcl_Pid ** pidArrayPtr, TclFile * inPipePtr, TclFile * outPipePtr, TclFile * errFilePtr)); /* 9 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void *reserved9; -#endif /* MAC_TCL */ - int (*tclCreateProc) _ANSI_ARGS_((Tcl_Interp * interp, Namespace * nsPtr, CONST char * procName, Tcl_Obj * argsPtr, Tcl_Obj * bodyPtr, Proc ** procPtrPtr)); /* 10 */ - void (*tclDeleteCompiledLocalVars) _ANSI_ARGS_((Interp * iPtr, CallFrame * framePtr)); /* 11 */ - void (*tclDeleteVars) _ANSI_ARGS_((Interp * iPtr, Tcl_HashTable * tablePtr)); /* 12 */ - int (*tclDoGlob) _ANSI_ARGS_((Tcl_Interp * interp, char * separators, Tcl_DString * headPtr, char * tail, Tcl_GlobTypeData * types)); /* 13 */ - void (*tclDumpMemoryInfo) _ANSI_ARGS_((FILE * outFile)); /* 14 */ - void *reserved15; - void (*tclExprFloatError) _ANSI_ARGS_((Tcl_Interp * interp, double value)); /* 16 */ - void *reserved17; - void *reserved18; - void *reserved19; - void *reserved20; - void *reserved21; - int (*tclFindElement) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * listStr, int listLength, CONST char ** elementPtr, CONST char ** nextPtr, int * sizePtr, int * bracePtr)); /* 22 */ - Proc * (*tclFindProc) _ANSI_ARGS_((Interp * iPtr, CONST char * procName)); /* 23 */ - int (*tclFormatInt) _ANSI_ARGS_((char * buffer, long n)); /* 24 */ - void (*tclFreePackageInfo) _ANSI_ARGS_((Interp * iPtr)); /* 25 */ - void *reserved26; - int (*tclGetDate) _ANSI_ARGS_((char * p, Tcl_WideInt now, long zone, Tcl_WideInt * timePtr)); /* 27 */ - Tcl_Channel (*tclpGetDefaultStdChannel) _ANSI_ARGS_((int type)); /* 28 */ - void *reserved29; - void *reserved30; - char * (*tclGetExtension) _ANSI_ARGS_((char * name)); /* 31 */ - int (*tclGetFrame) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * str, CallFrame ** framePtrPtr)); /* 32 */ - TclCmdProcType (*tclGetInterpProc) _ANSI_ARGS_((void)); /* 33 */ - int (*tclGetIntForIndex) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * objPtr, int endValue, int * indexPtr)); /* 34 */ - void *reserved35; - int (*tclGetLong) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * str, long * longPtr)); /* 36 */ - int (*tclGetLoadedPackages) _ANSI_ARGS_((Tcl_Interp * interp, char * targetName)); /* 37 */ - int (*tclGetNamespaceForQualName) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * qualName, Namespace * cxtNsPtr, int flags, Namespace ** nsPtrPtr, Namespace ** altNsPtrPtr, Namespace ** actualCxtPtrPtr, CONST char ** simpleNamePtr)); /* 38 */ - TclObjCmdProcType (*tclGetObjInterpProc) _ANSI_ARGS_((void)); /* 39 */ - int (*tclGetOpenMode) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * str, int * seekFlagPtr)); /* 40 */ - Tcl_Command (*tclGetOriginalCommand) _ANSI_ARGS_((Tcl_Command command)); /* 41 */ - char * (*tclpGetUserHome) _ANSI_ARGS_((CONST char * name, Tcl_DString * bufferPtr)); /* 42 */ - int (*tclGlobalInvoke) _ANSI_ARGS_((Tcl_Interp * interp, int argc, CONST84 char ** argv, int flags)); /* 43 */ - int (*tclGuessPackageName) _ANSI_ARGS_((CONST char * fileName, Tcl_DString * bufPtr)); /* 44 */ - int (*tclHideUnsafeCommands) _ANSI_ARGS_((Tcl_Interp * interp)); /* 45 */ - int (*tclInExit) _ANSI_ARGS_((void)); /* 46 */ - void *reserved47; - void *reserved48; - Tcl_Obj * (*tclIncrVar2) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * part1Ptr, Tcl_Obj * part2Ptr, long incrAmount, int part1NotParsed)); /* 49 */ - void (*tclInitCompiledLocals) _ANSI_ARGS_((Tcl_Interp * interp, CallFrame * framePtr, Namespace * nsPtr)); /* 50 */ - int (*tclInterpInit) _ANSI_ARGS_((Tcl_Interp * interp)); /* 51 */ - int (*tclInvoke) _ANSI_ARGS_((Tcl_Interp * interp, int argc, CONST84 char ** argv, int flags)); /* 52 */ - int (*tclInvokeObjectCommand) _ANSI_ARGS_((ClientData clientData, Tcl_Interp * interp, int argc, CONST84 char ** argv)); /* 53 */ - int (*tclInvokeStringCommand) _ANSI_ARGS_((ClientData clientData, Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[])); /* 54 */ - Proc * (*tclIsProc) _ANSI_ARGS_((Command * cmdPtr)); /* 55 */ - void *reserved56; - void *reserved57; - Var * (*tclLookupVar) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * part1, CONST char * part2, int flags, CONST char * msg, int createPart1, int createPart2, Var ** arrayPtrPtr)); /* 58 */ - void *reserved59; - int (*tclNeedSpace) _ANSI_ARGS_((CONST char * start, CONST char * end)); /* 60 */ - Tcl_Obj * (*tclNewProcBodyObj) _ANSI_ARGS_((Proc * procPtr)); /* 61 */ - int (*tclObjCommandComplete) _ANSI_ARGS_((Tcl_Obj * cmdPtr)); /* 62 */ - int (*tclObjInterpProc) _ANSI_ARGS_((ClientData clientData, Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[])); /* 63 */ - int (*tclObjInvoke) _ANSI_ARGS_((Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[], int flags)); /* 64 */ - int (*tclObjInvokeGlobal) _ANSI_ARGS_((Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[], int flags)); /* 65 */ - int (*tclOpenFileChannelDeleteProc) _ANSI_ARGS_((TclOpenFileChannelProc_ * proc)); /* 66 */ - int (*tclOpenFileChannelInsertProc) _ANSI_ARGS_((TclOpenFileChannelProc_ * proc)); /* 67 */ - void *reserved68; - char * (*tclpAlloc) _ANSI_ARGS_((unsigned int size)); /* 69 */ - void *reserved70; - void *reserved71; - void *reserved72; - void *reserved73; - void (*tclpFree) _ANSI_ARGS_((char * ptr)); /* 74 */ - unsigned long (*tclpGetClicks) _ANSI_ARGS_((void)); /* 75 */ - unsigned long (*tclpGetSeconds) _ANSI_ARGS_((void)); /* 76 */ - void (*tclpGetTime) _ANSI_ARGS_((Tcl_Time * time)); /* 77 */ - int (*tclpGetTimeZone) _ANSI_ARGS_((Tcl_WideInt time)); /* 78 */ - void *reserved79; - void *reserved80; - char * (*tclpRealloc) _ANSI_ARGS_((char * ptr, unsigned int size)); /* 81 */ - void *reserved82; - void *reserved83; - void *reserved84; - void *reserved85; - void *reserved86; - void *reserved87; - char * (*tclPrecTraceProc) _ANSI_ARGS_((ClientData clientData, Tcl_Interp * interp, CONST char * name1, CONST char * name2, int flags)); /* 88 */ - int (*tclPreventAliasLoop) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Interp * cmdInterp, Tcl_Command cmd)); /* 89 */ - void *reserved90; - void (*tclProcCleanupProc) _ANSI_ARGS_((Proc * procPtr)); /* 91 */ - int (*tclProcCompileProc) _ANSI_ARGS_((Tcl_Interp * interp, Proc * procPtr, Tcl_Obj * bodyPtr, Namespace * nsPtr, CONST char * description, CONST char * procName)); /* 92 */ - void (*tclProcDeleteProc) _ANSI_ARGS_((ClientData clientData)); /* 93 */ - int (*tclProcInterpProc) _ANSI_ARGS_((ClientData clientData, Tcl_Interp * interp, int argc, CONST84 char ** argv)); /* 94 */ - void *reserved95; - int (*tclRenameCommand) _ANSI_ARGS_((Tcl_Interp * interp, char * oldName, char * newName)); /* 96 */ - void (*tclResetShadowedCmdRefs) _ANSI_ARGS_((Tcl_Interp * interp, Command * newCmdPtr)); /* 97 */ - int (*tclServiceIdle) _ANSI_ARGS_((void)); /* 98 */ - void *reserved99; - void *reserved100; - char * (*tclSetPreInitScript) _ANSI_ARGS_((char * string)); /* 101 */ - void (*tclSetupEnv) _ANSI_ARGS_((Tcl_Interp * interp)); /* 102 */ - int (*tclSockGetPort) _ANSI_ARGS_((Tcl_Interp * interp, char * str, char * proto, int * portPtr)); /* 103 */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - int (*tclSockMinimumBuffers) _ANSI_ARGS_((int sock, int size)); /* 104 */ -#endif /* UNIX */ -#ifdef __WIN32__ - int (*tclSockMinimumBuffers) _ANSI_ARGS_((int sock, int size)); /* 104 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void *reserved104; -#endif /* MAC_TCL */ - void *reserved105; - int (*tclStatDeleteProc) _ANSI_ARGS_((TclStatProc_ * proc)); /* 106 */ - int (*tclStatInsertProc) _ANSI_ARGS_((TclStatProc_ * proc)); /* 107 */ - void (*tclTeardownNamespace) _ANSI_ARGS_((Namespace * nsPtr)); /* 108 */ - int (*tclUpdateReturnInfo) _ANSI_ARGS_((Interp * iPtr)); /* 109 */ - void *reserved110; - void (*tcl_AddInterpResolvers) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * name, Tcl_ResolveCmdProc * cmdProc, Tcl_ResolveVarProc * varProc, Tcl_ResolveCompiledVarProc * compiledVarProc)); /* 111 */ - int (*tcl_AppendExportList) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Namespace * nsPtr, Tcl_Obj * objPtr)); /* 112 */ - Tcl_Namespace * (*tcl_CreateNamespace) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * name, ClientData clientData, Tcl_NamespaceDeleteProc * deleteProc)); /* 113 */ - void (*tcl_DeleteNamespace) _ANSI_ARGS_((Tcl_Namespace * nsPtr)); /* 114 */ - int (*tcl_Export) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Namespace * nsPtr, CONST char * pattern, int resetListFirst)); /* 115 */ - Tcl_Command (*tcl_FindCommand) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * name, Tcl_Namespace * contextNsPtr, int flags)); /* 116 */ - Tcl_Namespace * (*tcl_FindNamespace) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * name, Tcl_Namespace * contextNsPtr, int flags)); /* 117 */ - int (*tcl_GetInterpResolvers) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * name, Tcl_ResolverInfo * resInfo)); /* 118 */ - int (*tcl_GetNamespaceResolvers) _ANSI_ARGS_((Tcl_Namespace * namespacePtr, Tcl_ResolverInfo * resInfo)); /* 119 */ - Tcl_Var (*tcl_FindNamespaceVar) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * name, Tcl_Namespace * contextNsPtr, int flags)); /* 120 */ - int (*tcl_ForgetImport) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Namespace * nsPtr, CONST char * pattern)); /* 121 */ - Tcl_Command (*tcl_GetCommandFromObj) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * objPtr)); /* 122 */ - void (*tcl_GetCommandFullName) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Command command, Tcl_Obj * objPtr)); /* 123 */ - Tcl_Namespace * (*tcl_GetCurrentNamespace) _ANSI_ARGS_((Tcl_Interp * interp)); /* 124 */ - Tcl_Namespace * (*tcl_GetGlobalNamespace) _ANSI_ARGS_((Tcl_Interp * interp)); /* 125 */ - void (*tcl_GetVariableFullName) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Var variable, Tcl_Obj * objPtr)); /* 126 */ - int (*tcl_Import) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Namespace * nsPtr, CONST char * pattern, int allowOverwrite)); /* 127 */ - void (*tcl_PopCallFrame) _ANSI_ARGS_((Tcl_Interp* interp)); /* 128 */ - int (*tcl_PushCallFrame) _ANSI_ARGS_((Tcl_Interp* interp, Tcl_CallFrame * framePtr, Tcl_Namespace * nsPtr, int isProcCallFrame)); /* 129 */ - int (*tcl_RemoveInterpResolvers) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * name)); /* 130 */ - void (*tcl_SetNamespaceResolvers) _ANSI_ARGS_((Tcl_Namespace * namespacePtr, Tcl_ResolveCmdProc * cmdProc, Tcl_ResolveVarProc * varProc, Tcl_ResolveCompiledVarProc * compiledVarProc)); /* 131 */ - int (*tclpHasSockets) _ANSI_ARGS_((Tcl_Interp * interp)); /* 132 */ - struct tm * (*tclpGetDate) _ANSI_ARGS_((TclpTime_t time, int useGMT)); /* 133 */ - size_t (*tclpStrftime) _ANSI_ARGS_((char * s, size_t maxsize, CONST char * format, CONST struct tm * t, int useGMT)); /* 134 */ - int (*tclpCheckStackSpace) _ANSI_ARGS_((void)); /* 135 */ - void *reserved136; - void *reserved137; - CONST84_RETURN char * (*tclGetEnv) _ANSI_ARGS_((CONST char * name, Tcl_DString * valuePtr)); /* 138 */ - void *reserved139; - int (*tclLooksLikeInt) _ANSI_ARGS_((CONST char * bytes, int length)); /* 140 */ - CONST84_RETURN char * (*tclpGetCwd) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_DString * cwdPtr)); /* 141 */ - int (*tclSetByteCodeFromAny) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * objPtr, CompileHookProc * hookProc, ClientData clientData)); /* 142 */ - int (*tclAddLiteralObj) _ANSI_ARGS_((struct CompileEnv * envPtr, Tcl_Obj * objPtr, LiteralEntry ** litPtrPtr)); /* 143 */ - void (*tclHideLiteral) _ANSI_ARGS_((Tcl_Interp * interp, struct CompileEnv * envPtr, int index)); /* 144 */ - struct AuxDataType * (*tclGetAuxDataType) _ANSI_ARGS_((char * typeName)); /* 145 */ - TclHandle (*tclHandleCreate) _ANSI_ARGS_((VOID * ptr)); /* 146 */ - void (*tclHandleFree) _ANSI_ARGS_((TclHandle handle)); /* 147 */ - TclHandle (*tclHandlePreserve) _ANSI_ARGS_((TclHandle handle)); /* 148 */ - void (*tclHandleRelease) _ANSI_ARGS_((TclHandle handle)); /* 149 */ - int (*tclRegAbout) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_RegExp re)); /* 150 */ - void (*tclRegExpRangeUniChar) _ANSI_ARGS_((Tcl_RegExp re, int index, int * startPtr, int * endPtr)); /* 151 */ - void (*tclSetLibraryPath) _ANSI_ARGS_((Tcl_Obj * pathPtr)); /* 152 */ - Tcl_Obj * (*tclGetLibraryPath) _ANSI_ARGS_((void)); /* 153 */ - void *reserved154; - void *reserved155; - void (*tclRegError) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * msg, int status)); /* 156 */ - Var * (*tclVarTraceExists) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * varName)); /* 157 */ - void (*tclSetStartupScriptFileName) _ANSI_ARGS_((CONST char * filename)); /* 158 */ - CONST84_RETURN char * (*tclGetStartupScriptFileName) _ANSI_ARGS_((void)); /* 159 */ - void *reserved160; - int (*tclChannelTransform) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Channel chan, Tcl_Obj * cmdObjPtr)); /* 161 */ - void (*tclChannelEventScriptInvoker) _ANSI_ARGS_((ClientData clientData, int flags)); /* 162 */ - void * (*tclGetInstructionTable) _ANSI_ARGS_((void)); /* 163 */ - void (*tclExpandCodeArray) _ANSI_ARGS_((void * envPtr)); /* 164 */ - void (*tclpSetInitialEncodings) _ANSI_ARGS_((void)); /* 165 */ - int (*tclListObjSetElement) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * listPtr, int index, Tcl_Obj * valuePtr)); /* 166 */ - void (*tclSetStartupScriptPath) _ANSI_ARGS_((Tcl_Obj * pathPtr)); /* 167 */ - Tcl_Obj * (*tclGetStartupScriptPath) _ANSI_ARGS_((void)); /* 168 */ - int (*tclpUtfNcmp2) _ANSI_ARGS_((CONST char * s1, CONST char * s2, unsigned long n)); /* 169 */ - int (*tclCheckInterpTraces) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * command, int numChars, Command * cmdPtr, int result, int traceFlags, int objc, Tcl_Obj *CONST objv[])); /* 170 */ - int (*tclCheckExecutionTraces) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * command, int numChars, Command * cmdPtr, int result, int traceFlags, int objc, Tcl_Obj *CONST objv[])); /* 171 */ - int (*tclInThreadExit) _ANSI_ARGS_((void)); /* 172 */ - int (*tclUniCharMatch) _ANSI_ARGS_((CONST Tcl_UniChar * string, int strLen, CONST Tcl_UniChar * pattern, int ptnLen, int nocase)); /* 173 */ - void *reserved174; - void *reserved175; - void *reserved176; - void *reserved177; - void *reserved178; - void *reserved179; - void *reserved180; - void *reserved181; - struct tm * (*tclpLocaltime) _ANSI_ARGS_((CONST TclpTime_t clock)); /* 182 */ - struct tm * (*tclpGmtime) _ANSI_ARGS_((CONST TclpTime_t clock)); /* 183 */ - void *reserved184; - void *reserved185; - void *reserved186; - void *reserved187; - void *reserved188; - void *reserved189; - void *reserved190; - void *reserved191; - void *reserved192; - void *reserved193; - void *reserved194; - void *reserved195; - void *reserved196; - void *reserved197; - void *reserved198; - int (*tclMatchIsTrivial) _ANSI_ARGS_((CONST char * pattern)); /* 199 */ -} TclIntStubs; - -#ifdef __cplusplus -extern "C" { -#endif -extern TclIntStubs *tclIntStubsPtr; -#ifdef __cplusplus -} -#endif - -#if defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) - -/* - * Inline function declarations: - */ - -/* Slot 0 is reserved */ -#ifndef TclAccessDeleteProc -#define TclAccessDeleteProc \ - (tclIntStubsPtr->tclAccessDeleteProc) /* 1 */ -#endif -#ifndef TclAccessInsertProc -#define TclAccessInsertProc \ - (tclIntStubsPtr->tclAccessInsertProc) /* 2 */ -#endif -#ifndef TclAllocateFreeObjects -#define TclAllocateFreeObjects \ - (tclIntStubsPtr->tclAllocateFreeObjects) /* 3 */ -#endif -/* Slot 4 is reserved */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -#ifndef TclCleanupChildren -#define TclCleanupChildren \ - (tclIntStubsPtr->tclCleanupChildren) /* 5 */ -#endif -#endif /* UNIX */ -#ifdef __WIN32__ -#ifndef TclCleanupChildren -#define TclCleanupChildren \ - (tclIntStubsPtr->tclCleanupChildren) /* 5 */ -#endif -#endif /* __WIN32__ */ -#ifndef TclCleanupCommand -#define TclCleanupCommand \ - (tclIntStubsPtr->tclCleanupCommand) /* 6 */ -#endif -#ifndef TclCopyAndCollapse -#define TclCopyAndCollapse \ - (tclIntStubsPtr->tclCopyAndCollapse) /* 7 */ -#endif -#ifndef TclCopyChannel -#define TclCopyChannel \ - (tclIntStubsPtr->tclCopyChannel) /* 8 */ -#endif -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -#ifndef TclCreatePipeline -#define TclCreatePipeline \ - (tclIntStubsPtr->tclCreatePipeline) /* 9 */ -#endif -#endif /* UNIX */ -#ifdef __WIN32__ -#ifndef TclCreatePipeline -#define TclCreatePipeline \ - (tclIntStubsPtr->tclCreatePipeline) /* 9 */ -#endif -#endif /* __WIN32__ */ -#ifndef TclCreateProc -#define TclCreateProc \ - (tclIntStubsPtr->tclCreateProc) /* 10 */ -#endif -#ifndef TclDeleteCompiledLocalVars -#define TclDeleteCompiledLocalVars \ - (tclIntStubsPtr->tclDeleteCompiledLocalVars) /* 11 */ -#endif -#ifndef TclDeleteVars -#define TclDeleteVars \ - (tclIntStubsPtr->tclDeleteVars) /* 12 */ -#endif -#ifndef TclDoGlob -#define TclDoGlob \ - (tclIntStubsPtr->tclDoGlob) /* 13 */ -#endif -#ifndef TclDumpMemoryInfo -#define TclDumpMemoryInfo \ - (tclIntStubsPtr->tclDumpMemoryInfo) /* 14 */ -#endif -/* Slot 15 is reserved */ -#ifndef TclExprFloatError -#define TclExprFloatError \ - (tclIntStubsPtr->tclExprFloatError) /* 16 */ -#endif -/* Slot 17 is reserved */ -/* Slot 18 is reserved */ -/* Slot 19 is reserved */ -/* Slot 20 is reserved */ -/* Slot 21 is reserved */ -#ifndef TclFindElement -#define TclFindElement \ - (tclIntStubsPtr->tclFindElement) /* 22 */ -#endif -#ifndef TclFindProc -#define TclFindProc \ - (tclIntStubsPtr->tclFindProc) /* 23 */ -#endif -#ifndef TclFormatInt -#define TclFormatInt \ - (tclIntStubsPtr->tclFormatInt) /* 24 */ -#endif -#ifndef TclFreePackageInfo -#define TclFreePackageInfo \ - (tclIntStubsPtr->tclFreePackageInfo) /* 25 */ -#endif -/* Slot 26 is reserved */ -#ifndef TclGetDate -#define TclGetDate \ - (tclIntStubsPtr->tclGetDate) /* 27 */ -#endif -#ifndef TclpGetDefaultStdChannel -#define TclpGetDefaultStdChannel \ - (tclIntStubsPtr->tclpGetDefaultStdChannel) /* 28 */ -#endif -/* Slot 29 is reserved */ -/* Slot 30 is reserved */ -#ifndef TclGetExtension -#define TclGetExtension \ - (tclIntStubsPtr->tclGetExtension) /* 31 */ -#endif -#ifndef TclGetFrame -#define TclGetFrame \ - (tclIntStubsPtr->tclGetFrame) /* 32 */ -#endif -#ifndef TclGetInterpProc -#define TclGetInterpProc \ - (tclIntStubsPtr->tclGetInterpProc) /* 33 */ -#endif -#ifndef TclGetIntForIndex -#define TclGetIntForIndex \ - (tclIntStubsPtr->tclGetIntForIndex) /* 34 */ -#endif -/* Slot 35 is reserved */ -#ifndef TclGetLong -#define TclGetLong \ - (tclIntStubsPtr->tclGetLong) /* 36 */ -#endif -#ifndef TclGetLoadedPackages -#define TclGetLoadedPackages \ - (tclIntStubsPtr->tclGetLoadedPackages) /* 37 */ -#endif -#ifndef TclGetNamespaceForQualName -#define TclGetNamespaceForQualName \ - (tclIntStubsPtr->tclGetNamespaceForQualName) /* 38 */ -#endif -#ifndef TclGetObjInterpProc -#define TclGetObjInterpProc \ - (tclIntStubsPtr->tclGetObjInterpProc) /* 39 */ -#endif -#ifndef TclGetOpenMode -#define TclGetOpenMode \ - (tclIntStubsPtr->tclGetOpenMode) /* 40 */ -#endif -#ifndef TclGetOriginalCommand -#define TclGetOriginalCommand \ - (tclIntStubsPtr->tclGetOriginalCommand) /* 41 */ -#endif -#ifndef TclpGetUserHome -#define TclpGetUserHome \ - (tclIntStubsPtr->tclpGetUserHome) /* 42 */ -#endif -#ifndef TclGlobalInvoke -#define TclGlobalInvoke \ - (tclIntStubsPtr->tclGlobalInvoke) /* 43 */ -#endif -#ifndef TclGuessPackageName -#define TclGuessPackageName \ - (tclIntStubsPtr->tclGuessPackageName) /* 44 */ -#endif -#ifndef TclHideUnsafeCommands -#define TclHideUnsafeCommands \ - (tclIntStubsPtr->tclHideUnsafeCommands) /* 45 */ -#endif -#ifndef TclInExit -#define TclInExit \ - (tclIntStubsPtr->tclInExit) /* 46 */ -#endif -/* Slot 47 is reserved */ -/* Slot 48 is reserved */ -#ifndef TclIncrVar2 -#define TclIncrVar2 \ - (tclIntStubsPtr->tclIncrVar2) /* 49 */ -#endif -#ifndef TclInitCompiledLocals -#define TclInitCompiledLocals \ - (tclIntStubsPtr->tclInitCompiledLocals) /* 50 */ -#endif -#ifndef TclInterpInit -#define TclInterpInit \ - (tclIntStubsPtr->tclInterpInit) /* 51 */ -#endif -#ifndef TclInvoke -#define TclInvoke \ - (tclIntStubsPtr->tclInvoke) /* 52 */ -#endif -#ifndef TclInvokeObjectCommand -#define TclInvokeObjectCommand \ - (tclIntStubsPtr->tclInvokeObjectCommand) /* 53 */ -#endif -#ifndef TclInvokeStringCommand -#define TclInvokeStringCommand \ - (tclIntStubsPtr->tclInvokeStringCommand) /* 54 */ -#endif -#ifndef TclIsProc -#define TclIsProc \ - (tclIntStubsPtr->tclIsProc) /* 55 */ -#endif -/* Slot 56 is reserved */ -/* Slot 57 is reserved */ -#ifndef TclLookupVar -#define TclLookupVar \ - (tclIntStubsPtr->tclLookupVar) /* 58 */ -#endif -/* Slot 59 is reserved */ -#ifndef TclNeedSpace -#define TclNeedSpace \ - (tclIntStubsPtr->tclNeedSpace) /* 60 */ -#endif -#ifndef TclNewProcBodyObj -#define TclNewProcBodyObj \ - (tclIntStubsPtr->tclNewProcBodyObj) /* 61 */ -#endif -#ifndef TclObjCommandComplete -#define TclObjCommandComplete \ - (tclIntStubsPtr->tclObjCommandComplete) /* 62 */ -#endif -#ifndef TclObjInterpProc -#define TclObjInterpProc \ - (tclIntStubsPtr->tclObjInterpProc) /* 63 */ -#endif -#ifndef TclObjInvoke -#define TclObjInvoke \ - (tclIntStubsPtr->tclObjInvoke) /* 64 */ -#endif -#ifndef TclObjInvokeGlobal -#define TclObjInvokeGlobal \ - (tclIntStubsPtr->tclObjInvokeGlobal) /* 65 */ -#endif -#ifndef TclOpenFileChannelDeleteProc -#define TclOpenFileChannelDeleteProc \ - (tclIntStubsPtr->tclOpenFileChannelDeleteProc) /* 66 */ -#endif -#ifndef TclOpenFileChannelInsertProc -#define TclOpenFileChannelInsertProc \ - (tclIntStubsPtr->tclOpenFileChannelInsertProc) /* 67 */ -#endif -/* Slot 68 is reserved */ -#ifndef TclpAlloc -#define TclpAlloc \ - (tclIntStubsPtr->tclpAlloc) /* 69 */ -#endif -/* Slot 70 is reserved */ -/* Slot 71 is reserved */ -/* Slot 72 is reserved */ -/* Slot 73 is reserved */ -#ifndef TclpFree -#define TclpFree \ - (tclIntStubsPtr->tclpFree) /* 74 */ -#endif -#ifndef TclpGetClicks -#define TclpGetClicks \ - (tclIntStubsPtr->tclpGetClicks) /* 75 */ -#endif -#ifndef TclpGetSeconds -#define TclpGetSeconds \ - (tclIntStubsPtr->tclpGetSeconds) /* 76 */ -#endif -#ifndef TclpGetTime -#define TclpGetTime \ - (tclIntStubsPtr->tclpGetTime) /* 77 */ -#endif -#ifndef TclpGetTimeZone -#define TclpGetTimeZone \ - (tclIntStubsPtr->tclpGetTimeZone) /* 78 */ -#endif -/* Slot 79 is reserved */ -/* Slot 80 is reserved */ -#ifndef TclpRealloc -#define TclpRealloc \ - (tclIntStubsPtr->tclpRealloc) /* 81 */ -#endif -/* Slot 82 is reserved */ -/* Slot 83 is reserved */ -/* Slot 84 is reserved */ -/* Slot 85 is reserved */ -/* Slot 86 is reserved */ -/* Slot 87 is reserved */ -#ifndef TclPrecTraceProc -#define TclPrecTraceProc \ - (tclIntStubsPtr->tclPrecTraceProc) /* 88 */ -#endif -#ifndef TclPreventAliasLoop -#define TclPreventAliasLoop \ - (tclIntStubsPtr->tclPreventAliasLoop) /* 89 */ -#endif -/* Slot 90 is reserved */ -#ifndef TclProcCleanupProc -#define TclProcCleanupProc \ - (tclIntStubsPtr->tclProcCleanupProc) /* 91 */ -#endif -#ifndef TclProcCompileProc -#define TclProcCompileProc \ - (tclIntStubsPtr->tclProcCompileProc) /* 92 */ -#endif -#ifndef TclProcDeleteProc -#define TclProcDeleteProc \ - (tclIntStubsPtr->tclProcDeleteProc) /* 93 */ -#endif -#ifndef TclProcInterpProc -#define TclProcInterpProc \ - (tclIntStubsPtr->tclProcInterpProc) /* 94 */ -#endif -/* Slot 95 is reserved */ -#ifndef TclRenameCommand -#define TclRenameCommand \ - (tclIntStubsPtr->tclRenameCommand) /* 96 */ -#endif -#ifndef TclResetShadowedCmdRefs -#define TclResetShadowedCmdRefs \ - (tclIntStubsPtr->tclResetShadowedCmdRefs) /* 97 */ -#endif -#ifndef TclServiceIdle -#define TclServiceIdle \ - (tclIntStubsPtr->tclServiceIdle) /* 98 */ -#endif -/* Slot 99 is reserved */ -/* Slot 100 is reserved */ -#ifndef TclSetPreInitScript -#define TclSetPreInitScript \ - (tclIntStubsPtr->tclSetPreInitScript) /* 101 */ -#endif -#ifndef TclSetupEnv -#define TclSetupEnv \ - (tclIntStubsPtr->tclSetupEnv) /* 102 */ -#endif -#ifndef TclSockGetPort -#define TclSockGetPort \ - (tclIntStubsPtr->tclSockGetPort) /* 103 */ -#endif -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ -#ifndef TclSockMinimumBuffers -#define TclSockMinimumBuffers \ - (tclIntStubsPtr->tclSockMinimumBuffers) /* 104 */ -#endif -#endif /* UNIX */ -#ifdef __WIN32__ -#ifndef TclSockMinimumBuffers -#define TclSockMinimumBuffers \ - (tclIntStubsPtr->tclSockMinimumBuffers) /* 104 */ -#endif -#endif /* __WIN32__ */ -/* Slot 105 is reserved */ -#ifndef TclStatDeleteProc -#define TclStatDeleteProc \ - (tclIntStubsPtr->tclStatDeleteProc) /* 106 */ -#endif -#ifndef TclStatInsertProc -#define TclStatInsertProc \ - (tclIntStubsPtr->tclStatInsertProc) /* 107 */ -#endif -#ifndef TclTeardownNamespace -#define TclTeardownNamespace \ - (tclIntStubsPtr->tclTeardownNamespace) /* 108 */ -#endif -#ifndef TclUpdateReturnInfo -#define TclUpdateReturnInfo \ - (tclIntStubsPtr->tclUpdateReturnInfo) /* 109 */ -#endif -/* Slot 110 is reserved */ -#ifndef Tcl_AddInterpResolvers -#define Tcl_AddInterpResolvers \ - (tclIntStubsPtr->tcl_AddInterpResolvers) /* 111 */ -#endif -#ifndef Tcl_AppendExportList -#define Tcl_AppendExportList \ - (tclIntStubsPtr->tcl_AppendExportList) /* 112 */ -#endif -#ifndef Tcl_CreateNamespace -#define Tcl_CreateNamespace \ - (tclIntStubsPtr->tcl_CreateNamespace) /* 113 */ -#endif -#ifndef Tcl_DeleteNamespace -#define Tcl_DeleteNamespace \ - (tclIntStubsPtr->tcl_DeleteNamespace) /* 114 */ -#endif -#ifndef Tcl_Export -#define Tcl_Export \ - (tclIntStubsPtr->tcl_Export) /* 115 */ -#endif -#ifndef Tcl_FindCommand -#define Tcl_FindCommand \ - (tclIntStubsPtr->tcl_FindCommand) /* 116 */ -#endif -#ifndef Tcl_FindNamespace -#define Tcl_FindNamespace \ - (tclIntStubsPtr->tcl_FindNamespace) /* 117 */ -#endif -#ifndef Tcl_GetInterpResolvers -#define Tcl_GetInterpResolvers \ - (tclIntStubsPtr->tcl_GetInterpResolvers) /* 118 */ -#endif -#ifndef Tcl_GetNamespaceResolvers -#define Tcl_GetNamespaceResolvers \ - (tclIntStubsPtr->tcl_GetNamespaceResolvers) /* 119 */ -#endif -#ifndef Tcl_FindNamespaceVar -#define Tcl_FindNamespaceVar \ - (tclIntStubsPtr->tcl_FindNamespaceVar) /* 120 */ -#endif -#ifndef Tcl_ForgetImport -#define Tcl_ForgetImport \ - (tclIntStubsPtr->tcl_ForgetImport) /* 121 */ -#endif -#ifndef Tcl_GetCommandFromObj -#define Tcl_GetCommandFromObj \ - (tclIntStubsPtr->tcl_GetCommandFromObj) /* 122 */ -#endif -#ifndef Tcl_GetCommandFullName -#define Tcl_GetCommandFullName \ - (tclIntStubsPtr->tcl_GetCommandFullName) /* 123 */ -#endif -#ifndef Tcl_GetCurrentNamespace -#define Tcl_GetCurrentNamespace \ - (tclIntStubsPtr->tcl_GetCurrentNamespace) /* 124 */ -#endif -#ifndef Tcl_GetGlobalNamespace -#define Tcl_GetGlobalNamespace \ - (tclIntStubsPtr->tcl_GetGlobalNamespace) /* 125 */ -#endif -#ifndef Tcl_GetVariableFullName -#define Tcl_GetVariableFullName \ - (tclIntStubsPtr->tcl_GetVariableFullName) /* 126 */ -#endif -#ifndef Tcl_Import -#define Tcl_Import \ - (tclIntStubsPtr->tcl_Import) /* 127 */ -#endif -#ifndef Tcl_PopCallFrame -#define Tcl_PopCallFrame \ - (tclIntStubsPtr->tcl_PopCallFrame) /* 128 */ -#endif -#ifndef Tcl_PushCallFrame -#define Tcl_PushCallFrame \ - (tclIntStubsPtr->tcl_PushCallFrame) /* 129 */ -#endif -#ifndef Tcl_RemoveInterpResolvers -#define Tcl_RemoveInterpResolvers \ - (tclIntStubsPtr->tcl_RemoveInterpResolvers) /* 130 */ -#endif -#ifndef Tcl_SetNamespaceResolvers -#define Tcl_SetNamespaceResolvers \ - (tclIntStubsPtr->tcl_SetNamespaceResolvers) /* 131 */ -#endif -#ifndef TclpHasSockets -#define TclpHasSockets \ - (tclIntStubsPtr->tclpHasSockets) /* 132 */ -#endif -#ifndef TclpGetDate -#define TclpGetDate \ - (tclIntStubsPtr->tclpGetDate) /* 133 */ -#endif -#ifndef TclpStrftime -#define TclpStrftime \ - (tclIntStubsPtr->tclpStrftime) /* 134 */ -#endif -#ifndef TclpCheckStackSpace -#define TclpCheckStackSpace \ - (tclIntStubsPtr->tclpCheckStackSpace) /* 135 */ -#endif -/* Slot 136 is reserved */ -/* Slot 137 is reserved */ -#ifndef TclGetEnv -#define TclGetEnv \ - (tclIntStubsPtr->tclGetEnv) /* 138 */ -#endif -/* Slot 139 is reserved */ -#ifndef TclLooksLikeInt -#define TclLooksLikeInt \ - (tclIntStubsPtr->tclLooksLikeInt) /* 140 */ -#endif -#ifndef TclpGetCwd -#define TclpGetCwd \ - (tclIntStubsPtr->tclpGetCwd) /* 141 */ -#endif -#ifndef TclSetByteCodeFromAny -#define TclSetByteCodeFromAny \ - (tclIntStubsPtr->tclSetByteCodeFromAny) /* 142 */ -#endif -#ifndef TclAddLiteralObj -#define TclAddLiteralObj \ - (tclIntStubsPtr->tclAddLiteralObj) /* 143 */ -#endif -#ifndef TclHideLiteral -#define TclHideLiteral \ - (tclIntStubsPtr->tclHideLiteral) /* 144 */ -#endif -#ifndef TclGetAuxDataType -#define TclGetAuxDataType \ - (tclIntStubsPtr->tclGetAuxDataType) /* 145 */ -#endif -#ifndef TclHandleCreate -#define TclHandleCreate \ - (tclIntStubsPtr->tclHandleCreate) /* 146 */ -#endif -#ifndef TclHandleFree -#define TclHandleFree \ - (tclIntStubsPtr->tclHandleFree) /* 147 */ -#endif -#ifndef TclHandlePreserve -#define TclHandlePreserve \ - (tclIntStubsPtr->tclHandlePreserve) /* 148 */ -#endif -#ifndef TclHandleRelease -#define TclHandleRelease \ - (tclIntStubsPtr->tclHandleRelease) /* 149 */ -#endif -#ifndef TclRegAbout -#define TclRegAbout \ - (tclIntStubsPtr->tclRegAbout) /* 150 */ -#endif -#ifndef TclRegExpRangeUniChar -#define TclRegExpRangeUniChar \ - (tclIntStubsPtr->tclRegExpRangeUniChar) /* 151 */ -#endif -#ifndef TclSetLibraryPath -#define TclSetLibraryPath \ - (tclIntStubsPtr->tclSetLibraryPath) /* 152 */ -#endif -#ifndef TclGetLibraryPath -#define TclGetLibraryPath \ - (tclIntStubsPtr->tclGetLibraryPath) /* 153 */ -#endif -/* Slot 154 is reserved */ -/* Slot 155 is reserved */ -#ifndef TclRegError -#define TclRegError \ - (tclIntStubsPtr->tclRegError) /* 156 */ -#endif -#ifndef TclVarTraceExists -#define TclVarTraceExists \ - (tclIntStubsPtr->tclVarTraceExists) /* 157 */ -#endif -#ifndef TclSetStartupScriptFileName -#define TclSetStartupScriptFileName \ - (tclIntStubsPtr->tclSetStartupScriptFileName) /* 158 */ -#endif -#ifndef TclGetStartupScriptFileName -#define TclGetStartupScriptFileName \ - (tclIntStubsPtr->tclGetStartupScriptFileName) /* 159 */ -#endif -/* Slot 160 is reserved */ -#ifndef TclChannelTransform -#define TclChannelTransform \ - (tclIntStubsPtr->tclChannelTransform) /* 161 */ -#endif -#ifndef TclChannelEventScriptInvoker -#define TclChannelEventScriptInvoker \ - (tclIntStubsPtr->tclChannelEventScriptInvoker) /* 162 */ -#endif -#ifndef TclGetInstructionTable -#define TclGetInstructionTable \ - (tclIntStubsPtr->tclGetInstructionTable) /* 163 */ -#endif -#ifndef TclExpandCodeArray -#define TclExpandCodeArray \ - (tclIntStubsPtr->tclExpandCodeArray) /* 164 */ -#endif -#ifndef TclpSetInitialEncodings -#define TclpSetInitialEncodings \ - (tclIntStubsPtr->tclpSetInitialEncodings) /* 165 */ -#endif -#ifndef TclListObjSetElement -#define TclListObjSetElement \ - (tclIntStubsPtr->tclListObjSetElement) /* 166 */ -#endif -#ifndef TclSetStartupScriptPath -#define TclSetStartupScriptPath \ - (tclIntStubsPtr->tclSetStartupScriptPath) /* 167 */ -#endif -#ifndef TclGetStartupScriptPath -#define TclGetStartupScriptPath \ - (tclIntStubsPtr->tclGetStartupScriptPath) /* 168 */ -#endif -#ifndef TclpUtfNcmp2 -#define TclpUtfNcmp2 \ - (tclIntStubsPtr->tclpUtfNcmp2) /* 169 */ -#endif -#ifndef TclCheckInterpTraces -#define TclCheckInterpTraces \ - (tclIntStubsPtr->tclCheckInterpTraces) /* 170 */ -#endif -#ifndef TclCheckExecutionTraces -#define TclCheckExecutionTraces \ - (tclIntStubsPtr->tclCheckExecutionTraces) /* 171 */ -#endif -#ifndef TclInThreadExit -#define TclInThreadExit \ - (tclIntStubsPtr->tclInThreadExit) /* 172 */ -#endif -#ifndef TclUniCharMatch -#define TclUniCharMatch \ - (tclIntStubsPtr->tclUniCharMatch) /* 173 */ -#endif -/* Slot 174 is reserved */ -/* Slot 175 is reserved */ -/* Slot 176 is reserved */ -/* Slot 177 is reserved */ -/* Slot 178 is reserved */ -/* Slot 179 is reserved */ -/* Slot 180 is reserved */ -/* Slot 181 is reserved */ -#ifndef TclpLocaltime -#define TclpLocaltime \ - (tclIntStubsPtr->tclpLocaltime) /* 182 */ -#endif -#ifndef TclpGmtime -#define TclpGmtime \ - (tclIntStubsPtr->tclpGmtime) /* 183 */ -#endif -/* Slot 184 is reserved */ -/* Slot 185 is reserved */ -/* Slot 186 is reserved */ -/* Slot 187 is reserved */ -/* Slot 188 is reserved */ -/* Slot 189 is reserved */ -/* Slot 190 is reserved */ -/* Slot 191 is reserved */ -/* Slot 192 is reserved */ -/* Slot 193 is reserved */ -/* Slot 194 is reserved */ -/* Slot 195 is reserved */ -/* Slot 196 is reserved */ -/* Slot 197 is reserved */ -/* Slot 198 is reserved */ -#ifndef TclMatchIsTrivial -#define TclMatchIsTrivial \ - (tclIntStubsPtr->tclMatchIsTrivial) /* 199 */ -#endif - -#endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */ - -/* !END!: Do not edit above this line. */ - -#endif /* _TCLINTDECLS */ diff --git a/src/other/togl/include/tcltk/tk8.4/tkInt.h b/src/other/togl/include/tcltk/tk8.4/tkInt.h deleted file mode 100644 index d80f8d17abe..00000000000 --- a/src/other/togl/include/tcltk/tk8.4/tkInt.h +++ /dev/null @@ -1,1229 +0,0 @@ -/* - * tkInt.h -- - * - * Declarations for things used internally by the Tk - * procedures but not exported outside the module. - * - * Copyright (c) 1990-1994 The Regents of the University of California. - * Copyright (c) 1994-1997 Sun Microsystems, Inc. - * Copyright (c) 1998 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: Id - */ - -#ifndef _TKINT -#define _TKINT - -#ifndef _TK -#include "tk.h" -#endif -#ifndef _TCL -#include "tcl.h" -#endif -#ifndef _TKPORT -#include "tkPort.h" -#endif - -/* - * Ensure WORDS_BIGENDIAN is defined correcly: - * Needs to happen here in addition to configure to work with fat compiles on - * Darwin (where configure runs only once for multiple architectures). - */ - -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_PARAM_H -# include -#endif -#ifdef BYTE_ORDER -# ifdef BIG_ENDIAN -# if BYTE_ORDER == BIG_ENDIAN -# undef WORDS_BIGENDIAN -# define WORDS_BIGENDIAN -# endif -# endif -# ifdef LITTLE_ENDIAN -# if BYTE_ORDER == LITTLE_ENDIAN -# undef WORDS_BIGENDIAN -# endif -# endif -#endif - -/* - * Used to tag functions that are only to be visible within the module being - * built and not outside it (where this is supported by the linker). - */ - -#ifndef MODULE_SCOPE -# ifdef __cplusplus -# define MODULE_SCOPE extern "C" -# else -# define MODULE_SCOPE extern -# endif -#endif - -/* - * Opaque type declarations: - */ - -typedef struct TkColormap TkColormap; -typedef struct TkGrabEvent TkGrabEvent; -typedef struct TkpCursor_ *TkpCursor; -typedef struct TkRegion_ *TkRegion; -typedef struct TkStressedCmap TkStressedCmap; -typedef struct TkBindInfo_ *TkBindInfo; - -/* - * Procedure types. - */ - -typedef int (TkBindEvalProc) _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, XEvent *eventPtr, Tk_Window tkwin, - KeySym keySym)); -typedef void (TkBindFreeProc) _ANSI_ARGS_((ClientData clientData)); - -/* - * One of the following structures is maintained for each cursor in - * use in the system. This structure is used by tkCursor.c and the - * various system specific cursor files. - */ - -typedef struct TkCursor { - Tk_Cursor cursor; /* System specific identifier for cursor. */ - Display *display; /* Display containing cursor. Needed for - * disposal and retrieval of cursors. */ - int resourceRefCount; /* Number of active uses of this cursor (each - * active use corresponds to a call to - * Tk_AllocPreserveFromObj or Tk_Preserve). - * If this count is 0, then this structure - * is no longer valid and it isn't present - * in a hash table: it is being kept around - * only because there are objects referring - * to it. The structure is freed when - * resourceRefCount and objRefCount are - * both 0. */ - int objRefCount; /* Number of Tcl objects that reference - * this structure.. */ - Tcl_HashTable *otherTable; /* Second table (other than idTable) used - * to index this entry. */ - Tcl_HashEntry *hashPtr; /* Entry in otherTable for this structure - * (needed when deleting). */ - Tcl_HashEntry *idHashPtr; /* Entry in idTable for this structure - * (needed when deleting). */ - struct TkCursor *nextPtr; /* Points to the next TkCursor structure with - * the same name. Cursors with the same - * name but different displays are chained - * together off a single hash table entry. */ -} TkCursor; - -/* - * This defines whether we should try to use XIM over-the-spot style - * input. Allow users to override it. It is a much more elegant use - * of XIM, but uses a bit more memory. - */ - -#ifndef TK_XIM_SPOT -# define TK_XIM_SPOT 1 -#endif - -/* - * The following structure is kept one-per-TkDisplay to maintain information - * about the caret (cursor location) on this display. This is used to - * dictate global focus location (Windows Accessibility guidelines) and to - * position the IME or XIM over-the-spot window. - */ - -typedef struct TkCaret { - struct TkWindow *winPtr; /* the window on which we requested caret - * placement */ - int x; /* relative x coord of the caret */ - int y; /* relative y coord of the caret */ - int height; /* specified height of the window */ -} TkCaret; - -/* - * One of the following structures is maintained for each display - * containing a window managed by Tk. In part, the structure is - * used to store thread-specific data, since each thread will have - * its own TkDisplay structure. - */ - -typedef struct TkDisplay { - Display *display; /* Xlib's info about display. */ - struct TkDisplay *nextPtr; /* Next in list of all displays. */ - char *name; /* Name of display (with any screen - * identifier removed). Malloc-ed. */ - Time lastEventTime; /* Time of last event received for this - * display. */ - - /* - * Information used primarily by tk3d.c: - */ - - int borderInit; /* 0 means borderTable needs initializing. */ - Tcl_HashTable borderTable; /* Maps from color name to TkBorder - * structure. */ - - /* - * Information used by tkAtom.c only: - */ - - int atomInit; /* 0 means stuff below hasn't been - * initialized yet. */ - Tcl_HashTable nameTable; /* Maps from names to Atom's. */ - Tcl_HashTable atomTable; /* Maps from Atom's back to names. */ - - /* - * Information used primarily by tkBind.c: - */ - - int bindInfoStale; /* Non-zero means the variables in this - * part of the structure are potentially - * incorrect and should be recomputed. */ - unsigned int modeModMask; /* Has one bit set to indicate the modifier - * corresponding to "mode shift". If no - * such modifier, than this is zero. */ - unsigned int metaModMask; /* Has one bit set to indicate the modifier - * corresponding to the "Meta" key. If no - * such modifier, then this is zero. */ - unsigned int altModMask; /* Has one bit set to indicate the modifier - * corresponding to the "Meta" key. If no - * such modifier, then this is zero. */ - enum {LU_IGNORE, LU_CAPS, LU_SHIFT} lockUsage; - /* Indicates how to interpret lock modifier. */ - int numModKeyCodes; /* Number of entries in modKeyCodes array - * below. */ - KeyCode *modKeyCodes; /* Pointer to an array giving keycodes for - * all of the keys that have modifiers - * associated with them. Malloc'ed, but - * may be NULL. */ - - /* - * Information used by tkBitmap.c only: - */ - - int bitmapInit; /* 0 means tables above need initializing. */ - int bitmapAutoNumber; /* Used to number bitmaps. */ - Tcl_HashTable bitmapNameTable; - /* Maps from name of bitmap to the first - * TkBitmap record for that name. */ - Tcl_HashTable bitmapIdTable;/* Maps from bitmap id to the TkBitmap - * structure for the bitmap. */ - Tcl_HashTable bitmapDataTable; - /* Used by Tk_GetBitmapFromData to map from - * a collection of in-core data about a - * bitmap to a reference giving an auto- - * matically-generated name for the bitmap. */ - - /* - * Information used by tkCanvas.c only: - */ - - int numIdSearches; - int numSlowSearches; - - /* - * Used by tkColor.c only: - */ - - int colorInit; /* 0 means color module needs initializing. */ - TkStressedCmap *stressPtr; /* First in list of colormaps that have - * filled up, so we have to pick an - * approximate color. */ - Tcl_HashTable colorNameTable; - /* Maps from color name to TkColor structure - * for that color. */ - Tcl_HashTable colorValueTable; - /* Maps from integer RGB values to TkColor - * structures. */ - - /* - * Used by tkCursor.c only: - */ - - int cursorInit; /* 0 means cursor module need initializing. */ - Tcl_HashTable cursorNameTable; - /* Maps from a string name to a cursor to the - * TkCursor record for the cursor. */ - Tcl_HashTable cursorDataTable; - /* Maps from a collection of in-core data - * about a cursor to a TkCursor structure. */ - Tcl_HashTable cursorIdTable; - /* Maps from a cursor id to the TkCursor - * structure for the cursor. */ - char cursorString[20]; /* Used to store a cursor id string. */ - Font cursorFont; /* Font to use for standard cursors. - * None means font not loaded yet. */ - - /* - * Information used by tkError.c only: - */ - - struct TkErrorHandler *errorPtr; - /* First in list of error handlers - * for this display. NULL means - * no handlers exist at present. */ - int deleteCount; /* Counts # of handlers deleted since - * last time inactive handlers were - * garbage-collected. When this number - * gets big, handlers get cleaned up. */ - - /* - * Used by tkEvent.c only: - */ - - struct TkWindowEvent *delayedMotionPtr; - /* Points to a malloc-ed motion event - * whose processing has been delayed in - * the hopes that another motion event - * will come along right away and we can - * merge the two of them together. NULL - * means that there is no delayed motion - * event. */ - - /* - * Information used by tkFocus.c only: - */ - - int focusDebug; /* 1 means collect focus debugging - * statistics. */ - struct TkWindow *implicitWinPtr; - /* If the focus arrived at a toplevel window - * implicitly via an Enter event (rather - * than via a FocusIn event), this points - * to the toplevel window. Otherwise it is - * NULL. */ - struct TkWindow *focusPtr; /* Points to the window on this display that - * should be receiving keyboard events. When - * multiple applications on the display have - * the focus, this will refer to the - * innermost window in the innermost - * application. This information isn't used - * under Unix or Windows, but it's needed on - * the Macintosh. */ - - /* - * Information used by tkGC.c only: - */ - - Tcl_HashTable gcValueTable; /* Maps from a GC's values to a TkGC structure - * describing a GC with those values. */ - Tcl_HashTable gcIdTable; /* Maps from a GC to a TkGC. */ - int gcInit; /* 0 means the tables below need - * initializing. */ - - /* - * Information used by tkGeometry.c only: - */ - - Tcl_HashTable maintainHashTable; - /* Hash table that maps from a master's - * Tk_Window token to a list of slaves - * managed by that master. */ - int geomInit; - - /* - * Information used by tkGet.c only: - */ - - Tcl_HashTable uidTable; /* Stores all Tk_Uid used in a thread. */ - int uidInit; /* 0 means uidTable needs initializing. */ - - /* - * Information used by tkGrab.c only: - */ - - struct TkWindow *grabWinPtr; - /* Window in which the pointer is currently - * grabbed, or NULL if none. */ - struct TkWindow *eventualGrabWinPtr; - /* Value that grabWinPtr will have once the - * grab event queue (below) has been - * completely emptied. */ - struct TkWindow *buttonWinPtr; - /* Window in which first mouse button was - * pressed while grab was in effect, or NULL - * if no such press in effect. */ - struct TkWindow *serverWinPtr; - /* If no application contains the pointer then - * this is NULL. Otherwise it contains the - * last window for which we've gotten an - * Enter or Leave event from the server (i.e. - * the last window known to have contained - * the pointer). Doesn't reflect events - * that were synthesized in tkGrab.c. */ - TkGrabEvent *firstGrabEventPtr; - /* First in list of enter/leave events - * synthesized by grab code. These events - * must be processed in order before any other - * events are processed. NULL means no such - * events. */ - TkGrabEvent *lastGrabEventPtr; - /* Last in list of synthesized events, or NULL - * if list is empty. */ - int grabFlags; /* Miscellaneous flag values. See definitions - * in tkGrab.c. */ - - /* - * Information used by tkGrid.c only: - */ - - int gridInit; /* 0 means table below needs initializing. */ - Tcl_HashTable gridHashTable;/* Maps from Tk_Window tokens to - * corresponding Grid structures. */ - - /* - * Information used by tkImage.c only: - */ - - int imageId; /* Value used to number image ids. */ - - /* - * Information used by tkMacWinMenu.c only: - */ - - int postCommandGeneration; - - /* - * Information used by tkOption.c only. - */ - - - - /* - * Information used by tkPack.c only. - */ - - int packInit; /* 0 means table below needs initializing. */ - Tcl_HashTable packerHashTable; - /* Maps from Tk_Window tokens to - * corresponding Packer structures. */ - - - /* - * Information used by tkPlace.c only. - */ - - int placeInit; /* 0 means tables below need initializing. */ - Tcl_HashTable masterTable; /* Maps from Tk_Window toke to the Master - * structure for the window, if it exists. */ - Tcl_HashTable slaveTable; /* Maps from Tk_Window toke to the Slave - * structure for the window, if it exists. */ - - /* - * Information used by tkSelect.c and tkClipboard.c only: - */ - - struct TkSelectionInfo *selectionInfoPtr; - /* First in list of selection information - * records. Each entry contains information - * about the current owner of a particular - * selection on this display. */ - Atom multipleAtom; /* Atom for MULTIPLE. None means - * selection stuff isn't initialized. */ - Atom incrAtom; /* Atom for INCR. */ - Atom targetsAtom; /* Atom for TARGETS. */ - Atom timestampAtom; /* Atom for TIMESTAMP. */ - Atom textAtom; /* Atom for TEXT. */ - Atom compoundTextAtom; /* Atom for COMPOUND_TEXT. */ - Atom applicationAtom; /* Atom for TK_APPLICATION. */ - Atom windowAtom; /* Atom for TK_WINDOW. */ - Atom clipboardAtom; /* Atom for CLIPBOARD. */ - Atom utf8Atom; /* Atom for UTF8_STRING. */ - - Tk_Window clipWindow; /* Window used for clipboard ownership and to - * retrieve selections between processes. NULL - * means clipboard info hasn't been - * initialized. */ - int clipboardActive; /* 1 means we currently own the clipboard - * selection, 0 means we don't. */ - struct TkMainInfo *clipboardAppPtr; - /* Last application that owned clipboard. */ - struct TkClipboardTarget *clipTargetPtr; - /* First in list of clipboard type information - * records. Each entry contains information - * about the buffers for a given selection - * target. */ - - /* - * Information used by tkSend.c only: - */ - - Tk_Window commTkwin; /* Window used for communication - * between interpreters during "send" - * commands. NULL means send info hasn't - * been initialized yet. */ - Atom commProperty; /* X's name for comm property. */ - Atom registryProperty; /* X's name for property containing - * registry of interpreter names. */ - Atom appNameProperty; /* X's name for property used to hold the - * application name on each comm window. */ - - /* - * Information used by tkXId.c only: - */ - - struct TkIdStack *idStackPtr; - /* First in list of chunks of free resource - * identifiers, or NULL if there are no free - * resources. */ - XID (*defaultAllocProc) _ANSI_ARGS_((Display *display)); - /* Default resource allocator for display. */ - struct TkIdStack *windowStackPtr; - /* First in list of chunks of window - * identifers that can't be reused right - * now. */ - Tcl_TimerToken idCleanupScheduled; - /* If set, it means a call to WindowIdCleanup - * has already been scheduled, 0 means it - * hasn't. */ - - /* - * Information used by tkUnixWm.c and tkWinWm.c only: - */ - - struct TkWmInfo *firstWmPtr; /* Points to first top-level window. */ - struct TkWmInfo *foregroundWmPtr; - /* Points to the foreground window. */ - - /* - * Information maintained by tkWindow.c for use later on by tkXId.c: - */ - - - int destroyCount; /* Number of Tk_DestroyWindow operations - * in progress. */ - unsigned long lastDestroyRequest; - /* Id of most recent XDestroyWindow request; - * can re-use ids in windowStackPtr when - * server has seen this request and event - * queue is empty. */ - - /* - * Information used by tkVisual.c only: - */ - - TkColormap *cmapPtr; /* First in list of all non-default colormaps - * allocated for this display. */ - - /* - * Miscellaneous information: - */ - -#ifdef TK_USE_INPUT_METHODS - XIM inputMethod; /* Input method for this display */ -#if TK_XIM_SPOT - XFontSet inputXfs; /* XFontSet cached for over-the-spot XIM. */ -#endif -#endif /* TK_USE_INPUT_METHODS */ - Tcl_HashTable winTable; /* Maps from X window ids to TkWindow ptrs. */ - - int refCount; /* Reference count of how many Tk applications - * are using this display. Used to clean up - * the display when we no longer have any - * Tk applications using it. - */ - /* - * The following field were all added for Tk8.3 - */ - int mouseButtonState; /* current mouse button state for this - * display */ - Window mouseButtonWindow; /* Window the button state was set in, - * added in Tk 8.4. */ - Window warpWindow; - int warpX; - int warpY; - - /* - * The following field(s) were all added for Tk8.4 - */ - unsigned int flags; /* Various flag values: these are all - * defined in below. */ - TkCaret caret; /* information about the caret for this - * display. This is not a pointer. */ - - int iconDataSize; /* size of default iconphoto image data */ - unsigned char *iconDataPtr; /* default iconphoto image data, if set */ -} TkDisplay; - -/* - * Flag values for TkDisplay flags. - * TK_DISPLAY_COLLAPSE_MOTION_EVENTS: (default on) - * Indicates that we should collapse motion events on this display - * TK_DISPLAY_USE_IM: (default on, set via tk.tcl) - * Whether to use input methods for this display - * TK_DISPLAY_XIM_SPOT: (default off) - * Indicates that we should use over-the-spot XIM on this display - * TK_DISPLAY_WM_TRACING: (default off) - * Whether we should do wm tracing on this display. - * TK_DISPLAY_IN_WARP: (default off) - * Indicates that we are in a pointer warp - */ - -#define TK_DISPLAY_COLLAPSE_MOTION_EVENTS (1 << 0) -#define TK_DISPLAY_USE_IM (1 << 1) -#define TK_DISPLAY_XIM_SPOT (1 << 2) -#define TK_DISPLAY_WM_TRACING (1 << 3) -#define TK_DISPLAY_IN_WARP (1 << 4) - -/* - * One of the following structures exists for each error handler - * created by a call to Tk_CreateErrorHandler. The structure - * is managed by tkError.c. - */ - -typedef struct TkErrorHandler { - TkDisplay *dispPtr; /* Display to which handler applies. */ - unsigned long firstRequest; /* Only errors with serial numbers - * >= to this are considered. */ - unsigned long lastRequest; /* Only errors with serial numbers - * <= to this are considered. This - * field is filled in when XUnhandle - * is called. -1 means XUnhandle - * hasn't been called yet. */ - int error; /* Consider only errors with this - * error_code (-1 means consider - * all errors). */ - int request; /* Consider only errors with this - * major request code (-1 means - * consider all major codes). */ - int minorCode; /* Consider only errors with this - * minor request code (-1 means - * consider all minor codes). */ - Tk_ErrorProc *errorProc; /* Procedure to invoke when a matching - * error occurs. NULL means just ignore - * errors. */ - ClientData clientData; /* Arbitrary value to pass to - * errorProc. */ - struct TkErrorHandler *nextPtr; - /* Pointer to next older handler for - * this display, or NULL for end of - * list. */ -} TkErrorHandler; - - -/* - * One of the following structures exists for each event handler - * created by calling Tk_CreateEventHandler. This information - * is used by tkEvent.c only. - */ - -typedef struct TkEventHandler { - unsigned long mask; /* Events for which to invoke - * proc. */ - Tk_EventProc *proc; /* Procedure to invoke when an event - * in mask occurs. */ - ClientData clientData; /* Argument to pass to proc. */ - struct TkEventHandler *nextPtr; - /* Next in list of handlers - * associated with window (NULL means - * end of list). */ -} TkEventHandler; - -/* - * Tk keeps one of the following data structures for each main - * window (created by a call to TkCreateMainWindow). It stores - * information that is shared by all of the windows associated - * with a particular main window. - */ - -typedef struct TkMainInfo { - int refCount; /* Number of windows whose "mainPtr" fields - * point here. When this becomes zero, can - * free up the structure (the reference - * count is zero because windows can get - * deleted in almost any order; the main - * window isn't necessarily the last one - * deleted). */ - struct TkWindow *winPtr; /* Pointer to main window. */ - Tcl_Interp *interp; /* Interpreter associated with application. */ - Tcl_HashTable nameTable; /* Hash table mapping path names to TkWindow - * structs for all windows related to this - * main window. Managed by tkWindow.c. */ - long deletionEpoch; /* Incremented by window deletions */ - Tk_BindingTable bindingTable; - /* Used in conjunction with "bind" command - * to bind events to Tcl commands. */ - TkBindInfo bindInfo; /* Information used by tkBind.c on a per - * application basis. */ - struct TkFontInfo *fontInfoPtr; - /* Information used by tkFont.c on a per - * application basis. */ - - /* - * Information used only by tkFocus.c and tk*Embed.c: - */ - - struct TkToplevelFocusInfo *tlFocusPtr; - /* First in list of records containing focus - * information for each top-level in the - * application. Used only by tkFocus.c. */ - struct TkDisplayFocusInfo *displayFocusPtr; - /* First in list of records containing focus - * information for each display that this - * application has ever used. Used only - * by tkFocus.c. */ - - struct ElArray *optionRootPtr; - /* Top level of option hierarchy for this - * main window. NULL means uninitialized. - * Managed by tkOption.c. */ - Tcl_HashTable imageTable; /* Maps from image names to Tk_ImageMaster - * structures. Managed by tkImage.c. */ - int strictMotif; /* This is linked to the tk_strictMotif - * global variable. */ - struct TkMainInfo *nextPtr; /* Next in list of all main windows managed by - * this process. */ -} TkMainInfo; - -/* - * Tk keeps the following data structure for each of it's builtin - * bitmaps. This structure is only used by tkBitmap.c and other - * platform specific bitmap files. - */ - -typedef struct { - CONST char *source; /* Bits for bitmap. */ - int width, height; /* Dimensions of bitmap. */ - int native; /* 0 means generic (X style) bitmap, - * 1 means native style bitmap. */ -} TkPredefBitmap; - -/* - * Tk keeps one of the following structures for each window. - * Some of the information (like size and location) is a shadow - * of information managed by the X server, and some is special - * information used here, such as event and geometry management - * information. This information is (mostly) managed by tkWindow.c. - * WARNING: the declaration below must be kept consistent with the - * Tk_FakeWin structure in tk.h. If you change one, be sure to - * change the other!! - */ - -typedef struct TkWindow { - - /* - * Structural information: - */ - - Display *display; /* Display containing window. */ - TkDisplay *dispPtr; /* Tk's information about display - * for window. */ - int screenNum; /* Index of screen for window, among all - * those for dispPtr. */ - Visual *visual; /* Visual to use for window. If not default, - * MUST be set before X window is created. */ - int depth; /* Number of bits/pixel. */ - Window window; /* X's id for window. NULL means window - * hasn't actually been created yet, or it's - * been deleted. */ - struct TkWindow *childList; /* First in list of child windows, - * or NULL if no children. List is in - * stacking order, lowest window first.*/ - struct TkWindow *lastChildPtr; - /* Last in list of child windows (highest - * in stacking order), or NULL if no - * children. */ - struct TkWindow *parentPtr; /* Pointer to parent window (logical - * parent, not necessarily X parent). NULL - * means either this is the main window, or - * the window's parent has already been - * deleted. */ - struct TkWindow *nextPtr; /* Next higher sibling (in stacking order) - * in list of children with same parent. NULL - * means end of list. */ - TkMainInfo *mainPtr; /* Information shared by all windows - * associated with a particular main - * window. NULL means this window is - * a rogue that isn't associated with - * any application (at present, this - * only happens for the dummy windows - * used for "send" communication). */ - - /* - * Name and type information for the window: - */ - - char *pathName; /* Path name of window (concatenation - * of all names between this window and - * its top-level ancestor). This is a - * pointer into an entry in - * mainPtr->nameTable. NULL means that - * the window hasn't been completely - * created yet. */ - Tk_Uid nameUid; /* Name of the window within its parent - * (unique within the parent). */ - Tk_Uid classUid; /* Class of the window. NULL means window - * hasn't been given a class yet. */ - - /* - * Geometry and other attributes of window. This information - * may not be updated on the server immediately; stuff that - * hasn't been reflected in the server yet is called "dirty". - * At present, information can be dirty only if the window - * hasn't yet been created. - */ - - XWindowChanges changes; /* Geometry and other info about - * window. */ - unsigned int dirtyChanges; /* Bits indicate fields of "changes" - * that are dirty. */ - XSetWindowAttributes atts; /* Current attributes of window. */ - unsigned long dirtyAtts; /* Bits indicate fields of "atts" - * that are dirty. */ - - unsigned int flags; /* Various flag values: these are all - * defined in tk.h (confusing, but they're - * needed there for some query macros). */ - - /* - * Information kept by the event manager (tkEvent.c): - */ - - TkEventHandler *handlerList;/* First in list of event handlers - * declared for this window, or - * NULL if none. */ -#ifdef TK_USE_INPUT_METHODS - XIC inputContext; /* XIM input context. */ -#endif /* TK_USE_INPUT_METHODS */ - - /* - * Information used for event bindings (see "bind" and "bindtags" - * commands in tkCmds.c): - */ - - ClientData *tagPtr; /* Points to array of tags used for bindings - * on this window. Each tag is a Tk_Uid. - * Malloc'ed. NULL means no tags. */ - int numTags; /* Number of tags at *tagPtr. */ - - /* - * Information used by tkOption.c to manage options for the - * window. - */ - - int optionLevel; /* -1 means no option information is - * currently cached for this window. - * Otherwise this gives the level in - * the option stack at which info is - * cached. */ - /* - * Information used by tkSelect.c to manage the selection. - */ - - struct TkSelHandler *selHandlerList; - /* First in list of handlers for - * returning the selection in various - * forms. */ - - /* - * Information used by tkGeometry.c for geometry management. - */ - - Tk_GeomMgr *geomMgrPtr; /* Information about geometry manager for - * this window. */ - ClientData geomData; /* Argument for geometry manager procedures. */ - int reqWidth, reqHeight; /* Arguments from last call to - * Tk_GeometryRequest, or 0's if - * Tk_GeometryRequest hasn't been - * called. */ - int internalBorderLeft; /* Width of internal border of window - * (0 means no internal border). Geometry - * managers should not normally place children - * on top of the border. - * Fields for the other three sides are found - * below. */ - - /* - * Information maintained by tkWm.c for window manager communication. - */ - - struct TkWmInfo *wmInfoPtr; /* For top-level windows (and also - * for special Unix menubar and wrapper - * windows), points to structure with - * wm-related info (see tkWm.c). For - * other windows, this is NULL. */ - - /* - * Information used by widget classes. - */ - - Tk_ClassProcs *classProcsPtr; - ClientData instanceData; - - /* - * Platform specific information private to each port. - */ - - struct TkWindowPrivate *privatePtr; - - /* - * More information used by tkGeometry.c for geometry management. - */ - - /* The remaining fields of internal border. */ - int internalBorderRight; - int internalBorderTop; - int internalBorderBottom; - - int minReqWidth; /* Minimum requested width. */ - int minReqHeight; /* Minimum requested height. */ -} TkWindow; - -/* - * The following structure is used as a two way map between integers - * and strings, usually to map between an internal C representation - * and the strings used in Tcl. - */ - -typedef struct TkStateMap { - int numKey; /* Integer representation of a value. */ - char *strKey; /* String representation of a value. */ -} TkStateMap; - -/* - * This structure is used by the Mac and Window porting layers as - * the internal representation of a clip_mask in a GC. - */ - -typedef struct TkpClipMask { - int type; /* One of TKP_CLIP_PIXMAP or TKP_CLIP_REGION */ - union { - Pixmap pixmap; - TkRegion region; - } value; -} TkpClipMask; - -#define TKP_CLIP_PIXMAP 0 -#define TKP_CLIP_REGION 1 - -/* - * Pointer to first entry in list of all displays currently known. - */ - -extern TkDisplay *tkDisplayList; - -/* - * Return values from TkGrabState: - */ - -#define TK_GRAB_NONE 0 -#define TK_GRAB_IN_TREE 1 -#define TK_GRAB_ANCESTOR 2 -#define TK_GRAB_EXCLUDED 3 - -/* - * The macro below is used to modify a "char" value (e.g. by casting - * it to an unsigned character) so that it can be used safely with - * macros such as isspace. - */ - -#define UCHAR(c) ((unsigned char) (c)) - -/* - * The following symbol is used in the mode field of FocusIn events - * generated by an embedded application to request the input focus from - * its container. - */ - -#define EMBEDDED_APP_WANTS_FOCUS (NotifyNormal + 20) - -/* - * The following special modifier mask bits are defined, to indicate - * logical modifiers such as Meta and Alt that may float among the - * actual modifier bits. - */ - -#define META_MASK (AnyModifier<<1) -#define ALT_MASK (AnyModifier<<2) - -/* - * Object types not declared in tkObj.c need to be mentioned here so - * they can be properly registered with Tcl: - */ - -extern Tcl_ObjType tkBorderObjType; -extern Tcl_ObjType tkBitmapObjType; -extern Tcl_ObjType tkColorObjType; -extern Tcl_ObjType tkCursorObjType; -extern Tcl_ObjType tkFontObjType; -extern Tcl_ObjType tkOptionObjType; -extern Tcl_ObjType tkStateKeyObjType; - -/* - * Miscellaneous variables shared among Tk modules but not exported - * to the outside world: - */ - -extern Tk_SmoothMethod tkBezierSmoothMethod; -extern Tk_ImageType tkBitmapImageType; -extern Tk_PhotoImageFormat tkImgFmtGIF; -extern void (*tkHandleEventProc) _ANSI_ARGS_(( - XEvent* eventPtr)); -extern Tk_PhotoImageFormat tkImgFmtPPM; -extern TkMainInfo *tkMainWindowList; -extern Tk_ImageType tkPhotoImageType; -extern Tcl_HashTable tkPredefBitmapTable; -extern int tkSendSerial; - -#include "tkIntDecls.h" - -#ifdef BUILD_tk -# undef TCL_STORAGE_CLASS -# define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * Internal procedures shared among Tk modules but not exported - * to the outside world: - */ - -EXTERN int Tk_BellObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_BindObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_BindtagsObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_ButtonObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_CanvasObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_CheckbuttonObjCmd _ANSI_ARGS_(( - ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_ClipboardObjCmd _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tk_ChooseColorObjCmd _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tk_ChooseDirectoryObjCmd _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - int objc, Tcl_Obj *CONST objv[])); -EXTERN int Tk_ChooseFontObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_DestroyObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_EntryObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_EventObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_FileeventCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, char **argv)); -EXTERN int Tk_FrameObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_FocusObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_FontObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_GetOpenFileObjCmd _ANSI_ARGS_(( - ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_GetSaveFileObjCmd _ANSI_ARGS_(( - ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_GrabObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_GridObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_ImageObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_LabelObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_LabelframeObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_ListboxObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_LowerObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_MenubuttonObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_MessageBoxObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_MessageObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_PanedWindowObjCmd _ANSI_ARGS_(( - ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_OptionObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_PackObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_PlaceObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_RadiobuttonObjCmd _ANSI_ARGS_(( - ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_RaiseObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_ScaleObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_ScrollbarCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, CONST char **argv)); -EXTERN int Tk_SelectionObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_SendCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, CONST char **argv)); -EXTERN int Tk_SendObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_SpinboxObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_TextCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, CONST char **argv)); -EXTERN int Tk_TkObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_TkwaitObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_ToplevelObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_UpdateObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_WinfoObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); -EXTERN int Tk_WmObjCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *CONST objv[])); - -EXTERN void TkConsolePrint _ANSI_ARGS_((Tcl_Interp *interp, - int devId, CONST char *buffer, long size)); - -EXTERN void TkEventInit _ANSI_ARGS_((void)); - -EXTERN void TkRegisterObjTypes _ANSI_ARGS_((void)); - -EXTERN int TkCreateMenuCmd _ANSI_ARGS_((Tcl_Interp *interp)); -EXTERN int TkDeadAppCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, CONST char **argv)); - -EXTERN int TkpTestembedCmd _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, int argc, CONST char **argv)); -EXTERN int TkCanvasGetCoordObj _ANSI_ARGS_((Tcl_Interp *interp, - Tk_Canvas canvas, Tcl_Obj *obj, - double *doublePtr)); -EXTERN int TkCanvasDashParseProc _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - Tk_Window tkwin, CONST char *value, char *widgRec, - int offset)); -EXTERN char * TkCanvasDashPrintProc _ANSI_ARGS_(( - ClientData clientData, Tk_Window tkwin, - char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr)); -EXTERN int TkGetDoublePixels _ANSI_ARGS_((Tcl_Interp *interp, - Tk_Window tkwin, CONST char *string, - double *doublePtr)); -EXTERN int TkOffsetParseProc _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - Tk_Window tkwin, CONST char *value, char *widgRec, - int offset)); -EXTERN char * TkOffsetPrintProc _ANSI_ARGS_(( - ClientData clientData, Tk_Window tkwin, - char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr)); -EXTERN int TkOrientParseProc _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - Tk_Window tkwin, CONST char *value, - char *widgRec, int offset)); -EXTERN char * TkOrientPrintProc _ANSI_ARGS_(( - ClientData clientData, Tk_Window tkwin, - char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr)); -EXTERN int TkPixelParseProc _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - Tk_Window tkwin, CONST char *value, char *widgRec, - int offset)); -EXTERN char * TkPixelPrintProc _ANSI_ARGS_(( - ClientData clientData, Tk_Window tkwin, - char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr)); -EXTERN int TkPostscriptImage _ANSI_ARGS_((Tcl_Interp *interp, - Tk_Window tkwin, Tk_PostscriptInfo psInfo, - XImage *ximage, int x, int y, int width, - int height)); -EXTERN int TkSmoothParseProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, Tk_Window tkwin, - CONST char *value, char *recordPtr, int offset)); -EXTERN char * TkSmoothPrintProc _ANSI_ARGS_((ClientData clientData, - Tk_Window tkwin, char *recordPtr, int offset, - Tcl_FreeProc **freeProcPtr)); -EXTERN int TkStateParseProc _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - Tk_Window tkwin, CONST char *value, - char *widgRec, int offset)); -EXTERN char * TkStatePrintProc _ANSI_ARGS_(( - ClientData clientData, Tk_Window tkwin, - char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr)); -EXTERN int TkTileParseProc _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - Tk_Window tkwin, CONST char *value, char *widgRec, - int offset)); -EXTERN char * TkTilePrintProc _ANSI_ARGS_(( - ClientData clientData, Tk_Window tkwin, - char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr)); -EXTERN void TkCreateExitHandler _ANSI_ARGS_((Tcl_ExitProc *proc, - ClientData clientData)); -EXTERN void TkDeleteExitHandler _ANSI_ARGS_((Tcl_ExitProc *proc, - ClientData clientData)); -EXTERN Tcl_ExitProc TkFinalize; -EXTERN void TkPrintPadAmount _ANSI_ARGS_((Tcl_Interp *interp, - char *buffer, int pad1, int pad2)); -EXTERN int TkParsePadAmount _ANSI_ARGS_((Tcl_Interp *interp, - Tk_Window tkwin, Tcl_Obj *objPtr, - int *pad1Ptr, int *pad2Ptr)); - -/* - * Unsupported commands. - */ -EXTERN int TkUnsupported1ObjCmd _ANSI_ARGS_(( - ClientData clientData, Tcl_Interp *interp, - int objc, Tcl_Obj *CONST objv[])); - -# undef TCL_STORAGE_CLASS -# define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKINT */ diff --git a/src/other/togl/include/tcltk/tk8.4/tkIntDecls.h b/src/other/togl/include/tcltk/tk8.4/tkIntDecls.h deleted file mode 100644 index 007a8f53ebd..00000000000 --- a/src/other/togl/include/tcltk/tk8.4/tkIntDecls.h +++ /dev/null @@ -1,1578 +0,0 @@ -/* - * tkIntDecls.h -- - * - * This file contains the declarations for all unsupported - * functions that are exported by the Tk library. These - * interfaces are not guaranteed to remain the same between - * versions. Use at your own risk. - * - * Copyright (c) 1998-1999 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKINTDECLS -#define _TKINTDECLS - -#ifdef BUILD_tk -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * WARNING: This file is automatically generated by the tools/genStubs.tcl - * script. Any modifications to the function declarations below should be made - * in the generic/tkInt.decls script. - */ - -/* !BEGIN!: Do not edit below this line. */ - -/* - * Exported function declarations: - */ - -/* 0 */ -EXTERN TkWindow * TkAllocWindow _ANSI_ARGS_((TkDisplay * dispPtr, - int screenNum, TkWindow * parentPtr)); -/* 1 */ -EXTERN void TkBezierPoints _ANSI_ARGS_((double control[], - int numSteps, double * coordPtr)); -/* 2 */ -EXTERN void TkBezierScreenPoints _ANSI_ARGS_((Tk_Canvas canvas, - double control[], int numSteps, - XPoint * xPointPtr)); -/* 3 */ -EXTERN void TkBindDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 4 */ -EXTERN void TkBindEventProc _ANSI_ARGS_((TkWindow * winPtr, - XEvent * eventPtr)); -/* 5 */ -EXTERN void TkBindFree _ANSI_ARGS_((TkMainInfo * mainPtr)); -/* 6 */ -EXTERN void TkBindInit _ANSI_ARGS_((TkMainInfo * mainPtr)); -/* 7 */ -EXTERN void TkChangeEventWindow _ANSI_ARGS_((XEvent * eventPtr, - TkWindow * winPtr)); -/* 8 */ -EXTERN int TkClipInit _ANSI_ARGS_((Tcl_Interp * interp, - TkDisplay * dispPtr)); -/* 9 */ -EXTERN void TkComputeAnchor _ANSI_ARGS_((Tk_Anchor anchor, - Tk_Window tkwin, int padX, int padY, - int innerWidth, int innerHeight, int * xPtr, - int * yPtr)); -/* 10 */ -EXTERN int TkCopyAndGlobalEval _ANSI_ARGS_((Tcl_Interp * interp, - char * script)); -/* 11 */ -EXTERN unsigned long TkCreateBindingProcedure _ANSI_ARGS_(( - Tcl_Interp * interp, - Tk_BindingTable bindingTable, - ClientData object, CONST char * eventString, - TkBindEvalProc * evalProc, - TkBindFreeProc * freeProc, - ClientData clientData)); -/* 12 */ -EXTERN TkCursor * TkCreateCursorFromData _ANSI_ARGS_((Tk_Window tkwin, - CONST char * source, CONST char * mask, - int width, int height, int xHot, int yHot, - XColor fg, XColor bg)); -/* 13 */ -EXTERN int TkCreateFrame _ANSI_ARGS_((ClientData clientData, - Tcl_Interp * interp, int argc, char ** argv, - int toplevel, char * appName)); -/* 14 */ -EXTERN Tk_Window TkCreateMainWindow _ANSI_ARGS_((Tcl_Interp * interp, - CONST char * screenName, char * baseName)); -/* 15 */ -EXTERN Time TkCurrentTime _ANSI_ARGS_((TkDisplay * dispPtr)); -/* 16 */ -EXTERN void TkDeleteAllImages _ANSI_ARGS_((TkMainInfo * mainPtr)); -/* 17 */ -EXTERN void TkDoConfigureNotify _ANSI_ARGS_((TkWindow * winPtr)); -/* 18 */ -EXTERN void TkDrawInsetFocusHighlight _ANSI_ARGS_(( - Tk_Window tkwin, GC gc, int width, - Drawable drawable, int padding)); -/* 19 */ -EXTERN void TkEventDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 20 */ -EXTERN void TkFillPolygon _ANSI_ARGS_((Tk_Canvas canvas, - double * coordPtr, int numPoints, - Display * display, Drawable drawable, GC gc, - GC outlineGC)); -/* 21 */ -EXTERN int TkFindStateNum _ANSI_ARGS_((Tcl_Interp * interp, - CONST char * option, - CONST TkStateMap * mapPtr, - CONST char * strKey)); -/* 22 */ -EXTERN char * TkFindStateString _ANSI_ARGS_(( - CONST TkStateMap * mapPtr, int numKey)); -/* 23 */ -EXTERN void TkFocusDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 24 */ -EXTERN int TkFocusFilterEvent _ANSI_ARGS_((TkWindow * winPtr, - XEvent * eventPtr)); -/* 25 */ -EXTERN TkWindow * TkFocusKeyEvent _ANSI_ARGS_((TkWindow * winPtr, - XEvent * eventPtr)); -/* 26 */ -EXTERN void TkFontPkgInit _ANSI_ARGS_((TkMainInfo * mainPtr)); -/* 27 */ -EXTERN void TkFontPkgFree _ANSI_ARGS_((TkMainInfo * mainPtr)); -/* 28 */ -EXTERN void TkFreeBindingTags _ANSI_ARGS_((TkWindow * winPtr)); -/* 29 */ -EXTERN void TkpFreeCursor _ANSI_ARGS_((TkCursor * cursorPtr)); -/* 30 */ -EXTERN char * TkGetBitmapData _ANSI_ARGS_((Tcl_Interp * interp, - char * string, char * fileName, - int * widthPtr, int * heightPtr, - int * hotXPtr, int * hotYPtr)); -/* 31 */ -EXTERN void TkGetButtPoints _ANSI_ARGS_((double p1[], - double p2[], double width, int project, - double m1[], double m2[])); -/* 32 */ -EXTERN TkCursor * TkGetCursorByName _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Window tkwin, Tk_Uid string)); -/* 33 */ -EXTERN CONST84_RETURN char * TkGetDefaultScreenName _ANSI_ARGS_(( - Tcl_Interp * interp, CONST char * screenName)); -/* 34 */ -EXTERN TkDisplay * TkGetDisplay _ANSI_ARGS_((Display * display)); -/* 35 */ -EXTERN int TkGetDisplayOf _ANSI_ARGS_((Tcl_Interp * interp, - int objc, Tcl_Obj *CONST objv[], - Tk_Window * tkwinPtr)); -/* 36 */ -EXTERN TkWindow * TkGetFocusWin _ANSI_ARGS_((TkWindow * winPtr)); -/* 37 */ -EXTERN int TkGetInterpNames _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Window tkwin)); -/* 38 */ -EXTERN int TkGetMiterPoints _ANSI_ARGS_((double p1[], - double p2[], double p3[], double width, - double m1[], double m2[])); -/* 39 */ -EXTERN void TkGetPointerCoords _ANSI_ARGS_((Tk_Window tkwin, - int * xPtr, int * yPtr)); -/* 40 */ -EXTERN void TkGetServerInfo _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Window tkwin)); -/* 41 */ -EXTERN void TkGrabDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 42 */ -EXTERN int TkGrabState _ANSI_ARGS_((TkWindow * winPtr)); -/* 43 */ -EXTERN void TkIncludePoint _ANSI_ARGS_((Tk_Item * itemPtr, - double * pointPtr)); -/* 44 */ -EXTERN void TkInOutEvents _ANSI_ARGS_((XEvent * eventPtr, - TkWindow * sourcePtr, TkWindow * destPtr, - int leaveType, int enterType, - Tcl_QueuePosition position)); -/* 45 */ -EXTERN void TkInstallFrameMenu _ANSI_ARGS_((Tk_Window tkwin)); -/* 46 */ -EXTERN char * TkKeysymToString _ANSI_ARGS_((KeySym keysym)); -/* 47 */ -EXTERN int TkLineToArea _ANSI_ARGS_((double end1Ptr[], - double end2Ptr[], double rectPtr[])); -/* 48 */ -EXTERN double TkLineToPoint _ANSI_ARGS_((double end1Ptr[], - double end2Ptr[], double pointPtr[])); -/* 49 */ -EXTERN int TkMakeBezierCurve _ANSI_ARGS_((Tk_Canvas canvas, - double * pointPtr, int numPoints, - int numSteps, XPoint xPoints[], - double dblPoints[])); -/* 50 */ -EXTERN void TkMakeBezierPostscript _ANSI_ARGS_(( - Tcl_Interp * interp, Tk_Canvas canvas, - double * pointPtr, int numPoints)); -/* 51 */ -EXTERN void TkOptionClassChanged _ANSI_ARGS_((TkWindow * winPtr)); -/* 52 */ -EXTERN void TkOptionDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 53 */ -EXTERN int TkOvalToArea _ANSI_ARGS_((double * ovalPtr, - double * rectPtr)); -/* 54 */ -EXTERN double TkOvalToPoint _ANSI_ARGS_((double ovalPtr[], - double width, int filled, double pointPtr[])); -/* 55 */ -EXTERN int TkpChangeFocus _ANSI_ARGS_((TkWindow * winPtr, - int force)); -/* 56 */ -EXTERN void TkpCloseDisplay _ANSI_ARGS_((TkDisplay * dispPtr)); -/* 57 */ -EXTERN void TkpClaimFocus _ANSI_ARGS_((TkWindow * topLevelPtr, - int force)); -/* 58 */ -EXTERN void TkpDisplayWarning _ANSI_ARGS_((CONST char * msg, - CONST char * title)); -/* 59 */ -EXTERN void TkpGetAppName _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_DString * name)); -/* 60 */ -EXTERN TkWindow * TkpGetOtherWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 61 */ -EXTERN TkWindow * TkpGetWrapperWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 62 */ -EXTERN int TkpInit _ANSI_ARGS_((Tcl_Interp * interp)); -/* 63 */ -EXTERN void TkpInitializeMenuBindings _ANSI_ARGS_(( - Tcl_Interp * interp, - Tk_BindingTable bindingTable)); -/* 64 */ -EXTERN void TkpMakeContainer _ANSI_ARGS_((Tk_Window tkwin)); -/* 65 */ -EXTERN void TkpMakeMenuWindow _ANSI_ARGS_((Tk_Window tkwin, - int transient)); -/* 66 */ -EXTERN Window TkpMakeWindow _ANSI_ARGS_((TkWindow * winPtr, - Window parent)); -/* 67 */ -EXTERN void TkpMenuNotifyToplevelCreate _ANSI_ARGS_(( - Tcl_Interp * interp1, char * menuName)); -/* 68 */ -EXTERN TkDisplay * TkpOpenDisplay _ANSI_ARGS_(( - CONST char * display_name)); -/* 69 */ -EXTERN int TkPointerEvent _ANSI_ARGS_((XEvent * eventPtr, - TkWindow * winPtr)); -/* 70 */ -EXTERN int TkPolygonToArea _ANSI_ARGS_((double * polyPtr, - int numPoints, double * rectPtr)); -/* 71 */ -EXTERN double TkPolygonToPoint _ANSI_ARGS_((double * polyPtr, - int numPoints, double * pointPtr)); -/* 72 */ -EXTERN int TkPositionInTree _ANSI_ARGS_((TkWindow * winPtr, - TkWindow * treePtr)); -/* 73 */ -EXTERN void TkpRedirectKeyEvent _ANSI_ARGS_((TkWindow * winPtr, - XEvent * eventPtr)); -/* 74 */ -EXTERN void TkpSetMainMenubar _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Window tkwin, char * menuName)); -/* 75 */ -EXTERN int TkpUseWindow _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Window tkwin, CONST char * string)); -/* 76 */ -EXTERN int TkpWindowWasRecentlyDeleted _ANSI_ARGS_((Window win, - TkDisplay * dispPtr)); -/* 77 */ -EXTERN void TkQueueEventForAllChildren _ANSI_ARGS_(( - TkWindow * winPtr, XEvent * eventPtr)); -/* 78 */ -EXTERN int TkReadBitmapFile _ANSI_ARGS_((Display* display, - Drawable d, CONST char* filename, - unsigned int* width_return, - unsigned int* height_return, - Pixmap* bitmap_return, int* x_hot_return, - int* y_hot_return)); -/* 79 */ -EXTERN int TkScrollWindow _ANSI_ARGS_((Tk_Window tkwin, GC gc, - int x, int y, int width, int height, int dx, - int dy, TkRegion damageRgn)); -/* 80 */ -EXTERN void TkSelDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 81 */ -EXTERN void TkSelEventProc _ANSI_ARGS_((Tk_Window tkwin, - XEvent * eventPtr)); -/* 82 */ -EXTERN void TkSelInit _ANSI_ARGS_((Tk_Window tkwin)); -/* 83 */ -EXTERN void TkSelPropProc _ANSI_ARGS_((XEvent * eventPtr)); -/* Slot 84 is reserved */ -/* 85 */ -EXTERN void TkSetWindowMenuBar _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Window tkwin, char * oldMenuName, - char * menuName)); -/* 86 */ -EXTERN KeySym TkStringToKeysym _ANSI_ARGS_((char * name)); -/* 87 */ -EXTERN int TkThickPolyLineToArea _ANSI_ARGS_((double * coordPtr, - int numPoints, double width, int capStyle, - int joinStyle, double * rectPtr)); -/* 88 */ -EXTERN void TkWmAddToColormapWindows _ANSI_ARGS_(( - TkWindow * winPtr)); -/* 89 */ -EXTERN void TkWmDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 90 */ -EXTERN TkWindow * TkWmFocusToplevel _ANSI_ARGS_((TkWindow * winPtr)); -/* 91 */ -EXTERN void TkWmMapWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 92 */ -EXTERN void TkWmNewWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 93 */ -EXTERN void TkWmProtocolEventProc _ANSI_ARGS_((TkWindow * winPtr, - XEvent * evenvPtr)); -/* 94 */ -EXTERN void TkWmRemoveFromColormapWindows _ANSI_ARGS_(( - TkWindow * winPtr)); -/* 95 */ -EXTERN void TkWmRestackToplevel _ANSI_ARGS_((TkWindow * winPtr, - int aboveBelow, TkWindow * otherPtr)); -/* 96 */ -EXTERN void TkWmSetClass _ANSI_ARGS_((TkWindow * winPtr)); -/* 97 */ -EXTERN void TkWmUnmapWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 98 */ -EXTERN Tcl_Obj * TkDebugBitmap _ANSI_ARGS_((Tk_Window tkwin, - char * name)); -/* 99 */ -EXTERN Tcl_Obj * TkDebugBorder _ANSI_ARGS_((Tk_Window tkwin, - char * name)); -/* 100 */ -EXTERN Tcl_Obj * TkDebugCursor _ANSI_ARGS_((Tk_Window tkwin, - char * name)); -/* 101 */ -EXTERN Tcl_Obj * TkDebugColor _ANSI_ARGS_((Tk_Window tkwin, - char * name)); -/* 102 */ -EXTERN Tcl_Obj * TkDebugConfig _ANSI_ARGS_((Tcl_Interp * interp, - Tk_OptionTable table)); -/* 103 */ -EXTERN Tcl_Obj * TkDebugFont _ANSI_ARGS_((Tk_Window tkwin, - char * name)); -/* 104 */ -EXTERN int TkFindStateNumObj _ANSI_ARGS_((Tcl_Interp * interp, - Tcl_Obj * optionPtr, - CONST TkStateMap * mapPtr, Tcl_Obj * keyPtr)); -/* 105 */ -EXTERN Tcl_HashTable * TkGetBitmapPredefTable _ANSI_ARGS_((void)); -/* 106 */ -EXTERN TkDisplay * TkGetDisplayList _ANSI_ARGS_((void)); -/* 107 */ -EXTERN TkMainInfo * TkGetMainInfoList _ANSI_ARGS_((void)); -/* 108 */ -EXTERN int TkGetWindowFromObj _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Window tkwin, Tcl_Obj * objPtr, - Tk_Window * windowPtr)); -/* 109 */ -EXTERN char * TkpGetString _ANSI_ARGS_((TkWindow * winPtr, - XEvent * eventPtr, Tcl_DString * dsPtr)); -/* 110 */ -EXTERN void TkpGetSubFonts _ANSI_ARGS_((Tcl_Interp * interp, - Tk_Font tkfont)); -/* 111 */ -EXTERN Tcl_Obj * TkpGetSystemDefault _ANSI_ARGS_((Tk_Window tkwin, - CONST char * dbName, CONST char * className)); -/* 112 */ -EXTERN void TkpMenuThreadInit _ANSI_ARGS_((void)); -#ifdef __WIN32__ -/* 113 */ -EXTERN void TkClipBox _ANSI_ARGS_((TkRegion rgn, - XRectangle* rect_return)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 113 */ -EXTERN void TkClipBox _ANSI_ARGS_((TkRegion rgn, - XRectangle* rect_return)); -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -/* 113 */ -EXTERN void TkClipBox _ANSI_ARGS_((TkRegion rgn, - XRectangle* rect_return)); -#endif /* MAC_OSX_TK */ -#ifdef __WIN32__ -/* 114 */ -EXTERN TkRegion TkCreateRegion _ANSI_ARGS_((void)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 114 */ -EXTERN TkRegion TkCreateRegion _ANSI_ARGS_((void)); -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -/* 114 */ -EXTERN TkRegion TkCreateRegion _ANSI_ARGS_((void)); -#endif /* MAC_OSX_TK */ -#ifdef __WIN32__ -/* 115 */ -EXTERN void TkDestroyRegion _ANSI_ARGS_((TkRegion rgn)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 115 */ -EXTERN void TkDestroyRegion _ANSI_ARGS_((TkRegion rgn)); -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -/* 115 */ -EXTERN void TkDestroyRegion _ANSI_ARGS_((TkRegion rgn)); -#endif /* MAC_OSX_TK */ -#ifdef __WIN32__ -/* 116 */ -EXTERN void TkIntersectRegion _ANSI_ARGS_((TkRegion sra, - TkRegion srcb, TkRegion dr_return)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 116 */ -EXTERN void TkIntersectRegion _ANSI_ARGS_((TkRegion sra, - TkRegion srcb, TkRegion dr_return)); -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -/* 116 */ -EXTERN void TkIntersectRegion _ANSI_ARGS_((TkRegion sra, - TkRegion srcb, TkRegion dr_return)); -#endif /* MAC_OSX_TK */ -#ifdef __WIN32__ -/* 117 */ -EXTERN int TkRectInRegion _ANSI_ARGS_((TkRegion rgn, int x, - int y, unsigned int width, - unsigned int height)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 117 */ -EXTERN int TkRectInRegion _ANSI_ARGS_((TkRegion rgn, int x, - int y, unsigned int width, - unsigned int height)); -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -/* 117 */ -EXTERN int TkRectInRegion _ANSI_ARGS_((TkRegion rgn, int x, - int y, unsigned int width, - unsigned int height)); -#endif /* MAC_OSX_TK */ -#ifdef __WIN32__ -/* 118 */ -EXTERN void TkSetRegion _ANSI_ARGS_((Display* display, GC gc, - TkRegion rgn)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 118 */ -EXTERN void TkSetRegion _ANSI_ARGS_((Display* display, GC gc, - TkRegion rgn)); -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -/* 118 */ -EXTERN void TkSetRegion _ANSI_ARGS_((Display* display, GC gc, - TkRegion rgn)); -#endif /* MAC_OSX_TK */ -#ifdef __WIN32__ -/* 119 */ -EXTERN void TkUnionRectWithRegion _ANSI_ARGS_((XRectangle* rect, - TkRegion src, TkRegion dr_return)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 119 */ -EXTERN void TkUnionRectWithRegion _ANSI_ARGS_((XRectangle* rect, - TkRegion src, TkRegion dr_return)); -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -/* 119 */ -EXTERN void TkUnionRectWithRegion _ANSI_ARGS_((XRectangle* rect, - TkRegion src, TkRegion dr_return)); -#endif /* MAC_OSX_TK */ -/* Slot 120 is reserved */ -#ifdef MAC_TCL -/* 121 */ -EXTERN Pixmap TkpCreateNativeBitmap _ANSI_ARGS_((Display * display, - CONST char * source)); -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -/* 121 */ -EXTERN Pixmap TkpCreateNativeBitmap _ANSI_ARGS_((Display * display, - CONST char * source)); -#endif /* MAC_OSX_TK */ -#ifdef MAC_TCL -/* 122 */ -EXTERN void TkpDefineNativeBitmaps _ANSI_ARGS_((void)); -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -/* 122 */ -EXTERN void TkpDefineNativeBitmaps _ANSI_ARGS_((void)); -#endif /* MAC_OSX_TK */ -/* Slot 123 is reserved */ -#ifdef MAC_TCL -/* 124 */ -EXTERN Pixmap TkpGetNativeAppBitmap _ANSI_ARGS_((Display * display, - CONST char * name, int * width, int * height)); -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -/* 124 */ -EXTERN Pixmap TkpGetNativeAppBitmap _ANSI_ARGS_((Display * display, - CONST char * name, int * width, int * height)); -#endif /* MAC_OSX_TK */ -/* Slot 125 is reserved */ -/* Slot 126 is reserved */ -/* Slot 127 is reserved */ -/* Slot 128 is reserved */ -/* Slot 129 is reserved */ -/* Slot 130 is reserved */ -/* Slot 131 is reserved */ -/* Slot 132 is reserved */ -/* Slot 133 is reserved */ -/* Slot 134 is reserved */ -/* 135 */ -EXTERN void TkpDrawHighlightBorder _ANSI_ARGS_((Tk_Window tkwin, - GC fgGC, GC bgGC, int highlightWidth, - Drawable drawable)); -/* 136 */ -EXTERN void TkSetFocusWin _ANSI_ARGS_((TkWindow * winPtr, - int force)); -/* 137 */ -EXTERN void TkpSetKeycodeAndState _ANSI_ARGS_((Tk_Window tkwin, - KeySym keySym, XEvent * eventPtr)); -/* 138 */ -EXTERN KeySym TkpGetKeySym _ANSI_ARGS_((TkDisplay * dispPtr, - XEvent * eventPtr)); -/* 139 */ -EXTERN void TkpInitKeymapInfo _ANSI_ARGS_((TkDisplay * dispPtr)); -/* 140 */ -EXTERN TkRegion TkPhotoGetValidRegion _ANSI_ARGS_(( - Tk_PhotoHandle handle)); -/* 141 */ -EXTERN TkWindow ** TkWmStackorderToplevel _ANSI_ARGS_(( - TkWindow * parentPtr)); -/* 142 */ -EXTERN void TkFocusFree _ANSI_ARGS_((TkMainInfo * mainPtr)); -/* 143 */ -EXTERN void TkClipCleanup _ANSI_ARGS_((TkDisplay * dispPtr)); -/* 144 */ -EXTERN void TkGCCleanup _ANSI_ARGS_((TkDisplay * dispPtr)); -#ifdef __WIN32__ -/* 145 */ -EXTERN void TkSubtractRegion _ANSI_ARGS_((TkRegion sra, - TkRegion srcb, TkRegion dr_return)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 145 */ -EXTERN void TkSubtractRegion _ANSI_ARGS_((TkRegion sra, - TkRegion srcb, TkRegion dr_return)); -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -/* 145 */ -EXTERN void TkSubtractRegion _ANSI_ARGS_((TkRegion sra, - TkRegion srcb, TkRegion dr_return)); -#endif /* MAC_OSX_TK */ -/* 146 */ -EXTERN void TkStylePkgInit _ANSI_ARGS_((TkMainInfo * mainPtr)); -/* 147 */ -EXTERN void TkStylePkgFree _ANSI_ARGS_((TkMainInfo * mainPtr)); -/* 148 */ -EXTERN Tk_Window TkToplevelWindowForCommand _ANSI_ARGS_(( - Tcl_Interp * interp, CONST char * cmdName)); -/* 149 */ -EXTERN CONST Tk_OptionSpec * TkGetOptionSpec _ANSI_ARGS_((CONST char * name, - Tk_OptionTable optionTable)); -/* Slot 150 is reserved */ -/* Slot 151 is reserved */ -/* 152 */ -EXTERN void TkpDrawFrame _ANSI_ARGS_((Tk_Window tkwin, - Tk_3DBorder border, int highlightWidth, - int borderWidth, int relief)); - -typedef struct TkIntStubs { - int magic; - struct TkIntStubHooks *hooks; - - TkWindow * (*tkAllocWindow) _ANSI_ARGS_((TkDisplay * dispPtr, int screenNum, TkWindow * parentPtr)); /* 0 */ - void (*tkBezierPoints) _ANSI_ARGS_((double control[], int numSteps, double * coordPtr)); /* 1 */ - void (*tkBezierScreenPoints) _ANSI_ARGS_((Tk_Canvas canvas, double control[], int numSteps, XPoint * xPointPtr)); /* 2 */ - void (*tkBindDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 3 */ - void (*tkBindEventProc) _ANSI_ARGS_((TkWindow * winPtr, XEvent * eventPtr)); /* 4 */ - void (*tkBindFree) _ANSI_ARGS_((TkMainInfo * mainPtr)); /* 5 */ - void (*tkBindInit) _ANSI_ARGS_((TkMainInfo * mainPtr)); /* 6 */ - void (*tkChangeEventWindow) _ANSI_ARGS_((XEvent * eventPtr, TkWindow * winPtr)); /* 7 */ - int (*tkClipInit) _ANSI_ARGS_((Tcl_Interp * interp, TkDisplay * dispPtr)); /* 8 */ - void (*tkComputeAnchor) _ANSI_ARGS_((Tk_Anchor anchor, Tk_Window tkwin, int padX, int padY, int innerWidth, int innerHeight, int * xPtr, int * yPtr)); /* 9 */ - int (*tkCopyAndGlobalEval) _ANSI_ARGS_((Tcl_Interp * interp, char * script)); /* 10 */ - unsigned long (*tkCreateBindingProcedure) _ANSI_ARGS_((Tcl_Interp * interp, Tk_BindingTable bindingTable, ClientData object, CONST char * eventString, TkBindEvalProc * evalProc, TkBindFreeProc * freeProc, ClientData clientData)); /* 11 */ - TkCursor * (*tkCreateCursorFromData) _ANSI_ARGS_((Tk_Window tkwin, CONST char * source, CONST char * mask, int width, int height, int xHot, int yHot, XColor fg, XColor bg)); /* 12 */ - int (*tkCreateFrame) _ANSI_ARGS_((ClientData clientData, Tcl_Interp * interp, int argc, char ** argv, int toplevel, char * appName)); /* 13 */ - Tk_Window (*tkCreateMainWindow) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * screenName, char * baseName)); /* 14 */ - Time (*tkCurrentTime) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 15 */ - void (*tkDeleteAllImages) _ANSI_ARGS_((TkMainInfo * mainPtr)); /* 16 */ - void (*tkDoConfigureNotify) _ANSI_ARGS_((TkWindow * winPtr)); /* 17 */ - void (*tkDrawInsetFocusHighlight) _ANSI_ARGS_((Tk_Window tkwin, GC gc, int width, Drawable drawable, int padding)); /* 18 */ - void (*tkEventDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 19 */ - void (*tkFillPolygon) _ANSI_ARGS_((Tk_Canvas canvas, double * coordPtr, int numPoints, Display * display, Drawable drawable, GC gc, GC outlineGC)); /* 20 */ - int (*tkFindStateNum) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * option, CONST TkStateMap * mapPtr, CONST char * strKey)); /* 21 */ - char * (*tkFindStateString) _ANSI_ARGS_((CONST TkStateMap * mapPtr, int numKey)); /* 22 */ - void (*tkFocusDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 23 */ - int (*tkFocusFilterEvent) _ANSI_ARGS_((TkWindow * winPtr, XEvent * eventPtr)); /* 24 */ - TkWindow * (*tkFocusKeyEvent) _ANSI_ARGS_((TkWindow * winPtr, XEvent * eventPtr)); /* 25 */ - void (*tkFontPkgInit) _ANSI_ARGS_((TkMainInfo * mainPtr)); /* 26 */ - void (*tkFontPkgFree) _ANSI_ARGS_((TkMainInfo * mainPtr)); /* 27 */ - void (*tkFreeBindingTags) _ANSI_ARGS_((TkWindow * winPtr)); /* 28 */ - void (*tkpFreeCursor) _ANSI_ARGS_((TkCursor * cursorPtr)); /* 29 */ - char * (*tkGetBitmapData) _ANSI_ARGS_((Tcl_Interp * interp, char * string, char * fileName, int * widthPtr, int * heightPtr, int * hotXPtr, int * hotYPtr)); /* 30 */ - void (*tkGetButtPoints) _ANSI_ARGS_((double p1[], double p2[], double width, int project, double m1[], double m2[])); /* 31 */ - TkCursor * (*tkGetCursorByName) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Window tkwin, Tk_Uid string)); /* 32 */ - CONST84_RETURN char * (*tkGetDefaultScreenName) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * screenName)); /* 33 */ - TkDisplay * (*tkGetDisplay) _ANSI_ARGS_((Display * display)); /* 34 */ - int (*tkGetDisplayOf) _ANSI_ARGS_((Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[], Tk_Window * tkwinPtr)); /* 35 */ - TkWindow * (*tkGetFocusWin) _ANSI_ARGS_((TkWindow * winPtr)); /* 36 */ - int (*tkGetInterpNames) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Window tkwin)); /* 37 */ - int (*tkGetMiterPoints) _ANSI_ARGS_((double p1[], double p2[], double p3[], double width, double m1[], double m2[])); /* 38 */ - void (*tkGetPointerCoords) _ANSI_ARGS_((Tk_Window tkwin, int * xPtr, int * yPtr)); /* 39 */ - void (*tkGetServerInfo) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Window tkwin)); /* 40 */ - void (*tkGrabDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 41 */ - int (*tkGrabState) _ANSI_ARGS_((TkWindow * winPtr)); /* 42 */ - void (*tkIncludePoint) _ANSI_ARGS_((Tk_Item * itemPtr, double * pointPtr)); /* 43 */ - void (*tkInOutEvents) _ANSI_ARGS_((XEvent * eventPtr, TkWindow * sourcePtr, TkWindow * destPtr, int leaveType, int enterType, Tcl_QueuePosition position)); /* 44 */ - void (*tkInstallFrameMenu) _ANSI_ARGS_((Tk_Window tkwin)); /* 45 */ - char * (*tkKeysymToString) _ANSI_ARGS_((KeySym keysym)); /* 46 */ - int (*tkLineToArea) _ANSI_ARGS_((double end1Ptr[], double end2Ptr[], double rectPtr[])); /* 47 */ - double (*tkLineToPoint) _ANSI_ARGS_((double end1Ptr[], double end2Ptr[], double pointPtr[])); /* 48 */ - int (*tkMakeBezierCurve) _ANSI_ARGS_((Tk_Canvas canvas, double * pointPtr, int numPoints, int numSteps, XPoint xPoints[], double dblPoints[])); /* 49 */ - void (*tkMakeBezierPostscript) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Canvas canvas, double * pointPtr, int numPoints)); /* 50 */ - void (*tkOptionClassChanged) _ANSI_ARGS_((TkWindow * winPtr)); /* 51 */ - void (*tkOptionDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 52 */ - int (*tkOvalToArea) _ANSI_ARGS_((double * ovalPtr, double * rectPtr)); /* 53 */ - double (*tkOvalToPoint) _ANSI_ARGS_((double ovalPtr[], double width, int filled, double pointPtr[])); /* 54 */ - int (*tkpChangeFocus) _ANSI_ARGS_((TkWindow * winPtr, int force)); /* 55 */ - void (*tkpCloseDisplay) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 56 */ - void (*tkpClaimFocus) _ANSI_ARGS_((TkWindow * topLevelPtr, int force)); /* 57 */ - void (*tkpDisplayWarning) _ANSI_ARGS_((CONST char * msg, CONST char * title)); /* 58 */ - void (*tkpGetAppName) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_DString * name)); /* 59 */ - TkWindow * (*tkpGetOtherWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 60 */ - TkWindow * (*tkpGetWrapperWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 61 */ - int (*tkpInit) _ANSI_ARGS_((Tcl_Interp * interp)); /* 62 */ - void (*tkpInitializeMenuBindings) _ANSI_ARGS_((Tcl_Interp * interp, Tk_BindingTable bindingTable)); /* 63 */ - void (*tkpMakeContainer) _ANSI_ARGS_((Tk_Window tkwin)); /* 64 */ - void (*tkpMakeMenuWindow) _ANSI_ARGS_((Tk_Window tkwin, int transient)); /* 65 */ - Window (*tkpMakeWindow) _ANSI_ARGS_((TkWindow * winPtr, Window parent)); /* 66 */ - void (*tkpMenuNotifyToplevelCreate) _ANSI_ARGS_((Tcl_Interp * interp1, char * menuName)); /* 67 */ - TkDisplay * (*tkpOpenDisplay) _ANSI_ARGS_((CONST char * display_name)); /* 68 */ - int (*tkPointerEvent) _ANSI_ARGS_((XEvent * eventPtr, TkWindow * winPtr)); /* 69 */ - int (*tkPolygonToArea) _ANSI_ARGS_((double * polyPtr, int numPoints, double * rectPtr)); /* 70 */ - double (*tkPolygonToPoint) _ANSI_ARGS_((double * polyPtr, int numPoints, double * pointPtr)); /* 71 */ - int (*tkPositionInTree) _ANSI_ARGS_((TkWindow * winPtr, TkWindow * treePtr)); /* 72 */ - void (*tkpRedirectKeyEvent) _ANSI_ARGS_((TkWindow * winPtr, XEvent * eventPtr)); /* 73 */ - void (*tkpSetMainMenubar) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Window tkwin, char * menuName)); /* 74 */ - int (*tkpUseWindow) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Window tkwin, CONST char * string)); /* 75 */ - int (*tkpWindowWasRecentlyDeleted) _ANSI_ARGS_((Window win, TkDisplay * dispPtr)); /* 76 */ - void (*tkQueueEventForAllChildren) _ANSI_ARGS_((TkWindow * winPtr, XEvent * eventPtr)); /* 77 */ - int (*tkReadBitmapFile) _ANSI_ARGS_((Display* display, Drawable d, CONST char* filename, unsigned int* width_return, unsigned int* height_return, Pixmap* bitmap_return, int* x_hot_return, int* y_hot_return)); /* 78 */ - int (*tkScrollWindow) _ANSI_ARGS_((Tk_Window tkwin, GC gc, int x, int y, int width, int height, int dx, int dy, TkRegion damageRgn)); /* 79 */ - void (*tkSelDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 80 */ - void (*tkSelEventProc) _ANSI_ARGS_((Tk_Window tkwin, XEvent * eventPtr)); /* 81 */ - void (*tkSelInit) _ANSI_ARGS_((Tk_Window tkwin)); /* 82 */ - void (*tkSelPropProc) _ANSI_ARGS_((XEvent * eventPtr)); /* 83 */ - void *reserved84; - void (*tkSetWindowMenuBar) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Window tkwin, char * oldMenuName, char * menuName)); /* 85 */ - KeySym (*tkStringToKeysym) _ANSI_ARGS_((char * name)); /* 86 */ - int (*tkThickPolyLineToArea) _ANSI_ARGS_((double * coordPtr, int numPoints, double width, int capStyle, int joinStyle, double * rectPtr)); /* 87 */ - void (*tkWmAddToColormapWindows) _ANSI_ARGS_((TkWindow * winPtr)); /* 88 */ - void (*tkWmDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 89 */ - TkWindow * (*tkWmFocusToplevel) _ANSI_ARGS_((TkWindow * winPtr)); /* 90 */ - void (*tkWmMapWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 91 */ - void (*tkWmNewWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 92 */ - void (*tkWmProtocolEventProc) _ANSI_ARGS_((TkWindow * winPtr, XEvent * evenvPtr)); /* 93 */ - void (*tkWmRemoveFromColormapWindows) _ANSI_ARGS_((TkWindow * winPtr)); /* 94 */ - void (*tkWmRestackToplevel) _ANSI_ARGS_((TkWindow * winPtr, int aboveBelow, TkWindow * otherPtr)); /* 95 */ - void (*tkWmSetClass) _ANSI_ARGS_((TkWindow * winPtr)); /* 96 */ - void (*tkWmUnmapWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 97 */ - Tcl_Obj * (*tkDebugBitmap) _ANSI_ARGS_((Tk_Window tkwin, char * name)); /* 98 */ - Tcl_Obj * (*tkDebugBorder) _ANSI_ARGS_((Tk_Window tkwin, char * name)); /* 99 */ - Tcl_Obj * (*tkDebugCursor) _ANSI_ARGS_((Tk_Window tkwin, char * name)); /* 100 */ - Tcl_Obj * (*tkDebugColor) _ANSI_ARGS_((Tk_Window tkwin, char * name)); /* 101 */ - Tcl_Obj * (*tkDebugConfig) _ANSI_ARGS_((Tcl_Interp * interp, Tk_OptionTable table)); /* 102 */ - Tcl_Obj * (*tkDebugFont) _ANSI_ARGS_((Tk_Window tkwin, char * name)); /* 103 */ - int (*tkFindStateNumObj) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Obj * optionPtr, CONST TkStateMap * mapPtr, Tcl_Obj * keyPtr)); /* 104 */ - Tcl_HashTable * (*tkGetBitmapPredefTable) _ANSI_ARGS_((void)); /* 105 */ - TkDisplay * (*tkGetDisplayList) _ANSI_ARGS_((void)); /* 106 */ - TkMainInfo * (*tkGetMainInfoList) _ANSI_ARGS_((void)); /* 107 */ - int (*tkGetWindowFromObj) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Window tkwin, Tcl_Obj * objPtr, Tk_Window * windowPtr)); /* 108 */ - char * (*tkpGetString) _ANSI_ARGS_((TkWindow * winPtr, XEvent * eventPtr, Tcl_DString * dsPtr)); /* 109 */ - void (*tkpGetSubFonts) _ANSI_ARGS_((Tcl_Interp * interp, Tk_Font tkfont)); /* 110 */ - Tcl_Obj * (*tkpGetSystemDefault) _ANSI_ARGS_((Tk_Window tkwin, CONST char * dbName, CONST char * className)); /* 111 */ - void (*tkpMenuThreadInit) _ANSI_ARGS_((void)); /* 112 */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved113; -#endif /* UNIX */ -#ifdef __WIN32__ - void (*tkClipBox) _ANSI_ARGS_((TkRegion rgn, XRectangle* rect_return)); /* 113 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkClipBox) _ANSI_ARGS_((TkRegion rgn, XRectangle* rect_return)); /* 113 */ -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK - void (*tkClipBox) _ANSI_ARGS_((TkRegion rgn, XRectangle* rect_return)); /* 113 */ -#endif /* MAC_OSX_TK */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved114; -#endif /* UNIX */ -#ifdef __WIN32__ - TkRegion (*tkCreateRegion) _ANSI_ARGS_((void)); /* 114 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - TkRegion (*tkCreateRegion) _ANSI_ARGS_((void)); /* 114 */ -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK - TkRegion (*tkCreateRegion) _ANSI_ARGS_((void)); /* 114 */ -#endif /* MAC_OSX_TK */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved115; -#endif /* UNIX */ -#ifdef __WIN32__ - void (*tkDestroyRegion) _ANSI_ARGS_((TkRegion rgn)); /* 115 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkDestroyRegion) _ANSI_ARGS_((TkRegion rgn)); /* 115 */ -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK - void (*tkDestroyRegion) _ANSI_ARGS_((TkRegion rgn)); /* 115 */ -#endif /* MAC_OSX_TK */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved116; -#endif /* UNIX */ -#ifdef __WIN32__ - void (*tkIntersectRegion) _ANSI_ARGS_((TkRegion sra, TkRegion srcb, TkRegion dr_return)); /* 116 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkIntersectRegion) _ANSI_ARGS_((TkRegion sra, TkRegion srcb, TkRegion dr_return)); /* 116 */ -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK - void (*tkIntersectRegion) _ANSI_ARGS_((TkRegion sra, TkRegion srcb, TkRegion dr_return)); /* 116 */ -#endif /* MAC_OSX_TK */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved117; -#endif /* UNIX */ -#ifdef __WIN32__ - int (*tkRectInRegion) _ANSI_ARGS_((TkRegion rgn, int x, int y, unsigned int width, unsigned int height)); /* 117 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - int (*tkRectInRegion) _ANSI_ARGS_((TkRegion rgn, int x, int y, unsigned int width, unsigned int height)); /* 117 */ -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK - int (*tkRectInRegion) _ANSI_ARGS_((TkRegion rgn, int x, int y, unsigned int width, unsigned int height)); /* 117 */ -#endif /* MAC_OSX_TK */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved118; -#endif /* UNIX */ -#ifdef __WIN32__ - void (*tkSetRegion) _ANSI_ARGS_((Display* display, GC gc, TkRegion rgn)); /* 118 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkSetRegion) _ANSI_ARGS_((Display* display, GC gc, TkRegion rgn)); /* 118 */ -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK - void (*tkSetRegion) _ANSI_ARGS_((Display* display, GC gc, TkRegion rgn)); /* 118 */ -#endif /* MAC_OSX_TK */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved119; -#endif /* UNIX */ -#ifdef __WIN32__ - void (*tkUnionRectWithRegion) _ANSI_ARGS_((XRectangle* rect, TkRegion src, TkRegion dr_return)); /* 119 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkUnionRectWithRegion) _ANSI_ARGS_((XRectangle* rect, TkRegion src, TkRegion dr_return)); /* 119 */ -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK - void (*tkUnionRectWithRegion) _ANSI_ARGS_((XRectangle* rect, TkRegion src, TkRegion dr_return)); /* 119 */ -#endif /* MAC_OSX_TK */ - void *reserved120; -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved121; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved121; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - Pixmap (*tkpCreateNativeBitmap) _ANSI_ARGS_((Display * display, CONST char * source)); /* 121 */ -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK - Pixmap (*tkpCreateNativeBitmap) _ANSI_ARGS_((Display * display, CONST char * source)); /* 121 */ -#endif /* MAC_OSX_TK */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved122; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved122; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkpDefineNativeBitmaps) _ANSI_ARGS_((void)); /* 122 */ -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK - void (*tkpDefineNativeBitmaps) _ANSI_ARGS_((void)); /* 122 */ -#endif /* MAC_OSX_TK */ - void *reserved123; -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved124; -#endif /* UNIX */ -#ifdef __WIN32__ - void *reserved124; -#endif /* __WIN32__ */ -#ifdef MAC_TCL - Pixmap (*tkpGetNativeAppBitmap) _ANSI_ARGS_((Display * display, CONST char * name, int * width, int * height)); /* 124 */ -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK - Pixmap (*tkpGetNativeAppBitmap) _ANSI_ARGS_((Display * display, CONST char * name, int * width, int * height)); /* 124 */ -#endif /* MAC_OSX_TK */ - void *reserved125; - void *reserved126; - void *reserved127; - void *reserved128; - void *reserved129; - void *reserved130; - void *reserved131; - void *reserved132; - void *reserved133; - void *reserved134; - void (*tkpDrawHighlightBorder) _ANSI_ARGS_((Tk_Window tkwin, GC fgGC, GC bgGC, int highlightWidth, Drawable drawable)); /* 135 */ - void (*tkSetFocusWin) _ANSI_ARGS_((TkWindow * winPtr, int force)); /* 136 */ - void (*tkpSetKeycodeAndState) _ANSI_ARGS_((Tk_Window tkwin, KeySym keySym, XEvent * eventPtr)); /* 137 */ - KeySym (*tkpGetKeySym) _ANSI_ARGS_((TkDisplay * dispPtr, XEvent * eventPtr)); /* 138 */ - void (*tkpInitKeymapInfo) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 139 */ - TkRegion (*tkPhotoGetValidRegion) _ANSI_ARGS_((Tk_PhotoHandle handle)); /* 140 */ - TkWindow ** (*tkWmStackorderToplevel) _ANSI_ARGS_((TkWindow * parentPtr)); /* 141 */ - void (*tkFocusFree) _ANSI_ARGS_((TkMainInfo * mainPtr)); /* 142 */ - void (*tkClipCleanup) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 143 */ - void (*tkGCCleanup) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 144 */ -#if !defined(__WIN32__) && !defined(MAC_TCL) /* UNIX */ - void *reserved145; -#endif /* UNIX */ -#ifdef __WIN32__ - void (*tkSubtractRegion) _ANSI_ARGS_((TkRegion sra, TkRegion srcb, TkRegion dr_return)); /* 145 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkSubtractRegion) _ANSI_ARGS_((TkRegion sra, TkRegion srcb, TkRegion dr_return)); /* 145 */ -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK - void (*tkSubtractRegion) _ANSI_ARGS_((TkRegion sra, TkRegion srcb, TkRegion dr_return)); /* 145 */ -#endif /* MAC_OSX_TK */ - void (*tkStylePkgInit) _ANSI_ARGS_((TkMainInfo * mainPtr)); /* 146 */ - void (*tkStylePkgFree) _ANSI_ARGS_((TkMainInfo * mainPtr)); /* 147 */ - Tk_Window (*tkToplevelWindowForCommand) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * cmdName)); /* 148 */ - CONST Tk_OptionSpec * (*tkGetOptionSpec) _ANSI_ARGS_((CONST char * name, Tk_OptionTable optionTable)); /* 149 */ - void *reserved150; - void *reserved151; - void (*tkpDrawFrame) _ANSI_ARGS_((Tk_Window tkwin, Tk_3DBorder border, int highlightWidth, int borderWidth, int relief)); /* 152 */ -} TkIntStubs; - -#ifdef __cplusplus -extern "C" { -#endif -extern TkIntStubs *tkIntStubsPtr; -#ifdef __cplusplus -} -#endif - -#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) - -/* - * Inline function declarations: - */ - -#ifndef TkAllocWindow -#define TkAllocWindow \ - (tkIntStubsPtr->tkAllocWindow) /* 0 */ -#endif -#ifndef TkBezierPoints -#define TkBezierPoints \ - (tkIntStubsPtr->tkBezierPoints) /* 1 */ -#endif -#ifndef TkBezierScreenPoints -#define TkBezierScreenPoints \ - (tkIntStubsPtr->tkBezierScreenPoints) /* 2 */ -#endif -#ifndef TkBindDeadWindow -#define TkBindDeadWindow \ - (tkIntStubsPtr->tkBindDeadWindow) /* 3 */ -#endif -#ifndef TkBindEventProc -#define TkBindEventProc \ - (tkIntStubsPtr->tkBindEventProc) /* 4 */ -#endif -#ifndef TkBindFree -#define TkBindFree \ - (tkIntStubsPtr->tkBindFree) /* 5 */ -#endif -#ifndef TkBindInit -#define TkBindInit \ - (tkIntStubsPtr->tkBindInit) /* 6 */ -#endif -#ifndef TkChangeEventWindow -#define TkChangeEventWindow \ - (tkIntStubsPtr->tkChangeEventWindow) /* 7 */ -#endif -#ifndef TkClipInit -#define TkClipInit \ - (tkIntStubsPtr->tkClipInit) /* 8 */ -#endif -#ifndef TkComputeAnchor -#define TkComputeAnchor \ - (tkIntStubsPtr->tkComputeAnchor) /* 9 */ -#endif -#ifndef TkCopyAndGlobalEval -#define TkCopyAndGlobalEval \ - (tkIntStubsPtr->tkCopyAndGlobalEval) /* 10 */ -#endif -#ifndef TkCreateBindingProcedure -#define TkCreateBindingProcedure \ - (tkIntStubsPtr->tkCreateBindingProcedure) /* 11 */ -#endif -#ifndef TkCreateCursorFromData -#define TkCreateCursorFromData \ - (tkIntStubsPtr->tkCreateCursorFromData) /* 12 */ -#endif -#ifndef TkCreateFrame -#define TkCreateFrame \ - (tkIntStubsPtr->tkCreateFrame) /* 13 */ -#endif -#ifndef TkCreateMainWindow -#define TkCreateMainWindow \ - (tkIntStubsPtr->tkCreateMainWindow) /* 14 */ -#endif -#ifndef TkCurrentTime -#define TkCurrentTime \ - (tkIntStubsPtr->tkCurrentTime) /* 15 */ -#endif -#ifndef TkDeleteAllImages -#define TkDeleteAllImages \ - (tkIntStubsPtr->tkDeleteAllImages) /* 16 */ -#endif -#ifndef TkDoConfigureNotify -#define TkDoConfigureNotify \ - (tkIntStubsPtr->tkDoConfigureNotify) /* 17 */ -#endif -#ifndef TkDrawInsetFocusHighlight -#define TkDrawInsetFocusHighlight \ - (tkIntStubsPtr->tkDrawInsetFocusHighlight) /* 18 */ -#endif -#ifndef TkEventDeadWindow -#define TkEventDeadWindow \ - (tkIntStubsPtr->tkEventDeadWindow) /* 19 */ -#endif -#ifndef TkFillPolygon -#define TkFillPolygon \ - (tkIntStubsPtr->tkFillPolygon) /* 20 */ -#endif -#ifndef TkFindStateNum -#define TkFindStateNum \ - (tkIntStubsPtr->tkFindStateNum) /* 21 */ -#endif -#ifndef TkFindStateString -#define TkFindStateString \ - (tkIntStubsPtr->tkFindStateString) /* 22 */ -#endif -#ifndef TkFocusDeadWindow -#define TkFocusDeadWindow \ - (tkIntStubsPtr->tkFocusDeadWindow) /* 23 */ -#endif -#ifndef TkFocusFilterEvent -#define TkFocusFilterEvent \ - (tkIntStubsPtr->tkFocusFilterEvent) /* 24 */ -#endif -#ifndef TkFocusKeyEvent -#define TkFocusKeyEvent \ - (tkIntStubsPtr->tkFocusKeyEvent) /* 25 */ -#endif -#ifndef TkFontPkgInit -#define TkFontPkgInit \ - (tkIntStubsPtr->tkFontPkgInit) /* 26 */ -#endif -#ifndef TkFontPkgFree -#define TkFontPkgFree \ - (tkIntStubsPtr->tkFontPkgFree) /* 27 */ -#endif -#ifndef TkFreeBindingTags -#define TkFreeBindingTags \ - (tkIntStubsPtr->tkFreeBindingTags) /* 28 */ -#endif -#ifndef TkpFreeCursor -#define TkpFreeCursor \ - (tkIntStubsPtr->tkpFreeCursor) /* 29 */ -#endif -#ifndef TkGetBitmapData -#define TkGetBitmapData \ - (tkIntStubsPtr->tkGetBitmapData) /* 30 */ -#endif -#ifndef TkGetButtPoints -#define TkGetButtPoints \ - (tkIntStubsPtr->tkGetButtPoints) /* 31 */ -#endif -#ifndef TkGetCursorByName -#define TkGetCursorByName \ - (tkIntStubsPtr->tkGetCursorByName) /* 32 */ -#endif -#ifndef TkGetDefaultScreenName -#define TkGetDefaultScreenName \ - (tkIntStubsPtr->tkGetDefaultScreenName) /* 33 */ -#endif -#ifndef TkGetDisplay -#define TkGetDisplay \ - (tkIntStubsPtr->tkGetDisplay) /* 34 */ -#endif -#ifndef TkGetDisplayOf -#define TkGetDisplayOf \ - (tkIntStubsPtr->tkGetDisplayOf) /* 35 */ -#endif -#ifndef TkGetFocusWin -#define TkGetFocusWin \ - (tkIntStubsPtr->tkGetFocusWin) /* 36 */ -#endif -#ifndef TkGetInterpNames -#define TkGetInterpNames \ - (tkIntStubsPtr->tkGetInterpNames) /* 37 */ -#endif -#ifndef TkGetMiterPoints -#define TkGetMiterPoints \ - (tkIntStubsPtr->tkGetMiterPoints) /* 38 */ -#endif -#ifndef TkGetPointerCoords -#define TkGetPointerCoords \ - (tkIntStubsPtr->tkGetPointerCoords) /* 39 */ -#endif -#ifndef TkGetServerInfo -#define TkGetServerInfo \ - (tkIntStubsPtr->tkGetServerInfo) /* 40 */ -#endif -#ifndef TkGrabDeadWindow -#define TkGrabDeadWindow \ - (tkIntStubsPtr->tkGrabDeadWindow) /* 41 */ -#endif -#ifndef TkGrabState -#define TkGrabState \ - (tkIntStubsPtr->tkGrabState) /* 42 */ -#endif -#ifndef TkIncludePoint -#define TkIncludePoint \ - (tkIntStubsPtr->tkIncludePoint) /* 43 */ -#endif -#ifndef TkInOutEvents -#define TkInOutEvents \ - (tkIntStubsPtr->tkInOutEvents) /* 44 */ -#endif -#ifndef TkInstallFrameMenu -#define TkInstallFrameMenu \ - (tkIntStubsPtr->tkInstallFrameMenu) /* 45 */ -#endif -#ifndef TkKeysymToString -#define TkKeysymToString \ - (tkIntStubsPtr->tkKeysymToString) /* 46 */ -#endif -#ifndef TkLineToArea -#define TkLineToArea \ - (tkIntStubsPtr->tkLineToArea) /* 47 */ -#endif -#ifndef TkLineToPoint -#define TkLineToPoint \ - (tkIntStubsPtr->tkLineToPoint) /* 48 */ -#endif -#ifndef TkMakeBezierCurve -#define TkMakeBezierCurve \ - (tkIntStubsPtr->tkMakeBezierCurve) /* 49 */ -#endif -#ifndef TkMakeBezierPostscript -#define TkMakeBezierPostscript \ - (tkIntStubsPtr->tkMakeBezierPostscript) /* 50 */ -#endif -#ifndef TkOptionClassChanged -#define TkOptionClassChanged \ - (tkIntStubsPtr->tkOptionClassChanged) /* 51 */ -#endif -#ifndef TkOptionDeadWindow -#define TkOptionDeadWindow \ - (tkIntStubsPtr->tkOptionDeadWindow) /* 52 */ -#endif -#ifndef TkOvalToArea -#define TkOvalToArea \ - (tkIntStubsPtr->tkOvalToArea) /* 53 */ -#endif -#ifndef TkOvalToPoint -#define TkOvalToPoint \ - (tkIntStubsPtr->tkOvalToPoint) /* 54 */ -#endif -#ifndef TkpChangeFocus -#define TkpChangeFocus \ - (tkIntStubsPtr->tkpChangeFocus) /* 55 */ -#endif -#ifndef TkpCloseDisplay -#define TkpCloseDisplay \ - (tkIntStubsPtr->tkpCloseDisplay) /* 56 */ -#endif -#ifndef TkpClaimFocus -#define TkpClaimFocus \ - (tkIntStubsPtr->tkpClaimFocus) /* 57 */ -#endif -#ifndef TkpDisplayWarning -#define TkpDisplayWarning \ - (tkIntStubsPtr->tkpDisplayWarning) /* 58 */ -#endif -#ifndef TkpGetAppName -#define TkpGetAppName \ - (tkIntStubsPtr->tkpGetAppName) /* 59 */ -#endif -#ifndef TkpGetOtherWindow -#define TkpGetOtherWindow \ - (tkIntStubsPtr->tkpGetOtherWindow) /* 60 */ -#endif -#ifndef TkpGetWrapperWindow -#define TkpGetWrapperWindow \ - (tkIntStubsPtr->tkpGetWrapperWindow) /* 61 */ -#endif -#ifndef TkpInit -#define TkpInit \ - (tkIntStubsPtr->tkpInit) /* 62 */ -#endif -#ifndef TkpInitializeMenuBindings -#define TkpInitializeMenuBindings \ - (tkIntStubsPtr->tkpInitializeMenuBindings) /* 63 */ -#endif -#ifndef TkpMakeContainer -#define TkpMakeContainer \ - (tkIntStubsPtr->tkpMakeContainer) /* 64 */ -#endif -#ifndef TkpMakeMenuWindow -#define TkpMakeMenuWindow \ - (tkIntStubsPtr->tkpMakeMenuWindow) /* 65 */ -#endif -#ifndef TkpMakeWindow -#define TkpMakeWindow \ - (tkIntStubsPtr->tkpMakeWindow) /* 66 */ -#endif -#ifndef TkpMenuNotifyToplevelCreate -#define TkpMenuNotifyToplevelCreate \ - (tkIntStubsPtr->tkpMenuNotifyToplevelCreate) /* 67 */ -#endif -#ifndef TkpOpenDisplay -#define TkpOpenDisplay \ - (tkIntStubsPtr->tkpOpenDisplay) /* 68 */ -#endif -#ifndef TkPointerEvent -#define TkPointerEvent \ - (tkIntStubsPtr->tkPointerEvent) /* 69 */ -#endif -#ifndef TkPolygonToArea -#define TkPolygonToArea \ - (tkIntStubsPtr->tkPolygonToArea) /* 70 */ -#endif -#ifndef TkPolygonToPoint -#define TkPolygonToPoint \ - (tkIntStubsPtr->tkPolygonToPoint) /* 71 */ -#endif -#ifndef TkPositionInTree -#define TkPositionInTree \ - (tkIntStubsPtr->tkPositionInTree) /* 72 */ -#endif -#ifndef TkpRedirectKeyEvent -#define TkpRedirectKeyEvent \ - (tkIntStubsPtr->tkpRedirectKeyEvent) /* 73 */ -#endif -#ifndef TkpSetMainMenubar -#define TkpSetMainMenubar \ - (tkIntStubsPtr->tkpSetMainMenubar) /* 74 */ -#endif -#ifndef TkpUseWindow -#define TkpUseWindow \ - (tkIntStubsPtr->tkpUseWindow) /* 75 */ -#endif -#ifndef TkpWindowWasRecentlyDeleted -#define TkpWindowWasRecentlyDeleted \ - (tkIntStubsPtr->tkpWindowWasRecentlyDeleted) /* 76 */ -#endif -#ifndef TkQueueEventForAllChildren -#define TkQueueEventForAllChildren \ - (tkIntStubsPtr->tkQueueEventForAllChildren) /* 77 */ -#endif -#ifndef TkReadBitmapFile -#define TkReadBitmapFile \ - (tkIntStubsPtr->tkReadBitmapFile) /* 78 */ -#endif -#ifndef TkScrollWindow -#define TkScrollWindow \ - (tkIntStubsPtr->tkScrollWindow) /* 79 */ -#endif -#ifndef TkSelDeadWindow -#define TkSelDeadWindow \ - (tkIntStubsPtr->tkSelDeadWindow) /* 80 */ -#endif -#ifndef TkSelEventProc -#define TkSelEventProc \ - (tkIntStubsPtr->tkSelEventProc) /* 81 */ -#endif -#ifndef TkSelInit -#define TkSelInit \ - (tkIntStubsPtr->tkSelInit) /* 82 */ -#endif -#ifndef TkSelPropProc -#define TkSelPropProc \ - (tkIntStubsPtr->tkSelPropProc) /* 83 */ -#endif -/* Slot 84 is reserved */ -#ifndef TkSetWindowMenuBar -#define TkSetWindowMenuBar \ - (tkIntStubsPtr->tkSetWindowMenuBar) /* 85 */ -#endif -#ifndef TkStringToKeysym -#define TkStringToKeysym \ - (tkIntStubsPtr->tkStringToKeysym) /* 86 */ -#endif -#ifndef TkThickPolyLineToArea -#define TkThickPolyLineToArea \ - (tkIntStubsPtr->tkThickPolyLineToArea) /* 87 */ -#endif -#ifndef TkWmAddToColormapWindows -#define TkWmAddToColormapWindows \ - (tkIntStubsPtr->tkWmAddToColormapWindows) /* 88 */ -#endif -#ifndef TkWmDeadWindow -#define TkWmDeadWindow \ - (tkIntStubsPtr->tkWmDeadWindow) /* 89 */ -#endif -#ifndef TkWmFocusToplevel -#define TkWmFocusToplevel \ - (tkIntStubsPtr->tkWmFocusToplevel) /* 90 */ -#endif -#ifndef TkWmMapWindow -#define TkWmMapWindow \ - (tkIntStubsPtr->tkWmMapWindow) /* 91 */ -#endif -#ifndef TkWmNewWindow -#define TkWmNewWindow \ - (tkIntStubsPtr->tkWmNewWindow) /* 92 */ -#endif -#ifndef TkWmProtocolEventProc -#define TkWmProtocolEventProc \ - (tkIntStubsPtr->tkWmProtocolEventProc) /* 93 */ -#endif -#ifndef TkWmRemoveFromColormapWindows -#define TkWmRemoveFromColormapWindows \ - (tkIntStubsPtr->tkWmRemoveFromColormapWindows) /* 94 */ -#endif -#ifndef TkWmRestackToplevel -#define TkWmRestackToplevel \ - (tkIntStubsPtr->tkWmRestackToplevel) /* 95 */ -#endif -#ifndef TkWmSetClass -#define TkWmSetClass \ - (tkIntStubsPtr->tkWmSetClass) /* 96 */ -#endif -#ifndef TkWmUnmapWindow -#define TkWmUnmapWindow \ - (tkIntStubsPtr->tkWmUnmapWindow) /* 97 */ -#endif -#ifndef TkDebugBitmap -#define TkDebugBitmap \ - (tkIntStubsPtr->tkDebugBitmap) /* 98 */ -#endif -#ifndef TkDebugBorder -#define TkDebugBorder \ - (tkIntStubsPtr->tkDebugBorder) /* 99 */ -#endif -#ifndef TkDebugCursor -#define TkDebugCursor \ - (tkIntStubsPtr->tkDebugCursor) /* 100 */ -#endif -#ifndef TkDebugColor -#define TkDebugColor \ - (tkIntStubsPtr->tkDebugColor) /* 101 */ -#endif -#ifndef TkDebugConfig -#define TkDebugConfig \ - (tkIntStubsPtr->tkDebugConfig) /* 102 */ -#endif -#ifndef TkDebugFont -#define TkDebugFont \ - (tkIntStubsPtr->tkDebugFont) /* 103 */ -#endif -#ifndef TkFindStateNumObj -#define TkFindStateNumObj \ - (tkIntStubsPtr->tkFindStateNumObj) /* 104 */ -#endif -#ifndef TkGetBitmapPredefTable -#define TkGetBitmapPredefTable \ - (tkIntStubsPtr->tkGetBitmapPredefTable) /* 105 */ -#endif -#ifndef TkGetDisplayList -#define TkGetDisplayList \ - (tkIntStubsPtr->tkGetDisplayList) /* 106 */ -#endif -#ifndef TkGetMainInfoList -#define TkGetMainInfoList \ - (tkIntStubsPtr->tkGetMainInfoList) /* 107 */ -#endif -#ifndef TkGetWindowFromObj -#define TkGetWindowFromObj \ - (tkIntStubsPtr->tkGetWindowFromObj) /* 108 */ -#endif -#ifndef TkpGetString -#define TkpGetString \ - (tkIntStubsPtr->tkpGetString) /* 109 */ -#endif -#ifndef TkpGetSubFonts -#define TkpGetSubFonts \ - (tkIntStubsPtr->tkpGetSubFonts) /* 110 */ -#endif -#ifndef TkpGetSystemDefault -#define TkpGetSystemDefault \ - (tkIntStubsPtr->tkpGetSystemDefault) /* 111 */ -#endif -#ifndef TkpMenuThreadInit -#define TkpMenuThreadInit \ - (tkIntStubsPtr->tkpMenuThreadInit) /* 112 */ -#endif -#ifdef __WIN32__ -#ifndef TkClipBox -#define TkClipBox \ - (tkIntStubsPtr->tkClipBox) /* 113 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkClipBox -#define TkClipBox \ - (tkIntStubsPtr->tkClipBox) /* 113 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -#ifndef TkClipBox -#define TkClipBox \ - (tkIntStubsPtr->tkClipBox) /* 113 */ -#endif -#endif /* MAC_OSX_TK */ -#ifdef __WIN32__ -#ifndef TkCreateRegion -#define TkCreateRegion \ - (tkIntStubsPtr->tkCreateRegion) /* 114 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkCreateRegion -#define TkCreateRegion \ - (tkIntStubsPtr->tkCreateRegion) /* 114 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -#ifndef TkCreateRegion -#define TkCreateRegion \ - (tkIntStubsPtr->tkCreateRegion) /* 114 */ -#endif -#endif /* MAC_OSX_TK */ -#ifdef __WIN32__ -#ifndef TkDestroyRegion -#define TkDestroyRegion \ - (tkIntStubsPtr->tkDestroyRegion) /* 115 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkDestroyRegion -#define TkDestroyRegion \ - (tkIntStubsPtr->tkDestroyRegion) /* 115 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -#ifndef TkDestroyRegion -#define TkDestroyRegion \ - (tkIntStubsPtr->tkDestroyRegion) /* 115 */ -#endif -#endif /* MAC_OSX_TK */ -#ifdef __WIN32__ -#ifndef TkIntersectRegion -#define TkIntersectRegion \ - (tkIntStubsPtr->tkIntersectRegion) /* 116 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkIntersectRegion -#define TkIntersectRegion \ - (tkIntStubsPtr->tkIntersectRegion) /* 116 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -#ifndef TkIntersectRegion -#define TkIntersectRegion \ - (tkIntStubsPtr->tkIntersectRegion) /* 116 */ -#endif -#endif /* MAC_OSX_TK */ -#ifdef __WIN32__ -#ifndef TkRectInRegion -#define TkRectInRegion \ - (tkIntStubsPtr->tkRectInRegion) /* 117 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkRectInRegion -#define TkRectInRegion \ - (tkIntStubsPtr->tkRectInRegion) /* 117 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -#ifndef TkRectInRegion -#define TkRectInRegion \ - (tkIntStubsPtr->tkRectInRegion) /* 117 */ -#endif -#endif /* MAC_OSX_TK */ -#ifdef __WIN32__ -#ifndef TkSetRegion -#define TkSetRegion \ - (tkIntStubsPtr->tkSetRegion) /* 118 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkSetRegion -#define TkSetRegion \ - (tkIntStubsPtr->tkSetRegion) /* 118 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -#ifndef TkSetRegion -#define TkSetRegion \ - (tkIntStubsPtr->tkSetRegion) /* 118 */ -#endif -#endif /* MAC_OSX_TK */ -#ifdef __WIN32__ -#ifndef TkUnionRectWithRegion -#define TkUnionRectWithRegion \ - (tkIntStubsPtr->tkUnionRectWithRegion) /* 119 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkUnionRectWithRegion -#define TkUnionRectWithRegion \ - (tkIntStubsPtr->tkUnionRectWithRegion) /* 119 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -#ifndef TkUnionRectWithRegion -#define TkUnionRectWithRegion \ - (tkIntStubsPtr->tkUnionRectWithRegion) /* 119 */ -#endif -#endif /* MAC_OSX_TK */ -/* Slot 120 is reserved */ -#ifdef MAC_TCL -#ifndef TkpCreateNativeBitmap -#define TkpCreateNativeBitmap \ - (tkIntStubsPtr->tkpCreateNativeBitmap) /* 121 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -#ifndef TkpCreateNativeBitmap -#define TkpCreateNativeBitmap \ - (tkIntStubsPtr->tkpCreateNativeBitmap) /* 121 */ -#endif -#endif /* MAC_OSX_TK */ -#ifdef MAC_TCL -#ifndef TkpDefineNativeBitmaps -#define TkpDefineNativeBitmaps \ - (tkIntStubsPtr->tkpDefineNativeBitmaps) /* 122 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -#ifndef TkpDefineNativeBitmaps -#define TkpDefineNativeBitmaps \ - (tkIntStubsPtr->tkpDefineNativeBitmaps) /* 122 */ -#endif -#endif /* MAC_OSX_TK */ -/* Slot 123 is reserved */ -#ifdef MAC_TCL -#ifndef TkpGetNativeAppBitmap -#define TkpGetNativeAppBitmap \ - (tkIntStubsPtr->tkpGetNativeAppBitmap) /* 124 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -#ifndef TkpGetNativeAppBitmap -#define TkpGetNativeAppBitmap \ - (tkIntStubsPtr->tkpGetNativeAppBitmap) /* 124 */ -#endif -#endif /* MAC_OSX_TK */ -/* Slot 125 is reserved */ -/* Slot 126 is reserved */ -/* Slot 127 is reserved */ -/* Slot 128 is reserved */ -/* Slot 129 is reserved */ -/* Slot 130 is reserved */ -/* Slot 131 is reserved */ -/* Slot 132 is reserved */ -/* Slot 133 is reserved */ -/* Slot 134 is reserved */ -#ifndef TkpDrawHighlightBorder -#define TkpDrawHighlightBorder \ - (tkIntStubsPtr->tkpDrawHighlightBorder) /* 135 */ -#endif -#ifndef TkSetFocusWin -#define TkSetFocusWin \ - (tkIntStubsPtr->tkSetFocusWin) /* 136 */ -#endif -#ifndef TkpSetKeycodeAndState -#define TkpSetKeycodeAndState \ - (tkIntStubsPtr->tkpSetKeycodeAndState) /* 137 */ -#endif -#ifndef TkpGetKeySym -#define TkpGetKeySym \ - (tkIntStubsPtr->tkpGetKeySym) /* 138 */ -#endif -#ifndef TkpInitKeymapInfo -#define TkpInitKeymapInfo \ - (tkIntStubsPtr->tkpInitKeymapInfo) /* 139 */ -#endif -#ifndef TkPhotoGetValidRegion -#define TkPhotoGetValidRegion \ - (tkIntStubsPtr->tkPhotoGetValidRegion) /* 140 */ -#endif -#ifndef TkWmStackorderToplevel -#define TkWmStackorderToplevel \ - (tkIntStubsPtr->tkWmStackorderToplevel) /* 141 */ -#endif -#ifndef TkFocusFree -#define TkFocusFree \ - (tkIntStubsPtr->tkFocusFree) /* 142 */ -#endif -#ifndef TkClipCleanup -#define TkClipCleanup \ - (tkIntStubsPtr->tkClipCleanup) /* 143 */ -#endif -#ifndef TkGCCleanup -#define TkGCCleanup \ - (tkIntStubsPtr->tkGCCleanup) /* 144 */ -#endif -#ifdef __WIN32__ -#ifndef TkSubtractRegion -#define TkSubtractRegion \ - (tkIntStubsPtr->tkSubtractRegion) /* 145 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkSubtractRegion -#define TkSubtractRegion \ - (tkIntStubsPtr->tkSubtractRegion) /* 145 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -#ifndef TkSubtractRegion -#define TkSubtractRegion \ - (tkIntStubsPtr->tkSubtractRegion) /* 145 */ -#endif -#endif /* MAC_OSX_TK */ -#ifndef TkStylePkgInit -#define TkStylePkgInit \ - (tkIntStubsPtr->tkStylePkgInit) /* 146 */ -#endif -#ifndef TkStylePkgFree -#define TkStylePkgFree \ - (tkIntStubsPtr->tkStylePkgFree) /* 147 */ -#endif -#ifndef TkToplevelWindowForCommand -#define TkToplevelWindowForCommand \ - (tkIntStubsPtr->tkToplevelWindowForCommand) /* 148 */ -#endif -#ifndef TkGetOptionSpec -#define TkGetOptionSpec \ - (tkIntStubsPtr->tkGetOptionSpec) /* 149 */ -#endif -/* Slot 150 is reserved */ -/* Slot 151 is reserved */ -#ifndef TkpDrawFrame -#define TkpDrawFrame \ - (tkIntStubsPtr->tkpDrawFrame) /* 152 */ -#endif - -#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */ - -/* !END!: Do not edit above this line. */ - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKINTDECLS */ - diff --git a/src/other/togl/include/tcltk/tk8.4/tkIntPlatDecls.h b/src/other/togl/include/tcltk/tk8.4/tkIntPlatDecls.h deleted file mode 100644 index 0b686c25372..00000000000 --- a/src/other/togl/include/tcltk/tk8.4/tkIntPlatDecls.h +++ /dev/null @@ -1,1233 +0,0 @@ -/* - * tkIntPlatDecls.h -- - * - * This file contains the declarations for all platform dependent - * unsupported functions that are exported by the Tk library. These - * interfaces are not guaranteed to remain the same between - * versions. Use at your own risk. - * - * Copyright (c) 1998-1999 by Scriptics Corporation. - * All rights reserved. - * - * RCS: @(#) Id - */ - -#ifndef _TKINTPLATDECLS -#define _TKINTPLATDECLS - -#ifdef BUILD_tk -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * WARNING: This file is automatically generated by the tools/genStubs.tcl - * script. Any modifications to the function declarations below should be made - * in the generic/tkInt.decls script. - */ - -/* !BEGIN!: Do not edit below this line. */ - -/* - * Exported function declarations: - */ - -#ifdef __WIN32__ -/* 0 */ -EXTERN char * TkAlignImageData _ANSI_ARGS_((XImage * image, - int alignment, int bitOrder)); -/* Slot 1 is reserved */ -/* 2 */ -EXTERN void TkGenerateActivateEvents _ANSI_ARGS_(( - TkWindow * winPtr, int active)); -/* 3 */ -EXTERN unsigned long TkpGetMS _ANSI_ARGS_((void)); -/* 4 */ -EXTERN void TkPointerDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 5 */ -EXTERN void TkpPrintWindowId _ANSI_ARGS_((char * buf, - Window window)); -/* 6 */ -EXTERN int TkpScanWindowId _ANSI_ARGS_((Tcl_Interp * interp, - CONST char * string, Window * idPtr)); -/* 7 */ -EXTERN void TkpSetCapture _ANSI_ARGS_((TkWindow * winPtr)); -/* 8 */ -EXTERN void TkpSetCursor _ANSI_ARGS_((TkpCursor cursor)); -/* 9 */ -EXTERN void TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr, - int state)); -/* 10 */ -EXTERN void TkSetPixmapColormap _ANSI_ARGS_((Pixmap pixmap, - Colormap colormap)); -/* 11 */ -EXTERN void TkWinCancelMouseTimer _ANSI_ARGS_((void)); -/* 12 */ -EXTERN void TkWinClipboardRender _ANSI_ARGS_(( - TkDisplay * dispPtr, UINT format)); -/* 13 */ -EXTERN LRESULT TkWinEmbeddedEventProc _ANSI_ARGS_((HWND hwnd, - UINT message, WPARAM wParam, LPARAM lParam)); -/* 14 */ -EXTERN void TkWinFillRect _ANSI_ARGS_((HDC dc, int x, int y, - int width, int height, int pixel)); -/* 15 */ -EXTERN COLORREF TkWinGetBorderPixels _ANSI_ARGS_((Tk_Window tkwin, - Tk_3DBorder border, int which)); -/* 16 */ -EXTERN HDC TkWinGetDrawableDC _ANSI_ARGS_((Display * display, - Drawable d, TkWinDCState* state)); -/* 17 */ -EXTERN int TkWinGetModifierState _ANSI_ARGS_((void)); -/* 18 */ -EXTERN HPALETTE TkWinGetSystemPalette _ANSI_ARGS_((void)); -/* 19 */ -EXTERN HWND TkWinGetWrapperWindow _ANSI_ARGS_((Tk_Window tkwin)); -/* 20 */ -EXTERN int TkWinHandleMenuEvent _ANSI_ARGS_((HWND * phwnd, - UINT * pMessage, WPARAM * pwParam, - LPARAM * plParam, LRESULT * plResult)); -/* 21 */ -EXTERN int TkWinIndexOfColor _ANSI_ARGS_((XColor * colorPtr)); -/* 22 */ -EXTERN void TkWinReleaseDrawableDC _ANSI_ARGS_((Drawable d, - HDC hdc, TkWinDCState* state)); -/* 23 */ -EXTERN LRESULT TkWinResendEvent _ANSI_ARGS_((WNDPROC wndproc, - HWND hwnd, XEvent * eventPtr)); -/* 24 */ -EXTERN HPALETTE TkWinSelectPalette _ANSI_ARGS_((HDC dc, - Colormap colormap)); -/* 25 */ -EXTERN void TkWinSetMenu _ANSI_ARGS_((Tk_Window tkwin, - HMENU hMenu)); -/* 26 */ -EXTERN void TkWinSetWindowPos _ANSI_ARGS_((HWND hwnd, - HWND siblingHwnd, int pos)); -/* 27 */ -EXTERN void TkWinWmCleanup _ANSI_ARGS_((HINSTANCE hInstance)); -/* 28 */ -EXTERN void TkWinXCleanup _ANSI_ARGS_((ClientData clientData)); -/* 29 */ -EXTERN void TkWinXInit _ANSI_ARGS_((HINSTANCE hInstance)); -/* 30 */ -EXTERN void TkWinSetForegroundWindow _ANSI_ARGS_(( - TkWindow * winPtr)); -/* 31 */ -EXTERN void TkWinDialogDebug _ANSI_ARGS_((int debug)); -/* 32 */ -EXTERN Tcl_Obj * TkWinGetMenuSystemDefault _ANSI_ARGS_(( - Tk_Window tkwin, CONST char * dbName, - CONST char * className)); -/* 33 */ -EXTERN int TkWinGetPlatformId _ANSI_ARGS_((void)); -/* 34 */ -EXTERN void TkWinSetHINSTANCE _ANSI_ARGS_((HINSTANCE hInstance)); -/* 35 */ -EXTERN int TkWinGetPlatformTheme _ANSI_ARGS_((void)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 0 */ -EXTERN void TkGenerateActivateEvents _ANSI_ARGS_(( - TkWindow * winPtr, int active)); -/* Slot 1 is reserved */ -/* Slot 2 is reserved */ -/* 3 */ -EXTERN unsigned long TkpGetMS _ANSI_ARGS_((void)); -/* Slot 4 is reserved */ -/* 5 */ -EXTERN void TkPointerDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 6 */ -EXTERN void TkpSetCapture _ANSI_ARGS_((TkWindow * winPtr)); -/* 7 */ -EXTERN void TkpSetCursor _ANSI_ARGS_((TkpCursor cursor)); -/* 8 */ -EXTERN void TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr, - int state)); -/* Slot 9 is reserved */ -/* 10 */ -EXTERN void TkAboutDlg _ANSI_ARGS_((void)); -/* Slot 11 is reserved */ -/* Slot 12 is reserved */ -/* 13 */ -EXTERN Window TkGetTransientMaster _ANSI_ARGS_((TkWindow * winPtr)); -/* 14 */ -EXTERN int TkGenerateButtonEvent _ANSI_ARGS_((int x, int y, - Window window, unsigned int state)); -/* Slot 15 is reserved */ -/* 16 */ -EXTERN void TkGenWMDestroyEvent _ANSI_ARGS_((Tk_Window tkwin)); -/* Slot 17 is reserved */ -/* 18 */ -EXTERN unsigned int TkMacButtonKeyState _ANSI_ARGS_((void)); -/* 19 */ -EXTERN void TkMacClearMenubarActive _ANSI_ARGS_((void)); -/* Slot 20 is reserved */ -/* 21 */ -EXTERN int TkMacDispatchMenuEvent _ANSI_ARGS_((int menuID, - int index)); -/* 22 */ -EXTERN void TkMacInstallCursor _ANSI_ARGS_((int resizeOverride)); -/* Slot 23 is reserved */ -/* 24 */ -EXTERN void TkMacHandleTearoffMenu _ANSI_ARGS_((void)); -/* Slot 25 is reserved */ -/* Slot 26 is reserved */ -/* 27 */ -EXTERN void TkMacDoHLEvent _ANSI_ARGS_((EventRecord * theEvent)); -/* Slot 28 is reserved */ -/* 29 */ -EXTERN Time TkMacGenerateTime _ANSI_ARGS_((void)); -/* Slot 30 is reserved */ -/* 31 */ -EXTERN TkWindow * TkMacGetScrollbarGrowWindow _ANSI_ARGS_(( - TkWindow * winPtr)); -/* 32 */ -EXTERN Window TkMacGetXWindow _ANSI_ARGS_((WindowRef macWinPtr)); -/* 33 */ -EXTERN int TkMacGrowToplevel _ANSI_ARGS_((WindowRef whichWindow, - Point start)); -/* 34 */ -EXTERN void TkMacHandleMenuSelect _ANSI_ARGS_((long mResult, - int optionKeyPressed)); -/* Slot 35 is reserved */ -/* Slot 36 is reserved */ -/* Slot 37 is reserved */ -/* 38 */ -EXTERN void TkMacInvalidateWindow _ANSI_ARGS_(( - MacDrawable * macWin, int flag)); -/* 39 */ -EXTERN int TkMacIsCharacterMissing _ANSI_ARGS_((Tk_Font tkfont, - unsigned int searchChar)); -/* 40 */ -EXTERN void TkMacMakeRealWindowExist _ANSI_ARGS_(( - TkWindow * winPtr)); -/* 41 */ -EXTERN BitMapPtr TkMacMakeStippleMap _ANSI_ARGS_((Drawable d1, - Drawable d2)); -/* 42 */ -EXTERN void TkMacMenuClick _ANSI_ARGS_((void)); -/* 43 */ -EXTERN void TkMacRegisterOffScreenWindow _ANSI_ARGS_(( - Window window, GWorldPtr portPtr)); -/* 44 */ -EXTERN int TkMacResizable _ANSI_ARGS_((TkWindow * winPtr)); -/* Slot 45 is reserved */ -/* 46 */ -EXTERN void TkMacSetHelpMenuItemCount _ANSI_ARGS_((void)); -/* 47 */ -EXTERN void TkMacSetScrollbarGrow _ANSI_ARGS_((TkWindow * winPtr, - int flag)); -/* 48 */ -EXTERN void TkMacSetUpClippingRgn _ANSI_ARGS_((Drawable drawable)); -/* 49 */ -EXTERN void TkMacSetUpGraphicsPort _ANSI_ARGS_((GC gc)); -/* 50 */ -EXTERN void TkMacUpdateClipRgn _ANSI_ARGS_((TkWindow * winPtr)); -/* 51 */ -EXTERN void TkMacUnregisterMacWindow _ANSI_ARGS_(( - GWorldPtr portPtr)); -/* 52 */ -EXTERN int TkMacUseMenuID _ANSI_ARGS_((short macID)); -/* 53 */ -EXTERN RgnHandle TkMacVisableClipRgn _ANSI_ARGS_((TkWindow * winPtr)); -/* 54 */ -EXTERN void TkMacWinBounds _ANSI_ARGS_((TkWindow * winPtr, - Rect * geometry)); -/* 55 */ -EXTERN void TkMacWindowOffset _ANSI_ARGS_((WindowRef wRef, - int * xOffset, int * yOffset)); -/* Slot 56 is reserved */ -/* 57 */ -EXTERN int TkSetMacColor _ANSI_ARGS_((unsigned long pixel, - RGBColor * macColor)); -/* 58 */ -EXTERN void TkSetWMName _ANSI_ARGS_((TkWindow * winPtr, - Tk_Uid titleUid)); -/* 59 */ -EXTERN void TkSuspendClipboard _ANSI_ARGS_((void)); -/* Slot 60 is reserved */ -/* 61 */ -EXTERN int TkMacZoomToplevel _ANSI_ARGS_((WindowPtr whichWindow, - Point where, short zoomPart)); -/* 62 */ -EXTERN Tk_Window Tk_TopCoordsToWindow _ANSI_ARGS_((Tk_Window tkwin, - int rootX, int rootY, int * newX, int * newY)); -/* 63 */ -EXTERN MacDrawable * TkMacContainerId _ANSI_ARGS_((TkWindow * winPtr)); -/* 64 */ -EXTERN MacDrawable * TkMacGetHostToplevel _ANSI_ARGS_((TkWindow * winPtr)); -/* 65 */ -EXTERN void TkMacPreprocessMenu _ANSI_ARGS_((void)); -/* 66 */ -EXTERN int TkpIsWindowFloating _ANSI_ARGS_((WindowRef window)); -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -/* 0 */ -EXTERN void TkGenerateActivateEvents _ANSI_ARGS_(( - TkWindow * winPtr, int active)); -/* Slot 1 is reserved */ -/* Slot 2 is reserved */ -/* 3 */ -EXTERN void TkPointerDeadWindow _ANSI_ARGS_((TkWindow * winPtr)); -/* 4 */ -EXTERN void TkpSetCapture _ANSI_ARGS_((TkWindow * winPtr)); -/* 5 */ -EXTERN void TkpSetCursor _ANSI_ARGS_((TkpCursor cursor)); -/* 6 */ -EXTERN void TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr, - int state)); -/* 7 */ -EXTERN void TkAboutDlg _ANSI_ARGS_((void)); -/* 8 */ -EXTERN unsigned int TkMacOSXButtonKeyState _ANSI_ARGS_((void)); -/* 9 */ -EXTERN void TkMacOSXClearMenubarActive _ANSI_ARGS_((void)); -/* 10 */ -EXTERN int TkMacOSXDispatchMenuEvent _ANSI_ARGS_((int menuID, - int index)); -/* 11 */ -EXTERN void TkMacOSXInstallCursor _ANSI_ARGS_(( - int resizeOverride)); -/* 12 */ -EXTERN void TkMacOSXHandleTearoffMenu _ANSI_ARGS_((void)); -/* Slot 13 is reserved */ -/* 14 */ -EXTERN int TkMacOSXDoHLEvent _ANSI_ARGS_(( - EventRecord * theEvent)); -/* Slot 15 is reserved */ -/* 16 */ -EXTERN Window TkMacOSXGetXWindow _ANSI_ARGS_((WindowRef macWinPtr)); -/* 17 */ -EXTERN int TkMacOSXGrowToplevel _ANSI_ARGS_(( - WindowRef whichWindow, Point start)); -/* 18 */ -EXTERN void TkMacOSXHandleMenuSelect _ANSI_ARGS_((MenuID theMenu, - MenuItemIndex theItem, int optionKeyPressed)); -/* Slot 19 is reserved */ -/* Slot 20 is reserved */ -/* 21 */ -EXTERN void TkMacOSXInvalidateWindow _ANSI_ARGS_(( - MacDrawable * macWin, int flag)); -/* 22 */ -EXTERN int TkMacOSXIsCharacterMissing _ANSI_ARGS_(( - Tk_Font tkfont, unsigned int searchChar)); -/* 23 */ -EXTERN void TkMacOSXMakeRealWindowExist _ANSI_ARGS_(( - TkWindow * winPtr)); -/* 24 */ -EXTERN BitMapPtr TkMacOSXMakeStippleMap _ANSI_ARGS_((Drawable d1, - Drawable d2)); -/* 25 */ -EXTERN void TkMacOSXMenuClick _ANSI_ARGS_((void)); -/* 26 */ -EXTERN void TkMacOSXRegisterOffScreenWindow _ANSI_ARGS_(( - Window window, GWorldPtr portPtr)); -/* 27 */ -EXTERN int TkMacOSXResizable _ANSI_ARGS_((TkWindow * winPtr)); -/* 28 */ -EXTERN void TkMacOSXSetHelpMenuItemCount _ANSI_ARGS_((void)); -/* 29 */ -EXTERN void TkMacOSXSetScrollbarGrow _ANSI_ARGS_(( - TkWindow * winPtr, int flag)); -/* 30 */ -EXTERN void TkMacOSXSetUpClippingRgn _ANSI_ARGS_(( - Drawable drawable)); -/* 31 */ -EXTERN void TkMacOSXSetUpGraphicsPort _ANSI_ARGS_((GC gc, - GWorldPtr destPort)); -/* 32 */ -EXTERN void TkMacOSXUpdateClipRgn _ANSI_ARGS_((TkWindow * winPtr)); -/* 33 */ -EXTERN void TkMacOSXUnregisterMacWindow _ANSI_ARGS_(( - WindowRef portPtr)); -/* 34 */ -EXTERN int TkMacOSXUseMenuID _ANSI_ARGS_((short macID)); -/* 35 */ -EXTERN RgnHandle TkMacOSXVisableClipRgn _ANSI_ARGS_(( - TkWindow * winPtr)); -/* 36 */ -EXTERN void TkMacOSXWinBounds _ANSI_ARGS_((TkWindow * winPtr, - Rect * geometry)); -/* 37 */ -EXTERN void TkMacOSXWindowOffset _ANSI_ARGS_((WindowRef wRef, - int * xOffset, int * yOffset)); -/* 38 */ -EXTERN int TkSetMacColor _ANSI_ARGS_((unsigned long pixel, - RGBColor * macColor)); -/* 39 */ -EXTERN void TkSetWMName _ANSI_ARGS_((TkWindow * winPtr, - Tk_Uid titleUid)); -/* 40 */ -EXTERN void TkSuspendClipboard _ANSI_ARGS_((void)); -/* 41 */ -EXTERN int TkMacOSXZoomToplevel _ANSI_ARGS_(( - WindowPtr whichWindow, short zoomPart)); -/* 42 */ -EXTERN Tk_Window Tk_TopCoordsToWindow _ANSI_ARGS_((Tk_Window tkwin, - int rootX, int rootY, int * newX, int * newY)); -/* 43 */ -EXTERN MacDrawable * TkMacOSXContainerId _ANSI_ARGS_((TkWindow * winPtr)); -/* 44 */ -EXTERN MacDrawable * TkMacOSXGetHostToplevel _ANSI_ARGS_(( - TkWindow * winPtr)); -/* 45 */ -EXTERN void TkMacOSXPreprocessMenu _ANSI_ARGS_((void)); -/* 46 */ -EXTERN int TkpIsWindowFloating _ANSI_ARGS_((WindowRef window)); -/* 47 */ -EXTERN Tk_Window TkMacOSXGetCapture _ANSI_ARGS_((void)); -/* Slot 48 is reserved */ -/* 49 */ -EXTERN Window TkGetTransientMaster _ANSI_ARGS_((TkWindow * winPtr)); -/* 50 */ -EXTERN int TkGenerateButtonEvent _ANSI_ARGS_((int x, int y, - Window window, unsigned int state)); -/* 51 */ -EXTERN void TkGenWMDestroyEvent _ANSI_ARGS_((Tk_Window tkwin)); -/* Slot 52 is reserved */ -/* 53 */ -EXTERN unsigned long TkpGetMS _ANSI_ARGS_((void)); -#endif /* MAC_OSX_TK */ -#if !(defined(__WIN32__) || defined(MAC_TCL) || defined(MAC_OSX_TK)) /* X11 */ -/* 0 */ -EXTERN void TkCreateXEventSource _ANSI_ARGS_((void)); -/* 1 */ -EXTERN void TkFreeWindowId _ANSI_ARGS_((TkDisplay * dispPtr, - Window w)); -/* 2 */ -EXTERN void TkInitXId _ANSI_ARGS_((TkDisplay * dispPtr)); -/* 3 */ -EXTERN int TkpCmapStressed _ANSI_ARGS_((Tk_Window tkwin, - Colormap colormap)); -/* 4 */ -EXTERN void TkpSync _ANSI_ARGS_((Display * display)); -/* 5 */ -EXTERN Window TkUnixContainerId _ANSI_ARGS_((TkWindow * winPtr)); -/* 6 */ -EXTERN int TkUnixDoOneXEvent _ANSI_ARGS_((Tcl_Time * timePtr)); -/* 7 */ -EXTERN void TkUnixSetMenubar _ANSI_ARGS_((Tk_Window tkwin, - Tk_Window menubar)); -/* 8 */ -EXTERN int TkpScanWindowId _ANSI_ARGS_((Tcl_Interp * interp, - CONST char * string, Window * idPtr)); -/* 9 */ -EXTERN void TkWmCleanup _ANSI_ARGS_((TkDisplay * dispPtr)); -/* 10 */ -EXTERN void TkSendCleanup _ANSI_ARGS_((TkDisplay * dispPtr)); -/* 11 */ -EXTERN void TkFreeXId _ANSI_ARGS_((TkDisplay * dispPtr)); -/* 12 */ -EXTERN int TkpWmSetState _ANSI_ARGS_((TkWindow * winPtr, - int state)); -#endif /* X11 */ - -typedef struct TkIntPlatStubs { - int magic; - struct TkIntPlatStubHooks *hooks; - -#ifdef __WIN32__ - char * (*tkAlignImageData) _ANSI_ARGS_((XImage * image, int alignment, int bitOrder)); /* 0 */ - void *reserved1; - void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow * winPtr, int active)); /* 2 */ - unsigned long (*tkpGetMS) _ANSI_ARGS_((void)); /* 3 */ - void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 4 */ - void (*tkpPrintWindowId) _ANSI_ARGS_((char * buf, Window window)); /* 5 */ - int (*tkpScanWindowId) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * string, Window * idPtr)); /* 6 */ - void (*tkpSetCapture) _ANSI_ARGS_((TkWindow * winPtr)); /* 7 */ - void (*tkpSetCursor) _ANSI_ARGS_((TkpCursor cursor)); /* 8 */ - void (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state)); /* 9 */ - void (*tkSetPixmapColormap) _ANSI_ARGS_((Pixmap pixmap, Colormap colormap)); /* 10 */ - void (*tkWinCancelMouseTimer) _ANSI_ARGS_((void)); /* 11 */ - void (*tkWinClipboardRender) _ANSI_ARGS_((TkDisplay * dispPtr, UINT format)); /* 12 */ - LRESULT (*tkWinEmbeddedEventProc) _ANSI_ARGS_((HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)); /* 13 */ - void (*tkWinFillRect) _ANSI_ARGS_((HDC dc, int x, int y, int width, int height, int pixel)); /* 14 */ - COLORREF (*tkWinGetBorderPixels) _ANSI_ARGS_((Tk_Window tkwin, Tk_3DBorder border, int which)); /* 15 */ - HDC (*tkWinGetDrawableDC) _ANSI_ARGS_((Display * display, Drawable d, TkWinDCState* state)); /* 16 */ - int (*tkWinGetModifierState) _ANSI_ARGS_((void)); /* 17 */ - HPALETTE (*tkWinGetSystemPalette) _ANSI_ARGS_((void)); /* 18 */ - HWND (*tkWinGetWrapperWindow) _ANSI_ARGS_((Tk_Window tkwin)); /* 19 */ - int (*tkWinHandleMenuEvent) _ANSI_ARGS_((HWND * phwnd, UINT * pMessage, WPARAM * pwParam, LPARAM * plParam, LRESULT * plResult)); /* 20 */ - int (*tkWinIndexOfColor) _ANSI_ARGS_((XColor * colorPtr)); /* 21 */ - void (*tkWinReleaseDrawableDC) _ANSI_ARGS_((Drawable d, HDC hdc, TkWinDCState* state)); /* 22 */ - LRESULT (*tkWinResendEvent) _ANSI_ARGS_((WNDPROC wndproc, HWND hwnd, XEvent * eventPtr)); /* 23 */ - HPALETTE (*tkWinSelectPalette) _ANSI_ARGS_((HDC dc, Colormap colormap)); /* 24 */ - void (*tkWinSetMenu) _ANSI_ARGS_((Tk_Window tkwin, HMENU hMenu)); /* 25 */ - void (*tkWinSetWindowPos) _ANSI_ARGS_((HWND hwnd, HWND siblingHwnd, int pos)); /* 26 */ - void (*tkWinWmCleanup) _ANSI_ARGS_((HINSTANCE hInstance)); /* 27 */ - void (*tkWinXCleanup) _ANSI_ARGS_((ClientData clientData)); /* 28 */ - void (*tkWinXInit) _ANSI_ARGS_((HINSTANCE hInstance)); /* 29 */ - void (*tkWinSetForegroundWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 30 */ - void (*tkWinDialogDebug) _ANSI_ARGS_((int debug)); /* 31 */ - Tcl_Obj * (*tkWinGetMenuSystemDefault) _ANSI_ARGS_((Tk_Window tkwin, CONST char * dbName, CONST char * className)); /* 32 */ - int (*tkWinGetPlatformId) _ANSI_ARGS_((void)); /* 33 */ - void (*tkWinSetHINSTANCE) _ANSI_ARGS_((HINSTANCE hInstance)); /* 34 */ - int (*tkWinGetPlatformTheme) _ANSI_ARGS_((void)); /* 35 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow * winPtr, int active)); /* 0 */ - void *reserved1; - void *reserved2; - unsigned long (*tkpGetMS) _ANSI_ARGS_((void)); /* 3 */ - void *reserved4; - void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 5 */ - void (*tkpSetCapture) _ANSI_ARGS_((TkWindow * winPtr)); /* 6 */ - void (*tkpSetCursor) _ANSI_ARGS_((TkpCursor cursor)); /* 7 */ - void (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state)); /* 8 */ - void *reserved9; - void (*tkAboutDlg) _ANSI_ARGS_((void)); /* 10 */ - void *reserved11; - void *reserved12; - Window (*tkGetTransientMaster) _ANSI_ARGS_((TkWindow * winPtr)); /* 13 */ - int (*tkGenerateButtonEvent) _ANSI_ARGS_((int x, int y, Window window, unsigned int state)); /* 14 */ - void *reserved15; - void (*tkGenWMDestroyEvent) _ANSI_ARGS_((Tk_Window tkwin)); /* 16 */ - void *reserved17; - unsigned int (*tkMacButtonKeyState) _ANSI_ARGS_((void)); /* 18 */ - void (*tkMacClearMenubarActive) _ANSI_ARGS_((void)); /* 19 */ - void *reserved20; - int (*tkMacDispatchMenuEvent) _ANSI_ARGS_((int menuID, int index)); /* 21 */ - void (*tkMacInstallCursor) _ANSI_ARGS_((int resizeOverride)); /* 22 */ - void *reserved23; - void (*tkMacHandleTearoffMenu) _ANSI_ARGS_((void)); /* 24 */ - void *reserved25; - void *reserved26; - void (*tkMacDoHLEvent) _ANSI_ARGS_((EventRecord * theEvent)); /* 27 */ - void *reserved28; - Time (*tkMacGenerateTime) _ANSI_ARGS_((void)); /* 29 */ - void *reserved30; - TkWindow * (*tkMacGetScrollbarGrowWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 31 */ - Window (*tkMacGetXWindow) _ANSI_ARGS_((WindowRef macWinPtr)); /* 32 */ - int (*tkMacGrowToplevel) _ANSI_ARGS_((WindowRef whichWindow, Point start)); /* 33 */ - void (*tkMacHandleMenuSelect) _ANSI_ARGS_((long mResult, int optionKeyPressed)); /* 34 */ - void *reserved35; - void *reserved36; - void *reserved37; - void (*tkMacInvalidateWindow) _ANSI_ARGS_((MacDrawable * macWin, int flag)); /* 38 */ - int (*tkMacIsCharacterMissing) _ANSI_ARGS_((Tk_Font tkfont, unsigned int searchChar)); /* 39 */ - void (*tkMacMakeRealWindowExist) _ANSI_ARGS_((TkWindow * winPtr)); /* 40 */ - BitMapPtr (*tkMacMakeStippleMap) _ANSI_ARGS_((Drawable d1, Drawable d2)); /* 41 */ - void (*tkMacMenuClick) _ANSI_ARGS_((void)); /* 42 */ - void (*tkMacRegisterOffScreenWindow) _ANSI_ARGS_((Window window, GWorldPtr portPtr)); /* 43 */ - int (*tkMacResizable) _ANSI_ARGS_((TkWindow * winPtr)); /* 44 */ - void *reserved45; - void (*tkMacSetHelpMenuItemCount) _ANSI_ARGS_((void)); /* 46 */ - void (*tkMacSetScrollbarGrow) _ANSI_ARGS_((TkWindow * winPtr, int flag)); /* 47 */ - void (*tkMacSetUpClippingRgn) _ANSI_ARGS_((Drawable drawable)); /* 48 */ - void (*tkMacSetUpGraphicsPort) _ANSI_ARGS_((GC gc)); /* 49 */ - void (*tkMacUpdateClipRgn) _ANSI_ARGS_((TkWindow * winPtr)); /* 50 */ - void (*tkMacUnregisterMacWindow) _ANSI_ARGS_((GWorldPtr portPtr)); /* 51 */ - int (*tkMacUseMenuID) _ANSI_ARGS_((short macID)); /* 52 */ - RgnHandle (*tkMacVisableClipRgn) _ANSI_ARGS_((TkWindow * winPtr)); /* 53 */ - void (*tkMacWinBounds) _ANSI_ARGS_((TkWindow * winPtr, Rect * geometry)); /* 54 */ - void (*tkMacWindowOffset) _ANSI_ARGS_((WindowRef wRef, int * xOffset, int * yOffset)); /* 55 */ - void *reserved56; - int (*tkSetMacColor) _ANSI_ARGS_((unsigned long pixel, RGBColor * macColor)); /* 57 */ - void (*tkSetWMName) _ANSI_ARGS_((TkWindow * winPtr, Tk_Uid titleUid)); /* 58 */ - void (*tkSuspendClipboard) _ANSI_ARGS_((void)); /* 59 */ - void *reserved60; - int (*tkMacZoomToplevel) _ANSI_ARGS_((WindowPtr whichWindow, Point where, short zoomPart)); /* 61 */ - Tk_Window (*tk_TopCoordsToWindow) _ANSI_ARGS_((Tk_Window tkwin, int rootX, int rootY, int * newX, int * newY)); /* 62 */ - MacDrawable * (*tkMacContainerId) _ANSI_ARGS_((TkWindow * winPtr)); /* 63 */ - MacDrawable * (*tkMacGetHostToplevel) _ANSI_ARGS_((TkWindow * winPtr)); /* 64 */ - void (*tkMacPreprocessMenu) _ANSI_ARGS_((void)); /* 65 */ - int (*tkpIsWindowFloating) _ANSI_ARGS_((WindowRef window)); /* 66 */ -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK - void (*tkGenerateActivateEvents) _ANSI_ARGS_((TkWindow * winPtr, int active)); /* 0 */ - void *reserved1; - void *reserved2; - void (*tkPointerDeadWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 3 */ - void (*tkpSetCapture) _ANSI_ARGS_((TkWindow * winPtr)); /* 4 */ - void (*tkpSetCursor) _ANSI_ARGS_((TkpCursor cursor)); /* 5 */ - void (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state)); /* 6 */ - void (*tkAboutDlg) _ANSI_ARGS_((void)); /* 7 */ - unsigned int (*tkMacOSXButtonKeyState) _ANSI_ARGS_((void)); /* 8 */ - void (*tkMacOSXClearMenubarActive) _ANSI_ARGS_((void)); /* 9 */ - int (*tkMacOSXDispatchMenuEvent) _ANSI_ARGS_((int menuID, int index)); /* 10 */ - void (*tkMacOSXInstallCursor) _ANSI_ARGS_((int resizeOverride)); /* 11 */ - void (*tkMacOSXHandleTearoffMenu) _ANSI_ARGS_((void)); /* 12 */ - void *reserved13; - int (*tkMacOSXDoHLEvent) _ANSI_ARGS_((EventRecord * theEvent)); /* 14 */ - void *reserved15; - Window (*tkMacOSXGetXWindow) _ANSI_ARGS_((WindowRef macWinPtr)); /* 16 */ - int (*tkMacOSXGrowToplevel) _ANSI_ARGS_((WindowRef whichWindow, Point start)); /* 17 */ - void (*tkMacOSXHandleMenuSelect) _ANSI_ARGS_((MenuID theMenu, MenuItemIndex theItem, int optionKeyPressed)); /* 18 */ - void *reserved19; - void *reserved20; - void (*tkMacOSXInvalidateWindow) _ANSI_ARGS_((MacDrawable * macWin, int flag)); /* 21 */ - int (*tkMacOSXIsCharacterMissing) _ANSI_ARGS_((Tk_Font tkfont, unsigned int searchChar)); /* 22 */ - void (*tkMacOSXMakeRealWindowExist) _ANSI_ARGS_((TkWindow * winPtr)); /* 23 */ - BitMapPtr (*tkMacOSXMakeStippleMap) _ANSI_ARGS_((Drawable d1, Drawable d2)); /* 24 */ - void (*tkMacOSXMenuClick) _ANSI_ARGS_((void)); /* 25 */ - void (*tkMacOSXRegisterOffScreenWindow) _ANSI_ARGS_((Window window, GWorldPtr portPtr)); /* 26 */ - int (*tkMacOSXResizable) _ANSI_ARGS_((TkWindow * winPtr)); /* 27 */ - void (*tkMacOSXSetHelpMenuItemCount) _ANSI_ARGS_((void)); /* 28 */ - void (*tkMacOSXSetScrollbarGrow) _ANSI_ARGS_((TkWindow * winPtr, int flag)); /* 29 */ - void (*tkMacOSXSetUpClippingRgn) _ANSI_ARGS_((Drawable drawable)); /* 30 */ - void (*tkMacOSXSetUpGraphicsPort) _ANSI_ARGS_((GC gc, GWorldPtr destPort)); /* 31 */ - void (*tkMacOSXUpdateClipRgn) _ANSI_ARGS_((TkWindow * winPtr)); /* 32 */ - void (*tkMacOSXUnregisterMacWindow) _ANSI_ARGS_((WindowRef portPtr)); /* 33 */ - int (*tkMacOSXUseMenuID) _ANSI_ARGS_((short macID)); /* 34 */ - RgnHandle (*tkMacOSXVisableClipRgn) _ANSI_ARGS_((TkWindow * winPtr)); /* 35 */ - void (*tkMacOSXWinBounds) _ANSI_ARGS_((TkWindow * winPtr, Rect * geometry)); /* 36 */ - void (*tkMacOSXWindowOffset) _ANSI_ARGS_((WindowRef wRef, int * xOffset, int * yOffset)); /* 37 */ - int (*tkSetMacColor) _ANSI_ARGS_((unsigned long pixel, RGBColor * macColor)); /* 38 */ - void (*tkSetWMName) _ANSI_ARGS_((TkWindow * winPtr, Tk_Uid titleUid)); /* 39 */ - void (*tkSuspendClipboard) _ANSI_ARGS_((void)); /* 40 */ - int (*tkMacOSXZoomToplevel) _ANSI_ARGS_((WindowPtr whichWindow, short zoomPart)); /* 41 */ - Tk_Window (*tk_TopCoordsToWindow) _ANSI_ARGS_((Tk_Window tkwin, int rootX, int rootY, int * newX, int * newY)); /* 42 */ - MacDrawable * (*tkMacOSXContainerId) _ANSI_ARGS_((TkWindow * winPtr)); /* 43 */ - MacDrawable * (*tkMacOSXGetHostToplevel) _ANSI_ARGS_((TkWindow * winPtr)); /* 44 */ - void (*tkMacOSXPreprocessMenu) _ANSI_ARGS_((void)); /* 45 */ - int (*tkpIsWindowFloating) _ANSI_ARGS_((WindowRef window)); /* 46 */ - Tk_Window (*tkMacOSXGetCapture) _ANSI_ARGS_((void)); /* 47 */ - void *reserved48; - Window (*tkGetTransientMaster) _ANSI_ARGS_((TkWindow * winPtr)); /* 49 */ - int (*tkGenerateButtonEvent) _ANSI_ARGS_((int x, int y, Window window, unsigned int state)); /* 50 */ - void (*tkGenWMDestroyEvent) _ANSI_ARGS_((Tk_Window tkwin)); /* 51 */ - void *reserved52; - unsigned long (*tkpGetMS) _ANSI_ARGS_((void)); /* 53 */ -#endif /* MAC_OSX_TK */ -#if !(defined(__WIN32__) || defined(MAC_TCL) || defined(MAC_OSX_TK)) /* X11 */ - void (*tkCreateXEventSource) _ANSI_ARGS_((void)); /* 0 */ - void (*tkFreeWindowId) _ANSI_ARGS_((TkDisplay * dispPtr, Window w)); /* 1 */ - void (*tkInitXId) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 2 */ - int (*tkpCmapStressed) _ANSI_ARGS_((Tk_Window tkwin, Colormap colormap)); /* 3 */ - void (*tkpSync) _ANSI_ARGS_((Display * display)); /* 4 */ - Window (*tkUnixContainerId) _ANSI_ARGS_((TkWindow * winPtr)); /* 5 */ - int (*tkUnixDoOneXEvent) _ANSI_ARGS_((Tcl_Time * timePtr)); /* 6 */ - void (*tkUnixSetMenubar) _ANSI_ARGS_((Tk_Window tkwin, Tk_Window menubar)); /* 7 */ - int (*tkpScanWindowId) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * string, Window * idPtr)); /* 8 */ - void (*tkWmCleanup) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 9 */ - void (*tkSendCleanup) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 10 */ - void (*tkFreeXId) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 11 */ - int (*tkpWmSetState) _ANSI_ARGS_((TkWindow * winPtr, int state)); /* 12 */ -#endif /* X11 */ -} TkIntPlatStubs; - -#ifdef __cplusplus -extern "C" { -#endif -extern TkIntPlatStubs *tkIntPlatStubsPtr; -#ifdef __cplusplus -} -#endif - -#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) - -/* - * Inline function declarations: - */ - -#ifdef __WIN32__ -#ifndef TkAlignImageData -#define TkAlignImageData \ - (tkIntPlatStubsPtr->tkAlignImageData) /* 0 */ -#endif -/* Slot 1 is reserved */ -#ifndef TkGenerateActivateEvents -#define TkGenerateActivateEvents \ - (tkIntPlatStubsPtr->tkGenerateActivateEvents) /* 2 */ -#endif -#ifndef TkpGetMS -#define TkpGetMS \ - (tkIntPlatStubsPtr->tkpGetMS) /* 3 */ -#endif -#ifndef TkPointerDeadWindow -#define TkPointerDeadWindow \ - (tkIntPlatStubsPtr->tkPointerDeadWindow) /* 4 */ -#endif -#ifndef TkpPrintWindowId -#define TkpPrintWindowId \ - (tkIntPlatStubsPtr->tkpPrintWindowId) /* 5 */ -#endif -#ifndef TkpScanWindowId -#define TkpScanWindowId \ - (tkIntPlatStubsPtr->tkpScanWindowId) /* 6 */ -#endif -#ifndef TkpSetCapture -#define TkpSetCapture \ - (tkIntPlatStubsPtr->tkpSetCapture) /* 7 */ -#endif -#ifndef TkpSetCursor -#define TkpSetCursor \ - (tkIntPlatStubsPtr->tkpSetCursor) /* 8 */ -#endif -#ifndef TkpWmSetState -#define TkpWmSetState \ - (tkIntPlatStubsPtr->tkpWmSetState) /* 9 */ -#endif -#ifndef TkSetPixmapColormap -#define TkSetPixmapColormap \ - (tkIntPlatStubsPtr->tkSetPixmapColormap) /* 10 */ -#endif -#ifndef TkWinCancelMouseTimer -#define TkWinCancelMouseTimer \ - (tkIntPlatStubsPtr->tkWinCancelMouseTimer) /* 11 */ -#endif -#ifndef TkWinClipboardRender -#define TkWinClipboardRender \ - (tkIntPlatStubsPtr->tkWinClipboardRender) /* 12 */ -#endif -#ifndef TkWinEmbeddedEventProc -#define TkWinEmbeddedEventProc \ - (tkIntPlatStubsPtr->tkWinEmbeddedEventProc) /* 13 */ -#endif -#ifndef TkWinFillRect -#define TkWinFillRect \ - (tkIntPlatStubsPtr->tkWinFillRect) /* 14 */ -#endif -#ifndef TkWinGetBorderPixels -#define TkWinGetBorderPixels \ - (tkIntPlatStubsPtr->tkWinGetBorderPixels) /* 15 */ -#endif -#ifndef TkWinGetDrawableDC -#define TkWinGetDrawableDC \ - (tkIntPlatStubsPtr->tkWinGetDrawableDC) /* 16 */ -#endif -#ifndef TkWinGetModifierState -#define TkWinGetModifierState \ - (tkIntPlatStubsPtr->tkWinGetModifierState) /* 17 */ -#endif -#ifndef TkWinGetSystemPalette -#define TkWinGetSystemPalette \ - (tkIntPlatStubsPtr->tkWinGetSystemPalette) /* 18 */ -#endif -#ifndef TkWinGetWrapperWindow -#define TkWinGetWrapperWindow \ - (tkIntPlatStubsPtr->tkWinGetWrapperWindow) /* 19 */ -#endif -#ifndef TkWinHandleMenuEvent -#define TkWinHandleMenuEvent \ - (tkIntPlatStubsPtr->tkWinHandleMenuEvent) /* 20 */ -#endif -#ifndef TkWinIndexOfColor -#define TkWinIndexOfColor \ - (tkIntPlatStubsPtr->tkWinIndexOfColor) /* 21 */ -#endif -#ifndef TkWinReleaseDrawableDC -#define TkWinReleaseDrawableDC \ - (tkIntPlatStubsPtr->tkWinReleaseDrawableDC) /* 22 */ -#endif -#ifndef TkWinResendEvent -#define TkWinResendEvent \ - (tkIntPlatStubsPtr->tkWinResendEvent) /* 23 */ -#endif -#ifndef TkWinSelectPalette -#define TkWinSelectPalette \ - (tkIntPlatStubsPtr->tkWinSelectPalette) /* 24 */ -#endif -#ifndef TkWinSetMenu -#define TkWinSetMenu \ - (tkIntPlatStubsPtr->tkWinSetMenu) /* 25 */ -#endif -#ifndef TkWinSetWindowPos -#define TkWinSetWindowPos \ - (tkIntPlatStubsPtr->tkWinSetWindowPos) /* 26 */ -#endif -#ifndef TkWinWmCleanup -#define TkWinWmCleanup \ - (tkIntPlatStubsPtr->tkWinWmCleanup) /* 27 */ -#endif -#ifndef TkWinXCleanup -#define TkWinXCleanup \ - (tkIntPlatStubsPtr->tkWinXCleanup) /* 28 */ -#endif -#ifndef TkWinXInit -#define TkWinXInit \ - (tkIntPlatStubsPtr->tkWinXInit) /* 29 */ -#endif -#ifndef TkWinSetForegroundWindow -#define TkWinSetForegroundWindow \ - (tkIntPlatStubsPtr->tkWinSetForegroundWindow) /* 30 */ -#endif -#ifndef TkWinDialogDebug -#define TkWinDialogDebug \ - (tkIntPlatStubsPtr->tkWinDialogDebug) /* 31 */ -#endif -#ifndef TkWinGetMenuSystemDefault -#define TkWinGetMenuSystemDefault \ - (tkIntPlatStubsPtr->tkWinGetMenuSystemDefault) /* 32 */ -#endif -#ifndef TkWinGetPlatformId -#define TkWinGetPlatformId \ - (tkIntPlatStubsPtr->tkWinGetPlatformId) /* 33 */ -#endif -#ifndef TkWinSetHINSTANCE -#define TkWinSetHINSTANCE \ - (tkIntPlatStubsPtr->tkWinSetHINSTANCE) /* 34 */ -#endif -#ifndef TkWinGetPlatformTheme -#define TkWinGetPlatformTheme \ - (tkIntPlatStubsPtr->tkWinGetPlatformTheme) /* 35 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef TkGenerateActivateEvents -#define TkGenerateActivateEvents \ - (tkIntPlatStubsPtr->tkGenerateActivateEvents) /* 0 */ -#endif -/* Slot 1 is reserved */ -/* Slot 2 is reserved */ -#ifndef TkpGetMS -#define TkpGetMS \ - (tkIntPlatStubsPtr->tkpGetMS) /* 3 */ -#endif -/* Slot 4 is reserved */ -#ifndef TkPointerDeadWindow -#define TkPointerDeadWindow \ - (tkIntPlatStubsPtr->tkPointerDeadWindow) /* 5 */ -#endif -#ifndef TkpSetCapture -#define TkpSetCapture \ - (tkIntPlatStubsPtr->tkpSetCapture) /* 6 */ -#endif -#ifndef TkpSetCursor -#define TkpSetCursor \ - (tkIntPlatStubsPtr->tkpSetCursor) /* 7 */ -#endif -#ifndef TkpWmSetState -#define TkpWmSetState \ - (tkIntPlatStubsPtr->tkpWmSetState) /* 8 */ -#endif -/* Slot 9 is reserved */ -#ifndef TkAboutDlg -#define TkAboutDlg \ - (tkIntPlatStubsPtr->tkAboutDlg) /* 10 */ -#endif -/* Slot 11 is reserved */ -/* Slot 12 is reserved */ -#ifndef TkGetTransientMaster -#define TkGetTransientMaster \ - (tkIntPlatStubsPtr->tkGetTransientMaster) /* 13 */ -#endif -#ifndef TkGenerateButtonEvent -#define TkGenerateButtonEvent \ - (tkIntPlatStubsPtr->tkGenerateButtonEvent) /* 14 */ -#endif -/* Slot 15 is reserved */ -#ifndef TkGenWMDestroyEvent -#define TkGenWMDestroyEvent \ - (tkIntPlatStubsPtr->tkGenWMDestroyEvent) /* 16 */ -#endif -/* Slot 17 is reserved */ -#ifndef TkMacButtonKeyState -#define TkMacButtonKeyState \ - (tkIntPlatStubsPtr->tkMacButtonKeyState) /* 18 */ -#endif -#ifndef TkMacClearMenubarActive -#define TkMacClearMenubarActive \ - (tkIntPlatStubsPtr->tkMacClearMenubarActive) /* 19 */ -#endif -/* Slot 20 is reserved */ -#ifndef TkMacDispatchMenuEvent -#define TkMacDispatchMenuEvent \ - (tkIntPlatStubsPtr->tkMacDispatchMenuEvent) /* 21 */ -#endif -#ifndef TkMacInstallCursor -#define TkMacInstallCursor \ - (tkIntPlatStubsPtr->tkMacInstallCursor) /* 22 */ -#endif -/* Slot 23 is reserved */ -#ifndef TkMacHandleTearoffMenu -#define TkMacHandleTearoffMenu \ - (tkIntPlatStubsPtr->tkMacHandleTearoffMenu) /* 24 */ -#endif -/* Slot 25 is reserved */ -/* Slot 26 is reserved */ -#ifndef TkMacDoHLEvent -#define TkMacDoHLEvent \ - (tkIntPlatStubsPtr->tkMacDoHLEvent) /* 27 */ -#endif -/* Slot 28 is reserved */ -#ifndef TkMacGenerateTime -#define TkMacGenerateTime \ - (tkIntPlatStubsPtr->tkMacGenerateTime) /* 29 */ -#endif -/* Slot 30 is reserved */ -#ifndef TkMacGetScrollbarGrowWindow -#define TkMacGetScrollbarGrowWindow \ - (tkIntPlatStubsPtr->tkMacGetScrollbarGrowWindow) /* 31 */ -#endif -#ifndef TkMacGetXWindow -#define TkMacGetXWindow \ - (tkIntPlatStubsPtr->tkMacGetXWindow) /* 32 */ -#endif -#ifndef TkMacGrowToplevel -#define TkMacGrowToplevel \ - (tkIntPlatStubsPtr->tkMacGrowToplevel) /* 33 */ -#endif -#ifndef TkMacHandleMenuSelect -#define TkMacHandleMenuSelect \ - (tkIntPlatStubsPtr->tkMacHandleMenuSelect) /* 34 */ -#endif -/* Slot 35 is reserved */ -/* Slot 36 is reserved */ -/* Slot 37 is reserved */ -#ifndef TkMacInvalidateWindow -#define TkMacInvalidateWindow \ - (tkIntPlatStubsPtr->tkMacInvalidateWindow) /* 38 */ -#endif -#ifndef TkMacIsCharacterMissing -#define TkMacIsCharacterMissing \ - (tkIntPlatStubsPtr->tkMacIsCharacterMissing) /* 39 */ -#endif -#ifndef TkMacMakeRealWindowExist -#define TkMacMakeRealWindowExist \ - (tkIntPlatStubsPtr->tkMacMakeRealWindowExist) /* 40 */ -#endif -#ifndef TkMacMakeStippleMap -#define TkMacMakeStippleMap \ - (tkIntPlatStubsPtr->tkMacMakeStippleMap) /* 41 */ -#endif -#ifndef TkMacMenuClick -#define TkMacMenuClick \ - (tkIntPlatStubsPtr->tkMacMenuClick) /* 42 */ -#endif -#ifndef TkMacRegisterOffScreenWindow -#define TkMacRegisterOffScreenWindow \ - (tkIntPlatStubsPtr->tkMacRegisterOffScreenWindow) /* 43 */ -#endif -#ifndef TkMacResizable -#define TkMacResizable \ - (tkIntPlatStubsPtr->tkMacResizable) /* 44 */ -#endif -/* Slot 45 is reserved */ -#ifndef TkMacSetHelpMenuItemCount -#define TkMacSetHelpMenuItemCount \ - (tkIntPlatStubsPtr->tkMacSetHelpMenuItemCount) /* 46 */ -#endif -#ifndef TkMacSetScrollbarGrow -#define TkMacSetScrollbarGrow \ - (tkIntPlatStubsPtr->tkMacSetScrollbarGrow) /* 47 */ -#endif -#ifndef TkMacSetUpClippingRgn -#define TkMacSetUpClippingRgn \ - (tkIntPlatStubsPtr->tkMacSetUpClippingRgn) /* 48 */ -#endif -#ifndef TkMacSetUpGraphicsPort -#define TkMacSetUpGraphicsPort \ - (tkIntPlatStubsPtr->tkMacSetUpGraphicsPort) /* 49 */ -#endif -#ifndef TkMacUpdateClipRgn -#define TkMacUpdateClipRgn \ - (tkIntPlatStubsPtr->tkMacUpdateClipRgn) /* 50 */ -#endif -#ifndef TkMacUnregisterMacWindow -#define TkMacUnregisterMacWindow \ - (tkIntPlatStubsPtr->tkMacUnregisterMacWindow) /* 51 */ -#endif -#ifndef TkMacUseMenuID -#define TkMacUseMenuID \ - (tkIntPlatStubsPtr->tkMacUseMenuID) /* 52 */ -#endif -#ifndef TkMacVisableClipRgn -#define TkMacVisableClipRgn \ - (tkIntPlatStubsPtr->tkMacVisableClipRgn) /* 53 */ -#endif -#ifndef TkMacWinBounds -#define TkMacWinBounds \ - (tkIntPlatStubsPtr->tkMacWinBounds) /* 54 */ -#endif -#ifndef TkMacWindowOffset -#define TkMacWindowOffset \ - (tkIntPlatStubsPtr->tkMacWindowOffset) /* 55 */ -#endif -/* Slot 56 is reserved */ -#ifndef TkSetMacColor -#define TkSetMacColor \ - (tkIntPlatStubsPtr->tkSetMacColor) /* 57 */ -#endif -#ifndef TkSetWMName -#define TkSetWMName \ - (tkIntPlatStubsPtr->tkSetWMName) /* 58 */ -#endif -#ifndef TkSuspendClipboard -#define TkSuspendClipboard \ - (tkIntPlatStubsPtr->tkSuspendClipboard) /* 59 */ -#endif -/* Slot 60 is reserved */ -#ifndef TkMacZoomToplevel -#define TkMacZoomToplevel \ - (tkIntPlatStubsPtr->tkMacZoomToplevel) /* 61 */ -#endif -#ifndef Tk_TopCoordsToWindow -#define Tk_TopCoordsToWindow \ - (tkIntPlatStubsPtr->tk_TopCoordsToWindow) /* 62 */ -#endif -#ifndef TkMacContainerId -#define TkMacContainerId \ - (tkIntPlatStubsPtr->tkMacContainerId) /* 63 */ -#endif -#ifndef TkMacGetHostToplevel -#define TkMacGetHostToplevel \ - (tkIntPlatStubsPtr->tkMacGetHostToplevel) /* 64 */ -#endif -#ifndef TkMacPreprocessMenu -#define TkMacPreprocessMenu \ - (tkIntPlatStubsPtr->tkMacPreprocessMenu) /* 65 */ -#endif -#ifndef TkpIsWindowFloating -#define TkpIsWindowFloating \ - (tkIntPlatStubsPtr->tkpIsWindowFloating) /* 66 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -#ifndef TkGenerateActivateEvents -#define TkGenerateActivateEvents \ - (tkIntPlatStubsPtr->tkGenerateActivateEvents) /* 0 */ -#endif -/* Slot 1 is reserved */ -/* Slot 2 is reserved */ -#ifndef TkPointerDeadWindow -#define TkPointerDeadWindow \ - (tkIntPlatStubsPtr->tkPointerDeadWindow) /* 3 */ -#endif -#ifndef TkpSetCapture -#define TkpSetCapture \ - (tkIntPlatStubsPtr->tkpSetCapture) /* 4 */ -#endif -#ifndef TkpSetCursor -#define TkpSetCursor \ - (tkIntPlatStubsPtr->tkpSetCursor) /* 5 */ -#endif -#ifndef TkpWmSetState -#define TkpWmSetState \ - (tkIntPlatStubsPtr->tkpWmSetState) /* 6 */ -#endif -#ifndef TkAboutDlg -#define TkAboutDlg \ - (tkIntPlatStubsPtr->tkAboutDlg) /* 7 */ -#endif -#ifndef TkMacOSXButtonKeyState -#define TkMacOSXButtonKeyState \ - (tkIntPlatStubsPtr->tkMacOSXButtonKeyState) /* 8 */ -#endif -#ifndef TkMacOSXClearMenubarActive -#define TkMacOSXClearMenubarActive \ - (tkIntPlatStubsPtr->tkMacOSXClearMenubarActive) /* 9 */ -#endif -#ifndef TkMacOSXDispatchMenuEvent -#define TkMacOSXDispatchMenuEvent \ - (tkIntPlatStubsPtr->tkMacOSXDispatchMenuEvent) /* 10 */ -#endif -#ifndef TkMacOSXInstallCursor -#define TkMacOSXInstallCursor \ - (tkIntPlatStubsPtr->tkMacOSXInstallCursor) /* 11 */ -#endif -#ifndef TkMacOSXHandleTearoffMenu -#define TkMacOSXHandleTearoffMenu \ - (tkIntPlatStubsPtr->tkMacOSXHandleTearoffMenu) /* 12 */ -#endif -/* Slot 13 is reserved */ -#ifndef TkMacOSXDoHLEvent -#define TkMacOSXDoHLEvent \ - (tkIntPlatStubsPtr->tkMacOSXDoHLEvent) /* 14 */ -#endif -/* Slot 15 is reserved */ -#ifndef TkMacOSXGetXWindow -#define TkMacOSXGetXWindow \ - (tkIntPlatStubsPtr->tkMacOSXGetXWindow) /* 16 */ -#endif -#ifndef TkMacOSXGrowToplevel -#define TkMacOSXGrowToplevel \ - (tkIntPlatStubsPtr->tkMacOSXGrowToplevel) /* 17 */ -#endif -#ifndef TkMacOSXHandleMenuSelect -#define TkMacOSXHandleMenuSelect \ - (tkIntPlatStubsPtr->tkMacOSXHandleMenuSelect) /* 18 */ -#endif -/* Slot 19 is reserved */ -/* Slot 20 is reserved */ -#ifndef TkMacOSXInvalidateWindow -#define TkMacOSXInvalidateWindow \ - (tkIntPlatStubsPtr->tkMacOSXInvalidateWindow) /* 21 */ -#endif -#ifndef TkMacOSXIsCharacterMissing -#define TkMacOSXIsCharacterMissing \ - (tkIntPlatStubsPtr->tkMacOSXIsCharacterMissing) /* 22 */ -#endif -#ifndef TkMacOSXMakeRealWindowExist -#define TkMacOSXMakeRealWindowExist \ - (tkIntPlatStubsPtr->tkMacOSXMakeRealWindowExist) /* 23 */ -#endif -#ifndef TkMacOSXMakeStippleMap -#define TkMacOSXMakeStippleMap \ - (tkIntPlatStubsPtr->tkMacOSXMakeStippleMap) /* 24 */ -#endif -#ifndef TkMacOSXMenuClick -#define TkMacOSXMenuClick \ - (tkIntPlatStubsPtr->tkMacOSXMenuClick) /* 25 */ -#endif -#ifndef TkMacOSXRegisterOffScreenWindow -#define TkMacOSXRegisterOffScreenWindow \ - (tkIntPlatStubsPtr->tkMacOSXRegisterOffScreenWindow) /* 26 */ -#endif -#ifndef TkMacOSXResizable -#define TkMacOSXResizable \ - (tkIntPlatStubsPtr->tkMacOSXResizable) /* 27 */ -#endif -#ifndef TkMacOSXSetHelpMenuItemCount -#define TkMacOSXSetHelpMenuItemCount \ - (tkIntPlatStubsPtr->tkMacOSXSetHelpMenuItemCount) /* 28 */ -#endif -#ifndef TkMacOSXSetScrollbarGrow -#define TkMacOSXSetScrollbarGrow \ - (tkIntPlatStubsPtr->tkMacOSXSetScrollbarGrow) /* 29 */ -#endif -#ifndef TkMacOSXSetUpClippingRgn -#define TkMacOSXSetUpClippingRgn \ - (tkIntPlatStubsPtr->tkMacOSXSetUpClippingRgn) /* 30 */ -#endif -#ifndef TkMacOSXSetUpGraphicsPort -#define TkMacOSXSetUpGraphicsPort \ - (tkIntPlatStubsPtr->tkMacOSXSetUpGraphicsPort) /* 31 */ -#endif -#ifndef TkMacOSXUpdateClipRgn -#define TkMacOSXUpdateClipRgn \ - (tkIntPlatStubsPtr->tkMacOSXUpdateClipRgn) /* 32 */ -#endif -#ifndef TkMacOSXUnregisterMacWindow -#define TkMacOSXUnregisterMacWindow \ - (tkIntPlatStubsPtr->tkMacOSXUnregisterMacWindow) /* 33 */ -#endif -#ifndef TkMacOSXUseMenuID -#define TkMacOSXUseMenuID \ - (tkIntPlatStubsPtr->tkMacOSXUseMenuID) /* 34 */ -#endif -#ifndef TkMacOSXVisableClipRgn -#define TkMacOSXVisableClipRgn \ - (tkIntPlatStubsPtr->tkMacOSXVisableClipRgn) /* 35 */ -#endif -#ifndef TkMacOSXWinBounds -#define TkMacOSXWinBounds \ - (tkIntPlatStubsPtr->tkMacOSXWinBounds) /* 36 */ -#endif -#ifndef TkMacOSXWindowOffset -#define TkMacOSXWindowOffset \ - (tkIntPlatStubsPtr->tkMacOSXWindowOffset) /* 37 */ -#endif -#ifndef TkSetMacColor -#define TkSetMacColor \ - (tkIntPlatStubsPtr->tkSetMacColor) /* 38 */ -#endif -#ifndef TkSetWMName -#define TkSetWMName \ - (tkIntPlatStubsPtr->tkSetWMName) /* 39 */ -#endif -#ifndef TkSuspendClipboard -#define TkSuspendClipboard \ - (tkIntPlatStubsPtr->tkSuspendClipboard) /* 40 */ -#endif -#ifndef TkMacOSXZoomToplevel -#define TkMacOSXZoomToplevel \ - (tkIntPlatStubsPtr->tkMacOSXZoomToplevel) /* 41 */ -#endif -#ifndef Tk_TopCoordsToWindow -#define Tk_TopCoordsToWindow \ - (tkIntPlatStubsPtr->tk_TopCoordsToWindow) /* 42 */ -#endif -#ifndef TkMacOSXContainerId -#define TkMacOSXContainerId \ - (tkIntPlatStubsPtr->tkMacOSXContainerId) /* 43 */ -#endif -#ifndef TkMacOSXGetHostToplevel -#define TkMacOSXGetHostToplevel \ - (tkIntPlatStubsPtr->tkMacOSXGetHostToplevel) /* 44 */ -#endif -#ifndef TkMacOSXPreprocessMenu -#define TkMacOSXPreprocessMenu \ - (tkIntPlatStubsPtr->tkMacOSXPreprocessMenu) /* 45 */ -#endif -#ifndef TkpIsWindowFloating -#define TkpIsWindowFloating \ - (tkIntPlatStubsPtr->tkpIsWindowFloating) /* 46 */ -#endif -#ifndef TkMacOSXGetCapture -#define TkMacOSXGetCapture \ - (tkIntPlatStubsPtr->tkMacOSXGetCapture) /* 47 */ -#endif -/* Slot 48 is reserved */ -#ifndef TkGetTransientMaster -#define TkGetTransientMaster \ - (tkIntPlatStubsPtr->tkGetTransientMaster) /* 49 */ -#endif -#ifndef TkGenerateButtonEvent -#define TkGenerateButtonEvent \ - (tkIntPlatStubsPtr->tkGenerateButtonEvent) /* 50 */ -#endif -#ifndef TkGenWMDestroyEvent -#define TkGenWMDestroyEvent \ - (tkIntPlatStubsPtr->tkGenWMDestroyEvent) /* 51 */ -#endif -/* Slot 52 is reserved */ -#ifndef TkpGetMS -#define TkpGetMS \ - (tkIntPlatStubsPtr->tkpGetMS) /* 53 */ -#endif -#endif /* MAC_OSX_TK */ -#if !(defined(__WIN32__) || defined(MAC_TCL) || defined(MAC_OSX_TK)) /* X11 */ -#ifndef TkCreateXEventSource -#define TkCreateXEventSource \ - (tkIntPlatStubsPtr->tkCreateXEventSource) /* 0 */ -#endif -#ifndef TkFreeWindowId -#define TkFreeWindowId \ - (tkIntPlatStubsPtr->tkFreeWindowId) /* 1 */ -#endif -#ifndef TkInitXId -#define TkInitXId \ - (tkIntPlatStubsPtr->tkInitXId) /* 2 */ -#endif -#ifndef TkpCmapStressed -#define TkpCmapStressed \ - (tkIntPlatStubsPtr->tkpCmapStressed) /* 3 */ -#endif -#ifndef TkpSync -#define TkpSync \ - (tkIntPlatStubsPtr->tkpSync) /* 4 */ -#endif -#ifndef TkUnixContainerId -#define TkUnixContainerId \ - (tkIntPlatStubsPtr->tkUnixContainerId) /* 5 */ -#endif -#ifndef TkUnixDoOneXEvent -#define TkUnixDoOneXEvent \ - (tkIntPlatStubsPtr->tkUnixDoOneXEvent) /* 6 */ -#endif -#ifndef TkUnixSetMenubar -#define TkUnixSetMenubar \ - (tkIntPlatStubsPtr->tkUnixSetMenubar) /* 7 */ -#endif -#ifndef TkpScanWindowId -#define TkpScanWindowId \ - (tkIntPlatStubsPtr->tkpScanWindowId) /* 8 */ -#endif -#ifndef TkWmCleanup -#define TkWmCleanup \ - (tkIntPlatStubsPtr->tkWmCleanup) /* 9 */ -#endif -#ifndef TkSendCleanup -#define TkSendCleanup \ - (tkIntPlatStubsPtr->tkSendCleanup) /* 10 */ -#endif -#ifndef TkFreeXId -#define TkFreeXId \ - (tkIntPlatStubsPtr->tkFreeXId) /* 11 */ -#endif -#ifndef TkpWmSetState -#define TkpWmSetState \ - (tkIntPlatStubsPtr->tkpWmSetState) /* 12 */ -#endif -#endif /* X11 */ - -#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */ - -/* !END!: Do not edit above this line. */ - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKINTPLATDECLS */ diff --git a/src/other/togl/include/tcltk/tk8.4/tkMacDefault.h b/src/other/togl/include/tcltk/tk8.4/tkMacDefault.h deleted file mode 100644 index 9f62f2779e0..00000000000 --- a/src/other/togl/include/tcltk/tk8.4/tkMacDefault.h +++ /dev/null @@ -1,529 +0,0 @@ -/* - * tkMacDefault.h -- - * - * This file defines the defaults for all options for all of - * the Tk widgets. - * - * Copyright (c) 1991-1994 The Regents of the University of California. - * Copyright (c) 1994-1997 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKMACDEFAULT -#define _TKMACDEFAULT - -/* - * The definitions below provide symbolic names for the default colors. - * NORMAL_BG - Normal background color. - * ACTIVE_BG - Background color when widget is active. - * SELECT_BG - Background color for selected text. - * SELECT_FG - Foreground color for selected text. - * TROUGH - Background color for troughs in scales and scrollbars. - * INDICATOR - Color for indicator when button is selected. - * DISABLED - Foreground color when widget is disabled. - */ - -#define BLACK "Black" -#define WHITE "White" - -#define NORMAL_BG "systemWindowBody" -#define ACTIVE_BG "#ececec" -#define SELECT_BG "systemHighlight" -#define SELECT_FG "systemHighlightText" -#define TROUGH "#c3c3c3" -#define INDICATOR "#b03060" -#define DISABLED "#a3a3a3" - -/* - * Defaults for labels, buttons, checkbuttons, and radiobuttons: - */ - -#define DEF_BUTTON_ANCHOR "center" -#define DEF_BUTTON_ACTIVE_BG_COLOR "systemButtonText" -#define DEF_BUTTON_ACTIVE_BG_MONO BLACK -#define DEF_BUTTON_ACTIVE_FG_COLOR "systemButtonFace" -#define DEF_CHKRAD_ACTIVE_FG_COLOR DEF_BUTTON_ACTIVE_FG_COLOR -#define DEF_BUTTON_ACTIVE_FG_MONO WHITE -#define DEF_BUTTON_BG_COLOR "systemButtonFace" -#define DEF_BUTTON_BG_MONO WHITE -#define DEF_BUTTON_BITMAP "" -#define DEF_BUTTON_BORDER_WIDTH "2" -#define DEF_BUTTON_CURSOR "" -#define DEF_BUTTON_COMMAND "" -#define DEF_BUTTON_COMPOUND "none" -#define DEF_BUTTON_DEFAULT "disabled" -#define DEF_BUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_BUTTON_DISABLED_FG_MONO "" -#define DEF_BUTTON_FG "systemButtonText" -#define DEF_CHKRAD_FG DEF_BUTTON_FG -#define DEF_BUTTON_FONT "system" -#define DEF_BUTTON_HEIGHT "0" -#define DEF_BUTTON_HIGHLIGHT_BG_COLOR DEF_BUTTON_BG_COLOR -#define DEF_BUTTON_HIGHLIGHT_BG_MONO DEF_BUTTON_BG_MONO -#define DEF_BUTTON_HIGHLIGHT "systemButtonFrame" -#define DEF_LABEL_HIGHLIGHT_WIDTH "0" -#define DEF_BUTTON_HIGHLIGHT_WIDTH "4" -#define DEF_BUTTON_IMAGE (char *) NULL -#define DEF_BUTTON_INDICATOR "1" -#define DEF_BUTTON_JUSTIFY "center" -#define DEF_BUTTON_OFF_VALUE "0" -#define DEF_BUTTON_ON_VALUE "1" -#define DEF_BUTTON_OVER_RELIEF "" -#define DEF_BUTTON_PADX "7" -#define DEF_LABCHKRAD_PADX "1" -#define DEF_BUTTON_PADY "3" -#define DEF_LABCHKRAD_PADY "1" -#define DEF_BUTTON_RELIEF "flat" -#define DEF_LABCHKRAD_RELIEF "flat" -#define DEF_BUTTON_REPEAT_DELAY "0" -#define DEF_BUTTON_REPEAT_INTERVAL "0" -#define DEF_BUTTON_SELECT_COLOR INDICATOR -#define DEF_BUTTON_SELECT_MONO BLACK -#define DEF_BUTTON_SELECT_IMAGE (char *) NULL -#define DEF_BUTTON_STATE "normal" -#define DEF_LABEL_TAKE_FOCUS "0" -#define DEF_BUTTON_TAKE_FOCUS (char *) NULL -#define DEF_BUTTON_TEXT "" -#define DEF_BUTTON_TEXT_VARIABLE "" -#define DEF_BUTTON_UNDERLINE "-1" -#define DEF_BUTTON_VALUE "" -#define DEF_BUTTON_WIDTH "0" -#define DEF_BUTTON_WRAP_LENGTH "0" -#define DEF_RADIOBUTTON_VARIABLE "selectedButton" -#define DEF_CHECKBUTTON_VARIABLE "" - -/* - * Defaults for canvases: - */ - -#define DEF_CANVAS_BG_COLOR NORMAL_BG -#define DEF_CANVAS_BG_MONO WHITE -#define DEF_CANVAS_BORDER_WIDTH "0" -#define DEF_CANVAS_CLOSE_ENOUGH "1" -#define DEF_CANVAS_CONFINE "1" -#define DEF_CANVAS_CURSOR "" -#define DEF_CANVAS_HEIGHT "7c" -#define DEF_CANVAS_HIGHLIGHT_BG NORMAL_BG -#define DEF_CANVAS_HIGHLIGHT BLACK -#define DEF_CANVAS_HIGHLIGHT_WIDTH "3" -#define DEF_CANVAS_INSERT_BG BLACK -#define DEF_CANVAS_INSERT_BD_COLOR "0" -#define DEF_CANVAS_INSERT_BD_MONO "0" -#define DEF_CANVAS_INSERT_OFF_TIME "300" -#define DEF_CANVAS_INSERT_ON_TIME "600" -#define DEF_CANVAS_INSERT_WIDTH "2" -#define DEF_CANVAS_RELIEF "flat" -#define DEF_CANVAS_SCROLL_REGION "" -#define DEF_CANVAS_SELECT_COLOR SELECT_BG -#define DEF_CANVAS_SELECT_MONO BLACK -#define DEF_CANVAS_SELECT_BD_COLOR "1" -#define DEF_CANVAS_SELECT_BD_MONO "0" -#define DEF_CANVAS_SELECT_FG_COLOR BLACK -#define DEF_CANVAS_SELECT_FG_MONO WHITE -#define DEF_CANVAS_TAKE_FOCUS (char *) NULL -#define DEF_CANVAS_WIDTH "10c" -#define DEF_CANVAS_X_SCROLL_CMD "" -#define DEF_CANVAS_X_SCROLL_INCREMENT "0" -#define DEF_CANVAS_Y_SCROLL_CMD "" -#define DEF_CANVAS_Y_SCROLL_INCREMENT "0" - -/* - * Defaults for entries: - */ - -#define DEF_ENTRY_BG_COLOR NORMAL_BG -#define DEF_ENTRY_BG_MONO WHITE -/* #define DEF_ENTRY_BORDER_WIDTH "2" */ -#define DEF_ENTRY_BORDER_WIDTH "1" -#define DEF_ENTRY_CURSOR "xterm" -#define DEF_ENTRY_DISABLED_BG_COLOR NORMAL_BG -#define DEF_ENTRY_DISABLED_BG_MONO WHITE -#define DEF_ENTRY_DISABLED_FG DISABLED -#define DEF_ENTRY_EXPORT_SELECTION "1" -#define DEF_ENTRY_FONT "Helvetica 12" -#define DEF_ENTRY_FG BLACK -#define DEF_ENTRY_HIGHLIGHT_BG NORMAL_BG -#define DEF_ENTRY_HIGHLIGHT BLACK -/* #define DEF_ENTRY_HIGHLIGHT_WIDTH "3" */ -#define DEF_ENTRY_HIGHLIGHT_WIDTH "0" -#define DEF_ENTRY_INSERT_BG BLACK -#define DEF_ENTRY_INSERT_BD_COLOR "0" -#define DEF_ENTRY_INSERT_BD_MONO "0" -#define DEF_ENTRY_INSERT_OFF_TIME "300" -#define DEF_ENTRY_INSERT_ON_TIME "600" -/* #define DEF_ENTRY_INSERT_WIDTH "2" */ -#define DEF_ENTRY_INSERT_WIDTH "1" -#define DEF_ENTRY_JUSTIFY "left" -#define DEF_ENTRY_READONLY_BG_COLOR NORMAL_BG -#define DEF_ENTRY_READONLY_BG_MONO WHITE -/* #define DEF_ENTRY_RELIEF "sunken" */ -#define DEF_ENTRY_RELIEF "solid" -#define DEF_ENTRY_SCROLL_COMMAND "" -#define DEF_ENTRY_SELECT_COLOR SELECT_BG -#define DEF_ENTRY_SELECT_MONO BLACK -#define DEF_ENTRY_SELECT_BD_COLOR "1" -#define DEF_ENTRY_SELECT_BD_MONO "0" -#define DEF_ENTRY_SELECT_FG_COLOR SELECT_FG -#define DEF_ENTRY_SELECT_FG_MONO WHITE -#define DEF_ENTRY_SHOW (char *) NULL -#define DEF_ENTRY_STATE "normal" -#define DEF_ENTRY_TAKE_FOCUS (char *) NULL -#define DEF_ENTRY_TEXT_VARIABLE "" -#define DEF_ENTRY_WIDTH "20" - -/* - * Defaults for frames: - */ - -#define DEF_FRAME_BG_COLOR NORMAL_BG -#define DEF_FRAME_BG_MONO WHITE -#define DEF_FRAME_BORDER_WIDTH "0" -#define DEF_FRAME_CLASS "Frame" -#define DEF_FRAME_COLORMAP "" -#define DEF_FRAME_CONTAINER "0" -#define DEF_FRAME_CURSOR "" -#define DEF_FRAME_HEIGHT "0" -#define DEF_FRAME_HIGHLIGHT_BG NORMAL_BG -#define DEF_FRAME_HIGHLIGHT BLACK -#define DEF_FRAME_HIGHLIGHT_WIDTH "0" -#define DEF_FRAME_PADX "0" -#define DEF_FRAME_PADY "0" -#define DEF_FRAME_RELIEF "flat" -#define DEF_FRAME_TAKE_FOCUS "0" -#define DEF_FRAME_VISUAL "" -#define DEF_FRAME_WIDTH "0" - -/* - * Defaults for labelframes: - */ - -#define DEF_LABELFRAME_BORDER_WIDTH "2" -#define DEF_LABELFRAME_CLASS "Labelframe" -#define DEF_LABELFRAME_RELIEF "groove" -#define DEF_LABELFRAME_FG "systemButtonText" -#define DEF_LABELFRAME_FONT "system" -#define DEF_LABELFRAME_TEXT "" -#define DEF_LABELFRAME_LABELANCHOR "nw" - -/* - * Defaults for listboxes: - */ - -#define DEF_LISTBOX_ACTIVE_STYLE "underline" -#define DEF_LISTBOX_BG_COLOR NORMAL_BG -#define DEF_LISTBOX_BG_MONO WHITE -#define DEF_LISTBOX_BORDER_WIDTH "1" -#define DEF_LISTBOX_CURSOR "" -#define DEF_LISTBOX_DISABLED_FG DISABLED -#define DEF_LISTBOX_EXPORT_SELECTION "1" -#define DEF_LISTBOX_FONT "application" -#define DEF_LISTBOX_FG BLACK -#define DEF_LISTBOX_HEIGHT "10" -#define DEF_LISTBOX_HIGHLIGHT_BG NORMAL_BG -#define DEF_LISTBOX_HIGHLIGHT BLACK -#define DEF_LISTBOX_HIGHLIGHT_WIDTH "0" -#define DEF_LISTBOX_RELIEF "solid" -#define DEF_LISTBOX_SCROLL_COMMAND "" -#define DEF_LISTBOX_LIST_VARIABLE "" -#define DEF_LISTBOX_SELECT_COLOR SELECT_BG -#define DEF_LISTBOX_SELECT_MONO BLACK -#define DEF_LISTBOX_SELECT_BD "0" -#define DEF_LISTBOX_SELECT_FG_COLOR SELECT_FG -#define DEF_LISTBOX_SELECT_FG_MONO WHITE -#define DEF_LISTBOX_SELECT_MODE "browse" -#define DEF_LISTBOX_SET_GRID "0" -#define DEF_LISTBOX_STATE "normal" -#define DEF_LISTBOX_TAKE_FOCUS (char *) NULL -#define DEF_LISTBOX_WIDTH "20" - -/* - * Defaults for individual entries of menus: - */ - -#define DEF_MENU_ENTRY_ACTIVE_BG (char *) NULL -#define DEF_MENU_ENTRY_ACTIVE_FG (char *) NULL -#define DEF_MENU_ENTRY_ACCELERATOR (char *) NULL -#define DEF_MENU_ENTRY_BG (char *) NULL -#define DEF_MENU_ENTRY_BITMAP None -#define DEF_MENU_ENTRY_COLUMN_BREAK "0" -#define DEF_MENU_ENTRY_COMMAND (char *) NULL -#define DEF_MENU_ENTRY_COMPOUND "none" -#define DEF_MENU_ENTRY_FG (char *) NULL -#define DEF_MENU_ENTRY_FONT (char *) NULL -#define DEF_MENU_ENTRY_HIDE_MARGIN "0" -#define DEF_MENU_ENTRY_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_INDICATOR "1" -#define DEF_MENU_ENTRY_LABEL (char *) NULL -#define DEF_MENU_ENTRY_MENU (char *) NULL -#define DEF_MENU_ENTRY_OFF_VALUE "0" -#define DEF_MENU_ENTRY_ON_VALUE "1" -#define DEF_MENU_ENTRY_SELECT_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_STATE "normal" -#define DEF_MENU_ENTRY_VALUE (char *) NULL -#define DEF_MENU_ENTRY_CHECK_VARIABLE (char *) NULL -#define DEF_MENU_ENTRY_RADIO_VARIABLE "selectedButton" -#define DEF_MENU_ENTRY_SELECT (char *) NULL -#define DEF_MENU_ENTRY_UNDERLINE "-1" - -/* - * Defaults for menus overall: - */ - -#define DEF_MENU_ACTIVE_BG_COLOR "SystemMenuActive" -#define DEF_MENU_ACTIVE_BG_MONO BLACK -#define DEF_MENU_ACTIVE_BORDER_WIDTH "0" -#define DEF_MENU_ACTIVE_FG_COLOR "SystemMenuActiveText" -#define DEF_MENU_ACTIVE_FG_MONO WHITE -#define DEF_MENU_BG_COLOR "SystemMenu" -#define DEF_MENU_BG_MONO WHITE -#define DEF_MENU_BORDER_WIDTH "0" -#define DEF_MENU_CURSOR "arrow" -#define DEF_MENU_DISABLED_FG_COLOR "SystemMenuDisabled" -#define DEF_MENU_DISABLED_FG_MONO "" -#define DEF_MENU_FONT "system" -#define DEF_MENU_FG "SystemMenuText" -#define DEF_MENU_POST_COMMAND "" -#define DEF_MENU_RELIEF "flat" -#define DEF_MENU_SELECT_COLOR "SystemMenuActive" -#define DEF_MENU_SELECT_MONO BLACK -#define DEF_MENU_TAKE_FOCUS "0" -#define DEF_MENU_TEAROFF "1" -#define DEF_MENU_TEAROFF_CMD (char *) NULL -#define DEF_MENU_TITLE "" -#define DEF_MENU_TYPE "normal" - -/* - * Defaults for menubuttons: - */ - -#define DEF_MENUBUTTON_ANCHOR "center" -#define DEF_MENUBUTTON_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_MENUBUTTON_ACTIVE_BG_MONO BLACK -#define DEF_MENUBUTTON_ACTIVE_FG_COLOR BLACK -#define DEF_MENUBUTTON_ACTIVE_FG_MONO WHITE -#define DEF_MENUBUTTON_BG_COLOR NORMAL_BG -#define DEF_MENUBUTTON_BG_MONO WHITE -#define DEF_MENUBUTTON_BITMAP "" -#define DEF_MENUBUTTON_BORDER_WIDTH "2" -#define DEF_MENUBUTTON_CURSOR "" -#define DEF_MENUBUTTON_DIRECTION "below" -#define DEF_MENUBUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_MENUBUTTON_DISABLED_FG_MONO "" -#define DEF_MENUBUTTON_FONT "system" -#define DEF_MENUBUTTON_FG BLACK -#define DEF_MENUBUTTON_HEIGHT "0" -#define DEF_MENUBUTTON_HIGHLIGHT_BG_COLOR DEF_MENUBUTTON_BG_COLOR -#define DEF_MENUBUTTON_HIGHLIGHT_BG_MONO DEF_MENUBUTTON_BG_MONO -#define DEF_MENUBUTTON_HIGHLIGHT BLACK -#define DEF_MENUBUTTON_HIGHLIGHT_WIDTH "0" -#define DEF_MENUBUTTON_IMAGE (char *) NULL -#define DEF_MENUBUTTON_INDICATOR "0" -/* #define DEF_MENUBUTTON_JUSTIFY "center" */ -#define DEF_MENUBUTTON_JUSTIFY "left" -#define DEF_MENUBUTTON_MENU "" -#define DEF_MENUBUTTON_PADX "4p" -#define DEF_MENUBUTTON_PADY "3p" -#define DEF_MENUBUTTON_RELIEF "flat" -#define DEF_MENUBUTTON_STATE "normal" -#define DEF_MENUBUTTON_TAKE_FOCUS "0" -#define DEF_MENUBUTTON_TEXT "" -#define DEF_MENUBUTTON_TEXT_VARIABLE "" -#define DEF_MENUBUTTON_UNDERLINE "-1" -#define DEF_MENUBUTTON_WIDTH "0" -#define DEF_MENUBUTTON_WRAP_LENGTH "0" - -/* - * Defaults for messages: - */ - -#define DEF_MESSAGE_ANCHOR "center" -#define DEF_MESSAGE_ASPECT "150" -#define DEF_MESSAGE_BG_COLOR NORMAL_BG -#define DEF_MESSAGE_BG_MONO WHITE -#define DEF_MESSAGE_BORDER_WIDTH "2" -#define DEF_MESSAGE_CURSOR "" -#define DEF_MESSAGE_FG BLACK -#define DEF_MESSAGE_FONT "system" -#define DEF_MESSAGE_HIGHLIGHT_BG NORMAL_BG -#define DEF_MESSAGE_HIGHLIGHT BLACK -#define DEF_MESSAGE_HIGHLIGHT_WIDTH "0" -#define DEF_MESSAGE_JUSTIFY "left" -#define DEF_MESSAGE_PADX "-1" -#define DEF_MESSAGE_PADY "-1" -#define DEF_MESSAGE_RELIEF "flat" -#define DEF_MESSAGE_TAKE_FOCUS "0" -#define DEF_MESSAGE_TEXT "" -#define DEF_MESSAGE_TEXT_VARIABLE "" -#define DEF_MESSAGE_WIDTH "0" - -/* - * Defaults for panedwindows - */ - -#define DEF_PANEDWINDOW_BG_COLOR NORMAL_BG -#define DEF_PANEDWINDOW_BG_MONO WHITE -#define DEF_PANEDWINDOW_BORDERWIDTH "2" -#define DEF_PANEDWINDOW_CURSOR "" -#define DEF_PANEDWINDOW_HANDLEPAD "8" -#define DEF_PANEDWINDOW_HANDLESIZE "8" -#define DEF_PANEDWINDOW_HEIGHT "" -#define DEF_PANEDWINDOW_OPAQUERESIZE "0" -#define DEF_PANEDWINDOW_ORIENT "horizontal" -#define DEF_PANEDWINDOW_RELIEF "flat" -#define DEF_PANEDWINDOW_SASHCURSOR "" -#define DEF_PANEDWINDOW_SASHPAD "2" -#define DEF_PANEDWINDOW_SASHRELIEF "raised" -#define DEF_PANEDWINDOW_SASHWIDTH "2" -#define DEF_PANEDWINDOW_SHOWHANDLE "0" -#define DEF_PANEDWINDOW_WIDTH "" - -/* - * Defaults for panedwindow panes - */ - -#define DEF_PANEDWINDOW_PANE_AFTER "" -#define DEF_PANEDWINDOW_PANE_BEFORE "" -#define DEF_PANEDWINDOW_PANE_HEIGHT "" -#define DEF_PANEDWINDOW_PANE_MINSIZE "0" -#define DEF_PANEDWINDOW_PANE_PADX "0" -#define DEF_PANEDWINDOW_PANE_PADY "0" -#define DEF_PANEDWINDOW_PANE_STICKY "nsew" -#define DEF_PANEDWINDOW_PANE_WIDTH "" - -/* - * Defaults for scales: - */ - -#define DEF_SCALE_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCALE_ACTIVE_BG_MONO BLACK -#define DEF_SCALE_BG_COLOR NORMAL_BG -#define DEF_SCALE_BG_MONO WHITE -#define DEF_SCALE_BIG_INCREMENT "0" -#define DEF_SCALE_BORDER_WIDTH "2" -#define DEF_SCALE_COMMAND "" -#define DEF_SCALE_CURSOR "" -#define DEF_SCALE_DIGITS "0" -#define DEF_SCALE_FONT "system" -#define DEF_SCALE_FG_COLOR BLACK -#define DEF_SCALE_FG_MONO BLACK -#define DEF_SCALE_FROM "0" -#define DEF_SCALE_HIGHLIGHT_BG_COLOR DEF_SCALE_BG_COLOR -#define DEF_SCALE_HIGHLIGHT_BG_MONO DEF_SCALE_BG_MONO -#define DEF_SCALE_HIGHLIGHT BLACK -#define DEF_SCALE_HIGHLIGHT_WIDTH "0" -#define DEF_SCALE_LABEL "" -#define DEF_SCALE_LENGTH "100" -#define DEF_SCALE_ORIENT "vertical" -#define DEF_SCALE_RELIEF "flat" -#define DEF_SCALE_REPEAT_DELAY "300" -#define DEF_SCALE_REPEAT_INTERVAL "100" -#define DEF_SCALE_RESOLUTION "1" -#define DEF_SCALE_TROUGH_COLOR TROUGH -#define DEF_SCALE_TROUGH_MONO WHITE -#define DEF_SCALE_SHOW_VALUE "1" -#define DEF_SCALE_SLIDER_LENGTH "30" -#define DEF_SCALE_SLIDER_RELIEF "raised" -#define DEF_SCALE_STATE "normal" -#define DEF_SCALE_TAKE_FOCUS (char *) NULL -#define DEF_SCALE_TICK_INTERVAL "0" -#define DEF_SCALE_TO "100" -#define DEF_SCALE_VARIABLE "" -#define DEF_SCALE_WIDTH "15" - -/* - * Defaults for scrollbars: - */ - -#define DEF_SCROLLBAR_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCROLLBAR_ACTIVE_BG_MONO BLACK -#define DEF_SCROLLBAR_ACTIVE_RELIEF "raised" -#define DEF_SCROLLBAR_BG_COLOR NORMAL_BG -#define DEF_SCROLLBAR_BG_MONO WHITE -/* #define DEF_SCROLLBAR_BORDER_WIDTH "2" */ -#define DEF_SCROLLBAR_BORDER_WIDTH "0" -#define DEF_SCROLLBAR_COMMAND "" -#define DEF_SCROLLBAR_CURSOR "" -#define DEF_SCROLLBAR_EL_BORDER_WIDTH "-1" -#define DEF_SCROLLBAR_HIGHLIGHT_BG NORMAL_BG -#define DEF_SCROLLBAR_HIGHLIGHT BLACK -/* #define DEF_SCROLLBAR_HIGHLIGHT_WIDTH "2" */ -#define DEF_SCROLLBAR_HIGHLIGHT_WIDTH "0" -#define DEF_SCROLLBAR_JUMP "0" -#define DEF_SCROLLBAR_ORIENT "vertical" -/*#define DEF_SCROLLBAR_RELIEF "sunken" */ -#define DEF_SCROLLBAR_RELIEF "flat" -#define DEF_SCROLLBAR_REPEAT_DELAY "300" -#define DEF_SCROLLBAR_REPEAT_INTERVAL "100" -#define DEF_SCROLLBAR_TAKE_FOCUS (char *) NULL -#define DEF_SCROLLBAR_TROUGH_COLOR TROUGH -#define DEF_SCROLLBAR_TROUGH_MONO WHITE -/*#define DEF_SCROLLBAR_WIDTH "15" */ -#define DEF_SCROLLBAR_WIDTH "16" - -/* - * Defaults for texts: - */ - -#define DEF_TEXT_AUTO_SEPARATORS "1" -#define DEF_TEXT_BG_COLOR NORMAL_BG -#define DEF_TEXT_BG_MONO WHITE -#define DEF_TEXT_BORDER_WIDTH "0" -#define DEF_TEXT_CURSOR "xterm" -#define DEF_TEXT_FG BLACK -#define DEF_TEXT_EXPORT_SELECTION "1" -#define DEF_TEXT_FONT "Courier 12" -#define DEF_TEXT_HEIGHT "24" -#define DEF_TEXT_HIGHLIGHT_BG NORMAL_BG -#define DEF_TEXT_HIGHLIGHT BLACK -#define DEF_TEXT_HIGHLIGHT_WIDTH "3" -#define DEF_TEXT_INSERT_BG BLACK -#define DEF_TEXT_INSERT_BD_COLOR "0" -#define DEF_TEXT_INSERT_BD_MONO "0" -#define DEF_TEXT_INSERT_OFF_TIME "300" -#define DEF_TEXT_INSERT_ON_TIME "600" -#define DEF_TEXT_INSERT_WIDTH "1" -#define DEF_TEXT_MAX_UNDO "0" -#define DEF_TEXT_PADX "1" -#define DEF_TEXT_PADY "1" -#define DEF_TEXT_RELIEF "flat" -#define DEF_TEXT_SELECT_COLOR SELECT_BG -#define DEF_TEXT_SELECT_MONO BLACK -#define DEF_TEXT_SELECT_BD_COLOR "1" -#define DEF_TEXT_SELECT_BD_MONO "0" -#define DEF_TEXT_SELECT_FG_COLOR SELECT_FG -#define DEF_TEXT_SELECT_FG_MONO WHITE -#define DEF_TEXT_SELECT_RELIEF "solid" -#define DEF_TEXT_SET_GRID "0" -#define DEF_TEXT_SPACING1 "0" -#define DEF_TEXT_SPACING2 "0" -#define DEF_TEXT_SPACING3 "0" -#define DEF_TEXT_STATE "normal" -#define DEF_TEXT_TABS "" -#define DEF_TEXT_TAKE_FOCUS (char *) NULL -#define DEF_TEXT_UNDO "0" -#define DEF_TEXT_WIDTH "80" -#define DEF_TEXT_WRAP "char" -#define DEF_TEXT_XSCROLL_COMMAND "" -#define DEF_TEXT_YSCROLL_COMMAND "" - -/* - * Defaults for canvas text: - */ - -#define DEF_CANVTEXT_FONT "Helvetica 12" - -/* - * Defaults for toplevels (most of the defaults for frames also apply - * to toplevels): - */ - -#define DEF_TOPLEVEL_CLASS "Toplevel" -#define DEF_TOPLEVEL_MENU "" -#define DEF_TOPLEVEL_SCREEN "" -#define DEF_TOPLEVEL_USE "" - -#endif /* _TKMACDEFAULT */ diff --git a/src/other/togl/include/tcltk/tk8.4/tkMacOSXDefault.h b/src/other/togl/include/tcltk/tk8.4/tkMacOSXDefault.h deleted file mode 100644 index 5665add5f09..00000000000 --- a/src/other/togl/include/tcltk/tk8.4/tkMacOSXDefault.h +++ /dev/null @@ -1,546 +0,0 @@ -/* - * tkMacOSXDefault.h -- - * - * This file defines the defaults for all options for all of - * the Tk widgets. - * - * Copyright (c) 1991-1994 The Regents of the University of California. - * Copyright (c) 1994-1997 Sun Microsystems, Inc. - * Copyright 2001, Apple Computer, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKMACDEFAULT -#define _TKMACDEFAULT - -/* - * The definitions below provide symbolic names for the default colors. - * NORMAL_BG - Normal background color. - * ACTIVE_BG - Background color when widget is active. - * SELECT_BG - Background color for selected text. - * SELECT_FG - Foreground color for selected text. - * TROUGH - Background color for troughs in scales and scrollbars. - * INDICATOR - Color for indicator when button is selected. - * DISABLED - Foreground color when widget is disabled. - */ - -#define BLACK "Black" -#define WHITE "White" - -#define NORMAL_BG "systemWindowBody" -#define ACTIVE_BG "#ececec" -#define SELECT_BG "systemHighlight" -#define SELECT_FG "systemHighlightText" -#define TROUGH "#c3c3c3" -#define INDICATOR "#b03060" -#define DISABLED "#a3a3a3" - -/* - * Defaults for labels, buttons, checkbuttons, and radiobuttons: - */ - -#define DEF_BUTTON_ANCHOR "center" -#define DEF_BUTTON_ACTIVE_BG_COLOR "systemButtonText" -#define DEF_BUTTON_ACTIVE_BG_MONO BLACK -#define DEF_BUTTON_ACTIVE_FG_COLOR "systemButtonFace" -#define DEF_CHKRAD_ACTIVE_FG_COLOR DEF_BUTTON_ACTIVE_FG_COLOR -#define DEF_BUTTON_ACTIVE_FG_MONO WHITE -//IGR#define DEF_BUTTON_BG_COLOR "systemButtonFace" -#define DEF_BUTTON_BG_COLOR WHITE -#define DEF_BUTTON_BG_MONO WHITE -#define DEF_BUTTON_BITMAP "" -#define DEF_BUTTON_BORDER_WIDTH "2" -#define DEF_BUTTON_CURSOR "" -#define DEF_BUTTON_COMMAND "" -#define DEF_BUTTON_COMPOUND "none" -#define DEF_BUTTON_DEFAULT "disabled" -#define DEF_BUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_BUTTON_DISABLED_FG_MONO "" -//IGR#define DEF_BUTTON_FG "systemButtonText" -#define DEF_BUTTON_FG BLACK -#define DEF_CHKRAD_FG DEF_BUTTON_FG -#define DEF_BUTTON_FONT "system" -#define DEF_BUTTON_HEIGHT "0" -#define DEF_BUTTON_HIGHLIGHT_BG_COLOR DEF_BUTTON_BG_COLOR -#define DEF_BUTTON_HIGHLIGHT_BG_MONO DEF_BUTTON_BG_MONO -#define DEF_BUTTON_HIGHLIGHT "systemButtonFrame" -#define DEF_LABEL_HIGHLIGHT_WIDTH "0" -#define DEF_BUTTON_HIGHLIGHT_WIDTH "4" -#define DEF_BUTTON_IMAGE (char *) NULL -#define DEF_BUTTON_INDICATOR "1" -#define DEF_BUTTON_JUSTIFY "center" -#define DEF_BUTTON_OFF_VALUE "0" -#define DEF_BUTTON_ON_VALUE "1" -#define DEF_BUTTON_OVER_RELIEF "" -#define DEF_BUTTON_PADX "12" -#define DEF_LABCHKRAD_PADX "1" -#define DEF_BUTTON_PADY "3" -#define DEF_LABCHKRAD_PADY "1" -#define DEF_BUTTON_RELIEF "flat" -#define DEF_LABCHKRAD_RELIEF "flat" -#define DEF_BUTTON_REPEAT_DELAY "0" -#define DEF_BUTTON_REPEAT_INTERVAL "0" -#define DEF_BUTTON_SELECT_COLOR INDICATOR -#define DEF_BUTTON_SELECT_MONO BLACK -#define DEF_BUTTON_SELECT_IMAGE (char *) NULL -#define DEF_BUTTON_STATE "normal" -#define DEF_LABEL_TAKE_FOCUS "0" -#define DEF_BUTTON_TAKE_FOCUS (char *) NULL -#define DEF_BUTTON_TEXT "" -#define DEF_BUTTON_TEXT_VARIABLE "" -#define DEF_BUTTON_UNDERLINE "-1" -#define DEF_BUTTON_VALUE "" -#define DEF_BUTTON_WIDTH "0" -#define DEF_BUTTON_WRAP_LENGTH "0" -#define DEF_RADIOBUTTON_VARIABLE "selectedButton" -#define DEF_CHECKBUTTON_VARIABLE "" - -/* - * Defaults for canvases: - */ - -#define DEF_CANVAS_BG_COLOR NORMAL_BG -#define DEF_CANVAS_BG_MONO WHITE -#define DEF_CANVAS_BORDER_WIDTH "0" -#define DEF_CANVAS_CLOSE_ENOUGH "1" -#define DEF_CANVAS_CONFINE "1" -#define DEF_CANVAS_CURSOR "" -#define DEF_CANVAS_HEIGHT "7c" -#define DEF_CANVAS_HIGHLIGHT_BG NORMAL_BG -#define DEF_CANVAS_HIGHLIGHT BLACK -#define DEF_CANVAS_HIGHLIGHT_WIDTH "3" -#define DEF_CANVAS_INSERT_BG BLACK -#define DEF_CANVAS_INSERT_BD_COLOR "0" -#define DEF_CANVAS_INSERT_BD_MONO "0" -#define DEF_CANVAS_INSERT_OFF_TIME "300" -#define DEF_CANVAS_INSERT_ON_TIME "600" -#define DEF_CANVAS_INSERT_WIDTH "2" -#define DEF_CANVAS_RELIEF "flat" -#define DEF_CANVAS_SCROLL_REGION "" -#define DEF_CANVAS_SELECT_COLOR SELECT_BG -#define DEF_CANVAS_SELECT_MONO BLACK -#define DEF_CANVAS_SELECT_BD_COLOR "1" -#define DEF_CANVAS_SELECT_BD_MONO "0" -#define DEF_CANVAS_SELECT_FG_COLOR BLACK -#define DEF_CANVAS_SELECT_FG_MONO WHITE -#define DEF_CANVAS_TAKE_FOCUS (char *) NULL -#define DEF_CANVAS_WIDTH "10c" -#define DEF_CANVAS_X_SCROLL_CMD "" -#define DEF_CANVAS_X_SCROLL_INCREMENT "0" -#define DEF_CANVAS_Y_SCROLL_CMD "" -#define DEF_CANVAS_Y_SCROLL_INCREMENT "0" - -/* - * Defaults for entries: - */ - -/* - * I test the following three values in TkpDrawEntryBorderAndFocus - * to determine whether to use the native entry widget. So if - * you change the defaults to be different from these, then you - * won't get the native widget by default. - */ - -#define MAC_OSX_FOCUS_WIDTH 3 -#define MAC_OSX_ENTRY_BORDER 2 -#define MAC_OSX_ENTRY_RELEIF TK_RELIEF_SUNKEN - -#define DEF_ENTRY_BG_COLOR NORMAL_BG -#define DEF_ENTRY_BG_MONO WHITE -#define DEF_ENTRY_BORDER_WIDTH "2" -#define DEF_ENTRY_CURSOR "xterm" -#define DEF_ENTRY_DISABLED_BG_COLOR NORMAL_BG -#define DEF_ENTRY_DISABLED_BG_MONO WHITE -#define DEF_ENTRY_DISABLED_FG DISABLED -#define DEF_ENTRY_EXPORT_SELECTION "1" -#define DEF_ENTRY_FONT "Helvetica 12" -#define DEF_ENTRY_FG BLACK -#define DEF_ENTRY_HIGHLIGHT_BG NORMAL_BG -#define DEF_ENTRY_HIGHLIGHT BLACK -/* #define DEF_ENTRY_HIGHLIGHT_WIDTH "3" */ -#define DEF_ENTRY_HIGHLIGHT_WIDTH "3" -#define DEF_ENTRY_INSERT_BG BLACK -#define DEF_ENTRY_INSERT_BD_COLOR "0" -#define DEF_ENTRY_INSERT_BD_MONO "0" -#define DEF_ENTRY_INSERT_OFF_TIME "300" -#define DEF_ENTRY_INSERT_ON_TIME "600" -/* #define DEF_ENTRY_INSERT_WIDTH "2" */ -#define DEF_ENTRY_INSERT_WIDTH "1" -#define DEF_ENTRY_JUSTIFY "left" -#define DEF_ENTRY_READONLY_BG_COLOR NORMAL_BG -#define DEF_ENTRY_READONLY_BG_MONO WHITE -#define DEF_ENTRY_RELIEF "sunken" -/* #define DEF_ENTRY_RELIEF "solid" */ -#define DEF_ENTRY_SCROLL_COMMAND "" -#define DEF_ENTRY_SELECT_COLOR SELECT_BG -#define DEF_ENTRY_SELECT_MONO BLACK -#define DEF_ENTRY_SELECT_BD_COLOR "1" -#define DEF_ENTRY_SELECT_BD_MONO "0" -#define DEF_ENTRY_SELECT_FG_COLOR SELECT_FG -#define DEF_ENTRY_SELECT_FG_MONO WHITE -#define DEF_ENTRY_SHOW (char *) NULL -#define DEF_ENTRY_STATE "normal" -#define DEF_ENTRY_TAKE_FOCUS (char *) NULL -#define DEF_ENTRY_TEXT_VARIABLE "" -#define DEF_ENTRY_WIDTH "20" - -/* - * Defaults for frames: - */ - -#define DEF_FRAME_BG_COLOR NORMAL_BG -#define DEF_FRAME_BG_MONO WHITE -#define DEF_FRAME_BORDER_WIDTH "0" -#define DEF_FRAME_CLASS "Frame" -#define DEF_FRAME_COLORMAP "" -#define DEF_FRAME_CONTAINER "0" -#define DEF_FRAME_CURSOR "" -#define DEF_FRAME_HEIGHT "0" -#define DEF_FRAME_HIGHLIGHT_BG NORMAL_BG -#define DEF_FRAME_HIGHLIGHT BLACK -#define DEF_FRAME_HIGHLIGHT_WIDTH "0" -#define DEF_FRAME_PADX "0" -#define DEF_FRAME_PADY "0" -#define DEF_FRAME_RELIEF "flat" -#define DEF_FRAME_TAKE_FOCUS "0" -#define DEF_FRAME_VISUAL "" -#define DEF_FRAME_WIDTH "0" - -/* - * Defaults for labelframes: - */ - -#define DEF_LABELFRAME_BORDER_WIDTH "2" -#define DEF_LABELFRAME_CLASS "Labelframe" -#define DEF_LABELFRAME_RELIEF "groove" -#define DEF_LABELFRAME_FG "systemButtonText" -#define DEF_LABELFRAME_FONT "system" -#define DEF_LABELFRAME_TEXT "" -#define DEF_LABELFRAME_LABELANCHOR "nw" - -/* - * Defaults for listboxes: - */ - -#define DEF_LISTBOX_ACTIVE_STYLE "underline" -#define DEF_LISTBOX_BG_COLOR NORMAL_BG -#define DEF_LISTBOX_BG_MONO WHITE -#define DEF_LISTBOX_BORDER_WIDTH "1" -#define DEF_LISTBOX_CURSOR "" -#define DEF_LISTBOX_DISABLED_FG DISABLED -#define DEF_LISTBOX_EXPORT_SELECTION "1" -#define DEF_LISTBOX_FONT "application" -#define DEF_LISTBOX_FG BLACK -#define DEF_LISTBOX_HEIGHT "10" -#define DEF_LISTBOX_HIGHLIGHT_BG NORMAL_BG -#define DEF_LISTBOX_HIGHLIGHT BLACK -#define DEF_LISTBOX_HIGHLIGHT_WIDTH "0" -#define DEF_LISTBOX_RELIEF "solid" -#define DEF_LISTBOX_SCROLL_COMMAND "" -#define DEF_LISTBOX_LIST_VARIABLE "" -#define DEF_LISTBOX_SELECT_COLOR SELECT_BG -#define DEF_LISTBOX_SELECT_MONO BLACK -#define DEF_LISTBOX_SELECT_BD "0" -#define DEF_LISTBOX_SELECT_FG_COLOR SELECT_FG -#define DEF_LISTBOX_SELECT_FG_MONO WHITE -#define DEF_LISTBOX_SELECT_MODE "browse" -#define DEF_LISTBOX_SET_GRID "0" -#define DEF_LISTBOX_STATE "normal" -#define DEF_LISTBOX_TAKE_FOCUS (char *) NULL -#define DEF_LISTBOX_WIDTH "20" - -/* - * Defaults for individual entries of menus: - */ - -#define DEF_MENU_ENTRY_ACTIVE_BG (char *) NULL -#define DEF_MENU_ENTRY_ACTIVE_FG (char *) NULL -#define DEF_MENU_ENTRY_ACCELERATOR (char *) NULL -#define DEF_MENU_ENTRY_BG (char *) NULL -#define DEF_MENU_ENTRY_BITMAP None -#define DEF_MENU_ENTRY_COLUMN_BREAK "0" -#define DEF_MENU_ENTRY_COMMAND (char *) NULL -#define DEF_MENU_ENTRY_COMPOUND "none" -#define DEF_MENU_ENTRY_FG (char *) NULL -#define DEF_MENU_ENTRY_FONT (char *) NULL -#define DEF_MENU_ENTRY_HIDE_MARGIN "0" -#define DEF_MENU_ENTRY_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_INDICATOR "1" -#define DEF_MENU_ENTRY_LABEL (char *) NULL -#define DEF_MENU_ENTRY_MENU (char *) NULL -#define DEF_MENU_ENTRY_OFF_VALUE "0" -#define DEF_MENU_ENTRY_ON_VALUE "1" -#define DEF_MENU_ENTRY_SELECT_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_STATE "normal" -#define DEF_MENU_ENTRY_VALUE (char *) NULL -#define DEF_MENU_ENTRY_CHECK_VARIABLE (char *) NULL -#define DEF_MENU_ENTRY_RADIO_VARIABLE "selectedButton" -#define DEF_MENU_ENTRY_SELECT (char *) NULL -#define DEF_MENU_ENTRY_UNDERLINE "-1" - -/* - * Defaults for menus overall: - */ - -#define DEF_MENU_ACTIVE_BG_COLOR "SystemMenuActive" -#define DEF_MENU_ACTIVE_BG_MONO BLACK -#define DEF_MENU_ACTIVE_BORDER_WIDTH "0" -#define DEF_MENU_ACTIVE_FG_COLOR "SystemMenuActiveText" -#define DEF_MENU_ACTIVE_FG_MONO WHITE -#define DEF_MENU_BG_COLOR "SystemMenu" -#define DEF_MENU_BG_MONO WHITE -#define DEF_MENU_BORDER_WIDTH "0" -#define DEF_MENU_CURSOR "arrow" -#define DEF_MENU_DISABLED_FG_COLOR "SystemMenuDisabled" -#define DEF_MENU_DISABLED_FG_MONO "" -#define DEF_MENU_FONT "system" -#define DEF_MENU_FG "SystemMenuText" -#define DEF_MENU_POST_COMMAND "" -#define DEF_MENU_RELIEF "flat" -#define DEF_MENU_SELECT_COLOR "SystemMenuActive" -#define DEF_MENU_SELECT_MONO BLACK -#define DEF_MENU_TAKE_FOCUS "0" - -/* - * FIXME: Turn the default back to 1 when we make tearoff menus work again. - */ - -#define DEF_MENU_TEAROFF "0" -#define DEF_MENU_TEAROFF_CMD (char *) NULL -#define DEF_MENU_TITLE "" -#define DEF_MENU_TYPE "normal" - -/* - * Defaults for menubuttons: - */ - -#define DEF_MENUBUTTON_ANCHOR "center" -#define DEF_MENUBUTTON_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_MENUBUTTON_ACTIVE_BG_MONO BLACK -#define DEF_MENUBUTTON_ACTIVE_FG_COLOR BLACK -#define DEF_MENUBUTTON_ACTIVE_FG_MONO WHITE -#define DEF_MENUBUTTON_BG_COLOR NORMAL_BG -#define DEF_MENUBUTTON_BG_MONO WHITE -#define DEF_MENUBUTTON_BITMAP "" -#define DEF_MENUBUTTON_BORDER_WIDTH "2" -#define DEF_MENUBUTTON_CURSOR "" -#define DEF_MENUBUTTON_DIRECTION "below" -#define DEF_MENUBUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_MENUBUTTON_DISABLED_FG_MONO "" -#define DEF_MENUBUTTON_FONT "system" -#define DEF_MENUBUTTON_FG BLACK -#define DEF_MENUBUTTON_HEIGHT "0" -#define DEF_MENUBUTTON_HIGHLIGHT_BG_COLOR DEF_MENUBUTTON_BG_COLOR -#define DEF_MENUBUTTON_HIGHLIGHT_BG_MONO DEF_MENUBUTTON_BG_MONO -#define DEF_MENUBUTTON_HIGHLIGHT BLACK -#define DEF_MENUBUTTON_HIGHLIGHT_WIDTH "0" -#define DEF_MENUBUTTON_IMAGE (char *) NULL -#define DEF_MENUBUTTON_INDICATOR "0" -/* #define DEF_MENUBUTTON_JUSTIFY "center" */ -#define DEF_MENUBUTTON_JUSTIFY "left" -#define DEF_MENUBUTTON_MENU "" -#define DEF_MENUBUTTON_PADX "4p" -#define DEF_MENUBUTTON_PADY "3p" -#define DEF_MENUBUTTON_RELIEF "flat" -#define DEF_MENUBUTTON_STATE "normal" -#define DEF_MENUBUTTON_TAKE_FOCUS "0" -#define DEF_MENUBUTTON_TEXT "" -#define DEF_MENUBUTTON_TEXT_VARIABLE "" -#define DEF_MENUBUTTON_UNDERLINE "-1" -#define DEF_MENUBUTTON_WIDTH "0" -#define DEF_MENUBUTTON_WRAP_LENGTH "0" - -/* - * Defaults for messages: - */ - -#define DEF_MESSAGE_ANCHOR "center" -#define DEF_MESSAGE_ASPECT "150" -#define DEF_MESSAGE_BG_COLOR NORMAL_BG -#define DEF_MESSAGE_BG_MONO WHITE -#define DEF_MESSAGE_BORDER_WIDTH "2" -#define DEF_MESSAGE_CURSOR "" -#define DEF_MESSAGE_FG BLACK -#define DEF_MESSAGE_FONT "system" -#define DEF_MESSAGE_HIGHLIGHT_BG NORMAL_BG -#define DEF_MESSAGE_HIGHLIGHT BLACK -#define DEF_MESSAGE_HIGHLIGHT_WIDTH "0" -#define DEF_MESSAGE_JUSTIFY "left" -#define DEF_MESSAGE_PADX "-1" -#define DEF_MESSAGE_PADY "-1" -#define DEF_MESSAGE_RELIEF "flat" -#define DEF_MESSAGE_TAKE_FOCUS "0" -#define DEF_MESSAGE_TEXT "" -#define DEF_MESSAGE_TEXT_VARIABLE "" -#define DEF_MESSAGE_WIDTH "0" -/* - * Defaults for panedwindows - */ - -#define DEF_PANEDWINDOW_BG_COLOR NORMAL_BG -#define DEF_PANEDWINDOW_BG_MONO WHITE -#define DEF_PANEDWINDOW_BORDERWIDTH "2" -#define DEF_PANEDWINDOW_CURSOR "" -#define DEF_PANEDWINDOW_HANDLEPAD "8" -#define DEF_PANEDWINDOW_HANDLESIZE "8" -#define DEF_PANEDWINDOW_HEIGHT "" -#define DEF_PANEDWINDOW_OPAQUERESIZE "0" -#define DEF_PANEDWINDOW_ORIENT "horizontal" -#define DEF_PANEDWINDOW_RELIEF "flat" -#define DEF_PANEDWINDOW_SASHCURSOR "" -#define DEF_PANEDWINDOW_SASHPAD "2" -#define DEF_PANEDWINDOW_SASHRELIEF "raised" -#define DEF_PANEDWINDOW_SASHWIDTH "2" -#define DEF_PANEDWINDOW_SHOWHANDLE "1" -#define DEF_PANEDWINDOW_WIDTH "" - -/* - * Defaults for panedwindow panes - */ - -#define DEF_PANEDWINDOW_PANE_AFTER "" -#define DEF_PANEDWINDOW_PANE_BEFORE "" -#define DEF_PANEDWINDOW_PANE_HEIGHT "" -#define DEF_PANEDWINDOW_PANE_MINSIZE "0" -#define DEF_PANEDWINDOW_PANE_PADX "0" -#define DEF_PANEDWINDOW_PANE_PADY "0" -#define DEF_PANEDWINDOW_PANE_STICKY "nsew" -#define DEF_PANEDWINDOW_PANE_WIDTH "" - -/* - * Defaults for scales: - */ - -#define DEF_SCALE_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCALE_ACTIVE_BG_MONO BLACK -#define DEF_SCALE_BG_COLOR NORMAL_BG -#define DEF_SCALE_BG_MONO WHITE -#define DEF_SCALE_BIG_INCREMENT "0" -#define DEF_SCALE_BORDER_WIDTH "2" -#define DEF_SCALE_COMMAND "" -#define DEF_SCALE_CURSOR "" -#define DEF_SCALE_DIGITS "0" -#define DEF_SCALE_FONT "system" -#define DEF_SCALE_FG_COLOR BLACK -#define DEF_SCALE_FG_MONO BLACK -#define DEF_SCALE_FROM "0" -#define DEF_SCALE_HIGHLIGHT_BG_COLOR DEF_SCALE_BG_COLOR -#define DEF_SCALE_HIGHLIGHT_BG_MONO DEF_SCALE_BG_MONO -#define DEF_SCALE_HIGHLIGHT BLACK -#define DEF_SCALE_HIGHLIGHT_WIDTH "0" -#define DEF_SCALE_LABEL "" -#define DEF_SCALE_LENGTH "100" -#define DEF_SCALE_ORIENT "vertical" -#define DEF_SCALE_RELIEF "flat" -#define DEF_SCALE_REPEAT_DELAY "300" -#define DEF_SCALE_REPEAT_INTERVAL "100" -#define DEF_SCALE_RESOLUTION "1" -#define DEF_SCALE_TROUGH_COLOR TROUGH -#define DEF_SCALE_TROUGH_MONO WHITE -#define DEF_SCALE_SHOW_VALUE "1" -#define DEF_SCALE_SLIDER_LENGTH "30" -#define DEF_SCALE_SLIDER_RELIEF "raised" -#define DEF_SCALE_STATE "normal" -#define DEF_SCALE_TAKE_FOCUS (char *) NULL -#define DEF_SCALE_TICK_INTERVAL "0" -#define DEF_SCALE_TO "100" -#define DEF_SCALE_VARIABLE "" -#define DEF_SCALE_WIDTH "15" - -/* - * Defaults for scrollbars: - */ - -#define DEF_SCROLLBAR_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCROLLBAR_ACTIVE_BG_MONO BLACK -#define DEF_SCROLLBAR_ACTIVE_RELIEF "raised" -#define DEF_SCROLLBAR_BG_COLOR NORMAL_BG -#define DEF_SCROLLBAR_BG_MONO WHITE -/* #define DEF_SCROLLBAR_BORDER_WIDTH "2" */ -#define DEF_SCROLLBAR_BORDER_WIDTH "0" -#define DEF_SCROLLBAR_COMMAND "" -#define DEF_SCROLLBAR_CURSOR "" -#define DEF_SCROLLBAR_EL_BORDER_WIDTH "-1" -#define DEF_SCROLLBAR_HIGHLIGHT_BG NORMAL_BG -#define DEF_SCROLLBAR_HIGHLIGHT BLACK -/* #define DEF_SCROLLBAR_HIGHLIGHT_WIDTH "2" */ -#define DEF_SCROLLBAR_HIGHLIGHT_WIDTH "0" -#define DEF_SCROLLBAR_JUMP "0" -#define DEF_SCROLLBAR_ORIENT "vertical" -/*#define DEF_SCROLLBAR_RELIEF "sunken" */ -#define DEF_SCROLLBAR_RELIEF "flat" -#define DEF_SCROLLBAR_REPEAT_DELAY "300" -#define DEF_SCROLLBAR_REPEAT_INTERVAL "100" -#define DEF_SCROLLBAR_TAKE_FOCUS (char *) NULL -#define DEF_SCROLLBAR_TROUGH_COLOR TROUGH -#define DEF_SCROLLBAR_TROUGH_MONO WHITE -/*#define DEF_SCROLLBAR_WIDTH "15" */ -#define DEF_SCROLLBAR_WIDTH "16" - -/* - * Defaults for texts: - */ - -#define DEF_TEXT_AUTO_SEPARATORS "1" -#define DEF_TEXT_BG_COLOR NORMAL_BG -#define DEF_TEXT_BG_MONO WHITE -#define DEF_TEXT_BORDER_WIDTH "0" -#define DEF_TEXT_CURSOR "xterm" -#define DEF_TEXT_FG BLACK -#define DEF_TEXT_EXPORT_SELECTION "1" -#define DEF_TEXT_FONT "Courier 12" -#define DEF_TEXT_HEIGHT "24" -#define DEF_TEXT_HIGHLIGHT_BG NORMAL_BG -#define DEF_TEXT_HIGHLIGHT BLACK -#define DEF_TEXT_HIGHLIGHT_WIDTH "3" -#define DEF_TEXT_INSERT_BG BLACK -#define DEF_TEXT_INSERT_BD_COLOR "0" -#define DEF_TEXT_INSERT_BD_MONO "0" -#define DEF_TEXT_INSERT_OFF_TIME "300" -#define DEF_TEXT_INSERT_ON_TIME "600" -#define DEF_TEXT_INSERT_WIDTH "1" -#define DEF_TEXT_MAX_UNDO "0" -#define DEF_TEXT_PADX "1" -#define DEF_TEXT_PADY "1" -#define DEF_TEXT_RELIEF "flat" -#define DEF_TEXT_SELECT_COLOR SELECT_BG -#define DEF_TEXT_SELECT_MONO BLACK -#define DEF_TEXT_SELECT_BD_COLOR "1" -#define DEF_TEXT_SELECT_BD_MONO "0" -#define DEF_TEXT_SELECT_FG_COLOR SELECT_FG -#define DEF_TEXT_SELECT_FG_MONO WHITE -#define DEF_TEXT_SELECT_RELIEF "solid" -#define DEF_TEXT_SET_GRID "0" -#define DEF_TEXT_SPACING1 "0" -#define DEF_TEXT_SPACING2 "0" -#define DEF_TEXT_SPACING3 "0" -#define DEF_TEXT_STATE "normal" -#define DEF_TEXT_TABS "" -#define DEF_TEXT_TAKE_FOCUS (char *) NULL -#define DEF_TEXT_UNDO "0" -#define DEF_TEXT_WIDTH "80" -#define DEF_TEXT_WRAP "char" -#define DEF_TEXT_XSCROLL_COMMAND "" -#define DEF_TEXT_YSCROLL_COMMAND "" - -/* - * Defaults for canvas text: - */ - -#define DEF_CANVTEXT_FONT "Helvetica 12" - -/* - * Defaults for toplevels (most of the defaults for frames also apply - * to toplevels): - */ - -#define DEF_TOPLEVEL_CLASS "Toplevel" -#define DEF_TOPLEVEL_MENU "" -#define DEF_TOPLEVEL_SCREEN "" -#define DEF_TOPLEVEL_USE "" - -#endif /* _TKMACDEFAULT */ diff --git a/src/other/togl/include/tcltk/tk8.4/tkMacOSXInt.h b/src/other/togl/include/tcltk/tk8.4/tkMacOSXInt.h deleted file mode 100644 index b28b5156bba..00000000000 --- a/src/other/togl/include/tcltk/tk8.4/tkMacOSXInt.h +++ /dev/null @@ -1,174 +0,0 @@ -/* - * tkMacOSXInt.h -- - * - * Declarations of Macintosh specific shared variables and procedures. - * - * Copyright (c) 1995-1997 Sun Microsystems, Inc. - * Copyright 2001, Apple Computer, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKMACINT -#define _TKMACINT - -#ifndef _TKINT -#include "tkInt.h" -#endif - -#define TextStyle MacTextStyle -#include -#undef TextStyle - -/* - * Include platform specific public interfaces. - */ - -#ifndef _TKMAC -#include "tkMacOSX.h" -#endif - -struct TkWindowPrivate { - TkWindow *winPtr; /* Ptr to tk window or NULL if Pixmap */ - CGrafPtr grafPtr; - ControlRef rootControl; - int xOff; /* X offset from toplevel window */ - int yOff; /* Y offset from toplevel window */ - RgnHandle clipRgn; /* Visable region of window */ - RgnHandle aboveClipRgn; /* Visable region of window & it's children */ - int referenceCount; /* Don't delete toplevel until children are - * gone. */ - struct TkWindowPrivate *toplevel; /* Pointer to the toplevel - * datastruct. */ - int flags; /* Various state see defines below. */ -}; -typedef struct TkWindowPrivate MacDrawable; - -/* - * This list is used to keep track of toplevel windows that have a Mac - * window attached. This is useful for several things, not the least - * of which is maintaining floating windows. - */ - -typedef struct TkMacOSXWindowList { - struct TkMacOSXWindowList *nextPtr; /* The next window in the list. */ - TkWindow *winPtr; /* This window */ -} TkMacOSXWindowList; - -/* - * Defines use for the flags field of the MacDrawable data structure. - */ - -#define TK_SCROLLBAR_GROW 1 -#define TK_CLIP_INVALID 2 -#define TK_HOST_EXISTS 4 -#define TK_DRAWN_UNDER_MENU 8 -#define TK_MAPPED_IN_PARENT 16 - -/* - * I am reserving TK_EMBEDDED = 0x100 in the MacDrawable flags - * This is defined in tk.h. We need to duplicate the TK_EMBEDDED flag in the - * TkWindow structure for the window, but in the MacWin. This way we can - * still tell what the correct port is after the TKWindow structure has been - * freed. This actually happens when you bind destroy of a toplevel to - * Destroy of a child. - */ - -/* - * This structure is for handling Netscape-type in process - * embedding where Tk does not control the top-level. It contains - * various functions that are needed by Mac specific routines, like - * TkMacOSXGetDrawablePort. The definitions of the function types - * are in tclMac.h. - */ - -typedef struct { - Tk_MacOSXEmbedRegisterWinProc *registerWinProc; - Tk_MacOSXEmbedGetGrafPortProc *getPortProc; - Tk_MacOSXEmbedMakeContainerExistProc *containerExistProc; - Tk_MacOSXEmbedGetClipProc *getClipProc; - Tk_MacOSXEmbedGetOffsetInParentProc *getOffsetProc; -} TkMacOSXEmbedHandler; - -extern TkMacOSXEmbedHandler *gMacEmbedHandler; - -/* - * Defines used for TkMacOSXInvalidateWindow - */ - -#define TK_WINDOW_ONLY 0 -#define TK_PARENT_WINDOW 1 - -/* - * Accessor for the privatePtr flags field for the TK_HOST_EXISTS field - */ - -#define TkMacOSXHostToplevelExists(tkwin) \ - (((TkWindow *) (tkwin))->privatePtr->toplevel->flags & TK_HOST_EXISTS) - -/* - * Defines use for the flags argument to TkGenWMConfigureEvent. - */ - -#define TK_LOCATION_CHANGED 1 -#define TK_SIZE_CHANGED 2 -#define TK_BOTH_CHANGED 3 - -/* - * Variables shared among various Mac Tk modules but are not - * exported to the outside world. - */ - -/* - * Globals shared among Macintosh Tk - */ - -extern MenuHandle tkAppleMenu; /* Handle to the Apple Menu */ -extern MenuHandle tkFileMenu; /* Handles to menus */ -extern MenuHandle tkEditMenu; /* Handles to menus */ -extern RgnHandle tkMenuCascadeRgn; /* A region to clip with. */ -extern int tkUseMenuCascadeRgn; /* If this is 1, clipping code - * should intersect tkMenuCascadeRgn - * before drawing occurs. - * tkMenuCascadeRgn will only - * be valid when the value of this - * variable is 1. */ -extern int tkPictureIsOpen; /* If this is 1, we are drawing to a - * picture The clipping should then be - * done relative to the bounds of the - * picture rather than the window. As - * of OS X.0.4, something is seriously - * wrong: The clipping bounds only - * seem to work if the top,left values - * are 0,0 The destination rectangle - * for CopyBits should also have - * top,left values of 0,0 - */ -extern TkMacOSXWindowList *tkMacOSXWindowListPtr; - /* The list of toplevels */ - -extern Tcl_Encoding TkMacOSXCarbonEncoding; - -extern void TkMacOSXDisplayChanged(Display *display); -extern int TkMacOSXUseAntialiasedText(Tcl_Interp *interp, int enable); -extern void TkMacOSXInitCarbonEvents(Tcl_Interp *interp); -extern int TkMacOSXInitCGDrawing(Tcl_Interp *interp, int enable, int antiAlias); -extern void TkMacOSXDefaultStartupScript(void); -extern int TkMacOSXGenerateFocusEvent( Window window, int activeFlag); -extern WindowClass TkMacOSXWindowClass(TkWindow *winPtr); -extern int TkMacOSXIsWindowZoomed(TkWindow *winPtr); - -extern void* TkMacOSXGetNamedSymbol(const char* module, const char* symbol); -/* Macro to abstract common use of TkMacOSXGetNamedSymbol to initialize named symbols */ -#define TkMacOSXInitNamedSymbol(module, ret, symbol, ...) \ - static ret (* symbol)(__VA_ARGS__) = (void*)(-1L); \ - if (symbol == (void*)(-1L)) { \ - symbol = TkMacOSXGetNamedSymbol(STRINGIFY(module), STRINGIFY(_##symbol));\ - } - -#include "tkIntPlatDecls.h" - -#endif /* _TKMACINT */ diff --git a/src/other/togl/include/tcltk/tk8.4/tkMacOSXPort.h b/src/other/togl/include/tcltk/tk8.4/tkMacOSXPort.h deleted file mode 100644 index 996fe87eba2..00000000000 --- a/src/other/togl/include/tcltk/tk8.4/tkMacOSXPort.h +++ /dev/null @@ -1,204 +0,0 @@ -/* - * tkMacOSXPort.h -- - * - * This file is included by all of the Tk C files. It contains - * information that may be configuration-dependent, such as - * #includes for system include files and a few other things. - * - * Copyright (c) 1994-1996 Sun Microsystems, Inc. - * Copyright 2001, Apple Computer, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKMACPORT -#define _TKMACPORT - -/* - * Macro to use instead of "void" for arguments that must have - * type "void *" in ANSI C; maps them to type "char *" in - * non-ANSI systems. This macro may be used in some of the include - * files below, which is why it is defined here. - */ - -#ifndef VOID -# ifdef __STDC__ -# define VOID void -# else -# define VOID char -# endif -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#ifdef HAVE_SYS_SELECT_H -# include -#endif -#include -#ifndef _TCL -# include -#endif -#if TIME_WITH_SYS_TIME -# include -# include -#else -# if HAVE_SYS_TIME_H -# include -# else -# include -# endif -#endif -#include -#include -#include -#include -#include -#include -#include -#include "tkIntXlibDecls.h" - -/* - * The following macro defines the type of the mask arguments to - * select: - */ - -#ifndef NO_FD_SET -# define SELECT_MASK fd_set -#else -# ifndef _AIX - typedef long fd_mask; -# endif -# if defined(_IBMR2) -# define SELECT_MASK void -# else -# define SELECT_MASK int -# endif -#endif - -/* - * The following macro defines the number of fd_masks in an fd_set: - */ - -#ifndef FD_SETSIZE -# ifdef OPEN_MAX -# define FD_SETSIZE OPEN_MAX -# else -# define FD_SETSIZE 256 -# endif -#endif -#if !defined(howmany) -# define howmany(x, y) (((x)+((y)-1))/(y)) -#endif -#ifndef NFDBITS -# define NFDBITS NBBY*sizeof(fd_mask) -#endif -#define MASK_SIZE howmany(FD_SETSIZE, NFDBITS) - -/* - * Define "NBBY" (number of bits per byte) if it's not already defined. - */ - -#ifndef NBBY -# define NBBY 8 -#endif - -/* - * Declarations for various library procedures that may not be declared - * in any other header file. - */ - -#ifndef strcasecmp -extern int strcasecmp _ANSI_ARGS_((CONST char *s1, - CONST char *s2)); -#endif -#ifndef strncasecmp -extern int strncasecmp _ANSI_ARGS_((CONST char *s1, - CONST char *s2, size_t n)); -#endif - -/* - * The following define causes Tk to use its internal keysym hash table - */ - -#define REDO_KEYSYM_LOOKUP - -/* - * Defines for X functions that are used by Tk but are treated as - * no-op functions on the Macintosh. - */ - -#define XFlush(display) -#define XFree(data) {if ((data) != NULL) ckfree((char *) (data));} -#define XGrabServer(display) -#define XNoOp(display) {display->request++;} -#define XUngrabServer(display) -#define XSynchronize(display, bool) {display->request++;} -#define XVisualIDFromVisual(visual) (visual->visualid) - -/* - * The following functions are not used on the Mac, so we stub them out. - */ - -#define TkFreeWindowId(dispPtr,w) -#define TkInitXId(dispPtr) -#define TkpButtonSetDefaults(specPtr) {} -#define TkpCmapStressed(tkwin,colormap) (0) -#define TkpFreeColor(tkColPtr) -#define TkSetPixmapColormap(p,c) {} -#define TkpSync(display) - -/* - * The following macro returns the pixel value that corresponds to the - * RGB values in the given XColor structure. - */ - -#define PIXEL_MAGIC ((unsigned char) 0x69) -#define TkpGetPixel(p) ((((((PIXEL_MAGIC << 8) \ - | (((p)->red >> 8) & 0xff)) << 8) \ - | (((p)->green >> 8) & 0xff)) << 8) \ - | (((p)->blue >> 8) & 0xff)) - -/* - * This macro stores a representation of the window handle in a string. - * This should perhaps use the real size of an XID. - */ - -#define TkpPrintWindowId(buf,w) \ - sprintf((buf), "0x%x", (unsigned int) (w)) - -/* - * TkpScanWindowId is just an alias for Tcl_GetInt on Unix. - */ - -#define TkpScanWindowId(i,s,wp) \ - Tcl_GetInt((i),(s),(int *) (wp)) - -/* - * Magic pixel values for dynamic (or active) colors. - */ - -#define HIGHLIGHT_PIXEL 31 -#define HIGHLIGHT_TEXT_PIXEL 33 -#define CONTROL_TEXT_PIXEL 35 -#define CONTROL_BODY_PIXEL 37 -#define CONTROL_FRAME_PIXEL 39 -#define WINDOW_BODY_PIXEL 41 -#define MENU_ACTIVE_PIXEL 43 -#define MENU_ACTIVE_TEXT_PIXEL 45 -#define MENU_BACKGROUND_PIXEL 47 -#define MENU_DISABLED_PIXEL 49 -#define MENU_TEXT_PIXEL 51 -#define APPEARANCE_PIXEL 52 - -#endif /* _TKMACPORT */ diff --git a/src/other/togl/include/tcltk/tk8.4/tkPlatDecls.h b/src/other/togl/include/tcltk/tk8.4/tkPlatDecls.h deleted file mode 100644 index 53d54be5619..00000000000 --- a/src/other/togl/include/tcltk/tk8.4/tkPlatDecls.h +++ /dev/null @@ -1,300 +0,0 @@ -/* - * tkPlatDecls.h -- - * - * Declarations of functions in the platform-specific public Tcl API. - * - * Copyright (c) 1998-1999 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKPLATDECLS -#define _TKPLATDECLS - -#ifdef BUILD_tk -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * WARNING: This file is automatically generated by the tools/genStubs.tcl - * script. Any modifications to the function declarations below should be made - * in the generic/tk.decls script. - */ - -/* !BEGIN!: Do not edit below this line. */ - -/* - * Exported function declarations: - */ - -#ifdef __WIN32__ -/* 0 */ -EXTERN Window Tk_AttachHWND _ANSI_ARGS_((Tk_Window tkwin, - HWND hwnd)); -/* 1 */ -EXTERN HINSTANCE Tk_GetHINSTANCE _ANSI_ARGS_((void)); -/* 2 */ -EXTERN HWND Tk_GetHWND _ANSI_ARGS_((Window window)); -/* 3 */ -EXTERN Tk_Window Tk_HWNDToWindow _ANSI_ARGS_((HWND hwnd)); -/* 4 */ -EXTERN void Tk_PointerEvent _ANSI_ARGS_((HWND hwnd, int x, int y)); -/* 5 */ -EXTERN int Tk_TranslateWinEvent _ANSI_ARGS_((HWND hwnd, - UINT message, WPARAM wParam, LPARAM lParam, - LRESULT * result)); -#endif /* __WIN32__ */ -#ifdef MAC_TCL -/* 0 */ -EXTERN void Tk_MacSetEmbedHandler _ANSI_ARGS_(( - Tk_MacEmbedRegisterWinProc * registerWinProcPtr, - Tk_MacEmbedGetGrafPortProc * getPortProcPtr, - Tk_MacEmbedMakeContainerExistProc * containerExistProcPtr, - Tk_MacEmbedGetClipProc * getClipProc, - Tk_MacEmbedGetOffsetInParentProc * getOffsetProc)); -/* 1 */ -EXTERN void Tk_MacTurnOffMenus _ANSI_ARGS_((void)); -/* 2 */ -EXTERN void Tk_MacTkOwnsCursor _ANSI_ARGS_((int tkOwnsIt)); -/* 3 */ -EXTERN void TkMacInitMenus _ANSI_ARGS_((Tcl_Interp * interp)); -/* 4 */ -EXTERN void TkMacInitAppleEvents _ANSI_ARGS_(( - Tcl_Interp * interp)); -/* 5 */ -EXTERN int TkMacConvertEvent _ANSI_ARGS_(( - EventRecord * eventPtr)); -/* 6 */ -EXTERN int TkMacConvertTkEvent _ANSI_ARGS_(( - EventRecord * eventPtr, Window window)); -/* 7 */ -EXTERN void TkGenWMConfigureEvent _ANSI_ARGS_((Tk_Window tkwin, - int x, int y, int width, int height, - int flags)); -/* 8 */ -EXTERN void TkMacInvalClipRgns _ANSI_ARGS_((TkWindow * winPtr)); -/* 9 */ -EXTERN int TkMacHaveAppearance _ANSI_ARGS_((void)); -/* 10 */ -EXTERN GWorldPtr TkMacGetDrawablePort _ANSI_ARGS_((Drawable drawable)); -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -/* 0 */ -EXTERN void Tk_MacOSXSetEmbedHandler _ANSI_ARGS_(( - Tk_MacOSXEmbedRegisterWinProc * registerWinProcPtr, - Tk_MacOSXEmbedGetGrafPortProc * getPortProcPtr, - Tk_MacOSXEmbedMakeContainerExistProc * containerExistProcPtr, - Tk_MacOSXEmbedGetClipProc * getClipProc, - Tk_MacOSXEmbedGetOffsetInParentProc * getOffsetProc)); -/* 1 */ -EXTERN void Tk_MacOSXTurnOffMenus _ANSI_ARGS_((void)); -/* 2 */ -EXTERN void Tk_MacOSXTkOwnsCursor _ANSI_ARGS_((int tkOwnsIt)); -/* 3 */ -EXTERN void TkMacOSXInitMenus _ANSI_ARGS_((Tcl_Interp * interp)); -/* 4 */ -EXTERN void TkMacOSXInitAppleEvents _ANSI_ARGS_(( - Tcl_Interp * interp)); -/* 5 */ -EXTERN void TkGenWMConfigureEvent _ANSI_ARGS_((Tk_Window tkwin, - int x, int y, int width, int height, - int flags)); -/* 6 */ -EXTERN void TkMacOSXInvalClipRgns _ANSI_ARGS_((Tk_Window tkwin)); -/* 7 */ -EXTERN GWorldPtr TkMacOSXGetDrawablePort _ANSI_ARGS_(( - Drawable drawable)); -/* 8 */ -EXTERN ControlRef TkMacOSXGetRootControl _ANSI_ARGS_(( - Drawable drawable)); -/* 9 */ -EXTERN void Tk_MacOSXSetupTkNotifier _ANSI_ARGS_((void)); -/* 10 */ -EXTERN int Tk_MacOSXIsAppInFront _ANSI_ARGS_((void)); -#endif /* MAC_OSX_TK */ - -typedef struct TkPlatStubs { - int magic; - struct TkPlatStubHooks *hooks; - -#ifdef __WIN32__ - Window (*tk_AttachHWND) _ANSI_ARGS_((Tk_Window tkwin, HWND hwnd)); /* 0 */ - HINSTANCE (*tk_GetHINSTANCE) _ANSI_ARGS_((void)); /* 1 */ - HWND (*tk_GetHWND) _ANSI_ARGS_((Window window)); /* 2 */ - Tk_Window (*tk_HWNDToWindow) _ANSI_ARGS_((HWND hwnd)); /* 3 */ - void (*tk_PointerEvent) _ANSI_ARGS_((HWND hwnd, int x, int y)); /* 4 */ - int (*tk_TranslateWinEvent) _ANSI_ARGS_((HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT * result)); /* 5 */ -#endif /* __WIN32__ */ -#ifdef MAC_TCL - void (*tk_MacSetEmbedHandler) _ANSI_ARGS_((Tk_MacEmbedRegisterWinProc * registerWinProcPtr, Tk_MacEmbedGetGrafPortProc * getPortProcPtr, Tk_MacEmbedMakeContainerExistProc * containerExistProcPtr, Tk_MacEmbedGetClipProc * getClipProc, Tk_MacEmbedGetOffsetInParentProc * getOffsetProc)); /* 0 */ - void (*tk_MacTurnOffMenus) _ANSI_ARGS_((void)); /* 1 */ - void (*tk_MacTkOwnsCursor) _ANSI_ARGS_((int tkOwnsIt)); /* 2 */ - void (*tkMacInitMenus) _ANSI_ARGS_((Tcl_Interp * interp)); /* 3 */ - void (*tkMacInitAppleEvents) _ANSI_ARGS_((Tcl_Interp * interp)); /* 4 */ - int (*tkMacConvertEvent) _ANSI_ARGS_((EventRecord * eventPtr)); /* 5 */ - int (*tkMacConvertTkEvent) _ANSI_ARGS_((EventRecord * eventPtr, Window window)); /* 6 */ - void (*tkGenWMConfigureEvent) _ANSI_ARGS_((Tk_Window tkwin, int x, int y, int width, int height, int flags)); /* 7 */ - void (*tkMacInvalClipRgns) _ANSI_ARGS_((TkWindow * winPtr)); /* 8 */ - int (*tkMacHaveAppearance) _ANSI_ARGS_((void)); /* 9 */ - GWorldPtr (*tkMacGetDrawablePort) _ANSI_ARGS_((Drawable drawable)); /* 10 */ -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK - void (*tk_MacOSXSetEmbedHandler) _ANSI_ARGS_((Tk_MacOSXEmbedRegisterWinProc * registerWinProcPtr, Tk_MacOSXEmbedGetGrafPortProc * getPortProcPtr, Tk_MacOSXEmbedMakeContainerExistProc * containerExistProcPtr, Tk_MacOSXEmbedGetClipProc * getClipProc, Tk_MacOSXEmbedGetOffsetInParentProc * getOffsetProc)); /* 0 */ - void (*tk_MacOSXTurnOffMenus) _ANSI_ARGS_((void)); /* 1 */ - void (*tk_MacOSXTkOwnsCursor) _ANSI_ARGS_((int tkOwnsIt)); /* 2 */ - void (*tkMacOSXInitMenus) _ANSI_ARGS_((Tcl_Interp * interp)); /* 3 */ - void (*tkMacOSXInitAppleEvents) _ANSI_ARGS_((Tcl_Interp * interp)); /* 4 */ - void (*tkGenWMConfigureEvent) _ANSI_ARGS_((Tk_Window tkwin, int x, int y, int width, int height, int flags)); /* 5 */ - void (*tkMacOSXInvalClipRgns) _ANSI_ARGS_((Tk_Window tkwin)); /* 6 */ - GWorldPtr (*tkMacOSXGetDrawablePort) _ANSI_ARGS_((Drawable drawable)); /* 7 */ - ControlRef (*tkMacOSXGetRootControl) _ANSI_ARGS_((Drawable drawable)); /* 8 */ - void (*tk_MacOSXSetupTkNotifier) _ANSI_ARGS_((void)); /* 9 */ - int (*tk_MacOSXIsAppInFront) _ANSI_ARGS_((void)); /* 10 */ -#endif /* MAC_OSX_TK */ -} TkPlatStubs; - -#ifdef __cplusplus -extern "C" { -#endif -extern TkPlatStubs *tkPlatStubsPtr; -#ifdef __cplusplus -} -#endif - -#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) - -/* - * Inline function declarations: - */ - -#ifdef __WIN32__ -#ifndef Tk_AttachHWND -#define Tk_AttachHWND \ - (tkPlatStubsPtr->tk_AttachHWND) /* 0 */ -#endif -#ifndef Tk_GetHINSTANCE -#define Tk_GetHINSTANCE \ - (tkPlatStubsPtr->tk_GetHINSTANCE) /* 1 */ -#endif -#ifndef Tk_GetHWND -#define Tk_GetHWND \ - (tkPlatStubsPtr->tk_GetHWND) /* 2 */ -#endif -#ifndef Tk_HWNDToWindow -#define Tk_HWNDToWindow \ - (tkPlatStubsPtr->tk_HWNDToWindow) /* 3 */ -#endif -#ifndef Tk_PointerEvent -#define Tk_PointerEvent \ - (tkPlatStubsPtr->tk_PointerEvent) /* 4 */ -#endif -#ifndef Tk_TranslateWinEvent -#define Tk_TranslateWinEvent \ - (tkPlatStubsPtr->tk_TranslateWinEvent) /* 5 */ -#endif -#endif /* __WIN32__ */ -#ifdef MAC_TCL -#ifndef Tk_MacSetEmbedHandler -#define Tk_MacSetEmbedHandler \ - (tkPlatStubsPtr->tk_MacSetEmbedHandler) /* 0 */ -#endif -#ifndef Tk_MacTurnOffMenus -#define Tk_MacTurnOffMenus \ - (tkPlatStubsPtr->tk_MacTurnOffMenus) /* 1 */ -#endif -#ifndef Tk_MacTkOwnsCursor -#define Tk_MacTkOwnsCursor \ - (tkPlatStubsPtr->tk_MacTkOwnsCursor) /* 2 */ -#endif -#ifndef TkMacInitMenus -#define TkMacInitMenus \ - (tkPlatStubsPtr->tkMacInitMenus) /* 3 */ -#endif -#ifndef TkMacInitAppleEvents -#define TkMacInitAppleEvents \ - (tkPlatStubsPtr->tkMacInitAppleEvents) /* 4 */ -#endif -#ifndef TkMacConvertEvent -#define TkMacConvertEvent \ - (tkPlatStubsPtr->tkMacConvertEvent) /* 5 */ -#endif -#ifndef TkMacConvertTkEvent -#define TkMacConvertTkEvent \ - (tkPlatStubsPtr->tkMacConvertTkEvent) /* 6 */ -#endif -#ifndef TkGenWMConfigureEvent -#define TkGenWMConfigureEvent \ - (tkPlatStubsPtr->tkGenWMConfigureEvent) /* 7 */ -#endif -#ifndef TkMacInvalClipRgns -#define TkMacInvalClipRgns \ - (tkPlatStubsPtr->tkMacInvalClipRgns) /* 8 */ -#endif -#ifndef TkMacHaveAppearance -#define TkMacHaveAppearance \ - (tkPlatStubsPtr->tkMacHaveAppearance) /* 9 */ -#endif -#ifndef TkMacGetDrawablePort -#define TkMacGetDrawablePort \ - (tkPlatStubsPtr->tkMacGetDrawablePort) /* 10 */ -#endif -#endif /* MAC_TCL */ -#ifdef MAC_OSX_TK -#ifndef Tk_MacOSXSetEmbedHandler -#define Tk_MacOSXSetEmbedHandler \ - (tkPlatStubsPtr->tk_MacOSXSetEmbedHandler) /* 0 */ -#endif -#ifndef Tk_MacOSXTurnOffMenus -#define Tk_MacOSXTurnOffMenus \ - (tkPlatStubsPtr->tk_MacOSXTurnOffMenus) /* 1 */ -#endif -#ifndef Tk_MacOSXTkOwnsCursor -#define Tk_MacOSXTkOwnsCursor \ - (tkPlatStubsPtr->tk_MacOSXTkOwnsCursor) /* 2 */ -#endif -#ifndef TkMacOSXInitMenus -#define TkMacOSXInitMenus \ - (tkPlatStubsPtr->tkMacOSXInitMenus) /* 3 */ -#endif -#ifndef TkMacOSXInitAppleEvents -#define TkMacOSXInitAppleEvents \ - (tkPlatStubsPtr->tkMacOSXInitAppleEvents) /* 4 */ -#endif -#ifndef TkGenWMConfigureEvent -#define TkGenWMConfigureEvent \ - (tkPlatStubsPtr->tkGenWMConfigureEvent) /* 5 */ -#endif -#ifndef TkMacOSXInvalClipRgns -#define TkMacOSXInvalClipRgns \ - (tkPlatStubsPtr->tkMacOSXInvalClipRgns) /* 6 */ -#endif -#ifndef TkMacOSXGetDrawablePort -#define TkMacOSXGetDrawablePort \ - (tkPlatStubsPtr->tkMacOSXGetDrawablePort) /* 7 */ -#endif -#ifndef TkMacOSXGetRootControl -#define TkMacOSXGetRootControl \ - (tkPlatStubsPtr->tkMacOSXGetRootControl) /* 8 */ -#endif -#ifndef Tk_MacOSXSetupTkNotifier -#define Tk_MacOSXSetupTkNotifier \ - (tkPlatStubsPtr->tk_MacOSXSetupTkNotifier) /* 9 */ -#endif -#ifndef Tk_MacOSXIsAppInFront -#define Tk_MacOSXIsAppInFront \ - (tkPlatStubsPtr->tk_MacOSXIsAppInFront) /* 10 */ -#endif -#endif /* MAC_OSX_TK */ - -#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */ - -/* !END!: Do not edit above this line. */ - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKPLATDECLS */ diff --git a/src/other/togl/include/tcltk/tk8.4/tkPort.h b/src/other/togl/include/tcltk/tk8.4/tkPort.h deleted file mode 100644 index 42b4fed4548..00000000000 --- a/src/other/togl/include/tcltk/tk8.4/tkPort.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * tkPort.h -- - * - * This header file handles porting issues that occur because of - * differences between systems. It reads in platform specific - * portability files. - * - * Copyright (c) 1995 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKPORT -#define _TKPORT - -#ifndef _TK -#include "tk.h" -#endif -#ifndef _TCL -#include "tcl.h" -#endif - -#if defined(__WIN32__) || defined(_WIN32) -# include "tkWinPort.h" -#else -# if defined(MAC_TCL) -# include "tkMacPort.h" -# elif defined(MAC_OSX_TK) -# include "tkMacOSXPort.h" -# else -# include "tkUnixPort.h" -# endif -#endif - -#endif /* _TKPORT */ diff --git a/src/other/togl/include/tcltk/tk8.4/tkUnixDefault.h b/src/other/togl/include/tcltk/tk8.4/tkUnixDefault.h deleted file mode 100644 index 82b05f46e09..00000000000 --- a/src/other/togl/include/tcltk/tk8.4/tkUnixDefault.h +++ /dev/null @@ -1,519 +0,0 @@ -/* - * tkUnixDefault.h -- - * - * This file defines the defaults for all options for all of - * the Tk widgets. - * - * Copyright (c) 1991-1994 The Regents of the University of California. - * Copyright (c) 1994-1997 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKUNIXDEFAULT -#define _TKUNIXDEFAULT - -/* - * The definitions below provide symbolic names for the default colors. - * NORMAL_BG - Normal background color. - * ACTIVE_BG - Background color when widget is active. - * SELECT_BG - Background color for selected text. - * TROUGH - Background color for troughs in scales and scrollbars. - * INDICATOR - Color for indicator when button is selected. - * DISABLED - Foreground color when widget is disabled. - */ - -#define BLACK "Black" -#define WHITE "White" - -#define NORMAL_BG "#d9d9d9" -#define ACTIVE_BG "#ececec" -#define SELECT_BG "#c3c3c3" -#define TROUGH "#c3c3c3" -#define INDICATOR "#b03060" -#define DISABLED "#a3a3a3" - -/* - * Defaults for labels, buttons, checkbuttons, and radiobuttons: - */ - -#define DEF_BUTTON_ANCHOR "center" -#define DEF_BUTTON_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_BUTTON_ACTIVE_BG_MONO BLACK -#define DEF_BUTTON_ACTIVE_FG_COLOR BLACK -#define DEF_CHKRAD_ACTIVE_FG_COLOR DEF_BUTTON_ACTIVE_FG_COLOR -#define DEF_BUTTON_ACTIVE_FG_MONO WHITE -#define DEF_BUTTON_BG_COLOR NORMAL_BG -#define DEF_BUTTON_BG_MONO WHITE -#define DEF_BUTTON_BITMAP "" -#define DEF_BUTTON_BORDER_WIDTH "2" -#define DEF_BUTTON_CURSOR "" -#define DEF_BUTTON_COMPOUND "none" -#define DEF_BUTTON_COMMAND "" -#define DEF_BUTTON_DEFAULT "disabled" -#define DEF_BUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_BUTTON_DISABLED_FG_MONO "" -#define DEF_BUTTON_FG BLACK -#define DEF_CHKRAD_FG DEF_BUTTON_FG -#define DEF_BUTTON_FONT "Helvetica -12 bold" -#define DEF_BUTTON_HEIGHT "0" -#define DEF_BUTTON_HIGHLIGHT_BG_COLOR DEF_BUTTON_BG_COLOR -#define DEF_BUTTON_HIGHLIGHT_BG_MONO DEF_BUTTON_BG_MONO -#define DEF_BUTTON_HIGHLIGHT BLACK -#define DEF_LABEL_HIGHLIGHT_WIDTH "0" -#define DEF_BUTTON_HIGHLIGHT_WIDTH "1" -#define DEF_BUTTON_IMAGE (char *) NULL -#define DEF_BUTTON_INDICATOR "1" -#define DEF_BUTTON_JUSTIFY "center" -#define DEF_BUTTON_OFF_VALUE "0" -#define DEF_BUTTON_ON_VALUE "1" -#define DEF_BUTTON_OVER_RELIEF "" -#define DEF_BUTTON_PADX "3m" -#define DEF_LABCHKRAD_PADX "1" -#define DEF_BUTTON_PADY "1m" -#define DEF_LABCHKRAD_PADY "1" -#define DEF_BUTTON_RELIEF "raised" -#define DEF_LABCHKRAD_RELIEF "flat" -#define DEF_BUTTON_REPEAT_DELAY "0" -#define DEF_BUTTON_REPEAT_INTERVAL "0" -#define DEF_BUTTON_SELECT_COLOR INDICATOR -#define DEF_BUTTON_SELECT_MONO BLACK -#define DEF_BUTTON_SELECT_IMAGE (char *) NULL -#define DEF_BUTTON_STATE "normal" -#define DEF_LABEL_TAKE_FOCUS "0" -#define DEF_BUTTON_TAKE_FOCUS (char *) NULL -#define DEF_BUTTON_TEXT "" -#define DEF_BUTTON_TEXT_VARIABLE "" -#define DEF_BUTTON_UNDERLINE "-1" -#define DEF_BUTTON_VALUE "" -#define DEF_BUTTON_WIDTH "0" -#define DEF_BUTTON_WRAP_LENGTH "0" -#define DEF_RADIOBUTTON_VARIABLE "selectedButton" -#define DEF_CHECKBUTTON_VARIABLE "" - -/* - * Defaults for canvases: - */ - -#define DEF_CANVAS_BG_COLOR NORMAL_BG -#define DEF_CANVAS_BG_MONO WHITE -#define DEF_CANVAS_BORDER_WIDTH "0" -#define DEF_CANVAS_CLOSE_ENOUGH "1" -#define DEF_CANVAS_CONFINE "1" -#define DEF_CANVAS_CURSOR "" -#define DEF_CANVAS_HEIGHT "7c" -#define DEF_CANVAS_HIGHLIGHT_BG NORMAL_BG -#define DEF_CANVAS_HIGHLIGHT BLACK -#define DEF_CANVAS_HIGHLIGHT_WIDTH "1" -#define DEF_CANVAS_INSERT_BG BLACK -#define DEF_CANVAS_INSERT_BD_COLOR "0" -#define DEF_CANVAS_INSERT_BD_MONO "0" -#define DEF_CANVAS_INSERT_OFF_TIME "300" -#define DEF_CANVAS_INSERT_ON_TIME "600" -#define DEF_CANVAS_INSERT_WIDTH "2" -#define DEF_CANVAS_RELIEF "flat" -#define DEF_CANVAS_SCROLL_REGION "" -#define DEF_CANVAS_SELECT_COLOR SELECT_BG -#define DEF_CANVAS_SELECT_MONO BLACK -#define DEF_CANVAS_SELECT_BD_COLOR "1" -#define DEF_CANVAS_SELECT_BD_MONO "0" -#define DEF_CANVAS_SELECT_FG_COLOR BLACK -#define DEF_CANVAS_SELECT_FG_MONO WHITE -#define DEF_CANVAS_TAKE_FOCUS (char *) NULL -#define DEF_CANVAS_WIDTH "10c" -#define DEF_CANVAS_X_SCROLL_CMD "" -#define DEF_CANVAS_X_SCROLL_INCREMENT "0" -#define DEF_CANVAS_Y_SCROLL_CMD "" -#define DEF_CANVAS_Y_SCROLL_INCREMENT "0" - -/* - * Defaults for entries: - */ - -#define DEF_ENTRY_BG_COLOR NORMAL_BG -#define DEF_ENTRY_BG_MONO WHITE -#define DEF_ENTRY_BORDER_WIDTH "2" -#define DEF_ENTRY_CURSOR "xterm" -#define DEF_ENTRY_DISABLED_BG_COLOR NORMAL_BG -#define DEF_ENTRY_DISABLED_BG_MONO WHITE -#define DEF_ENTRY_DISABLED_FG DISABLED -#define DEF_ENTRY_EXPORT_SELECTION "1" -#define DEF_ENTRY_FONT "Helvetica -12" -#define DEF_ENTRY_FG BLACK -#define DEF_ENTRY_HIGHLIGHT_BG NORMAL_BG -#define DEF_ENTRY_HIGHLIGHT BLACK -#define DEF_ENTRY_HIGHLIGHT_WIDTH "1" -#define DEF_ENTRY_INSERT_BG BLACK -#define DEF_ENTRY_INSERT_BD_COLOR "0" -#define DEF_ENTRY_INSERT_BD_MONO "0" -#define DEF_ENTRY_INSERT_OFF_TIME "300" -#define DEF_ENTRY_INSERT_ON_TIME "600" -#define DEF_ENTRY_INSERT_WIDTH "2" -#define DEF_ENTRY_JUSTIFY "left" -#define DEF_ENTRY_READONLY_BG_COLOR NORMAL_BG -#define DEF_ENTRY_READONLY_BG_MONO WHITE -#define DEF_ENTRY_RELIEF "sunken" -#define DEF_ENTRY_SCROLL_COMMAND "" -#define DEF_ENTRY_SELECT_COLOR SELECT_BG -#define DEF_ENTRY_SELECT_MONO BLACK -#define DEF_ENTRY_SELECT_BD_COLOR "1" -#define DEF_ENTRY_SELECT_BD_MONO "0" -#define DEF_ENTRY_SELECT_FG_COLOR BLACK -#define DEF_ENTRY_SELECT_FG_MONO WHITE -#define DEF_ENTRY_SHOW (char *) NULL -#define DEF_ENTRY_STATE "normal" -#define DEF_ENTRY_TAKE_FOCUS (char *) NULL -#define DEF_ENTRY_TEXT_VARIABLE "" -#define DEF_ENTRY_WIDTH "20" - -/* - * Defaults for frames: - */ - -#define DEF_FRAME_BG_COLOR NORMAL_BG -#define DEF_FRAME_BG_MONO WHITE -#define DEF_FRAME_BORDER_WIDTH "0" -#define DEF_FRAME_CLASS "Frame" -#define DEF_FRAME_COLORMAP "" -#define DEF_FRAME_CONTAINER "0" -#define DEF_FRAME_CURSOR "" -#define DEF_FRAME_HEIGHT "0" -#define DEF_FRAME_HIGHLIGHT_BG NORMAL_BG -#define DEF_FRAME_HIGHLIGHT BLACK -#define DEF_FRAME_HIGHLIGHT_WIDTH "0" -#define DEF_FRAME_LABEL "" -#define DEF_FRAME_PADX "0" -#define DEF_FRAME_PADY "0" -#define DEF_FRAME_RELIEF "flat" -#define DEF_FRAME_TAKE_FOCUS "0" -#define DEF_FRAME_VISUAL "" -#define DEF_FRAME_WIDTH "0" - -/* - * Defaults for labelframes: - */ - -#define DEF_LABELFRAME_BORDER_WIDTH "2" -#define DEF_LABELFRAME_CLASS "Labelframe" -#define DEF_LABELFRAME_RELIEF "groove" -#define DEF_LABELFRAME_FG BLACK -#define DEF_LABELFRAME_FONT "Helvetica -12 bold" -#define DEF_LABELFRAME_TEXT "" -#define DEF_LABELFRAME_LABELANCHOR "nw" - -/* - * Defaults for listboxes: - */ - -#define DEF_LISTBOX_ACTIVE_STYLE "underline" -#define DEF_LISTBOX_BG_COLOR NORMAL_BG -#define DEF_LISTBOX_BG_MONO WHITE -#define DEF_LISTBOX_BORDER_WIDTH "2" -#define DEF_LISTBOX_CURSOR "" -#define DEF_LISTBOX_DISABLED_FG DISABLED -#define DEF_LISTBOX_EXPORT_SELECTION "1" -#define DEF_LISTBOX_FONT "Helvetica -12 bold" -#define DEF_LISTBOX_FG BLACK -#define DEF_LISTBOX_HEIGHT "10" -#define DEF_LISTBOX_HIGHLIGHT_BG NORMAL_BG -#define DEF_LISTBOX_HIGHLIGHT BLACK -#define DEF_LISTBOX_HIGHLIGHT_WIDTH "1" -#define DEF_LISTBOX_RELIEF "sunken" -#define DEF_LISTBOX_SCROLL_COMMAND "" -#define DEF_LISTBOX_LIST_VARIABLE "" -#define DEF_LISTBOX_SELECT_COLOR SELECT_BG -#define DEF_LISTBOX_SELECT_MONO BLACK -#define DEF_LISTBOX_SELECT_BD "1" -#define DEF_LISTBOX_SELECT_FG_COLOR BLACK -#define DEF_LISTBOX_SELECT_FG_MONO WHITE -#define DEF_LISTBOX_SELECT_MODE "browse" -#define DEF_LISTBOX_SET_GRID "0" -#define DEF_LISTBOX_STATE "normal" -#define DEF_LISTBOX_TAKE_FOCUS (char *) NULL -#define DEF_LISTBOX_WIDTH "20" - -/* - * Defaults for individual entries of menus: - */ - -#define DEF_MENU_ENTRY_ACTIVE_BG (char *) NULL -#define DEF_MENU_ENTRY_ACTIVE_FG (char *) NULL -#define DEF_MENU_ENTRY_ACCELERATOR (char *) NULL -#define DEF_MENU_ENTRY_BG (char *) NULL -#define DEF_MENU_ENTRY_BITMAP None -#define DEF_MENU_ENTRY_COLUMN_BREAK "0" -#define DEF_MENU_ENTRY_COMMAND (char *) NULL -#define DEF_MENU_ENTRY_COMPOUND "none" -#define DEF_MENU_ENTRY_FG (char *) NULL -#define DEF_MENU_ENTRY_FONT (char *) NULL -#define DEF_MENU_ENTRY_HIDE_MARGIN "0" -#define DEF_MENU_ENTRY_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_INDICATOR "1" -#define DEF_MENU_ENTRY_LABEL (char *) NULL -#define DEF_MENU_ENTRY_MENU (char *) NULL -#define DEF_MENU_ENTRY_OFF_VALUE "0" -#define DEF_MENU_ENTRY_ON_VALUE "1" -#define DEF_MENU_ENTRY_SELECT_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_STATE "normal" -#define DEF_MENU_ENTRY_VALUE (char *) NULL -#define DEF_MENU_ENTRY_CHECK_VARIABLE (char *) NULL -#define DEF_MENU_ENTRY_RADIO_VARIABLE "selectedButton" -#define DEF_MENU_ENTRY_SELECT (char *) NULL -#define DEF_MENU_ENTRY_UNDERLINE "-1" - -/* - * Defaults for menus overall: - */ - -#define DEF_MENU_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_MENU_ACTIVE_BG_MONO BLACK -#define DEF_MENU_ACTIVE_BORDER_WIDTH "2" -#define DEF_MENU_ACTIVE_FG_COLOR BLACK -#define DEF_MENU_ACTIVE_FG_MONO WHITE -#define DEF_MENU_BG_COLOR NORMAL_BG -#define DEF_MENU_BG_MONO WHITE -#define DEF_MENU_BORDER_WIDTH "2" -#define DEF_MENU_CURSOR "arrow" -#define DEF_MENU_DISABLED_FG_COLOR DISABLED -#define DEF_MENU_DISABLED_FG_MONO "" -#define DEF_MENU_FONT "Helvetica -12 bold" -#define DEF_MENU_FG BLACK -#define DEF_MENU_POST_COMMAND "" -#define DEF_MENU_RELIEF "raised" -#define DEF_MENU_SELECT_COLOR INDICATOR -#define DEF_MENU_SELECT_MONO BLACK -#define DEF_MENU_TAKE_FOCUS "0" -#define DEF_MENU_TEAROFF "1" -#define DEF_MENU_TEAROFF_CMD (char *) NULL -#define DEF_MENU_TITLE "" -#define DEF_MENU_TYPE "normal" - -/* - * Defaults for menubuttons: - */ - -#define DEF_MENUBUTTON_ANCHOR "center" -#define DEF_MENUBUTTON_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_MENUBUTTON_ACTIVE_BG_MONO BLACK -#define DEF_MENUBUTTON_ACTIVE_FG_COLOR BLACK -#define DEF_MENUBUTTON_ACTIVE_FG_MONO WHITE -#define DEF_MENUBUTTON_BG_COLOR NORMAL_BG -#define DEF_MENUBUTTON_BG_MONO WHITE -#define DEF_MENUBUTTON_BITMAP "" -#define DEF_MENUBUTTON_BORDER_WIDTH "2" -#define DEF_MENUBUTTON_CURSOR "" -#define DEF_MENUBUTTON_DIRECTION "below" -#define DEF_MENUBUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_MENUBUTTON_DISABLED_FG_MONO "" -#define DEF_MENUBUTTON_FONT "Helvetica -12 bold" -#define DEF_MENUBUTTON_FG BLACK -#define DEF_MENUBUTTON_HEIGHT "0" -#define DEF_MENUBUTTON_HIGHLIGHT_BG_COLOR DEF_MENUBUTTON_BG_COLOR -#define DEF_MENUBUTTON_HIGHLIGHT_BG_MONO DEF_MENUBUTTON_BG_MONO -#define DEF_MENUBUTTON_HIGHLIGHT BLACK -#define DEF_MENUBUTTON_HIGHLIGHT_WIDTH "0" -#define DEF_MENUBUTTON_IMAGE (char *) NULL -#define DEF_MENUBUTTON_INDICATOR "0" -#define DEF_MENUBUTTON_JUSTIFY "center" -#define DEF_MENUBUTTON_MENU "" -#define DEF_MENUBUTTON_PADX "4p" -#define DEF_MENUBUTTON_PADY "3p" -#define DEF_MENUBUTTON_RELIEF "flat" -#define DEF_MENUBUTTON_STATE "normal" -#define DEF_MENUBUTTON_TAKE_FOCUS "0" -#define DEF_MENUBUTTON_TEXT "" -#define DEF_MENUBUTTON_TEXT_VARIABLE "" -#define DEF_MENUBUTTON_UNDERLINE "-1" -#define DEF_MENUBUTTON_WIDTH "0" -#define DEF_MENUBUTTON_WRAP_LENGTH "0" - -/* - * Defaults for messages: - */ - -#define DEF_MESSAGE_ANCHOR "center" -#define DEF_MESSAGE_ASPECT "150" -#define DEF_MESSAGE_BG_COLOR NORMAL_BG -#define DEF_MESSAGE_BG_MONO WHITE -#define DEF_MESSAGE_BORDER_WIDTH "2" -#define DEF_MESSAGE_CURSOR "" -#define DEF_MESSAGE_FG BLACK -#define DEF_MESSAGE_FONT "Helvetica -12 bold" -#define DEF_MESSAGE_HIGHLIGHT_BG NORMAL_BG -#define DEF_MESSAGE_HIGHLIGHT BLACK -#define DEF_MESSAGE_HIGHLIGHT_WIDTH "0" -#define DEF_MESSAGE_JUSTIFY "left" -#define DEF_MESSAGE_PADX "-1" -#define DEF_MESSAGE_PADY "-1" -#define DEF_MESSAGE_RELIEF "flat" -#define DEF_MESSAGE_TAKE_FOCUS "0" -#define DEF_MESSAGE_TEXT "" -#define DEF_MESSAGE_TEXT_VARIABLE "" -#define DEF_MESSAGE_WIDTH "0" - -/* - * Defaults for panedwindows - */ - -#define DEF_PANEDWINDOW_BG_COLOR NORMAL_BG -#define DEF_PANEDWINDOW_BG_MONO WHITE -#define DEF_PANEDWINDOW_BORDERWIDTH "2" -#define DEF_PANEDWINDOW_CURSOR "" -#define DEF_PANEDWINDOW_HANDLEPAD "8" -#define DEF_PANEDWINDOW_HANDLESIZE "8" -#define DEF_PANEDWINDOW_HEIGHT "" -#define DEF_PANEDWINDOW_OPAQUERESIZE "0" -#define DEF_PANEDWINDOW_ORIENT "horizontal" -#define DEF_PANEDWINDOW_RELIEF "flat" -#define DEF_PANEDWINDOW_SASHCURSOR "" -#define DEF_PANEDWINDOW_SASHPAD "2" -#define DEF_PANEDWINDOW_SASHRELIEF "raised" -#define DEF_PANEDWINDOW_SASHWIDTH "2" -#define DEF_PANEDWINDOW_SHOWHANDLE "1" -#define DEF_PANEDWINDOW_WIDTH "" - -/* - * Defaults for panedwindow panes - */ - -#define DEF_PANEDWINDOW_PANE_AFTER "" -#define DEF_PANEDWINDOW_PANE_BEFORE "" -#define DEF_PANEDWINDOW_PANE_HEIGHT "" -#define DEF_PANEDWINDOW_PANE_MINSIZE "0" -#define DEF_PANEDWINDOW_PANE_PADX "0" -#define DEF_PANEDWINDOW_PANE_PADY "0" -#define DEF_PANEDWINDOW_PANE_STICKY "nsew" -#define DEF_PANEDWINDOW_PANE_WIDTH "" - -/* - * Defaults for scales: - */ - -#define DEF_SCALE_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCALE_ACTIVE_BG_MONO BLACK -#define DEF_SCALE_BG_COLOR NORMAL_BG -#define DEF_SCALE_BG_MONO WHITE -#define DEF_SCALE_BIG_INCREMENT "0" -#define DEF_SCALE_BORDER_WIDTH "2" -#define DEF_SCALE_COMMAND "" -#define DEF_SCALE_CURSOR "" -#define DEF_SCALE_DIGITS "0" -#define DEF_SCALE_FONT "Helvetica -12 bold" -#define DEF_SCALE_FG_COLOR BLACK -#define DEF_SCALE_FG_MONO BLACK -#define DEF_SCALE_FROM "0" -#define DEF_SCALE_HIGHLIGHT_BG_COLOR DEF_SCALE_BG_COLOR -#define DEF_SCALE_HIGHLIGHT_BG_MONO DEF_SCALE_BG_MONO -#define DEF_SCALE_HIGHLIGHT BLACK -#define DEF_SCALE_HIGHLIGHT_WIDTH "1" -#define DEF_SCALE_LABEL "" -#define DEF_SCALE_LENGTH "100" -#define DEF_SCALE_ORIENT "vertical" -#define DEF_SCALE_RELIEF "flat" -#define DEF_SCALE_REPEAT_DELAY "300" -#define DEF_SCALE_REPEAT_INTERVAL "100" -#define DEF_SCALE_RESOLUTION "1" -#define DEF_SCALE_TROUGH_COLOR TROUGH -#define DEF_SCALE_TROUGH_MONO WHITE -#define DEF_SCALE_SHOW_VALUE "1" -#define DEF_SCALE_SLIDER_LENGTH "30" -#define DEF_SCALE_SLIDER_RELIEF "raised" -#define DEF_SCALE_STATE "normal" -#define DEF_SCALE_TAKE_FOCUS (char *) NULL -#define DEF_SCALE_TICK_INTERVAL "0" -#define DEF_SCALE_TO "100" -#define DEF_SCALE_VARIABLE "" -#define DEF_SCALE_WIDTH "15" - -/* - * Defaults for scrollbars: - */ - -#define DEF_SCROLLBAR_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCROLLBAR_ACTIVE_BG_MONO BLACK -#define DEF_SCROLLBAR_ACTIVE_RELIEF "raised" -#define DEF_SCROLLBAR_BG_COLOR NORMAL_BG -#define DEF_SCROLLBAR_BG_MONO WHITE -#define DEF_SCROLLBAR_BORDER_WIDTH "2" -#define DEF_SCROLLBAR_COMMAND "" -#define DEF_SCROLLBAR_CURSOR "" -#define DEF_SCROLLBAR_EL_BORDER_WIDTH "-1" -#define DEF_SCROLLBAR_HIGHLIGHT_BG NORMAL_BG -#define DEF_SCROLLBAR_HIGHLIGHT BLACK -#define DEF_SCROLLBAR_HIGHLIGHT_WIDTH "1" -#define DEF_SCROLLBAR_JUMP "0" -#define DEF_SCROLLBAR_ORIENT "vertical" -#define DEF_SCROLLBAR_RELIEF "sunken" -#define DEF_SCROLLBAR_REPEAT_DELAY "300" -#define DEF_SCROLLBAR_REPEAT_INTERVAL "100" -#define DEF_SCROLLBAR_TAKE_FOCUS (char *) NULL -#define DEF_SCROLLBAR_TROUGH_COLOR TROUGH -#define DEF_SCROLLBAR_TROUGH_MONO WHITE -#define DEF_SCROLLBAR_WIDTH "15" - -/* - * Defaults for texts: - */ - -#define DEF_TEXT_AUTO_SEPARATORS "1" -#define DEF_TEXT_BG_COLOR NORMAL_BG -#define DEF_TEXT_BG_MONO WHITE -#define DEF_TEXT_BORDER_WIDTH "2" -#define DEF_TEXT_CURSOR "xterm" -#define DEF_TEXT_FG BLACK -#define DEF_TEXT_EXPORT_SELECTION "1" -#define DEF_TEXT_FONT "Courier -12" -#define DEF_TEXT_HEIGHT "24" -#define DEF_TEXT_HIGHLIGHT_BG NORMAL_BG -#define DEF_TEXT_HIGHLIGHT BLACK -#define DEF_TEXT_HIGHLIGHT_WIDTH "1" -#define DEF_TEXT_INSERT_BG BLACK -#define DEF_TEXT_INSERT_BD_COLOR "0" -#define DEF_TEXT_INSERT_BD_MONO "0" -#define DEF_TEXT_INSERT_OFF_TIME "300" -#define DEF_TEXT_INSERT_ON_TIME "600" -#define DEF_TEXT_INSERT_WIDTH "2" -#define DEF_TEXT_MAX_UNDO "0" -#define DEF_TEXT_PADX "1" -#define DEF_TEXT_PADY "1" -#define DEF_TEXT_RELIEF "sunken" -#define DEF_TEXT_SELECT_COLOR SELECT_BG -#define DEF_TEXT_SELECT_MONO BLACK -#define DEF_TEXT_SELECT_BD_COLOR "1" -#define DEF_TEXT_SELECT_BD_MONO "0" -#define DEF_TEXT_SELECT_FG_COLOR BLACK -#define DEF_TEXT_SELECT_FG_MONO WHITE -#define DEF_TEXT_SELECT_RELIEF "raised" -#define DEF_TEXT_SET_GRID "0" -#define DEF_TEXT_SPACING1 "0" -#define DEF_TEXT_SPACING2 "0" -#define DEF_TEXT_SPACING3 "0" -#define DEF_TEXT_STATE "normal" -#define DEF_TEXT_TABS "" -#define DEF_TEXT_TAKE_FOCUS (char *) NULL -#define DEF_TEXT_UNDO "0" -#define DEF_TEXT_WIDTH "80" -#define DEF_TEXT_WRAP "char" -#define DEF_TEXT_XSCROLL_COMMAND "" -#define DEF_TEXT_YSCROLL_COMMAND "" - -/* - * Defaults for canvas text: - */ - -#define DEF_CANVTEXT_FONT "Helvetica -12" - -/* - * Defaults for toplevels (most of the defaults for frames also apply - * to toplevels): - */ - -#define DEF_TOPLEVEL_CLASS "Toplevel" -#define DEF_TOPLEVEL_MENU "" -#define DEF_TOPLEVEL_SCREEN "" -#define DEF_TOPLEVEL_USE "" - -#endif /* _TKUNIXDEFAULT */ diff --git a/src/other/togl/include/tcltk/tk8.4/tkUnixPort.h b/src/other/togl/include/tcltk/tk8.4/tkUnixPort.h deleted file mode 100644 index 376877ea989..00000000000 --- a/src/other/togl/include/tcltk/tk8.4/tkUnixPort.h +++ /dev/null @@ -1,220 +0,0 @@ -/* - * tkUnixPort.h -- - * - * This file is included by all of the Tk C files. It contains - * information that may be configuration-dependent, such as - * #includes for system include files and a few other things. - * - * Copyright (c) 1991-1993 The Regents of the University of California. - * Copyright (c) 1994-1996 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _UNIXPORT -#define _UNIXPORT - -#define __UNIX__ 1 - -/* - * Macro to use instead of "void" for arguments that must have - * type "void *" in ANSI C; maps them to type "char *" in - * non-ANSI systems. This macro may be used in some of the include - * files below, which is why it is defined here. - */ - -#ifndef VOID -# ifdef __STDC__ -# define VOID void -# else -# define VOID char -# endif -#endif - -#include -#include -#include -#ifndef NO_LIMITS_H -# include -#else -# include "../compat/limits.h" -#endif -#include -#include -#ifdef NO_STDLIB_H -# include "../compat/stdlib.h" -#else -# include -#endif -#include -#include -#include -#ifdef HAVE_SYS_SELECT_H -# include -#endif -#include -#ifndef _TCL -# include -#endif -#if TIME_WITH_SYS_TIME -# include -# include -#else -# if HAVE_SYS_TIME_H -# include -# else -# include -# endif -#endif -#ifndef NO_UNISTD_H -# include -#else -# include "../compat/unistd.h" -#endif -#include -#include -#include -#include -#include -#include -#include - -/* - * The following macro defines the type of the mask arguments to - * select: - */ - -#ifndef NO_FD_SET -# define SELECT_MASK fd_set -#else -# ifndef _AIX - typedef long fd_mask; -# endif -# if defined(_IBMR2) -# define SELECT_MASK void -# else -# define SELECT_MASK int -# endif -#endif - -/* - * The following macro defines the number of fd_masks in an fd_set: - */ - -#ifndef FD_SETSIZE -# ifdef OPEN_MAX -# define FD_SETSIZE OPEN_MAX -# else -# define FD_SETSIZE 256 -# endif -#endif -#if !defined(howmany) -# define howmany(x, y) (((x)+((y)-1))/(y)) -#endif -#ifndef NFDBITS -# define NFDBITS NBBY*sizeof(fd_mask) -#endif -#define MASK_SIZE howmany(FD_SETSIZE, NFDBITS) - -/* - * Define "NBBY" (number of bits per byte) if it's not already defined. - */ - -#ifndef NBBY -# define NBBY 8 -#endif - -/* - * These macros are just wrappers for the equivalent X Region calls. - */ - -#define TkClipBox(rgn, rect) XClipBox((Region) rgn, rect) -#define TkCreateRegion() (TkRegion) XCreateRegion() -#define TkDestroyRegion(rgn) XDestroyRegion((Region) rgn) -#define TkIntersectRegion(a, b, r) XIntersectRegion((Region) a, \ - (Region) b, (Region) r) -#define TkRectInRegion(r, x, y, w, h) XRectInRegion((Region) r, x, y, w, h) -#define TkSetRegion(d, gc, rgn) XSetRegion(d, gc, (Region) rgn) -#define TkSubtractRegion(a, b, r) XSubtractRegion((Region) a, \ - (Region) b, (Region) r) -#define TkUnionRectWithRegion(rect, src, ret) XUnionRectWithRegion(rect, \ - (Region) src, (Region) ret) - -/* - * The TkPutImage macro strips off the color table information, which isn't - * needed for X. - */ - -#define TkPutImage(colors, ncolors, display, pixels, gc, image, destx, desty, srcx, srcy, width, height) \ - XPutImage(display, pixels, gc, image, destx, desty, srcx, \ - srcy, width, height); - -/* - * Supply macros for seek offsets, if they're not already provided by - * an include file. - */ - -#ifndef SEEK_SET -# define SEEK_SET 0 -#endif - -#ifndef SEEK_CUR -# define SEEK_CUR 1 -#endif - -#ifndef SEEK_END -# define SEEK_END 2 -#endif - -/* - * Declarations for various library procedures that may not be declared - * in any other header file. - */ - - -/* - * These functions do nothing under Unix, so we just eliminate calls to them. - */ - -#define TkpButtonSetDefaults(specPtr) {} -#define TkpDestroyButton(butPtr) {} -#define TkSelUpdateClipboard(a,b) {} -#define TkSetPixmapColormap(p,c) {} - -/* - * These calls implement native bitmaps which are not supported under - * UNIX. The macros eliminate the calls. - */ - -#define TkpDefineNativeBitmaps() -#define TkpCreateNativeBitmap(display, source) None -#define TkpGetNativeAppBitmap(display, name, w, h) None - -/* - * This macro stores a representation of the window handle in a string. - * This should perhaps use the real size of an XID. - */ - -#define TkpPrintWindowId(buf,w) \ - sprintf((buf), "%#08lx", (unsigned long) (w)) - -/* - * This macro indicates that entry and text widgets should display - * the selection highlight regardless of which window has the focus. - */ - -#define ALWAYS_SHOW_SELECTION - -/* - * The following declaration is used to get access to a private Tcl interface - * that is needed for portability reasons. - */ - -#ifndef _TCLINT -#include -#endif - -#endif /* _UNIXPORT */ diff --git a/src/other/togl/include/tcltk/tk8.4/tkWin.h b/src/other/togl/include/tcltk/tk8.4/tkWin.h deleted file mode 100644 index a18becd8518..00000000000 --- a/src/other/togl/include/tcltk/tk8.4/tkWin.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * tkWin.h -- - * - * Declarations of public types and interfaces that are only - * available under Windows. - * - * Copyright (c) 1996-1997 by Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKWIN -#define _TKWIN - -#ifndef _TK -#include -#endif - -#define WIN32_LEAN_AND_MEAN -#include -#undef WIN32_LEAN_AND_MEAN - -#ifdef BUILD_tk -# undef TCL_STORAGE_CLASS -# define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * The following messages are use to communicate between a Tk toplevel - * and its container window. - */ - -#define TK_CLAIMFOCUS (WM_USER) -#define TK_GEOMETRYREQ (WM_USER+1) -#define TK_ATTACHWINDOW (WM_USER+2) -#define TK_DETACHWINDOW (WM_USER+3) - - -/* - *-------------------------------------------------------------- - * - * Exported procedures defined for the Windows platform only. - * - *-------------------------------------------------------------- - */ - -#include "tkPlatDecls.h" - -# undef TCL_STORAGE_CLASS -# define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKWIN */ diff --git a/src/other/togl/include/tcltk/tk8.4/tkWinDefault.h b/src/other/togl/include/tcltk/tk8.4/tkWinDefault.h deleted file mode 100644 index f5d90dc0731..00000000000 --- a/src/other/togl/include/tcltk/tk8.4/tkWinDefault.h +++ /dev/null @@ -1,524 +0,0 @@ -/* - * tkWinDefault.h -- - * - * This file defines the defaults for all options for all of - * the Tk widgets. - * - * Copyright (c) 1995-1997 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKWINDEFAULT -#define _TKWINDEFAULT - -/* - * The definitions below provide symbolic names for the default colors. - * NORMAL_BG - Normal background color. - * ACTIVE_BG - Background color when widget is active. - * SELECT_BG - Background color for selected text. - * TROUGH - Background color for troughs in scales and scrollbars. - * INDICATOR - Color for indicator when button is selected. - * DISABLED - Foreground color when widget is disabled. - */ - -#define BLACK "Black" -#define WHITE "White" - -#define CTL_FONT "{MS Sans Serif} 8" -#define NORMAL_BG "SystemButtonFace" -#define NORMAL_FG "SystemButtonText" -#define ACTIVE_BG NORMAL_BG -#define TEXT_FG "SystemWindowText" -#define SELECT_BG "SystemHighlight" -#define SELECT_FG "SystemHighlightText" -#define TROUGH "SystemScrollbar" -#define INDICATOR "SystemWindow" -#define DISABLED "SystemDisabledText" -#define MENU_BG "SystemMenu" -#define MENU_FG "SystemMenuText" -#define HIGHLIGHT "SystemWindowFrame" - -/* - * Defaults for labels, buttons, checkbuttons, and radiobuttons: - */ - -#define DEF_BUTTON_ANCHOR "center" -#define DEF_BUTTON_ACTIVE_BG_COLOR NORMAL_BG -#define DEF_BUTTON_ACTIVE_BG_MONO BLACK -#define DEF_BUTTON_ACTIVE_FG_COLOR NORMAL_FG -#define DEF_CHKRAD_ACTIVE_FG_COLOR TEXT_FG -#define DEF_BUTTON_ACTIVE_FG_MONO WHITE -#define DEF_BUTTON_BG_COLOR NORMAL_BG -#define DEF_BUTTON_BG_MONO WHITE -#define DEF_BUTTON_BITMAP "" -#define DEF_BUTTON_BORDER_WIDTH "2" -#define DEF_BUTTON_CURSOR "" -#define DEF_BUTTON_COMMAND "" -#define DEF_BUTTON_COMPOUND "none" -#define DEF_BUTTON_DEFAULT "disabled" -#define DEF_BUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_BUTTON_DISABLED_FG_MONO "" -#define DEF_BUTTON_FG NORMAL_FG -#define DEF_CHKRAD_FG TEXT_FG -#define DEF_BUTTON_FONT CTL_FONT -#define DEF_BUTTON_HEIGHT "0" -#define DEF_BUTTON_HIGHLIGHT_BG_COLOR DEF_BUTTON_BG_COLOR -#define DEF_BUTTON_HIGHLIGHT_BG_MONO DEF_BUTTON_BG_MONO -#define DEF_BUTTON_HIGHLIGHT HIGHLIGHT -#define DEF_LABEL_HIGHLIGHT_WIDTH "0" -#define DEF_BUTTON_HIGHLIGHT_WIDTH "1" -#define DEF_BUTTON_IMAGE (char *) NULL -#define DEF_BUTTON_INDICATOR "1" -#define DEF_BUTTON_JUSTIFY "center" -#define DEF_BUTTON_OFF_VALUE "0" -#define DEF_BUTTON_ON_VALUE "1" -#define DEF_BUTTON_OVER_RELIEF "" -#define DEF_BUTTON_PADX "1" -#define DEF_LABCHKRAD_PADX "1" -#define DEF_BUTTON_PADY "1" -#define DEF_LABCHKRAD_PADY "1" -#define DEF_BUTTON_RELIEF "raised" -#define DEF_LABCHKRAD_RELIEF "flat" -#define DEF_BUTTON_REPEAT_DELAY "0" -#define DEF_BUTTON_REPEAT_INTERVAL "0" -#define DEF_BUTTON_SELECT_COLOR INDICATOR -#define DEF_BUTTON_SELECT_MONO BLACK -#define DEF_BUTTON_SELECT_IMAGE (char *) NULL -#define DEF_BUTTON_STATE "normal" -#define DEF_LABEL_TAKE_FOCUS "0" -#define DEF_BUTTON_TAKE_FOCUS (char *) NULL -#define DEF_BUTTON_TEXT "" -#define DEF_BUTTON_TEXT_VARIABLE "" -#define DEF_BUTTON_UNDERLINE "-1" -#define DEF_BUTTON_VALUE "" -#define DEF_BUTTON_WIDTH "0" -#define DEF_BUTTON_WRAP_LENGTH "0" -#define DEF_RADIOBUTTON_VARIABLE "selectedButton" -#define DEF_CHECKBUTTON_VARIABLE "" - -/* - * Defaults for canvases: - */ - -#define DEF_CANVAS_BG_COLOR NORMAL_BG -#define DEF_CANVAS_BG_MONO WHITE -#define DEF_CANVAS_BORDER_WIDTH "0" -#define DEF_CANVAS_CLOSE_ENOUGH "1" -#define DEF_CANVAS_CONFINE "1" -#define DEF_CANVAS_CURSOR "" -#define DEF_CANVAS_HEIGHT "7c" -#define DEF_CANVAS_HIGHLIGHT_BG NORMAL_BG -#define DEF_CANVAS_HIGHLIGHT HIGHLIGHT -#define DEF_CANVAS_HIGHLIGHT_WIDTH "2" -#define DEF_CANVAS_INSERT_BG NORMAL_FG -#define DEF_CANVAS_INSERT_BD_COLOR "0" -#define DEF_CANVAS_INSERT_BD_MONO "0" -#define DEF_CANVAS_INSERT_OFF_TIME "300" -#define DEF_CANVAS_INSERT_ON_TIME "600" -#define DEF_CANVAS_INSERT_WIDTH "2" -#define DEF_CANVAS_RELIEF "flat" -#define DEF_CANVAS_SCROLL_REGION "" -#define DEF_CANVAS_SELECT_COLOR SELECT_BG -#define DEF_CANVAS_SELECT_MONO BLACK -#define DEF_CANVAS_SELECT_BD_COLOR "1" -#define DEF_CANVAS_SELECT_BD_MONO "0" -#define DEF_CANVAS_SELECT_FG_COLOR SELECT_FG -#define DEF_CANVAS_SELECT_FG_MONO WHITE -#define DEF_CANVAS_TAKE_FOCUS (char *) NULL -#define DEF_CANVAS_WIDTH "10c" -#define DEF_CANVAS_X_SCROLL_CMD "" -#define DEF_CANVAS_X_SCROLL_INCREMENT "0" -#define DEF_CANVAS_Y_SCROLL_CMD "" -#define DEF_CANVAS_Y_SCROLL_INCREMENT "0" - -/* - * Defaults for entries: - */ - -#define DEF_ENTRY_BG_COLOR "SystemWindow" -#define DEF_ENTRY_BG_MONO WHITE -#define DEF_ENTRY_BORDER_WIDTH "2" -#define DEF_ENTRY_CURSOR "xterm" -#define DEF_ENTRY_DISABLED_BG_COLOR "SystemButtonFace" -#define DEF_ENTRY_DISABLED_BG_MONO WHITE -#define DEF_ENTRY_DISABLED_FG DISABLED -#define DEF_ENTRY_EXPORT_SELECTION "1" -#define DEF_ENTRY_FONT CTL_FONT -#define DEF_ENTRY_FG TEXT_FG -#define DEF_ENTRY_HIGHLIGHT_BG NORMAL_BG -#define DEF_ENTRY_HIGHLIGHT HIGHLIGHT -#define DEF_ENTRY_HIGHLIGHT_WIDTH "0" -#define DEF_ENTRY_INSERT_BG TEXT_FG -#define DEF_ENTRY_INSERT_BD_COLOR "0" -#define DEF_ENTRY_INSERT_BD_MONO "0" -#define DEF_ENTRY_INSERT_OFF_TIME "300" -#define DEF_ENTRY_INSERT_ON_TIME "600" -#define DEF_ENTRY_INSERT_WIDTH "2" -#define DEF_ENTRY_JUSTIFY "left" -#define DEF_ENTRY_READONLY_BG_COLOR "SystemButtonFace" -#define DEF_ENTRY_READONLY_BG_MONO WHITE -#define DEF_ENTRY_RELIEF "sunken" -#define DEF_ENTRY_SCROLL_COMMAND "" -#define DEF_ENTRY_SELECT_COLOR SELECT_BG -#define DEF_ENTRY_SELECT_MONO BLACK -#define DEF_ENTRY_SELECT_BD_COLOR "0" -#define DEF_ENTRY_SELECT_BD_MONO "0" -#define DEF_ENTRY_SELECT_FG_COLOR SELECT_FG -#define DEF_ENTRY_SELECT_FG_MONO WHITE -#define DEF_ENTRY_SHOW (char *) NULL -#define DEF_ENTRY_STATE "normal" -#define DEF_ENTRY_TAKE_FOCUS (char *) NULL -#define DEF_ENTRY_TEXT_VARIABLE "" -#define DEF_ENTRY_WIDTH "20" - -/* - * Defaults for frames: - */ - -#define DEF_FRAME_BG_COLOR NORMAL_BG -#define DEF_FRAME_BG_MONO WHITE -#define DEF_FRAME_BORDER_WIDTH "0" -#define DEF_FRAME_CLASS "Frame" -#define DEF_FRAME_COLORMAP "" -#define DEF_FRAME_CONTAINER "0" -#define DEF_FRAME_CURSOR "" -#define DEF_FRAME_HEIGHT "0" -#define DEF_FRAME_HIGHLIGHT_BG NORMAL_BG -#define DEF_FRAME_HIGHLIGHT HIGHLIGHT -#define DEF_FRAME_HIGHLIGHT_WIDTH "0" -#define DEF_FRAME_PADX "0" -#define DEF_FRAME_PADY "0" -#define DEF_FRAME_RELIEF "flat" -#define DEF_FRAME_TAKE_FOCUS "0" -#define DEF_FRAME_VISUAL "" -#define DEF_FRAME_WIDTH "0" - -/* - * Defaults for labelframes: - */ - -#define DEF_LABELFRAME_BORDER_WIDTH "2" -#define DEF_LABELFRAME_CLASS "Labelframe" -#define DEF_LABELFRAME_RELIEF "groove" -#define DEF_LABELFRAME_FG NORMAL_FG -#define DEF_LABELFRAME_FONT CTL_FONT -#define DEF_LABELFRAME_TEXT "" -#define DEF_LABELFRAME_LABELANCHOR "nw" - -/* - * Defaults for listboxes: - */ - -#define DEF_LISTBOX_ACTIVE_STYLE "underline" -#define DEF_LISTBOX_BG_COLOR "SystemWindow" -#define DEF_LISTBOX_BG_MONO WHITE -#define DEF_LISTBOX_BORDER_WIDTH "2" -#define DEF_LISTBOX_CURSOR "" -#define DEF_LISTBOX_DISABLED_FG DISABLED -#define DEF_LISTBOX_EXPORT_SELECTION "1" -#define DEF_LISTBOX_FONT CTL_FONT -#define DEF_LISTBOX_FG NORMAL_FG -#define DEF_LISTBOX_HEIGHT "10" -#define DEF_LISTBOX_HIGHLIGHT_BG NORMAL_BG -#define DEF_LISTBOX_HIGHLIGHT HIGHLIGHT -#define DEF_LISTBOX_HIGHLIGHT_WIDTH "1" -#define DEF_LISTBOX_RELIEF "sunken" -#define DEF_LISTBOX_SCROLL_COMMAND "" -#define DEF_LISTBOX_LIST_VARIABLE "" -#define DEF_LISTBOX_SELECT_COLOR SELECT_BG -#define DEF_LISTBOX_SELECT_MONO BLACK -#define DEF_LISTBOX_SELECT_BD "0" -#define DEF_LISTBOX_SELECT_FG_COLOR SELECT_FG -#define DEF_LISTBOX_SELECT_FG_MONO WHITE -#define DEF_LISTBOX_SELECT_MODE "browse" -#define DEF_LISTBOX_SET_GRID "0" -#define DEF_LISTBOX_STATE "normal" -#define DEF_LISTBOX_TAKE_FOCUS (char *) NULL -#define DEF_LISTBOX_WIDTH "20" - -/* - * Defaults for individual entries of menus: - */ - -#define DEF_MENU_ENTRY_ACTIVE_BG (char *) NULL -#define DEF_MENU_ENTRY_ACTIVE_FG (char *) NULL -#define DEF_MENU_ENTRY_ACCELERATOR (char *) NULL -#define DEF_MENU_ENTRY_BG (char *) NULL -#define DEF_MENU_ENTRY_BITMAP None -#define DEF_MENU_ENTRY_COLUMN_BREAK "0" -#define DEF_MENU_ENTRY_COMMAND (char *) NULL -#define DEF_MENU_ENTRY_COMPOUND "none" -#define DEF_MENU_ENTRY_FG (char *) NULL -#define DEF_MENU_ENTRY_FONT (char *) NULL -#define DEF_MENU_ENTRY_HIDE_MARGIN "0" -#define DEF_MENU_ENTRY_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_INDICATOR "1" -#define DEF_MENU_ENTRY_LABEL (char *) NULL -#define DEF_MENU_ENTRY_MENU (char *) NULL -#define DEF_MENU_ENTRY_OFF_VALUE "0" -#define DEF_MENU_ENTRY_ON_VALUE "1" -#define DEF_MENU_ENTRY_SELECT_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_STATE "normal" -#define DEF_MENU_ENTRY_VALUE (char *) NULL -#define DEF_MENU_ENTRY_CHECK_VARIABLE (char *) NULL -#define DEF_MENU_ENTRY_RADIO_VARIABLE "selectedButton" -#define DEF_MENU_ENTRY_SELECT (char *) NULL -#define DEF_MENU_ENTRY_UNDERLINE "-1" - -/* - * Defaults for menus overall: - */ - -#define DEF_MENU_ACTIVE_BG_COLOR SELECT_BG -#define DEF_MENU_ACTIVE_BG_MONO BLACK -#define DEF_MENU_ACTIVE_BORDER_WIDTH "0" -#define DEF_MENU_ACTIVE_FG_COLOR SELECT_FG -#define DEF_MENU_ACTIVE_FG_MONO WHITE -#define DEF_MENU_BG_COLOR MENU_BG -#define DEF_MENU_BG_MONO WHITE -#define DEF_MENU_BORDER_WIDTH "0" -#define DEF_MENU_CURSOR "arrow" -#define DEF_MENU_DISABLED_FG_COLOR DISABLED -#define DEF_MENU_DISABLED_FG_MONO "" -#define DEF_MENU_FONT CTL_FONT -#define DEF_MENU_FG MENU_FG -#define DEF_MENU_POST_COMMAND "" -#define DEF_MENU_RELIEF "flat" -#define DEF_MENU_SELECT_COLOR MENU_FG -#define DEF_MENU_SELECT_MONO BLACK -#define DEF_MENU_TAKE_FOCUS "0" -#define DEF_MENU_TEAROFF "1" -#define DEF_MENU_TEAROFF_CMD (char *) NULL -#define DEF_MENU_TITLE "" -#define DEF_MENU_TYPE "normal" - -/* - * Defaults for menubuttons: - */ - -#define DEF_MENUBUTTON_ANCHOR "center" -#define DEF_MENUBUTTON_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_MENUBUTTON_ACTIVE_BG_MONO BLACK -#define DEF_MENUBUTTON_ACTIVE_FG_COLOR NORMAL_FG -#define DEF_MENUBUTTON_ACTIVE_FG_MONO WHITE -#define DEF_MENUBUTTON_BG_COLOR NORMAL_BG -#define DEF_MENUBUTTON_BG_MONO WHITE -#define DEF_MENUBUTTON_BITMAP "" -#define DEF_MENUBUTTON_BORDER_WIDTH "2" -#define DEF_MENUBUTTON_CURSOR "" -#define DEF_MENUBUTTON_DIRECTION "below" -#define DEF_MENUBUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_MENUBUTTON_DISABLED_FG_MONO "" -#define DEF_MENUBUTTON_FONT CTL_FONT -#define DEF_MENUBUTTON_FG NORMAL_FG -#define DEF_MENUBUTTON_HEIGHT "0" -#define DEF_MENUBUTTON_HIGHLIGHT_BG_COLOR DEF_MENUBUTTON_BG_COLOR -#define DEF_MENUBUTTON_HIGHLIGHT_BG_MONO DEF_MENUBUTTON_BG_MONO -#define DEF_MENUBUTTON_HIGHLIGHT HIGHLIGHT -#define DEF_MENUBUTTON_HIGHLIGHT_WIDTH "0" -#define DEF_MENUBUTTON_IMAGE (char *) NULL -#define DEF_MENUBUTTON_INDICATOR "0" -#define DEF_MENUBUTTON_JUSTIFY "center" -#define DEF_MENUBUTTON_MENU "" -#define DEF_MENUBUTTON_PADX "4p" -#define DEF_MENUBUTTON_PADY "3p" -#define DEF_MENUBUTTON_RELIEF "flat" -#define DEF_MENUBUTTON_STATE "normal" -#define DEF_MENUBUTTON_TAKE_FOCUS "0" -#define DEF_MENUBUTTON_TEXT "" -#define DEF_MENUBUTTON_TEXT_VARIABLE "" -#define DEF_MENUBUTTON_UNDERLINE "-1" -#define DEF_MENUBUTTON_WIDTH "0" -#define DEF_MENUBUTTON_WRAP_LENGTH "0" - -/* - * Defaults for messages: - */ - -#define DEF_MESSAGE_ANCHOR "center" -#define DEF_MESSAGE_ASPECT "150" -#define DEF_MESSAGE_BG_COLOR NORMAL_BG -#define DEF_MESSAGE_BG_MONO WHITE -#define DEF_MESSAGE_BORDER_WIDTH "2" -#define DEF_MESSAGE_CURSOR "" -#define DEF_MESSAGE_FG NORMAL_FG -#define DEF_MESSAGE_FONT CTL_FONT -#define DEF_MESSAGE_HIGHLIGHT_BG NORMAL_BG -#define DEF_MESSAGE_HIGHLIGHT HIGHLIGHT -#define DEF_MESSAGE_HIGHLIGHT_WIDTH "0" -#define DEF_MESSAGE_JUSTIFY "left" -#define DEF_MESSAGE_PADX "-1" -#define DEF_MESSAGE_PADY "-1" -#define DEF_MESSAGE_RELIEF "flat" -#define DEF_MESSAGE_TAKE_FOCUS "0" -#define DEF_MESSAGE_TEXT "" -#define DEF_MESSAGE_TEXT_VARIABLE "" -#define DEF_MESSAGE_WIDTH "0" - -/* - * Defaults for panedwindows - */ - -#define DEF_PANEDWINDOW_BG_COLOR NORMAL_BG -#define DEF_PANEDWINDOW_BG_MONO WHITE -#define DEF_PANEDWINDOW_BORDERWIDTH "2" -#define DEF_PANEDWINDOW_CURSOR "" -#define DEF_PANEDWINDOW_HANDLEPAD "8" -#define DEF_PANEDWINDOW_HANDLESIZE "8" -#define DEF_PANEDWINDOW_HEIGHT "" -#define DEF_PANEDWINDOW_OPAQUERESIZE "0" -#define DEF_PANEDWINDOW_ORIENT "horizontal" -#define DEF_PANEDWINDOW_RELIEF "flat" -#define DEF_PANEDWINDOW_SASHCURSOR "" -#define DEF_PANEDWINDOW_SASHPAD "2" -#define DEF_PANEDWINDOW_SASHRELIEF "raised" -#define DEF_PANEDWINDOW_SASHWIDTH "2" -#define DEF_PANEDWINDOW_SHOWHANDLE "0" -#define DEF_PANEDWINDOW_WIDTH "" - -/* - * Defaults for panedwindow panes - */ - -#define DEF_PANEDWINDOW_PANE_AFTER "" -#define DEF_PANEDWINDOW_PANE_BEFORE "" -#define DEF_PANEDWINDOW_PANE_HEIGHT "" -#define DEF_PANEDWINDOW_PANE_MINSIZE "0" -#define DEF_PANEDWINDOW_PANE_PADX "0" -#define DEF_PANEDWINDOW_PANE_PADY "0" -#define DEF_PANEDWINDOW_PANE_STICKY "nsew" -#define DEF_PANEDWINDOW_PANE_WIDTH "" - -/* - * Defaults for scales: - */ - -#define DEF_SCALE_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCALE_ACTIVE_BG_MONO BLACK -#define DEF_SCALE_BG_COLOR NORMAL_BG -#define DEF_SCALE_BG_MONO WHITE -#define DEF_SCALE_BIG_INCREMENT "0" -#define DEF_SCALE_BORDER_WIDTH "2" -#define DEF_SCALE_COMMAND "" -#define DEF_SCALE_CURSOR "" -#define DEF_SCALE_DIGITS "0" -#define DEF_SCALE_FONT CTL_FONT -#define DEF_SCALE_FG_COLOR NORMAL_FG -#define DEF_SCALE_FG_MONO BLACK -#define DEF_SCALE_FROM "0" -#define DEF_SCALE_HIGHLIGHT_BG_COLOR DEF_SCALE_BG_COLOR -#define DEF_SCALE_HIGHLIGHT_BG_MONO DEF_SCALE_BG_MONO -#define DEF_SCALE_HIGHLIGHT HIGHLIGHT -#define DEF_SCALE_HIGHLIGHT_WIDTH "2" -#define DEF_SCALE_LABEL "" -#define DEF_SCALE_LENGTH "100" -#define DEF_SCALE_ORIENT "vertical" -#define DEF_SCALE_RELIEF "flat" -#define DEF_SCALE_REPEAT_DELAY "300" -#define DEF_SCALE_REPEAT_INTERVAL "100" -#define DEF_SCALE_RESOLUTION "1" -#define DEF_SCALE_TROUGH_COLOR TROUGH -#define DEF_SCALE_TROUGH_MONO WHITE -#define DEF_SCALE_SHOW_VALUE "1" -#define DEF_SCALE_SLIDER_LENGTH "30" -#define DEF_SCALE_SLIDER_RELIEF "raised" -#define DEF_SCALE_STATE "normal" -#define DEF_SCALE_TAKE_FOCUS (char *) NULL -#define DEF_SCALE_TICK_INTERVAL "0" -#define DEF_SCALE_TO "100" -#define DEF_SCALE_VARIABLE "" -#define DEF_SCALE_WIDTH "15" - -/* - * Defaults for scrollbars: - */ - -#define DEF_SCROLLBAR_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCROLLBAR_ACTIVE_BG_MONO BLACK -#define DEF_SCROLLBAR_ACTIVE_RELIEF "raised" -#define DEF_SCROLLBAR_BG_COLOR NORMAL_BG -#define DEF_SCROLLBAR_BG_MONO WHITE -#define DEF_SCROLLBAR_BORDER_WIDTH "0" -#define DEF_SCROLLBAR_COMMAND "" -#define DEF_SCROLLBAR_CURSOR "" -#define DEF_SCROLLBAR_EL_BORDER_WIDTH "-1" -#define DEF_SCROLLBAR_HIGHLIGHT_BG NORMAL_BG -#define DEF_SCROLLBAR_HIGHLIGHT HIGHLIGHT -#define DEF_SCROLLBAR_HIGHLIGHT_WIDTH "0" -#define DEF_SCROLLBAR_JUMP "0" -#define DEF_SCROLLBAR_ORIENT "vertical" -#define DEF_SCROLLBAR_RELIEF "sunken" -#define DEF_SCROLLBAR_REPEAT_DELAY "300" -#define DEF_SCROLLBAR_REPEAT_INTERVAL "100" -#define DEF_SCROLLBAR_TAKE_FOCUS (char *) NULL -#define DEF_SCROLLBAR_TROUGH_COLOR TROUGH -#define DEF_SCROLLBAR_TROUGH_MONO WHITE -#define DEF_SCROLLBAR_WIDTH "10" - -/* - * Defaults for texts: - */ - -#define DEF_TEXT_AUTO_SEPARATORS "1" -#define DEF_TEXT_BG_COLOR "SystemWindow" -#define DEF_TEXT_BG_MONO WHITE -#define DEF_TEXT_BORDER_WIDTH "2" -#define DEF_TEXT_CURSOR "xterm" -#define DEF_TEXT_FG TEXT_FG -#define DEF_TEXT_EXPORT_SELECTION "1" -#define DEF_TEXT_FONT CTL_FONT -#define DEF_TEXT_HEIGHT "24" -#define DEF_TEXT_HIGHLIGHT_BG NORMAL_BG -#define DEF_TEXT_HIGHLIGHT HIGHLIGHT -#define DEF_TEXT_HIGHLIGHT_WIDTH "0" -#define DEF_TEXT_INSERT_BG TEXT_FG -#define DEF_TEXT_INSERT_BD_COLOR "0" -#define DEF_TEXT_INSERT_BD_MONO "0" -#define DEF_TEXT_INSERT_OFF_TIME "300" -#define DEF_TEXT_INSERT_ON_TIME "600" -#define DEF_TEXT_INSERT_WIDTH "2" -#define DEF_TEXT_MAX_UNDO "0" -#define DEF_TEXT_PADX "1" -#define DEF_TEXT_PADY "1" -#define DEF_TEXT_RELIEF "sunken" -#define DEF_TEXT_SELECT_COLOR SELECT_BG -#define DEF_TEXT_SELECT_MONO BLACK -#define DEF_TEXT_SELECT_BD_COLOR "0" -#define DEF_TEXT_SELECT_BD_MONO "0" -#define DEF_TEXT_SELECT_FG_COLOR SELECT_FG -#define DEF_TEXT_SELECT_FG_MONO WHITE -#define DEF_TEXT_SELECT_RELIEF "flat" -#define DEF_TEXT_SET_GRID "0" -#define DEF_TEXT_SPACING1 "0" -#define DEF_TEXT_SPACING2 "0" -#define DEF_TEXT_SPACING3 "0" -#define DEF_TEXT_STATE "normal" -#define DEF_TEXT_TABS "" -#define DEF_TEXT_TAKE_FOCUS (char *) NULL -#define DEF_TEXT_UNDO "0" -#define DEF_TEXT_WIDTH "80" -#define DEF_TEXT_WRAP "char" -#define DEF_TEXT_XSCROLL_COMMAND "" -#define DEF_TEXT_YSCROLL_COMMAND "" - -/* - * Defaults for canvas text: - */ - -#define DEF_CANVTEXT_FONT CTL_FONT - -/* - * Defaults for toplevels (most of the defaults for frames also apply - * to toplevels): - */ - -#define DEF_TOPLEVEL_CLASS "Toplevel" -#define DEF_TOPLEVEL_MENU "" -#define DEF_TOPLEVEL_SCREEN "" -#define DEF_TOPLEVEL_USE "" - -#endif /* _TKWINDEFAULT */ diff --git a/src/other/togl/include/tcltk/tk8.4/tkWinInt.h b/src/other/togl/include/tcltk/tk8.4/tkWinInt.h deleted file mode 100644 index df540abfec6..00000000000 --- a/src/other/togl/include/tcltk/tk8.4/tkWinInt.h +++ /dev/null @@ -1,225 +0,0 @@ -/* - * tkWinInt.h -- - * - * This file contains declarations that are shared among the - * Windows-specific parts of Tk, but aren't used by the rest of - * Tk. - * - * Copyright (c) 1995-1997 Sun Microsystems, Inc. - * Copyright (c) 1998-2000 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKWININT -#define _TKWININT - -#ifndef _TKINT -#include "tkInt.h" -#endif - -/* - * Include platform specific public interfaces. - */ - -#ifndef _TKWIN -#include "tkWin.h" -#endif - -#ifndef _TKPORT -#include "tkPort.h" -#endif - - -/* - * Define constants missing from older Win32 SDK header files. - */ - -#ifndef WS_EX_TOOLWINDOW -#define WS_EX_TOOLWINDOW 0x00000080L -#endif - -/* - * The TkWinDCState is used to save the state of a device context - * so that it can be restored later. - */ - -typedef struct TkWinDCState { - HPALETTE palette; - int bkmode; -} TkWinDCState; - -/* - * The TkWinDrawable is the internal implementation of an X Drawable (either - * a Window or a Pixmap). The following constants define the valid Drawable - * types. - */ - -#define TWD_BITMAP 1 -#define TWD_WINDOW 2 -#define TWD_WINDC 3 - -typedef struct { - int type; - HWND handle; - TkWindow *winPtr; -} TkWinWindow; - -typedef struct { - int type; - HBITMAP handle; - Colormap colormap; - int depth; -} TkWinBitmap; - -typedef struct { - int type; - HDC hdc; -}TkWinDC; - -typedef union { - int type; - TkWinWindow window; - TkWinBitmap bitmap; - TkWinDC winDC; -} TkWinDrawable; - -/* - * The following macros are used to retrieve internal values from a Drawable. - */ - -#define TkWinGetHWND(w) (((TkWinDrawable *) w)->window.handle) -#define TkWinGetWinPtr(w) (((TkWinDrawable *) w)->window.winPtr) -#define TkWinGetHBITMAP(w) (((TkWinDrawable *) w)->bitmap.handle) -#define TkWinGetColormap(w) (((TkWinDrawable *) w)->bitmap.colormap) -#define TkWinGetHDC(w) (((TkWinDrawable *) w)->winDC.hdc) - -/* - * The following structure is used to encapsulate palette information. - */ - -typedef struct { - HPALETTE palette; /* Palette handle used when drawing. */ - UINT size; /* Number of entries in the palette. */ - int stale; /* 1 if palette needs to be realized, - * otherwise 0. If the palette is stale, - * then an idle handler is scheduled to - * realize the palette. */ - Tcl_HashTable refCounts; /* Hash table of palette entry reference counts - * indexed by pixel value. */ -} TkWinColormap; - -/* - * The following macro retrieves the Win32 palette from a colormap. - */ - -#define TkWinGetPalette(colormap) (((TkWinColormap *) colormap)->palette) - -/* - * The following macros define the class names for Tk Window types. - */ - -#define TK_WIN_TOPLEVEL_CLASS_NAME "TkTopLevel" -#define TK_WIN_TOPLEVEL_NOCDC_CLASS_NAME "TkTopLevelNoCDC" -#define TK_WIN_CHILD_CLASS_NAME "TkChild" - -/* - * The following variable is a translation table between X gc functions and - * Win32 raster and BitBlt op modes. - */ - -extern int tkpWinRopModes[]; -extern int tkpWinBltModes[]; - -/* - * The following defines are used with TkWinGetBorderPixels to get the - * extra 2 border colors from a Tk_3DBorder. - */ - -#define TK_3D_LIGHT2 TK_3D_DARK_GC+1 -#define TK_3D_DARK2 TK_3D_DARK_GC+2 - -/* - * Internal procedures used by more than one source file. - */ - -#include "tkIntPlatDecls.h" - -/* - * We need to specially add the TkWinChildProc because of the special - * prototype it has (doesn't fit into stubs schema) - */ -#ifdef BUILD_tk -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT -#endif - -EXTERN LRESULT CALLBACK TkWinChildProc _ANSI_ARGS_((HWND hwnd, UINT message, - WPARAM wParam, LPARAM lParam)); - -/* - * Special proc needed as tsd accessor function between - * tkWinX.c:GenerateXEvent and tkWinClipboard.c:UpdateClipboard - */ -EXTERN void TkWinUpdatingClipboard(int mode); - -/* - * Used by tkWinDialog.c to associate the right icon with tk_messageBox - */ -EXTERN HICON TkWinGetIcon(Tk_Window tkw, DWORD iconsize); - -/* - * Used by tkWinX.c on for certain system display change messages - */ -EXTERN void TkWinDisplayChanged(Display *display); - -/* - * The following structure keeps track of whether we are using the - * multi-byte or the wide-character interfaces to the operating system. - * System calls should be made through the following function table. - * - * While some system calls need to use this A/W jump-table, it is not - * necessary for all calls to do it, which is why you won't see this - * used throughout the Tk code, but only in key areas. -- hobbs - */ - -typedef struct TkWinProcs { - int useWide; - LRESULT (WINAPI *callWindowProc)(WNDPROC lpPrevWndFunc, HWND hWnd, - UINT Msg, WPARAM wParam, LPARAM lParam); - LRESULT (WINAPI *defWindowProc)(HWND hWnd, UINT Msg, WPARAM wParam, - LPARAM lParam); - ATOM (WINAPI *registerClass)(CONST WNDCLASS *lpWndClass); - BOOL (WINAPI *setWindowText)(HWND hWnd, LPCTSTR lpString); - HWND (WINAPI *createWindowEx)(DWORD dwExStyle, LPCTSTR lpClassName, - LPCTSTR lpWindowName, DWORD dwStyle, int x, int y, - int nWidth, int nHeight, HWND hWndParent, HMENU hMenu, - HINSTANCE hInstance, LPVOID lpParam); - BOOL (WINAPI *insertMenu)(HMENU hMenu, UINT uPosition, UINT uFlags, - UINT uIDNewItem, LPCTSTR lpNewItem); -} TkWinProcs; - -EXTERN TkWinProcs *tkWinProcs; - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -/* - * The following allows us to cache these encoding for multiple functions. - */ - - -extern Tcl_Encoding TkWinGetKeyInputEncoding _ANSI_ARGS_((void)); -extern Tcl_Encoding TkWinGetUnicodeEncoding _ANSI_ARGS_((void)); - -/* - * Values returned by TkWinGetPlatformTheme. - */ -#define TK_THEME_WIN_CLASSIC 1 -#define TK_THEME_WIN_XP 2 - -#endif /* _TKWININT */ - diff --git a/src/other/togl/include/tcltk/tk8.4/tkWinPort.h b/src/other/togl/include/tcltk/tk8.4/tkWinPort.h deleted file mode 100644 index 9ddc773cb12..00000000000 --- a/src/other/togl/include/tcltk/tk8.4/tkWinPort.h +++ /dev/null @@ -1,135 +0,0 @@ -/* - * tkWinPort.h -- - * - * This header file handles porting issues that occur because of - * differences between Windows and Unix. It should be the only - * file that contains #ifdefs to handle different flavors of OS. - * - * Copyright (c) 1995-1996 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _WINPORT -#define _WINPORT - -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Need to block out this include for building extensions with MetroWerks - * compiler for Win32. - */ - -#ifndef __MWERKS__ -#include -#endif - -#include -#ifdef __CYGWIN__ -# define _T(x) L##x -#else -# include -#endif - -#ifdef _MSC_VER -# define hypot _hypot -#endif /* _MSC_VER */ - -#ifndef __GNUC__ -# define strncasecmp strnicmp -# define strcasecmp stricmp -#endif - -#define NBBY 8 - -#ifndef OPEN_MAX -#define OPEN_MAX 32 -#endif - -/* - * The following define causes Tk to use its internal keysym hash table - */ - -#define REDO_KEYSYM_LOOKUP - -/* - * The following macro checks to see whether there is buffered - * input data available for a stdio FILE. - */ - -#ifdef _MSC_VER -# define TK_READ_DATA_PENDING(f) ((f)->_cnt > 0) -#else /* _MSC_VER */ -# define TK_READ_DATA_PENDING(f) ((f)->level > 0) -#endif /* _MSC_VER */ - -/* - * The following stubs implement various calls that don't do anything - * under Windows. - */ - -#define TkFreeWindowId(dispPtr,w) -#define TkInitXId(dispPtr) -#define TkpCmapStressed(tkwin,colormap) (0) -#define XFlush(display) -#define XGrabServer(display) -#define XUngrabServer(display) -#define TkpSync(display) - -/* - * The following functions are implemented as macros under Windows. - */ - -#define XFree(data) {if ((data) != NULL) ckfree((char *) (data));} -#define XNoOp(display) {display->request++;} -#define XSynchronize(display, bool) {display->request++;} -#define XSync(display, bool) {display->request++;} -#define XVisualIDFromVisual(visual) (visual->visualid) - -/* - * The following Tk functions are implemented as macros under Windows. - */ - -#define TkpGetPixel(p) (((((p)->red >> 8) & 0xff) \ - | ((p)->green & 0xff00) | (((p)->blue << 8) & 0xff0000)) | 0x20000000) - -/* - * These calls implement native bitmaps which are not currently - * supported under Windows. The macros eliminate the calls. - */ - -#define TkpDefineNativeBitmaps() -#define TkpCreateNativeBitmap(display, source) None -#define TkpGetNativeAppBitmap(display, name, w, h) None - -/* - * Define timezone for gettimeofday. - */ - -struct timezone { - int tz_minuteswest; - int tz_dsttime; -}; - -#ifndef _TCLINT -#include -#endif - -#endif /* _WINPORT */ diff --git a/src/other/togl/include/tcltk/tk8.5/default.h b/src/other/togl/include/tcltk/tk8.5/default.h deleted file mode 100644 index 8964936f60c..00000000000 --- a/src/other/togl/include/tcltk/tk8.5/default.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * default.h -- - * - * This file defines the defaults for all options for all of - * the Tk widgets. - * - * Copyright (c) 1991-1994 The Regents of the University of California. - * Copyright (c) 1994 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _DEFAULT -#define _DEFAULT - -#if defined(__WIN32__) || defined(_WIN32) || \ - defined(__CYGWIN__) || defined(__MINGW32__) -# include "tkWinDefault.h" -#else -# if defined(MAC_OSX_TK) -# include "tkMacOSXDefault.h" -# else -# include "tkUnixDefault.h" -# endif -#endif - -#endif /* _DEFAULT */ diff --git a/src/other/togl/include/tcltk/tk8.5/tclInt.h b/src/other/togl/include/tcltk/tk8.5/tclInt.h deleted file mode 100644 index 43f2fb8a9e3..00000000000 --- a/src/other/togl/include/tcltk/tk8.5/tclInt.h +++ /dev/null @@ -1,3804 +0,0 @@ -/* - * tclInt.h -- - * - * Declarations of things used internally by the Tcl interpreter. - * - * Copyright (c) 1987-1993 The Regents of the University of California. - * Copyright (c) 1993-1997 Lucent Technologies. - * Copyright (c) 1994-1998 Sun Microsystems, Inc. - * Copyright (c) 1998-1999 by Scriptics Corporation. - * Copyright (c) 2001, 2002 by Kevin B. Kenny. All rights reserved. - * Copyright (c) 2007 Daniel A. Steffen - * - * See the file "license.terms" for information on usage and redistribution of - * this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TCLINT -#define _TCLINT - -/* - * Some numerics configuration options - */ - -#undef NO_WIDE_TYPE -#undef ACCEPT_NAN - -/* - * Common include files needed by most of the Tcl source files are included - * here, so that system-dependent personalizations for the include files only - * have to be made in once place. This results in a few extra includes, but - * greater modularity. The order of the three groups of #includes is - * important. For example, stdio.h is needed by tcl.h, and the _ANSI_ARGS_ - * declaration in tcl.h is needed by stdlib.h in some configurations. - */ - -#ifdef HAVE_TCL_CONFIG_H -#include "tclConfig.h" -#endif -#ifndef _TCL -#include "tcl.h" -#endif - -#include - -#include -#ifdef NO_LIMITS_H -# include "../compat/limits.h" -#else -# include -#endif -#ifdef NO_STDLIB_H -# include "../compat/stdlib.h" -#else -# include -#endif -#ifdef NO_STRING_H -#include "../compat/string.h" -#else -#include -#endif -#ifdef STDC_HEADERS -#include -#else -typedef int ptrdiff_t; -#endif - -/* - * Ensure WORDS_BIGENDIAN is defined correcly: - * Needs to happen here in addition to configure to work with fat compiles on - * Darwin (where configure runs only once for multiple architectures). - */ - -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_PARAM_H -# include -#endif -#ifdef BYTE_ORDER -# ifdef BIG_ENDIAN -# if BYTE_ORDER == BIG_ENDIAN -# undef WORDS_BIGENDIAN -# define WORDS_BIGENDIAN 1 -# endif -# endif -# ifdef LITTLE_ENDIAN -# if BYTE_ORDER == LITTLE_ENDIAN -# undef WORDS_BIGENDIAN -# endif -# endif -#endif - -/* - * Used to tag functions that are only to be visible within the module being - * built and not outside it (where this is supported by the linker). - */ - -#ifndef MODULE_SCOPE -# ifdef __cplusplus -# define MODULE_SCOPE extern "C" -# else -# define MODULE_SCOPE extern -# endif -#endif - -/* - * When Tcl_WideInt and long are the same type, there's no value in - * having a tclWideIntType separate from the tclIntType. - */ -#ifdef TCL_WIDE_INT_IS_LONG -#define NO_WIDE_TYPE -#endif - -/* - * Macros used to cast between pointers and integers (e.g. when storing an int - * in ClientData), on 64-bit architectures they avoid gcc warning about "cast - * to/from pointer from/to integer of different size". - */ - -#if !defined(INT2PTR) && !defined(PTR2INT) -# if defined(HAVE_INTPTR_T) || defined(intptr_t) -# define INT2PTR(p) ((void*)(intptr_t)(p)) -# define PTR2INT(p) ((int)(intptr_t)(p)) -# else -# define INT2PTR(p) ((void*)(p)) -# define PTR2INT(p) ((int)(p)) -# endif -#endif -#if !defined(UINT2PTR) && !defined(PTR2UINT) -# if defined(HAVE_UINTPTR_T) || defined(uintptr_t) -# define UINT2PTR(p) ((void*)(uintptr_t)(p)) -# define PTR2UINT(p) ((unsigned int)(uintptr_t)(p)) -# else -# define UINT2PTR(p) ((void*)(p)) -# define PTR2UINT(p) ((unsigned int)(p)) -# endif -#endif - -/* - * The following procedures allow namespaces to be customized to support - * special name resolution rules for commands/variables. - */ - -struct Tcl_ResolvedVarInfo; - -typedef Tcl_Var (Tcl_ResolveRuntimeVarProc)(Tcl_Interp *interp, - struct Tcl_ResolvedVarInfo *vinfoPtr); - -typedef void (Tcl_ResolveVarDeleteProc)(struct Tcl_ResolvedVarInfo *vinfoPtr); - -/* - * The following structure encapsulates the routines needed to resolve a - * variable reference at runtime. Any variable specific state will typically - * be appended to this structure. - */ - -typedef struct Tcl_ResolvedVarInfo { - Tcl_ResolveRuntimeVarProc *fetchProc; - Tcl_ResolveVarDeleteProc *deleteProc; -} Tcl_ResolvedVarInfo; - -typedef int (Tcl_ResolveCompiledVarProc) (Tcl_Interp *interp, - CONST84 char *name, int length, Tcl_Namespace *context, - Tcl_ResolvedVarInfo **rPtr); - -typedef int (Tcl_ResolveVarProc) (Tcl_Interp *interp, CONST84 char *name, - Tcl_Namespace *context, int flags, Tcl_Var *rPtr); - -typedef int (Tcl_ResolveCmdProc) (Tcl_Interp *interp, CONST84 char *name, - Tcl_Namespace *context, int flags, Tcl_Command *rPtr); - -typedef struct Tcl_ResolverInfo { - Tcl_ResolveCmdProc *cmdResProc; - /* Procedure handling command name - * resolution. */ - Tcl_ResolveVarProc *varResProc; - /* Procedure handling variable name resolution - * for variables that can only be handled at - * runtime. */ - Tcl_ResolveCompiledVarProc *compiledVarResProc; - /* Procedure handling variable name resolution - * at compile time. */ -} Tcl_ResolverInfo; - -/* - *---------------------------------------------------------------- - * Data structures related to namespaces. - *---------------------------------------------------------------- - */ - -typedef struct Tcl_Ensemble Tcl_Ensemble; -typedef struct NamespacePathEntry NamespacePathEntry; - -/* - * Special hashtable for variables: this is just a Tcl_HashTable with an nsPtr - * field added at the end: in this way variables can find their namespace - * without having to copy a pointer in their struct: they can access it via - * their hPtr->tablePtr. - */ - -typedef struct TclVarHashTable { - Tcl_HashTable table; - struct Namespace *nsPtr; -} TclVarHashTable; - -/* - * This is for itcl - it likes to search our varTables directly :( - */ - -#define TclVarHashFindVar(tablePtr, key) \ - TclVarHashCreateVar((tablePtr), (key), NULL) - - -/* - * The structure below defines a namespace. - * Note: the first five fields must match exactly the fields in a - * Tcl_Namespace structure (see tcl.h). If you change one, be sure to change - * the other. - */ - -typedef struct Namespace { - char *name; /* The namespace's simple (unqualified) name. - * This contains no ::'s. The name of the - * global namespace is "" although "::" is an - * synonym. */ - char *fullName; /* The namespace's fully qualified name. This - * starts with ::. */ - ClientData clientData; /* An arbitrary value associated with this - * namespace. */ - Tcl_NamespaceDeleteProc *deleteProc; - /* Procedure invoked when deleting the - * namespace to, e.g., free clientData. */ - struct Namespace *parentPtr;/* Points to the namespace that contains this - * one. NULL if this is the global - * namespace. */ - Tcl_HashTable childTable; /* Contains any child namespaces. Indexed by - * strings; values have type (Namespace *). */ - long nsId; /* Unique id for the namespace. */ - Tcl_Interp *interp; /* The interpreter containing this - * namespace. */ - int flags; /* OR-ed combination of the namespace status - * flags NS_DYING and NS_DEAD listed below. */ - int activationCount; /* Number of "activations" or active call - * frames for this namespace that are on the - * Tcl call stack. The namespace won't be - * freed until activationCount becomes zero. */ - int refCount; /* Count of references by namespaceName - * objects. The namespace can't be freed until - * refCount becomes zero. */ - Tcl_HashTable cmdTable; /* Contains all the commands currently - * registered in the namespace. Indexed by - * strings; values have type (Command *). - * Commands imported by Tcl_Import have - * Command structures that point (via an - * ImportedCmdRef structure) to the Command - * structure in the source namespace's command - * table. */ - TclVarHashTable varTable; /* Contains all the (global) variables - * currently in this namespace. Indexed by - * strings; values have type (Var *). */ - char **exportArrayPtr; /* Points to an array of string patterns - * specifying which commands are exported. A - * pattern may include "string match" style - * wildcard characters to specify multiple - * commands; however, no namespace qualifiers - * are allowed. NULL if no export patterns are - * registered. */ - int numExportPatterns; /* Number of export patterns currently - * registered using "namespace export". */ - int maxExportPatterns; /* Mumber of export patterns for which space - * is currently allocated. */ - int cmdRefEpoch; /* Incremented if a newly added command - * shadows a command for which this namespace - * has already cached a Command * pointer; - * this causes all its cached Command* - * pointers to be invalidated. */ - int resolverEpoch; /* Incremented whenever (a) the name - * resolution rules change for this namespace - * or (b) a newly added command shadows a - * command that is compiled to bytecodes. This - * invalidates all byte codes compiled in the - * namespace, causing the code to be - * recompiled under the new rules.*/ - Tcl_ResolveCmdProc *cmdResProc; - /* If non-null, this procedure overrides the - * usual command resolution mechanism in Tcl. - * This procedure is invoked within - * Tcl_FindCommand to resolve all command - * references within the namespace. */ - Tcl_ResolveVarProc *varResProc; - /* If non-null, this procedure overrides the - * usual variable resolution mechanism in Tcl. - * This procedure is invoked within - * Tcl_FindNamespaceVar to resolve all - * variable references within the namespace at - * runtime. */ - Tcl_ResolveCompiledVarProc *compiledVarResProc; - /* If non-null, this procedure overrides the - * usual variable resolution mechanism in Tcl. - * This procedure is invoked within - * LookupCompiledLocal to resolve variable - * references within the namespace at compile - * time. */ - int exportLookupEpoch; /* Incremented whenever a command is added to - * a namespace, removed from a namespace or - * the exports of a namespace are changed. - * Allows TIP#112-driven command lists to be - * validated efficiently. */ - Tcl_Ensemble *ensembles; /* List of structures that contain the details - * of the ensembles that are implemented on - * top of this namespace. */ - Tcl_Obj *unknownHandlerPtr; /* A script fragment to be used when command - * resolution in this namespace fails. TIP - * 181. */ - int commandPathLength; /* The length of the explicit path. */ - NamespacePathEntry *commandPathArray; - /* The explicit path of the namespace as an - * array. */ - NamespacePathEntry *commandPathSourceList; - /* Linked list of path entries that point to - * this namespace. */ -} Namespace; - -/* - * An entry on a namespace's command resolution path. - */ - -struct NamespacePathEntry { - Namespace *nsPtr; /* What does this path entry point to? If it - * is NULL, this path entry points is - * redundant and should be skipped. */ - Namespace *creatorNsPtr; /* Where does this path entry point from? This - * allows for efficient invalidation of - * references when the path entry's target - * updates its current list of defined - * commands. */ - NamespacePathEntry *prevPtr, *nextPtr; - /* Linked list pointers or NULL at either end - * of the list that hangs off Namespace's - * commandPathSourceList field. */ -}; - -/* - * Flags used to represent the status of a namespace: - * - * NS_DYING - 1 means Tcl_DeleteNamespace has been called to delete the - * namespace but there are still active call frames on the Tcl - * stack that refer to the namespace. When the last call frame - * referring to it has been popped, it's variables and command - * will be destroyed and it will be marked "dead" (NS_DEAD). The - * namespace can no longer be looked up by name. - * NS_DEAD - 1 means Tcl_DeleteNamespace has been called to delete the - * namespace and no call frames still refer to it. Its variables - * and command have already been destroyed. This bit allows the - * namespace resolution code to recognize that the namespace is - * "deleted". When the last namespaceName object in any byte code - * unit that refers to the namespace has been freed (i.e., when - * the namespace's refCount is 0), the namespace's storage will - * be freed. - * NS_KILLED 1 means that TclTeardownNamespace has already been called on - * this namespace and it should not be called again [Bug 1355942] - */ - -#define NS_DYING 0x01 -#define NS_DEAD 0x02 -#define NS_KILLED 0x04 - -/* - * Flags passed to TclGetNamespaceForQualName: - * - * TCL_GLOBAL_ONLY - (see tcl.h) Look only in the global ns. - * TCL_NAMESPACE_ONLY - (see tcl.h) Look only in the context ns. - * TCL_CREATE_NS_IF_UNKNOWN - Create unknown namespaces. - * TCL_FIND_ONLY_NS - The name sought is a namespace name. - */ - -#define TCL_CREATE_NS_IF_UNKNOWN 0x800 -#define TCL_FIND_ONLY_NS 0x1000 - -/* - * The data cached in an ensemble subcommand's Tcl_Obj rep (reference in - * otherValuePtr field). This structure is not shared between Tcl_Objs - * referring to the same subcommand, even where one is a duplicate of another. - */ - -typedef struct { - Namespace *nsPtr; /* The namespace backing the ensemble which - * this is a subcommand of. */ - int epoch; /* Used to confirm when the data in this - * really structure matches up with the - * ensemble. */ - Tcl_Command token; /* Reference to the comamnd for which this - * structure is a cache of the resolution. */ - char *fullSubcmdName; /* The full (local) name of the subcommand, - * allocated with ckalloc(). */ - Tcl_Obj *realPrefixObj; /* Object containing the prefix words of the - * command that implements this ensemble - * subcommand. */ -} EnsembleCmdRep; - -/* - * Flag to enable bytecode compilation of an ensemble. - */ - -#define ENSEMBLE_COMPILE 0x4 - -/* - *---------------------------------------------------------------- - * Data structures related to variables. These are used primarily in tclVar.c - *---------------------------------------------------------------- - */ - -/* - * The following structure defines a variable trace, which is used to invoke a - * specific C procedure whenever certain operations are performed on a - * variable. - */ - -typedef struct VarTrace { - Tcl_VarTraceProc *traceProc;/* Procedure to call when operations given by - * flags are performed on variable. */ - ClientData clientData; /* Argument to pass to proc. */ - int flags; /* What events the trace procedure is - * interested in: OR-ed combination of - * TCL_TRACE_READS, TCL_TRACE_WRITES, - * TCL_TRACE_UNSETS and TCL_TRACE_ARRAY. */ - struct VarTrace *nextPtr; /* Next in list of traces associated with a - * particular variable. */ -} VarTrace; - -/* - * The following structure defines a command trace, which is used to invoke a - * specific C procedure whenever certain operations are performed on a - * command. - */ - -typedef struct CommandTrace { - Tcl_CommandTraceProc *traceProc; - /* Procedure to call when operations given by - * flags are performed on command. */ - ClientData clientData; /* Argument to pass to proc. */ - int flags; /* What events the trace procedure is - * interested in: OR-ed combination of - * TCL_TRACE_RENAME, TCL_TRACE_DELETE. */ - struct CommandTrace *nextPtr; - /* Next in list of traces associated with a - * particular command. */ - int refCount; /* Used to ensure this structure is not - * deleted too early. Keeps track of how many - * pieces of code have a pointer to this - * structure. */ -} CommandTrace; - -/* - * When a command trace is active (i.e. its associated procedure is executing) - * one of the following structures is linked into a list associated with the - * command's interpreter. The information in the structure is needed in order - * for Tcl to behave reasonably if traces are deleted while traces are active. - */ - -typedef struct ActiveCommandTrace { - struct Command *cmdPtr; /* Command that's being traced. */ - struct ActiveCommandTrace *nextPtr; - /* Next in list of all active command traces - * for the interpreter, or NULL if no more. */ - CommandTrace *nextTracePtr; /* Next trace to check after current trace - * procedure returns; if this trace gets - * deleted, must update pointer to avoid using - * free'd memory. */ - int reverseScan; /* Boolean set true when traces are scanning - * in reverse order. */ -} ActiveCommandTrace; - -/* - * When a variable trace is active (i.e. its associated procedure is - * executing) one of the following structures is linked into a list associated - * with the variable's interpreter. The information in the structure is needed - * in order for Tcl to behave reasonably if traces are deleted while traces - * are active. - */ - -typedef struct ActiveVarTrace { - struct Var *varPtr; /* Variable that's being traced. */ - struct ActiveVarTrace *nextPtr; - /* Next in list of all active variable traces - * for the interpreter, or NULL if no more. */ - VarTrace *nextTracePtr; /* Next trace to check after current trace - * procedure returns; if this trace gets - * deleted, must update pointer to avoid using - * free'd memory. */ -} ActiveVarTrace; - -/* - * The following structure describes an enumerative search in progress on an - * array variable; this are invoked with options to the "array" command. - */ - -typedef struct ArraySearch { - int id; /* Integer id used to distinguish among - * multiple concurrent searches for the same - * array. */ - struct Var *varPtr; /* Pointer to array variable that's being - * searched. */ - Tcl_HashSearch search; /* Info kept by the hash module about progress - * through the array. */ - Tcl_HashEntry *nextEntry; /* Non-null means this is the next element to - * be enumerated (it's leftover from the - * Tcl_FirstHashEntry call or from an "array - * anymore" command). NULL means must call - * Tcl_NextHashEntry to get value to - * return. */ - struct ArraySearch *nextPtr;/* Next in list of all active searches for - * this variable, or NULL if this is the last - * one. */ -} ArraySearch; - -/* - * The structure below defines a variable, which associates a string name with - * a Tcl_Obj value. These structures are kept in procedure call frames (for - * local variables recognized by the compiler) or in the heap (for global - * variables and any variable not known to the compiler). For each Var - * structure in the heap, a hash table entry holds the variable name and a - * pointer to the Var structure. - */ - -typedef struct Var { - int flags; /* Miscellaneous bits of information about - * variable. See below for definitions. */ - union { - Tcl_Obj *objPtr; /* The variable's object value. Used for - * scalar variables and array elements. */ - TclVarHashTable *tablePtr;/* For array variables, this points to - * information about the hash table used to - * implement the associative array. Points to - * ckalloc-ed data. */ - struct Var *linkPtr; /* If this is a global variable being referred - * to in a procedure, or a variable created by - * "upvar", this field points to the - * referenced variable's Var struct. */ - } value; -} Var; - -typedef struct VarInHash { - Var var; - int refCount; /* Counts number of active uses of this - * variable: 1 for the entry in the hash - * table, 1 for each additional variable whose - * linkPtr points here, 1 for each nested - * trace active on variable, and 1 if the - * variable is a namespace variable. This - * record can't be deleted until refCount - * becomes 0. */ - Tcl_HashEntry entry; /* The hash table entry that refers to this - * variable. This is used to find the name of - * the variable and to delete it from its - * hashtable if it is no longer needed. It - * also holds the variable's name. */ -} VarInHash; - -/* - * Flag bits for variables. The first two (VAR_ARRAY and VAR_LINK) are - * mutually exclusive and give the "type" of the variable. If none is set, - * this is a scalar variable. - * - * VAR_ARRAY - 1 means this is an array variable rather than - * a scalar variable or link. The "tablePtr" - * field points to the array's hashtable for its - * elements. - * VAR_LINK - 1 means this Var structure contains a pointer - * to another Var structure that either has the - * real value or is itself another VAR_LINK - * pointer. Variables like this come about - * through "upvar" and "global" commands, or - * through references to variables in enclosing - * namespaces. - * - * Flags that indicate the type and status of storage; none is set for - * compiled local variables (Var structs). - * - * VAR_IN_HASHTABLE - 1 means this variable is in a hashtable and - * the Var structure is malloced. 0 if it is a - * local variable that was assigned a slot in a - * procedure frame by the compiler so the Var - * storage is part of the call frame. - * VAR_DEAD_HASH 1 means that this var's entry in the hashtable - * has already been deleted. - * VAR_ARRAY_ELEMENT - 1 means that this variable is an array - * element, so it is not legal for it to be an - * array itself (the VAR_ARRAY flag had better - * not be set). - * VAR_NAMESPACE_VAR - 1 means that this variable was declared as a - * namespace variable. This flag ensures it - * persists until its namespace is destroyed or - * until the variable is unset; it will persist - * even if it has not been initialized and is - * marked undefined. The variable's refCount is - * incremented to reflect the "reference" from - * its namespace. - * - * Flag values relating to the variable's trace and search status. - * - * VAR_TRACED_READ - * VAR_TRACED_WRITE - * VAR_TRACED_UNSET - * VAR_TRACED_ARRAY - * VAR_TRACE_ACTIVE - 1 means that trace processing is currently - * underway for a read or write access, so new - * read or write accesses should not cause trace - * procedures to be called and the variable can't - * be deleted. - * VAR_SEARCH_ACTIVE - * - * The following additional flags are used with the CompiledLocal type defined - * below: - * - * VAR_ARGUMENT - 1 means that this variable holds a procedure - * argument. - * VAR_TEMPORARY - 1 if the local variable is an anonymous - * temporary variable. Temporaries have a NULL - * name. - * VAR_RESOLVED - 1 if name resolution has been done for this - * variable. - * VAR_IS_ARGS 1 if this variable is the last argument and is - * named "args". - */ - -/* - * FLAGS RENUMBERED: everything breaks already, make things simpler. - * - * IMPORTANT: skip the values 0x10, 0x20, 0x40, 0x800 corresponding to - * TCL_TRACE_(READS/WRITES/UNSETS/ARRAY): makes code simpler in tclTrace.c - * - * Keep the flag values for VAR_ARGUMENT and VAR_TEMPORARY so that old values - * in precompiled scripts keep working. - */ - - -/* Type of value (0 is scalar) */ -#define VAR_ARRAY 0x1 -#define VAR_LINK 0x2 - -/* Type of storage (0 is compiled local) */ -#define VAR_IN_HASHTABLE 0x4 -#define VAR_DEAD_HASH 0x8 -#define VAR_ARRAY_ELEMENT 0x1000 -#define VAR_NAMESPACE_VAR 0x80 /* KEEP OLD VALUE for Itcl */ - -#define VAR_ALL_HASH \ - (VAR_IN_HASHTABLE|VAR_DEAD_HASH|VAR_NAMESPACE_VAR|VAR_ARRAY_ELEMENT) - -/* Trace and search state */ - -#define VAR_TRACED_READ 0x10 /* TCL_TRACE_READS */ -#define VAR_TRACED_WRITE 0x20 /* TCL_TRACE_WRITES */ -#define VAR_TRACED_UNSET 0x40 /* TCL_TRACE_UNSETS */ -#define VAR_TRACED_ARRAY 0x800 /* TCL_TRACE_ARRAY */ -#define VAR_TRACE_ACTIVE 0x2000 -#define VAR_SEARCH_ACTIVE 0x4000 -#define VAR_ALL_TRACES \ - (VAR_TRACED_READ|VAR_TRACED_WRITE|VAR_TRACED_ARRAY|VAR_TRACED_UNSET) - - -/* Special handling on initialisation (only CompiledLocal) */ -#define VAR_ARGUMENT 0x100 /* KEEP OLD VALUE! See tclProc.c */ -#define VAR_TEMPORARY 0x200 /* KEEP OLD VALUE! See tclProc.c */ -#define VAR_IS_ARGS 0x400 -#define VAR_RESOLVED 0x8000 - -/* - * Macros to ensure that various flag bits are set properly for variables. - * The ANSI C "prototypes" for these macros are: - * - * MODULE_SCOPE void TclSetVarScalar(Var *varPtr); - * MODULE_SCOPE void TclSetVarArray(Var *varPtr); - * MODULE_SCOPE void TclSetVarLink(Var *varPtr); - * MODULE_SCOPE void TclSetVarArrayElement(Var *varPtr); - * MODULE_SCOPE void TclSetVarUndefined(Var *varPtr); - * MODULE_SCOPE void TclClearVarUndefined(Var *varPtr); - */ - -#define TclSetVarScalar(varPtr) \ - (varPtr)->flags &= ~(VAR_ARRAY|VAR_LINK) - -#define TclSetVarArray(varPtr) \ - (varPtr)->flags = ((varPtr)->flags & ~VAR_LINK) | VAR_ARRAY - -#define TclSetVarLink(varPtr) \ - (varPtr)->flags = ((varPtr)->flags & ~VAR_ARRAY) | VAR_LINK - -#define TclSetVarArrayElement(varPtr) \ - (varPtr)->flags = ((varPtr)->flags & ~VAR_ARRAY) | VAR_ARRAY_ELEMENT - -#define TclSetVarUndefined(varPtr) \ - (varPtr)->flags &= ~(VAR_ARRAY|VAR_LINK);\ - (varPtr)->value.objPtr = NULL - -#define TclClearVarUndefined(varPtr) - -#define TclSetVarTraceActive(varPtr) \ - (varPtr)->flags |= VAR_TRACE_ACTIVE - -#define TclClearVarTraceActive(varPtr) \ - (varPtr)->flags &= ~VAR_TRACE_ACTIVE - -#define TclSetVarNamespaceVar(varPtr) \ - if (!TclIsVarNamespaceVar(varPtr)) {\ - (varPtr)->flags |= VAR_NAMESPACE_VAR;\ - ((VarInHash *)(varPtr))->refCount++;\ - } - -#define TclClearVarNamespaceVar(varPtr) \ - if (TclIsVarNamespaceVar(varPtr)) {\ - (varPtr)->flags &= ~VAR_NAMESPACE_VAR;\ - ((VarInHash *)(varPtr))->refCount--;\ - } - -/* - * Macros to read various flag bits of variables. - * The ANSI C "prototypes" for these macros are: - * - * MODULE_SCOPE int TclIsVarScalar(Var *varPtr); - * MODULE_SCOPE int TclIsVarLink(Var *varPtr); - * MODULE_SCOPE int TclIsVarArray(Var *varPtr); - * MODULE_SCOPE int TclIsVarUndefined(Var *varPtr); - * MODULE_SCOPE int TclIsVarArrayElement(Var *varPtr); - * MODULE_SCOPE int TclIsVarTemporary(Var *varPtr); - * MODULE_SCOPE int TclIsVarArgument(Var *varPtr); - * MODULE_SCOPE int TclIsVarResolved(Var *varPtr); - */ - -#define TclIsVarScalar(varPtr) \ - !((varPtr)->flags & (VAR_ARRAY|VAR_LINK)) - -#define TclIsVarLink(varPtr) \ - ((varPtr)->flags & VAR_LINK) - -#define TclIsVarArray(varPtr) \ - ((varPtr)->flags & VAR_ARRAY) - -#define TclIsVarUndefined(varPtr) \ - ((varPtr)->value.objPtr == NULL) - -#define TclIsVarArrayElement(varPtr) \ - ((varPtr)->flags & VAR_ARRAY_ELEMENT) - -#define TclIsVarNamespaceVar(varPtr) \ - ((varPtr)->flags & VAR_NAMESPACE_VAR) - -#define TclIsVarTemporary(varPtr) \ - ((varPtr)->flags & VAR_TEMPORARY) - -#define TclIsVarArgument(varPtr) \ - ((varPtr)->flags & VAR_ARGUMENT) - -#define TclIsVarResolved(varPtr) \ - ((varPtr)->flags & VAR_RESOLVED) - -#define TclIsVarTraceActive(varPtr) \ - ((varPtr)->flags & VAR_TRACE_ACTIVE) - -#define TclIsVarTraced(varPtr) \ - ((varPtr)->flags & VAR_ALL_TRACES) - -#define TclIsVarInHash(varPtr) \ - ((varPtr)->flags & VAR_IN_HASHTABLE) - -#define TclIsVarDeadHash(varPtr) \ - ((varPtr)->flags & VAR_DEAD_HASH) - -#define TclGetVarNsPtr(varPtr) \ - (TclIsVarInHash(varPtr) \ - ? ((TclVarHashTable *) ((((VarInHash *) (varPtr))->entry.tablePtr)))->nsPtr \ - : NULL) - -#define VarHashRefCount(varPtr) \ - ((VarInHash *) (varPtr))->refCount - -/* - * Macros for direct variable access by TEBC - */ - -#define TclIsVarDirectReadable(varPtr) \ - ( !((varPtr)->flags & (VAR_ARRAY|VAR_LINK|VAR_TRACED_READ)) \ - && (varPtr)->value.objPtr) - -#define TclIsVarDirectWritable(varPtr) \ - !((varPtr)->flags & (VAR_ARRAY|VAR_LINK|VAR_TRACED_WRITE|VAR_DEAD_HASH)) - -#define TclIsVarDirectModifyable(varPtr) \ - ( !((varPtr)->flags & (VAR_ARRAY|VAR_LINK|VAR_TRACED_READ|VAR_TRACED_WRITE)) \ - && (varPtr)->value.objPtr) - -#define TclIsVarDirectReadable2(varPtr, arrayPtr) \ - (TclIsVarDirectReadable(varPtr) &&\ - (!(arrayPtr) || !((arrayPtr)->flags & VAR_TRACED_READ))) - -#define TclIsVarDirectWritable2(varPtr, arrayPtr) \ - (TclIsVarDirectWritable(varPtr) &&\ - (!(arrayPtr) || !((arrayPtr)->flags & VAR_TRACED_WRITE))) - -#define TclIsVarDirectModifyable2(varPtr, arrayPtr) \ - (TclIsVarDirectModifyable(varPtr) &&\ - (!(arrayPtr) || !((arrayPtr)->flags & (VAR_TRACED_READ|VAR_TRACED_WRITE)))) - - -/* - *---------------------------------------------------------------- - * Data structures related to procedures. These are used primarily in - * tclProc.c, tclCompile.c, and tclExecute.c. - *---------------------------------------------------------------- - */ - -/* - * Forward declaration to prevent an error when the forward reference to - * Command is encountered in the Proc and ImportRef types declared below. - */ - -struct Command; - -/* - * The variable-length structure below describes a local variable of a - * procedure that was recognized by the compiler. These variables have a name, - * an element in the array of compiler-assigned local variables in the - * procedure's call frame, and various other items of information. If the - * local variable is a formal argument, it may also have a default value. The - * compiler can't recognize local variables whose names are expressions (these - * names are only known at runtime when the expressions are evaluated) or - * local variables that are created as a result of an "upvar" or "uplevel" - * command. These other local variables are kept separately in a hash table in - * the call frame. - */ - -typedef struct CompiledLocal { - struct CompiledLocal *nextPtr; - /* Next compiler-recognized local variable for - * this procedure, or NULL if this is the last - * local. */ - int nameLength; /* The number of characters in local - * variable's name. Used to speed up variable - * lookups. */ - int frameIndex; /* Index in the array of compiler-assigned - * variables in the procedure call frame. */ - int flags; /* Flag bits for the local variable. Same as - * the flags for the Var structure above, - * although only VAR_ARGUMENT, VAR_TEMPORARY, - * and VAR_RESOLVED make sense. */ - Tcl_Obj *defValuePtr; /* Pointer to the default value of an - * argument, if any. NULL if not an argument - * or, if an argument, no default value. */ - Tcl_ResolvedVarInfo *resolveInfo; - /* Customized variable resolution info - * supplied by the Tcl_ResolveCompiledVarProc - * associated with a namespace. Each variable - * is marked by a unique ClientData tag during - * compilation, and that same tag is used to - * find the variable at runtime. */ - char name[4]; /* Name of the local variable starts here. If - * the name is NULL, this will just be '\0'. - * The actual size of this field will be large - * enough to hold the name. MUST BE THE LAST - * FIELD IN THE STRUCTURE! */ -} CompiledLocal; - -/* - * The structure below defines a command procedure, which consists of a - * collection of Tcl commands plus information about arguments and other local - * variables recognized at compile time. - */ - -typedef struct Proc { - struct Interp *iPtr; /* Interpreter for which this command is - * defined. */ - int refCount; /* Reference count: 1 if still present in - * command table plus 1 for each call to the - * procedure that is currently active. This - * structure can be freed when refCount - * becomes zero. */ - struct Command *cmdPtr; /* Points to the Command structure for this - * procedure. This is used to get the - * namespace in which to execute the - * procedure. */ - Tcl_Obj *bodyPtr; /* Points to the ByteCode object for - * procedure's body command. */ - int numArgs; /* Number of formal parameters. */ - int numCompiledLocals; /* Count of local variables recognized by the - * compiler including arguments and - * temporaries. */ - CompiledLocal *firstLocalPtr; - /* Pointer to first of the procedure's - * compiler-allocated local variables, or NULL - * if none. The first numArgs entries in this - * list describe the procedure's formal - * arguments. */ - CompiledLocal *lastLocalPtr;/* Pointer to the last allocated local - * variable or NULL if none. This has frame - * index (numCompiledLocals-1). */ -} Proc; - -/* - * The type of functions called to process errors found during the execution - * of a procedure (or lambda term or ...). - */ - -typedef void (*ProcErrorProc)(Tcl_Interp *interp, Tcl_Obj *procNameObj); - -/* - * The structure below defines a command trace. This is used to allow Tcl - * clients to find out whenever a command is about to be executed. - */ - -typedef struct Trace { - int level; /* Only trace commands at nesting level less - * than or equal to this. */ - Tcl_CmdObjTraceProc *proc; /* Procedure to call to trace command. */ - ClientData clientData; /* Arbitrary value to pass to proc. */ - struct Trace *nextPtr; /* Next in list of traces for this interp. */ - int flags; /* Flags governing the trace - see - * Tcl_CreateObjTrace for details */ - Tcl_CmdObjTraceDeleteProc* delProc; - /* Procedure to call when trace is deleted */ -} Trace; - -/* - * When an interpreter trace is active (i.e. its associated procedure is - * executing), one of the following structures is linked into a list - * associated with the interpreter. The information in the structure is needed - * in order for Tcl to behave reasonably if traces are deleted while traces - * are active. - */ - -typedef struct ActiveInterpTrace { - struct ActiveInterpTrace *nextPtr; - /* Next in list of all active command traces - * for the interpreter, or NULL if no more. */ - Trace *nextTracePtr; /* Next trace to check after current trace - * procedure returns; if this trace gets - * deleted, must update pointer to avoid using - * free'd memory. */ - int reverseScan; /* Boolean set true when traces are scanning - * in reverse order. */ -} ActiveInterpTrace; - -/* - * Flag values designating types of execution traces. See tclTrace.c for - * related flag values. - * - * TCL_TRACE_ENTER_EXEC - triggers enter/enterstep traces. - * - passed to Tcl_CreateObjTrace to set up - * "enterstep" traces. - * TCL_TRACE_LEAVE_EXEC - triggers leave/leavestep traces. - * - passed to Tcl_CreateObjTrace to set up - * "leavestep" traces. - * - */ -#define TCL_TRACE_ENTER_EXEC 1 -#define TCL_TRACE_LEAVE_EXEC 2 - -/* - * The structure below defines an entry in the assocData hash table which is - * associated with an interpreter. The entry contains a pointer to a function - * to call when the interpreter is deleted, and a pointer to a user-defined - * piece of data. - */ - -typedef struct AssocData { - Tcl_InterpDeleteProc *proc; /* Proc to call when deleting. */ - ClientData clientData; /* Value to pass to proc. */ -} AssocData; - -/* - * The structure below defines a call frame. A call frame defines a naming - * context for a procedure call: its local naming scope (for local variables) - * and its global naming scope (a namespace, perhaps the global :: namespace). - * A call frame can also define the naming context for a namespace eval or - * namespace inscope command: the namespace in which the command's code should - * execute. The Tcl_CallFrame structures exist only while procedures or - * namespace eval/inscope's are being executed, and provide a kind of Tcl call - * stack. - * - * WARNING!! The structure definition must be kept consistent with the - * Tcl_CallFrame structure in tcl.h. If you change one, change the other. - */ - -/* - * Will be grown to contain: pointers to the varnames (allocated at the end), - * plus the init values for each variable (suitable to be memcopied on init) - */ - -typedef struct LocalCache { - int refCount; - int numVars; - Tcl_Obj *varName0; -} LocalCache; - -#define localName(framePtr, i) \ - ((&((framePtr)->localCachePtr->varName0))[(i)]) - -MODULE_SCOPE void TclFreeLocalCache(Tcl_Interp *interp, - LocalCache *localCachePtr); - -typedef struct CallFrame { - Namespace *nsPtr; /* Points to the namespace used to resolve - * commands and global variables. */ - int isProcCallFrame; /* If 0, the frame was pushed to execute a - * namespace command and var references are - * treated as references to namespace vars; - * varTablePtr and compiledLocals are ignored. - * If FRAME_IS_PROC is set, the frame was - * pushed to execute a Tcl procedure and may - * have local vars. */ - int objc; /* This and objv below describe the arguments - * for this procedure call. */ - Tcl_Obj *const *objv; /* Array of argument objects. */ - struct CallFrame *callerPtr; - /* Value of interp->framePtr when this - * procedure was invoked (i.e. next higher in - * stack of all active procedures). */ - struct CallFrame *callerVarPtr; - /* Value of interp->varFramePtr when this - * procedure was invoked (i.e. determines - * variable scoping within caller). Same as - * callerPtr unless an "uplevel" command or - * something equivalent was active in the - * caller). */ - int level; /* Level of this procedure, for "uplevel" - * purposes (i.e. corresponds to nesting of - * callerVarPtr's, not callerPtr's). 1 for - * outermost procedure, 0 for top-level. */ - Proc *procPtr; /* Points to the structure defining the called - * procedure. Used to get information such as - * the number of compiled local variables - * (local variables assigned entries ["slots"] - * in the compiledLocals array below). */ - TclVarHashTable *varTablePtr; - /* Hash table containing local variables not - * recognized by the compiler, or created at - * execution time through, e.g., upvar. - * Initially NULL and created if needed. */ - int numCompiledLocals; /* Count of local variables recognized by the - * compiler including arguments. */ - Var *compiledLocals; /* Points to the array of local variables - * recognized by the compiler. The compiler - * emits code that refers to these variables - * using an index into this array. */ - ClientData clientData; /* Pointer to some context that is used by - * object systems. The meaning of the contents - * of this field is defined by the code that - * sets it, and it should only ever be set by - * the code that is pushing the frame. In that - * case, the code that sets it should also - * have some means of discovering what the - * meaning of the value is, which we do not - * specify. */ - LocalCache *localCachePtr; -} CallFrame; - -#define FRAME_IS_PROC 0x1 -#define FRAME_IS_LAMBDA 0x2 - -/* - * TIP #280 - * The structure below defines a command frame. A command frame provides - * location information for all commands executing a tcl script (source, eval, - * uplevel, procedure bodies, ...). The runtime structure essentially contains - * the stack trace as it would be if the currently executing command were to - * throw an error. - * - * For commands where it makes sense it refers to the associated CallFrame as - * well. - * - * The structures are chained in a single list, with the top of the stack - * anchored in the Interp structure. - * - * Instances can be allocated on the C stack, or the heap, the former making - * cleanup a bit simpler. - */ - -typedef struct CmdFrame { - /* - * General data. Always available. - */ - - int type; /* Values see below. */ - int level; /* #Frames in stack, prevent O(n) scan of - * list. */ - int *line; /* Lines the words of the command start on. */ - int nline; - - CallFrame *framePtr; /* Procedure activation record, may be - * NULL. */ - struct CmdFrame *nextPtr; /* Link to calling frame */ - - /* - * Data needed for Eval vs TEBC - * - * EXECUTION CONTEXTS and usage of CmdFrame - * - * Field TEBC EvalEx EvalObjEx - * ======= ==== ====== ========= - * level yes yes yes - * type BC/PREBC SRC/EVAL EVAL_LIST - * line0 yes yes yes - * framePtr yes yes yes - * ======= ==== ====== ========= - * - * ======= ==== ====== ========= union data - * line1 - yes - - * line3 - yes - - * path - yes - - * ------- ---- ------ --------- - * codePtr yes - - - * pc yes - - - * ======= ==== ====== ========= - * - * ======= ==== ====== ========= | union cmd - * listPtr - - yes | - * ------- ---- ------ --------- | - * cmd yes yes - | - * cmdlen yes yes - | - * ------- ---- ------ --------- | - */ - - union { - struct { - Tcl_Obj *path; /* Path of the sourced file the command is - * in. */ - } eval; - struct { - const void *codePtr;/* Byte code currently executed */ - const char *pc; /* and instruction pointer. */ - } tebc; - } data; - union { - struct { - const char *cmd; /* The executed command, if possible */ - int len; /* And its length */ - } str; - Tcl_Obj *listPtr; /* Tcl_EvalObjEx, cmd list */ - } cmd; -} CmdFrame; - -/* - * The following macros define the allowed values for the type field of the - * CmdFrame structure above. Some of the values occur only in the extended - * location data referenced via the 'baseLocPtr'. - * - * TCL_LOCATION_EVAL : Frame is for a script evaluated by EvalEx. - * TCL_LOCATION_EVAL_LIST : Frame is for a script evaluated by the list - * optimization path of EvalObjEx. - * TCL_LOCATION_BC : Frame is for bytecode. - * TCL_LOCATION_PREBC : Frame is for precompiled bytecode. - * TCL_LOCATION_SOURCE : Frame is for a script evaluated by EvalEx, from a - * sourced file. - * TCL_LOCATION_PROC : Frame is for bytecode of a procedure. - * - * A TCL_LOCATION_BC type in a frame can be overridden by _SOURCE and _PROC - * types, per the context of the byte code in execution. - */ - -#define TCL_LOCATION_EVAL (0) /* Location in a dynamic eval script */ -#define TCL_LOCATION_EVAL_LIST (1) /* Location in a dynamic eval script, - * list-path */ -#define TCL_LOCATION_BC (2) /* Location in byte code */ -#define TCL_LOCATION_PREBC (3) /* Location in precompiled byte code, no - * location */ -#define TCL_LOCATION_SOURCE (4) /* Location in a file */ -#define TCL_LOCATION_PROC (5) /* Location in a dynamic proc */ - -#define TCL_LOCATION_LAST (6) /* Number of values in the enum */ - -/* - * Structure passed to describe procedure-like "procedures" that are not - * procedures (e.g. a lambda) so that their details can be reported correctly - * by [info frame]. Contains a sub-structure for each extra field. - */ - -typedef Tcl_Obj *(*GetFrameInfoValueProc)(ClientData clientData); -typedef struct { - const char *name; /* Name of this field. */ - GetFrameInfoValueProc proc; /* Function to generate a Tcl_Obj* from the - * clientData, or just use the clientData - * directly (after casting) if NULL. */ - ClientData clientData; /* Context for above function, or Tcl_Obj* if - * proc field is NULL. */ -} ExtraFrameInfoField; -typedef struct { - int length; /* Length of array. */ - ExtraFrameInfoField fields[2]; - /* Really as long as necessary, but this is - * long enough for nearly anything. */ -} ExtraFrameInfo; - -/* - *---------------------------------------------------------------- - * Data structures and procedures related to TclHandles, which are a very - * lightweight method of preserving enough information to determine if an - * arbitrary malloc'd block has been deleted. - *---------------------------------------------------------------- - */ - -typedef void **TclHandle; - -/* - *---------------------------------------------------------------- - * Experimental flag value passed to Tcl_GetRegExpFromObj. Intended for use - * only by Expect. It will probably go away in a later release. - *---------------------------------------------------------------- - */ - -#define TCL_REG_BOSONLY 002000 /* Prepend \A to pattern so it only matches at - * the beginning of the string. */ - -/* - * These are a thin layer over TclpThreadKeyDataGet and TclpThreadKeyDataSet - * when threads are used, or an emulation if there are no threads. These are - * really internal and Tcl clients should use Tcl_GetThreadData. - */ - -MODULE_SCOPE void * TclThreadDataKeyGet(Tcl_ThreadDataKey *keyPtr); -MODULE_SCOPE void TclThreadDataKeySet(Tcl_ThreadDataKey *keyPtr, - void *data); - -/* - * This is a convenience macro used to initialize a thread local storage ptr. - */ - -#define TCL_TSD_INIT(keyPtr) \ - (ThreadSpecificData *)Tcl_GetThreadData((keyPtr), sizeof(ThreadSpecificData)) - - -/* - *---------------------------------------------------------------- - * Data structures related to bytecode compilation and execution. These are - * used primarily in tclCompile.c, tclExecute.c, and tclBasic.c. - *---------------------------------------------------------------- - */ - -/* - * Forward declaration to prevent errors when the forward references to - * Tcl_Parse and CompileEnv are encountered in the procedure type CompileProc - * declared below. - */ - -struct CompileEnv; - -/* - * The type of procedures called by the Tcl bytecode compiler to compile - * commands. Pointers to these procedures are kept in the Command structure - * describing each command. The integer value returned by a CompileProc must - * be one of the following: - * - * TCL_OK Compilation completed normally. - * TCL_ERROR Compilation could not be completed. This can be just a - * judgment by the CompileProc that the command is too - * complex to compile effectively, or it can indicate - * that in the current state of the interp, the command - * would raise an error. The bytecode compiler will not - * do any error reporting at compiler time. Error - * reporting is deferred until the actual runtime, - * because by then changes in the interp state may allow - * the command to be successfully evaluated. - * TCL_OUT_LINE_COMPILE A source-compatible alias for TCL_ERROR, kept for the - * sake of old code only. - */ - -#define TCL_OUT_LINE_COMPILE TCL_ERROR - -typedef int (CompileProc) (Tcl_Interp *interp, Tcl_Parse *parsePtr, - struct Command *cmdPtr, struct CompileEnv *compEnvPtr); - -/* - * The type of procedure called from the compilation hook point in - * SetByteCodeFromAny. - */ - -typedef int (CompileHookProc) (Tcl_Interp *interp, - struct CompileEnv *compEnvPtr, ClientData clientData); - -/* - * The data structure for a (linked list of) execution stacks. - */ - -typedef struct ExecStack { - struct ExecStack *prevPtr; - struct ExecStack *nextPtr; - Tcl_Obj **markerPtr; - Tcl_Obj **endPtr; - Tcl_Obj **tosPtr; - Tcl_Obj *stackWords[1]; -} ExecStack; - -/* - * The data structure defining the execution environment for ByteCode's. - * There is one ExecEnv structure per Tcl interpreter. It holds the evaluation - * stack that holds command operands and results. The stack grows towards - * increasing addresses. The member stackPtr points to the stackItems of the - * currently active execution stack. - */ - -typedef struct ExecEnv { - ExecStack *execStackPtr; /* Points to the first item in the evaluation - * stack on the heap. */ - Tcl_Obj *constants[2]; /* Pointers to constant "0" and "1" objs. */ -} ExecEnv; - -/* - * The definitions for the LiteralTable and LiteralEntry structures. Each - * interpreter contains a LiteralTable. It is used to reduce the storage - * needed for all the Tcl objects that hold the literals of scripts compiled - * by the interpreter. A literal's object is shared by all the ByteCodes that - * refer to the literal. Each distinct literal has one LiteralEntry entry in - * the LiteralTable. A literal table is a specialized hash table that is - * indexed by the literal's string representation, which may contain null - * characters. - * - * Note that we reduce the space needed for literals by sharing literal - * objects both within a ByteCode (each ByteCode contains a local - * LiteralTable) and across all an interpreter's ByteCodes (with the - * interpreter's global LiteralTable). - */ - -typedef struct LiteralEntry { - struct LiteralEntry *nextPtr; - /* Points to next entry in this hash bucket or - * NULL if end of chain. */ - Tcl_Obj *objPtr; /* Points to Tcl object that holds the - * literal's bytes and length. */ - int refCount; /* If in an interpreter's global literal - * table, the number of ByteCode structures - * that share the literal object; the literal - * entry can be freed when refCount drops to - * 0. If in a local literal table, -1. */ - Namespace *nsPtr; /* Namespace in which this literal is used. We - * try to avoid sharing literal non-FQ command - * names among different namespaces to reduce - * shimmering. */ -} LiteralEntry; - -typedef struct LiteralTable { - LiteralEntry **buckets; /* Pointer to bucket array. Each element - * points to first entry in bucket's hash - * chain, or NULL. */ - LiteralEntry *staticBuckets[TCL_SMALL_HASH_TABLE]; - /* Bucket array used for small tables to avoid - * mallocs and frees. */ - int numBuckets; /* Total number of buckets allocated at - * **buckets. */ - int numEntries; /* Total number of entries present in - * table. */ - int rebuildSize; /* Enlarge table when numEntries gets to be - * this large. */ - int mask; /* Mask value used in hashing function. */ -} LiteralTable; - -/* - * The following structure defines for each Tcl interpreter various - * statistics-related information about the bytecode compiler and - * interpreter's operation in that interpreter. - */ - -#ifdef TCL_COMPILE_STATS -typedef struct ByteCodeStats { - long numExecutions; /* Number of ByteCodes executed. */ - long numCompilations; /* Number of ByteCodes created. */ - long numByteCodesFreed; /* Number of ByteCodes destroyed. */ - long instructionCount[256]; /* Number of times each instruction was - * executed. */ - - double totalSrcBytes; /* Total source bytes ever compiled. */ - double totalByteCodeBytes; /* Total bytes for all ByteCodes. */ - double currentSrcBytes; /* Src bytes for all current ByteCodes. */ - double currentByteCodeBytes;/* Code bytes in all current ByteCodes. */ - - long srcCount[32]; /* Source size distribution: # of srcs of - * size [2**(n-1)..2**n), n in [0..32). */ - long byteCodeCount[32]; /* ByteCode size distribution. */ - long lifetimeCount[32]; /* ByteCode lifetime distribution (ms). */ - - double currentInstBytes; /* Instruction bytes-current ByteCodes. */ - double currentLitBytes; /* Current literal bytes. */ - double currentExceptBytes; /* Current exception table bytes. */ - double currentAuxBytes; /* Current auxiliary information bytes. */ - double currentCmdMapBytes; /* Current src<->code map bytes. */ - - long numLiteralsCreated; /* Total literal objects ever compiled. */ - double totalLitStringBytes; /* Total string bytes in all literals. */ - double currentLitStringBytes; - /* String bytes in current literals. */ - long literalCount[32]; /* Distribution of literal string sizes. */ -} ByteCodeStats; -#endif /* TCL_COMPILE_STATS */ - -/* - * Structure used in implementation of those core ensembles which are - * partially compiled. - */ - -typedef struct { - const char *name; /* The name of the subcommand. */ - Tcl_ObjCmdProc *proc; /* The implementation of the subcommand. */ - CompileProc *compileProc; /* The compiler for the subcommand. */ -} EnsembleImplMap; - -/* - *---------------------------------------------------------------- - * Data structures related to commands. - *---------------------------------------------------------------- - */ - -/* - * An imported command is created in an namespace when it imports a "real" - * command from another namespace. An imported command has a Command structure - * that points (via its ClientData value) to the "real" Command structure in - * the source namespace's command table. The real command records all the - * imported commands that refer to it in a list of ImportRef structures so - * that they can be deleted when the real command is deleted. - */ - -typedef struct ImportRef { - struct Command *importedCmdPtr; - /* Points to the imported command created in - * an importing namespace; this command - * redirects its invocations to the "real" - * command. */ - struct ImportRef *nextPtr; /* Next element on the linked list of imported - * commands that refer to the "real" command. - * The real command deletes these imported - * commands on this list when it is - * deleted. */ -} ImportRef; - -/* - * Data structure used as the ClientData of imported commands: commands - * created in an namespace when it imports a "real" command from another - * namespace. - */ - -typedef struct ImportedCmdData { - struct Command *realCmdPtr; /* "Real" command that this imported command - * refers to. */ - struct Command *selfPtr; /* Pointer to this imported command. Needed - * only when deleting it in order to remove it - * from the real command's linked list of - * imported commands that refer to it. */ -} ImportedCmdData; - -/* - * A Command structure exists for each command in a namespace. The Tcl_Command - * opaque type actually refers to these structures. - */ - -typedef struct Command { - Tcl_HashEntry *hPtr; /* Pointer to the hash table entry that refers - * to this command. The hash table is either a - * namespace's command table or an - * interpreter's hidden command table. This - * pointer is used to get a command's name - * from its Tcl_Command handle. NULL means - * that the hash table entry has been removed - * already (this can happen if deleteProc - * causes the command to be deleted or - * recreated). */ - Namespace *nsPtr; /* Points to the namespace containing this - * command. */ - int refCount; /* 1 if in command hashtable plus 1 for each - * reference from a CmdName Tcl object - * representing a command's name in a ByteCode - * instruction sequence. This structure can be - * freed when refCount becomes zero. */ - int cmdEpoch; /* Incremented to invalidate any references - * that point to this command when it is - * renamed, deleted, hidden, or exposed. */ - CompileProc *compileProc; /* Procedure called to compile command. NULL - * if no compile proc exists for command. */ - Tcl_ObjCmdProc *objProc; /* Object-based command procedure. */ - ClientData objClientData; /* Arbitrary value passed to object proc. */ - Tcl_CmdProc *proc; /* String-based command procedure. */ - ClientData clientData; /* Arbitrary value passed to string proc. */ - Tcl_CmdDeleteProc *deleteProc; - /* Procedure invoked when deleting command to, - * e.g., free all client data. */ - ClientData deleteData; /* Arbitrary value passed to deleteProc. */ - int flags; /* Miscellaneous bits of information about - * command. See below for definitions. */ - ImportRef *importRefPtr; /* List of each imported Command created in - * another namespace when this command is - * imported. These imported commands redirect - * invocations back to this command. The list - * is used to remove all those imported - * commands when deleting this "real" - * command. */ - CommandTrace *tracePtr; /* First in list of all traces set for this - * command. */ -} Command; - -/* - * Flag bits for commands. - * - * CMD_IS_DELETED - Means that the command is in the process of - * being deleted (its deleteProc is currently - * executing). Other attempts to delete the - * command should be ignored. - * CMD_TRACE_ACTIVE - 1 means that trace processing is currently - * underway for a rename/delete change. See the - * two flags below for which is currently being - * processed. - * CMD_HAS_EXEC_TRACES - 1 means that this command has at least one - * execution trace (as opposed to simple - * delete/rename traces) in its tracePtr list. - * TCL_TRACE_RENAME - A rename trace is in progress. Further - * recursive renames will not be traced. - * TCL_TRACE_DELETE - A delete trace is in progress. Further - * recursive deletes will not be traced. - * (these last two flags are defined in tcl.h) - */ - -#define CMD_IS_DELETED 0x1 -#define CMD_TRACE_ACTIVE 0x2 -#define CMD_HAS_EXEC_TRACES 0x4 - -/* - *---------------------------------------------------------------- - * Data structures related to name resolution procedures. - *---------------------------------------------------------------- - */ - -/* - * The interpreter keeps a linked list of name resolution schemes. The scheme - * for a namespace is consulted first, followed by the list of schemes in an - * interpreter, followed by the default name resolution in Tcl. Schemes are - * added/removed from the interpreter's list by calling Tcl_AddInterpResolver - * and Tcl_RemoveInterpResolver. - */ - -typedef struct ResolverScheme { - char *name; /* Name identifying this scheme. */ - Tcl_ResolveCmdProc *cmdResProc; - /* Procedure handling command name - * resolution. */ - Tcl_ResolveVarProc *varResProc; - /* Procedure handling variable name resolution - * for variables that can only be handled at - * runtime. */ - Tcl_ResolveCompiledVarProc *compiledVarResProc; - /* Procedure handling variable name resolution - * at compile time. */ - - struct ResolverScheme *nextPtr; - /* Pointer to next record in linked list. */ -} ResolverScheme; - -/* - * Forward declaration of the TIP#143 limit handler structure. - */ - -typedef struct LimitHandler LimitHandler; - -/* - * TIP #268. - * Values for the selection mode, i.e the package require preferences. - */ - -enum PkgPreferOptions { - PKG_PREFER_LATEST, PKG_PREFER_STABLE -}; - -/* - *---------------------------------------------------------------- - * This structure defines an interpreter, which is a collection of commands - * plus other state information related to interpreting commands, such as - * variable storage. Primary responsibility for this data structure is in - * tclBasic.c, but almost every Tcl source file uses something in here. - *---------------------------------------------------------------- - */ - -typedef struct Interp { - /* - * Note: the first three fields must match exactly the fields in a - * Tcl_Interp struct (see tcl.h). If you change one, be sure to change the - * other. - * - * The interpreter's result is held in both the string and the - * objResultPtr fields. These fields hold, respectively, the result's - * string or object value. The interpreter's result is always in the - * result field if that is non-empty, otherwise it is in objResultPtr. - * The two fields are kept consistent unless some C code sets - * interp->result directly. Programs should not access result and - * objResultPtr directly; instead, they should always get and set the - * result using procedures such as Tcl_SetObjResult, Tcl_GetObjResult, and - * Tcl_GetStringResult. See the SetResult man page for details. - */ - - char *result; /* If the last command returned a string - * result, this points to it. Should not be - * accessed directly; see comment above. */ - Tcl_FreeProc *freeProc; /* Zero means a string result is statically - * allocated. TCL_DYNAMIC means string result - * was allocated with ckalloc and should be - * freed with ckfree. Other values give - * address of procedure to invoke to free the - * string result. Tcl_Eval must free it before - * executing next command. */ - int errorLine; /* When TCL_ERROR is returned, this gives the - * line number in the command where the error - * occurred (1 means first line). */ - struct TclStubs *stubTable; /* Pointer to the exported Tcl stub table. On - * previous versions of Tcl this is a pointer - * to the objResultPtr or a pointer to a - * buckets array in a hash table. We therefore - * have to do some careful checking before we - * can use this. */ - - TclHandle handle; /* Handle used to keep track of when this - * interp is deleted. */ - - Namespace *globalNsPtr; /* The interpreter's global namespace. */ - Tcl_HashTable *hiddenCmdTablePtr; - /* Hash table used by tclBasic.c to keep track - * of hidden commands on a per-interp - * basis. */ - ClientData interpInfo; /* Information used by tclInterp.c to keep - * track of master/slave interps on a - * per-interp basis. */ - Tcl_HashTable unused2; /* No longer used (was mathFuncTable) */ - - /* - * Information related to procedures and variables. See tclProc.c and - * tclVar.c for usage. - */ - - int numLevels; /* Keeps track of how many nested calls to - * Tcl_Eval are in progress for this - * interpreter. It's used to delay deletion of - * the table until all Tcl_Eval invocations - * are completed. */ - int maxNestingDepth; /* If numLevels exceeds this value then Tcl - * assumes that infinite recursion has - * occurred and it generates an error. */ - CallFrame *framePtr; /* Points to top-most in stack of all nested - * procedure invocations. */ - CallFrame *varFramePtr; /* Points to the call frame whose variables - * are currently in use (same as framePtr - * unless an "uplevel" command is - * executing). */ - ActiveVarTrace *activeVarTracePtr; - /* First in list of active traces for interp, - * or NULL if no active traces. */ - int returnCode; /* [return -code] parameter */ - CallFrame *rootFramePtr; /* Global frame pointer for this interpreter */ - Namespace *lookupNsPtr; /* Namespace to use ONLY on the next - * TCL_EVAL_INVOKE call to Tcl_EvalObjv */ - - /* - * Information used by Tcl_AppendResult to keep track of partial results. - * See Tcl_AppendResult code for details. - */ - - char *appendResult; /* Storage space for results generated by - * Tcl_AppendResult. Ckalloc-ed. NULL means - * not yet allocated. */ - int appendAvl; /* Total amount of space available at - * partialResult. */ - int appendUsed; /* Number of non-null bytes currently stored - * at partialResult. */ - - /* - * Information about packages. Used only in tclPkg.c. - */ - - Tcl_HashTable packageTable; /* Describes all of the packages loaded in or - * available to this interpreter. Keys are - * package names, values are (Package *) - * pointers. */ - char *packageUnknown; /* Command to invoke during "package require" - * commands for packages that aren't described - * in packageTable. Ckalloc'ed, may be - * NULL. */ - /* - * Miscellaneous information: - */ - - int cmdCount; /* Total number of times a command procedure - * has been called for this interpreter. */ - int evalFlags; /* Flags to control next call to Tcl_Eval. - * Normally zero, but may be set before - * calling Tcl_Eval. See below for valid - * values. */ - int unused1; /* No longer used (was termOffset) */ - LiteralTable literalTable; /* Contains LiteralEntry's describing all Tcl - * objects holding literals of scripts - * compiled by the interpreter. Indexed by the - * string representations of literals. Used to - * avoid creating duplicate objects. */ - int compileEpoch; /* Holds the current "compilation epoch" for - * this interpreter. This is incremented to - * invalidate existing ByteCodes when, e.g., a - * command with a compile procedure is - * redefined. */ - Proc *compiledProcPtr; /* If a procedure is being compiled, a pointer - * to its Proc structure; otherwise, this is - * NULL. Set by ObjInterpProc in tclProc.c and - * used by tclCompile.c to process local - * variables appropriately. */ - ResolverScheme *resolverPtr; - /* Linked list of name resolution schemes - * added to this interpreter. Schemes are - * added and removed by calling - * Tcl_AddInterpResolvers and - * Tcl_RemoveInterpResolver respectively. */ - Tcl_Obj *scriptFile; /* NULL means there is no nested source - * command active; otherwise this points to - * pathPtr of the file being sourced. */ - int flags; /* Various flag bits. See below. */ - long randSeed; /* Seed used for rand() function. */ - Trace *tracePtr; /* List of traces for this interpreter. */ - Tcl_HashTable *assocData; /* Hash table for associating data with this - * interpreter. Cleaned up when this - * interpreter is deleted. */ - struct ExecEnv *execEnvPtr; /* Execution environment for Tcl bytecode - * execution. Contains a pointer to the Tcl - * evaluation stack. */ - Tcl_Obj *emptyObjPtr; /* Points to an object holding an empty - * string. Returned by Tcl_ObjSetVar2 when - * variable traces change a variable in a - * gross way. */ - char resultSpace[TCL_RESULT_SIZE+1]; - /* Static space holding small results. */ - Tcl_Obj *objResultPtr; /* If the last command returned an object - * result, this points to it. Should not be - * accessed directly; see comment above. */ - Tcl_ThreadId threadId; /* ID of thread that owns the interpreter */ - - ActiveCommandTrace *activeCmdTracePtr; - /* First in list of active command traces for - * interp, or NULL if no active traces. */ - ActiveInterpTrace *activeInterpTracePtr; - /* First in list of active traces for interp, - * or NULL if no active traces. */ - - int tracesForbiddingInline; /* Count of traces (in the list headed by - * tracePtr) that forbid inline bytecode - * compilation */ - - /* Fields used to manage extensible return options (TIP 90) */ - Tcl_Obj *returnOpts; /* A dictionary holding the options to the - * last [return] command */ - - Tcl_Obj *errorInfo; /* errorInfo value (now as a Tcl_Obj) */ - Tcl_Obj *eiVar; /* cached ref to ::errorInfo variable */ - Tcl_Obj *errorCode; /* errorCode value (now as a Tcl_Obj) */ - Tcl_Obj *ecVar; /* cached ref to ::errorInfo variable */ - int returnLevel; /* [return -level] parameter */ - - /* - * Resource limiting framework support (TIP#143). - */ - - struct { - int active; /* Flag values defining which limits have been - * set. */ - int granularityTicker; /* Counter used to determine how often to - * check the limits. */ - int exceeded; /* Which limits have been exceeded, described - * as flag values the same as the 'active' - * field. */ - - int cmdCount; /* Limit for how many commands to execute in - * the interpreter. */ - LimitHandler *cmdHandlers; - /* Handlers to execute when the limit is - * reached. */ - int cmdGranularity; /* Mod factor used to determine how often to - * evaluate the limit check. */ - - Tcl_Time time; /* Time limit for execution within the - * interpreter. */ - LimitHandler *timeHandlers; - /* Handlers to execute when the limit is - * reached. */ - int timeGranularity; /* Mod factor used to determine how often to - * evaluate the limit check. */ - Tcl_TimerToken timeEvent; - /* Handle for a timer callback that will occur - * when the time-limit is exceeded. */ - - Tcl_HashTable callbacks;/* Mapping from (interp,type) pair to data - * used to install a limit handler callback to - * run in _this_ interp when the limit is - * exceeded. */ - } limit; - - /* - * Information for improved default error generation from ensembles - * (TIP#112). - */ - - struct { - Tcl_Obj *const *sourceObjs; - /* What arguments were actually input into the - * *root* ensemble command? (Nested ensembles - * don't rewrite this.) NULL if we're not - * processing an ensemble. */ - int numRemovedObjs; /* How many arguments have been stripped off - * because of ensemble processing. */ - int numInsertedObjs; /* How many of the current arguments were - * inserted by an ensemble. */ - } ensembleRewrite; - - /* - * TIP #219 ... Global info for the I/O system ... - */ - - Tcl_Obj *chanMsg; /* Error message set by channel drivers, for - * the propagation of arbitrary Tcl errors. - * This information, if present (chanMsg not - * NULL), takes precedence over a POSIX error - * code returned by a channel operation. */ - - /* TIP #280 */ - CmdFrame *cmdFramePtr; /* Points to the command frame containing - * the location information for the current - * command. */ - const CmdFrame *invokeCmdFramePtr; - /* Points to the command frame which is the - * invoking context of the bytecode compiler. - * NULL when the byte code compiler is not - * active */ - int invokeWord; /* Index of the word in the command which - * is getting compiled. */ - Tcl_HashTable *linePBodyPtr;/* This table remembers for each statically - * defined procedure the location information - * for its body. It is keyed by the address of - * the Proc structure for a procedure. */ - Tcl_HashTable *lineBCPtr; /* This table remembers for each ByteCode - * object the location information for its - * body. It is keyed by the address of the - * Proc structure for a procedure. */ - /* - * TIP #268. The currently active selection mode, i.e. the package require - * preferences. - */ - - int packagePrefer; /* Current package selection mode. */ - - /* - * Hashtables for variable traces and searches - */ - - Tcl_HashTable varTraces; /* Hashtable holding the start of a variable's - * active trace list; varPtr is the key. */ - Tcl_HashTable varSearches; /* Hashtable holding the start of a variable's - * active searches list; varPtr is the key */ - /* - * The thread-specific data ekeko: cache pointers or values that - * (a) do not change during the thread's lifetime - * (b) require access to TSD to determine at runtime - * (c) are accessed very often (e.g., at each command call) - * - * Note that these are the same for all interps in the same thread. They - * just have to be initialised for the thread's master interp, slaves - * inherit the value. - * - * They are used by the macros defined below. - */ - - void *allocCache; - void *pendingObjDataPtr; /* Pointer to the Cache and PendingObjData - * structs for this interp's thread; see - * tclObj.c and tclThreadAlloc.c */ - int *asyncReadyPtr; /* Pointer to the asyncReady indicator for - * this interp's thread; see tclAsync.c */ - int *stackBound; /* Pointer to the limit stack address - * allowable for invoking a new command - * without "risking" a C-stack overflow; see - * TclpCheckStackSpace in the platform's - * directory. */ - - -#ifdef TCL_COMPILE_STATS - /* - * Statistical information about the bytecode compiler and interpreter's - * operation. - */ - - ByteCodeStats stats; /* Holds compilation and execution statistics - * for this interpreter. */ -#endif /* TCL_COMPILE_STATS */ -} Interp; - -/* - * Macros that use the TSD-ekeko. - */ - -#define TclAsyncReady(iPtr) \ - *((iPtr)->asyncReadyPtr) - - -/* - * General list of interpreters. Doubly linked for easier removal of items - * deep in the list. - */ - -typedef struct InterpList { - Interp *interpPtr; - struct InterpList *prevPtr; - struct InterpList *nextPtr; -} InterpList; - -/* - * Macros for splicing into and out of doubly linked lists. They assume - * existence of struct items 'prevPtr' and 'nextPtr'. - * - * a = element to add or remove. - * b = list head. - * - * TclSpliceIn adds to the head of the list. - */ - -#define TclSpliceIn(a,b) \ - (a)->nextPtr = (b); \ - if ((b) != NULL) { \ - (b)->prevPtr = (a); \ - } \ - (a)->prevPtr = NULL, (b) = (a); - -#define TclSpliceOut(a,b) \ - if ((a)->prevPtr != NULL) { \ - (a)->prevPtr->nextPtr = (a)->nextPtr; \ - } else { \ - (b) = (a)->nextPtr; \ - } \ - if ((a)->nextPtr != NULL) { \ - (a)->nextPtr->prevPtr = (a)->prevPtr; \ - } - -/* - * EvalFlag bits for Interp structures: - * - * TCL_ALLOW_EXCEPTIONS 1 means it's OK for the script to terminate with a - * code other than TCL_OK or TCL_ERROR; 0 means codes - * other than these should be turned into errors. - */ - -#define TCL_ALLOW_EXCEPTIONS 4 -#define TCL_EVAL_FILE 2 -#define TCL_EVAL_CTX 8 - -/* - * Flag bits for Interp structures: - * - * DELETED: Non-zero means the interpreter has been deleted: - * don't process any more commands for it, and destroy - * the structure as soon as all nested invocations of - * Tcl_Eval are done. - * ERR_ALREADY_LOGGED: Non-zero means information has already been logged in - * iPtr->errorInfo for the current Tcl_Eval instance, so - * Tcl_Eval needn't log it (used to implement the "error - * message log" command). - * DONT_COMPILE_CMDS_INLINE: Non-zero means that the bytecode compiler should - * not compile any commands into an inline sequence of - * instructions. This is set 1, for example, when command - * traces are requested. - * RAND_SEED_INITIALIZED: Non-zero means that the randSeed value of the interp - * has not be initialized. This is set 1 when we first - * use the rand() or srand() functions. - * SAFE_INTERP: Non zero means that the current interp is a safe - * interp (i.e. it has only the safe commands installed, - * less priviledge than a regular interp). - * INTERP_TRACE_IN_PROGRESS: Non-zero means that an interp trace is currently - * active; so no further trace callbacks should be - * invoked. - * INTERP_ALTERNATE_WRONG_ARGS: Used for listing second and subsequent forms - * of the wrong-num-args string in Tcl_WrongNumArgs. - * Makes it append instead of replacing and uses - * different intermediate text. - * - * WARNING: For the sake of some extensions that have made use of former - * internal values, do not re-use the flag values 2 (formerly ERR_IN_PROGRESS) - * or 8 (formerly ERROR_CODE_SET). - */ - -#define DELETED 1 -#define ERR_ALREADY_LOGGED 4 -#define DONT_COMPILE_CMDS_INLINE 0x20 -#define RAND_SEED_INITIALIZED 0x40 -#define SAFE_INTERP 0x80 -#define INTERP_TRACE_IN_PROGRESS 0x200 -#define INTERP_ALTERNATE_WRONG_ARGS 0x400 -#define ERR_LEGACY_COPY 0x800 - -/* - * Maximum number of levels of nesting permitted in Tcl commands (used to - * catch infinite recursion). - */ - -#define MAX_NESTING_DEPTH 1000 - -/* - * TIP#143 limit handler internal representation. - */ - -struct LimitHandler { - int flags; /* The state of this particular handler. */ - Tcl_LimitHandlerProc *handlerProc; - /* The handler callback. */ - ClientData clientData; /* Opaque argument to the handler callback. */ - Tcl_LimitHandlerDeleteProc *deleteProc; - /* How to delete the clientData */ - LimitHandler *prevPtr; /* Previous item in linked list of handlers */ - LimitHandler *nextPtr; /* Next item in linked list of handlers */ -}; - -/* - * Values for the LimitHandler flags field. - * LIMIT_HANDLER_ACTIVE - Whether the handler is currently being - * processed; handlers are never to be entered reentrantly. - * LIMIT_HANDLER_DELETED - Whether the handler has been deleted. This - * should not normally be observed because when a handler is - * deleted it is also spliced out of the list of handlers, but - * even so we will be careful. - */ - -#define LIMIT_HANDLER_ACTIVE 0x01 -#define LIMIT_HANDLER_DELETED 0x02 - -/* - * The macro below is used to modify a "char" value (e.g. by casting it to an - * unsigned character) so that it can be used safely with macros such as - * isspace. - */ - -#define UCHAR(c) ((unsigned char) (c)) - -/* - * This macro is used to properly align the memory allocated by Tcl, giving - * the same alignment as the native malloc - */ - -#if defined(__APPLE__) -#define TCL_ALLOCALIGN 16 -#else -#define TCL_ALLOCALIGN (2*sizeof(void *)) -#endif - -/* - * This macro is used to determine the offset needed to safely allocate any - * data structure in memory. Given a starting offset or size, it "rounds up" - * or "aligns" the offset to the next 8-byte boundary so that any data - * structure can be placed at the resulting offset without fear of an - * alignment error. - * - * WARNING!! DO NOT USE THIS MACRO TO ALIGN POINTERS: it will produce the - * wrong result on platforms that allocate addresses that are divisible by 4 - * or 2. Only use it for offsets or sizes. - * - * This macro is only used by tclCompile.c in the core (Bug 926445). It - * however not be made file static, as extensions that touch bytecodes - * (notably tbcload) require it. - */ - -#define TCL_ALIGN(x) (((int)(x) + 7) & ~7) - - -/* - * The following enum values are used to specify the runtime platform setting - * of the tclPlatform variable. - */ - -typedef enum { - TCL_PLATFORM_UNIX = 0, /* Any Unix-like OS. */ - TCL_PLATFORM_WINDOWS = 2 /* Any Microsoft Windows OS. */ -} TclPlatformType; - -/* - * The following enum values are used to indicate the translation of a Tcl - * channel. Declared here so that each platform can define - * TCL_PLATFORM_TRANSLATION to the native translation on that platform - */ - -typedef enum TclEolTranslation { - TCL_TRANSLATE_AUTO, /* Eol == \r, \n and \r\n. */ - TCL_TRANSLATE_CR, /* Eol == \r. */ - TCL_TRANSLATE_LF, /* Eol == \n. */ - TCL_TRANSLATE_CRLF /* Eol == \r\n. */ -} TclEolTranslation; - -/* - * Flags for TclInvoke: - * - * TCL_INVOKE_HIDDEN Invoke a hidden command; if not set, invokes - * an exposed command. - * TCL_INVOKE_NO_UNKNOWN If set, "unknown" is not invoked if the - * command to be invoked is not found. Only has - * an effect if invoking an exposed command, - * i.e. if TCL_INVOKE_HIDDEN is not also set. - * TCL_INVOKE_NO_TRACEBACK Does not record traceback information if the - * invoked command returns an error. Used if the - * caller plans on recording its own traceback - * information. - */ - -#define TCL_INVOKE_HIDDEN (1<<0) -#define TCL_INVOKE_NO_UNKNOWN (1<<1) -#define TCL_INVOKE_NO_TRACEBACK (1<<2) - -/* - * The structure used as the internal representation of Tcl list objects. This - * struct is grown (reallocated and copied) as necessary to hold all the - * list's element pointers. The struct might contain more slots than currently - * used to hold all element pointers. This is done to make append operations - * faster. - */ - -typedef struct List { - int refCount; - int maxElemCount; /* Total number of element array slots. */ - int elemCount; /* Current number of list elements. */ - int canonicalFlag; /* Set if the string representation was - * derived from the list representation. May - * be ignored if there is no string rep at - * all.*/ - Tcl_Obj *elements; /* First list element; the struct is grown to - * accomodate all elements. */ -} List; - -/* - * Macro used to get the elements of a list object. - */ - -#define ListRepPtr(listPtr) \ - ((List *) (listPtr)->internalRep.twoPtrValue.ptr1) - -#define ListObjGetElements(listPtr, objc, objv) \ - ((objv) = &(ListRepPtr(listPtr)->elements), \ - (objc) = ListRepPtr(listPtr)->elemCount) - -#define ListObjLength(listPtr, len) \ - ((len) = ListRepPtr(listPtr)->elemCount) - -#define TclListObjGetElements(interp, listPtr, objcPtr, objvPtr) \ - (((listPtr)->typePtr == &tclListType) \ - ? ((ListObjGetElements((listPtr), *(objcPtr), *(objvPtr))), TCL_OK)\ - : Tcl_ListObjGetElements((interp), (listPtr), (objcPtr), (objvPtr))) - -#define TclListObjLength(interp, listPtr, lenPtr) \ - (((listPtr)->typePtr == &tclListType) \ - ? ((ListObjLength((listPtr), *(lenPtr))), TCL_OK)\ - : Tcl_ListObjLength((interp), (listPtr), (lenPtr))) - -/* - * Macros providing a faster path to integers: Tcl_GetLongFromObj everywhere, - * Tcl_GetIntFromObj and TclGetIntForIndex on platforms where longs are ints. - * - * WARNING: these macros eval their args more than once. - */ - -#define TclGetLongFromObj(interp, objPtr, longPtr) \ - (((objPtr)->typePtr == &tclIntType) \ - ? ((*(longPtr) = (long) (objPtr)->internalRep.otherValuePtr), TCL_OK) \ - : Tcl_GetLongFromObj((interp), (objPtr), (longPtr))) - -#if (LONG_MAX == INT_MAX) -#define TclGetIntFromObj(interp, objPtr, intPtr) \ - (((objPtr)->typePtr == &tclIntType) \ - ? ((*(intPtr) = (long) (objPtr)->internalRep.otherValuePtr), TCL_OK) \ - : Tcl_GetIntFromObj((interp), (objPtr), (intPtr))) -#define TclGetIntForIndexM(interp, objPtr, endValue, idxPtr) \ - (((objPtr)->typePtr == &tclIntType) \ - ? ((*(idxPtr) = (long) (objPtr)->internalRep.otherValuePtr), TCL_OK) \ - : TclGetIntForIndex((interp), (objPtr), (endValue), (idxPtr))) -#else -#define TclGetIntFromObj(interp, objPtr, intPtr) \ - Tcl_GetIntFromObj((interp), (objPtr), (intPtr)) -#define TclGetIntForIndexM(interp, objPtr, ignore, idxPtr) \ - TclGetIntForIndex(interp, objPtr, ignore, idxPtr) -#endif - -/* - * Flag values for TclTraceDictPath(). - * - * DICT_PATH_READ indicates that all entries on the path must exist but no - * updates will be needed. - * - * DICT_PATH_UPDATE indicates that we are going to be doing an update at the - * tip of the path, so duplication of shared objects should be done along the - * way. - * - * DICT_PATH_EXISTS indicates that we are performing an existance test and a - * lookup failure should therefore not be an error. If (and only if) this flag - * is set, TclTraceDictPath() will return the special value - * DICT_PATH_NON_EXISTENT if the path is not traceable. - * - * DICT_PATH_CREATE (which also requires the DICT_PATH_UPDATE bit to be set) - * indicates that we are to create non-existant dictionaries on the path. - */ - -#define DICT_PATH_READ 0 -#define DICT_PATH_UPDATE 1 -#define DICT_PATH_EXISTS 2 -#define DICT_PATH_CREATE 5 - -#define DICT_PATH_NON_EXISTENT ((Tcl_Obj *) (void *) 1) - -/* - *---------------------------------------------------------------- - * Data structures related to the filesystem internals - *---------------------------------------------------------------- - */ - -/* - * The version_2 filesystem is private to Tcl. As and when these changes have - * been thoroughly tested and investigated a new public filesystem interface - * will be released. The aim is more versatile virtual filesystem interfaces, - * more efficiency in 'path' manipulation and usage, and cleaner filesystem - * code internally. - */ - -#define TCL_FILESYSTEM_VERSION_2 ((Tcl_FSVersion) 0x2) -typedef ClientData (TclFSGetCwdProc2) (ClientData clientData); - -/* - * The following types are used for getting and storing platform-specific file - * attributes in tclFCmd.c and the various platform-versions of that file. - * This is done to have as much common code as possible in the file attributes - * code. For more information about the callbacks, see TclFileAttrsCmd in - * tclFCmd.c. - */ - -typedef int (TclGetFileAttrProc) (Tcl_Interp *interp, int objIndex, - Tcl_Obj *fileName, Tcl_Obj **attrObjPtrPtr); -typedef int (TclSetFileAttrProc) (Tcl_Interp *interp, int objIndex, - Tcl_Obj *fileName, Tcl_Obj *attrObjPtr); - -typedef struct TclFileAttrProcs { - TclGetFileAttrProc *getProc;/* The procedure for getting attrs. */ - TclSetFileAttrProc *setProc;/* The procedure for setting attrs. */ -} TclFileAttrProcs; - -/* - * Opaque handle used in pipeline routines to encapsulate platform-dependent - * state. - */ - -typedef struct TclFile_ *TclFile; - -/* - * The "globParameters" argument of the function TclGlob is an or'ed - * combination of the following values: - */ - -#define TCL_GLOBMODE_NO_COMPLAIN 1 -#define TCL_GLOBMODE_JOIN 2 -#define TCL_GLOBMODE_DIR 4 -#define TCL_GLOBMODE_TAILS 8 - -typedef enum Tcl_PathPart { - TCL_PATH_DIRNAME, - TCL_PATH_TAIL, - TCL_PATH_EXTENSION, - TCL_PATH_ROOT -} Tcl_PathPart; - -/* - *---------------------------------------------------------------- - * Data structures related to obsolete filesystem hooks - *---------------------------------------------------------------- - */ - -typedef int (TclStatProc_) (CONST char *path, struct stat *buf); -typedef int (TclAccessProc_) (CONST char *path, int mode); -typedef Tcl_Channel (TclOpenFileChannelProc_) (Tcl_Interp *interp, - CONST char *fileName, CONST char *modeString, int permissions); - -/* - *---------------------------------------------------------------- - * Data structures related to procedures - *---------------------------------------------------------------- - */ - -typedef Tcl_CmdProc *TclCmdProcType; -typedef Tcl_ObjCmdProc *TclObjCmdProcType; - -/* - *---------------------------------------------------------------- - * Data structures for process-global values. - *---------------------------------------------------------------- - */ - -typedef void (TclInitProcessGlobalValueProc) (char **valuePtr, int *lengthPtr, - Tcl_Encoding *encodingPtr); - -/* - * A ProcessGlobalValue struct exists for each internal value in Tcl that is - * to be shared among several threads. Each thread sees a (Tcl_Obj) copy of - * the value, and the master is kept as a counted string, with epoch and mutex - * control. Each ProcessGlobalValue struct should be a static variable in some - * file. - */ - -typedef struct ProcessGlobalValue { - int epoch; /* Epoch counter to detect changes in the - * master value. */ - int numBytes; /* Length of the master string. */ - char *value; /* The master string value. */ - Tcl_Encoding encoding; /* system encoding when master string was - * initialized. */ - TclInitProcessGlobalValueProc *proc; - /* A procedure to initialize the master string - * copy when a "get" request comes in before - * any "set" request has been received. */ - Tcl_Mutex mutex; /* Enforce orderly access from multiple - * threads. */ - Tcl_ThreadDataKey key; /* Key for per-thread data holding the - * (Tcl_Obj) copy for each thread. */ -} ProcessGlobalValue; - -/* - *---------------------------------------------------------------------- - * Flags for TclParseNumber - *---------------------------------------------------------------------- - */ - -#define TCL_PARSE_DECIMAL_ONLY 1 - /* Leading zero doesn't denote octal or hex */ -#define TCL_PARSE_OCTAL_ONLY 2 - /* Parse octal even without prefix */ -#define TCL_PARSE_HEXADECIMAL_ONLY 4 - /* Parse hexadecimal even without prefix */ -#define TCL_PARSE_INTEGER_ONLY 8 - /* Disable floating point parsing */ -#define TCL_PARSE_SCAN_PREFIXES 16 - /* Use [scan] rules dealing with 0? prefixes */ -#define TCL_PARSE_NO_WHITESPACE 32 - /* Reject leading/trailing whitespace */ - -/* - *---------------------------------------------------------------------- - * Type values TclGetNumberFromObj - *---------------------------------------------------------------------- - */ - -#define TCL_NUMBER_LONG 1 -#define TCL_NUMBER_WIDE 2 -#define TCL_NUMBER_BIG 3 -#define TCL_NUMBER_DOUBLE 4 -#define TCL_NUMBER_NAN 5 - -/* - *---------------------------------------------------------------- - * Variables shared among Tcl modules but not used by the outside world. - *---------------------------------------------------------------- - */ - -MODULE_SCOPE char * tclNativeExecutableName; -MODULE_SCOPE int tclFindExecutableSearchDone; -MODULE_SCOPE char * tclMemDumpFileName; -MODULE_SCOPE TclPlatformType tclPlatform; -MODULE_SCOPE Tcl_NotifierProcs tclOriginalNotifier; - -/* - * TIP #233 (Virtualized Time) - * Data for the time hooks, if any. - */ - -MODULE_SCOPE Tcl_GetTimeProc* tclGetTimeProcPtr; -MODULE_SCOPE Tcl_ScaleTimeProc* tclScaleTimeProcPtr; -MODULE_SCOPE ClientData tclTimeClientData; - -/* - * Variables denoting the Tcl object types defined in the core. - */ - -MODULE_SCOPE Tcl_ObjType tclBignumType; -MODULE_SCOPE Tcl_ObjType tclBooleanType; -MODULE_SCOPE Tcl_ObjType tclByteArrayType; -MODULE_SCOPE Tcl_ObjType tclByteCodeType; -MODULE_SCOPE Tcl_ObjType tclDoubleType; -MODULE_SCOPE Tcl_ObjType tclEndOffsetType; -MODULE_SCOPE Tcl_ObjType tclIntType; -MODULE_SCOPE Tcl_ObjType tclListType; -MODULE_SCOPE Tcl_ObjType tclDictType; -MODULE_SCOPE Tcl_ObjType tclProcBodyType; -MODULE_SCOPE Tcl_ObjType tclStringType; -MODULE_SCOPE Tcl_ObjType tclArraySearchType; -MODULE_SCOPE Tcl_ObjType tclEnsembleCmdType; -#ifndef NO_WIDE_TYPE -MODULE_SCOPE Tcl_ObjType tclWideIntType; -#endif -MODULE_SCOPE Tcl_ObjType tclRegexpType; - -/* - * Variables denoting the hash key types defined in the core. - */ - -MODULE_SCOPE Tcl_HashKeyType tclArrayHashKeyType; -MODULE_SCOPE Tcl_HashKeyType tclOneWordHashKeyType; -MODULE_SCOPE Tcl_HashKeyType tclStringHashKeyType; -MODULE_SCOPE Tcl_HashKeyType tclObjHashKeyType; - -/* - * The head of the list of free Tcl objects, and the total number of Tcl - * objects ever allocated and freed. - */ - -MODULE_SCOPE Tcl_Obj * tclFreeObjList; - -#ifdef TCL_COMPILE_STATS -MODULE_SCOPE long tclObjsAlloced; -MODULE_SCOPE long tclObjsFreed; -#define TCL_MAX_SHARED_OBJ_STATS 5 -MODULE_SCOPE long tclObjsShared[TCL_MAX_SHARED_OBJ_STATS]; -#endif /* TCL_COMPILE_STATS */ - -/* - * Pointer to a heap-allocated string of length zero that the Tcl core uses as - * the value of an empty string representation for an object. This value is - * shared by all new objects allocated by Tcl_NewObj. - */ - -MODULE_SCOPE char * tclEmptyStringRep; -MODULE_SCOPE char tclEmptyString; - -/* - *---------------------------------------------------------------- - * Procedures shared among Tcl modules but not used by the outside world: - *---------------------------------------------------------------- - */ - -MODULE_SCOPE void TclAdvanceLines(int *line, const char *start, - const char *end); -MODULE_SCOPE int TclArraySet(Tcl_Interp *interp, - Tcl_Obj *arrayNameObj, Tcl_Obj *arrayElemObj); -MODULE_SCOPE double TclBignumToDouble(mp_int *bignum); -MODULE_SCOPE int TclByteArrayMatch(const unsigned char *string, - int strLen, const unsigned char *pattern, - int ptnLen, int flags); -MODULE_SCOPE double TclCeil(mp_int *a); -MODULE_SCOPE int TclCheckBadOctal(Tcl_Interp *interp,const char *value); -MODULE_SCOPE int TclChanCaughtErrorBypass(Tcl_Interp *interp, - Tcl_Channel chan); -MODULE_SCOPE void TclCleanupLiteralTable(Tcl_Interp *interp, - LiteralTable *tablePtr); -MODULE_SCOPE int TclDoubleDigits(char *buf, double value, int *signum); -MODULE_SCOPE void TclDeleteNamespaceVars(Namespace *nsPtr); -/* TIP #280 - Modified token based evulation, with line information */ -MODULE_SCOPE int TclEvalEx(Tcl_Interp *interp, const char *script, - int numBytes, int flags, int line); -MODULE_SCOPE void TclExpandTokenArray(Tcl_Parse *parsePtr); -MODULE_SCOPE int TclFileAttrsCmd(Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE int TclFileCopyCmd(Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE int TclFileDeleteCmd(Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE int TclFileMakeDirsCmd(Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE int TclFileRenameCmd(Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE void TclFinalizeAllocSubsystem(void); -MODULE_SCOPE void TclFinalizeAsync(void); -MODULE_SCOPE void TclFinalizeDoubleConversion(void); -MODULE_SCOPE void TclFinalizeEncodingSubsystem(void); -MODULE_SCOPE void TclFinalizeEnvironment(void); -MODULE_SCOPE void TclFinalizeExecution(void); -MODULE_SCOPE void TclFinalizeIOSubsystem(void); -MODULE_SCOPE void TclFinalizeFilesystem(void); -MODULE_SCOPE void TclResetFilesystem(void); -MODULE_SCOPE void TclFinalizeLoad(void); -MODULE_SCOPE void TclFinalizeLock(void); -MODULE_SCOPE void TclFinalizeMemorySubsystem(void); -MODULE_SCOPE void TclFinalizeNotifier(void); -MODULE_SCOPE void TclFinalizeObjects(void); -MODULE_SCOPE void TclFinalizePreserve(void); -MODULE_SCOPE void TclFinalizeSynchronization(void); -MODULE_SCOPE void TclFinalizeThreadAlloc(void); -MODULE_SCOPE void TclFinalizeThreadData(void); -MODULE_SCOPE double TclFloor(mp_int *a); -MODULE_SCOPE void TclFormatNaN(double value, char *buffer); -MODULE_SCOPE int TclFSFileAttrIndex(Tcl_Obj *pathPtr, - const char *attributeName, int *indexPtr); -MODULE_SCOPE int * TclGetAsyncReadyPtr(void); -MODULE_SCOPE Tcl_Obj * TclGetBgErrorHandler(Tcl_Interp *interp); -MODULE_SCOPE int TclGetChannelFromObj(Tcl_Interp *interp, - Tcl_Obj *objPtr, Tcl_Channel *chanPtr, - int *modePtr, int flags); -MODULE_SCOPE int TclGetNumberFromObj(Tcl_Interp *interp, - Tcl_Obj *objPtr, ClientData *clientDataPtr, - int *typePtr); -MODULE_SCOPE int TclGetOpenModeEx(Tcl_Interp *interp, - const char *modeString, int *seekFlagPtr, - int *binaryPtr); -MODULE_SCOPE Tcl_Obj * TclGetProcessGlobalValue(ProcessGlobalValue *pgvPtr); -MODULE_SCOPE const char *TclGetSrcInfoForCmd(Interp *iPtr, int *lenPtr); -MODULE_SCOPE int TclGlob(Tcl_Interp *interp, char *pattern, - Tcl_Obj *unquotedPrefix, int globFlags, - Tcl_GlobTypeData *types); -MODULE_SCOPE int TclIncrObj(Tcl_Interp *interp, Tcl_Obj *valuePtr, - Tcl_Obj *incrPtr); -MODULE_SCOPE Tcl_Obj * TclIncrObjVar2(Tcl_Interp *interp, Tcl_Obj *part1Ptr, - Tcl_Obj *part2Ptr, Tcl_Obj *incrPtr, int flags); -MODULE_SCOPE int TclInfoExistsCmd(ClientData dummy, Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE Tcl_Obj * TclInfoFrame(Tcl_Interp *interp, CmdFrame *framePtr); -MODULE_SCOPE int TclInfoGlobalsCmd(ClientData dummy, Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE int TclInfoLocalsCmd(ClientData dummy, Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE int TclInfoVarsCmd(ClientData dummy, Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE void TclInitAlloc(void); -MODULE_SCOPE void TclInitDbCkalloc(void); -MODULE_SCOPE void TclInitDoubleConversion(void); -MODULE_SCOPE void TclInitEmbeddedConfigurationInformation( - Tcl_Interp *interp); -MODULE_SCOPE void TclInitEncodingSubsystem(void); -MODULE_SCOPE void TclInitIOSubsystem(void); -MODULE_SCOPE void TclInitLimitSupport(Tcl_Interp *interp); -MODULE_SCOPE void TclInitNamespaceSubsystem(void); -MODULE_SCOPE void TclInitNotifier(void); -MODULE_SCOPE void TclInitObjSubsystem(void); -MODULE_SCOPE void TclInitSubsystems(void); -MODULE_SCOPE int TclInterpReady(Tcl_Interp *interp); -MODULE_SCOPE int TclIsLocalScalar(const char *src, int len); -MODULE_SCOPE int TclJoinThread(Tcl_ThreadId id, int *result); -MODULE_SCOPE void TclLimitRemoveAllHandlers(Tcl_Interp *interp); -MODULE_SCOPE Tcl_Obj * TclLindexList(Tcl_Interp *interp, - Tcl_Obj *listPtr, Tcl_Obj *argPtr); -MODULE_SCOPE Tcl_Obj * TclLindexFlat(Tcl_Interp *interp, Tcl_Obj *listPtr, - int indexCount, Tcl_Obj *const indexArray[]); -/* TIP #280 */ -MODULE_SCOPE void TclListLines(const char *listStr, int line, int n, - int *lines); -MODULE_SCOPE Tcl_Obj * TclListObjCopy(Tcl_Interp *interp, Tcl_Obj *listPtr); -MODULE_SCOPE int TclLoadFile(Tcl_Interp *interp, Tcl_Obj *pathPtr, - int symc, const char *symbols[], - Tcl_PackageInitProc **procPtrs[], - Tcl_LoadHandle *handlePtr, - ClientData *clientDataPtr, - Tcl_FSUnloadFileProc **unloadProcPtr); -MODULE_SCOPE Tcl_Obj * TclLsetList(Tcl_Interp *interp, Tcl_Obj *listPtr, - Tcl_Obj *indexPtr, Tcl_Obj *valuePtr); -MODULE_SCOPE Tcl_Obj * TclLsetFlat(Tcl_Interp *interp, Tcl_Obj *listPtr, - int indexCount, Tcl_Obj *const indexArray[], - Tcl_Obj *valuePtr); -MODULE_SCOPE Tcl_Command TclMakeEnsemble(Tcl_Interp *interp, const char *name, - const EnsembleImplMap map[]); -MODULE_SCOPE int TclMarkList(Tcl_Interp *interp, const char *list, - const char *end, int *argcPtr, - const int **argszPtr, const char ***argvPtr); -MODULE_SCOPE int TclMergeReturnOptions(Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[], Tcl_Obj **optionsPtrPtr, - int *codePtr, int *levelPtr); -MODULE_SCOPE int TclNokia770Doubles(); -MODULE_SCOPE void TclObjVarErrMsg(Tcl_Interp *interp, Tcl_Obj *part1Ptr, - Tcl_Obj *part2Ptr, const char *operation, - const char *reason, int index); -MODULE_SCOPE int TclObjInvokeNamespace(Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[], - Tcl_Namespace *nsPtr, int flags); -MODULE_SCOPE int TclObjUnsetVar2(Tcl_Interp *interp, - Tcl_Obj *part1Ptr, Tcl_Obj *part2Ptr, int flags); -MODULE_SCOPE int TclParseBackslash(const char *src, - int numBytes, int *readPtr, char *dst); -MODULE_SCOPE int TclParseHex(const char *src, int numBytes, - Tcl_UniChar *resultPtr); -MODULE_SCOPE int TclParseNumber(Tcl_Interp *interp, Tcl_Obj *objPtr, - const char *expected, const char *bytes, - int numBytes, const char **endPtrPtr, int flags); -MODULE_SCOPE void TclParseInit(Tcl_Interp *interp, const char *string, - int numBytes, Tcl_Parse *parsePtr); -MODULE_SCOPE int TclParseAllWhiteSpace(const char *src, int numBytes); -MODULE_SCOPE int TclProcessReturn(Tcl_Interp *interp, - int code, int level, Tcl_Obj *returnOpts); -#ifndef TCL_NO_STACK_CHECK -MODULE_SCOPE int TclpGetCStackParams(int **stackBoundPtr); -#endif -MODULE_SCOPE int TclpObjLstat(Tcl_Obj *pathPtr, Tcl_StatBuf *buf); -MODULE_SCOPE Tcl_Obj * TclpTempFileName(void); -MODULE_SCOPE Tcl_Obj * TclNewFSPathObj(Tcl_Obj *dirPtr, const char *addStrRep, - int len); -MODULE_SCOPE int TclpDeleteFile(const char *path); -MODULE_SCOPE void TclpFinalizeCondition(Tcl_Condition *condPtr); -MODULE_SCOPE void TclpFinalizeMutex(Tcl_Mutex *mutexPtr); -MODULE_SCOPE void TclpFinalizePipes(void); -MODULE_SCOPE void TclpFinalizeSockets(void); -MODULE_SCOPE int TclpThreadCreate(Tcl_ThreadId *idPtr, - Tcl_ThreadCreateProc proc, ClientData clientData, - int stackSize, int flags); -MODULE_SCOPE int TclpFindVariable(const char *name, int *lengthPtr); -MODULE_SCOPE void TclpInitLibraryPath(char **valuePtr, - int *lengthPtr, Tcl_Encoding *encodingPtr); -MODULE_SCOPE void TclpInitLock(void); -MODULE_SCOPE void TclpInitPlatform(void); -MODULE_SCOPE void TclpInitUnlock(void); -MODULE_SCOPE int TclpLoadFile(Tcl_Interp *interp, Tcl_Obj *pathPtr, - const char *sym1, const char *sym2, - Tcl_PackageInitProc **proc1Ptr, - Tcl_PackageInitProc **proc2Ptr, - ClientData *clientDataPtr, - Tcl_FSUnloadFileProc **unloadProcPtr); -MODULE_SCOPE Tcl_Obj * TclpObjListVolumes(void); -MODULE_SCOPE void TclpMasterLock(void); -MODULE_SCOPE void TclpMasterUnlock(void); -MODULE_SCOPE int TclpMatchFiles(Tcl_Interp *interp, char *separators, - Tcl_DString *dirPtr, char *pattern, char *tail); -MODULE_SCOPE int TclpObjNormalizePath(Tcl_Interp *interp, - Tcl_Obj *pathPtr, int nextCheckpoint); -MODULE_SCOPE void TclpNativeJoinPath(Tcl_Obj *prefix, char *joining); -MODULE_SCOPE Tcl_Obj * TclpNativeSplitPath(Tcl_Obj *pathPtr, int *lenPtr); -MODULE_SCOPE Tcl_PathType TclpGetNativePathType(Tcl_Obj *pathPtr, - int *driveNameLengthPtr, Tcl_Obj **driveNameRef); -MODULE_SCOPE int TclCrossFilesystemCopy(Tcl_Interp *interp, - Tcl_Obj *source, Tcl_Obj *target); -MODULE_SCOPE int TclpMatchInDirectory(Tcl_Interp *interp, - Tcl_Obj *resultPtr, Tcl_Obj *pathPtr, - const char *pattern, Tcl_GlobTypeData *types); -MODULE_SCOPE ClientData TclpGetNativeCwd(ClientData clientData); -MODULE_SCOPE Tcl_FSDupInternalRepProc TclNativeDupInternalRep; -MODULE_SCOPE Tcl_Obj* TclpObjLink(Tcl_Obj *pathPtr, Tcl_Obj *toPtr, - int linkType); -MODULE_SCOPE int TclpObjChdir(Tcl_Obj *pathPtr); -MODULE_SCOPE Tcl_Obj * TclPathPart(Tcl_Interp *interp, Tcl_Obj *pathPtr, - Tcl_PathPart portion); -MODULE_SCOPE void TclpPanic(const char *format, ...); -MODULE_SCOPE char * TclpReadlink(const char *fileName, - Tcl_DString *linkPtr); -MODULE_SCOPE void TclpReleaseFile(TclFile file); -MODULE_SCOPE void TclpSetInterfaces(void); -MODULE_SCOPE void TclpSetVariables(Tcl_Interp *interp); -MODULE_SCOPE void TclpUnloadFile(Tcl_LoadHandle loadHandle); -MODULE_SCOPE void * TclpThreadDataKeyGet(Tcl_ThreadDataKey *keyPtr); -MODULE_SCOPE void TclpThreadDataKeySet(Tcl_ThreadDataKey *keyPtr, - void *data); -MODULE_SCOPE void TclpThreadExit(int status); -MODULE_SCOPE size_t TclpThreadGetStackSize(void); -MODULE_SCOPE void TclRememberCondition(Tcl_Condition *mutex); -MODULE_SCOPE void TclRememberJoinableThread(Tcl_ThreadId id); -MODULE_SCOPE void TclRememberMutex(Tcl_Mutex *mutex); -MODULE_SCOPE void TclRemoveScriptLimitCallbacks(Tcl_Interp *interp); -MODULE_SCOPE int TclReToGlob(Tcl_Interp *interp, const char *reStr, - int reStrLen, Tcl_DString *dsPtr, int *flagsPtr); -MODULE_SCOPE void TclSetBgErrorHandler(Tcl_Interp *interp, - Tcl_Obj *cmdPrefix); -MODULE_SCOPE void TclSetBignumIntRep(Tcl_Obj *objPtr, - mp_int *bignumValue); -MODULE_SCOPE void TclSetCmdNameObj(Tcl_Interp *interp, Tcl_Obj *objPtr, - Command *cmdPtr); -MODULE_SCOPE void TclSetProcessGlobalValue(ProcessGlobalValue *pgvPtr, - Tcl_Obj *newValue, Tcl_Encoding encoding); -MODULE_SCOPE void TclSignalExitThread(Tcl_ThreadId id, int result); -MODULE_SCOPE void * TclStackRealloc(Tcl_Interp *interp, void *ptr, - int numBytes); -MODULE_SCOPE int TclStringMatch(const char *str, int strLen, - const char *pattern, int ptnLen, int flags); -MODULE_SCOPE int TclStringMatchObj(Tcl_Obj *stringObj, - Tcl_Obj *patternObj, int flags); -MODULE_SCOPE Tcl_Obj * TclStringObjReverse(Tcl_Obj *objPtr); -MODULE_SCOPE int TclSubstTokens(Tcl_Interp *interp, Tcl_Token *tokenPtr, - int count, int *tokensLeftPtr, int line); -MODULE_SCOPE void TclTransferResult(Tcl_Interp *sourceInterp, int result, - Tcl_Interp *targetInterp); -MODULE_SCOPE Tcl_Obj * TclpNativeToNormalized(ClientData clientData); -MODULE_SCOPE Tcl_Obj * TclpFilesystemPathType(Tcl_Obj *pathPtr); -MODULE_SCOPE Tcl_PackageInitProc *TclpFindSymbol(Tcl_Interp *interp, - Tcl_LoadHandle loadHandle, const char *symbol); -MODULE_SCOPE int TclpDlopen(Tcl_Interp *interp, Tcl_Obj *pathPtr, - Tcl_LoadHandle *loadHandle, - Tcl_FSUnloadFileProc **unloadProcPtr); -MODULE_SCOPE int TclpUtime(Tcl_Obj *pathPtr, struct utimbuf *tval); -#ifdef TCL_LOAD_FROM_MEMORY -MODULE_SCOPE void* TclpLoadMemoryGetBuffer(Tcl_Interp *interp, int size); -MODULE_SCOPE int TclpLoadMemory(Tcl_Interp *interp, void *buffer, - int size, int codeSize, Tcl_LoadHandle *loadHandle, - Tcl_FSUnloadFileProc **unloadProcPtr); -#endif -MODULE_SCOPE void TclInitThreadStorage(void); -MODULE_SCOPE void TclpFinalizeThreadDataThread(void); -MODULE_SCOPE void TclFinalizeThreadStorage(void); -#ifdef TCL_WIDE_CLICKS -MODULE_SCOPE Tcl_WideInt TclpGetWideClicks(void); -MODULE_SCOPE double TclpWideClicksToNanoseconds(Tcl_WideInt clicks); -#endif -MODULE_SCOPE Tcl_Obj * TclDisassembleByteCodeObj(Tcl_Obj *objPtr); - -/* - *---------------------------------------------------------------- - * Command procedures in the generic core: - *---------------------------------------------------------------- - */ - -MODULE_SCOPE int Tcl_AfterObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_AppendObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ApplyObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ArrayObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_BinaryObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_BreakObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_CaseObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_CatchObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_CdObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE Tcl_Command TclInitChanCmd(Tcl_Interp *interp); -MODULE_SCOPE int TclChanCreateObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclChanPostEventObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE void TclClockInit(Tcl_Interp *interp); -MODULE_SCOPE int TclClockOldscanObjCmd( - ClientData clientData, Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_CloseObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ConcatObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ContinueObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE Tcl_TimerToken TclCreateAbsoluteTimerHandler( - Tcl_Time *timePtr, Tcl_TimerProc *proc, - ClientData clientData); -MODULE_SCOPE int TclDefaultBgErrorHandlerObjCmd( - ClientData clientData, Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE Tcl_Command TclInitDictCmd(Tcl_Interp *interp); -MODULE_SCOPE int Tcl_DisassembleObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_EncodingObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_EofObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ErrorObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_EvalObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ExecObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ExitObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ExprObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_FblockedObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_FconfigureObjCmd( - ClientData clientData, Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_FcopyObjCmd(ClientData dummy, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_FileObjCmd(ClientData dummy, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_FileEventObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_FlushObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ForObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ForeachObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_FormatObjCmd(ClientData dummy, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_GetsObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_GlobalObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_GlobObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_IfObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_IncrObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE Tcl_Command TclInitInfoCmd(Tcl_Interp *interp); -MODULE_SCOPE int Tcl_InterpObjCmd(ClientData clientData, - Tcl_Interp *interp, int argc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_JoinObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LappendObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LassignObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LindexObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LinsertObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LlengthObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ListObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LoadObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LrangeObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LrepeatObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LreplaceObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LreverseObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LsearchObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LsetObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LsortObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_NamespaceObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_OpenObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_PackageObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_PidObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_PutsObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_PwdObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ReadObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_RegexpObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_RegsubObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_RenameObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ReturnObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ScanObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_SeekObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_SetObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_SplitObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_SocketObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_SourceObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE Tcl_Command TclInitStringCmd(Tcl_Interp *interp); -MODULE_SCOPE int Tcl_SubstObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_SwitchObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_TellObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_TimeObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_TraceObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_UnloadObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_UnsetObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_UpdateObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_UplevelObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_UpvarObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_VariableObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_VwaitObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_WhileObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); - -/* - *---------------------------------------------------------------- - * Compilation procedures for commands in the generic core: - *---------------------------------------------------------------- - */ - -MODULE_SCOPE int TclCompileAppendCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileBreakCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileCatchCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileContinueCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileDictAppendCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileDictForCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileDictGetCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileDictIncrCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileDictLappendCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileDictSetCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileDictUpdateCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileEnsemble(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileExprCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileForCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileForeachCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileGlobalCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileIfCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileInfoExistsCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileIncrCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileLappendCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileLassignCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileLindexCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileListCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileLlengthCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileLsetCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileNamespaceCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileNoOp(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileRegexpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileReturnCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileSetCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileStringCmpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileStringEqualCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileStringIndexCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileStringLenCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileStringMatchCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileSwitchCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileUpvarCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileVariableCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileWhileCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); - -MODULE_SCOPE int TclInvertOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileInvertOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclNotOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileNotOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclAddOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileAddOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclMulOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileMulOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclAndOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileAndOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclOrOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileOrOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclXorOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileXorOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclPowOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompilePowOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclLshiftOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileLshiftOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclRshiftOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileRshiftOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclModOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileModOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclNeqOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileNeqOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclStrneqOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileStrneqOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclInOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileInOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclNiOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileNiOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclMinusOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileMinusOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclDivOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileDivOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclLessOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileLessOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclLeqOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileLeqOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclGreaterOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileGreaterOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclGeqOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileGeqOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclEqOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileEqOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclStreqOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileStreqOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); - -/* - * Functions defined in generic/tclVar.c and currenttly exported only for use - * by the bytecode compiler and engine. Some of these could later be placed in - * the public interface. - */ - -MODULE_SCOPE Var * TclObjLookupVarEx(Tcl_Interp * interp, - Tcl_Obj *part1Ptr, Tcl_Obj *part2Ptr, int flags, - const char * msg, const int createPart1, - const int createPart2, Var **arrayPtrPtr); -MODULE_SCOPE Var * TclLookupArrayElement(Tcl_Interp *interp, - Tcl_Obj *arrayNamePtr, Tcl_Obj *elNamePtr, - const int flags, const char *msg, - const int createPart1, const int createPart2, - Var *arrayPtr, int index); -MODULE_SCOPE Tcl_Obj * TclPtrGetVar(Tcl_Interp *interp, - Var *varPtr, Var *arrayPtr, Tcl_Obj *part1Ptr, - Tcl_Obj *part2Ptr, const int flags, int index); -MODULE_SCOPE Tcl_Obj * TclPtrSetVar(Tcl_Interp *interp, - Var *varPtr, Var *arrayPtr, Tcl_Obj *part1Ptr, - Tcl_Obj *part2Ptr, Tcl_Obj *newValuePtr, - const int flags, int index); -MODULE_SCOPE Tcl_Obj * TclPtrIncrObjVar(Tcl_Interp *interp, - Var *varPtr, Var *arrayPtr, Tcl_Obj *part1Ptr, - Tcl_Obj *part2Ptr, Tcl_Obj *incrPtr, - const int flags, int index); -MODULE_SCOPE int TclPtrObjMakeUpvar(Tcl_Interp *interp, Var *otherPtr, - Tcl_Obj *myNamePtr, int myFlags, int index); -MODULE_SCOPE void TclInvalidateNsPath(Namespace *nsPtr); - -/* - * The new extended interface to the variable traces. - */ - -MODULE_SCOPE int TclObjCallVarTraces(Interp *iPtr, Var *arrayPtr, - Var *varPtr, Tcl_Obj *part1Ptr, Tcl_Obj *part2Ptr, - int flags, int leaveErrMsg, int index); - -/* - * So tclObj.c and tclDictObj.c can share these implementations. - */ - -MODULE_SCOPE int TclCompareObjKeys(void *keyPtr, Tcl_HashEntry *hPtr); -MODULE_SCOPE void TclFreeObjEntry(Tcl_HashEntry *hPtr); -MODULE_SCOPE unsigned TclHashObjKey(Tcl_HashTable *tablePtr, void *keyPtr); - -/* - *---------------------------------------------------------------- - * Macros used by the Tcl core to create and release Tcl objects. - * TclNewObj(objPtr) creates a new object denoting an empty string. - * TclDecrRefCount(objPtr) decrements the object's reference count, and frees - * the object if its reference count is zero. These macros are inline versions - * of Tcl_NewObj() and Tcl_DecrRefCount(). Notice that the names differ in not - * having a "_" after the "Tcl". Notice also that these macros reference their - * argument more than once, so you should avoid calling them with an - * expression that is expensive to compute or has side effects. The ANSI C - * "prototypes" for these macros are: - * - * MODULE_SCOPE void TclNewObj(Tcl_Obj *objPtr); - * MODULE_SCOPE void TclDecrRefCount(Tcl_Obj *objPtr); - * - * These macros are defined in terms of two macros that depend on memory - * allocator in use: TclAllocObjStorage, TclFreeObjStorage. They are defined - * below. - *---------------------------------------------------------------- - */ - -/* - * DTrace object allocation probe macros. - */ - -#ifdef USE_DTRACE -#include "tclDTrace.h" -#define TCL_DTRACE_OBJ_CREATE(objPtr) TCL_OBJ_CREATE(objPtr) -#define TCL_DTRACE_OBJ_FREE(objPtr) TCL_OBJ_FREE(objPtr) -#else /* USE_DTRACE */ -#define TCL_DTRACE_OBJ_CREATE(objPtr) {} -#define TCL_DTRACE_OBJ_FREE(objPtr) {} -#endif /* USE_DTRACE */ - -#ifdef TCL_COMPILE_STATS -# define TclIncrObjsAllocated() \ - tclObjsAlloced++ -# define TclIncrObjsFreed() \ - tclObjsFreed++ -#else -# define TclIncrObjsAllocated() -# define TclIncrObjsFreed() -#endif /* TCL_COMPILE_STATS */ - -#ifndef TCL_MEM_DEBUG -# define TclNewObj(objPtr) \ - TclIncrObjsAllocated(); \ - TclAllocObjStorage(objPtr); \ - (objPtr)->refCount = 0; \ - (objPtr)->bytes = tclEmptyStringRep; \ - (objPtr)->length = 0; \ - (objPtr)->typePtr = NULL; \ - TCL_DTRACE_OBJ_CREATE(objPtr) - -/* - * Invalidate the string rep first so we can use the bytes value for our - * pointer chain, and signal an obj deletion (as opposed to shimmering) with - * 'length == -1'. - * Use empty 'if ; else' to handle use in unbraced outer if/else conditions - */ - -# define TclDecrRefCount(objPtr) \ - if (--(objPtr)->refCount > 0) ; else { \ - if (!(objPtr)->typePtr || !(objPtr)->typePtr->freeIntRepProc) { \ - TCL_DTRACE_OBJ_FREE(objPtr); \ - if ((objPtr)->bytes \ - && ((objPtr)->bytes != tclEmptyStringRep)) { \ - ckfree((char *) (objPtr)->bytes); \ - } \ - (objPtr)->length = -1; \ - TclFreeObjStorage(objPtr); \ - TclIncrObjsFreed(); \ - } else { \ - TclFreeObj(objPtr); \ - } \ - } - -#if defined(PURIFY) - -/* - * The PURIFY mode is like the regular mode, but instead of doing block - * Tcl_Obj allocation and keeping a freed list for efficiency, it always - * allocates and frees a single Tcl_Obj so that tools like Purify can better - * track memory leaks - */ - -# define TclAllocObjStorage(objPtr) \ - (objPtr) = (Tcl_Obj *) Tcl_Alloc(sizeof(Tcl_Obj)) - -# define TclFreeObjStorage(objPtr) \ - ckfree((char *) (objPtr)) - -#undef USE_THREAD_ALLOC -#elif defined(TCL_THREADS) && defined(USE_THREAD_ALLOC) - -/* - * The TCL_THREADS mode is like the regular mode but allocates Tcl_Obj's from - * per-thread caches. - */ - -MODULE_SCOPE Tcl_Obj * TclThreadAllocObj(void); -MODULE_SCOPE void TclThreadFreeObj(Tcl_Obj *); -MODULE_SCOPE Tcl_Mutex *TclpNewAllocMutex(void); -MODULE_SCOPE void TclFreeAllocCache(void *); -MODULE_SCOPE void * TclpGetAllocCache(void); -MODULE_SCOPE void TclpSetAllocCache(void *); -MODULE_SCOPE void TclpFreeAllocMutex(Tcl_Mutex *mutex); -MODULE_SCOPE void TclpFreeAllocCache(void *); - -# define TclAllocObjStorage(objPtr) \ - (objPtr) = TclThreadAllocObj() - -# define TclFreeObjStorage(objPtr) \ - TclThreadFreeObj((objPtr)) - -#else /* not PURIFY or USE_THREAD_ALLOC */ - -#ifdef TCL_THREADS -/* declared in tclObj.c */ -MODULE_SCOPE Tcl_Mutex tclObjMutex; -#endif - -# define TclAllocObjStorage(objPtr) \ - Tcl_MutexLock(&tclObjMutex); \ - if (tclFreeObjList == NULL) { \ - TclAllocateFreeObjects(); \ - } \ - (objPtr) = tclFreeObjList; \ - tclFreeObjList = (Tcl_Obj *) \ - tclFreeObjList->internalRep.otherValuePtr; \ - Tcl_MutexUnlock(&tclObjMutex) - -# define TclFreeObjStorage(objPtr) \ - Tcl_MutexLock(&tclObjMutex); \ - (objPtr)->internalRep.otherValuePtr = (void *) tclFreeObjList; \ - tclFreeObjList = (objPtr); \ - Tcl_MutexUnlock(&tclObjMutex) -#endif - -#else /* TCL_MEM_DEBUG */ -MODULE_SCOPE void TclDbInitNewObj(Tcl_Obj *objPtr); - -# define TclDbNewObj(objPtr, file, line) \ - TclIncrObjsAllocated(); \ - (objPtr) = (Tcl_Obj *) Tcl_DbCkalloc(sizeof(Tcl_Obj), (file), (line)); \ - TclDbInitNewObj(objPtr); \ - TCL_DTRACE_OBJ_CREATE(objPtr) - -# define TclNewObj(objPtr) \ - TclDbNewObj(objPtr, __FILE__, __LINE__); - -# define TclDecrRefCount(objPtr) \ - Tcl_DbDecrRefCount(objPtr, __FILE__, __LINE__) - -# define TclNewListObjDirect(objc, objv) \ - TclDbNewListObjDirect(objc, objv, __FILE__, __LINE__) - -#undef USE_THREAD_ALLOC -#endif /* TCL_MEM_DEBUG */ - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to set a Tcl_Obj's string representation to a - * copy of the "len" bytes starting at "bytePtr". This code works even if the - * byte array contains NULLs as long as the length is correct. Because "len" - * is referenced multiple times, it should be as simple an expression as - * possible. The ANSI C "prototype" for this macro is: - * - * MODULE_SCOPE void TclInitStringRep(Tcl_Obj *objPtr, char *bytePtr, int len); - * - * This macro should only be called on an unshared objPtr where - * objPtr->typePtr->freeIntRepProc == NULL - *---------------------------------------------------------------- - */ - -#define TclInitStringRep(objPtr, bytePtr, len) \ - if ((len) == 0) { \ - (objPtr)->bytes = tclEmptyStringRep; \ - (objPtr)->length = 0; \ - } else { \ - (objPtr)->bytes = (char *) ckalloc((unsigned) ((len) + 1)); \ - memcpy((void *) (objPtr)->bytes, (void *) (bytePtr), \ - (unsigned) (len)); \ - (objPtr)->bytes[len] = '\0'; \ - (objPtr)->length = (len); \ - } - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to get the string representation's byte array - * pointer from a Tcl_Obj. This is an inline version of Tcl_GetString(). The - * macro's expression result is the string rep's byte pointer which might be - * NULL. The bytes referenced by this pointer must not be modified by the - * caller. The ANSI C "prototype" for this macro is: - * - * MODULE_SCOPE char * TclGetString(Tcl_Obj *objPtr); - *---------------------------------------------------------------- - */ - -#define TclGetString(objPtr) \ - ((objPtr)->bytes? (objPtr)->bytes : Tcl_GetString((objPtr))) - - -#define TclGetStringFromObj(objPtr, lenPtr) \ - ((objPtr)->bytes \ - ? (*(lenPtr) = (objPtr)->length, (objPtr)->bytes) \ - : Tcl_GetStringFromObj((objPtr), (lenPtr))) - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to clean out an object's internal - * representation. Does not actually reset the rep's bytes. The ANSI C - * "prototype" for this macro is: - * - * MODULE_SCOPE void TclFreeIntRep(Tcl_Obj *objPtr); - *---------------------------------------------------------------- - */ - -#define TclFreeIntRep(objPtr) \ - if ((objPtr)->typePtr != NULL && \ - (objPtr)->typePtr->freeIntRepProc != NULL) { \ - (objPtr)->typePtr->freeIntRepProc(objPtr); \ - } - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to clean out an object's string representation. - * The ANSI C "prototype" for this macro is: - * - * MODULE_SCOPE void TclInvalidateStringRep(Tcl_Obj *objPtr); - *---------------------------------------------------------------- - */ - -#define TclInvalidateStringRep(objPtr) \ - if (objPtr->bytes != NULL) { \ - if (objPtr->bytes != tclEmptyStringRep) {\ - ckfree((char *) objPtr->bytes);\ - }\ - objPtr->bytes = NULL;\ - }\ - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core get a unicode char from a utf string. It checks - * to see if we have a one-byte utf char before calling the real - * Tcl_UtfToUniChar, as this will save a lot of time for primarily ascii - * string handling. The macro's expression result is 1 for the 1-byte case or - * the result of Tcl_UtfToUniChar. The ANSI C "prototype" for this macro is: - * - * MODULE_SCOPE int TclUtfToUniChar(const char *string, Tcl_UniChar *ch); - *---------------------------------------------------------------- - */ - -#define TclUtfToUniChar(str, chPtr) \ - ((((unsigned char) *(str)) < 0xC0) ? \ - ((*(chPtr) = (Tcl_UniChar) *(str)), 1) \ - : Tcl_UtfToUniChar(str, chPtr)) - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to compare Unicode strings. On big-endian - * systems we can use the more efficient memcmp, but this would not be - * lexically correct on little-endian systems. The ANSI C "prototype" for - * this macro is: - * - * MODULE_SCOPE int TclUniCharNcmp(const Tcl_UniChar *cs, - * const Tcl_UniChar *ct, unsigned long n); - *---------------------------------------------------------------- - */ - -#ifdef WORDS_BIGENDIAN -# define TclUniCharNcmp(cs,ct,n) memcmp((cs),(ct),(n)*sizeof(Tcl_UniChar)) -#else /* !WORDS_BIGENDIAN */ -# define TclUniCharNcmp Tcl_UniCharNcmp -#endif /* WORDS_BIGENDIAN */ - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to increment a namespace's export export epoch - * counter. The ANSI C "prototype" for this macro is: - * - * MODULE_SCOPE void TclInvalidateNsCmdLookup(Namespace *nsPtr); - *---------------------------------------------------------------- - */ - -#define TclInvalidateNsCmdLookup(nsPtr) \ - if ((nsPtr)->numExportPatterns) { \ - (nsPtr)->exportLookupEpoch++; \ - } - -/* - *---------------------------------------------------------------------- - * - * Core procedures added to libtommath for bignum manipulation. - * - *---------------------------------------------------------------------- - */ - -MODULE_SCOPE int TclTommath_Init(Tcl_Interp *interp); -MODULE_SCOPE void TclBNInitBignumFromLong(mp_int *bignum, long initVal); -MODULE_SCOPE void TclBNInitBignumFromWideInt(mp_int *bignum, - Tcl_WideInt initVal); -MODULE_SCOPE void TclBNInitBignumFromWideUInt(mp_int *bignum, - Tcl_WideUInt initVal); - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to check whether a pattern has any characters - * special to [string match]. The ANSI C "prototype" for this macro is: - * - * MODULE_SCOPE int TclMatchIsTrivial(const char *pattern); - *---------------------------------------------------------------- - */ - -#define TclMatchIsTrivial(pattern) strpbrk((pattern), "*[?\\") == NULL - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to write the string rep of a long integer to a - * character buffer. The ANSI C "prototype" for this macro is: - * - * MODULE_SCOPE int TclFormatInt(char *buf, long n); - *---------------------------------------------------------------- - */ - -#define TclFormatInt(buf, n) sprintf((buf), "%ld", (long)(n)) - -/* - *---------------------------------------------------------------- - * Macros used by the Tcl core to set a Tcl_Obj's numeric representation - * avoiding the corresponding function calls in time critical parts of the - * core. They should only be called on unshared objects. The ANSI C - * "prototypes" for these macros are: - * - * MODULE_SCOPE void TclSetIntObj(Tcl_Obj *objPtr, int intValue); - * MODULE_SCOPE void TclSetLongObj(Tcl_Obj *objPtr, long longValue); - * MODULE_SCOPE void TclSetBooleanObj(Tcl_Obj *objPtr, long boolValue); - * MODULE_SCOPE void TclSetWideIntObj(Tcl_Obj *objPtr, Tcl_WideInt w); - * MODULE_SCOPE void TclSetDoubleObj(Tcl_Obj *objPtr, double d); - *---------------------------------------------------------------- - */ - -#define TclSetIntObj(objPtr, i) \ - TclInvalidateStringRep(objPtr);\ - TclFreeIntRep(objPtr); \ - (objPtr)->internalRep.longValue = (long)(i); \ - (objPtr)->typePtr = &tclIntType - -#define TclSetLongObj(objPtr, l) \ - TclSetIntObj((objPtr), (l)) - -/* - * NOTE: There is to be no such thing as a "pure" boolean. Boolean values set - * programmatically go straight to being "int" Tcl_Obj's, with value 0 or 1. - * The only "boolean" Tcl_Obj's shall be those holding the cached boolean - * value of strings like: "yes", "no", "true", "false", "on", "off". - */ - -#define TclSetBooleanObj(objPtr, b) \ - TclSetIntObj((objPtr), ((b)? 1 : 0)); - -#ifndef NO_WIDE_TYPE -#define TclSetWideIntObj(objPtr, w) \ - TclInvalidateStringRep(objPtr);\ - TclFreeIntRep(objPtr); \ - (objPtr)->internalRep.wideValue = (Tcl_WideInt)(w); \ - (objPtr)->typePtr = &tclWideIntType -#endif - -#define TclSetDoubleObj(objPtr, d) \ - TclInvalidateStringRep(objPtr);\ - TclFreeIntRep(objPtr); \ - (objPtr)->internalRep.doubleValue = (double)(d); \ - (objPtr)->typePtr = &tclDoubleType - -/* - *---------------------------------------------------------------- - * Macros used by the Tcl core to create and initialise objects of standard - * types, avoiding the corresponding function calls in time critical parts of - * the core. The ANSI C "prototypes" for these macros are: - * - * MODULE_SCOPE void TclNewIntObj(Tcl_Obj *objPtr, int i); - * MODULE_SCOPE void TclNewLongObj(Tcl_Obj *objPtr, long l); - * MODULE_SCOPE void TclNewBooleanObj(Tcl_Obj *objPtr, int b); - * MODULE_SCOPE void TclNewWideObj(Tcl_Obj *objPtr, Tcl_WideInt w); - * MODULE_SCOPE void TclNewDoubleObj(Tcl_Obj *objPtr, double d); - * MODULE_SCOPE void TclNewStringObj(Tcl_Obj *objPtr, char *s, int len); - * MODULE_SCOPE void TclNewLiteralStringObj(Tcl_Obj*objPtr, char*sLiteral); - * - *---------------------------------------------------------------- - */ - -#ifndef TCL_MEM_DEBUG -#define TclNewIntObj(objPtr, i) \ - TclIncrObjsAllocated(); \ - TclAllocObjStorage(objPtr); \ - (objPtr)->refCount = 0; \ - (objPtr)->bytes = NULL; \ - (objPtr)->internalRep.longValue = (long)(i); \ - (objPtr)->typePtr = &tclIntType; \ - TCL_DTRACE_OBJ_CREATE(objPtr) - -#define TclNewLongObj(objPtr, l) \ - TclNewIntObj((objPtr), (l)) - -/* - * NOTE: There is to be no such thing as a "pure" boolean. - * See comment above TclSetBooleanObj macro above. - */ -#define TclNewBooleanObj(objPtr, b) \ - TclNewIntObj((objPtr), ((b)? 1 : 0)) - -#define TclNewDoubleObj(objPtr, d) \ - TclIncrObjsAllocated(); \ - TclAllocObjStorage(objPtr); \ - (objPtr)->refCount = 0; \ - (objPtr)->bytes = NULL; \ - (objPtr)->internalRep.doubleValue = (double)(d); \ - (objPtr)->typePtr = &tclDoubleType; \ - TCL_DTRACE_OBJ_CREATE(objPtr) - -#define TclNewStringObj(objPtr, s, len) \ - TclIncrObjsAllocated(); \ - TclAllocObjStorage(objPtr); \ - (objPtr)->refCount = 0; \ - TclInitStringRep((objPtr), (s), (len));\ - (objPtr)->typePtr = NULL; \ - TCL_DTRACE_OBJ_CREATE(objPtr) - -#else /* TCL_MEM_DEBUG */ -#define TclNewIntObj(objPtr, i) \ - (objPtr) = Tcl_NewIntObj(i) - -#define TclNewLongObj(objPtr, l) \ - (objPtr) = Tcl_NewLongObj(l) - -#define TclNewBooleanObj(objPtr, b) \ - (objPtr) = Tcl_NewBooleanObj(b) - -#define TclNewDoubleObj(objPtr, d) \ - (objPtr) = Tcl_NewDoubleObj(d) - -#define TclNewStringObj(objPtr, s, len) \ - (objPtr) = Tcl_NewStringObj((s), (len)) -#endif /* TCL_MEM_DEBUG */ - -/* - * The sLiteral argument *must* be a string literal; the incantation with - * sizeof(sLiteral "") will fail to compile otherwise. - */ -#define TclNewLiteralStringObj(objPtr, sLiteral) \ - TclNewStringObj((objPtr), (sLiteral), (int) (sizeof(sLiteral "") - 1)) - -/* - *---------------------------------------------------------------- - * Macros used by the Tcl core to test for some special double values. - * The ANSI C "prototypes" for these macros are: - * - * MODULE_SCOPE int TclIsInfinite(double d); - * MODULE_SCOPE int TclIsNaN(double d); - */ - -#ifdef _MSC_VER -#define TclIsInfinite(d) ( ! (_finite((d))) ) -#define TclIsNaN(d) (_isnan((d))) -#else -#define TclIsInfinite(d) ( (d) > DBL_MAX || (d) < -DBL_MAX ) -#define TclIsNaN(d) ((d) != (d)) -#endif - -/* - * ---------------------------------------------------------------------- - * Macro to use to find the offset of a field in a structure. - * Computes number of bytes from beginning of structure to a given field. - */ - -#ifdef offsetof -#define TclOffset(type, field) ((int) offsetof(type, field)) -#else -#define TclOffset(type, field) ((int) ((char *) &((type *) 0)->field)) -#endif - -/* - *---------------------------------------------------------------- - * Inline version of Tcl_GetCurrentNamespace and Tcl_GetGlobalNamespace - */ - -#define TclGetCurrentNamespace(interp) \ - (Tcl_Namespace *) ((Interp *)(interp))->varFramePtr->nsPtr - -#define TclGetGlobalNamespace(interp) \ - (Tcl_Namespace *) ((Interp *)(interp))->globalNsPtr - -/* - *---------------------------------------------------------------- - * Inline version of TclCleanupCommand; still need the function as it is in - * the internal stubs, but the core can use the macro instead. - */ - -#define TclCleanupCommandMacro(cmdPtr) \ - if (--(cmdPtr)->refCount <= 0) { \ - ckfree((char *) (cmdPtr));\ - } - -/* - *---------------------------------------------------------------- - * Inline versions of Tcl_LimitReady() and Tcl_LimitExceeded to limit number - * of calls out of the critical path. Note that this code isn't particularly - * readable; the non-inline version (in tclInterp.c) is much easier to - * understand. Note also that these macros takes different args (iPtr->limit) - * to the non-inline version. - */ - -#define TclLimitExceeded(limit) ((limit).exceeded != 0) - -#define TclLimitReady(limit) \ - (((limit).active == 0) ? 0 : \ - (++(limit).granularityTicker, \ - ((((limit).active & TCL_LIMIT_COMMANDS) && \ - (((limit).cmdGranularity == 1) || \ - ((limit).granularityTicker % (limit).cmdGranularity == 0))) \ - ? 1 : \ - (((limit).active & TCL_LIMIT_TIME) && \ - (((limit).timeGranularity == 1) || \ - ((limit).granularityTicker % (limit).timeGranularity == 0)))\ - ? 1 : 0))) - - -#include "tclPort.h" -#include "tclIntDecls.h" -#include "tclIntPlatDecls.h" -#include "tclTomMathDecls.h" - -#endif /* _TCLINT */ - -/* - * Local Variables: - * mode: c - * c-basic-offset: 4 - * fill-column: 78 - * End: - */ diff --git a/src/other/togl/include/tcltk/tk8.5/tclIntDecls.h b/src/other/togl/include/tcltk/tk8.5/tclIntDecls.h deleted file mode 100644 index 48aad4d706a..00000000000 --- a/src/other/togl/include/tcltk/tk8.5/tclIntDecls.h +++ /dev/null @@ -1,2110 +0,0 @@ -/* - * tclIntDecls.h -- - * - * This file contains the declarations for all unsupported - * functions that are exported by the Tcl library. These - * interfaces are not guaranteed to remain the same between - * versions. Use at your own risk. - * - * Copyright (c) 1998-1999 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TCLINTDECLS -#define _TCLINTDECLS - -#include "tclPort.h" - -#undef TCL_STORAGE_CLASS -#ifdef BUILD_tcl -# define TCL_STORAGE_CLASS DLLEXPORT -#else -# ifdef USE_TCL_STUBS -# define TCL_STORAGE_CLASS -# else -# define TCL_STORAGE_CLASS DLLIMPORT -# endif -#endif - -/* - * WARNING: This file is automatically generated by the tools/genStubs.tcl - * script. Any modifications to the function declarations below should be made - * in the generic/tclInt.decls script. - */ - -/* !BEGIN!: Do not edit below this line. */ - -/* - * Exported function declarations: - */ - -/* Slot 0 is reserved */ -/* Slot 1 is reserved */ -/* Slot 2 is reserved */ -#ifndef TclAllocateFreeObjects_TCL_DECLARED -#define TclAllocateFreeObjects_TCL_DECLARED -/* 3 */ -EXTERN void TclAllocateFreeObjects (void); -#endif -/* Slot 4 is reserved */ -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ -#ifndef TclCleanupChildren_TCL_DECLARED -#define TclCleanupChildren_TCL_DECLARED -/* 5 */ -EXTERN int TclCleanupChildren (Tcl_Interp * interp, int numPids, - Tcl_Pid * pidPtr, Tcl_Channel errorChan); -#endif -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ -#ifndef TclCleanupChildren_TCL_DECLARED -#define TclCleanupChildren_TCL_DECLARED -/* 5 */ -EXTERN int TclCleanupChildren (Tcl_Interp * interp, int numPids, - Tcl_Pid * pidPtr, Tcl_Channel errorChan); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ -#ifndef TclCleanupChildren_TCL_DECLARED -#define TclCleanupChildren_TCL_DECLARED -/* 5 */ -EXTERN int TclCleanupChildren (Tcl_Interp * interp, int numPids, - Tcl_Pid * pidPtr, Tcl_Channel errorChan); -#endif -#endif /* MACOSX */ -#ifndef TclCleanupCommand_TCL_DECLARED -#define TclCleanupCommand_TCL_DECLARED -/* 6 */ -EXTERN void TclCleanupCommand (Command * cmdPtr); -#endif -#ifndef TclCopyAndCollapse_TCL_DECLARED -#define TclCopyAndCollapse_TCL_DECLARED -/* 7 */ -EXTERN int TclCopyAndCollapse (int count, CONST char * src, - char * dst); -#endif -#ifndef TclCopyChannel_TCL_DECLARED -#define TclCopyChannel_TCL_DECLARED -/* 8 */ -EXTERN int TclCopyChannel (Tcl_Interp * interp, - Tcl_Channel inChan, Tcl_Channel outChan, - int toRead, Tcl_Obj * cmdPtr); -#endif -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ -#ifndef TclCreatePipeline_TCL_DECLARED -#define TclCreatePipeline_TCL_DECLARED -/* 9 */ -EXTERN int TclCreatePipeline (Tcl_Interp * interp, int argc, - CONST char ** argv, Tcl_Pid ** pidArrayPtr, - TclFile * inPipePtr, TclFile * outPipePtr, - TclFile * errFilePtr); -#endif -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ -#ifndef TclCreatePipeline_TCL_DECLARED -#define TclCreatePipeline_TCL_DECLARED -/* 9 */ -EXTERN int TclCreatePipeline (Tcl_Interp * interp, int argc, - CONST char ** argv, Tcl_Pid ** pidArrayPtr, - TclFile * inPipePtr, TclFile * outPipePtr, - TclFile * errFilePtr); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ -#ifndef TclCreatePipeline_TCL_DECLARED -#define TclCreatePipeline_TCL_DECLARED -/* 9 */ -EXTERN int TclCreatePipeline (Tcl_Interp * interp, int argc, - CONST char ** argv, Tcl_Pid ** pidArrayPtr, - TclFile * inPipePtr, TclFile * outPipePtr, - TclFile * errFilePtr); -#endif -#endif /* MACOSX */ -#ifndef TclCreateProc_TCL_DECLARED -#define TclCreateProc_TCL_DECLARED -/* 10 */ -EXTERN int TclCreateProc (Tcl_Interp * interp, - Namespace * nsPtr, CONST char * procName, - Tcl_Obj * argsPtr, Tcl_Obj * bodyPtr, - Proc ** procPtrPtr); -#endif -#ifndef TclDeleteCompiledLocalVars_TCL_DECLARED -#define TclDeleteCompiledLocalVars_TCL_DECLARED -/* 11 */ -EXTERN void TclDeleteCompiledLocalVars (Interp * iPtr, - CallFrame * framePtr); -#endif -#ifndef TclDeleteVars_TCL_DECLARED -#define TclDeleteVars_TCL_DECLARED -/* 12 */ -EXTERN void TclDeleteVars (Interp * iPtr, - TclVarHashTable * tablePtr); -#endif -/* Slot 13 is reserved */ -#ifndef TclDumpMemoryInfo_TCL_DECLARED -#define TclDumpMemoryInfo_TCL_DECLARED -/* 14 */ -EXTERN void TclDumpMemoryInfo (FILE * outFile); -#endif -/* Slot 15 is reserved */ -#ifndef TclExprFloatError_TCL_DECLARED -#define TclExprFloatError_TCL_DECLARED -/* 16 */ -EXTERN void TclExprFloatError (Tcl_Interp * interp, double value); -#endif -/* Slot 17 is reserved */ -/* Slot 18 is reserved */ -/* Slot 19 is reserved */ -/* Slot 20 is reserved */ -/* Slot 21 is reserved */ -#ifndef TclFindElement_TCL_DECLARED -#define TclFindElement_TCL_DECLARED -/* 22 */ -EXTERN int TclFindElement (Tcl_Interp * interp, - CONST char * listStr, int listLength, - CONST char ** elementPtr, - CONST char ** nextPtr, int * sizePtr, - int * bracePtr); -#endif -#ifndef TclFindProc_TCL_DECLARED -#define TclFindProc_TCL_DECLARED -/* 23 */ -EXTERN Proc * TclFindProc (Interp * iPtr, CONST char * procName); -#endif -/* Slot 24 is reserved */ -#ifndef TclFreePackageInfo_TCL_DECLARED -#define TclFreePackageInfo_TCL_DECLARED -/* 25 */ -EXTERN void TclFreePackageInfo (Interp * iPtr); -#endif -/* Slot 26 is reserved */ -/* Slot 27 is reserved */ -#ifndef TclpGetDefaultStdChannel_TCL_DECLARED -#define TclpGetDefaultStdChannel_TCL_DECLARED -/* 28 */ -EXTERN Tcl_Channel TclpGetDefaultStdChannel (int type); -#endif -/* Slot 29 is reserved */ -/* Slot 30 is reserved */ -#ifndef TclGetExtension_TCL_DECLARED -#define TclGetExtension_TCL_DECLARED -/* 31 */ -EXTERN CONST char * TclGetExtension (CONST char * name); -#endif -#ifndef TclGetFrame_TCL_DECLARED -#define TclGetFrame_TCL_DECLARED -/* 32 */ -EXTERN int TclGetFrame (Tcl_Interp * interp, CONST char * str, - CallFrame ** framePtrPtr); -#endif -/* Slot 33 is reserved */ -#ifndef TclGetIntForIndex_TCL_DECLARED -#define TclGetIntForIndex_TCL_DECLARED -/* 34 */ -EXTERN int TclGetIntForIndex (Tcl_Interp * interp, - Tcl_Obj * objPtr, int endValue, - int * indexPtr); -#endif -/* Slot 35 is reserved */ -#ifndef TclGetLong_TCL_DECLARED -#define TclGetLong_TCL_DECLARED -/* 36 */ -EXTERN int TclGetLong (Tcl_Interp * interp, CONST char * str, - long * longPtr); -#endif -#ifndef TclGetLoadedPackages_TCL_DECLARED -#define TclGetLoadedPackages_TCL_DECLARED -/* 37 */ -EXTERN int TclGetLoadedPackages (Tcl_Interp * interp, - char * targetName); -#endif -#ifndef TclGetNamespaceForQualName_TCL_DECLARED -#define TclGetNamespaceForQualName_TCL_DECLARED -/* 38 */ -EXTERN int TclGetNamespaceForQualName (Tcl_Interp * interp, - CONST char * qualName, Namespace * cxtNsPtr, - int flags, Namespace ** nsPtrPtr, - Namespace ** altNsPtrPtr, - Namespace ** actualCxtPtrPtr, - CONST char ** simpleNamePtr); -#endif -#ifndef TclGetObjInterpProc_TCL_DECLARED -#define TclGetObjInterpProc_TCL_DECLARED -/* 39 */ -EXTERN TclObjCmdProcType TclGetObjInterpProc (void); -#endif -#ifndef TclGetOpenMode_TCL_DECLARED -#define TclGetOpenMode_TCL_DECLARED -/* 40 */ -EXTERN int TclGetOpenMode (Tcl_Interp * interp, - CONST char * str, int * seekFlagPtr); -#endif -#ifndef TclGetOriginalCommand_TCL_DECLARED -#define TclGetOriginalCommand_TCL_DECLARED -/* 41 */ -EXTERN Tcl_Command TclGetOriginalCommand (Tcl_Command command); -#endif -#ifndef TclpGetUserHome_TCL_DECLARED -#define TclpGetUserHome_TCL_DECLARED -/* 42 */ -EXTERN char * TclpGetUserHome (CONST char * name, - Tcl_DString * bufferPtr); -#endif -/* Slot 43 is reserved */ -#ifndef TclGuessPackageName_TCL_DECLARED -#define TclGuessPackageName_TCL_DECLARED -/* 44 */ -EXTERN int TclGuessPackageName (CONST char * fileName, - Tcl_DString * bufPtr); -#endif -#ifndef TclHideUnsafeCommands_TCL_DECLARED -#define TclHideUnsafeCommands_TCL_DECLARED -/* 45 */ -EXTERN int TclHideUnsafeCommands (Tcl_Interp * interp); -#endif -#ifndef TclInExit_TCL_DECLARED -#define TclInExit_TCL_DECLARED -/* 46 */ -EXTERN int TclInExit (void); -#endif -/* Slot 47 is reserved */ -/* Slot 48 is reserved */ -/* Slot 49 is reserved */ -#ifndef TclInitCompiledLocals_TCL_DECLARED -#define TclInitCompiledLocals_TCL_DECLARED -/* 50 */ -EXTERN void TclInitCompiledLocals (Tcl_Interp * interp, - CallFrame * framePtr, Namespace * nsPtr); -#endif -#ifndef TclInterpInit_TCL_DECLARED -#define TclInterpInit_TCL_DECLARED -/* 51 */ -EXTERN int TclInterpInit (Tcl_Interp * interp); -#endif -/* Slot 52 is reserved */ -#ifndef TclInvokeObjectCommand_TCL_DECLARED -#define TclInvokeObjectCommand_TCL_DECLARED -/* 53 */ -EXTERN int TclInvokeObjectCommand (ClientData clientData, - Tcl_Interp * interp, int argc, - CONST84 char ** argv); -#endif -#ifndef TclInvokeStringCommand_TCL_DECLARED -#define TclInvokeStringCommand_TCL_DECLARED -/* 54 */ -EXTERN int TclInvokeStringCommand (ClientData clientData, - Tcl_Interp * interp, int objc, - Tcl_Obj *CONST objv[]); -#endif -#ifndef TclIsProc_TCL_DECLARED -#define TclIsProc_TCL_DECLARED -/* 55 */ -EXTERN Proc * TclIsProc (Command * cmdPtr); -#endif -/* Slot 56 is reserved */ -/* Slot 57 is reserved */ -#ifndef TclLookupVar_TCL_DECLARED -#define TclLookupVar_TCL_DECLARED -/* 58 */ -EXTERN Var * TclLookupVar (Tcl_Interp * interp, - CONST char * part1, CONST char * part2, - int flags, CONST char * msg, int createPart1, - int createPart2, Var ** arrayPtrPtr); -#endif -/* Slot 59 is reserved */ -#ifndef TclNeedSpace_TCL_DECLARED -#define TclNeedSpace_TCL_DECLARED -/* 60 */ -EXTERN int TclNeedSpace (CONST char * start, CONST char * end); -#endif -#ifndef TclNewProcBodyObj_TCL_DECLARED -#define TclNewProcBodyObj_TCL_DECLARED -/* 61 */ -EXTERN Tcl_Obj * TclNewProcBodyObj (Proc * procPtr); -#endif -#ifndef TclObjCommandComplete_TCL_DECLARED -#define TclObjCommandComplete_TCL_DECLARED -/* 62 */ -EXTERN int TclObjCommandComplete (Tcl_Obj * cmdPtr); -#endif -#ifndef TclObjInterpProc_TCL_DECLARED -#define TclObjInterpProc_TCL_DECLARED -/* 63 */ -EXTERN int TclObjInterpProc (ClientData clientData, - Tcl_Interp * interp, int objc, - Tcl_Obj *CONST objv[]); -#endif -#ifndef TclObjInvoke_TCL_DECLARED -#define TclObjInvoke_TCL_DECLARED -/* 64 */ -EXTERN int TclObjInvoke (Tcl_Interp * interp, int objc, - Tcl_Obj *CONST objv[], int flags); -#endif -/* Slot 65 is reserved */ -/* Slot 66 is reserved */ -/* Slot 67 is reserved */ -/* Slot 68 is reserved */ -#ifndef TclpAlloc_TCL_DECLARED -#define TclpAlloc_TCL_DECLARED -/* 69 */ -EXTERN char * TclpAlloc (unsigned int size); -#endif -/* Slot 70 is reserved */ -/* Slot 71 is reserved */ -/* Slot 72 is reserved */ -/* Slot 73 is reserved */ -#ifndef TclpFree_TCL_DECLARED -#define TclpFree_TCL_DECLARED -/* 74 */ -EXTERN void TclpFree (char * ptr); -#endif -#ifndef TclpGetClicks_TCL_DECLARED -#define TclpGetClicks_TCL_DECLARED -/* 75 */ -EXTERN unsigned long TclpGetClicks (void); -#endif -#ifndef TclpGetSeconds_TCL_DECLARED -#define TclpGetSeconds_TCL_DECLARED -/* 76 */ -EXTERN unsigned long TclpGetSeconds (void); -#endif -#ifndef TclpGetTime_TCL_DECLARED -#define TclpGetTime_TCL_DECLARED -/* 77 */ -EXTERN void TclpGetTime (Tcl_Time * time); -#endif -#ifndef TclpGetTimeZone_TCL_DECLARED -#define TclpGetTimeZone_TCL_DECLARED -/* 78 */ -EXTERN int TclpGetTimeZone (unsigned long time); -#endif -/* Slot 79 is reserved */ -/* Slot 80 is reserved */ -#ifndef TclpRealloc_TCL_DECLARED -#define TclpRealloc_TCL_DECLARED -/* 81 */ -EXTERN char * TclpRealloc (char * ptr, unsigned int size); -#endif -/* Slot 82 is reserved */ -/* Slot 83 is reserved */ -/* Slot 84 is reserved */ -/* Slot 85 is reserved */ -/* Slot 86 is reserved */ -/* Slot 87 is reserved */ -#ifndef TclPrecTraceProc_TCL_DECLARED -#define TclPrecTraceProc_TCL_DECLARED -/* 88 */ -EXTERN char * TclPrecTraceProc (ClientData clientData, - Tcl_Interp * interp, CONST char * name1, - CONST char * name2, int flags); -#endif -#ifndef TclPreventAliasLoop_TCL_DECLARED -#define TclPreventAliasLoop_TCL_DECLARED -/* 89 */ -EXTERN int TclPreventAliasLoop (Tcl_Interp * interp, - Tcl_Interp * cmdInterp, Tcl_Command cmd); -#endif -/* Slot 90 is reserved */ -#ifndef TclProcCleanupProc_TCL_DECLARED -#define TclProcCleanupProc_TCL_DECLARED -/* 91 */ -EXTERN void TclProcCleanupProc (Proc * procPtr); -#endif -#ifndef TclProcCompileProc_TCL_DECLARED -#define TclProcCompileProc_TCL_DECLARED -/* 92 */ -EXTERN int TclProcCompileProc (Tcl_Interp * interp, - Proc * procPtr, Tcl_Obj * bodyPtr, - Namespace * nsPtr, CONST char * description, - CONST char * procName); -#endif -#ifndef TclProcDeleteProc_TCL_DECLARED -#define TclProcDeleteProc_TCL_DECLARED -/* 93 */ -EXTERN void TclProcDeleteProc (ClientData clientData); -#endif -/* Slot 94 is reserved */ -/* Slot 95 is reserved */ -#ifndef TclRenameCommand_TCL_DECLARED -#define TclRenameCommand_TCL_DECLARED -/* 96 */ -EXTERN int TclRenameCommand (Tcl_Interp * interp, - CONST char * oldName, CONST char * newName); -#endif -#ifndef TclResetShadowedCmdRefs_TCL_DECLARED -#define TclResetShadowedCmdRefs_TCL_DECLARED -/* 97 */ -EXTERN void TclResetShadowedCmdRefs (Tcl_Interp * interp, - Command * newCmdPtr); -#endif -#ifndef TclServiceIdle_TCL_DECLARED -#define TclServiceIdle_TCL_DECLARED -/* 98 */ -EXTERN int TclServiceIdle (void); -#endif -/* Slot 99 is reserved */ -/* Slot 100 is reserved */ -#ifndef TclSetPreInitScript_TCL_DECLARED -#define TclSetPreInitScript_TCL_DECLARED -/* 101 */ -EXTERN char * TclSetPreInitScript (char * string); -#endif -#ifndef TclSetupEnv_TCL_DECLARED -#define TclSetupEnv_TCL_DECLARED -/* 102 */ -EXTERN void TclSetupEnv (Tcl_Interp * interp); -#endif -#ifndef TclSockGetPort_TCL_DECLARED -#define TclSockGetPort_TCL_DECLARED -/* 103 */ -EXTERN int TclSockGetPort (Tcl_Interp * interp, - CONST char * str, CONST char * proto, - int * portPtr); -#endif -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ -#ifndef TclSockMinimumBuffers_TCL_DECLARED -#define TclSockMinimumBuffers_TCL_DECLARED -/* 104 */ -EXTERN int TclSockMinimumBuffers (int sock, int size); -#endif -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ -#ifndef TclSockMinimumBuffers_TCL_DECLARED -#define TclSockMinimumBuffers_TCL_DECLARED -/* 104 */ -EXTERN int TclSockMinimumBuffers (int sock, int size); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ -#ifndef TclSockMinimumBuffers_TCL_DECLARED -#define TclSockMinimumBuffers_TCL_DECLARED -/* 104 */ -EXTERN int TclSockMinimumBuffers (int sock, int size); -#endif -#endif /* MACOSX */ -/* Slot 105 is reserved */ -/* Slot 106 is reserved */ -/* Slot 107 is reserved */ -#ifndef TclTeardownNamespace_TCL_DECLARED -#define TclTeardownNamespace_TCL_DECLARED -/* 108 */ -EXTERN void TclTeardownNamespace (Namespace * nsPtr); -#endif -#ifndef TclUpdateReturnInfo_TCL_DECLARED -#define TclUpdateReturnInfo_TCL_DECLARED -/* 109 */ -EXTERN int TclUpdateReturnInfo (Interp * iPtr); -#endif -/* Slot 110 is reserved */ -#ifndef Tcl_AddInterpResolvers_TCL_DECLARED -#define Tcl_AddInterpResolvers_TCL_DECLARED -/* 111 */ -EXTERN void Tcl_AddInterpResolvers (Tcl_Interp * interp, - CONST char * name, - Tcl_ResolveCmdProc * cmdProc, - Tcl_ResolveVarProc * varProc, - Tcl_ResolveCompiledVarProc * compiledVarProc); -#endif -#ifndef Tcl_AppendExportList_TCL_DECLARED -#define Tcl_AppendExportList_TCL_DECLARED -/* 112 */ -EXTERN int Tcl_AppendExportList (Tcl_Interp * interp, - Tcl_Namespace * nsPtr, Tcl_Obj * objPtr); -#endif -#ifndef Tcl_CreateNamespace_TCL_DECLARED -#define Tcl_CreateNamespace_TCL_DECLARED -/* 113 */ -EXTERN Tcl_Namespace * Tcl_CreateNamespace (Tcl_Interp * interp, - CONST char * name, ClientData clientData, - Tcl_NamespaceDeleteProc * deleteProc); -#endif -#ifndef Tcl_DeleteNamespace_TCL_DECLARED -#define Tcl_DeleteNamespace_TCL_DECLARED -/* 114 */ -EXTERN void Tcl_DeleteNamespace (Tcl_Namespace * nsPtr); -#endif -#ifndef Tcl_Export_TCL_DECLARED -#define Tcl_Export_TCL_DECLARED -/* 115 */ -EXTERN int Tcl_Export (Tcl_Interp * interp, - Tcl_Namespace * nsPtr, CONST char * pattern, - int resetListFirst); -#endif -#ifndef Tcl_FindCommand_TCL_DECLARED -#define Tcl_FindCommand_TCL_DECLARED -/* 116 */ -EXTERN Tcl_Command Tcl_FindCommand (Tcl_Interp * interp, - CONST char * name, - Tcl_Namespace * contextNsPtr, int flags); -#endif -#ifndef Tcl_FindNamespace_TCL_DECLARED -#define Tcl_FindNamespace_TCL_DECLARED -/* 117 */ -EXTERN Tcl_Namespace * Tcl_FindNamespace (Tcl_Interp * interp, - CONST char * name, - Tcl_Namespace * contextNsPtr, int flags); -#endif -#ifndef Tcl_GetInterpResolvers_TCL_DECLARED -#define Tcl_GetInterpResolvers_TCL_DECLARED -/* 118 */ -EXTERN int Tcl_GetInterpResolvers (Tcl_Interp * interp, - CONST char * name, - Tcl_ResolverInfo * resInfo); -#endif -#ifndef Tcl_GetNamespaceResolvers_TCL_DECLARED -#define Tcl_GetNamespaceResolvers_TCL_DECLARED -/* 119 */ -EXTERN int Tcl_GetNamespaceResolvers ( - Tcl_Namespace * namespacePtr, - Tcl_ResolverInfo * resInfo); -#endif -#ifndef Tcl_FindNamespaceVar_TCL_DECLARED -#define Tcl_FindNamespaceVar_TCL_DECLARED -/* 120 */ -EXTERN Tcl_Var Tcl_FindNamespaceVar (Tcl_Interp * interp, - CONST char * name, - Tcl_Namespace * contextNsPtr, int flags); -#endif -#ifndef Tcl_ForgetImport_TCL_DECLARED -#define Tcl_ForgetImport_TCL_DECLARED -/* 121 */ -EXTERN int Tcl_ForgetImport (Tcl_Interp * interp, - Tcl_Namespace * nsPtr, CONST char * pattern); -#endif -#ifndef Tcl_GetCommandFromObj_TCL_DECLARED -#define Tcl_GetCommandFromObj_TCL_DECLARED -/* 122 */ -EXTERN Tcl_Command Tcl_GetCommandFromObj (Tcl_Interp * interp, - Tcl_Obj * objPtr); -#endif -#ifndef Tcl_GetCommandFullName_TCL_DECLARED -#define Tcl_GetCommandFullName_TCL_DECLARED -/* 123 */ -EXTERN void Tcl_GetCommandFullName (Tcl_Interp * interp, - Tcl_Command command, Tcl_Obj * objPtr); -#endif -#ifndef Tcl_GetCurrentNamespace_TCL_DECLARED -#define Tcl_GetCurrentNamespace_TCL_DECLARED -/* 124 */ -EXTERN Tcl_Namespace * Tcl_GetCurrentNamespace (Tcl_Interp * interp); -#endif -#ifndef Tcl_GetGlobalNamespace_TCL_DECLARED -#define Tcl_GetGlobalNamespace_TCL_DECLARED -/* 125 */ -EXTERN Tcl_Namespace * Tcl_GetGlobalNamespace (Tcl_Interp * interp); -#endif -#ifndef Tcl_GetVariableFullName_TCL_DECLARED -#define Tcl_GetVariableFullName_TCL_DECLARED -/* 126 */ -EXTERN void Tcl_GetVariableFullName (Tcl_Interp * interp, - Tcl_Var variable, Tcl_Obj * objPtr); -#endif -#ifndef Tcl_Import_TCL_DECLARED -#define Tcl_Import_TCL_DECLARED -/* 127 */ -EXTERN int Tcl_Import (Tcl_Interp * interp, - Tcl_Namespace * nsPtr, CONST char * pattern, - int allowOverwrite); -#endif -#ifndef Tcl_PopCallFrame_TCL_DECLARED -#define Tcl_PopCallFrame_TCL_DECLARED -/* 128 */ -EXTERN void Tcl_PopCallFrame (Tcl_Interp * interp); -#endif -#ifndef Tcl_PushCallFrame_TCL_DECLARED -#define Tcl_PushCallFrame_TCL_DECLARED -/* 129 */ -EXTERN int Tcl_PushCallFrame (Tcl_Interp * interp, - Tcl_CallFrame * framePtr, - Tcl_Namespace * nsPtr, int isProcCallFrame); -#endif -#ifndef Tcl_RemoveInterpResolvers_TCL_DECLARED -#define Tcl_RemoveInterpResolvers_TCL_DECLARED -/* 130 */ -EXTERN int Tcl_RemoveInterpResolvers (Tcl_Interp * interp, - CONST char * name); -#endif -#ifndef Tcl_SetNamespaceResolvers_TCL_DECLARED -#define Tcl_SetNamespaceResolvers_TCL_DECLARED -/* 131 */ -EXTERN void Tcl_SetNamespaceResolvers ( - Tcl_Namespace * namespacePtr, - Tcl_ResolveCmdProc * cmdProc, - Tcl_ResolveVarProc * varProc, - Tcl_ResolveCompiledVarProc * compiledVarProc); -#endif -#ifndef TclpHasSockets_TCL_DECLARED -#define TclpHasSockets_TCL_DECLARED -/* 132 */ -EXTERN int TclpHasSockets (Tcl_Interp * interp); -#endif -#ifndef TclpGetDate_TCL_DECLARED -#define TclpGetDate_TCL_DECLARED -/* 133 */ -EXTERN struct tm * TclpGetDate (CONST time_t * time, int useGMT); -#endif -/* Slot 134 is reserved */ -/* Slot 135 is reserved */ -/* Slot 136 is reserved */ -/* Slot 137 is reserved */ -#ifndef TclGetEnv_TCL_DECLARED -#define TclGetEnv_TCL_DECLARED -/* 138 */ -EXTERN CONST84_RETURN char * TclGetEnv (CONST char * name, - Tcl_DString * valuePtr); -#endif -/* Slot 139 is reserved */ -/* Slot 140 is reserved */ -#ifndef TclpGetCwd_TCL_DECLARED -#define TclpGetCwd_TCL_DECLARED -/* 141 */ -EXTERN CONST84_RETURN char * TclpGetCwd (Tcl_Interp * interp, - Tcl_DString * cwdPtr); -#endif -#ifndef TclSetByteCodeFromAny_TCL_DECLARED -#define TclSetByteCodeFromAny_TCL_DECLARED -/* 142 */ -EXTERN int TclSetByteCodeFromAny (Tcl_Interp * interp, - Tcl_Obj * objPtr, CompileHookProc * hookProc, - ClientData clientData); -#endif -#ifndef TclAddLiteralObj_TCL_DECLARED -#define TclAddLiteralObj_TCL_DECLARED -/* 143 */ -EXTERN int TclAddLiteralObj (struct CompileEnv * envPtr, - Tcl_Obj * objPtr, LiteralEntry ** litPtrPtr); -#endif -#ifndef TclHideLiteral_TCL_DECLARED -#define TclHideLiteral_TCL_DECLARED -/* 144 */ -EXTERN void TclHideLiteral (Tcl_Interp * interp, - struct CompileEnv * envPtr, int index); -#endif -#ifndef TclGetAuxDataType_TCL_DECLARED -#define TclGetAuxDataType_TCL_DECLARED -/* 145 */ -EXTERN struct AuxDataType * TclGetAuxDataType (char * typeName); -#endif -#ifndef TclHandleCreate_TCL_DECLARED -#define TclHandleCreate_TCL_DECLARED -/* 146 */ -EXTERN TclHandle TclHandleCreate (VOID * ptr); -#endif -#ifndef TclHandleFree_TCL_DECLARED -#define TclHandleFree_TCL_DECLARED -/* 147 */ -EXTERN void TclHandleFree (TclHandle handle); -#endif -#ifndef TclHandlePreserve_TCL_DECLARED -#define TclHandlePreserve_TCL_DECLARED -/* 148 */ -EXTERN TclHandle TclHandlePreserve (TclHandle handle); -#endif -#ifndef TclHandleRelease_TCL_DECLARED -#define TclHandleRelease_TCL_DECLARED -/* 149 */ -EXTERN void TclHandleRelease (TclHandle handle); -#endif -#ifndef TclRegAbout_TCL_DECLARED -#define TclRegAbout_TCL_DECLARED -/* 150 */ -EXTERN int TclRegAbout (Tcl_Interp * interp, Tcl_RegExp re); -#endif -#ifndef TclRegExpRangeUniChar_TCL_DECLARED -#define TclRegExpRangeUniChar_TCL_DECLARED -/* 151 */ -EXTERN void TclRegExpRangeUniChar (Tcl_RegExp re, int index, - int * startPtr, int * endPtr); -#endif -#ifndef TclSetLibraryPath_TCL_DECLARED -#define TclSetLibraryPath_TCL_DECLARED -/* 152 */ -EXTERN void TclSetLibraryPath (Tcl_Obj * pathPtr); -#endif -#ifndef TclGetLibraryPath_TCL_DECLARED -#define TclGetLibraryPath_TCL_DECLARED -/* 153 */ -EXTERN Tcl_Obj * TclGetLibraryPath (void); -#endif -/* Slot 154 is reserved */ -/* Slot 155 is reserved */ -#ifndef TclRegError_TCL_DECLARED -#define TclRegError_TCL_DECLARED -/* 156 */ -EXTERN void TclRegError (Tcl_Interp * interp, CONST char * msg, - int status); -#endif -#ifndef TclVarTraceExists_TCL_DECLARED -#define TclVarTraceExists_TCL_DECLARED -/* 157 */ -EXTERN Var * TclVarTraceExists (Tcl_Interp * interp, - CONST char * varName); -#endif -#ifndef TclSetStartupScriptFileName_TCL_DECLARED -#define TclSetStartupScriptFileName_TCL_DECLARED -/* 158 */ -EXTERN void TclSetStartupScriptFileName (CONST char * filename); -#endif -#ifndef TclGetStartupScriptFileName_TCL_DECLARED -#define TclGetStartupScriptFileName_TCL_DECLARED -/* 159 */ -EXTERN CONST84_RETURN char * TclGetStartupScriptFileName (void); -#endif -/* Slot 160 is reserved */ -#ifndef TclChannelTransform_TCL_DECLARED -#define TclChannelTransform_TCL_DECLARED -/* 161 */ -EXTERN int TclChannelTransform (Tcl_Interp * interp, - Tcl_Channel chan, Tcl_Obj * cmdObjPtr); -#endif -#ifndef TclChannelEventScriptInvoker_TCL_DECLARED -#define TclChannelEventScriptInvoker_TCL_DECLARED -/* 162 */ -EXTERN void TclChannelEventScriptInvoker (ClientData clientData, - int flags); -#endif -#ifndef TclGetInstructionTable_TCL_DECLARED -#define TclGetInstructionTable_TCL_DECLARED -/* 163 */ -EXTERN void * TclGetInstructionTable (void); -#endif -#ifndef TclExpandCodeArray_TCL_DECLARED -#define TclExpandCodeArray_TCL_DECLARED -/* 164 */ -EXTERN void TclExpandCodeArray (void * envPtr); -#endif -#ifndef TclpSetInitialEncodings_TCL_DECLARED -#define TclpSetInitialEncodings_TCL_DECLARED -/* 165 */ -EXTERN void TclpSetInitialEncodings (void); -#endif -#ifndef TclListObjSetElement_TCL_DECLARED -#define TclListObjSetElement_TCL_DECLARED -/* 166 */ -EXTERN int TclListObjSetElement (Tcl_Interp * interp, - Tcl_Obj * listPtr, int index, - Tcl_Obj * valuePtr); -#endif -#ifndef TclSetStartupScriptPath_TCL_DECLARED -#define TclSetStartupScriptPath_TCL_DECLARED -/* 167 */ -EXTERN void TclSetStartupScriptPath (Tcl_Obj * pathPtr); -#endif -#ifndef TclGetStartupScriptPath_TCL_DECLARED -#define TclGetStartupScriptPath_TCL_DECLARED -/* 168 */ -EXTERN Tcl_Obj * TclGetStartupScriptPath (void); -#endif -#ifndef TclpUtfNcmp2_TCL_DECLARED -#define TclpUtfNcmp2_TCL_DECLARED -/* 169 */ -EXTERN int TclpUtfNcmp2 (CONST char * s1, CONST char * s2, - unsigned long n); -#endif -#ifndef TclCheckInterpTraces_TCL_DECLARED -#define TclCheckInterpTraces_TCL_DECLARED -/* 170 */ -EXTERN int TclCheckInterpTraces (Tcl_Interp * interp, - CONST char * command, int numChars, - Command * cmdPtr, int result, int traceFlags, - int objc, Tcl_Obj *CONST objv[]); -#endif -#ifndef TclCheckExecutionTraces_TCL_DECLARED -#define TclCheckExecutionTraces_TCL_DECLARED -/* 171 */ -EXTERN int TclCheckExecutionTraces (Tcl_Interp * interp, - CONST char * command, int numChars, - Command * cmdPtr, int result, int traceFlags, - int objc, Tcl_Obj *CONST objv[]); -#endif -#ifndef TclInThreadExit_TCL_DECLARED -#define TclInThreadExit_TCL_DECLARED -/* 172 */ -EXTERN int TclInThreadExit (void); -#endif -#ifndef TclUniCharMatch_TCL_DECLARED -#define TclUniCharMatch_TCL_DECLARED -/* 173 */ -EXTERN int TclUniCharMatch (CONST Tcl_UniChar * string, - int strLen, CONST Tcl_UniChar * pattern, - int ptnLen, int flags); -#endif -/* Slot 174 is reserved */ -#ifndef TclCallVarTraces_TCL_DECLARED -#define TclCallVarTraces_TCL_DECLARED -/* 175 */ -EXTERN int TclCallVarTraces (Interp * iPtr, Var * arrayPtr, - Var * varPtr, CONST char * part1, - CONST char * part2, int flags, - int leaveErrMsg); -#endif -#ifndef TclCleanupVar_TCL_DECLARED -#define TclCleanupVar_TCL_DECLARED -/* 176 */ -EXTERN void TclCleanupVar (Var * varPtr, Var * arrayPtr); -#endif -#ifndef TclVarErrMsg_TCL_DECLARED -#define TclVarErrMsg_TCL_DECLARED -/* 177 */ -EXTERN void TclVarErrMsg (Tcl_Interp * interp, - CONST char * part1, CONST char * part2, - CONST char * operation, CONST char * reason); -#endif -#ifndef Tcl_SetStartupScript_TCL_DECLARED -#define Tcl_SetStartupScript_TCL_DECLARED -/* 178 */ -EXTERN void Tcl_SetStartupScript (Tcl_Obj * pathPtr, - CONST char* encodingName); -#endif -#ifndef Tcl_GetStartupScript_TCL_DECLARED -#define Tcl_GetStartupScript_TCL_DECLARED -/* 179 */ -EXTERN Tcl_Obj * Tcl_GetStartupScript (CONST char ** encodingNamePtr); -#endif -/* Slot 180 is reserved */ -/* Slot 181 is reserved */ -#ifndef TclpLocaltime_TCL_DECLARED -#define TclpLocaltime_TCL_DECLARED -/* 182 */ -EXTERN struct tm * TclpLocaltime (CONST time_t * clock); -#endif -#ifndef TclpGmtime_TCL_DECLARED -#define TclpGmtime_TCL_DECLARED -/* 183 */ -EXTERN struct tm * TclpGmtime (CONST time_t * clock); -#endif -/* Slot 184 is reserved */ -/* Slot 185 is reserved */ -/* Slot 186 is reserved */ -/* Slot 187 is reserved */ -/* Slot 188 is reserved */ -/* Slot 189 is reserved */ -/* Slot 190 is reserved */ -/* Slot 191 is reserved */ -/* Slot 192 is reserved */ -/* Slot 193 is reserved */ -/* Slot 194 is reserved */ -/* Slot 195 is reserved */ -/* Slot 196 is reserved */ -#ifndef TclCompEvalObj_TCL_DECLARED -#define TclCompEvalObj_TCL_DECLARED -/* 197 */ -EXTERN int TclCompEvalObj (Tcl_Interp * interp, - Tcl_Obj * objPtr, CONST CmdFrame* invoker, - int word); -#endif -#ifndef TclObjGetFrame_TCL_DECLARED -#define TclObjGetFrame_TCL_DECLARED -/* 198 */ -EXTERN int TclObjGetFrame (Tcl_Interp * interp, - Tcl_Obj * objPtr, CallFrame ** framePtrPtr); -#endif -/* Slot 199 is reserved */ -#ifndef TclpObjRemoveDirectory_TCL_DECLARED -#define TclpObjRemoveDirectory_TCL_DECLARED -/* 200 */ -EXTERN int TclpObjRemoveDirectory (Tcl_Obj * pathPtr, - int recursive, Tcl_Obj ** errorPtr); -#endif -#ifndef TclpObjCopyDirectory_TCL_DECLARED -#define TclpObjCopyDirectory_TCL_DECLARED -/* 201 */ -EXTERN int TclpObjCopyDirectory (Tcl_Obj * srcPathPtr, - Tcl_Obj * destPathPtr, Tcl_Obj ** errorPtr); -#endif -#ifndef TclpObjCreateDirectory_TCL_DECLARED -#define TclpObjCreateDirectory_TCL_DECLARED -/* 202 */ -EXTERN int TclpObjCreateDirectory (Tcl_Obj * pathPtr); -#endif -#ifndef TclpObjDeleteFile_TCL_DECLARED -#define TclpObjDeleteFile_TCL_DECLARED -/* 203 */ -EXTERN int TclpObjDeleteFile (Tcl_Obj * pathPtr); -#endif -#ifndef TclpObjCopyFile_TCL_DECLARED -#define TclpObjCopyFile_TCL_DECLARED -/* 204 */ -EXTERN int TclpObjCopyFile (Tcl_Obj * srcPathPtr, - Tcl_Obj * destPathPtr); -#endif -#ifndef TclpObjRenameFile_TCL_DECLARED -#define TclpObjRenameFile_TCL_DECLARED -/* 205 */ -EXTERN int TclpObjRenameFile (Tcl_Obj * srcPathPtr, - Tcl_Obj * destPathPtr); -#endif -#ifndef TclpObjStat_TCL_DECLARED -#define TclpObjStat_TCL_DECLARED -/* 206 */ -EXTERN int TclpObjStat (Tcl_Obj * pathPtr, Tcl_StatBuf * buf); -#endif -#ifndef TclpObjAccess_TCL_DECLARED -#define TclpObjAccess_TCL_DECLARED -/* 207 */ -EXTERN int TclpObjAccess (Tcl_Obj * pathPtr, int mode); -#endif -#ifndef TclpOpenFileChannel_TCL_DECLARED -#define TclpOpenFileChannel_TCL_DECLARED -/* 208 */ -EXTERN Tcl_Channel TclpOpenFileChannel (Tcl_Interp * interp, - Tcl_Obj * pathPtr, int mode, int permissions); -#endif -/* Slot 209 is reserved */ -/* Slot 210 is reserved */ -/* Slot 211 is reserved */ -#ifndef TclpFindExecutable_TCL_DECLARED -#define TclpFindExecutable_TCL_DECLARED -/* 212 */ -EXTERN void TclpFindExecutable (CONST char * argv0); -#endif -#ifndef TclGetObjNameOfExecutable_TCL_DECLARED -#define TclGetObjNameOfExecutable_TCL_DECLARED -/* 213 */ -EXTERN Tcl_Obj * TclGetObjNameOfExecutable (void); -#endif -#ifndef TclSetObjNameOfExecutable_TCL_DECLARED -#define TclSetObjNameOfExecutable_TCL_DECLARED -/* 214 */ -EXTERN void TclSetObjNameOfExecutable (Tcl_Obj * name, - Tcl_Encoding encoding); -#endif -#ifndef TclStackAlloc_TCL_DECLARED -#define TclStackAlloc_TCL_DECLARED -/* 215 */ -EXTERN void * TclStackAlloc (Tcl_Interp * interp, int numBytes); -#endif -#ifndef TclStackFree_TCL_DECLARED -#define TclStackFree_TCL_DECLARED -/* 216 */ -EXTERN void TclStackFree (Tcl_Interp * interp, void * freePtr); -#endif -#ifndef TclPushStackFrame_TCL_DECLARED -#define TclPushStackFrame_TCL_DECLARED -/* 217 */ -EXTERN int TclPushStackFrame (Tcl_Interp * interp, - Tcl_CallFrame ** framePtrPtr, - Tcl_Namespace * namespacePtr, - int isProcCallFrame); -#endif -#ifndef TclPopStackFrame_TCL_DECLARED -#define TclPopStackFrame_TCL_DECLARED -/* 218 */ -EXTERN void TclPopStackFrame (Tcl_Interp * interp); -#endif -/* Slot 219 is reserved */ -/* Slot 220 is reserved */ -/* Slot 221 is reserved */ -/* Slot 222 is reserved */ -/* Slot 223 is reserved */ -#ifndef TclGetPlatform_TCL_DECLARED -#define TclGetPlatform_TCL_DECLARED -/* 224 */ -EXTERN TclPlatformType * TclGetPlatform (void); -#endif -#ifndef TclTraceDictPath_TCL_DECLARED -#define TclTraceDictPath_TCL_DECLARED -/* 225 */ -EXTERN Tcl_Obj * TclTraceDictPath (Tcl_Interp * interp, - Tcl_Obj * rootPtr, int keyc, - Tcl_Obj *CONST keyv[], int flags); -#endif -#ifndef TclObjBeingDeleted_TCL_DECLARED -#define TclObjBeingDeleted_TCL_DECLARED -/* 226 */ -EXTERN int TclObjBeingDeleted (Tcl_Obj * objPtr); -#endif -#ifndef TclSetNsPath_TCL_DECLARED -#define TclSetNsPath_TCL_DECLARED -/* 227 */ -EXTERN void TclSetNsPath (Namespace * nsPtr, int pathLength, - Tcl_Namespace * pathAry[]); -#endif -#ifndef TclObjInterpProcCore_TCL_DECLARED -#define TclObjInterpProcCore_TCL_DECLARED -/* 228 */ -EXTERN int TclObjInterpProcCore (register Tcl_Interp * interp, - Tcl_Obj * procNameObj, int skip, - ProcErrorProc errorProc); -#endif -#ifndef TclPtrMakeUpvar_TCL_DECLARED -#define TclPtrMakeUpvar_TCL_DECLARED -/* 229 */ -EXTERN int TclPtrMakeUpvar (Tcl_Interp * interp, - Var * otherP1Ptr, CONST char * myName, - int myFlags, int index); -#endif -#ifndef TclObjLookupVar_TCL_DECLARED -#define TclObjLookupVar_TCL_DECLARED -/* 230 */ -EXTERN Var * TclObjLookupVar (Tcl_Interp * interp, - Tcl_Obj * part1Ptr, CONST char * part2, - int flags, CONST char * msg, - CONST int createPart1, CONST int createPart2, - Var ** arrayPtrPtr); -#endif -#ifndef TclGetNamespaceFromObj_TCL_DECLARED -#define TclGetNamespaceFromObj_TCL_DECLARED -/* 231 */ -EXTERN int TclGetNamespaceFromObj (Tcl_Interp * interp, - Tcl_Obj * objPtr, Tcl_Namespace ** nsPtrPtr); -#endif -#ifndef TclEvalObjEx_TCL_DECLARED -#define TclEvalObjEx_TCL_DECLARED -/* 232 */ -EXTERN int TclEvalObjEx (Tcl_Interp * interp, Tcl_Obj * objPtr, - int flags, const CmdFrame * invoker, - int word); -#endif -#ifndef TclGetSrcInfoForPc_TCL_DECLARED -#define TclGetSrcInfoForPc_TCL_DECLARED -/* 233 */ -EXTERN void TclGetSrcInfoForPc (CmdFrame * contextPtr); -#endif -#ifndef TclVarHashCreateVar_TCL_DECLARED -#define TclVarHashCreateVar_TCL_DECLARED -/* 234 */ -EXTERN Var * TclVarHashCreateVar (TclVarHashTable * tablePtr, - const char * key, int * newPtr); -#endif -#ifndef TclInitVarHashTable_TCL_DECLARED -#define TclInitVarHashTable_TCL_DECLARED -/* 235 */ -EXTERN void TclInitVarHashTable (TclVarHashTable * tablePtr, - Namespace * nsPtr); -#endif -#ifndef TclBackgroundException_TCL_DECLARED -#define TclBackgroundException_TCL_DECLARED -/* 236 */ -EXTERN void TclBackgroundException (Tcl_Interp * interp, - int code); -#endif - -typedef struct TclIntStubs { - int magic; - struct TclIntStubHooks *hooks; - - void *reserved0; - void *reserved1; - void *reserved2; - void (*tclAllocateFreeObjects) (void); /* 3 */ - void *reserved4; -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ - int (*tclCleanupChildren) (Tcl_Interp * interp, int numPids, Tcl_Pid * pidPtr, Tcl_Channel errorChan); /* 5 */ -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ - int (*tclCleanupChildren) (Tcl_Interp * interp, int numPids, Tcl_Pid * pidPtr, Tcl_Channel errorChan); /* 5 */ -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ - int (*tclCleanupChildren) (Tcl_Interp * interp, int numPids, Tcl_Pid * pidPtr, Tcl_Channel errorChan); /* 5 */ -#endif /* MACOSX */ - void (*tclCleanupCommand) (Command * cmdPtr); /* 6 */ - int (*tclCopyAndCollapse) (int count, CONST char * src, char * dst); /* 7 */ - int (*tclCopyChannel) (Tcl_Interp * interp, Tcl_Channel inChan, Tcl_Channel outChan, int toRead, Tcl_Obj * cmdPtr); /* 8 */ -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ - int (*tclCreatePipeline) (Tcl_Interp * interp, int argc, CONST char ** argv, Tcl_Pid ** pidArrayPtr, TclFile * inPipePtr, TclFile * outPipePtr, TclFile * errFilePtr); /* 9 */ -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ - int (*tclCreatePipeline) (Tcl_Interp * interp, int argc, CONST char ** argv, Tcl_Pid ** pidArrayPtr, TclFile * inPipePtr, TclFile * outPipePtr, TclFile * errFilePtr); /* 9 */ -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ - int (*tclCreatePipeline) (Tcl_Interp * interp, int argc, CONST char ** argv, Tcl_Pid ** pidArrayPtr, TclFile * inPipePtr, TclFile * outPipePtr, TclFile * errFilePtr); /* 9 */ -#endif /* MACOSX */ - int (*tclCreateProc) (Tcl_Interp * interp, Namespace * nsPtr, CONST char * procName, Tcl_Obj * argsPtr, Tcl_Obj * bodyPtr, Proc ** procPtrPtr); /* 10 */ - void (*tclDeleteCompiledLocalVars) (Interp * iPtr, CallFrame * framePtr); /* 11 */ - void (*tclDeleteVars) (Interp * iPtr, TclVarHashTable * tablePtr); /* 12 */ - void *reserved13; - void (*tclDumpMemoryInfo) (FILE * outFile); /* 14 */ - void *reserved15; - void (*tclExprFloatError) (Tcl_Interp * interp, double value); /* 16 */ - void *reserved17; - void *reserved18; - void *reserved19; - void *reserved20; - void *reserved21; - int (*tclFindElement) (Tcl_Interp * interp, CONST char * listStr, int listLength, CONST char ** elementPtr, CONST char ** nextPtr, int * sizePtr, int * bracePtr); /* 22 */ - Proc * (*tclFindProc) (Interp * iPtr, CONST char * procName); /* 23 */ - void *reserved24; - void (*tclFreePackageInfo) (Interp * iPtr); /* 25 */ - void *reserved26; - void *reserved27; - Tcl_Channel (*tclpGetDefaultStdChannel) (int type); /* 28 */ - void *reserved29; - void *reserved30; - CONST char * (*tclGetExtension) (CONST char * name); /* 31 */ - int (*tclGetFrame) (Tcl_Interp * interp, CONST char * str, CallFrame ** framePtrPtr); /* 32 */ - void *reserved33; - int (*tclGetIntForIndex) (Tcl_Interp * interp, Tcl_Obj * objPtr, int endValue, int * indexPtr); /* 34 */ - void *reserved35; - int (*tclGetLong) (Tcl_Interp * interp, CONST char * str, long * longPtr); /* 36 */ - int (*tclGetLoadedPackages) (Tcl_Interp * interp, char * targetName); /* 37 */ - int (*tclGetNamespaceForQualName) (Tcl_Interp * interp, CONST char * qualName, Namespace * cxtNsPtr, int flags, Namespace ** nsPtrPtr, Namespace ** altNsPtrPtr, Namespace ** actualCxtPtrPtr, CONST char ** simpleNamePtr); /* 38 */ - TclObjCmdProcType (*tclGetObjInterpProc) (void); /* 39 */ - int (*tclGetOpenMode) (Tcl_Interp * interp, CONST char * str, int * seekFlagPtr); /* 40 */ - Tcl_Command (*tclGetOriginalCommand) (Tcl_Command command); /* 41 */ - char * (*tclpGetUserHome) (CONST char * name, Tcl_DString * bufferPtr); /* 42 */ - void *reserved43; - int (*tclGuessPackageName) (CONST char * fileName, Tcl_DString * bufPtr); /* 44 */ - int (*tclHideUnsafeCommands) (Tcl_Interp * interp); /* 45 */ - int (*tclInExit) (void); /* 46 */ - void *reserved47; - void *reserved48; - void *reserved49; - void (*tclInitCompiledLocals) (Tcl_Interp * interp, CallFrame * framePtr, Namespace * nsPtr); /* 50 */ - int (*tclInterpInit) (Tcl_Interp * interp); /* 51 */ - void *reserved52; - int (*tclInvokeObjectCommand) (ClientData clientData, Tcl_Interp * interp, int argc, CONST84 char ** argv); /* 53 */ - int (*tclInvokeStringCommand) (ClientData clientData, Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[]); /* 54 */ - Proc * (*tclIsProc) (Command * cmdPtr); /* 55 */ - void *reserved56; - void *reserved57; - Var * (*tclLookupVar) (Tcl_Interp * interp, CONST char * part1, CONST char * part2, int flags, CONST char * msg, int createPart1, int createPart2, Var ** arrayPtrPtr); /* 58 */ - void *reserved59; - int (*tclNeedSpace) (CONST char * start, CONST char * end); /* 60 */ - Tcl_Obj * (*tclNewProcBodyObj) (Proc * procPtr); /* 61 */ - int (*tclObjCommandComplete) (Tcl_Obj * cmdPtr); /* 62 */ - int (*tclObjInterpProc) (ClientData clientData, Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[]); /* 63 */ - int (*tclObjInvoke) (Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[], int flags); /* 64 */ - void *reserved65; - void *reserved66; - void *reserved67; - void *reserved68; - char * (*tclpAlloc) (unsigned int size); /* 69 */ - void *reserved70; - void *reserved71; - void *reserved72; - void *reserved73; - void (*tclpFree) (char * ptr); /* 74 */ - unsigned long (*tclpGetClicks) (void); /* 75 */ - unsigned long (*tclpGetSeconds) (void); /* 76 */ - void (*tclpGetTime) (Tcl_Time * time); /* 77 */ - int (*tclpGetTimeZone) (unsigned long time); /* 78 */ - void *reserved79; - void *reserved80; - char * (*tclpRealloc) (char * ptr, unsigned int size); /* 81 */ - void *reserved82; - void *reserved83; - void *reserved84; - void *reserved85; - void *reserved86; - void *reserved87; - char * (*tclPrecTraceProc) (ClientData clientData, Tcl_Interp * interp, CONST char * name1, CONST char * name2, int flags); /* 88 */ - int (*tclPreventAliasLoop) (Tcl_Interp * interp, Tcl_Interp * cmdInterp, Tcl_Command cmd); /* 89 */ - void *reserved90; - void (*tclProcCleanupProc) (Proc * procPtr); /* 91 */ - int (*tclProcCompileProc) (Tcl_Interp * interp, Proc * procPtr, Tcl_Obj * bodyPtr, Namespace * nsPtr, CONST char * description, CONST char * procName); /* 92 */ - void (*tclProcDeleteProc) (ClientData clientData); /* 93 */ - void *reserved94; - void *reserved95; - int (*tclRenameCommand) (Tcl_Interp * interp, CONST char * oldName, CONST char * newName); /* 96 */ - void (*tclResetShadowedCmdRefs) (Tcl_Interp * interp, Command * newCmdPtr); /* 97 */ - int (*tclServiceIdle) (void); /* 98 */ - void *reserved99; - void *reserved100; - char * (*tclSetPreInitScript) (char * string); /* 101 */ - void (*tclSetupEnv) (Tcl_Interp * interp); /* 102 */ - int (*tclSockGetPort) (Tcl_Interp * interp, CONST char * str, CONST char * proto, int * portPtr); /* 103 */ -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ - int (*tclSockMinimumBuffers) (int sock, int size); /* 104 */ -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ - int (*tclSockMinimumBuffers) (int sock, int size); /* 104 */ -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ - int (*tclSockMinimumBuffers) (int sock, int size); /* 104 */ -#endif /* MACOSX */ - void *reserved105; - void *reserved106; - void *reserved107; - void (*tclTeardownNamespace) (Namespace * nsPtr); /* 108 */ - int (*tclUpdateReturnInfo) (Interp * iPtr); /* 109 */ - void *reserved110; - void (*tcl_AddInterpResolvers) (Tcl_Interp * interp, CONST char * name, Tcl_ResolveCmdProc * cmdProc, Tcl_ResolveVarProc * varProc, Tcl_ResolveCompiledVarProc * compiledVarProc); /* 111 */ - int (*tcl_AppendExportList) (Tcl_Interp * interp, Tcl_Namespace * nsPtr, Tcl_Obj * objPtr); /* 112 */ - Tcl_Namespace * (*tcl_CreateNamespace) (Tcl_Interp * interp, CONST char * name, ClientData clientData, Tcl_NamespaceDeleteProc * deleteProc); /* 113 */ - void (*tcl_DeleteNamespace) (Tcl_Namespace * nsPtr); /* 114 */ - int (*tcl_Export) (Tcl_Interp * interp, Tcl_Namespace * nsPtr, CONST char * pattern, int resetListFirst); /* 115 */ - Tcl_Command (*tcl_FindCommand) (Tcl_Interp * interp, CONST char * name, Tcl_Namespace * contextNsPtr, int flags); /* 116 */ - Tcl_Namespace * (*tcl_FindNamespace) (Tcl_Interp * interp, CONST char * name, Tcl_Namespace * contextNsPtr, int flags); /* 117 */ - int (*tcl_GetInterpResolvers) (Tcl_Interp * interp, CONST char * name, Tcl_ResolverInfo * resInfo); /* 118 */ - int (*tcl_GetNamespaceResolvers) (Tcl_Namespace * namespacePtr, Tcl_ResolverInfo * resInfo); /* 119 */ - Tcl_Var (*tcl_FindNamespaceVar) (Tcl_Interp * interp, CONST char * name, Tcl_Namespace * contextNsPtr, int flags); /* 120 */ - int (*tcl_ForgetImport) (Tcl_Interp * interp, Tcl_Namespace * nsPtr, CONST char * pattern); /* 121 */ - Tcl_Command (*tcl_GetCommandFromObj) (Tcl_Interp * interp, Tcl_Obj * objPtr); /* 122 */ - void (*tcl_GetCommandFullName) (Tcl_Interp * interp, Tcl_Command command, Tcl_Obj * objPtr); /* 123 */ - Tcl_Namespace * (*tcl_GetCurrentNamespace) (Tcl_Interp * interp); /* 124 */ - Tcl_Namespace * (*tcl_GetGlobalNamespace) (Tcl_Interp * interp); /* 125 */ - void (*tcl_GetVariableFullName) (Tcl_Interp * interp, Tcl_Var variable, Tcl_Obj * objPtr); /* 126 */ - int (*tcl_Import) (Tcl_Interp * interp, Tcl_Namespace * nsPtr, CONST char * pattern, int allowOverwrite); /* 127 */ - void (*tcl_PopCallFrame) (Tcl_Interp * interp); /* 128 */ - int (*tcl_PushCallFrame) (Tcl_Interp * interp, Tcl_CallFrame * framePtr, Tcl_Namespace * nsPtr, int isProcCallFrame); /* 129 */ - int (*tcl_RemoveInterpResolvers) (Tcl_Interp * interp, CONST char * name); /* 130 */ - void (*tcl_SetNamespaceResolvers) (Tcl_Namespace * namespacePtr, Tcl_ResolveCmdProc * cmdProc, Tcl_ResolveVarProc * varProc, Tcl_ResolveCompiledVarProc * compiledVarProc); /* 131 */ - int (*tclpHasSockets) (Tcl_Interp * interp); /* 132 */ - struct tm * (*tclpGetDate) (CONST time_t * time, int useGMT); /* 133 */ - void *reserved134; - void *reserved135; - void *reserved136; - void *reserved137; - CONST84_RETURN char * (*tclGetEnv) (CONST char * name, Tcl_DString * valuePtr); /* 138 */ - void *reserved139; - void *reserved140; - CONST84_RETURN char * (*tclpGetCwd) (Tcl_Interp * interp, Tcl_DString * cwdPtr); /* 141 */ - int (*tclSetByteCodeFromAny) (Tcl_Interp * interp, Tcl_Obj * objPtr, CompileHookProc * hookProc, ClientData clientData); /* 142 */ - int (*tclAddLiteralObj) (struct CompileEnv * envPtr, Tcl_Obj * objPtr, LiteralEntry ** litPtrPtr); /* 143 */ - void (*tclHideLiteral) (Tcl_Interp * interp, struct CompileEnv * envPtr, int index); /* 144 */ - struct AuxDataType * (*tclGetAuxDataType) (char * typeName); /* 145 */ - TclHandle (*tclHandleCreate) (VOID * ptr); /* 146 */ - void (*tclHandleFree) (TclHandle handle); /* 147 */ - TclHandle (*tclHandlePreserve) (TclHandle handle); /* 148 */ - void (*tclHandleRelease) (TclHandle handle); /* 149 */ - int (*tclRegAbout) (Tcl_Interp * interp, Tcl_RegExp re); /* 150 */ - void (*tclRegExpRangeUniChar) (Tcl_RegExp re, int index, int * startPtr, int * endPtr); /* 151 */ - void (*tclSetLibraryPath) (Tcl_Obj * pathPtr); /* 152 */ - Tcl_Obj * (*tclGetLibraryPath) (void); /* 153 */ - void *reserved154; - void *reserved155; - void (*tclRegError) (Tcl_Interp * interp, CONST char * msg, int status); /* 156 */ - Var * (*tclVarTraceExists) (Tcl_Interp * interp, CONST char * varName); /* 157 */ - void (*tclSetStartupScriptFileName) (CONST char * filename); /* 158 */ - CONST84_RETURN char * (*tclGetStartupScriptFileName) (void); /* 159 */ - void *reserved160; - int (*tclChannelTransform) (Tcl_Interp * interp, Tcl_Channel chan, Tcl_Obj * cmdObjPtr); /* 161 */ - void (*tclChannelEventScriptInvoker) (ClientData clientData, int flags); /* 162 */ - void * (*tclGetInstructionTable) (void); /* 163 */ - void (*tclExpandCodeArray) (void * envPtr); /* 164 */ - void (*tclpSetInitialEncodings) (void); /* 165 */ - int (*tclListObjSetElement) (Tcl_Interp * interp, Tcl_Obj * listPtr, int index, Tcl_Obj * valuePtr); /* 166 */ - void (*tclSetStartupScriptPath) (Tcl_Obj * pathPtr); /* 167 */ - Tcl_Obj * (*tclGetStartupScriptPath) (void); /* 168 */ - int (*tclpUtfNcmp2) (CONST char * s1, CONST char * s2, unsigned long n); /* 169 */ - int (*tclCheckInterpTraces) (Tcl_Interp * interp, CONST char * command, int numChars, Command * cmdPtr, int result, int traceFlags, int objc, Tcl_Obj *CONST objv[]); /* 170 */ - int (*tclCheckExecutionTraces) (Tcl_Interp * interp, CONST char * command, int numChars, Command * cmdPtr, int result, int traceFlags, int objc, Tcl_Obj *CONST objv[]); /* 171 */ - int (*tclInThreadExit) (void); /* 172 */ - int (*tclUniCharMatch) (CONST Tcl_UniChar * string, int strLen, CONST Tcl_UniChar * pattern, int ptnLen, int flags); /* 173 */ - void *reserved174; - int (*tclCallVarTraces) (Interp * iPtr, Var * arrayPtr, Var * varPtr, CONST char * part1, CONST char * part2, int flags, int leaveErrMsg); /* 175 */ - void (*tclCleanupVar) (Var * varPtr, Var * arrayPtr); /* 176 */ - void (*tclVarErrMsg) (Tcl_Interp * interp, CONST char * part1, CONST char * part2, CONST char * operation, CONST char * reason); /* 177 */ - void (*tcl_SetStartupScript) (Tcl_Obj * pathPtr, CONST char* encodingName); /* 178 */ - Tcl_Obj * (*tcl_GetStartupScript) (CONST char ** encodingNamePtr); /* 179 */ - void *reserved180; - void *reserved181; - struct tm * (*tclpLocaltime) (CONST time_t * clock); /* 182 */ - struct tm * (*tclpGmtime) (CONST time_t * clock); /* 183 */ - void *reserved184; - void *reserved185; - void *reserved186; - void *reserved187; - void *reserved188; - void *reserved189; - void *reserved190; - void *reserved191; - void *reserved192; - void *reserved193; - void *reserved194; - void *reserved195; - void *reserved196; - int (*tclCompEvalObj) (Tcl_Interp * interp, Tcl_Obj * objPtr, CONST CmdFrame* invoker, int word); /* 197 */ - int (*tclObjGetFrame) (Tcl_Interp * interp, Tcl_Obj * objPtr, CallFrame ** framePtrPtr); /* 198 */ - void *reserved199; - int (*tclpObjRemoveDirectory) (Tcl_Obj * pathPtr, int recursive, Tcl_Obj ** errorPtr); /* 200 */ - int (*tclpObjCopyDirectory) (Tcl_Obj * srcPathPtr, Tcl_Obj * destPathPtr, Tcl_Obj ** errorPtr); /* 201 */ - int (*tclpObjCreateDirectory) (Tcl_Obj * pathPtr); /* 202 */ - int (*tclpObjDeleteFile) (Tcl_Obj * pathPtr); /* 203 */ - int (*tclpObjCopyFile) (Tcl_Obj * srcPathPtr, Tcl_Obj * destPathPtr); /* 204 */ - int (*tclpObjRenameFile) (Tcl_Obj * srcPathPtr, Tcl_Obj * destPathPtr); /* 205 */ - int (*tclpObjStat) (Tcl_Obj * pathPtr, Tcl_StatBuf * buf); /* 206 */ - int (*tclpObjAccess) (Tcl_Obj * pathPtr, int mode); /* 207 */ - Tcl_Channel (*tclpOpenFileChannel) (Tcl_Interp * interp, Tcl_Obj * pathPtr, int mode, int permissions); /* 208 */ - void *reserved209; - void *reserved210; - void *reserved211; - void (*tclpFindExecutable) (CONST char * argv0); /* 212 */ - Tcl_Obj * (*tclGetObjNameOfExecutable) (void); /* 213 */ - void (*tclSetObjNameOfExecutable) (Tcl_Obj * name, Tcl_Encoding encoding); /* 214 */ - void * (*tclStackAlloc) (Tcl_Interp * interp, int numBytes); /* 215 */ - void (*tclStackFree) (Tcl_Interp * interp, void * freePtr); /* 216 */ - int (*tclPushStackFrame) (Tcl_Interp * interp, Tcl_CallFrame ** framePtrPtr, Tcl_Namespace * namespacePtr, int isProcCallFrame); /* 217 */ - void (*tclPopStackFrame) (Tcl_Interp * interp); /* 218 */ - void *reserved219; - void *reserved220; - void *reserved221; - void *reserved222; - void *reserved223; - TclPlatformType * (*tclGetPlatform) (void); /* 224 */ - Tcl_Obj * (*tclTraceDictPath) (Tcl_Interp * interp, Tcl_Obj * rootPtr, int keyc, Tcl_Obj *CONST keyv[], int flags); /* 225 */ - int (*tclObjBeingDeleted) (Tcl_Obj * objPtr); /* 226 */ - void (*tclSetNsPath) (Namespace * nsPtr, int pathLength, Tcl_Namespace * pathAry[]); /* 227 */ - int (*tclObjInterpProcCore) (register Tcl_Interp * interp, Tcl_Obj * procNameObj, int skip, ProcErrorProc errorProc); /* 228 */ - int (*tclPtrMakeUpvar) (Tcl_Interp * interp, Var * otherP1Ptr, CONST char * myName, int myFlags, int index); /* 229 */ - Var * (*tclObjLookupVar) (Tcl_Interp * interp, Tcl_Obj * part1Ptr, CONST char * part2, int flags, CONST char * msg, CONST int createPart1, CONST int createPart2, Var ** arrayPtrPtr); /* 230 */ - int (*tclGetNamespaceFromObj) (Tcl_Interp * interp, Tcl_Obj * objPtr, Tcl_Namespace ** nsPtrPtr); /* 231 */ - int (*tclEvalObjEx) (Tcl_Interp * interp, Tcl_Obj * objPtr, int flags, const CmdFrame * invoker, int word); /* 232 */ - void (*tclGetSrcInfoForPc) (CmdFrame * contextPtr); /* 233 */ - Var * (*tclVarHashCreateVar) (TclVarHashTable * tablePtr, const char * key, int * newPtr); /* 234 */ - void (*tclInitVarHashTable) (TclVarHashTable * tablePtr, Namespace * nsPtr); /* 235 */ - void (*tclBackgroundException) (Tcl_Interp * interp, int code); /* 236 */ -} TclIntStubs; - -#ifdef __cplusplus -extern "C" { -#endif -extern TclIntStubs *tclIntStubsPtr; -#ifdef __cplusplus -} -#endif - -#if defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) - -/* - * Inline function declarations: - */ - -/* Slot 0 is reserved */ -/* Slot 1 is reserved */ -/* Slot 2 is reserved */ -#ifndef TclAllocateFreeObjects -#define TclAllocateFreeObjects \ - (tclIntStubsPtr->tclAllocateFreeObjects) /* 3 */ -#endif -/* Slot 4 is reserved */ -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ -#ifndef TclCleanupChildren -#define TclCleanupChildren \ - (tclIntStubsPtr->tclCleanupChildren) /* 5 */ -#endif -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ -#ifndef TclCleanupChildren -#define TclCleanupChildren \ - (tclIntStubsPtr->tclCleanupChildren) /* 5 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ -#ifndef TclCleanupChildren -#define TclCleanupChildren \ - (tclIntStubsPtr->tclCleanupChildren) /* 5 */ -#endif -#endif /* MACOSX */ -#ifndef TclCleanupCommand -#define TclCleanupCommand \ - (tclIntStubsPtr->tclCleanupCommand) /* 6 */ -#endif -#ifndef TclCopyAndCollapse -#define TclCopyAndCollapse \ - (tclIntStubsPtr->tclCopyAndCollapse) /* 7 */ -#endif -#ifndef TclCopyChannel -#define TclCopyChannel \ - (tclIntStubsPtr->tclCopyChannel) /* 8 */ -#endif -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ -#ifndef TclCreatePipeline -#define TclCreatePipeline \ - (tclIntStubsPtr->tclCreatePipeline) /* 9 */ -#endif -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ -#ifndef TclCreatePipeline -#define TclCreatePipeline \ - (tclIntStubsPtr->tclCreatePipeline) /* 9 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ -#ifndef TclCreatePipeline -#define TclCreatePipeline \ - (tclIntStubsPtr->tclCreatePipeline) /* 9 */ -#endif -#endif /* MACOSX */ -#ifndef TclCreateProc -#define TclCreateProc \ - (tclIntStubsPtr->tclCreateProc) /* 10 */ -#endif -#ifndef TclDeleteCompiledLocalVars -#define TclDeleteCompiledLocalVars \ - (tclIntStubsPtr->tclDeleteCompiledLocalVars) /* 11 */ -#endif -#ifndef TclDeleteVars -#define TclDeleteVars \ - (tclIntStubsPtr->tclDeleteVars) /* 12 */ -#endif -/* Slot 13 is reserved */ -#ifndef TclDumpMemoryInfo -#define TclDumpMemoryInfo \ - (tclIntStubsPtr->tclDumpMemoryInfo) /* 14 */ -#endif -/* Slot 15 is reserved */ -#ifndef TclExprFloatError -#define TclExprFloatError \ - (tclIntStubsPtr->tclExprFloatError) /* 16 */ -#endif -/* Slot 17 is reserved */ -/* Slot 18 is reserved */ -/* Slot 19 is reserved */ -/* Slot 20 is reserved */ -/* Slot 21 is reserved */ -#ifndef TclFindElement -#define TclFindElement \ - (tclIntStubsPtr->tclFindElement) /* 22 */ -#endif -#ifndef TclFindProc -#define TclFindProc \ - (tclIntStubsPtr->tclFindProc) /* 23 */ -#endif -/* Slot 24 is reserved */ -#ifndef TclFreePackageInfo -#define TclFreePackageInfo \ - (tclIntStubsPtr->tclFreePackageInfo) /* 25 */ -#endif -/* Slot 26 is reserved */ -/* Slot 27 is reserved */ -#ifndef TclpGetDefaultStdChannel -#define TclpGetDefaultStdChannel \ - (tclIntStubsPtr->tclpGetDefaultStdChannel) /* 28 */ -#endif -/* Slot 29 is reserved */ -/* Slot 30 is reserved */ -#ifndef TclGetExtension -#define TclGetExtension \ - (tclIntStubsPtr->tclGetExtension) /* 31 */ -#endif -#ifndef TclGetFrame -#define TclGetFrame \ - (tclIntStubsPtr->tclGetFrame) /* 32 */ -#endif -/* Slot 33 is reserved */ -#ifndef TclGetIntForIndex -#define TclGetIntForIndex \ - (tclIntStubsPtr->tclGetIntForIndex) /* 34 */ -#endif -/* Slot 35 is reserved */ -#ifndef TclGetLong -#define TclGetLong \ - (tclIntStubsPtr->tclGetLong) /* 36 */ -#endif -#ifndef TclGetLoadedPackages -#define TclGetLoadedPackages \ - (tclIntStubsPtr->tclGetLoadedPackages) /* 37 */ -#endif -#ifndef TclGetNamespaceForQualName -#define TclGetNamespaceForQualName \ - (tclIntStubsPtr->tclGetNamespaceForQualName) /* 38 */ -#endif -#ifndef TclGetObjInterpProc -#define TclGetObjInterpProc \ - (tclIntStubsPtr->tclGetObjInterpProc) /* 39 */ -#endif -#ifndef TclGetOpenMode -#define TclGetOpenMode \ - (tclIntStubsPtr->tclGetOpenMode) /* 40 */ -#endif -#ifndef TclGetOriginalCommand -#define TclGetOriginalCommand \ - (tclIntStubsPtr->tclGetOriginalCommand) /* 41 */ -#endif -#ifndef TclpGetUserHome -#define TclpGetUserHome \ - (tclIntStubsPtr->tclpGetUserHome) /* 42 */ -#endif -/* Slot 43 is reserved */ -#ifndef TclGuessPackageName -#define TclGuessPackageName \ - (tclIntStubsPtr->tclGuessPackageName) /* 44 */ -#endif -#ifndef TclHideUnsafeCommands -#define TclHideUnsafeCommands \ - (tclIntStubsPtr->tclHideUnsafeCommands) /* 45 */ -#endif -#ifndef TclInExit -#define TclInExit \ - (tclIntStubsPtr->tclInExit) /* 46 */ -#endif -/* Slot 47 is reserved */ -/* Slot 48 is reserved */ -/* Slot 49 is reserved */ -#ifndef TclInitCompiledLocals -#define TclInitCompiledLocals \ - (tclIntStubsPtr->tclInitCompiledLocals) /* 50 */ -#endif -#ifndef TclInterpInit -#define TclInterpInit \ - (tclIntStubsPtr->tclInterpInit) /* 51 */ -#endif -/* Slot 52 is reserved */ -#ifndef TclInvokeObjectCommand -#define TclInvokeObjectCommand \ - (tclIntStubsPtr->tclInvokeObjectCommand) /* 53 */ -#endif -#ifndef TclInvokeStringCommand -#define TclInvokeStringCommand \ - (tclIntStubsPtr->tclInvokeStringCommand) /* 54 */ -#endif -#ifndef TclIsProc -#define TclIsProc \ - (tclIntStubsPtr->tclIsProc) /* 55 */ -#endif -/* Slot 56 is reserved */ -/* Slot 57 is reserved */ -#ifndef TclLookupVar -#define TclLookupVar \ - (tclIntStubsPtr->tclLookupVar) /* 58 */ -#endif -/* Slot 59 is reserved */ -#ifndef TclNeedSpace -#define TclNeedSpace \ - (tclIntStubsPtr->tclNeedSpace) /* 60 */ -#endif -#ifndef TclNewProcBodyObj -#define TclNewProcBodyObj \ - (tclIntStubsPtr->tclNewProcBodyObj) /* 61 */ -#endif -#ifndef TclObjCommandComplete -#define TclObjCommandComplete \ - (tclIntStubsPtr->tclObjCommandComplete) /* 62 */ -#endif -#ifndef TclObjInterpProc -#define TclObjInterpProc \ - (tclIntStubsPtr->tclObjInterpProc) /* 63 */ -#endif -#ifndef TclObjInvoke -#define TclObjInvoke \ - (tclIntStubsPtr->tclObjInvoke) /* 64 */ -#endif -/* Slot 65 is reserved */ -/* Slot 66 is reserved */ -/* Slot 67 is reserved */ -/* Slot 68 is reserved */ -#ifndef TclpAlloc -#define TclpAlloc \ - (tclIntStubsPtr->tclpAlloc) /* 69 */ -#endif -/* Slot 70 is reserved */ -/* Slot 71 is reserved */ -/* Slot 72 is reserved */ -/* Slot 73 is reserved */ -#ifndef TclpFree -#define TclpFree \ - (tclIntStubsPtr->tclpFree) /* 74 */ -#endif -#ifndef TclpGetClicks -#define TclpGetClicks \ - (tclIntStubsPtr->tclpGetClicks) /* 75 */ -#endif -#ifndef TclpGetSeconds -#define TclpGetSeconds \ - (tclIntStubsPtr->tclpGetSeconds) /* 76 */ -#endif -#ifndef TclpGetTime -#define TclpGetTime \ - (tclIntStubsPtr->tclpGetTime) /* 77 */ -#endif -#ifndef TclpGetTimeZone -#define TclpGetTimeZone \ - (tclIntStubsPtr->tclpGetTimeZone) /* 78 */ -#endif -/* Slot 79 is reserved */ -/* Slot 80 is reserved */ -#ifndef TclpRealloc -#define TclpRealloc \ - (tclIntStubsPtr->tclpRealloc) /* 81 */ -#endif -/* Slot 82 is reserved */ -/* Slot 83 is reserved */ -/* Slot 84 is reserved */ -/* Slot 85 is reserved */ -/* Slot 86 is reserved */ -/* Slot 87 is reserved */ -#ifndef TclPrecTraceProc -#define TclPrecTraceProc \ - (tclIntStubsPtr->tclPrecTraceProc) /* 88 */ -#endif -#ifndef TclPreventAliasLoop -#define TclPreventAliasLoop \ - (tclIntStubsPtr->tclPreventAliasLoop) /* 89 */ -#endif -/* Slot 90 is reserved */ -#ifndef TclProcCleanupProc -#define TclProcCleanupProc \ - (tclIntStubsPtr->tclProcCleanupProc) /* 91 */ -#endif -#ifndef TclProcCompileProc -#define TclProcCompileProc \ - (tclIntStubsPtr->tclProcCompileProc) /* 92 */ -#endif -#ifndef TclProcDeleteProc -#define TclProcDeleteProc \ - (tclIntStubsPtr->tclProcDeleteProc) /* 93 */ -#endif -/* Slot 94 is reserved */ -/* Slot 95 is reserved */ -#ifndef TclRenameCommand -#define TclRenameCommand \ - (tclIntStubsPtr->tclRenameCommand) /* 96 */ -#endif -#ifndef TclResetShadowedCmdRefs -#define TclResetShadowedCmdRefs \ - (tclIntStubsPtr->tclResetShadowedCmdRefs) /* 97 */ -#endif -#ifndef TclServiceIdle -#define TclServiceIdle \ - (tclIntStubsPtr->tclServiceIdle) /* 98 */ -#endif -/* Slot 99 is reserved */ -/* Slot 100 is reserved */ -#ifndef TclSetPreInitScript -#define TclSetPreInitScript \ - (tclIntStubsPtr->tclSetPreInitScript) /* 101 */ -#endif -#ifndef TclSetupEnv -#define TclSetupEnv \ - (tclIntStubsPtr->tclSetupEnv) /* 102 */ -#endif -#ifndef TclSockGetPort -#define TclSockGetPort \ - (tclIntStubsPtr->tclSockGetPort) /* 103 */ -#endif -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ -#ifndef TclSockMinimumBuffers -#define TclSockMinimumBuffers \ - (tclIntStubsPtr->tclSockMinimumBuffers) /* 104 */ -#endif -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ -#ifndef TclSockMinimumBuffers -#define TclSockMinimumBuffers \ - (tclIntStubsPtr->tclSockMinimumBuffers) /* 104 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ -#ifndef TclSockMinimumBuffers -#define TclSockMinimumBuffers \ - (tclIntStubsPtr->tclSockMinimumBuffers) /* 104 */ -#endif -#endif /* MACOSX */ -/* Slot 105 is reserved */ -/* Slot 106 is reserved */ -/* Slot 107 is reserved */ -#ifndef TclTeardownNamespace -#define TclTeardownNamespace \ - (tclIntStubsPtr->tclTeardownNamespace) /* 108 */ -#endif -#ifndef TclUpdateReturnInfo -#define TclUpdateReturnInfo \ - (tclIntStubsPtr->tclUpdateReturnInfo) /* 109 */ -#endif -/* Slot 110 is reserved */ -#ifndef Tcl_AddInterpResolvers -#define Tcl_AddInterpResolvers \ - (tclIntStubsPtr->tcl_AddInterpResolvers) /* 111 */ -#endif -#ifndef Tcl_AppendExportList -#define Tcl_AppendExportList \ - (tclIntStubsPtr->tcl_AppendExportList) /* 112 */ -#endif -#ifndef Tcl_CreateNamespace -#define Tcl_CreateNamespace \ - (tclIntStubsPtr->tcl_CreateNamespace) /* 113 */ -#endif -#ifndef Tcl_DeleteNamespace -#define Tcl_DeleteNamespace \ - (tclIntStubsPtr->tcl_DeleteNamespace) /* 114 */ -#endif -#ifndef Tcl_Export -#define Tcl_Export \ - (tclIntStubsPtr->tcl_Export) /* 115 */ -#endif -#ifndef Tcl_FindCommand -#define Tcl_FindCommand \ - (tclIntStubsPtr->tcl_FindCommand) /* 116 */ -#endif -#ifndef Tcl_FindNamespace -#define Tcl_FindNamespace \ - (tclIntStubsPtr->tcl_FindNamespace) /* 117 */ -#endif -#ifndef Tcl_GetInterpResolvers -#define Tcl_GetInterpResolvers \ - (tclIntStubsPtr->tcl_GetInterpResolvers) /* 118 */ -#endif -#ifndef Tcl_GetNamespaceResolvers -#define Tcl_GetNamespaceResolvers \ - (tclIntStubsPtr->tcl_GetNamespaceResolvers) /* 119 */ -#endif -#ifndef Tcl_FindNamespaceVar -#define Tcl_FindNamespaceVar \ - (tclIntStubsPtr->tcl_FindNamespaceVar) /* 120 */ -#endif -#ifndef Tcl_ForgetImport -#define Tcl_ForgetImport \ - (tclIntStubsPtr->tcl_ForgetImport) /* 121 */ -#endif -#ifndef Tcl_GetCommandFromObj -#define Tcl_GetCommandFromObj \ - (tclIntStubsPtr->tcl_GetCommandFromObj) /* 122 */ -#endif -#ifndef Tcl_GetCommandFullName -#define Tcl_GetCommandFullName \ - (tclIntStubsPtr->tcl_GetCommandFullName) /* 123 */ -#endif -#ifndef Tcl_GetCurrentNamespace -#define Tcl_GetCurrentNamespace \ - (tclIntStubsPtr->tcl_GetCurrentNamespace) /* 124 */ -#endif -#ifndef Tcl_GetGlobalNamespace -#define Tcl_GetGlobalNamespace \ - (tclIntStubsPtr->tcl_GetGlobalNamespace) /* 125 */ -#endif -#ifndef Tcl_GetVariableFullName -#define Tcl_GetVariableFullName \ - (tclIntStubsPtr->tcl_GetVariableFullName) /* 126 */ -#endif -#ifndef Tcl_Import -#define Tcl_Import \ - (tclIntStubsPtr->tcl_Import) /* 127 */ -#endif -#ifndef Tcl_PopCallFrame -#define Tcl_PopCallFrame \ - (tclIntStubsPtr->tcl_PopCallFrame) /* 128 */ -#endif -#ifndef Tcl_PushCallFrame -#define Tcl_PushCallFrame \ - (tclIntStubsPtr->tcl_PushCallFrame) /* 129 */ -#endif -#ifndef Tcl_RemoveInterpResolvers -#define Tcl_RemoveInterpResolvers \ - (tclIntStubsPtr->tcl_RemoveInterpResolvers) /* 130 */ -#endif -#ifndef Tcl_SetNamespaceResolvers -#define Tcl_SetNamespaceResolvers \ - (tclIntStubsPtr->tcl_SetNamespaceResolvers) /* 131 */ -#endif -#ifndef TclpHasSockets -#define TclpHasSockets \ - (tclIntStubsPtr->tclpHasSockets) /* 132 */ -#endif -#ifndef TclpGetDate -#define TclpGetDate \ - (tclIntStubsPtr->tclpGetDate) /* 133 */ -#endif -/* Slot 134 is reserved */ -/* Slot 135 is reserved */ -/* Slot 136 is reserved */ -/* Slot 137 is reserved */ -#ifndef TclGetEnv -#define TclGetEnv \ - (tclIntStubsPtr->tclGetEnv) /* 138 */ -#endif -/* Slot 139 is reserved */ -/* Slot 140 is reserved */ -#ifndef TclpGetCwd -#define TclpGetCwd \ - (tclIntStubsPtr->tclpGetCwd) /* 141 */ -#endif -#ifndef TclSetByteCodeFromAny -#define TclSetByteCodeFromAny \ - (tclIntStubsPtr->tclSetByteCodeFromAny) /* 142 */ -#endif -#ifndef TclAddLiteralObj -#define TclAddLiteralObj \ - (tclIntStubsPtr->tclAddLiteralObj) /* 143 */ -#endif -#ifndef TclHideLiteral -#define TclHideLiteral \ - (tclIntStubsPtr->tclHideLiteral) /* 144 */ -#endif -#ifndef TclGetAuxDataType -#define TclGetAuxDataType \ - (tclIntStubsPtr->tclGetAuxDataType) /* 145 */ -#endif -#ifndef TclHandleCreate -#define TclHandleCreate \ - (tclIntStubsPtr->tclHandleCreate) /* 146 */ -#endif -#ifndef TclHandleFree -#define TclHandleFree \ - (tclIntStubsPtr->tclHandleFree) /* 147 */ -#endif -#ifndef TclHandlePreserve -#define TclHandlePreserve \ - (tclIntStubsPtr->tclHandlePreserve) /* 148 */ -#endif -#ifndef TclHandleRelease -#define TclHandleRelease \ - (tclIntStubsPtr->tclHandleRelease) /* 149 */ -#endif -#ifndef TclRegAbout -#define TclRegAbout \ - (tclIntStubsPtr->tclRegAbout) /* 150 */ -#endif -#ifndef TclRegExpRangeUniChar -#define TclRegExpRangeUniChar \ - (tclIntStubsPtr->tclRegExpRangeUniChar) /* 151 */ -#endif -#ifndef TclSetLibraryPath -#define TclSetLibraryPath \ - (tclIntStubsPtr->tclSetLibraryPath) /* 152 */ -#endif -#ifndef TclGetLibraryPath -#define TclGetLibraryPath \ - (tclIntStubsPtr->tclGetLibraryPath) /* 153 */ -#endif -/* Slot 154 is reserved */ -/* Slot 155 is reserved */ -#ifndef TclRegError -#define TclRegError \ - (tclIntStubsPtr->tclRegError) /* 156 */ -#endif -#ifndef TclVarTraceExists -#define TclVarTraceExists \ - (tclIntStubsPtr->tclVarTraceExists) /* 157 */ -#endif -#ifndef TclSetStartupScriptFileName -#define TclSetStartupScriptFileName \ - (tclIntStubsPtr->tclSetStartupScriptFileName) /* 158 */ -#endif -#ifndef TclGetStartupScriptFileName -#define TclGetStartupScriptFileName \ - (tclIntStubsPtr->tclGetStartupScriptFileName) /* 159 */ -#endif -/* Slot 160 is reserved */ -#ifndef TclChannelTransform -#define TclChannelTransform \ - (tclIntStubsPtr->tclChannelTransform) /* 161 */ -#endif -#ifndef TclChannelEventScriptInvoker -#define TclChannelEventScriptInvoker \ - (tclIntStubsPtr->tclChannelEventScriptInvoker) /* 162 */ -#endif -#ifndef TclGetInstructionTable -#define TclGetInstructionTable \ - (tclIntStubsPtr->tclGetInstructionTable) /* 163 */ -#endif -#ifndef TclExpandCodeArray -#define TclExpandCodeArray \ - (tclIntStubsPtr->tclExpandCodeArray) /* 164 */ -#endif -#ifndef TclpSetInitialEncodings -#define TclpSetInitialEncodings \ - (tclIntStubsPtr->tclpSetInitialEncodings) /* 165 */ -#endif -#ifndef TclListObjSetElement -#define TclListObjSetElement \ - (tclIntStubsPtr->tclListObjSetElement) /* 166 */ -#endif -#ifndef TclSetStartupScriptPath -#define TclSetStartupScriptPath \ - (tclIntStubsPtr->tclSetStartupScriptPath) /* 167 */ -#endif -#ifndef TclGetStartupScriptPath -#define TclGetStartupScriptPath \ - (tclIntStubsPtr->tclGetStartupScriptPath) /* 168 */ -#endif -#ifndef TclpUtfNcmp2 -#define TclpUtfNcmp2 \ - (tclIntStubsPtr->tclpUtfNcmp2) /* 169 */ -#endif -#ifndef TclCheckInterpTraces -#define TclCheckInterpTraces \ - (tclIntStubsPtr->tclCheckInterpTraces) /* 170 */ -#endif -#ifndef TclCheckExecutionTraces -#define TclCheckExecutionTraces \ - (tclIntStubsPtr->tclCheckExecutionTraces) /* 171 */ -#endif -#ifndef TclInThreadExit -#define TclInThreadExit \ - (tclIntStubsPtr->tclInThreadExit) /* 172 */ -#endif -#ifndef TclUniCharMatch -#define TclUniCharMatch \ - (tclIntStubsPtr->tclUniCharMatch) /* 173 */ -#endif -/* Slot 174 is reserved */ -#ifndef TclCallVarTraces -#define TclCallVarTraces \ - (tclIntStubsPtr->tclCallVarTraces) /* 175 */ -#endif -#ifndef TclCleanupVar -#define TclCleanupVar \ - (tclIntStubsPtr->tclCleanupVar) /* 176 */ -#endif -#ifndef TclVarErrMsg -#define TclVarErrMsg \ - (tclIntStubsPtr->tclVarErrMsg) /* 177 */ -#endif -#ifndef Tcl_SetStartupScript -#define Tcl_SetStartupScript \ - (tclIntStubsPtr->tcl_SetStartupScript) /* 178 */ -#endif -#ifndef Tcl_GetStartupScript -#define Tcl_GetStartupScript \ - (tclIntStubsPtr->tcl_GetStartupScript) /* 179 */ -#endif -/* Slot 180 is reserved */ -/* Slot 181 is reserved */ -#ifndef TclpLocaltime -#define TclpLocaltime \ - (tclIntStubsPtr->tclpLocaltime) /* 182 */ -#endif -#ifndef TclpGmtime -#define TclpGmtime \ - (tclIntStubsPtr->tclpGmtime) /* 183 */ -#endif -/* Slot 184 is reserved */ -/* Slot 185 is reserved */ -/* Slot 186 is reserved */ -/* Slot 187 is reserved */ -/* Slot 188 is reserved */ -/* Slot 189 is reserved */ -/* Slot 190 is reserved */ -/* Slot 191 is reserved */ -/* Slot 192 is reserved */ -/* Slot 193 is reserved */ -/* Slot 194 is reserved */ -/* Slot 195 is reserved */ -/* Slot 196 is reserved */ -#ifndef TclCompEvalObj -#define TclCompEvalObj \ - (tclIntStubsPtr->tclCompEvalObj) /* 197 */ -#endif -#ifndef TclObjGetFrame -#define TclObjGetFrame \ - (tclIntStubsPtr->tclObjGetFrame) /* 198 */ -#endif -/* Slot 199 is reserved */ -#ifndef TclpObjRemoveDirectory -#define TclpObjRemoveDirectory \ - (tclIntStubsPtr->tclpObjRemoveDirectory) /* 200 */ -#endif -#ifndef TclpObjCopyDirectory -#define TclpObjCopyDirectory \ - (tclIntStubsPtr->tclpObjCopyDirectory) /* 201 */ -#endif -#ifndef TclpObjCreateDirectory -#define TclpObjCreateDirectory \ - (tclIntStubsPtr->tclpObjCreateDirectory) /* 202 */ -#endif -#ifndef TclpObjDeleteFile -#define TclpObjDeleteFile \ - (tclIntStubsPtr->tclpObjDeleteFile) /* 203 */ -#endif -#ifndef TclpObjCopyFile -#define TclpObjCopyFile \ - (tclIntStubsPtr->tclpObjCopyFile) /* 204 */ -#endif -#ifndef TclpObjRenameFile -#define TclpObjRenameFile \ - (tclIntStubsPtr->tclpObjRenameFile) /* 205 */ -#endif -#ifndef TclpObjStat -#define TclpObjStat \ - (tclIntStubsPtr->tclpObjStat) /* 206 */ -#endif -#ifndef TclpObjAccess -#define TclpObjAccess \ - (tclIntStubsPtr->tclpObjAccess) /* 207 */ -#endif -#ifndef TclpOpenFileChannel -#define TclpOpenFileChannel \ - (tclIntStubsPtr->tclpOpenFileChannel) /* 208 */ -#endif -/* Slot 209 is reserved */ -/* Slot 210 is reserved */ -/* Slot 211 is reserved */ -#ifndef TclpFindExecutable -#define TclpFindExecutable \ - (tclIntStubsPtr->tclpFindExecutable) /* 212 */ -#endif -#ifndef TclGetObjNameOfExecutable -#define TclGetObjNameOfExecutable \ - (tclIntStubsPtr->tclGetObjNameOfExecutable) /* 213 */ -#endif -#ifndef TclSetObjNameOfExecutable -#define TclSetObjNameOfExecutable \ - (tclIntStubsPtr->tclSetObjNameOfExecutable) /* 214 */ -#endif -#ifndef TclStackAlloc -#define TclStackAlloc \ - (tclIntStubsPtr->tclStackAlloc) /* 215 */ -#endif -#ifndef TclStackFree -#define TclStackFree \ - (tclIntStubsPtr->tclStackFree) /* 216 */ -#endif -#ifndef TclPushStackFrame -#define TclPushStackFrame \ - (tclIntStubsPtr->tclPushStackFrame) /* 217 */ -#endif -#ifndef TclPopStackFrame -#define TclPopStackFrame \ - (tclIntStubsPtr->tclPopStackFrame) /* 218 */ -#endif -/* Slot 219 is reserved */ -/* Slot 220 is reserved */ -/* Slot 221 is reserved */ -/* Slot 222 is reserved */ -/* Slot 223 is reserved */ -#ifndef TclGetPlatform -#define TclGetPlatform \ - (tclIntStubsPtr->tclGetPlatform) /* 224 */ -#endif -#ifndef TclTraceDictPath -#define TclTraceDictPath \ - (tclIntStubsPtr->tclTraceDictPath) /* 225 */ -#endif -#ifndef TclObjBeingDeleted -#define TclObjBeingDeleted \ - (tclIntStubsPtr->tclObjBeingDeleted) /* 226 */ -#endif -#ifndef TclSetNsPath -#define TclSetNsPath \ - (tclIntStubsPtr->tclSetNsPath) /* 227 */ -#endif -#ifndef TclObjInterpProcCore -#define TclObjInterpProcCore \ - (tclIntStubsPtr->tclObjInterpProcCore) /* 228 */ -#endif -#ifndef TclPtrMakeUpvar -#define TclPtrMakeUpvar \ - (tclIntStubsPtr->tclPtrMakeUpvar) /* 229 */ -#endif -#ifndef TclObjLookupVar -#define TclObjLookupVar \ - (tclIntStubsPtr->tclObjLookupVar) /* 230 */ -#endif -#ifndef TclGetNamespaceFromObj -#define TclGetNamespaceFromObj \ - (tclIntStubsPtr->tclGetNamespaceFromObj) /* 231 */ -#endif -#ifndef TclEvalObjEx -#define TclEvalObjEx \ - (tclIntStubsPtr->tclEvalObjEx) /* 232 */ -#endif -#ifndef TclGetSrcInfoForPc -#define TclGetSrcInfoForPc \ - (tclIntStubsPtr->tclGetSrcInfoForPc) /* 233 */ -#endif -#ifndef TclVarHashCreateVar -#define TclVarHashCreateVar \ - (tclIntStubsPtr->tclVarHashCreateVar) /* 234 */ -#endif -#ifndef TclInitVarHashTable -#define TclInitVarHashTable \ - (tclIntStubsPtr->tclInitVarHashTable) /* 235 */ -#endif -#ifndef TclBackgroundException -#define TclBackgroundException \ - (tclIntStubsPtr->tclBackgroundException) /* 236 */ -#endif - -#endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */ - -/* !END!: Do not edit above this line. */ - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TCLINTDECLS */ diff --git a/src/other/togl/include/tcltk/tk8.5/tclIntPlatDecls.h b/src/other/togl/include/tcltk/tk8.5/tclIntPlatDecls.h deleted file mode 100644 index aab0fcc1b1f..00000000000 --- a/src/other/togl/include/tcltk/tk8.5/tclIntPlatDecls.h +++ /dev/null @@ -1,709 +0,0 @@ -/* - * tclIntPlatDecls.h -- - * - * This file contains the declarations for all platform dependent - * unsupported functions that are exported by the Tcl library. These - * interfaces are not guaranteed to remain the same between - * versions. Use at your own risk. - * - * Copyright (c) 1998-1999 by Scriptics Corporation. - * All rights reserved. - * - * RCS: @(#) Id - */ - -#ifndef _TCLINTPLATDECLS -#define _TCLINTPLATDECLS - -#undef TCL_STORAGE_CLASS -#ifdef BUILD_tcl -# define TCL_STORAGE_CLASS DLLEXPORT -#else -# ifdef USE_TCL_STUBS -# define TCL_STORAGE_CLASS -# else -# define TCL_STORAGE_CLASS DLLIMPORT -# endif -#endif - -/* - * WARNING: This file is automatically generated by the tools/genStubs.tcl - * script. Any modifications to the function declarations below should be made - * in the generic/tclInt.decls script. - */ - -/* !BEGIN!: Do not edit below this line. */ - -/* - * Exported function declarations: - */ - -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ -#ifndef TclGetAndDetachPids_TCL_DECLARED -#define TclGetAndDetachPids_TCL_DECLARED -/* 0 */ -EXTERN void TclGetAndDetachPids (Tcl_Interp * interp, - Tcl_Channel chan); -#endif -#ifndef TclpCloseFile_TCL_DECLARED -#define TclpCloseFile_TCL_DECLARED -/* 1 */ -EXTERN int TclpCloseFile (TclFile file); -#endif -#ifndef TclpCreateCommandChannel_TCL_DECLARED -#define TclpCreateCommandChannel_TCL_DECLARED -/* 2 */ -EXTERN Tcl_Channel TclpCreateCommandChannel (TclFile readFile, - TclFile writeFile, TclFile errorFile, - int numPids, Tcl_Pid * pidPtr); -#endif -#ifndef TclpCreatePipe_TCL_DECLARED -#define TclpCreatePipe_TCL_DECLARED -/* 3 */ -EXTERN int TclpCreatePipe (TclFile * readPipe, - TclFile * writePipe); -#endif -#ifndef TclpCreateProcess_TCL_DECLARED -#define TclpCreateProcess_TCL_DECLARED -/* 4 */ -EXTERN int TclpCreateProcess (Tcl_Interp * interp, int argc, - CONST char ** argv, TclFile inputFile, - TclFile outputFile, TclFile errorFile, - Tcl_Pid * pidPtr); -#endif -/* Slot 5 is reserved */ -#ifndef TclpMakeFile_TCL_DECLARED -#define TclpMakeFile_TCL_DECLARED -/* 6 */ -EXTERN TclFile TclpMakeFile (Tcl_Channel channel, int direction); -#endif -#ifndef TclpOpenFile_TCL_DECLARED -#define TclpOpenFile_TCL_DECLARED -/* 7 */ -EXTERN TclFile TclpOpenFile (CONST char * fname, int mode); -#endif -#ifndef TclUnixWaitForFile_TCL_DECLARED -#define TclUnixWaitForFile_TCL_DECLARED -/* 8 */ -EXTERN int TclUnixWaitForFile (int fd, int mask, int timeout); -#endif -#ifndef TclpCreateTempFile_TCL_DECLARED -#define TclpCreateTempFile_TCL_DECLARED -/* 9 */ -EXTERN TclFile TclpCreateTempFile (CONST char * contents); -#endif -#ifndef TclpReaddir_TCL_DECLARED -#define TclpReaddir_TCL_DECLARED -/* 10 */ -EXTERN Tcl_DirEntry * TclpReaddir (DIR * dir); -#endif -#ifndef TclpLocaltime_unix_TCL_DECLARED -#define TclpLocaltime_unix_TCL_DECLARED -/* 11 */ -EXTERN struct tm * TclpLocaltime_unix (CONST time_t * clock); -#endif -#ifndef TclpGmtime_unix_TCL_DECLARED -#define TclpGmtime_unix_TCL_DECLARED -/* 12 */ -EXTERN struct tm * TclpGmtime_unix (CONST time_t * clock); -#endif -#ifndef TclpInetNtoa_TCL_DECLARED -#define TclpInetNtoa_TCL_DECLARED -/* 13 */ -EXTERN char * TclpInetNtoa (struct in_addr addr); -#endif -#ifndef TclUnixCopyFile_TCL_DECLARED -#define TclUnixCopyFile_TCL_DECLARED -/* 14 */ -EXTERN int TclUnixCopyFile (CONST char * src, CONST char * dst, - CONST Tcl_StatBuf * statBufPtr, - int dontCopyAtts); -#endif -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ -#ifndef TclWinConvertError_TCL_DECLARED -#define TclWinConvertError_TCL_DECLARED -/* 0 */ -EXTERN void TclWinConvertError (DWORD errCode); -#endif -#ifndef TclWinConvertWSAError_TCL_DECLARED -#define TclWinConvertWSAError_TCL_DECLARED -/* 1 */ -EXTERN void TclWinConvertWSAError (DWORD errCode); -#endif -#ifndef TclWinGetServByName_TCL_DECLARED -#define TclWinGetServByName_TCL_DECLARED -/* 2 */ -EXTERN struct servent * TclWinGetServByName (CONST char * nm, - CONST char * proto); -#endif -#ifndef TclWinGetSockOpt_TCL_DECLARED -#define TclWinGetSockOpt_TCL_DECLARED -/* 3 */ -EXTERN int TclWinGetSockOpt (int s, int level, int optname, - char FAR * optval, int FAR * optlen); -#endif -#ifndef TclWinGetTclInstance_TCL_DECLARED -#define TclWinGetTclInstance_TCL_DECLARED -/* 4 */ -EXTERN HINSTANCE TclWinGetTclInstance (void); -#endif -/* Slot 5 is reserved */ -#ifndef TclWinNToHS_TCL_DECLARED -#define TclWinNToHS_TCL_DECLARED -/* 6 */ -EXTERN u_short TclWinNToHS (u_short ns); -#endif -#ifndef TclWinSetSockOpt_TCL_DECLARED -#define TclWinSetSockOpt_TCL_DECLARED -/* 7 */ -EXTERN int TclWinSetSockOpt (int s, int level, int optname, - CONST char FAR * optval, int optlen); -#endif -#ifndef TclpGetPid_TCL_DECLARED -#define TclpGetPid_TCL_DECLARED -/* 8 */ -EXTERN unsigned long TclpGetPid (Tcl_Pid pid); -#endif -#ifndef TclWinGetPlatformId_TCL_DECLARED -#define TclWinGetPlatformId_TCL_DECLARED -/* 9 */ -EXTERN int TclWinGetPlatformId (void); -#endif -/* Slot 10 is reserved */ -#ifndef TclGetAndDetachPids_TCL_DECLARED -#define TclGetAndDetachPids_TCL_DECLARED -/* 11 */ -EXTERN void TclGetAndDetachPids (Tcl_Interp * interp, - Tcl_Channel chan); -#endif -#ifndef TclpCloseFile_TCL_DECLARED -#define TclpCloseFile_TCL_DECLARED -/* 12 */ -EXTERN int TclpCloseFile (TclFile file); -#endif -#ifndef TclpCreateCommandChannel_TCL_DECLARED -#define TclpCreateCommandChannel_TCL_DECLARED -/* 13 */ -EXTERN Tcl_Channel TclpCreateCommandChannel (TclFile readFile, - TclFile writeFile, TclFile errorFile, - int numPids, Tcl_Pid * pidPtr); -#endif -#ifndef TclpCreatePipe_TCL_DECLARED -#define TclpCreatePipe_TCL_DECLARED -/* 14 */ -EXTERN int TclpCreatePipe (TclFile * readPipe, - TclFile * writePipe); -#endif -#ifndef TclpCreateProcess_TCL_DECLARED -#define TclpCreateProcess_TCL_DECLARED -/* 15 */ -EXTERN int TclpCreateProcess (Tcl_Interp * interp, int argc, - CONST char ** argv, TclFile inputFile, - TclFile outputFile, TclFile errorFile, - Tcl_Pid * pidPtr); -#endif -/* Slot 16 is reserved */ -/* Slot 17 is reserved */ -#ifndef TclpMakeFile_TCL_DECLARED -#define TclpMakeFile_TCL_DECLARED -/* 18 */ -EXTERN TclFile TclpMakeFile (Tcl_Channel channel, int direction); -#endif -#ifndef TclpOpenFile_TCL_DECLARED -#define TclpOpenFile_TCL_DECLARED -/* 19 */ -EXTERN TclFile TclpOpenFile (CONST char * fname, int mode); -#endif -#ifndef TclWinAddProcess_TCL_DECLARED -#define TclWinAddProcess_TCL_DECLARED -/* 20 */ -EXTERN void TclWinAddProcess (HANDLE hProcess, DWORD id); -#endif -/* Slot 21 is reserved */ -#ifndef TclpCreateTempFile_TCL_DECLARED -#define TclpCreateTempFile_TCL_DECLARED -/* 22 */ -EXTERN TclFile TclpCreateTempFile (CONST char * contents); -#endif -#ifndef TclpGetTZName_TCL_DECLARED -#define TclpGetTZName_TCL_DECLARED -/* 23 */ -EXTERN char * TclpGetTZName (int isdst); -#endif -#ifndef TclWinNoBackslash_TCL_DECLARED -#define TclWinNoBackslash_TCL_DECLARED -/* 24 */ -EXTERN char * TclWinNoBackslash (char * path); -#endif -/* Slot 25 is reserved */ -#ifndef TclWinSetInterfaces_TCL_DECLARED -#define TclWinSetInterfaces_TCL_DECLARED -/* 26 */ -EXTERN void TclWinSetInterfaces (int wide); -#endif -#ifndef TclWinFlushDirtyChannels_TCL_DECLARED -#define TclWinFlushDirtyChannels_TCL_DECLARED -/* 27 */ -EXTERN void TclWinFlushDirtyChannels (void); -#endif -#ifndef TclWinResetInterfaces_TCL_DECLARED -#define TclWinResetInterfaces_TCL_DECLARED -/* 28 */ -EXTERN void TclWinResetInterfaces (void); -#endif -#ifndef TclWinCPUID_TCL_DECLARED -#define TclWinCPUID_TCL_DECLARED -/* 29 */ -EXTERN int TclWinCPUID (unsigned int index, unsigned int * regs); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ -#ifndef TclGetAndDetachPids_TCL_DECLARED -#define TclGetAndDetachPids_TCL_DECLARED -/* 0 */ -EXTERN void TclGetAndDetachPids (Tcl_Interp * interp, - Tcl_Channel chan); -#endif -#ifndef TclpCloseFile_TCL_DECLARED -#define TclpCloseFile_TCL_DECLARED -/* 1 */ -EXTERN int TclpCloseFile (TclFile file); -#endif -#ifndef TclpCreateCommandChannel_TCL_DECLARED -#define TclpCreateCommandChannel_TCL_DECLARED -/* 2 */ -EXTERN Tcl_Channel TclpCreateCommandChannel (TclFile readFile, - TclFile writeFile, TclFile errorFile, - int numPids, Tcl_Pid * pidPtr); -#endif -#ifndef TclpCreatePipe_TCL_DECLARED -#define TclpCreatePipe_TCL_DECLARED -/* 3 */ -EXTERN int TclpCreatePipe (TclFile * readPipe, - TclFile * writePipe); -#endif -#ifndef TclpCreateProcess_TCL_DECLARED -#define TclpCreateProcess_TCL_DECLARED -/* 4 */ -EXTERN int TclpCreateProcess (Tcl_Interp * interp, int argc, - CONST char ** argv, TclFile inputFile, - TclFile outputFile, TclFile errorFile, - Tcl_Pid * pidPtr); -#endif -/* Slot 5 is reserved */ -#ifndef TclpMakeFile_TCL_DECLARED -#define TclpMakeFile_TCL_DECLARED -/* 6 */ -EXTERN TclFile TclpMakeFile (Tcl_Channel channel, int direction); -#endif -#ifndef TclpOpenFile_TCL_DECLARED -#define TclpOpenFile_TCL_DECLARED -/* 7 */ -EXTERN TclFile TclpOpenFile (CONST char * fname, int mode); -#endif -#ifndef TclUnixWaitForFile_TCL_DECLARED -#define TclUnixWaitForFile_TCL_DECLARED -/* 8 */ -EXTERN int TclUnixWaitForFile (int fd, int mask, int timeout); -#endif -#ifndef TclpCreateTempFile_TCL_DECLARED -#define TclpCreateTempFile_TCL_DECLARED -/* 9 */ -EXTERN TclFile TclpCreateTempFile (CONST char * contents); -#endif -#ifndef TclpReaddir_TCL_DECLARED -#define TclpReaddir_TCL_DECLARED -/* 10 */ -EXTERN Tcl_DirEntry * TclpReaddir (DIR * dir); -#endif -#ifndef TclpLocaltime_unix_TCL_DECLARED -#define TclpLocaltime_unix_TCL_DECLARED -/* 11 */ -EXTERN struct tm * TclpLocaltime_unix (CONST time_t * clock); -#endif -#ifndef TclpGmtime_unix_TCL_DECLARED -#define TclpGmtime_unix_TCL_DECLARED -/* 12 */ -EXTERN struct tm * TclpGmtime_unix (CONST time_t * clock); -#endif -#ifndef TclpInetNtoa_TCL_DECLARED -#define TclpInetNtoa_TCL_DECLARED -/* 13 */ -EXTERN char * TclpInetNtoa (struct in_addr addr); -#endif -#ifndef TclUnixCopyFile_TCL_DECLARED -#define TclUnixCopyFile_TCL_DECLARED -/* 14 */ -EXTERN int TclUnixCopyFile (CONST char * src, CONST char * dst, - CONST Tcl_StatBuf * statBufPtr, - int dontCopyAtts); -#endif -#ifndef TclMacOSXGetFileAttribute_TCL_DECLARED -#define TclMacOSXGetFileAttribute_TCL_DECLARED -/* 15 */ -EXTERN int TclMacOSXGetFileAttribute (Tcl_Interp * interp, - int objIndex, Tcl_Obj * fileName, - Tcl_Obj ** attributePtrPtr); -#endif -#ifndef TclMacOSXSetFileAttribute_TCL_DECLARED -#define TclMacOSXSetFileAttribute_TCL_DECLARED -/* 16 */ -EXTERN int TclMacOSXSetFileAttribute (Tcl_Interp * interp, - int objIndex, Tcl_Obj * fileName, - Tcl_Obj * attributePtr); -#endif -#ifndef TclMacOSXCopyFileAttributes_TCL_DECLARED -#define TclMacOSXCopyFileAttributes_TCL_DECLARED -/* 17 */ -EXTERN int TclMacOSXCopyFileAttributes (CONST char * src, - CONST char * dst, - CONST Tcl_StatBuf * statBufPtr); -#endif -#ifndef TclMacOSXMatchType_TCL_DECLARED -#define TclMacOSXMatchType_TCL_DECLARED -/* 18 */ -EXTERN int TclMacOSXMatchType (Tcl_Interp * interp, - CONST char * pathName, CONST char * fileName, - Tcl_StatBuf * statBufPtr, - Tcl_GlobTypeData * types); -#endif -#endif /* MACOSX */ - -typedef struct TclIntPlatStubs { - int magic; - struct TclIntPlatStubHooks *hooks; - -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ - void (*tclGetAndDetachPids) (Tcl_Interp * interp, Tcl_Channel chan); /* 0 */ - int (*tclpCloseFile) (TclFile file); /* 1 */ - Tcl_Channel (*tclpCreateCommandChannel) (TclFile readFile, TclFile writeFile, TclFile errorFile, int numPids, Tcl_Pid * pidPtr); /* 2 */ - int (*tclpCreatePipe) (TclFile * readPipe, TclFile * writePipe); /* 3 */ - int (*tclpCreateProcess) (Tcl_Interp * interp, int argc, CONST char ** argv, TclFile inputFile, TclFile outputFile, TclFile errorFile, Tcl_Pid * pidPtr); /* 4 */ - void *reserved5; - TclFile (*tclpMakeFile) (Tcl_Channel channel, int direction); /* 6 */ - TclFile (*tclpOpenFile) (CONST char * fname, int mode); /* 7 */ - int (*tclUnixWaitForFile) (int fd, int mask, int timeout); /* 8 */ - TclFile (*tclpCreateTempFile) (CONST char * contents); /* 9 */ - Tcl_DirEntry * (*tclpReaddir) (DIR * dir); /* 10 */ - struct tm * (*tclpLocaltime_unix) (CONST time_t * clock); /* 11 */ - struct tm * (*tclpGmtime_unix) (CONST time_t * clock); /* 12 */ - char * (*tclpInetNtoa) (struct in_addr addr); /* 13 */ - int (*tclUnixCopyFile) (CONST char * src, CONST char * dst, CONST Tcl_StatBuf * statBufPtr, int dontCopyAtts); /* 14 */ -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ - void (*tclWinConvertError) (DWORD errCode); /* 0 */ - void (*tclWinConvertWSAError) (DWORD errCode); /* 1 */ - struct servent * (*tclWinGetServByName) (CONST char * nm, CONST char * proto); /* 2 */ - int (*tclWinGetSockOpt) (int s, int level, int optname, char FAR * optval, int FAR * optlen); /* 3 */ - HINSTANCE (*tclWinGetTclInstance) (void); /* 4 */ - void *reserved5; - u_short (*tclWinNToHS) (u_short ns); /* 6 */ - int (*tclWinSetSockOpt) (int s, int level, int optname, CONST char FAR * optval, int optlen); /* 7 */ - unsigned long (*tclpGetPid) (Tcl_Pid pid); /* 8 */ - int (*tclWinGetPlatformId) (void); /* 9 */ - void *reserved10; - void (*tclGetAndDetachPids) (Tcl_Interp * interp, Tcl_Channel chan); /* 11 */ - int (*tclpCloseFile) (TclFile file); /* 12 */ - Tcl_Channel (*tclpCreateCommandChannel) (TclFile readFile, TclFile writeFile, TclFile errorFile, int numPids, Tcl_Pid * pidPtr); /* 13 */ - int (*tclpCreatePipe) (TclFile * readPipe, TclFile * writePipe); /* 14 */ - int (*tclpCreateProcess) (Tcl_Interp * interp, int argc, CONST char ** argv, TclFile inputFile, TclFile outputFile, TclFile errorFile, Tcl_Pid * pidPtr); /* 15 */ - void *reserved16; - void *reserved17; - TclFile (*tclpMakeFile) (Tcl_Channel channel, int direction); /* 18 */ - TclFile (*tclpOpenFile) (CONST char * fname, int mode); /* 19 */ - void (*tclWinAddProcess) (HANDLE hProcess, DWORD id); /* 20 */ - void *reserved21; - TclFile (*tclpCreateTempFile) (CONST char * contents); /* 22 */ - char * (*tclpGetTZName) (int isdst); /* 23 */ - char * (*tclWinNoBackslash) (char * path); /* 24 */ - void *reserved25; - void (*tclWinSetInterfaces) (int wide); /* 26 */ - void (*tclWinFlushDirtyChannels) (void); /* 27 */ - void (*tclWinResetInterfaces) (void); /* 28 */ - int (*tclWinCPUID) (unsigned int index, unsigned int * regs); /* 29 */ -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ - void (*tclGetAndDetachPids) (Tcl_Interp * interp, Tcl_Channel chan); /* 0 */ - int (*tclpCloseFile) (TclFile file); /* 1 */ - Tcl_Channel (*tclpCreateCommandChannel) (TclFile readFile, TclFile writeFile, TclFile errorFile, int numPids, Tcl_Pid * pidPtr); /* 2 */ - int (*tclpCreatePipe) (TclFile * readPipe, TclFile * writePipe); /* 3 */ - int (*tclpCreateProcess) (Tcl_Interp * interp, int argc, CONST char ** argv, TclFile inputFile, TclFile outputFile, TclFile errorFile, Tcl_Pid * pidPtr); /* 4 */ - void *reserved5; - TclFile (*tclpMakeFile) (Tcl_Channel channel, int direction); /* 6 */ - TclFile (*tclpOpenFile) (CONST char * fname, int mode); /* 7 */ - int (*tclUnixWaitForFile) (int fd, int mask, int timeout); /* 8 */ - TclFile (*tclpCreateTempFile) (CONST char * contents); /* 9 */ - Tcl_DirEntry * (*tclpReaddir) (DIR * dir); /* 10 */ - struct tm * (*tclpLocaltime_unix) (CONST time_t * clock); /* 11 */ - struct tm * (*tclpGmtime_unix) (CONST time_t * clock); /* 12 */ - char * (*tclpInetNtoa) (struct in_addr addr); /* 13 */ - int (*tclUnixCopyFile) (CONST char * src, CONST char * dst, CONST Tcl_StatBuf * statBufPtr, int dontCopyAtts); /* 14 */ - int (*tclMacOSXGetFileAttribute) (Tcl_Interp * interp, int objIndex, Tcl_Obj * fileName, Tcl_Obj ** attributePtrPtr); /* 15 */ - int (*tclMacOSXSetFileAttribute) (Tcl_Interp * interp, int objIndex, Tcl_Obj * fileName, Tcl_Obj * attributePtr); /* 16 */ - int (*tclMacOSXCopyFileAttributes) (CONST char * src, CONST char * dst, CONST Tcl_StatBuf * statBufPtr); /* 17 */ - int (*tclMacOSXMatchType) (Tcl_Interp * interp, CONST char * pathName, CONST char * fileName, Tcl_StatBuf * statBufPtr, Tcl_GlobTypeData * types); /* 18 */ -#endif /* MACOSX */ -} TclIntPlatStubs; - -#ifdef __cplusplus -extern "C" { -#endif -extern TclIntPlatStubs *tclIntPlatStubsPtr; -#ifdef __cplusplus -} -#endif - -#if defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) - -/* - * Inline function declarations: - */ - -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ -#ifndef TclGetAndDetachPids -#define TclGetAndDetachPids \ - (tclIntPlatStubsPtr->tclGetAndDetachPids) /* 0 */ -#endif -#ifndef TclpCloseFile -#define TclpCloseFile \ - (tclIntPlatStubsPtr->tclpCloseFile) /* 1 */ -#endif -#ifndef TclpCreateCommandChannel -#define TclpCreateCommandChannel \ - (tclIntPlatStubsPtr->tclpCreateCommandChannel) /* 2 */ -#endif -#ifndef TclpCreatePipe -#define TclpCreatePipe \ - (tclIntPlatStubsPtr->tclpCreatePipe) /* 3 */ -#endif -#ifndef TclpCreateProcess -#define TclpCreateProcess \ - (tclIntPlatStubsPtr->tclpCreateProcess) /* 4 */ -#endif -/* Slot 5 is reserved */ -#ifndef TclpMakeFile -#define TclpMakeFile \ - (tclIntPlatStubsPtr->tclpMakeFile) /* 6 */ -#endif -#ifndef TclpOpenFile -#define TclpOpenFile \ - (tclIntPlatStubsPtr->tclpOpenFile) /* 7 */ -#endif -#ifndef TclUnixWaitForFile -#define TclUnixWaitForFile \ - (tclIntPlatStubsPtr->tclUnixWaitForFile) /* 8 */ -#endif -#ifndef TclpCreateTempFile -#define TclpCreateTempFile \ - (tclIntPlatStubsPtr->tclpCreateTempFile) /* 9 */ -#endif -#ifndef TclpReaddir -#define TclpReaddir \ - (tclIntPlatStubsPtr->tclpReaddir) /* 10 */ -#endif -#ifndef TclpLocaltime_unix -#define TclpLocaltime_unix \ - (tclIntPlatStubsPtr->tclpLocaltime_unix) /* 11 */ -#endif -#ifndef TclpGmtime_unix -#define TclpGmtime_unix \ - (tclIntPlatStubsPtr->tclpGmtime_unix) /* 12 */ -#endif -#ifndef TclpInetNtoa -#define TclpInetNtoa \ - (tclIntPlatStubsPtr->tclpInetNtoa) /* 13 */ -#endif -#ifndef TclUnixCopyFile -#define TclUnixCopyFile \ - (tclIntPlatStubsPtr->tclUnixCopyFile) /* 14 */ -#endif -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ -#ifndef TclWinConvertError -#define TclWinConvertError \ - (tclIntPlatStubsPtr->tclWinConvertError) /* 0 */ -#endif -#ifndef TclWinConvertWSAError -#define TclWinConvertWSAError \ - (tclIntPlatStubsPtr->tclWinConvertWSAError) /* 1 */ -#endif -#ifndef TclWinGetServByName -#define TclWinGetServByName \ - (tclIntPlatStubsPtr->tclWinGetServByName) /* 2 */ -#endif -#ifndef TclWinGetSockOpt -#define TclWinGetSockOpt \ - (tclIntPlatStubsPtr->tclWinGetSockOpt) /* 3 */ -#endif -#ifndef TclWinGetTclInstance -#define TclWinGetTclInstance \ - (tclIntPlatStubsPtr->tclWinGetTclInstance) /* 4 */ -#endif -/* Slot 5 is reserved */ -#ifndef TclWinNToHS -#define TclWinNToHS \ - (tclIntPlatStubsPtr->tclWinNToHS) /* 6 */ -#endif -#ifndef TclWinSetSockOpt -#define TclWinSetSockOpt \ - (tclIntPlatStubsPtr->tclWinSetSockOpt) /* 7 */ -#endif -#ifndef TclpGetPid -#define TclpGetPid \ - (tclIntPlatStubsPtr->tclpGetPid) /* 8 */ -#endif -#ifndef TclWinGetPlatformId -#define TclWinGetPlatformId \ - (tclIntPlatStubsPtr->tclWinGetPlatformId) /* 9 */ -#endif -/* Slot 10 is reserved */ -#ifndef TclGetAndDetachPids -#define TclGetAndDetachPids \ - (tclIntPlatStubsPtr->tclGetAndDetachPids) /* 11 */ -#endif -#ifndef TclpCloseFile -#define TclpCloseFile \ - (tclIntPlatStubsPtr->tclpCloseFile) /* 12 */ -#endif -#ifndef TclpCreateCommandChannel -#define TclpCreateCommandChannel \ - (tclIntPlatStubsPtr->tclpCreateCommandChannel) /* 13 */ -#endif -#ifndef TclpCreatePipe -#define TclpCreatePipe \ - (tclIntPlatStubsPtr->tclpCreatePipe) /* 14 */ -#endif -#ifndef TclpCreateProcess -#define TclpCreateProcess \ - (tclIntPlatStubsPtr->tclpCreateProcess) /* 15 */ -#endif -/* Slot 16 is reserved */ -/* Slot 17 is reserved */ -#ifndef TclpMakeFile -#define TclpMakeFile \ - (tclIntPlatStubsPtr->tclpMakeFile) /* 18 */ -#endif -#ifndef TclpOpenFile -#define TclpOpenFile \ - (tclIntPlatStubsPtr->tclpOpenFile) /* 19 */ -#endif -#ifndef TclWinAddProcess -#define TclWinAddProcess \ - (tclIntPlatStubsPtr->tclWinAddProcess) /* 20 */ -#endif -/* Slot 21 is reserved */ -#ifndef TclpCreateTempFile -#define TclpCreateTempFile \ - (tclIntPlatStubsPtr->tclpCreateTempFile) /* 22 */ -#endif -#ifndef TclpGetTZName -#define TclpGetTZName \ - (tclIntPlatStubsPtr->tclpGetTZName) /* 23 */ -#endif -#ifndef TclWinNoBackslash -#define TclWinNoBackslash \ - (tclIntPlatStubsPtr->tclWinNoBackslash) /* 24 */ -#endif -/* Slot 25 is reserved */ -#ifndef TclWinSetInterfaces -#define TclWinSetInterfaces \ - (tclIntPlatStubsPtr->tclWinSetInterfaces) /* 26 */ -#endif -#ifndef TclWinFlushDirtyChannels -#define TclWinFlushDirtyChannels \ - (tclIntPlatStubsPtr->tclWinFlushDirtyChannels) /* 27 */ -#endif -#ifndef TclWinResetInterfaces -#define TclWinResetInterfaces \ - (tclIntPlatStubsPtr->tclWinResetInterfaces) /* 28 */ -#endif -#ifndef TclWinCPUID -#define TclWinCPUID \ - (tclIntPlatStubsPtr->tclWinCPUID) /* 29 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ -#ifndef TclGetAndDetachPids -#define TclGetAndDetachPids \ - (tclIntPlatStubsPtr->tclGetAndDetachPids) /* 0 */ -#endif -#ifndef TclpCloseFile -#define TclpCloseFile \ - (tclIntPlatStubsPtr->tclpCloseFile) /* 1 */ -#endif -#ifndef TclpCreateCommandChannel -#define TclpCreateCommandChannel \ - (tclIntPlatStubsPtr->tclpCreateCommandChannel) /* 2 */ -#endif -#ifndef TclpCreatePipe -#define TclpCreatePipe \ - (tclIntPlatStubsPtr->tclpCreatePipe) /* 3 */ -#endif -#ifndef TclpCreateProcess -#define TclpCreateProcess \ - (tclIntPlatStubsPtr->tclpCreateProcess) /* 4 */ -#endif -/* Slot 5 is reserved */ -#ifndef TclpMakeFile -#define TclpMakeFile \ - (tclIntPlatStubsPtr->tclpMakeFile) /* 6 */ -#endif -#ifndef TclpOpenFile -#define TclpOpenFile \ - (tclIntPlatStubsPtr->tclpOpenFile) /* 7 */ -#endif -#ifndef TclUnixWaitForFile -#define TclUnixWaitForFile \ - (tclIntPlatStubsPtr->tclUnixWaitForFile) /* 8 */ -#endif -#ifndef TclpCreateTempFile -#define TclpCreateTempFile \ - (tclIntPlatStubsPtr->tclpCreateTempFile) /* 9 */ -#endif -#ifndef TclpReaddir -#define TclpReaddir \ - (tclIntPlatStubsPtr->tclpReaddir) /* 10 */ -#endif -#ifndef TclpLocaltime_unix -#define TclpLocaltime_unix \ - (tclIntPlatStubsPtr->tclpLocaltime_unix) /* 11 */ -#endif -#ifndef TclpGmtime_unix -#define TclpGmtime_unix \ - (tclIntPlatStubsPtr->tclpGmtime_unix) /* 12 */ -#endif -#ifndef TclpInetNtoa -#define TclpInetNtoa \ - (tclIntPlatStubsPtr->tclpInetNtoa) /* 13 */ -#endif -#ifndef TclUnixCopyFile -#define TclUnixCopyFile \ - (tclIntPlatStubsPtr->tclUnixCopyFile) /* 14 */ -#endif -#ifndef TclMacOSXGetFileAttribute -#define TclMacOSXGetFileAttribute \ - (tclIntPlatStubsPtr->tclMacOSXGetFileAttribute) /* 15 */ -#endif -#ifndef TclMacOSXSetFileAttribute -#define TclMacOSXSetFileAttribute \ - (tclIntPlatStubsPtr->tclMacOSXSetFileAttribute) /* 16 */ -#endif -#ifndef TclMacOSXCopyFileAttributes -#define TclMacOSXCopyFileAttributes \ - (tclIntPlatStubsPtr->tclMacOSXCopyFileAttributes) /* 17 */ -#endif -#ifndef TclMacOSXMatchType -#define TclMacOSXMatchType \ - (tclIntPlatStubsPtr->tclMacOSXMatchType) /* 18 */ -#endif -#endif /* MACOSX */ - -#endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */ - -/* !END!: Do not edit above this line. */ - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TCLINTPLATDECLS */ diff --git a/src/other/togl/include/tcltk/tk8.5/tclPort.h b/src/other/togl/include/tcltk/tk8.5/tclPort.h deleted file mode 100644 index 70d5131acd6..00000000000 --- a/src/other/togl/include/tcltk/tk8.5/tclPort.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * tclPort.h -- - * - * This header file handles porting issues that occur because - * of differences between systems. It reads in platform specific - * portability files. - * - * Copyright (c) 1994-1995 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TCLPORT -#define _TCLPORT - -#ifdef HAVE_TCL_CONFIG_H -#include "tclConfig.h" -#endif -#include "tcl.h" - -#if defined(__WIN32__) -/* PATCHED */ -/* # include "../win/tclWinPort.h" */ -# include "tclWinPort.h" -#else -# include "tclUnixPort.h" -#endif - -#if !defined(LLONG_MIN) -# ifdef TCL_WIDE_INT_IS_LONG -# define LLONG_MIN LONG_MIN -# else -# ifdef LLONG_BIT -# define LLONG_MIN ((Tcl_WideInt)(Tcl_LongAsWide(1)<<(LLONG_BIT-1))) -# else -/* Assume we're on a system with a 64-bit 'long long' type */ -# define LLONG_MIN ((Tcl_WideInt)(Tcl_LongAsWide(1)<<63)) -# endif -# endif -/* Assume that if LLONG_MIN is undefined, then so is LLONG_MAX */ -# define LLONG_MAX (~LLONG_MIN) -#endif - - -#endif /* _TCLPORT */ diff --git a/src/other/togl/include/tcltk/tk8.5/tclUnixPort.h b/src/other/togl/include/tcltk/tk8.5/tclUnixPort.h deleted file mode 100644 index f857e3a8e61..00000000000 --- a/src/other/togl/include/tcltk/tk8.5/tclUnixPort.h +++ /dev/null @@ -1,682 +0,0 @@ -/* - * tclUnixPort.h -- - * - * This header file handles porting issues that occur because - * of differences between systems. It reads in UNIX-related - * header files and sets up UNIX-related macros for Tcl's UNIX - * core. It should be the only file that contains #ifdefs to - * handle different flavors of UNIX. This file sets up the - * union of all UNIX-related things needed by any of the Tcl - * core files. This file depends on configuration #defines such - * as NO_DIRENT_H that are set up by the "configure" script. - * - * Much of the material in this file was originally contributed - * by Karl Lehenbauer, Mark Diekhans and Peter da Silva. - * - * Copyright (c) 1991-1994 The Regents of the University of California. - * Copyright (c) 1994-1997 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TCLUNIXPORT -#define _TCLUNIXPORT - -/* - *--------------------------------------------------------------------------- - * The following sets of #includes and #ifdefs are required to get Tcl to - * compile under the various flavors of unix. - *--------------------------------------------------------------------------- - */ - -#include -#include -#ifdef HAVE_NET_ERRNO_H -# include -#endif -#include -#include -#ifdef HAVE_SYS_PARAM_H -# include -#endif -#include -#ifdef USE_DIRENT2_H -# include "../compat/dirent2.h" -#else -#ifdef NO_DIRENT_H -# include "../compat/dirent.h" -#else -# include -#endif -#endif - -#ifdef HAVE_STRUCT_DIRENT64 -typedef struct dirent64 Tcl_DirEntry; -# define TclOSreaddir readdir64 -#else -typedef struct dirent Tcl_DirEntry; -# define TclOSreaddir readdir -#endif - -#ifdef HAVE_TYPE_OFF64_T -typedef off64_t Tcl_SeekOffset; -# define TclOSseek lseek64 -# define TclOSopen open64 -#else -typedef off_t Tcl_SeekOffset; -# define TclOSseek lseek -# define TclOSopen open -#endif - -#ifdef HAVE_STRUCT_STAT64 -# define TclOSstat stat64 -# define TclOSlstat lstat64 -#else -# define TclOSstat stat -# define TclOSlstat lstat -#endif - -#include -#ifdef HAVE_SYS_SELECT_H -# include -#endif -#include -#if TIME_WITH_SYS_TIME -# include -# include -#else -#if HAVE_SYS_TIME_H -# include -#else -# include -#endif -#endif -#ifndef NO_SYS_WAIT_H -# include -#endif -#if HAVE_INTTYPES_H -# include -#endif -#if HAVE_STDINT_H -# include -#endif -#ifdef HAVE_UNISTD_H -# include -#else -# include "../compat/unistd.h" -#endif -#ifdef USE_FIONBIO - /* - * Not using the Posix fcntl(...,O_NONBLOCK,...) interface, instead - * we are using ioctl(..,FIONBIO,..). - */ - -# ifdef HAVE_SYS_FILIO_H -# include /* For FIONBIO. */ -# endif - -# ifdef HAVE_SYS_IOCTL_H -# include /* For FIONBIO. */ -# endif -#endif /* USE_FIONBIO */ -#include - -/* - * Socket support stuff: This likely needs more work to parameterize for - * each system. - */ -#include /* struct sockaddr, SOCK_STREAM, ... */ -#ifndef NO_UNAME -# include /* uname system call. */ -#endif -#include /* struct in_addr, struct sockaddr_in */ -#include /* inet_ntoa() */ -#include /* gethostbyname() */ - -/* - * Some platforms (e.g. SunOS) don't define FLT_MAX and FLT_MIN, so we - * look for an alternative definition. If no other alternative is available - * we use a reasonable guess. - */ - -#ifndef NO_FLOAT_H -# include -#else -#ifndef NO_VALUES_H -# include -#endif -#endif - -#ifndef FLT_MAX -# ifdef MAXFLOAT -# define FLT_MAX MAXFLOAT -# else -# define FLT_MAX 3.402823466E+38F -# endif -#endif -#ifndef FLT_MIN -# ifdef MINFLOAT -# define FLT_MIN MINFLOAT -# else -# define FLT_MIN 1.175494351E-38F -# endif -#endif - -/* - * NeXT doesn't define O_NONBLOCK, so #define it here if necessary. - */ - -#ifndef O_NONBLOCK -# define O_NONBLOCK 0x80 -#endif - -/* - * HPUX needs the flag O_NONBLOCK to get the right non-blocking I/O - * semantics, while most other systems need O_NDELAY. Define the - * constant NBIO_FLAG to be one of these - */ - -#ifdef HPUX -# define NBIO_FLAG O_NONBLOCK -#else -# define NBIO_FLAG O_NDELAY -#endif - -/* - * The type of the status returned by wait varies from UNIX system - * to UNIX system. The macro below defines it: - */ - -#ifdef _AIX -# define WAIT_STATUS_TYPE pid_t -#else -#ifndef NO_UNION_WAIT -# define WAIT_STATUS_TYPE union wait -#else -# define WAIT_STATUS_TYPE int -#endif -#endif - -/* - * Supply definitions for macros to query wait status, if not already - * defined in header files above. - */ - -#ifndef WIFEXITED -# define WIFEXITED(stat) (((*((int *) &(stat))) & 0xff) == 0) -#endif - -#ifndef WEXITSTATUS -# define WEXITSTATUS(stat) (((*((int *) &(stat))) >> 8) & 0xff) -#endif - -#ifndef WIFSIGNALED -# define WIFSIGNALED(stat) (((*((int *) &(stat)))) && ((*((int *) &(stat))) == ((*((int *) &(stat))) & 0x00ff))) -#endif - -#ifndef WTERMSIG -# define WTERMSIG(stat) ((*((int *) &(stat))) & 0x7f) -#endif - -#ifndef WIFSTOPPED -# define WIFSTOPPED(stat) (((*((int *) &(stat))) & 0xff) == 0177) -#endif - -#ifndef WSTOPSIG -# define WSTOPSIG(stat) (((*((int *) &(stat))) >> 8) & 0xff) -#endif - -/* - * Define constants for waitpid() system call if they aren't defined - * by a system header file. - */ - -#ifndef WNOHANG -# define WNOHANG 1 -#endif -#ifndef WUNTRACED -# define WUNTRACED 2 -#endif - -/* - * Supply macros for seek offsets, if they're not already provided by - * an include file. - */ - -#ifndef SEEK_SET -# define SEEK_SET 0 -#endif -#ifndef SEEK_CUR -# define SEEK_CUR 1 -#endif -#ifndef SEEK_END -# define SEEK_END 2 -#endif - -/* - * The stuff below is needed by the "time" command. If this system has no - * gettimeofday call, then must use times and the CLK_TCK #define (from - * sys/param.h) to compute elapsed time. Unfortunately, some systems only - * have HZ and no CLK_TCK, and some might not even have HZ. - */ - -#ifdef NO_GETTOD -# include -# include -# ifndef CLK_TCK -# ifdef HZ -# define CLK_TCK HZ -# else -# define CLK_TCK 60 -# endif -# endif -#else -# ifdef HAVE_BSDGETTIMEOFDAY -# define gettimeofday BSDgettimeofday -# endif -#endif - -#ifdef GETTOD_NOT_DECLARED -EXTERN int gettimeofday _ANSI_ARGS_((struct timeval *tp, - struct timezone *tzp)); -#endif - -/* - * Define access mode constants if they aren't already defined. - */ - -#ifndef F_OK -# define F_OK 00 -#endif -#ifndef X_OK -# define X_OK 01 -#endif -#ifndef W_OK -# define W_OK 02 -#endif -#ifndef R_OK -# define R_OK 04 -#endif - -/* - * Define FD_CLOEEXEC (the close-on-exec flag bit) if it isn't - * already defined. - */ - -#ifndef FD_CLOEXEC -# define FD_CLOEXEC 1 -#endif - -/* - * On systems without symbolic links (i.e. S_IFLNK isn't defined) - * define "lstat" to use "stat" instead. - */ - -#ifndef S_IFLNK -# undef TclOSlstat -# define lstat stat -# define lstat64 stat64 -# define TclOSlstat TclOSstat -#endif - -/* - * Define macros to query file type bits, if they're not already - * defined. - */ - -#ifndef S_ISREG -# ifdef S_IFREG -# define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) -# else -# define S_ISREG(m) 0 -# endif -#endif /* !S_ISREG */ -#ifndef S_ISDIR -# ifdef S_IFDIR -# define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) -# else -# define S_ISDIR(m) 0 -# endif -#endif /* !S_ISDIR */ -#ifndef S_ISCHR -# ifdef S_IFCHR -# define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) -# else -# define S_ISCHR(m) 0 -# endif -#endif /* !S_ISCHR */ -#ifndef S_ISBLK -# ifdef S_IFBLK -# define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) -# else -# define S_ISBLK(m) 0 -# endif -#endif /* !S_ISBLK */ -#ifndef S_ISFIFO -# ifdef S_IFIFO -# define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) -# else -# define S_ISFIFO(m) 0 -# endif -#endif /* !S_ISFIFO */ -#ifndef S_ISLNK -# ifdef S_IFLNK -# define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) -# else -# define S_ISLNK(m) 0 -# endif -#endif /* !S_ISLNK */ -#ifndef S_ISSOCK -# ifdef S_IFSOCK -# define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) -# else -# define S_ISSOCK(m) 0 -# endif -#endif /* !S_ISSOCK */ - -/* - * Make sure that MAXPATHLEN and MAXNAMLEN are defined. - */ - -#ifndef MAXPATHLEN -# ifdef PATH_MAX -# define MAXPATHLEN PATH_MAX -# else -# define MAXPATHLEN 2048 -# endif -#endif - -#ifndef MAXNAMLEN -# ifdef NAME_MAX -# define MAXNAMLEN NAME_MAX -# else -# define MAXNAMLEN 255 -# endif -#endif - -/* - * Make sure that L_tmpnam is defined. - */ - -#ifndef L_tmpnam -# define L_tmpnam 100 -#endif - -/* - * The following macro defines the type of the mask arguments to - * select: - */ - -#ifndef NO_FD_SET -# define SELECT_MASK fd_set -#else /* NO_FD_SET */ -# ifndef _AIX - typedef long fd_mask; -# endif /* !AIX */ -# if defined(_IBMR2) -# define SELECT_MASK void -# else /* !defined(_IBMR2) */ -# define SELECT_MASK int -# endif /* defined(_IBMR2) */ -#endif /* !NO_FD_SET */ - -/* - * Define "NBBY" (number of bits per byte) if it's not already defined. - */ - -#ifndef NBBY -# define NBBY 8 -#endif - -/* - * The following macro defines the number of fd_masks in an fd_set: - */ - -#ifndef FD_SETSIZE -# ifdef OPEN_MAX -# define FD_SETSIZE OPEN_MAX -# else -# define FD_SETSIZE 256 -# endif -#endif /* FD_SETSIZE */ -#if !defined(howmany) -# define howmany(x, y) (((x)+((y)-1))/(y)) -#endif /* !defined(howmany) */ -#ifndef NFDBITS -# define NFDBITS NBBY*sizeof(fd_mask) -#endif /* NFDBITS */ -#define MASK_SIZE howmany(FD_SETSIZE, NFDBITS) - -/* - * Not all systems declare the errno variable in errno.h. so this - * file does it explicitly. The list of system error messages also - * isn't generally declared in a header file anywhere. - */ - -#ifdef NO_ERRNO -extern int errno; -#endif /* NO_ERRNO */ - -/* - * Not all systems declare all the errors that Tcl uses! Provide some - * work-arounds... - */ - -#ifndef EOVERFLOW -# ifdef EFBIG -# define EOVERFLOW EFBIG -# else /* !EFBIG */ -# define EOVERFLOW EINVAL -# endif /* EFBIG */ -#endif /* EOVERFLOW */ - -/* - * Variables provided by the C library: - */ - -#if defined(__APPLE__) && defined(__DYNAMIC__) -# include -# define environ (*_NSGetEnviron()) -# define USE_PUTENV 1 -#else -# if defined(_sgi) || defined(__sgi) -# define environ _environ -# endif -extern char **environ; -#endif - -/* - * At present (12/91) not all stdlib.h implementations declare strtod. - * The declaration below is here to ensure that it's declared, so that - * the compiler won't take the default approach of assuming it returns - * an int. There's no ANSI prototype for it because there would end - * up being too many conflicts with slightly-different prototypes. - */ - -#ifdef NO_STDLIB_H -extern double strtod(); -#endif - -/* - * There is no platform-specific panic routine for Unix in the Tcl internals. - */ - -#define TclpPanic ((Tcl_PanicProc *) NULL) - -/* - * Darwin specifc configure overrides. - */ - -#ifdef __APPLE__ -/* - * Support for fat compiles: configure runs only once for multiple architectures - */ -# if defined(__LP64__) && defined (NO_COREFOUNDATION_64) -# undef HAVE_COREFOUNDATION -# endif /* __LP64__ && NO_COREFOUNDATION_64 */ -# include -# ifdef __DARWIN_UNIX03 -# if __DARWIN_UNIX03 -# undef HAVE_PUTENV_THAT_COPIES -# else -# define HAVE_PUTENV_THAT_COPIES 1 -# endif -# endif /* __DARWIN_UNIX03 */ -/* - * The termios configure test program relies on the configure script being run - * from a terminal, which is not the case e.g. when configuring from Xcode. - * Since termios is known to be present on all Mac OS X releases since 10.0, - * override the configure defines for serial API here. [Bug 497147] - */ -# define USE_TERMIOS 1 -# undef USE_TERMIO -# undef USE_SGTTY -/* - * Include AvailabilityMacros.h here (when available) to ensure any symbolic - * MAC_OS_X_VERSION_* constants passed on the command line are translated. - */ -# ifdef HAVE_AVAILABILITYMACROS_H -# include -# endif -/* - * Support for weak import. - */ -# ifdef HAVE_WEAK_IMPORT -# if !defined(HAVE_AVAILABILITYMACROS_H) || !defined(MAC_OS_X_VERSION_MIN_REQUIRED) -# undef HAVE_WEAK_IMPORT -# else -# ifndef WEAK_IMPORT_ATTRIBUTE -# define WEAK_IMPORT_ATTRIBUTE __attribute__((weak_import)) -# endif -# endif -# endif /* HAVE_WEAK_IMPORT */ -/* - * Support for MAC_OS_X_VERSION_MAX_ALLOWED define from AvailabilityMacros.h: - * only use API available in the indicated OS version or earlier. - */ -# ifdef MAC_OS_X_VERSION_MAX_ALLOWED -# if MAC_OS_X_VERSION_MAX_ALLOWED < 1050 && defined(__LP64__) -# undef HAVE_COREFOUNDATION -# endif -# if MAC_OS_X_VERSION_MAX_ALLOWED < 1040 -# undef HAVE_OSSPINLOCKLOCK -# undef HAVE_PTHREAD_ATFORK -# undef HAVE_COPYFILE -# endif -# if MAC_OS_X_VERSION_MAX_ALLOWED < 1030 -# ifdef TCL_THREADS - /* prior to 10.3, realpath is not threadsafe, c.f. bug 711232 */ -# define NO_REALPATH 1 -# endif -# undef HAVE_LANGINFO -# endif -# endif /* MAC_OS_X_VERSION_MAX_ALLOWED */ -# if defined(HAVE_COREFOUNDATION) && defined(__LP64__) && \ - defined(HAVE_WEAK_IMPORT) && MAC_OS_X_VERSION_MIN_REQUIRED < 1050 -# warning "Weak import of 64-bit CoreFoundation is not supported, will not run on Mac OS X < 10.5." -# endif -/* - * At present, using vfork() instead of fork() causes execve() to fail - * intermittently on Darwin x86_64. rdar://4685553 - */ -# if defined(__x86_64__) && !defined(FIXED_RDAR_4685553) -# undef USE_VFORK -# endif /* __x86_64__ */ -#endif /* __APPLE__ */ - -/* - *--------------------------------------------------------------------------- - * The following macros and declarations represent the interface between - * generic and unix-specific parts of Tcl. Some of the macros may override - * functions declared in tclInt.h. - *--------------------------------------------------------------------------- - */ - -/* - * The default platform eol translation on Unix is TCL_TRANSLATE_LF. - */ - -#ifdef DJGPP -#define TCL_PLATFORM_TRANSLATION TCL_TRANSLATE_CRLF -typedef int socklen_t; -#else -#define TCL_PLATFORM_TRANSLATION TCL_TRANSLATE_LF -#endif - -/* - * The following macros have trivial definitions, allowing generic code to - * address platform-specific issues. - */ - -#define TclpGetPid(pid) ((unsigned long) (pid)) -#define TclpReleaseFile(file) /* Nothing. */ - -/* - * The following defines wrap the system memory allocation routines. - */ - -#define TclpSysAlloc(size, isBin) malloc((size_t)size) -#define TclpSysFree(ptr) free((char*)ptr) -#define TclpSysRealloc(ptr, size) realloc((char*)ptr, (size_t)size) - -/* - * The following macros and declaration wrap the C runtime library - * functions. - */ - -#define TclpExit exit - -#ifdef TCL_THREADS -EXTERN struct tm * TclpLocaltime(CONST time_t *); -EXTERN struct tm * TclpGmtime(CONST time_t *); -EXTERN char * TclpInetNtoa(struct in_addr); -/* #define localtime(x) TclpLocaltime(x) - * #define gmtime(x) TclpGmtime(x) */ -# undef inet_ntoa -# define inet_ntoa(x) TclpInetNtoa(x) -# ifdef HAVE_PTHREAD_ATTR_GET_NP -# define TclpPthreadGetAttrs pthread_attr_get_np -# ifdef ATTRGETNP_NOT_DECLARED -/* - * Assume it is in pthread_np.h if it isn't in pthread.h. [Bug 1064882] - * We might need to revisit this in the future. :^( - */ -# include -# include -# endif -# else -# ifdef HAVE_PTHREAD_GETATTR_NP -# define TclpPthreadGetAttrs pthread_getattr_np -# ifdef GETATTRNP_NOT_DECLARED -EXTERN int pthread_getattr_np _ANSI_ARGS_((pthread_t, pthread_attr_t *)); -# endif -# endif /* HAVE_PTHREAD_GETATTR_NP */ -# endif /* HAVE_PTHREAD_ATTR_GET_NP */ -#endif /* TCL_THREADS */ - -/* - * Set of MT-safe implementations of some - * known-to-be-MT-unsafe library calls. - * Instead of returning pointers to the - * static storage, those return pointers - * to the TSD data. - */ - -#include -#include - -#ifndef MODULE_SCOPE -#define MODULE_SCOPE extern -#endif - -MODULE_SCOPE struct passwd* TclpGetPwNam(const char *name); -MODULE_SCOPE struct group* TclpGetGrNam(const char *name); -MODULE_SCOPE struct passwd* TclpGetPwUid(uid_t uid); -MODULE_SCOPE struct group* TclpGetGrGid(gid_t gid); -MODULE_SCOPE struct hostent* TclpGetHostByName(const char *name); -MODULE_SCOPE struct hostent* TclpGetHostByAddr(const char *addr, int length, int type); - -#endif /* _TCLUNIXPORT */ diff --git a/src/other/togl/include/tcltk/tk8.5/tclWinPort.h b/src/other/togl/include/tcltk/tk8.5/tclWinPort.h deleted file mode 100644 index 8820155ccc2..00000000000 --- a/src/other/togl/include/tcltk/tk8.5/tclWinPort.h +++ /dev/null @@ -1,527 +0,0 @@ -/* - * tclWinPort.h -- - * - * This header file handles porting issues that occur because of - * differences between Windows and Unix. It should be the only - * file that contains #ifdefs to handle different flavors of OS. - * - * Copyright (c) 1994-1997 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TCLWINPORT -#define _TCLWINPORT - -#ifdef CHECK_UNICODE_CALLS -# define _UNICODE -# define UNICODE -# define __TCHAR_DEFINED - typedef float *_TCHAR; -# define _TCHAR_DEFINED - typedef float *TCHAR; -#endif /* CHECK_UNICODE_CALLS */ - -/* - *--------------------------------------------------------------------------- - * The following sets of #includes and #ifdefs are required to get Tcl to - * compile under the windows compilers. - *--------------------------------------------------------------------------- - */ - -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * These string functions are not defined with the same names on Windows. - */ - -#define strcasecmp stricmp -#define strncasecmp strnicmp - -/* - * Need to block out these includes for building extensions with MetroWerks - * compiler for Win32. - */ - -#ifndef __MWERKS__ -#include -#include -# ifdef __BORLANDC__ -# include -# else -# include -# endif /* __BORLANDC__ */ -#endif /* __MWERKS__ */ - -#include - -#define WIN32_LEAN_AND_MEAN -#include -#undef WIN32_LEAN_AND_MEAN - -/* - * Ask for the winsock function typedefs, also. - */ -#define INCL_WINSOCK_API_TYPEDEFS 1 -#include - -/* - * Define EINPROGRESS in terms of WSAEINPROGRESS. - */ - -#ifndef EINPROGRESS -# define EINPROGRESS WSAEINPROGRESS -#endif - -/* - * If ENOTSUP is not defined, define it to a value that will never occur. - */ - -#ifndef ENOTSUP -# define ENOTSUP -1030507 -#endif - -/* - * The following defines redefine the Windows Socket errors as - * BSD errors so Tcl_PosixError can do the right thing. - */ - -#ifndef EWOULDBLOCK -# define EWOULDBLOCK EAGAIN -#endif -#ifndef EALREADY -# define EALREADY 149 /* operation already in progress */ -#endif -#ifndef ENOTSOCK -# define ENOTSOCK 95 /* Socket operation on non-socket */ -#endif -#ifndef EDESTADDRREQ -# define EDESTADDRREQ 96 /* Destination address required */ -#endif -#ifndef EMSGSIZE -# define EMSGSIZE 97 /* Message too long */ -#endif -#ifndef EPROTOTYPE -# define EPROTOTYPE 98 /* Protocol wrong type for socket */ -#endif -#ifndef ENOPROTOOPT -# define ENOPROTOOPT 99 /* Protocol not available */ -#endif -#ifndef EPROTONOSUPPORT -# define EPROTONOSUPPORT 120 /* Protocol not supported */ -#endif -#ifndef ESOCKTNOSUPPORT -# define ESOCKTNOSUPPORT 121 /* Socket type not supported */ -#endif -#ifndef EOPNOTSUPP -# define EOPNOTSUPP 122 /* Operation not supported on socket */ -#endif -#ifndef EPFNOSUPPORT -# define EPFNOSUPPORT 123 /* Protocol family not supported */ -#endif -#ifndef EAFNOSUPPORT -# define EAFNOSUPPORT 124 /* Address family not supported */ -#endif -#ifndef EADDRINUSE -# define EADDRINUSE 125 /* Address already in use */ -#endif -#ifndef EADDRNOTAVAIL -# define EADDRNOTAVAIL 126 /* Can't assign requested address */ -#endif -#ifndef ENETDOWN -# define ENETDOWN 127 /* Network is down */ -#endif -#ifndef ENETUNREACH -# define ENETUNREACH 128 /* Network is unreachable */ -#endif -#ifndef ENETRESET -# define ENETRESET 129 /* Network dropped connection on reset */ -#endif -#ifndef ECONNABORTED -# define ECONNABORTED 130 /* Software caused connection abort */ -#endif -#ifndef ECONNRESET -# define ECONNRESET 131 /* Connection reset by peer */ -#endif -#ifndef ENOBUFS -# define ENOBUFS 132 /* No buffer space available */ -#endif -#ifndef EISCONN -# define EISCONN 133 /* Socket is already connected */ -#endif -#ifndef ENOTCONN -# define ENOTCONN 134 /* Socket is not connected */ -#endif -#ifndef ESHUTDOWN -# define ESHUTDOWN 143 /* Can't send after socket shutdown */ -#endif -#ifndef ETOOMANYREFS -# define ETOOMANYREFS 144 /* Too many references: can't splice */ -#endif -#ifndef ETIMEDOUT -# define ETIMEDOUT 145 /* Connection timed out */ -#endif -#ifndef ECONNREFUSED -# define ECONNREFUSED 146 /* Connection refused */ -#endif -#ifndef ELOOP -# define ELOOP 90 /* Symbolic link loop */ -#endif -#ifndef EHOSTDOWN -# define EHOSTDOWN 147 /* Host is down */ -#endif -#ifndef EHOSTUNREACH -# define EHOSTUNREACH 148 /* No route to host */ -#endif -#ifndef ENOTEMPTY -# define ENOTEMPTY 93 /* directory not empty */ -#endif -#ifndef EUSERS -# define EUSERS 94 /* Too many users (for UFS) */ -#endif -#ifndef EDQUOT -# define EDQUOT 69 /* Disc quota exceeded */ -#endif -#ifndef ESTALE -# define ESTALE 151 /* Stale NFS file handle */ -#endif -#ifndef EREMOTE -# define EREMOTE 66 /* The object is remote */ -#endif - -/* - * It is very hard to determine how Windows reacts to attempting to - * set a file pointer outside the input datatype's representable - * region. So we fake the error code ourselves. - */ - -#ifndef EOVERFLOW -# ifdef EFBIG -# define EOVERFLOW EFBIG /* The object couldn't fit in the datatype */ -# else /* !EFBIG */ -# define EOVERFLOW EINVAL /* Better than nothing! */ -# endif /* EFBIG */ -#endif /* !EOVERFLOW */ - -/* - * Signals not known to the standard ANSI signal.h. These are used - * by Tcl_WaitPid() and generic/tclPosixStr.c - */ - -#ifndef SIGTRAP -# define SIGTRAP 5 -#endif -#ifndef SIGBUS -# define SIGBUS 10 -#endif - -/* - * Supply definitions for macros to query wait status, if not already - * defined in header files above. - */ - -#if TCL_UNION_WAIT -# define WAIT_STATUS_TYPE union wait -#else -# define WAIT_STATUS_TYPE int -#endif /* TCL_UNION_WAIT */ - -#ifndef WIFEXITED -# define WIFEXITED(stat) (((*((int *) &(stat))) & 0xC0000000) == 0) -#endif - -#ifndef WEXITSTATUS -# define WEXITSTATUS(stat) (*((int *) &(stat))) -#endif - -#ifndef WIFSIGNALED -# define WIFSIGNALED(stat) ((*((int *) &(stat))) & 0xC0000000) -#endif - -#ifndef WTERMSIG -# define WTERMSIG(stat) ((*((int *) &(stat))) & 0x7f) -#endif - -#ifndef WIFSTOPPED -# define WIFSTOPPED(stat) 0 -#endif - -#ifndef WSTOPSIG -# define WSTOPSIG(stat) (((*((int *) &(stat))) >> 8) & 0xff) -#endif - -/* - * Define constants for waitpid() system call if they aren't defined - * by a system header file. - */ - -#ifndef WNOHANG -# define WNOHANG 1 -#endif -#ifndef WUNTRACED -# define WUNTRACED 2 -#endif - -/* - * Define access mode constants if they aren't already defined. - */ - -#ifndef F_OK -# define F_OK 00 -#endif -#ifndef X_OK -# define X_OK 01 -#endif -#ifndef W_OK -# define W_OK 02 -#endif -#ifndef R_OK -# define R_OK 04 -#endif - -/* - * Define macros to query file type bits, if they're not already - * defined. - */ - -#ifndef S_IFLNK -#define S_IFLNK 0120000 /* Symbolic Link */ -#endif - -#ifndef S_ISREG -# ifdef S_IFREG -# define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) -# else -# define S_ISREG(m) 0 -# endif -#endif /* !S_ISREG */ -#ifndef S_ISDIR -# ifdef S_IFDIR -# define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) -# else -# define S_ISDIR(m) 0 -# endif -#endif /* !S_ISDIR */ -#ifndef S_ISCHR -# ifdef S_IFCHR -# define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) -# else -# define S_ISCHR(m) 0 -# endif -#endif /* !S_ISCHR */ -#ifndef S_ISBLK -# ifdef S_IFBLK -# define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) -# else -# define S_ISBLK(m) 0 -# endif -#endif /* !S_ISBLK */ -#ifndef S_ISFIFO -# ifdef S_IFIFO -# define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) -# else -# define S_ISFIFO(m) 0 -# endif -#endif /* !S_ISFIFO */ -#ifndef S_ISLNK -# ifdef S_IFLNK -# define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) -# else -# define S_ISLNK(m) 0 -# endif -#endif /* !S_ISLNK */ - - -/* - * Define MAXPATHLEN in terms of MAXPATH if available - */ - -#ifndef MAXPATH -#define MAXPATH MAX_PATH -#endif /* MAXPATH */ - -#ifndef MAXPATHLEN -#define MAXPATHLEN MAXPATH -#endif /* MAXPATHLEN */ - -/* - * Define pid_t and uid_t if they're not already defined. - */ - -#if ! TCL_PID_T -# define pid_t int -#endif /* !TCL_PID_T */ -#if ! TCL_UID_T -# define uid_t int -#endif /* !TCL_UID_T */ - -/* - * Visual C++ has some odd names for common functions, so we need to - * define a few macros to handle them. Also, it defines EDEADLOCK and - * EDEADLK as the same value, which confuses Tcl_ErrnoId(). - */ - -#if defined(_MSC_VER) || defined(__MINGW32__) -# define environ _environ -# define hypot _hypot -# define exception _exception -# undef EDEADLOCK -# if defined(__MINGW32__) && !defined(__MSVCRT__) -# define timezone _timezone -# endif -#endif /* _MSC_VER || __MINGW32__ */ - -/* - * Borland's timezone and environ functions. - */ - -#ifdef __BORLANDC__ -# define timezone _timezone -# define environ _environ -#endif /* __BORLANDC__ */ - -#ifdef __CYGWIN__ -/* On Cygwin, the environment is imported from the Cygwin DLL. */ - DLLIMPORT extern char **__cygwin_environ; -# define environ __cygwin_environ -# define putenv TclCygwinPutenv -# define timezone _timezone -#endif /* __CYGWIN__ */ - - -#ifdef __WATCOMC__ - /* - * OpenWatcom uses a wine derived winsock2.h that is missing the - * LPFN_* typedefs. - */ -# define HAVE_NO_LPFN_DECLS -# if !defined(__CHAR_SIGNED__) -# error "You must use the -j switch to ensure char is signed." -# endif -#endif - - -/* - * MSVC 8.0 started to mark many standard C library functions depreciated - * including the *printf family and others. Tell it to shut up. - * (_MSC_VER is 1200 for VC6, 1300 or 1310 for vc7.net, 1400 for 8.0) - */ -#if _MSC_VER >= 1400 -#pragma warning(disable:4996) -#endif - - -/* - * There is no platform-specific panic routine for Windows in the Tcl internals. - */ - -#define TclpPanic ((Tcl_PanicProc *) NULL) - -/* - *--------------------------------------------------------------------------- - * The following macros and declarations represent the interface between - * generic and windows-specific parts of Tcl. Some of the macros may - * override functions declared in tclInt.h. - *--------------------------------------------------------------------------- - */ - -/* - * The default platform eol translation on Windows is TCL_TRANSLATE_CRLF: - */ - -#define TCL_PLATFORM_TRANSLATION TCL_TRANSLATE_CRLF - -/* - * Declare dynamic loading extension macro. - */ - -#define TCL_SHLIB_EXT ".dll" - -/* - * The following define ensures that we use the native putenv - * implementation to modify the environment array. This keeps - * the C level environment in synch with the system level environment. - */ - -#define USE_PUTENV 1 -#define USE_PUTENV_FOR_UNSET 1 - -/* - * Msvcrt's putenv() copies the string rather than takes ownership of it. - */ - -#if defined(_MSC_VER) || defined(__MINGW32__) -# define HAVE_PUTENV_THAT_COPIES 1 -#endif - -/* - * Older version of Mingw are known to lack a MWMO_ALERTABLE define. - */ -#if defined(HAVE_NO_MWMO_ALERTABLE) -# define MWMO_ALERTABLE 2 -#endif - -/* - * The following defines wrap the system memory allocation routines for - * use by tclAlloc.c. - */ - -#ifdef __CYGWIN__ -# define TclpSysAlloc(size, isBin) malloc((size)) -# define TclpSysFree(ptr) free((ptr)) -# define TclpSysRealloc(ptr, size) realloc((ptr), (size)) -#else -# define TclpSysAlloc(size, isBin) ((void*)HeapAlloc(GetProcessHeap(), \ - (DWORD)0, (DWORD)size)) -# define TclpSysFree(ptr) (HeapFree(GetProcessHeap(), \ - (DWORD)0, (HGLOBAL)ptr)) -# define TclpSysRealloc(ptr, size) ((void*)HeapReAlloc(GetProcessHeap(), \ - (DWORD)0, (LPVOID)ptr, (DWORD)size)) -#endif - -/* - * The following defines map from standard socket names to our internal - * wrappers that redirect through the winSock function table (see the - * file tclWinSock.c). - */ - -#define getservbyname TclWinGetServByName -#define getsockopt TclWinGetSockOpt -#define ntohs TclWinNToHS -#define setsockopt TclWinSetSockOpt -/* This type is not defined in the Windows headers */ -#define socklen_t int - - -/* - * The following macros have trivial definitions, allowing generic code to - * address platform-specific issues. - */ - -#define TclpReleaseFile(file) ckfree((char *) file) - -/* - * The following macros and declarations wrap the C runtime library - * functions. - */ - -#define TclpExit exit - -#ifndef INVALID_SET_FILE_POINTER -#define INVALID_SET_FILE_POINTER 0xFFFFFFFF -#endif /* INVALID_SET_FILE_POINTER */ - -#endif /* _TCLWINPORT */ diff --git a/src/other/togl/include/tcltk/tk8.5/tkInt.h b/src/other/togl/include/tcltk/tk8.5/tkInt.h deleted file mode 100644 index af879250468..00000000000 --- a/src/other/togl/include/tcltk/tk8.5/tkInt.h +++ /dev/null @@ -1,1237 +0,0 @@ -/* - * tkInt.h -- - * - * Declarations for things used internally by the Tk functions but not - * exported outside the module. - * - * Copyright (c) 1990-1994 The Regents of the University of California. - * Copyright (c) 1994-1997 Sun Microsystems, Inc. - * Copyright (c) 1998 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution of - * this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: Id - */ - -#ifndef _TKINT -#define _TKINT - -#ifndef _TK -#include "tk.h" -#endif -#ifndef _TCL -#include "tcl.h" -#endif -#ifndef _TKPORT -#include "tkPort.h" -#endif - -/* - * Ensure WORDS_BIGENDIAN is defined correcly: - * Needs to happen here in addition to configure to work with fat compiles on - * Darwin (where configure runs only once for multiple architectures). - */ - -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_PARAM_H -# include -#endif -#ifdef BYTE_ORDER -# ifdef BIG_ENDIAN -# if BYTE_ORDER == BIG_ENDIAN -# undef WORDS_BIGENDIAN -# define WORDS_BIGENDIAN -# endif -# endif -# ifdef LITTLE_ENDIAN -# if BYTE_ORDER == LITTLE_ENDIAN -# undef WORDS_BIGENDIAN -# endif -# endif -#endif - -/* - * Used to tag functions that are only to be visible within the module being - * built and not outside it (where this is supported by the linker). - */ - -#ifndef MODULE_SCOPE -# ifdef __cplusplus -# define MODULE_SCOPE extern "C" -# else -# define MODULE_SCOPE extern -# endif -#endif - -/* - * Macros used to cast between pointers and integers (e.g. when storing an int - * in ClientData), on 64-bit architectures they avoid gcc warning about "cast - * to/from pointer from/to integer of different size". - */ - -#if !defined(INT2PTR) && !defined(PTR2INT) -# if defined(HAVE_INTPTR_T) || defined(intptr_t) -# define INT2PTR(p) ((void*)(intptr_t)(p)) -# define PTR2INT(p) ((int)(intptr_t)(p)) -# else -# define INT2PTR(p) ((void*)(p)) -# define PTR2INT(p) ((int)(p)) -# endif -#endif -#if !defined(UINT2PTR) && !defined(PTR2UINT) -# if defined(HAVE_UINTPTR_T) || defined(uintptr_t) -# define UINT2PTR(p) ((void*)(uintptr_t)(p)) -# define PTR2UINT(p) ((unsigned int)(uintptr_t)(p)) -# else -# define UINT2PTR(p) ((void*)(p)) -# define PTR2UINT(p) ((unsigned int)(p)) -# endif -#endif - -/* - * Opaque type declarations: - */ - -typedef struct TkColormap TkColormap; -typedef struct TkFontAttributes TkFontAttributes; -typedef struct TkGrabEvent TkGrabEvent; -typedef struct TkpCursor_ *TkpCursor; -typedef struct TkRegion_ *TkRegion; -typedef struct TkStressedCmap TkStressedCmap; -typedef struct TkBindInfo_ *TkBindInfo; - -/* - * Function types. - */ - -typedef int (TkBindEvalProc)(ClientData clientData, Tcl_Interp *interp, - XEvent *eventPtr, Tk_Window tkwin, KeySym keySym); -typedef void (TkBindFreeProc)(ClientData clientData); - -/* - * One of the following structures is maintained for each cursor in use in the - * system. This structure is used by tkCursor.c and the various system - * specific cursor files. - */ - -typedef struct TkCursor { - Tk_Cursor cursor; /* System specific identifier for cursor. */ - Display *display; /* Display containing cursor. Needed for - * disposal and retrieval of cursors. */ - int resourceRefCount; /* Number of active uses of this cursor (each - * active use corresponds to a call to - * Tk_AllocPreserveFromObj or Tk_Preserve). If - * this count is 0, then this structure is no - * longer valid and it isn't present in a hash - * table: it is being kept around only because - * there are objects referring to it. The - * structure is freed when resourceRefCount - * and objRefCount are both 0. */ - int objRefCount; /* Number of Tcl objects that reference this - * structure.. */ - Tcl_HashTable *otherTable; /* Second table (other than idTable) used to - * index this entry. */ - Tcl_HashEntry *hashPtr; /* Entry in otherTable for this structure - * (needed when deleting). */ - Tcl_HashEntry *idHashPtr; /* Entry in idTable for this structure (needed - * when deleting). */ - struct TkCursor *nextPtr; /* Points to the next TkCursor structure with - * the same name. Cursors with the same name - * but different displays are chained together - * off a single hash table entry. */ -} TkCursor; - -/* - * This defines whether we should try to use XIM over-the-spot style input. - * Allow users to override it. It is a much more elegant use of XIM, but uses - * a bit more memory. - */ - -#ifndef TK_XIM_SPOT -#define TK_XIM_SPOT 1 -#endif - -/* - * The following structure is kept one-per-TkDisplay to maintain information - * about the caret (cursor location) on this display. This is used to dictate - * global focus location (Windows Accessibility guidelines) and to position - * the IME or XIM over-the-spot window. - */ - -typedef struct TkCaret { - struct TkWindow *winPtr; /* The window on which we requested caret - * placement. */ - int x; /* Relative x coord of the caret. */ - int y; /* Relative y coord of the caret. */ - int height; /* Specified height of the window. */ -} TkCaret; - -/* - * One of the following structures is maintained for each display containing a - * window managed by Tk. In part, the structure is used to store thread- - * specific data, since each thread will have its own TkDisplay structure. - */ - -typedef struct TkDisplay { - Display *display; /* Xlib's info about display. */ - struct TkDisplay *nextPtr; /* Next in list of all displays. */ - char *name; /* Name of display (with any screen identifier - * removed). Malloc-ed. */ - Time lastEventTime; /* Time of last event received for this - * display. */ - - /* - * Information used primarily by tk3d.c: - */ - - int borderInit; /* 0 means borderTable needs initializing. */ - Tcl_HashTable borderTable; /* Maps from color name to TkBorder - * structure. */ - - /* - * Information used by tkAtom.c only: - */ - - int atomInit; /* 0 means stuff below hasn't been initialized - * yet. */ - Tcl_HashTable nameTable; /* Maps from names to Atom's. */ - Tcl_HashTable atomTable; /* Maps from Atom's back to names. */ - - /* - * Information used primarily by tkBind.c: - */ - - int bindInfoStale; /* Non-zero means the variables in this part - * of the structure are potentially incorrect - * and should be recomputed. */ - unsigned int modeModMask; /* Has one bit set to indicate the modifier - * corresponding to "mode shift". If no such - * modifier, than this is zero. */ - unsigned int metaModMask; /* Has one bit set to indicate the modifier - * corresponding to the "Meta" key. If no such - * modifier, then this is zero. */ - unsigned int altModMask; /* Has one bit set to indicate the modifier - * corresponding to the "Meta" key. If no such - * modifier, then this is zero. */ - enum {LU_IGNORE, LU_CAPS, LU_SHIFT} lockUsage; - /* Indicates how to interpret lock - * modifier. */ - int numModKeyCodes; /* Number of entries in modKeyCodes array - * below. */ - KeyCode *modKeyCodes; /* Pointer to an array giving keycodes for all - * of the keys that have modifiers associated - * with them. Malloc'ed, but may be NULL. */ - - /* - * Information used by tkBitmap.c only: - */ - - int bitmapInit; /* 0 means tables above need initializing. */ - int bitmapAutoNumber; /* Used to number bitmaps. */ - Tcl_HashTable bitmapNameTable; - /* Maps from name of bitmap to the first - * TkBitmap record for that name. */ - Tcl_HashTable bitmapIdTable;/* Maps from bitmap id to the TkBitmap - * structure for the bitmap. */ - Tcl_HashTable bitmapDataTable; - /* Used by Tk_GetBitmapFromData to map from a - * collection of in-core data about a bitmap - * to a reference giving an automatically- - * generated name for the bitmap. */ - - /* - * Information used by tkCanvas.c only: - */ - - int numIdSearches; - int numSlowSearches; - - /* - * Used by tkColor.c only: - */ - - int colorInit; /* 0 means color module needs initializing. */ - TkStressedCmap *stressPtr; /* First in list of colormaps that have filled - * up, so we have to pick an approximate - * color. */ - Tcl_HashTable colorNameTable; - /* Maps from color name to TkColor structure - * for that color. */ - Tcl_HashTable colorValueTable; - /* Maps from integer RGB values to TkColor - * structures. */ - - /* - * Used by tkCursor.c only: - */ - - int cursorInit; /* 0 means cursor module need initializing. */ - Tcl_HashTable cursorNameTable; - /* Maps from a string name to a cursor to the - * TkCursor record for the cursor. */ - Tcl_HashTable cursorDataTable; - /* Maps from a collection of in-core data - * about a cursor to a TkCursor structure. */ - Tcl_HashTable cursorIdTable; - /* Maps from a cursor id to the TkCursor - * structure for the cursor. */ - char cursorString[20]; /* Used to store a cursor id string. */ - Font cursorFont; /* Font to use for standard cursors. None - * means font not loaded yet. */ - - /* - * Information used by tkError.c only: - */ - - struct TkErrorHandler *errorPtr; - /* First in list of error handlers for this - * display. NULL means no handlers exist at - * present. */ - int deleteCount; /* Counts # of handlers deleted since last - * time inactive handlers were garbage- - * collected. When this number gets big, - * handlers get cleaned up. */ - - /* - * Used by tkEvent.c only: - */ - - struct TkWindowEvent *delayedMotionPtr; - /* Points to a malloc-ed motion event whose - * processing has been delayed in the hopes - * that another motion event will come along - * right away and we can merge the two of them - * together. NULL means that there is no - * delayed motion event. */ - - /* - * Information used by tkFocus.c only: - */ - - int focusDebug; /* 1 means collect focus debugging - * statistics. */ - struct TkWindow *implicitWinPtr; - /* If the focus arrived at a toplevel window - * implicitly via an Enter event (rather than - * via a FocusIn event), this points to the - * toplevel window. Otherwise it is NULL. */ - struct TkWindow *focusPtr; /* Points to the window on this display that - * should be receiving keyboard events. When - * multiple applications on the display have - * the focus, this will refer to the innermost - * window in the innermost application. This - * information isn't used under Unix or - * Windows, but it's needed on the Mac. */ - - /* - * Information used by tkGC.c only: - */ - - Tcl_HashTable gcValueTable; /* Maps from a GC's values to a TkGC structure - * describing a GC with those values. */ - Tcl_HashTable gcIdTable; /* Maps from a GC to a TkGC. */ - int gcInit; /* 0 means the tables below need - * initializing. */ - - /* - * Information used by tkGeometry.c only: - */ - - Tcl_HashTable maintainHashTable; - /* Hash table that maps from a master's - * Tk_Window token to a list of slaves managed - * by that master. */ - int geomInit; - - /* - * Information used by tkGet.c only: - */ - - Tcl_HashTable uidTable; /* Stores all Tk_Uid used in a thread. */ - int uidInit; /* 0 means uidTable needs initializing. */ - - /* - * Information used by tkGrab.c only: - */ - - struct TkWindow *grabWinPtr;/* Window in which the pointer is currently - * grabbed, or NULL if none. */ - struct TkWindow *eventualGrabWinPtr; - /* Value that grabWinPtr will have once the - * grab event queue (below) has been - * completely emptied. */ - struct TkWindow *buttonWinPtr; - /* Window in which first mouse button was - * pressed while grab was in effect, or NULL - * if no such press in effect. */ - struct TkWindow *serverWinPtr; - /* If no application contains the pointer then - * this is NULL. Otherwise it contains the - * last window for which we've gotten an Enter - * or Leave event from the server (i.e. the - * last window known to have contained the - * pointer). Doesn't reflect events that were - * synthesized in tkGrab.c. */ - TkGrabEvent *firstGrabEventPtr; - /* First in list of enter/leave events - * synthesized by grab code. These events must - * be processed in order before any other - * events are processed. NULL means no such - * events. */ - TkGrabEvent *lastGrabEventPtr; - /* Last in list of synthesized events, or NULL - * if list is empty. */ - int grabFlags; /* Miscellaneous flag values. See definitions - * in tkGrab.c. */ - - /* - * Information used by tkGrid.c only: - */ - - int gridInit; /* 0 means table below needs initializing. */ - Tcl_HashTable gridHashTable;/* Maps from Tk_Window tokens to corresponding - * Grid structures. */ - - /* - * Information used by tkImage.c only: - */ - - int imageId; /* Value used to number image ids. */ - - /* - * Information used by tkMacWinMenu.c only: - */ - - int postCommandGeneration; - - /* - * Information used by tkOption.c only. - */ - - /* - * Information used by tkPack.c only. - */ - - int packInit; /* 0 means table below needs initializing. */ - Tcl_HashTable packerHashTable; - /* Maps from Tk_Window tokens to corresponding - * Packer structures. */ - - /* - * Information used by tkPlace.c only. - */ - - int placeInit; /* 0 means tables below need initializing. */ - Tcl_HashTable masterTable; /* Maps from Tk_Window toke to the Master - * structure for the window, if it exists. */ - Tcl_HashTable slaveTable; /* Maps from Tk_Window toke to the Slave - * structure for the window, if it exists. */ - - /* - * Information used by tkSelect.c and tkClipboard.c only: - */ - - struct TkSelectionInfo *selectionInfoPtr; - /* First in list of selection information - * records. Each entry contains information - * about the current owner of a particular - * selection on this display. */ - Atom multipleAtom; /* Atom for MULTIPLE. None means selection - * stuff isn't initialized. */ - Atom incrAtom; /* Atom for INCR. */ - Atom targetsAtom; /* Atom for TARGETS. */ - Atom timestampAtom; /* Atom for TIMESTAMP. */ - Atom textAtom; /* Atom for TEXT. */ - Atom compoundTextAtom; /* Atom for COMPOUND_TEXT. */ - Atom applicationAtom; /* Atom for TK_APPLICATION. */ - Atom windowAtom; /* Atom for TK_WINDOW. */ - Atom clipboardAtom; /* Atom for CLIPBOARD. */ - Atom utf8Atom; /* Atom for UTF8_STRING. */ - - Tk_Window clipWindow; /* Window used for clipboard ownership and to - * retrieve selections between processes. NULL - * means clipboard info hasn't been - * initialized. */ - int clipboardActive; /* 1 means we currently own the clipboard - * selection, 0 means we don't. */ - struct TkMainInfo *clipboardAppPtr; - /* Last application that owned clipboard. */ - struct TkClipboardTarget *clipTargetPtr; - /* First in list of clipboard type information - * records. Each entry contains information - * about the buffers for a given selection - * target. */ - - /* - * Information used by tkSend.c only: - */ - - Tk_Window commTkwin; /* Window used for communication between - * interpreters during "send" commands. NULL - * means send info hasn't been initialized - * yet. */ - Atom commProperty; /* X's name for comm property. */ - Atom registryProperty; /* X's name for property containing registry - * of interpreter names. */ - Atom appNameProperty; /* X's name for property used to hold the - * application name on each comm window. */ - - /* - * Information used by tkXId.c only: - */ - - struct TkIdStack *idStackPtr; - /* First in list of chunks of free resource - * identifiers, or NULL if there are no free - * resources. */ - XID (*defaultAllocProc) (Display *display); - /* Default resource allocator for display. */ - struct TkIdStack *windowStackPtr; - /* First in list of chunks of window ids that - * can't be reused right now. */ - Tcl_TimerToken idCleanupScheduled; - /* If set, it means a call to WindowIdCleanup - * has already been scheduled, 0 means it - * hasn't. */ - - /* - * Information used by tkUnixWm.c and tkWinWm.c only: - */ - - struct TkWmInfo *firstWmPtr;/* Points to first top-level window. */ - struct TkWmInfo *foregroundWmPtr; - /* Points to the foreground window. */ - - /* - * Information maintained by tkWindow.c for use later on by tkXId.c: - */ - - int destroyCount; /* Number of Tk_DestroyWindow operations in - * progress. */ - unsigned long lastDestroyRequest; - /* Id of most recent XDestroyWindow request; - * can re-use ids in windowStackPtr when - * server has seen this request and event - * queue is empty. */ - - /* - * Information used by tkVisual.c only: - */ - - TkColormap *cmapPtr; /* First in list of all non-default colormaps - * allocated for this display. */ - - /* - * Miscellaneous information: - */ - -#ifdef TK_USE_INPUT_METHODS - XIM inputMethod; /* Input method for this display. */ -#if TK_XIM_SPOT - XFontSet inputXfs; /* XFontSet cached for over-the-spot XIM. */ -#endif -#endif /* TK_USE_INPUT_METHODS */ - Tcl_HashTable winTable; /* Maps from X window ids to TkWindow ptrs. */ - - int refCount; /* Reference count of how many Tk applications - * are using this display. Used to clean up - * the display when we no longer have any Tk - * applications using it. */ - - /* - * The following field were all added for Tk8.3 - */ - - int mouseButtonState; /* Current mouse button state for this - * display. */ - Window mouseButtonWindow; /* Window the button state was set in, added - * in Tk 8.4. */ - Window warpWindow; - int warpX; - int warpY; - - /* - * The following field(s) were all added for Tk8.4 - */ - - unsigned int flags; /* Various flag values: these are all defined - * in below. */ - TkCaret caret; /* Information about the caret for this - * display. This is not a pointer. */ - - int iconDataSize; /* Size of default iconphoto image data. */ - unsigned char *iconDataPtr; /* Default iconphoto image data, if set. */ -} TkDisplay; - -/* - * Flag values for TkDisplay flags. - * TK_DISPLAY_COLLAPSE_MOTION_EVENTS: (default on) - * Indicates that we should collapse motion events on this display - * TK_DISPLAY_USE_IM: (default on, set via tk.tcl) - * Whether to use input methods for this display - * TK_DISPLAY_XIM_SPOT: (default off) - * Indicates that we should use over-the-spot XIM on this display - * TK_DISPLAY_WM_TRACING: (default off) - * Whether we should do wm tracing on this display. - * TK_DISPLAY_IN_WARP: (default off) - * Indicates that we are in a pointer warp - */ - -#define TK_DISPLAY_COLLAPSE_MOTION_EVENTS (1 << 0) -#define TK_DISPLAY_USE_IM (1 << 1) -#define TK_DISPLAY_XIM_SPOT (1 << 2) -#define TK_DISPLAY_WM_TRACING (1 << 3) -#define TK_DISPLAY_IN_WARP (1 << 4) - -/* - * One of the following structures exists for each error handler created by a - * call to Tk_CreateErrorHandler. The structure is managed by tkError.c. - */ - -typedef struct TkErrorHandler { - TkDisplay *dispPtr; /* Display to which handler applies. */ - unsigned long firstRequest; /* Only errors with serial numbers >= to this - * are considered. */ - unsigned long lastRequest; /* Only errors with serial numbers <= to this - * are considered. This field is filled in - * when XUnhandle is called. -1 means - * XUnhandle hasn't been called yet. */ - int error; /* Consider only errors with this error_code - * (-1 means consider all errors). */ - int request; /* Consider only errors with this major - * request code (-1 means consider all major - * codes). */ - int minorCode; /* Consider only errors with this minor - * request code (-1 means consider all minor - * codes). */ - Tk_ErrorProc *errorProc; /* Function to invoke when a matching error - * occurs. NULL means just ignore errors. */ - ClientData clientData; /* Arbitrary value to pass to errorProc. */ - struct TkErrorHandler *nextPtr; - /* Pointer to next older handler for this - * display, or NULL for end of list. */ -} TkErrorHandler; - -/* - * One of the following structures exists for each event handler created by - * calling Tk_CreateEventHandler. This information is used by tkEvent.c only. - */ - -typedef struct TkEventHandler { - unsigned long mask; /* Events for which to invoke proc. */ - Tk_EventProc *proc; /* Function to invoke when an event in mask - * occurs. */ - ClientData clientData; /* Argument to pass to proc. */ - struct TkEventHandler *nextPtr; - /* Next in list of handlers associated with - * window (NULL means end of list). */ -} TkEventHandler; - -/* - * Tk keeps one of the following data structures for each main window (created - * by a call to TkCreateMainWindow). It stores information that is shared by - * all of the windows associated with a particular main window. - */ - -typedef struct TkMainInfo { - int refCount; /* Number of windows whose "mainPtr" fields - * point here. When this becomes zero, can - * free up the structure (the reference count - * is zero because windows can get deleted in - * almost any order; the main window isn't - * necessarily the last one deleted). */ - struct TkWindow *winPtr; /* Pointer to main window. */ - Tcl_Interp *interp; /* Interpreter associated with application. */ - Tcl_HashTable nameTable; /* Hash table mapping path names to TkWindow - * structs for all windows related to this - * main window. Managed by tkWindow.c. */ - long deletionEpoch; /* Incremented by window deletions. */ - Tk_BindingTable bindingTable; - /* Used in conjunction with "bind" command to - * bind events to Tcl commands. */ - TkBindInfo bindInfo; /* Information used by tkBind.c on a per - * application basis. */ - struct TkFontInfo *fontInfoPtr; - /* Information used by tkFont.c on a per - * application basis. */ - - /* - * Information used only by tkFocus.c and tk*Embed.c: - */ - - struct TkToplevelFocusInfo *tlFocusPtr; - /* First in list of records containing focus - * information for each top-level in the - * application. Used only by tkFocus.c. */ - struct TkDisplayFocusInfo *displayFocusPtr; - /* First in list of records containing focus - * information for each display that this - * application has ever used. Used only by - * tkFocus.c. */ - - struct ElArray *optionRootPtr; - /* Top level of option hierarchy for this main - * window. NULL means uninitialized. Managed - * by tkOption.c. */ - Tcl_HashTable imageTable; /* Maps from image names to Tk_ImageMaster - * structures. Managed by tkImage.c. */ - int strictMotif; /* This is linked to the tk_strictMotif global - * variable. */ - int alwaysShowSelection; /* This is linked to the - * ::tk::AlwaysShowSelection variable. */ - struct TkMainInfo *nextPtr; /* Next in list of all main windows managed by - * this process. */ -} TkMainInfo; - -/* - * Tk keeps the following data structure for each of it's builtin bitmaps. - * This structure is only used by tkBitmap.c and other platform specific - * bitmap files. - */ - -typedef struct { - const char *source; /* Bits for bitmap. */ - int width, height; /* Dimensions of bitmap. */ - int native; /* 0 means generic (X style) bitmap, 1 means - * native style bitmap. */ -} TkPredefBitmap; - -/* - * Tk keeps one of the following structures for each window. Some of the - * information (like size and location) is a shadow of information managed by - * the X server, and some is special information used here, such as event and - * geometry management information. This information is (mostly) managed by - * tkWindow.c. WARNING: the declaration below must be kept consistent with the - * Tk_FakeWin structure in tk.h. If you change one, be sure to change the - * other! - */ - -typedef struct TkWindow { - /* - * Structural information: - */ - - Display *display; /* Display containing window. */ - TkDisplay *dispPtr; /* Tk's information about display for - * window. */ - int screenNum; /* Index of screen for window, among all those - * for dispPtr. */ - Visual *visual; /* Visual to use for window. If not default, - * MUST be set before X window is created. */ - int depth; /* Number of bits/pixel. */ - Window window; /* X's id for window. NULL means window hasn't - * actually been created yet, or it's been - * deleted. */ - struct TkWindow *childList; /* First in list of child windows, or NULL if - * no children. List is in stacking order, - * lowest window first.*/ - struct TkWindow *lastChildPtr; - /* Last in list of child windows (highest in - * stacking order), or NULL if no children. */ - struct TkWindow *parentPtr; /* Pointer to parent window (logical parent, - * not necessarily X parent). NULL means - * either this is the main window, or the - * window's parent has already been deleted. */ - struct TkWindow *nextPtr; /* Next higher sibling (in stacking order) in - * list of children with same parent. NULL - * means end of list. */ - TkMainInfo *mainPtr; /* Information shared by all windows - * associated with a particular main window. - * NULL means this window is a rogue that is - * not associated with any application (at - * present, this only happens for the dummy - * windows used for "send" communication). */ - - /* - * Name and type information for the window: - */ - - char *pathName; /* Path name of window (concatenation of all - * names between this window and its top-level - * ancestor). This is a pointer into an entry - * in mainPtr->nameTable. NULL means that the - * window hasn't been completely created - * yet. */ - Tk_Uid nameUid; /* Name of the window within its parent - * (unique within the parent). */ - Tk_Uid classUid; /* Class of the window. NULL means window - * hasn't been given a class yet. */ - - /* - * Geometry and other attributes of window. This information may not be - * updated on the server immediately; stuff that hasn't been reflected in - * the server yet is called "dirty". At present, information can be dirty - * only if the window hasn't yet been created. - */ - - XWindowChanges changes; /* Geometry and other info about window. */ - unsigned int dirtyChanges; /* Bits indicate fields of "changes" that are - * dirty. */ - XSetWindowAttributes atts; /* Current attributes of window. */ - unsigned long dirtyAtts; /* Bits indicate fields of "atts" that are - * dirty. */ - - unsigned int flags; /* Various flag values: these are all defined - * in tk.h (confusing, but they're needed - * there for some query macros). */ - - /* - * Information kept by the event manager (tkEvent.c): - */ - - TkEventHandler *handlerList;/* First in list of event handlers declared - * for this window, or NULL if none. */ -#ifdef TK_USE_INPUT_METHODS - XIC inputContext; /* XIM input context. */ -#endif /* TK_USE_INPUT_METHODS */ - - /* - * Information used for event bindings (see "bind" and "bindtags" commands - * in tkCmds.c): - */ - - ClientData *tagPtr; /* Points to array of tags used for bindings - * on this window. Each tag is a Tk_Uid. - * Malloc'ed. NULL means no tags. */ - int numTags; /* Number of tags at *tagPtr. */ - - /* - * Information used by tkOption.c to manage options for the window. - */ - - int optionLevel; /* -1 means no option information is currently - * cached for this window. Otherwise this - * gives the level in the option stack at - * which info is cached. */ - /* - * Information used by tkSelect.c to manage the selection. - */ - - struct TkSelHandler *selHandlerList; - /* First in list of handlers for returning the - * selection in various forms. */ - - /* - * Information used by tkGeometry.c for geometry management. - */ - - const Tk_GeomMgr *geomMgrPtr; /* Information about geometry manager for this - * window. */ - ClientData geomData; /* Argument for geometry manager functions. */ - int reqWidth, reqHeight; /* Arguments from last call to - * Tk_GeometryRequest, or 0's if - * Tk_GeometryRequest hasn't been called. */ - int internalBorderLeft; /* Width of internal border of window (0 means - * no internal border). Geometry managers - * should not normally place children on top - * of the border. Fields for the other three - * sides are found below. */ - - /* - * Information maintained by tkWm.c for window manager communication. - */ - - struct TkWmInfo *wmInfoPtr; /* For top-level windows (and also for special - * Unix menubar and wrapper windows), points - * to structure with wm-related info (see - * tkWm.c). For other windows, this is NULL. */ - - /* - * Information used by widget classes. - */ - - Tk_ClassProcs *classProcsPtr; - ClientData instanceData; - - /* - * Platform specific information private to each port. - */ - - struct TkWindowPrivate *privatePtr; - - /* - * More information used by tkGeometry.c for geometry management. - */ - - /* The remaining fields of internal border. */ - int internalBorderRight; - int internalBorderTop; - int internalBorderBottom; - - int minReqWidth; /* Minimum requested width. */ - int minReqHeight; /* Minimum requested height. */ -} TkWindow; - -/* - * The following structure is used as a two way map between integers and - * strings, usually to map between an internal C representation and the - * strings used in Tcl. - */ - -typedef struct TkStateMap { - int numKey; /* Integer representation of a value. */ - const char *strKey; /* String representation of a value. */ -} TkStateMap; - -/* - * This structure is used by the Mac and Window porting layers as the internal - * representation of a clip_mask in a GC. - */ - -typedef struct TkpClipMask { - int type; /* TKP_CLIP_PIXMAP or TKP_CLIP_REGION. */ - union { - Pixmap pixmap; - TkRegion region; - } value; -} TkpClipMask; - -#define TKP_CLIP_PIXMAP 0 -#define TKP_CLIP_REGION 1 - -/* - * Pointer to first entry in list of all displays currently known. - */ - -extern TkDisplay *tkDisplayList; - -/* - * Return values from TkGrabState: - */ - -#define TK_GRAB_NONE 0 -#define TK_GRAB_IN_TREE 1 -#define TK_GRAB_ANCESTOR 2 -#define TK_GRAB_EXCLUDED 3 - -/* - * Additional flag for TkpMeasureCharsInContext. Coordinate with other flags - * for this routine, but don't make public until TkpMeasureCharsInContext is - * made public, too. - */ - -#define TK_ISOLATE_END 32 - -/* - * The macro below is used to modify a "char" value (e.g. by casting it to an - * unsigned character) so that it can be used safely with macros such as - * isspace(). - */ - -#define UCHAR(c) ((unsigned char) (c)) - -/* - * The following symbol is used in the mode field of FocusIn events generated - * by an embedded application to request the input focus from its container. - */ - -#define EMBEDDED_APP_WANTS_FOCUS (NotifyNormal + 20) - -/* - * The following special modifier mask bits are defined, to indicate logical - * modifiers such as Meta and Alt that may float among the actual modifier - * bits. - */ - -#define META_MASK (AnyModifier<<1) -#define ALT_MASK (AnyModifier<<2) -#define EXTENDED_MASK (AnyModifier<<3) - -/* - * Object types not declared in tkObj.c need to be mentioned here so they can - * be properly registered with Tcl: - */ - -MODULE_SCOPE Tcl_ObjType tkBorderObjType; -MODULE_SCOPE Tcl_ObjType tkBitmapObjType; -MODULE_SCOPE Tcl_ObjType tkColorObjType; -MODULE_SCOPE Tcl_ObjType tkCursorObjType; -MODULE_SCOPE Tcl_ObjType tkFontObjType; -MODULE_SCOPE Tcl_ObjType tkOptionObjType; -MODULE_SCOPE Tcl_ObjType tkStateKeyObjType; -MODULE_SCOPE Tcl_ObjType tkTextIndexType; - -/* - * Miscellaneous variables shared among Tk modules but not exported to the - * outside world: - */ - -MODULE_SCOPE Tk_SmoothMethod tkBezierSmoothMethod; -MODULE_SCOPE Tk_ImageType tkBitmapImageType; -MODULE_SCOPE Tk_PhotoImageFormat tkImgFmtGIF; -MODULE_SCOPE void (*tkHandleEventProc) (XEvent* eventPtr); -MODULE_SCOPE Tk_PhotoImageFormat tkImgFmtPPM; -MODULE_SCOPE TkMainInfo *tkMainWindowList; -MODULE_SCOPE Tk_ImageType tkPhotoImageType; -MODULE_SCOPE Tcl_HashTable tkPredefBitmapTable; - -#include "tkIntDecls.h" - -#ifdef BUILD_tk -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * Themed widget set init function: - */ - -MODULE_SCOPE int Ttk_Init(Tcl_Interp *interp); - -/* - * Internal functions shared among Tk modules but not exported to the outside - * world: - */ - -MODULE_SCOPE int Tk_BellObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_BindObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_BindtagsObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_ButtonObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_CanvasObjCmd(ClientData clientData, - Tcl_Interp *interp, int argc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_CheckbuttonObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_ClipboardObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_ChooseColorObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_ChooseDirectoryObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_ChooseFontObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_DestroyObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_EntryObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_EventObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_FrameObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_FocusObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_FontObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_GetOpenFileObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_GetSaveFileObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_GrabObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_GridObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_ImageObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_LabelObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_LabelframeObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_ListboxObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_LowerObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_MenubuttonObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_MessageBoxObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_MessageObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_PanedWindowObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_OptionObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_PackObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_PlaceObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_RadiobuttonObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_RaiseObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_ScaleObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_ScrollbarCmd(ClientData clientData, - Tcl_Interp *interp, int argc, const char **argv); -MODULE_SCOPE int Tk_SelectionObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_SendCmd(ClientData clientData, - Tcl_Interp *interp, int argc, const char **argv); -MODULE_SCOPE int Tk_SendObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_SpinboxObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_TextObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_TkObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_TkwaitObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_ToplevelObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_UpdateObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_WinfoObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_WmObjCmd(ClientData clientData, Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); - -MODULE_SCOPE void TkEventInit(void); -MODULE_SCOPE void TkRegisterObjTypes(void); -MODULE_SCOPE int TkCreateMenuCmd(Tcl_Interp *interp); -MODULE_SCOPE int TkDeadAppCmd(ClientData clientData, - Tcl_Interp *interp, int argc, const char **argv); -MODULE_SCOPE int TkCanvasGetCoordObj(Tcl_Interp *interp, - Tk_Canvas canvas, Tcl_Obj *obj, - double *doublePtr); -MODULE_SCOPE int TkCanvasDashParseProc(ClientData clientData, - Tcl_Interp *interp, Tk_Window tkwin, - const char *value, char *widgRec, int offset); -MODULE_SCOPE char * TkCanvasDashPrintProc(ClientData clientData, - Tk_Window tkwin, char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr); -MODULE_SCOPE int TkGetDoublePixels(Tcl_Interp *interp, Tk_Window tkwin, - const char *string, double *doublePtr); -MODULE_SCOPE int TkOffsetParseProc(ClientData clientData, - Tcl_Interp *interp, Tk_Window tkwin, - const char *value, char *widgRec, int offset); -MODULE_SCOPE char * TkOffsetPrintProc(ClientData clientData, - Tk_Window tkwin, char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr); -MODULE_SCOPE int TkOrientParseProc(ClientData clientData, - Tcl_Interp *interp, Tk_Window tkwin, - const char *value, char *widgRec, int offset); -MODULE_SCOPE char * TkOrientPrintProc(ClientData clientData, - Tk_Window tkwin, char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr); -MODULE_SCOPE int TkPixelParseProc(ClientData clientData, - Tcl_Interp *interp, Tk_Window tkwin, - const char *value, char *widgRec, int offset); -MODULE_SCOPE char * TkPixelPrintProc(ClientData clientData, - Tk_Window tkwin, char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr); -MODULE_SCOPE int TkPostscriptImage(Tcl_Interp *interp, Tk_Window tkwin, - Tk_PostscriptInfo psInfo, XImage *ximage, - int x, int y, int width, int height); -MODULE_SCOPE int TkSmoothParseProc(ClientData clientData, - Tcl_Interp *interp, Tk_Window tkwin, - const char *value, char *recordPtr, int offset); -MODULE_SCOPE char * TkSmoothPrintProc(ClientData clientData, - Tk_Window tkwin, char *recordPtr, int offset, - Tcl_FreeProc **freeProcPtr); -MODULE_SCOPE int TkStateParseProc(ClientData clientData, - Tcl_Interp *interp, Tk_Window tkwin, - const char *value, char *widgRec, int offset); -MODULE_SCOPE char * TkStatePrintProc(ClientData clientData, - Tk_Window tkwin, char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr); -MODULE_SCOPE int TkTileParseProc(ClientData clientData, - Tcl_Interp *interp, Tk_Window tkwin, - const char *value, char *widgRec, int offset); -MODULE_SCOPE char * TkTilePrintProc(ClientData clientData, Tk_Window tkwin, - char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr); -MODULE_SCOPE void TkMapTopFrame(Tk_Window tkwin); -MODULE_SCOPE XEvent * TkpGetBindingXEvent(Tcl_Interp *interp); -MODULE_SCOPE void TkCreateExitHandler(Tcl_ExitProc *proc, - ClientData clientData); -MODULE_SCOPE void TkDeleteExitHandler(Tcl_ExitProc *proc, - ClientData clientData); -MODULE_SCOPE Tcl_ExitProc TkFinalize; -MODULE_SCOPE Tcl_ExitProc TkFinalizeThread; -MODULE_SCOPE void TkpBuildRegionFromAlphaData(TkRegion region, - unsigned x, unsigned y, unsigned width, - unsigned height, unsigned char *dataPtr, - unsigned pixelStride, unsigned lineStride); -MODULE_SCOPE void TkPrintPadAmount(Tcl_Interp *interp, - char *buffer, int pad1, int pad2); -MODULE_SCOPE int TkParsePadAmount(Tcl_Interp *interp, - Tk_Window tkwin, Tcl_Obj *objPtr, - int *pad1Ptr, int *pad2Ptr); -MODULE_SCOPE void TkFocusSplit(TkWindow *winPtr); -MODULE_SCOPE void TkFocusJoin(TkWindow *winPtr); -MODULE_SCOPE int TkpAlwaysShowSelection(Tk_Window tkwin); -MODULE_SCOPE void TkpDrawCharsInContext(Display * display, - Drawable drawable, GC gc, Tk_Font tkfont, - const char *source, int numBytes, int rangeStart, - int rangeLength, int x, int y); -MODULE_SCOPE int TkpMeasureCharsInContext(Tk_Font tkfont, - const char *source, int numBytes, int rangeStart, - int rangeLength, int maxLength, int flags, - int *lengthPtr); -MODULE_SCOPE void TkUnderlineCharsInContext(Display *display, - Drawable drawable, GC gc, Tk_Font tkfont, - const char *string, int numBytes, int x, int y, - int firstByte, int lastByte); -MODULE_SCOPE void TkpGetFontAttrsForChar(Tk_Window tkwin, Tk_Font tkfont, - Tcl_UniChar c, struct TkFontAttributes *faPtr); - -/* - * Unsupported commands. - */ - -MODULE_SCOPE int TkUnsupported1ObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKINT */ - -/* - * Local Variables: - * mode: c - * c-basic-offset: 4 - * fill-column: 78 - * End: - */ diff --git a/src/other/togl/include/tcltk/tk8.5/tkIntDecls.h b/src/other/togl/include/tcltk/tk8.5/tkIntDecls.h deleted file mode 100644 index c5af1395c69..00000000000 --- a/src/other/togl/include/tcltk/tk8.5/tkIntDecls.h +++ /dev/null @@ -1,1908 +0,0 @@ -/* - * tkIntDecls.h -- - * - * This file contains the declarations for all unsupported - * functions that are exported by the Tk library. These - * interfaces are not guaranteed to remain the same between - * versions. Use at your own risk. - * - * Copyright (c) 1998-1999 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKINTDECLS -#define _TKINTDECLS - -#ifdef BUILD_tk -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * WARNING: This file is automatically generated by the tools/genStubs.tcl - * script. Any modifications to the function declarations below should be made - * in the generic/tkInt.decls script. - */ - -/* !BEGIN!: Do not edit below this line. */ - -/* - * Exported function declarations: - */ - -#ifndef TkAllocWindow_TCL_DECLARED -#define TkAllocWindow_TCL_DECLARED -/* 0 */ -EXTERN TkWindow * TkAllocWindow (TkDisplay * dispPtr, int screenNum, - TkWindow * parentPtr); -#endif -#ifndef TkBezierPoints_TCL_DECLARED -#define TkBezierPoints_TCL_DECLARED -/* 1 */ -EXTERN void TkBezierPoints (double control[], int numSteps, - double * coordPtr); -#endif -#ifndef TkBezierScreenPoints_TCL_DECLARED -#define TkBezierScreenPoints_TCL_DECLARED -/* 2 */ -EXTERN void TkBezierScreenPoints (Tk_Canvas canvas, - double control[], int numSteps, - XPoint * xPointPtr); -#endif -#ifndef TkBindDeadWindow_TCL_DECLARED -#define TkBindDeadWindow_TCL_DECLARED -/* 3 */ -EXTERN void TkBindDeadWindow (TkWindow * winPtr); -#endif -#ifndef TkBindEventProc_TCL_DECLARED -#define TkBindEventProc_TCL_DECLARED -/* 4 */ -EXTERN void TkBindEventProc (TkWindow * winPtr, - XEvent * eventPtr); -#endif -#ifndef TkBindFree_TCL_DECLARED -#define TkBindFree_TCL_DECLARED -/* 5 */ -EXTERN void TkBindFree (TkMainInfo * mainPtr); -#endif -#ifndef TkBindInit_TCL_DECLARED -#define TkBindInit_TCL_DECLARED -/* 6 */ -EXTERN void TkBindInit (TkMainInfo * mainPtr); -#endif -#ifndef TkChangeEventWindow_TCL_DECLARED -#define TkChangeEventWindow_TCL_DECLARED -/* 7 */ -EXTERN void TkChangeEventWindow (XEvent * eventPtr, - TkWindow * winPtr); -#endif -#ifndef TkClipInit_TCL_DECLARED -#define TkClipInit_TCL_DECLARED -/* 8 */ -EXTERN int TkClipInit (Tcl_Interp * interp, TkDisplay * dispPtr); -#endif -#ifndef TkComputeAnchor_TCL_DECLARED -#define TkComputeAnchor_TCL_DECLARED -/* 9 */ -EXTERN void TkComputeAnchor (Tk_Anchor anchor, Tk_Window tkwin, - int padX, int padY, int innerWidth, - int innerHeight, int * xPtr, int * yPtr); -#endif -#ifndef TkCopyAndGlobalEval_TCL_DECLARED -#define TkCopyAndGlobalEval_TCL_DECLARED -/* 10 */ -EXTERN int TkCopyAndGlobalEval (Tcl_Interp * interp, - char * script); -#endif -#ifndef TkCreateBindingProcedure_TCL_DECLARED -#define TkCreateBindingProcedure_TCL_DECLARED -/* 11 */ -EXTERN unsigned long TkCreateBindingProcedure (Tcl_Interp * interp, - Tk_BindingTable bindingTable, - ClientData object, CONST char * eventString, - TkBindEvalProc * evalProc, - TkBindFreeProc * freeProc, - ClientData clientData); -#endif -#ifndef TkCreateCursorFromData_TCL_DECLARED -#define TkCreateCursorFromData_TCL_DECLARED -/* 12 */ -EXTERN TkCursor * TkCreateCursorFromData (Tk_Window tkwin, - CONST char * source, CONST char * mask, - int width, int height, int xHot, int yHot, - XColor fg, XColor bg); -#endif -#ifndef TkCreateFrame_TCL_DECLARED -#define TkCreateFrame_TCL_DECLARED -/* 13 */ -EXTERN int TkCreateFrame (ClientData clientData, - Tcl_Interp * interp, int argc, char ** argv, - int toplevel, char * appName); -#endif -#ifndef TkCreateMainWindow_TCL_DECLARED -#define TkCreateMainWindow_TCL_DECLARED -/* 14 */ -EXTERN Tk_Window TkCreateMainWindow (Tcl_Interp * interp, - CONST char * screenName, char * baseName); -#endif -#ifndef TkCurrentTime_TCL_DECLARED -#define TkCurrentTime_TCL_DECLARED -/* 15 */ -EXTERN Time TkCurrentTime (TkDisplay * dispPtr); -#endif -#ifndef TkDeleteAllImages_TCL_DECLARED -#define TkDeleteAllImages_TCL_DECLARED -/* 16 */ -EXTERN void TkDeleteAllImages (TkMainInfo * mainPtr); -#endif -#ifndef TkDoConfigureNotify_TCL_DECLARED -#define TkDoConfigureNotify_TCL_DECLARED -/* 17 */ -EXTERN void TkDoConfigureNotify (TkWindow * winPtr); -#endif -#ifndef TkDrawInsetFocusHighlight_TCL_DECLARED -#define TkDrawInsetFocusHighlight_TCL_DECLARED -/* 18 */ -EXTERN void TkDrawInsetFocusHighlight (Tk_Window tkwin, GC gc, - int width, Drawable drawable, int padding); -#endif -#ifndef TkEventDeadWindow_TCL_DECLARED -#define TkEventDeadWindow_TCL_DECLARED -/* 19 */ -EXTERN void TkEventDeadWindow (TkWindow * winPtr); -#endif -#ifndef TkFillPolygon_TCL_DECLARED -#define TkFillPolygon_TCL_DECLARED -/* 20 */ -EXTERN void TkFillPolygon (Tk_Canvas canvas, double * coordPtr, - int numPoints, Display * display, - Drawable drawable, GC gc, GC outlineGC); -#endif -#ifndef TkFindStateNum_TCL_DECLARED -#define TkFindStateNum_TCL_DECLARED -/* 21 */ -EXTERN int TkFindStateNum (Tcl_Interp * interp, - CONST char * option, - CONST TkStateMap * mapPtr, - CONST char * strKey); -#endif -#ifndef TkFindStateString_TCL_DECLARED -#define TkFindStateString_TCL_DECLARED -/* 22 */ -EXTERN char * TkFindStateString (CONST TkStateMap * mapPtr, - int numKey); -#endif -#ifndef TkFocusDeadWindow_TCL_DECLARED -#define TkFocusDeadWindow_TCL_DECLARED -/* 23 */ -EXTERN void TkFocusDeadWindow (TkWindow * winPtr); -#endif -#ifndef TkFocusFilterEvent_TCL_DECLARED -#define TkFocusFilterEvent_TCL_DECLARED -/* 24 */ -EXTERN int TkFocusFilterEvent (TkWindow * winPtr, - XEvent * eventPtr); -#endif -#ifndef TkFocusKeyEvent_TCL_DECLARED -#define TkFocusKeyEvent_TCL_DECLARED -/* 25 */ -EXTERN TkWindow * TkFocusKeyEvent (TkWindow * winPtr, - XEvent * eventPtr); -#endif -#ifndef TkFontPkgInit_TCL_DECLARED -#define TkFontPkgInit_TCL_DECLARED -/* 26 */ -EXTERN void TkFontPkgInit (TkMainInfo * mainPtr); -#endif -#ifndef TkFontPkgFree_TCL_DECLARED -#define TkFontPkgFree_TCL_DECLARED -/* 27 */ -EXTERN void TkFontPkgFree (TkMainInfo * mainPtr); -#endif -#ifndef TkFreeBindingTags_TCL_DECLARED -#define TkFreeBindingTags_TCL_DECLARED -/* 28 */ -EXTERN void TkFreeBindingTags (TkWindow * winPtr); -#endif -#ifndef TkpFreeCursor_TCL_DECLARED -#define TkpFreeCursor_TCL_DECLARED -/* 29 */ -EXTERN void TkpFreeCursor (TkCursor * cursorPtr); -#endif -#ifndef TkGetBitmapData_TCL_DECLARED -#define TkGetBitmapData_TCL_DECLARED -/* 30 */ -EXTERN char * TkGetBitmapData (Tcl_Interp * interp, char * string, - char * fileName, int * widthPtr, - int * heightPtr, int * hotXPtr, - int * hotYPtr); -#endif -#ifndef TkGetButtPoints_TCL_DECLARED -#define TkGetButtPoints_TCL_DECLARED -/* 31 */ -EXTERN void TkGetButtPoints (double p1[], double p2[], - double width, int project, double m1[], - double m2[]); -#endif -#ifndef TkGetCursorByName_TCL_DECLARED -#define TkGetCursorByName_TCL_DECLARED -/* 32 */ -EXTERN TkCursor * TkGetCursorByName (Tcl_Interp * interp, - Tk_Window tkwin, Tk_Uid string); -#endif -#ifndef TkGetDefaultScreenName_TCL_DECLARED -#define TkGetDefaultScreenName_TCL_DECLARED -/* 33 */ -EXTERN CONST84_RETURN char * TkGetDefaultScreenName (Tcl_Interp * interp, - CONST char * screenName); -#endif -#ifndef TkGetDisplay_TCL_DECLARED -#define TkGetDisplay_TCL_DECLARED -/* 34 */ -EXTERN TkDisplay * TkGetDisplay (Display * display); -#endif -#ifndef TkGetDisplayOf_TCL_DECLARED -#define TkGetDisplayOf_TCL_DECLARED -/* 35 */ -EXTERN int TkGetDisplayOf (Tcl_Interp * interp, int objc, - Tcl_Obj *CONST objv[], Tk_Window * tkwinPtr); -#endif -#ifndef TkGetFocusWin_TCL_DECLARED -#define TkGetFocusWin_TCL_DECLARED -/* 36 */ -EXTERN TkWindow * TkGetFocusWin (TkWindow * winPtr); -#endif -#ifndef TkGetInterpNames_TCL_DECLARED -#define TkGetInterpNames_TCL_DECLARED -/* 37 */ -EXTERN int TkGetInterpNames (Tcl_Interp * interp, - Tk_Window tkwin); -#endif -#ifndef TkGetMiterPoints_TCL_DECLARED -#define TkGetMiterPoints_TCL_DECLARED -/* 38 */ -EXTERN int TkGetMiterPoints (double p1[], double p2[], - double p3[], double width, double m1[], - double m2[]); -#endif -#ifndef TkGetPointerCoords_TCL_DECLARED -#define TkGetPointerCoords_TCL_DECLARED -/* 39 */ -EXTERN void TkGetPointerCoords (Tk_Window tkwin, int * xPtr, - int * yPtr); -#endif -#ifndef TkGetServerInfo_TCL_DECLARED -#define TkGetServerInfo_TCL_DECLARED -/* 40 */ -EXTERN void TkGetServerInfo (Tcl_Interp * interp, - Tk_Window tkwin); -#endif -#ifndef TkGrabDeadWindow_TCL_DECLARED -#define TkGrabDeadWindow_TCL_DECLARED -/* 41 */ -EXTERN void TkGrabDeadWindow (TkWindow * winPtr); -#endif -#ifndef TkGrabState_TCL_DECLARED -#define TkGrabState_TCL_DECLARED -/* 42 */ -EXTERN int TkGrabState (TkWindow * winPtr); -#endif -#ifndef TkIncludePoint_TCL_DECLARED -#define TkIncludePoint_TCL_DECLARED -/* 43 */ -EXTERN void TkIncludePoint (Tk_Item * itemPtr, double * pointPtr); -#endif -#ifndef TkInOutEvents_TCL_DECLARED -#define TkInOutEvents_TCL_DECLARED -/* 44 */ -EXTERN void TkInOutEvents (XEvent * eventPtr, - TkWindow * sourcePtr, TkWindow * destPtr, - int leaveType, int enterType, - Tcl_QueuePosition position); -#endif -#ifndef TkInstallFrameMenu_TCL_DECLARED -#define TkInstallFrameMenu_TCL_DECLARED -/* 45 */ -EXTERN void TkInstallFrameMenu (Tk_Window tkwin); -#endif -#ifndef TkKeysymToString_TCL_DECLARED -#define TkKeysymToString_TCL_DECLARED -/* 46 */ -EXTERN char * TkKeysymToString (KeySym keysym); -#endif -#ifndef TkLineToArea_TCL_DECLARED -#define TkLineToArea_TCL_DECLARED -/* 47 */ -EXTERN int TkLineToArea (double end1Ptr[], double end2Ptr[], - double rectPtr[]); -#endif -#ifndef TkLineToPoint_TCL_DECLARED -#define TkLineToPoint_TCL_DECLARED -/* 48 */ -EXTERN double TkLineToPoint (double end1Ptr[], double end2Ptr[], - double pointPtr[]); -#endif -#ifndef TkMakeBezierCurve_TCL_DECLARED -#define TkMakeBezierCurve_TCL_DECLARED -/* 49 */ -EXTERN int TkMakeBezierCurve (Tk_Canvas canvas, - double * pointPtr, int numPoints, - int numSteps, XPoint xPoints[], - double dblPoints[]); -#endif -#ifndef TkMakeBezierPostscript_TCL_DECLARED -#define TkMakeBezierPostscript_TCL_DECLARED -/* 50 */ -EXTERN void TkMakeBezierPostscript (Tcl_Interp * interp, - Tk_Canvas canvas, double * pointPtr, - int numPoints); -#endif -#ifndef TkOptionClassChanged_TCL_DECLARED -#define TkOptionClassChanged_TCL_DECLARED -/* 51 */ -EXTERN void TkOptionClassChanged (TkWindow * winPtr); -#endif -#ifndef TkOptionDeadWindow_TCL_DECLARED -#define TkOptionDeadWindow_TCL_DECLARED -/* 52 */ -EXTERN void TkOptionDeadWindow (TkWindow * winPtr); -#endif -#ifndef TkOvalToArea_TCL_DECLARED -#define TkOvalToArea_TCL_DECLARED -/* 53 */ -EXTERN int TkOvalToArea (double * ovalPtr, double * rectPtr); -#endif -#ifndef TkOvalToPoint_TCL_DECLARED -#define TkOvalToPoint_TCL_DECLARED -/* 54 */ -EXTERN double TkOvalToPoint (double ovalPtr[], double width, - int filled, double pointPtr[]); -#endif -#ifndef TkpChangeFocus_TCL_DECLARED -#define TkpChangeFocus_TCL_DECLARED -/* 55 */ -EXTERN int TkpChangeFocus (TkWindow * winPtr, int force); -#endif -#ifndef TkpCloseDisplay_TCL_DECLARED -#define TkpCloseDisplay_TCL_DECLARED -/* 56 */ -EXTERN void TkpCloseDisplay (TkDisplay * dispPtr); -#endif -#ifndef TkpClaimFocus_TCL_DECLARED -#define TkpClaimFocus_TCL_DECLARED -/* 57 */ -EXTERN void TkpClaimFocus (TkWindow * topLevelPtr, int force); -#endif -#ifndef TkpDisplayWarning_TCL_DECLARED -#define TkpDisplayWarning_TCL_DECLARED -/* 58 */ -EXTERN void TkpDisplayWarning (CONST char * msg, - CONST char * title); -#endif -#ifndef TkpGetAppName_TCL_DECLARED -#define TkpGetAppName_TCL_DECLARED -/* 59 */ -EXTERN void TkpGetAppName (Tcl_Interp * interp, - Tcl_DString * name); -#endif -#ifndef TkpGetOtherWindow_TCL_DECLARED -#define TkpGetOtherWindow_TCL_DECLARED -/* 60 */ -EXTERN TkWindow * TkpGetOtherWindow (TkWindow * winPtr); -#endif -#ifndef TkpGetWrapperWindow_TCL_DECLARED -#define TkpGetWrapperWindow_TCL_DECLARED -/* 61 */ -EXTERN TkWindow * TkpGetWrapperWindow (TkWindow * winPtr); -#endif -#ifndef TkpInit_TCL_DECLARED -#define TkpInit_TCL_DECLARED -/* 62 */ -EXTERN int TkpInit (Tcl_Interp * interp); -#endif -#ifndef TkpInitializeMenuBindings_TCL_DECLARED -#define TkpInitializeMenuBindings_TCL_DECLARED -/* 63 */ -EXTERN void TkpInitializeMenuBindings (Tcl_Interp * interp, - Tk_BindingTable bindingTable); -#endif -#ifndef TkpMakeContainer_TCL_DECLARED -#define TkpMakeContainer_TCL_DECLARED -/* 64 */ -EXTERN void TkpMakeContainer (Tk_Window tkwin); -#endif -#ifndef TkpMakeMenuWindow_TCL_DECLARED -#define TkpMakeMenuWindow_TCL_DECLARED -/* 65 */ -EXTERN void TkpMakeMenuWindow (Tk_Window tkwin, int transient); -#endif -#ifndef TkpMakeWindow_TCL_DECLARED -#define TkpMakeWindow_TCL_DECLARED -/* 66 */ -EXTERN Window TkpMakeWindow (TkWindow * winPtr, Window parent); -#endif -#ifndef TkpMenuNotifyToplevelCreate_TCL_DECLARED -#define TkpMenuNotifyToplevelCreate_TCL_DECLARED -/* 67 */ -EXTERN void TkpMenuNotifyToplevelCreate (Tcl_Interp * interp1, - char * menuName); -#endif -#ifndef TkpOpenDisplay_TCL_DECLARED -#define TkpOpenDisplay_TCL_DECLARED -/* 68 */ -EXTERN TkDisplay * TkpOpenDisplay (CONST char * display_name); -#endif -#ifndef TkPointerEvent_TCL_DECLARED -#define TkPointerEvent_TCL_DECLARED -/* 69 */ -EXTERN int TkPointerEvent (XEvent * eventPtr, TkWindow * winPtr); -#endif -#ifndef TkPolygonToArea_TCL_DECLARED -#define TkPolygonToArea_TCL_DECLARED -/* 70 */ -EXTERN int TkPolygonToArea (double * polyPtr, int numPoints, - double * rectPtr); -#endif -#ifndef TkPolygonToPoint_TCL_DECLARED -#define TkPolygonToPoint_TCL_DECLARED -/* 71 */ -EXTERN double TkPolygonToPoint (double * polyPtr, int numPoints, - double * pointPtr); -#endif -#ifndef TkPositionInTree_TCL_DECLARED -#define TkPositionInTree_TCL_DECLARED -/* 72 */ -EXTERN int TkPositionInTree (TkWindow * winPtr, - TkWindow * treePtr); -#endif -#ifndef TkpRedirectKeyEvent_TCL_DECLARED -#define TkpRedirectKeyEvent_TCL_DECLARED -/* 73 */ -EXTERN void TkpRedirectKeyEvent (TkWindow * winPtr, - XEvent * eventPtr); -#endif -#ifndef TkpSetMainMenubar_TCL_DECLARED -#define TkpSetMainMenubar_TCL_DECLARED -/* 74 */ -EXTERN void TkpSetMainMenubar (Tcl_Interp * interp, - Tk_Window tkwin, char * menuName); -#endif -#ifndef TkpUseWindow_TCL_DECLARED -#define TkpUseWindow_TCL_DECLARED -/* 75 */ -EXTERN int TkpUseWindow (Tcl_Interp * interp, Tk_Window tkwin, - CONST char * string); -#endif -#ifndef TkpWindowWasRecentlyDeleted_TCL_DECLARED -#define TkpWindowWasRecentlyDeleted_TCL_DECLARED -/* 76 */ -EXTERN int TkpWindowWasRecentlyDeleted (Window win, - TkDisplay * dispPtr); -#endif -#ifndef TkQueueEventForAllChildren_TCL_DECLARED -#define TkQueueEventForAllChildren_TCL_DECLARED -/* 77 */ -EXTERN void TkQueueEventForAllChildren (TkWindow * winPtr, - XEvent * eventPtr); -#endif -#ifndef TkReadBitmapFile_TCL_DECLARED -#define TkReadBitmapFile_TCL_DECLARED -/* 78 */ -EXTERN int TkReadBitmapFile (Display * display, Drawable d, - CONST char * filename, - unsigned int * width_return, - unsigned int * height_return, - Pixmap * bitmap_return, int * x_hot_return, - int * y_hot_return); -#endif -#ifndef TkScrollWindow_TCL_DECLARED -#define TkScrollWindow_TCL_DECLARED -/* 79 */ -EXTERN int TkScrollWindow (Tk_Window tkwin, GC gc, int x, int y, - int width, int height, int dx, int dy, - TkRegion damageRgn); -#endif -#ifndef TkSelDeadWindow_TCL_DECLARED -#define TkSelDeadWindow_TCL_DECLARED -/* 80 */ -EXTERN void TkSelDeadWindow (TkWindow * winPtr); -#endif -#ifndef TkSelEventProc_TCL_DECLARED -#define TkSelEventProc_TCL_DECLARED -/* 81 */ -EXTERN void TkSelEventProc (Tk_Window tkwin, XEvent * eventPtr); -#endif -#ifndef TkSelInit_TCL_DECLARED -#define TkSelInit_TCL_DECLARED -/* 82 */ -EXTERN void TkSelInit (Tk_Window tkwin); -#endif -#ifndef TkSelPropProc_TCL_DECLARED -#define TkSelPropProc_TCL_DECLARED -/* 83 */ -EXTERN void TkSelPropProc (XEvent * eventPtr); -#endif -/* Slot 84 is reserved */ -#ifndef TkSetWindowMenuBar_TCL_DECLARED -#define TkSetWindowMenuBar_TCL_DECLARED -/* 85 */ -EXTERN void TkSetWindowMenuBar (Tcl_Interp * interp, - Tk_Window tkwin, char * oldMenuName, - char * menuName); -#endif -#ifndef TkStringToKeysym_TCL_DECLARED -#define TkStringToKeysym_TCL_DECLARED -/* 86 */ -EXTERN KeySym TkStringToKeysym (char * name); -#endif -#ifndef TkThickPolyLineToArea_TCL_DECLARED -#define TkThickPolyLineToArea_TCL_DECLARED -/* 87 */ -EXTERN int TkThickPolyLineToArea (double * coordPtr, - int numPoints, double width, int capStyle, - int joinStyle, double * rectPtr); -#endif -#ifndef TkWmAddToColormapWindows_TCL_DECLARED -#define TkWmAddToColormapWindows_TCL_DECLARED -/* 88 */ -EXTERN void TkWmAddToColormapWindows (TkWindow * winPtr); -#endif -#ifndef TkWmDeadWindow_TCL_DECLARED -#define TkWmDeadWindow_TCL_DECLARED -/* 89 */ -EXTERN void TkWmDeadWindow (TkWindow * winPtr); -#endif -#ifndef TkWmFocusToplevel_TCL_DECLARED -#define TkWmFocusToplevel_TCL_DECLARED -/* 90 */ -EXTERN TkWindow * TkWmFocusToplevel (TkWindow * winPtr); -#endif -#ifndef TkWmMapWindow_TCL_DECLARED -#define TkWmMapWindow_TCL_DECLARED -/* 91 */ -EXTERN void TkWmMapWindow (TkWindow * winPtr); -#endif -#ifndef TkWmNewWindow_TCL_DECLARED -#define TkWmNewWindow_TCL_DECLARED -/* 92 */ -EXTERN void TkWmNewWindow (TkWindow * winPtr); -#endif -#ifndef TkWmProtocolEventProc_TCL_DECLARED -#define TkWmProtocolEventProc_TCL_DECLARED -/* 93 */ -EXTERN void TkWmProtocolEventProc (TkWindow * winPtr, - XEvent * evenvPtr); -#endif -#ifndef TkWmRemoveFromColormapWindows_TCL_DECLARED -#define TkWmRemoveFromColormapWindows_TCL_DECLARED -/* 94 */ -EXTERN void TkWmRemoveFromColormapWindows (TkWindow * winPtr); -#endif -#ifndef TkWmRestackToplevel_TCL_DECLARED -#define TkWmRestackToplevel_TCL_DECLARED -/* 95 */ -EXTERN void TkWmRestackToplevel (TkWindow * winPtr, - int aboveBelow, TkWindow * otherPtr); -#endif -#ifndef TkWmSetClass_TCL_DECLARED -#define TkWmSetClass_TCL_DECLARED -/* 96 */ -EXTERN void TkWmSetClass (TkWindow * winPtr); -#endif -#ifndef TkWmUnmapWindow_TCL_DECLARED -#define TkWmUnmapWindow_TCL_DECLARED -/* 97 */ -EXTERN void TkWmUnmapWindow (TkWindow * winPtr); -#endif -#ifndef TkDebugBitmap_TCL_DECLARED -#define TkDebugBitmap_TCL_DECLARED -/* 98 */ -EXTERN Tcl_Obj * TkDebugBitmap (Tk_Window tkwin, char * name); -#endif -#ifndef TkDebugBorder_TCL_DECLARED -#define TkDebugBorder_TCL_DECLARED -/* 99 */ -EXTERN Tcl_Obj * TkDebugBorder (Tk_Window tkwin, char * name); -#endif -#ifndef TkDebugCursor_TCL_DECLARED -#define TkDebugCursor_TCL_DECLARED -/* 100 */ -EXTERN Tcl_Obj * TkDebugCursor (Tk_Window tkwin, char * name); -#endif -#ifndef TkDebugColor_TCL_DECLARED -#define TkDebugColor_TCL_DECLARED -/* 101 */ -EXTERN Tcl_Obj * TkDebugColor (Tk_Window tkwin, char * name); -#endif -#ifndef TkDebugConfig_TCL_DECLARED -#define TkDebugConfig_TCL_DECLARED -/* 102 */ -EXTERN Tcl_Obj * TkDebugConfig (Tcl_Interp * interp, - Tk_OptionTable table); -#endif -#ifndef TkDebugFont_TCL_DECLARED -#define TkDebugFont_TCL_DECLARED -/* 103 */ -EXTERN Tcl_Obj * TkDebugFont (Tk_Window tkwin, char * name); -#endif -#ifndef TkFindStateNumObj_TCL_DECLARED -#define TkFindStateNumObj_TCL_DECLARED -/* 104 */ -EXTERN int TkFindStateNumObj (Tcl_Interp * interp, - Tcl_Obj * optionPtr, - CONST TkStateMap * mapPtr, Tcl_Obj * keyPtr); -#endif -#ifndef TkGetBitmapPredefTable_TCL_DECLARED -#define TkGetBitmapPredefTable_TCL_DECLARED -/* 105 */ -EXTERN Tcl_HashTable * TkGetBitmapPredefTable (void); -#endif -#ifndef TkGetDisplayList_TCL_DECLARED -#define TkGetDisplayList_TCL_DECLARED -/* 106 */ -EXTERN TkDisplay * TkGetDisplayList (void); -#endif -#ifndef TkGetMainInfoList_TCL_DECLARED -#define TkGetMainInfoList_TCL_DECLARED -/* 107 */ -EXTERN TkMainInfo * TkGetMainInfoList (void); -#endif -#ifndef TkGetWindowFromObj_TCL_DECLARED -#define TkGetWindowFromObj_TCL_DECLARED -/* 108 */ -EXTERN int TkGetWindowFromObj (Tcl_Interp * interp, - Tk_Window tkwin, Tcl_Obj * objPtr, - Tk_Window * windowPtr); -#endif -#ifndef TkpGetString_TCL_DECLARED -#define TkpGetString_TCL_DECLARED -/* 109 */ -EXTERN char * TkpGetString (TkWindow * winPtr, XEvent * eventPtr, - Tcl_DString * dsPtr); -#endif -#ifndef TkpGetSubFonts_TCL_DECLARED -#define TkpGetSubFonts_TCL_DECLARED -/* 110 */ -EXTERN void TkpGetSubFonts (Tcl_Interp * interp, Tk_Font tkfont); -#endif -#ifndef TkpGetSystemDefault_TCL_DECLARED -#define TkpGetSystemDefault_TCL_DECLARED -/* 111 */ -EXTERN Tcl_Obj * TkpGetSystemDefault (Tk_Window tkwin, - CONST char * dbName, CONST char * className); -#endif -#ifndef TkpMenuThreadInit_TCL_DECLARED -#define TkpMenuThreadInit_TCL_DECLARED -/* 112 */ -EXTERN void TkpMenuThreadInit (void); -#endif -#ifdef __WIN32__ /* WIN */ -#ifndef TkClipBox_TCL_DECLARED -#define TkClipBox_TCL_DECLARED -/* 113 */ -EXTERN void TkClipBox (TkRegion rgn, XRectangle * rect_return); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkClipBox_TCL_DECLARED -#define TkClipBox_TCL_DECLARED -/* 113 */ -EXTERN void TkClipBox (TkRegion rgn, XRectangle * rect_return); -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkCreateRegion_TCL_DECLARED -#define TkCreateRegion_TCL_DECLARED -/* 114 */ -EXTERN TkRegion TkCreateRegion (void); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkCreateRegion_TCL_DECLARED -#define TkCreateRegion_TCL_DECLARED -/* 114 */ -EXTERN TkRegion TkCreateRegion (void); -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkDestroyRegion_TCL_DECLARED -#define TkDestroyRegion_TCL_DECLARED -/* 115 */ -EXTERN void TkDestroyRegion (TkRegion rgn); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkDestroyRegion_TCL_DECLARED -#define TkDestroyRegion_TCL_DECLARED -/* 115 */ -EXTERN void TkDestroyRegion (TkRegion rgn); -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkIntersectRegion_TCL_DECLARED -#define TkIntersectRegion_TCL_DECLARED -/* 116 */ -EXTERN void TkIntersectRegion (TkRegion sra, TkRegion srcb, - TkRegion dr_return); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkIntersectRegion_TCL_DECLARED -#define TkIntersectRegion_TCL_DECLARED -/* 116 */ -EXTERN void TkIntersectRegion (TkRegion sra, TkRegion srcb, - TkRegion dr_return); -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkRectInRegion_TCL_DECLARED -#define TkRectInRegion_TCL_DECLARED -/* 117 */ -EXTERN int TkRectInRegion (TkRegion rgn, int x, int y, - unsigned int width, unsigned int height); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkRectInRegion_TCL_DECLARED -#define TkRectInRegion_TCL_DECLARED -/* 117 */ -EXTERN int TkRectInRegion (TkRegion rgn, int x, int y, - unsigned int width, unsigned int height); -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkSetRegion_TCL_DECLARED -#define TkSetRegion_TCL_DECLARED -/* 118 */ -EXTERN void TkSetRegion (Display * display, GC gc, TkRegion rgn); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkSetRegion_TCL_DECLARED -#define TkSetRegion_TCL_DECLARED -/* 118 */ -EXTERN void TkSetRegion (Display * display, GC gc, TkRegion rgn); -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkUnionRectWithRegion_TCL_DECLARED -#define TkUnionRectWithRegion_TCL_DECLARED -/* 119 */ -EXTERN void TkUnionRectWithRegion (XRectangle * rect, - TkRegion src, TkRegion dr_return); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkUnionRectWithRegion_TCL_DECLARED -#define TkUnionRectWithRegion_TCL_DECLARED -/* 119 */ -EXTERN void TkUnionRectWithRegion (XRectangle * rect, - TkRegion src, TkRegion dr_return); -#endif -#endif /* AQUA */ -/* Slot 120 is reserved */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkpCreateNativeBitmap_TCL_DECLARED -#define TkpCreateNativeBitmap_TCL_DECLARED -/* 121 */ -EXTERN Pixmap TkpCreateNativeBitmap (Display * display, - CONST char * source); -#endif -#endif /* AQUA */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkpDefineNativeBitmaps_TCL_DECLARED -#define TkpDefineNativeBitmaps_TCL_DECLARED -/* 122 */ -EXTERN void TkpDefineNativeBitmaps (void); -#endif -#endif /* AQUA */ -/* Slot 123 is reserved */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkpGetNativeAppBitmap_TCL_DECLARED -#define TkpGetNativeAppBitmap_TCL_DECLARED -/* 124 */ -EXTERN Pixmap TkpGetNativeAppBitmap (Display * display, - CONST char * name, int * width, int * height); -#endif -#endif /* AQUA */ -/* Slot 125 is reserved */ -/* Slot 126 is reserved */ -/* Slot 127 is reserved */ -/* Slot 128 is reserved */ -/* Slot 129 is reserved */ -/* Slot 130 is reserved */ -/* Slot 131 is reserved */ -/* Slot 132 is reserved */ -/* Slot 133 is reserved */ -/* Slot 134 is reserved */ -#ifndef TkpDrawHighlightBorder_TCL_DECLARED -#define TkpDrawHighlightBorder_TCL_DECLARED -/* 135 */ -EXTERN void TkpDrawHighlightBorder (Tk_Window tkwin, GC fgGC, - GC bgGC, int highlightWidth, - Drawable drawable); -#endif -#ifndef TkSetFocusWin_TCL_DECLARED -#define TkSetFocusWin_TCL_DECLARED -/* 136 */ -EXTERN void TkSetFocusWin (TkWindow * winPtr, int force); -#endif -#ifndef TkpSetKeycodeAndState_TCL_DECLARED -#define TkpSetKeycodeAndState_TCL_DECLARED -/* 137 */ -EXTERN void TkpSetKeycodeAndState (Tk_Window tkwin, - KeySym keySym, XEvent * eventPtr); -#endif -#ifndef TkpGetKeySym_TCL_DECLARED -#define TkpGetKeySym_TCL_DECLARED -/* 138 */ -EXTERN KeySym TkpGetKeySym (TkDisplay * dispPtr, XEvent * eventPtr); -#endif -#ifndef TkpInitKeymapInfo_TCL_DECLARED -#define TkpInitKeymapInfo_TCL_DECLARED -/* 139 */ -EXTERN void TkpInitKeymapInfo (TkDisplay * dispPtr); -#endif -#ifndef TkPhotoGetValidRegion_TCL_DECLARED -#define TkPhotoGetValidRegion_TCL_DECLARED -/* 140 */ -EXTERN TkRegion TkPhotoGetValidRegion (Tk_PhotoHandle handle); -#endif -#ifndef TkWmStackorderToplevel_TCL_DECLARED -#define TkWmStackorderToplevel_TCL_DECLARED -/* 141 */ -EXTERN TkWindow ** TkWmStackorderToplevel (TkWindow * parentPtr); -#endif -#ifndef TkFocusFree_TCL_DECLARED -#define TkFocusFree_TCL_DECLARED -/* 142 */ -EXTERN void TkFocusFree (TkMainInfo * mainPtr); -#endif -#ifndef TkClipCleanup_TCL_DECLARED -#define TkClipCleanup_TCL_DECLARED -/* 143 */ -EXTERN void TkClipCleanup (TkDisplay * dispPtr); -#endif -#ifndef TkGCCleanup_TCL_DECLARED -#define TkGCCleanup_TCL_DECLARED -/* 144 */ -EXTERN void TkGCCleanup (TkDisplay * dispPtr); -#endif -#ifdef __WIN32__ /* WIN */ -#ifndef TkSubtractRegion_TCL_DECLARED -#define TkSubtractRegion_TCL_DECLARED -/* 145 */ -EXTERN void TkSubtractRegion (TkRegion sra, TkRegion srcb, - TkRegion dr_return); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkSubtractRegion_TCL_DECLARED -#define TkSubtractRegion_TCL_DECLARED -/* 145 */ -EXTERN void TkSubtractRegion (TkRegion sra, TkRegion srcb, - TkRegion dr_return); -#endif -#endif /* AQUA */ -#ifndef TkStylePkgInit_TCL_DECLARED -#define TkStylePkgInit_TCL_DECLARED -/* 146 */ -EXTERN void TkStylePkgInit (TkMainInfo * mainPtr); -#endif -#ifndef TkStylePkgFree_TCL_DECLARED -#define TkStylePkgFree_TCL_DECLARED -/* 147 */ -EXTERN void TkStylePkgFree (TkMainInfo * mainPtr); -#endif -#ifndef TkToplevelWindowForCommand_TCL_DECLARED -#define TkToplevelWindowForCommand_TCL_DECLARED -/* 148 */ -EXTERN Tk_Window TkToplevelWindowForCommand (Tcl_Interp * interp, - CONST char * cmdName); -#endif -#ifndef TkGetOptionSpec_TCL_DECLARED -#define TkGetOptionSpec_TCL_DECLARED -/* 149 */ -EXTERN CONST Tk_OptionSpec * TkGetOptionSpec (CONST char * name, - Tk_OptionTable optionTable); -#endif -#ifndef TkMakeRawCurve_TCL_DECLARED -#define TkMakeRawCurve_TCL_DECLARED -/* 150 */ -EXTERN int TkMakeRawCurve (Tk_Canvas canvas, double * pointPtr, - int numPoints, int numSteps, - XPoint xPoints[], double dblPoints[]); -#endif -#ifndef TkMakeRawCurvePostscript_TCL_DECLARED -#define TkMakeRawCurvePostscript_TCL_DECLARED -/* 151 */ -EXTERN void TkMakeRawCurvePostscript (Tcl_Interp * interp, - Tk_Canvas canvas, double * pointPtr, - int numPoints); -#endif -#ifndef TkpDrawFrame_TCL_DECLARED -#define TkpDrawFrame_TCL_DECLARED -/* 152 */ -EXTERN void TkpDrawFrame (Tk_Window tkwin, Tk_3DBorder border, - int highlightWidth, int borderWidth, - int relief); -#endif -#ifndef TkCreateThreadExitHandler_TCL_DECLARED -#define TkCreateThreadExitHandler_TCL_DECLARED -/* 153 */ -EXTERN void TkCreateThreadExitHandler (Tcl_ExitProc * proc, - ClientData clientData); -#endif -#ifndef TkDeleteThreadExitHandler_TCL_DECLARED -#define TkDeleteThreadExitHandler_TCL_DECLARED -/* 154 */ -EXTERN void TkDeleteThreadExitHandler (Tcl_ExitProc * proc, - ClientData clientData); -#endif -/* Slot 155 is reserved */ -#ifndef TkpTestembedCmd_TCL_DECLARED -#define TkpTestembedCmd_TCL_DECLARED -/* 156 */ -EXTERN int TkpTestembedCmd (ClientData clientData, - Tcl_Interp * interp, int argc, - CONST char ** argv); -#endif -#ifndef TkpTesttextCmd_TCL_DECLARED -#define TkpTesttextCmd_TCL_DECLARED -/* 157 */ -EXTERN int TkpTesttextCmd (ClientData dummy, - Tcl_Interp * interp, int argc, - CONST char ** argv); -#endif - -typedef struct TkIntStubs { - int magic; - struct TkIntStubHooks *hooks; - - TkWindow * (*tkAllocWindow) (TkDisplay * dispPtr, int screenNum, TkWindow * parentPtr); /* 0 */ - void (*tkBezierPoints) (double control[], int numSteps, double * coordPtr); /* 1 */ - void (*tkBezierScreenPoints) (Tk_Canvas canvas, double control[], int numSteps, XPoint * xPointPtr); /* 2 */ - void (*tkBindDeadWindow) (TkWindow * winPtr); /* 3 */ - void (*tkBindEventProc) (TkWindow * winPtr, XEvent * eventPtr); /* 4 */ - void (*tkBindFree) (TkMainInfo * mainPtr); /* 5 */ - void (*tkBindInit) (TkMainInfo * mainPtr); /* 6 */ - void (*tkChangeEventWindow) (XEvent * eventPtr, TkWindow * winPtr); /* 7 */ - int (*tkClipInit) (Tcl_Interp * interp, TkDisplay * dispPtr); /* 8 */ - void (*tkComputeAnchor) (Tk_Anchor anchor, Tk_Window tkwin, int padX, int padY, int innerWidth, int innerHeight, int * xPtr, int * yPtr); /* 9 */ - int (*tkCopyAndGlobalEval) (Tcl_Interp * interp, char * script); /* 10 */ - unsigned long (*tkCreateBindingProcedure) (Tcl_Interp * interp, Tk_BindingTable bindingTable, ClientData object, CONST char * eventString, TkBindEvalProc * evalProc, TkBindFreeProc * freeProc, ClientData clientData); /* 11 */ - TkCursor * (*tkCreateCursorFromData) (Tk_Window tkwin, CONST char * source, CONST char * mask, int width, int height, int xHot, int yHot, XColor fg, XColor bg); /* 12 */ - int (*tkCreateFrame) (ClientData clientData, Tcl_Interp * interp, int argc, char ** argv, int toplevel, char * appName); /* 13 */ - Tk_Window (*tkCreateMainWindow) (Tcl_Interp * interp, CONST char * screenName, char * baseName); /* 14 */ - Time (*tkCurrentTime) (TkDisplay * dispPtr); /* 15 */ - void (*tkDeleteAllImages) (TkMainInfo * mainPtr); /* 16 */ - void (*tkDoConfigureNotify) (TkWindow * winPtr); /* 17 */ - void (*tkDrawInsetFocusHighlight) (Tk_Window tkwin, GC gc, int width, Drawable drawable, int padding); /* 18 */ - void (*tkEventDeadWindow) (TkWindow * winPtr); /* 19 */ - void (*tkFillPolygon) (Tk_Canvas canvas, double * coordPtr, int numPoints, Display * display, Drawable drawable, GC gc, GC outlineGC); /* 20 */ - int (*tkFindStateNum) (Tcl_Interp * interp, CONST char * option, CONST TkStateMap * mapPtr, CONST char * strKey); /* 21 */ - char * (*tkFindStateString) (CONST TkStateMap * mapPtr, int numKey); /* 22 */ - void (*tkFocusDeadWindow) (TkWindow * winPtr); /* 23 */ - int (*tkFocusFilterEvent) (TkWindow * winPtr, XEvent * eventPtr); /* 24 */ - TkWindow * (*tkFocusKeyEvent) (TkWindow * winPtr, XEvent * eventPtr); /* 25 */ - void (*tkFontPkgInit) (TkMainInfo * mainPtr); /* 26 */ - void (*tkFontPkgFree) (TkMainInfo * mainPtr); /* 27 */ - void (*tkFreeBindingTags) (TkWindow * winPtr); /* 28 */ - void (*tkpFreeCursor) (TkCursor * cursorPtr); /* 29 */ - char * (*tkGetBitmapData) (Tcl_Interp * interp, char * string, char * fileName, int * widthPtr, int * heightPtr, int * hotXPtr, int * hotYPtr); /* 30 */ - void (*tkGetButtPoints) (double p1[], double p2[], double width, int project, double m1[], double m2[]); /* 31 */ - TkCursor * (*tkGetCursorByName) (Tcl_Interp * interp, Tk_Window tkwin, Tk_Uid string); /* 32 */ - CONST84_RETURN char * (*tkGetDefaultScreenName) (Tcl_Interp * interp, CONST char * screenName); /* 33 */ - TkDisplay * (*tkGetDisplay) (Display * display); /* 34 */ - int (*tkGetDisplayOf) (Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[], Tk_Window * tkwinPtr); /* 35 */ - TkWindow * (*tkGetFocusWin) (TkWindow * winPtr); /* 36 */ - int (*tkGetInterpNames) (Tcl_Interp * interp, Tk_Window tkwin); /* 37 */ - int (*tkGetMiterPoints) (double p1[], double p2[], double p3[], double width, double m1[], double m2[]); /* 38 */ - void (*tkGetPointerCoords) (Tk_Window tkwin, int * xPtr, int * yPtr); /* 39 */ - void (*tkGetServerInfo) (Tcl_Interp * interp, Tk_Window tkwin); /* 40 */ - void (*tkGrabDeadWindow) (TkWindow * winPtr); /* 41 */ - int (*tkGrabState) (TkWindow * winPtr); /* 42 */ - void (*tkIncludePoint) (Tk_Item * itemPtr, double * pointPtr); /* 43 */ - void (*tkInOutEvents) (XEvent * eventPtr, TkWindow * sourcePtr, TkWindow * destPtr, int leaveType, int enterType, Tcl_QueuePosition position); /* 44 */ - void (*tkInstallFrameMenu) (Tk_Window tkwin); /* 45 */ - char * (*tkKeysymToString) (KeySym keysym); /* 46 */ - int (*tkLineToArea) (double end1Ptr[], double end2Ptr[], double rectPtr[]); /* 47 */ - double (*tkLineToPoint) (double end1Ptr[], double end2Ptr[], double pointPtr[]); /* 48 */ - int (*tkMakeBezierCurve) (Tk_Canvas canvas, double * pointPtr, int numPoints, int numSteps, XPoint xPoints[], double dblPoints[]); /* 49 */ - void (*tkMakeBezierPostscript) (Tcl_Interp * interp, Tk_Canvas canvas, double * pointPtr, int numPoints); /* 50 */ - void (*tkOptionClassChanged) (TkWindow * winPtr); /* 51 */ - void (*tkOptionDeadWindow) (TkWindow * winPtr); /* 52 */ - int (*tkOvalToArea) (double * ovalPtr, double * rectPtr); /* 53 */ - double (*tkOvalToPoint) (double ovalPtr[], double width, int filled, double pointPtr[]); /* 54 */ - int (*tkpChangeFocus) (TkWindow * winPtr, int force); /* 55 */ - void (*tkpCloseDisplay) (TkDisplay * dispPtr); /* 56 */ - void (*tkpClaimFocus) (TkWindow * topLevelPtr, int force); /* 57 */ - void (*tkpDisplayWarning) (CONST char * msg, CONST char * title); /* 58 */ - void (*tkpGetAppName) (Tcl_Interp * interp, Tcl_DString * name); /* 59 */ - TkWindow * (*tkpGetOtherWindow) (TkWindow * winPtr); /* 60 */ - TkWindow * (*tkpGetWrapperWindow) (TkWindow * winPtr); /* 61 */ - int (*tkpInit) (Tcl_Interp * interp); /* 62 */ - void (*tkpInitializeMenuBindings) (Tcl_Interp * interp, Tk_BindingTable bindingTable); /* 63 */ - void (*tkpMakeContainer) (Tk_Window tkwin); /* 64 */ - void (*tkpMakeMenuWindow) (Tk_Window tkwin, int transient); /* 65 */ - Window (*tkpMakeWindow) (TkWindow * winPtr, Window parent); /* 66 */ - void (*tkpMenuNotifyToplevelCreate) (Tcl_Interp * interp1, char * menuName); /* 67 */ - TkDisplay * (*tkpOpenDisplay) (CONST char * display_name); /* 68 */ - int (*tkPointerEvent) (XEvent * eventPtr, TkWindow * winPtr); /* 69 */ - int (*tkPolygonToArea) (double * polyPtr, int numPoints, double * rectPtr); /* 70 */ - double (*tkPolygonToPoint) (double * polyPtr, int numPoints, double * pointPtr); /* 71 */ - int (*tkPositionInTree) (TkWindow * winPtr, TkWindow * treePtr); /* 72 */ - void (*tkpRedirectKeyEvent) (TkWindow * winPtr, XEvent * eventPtr); /* 73 */ - void (*tkpSetMainMenubar) (Tcl_Interp * interp, Tk_Window tkwin, char * menuName); /* 74 */ - int (*tkpUseWindow) (Tcl_Interp * interp, Tk_Window tkwin, CONST char * string); /* 75 */ - int (*tkpWindowWasRecentlyDeleted) (Window win, TkDisplay * dispPtr); /* 76 */ - void (*tkQueueEventForAllChildren) (TkWindow * winPtr, XEvent * eventPtr); /* 77 */ - int (*tkReadBitmapFile) (Display * display, Drawable d, CONST char * filename, unsigned int * width_return, unsigned int * height_return, Pixmap * bitmap_return, int * x_hot_return, int * y_hot_return); /* 78 */ - int (*tkScrollWindow) (Tk_Window tkwin, GC gc, int x, int y, int width, int height, int dx, int dy, TkRegion damageRgn); /* 79 */ - void (*tkSelDeadWindow) (TkWindow * winPtr); /* 80 */ - void (*tkSelEventProc) (Tk_Window tkwin, XEvent * eventPtr); /* 81 */ - void (*tkSelInit) (Tk_Window tkwin); /* 82 */ - void (*tkSelPropProc) (XEvent * eventPtr); /* 83 */ - void *reserved84; - void (*tkSetWindowMenuBar) (Tcl_Interp * interp, Tk_Window tkwin, char * oldMenuName, char * menuName); /* 85 */ - KeySym (*tkStringToKeysym) (char * name); /* 86 */ - int (*tkThickPolyLineToArea) (double * coordPtr, int numPoints, double width, int capStyle, int joinStyle, double * rectPtr); /* 87 */ - void (*tkWmAddToColormapWindows) (TkWindow * winPtr); /* 88 */ - void (*tkWmDeadWindow) (TkWindow * winPtr); /* 89 */ - TkWindow * (*tkWmFocusToplevel) (TkWindow * winPtr); /* 90 */ - void (*tkWmMapWindow) (TkWindow * winPtr); /* 91 */ - void (*tkWmNewWindow) (TkWindow * winPtr); /* 92 */ - void (*tkWmProtocolEventProc) (TkWindow * winPtr, XEvent * evenvPtr); /* 93 */ - void (*tkWmRemoveFromColormapWindows) (TkWindow * winPtr); /* 94 */ - void (*tkWmRestackToplevel) (TkWindow * winPtr, int aboveBelow, TkWindow * otherPtr); /* 95 */ - void (*tkWmSetClass) (TkWindow * winPtr); /* 96 */ - void (*tkWmUnmapWindow) (TkWindow * winPtr); /* 97 */ - Tcl_Obj * (*tkDebugBitmap) (Tk_Window tkwin, char * name); /* 98 */ - Tcl_Obj * (*tkDebugBorder) (Tk_Window tkwin, char * name); /* 99 */ - Tcl_Obj * (*tkDebugCursor) (Tk_Window tkwin, char * name); /* 100 */ - Tcl_Obj * (*tkDebugColor) (Tk_Window tkwin, char * name); /* 101 */ - Tcl_Obj * (*tkDebugConfig) (Tcl_Interp * interp, Tk_OptionTable table); /* 102 */ - Tcl_Obj * (*tkDebugFont) (Tk_Window tkwin, char * name); /* 103 */ - int (*tkFindStateNumObj) (Tcl_Interp * interp, Tcl_Obj * optionPtr, CONST TkStateMap * mapPtr, Tcl_Obj * keyPtr); /* 104 */ - Tcl_HashTable * (*tkGetBitmapPredefTable) (void); /* 105 */ - TkDisplay * (*tkGetDisplayList) (void); /* 106 */ - TkMainInfo * (*tkGetMainInfoList) (void); /* 107 */ - int (*tkGetWindowFromObj) (Tcl_Interp * interp, Tk_Window tkwin, Tcl_Obj * objPtr, Tk_Window * windowPtr); /* 108 */ - char * (*tkpGetString) (TkWindow * winPtr, XEvent * eventPtr, Tcl_DString * dsPtr); /* 109 */ - void (*tkpGetSubFonts) (Tcl_Interp * interp, Tk_Font tkfont); /* 110 */ - Tcl_Obj * (*tkpGetSystemDefault) (Tk_Window tkwin, CONST char * dbName, CONST char * className); /* 111 */ - void (*tkpMenuThreadInit) (void); /* 112 */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void *reserved113; -#endif /* X11 */ -#ifdef __WIN32__ /* WIN */ - void (*tkClipBox) (TkRegion rgn, XRectangle * rect_return); /* 113 */ -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void *reserved113; /* Dummy entry for stubs table backwards compatibility */ - void (*tkClipBox) (TkRegion rgn, XRectangle * rect_return); /* 113 */ -#endif /* AQUA */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void *reserved114; -#endif /* X11 */ -#ifdef __WIN32__ /* WIN */ - TkRegion (*tkCreateRegion) (void); /* 114 */ -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void *reserved114; /* Dummy entry for stubs table backwards compatibility */ - TkRegion (*tkCreateRegion) (void); /* 114 */ -#endif /* AQUA */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void *reserved115; -#endif /* X11 */ -#ifdef __WIN32__ /* WIN */ - void (*tkDestroyRegion) (TkRegion rgn); /* 115 */ -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void *reserved115; /* Dummy entry for stubs table backwards compatibility */ - void (*tkDestroyRegion) (TkRegion rgn); /* 115 */ -#endif /* AQUA */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void *reserved116; -#endif /* X11 */ -#ifdef __WIN32__ /* WIN */ - void (*tkIntersectRegion) (TkRegion sra, TkRegion srcb, TkRegion dr_return); /* 116 */ -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void *reserved116; /* Dummy entry for stubs table backwards compatibility */ - void (*tkIntersectRegion) (TkRegion sra, TkRegion srcb, TkRegion dr_return); /* 116 */ -#endif /* AQUA */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void *reserved117; -#endif /* X11 */ -#ifdef __WIN32__ /* WIN */ - int (*tkRectInRegion) (TkRegion rgn, int x, int y, unsigned int width, unsigned int height); /* 117 */ -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void *reserved117; /* Dummy entry for stubs table backwards compatibility */ - int (*tkRectInRegion) (TkRegion rgn, int x, int y, unsigned int width, unsigned int height); /* 117 */ -#endif /* AQUA */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void *reserved118; -#endif /* X11 */ -#ifdef __WIN32__ /* WIN */ - void (*tkSetRegion) (Display * display, GC gc, TkRegion rgn); /* 118 */ -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void *reserved118; /* Dummy entry for stubs table backwards compatibility */ - void (*tkSetRegion) (Display * display, GC gc, TkRegion rgn); /* 118 */ -#endif /* AQUA */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void *reserved119; -#endif /* X11 */ -#ifdef __WIN32__ /* WIN */ - void (*tkUnionRectWithRegion) (XRectangle * rect, TkRegion src, TkRegion dr_return); /* 119 */ -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void *reserved119; /* Dummy entry for stubs table backwards compatibility */ - void (*tkUnionRectWithRegion) (XRectangle * rect, TkRegion src, TkRegion dr_return); /* 119 */ -#endif /* AQUA */ - void *reserved120; -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void *reserved121; -#endif /* X11 */ -#ifdef __WIN32__ /* WIN */ - void *reserved121; -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void *reserved121; /* Dummy entry for stubs table backwards compatibility */ - Pixmap (*tkpCreateNativeBitmap) (Display * display, CONST char * source); /* 121 */ -#endif /* AQUA */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void *reserved122; -#endif /* X11 */ -#ifdef __WIN32__ /* WIN */ - void *reserved122; -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void *reserved122; /* Dummy entry for stubs table backwards compatibility */ - void (*tkpDefineNativeBitmaps) (void); /* 122 */ -#endif /* AQUA */ - void *reserved123; -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void *reserved124; -#endif /* X11 */ -#ifdef __WIN32__ /* WIN */ - void *reserved124; -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void *reserved124; /* Dummy entry for stubs table backwards compatibility */ - Pixmap (*tkpGetNativeAppBitmap) (Display * display, CONST char * name, int * width, int * height); /* 124 */ -#endif /* AQUA */ - void *reserved125; - void *reserved126; - void *reserved127; - void *reserved128; - void *reserved129; - void *reserved130; - void *reserved131; - void *reserved132; - void *reserved133; - void *reserved134; - void (*tkpDrawHighlightBorder) (Tk_Window tkwin, GC fgGC, GC bgGC, int highlightWidth, Drawable drawable); /* 135 */ - void (*tkSetFocusWin) (TkWindow * winPtr, int force); /* 136 */ - void (*tkpSetKeycodeAndState) (Tk_Window tkwin, KeySym keySym, XEvent * eventPtr); /* 137 */ - KeySym (*tkpGetKeySym) (TkDisplay * dispPtr, XEvent * eventPtr); /* 138 */ - void (*tkpInitKeymapInfo) (TkDisplay * dispPtr); /* 139 */ - TkRegion (*tkPhotoGetValidRegion) (Tk_PhotoHandle handle); /* 140 */ - TkWindow ** (*tkWmStackorderToplevel) (TkWindow * parentPtr); /* 141 */ - void (*tkFocusFree) (TkMainInfo * mainPtr); /* 142 */ - void (*tkClipCleanup) (TkDisplay * dispPtr); /* 143 */ - void (*tkGCCleanup) (TkDisplay * dispPtr); /* 144 */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void *reserved145; -#endif /* X11 */ -#ifdef __WIN32__ /* WIN */ - void (*tkSubtractRegion) (TkRegion sra, TkRegion srcb, TkRegion dr_return); /* 145 */ -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void *reserved145; /* Dummy entry for stubs table backwards compatibility */ - void (*tkSubtractRegion) (TkRegion sra, TkRegion srcb, TkRegion dr_return); /* 145 */ -#endif /* AQUA */ - void (*tkStylePkgInit) (TkMainInfo * mainPtr); /* 146 */ - void (*tkStylePkgFree) (TkMainInfo * mainPtr); /* 147 */ - Tk_Window (*tkToplevelWindowForCommand) (Tcl_Interp * interp, CONST char * cmdName); /* 148 */ - CONST Tk_OptionSpec * (*tkGetOptionSpec) (CONST char * name, Tk_OptionTable optionTable); /* 149 */ - int (*tkMakeRawCurve) (Tk_Canvas canvas, double * pointPtr, int numPoints, int numSteps, XPoint xPoints[], double dblPoints[]); /* 150 */ - void (*tkMakeRawCurvePostscript) (Tcl_Interp * interp, Tk_Canvas canvas, double * pointPtr, int numPoints); /* 151 */ - void (*tkpDrawFrame) (Tk_Window tkwin, Tk_3DBorder border, int highlightWidth, int borderWidth, int relief); /* 152 */ - void (*tkCreateThreadExitHandler) (Tcl_ExitProc * proc, ClientData clientData); /* 153 */ - void (*tkDeleteThreadExitHandler) (Tcl_ExitProc * proc, ClientData clientData); /* 154 */ - void *reserved155; - int (*tkpTestembedCmd) (ClientData clientData, Tcl_Interp * interp, int argc, CONST char ** argv); /* 156 */ - int (*tkpTesttextCmd) (ClientData dummy, Tcl_Interp * interp, int argc, CONST char ** argv); /* 157 */ -} TkIntStubs; - -#ifdef __cplusplus -extern "C" { -#endif -extern TkIntStubs *tkIntStubsPtr; -#ifdef __cplusplus -} -#endif - -#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) - -/* - * Inline function declarations: - */ - -#ifndef TkAllocWindow -#define TkAllocWindow \ - (tkIntStubsPtr->tkAllocWindow) /* 0 */ -#endif -#ifndef TkBezierPoints -#define TkBezierPoints \ - (tkIntStubsPtr->tkBezierPoints) /* 1 */ -#endif -#ifndef TkBezierScreenPoints -#define TkBezierScreenPoints \ - (tkIntStubsPtr->tkBezierScreenPoints) /* 2 */ -#endif -#ifndef TkBindDeadWindow -#define TkBindDeadWindow \ - (tkIntStubsPtr->tkBindDeadWindow) /* 3 */ -#endif -#ifndef TkBindEventProc -#define TkBindEventProc \ - (tkIntStubsPtr->tkBindEventProc) /* 4 */ -#endif -#ifndef TkBindFree -#define TkBindFree \ - (tkIntStubsPtr->tkBindFree) /* 5 */ -#endif -#ifndef TkBindInit -#define TkBindInit \ - (tkIntStubsPtr->tkBindInit) /* 6 */ -#endif -#ifndef TkChangeEventWindow -#define TkChangeEventWindow \ - (tkIntStubsPtr->tkChangeEventWindow) /* 7 */ -#endif -#ifndef TkClipInit -#define TkClipInit \ - (tkIntStubsPtr->tkClipInit) /* 8 */ -#endif -#ifndef TkComputeAnchor -#define TkComputeAnchor \ - (tkIntStubsPtr->tkComputeAnchor) /* 9 */ -#endif -#ifndef TkCopyAndGlobalEval -#define TkCopyAndGlobalEval \ - (tkIntStubsPtr->tkCopyAndGlobalEval) /* 10 */ -#endif -#ifndef TkCreateBindingProcedure -#define TkCreateBindingProcedure \ - (tkIntStubsPtr->tkCreateBindingProcedure) /* 11 */ -#endif -#ifndef TkCreateCursorFromData -#define TkCreateCursorFromData \ - (tkIntStubsPtr->tkCreateCursorFromData) /* 12 */ -#endif -#ifndef TkCreateFrame -#define TkCreateFrame \ - (tkIntStubsPtr->tkCreateFrame) /* 13 */ -#endif -#ifndef TkCreateMainWindow -#define TkCreateMainWindow \ - (tkIntStubsPtr->tkCreateMainWindow) /* 14 */ -#endif -#ifndef TkCurrentTime -#define TkCurrentTime \ - (tkIntStubsPtr->tkCurrentTime) /* 15 */ -#endif -#ifndef TkDeleteAllImages -#define TkDeleteAllImages \ - (tkIntStubsPtr->tkDeleteAllImages) /* 16 */ -#endif -#ifndef TkDoConfigureNotify -#define TkDoConfigureNotify \ - (tkIntStubsPtr->tkDoConfigureNotify) /* 17 */ -#endif -#ifndef TkDrawInsetFocusHighlight -#define TkDrawInsetFocusHighlight \ - (tkIntStubsPtr->tkDrawInsetFocusHighlight) /* 18 */ -#endif -#ifndef TkEventDeadWindow -#define TkEventDeadWindow \ - (tkIntStubsPtr->tkEventDeadWindow) /* 19 */ -#endif -#ifndef TkFillPolygon -#define TkFillPolygon \ - (tkIntStubsPtr->tkFillPolygon) /* 20 */ -#endif -#ifndef TkFindStateNum -#define TkFindStateNum \ - (tkIntStubsPtr->tkFindStateNum) /* 21 */ -#endif -#ifndef TkFindStateString -#define TkFindStateString \ - (tkIntStubsPtr->tkFindStateString) /* 22 */ -#endif -#ifndef TkFocusDeadWindow -#define TkFocusDeadWindow \ - (tkIntStubsPtr->tkFocusDeadWindow) /* 23 */ -#endif -#ifndef TkFocusFilterEvent -#define TkFocusFilterEvent \ - (tkIntStubsPtr->tkFocusFilterEvent) /* 24 */ -#endif -#ifndef TkFocusKeyEvent -#define TkFocusKeyEvent \ - (tkIntStubsPtr->tkFocusKeyEvent) /* 25 */ -#endif -#ifndef TkFontPkgInit -#define TkFontPkgInit \ - (tkIntStubsPtr->tkFontPkgInit) /* 26 */ -#endif -#ifndef TkFontPkgFree -#define TkFontPkgFree \ - (tkIntStubsPtr->tkFontPkgFree) /* 27 */ -#endif -#ifndef TkFreeBindingTags -#define TkFreeBindingTags \ - (tkIntStubsPtr->tkFreeBindingTags) /* 28 */ -#endif -#ifndef TkpFreeCursor -#define TkpFreeCursor \ - (tkIntStubsPtr->tkpFreeCursor) /* 29 */ -#endif -#ifndef TkGetBitmapData -#define TkGetBitmapData \ - (tkIntStubsPtr->tkGetBitmapData) /* 30 */ -#endif -#ifndef TkGetButtPoints -#define TkGetButtPoints \ - (tkIntStubsPtr->tkGetButtPoints) /* 31 */ -#endif -#ifndef TkGetCursorByName -#define TkGetCursorByName \ - (tkIntStubsPtr->tkGetCursorByName) /* 32 */ -#endif -#ifndef TkGetDefaultScreenName -#define TkGetDefaultScreenName \ - (tkIntStubsPtr->tkGetDefaultScreenName) /* 33 */ -#endif -#ifndef TkGetDisplay -#define TkGetDisplay \ - (tkIntStubsPtr->tkGetDisplay) /* 34 */ -#endif -#ifndef TkGetDisplayOf -#define TkGetDisplayOf \ - (tkIntStubsPtr->tkGetDisplayOf) /* 35 */ -#endif -#ifndef TkGetFocusWin -#define TkGetFocusWin \ - (tkIntStubsPtr->tkGetFocusWin) /* 36 */ -#endif -#ifndef TkGetInterpNames -#define TkGetInterpNames \ - (tkIntStubsPtr->tkGetInterpNames) /* 37 */ -#endif -#ifndef TkGetMiterPoints -#define TkGetMiterPoints \ - (tkIntStubsPtr->tkGetMiterPoints) /* 38 */ -#endif -#ifndef TkGetPointerCoords -#define TkGetPointerCoords \ - (tkIntStubsPtr->tkGetPointerCoords) /* 39 */ -#endif -#ifndef TkGetServerInfo -#define TkGetServerInfo \ - (tkIntStubsPtr->tkGetServerInfo) /* 40 */ -#endif -#ifndef TkGrabDeadWindow -#define TkGrabDeadWindow \ - (tkIntStubsPtr->tkGrabDeadWindow) /* 41 */ -#endif -#ifndef TkGrabState -#define TkGrabState \ - (tkIntStubsPtr->tkGrabState) /* 42 */ -#endif -#ifndef TkIncludePoint -#define TkIncludePoint \ - (tkIntStubsPtr->tkIncludePoint) /* 43 */ -#endif -#ifndef TkInOutEvents -#define TkInOutEvents \ - (tkIntStubsPtr->tkInOutEvents) /* 44 */ -#endif -#ifndef TkInstallFrameMenu -#define TkInstallFrameMenu \ - (tkIntStubsPtr->tkInstallFrameMenu) /* 45 */ -#endif -#ifndef TkKeysymToString -#define TkKeysymToString \ - (tkIntStubsPtr->tkKeysymToString) /* 46 */ -#endif -#ifndef TkLineToArea -#define TkLineToArea \ - (tkIntStubsPtr->tkLineToArea) /* 47 */ -#endif -#ifndef TkLineToPoint -#define TkLineToPoint \ - (tkIntStubsPtr->tkLineToPoint) /* 48 */ -#endif -#ifndef TkMakeBezierCurve -#define TkMakeBezierCurve \ - (tkIntStubsPtr->tkMakeBezierCurve) /* 49 */ -#endif -#ifndef TkMakeBezierPostscript -#define TkMakeBezierPostscript \ - (tkIntStubsPtr->tkMakeBezierPostscript) /* 50 */ -#endif -#ifndef TkOptionClassChanged -#define TkOptionClassChanged \ - (tkIntStubsPtr->tkOptionClassChanged) /* 51 */ -#endif -#ifndef TkOptionDeadWindow -#define TkOptionDeadWindow \ - (tkIntStubsPtr->tkOptionDeadWindow) /* 52 */ -#endif -#ifndef TkOvalToArea -#define TkOvalToArea \ - (tkIntStubsPtr->tkOvalToArea) /* 53 */ -#endif -#ifndef TkOvalToPoint -#define TkOvalToPoint \ - (tkIntStubsPtr->tkOvalToPoint) /* 54 */ -#endif -#ifndef TkpChangeFocus -#define TkpChangeFocus \ - (tkIntStubsPtr->tkpChangeFocus) /* 55 */ -#endif -#ifndef TkpCloseDisplay -#define TkpCloseDisplay \ - (tkIntStubsPtr->tkpCloseDisplay) /* 56 */ -#endif -#ifndef TkpClaimFocus -#define TkpClaimFocus \ - (tkIntStubsPtr->tkpClaimFocus) /* 57 */ -#endif -#ifndef TkpDisplayWarning -#define TkpDisplayWarning \ - (tkIntStubsPtr->tkpDisplayWarning) /* 58 */ -#endif -#ifndef TkpGetAppName -#define TkpGetAppName \ - (tkIntStubsPtr->tkpGetAppName) /* 59 */ -#endif -#ifndef TkpGetOtherWindow -#define TkpGetOtherWindow \ - (tkIntStubsPtr->tkpGetOtherWindow) /* 60 */ -#endif -#ifndef TkpGetWrapperWindow -#define TkpGetWrapperWindow \ - (tkIntStubsPtr->tkpGetWrapperWindow) /* 61 */ -#endif -#ifndef TkpInit -#define TkpInit \ - (tkIntStubsPtr->tkpInit) /* 62 */ -#endif -#ifndef TkpInitializeMenuBindings -#define TkpInitializeMenuBindings \ - (tkIntStubsPtr->tkpInitializeMenuBindings) /* 63 */ -#endif -#ifndef TkpMakeContainer -#define TkpMakeContainer \ - (tkIntStubsPtr->tkpMakeContainer) /* 64 */ -#endif -#ifndef TkpMakeMenuWindow -#define TkpMakeMenuWindow \ - (tkIntStubsPtr->tkpMakeMenuWindow) /* 65 */ -#endif -#ifndef TkpMakeWindow -#define TkpMakeWindow \ - (tkIntStubsPtr->tkpMakeWindow) /* 66 */ -#endif -#ifndef TkpMenuNotifyToplevelCreate -#define TkpMenuNotifyToplevelCreate \ - (tkIntStubsPtr->tkpMenuNotifyToplevelCreate) /* 67 */ -#endif -#ifndef TkpOpenDisplay -#define TkpOpenDisplay \ - (tkIntStubsPtr->tkpOpenDisplay) /* 68 */ -#endif -#ifndef TkPointerEvent -#define TkPointerEvent \ - (tkIntStubsPtr->tkPointerEvent) /* 69 */ -#endif -#ifndef TkPolygonToArea -#define TkPolygonToArea \ - (tkIntStubsPtr->tkPolygonToArea) /* 70 */ -#endif -#ifndef TkPolygonToPoint -#define TkPolygonToPoint \ - (tkIntStubsPtr->tkPolygonToPoint) /* 71 */ -#endif -#ifndef TkPositionInTree -#define TkPositionInTree \ - (tkIntStubsPtr->tkPositionInTree) /* 72 */ -#endif -#ifndef TkpRedirectKeyEvent -#define TkpRedirectKeyEvent \ - (tkIntStubsPtr->tkpRedirectKeyEvent) /* 73 */ -#endif -#ifndef TkpSetMainMenubar -#define TkpSetMainMenubar \ - (tkIntStubsPtr->tkpSetMainMenubar) /* 74 */ -#endif -#ifndef TkpUseWindow -#define TkpUseWindow \ - (tkIntStubsPtr->tkpUseWindow) /* 75 */ -#endif -#ifndef TkpWindowWasRecentlyDeleted -#define TkpWindowWasRecentlyDeleted \ - (tkIntStubsPtr->tkpWindowWasRecentlyDeleted) /* 76 */ -#endif -#ifndef TkQueueEventForAllChildren -#define TkQueueEventForAllChildren \ - (tkIntStubsPtr->tkQueueEventForAllChildren) /* 77 */ -#endif -#ifndef TkReadBitmapFile -#define TkReadBitmapFile \ - (tkIntStubsPtr->tkReadBitmapFile) /* 78 */ -#endif -#ifndef TkScrollWindow -#define TkScrollWindow \ - (tkIntStubsPtr->tkScrollWindow) /* 79 */ -#endif -#ifndef TkSelDeadWindow -#define TkSelDeadWindow \ - (tkIntStubsPtr->tkSelDeadWindow) /* 80 */ -#endif -#ifndef TkSelEventProc -#define TkSelEventProc \ - (tkIntStubsPtr->tkSelEventProc) /* 81 */ -#endif -#ifndef TkSelInit -#define TkSelInit \ - (tkIntStubsPtr->tkSelInit) /* 82 */ -#endif -#ifndef TkSelPropProc -#define TkSelPropProc \ - (tkIntStubsPtr->tkSelPropProc) /* 83 */ -#endif -/* Slot 84 is reserved */ -#ifndef TkSetWindowMenuBar -#define TkSetWindowMenuBar \ - (tkIntStubsPtr->tkSetWindowMenuBar) /* 85 */ -#endif -#ifndef TkStringToKeysym -#define TkStringToKeysym \ - (tkIntStubsPtr->tkStringToKeysym) /* 86 */ -#endif -#ifndef TkThickPolyLineToArea -#define TkThickPolyLineToArea \ - (tkIntStubsPtr->tkThickPolyLineToArea) /* 87 */ -#endif -#ifndef TkWmAddToColormapWindows -#define TkWmAddToColormapWindows \ - (tkIntStubsPtr->tkWmAddToColormapWindows) /* 88 */ -#endif -#ifndef TkWmDeadWindow -#define TkWmDeadWindow \ - (tkIntStubsPtr->tkWmDeadWindow) /* 89 */ -#endif -#ifndef TkWmFocusToplevel -#define TkWmFocusToplevel \ - (tkIntStubsPtr->tkWmFocusToplevel) /* 90 */ -#endif -#ifndef TkWmMapWindow -#define TkWmMapWindow \ - (tkIntStubsPtr->tkWmMapWindow) /* 91 */ -#endif -#ifndef TkWmNewWindow -#define TkWmNewWindow \ - (tkIntStubsPtr->tkWmNewWindow) /* 92 */ -#endif -#ifndef TkWmProtocolEventProc -#define TkWmProtocolEventProc \ - (tkIntStubsPtr->tkWmProtocolEventProc) /* 93 */ -#endif -#ifndef TkWmRemoveFromColormapWindows -#define TkWmRemoveFromColormapWindows \ - (tkIntStubsPtr->tkWmRemoveFromColormapWindows) /* 94 */ -#endif -#ifndef TkWmRestackToplevel -#define TkWmRestackToplevel \ - (tkIntStubsPtr->tkWmRestackToplevel) /* 95 */ -#endif -#ifndef TkWmSetClass -#define TkWmSetClass \ - (tkIntStubsPtr->tkWmSetClass) /* 96 */ -#endif -#ifndef TkWmUnmapWindow -#define TkWmUnmapWindow \ - (tkIntStubsPtr->tkWmUnmapWindow) /* 97 */ -#endif -#ifndef TkDebugBitmap -#define TkDebugBitmap \ - (tkIntStubsPtr->tkDebugBitmap) /* 98 */ -#endif -#ifndef TkDebugBorder -#define TkDebugBorder \ - (tkIntStubsPtr->tkDebugBorder) /* 99 */ -#endif -#ifndef TkDebugCursor -#define TkDebugCursor \ - (tkIntStubsPtr->tkDebugCursor) /* 100 */ -#endif -#ifndef TkDebugColor -#define TkDebugColor \ - (tkIntStubsPtr->tkDebugColor) /* 101 */ -#endif -#ifndef TkDebugConfig -#define TkDebugConfig \ - (tkIntStubsPtr->tkDebugConfig) /* 102 */ -#endif -#ifndef TkDebugFont -#define TkDebugFont \ - (tkIntStubsPtr->tkDebugFont) /* 103 */ -#endif -#ifndef TkFindStateNumObj -#define TkFindStateNumObj \ - (tkIntStubsPtr->tkFindStateNumObj) /* 104 */ -#endif -#ifndef TkGetBitmapPredefTable -#define TkGetBitmapPredefTable \ - (tkIntStubsPtr->tkGetBitmapPredefTable) /* 105 */ -#endif -#ifndef TkGetDisplayList -#define TkGetDisplayList \ - (tkIntStubsPtr->tkGetDisplayList) /* 106 */ -#endif -#ifndef TkGetMainInfoList -#define TkGetMainInfoList \ - (tkIntStubsPtr->tkGetMainInfoList) /* 107 */ -#endif -#ifndef TkGetWindowFromObj -#define TkGetWindowFromObj \ - (tkIntStubsPtr->tkGetWindowFromObj) /* 108 */ -#endif -#ifndef TkpGetString -#define TkpGetString \ - (tkIntStubsPtr->tkpGetString) /* 109 */ -#endif -#ifndef TkpGetSubFonts -#define TkpGetSubFonts \ - (tkIntStubsPtr->tkpGetSubFonts) /* 110 */ -#endif -#ifndef TkpGetSystemDefault -#define TkpGetSystemDefault \ - (tkIntStubsPtr->tkpGetSystemDefault) /* 111 */ -#endif -#ifndef TkpMenuThreadInit -#define TkpMenuThreadInit \ - (tkIntStubsPtr->tkpMenuThreadInit) /* 112 */ -#endif -#ifdef __WIN32__ /* WIN */ -#ifndef TkClipBox -#define TkClipBox \ - (tkIntStubsPtr->tkClipBox) /* 113 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkClipBox -#define TkClipBox \ - (tkIntStubsPtr->tkClipBox) /* 113 */ -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkCreateRegion -#define TkCreateRegion \ - (tkIntStubsPtr->tkCreateRegion) /* 114 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkCreateRegion -#define TkCreateRegion \ - (tkIntStubsPtr->tkCreateRegion) /* 114 */ -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkDestroyRegion -#define TkDestroyRegion \ - (tkIntStubsPtr->tkDestroyRegion) /* 115 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkDestroyRegion -#define TkDestroyRegion \ - (tkIntStubsPtr->tkDestroyRegion) /* 115 */ -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkIntersectRegion -#define TkIntersectRegion \ - (tkIntStubsPtr->tkIntersectRegion) /* 116 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkIntersectRegion -#define TkIntersectRegion \ - (tkIntStubsPtr->tkIntersectRegion) /* 116 */ -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkRectInRegion -#define TkRectInRegion \ - (tkIntStubsPtr->tkRectInRegion) /* 117 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkRectInRegion -#define TkRectInRegion \ - (tkIntStubsPtr->tkRectInRegion) /* 117 */ -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkSetRegion -#define TkSetRegion \ - (tkIntStubsPtr->tkSetRegion) /* 118 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkSetRegion -#define TkSetRegion \ - (tkIntStubsPtr->tkSetRegion) /* 118 */ -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkUnionRectWithRegion -#define TkUnionRectWithRegion \ - (tkIntStubsPtr->tkUnionRectWithRegion) /* 119 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkUnionRectWithRegion -#define TkUnionRectWithRegion \ - (tkIntStubsPtr->tkUnionRectWithRegion) /* 119 */ -#endif -#endif /* AQUA */ -/* Slot 120 is reserved */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkpCreateNativeBitmap -#define TkpCreateNativeBitmap \ - (tkIntStubsPtr->tkpCreateNativeBitmap) /* 121 */ -#endif -#endif /* AQUA */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkpDefineNativeBitmaps -#define TkpDefineNativeBitmaps \ - (tkIntStubsPtr->tkpDefineNativeBitmaps) /* 122 */ -#endif -#endif /* AQUA */ -/* Slot 123 is reserved */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkpGetNativeAppBitmap -#define TkpGetNativeAppBitmap \ - (tkIntStubsPtr->tkpGetNativeAppBitmap) /* 124 */ -#endif -#endif /* AQUA */ -/* Slot 125 is reserved */ -/* Slot 126 is reserved */ -/* Slot 127 is reserved */ -/* Slot 128 is reserved */ -/* Slot 129 is reserved */ -/* Slot 130 is reserved */ -/* Slot 131 is reserved */ -/* Slot 132 is reserved */ -/* Slot 133 is reserved */ -/* Slot 134 is reserved */ -#ifndef TkpDrawHighlightBorder -#define TkpDrawHighlightBorder \ - (tkIntStubsPtr->tkpDrawHighlightBorder) /* 135 */ -#endif -#ifndef TkSetFocusWin -#define TkSetFocusWin \ - (tkIntStubsPtr->tkSetFocusWin) /* 136 */ -#endif -#ifndef TkpSetKeycodeAndState -#define TkpSetKeycodeAndState \ - (tkIntStubsPtr->tkpSetKeycodeAndState) /* 137 */ -#endif -#ifndef TkpGetKeySym -#define TkpGetKeySym \ - (tkIntStubsPtr->tkpGetKeySym) /* 138 */ -#endif -#ifndef TkpInitKeymapInfo -#define TkpInitKeymapInfo \ - (tkIntStubsPtr->tkpInitKeymapInfo) /* 139 */ -#endif -#ifndef TkPhotoGetValidRegion -#define TkPhotoGetValidRegion \ - (tkIntStubsPtr->tkPhotoGetValidRegion) /* 140 */ -#endif -#ifndef TkWmStackorderToplevel -#define TkWmStackorderToplevel \ - (tkIntStubsPtr->tkWmStackorderToplevel) /* 141 */ -#endif -#ifndef TkFocusFree -#define TkFocusFree \ - (tkIntStubsPtr->tkFocusFree) /* 142 */ -#endif -#ifndef TkClipCleanup -#define TkClipCleanup \ - (tkIntStubsPtr->tkClipCleanup) /* 143 */ -#endif -#ifndef TkGCCleanup -#define TkGCCleanup \ - (tkIntStubsPtr->tkGCCleanup) /* 144 */ -#endif -#ifdef __WIN32__ /* WIN */ -#ifndef TkSubtractRegion -#define TkSubtractRegion \ - (tkIntStubsPtr->tkSubtractRegion) /* 145 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkSubtractRegion -#define TkSubtractRegion \ - (tkIntStubsPtr->tkSubtractRegion) /* 145 */ -#endif -#endif /* AQUA */ -#ifndef TkStylePkgInit -#define TkStylePkgInit \ - (tkIntStubsPtr->tkStylePkgInit) /* 146 */ -#endif -#ifndef TkStylePkgFree -#define TkStylePkgFree \ - (tkIntStubsPtr->tkStylePkgFree) /* 147 */ -#endif -#ifndef TkToplevelWindowForCommand -#define TkToplevelWindowForCommand \ - (tkIntStubsPtr->tkToplevelWindowForCommand) /* 148 */ -#endif -#ifndef TkGetOptionSpec -#define TkGetOptionSpec \ - (tkIntStubsPtr->tkGetOptionSpec) /* 149 */ -#endif -#ifndef TkMakeRawCurve -#define TkMakeRawCurve \ - (tkIntStubsPtr->tkMakeRawCurve) /* 150 */ -#endif -#ifndef TkMakeRawCurvePostscript -#define TkMakeRawCurvePostscript \ - (tkIntStubsPtr->tkMakeRawCurvePostscript) /* 151 */ -#endif -#ifndef TkpDrawFrame -#define TkpDrawFrame \ - (tkIntStubsPtr->tkpDrawFrame) /* 152 */ -#endif -#ifndef TkCreateThreadExitHandler -#define TkCreateThreadExitHandler \ - (tkIntStubsPtr->tkCreateThreadExitHandler) /* 153 */ -#endif -#ifndef TkDeleteThreadExitHandler -#define TkDeleteThreadExitHandler \ - (tkIntStubsPtr->tkDeleteThreadExitHandler) /* 154 */ -#endif -/* Slot 155 is reserved */ -#ifndef TkpTestembedCmd -#define TkpTestembedCmd \ - (tkIntStubsPtr->tkpTestembedCmd) /* 156 */ -#endif -#ifndef TkpTesttextCmd -#define TkpTesttextCmd \ - (tkIntStubsPtr->tkpTesttextCmd) /* 157 */ -#endif - -#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */ - -/* !END!: Do not edit above this line. */ - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKINTDECLS */ - diff --git a/src/other/togl/include/tcltk/tk8.5/tkIntPlatDecls.h b/src/other/togl/include/tcltk/tk8.5/tkIntPlatDecls.h deleted file mode 100644 index 891e4a0bf44..00000000000 --- a/src/other/togl/include/tcltk/tk8.5/tkIntPlatDecls.h +++ /dev/null @@ -1,1090 +0,0 @@ -/* - * tkIntPlatDecls.h -- - * - * This file contains the declarations for all platform dependent - * unsupported functions that are exported by the Tk library. These - * interfaces are not guaranteed to remain the same between - * versions. Use at your own risk. - * - * Copyright (c) 1998-1999 by Scriptics Corporation. - * All rights reserved. - * - * RCS: @(#) Id - */ - -#ifndef _TKINTPLATDECLS -#define _TKINTPLATDECLS - -#ifdef BUILD_tk -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * WARNING: This file is automatically generated by the tools/genStubs.tcl - * script. Any modifications to the function declarations below should be made - * in the generic/tkInt.decls script. - */ - -/* !BEGIN!: Do not edit below this line. */ - -/* - * Exported function declarations: - */ - -#ifdef __WIN32__ /* WIN */ -#ifndef TkAlignImageData_TCL_DECLARED -#define TkAlignImageData_TCL_DECLARED -/* 0 */ -EXTERN char * TkAlignImageData (XImage * image, int alignment, - int bitOrder); -#endif -/* Slot 1 is reserved */ -#ifndef TkGenerateActivateEvents_TCL_DECLARED -#define TkGenerateActivateEvents_TCL_DECLARED -/* 2 */ -EXTERN void TkGenerateActivateEvents (TkWindow * winPtr, - int active); -#endif -#ifndef TkpGetMS_TCL_DECLARED -#define TkpGetMS_TCL_DECLARED -/* 3 */ -EXTERN unsigned long TkpGetMS (void); -#endif -#ifndef TkPointerDeadWindow_TCL_DECLARED -#define TkPointerDeadWindow_TCL_DECLARED -/* 4 */ -EXTERN void TkPointerDeadWindow (TkWindow * winPtr); -#endif -#ifndef TkpPrintWindowId_TCL_DECLARED -#define TkpPrintWindowId_TCL_DECLARED -/* 5 */ -EXTERN void TkpPrintWindowId (char * buf, Window window); -#endif -#ifndef TkpScanWindowId_TCL_DECLARED -#define TkpScanWindowId_TCL_DECLARED -/* 6 */ -EXTERN int TkpScanWindowId (Tcl_Interp * interp, - CONST char * string, Window * idPtr); -#endif -#ifndef TkpSetCapture_TCL_DECLARED -#define TkpSetCapture_TCL_DECLARED -/* 7 */ -EXTERN void TkpSetCapture (TkWindow * winPtr); -#endif -#ifndef TkpSetCursor_TCL_DECLARED -#define TkpSetCursor_TCL_DECLARED -/* 8 */ -EXTERN void TkpSetCursor (TkpCursor cursor); -#endif -#ifndef TkpWmSetState_TCL_DECLARED -#define TkpWmSetState_TCL_DECLARED -/* 9 */ -EXTERN void TkpWmSetState (TkWindow * winPtr, int state); -#endif -#ifndef TkSetPixmapColormap_TCL_DECLARED -#define TkSetPixmapColormap_TCL_DECLARED -/* 10 */ -EXTERN void TkSetPixmapColormap (Pixmap pixmap, - Colormap colormap); -#endif -#ifndef TkWinCancelMouseTimer_TCL_DECLARED -#define TkWinCancelMouseTimer_TCL_DECLARED -/* 11 */ -EXTERN void TkWinCancelMouseTimer (void); -#endif -#ifndef TkWinClipboardRender_TCL_DECLARED -#define TkWinClipboardRender_TCL_DECLARED -/* 12 */ -EXTERN void TkWinClipboardRender (TkDisplay * dispPtr, - UINT format); -#endif -#ifndef TkWinEmbeddedEventProc_TCL_DECLARED -#define TkWinEmbeddedEventProc_TCL_DECLARED -/* 13 */ -EXTERN LRESULT TkWinEmbeddedEventProc (HWND hwnd, UINT message, - WPARAM wParam, LPARAM lParam); -#endif -#ifndef TkWinFillRect_TCL_DECLARED -#define TkWinFillRect_TCL_DECLARED -/* 14 */ -EXTERN void TkWinFillRect (HDC dc, int x, int y, int width, - int height, int pixel); -#endif -#ifndef TkWinGetBorderPixels_TCL_DECLARED -#define TkWinGetBorderPixels_TCL_DECLARED -/* 15 */ -EXTERN COLORREF TkWinGetBorderPixels (Tk_Window tkwin, - Tk_3DBorder border, int which); -#endif -#ifndef TkWinGetDrawableDC_TCL_DECLARED -#define TkWinGetDrawableDC_TCL_DECLARED -/* 16 */ -EXTERN HDC TkWinGetDrawableDC (Display * display, Drawable d, - TkWinDCState * state); -#endif -#ifndef TkWinGetModifierState_TCL_DECLARED -#define TkWinGetModifierState_TCL_DECLARED -/* 17 */ -EXTERN int TkWinGetModifierState (void); -#endif -#ifndef TkWinGetSystemPalette_TCL_DECLARED -#define TkWinGetSystemPalette_TCL_DECLARED -/* 18 */ -EXTERN HPALETTE TkWinGetSystemPalette (void); -#endif -#ifndef TkWinGetWrapperWindow_TCL_DECLARED -#define TkWinGetWrapperWindow_TCL_DECLARED -/* 19 */ -EXTERN HWND TkWinGetWrapperWindow (Tk_Window tkwin); -#endif -#ifndef TkWinHandleMenuEvent_TCL_DECLARED -#define TkWinHandleMenuEvent_TCL_DECLARED -/* 20 */ -EXTERN int TkWinHandleMenuEvent (HWND * phwnd, UINT * pMessage, - WPARAM * pwParam, LPARAM * plParam, - LRESULT * plResult); -#endif -#ifndef TkWinIndexOfColor_TCL_DECLARED -#define TkWinIndexOfColor_TCL_DECLARED -/* 21 */ -EXTERN int TkWinIndexOfColor (XColor * colorPtr); -#endif -#ifndef TkWinReleaseDrawableDC_TCL_DECLARED -#define TkWinReleaseDrawableDC_TCL_DECLARED -/* 22 */ -EXTERN void TkWinReleaseDrawableDC (Drawable d, HDC hdc, - TkWinDCState * state); -#endif -#ifndef TkWinResendEvent_TCL_DECLARED -#define TkWinResendEvent_TCL_DECLARED -/* 23 */ -EXTERN LRESULT TkWinResendEvent (WNDPROC wndproc, HWND hwnd, - XEvent * eventPtr); -#endif -#ifndef TkWinSelectPalette_TCL_DECLARED -#define TkWinSelectPalette_TCL_DECLARED -/* 24 */ -EXTERN HPALETTE TkWinSelectPalette (HDC dc, Colormap colormap); -#endif -#ifndef TkWinSetMenu_TCL_DECLARED -#define TkWinSetMenu_TCL_DECLARED -/* 25 */ -EXTERN void TkWinSetMenu (Tk_Window tkwin, HMENU hMenu); -#endif -#ifndef TkWinSetWindowPos_TCL_DECLARED -#define TkWinSetWindowPos_TCL_DECLARED -/* 26 */ -EXTERN void TkWinSetWindowPos (HWND hwnd, HWND siblingHwnd, - int pos); -#endif -#ifndef TkWinWmCleanup_TCL_DECLARED -#define TkWinWmCleanup_TCL_DECLARED -/* 27 */ -EXTERN void TkWinWmCleanup (HINSTANCE hInstance); -#endif -#ifndef TkWinXCleanup_TCL_DECLARED -#define TkWinXCleanup_TCL_DECLARED -/* 28 */ -EXTERN void TkWinXCleanup (ClientData clientData); -#endif -#ifndef TkWinXInit_TCL_DECLARED -#define TkWinXInit_TCL_DECLARED -/* 29 */ -EXTERN void TkWinXInit (HINSTANCE hInstance); -#endif -#ifndef TkWinSetForegroundWindow_TCL_DECLARED -#define TkWinSetForegroundWindow_TCL_DECLARED -/* 30 */ -EXTERN void TkWinSetForegroundWindow (TkWindow * winPtr); -#endif -#ifndef TkWinDialogDebug_TCL_DECLARED -#define TkWinDialogDebug_TCL_DECLARED -/* 31 */ -EXTERN void TkWinDialogDebug (int debug); -#endif -#ifndef TkWinGetMenuSystemDefault_TCL_DECLARED -#define TkWinGetMenuSystemDefault_TCL_DECLARED -/* 32 */ -EXTERN Tcl_Obj * TkWinGetMenuSystemDefault (Tk_Window tkwin, - CONST char * dbName, CONST char * className); -#endif -#ifndef TkWinGetPlatformId_TCL_DECLARED -#define TkWinGetPlatformId_TCL_DECLARED -/* 33 */ -EXTERN int TkWinGetPlatformId (void); -#endif -#ifndef TkWinSetHINSTANCE_TCL_DECLARED -#define TkWinSetHINSTANCE_TCL_DECLARED -/* 34 */ -EXTERN void TkWinSetHINSTANCE (HINSTANCE hInstance); -#endif -#ifndef TkWinGetPlatformTheme_TCL_DECLARED -#define TkWinGetPlatformTheme_TCL_DECLARED -/* 35 */ -EXTERN int TkWinGetPlatformTheme (void); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkGenerateActivateEvents_TCL_DECLARED -#define TkGenerateActivateEvents_TCL_DECLARED -/* 0 */ -EXTERN void TkGenerateActivateEvents (TkWindow * winPtr, - int active); -#endif -/* Slot 1 is reserved */ -/* Slot 2 is reserved */ -#ifndef TkPointerDeadWindow_TCL_DECLARED -#define TkPointerDeadWindow_TCL_DECLARED -/* 3 */ -EXTERN void TkPointerDeadWindow (TkWindow * winPtr); -#endif -#ifndef TkpSetCapture_TCL_DECLARED -#define TkpSetCapture_TCL_DECLARED -/* 4 */ -EXTERN void TkpSetCapture (TkWindow * winPtr); -#endif -#ifndef TkpSetCursor_TCL_DECLARED -#define TkpSetCursor_TCL_DECLARED -/* 5 */ -EXTERN void TkpSetCursor (TkpCursor cursor); -#endif -#ifndef TkpWmSetState_TCL_DECLARED -#define TkpWmSetState_TCL_DECLARED -/* 6 */ -EXTERN void TkpWmSetState (TkWindow * winPtr, int state); -#endif -#ifndef TkAboutDlg_TCL_DECLARED -#define TkAboutDlg_TCL_DECLARED -/* 7 */ -EXTERN void TkAboutDlg (void); -#endif -#ifndef TkMacOSXButtonKeyState_TCL_DECLARED -#define TkMacOSXButtonKeyState_TCL_DECLARED -/* 8 */ -EXTERN unsigned int TkMacOSXButtonKeyState (void); -#endif -#ifndef TkMacOSXClearMenubarActive_TCL_DECLARED -#define TkMacOSXClearMenubarActive_TCL_DECLARED -/* 9 */ -EXTERN void TkMacOSXClearMenubarActive (void); -#endif -#ifndef TkMacOSXDispatchMenuEvent_TCL_DECLARED -#define TkMacOSXDispatchMenuEvent_TCL_DECLARED -/* 10 */ -EXTERN int TkMacOSXDispatchMenuEvent (int menuID, int index); -#endif -#ifndef TkMacOSXInstallCursor_TCL_DECLARED -#define TkMacOSXInstallCursor_TCL_DECLARED -/* 11 */ -EXTERN void TkMacOSXInstallCursor (int resizeOverride); -#endif -#ifndef TkMacOSXHandleTearoffMenu_TCL_DECLARED -#define TkMacOSXHandleTearoffMenu_TCL_DECLARED -/* 12 */ -EXTERN void TkMacOSXHandleTearoffMenu (void); -#endif -/* Slot 13 is reserved */ -#ifndef TkMacOSXDoHLEvent_TCL_DECLARED -#define TkMacOSXDoHLEvent_TCL_DECLARED -/* 14 */ -EXTERN int TkMacOSXDoHLEvent (EventRecord * theEvent); -#endif -/* Slot 15 is reserved */ -#ifndef TkMacOSXGetXWindow_TCL_DECLARED -#define TkMacOSXGetXWindow_TCL_DECLARED -/* 16 */ -EXTERN Window TkMacOSXGetXWindow (WindowRef macWinPtr); -#endif -#ifndef TkMacOSXGrowToplevel_TCL_DECLARED -#define TkMacOSXGrowToplevel_TCL_DECLARED -/* 17 */ -EXTERN int TkMacOSXGrowToplevel (WindowRef whichWindow, - Point start); -#endif -#ifndef TkMacOSXHandleMenuSelect_TCL_DECLARED -#define TkMacOSXHandleMenuSelect_TCL_DECLARED -/* 18 */ -EXTERN void TkMacOSXHandleMenuSelect (MenuID theMenu, - MenuItemIndex theItem, int optionKeyPressed); -#endif -/* Slot 19 is reserved */ -/* Slot 20 is reserved */ -#ifndef TkMacOSXInvalidateWindow_TCL_DECLARED -#define TkMacOSXInvalidateWindow_TCL_DECLARED -/* 21 */ -EXTERN void TkMacOSXInvalidateWindow (MacDrawable * macWin, - int flag); -#endif -#ifndef TkMacOSXIsCharacterMissing_TCL_DECLARED -#define TkMacOSXIsCharacterMissing_TCL_DECLARED -/* 22 */ -EXTERN int TkMacOSXIsCharacterMissing (Tk_Font tkfont, - unsigned int searchChar); -#endif -#ifndef TkMacOSXMakeRealWindowExist_TCL_DECLARED -#define TkMacOSXMakeRealWindowExist_TCL_DECLARED -/* 23 */ -EXTERN void TkMacOSXMakeRealWindowExist (TkWindow * winPtr); -#endif -#ifndef TkMacOSXMakeStippleMap_TCL_DECLARED -#define TkMacOSXMakeStippleMap_TCL_DECLARED -/* 24 */ -EXTERN BitMapPtr TkMacOSXMakeStippleMap (Drawable d1, Drawable d2); -#endif -#ifndef TkMacOSXMenuClick_TCL_DECLARED -#define TkMacOSXMenuClick_TCL_DECLARED -/* 25 */ -EXTERN void TkMacOSXMenuClick (void); -#endif -#ifndef TkMacOSXRegisterOffScreenWindow_TCL_DECLARED -#define TkMacOSXRegisterOffScreenWindow_TCL_DECLARED -/* 26 */ -EXTERN void TkMacOSXRegisterOffScreenWindow (Window window, - GWorldPtr portPtr); -#endif -#ifndef TkMacOSXResizable_TCL_DECLARED -#define TkMacOSXResizable_TCL_DECLARED -/* 27 */ -EXTERN int TkMacOSXResizable (TkWindow * winPtr); -#endif -#ifndef TkMacOSXSetHelpMenuItemCount_TCL_DECLARED -#define TkMacOSXSetHelpMenuItemCount_TCL_DECLARED -/* 28 */ -EXTERN void TkMacOSXSetHelpMenuItemCount (void); -#endif -#ifndef TkMacOSXSetScrollbarGrow_TCL_DECLARED -#define TkMacOSXSetScrollbarGrow_TCL_DECLARED -/* 29 */ -EXTERN void TkMacOSXSetScrollbarGrow (TkWindow * winPtr, - int flag); -#endif -#ifndef TkMacOSXSetUpClippingRgn_TCL_DECLARED -#define TkMacOSXSetUpClippingRgn_TCL_DECLARED -/* 30 */ -EXTERN void TkMacOSXSetUpClippingRgn (Drawable drawable); -#endif -#ifndef TkMacOSXSetUpGraphicsPort_TCL_DECLARED -#define TkMacOSXSetUpGraphicsPort_TCL_DECLARED -/* 31 */ -EXTERN void TkMacOSXSetUpGraphicsPort (GC gc, GWorldPtr destPort); -#endif -#ifndef TkMacOSXUpdateClipRgn_TCL_DECLARED -#define TkMacOSXUpdateClipRgn_TCL_DECLARED -/* 32 */ -EXTERN void TkMacOSXUpdateClipRgn (TkWindow * winPtr); -#endif -#ifndef TkMacOSXUnregisterMacWindow_TCL_DECLARED -#define TkMacOSXUnregisterMacWindow_TCL_DECLARED -/* 33 */ -EXTERN void TkMacOSXUnregisterMacWindow (WindowRef portPtr); -#endif -#ifndef TkMacOSXUseMenuID_TCL_DECLARED -#define TkMacOSXUseMenuID_TCL_DECLARED -/* 34 */ -EXTERN int TkMacOSXUseMenuID (short macID); -#endif -#ifndef TkMacOSXVisableClipRgn_TCL_DECLARED -#define TkMacOSXVisableClipRgn_TCL_DECLARED -/* 35 */ -EXTERN RgnHandle TkMacOSXVisableClipRgn (TkWindow * winPtr); -#endif -#ifndef TkMacOSXWinBounds_TCL_DECLARED -#define TkMacOSXWinBounds_TCL_DECLARED -/* 36 */ -EXTERN void TkMacOSXWinBounds (TkWindow * winPtr, - Rect * geometry); -#endif -#ifndef TkMacOSXWindowOffset_TCL_DECLARED -#define TkMacOSXWindowOffset_TCL_DECLARED -/* 37 */ -EXTERN void TkMacOSXWindowOffset (WindowRef wRef, int * xOffset, - int * yOffset); -#endif -#ifndef TkSetMacColor_TCL_DECLARED -#define TkSetMacColor_TCL_DECLARED -/* 38 */ -EXTERN int TkSetMacColor (unsigned long pixel, - RGBColor * macColor); -#endif -#ifndef TkSetWMName_TCL_DECLARED -#define TkSetWMName_TCL_DECLARED -/* 39 */ -EXTERN void TkSetWMName (TkWindow * winPtr, Tk_Uid titleUid); -#endif -#ifndef TkSuspendClipboard_TCL_DECLARED -#define TkSuspendClipboard_TCL_DECLARED -/* 40 */ -EXTERN void TkSuspendClipboard (void); -#endif -#ifndef TkMacOSXZoomToplevel_TCL_DECLARED -#define TkMacOSXZoomToplevel_TCL_DECLARED -/* 41 */ -EXTERN int TkMacOSXZoomToplevel (WindowPtr whichWindow, - short zoomPart); -#endif -#ifndef Tk_TopCoordsToWindow_TCL_DECLARED -#define Tk_TopCoordsToWindow_TCL_DECLARED -/* 42 */ -EXTERN Tk_Window Tk_TopCoordsToWindow (Tk_Window tkwin, int rootX, - int rootY, int * newX, int * newY); -#endif -#ifndef TkMacOSXContainerId_TCL_DECLARED -#define TkMacOSXContainerId_TCL_DECLARED -/* 43 */ -EXTERN MacDrawable * TkMacOSXContainerId (TkWindow * winPtr); -#endif -#ifndef TkMacOSXGetHostToplevel_TCL_DECLARED -#define TkMacOSXGetHostToplevel_TCL_DECLARED -/* 44 */ -EXTERN MacDrawable * TkMacOSXGetHostToplevel (TkWindow * winPtr); -#endif -#ifndef TkMacOSXPreprocessMenu_TCL_DECLARED -#define TkMacOSXPreprocessMenu_TCL_DECLARED -/* 45 */ -EXTERN void TkMacOSXPreprocessMenu (void); -#endif -#ifndef TkpIsWindowFloating_TCL_DECLARED -#define TkpIsWindowFloating_TCL_DECLARED -/* 46 */ -EXTERN int TkpIsWindowFloating (WindowRef window); -#endif -#ifndef TkMacOSXGetCapture_TCL_DECLARED -#define TkMacOSXGetCapture_TCL_DECLARED -/* 47 */ -EXTERN Tk_Window TkMacOSXGetCapture (void); -#endif -/* Slot 48 is reserved */ -#ifndef TkGetTransientMaster_TCL_DECLARED -#define TkGetTransientMaster_TCL_DECLARED -/* 49 */ -EXTERN Window TkGetTransientMaster (TkWindow * winPtr); -#endif -#ifndef TkGenerateButtonEvent_TCL_DECLARED -#define TkGenerateButtonEvent_TCL_DECLARED -/* 50 */ -EXTERN int TkGenerateButtonEvent (int x, int y, Window window, - unsigned int state); -#endif -#ifndef TkGenWMDestroyEvent_TCL_DECLARED -#define TkGenWMDestroyEvent_TCL_DECLARED -/* 51 */ -EXTERN void TkGenWMDestroyEvent (Tk_Window tkwin); -#endif -/* Slot 52 is reserved */ -#ifndef TkpGetMS_TCL_DECLARED -#define TkpGetMS_TCL_DECLARED -/* 53 */ -EXTERN unsigned long TkpGetMS (void); -#endif -#endif /* AQUA */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ -#ifndef TkCreateXEventSource_TCL_DECLARED -#define TkCreateXEventSource_TCL_DECLARED -/* 0 */ -EXTERN void TkCreateXEventSource (void); -#endif -#ifndef TkFreeWindowId_TCL_DECLARED -#define TkFreeWindowId_TCL_DECLARED -/* 1 */ -EXTERN void TkFreeWindowId (TkDisplay * dispPtr, Window w); -#endif -#ifndef TkInitXId_TCL_DECLARED -#define TkInitXId_TCL_DECLARED -/* 2 */ -EXTERN void TkInitXId (TkDisplay * dispPtr); -#endif -#ifndef TkpCmapStressed_TCL_DECLARED -#define TkpCmapStressed_TCL_DECLARED -/* 3 */ -EXTERN int TkpCmapStressed (Tk_Window tkwin, Colormap colormap); -#endif -#ifndef TkpSync_TCL_DECLARED -#define TkpSync_TCL_DECLARED -/* 4 */ -EXTERN void TkpSync (Display * display); -#endif -#ifndef TkUnixContainerId_TCL_DECLARED -#define TkUnixContainerId_TCL_DECLARED -/* 5 */ -EXTERN Window TkUnixContainerId (TkWindow * winPtr); -#endif -#ifndef TkUnixDoOneXEvent_TCL_DECLARED -#define TkUnixDoOneXEvent_TCL_DECLARED -/* 6 */ -EXTERN int TkUnixDoOneXEvent (Tcl_Time * timePtr); -#endif -#ifndef TkUnixSetMenubar_TCL_DECLARED -#define TkUnixSetMenubar_TCL_DECLARED -/* 7 */ -EXTERN void TkUnixSetMenubar (Tk_Window tkwin, Tk_Window menubar); -#endif -#ifndef TkpScanWindowId_TCL_DECLARED -#define TkpScanWindowId_TCL_DECLARED -/* 8 */ -EXTERN int TkpScanWindowId (Tcl_Interp * interp, - CONST char * string, Window * idPtr); -#endif -#ifndef TkWmCleanup_TCL_DECLARED -#define TkWmCleanup_TCL_DECLARED -/* 9 */ -EXTERN void TkWmCleanup (TkDisplay * dispPtr); -#endif -#ifndef TkSendCleanup_TCL_DECLARED -#define TkSendCleanup_TCL_DECLARED -/* 10 */ -EXTERN void TkSendCleanup (TkDisplay * dispPtr); -#endif -#ifndef TkFreeXId_TCL_DECLARED -#define TkFreeXId_TCL_DECLARED -/* 11 */ -EXTERN void TkFreeXId (TkDisplay * dispPtr); -#endif -#ifndef TkpWmSetState_TCL_DECLARED -#define TkpWmSetState_TCL_DECLARED -/* 12 */ -EXTERN int TkpWmSetState (TkWindow * winPtr, int state); -#endif -#ifndef TkpTestsendCmd_TCL_DECLARED -#define TkpTestsendCmd_TCL_DECLARED -/* 13 */ -EXTERN int TkpTestsendCmd (ClientData clientData, - Tcl_Interp * interp, int argc, - CONST char ** argv); -#endif -#endif /* X11 */ - -typedef struct TkIntPlatStubs { - int magic; - struct TkIntPlatStubHooks *hooks; - -#ifdef __WIN32__ /* WIN */ - char * (*tkAlignImageData) (XImage * image, int alignment, int bitOrder); /* 0 */ - void *reserved1; - void (*tkGenerateActivateEvents) (TkWindow * winPtr, int active); /* 2 */ - unsigned long (*tkpGetMS) (void); /* 3 */ - void (*tkPointerDeadWindow) (TkWindow * winPtr); /* 4 */ - void (*tkpPrintWindowId) (char * buf, Window window); /* 5 */ - int (*tkpScanWindowId) (Tcl_Interp * interp, CONST char * string, Window * idPtr); /* 6 */ - void (*tkpSetCapture) (TkWindow * winPtr); /* 7 */ - void (*tkpSetCursor) (TkpCursor cursor); /* 8 */ - void (*tkpWmSetState) (TkWindow * winPtr, int state); /* 9 */ - void (*tkSetPixmapColormap) (Pixmap pixmap, Colormap colormap); /* 10 */ - void (*tkWinCancelMouseTimer) (void); /* 11 */ - void (*tkWinClipboardRender) (TkDisplay * dispPtr, UINT format); /* 12 */ - LRESULT (*tkWinEmbeddedEventProc) (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); /* 13 */ - void (*tkWinFillRect) (HDC dc, int x, int y, int width, int height, int pixel); /* 14 */ - COLORREF (*tkWinGetBorderPixels) (Tk_Window tkwin, Tk_3DBorder border, int which); /* 15 */ - HDC (*tkWinGetDrawableDC) (Display * display, Drawable d, TkWinDCState * state); /* 16 */ - int (*tkWinGetModifierState) (void); /* 17 */ - HPALETTE (*tkWinGetSystemPalette) (void); /* 18 */ - HWND (*tkWinGetWrapperWindow) (Tk_Window tkwin); /* 19 */ - int (*tkWinHandleMenuEvent) (HWND * phwnd, UINT * pMessage, WPARAM * pwParam, LPARAM * plParam, LRESULT * plResult); /* 20 */ - int (*tkWinIndexOfColor) (XColor * colorPtr); /* 21 */ - void (*tkWinReleaseDrawableDC) (Drawable d, HDC hdc, TkWinDCState * state); /* 22 */ - LRESULT (*tkWinResendEvent) (WNDPROC wndproc, HWND hwnd, XEvent * eventPtr); /* 23 */ - HPALETTE (*tkWinSelectPalette) (HDC dc, Colormap colormap); /* 24 */ - void (*tkWinSetMenu) (Tk_Window tkwin, HMENU hMenu); /* 25 */ - void (*tkWinSetWindowPos) (HWND hwnd, HWND siblingHwnd, int pos); /* 26 */ - void (*tkWinWmCleanup) (HINSTANCE hInstance); /* 27 */ - void (*tkWinXCleanup) (ClientData clientData); /* 28 */ - void (*tkWinXInit) (HINSTANCE hInstance); /* 29 */ - void (*tkWinSetForegroundWindow) (TkWindow * winPtr); /* 30 */ - void (*tkWinDialogDebug) (int debug); /* 31 */ - Tcl_Obj * (*tkWinGetMenuSystemDefault) (Tk_Window tkwin, CONST char * dbName, CONST char * className); /* 32 */ - int (*tkWinGetPlatformId) (void); /* 33 */ - void (*tkWinSetHINSTANCE) (HINSTANCE hInstance); /* 34 */ - int (*tkWinGetPlatformTheme) (void); /* 35 */ -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void (*tkGenerateActivateEvents) (TkWindow * winPtr, int active); /* 0 */ - void *reserved1; - void *reserved2; - void (*tkPointerDeadWindow) (TkWindow * winPtr); /* 3 */ - void (*tkpSetCapture) (TkWindow * winPtr); /* 4 */ - void (*tkpSetCursor) (TkpCursor cursor); /* 5 */ - void (*tkpWmSetState) (TkWindow * winPtr, int state); /* 6 */ - void (*tkAboutDlg) (void); /* 7 */ - unsigned int (*tkMacOSXButtonKeyState) (void); /* 8 */ - void (*tkMacOSXClearMenubarActive) (void); /* 9 */ - int (*tkMacOSXDispatchMenuEvent) (int menuID, int index); /* 10 */ - void (*tkMacOSXInstallCursor) (int resizeOverride); /* 11 */ - void (*tkMacOSXHandleTearoffMenu) (void); /* 12 */ - void *reserved13; - int (*tkMacOSXDoHLEvent) (EventRecord * theEvent); /* 14 */ - void *reserved15; - Window (*tkMacOSXGetXWindow) (WindowRef macWinPtr); /* 16 */ - int (*tkMacOSXGrowToplevel) (WindowRef whichWindow, Point start); /* 17 */ - void (*tkMacOSXHandleMenuSelect) (MenuID theMenu, MenuItemIndex theItem, int optionKeyPressed); /* 18 */ - void *reserved19; - void *reserved20; - void (*tkMacOSXInvalidateWindow) (MacDrawable * macWin, int flag); /* 21 */ - int (*tkMacOSXIsCharacterMissing) (Tk_Font tkfont, unsigned int searchChar); /* 22 */ - void (*tkMacOSXMakeRealWindowExist) (TkWindow * winPtr); /* 23 */ - BitMapPtr (*tkMacOSXMakeStippleMap) (Drawable d1, Drawable d2); /* 24 */ - void (*tkMacOSXMenuClick) (void); /* 25 */ - void (*tkMacOSXRegisterOffScreenWindow) (Window window, GWorldPtr portPtr); /* 26 */ - int (*tkMacOSXResizable) (TkWindow * winPtr); /* 27 */ - void (*tkMacOSXSetHelpMenuItemCount) (void); /* 28 */ - void (*tkMacOSXSetScrollbarGrow) (TkWindow * winPtr, int flag); /* 29 */ - void (*tkMacOSXSetUpClippingRgn) (Drawable drawable); /* 30 */ - void (*tkMacOSXSetUpGraphicsPort) (GC gc, GWorldPtr destPort); /* 31 */ - void (*tkMacOSXUpdateClipRgn) (TkWindow * winPtr); /* 32 */ - void (*tkMacOSXUnregisterMacWindow) (WindowRef portPtr); /* 33 */ - int (*tkMacOSXUseMenuID) (short macID); /* 34 */ - RgnHandle (*tkMacOSXVisableClipRgn) (TkWindow * winPtr); /* 35 */ - void (*tkMacOSXWinBounds) (TkWindow * winPtr, Rect * geometry); /* 36 */ - void (*tkMacOSXWindowOffset) (WindowRef wRef, int * xOffset, int * yOffset); /* 37 */ - int (*tkSetMacColor) (unsigned long pixel, RGBColor * macColor); /* 38 */ - void (*tkSetWMName) (TkWindow * winPtr, Tk_Uid titleUid); /* 39 */ - void (*tkSuspendClipboard) (void); /* 40 */ - int (*tkMacOSXZoomToplevel) (WindowPtr whichWindow, short zoomPart); /* 41 */ - Tk_Window (*tk_TopCoordsToWindow) (Tk_Window tkwin, int rootX, int rootY, int * newX, int * newY); /* 42 */ - MacDrawable * (*tkMacOSXContainerId) (TkWindow * winPtr); /* 43 */ - MacDrawable * (*tkMacOSXGetHostToplevel) (TkWindow * winPtr); /* 44 */ - void (*tkMacOSXPreprocessMenu) (void); /* 45 */ - int (*tkpIsWindowFloating) (WindowRef window); /* 46 */ - Tk_Window (*tkMacOSXGetCapture) (void); /* 47 */ - void *reserved48; - Window (*tkGetTransientMaster) (TkWindow * winPtr); /* 49 */ - int (*tkGenerateButtonEvent) (int x, int y, Window window, unsigned int state); /* 50 */ - void (*tkGenWMDestroyEvent) (Tk_Window tkwin); /* 51 */ - void *reserved52; - unsigned long (*tkpGetMS) (void); /* 53 */ -#endif /* AQUA */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void (*tkCreateXEventSource) (void); /* 0 */ - void (*tkFreeWindowId) (TkDisplay * dispPtr, Window w); /* 1 */ - void (*tkInitXId) (TkDisplay * dispPtr); /* 2 */ - int (*tkpCmapStressed) (Tk_Window tkwin, Colormap colormap); /* 3 */ - void (*tkpSync) (Display * display); /* 4 */ - Window (*tkUnixContainerId) (TkWindow * winPtr); /* 5 */ - int (*tkUnixDoOneXEvent) (Tcl_Time * timePtr); /* 6 */ - void (*tkUnixSetMenubar) (Tk_Window tkwin, Tk_Window menubar); /* 7 */ - int (*tkpScanWindowId) (Tcl_Interp * interp, CONST char * string, Window * idPtr); /* 8 */ - void (*tkWmCleanup) (TkDisplay * dispPtr); /* 9 */ - void (*tkSendCleanup) (TkDisplay * dispPtr); /* 10 */ - void (*tkFreeXId) (TkDisplay * dispPtr); /* 11 */ - int (*tkpWmSetState) (TkWindow * winPtr, int state); /* 12 */ - int (*tkpTestsendCmd) (ClientData clientData, Tcl_Interp * interp, int argc, CONST char ** argv); /* 13 */ -#endif /* X11 */ -} TkIntPlatStubs; - -#ifdef __cplusplus -extern "C" { -#endif -extern TkIntPlatStubs *tkIntPlatStubsPtr; -#ifdef __cplusplus -} -#endif - -#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) - -/* - * Inline function declarations: - */ - -#ifdef __WIN32__ /* WIN */ -#ifndef TkAlignImageData -#define TkAlignImageData \ - (tkIntPlatStubsPtr->tkAlignImageData) /* 0 */ -#endif -/* Slot 1 is reserved */ -#ifndef TkGenerateActivateEvents -#define TkGenerateActivateEvents \ - (tkIntPlatStubsPtr->tkGenerateActivateEvents) /* 2 */ -#endif -#ifndef TkpGetMS -#define TkpGetMS \ - (tkIntPlatStubsPtr->tkpGetMS) /* 3 */ -#endif -#ifndef TkPointerDeadWindow -#define TkPointerDeadWindow \ - (tkIntPlatStubsPtr->tkPointerDeadWindow) /* 4 */ -#endif -#ifndef TkpPrintWindowId -#define TkpPrintWindowId \ - (tkIntPlatStubsPtr->tkpPrintWindowId) /* 5 */ -#endif -#ifndef TkpScanWindowId -#define TkpScanWindowId \ - (tkIntPlatStubsPtr->tkpScanWindowId) /* 6 */ -#endif -#ifndef TkpSetCapture -#define TkpSetCapture \ - (tkIntPlatStubsPtr->tkpSetCapture) /* 7 */ -#endif -#ifndef TkpSetCursor -#define TkpSetCursor \ - (tkIntPlatStubsPtr->tkpSetCursor) /* 8 */ -#endif -#ifndef TkpWmSetState -#define TkpWmSetState \ - (tkIntPlatStubsPtr->tkpWmSetState) /* 9 */ -#endif -#ifndef TkSetPixmapColormap -#define TkSetPixmapColormap \ - (tkIntPlatStubsPtr->tkSetPixmapColormap) /* 10 */ -#endif -#ifndef TkWinCancelMouseTimer -#define TkWinCancelMouseTimer \ - (tkIntPlatStubsPtr->tkWinCancelMouseTimer) /* 11 */ -#endif -#ifndef TkWinClipboardRender -#define TkWinClipboardRender \ - (tkIntPlatStubsPtr->tkWinClipboardRender) /* 12 */ -#endif -#ifndef TkWinEmbeddedEventProc -#define TkWinEmbeddedEventProc \ - (tkIntPlatStubsPtr->tkWinEmbeddedEventProc) /* 13 */ -#endif -#ifndef TkWinFillRect -#define TkWinFillRect \ - (tkIntPlatStubsPtr->tkWinFillRect) /* 14 */ -#endif -#ifndef TkWinGetBorderPixels -#define TkWinGetBorderPixels \ - (tkIntPlatStubsPtr->tkWinGetBorderPixels) /* 15 */ -#endif -#ifndef TkWinGetDrawableDC -#define TkWinGetDrawableDC \ - (tkIntPlatStubsPtr->tkWinGetDrawableDC) /* 16 */ -#endif -#ifndef TkWinGetModifierState -#define TkWinGetModifierState \ - (tkIntPlatStubsPtr->tkWinGetModifierState) /* 17 */ -#endif -#ifndef TkWinGetSystemPalette -#define TkWinGetSystemPalette \ - (tkIntPlatStubsPtr->tkWinGetSystemPalette) /* 18 */ -#endif -#ifndef TkWinGetWrapperWindow -#define TkWinGetWrapperWindow \ - (tkIntPlatStubsPtr->tkWinGetWrapperWindow) /* 19 */ -#endif -#ifndef TkWinHandleMenuEvent -#define TkWinHandleMenuEvent \ - (tkIntPlatStubsPtr->tkWinHandleMenuEvent) /* 20 */ -#endif -#ifndef TkWinIndexOfColor -#define TkWinIndexOfColor \ - (tkIntPlatStubsPtr->tkWinIndexOfColor) /* 21 */ -#endif -#ifndef TkWinReleaseDrawableDC -#define TkWinReleaseDrawableDC \ - (tkIntPlatStubsPtr->tkWinReleaseDrawableDC) /* 22 */ -#endif -#ifndef TkWinResendEvent -#define TkWinResendEvent \ - (tkIntPlatStubsPtr->tkWinResendEvent) /* 23 */ -#endif -#ifndef TkWinSelectPalette -#define TkWinSelectPalette \ - (tkIntPlatStubsPtr->tkWinSelectPalette) /* 24 */ -#endif -#ifndef TkWinSetMenu -#define TkWinSetMenu \ - (tkIntPlatStubsPtr->tkWinSetMenu) /* 25 */ -#endif -#ifndef TkWinSetWindowPos -#define TkWinSetWindowPos \ - (tkIntPlatStubsPtr->tkWinSetWindowPos) /* 26 */ -#endif -#ifndef TkWinWmCleanup -#define TkWinWmCleanup \ - (tkIntPlatStubsPtr->tkWinWmCleanup) /* 27 */ -#endif -#ifndef TkWinXCleanup -#define TkWinXCleanup \ - (tkIntPlatStubsPtr->tkWinXCleanup) /* 28 */ -#endif -#ifndef TkWinXInit -#define TkWinXInit \ - (tkIntPlatStubsPtr->tkWinXInit) /* 29 */ -#endif -#ifndef TkWinSetForegroundWindow -#define TkWinSetForegroundWindow \ - (tkIntPlatStubsPtr->tkWinSetForegroundWindow) /* 30 */ -#endif -#ifndef TkWinDialogDebug -#define TkWinDialogDebug \ - (tkIntPlatStubsPtr->tkWinDialogDebug) /* 31 */ -#endif -#ifndef TkWinGetMenuSystemDefault -#define TkWinGetMenuSystemDefault \ - (tkIntPlatStubsPtr->tkWinGetMenuSystemDefault) /* 32 */ -#endif -#ifndef TkWinGetPlatformId -#define TkWinGetPlatformId \ - (tkIntPlatStubsPtr->tkWinGetPlatformId) /* 33 */ -#endif -#ifndef TkWinSetHINSTANCE -#define TkWinSetHINSTANCE \ - (tkIntPlatStubsPtr->tkWinSetHINSTANCE) /* 34 */ -#endif -#ifndef TkWinGetPlatformTheme -#define TkWinGetPlatformTheme \ - (tkIntPlatStubsPtr->tkWinGetPlatformTheme) /* 35 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkGenerateActivateEvents -#define TkGenerateActivateEvents \ - (tkIntPlatStubsPtr->tkGenerateActivateEvents) /* 0 */ -#endif -/* Slot 1 is reserved */ -/* Slot 2 is reserved */ -#ifndef TkPointerDeadWindow -#define TkPointerDeadWindow \ - (tkIntPlatStubsPtr->tkPointerDeadWindow) /* 3 */ -#endif -#ifndef TkpSetCapture -#define TkpSetCapture \ - (tkIntPlatStubsPtr->tkpSetCapture) /* 4 */ -#endif -#ifndef TkpSetCursor -#define TkpSetCursor \ - (tkIntPlatStubsPtr->tkpSetCursor) /* 5 */ -#endif -#ifndef TkpWmSetState -#define TkpWmSetState \ - (tkIntPlatStubsPtr->tkpWmSetState) /* 6 */ -#endif -#ifndef TkAboutDlg -#define TkAboutDlg \ - (tkIntPlatStubsPtr->tkAboutDlg) /* 7 */ -#endif -#ifndef TkMacOSXButtonKeyState -#define TkMacOSXButtonKeyState \ - (tkIntPlatStubsPtr->tkMacOSXButtonKeyState) /* 8 */ -#endif -#ifndef TkMacOSXClearMenubarActive -#define TkMacOSXClearMenubarActive \ - (tkIntPlatStubsPtr->tkMacOSXClearMenubarActive) /* 9 */ -#endif -#ifndef TkMacOSXDispatchMenuEvent -#define TkMacOSXDispatchMenuEvent \ - (tkIntPlatStubsPtr->tkMacOSXDispatchMenuEvent) /* 10 */ -#endif -#ifndef TkMacOSXInstallCursor -#define TkMacOSXInstallCursor \ - (tkIntPlatStubsPtr->tkMacOSXInstallCursor) /* 11 */ -#endif -#ifndef TkMacOSXHandleTearoffMenu -#define TkMacOSXHandleTearoffMenu \ - (tkIntPlatStubsPtr->tkMacOSXHandleTearoffMenu) /* 12 */ -#endif -/* Slot 13 is reserved */ -#ifndef TkMacOSXDoHLEvent -#define TkMacOSXDoHLEvent \ - (tkIntPlatStubsPtr->tkMacOSXDoHLEvent) /* 14 */ -#endif -/* Slot 15 is reserved */ -#ifndef TkMacOSXGetXWindow -#define TkMacOSXGetXWindow \ - (tkIntPlatStubsPtr->tkMacOSXGetXWindow) /* 16 */ -#endif -#ifndef TkMacOSXGrowToplevel -#define TkMacOSXGrowToplevel \ - (tkIntPlatStubsPtr->tkMacOSXGrowToplevel) /* 17 */ -#endif -#ifndef TkMacOSXHandleMenuSelect -#define TkMacOSXHandleMenuSelect \ - (tkIntPlatStubsPtr->tkMacOSXHandleMenuSelect) /* 18 */ -#endif -/* Slot 19 is reserved */ -/* Slot 20 is reserved */ -#ifndef TkMacOSXInvalidateWindow -#define TkMacOSXInvalidateWindow \ - (tkIntPlatStubsPtr->tkMacOSXInvalidateWindow) /* 21 */ -#endif -#ifndef TkMacOSXIsCharacterMissing -#define TkMacOSXIsCharacterMissing \ - (tkIntPlatStubsPtr->tkMacOSXIsCharacterMissing) /* 22 */ -#endif -#ifndef TkMacOSXMakeRealWindowExist -#define TkMacOSXMakeRealWindowExist \ - (tkIntPlatStubsPtr->tkMacOSXMakeRealWindowExist) /* 23 */ -#endif -#ifndef TkMacOSXMakeStippleMap -#define TkMacOSXMakeStippleMap \ - (tkIntPlatStubsPtr->tkMacOSXMakeStippleMap) /* 24 */ -#endif -#ifndef TkMacOSXMenuClick -#define TkMacOSXMenuClick \ - (tkIntPlatStubsPtr->tkMacOSXMenuClick) /* 25 */ -#endif -#ifndef TkMacOSXRegisterOffScreenWindow -#define TkMacOSXRegisterOffScreenWindow \ - (tkIntPlatStubsPtr->tkMacOSXRegisterOffScreenWindow) /* 26 */ -#endif -#ifndef TkMacOSXResizable -#define TkMacOSXResizable \ - (tkIntPlatStubsPtr->tkMacOSXResizable) /* 27 */ -#endif -#ifndef TkMacOSXSetHelpMenuItemCount -#define TkMacOSXSetHelpMenuItemCount \ - (tkIntPlatStubsPtr->tkMacOSXSetHelpMenuItemCount) /* 28 */ -#endif -#ifndef TkMacOSXSetScrollbarGrow -#define TkMacOSXSetScrollbarGrow \ - (tkIntPlatStubsPtr->tkMacOSXSetScrollbarGrow) /* 29 */ -#endif -#ifndef TkMacOSXSetUpClippingRgn -#define TkMacOSXSetUpClippingRgn \ - (tkIntPlatStubsPtr->tkMacOSXSetUpClippingRgn) /* 30 */ -#endif -#ifndef TkMacOSXSetUpGraphicsPort -#define TkMacOSXSetUpGraphicsPort \ - (tkIntPlatStubsPtr->tkMacOSXSetUpGraphicsPort) /* 31 */ -#endif -#ifndef TkMacOSXUpdateClipRgn -#define TkMacOSXUpdateClipRgn \ - (tkIntPlatStubsPtr->tkMacOSXUpdateClipRgn) /* 32 */ -#endif -#ifndef TkMacOSXUnregisterMacWindow -#define TkMacOSXUnregisterMacWindow \ - (tkIntPlatStubsPtr->tkMacOSXUnregisterMacWindow) /* 33 */ -#endif -#ifndef TkMacOSXUseMenuID -#define TkMacOSXUseMenuID \ - (tkIntPlatStubsPtr->tkMacOSXUseMenuID) /* 34 */ -#endif -#ifndef TkMacOSXVisableClipRgn -#define TkMacOSXVisableClipRgn \ - (tkIntPlatStubsPtr->tkMacOSXVisableClipRgn) /* 35 */ -#endif -#ifndef TkMacOSXWinBounds -#define TkMacOSXWinBounds \ - (tkIntPlatStubsPtr->tkMacOSXWinBounds) /* 36 */ -#endif -#ifndef TkMacOSXWindowOffset -#define TkMacOSXWindowOffset \ - (tkIntPlatStubsPtr->tkMacOSXWindowOffset) /* 37 */ -#endif -#ifndef TkSetMacColor -#define TkSetMacColor \ - (tkIntPlatStubsPtr->tkSetMacColor) /* 38 */ -#endif -#ifndef TkSetWMName -#define TkSetWMName \ - (tkIntPlatStubsPtr->tkSetWMName) /* 39 */ -#endif -#ifndef TkSuspendClipboard -#define TkSuspendClipboard \ - (tkIntPlatStubsPtr->tkSuspendClipboard) /* 40 */ -#endif -#ifndef TkMacOSXZoomToplevel -#define TkMacOSXZoomToplevel \ - (tkIntPlatStubsPtr->tkMacOSXZoomToplevel) /* 41 */ -#endif -#ifndef Tk_TopCoordsToWindow -#define Tk_TopCoordsToWindow \ - (tkIntPlatStubsPtr->tk_TopCoordsToWindow) /* 42 */ -#endif -#ifndef TkMacOSXContainerId -#define TkMacOSXContainerId \ - (tkIntPlatStubsPtr->tkMacOSXContainerId) /* 43 */ -#endif -#ifndef TkMacOSXGetHostToplevel -#define TkMacOSXGetHostToplevel \ - (tkIntPlatStubsPtr->tkMacOSXGetHostToplevel) /* 44 */ -#endif -#ifndef TkMacOSXPreprocessMenu -#define TkMacOSXPreprocessMenu \ - (tkIntPlatStubsPtr->tkMacOSXPreprocessMenu) /* 45 */ -#endif -#ifndef TkpIsWindowFloating -#define TkpIsWindowFloating \ - (tkIntPlatStubsPtr->tkpIsWindowFloating) /* 46 */ -#endif -#ifndef TkMacOSXGetCapture -#define TkMacOSXGetCapture \ - (tkIntPlatStubsPtr->tkMacOSXGetCapture) /* 47 */ -#endif -/* Slot 48 is reserved */ -#ifndef TkGetTransientMaster -#define TkGetTransientMaster \ - (tkIntPlatStubsPtr->tkGetTransientMaster) /* 49 */ -#endif -#ifndef TkGenerateButtonEvent -#define TkGenerateButtonEvent \ - (tkIntPlatStubsPtr->tkGenerateButtonEvent) /* 50 */ -#endif -#ifndef TkGenWMDestroyEvent -#define TkGenWMDestroyEvent \ - (tkIntPlatStubsPtr->tkGenWMDestroyEvent) /* 51 */ -#endif -/* Slot 52 is reserved */ -#ifndef TkpGetMS -#define TkpGetMS \ - (tkIntPlatStubsPtr->tkpGetMS) /* 53 */ -#endif -#endif /* AQUA */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ -#ifndef TkCreateXEventSource -#define TkCreateXEventSource \ - (tkIntPlatStubsPtr->tkCreateXEventSource) /* 0 */ -#endif -#ifndef TkFreeWindowId -#define TkFreeWindowId \ - (tkIntPlatStubsPtr->tkFreeWindowId) /* 1 */ -#endif -#ifndef TkInitXId -#define TkInitXId \ - (tkIntPlatStubsPtr->tkInitXId) /* 2 */ -#endif -#ifndef TkpCmapStressed -#define TkpCmapStressed \ - (tkIntPlatStubsPtr->tkpCmapStressed) /* 3 */ -#endif -#ifndef TkpSync -#define TkpSync \ - (tkIntPlatStubsPtr->tkpSync) /* 4 */ -#endif -#ifndef TkUnixContainerId -#define TkUnixContainerId \ - (tkIntPlatStubsPtr->tkUnixContainerId) /* 5 */ -#endif -#ifndef TkUnixDoOneXEvent -#define TkUnixDoOneXEvent \ - (tkIntPlatStubsPtr->tkUnixDoOneXEvent) /* 6 */ -#endif -#ifndef TkUnixSetMenubar -#define TkUnixSetMenubar \ - (tkIntPlatStubsPtr->tkUnixSetMenubar) /* 7 */ -#endif -#ifndef TkpScanWindowId -#define TkpScanWindowId \ - (tkIntPlatStubsPtr->tkpScanWindowId) /* 8 */ -#endif -#ifndef TkWmCleanup -#define TkWmCleanup \ - (tkIntPlatStubsPtr->tkWmCleanup) /* 9 */ -#endif -#ifndef TkSendCleanup -#define TkSendCleanup \ - (tkIntPlatStubsPtr->tkSendCleanup) /* 10 */ -#endif -#ifndef TkFreeXId -#define TkFreeXId \ - (tkIntPlatStubsPtr->tkFreeXId) /* 11 */ -#endif -#ifndef TkpWmSetState -#define TkpWmSetState \ - (tkIntPlatStubsPtr->tkpWmSetState) /* 12 */ -#endif -#ifndef TkpTestsendCmd -#define TkpTestsendCmd \ - (tkIntPlatStubsPtr->tkpTestsendCmd) /* 13 */ -#endif -#endif /* X11 */ - -#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */ - -/* !END!: Do not edit above this line. */ - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKINTPLATDECLS */ diff --git a/src/other/togl/include/tcltk/tk8.5/tkMacOSXDefault.h b/src/other/togl/include/tcltk/tk8.5/tkMacOSXDefault.h deleted file mode 100644 index 5cfd57739c8..00000000000 --- a/src/other/togl/include/tcltk/tk8.5/tkMacOSXDefault.h +++ /dev/null @@ -1,550 +0,0 @@ -/* - * tkMacOSXDefault.h -- - * - * This file defines the defaults for all options for all of - * the Tk widgets. - * - * Copyright (c) 1991-1994 The Regents of the University of California. - * Copyright (c) 1994-1997 Sun Microsystems, Inc. - * Copyright 2001, Apple Computer, Inc. - * Copyright (c) 2006-2007 Daniel A. Steffen - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKMACDEFAULT -#define _TKMACDEFAULT - -/* - * The definitions below provide symbolic names for the default colors. - * NORMAL_BG - Normal background color. - * ACTIVE_BG - Background color when widget is active. - * SELECT_BG - Background color for selected text. - * SELECT_FG - Foreground color for selected text. - * TROUGH - Background color for troughs in scales and scrollbars. - * INDICATOR - Color for indicator when button is selected. - * DISABLED - Foreground color when widget is disabled. - */ - -#define BLACK "Black" -#define WHITE "White" -#define NORMAL_BG "systemWindowBody" -#define ACTIVE_BG "systemButtonFacePressed" -#define ACTIVE_FG "systemPushButtonPressedText" -#define SELECT_BG "systemHighlight" -#define SELECT_FG None -#define INACTIVE_SELECT_BG "systemHighlightSecondary" -#define TROUGH "#c3c3c3" -#define INDICATOR "#b03060" -#define DISABLED "#a3a3a3" - -/* - * Defaults for labels, buttons, checkbuttons, and radiobuttons: - */ - -#define DEF_BUTTON_ANCHOR "center" -#define DEF_BUTTON_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_BUTTON_ACTIVE_BG_MONO BLACK -#define DEF_BUTTON_ACTIVE_FG_COLOR ACTIVE_FG -#define DEF_CHKRAD_ACTIVE_FG_COLOR DEF_BUTTON_ACTIVE_FG_COLOR -#define DEF_BUTTON_ACTIVE_FG_MONO WHITE -/* #define DEF_BUTTON_BG_COLOR "systemButtonFace"*/ -#define DEF_BUTTON_BG_COLOR WHITE -#define DEF_BUTTON_BG_MONO WHITE -#define DEF_BUTTON_BITMAP "" -#define DEF_BUTTON_BORDER_WIDTH "2" -#define DEF_BUTTON_CURSOR "" -#define DEF_BUTTON_COMMAND "" -#define DEF_BUTTON_COMPOUND "none" -#define DEF_BUTTON_DEFAULT "disabled" -#define DEF_BUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_BUTTON_DISABLED_FG_MONO "" -#define DEF_BUTTON_FG "systemButtonText" -#define DEF_CHKRAD_FG DEF_BUTTON_FG -#define DEF_BUTTON_FONT "TkDefaultFont" -#define DEF_BUTTON_HEIGHT "0" -#define DEF_BUTTON_HIGHLIGHT_BG_COLOR DEF_BUTTON_BG_COLOR -#define DEF_BUTTON_HIGHLIGHT_BG_MONO DEF_BUTTON_BG_MONO -#define DEF_BUTTON_HIGHLIGHT "systemButtonFrame" -#define DEF_LABEL_HIGHLIGHT_WIDTH "0" -#define DEF_BUTTON_HIGHLIGHT_WIDTH "4" -#define DEF_BUTTON_IMAGE (char *) NULL -#define DEF_BUTTON_INDICATOR "1" -#define DEF_BUTTON_JUSTIFY "center" -#define DEF_BUTTON_OFF_VALUE "0" -#define DEF_BUTTON_ON_VALUE "1" -#define DEF_BUTTON_TRISTATE_VALUE "" -#define DEF_BUTTON_OVER_RELIEF "" -#define DEF_BUTTON_PADX "12" -#define DEF_LABCHKRAD_PADX "1" -#define DEF_BUTTON_PADY "3" -#define DEF_LABCHKRAD_PADY "1" -#define DEF_BUTTON_RELIEF "flat" -#define DEF_LABCHKRAD_RELIEF "flat" -#define DEF_BUTTON_REPEAT_DELAY "0" -#define DEF_BUTTON_REPEAT_INTERVAL "0" -#define DEF_BUTTON_SELECT_COLOR INDICATOR -#define DEF_BUTTON_SELECT_MONO BLACK -#define DEF_BUTTON_SELECT_IMAGE (char *) NULL -#define DEF_BUTTON_STATE "normal" -#define DEF_LABEL_TAKE_FOCUS "0" -#define DEF_BUTTON_TAKE_FOCUS (char *) NULL -#define DEF_BUTTON_TEXT "" -#define DEF_BUTTON_TEXT_VARIABLE "" -#define DEF_BUTTON_UNDERLINE "-1" -#define DEF_BUTTON_VALUE "" -#define DEF_BUTTON_WIDTH "0" -#define DEF_BUTTON_WRAP_LENGTH "0" -#define DEF_RADIOBUTTON_VARIABLE "selectedButton" -#define DEF_CHECKBUTTON_VARIABLE "" - -/* - * Defaults for canvases: - */ - -#define DEF_CANVAS_BG_COLOR NORMAL_BG -#define DEF_CANVAS_BG_MONO WHITE -#define DEF_CANVAS_BORDER_WIDTH "0" -#define DEF_CANVAS_CLOSE_ENOUGH "1" -#define DEF_CANVAS_CONFINE "1" -#define DEF_CANVAS_CURSOR "" -#define DEF_CANVAS_HEIGHT "7c" -#define DEF_CANVAS_HIGHLIGHT_BG NORMAL_BG -#define DEF_CANVAS_HIGHLIGHT BLACK -#define DEF_CANVAS_HIGHLIGHT_WIDTH "3" -#define DEF_CANVAS_INSERT_BG BLACK -#define DEF_CANVAS_INSERT_BD_COLOR "0" -#define DEF_CANVAS_INSERT_BD_MONO "0" -#define DEF_CANVAS_INSERT_OFF_TIME "300" -#define DEF_CANVAS_INSERT_ON_TIME "600" -#define DEF_CANVAS_INSERT_WIDTH "2" -#define DEF_CANVAS_RELIEF "flat" -#define DEF_CANVAS_SCROLL_REGION "" -#define DEF_CANVAS_SELECT_COLOR SELECT_BG -#define DEF_CANVAS_SELECT_MONO BLACK -#define DEF_CANVAS_SELECT_BD_COLOR "1" -#define DEF_CANVAS_SELECT_BD_MONO "0" -#define DEF_CANVAS_SELECT_FG_COLOR SELECT_FG -#define DEF_CANVAS_SELECT_FG_MONO WHITE -#define DEF_CANVAS_TAKE_FOCUS (char *) NULL -#define DEF_CANVAS_WIDTH "10c" -#define DEF_CANVAS_X_SCROLL_CMD "" -#define DEF_CANVAS_X_SCROLL_INCREMENT "0" -#define DEF_CANVAS_Y_SCROLL_CMD "" -#define DEF_CANVAS_Y_SCROLL_INCREMENT "0" - -/* - * Defaults for entries: - */ - -/* - * I test the following two values in TkpDrawEntryBorderAndFocus - * to determine whether to use the native entry widget. So if - * you change the defaults to be different from these, then you - * won't get the native widget by default. - */ - -#define MAC_OSX_FOCUS_WIDTH 3 -#define MAC_OSX_ENTRY_BORDER 2 -#define MAC_OSX_ENTRY_RELIEF TK_RELIEF_SUNKEN -#define MAC_OSX_ENTRY_SELECT_RELIEF TK_RELIEF_FLAT - -#define DEF_ENTRY_BG_COLOR NORMAL_BG -#define DEF_ENTRY_BG_MONO WHITE -#define DEF_ENTRY_BORDER_WIDTH "2" -#define DEF_ENTRY_CURSOR "xterm" -#define DEF_ENTRY_DISABLED_BG_COLOR NORMAL_BG -#define DEF_ENTRY_DISABLED_BG_MONO WHITE -#define DEF_ENTRY_DISABLED_FG DISABLED -#define DEF_ENTRY_EXPORT_SELECTION "1" -#define DEF_ENTRY_FONT "TkTextFont" -#define DEF_ENTRY_FG BLACK -#define DEF_ENTRY_HIGHLIGHT_BG NORMAL_BG -#define DEF_ENTRY_HIGHLIGHT BLACK -/* #define DEF_ENTRY_HIGHLIGHT_WIDTH "3" */ -#define DEF_ENTRY_HIGHLIGHT_WIDTH "3" -#define DEF_ENTRY_INSERT_BG BLACK -#define DEF_ENTRY_INSERT_BD_COLOR "0" -#define DEF_ENTRY_INSERT_BD_MONO "0" -#define DEF_ENTRY_INSERT_OFF_TIME "300" -#define DEF_ENTRY_INSERT_ON_TIME "600" -/* #define DEF_ENTRY_INSERT_WIDTH "2" */ -#define DEF_ENTRY_INSERT_WIDTH "1" -#define DEF_ENTRY_JUSTIFY "left" -#define DEF_ENTRY_READONLY_BG_COLOR NORMAL_BG -#define DEF_ENTRY_READONLY_BG_MONO WHITE -#define DEF_ENTRY_RELIEF "sunken" -/* #define DEF_ENTRY_RELIEF "solid" */ -#define DEF_ENTRY_SCROLL_COMMAND "" -#define DEF_ENTRY_SELECT_COLOR SELECT_BG -#define DEF_ENTRY_SELECT_MONO BLACK -#define DEF_ENTRY_SELECT_BD_COLOR "1" -#define DEF_ENTRY_SELECT_BD_MONO "0" -#define DEF_ENTRY_SELECT_FG_COLOR SELECT_FG -#define DEF_ENTRY_SELECT_FG_MONO WHITE -#define DEF_ENTRY_SHOW (char *) NULL -#define DEF_ENTRY_STATE "normal" -#define DEF_ENTRY_TAKE_FOCUS (char *) NULL -#define DEF_ENTRY_TEXT_VARIABLE "" -#define DEF_ENTRY_WIDTH "20" - -/* - * Defaults for frames: - */ - -#define DEF_FRAME_BG_COLOR NORMAL_BG -#define DEF_FRAME_BG_MONO WHITE -#define DEF_FRAME_BORDER_WIDTH "0" -#define DEF_FRAME_CLASS "Frame" -#define DEF_FRAME_COLORMAP "" -#define DEF_FRAME_CONTAINER "0" -#define DEF_FRAME_CURSOR "" -#define DEF_FRAME_HEIGHT "0" -#define DEF_FRAME_HIGHLIGHT_BG NORMAL_BG -#define DEF_FRAME_HIGHLIGHT BLACK -#define DEF_FRAME_HIGHLIGHT_WIDTH "0" -#define DEF_FRAME_PADX "0" -#define DEF_FRAME_PADY "0" -#define DEF_FRAME_RELIEF "flat" -#define DEF_FRAME_TAKE_FOCUS "0" -#define DEF_FRAME_VISUAL "" -#define DEF_FRAME_WIDTH "0" - -/* - * Defaults for labelframes: - */ - -#define DEF_LABELFRAME_BORDER_WIDTH "2" -#define DEF_LABELFRAME_CLASS "Labelframe" -#define DEF_LABELFRAME_RELIEF "groove" -#define DEF_LABELFRAME_FG "systemButtonText" -#define DEF_LABELFRAME_FONT "TkDefaultFont" -#define DEF_LABELFRAME_TEXT "" -#define DEF_LABELFRAME_LABELANCHOR "nw" - -/* - * Defaults for listboxes: - */ - -#define DEF_LISTBOX_ACTIVE_STYLE "dotbox" -#define DEF_LISTBOX_BG_COLOR WHITE -#define DEF_LISTBOX_BG_MONO WHITE -#define DEF_LISTBOX_BORDER_WIDTH "1" -#define DEF_LISTBOX_CURSOR "" -#define DEF_LISTBOX_DISABLED_FG DISABLED -#define DEF_LISTBOX_EXPORT_SELECTION "1" -#define DEF_LISTBOX_FONT "TkTextFont" -#define DEF_LISTBOX_FG BLACK -#define DEF_LISTBOX_HEIGHT "10" -#define DEF_LISTBOX_HIGHLIGHT_BG NORMAL_BG -#define DEF_LISTBOX_HIGHLIGHT BLACK -#define DEF_LISTBOX_HIGHLIGHT_WIDTH "0" -#define DEF_LISTBOX_RELIEF "solid" -#define DEF_LISTBOX_SCROLL_COMMAND "" -#define DEF_LISTBOX_LIST_VARIABLE "" -#define DEF_LISTBOX_SELECT_COLOR SELECT_BG -#define DEF_LISTBOX_SELECT_MONO BLACK -#define DEF_LISTBOX_SELECT_BD "0" -#define DEF_LISTBOX_SELECT_FG_COLOR SELECT_FG -#define DEF_LISTBOX_SELECT_FG_MONO WHITE -#define DEF_LISTBOX_SELECT_MODE "browse" -#define DEF_LISTBOX_SET_GRID "0" -#define DEF_LISTBOX_STATE "normal" -#define DEF_LISTBOX_TAKE_FOCUS (char *) NULL -#define DEF_LISTBOX_WIDTH "20" - -/* - * Defaults for individual entries of menus: - */ - -#define DEF_MENU_ENTRY_ACTIVE_BG (char *) NULL -#define DEF_MENU_ENTRY_ACTIVE_FG (char *) NULL -#define DEF_MENU_ENTRY_ACCELERATOR (char *) NULL -#define DEF_MENU_ENTRY_BG (char *) NULL -#define DEF_MENU_ENTRY_BITMAP None -#define DEF_MENU_ENTRY_COLUMN_BREAK "0" -#define DEF_MENU_ENTRY_COMMAND (char *) NULL -#define DEF_MENU_ENTRY_COMPOUND "none" -#define DEF_MENU_ENTRY_FG (char *) NULL -#define DEF_MENU_ENTRY_FONT (char *) NULL -#define DEF_MENU_ENTRY_HIDE_MARGIN "0" -#define DEF_MENU_ENTRY_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_INDICATOR "1" -#define DEF_MENU_ENTRY_LABEL (char *) NULL -#define DEF_MENU_ENTRY_MENU (char *) NULL -#define DEF_MENU_ENTRY_OFF_VALUE "0" -#define DEF_MENU_ENTRY_ON_VALUE "1" -#define DEF_MENU_ENTRY_SELECT_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_STATE "normal" -#define DEF_MENU_ENTRY_VALUE (char *) NULL -#define DEF_MENU_ENTRY_CHECK_VARIABLE (char *) NULL -#define DEF_MENU_ENTRY_RADIO_VARIABLE "selectedButton" -#define DEF_MENU_ENTRY_SELECT (char *) NULL -#define DEF_MENU_ENTRY_UNDERLINE "-1" - -/* - * Defaults for menus overall: - */ - -#define DEF_MENU_ACTIVE_BG_COLOR "systemMenuActive" -#define DEF_MENU_ACTIVE_BG_MONO BLACK -#define DEF_MENU_ACTIVE_BORDER_WIDTH "0" -#define DEF_MENU_ACTIVE_FG_COLOR "systemMenuActiveText" -#define DEF_MENU_ACTIVE_FG_MONO WHITE -#define DEF_MENU_BG_COLOR "systemMenu" -#define DEF_MENU_BG_MONO WHITE -#define DEF_MENU_BORDER_WIDTH "0" -#define DEF_MENU_CURSOR "arrow" -#define DEF_MENU_DISABLED_FG_COLOR "systemMenuDisabled" -#define DEF_MENU_DISABLED_FG_MONO "" -#define DEF_MENU_FONT "menu" /* special: see tkMacOSXMenu.c */ -#define DEF_MENU_FG "systemMenuText" -#define DEF_MENU_POST_COMMAND "" -#define DEF_MENU_RELIEF "flat" -#define DEF_MENU_SELECT_COLOR "systemMenuActive" -#define DEF_MENU_SELECT_MONO BLACK -#define DEF_MENU_TAKE_FOCUS "0" - -/* - * FIXME: Turn the default back to 1 when we make tearoff menus work again. - */ - -#define DEF_MENU_TEAROFF "0" -#define DEF_MENU_TEAROFF_CMD (char *) NULL -#define DEF_MENU_TITLE "" -#define DEF_MENU_TYPE "normal" - -/* - * Defaults for menubuttons: - */ - -#define DEF_MENUBUTTON_ANCHOR "center" -#define DEF_MENUBUTTON_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_MENUBUTTON_ACTIVE_BG_MONO BLACK -#define DEF_MENUBUTTON_ACTIVE_FG_COLOR ACTIVE_FG -#define DEF_MENUBUTTON_ACTIVE_FG_MONO WHITE -#define DEF_MENUBUTTON_BG_COLOR NORMAL_BG -#define DEF_MENUBUTTON_BG_MONO WHITE -#define DEF_MENUBUTTON_BITMAP "" -#define DEF_MENUBUTTON_BORDER_WIDTH "2" -#define DEF_MENUBUTTON_CURSOR "" -#define DEF_MENUBUTTON_DIRECTION "below" -#define DEF_MENUBUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_MENUBUTTON_DISABLED_FG_MONO "" -#define DEF_MENUBUTTON_FONT "TkDefaultFont" -#define DEF_MENUBUTTON_FG BLACK -#define DEF_MENUBUTTON_HEIGHT "0" -#define DEF_MENUBUTTON_HIGHLIGHT_BG_COLOR DEF_MENUBUTTON_BG_COLOR -#define DEF_MENUBUTTON_HIGHLIGHT_BG_MONO DEF_MENUBUTTON_BG_MONO -#define DEF_MENUBUTTON_HIGHLIGHT BLACK -#define DEF_MENUBUTTON_HIGHLIGHT_WIDTH "0" -#define DEF_MENUBUTTON_IMAGE (char *) NULL -#define DEF_MENUBUTTON_INDICATOR "0" -/* #define DEF_MENUBUTTON_JUSTIFY "center" */ -#define DEF_MENUBUTTON_JUSTIFY "left" -#define DEF_MENUBUTTON_MENU "" -#define DEF_MENUBUTTON_PADX "4p" -#define DEF_MENUBUTTON_PADY "3p" -#define DEF_MENUBUTTON_RELIEF "flat" -#define DEF_MENUBUTTON_STATE "normal" -#define DEF_MENUBUTTON_TAKE_FOCUS "0" -#define DEF_MENUBUTTON_TEXT "" -#define DEF_MENUBUTTON_TEXT_VARIABLE "" -#define DEF_MENUBUTTON_UNDERLINE "-1" -#define DEF_MENUBUTTON_WIDTH "0" -#define DEF_MENUBUTTON_WRAP_LENGTH "0" - -/* - * Defaults for messages: - */ - -#define DEF_MESSAGE_ANCHOR "center" -#define DEF_MESSAGE_ASPECT "150" -#define DEF_MESSAGE_BG_COLOR NORMAL_BG -#define DEF_MESSAGE_BG_MONO WHITE -#define DEF_MESSAGE_BORDER_WIDTH "1" -#define DEF_MESSAGE_CURSOR "" -#define DEF_MESSAGE_FG BLACK -#define DEF_MESSAGE_FONT "TkDefaultFont" -#define DEF_MESSAGE_HIGHLIGHT_BG NORMAL_BG -#define DEF_MESSAGE_HIGHLIGHT BLACK -#define DEF_MESSAGE_HIGHLIGHT_WIDTH "0" -#define DEF_MESSAGE_JUSTIFY "left" -#define DEF_MESSAGE_PADX "-1" -#define DEF_MESSAGE_PADY "-1" -#define DEF_MESSAGE_RELIEF "flat" -#define DEF_MESSAGE_TAKE_FOCUS "0" -#define DEF_MESSAGE_TEXT "" -#define DEF_MESSAGE_TEXT_VARIABLE "" -#define DEF_MESSAGE_WIDTH "0" -/* - * Defaults for panedwindows - */ - -#define DEF_PANEDWINDOW_BG_COLOR NORMAL_BG -#define DEF_PANEDWINDOW_BG_MONO WHITE -#define DEF_PANEDWINDOW_BORDERWIDTH "1" -#define DEF_PANEDWINDOW_CURSOR "" -#define DEF_PANEDWINDOW_HANDLEPAD "8" -#define DEF_PANEDWINDOW_HANDLESIZE "8" -#define DEF_PANEDWINDOW_HEIGHT "" -#define DEF_PANEDWINDOW_OPAQUERESIZE "1" -#define DEF_PANEDWINDOW_ORIENT "horizontal" -#define DEF_PANEDWINDOW_RELIEF "flat" -#define DEF_PANEDWINDOW_SASHCURSOR "" -#define DEF_PANEDWINDOW_SASHPAD "0" -#define DEF_PANEDWINDOW_SASHRELIEF "flat" -#define DEF_PANEDWINDOW_SASHWIDTH "3" -#define DEF_PANEDWINDOW_SHOWHANDLE "0" -#define DEF_PANEDWINDOW_WIDTH "" - -/* - * Defaults for panedwindow panes - */ - -#define DEF_PANEDWINDOW_PANE_AFTER "" -#define DEF_PANEDWINDOW_PANE_BEFORE "" -#define DEF_PANEDWINDOW_PANE_HEIGHT "" -#define DEF_PANEDWINDOW_PANE_MINSIZE "0" -#define DEF_PANEDWINDOW_PANE_PADX "0" -#define DEF_PANEDWINDOW_PANE_PADY "0" -#define DEF_PANEDWINDOW_PANE_STICKY "nsew" -#define DEF_PANEDWINDOW_PANE_WIDTH "" -#define DEF_PANEDWINDOW_PANE_HIDE "0" -#define DEF_PANEDWINDOW_PANE_STRETCH "last" - -/* - * Defaults for scales: - */ - -#define DEF_SCALE_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCALE_ACTIVE_BG_MONO BLACK -#define DEF_SCALE_BG_COLOR NORMAL_BG -#define DEF_SCALE_BG_MONO WHITE -#define DEF_SCALE_BIG_INCREMENT "0" -#define DEF_SCALE_BORDER_WIDTH "1" -#define DEF_SCALE_COMMAND "" -#define DEF_SCALE_CURSOR "" -#define DEF_SCALE_DIGITS "0" -#define DEF_SCALE_FONT "TkDefaultFont" -#define DEF_SCALE_FG_COLOR BLACK -#define DEF_SCALE_FG_MONO BLACK -#define DEF_SCALE_FROM "0" -#define DEF_SCALE_HIGHLIGHT_BG_COLOR DEF_SCALE_BG_COLOR -#define DEF_SCALE_HIGHLIGHT_BG_MONO DEF_SCALE_BG_MONO -#define DEF_SCALE_HIGHLIGHT BLACK -#define DEF_SCALE_HIGHLIGHT_WIDTH "0" -#define DEF_SCALE_LABEL "" -#define DEF_SCALE_LENGTH "100" -#define DEF_SCALE_ORIENT "vertical" -#define DEF_SCALE_RELIEF "flat" -#define DEF_SCALE_REPEAT_DELAY "300" -#define DEF_SCALE_REPEAT_INTERVAL "100" -#define DEF_SCALE_RESOLUTION "1" -#define DEF_SCALE_TROUGH_COLOR TROUGH -#define DEF_SCALE_TROUGH_MONO WHITE -#define DEF_SCALE_SHOW_VALUE "1" -#define DEF_SCALE_SLIDER_LENGTH "30" -#define DEF_SCALE_SLIDER_RELIEF "raised" -#define DEF_SCALE_STATE "normal" -#define DEF_SCALE_TAKE_FOCUS (char *) NULL -#define DEF_SCALE_TICK_INTERVAL "0" -#define DEF_SCALE_TO "100" -#define DEF_SCALE_VARIABLE "" -#define DEF_SCALE_WIDTH "15" - -/* - * Defaults for scrollbars: - */ - -#define DEF_SCROLLBAR_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCROLLBAR_ACTIVE_BG_MONO BLACK -#define DEF_SCROLLBAR_ACTIVE_RELIEF "raised" -#define DEF_SCROLLBAR_BG_COLOR NORMAL_BG -#define DEF_SCROLLBAR_BG_MONO WHITE -#define DEF_SCROLLBAR_BORDER_WIDTH "0" -#define DEF_SCROLLBAR_COMMAND "" -#define DEF_SCROLLBAR_CURSOR "" -#define DEF_SCROLLBAR_EL_BORDER_WIDTH "-1" -#define DEF_SCROLLBAR_HIGHLIGHT_BG NORMAL_BG -#define DEF_SCROLLBAR_HIGHLIGHT BLACK -#define DEF_SCROLLBAR_HIGHLIGHT_WIDTH "0" -#define DEF_SCROLLBAR_JUMP "0" -#define DEF_SCROLLBAR_ORIENT "vertical" -#define DEF_SCROLLBAR_RELIEF "flat" -#define DEF_SCROLLBAR_REPEAT_DELAY "300" -#define DEF_SCROLLBAR_REPEAT_INTERVAL "100" -#define DEF_SCROLLBAR_TAKE_FOCUS (char *) NULL -#define DEF_SCROLLBAR_TROUGH_COLOR TROUGH -#define DEF_SCROLLBAR_TROUGH_MONO WHITE -#define DEF_SCROLLBAR_WIDTH "15" - -/* - * Defaults for texts: - */ - -#define DEF_TEXT_AUTO_SEPARATORS "1" -#define DEF_TEXT_BG_COLOR NORMAL_BG -#define DEF_TEXT_BG_MONO WHITE -#define DEF_TEXT_BLOCK_CURSOR "0" -#define DEF_TEXT_BORDER_WIDTH "0" -#define DEF_TEXT_CURSOR "xterm" -#define DEF_TEXT_FG BLACK -#define DEF_TEXT_EXPORT_SELECTION "1" -#define DEF_TEXT_FONT "TkFixedFont" -#define DEF_TEXT_HEIGHT "24" -#define DEF_TEXT_HIGHLIGHT_BG NORMAL_BG -#define DEF_TEXT_HIGHLIGHT BLACK -#define DEF_TEXT_HIGHLIGHT_WIDTH "3" -#define DEF_TEXT_INSERT_BG BLACK -#define DEF_TEXT_INSERT_BD_COLOR "0" -#define DEF_TEXT_INSERT_BD_MONO "0" -#define DEF_TEXT_INSERT_OFF_TIME "300" -#define DEF_TEXT_INSERT_ON_TIME "600" -#define DEF_TEXT_INSERT_WIDTH "1" -#define DEF_TEXT_MAX_UNDO "0" -#define DEF_TEXT_PADX "1" -#define DEF_TEXT_PADY "1" -#define DEF_TEXT_RELIEF "flat" -#define DEF_TEXT_INACTIVE_SELECT_COLOR INACTIVE_SELECT_BG -#define DEF_TEXT_SELECT_COLOR SELECT_BG -#define DEF_TEXT_SELECT_MONO BLACK -#define DEF_TEXT_SELECT_BD_COLOR "1" -#define DEF_TEXT_SELECT_BD_MONO "0" -#define DEF_TEXT_SELECT_FG_COLOR SELECT_FG -#define DEF_TEXT_SELECT_FG_MONO WHITE -#define DEF_TEXT_SELECT_RELIEF "flat" -#define DEF_TEXT_SET_GRID "0" -#define DEF_TEXT_SPACING1 "0" -#define DEF_TEXT_SPACING2 "0" -#define DEF_TEXT_SPACING3 "0" -#define DEF_TEXT_STATE "normal" -#define DEF_TEXT_TABS "" -#define DEF_TEXT_TABSTYLE "tabular" -#define DEF_TEXT_TAKE_FOCUS (char *) NULL -#define DEF_TEXT_UNDO "0" -#define DEF_TEXT_WIDTH "80" -#define DEF_TEXT_WRAP "char" -#define DEF_TEXT_XSCROLL_COMMAND "" -#define DEF_TEXT_YSCROLL_COMMAND "" - -/* - * Defaults for canvas text: - */ - -#define DEF_CANVTEXT_FONT "TkDefaultFont" - -/* - * Defaults for toplevels (most of the defaults for frames also apply - * to toplevels): - */ - -#define DEF_TOPLEVEL_CLASS "Toplevel" -#define DEF_TOPLEVEL_MENU "" -#define DEF_TOPLEVEL_SCREEN "" -#define DEF_TOPLEVEL_USE "" - -#endif /* _TKMACDEFAULT */ diff --git a/src/other/togl/include/tcltk/tk8.5/tkMacOSXInt.h b/src/other/togl/include/tcltk/tk8.5/tkMacOSXInt.h deleted file mode 100644 index 1303523651f..00000000000 --- a/src/other/togl/include/tcltk/tk8.5/tkMacOSXInt.h +++ /dev/null @@ -1,180 +0,0 @@ -/* - * tkMacOSXInt.h -- - * - * Declarations of Macintosh specific shared variables and procedures. - * - * Copyright (c) 1995-1997 Sun Microsystems, Inc. - * Copyright 2001, Apple Computer, Inc. - * Copyright (c) 2005-2007 Daniel A. Steffen - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKMACINT -#define _TKMACINT - -#ifndef _TKINT -#include "tkInt.h" -#endif - -#define TextStyle MacTextStyle -#include -#undef TextStyle - -/* - * Include platform specific public interfaces. - */ - -#ifndef _TKMAC -#include "tkMacOSX.h" -#endif - -struct TkWindowPrivate { - TkWindow *winPtr; /* Ptr to tk window or NULL if Pixmap */ - CGrafPtr grafPtr; - CGContextRef context; - ControlRef rootControl; - int xOff; /* X offset from toplevel window */ - int yOff; /* Y offset from toplevel window */ - CGSize size; - HIShapeRef visRgn; /* Visible region of window */ - HIShapeRef aboveVisRgn; /* Visible region of window & its children */ - CGRect drawRect; /* Clipped drawing rect */ - int referenceCount; /* Don't delete toplevel until children are - * gone. */ - struct TkWindowPrivate *toplevel; - /* Pointer to the toplevel datastruct. */ - int flags; /* Various state see defines below. */ -}; -typedef struct TkWindowPrivate MacDrawable; - -/* - * This list is used to keep track of toplevel windows that have a Mac - * window attached. This is useful for several things, not the least - * of which is maintaining floating windows. - */ - -typedef struct TkMacOSXWindowList { - struct TkMacOSXWindowList *nextPtr; - /* The next window in the list. */ - TkWindow *winPtr; /* This window */ -} TkMacOSXWindowList; - -/* - * Defines use for the flags field of the MacDrawable data structure. - */ - -#define TK_SCROLLBAR_GROW 0x01 -#define TK_CLIP_INVALID 0x02 -#define TK_HOST_EXISTS 0x04 -#define TK_DRAWN_UNDER_MENU 0x08 -#define TK_CLIPPED_DRAW 0x10 -#define TK_IS_PIXMAP 0x20 -#define TK_IS_BW_PIXMAP 0x40 - -/* - * I am reserving TK_EMBEDDED = 0x100 in the MacDrawable flags - * This is defined in tk.h. We need to duplicate the TK_EMBEDDED flag in the - * TkWindow structure for the window, but in the MacWin. This way we can - * still tell what the correct port is after the TKWindow structure has been - * freed. This actually happens when you bind destroy of a toplevel to - * Destroy of a child. - */ - -/* - * This structure is for handling Netscape-type in process - * embedding where Tk does not control the top-level. It contains - * various functions that are needed by Mac specific routines, like - * TkMacOSXGetDrawablePort. The definitions of the function types - * are in tkMacOSX.h. - */ - -typedef struct { - Tk_MacOSXEmbedRegisterWinProc *registerWinProc; - Tk_MacOSXEmbedGetGrafPortProc *getPortProc; - Tk_MacOSXEmbedMakeContainerExistProc *containerExistProc; - Tk_MacOSXEmbedGetClipProc *getClipProc; - Tk_MacOSXEmbedGetOffsetInParentProc *getOffsetProc; -} TkMacOSXEmbedHandler; - -MODULE_SCOPE TkMacOSXEmbedHandler *tkMacOSXEmbedHandler; - -/* - * Defines used for TkMacOSXInvalidateWindow - */ - -#define TK_WINDOW_ONLY 0 -#define TK_PARENT_WINDOW 1 - -/* - * Accessor for the privatePtr flags field for the TK_HOST_EXISTS field - */ - -#define TkMacOSXHostToplevelExists(tkwin) \ - (((TkWindow *) (tkwin))->privatePtr->toplevel->flags & TK_HOST_EXISTS) - -/* - * Defines use for the flags argument to TkGenWMConfigureEvent. - */ - -#define TK_LOCATION_CHANGED 1 -#define TK_SIZE_CHANGED 2 -#define TK_BOTH_CHANGED 3 - -/* - * Defines for tkTextDisp.c - */ - -#define TK_LAYOUT_WITH_BASE_CHUNKS 1 -#define TK_DRAW_IN_CONTEXT 1 - -#if !TK_DRAW_IN_CONTEXT -MODULE_SCOPE int TkMacOSXCompareColors(unsigned long c1, unsigned long c2); -#endif - -/* - * Globals shared among TkAqua. - */ - -MODULE_SCOPE MenuHandle tkCurrentAppleMenu; /* Handle to current Apple Menu */ -MODULE_SCOPE MenuHandle tkAppleMenu; /* Handle to default Apple Menu */ -MODULE_SCOPE MenuHandle tkFileMenu; /* Handles to menus */ -MODULE_SCOPE MenuHandle tkEditMenu; /* Handles to menus */ -MODULE_SCOPE int tkPictureIsOpen; /* If this is 1, we are drawing to a - * picture The clipping should then be - * done relative to the bounds of the - * picture rather than the window. As - * of OS X.0.4, something is seriously - * wrong: The clipping bounds only - * seem to work if the top,left values - * are 0,0 The destination rectangle - * for CopyBits should also have - * top,left values of 0,0 - */ -MODULE_SCOPE TkMacOSXWindowList *tkMacOSXWindowListPtr; /* List of toplevels */ -MODULE_SCOPE Tcl_Encoding TkMacOSXCarbonEncoding; - -/* - * Prototypes of internal procs not in the stubs table. - */ - -MODULE_SCOPE void TkMacOSXDefaultStartupScript(void); -#if 0 -MODULE_SCOPE int XSetClipRectangles(Display *d, GC gc, int clip_x_origin, - int clip_y_origin, XRectangle* rectangles, int n, int ordering); -#endif -MODULE_SCOPE void TkpClipDrawableToRect(Display *display, Drawable d, int x, - int y, int width, int height); -MODULE_SCOPE void TkpRetainRegion(TkRegion r); -MODULE_SCOPE void TkpReleaseRegion(TkRegion r); - -/* - * Include the stubbed internal platform-specific API. - */ - -#include "tkIntPlatDecls.h" - -#endif /* _TKMACINT */ diff --git a/src/other/togl/include/tcltk/tk8.5/tkMacOSXPort.h b/src/other/togl/include/tcltk/tk8.5/tkMacOSXPort.h deleted file mode 100644 index 0339a12634e..00000000000 --- a/src/other/togl/include/tcltk/tk8.5/tkMacOSXPort.h +++ /dev/null @@ -1,206 +0,0 @@ -/* - * tkMacOSXPort.h -- - * - * This file is included by all of the Tk C files. It contains - * information that may be configuration-dependent, such as - * #includes for system include files and a few other things. - * - * Copyright (c) 1994-1996 Sun Microsystems, Inc. - * Copyright 2001, Apple Computer, Inc. - * Copyright (c) 2005-2007 Daniel A. Steffen - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKMACPORT -#define _TKMACPORT - -/* - * Macro to use instead of "void" for arguments that must have - * type "void *" in ANSI C; maps them to type "char *" in - * non-ANSI systems. This macro may be used in some of the include - * files below, which is why it is defined here. - */ - -#ifndef VOID -# ifdef __STDC__ -# define VOID void -# else -# define VOID char -# endif -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#ifdef HAVE_SYS_SELECT_H -# include -#endif -#include -#ifndef _TCL -# include -#endif -#if TIME_WITH_SYS_TIME -# include -# include -#else -# if HAVE_SYS_TIME_H -# include -# else -# include -# endif -#endif -#if HAVE_INTTYPES_H -# include -#endif -#include -#include -#include -#include -#include -#include -#include -#include "tkIntXlibDecls.h" - -/* - * The following macro defines the type of the mask arguments to - * select: - */ - -#ifndef NO_FD_SET -# define SELECT_MASK fd_set -#else -# ifndef _AIX - typedef long fd_mask; -# endif -# if defined(_IBMR2) -# define SELECT_MASK void -# else -# define SELECT_MASK int -# endif -#endif - -/* - * The following macro defines the number of fd_masks in an fd_set: - */ - -#ifndef FD_SETSIZE -# ifdef OPEN_MAX -# define FD_SETSIZE OPEN_MAX -# else -# define FD_SETSIZE 256 -# endif -#endif -#if !defined(howmany) -# define howmany(x, y) (((x)+((y)-1))/(y)) -#endif -#ifndef NFDBITS -# define NFDBITS NBBY*sizeof(fd_mask) -#endif -#define MASK_SIZE howmany(FD_SETSIZE, NFDBITS) - -/* - * Define "NBBY" (number of bits per byte) if it's not already defined. - */ - -#ifndef NBBY -# define NBBY 8 -#endif - -/* - * The following define causes Tk to use its internal keysym hash table - */ - -#define REDO_KEYSYM_LOOKUP - -/* - * Defines for X functions that are used by Tk but are treated as - * no-op functions on the Macintosh. - */ - -#define XFlush(display) -#define XFree(data) {if ((data) != NULL) ckfree((char *) (data));} -#define XGrabServer(display) -#define XNoOp(display) {display->request++;} -#define XUngrabServer(display) -#define XSynchronize(display, bool) {display->request++;} -#define XVisualIDFromVisual(visual) (visual->visualid) - -/* - * The following functions are not used on the Mac, so we stub them out. - */ - -#define TkFreeWindowId(dispPtr,w) -#define TkInitXId(dispPtr) -#define TkpButtonSetDefaults(specPtr) {} -#define TkpCmapStressed(tkwin,colormap) (0) -#define TkpFreeColor(tkColPtr) -#define TkSetPixmapColormap(p,c) {} -#define TkpSync(display) - -/* - * The following macro returns the pixel value that corresponds to the - * RGB values in the given XColor structure. - */ - -#define PIXEL_MAGIC ((unsigned char) 0x69) -#define TkpGetPixel(p) ((((((PIXEL_MAGIC << 8) \ - | (((p)->red >> 8) & 0xff)) << 8) \ - | (((p)->green >> 8) & 0xff)) << 8) \ - | (((p)->blue >> 8) & 0xff)) - -/* - * This macro stores a representation of the window handle in a string. - * This should perhaps use the real size of an XID. - */ - -#define TkpPrintWindowId(buf,w) \ - sprintf((buf), "0x%x", (unsigned int) (w)) - -/* - * TkpScanWindowId is just an alias for Tcl_GetInt on Unix. - */ - -#define TkpScanWindowId(i,s,wp) \ - Tcl_GetInt((i),(s),(int *) (wp)) - -/* - * Turn off Tk double-buffering as Aqua windows are already double-buffered. - */ - -#define TK_NO_DOUBLE_BUFFERING 1 - -/* - * Magic pixel code values for system colors. - * - * NOTE: values must be kept in sync with indices into the - * systemColorMap array in tkMacOSXColor.c ! - */ - -#define TRANSPARENT_PIXEL 30 -#define HIGHLIGHT_PIXEL 31 -#define HIGHLIGHT_SECONDARY_PIXEL 32 -#define HIGHLIGHT_TEXT_PIXEL 33 -#define HIGHLIGHT_ALTERNATE_PIXEL 34 -#define CONTROL_TEXT_PIXEL 35 -#define CONTROL_BODY_PIXEL 37 -#define CONTROL_FRAME_PIXEL 39 -#define WINDOW_BODY_PIXEL 41 -#define MENU_ACTIVE_PIXEL 43 -#define MENU_ACTIVE_TEXT_PIXEL 45 -#define MENU_BACKGROUND_PIXEL 47 -#define MENU_DISABLED_PIXEL 49 -#define MENU_TEXT_PIXEL 51 -#define APPEARANCE_PIXEL 52 - -#endif /* _TKMACPORT */ diff --git a/src/other/togl/include/tcltk/tk8.5/tkPlatDecls.h b/src/other/togl/include/tcltk/tk8.5/tkPlatDecls.h deleted file mode 100644 index 525bac96627..00000000000 --- a/src/other/togl/include/tcltk/tk8.5/tkPlatDecls.h +++ /dev/null @@ -1,253 +0,0 @@ -/* - * tkPlatDecls.h -- - * - * Declarations of functions in the platform-specific public Tcl API. - * - * Copyright (c) 1998-1999 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKPLATDECLS -#define _TKPLATDECLS - -#ifdef BUILD_tk -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * WARNING: This file is automatically generated by the tools/genStubs.tcl - * script. Any modifications to the function declarations below should be made - * in the generic/tk.decls script. - */ - -/* !BEGIN!: Do not edit below this line. */ - -/* - * Exported function declarations: - */ - -#ifdef __WIN32__ /* WIN */ -#ifndef Tk_AttachHWND_TCL_DECLARED -#define Tk_AttachHWND_TCL_DECLARED -/* 0 */ -EXTERN Window Tk_AttachHWND (Tk_Window tkwin, HWND hwnd); -#endif -#ifndef Tk_GetHINSTANCE_TCL_DECLARED -#define Tk_GetHINSTANCE_TCL_DECLARED -/* 1 */ -EXTERN HINSTANCE Tk_GetHINSTANCE (void); -#endif -#ifndef Tk_GetHWND_TCL_DECLARED -#define Tk_GetHWND_TCL_DECLARED -/* 2 */ -EXTERN HWND Tk_GetHWND (Window window); -#endif -#ifndef Tk_HWNDToWindow_TCL_DECLARED -#define Tk_HWNDToWindow_TCL_DECLARED -/* 3 */ -EXTERN Tk_Window Tk_HWNDToWindow (HWND hwnd); -#endif -#ifndef Tk_PointerEvent_TCL_DECLARED -#define Tk_PointerEvent_TCL_DECLARED -/* 4 */ -EXTERN void Tk_PointerEvent (HWND hwnd, int x, int y); -#endif -#ifndef Tk_TranslateWinEvent_TCL_DECLARED -#define Tk_TranslateWinEvent_TCL_DECLARED -/* 5 */ -EXTERN int Tk_TranslateWinEvent (HWND hwnd, UINT message, - WPARAM wParam, LPARAM lParam, - LRESULT * result); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef Tk_MacOSXSetEmbedHandler_TCL_DECLARED -#define Tk_MacOSXSetEmbedHandler_TCL_DECLARED -/* 0 */ -EXTERN void Tk_MacOSXSetEmbedHandler ( - Tk_MacOSXEmbedRegisterWinProc * registerWinProcPtr, - Tk_MacOSXEmbedGetGrafPortProc * getPortProcPtr, - Tk_MacOSXEmbedMakeContainerExistProc * containerExistProcPtr, - Tk_MacOSXEmbedGetClipProc * getClipProc, - Tk_MacOSXEmbedGetOffsetInParentProc * getOffsetProc); -#endif -#ifndef Tk_MacOSXTurnOffMenus_TCL_DECLARED -#define Tk_MacOSXTurnOffMenus_TCL_DECLARED -/* 1 */ -EXTERN void Tk_MacOSXTurnOffMenus (void); -#endif -#ifndef Tk_MacOSXTkOwnsCursor_TCL_DECLARED -#define Tk_MacOSXTkOwnsCursor_TCL_DECLARED -/* 2 */ -EXTERN void Tk_MacOSXTkOwnsCursor (int tkOwnsIt); -#endif -#ifndef TkMacOSXInitMenus_TCL_DECLARED -#define TkMacOSXInitMenus_TCL_DECLARED -/* 3 */ -EXTERN void TkMacOSXInitMenus (Tcl_Interp * interp); -#endif -#ifndef TkMacOSXInitAppleEvents_TCL_DECLARED -#define TkMacOSXInitAppleEvents_TCL_DECLARED -/* 4 */ -EXTERN void TkMacOSXInitAppleEvents (Tcl_Interp * interp); -#endif -#ifndef TkGenWMConfigureEvent_TCL_DECLARED -#define TkGenWMConfigureEvent_TCL_DECLARED -/* 5 */ -EXTERN void TkGenWMConfigureEvent (Tk_Window tkwin, int x, int y, - int width, int height, int flags); -#endif -#ifndef TkMacOSXInvalClipRgns_TCL_DECLARED -#define TkMacOSXInvalClipRgns_TCL_DECLARED -/* 6 */ -EXTERN void TkMacOSXInvalClipRgns (Tk_Window tkwin); -#endif -#ifndef TkMacOSXGetDrawablePort_TCL_DECLARED -#define TkMacOSXGetDrawablePort_TCL_DECLARED -/* 7 */ -EXTERN GWorldPtr TkMacOSXGetDrawablePort (Drawable drawable); -#endif -#ifndef TkMacOSXGetRootControl_TCL_DECLARED -#define TkMacOSXGetRootControl_TCL_DECLARED -/* 8 */ -EXTERN ControlRef TkMacOSXGetRootControl (Drawable drawable); -#endif -#ifndef Tk_MacOSXSetupTkNotifier_TCL_DECLARED -#define Tk_MacOSXSetupTkNotifier_TCL_DECLARED -/* 9 */ -EXTERN void Tk_MacOSXSetupTkNotifier (void); -#endif -#ifndef Tk_MacOSXIsAppInFront_TCL_DECLARED -#define Tk_MacOSXIsAppInFront_TCL_DECLARED -/* 10 */ -EXTERN int Tk_MacOSXIsAppInFront (void); -#endif -#endif /* AQUA */ - -typedef struct TkPlatStubs { - int magic; - struct TkPlatStubHooks *hooks; - -#ifdef __WIN32__ /* WIN */ - Window (*tk_AttachHWND) (Tk_Window tkwin, HWND hwnd); /* 0 */ - HINSTANCE (*tk_GetHINSTANCE) (void); /* 1 */ - HWND (*tk_GetHWND) (Window window); /* 2 */ - Tk_Window (*tk_HWNDToWindow) (HWND hwnd); /* 3 */ - void (*tk_PointerEvent) (HWND hwnd, int x, int y); /* 4 */ - int (*tk_TranslateWinEvent) (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT * result); /* 5 */ -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void (*tk_MacOSXSetEmbedHandler) (Tk_MacOSXEmbedRegisterWinProc * registerWinProcPtr, Tk_MacOSXEmbedGetGrafPortProc * getPortProcPtr, Tk_MacOSXEmbedMakeContainerExistProc * containerExistProcPtr, Tk_MacOSXEmbedGetClipProc * getClipProc, Tk_MacOSXEmbedGetOffsetInParentProc * getOffsetProc); /* 0 */ - void (*tk_MacOSXTurnOffMenus) (void); /* 1 */ - void (*tk_MacOSXTkOwnsCursor) (int tkOwnsIt); /* 2 */ - void (*tkMacOSXInitMenus) (Tcl_Interp * interp); /* 3 */ - void (*tkMacOSXInitAppleEvents) (Tcl_Interp * interp); /* 4 */ - void (*tkGenWMConfigureEvent) (Tk_Window tkwin, int x, int y, int width, int height, int flags); /* 5 */ - void (*tkMacOSXInvalClipRgns) (Tk_Window tkwin); /* 6 */ - GWorldPtr (*tkMacOSXGetDrawablePort) (Drawable drawable); /* 7 */ - ControlRef (*tkMacOSXGetRootControl) (Drawable drawable); /* 8 */ - void (*tk_MacOSXSetupTkNotifier) (void); /* 9 */ - int (*tk_MacOSXIsAppInFront) (void); /* 10 */ -#endif /* AQUA */ -} TkPlatStubs; - -#ifdef __cplusplus -extern "C" { -#endif -extern TkPlatStubs *tkPlatStubsPtr; -#ifdef __cplusplus -} -#endif - -#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) - -/* - * Inline function declarations: - */ - -#ifdef __WIN32__ /* WIN */ -#ifndef Tk_AttachHWND -#define Tk_AttachHWND \ - (tkPlatStubsPtr->tk_AttachHWND) /* 0 */ -#endif -#ifndef Tk_GetHINSTANCE -#define Tk_GetHINSTANCE \ - (tkPlatStubsPtr->tk_GetHINSTANCE) /* 1 */ -#endif -#ifndef Tk_GetHWND -#define Tk_GetHWND \ - (tkPlatStubsPtr->tk_GetHWND) /* 2 */ -#endif -#ifndef Tk_HWNDToWindow -#define Tk_HWNDToWindow \ - (tkPlatStubsPtr->tk_HWNDToWindow) /* 3 */ -#endif -#ifndef Tk_PointerEvent -#define Tk_PointerEvent \ - (tkPlatStubsPtr->tk_PointerEvent) /* 4 */ -#endif -#ifndef Tk_TranslateWinEvent -#define Tk_TranslateWinEvent \ - (tkPlatStubsPtr->tk_TranslateWinEvent) /* 5 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef Tk_MacOSXSetEmbedHandler -#define Tk_MacOSXSetEmbedHandler \ - (tkPlatStubsPtr->tk_MacOSXSetEmbedHandler) /* 0 */ -#endif -#ifndef Tk_MacOSXTurnOffMenus -#define Tk_MacOSXTurnOffMenus \ - (tkPlatStubsPtr->tk_MacOSXTurnOffMenus) /* 1 */ -#endif -#ifndef Tk_MacOSXTkOwnsCursor -#define Tk_MacOSXTkOwnsCursor \ - (tkPlatStubsPtr->tk_MacOSXTkOwnsCursor) /* 2 */ -#endif -#ifndef TkMacOSXInitMenus -#define TkMacOSXInitMenus \ - (tkPlatStubsPtr->tkMacOSXInitMenus) /* 3 */ -#endif -#ifndef TkMacOSXInitAppleEvents -#define TkMacOSXInitAppleEvents \ - (tkPlatStubsPtr->tkMacOSXInitAppleEvents) /* 4 */ -#endif -#ifndef TkGenWMConfigureEvent -#define TkGenWMConfigureEvent \ - (tkPlatStubsPtr->tkGenWMConfigureEvent) /* 5 */ -#endif -#ifndef TkMacOSXInvalClipRgns -#define TkMacOSXInvalClipRgns \ - (tkPlatStubsPtr->tkMacOSXInvalClipRgns) /* 6 */ -#endif -#ifndef TkMacOSXGetDrawablePort -#define TkMacOSXGetDrawablePort \ - (tkPlatStubsPtr->tkMacOSXGetDrawablePort) /* 7 */ -#endif -#ifndef TkMacOSXGetRootControl -#define TkMacOSXGetRootControl \ - (tkPlatStubsPtr->tkMacOSXGetRootControl) /* 8 */ -#endif -#ifndef Tk_MacOSXSetupTkNotifier -#define Tk_MacOSXSetupTkNotifier \ - (tkPlatStubsPtr->tk_MacOSXSetupTkNotifier) /* 9 */ -#endif -#ifndef Tk_MacOSXIsAppInFront -#define Tk_MacOSXIsAppInFront \ - (tkPlatStubsPtr->tk_MacOSXIsAppInFront) /* 10 */ -#endif -#endif /* AQUA */ - -#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */ - -/* !END!: Do not edit above this line. */ - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKPLATDECLS */ diff --git a/src/other/togl/include/tcltk/tk8.5/tkPort.h b/src/other/togl/include/tcltk/tk8.5/tkPort.h deleted file mode 100644 index 15c53be3efd..00000000000 --- a/src/other/togl/include/tcltk/tk8.5/tkPort.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * tkPort.h -- - * - * This header file handles porting issues that occur because of - * differences between systems. It reads in platform specific - * portability files. - * - * Copyright (c) 1995 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKPORT -#define _TKPORT - -#ifndef _TK -#include "tk.h" -#endif -#ifndef _TCL -#include "tcl.h" -#endif - -#if defined(__WIN32__) || defined(_WIN32) -# include "tkWinPort.h" -#else -# if defined(MAC_OSX_TK) -# include "tkMacOSXPort.h" -# else -# include "tkUnixPort.h" -# endif -#endif - -#endif /* _TKPORT */ diff --git a/src/other/togl/include/tcltk/tk8.5/tkUnixDefault.h b/src/other/togl/include/tcltk/tk8.5/tkUnixDefault.h deleted file mode 100644 index fabcd0d0ed9..00000000000 --- a/src/other/togl/include/tcltk/tk8.5/tkUnixDefault.h +++ /dev/null @@ -1,526 +0,0 @@ -/* - * tkUnixDefault.h -- - * - * This file defines the defaults for all options for all of - * the Tk widgets. - * - * Copyright (c) 1991-1994 The Regents of the University of California. - * Copyright (c) 1994-1997 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKUNIXDEFAULT -#define _TKUNIXDEFAULT - -/* - * The definitions below provide symbolic names for the default colors. - * NORMAL_BG - Normal background color. - * ACTIVE_BG - Background color when widget is active. - * SELECT_BG - Background color for selected text. - * TROUGH - Background color for troughs in scales and scrollbars. - * INDICATOR - Color for indicator when button is selected. - * DISABLED - Foreground color when widget is disabled. - */ - -#define BLACK "#000000" -#define WHITE "#ffffff" - -#define NORMAL_BG "#d9d9d9" -#define ACTIVE_BG "#ececec" -#define SELECT_BG "#c3c3c3" -#define TROUGH "#b3b3b3" -#define CHECK_INDICATOR WHITE -#define MENU_INDICATOR BLACK -#define DISABLED "#a3a3a3" - -/* - * Defaults for labels, buttons, checkbuttons, and radiobuttons: - */ - -#define DEF_BUTTON_ANCHOR "center" -#define DEF_BUTTON_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_BUTTON_ACTIVE_BG_MONO BLACK -#define DEF_BUTTON_ACTIVE_FG_COLOR BLACK -#define DEF_CHKRAD_ACTIVE_FG_COLOR DEF_BUTTON_ACTIVE_FG_COLOR -#define DEF_BUTTON_ACTIVE_FG_MONO WHITE -#define DEF_BUTTON_BG_COLOR NORMAL_BG -#define DEF_BUTTON_BG_MONO WHITE -#define DEF_BUTTON_BITMAP "" -#define DEF_BUTTON_BORDER_WIDTH "1" -#define DEF_BUTTON_CURSOR "" -#define DEF_BUTTON_COMPOUND "none" -#define DEF_BUTTON_COMMAND "" -#define DEF_BUTTON_DEFAULT "disabled" -#define DEF_BUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_BUTTON_DISABLED_FG_MONO "" -#define DEF_BUTTON_FG BLACK -#define DEF_CHKRAD_FG DEF_BUTTON_FG -#define DEF_BUTTON_FONT "TkDefaultFont" -#define DEF_BUTTON_HEIGHT "0" -#define DEF_BUTTON_HIGHLIGHT_BG_COLOR DEF_BUTTON_BG_COLOR -#define DEF_BUTTON_HIGHLIGHT_BG_MONO DEF_BUTTON_BG_MONO -#define DEF_BUTTON_HIGHLIGHT BLACK -#define DEF_LABEL_HIGHLIGHT_WIDTH "0" -#define DEF_BUTTON_HIGHLIGHT_WIDTH "1" -#define DEF_BUTTON_IMAGE (char *) NULL -#define DEF_BUTTON_INDICATOR "1" -#define DEF_BUTTON_JUSTIFY "center" -#define DEF_BUTTON_OFF_VALUE "0" -#define DEF_BUTTON_ON_VALUE "1" -#define DEF_BUTTON_TRISTATE_VALUE "" -#define DEF_BUTTON_OVER_RELIEF "" -#define DEF_BUTTON_PADX "3m" -#define DEF_LABCHKRAD_PADX "1" -#define DEF_BUTTON_PADY "1m" -#define DEF_LABCHKRAD_PADY "1" -#define DEF_BUTTON_RELIEF "raised" -#define DEF_LABCHKRAD_RELIEF "flat" -#define DEF_BUTTON_REPEAT_DELAY "0" -#define DEF_BUTTON_REPEAT_INTERVAL "0" -#define DEF_BUTTON_SELECT_COLOR CHECK_INDICATOR -#define DEF_BUTTON_SELECT_MONO BLACK -#define DEF_BUTTON_SELECT_IMAGE (char *) NULL -#define DEF_BUTTON_STATE "normal" -#define DEF_LABEL_TAKE_FOCUS "0" -#define DEF_BUTTON_TAKE_FOCUS (char *) NULL -#define DEF_BUTTON_TEXT "" -#define DEF_BUTTON_TEXT_VARIABLE "" -#define DEF_BUTTON_UNDERLINE "-1" -#define DEF_BUTTON_VALUE "" -#define DEF_BUTTON_WIDTH "0" -#define DEF_BUTTON_WRAP_LENGTH "0" -#define DEF_RADIOBUTTON_VARIABLE "selectedButton" -#define DEF_CHECKBUTTON_VARIABLE "" - -/* - * Defaults for canvases: - */ - -#define DEF_CANVAS_BG_COLOR NORMAL_BG -#define DEF_CANVAS_BG_MONO WHITE -#define DEF_CANVAS_BORDER_WIDTH "0" -#define DEF_CANVAS_CLOSE_ENOUGH "1" -#define DEF_CANVAS_CONFINE "1" -#define DEF_CANVAS_CURSOR "" -#define DEF_CANVAS_HEIGHT "7c" -#define DEF_CANVAS_HIGHLIGHT_BG NORMAL_BG -#define DEF_CANVAS_HIGHLIGHT BLACK -#define DEF_CANVAS_HIGHLIGHT_WIDTH "1" -#define DEF_CANVAS_INSERT_BG BLACK -#define DEF_CANVAS_INSERT_BD_COLOR "0" -#define DEF_CANVAS_INSERT_BD_MONO "0" -#define DEF_CANVAS_INSERT_OFF_TIME "300" -#define DEF_CANVAS_INSERT_ON_TIME "600" -#define DEF_CANVAS_INSERT_WIDTH "2" -#define DEF_CANVAS_RELIEF "flat" -#define DEF_CANVAS_SCROLL_REGION "" -#define DEF_CANVAS_SELECT_COLOR SELECT_BG -#define DEF_CANVAS_SELECT_MONO BLACK -#define DEF_CANVAS_SELECT_BD_COLOR "1" -#define DEF_CANVAS_SELECT_BD_MONO "0" -#define DEF_CANVAS_SELECT_FG_COLOR BLACK -#define DEF_CANVAS_SELECT_FG_MONO WHITE -#define DEF_CANVAS_TAKE_FOCUS (char *) NULL -#define DEF_CANVAS_WIDTH "10c" -#define DEF_CANVAS_X_SCROLL_CMD "" -#define DEF_CANVAS_X_SCROLL_INCREMENT "0" -#define DEF_CANVAS_Y_SCROLL_CMD "" -#define DEF_CANVAS_Y_SCROLL_INCREMENT "0" - -/* - * Defaults for entries: - */ - -#define DEF_ENTRY_BG_COLOR WHITE -#define DEF_ENTRY_BG_MONO WHITE -#define DEF_ENTRY_BORDER_WIDTH "1" -#define DEF_ENTRY_CURSOR "xterm" -#define DEF_ENTRY_DISABLED_BG_COLOR NORMAL_BG -#define DEF_ENTRY_DISABLED_BG_MONO WHITE -#define DEF_ENTRY_DISABLED_FG DISABLED -#define DEF_ENTRY_EXPORT_SELECTION "1" -#define DEF_ENTRY_FONT "TkTextFont" -#define DEF_ENTRY_FG BLACK -#define DEF_ENTRY_HIGHLIGHT_BG NORMAL_BG -#define DEF_ENTRY_HIGHLIGHT BLACK -#define DEF_ENTRY_HIGHLIGHT_WIDTH "1" -#define DEF_ENTRY_INSERT_BG BLACK -#define DEF_ENTRY_INSERT_BD_COLOR "0" -#define DEF_ENTRY_INSERT_BD_MONO "0" -#define DEF_ENTRY_INSERT_OFF_TIME "300" -#define DEF_ENTRY_INSERT_ON_TIME "600" -#define DEF_ENTRY_INSERT_WIDTH "2" -#define DEF_ENTRY_JUSTIFY "left" -#define DEF_ENTRY_READONLY_BG_COLOR NORMAL_BG -#define DEF_ENTRY_READONLY_BG_MONO WHITE -#define DEF_ENTRY_RELIEF "sunken" -#define DEF_ENTRY_SCROLL_COMMAND "" -#define DEF_ENTRY_SELECT_COLOR SELECT_BG -#define DEF_ENTRY_SELECT_MONO BLACK -#define DEF_ENTRY_SELECT_BD_COLOR "0" -#define DEF_ENTRY_SELECT_BD_MONO "0" -#define DEF_ENTRY_SELECT_FG_COLOR BLACK -#define DEF_ENTRY_SELECT_FG_MONO WHITE -#define DEF_ENTRY_SHOW (char *) NULL -#define DEF_ENTRY_STATE "normal" -#define DEF_ENTRY_TAKE_FOCUS (char *) NULL -#define DEF_ENTRY_TEXT_VARIABLE "" -#define DEF_ENTRY_WIDTH "20" - -/* - * Defaults for frames: - */ - -#define DEF_FRAME_BG_COLOR NORMAL_BG -#define DEF_FRAME_BG_MONO WHITE -#define DEF_FRAME_BORDER_WIDTH "0" -#define DEF_FRAME_CLASS "Frame" -#define DEF_FRAME_COLORMAP "" -#define DEF_FRAME_CONTAINER "0" -#define DEF_FRAME_CURSOR "" -#define DEF_FRAME_HEIGHT "0" -#define DEF_FRAME_HIGHLIGHT_BG NORMAL_BG -#define DEF_FRAME_HIGHLIGHT BLACK -#define DEF_FRAME_HIGHLIGHT_WIDTH "0" -#define DEF_FRAME_LABEL "" -#define DEF_FRAME_PADX "0" -#define DEF_FRAME_PADY "0" -#define DEF_FRAME_RELIEF "flat" -#define DEF_FRAME_TAKE_FOCUS "0" -#define DEF_FRAME_VISUAL "" -#define DEF_FRAME_WIDTH "0" - -/* - * Defaults for labelframes: - */ - -#define DEF_LABELFRAME_BORDER_WIDTH "2" -#define DEF_LABELFRAME_CLASS "Labelframe" -#define DEF_LABELFRAME_RELIEF "groove" -#define DEF_LABELFRAME_FG BLACK -#define DEF_LABELFRAME_FONT "TkDefaultFont" -#define DEF_LABELFRAME_TEXT "" -#define DEF_LABELFRAME_LABELANCHOR "nw" - -/* - * Defaults for listboxes: - */ - -#define DEF_LISTBOX_ACTIVE_STYLE "dotbox" -#define DEF_LISTBOX_BG_COLOR WHITE -#define DEF_LISTBOX_BG_MONO WHITE -#define DEF_LISTBOX_BORDER_WIDTH "1" -#define DEF_LISTBOX_CURSOR "" -#define DEF_LISTBOX_DISABLED_FG DISABLED -#define DEF_LISTBOX_EXPORT_SELECTION "1" -#define DEF_LISTBOX_FONT "TkDefaultFont" -#define DEF_LISTBOX_FG BLACK -#define DEF_LISTBOX_HEIGHT "10" -#define DEF_LISTBOX_HIGHLIGHT_BG NORMAL_BG -#define DEF_LISTBOX_HIGHLIGHT BLACK -#define DEF_LISTBOX_HIGHLIGHT_WIDTH "1" -#define DEF_LISTBOX_RELIEF "sunken" -#define DEF_LISTBOX_SCROLL_COMMAND "" -#define DEF_LISTBOX_LIST_VARIABLE "" -#define DEF_LISTBOX_SELECT_COLOR SELECT_BG -#define DEF_LISTBOX_SELECT_MONO BLACK -#define DEF_LISTBOX_SELECT_BD "0" -#define DEF_LISTBOX_SELECT_FG_COLOR BLACK -#define DEF_LISTBOX_SELECT_FG_MONO WHITE -#define DEF_LISTBOX_SELECT_MODE "browse" -#define DEF_LISTBOX_SET_GRID "0" -#define DEF_LISTBOX_STATE "normal" -#define DEF_LISTBOX_TAKE_FOCUS (char *) NULL -#define DEF_LISTBOX_WIDTH "20" - -/* - * Defaults for individual entries of menus: - */ - -#define DEF_MENU_ENTRY_ACTIVE_BG (char *) NULL -#define DEF_MENU_ENTRY_ACTIVE_FG (char *) NULL -#define DEF_MENU_ENTRY_ACCELERATOR (char *) NULL -#define DEF_MENU_ENTRY_BG (char *) NULL -#define DEF_MENU_ENTRY_BITMAP None -#define DEF_MENU_ENTRY_COLUMN_BREAK "0" -#define DEF_MENU_ENTRY_COMMAND (char *) NULL -#define DEF_MENU_ENTRY_COMPOUND "none" -#define DEF_MENU_ENTRY_FG (char *) NULL -#define DEF_MENU_ENTRY_FONT (char *) NULL -#define DEF_MENU_ENTRY_HIDE_MARGIN "0" -#define DEF_MENU_ENTRY_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_INDICATOR "1" -#define DEF_MENU_ENTRY_LABEL (char *) NULL -#define DEF_MENU_ENTRY_MENU (char *) NULL -#define DEF_MENU_ENTRY_OFF_VALUE "0" -#define DEF_MENU_ENTRY_ON_VALUE "1" -#define DEF_MENU_ENTRY_SELECT_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_STATE "normal" -#define DEF_MENU_ENTRY_VALUE (char *) NULL -#define DEF_MENU_ENTRY_CHECK_VARIABLE (char *) NULL -#define DEF_MENU_ENTRY_RADIO_VARIABLE "selectedButton" -#define DEF_MENU_ENTRY_SELECT (char *) NULL -#define DEF_MENU_ENTRY_UNDERLINE "-1" - -/* - * Defaults for menus overall: - */ - -#define DEF_MENU_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_MENU_ACTIVE_BG_MONO BLACK -#define DEF_MENU_ACTIVE_BORDER_WIDTH "1" -#define DEF_MENU_ACTIVE_FG_COLOR BLACK -#define DEF_MENU_ACTIVE_FG_MONO WHITE -#define DEF_MENU_BG_COLOR NORMAL_BG -#define DEF_MENU_BG_MONO WHITE -#define DEF_MENU_BORDER_WIDTH "1" -#define DEF_MENU_CURSOR "arrow" -#define DEF_MENU_DISABLED_FG_COLOR DISABLED -#define DEF_MENU_DISABLED_FG_MONO "" -#define DEF_MENU_FONT "TkMenuFont" -#define DEF_MENU_FG BLACK -#define DEF_MENU_POST_COMMAND "" -#define DEF_MENU_RELIEF "raised" -#define DEF_MENU_SELECT_COLOR MENU_INDICATOR -#define DEF_MENU_SELECT_MONO BLACK -#define DEF_MENU_TAKE_FOCUS "0" -#define DEF_MENU_TEAROFF "1" -#define DEF_MENU_TEAROFF_CMD (char *) NULL -#define DEF_MENU_TITLE "" -#define DEF_MENU_TYPE "normal" - -/* - * Defaults for menubuttons: - */ - -#define DEF_MENUBUTTON_ANCHOR "center" -#define DEF_MENUBUTTON_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_MENUBUTTON_ACTIVE_BG_MONO BLACK -#define DEF_MENUBUTTON_ACTIVE_FG_COLOR BLACK -#define DEF_MENUBUTTON_ACTIVE_FG_MONO WHITE -#define DEF_MENUBUTTON_BG_COLOR NORMAL_BG -#define DEF_MENUBUTTON_BG_MONO WHITE -#define DEF_MENUBUTTON_BITMAP "" -#define DEF_MENUBUTTON_BORDER_WIDTH "1" -#define DEF_MENUBUTTON_CURSOR "" -#define DEF_MENUBUTTON_DIRECTION "below" -#define DEF_MENUBUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_MENUBUTTON_DISABLED_FG_MONO "" -#define DEF_MENUBUTTON_FONT "TkDefaultFont" -#define DEF_MENUBUTTON_FG BLACK -#define DEF_MENUBUTTON_HEIGHT "0" -#define DEF_MENUBUTTON_HIGHLIGHT_BG_COLOR DEF_MENUBUTTON_BG_COLOR -#define DEF_MENUBUTTON_HIGHLIGHT_BG_MONO DEF_MENUBUTTON_BG_MONO -#define DEF_MENUBUTTON_HIGHLIGHT BLACK -#define DEF_MENUBUTTON_HIGHLIGHT_WIDTH "0" -#define DEF_MENUBUTTON_IMAGE (char *) NULL -#define DEF_MENUBUTTON_INDICATOR "0" -#define DEF_MENUBUTTON_JUSTIFY "center" -#define DEF_MENUBUTTON_MENU "" -#define DEF_MENUBUTTON_PADX "4p" -#define DEF_MENUBUTTON_PADY "3p" -#define DEF_MENUBUTTON_RELIEF "flat" -#define DEF_MENUBUTTON_STATE "normal" -#define DEF_MENUBUTTON_TAKE_FOCUS "0" -#define DEF_MENUBUTTON_TEXT "" -#define DEF_MENUBUTTON_TEXT_VARIABLE "" -#define DEF_MENUBUTTON_UNDERLINE "-1" -#define DEF_MENUBUTTON_WIDTH "0" -#define DEF_MENUBUTTON_WRAP_LENGTH "0" - -/* - * Defaults for messages: - */ - -#define DEF_MESSAGE_ANCHOR "center" -#define DEF_MESSAGE_ASPECT "150" -#define DEF_MESSAGE_BG_COLOR NORMAL_BG -#define DEF_MESSAGE_BG_MONO WHITE -#define DEF_MESSAGE_BORDER_WIDTH "1" -#define DEF_MESSAGE_CURSOR "" -#define DEF_MESSAGE_FG BLACK -#define DEF_MESSAGE_FONT "TkDefaultFont" -#define DEF_MESSAGE_HIGHLIGHT_BG NORMAL_BG -#define DEF_MESSAGE_HIGHLIGHT BLACK -#define DEF_MESSAGE_HIGHLIGHT_WIDTH "0" -#define DEF_MESSAGE_JUSTIFY "left" -#define DEF_MESSAGE_PADX "-1" -#define DEF_MESSAGE_PADY "-1" -#define DEF_MESSAGE_RELIEF "flat" -#define DEF_MESSAGE_TAKE_FOCUS "0" -#define DEF_MESSAGE_TEXT "" -#define DEF_MESSAGE_TEXT_VARIABLE "" -#define DEF_MESSAGE_WIDTH "0" - -/* - * Defaults for panedwindows - */ - -#define DEF_PANEDWINDOW_BG_COLOR NORMAL_BG -#define DEF_PANEDWINDOW_BG_MONO WHITE -#define DEF_PANEDWINDOW_BORDERWIDTH "1" -#define DEF_PANEDWINDOW_CURSOR "" -#define DEF_PANEDWINDOW_HANDLEPAD "8" -#define DEF_PANEDWINDOW_HANDLESIZE "8" -#define DEF_PANEDWINDOW_HEIGHT "" -#define DEF_PANEDWINDOW_OPAQUERESIZE "1" -#define DEF_PANEDWINDOW_ORIENT "horizontal" -#define DEF_PANEDWINDOW_RELIEF "flat" -#define DEF_PANEDWINDOW_SASHCURSOR "" -#define DEF_PANEDWINDOW_SASHPAD "0" -#define DEF_PANEDWINDOW_SASHRELIEF "flat" -#define DEF_PANEDWINDOW_SASHWIDTH "3" -#define DEF_PANEDWINDOW_SHOWHANDLE "0" -#define DEF_PANEDWINDOW_WIDTH "" - -/* - * Defaults for panedwindow panes - */ - -#define DEF_PANEDWINDOW_PANE_AFTER "" -#define DEF_PANEDWINDOW_PANE_BEFORE "" -#define DEF_PANEDWINDOW_PANE_HEIGHT "" -#define DEF_PANEDWINDOW_PANE_MINSIZE "0" -#define DEF_PANEDWINDOW_PANE_PADX "0" -#define DEF_PANEDWINDOW_PANE_PADY "0" -#define DEF_PANEDWINDOW_PANE_STICKY "nsew" -#define DEF_PANEDWINDOW_PANE_WIDTH "" -#define DEF_PANEDWINDOW_PANE_HIDE "0" -#define DEF_PANEDWINDOW_PANE_STRETCH "last" - -/* - * Defaults for scales: - */ - -#define DEF_SCALE_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCALE_ACTIVE_BG_MONO BLACK -#define DEF_SCALE_BG_COLOR NORMAL_BG -#define DEF_SCALE_BG_MONO WHITE -#define DEF_SCALE_BIG_INCREMENT "0" -#define DEF_SCALE_BORDER_WIDTH "1" -#define DEF_SCALE_COMMAND "" -#define DEF_SCALE_CURSOR "" -#define DEF_SCALE_DIGITS "0" -#define DEF_SCALE_FONT "TkDefaultFont" -#define DEF_SCALE_FG_COLOR BLACK -#define DEF_SCALE_FG_MONO BLACK -#define DEF_SCALE_FROM "0" -#define DEF_SCALE_HIGHLIGHT_BG_COLOR DEF_SCALE_BG_COLOR -#define DEF_SCALE_HIGHLIGHT_BG_MONO DEF_SCALE_BG_MONO -#define DEF_SCALE_HIGHLIGHT BLACK -#define DEF_SCALE_HIGHLIGHT_WIDTH "1" -#define DEF_SCALE_LABEL "" -#define DEF_SCALE_LENGTH "100" -#define DEF_SCALE_ORIENT "vertical" -#define DEF_SCALE_RELIEF "flat" -#define DEF_SCALE_REPEAT_DELAY "300" -#define DEF_SCALE_REPEAT_INTERVAL "100" -#define DEF_SCALE_RESOLUTION "1" -#define DEF_SCALE_TROUGH_COLOR TROUGH -#define DEF_SCALE_TROUGH_MONO WHITE -#define DEF_SCALE_SHOW_VALUE "1" -#define DEF_SCALE_SLIDER_LENGTH "30" -#define DEF_SCALE_SLIDER_RELIEF "raised" -#define DEF_SCALE_STATE "normal" -#define DEF_SCALE_TAKE_FOCUS (char *) NULL -#define DEF_SCALE_TICK_INTERVAL "0" -#define DEF_SCALE_TO "100" -#define DEF_SCALE_VARIABLE "" -#define DEF_SCALE_WIDTH "15" - -/* - * Defaults for scrollbars: - */ - -#define DEF_SCROLLBAR_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCROLLBAR_ACTIVE_BG_MONO BLACK -#define DEF_SCROLLBAR_ACTIVE_RELIEF "raised" -#define DEF_SCROLLBAR_BG_COLOR NORMAL_BG -#define DEF_SCROLLBAR_BG_MONO WHITE -#define DEF_SCROLLBAR_BORDER_WIDTH "1" -#define DEF_SCROLLBAR_COMMAND "" -#define DEF_SCROLLBAR_CURSOR "" -#define DEF_SCROLLBAR_EL_BORDER_WIDTH "-1" -#define DEF_SCROLLBAR_HIGHLIGHT_BG NORMAL_BG -#define DEF_SCROLLBAR_HIGHLIGHT BLACK -#define DEF_SCROLLBAR_HIGHLIGHT_WIDTH "0" -#define DEF_SCROLLBAR_JUMP "0" -#define DEF_SCROLLBAR_ORIENT "vertical" -#define DEF_SCROLLBAR_RELIEF "sunken" -#define DEF_SCROLLBAR_REPEAT_DELAY "300" -#define DEF_SCROLLBAR_REPEAT_INTERVAL "100" -#define DEF_SCROLLBAR_TAKE_FOCUS (char *) NULL -#define DEF_SCROLLBAR_TROUGH_COLOR TROUGH -#define DEF_SCROLLBAR_TROUGH_MONO WHITE -#define DEF_SCROLLBAR_WIDTH "11" - -/* - * Defaults for texts: - */ - -#define DEF_TEXT_AUTO_SEPARATORS "1" -#define DEF_TEXT_BG_COLOR WHITE -#define DEF_TEXT_BG_MONO WHITE -#define DEF_TEXT_BLOCK_CURSOR "0" -#define DEF_TEXT_BORDER_WIDTH "1" -#define DEF_TEXT_CURSOR "xterm" -#define DEF_TEXT_FG BLACK -#define DEF_TEXT_EXPORT_SELECTION "1" -#define DEF_TEXT_FONT "TkFixedFont" -#define DEF_TEXT_HEIGHT "24" -#define DEF_TEXT_HIGHLIGHT_BG NORMAL_BG -#define DEF_TEXT_HIGHLIGHT BLACK -#define DEF_TEXT_HIGHLIGHT_WIDTH "1" -#define DEF_TEXT_INSERT_BG BLACK -#define DEF_TEXT_INSERT_BD_COLOR "0" -#define DEF_TEXT_INSERT_BD_MONO "0" -#define DEF_TEXT_INSERT_OFF_TIME "300" -#define DEF_TEXT_INSERT_ON_TIME "600" -#define DEF_TEXT_INSERT_WIDTH "2" -#define DEF_TEXT_MAX_UNDO "0" -#define DEF_TEXT_PADX "1" -#define DEF_TEXT_PADY "1" -#define DEF_TEXT_RELIEF "sunken" -#define DEF_TEXT_INACTIVE_SELECT_COLOR SELECT_BG -#define DEF_TEXT_SELECT_COLOR SELECT_BG -#define DEF_TEXT_SELECT_MONO BLACK -#define DEF_TEXT_SELECT_BD_COLOR "0" -#define DEF_TEXT_SELECT_BD_MONO "0" -#define DEF_TEXT_SELECT_FG_COLOR BLACK -#define DEF_TEXT_SELECT_FG_MONO WHITE -#define DEF_TEXT_SELECT_RELIEF "raised" -#define DEF_TEXT_SET_GRID "0" -#define DEF_TEXT_SPACING1 "0" -#define DEF_TEXT_SPACING2 "0" -#define DEF_TEXT_SPACING3 "0" -#define DEF_TEXT_STATE "normal" -#define DEF_TEXT_TABS "" -#define DEF_TEXT_TABSTYLE "tabular" -#define DEF_TEXT_TAKE_FOCUS (char *) NULL -#define DEF_TEXT_UNDO "0" -#define DEF_TEXT_WIDTH "80" -#define DEF_TEXT_WRAP "char" -#define DEF_TEXT_XSCROLL_COMMAND "" -#define DEF_TEXT_YSCROLL_COMMAND "" - -/* - * Defaults for canvas text: - */ - -#define DEF_CANVTEXT_FONT "TkDefaultFont" - -/* - * Defaults for toplevels (most of the defaults for frames also apply - * to toplevels): - */ - -#define DEF_TOPLEVEL_CLASS "Toplevel" -#define DEF_TOPLEVEL_MENU "" -#define DEF_TOPLEVEL_SCREEN "" -#define DEF_TOPLEVEL_USE "" - -#endif /* _TKUNIXDEFAULT */ diff --git a/src/other/togl/include/tcltk/tk8.5/tkUnixPort.h b/src/other/togl/include/tcltk/tk8.5/tkUnixPort.h deleted file mode 100644 index ddf5d0574fd..00000000000 --- a/src/other/togl/include/tcltk/tk8.5/tkUnixPort.h +++ /dev/null @@ -1,218 +0,0 @@ -/* - * tkUnixPort.h -- - * - * This file is included by all of the Tk C files. It contains - * information that may be configuration-dependent, such as - * #includes for system include files and a few other things. - * - * Copyright (c) 1991-1993 The Regents of the University of California. - * Copyright (c) 1994-1996 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _UNIXPORT -#define _UNIXPORT - -#define __UNIX__ 1 - -/* - * Macro to use instead of "void" for arguments that must have - * type "void *" in ANSI C; maps them to type "char *" in - * non-ANSI systems. This macro may be used in some of the include - * files below, which is why it is defined here. - */ - -#ifndef VOID -# ifdef __STDC__ -# define VOID void -# else -# define VOID char -# endif -#endif - -#include -#include -#include -#ifndef NO_LIMITS_H -# include -#else -# include "../compat/limits.h" -#endif -#include -#include -#ifdef NO_STDLIB_H -# include "../compat/stdlib.h" -#else -# include -#endif -#include -#include -#include -#ifdef HAVE_SYS_SELECT_H -# include -#endif -#include -#ifndef _TCL -# include -#endif -#if TIME_WITH_SYS_TIME -# include -# include -#else -# if HAVE_SYS_TIME_H -# include -# else -# include -# endif -#endif -#if HAVE_INTTYPES_H -# include -#endif -#ifndef NO_UNISTD_H -# include -#else -# include "../compat/unistd.h" -#endif -#include -#include -#include -#include -#include -#include -#include - -/* - * The following macro defines the type of the mask arguments to - * select: - */ - -#ifndef NO_FD_SET -# define SELECT_MASK fd_set -#else -# ifndef _AIX - typedef long fd_mask; -# endif -# if defined(_IBMR2) -# define SELECT_MASK void -# else -# define SELECT_MASK int -# endif -#endif - -/* - * The following macro defines the number of fd_masks in an fd_set: - */ - -#ifndef FD_SETSIZE -# ifdef OPEN_MAX -# define FD_SETSIZE OPEN_MAX -# else -# define FD_SETSIZE 256 -# endif -#endif -#if !defined(howmany) -# define howmany(x, y) (((x)+((y)-1))/(y)) -#endif -#ifndef NFDBITS -# define NFDBITS NBBY*sizeof(fd_mask) -#endif -#define MASK_SIZE howmany(FD_SETSIZE, NFDBITS) - -/* - * Define "NBBY" (number of bits per byte) if it's not already defined. - */ - -#ifndef NBBY -# define NBBY 8 -#endif - -/* - * These macros are just wrappers for the equivalent X Region calls. - */ - -#define TkClipBox(rgn, rect) XClipBox((Region) rgn, rect) -#define TkCreateRegion() (TkRegion) XCreateRegion() -#define TkDestroyRegion(rgn) XDestroyRegion((Region) rgn) -#define TkIntersectRegion(a, b, r) XIntersectRegion((Region) a, \ - (Region) b, (Region) r) -#define TkRectInRegion(r, x, y, w, h) XRectInRegion((Region) r, x, y, w, h) -#define TkSetRegion(d, gc, rgn) XSetRegion(d, gc, (Region) rgn) -#define TkSubtractRegion(a, b, r) XSubtractRegion((Region) a, \ - (Region) b, (Region) r) -#define TkUnionRectWithRegion(rect, src, ret) XUnionRectWithRegion(rect, \ - (Region) src, (Region) ret) - -/* - * The TkPutImage macro strips off the color table information, which isn't - * needed for X. - */ - -#define TkPutImage(colors, ncolors, display, pixels, gc, image, srcx, srcy, destx, desty, width, height) \ - XPutImage(display, pixels, gc, image, srcx, srcy, destx, \ - desty, width, height); - -/* - * Supply macros for seek offsets, if they're not already provided by - * an include file. - */ - -#ifndef SEEK_SET -# define SEEK_SET 0 -#endif - -#ifndef SEEK_CUR -# define SEEK_CUR 1 -#endif - -#ifndef SEEK_END -# define SEEK_END 2 -#endif - -/* - * Declarations for various library procedures that may not be declared - * in any other header file. - */ - - -/* - * These functions do nothing under Unix, so we just eliminate calls to them. - */ - -#define TkpButtonSetDefaults(specPtr) {} -#define TkpDestroyButton(butPtr) {} -#define TkSelUpdateClipboard(a,b) {} -#define TkSetPixmapColormap(p,c) {} - -/* - * These calls implement native bitmaps which are not supported under - * UNIX. The macros eliminate the calls. - */ - -#define TkpDefineNativeBitmaps() -#define TkpCreateNativeBitmap(display, source) None -#define TkpGetNativeAppBitmap(display, name, w, h) None - -/* - * This macro stores a representation of the window handle in a string. - * This should perhaps use the real size of an XID. - */ - -#define TkpPrintWindowId(buf,w) \ - sprintf((buf), "%#08lx", (unsigned long) (w)) - -/* - * The following declaration is used to get access to a private Tcl interface - * that is needed for portability reasons. - * - * Disabled for now to determined whether we really still need this. - -#ifndef _TCLINT -#include -#endif - */ - -#endif /* _UNIXPORT */ diff --git a/src/other/togl/include/tcltk/tk8.5/tkWin.h b/src/other/togl/include/tcltk/tk8.5/tkWin.h deleted file mode 100644 index d9169779fd8..00000000000 --- a/src/other/togl/include/tcltk/tk8.5/tkWin.h +++ /dev/null @@ -1,91 +0,0 @@ -/* - * tkWin.h -- - * - * Declarations of public types and interfaces that are only - * available under Windows. - * - * Copyright (c) 1996-1997 by Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKWIN -#define _TKWIN - -/* - * We must specify the lower version we intend to support. In particular - * the SystemParametersInfo API doesn't like to receive structures that - * are larger than it expects which affects the font assignements. - * - * WINVER = 0x0410 means Windows 98 and above - */ - -#ifndef WINVER -#define WINVER 0x0410 -#endif -#ifndef _WIN32_WINDOWS -#define _WIN32_WINDOWS 0x0410 -#endif - -#ifndef _TK -#include -#endif - -#define WIN32_LEAN_AND_MEAN -#include -#undef WIN32_LEAN_AND_MEAN - -#ifdef BUILD_tk -# undef TCL_STORAGE_CLASS -# define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * The following messages are used to communicate between a Tk toplevel - * and its container window. A Tk container may not be able to provide - * service to all of the following requests at the moment. But an embedded - * Tk window will send out these requests to support external Tk container - * application. - */ - -#define TK_CLAIMFOCUS (WM_USER) /* an embedded window requests to focus */ -#define TK_GEOMETRYREQ (WM_USER+1) /* an embedded window requests to change size */ -#define TK_ATTACHWINDOW (WM_USER+2) /* an embedded window requests to attach */ -#define TK_DETACHWINDOW (WM_USER+3) /* an embedded window requests to detach */ -#define TK_MOVEWINDOW (WM_USER+4) /* an embedded window requests to move */ -#define TK_RAISEWINDOW (WM_USER+5) /* an embedded window requests to raise */ -#define TK_ICONIFY (WM_USER+6) /* an embedded window requests to iconify */ -#define TK_DEICONIFY (WM_USER+7) /* an embedded window requests to deiconify */ -#define TK_WITHDRAW (WM_USER+8) /* an embedded window requests to withdraw */ -#define TK_GETFRAMEWID (WM_USER+9) /* an embedded window requests a frame window id */ -#define TK_OVERRIDEREDIRECT (WM_USER+10) /* an embedded window requests to overrideredirect */ -#define TK_SETMENU (WM_USER+11) /* an embedded window requests to setup menu */ -#define TK_STATE (WM_USER+12) /* an embedded window sets/gets state */ -#define TK_INFO (WM_USER+13) /* an embedded window requests a container's info */ - -/* - * The following are sub-messages (wParam) for TK_INFO. An embedded window may - * send a TK_INFO message with one of the sub-messages to query a container - * for verification and availability - */ -#define TK_CONTAINER_VERIFY 0x01 -#define TK_CONTAINER_ISAVAILABLE 0x02 - - -/* - *-------------------------------------------------------------- - * - * Exported procedures defined for the Windows platform only. - * - *-------------------------------------------------------------- - */ - -#include "tkPlatDecls.h" - -# undef TCL_STORAGE_CLASS -# define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKWIN */ diff --git a/src/other/togl/include/tcltk/tk8.5/tkWinDefault.h b/src/other/togl/include/tcltk/tk8.5/tkWinDefault.h deleted file mode 100644 index aba22a951e5..00000000000 --- a/src/other/togl/include/tcltk/tk8.5/tkWinDefault.h +++ /dev/null @@ -1,529 +0,0 @@ -/* - * tkWinDefault.h -- - * - * This file defines the defaults for all options for all of - * the Tk widgets. - * - * Copyright (c) 1995-1997 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKWINDEFAULT -#define _TKWINDEFAULT - -/* - * The definitions below provide symbolic names for the default colors. - * NORMAL_BG - Normal background color. - * ACTIVE_BG - Background color when widget is active. - * SELECT_BG - Background color for selected text. - * TROUGH - Background color for troughs in scales and scrollbars. - * INDICATOR - Color for indicator when button is selected. - * DISABLED - Foreground color when widget is disabled. - */ - -#define BLACK "Black" -#define WHITE "White" - -#define NORMAL_BG "SystemButtonFace" -#define NORMAL_FG "SystemButtonText" -#define ACTIVE_BG NORMAL_BG -#define TEXT_FG "SystemWindowText" -#define SELECT_BG "SystemHighlight" -#define SELECT_FG "SystemHighlightText" -#define TROUGH "SystemScrollbar" -#define INDICATOR "SystemWindow" -#define DISABLED "SystemDisabledText" -#define MENU_BG "SystemMenu" -#define MENU_FG "SystemMenuText" -#define HIGHLIGHT "SystemWindowFrame" - -/* - * Defaults for labels, buttons, checkbuttons, and radiobuttons: - */ - -#define DEF_BUTTON_ANCHOR "center" -#define DEF_BUTTON_ACTIVE_BG_COLOR NORMAL_BG -#define DEF_BUTTON_ACTIVE_BG_MONO BLACK -#define DEF_BUTTON_ACTIVE_FG_COLOR NORMAL_FG -#define DEF_CHKRAD_ACTIVE_FG_COLOR TEXT_FG -#define DEF_BUTTON_ACTIVE_FG_MONO WHITE -#define DEF_BUTTON_BG_COLOR NORMAL_BG -#define DEF_BUTTON_BG_MONO WHITE -#define DEF_BUTTON_BITMAP "" -#define DEF_BUTTON_BORDER_WIDTH "2" -#define DEF_BUTTON_CURSOR "" -#define DEF_BUTTON_COMMAND "" -#define DEF_BUTTON_COMPOUND "none" -#define DEF_BUTTON_DEFAULT "disabled" -#define DEF_BUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_BUTTON_DISABLED_FG_MONO "" -#define DEF_BUTTON_FG NORMAL_FG -#define DEF_CHKRAD_FG TEXT_FG -#define DEF_BUTTON_FONT "TkDefaultFont" -#define DEF_BUTTON_HEIGHT "0" -#define DEF_BUTTON_HIGHLIGHT_BG_COLOR DEF_BUTTON_BG_COLOR -#define DEF_BUTTON_HIGHLIGHT_BG_MONO DEF_BUTTON_BG_MONO -#define DEF_BUTTON_HIGHLIGHT HIGHLIGHT -#define DEF_LABEL_HIGHLIGHT_WIDTH "0" -#define DEF_BUTTON_HIGHLIGHT_WIDTH "1" -#define DEF_BUTTON_IMAGE (char *) NULL -#define DEF_BUTTON_INDICATOR "1" -#define DEF_BUTTON_JUSTIFY "center" -#define DEF_BUTTON_OFF_VALUE "0" -#define DEF_BUTTON_ON_VALUE "1" -#define DEF_BUTTON_OVER_RELIEF "" -#define DEF_BUTTON_PADX "1" -#define DEF_LABCHKRAD_PADX "1" -#define DEF_BUTTON_PADY "1" -#define DEF_LABCHKRAD_PADY "1" -#define DEF_BUTTON_RELIEF "raised" -#define DEF_LABCHKRAD_RELIEF "flat" -#define DEF_BUTTON_REPEAT_DELAY "0" -#define DEF_BUTTON_REPEAT_INTERVAL "0" -#define DEF_BUTTON_SELECT_COLOR INDICATOR -#define DEF_BUTTON_SELECT_MONO BLACK -#define DEF_BUTTON_SELECT_IMAGE (char *) NULL -#define DEF_BUTTON_STATE "normal" -#define DEF_LABEL_TAKE_FOCUS "0" -#define DEF_BUTTON_TAKE_FOCUS (char *) NULL -#define DEF_BUTTON_TEXT "" -#define DEF_BUTTON_TEXT_VARIABLE "" -#define DEF_BUTTON_TRISTATE_VALUE "" -#define DEF_BUTTON_UNDERLINE "-1" -#define DEF_BUTTON_VALUE "" -#define DEF_BUTTON_WIDTH "0" -#define DEF_BUTTON_WRAP_LENGTH "0" -#define DEF_RADIOBUTTON_VARIABLE "selectedButton" -#define DEF_CHECKBUTTON_VARIABLE "" - -/* - * Defaults for canvases: - */ - -#define DEF_CANVAS_BG_COLOR NORMAL_BG -#define DEF_CANVAS_BG_MONO WHITE -#define DEF_CANVAS_BORDER_WIDTH "0" -#define DEF_CANVAS_CLOSE_ENOUGH "1" -#define DEF_CANVAS_CONFINE "1" -#define DEF_CANVAS_CURSOR "" -#define DEF_CANVAS_HEIGHT "7c" -#define DEF_CANVAS_HIGHLIGHT_BG NORMAL_BG -#define DEF_CANVAS_HIGHLIGHT HIGHLIGHT -#define DEF_CANVAS_HIGHLIGHT_WIDTH "2" -#define DEF_CANVAS_INSERT_BG NORMAL_FG -#define DEF_CANVAS_INSERT_BD_COLOR "0" -#define DEF_CANVAS_INSERT_BD_MONO "0" -#define DEF_CANVAS_INSERT_OFF_TIME "300" -#define DEF_CANVAS_INSERT_ON_TIME "600" -#define DEF_CANVAS_INSERT_WIDTH "2" -#define DEF_CANVAS_RELIEF "flat" -#define DEF_CANVAS_SCROLL_REGION "" -#define DEF_CANVAS_SELECT_COLOR SELECT_BG -#define DEF_CANVAS_SELECT_MONO BLACK -#define DEF_CANVAS_SELECT_BD_COLOR "1" -#define DEF_CANVAS_SELECT_BD_MONO "0" -#define DEF_CANVAS_SELECT_FG_COLOR SELECT_FG -#define DEF_CANVAS_SELECT_FG_MONO WHITE -#define DEF_CANVAS_TAKE_FOCUS (char *) NULL -#define DEF_CANVAS_WIDTH "10c" -#define DEF_CANVAS_X_SCROLL_CMD "" -#define DEF_CANVAS_X_SCROLL_INCREMENT "0" -#define DEF_CANVAS_Y_SCROLL_CMD "" -#define DEF_CANVAS_Y_SCROLL_INCREMENT "0" - -/* - * Defaults for entries: - */ - -#define DEF_ENTRY_BG_COLOR "SystemWindow" -#define DEF_ENTRY_BG_MONO WHITE -#define DEF_ENTRY_BORDER_WIDTH "1" -#define DEF_ENTRY_CURSOR "xterm" -#define DEF_ENTRY_DISABLED_BG_COLOR "SystemButtonFace" -#define DEF_ENTRY_DISABLED_BG_MONO WHITE -#define DEF_ENTRY_DISABLED_FG DISABLED -#define DEF_ENTRY_EXPORT_SELECTION "1" -#define DEF_ENTRY_FONT "TkTextFont" -#define DEF_ENTRY_FG TEXT_FG -#define DEF_ENTRY_HIGHLIGHT_BG NORMAL_BG -#define DEF_ENTRY_HIGHLIGHT HIGHLIGHT -#define DEF_ENTRY_HIGHLIGHT_WIDTH "0" -#define DEF_ENTRY_INSERT_BG TEXT_FG -#define DEF_ENTRY_INSERT_BD_COLOR "0" -#define DEF_ENTRY_INSERT_BD_MONO "0" -#define DEF_ENTRY_INSERT_OFF_TIME "300" -#define DEF_ENTRY_INSERT_ON_TIME "600" -#define DEF_ENTRY_INSERT_WIDTH "2" -#define DEF_ENTRY_JUSTIFY "left" -#define DEF_ENTRY_READONLY_BG_COLOR "SystemButtonFace" -#define DEF_ENTRY_READONLY_BG_MONO WHITE -#define DEF_ENTRY_RELIEF "sunken" -#define DEF_ENTRY_SCROLL_COMMAND "" -#define DEF_ENTRY_SELECT_COLOR SELECT_BG -#define DEF_ENTRY_SELECT_MONO BLACK -#define DEF_ENTRY_SELECT_BD_COLOR "0" -#define DEF_ENTRY_SELECT_BD_MONO "0" -#define DEF_ENTRY_SELECT_FG_COLOR SELECT_FG -#define DEF_ENTRY_SELECT_FG_MONO WHITE -#define DEF_ENTRY_SHOW (char *) NULL -#define DEF_ENTRY_STATE "normal" -#define DEF_ENTRY_TAKE_FOCUS (char *) NULL -#define DEF_ENTRY_TEXT_VARIABLE "" -#define DEF_ENTRY_WIDTH "20" - -/* - * Defaults for frames: - */ - -#define DEF_FRAME_BG_COLOR NORMAL_BG -#define DEF_FRAME_BG_MONO WHITE -#define DEF_FRAME_BORDER_WIDTH "0" -#define DEF_FRAME_CLASS "Frame" -#define DEF_FRAME_COLORMAP "" -#define DEF_FRAME_CONTAINER "0" -#define DEF_FRAME_CURSOR "" -#define DEF_FRAME_HEIGHT "0" -#define DEF_FRAME_HIGHLIGHT_BG NORMAL_BG -#define DEF_FRAME_HIGHLIGHT HIGHLIGHT -#define DEF_FRAME_HIGHLIGHT_WIDTH "0" -#define DEF_FRAME_PADX "0" -#define DEF_FRAME_PADY "0" -#define DEF_FRAME_RELIEF "flat" -#define DEF_FRAME_TAKE_FOCUS "0" -#define DEF_FRAME_VISUAL "" -#define DEF_FRAME_WIDTH "0" - -/* - * Defaults for labelframes: - */ - -#define DEF_LABELFRAME_BORDER_WIDTH "2" -#define DEF_LABELFRAME_CLASS "Labelframe" -#define DEF_LABELFRAME_RELIEF "groove" -#define DEF_LABELFRAME_FG NORMAL_FG -#define DEF_LABELFRAME_FONT "TkDefaultFont" -#define DEF_LABELFRAME_TEXT "" -#define DEF_LABELFRAME_LABELANCHOR "nw" - -/* - * Defaults for listboxes: - */ - -#define DEF_LISTBOX_ACTIVE_STYLE "underline" -#define DEF_LISTBOX_BG_COLOR "SystemWindow" -#define DEF_LISTBOX_BG_MONO WHITE -#define DEF_LISTBOX_BORDER_WIDTH "1" -#define DEF_LISTBOX_CURSOR "" -#define DEF_LISTBOX_DISABLED_FG DISABLED -#define DEF_LISTBOX_EXPORT_SELECTION "1" -#define DEF_LISTBOX_FONT "TkDefaultFont" -#define DEF_LISTBOX_FG NORMAL_FG -#define DEF_LISTBOX_HEIGHT "10" -#define DEF_LISTBOX_HIGHLIGHT_BG NORMAL_BG -#define DEF_LISTBOX_HIGHLIGHT HIGHLIGHT -#define DEF_LISTBOX_HIGHLIGHT_WIDTH "1" -#define DEF_LISTBOX_RELIEF "sunken" -#define DEF_LISTBOX_SCROLL_COMMAND "" -#define DEF_LISTBOX_LIST_VARIABLE "" -#define DEF_LISTBOX_SELECT_COLOR SELECT_BG -#define DEF_LISTBOX_SELECT_MONO BLACK -#define DEF_LISTBOX_SELECT_BD "0" -#define DEF_LISTBOX_SELECT_FG_COLOR SELECT_FG -#define DEF_LISTBOX_SELECT_FG_MONO WHITE -#define DEF_LISTBOX_SELECT_MODE "browse" -#define DEF_LISTBOX_SET_GRID "0" -#define DEF_LISTBOX_STATE "normal" -#define DEF_LISTBOX_TAKE_FOCUS (char *) NULL -#define DEF_LISTBOX_WIDTH "20" - -/* - * Defaults for individual entries of menus: - */ - -#define DEF_MENU_ENTRY_ACTIVE_BG (char *) NULL -#define DEF_MENU_ENTRY_ACTIVE_FG (char *) NULL -#define DEF_MENU_ENTRY_ACCELERATOR (char *) NULL -#define DEF_MENU_ENTRY_BG (char *) NULL -#define DEF_MENU_ENTRY_BITMAP None -#define DEF_MENU_ENTRY_COLUMN_BREAK "0" -#define DEF_MENU_ENTRY_COMMAND (char *) NULL -#define DEF_MENU_ENTRY_COMPOUND "none" -#define DEF_MENU_ENTRY_FG (char *) NULL -#define DEF_MENU_ENTRY_FONT (char *) NULL -#define DEF_MENU_ENTRY_HIDE_MARGIN "0" -#define DEF_MENU_ENTRY_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_INDICATOR "1" -#define DEF_MENU_ENTRY_LABEL (char *) NULL -#define DEF_MENU_ENTRY_MENU (char *) NULL -#define DEF_MENU_ENTRY_OFF_VALUE "0" -#define DEF_MENU_ENTRY_ON_VALUE "1" -#define DEF_MENU_ENTRY_SELECT_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_STATE "normal" -#define DEF_MENU_ENTRY_VALUE (char *) NULL -#define DEF_MENU_ENTRY_CHECK_VARIABLE (char *) NULL -#define DEF_MENU_ENTRY_RADIO_VARIABLE "selectedButton" -#define DEF_MENU_ENTRY_SELECT (char *) NULL -#define DEF_MENU_ENTRY_UNDERLINE "-1" - -/* - * Defaults for menus overall: - */ - -#define DEF_MENU_ACTIVE_BG_COLOR SELECT_BG -#define DEF_MENU_ACTIVE_BG_MONO BLACK -#define DEF_MENU_ACTIVE_BORDER_WIDTH "0" -#define DEF_MENU_ACTIVE_FG_COLOR SELECT_FG -#define DEF_MENU_ACTIVE_FG_MONO WHITE -#define DEF_MENU_BG_COLOR MENU_BG -#define DEF_MENU_BG_MONO WHITE -#define DEF_MENU_BORDER_WIDTH "0" -#define DEF_MENU_CURSOR "arrow" -#define DEF_MENU_DISABLED_FG_COLOR DISABLED -#define DEF_MENU_DISABLED_FG_MONO "" -#define DEF_MENU_FONT "TkMenuFont" -#define DEF_MENU_FG MENU_FG -#define DEF_MENU_POST_COMMAND "" -#define DEF_MENU_RELIEF "flat" -#define DEF_MENU_SELECT_COLOR MENU_FG -#define DEF_MENU_SELECT_MONO BLACK -#define DEF_MENU_TAKE_FOCUS "0" -#define DEF_MENU_TEAROFF "1" -#define DEF_MENU_TEAROFF_CMD (char *) NULL -#define DEF_MENU_TITLE "" -#define DEF_MENU_TYPE "normal" - -/* - * Defaults for menubuttons: - */ - -#define DEF_MENUBUTTON_ANCHOR "center" -#define DEF_MENUBUTTON_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_MENUBUTTON_ACTIVE_BG_MONO BLACK -#define DEF_MENUBUTTON_ACTIVE_FG_COLOR NORMAL_FG -#define DEF_MENUBUTTON_ACTIVE_FG_MONO WHITE -#define DEF_MENUBUTTON_BG_COLOR NORMAL_BG -#define DEF_MENUBUTTON_BG_MONO WHITE -#define DEF_MENUBUTTON_BITMAP "" -#define DEF_MENUBUTTON_BORDER_WIDTH "1" -#define DEF_MENUBUTTON_CURSOR "" -#define DEF_MENUBUTTON_DIRECTION "below" -#define DEF_MENUBUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_MENUBUTTON_DISABLED_FG_MONO "" -#define DEF_MENUBUTTON_FONT "TkDefaultFont" -#define DEF_MENUBUTTON_FG NORMAL_FG -#define DEF_MENUBUTTON_HEIGHT "0" -#define DEF_MENUBUTTON_HIGHLIGHT_BG_COLOR DEF_MENUBUTTON_BG_COLOR -#define DEF_MENUBUTTON_HIGHLIGHT_BG_MONO DEF_MENUBUTTON_BG_MONO -#define DEF_MENUBUTTON_HIGHLIGHT HIGHLIGHT -#define DEF_MENUBUTTON_HIGHLIGHT_WIDTH "0" -#define DEF_MENUBUTTON_IMAGE (char *) NULL -#define DEF_MENUBUTTON_INDICATOR "0" -#define DEF_MENUBUTTON_JUSTIFY "center" -#define DEF_MENUBUTTON_MENU "" -#define DEF_MENUBUTTON_PADX "4p" -#define DEF_MENUBUTTON_PADY "3p" -#define DEF_MENUBUTTON_RELIEF "flat" -#define DEF_MENUBUTTON_STATE "normal" -#define DEF_MENUBUTTON_TAKE_FOCUS "0" -#define DEF_MENUBUTTON_TEXT "" -#define DEF_MENUBUTTON_TEXT_VARIABLE "" -#define DEF_MENUBUTTON_UNDERLINE "-1" -#define DEF_MENUBUTTON_WIDTH "0" -#define DEF_MENUBUTTON_WRAP_LENGTH "0" - -/* - * Defaults for messages: - */ - -#define DEF_MESSAGE_ANCHOR "center" -#define DEF_MESSAGE_ASPECT "150" -#define DEF_MESSAGE_BG_COLOR NORMAL_BG -#define DEF_MESSAGE_BG_MONO WHITE -#define DEF_MESSAGE_BORDER_WIDTH "1" -#define DEF_MESSAGE_CURSOR "" -#define DEF_MESSAGE_FG NORMAL_FG -#define DEF_MESSAGE_FONT "TkDefaultFont" -#define DEF_MESSAGE_HIGHLIGHT_BG NORMAL_BG -#define DEF_MESSAGE_HIGHLIGHT HIGHLIGHT -#define DEF_MESSAGE_HIGHLIGHT_WIDTH "0" -#define DEF_MESSAGE_JUSTIFY "left" -#define DEF_MESSAGE_PADX "-1" -#define DEF_MESSAGE_PADY "-1" -#define DEF_MESSAGE_RELIEF "flat" -#define DEF_MESSAGE_TAKE_FOCUS "0" -#define DEF_MESSAGE_TEXT "" -#define DEF_MESSAGE_TEXT_VARIABLE "" -#define DEF_MESSAGE_WIDTH "0" - -/* - * Defaults for panedwindows - */ - -#define DEF_PANEDWINDOW_BG_COLOR NORMAL_BG -#define DEF_PANEDWINDOW_BG_MONO WHITE -#define DEF_PANEDWINDOW_BORDERWIDTH "1" -#define DEF_PANEDWINDOW_CURSOR "" -#define DEF_PANEDWINDOW_HANDLEPAD "8" -#define DEF_PANEDWINDOW_HANDLESIZE "8" -#define DEF_PANEDWINDOW_HEIGHT "" -#define DEF_PANEDWINDOW_OPAQUERESIZE "1" -#define DEF_PANEDWINDOW_ORIENT "horizontal" -#define DEF_PANEDWINDOW_RELIEF "flat" -#define DEF_PANEDWINDOW_SASHCURSOR "" -#define DEF_PANEDWINDOW_SASHPAD "0" -#define DEF_PANEDWINDOW_SASHRELIEF "flat" -#define DEF_PANEDWINDOW_SASHWIDTH "3" -#define DEF_PANEDWINDOW_SHOWHANDLE "0" -#define DEF_PANEDWINDOW_WIDTH "" - -/* - * Defaults for panedwindow panes - */ - -#define DEF_PANEDWINDOW_PANE_AFTER "" -#define DEF_PANEDWINDOW_PANE_BEFORE "" -#define DEF_PANEDWINDOW_PANE_HEIGHT "" -#define DEF_PANEDWINDOW_PANE_MINSIZE "0" -#define DEF_PANEDWINDOW_PANE_PADX "0" -#define DEF_PANEDWINDOW_PANE_PADY "0" -#define DEF_PANEDWINDOW_PANE_STICKY "nsew" -#define DEF_PANEDWINDOW_PANE_WIDTH "" -#define DEF_PANEDWINDOW_PANE_HIDE "0" -#define DEF_PANEDWINDOW_PANE_STRETCH "last" - -/* - * Defaults for scales: - */ - -#define DEF_SCALE_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCALE_ACTIVE_BG_MONO BLACK -#define DEF_SCALE_BG_COLOR NORMAL_BG -#define DEF_SCALE_BG_MONO WHITE -#define DEF_SCALE_BIG_INCREMENT "0" -#define DEF_SCALE_BORDER_WIDTH "1" -#define DEF_SCALE_COMMAND "" -#define DEF_SCALE_CURSOR "" -#define DEF_SCALE_DIGITS "0" -#define DEF_SCALE_FONT "TkDefaultFont" -#define DEF_SCALE_FG_COLOR NORMAL_FG -#define DEF_SCALE_FG_MONO BLACK -#define DEF_SCALE_FROM "0" -#define DEF_SCALE_HIGHLIGHT_BG_COLOR DEF_SCALE_BG_COLOR -#define DEF_SCALE_HIGHLIGHT_BG_MONO DEF_SCALE_BG_MONO -#define DEF_SCALE_HIGHLIGHT HIGHLIGHT -#define DEF_SCALE_HIGHLIGHT_WIDTH "2" -#define DEF_SCALE_LABEL "" -#define DEF_SCALE_LENGTH "100" -#define DEF_SCALE_ORIENT "vertical" -#define DEF_SCALE_RELIEF "flat" -#define DEF_SCALE_REPEAT_DELAY "300" -#define DEF_SCALE_REPEAT_INTERVAL "100" -#define DEF_SCALE_RESOLUTION "1" -#define DEF_SCALE_TROUGH_COLOR TROUGH -#define DEF_SCALE_TROUGH_MONO WHITE -#define DEF_SCALE_SHOW_VALUE "1" -#define DEF_SCALE_SLIDER_LENGTH "30" -#define DEF_SCALE_SLIDER_RELIEF "raised" -#define DEF_SCALE_STATE "normal" -#define DEF_SCALE_TAKE_FOCUS (char *) NULL -#define DEF_SCALE_TICK_INTERVAL "0" -#define DEF_SCALE_TO "100" -#define DEF_SCALE_VARIABLE "" -#define DEF_SCALE_WIDTH "15" - -/* - * Defaults for scrollbars: - */ - -#define DEF_SCROLLBAR_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCROLLBAR_ACTIVE_BG_MONO BLACK -#define DEF_SCROLLBAR_ACTIVE_RELIEF "raised" -#define DEF_SCROLLBAR_BG_COLOR NORMAL_BG -#define DEF_SCROLLBAR_BG_MONO WHITE -#define DEF_SCROLLBAR_BORDER_WIDTH "0" -#define DEF_SCROLLBAR_COMMAND "" -#define DEF_SCROLLBAR_CURSOR "" -#define DEF_SCROLLBAR_EL_BORDER_WIDTH "-1" -#define DEF_SCROLLBAR_HIGHLIGHT_BG NORMAL_BG -#define DEF_SCROLLBAR_HIGHLIGHT HIGHLIGHT -#define DEF_SCROLLBAR_HIGHLIGHT_WIDTH "0" -#define DEF_SCROLLBAR_JUMP "0" -#define DEF_SCROLLBAR_ORIENT "vertical" -#define DEF_SCROLLBAR_RELIEF "sunken" -#define DEF_SCROLLBAR_REPEAT_DELAY "300" -#define DEF_SCROLLBAR_REPEAT_INTERVAL "100" -#define DEF_SCROLLBAR_TAKE_FOCUS (char *) NULL -#define DEF_SCROLLBAR_TROUGH_COLOR TROUGH -#define DEF_SCROLLBAR_TROUGH_MONO WHITE -#define DEF_SCROLLBAR_WIDTH "10" - -/* - * Defaults for texts: - */ - -#define DEF_TEXT_AUTO_SEPARATORS "1" -#define DEF_TEXT_BG_COLOR "SystemWindow" -#define DEF_TEXT_BG_MONO WHITE -#define DEF_TEXT_BLOCK_CURSOR "0" -#define DEF_TEXT_BORDER_WIDTH "1" -#define DEF_TEXT_CURSOR "xterm" -#define DEF_TEXT_FG TEXT_FG -#define DEF_TEXT_EXPORT_SELECTION "1" -#define DEF_TEXT_FONT "TkFixedFont" -#define DEF_TEXT_HEIGHT "24" -#define DEF_TEXT_HIGHLIGHT_BG NORMAL_BG -#define DEF_TEXT_HIGHLIGHT HIGHLIGHT -#define DEF_TEXT_HIGHLIGHT_WIDTH "0" -#define DEF_TEXT_INSERT_BG TEXT_FG -#define DEF_TEXT_INSERT_BD_COLOR "0" -#define DEF_TEXT_INSERT_BD_MONO "0" -#define DEF_TEXT_INSERT_OFF_TIME "300" -#define DEF_TEXT_INSERT_ON_TIME "600" -#define DEF_TEXT_INSERT_WIDTH "2" -#define DEF_TEXT_MAX_UNDO "0" -#define DEF_TEXT_PADX "1" -#define DEF_TEXT_PADY "1" -#define DEF_TEXT_RELIEF "sunken" -#define DEF_TEXT_INACTIVE_SELECT_COLOR NULL -#define DEF_TEXT_SELECT_COLOR SELECT_BG -#define DEF_TEXT_SELECT_MONO BLACK -#define DEF_TEXT_SELECT_BD_COLOR "0" -#define DEF_TEXT_SELECT_BD_MONO "0" -#define DEF_TEXT_SELECT_FG_COLOR SELECT_FG -#define DEF_TEXT_SELECT_FG_MONO WHITE -#define DEF_TEXT_SELECT_RELIEF "flat" -#define DEF_TEXT_SET_GRID "0" -#define DEF_TEXT_SPACING1 "0" -#define DEF_TEXT_SPACING2 "0" -#define DEF_TEXT_SPACING3 "0" -#define DEF_TEXT_STATE "normal" -#define DEF_TEXT_TABS "" -#define DEF_TEXT_TABSTYLE "tabular" -#define DEF_TEXT_TAKE_FOCUS (char *) NULL -#define DEF_TEXT_UNDO "0" -#define DEF_TEXT_WIDTH "80" -#define DEF_TEXT_WRAP "char" -#define DEF_TEXT_XSCROLL_COMMAND "" -#define DEF_TEXT_YSCROLL_COMMAND "" - -/* - * Defaults for canvas text: - */ - -#define DEF_CANVTEXT_FONT "TkDefaultFont" - -/* - * Defaults for toplevels (most of the defaults for frames also apply - * to toplevels): - */ - -#define DEF_TOPLEVEL_CLASS "Toplevel" -#define DEF_TOPLEVEL_MENU "" -#define DEF_TOPLEVEL_SCREEN "" -#define DEF_TOPLEVEL_USE "" - -#endif /* _TKWINDEFAULT */ diff --git a/src/other/togl/include/tcltk/tk8.5/tkWinInt.h b/src/other/togl/include/tcltk/tk8.5/tkWinInt.h deleted file mode 100644 index 3b8b6116265..00000000000 --- a/src/other/togl/include/tcltk/tk8.5/tkWinInt.h +++ /dev/null @@ -1,298 +0,0 @@ -/* - * tkWinInt.h -- - * - * This file contains declarations that are shared among the - * Windows-specific parts of Tk, but aren't used by the rest of Tk. - * - * Copyright (c) 1995-1997 Sun Microsystems, Inc. - * Copyright (c) 1998-2000 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution of - * this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKWININT -#define _TKWININT - -#ifndef _TKINT -#include "tkInt.h" -#endif - -/* - * Include platform specific public interfaces. - */ - -#ifndef _TKWIN -#include "tkWin.h" -#endif - -#ifndef _TKPORT -#include "tkPort.h" -#endif - -/* - * Define constants missing from older Win32 SDK header files. - */ - -#ifndef WS_EX_TOOLWINDOW -#define WS_EX_TOOLWINDOW 0x00000080L -#endif - -/* - * The TkWinDCState is used to save the state of a device context so that it - * can be restored later. - */ - -typedef struct TkWinDCState { - HPALETTE palette; - int bkmode; -} TkWinDCState; - -/* - * The TkWinDrawable is the internal implementation of an X Drawable (either a - * Window or a Pixmap). The following constants define the valid Drawable - * types. - */ - -#define TWD_BITMAP 1 -#define TWD_WINDOW 2 -#define TWD_WINDC 3 - -typedef struct { - int type; - HWND handle; - TkWindow *winPtr; -} TkWinWindow; - -typedef struct { - int type; - HBITMAP handle; - Colormap colormap; - int depth; -} TkWinBitmap; - -typedef struct { - int type; - HDC hdc; -}TkWinDC; - -typedef union { - int type; - TkWinWindow window; - TkWinBitmap bitmap; - TkWinDC winDC; -} TkWinDrawable; - -/* - * The following macros are used to retrieve internal values from a Drawable. - */ - -#define TkWinGetHWND(w) (((TkWinDrawable *) w)->window.handle) -#define TkWinGetWinPtr(w) (((TkWinDrawable *) w)->window.winPtr) -#define TkWinGetHBITMAP(w) (((TkWinDrawable *) w)->bitmap.handle) -#define TkWinGetColormap(w) (((TkWinDrawable *) w)->bitmap.colormap) -#define TkWinGetHDC(w) (((TkWinDrawable *) w)->winDC.hdc) - -/* - * The following structure is used to encapsulate palette information. - */ - -typedef struct { - HPALETTE palette; /* Palette handle used when drawing. */ - UINT size; /* Number of entries in the palette. */ - int stale; /* 1 if palette needs to be realized, - * otherwise 0. If the palette is stale, then - * an idle handler is scheduled to realize the - * palette. */ - Tcl_HashTable refCounts; /* Hash table of palette entry reference - * counts indexed by pixel value. */ -} TkWinColormap; - -/* - * The following macro retrieves the Win32 palette from a colormap. - */ - -#define TkWinGetPalette(colormap) (((TkWinColormap *) colormap)->palette) - -/* - * The following macros define the class names for Tk Window types. - */ - -#define TK_WIN_TOPLEVEL_CLASS_NAME "TkTopLevel" -#define TK_WIN_CHILD_CLASS_NAME "TkChild" - -/* - * The following variable is a translation table between X gc functions and - * Win32 raster and BitBlt op modes. - */ - -extern int tkpWinRopModes[]; -extern int tkpWinBltModes[]; - -/* - * The following defines are used with TkWinGetBorderPixels to get the extra 2 - * border colors from a Tk_3DBorder. - */ - -#define TK_3D_LIGHT2 TK_3D_DARK_GC+1 -#define TK_3D_DARK2 TK_3D_DARK_GC+2 - -/* - * Internal functions used by more than one source file. - */ - -#include "tkIntPlatDecls.h" - -/* - * We need to specially add the TkWinChildProc because of the special - * prototype it has (doesn't fit into stubs schema) - */ - -#ifdef BUILD_tk -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT -#endif - -EXTERN LRESULT CALLBACK TkWinChildProc(HWND hwnd, UINT message, - WPARAM wParam, LPARAM lParam); - -/* - * Special proc needed as tsd accessor function between - * tkWinX.c:GenerateXEvent and tkWinClipboard.c:UpdateClipboard - */ - -EXTERN void TkWinUpdatingClipboard(int mode); - -/* - * Used by tkWinDialog.c to associate the right icon with tk_messageBox - */ - -EXTERN HICON TkWinGetIcon(Tk_Window tkw, DWORD iconsize); - -/* - * Used by tkWinX.c on for certain system display change messages and cleanup - * up containers - */ - -EXTERN void TkWinDisplayChanged(Display *display); -void TkWinCleanupContainerList(void); - -/* - * Used by tkWinWm.c for embedded menu handling. May become public. - */ - -EXTERN HWND Tk_GetMenuHWND(Tk_Window tkwin); -EXTERN HWND Tk_GetEmbeddedMenuHWND(Tk_Window tkwin); - -/* - * The following structure keeps track of whether we are using the multi-byte - * or the wide-character interfaces to the operating system. System calls - * should be made through the following function table. - * - * While some system calls need to use this A/W jump-table, it is not - * necessary for all calls to do it, which is why you won't see this used - * throughout the Tk code, but only in key areas. -- hobbs - */ - -typedef struct TkWinProcs { - int useWide; - LRESULT (WINAPI *callWindowProc)(WNDPROC lpPrevWndFunc, HWND hWnd, - UINT Msg, WPARAM wParam, LPARAM lParam); - LRESULT (WINAPI *defWindowProc)(HWND hWnd, UINT Msg, WPARAM wParam, - LPARAM lParam); - ATOM (WINAPI *registerClass)(const WNDCLASS *lpWndClass); - BOOL (WINAPI *setWindowText)(HWND hWnd, LPCTSTR lpString); - HWND (WINAPI *createWindowEx)(DWORD dwExStyle, LPCTSTR lpClassName, - LPCTSTR lpWindowName, DWORD dwStyle, int x, int y, - int nWidth, int nHeight, HWND hWndParent, HMENU hMenu, - HINSTANCE hInstance, LPVOID lpParam); - BOOL (WINAPI *insertMenu)(HMENU hMenu, UINT uPosition, UINT uFlags, - UINT uIDNewItem, LPCTSTR lpNewItem); - int (WINAPI *getWindowText)(HWND hWnd, LPCTSTR lpString, int nMaxCount); -} TkWinProcs; - -EXTERN TkWinProcs *tkWinProcs; - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -/* - * The following allows us to cache these encoding for multiple functions. - */ - - -extern Tcl_Encoding TkWinGetKeyInputEncoding(void); -extern Tcl_Encoding TkWinGetUnicodeEncoding(void); -extern void TkWinSetupSystemFonts(TkMainInfo *mainPtr); - -/* - * Values returned by TkWinGetPlatformTheme. - */ - -#define TK_THEME_WIN_CLASSIC 1 -#define TK_THEME_WIN_XP 2 - -/* - * The following is implemented in tkWinWm and used by tkWinEmbed.c - */ - -void TkpWinToplevelWithDraw(TkWindow *winPtr); -void TkpWinToplevelIconify(TkWindow *winPtr); -void TkpWinToplevelDeiconify(TkWindow *winPtr); -long TkpWinToplevelIsControlledByWm(TkWindow *winPtr); -long TkpWinToplevelMove(TkWindow *winPtr, int x, int y); -long TkpWinToplevelOverrideRedirect(TkWindow *winPtr, - int reqValue); -void TkpWinToplevelDetachWindow(TkWindow *winPtr); -int TkpWmGetState(TkWindow *winPtr); - -/* - * The following functions are not present in old versions of Windows - * API headers but are used in the Tk source to ensure 64bit - * compatability. - */ - -#ifndef GetClassLongPtr -# define GetClassLongPtrA GetClassLongA -# define GetClassLongPtrW GetClassLongW -# define SetClassLongPtrA SetClassLongA -# define SetClassLongPtrW SetClassLongW -# ifdef UNICODE -# define GetClassLongPtr GetClassLongPtrW -# define SetClassLongPtr SetClassLongPtrW -# else -# define GetClassLongPtr GetClassLongPtrA -# define SetClassLongPtr SetClassLongPtrA -# endif /* !UNICODE */ -#endif /* !GetClassLongPtr */ -#ifndef GCLP_HICON -# define GCLP_HICON GCL_HICON -#endif /* !GCLP_HICON */ -#ifndef GCLP_HICONSM -# define GCLP_HICONSM (-34) -#endif /* !GCLP_HICONSM */ - -#ifndef GetWindowLongPtr -# define GetWindowLongPtrA GetWindowLongA -# define GetWindowLongPtrW GetWindowLongW -# define SetWindowLongPtrA SetWindowLongA -# define SetWindowLongPtrW SetWindowLongW -# ifdef UNICODE -# define GetWindowLongPtr GetWindowLongPtrW -# define SetWindowLongPtr SetWindowLongPtrW -# else -# define GetWindowLongPtr GetWindowLongPtrW -# define SetWindowLongPtr SetWindowLongPtrW -# endif /* !UNICODE */ -#endif /* !GetWindowLongPtr */ -#ifndef GWLP_WNDPROC -#define GWLP_WNDPROC GWL_WNDPROC -#define GWLP_HINSTANCE GWL_HINSTANCE -#define GWLP_HWNDPARENT GWL_HWNDPARENT -#define GWLP_USERDATA GWL_USERDATA -#define GWLP_ID GWL_ID -#endif /* !GWLP_WNDPROC */ - -#endif /* _TKWININT */ diff --git a/src/other/togl/include/tcltk/tk8.5/tkWinPort.h b/src/other/togl/include/tcltk/tk8.5/tkWinPort.h deleted file mode 100644 index 2ee525e3743..00000000000 --- a/src/other/togl/include/tcltk/tk8.5/tkWinPort.h +++ /dev/null @@ -1,140 +0,0 @@ -/* - * tkWinPort.h -- - * - * This header file handles porting issues that occur because of - * differences between Windows and Unix. It should be the only - * file that contains #ifdefs to handle different flavors of OS. - * - * Copyright (c) 1995-1996 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _WINPORT -#define _WINPORT - -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Need to block out this include for building extensions with MetroWerks - * compiler for Win32. - */ - -#ifndef __MWERKS__ -#include -#endif - -#include -#ifdef __CYGWIN__ -# define _T(x) L##x -#else -# include -#endif - -#ifdef _MSC_VER -# define hypot _hypot -#endif /* _MSC_VER */ - -#ifndef __GNUC__ -# define strncasecmp strnicmp -# define strcasecmp stricmp -#endif - -#define NBBY 8 - -#ifndef OPEN_MAX -#define OPEN_MAX 32 -#endif - -/* - * The following define causes Tk to use its internal keysym hash table - */ - -#define REDO_KEYSYM_LOOKUP - -/* - * The following macro checks to see whether there is buffered - * input data available for a stdio FILE. - */ - -#ifdef _MSC_VER -# define TK_READ_DATA_PENDING(f) ((f)->_cnt > 0) -#else /* _MSC_VER */ -# define TK_READ_DATA_PENDING(f) ((f)->level > 0) -#endif /* _MSC_VER */ - -/* - * The following stubs implement various calls that don't do anything - * under Windows. - */ - -#define TkFreeWindowId(dispPtr,w) -#define TkInitXId(dispPtr) -#define TkpCmapStressed(tkwin,colormap) (0) -#define XFlush(display) -#define XGrabServer(display) -#define XUngrabServer(display) -#define TkpSync(display) - -/* - * The following functions are implemented as macros under Windows. - */ - -#define XFree(data) {if ((data) != NULL) ckfree((char *) (data));} -#define XNoOp(display) {display->request++;} -#define XSynchronize(display, bool) {display->request++;} -#define XSync(display, bool) {display->request++;} -#define XVisualIDFromVisual(visual) (visual->visualid) - -/* - * The following Tk functions are implemented as macros under Windows. - */ - -#define TkpGetPixel(p) (((((p)->red >> 8) & 0xff) \ - | ((p)->green & 0xff00) | (((p)->blue << 8) & 0xff0000)) | 0x20000000) - -/* - * These calls implement native bitmaps which are not currently - * supported under Windows. The macros eliminate the calls. - */ - -#define TkpDefineNativeBitmaps() -#define TkpCreateNativeBitmap(display, source) None -#define TkpGetNativeAppBitmap(display, name, w, h) None - -/* - * Define timezone for gettimeofday. - */ - -struct timezone { - int tz_minuteswest; - int tz_dsttime; -}; - -/* - * Disabled inclusion of Tcl's private header in hope of discovering we - * no longer need it. - * -#ifndef _TCLINT -#include -#endif - */ - -#endif /* _WINPORT */ diff --git a/src/other/togl/include/tcltk/tk8.6/default.h b/src/other/togl/include/tcltk/tk8.6/default.h deleted file mode 100644 index 8964936f60c..00000000000 --- a/src/other/togl/include/tcltk/tk8.6/default.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * default.h -- - * - * This file defines the defaults for all options for all of - * the Tk widgets. - * - * Copyright (c) 1991-1994 The Regents of the University of California. - * Copyright (c) 1994 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _DEFAULT -#define _DEFAULT - -#if defined(__WIN32__) || defined(_WIN32) || \ - defined(__CYGWIN__) || defined(__MINGW32__) -# include "tkWinDefault.h" -#else -# if defined(MAC_OSX_TK) -# include "tkMacOSXDefault.h" -# else -# include "tkUnixDefault.h" -# endif -#endif - -#endif /* _DEFAULT */ diff --git a/src/other/togl/include/tcltk/tk8.6/tclInt.h b/src/other/togl/include/tcltk/tk8.6/tclInt.h deleted file mode 100644 index ebf1c6792b2..00000000000 --- a/src/other/togl/include/tcltk/tk8.6/tclInt.h +++ /dev/null @@ -1,4185 +0,0 @@ -/* - * tclInt.h -- - * - * Declarations of things used internally by the Tcl interpreter. - * - * Copyright (c) 1987-1993 The Regents of the University of California. - * Copyright (c) 1993-1997 Lucent Technologies. - * Copyright (c) 1994-1998 Sun Microsystems, Inc. - * Copyright (c) 1998-1999 by Scriptics Corporation. - * Copyright (c) 2001, 2002 by Kevin B. Kenny. All rights reserved. - * Copyright (c) 2007 Daniel A. Steffen - * Copyright (c) 2006-2008 by Joe Mistachkin. All rights reserved. - * Copyright (c) 2008 by Miguel Sofer. All rights reserved. - * - * See the file "license.terms" for information on usage and redistribution of - * this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TCLINT -#define _TCLINT - -/* - * Some numerics configuration options - */ - -#undef NO_WIDE_TYPE -#undef ACCEPT_NAN - -/* - * Common include files needed by most of the Tcl source files are included - * here, so that system-dependent personalizations for the include files only - * have to be made in once place. This results in a few extra includes, but - * greater modularity. The order of the three groups of #includes is - * important. For example, stdio.h is needed by tcl.h, and the _ANSI_ARGS_ - * declaration in tcl.h is needed by stdlib.h in some configurations. - */ - -#ifdef HAVE_TCL_CONFIG_H -#include "tclConfig.h" -#endif -#ifndef _TCL -#include "tcl.h" -#endif - -#include - -#include -#ifdef NO_LIMITS_H -# include "../compat/limits.h" -#else -# include -#endif -#ifdef NO_STDLIB_H -# include "../compat/stdlib.h" -#else -# include -#endif -#ifdef NO_STRING_H -#include "../compat/string.h" -#else -#include -#endif -#ifdef STDC_HEADERS -#include -#else -typedef int ptrdiff_t; -#endif - -/* - * Ensure WORDS_BIGENDIAN is defined correcly: - * Needs to happen here in addition to configure to work with fat compiles on - * Darwin (where configure runs only once for multiple architectures). - */ - -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_PARAM_H -# include -#endif -#ifdef BYTE_ORDER -# ifdef BIG_ENDIAN -# if BYTE_ORDER == BIG_ENDIAN -# undef WORDS_BIGENDIAN -# define WORDS_BIGENDIAN 1 -# endif -# endif -# ifdef LITTLE_ENDIAN -# if BYTE_ORDER == LITTLE_ENDIAN -# undef WORDS_BIGENDIAN -# endif -# endif -#endif - -/* - * Used to tag functions that are only to be visible within the module being - * built and not outside it (where this is supported by the linker). - */ - -#ifndef MODULE_SCOPE -# ifdef __cplusplus -# define MODULE_SCOPE extern "C" -# else -# define MODULE_SCOPE extern -# endif -#endif - -/* - * When Tcl_WideInt and long are the same type, there's no value in - * having a tclWideIntType separate from the tclIntType. - */ -#ifdef TCL_WIDE_INT_IS_LONG -#define NO_WIDE_TYPE -#endif - -/* - * Macros used to cast between pointers and integers (e.g. when storing an int - * in ClientData), on 64-bit architectures they avoid gcc warning about "cast - * to/from pointer from/to integer of different size". - */ - -#if !defined(INT2PTR) && !defined(PTR2INT) -# if defined(HAVE_INTPTR_T) || defined(intptr_t) -# define INT2PTR(p) ((void *)(intptr_t)(p)) -# define PTR2INT(p) ((int)(intptr_t)(p)) -# else -# define INT2PTR(p) ((void *)(p)) -# define PTR2INT(p) ((int)(p)) -# endif -#endif -#if !defined(UINT2PTR) && !defined(PTR2UINT) -# if defined(HAVE_UINTPTR_T) || defined(uintptr_t) -# define UINT2PTR(p) ((void *)(uintptr_t)(p)) -# define PTR2UINT(p) ((unsigned int)(uintptr_t)(p)) -# else -# define UINT2PTR(p) ((void *)(p)) -# define PTR2UINT(p) ((unsigned int)(p)) -# endif -#endif - -/* - * The following procedures allow namespaces to be customized to support - * special name resolution rules for commands/variables. - */ - -struct Tcl_ResolvedVarInfo; - -typedef Tcl_Var (Tcl_ResolveRuntimeVarProc)(Tcl_Interp *interp, - struct Tcl_ResolvedVarInfo *vinfoPtr); - -typedef void (Tcl_ResolveVarDeleteProc)(struct Tcl_ResolvedVarInfo *vinfoPtr); - -/* - * The following structure encapsulates the routines needed to resolve a - * variable reference at runtime. Any variable specific state will typically - * be appended to this structure. - */ - -typedef struct Tcl_ResolvedVarInfo { - Tcl_ResolveRuntimeVarProc *fetchProc; - Tcl_ResolveVarDeleteProc *deleteProc; -} Tcl_ResolvedVarInfo; - -typedef int (Tcl_ResolveCompiledVarProc)(Tcl_Interp *interp, - const char *name, int length, Tcl_Namespace *context, - Tcl_ResolvedVarInfo **rPtr); - -typedef int (Tcl_ResolveVarProc)(Tcl_Interp *interp, const char *name, - Tcl_Namespace *context, int flags, Tcl_Var *rPtr); - -typedef int (Tcl_ResolveCmdProc)(Tcl_Interp *interp, const char *name, - Tcl_Namespace *context, int flags, Tcl_Command *rPtr); - -typedef struct Tcl_ResolverInfo { - Tcl_ResolveCmdProc *cmdResProc; - /* Procedure handling command name - * resolution. */ - Tcl_ResolveVarProc *varResProc; - /* Procedure handling variable name resolution - * for variables that can only be handled at - * runtime. */ - Tcl_ResolveCompiledVarProc *compiledVarResProc; - /* Procedure handling variable name resolution - * at compile time. */ -} Tcl_ResolverInfo; - -/* - *---------------------------------------------------------------- - * Data structures related to namespaces. - *---------------------------------------------------------------- - */ - -typedef struct Tcl_Ensemble Tcl_Ensemble; -typedef struct NamespacePathEntry NamespacePathEntry; - -/* - * Special hashtable for variables: this is just a Tcl_HashTable with an nsPtr - * field added at the end: in this way variables can find their namespace - * without having to copy a pointer in their struct: they can access it via - * their hPtr->tablePtr. - */ - -typedef struct TclVarHashTable { - Tcl_HashTable table; - struct Namespace *nsPtr; -} TclVarHashTable; - -/* - * This is for itcl - it likes to search our varTables directly :( - */ - -#define TclVarHashFindVar(tablePtr, key) \ - TclVarHashCreateVar((tablePtr), (key), NULL) - -/* - * The structure below defines a namespace. - * Note: the first five fields must match exactly the fields in a - * Tcl_Namespace structure (see tcl.h). If you change one, be sure to change - * the other. - */ - -typedef struct Namespace { - char *name; /* The namespace's simple (unqualified) name. - * This contains no ::'s. The name of the - * global namespace is "" although "::" is an - * synonym. */ - char *fullName; /* The namespace's fully qualified name. This - * starts with ::. */ - ClientData clientData; /* An arbitrary value associated with this - * namespace. */ - Tcl_NamespaceDeleteProc *deleteProc; - /* Procedure invoked when deleting the - * namespace to, e.g., free clientData. */ - struct Namespace *parentPtr;/* Points to the namespace that contains this - * one. NULL if this is the global - * namespace. */ - Tcl_HashTable childTable; /* Contains any child namespaces. Indexed by - * strings; values have type (Namespace *). */ - long nsId; /* Unique id for the namespace. */ - Tcl_Interp *interp; /* The interpreter containing this - * namespace. */ - int flags; /* OR-ed combination of the namespace status - * flags NS_DYING and NS_DEAD listed below. */ - int activationCount; /* Number of "activations" or active call - * frames for this namespace that are on the - * Tcl call stack. The namespace won't be - * freed until activationCount becomes zero. */ - int refCount; /* Count of references by namespaceName - * objects. The namespace can't be freed until - * refCount becomes zero. */ - Tcl_HashTable cmdTable; /* Contains all the commands currently - * registered in the namespace. Indexed by - * strings; values have type (Command *). - * Commands imported by Tcl_Import have - * Command structures that point (via an - * ImportedCmdRef structure) to the Command - * structure in the source namespace's command - * table. */ - TclVarHashTable varTable; /* Contains all the (global) variables - * currently in this namespace. Indexed by - * strings; values have type (Var *). */ - char **exportArrayPtr; /* Points to an array of string patterns - * specifying which commands are exported. A - * pattern may include "string match" style - * wildcard characters to specify multiple - * commands; however, no namespace qualifiers - * are allowed. NULL if no export patterns are - * registered. */ - int numExportPatterns; /* Number of export patterns currently - * registered using "namespace export". */ - int maxExportPatterns; /* Mumber of export patterns for which space - * is currently allocated. */ - int cmdRefEpoch; /* Incremented if a newly added command - * shadows a command for which this namespace - * has already cached a Command * pointer; - * this causes all its cached Command* - * pointers to be invalidated. */ - int resolverEpoch; /* Incremented whenever (a) the name - * resolution rules change for this namespace - * or (b) a newly added command shadows a - * command that is compiled to bytecodes. This - * invalidates all byte codes compiled in the - * namespace, causing the code to be - * recompiled under the new rules.*/ - Tcl_ResolveCmdProc *cmdResProc; - /* If non-null, this procedure overrides the - * usual command resolution mechanism in Tcl. - * This procedure is invoked within - * Tcl_FindCommand to resolve all command - * references within the namespace. */ - Tcl_ResolveVarProc *varResProc; - /* If non-null, this procedure overrides the - * usual variable resolution mechanism in Tcl. - * This procedure is invoked within - * Tcl_FindNamespaceVar to resolve all - * variable references within the namespace at - * runtime. */ - Tcl_ResolveCompiledVarProc *compiledVarResProc; - /* If non-null, this procedure overrides the - * usual variable resolution mechanism in Tcl. - * This procedure is invoked within - * LookupCompiledLocal to resolve variable - * references within the namespace at compile - * time. */ - int exportLookupEpoch; /* Incremented whenever a command is added to - * a namespace, removed from a namespace or - * the exports of a namespace are changed. - * Allows TIP#112-driven command lists to be - * validated efficiently. */ - Tcl_Ensemble *ensembles; /* List of structures that contain the details - * of the ensembles that are implemented on - * top of this namespace. */ - Tcl_Obj *unknownHandlerPtr; /* A script fragment to be used when command - * resolution in this namespace fails. TIP - * 181. */ - int commandPathLength; /* The length of the explicit path. */ - NamespacePathEntry *commandPathArray; - /* The explicit path of the namespace as an - * array. */ - NamespacePathEntry *commandPathSourceList; - /* Linked list of path entries that point to - * this namespace. */ -} Namespace; - -/* - * An entry on a namespace's command resolution path. - */ - -struct NamespacePathEntry { - Namespace *nsPtr; /* What does this path entry point to? If it - * is NULL, this path entry points is - * redundant and should be skipped. */ - Namespace *creatorNsPtr; /* Where does this path entry point from? This - * allows for efficient invalidation of - * references when the path entry's target - * updates its current list of defined - * commands. */ - NamespacePathEntry *prevPtr, *nextPtr; - /* Linked list pointers or NULL at either end - * of the list that hangs off Namespace's - * commandPathSourceList field. */ -}; - -/* - * Flags used to represent the status of a namespace: - * - * NS_DYING - 1 means Tcl_DeleteNamespace has been called to delete the - * namespace but there are still active call frames on the Tcl - * stack that refer to the namespace. When the last call frame - * referring to it has been popped, it's variables and command - * will be destroyed and it will be marked "dead" (NS_DEAD). The - * namespace can no longer be looked up by name. - * NS_DEAD - 1 means Tcl_DeleteNamespace has been called to delete the - * namespace and no call frames still refer to it. Its variables - * and command have already been destroyed. This bit allows the - * namespace resolution code to recognize that the namespace is - * "deleted". When the last namespaceName object in any byte code - * unit that refers to the namespace has been freed (i.e., when - * the namespace's refCount is 0), the namespace's storage will - * be freed. - * NS_KILLED - 1 means that TclTeardownNamespace has already been called on - * this namespace and it should not be called again [Bug 1355942] - * NS_SUPPRESS_COMPILATION - - * Marks the commands in this namespace for not being compiled, - * forcing them to be looked up every time. - */ - -#define NS_DYING 0x01 -#define NS_DEAD 0x02 -#define NS_KILLED 0x04 -#define NS_SUPPRESS_COMPILATION 0x08 - -/* - * Flags passed to TclGetNamespaceForQualName: - * - * TCL_GLOBAL_ONLY - (see tcl.h) Look only in the global ns. - * TCL_NAMESPACE_ONLY - (see tcl.h) Look only in the context ns. - * TCL_CREATE_NS_IF_UNKNOWN - Create unknown namespaces. - * TCL_FIND_ONLY_NS - The name sought is a namespace name. - */ - -#define TCL_CREATE_NS_IF_UNKNOWN 0x800 -#define TCL_FIND_ONLY_NS 0x1000 - -/* - * The data cached in an ensemble subcommand's Tcl_Obj rep (reference in - * otherValuePtr field). This structure is not shared between Tcl_Objs - * referring to the same subcommand, even where one is a duplicate of another. - */ - -typedef struct { - Namespace *nsPtr; /* The namespace backing the ensemble which - * this is a subcommand of. */ - int epoch; /* Used to confirm when the data in this - * really structure matches up with the - * ensemble. */ - Tcl_Command token; /* Reference to the comamnd for which this - * structure is a cache of the resolution. */ - char *fullSubcmdName; /* The full (local) name of the subcommand, - * allocated with ckalloc(). */ - Tcl_Obj *realPrefixObj; /* Object containing the prefix words of the - * command that implements this ensemble - * subcommand. */ -} EnsembleCmdRep; - -/* - * Flag to enable bytecode compilation of an ensemble. - */ - -#define ENSEMBLE_COMPILE 0x4 - -/* - *---------------------------------------------------------------- - * Data structures related to variables. These are used primarily in tclVar.c - *---------------------------------------------------------------- - */ - -/* - * The following structure defines a variable trace, which is used to invoke a - * specific C procedure whenever certain operations are performed on a - * variable. - */ - -typedef struct VarTrace { - Tcl_VarTraceProc *traceProc;/* Procedure to call when operations given by - * flags are performed on variable. */ - ClientData clientData; /* Argument to pass to proc. */ - int flags; /* What events the trace procedure is - * interested in: OR-ed combination of - * TCL_TRACE_READS, TCL_TRACE_WRITES, - * TCL_TRACE_UNSETS and TCL_TRACE_ARRAY. */ - struct VarTrace *nextPtr; /* Next in list of traces associated with a - * particular variable. */ -} VarTrace; - -/* - * The following structure defines a command trace, which is used to invoke a - * specific C procedure whenever certain operations are performed on a - * command. - */ - -typedef struct CommandTrace { - Tcl_CommandTraceProc *traceProc; - /* Procedure to call when operations given by - * flags are performed on command. */ - ClientData clientData; /* Argument to pass to proc. */ - int flags; /* What events the trace procedure is - * interested in: OR-ed combination of - * TCL_TRACE_RENAME, TCL_TRACE_DELETE. */ - struct CommandTrace *nextPtr; - /* Next in list of traces associated with a - * particular command. */ - int refCount; /* Used to ensure this structure is not - * deleted too early. Keeps track of how many - * pieces of code have a pointer to this - * structure. */ -} CommandTrace; - -/* - * When a command trace is active (i.e. its associated procedure is executing) - * one of the following structures is linked into a list associated with the - * command's interpreter. The information in the structure is needed in order - * for Tcl to behave reasonably if traces are deleted while traces are active. - */ - -typedef struct ActiveCommandTrace { - struct Command *cmdPtr; /* Command that's being traced. */ - struct ActiveCommandTrace *nextPtr; - /* Next in list of all active command traces - * for the interpreter, or NULL if no more. */ - CommandTrace *nextTracePtr; /* Next trace to check after current trace - * procedure returns; if this trace gets - * deleted, must update pointer to avoid using - * free'd memory. */ - int reverseScan; /* Boolean set true when traces are scanning - * in reverse order. */ -} ActiveCommandTrace; - -/* - * When a variable trace is active (i.e. its associated procedure is - * executing) one of the following structures is linked into a list associated - * with the variable's interpreter. The information in the structure is needed - * in order for Tcl to behave reasonably if traces are deleted while traces - * are active. - */ - -typedef struct ActiveVarTrace { - struct Var *varPtr; /* Variable that's being traced. */ - struct ActiveVarTrace *nextPtr; - /* Next in list of all active variable traces - * for the interpreter, or NULL if no more. */ - VarTrace *nextTracePtr; /* Next trace to check after current trace - * procedure returns; if this trace gets - * deleted, must update pointer to avoid using - * free'd memory. */ -} ActiveVarTrace; - -/* - * The following structure describes an enumerative search in progress on an - * array variable; this are invoked with options to the "array" command. - */ - -typedef struct ArraySearch { - int id; /* Integer id used to distinguish among - * multiple concurrent searches for the same - * array. */ - struct Var *varPtr; /* Pointer to array variable that's being - * searched. */ - Tcl_HashSearch search; /* Info kept by the hash module about progress - * through the array. */ - Tcl_HashEntry *nextEntry; /* Non-null means this is the next element to - * be enumerated (it's leftover from the - * Tcl_FirstHashEntry call or from an "array - * anymore" command). NULL means must call - * Tcl_NextHashEntry to get value to - * return. */ - struct ArraySearch *nextPtr;/* Next in list of all active searches for - * this variable, or NULL if this is the last - * one. */ -} ArraySearch; - -/* - * The structure below defines a variable, which associates a string name with - * a Tcl_Obj value. These structures are kept in procedure call frames (for - * local variables recognized by the compiler) or in the heap (for global - * variables and any variable not known to the compiler). For each Var - * structure in the heap, a hash table entry holds the variable name and a - * pointer to the Var structure. - */ - -typedef struct Var { - int flags; /* Miscellaneous bits of information about - * variable. See below for definitions. */ - union { - Tcl_Obj *objPtr; /* The variable's object value. Used for - * scalar variables and array elements. */ - TclVarHashTable *tablePtr;/* For array variables, this points to - * information about the hash table used to - * implement the associative array. Points to - * ckalloc-ed data. */ - struct Var *linkPtr; /* If this is a global variable being referred - * to in a procedure, or a variable created by - * "upvar", this field points to the - * referenced variable's Var struct. */ - } value; -} Var; - -typedef struct VarInHash { - Var var; - int refCount; /* Counts number of active uses of this - * variable: 1 for the entry in the hash - * table, 1 for each additional variable whose - * linkPtr points here, 1 for each nested - * trace active on variable, and 1 if the - * variable is a namespace variable. This - * record can't be deleted until refCount - * becomes 0. */ - Tcl_HashEntry entry; /* The hash table entry that refers to this - * variable. This is used to find the name of - * the variable and to delete it from its - * hashtable if it is no longer needed. It - * also holds the variable's name. */ -} VarInHash; - -/* - * Flag bits for variables. The first two (VAR_ARRAY and VAR_LINK) are - * mutually exclusive and give the "type" of the variable. If none is set, - * this is a scalar variable. - * - * VAR_ARRAY - 1 means this is an array variable rather than - * a scalar variable or link. The "tablePtr" - * field points to the array's hashtable for its - * elements. - * VAR_LINK - 1 means this Var structure contains a pointer - * to another Var structure that either has the - * real value or is itself another VAR_LINK - * pointer. Variables like this come about - * through "upvar" and "global" commands, or - * through references to variables in enclosing - * namespaces. - * - * Flags that indicate the type and status of storage; none is set for - * compiled local variables (Var structs). - * - * VAR_IN_HASHTABLE - 1 means this variable is in a hashtable and - * the Var structure is malloced. 0 if it is a - * local variable that was assigned a slot in a - * procedure frame by the compiler so the Var - * storage is part of the call frame. - * VAR_DEAD_HASH 1 means that this var's entry in the hashtable - * has already been deleted. - * VAR_ARRAY_ELEMENT - 1 means that this variable is an array - * element, so it is not legal for it to be an - * array itself (the VAR_ARRAY flag had better - * not be set). - * VAR_NAMESPACE_VAR - 1 means that this variable was declared as a - * namespace variable. This flag ensures it - * persists until its namespace is destroyed or - * until the variable is unset; it will persist - * even if it has not been initialized and is - * marked undefined. The variable's refCount is - * incremented to reflect the "reference" from - * its namespace. - * - * Flag values relating to the variable's trace and search status. - * - * VAR_TRACED_READ - * VAR_TRACED_WRITE - * VAR_TRACED_UNSET - * VAR_TRACED_ARRAY - * VAR_TRACE_ACTIVE - 1 means that trace processing is currently - * underway for a read or write access, so new - * read or write accesses should not cause trace - * procedures to be called and the variable can't - * be deleted. - * VAR_SEARCH_ACTIVE - * - * The following additional flags are used with the CompiledLocal type defined - * below: - * - * VAR_ARGUMENT - 1 means that this variable holds a procedure - * argument. - * VAR_TEMPORARY - 1 if the local variable is an anonymous - * temporary variable. Temporaries have a NULL - * name. - * VAR_RESOLVED - 1 if name resolution has been done for this - * variable. - * VAR_IS_ARGS 1 if this variable is the last argument and is - * named "args". - */ - -/* - * FLAGS RENUMBERED: everything breaks already, make things simpler. - * - * IMPORTANT: skip the values 0x10, 0x20, 0x40, 0x800 corresponding to - * TCL_TRACE_(READS/WRITES/UNSETS/ARRAY): makes code simpler in tclTrace.c - * - * Keep the flag values for VAR_ARGUMENT and VAR_TEMPORARY so that old values - * in precompiled scripts keep working. - */ - -/* Type of value (0 is scalar) */ -#define VAR_ARRAY 0x1 -#define VAR_LINK 0x2 - -/* Type of storage (0 is compiled local) */ -#define VAR_IN_HASHTABLE 0x4 -#define VAR_DEAD_HASH 0x8 -#define VAR_ARRAY_ELEMENT 0x1000 -#define VAR_NAMESPACE_VAR 0x80 /* KEEP OLD VALUE for Itcl */ - -#define VAR_ALL_HASH \ - (VAR_IN_HASHTABLE|VAR_DEAD_HASH|VAR_NAMESPACE_VAR|VAR_ARRAY_ELEMENT) - -/* Trace and search state */ - -#define VAR_TRACED_READ 0x10 /* TCL_TRACE_READS */ -#define VAR_TRACED_WRITE 0x20 /* TCL_TRACE_WRITES */ -#define VAR_TRACED_UNSET 0x40 /* TCL_TRACE_UNSETS */ -#define VAR_TRACED_ARRAY 0x800 /* TCL_TRACE_ARRAY */ -#define VAR_TRACE_ACTIVE 0x2000 -#define VAR_SEARCH_ACTIVE 0x4000 -#define VAR_ALL_TRACES \ - (VAR_TRACED_READ|VAR_TRACED_WRITE|VAR_TRACED_ARRAY|VAR_TRACED_UNSET) - -/* Special handling on initialisation (only CompiledLocal) */ -#define VAR_ARGUMENT 0x100 /* KEEP OLD VALUE! See tclProc.c */ -#define VAR_TEMPORARY 0x200 /* KEEP OLD VALUE! See tclProc.c */ -#define VAR_IS_ARGS 0x400 -#define VAR_RESOLVED 0x8000 - -/* - * Macros to ensure that various flag bits are set properly for variables. - * The ANSI C "prototypes" for these macros are: - * - * MODULE_SCOPE void TclSetVarScalar(Var *varPtr); - * MODULE_SCOPE void TclSetVarArray(Var *varPtr); - * MODULE_SCOPE void TclSetVarLink(Var *varPtr); - * MODULE_SCOPE void TclSetVarArrayElement(Var *varPtr); - * MODULE_SCOPE void TclSetVarUndefined(Var *varPtr); - * MODULE_SCOPE void TclClearVarUndefined(Var *varPtr); - */ - -#define TclSetVarScalar(varPtr) \ - (varPtr)->flags &= ~(VAR_ARRAY|VAR_LINK) - -#define TclSetVarArray(varPtr) \ - (varPtr)->flags = ((varPtr)->flags & ~VAR_LINK) | VAR_ARRAY - -#define TclSetVarLink(varPtr) \ - (varPtr)->flags = ((varPtr)->flags & ~VAR_ARRAY) | VAR_LINK - -#define TclSetVarArrayElement(varPtr) \ - (varPtr)->flags = ((varPtr)->flags & ~VAR_ARRAY) | VAR_ARRAY_ELEMENT - -#define TclSetVarUndefined(varPtr) \ - (varPtr)->flags &= ~(VAR_ARRAY|VAR_LINK);\ - (varPtr)->value.objPtr = NULL - -#define TclClearVarUndefined(varPtr) - -#define TclSetVarTraceActive(varPtr) \ - (varPtr)->flags |= VAR_TRACE_ACTIVE - -#define TclClearVarTraceActive(varPtr) \ - (varPtr)->flags &= ~VAR_TRACE_ACTIVE - -#define TclSetVarNamespaceVar(varPtr) \ - if (!TclIsVarNamespaceVar(varPtr)) {\ - (varPtr)->flags |= VAR_NAMESPACE_VAR;\ - ((VarInHash *)(varPtr))->refCount++;\ - } - -#define TclClearVarNamespaceVar(varPtr) \ - if (TclIsVarNamespaceVar(varPtr)) {\ - (varPtr)->flags &= ~VAR_NAMESPACE_VAR;\ - ((VarInHash *)(varPtr))->refCount--;\ - } - -/* - * Macros to read various flag bits of variables. - * The ANSI C "prototypes" for these macros are: - * - * MODULE_SCOPE int TclIsVarScalar(Var *varPtr); - * MODULE_SCOPE int TclIsVarLink(Var *varPtr); - * MODULE_SCOPE int TclIsVarArray(Var *varPtr); - * MODULE_SCOPE int TclIsVarUndefined(Var *varPtr); - * MODULE_SCOPE int TclIsVarArrayElement(Var *varPtr); - * MODULE_SCOPE int TclIsVarTemporary(Var *varPtr); - * MODULE_SCOPE int TclIsVarArgument(Var *varPtr); - * MODULE_SCOPE int TclIsVarResolved(Var *varPtr); - */ - -#define TclIsVarScalar(varPtr) \ - !((varPtr)->flags & (VAR_ARRAY|VAR_LINK)) - -#define TclIsVarLink(varPtr) \ - ((varPtr)->flags & VAR_LINK) - -#define TclIsVarArray(varPtr) \ - ((varPtr)->flags & VAR_ARRAY) - -#define TclIsVarUndefined(varPtr) \ - ((varPtr)->value.objPtr == NULL) - -#define TclIsVarArrayElement(varPtr) \ - ((varPtr)->flags & VAR_ARRAY_ELEMENT) - -#define TclIsVarNamespaceVar(varPtr) \ - ((varPtr)->flags & VAR_NAMESPACE_VAR) - -#define TclIsVarTemporary(varPtr) \ - ((varPtr)->flags & VAR_TEMPORARY) - -#define TclIsVarArgument(varPtr) \ - ((varPtr)->flags & VAR_ARGUMENT) - -#define TclIsVarResolved(varPtr) \ - ((varPtr)->flags & VAR_RESOLVED) - -#define TclIsVarTraceActive(varPtr) \ - ((varPtr)->flags & VAR_TRACE_ACTIVE) - -#define TclIsVarTraced(varPtr) \ - ((varPtr)->flags & VAR_ALL_TRACES) - -#define TclIsVarInHash(varPtr) \ - ((varPtr)->flags & VAR_IN_HASHTABLE) - -#define TclIsVarDeadHash(varPtr) \ - ((varPtr)->flags & VAR_DEAD_HASH) - -#define TclGetVarNsPtr(varPtr) \ - (TclIsVarInHash(varPtr) \ - ? ((TclVarHashTable *) ((((VarInHash *) (varPtr))->entry.tablePtr)))->nsPtr \ - : NULL) - -#define VarHashRefCount(varPtr) \ - ((VarInHash *) (varPtr))->refCount - -/* - * Macros for direct variable access by TEBC - */ - -#define TclIsVarDirectReadable(varPtr) \ - ( !((varPtr)->flags & (VAR_ARRAY|VAR_LINK|VAR_TRACED_READ)) \ - && (varPtr)->value.objPtr) - -#define TclIsVarDirectWritable(varPtr) \ - !((varPtr)->flags & (VAR_ARRAY|VAR_LINK|VAR_TRACED_WRITE|VAR_DEAD_HASH)) - -#define TclIsVarDirectModifyable(varPtr) \ - ( !((varPtr)->flags & (VAR_ARRAY|VAR_LINK|VAR_TRACED_READ|VAR_TRACED_WRITE)) \ - && (varPtr)->value.objPtr) - -#define TclIsVarDirectReadable2(varPtr, arrayPtr) \ - (TclIsVarDirectReadable(varPtr) &&\ - (!(arrayPtr) || !((arrayPtr)->flags & VAR_TRACED_READ))) - -#define TclIsVarDirectWritable2(varPtr, arrayPtr) \ - (TclIsVarDirectWritable(varPtr) &&\ - (!(arrayPtr) || !((arrayPtr)->flags & VAR_TRACED_WRITE))) - -#define TclIsVarDirectModifyable2(varPtr, arrayPtr) \ - (TclIsVarDirectModifyable(varPtr) &&\ - (!(arrayPtr) || !((arrayPtr)->flags & (VAR_TRACED_READ|VAR_TRACED_WRITE)))) - -/* - *---------------------------------------------------------------- - * Data structures related to procedures. These are used primarily in - * tclProc.c, tclCompile.c, and tclExecute.c. - *---------------------------------------------------------------- - */ - -/* - * Forward declaration to prevent an error when the forward reference to - * Command is encountered in the Proc and ImportRef types declared below. - */ - -struct Command; - -/* - * The variable-length structure below describes a local variable of a - * procedure that was recognized by the compiler. These variables have a name, - * an element in the array of compiler-assigned local variables in the - * procedure's call frame, and various other items of information. If the - * local variable is a formal argument, it may also have a default value. The - * compiler can't recognize local variables whose names are expressions (these - * names are only known at runtime when the expressions are evaluated) or - * local variables that are created as a result of an "upvar" or "uplevel" - * command. These other local variables are kept separately in a hash table in - * the call frame. - */ - -typedef struct CompiledLocal { - struct CompiledLocal *nextPtr; - /* Next compiler-recognized local variable for - * this procedure, or NULL if this is the last - * local. */ - int nameLength; /* The number of characters in local - * variable's name. Used to speed up variable - * lookups. */ - int frameIndex; /* Index in the array of compiler-assigned - * variables in the procedure call frame. */ - int flags; /* Flag bits for the local variable. Same as - * the flags for the Var structure above, - * although only VAR_ARGUMENT, VAR_TEMPORARY, - * and VAR_RESOLVED make sense. */ - Tcl_Obj *defValuePtr; /* Pointer to the default value of an - * argument, if any. NULL if not an argument - * or, if an argument, no default value. */ - Tcl_ResolvedVarInfo *resolveInfo; - /* Customized variable resolution info - * supplied by the Tcl_ResolveCompiledVarProc - * associated with a namespace. Each variable - * is marked by a unique ClientData tag during - * compilation, and that same tag is used to - * find the variable at runtime. */ - char name[4]; /* Name of the local variable starts here. If - * the name is NULL, this will just be '\0'. - * The actual size of this field will be large - * enough to hold the name. MUST BE THE LAST - * FIELD IN THE STRUCTURE! */ -} CompiledLocal; - -/* - * The structure below defines a command procedure, which consists of a - * collection of Tcl commands plus information about arguments and other local - * variables recognized at compile time. - */ - -typedef struct Proc { - struct Interp *iPtr; /* Interpreter for which this command is - * defined. */ - int refCount; /* Reference count: 1 if still present in - * command table plus 1 for each call to the - * procedure that is currently active. This - * structure can be freed when refCount - * becomes zero. */ - struct Command *cmdPtr; /* Points to the Command structure for this - * procedure. This is used to get the - * namespace in which to execute the - * procedure. */ - Tcl_Obj *bodyPtr; /* Points to the ByteCode object for - * procedure's body command. */ - int numArgs; /* Number of formal parameters. */ - int numCompiledLocals; /* Count of local variables recognized by the - * compiler including arguments and - * temporaries. */ - CompiledLocal *firstLocalPtr; - /* Pointer to first of the procedure's - * compiler-allocated local variables, or NULL - * if none. The first numArgs entries in this - * list describe the procedure's formal - * arguments. */ - CompiledLocal *lastLocalPtr;/* Pointer to the last allocated local - * variable or NULL if none. This has frame - * index (numCompiledLocals-1). */ -} Proc; - -/* - * The type of functions called to process errors found during the execution - * of a procedure (or lambda term or ...). - */ - -typedef void (ProcErrorProc)(Tcl_Interp *interp, Tcl_Obj *procNameObj); - -/* - * The structure below defines a command trace. This is used to allow Tcl - * clients to find out whenever a command is about to be executed. - */ - -typedef struct Trace { - int level; /* Only trace commands at nesting level less - * than or equal to this. */ - Tcl_CmdObjTraceProc *proc; /* Procedure to call to trace command. */ - ClientData clientData; /* Arbitrary value to pass to proc. */ - struct Trace *nextPtr; /* Next in list of traces for this interp. */ - int flags; /* Flags governing the trace - see - * Tcl_CreateObjTrace for details */ - Tcl_CmdObjTraceDeleteProc *delProc; - /* Procedure to call when trace is deleted */ -} Trace; - -/* - * When an interpreter trace is active (i.e. its associated procedure is - * executing), one of the following structures is linked into a list - * associated with the interpreter. The information in the structure is needed - * in order for Tcl to behave reasonably if traces are deleted while traces - * are active. - */ - -typedef struct ActiveInterpTrace { - struct ActiveInterpTrace *nextPtr; - /* Next in list of all active command traces - * for the interpreter, or NULL if no more. */ - Trace *nextTracePtr; /* Next trace to check after current trace - * procedure returns; if this trace gets - * deleted, must update pointer to avoid using - * free'd memory. */ - int reverseScan; /* Boolean set true when traces are scanning - * in reverse order. */ -} ActiveInterpTrace; - -/* - * Flag values designating types of execution traces. See tclTrace.c for - * related flag values. - * - * TCL_TRACE_ENTER_EXEC - triggers enter/enterstep traces. - * - passed to Tcl_CreateObjTrace to set up - * "enterstep" traces. - * TCL_TRACE_LEAVE_EXEC - triggers leave/leavestep traces. - * - passed to Tcl_CreateObjTrace to set up - * "leavestep" traces. - * - */ -#define TCL_TRACE_ENTER_EXEC 1 -#define TCL_TRACE_LEAVE_EXEC 2 - -/* - * The structure below defines an entry in the assocData hash table which is - * associated with an interpreter. The entry contains a pointer to a function - * to call when the interpreter is deleted, and a pointer to a user-defined - * piece of data. - */ - -typedef struct AssocData { - Tcl_InterpDeleteProc *proc; /* Proc to call when deleting. */ - ClientData clientData; /* Value to pass to proc. */ -} AssocData; - -/* - * The structure below defines a call frame. A call frame defines a naming - * context for a procedure call: its local naming scope (for local variables) - * and its global naming scope (a namespace, perhaps the global :: namespace). - * A call frame can also define the naming context for a namespace eval or - * namespace inscope command: the namespace in which the command's code should - * execute. The Tcl_CallFrame structures exist only while procedures or - * namespace eval/inscope's are being executed, and provide a kind of Tcl call - * stack. - * - * WARNING!! The structure definition must be kept consistent with the - * Tcl_CallFrame structure in tcl.h. If you change one, change the other. - */ - -/* - * Will be grown to contain: pointers to the varnames (allocated at the end), - * plus the init values for each variable (suitable to be memcopied on init) - */ - -typedef struct LocalCache { - int refCount; - int numVars; - Tcl_Obj *varName0; -} LocalCache; - -#define localName(framePtr, i) \ - ((&((framePtr)->localCachePtr->varName0))[(i)]) - -MODULE_SCOPE void TclFreeLocalCache(Tcl_Interp *interp, - LocalCache *localCachePtr); - -typedef struct CallFrame { - Namespace *nsPtr; /* Points to the namespace used to resolve - * commands and global variables. */ - int isProcCallFrame; /* If 0, the frame was pushed to execute a - * namespace command and var references are - * treated as references to namespace vars; - * varTablePtr and compiledLocals are ignored. - * If FRAME_IS_PROC is set, the frame was - * pushed to execute a Tcl procedure and may - * have local vars. */ - int objc; /* This and objv below describe the arguments - * for this procedure call. */ - Tcl_Obj *const *objv; /* Array of argument objects. */ - struct CallFrame *callerPtr; - /* Value of interp->framePtr when this - * procedure was invoked (i.e. next higher in - * stack of all active procedures). */ - struct CallFrame *callerVarPtr; - /* Value of interp->varFramePtr when this - * procedure was invoked (i.e. determines - * variable scoping within caller). Same as - * callerPtr unless an "uplevel" command or - * something equivalent was active in the - * caller). */ - int level; /* Level of this procedure, for "uplevel" - * purposes (i.e. corresponds to nesting of - * callerVarPtr's, not callerPtr's). 1 for - * outermost procedure, 0 for top-level. */ - Proc *procPtr; /* Points to the structure defining the called - * procedure. Used to get information such as - * the number of compiled local variables - * (local variables assigned entries ["slots"] - * in the compiledLocals array below). */ - TclVarHashTable *varTablePtr; - /* Hash table containing local variables not - * recognized by the compiler, or created at - * execution time through, e.g., upvar. - * Initially NULL and created if needed. */ - int numCompiledLocals; /* Count of local variables recognized by the - * compiler including arguments. */ - Var *compiledLocals; /* Points to the array of local variables - * recognized by the compiler. The compiler - * emits code that refers to these variables - * using an index into this array. */ - ClientData clientData; /* Pointer to some context that is used by - * object systems. The meaning of the contents - * of this field is defined by the code that - * sets it, and it should only ever be set by - * the code that is pushing the frame. In that - * case, the code that sets it should also - * have some means of discovering what the - * meaning of the value is, which we do not - * specify. */ - LocalCache *localCachePtr; -} CallFrame; - -#define FRAME_IS_PROC 0x1 -#define FRAME_IS_LAMBDA 0x2 -#define FRAME_IS_METHOD 0x4 /* The frame is a method body, and the frame's - * clientData field contains a CallContext - * reference. Part of TIP#257. */ -#define FRAME_IS_OO_DEFINE 0x8 /* The frame is part of the inside workings of - * the [oo::define] command; the clientData - * field contains an Object reference that has - * been confirmed to refer to a class. Part of - * TIP#257. */ - -/* - * TIP #280 - * The structure below defines a command frame. A command frame provides - * location information for all commands executing a tcl script (source, eval, - * uplevel, procedure bodies, ...). The runtime structure essentially contains - * the stack trace as it would be if the currently executing command were to - * throw an error. - * - * For commands where it makes sense it refers to the associated CallFrame as - * well. - * - * The structures are chained in a single list, with the top of the stack - * anchored in the Interp structure. - * - * Instances can be allocated on the C stack, or the heap, the former making - * cleanup a bit simpler. - */ - -typedef struct CmdFrame { - /* - * General data. Always available. - */ - - int type; /* Values see below. */ - int level; /* #Frames in stack, prevent O(n) scan of - * list. */ - int numLevels; /* value of interp's numLevels when the frame - * was pushed */ - int *line; /* Lines the words of the command start on. */ - int nline; - CallFrame *framePtr; /* Procedure activation record, may be - * NULL. */ - struct CmdFrame *nextPtr; /* Link to calling frame */ - - /* - * Data needed for Eval vs TEBC - * - * EXECUTION CONTEXTS and usage of CmdFrame - * - * Field TEBC EvalEx EvalObjEx - * ======= ==== ====== ========= - * level yes yes yes - * type BC/PREBC SRC/EVAL EVAL_LIST - * line0 yes yes yes - * framePtr yes yes yes - * ======= ==== ====== ========= - * - * ======= ==== ====== ========= union data - * line1 - yes - - * line3 - yes - - * path - yes - - * ------- ---- ------ --------- - * codePtr yes - - - * pc yes - - - * ======= ==== ====== ========= - * - * ======= ==== ====== ========= | union cmd - * listPtr - - yes | - * ------- ---- ------ --------- | - * cmd yes yes - | - * cmdlen yes yes - | - * ------- ---- ------ --------- | - */ - - union { - struct { - Tcl_Obj *path; /* Path of the sourced file the command is - * in. */ - } eval; - struct { - const void *codePtr;/* Byte code currently executed */ - const char *pc; /* and instruction pointer. */ - } tebc; - } data; - union { - struct { - const char *cmd; /* The executed command, if possible */ - int len; /* And its length */ - } str; - Tcl_Obj *listPtr; /* Tcl_EvalObjEx, cmd list */ - } cmd; -} CmdFrame; - -typedef struct CFWord { - CmdFrame *framePtr; /* CmdFrame to acess */ - int word; /* Index of the word in the command */ - int refCount; /* #times the word is on the stack */ -} CFWord; - -typedef struct ExtIndex { - Tcl_Obj *obj; /* Reference to the word */ - int pc; /* Instruction pointer of a command in - * ExtCmdLoc.loc[.] */ - int word; /* Index of word in - * ExtCmdLoc.loc[cmd]->line[.] */ -} ExtIndex; - -typedef struct CFWordBC { - CmdFrame *framePtr; /* CmdFrame to acess */ - ExtIndex *eiPtr; /* Word info: PC and index */ - int refCount; /* #times the word is on the stack */ -} CFWordBC; - -/* - * The following macros define the allowed values for the type field of the - * CmdFrame structure above. Some of the values occur only in the extended - * location data referenced via the 'baseLocPtr'. - * - * TCL_LOCATION_EVAL : Frame is for a script evaluated by EvalEx. - * TCL_LOCATION_EVAL_LIST : Frame is for a script evaluated by the list - * optimization path of EvalObjEx. - * TCL_LOCATION_BC : Frame is for bytecode. - * TCL_LOCATION_PREBC : Frame is for precompiled bytecode. - * TCL_LOCATION_SOURCE : Frame is for a script evaluated by EvalEx, from a - * sourced file. - * TCL_LOCATION_PROC : Frame is for bytecode of a procedure. - * - * A TCL_LOCATION_BC type in a frame can be overridden by _SOURCE and _PROC - * types, per the context of the byte code in execution. - */ - -#define TCL_LOCATION_EVAL (0) /* Location in a dynamic eval script */ -#define TCL_LOCATION_EVAL_LIST (1) /* Location in a dynamic eval script, - * list-path */ -#define TCL_LOCATION_BC (2) /* Location in byte code */ -#define TCL_LOCATION_PREBC (3) /* Location in precompiled byte code, no - * location */ -#define TCL_LOCATION_SOURCE (4) /* Location in a file */ -#define TCL_LOCATION_PROC (5) /* Location in a dynamic proc */ -#define TCL_LOCATION_LAST (6) /* Number of values in the enum */ - -/* - * Structure passed to describe procedure-like "procedures" that are not - * procedures (e.g. a lambda) so that their details can be reported correctly - * by [info frame]. Contains a sub-structure for each extra field. - */ - -typedef Tcl_Obj *(*GetFrameInfoValueProc)(ClientData clientData); -typedef struct { - const char *name; /* Name of this field. */ - GetFrameInfoValueProc proc; /* Function to generate a Tcl_Obj* from the - * clientData, or just use the clientData - * directly (after casting) if NULL. */ - ClientData clientData; /* Context for above function, or Tcl_Obj* if - * proc field is NULL. */ -} ExtraFrameInfoField; -typedef struct { - int length; /* Length of array. */ - ExtraFrameInfoField fields[2]; - /* Really as long as necessary, but this is - * long enough for nearly anything. */ -} ExtraFrameInfo; - -/* - *---------------------------------------------------------------- - * Data structures and procedures related to TclHandles, which are a very - * lightweight method of preserving enough information to determine if an - * arbitrary malloc'd block has been deleted. - *---------------------------------------------------------------- - */ - -typedef void **TclHandle; - -/* - *---------------------------------------------------------------- - * Experimental flag value passed to Tcl_GetRegExpFromObj. Intended for use - * only by Expect. It will probably go away in a later release. - *---------------------------------------------------------------- - */ - -#define TCL_REG_BOSONLY 002000 /* Prepend \A to pattern so it only matches at - * the beginning of the string. */ - -/* - * These are a thin layer over TclpThreadKeyDataGet and TclpThreadKeyDataSet - * when threads are used, or an emulation if there are no threads. These are - * really internal and Tcl clients should use Tcl_GetThreadData. - */ - -MODULE_SCOPE void * TclThreadDataKeyGet(Tcl_ThreadDataKey *keyPtr); -MODULE_SCOPE void TclThreadDataKeySet(Tcl_ThreadDataKey *keyPtr, - void *data); - -/* - * This is a convenience macro used to initialize a thread local storage ptr. - */ - -#define TCL_TSD_INIT(keyPtr) \ - (ThreadSpecificData *)Tcl_GetThreadData((keyPtr), sizeof(ThreadSpecificData)) - -/* - *---------------------------------------------------------------- - * Data structures related to bytecode compilation and execution. These are - * used primarily in tclCompile.c, tclExecute.c, and tclBasic.c. - *---------------------------------------------------------------- - */ - -/* - * Forward declaration to prevent errors when the forward references to - * Tcl_Parse and CompileEnv are encountered in the procedure type CompileProc - * declared below. - */ - -struct CompileEnv; - -/* - * The type of procedures called by the Tcl bytecode compiler to compile - * commands. Pointers to these procedures are kept in the Command structure - * describing each command. The integer value returned by a CompileProc must - * be one of the following: - * - * TCL_OK Compilation completed normally. - * TCL_ERROR Compilation could not be completed. This can be just a - * judgment by the CompileProc that the command is too - * complex to compile effectively, or it can indicate - * that in the current state of the interp, the command - * would raise an error. The bytecode compiler will not - * do any error reporting at compiler time. Error - * reporting is deferred until the actual runtime, - * because by then changes in the interp state may allow - * the command to be successfully evaluated. - * TCL_OUT_LINE_COMPILE A source-compatible alias for TCL_ERROR, kept for the - * sake of old code only. - */ - -#define TCL_OUT_LINE_COMPILE TCL_ERROR - -typedef int (CompileProc)(Tcl_Interp *interp, Tcl_Parse *parsePtr, - struct Command *cmdPtr, struct CompileEnv *compEnvPtr); - -/* - * The type of procedure called from the compilation hook point in - * SetByteCodeFromAny. - */ - -typedef int (CompileHookProc)(Tcl_Interp *interp, - struct CompileEnv *compEnvPtr, ClientData clientData); - -/* - * The data structure for a (linked list of) execution stacks. - */ - -typedef struct ExecStack { - struct ExecStack *prevPtr; - struct ExecStack *nextPtr; - Tcl_Obj **markerPtr; - Tcl_Obj **endPtr; - Tcl_Obj **tosPtr; - Tcl_Obj *stackWords[1]; -} ExecStack; - -/* - * The data structure defining the execution environment for ByteCode's. - * There is one ExecEnv structure per Tcl interpreter. It holds the evaluation - * stack that holds command operands and results. The stack grows towards - * increasing addresses. The member stackPtr points to the stackItems of the - * currently active execution stack. - */ - -typedef struct CorContext { - struct CallFrame *framePtr; - struct CallFrame *varFramePtr; - struct CmdFrame *cmdFramePtr; -} CorContext; - -typedef struct CoroutineData { - struct Command *cmdPtr; - struct ExecEnv *eePtr; - struct ExecEnv *callerEEPtr; - CorContext caller; - CorContext running; - CorContext base; - int *stackLevel; - int auxNumLevels; /* While the coroutine is running the numLevels of the - * create/resume command is stored here; for suspended - * coroutines it holds the nesting numLevels at yield*/ -} CoroutineData; - -typedef struct ExecEnv { - ExecStack *execStackPtr; /* Points to the first item in the evaluation - * stack on the heap. */ - Tcl_Obj *constants[2]; /* Pointers to constant "0" and "1" objs. */ - struct Tcl_Interp *interp; - struct TEOV_callback *callbackPtr; - /* Top callback in TEOV's stack */ - struct CoroutineData *corPtr; - struct BottomData *bottomPtr; - int rewind; -} ExecEnv; - -#define COR_IS_SUSPENDED(corPtr) \ - ((corPtr)->stackLevel == NULL) - -/* - * The definitions for the LiteralTable and LiteralEntry structures. Each - * interpreter contains a LiteralTable. It is used to reduce the storage - * needed for all the Tcl objects that hold the literals of scripts compiled - * by the interpreter. A literal's object is shared by all the ByteCodes that - * refer to the literal. Each distinct literal has one LiteralEntry entry in - * the LiteralTable. A literal table is a specialized hash table that is - * indexed by the literal's string representation, which may contain null - * characters. - * - * Note that we reduce the space needed for literals by sharing literal - * objects both within a ByteCode (each ByteCode contains a local - * LiteralTable) and across all an interpreter's ByteCodes (with the - * interpreter's global LiteralTable). - */ - -typedef struct LiteralEntry { - struct LiteralEntry *nextPtr; - /* Points to next entry in this hash bucket or - * NULL if end of chain. */ - Tcl_Obj *objPtr; /* Points to Tcl object that holds the - * literal's bytes and length. */ - int refCount; /* If in an interpreter's global literal - * table, the number of ByteCode structures - * that share the literal object; the literal - * entry can be freed when refCount drops to - * 0. If in a local literal table, -1. */ - Namespace *nsPtr; /* Namespace in which this literal is used. We - * try to avoid sharing literal non-FQ command - * names among different namespaces to reduce - * shimmering. */ -} LiteralEntry; - -typedef struct LiteralTable { - LiteralEntry **buckets; /* Pointer to bucket array. Each element - * points to first entry in bucket's hash - * chain, or NULL. */ - LiteralEntry *staticBuckets[TCL_SMALL_HASH_TABLE]; - /* Bucket array used for small tables to avoid - * mallocs and frees. */ - int numBuckets; /* Total number of buckets allocated at - * **buckets. */ - int numEntries; /* Total number of entries present in - * table. */ - int rebuildSize; /* Enlarge table when numEntries gets to be - * this large. */ - int mask; /* Mask value used in hashing function. */ -} LiteralTable; - -/* - * The following structure defines for each Tcl interpreter various - * statistics-related information about the bytecode compiler and - * interpreter's operation in that interpreter. - */ - -#ifdef TCL_COMPILE_STATS -typedef struct ByteCodeStats { - long numExecutions; /* Number of ByteCodes executed. */ - long numCompilations; /* Number of ByteCodes created. */ - long numByteCodesFreed; /* Number of ByteCodes destroyed. */ - long instructionCount[256]; /* Number of times each instruction was - * executed. */ - - double totalSrcBytes; /* Total source bytes ever compiled. */ - double totalByteCodeBytes; /* Total bytes for all ByteCodes. */ - double currentSrcBytes; /* Src bytes for all current ByteCodes. */ - double currentByteCodeBytes;/* Code bytes in all current ByteCodes. */ - - long srcCount[32]; /* Source size distribution: # of srcs of - * size [2**(n-1)..2**n), n in [0..32). */ - long byteCodeCount[32]; /* ByteCode size distribution. */ - long lifetimeCount[32]; /* ByteCode lifetime distribution (ms). */ - - double currentInstBytes; /* Instruction bytes-current ByteCodes. */ - double currentLitBytes; /* Current literal bytes. */ - double currentExceptBytes; /* Current exception table bytes. */ - double currentAuxBytes; /* Current auxiliary information bytes. */ - double currentCmdMapBytes; /* Current src<->code map bytes. */ - - long numLiteralsCreated; /* Total literal objects ever compiled. */ - double totalLitStringBytes; /* Total string bytes in all literals. */ - double currentLitStringBytes; - /* String bytes in current literals. */ - long literalCount[32]; /* Distribution of literal string sizes. */ -} ByteCodeStats; -#endif /* TCL_COMPILE_STATS */ - -/* - * Structure used in implementation of those core ensembles which are - * partially compiled. - */ - -typedef struct { - const char *name; /* The name of the subcommand. */ - Tcl_ObjCmdProc *proc; /* The implementation of the subcommand. */ - CompileProc *compileProc; /* The compiler for the subcommand. */ - Tcl_ObjCmdProc *nreProc; /* NRE implementation of this command */ -} EnsembleImplMap; - -/* - *---------------------------------------------------------------- - * Data structures related to commands. - *---------------------------------------------------------------- - */ - -/* - * An imported command is created in an namespace when it imports a "real" - * command from another namespace. An imported command has a Command structure - * that points (via its ClientData value) to the "real" Command structure in - * the source namespace's command table. The real command records all the - * imported commands that refer to it in a list of ImportRef structures so - * that they can be deleted when the real command is deleted. - */ - -typedef struct ImportRef { - struct Command *importedCmdPtr; - /* Points to the imported command created in - * an importing namespace; this command - * redirects its invocations to the "real" - * command. */ - struct ImportRef *nextPtr; /* Next element on the linked list of imported - * commands that refer to the "real" command. - * The real command deletes these imported - * commands on this list when it is - * deleted. */ -} ImportRef; - -/* - * Data structure used as the ClientData of imported commands: commands - * created in an namespace when it imports a "real" command from another - * namespace. - */ - -typedef struct ImportedCmdData { - struct Command *realCmdPtr; /* "Real" command that this imported command - * refers to. */ - struct Command *selfPtr; /* Pointer to this imported command. Needed - * only when deleting it in order to remove it - * from the real command's linked list of - * imported commands that refer to it. */ -} ImportedCmdData; - -/* - * A Command structure exists for each command in a namespace. The Tcl_Command - * opaque type actually refers to these structures. - */ - -typedef struct Command { - Tcl_HashEntry *hPtr; /* Pointer to the hash table entry that refers - * to this command. The hash table is either a - * namespace's command table or an - * interpreter's hidden command table. This - * pointer is used to get a command's name - * from its Tcl_Command handle. NULL means - * that the hash table entry has been removed - * already (this can happen if deleteProc - * causes the command to be deleted or - * recreated). */ - Namespace *nsPtr; /* Points to the namespace containing this - * command. */ - int refCount; /* 1 if in command hashtable plus 1 for each - * reference from a CmdName Tcl object - * representing a command's name in a ByteCode - * instruction sequence. This structure can be - * freed when refCount becomes zero. */ - int cmdEpoch; /* Incremented to invalidate any references - * that point to this command when it is - * renamed, deleted, hidden, or exposed. */ - CompileProc *compileProc; /* Procedure called to compile command. NULL - * if no compile proc exists for command. */ - Tcl_ObjCmdProc *objProc; /* Object-based command procedure. */ - ClientData objClientData; /* Arbitrary value passed to object proc. */ - Tcl_CmdProc *proc; /* String-based command procedure. */ - ClientData clientData; /* Arbitrary value passed to string proc. */ - Tcl_CmdDeleteProc *deleteProc; - /* Procedure invoked when deleting command to, - * e.g., free all client data. */ - ClientData deleteData; /* Arbitrary value passed to deleteProc. */ - int flags; /* Miscellaneous bits of information about - * command. See below for definitions. */ - ImportRef *importRefPtr; /* List of each imported Command created in - * another namespace when this command is - * imported. These imported commands redirect - * invocations back to this command. The list - * is used to remove all those imported - * commands when deleting this "real" - * command. */ - CommandTrace *tracePtr; /* First in list of all traces set for this - * command. */ - Tcl_ObjCmdProc *nreProc; /* NRE implementation of this command */ -} Command; - -/* - * Flag bits for commands. - * - * CMD_IS_DELETED - Means that the command is in the process of - * being deleted (its deleteProc is currently - * executing). Other attempts to delete the - * command should be ignored. - * CMD_TRACE_ACTIVE - 1 means that trace processing is currently - * underway for a rename/delete change. See the - * two flags below for which is currently being - * processed. - * CMD_HAS_EXEC_TRACES - 1 means that this command has at least one - * execution trace (as opposed to simple - * delete/rename traces) in its tracePtr list. - * TCL_TRACE_RENAME - A rename trace is in progress. Further - * recursive renames will not be traced. - * TCL_TRACE_DELETE - A delete trace is in progress. Further - * recursive deletes will not be traced. - * (these last two flags are defined in tcl.h) - */ - -#define CMD_IS_DELETED 0x1 -#define CMD_TRACE_ACTIVE 0x2 -#define CMD_HAS_EXEC_TRACES 0x4 - -/* - *---------------------------------------------------------------- - * Data structures related to name resolution procedures. - *---------------------------------------------------------------- - */ - -/* - * The interpreter keeps a linked list of name resolution schemes. The scheme - * for a namespace is consulted first, followed by the list of schemes in an - * interpreter, followed by the default name resolution in Tcl. Schemes are - * added/removed from the interpreter's list by calling Tcl_AddInterpResolver - * and Tcl_RemoveInterpResolver. - */ - -typedef struct ResolverScheme { - char *name; /* Name identifying this scheme. */ - Tcl_ResolveCmdProc *cmdResProc; - /* Procedure handling command name - * resolution. */ - Tcl_ResolveVarProc *varResProc; - /* Procedure handling variable name resolution - * for variables that can only be handled at - * runtime. */ - Tcl_ResolveCompiledVarProc *compiledVarResProc; - /* Procedure handling variable name resolution - * at compile time. */ - - struct ResolverScheme *nextPtr; - /* Pointer to next record in linked list. */ -} ResolverScheme; - -/* - * Forward declaration of the TIP#143 limit handler structure. - */ - -typedef struct LimitHandler LimitHandler; - -/* - * TIP #268. - * Values for the selection mode, i.e the package require preferences. - */ - -enum PkgPreferOptions { - PKG_PREFER_LATEST, PKG_PREFER_STABLE -}; - -/* - *---------------------------------------------------------------- - * This structure shadows the first few fields of the memory cache for the - * allocator defined in tclThreadAlloc.c; it has to be kept in sync with the - * definition there. - * Some macros require knowledge of some fields in the struct in order to - * avoid hitting the TSD unnecessarily. In order to facilitate this, a pointer - * to the relevant fields is kept in the objCache field in struct Interp. - *---------------------------------------------------------------- - */ - -typedef struct AllocCache { - struct Cache *nextPtr; /* Linked list of cache entries */ - Tcl_ThreadId owner; /* Which thread's cache is this? */ - Tcl_Obj *firstObjPtr; /* List of free objects for thread */ - int numObjects; /* Number of objects for thread */ -} AllocCache; - -/* - *---------------------------------------------------------------- - * This structure defines an interpreter, which is a collection of commands - * plus other state information related to interpreting commands, such as - * variable storage. Primary responsibility for this data structure is in - * tclBasic.c, but almost every Tcl source file uses something in here. - *---------------------------------------------------------------- - */ - -typedef struct Interp { - /* - * Note: the first three fields must match exactly the fields in a - * Tcl_Interp struct (see tcl.h). If you change one, be sure to change the - * other. - * - * The interpreter's result is held in both the string and the - * objResultPtr fields. These fields hold, respectively, the result's - * string or object value. The interpreter's result is always in the - * result field if that is non-empty, otherwise it is in objResultPtr. - * The two fields are kept consistent unless some C code sets - * interp->result directly. Programs should not access result and - * objResultPtr directly; instead, they should always get and set the - * result using procedures such as Tcl_SetObjResult, Tcl_GetObjResult, and - * Tcl_GetStringResult. See the SetResult man page for details. - */ - - char *result; /* If the last command returned a string - * result, this points to it. Should not be - * accessed directly; see comment above. */ - Tcl_FreeProc *freeProc; /* Zero means a string result is statically - * allocated. TCL_DYNAMIC means string result - * was allocated with ckalloc and should be - * freed with ckfree. Other values give - * address of procedure to invoke to free the - * string result. Tcl_Eval must free it before - * executing next command. */ - int errorLine; /* When TCL_ERROR is returned, this gives the - * line number in the command where the error - * occurred (1 means first line). */ - const struct TclStubs *stubTable; - /* Pointer to the exported Tcl stub table. On - * previous versions of Tcl this is a pointer - * to the objResultPtr or a pointer to a - * buckets array in a hash table. We therefore - * have to do some careful checking before we - * can use this. */ - - TclHandle handle; /* Handle used to keep track of when this - * interp is deleted. */ - - Namespace *globalNsPtr; /* The interpreter's global namespace. */ - Tcl_HashTable *hiddenCmdTablePtr; - /* Hash table used by tclBasic.c to keep track - * of hidden commands on a per-interp - * basis. */ - ClientData interpInfo; /* Information used by tclInterp.c to keep - * track of master/slave interps on a - * per-interp basis. */ - Tcl_HashTable unused2; /* No longer used (was mathFuncTable) */ - - /* - * Information related to procedures and variables. See tclProc.c and - * tclVar.c for usage. - */ - - int numLevels; /* Keeps track of how many nested calls to - * Tcl_Eval are in progress for this - * interpreter. It's used to delay deletion of - * the table until all Tcl_Eval invocations - * are completed. */ - int maxNestingDepth; /* If numLevels exceeds this value then Tcl - * assumes that infinite recursion has - * occurred and it generates an error. */ - CallFrame *framePtr; /* Points to top-most in stack of all nested - * procedure invocations. */ - CallFrame *varFramePtr; /* Points to the call frame whose variables - * are currently in use (same as framePtr - * unless an "uplevel" command is - * executing). */ - ActiveVarTrace *activeVarTracePtr; - /* First in list of active traces for interp, - * or NULL if no active traces. */ - int returnCode; /* [return -code] parameter */ - CallFrame *rootFramePtr; /* Global frame pointer for this interpreter */ - Namespace *lookupNsPtr; /* Namespace to use ONLY on the next - * TCL_EVAL_INVOKE call to Tcl_EvalObjv */ - - /* - * Information used by Tcl_AppendResult to keep track of partial results. - * See Tcl_AppendResult code for details. - */ - - char *appendResult; /* Storage space for results generated by - * Tcl_AppendResult. Ckalloc-ed. NULL means - * not yet allocated. */ - int appendAvl; /* Total amount of space available at - * partialResult. */ - int appendUsed; /* Number of non-null bytes currently stored - * at partialResult. */ - - /* - * Information about packages. Used only in tclPkg.c. - */ - - Tcl_HashTable packageTable; /* Describes all of the packages loaded in or - * available to this interpreter. Keys are - * package names, values are (Package *) - * pointers. */ - char *packageUnknown; /* Command to invoke during "package require" - * commands for packages that aren't described - * in packageTable. Ckalloc'ed, may be - * NULL. */ - /* - * Miscellaneous information: - */ - - int cmdCount; /* Total number of times a command procedure - * has been called for this interpreter. */ - int evalFlags; /* Flags to control next call to Tcl_Eval. - * Normally zero, but may be set before - * calling Tcl_Eval. See below for valid - * values. */ - int unused1; /* No longer used (was termOffset) */ - LiteralTable literalTable; /* Contains LiteralEntry's describing all Tcl - * objects holding literals of scripts - * compiled by the interpreter. Indexed by the - * string representations of literals. Used to - * avoid creating duplicate objects. */ - int compileEpoch; /* Holds the current "compilation epoch" for - * this interpreter. This is incremented to - * invalidate existing ByteCodes when, e.g., a - * command with a compile procedure is - * redefined. */ - Proc *compiledProcPtr; /* If a procedure is being compiled, a pointer - * to its Proc structure; otherwise, this is - * NULL. Set by ObjInterpProc in tclProc.c and - * used by tclCompile.c to process local - * variables appropriately. */ - ResolverScheme *resolverPtr; - /* Linked list of name resolution schemes - * added to this interpreter. Schemes are - * added and removed by calling - * Tcl_AddInterpResolvers and - * Tcl_RemoveInterpResolver respectively. */ - Tcl_Obj *scriptFile; /* NULL means there is no nested source - * command active; otherwise this points to - * pathPtr of the file being sourced. */ - int flags; /* Various flag bits. See below. */ - long randSeed; /* Seed used for rand() function. */ - Trace *tracePtr; /* List of traces for this interpreter. */ - Tcl_HashTable *assocData; /* Hash table for associating data with this - * interpreter. Cleaned up when this - * interpreter is deleted. */ - struct ExecEnv *execEnvPtr; /* Execution environment for Tcl bytecode - * execution. Contains a pointer to the Tcl - * evaluation stack. */ - Tcl_Obj *emptyObjPtr; /* Points to an object holding an empty - * string. Returned by Tcl_ObjSetVar2 when - * variable traces change a variable in a - * gross way. */ - char resultSpace[TCL_RESULT_SIZE+1]; - /* Static space holding small results. */ - Tcl_Obj *objResultPtr; /* If the last command returned an object - * result, this points to it. Should not be - * accessed directly; see comment above. */ - Tcl_ThreadId threadId; /* ID of thread that owns the interpreter */ - - ActiveCommandTrace *activeCmdTracePtr; - /* First in list of active command traces for - * interp, or NULL if no active traces. */ - ActiveInterpTrace *activeInterpTracePtr; - /* First in list of active traces for interp, - * or NULL if no active traces. */ - - int tracesForbiddingInline; /* Count of traces (in the list headed by - * tracePtr) that forbid inline bytecode - * compilation */ - - /* Fields used to manage extensible return options (TIP 90) */ - Tcl_Obj *returnOpts; /* A dictionary holding the options to the - * last [return] command */ - - Tcl_Obj *errorInfo; /* errorInfo value (now as a Tcl_Obj) */ - Tcl_Obj *eiVar; /* cached ref to ::errorInfo variable */ - Tcl_Obj *errorCode; /* errorCode value (now as a Tcl_Obj) */ - Tcl_Obj *ecVar; /* cached ref to ::errorInfo variable */ - int returnLevel; /* [return -level] parameter */ - - /* - * Resource limiting framework support (TIP#143). - */ - - struct { - int active; /* Flag values defining which limits have been - * set. */ - int granularityTicker; /* Counter used to determine how often to - * check the limits. */ - int exceeded; /* Which limits have been exceeded, described - * as flag values the same as the 'active' - * field. */ - - int cmdCount; /* Limit for how many commands to execute in - * the interpreter. */ - LimitHandler *cmdHandlers; - /* Handlers to execute when the limit is - * reached. */ - int cmdGranularity; /* Mod factor used to determine how often to - * evaluate the limit check. */ - - Tcl_Time time; /* Time limit for execution within the - * interpreter. */ - LimitHandler *timeHandlers; - /* Handlers to execute when the limit is - * reached. */ - int timeGranularity; /* Mod factor used to determine how often to - * evaluate the limit check. */ - Tcl_TimerToken timeEvent; - /* Handle for a timer callback that will occur - * when the time-limit is exceeded. */ - - Tcl_HashTable callbacks;/* Mapping from (interp,type) pair to data - * used to install a limit handler callback to - * run in _this_ interp when the limit is - * exceeded. */ - } limit; - - /* - * Information for improved default error generation from ensembles - * (TIP#112). - */ - - struct { - Tcl_Obj *const *sourceObjs; - /* What arguments were actually input into the - * *root* ensemble command? (Nested ensembles - * don't rewrite this.) NULL if we're not - * processing an ensemble. */ - int numRemovedObjs; /* How many arguments have been stripped off - * because of ensemble processing. */ - int numInsertedObjs; /* How many of the current arguments were - * inserted by an ensemble. */ - } ensembleRewrite; - - /* - * TIP #219 ... Global info for the I/O system ... - */ - - Tcl_Obj *chanMsg; /* Error message set by channel drivers, for - * the propagation of arbitrary Tcl errors. - * This information, if present (chanMsg not - * NULL), takes precedence over a POSIX error - * code returned by a channel operation. */ - - /* - * TIP #285, Script cancellation support. - */ - - Tcl_AsyncHandler asyncCancel; - /* Async handler token for Tcl_CancelEval. */ - Tcl_Obj *asyncCancelMsg; /* Error message set by async cancel handler - * for the propagation of arbitrary Tcl - * errors. This information, if present - * (asyncCancelMsg not NULL), takes precedence - * over the default error messages returned by - * a script cancellation operation. */ - - /* TIP #280 */ - CmdFrame *cmdFramePtr; /* Points to the command frame containing the - * location information for the current - * command. */ - const CmdFrame *invokeCmdFramePtr; - /* Points to the command frame which is the - * invoking context of the bytecode compiler. - * NULL when the byte code compiler is not - * active. */ - int invokeWord; /* Index of the word in the command which - * is getting compiled. */ - Tcl_HashTable *linePBodyPtr;/* This table remembers for each statically - * defined procedure the location information - * for its body. It is keyed by the address of - * the Proc structure for a procedure. The - * values are "struct CmdFrame*". */ - Tcl_HashTable *lineBCPtr; /* This table remembers for each ByteCode - * object the location information for its - * body. It is keyed by the address of the - * Proc structure for a procedure. The values - * are "struct ExtCmdLoc*". (See - * tclCompile.h) */ - Tcl_HashTable *lineLABCPtr; - Tcl_HashTable *lineLAPtr; /* This table remembers for each argument of a - * command on the execution stack the index of - * the argument in the command, and the - * location data of the command. It is keyed - * by the address of the Tcl_Obj containing - * the argument. The values are "struct - * CFWord*" (See tclBasic.c). This allows - * commands like uplevel, eval, etc. to find - * location information for their arguments, - * if they are a proper literal argument to an - * invoking command. Alt view: An index to the - * CmdFrame stack keyed by command argument - * holders. */ - /* - * TIP #268. The currently active selection mode, i.e. the package require - * preferences. - */ - - int packagePrefer; /* Current package selection mode. */ - - /* - * Hashtables for variable traces and searches - */ - - Tcl_HashTable varTraces; /* Hashtable holding the start of a variable's - * active trace list; varPtr is the key. */ - Tcl_HashTable varSearches; /* Hashtable holding the start of a variable's - * active searches list; varPtr is the key */ - /* - * The thread-specific data ekeko: cache pointers or values that - * (a) do not change during the thread's lifetime - * (b) require access to TSD to determine at runtime - * (c) are accessed very often (e.g., at each command call) - * - * Note that these are the same for all interps in the same thread. They - * just have to be initialised for the thread's master interp, slaves - * inherit the value. - * - * They are used by the macros defined below. - */ - - AllocCache *allocCache; - void *pendingObjDataPtr; /* Pointer to the Cache and PendingObjData - * structs for this interp's thread; see - * tclObj.c and tclThreadAlloc.c */ - int *asyncReadyPtr; /* Pointer to the asyncReady indicator for - * this interp's thread; see tclAsync.c */ - - /* - * The pointer to the object system root ekeko. c.f. TIP #257. - */ - - void *objectFoundation; /* Pointer to the Foundation structure of the - * object system, which contains things like - * references to key namespaces. See - * tclOOInt.h and tclOO.c for real definition - * and setup. */ - - struct TEOV_callback *atExitPtr; - /* Callbacks to be run after a command exited; - * this is only set for atProcExirt or - * tailcalls that fall back out of tebc. */ - -#ifdef TCL_COMPILE_STATS - /* - * Statistical information about the bytecode compiler and interpreter's - * operation. - */ - - ByteCodeStats stats; /* Holds compilation and execution statistics - * for this interpreter. */ -#endif /* TCL_COMPILE_STATS */ -} Interp; - -/* - * Macros that use the TSD-ekeko. - */ - -#define TclAsyncReady(iPtr) \ - *((iPtr)->asyncReadyPtr) - -/* - * General list of interpreters. Doubly linked for easier removal of items - * deep in the list. - */ - -typedef struct InterpList { - Interp *interpPtr; - struct InterpList *prevPtr; - struct InterpList *nextPtr; -} InterpList; - -/* - * Macros for splicing into and out of doubly linked lists. They assume - * existence of struct items 'prevPtr' and 'nextPtr'. - * - * a = element to add or remove. - * b = list head. - * - * TclSpliceIn adds to the head of the list. - */ - -#define TclSpliceIn(a,b) \ - (a)->nextPtr = (b); \ - if ((b) != NULL) { \ - (b)->prevPtr = (a); \ - } \ - (a)->prevPtr = NULL, (b) = (a); - -#define TclSpliceOut(a,b) \ - if ((a)->prevPtr != NULL) { \ - (a)->prevPtr->nextPtr = (a)->nextPtr; \ - } else { \ - (b) = (a)->nextPtr; \ - } \ - if ((a)->nextPtr != NULL) { \ - (a)->nextPtr->prevPtr = (a)->prevPtr; \ - } - -/* - * EvalFlag bits for Interp structures: - * - * TCL_ALLOW_EXCEPTIONS 1 means it's OK for the script to terminate with a - * code other than TCL_OK or TCL_ERROR; 0 means codes - * other than these should be turned into errors. - */ - -#define TCL_ALLOW_EXCEPTIONS 4 -#define TCL_EVAL_FILE 2 -#define TCL_EVAL_CTX 8 - -/* - * Flag bits for Interp structures: - * - * DELETED: Non-zero means the interpreter has been deleted: - * don't process any more commands for it, and destroy - * the structure as soon as all nested invocations of - * Tcl_Eval are done. - * ERR_ALREADY_LOGGED: Non-zero means information has already been logged in - * iPtr->errorInfo for the current Tcl_Eval instance, so - * Tcl_Eval needn't log it (used to implement the "error - * message log" command). - * DONT_COMPILE_CMDS_INLINE: Non-zero means that the bytecode compiler should - * not compile any commands into an inline sequence of - * instructions. This is set 1, for example, when command - * traces are requested. - * RAND_SEED_INITIALIZED: Non-zero means that the randSeed value of the interp - * has not be initialized. This is set 1 when we first - * use the rand() or srand() functions. - * SAFE_INTERP: Non zero means that the current interp is a safe - * interp (i.e. it has only the safe commands installed, - * less priviledge than a regular interp). - * INTERP_TRACE_IN_PROGRESS: Non-zero means that an interp trace is currently - * active; so no further trace callbacks should be - * invoked. - * INTERP_ALTERNATE_WRONG_ARGS: Used for listing second and subsequent forms - * of the wrong-num-args string in Tcl_WrongNumArgs. - * Makes it append instead of replacing and uses - * different intermediate text. - * CANCELED: Non-zero means that the script in progress should be - * canceled as soon as possible. This can be checked by - * extensions (and the core itself) by calling - * Tcl_Canceled and checking if TCL_ERROR is returned. - * This is a one-shot flag that is reset immediately upon - * being detected; however, if the TCL_CANCEL_UNWIND flag - * is set Tcl_Canceled will continue to report that the - * script in progress has been canceled thereby allowing - * the evaluation stack for the interp to be fully - * unwound. - * - * WARNING: For the sake of some extensions that have made use of former - * internal values, do not re-use the flag values 2 (formerly ERR_IN_PROGRESS) - * or 8 (formerly ERROR_CODE_SET). - */ - -#define DELETED 1 -#define ERR_ALREADY_LOGGED 4 -#define DONT_COMPILE_CMDS_INLINE 0x20 -#define RAND_SEED_INITIALIZED 0x40 -#define SAFE_INTERP 0x80 -#define INTERP_TRACE_IN_PROGRESS 0x200 -#define INTERP_ALTERNATE_WRONG_ARGS 0x400 -#define ERR_LEGACY_COPY 0x800 -#define CANCELED 0x1000 - -/* - * Maximum number of levels of nesting permitted in Tcl commands (used to - * catch infinite recursion). - */ - -#define MAX_NESTING_DEPTH 1000 - -/* - * TIP#143 limit handler internal representation. - */ - -struct LimitHandler { - int flags; /* The state of this particular handler. */ - Tcl_LimitHandlerProc *handlerProc; - /* The handler callback. */ - ClientData clientData; /* Opaque argument to the handler callback. */ - Tcl_LimitHandlerDeleteProc *deleteProc; - /* How to delete the clientData */ - LimitHandler *prevPtr; /* Previous item in linked list of handlers */ - LimitHandler *nextPtr; /* Next item in linked list of handlers */ -}; - -/* - * Values for the LimitHandler flags field. - * LIMIT_HANDLER_ACTIVE - Whether the handler is currently being - * processed; handlers are never to be entered reentrantly. - * LIMIT_HANDLER_DELETED - Whether the handler has been deleted. This - * should not normally be observed because when a handler is - * deleted it is also spliced out of the list of handlers, but - * even so we will be careful. - */ - -#define LIMIT_HANDLER_ACTIVE 0x01 -#define LIMIT_HANDLER_DELETED 0x02 - -/* - * The macro below is used to modify a "char" value (e.g. by casting it to an - * unsigned character) so that it can be used safely with macros such as - * isspace. - */ - -#define UCHAR(c) ((unsigned char) (c)) - -/* - * This macro is used to properly align the memory allocated by Tcl, giving - * the same alignment as the native malloc - */ - -#if defined(__APPLE__) -#define TCL_ALLOCALIGN 16 -#else -#define TCL_ALLOCALIGN (2*sizeof(void *)) -#endif - -/* - * This macro is used to determine the offset needed to safely allocate any - * data structure in memory. Given a starting offset or size, it "rounds up" - * or "aligns" the offset to the next 8-byte boundary so that any data - * structure can be placed at the resulting offset without fear of an - * alignment error. - * - * WARNING!! DO NOT USE THIS MACRO TO ALIGN POINTERS: it will produce the - * wrong result on platforms that allocate addresses that are divisible by 4 - * or 2. Only use it for offsets or sizes. - * - * This macro is only used by tclCompile.c in the core (Bug 926445). It - * however not be made file static, as extensions that touch bytecodes - * (notably tbcload) require it. - */ - -#define TCL_ALIGN(x) (((int)(x) + 7) & ~7) - -/* - * The following enum values are used to specify the runtime platform setting - * of the tclPlatform variable. - */ - -typedef enum { - TCL_PLATFORM_UNIX = 0, /* Any Unix-like OS. */ - TCL_PLATFORM_WINDOWS = 2 /* Any Microsoft Windows OS. */ -} TclPlatformType; - -/* - * The following enum values are used to indicate the translation of a Tcl - * channel. Declared here so that each platform can define - * TCL_PLATFORM_TRANSLATION to the native translation on that platform - */ - -typedef enum TclEolTranslation { - TCL_TRANSLATE_AUTO, /* Eol == \r, \n and \r\n. */ - TCL_TRANSLATE_CR, /* Eol == \r. */ - TCL_TRANSLATE_LF, /* Eol == \n. */ - TCL_TRANSLATE_CRLF /* Eol == \r\n. */ -} TclEolTranslation; - -/* - * Flags for TclInvoke: - * - * TCL_INVOKE_HIDDEN Invoke a hidden command; if not set, invokes - * an exposed command. - * TCL_INVOKE_NO_UNKNOWN If set, "unknown" is not invoked if the - * command to be invoked is not found. Only has - * an effect if invoking an exposed command, - * i.e. if TCL_INVOKE_HIDDEN is not also set. - * TCL_INVOKE_NO_TRACEBACK Does not record traceback information if the - * invoked command returns an error. Used if the - * caller plans on recording its own traceback - * information. - */ - -#define TCL_INVOKE_HIDDEN (1<<0) -#define TCL_INVOKE_NO_UNKNOWN (1<<1) -#define TCL_INVOKE_NO_TRACEBACK (1<<2) - -/* - * The structure used as the internal representation of Tcl list objects. This - * struct is grown (reallocated and copied) as necessary to hold all the - * list's element pointers. The struct might contain more slots than currently - * used to hold all element pointers. This is done to make append operations - * faster. - */ - -typedef struct List { - int refCount; - int maxElemCount; /* Total number of element array slots. */ - int elemCount; /* Current number of list elements. */ - int canonicalFlag; /* Set if the string representation was - * derived from the list representation. May - * be ignored if there is no string rep at - * all.*/ - Tcl_Obj *elements; /* First list element; the struct is grown to - * accomodate all elements. */ -} List; - -/* - * Macro used to get the elements of a list object. - */ - -#define ListRepPtr(listPtr) \ - ((List *) (listPtr)->internalRep.twoPtrValue.ptr1) - -#define ListObjGetElements(listPtr, objc, objv) \ - ((objv) = &(ListRepPtr(listPtr)->elements), \ - (objc) = ListRepPtr(listPtr)->elemCount) - -#define ListObjLength(listPtr, len) \ - ((len) = ListRepPtr(listPtr)->elemCount) - -#define TclListObjGetElements(interp, listPtr, objcPtr, objvPtr) \ - (((listPtr)->typePtr == &tclListType) \ - ? ((ListObjGetElements((listPtr), *(objcPtr), *(objvPtr))), TCL_OK)\ - : Tcl_ListObjGetElements((interp), (listPtr), (objcPtr), (objvPtr))) - -#define TclListObjLength(interp, listPtr, lenPtr) \ - (((listPtr)->typePtr == &tclListType) \ - ? ((ListObjLength((listPtr), *(lenPtr))), TCL_OK)\ - : Tcl_ListObjLength((interp), (listPtr), (lenPtr))) - -/* - * Macros providing a faster path to integers: Tcl_GetLongFromObj everywhere, - * Tcl_GetIntFromObj and TclGetIntForIndex on platforms where longs are ints. - * - * WARNING: these macros eval their args more than once. - */ - -#define TclGetLongFromObj(interp, objPtr, longPtr) \ - (((objPtr)->typePtr == &tclIntType) \ - ? ((*(longPtr) = (objPtr)->internalRep.longValue), TCL_OK) \ - : Tcl_GetLongFromObj((interp), (objPtr), (longPtr))) - -#if (LONG_MAX == INT_MAX) -#define TclGetIntFromObj(interp, objPtr, intPtr) \ - (((objPtr)->typePtr == &tclIntType) \ - ? ((*(intPtr) = (objPtr)->internalRep.longValue), TCL_OK) \ - : Tcl_GetIntFromObj((interp), (objPtr), (intPtr))) -#define TclGetIntForIndexM(interp, objPtr, endValue, idxPtr) \ - (((objPtr)->typePtr == &tclIntType) \ - ? ((*(idxPtr) = (objPtr)->internalRep.longValue), TCL_OK) \ - : TclGetIntForIndex((interp), (objPtr), (endValue), (idxPtr))) -#else -#define TclGetIntFromObj(interp, objPtr, intPtr) \ - Tcl_GetIntFromObj((interp), (objPtr), (intPtr)) -#define TclGetIntForIndexM(interp, objPtr, ignore, idxPtr) \ - TclGetIntForIndex(interp, objPtr, ignore, idxPtr) -#endif - -/* - * Flag values for TclTraceDictPath(). - * - * DICT_PATH_READ indicates that all entries on the path must exist but no - * updates will be needed. - * - * DICT_PATH_UPDATE indicates that we are going to be doing an update at the - * tip of the path, so duplication of shared objects should be done along the - * way. - * - * DICT_PATH_EXISTS indicates that we are performing an existance test and a - * lookup failure should therefore not be an error. If (and only if) this flag - * is set, TclTraceDictPath() will return the special value - * DICT_PATH_NON_EXISTENT if the path is not traceable. - * - * DICT_PATH_CREATE (which also requires the DICT_PATH_UPDATE bit to be set) - * indicates that we are to create non-existant dictionaries on the path. - */ - -#define DICT_PATH_READ 0 -#define DICT_PATH_UPDATE 1 -#define DICT_PATH_EXISTS 2 -#define DICT_PATH_CREATE 5 - -#define DICT_PATH_NON_EXISTENT ((Tcl_Obj *) (void *) 1) - -/* - *---------------------------------------------------------------- - * Data structures related to the filesystem internals - *---------------------------------------------------------------- - */ - -/* - * The version_2 filesystem is private to Tcl. As and when these changes have - * been thoroughly tested and investigated a new public filesystem interface - * will be released. The aim is more versatile virtual filesystem interfaces, - * more efficiency in 'path' manipulation and usage, and cleaner filesystem - * code internally. - */ - -#define TCL_FILESYSTEM_VERSION_2 ((Tcl_FSVersion) 0x2) -typedef ClientData (TclFSGetCwdProc2)(ClientData clientData); - -/* - * The following types are used for getting and storing platform-specific file - * attributes in tclFCmd.c and the various platform-versions of that file. - * This is done to have as much common code as possible in the file attributes - * code. For more information about the callbacks, see TclFileAttrsCmd in - * tclFCmd.c. - */ - -typedef int (TclGetFileAttrProc)(Tcl_Interp *interp, int objIndex, - Tcl_Obj *fileName, Tcl_Obj **attrObjPtrPtr); -typedef int (TclSetFileAttrProc)(Tcl_Interp *interp, int objIndex, - Tcl_Obj *fileName, Tcl_Obj *attrObjPtr); - -typedef struct TclFileAttrProcs { - TclGetFileAttrProc *getProc;/* The procedure for getting attrs. */ - TclSetFileAttrProc *setProc;/* The procedure for setting attrs. */ -} TclFileAttrProcs; - -/* - * Opaque handle used in pipeline routines to encapsulate platform-dependent - * state. - */ - -typedef struct TclFile_ *TclFile; - -/* - * The "globParameters" argument of the function TclGlob is an or'ed - * combination of the following values: - */ - -#define TCL_GLOBMODE_NO_COMPLAIN 1 -#define TCL_GLOBMODE_JOIN 2 -#define TCL_GLOBMODE_DIR 4 -#define TCL_GLOBMODE_TAILS 8 - -typedef enum Tcl_PathPart { - TCL_PATH_DIRNAME, - TCL_PATH_TAIL, - TCL_PATH_EXTENSION, - TCL_PATH_ROOT -} Tcl_PathPart; - -/* - *---------------------------------------------------------------- - * Data structures related to obsolete filesystem hooks - *---------------------------------------------------------------- - */ - -typedef int (TclStatProc_)(const char *path, struct stat *buf); -typedef int (TclAccessProc_)(const char *path, int mode); -typedef Tcl_Channel (TclOpenFileChannelProc_)(Tcl_Interp *interp, - const char *fileName, const char *modeString, int permissions); - -/* - *---------------------------------------------------------------- - * Data structures related to procedures - *---------------------------------------------------------------- - */ - -typedef Tcl_CmdProc *TclCmdProcType; -typedef Tcl_ObjCmdProc *TclObjCmdProcType; - -/* - *---------------------------------------------------------------- - * Data structures for process-global values. - *---------------------------------------------------------------- - */ - -typedef void (TclInitProcessGlobalValueProc)(char **valuePtr, int *lengthPtr, - Tcl_Encoding *encodingPtr); - -/* - * A ProcessGlobalValue struct exists for each internal value in Tcl that is - * to be shared among several threads. Each thread sees a (Tcl_Obj) copy of - * the value, and the master is kept as a counted string, with epoch and mutex - * control. Each ProcessGlobalValue struct should be a static variable in some - * file. - */ - -typedef struct ProcessGlobalValue { - int epoch; /* Epoch counter to detect changes in the - * master value. */ - int numBytes; /* Length of the master string. */ - char *value; /* The master string value. */ - Tcl_Encoding encoding; /* system encoding when master string was - * initialized. */ - TclInitProcessGlobalValueProc *proc; - /* A procedure to initialize the master string - * copy when a "get" request comes in before - * any "set" request has been received. */ - Tcl_Mutex mutex; /* Enforce orderly access from multiple - * threads. */ - Tcl_ThreadDataKey key; /* Key for per-thread data holding the - * (Tcl_Obj) copy for each thread. */ -} ProcessGlobalValue; - -/* - *---------------------------------------------------------------------- - * Flags for TclParseNumber - *---------------------------------------------------------------------- - */ - -#define TCL_PARSE_DECIMAL_ONLY 1 - /* Leading zero doesn't denote octal or hex */ -#define TCL_PARSE_OCTAL_ONLY 2 - /* Parse octal even without prefix */ -#define TCL_PARSE_HEXADECIMAL_ONLY 4 - /* Parse hexadecimal even without prefix */ -#define TCL_PARSE_INTEGER_ONLY 8 - /* Disable floating point parsing */ -#define TCL_PARSE_SCAN_PREFIXES 16 - /* Use [scan] rules dealing with 0? prefixes */ -#define TCL_PARSE_NO_WHITESPACE 32 - /* Reject leading/trailing whitespace */ - -/* - *---------------------------------------------------------------------- - * Type values TclGetNumberFromObj - *---------------------------------------------------------------------- - */ - -#define TCL_NUMBER_LONG 1 -#define TCL_NUMBER_WIDE 2 -#define TCL_NUMBER_BIG 3 -#define TCL_NUMBER_DOUBLE 4 -#define TCL_NUMBER_NAN 5 - -/* - *---------------------------------------------------------------- - * Variables shared among Tcl modules but not used by the outside world. - *---------------------------------------------------------------- - */ - -MODULE_SCOPE char *tclNativeExecutableName; -MODULE_SCOPE int tclFindExecutableSearchDone; -MODULE_SCOPE char *tclMemDumpFileName; -MODULE_SCOPE TclPlatformType tclPlatform; -MODULE_SCOPE Tcl_NotifierProcs tclNotifierHooks; - -/* - * TIP #233 (Virtualized Time) - * Data for the time hooks, if any. - */ - -MODULE_SCOPE Tcl_GetTimeProc *tclGetTimeProcPtr; -MODULE_SCOPE Tcl_ScaleTimeProc *tclScaleTimeProcPtr; -MODULE_SCOPE ClientData tclTimeClientData; - -/* - * Variables denoting the Tcl object types defined in the core. - */ - -MODULE_SCOPE Tcl_ObjType tclBignumType; -MODULE_SCOPE Tcl_ObjType tclBooleanType; -MODULE_SCOPE Tcl_ObjType tclByteArrayType; -MODULE_SCOPE Tcl_ObjType tclByteCodeType; -MODULE_SCOPE Tcl_ObjType tclDoubleType; -MODULE_SCOPE Tcl_ObjType tclEndOffsetType; -MODULE_SCOPE Tcl_ObjType tclIntType; -MODULE_SCOPE Tcl_ObjType tclListType; -MODULE_SCOPE Tcl_ObjType tclDictType; -MODULE_SCOPE Tcl_ObjType tclProcBodyType; -MODULE_SCOPE Tcl_ObjType tclStringType; -MODULE_SCOPE Tcl_ObjType tclArraySearchType; -MODULE_SCOPE Tcl_ObjType tclEnsembleCmdType; -#ifndef NO_WIDE_TYPE -MODULE_SCOPE Tcl_ObjType tclWideIntType; -#endif -MODULE_SCOPE Tcl_ObjType tclRegexpType; - -/* - * Variables denoting the hash key types defined in the core. - */ - -MODULE_SCOPE Tcl_HashKeyType tclArrayHashKeyType; -MODULE_SCOPE Tcl_HashKeyType tclOneWordHashKeyType; -MODULE_SCOPE Tcl_HashKeyType tclStringHashKeyType; -MODULE_SCOPE Tcl_HashKeyType tclObjHashKeyType; - -/* - * The head of the list of free Tcl objects, and the total number of Tcl - * objects ever allocated and freed. - */ - -MODULE_SCOPE Tcl_Obj * tclFreeObjList; - -#ifdef TCL_COMPILE_STATS -MODULE_SCOPE long tclObjsAlloced; -MODULE_SCOPE long tclObjsFreed; -#define TCL_MAX_SHARED_OBJ_STATS 5 -MODULE_SCOPE long tclObjsShared[TCL_MAX_SHARED_OBJ_STATS]; -#endif /* TCL_COMPILE_STATS */ - -/* - * Pointer to a heap-allocated string of length zero that the Tcl core uses as - * the value of an empty string representation for an object. This value is - * shared by all new objects allocated by Tcl_NewObj. - */ - -MODULE_SCOPE char * tclEmptyStringRep; -MODULE_SCOPE char tclEmptyString; - -/* - *---------------------------------------------------------------- - * Procedures shared among Tcl modules but not used by the outside world, - * introduced by/for NRE. - *---------------------------------------------------------------- - */ - -MODULE_SCOPE Tcl_ObjCmdProc TclNRNamespaceObjCmd; -MODULE_SCOPE Tcl_ObjCmdProc TclNRApplyObjCmd; -MODULE_SCOPE Tcl_ObjCmdProc TclNRUplevelObjCmd; -MODULE_SCOPE Tcl_ObjCmdProc TclNRCatchObjCmd; -MODULE_SCOPE Tcl_ObjCmdProc TclNRForObjCmd; -MODULE_SCOPE Tcl_ObjCmdProc TclNRForeachCmd; -MODULE_SCOPE Tcl_ObjCmdProc TclNRIfObjCmd; -MODULE_SCOPE Tcl_ObjCmdProc TclNRWhileObjCmd; - -MODULE_SCOPE Tcl_NRPostProc TclNRForIterCallback; -MODULE_SCOPE Tcl_ObjCmdProc TclNRAtProcExitObjCmd; -MODULE_SCOPE Tcl_ObjCmdProc TclNRCoroutineObjCmd; -MODULE_SCOPE Tcl_ObjCmdProc TclNRYieldObjCmd; - -/* - *---------------------------------------------------------------- - * Procedures shared among Tcl modules but not used by the outside world: - *---------------------------------------------------------------- - */ - -MODULE_SCOPE int TclNREvalCmd(Tcl_Interp * interp, Tcl_Obj * objPtr, - int flags); -MODULE_SCOPE void TclAdvanceLines(int *line, const char *start, - const char *end); -MODULE_SCOPE void TclArgumentEnter(Tcl_Interp *interp, - Tcl_Obj *objv[], int objc, CmdFrame *cf); -MODULE_SCOPE void TclArgumentRelease(Tcl_Interp *interp, - Tcl_Obj *objv[], int objc); -MODULE_SCOPE void TclArgumentBCEnter(Tcl_Interp *interp, - void *codePtr, CmdFrame *cfPtr); -MODULE_SCOPE void TclArgumentBCRelease(Tcl_Interp *interp, - void *codePtr); -MODULE_SCOPE void TclArgumentGet(Tcl_Interp *interp, Tcl_Obj *obj, - CmdFrame **cfPtrPtr, int *wordPtr); -MODULE_SCOPE int TclArraySet(Tcl_Interp *interp, - Tcl_Obj *arrayNameObj, Tcl_Obj *arrayElemObj); -MODULE_SCOPE double TclBignumToDouble(mp_int *bignum); -MODULE_SCOPE int TclByteArrayMatch(const unsigned char *string, - int strLen, const unsigned char *pattern, - int ptnLen, int flags); -MODULE_SCOPE double TclCeil(mp_int *a); -MODULE_SCOPE int TclCheckBadOctal(Tcl_Interp *interp,const char *value); -MODULE_SCOPE int TclChanCaughtErrorBypass(Tcl_Interp *interp, - Tcl_Channel chan); -MODULE_SCOPE int TclClearRootEnsemble(ClientData data[], - Tcl_Interp *interp, int result); -MODULE_SCOPE void TclCleanupLiteralTable(Tcl_Interp *interp, - LiteralTable *tablePtr); -MODULE_SCOPE int TclDoubleDigits(char *buf, double value, int *signum); -MODULE_SCOPE void TclDeleteNamespaceVars(Namespace *nsPtr); -/* TIP #280 - Modified token based evulation, with line information */ -MODULE_SCOPE int TclEvalEx(Tcl_Interp *interp, const char *script, - int numBytes, int flags, int line); -MODULE_SCOPE int TclFileAttrsCmd(Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE int TclFileCopyCmd(Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE int TclFileDeleteCmd(Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE int TclFileMakeDirsCmd(Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE int TclFileRenameCmd(Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE void TclFinalizeAllocSubsystem(void); -MODULE_SCOPE void TclFinalizeAsync(void); -MODULE_SCOPE void TclFinalizeDoubleConversion(void); -MODULE_SCOPE void TclFinalizeEncodingSubsystem(void); -MODULE_SCOPE void TclFinalizeEnvironment(void); -MODULE_SCOPE void TclFinalizeEvaluation(void); -MODULE_SCOPE void TclFinalizeExecution(void); -MODULE_SCOPE void TclFinalizeIOSubsystem(void); -MODULE_SCOPE void TclFinalizeFilesystem(void); -MODULE_SCOPE void TclResetFilesystem(void); -MODULE_SCOPE void TclFinalizeLoad(void); -MODULE_SCOPE void TclFinalizeLock(void); -MODULE_SCOPE void TclFinalizeMemorySubsystem(void); -MODULE_SCOPE void TclFinalizeNotifier(void); -MODULE_SCOPE void TclFinalizeObjects(void); -MODULE_SCOPE void TclFinalizePreserve(void); -MODULE_SCOPE void TclFinalizeSynchronization(void); -MODULE_SCOPE void TclFinalizeThreadAlloc(void); -MODULE_SCOPE void TclFinalizeThreadData(void); -MODULE_SCOPE double TclFloor(mp_int *a); -MODULE_SCOPE void TclFormatNaN(double value, char *buffer); -MODULE_SCOPE int TclFSFileAttrIndex(Tcl_Obj *pathPtr, - const char *attributeName, int *indexPtr); -MODULE_SCOPE int * TclGetAsyncReadyPtr(void); -MODULE_SCOPE Tcl_Obj * TclGetBgErrorHandler(Tcl_Interp *interp); -MODULE_SCOPE int TclGetChannelFromObj(Tcl_Interp *interp, - Tcl_Obj *objPtr, Tcl_Channel *chanPtr, - int *modePtr, int flags); -MODULE_SCOPE int TclGetNumberFromObj(Tcl_Interp *interp, - Tcl_Obj *objPtr, ClientData *clientDataPtr, - int *typePtr); -MODULE_SCOPE int TclGetOpenModeEx(Tcl_Interp *interp, - const char *modeString, int *seekFlagPtr, - int *binaryPtr); -MODULE_SCOPE Tcl_Obj * TclGetProcessGlobalValue(ProcessGlobalValue *pgvPtr); -MODULE_SCOPE const char *TclGetSrcInfoForCmd(Interp *iPtr, int *lenPtr); -MODULE_SCOPE int TclGlob(Tcl_Interp *interp, char *pattern, - Tcl_Obj *unquotedPrefix, int globFlags, - Tcl_GlobTypeData *types); -MODULE_SCOPE int TclIncrObj(Tcl_Interp *interp, Tcl_Obj *valuePtr, - Tcl_Obj *incrPtr); -MODULE_SCOPE Tcl_Obj * TclIncrObjVar2(Tcl_Interp *interp, Tcl_Obj *part1Ptr, - Tcl_Obj *part2Ptr, Tcl_Obj *incrPtr, int flags); -MODULE_SCOPE int TclInfoExistsCmd(ClientData dummy, Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE int TclInfoCoroutineCmd(ClientData dummy, Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE Tcl_Obj * TclInfoFrame(Tcl_Interp *interp, CmdFrame *framePtr); -MODULE_SCOPE int TclInfoGlobalsCmd(ClientData dummy, Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE int TclInfoLocalsCmd(ClientData dummy, Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE int TclInfoVarsCmd(ClientData dummy, Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE void TclInitAlloc(void); -MODULE_SCOPE void TclInitDbCkalloc(void); -MODULE_SCOPE void TclInitDoubleConversion(void); -MODULE_SCOPE void TclInitEmbeddedConfigurationInformation( - Tcl_Interp *interp); -MODULE_SCOPE void TclInitEncodingSubsystem(void); -MODULE_SCOPE void TclInitIOSubsystem(void); -MODULE_SCOPE void TclInitLimitSupport(Tcl_Interp *interp); -MODULE_SCOPE void TclInitNamespaceSubsystem(void); -MODULE_SCOPE void TclInitNotifier(void); -MODULE_SCOPE void TclInitObjSubsystem(void); -MODULE_SCOPE void TclInitSubsystems(void); -MODULE_SCOPE int TclInterpReady(Tcl_Interp *interp); -MODULE_SCOPE int TclIsLocalScalar(const char *src, int len); -MODULE_SCOPE int TclJoinThread(Tcl_ThreadId id, int *result); -MODULE_SCOPE void TclLimitRemoveAllHandlers(Tcl_Interp *interp); -MODULE_SCOPE Tcl_Obj * TclLindexList(Tcl_Interp *interp, - Tcl_Obj *listPtr, Tcl_Obj *argPtr); -MODULE_SCOPE Tcl_Obj * TclLindexFlat(Tcl_Interp *interp, Tcl_Obj *listPtr, - int indexCount, Tcl_Obj *const indexArray[]); -/* TIP #280 */ -MODULE_SCOPE void TclListLines(const char *listStr, int line, int n, - int *lines); -MODULE_SCOPE Tcl_Obj * TclListObjCopy(Tcl_Interp *interp, Tcl_Obj *listPtr); -MODULE_SCOPE int TclLoadFile(Tcl_Interp *interp, Tcl_Obj *pathPtr, - int symc, const char *symbols[], - Tcl_PackageInitProc **procPtrs[], - Tcl_LoadHandle *handlePtr, - ClientData *clientDataPtr, - Tcl_FSUnloadFileProc **unloadProcPtr); -MODULE_SCOPE Tcl_Obj * TclLsetList(Tcl_Interp *interp, Tcl_Obj *listPtr, - Tcl_Obj *indexPtr, Tcl_Obj *valuePtr); -MODULE_SCOPE Tcl_Obj * TclLsetFlat(Tcl_Interp *interp, Tcl_Obj *listPtr, - int indexCount, Tcl_Obj *const indexArray[], - Tcl_Obj *valuePtr); -MODULE_SCOPE Tcl_Command TclMakeEnsemble(Tcl_Interp *interp, const char *name, - const EnsembleImplMap map[]); -MODULE_SCOPE int TclMarkList(Tcl_Interp *interp, const char *list, - const char *end, int *argcPtr, - const int **argszPtr, const char ***argvPtr); -MODULE_SCOPE int TclMergeReturnOptions(Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[], Tcl_Obj **optionsPtrPtr, - int *codePtr, int *levelPtr); -MODULE_SCOPE int TclNokia770Doubles(); -MODULE_SCOPE void TclObjVarErrMsg(Tcl_Interp *interp, Tcl_Obj *part1Ptr, - Tcl_Obj *part2Ptr, const char *operation, - const char *reason, int index); -MODULE_SCOPE int TclObjInvokeNamespace(Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[], - Tcl_Namespace *nsPtr, int flags); -MODULE_SCOPE int TclObjUnsetVar2(Tcl_Interp *interp, - Tcl_Obj *part1Ptr, Tcl_Obj *part2Ptr, int flags); -MODULE_SCOPE int TclParseBackslash(const char *src, - int numBytes, int *readPtr, char *dst); -MODULE_SCOPE int TclParseHex(const char *src, int numBytes, - Tcl_UniChar *resultPtr); -MODULE_SCOPE int TclParseNumber(Tcl_Interp *interp, Tcl_Obj *objPtr, - const char *expected, const char *bytes, - int numBytes, const char **endPtrPtr, int flags); -MODULE_SCOPE void TclParseInit(Tcl_Interp *interp, const char *string, - int numBytes, Tcl_Parse *parsePtr); -MODULE_SCOPE int TclParseAllWhiteSpace(const char *src, int numBytes); -MODULE_SCOPE int TclProcessReturn(Tcl_Interp *interp, - int code, int level, Tcl_Obj *returnOpts); -MODULE_SCOPE int TclpObjLstat(Tcl_Obj *pathPtr, Tcl_StatBuf *buf); -MODULE_SCOPE Tcl_Obj * TclpTempFileName(void); -MODULE_SCOPE Tcl_Obj * TclNewFSPathObj(Tcl_Obj *dirPtr, const char *addStrRep, - int len); -MODULE_SCOPE int TclpDeleteFile(const char *path); -MODULE_SCOPE void TclpFinalizeCondition(Tcl_Condition *condPtr); -MODULE_SCOPE void TclpFinalizeMutex(Tcl_Mutex *mutexPtr); -MODULE_SCOPE void TclpFinalizePipes(void); -MODULE_SCOPE void TclpFinalizeSockets(void); -MODULE_SCOPE int TclpThreadCreate(Tcl_ThreadId *idPtr, - Tcl_ThreadCreateProc proc, ClientData clientData, - int stackSize, int flags); -MODULE_SCOPE int TclpFindVariable(const char *name, int *lengthPtr); -MODULE_SCOPE void TclpInitLibraryPath(char **valuePtr, - int *lengthPtr, Tcl_Encoding *encodingPtr); -MODULE_SCOPE void TclpInitLock(void); -MODULE_SCOPE void TclpInitPlatform(void); -MODULE_SCOPE void TclpInitUnlock(void); -MODULE_SCOPE int TclpLoadFile(Tcl_Interp *interp, Tcl_Obj *pathPtr, - const char *sym1, const char *sym2, - Tcl_PackageInitProc **proc1Ptr, - Tcl_PackageInitProc **proc2Ptr, - ClientData *clientDataPtr, - Tcl_FSUnloadFileProc **unloadProcPtr); -MODULE_SCOPE Tcl_Obj * TclpObjListVolumes(void); -MODULE_SCOPE void TclpMasterLock(void); -MODULE_SCOPE void TclpMasterUnlock(void); -MODULE_SCOPE int TclpMatchFiles(Tcl_Interp *interp, char *separators, - Tcl_DString *dirPtr, char *pattern, char *tail); -MODULE_SCOPE int TclpObjNormalizePath(Tcl_Interp *interp, - Tcl_Obj *pathPtr, int nextCheckpoint); -MODULE_SCOPE void TclpNativeJoinPath(Tcl_Obj *prefix, char *joining); -MODULE_SCOPE Tcl_Obj * TclpNativeSplitPath(Tcl_Obj *pathPtr, int *lenPtr); -MODULE_SCOPE Tcl_PathType TclpGetNativePathType(Tcl_Obj *pathPtr, - int *driveNameLengthPtr, Tcl_Obj **driveNameRef); -MODULE_SCOPE int TclCrossFilesystemCopy(Tcl_Interp *interp, - Tcl_Obj *source, Tcl_Obj *target); -MODULE_SCOPE int TclpMatchInDirectory(Tcl_Interp *interp, - Tcl_Obj *resultPtr, Tcl_Obj *pathPtr, - const char *pattern, Tcl_GlobTypeData *types); -MODULE_SCOPE ClientData TclpGetNativeCwd(ClientData clientData); -MODULE_SCOPE Tcl_FSDupInternalRepProc TclNativeDupInternalRep; -MODULE_SCOPE Tcl_Obj * TclpObjLink(Tcl_Obj *pathPtr, Tcl_Obj *toPtr, - int linkType); -MODULE_SCOPE int TclpObjChdir(Tcl_Obj *pathPtr); -MODULE_SCOPE Tcl_Obj * TclPathPart(Tcl_Interp *interp, Tcl_Obj *pathPtr, - Tcl_PathPart portion); -MODULE_SCOPE void TclpPanic(const char *format, ...); -MODULE_SCOPE char * TclpReadlink(const char *fileName, - Tcl_DString *linkPtr); -MODULE_SCOPE void TclpReleaseFile(TclFile file); -MODULE_SCOPE void TclpSetInterfaces(void); -MODULE_SCOPE void TclpSetVariables(Tcl_Interp *interp); -MODULE_SCOPE void TclpUnloadFile(Tcl_LoadHandle loadHandle); -MODULE_SCOPE void * TclThreadStorageKeyGet(Tcl_ThreadDataKey *keyPtr); -MODULE_SCOPE void TclThreadStorageKeySet(Tcl_ThreadDataKey *keyPtr, - void *data); -MODULE_SCOPE void TclpThreadExit(int status); -MODULE_SCOPE void TclRememberCondition(Tcl_Condition *mutex); -MODULE_SCOPE void TclRememberJoinableThread(Tcl_ThreadId id); -MODULE_SCOPE void TclRememberMutex(Tcl_Mutex *mutex); -MODULE_SCOPE void TclRemoveScriptLimitCallbacks(Tcl_Interp *interp); -MODULE_SCOPE int TclReToGlob(Tcl_Interp *interp, const char *reStr, - int reStrLen, Tcl_DString *dsPtr, int *flagsPtr); -MODULE_SCOPE void TclSetBgErrorHandler(Tcl_Interp *interp, - Tcl_Obj *cmdPrefix); -MODULE_SCOPE void TclSetBignumIntRep(Tcl_Obj *objPtr, - mp_int *bignumValue); -MODULE_SCOPE void TclSetCmdNameObj(Tcl_Interp *interp, Tcl_Obj *objPtr, - Command *cmdPtr); -MODULE_SCOPE void TclSetProcessGlobalValue(ProcessGlobalValue *pgvPtr, - Tcl_Obj *newValue, Tcl_Encoding encoding); -MODULE_SCOPE void TclSignalExitThread(Tcl_ThreadId id, int result); -MODULE_SCOPE void * TclStackRealloc(Tcl_Interp *interp, void *ptr, - int numBytes); -MODULE_SCOPE int TclStringMatch(const char *str, int strLen, - const char *pattern, int ptnLen, int flags); -MODULE_SCOPE int TclStringMatchObj(Tcl_Obj *stringObj, - Tcl_Obj *patternObj, int flags); -MODULE_SCOPE Tcl_Obj * TclStringObjReverse(Tcl_Obj *objPtr); -MODULE_SCOPE int TclSubstTokens(Tcl_Interp *interp, Tcl_Token *tokenPtr, - int count, int *tokensLeftPtr, int line); -MODULE_SCOPE void TclTransferResult(Tcl_Interp *sourceInterp, int result, - Tcl_Interp *targetInterp); -MODULE_SCOPE Tcl_Obj * TclpNativeToNormalized(ClientData clientData); -MODULE_SCOPE Tcl_Obj * TclpFilesystemPathType(Tcl_Obj *pathPtr); -MODULE_SCOPE Tcl_PackageInitProc *TclpFindSymbol(Tcl_Interp *interp, - Tcl_LoadHandle loadHandle, const char *symbol); -MODULE_SCOPE int TclpDlopen(Tcl_Interp *interp, Tcl_Obj *pathPtr, - Tcl_LoadHandle *loadHandle, - Tcl_FSUnloadFileProc **unloadProcPtr); -MODULE_SCOPE int TclpUtime(Tcl_Obj *pathPtr, struct utimbuf *tval); -#ifdef TCL_LOAD_FROM_MEMORY -MODULE_SCOPE void * TclpLoadMemoryGetBuffer(Tcl_Interp *interp, int size); -MODULE_SCOPE int TclpLoadMemory(Tcl_Interp *interp, void *buffer, - int size, int codeSize, Tcl_LoadHandle *loadHandle, - Tcl_FSUnloadFileProc **unloadProcPtr); -#endif -MODULE_SCOPE void TclInitThreadStorage(void); -MODULE_SCOPE void TclFinalizeThreadDataThread(void); -MODULE_SCOPE void TclFinalizeThreadStorage(void); -#ifdef TCL_WIDE_CLICKS -MODULE_SCOPE Tcl_WideInt TclpGetWideClicks(void); -MODULE_SCOPE double TclpWideClicksToNanoseconds(Tcl_WideInt clicks); -#endif -MODULE_SCOPE Tcl_Obj * TclDisassembleByteCodeObj(Tcl_Obj *objPtr); - -MODULE_SCOPE void * TclpThreadCreateKey(void); -MODULE_SCOPE void TclpThreadDeleteKey(void *keyPtr); -MODULE_SCOPE void TclpThreadSetMasterTSD(void *tsdKeyPtr, void *ptr); -MODULE_SCOPE void * TclpThreadGetMasterTSD(void *tsdKeyPtr); - -/* - *---------------------------------------------------------------- - * Command procedures in the generic core: - *---------------------------------------------------------------- - */ - -MODULE_SCOPE int Tcl_AfterObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_AppendObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ApplyObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ArrayObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE Tcl_Command TclInitBinaryCmd(Tcl_Interp *interp); -MODULE_SCOPE int Tcl_BreakObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_CaseObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_CatchObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_CdObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE Tcl_Command TclInitChanCmd(Tcl_Interp *interp); -MODULE_SCOPE int TclChanCreateObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclChanPostEventObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclChanPopObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE int TclChanPushObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE void TclClockInit(Tcl_Interp *interp); -MODULE_SCOPE int TclClockOldscanObjCmd( - ClientData clientData, Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_CloseObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ConcatObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ContinueObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE Tcl_TimerToken TclCreateAbsoluteTimerHandler( - Tcl_Time *timePtr, Tcl_TimerProc *proc, - ClientData clientData); -MODULE_SCOPE int TclDefaultBgErrorHandlerObjCmd( - ClientData clientData, Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE Tcl_Command TclInitDictCmd(Tcl_Interp *interp); -MODULE_SCOPE int Tcl_DisassembleObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_EncodingObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_EofObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ErrorObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_EvalObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ExecObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ExitObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ExprObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_FblockedObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_FconfigureObjCmd( - ClientData clientData, Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_FcopyObjCmd(ClientData dummy, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_FileObjCmd(ClientData dummy, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_FileEventObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_FlushObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ForObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ForeachObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_FormatObjCmd(ClientData dummy, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_GetsObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_GlobalObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_GlobObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_IfObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_IncrObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE Tcl_Command TclInitInfoCmd(Tcl_Interp *interp); -MODULE_SCOPE int Tcl_InterpObjCmd(ClientData clientData, - Tcl_Interp *interp, int argc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_JoinObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LappendObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LassignObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LindexObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LinsertObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LlengthObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ListObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LoadObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LrangeObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LrepeatObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LreplaceObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LreverseObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LsearchObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LsetObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_LsortObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_NamespaceObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_OpenObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_PackageObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_PidObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE Tcl_Command TclInitPrefixCmd(Tcl_Interp *interp); -MODULE_SCOPE int Tcl_PutsObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_PwdObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ReadObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_RegexpObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_RegsubObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_RenameObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ReturnObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_ScanObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_SeekObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_SetObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_SplitObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_SocketObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_SourceObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE Tcl_Command TclInitStringCmd(Tcl_Interp *interp); -MODULE_SCOPE int Tcl_SubstObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_SwitchObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_TellObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_TimeObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_TraceObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_UnloadObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_UnsetObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_UpdateObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_UplevelObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_UpvarObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_VariableObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_VwaitObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tcl_WhileObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); - -/* - *---------------------------------------------------------------- - * Compilation procedures for commands in the generic core: - *---------------------------------------------------------------- - */ - -MODULE_SCOPE int TclCompileAppendCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileBreakCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileCatchCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileContinueCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileDictAppendCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileDictForCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileDictGetCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileDictIncrCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileDictLappendCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileDictSetCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileDictUpdateCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileEnsemble(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileExprCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileForCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileForeachCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileGlobalCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileIfCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileInfoExistsCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileIncrCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileLappendCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileLassignCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileLindexCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileListCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileLlengthCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileLsetCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileNamespaceCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileNoOp(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileRegexpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileReturnCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileSetCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileStringCmpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileStringEqualCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileStringIndexCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileStringLenCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileStringMatchCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileSwitchCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileUpvarCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileVariableCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclCompileWhileCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); - -MODULE_SCOPE int TclInvertOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileInvertOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclNotOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileNotOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclAddOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileAddOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclMulOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileMulOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclAndOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileAndOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclOrOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileOrOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclXorOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileXorOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclPowOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompilePowOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclLshiftOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileLshiftOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclRshiftOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileRshiftOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclModOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileModOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclNeqOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileNeqOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclStrneqOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileStrneqOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclInOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileInOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclNiOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileNiOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclMinusOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileMinusOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclDivOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileDivOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclLessOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileLessOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclLeqOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileLeqOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclGreaterOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileGreaterOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclGeqOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileGeqOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclEqOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileEqOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); -MODULE_SCOPE int TclStreqOpCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int TclCompileStreqOpCmd(Tcl_Interp *interp, - Tcl_Parse *parsePtr, Command *cmdPtr, - struct CompileEnv *envPtr); - -/* - * Functions defined in generic/tclVar.c and currenttly exported only for use - * by the bytecode compiler and engine. Some of these could later be placed in - * the public interface. - */ - -MODULE_SCOPE Var * TclObjLookupVarEx(Tcl_Interp * interp, - Tcl_Obj *part1Ptr, Tcl_Obj *part2Ptr, int flags, - const char *msg, const int createPart1, - const int createPart2, Var **arrayPtrPtr); -MODULE_SCOPE Var * TclLookupArrayElement(Tcl_Interp *interp, - Tcl_Obj *arrayNamePtr, Tcl_Obj *elNamePtr, - const int flags, const char *msg, - const int createPart1, const int createPart2, - Var *arrayPtr, int index); -MODULE_SCOPE Tcl_Obj * TclPtrGetVar(Tcl_Interp *interp, - Var *varPtr, Var *arrayPtr, Tcl_Obj *part1Ptr, - Tcl_Obj *part2Ptr, const int flags, int index); -MODULE_SCOPE Tcl_Obj * TclPtrSetVar(Tcl_Interp *interp, - Var *varPtr, Var *arrayPtr, Tcl_Obj *part1Ptr, - Tcl_Obj *part2Ptr, Tcl_Obj *newValuePtr, - const int flags, int index); -MODULE_SCOPE Tcl_Obj * TclPtrIncrObjVar(Tcl_Interp *interp, - Var *varPtr, Var *arrayPtr, Tcl_Obj *part1Ptr, - Tcl_Obj *part2Ptr, Tcl_Obj *incrPtr, - const int flags, int index); -MODULE_SCOPE int TclPtrObjMakeUpvar(Tcl_Interp *interp, Var *otherPtr, - Tcl_Obj *myNamePtr, int myFlags, int index); -MODULE_SCOPE void TclInvalidateNsPath(Namespace *nsPtr); - -/* - * The new extended interface to the variable traces. - */ - -MODULE_SCOPE int TclObjCallVarTraces(Interp *iPtr, Var *arrayPtr, - Var *varPtr, Tcl_Obj *part1Ptr, Tcl_Obj *part2Ptr, - int flags, int leaveErrMsg, int index); - -/* - * So tclObj.c and tclDictObj.c can share these implementations. - */ - -MODULE_SCOPE int TclCompareObjKeys(void *keyPtr, Tcl_HashEntry *hPtr); -MODULE_SCOPE void TclFreeObjEntry(Tcl_HashEntry *hPtr); -MODULE_SCOPE unsigned TclHashObjKey(Tcl_HashTable *tablePtr, void *keyPtr); - -/* - *---------------------------------------------------------------- - * Macros used by the Tcl core to create and release Tcl objects. - * TclNewObj(objPtr) creates a new object denoting an empty string. - * TclDecrRefCount(objPtr) decrements the object's reference count, and frees - * the object if its reference count is zero. These macros are inline versions - * of Tcl_NewObj() and Tcl_DecrRefCount(). Notice that the names differ in not - * having a "_" after the "Tcl". Notice also that these macros reference their - * argument more than once, so you should avoid calling them with an - * expression that is expensive to compute or has side effects. The ANSI C - * "prototypes" for these macros are: - * - * MODULE_SCOPE void TclNewObj(Tcl_Obj *objPtr); - * MODULE_SCOPE void TclDecrRefCount(Tcl_Obj *objPtr); - * - * These macros are defined in terms of two macros that depend on memory - * allocator in use: TclAllocObjStorage, TclFreeObjStorage. They are defined - * below. - *---------------------------------------------------------------- - */ - -/* - * DTrace object allocation probe macros. - */ - -#ifdef USE_DTRACE -#ifndef _TCLDTRACE_H -typedef const char* TclDTraceStr; -#include "tclDTrace.h" -#endif -#define TCL_DTRACE_OBJ_CREATE(objPtr) TCL_OBJ_CREATE(objPtr) -#define TCL_DTRACE_OBJ_FREE(objPtr) TCL_OBJ_FREE(objPtr) -#else /* USE_DTRACE */ -#define TCL_DTRACE_OBJ_CREATE(objPtr) {} -#define TCL_DTRACE_OBJ_FREE(objPtr) {} -#endif /* USE_DTRACE */ - -#ifdef TCL_COMPILE_STATS -# define TclIncrObjsAllocated() \ - tclObjsAlloced++ -# define TclIncrObjsFreed() \ - tclObjsFreed++ -#else -# define TclIncrObjsAllocated() -# define TclIncrObjsFreed() -#endif /* TCL_COMPILE_STATS */ - -# define TclAllocObjStorage(objPtr) \ - TclAllocObjStorageEx(NULL, (objPtr)) - -# define TclFreeObjStorage(objPtr) \ - TclFreeObjStorageEx(NULL, (objPtr)) - -#ifndef TCL_MEM_DEBUG -# define TclNewObj(objPtr) \ - TclIncrObjsAllocated(); \ - TclAllocObjStorage(objPtr); \ - (objPtr)->refCount = 0; \ - (objPtr)->bytes = tclEmptyStringRep; \ - (objPtr)->length = 0; \ - (objPtr)->typePtr = NULL; \ - TCL_DTRACE_OBJ_CREATE(objPtr) - -/* - * Invalidate the string rep first so we can use the bytes value for our - * pointer chain, and signal an obj deletion (as opposed to shimmering) with - * 'length == -1'. - * Use empty 'if ; else' to handle use in unbraced outer if/else conditions - */ - -# define TclDecrRefCount(objPtr) \ - if (--(objPtr)->refCount > 0) ; else { \ - if (!(objPtr)->typePtr || !(objPtr)->typePtr->freeIntRepProc) { \ - TCL_DTRACE_OBJ_FREE(objPtr); \ - if ((objPtr)->bytes \ - && ((objPtr)->bytes != tclEmptyStringRep)) { \ - ckfree((char *) (objPtr)->bytes); \ - } \ - (objPtr)->length = -1; \ - TclFreeObjStorage(objPtr); \ - TclIncrObjsFreed(); \ - } else { \ - TclFreeObj(objPtr); \ - } \ - } - -#if defined(PURIFY) - -/* - * The PURIFY mode is like the regular mode, but instead of doing block - * Tcl_Obj allocation and keeping a freed list for efficiency, it always - * allocates and frees a single Tcl_Obj so that tools like Purify can better - * track memory leaks - */ - -# define TclAllocObjStorageEx(interp, objPtr) \ - (objPtr) = (Tcl_Obj *) Tcl_Alloc(sizeof(Tcl_Obj)) - -# define TclFreeObjStorageEx(interp, objPtr) \ - ckfree((char *) (objPtr)) - -#undef USE_THREAD_ALLOC -#elif defined(TCL_THREADS) && defined(USE_THREAD_ALLOC) - -/* - * The TCL_THREADS mode is like the regular mode but allocates Tcl_Obj's from - * per-thread caches. - */ - -MODULE_SCOPE Tcl_Obj * TclThreadAllocObj(void); -MODULE_SCOPE void TclThreadFreeObj(Tcl_Obj *); -MODULE_SCOPE Tcl_Mutex *TclpNewAllocMutex(void); -MODULE_SCOPE void TclFreeAllocCache(void *); -MODULE_SCOPE void * TclpGetAllocCache(void); -MODULE_SCOPE void TclpSetAllocCache(void *); -MODULE_SCOPE void TclpFreeAllocMutex(Tcl_Mutex *mutex); -MODULE_SCOPE void TclpFreeAllocCache(void *); - -/* - * These macros need to be kept in sync with the code of TclThreadAllocObj() - * and TclThreadFreeObj(). - * - * Note that the optimiser should resolve the case (interp==NULL) at compile - * time. - */ - -# define ALLOC_NOBJHIGH 1200 - -# define TclAllocObjStorageEx(interp, objPtr) \ - do { \ - AllocCache *cachePtr; \ - if (((interp) == NULL) || \ - ((cachePtr = ((Interp *)(interp))->allocCache), \ - (cachePtr->numObjects == 0))) { \ - (objPtr) = TclThreadAllocObj(); \ - } else { \ - (objPtr) = cachePtr->firstObjPtr; \ - cachePtr->firstObjPtr = (objPtr)->internalRep.otherValuePtr; \ - --cachePtr->numObjects; \ - } \ - } while (0) - -# define TclFreeObjStorageEx(interp, objPtr) \ - do { \ - AllocCache *cachePtr; \ - if (((interp) == NULL) || \ - ((cachePtr = ((Interp *)(interp))->allocCache), \ - (cachePtr->numObjects >= ALLOC_NOBJHIGH))) { \ - TclThreadFreeObj(objPtr); \ - } else { \ - (objPtr)->internalRep.otherValuePtr = cachePtr->firstObjPtr; \ - cachePtr->firstObjPtr = objPtr; \ - ++cachePtr->numObjects; \ - } \ - } while (0) - -#else /* not PURIFY or USE_THREAD_ALLOC */ - -#ifdef TCL_THREADS -/* declared in tclObj.c */ -MODULE_SCOPE Tcl_Mutex tclObjMutex; -#endif - -# define TclAllocObjStorageEx(interp, objPtr) \ - Tcl_MutexLock(&tclObjMutex); \ - if (tclFreeObjList == NULL) { \ - TclAllocateFreeObjects(); \ - } \ - (objPtr) = tclFreeObjList; \ - tclFreeObjList = (Tcl_Obj *) \ - tclFreeObjList->internalRep.otherValuePtr; \ - Tcl_MutexUnlock(&tclObjMutex) - -# define TclFreeObjStorageEx(interp, objPtr) \ - Tcl_MutexLock(&tclObjMutex); \ - (objPtr)->internalRep.otherValuePtr = (void *) tclFreeObjList; \ - tclFreeObjList = (objPtr); \ - Tcl_MutexUnlock(&tclObjMutex) -#endif - -#else /* TCL_MEM_DEBUG */ -MODULE_SCOPE void TclDbInitNewObj(Tcl_Obj *objPtr); - -# define TclDbNewObj(objPtr, file, line) \ - TclIncrObjsAllocated(); \ - (objPtr) = (Tcl_Obj *) Tcl_DbCkalloc(sizeof(Tcl_Obj), (file), (line)); \ - TclDbInitNewObj(objPtr); \ - TCL_DTRACE_OBJ_CREATE(objPtr) - -# define TclNewObj(objPtr) \ - TclDbNewObj(objPtr, __FILE__, __LINE__); - -# define TclDecrRefCount(objPtr) \ - Tcl_DbDecrRefCount(objPtr, __FILE__, __LINE__) - -# define TclNewListObjDirect(objc, objv) \ - TclDbNewListObjDirect(objc, objv, __FILE__, __LINE__) - -#undef USE_THREAD_ALLOC -#endif /* TCL_MEM_DEBUG */ - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to set a Tcl_Obj's string representation to a - * copy of the "len" bytes starting at "bytePtr". This code works even if the - * byte array contains NULLs as long as the length is correct. Because "len" - * is referenced multiple times, it should be as simple an expression as - * possible. The ANSI C "prototype" for this macro is: - * - * MODULE_SCOPE void TclInitStringRep(Tcl_Obj *objPtr, char *bytePtr, int len); - * - * This macro should only be called on an unshared objPtr where - * objPtr->typePtr->freeIntRepProc == NULL - *---------------------------------------------------------------- - */ - -#define TclInitStringRep(objPtr, bytePtr, len) \ - if ((len) == 0) { \ - (objPtr)->bytes = tclEmptyStringRep; \ - (objPtr)->length = 0; \ - } else { \ - (objPtr)->bytes = (char *) ckalloc((unsigned) ((len) + 1)); \ - memcpy((objPtr)->bytes, (bytePtr), (unsigned) (len)); \ - (objPtr)->bytes[len] = '\0'; \ - (objPtr)->length = (len); \ - } - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to get the string representation's byte array - * pointer from a Tcl_Obj. This is an inline version of Tcl_GetString(). The - * macro's expression result is the string rep's byte pointer which might be - * NULL. The bytes referenced by this pointer must not be modified by the - * caller. The ANSI C "prototype" for this macro is: - * - * MODULE_SCOPE char * TclGetString(Tcl_Obj *objPtr); - *---------------------------------------------------------------- - */ - -#define TclGetString(objPtr) \ - ((objPtr)->bytes? (objPtr)->bytes : Tcl_GetString((objPtr))) - -#define TclGetStringFromObj(objPtr, lenPtr) \ - ((objPtr)->bytes \ - ? (*(lenPtr) = (objPtr)->length, (objPtr)->bytes) \ - : Tcl_GetStringFromObj((objPtr), (lenPtr))) - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to clean out an object's internal - * representation. Does not actually reset the rep's bytes. The ANSI C - * "prototype" for this macro is: - * - * MODULE_SCOPE void TclFreeIntRep(Tcl_Obj *objPtr); - *---------------------------------------------------------------- - */ - -#define TclFreeIntRep(objPtr) \ - if ((objPtr)->typePtr != NULL && \ - (objPtr)->typePtr->freeIntRepProc != NULL) { \ - (objPtr)->typePtr->freeIntRepProc(objPtr); \ - } - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to clean out an object's string representation. - * The ANSI C "prototype" for this macro is: - * - * MODULE_SCOPE void TclInvalidateStringRep(Tcl_Obj *objPtr); - *---------------------------------------------------------------- - */ - -#define TclInvalidateStringRep(objPtr) \ - if (objPtr->bytes != NULL) { \ - if (objPtr->bytes != tclEmptyStringRep) { \ - ckfree((char *) objPtr->bytes); \ - } \ - objPtr->bytes = NULL; \ - } - -/* - *---------------------------------------------------------------- - * Macros used by the Tcl core to grow Tcl_Token arrays. They use the same - * growth algorithm as used in tclStringObj.c for growing strings. The ANSI C - * "prototype" for this macro is: - * - * MODULE_SCOPE void TclGrowTokenArray(Tcl_Token *tokenPtr, int used, - * int available, int append, - * Tcl_Token *staticPtr); - * MODULE_SCOPE void TclGrowParseTokenArray(Tcl_Parse *parsePtr, - * int append); - *---------------------------------------------------------------- - */ - -#define TCL_MIN_TOKEN_GROWTH 50 -#define TclGrowTokenArray(tokenPtr, used, available, append, staticPtr) \ -{ \ - int needed = (used) + (append); \ - if (needed > (available)) { \ - int allocated = 2 * needed; \ - Tcl_Token *oldPtr = (tokenPtr); \ - Tcl_Token *newPtr; \ - if (oldPtr == (staticPtr)) { \ - oldPtr = NULL; \ - } \ - newPtr = (Tcl_Token *) attemptckrealloc((char *) oldPtr, \ - (unsigned) (allocated * sizeof(Tcl_Token))); \ - if (newPtr == NULL) { \ - allocated = needed + (append) + TCL_MIN_TOKEN_GROWTH; \ - newPtr = (Tcl_Token *) ckrealloc((char *) oldPtr, \ - (unsigned) (allocated * sizeof(Tcl_Token))); \ - } \ - (available) = allocated; \ - if (oldPtr == NULL) { \ - memcpy(newPtr, staticPtr, \ - (size_t) ((used) * sizeof(Tcl_Token))); \ - } \ - (tokenPtr) = newPtr; \ - } \ -} - -#define TclGrowParseTokenArray(parsePtr, append) \ - TclGrowTokenArray((parsePtr)->tokenPtr, (parsePtr)->numTokens, \ - (parsePtr)->tokensAvailable, (append), \ - (parsePtr)->staticTokens) - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core get a unicode char from a utf string. It checks - * to see if we have a one-byte utf char before calling the real - * Tcl_UtfToUniChar, as this will save a lot of time for primarily ASCII - * string handling. The macro's expression result is 1 for the 1-byte case or - * the result of Tcl_UtfToUniChar. The ANSI C "prototype" for this macro is: - * - * MODULE_SCOPE int TclUtfToUniChar(const char *string, Tcl_UniChar *ch); - *---------------------------------------------------------------- - */ - -#define TclUtfToUniChar(str, chPtr) \ - ((((unsigned char) *(str)) < 0xC0) ? \ - ((*(chPtr) = (Tcl_UniChar) *(str)), 1) \ - : Tcl_UtfToUniChar(str, chPtr)) - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to compare Unicode strings. On big-endian - * systems we can use the more efficient memcmp, but this would not be - * lexically correct on little-endian systems. The ANSI C "prototype" for - * this macro is: - * - * MODULE_SCOPE int TclUniCharNcmp(const Tcl_UniChar *cs, - * const Tcl_UniChar *ct, unsigned long n); - *---------------------------------------------------------------- - */ - -#ifdef WORDS_BIGENDIAN -# define TclUniCharNcmp(cs,ct,n) memcmp((cs),(ct),(n)*sizeof(Tcl_UniChar)) -#else /* !WORDS_BIGENDIAN */ -# define TclUniCharNcmp Tcl_UniCharNcmp -#endif /* WORDS_BIGENDIAN */ - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to increment a namespace's export export epoch - * counter. The ANSI C "prototype" for this macro is: - * - * MODULE_SCOPE void TclInvalidateNsCmdLookup(Namespace *nsPtr); - *---------------------------------------------------------------- - */ - -#define TclInvalidateNsCmdLookup(nsPtr) \ - if ((nsPtr)->numExportPatterns) { \ - (nsPtr)->exportLookupEpoch++; \ - } - -/* - *---------------------------------------------------------------------- - * - * Core procedures added to libtommath for bignum manipulation. - * - *---------------------------------------------------------------------- - */ - -MODULE_SCOPE int TclTommath_Init(Tcl_Interp *interp); -MODULE_SCOPE void TclBNInitBignumFromLong(mp_int *bignum, long initVal); -MODULE_SCOPE void TclBNInitBignumFromWideInt(mp_int *bignum, - Tcl_WideInt initVal); -MODULE_SCOPE void TclBNInitBignumFromWideUInt(mp_int *bignum, - Tcl_WideUInt initVal); - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to check whether a pattern has any characters - * special to [string match]. The ANSI C "prototype" for this macro is: - * - * MODULE_SCOPE int TclMatchIsTrivial(const char *pattern); - *---------------------------------------------------------------- - */ - -#define TclMatchIsTrivial(pattern) strpbrk((pattern), "*[?\\") == NULL - -/* - *---------------------------------------------------------------- - * Macro used by the Tcl core to write the string rep of a long integer to a - * character buffer. The ANSI C "prototype" for this macro is: - * - * MODULE_SCOPE int TclFormatInt(char *buf, long n); - *---------------------------------------------------------------- - */ - -#define TclFormatInt(buf, n) sprintf((buf), "%ld", (long)(n)) - -/* - *---------------------------------------------------------------- - * Macros used by the Tcl core to set a Tcl_Obj's numeric representation - * avoiding the corresponding function calls in time critical parts of the - * core. They should only be called on unshared objects. The ANSI C - * "prototypes" for these macros are: - * - * MODULE_SCOPE void TclSetIntObj(Tcl_Obj *objPtr, int intValue); - * MODULE_SCOPE void TclSetLongObj(Tcl_Obj *objPtr, long longValue); - * MODULE_SCOPE void TclSetBooleanObj(Tcl_Obj *objPtr, long boolValue); - * MODULE_SCOPE void TclSetWideIntObj(Tcl_Obj *objPtr, Tcl_WideInt w); - * MODULE_SCOPE void TclSetDoubleObj(Tcl_Obj *objPtr, double d); - *---------------------------------------------------------------- - */ - -#define TclSetIntObj(objPtr, i) \ - TclInvalidateStringRep(objPtr);\ - TclFreeIntRep(objPtr); \ - (objPtr)->internalRep.longValue = (long)(i); \ - (objPtr)->typePtr = &tclIntType - -#define TclSetLongObj(objPtr, l) \ - TclSetIntObj((objPtr), (l)) - -/* - * NOTE: There is to be no such thing as a "pure" boolean. Boolean values set - * programmatically go straight to being "int" Tcl_Obj's, with value 0 or 1. - * The only "boolean" Tcl_Obj's shall be those holding the cached boolean - * value of strings like: "yes", "no", "true", "false", "on", "off". - */ - -#define TclSetBooleanObj(objPtr, b) \ - TclSetIntObj((objPtr), ((b)? 1 : 0)); - -#ifndef NO_WIDE_TYPE -#define TclSetWideIntObj(objPtr, w) \ - TclInvalidateStringRep(objPtr);\ - TclFreeIntRep(objPtr); \ - (objPtr)->internalRep.wideValue = (Tcl_WideInt)(w); \ - (objPtr)->typePtr = &tclWideIntType -#endif - -#define TclSetDoubleObj(objPtr, d) \ - TclInvalidateStringRep(objPtr);\ - TclFreeIntRep(objPtr); \ - (objPtr)->internalRep.doubleValue = (double)(d); \ - (objPtr)->typePtr = &tclDoubleType - -/* - *---------------------------------------------------------------- - * Macros used by the Tcl core to create and initialise objects of standard - * types, avoiding the corresponding function calls in time critical parts of - * the core. The ANSI C "prototypes" for these macros are: - * - * MODULE_SCOPE void TclNewIntObj(Tcl_Obj *objPtr, int i); - * MODULE_SCOPE void TclNewLongObj(Tcl_Obj *objPtr, long l); - * MODULE_SCOPE void TclNewBooleanObj(Tcl_Obj *objPtr, int b); - * MODULE_SCOPE void TclNewWideObj(Tcl_Obj *objPtr, Tcl_WideInt w); - * MODULE_SCOPE void TclNewDoubleObj(Tcl_Obj *objPtr, double d); - * MODULE_SCOPE void TclNewStringObj(Tcl_Obj *objPtr, char *s, int len); - * MODULE_SCOPE void TclNewLiteralStringObj(Tcl_Obj*objPtr, char*sLiteral); - * - *---------------------------------------------------------------- - */ - -#ifndef TCL_MEM_DEBUG -#define TclNewIntObj(objPtr, i) \ - TclIncrObjsAllocated(); \ - TclAllocObjStorage(objPtr); \ - (objPtr)->refCount = 0; \ - (objPtr)->bytes = NULL; \ - (objPtr)->internalRep.longValue = (long)(i); \ - (objPtr)->typePtr = &tclIntType; \ - TCL_DTRACE_OBJ_CREATE(objPtr) - -#define TclNewLongObj(objPtr, l) \ - TclNewIntObj((objPtr), (l)) - -/* - * NOTE: There is to be no such thing as a "pure" boolean. - * See comment above TclSetBooleanObj macro above. - */ -#define TclNewBooleanObj(objPtr, b) \ - TclNewIntObj((objPtr), ((b)? 1 : 0)) - -#define TclNewDoubleObj(objPtr, d) \ - TclIncrObjsAllocated(); \ - TclAllocObjStorage(objPtr); \ - (objPtr)->refCount = 0; \ - (objPtr)->bytes = NULL; \ - (objPtr)->internalRep.doubleValue = (double)(d); \ - (objPtr)->typePtr = &tclDoubleType; \ - TCL_DTRACE_OBJ_CREATE(objPtr) - -#define TclNewStringObj(objPtr, s, len) \ - TclIncrObjsAllocated(); \ - TclAllocObjStorage(objPtr); \ - (objPtr)->refCount = 0; \ - TclInitStringRep((objPtr), (s), (len));\ - (objPtr)->typePtr = NULL; \ - TCL_DTRACE_OBJ_CREATE(objPtr) - -#else /* TCL_MEM_DEBUG */ -#define TclNewIntObj(objPtr, i) \ - (objPtr) = Tcl_NewIntObj(i) - -#define TclNewLongObj(objPtr, l) \ - (objPtr) = Tcl_NewLongObj(l) - -#define TclNewBooleanObj(objPtr, b) \ - (objPtr) = Tcl_NewBooleanObj(b) - -#define TclNewDoubleObj(objPtr, d) \ - (objPtr) = Tcl_NewDoubleObj(d) - -#define TclNewStringObj(objPtr, s, len) \ - (objPtr) = Tcl_NewStringObj((s), (len)) -#endif /* TCL_MEM_DEBUG */ - -/* - * The sLiteral argument *must* be a string literal; the incantation with - * sizeof(sLiteral "") will fail to compile otherwise. - */ -#define TclNewLiteralStringObj(objPtr, sLiteral) \ - TclNewStringObj((objPtr), (sLiteral), (int) (sizeof(sLiteral "") - 1)) - -/* - *---------------------------------------------------------------- - * Macros used by the Tcl core to test for some special double values. - * The ANSI C "prototypes" for these macros are: - * - * MODULE_SCOPE int TclIsInfinite(double d); - * MODULE_SCOPE int TclIsNaN(double d); - */ - -#ifdef _MSC_VER -# define TclIsInfinite(d) (!(_finite((d)))) -# define TclIsNaN(d) (_isnan((d))) -#else -# define TclIsInfinite(d) ((d) > DBL_MAX || (d) < -DBL_MAX) -# ifdef NO_ISNAN -# define TclIsNaN(d) ((d) != (d)) -# else -# define TclIsNaN(d) (isnan(d)) -# endif -#endif - -/* - * ---------------------------------------------------------------------- - * Macro to use to find the offset of a field in a structure. Computes number - * of bytes from beginning of structure to a given field. - */ - -#ifdef offsetof -#define TclOffset(type, field) ((int) offsetof(type, field)) -#else -#define TclOffset(type, field) ((int) ((char *) &((type *) 0)->field)) -#endif - -/* - *---------------------------------------------------------------- - * Inline version of Tcl_GetCurrentNamespace and Tcl_GetGlobalNamespace - */ - -#define TclGetCurrentNamespace(interp) \ - (Tcl_Namespace *) ((Interp *)(interp))->varFramePtr->nsPtr - -#define TclGetGlobalNamespace(interp) \ - (Tcl_Namespace *) ((Interp *)(interp))->globalNsPtr - -/* - *---------------------------------------------------------------- - * Inline version of TclCleanupCommand; still need the function as it is in - * the internal stubs, but the core can use the macro instead. - */ - -#define TclCleanupCommandMacro(cmdPtr) \ - if (--(cmdPtr)->refCount <= 0) { \ - ckfree((char *) (cmdPtr));\ - } - -/* - *---------------------------------------------------------------- - * Inline versions of Tcl_LimitReady() and Tcl_LimitExceeded to limit number - * of calls out of the critical path. Note that this code isn't particularly - * readable; the non-inline version (in tclInterp.c) is much easier to - * understand. Note also that these macros takes different args (iPtr->limit) - * to the non-inline version. - */ - -#define TclLimitExceeded(limit) ((limit).exceeded != 0) - -#define TclLimitReady(limit) \ - (((limit).active == 0) ? 0 : \ - (++(limit).granularityTicker, \ - ((((limit).active & TCL_LIMIT_COMMANDS) && \ - (((limit).cmdGranularity == 1) || \ - ((limit).granularityTicker % (limit).cmdGranularity == 0))) \ - ? 1 : \ - (((limit).active & TCL_LIMIT_TIME) && \ - (((limit).timeGranularity == 1) || \ - ((limit).granularityTicker % (limit).timeGranularity == 0)))\ - ? 1 : 0))) - -/* - * Compile-time assertions: these produce a compile time error if - * the expression is not known to be true at compile time. - * If the assertion is known to be false, the compiler (or optimizer?) will - * error out with "division by zero". If the assertion cannot be evaluated at - * compile time, the compiler will error out with "non-static initializer". - * - * Adapted with permission from - * http://www.pixelbeat.org/programming/gcc/static_assert.html - */ - -#define TCL_CT_ASSERT(e) \ - {enum { ct_assert_value = 1/(!!(e)) };} - -/* - *---------------------------------------------------------------- - * Allocator for small structs (<=sizeof(Tcl_Obj)) using the Tcl_Obj pool. - * Only checked at compile time. - * - * ONLY USE FOR CONSTANT nBytes. - * - * DO NOT LET THEM CROSS THREAD BOUNDARIES - *---------------------------------------------------------------- - */ - -#define TclSmallAlloc(nbytes, memPtr) \ - TclSmallAllocEx(NULL, (nbytes), (memPtr)) - -#define TclSmallFree(memPtr) \ - TclSmallFreeEx(NULL, (memPtr)) - -#ifndef TCL_MEM_DEBUG -#define TclSmallAllocEx(interp, nbytes, memPtr) \ - { \ - Tcl_Obj *objPtr; \ - TCL_CT_ASSERT((nbytes)<=sizeof(Tcl_Obj)); \ - TclIncrObjsAllocated(); \ - TclAllocObjStorageEx((interp), (objPtr)); \ - memPtr = (ClientData) (objPtr); \ - } - -#define TclSmallFreeEx(interp, memPtr) \ - TclFreeObjStorageEx((interp), (Tcl_Obj *) (memPtr)); \ - TclIncrObjsFreed() - -#else /* TCL_MEM_DEBUG */ -#define TclSmallAllocEx(interp, nbytes, memPtr) \ - { \ - Tcl_Obj *objPtr; \ - TCL_CT_ASSERT((nbytes)<=sizeof(Tcl_Obj)); \ - TclNewObj(objPtr); \ - memPtr = (ClientData) objPtr; \ - } - -#define TclSmallFreeEx(interp, memPtr) \ - { \ - Tcl_Obj *objPtr = (Tcl_Obj *) memPtr; \ - objPtr->bytes = NULL; \ - objPtr->typePtr = NULL; \ - objPtr->refCount = 1; \ - TclDecrRefCount(objPtr); \ - } -#endif /* TCL_MEM_DEBUG */ - -/* - *---------------------------------------------------------------- - * Parameters, structs and macros for the non-recursive engine (NRE) - *---------------------------------------------------------------- - */ - -#define NRE_USE_SMALL_ALLOC 1 /* Only turn off for debugging purposes. */ -#define NRE_ENABLE_ASSERTS 1 - -/* - * This is the main data struct for representing NR commands. It is designed - * to fit in sizeof(Tcl_Obj) in order to exploit the fastest memory allocator - * available. - */ - -typedef struct TEOV_callback { - Tcl_NRPostProc *procPtr; - ClientData data[4]; - struct TEOV_callback *nextPtr; -} TEOV_callback; - -#define TOP_CB(iPtr) (((Interp *)(iPtr))->execEnvPtr->callbackPtr) - -/* - * Inline version of Tcl_NRAddCallback - */ - -#define TclNRAddCallback( \ - interp, \ - postProcPtr, \ - data0, \ - data1, \ - data2, \ - data3) \ - { \ - TEOV_callback *callbackPtr; \ - TCLNR_ALLOC((interp), (callbackPtr)); \ - callbackPtr->procPtr = (postProcPtr); \ - callbackPtr->data[0] = (data0); \ - callbackPtr->data[1] = (data1); \ - callbackPtr->data[2] = (data2); \ - callbackPtr->data[3] = (data3); \ - callbackPtr->nextPtr = TOP_CB(interp); \ - TOP_CB(interp) = callbackPtr; \ - } - -#if NRE_USE_SMALL_ALLOC -#define TCLNR_ALLOC(interp, ptr) \ - TclSmallAllocEx(interp, sizeof(TEOV_callback), (ptr)) -#define TCLNR_FREE(interp, ptr) TclSmallFreeEx((interp), (ptr)) -#else -#define TCLNR_ALLOC(interp, ptr) \ - (ptr = ((ClientData) ckalloc(sizeof(TEOV_callback)))) -#define TCLNR_FREE(interp, ptr) ckfree((char *) (ptr)) -#endif - -#if NRE_ENABLE_ASSERTS -#define NRE_ASSERT(expr) assert((expr)) -#else -#define NRE_ASSERT(expr) -#endif - -#include "tclPort.h" -#include "tclIntDecls.h" -#include "tclIntPlatDecls.h" -#include "tclTomMathDecls.h" - -#endif /* _TCLINT */ - -/* - * Local Variables: - * mode: c - * c-basic-offset: 4 - * fill-column: 78 - * End: - */ diff --git a/src/other/togl/include/tcltk/tk8.6/tclIntDecls.h b/src/other/togl/include/tcltk/tk8.6/tclIntDecls.h deleted file mode 100644 index 1eeced4871d..00000000000 --- a/src/other/togl/include/tcltk/tk8.6/tclIntDecls.h +++ /dev/null @@ -1,2149 +0,0 @@ -/* - * tclIntDecls.h -- - * - * This file contains the declarations for all unsupported - * functions that are exported by the Tcl library. These - * interfaces are not guaranteed to remain the same between - * versions. Use at your own risk. - * - * Copyright (c) 1998-1999 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TCLINTDECLS -#define _TCLINTDECLS - -#include "tclPort.h" - -#undef TCL_STORAGE_CLASS -#ifdef BUILD_tcl -# define TCL_STORAGE_CLASS DLLEXPORT -#else -# ifdef USE_TCL_STUBS -# define TCL_STORAGE_CLASS -# else -# define TCL_STORAGE_CLASS DLLIMPORT -# endif -#endif - -/* - * WARNING: This file is automatically generated by the tools/genStubs.tcl - * script. Any modifications to the function declarations below should be made - * in the generic/tclInt.decls script. - */ - -/* !BEGIN!: Do not edit below this line. */ - -/* - * Exported function declarations: - */ - -/* Slot 0 is reserved */ -/* Slot 1 is reserved */ -/* Slot 2 is reserved */ -#ifndef TclAllocateFreeObjects_TCL_DECLARED -#define TclAllocateFreeObjects_TCL_DECLARED -/* 3 */ -EXTERN void TclAllocateFreeObjects (void); -#endif -/* Slot 4 is reserved */ -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ -#ifndef TclCleanupChildren_TCL_DECLARED -#define TclCleanupChildren_TCL_DECLARED -/* 5 */ -EXTERN int TclCleanupChildren (Tcl_Interp * interp, int numPids, - Tcl_Pid * pidPtr, Tcl_Channel errorChan); -#endif -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ -#ifndef TclCleanupChildren_TCL_DECLARED -#define TclCleanupChildren_TCL_DECLARED -/* 5 */ -EXTERN int TclCleanupChildren (Tcl_Interp * interp, int numPids, - Tcl_Pid * pidPtr, Tcl_Channel errorChan); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ -#ifndef TclCleanupChildren_TCL_DECLARED -#define TclCleanupChildren_TCL_DECLARED -/* 5 */ -EXTERN int TclCleanupChildren (Tcl_Interp * interp, int numPids, - Tcl_Pid * pidPtr, Tcl_Channel errorChan); -#endif -#endif /* MACOSX */ -#ifndef TclCleanupCommand_TCL_DECLARED -#define TclCleanupCommand_TCL_DECLARED -/* 6 */ -EXTERN void TclCleanupCommand (Command * cmdPtr); -#endif -#ifndef TclCopyAndCollapse_TCL_DECLARED -#define TclCopyAndCollapse_TCL_DECLARED -/* 7 */ -EXTERN int TclCopyAndCollapse (int count, CONST char * src, - char * dst); -#endif -#ifndef TclCopyChannel_TCL_DECLARED -#define TclCopyChannel_TCL_DECLARED -/* 8 */ -EXTERN int TclCopyChannel (Tcl_Interp * interp, - Tcl_Channel inChan, Tcl_Channel outChan, - int toRead, Tcl_Obj * cmdPtr); -#endif -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ -#ifndef TclCreatePipeline_TCL_DECLARED -#define TclCreatePipeline_TCL_DECLARED -/* 9 */ -EXTERN int TclCreatePipeline (Tcl_Interp * interp, int argc, - CONST char ** argv, Tcl_Pid ** pidArrayPtr, - TclFile * inPipePtr, TclFile * outPipePtr, - TclFile * errFilePtr); -#endif -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ -#ifndef TclCreatePipeline_TCL_DECLARED -#define TclCreatePipeline_TCL_DECLARED -/* 9 */ -EXTERN int TclCreatePipeline (Tcl_Interp * interp, int argc, - CONST char ** argv, Tcl_Pid ** pidArrayPtr, - TclFile * inPipePtr, TclFile * outPipePtr, - TclFile * errFilePtr); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ -#ifndef TclCreatePipeline_TCL_DECLARED -#define TclCreatePipeline_TCL_DECLARED -/* 9 */ -EXTERN int TclCreatePipeline (Tcl_Interp * interp, int argc, - CONST char ** argv, Tcl_Pid ** pidArrayPtr, - TclFile * inPipePtr, TclFile * outPipePtr, - TclFile * errFilePtr); -#endif -#endif /* MACOSX */ -#ifndef TclCreateProc_TCL_DECLARED -#define TclCreateProc_TCL_DECLARED -/* 10 */ -EXTERN int TclCreateProc (Tcl_Interp * interp, - Namespace * nsPtr, CONST char * procName, - Tcl_Obj * argsPtr, Tcl_Obj * bodyPtr, - Proc ** procPtrPtr); -#endif -#ifndef TclDeleteCompiledLocalVars_TCL_DECLARED -#define TclDeleteCompiledLocalVars_TCL_DECLARED -/* 11 */ -EXTERN void TclDeleteCompiledLocalVars (Interp * iPtr, - CallFrame * framePtr); -#endif -#ifndef TclDeleteVars_TCL_DECLARED -#define TclDeleteVars_TCL_DECLARED -/* 12 */ -EXTERN void TclDeleteVars (Interp * iPtr, - TclVarHashTable * tablePtr); -#endif -/* Slot 13 is reserved */ -#ifndef TclDumpMemoryInfo_TCL_DECLARED -#define TclDumpMemoryInfo_TCL_DECLARED -/* 14 */ -EXTERN void TclDumpMemoryInfo (FILE * outFile); -#endif -/* Slot 15 is reserved */ -#ifndef TclExprFloatError_TCL_DECLARED -#define TclExprFloatError_TCL_DECLARED -/* 16 */ -EXTERN void TclExprFloatError (Tcl_Interp * interp, double value); -#endif -/* Slot 17 is reserved */ -/* Slot 18 is reserved */ -/* Slot 19 is reserved */ -/* Slot 20 is reserved */ -/* Slot 21 is reserved */ -#ifndef TclFindElement_TCL_DECLARED -#define TclFindElement_TCL_DECLARED -/* 22 */ -EXTERN int TclFindElement (Tcl_Interp * interp, - CONST char * listStr, int listLength, - CONST char ** elementPtr, - CONST char ** nextPtr, int * sizePtr, - int * bracePtr); -#endif -#ifndef TclFindProc_TCL_DECLARED -#define TclFindProc_TCL_DECLARED -/* 23 */ -EXTERN Proc * TclFindProc (Interp * iPtr, CONST char * procName); -#endif -/* Slot 24 is reserved */ -#ifndef TclFreePackageInfo_TCL_DECLARED -#define TclFreePackageInfo_TCL_DECLARED -/* 25 */ -EXTERN void TclFreePackageInfo (Interp * iPtr); -#endif -/* Slot 26 is reserved */ -/* Slot 27 is reserved */ -#ifndef TclpGetDefaultStdChannel_TCL_DECLARED -#define TclpGetDefaultStdChannel_TCL_DECLARED -/* 28 */ -EXTERN Tcl_Channel TclpGetDefaultStdChannel (int type); -#endif -/* Slot 29 is reserved */ -/* Slot 30 is reserved */ -#ifndef TclGetExtension_TCL_DECLARED -#define TclGetExtension_TCL_DECLARED -/* 31 */ -EXTERN CONST char * TclGetExtension (CONST char * name); -#endif -#ifndef TclGetFrame_TCL_DECLARED -#define TclGetFrame_TCL_DECLARED -/* 32 */ -EXTERN int TclGetFrame (Tcl_Interp * interp, CONST char * str, - CallFrame ** framePtrPtr); -#endif -/* Slot 33 is reserved */ -#ifndef TclGetIntForIndex_TCL_DECLARED -#define TclGetIntForIndex_TCL_DECLARED -/* 34 */ -EXTERN int TclGetIntForIndex (Tcl_Interp * interp, - Tcl_Obj * objPtr, int endValue, - int * indexPtr); -#endif -/* Slot 35 is reserved */ -/* Slot 36 is reserved */ -#ifndef TclGetLoadedPackages_TCL_DECLARED -#define TclGetLoadedPackages_TCL_DECLARED -/* 37 */ -EXTERN int TclGetLoadedPackages (Tcl_Interp * interp, - char * targetName); -#endif -#ifndef TclGetNamespaceForQualName_TCL_DECLARED -#define TclGetNamespaceForQualName_TCL_DECLARED -/* 38 */ -EXTERN int TclGetNamespaceForQualName (Tcl_Interp * interp, - CONST char * qualName, Namespace * cxtNsPtr, - int flags, Namespace ** nsPtrPtr, - Namespace ** altNsPtrPtr, - Namespace ** actualCxtPtrPtr, - CONST char ** simpleNamePtr); -#endif -#ifndef TclGetObjInterpProc_TCL_DECLARED -#define TclGetObjInterpProc_TCL_DECLARED -/* 39 */ -EXTERN TclObjCmdProcType TclGetObjInterpProc (void); -#endif -#ifndef TclGetOpenMode_TCL_DECLARED -#define TclGetOpenMode_TCL_DECLARED -/* 40 */ -EXTERN int TclGetOpenMode (Tcl_Interp * interp, - CONST char * str, int * seekFlagPtr); -#endif -#ifndef TclGetOriginalCommand_TCL_DECLARED -#define TclGetOriginalCommand_TCL_DECLARED -/* 41 */ -EXTERN Tcl_Command TclGetOriginalCommand (Tcl_Command command); -#endif -#ifndef TclpGetUserHome_TCL_DECLARED -#define TclpGetUserHome_TCL_DECLARED -/* 42 */ -EXTERN char * TclpGetUserHome (CONST char * name, - Tcl_DString * bufferPtr); -#endif -/* Slot 43 is reserved */ -#ifndef TclGuessPackageName_TCL_DECLARED -#define TclGuessPackageName_TCL_DECLARED -/* 44 */ -EXTERN int TclGuessPackageName (CONST char * fileName, - Tcl_DString * bufPtr); -#endif -#ifndef TclHideUnsafeCommands_TCL_DECLARED -#define TclHideUnsafeCommands_TCL_DECLARED -/* 45 */ -EXTERN int TclHideUnsafeCommands (Tcl_Interp * interp); -#endif -#ifndef TclInExit_TCL_DECLARED -#define TclInExit_TCL_DECLARED -/* 46 */ -EXTERN int TclInExit (void); -#endif -/* Slot 47 is reserved */ -/* Slot 48 is reserved */ -/* Slot 49 is reserved */ -#ifndef TclInitCompiledLocals_TCL_DECLARED -#define TclInitCompiledLocals_TCL_DECLARED -/* 50 */ -EXTERN void TclInitCompiledLocals (Tcl_Interp * interp, - CallFrame * framePtr, Namespace * nsPtr); -#endif -#ifndef TclInterpInit_TCL_DECLARED -#define TclInterpInit_TCL_DECLARED -/* 51 */ -EXTERN int TclInterpInit (Tcl_Interp * interp); -#endif -/* Slot 52 is reserved */ -#ifndef TclInvokeObjectCommand_TCL_DECLARED -#define TclInvokeObjectCommand_TCL_DECLARED -/* 53 */ -EXTERN int TclInvokeObjectCommand (ClientData clientData, - Tcl_Interp * interp, int argc, - CONST84 char ** argv); -#endif -#ifndef TclInvokeStringCommand_TCL_DECLARED -#define TclInvokeStringCommand_TCL_DECLARED -/* 54 */ -EXTERN int TclInvokeStringCommand (ClientData clientData, - Tcl_Interp * interp, int objc, - Tcl_Obj *CONST objv[]); -#endif -#ifndef TclIsProc_TCL_DECLARED -#define TclIsProc_TCL_DECLARED -/* 55 */ -EXTERN Proc * TclIsProc (Command * cmdPtr); -#endif -/* Slot 56 is reserved */ -/* Slot 57 is reserved */ -#ifndef TclLookupVar_TCL_DECLARED -#define TclLookupVar_TCL_DECLARED -/* 58 */ -EXTERN Var * TclLookupVar (Tcl_Interp * interp, - CONST char * part1, CONST char * part2, - int flags, CONST char * msg, int createPart1, - int createPart2, Var ** arrayPtrPtr); -#endif -/* Slot 59 is reserved */ -#ifndef TclNeedSpace_TCL_DECLARED -#define TclNeedSpace_TCL_DECLARED -/* 60 */ -EXTERN int TclNeedSpace (CONST char * start, CONST char * end); -#endif -#ifndef TclNewProcBodyObj_TCL_DECLARED -#define TclNewProcBodyObj_TCL_DECLARED -/* 61 */ -EXTERN Tcl_Obj * TclNewProcBodyObj (Proc * procPtr); -#endif -#ifndef TclObjCommandComplete_TCL_DECLARED -#define TclObjCommandComplete_TCL_DECLARED -/* 62 */ -EXTERN int TclObjCommandComplete (Tcl_Obj * cmdPtr); -#endif -#ifndef TclObjInterpProc_TCL_DECLARED -#define TclObjInterpProc_TCL_DECLARED -/* 63 */ -EXTERN int TclObjInterpProc (ClientData clientData, - Tcl_Interp * interp, int objc, - Tcl_Obj *CONST objv[]); -#endif -#ifndef TclObjInvoke_TCL_DECLARED -#define TclObjInvoke_TCL_DECLARED -/* 64 */ -EXTERN int TclObjInvoke (Tcl_Interp * interp, int objc, - Tcl_Obj *CONST objv[], int flags); -#endif -/* Slot 65 is reserved */ -/* Slot 66 is reserved */ -/* Slot 67 is reserved */ -/* Slot 68 is reserved */ -#ifndef TclpAlloc_TCL_DECLARED -#define TclpAlloc_TCL_DECLARED -/* 69 */ -EXTERN char * TclpAlloc (unsigned int size); -#endif -/* Slot 70 is reserved */ -/* Slot 71 is reserved */ -/* Slot 72 is reserved */ -/* Slot 73 is reserved */ -#ifndef TclpFree_TCL_DECLARED -#define TclpFree_TCL_DECLARED -/* 74 */ -EXTERN void TclpFree (char * ptr); -#endif -#ifndef TclpGetClicks_TCL_DECLARED -#define TclpGetClicks_TCL_DECLARED -/* 75 */ -EXTERN unsigned long TclpGetClicks (void); -#endif -#ifndef TclpGetSeconds_TCL_DECLARED -#define TclpGetSeconds_TCL_DECLARED -/* 76 */ -EXTERN unsigned long TclpGetSeconds (void); -#endif -#ifndef TclpGetTime_TCL_DECLARED -#define TclpGetTime_TCL_DECLARED -/* 77 */ -EXTERN void TclpGetTime (Tcl_Time * time); -#endif -#ifndef TclpGetTimeZone_TCL_DECLARED -#define TclpGetTimeZone_TCL_DECLARED -/* 78 */ -EXTERN int TclpGetTimeZone (unsigned long time); -#endif -/* Slot 79 is reserved */ -/* Slot 80 is reserved */ -#ifndef TclpRealloc_TCL_DECLARED -#define TclpRealloc_TCL_DECLARED -/* 81 */ -EXTERN char * TclpRealloc (char * ptr, unsigned int size); -#endif -/* Slot 82 is reserved */ -/* Slot 83 is reserved */ -/* Slot 84 is reserved */ -/* Slot 85 is reserved */ -/* Slot 86 is reserved */ -/* Slot 87 is reserved */ -#ifndef TclPrecTraceProc_TCL_DECLARED -#define TclPrecTraceProc_TCL_DECLARED -/* 88 */ -EXTERN char * TclPrecTraceProc (ClientData clientData, - Tcl_Interp * interp, CONST char * name1, - CONST char * name2, int flags); -#endif -#ifndef TclPreventAliasLoop_TCL_DECLARED -#define TclPreventAliasLoop_TCL_DECLARED -/* 89 */ -EXTERN int TclPreventAliasLoop (Tcl_Interp * interp, - Tcl_Interp * cmdInterp, Tcl_Command cmd); -#endif -/* Slot 90 is reserved */ -#ifndef TclProcCleanupProc_TCL_DECLARED -#define TclProcCleanupProc_TCL_DECLARED -/* 91 */ -EXTERN void TclProcCleanupProc (Proc * procPtr); -#endif -#ifndef TclProcCompileProc_TCL_DECLARED -#define TclProcCompileProc_TCL_DECLARED -/* 92 */ -EXTERN int TclProcCompileProc (Tcl_Interp * interp, - Proc * procPtr, Tcl_Obj * bodyPtr, - Namespace * nsPtr, CONST char * description, - CONST char * procName); -#endif -#ifndef TclProcDeleteProc_TCL_DECLARED -#define TclProcDeleteProc_TCL_DECLARED -/* 93 */ -EXTERN void TclProcDeleteProc (ClientData clientData); -#endif -/* Slot 94 is reserved */ -/* Slot 95 is reserved */ -#ifndef TclRenameCommand_TCL_DECLARED -#define TclRenameCommand_TCL_DECLARED -/* 96 */ -EXTERN int TclRenameCommand (Tcl_Interp * interp, - CONST char * oldName, CONST char * newName); -#endif -#ifndef TclResetShadowedCmdRefs_TCL_DECLARED -#define TclResetShadowedCmdRefs_TCL_DECLARED -/* 97 */ -EXTERN void TclResetShadowedCmdRefs (Tcl_Interp * interp, - Command * newCmdPtr); -#endif -#ifndef TclServiceIdle_TCL_DECLARED -#define TclServiceIdle_TCL_DECLARED -/* 98 */ -EXTERN int TclServiceIdle (void); -#endif -/* Slot 99 is reserved */ -/* Slot 100 is reserved */ -#ifndef TclSetPreInitScript_TCL_DECLARED -#define TclSetPreInitScript_TCL_DECLARED -/* 101 */ -EXTERN char * TclSetPreInitScript (char * string); -#endif -#ifndef TclSetupEnv_TCL_DECLARED -#define TclSetupEnv_TCL_DECLARED -/* 102 */ -EXTERN void TclSetupEnv (Tcl_Interp * interp); -#endif -#ifndef TclSockGetPort_TCL_DECLARED -#define TclSockGetPort_TCL_DECLARED -/* 103 */ -EXTERN int TclSockGetPort (Tcl_Interp * interp, - CONST char * str, CONST char * proto, - int * portPtr); -#endif -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ -#ifndef TclSockMinimumBuffers_TCL_DECLARED -#define TclSockMinimumBuffers_TCL_DECLARED -/* 104 */ -EXTERN int TclSockMinimumBuffers (int sock, int size); -#endif -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ -#ifndef TclSockMinimumBuffers_TCL_DECLARED -#define TclSockMinimumBuffers_TCL_DECLARED -/* 104 */ -EXTERN int TclSockMinimumBuffers (int sock, int size); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ -#ifndef TclSockMinimumBuffers_TCL_DECLARED -#define TclSockMinimumBuffers_TCL_DECLARED -/* 104 */ -EXTERN int TclSockMinimumBuffers (int sock, int size); -#endif -#endif /* MACOSX */ -/* Slot 105 is reserved */ -/* Slot 106 is reserved */ -/* Slot 107 is reserved */ -#ifndef TclTeardownNamespace_TCL_DECLARED -#define TclTeardownNamespace_TCL_DECLARED -/* 108 */ -EXTERN void TclTeardownNamespace (Namespace * nsPtr); -#endif -#ifndef TclUpdateReturnInfo_TCL_DECLARED -#define TclUpdateReturnInfo_TCL_DECLARED -/* 109 */ -EXTERN int TclUpdateReturnInfo (Interp * iPtr); -#endif -/* Slot 110 is reserved */ -#ifndef Tcl_AddInterpResolvers_TCL_DECLARED -#define Tcl_AddInterpResolvers_TCL_DECLARED -/* 111 */ -EXTERN void Tcl_AddInterpResolvers (Tcl_Interp * interp, - CONST char * name, - Tcl_ResolveCmdProc * cmdProc, - Tcl_ResolveVarProc * varProc, - Tcl_ResolveCompiledVarProc * compiledVarProc); -#endif -#ifndef Tcl_AppendExportList_TCL_DECLARED -#define Tcl_AppendExportList_TCL_DECLARED -/* 112 */ -EXTERN int Tcl_AppendExportList (Tcl_Interp * interp, - Tcl_Namespace * nsPtr, Tcl_Obj * objPtr); -#endif -#ifndef Tcl_CreateNamespace_TCL_DECLARED -#define Tcl_CreateNamespace_TCL_DECLARED -/* 113 */ -EXTERN Tcl_Namespace * Tcl_CreateNamespace (Tcl_Interp * interp, - CONST char * name, ClientData clientData, - Tcl_NamespaceDeleteProc * deleteProc); -#endif -#ifndef Tcl_DeleteNamespace_TCL_DECLARED -#define Tcl_DeleteNamespace_TCL_DECLARED -/* 114 */ -EXTERN void Tcl_DeleteNamespace (Tcl_Namespace * nsPtr); -#endif -#ifndef Tcl_Export_TCL_DECLARED -#define Tcl_Export_TCL_DECLARED -/* 115 */ -EXTERN int Tcl_Export (Tcl_Interp * interp, - Tcl_Namespace * nsPtr, CONST char * pattern, - int resetListFirst); -#endif -#ifndef Tcl_FindCommand_TCL_DECLARED -#define Tcl_FindCommand_TCL_DECLARED -/* 116 */ -EXTERN Tcl_Command Tcl_FindCommand (Tcl_Interp * interp, - CONST char * name, - Tcl_Namespace * contextNsPtr, int flags); -#endif -#ifndef Tcl_FindNamespace_TCL_DECLARED -#define Tcl_FindNamespace_TCL_DECLARED -/* 117 */ -EXTERN Tcl_Namespace * Tcl_FindNamespace (Tcl_Interp * interp, - CONST char * name, - Tcl_Namespace * contextNsPtr, int flags); -#endif -#ifndef Tcl_GetInterpResolvers_TCL_DECLARED -#define Tcl_GetInterpResolvers_TCL_DECLARED -/* 118 */ -EXTERN int Tcl_GetInterpResolvers (Tcl_Interp * interp, - CONST char * name, - Tcl_ResolverInfo * resInfo); -#endif -#ifndef Tcl_GetNamespaceResolvers_TCL_DECLARED -#define Tcl_GetNamespaceResolvers_TCL_DECLARED -/* 119 */ -EXTERN int Tcl_GetNamespaceResolvers ( - Tcl_Namespace * namespacePtr, - Tcl_ResolverInfo * resInfo); -#endif -#ifndef Tcl_FindNamespaceVar_TCL_DECLARED -#define Tcl_FindNamespaceVar_TCL_DECLARED -/* 120 */ -EXTERN Tcl_Var Tcl_FindNamespaceVar (Tcl_Interp * interp, - CONST char * name, - Tcl_Namespace * contextNsPtr, int flags); -#endif -#ifndef Tcl_ForgetImport_TCL_DECLARED -#define Tcl_ForgetImport_TCL_DECLARED -/* 121 */ -EXTERN int Tcl_ForgetImport (Tcl_Interp * interp, - Tcl_Namespace * nsPtr, CONST char * pattern); -#endif -#ifndef Tcl_GetCommandFromObj_TCL_DECLARED -#define Tcl_GetCommandFromObj_TCL_DECLARED -/* 122 */ -EXTERN Tcl_Command Tcl_GetCommandFromObj (Tcl_Interp * interp, - Tcl_Obj * objPtr); -#endif -#ifndef Tcl_GetCommandFullName_TCL_DECLARED -#define Tcl_GetCommandFullName_TCL_DECLARED -/* 123 */ -EXTERN void Tcl_GetCommandFullName (Tcl_Interp * interp, - Tcl_Command command, Tcl_Obj * objPtr); -#endif -#ifndef Tcl_GetCurrentNamespace_TCL_DECLARED -#define Tcl_GetCurrentNamespace_TCL_DECLARED -/* 124 */ -EXTERN Tcl_Namespace * Tcl_GetCurrentNamespace (Tcl_Interp * interp); -#endif -#ifndef Tcl_GetGlobalNamespace_TCL_DECLARED -#define Tcl_GetGlobalNamespace_TCL_DECLARED -/* 125 */ -EXTERN Tcl_Namespace * Tcl_GetGlobalNamespace (Tcl_Interp * interp); -#endif -#ifndef Tcl_GetVariableFullName_TCL_DECLARED -#define Tcl_GetVariableFullName_TCL_DECLARED -/* 126 */ -EXTERN void Tcl_GetVariableFullName (Tcl_Interp * interp, - Tcl_Var variable, Tcl_Obj * objPtr); -#endif -#ifndef Tcl_Import_TCL_DECLARED -#define Tcl_Import_TCL_DECLARED -/* 127 */ -EXTERN int Tcl_Import (Tcl_Interp * interp, - Tcl_Namespace * nsPtr, CONST char * pattern, - int allowOverwrite); -#endif -#ifndef Tcl_PopCallFrame_TCL_DECLARED -#define Tcl_PopCallFrame_TCL_DECLARED -/* 128 */ -EXTERN void Tcl_PopCallFrame (Tcl_Interp * interp); -#endif -#ifndef Tcl_PushCallFrame_TCL_DECLARED -#define Tcl_PushCallFrame_TCL_DECLARED -/* 129 */ -EXTERN int Tcl_PushCallFrame (Tcl_Interp * interp, - Tcl_CallFrame * framePtr, - Tcl_Namespace * nsPtr, int isProcCallFrame); -#endif -#ifndef Tcl_RemoveInterpResolvers_TCL_DECLARED -#define Tcl_RemoveInterpResolvers_TCL_DECLARED -/* 130 */ -EXTERN int Tcl_RemoveInterpResolvers (Tcl_Interp * interp, - CONST char * name); -#endif -#ifndef Tcl_SetNamespaceResolvers_TCL_DECLARED -#define Tcl_SetNamespaceResolvers_TCL_DECLARED -/* 131 */ -EXTERN void Tcl_SetNamespaceResolvers ( - Tcl_Namespace * namespacePtr, - Tcl_ResolveCmdProc * cmdProc, - Tcl_ResolveVarProc * varProc, - Tcl_ResolveCompiledVarProc * compiledVarProc); -#endif -#ifndef TclpHasSockets_TCL_DECLARED -#define TclpHasSockets_TCL_DECLARED -/* 132 */ -EXTERN int TclpHasSockets (Tcl_Interp * interp); -#endif -#ifndef TclpGetDate_TCL_DECLARED -#define TclpGetDate_TCL_DECLARED -/* 133 */ -EXTERN struct tm * TclpGetDate (CONST time_t * time, int useGMT); -#endif -/* Slot 134 is reserved */ -/* Slot 135 is reserved */ -/* Slot 136 is reserved */ -/* Slot 137 is reserved */ -#ifndef TclGetEnv_TCL_DECLARED -#define TclGetEnv_TCL_DECLARED -/* 138 */ -EXTERN CONST84_RETURN char * TclGetEnv (CONST char * name, - Tcl_DString * valuePtr); -#endif -/* Slot 139 is reserved */ -/* Slot 140 is reserved */ -#ifndef TclpGetCwd_TCL_DECLARED -#define TclpGetCwd_TCL_DECLARED -/* 141 */ -EXTERN CONST84_RETURN char * TclpGetCwd (Tcl_Interp * interp, - Tcl_DString * cwdPtr); -#endif -#ifndef TclSetByteCodeFromAny_TCL_DECLARED -#define TclSetByteCodeFromAny_TCL_DECLARED -/* 142 */ -EXTERN int TclSetByteCodeFromAny (Tcl_Interp * interp, - Tcl_Obj * objPtr, CompileHookProc * hookProc, - ClientData clientData); -#endif -#ifndef TclAddLiteralObj_TCL_DECLARED -#define TclAddLiteralObj_TCL_DECLARED -/* 143 */ -EXTERN int TclAddLiteralObj (struct CompileEnv * envPtr, - Tcl_Obj * objPtr, LiteralEntry ** litPtrPtr); -#endif -#ifndef TclHideLiteral_TCL_DECLARED -#define TclHideLiteral_TCL_DECLARED -/* 144 */ -EXTERN void TclHideLiteral (Tcl_Interp * interp, - struct CompileEnv * envPtr, int index); -#endif -#ifndef TclGetAuxDataType_TCL_DECLARED -#define TclGetAuxDataType_TCL_DECLARED -/* 145 */ -EXTERN CONST86 struct AuxDataType * TclGetAuxDataType (CONST char * typeName); -#endif -#ifndef TclHandleCreate_TCL_DECLARED -#define TclHandleCreate_TCL_DECLARED -/* 146 */ -EXTERN TclHandle TclHandleCreate (VOID * ptr); -#endif -#ifndef TclHandleFree_TCL_DECLARED -#define TclHandleFree_TCL_DECLARED -/* 147 */ -EXTERN void TclHandleFree (TclHandle handle); -#endif -#ifndef TclHandlePreserve_TCL_DECLARED -#define TclHandlePreserve_TCL_DECLARED -/* 148 */ -EXTERN TclHandle TclHandlePreserve (TclHandle handle); -#endif -#ifndef TclHandleRelease_TCL_DECLARED -#define TclHandleRelease_TCL_DECLARED -/* 149 */ -EXTERN void TclHandleRelease (TclHandle handle); -#endif -#ifndef TclRegAbout_TCL_DECLARED -#define TclRegAbout_TCL_DECLARED -/* 150 */ -EXTERN int TclRegAbout (Tcl_Interp * interp, Tcl_RegExp re); -#endif -#ifndef TclRegExpRangeUniChar_TCL_DECLARED -#define TclRegExpRangeUniChar_TCL_DECLARED -/* 151 */ -EXTERN void TclRegExpRangeUniChar (Tcl_RegExp re, int index, - int * startPtr, int * endPtr); -#endif -#ifndef TclSetLibraryPath_TCL_DECLARED -#define TclSetLibraryPath_TCL_DECLARED -/* 152 */ -EXTERN void TclSetLibraryPath (Tcl_Obj * pathPtr); -#endif -#ifndef TclGetLibraryPath_TCL_DECLARED -#define TclGetLibraryPath_TCL_DECLARED -/* 153 */ -EXTERN Tcl_Obj * TclGetLibraryPath (void); -#endif -/* Slot 154 is reserved */ -/* Slot 155 is reserved */ -#ifndef TclRegError_TCL_DECLARED -#define TclRegError_TCL_DECLARED -/* 156 */ -EXTERN void TclRegError (Tcl_Interp * interp, CONST char * msg, - int status); -#endif -#ifndef TclVarTraceExists_TCL_DECLARED -#define TclVarTraceExists_TCL_DECLARED -/* 157 */ -EXTERN Var * TclVarTraceExists (Tcl_Interp * interp, - CONST char * varName); -#endif -#ifndef TclSetStartupScriptFileName_TCL_DECLARED -#define TclSetStartupScriptFileName_TCL_DECLARED -/* 158 */ -EXTERN void TclSetStartupScriptFileName (CONST char * filename); -#endif -#ifndef TclGetStartupScriptFileName_TCL_DECLARED -#define TclGetStartupScriptFileName_TCL_DECLARED -/* 159 */ -EXTERN CONST84_RETURN char * TclGetStartupScriptFileName (void); -#endif -/* Slot 160 is reserved */ -#ifndef TclChannelTransform_TCL_DECLARED -#define TclChannelTransform_TCL_DECLARED -/* 161 */ -EXTERN int TclChannelTransform (Tcl_Interp * interp, - Tcl_Channel chan, Tcl_Obj * cmdObjPtr); -#endif -#ifndef TclChannelEventScriptInvoker_TCL_DECLARED -#define TclChannelEventScriptInvoker_TCL_DECLARED -/* 162 */ -EXTERN void TclChannelEventScriptInvoker (ClientData clientData, - int flags); -#endif -#ifndef TclGetInstructionTable_TCL_DECLARED -#define TclGetInstructionTable_TCL_DECLARED -/* 163 */ -EXTERN CONST86 void * TclGetInstructionTable (void); -#endif -#ifndef TclExpandCodeArray_TCL_DECLARED -#define TclExpandCodeArray_TCL_DECLARED -/* 164 */ -EXTERN void TclExpandCodeArray (void * envPtr); -#endif -#ifndef TclpSetInitialEncodings_TCL_DECLARED -#define TclpSetInitialEncodings_TCL_DECLARED -/* 165 */ -EXTERN void TclpSetInitialEncodings (void); -#endif -#ifndef TclListObjSetElement_TCL_DECLARED -#define TclListObjSetElement_TCL_DECLARED -/* 166 */ -EXTERN int TclListObjSetElement (Tcl_Interp * interp, - Tcl_Obj * listPtr, int index, - Tcl_Obj * valuePtr); -#endif -#ifndef TclSetStartupScriptPath_TCL_DECLARED -#define TclSetStartupScriptPath_TCL_DECLARED -/* 167 */ -EXTERN void TclSetStartupScriptPath (Tcl_Obj * pathPtr); -#endif -#ifndef TclGetStartupScriptPath_TCL_DECLARED -#define TclGetStartupScriptPath_TCL_DECLARED -/* 168 */ -EXTERN Tcl_Obj * TclGetStartupScriptPath (void); -#endif -#ifndef TclpUtfNcmp2_TCL_DECLARED -#define TclpUtfNcmp2_TCL_DECLARED -/* 169 */ -EXTERN int TclpUtfNcmp2 (CONST char * s1, CONST char * s2, - unsigned long n); -#endif -#ifndef TclCheckInterpTraces_TCL_DECLARED -#define TclCheckInterpTraces_TCL_DECLARED -/* 170 */ -EXTERN int TclCheckInterpTraces (Tcl_Interp * interp, - CONST char * command, int numChars, - Command * cmdPtr, int result, int traceFlags, - int objc, Tcl_Obj *CONST objv[]); -#endif -#ifndef TclCheckExecutionTraces_TCL_DECLARED -#define TclCheckExecutionTraces_TCL_DECLARED -/* 171 */ -EXTERN int TclCheckExecutionTraces (Tcl_Interp * interp, - CONST char * command, int numChars, - Command * cmdPtr, int result, int traceFlags, - int objc, Tcl_Obj *CONST objv[]); -#endif -#ifndef TclInThreadExit_TCL_DECLARED -#define TclInThreadExit_TCL_DECLARED -/* 172 */ -EXTERN int TclInThreadExit (void); -#endif -#ifndef TclUniCharMatch_TCL_DECLARED -#define TclUniCharMatch_TCL_DECLARED -/* 173 */ -EXTERN int TclUniCharMatch (CONST Tcl_UniChar * string, - int strLen, CONST Tcl_UniChar * pattern, - int ptnLen, int flags); -#endif -/* Slot 174 is reserved */ -#ifndef TclCallVarTraces_TCL_DECLARED -#define TclCallVarTraces_TCL_DECLARED -/* 175 */ -EXTERN int TclCallVarTraces (Interp * iPtr, Var * arrayPtr, - Var * varPtr, CONST char * part1, - CONST char * part2, int flags, - int leaveErrMsg); -#endif -#ifndef TclCleanupVar_TCL_DECLARED -#define TclCleanupVar_TCL_DECLARED -/* 176 */ -EXTERN void TclCleanupVar (Var * varPtr, Var * arrayPtr); -#endif -#ifndef TclVarErrMsg_TCL_DECLARED -#define TclVarErrMsg_TCL_DECLARED -/* 177 */ -EXTERN void TclVarErrMsg (Tcl_Interp * interp, - CONST char * part1, CONST char * part2, - CONST char * operation, CONST char * reason); -#endif -#ifndef Tcl_SetStartupScript_TCL_DECLARED -#define Tcl_SetStartupScript_TCL_DECLARED -/* 178 */ -EXTERN void Tcl_SetStartupScript (Tcl_Obj * pathPtr, - CONST char* encodingName); -#endif -#ifndef Tcl_GetStartupScript_TCL_DECLARED -#define Tcl_GetStartupScript_TCL_DECLARED -/* 179 */ -EXTERN Tcl_Obj * Tcl_GetStartupScript (CONST char ** encodingNamePtr); -#endif -/* Slot 180 is reserved */ -/* Slot 181 is reserved */ -#ifndef TclpLocaltime_TCL_DECLARED -#define TclpLocaltime_TCL_DECLARED -/* 182 */ -EXTERN struct tm * TclpLocaltime (CONST time_t * clock); -#endif -#ifndef TclpGmtime_TCL_DECLARED -#define TclpGmtime_TCL_DECLARED -/* 183 */ -EXTERN struct tm * TclpGmtime (CONST time_t * clock); -#endif -/* Slot 184 is reserved */ -/* Slot 185 is reserved */ -/* Slot 186 is reserved */ -/* Slot 187 is reserved */ -/* Slot 188 is reserved */ -/* Slot 189 is reserved */ -/* Slot 190 is reserved */ -/* Slot 191 is reserved */ -/* Slot 192 is reserved */ -/* Slot 193 is reserved */ -/* Slot 194 is reserved */ -/* Slot 195 is reserved */ -/* Slot 196 is reserved */ -/* Slot 197 is reserved */ -#ifndef TclObjGetFrame_TCL_DECLARED -#define TclObjGetFrame_TCL_DECLARED -/* 198 */ -EXTERN int TclObjGetFrame (Tcl_Interp * interp, - Tcl_Obj * objPtr, CallFrame ** framePtrPtr); -#endif -/* Slot 199 is reserved */ -#ifndef TclpObjRemoveDirectory_TCL_DECLARED -#define TclpObjRemoveDirectory_TCL_DECLARED -/* 200 */ -EXTERN int TclpObjRemoveDirectory (Tcl_Obj * pathPtr, - int recursive, Tcl_Obj ** errorPtr); -#endif -#ifndef TclpObjCopyDirectory_TCL_DECLARED -#define TclpObjCopyDirectory_TCL_DECLARED -/* 201 */ -EXTERN int TclpObjCopyDirectory (Tcl_Obj * srcPathPtr, - Tcl_Obj * destPathPtr, Tcl_Obj ** errorPtr); -#endif -#ifndef TclpObjCreateDirectory_TCL_DECLARED -#define TclpObjCreateDirectory_TCL_DECLARED -/* 202 */ -EXTERN int TclpObjCreateDirectory (Tcl_Obj * pathPtr); -#endif -#ifndef TclpObjDeleteFile_TCL_DECLARED -#define TclpObjDeleteFile_TCL_DECLARED -/* 203 */ -EXTERN int TclpObjDeleteFile (Tcl_Obj * pathPtr); -#endif -#ifndef TclpObjCopyFile_TCL_DECLARED -#define TclpObjCopyFile_TCL_DECLARED -/* 204 */ -EXTERN int TclpObjCopyFile (Tcl_Obj * srcPathPtr, - Tcl_Obj * destPathPtr); -#endif -#ifndef TclpObjRenameFile_TCL_DECLARED -#define TclpObjRenameFile_TCL_DECLARED -/* 205 */ -EXTERN int TclpObjRenameFile (Tcl_Obj * srcPathPtr, - Tcl_Obj * destPathPtr); -#endif -#ifndef TclpObjStat_TCL_DECLARED -#define TclpObjStat_TCL_DECLARED -/* 206 */ -EXTERN int TclpObjStat (Tcl_Obj * pathPtr, Tcl_StatBuf * buf); -#endif -#ifndef TclpObjAccess_TCL_DECLARED -#define TclpObjAccess_TCL_DECLARED -/* 207 */ -EXTERN int TclpObjAccess (Tcl_Obj * pathPtr, int mode); -#endif -#ifndef TclpOpenFileChannel_TCL_DECLARED -#define TclpOpenFileChannel_TCL_DECLARED -/* 208 */ -EXTERN Tcl_Channel TclpOpenFileChannel (Tcl_Interp * interp, - Tcl_Obj * pathPtr, int mode, int permissions); -#endif -/* Slot 209 is reserved */ -/* Slot 210 is reserved */ -/* Slot 211 is reserved */ -#ifndef TclpFindExecutable_TCL_DECLARED -#define TclpFindExecutable_TCL_DECLARED -/* 212 */ -EXTERN void TclpFindExecutable (CONST char * argv0); -#endif -#ifndef TclGetObjNameOfExecutable_TCL_DECLARED -#define TclGetObjNameOfExecutable_TCL_DECLARED -/* 213 */ -EXTERN Tcl_Obj * TclGetObjNameOfExecutable (void); -#endif -#ifndef TclSetObjNameOfExecutable_TCL_DECLARED -#define TclSetObjNameOfExecutable_TCL_DECLARED -/* 214 */ -EXTERN void TclSetObjNameOfExecutable (Tcl_Obj * name, - Tcl_Encoding encoding); -#endif -#ifndef TclStackAlloc_TCL_DECLARED -#define TclStackAlloc_TCL_DECLARED -/* 215 */ -EXTERN void * TclStackAlloc (Tcl_Interp * interp, int numBytes); -#endif -#ifndef TclStackFree_TCL_DECLARED -#define TclStackFree_TCL_DECLARED -/* 216 */ -EXTERN void TclStackFree (Tcl_Interp * interp, void * freePtr); -#endif -#ifndef TclPushStackFrame_TCL_DECLARED -#define TclPushStackFrame_TCL_DECLARED -/* 217 */ -EXTERN int TclPushStackFrame (Tcl_Interp * interp, - Tcl_CallFrame ** framePtrPtr, - Tcl_Namespace * namespacePtr, - int isProcCallFrame); -#endif -#ifndef TclPopStackFrame_TCL_DECLARED -#define TclPopStackFrame_TCL_DECLARED -/* 218 */ -EXTERN void TclPopStackFrame (Tcl_Interp * interp); -#endif -/* Slot 219 is reserved */ -/* Slot 220 is reserved */ -/* Slot 221 is reserved */ -/* Slot 222 is reserved */ -/* Slot 223 is reserved */ -#ifndef TclGetPlatform_TCL_DECLARED -#define TclGetPlatform_TCL_DECLARED -/* 224 */ -EXTERN TclPlatformType * TclGetPlatform (void); -#endif -#ifndef TclTraceDictPath_TCL_DECLARED -#define TclTraceDictPath_TCL_DECLARED -/* 225 */ -EXTERN Tcl_Obj * TclTraceDictPath (Tcl_Interp * interp, - Tcl_Obj * rootPtr, int keyc, - Tcl_Obj *CONST keyv[], int flags); -#endif -#ifndef TclObjBeingDeleted_TCL_DECLARED -#define TclObjBeingDeleted_TCL_DECLARED -/* 226 */ -EXTERN int TclObjBeingDeleted (Tcl_Obj * objPtr); -#endif -#ifndef TclSetNsPath_TCL_DECLARED -#define TclSetNsPath_TCL_DECLARED -/* 227 */ -EXTERN void TclSetNsPath (Namespace * nsPtr, int pathLength, - Tcl_Namespace * pathAry[]); -#endif -/* Slot 228 is reserved */ -#ifndef TclPtrMakeUpvar_TCL_DECLARED -#define TclPtrMakeUpvar_TCL_DECLARED -/* 229 */ -EXTERN int TclPtrMakeUpvar (Tcl_Interp * interp, - Var * otherP1Ptr, CONST char * myName, - int myFlags, int index); -#endif -#ifndef TclObjLookupVar_TCL_DECLARED -#define TclObjLookupVar_TCL_DECLARED -/* 230 */ -EXTERN Var * TclObjLookupVar (Tcl_Interp * interp, - Tcl_Obj * part1Ptr, CONST char * part2, - int flags, CONST char * msg, - CONST int createPart1, CONST int createPart2, - Var ** arrayPtrPtr); -#endif -#ifndef TclGetNamespaceFromObj_TCL_DECLARED -#define TclGetNamespaceFromObj_TCL_DECLARED -/* 231 */ -EXTERN int TclGetNamespaceFromObj (Tcl_Interp * interp, - Tcl_Obj * objPtr, Tcl_Namespace ** nsPtrPtr); -#endif -#ifndef TclEvalObjEx_TCL_DECLARED -#define TclEvalObjEx_TCL_DECLARED -/* 232 */ -EXTERN int TclEvalObjEx (Tcl_Interp * interp, Tcl_Obj * objPtr, - int flags, CONST CmdFrame * invoker, - int word); -#endif -#ifndef TclGetSrcInfoForPc_TCL_DECLARED -#define TclGetSrcInfoForPc_TCL_DECLARED -/* 233 */ -EXTERN void TclGetSrcInfoForPc (CmdFrame * contextPtr); -#endif -#ifndef TclVarHashCreateVar_TCL_DECLARED -#define TclVarHashCreateVar_TCL_DECLARED -/* 234 */ -EXTERN Var * TclVarHashCreateVar (TclVarHashTable * tablePtr, - CONST char * key, int * newPtr); -#endif -#ifndef TclInitVarHashTable_TCL_DECLARED -#define TclInitVarHashTable_TCL_DECLARED -/* 235 */ -EXTERN void TclInitVarHashTable (TclVarHashTable * tablePtr, - Namespace * nsPtr); -#endif -#ifndef TclBackgroundException_TCL_DECLARED -#define TclBackgroundException_TCL_DECLARED -/* 236 */ -EXTERN void TclBackgroundException (Tcl_Interp * interp, - int code); -#endif -#ifndef TclResetCancellation_TCL_DECLARED -#define TclResetCancellation_TCL_DECLARED -/* 237 */ -EXTERN int TclResetCancellation (Tcl_Interp * interp, int force); -#endif -#ifndef TclNRInterpProc_TCL_DECLARED -#define TclNRInterpProc_TCL_DECLARED -/* 238 */ -EXTERN int TclNRInterpProc (ClientData clientData, - Tcl_Interp * interp, int objc, - Tcl_Obj *CONST objv[]); -#endif -#ifndef TclNRInterpProcCore_TCL_DECLARED -#define TclNRInterpProcCore_TCL_DECLARED -/* 239 */ -EXTERN int TclNRInterpProcCore (Tcl_Interp * interp, - Tcl_Obj * procNameObj, int skip, - ProcErrorProc errorProc); -#endif -#ifndef TclNRRunCallbacks_TCL_DECLARED -#define TclNRRunCallbacks_TCL_DECLARED -/* 240 */ -EXTERN int TclNRRunCallbacks (Tcl_Interp * interp, int result, - struct TEOV_callback * rootPtr, int tebcCall); -#endif -#ifndef TclNREvalObjEx_TCL_DECLARED -#define TclNREvalObjEx_TCL_DECLARED -/* 241 */ -EXTERN int TclNREvalObjEx (Tcl_Interp * interp, - Tcl_Obj * objPtr, int flags, - CONST CmdFrame * invoker, int word); -#endif -#ifndef TclNREvalObjv_TCL_DECLARED -#define TclNREvalObjv_TCL_DECLARED -/* 242 */ -EXTERN int TclNREvalObjv (Tcl_Interp * interp, int objc, - Tcl_Obj *const objv[], int flags, - Command * cmdPtr); -#endif - -typedef struct TclIntStubs { - int magic; - CONST struct TclIntStubHooks *hooks; - - void *reserved0; - void *reserved1; - void *reserved2; - void (*tclAllocateFreeObjects) (void); /* 3 */ - void *reserved4; -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ - int (*tclCleanupChildren) (Tcl_Interp * interp, int numPids, Tcl_Pid * pidPtr, Tcl_Channel errorChan); /* 5 */ -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ - int (*tclCleanupChildren) (Tcl_Interp * interp, int numPids, Tcl_Pid * pidPtr, Tcl_Channel errorChan); /* 5 */ -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ - int (*tclCleanupChildren) (Tcl_Interp * interp, int numPids, Tcl_Pid * pidPtr, Tcl_Channel errorChan); /* 5 */ -#endif /* MACOSX */ - void (*tclCleanupCommand) (Command * cmdPtr); /* 6 */ - int (*tclCopyAndCollapse) (int count, CONST char * src, char * dst); /* 7 */ - int (*tclCopyChannel) (Tcl_Interp * interp, Tcl_Channel inChan, Tcl_Channel outChan, int toRead, Tcl_Obj * cmdPtr); /* 8 */ -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ - int (*tclCreatePipeline) (Tcl_Interp * interp, int argc, CONST char ** argv, Tcl_Pid ** pidArrayPtr, TclFile * inPipePtr, TclFile * outPipePtr, TclFile * errFilePtr); /* 9 */ -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ - int (*tclCreatePipeline) (Tcl_Interp * interp, int argc, CONST char ** argv, Tcl_Pid ** pidArrayPtr, TclFile * inPipePtr, TclFile * outPipePtr, TclFile * errFilePtr); /* 9 */ -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ - int (*tclCreatePipeline) (Tcl_Interp * interp, int argc, CONST char ** argv, Tcl_Pid ** pidArrayPtr, TclFile * inPipePtr, TclFile * outPipePtr, TclFile * errFilePtr); /* 9 */ -#endif /* MACOSX */ - int (*tclCreateProc) (Tcl_Interp * interp, Namespace * nsPtr, CONST char * procName, Tcl_Obj * argsPtr, Tcl_Obj * bodyPtr, Proc ** procPtrPtr); /* 10 */ - void (*tclDeleteCompiledLocalVars) (Interp * iPtr, CallFrame * framePtr); /* 11 */ - void (*tclDeleteVars) (Interp * iPtr, TclVarHashTable * tablePtr); /* 12 */ - void *reserved13; - void (*tclDumpMemoryInfo) (FILE * outFile); /* 14 */ - void *reserved15; - void (*tclExprFloatError) (Tcl_Interp * interp, double value); /* 16 */ - void *reserved17; - void *reserved18; - void *reserved19; - void *reserved20; - void *reserved21; - int (*tclFindElement) (Tcl_Interp * interp, CONST char * listStr, int listLength, CONST char ** elementPtr, CONST char ** nextPtr, int * sizePtr, int * bracePtr); /* 22 */ - Proc * (*tclFindProc) (Interp * iPtr, CONST char * procName); /* 23 */ - void *reserved24; - void (*tclFreePackageInfo) (Interp * iPtr); /* 25 */ - void *reserved26; - void *reserved27; - Tcl_Channel (*tclpGetDefaultStdChannel) (int type); /* 28 */ - void *reserved29; - void *reserved30; - CONST char * (*tclGetExtension) (CONST char * name); /* 31 */ - int (*tclGetFrame) (Tcl_Interp * interp, CONST char * str, CallFrame ** framePtrPtr); /* 32 */ - void *reserved33; - int (*tclGetIntForIndex) (Tcl_Interp * interp, Tcl_Obj * objPtr, int endValue, int * indexPtr); /* 34 */ - void *reserved35; - void *reserved36; - int (*tclGetLoadedPackages) (Tcl_Interp * interp, char * targetName); /* 37 */ - int (*tclGetNamespaceForQualName) (Tcl_Interp * interp, CONST char * qualName, Namespace * cxtNsPtr, int flags, Namespace ** nsPtrPtr, Namespace ** altNsPtrPtr, Namespace ** actualCxtPtrPtr, CONST char ** simpleNamePtr); /* 38 */ - TclObjCmdProcType (*tclGetObjInterpProc) (void); /* 39 */ - int (*tclGetOpenMode) (Tcl_Interp * interp, CONST char * str, int * seekFlagPtr); /* 40 */ - Tcl_Command (*tclGetOriginalCommand) (Tcl_Command command); /* 41 */ - char * (*tclpGetUserHome) (CONST char * name, Tcl_DString * bufferPtr); /* 42 */ - void *reserved43; - int (*tclGuessPackageName) (CONST char * fileName, Tcl_DString * bufPtr); /* 44 */ - int (*tclHideUnsafeCommands) (Tcl_Interp * interp); /* 45 */ - int (*tclInExit) (void); /* 46 */ - void *reserved47; - void *reserved48; - void *reserved49; - void (*tclInitCompiledLocals) (Tcl_Interp * interp, CallFrame * framePtr, Namespace * nsPtr); /* 50 */ - int (*tclInterpInit) (Tcl_Interp * interp); /* 51 */ - void *reserved52; - int (*tclInvokeObjectCommand) (ClientData clientData, Tcl_Interp * interp, int argc, CONST84 char ** argv); /* 53 */ - int (*tclInvokeStringCommand) (ClientData clientData, Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[]); /* 54 */ - Proc * (*tclIsProc) (Command * cmdPtr); /* 55 */ - void *reserved56; - void *reserved57; - Var * (*tclLookupVar) (Tcl_Interp * interp, CONST char * part1, CONST char * part2, int flags, CONST char * msg, int createPart1, int createPart2, Var ** arrayPtrPtr); /* 58 */ - void *reserved59; - int (*tclNeedSpace) (CONST char * start, CONST char * end); /* 60 */ - Tcl_Obj * (*tclNewProcBodyObj) (Proc * procPtr); /* 61 */ - int (*tclObjCommandComplete) (Tcl_Obj * cmdPtr); /* 62 */ - int (*tclObjInterpProc) (ClientData clientData, Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[]); /* 63 */ - int (*tclObjInvoke) (Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[], int flags); /* 64 */ - void *reserved65; - void *reserved66; - void *reserved67; - void *reserved68; - char * (*tclpAlloc) (unsigned int size); /* 69 */ - void *reserved70; - void *reserved71; - void *reserved72; - void *reserved73; - void (*tclpFree) (char * ptr); /* 74 */ - unsigned long (*tclpGetClicks) (void); /* 75 */ - unsigned long (*tclpGetSeconds) (void); /* 76 */ - void (*tclpGetTime) (Tcl_Time * time); /* 77 */ - int (*tclpGetTimeZone) (unsigned long time); /* 78 */ - void *reserved79; - void *reserved80; - char * (*tclpRealloc) (char * ptr, unsigned int size); /* 81 */ - void *reserved82; - void *reserved83; - void *reserved84; - void *reserved85; - void *reserved86; - void *reserved87; - char * (*tclPrecTraceProc) (ClientData clientData, Tcl_Interp * interp, CONST char * name1, CONST char * name2, int flags); /* 88 */ - int (*tclPreventAliasLoop) (Tcl_Interp * interp, Tcl_Interp * cmdInterp, Tcl_Command cmd); /* 89 */ - void *reserved90; - void (*tclProcCleanupProc) (Proc * procPtr); /* 91 */ - int (*tclProcCompileProc) (Tcl_Interp * interp, Proc * procPtr, Tcl_Obj * bodyPtr, Namespace * nsPtr, CONST char * description, CONST char * procName); /* 92 */ - void (*tclProcDeleteProc) (ClientData clientData); /* 93 */ - void *reserved94; - void *reserved95; - int (*tclRenameCommand) (Tcl_Interp * interp, CONST char * oldName, CONST char * newName); /* 96 */ - void (*tclResetShadowedCmdRefs) (Tcl_Interp * interp, Command * newCmdPtr); /* 97 */ - int (*tclServiceIdle) (void); /* 98 */ - void *reserved99; - void *reserved100; - char * (*tclSetPreInitScript) (char * string); /* 101 */ - void (*tclSetupEnv) (Tcl_Interp * interp); /* 102 */ - int (*tclSockGetPort) (Tcl_Interp * interp, CONST char * str, CONST char * proto, int * portPtr); /* 103 */ -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ - int (*tclSockMinimumBuffers) (int sock, int size); /* 104 */ -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ - int (*tclSockMinimumBuffers) (int sock, int size); /* 104 */ -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ - int (*tclSockMinimumBuffers) (int sock, int size); /* 104 */ -#endif /* MACOSX */ - void *reserved105; - void *reserved106; - void *reserved107; - void (*tclTeardownNamespace) (Namespace * nsPtr); /* 108 */ - int (*tclUpdateReturnInfo) (Interp * iPtr); /* 109 */ - void *reserved110; - void (*tcl_AddInterpResolvers) (Tcl_Interp * interp, CONST char * name, Tcl_ResolveCmdProc * cmdProc, Tcl_ResolveVarProc * varProc, Tcl_ResolveCompiledVarProc * compiledVarProc); /* 111 */ - int (*tcl_AppendExportList) (Tcl_Interp * interp, Tcl_Namespace * nsPtr, Tcl_Obj * objPtr); /* 112 */ - Tcl_Namespace * (*tcl_CreateNamespace) (Tcl_Interp * interp, CONST char * name, ClientData clientData, Tcl_NamespaceDeleteProc * deleteProc); /* 113 */ - void (*tcl_DeleteNamespace) (Tcl_Namespace * nsPtr); /* 114 */ - int (*tcl_Export) (Tcl_Interp * interp, Tcl_Namespace * nsPtr, CONST char * pattern, int resetListFirst); /* 115 */ - Tcl_Command (*tcl_FindCommand) (Tcl_Interp * interp, CONST char * name, Tcl_Namespace * contextNsPtr, int flags); /* 116 */ - Tcl_Namespace * (*tcl_FindNamespace) (Tcl_Interp * interp, CONST char * name, Tcl_Namespace * contextNsPtr, int flags); /* 117 */ - int (*tcl_GetInterpResolvers) (Tcl_Interp * interp, CONST char * name, Tcl_ResolverInfo * resInfo); /* 118 */ - int (*tcl_GetNamespaceResolvers) (Tcl_Namespace * namespacePtr, Tcl_ResolverInfo * resInfo); /* 119 */ - Tcl_Var (*tcl_FindNamespaceVar) (Tcl_Interp * interp, CONST char * name, Tcl_Namespace * contextNsPtr, int flags); /* 120 */ - int (*tcl_ForgetImport) (Tcl_Interp * interp, Tcl_Namespace * nsPtr, CONST char * pattern); /* 121 */ - Tcl_Command (*tcl_GetCommandFromObj) (Tcl_Interp * interp, Tcl_Obj * objPtr); /* 122 */ - void (*tcl_GetCommandFullName) (Tcl_Interp * interp, Tcl_Command command, Tcl_Obj * objPtr); /* 123 */ - Tcl_Namespace * (*tcl_GetCurrentNamespace) (Tcl_Interp * interp); /* 124 */ - Tcl_Namespace * (*tcl_GetGlobalNamespace) (Tcl_Interp * interp); /* 125 */ - void (*tcl_GetVariableFullName) (Tcl_Interp * interp, Tcl_Var variable, Tcl_Obj * objPtr); /* 126 */ - int (*tcl_Import) (Tcl_Interp * interp, Tcl_Namespace * nsPtr, CONST char * pattern, int allowOverwrite); /* 127 */ - void (*tcl_PopCallFrame) (Tcl_Interp * interp); /* 128 */ - int (*tcl_PushCallFrame) (Tcl_Interp * interp, Tcl_CallFrame * framePtr, Tcl_Namespace * nsPtr, int isProcCallFrame); /* 129 */ - int (*tcl_RemoveInterpResolvers) (Tcl_Interp * interp, CONST char * name); /* 130 */ - void (*tcl_SetNamespaceResolvers) (Tcl_Namespace * namespacePtr, Tcl_ResolveCmdProc * cmdProc, Tcl_ResolveVarProc * varProc, Tcl_ResolveCompiledVarProc * compiledVarProc); /* 131 */ - int (*tclpHasSockets) (Tcl_Interp * interp); /* 132 */ - struct tm * (*tclpGetDate) (CONST time_t * time, int useGMT); /* 133 */ - void *reserved134; - void *reserved135; - void *reserved136; - void *reserved137; - CONST84_RETURN char * (*tclGetEnv) (CONST char * name, Tcl_DString * valuePtr); /* 138 */ - void *reserved139; - void *reserved140; - CONST84_RETURN char * (*tclpGetCwd) (Tcl_Interp * interp, Tcl_DString * cwdPtr); /* 141 */ - int (*tclSetByteCodeFromAny) (Tcl_Interp * interp, Tcl_Obj * objPtr, CompileHookProc * hookProc, ClientData clientData); /* 142 */ - int (*tclAddLiteralObj) (struct CompileEnv * envPtr, Tcl_Obj * objPtr, LiteralEntry ** litPtrPtr); /* 143 */ - void (*tclHideLiteral) (Tcl_Interp * interp, struct CompileEnv * envPtr, int index); /* 144 */ - CONST86 struct AuxDataType * (*tclGetAuxDataType) (CONST char * typeName); /* 145 */ - TclHandle (*tclHandleCreate) (VOID * ptr); /* 146 */ - void (*tclHandleFree) (TclHandle handle); /* 147 */ - TclHandle (*tclHandlePreserve) (TclHandle handle); /* 148 */ - void (*tclHandleRelease) (TclHandle handle); /* 149 */ - int (*tclRegAbout) (Tcl_Interp * interp, Tcl_RegExp re); /* 150 */ - void (*tclRegExpRangeUniChar) (Tcl_RegExp re, int index, int * startPtr, int * endPtr); /* 151 */ - void (*tclSetLibraryPath) (Tcl_Obj * pathPtr); /* 152 */ - Tcl_Obj * (*tclGetLibraryPath) (void); /* 153 */ - void *reserved154; - void *reserved155; - void (*tclRegError) (Tcl_Interp * interp, CONST char * msg, int status); /* 156 */ - Var * (*tclVarTraceExists) (Tcl_Interp * interp, CONST char * varName); /* 157 */ - void (*tclSetStartupScriptFileName) (CONST char * filename); /* 158 */ - CONST84_RETURN char * (*tclGetStartupScriptFileName) (void); /* 159 */ - void *reserved160; - int (*tclChannelTransform) (Tcl_Interp * interp, Tcl_Channel chan, Tcl_Obj * cmdObjPtr); /* 161 */ - void (*tclChannelEventScriptInvoker) (ClientData clientData, int flags); /* 162 */ - CONST86 void * (*tclGetInstructionTable) (void); /* 163 */ - void (*tclExpandCodeArray) (void * envPtr); /* 164 */ - void (*tclpSetInitialEncodings) (void); /* 165 */ - int (*tclListObjSetElement) (Tcl_Interp * interp, Tcl_Obj * listPtr, int index, Tcl_Obj * valuePtr); /* 166 */ - void (*tclSetStartupScriptPath) (Tcl_Obj * pathPtr); /* 167 */ - Tcl_Obj * (*tclGetStartupScriptPath) (void); /* 168 */ - int (*tclpUtfNcmp2) (CONST char * s1, CONST char * s2, unsigned long n); /* 169 */ - int (*tclCheckInterpTraces) (Tcl_Interp * interp, CONST char * command, int numChars, Command * cmdPtr, int result, int traceFlags, int objc, Tcl_Obj *CONST objv[]); /* 170 */ - int (*tclCheckExecutionTraces) (Tcl_Interp * interp, CONST char * command, int numChars, Command * cmdPtr, int result, int traceFlags, int objc, Tcl_Obj *CONST objv[]); /* 171 */ - int (*tclInThreadExit) (void); /* 172 */ - int (*tclUniCharMatch) (CONST Tcl_UniChar * string, int strLen, CONST Tcl_UniChar * pattern, int ptnLen, int flags); /* 173 */ - void *reserved174; - int (*tclCallVarTraces) (Interp * iPtr, Var * arrayPtr, Var * varPtr, CONST char * part1, CONST char * part2, int flags, int leaveErrMsg); /* 175 */ - void (*tclCleanupVar) (Var * varPtr, Var * arrayPtr); /* 176 */ - void (*tclVarErrMsg) (Tcl_Interp * interp, CONST char * part1, CONST char * part2, CONST char * operation, CONST char * reason); /* 177 */ - void (*tcl_SetStartupScript) (Tcl_Obj * pathPtr, CONST char* encodingName); /* 178 */ - Tcl_Obj * (*tcl_GetStartupScript) (CONST char ** encodingNamePtr); /* 179 */ - void *reserved180; - void *reserved181; - struct tm * (*tclpLocaltime) (CONST time_t * clock); /* 182 */ - struct tm * (*tclpGmtime) (CONST time_t * clock); /* 183 */ - void *reserved184; - void *reserved185; - void *reserved186; - void *reserved187; - void *reserved188; - void *reserved189; - void *reserved190; - void *reserved191; - void *reserved192; - void *reserved193; - void *reserved194; - void *reserved195; - void *reserved196; - void *reserved197; - int (*tclObjGetFrame) (Tcl_Interp * interp, Tcl_Obj * objPtr, CallFrame ** framePtrPtr); /* 198 */ - void *reserved199; - int (*tclpObjRemoveDirectory) (Tcl_Obj * pathPtr, int recursive, Tcl_Obj ** errorPtr); /* 200 */ - int (*tclpObjCopyDirectory) (Tcl_Obj * srcPathPtr, Tcl_Obj * destPathPtr, Tcl_Obj ** errorPtr); /* 201 */ - int (*tclpObjCreateDirectory) (Tcl_Obj * pathPtr); /* 202 */ - int (*tclpObjDeleteFile) (Tcl_Obj * pathPtr); /* 203 */ - int (*tclpObjCopyFile) (Tcl_Obj * srcPathPtr, Tcl_Obj * destPathPtr); /* 204 */ - int (*tclpObjRenameFile) (Tcl_Obj * srcPathPtr, Tcl_Obj * destPathPtr); /* 205 */ - int (*tclpObjStat) (Tcl_Obj * pathPtr, Tcl_StatBuf * buf); /* 206 */ - int (*tclpObjAccess) (Tcl_Obj * pathPtr, int mode); /* 207 */ - Tcl_Channel (*tclpOpenFileChannel) (Tcl_Interp * interp, Tcl_Obj * pathPtr, int mode, int permissions); /* 208 */ - void *reserved209; - void *reserved210; - void *reserved211; - void (*tclpFindExecutable) (CONST char * argv0); /* 212 */ - Tcl_Obj * (*tclGetObjNameOfExecutable) (void); /* 213 */ - void (*tclSetObjNameOfExecutable) (Tcl_Obj * name, Tcl_Encoding encoding); /* 214 */ - void * (*tclStackAlloc) (Tcl_Interp * interp, int numBytes); /* 215 */ - void (*tclStackFree) (Tcl_Interp * interp, void * freePtr); /* 216 */ - int (*tclPushStackFrame) (Tcl_Interp * interp, Tcl_CallFrame ** framePtrPtr, Tcl_Namespace * namespacePtr, int isProcCallFrame); /* 217 */ - void (*tclPopStackFrame) (Tcl_Interp * interp); /* 218 */ - void *reserved219; - void *reserved220; - void *reserved221; - void *reserved222; - void *reserved223; - TclPlatformType * (*tclGetPlatform) (void); /* 224 */ - Tcl_Obj * (*tclTraceDictPath) (Tcl_Interp * interp, Tcl_Obj * rootPtr, int keyc, Tcl_Obj *CONST keyv[], int flags); /* 225 */ - int (*tclObjBeingDeleted) (Tcl_Obj * objPtr); /* 226 */ - void (*tclSetNsPath) (Namespace * nsPtr, int pathLength, Tcl_Namespace * pathAry[]); /* 227 */ - void *reserved228; - int (*tclPtrMakeUpvar) (Tcl_Interp * interp, Var * otherP1Ptr, CONST char * myName, int myFlags, int index); /* 229 */ - Var * (*tclObjLookupVar) (Tcl_Interp * interp, Tcl_Obj * part1Ptr, CONST char * part2, int flags, CONST char * msg, CONST int createPart1, CONST int createPart2, Var ** arrayPtrPtr); /* 230 */ - int (*tclGetNamespaceFromObj) (Tcl_Interp * interp, Tcl_Obj * objPtr, Tcl_Namespace ** nsPtrPtr); /* 231 */ - int (*tclEvalObjEx) (Tcl_Interp * interp, Tcl_Obj * objPtr, int flags, CONST CmdFrame * invoker, int word); /* 232 */ - void (*tclGetSrcInfoForPc) (CmdFrame * contextPtr); /* 233 */ - Var * (*tclVarHashCreateVar) (TclVarHashTable * tablePtr, CONST char * key, int * newPtr); /* 234 */ - void (*tclInitVarHashTable) (TclVarHashTable * tablePtr, Namespace * nsPtr); /* 235 */ - void (*tclBackgroundException) (Tcl_Interp * interp, int code); /* 236 */ - int (*tclResetCancellation) (Tcl_Interp * interp, int force); /* 237 */ - int (*tclNRInterpProc) (ClientData clientData, Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[]); /* 238 */ - int (*tclNRInterpProcCore) (Tcl_Interp * interp, Tcl_Obj * procNameObj, int skip, ProcErrorProc errorProc); /* 239 */ - int (*tclNRRunCallbacks) (Tcl_Interp * interp, int result, struct TEOV_callback * rootPtr, int tebcCall); /* 240 */ - int (*tclNREvalObjEx) (Tcl_Interp * interp, Tcl_Obj * objPtr, int flags, CONST CmdFrame * invoker, int word); /* 241 */ - int (*tclNREvalObjv) (Tcl_Interp * interp, int objc, Tcl_Obj *const objv[], int flags, Command * cmdPtr); /* 242 */ -} TclIntStubs; - -#if defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) -extern CONST TclIntStubs *tclIntStubsPtr; -#endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */ - -#if defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) - -/* - * Inline function declarations: - */ - -/* Slot 0 is reserved */ -/* Slot 1 is reserved */ -/* Slot 2 is reserved */ -#ifndef TclAllocateFreeObjects -#define TclAllocateFreeObjects \ - (tclIntStubsPtr->tclAllocateFreeObjects) /* 3 */ -#endif -/* Slot 4 is reserved */ -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ -#ifndef TclCleanupChildren -#define TclCleanupChildren \ - (tclIntStubsPtr->tclCleanupChildren) /* 5 */ -#endif -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ -#ifndef TclCleanupChildren -#define TclCleanupChildren \ - (tclIntStubsPtr->tclCleanupChildren) /* 5 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ -#ifndef TclCleanupChildren -#define TclCleanupChildren \ - (tclIntStubsPtr->tclCleanupChildren) /* 5 */ -#endif -#endif /* MACOSX */ -#ifndef TclCleanupCommand -#define TclCleanupCommand \ - (tclIntStubsPtr->tclCleanupCommand) /* 6 */ -#endif -#ifndef TclCopyAndCollapse -#define TclCopyAndCollapse \ - (tclIntStubsPtr->tclCopyAndCollapse) /* 7 */ -#endif -#ifndef TclCopyChannel -#define TclCopyChannel \ - (tclIntStubsPtr->tclCopyChannel) /* 8 */ -#endif -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ -#ifndef TclCreatePipeline -#define TclCreatePipeline \ - (tclIntStubsPtr->tclCreatePipeline) /* 9 */ -#endif -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ -#ifndef TclCreatePipeline -#define TclCreatePipeline \ - (tclIntStubsPtr->tclCreatePipeline) /* 9 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ -#ifndef TclCreatePipeline -#define TclCreatePipeline \ - (tclIntStubsPtr->tclCreatePipeline) /* 9 */ -#endif -#endif /* MACOSX */ -#ifndef TclCreateProc -#define TclCreateProc \ - (tclIntStubsPtr->tclCreateProc) /* 10 */ -#endif -#ifndef TclDeleteCompiledLocalVars -#define TclDeleteCompiledLocalVars \ - (tclIntStubsPtr->tclDeleteCompiledLocalVars) /* 11 */ -#endif -#ifndef TclDeleteVars -#define TclDeleteVars \ - (tclIntStubsPtr->tclDeleteVars) /* 12 */ -#endif -/* Slot 13 is reserved */ -#ifndef TclDumpMemoryInfo -#define TclDumpMemoryInfo \ - (tclIntStubsPtr->tclDumpMemoryInfo) /* 14 */ -#endif -/* Slot 15 is reserved */ -#ifndef TclExprFloatError -#define TclExprFloatError \ - (tclIntStubsPtr->tclExprFloatError) /* 16 */ -#endif -/* Slot 17 is reserved */ -/* Slot 18 is reserved */ -/* Slot 19 is reserved */ -/* Slot 20 is reserved */ -/* Slot 21 is reserved */ -#ifndef TclFindElement -#define TclFindElement \ - (tclIntStubsPtr->tclFindElement) /* 22 */ -#endif -#ifndef TclFindProc -#define TclFindProc \ - (tclIntStubsPtr->tclFindProc) /* 23 */ -#endif -/* Slot 24 is reserved */ -#ifndef TclFreePackageInfo -#define TclFreePackageInfo \ - (tclIntStubsPtr->tclFreePackageInfo) /* 25 */ -#endif -/* Slot 26 is reserved */ -/* Slot 27 is reserved */ -#ifndef TclpGetDefaultStdChannel -#define TclpGetDefaultStdChannel \ - (tclIntStubsPtr->tclpGetDefaultStdChannel) /* 28 */ -#endif -/* Slot 29 is reserved */ -/* Slot 30 is reserved */ -#ifndef TclGetExtension -#define TclGetExtension \ - (tclIntStubsPtr->tclGetExtension) /* 31 */ -#endif -#ifndef TclGetFrame -#define TclGetFrame \ - (tclIntStubsPtr->tclGetFrame) /* 32 */ -#endif -/* Slot 33 is reserved */ -#ifndef TclGetIntForIndex -#define TclGetIntForIndex \ - (tclIntStubsPtr->tclGetIntForIndex) /* 34 */ -#endif -/* Slot 35 is reserved */ -/* Slot 36 is reserved */ -#ifndef TclGetLoadedPackages -#define TclGetLoadedPackages \ - (tclIntStubsPtr->tclGetLoadedPackages) /* 37 */ -#endif -#ifndef TclGetNamespaceForQualName -#define TclGetNamespaceForQualName \ - (tclIntStubsPtr->tclGetNamespaceForQualName) /* 38 */ -#endif -#ifndef TclGetObjInterpProc -#define TclGetObjInterpProc \ - (tclIntStubsPtr->tclGetObjInterpProc) /* 39 */ -#endif -#ifndef TclGetOpenMode -#define TclGetOpenMode \ - (tclIntStubsPtr->tclGetOpenMode) /* 40 */ -#endif -#ifndef TclGetOriginalCommand -#define TclGetOriginalCommand \ - (tclIntStubsPtr->tclGetOriginalCommand) /* 41 */ -#endif -#ifndef TclpGetUserHome -#define TclpGetUserHome \ - (tclIntStubsPtr->tclpGetUserHome) /* 42 */ -#endif -/* Slot 43 is reserved */ -#ifndef TclGuessPackageName -#define TclGuessPackageName \ - (tclIntStubsPtr->tclGuessPackageName) /* 44 */ -#endif -#ifndef TclHideUnsafeCommands -#define TclHideUnsafeCommands \ - (tclIntStubsPtr->tclHideUnsafeCommands) /* 45 */ -#endif -#ifndef TclInExit -#define TclInExit \ - (tclIntStubsPtr->tclInExit) /* 46 */ -#endif -/* Slot 47 is reserved */ -/* Slot 48 is reserved */ -/* Slot 49 is reserved */ -#ifndef TclInitCompiledLocals -#define TclInitCompiledLocals \ - (tclIntStubsPtr->tclInitCompiledLocals) /* 50 */ -#endif -#ifndef TclInterpInit -#define TclInterpInit \ - (tclIntStubsPtr->tclInterpInit) /* 51 */ -#endif -/* Slot 52 is reserved */ -#ifndef TclInvokeObjectCommand -#define TclInvokeObjectCommand \ - (tclIntStubsPtr->tclInvokeObjectCommand) /* 53 */ -#endif -#ifndef TclInvokeStringCommand -#define TclInvokeStringCommand \ - (tclIntStubsPtr->tclInvokeStringCommand) /* 54 */ -#endif -#ifndef TclIsProc -#define TclIsProc \ - (tclIntStubsPtr->tclIsProc) /* 55 */ -#endif -/* Slot 56 is reserved */ -/* Slot 57 is reserved */ -#ifndef TclLookupVar -#define TclLookupVar \ - (tclIntStubsPtr->tclLookupVar) /* 58 */ -#endif -/* Slot 59 is reserved */ -#ifndef TclNeedSpace -#define TclNeedSpace \ - (tclIntStubsPtr->tclNeedSpace) /* 60 */ -#endif -#ifndef TclNewProcBodyObj -#define TclNewProcBodyObj \ - (tclIntStubsPtr->tclNewProcBodyObj) /* 61 */ -#endif -#ifndef TclObjCommandComplete -#define TclObjCommandComplete \ - (tclIntStubsPtr->tclObjCommandComplete) /* 62 */ -#endif -#ifndef TclObjInterpProc -#define TclObjInterpProc \ - (tclIntStubsPtr->tclObjInterpProc) /* 63 */ -#endif -#ifndef TclObjInvoke -#define TclObjInvoke \ - (tclIntStubsPtr->tclObjInvoke) /* 64 */ -#endif -/* Slot 65 is reserved */ -/* Slot 66 is reserved */ -/* Slot 67 is reserved */ -/* Slot 68 is reserved */ -#ifndef TclpAlloc -#define TclpAlloc \ - (tclIntStubsPtr->tclpAlloc) /* 69 */ -#endif -/* Slot 70 is reserved */ -/* Slot 71 is reserved */ -/* Slot 72 is reserved */ -/* Slot 73 is reserved */ -#ifndef TclpFree -#define TclpFree \ - (tclIntStubsPtr->tclpFree) /* 74 */ -#endif -#ifndef TclpGetClicks -#define TclpGetClicks \ - (tclIntStubsPtr->tclpGetClicks) /* 75 */ -#endif -#ifndef TclpGetSeconds -#define TclpGetSeconds \ - (tclIntStubsPtr->tclpGetSeconds) /* 76 */ -#endif -#ifndef TclpGetTime -#define TclpGetTime \ - (tclIntStubsPtr->tclpGetTime) /* 77 */ -#endif -#ifndef TclpGetTimeZone -#define TclpGetTimeZone \ - (tclIntStubsPtr->tclpGetTimeZone) /* 78 */ -#endif -/* Slot 79 is reserved */ -/* Slot 80 is reserved */ -#ifndef TclpRealloc -#define TclpRealloc \ - (tclIntStubsPtr->tclpRealloc) /* 81 */ -#endif -/* Slot 82 is reserved */ -/* Slot 83 is reserved */ -/* Slot 84 is reserved */ -/* Slot 85 is reserved */ -/* Slot 86 is reserved */ -/* Slot 87 is reserved */ -#ifndef TclPrecTraceProc -#define TclPrecTraceProc \ - (tclIntStubsPtr->tclPrecTraceProc) /* 88 */ -#endif -#ifndef TclPreventAliasLoop -#define TclPreventAliasLoop \ - (tclIntStubsPtr->tclPreventAliasLoop) /* 89 */ -#endif -/* Slot 90 is reserved */ -#ifndef TclProcCleanupProc -#define TclProcCleanupProc \ - (tclIntStubsPtr->tclProcCleanupProc) /* 91 */ -#endif -#ifndef TclProcCompileProc -#define TclProcCompileProc \ - (tclIntStubsPtr->tclProcCompileProc) /* 92 */ -#endif -#ifndef TclProcDeleteProc -#define TclProcDeleteProc \ - (tclIntStubsPtr->tclProcDeleteProc) /* 93 */ -#endif -/* Slot 94 is reserved */ -/* Slot 95 is reserved */ -#ifndef TclRenameCommand -#define TclRenameCommand \ - (tclIntStubsPtr->tclRenameCommand) /* 96 */ -#endif -#ifndef TclResetShadowedCmdRefs -#define TclResetShadowedCmdRefs \ - (tclIntStubsPtr->tclResetShadowedCmdRefs) /* 97 */ -#endif -#ifndef TclServiceIdle -#define TclServiceIdle \ - (tclIntStubsPtr->tclServiceIdle) /* 98 */ -#endif -/* Slot 99 is reserved */ -/* Slot 100 is reserved */ -#ifndef TclSetPreInitScript -#define TclSetPreInitScript \ - (tclIntStubsPtr->tclSetPreInitScript) /* 101 */ -#endif -#ifndef TclSetupEnv -#define TclSetupEnv \ - (tclIntStubsPtr->tclSetupEnv) /* 102 */ -#endif -#ifndef TclSockGetPort -#define TclSockGetPort \ - (tclIntStubsPtr->tclSockGetPort) /* 103 */ -#endif -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ -#ifndef TclSockMinimumBuffers -#define TclSockMinimumBuffers \ - (tclIntStubsPtr->tclSockMinimumBuffers) /* 104 */ -#endif -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ -#ifndef TclSockMinimumBuffers -#define TclSockMinimumBuffers \ - (tclIntStubsPtr->tclSockMinimumBuffers) /* 104 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ -#ifndef TclSockMinimumBuffers -#define TclSockMinimumBuffers \ - (tclIntStubsPtr->tclSockMinimumBuffers) /* 104 */ -#endif -#endif /* MACOSX */ -/* Slot 105 is reserved */ -/* Slot 106 is reserved */ -/* Slot 107 is reserved */ -#ifndef TclTeardownNamespace -#define TclTeardownNamespace \ - (tclIntStubsPtr->tclTeardownNamespace) /* 108 */ -#endif -#ifndef TclUpdateReturnInfo -#define TclUpdateReturnInfo \ - (tclIntStubsPtr->tclUpdateReturnInfo) /* 109 */ -#endif -/* Slot 110 is reserved */ -#ifndef Tcl_AddInterpResolvers -#define Tcl_AddInterpResolvers \ - (tclIntStubsPtr->tcl_AddInterpResolvers) /* 111 */ -#endif -#ifndef Tcl_AppendExportList -#define Tcl_AppendExportList \ - (tclIntStubsPtr->tcl_AppendExportList) /* 112 */ -#endif -#ifndef Tcl_CreateNamespace -#define Tcl_CreateNamespace \ - (tclIntStubsPtr->tcl_CreateNamespace) /* 113 */ -#endif -#ifndef Tcl_DeleteNamespace -#define Tcl_DeleteNamespace \ - (tclIntStubsPtr->tcl_DeleteNamespace) /* 114 */ -#endif -#ifndef Tcl_Export -#define Tcl_Export \ - (tclIntStubsPtr->tcl_Export) /* 115 */ -#endif -#ifndef Tcl_FindCommand -#define Tcl_FindCommand \ - (tclIntStubsPtr->tcl_FindCommand) /* 116 */ -#endif -#ifndef Tcl_FindNamespace -#define Tcl_FindNamespace \ - (tclIntStubsPtr->tcl_FindNamespace) /* 117 */ -#endif -#ifndef Tcl_GetInterpResolvers -#define Tcl_GetInterpResolvers \ - (tclIntStubsPtr->tcl_GetInterpResolvers) /* 118 */ -#endif -#ifndef Tcl_GetNamespaceResolvers -#define Tcl_GetNamespaceResolvers \ - (tclIntStubsPtr->tcl_GetNamespaceResolvers) /* 119 */ -#endif -#ifndef Tcl_FindNamespaceVar -#define Tcl_FindNamespaceVar \ - (tclIntStubsPtr->tcl_FindNamespaceVar) /* 120 */ -#endif -#ifndef Tcl_ForgetImport -#define Tcl_ForgetImport \ - (tclIntStubsPtr->tcl_ForgetImport) /* 121 */ -#endif -#ifndef Tcl_GetCommandFromObj -#define Tcl_GetCommandFromObj \ - (tclIntStubsPtr->tcl_GetCommandFromObj) /* 122 */ -#endif -#ifndef Tcl_GetCommandFullName -#define Tcl_GetCommandFullName \ - (tclIntStubsPtr->tcl_GetCommandFullName) /* 123 */ -#endif -#ifndef Tcl_GetCurrentNamespace -#define Tcl_GetCurrentNamespace \ - (tclIntStubsPtr->tcl_GetCurrentNamespace) /* 124 */ -#endif -#ifndef Tcl_GetGlobalNamespace -#define Tcl_GetGlobalNamespace \ - (tclIntStubsPtr->tcl_GetGlobalNamespace) /* 125 */ -#endif -#ifndef Tcl_GetVariableFullName -#define Tcl_GetVariableFullName \ - (tclIntStubsPtr->tcl_GetVariableFullName) /* 126 */ -#endif -#ifndef Tcl_Import -#define Tcl_Import \ - (tclIntStubsPtr->tcl_Import) /* 127 */ -#endif -#ifndef Tcl_PopCallFrame -#define Tcl_PopCallFrame \ - (tclIntStubsPtr->tcl_PopCallFrame) /* 128 */ -#endif -#ifndef Tcl_PushCallFrame -#define Tcl_PushCallFrame \ - (tclIntStubsPtr->tcl_PushCallFrame) /* 129 */ -#endif -#ifndef Tcl_RemoveInterpResolvers -#define Tcl_RemoveInterpResolvers \ - (tclIntStubsPtr->tcl_RemoveInterpResolvers) /* 130 */ -#endif -#ifndef Tcl_SetNamespaceResolvers -#define Tcl_SetNamespaceResolvers \ - (tclIntStubsPtr->tcl_SetNamespaceResolvers) /* 131 */ -#endif -#ifndef TclpHasSockets -#define TclpHasSockets \ - (tclIntStubsPtr->tclpHasSockets) /* 132 */ -#endif -#ifndef TclpGetDate -#define TclpGetDate \ - (tclIntStubsPtr->tclpGetDate) /* 133 */ -#endif -/* Slot 134 is reserved */ -/* Slot 135 is reserved */ -/* Slot 136 is reserved */ -/* Slot 137 is reserved */ -#ifndef TclGetEnv -#define TclGetEnv \ - (tclIntStubsPtr->tclGetEnv) /* 138 */ -#endif -/* Slot 139 is reserved */ -/* Slot 140 is reserved */ -#ifndef TclpGetCwd -#define TclpGetCwd \ - (tclIntStubsPtr->tclpGetCwd) /* 141 */ -#endif -#ifndef TclSetByteCodeFromAny -#define TclSetByteCodeFromAny \ - (tclIntStubsPtr->tclSetByteCodeFromAny) /* 142 */ -#endif -#ifndef TclAddLiteralObj -#define TclAddLiteralObj \ - (tclIntStubsPtr->tclAddLiteralObj) /* 143 */ -#endif -#ifndef TclHideLiteral -#define TclHideLiteral \ - (tclIntStubsPtr->tclHideLiteral) /* 144 */ -#endif -#ifndef TclGetAuxDataType -#define TclGetAuxDataType \ - (tclIntStubsPtr->tclGetAuxDataType) /* 145 */ -#endif -#ifndef TclHandleCreate -#define TclHandleCreate \ - (tclIntStubsPtr->tclHandleCreate) /* 146 */ -#endif -#ifndef TclHandleFree -#define TclHandleFree \ - (tclIntStubsPtr->tclHandleFree) /* 147 */ -#endif -#ifndef TclHandlePreserve -#define TclHandlePreserve \ - (tclIntStubsPtr->tclHandlePreserve) /* 148 */ -#endif -#ifndef TclHandleRelease -#define TclHandleRelease \ - (tclIntStubsPtr->tclHandleRelease) /* 149 */ -#endif -#ifndef TclRegAbout -#define TclRegAbout \ - (tclIntStubsPtr->tclRegAbout) /* 150 */ -#endif -#ifndef TclRegExpRangeUniChar -#define TclRegExpRangeUniChar \ - (tclIntStubsPtr->tclRegExpRangeUniChar) /* 151 */ -#endif -#ifndef TclSetLibraryPath -#define TclSetLibraryPath \ - (tclIntStubsPtr->tclSetLibraryPath) /* 152 */ -#endif -#ifndef TclGetLibraryPath -#define TclGetLibraryPath \ - (tclIntStubsPtr->tclGetLibraryPath) /* 153 */ -#endif -/* Slot 154 is reserved */ -/* Slot 155 is reserved */ -#ifndef TclRegError -#define TclRegError \ - (tclIntStubsPtr->tclRegError) /* 156 */ -#endif -#ifndef TclVarTraceExists -#define TclVarTraceExists \ - (tclIntStubsPtr->tclVarTraceExists) /* 157 */ -#endif -#ifndef TclSetStartupScriptFileName -#define TclSetStartupScriptFileName \ - (tclIntStubsPtr->tclSetStartupScriptFileName) /* 158 */ -#endif -#ifndef TclGetStartupScriptFileName -#define TclGetStartupScriptFileName \ - (tclIntStubsPtr->tclGetStartupScriptFileName) /* 159 */ -#endif -/* Slot 160 is reserved */ -#ifndef TclChannelTransform -#define TclChannelTransform \ - (tclIntStubsPtr->tclChannelTransform) /* 161 */ -#endif -#ifndef TclChannelEventScriptInvoker -#define TclChannelEventScriptInvoker \ - (tclIntStubsPtr->tclChannelEventScriptInvoker) /* 162 */ -#endif -#ifndef TclGetInstructionTable -#define TclGetInstructionTable \ - (tclIntStubsPtr->tclGetInstructionTable) /* 163 */ -#endif -#ifndef TclExpandCodeArray -#define TclExpandCodeArray \ - (tclIntStubsPtr->tclExpandCodeArray) /* 164 */ -#endif -#ifndef TclpSetInitialEncodings -#define TclpSetInitialEncodings \ - (tclIntStubsPtr->tclpSetInitialEncodings) /* 165 */ -#endif -#ifndef TclListObjSetElement -#define TclListObjSetElement \ - (tclIntStubsPtr->tclListObjSetElement) /* 166 */ -#endif -#ifndef TclSetStartupScriptPath -#define TclSetStartupScriptPath \ - (tclIntStubsPtr->tclSetStartupScriptPath) /* 167 */ -#endif -#ifndef TclGetStartupScriptPath -#define TclGetStartupScriptPath \ - (tclIntStubsPtr->tclGetStartupScriptPath) /* 168 */ -#endif -#ifndef TclpUtfNcmp2 -#define TclpUtfNcmp2 \ - (tclIntStubsPtr->tclpUtfNcmp2) /* 169 */ -#endif -#ifndef TclCheckInterpTraces -#define TclCheckInterpTraces \ - (tclIntStubsPtr->tclCheckInterpTraces) /* 170 */ -#endif -#ifndef TclCheckExecutionTraces -#define TclCheckExecutionTraces \ - (tclIntStubsPtr->tclCheckExecutionTraces) /* 171 */ -#endif -#ifndef TclInThreadExit -#define TclInThreadExit \ - (tclIntStubsPtr->tclInThreadExit) /* 172 */ -#endif -#ifndef TclUniCharMatch -#define TclUniCharMatch \ - (tclIntStubsPtr->tclUniCharMatch) /* 173 */ -#endif -/* Slot 174 is reserved */ -#ifndef TclCallVarTraces -#define TclCallVarTraces \ - (tclIntStubsPtr->tclCallVarTraces) /* 175 */ -#endif -#ifndef TclCleanupVar -#define TclCleanupVar \ - (tclIntStubsPtr->tclCleanupVar) /* 176 */ -#endif -#ifndef TclVarErrMsg -#define TclVarErrMsg \ - (tclIntStubsPtr->tclVarErrMsg) /* 177 */ -#endif -#ifndef Tcl_SetStartupScript -#define Tcl_SetStartupScript \ - (tclIntStubsPtr->tcl_SetStartupScript) /* 178 */ -#endif -#ifndef Tcl_GetStartupScript -#define Tcl_GetStartupScript \ - (tclIntStubsPtr->tcl_GetStartupScript) /* 179 */ -#endif -/* Slot 180 is reserved */ -/* Slot 181 is reserved */ -#ifndef TclpLocaltime -#define TclpLocaltime \ - (tclIntStubsPtr->tclpLocaltime) /* 182 */ -#endif -#ifndef TclpGmtime -#define TclpGmtime \ - (tclIntStubsPtr->tclpGmtime) /* 183 */ -#endif -/* Slot 184 is reserved */ -/* Slot 185 is reserved */ -/* Slot 186 is reserved */ -/* Slot 187 is reserved */ -/* Slot 188 is reserved */ -/* Slot 189 is reserved */ -/* Slot 190 is reserved */ -/* Slot 191 is reserved */ -/* Slot 192 is reserved */ -/* Slot 193 is reserved */ -/* Slot 194 is reserved */ -/* Slot 195 is reserved */ -/* Slot 196 is reserved */ -/* Slot 197 is reserved */ -#ifndef TclObjGetFrame -#define TclObjGetFrame \ - (tclIntStubsPtr->tclObjGetFrame) /* 198 */ -#endif -/* Slot 199 is reserved */ -#ifndef TclpObjRemoveDirectory -#define TclpObjRemoveDirectory \ - (tclIntStubsPtr->tclpObjRemoveDirectory) /* 200 */ -#endif -#ifndef TclpObjCopyDirectory -#define TclpObjCopyDirectory \ - (tclIntStubsPtr->tclpObjCopyDirectory) /* 201 */ -#endif -#ifndef TclpObjCreateDirectory -#define TclpObjCreateDirectory \ - (tclIntStubsPtr->tclpObjCreateDirectory) /* 202 */ -#endif -#ifndef TclpObjDeleteFile -#define TclpObjDeleteFile \ - (tclIntStubsPtr->tclpObjDeleteFile) /* 203 */ -#endif -#ifndef TclpObjCopyFile -#define TclpObjCopyFile \ - (tclIntStubsPtr->tclpObjCopyFile) /* 204 */ -#endif -#ifndef TclpObjRenameFile -#define TclpObjRenameFile \ - (tclIntStubsPtr->tclpObjRenameFile) /* 205 */ -#endif -#ifndef TclpObjStat -#define TclpObjStat \ - (tclIntStubsPtr->tclpObjStat) /* 206 */ -#endif -#ifndef TclpObjAccess -#define TclpObjAccess \ - (tclIntStubsPtr->tclpObjAccess) /* 207 */ -#endif -#ifndef TclpOpenFileChannel -#define TclpOpenFileChannel \ - (tclIntStubsPtr->tclpOpenFileChannel) /* 208 */ -#endif -/* Slot 209 is reserved */ -/* Slot 210 is reserved */ -/* Slot 211 is reserved */ -#ifndef TclpFindExecutable -#define TclpFindExecutable \ - (tclIntStubsPtr->tclpFindExecutable) /* 212 */ -#endif -#ifndef TclGetObjNameOfExecutable -#define TclGetObjNameOfExecutable \ - (tclIntStubsPtr->tclGetObjNameOfExecutable) /* 213 */ -#endif -#ifndef TclSetObjNameOfExecutable -#define TclSetObjNameOfExecutable \ - (tclIntStubsPtr->tclSetObjNameOfExecutable) /* 214 */ -#endif -#ifndef TclStackAlloc -#define TclStackAlloc \ - (tclIntStubsPtr->tclStackAlloc) /* 215 */ -#endif -#ifndef TclStackFree -#define TclStackFree \ - (tclIntStubsPtr->tclStackFree) /* 216 */ -#endif -#ifndef TclPushStackFrame -#define TclPushStackFrame \ - (tclIntStubsPtr->tclPushStackFrame) /* 217 */ -#endif -#ifndef TclPopStackFrame -#define TclPopStackFrame \ - (tclIntStubsPtr->tclPopStackFrame) /* 218 */ -#endif -/* Slot 219 is reserved */ -/* Slot 220 is reserved */ -/* Slot 221 is reserved */ -/* Slot 222 is reserved */ -/* Slot 223 is reserved */ -#ifndef TclGetPlatform -#define TclGetPlatform \ - (tclIntStubsPtr->tclGetPlatform) /* 224 */ -#endif -#ifndef TclTraceDictPath -#define TclTraceDictPath \ - (tclIntStubsPtr->tclTraceDictPath) /* 225 */ -#endif -#ifndef TclObjBeingDeleted -#define TclObjBeingDeleted \ - (tclIntStubsPtr->tclObjBeingDeleted) /* 226 */ -#endif -#ifndef TclSetNsPath -#define TclSetNsPath \ - (tclIntStubsPtr->tclSetNsPath) /* 227 */ -#endif -/* Slot 228 is reserved */ -#ifndef TclPtrMakeUpvar -#define TclPtrMakeUpvar \ - (tclIntStubsPtr->tclPtrMakeUpvar) /* 229 */ -#endif -#ifndef TclObjLookupVar -#define TclObjLookupVar \ - (tclIntStubsPtr->tclObjLookupVar) /* 230 */ -#endif -#ifndef TclGetNamespaceFromObj -#define TclGetNamespaceFromObj \ - (tclIntStubsPtr->tclGetNamespaceFromObj) /* 231 */ -#endif -#ifndef TclEvalObjEx -#define TclEvalObjEx \ - (tclIntStubsPtr->tclEvalObjEx) /* 232 */ -#endif -#ifndef TclGetSrcInfoForPc -#define TclGetSrcInfoForPc \ - (tclIntStubsPtr->tclGetSrcInfoForPc) /* 233 */ -#endif -#ifndef TclVarHashCreateVar -#define TclVarHashCreateVar \ - (tclIntStubsPtr->tclVarHashCreateVar) /* 234 */ -#endif -#ifndef TclInitVarHashTable -#define TclInitVarHashTable \ - (tclIntStubsPtr->tclInitVarHashTable) /* 235 */ -#endif -#ifndef TclBackgroundException -#define TclBackgroundException \ - (tclIntStubsPtr->tclBackgroundException) /* 236 */ -#endif -#ifndef TclResetCancellation -#define TclResetCancellation \ - (tclIntStubsPtr->tclResetCancellation) /* 237 */ -#endif -#ifndef TclNRInterpProc -#define TclNRInterpProc \ - (tclIntStubsPtr->tclNRInterpProc) /* 238 */ -#endif -#ifndef TclNRInterpProcCore -#define TclNRInterpProcCore \ - (tclIntStubsPtr->tclNRInterpProcCore) /* 239 */ -#endif -#ifndef TclNRRunCallbacks -#define TclNRRunCallbacks \ - (tclIntStubsPtr->tclNRRunCallbacks) /* 240 */ -#endif -#ifndef TclNREvalObjEx -#define TclNREvalObjEx \ - (tclIntStubsPtr->tclNREvalObjEx) /* 241 */ -#endif -#ifndef TclNREvalObjv -#define TclNREvalObjv \ - (tclIntStubsPtr->tclNREvalObjv) /* 242 */ -#endif - -#endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */ - -/* !END!: Do not edit above this line. */ - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TCLINTDECLS */ diff --git a/src/other/togl/include/tcltk/tk8.6/tclIntPlatDecls.h b/src/other/togl/include/tcltk/tk8.6/tclIntPlatDecls.h deleted file mode 100644 index 9999e4785b5..00000000000 --- a/src/other/togl/include/tcltk/tk8.6/tclIntPlatDecls.h +++ /dev/null @@ -1,705 +0,0 @@ -/* - * tclIntPlatDecls.h -- - * - * This file contains the declarations for all platform dependent - * unsupported functions that are exported by the Tcl library. These - * interfaces are not guaranteed to remain the same between - * versions. Use at your own risk. - * - * Copyright (c) 1998-1999 by Scriptics Corporation. - * All rights reserved. - * - * RCS: @(#) Id - */ - -#ifndef _TCLINTPLATDECLS -#define _TCLINTPLATDECLS - -#undef TCL_STORAGE_CLASS -#ifdef BUILD_tcl -# define TCL_STORAGE_CLASS DLLEXPORT -#else -# ifdef USE_TCL_STUBS -# define TCL_STORAGE_CLASS -# else -# define TCL_STORAGE_CLASS DLLIMPORT -# endif -#endif - -/* - * WARNING: This file is automatically generated by the tools/genStubs.tcl - * script. Any modifications to the function declarations below should be made - * in the generic/tclInt.decls script. - */ - -/* !BEGIN!: Do not edit below this line. */ - -/* - * Exported function declarations: - */ - -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ -#ifndef TclGetAndDetachPids_TCL_DECLARED -#define TclGetAndDetachPids_TCL_DECLARED -/* 0 */ -EXTERN void TclGetAndDetachPids (Tcl_Interp * interp, - Tcl_Channel chan); -#endif -#ifndef TclpCloseFile_TCL_DECLARED -#define TclpCloseFile_TCL_DECLARED -/* 1 */ -EXTERN int TclpCloseFile (TclFile file); -#endif -#ifndef TclpCreateCommandChannel_TCL_DECLARED -#define TclpCreateCommandChannel_TCL_DECLARED -/* 2 */ -EXTERN Tcl_Channel TclpCreateCommandChannel (TclFile readFile, - TclFile writeFile, TclFile errorFile, - int numPids, Tcl_Pid * pidPtr); -#endif -#ifndef TclpCreatePipe_TCL_DECLARED -#define TclpCreatePipe_TCL_DECLARED -/* 3 */ -EXTERN int TclpCreatePipe (TclFile * readPipe, - TclFile * writePipe); -#endif -#ifndef TclpCreateProcess_TCL_DECLARED -#define TclpCreateProcess_TCL_DECLARED -/* 4 */ -EXTERN int TclpCreateProcess (Tcl_Interp * interp, int argc, - CONST char ** argv, TclFile inputFile, - TclFile outputFile, TclFile errorFile, - Tcl_Pid * pidPtr); -#endif -/* Slot 5 is reserved */ -#ifndef TclpMakeFile_TCL_DECLARED -#define TclpMakeFile_TCL_DECLARED -/* 6 */ -EXTERN TclFile TclpMakeFile (Tcl_Channel channel, int direction); -#endif -#ifndef TclpOpenFile_TCL_DECLARED -#define TclpOpenFile_TCL_DECLARED -/* 7 */ -EXTERN TclFile TclpOpenFile (CONST char * fname, int mode); -#endif -#ifndef TclUnixWaitForFile_TCL_DECLARED -#define TclUnixWaitForFile_TCL_DECLARED -/* 8 */ -EXTERN int TclUnixWaitForFile (int fd, int mask, int timeout); -#endif -#ifndef TclpCreateTempFile_TCL_DECLARED -#define TclpCreateTempFile_TCL_DECLARED -/* 9 */ -EXTERN TclFile TclpCreateTempFile (CONST char * contents); -#endif -#ifndef TclpReaddir_TCL_DECLARED -#define TclpReaddir_TCL_DECLARED -/* 10 */ -EXTERN Tcl_DirEntry * TclpReaddir (DIR * dir); -#endif -#ifndef TclpLocaltime_unix_TCL_DECLARED -#define TclpLocaltime_unix_TCL_DECLARED -/* 11 */ -EXTERN struct tm * TclpLocaltime_unix (CONST time_t * clock); -#endif -#ifndef TclpGmtime_unix_TCL_DECLARED -#define TclpGmtime_unix_TCL_DECLARED -/* 12 */ -EXTERN struct tm * TclpGmtime_unix (CONST time_t * clock); -#endif -#ifndef TclpInetNtoa_TCL_DECLARED -#define TclpInetNtoa_TCL_DECLARED -/* 13 */ -EXTERN char * TclpInetNtoa (struct in_addr addr); -#endif -#ifndef TclUnixCopyFile_TCL_DECLARED -#define TclUnixCopyFile_TCL_DECLARED -/* 14 */ -EXTERN int TclUnixCopyFile (CONST char * src, CONST char * dst, - CONST Tcl_StatBuf * statBufPtr, - int dontCopyAtts); -#endif -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ -#ifndef TclWinConvertError_TCL_DECLARED -#define TclWinConvertError_TCL_DECLARED -/* 0 */ -EXTERN void TclWinConvertError (DWORD errCode); -#endif -#ifndef TclWinConvertWSAError_TCL_DECLARED -#define TclWinConvertWSAError_TCL_DECLARED -/* 1 */ -EXTERN void TclWinConvertWSAError (DWORD errCode); -#endif -#ifndef TclWinGetServByName_TCL_DECLARED -#define TclWinGetServByName_TCL_DECLARED -/* 2 */ -EXTERN struct servent * TclWinGetServByName (CONST char * nm, - CONST char * proto); -#endif -#ifndef TclWinGetSockOpt_TCL_DECLARED -#define TclWinGetSockOpt_TCL_DECLARED -/* 3 */ -EXTERN int TclWinGetSockOpt (int s, int level, int optname, - char FAR * optval, int FAR * optlen); -#endif -#ifndef TclWinGetTclInstance_TCL_DECLARED -#define TclWinGetTclInstance_TCL_DECLARED -/* 4 */ -EXTERN HINSTANCE TclWinGetTclInstance (void); -#endif -/* Slot 5 is reserved */ -#ifndef TclWinNToHS_TCL_DECLARED -#define TclWinNToHS_TCL_DECLARED -/* 6 */ -EXTERN u_short TclWinNToHS (u_short ns); -#endif -#ifndef TclWinSetSockOpt_TCL_DECLARED -#define TclWinSetSockOpt_TCL_DECLARED -/* 7 */ -EXTERN int TclWinSetSockOpt (int s, int level, int optname, - CONST char FAR * optval, int optlen); -#endif -#ifndef TclpGetPid_TCL_DECLARED -#define TclpGetPid_TCL_DECLARED -/* 8 */ -EXTERN unsigned long TclpGetPid (Tcl_Pid pid); -#endif -#ifndef TclWinGetPlatformId_TCL_DECLARED -#define TclWinGetPlatformId_TCL_DECLARED -/* 9 */ -EXTERN int TclWinGetPlatformId (void); -#endif -/* Slot 10 is reserved */ -#ifndef TclGetAndDetachPids_TCL_DECLARED -#define TclGetAndDetachPids_TCL_DECLARED -/* 11 */ -EXTERN void TclGetAndDetachPids (Tcl_Interp * interp, - Tcl_Channel chan); -#endif -#ifndef TclpCloseFile_TCL_DECLARED -#define TclpCloseFile_TCL_DECLARED -/* 12 */ -EXTERN int TclpCloseFile (TclFile file); -#endif -#ifndef TclpCreateCommandChannel_TCL_DECLARED -#define TclpCreateCommandChannel_TCL_DECLARED -/* 13 */ -EXTERN Tcl_Channel TclpCreateCommandChannel (TclFile readFile, - TclFile writeFile, TclFile errorFile, - int numPids, Tcl_Pid * pidPtr); -#endif -#ifndef TclpCreatePipe_TCL_DECLARED -#define TclpCreatePipe_TCL_DECLARED -/* 14 */ -EXTERN int TclpCreatePipe (TclFile * readPipe, - TclFile * writePipe); -#endif -#ifndef TclpCreateProcess_TCL_DECLARED -#define TclpCreateProcess_TCL_DECLARED -/* 15 */ -EXTERN int TclpCreateProcess (Tcl_Interp * interp, int argc, - CONST char ** argv, TclFile inputFile, - TclFile outputFile, TclFile errorFile, - Tcl_Pid * pidPtr); -#endif -/* Slot 16 is reserved */ -/* Slot 17 is reserved */ -#ifndef TclpMakeFile_TCL_DECLARED -#define TclpMakeFile_TCL_DECLARED -/* 18 */ -EXTERN TclFile TclpMakeFile (Tcl_Channel channel, int direction); -#endif -#ifndef TclpOpenFile_TCL_DECLARED -#define TclpOpenFile_TCL_DECLARED -/* 19 */ -EXTERN TclFile TclpOpenFile (CONST char * fname, int mode); -#endif -#ifndef TclWinAddProcess_TCL_DECLARED -#define TclWinAddProcess_TCL_DECLARED -/* 20 */ -EXTERN void TclWinAddProcess (HANDLE hProcess, DWORD id); -#endif -/* Slot 21 is reserved */ -#ifndef TclpCreateTempFile_TCL_DECLARED -#define TclpCreateTempFile_TCL_DECLARED -/* 22 */ -EXTERN TclFile TclpCreateTempFile (CONST char * contents); -#endif -#ifndef TclpGetTZName_TCL_DECLARED -#define TclpGetTZName_TCL_DECLARED -/* 23 */ -EXTERN char * TclpGetTZName (int isdst); -#endif -#ifndef TclWinNoBackslash_TCL_DECLARED -#define TclWinNoBackslash_TCL_DECLARED -/* 24 */ -EXTERN char * TclWinNoBackslash (char * path); -#endif -/* Slot 25 is reserved */ -#ifndef TclWinSetInterfaces_TCL_DECLARED -#define TclWinSetInterfaces_TCL_DECLARED -/* 26 */ -EXTERN void TclWinSetInterfaces (int wide); -#endif -#ifndef TclWinFlushDirtyChannels_TCL_DECLARED -#define TclWinFlushDirtyChannels_TCL_DECLARED -/* 27 */ -EXTERN void TclWinFlushDirtyChannels (void); -#endif -#ifndef TclWinResetInterfaces_TCL_DECLARED -#define TclWinResetInterfaces_TCL_DECLARED -/* 28 */ -EXTERN void TclWinResetInterfaces (void); -#endif -#ifndef TclWinCPUID_TCL_DECLARED -#define TclWinCPUID_TCL_DECLARED -/* 29 */ -EXTERN int TclWinCPUID (unsigned int index, unsigned int * regs); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ -#ifndef TclGetAndDetachPids_TCL_DECLARED -#define TclGetAndDetachPids_TCL_DECLARED -/* 0 */ -EXTERN void TclGetAndDetachPids (Tcl_Interp * interp, - Tcl_Channel chan); -#endif -#ifndef TclpCloseFile_TCL_DECLARED -#define TclpCloseFile_TCL_DECLARED -/* 1 */ -EXTERN int TclpCloseFile (TclFile file); -#endif -#ifndef TclpCreateCommandChannel_TCL_DECLARED -#define TclpCreateCommandChannel_TCL_DECLARED -/* 2 */ -EXTERN Tcl_Channel TclpCreateCommandChannel (TclFile readFile, - TclFile writeFile, TclFile errorFile, - int numPids, Tcl_Pid * pidPtr); -#endif -#ifndef TclpCreatePipe_TCL_DECLARED -#define TclpCreatePipe_TCL_DECLARED -/* 3 */ -EXTERN int TclpCreatePipe (TclFile * readPipe, - TclFile * writePipe); -#endif -#ifndef TclpCreateProcess_TCL_DECLARED -#define TclpCreateProcess_TCL_DECLARED -/* 4 */ -EXTERN int TclpCreateProcess (Tcl_Interp * interp, int argc, - CONST char ** argv, TclFile inputFile, - TclFile outputFile, TclFile errorFile, - Tcl_Pid * pidPtr); -#endif -/* Slot 5 is reserved */ -#ifndef TclpMakeFile_TCL_DECLARED -#define TclpMakeFile_TCL_DECLARED -/* 6 */ -EXTERN TclFile TclpMakeFile (Tcl_Channel channel, int direction); -#endif -#ifndef TclpOpenFile_TCL_DECLARED -#define TclpOpenFile_TCL_DECLARED -/* 7 */ -EXTERN TclFile TclpOpenFile (CONST char * fname, int mode); -#endif -#ifndef TclUnixWaitForFile_TCL_DECLARED -#define TclUnixWaitForFile_TCL_DECLARED -/* 8 */ -EXTERN int TclUnixWaitForFile (int fd, int mask, int timeout); -#endif -#ifndef TclpCreateTempFile_TCL_DECLARED -#define TclpCreateTempFile_TCL_DECLARED -/* 9 */ -EXTERN TclFile TclpCreateTempFile (CONST char * contents); -#endif -#ifndef TclpReaddir_TCL_DECLARED -#define TclpReaddir_TCL_DECLARED -/* 10 */ -EXTERN Tcl_DirEntry * TclpReaddir (DIR * dir); -#endif -#ifndef TclpLocaltime_unix_TCL_DECLARED -#define TclpLocaltime_unix_TCL_DECLARED -/* 11 */ -EXTERN struct tm * TclpLocaltime_unix (CONST time_t * clock); -#endif -#ifndef TclpGmtime_unix_TCL_DECLARED -#define TclpGmtime_unix_TCL_DECLARED -/* 12 */ -EXTERN struct tm * TclpGmtime_unix (CONST time_t * clock); -#endif -#ifndef TclpInetNtoa_TCL_DECLARED -#define TclpInetNtoa_TCL_DECLARED -/* 13 */ -EXTERN char * TclpInetNtoa (struct in_addr addr); -#endif -#ifndef TclUnixCopyFile_TCL_DECLARED -#define TclUnixCopyFile_TCL_DECLARED -/* 14 */ -EXTERN int TclUnixCopyFile (CONST char * src, CONST char * dst, - CONST Tcl_StatBuf * statBufPtr, - int dontCopyAtts); -#endif -#ifndef TclMacOSXGetFileAttribute_TCL_DECLARED -#define TclMacOSXGetFileAttribute_TCL_DECLARED -/* 15 */ -EXTERN int TclMacOSXGetFileAttribute (Tcl_Interp * interp, - int objIndex, Tcl_Obj * fileName, - Tcl_Obj ** attributePtrPtr); -#endif -#ifndef TclMacOSXSetFileAttribute_TCL_DECLARED -#define TclMacOSXSetFileAttribute_TCL_DECLARED -/* 16 */ -EXTERN int TclMacOSXSetFileAttribute (Tcl_Interp * interp, - int objIndex, Tcl_Obj * fileName, - Tcl_Obj * attributePtr); -#endif -#ifndef TclMacOSXCopyFileAttributes_TCL_DECLARED -#define TclMacOSXCopyFileAttributes_TCL_DECLARED -/* 17 */ -EXTERN int TclMacOSXCopyFileAttributes (CONST char * src, - CONST char * dst, - CONST Tcl_StatBuf * statBufPtr); -#endif -#ifndef TclMacOSXMatchType_TCL_DECLARED -#define TclMacOSXMatchType_TCL_DECLARED -/* 18 */ -EXTERN int TclMacOSXMatchType (Tcl_Interp * interp, - CONST char * pathName, CONST char * fileName, - Tcl_StatBuf * statBufPtr, - Tcl_GlobTypeData * types); -#endif -#endif /* MACOSX */ - -typedef struct TclIntPlatStubs { - int magic; - CONST struct TclIntPlatStubHooks *hooks; - -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ - void (*tclGetAndDetachPids) (Tcl_Interp * interp, Tcl_Channel chan); /* 0 */ - int (*tclpCloseFile) (TclFile file); /* 1 */ - Tcl_Channel (*tclpCreateCommandChannel) (TclFile readFile, TclFile writeFile, TclFile errorFile, int numPids, Tcl_Pid * pidPtr); /* 2 */ - int (*tclpCreatePipe) (TclFile * readPipe, TclFile * writePipe); /* 3 */ - int (*tclpCreateProcess) (Tcl_Interp * interp, int argc, CONST char ** argv, TclFile inputFile, TclFile outputFile, TclFile errorFile, Tcl_Pid * pidPtr); /* 4 */ - void *reserved5; - TclFile (*tclpMakeFile) (Tcl_Channel channel, int direction); /* 6 */ - TclFile (*tclpOpenFile) (CONST char * fname, int mode); /* 7 */ - int (*tclUnixWaitForFile) (int fd, int mask, int timeout); /* 8 */ - TclFile (*tclpCreateTempFile) (CONST char * contents); /* 9 */ - Tcl_DirEntry * (*tclpReaddir) (DIR * dir); /* 10 */ - struct tm * (*tclpLocaltime_unix) (CONST time_t * clock); /* 11 */ - struct tm * (*tclpGmtime_unix) (CONST time_t * clock); /* 12 */ - char * (*tclpInetNtoa) (struct in_addr addr); /* 13 */ - int (*tclUnixCopyFile) (CONST char * src, CONST char * dst, CONST Tcl_StatBuf * statBufPtr, int dontCopyAtts); /* 14 */ -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ - void (*tclWinConvertError) (DWORD errCode); /* 0 */ - void (*tclWinConvertWSAError) (DWORD errCode); /* 1 */ - struct servent * (*tclWinGetServByName) (CONST char * nm, CONST char * proto); /* 2 */ - int (*tclWinGetSockOpt) (int s, int level, int optname, char FAR * optval, int FAR * optlen); /* 3 */ - HINSTANCE (*tclWinGetTclInstance) (void); /* 4 */ - void *reserved5; - u_short (*tclWinNToHS) (u_short ns); /* 6 */ - int (*tclWinSetSockOpt) (int s, int level, int optname, CONST char FAR * optval, int optlen); /* 7 */ - unsigned long (*tclpGetPid) (Tcl_Pid pid); /* 8 */ - int (*tclWinGetPlatformId) (void); /* 9 */ - void *reserved10; - void (*tclGetAndDetachPids) (Tcl_Interp * interp, Tcl_Channel chan); /* 11 */ - int (*tclpCloseFile) (TclFile file); /* 12 */ - Tcl_Channel (*tclpCreateCommandChannel) (TclFile readFile, TclFile writeFile, TclFile errorFile, int numPids, Tcl_Pid * pidPtr); /* 13 */ - int (*tclpCreatePipe) (TclFile * readPipe, TclFile * writePipe); /* 14 */ - int (*tclpCreateProcess) (Tcl_Interp * interp, int argc, CONST char ** argv, TclFile inputFile, TclFile outputFile, TclFile errorFile, Tcl_Pid * pidPtr); /* 15 */ - void *reserved16; - void *reserved17; - TclFile (*tclpMakeFile) (Tcl_Channel channel, int direction); /* 18 */ - TclFile (*tclpOpenFile) (CONST char * fname, int mode); /* 19 */ - void (*tclWinAddProcess) (HANDLE hProcess, DWORD id); /* 20 */ - void *reserved21; - TclFile (*tclpCreateTempFile) (CONST char * contents); /* 22 */ - char * (*tclpGetTZName) (int isdst); /* 23 */ - char * (*tclWinNoBackslash) (char * path); /* 24 */ - void *reserved25; - void (*tclWinSetInterfaces) (int wide); /* 26 */ - void (*tclWinFlushDirtyChannels) (void); /* 27 */ - void (*tclWinResetInterfaces) (void); /* 28 */ - int (*tclWinCPUID) (unsigned int index, unsigned int * regs); /* 29 */ -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ - void (*tclGetAndDetachPids) (Tcl_Interp * interp, Tcl_Channel chan); /* 0 */ - int (*tclpCloseFile) (TclFile file); /* 1 */ - Tcl_Channel (*tclpCreateCommandChannel) (TclFile readFile, TclFile writeFile, TclFile errorFile, int numPids, Tcl_Pid * pidPtr); /* 2 */ - int (*tclpCreatePipe) (TclFile * readPipe, TclFile * writePipe); /* 3 */ - int (*tclpCreateProcess) (Tcl_Interp * interp, int argc, CONST char ** argv, TclFile inputFile, TclFile outputFile, TclFile errorFile, Tcl_Pid * pidPtr); /* 4 */ - void *reserved5; - TclFile (*tclpMakeFile) (Tcl_Channel channel, int direction); /* 6 */ - TclFile (*tclpOpenFile) (CONST char * fname, int mode); /* 7 */ - int (*tclUnixWaitForFile) (int fd, int mask, int timeout); /* 8 */ - TclFile (*tclpCreateTempFile) (CONST char * contents); /* 9 */ - Tcl_DirEntry * (*tclpReaddir) (DIR * dir); /* 10 */ - struct tm * (*tclpLocaltime_unix) (CONST time_t * clock); /* 11 */ - struct tm * (*tclpGmtime_unix) (CONST time_t * clock); /* 12 */ - char * (*tclpInetNtoa) (struct in_addr addr); /* 13 */ - int (*tclUnixCopyFile) (CONST char * src, CONST char * dst, CONST Tcl_StatBuf * statBufPtr, int dontCopyAtts); /* 14 */ - int (*tclMacOSXGetFileAttribute) (Tcl_Interp * interp, int objIndex, Tcl_Obj * fileName, Tcl_Obj ** attributePtrPtr); /* 15 */ - int (*tclMacOSXSetFileAttribute) (Tcl_Interp * interp, int objIndex, Tcl_Obj * fileName, Tcl_Obj * attributePtr); /* 16 */ - int (*tclMacOSXCopyFileAttributes) (CONST char * src, CONST char * dst, CONST Tcl_StatBuf * statBufPtr); /* 17 */ - int (*tclMacOSXMatchType) (Tcl_Interp * interp, CONST char * pathName, CONST char * fileName, Tcl_StatBuf * statBufPtr, Tcl_GlobTypeData * types); /* 18 */ -#endif /* MACOSX */ -} TclIntPlatStubs; - -#if defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) -extern CONST TclIntPlatStubs *tclIntPlatStubsPtr; -#endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */ - -#if defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) - -/* - * Inline function declarations: - */ - -#if !defined(__WIN32__) && !defined(MAC_OSX_TCL) /* UNIX */ -#ifndef TclGetAndDetachPids -#define TclGetAndDetachPids \ - (tclIntPlatStubsPtr->tclGetAndDetachPids) /* 0 */ -#endif -#ifndef TclpCloseFile -#define TclpCloseFile \ - (tclIntPlatStubsPtr->tclpCloseFile) /* 1 */ -#endif -#ifndef TclpCreateCommandChannel -#define TclpCreateCommandChannel \ - (tclIntPlatStubsPtr->tclpCreateCommandChannel) /* 2 */ -#endif -#ifndef TclpCreatePipe -#define TclpCreatePipe \ - (tclIntPlatStubsPtr->tclpCreatePipe) /* 3 */ -#endif -#ifndef TclpCreateProcess -#define TclpCreateProcess \ - (tclIntPlatStubsPtr->tclpCreateProcess) /* 4 */ -#endif -/* Slot 5 is reserved */ -#ifndef TclpMakeFile -#define TclpMakeFile \ - (tclIntPlatStubsPtr->tclpMakeFile) /* 6 */ -#endif -#ifndef TclpOpenFile -#define TclpOpenFile \ - (tclIntPlatStubsPtr->tclpOpenFile) /* 7 */ -#endif -#ifndef TclUnixWaitForFile -#define TclUnixWaitForFile \ - (tclIntPlatStubsPtr->tclUnixWaitForFile) /* 8 */ -#endif -#ifndef TclpCreateTempFile -#define TclpCreateTempFile \ - (tclIntPlatStubsPtr->tclpCreateTempFile) /* 9 */ -#endif -#ifndef TclpReaddir -#define TclpReaddir \ - (tclIntPlatStubsPtr->tclpReaddir) /* 10 */ -#endif -#ifndef TclpLocaltime_unix -#define TclpLocaltime_unix \ - (tclIntPlatStubsPtr->tclpLocaltime_unix) /* 11 */ -#endif -#ifndef TclpGmtime_unix -#define TclpGmtime_unix \ - (tclIntPlatStubsPtr->tclpGmtime_unix) /* 12 */ -#endif -#ifndef TclpInetNtoa -#define TclpInetNtoa \ - (tclIntPlatStubsPtr->tclpInetNtoa) /* 13 */ -#endif -#ifndef TclUnixCopyFile -#define TclUnixCopyFile \ - (tclIntPlatStubsPtr->tclUnixCopyFile) /* 14 */ -#endif -#endif /* UNIX */ -#ifdef __WIN32__ /* WIN */ -#ifndef TclWinConvertError -#define TclWinConvertError \ - (tclIntPlatStubsPtr->tclWinConvertError) /* 0 */ -#endif -#ifndef TclWinConvertWSAError -#define TclWinConvertWSAError \ - (tclIntPlatStubsPtr->tclWinConvertWSAError) /* 1 */ -#endif -#ifndef TclWinGetServByName -#define TclWinGetServByName \ - (tclIntPlatStubsPtr->tclWinGetServByName) /* 2 */ -#endif -#ifndef TclWinGetSockOpt -#define TclWinGetSockOpt \ - (tclIntPlatStubsPtr->tclWinGetSockOpt) /* 3 */ -#endif -#ifndef TclWinGetTclInstance -#define TclWinGetTclInstance \ - (tclIntPlatStubsPtr->tclWinGetTclInstance) /* 4 */ -#endif -/* Slot 5 is reserved */ -#ifndef TclWinNToHS -#define TclWinNToHS \ - (tclIntPlatStubsPtr->tclWinNToHS) /* 6 */ -#endif -#ifndef TclWinSetSockOpt -#define TclWinSetSockOpt \ - (tclIntPlatStubsPtr->tclWinSetSockOpt) /* 7 */ -#endif -#ifndef TclpGetPid -#define TclpGetPid \ - (tclIntPlatStubsPtr->tclpGetPid) /* 8 */ -#endif -#ifndef TclWinGetPlatformId -#define TclWinGetPlatformId \ - (tclIntPlatStubsPtr->tclWinGetPlatformId) /* 9 */ -#endif -/* Slot 10 is reserved */ -#ifndef TclGetAndDetachPids -#define TclGetAndDetachPids \ - (tclIntPlatStubsPtr->tclGetAndDetachPids) /* 11 */ -#endif -#ifndef TclpCloseFile -#define TclpCloseFile \ - (tclIntPlatStubsPtr->tclpCloseFile) /* 12 */ -#endif -#ifndef TclpCreateCommandChannel -#define TclpCreateCommandChannel \ - (tclIntPlatStubsPtr->tclpCreateCommandChannel) /* 13 */ -#endif -#ifndef TclpCreatePipe -#define TclpCreatePipe \ - (tclIntPlatStubsPtr->tclpCreatePipe) /* 14 */ -#endif -#ifndef TclpCreateProcess -#define TclpCreateProcess \ - (tclIntPlatStubsPtr->tclpCreateProcess) /* 15 */ -#endif -/* Slot 16 is reserved */ -/* Slot 17 is reserved */ -#ifndef TclpMakeFile -#define TclpMakeFile \ - (tclIntPlatStubsPtr->tclpMakeFile) /* 18 */ -#endif -#ifndef TclpOpenFile -#define TclpOpenFile \ - (tclIntPlatStubsPtr->tclpOpenFile) /* 19 */ -#endif -#ifndef TclWinAddProcess -#define TclWinAddProcess \ - (tclIntPlatStubsPtr->tclWinAddProcess) /* 20 */ -#endif -/* Slot 21 is reserved */ -#ifndef TclpCreateTempFile -#define TclpCreateTempFile \ - (tclIntPlatStubsPtr->tclpCreateTempFile) /* 22 */ -#endif -#ifndef TclpGetTZName -#define TclpGetTZName \ - (tclIntPlatStubsPtr->tclpGetTZName) /* 23 */ -#endif -#ifndef TclWinNoBackslash -#define TclWinNoBackslash \ - (tclIntPlatStubsPtr->tclWinNoBackslash) /* 24 */ -#endif -/* Slot 25 is reserved */ -#ifndef TclWinSetInterfaces -#define TclWinSetInterfaces \ - (tclIntPlatStubsPtr->tclWinSetInterfaces) /* 26 */ -#endif -#ifndef TclWinFlushDirtyChannels -#define TclWinFlushDirtyChannels \ - (tclIntPlatStubsPtr->tclWinFlushDirtyChannels) /* 27 */ -#endif -#ifndef TclWinResetInterfaces -#define TclWinResetInterfaces \ - (tclIntPlatStubsPtr->tclWinResetInterfaces) /* 28 */ -#endif -#ifndef TclWinCPUID -#define TclWinCPUID \ - (tclIntPlatStubsPtr->tclWinCPUID) /* 29 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TCL /* MACOSX */ -#ifndef TclGetAndDetachPids -#define TclGetAndDetachPids \ - (tclIntPlatStubsPtr->tclGetAndDetachPids) /* 0 */ -#endif -#ifndef TclpCloseFile -#define TclpCloseFile \ - (tclIntPlatStubsPtr->tclpCloseFile) /* 1 */ -#endif -#ifndef TclpCreateCommandChannel -#define TclpCreateCommandChannel \ - (tclIntPlatStubsPtr->tclpCreateCommandChannel) /* 2 */ -#endif -#ifndef TclpCreatePipe -#define TclpCreatePipe \ - (tclIntPlatStubsPtr->tclpCreatePipe) /* 3 */ -#endif -#ifndef TclpCreateProcess -#define TclpCreateProcess \ - (tclIntPlatStubsPtr->tclpCreateProcess) /* 4 */ -#endif -/* Slot 5 is reserved */ -#ifndef TclpMakeFile -#define TclpMakeFile \ - (tclIntPlatStubsPtr->tclpMakeFile) /* 6 */ -#endif -#ifndef TclpOpenFile -#define TclpOpenFile \ - (tclIntPlatStubsPtr->tclpOpenFile) /* 7 */ -#endif -#ifndef TclUnixWaitForFile -#define TclUnixWaitForFile \ - (tclIntPlatStubsPtr->tclUnixWaitForFile) /* 8 */ -#endif -#ifndef TclpCreateTempFile -#define TclpCreateTempFile \ - (tclIntPlatStubsPtr->tclpCreateTempFile) /* 9 */ -#endif -#ifndef TclpReaddir -#define TclpReaddir \ - (tclIntPlatStubsPtr->tclpReaddir) /* 10 */ -#endif -#ifndef TclpLocaltime_unix -#define TclpLocaltime_unix \ - (tclIntPlatStubsPtr->tclpLocaltime_unix) /* 11 */ -#endif -#ifndef TclpGmtime_unix -#define TclpGmtime_unix \ - (tclIntPlatStubsPtr->tclpGmtime_unix) /* 12 */ -#endif -#ifndef TclpInetNtoa -#define TclpInetNtoa \ - (tclIntPlatStubsPtr->tclpInetNtoa) /* 13 */ -#endif -#ifndef TclUnixCopyFile -#define TclUnixCopyFile \ - (tclIntPlatStubsPtr->tclUnixCopyFile) /* 14 */ -#endif -#ifndef TclMacOSXGetFileAttribute -#define TclMacOSXGetFileAttribute \ - (tclIntPlatStubsPtr->tclMacOSXGetFileAttribute) /* 15 */ -#endif -#ifndef TclMacOSXSetFileAttribute -#define TclMacOSXSetFileAttribute \ - (tclIntPlatStubsPtr->tclMacOSXSetFileAttribute) /* 16 */ -#endif -#ifndef TclMacOSXCopyFileAttributes -#define TclMacOSXCopyFileAttributes \ - (tclIntPlatStubsPtr->tclMacOSXCopyFileAttributes) /* 17 */ -#endif -#ifndef TclMacOSXMatchType -#define TclMacOSXMatchType \ - (tclIntPlatStubsPtr->tclMacOSXMatchType) /* 18 */ -#endif -#endif /* MACOSX */ - -#endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */ - -/* !END!: Do not edit above this line. */ - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TCLINTPLATDECLS */ diff --git a/src/other/togl/include/tcltk/tk8.6/tclPort.h b/src/other/togl/include/tcltk/tk8.6/tclPort.h deleted file mode 100644 index 70d5131acd6..00000000000 --- a/src/other/togl/include/tcltk/tk8.6/tclPort.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * tclPort.h -- - * - * This header file handles porting issues that occur because - * of differences between systems. It reads in platform specific - * portability files. - * - * Copyright (c) 1994-1995 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TCLPORT -#define _TCLPORT - -#ifdef HAVE_TCL_CONFIG_H -#include "tclConfig.h" -#endif -#include "tcl.h" - -#if defined(__WIN32__) -/* PATCHED */ -/* # include "../win/tclWinPort.h" */ -# include "tclWinPort.h" -#else -# include "tclUnixPort.h" -#endif - -#if !defined(LLONG_MIN) -# ifdef TCL_WIDE_INT_IS_LONG -# define LLONG_MIN LONG_MIN -# else -# ifdef LLONG_BIT -# define LLONG_MIN ((Tcl_WideInt)(Tcl_LongAsWide(1)<<(LLONG_BIT-1))) -# else -/* Assume we're on a system with a 64-bit 'long long' type */ -# define LLONG_MIN ((Tcl_WideInt)(Tcl_LongAsWide(1)<<63)) -# endif -# endif -/* Assume that if LLONG_MIN is undefined, then so is LLONG_MAX */ -# define LLONG_MAX (~LLONG_MIN) -#endif - - -#endif /* _TCLPORT */ diff --git a/src/other/togl/include/tcltk/tk8.6/tclUnixPort.h b/src/other/togl/include/tcltk/tk8.6/tclUnixPort.h deleted file mode 100644 index 3bcc4a30039..00000000000 --- a/src/other/togl/include/tcltk/tk8.6/tclUnixPort.h +++ /dev/null @@ -1,624 +0,0 @@ -/* - * tclUnixPort.h -- - * - * This header file handles porting issues that occur because - * of differences between systems. It reads in UNIX-related - * header files and sets up UNIX-related macros for Tcl's UNIX - * core. It should be the only file that contains #ifdefs to - * handle different flavors of UNIX. This file sets up the - * union of all UNIX-related things needed by any of the Tcl - * core files. This file depends on configuration #defines such - * as NO_DIRENT_H that are set up by the "configure" script. - * - * Much of the material in this file was originally contributed - * by Karl Lehenbauer, Mark Diekhans and Peter da Silva. - * - * Copyright (c) 1991-1994 The Regents of the University of California. - * Copyright (c) 1994-1997 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TCLUNIXPORT -#define _TCLUNIXPORT - -#ifndef MODULE_SCOPE -#define MODULE_SCOPE extern -#endif - -/* - *--------------------------------------------------------------------------- - * The following sets of #includes and #ifdefs are required to get Tcl to - * compile under the various flavors of unix. - *--------------------------------------------------------------------------- - */ - -#include -#include -#ifdef HAVE_NET_ERRNO_H -# include -#endif -#include -#include -#ifdef HAVE_SYS_PARAM_H -# include -#endif -#include -#ifdef USE_DIRENT2_H -# include "../compat/dirent2.h" -#else -#ifdef NO_DIRENT_H -# include "../compat/dirent.h" -#else -# include -#endif -#endif - -#ifdef HAVE_STRUCT_DIRENT64 -typedef struct dirent64 Tcl_DirEntry; -# define TclOSreaddir readdir64 -#else -typedef struct dirent Tcl_DirEntry; -# define TclOSreaddir readdir -#endif - -#ifdef HAVE_TYPE_OFF64_T -typedef off64_t Tcl_SeekOffset; -# define TclOSseek lseek64 -# define TclOSopen open64 -#else -typedef off_t Tcl_SeekOffset; -# define TclOSseek lseek -# define TclOSopen open -#endif - -#ifdef HAVE_STRUCT_STAT64 -# define TclOSstat stat64 -# define TclOSlstat lstat64 -#else -# define TclOSstat stat -# define TclOSlstat lstat -#endif - -#include -#ifdef HAVE_SYS_SELECT_H -# include -#endif -#include -#if TIME_WITH_SYS_TIME -# include -# include -#else -#if HAVE_SYS_TIME_H -# include -#else -# include -#endif -#endif -#ifndef NO_SYS_WAIT_H -# include -#endif -#if HAVE_INTTYPES_H -# include -#endif -#if HAVE_STDINT_H -# include -#endif -#ifdef HAVE_UNISTD_H -# include -#else -# include "../compat/unistd.h" -#endif - -MODULE_SCOPE int TclUnixSetBlockingMode(int fd, int mode); - -#include - -/* - * Socket support stuff: This likely needs more work to parameterize for - * each system. - */ -#include /* struct sockaddr, SOCK_STREAM, ... */ -#ifndef NO_UNAME -# include /* uname system call. */ -#endif -#include /* struct in_addr, struct sockaddr_in */ -#include /* inet_ntoa() */ -#include /* gethostbyname() */ - -/* - * Some platforms (e.g. SunOS) don't define FLT_MAX and FLT_MIN, so we - * look for an alternative definition. If no other alternative is available - * we use a reasonable guess. - */ - -#ifndef NO_FLOAT_H -# include -#else -#ifndef NO_VALUES_H -# include -#endif -#endif - -#ifndef FLT_MAX -# ifdef MAXFLOAT -# define FLT_MAX MAXFLOAT -# else -# define FLT_MAX 3.402823466E+38F -# endif -#endif -#ifndef FLT_MIN -# ifdef MINFLOAT -# define FLT_MIN MINFLOAT -# else -# define FLT_MIN 1.175494351E-38F -# endif -#endif - -/* - * NeXT doesn't define O_NONBLOCK, so #define it here if necessary. - */ - -#ifndef O_NONBLOCK -# define O_NONBLOCK 0x80 -#endif - -/* - * The type of the status returned by wait varies from UNIX system - * to UNIX system. The macro below defines it: - */ - -#ifdef _AIX -# define WAIT_STATUS_TYPE pid_t -#else -#ifndef NO_UNION_WAIT -# define WAIT_STATUS_TYPE union wait -#else -# define WAIT_STATUS_TYPE int -#endif -#endif - -/* - * Supply definitions for macros to query wait status, if not already - * defined in header files above. - */ - -#ifndef WIFEXITED -# define WIFEXITED(stat) (((*((int *) &(stat))) & 0xff) == 0) -#endif - -#ifndef WEXITSTATUS -# define WEXITSTATUS(stat) (((*((int *) &(stat))) >> 8) & 0xff) -#endif - -#ifndef WIFSIGNALED -# define WIFSIGNALED(stat) (((*((int *) &(stat)))) && ((*((int *) &(stat))) == ((*((int *) &(stat))) & 0x00ff))) -#endif - -#ifndef WTERMSIG -# define WTERMSIG(stat) ((*((int *) &(stat))) & 0x7f) -#endif - -#ifndef WIFSTOPPED -# define WIFSTOPPED(stat) (((*((int *) &(stat))) & 0xff) == 0177) -#endif - -#ifndef WSTOPSIG -# define WSTOPSIG(stat) (((*((int *) &(stat))) >> 8) & 0xff) -#endif - -/* - * Define constants for waitpid() system call if they aren't defined - * by a system header file. - */ - -#ifndef WNOHANG -# define WNOHANG 1 -#endif -#ifndef WUNTRACED -# define WUNTRACED 2 -#endif - -/* - * Supply macros for seek offsets, if they're not already provided by - * an include file. - */ - -#ifndef SEEK_SET -# define SEEK_SET 0 -#endif -#ifndef SEEK_CUR -# define SEEK_CUR 1 -#endif -#ifndef SEEK_END -# define SEEK_END 2 -#endif - -/* - * The stuff below is needed by the "time" command. If this system has no - * gettimeofday call, then must use times() instead. - */ - -#ifdef NO_GETTOD -# include -#else -# ifdef HAVE_BSDGETTIMEOFDAY -# define gettimeofday BSDgettimeofday -# endif -#endif - -#ifdef GETTOD_NOT_DECLARED -EXTERN int gettimeofday(struct timeval *tp, struct timezone *tzp); -#endif - -/* - * Define access mode constants if they aren't already defined. - */ - -#ifndef F_OK -# define F_OK 00 -#endif -#ifndef X_OK -# define X_OK 01 -#endif -#ifndef W_OK -# define W_OK 02 -#endif -#ifndef R_OK -# define R_OK 04 -#endif - -/* - * Define FD_CLOEEXEC (the close-on-exec flag bit) if it isn't - * already defined. - */ - -#ifndef FD_CLOEXEC -# define FD_CLOEXEC 1 -#endif - -/* - * On systems without symbolic links (i.e. S_IFLNK isn't defined) - * define "lstat" to use "stat" instead. - */ - -#ifndef S_IFLNK -# undef TclOSlstat -# define lstat stat -# define lstat64 stat64 -# define TclOSlstat TclOSstat -#endif - -/* - * Define macros to query file type bits, if they're not already - * defined. - */ - -#ifndef S_ISREG -# ifdef S_IFREG -# define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) -# else -# define S_ISREG(m) 0 -# endif -#endif /* !S_ISREG */ -#ifndef S_ISDIR -# ifdef S_IFDIR -# define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) -# else -# define S_ISDIR(m) 0 -# endif -#endif /* !S_ISDIR */ -#ifndef S_ISCHR -# ifdef S_IFCHR -# define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) -# else -# define S_ISCHR(m) 0 -# endif -#endif /* !S_ISCHR */ -#ifndef S_ISBLK -# ifdef S_IFBLK -# define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) -# else -# define S_ISBLK(m) 0 -# endif -#endif /* !S_ISBLK */ -#ifndef S_ISFIFO -# ifdef S_IFIFO -# define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) -# else -# define S_ISFIFO(m) 0 -# endif -#endif /* !S_ISFIFO */ -#ifndef S_ISLNK -# ifdef S_IFLNK -# define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) -# else -# define S_ISLNK(m) 0 -# endif -#endif /* !S_ISLNK */ -#ifndef S_ISSOCK -# ifdef S_IFSOCK -# define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) -# else -# define S_ISSOCK(m) 0 -# endif -#endif /* !S_ISSOCK */ - -/* - * Make sure that MAXPATHLEN and MAXNAMLEN are defined. - */ - -#ifndef MAXPATHLEN -# ifdef PATH_MAX -# define MAXPATHLEN PATH_MAX -# else -# define MAXPATHLEN 2048 -# endif -#endif - -#ifndef MAXNAMLEN -# ifdef NAME_MAX -# define MAXNAMLEN NAME_MAX -# else -# define MAXNAMLEN 255 -# endif -#endif - -/* - * Make sure that L_tmpnam is defined. - */ - -#ifndef L_tmpnam -# define L_tmpnam 100 -#endif - -/* - * The following macro defines the type of the mask arguments to - * select: - */ - -#ifndef NO_FD_SET -# define SELECT_MASK fd_set -#else /* NO_FD_SET */ -# ifndef _AIX - typedef long fd_mask; -# endif /* !AIX */ -# if defined(_IBMR2) -# define SELECT_MASK void -# else /* !defined(_IBMR2) */ -# define SELECT_MASK int -# endif /* defined(_IBMR2) */ -#endif /* !NO_FD_SET */ - -/* - * Define "NBBY" (number of bits per byte) if it's not already defined. - */ - -#ifndef NBBY -# define NBBY 8 -#endif - -/* - * The following macro defines the number of fd_masks in an fd_set: - */ - -#ifndef FD_SETSIZE -# ifdef OPEN_MAX -# define FD_SETSIZE OPEN_MAX -# else -# define FD_SETSIZE 256 -# endif -#endif /* FD_SETSIZE */ -#if !defined(howmany) -# define howmany(x, y) (((x)+((y)-1))/(y)) -#endif /* !defined(howmany) */ -#ifndef NFDBITS -# define NFDBITS NBBY*sizeof(fd_mask) -#endif /* NFDBITS */ -#define MASK_SIZE howmany(FD_SETSIZE, NFDBITS) - -/* - * Not all systems declare the errno variable in errno.h. so this - * file does it explicitly. The list of system error messages also - * isn't generally declared in a header file anywhere. - */ - -#ifdef NO_ERRNO -extern int errno; -#endif /* NO_ERRNO */ - -/* - * Not all systems declare all the errors that Tcl uses! Provide some - * work-arounds... - */ - -#ifndef EOVERFLOW -# ifdef EFBIG -# define EOVERFLOW EFBIG -# else /* !EFBIG */ -# define EOVERFLOW EINVAL -# endif /* EFBIG */ -#endif /* EOVERFLOW */ - -/* - * Variables provided by the C library: - */ - -#if defined(__APPLE__) && defined(__DYNAMIC__) -# include -# define environ (*_NSGetEnviron()) -# define USE_PUTENV 1 -#else -# if defined(_sgi) || defined(__sgi) -# define environ _environ -# endif -extern char **environ; -#endif - -/* - * There is no platform-specific panic routine for Unix in the Tcl internals. - */ - -#define TclpPanic ((Tcl_PanicProc *) NULL) - -/* - * Darwin specifc configure overrides. - */ - -#ifdef __APPLE__ -/* - * Support for fat compiles: configure runs only once for multiple architectures - */ -# if defined(__LP64__) && defined (NO_COREFOUNDATION_64) -# undef HAVE_COREFOUNDATION -# endif /* __LP64__ && NO_COREFOUNDATION_64 */ -# include -# ifdef __DARWIN_UNIX03 -# if __DARWIN_UNIX03 -# undef HAVE_PUTENV_THAT_COPIES -# else -# define HAVE_PUTENV_THAT_COPIES 1 -# endif -# endif /* __DARWIN_UNIX03 */ -/* - * The termios configure test program relies on the configure script being run - * from a terminal, which is not the case e.g. when configuring from Xcode. - * Since termios is known to be present on all Mac OS X releases since 10.0, - * override the configure defines for serial API here. [Bug 497147] - */ -# define USE_TERMIOS 1 -# undef USE_TERMIO -# undef USE_SGTTY -/* - * Include AvailabilityMacros.h here (when available) to ensure any symbolic - * MAC_OS_X_VERSION_* constants passed on the command line are translated. - */ -# ifdef HAVE_AVAILABILITYMACROS_H -# include -# endif -/* - * Support for weak import. - */ -# ifdef HAVE_WEAK_IMPORT -# if !defined(HAVE_AVAILABILITYMACROS_H) || !defined(MAC_OS_X_VERSION_MIN_REQUIRED) -# undef HAVE_WEAK_IMPORT -# else -# ifndef WEAK_IMPORT_ATTRIBUTE -# define WEAK_IMPORT_ATTRIBUTE __attribute__((weak_import)) -# endif -# endif -# endif /* HAVE_WEAK_IMPORT */ -/* - * Support for MAC_OS_X_VERSION_MAX_ALLOWED define from AvailabilityMacros.h: - * only use API available in the indicated OS version or earlier. - */ -# ifdef MAC_OS_X_VERSION_MAX_ALLOWED -# if MAC_OS_X_VERSION_MAX_ALLOWED < 1050 && defined(__LP64__) -# undef HAVE_COREFOUNDATION -# endif -# if MAC_OS_X_VERSION_MAX_ALLOWED < 1040 -# undef HAVE_OSSPINLOCKLOCK -# undef HAVE_PTHREAD_ATFORK -# undef HAVE_COPYFILE -# endif -# if MAC_OS_X_VERSION_MAX_ALLOWED < 1030 -# ifdef TCL_THREADS - /* prior to 10.3, realpath is not threadsafe, c.f. bug 711232 */ -# define NO_REALPATH 1 -# endif -# undef HAVE_LANGINFO -# endif -# endif /* MAC_OS_X_VERSION_MAX_ALLOWED */ -# if defined(HAVE_COREFOUNDATION) && defined(__LP64__) && \ - defined(HAVE_WEAK_IMPORT) && MAC_OS_X_VERSION_MIN_REQUIRED < 1050 -# warning "Weak import of 64-bit CoreFoundation is not supported, will not run on Mac OS X < 10.5." -# endif -/* - * At present, using vfork() instead of fork() causes execve() to fail - * intermittently on Darwin x86_64. rdar://4685553 - */ -# if defined(__x86_64__) && !defined(FIXED_RDAR_4685553) -# undef USE_VFORK -# endif /* __x86_64__ */ -/* Workaround problems with vfork() when building with llvm-gcc-4.2 */ -# if defined (__llvm__) && \ - (__GNUC__ > 4 || (__GNUC__ == 4 && (__GNUC_MINOR__ > 2 || \ - (__GNUC_MINOR__ == 2 && __GNUC_PATCHLEVEL__ > 0)))) -# undef USE_VFORK -# endif /* __llvm__ */ -#endif /* __APPLE__ */ - -/* - *--------------------------------------------------------------------------- - * The following macros and declarations represent the interface between - * generic and unix-specific parts of Tcl. Some of the macros may override - * functions declared in tclInt.h. - *--------------------------------------------------------------------------- - */ - -/* - * The default platform eol translation on Unix is TCL_TRANSLATE_LF. - */ - -#ifdef DJGPP -#define TCL_PLATFORM_TRANSLATION TCL_TRANSLATE_CRLF -typedef int socklen_t; -#else -#define TCL_PLATFORM_TRANSLATION TCL_TRANSLATE_LF -#endif - -/* - * The following macros have trivial definitions, allowing generic code to - * address platform-specific issues. - */ - -#define TclpGetPid(pid) ((unsigned long) (pid)) -#define TclpReleaseFile(file) /* Nothing. */ - -/* - * The following defines wrap the system memory allocation routines. - */ - -#define TclpSysAlloc(size, isBin) malloc((size_t)size) -#define TclpSysFree(ptr) free((char*)ptr) -#define TclpSysRealloc(ptr, size) realloc((char*)ptr, (size_t)size) - -/* - * The following macros and declaration wrap the C runtime library - * functions. - */ - -#define TclpExit exit - -#ifdef TCL_THREADS -EXTERN struct tm * TclpLocaltime(const time_t *); -EXTERN struct tm * TclpGmtime(const time_t *); -EXTERN char * TclpInetNtoa(struct in_addr); -/* #define localtime(x) TclpLocaltime(x) - * #define gmtime(x) TclpGmtime(x) */ -# undef inet_ntoa -# define inet_ntoa(x) TclpInetNtoa(x) -#endif /* TCL_THREADS */ - -/* - * Set of MT-safe implementations of some - * known-to-be-MT-unsafe library calls. - * Instead of returning pointers to the - * static storage, those return pointers - * to the TSD data. - */ - -#include -#include - -MODULE_SCOPE struct passwd* TclpGetPwNam(const char *name); -MODULE_SCOPE struct group* TclpGetGrNam(const char *name); -MODULE_SCOPE struct passwd* TclpGetPwUid(uid_t uid); -MODULE_SCOPE struct group* TclpGetGrGid(gid_t gid); -MODULE_SCOPE struct hostent* TclpGetHostByName(const char *name); -MODULE_SCOPE struct hostent* TclpGetHostByAddr(const char *addr, int length, int type); - -#endif /* _TCLUNIXPORT */ diff --git a/src/other/togl/include/tcltk/tk8.6/tclWinPort.h b/src/other/togl/include/tcltk/tk8.6/tclWinPort.h deleted file mode 100644 index 8820155ccc2..00000000000 --- a/src/other/togl/include/tcltk/tk8.6/tclWinPort.h +++ /dev/null @@ -1,527 +0,0 @@ -/* - * tclWinPort.h -- - * - * This header file handles porting issues that occur because of - * differences between Windows and Unix. It should be the only - * file that contains #ifdefs to handle different flavors of OS. - * - * Copyright (c) 1994-1997 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TCLWINPORT -#define _TCLWINPORT - -#ifdef CHECK_UNICODE_CALLS -# define _UNICODE -# define UNICODE -# define __TCHAR_DEFINED - typedef float *_TCHAR; -# define _TCHAR_DEFINED - typedef float *TCHAR; -#endif /* CHECK_UNICODE_CALLS */ - -/* - *--------------------------------------------------------------------------- - * The following sets of #includes and #ifdefs are required to get Tcl to - * compile under the windows compilers. - *--------------------------------------------------------------------------- - */ - -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * These string functions are not defined with the same names on Windows. - */ - -#define strcasecmp stricmp -#define strncasecmp strnicmp - -/* - * Need to block out these includes for building extensions with MetroWerks - * compiler for Win32. - */ - -#ifndef __MWERKS__ -#include -#include -# ifdef __BORLANDC__ -# include -# else -# include -# endif /* __BORLANDC__ */ -#endif /* __MWERKS__ */ - -#include - -#define WIN32_LEAN_AND_MEAN -#include -#undef WIN32_LEAN_AND_MEAN - -/* - * Ask for the winsock function typedefs, also. - */ -#define INCL_WINSOCK_API_TYPEDEFS 1 -#include - -/* - * Define EINPROGRESS in terms of WSAEINPROGRESS. - */ - -#ifndef EINPROGRESS -# define EINPROGRESS WSAEINPROGRESS -#endif - -/* - * If ENOTSUP is not defined, define it to a value that will never occur. - */ - -#ifndef ENOTSUP -# define ENOTSUP -1030507 -#endif - -/* - * The following defines redefine the Windows Socket errors as - * BSD errors so Tcl_PosixError can do the right thing. - */ - -#ifndef EWOULDBLOCK -# define EWOULDBLOCK EAGAIN -#endif -#ifndef EALREADY -# define EALREADY 149 /* operation already in progress */ -#endif -#ifndef ENOTSOCK -# define ENOTSOCK 95 /* Socket operation on non-socket */ -#endif -#ifndef EDESTADDRREQ -# define EDESTADDRREQ 96 /* Destination address required */ -#endif -#ifndef EMSGSIZE -# define EMSGSIZE 97 /* Message too long */ -#endif -#ifndef EPROTOTYPE -# define EPROTOTYPE 98 /* Protocol wrong type for socket */ -#endif -#ifndef ENOPROTOOPT -# define ENOPROTOOPT 99 /* Protocol not available */ -#endif -#ifndef EPROTONOSUPPORT -# define EPROTONOSUPPORT 120 /* Protocol not supported */ -#endif -#ifndef ESOCKTNOSUPPORT -# define ESOCKTNOSUPPORT 121 /* Socket type not supported */ -#endif -#ifndef EOPNOTSUPP -# define EOPNOTSUPP 122 /* Operation not supported on socket */ -#endif -#ifndef EPFNOSUPPORT -# define EPFNOSUPPORT 123 /* Protocol family not supported */ -#endif -#ifndef EAFNOSUPPORT -# define EAFNOSUPPORT 124 /* Address family not supported */ -#endif -#ifndef EADDRINUSE -# define EADDRINUSE 125 /* Address already in use */ -#endif -#ifndef EADDRNOTAVAIL -# define EADDRNOTAVAIL 126 /* Can't assign requested address */ -#endif -#ifndef ENETDOWN -# define ENETDOWN 127 /* Network is down */ -#endif -#ifndef ENETUNREACH -# define ENETUNREACH 128 /* Network is unreachable */ -#endif -#ifndef ENETRESET -# define ENETRESET 129 /* Network dropped connection on reset */ -#endif -#ifndef ECONNABORTED -# define ECONNABORTED 130 /* Software caused connection abort */ -#endif -#ifndef ECONNRESET -# define ECONNRESET 131 /* Connection reset by peer */ -#endif -#ifndef ENOBUFS -# define ENOBUFS 132 /* No buffer space available */ -#endif -#ifndef EISCONN -# define EISCONN 133 /* Socket is already connected */ -#endif -#ifndef ENOTCONN -# define ENOTCONN 134 /* Socket is not connected */ -#endif -#ifndef ESHUTDOWN -# define ESHUTDOWN 143 /* Can't send after socket shutdown */ -#endif -#ifndef ETOOMANYREFS -# define ETOOMANYREFS 144 /* Too many references: can't splice */ -#endif -#ifndef ETIMEDOUT -# define ETIMEDOUT 145 /* Connection timed out */ -#endif -#ifndef ECONNREFUSED -# define ECONNREFUSED 146 /* Connection refused */ -#endif -#ifndef ELOOP -# define ELOOP 90 /* Symbolic link loop */ -#endif -#ifndef EHOSTDOWN -# define EHOSTDOWN 147 /* Host is down */ -#endif -#ifndef EHOSTUNREACH -# define EHOSTUNREACH 148 /* No route to host */ -#endif -#ifndef ENOTEMPTY -# define ENOTEMPTY 93 /* directory not empty */ -#endif -#ifndef EUSERS -# define EUSERS 94 /* Too many users (for UFS) */ -#endif -#ifndef EDQUOT -# define EDQUOT 69 /* Disc quota exceeded */ -#endif -#ifndef ESTALE -# define ESTALE 151 /* Stale NFS file handle */ -#endif -#ifndef EREMOTE -# define EREMOTE 66 /* The object is remote */ -#endif - -/* - * It is very hard to determine how Windows reacts to attempting to - * set a file pointer outside the input datatype's representable - * region. So we fake the error code ourselves. - */ - -#ifndef EOVERFLOW -# ifdef EFBIG -# define EOVERFLOW EFBIG /* The object couldn't fit in the datatype */ -# else /* !EFBIG */ -# define EOVERFLOW EINVAL /* Better than nothing! */ -# endif /* EFBIG */ -#endif /* !EOVERFLOW */ - -/* - * Signals not known to the standard ANSI signal.h. These are used - * by Tcl_WaitPid() and generic/tclPosixStr.c - */ - -#ifndef SIGTRAP -# define SIGTRAP 5 -#endif -#ifndef SIGBUS -# define SIGBUS 10 -#endif - -/* - * Supply definitions for macros to query wait status, if not already - * defined in header files above. - */ - -#if TCL_UNION_WAIT -# define WAIT_STATUS_TYPE union wait -#else -# define WAIT_STATUS_TYPE int -#endif /* TCL_UNION_WAIT */ - -#ifndef WIFEXITED -# define WIFEXITED(stat) (((*((int *) &(stat))) & 0xC0000000) == 0) -#endif - -#ifndef WEXITSTATUS -# define WEXITSTATUS(stat) (*((int *) &(stat))) -#endif - -#ifndef WIFSIGNALED -# define WIFSIGNALED(stat) ((*((int *) &(stat))) & 0xC0000000) -#endif - -#ifndef WTERMSIG -# define WTERMSIG(stat) ((*((int *) &(stat))) & 0x7f) -#endif - -#ifndef WIFSTOPPED -# define WIFSTOPPED(stat) 0 -#endif - -#ifndef WSTOPSIG -# define WSTOPSIG(stat) (((*((int *) &(stat))) >> 8) & 0xff) -#endif - -/* - * Define constants for waitpid() system call if they aren't defined - * by a system header file. - */ - -#ifndef WNOHANG -# define WNOHANG 1 -#endif -#ifndef WUNTRACED -# define WUNTRACED 2 -#endif - -/* - * Define access mode constants if they aren't already defined. - */ - -#ifndef F_OK -# define F_OK 00 -#endif -#ifndef X_OK -# define X_OK 01 -#endif -#ifndef W_OK -# define W_OK 02 -#endif -#ifndef R_OK -# define R_OK 04 -#endif - -/* - * Define macros to query file type bits, if they're not already - * defined. - */ - -#ifndef S_IFLNK -#define S_IFLNK 0120000 /* Symbolic Link */ -#endif - -#ifndef S_ISREG -# ifdef S_IFREG -# define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) -# else -# define S_ISREG(m) 0 -# endif -#endif /* !S_ISREG */ -#ifndef S_ISDIR -# ifdef S_IFDIR -# define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) -# else -# define S_ISDIR(m) 0 -# endif -#endif /* !S_ISDIR */ -#ifndef S_ISCHR -# ifdef S_IFCHR -# define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) -# else -# define S_ISCHR(m) 0 -# endif -#endif /* !S_ISCHR */ -#ifndef S_ISBLK -# ifdef S_IFBLK -# define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) -# else -# define S_ISBLK(m) 0 -# endif -#endif /* !S_ISBLK */ -#ifndef S_ISFIFO -# ifdef S_IFIFO -# define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) -# else -# define S_ISFIFO(m) 0 -# endif -#endif /* !S_ISFIFO */ -#ifndef S_ISLNK -# ifdef S_IFLNK -# define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) -# else -# define S_ISLNK(m) 0 -# endif -#endif /* !S_ISLNK */ - - -/* - * Define MAXPATHLEN in terms of MAXPATH if available - */ - -#ifndef MAXPATH -#define MAXPATH MAX_PATH -#endif /* MAXPATH */ - -#ifndef MAXPATHLEN -#define MAXPATHLEN MAXPATH -#endif /* MAXPATHLEN */ - -/* - * Define pid_t and uid_t if they're not already defined. - */ - -#if ! TCL_PID_T -# define pid_t int -#endif /* !TCL_PID_T */ -#if ! TCL_UID_T -# define uid_t int -#endif /* !TCL_UID_T */ - -/* - * Visual C++ has some odd names for common functions, so we need to - * define a few macros to handle them. Also, it defines EDEADLOCK and - * EDEADLK as the same value, which confuses Tcl_ErrnoId(). - */ - -#if defined(_MSC_VER) || defined(__MINGW32__) -# define environ _environ -# define hypot _hypot -# define exception _exception -# undef EDEADLOCK -# if defined(__MINGW32__) && !defined(__MSVCRT__) -# define timezone _timezone -# endif -#endif /* _MSC_VER || __MINGW32__ */ - -/* - * Borland's timezone and environ functions. - */ - -#ifdef __BORLANDC__ -# define timezone _timezone -# define environ _environ -#endif /* __BORLANDC__ */ - -#ifdef __CYGWIN__ -/* On Cygwin, the environment is imported from the Cygwin DLL. */ - DLLIMPORT extern char **__cygwin_environ; -# define environ __cygwin_environ -# define putenv TclCygwinPutenv -# define timezone _timezone -#endif /* __CYGWIN__ */ - - -#ifdef __WATCOMC__ - /* - * OpenWatcom uses a wine derived winsock2.h that is missing the - * LPFN_* typedefs. - */ -# define HAVE_NO_LPFN_DECLS -# if !defined(__CHAR_SIGNED__) -# error "You must use the -j switch to ensure char is signed." -# endif -#endif - - -/* - * MSVC 8.0 started to mark many standard C library functions depreciated - * including the *printf family and others. Tell it to shut up. - * (_MSC_VER is 1200 for VC6, 1300 or 1310 for vc7.net, 1400 for 8.0) - */ -#if _MSC_VER >= 1400 -#pragma warning(disable:4996) -#endif - - -/* - * There is no platform-specific panic routine for Windows in the Tcl internals. - */ - -#define TclpPanic ((Tcl_PanicProc *) NULL) - -/* - *--------------------------------------------------------------------------- - * The following macros and declarations represent the interface between - * generic and windows-specific parts of Tcl. Some of the macros may - * override functions declared in tclInt.h. - *--------------------------------------------------------------------------- - */ - -/* - * The default platform eol translation on Windows is TCL_TRANSLATE_CRLF: - */ - -#define TCL_PLATFORM_TRANSLATION TCL_TRANSLATE_CRLF - -/* - * Declare dynamic loading extension macro. - */ - -#define TCL_SHLIB_EXT ".dll" - -/* - * The following define ensures that we use the native putenv - * implementation to modify the environment array. This keeps - * the C level environment in synch with the system level environment. - */ - -#define USE_PUTENV 1 -#define USE_PUTENV_FOR_UNSET 1 - -/* - * Msvcrt's putenv() copies the string rather than takes ownership of it. - */ - -#if defined(_MSC_VER) || defined(__MINGW32__) -# define HAVE_PUTENV_THAT_COPIES 1 -#endif - -/* - * Older version of Mingw are known to lack a MWMO_ALERTABLE define. - */ -#if defined(HAVE_NO_MWMO_ALERTABLE) -# define MWMO_ALERTABLE 2 -#endif - -/* - * The following defines wrap the system memory allocation routines for - * use by tclAlloc.c. - */ - -#ifdef __CYGWIN__ -# define TclpSysAlloc(size, isBin) malloc((size)) -# define TclpSysFree(ptr) free((ptr)) -# define TclpSysRealloc(ptr, size) realloc((ptr), (size)) -#else -# define TclpSysAlloc(size, isBin) ((void*)HeapAlloc(GetProcessHeap(), \ - (DWORD)0, (DWORD)size)) -# define TclpSysFree(ptr) (HeapFree(GetProcessHeap(), \ - (DWORD)0, (HGLOBAL)ptr)) -# define TclpSysRealloc(ptr, size) ((void*)HeapReAlloc(GetProcessHeap(), \ - (DWORD)0, (LPVOID)ptr, (DWORD)size)) -#endif - -/* - * The following defines map from standard socket names to our internal - * wrappers that redirect through the winSock function table (see the - * file tclWinSock.c). - */ - -#define getservbyname TclWinGetServByName -#define getsockopt TclWinGetSockOpt -#define ntohs TclWinNToHS -#define setsockopt TclWinSetSockOpt -/* This type is not defined in the Windows headers */ -#define socklen_t int - - -/* - * The following macros have trivial definitions, allowing generic code to - * address platform-specific issues. - */ - -#define TclpReleaseFile(file) ckfree((char *) file) - -/* - * The following macros and declarations wrap the C runtime library - * functions. - */ - -#define TclpExit exit - -#ifndef INVALID_SET_FILE_POINTER -#define INVALID_SET_FILE_POINTER 0xFFFFFFFF -#endif /* INVALID_SET_FILE_POINTER */ - -#endif /* _TCLWINPORT */ diff --git a/src/other/togl/include/tcltk/tk8.6/tkInt.h b/src/other/togl/include/tcltk/tk8.6/tkInt.h deleted file mode 100644 index ca768f6dd4c..00000000000 --- a/src/other/togl/include/tcltk/tk8.6/tkInt.h +++ /dev/null @@ -1,1223 +0,0 @@ -/* - * tkInt.h -- - * - * Declarations for things used internally by the Tk functions but not - * exported outside the module. - * - * Copyright (c) 1990-1994 The Regents of the University of California. - * Copyright (c) 1994-1997 Sun Microsystems, Inc. - * Copyright (c) 1998 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution of - * this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: Id - */ - -#ifndef _TKINT -#define _TKINT - -#ifndef _TK -#include "tk.h" -#endif -#ifndef _TCL -#include "tcl.h" -#endif -#ifndef _TKPORT -#include "tkPort.h" -#endif - -/* - * Ensure WORDS_BIGENDIAN is defined correcly: - * Needs to happen here in addition to configure to work with fat compiles on - * Darwin (where configure runs only once for multiple architectures). - */ - -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_PARAM_H -# include -#endif -#ifdef BYTE_ORDER -# ifdef BIG_ENDIAN -# if BYTE_ORDER == BIG_ENDIAN -# undef WORDS_BIGENDIAN -# define WORDS_BIGENDIAN 1 -# endif -# endif -# ifdef LITTLE_ENDIAN -# if BYTE_ORDER == LITTLE_ENDIAN -# undef WORDS_BIGENDIAN -# endif -# endif -#endif - -/* - * Used to tag functions that are only to be visible within the module being - * built and not outside it (where this is supported by the linker). - */ - -#ifndef MODULE_SCOPE -# ifdef __cplusplus -# define MODULE_SCOPE extern "C" -# else -# define MODULE_SCOPE extern -# endif -#endif - -/* - * Macros used to cast between pointers and integers (e.g. when storing an int - * in ClientData), on 64-bit architectures they avoid gcc warning about "cast - * to/from pointer from/to integer of different size". - */ - -#if !defined(INT2PTR) && !defined(PTR2INT) -# if defined(HAVE_INTPTR_T) || defined(intptr_t) -# define INT2PTR(p) ((void*)(intptr_t)(p)) -# define PTR2INT(p) ((int)(intptr_t)(p)) -# else -# define INT2PTR(p) ((void*)(p)) -# define PTR2INT(p) ((int)(p)) -# endif -#endif -#if !defined(UINT2PTR) && !defined(PTR2UINT) -# if defined(HAVE_UINTPTR_T) || defined(uintptr_t) -# define UINT2PTR(p) ((void*)(uintptr_t)(p)) -# define PTR2UINT(p) ((unsigned int)(uintptr_t)(p)) -# else -# define UINT2PTR(p) ((void*)(p)) -# define PTR2UINT(p) ((unsigned int)(p)) -# endif -#endif - -/* - * Opaque type declarations: - */ - -typedef struct TkColormap TkColormap; -typedef struct TkFontAttributes TkFontAttributes; -typedef struct TkGrabEvent TkGrabEvent; -typedef struct TkpCursor_ *TkpCursor; -typedef struct TkRegion_ *TkRegion; -typedef struct TkStressedCmap TkStressedCmap; -typedef struct TkBindInfo_ *TkBindInfo; - -/* - * Function types. - */ - -typedef int (TkBindEvalProc)(ClientData clientData, Tcl_Interp *interp, - XEvent *eventPtr, Tk_Window tkwin, KeySym keySym); -typedef void (TkBindFreeProc)(ClientData clientData); - -/* - * One of the following structures is maintained for each cursor in use in the - * system. This structure is used by tkCursor.c and the various system - * specific cursor files. - */ - -typedef struct TkCursor { - Tk_Cursor cursor; /* System specific identifier for cursor. */ - Display *display; /* Display containing cursor. Needed for - * disposal and retrieval of cursors. */ - int resourceRefCount; /* Number of active uses of this cursor (each - * active use corresponds to a call to - * Tk_AllocPreserveFromObj or Tk_Preserve). If - * this count is 0, then this structure is no - * longer valid and it isn't present in a hash - * table: it is being kept around only because - * there are objects referring to it. The - * structure is freed when resourceRefCount - * and objRefCount are both 0. */ - int objRefCount; /* Number of Tcl objects that reference this - * structure.. */ - Tcl_HashTable *otherTable; /* Second table (other than idTable) used to - * index this entry. */ - Tcl_HashEntry *hashPtr; /* Entry in otherTable for this structure - * (needed when deleting). */ - Tcl_HashEntry *idHashPtr; /* Entry in idTable for this structure (needed - * when deleting). */ - struct TkCursor *nextPtr; /* Points to the next TkCursor structure with - * the same name. Cursors with the same name - * but different displays are chained together - * off a single hash table entry. */ -} TkCursor; - -/* - * The following structure is kept one-per-TkDisplay to maintain information - * about the caret (cursor location) on this display. This is used to dictate - * global focus location (Windows Accessibility guidelines) and to position - * the IME or XIM over-the-spot window. - */ - -typedef struct TkCaret { - struct TkWindow *winPtr; /* The window on which we requested caret - * placement. */ - int x; /* Relative x coord of the caret. */ - int y; /* Relative y coord of the caret. */ - int height; /* Specified height of the window. */ -} TkCaret; - -/* - * One of the following structures is maintained for each display containing a - * window managed by Tk. In part, the structure is used to store thread- - * specific data, since each thread will have its own TkDisplay structure. - */ - -typedef struct TkDisplay { - Display *display; /* Xlib's info about display. */ - struct TkDisplay *nextPtr; /* Next in list of all displays. */ - char *name; /* Name of display (with any screen identifier - * removed). Malloc-ed. */ - Time lastEventTime; /* Time of last event received for this - * display. */ - - /* - * Information used primarily by tk3d.c: - */ - - int borderInit; /* 0 means borderTable needs initializing. */ - Tcl_HashTable borderTable; /* Maps from color name to TkBorder - * structure. */ - - /* - * Information used by tkAtom.c only: - */ - - int atomInit; /* 0 means stuff below hasn't been initialized - * yet. */ - Tcl_HashTable nameTable; /* Maps from names to Atom's. */ - Tcl_HashTable atomTable; /* Maps from Atom's back to names. */ - - /* - * Information used primarily by tkBind.c: - */ - - int bindInfoStale; /* Non-zero means the variables in this part - * of the structure are potentially incorrect - * and should be recomputed. */ - unsigned int modeModMask; /* Has one bit set to indicate the modifier - * corresponding to "mode shift". If no such - * modifier, than this is zero. */ - unsigned int metaModMask; /* Has one bit set to indicate the modifier - * corresponding to the "Meta" key. If no such - * modifier, then this is zero. */ - unsigned int altModMask; /* Has one bit set to indicate the modifier - * corresponding to the "Meta" key. If no such - * modifier, then this is zero. */ - enum {LU_IGNORE, LU_CAPS, LU_SHIFT} lockUsage; - /* Indicates how to interpret lock - * modifier. */ - int numModKeyCodes; /* Number of entries in modKeyCodes array - * below. */ - KeyCode *modKeyCodes; /* Pointer to an array giving keycodes for all - * of the keys that have modifiers associated - * with them. Malloc'ed, but may be NULL. */ - - /* - * Information used by tkBitmap.c only: - */ - - int bitmapInit; /* 0 means tables above need initializing. */ - int bitmapAutoNumber; /* Used to number bitmaps. */ - Tcl_HashTable bitmapNameTable; - /* Maps from name of bitmap to the first - * TkBitmap record for that name. */ - Tcl_HashTable bitmapIdTable;/* Maps from bitmap id to the TkBitmap - * structure for the bitmap. */ - Tcl_HashTable bitmapDataTable; - /* Used by Tk_GetBitmapFromData to map from a - * collection of in-core data about a bitmap - * to a reference giving an automatically- - * generated name for the bitmap. */ - - /* - * Information used by tkCanvas.c only: - */ - - int numIdSearches; - int numSlowSearches; - - /* - * Used by tkColor.c only: - */ - - int colorInit; /* 0 means color module needs initializing. */ - TkStressedCmap *stressPtr; /* First in list of colormaps that have filled - * up, so we have to pick an approximate - * color. */ - Tcl_HashTable colorNameTable; - /* Maps from color name to TkColor structure - * for that color. */ - Tcl_HashTable colorValueTable; - /* Maps from integer RGB values to TkColor - * structures. */ - - /* - * Used by tkCursor.c only: - */ - - int cursorInit; /* 0 means cursor module need initializing. */ - Tcl_HashTable cursorNameTable; - /* Maps from a string name to a cursor to the - * TkCursor record for the cursor. */ - Tcl_HashTable cursorDataTable; - /* Maps from a collection of in-core data - * about a cursor to a TkCursor structure. */ - Tcl_HashTable cursorIdTable; - /* Maps from a cursor id to the TkCursor - * structure for the cursor. */ - char cursorString[20]; /* Used to store a cursor id string. */ - Font cursorFont; /* Font to use for standard cursors. None - * means font not loaded yet. */ - - /* - * Information used by tkError.c only: - */ - - struct TkErrorHandler *errorPtr; - /* First in list of error handlers for this - * display. NULL means no handlers exist at - * present. */ - int deleteCount; /* Counts # of handlers deleted since last - * time inactive handlers were garbage- - * collected. When this number gets big, - * handlers get cleaned up. */ - - /* - * Used by tkEvent.c only: - */ - - struct TkWindowEvent *delayedMotionPtr; - /* Points to a malloc-ed motion event whose - * processing has been delayed in the hopes - * that another motion event will come along - * right away and we can merge the two of them - * together. NULL means that there is no - * delayed motion event. */ - - /* - * Information used by tkFocus.c only: - */ - - int focusDebug; /* 1 means collect focus debugging - * statistics. */ - struct TkWindow *implicitWinPtr; - /* If the focus arrived at a toplevel window - * implicitly via an Enter event (rather than - * via a FocusIn event), this points to the - * toplevel window. Otherwise it is NULL. */ - struct TkWindow *focusPtr; /* Points to the window on this display that - * should be receiving keyboard events. When - * multiple applications on the display have - * the focus, this will refer to the innermost - * window in the innermost application. This - * information isn't used under Unix or - * Windows, but it's needed on the Mac. */ - - /* - * Information used by tkGC.c only: - */ - - Tcl_HashTable gcValueTable; /* Maps from a GC's values to a TkGC structure - * describing a GC with those values. */ - Tcl_HashTable gcIdTable; /* Maps from a GC to a TkGC. */ - int gcInit; /* 0 means the tables below need - * initializing. */ - - /* - * Information used by tkGeometry.c only: - */ - - Tcl_HashTable maintainHashTable; - /* Hash table that maps from a master's - * Tk_Window token to a list of slaves managed - * by that master. */ - int geomInit; - - /* - * Information used by tkGet.c only: - */ - - Tcl_HashTable uidTable; /* Stores all Tk_Uid used in a thread. */ - int uidInit; /* 0 means uidTable needs initializing. */ - - /* - * Information used by tkGrab.c only: - */ - - struct TkWindow *grabWinPtr;/* Window in which the pointer is currently - * grabbed, or NULL if none. */ - struct TkWindow *eventualGrabWinPtr; - /* Value that grabWinPtr will have once the - * grab event queue (below) has been - * completely emptied. */ - struct TkWindow *buttonWinPtr; - /* Window in which first mouse button was - * pressed while grab was in effect, or NULL - * if no such press in effect. */ - struct TkWindow *serverWinPtr; - /* If no application contains the pointer then - * this is NULL. Otherwise it contains the - * last window for which we've gotten an Enter - * or Leave event from the server (i.e. the - * last window known to have contained the - * pointer). Doesn't reflect events that were - * synthesized in tkGrab.c. */ - TkGrabEvent *firstGrabEventPtr; - /* First in list of enter/leave events - * synthesized by grab code. These events must - * be processed in order before any other - * events are processed. NULL means no such - * events. */ - TkGrabEvent *lastGrabEventPtr; - /* Last in list of synthesized events, or NULL - * if list is empty. */ - int grabFlags; /* Miscellaneous flag values. See definitions - * in tkGrab.c. */ - - /* - * Information used by tkGrid.c only: - */ - - int gridInit; /* 0 means table below needs initializing. */ - Tcl_HashTable gridHashTable;/* Maps from Tk_Window tokens to corresponding - * Grid structures. */ - - /* - * Information used by tkImage.c only: - */ - - int imageId; /* Value used to number image ids. */ - - /* - * Information used by tkMacWinMenu.c only: - */ - - int postCommandGeneration; - - /* - * Information used by tkOption.c only. - */ - - /* - * Information used by tkPack.c only. - */ - - int packInit; /* 0 means table below needs initializing. */ - Tcl_HashTable packerHashTable; - /* Maps from Tk_Window tokens to corresponding - * Packer structures. */ - - /* - * Information used by tkPlace.c only. - */ - - int placeInit; /* 0 means tables below need initializing. */ - Tcl_HashTable masterTable; /* Maps from Tk_Window toke to the Master - * structure for the window, if it exists. */ - Tcl_HashTable slaveTable; /* Maps from Tk_Window toke to the Slave - * structure for the window, if it exists. */ - - /* - * Information used by tkSelect.c and tkClipboard.c only: - */ - - struct TkSelectionInfo *selectionInfoPtr; - /* First in list of selection information - * records. Each entry contains information - * about the current owner of a particular - * selection on this display. */ - Atom multipleAtom; /* Atom for MULTIPLE. None means selection - * stuff isn't initialized. */ - Atom incrAtom; /* Atom for INCR. */ - Atom targetsAtom; /* Atom for TARGETS. */ - Atom timestampAtom; /* Atom for TIMESTAMP. */ - Atom textAtom; /* Atom for TEXT. */ - Atom compoundTextAtom; /* Atom for COMPOUND_TEXT. */ - Atom applicationAtom; /* Atom for TK_APPLICATION. */ - Atom windowAtom; /* Atom for TK_WINDOW. */ - Atom clipboardAtom; /* Atom for CLIPBOARD. */ - Atom utf8Atom; /* Atom for UTF8_STRING. */ - - Tk_Window clipWindow; /* Window used for clipboard ownership and to - * retrieve selections between processes. NULL - * means clipboard info hasn't been - * initialized. */ - int clipboardActive; /* 1 means we currently own the clipboard - * selection, 0 means we don't. */ - struct TkMainInfo *clipboardAppPtr; - /* Last application that owned clipboard. */ - struct TkClipboardTarget *clipTargetPtr; - /* First in list of clipboard type information - * records. Each entry contains information - * about the buffers for a given selection - * target. */ - - /* - * Information used by tkSend.c only: - */ - - Tk_Window commTkwin; /* Window used for communication between - * interpreters during "send" commands. NULL - * means send info hasn't been initialized - * yet. */ - Atom commProperty; /* X's name for comm property. */ - Atom registryProperty; /* X's name for property containing registry - * of interpreter names. */ - Atom appNameProperty; /* X's name for property used to hold the - * application name on each comm window. */ - - /* - * Information used by tkXId.c only: - */ - - struct TkIdStack *idStackPtr; - /* First in list of chunks of free resource - * identifiers, or NULL if there are no free - * resources. */ - XID (*defaultAllocProc) (Display *display); - /* Default resource allocator for display. */ - struct TkIdStack *windowStackPtr; - /* First in list of chunks of window ids that - * can't be reused right now. */ - Tcl_TimerToken idCleanupScheduled; - /* If set, it means a call to WindowIdCleanup - * has already been scheduled, 0 means it - * hasn't. */ - - /* - * Information used by tkUnixWm.c and tkWinWm.c only: - */ - - struct TkWmInfo *firstWmPtr;/* Points to first top-level window. */ - struct TkWmInfo *foregroundWmPtr; - /* Points to the foreground window. */ - - /* - * Information maintained by tkWindow.c for use later on by tkXId.c: - */ - - int destroyCount; /* Number of Tk_DestroyWindow operations in - * progress. */ - unsigned long lastDestroyRequest; - /* Id of most recent XDestroyWindow request; - * can re-use ids in windowStackPtr when - * server has seen this request and event - * queue is empty. */ - - /* - * Information used by tkVisual.c only: - */ - - TkColormap *cmapPtr; /* First in list of all non-default colormaps - * allocated for this display. */ - - /* - * Miscellaneous information: - */ - -#ifdef TK_USE_INPUT_METHODS - XIM inputMethod; /* Input method for this display. */ - XIMStyle inputStyle; /* Input style selected for this display. */ - XFontSet inputXfs; /* XFontSet cached for over-the-spot XIM. */ -#endif /* TK_USE_INPUT_METHODS */ - Tcl_HashTable winTable; /* Maps from X window ids to TkWindow ptrs. */ - - int refCount; /* Reference count of how many Tk applications - * are using this display. Used to clean up - * the display when we no longer have any Tk - * applications using it. */ - - /* - * The following field were all added for Tk8.3 - */ - - int mouseButtonState; /* Current mouse button state for this - * display. */ - Window mouseButtonWindow; /* Window the button state was set in, added - * in Tk 8.4. */ - Window warpWindow; - int warpX; - int warpY; - - /* - * The following field(s) were all added for Tk8.4 - */ - - unsigned int flags; /* Various flag values: these are all defined - * in below. */ - TkCaret caret; /* Information about the caret for this - * display. This is not a pointer. */ - - int iconDataSize; /* Size of default iconphoto image data. */ - unsigned char *iconDataPtr; /* Default iconphoto image data, if set. */ -} TkDisplay; - -/* - * Flag values for TkDisplay flags. - * TK_DISPLAY_COLLAPSE_MOTION_EVENTS: (default on) - * Indicates that we should collapse motion events on this display - * TK_DISPLAY_USE_IM: (default on, set via tk.tcl) - * Whether to use input methods for this display - * TK_DISPLAY_WM_TRACING: (default off) - * Whether we should do wm tracing on this display. - * TK_DISPLAY_IN_WARP: (default off) - * Indicates that we are in a pointer warp - */ - -#define TK_DISPLAY_COLLAPSE_MOTION_EVENTS (1 << 0) -#define TK_DISPLAY_USE_IM (1 << 1) -#define TK_DISPLAY_WM_TRACING (1 << 3) -#define TK_DISPLAY_IN_WARP (1 << 4) - -/* - * One of the following structures exists for each error handler created by a - * call to Tk_CreateErrorHandler. The structure is managed by tkError.c. - */ - -typedef struct TkErrorHandler { - TkDisplay *dispPtr; /* Display to which handler applies. */ - unsigned long firstRequest; /* Only errors with serial numbers >= to this - * are considered. */ - unsigned long lastRequest; /* Only errors with serial numbers <= to this - * are considered. This field is filled in - * when XUnhandle is called. -1 means - * XUnhandle hasn't been called yet. */ - int error; /* Consider only errors with this error_code - * (-1 means consider all errors). */ - int request; /* Consider only errors with this major - * request code (-1 means consider all major - * codes). */ - int minorCode; /* Consider only errors with this minor - * request code (-1 means consider all minor - * codes). */ - Tk_ErrorProc *errorProc; /* Function to invoke when a matching error - * occurs. NULL means just ignore errors. */ - ClientData clientData; /* Arbitrary value to pass to errorProc. */ - struct TkErrorHandler *nextPtr; - /* Pointer to next older handler for this - * display, or NULL for end of list. */ -} TkErrorHandler; - -/* - * One of the following structures exists for each event handler created by - * calling Tk_CreateEventHandler. This information is used by tkEvent.c only. - */ - -typedef struct TkEventHandler { - unsigned long mask; /* Events for which to invoke proc. */ - Tk_EventProc *proc; /* Function to invoke when an event in mask - * occurs. */ - ClientData clientData; /* Argument to pass to proc. */ - struct TkEventHandler *nextPtr; - /* Next in list of handlers associated with - * window (NULL means end of list). */ -} TkEventHandler; - -/* - * Tk keeps one of the following data structures for each main window (created - * by a call to TkCreateMainWindow). It stores information that is shared by - * all of the windows associated with a particular main window. - */ - -typedef struct TkMainInfo { - int refCount; /* Number of windows whose "mainPtr" fields - * point here. When this becomes zero, can - * free up the structure (the reference count - * is zero because windows can get deleted in - * almost any order; the main window isn't - * necessarily the last one deleted). */ - struct TkWindow *winPtr; /* Pointer to main window. */ - Tcl_Interp *interp; /* Interpreter associated with application. */ - Tcl_HashTable nameTable; /* Hash table mapping path names to TkWindow - * structs for all windows related to this - * main window. Managed by tkWindow.c. */ - long deletionEpoch; /* Incremented by window deletions. */ - Tk_BindingTable bindingTable; - /* Used in conjunction with "bind" command to - * bind events to Tcl commands. */ - TkBindInfo bindInfo; /* Information used by tkBind.c on a per - * application basis. */ - struct TkFontInfo *fontInfoPtr; - /* Information used by tkFont.c on a per - * application basis. */ - - /* - * Information used only by tkFocus.c and tk*Embed.c: - */ - - struct TkToplevelFocusInfo *tlFocusPtr; - /* First in list of records containing focus - * information for each top-level in the - * application. Used only by tkFocus.c. */ - struct TkDisplayFocusInfo *displayFocusPtr; - /* First in list of records containing focus - * information for each display that this - * application has ever used. Used only by - * tkFocus.c. */ - - struct ElArray *optionRootPtr; - /* Top level of option hierarchy for this main - * window. NULL means uninitialized. Managed - * by tkOption.c. */ - Tcl_HashTable imageTable; /* Maps from image names to Tk_ImageMaster - * structures. Managed by tkImage.c. */ - int strictMotif; /* This is linked to the tk_strictMotif global - * variable. */ - int alwaysShowSelection; /* This is linked to the - * ::tk::AlwaysShowSelection variable. */ - struct TkMainInfo *nextPtr; /* Next in list of all main windows managed by - * this process. */ -} TkMainInfo; - -/* - * Tk keeps the following data structure for each of it's builtin bitmaps. - * This structure is only used by tkBitmap.c and other platform specific - * bitmap files. - */ - -typedef struct { - const char *source; /* Bits for bitmap. */ - int width, height; /* Dimensions of bitmap. */ - int native; /* 0 means generic (X style) bitmap, 1 means - * native style bitmap. */ -} TkPredefBitmap; - -/* - * Tk keeps one of the following structures for each window. Some of the - * information (like size and location) is a shadow of information managed by - * the X server, and some is special information used here, such as event and - * geometry management information. This information is (mostly) managed by - * tkWindow.c. WARNING: the declaration below must be kept consistent with the - * Tk_FakeWin structure in tk.h. If you change one, be sure to change the - * other! - */ - -typedef struct TkWindow { - /* - * Structural information: - */ - - Display *display; /* Display containing window. */ - TkDisplay *dispPtr; /* Tk's information about display for - * window. */ - int screenNum; /* Index of screen for window, among all those - * for dispPtr. */ - Visual *visual; /* Visual to use for window. If not default, - * MUST be set before X window is created. */ - int depth; /* Number of bits/pixel. */ - Window window; /* X's id for window. NULL means window hasn't - * actually been created yet, or it's been - * deleted. */ - struct TkWindow *childList; /* First in list of child windows, or NULL if - * no children. List is in stacking order, - * lowest window first.*/ - struct TkWindow *lastChildPtr; - /* Last in list of child windows (highest in - * stacking order), or NULL if no children. */ - struct TkWindow *parentPtr; /* Pointer to parent window (logical parent, - * not necessarily X parent). NULL means - * either this is the main window, or the - * window's parent has already been deleted. */ - struct TkWindow *nextPtr; /* Next higher sibling (in stacking order) in - * list of children with same parent. NULL - * means end of list. */ - TkMainInfo *mainPtr; /* Information shared by all windows - * associated with a particular main window. - * NULL means this window is a rogue that is - * not associated with any application (at - * present, this only happens for the dummy - * windows used for "send" communication). */ - - /* - * Name and type information for the window: - */ - - char *pathName; /* Path name of window (concatenation of all - * names between this window and its top-level - * ancestor). This is a pointer into an entry - * in mainPtr->nameTable. NULL means that the - * window hasn't been completely created - * yet. */ - Tk_Uid nameUid; /* Name of the window within its parent - * (unique within the parent). */ - Tk_Uid classUid; /* Class of the window. NULL means window - * hasn't been given a class yet. */ - - /* - * Geometry and other attributes of window. This information may not be - * updated on the server immediately; stuff that hasn't been reflected in - * the server yet is called "dirty". At present, information can be dirty - * only if the window hasn't yet been created. - */ - - XWindowChanges changes; /* Geometry and other info about window. */ - unsigned int dirtyChanges; /* Bits indicate fields of "changes" that are - * dirty. */ - XSetWindowAttributes atts; /* Current attributes of window. */ - unsigned long dirtyAtts; /* Bits indicate fields of "atts" that are - * dirty. */ - - unsigned int flags; /* Various flag values: these are all defined - * in tk.h (confusing, but they're needed - * there for some query macros). */ - - /* - * Information kept by the event manager (tkEvent.c): - */ - - TkEventHandler *handlerList;/* First in list of event handlers declared - * for this window, or NULL if none. */ -#ifdef TK_USE_INPUT_METHODS - XIC inputContext; /* XIM input context. */ -#endif /* TK_USE_INPUT_METHODS */ - - /* - * Information used for event bindings (see "bind" and "bindtags" commands - * in tkCmds.c): - */ - - ClientData *tagPtr; /* Points to array of tags used for bindings - * on this window. Each tag is a Tk_Uid. - * Malloc'ed. NULL means no tags. */ - int numTags; /* Number of tags at *tagPtr. */ - - /* - * Information used by tkOption.c to manage options for the window. - */ - - int optionLevel; /* -1 means no option information is currently - * cached for this window. Otherwise this - * gives the level in the option stack at - * which info is cached. */ - /* - * Information used by tkSelect.c to manage the selection. - */ - - struct TkSelHandler *selHandlerList; - /* First in list of handlers for returning the - * selection in various forms. */ - - /* - * Information used by tkGeometry.c for geometry management. - */ - - const Tk_GeomMgr *geomMgrPtr; /* Information about geometry manager for this - * window. */ - ClientData geomData; /* Argument for geometry manager functions. */ - int reqWidth, reqHeight; /* Arguments from last call to - * Tk_GeometryRequest, or 0's if - * Tk_GeometryRequest hasn't been called. */ - int internalBorderLeft; /* Width of internal border of window (0 means - * no internal border). Geometry managers - * should not normally place children on top - * of the border. Fields for the other three - * sides are found below. */ - - /* - * Information maintained by tkWm.c for window manager communication. - */ - - struct TkWmInfo *wmInfoPtr; /* For top-level windows (and also for special - * Unix menubar and wrapper windows), points - * to structure with wm-related info (see - * tkWm.c). For other windows, this is NULL. */ - - /* - * Information used by widget classes. - */ - - Tk_ClassProcs *classProcsPtr; - ClientData instanceData; - - /* - * Platform specific information private to each port. - */ - - struct TkWindowPrivate *privatePtr; - - /* - * More information used by tkGeometry.c for geometry management. - */ - - /* The remaining fields of internal border. */ - int internalBorderRight; - int internalBorderTop; - int internalBorderBottom; - - int minReqWidth; /* Minimum requested width. */ - int minReqHeight; /* Minimum requested height. */ -} TkWindow; - -/* - * The following structure is used as a two way map between integers and - * strings, usually to map between an internal C representation and the - * strings used in Tcl. - */ - -typedef struct TkStateMap { - int numKey; /* Integer representation of a value. */ - const char *strKey; /* String representation of a value. */ -} TkStateMap; - -/* - * This structure is used by the Mac and Window porting layers as the internal - * representation of a clip_mask in a GC. - */ - -typedef struct TkpClipMask { - int type; /* TKP_CLIP_PIXMAP or TKP_CLIP_REGION. */ - union { - Pixmap pixmap; - TkRegion region; - } value; -} TkpClipMask; - -#define TKP_CLIP_PIXMAP 0 -#define TKP_CLIP_REGION 1 - -/* - * Pointer to first entry in list of all displays currently known. - */ - -extern TkDisplay *tkDisplayList; - -/* - * Return values from TkGrabState: - */ - -#define TK_GRAB_NONE 0 -#define TK_GRAB_IN_TREE 1 -#define TK_GRAB_ANCESTOR 2 -#define TK_GRAB_EXCLUDED 3 - -/* - * Additional flag for TkpMeasureCharsInContext. Coordinate with other flags - * for this routine, but don't make public until TkpMeasureCharsInContext is - * made public, too. - */ - -#define TK_ISOLATE_END 32 - -/* - * The macro below is used to modify a "char" value (e.g. by casting it to an - * unsigned character) so that it can be used safely with macros such as - * isspace(). - */ - -#define UCHAR(c) ((unsigned char) (c)) - -/* - * The following symbol is used in the mode field of FocusIn events generated - * by an embedded application to request the input focus from its container. - */ - -#define EMBEDDED_APP_WANTS_FOCUS (NotifyNormal + 20) - -/* - * The following special modifier mask bits are defined, to indicate logical - * modifiers such as Meta and Alt that may float among the actual modifier - * bits. - */ - -#define META_MASK (AnyModifier<<1) -#define ALT_MASK (AnyModifier<<2) -#define EXTENDED_MASK (AnyModifier<<3) - -/* - * Object types not declared in tkObj.c need to be mentioned here so they can - * be properly registered with Tcl: - */ - -MODULE_SCOPE Tcl_ObjType tkBorderObjType; -MODULE_SCOPE Tcl_ObjType tkBitmapObjType; -MODULE_SCOPE Tcl_ObjType tkColorObjType; -MODULE_SCOPE Tcl_ObjType tkCursorObjType; -MODULE_SCOPE Tcl_ObjType tkFontObjType; -MODULE_SCOPE Tcl_ObjType tkOptionObjType; -MODULE_SCOPE Tcl_ObjType tkStateKeyObjType; -MODULE_SCOPE Tcl_ObjType tkTextIndexType; - -/* - * Miscellaneous variables shared among Tk modules but not exported to the - * outside world: - */ - -MODULE_SCOPE Tk_SmoothMethod tkBezierSmoothMethod; -MODULE_SCOPE Tk_ImageType tkBitmapImageType; -MODULE_SCOPE Tk_PhotoImageFormat tkImgFmtGIF; -MODULE_SCOPE void (*tkHandleEventProc) (XEvent* eventPtr); -MODULE_SCOPE Tk_PhotoImageFormat tkImgFmtPPM; -MODULE_SCOPE TkMainInfo *tkMainWindowList; -MODULE_SCOPE Tk_ImageType tkPhotoImageType; -MODULE_SCOPE Tcl_HashTable tkPredefBitmapTable; - -#include "tkIntDecls.h" - -#ifdef BUILD_tk -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * Themed widget set init function: - */ - -MODULE_SCOPE int Ttk_Init(Tcl_Interp *interp); - -/* - * Internal functions shared among Tk modules but not exported to the outside - * world: - */ - -MODULE_SCOPE int Tk_BellObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_BindObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_BindtagsObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_ButtonObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_CanvasObjCmd(ClientData clientData, - Tcl_Interp *interp, int argc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_CheckbuttonObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_ClipboardObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_ChooseColorObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_ChooseDirectoryObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_ChooseFontObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_DestroyObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_EntryObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_EventObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_FrameObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_FocusObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_FontObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_GetOpenFileObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_GetSaveFileObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_GrabObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_GridObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_ImageObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_LabelObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_LabelframeObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_ListboxObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_LowerObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_MenubuttonObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_MessageBoxObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_MessageObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_PanedWindowObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_OptionObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_PackObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_PlaceObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_RadiobuttonObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_RaiseObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_ScaleObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_ScrollbarCmd(ClientData clientData, - Tcl_Interp *interp, int argc, const char **argv); -MODULE_SCOPE int Tk_SelectionObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_SendCmd(ClientData clientData, - Tcl_Interp *interp, int argc, const char **argv); -MODULE_SCOPE int Tk_SendObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_SpinboxObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_TextObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_TkObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_TkwaitObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_ToplevelObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_UpdateObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_WinfoObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); -MODULE_SCOPE int Tk_WmObjCmd(ClientData clientData, Tcl_Interp *interp, - int objc, Tcl_Obj *const objv[]); - -MODULE_SCOPE void TkEventInit(void); -MODULE_SCOPE void TkRegisterObjTypes(void); -MODULE_SCOPE int TkCreateMenuCmd(Tcl_Interp *interp); -MODULE_SCOPE int TkDeadAppCmd(ClientData clientData, - Tcl_Interp *interp, int argc, const char **argv); -MODULE_SCOPE int TkCanvasGetCoordObj(Tcl_Interp *interp, - Tk_Canvas canvas, Tcl_Obj *obj, - double *doublePtr); -MODULE_SCOPE int TkCanvasDashParseProc(ClientData clientData, - Tcl_Interp *interp, Tk_Window tkwin, - const char *value, char *widgRec, int offset); -MODULE_SCOPE char * TkCanvasDashPrintProc(ClientData clientData, - Tk_Window tkwin, char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr); -MODULE_SCOPE int TkGetDoublePixels(Tcl_Interp *interp, Tk_Window tkwin, - const char *string, double *doublePtr); -MODULE_SCOPE int TkOffsetParseProc(ClientData clientData, - Tcl_Interp *interp, Tk_Window tkwin, - const char *value, char *widgRec, int offset); -MODULE_SCOPE char * TkOffsetPrintProc(ClientData clientData, - Tk_Window tkwin, char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr); -MODULE_SCOPE int TkOrientParseProc(ClientData clientData, - Tcl_Interp *interp, Tk_Window tkwin, - const char *value, char *widgRec, int offset); -MODULE_SCOPE char * TkOrientPrintProc(ClientData clientData, - Tk_Window tkwin, char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr); -MODULE_SCOPE int TkPixelParseProc(ClientData clientData, - Tcl_Interp *interp, Tk_Window tkwin, - const char *value, char *widgRec, int offset); -MODULE_SCOPE char * TkPixelPrintProc(ClientData clientData, - Tk_Window tkwin, char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr); -MODULE_SCOPE int TkPostscriptImage(Tcl_Interp *interp, Tk_Window tkwin, - Tk_PostscriptInfo psInfo, XImage *ximage, - int x, int y, int width, int height); -MODULE_SCOPE int TkSmoothParseProc(ClientData clientData, - Tcl_Interp *interp, Tk_Window tkwin, - const char *value, char *recordPtr, int offset); -MODULE_SCOPE char * TkSmoothPrintProc(ClientData clientData, - Tk_Window tkwin, char *recordPtr, int offset, - Tcl_FreeProc **freeProcPtr); -MODULE_SCOPE int TkStateParseProc(ClientData clientData, - Tcl_Interp *interp, Tk_Window tkwin, - const char *value, char *widgRec, int offset); -MODULE_SCOPE char * TkStatePrintProc(ClientData clientData, - Tk_Window tkwin, char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr); -MODULE_SCOPE int TkTileParseProc(ClientData clientData, - Tcl_Interp *interp, Tk_Window tkwin, - const char *value, char *widgRec, int offset); -MODULE_SCOPE char * TkTilePrintProc(ClientData clientData, Tk_Window tkwin, - char *widgRec, int offset, - Tcl_FreeProc **freeProcPtr); -MODULE_SCOPE void TkMapTopFrame(Tk_Window tkwin); -MODULE_SCOPE XEvent * TkpGetBindingXEvent(Tcl_Interp *interp); -MODULE_SCOPE void TkCreateExitHandler(Tcl_ExitProc *proc, - ClientData clientData); -MODULE_SCOPE void TkDeleteExitHandler(Tcl_ExitProc *proc, - ClientData clientData); -MODULE_SCOPE Tcl_ExitProc TkFinalize; -MODULE_SCOPE Tcl_ExitProc TkFinalizeThread; -MODULE_SCOPE void TkpBuildRegionFromAlphaData(TkRegion region, - unsigned x, unsigned y, unsigned width, - unsigned height, unsigned char *dataPtr, - unsigned pixelStride, unsigned lineStride); -MODULE_SCOPE void TkPrintPadAmount(Tcl_Interp *interp, - char *buffer, int pad1, int pad2); -MODULE_SCOPE int TkParsePadAmount(Tcl_Interp *interp, - Tk_Window tkwin, Tcl_Obj *objPtr, - int *pad1Ptr, int *pad2Ptr); -MODULE_SCOPE void TkFocusSplit(TkWindow *winPtr); -MODULE_SCOPE void TkFocusJoin(TkWindow *winPtr); -MODULE_SCOPE int TkpAlwaysShowSelection(Tk_Window tkwin); -MODULE_SCOPE void TkpDrawCharsInContext(Display * display, - Drawable drawable, GC gc, Tk_Font tkfont, - const char *source, int numBytes, int rangeStart, - int rangeLength, int x, int y); -MODULE_SCOPE int TkpMeasureCharsInContext(Tk_Font tkfont, - const char *source, int numBytes, int rangeStart, - int rangeLength, int maxLength, int flags, - int *lengthPtr); -MODULE_SCOPE void TkUnderlineCharsInContext(Display *display, - Drawable drawable, GC gc, Tk_Font tkfont, - const char *string, int numBytes, int x, int y, - int firstByte, int lastByte); -MODULE_SCOPE void TkpGetFontAttrsForChar(Tk_Window tkwin, Tk_Font tkfont, - Tcl_UniChar c, struct TkFontAttributes *faPtr); - -/* - * Unsupported commands. - */ - -MODULE_SCOPE int TkUnsupported1ObjCmd(ClientData clientData, - Tcl_Interp *interp, int objc, - Tcl_Obj *const objv[]); - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKINT */ - -/* - * Local Variables: - * mode: c - * c-basic-offset: 4 - * fill-column: 78 - * End: - */ diff --git a/src/other/togl/include/tcltk/tk8.6/tkIntDecls.h b/src/other/togl/include/tcltk/tk8.6/tkIntDecls.h deleted file mode 100644 index 56f6c7e8364..00000000000 --- a/src/other/togl/include/tcltk/tk8.6/tkIntDecls.h +++ /dev/null @@ -1,1896 +0,0 @@ -/* - * tkIntDecls.h -- - * - * This file contains the declarations for all unsupported - * functions that are exported by the Tk library. These - * interfaces are not guaranteed to remain the same between - * versions. Use at your own risk. - * - * Copyright (c) 1998-1999 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKINTDECLS -#define _TKINTDECLS - -#ifdef BUILD_tk -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * WARNING: This file is automatically generated by the tools/genStubs.tcl - * script. Any modifications to the function declarations below should be made - * in the generic/tkInt.decls script. - */ - -/* !BEGIN!: Do not edit below this line. */ - -/* - * Exported function declarations: - */ - -#ifndef TkAllocWindow_TCL_DECLARED -#define TkAllocWindow_TCL_DECLARED -/* 0 */ -EXTERN TkWindow * TkAllocWindow (TkDisplay * dispPtr, int screenNum, - TkWindow * parentPtr); -#endif -#ifndef TkBezierPoints_TCL_DECLARED -#define TkBezierPoints_TCL_DECLARED -/* 1 */ -EXTERN void TkBezierPoints (double control[], int numSteps, - double * coordPtr); -#endif -#ifndef TkBezierScreenPoints_TCL_DECLARED -#define TkBezierScreenPoints_TCL_DECLARED -/* 2 */ -EXTERN void TkBezierScreenPoints (Tk_Canvas canvas, - double control[], int numSteps, - XPoint * xPointPtr); -#endif -#ifndef TkBindDeadWindow_TCL_DECLARED -#define TkBindDeadWindow_TCL_DECLARED -/* 3 */ -EXTERN void TkBindDeadWindow (TkWindow * winPtr); -#endif -#ifndef TkBindEventProc_TCL_DECLARED -#define TkBindEventProc_TCL_DECLARED -/* 4 */ -EXTERN void TkBindEventProc (TkWindow * winPtr, - XEvent * eventPtr); -#endif -#ifndef TkBindFree_TCL_DECLARED -#define TkBindFree_TCL_DECLARED -/* 5 */ -EXTERN void TkBindFree (TkMainInfo * mainPtr); -#endif -#ifndef TkBindInit_TCL_DECLARED -#define TkBindInit_TCL_DECLARED -/* 6 */ -EXTERN void TkBindInit (TkMainInfo * mainPtr); -#endif -#ifndef TkChangeEventWindow_TCL_DECLARED -#define TkChangeEventWindow_TCL_DECLARED -/* 7 */ -EXTERN void TkChangeEventWindow (XEvent * eventPtr, - TkWindow * winPtr); -#endif -#ifndef TkClipInit_TCL_DECLARED -#define TkClipInit_TCL_DECLARED -/* 8 */ -EXTERN int TkClipInit (Tcl_Interp * interp, TkDisplay * dispPtr); -#endif -#ifndef TkComputeAnchor_TCL_DECLARED -#define TkComputeAnchor_TCL_DECLARED -/* 9 */ -EXTERN void TkComputeAnchor (Tk_Anchor anchor, Tk_Window tkwin, - int padX, int padY, int innerWidth, - int innerHeight, int * xPtr, int * yPtr); -#endif -#ifndef TkCopyAndGlobalEval_TCL_DECLARED -#define TkCopyAndGlobalEval_TCL_DECLARED -/* 10 */ -EXTERN int TkCopyAndGlobalEval (Tcl_Interp * interp, - char * script); -#endif -#ifndef TkCreateBindingProcedure_TCL_DECLARED -#define TkCreateBindingProcedure_TCL_DECLARED -/* 11 */ -EXTERN unsigned long TkCreateBindingProcedure (Tcl_Interp * interp, - Tk_BindingTable bindingTable, - ClientData object, CONST char * eventString, - TkBindEvalProc * evalProc, - TkBindFreeProc * freeProc, - ClientData clientData); -#endif -#ifndef TkCreateCursorFromData_TCL_DECLARED -#define TkCreateCursorFromData_TCL_DECLARED -/* 12 */ -EXTERN TkCursor * TkCreateCursorFromData (Tk_Window tkwin, - CONST char * source, CONST char * mask, - int width, int height, int xHot, int yHot, - XColor fg, XColor bg); -#endif -#ifndef TkCreateFrame_TCL_DECLARED -#define TkCreateFrame_TCL_DECLARED -/* 13 */ -EXTERN int TkCreateFrame (ClientData clientData, - Tcl_Interp * interp, int argc, char ** argv, - int toplevel, char * appName); -#endif -#ifndef TkCreateMainWindow_TCL_DECLARED -#define TkCreateMainWindow_TCL_DECLARED -/* 14 */ -EXTERN Tk_Window TkCreateMainWindow (Tcl_Interp * interp, - CONST char * screenName, char * baseName); -#endif -#ifndef TkCurrentTime_TCL_DECLARED -#define TkCurrentTime_TCL_DECLARED -/* 15 */ -EXTERN Time TkCurrentTime (TkDisplay * dispPtr); -#endif -#ifndef TkDeleteAllImages_TCL_DECLARED -#define TkDeleteAllImages_TCL_DECLARED -/* 16 */ -EXTERN void TkDeleteAllImages (TkMainInfo * mainPtr); -#endif -#ifndef TkDoConfigureNotify_TCL_DECLARED -#define TkDoConfigureNotify_TCL_DECLARED -/* 17 */ -EXTERN void TkDoConfigureNotify (TkWindow * winPtr); -#endif -#ifndef TkDrawInsetFocusHighlight_TCL_DECLARED -#define TkDrawInsetFocusHighlight_TCL_DECLARED -/* 18 */ -EXTERN void TkDrawInsetFocusHighlight (Tk_Window tkwin, GC gc, - int width, Drawable drawable, int padding); -#endif -#ifndef TkEventDeadWindow_TCL_DECLARED -#define TkEventDeadWindow_TCL_DECLARED -/* 19 */ -EXTERN void TkEventDeadWindow (TkWindow * winPtr); -#endif -#ifndef TkFillPolygon_TCL_DECLARED -#define TkFillPolygon_TCL_DECLARED -/* 20 */ -EXTERN void TkFillPolygon (Tk_Canvas canvas, double * coordPtr, - int numPoints, Display * display, - Drawable drawable, GC gc, GC outlineGC); -#endif -#ifndef TkFindStateNum_TCL_DECLARED -#define TkFindStateNum_TCL_DECLARED -/* 21 */ -EXTERN int TkFindStateNum (Tcl_Interp * interp, - CONST char * option, - CONST TkStateMap * mapPtr, - CONST char * strKey); -#endif -#ifndef TkFindStateString_TCL_DECLARED -#define TkFindStateString_TCL_DECLARED -/* 22 */ -EXTERN char * TkFindStateString (CONST TkStateMap * mapPtr, - int numKey); -#endif -#ifndef TkFocusDeadWindow_TCL_DECLARED -#define TkFocusDeadWindow_TCL_DECLARED -/* 23 */ -EXTERN void TkFocusDeadWindow (TkWindow * winPtr); -#endif -#ifndef TkFocusFilterEvent_TCL_DECLARED -#define TkFocusFilterEvent_TCL_DECLARED -/* 24 */ -EXTERN int TkFocusFilterEvent (TkWindow * winPtr, - XEvent * eventPtr); -#endif -#ifndef TkFocusKeyEvent_TCL_DECLARED -#define TkFocusKeyEvent_TCL_DECLARED -/* 25 */ -EXTERN TkWindow * TkFocusKeyEvent (TkWindow * winPtr, - XEvent * eventPtr); -#endif -#ifndef TkFontPkgInit_TCL_DECLARED -#define TkFontPkgInit_TCL_DECLARED -/* 26 */ -EXTERN void TkFontPkgInit (TkMainInfo * mainPtr); -#endif -#ifndef TkFontPkgFree_TCL_DECLARED -#define TkFontPkgFree_TCL_DECLARED -/* 27 */ -EXTERN void TkFontPkgFree (TkMainInfo * mainPtr); -#endif -#ifndef TkFreeBindingTags_TCL_DECLARED -#define TkFreeBindingTags_TCL_DECLARED -/* 28 */ -EXTERN void TkFreeBindingTags (TkWindow * winPtr); -#endif -#ifndef TkpFreeCursor_TCL_DECLARED -#define TkpFreeCursor_TCL_DECLARED -/* 29 */ -EXTERN void TkpFreeCursor (TkCursor * cursorPtr); -#endif -#ifndef TkGetBitmapData_TCL_DECLARED -#define TkGetBitmapData_TCL_DECLARED -/* 30 */ -EXTERN char * TkGetBitmapData (Tcl_Interp * interp, char * string, - char * fileName, int * widthPtr, - int * heightPtr, int * hotXPtr, - int * hotYPtr); -#endif -#ifndef TkGetButtPoints_TCL_DECLARED -#define TkGetButtPoints_TCL_DECLARED -/* 31 */ -EXTERN void TkGetButtPoints (double p1[], double p2[], - double width, int project, double m1[], - double m2[]); -#endif -#ifndef TkGetCursorByName_TCL_DECLARED -#define TkGetCursorByName_TCL_DECLARED -/* 32 */ -EXTERN TkCursor * TkGetCursorByName (Tcl_Interp * interp, - Tk_Window tkwin, Tk_Uid string); -#endif -#ifndef TkGetDefaultScreenName_TCL_DECLARED -#define TkGetDefaultScreenName_TCL_DECLARED -/* 33 */ -EXTERN CONST84_RETURN char * TkGetDefaultScreenName (Tcl_Interp * interp, - CONST char * screenName); -#endif -#ifndef TkGetDisplay_TCL_DECLARED -#define TkGetDisplay_TCL_DECLARED -/* 34 */ -EXTERN TkDisplay * TkGetDisplay (Display * display); -#endif -#ifndef TkGetDisplayOf_TCL_DECLARED -#define TkGetDisplayOf_TCL_DECLARED -/* 35 */ -EXTERN int TkGetDisplayOf (Tcl_Interp * interp, int objc, - Tcl_Obj *CONST objv[], Tk_Window * tkwinPtr); -#endif -#ifndef TkGetFocusWin_TCL_DECLARED -#define TkGetFocusWin_TCL_DECLARED -/* 36 */ -EXTERN TkWindow * TkGetFocusWin (TkWindow * winPtr); -#endif -#ifndef TkGetInterpNames_TCL_DECLARED -#define TkGetInterpNames_TCL_DECLARED -/* 37 */ -EXTERN int TkGetInterpNames (Tcl_Interp * interp, - Tk_Window tkwin); -#endif -#ifndef TkGetMiterPoints_TCL_DECLARED -#define TkGetMiterPoints_TCL_DECLARED -/* 38 */ -EXTERN int TkGetMiterPoints (double p1[], double p2[], - double p3[], double width, double m1[], - double m2[]); -#endif -#ifndef TkGetPointerCoords_TCL_DECLARED -#define TkGetPointerCoords_TCL_DECLARED -/* 39 */ -EXTERN void TkGetPointerCoords (Tk_Window tkwin, int * xPtr, - int * yPtr); -#endif -#ifndef TkGetServerInfo_TCL_DECLARED -#define TkGetServerInfo_TCL_DECLARED -/* 40 */ -EXTERN void TkGetServerInfo (Tcl_Interp * interp, - Tk_Window tkwin); -#endif -#ifndef TkGrabDeadWindow_TCL_DECLARED -#define TkGrabDeadWindow_TCL_DECLARED -/* 41 */ -EXTERN void TkGrabDeadWindow (TkWindow * winPtr); -#endif -#ifndef TkGrabState_TCL_DECLARED -#define TkGrabState_TCL_DECLARED -/* 42 */ -EXTERN int TkGrabState (TkWindow * winPtr); -#endif -#ifndef TkIncludePoint_TCL_DECLARED -#define TkIncludePoint_TCL_DECLARED -/* 43 */ -EXTERN void TkIncludePoint (Tk_Item * itemPtr, double * pointPtr); -#endif -#ifndef TkInOutEvents_TCL_DECLARED -#define TkInOutEvents_TCL_DECLARED -/* 44 */ -EXTERN void TkInOutEvents (XEvent * eventPtr, - TkWindow * sourcePtr, TkWindow * destPtr, - int leaveType, int enterType, - Tcl_QueuePosition position); -#endif -#ifndef TkInstallFrameMenu_TCL_DECLARED -#define TkInstallFrameMenu_TCL_DECLARED -/* 45 */ -EXTERN void TkInstallFrameMenu (Tk_Window tkwin); -#endif -#ifndef TkKeysymToString_TCL_DECLARED -#define TkKeysymToString_TCL_DECLARED -/* 46 */ -EXTERN char * TkKeysymToString (KeySym keysym); -#endif -#ifndef TkLineToArea_TCL_DECLARED -#define TkLineToArea_TCL_DECLARED -/* 47 */ -EXTERN int TkLineToArea (double end1Ptr[], double end2Ptr[], - double rectPtr[]); -#endif -#ifndef TkLineToPoint_TCL_DECLARED -#define TkLineToPoint_TCL_DECLARED -/* 48 */ -EXTERN double TkLineToPoint (double end1Ptr[], double end2Ptr[], - double pointPtr[]); -#endif -#ifndef TkMakeBezierCurve_TCL_DECLARED -#define TkMakeBezierCurve_TCL_DECLARED -/* 49 */ -EXTERN int TkMakeBezierCurve (Tk_Canvas canvas, - double * pointPtr, int numPoints, - int numSteps, XPoint xPoints[], - double dblPoints[]); -#endif -#ifndef TkMakeBezierPostscript_TCL_DECLARED -#define TkMakeBezierPostscript_TCL_DECLARED -/* 50 */ -EXTERN void TkMakeBezierPostscript (Tcl_Interp * interp, - Tk_Canvas canvas, double * pointPtr, - int numPoints); -#endif -#ifndef TkOptionClassChanged_TCL_DECLARED -#define TkOptionClassChanged_TCL_DECLARED -/* 51 */ -EXTERN void TkOptionClassChanged (TkWindow * winPtr); -#endif -#ifndef TkOptionDeadWindow_TCL_DECLARED -#define TkOptionDeadWindow_TCL_DECLARED -/* 52 */ -EXTERN void TkOptionDeadWindow (TkWindow * winPtr); -#endif -#ifndef TkOvalToArea_TCL_DECLARED -#define TkOvalToArea_TCL_DECLARED -/* 53 */ -EXTERN int TkOvalToArea (double * ovalPtr, double * rectPtr); -#endif -#ifndef TkOvalToPoint_TCL_DECLARED -#define TkOvalToPoint_TCL_DECLARED -/* 54 */ -EXTERN double TkOvalToPoint (double ovalPtr[], double width, - int filled, double pointPtr[]); -#endif -#ifndef TkpChangeFocus_TCL_DECLARED -#define TkpChangeFocus_TCL_DECLARED -/* 55 */ -EXTERN int TkpChangeFocus (TkWindow * winPtr, int force); -#endif -#ifndef TkpCloseDisplay_TCL_DECLARED -#define TkpCloseDisplay_TCL_DECLARED -/* 56 */ -EXTERN void TkpCloseDisplay (TkDisplay * dispPtr); -#endif -#ifndef TkpClaimFocus_TCL_DECLARED -#define TkpClaimFocus_TCL_DECLARED -/* 57 */ -EXTERN void TkpClaimFocus (TkWindow * topLevelPtr, int force); -#endif -#ifndef TkpDisplayWarning_TCL_DECLARED -#define TkpDisplayWarning_TCL_DECLARED -/* 58 */ -EXTERN void TkpDisplayWarning (CONST char * msg, - CONST char * title); -#endif -#ifndef TkpGetAppName_TCL_DECLARED -#define TkpGetAppName_TCL_DECLARED -/* 59 */ -EXTERN void TkpGetAppName (Tcl_Interp * interp, - Tcl_DString * name); -#endif -#ifndef TkpGetOtherWindow_TCL_DECLARED -#define TkpGetOtherWindow_TCL_DECLARED -/* 60 */ -EXTERN TkWindow * TkpGetOtherWindow (TkWindow * winPtr); -#endif -#ifndef TkpGetWrapperWindow_TCL_DECLARED -#define TkpGetWrapperWindow_TCL_DECLARED -/* 61 */ -EXTERN TkWindow * TkpGetWrapperWindow (TkWindow * winPtr); -#endif -#ifndef TkpInit_TCL_DECLARED -#define TkpInit_TCL_DECLARED -/* 62 */ -EXTERN int TkpInit (Tcl_Interp * interp); -#endif -#ifndef TkpInitializeMenuBindings_TCL_DECLARED -#define TkpInitializeMenuBindings_TCL_DECLARED -/* 63 */ -EXTERN void TkpInitializeMenuBindings (Tcl_Interp * interp, - Tk_BindingTable bindingTable); -#endif -#ifndef TkpMakeContainer_TCL_DECLARED -#define TkpMakeContainer_TCL_DECLARED -/* 64 */ -EXTERN void TkpMakeContainer (Tk_Window tkwin); -#endif -#ifndef TkpMakeMenuWindow_TCL_DECLARED -#define TkpMakeMenuWindow_TCL_DECLARED -/* 65 */ -EXTERN void TkpMakeMenuWindow (Tk_Window tkwin, int transient); -#endif -#ifndef TkpMakeWindow_TCL_DECLARED -#define TkpMakeWindow_TCL_DECLARED -/* 66 */ -EXTERN Window TkpMakeWindow (TkWindow * winPtr, Window parent); -#endif -#ifndef TkpMenuNotifyToplevelCreate_TCL_DECLARED -#define TkpMenuNotifyToplevelCreate_TCL_DECLARED -/* 67 */ -EXTERN void TkpMenuNotifyToplevelCreate (Tcl_Interp * interp1, - char * menuName); -#endif -#ifndef TkpOpenDisplay_TCL_DECLARED -#define TkpOpenDisplay_TCL_DECLARED -/* 68 */ -EXTERN TkDisplay * TkpOpenDisplay (CONST char * display_name); -#endif -#ifndef TkPointerEvent_TCL_DECLARED -#define TkPointerEvent_TCL_DECLARED -/* 69 */ -EXTERN int TkPointerEvent (XEvent * eventPtr, TkWindow * winPtr); -#endif -#ifndef TkPolygonToArea_TCL_DECLARED -#define TkPolygonToArea_TCL_DECLARED -/* 70 */ -EXTERN int TkPolygonToArea (double * polyPtr, int numPoints, - double * rectPtr); -#endif -#ifndef TkPolygonToPoint_TCL_DECLARED -#define TkPolygonToPoint_TCL_DECLARED -/* 71 */ -EXTERN double TkPolygonToPoint (double * polyPtr, int numPoints, - double * pointPtr); -#endif -#ifndef TkPositionInTree_TCL_DECLARED -#define TkPositionInTree_TCL_DECLARED -/* 72 */ -EXTERN int TkPositionInTree (TkWindow * winPtr, - TkWindow * treePtr); -#endif -#ifndef TkpRedirectKeyEvent_TCL_DECLARED -#define TkpRedirectKeyEvent_TCL_DECLARED -/* 73 */ -EXTERN void TkpRedirectKeyEvent (TkWindow * winPtr, - XEvent * eventPtr); -#endif -#ifndef TkpSetMainMenubar_TCL_DECLARED -#define TkpSetMainMenubar_TCL_DECLARED -/* 74 */ -EXTERN void TkpSetMainMenubar (Tcl_Interp * interp, - Tk_Window tkwin, char * menuName); -#endif -#ifndef TkpUseWindow_TCL_DECLARED -#define TkpUseWindow_TCL_DECLARED -/* 75 */ -EXTERN int TkpUseWindow (Tcl_Interp * interp, Tk_Window tkwin, - CONST char * string); -#endif -/* Slot 76 is reserved */ -#ifndef TkQueueEventForAllChildren_TCL_DECLARED -#define TkQueueEventForAllChildren_TCL_DECLARED -/* 77 */ -EXTERN void TkQueueEventForAllChildren (TkWindow * winPtr, - XEvent * eventPtr); -#endif -#ifndef TkReadBitmapFile_TCL_DECLARED -#define TkReadBitmapFile_TCL_DECLARED -/* 78 */ -EXTERN int TkReadBitmapFile (Display * display, Drawable d, - CONST char * filename, - unsigned int * width_return, - unsigned int * height_return, - Pixmap * bitmap_return, int * x_hot_return, - int * y_hot_return); -#endif -#ifndef TkScrollWindow_TCL_DECLARED -#define TkScrollWindow_TCL_DECLARED -/* 79 */ -EXTERN int TkScrollWindow (Tk_Window tkwin, GC gc, int x, int y, - int width, int height, int dx, int dy, - TkRegion damageRgn); -#endif -#ifndef TkSelDeadWindow_TCL_DECLARED -#define TkSelDeadWindow_TCL_DECLARED -/* 80 */ -EXTERN void TkSelDeadWindow (TkWindow * winPtr); -#endif -#ifndef TkSelEventProc_TCL_DECLARED -#define TkSelEventProc_TCL_DECLARED -/* 81 */ -EXTERN void TkSelEventProc (Tk_Window tkwin, XEvent * eventPtr); -#endif -#ifndef TkSelInit_TCL_DECLARED -#define TkSelInit_TCL_DECLARED -/* 82 */ -EXTERN void TkSelInit (Tk_Window tkwin); -#endif -#ifndef TkSelPropProc_TCL_DECLARED -#define TkSelPropProc_TCL_DECLARED -/* 83 */ -EXTERN void TkSelPropProc (XEvent * eventPtr); -#endif -/* Slot 84 is reserved */ -#ifndef TkSetWindowMenuBar_TCL_DECLARED -#define TkSetWindowMenuBar_TCL_DECLARED -/* 85 */ -EXTERN void TkSetWindowMenuBar (Tcl_Interp * interp, - Tk_Window tkwin, char * oldMenuName, - char * menuName); -#endif -#ifndef TkStringToKeysym_TCL_DECLARED -#define TkStringToKeysym_TCL_DECLARED -/* 86 */ -EXTERN KeySym TkStringToKeysym (char * name); -#endif -#ifndef TkThickPolyLineToArea_TCL_DECLARED -#define TkThickPolyLineToArea_TCL_DECLARED -/* 87 */ -EXTERN int TkThickPolyLineToArea (double * coordPtr, - int numPoints, double width, int capStyle, - int joinStyle, double * rectPtr); -#endif -#ifndef TkWmAddToColormapWindows_TCL_DECLARED -#define TkWmAddToColormapWindows_TCL_DECLARED -/* 88 */ -EXTERN void TkWmAddToColormapWindows (TkWindow * winPtr); -#endif -#ifndef TkWmDeadWindow_TCL_DECLARED -#define TkWmDeadWindow_TCL_DECLARED -/* 89 */ -EXTERN void TkWmDeadWindow (TkWindow * winPtr); -#endif -#ifndef TkWmFocusToplevel_TCL_DECLARED -#define TkWmFocusToplevel_TCL_DECLARED -/* 90 */ -EXTERN TkWindow * TkWmFocusToplevel (TkWindow * winPtr); -#endif -#ifndef TkWmMapWindow_TCL_DECLARED -#define TkWmMapWindow_TCL_DECLARED -/* 91 */ -EXTERN void TkWmMapWindow (TkWindow * winPtr); -#endif -#ifndef TkWmNewWindow_TCL_DECLARED -#define TkWmNewWindow_TCL_DECLARED -/* 92 */ -EXTERN void TkWmNewWindow (TkWindow * winPtr); -#endif -#ifndef TkWmProtocolEventProc_TCL_DECLARED -#define TkWmProtocolEventProc_TCL_DECLARED -/* 93 */ -EXTERN void TkWmProtocolEventProc (TkWindow * winPtr, - XEvent * evenvPtr); -#endif -#ifndef TkWmRemoveFromColormapWindows_TCL_DECLARED -#define TkWmRemoveFromColormapWindows_TCL_DECLARED -/* 94 */ -EXTERN void TkWmRemoveFromColormapWindows (TkWindow * winPtr); -#endif -#ifndef TkWmRestackToplevel_TCL_DECLARED -#define TkWmRestackToplevel_TCL_DECLARED -/* 95 */ -EXTERN void TkWmRestackToplevel (TkWindow * winPtr, - int aboveBelow, TkWindow * otherPtr); -#endif -#ifndef TkWmSetClass_TCL_DECLARED -#define TkWmSetClass_TCL_DECLARED -/* 96 */ -EXTERN void TkWmSetClass (TkWindow * winPtr); -#endif -#ifndef TkWmUnmapWindow_TCL_DECLARED -#define TkWmUnmapWindow_TCL_DECLARED -/* 97 */ -EXTERN void TkWmUnmapWindow (TkWindow * winPtr); -#endif -#ifndef TkDebugBitmap_TCL_DECLARED -#define TkDebugBitmap_TCL_DECLARED -/* 98 */ -EXTERN Tcl_Obj * TkDebugBitmap (Tk_Window tkwin, char * name); -#endif -#ifndef TkDebugBorder_TCL_DECLARED -#define TkDebugBorder_TCL_DECLARED -/* 99 */ -EXTERN Tcl_Obj * TkDebugBorder (Tk_Window tkwin, char * name); -#endif -#ifndef TkDebugCursor_TCL_DECLARED -#define TkDebugCursor_TCL_DECLARED -/* 100 */ -EXTERN Tcl_Obj * TkDebugCursor (Tk_Window tkwin, char * name); -#endif -#ifndef TkDebugColor_TCL_DECLARED -#define TkDebugColor_TCL_DECLARED -/* 101 */ -EXTERN Tcl_Obj * TkDebugColor (Tk_Window tkwin, char * name); -#endif -#ifndef TkDebugConfig_TCL_DECLARED -#define TkDebugConfig_TCL_DECLARED -/* 102 */ -EXTERN Tcl_Obj * TkDebugConfig (Tcl_Interp * interp, - Tk_OptionTable table); -#endif -#ifndef TkDebugFont_TCL_DECLARED -#define TkDebugFont_TCL_DECLARED -/* 103 */ -EXTERN Tcl_Obj * TkDebugFont (Tk_Window tkwin, char * name); -#endif -#ifndef TkFindStateNumObj_TCL_DECLARED -#define TkFindStateNumObj_TCL_DECLARED -/* 104 */ -EXTERN int TkFindStateNumObj (Tcl_Interp * interp, - Tcl_Obj * optionPtr, - CONST TkStateMap * mapPtr, Tcl_Obj * keyPtr); -#endif -#ifndef TkGetBitmapPredefTable_TCL_DECLARED -#define TkGetBitmapPredefTable_TCL_DECLARED -/* 105 */ -EXTERN Tcl_HashTable * TkGetBitmapPredefTable (void); -#endif -#ifndef TkGetDisplayList_TCL_DECLARED -#define TkGetDisplayList_TCL_DECLARED -/* 106 */ -EXTERN TkDisplay * TkGetDisplayList (void); -#endif -#ifndef TkGetMainInfoList_TCL_DECLARED -#define TkGetMainInfoList_TCL_DECLARED -/* 107 */ -EXTERN TkMainInfo * TkGetMainInfoList (void); -#endif -#ifndef TkGetWindowFromObj_TCL_DECLARED -#define TkGetWindowFromObj_TCL_DECLARED -/* 108 */ -EXTERN int TkGetWindowFromObj (Tcl_Interp * interp, - Tk_Window tkwin, Tcl_Obj * objPtr, - Tk_Window * windowPtr); -#endif -#ifndef TkpGetString_TCL_DECLARED -#define TkpGetString_TCL_DECLARED -/* 109 */ -EXTERN char * TkpGetString (TkWindow * winPtr, XEvent * eventPtr, - Tcl_DString * dsPtr); -#endif -#ifndef TkpGetSubFonts_TCL_DECLARED -#define TkpGetSubFonts_TCL_DECLARED -/* 110 */ -EXTERN void TkpGetSubFonts (Tcl_Interp * interp, Tk_Font tkfont); -#endif -#ifndef TkpGetSystemDefault_TCL_DECLARED -#define TkpGetSystemDefault_TCL_DECLARED -/* 111 */ -EXTERN Tcl_Obj * TkpGetSystemDefault (Tk_Window tkwin, - CONST char * dbName, CONST char * className); -#endif -#ifndef TkpMenuThreadInit_TCL_DECLARED -#define TkpMenuThreadInit_TCL_DECLARED -/* 112 */ -EXTERN void TkpMenuThreadInit (void); -#endif -#ifdef __WIN32__ /* WIN */ -#ifndef TkClipBox_TCL_DECLARED -#define TkClipBox_TCL_DECLARED -/* 113 */ -EXTERN void TkClipBox (TkRegion rgn, XRectangle * rect_return); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkClipBox_TCL_DECLARED -#define TkClipBox_TCL_DECLARED -/* 113 */ -EXTERN void TkClipBox (TkRegion rgn, XRectangle * rect_return); -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkCreateRegion_TCL_DECLARED -#define TkCreateRegion_TCL_DECLARED -/* 114 */ -EXTERN TkRegion TkCreateRegion (void); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkCreateRegion_TCL_DECLARED -#define TkCreateRegion_TCL_DECLARED -/* 114 */ -EXTERN TkRegion TkCreateRegion (void); -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkDestroyRegion_TCL_DECLARED -#define TkDestroyRegion_TCL_DECLARED -/* 115 */ -EXTERN void TkDestroyRegion (TkRegion rgn); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkDestroyRegion_TCL_DECLARED -#define TkDestroyRegion_TCL_DECLARED -/* 115 */ -EXTERN void TkDestroyRegion (TkRegion rgn); -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkIntersectRegion_TCL_DECLARED -#define TkIntersectRegion_TCL_DECLARED -/* 116 */ -EXTERN void TkIntersectRegion (TkRegion sra, TkRegion srcb, - TkRegion dr_return); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkIntersectRegion_TCL_DECLARED -#define TkIntersectRegion_TCL_DECLARED -/* 116 */ -EXTERN void TkIntersectRegion (TkRegion sra, TkRegion srcb, - TkRegion dr_return); -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkRectInRegion_TCL_DECLARED -#define TkRectInRegion_TCL_DECLARED -/* 117 */ -EXTERN int TkRectInRegion (TkRegion rgn, int x, int y, - unsigned int width, unsigned int height); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkRectInRegion_TCL_DECLARED -#define TkRectInRegion_TCL_DECLARED -/* 117 */ -EXTERN int TkRectInRegion (TkRegion rgn, int x, int y, - unsigned int width, unsigned int height); -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkSetRegion_TCL_DECLARED -#define TkSetRegion_TCL_DECLARED -/* 118 */ -EXTERN void TkSetRegion (Display * display, GC gc, TkRegion rgn); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkSetRegion_TCL_DECLARED -#define TkSetRegion_TCL_DECLARED -/* 118 */ -EXTERN void TkSetRegion (Display * display, GC gc, TkRegion rgn); -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkUnionRectWithRegion_TCL_DECLARED -#define TkUnionRectWithRegion_TCL_DECLARED -/* 119 */ -EXTERN void TkUnionRectWithRegion (XRectangle * rect, - TkRegion src, TkRegion dr_return); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkUnionRectWithRegion_TCL_DECLARED -#define TkUnionRectWithRegion_TCL_DECLARED -/* 119 */ -EXTERN void TkUnionRectWithRegion (XRectangle * rect, - TkRegion src, TkRegion dr_return); -#endif -#endif /* AQUA */ -/* Slot 120 is reserved */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkpCreateNativeBitmap_TCL_DECLARED -#define TkpCreateNativeBitmap_TCL_DECLARED -/* 121 */ -EXTERN Pixmap TkpCreateNativeBitmap (Display * display, - CONST char * source); -#endif -#endif /* AQUA */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkpDefineNativeBitmaps_TCL_DECLARED -#define TkpDefineNativeBitmaps_TCL_DECLARED -/* 122 */ -EXTERN void TkpDefineNativeBitmaps (void); -#endif -#endif /* AQUA */ -/* Slot 123 is reserved */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkpGetNativeAppBitmap_TCL_DECLARED -#define TkpGetNativeAppBitmap_TCL_DECLARED -/* 124 */ -EXTERN Pixmap TkpGetNativeAppBitmap (Display * display, - CONST char * name, int * width, int * height); -#endif -#endif /* AQUA */ -/* Slot 125 is reserved */ -/* Slot 126 is reserved */ -/* Slot 127 is reserved */ -/* Slot 128 is reserved */ -/* Slot 129 is reserved */ -/* Slot 130 is reserved */ -/* Slot 131 is reserved */ -/* Slot 132 is reserved */ -/* Slot 133 is reserved */ -/* Slot 134 is reserved */ -#ifndef TkpDrawHighlightBorder_TCL_DECLARED -#define TkpDrawHighlightBorder_TCL_DECLARED -/* 135 */ -EXTERN void TkpDrawHighlightBorder (Tk_Window tkwin, GC fgGC, - GC bgGC, int highlightWidth, - Drawable drawable); -#endif -#ifndef TkSetFocusWin_TCL_DECLARED -#define TkSetFocusWin_TCL_DECLARED -/* 136 */ -EXTERN void TkSetFocusWin (TkWindow * winPtr, int force); -#endif -#ifndef TkpSetKeycodeAndState_TCL_DECLARED -#define TkpSetKeycodeAndState_TCL_DECLARED -/* 137 */ -EXTERN void TkpSetKeycodeAndState (Tk_Window tkwin, - KeySym keySym, XEvent * eventPtr); -#endif -#ifndef TkpGetKeySym_TCL_DECLARED -#define TkpGetKeySym_TCL_DECLARED -/* 138 */ -EXTERN KeySym TkpGetKeySym (TkDisplay * dispPtr, XEvent * eventPtr); -#endif -#ifndef TkpInitKeymapInfo_TCL_DECLARED -#define TkpInitKeymapInfo_TCL_DECLARED -/* 139 */ -EXTERN void TkpInitKeymapInfo (TkDisplay * dispPtr); -#endif -#ifndef TkPhotoGetValidRegion_TCL_DECLARED -#define TkPhotoGetValidRegion_TCL_DECLARED -/* 140 */ -EXTERN TkRegion TkPhotoGetValidRegion (Tk_PhotoHandle handle); -#endif -#ifndef TkWmStackorderToplevel_TCL_DECLARED -#define TkWmStackorderToplevel_TCL_DECLARED -/* 141 */ -EXTERN TkWindow ** TkWmStackorderToplevel (TkWindow * parentPtr); -#endif -#ifndef TkFocusFree_TCL_DECLARED -#define TkFocusFree_TCL_DECLARED -/* 142 */ -EXTERN void TkFocusFree (TkMainInfo * mainPtr); -#endif -#ifndef TkClipCleanup_TCL_DECLARED -#define TkClipCleanup_TCL_DECLARED -/* 143 */ -EXTERN void TkClipCleanup (TkDisplay * dispPtr); -#endif -#ifndef TkGCCleanup_TCL_DECLARED -#define TkGCCleanup_TCL_DECLARED -/* 144 */ -EXTERN void TkGCCleanup (TkDisplay * dispPtr); -#endif -#ifdef __WIN32__ /* WIN */ -#ifndef TkSubtractRegion_TCL_DECLARED -#define TkSubtractRegion_TCL_DECLARED -/* 145 */ -EXTERN void TkSubtractRegion (TkRegion sra, TkRegion srcb, - TkRegion dr_return); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkSubtractRegion_TCL_DECLARED -#define TkSubtractRegion_TCL_DECLARED -/* 145 */ -EXTERN void TkSubtractRegion (TkRegion sra, TkRegion srcb, - TkRegion dr_return); -#endif -#endif /* AQUA */ -#ifndef TkStylePkgInit_TCL_DECLARED -#define TkStylePkgInit_TCL_DECLARED -/* 146 */ -EXTERN void TkStylePkgInit (TkMainInfo * mainPtr); -#endif -#ifndef TkStylePkgFree_TCL_DECLARED -#define TkStylePkgFree_TCL_DECLARED -/* 147 */ -EXTERN void TkStylePkgFree (TkMainInfo * mainPtr); -#endif -#ifndef TkToplevelWindowForCommand_TCL_DECLARED -#define TkToplevelWindowForCommand_TCL_DECLARED -/* 148 */ -EXTERN Tk_Window TkToplevelWindowForCommand (Tcl_Interp * interp, - CONST char * cmdName); -#endif -#ifndef TkGetOptionSpec_TCL_DECLARED -#define TkGetOptionSpec_TCL_DECLARED -/* 149 */ -EXTERN CONST Tk_OptionSpec * TkGetOptionSpec (CONST char * name, - Tk_OptionTable optionTable); -#endif -#ifndef TkMakeRawCurve_TCL_DECLARED -#define TkMakeRawCurve_TCL_DECLARED -/* 150 */ -EXTERN int TkMakeRawCurve (Tk_Canvas canvas, double * pointPtr, - int numPoints, int numSteps, - XPoint xPoints[], double dblPoints[]); -#endif -#ifndef TkMakeRawCurvePostscript_TCL_DECLARED -#define TkMakeRawCurvePostscript_TCL_DECLARED -/* 151 */ -EXTERN void TkMakeRawCurvePostscript (Tcl_Interp * interp, - Tk_Canvas canvas, double * pointPtr, - int numPoints); -#endif -#ifndef TkpDrawFrame_TCL_DECLARED -#define TkpDrawFrame_TCL_DECLARED -/* 152 */ -EXTERN void TkpDrawFrame (Tk_Window tkwin, Tk_3DBorder border, - int highlightWidth, int borderWidth, - int relief); -#endif -#ifndef TkCreateThreadExitHandler_TCL_DECLARED -#define TkCreateThreadExitHandler_TCL_DECLARED -/* 153 */ -EXTERN void TkCreateThreadExitHandler (Tcl_ExitProc * proc, - ClientData clientData); -#endif -#ifndef TkDeleteThreadExitHandler_TCL_DECLARED -#define TkDeleteThreadExitHandler_TCL_DECLARED -/* 154 */ -EXTERN void TkDeleteThreadExitHandler (Tcl_ExitProc * proc, - ClientData clientData); -#endif -/* Slot 155 is reserved */ -#ifndef TkpTestembedCmd_TCL_DECLARED -#define TkpTestembedCmd_TCL_DECLARED -/* 156 */ -EXTERN int TkpTestembedCmd (ClientData clientData, - Tcl_Interp * interp, int argc, - CONST char ** argv); -#endif -#ifndef TkpTesttextCmd_TCL_DECLARED -#define TkpTesttextCmd_TCL_DECLARED -/* 157 */ -EXTERN int TkpTesttextCmd (ClientData dummy, - Tcl_Interp * interp, int argc, - CONST char ** argv); -#endif - -typedef struct TkIntStubs { - int magic; - CONST struct TkIntStubHooks *hooks; - - TkWindow * (*tkAllocWindow) (TkDisplay * dispPtr, int screenNum, TkWindow * parentPtr); /* 0 */ - void (*tkBezierPoints) (double control[], int numSteps, double * coordPtr); /* 1 */ - void (*tkBezierScreenPoints) (Tk_Canvas canvas, double control[], int numSteps, XPoint * xPointPtr); /* 2 */ - void (*tkBindDeadWindow) (TkWindow * winPtr); /* 3 */ - void (*tkBindEventProc) (TkWindow * winPtr, XEvent * eventPtr); /* 4 */ - void (*tkBindFree) (TkMainInfo * mainPtr); /* 5 */ - void (*tkBindInit) (TkMainInfo * mainPtr); /* 6 */ - void (*tkChangeEventWindow) (XEvent * eventPtr, TkWindow * winPtr); /* 7 */ - int (*tkClipInit) (Tcl_Interp * interp, TkDisplay * dispPtr); /* 8 */ - void (*tkComputeAnchor) (Tk_Anchor anchor, Tk_Window tkwin, int padX, int padY, int innerWidth, int innerHeight, int * xPtr, int * yPtr); /* 9 */ - int (*tkCopyAndGlobalEval) (Tcl_Interp * interp, char * script); /* 10 */ - unsigned long (*tkCreateBindingProcedure) (Tcl_Interp * interp, Tk_BindingTable bindingTable, ClientData object, CONST char * eventString, TkBindEvalProc * evalProc, TkBindFreeProc * freeProc, ClientData clientData); /* 11 */ - TkCursor * (*tkCreateCursorFromData) (Tk_Window tkwin, CONST char * source, CONST char * mask, int width, int height, int xHot, int yHot, XColor fg, XColor bg); /* 12 */ - int (*tkCreateFrame) (ClientData clientData, Tcl_Interp * interp, int argc, char ** argv, int toplevel, char * appName); /* 13 */ - Tk_Window (*tkCreateMainWindow) (Tcl_Interp * interp, CONST char * screenName, char * baseName); /* 14 */ - Time (*tkCurrentTime) (TkDisplay * dispPtr); /* 15 */ - void (*tkDeleteAllImages) (TkMainInfo * mainPtr); /* 16 */ - void (*tkDoConfigureNotify) (TkWindow * winPtr); /* 17 */ - void (*tkDrawInsetFocusHighlight) (Tk_Window tkwin, GC gc, int width, Drawable drawable, int padding); /* 18 */ - void (*tkEventDeadWindow) (TkWindow * winPtr); /* 19 */ - void (*tkFillPolygon) (Tk_Canvas canvas, double * coordPtr, int numPoints, Display * display, Drawable drawable, GC gc, GC outlineGC); /* 20 */ - int (*tkFindStateNum) (Tcl_Interp * interp, CONST char * option, CONST TkStateMap * mapPtr, CONST char * strKey); /* 21 */ - char * (*tkFindStateString) (CONST TkStateMap * mapPtr, int numKey); /* 22 */ - void (*tkFocusDeadWindow) (TkWindow * winPtr); /* 23 */ - int (*tkFocusFilterEvent) (TkWindow * winPtr, XEvent * eventPtr); /* 24 */ - TkWindow * (*tkFocusKeyEvent) (TkWindow * winPtr, XEvent * eventPtr); /* 25 */ - void (*tkFontPkgInit) (TkMainInfo * mainPtr); /* 26 */ - void (*tkFontPkgFree) (TkMainInfo * mainPtr); /* 27 */ - void (*tkFreeBindingTags) (TkWindow * winPtr); /* 28 */ - void (*tkpFreeCursor) (TkCursor * cursorPtr); /* 29 */ - char * (*tkGetBitmapData) (Tcl_Interp * interp, char * string, char * fileName, int * widthPtr, int * heightPtr, int * hotXPtr, int * hotYPtr); /* 30 */ - void (*tkGetButtPoints) (double p1[], double p2[], double width, int project, double m1[], double m2[]); /* 31 */ - TkCursor * (*tkGetCursorByName) (Tcl_Interp * interp, Tk_Window tkwin, Tk_Uid string); /* 32 */ - CONST84_RETURN char * (*tkGetDefaultScreenName) (Tcl_Interp * interp, CONST char * screenName); /* 33 */ - TkDisplay * (*tkGetDisplay) (Display * display); /* 34 */ - int (*tkGetDisplayOf) (Tcl_Interp * interp, int objc, Tcl_Obj *CONST objv[], Tk_Window * tkwinPtr); /* 35 */ - TkWindow * (*tkGetFocusWin) (TkWindow * winPtr); /* 36 */ - int (*tkGetInterpNames) (Tcl_Interp * interp, Tk_Window tkwin); /* 37 */ - int (*tkGetMiterPoints) (double p1[], double p2[], double p3[], double width, double m1[], double m2[]); /* 38 */ - void (*tkGetPointerCoords) (Tk_Window tkwin, int * xPtr, int * yPtr); /* 39 */ - void (*tkGetServerInfo) (Tcl_Interp * interp, Tk_Window tkwin); /* 40 */ - void (*tkGrabDeadWindow) (TkWindow * winPtr); /* 41 */ - int (*tkGrabState) (TkWindow * winPtr); /* 42 */ - void (*tkIncludePoint) (Tk_Item * itemPtr, double * pointPtr); /* 43 */ - void (*tkInOutEvents) (XEvent * eventPtr, TkWindow * sourcePtr, TkWindow * destPtr, int leaveType, int enterType, Tcl_QueuePosition position); /* 44 */ - void (*tkInstallFrameMenu) (Tk_Window tkwin); /* 45 */ - char * (*tkKeysymToString) (KeySym keysym); /* 46 */ - int (*tkLineToArea) (double end1Ptr[], double end2Ptr[], double rectPtr[]); /* 47 */ - double (*tkLineToPoint) (double end1Ptr[], double end2Ptr[], double pointPtr[]); /* 48 */ - int (*tkMakeBezierCurve) (Tk_Canvas canvas, double * pointPtr, int numPoints, int numSteps, XPoint xPoints[], double dblPoints[]); /* 49 */ - void (*tkMakeBezierPostscript) (Tcl_Interp * interp, Tk_Canvas canvas, double * pointPtr, int numPoints); /* 50 */ - void (*tkOptionClassChanged) (TkWindow * winPtr); /* 51 */ - void (*tkOptionDeadWindow) (TkWindow * winPtr); /* 52 */ - int (*tkOvalToArea) (double * ovalPtr, double * rectPtr); /* 53 */ - double (*tkOvalToPoint) (double ovalPtr[], double width, int filled, double pointPtr[]); /* 54 */ - int (*tkpChangeFocus) (TkWindow * winPtr, int force); /* 55 */ - void (*tkpCloseDisplay) (TkDisplay * dispPtr); /* 56 */ - void (*tkpClaimFocus) (TkWindow * topLevelPtr, int force); /* 57 */ - void (*tkpDisplayWarning) (CONST char * msg, CONST char * title); /* 58 */ - void (*tkpGetAppName) (Tcl_Interp * interp, Tcl_DString * name); /* 59 */ - TkWindow * (*tkpGetOtherWindow) (TkWindow * winPtr); /* 60 */ - TkWindow * (*tkpGetWrapperWindow) (TkWindow * winPtr); /* 61 */ - int (*tkpInit) (Tcl_Interp * interp); /* 62 */ - void (*tkpInitializeMenuBindings) (Tcl_Interp * interp, Tk_BindingTable bindingTable); /* 63 */ - void (*tkpMakeContainer) (Tk_Window tkwin); /* 64 */ - void (*tkpMakeMenuWindow) (Tk_Window tkwin, int transient); /* 65 */ - Window (*tkpMakeWindow) (TkWindow * winPtr, Window parent); /* 66 */ - void (*tkpMenuNotifyToplevelCreate) (Tcl_Interp * interp1, char * menuName); /* 67 */ - TkDisplay * (*tkpOpenDisplay) (CONST char * display_name); /* 68 */ - int (*tkPointerEvent) (XEvent * eventPtr, TkWindow * winPtr); /* 69 */ - int (*tkPolygonToArea) (double * polyPtr, int numPoints, double * rectPtr); /* 70 */ - double (*tkPolygonToPoint) (double * polyPtr, int numPoints, double * pointPtr); /* 71 */ - int (*tkPositionInTree) (TkWindow * winPtr, TkWindow * treePtr); /* 72 */ - void (*tkpRedirectKeyEvent) (TkWindow * winPtr, XEvent * eventPtr); /* 73 */ - void (*tkpSetMainMenubar) (Tcl_Interp * interp, Tk_Window tkwin, char * menuName); /* 74 */ - int (*tkpUseWindow) (Tcl_Interp * interp, Tk_Window tkwin, CONST char * string); /* 75 */ - void *reserved76; - void (*tkQueueEventForAllChildren) (TkWindow * winPtr, XEvent * eventPtr); /* 77 */ - int (*tkReadBitmapFile) (Display * display, Drawable d, CONST char * filename, unsigned int * width_return, unsigned int * height_return, Pixmap * bitmap_return, int * x_hot_return, int * y_hot_return); /* 78 */ - int (*tkScrollWindow) (Tk_Window tkwin, GC gc, int x, int y, int width, int height, int dx, int dy, TkRegion damageRgn); /* 79 */ - void (*tkSelDeadWindow) (TkWindow * winPtr); /* 80 */ - void (*tkSelEventProc) (Tk_Window tkwin, XEvent * eventPtr); /* 81 */ - void (*tkSelInit) (Tk_Window tkwin); /* 82 */ - void (*tkSelPropProc) (XEvent * eventPtr); /* 83 */ - void *reserved84; - void (*tkSetWindowMenuBar) (Tcl_Interp * interp, Tk_Window tkwin, char * oldMenuName, char * menuName); /* 85 */ - KeySym (*tkStringToKeysym) (char * name); /* 86 */ - int (*tkThickPolyLineToArea) (double * coordPtr, int numPoints, double width, int capStyle, int joinStyle, double * rectPtr); /* 87 */ - void (*tkWmAddToColormapWindows) (TkWindow * winPtr); /* 88 */ - void (*tkWmDeadWindow) (TkWindow * winPtr); /* 89 */ - TkWindow * (*tkWmFocusToplevel) (TkWindow * winPtr); /* 90 */ - void (*tkWmMapWindow) (TkWindow * winPtr); /* 91 */ - void (*tkWmNewWindow) (TkWindow * winPtr); /* 92 */ - void (*tkWmProtocolEventProc) (TkWindow * winPtr, XEvent * evenvPtr); /* 93 */ - void (*tkWmRemoveFromColormapWindows) (TkWindow * winPtr); /* 94 */ - void (*tkWmRestackToplevel) (TkWindow * winPtr, int aboveBelow, TkWindow * otherPtr); /* 95 */ - void (*tkWmSetClass) (TkWindow * winPtr); /* 96 */ - void (*tkWmUnmapWindow) (TkWindow * winPtr); /* 97 */ - Tcl_Obj * (*tkDebugBitmap) (Tk_Window tkwin, char * name); /* 98 */ - Tcl_Obj * (*tkDebugBorder) (Tk_Window tkwin, char * name); /* 99 */ - Tcl_Obj * (*tkDebugCursor) (Tk_Window tkwin, char * name); /* 100 */ - Tcl_Obj * (*tkDebugColor) (Tk_Window tkwin, char * name); /* 101 */ - Tcl_Obj * (*tkDebugConfig) (Tcl_Interp * interp, Tk_OptionTable table); /* 102 */ - Tcl_Obj * (*tkDebugFont) (Tk_Window tkwin, char * name); /* 103 */ - int (*tkFindStateNumObj) (Tcl_Interp * interp, Tcl_Obj * optionPtr, CONST TkStateMap * mapPtr, Tcl_Obj * keyPtr); /* 104 */ - Tcl_HashTable * (*tkGetBitmapPredefTable) (void); /* 105 */ - TkDisplay * (*tkGetDisplayList) (void); /* 106 */ - TkMainInfo * (*tkGetMainInfoList) (void); /* 107 */ - int (*tkGetWindowFromObj) (Tcl_Interp * interp, Tk_Window tkwin, Tcl_Obj * objPtr, Tk_Window * windowPtr); /* 108 */ - char * (*tkpGetString) (TkWindow * winPtr, XEvent * eventPtr, Tcl_DString * dsPtr); /* 109 */ - void (*tkpGetSubFonts) (Tcl_Interp * interp, Tk_Font tkfont); /* 110 */ - Tcl_Obj * (*tkpGetSystemDefault) (Tk_Window tkwin, CONST char * dbName, CONST char * className); /* 111 */ - void (*tkpMenuThreadInit) (void); /* 112 */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void *reserved113; -#endif /* X11 */ -#ifdef __WIN32__ /* WIN */ - void (*tkClipBox) (TkRegion rgn, XRectangle * rect_return); /* 113 */ -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void *reserved113; /* Dummy entry for stubs table backwards compatibility */ - void (*tkClipBox) (TkRegion rgn, XRectangle * rect_return); /* 113 */ -#endif /* AQUA */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void *reserved114; -#endif /* X11 */ -#ifdef __WIN32__ /* WIN */ - TkRegion (*tkCreateRegion) (void); /* 114 */ -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void *reserved114; /* Dummy entry for stubs table backwards compatibility */ - TkRegion (*tkCreateRegion) (void); /* 114 */ -#endif /* AQUA */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void *reserved115; -#endif /* X11 */ -#ifdef __WIN32__ /* WIN */ - void (*tkDestroyRegion) (TkRegion rgn); /* 115 */ -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void *reserved115; /* Dummy entry for stubs table backwards compatibility */ - void (*tkDestroyRegion) (TkRegion rgn); /* 115 */ -#endif /* AQUA */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void *reserved116; -#endif /* X11 */ -#ifdef __WIN32__ /* WIN */ - void (*tkIntersectRegion) (TkRegion sra, TkRegion srcb, TkRegion dr_return); /* 116 */ -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void *reserved116; /* Dummy entry for stubs table backwards compatibility */ - void (*tkIntersectRegion) (TkRegion sra, TkRegion srcb, TkRegion dr_return); /* 116 */ -#endif /* AQUA */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void *reserved117; -#endif /* X11 */ -#ifdef __WIN32__ /* WIN */ - int (*tkRectInRegion) (TkRegion rgn, int x, int y, unsigned int width, unsigned int height); /* 117 */ -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void *reserved117; /* Dummy entry for stubs table backwards compatibility */ - int (*tkRectInRegion) (TkRegion rgn, int x, int y, unsigned int width, unsigned int height); /* 117 */ -#endif /* AQUA */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void *reserved118; -#endif /* X11 */ -#ifdef __WIN32__ /* WIN */ - void (*tkSetRegion) (Display * display, GC gc, TkRegion rgn); /* 118 */ -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void *reserved118; /* Dummy entry for stubs table backwards compatibility */ - void (*tkSetRegion) (Display * display, GC gc, TkRegion rgn); /* 118 */ -#endif /* AQUA */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void *reserved119; -#endif /* X11 */ -#ifdef __WIN32__ /* WIN */ - void (*tkUnionRectWithRegion) (XRectangle * rect, TkRegion src, TkRegion dr_return); /* 119 */ -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void *reserved119; /* Dummy entry for stubs table backwards compatibility */ - void (*tkUnionRectWithRegion) (XRectangle * rect, TkRegion src, TkRegion dr_return); /* 119 */ -#endif /* AQUA */ - void *reserved120; -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void *reserved121; -#endif /* X11 */ -#ifdef __WIN32__ /* WIN */ - void *reserved121; -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void *reserved121; /* Dummy entry for stubs table backwards compatibility */ - Pixmap (*tkpCreateNativeBitmap) (Display * display, CONST char * source); /* 121 */ -#endif /* AQUA */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void *reserved122; -#endif /* X11 */ -#ifdef __WIN32__ /* WIN */ - void *reserved122; -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void *reserved122; /* Dummy entry for stubs table backwards compatibility */ - void (*tkpDefineNativeBitmaps) (void); /* 122 */ -#endif /* AQUA */ - void *reserved123; -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void *reserved124; -#endif /* X11 */ -#ifdef __WIN32__ /* WIN */ - void *reserved124; -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void *reserved124; /* Dummy entry for stubs table backwards compatibility */ - Pixmap (*tkpGetNativeAppBitmap) (Display * display, CONST char * name, int * width, int * height); /* 124 */ -#endif /* AQUA */ - void *reserved125; - void *reserved126; - void *reserved127; - void *reserved128; - void *reserved129; - void *reserved130; - void *reserved131; - void *reserved132; - void *reserved133; - void *reserved134; - void (*tkpDrawHighlightBorder) (Tk_Window tkwin, GC fgGC, GC bgGC, int highlightWidth, Drawable drawable); /* 135 */ - void (*tkSetFocusWin) (TkWindow * winPtr, int force); /* 136 */ - void (*tkpSetKeycodeAndState) (Tk_Window tkwin, KeySym keySym, XEvent * eventPtr); /* 137 */ - KeySym (*tkpGetKeySym) (TkDisplay * dispPtr, XEvent * eventPtr); /* 138 */ - void (*tkpInitKeymapInfo) (TkDisplay * dispPtr); /* 139 */ - TkRegion (*tkPhotoGetValidRegion) (Tk_PhotoHandle handle); /* 140 */ - TkWindow ** (*tkWmStackorderToplevel) (TkWindow * parentPtr); /* 141 */ - void (*tkFocusFree) (TkMainInfo * mainPtr); /* 142 */ - void (*tkClipCleanup) (TkDisplay * dispPtr); /* 143 */ - void (*tkGCCleanup) (TkDisplay * dispPtr); /* 144 */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void *reserved145; -#endif /* X11 */ -#ifdef __WIN32__ /* WIN */ - void (*tkSubtractRegion) (TkRegion sra, TkRegion srcb, TkRegion dr_return); /* 145 */ -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void *reserved145; /* Dummy entry for stubs table backwards compatibility */ - void (*tkSubtractRegion) (TkRegion sra, TkRegion srcb, TkRegion dr_return); /* 145 */ -#endif /* AQUA */ - void (*tkStylePkgInit) (TkMainInfo * mainPtr); /* 146 */ - void (*tkStylePkgFree) (TkMainInfo * mainPtr); /* 147 */ - Tk_Window (*tkToplevelWindowForCommand) (Tcl_Interp * interp, CONST char * cmdName); /* 148 */ - CONST Tk_OptionSpec * (*tkGetOptionSpec) (CONST char * name, Tk_OptionTable optionTable); /* 149 */ - int (*tkMakeRawCurve) (Tk_Canvas canvas, double * pointPtr, int numPoints, int numSteps, XPoint xPoints[], double dblPoints[]); /* 150 */ - void (*tkMakeRawCurvePostscript) (Tcl_Interp * interp, Tk_Canvas canvas, double * pointPtr, int numPoints); /* 151 */ - void (*tkpDrawFrame) (Tk_Window tkwin, Tk_3DBorder border, int highlightWidth, int borderWidth, int relief); /* 152 */ - void (*tkCreateThreadExitHandler) (Tcl_ExitProc * proc, ClientData clientData); /* 153 */ - void (*tkDeleteThreadExitHandler) (Tcl_ExitProc * proc, ClientData clientData); /* 154 */ - void *reserved155; - int (*tkpTestembedCmd) (ClientData clientData, Tcl_Interp * interp, int argc, CONST char ** argv); /* 156 */ - int (*tkpTesttextCmd) (ClientData dummy, Tcl_Interp * interp, int argc, CONST char ** argv); /* 157 */ -} TkIntStubs; - -#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) -extern CONST TkIntStubs *tkIntStubsPtr; -#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */ - -#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) - -/* - * Inline function declarations: - */ - -#ifndef TkAllocWindow -#define TkAllocWindow \ - (tkIntStubsPtr->tkAllocWindow) /* 0 */ -#endif -#ifndef TkBezierPoints -#define TkBezierPoints \ - (tkIntStubsPtr->tkBezierPoints) /* 1 */ -#endif -#ifndef TkBezierScreenPoints -#define TkBezierScreenPoints \ - (tkIntStubsPtr->tkBezierScreenPoints) /* 2 */ -#endif -#ifndef TkBindDeadWindow -#define TkBindDeadWindow \ - (tkIntStubsPtr->tkBindDeadWindow) /* 3 */ -#endif -#ifndef TkBindEventProc -#define TkBindEventProc \ - (tkIntStubsPtr->tkBindEventProc) /* 4 */ -#endif -#ifndef TkBindFree -#define TkBindFree \ - (tkIntStubsPtr->tkBindFree) /* 5 */ -#endif -#ifndef TkBindInit -#define TkBindInit \ - (tkIntStubsPtr->tkBindInit) /* 6 */ -#endif -#ifndef TkChangeEventWindow -#define TkChangeEventWindow \ - (tkIntStubsPtr->tkChangeEventWindow) /* 7 */ -#endif -#ifndef TkClipInit -#define TkClipInit \ - (tkIntStubsPtr->tkClipInit) /* 8 */ -#endif -#ifndef TkComputeAnchor -#define TkComputeAnchor \ - (tkIntStubsPtr->tkComputeAnchor) /* 9 */ -#endif -#ifndef TkCopyAndGlobalEval -#define TkCopyAndGlobalEval \ - (tkIntStubsPtr->tkCopyAndGlobalEval) /* 10 */ -#endif -#ifndef TkCreateBindingProcedure -#define TkCreateBindingProcedure \ - (tkIntStubsPtr->tkCreateBindingProcedure) /* 11 */ -#endif -#ifndef TkCreateCursorFromData -#define TkCreateCursorFromData \ - (tkIntStubsPtr->tkCreateCursorFromData) /* 12 */ -#endif -#ifndef TkCreateFrame -#define TkCreateFrame \ - (tkIntStubsPtr->tkCreateFrame) /* 13 */ -#endif -#ifndef TkCreateMainWindow -#define TkCreateMainWindow \ - (tkIntStubsPtr->tkCreateMainWindow) /* 14 */ -#endif -#ifndef TkCurrentTime -#define TkCurrentTime \ - (tkIntStubsPtr->tkCurrentTime) /* 15 */ -#endif -#ifndef TkDeleteAllImages -#define TkDeleteAllImages \ - (tkIntStubsPtr->tkDeleteAllImages) /* 16 */ -#endif -#ifndef TkDoConfigureNotify -#define TkDoConfigureNotify \ - (tkIntStubsPtr->tkDoConfigureNotify) /* 17 */ -#endif -#ifndef TkDrawInsetFocusHighlight -#define TkDrawInsetFocusHighlight \ - (tkIntStubsPtr->tkDrawInsetFocusHighlight) /* 18 */ -#endif -#ifndef TkEventDeadWindow -#define TkEventDeadWindow \ - (tkIntStubsPtr->tkEventDeadWindow) /* 19 */ -#endif -#ifndef TkFillPolygon -#define TkFillPolygon \ - (tkIntStubsPtr->tkFillPolygon) /* 20 */ -#endif -#ifndef TkFindStateNum -#define TkFindStateNum \ - (tkIntStubsPtr->tkFindStateNum) /* 21 */ -#endif -#ifndef TkFindStateString -#define TkFindStateString \ - (tkIntStubsPtr->tkFindStateString) /* 22 */ -#endif -#ifndef TkFocusDeadWindow -#define TkFocusDeadWindow \ - (tkIntStubsPtr->tkFocusDeadWindow) /* 23 */ -#endif -#ifndef TkFocusFilterEvent -#define TkFocusFilterEvent \ - (tkIntStubsPtr->tkFocusFilterEvent) /* 24 */ -#endif -#ifndef TkFocusKeyEvent -#define TkFocusKeyEvent \ - (tkIntStubsPtr->tkFocusKeyEvent) /* 25 */ -#endif -#ifndef TkFontPkgInit -#define TkFontPkgInit \ - (tkIntStubsPtr->tkFontPkgInit) /* 26 */ -#endif -#ifndef TkFontPkgFree -#define TkFontPkgFree \ - (tkIntStubsPtr->tkFontPkgFree) /* 27 */ -#endif -#ifndef TkFreeBindingTags -#define TkFreeBindingTags \ - (tkIntStubsPtr->tkFreeBindingTags) /* 28 */ -#endif -#ifndef TkpFreeCursor -#define TkpFreeCursor \ - (tkIntStubsPtr->tkpFreeCursor) /* 29 */ -#endif -#ifndef TkGetBitmapData -#define TkGetBitmapData \ - (tkIntStubsPtr->tkGetBitmapData) /* 30 */ -#endif -#ifndef TkGetButtPoints -#define TkGetButtPoints \ - (tkIntStubsPtr->tkGetButtPoints) /* 31 */ -#endif -#ifndef TkGetCursorByName -#define TkGetCursorByName \ - (tkIntStubsPtr->tkGetCursorByName) /* 32 */ -#endif -#ifndef TkGetDefaultScreenName -#define TkGetDefaultScreenName \ - (tkIntStubsPtr->tkGetDefaultScreenName) /* 33 */ -#endif -#ifndef TkGetDisplay -#define TkGetDisplay \ - (tkIntStubsPtr->tkGetDisplay) /* 34 */ -#endif -#ifndef TkGetDisplayOf -#define TkGetDisplayOf \ - (tkIntStubsPtr->tkGetDisplayOf) /* 35 */ -#endif -#ifndef TkGetFocusWin -#define TkGetFocusWin \ - (tkIntStubsPtr->tkGetFocusWin) /* 36 */ -#endif -#ifndef TkGetInterpNames -#define TkGetInterpNames \ - (tkIntStubsPtr->tkGetInterpNames) /* 37 */ -#endif -#ifndef TkGetMiterPoints -#define TkGetMiterPoints \ - (tkIntStubsPtr->tkGetMiterPoints) /* 38 */ -#endif -#ifndef TkGetPointerCoords -#define TkGetPointerCoords \ - (tkIntStubsPtr->tkGetPointerCoords) /* 39 */ -#endif -#ifndef TkGetServerInfo -#define TkGetServerInfo \ - (tkIntStubsPtr->tkGetServerInfo) /* 40 */ -#endif -#ifndef TkGrabDeadWindow -#define TkGrabDeadWindow \ - (tkIntStubsPtr->tkGrabDeadWindow) /* 41 */ -#endif -#ifndef TkGrabState -#define TkGrabState \ - (tkIntStubsPtr->tkGrabState) /* 42 */ -#endif -#ifndef TkIncludePoint -#define TkIncludePoint \ - (tkIntStubsPtr->tkIncludePoint) /* 43 */ -#endif -#ifndef TkInOutEvents -#define TkInOutEvents \ - (tkIntStubsPtr->tkInOutEvents) /* 44 */ -#endif -#ifndef TkInstallFrameMenu -#define TkInstallFrameMenu \ - (tkIntStubsPtr->tkInstallFrameMenu) /* 45 */ -#endif -#ifndef TkKeysymToString -#define TkKeysymToString \ - (tkIntStubsPtr->tkKeysymToString) /* 46 */ -#endif -#ifndef TkLineToArea -#define TkLineToArea \ - (tkIntStubsPtr->tkLineToArea) /* 47 */ -#endif -#ifndef TkLineToPoint -#define TkLineToPoint \ - (tkIntStubsPtr->tkLineToPoint) /* 48 */ -#endif -#ifndef TkMakeBezierCurve -#define TkMakeBezierCurve \ - (tkIntStubsPtr->tkMakeBezierCurve) /* 49 */ -#endif -#ifndef TkMakeBezierPostscript -#define TkMakeBezierPostscript \ - (tkIntStubsPtr->tkMakeBezierPostscript) /* 50 */ -#endif -#ifndef TkOptionClassChanged -#define TkOptionClassChanged \ - (tkIntStubsPtr->tkOptionClassChanged) /* 51 */ -#endif -#ifndef TkOptionDeadWindow -#define TkOptionDeadWindow \ - (tkIntStubsPtr->tkOptionDeadWindow) /* 52 */ -#endif -#ifndef TkOvalToArea -#define TkOvalToArea \ - (tkIntStubsPtr->tkOvalToArea) /* 53 */ -#endif -#ifndef TkOvalToPoint -#define TkOvalToPoint \ - (tkIntStubsPtr->tkOvalToPoint) /* 54 */ -#endif -#ifndef TkpChangeFocus -#define TkpChangeFocus \ - (tkIntStubsPtr->tkpChangeFocus) /* 55 */ -#endif -#ifndef TkpCloseDisplay -#define TkpCloseDisplay \ - (tkIntStubsPtr->tkpCloseDisplay) /* 56 */ -#endif -#ifndef TkpClaimFocus -#define TkpClaimFocus \ - (tkIntStubsPtr->tkpClaimFocus) /* 57 */ -#endif -#ifndef TkpDisplayWarning -#define TkpDisplayWarning \ - (tkIntStubsPtr->tkpDisplayWarning) /* 58 */ -#endif -#ifndef TkpGetAppName -#define TkpGetAppName \ - (tkIntStubsPtr->tkpGetAppName) /* 59 */ -#endif -#ifndef TkpGetOtherWindow -#define TkpGetOtherWindow \ - (tkIntStubsPtr->tkpGetOtherWindow) /* 60 */ -#endif -#ifndef TkpGetWrapperWindow -#define TkpGetWrapperWindow \ - (tkIntStubsPtr->tkpGetWrapperWindow) /* 61 */ -#endif -#ifndef TkpInit -#define TkpInit \ - (tkIntStubsPtr->tkpInit) /* 62 */ -#endif -#ifndef TkpInitializeMenuBindings -#define TkpInitializeMenuBindings \ - (tkIntStubsPtr->tkpInitializeMenuBindings) /* 63 */ -#endif -#ifndef TkpMakeContainer -#define TkpMakeContainer \ - (tkIntStubsPtr->tkpMakeContainer) /* 64 */ -#endif -#ifndef TkpMakeMenuWindow -#define TkpMakeMenuWindow \ - (tkIntStubsPtr->tkpMakeMenuWindow) /* 65 */ -#endif -#ifndef TkpMakeWindow -#define TkpMakeWindow \ - (tkIntStubsPtr->tkpMakeWindow) /* 66 */ -#endif -#ifndef TkpMenuNotifyToplevelCreate -#define TkpMenuNotifyToplevelCreate \ - (tkIntStubsPtr->tkpMenuNotifyToplevelCreate) /* 67 */ -#endif -#ifndef TkpOpenDisplay -#define TkpOpenDisplay \ - (tkIntStubsPtr->tkpOpenDisplay) /* 68 */ -#endif -#ifndef TkPointerEvent -#define TkPointerEvent \ - (tkIntStubsPtr->tkPointerEvent) /* 69 */ -#endif -#ifndef TkPolygonToArea -#define TkPolygonToArea \ - (tkIntStubsPtr->tkPolygonToArea) /* 70 */ -#endif -#ifndef TkPolygonToPoint -#define TkPolygonToPoint \ - (tkIntStubsPtr->tkPolygonToPoint) /* 71 */ -#endif -#ifndef TkPositionInTree -#define TkPositionInTree \ - (tkIntStubsPtr->tkPositionInTree) /* 72 */ -#endif -#ifndef TkpRedirectKeyEvent -#define TkpRedirectKeyEvent \ - (tkIntStubsPtr->tkpRedirectKeyEvent) /* 73 */ -#endif -#ifndef TkpSetMainMenubar -#define TkpSetMainMenubar \ - (tkIntStubsPtr->tkpSetMainMenubar) /* 74 */ -#endif -#ifndef TkpUseWindow -#define TkpUseWindow \ - (tkIntStubsPtr->tkpUseWindow) /* 75 */ -#endif -/* Slot 76 is reserved */ -#ifndef TkQueueEventForAllChildren -#define TkQueueEventForAllChildren \ - (tkIntStubsPtr->tkQueueEventForAllChildren) /* 77 */ -#endif -#ifndef TkReadBitmapFile -#define TkReadBitmapFile \ - (tkIntStubsPtr->tkReadBitmapFile) /* 78 */ -#endif -#ifndef TkScrollWindow -#define TkScrollWindow \ - (tkIntStubsPtr->tkScrollWindow) /* 79 */ -#endif -#ifndef TkSelDeadWindow -#define TkSelDeadWindow \ - (tkIntStubsPtr->tkSelDeadWindow) /* 80 */ -#endif -#ifndef TkSelEventProc -#define TkSelEventProc \ - (tkIntStubsPtr->tkSelEventProc) /* 81 */ -#endif -#ifndef TkSelInit -#define TkSelInit \ - (tkIntStubsPtr->tkSelInit) /* 82 */ -#endif -#ifndef TkSelPropProc -#define TkSelPropProc \ - (tkIntStubsPtr->tkSelPropProc) /* 83 */ -#endif -/* Slot 84 is reserved */ -#ifndef TkSetWindowMenuBar -#define TkSetWindowMenuBar \ - (tkIntStubsPtr->tkSetWindowMenuBar) /* 85 */ -#endif -#ifndef TkStringToKeysym -#define TkStringToKeysym \ - (tkIntStubsPtr->tkStringToKeysym) /* 86 */ -#endif -#ifndef TkThickPolyLineToArea -#define TkThickPolyLineToArea \ - (tkIntStubsPtr->tkThickPolyLineToArea) /* 87 */ -#endif -#ifndef TkWmAddToColormapWindows -#define TkWmAddToColormapWindows \ - (tkIntStubsPtr->tkWmAddToColormapWindows) /* 88 */ -#endif -#ifndef TkWmDeadWindow -#define TkWmDeadWindow \ - (tkIntStubsPtr->tkWmDeadWindow) /* 89 */ -#endif -#ifndef TkWmFocusToplevel -#define TkWmFocusToplevel \ - (tkIntStubsPtr->tkWmFocusToplevel) /* 90 */ -#endif -#ifndef TkWmMapWindow -#define TkWmMapWindow \ - (tkIntStubsPtr->tkWmMapWindow) /* 91 */ -#endif -#ifndef TkWmNewWindow -#define TkWmNewWindow \ - (tkIntStubsPtr->tkWmNewWindow) /* 92 */ -#endif -#ifndef TkWmProtocolEventProc -#define TkWmProtocolEventProc \ - (tkIntStubsPtr->tkWmProtocolEventProc) /* 93 */ -#endif -#ifndef TkWmRemoveFromColormapWindows -#define TkWmRemoveFromColormapWindows \ - (tkIntStubsPtr->tkWmRemoveFromColormapWindows) /* 94 */ -#endif -#ifndef TkWmRestackToplevel -#define TkWmRestackToplevel \ - (tkIntStubsPtr->tkWmRestackToplevel) /* 95 */ -#endif -#ifndef TkWmSetClass -#define TkWmSetClass \ - (tkIntStubsPtr->tkWmSetClass) /* 96 */ -#endif -#ifndef TkWmUnmapWindow -#define TkWmUnmapWindow \ - (tkIntStubsPtr->tkWmUnmapWindow) /* 97 */ -#endif -#ifndef TkDebugBitmap -#define TkDebugBitmap \ - (tkIntStubsPtr->tkDebugBitmap) /* 98 */ -#endif -#ifndef TkDebugBorder -#define TkDebugBorder \ - (tkIntStubsPtr->tkDebugBorder) /* 99 */ -#endif -#ifndef TkDebugCursor -#define TkDebugCursor \ - (tkIntStubsPtr->tkDebugCursor) /* 100 */ -#endif -#ifndef TkDebugColor -#define TkDebugColor \ - (tkIntStubsPtr->tkDebugColor) /* 101 */ -#endif -#ifndef TkDebugConfig -#define TkDebugConfig \ - (tkIntStubsPtr->tkDebugConfig) /* 102 */ -#endif -#ifndef TkDebugFont -#define TkDebugFont \ - (tkIntStubsPtr->tkDebugFont) /* 103 */ -#endif -#ifndef TkFindStateNumObj -#define TkFindStateNumObj \ - (tkIntStubsPtr->tkFindStateNumObj) /* 104 */ -#endif -#ifndef TkGetBitmapPredefTable -#define TkGetBitmapPredefTable \ - (tkIntStubsPtr->tkGetBitmapPredefTable) /* 105 */ -#endif -#ifndef TkGetDisplayList -#define TkGetDisplayList \ - (tkIntStubsPtr->tkGetDisplayList) /* 106 */ -#endif -#ifndef TkGetMainInfoList -#define TkGetMainInfoList \ - (tkIntStubsPtr->tkGetMainInfoList) /* 107 */ -#endif -#ifndef TkGetWindowFromObj -#define TkGetWindowFromObj \ - (tkIntStubsPtr->tkGetWindowFromObj) /* 108 */ -#endif -#ifndef TkpGetString -#define TkpGetString \ - (tkIntStubsPtr->tkpGetString) /* 109 */ -#endif -#ifndef TkpGetSubFonts -#define TkpGetSubFonts \ - (tkIntStubsPtr->tkpGetSubFonts) /* 110 */ -#endif -#ifndef TkpGetSystemDefault -#define TkpGetSystemDefault \ - (tkIntStubsPtr->tkpGetSystemDefault) /* 111 */ -#endif -#ifndef TkpMenuThreadInit -#define TkpMenuThreadInit \ - (tkIntStubsPtr->tkpMenuThreadInit) /* 112 */ -#endif -#ifdef __WIN32__ /* WIN */ -#ifndef TkClipBox -#define TkClipBox \ - (tkIntStubsPtr->tkClipBox) /* 113 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkClipBox -#define TkClipBox \ - (tkIntStubsPtr->tkClipBox) /* 113 */ -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkCreateRegion -#define TkCreateRegion \ - (tkIntStubsPtr->tkCreateRegion) /* 114 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkCreateRegion -#define TkCreateRegion \ - (tkIntStubsPtr->tkCreateRegion) /* 114 */ -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkDestroyRegion -#define TkDestroyRegion \ - (tkIntStubsPtr->tkDestroyRegion) /* 115 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkDestroyRegion -#define TkDestroyRegion \ - (tkIntStubsPtr->tkDestroyRegion) /* 115 */ -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkIntersectRegion -#define TkIntersectRegion \ - (tkIntStubsPtr->tkIntersectRegion) /* 116 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkIntersectRegion -#define TkIntersectRegion \ - (tkIntStubsPtr->tkIntersectRegion) /* 116 */ -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkRectInRegion -#define TkRectInRegion \ - (tkIntStubsPtr->tkRectInRegion) /* 117 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkRectInRegion -#define TkRectInRegion \ - (tkIntStubsPtr->tkRectInRegion) /* 117 */ -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkSetRegion -#define TkSetRegion \ - (tkIntStubsPtr->tkSetRegion) /* 118 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkSetRegion -#define TkSetRegion \ - (tkIntStubsPtr->tkSetRegion) /* 118 */ -#endif -#endif /* AQUA */ -#ifdef __WIN32__ /* WIN */ -#ifndef TkUnionRectWithRegion -#define TkUnionRectWithRegion \ - (tkIntStubsPtr->tkUnionRectWithRegion) /* 119 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkUnionRectWithRegion -#define TkUnionRectWithRegion \ - (tkIntStubsPtr->tkUnionRectWithRegion) /* 119 */ -#endif -#endif /* AQUA */ -/* Slot 120 is reserved */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkpCreateNativeBitmap -#define TkpCreateNativeBitmap \ - (tkIntStubsPtr->tkpCreateNativeBitmap) /* 121 */ -#endif -#endif /* AQUA */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkpDefineNativeBitmaps -#define TkpDefineNativeBitmaps \ - (tkIntStubsPtr->tkpDefineNativeBitmaps) /* 122 */ -#endif -#endif /* AQUA */ -/* Slot 123 is reserved */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkpGetNativeAppBitmap -#define TkpGetNativeAppBitmap \ - (tkIntStubsPtr->tkpGetNativeAppBitmap) /* 124 */ -#endif -#endif /* AQUA */ -/* Slot 125 is reserved */ -/* Slot 126 is reserved */ -/* Slot 127 is reserved */ -/* Slot 128 is reserved */ -/* Slot 129 is reserved */ -/* Slot 130 is reserved */ -/* Slot 131 is reserved */ -/* Slot 132 is reserved */ -/* Slot 133 is reserved */ -/* Slot 134 is reserved */ -#ifndef TkpDrawHighlightBorder -#define TkpDrawHighlightBorder \ - (tkIntStubsPtr->tkpDrawHighlightBorder) /* 135 */ -#endif -#ifndef TkSetFocusWin -#define TkSetFocusWin \ - (tkIntStubsPtr->tkSetFocusWin) /* 136 */ -#endif -#ifndef TkpSetKeycodeAndState -#define TkpSetKeycodeAndState \ - (tkIntStubsPtr->tkpSetKeycodeAndState) /* 137 */ -#endif -#ifndef TkpGetKeySym -#define TkpGetKeySym \ - (tkIntStubsPtr->tkpGetKeySym) /* 138 */ -#endif -#ifndef TkpInitKeymapInfo -#define TkpInitKeymapInfo \ - (tkIntStubsPtr->tkpInitKeymapInfo) /* 139 */ -#endif -#ifndef TkPhotoGetValidRegion -#define TkPhotoGetValidRegion \ - (tkIntStubsPtr->tkPhotoGetValidRegion) /* 140 */ -#endif -#ifndef TkWmStackorderToplevel -#define TkWmStackorderToplevel \ - (tkIntStubsPtr->tkWmStackorderToplevel) /* 141 */ -#endif -#ifndef TkFocusFree -#define TkFocusFree \ - (tkIntStubsPtr->tkFocusFree) /* 142 */ -#endif -#ifndef TkClipCleanup -#define TkClipCleanup \ - (tkIntStubsPtr->tkClipCleanup) /* 143 */ -#endif -#ifndef TkGCCleanup -#define TkGCCleanup \ - (tkIntStubsPtr->tkGCCleanup) /* 144 */ -#endif -#ifdef __WIN32__ /* WIN */ -#ifndef TkSubtractRegion -#define TkSubtractRegion \ - (tkIntStubsPtr->tkSubtractRegion) /* 145 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkSubtractRegion -#define TkSubtractRegion \ - (tkIntStubsPtr->tkSubtractRegion) /* 145 */ -#endif -#endif /* AQUA */ -#ifndef TkStylePkgInit -#define TkStylePkgInit \ - (tkIntStubsPtr->tkStylePkgInit) /* 146 */ -#endif -#ifndef TkStylePkgFree -#define TkStylePkgFree \ - (tkIntStubsPtr->tkStylePkgFree) /* 147 */ -#endif -#ifndef TkToplevelWindowForCommand -#define TkToplevelWindowForCommand \ - (tkIntStubsPtr->tkToplevelWindowForCommand) /* 148 */ -#endif -#ifndef TkGetOptionSpec -#define TkGetOptionSpec \ - (tkIntStubsPtr->tkGetOptionSpec) /* 149 */ -#endif -#ifndef TkMakeRawCurve -#define TkMakeRawCurve \ - (tkIntStubsPtr->tkMakeRawCurve) /* 150 */ -#endif -#ifndef TkMakeRawCurvePostscript -#define TkMakeRawCurvePostscript \ - (tkIntStubsPtr->tkMakeRawCurvePostscript) /* 151 */ -#endif -#ifndef TkpDrawFrame -#define TkpDrawFrame \ - (tkIntStubsPtr->tkpDrawFrame) /* 152 */ -#endif -#ifndef TkCreateThreadExitHandler -#define TkCreateThreadExitHandler \ - (tkIntStubsPtr->tkCreateThreadExitHandler) /* 153 */ -#endif -#ifndef TkDeleteThreadExitHandler -#define TkDeleteThreadExitHandler \ - (tkIntStubsPtr->tkDeleteThreadExitHandler) /* 154 */ -#endif -/* Slot 155 is reserved */ -#ifndef TkpTestembedCmd -#define TkpTestembedCmd \ - (tkIntStubsPtr->tkpTestembedCmd) /* 156 */ -#endif -#ifndef TkpTesttextCmd -#define TkpTesttextCmd \ - (tkIntStubsPtr->tkpTesttextCmd) /* 157 */ -#endif - -#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */ - -/* !END!: Do not edit above this line. */ - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKINTDECLS */ - diff --git a/src/other/togl/include/tcltk/tk8.6/tkIntPlatDecls.h b/src/other/togl/include/tcltk/tk8.6/tkIntPlatDecls.h deleted file mode 100644 index 2221c6bb20e..00000000000 --- a/src/other/togl/include/tcltk/tk8.6/tkIntPlatDecls.h +++ /dev/null @@ -1,1065 +0,0 @@ -/* - * tkIntPlatDecls.h -- - * - * This file contains the declarations for all platform dependent - * unsupported functions that are exported by the Tk library. These - * interfaces are not guaranteed to remain the same between - * versions. Use at your own risk. - * - * Copyright (c) 1998-1999 by Scriptics Corporation. - * All rights reserved. - * - * RCS: @(#) Id - */ - -#ifndef _TKINTPLATDECLS -#define _TKINTPLATDECLS - -#ifdef BUILD_tk -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * WARNING: This file is automatically generated by the tools/genStubs.tcl - * script. Any modifications to the function declarations below should be made - * in the generic/tkInt.decls script. - */ - -/* !BEGIN!: Do not edit below this line. */ - -/* - * Exported function declarations: - */ - -#ifdef __WIN32__ /* WIN */ -#ifndef TkAlignImageData_TCL_DECLARED -#define TkAlignImageData_TCL_DECLARED -/* 0 */ -EXTERN char * TkAlignImageData (XImage * image, int alignment, - int bitOrder); -#endif -/* Slot 1 is reserved */ -#ifndef TkGenerateActivateEvents_TCL_DECLARED -#define TkGenerateActivateEvents_TCL_DECLARED -/* 2 */ -EXTERN void TkGenerateActivateEvents (TkWindow * winPtr, - int active); -#endif -#ifndef TkpGetMS_TCL_DECLARED -#define TkpGetMS_TCL_DECLARED -/* 3 */ -EXTERN unsigned long TkpGetMS (void); -#endif -#ifndef TkPointerDeadWindow_TCL_DECLARED -#define TkPointerDeadWindow_TCL_DECLARED -/* 4 */ -EXTERN void TkPointerDeadWindow (TkWindow * winPtr); -#endif -#ifndef TkpPrintWindowId_TCL_DECLARED -#define TkpPrintWindowId_TCL_DECLARED -/* 5 */ -EXTERN void TkpPrintWindowId (char * buf, Window window); -#endif -#ifndef TkpScanWindowId_TCL_DECLARED -#define TkpScanWindowId_TCL_DECLARED -/* 6 */ -EXTERN int TkpScanWindowId (Tcl_Interp * interp, - CONST char * string, Window * idPtr); -#endif -#ifndef TkpSetCapture_TCL_DECLARED -#define TkpSetCapture_TCL_DECLARED -/* 7 */ -EXTERN void TkpSetCapture (TkWindow * winPtr); -#endif -#ifndef TkpSetCursor_TCL_DECLARED -#define TkpSetCursor_TCL_DECLARED -/* 8 */ -EXTERN void TkpSetCursor (TkpCursor cursor); -#endif -#ifndef TkpWmSetState_TCL_DECLARED -#define TkpWmSetState_TCL_DECLARED -/* 9 */ -EXTERN void TkpWmSetState (TkWindow * winPtr, int state); -#endif -#ifndef TkSetPixmapColormap_TCL_DECLARED -#define TkSetPixmapColormap_TCL_DECLARED -/* 10 */ -EXTERN void TkSetPixmapColormap (Pixmap pixmap, - Colormap colormap); -#endif -#ifndef TkWinCancelMouseTimer_TCL_DECLARED -#define TkWinCancelMouseTimer_TCL_DECLARED -/* 11 */ -EXTERN void TkWinCancelMouseTimer (void); -#endif -#ifndef TkWinClipboardRender_TCL_DECLARED -#define TkWinClipboardRender_TCL_DECLARED -/* 12 */ -EXTERN void TkWinClipboardRender (TkDisplay * dispPtr, - UINT format); -#endif -#ifndef TkWinEmbeddedEventProc_TCL_DECLARED -#define TkWinEmbeddedEventProc_TCL_DECLARED -/* 13 */ -EXTERN LRESULT TkWinEmbeddedEventProc (HWND hwnd, UINT message, - WPARAM wParam, LPARAM lParam); -#endif -#ifndef TkWinFillRect_TCL_DECLARED -#define TkWinFillRect_TCL_DECLARED -/* 14 */ -EXTERN void TkWinFillRect (HDC dc, int x, int y, int width, - int height, int pixel); -#endif -#ifndef TkWinGetBorderPixels_TCL_DECLARED -#define TkWinGetBorderPixels_TCL_DECLARED -/* 15 */ -EXTERN COLORREF TkWinGetBorderPixels (Tk_Window tkwin, - Tk_3DBorder border, int which); -#endif -#ifndef TkWinGetDrawableDC_TCL_DECLARED -#define TkWinGetDrawableDC_TCL_DECLARED -/* 16 */ -EXTERN HDC TkWinGetDrawableDC (Display * display, Drawable d, - TkWinDCState * state); -#endif -#ifndef TkWinGetModifierState_TCL_DECLARED -#define TkWinGetModifierState_TCL_DECLARED -/* 17 */ -EXTERN int TkWinGetModifierState (void); -#endif -#ifndef TkWinGetSystemPalette_TCL_DECLARED -#define TkWinGetSystemPalette_TCL_DECLARED -/* 18 */ -EXTERN HPALETTE TkWinGetSystemPalette (void); -#endif -#ifndef TkWinGetWrapperWindow_TCL_DECLARED -#define TkWinGetWrapperWindow_TCL_DECLARED -/* 19 */ -EXTERN HWND TkWinGetWrapperWindow (Tk_Window tkwin); -#endif -#ifndef TkWinHandleMenuEvent_TCL_DECLARED -#define TkWinHandleMenuEvent_TCL_DECLARED -/* 20 */ -EXTERN int TkWinHandleMenuEvent (HWND * phwnd, UINT * pMessage, - WPARAM * pwParam, LPARAM * plParam, - LRESULT * plResult); -#endif -#ifndef TkWinIndexOfColor_TCL_DECLARED -#define TkWinIndexOfColor_TCL_DECLARED -/* 21 */ -EXTERN int TkWinIndexOfColor (XColor * colorPtr); -#endif -#ifndef TkWinReleaseDrawableDC_TCL_DECLARED -#define TkWinReleaseDrawableDC_TCL_DECLARED -/* 22 */ -EXTERN void TkWinReleaseDrawableDC (Drawable d, HDC hdc, - TkWinDCState * state); -#endif -#ifndef TkWinResendEvent_TCL_DECLARED -#define TkWinResendEvent_TCL_DECLARED -/* 23 */ -EXTERN LRESULT TkWinResendEvent (WNDPROC wndproc, HWND hwnd, - XEvent * eventPtr); -#endif -#ifndef TkWinSelectPalette_TCL_DECLARED -#define TkWinSelectPalette_TCL_DECLARED -/* 24 */ -EXTERN HPALETTE TkWinSelectPalette (HDC dc, Colormap colormap); -#endif -#ifndef TkWinSetMenu_TCL_DECLARED -#define TkWinSetMenu_TCL_DECLARED -/* 25 */ -EXTERN void TkWinSetMenu (Tk_Window tkwin, HMENU hMenu); -#endif -#ifndef TkWinSetWindowPos_TCL_DECLARED -#define TkWinSetWindowPos_TCL_DECLARED -/* 26 */ -EXTERN void TkWinSetWindowPos (HWND hwnd, HWND siblingHwnd, - int pos); -#endif -#ifndef TkWinWmCleanup_TCL_DECLARED -#define TkWinWmCleanup_TCL_DECLARED -/* 27 */ -EXTERN void TkWinWmCleanup (HINSTANCE hInstance); -#endif -#ifndef TkWinXCleanup_TCL_DECLARED -#define TkWinXCleanup_TCL_DECLARED -/* 28 */ -EXTERN void TkWinXCleanup (ClientData clientData); -#endif -#ifndef TkWinXInit_TCL_DECLARED -#define TkWinXInit_TCL_DECLARED -/* 29 */ -EXTERN void TkWinXInit (HINSTANCE hInstance); -#endif -#ifndef TkWinSetForegroundWindow_TCL_DECLARED -#define TkWinSetForegroundWindow_TCL_DECLARED -/* 30 */ -EXTERN void TkWinSetForegroundWindow (TkWindow * winPtr); -#endif -#ifndef TkWinDialogDebug_TCL_DECLARED -#define TkWinDialogDebug_TCL_DECLARED -/* 31 */ -EXTERN void TkWinDialogDebug (int debug); -#endif -#ifndef TkWinGetMenuSystemDefault_TCL_DECLARED -#define TkWinGetMenuSystemDefault_TCL_DECLARED -/* 32 */ -EXTERN Tcl_Obj * TkWinGetMenuSystemDefault (Tk_Window tkwin, - CONST char * dbName, CONST char * className); -#endif -#ifndef TkWinGetPlatformId_TCL_DECLARED -#define TkWinGetPlatformId_TCL_DECLARED -/* 33 */ -EXTERN int TkWinGetPlatformId (void); -#endif -#ifndef TkWinSetHINSTANCE_TCL_DECLARED -#define TkWinSetHINSTANCE_TCL_DECLARED -/* 34 */ -EXTERN void TkWinSetHINSTANCE (HINSTANCE hInstance); -#endif -#ifndef TkWinGetPlatformTheme_TCL_DECLARED -#define TkWinGetPlatformTheme_TCL_DECLARED -/* 35 */ -EXTERN int TkWinGetPlatformTheme (void); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkGenerateActivateEvents_TCL_DECLARED -#define TkGenerateActivateEvents_TCL_DECLARED -/* 0 */ -EXTERN void TkGenerateActivateEvents (TkWindow * winPtr, - int active); -#endif -/* Slot 1 is reserved */ -/* Slot 2 is reserved */ -#ifndef TkPointerDeadWindow_TCL_DECLARED -#define TkPointerDeadWindow_TCL_DECLARED -/* 3 */ -EXTERN void TkPointerDeadWindow (TkWindow * winPtr); -#endif -#ifndef TkpSetCapture_TCL_DECLARED -#define TkpSetCapture_TCL_DECLARED -/* 4 */ -EXTERN void TkpSetCapture (TkWindow * winPtr); -#endif -#ifndef TkpSetCursor_TCL_DECLARED -#define TkpSetCursor_TCL_DECLARED -/* 5 */ -EXTERN void TkpSetCursor (TkpCursor cursor); -#endif -#ifndef TkpWmSetState_TCL_DECLARED -#define TkpWmSetState_TCL_DECLARED -/* 6 */ -EXTERN void TkpWmSetState (TkWindow * winPtr, int state); -#endif -#ifndef TkAboutDlg_TCL_DECLARED -#define TkAboutDlg_TCL_DECLARED -/* 7 */ -EXTERN void TkAboutDlg (void); -#endif -#ifndef TkMacOSXButtonKeyState_TCL_DECLARED -#define TkMacOSXButtonKeyState_TCL_DECLARED -/* 8 */ -EXTERN unsigned int TkMacOSXButtonKeyState (void); -#endif -#ifndef TkMacOSXClearMenubarActive_TCL_DECLARED -#define TkMacOSXClearMenubarActive_TCL_DECLARED -/* 9 */ -EXTERN void TkMacOSXClearMenubarActive (void); -#endif -#ifndef TkMacOSXDispatchMenuEvent_TCL_DECLARED -#define TkMacOSXDispatchMenuEvent_TCL_DECLARED -/* 10 */ -EXTERN int TkMacOSXDispatchMenuEvent (int menuID, int index); -#endif -#ifndef TkMacOSXInstallCursor_TCL_DECLARED -#define TkMacOSXInstallCursor_TCL_DECLARED -/* 11 */ -EXTERN void TkMacOSXInstallCursor (int resizeOverride); -#endif -#ifndef TkMacOSXHandleTearoffMenu_TCL_DECLARED -#define TkMacOSXHandleTearoffMenu_TCL_DECLARED -/* 12 */ -EXTERN void TkMacOSXHandleTearoffMenu (void); -#endif -/* Slot 13 is reserved */ -#ifndef TkMacOSXDoHLEvent_TCL_DECLARED -#define TkMacOSXDoHLEvent_TCL_DECLARED -/* 14 */ -EXTERN int TkMacOSXDoHLEvent (EventRecord * theEvent); -#endif -/* Slot 15 is reserved */ -#ifndef TkMacOSXGetXWindow_TCL_DECLARED -#define TkMacOSXGetXWindow_TCL_DECLARED -/* 16 */ -EXTERN Window TkMacOSXGetXWindow (WindowRef macWinPtr); -#endif -#ifndef TkMacOSXGrowToplevel_TCL_DECLARED -#define TkMacOSXGrowToplevel_TCL_DECLARED -/* 17 */ -EXTERN int TkMacOSXGrowToplevel (WindowRef whichWindow, - Point start); -#endif -#ifndef TkMacOSXHandleMenuSelect_TCL_DECLARED -#define TkMacOSXHandleMenuSelect_TCL_DECLARED -/* 18 */ -EXTERN void TkMacOSXHandleMenuSelect (MenuID theMenu, - MenuItemIndex theItem, int optionKeyPressed); -#endif -/* Slot 19 is reserved */ -/* Slot 20 is reserved */ -#ifndef TkMacOSXInvalidateWindow_TCL_DECLARED -#define TkMacOSXInvalidateWindow_TCL_DECLARED -/* 21 */ -EXTERN void TkMacOSXInvalidateWindow (MacDrawable * macWin, - int flag); -#endif -#ifndef TkMacOSXIsCharacterMissing_TCL_DECLARED -#define TkMacOSXIsCharacterMissing_TCL_DECLARED -/* 22 */ -EXTERN int TkMacOSXIsCharacterMissing (Tk_Font tkfont, - unsigned int searchChar); -#endif -#ifndef TkMacOSXMakeRealWindowExist_TCL_DECLARED -#define TkMacOSXMakeRealWindowExist_TCL_DECLARED -/* 23 */ -EXTERN void TkMacOSXMakeRealWindowExist (TkWindow * winPtr); -#endif -#ifndef TkMacOSXMakeStippleMap_TCL_DECLARED -#define TkMacOSXMakeStippleMap_TCL_DECLARED -/* 24 */ -EXTERN BitMapPtr TkMacOSXMakeStippleMap (Drawable d1, Drawable d2); -#endif -#ifndef TkMacOSXMenuClick_TCL_DECLARED -#define TkMacOSXMenuClick_TCL_DECLARED -/* 25 */ -EXTERN void TkMacOSXMenuClick (void); -#endif -#ifndef TkMacOSXRegisterOffScreenWindow_TCL_DECLARED -#define TkMacOSXRegisterOffScreenWindow_TCL_DECLARED -/* 26 */ -EXTERN void TkMacOSXRegisterOffScreenWindow (Window window, - GWorldPtr portPtr); -#endif -#ifndef TkMacOSXResizable_TCL_DECLARED -#define TkMacOSXResizable_TCL_DECLARED -/* 27 */ -EXTERN int TkMacOSXResizable (TkWindow * winPtr); -#endif -#ifndef TkMacOSXSetHelpMenuItemCount_TCL_DECLARED -#define TkMacOSXSetHelpMenuItemCount_TCL_DECLARED -/* 28 */ -EXTERN void TkMacOSXSetHelpMenuItemCount (void); -#endif -#ifndef TkMacOSXSetScrollbarGrow_TCL_DECLARED -#define TkMacOSXSetScrollbarGrow_TCL_DECLARED -/* 29 */ -EXTERN void TkMacOSXSetScrollbarGrow (TkWindow * winPtr, - int flag); -#endif -#ifndef TkMacOSXSetUpClippingRgn_TCL_DECLARED -#define TkMacOSXSetUpClippingRgn_TCL_DECLARED -/* 30 */ -EXTERN void TkMacOSXSetUpClippingRgn (Drawable drawable); -#endif -#ifndef TkMacOSXSetUpGraphicsPort_TCL_DECLARED -#define TkMacOSXSetUpGraphicsPort_TCL_DECLARED -/* 31 */ -EXTERN void TkMacOSXSetUpGraphicsPort (GC gc, GWorldPtr destPort); -#endif -#ifndef TkMacOSXUpdateClipRgn_TCL_DECLARED -#define TkMacOSXUpdateClipRgn_TCL_DECLARED -/* 32 */ -EXTERN void TkMacOSXUpdateClipRgn (TkWindow * winPtr); -#endif -#ifndef TkMacOSXUnregisterMacWindow_TCL_DECLARED -#define TkMacOSXUnregisterMacWindow_TCL_DECLARED -/* 33 */ -EXTERN void TkMacOSXUnregisterMacWindow (WindowRef portPtr); -#endif -#ifndef TkMacOSXUseMenuID_TCL_DECLARED -#define TkMacOSXUseMenuID_TCL_DECLARED -/* 34 */ -EXTERN int TkMacOSXUseMenuID (short macID); -#endif -#ifndef TkMacOSXVisableClipRgn_TCL_DECLARED -#define TkMacOSXVisableClipRgn_TCL_DECLARED -/* 35 */ -EXTERN RgnHandle TkMacOSXVisableClipRgn (TkWindow * winPtr); -#endif -#ifndef TkMacOSXWinBounds_TCL_DECLARED -#define TkMacOSXWinBounds_TCL_DECLARED -/* 36 */ -EXTERN void TkMacOSXWinBounds (TkWindow * winPtr, - Rect * geometry); -#endif -#ifndef TkMacOSXWindowOffset_TCL_DECLARED -#define TkMacOSXWindowOffset_TCL_DECLARED -/* 37 */ -EXTERN void TkMacOSXWindowOffset (WindowRef wRef, int * xOffset, - int * yOffset); -#endif -#ifndef TkSetMacColor_TCL_DECLARED -#define TkSetMacColor_TCL_DECLARED -/* 38 */ -EXTERN int TkSetMacColor (unsigned long pixel, - RGBColor * macColor); -#endif -#ifndef TkSetWMName_TCL_DECLARED -#define TkSetWMName_TCL_DECLARED -/* 39 */ -EXTERN void TkSetWMName (TkWindow * winPtr, Tk_Uid titleUid); -#endif -#ifndef TkSuspendClipboard_TCL_DECLARED -#define TkSuspendClipboard_TCL_DECLARED -/* 40 */ -EXTERN void TkSuspendClipboard (void); -#endif -#ifndef TkMacOSXZoomToplevel_TCL_DECLARED -#define TkMacOSXZoomToplevel_TCL_DECLARED -/* 41 */ -EXTERN int TkMacOSXZoomToplevel (WindowPtr whichWindow, - short zoomPart); -#endif -#ifndef Tk_TopCoordsToWindow_TCL_DECLARED -#define Tk_TopCoordsToWindow_TCL_DECLARED -/* 42 */ -EXTERN Tk_Window Tk_TopCoordsToWindow (Tk_Window tkwin, int rootX, - int rootY, int * newX, int * newY); -#endif -#ifndef TkMacOSXContainerId_TCL_DECLARED -#define TkMacOSXContainerId_TCL_DECLARED -/* 43 */ -EXTERN MacDrawable * TkMacOSXContainerId (TkWindow * winPtr); -#endif -#ifndef TkMacOSXGetHostToplevel_TCL_DECLARED -#define TkMacOSXGetHostToplevel_TCL_DECLARED -/* 44 */ -EXTERN MacDrawable * TkMacOSXGetHostToplevel (TkWindow * winPtr); -#endif -#ifndef TkMacOSXPreprocessMenu_TCL_DECLARED -#define TkMacOSXPreprocessMenu_TCL_DECLARED -/* 45 */ -EXTERN void TkMacOSXPreprocessMenu (void); -#endif -#ifndef TkpIsWindowFloating_TCL_DECLARED -#define TkpIsWindowFloating_TCL_DECLARED -/* 46 */ -EXTERN int TkpIsWindowFloating (WindowRef window); -#endif -#ifndef TkMacOSXGetCapture_TCL_DECLARED -#define TkMacOSXGetCapture_TCL_DECLARED -/* 47 */ -EXTERN Tk_Window TkMacOSXGetCapture (void); -#endif -/* Slot 48 is reserved */ -#ifndef TkGetTransientMaster_TCL_DECLARED -#define TkGetTransientMaster_TCL_DECLARED -/* 49 */ -EXTERN Window TkGetTransientMaster (TkWindow * winPtr); -#endif -#ifndef TkGenerateButtonEvent_TCL_DECLARED -#define TkGenerateButtonEvent_TCL_DECLARED -/* 50 */ -EXTERN int TkGenerateButtonEvent (int x, int y, Window window, - unsigned int state); -#endif -#ifndef TkGenWMDestroyEvent_TCL_DECLARED -#define TkGenWMDestroyEvent_TCL_DECLARED -/* 51 */ -EXTERN void TkGenWMDestroyEvent (Tk_Window tkwin); -#endif -/* Slot 52 is reserved */ -#ifndef TkpGetMS_TCL_DECLARED -#define TkpGetMS_TCL_DECLARED -/* 53 */ -EXTERN unsigned long TkpGetMS (void); -#endif -#endif /* AQUA */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ -#ifndef TkCreateXEventSource_TCL_DECLARED -#define TkCreateXEventSource_TCL_DECLARED -/* 0 */ -EXTERN void TkCreateXEventSource (void); -#endif -/* Slot 1 is reserved */ -/* Slot 2 is reserved */ -#ifndef TkpCmapStressed_TCL_DECLARED -#define TkpCmapStressed_TCL_DECLARED -/* 3 */ -EXTERN int TkpCmapStressed (Tk_Window tkwin, Colormap colormap); -#endif -#ifndef TkpSync_TCL_DECLARED -#define TkpSync_TCL_DECLARED -/* 4 */ -EXTERN void TkpSync (Display * display); -#endif -#ifndef TkUnixContainerId_TCL_DECLARED -#define TkUnixContainerId_TCL_DECLARED -/* 5 */ -EXTERN Window TkUnixContainerId (TkWindow * winPtr); -#endif -#ifndef TkUnixDoOneXEvent_TCL_DECLARED -#define TkUnixDoOneXEvent_TCL_DECLARED -/* 6 */ -EXTERN int TkUnixDoOneXEvent (Tcl_Time * timePtr); -#endif -#ifndef TkUnixSetMenubar_TCL_DECLARED -#define TkUnixSetMenubar_TCL_DECLARED -/* 7 */ -EXTERN void TkUnixSetMenubar (Tk_Window tkwin, Tk_Window menubar); -#endif -#ifndef TkpScanWindowId_TCL_DECLARED -#define TkpScanWindowId_TCL_DECLARED -/* 8 */ -EXTERN int TkpScanWindowId (Tcl_Interp * interp, - CONST char * string, Window * idPtr); -#endif -#ifndef TkWmCleanup_TCL_DECLARED -#define TkWmCleanup_TCL_DECLARED -/* 9 */ -EXTERN void TkWmCleanup (TkDisplay * dispPtr); -#endif -#ifndef TkSendCleanup_TCL_DECLARED -#define TkSendCleanup_TCL_DECLARED -/* 10 */ -EXTERN void TkSendCleanup (TkDisplay * dispPtr); -#endif -/* Slot 11 is reserved */ -#ifndef TkpWmSetState_TCL_DECLARED -#define TkpWmSetState_TCL_DECLARED -/* 12 */ -EXTERN int TkpWmSetState (TkWindow * winPtr, int state); -#endif -#ifndef TkpTestsendCmd_TCL_DECLARED -#define TkpTestsendCmd_TCL_DECLARED -/* 13 */ -EXTERN int TkpTestsendCmd (ClientData clientData, - Tcl_Interp * interp, int argc, - CONST char ** argv); -#endif -#endif /* X11 */ - -typedef struct TkIntPlatStubs { - int magic; - CONST struct TkIntPlatStubHooks *hooks; - -#ifdef __WIN32__ /* WIN */ - char * (*tkAlignImageData) (XImage * image, int alignment, int bitOrder); /* 0 */ - void *reserved1; - void (*tkGenerateActivateEvents) (TkWindow * winPtr, int active); /* 2 */ - unsigned long (*tkpGetMS) (void); /* 3 */ - void (*tkPointerDeadWindow) (TkWindow * winPtr); /* 4 */ - void (*tkpPrintWindowId) (char * buf, Window window); /* 5 */ - int (*tkpScanWindowId) (Tcl_Interp * interp, CONST char * string, Window * idPtr); /* 6 */ - void (*tkpSetCapture) (TkWindow * winPtr); /* 7 */ - void (*tkpSetCursor) (TkpCursor cursor); /* 8 */ - void (*tkpWmSetState) (TkWindow * winPtr, int state); /* 9 */ - void (*tkSetPixmapColormap) (Pixmap pixmap, Colormap colormap); /* 10 */ - void (*tkWinCancelMouseTimer) (void); /* 11 */ - void (*tkWinClipboardRender) (TkDisplay * dispPtr, UINT format); /* 12 */ - LRESULT (*tkWinEmbeddedEventProc) (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); /* 13 */ - void (*tkWinFillRect) (HDC dc, int x, int y, int width, int height, int pixel); /* 14 */ - COLORREF (*tkWinGetBorderPixels) (Tk_Window tkwin, Tk_3DBorder border, int which); /* 15 */ - HDC (*tkWinGetDrawableDC) (Display * display, Drawable d, TkWinDCState * state); /* 16 */ - int (*tkWinGetModifierState) (void); /* 17 */ - HPALETTE (*tkWinGetSystemPalette) (void); /* 18 */ - HWND (*tkWinGetWrapperWindow) (Tk_Window tkwin); /* 19 */ - int (*tkWinHandleMenuEvent) (HWND * phwnd, UINT * pMessage, WPARAM * pwParam, LPARAM * plParam, LRESULT * plResult); /* 20 */ - int (*tkWinIndexOfColor) (XColor * colorPtr); /* 21 */ - void (*tkWinReleaseDrawableDC) (Drawable d, HDC hdc, TkWinDCState * state); /* 22 */ - LRESULT (*tkWinResendEvent) (WNDPROC wndproc, HWND hwnd, XEvent * eventPtr); /* 23 */ - HPALETTE (*tkWinSelectPalette) (HDC dc, Colormap colormap); /* 24 */ - void (*tkWinSetMenu) (Tk_Window tkwin, HMENU hMenu); /* 25 */ - void (*tkWinSetWindowPos) (HWND hwnd, HWND siblingHwnd, int pos); /* 26 */ - void (*tkWinWmCleanup) (HINSTANCE hInstance); /* 27 */ - void (*tkWinXCleanup) (ClientData clientData); /* 28 */ - void (*tkWinXInit) (HINSTANCE hInstance); /* 29 */ - void (*tkWinSetForegroundWindow) (TkWindow * winPtr); /* 30 */ - void (*tkWinDialogDebug) (int debug); /* 31 */ - Tcl_Obj * (*tkWinGetMenuSystemDefault) (Tk_Window tkwin, CONST char * dbName, CONST char * className); /* 32 */ - int (*tkWinGetPlatformId) (void); /* 33 */ - void (*tkWinSetHINSTANCE) (HINSTANCE hInstance); /* 34 */ - int (*tkWinGetPlatformTheme) (void); /* 35 */ -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void (*tkGenerateActivateEvents) (TkWindow * winPtr, int active); /* 0 */ - void *reserved1; - void *reserved2; - void (*tkPointerDeadWindow) (TkWindow * winPtr); /* 3 */ - void (*tkpSetCapture) (TkWindow * winPtr); /* 4 */ - void (*tkpSetCursor) (TkpCursor cursor); /* 5 */ - void (*tkpWmSetState) (TkWindow * winPtr, int state); /* 6 */ - void (*tkAboutDlg) (void); /* 7 */ - unsigned int (*tkMacOSXButtonKeyState) (void); /* 8 */ - void (*tkMacOSXClearMenubarActive) (void); /* 9 */ - int (*tkMacOSXDispatchMenuEvent) (int menuID, int index); /* 10 */ - void (*tkMacOSXInstallCursor) (int resizeOverride); /* 11 */ - void (*tkMacOSXHandleTearoffMenu) (void); /* 12 */ - void *reserved13; - int (*tkMacOSXDoHLEvent) (EventRecord * theEvent); /* 14 */ - void *reserved15; - Window (*tkMacOSXGetXWindow) (WindowRef macWinPtr); /* 16 */ - int (*tkMacOSXGrowToplevel) (WindowRef whichWindow, Point start); /* 17 */ - void (*tkMacOSXHandleMenuSelect) (MenuID theMenu, MenuItemIndex theItem, int optionKeyPressed); /* 18 */ - void *reserved19; - void *reserved20; - void (*tkMacOSXInvalidateWindow) (MacDrawable * macWin, int flag); /* 21 */ - int (*tkMacOSXIsCharacterMissing) (Tk_Font tkfont, unsigned int searchChar); /* 22 */ - void (*tkMacOSXMakeRealWindowExist) (TkWindow * winPtr); /* 23 */ - BitMapPtr (*tkMacOSXMakeStippleMap) (Drawable d1, Drawable d2); /* 24 */ - void (*tkMacOSXMenuClick) (void); /* 25 */ - void (*tkMacOSXRegisterOffScreenWindow) (Window window, GWorldPtr portPtr); /* 26 */ - int (*tkMacOSXResizable) (TkWindow * winPtr); /* 27 */ - void (*tkMacOSXSetHelpMenuItemCount) (void); /* 28 */ - void (*tkMacOSXSetScrollbarGrow) (TkWindow * winPtr, int flag); /* 29 */ - void (*tkMacOSXSetUpClippingRgn) (Drawable drawable); /* 30 */ - void (*tkMacOSXSetUpGraphicsPort) (GC gc, GWorldPtr destPort); /* 31 */ - void (*tkMacOSXUpdateClipRgn) (TkWindow * winPtr); /* 32 */ - void (*tkMacOSXUnregisterMacWindow) (WindowRef portPtr); /* 33 */ - int (*tkMacOSXUseMenuID) (short macID); /* 34 */ - RgnHandle (*tkMacOSXVisableClipRgn) (TkWindow * winPtr); /* 35 */ - void (*tkMacOSXWinBounds) (TkWindow * winPtr, Rect * geometry); /* 36 */ - void (*tkMacOSXWindowOffset) (WindowRef wRef, int * xOffset, int * yOffset); /* 37 */ - int (*tkSetMacColor) (unsigned long pixel, RGBColor * macColor); /* 38 */ - void (*tkSetWMName) (TkWindow * winPtr, Tk_Uid titleUid); /* 39 */ - void (*tkSuspendClipboard) (void); /* 40 */ - int (*tkMacOSXZoomToplevel) (WindowPtr whichWindow, short zoomPart); /* 41 */ - Tk_Window (*tk_TopCoordsToWindow) (Tk_Window tkwin, int rootX, int rootY, int * newX, int * newY); /* 42 */ - MacDrawable * (*tkMacOSXContainerId) (TkWindow * winPtr); /* 43 */ - MacDrawable * (*tkMacOSXGetHostToplevel) (TkWindow * winPtr); /* 44 */ - void (*tkMacOSXPreprocessMenu) (void); /* 45 */ - int (*tkpIsWindowFloating) (WindowRef window); /* 46 */ - Tk_Window (*tkMacOSXGetCapture) (void); /* 47 */ - void *reserved48; - Window (*tkGetTransientMaster) (TkWindow * winPtr); /* 49 */ - int (*tkGenerateButtonEvent) (int x, int y, Window window, unsigned int state); /* 50 */ - void (*tkGenWMDestroyEvent) (Tk_Window tkwin); /* 51 */ - void *reserved52; - unsigned long (*tkpGetMS) (void); /* 53 */ -#endif /* AQUA */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ - void (*tkCreateXEventSource) (void); /* 0 */ - void *reserved1; - void *reserved2; - int (*tkpCmapStressed) (Tk_Window tkwin, Colormap colormap); /* 3 */ - void (*tkpSync) (Display * display); /* 4 */ - Window (*tkUnixContainerId) (TkWindow * winPtr); /* 5 */ - int (*tkUnixDoOneXEvent) (Tcl_Time * timePtr); /* 6 */ - void (*tkUnixSetMenubar) (Tk_Window tkwin, Tk_Window menubar); /* 7 */ - int (*tkpScanWindowId) (Tcl_Interp * interp, CONST char * string, Window * idPtr); /* 8 */ - void (*tkWmCleanup) (TkDisplay * dispPtr); /* 9 */ - void (*tkSendCleanup) (TkDisplay * dispPtr); /* 10 */ - void *reserved11; - int (*tkpWmSetState) (TkWindow * winPtr, int state); /* 12 */ - int (*tkpTestsendCmd) (ClientData clientData, Tcl_Interp * interp, int argc, CONST char ** argv); /* 13 */ -#endif /* X11 */ -} TkIntPlatStubs; - -#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) -extern CONST TkIntPlatStubs *tkIntPlatStubsPtr; -#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */ - -#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) - -/* - * Inline function declarations: - */ - -#ifdef __WIN32__ /* WIN */ -#ifndef TkAlignImageData -#define TkAlignImageData \ - (tkIntPlatStubsPtr->tkAlignImageData) /* 0 */ -#endif -/* Slot 1 is reserved */ -#ifndef TkGenerateActivateEvents -#define TkGenerateActivateEvents \ - (tkIntPlatStubsPtr->tkGenerateActivateEvents) /* 2 */ -#endif -#ifndef TkpGetMS -#define TkpGetMS \ - (tkIntPlatStubsPtr->tkpGetMS) /* 3 */ -#endif -#ifndef TkPointerDeadWindow -#define TkPointerDeadWindow \ - (tkIntPlatStubsPtr->tkPointerDeadWindow) /* 4 */ -#endif -#ifndef TkpPrintWindowId -#define TkpPrintWindowId \ - (tkIntPlatStubsPtr->tkpPrintWindowId) /* 5 */ -#endif -#ifndef TkpScanWindowId -#define TkpScanWindowId \ - (tkIntPlatStubsPtr->tkpScanWindowId) /* 6 */ -#endif -#ifndef TkpSetCapture -#define TkpSetCapture \ - (tkIntPlatStubsPtr->tkpSetCapture) /* 7 */ -#endif -#ifndef TkpSetCursor -#define TkpSetCursor \ - (tkIntPlatStubsPtr->tkpSetCursor) /* 8 */ -#endif -#ifndef TkpWmSetState -#define TkpWmSetState \ - (tkIntPlatStubsPtr->tkpWmSetState) /* 9 */ -#endif -#ifndef TkSetPixmapColormap -#define TkSetPixmapColormap \ - (tkIntPlatStubsPtr->tkSetPixmapColormap) /* 10 */ -#endif -#ifndef TkWinCancelMouseTimer -#define TkWinCancelMouseTimer \ - (tkIntPlatStubsPtr->tkWinCancelMouseTimer) /* 11 */ -#endif -#ifndef TkWinClipboardRender -#define TkWinClipboardRender \ - (tkIntPlatStubsPtr->tkWinClipboardRender) /* 12 */ -#endif -#ifndef TkWinEmbeddedEventProc -#define TkWinEmbeddedEventProc \ - (tkIntPlatStubsPtr->tkWinEmbeddedEventProc) /* 13 */ -#endif -#ifndef TkWinFillRect -#define TkWinFillRect \ - (tkIntPlatStubsPtr->tkWinFillRect) /* 14 */ -#endif -#ifndef TkWinGetBorderPixels -#define TkWinGetBorderPixels \ - (tkIntPlatStubsPtr->tkWinGetBorderPixels) /* 15 */ -#endif -#ifndef TkWinGetDrawableDC -#define TkWinGetDrawableDC \ - (tkIntPlatStubsPtr->tkWinGetDrawableDC) /* 16 */ -#endif -#ifndef TkWinGetModifierState -#define TkWinGetModifierState \ - (tkIntPlatStubsPtr->tkWinGetModifierState) /* 17 */ -#endif -#ifndef TkWinGetSystemPalette -#define TkWinGetSystemPalette \ - (tkIntPlatStubsPtr->tkWinGetSystemPalette) /* 18 */ -#endif -#ifndef TkWinGetWrapperWindow -#define TkWinGetWrapperWindow \ - (tkIntPlatStubsPtr->tkWinGetWrapperWindow) /* 19 */ -#endif -#ifndef TkWinHandleMenuEvent -#define TkWinHandleMenuEvent \ - (tkIntPlatStubsPtr->tkWinHandleMenuEvent) /* 20 */ -#endif -#ifndef TkWinIndexOfColor -#define TkWinIndexOfColor \ - (tkIntPlatStubsPtr->tkWinIndexOfColor) /* 21 */ -#endif -#ifndef TkWinReleaseDrawableDC -#define TkWinReleaseDrawableDC \ - (tkIntPlatStubsPtr->tkWinReleaseDrawableDC) /* 22 */ -#endif -#ifndef TkWinResendEvent -#define TkWinResendEvent \ - (tkIntPlatStubsPtr->tkWinResendEvent) /* 23 */ -#endif -#ifndef TkWinSelectPalette -#define TkWinSelectPalette \ - (tkIntPlatStubsPtr->tkWinSelectPalette) /* 24 */ -#endif -#ifndef TkWinSetMenu -#define TkWinSetMenu \ - (tkIntPlatStubsPtr->tkWinSetMenu) /* 25 */ -#endif -#ifndef TkWinSetWindowPos -#define TkWinSetWindowPos \ - (tkIntPlatStubsPtr->tkWinSetWindowPos) /* 26 */ -#endif -#ifndef TkWinWmCleanup -#define TkWinWmCleanup \ - (tkIntPlatStubsPtr->tkWinWmCleanup) /* 27 */ -#endif -#ifndef TkWinXCleanup -#define TkWinXCleanup \ - (tkIntPlatStubsPtr->tkWinXCleanup) /* 28 */ -#endif -#ifndef TkWinXInit -#define TkWinXInit \ - (tkIntPlatStubsPtr->tkWinXInit) /* 29 */ -#endif -#ifndef TkWinSetForegroundWindow -#define TkWinSetForegroundWindow \ - (tkIntPlatStubsPtr->tkWinSetForegroundWindow) /* 30 */ -#endif -#ifndef TkWinDialogDebug -#define TkWinDialogDebug \ - (tkIntPlatStubsPtr->tkWinDialogDebug) /* 31 */ -#endif -#ifndef TkWinGetMenuSystemDefault -#define TkWinGetMenuSystemDefault \ - (tkIntPlatStubsPtr->tkWinGetMenuSystemDefault) /* 32 */ -#endif -#ifndef TkWinGetPlatformId -#define TkWinGetPlatformId \ - (tkIntPlatStubsPtr->tkWinGetPlatformId) /* 33 */ -#endif -#ifndef TkWinSetHINSTANCE -#define TkWinSetHINSTANCE \ - (tkIntPlatStubsPtr->tkWinSetHINSTANCE) /* 34 */ -#endif -#ifndef TkWinGetPlatformTheme -#define TkWinGetPlatformTheme \ - (tkIntPlatStubsPtr->tkWinGetPlatformTheme) /* 35 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef TkGenerateActivateEvents -#define TkGenerateActivateEvents \ - (tkIntPlatStubsPtr->tkGenerateActivateEvents) /* 0 */ -#endif -/* Slot 1 is reserved */ -/* Slot 2 is reserved */ -#ifndef TkPointerDeadWindow -#define TkPointerDeadWindow \ - (tkIntPlatStubsPtr->tkPointerDeadWindow) /* 3 */ -#endif -#ifndef TkpSetCapture -#define TkpSetCapture \ - (tkIntPlatStubsPtr->tkpSetCapture) /* 4 */ -#endif -#ifndef TkpSetCursor -#define TkpSetCursor \ - (tkIntPlatStubsPtr->tkpSetCursor) /* 5 */ -#endif -#ifndef TkpWmSetState -#define TkpWmSetState \ - (tkIntPlatStubsPtr->tkpWmSetState) /* 6 */ -#endif -#ifndef TkAboutDlg -#define TkAboutDlg \ - (tkIntPlatStubsPtr->tkAboutDlg) /* 7 */ -#endif -#ifndef TkMacOSXButtonKeyState -#define TkMacOSXButtonKeyState \ - (tkIntPlatStubsPtr->tkMacOSXButtonKeyState) /* 8 */ -#endif -#ifndef TkMacOSXClearMenubarActive -#define TkMacOSXClearMenubarActive \ - (tkIntPlatStubsPtr->tkMacOSXClearMenubarActive) /* 9 */ -#endif -#ifndef TkMacOSXDispatchMenuEvent -#define TkMacOSXDispatchMenuEvent \ - (tkIntPlatStubsPtr->tkMacOSXDispatchMenuEvent) /* 10 */ -#endif -#ifndef TkMacOSXInstallCursor -#define TkMacOSXInstallCursor \ - (tkIntPlatStubsPtr->tkMacOSXInstallCursor) /* 11 */ -#endif -#ifndef TkMacOSXHandleTearoffMenu -#define TkMacOSXHandleTearoffMenu \ - (tkIntPlatStubsPtr->tkMacOSXHandleTearoffMenu) /* 12 */ -#endif -/* Slot 13 is reserved */ -#ifndef TkMacOSXDoHLEvent -#define TkMacOSXDoHLEvent \ - (tkIntPlatStubsPtr->tkMacOSXDoHLEvent) /* 14 */ -#endif -/* Slot 15 is reserved */ -#ifndef TkMacOSXGetXWindow -#define TkMacOSXGetXWindow \ - (tkIntPlatStubsPtr->tkMacOSXGetXWindow) /* 16 */ -#endif -#ifndef TkMacOSXGrowToplevel -#define TkMacOSXGrowToplevel \ - (tkIntPlatStubsPtr->tkMacOSXGrowToplevel) /* 17 */ -#endif -#ifndef TkMacOSXHandleMenuSelect -#define TkMacOSXHandleMenuSelect \ - (tkIntPlatStubsPtr->tkMacOSXHandleMenuSelect) /* 18 */ -#endif -/* Slot 19 is reserved */ -/* Slot 20 is reserved */ -#ifndef TkMacOSXInvalidateWindow -#define TkMacOSXInvalidateWindow \ - (tkIntPlatStubsPtr->tkMacOSXInvalidateWindow) /* 21 */ -#endif -#ifndef TkMacOSXIsCharacterMissing -#define TkMacOSXIsCharacterMissing \ - (tkIntPlatStubsPtr->tkMacOSXIsCharacterMissing) /* 22 */ -#endif -#ifndef TkMacOSXMakeRealWindowExist -#define TkMacOSXMakeRealWindowExist \ - (tkIntPlatStubsPtr->tkMacOSXMakeRealWindowExist) /* 23 */ -#endif -#ifndef TkMacOSXMakeStippleMap -#define TkMacOSXMakeStippleMap \ - (tkIntPlatStubsPtr->tkMacOSXMakeStippleMap) /* 24 */ -#endif -#ifndef TkMacOSXMenuClick -#define TkMacOSXMenuClick \ - (tkIntPlatStubsPtr->tkMacOSXMenuClick) /* 25 */ -#endif -#ifndef TkMacOSXRegisterOffScreenWindow -#define TkMacOSXRegisterOffScreenWindow \ - (tkIntPlatStubsPtr->tkMacOSXRegisterOffScreenWindow) /* 26 */ -#endif -#ifndef TkMacOSXResizable -#define TkMacOSXResizable \ - (tkIntPlatStubsPtr->tkMacOSXResizable) /* 27 */ -#endif -#ifndef TkMacOSXSetHelpMenuItemCount -#define TkMacOSXSetHelpMenuItemCount \ - (tkIntPlatStubsPtr->tkMacOSXSetHelpMenuItemCount) /* 28 */ -#endif -#ifndef TkMacOSXSetScrollbarGrow -#define TkMacOSXSetScrollbarGrow \ - (tkIntPlatStubsPtr->tkMacOSXSetScrollbarGrow) /* 29 */ -#endif -#ifndef TkMacOSXSetUpClippingRgn -#define TkMacOSXSetUpClippingRgn \ - (tkIntPlatStubsPtr->tkMacOSXSetUpClippingRgn) /* 30 */ -#endif -#ifndef TkMacOSXSetUpGraphicsPort -#define TkMacOSXSetUpGraphicsPort \ - (tkIntPlatStubsPtr->tkMacOSXSetUpGraphicsPort) /* 31 */ -#endif -#ifndef TkMacOSXUpdateClipRgn -#define TkMacOSXUpdateClipRgn \ - (tkIntPlatStubsPtr->tkMacOSXUpdateClipRgn) /* 32 */ -#endif -#ifndef TkMacOSXUnregisterMacWindow -#define TkMacOSXUnregisterMacWindow \ - (tkIntPlatStubsPtr->tkMacOSXUnregisterMacWindow) /* 33 */ -#endif -#ifndef TkMacOSXUseMenuID -#define TkMacOSXUseMenuID \ - (tkIntPlatStubsPtr->tkMacOSXUseMenuID) /* 34 */ -#endif -#ifndef TkMacOSXVisableClipRgn -#define TkMacOSXVisableClipRgn \ - (tkIntPlatStubsPtr->tkMacOSXVisableClipRgn) /* 35 */ -#endif -#ifndef TkMacOSXWinBounds -#define TkMacOSXWinBounds \ - (tkIntPlatStubsPtr->tkMacOSXWinBounds) /* 36 */ -#endif -#ifndef TkMacOSXWindowOffset -#define TkMacOSXWindowOffset \ - (tkIntPlatStubsPtr->tkMacOSXWindowOffset) /* 37 */ -#endif -#ifndef TkSetMacColor -#define TkSetMacColor \ - (tkIntPlatStubsPtr->tkSetMacColor) /* 38 */ -#endif -#ifndef TkSetWMName -#define TkSetWMName \ - (tkIntPlatStubsPtr->tkSetWMName) /* 39 */ -#endif -#ifndef TkSuspendClipboard -#define TkSuspendClipboard \ - (tkIntPlatStubsPtr->tkSuspendClipboard) /* 40 */ -#endif -#ifndef TkMacOSXZoomToplevel -#define TkMacOSXZoomToplevel \ - (tkIntPlatStubsPtr->tkMacOSXZoomToplevel) /* 41 */ -#endif -#ifndef Tk_TopCoordsToWindow -#define Tk_TopCoordsToWindow \ - (tkIntPlatStubsPtr->tk_TopCoordsToWindow) /* 42 */ -#endif -#ifndef TkMacOSXContainerId -#define TkMacOSXContainerId \ - (tkIntPlatStubsPtr->tkMacOSXContainerId) /* 43 */ -#endif -#ifndef TkMacOSXGetHostToplevel -#define TkMacOSXGetHostToplevel \ - (tkIntPlatStubsPtr->tkMacOSXGetHostToplevel) /* 44 */ -#endif -#ifndef TkMacOSXPreprocessMenu -#define TkMacOSXPreprocessMenu \ - (tkIntPlatStubsPtr->tkMacOSXPreprocessMenu) /* 45 */ -#endif -#ifndef TkpIsWindowFloating -#define TkpIsWindowFloating \ - (tkIntPlatStubsPtr->tkpIsWindowFloating) /* 46 */ -#endif -#ifndef TkMacOSXGetCapture -#define TkMacOSXGetCapture \ - (tkIntPlatStubsPtr->tkMacOSXGetCapture) /* 47 */ -#endif -/* Slot 48 is reserved */ -#ifndef TkGetTransientMaster -#define TkGetTransientMaster \ - (tkIntPlatStubsPtr->tkGetTransientMaster) /* 49 */ -#endif -#ifndef TkGenerateButtonEvent -#define TkGenerateButtonEvent \ - (tkIntPlatStubsPtr->tkGenerateButtonEvent) /* 50 */ -#endif -#ifndef TkGenWMDestroyEvent -#define TkGenWMDestroyEvent \ - (tkIntPlatStubsPtr->tkGenWMDestroyEvent) /* 51 */ -#endif -/* Slot 52 is reserved */ -#ifndef TkpGetMS -#define TkpGetMS \ - (tkIntPlatStubsPtr->tkpGetMS) /* 53 */ -#endif -#endif /* AQUA */ -#if !(defined(__WIN32__) || defined(MAC_OSX_TK)) /* X11 */ -#ifndef TkCreateXEventSource -#define TkCreateXEventSource \ - (tkIntPlatStubsPtr->tkCreateXEventSource) /* 0 */ -#endif -/* Slot 1 is reserved */ -/* Slot 2 is reserved */ -#ifndef TkpCmapStressed -#define TkpCmapStressed \ - (tkIntPlatStubsPtr->tkpCmapStressed) /* 3 */ -#endif -#ifndef TkpSync -#define TkpSync \ - (tkIntPlatStubsPtr->tkpSync) /* 4 */ -#endif -#ifndef TkUnixContainerId -#define TkUnixContainerId \ - (tkIntPlatStubsPtr->tkUnixContainerId) /* 5 */ -#endif -#ifndef TkUnixDoOneXEvent -#define TkUnixDoOneXEvent \ - (tkIntPlatStubsPtr->tkUnixDoOneXEvent) /* 6 */ -#endif -#ifndef TkUnixSetMenubar -#define TkUnixSetMenubar \ - (tkIntPlatStubsPtr->tkUnixSetMenubar) /* 7 */ -#endif -#ifndef TkpScanWindowId -#define TkpScanWindowId \ - (tkIntPlatStubsPtr->tkpScanWindowId) /* 8 */ -#endif -#ifndef TkWmCleanup -#define TkWmCleanup \ - (tkIntPlatStubsPtr->tkWmCleanup) /* 9 */ -#endif -#ifndef TkSendCleanup -#define TkSendCleanup \ - (tkIntPlatStubsPtr->tkSendCleanup) /* 10 */ -#endif -/* Slot 11 is reserved */ -#ifndef TkpWmSetState -#define TkpWmSetState \ - (tkIntPlatStubsPtr->tkpWmSetState) /* 12 */ -#endif -#ifndef TkpTestsendCmd -#define TkpTestsendCmd \ - (tkIntPlatStubsPtr->tkpTestsendCmd) /* 13 */ -#endif -#endif /* X11 */ - -#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */ - -/* !END!: Do not edit above this line. */ - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKINTPLATDECLS */ diff --git a/src/other/togl/include/tcltk/tk8.6/tkMacOSXDefault.h b/src/other/togl/include/tcltk/tk8.6/tkMacOSXDefault.h deleted file mode 100644 index 5cfd57739c8..00000000000 --- a/src/other/togl/include/tcltk/tk8.6/tkMacOSXDefault.h +++ /dev/null @@ -1,550 +0,0 @@ -/* - * tkMacOSXDefault.h -- - * - * This file defines the defaults for all options for all of - * the Tk widgets. - * - * Copyright (c) 1991-1994 The Regents of the University of California. - * Copyright (c) 1994-1997 Sun Microsystems, Inc. - * Copyright 2001, Apple Computer, Inc. - * Copyright (c) 2006-2007 Daniel A. Steffen - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKMACDEFAULT -#define _TKMACDEFAULT - -/* - * The definitions below provide symbolic names for the default colors. - * NORMAL_BG - Normal background color. - * ACTIVE_BG - Background color when widget is active. - * SELECT_BG - Background color for selected text. - * SELECT_FG - Foreground color for selected text. - * TROUGH - Background color for troughs in scales and scrollbars. - * INDICATOR - Color for indicator when button is selected. - * DISABLED - Foreground color when widget is disabled. - */ - -#define BLACK "Black" -#define WHITE "White" -#define NORMAL_BG "systemWindowBody" -#define ACTIVE_BG "systemButtonFacePressed" -#define ACTIVE_FG "systemPushButtonPressedText" -#define SELECT_BG "systemHighlight" -#define SELECT_FG None -#define INACTIVE_SELECT_BG "systemHighlightSecondary" -#define TROUGH "#c3c3c3" -#define INDICATOR "#b03060" -#define DISABLED "#a3a3a3" - -/* - * Defaults for labels, buttons, checkbuttons, and radiobuttons: - */ - -#define DEF_BUTTON_ANCHOR "center" -#define DEF_BUTTON_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_BUTTON_ACTIVE_BG_MONO BLACK -#define DEF_BUTTON_ACTIVE_FG_COLOR ACTIVE_FG -#define DEF_CHKRAD_ACTIVE_FG_COLOR DEF_BUTTON_ACTIVE_FG_COLOR -#define DEF_BUTTON_ACTIVE_FG_MONO WHITE -/* #define DEF_BUTTON_BG_COLOR "systemButtonFace"*/ -#define DEF_BUTTON_BG_COLOR WHITE -#define DEF_BUTTON_BG_MONO WHITE -#define DEF_BUTTON_BITMAP "" -#define DEF_BUTTON_BORDER_WIDTH "2" -#define DEF_BUTTON_CURSOR "" -#define DEF_BUTTON_COMMAND "" -#define DEF_BUTTON_COMPOUND "none" -#define DEF_BUTTON_DEFAULT "disabled" -#define DEF_BUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_BUTTON_DISABLED_FG_MONO "" -#define DEF_BUTTON_FG "systemButtonText" -#define DEF_CHKRAD_FG DEF_BUTTON_FG -#define DEF_BUTTON_FONT "TkDefaultFont" -#define DEF_BUTTON_HEIGHT "0" -#define DEF_BUTTON_HIGHLIGHT_BG_COLOR DEF_BUTTON_BG_COLOR -#define DEF_BUTTON_HIGHLIGHT_BG_MONO DEF_BUTTON_BG_MONO -#define DEF_BUTTON_HIGHLIGHT "systemButtonFrame" -#define DEF_LABEL_HIGHLIGHT_WIDTH "0" -#define DEF_BUTTON_HIGHLIGHT_WIDTH "4" -#define DEF_BUTTON_IMAGE (char *) NULL -#define DEF_BUTTON_INDICATOR "1" -#define DEF_BUTTON_JUSTIFY "center" -#define DEF_BUTTON_OFF_VALUE "0" -#define DEF_BUTTON_ON_VALUE "1" -#define DEF_BUTTON_TRISTATE_VALUE "" -#define DEF_BUTTON_OVER_RELIEF "" -#define DEF_BUTTON_PADX "12" -#define DEF_LABCHKRAD_PADX "1" -#define DEF_BUTTON_PADY "3" -#define DEF_LABCHKRAD_PADY "1" -#define DEF_BUTTON_RELIEF "flat" -#define DEF_LABCHKRAD_RELIEF "flat" -#define DEF_BUTTON_REPEAT_DELAY "0" -#define DEF_BUTTON_REPEAT_INTERVAL "0" -#define DEF_BUTTON_SELECT_COLOR INDICATOR -#define DEF_BUTTON_SELECT_MONO BLACK -#define DEF_BUTTON_SELECT_IMAGE (char *) NULL -#define DEF_BUTTON_STATE "normal" -#define DEF_LABEL_TAKE_FOCUS "0" -#define DEF_BUTTON_TAKE_FOCUS (char *) NULL -#define DEF_BUTTON_TEXT "" -#define DEF_BUTTON_TEXT_VARIABLE "" -#define DEF_BUTTON_UNDERLINE "-1" -#define DEF_BUTTON_VALUE "" -#define DEF_BUTTON_WIDTH "0" -#define DEF_BUTTON_WRAP_LENGTH "0" -#define DEF_RADIOBUTTON_VARIABLE "selectedButton" -#define DEF_CHECKBUTTON_VARIABLE "" - -/* - * Defaults for canvases: - */ - -#define DEF_CANVAS_BG_COLOR NORMAL_BG -#define DEF_CANVAS_BG_MONO WHITE -#define DEF_CANVAS_BORDER_WIDTH "0" -#define DEF_CANVAS_CLOSE_ENOUGH "1" -#define DEF_CANVAS_CONFINE "1" -#define DEF_CANVAS_CURSOR "" -#define DEF_CANVAS_HEIGHT "7c" -#define DEF_CANVAS_HIGHLIGHT_BG NORMAL_BG -#define DEF_CANVAS_HIGHLIGHT BLACK -#define DEF_CANVAS_HIGHLIGHT_WIDTH "3" -#define DEF_CANVAS_INSERT_BG BLACK -#define DEF_CANVAS_INSERT_BD_COLOR "0" -#define DEF_CANVAS_INSERT_BD_MONO "0" -#define DEF_CANVAS_INSERT_OFF_TIME "300" -#define DEF_CANVAS_INSERT_ON_TIME "600" -#define DEF_CANVAS_INSERT_WIDTH "2" -#define DEF_CANVAS_RELIEF "flat" -#define DEF_CANVAS_SCROLL_REGION "" -#define DEF_CANVAS_SELECT_COLOR SELECT_BG -#define DEF_CANVAS_SELECT_MONO BLACK -#define DEF_CANVAS_SELECT_BD_COLOR "1" -#define DEF_CANVAS_SELECT_BD_MONO "0" -#define DEF_CANVAS_SELECT_FG_COLOR SELECT_FG -#define DEF_CANVAS_SELECT_FG_MONO WHITE -#define DEF_CANVAS_TAKE_FOCUS (char *) NULL -#define DEF_CANVAS_WIDTH "10c" -#define DEF_CANVAS_X_SCROLL_CMD "" -#define DEF_CANVAS_X_SCROLL_INCREMENT "0" -#define DEF_CANVAS_Y_SCROLL_CMD "" -#define DEF_CANVAS_Y_SCROLL_INCREMENT "0" - -/* - * Defaults for entries: - */ - -/* - * I test the following two values in TkpDrawEntryBorderAndFocus - * to determine whether to use the native entry widget. So if - * you change the defaults to be different from these, then you - * won't get the native widget by default. - */ - -#define MAC_OSX_FOCUS_WIDTH 3 -#define MAC_OSX_ENTRY_BORDER 2 -#define MAC_OSX_ENTRY_RELIEF TK_RELIEF_SUNKEN -#define MAC_OSX_ENTRY_SELECT_RELIEF TK_RELIEF_FLAT - -#define DEF_ENTRY_BG_COLOR NORMAL_BG -#define DEF_ENTRY_BG_MONO WHITE -#define DEF_ENTRY_BORDER_WIDTH "2" -#define DEF_ENTRY_CURSOR "xterm" -#define DEF_ENTRY_DISABLED_BG_COLOR NORMAL_BG -#define DEF_ENTRY_DISABLED_BG_MONO WHITE -#define DEF_ENTRY_DISABLED_FG DISABLED -#define DEF_ENTRY_EXPORT_SELECTION "1" -#define DEF_ENTRY_FONT "TkTextFont" -#define DEF_ENTRY_FG BLACK -#define DEF_ENTRY_HIGHLIGHT_BG NORMAL_BG -#define DEF_ENTRY_HIGHLIGHT BLACK -/* #define DEF_ENTRY_HIGHLIGHT_WIDTH "3" */ -#define DEF_ENTRY_HIGHLIGHT_WIDTH "3" -#define DEF_ENTRY_INSERT_BG BLACK -#define DEF_ENTRY_INSERT_BD_COLOR "0" -#define DEF_ENTRY_INSERT_BD_MONO "0" -#define DEF_ENTRY_INSERT_OFF_TIME "300" -#define DEF_ENTRY_INSERT_ON_TIME "600" -/* #define DEF_ENTRY_INSERT_WIDTH "2" */ -#define DEF_ENTRY_INSERT_WIDTH "1" -#define DEF_ENTRY_JUSTIFY "left" -#define DEF_ENTRY_READONLY_BG_COLOR NORMAL_BG -#define DEF_ENTRY_READONLY_BG_MONO WHITE -#define DEF_ENTRY_RELIEF "sunken" -/* #define DEF_ENTRY_RELIEF "solid" */ -#define DEF_ENTRY_SCROLL_COMMAND "" -#define DEF_ENTRY_SELECT_COLOR SELECT_BG -#define DEF_ENTRY_SELECT_MONO BLACK -#define DEF_ENTRY_SELECT_BD_COLOR "1" -#define DEF_ENTRY_SELECT_BD_MONO "0" -#define DEF_ENTRY_SELECT_FG_COLOR SELECT_FG -#define DEF_ENTRY_SELECT_FG_MONO WHITE -#define DEF_ENTRY_SHOW (char *) NULL -#define DEF_ENTRY_STATE "normal" -#define DEF_ENTRY_TAKE_FOCUS (char *) NULL -#define DEF_ENTRY_TEXT_VARIABLE "" -#define DEF_ENTRY_WIDTH "20" - -/* - * Defaults for frames: - */ - -#define DEF_FRAME_BG_COLOR NORMAL_BG -#define DEF_FRAME_BG_MONO WHITE -#define DEF_FRAME_BORDER_WIDTH "0" -#define DEF_FRAME_CLASS "Frame" -#define DEF_FRAME_COLORMAP "" -#define DEF_FRAME_CONTAINER "0" -#define DEF_FRAME_CURSOR "" -#define DEF_FRAME_HEIGHT "0" -#define DEF_FRAME_HIGHLIGHT_BG NORMAL_BG -#define DEF_FRAME_HIGHLIGHT BLACK -#define DEF_FRAME_HIGHLIGHT_WIDTH "0" -#define DEF_FRAME_PADX "0" -#define DEF_FRAME_PADY "0" -#define DEF_FRAME_RELIEF "flat" -#define DEF_FRAME_TAKE_FOCUS "0" -#define DEF_FRAME_VISUAL "" -#define DEF_FRAME_WIDTH "0" - -/* - * Defaults for labelframes: - */ - -#define DEF_LABELFRAME_BORDER_WIDTH "2" -#define DEF_LABELFRAME_CLASS "Labelframe" -#define DEF_LABELFRAME_RELIEF "groove" -#define DEF_LABELFRAME_FG "systemButtonText" -#define DEF_LABELFRAME_FONT "TkDefaultFont" -#define DEF_LABELFRAME_TEXT "" -#define DEF_LABELFRAME_LABELANCHOR "nw" - -/* - * Defaults for listboxes: - */ - -#define DEF_LISTBOX_ACTIVE_STYLE "dotbox" -#define DEF_LISTBOX_BG_COLOR WHITE -#define DEF_LISTBOX_BG_MONO WHITE -#define DEF_LISTBOX_BORDER_WIDTH "1" -#define DEF_LISTBOX_CURSOR "" -#define DEF_LISTBOX_DISABLED_FG DISABLED -#define DEF_LISTBOX_EXPORT_SELECTION "1" -#define DEF_LISTBOX_FONT "TkTextFont" -#define DEF_LISTBOX_FG BLACK -#define DEF_LISTBOX_HEIGHT "10" -#define DEF_LISTBOX_HIGHLIGHT_BG NORMAL_BG -#define DEF_LISTBOX_HIGHLIGHT BLACK -#define DEF_LISTBOX_HIGHLIGHT_WIDTH "0" -#define DEF_LISTBOX_RELIEF "solid" -#define DEF_LISTBOX_SCROLL_COMMAND "" -#define DEF_LISTBOX_LIST_VARIABLE "" -#define DEF_LISTBOX_SELECT_COLOR SELECT_BG -#define DEF_LISTBOX_SELECT_MONO BLACK -#define DEF_LISTBOX_SELECT_BD "0" -#define DEF_LISTBOX_SELECT_FG_COLOR SELECT_FG -#define DEF_LISTBOX_SELECT_FG_MONO WHITE -#define DEF_LISTBOX_SELECT_MODE "browse" -#define DEF_LISTBOX_SET_GRID "0" -#define DEF_LISTBOX_STATE "normal" -#define DEF_LISTBOX_TAKE_FOCUS (char *) NULL -#define DEF_LISTBOX_WIDTH "20" - -/* - * Defaults for individual entries of menus: - */ - -#define DEF_MENU_ENTRY_ACTIVE_BG (char *) NULL -#define DEF_MENU_ENTRY_ACTIVE_FG (char *) NULL -#define DEF_MENU_ENTRY_ACCELERATOR (char *) NULL -#define DEF_MENU_ENTRY_BG (char *) NULL -#define DEF_MENU_ENTRY_BITMAP None -#define DEF_MENU_ENTRY_COLUMN_BREAK "0" -#define DEF_MENU_ENTRY_COMMAND (char *) NULL -#define DEF_MENU_ENTRY_COMPOUND "none" -#define DEF_MENU_ENTRY_FG (char *) NULL -#define DEF_MENU_ENTRY_FONT (char *) NULL -#define DEF_MENU_ENTRY_HIDE_MARGIN "0" -#define DEF_MENU_ENTRY_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_INDICATOR "1" -#define DEF_MENU_ENTRY_LABEL (char *) NULL -#define DEF_MENU_ENTRY_MENU (char *) NULL -#define DEF_MENU_ENTRY_OFF_VALUE "0" -#define DEF_MENU_ENTRY_ON_VALUE "1" -#define DEF_MENU_ENTRY_SELECT_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_STATE "normal" -#define DEF_MENU_ENTRY_VALUE (char *) NULL -#define DEF_MENU_ENTRY_CHECK_VARIABLE (char *) NULL -#define DEF_MENU_ENTRY_RADIO_VARIABLE "selectedButton" -#define DEF_MENU_ENTRY_SELECT (char *) NULL -#define DEF_MENU_ENTRY_UNDERLINE "-1" - -/* - * Defaults for menus overall: - */ - -#define DEF_MENU_ACTIVE_BG_COLOR "systemMenuActive" -#define DEF_MENU_ACTIVE_BG_MONO BLACK -#define DEF_MENU_ACTIVE_BORDER_WIDTH "0" -#define DEF_MENU_ACTIVE_FG_COLOR "systemMenuActiveText" -#define DEF_MENU_ACTIVE_FG_MONO WHITE -#define DEF_MENU_BG_COLOR "systemMenu" -#define DEF_MENU_BG_MONO WHITE -#define DEF_MENU_BORDER_WIDTH "0" -#define DEF_MENU_CURSOR "arrow" -#define DEF_MENU_DISABLED_FG_COLOR "systemMenuDisabled" -#define DEF_MENU_DISABLED_FG_MONO "" -#define DEF_MENU_FONT "menu" /* special: see tkMacOSXMenu.c */ -#define DEF_MENU_FG "systemMenuText" -#define DEF_MENU_POST_COMMAND "" -#define DEF_MENU_RELIEF "flat" -#define DEF_MENU_SELECT_COLOR "systemMenuActive" -#define DEF_MENU_SELECT_MONO BLACK -#define DEF_MENU_TAKE_FOCUS "0" - -/* - * FIXME: Turn the default back to 1 when we make tearoff menus work again. - */ - -#define DEF_MENU_TEAROFF "0" -#define DEF_MENU_TEAROFF_CMD (char *) NULL -#define DEF_MENU_TITLE "" -#define DEF_MENU_TYPE "normal" - -/* - * Defaults for menubuttons: - */ - -#define DEF_MENUBUTTON_ANCHOR "center" -#define DEF_MENUBUTTON_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_MENUBUTTON_ACTIVE_BG_MONO BLACK -#define DEF_MENUBUTTON_ACTIVE_FG_COLOR ACTIVE_FG -#define DEF_MENUBUTTON_ACTIVE_FG_MONO WHITE -#define DEF_MENUBUTTON_BG_COLOR NORMAL_BG -#define DEF_MENUBUTTON_BG_MONO WHITE -#define DEF_MENUBUTTON_BITMAP "" -#define DEF_MENUBUTTON_BORDER_WIDTH "2" -#define DEF_MENUBUTTON_CURSOR "" -#define DEF_MENUBUTTON_DIRECTION "below" -#define DEF_MENUBUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_MENUBUTTON_DISABLED_FG_MONO "" -#define DEF_MENUBUTTON_FONT "TkDefaultFont" -#define DEF_MENUBUTTON_FG BLACK -#define DEF_MENUBUTTON_HEIGHT "0" -#define DEF_MENUBUTTON_HIGHLIGHT_BG_COLOR DEF_MENUBUTTON_BG_COLOR -#define DEF_MENUBUTTON_HIGHLIGHT_BG_MONO DEF_MENUBUTTON_BG_MONO -#define DEF_MENUBUTTON_HIGHLIGHT BLACK -#define DEF_MENUBUTTON_HIGHLIGHT_WIDTH "0" -#define DEF_MENUBUTTON_IMAGE (char *) NULL -#define DEF_MENUBUTTON_INDICATOR "0" -/* #define DEF_MENUBUTTON_JUSTIFY "center" */ -#define DEF_MENUBUTTON_JUSTIFY "left" -#define DEF_MENUBUTTON_MENU "" -#define DEF_MENUBUTTON_PADX "4p" -#define DEF_MENUBUTTON_PADY "3p" -#define DEF_MENUBUTTON_RELIEF "flat" -#define DEF_MENUBUTTON_STATE "normal" -#define DEF_MENUBUTTON_TAKE_FOCUS "0" -#define DEF_MENUBUTTON_TEXT "" -#define DEF_MENUBUTTON_TEXT_VARIABLE "" -#define DEF_MENUBUTTON_UNDERLINE "-1" -#define DEF_MENUBUTTON_WIDTH "0" -#define DEF_MENUBUTTON_WRAP_LENGTH "0" - -/* - * Defaults for messages: - */ - -#define DEF_MESSAGE_ANCHOR "center" -#define DEF_MESSAGE_ASPECT "150" -#define DEF_MESSAGE_BG_COLOR NORMAL_BG -#define DEF_MESSAGE_BG_MONO WHITE -#define DEF_MESSAGE_BORDER_WIDTH "1" -#define DEF_MESSAGE_CURSOR "" -#define DEF_MESSAGE_FG BLACK -#define DEF_MESSAGE_FONT "TkDefaultFont" -#define DEF_MESSAGE_HIGHLIGHT_BG NORMAL_BG -#define DEF_MESSAGE_HIGHLIGHT BLACK -#define DEF_MESSAGE_HIGHLIGHT_WIDTH "0" -#define DEF_MESSAGE_JUSTIFY "left" -#define DEF_MESSAGE_PADX "-1" -#define DEF_MESSAGE_PADY "-1" -#define DEF_MESSAGE_RELIEF "flat" -#define DEF_MESSAGE_TAKE_FOCUS "0" -#define DEF_MESSAGE_TEXT "" -#define DEF_MESSAGE_TEXT_VARIABLE "" -#define DEF_MESSAGE_WIDTH "0" -/* - * Defaults for panedwindows - */ - -#define DEF_PANEDWINDOW_BG_COLOR NORMAL_BG -#define DEF_PANEDWINDOW_BG_MONO WHITE -#define DEF_PANEDWINDOW_BORDERWIDTH "1" -#define DEF_PANEDWINDOW_CURSOR "" -#define DEF_PANEDWINDOW_HANDLEPAD "8" -#define DEF_PANEDWINDOW_HANDLESIZE "8" -#define DEF_PANEDWINDOW_HEIGHT "" -#define DEF_PANEDWINDOW_OPAQUERESIZE "1" -#define DEF_PANEDWINDOW_ORIENT "horizontal" -#define DEF_PANEDWINDOW_RELIEF "flat" -#define DEF_PANEDWINDOW_SASHCURSOR "" -#define DEF_PANEDWINDOW_SASHPAD "0" -#define DEF_PANEDWINDOW_SASHRELIEF "flat" -#define DEF_PANEDWINDOW_SASHWIDTH "3" -#define DEF_PANEDWINDOW_SHOWHANDLE "0" -#define DEF_PANEDWINDOW_WIDTH "" - -/* - * Defaults for panedwindow panes - */ - -#define DEF_PANEDWINDOW_PANE_AFTER "" -#define DEF_PANEDWINDOW_PANE_BEFORE "" -#define DEF_PANEDWINDOW_PANE_HEIGHT "" -#define DEF_PANEDWINDOW_PANE_MINSIZE "0" -#define DEF_PANEDWINDOW_PANE_PADX "0" -#define DEF_PANEDWINDOW_PANE_PADY "0" -#define DEF_PANEDWINDOW_PANE_STICKY "nsew" -#define DEF_PANEDWINDOW_PANE_WIDTH "" -#define DEF_PANEDWINDOW_PANE_HIDE "0" -#define DEF_PANEDWINDOW_PANE_STRETCH "last" - -/* - * Defaults for scales: - */ - -#define DEF_SCALE_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCALE_ACTIVE_BG_MONO BLACK -#define DEF_SCALE_BG_COLOR NORMAL_BG -#define DEF_SCALE_BG_MONO WHITE -#define DEF_SCALE_BIG_INCREMENT "0" -#define DEF_SCALE_BORDER_WIDTH "1" -#define DEF_SCALE_COMMAND "" -#define DEF_SCALE_CURSOR "" -#define DEF_SCALE_DIGITS "0" -#define DEF_SCALE_FONT "TkDefaultFont" -#define DEF_SCALE_FG_COLOR BLACK -#define DEF_SCALE_FG_MONO BLACK -#define DEF_SCALE_FROM "0" -#define DEF_SCALE_HIGHLIGHT_BG_COLOR DEF_SCALE_BG_COLOR -#define DEF_SCALE_HIGHLIGHT_BG_MONO DEF_SCALE_BG_MONO -#define DEF_SCALE_HIGHLIGHT BLACK -#define DEF_SCALE_HIGHLIGHT_WIDTH "0" -#define DEF_SCALE_LABEL "" -#define DEF_SCALE_LENGTH "100" -#define DEF_SCALE_ORIENT "vertical" -#define DEF_SCALE_RELIEF "flat" -#define DEF_SCALE_REPEAT_DELAY "300" -#define DEF_SCALE_REPEAT_INTERVAL "100" -#define DEF_SCALE_RESOLUTION "1" -#define DEF_SCALE_TROUGH_COLOR TROUGH -#define DEF_SCALE_TROUGH_MONO WHITE -#define DEF_SCALE_SHOW_VALUE "1" -#define DEF_SCALE_SLIDER_LENGTH "30" -#define DEF_SCALE_SLIDER_RELIEF "raised" -#define DEF_SCALE_STATE "normal" -#define DEF_SCALE_TAKE_FOCUS (char *) NULL -#define DEF_SCALE_TICK_INTERVAL "0" -#define DEF_SCALE_TO "100" -#define DEF_SCALE_VARIABLE "" -#define DEF_SCALE_WIDTH "15" - -/* - * Defaults for scrollbars: - */ - -#define DEF_SCROLLBAR_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCROLLBAR_ACTIVE_BG_MONO BLACK -#define DEF_SCROLLBAR_ACTIVE_RELIEF "raised" -#define DEF_SCROLLBAR_BG_COLOR NORMAL_BG -#define DEF_SCROLLBAR_BG_MONO WHITE -#define DEF_SCROLLBAR_BORDER_WIDTH "0" -#define DEF_SCROLLBAR_COMMAND "" -#define DEF_SCROLLBAR_CURSOR "" -#define DEF_SCROLLBAR_EL_BORDER_WIDTH "-1" -#define DEF_SCROLLBAR_HIGHLIGHT_BG NORMAL_BG -#define DEF_SCROLLBAR_HIGHLIGHT BLACK -#define DEF_SCROLLBAR_HIGHLIGHT_WIDTH "0" -#define DEF_SCROLLBAR_JUMP "0" -#define DEF_SCROLLBAR_ORIENT "vertical" -#define DEF_SCROLLBAR_RELIEF "flat" -#define DEF_SCROLLBAR_REPEAT_DELAY "300" -#define DEF_SCROLLBAR_REPEAT_INTERVAL "100" -#define DEF_SCROLLBAR_TAKE_FOCUS (char *) NULL -#define DEF_SCROLLBAR_TROUGH_COLOR TROUGH -#define DEF_SCROLLBAR_TROUGH_MONO WHITE -#define DEF_SCROLLBAR_WIDTH "15" - -/* - * Defaults for texts: - */ - -#define DEF_TEXT_AUTO_SEPARATORS "1" -#define DEF_TEXT_BG_COLOR NORMAL_BG -#define DEF_TEXT_BG_MONO WHITE -#define DEF_TEXT_BLOCK_CURSOR "0" -#define DEF_TEXT_BORDER_WIDTH "0" -#define DEF_TEXT_CURSOR "xterm" -#define DEF_TEXT_FG BLACK -#define DEF_TEXT_EXPORT_SELECTION "1" -#define DEF_TEXT_FONT "TkFixedFont" -#define DEF_TEXT_HEIGHT "24" -#define DEF_TEXT_HIGHLIGHT_BG NORMAL_BG -#define DEF_TEXT_HIGHLIGHT BLACK -#define DEF_TEXT_HIGHLIGHT_WIDTH "3" -#define DEF_TEXT_INSERT_BG BLACK -#define DEF_TEXT_INSERT_BD_COLOR "0" -#define DEF_TEXT_INSERT_BD_MONO "0" -#define DEF_TEXT_INSERT_OFF_TIME "300" -#define DEF_TEXT_INSERT_ON_TIME "600" -#define DEF_TEXT_INSERT_WIDTH "1" -#define DEF_TEXT_MAX_UNDO "0" -#define DEF_TEXT_PADX "1" -#define DEF_TEXT_PADY "1" -#define DEF_TEXT_RELIEF "flat" -#define DEF_TEXT_INACTIVE_SELECT_COLOR INACTIVE_SELECT_BG -#define DEF_TEXT_SELECT_COLOR SELECT_BG -#define DEF_TEXT_SELECT_MONO BLACK -#define DEF_TEXT_SELECT_BD_COLOR "1" -#define DEF_TEXT_SELECT_BD_MONO "0" -#define DEF_TEXT_SELECT_FG_COLOR SELECT_FG -#define DEF_TEXT_SELECT_FG_MONO WHITE -#define DEF_TEXT_SELECT_RELIEF "flat" -#define DEF_TEXT_SET_GRID "0" -#define DEF_TEXT_SPACING1 "0" -#define DEF_TEXT_SPACING2 "0" -#define DEF_TEXT_SPACING3 "0" -#define DEF_TEXT_STATE "normal" -#define DEF_TEXT_TABS "" -#define DEF_TEXT_TABSTYLE "tabular" -#define DEF_TEXT_TAKE_FOCUS (char *) NULL -#define DEF_TEXT_UNDO "0" -#define DEF_TEXT_WIDTH "80" -#define DEF_TEXT_WRAP "char" -#define DEF_TEXT_XSCROLL_COMMAND "" -#define DEF_TEXT_YSCROLL_COMMAND "" - -/* - * Defaults for canvas text: - */ - -#define DEF_CANVTEXT_FONT "TkDefaultFont" - -/* - * Defaults for toplevels (most of the defaults for frames also apply - * to toplevels): - */ - -#define DEF_TOPLEVEL_CLASS "Toplevel" -#define DEF_TOPLEVEL_MENU "" -#define DEF_TOPLEVEL_SCREEN "" -#define DEF_TOPLEVEL_USE "" - -#endif /* _TKMACDEFAULT */ diff --git a/src/other/togl/include/tcltk/tk8.6/tkMacOSXInt.h b/src/other/togl/include/tcltk/tk8.6/tkMacOSXInt.h deleted file mode 100644 index 1303523651f..00000000000 --- a/src/other/togl/include/tcltk/tk8.6/tkMacOSXInt.h +++ /dev/null @@ -1,180 +0,0 @@ -/* - * tkMacOSXInt.h -- - * - * Declarations of Macintosh specific shared variables and procedures. - * - * Copyright (c) 1995-1997 Sun Microsystems, Inc. - * Copyright 2001, Apple Computer, Inc. - * Copyright (c) 2005-2007 Daniel A. Steffen - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKMACINT -#define _TKMACINT - -#ifndef _TKINT -#include "tkInt.h" -#endif - -#define TextStyle MacTextStyle -#include -#undef TextStyle - -/* - * Include platform specific public interfaces. - */ - -#ifndef _TKMAC -#include "tkMacOSX.h" -#endif - -struct TkWindowPrivate { - TkWindow *winPtr; /* Ptr to tk window or NULL if Pixmap */ - CGrafPtr grafPtr; - CGContextRef context; - ControlRef rootControl; - int xOff; /* X offset from toplevel window */ - int yOff; /* Y offset from toplevel window */ - CGSize size; - HIShapeRef visRgn; /* Visible region of window */ - HIShapeRef aboveVisRgn; /* Visible region of window & its children */ - CGRect drawRect; /* Clipped drawing rect */ - int referenceCount; /* Don't delete toplevel until children are - * gone. */ - struct TkWindowPrivate *toplevel; - /* Pointer to the toplevel datastruct. */ - int flags; /* Various state see defines below. */ -}; -typedef struct TkWindowPrivate MacDrawable; - -/* - * This list is used to keep track of toplevel windows that have a Mac - * window attached. This is useful for several things, not the least - * of which is maintaining floating windows. - */ - -typedef struct TkMacOSXWindowList { - struct TkMacOSXWindowList *nextPtr; - /* The next window in the list. */ - TkWindow *winPtr; /* This window */ -} TkMacOSXWindowList; - -/* - * Defines use for the flags field of the MacDrawable data structure. - */ - -#define TK_SCROLLBAR_GROW 0x01 -#define TK_CLIP_INVALID 0x02 -#define TK_HOST_EXISTS 0x04 -#define TK_DRAWN_UNDER_MENU 0x08 -#define TK_CLIPPED_DRAW 0x10 -#define TK_IS_PIXMAP 0x20 -#define TK_IS_BW_PIXMAP 0x40 - -/* - * I am reserving TK_EMBEDDED = 0x100 in the MacDrawable flags - * This is defined in tk.h. We need to duplicate the TK_EMBEDDED flag in the - * TkWindow structure for the window, but in the MacWin. This way we can - * still tell what the correct port is after the TKWindow structure has been - * freed. This actually happens when you bind destroy of a toplevel to - * Destroy of a child. - */ - -/* - * This structure is for handling Netscape-type in process - * embedding where Tk does not control the top-level. It contains - * various functions that are needed by Mac specific routines, like - * TkMacOSXGetDrawablePort. The definitions of the function types - * are in tkMacOSX.h. - */ - -typedef struct { - Tk_MacOSXEmbedRegisterWinProc *registerWinProc; - Tk_MacOSXEmbedGetGrafPortProc *getPortProc; - Tk_MacOSXEmbedMakeContainerExistProc *containerExistProc; - Tk_MacOSXEmbedGetClipProc *getClipProc; - Tk_MacOSXEmbedGetOffsetInParentProc *getOffsetProc; -} TkMacOSXEmbedHandler; - -MODULE_SCOPE TkMacOSXEmbedHandler *tkMacOSXEmbedHandler; - -/* - * Defines used for TkMacOSXInvalidateWindow - */ - -#define TK_WINDOW_ONLY 0 -#define TK_PARENT_WINDOW 1 - -/* - * Accessor for the privatePtr flags field for the TK_HOST_EXISTS field - */ - -#define TkMacOSXHostToplevelExists(tkwin) \ - (((TkWindow *) (tkwin))->privatePtr->toplevel->flags & TK_HOST_EXISTS) - -/* - * Defines use for the flags argument to TkGenWMConfigureEvent. - */ - -#define TK_LOCATION_CHANGED 1 -#define TK_SIZE_CHANGED 2 -#define TK_BOTH_CHANGED 3 - -/* - * Defines for tkTextDisp.c - */ - -#define TK_LAYOUT_WITH_BASE_CHUNKS 1 -#define TK_DRAW_IN_CONTEXT 1 - -#if !TK_DRAW_IN_CONTEXT -MODULE_SCOPE int TkMacOSXCompareColors(unsigned long c1, unsigned long c2); -#endif - -/* - * Globals shared among TkAqua. - */ - -MODULE_SCOPE MenuHandle tkCurrentAppleMenu; /* Handle to current Apple Menu */ -MODULE_SCOPE MenuHandle tkAppleMenu; /* Handle to default Apple Menu */ -MODULE_SCOPE MenuHandle tkFileMenu; /* Handles to menus */ -MODULE_SCOPE MenuHandle tkEditMenu; /* Handles to menus */ -MODULE_SCOPE int tkPictureIsOpen; /* If this is 1, we are drawing to a - * picture The clipping should then be - * done relative to the bounds of the - * picture rather than the window. As - * of OS X.0.4, something is seriously - * wrong: The clipping bounds only - * seem to work if the top,left values - * are 0,0 The destination rectangle - * for CopyBits should also have - * top,left values of 0,0 - */ -MODULE_SCOPE TkMacOSXWindowList *tkMacOSXWindowListPtr; /* List of toplevels */ -MODULE_SCOPE Tcl_Encoding TkMacOSXCarbonEncoding; - -/* - * Prototypes of internal procs not in the stubs table. - */ - -MODULE_SCOPE void TkMacOSXDefaultStartupScript(void); -#if 0 -MODULE_SCOPE int XSetClipRectangles(Display *d, GC gc, int clip_x_origin, - int clip_y_origin, XRectangle* rectangles, int n, int ordering); -#endif -MODULE_SCOPE void TkpClipDrawableToRect(Display *display, Drawable d, int x, - int y, int width, int height); -MODULE_SCOPE void TkpRetainRegion(TkRegion r); -MODULE_SCOPE void TkpReleaseRegion(TkRegion r); - -/* - * Include the stubbed internal platform-specific API. - */ - -#include "tkIntPlatDecls.h" - -#endif /* _TKMACINT */ diff --git a/src/other/togl/include/tcltk/tk8.6/tkMacOSXPort.h b/src/other/togl/include/tcltk/tk8.6/tkMacOSXPort.h deleted file mode 100644 index 3213cbe3ecf..00000000000 --- a/src/other/togl/include/tcltk/tk8.6/tkMacOSXPort.h +++ /dev/null @@ -1,204 +0,0 @@ -/* - * tkMacOSXPort.h -- - * - * This file is included by all of the Tk C files. It contains - * information that may be configuration-dependent, such as - * #includes for system include files and a few other things. - * - * Copyright (c) 1994-1996 Sun Microsystems, Inc. - * Copyright 2001, Apple Computer, Inc. - * Copyright (c) 2005-2007 Daniel A. Steffen - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKMACPORT -#define _TKMACPORT - -/* - * Macro to use instead of "void" for arguments that must have - * type "void *" in ANSI C; maps them to type "char *" in - * non-ANSI systems. This macro may be used in some of the include - * files below, which is why it is defined here. - */ - -#ifndef VOID -# ifdef __STDC__ -# define VOID void -# else -# define VOID char -# endif -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#ifdef HAVE_SYS_SELECT_H -# include -#endif -#include -#ifndef _TCL -# include -#endif -#if TIME_WITH_SYS_TIME -# include -# include -#else -# if HAVE_SYS_TIME_H -# include -# else -# include -# endif -#endif -#if HAVE_INTTYPES_H -# include -#endif -#include -#include -#include -#include -#include -#include -#include -#include "tkIntXlibDecls.h" - -/* - * The following macro defines the type of the mask arguments to - * select: - */ - -#ifndef NO_FD_SET -# define SELECT_MASK fd_set -#else -# ifndef _AIX - typedef long fd_mask; -# endif -# if defined(_IBMR2) -# define SELECT_MASK void -# else -# define SELECT_MASK int -# endif -#endif - -/* - * The following macro defines the number of fd_masks in an fd_set: - */ - -#ifndef FD_SETSIZE -# ifdef OPEN_MAX -# define FD_SETSIZE OPEN_MAX -# else -# define FD_SETSIZE 256 -# endif -#endif -#if !defined(howmany) -# define howmany(x, y) (((x)+((y)-1))/(y)) -#endif -#ifndef NFDBITS -# define NFDBITS NBBY*sizeof(fd_mask) -#endif -#define MASK_SIZE howmany(FD_SETSIZE, NFDBITS) - -/* - * Define "NBBY" (number of bits per byte) if it's not already defined. - */ - -#ifndef NBBY -# define NBBY 8 -#endif - -/* - * The following define causes Tk to use its internal keysym hash table - */ - -#define REDO_KEYSYM_LOOKUP - -/* - * Defines for X functions that are used by Tk but are treated as - * no-op functions on the Macintosh. - */ - -#define XFlush(display) -#define XFree(data) {if ((data) != NULL) ckfree((char *) (data));} -#define XGrabServer(display) -#define XNoOp(display) {display->request++;} -#define XUngrabServer(display) -#define XSynchronize(display, bool) {display->request++;} -#define XVisualIDFromVisual(visual) (visual->visualid) - -/* - * The following functions are not used on the Mac, so we stub them out. - */ - -#define TkpButtonSetDefaults(specPtr) {} -#define TkpCmapStressed(tkwin,colormap) (0) -#define TkpFreeColor(tkColPtr) -#define TkSetPixmapColormap(p,c) {} -#define TkpSync(display) - -/* - * The following macro returns the pixel value that corresponds to the - * RGB values in the given XColor structure. - */ - -#define PIXEL_MAGIC ((unsigned char) 0x69) -#define TkpGetPixel(p) ((((((PIXEL_MAGIC << 8) \ - | (((p)->red >> 8) & 0xff)) << 8) \ - | (((p)->green >> 8) & 0xff)) << 8) \ - | (((p)->blue >> 8) & 0xff)) - -/* - * This macro stores a representation of the window handle in a string. - * This should perhaps use the real size of an XID. - */ - -#define TkpPrintWindowId(buf,w) \ - sprintf((buf), "0x%x", (unsigned int) (w)) - -/* - * TkpScanWindowId is just an alias for Tcl_GetInt on Unix. - */ - -#define TkpScanWindowId(i,s,wp) \ - Tcl_GetInt((i),(s),(int *) (wp)) - -/* - * Turn off Tk double-buffering as Aqua windows are already double-buffered. - */ - -#define TK_NO_DOUBLE_BUFFERING 1 - -/* - * Magic pixel code values for system colors. - * - * NOTE: values must be kept in sync with indices into the - * systemColorMap array in tkMacOSXColor.c ! - */ - -#define TRANSPARENT_PIXEL 30 -#define HIGHLIGHT_PIXEL 31 -#define HIGHLIGHT_SECONDARY_PIXEL 32 -#define HIGHLIGHT_TEXT_PIXEL 33 -#define HIGHLIGHT_ALTERNATE_PIXEL 34 -#define CONTROL_TEXT_PIXEL 35 -#define CONTROL_BODY_PIXEL 37 -#define CONTROL_FRAME_PIXEL 39 -#define WINDOW_BODY_PIXEL 41 -#define MENU_ACTIVE_PIXEL 43 -#define MENU_ACTIVE_TEXT_PIXEL 45 -#define MENU_BACKGROUND_PIXEL 47 -#define MENU_DISABLED_PIXEL 49 -#define MENU_TEXT_PIXEL 51 -#define APPEARANCE_PIXEL 52 - -#endif /* _TKMACPORT */ diff --git a/src/other/togl/include/tcltk/tk8.6/tkPlatDecls.h b/src/other/togl/include/tcltk/tk8.6/tkPlatDecls.h deleted file mode 100644 index 9274313e883..00000000000 --- a/src/other/togl/include/tcltk/tk8.6/tkPlatDecls.h +++ /dev/null @@ -1,249 +0,0 @@ -/* - * tkPlatDecls.h -- - * - * Declarations of functions in the platform-specific public Tcl API. - * - * Copyright (c) 1998-1999 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKPLATDECLS -#define _TKPLATDECLS - -#ifdef BUILD_tk -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * WARNING: This file is automatically generated by the tools/genStubs.tcl - * script. Any modifications to the function declarations below should be made - * in the generic/tk.decls script. - */ - -/* !BEGIN!: Do not edit below this line. */ - -/* - * Exported function declarations: - */ - -#ifdef __WIN32__ /* WIN */ -#ifndef Tk_AttachHWND_TCL_DECLARED -#define Tk_AttachHWND_TCL_DECLARED -/* 0 */ -EXTERN Window Tk_AttachHWND (Tk_Window tkwin, HWND hwnd); -#endif -#ifndef Tk_GetHINSTANCE_TCL_DECLARED -#define Tk_GetHINSTANCE_TCL_DECLARED -/* 1 */ -EXTERN HINSTANCE Tk_GetHINSTANCE (void); -#endif -#ifndef Tk_GetHWND_TCL_DECLARED -#define Tk_GetHWND_TCL_DECLARED -/* 2 */ -EXTERN HWND Tk_GetHWND (Window window); -#endif -#ifndef Tk_HWNDToWindow_TCL_DECLARED -#define Tk_HWNDToWindow_TCL_DECLARED -/* 3 */ -EXTERN Tk_Window Tk_HWNDToWindow (HWND hwnd); -#endif -#ifndef Tk_PointerEvent_TCL_DECLARED -#define Tk_PointerEvent_TCL_DECLARED -/* 4 */ -EXTERN void Tk_PointerEvent (HWND hwnd, int x, int y); -#endif -#ifndef Tk_TranslateWinEvent_TCL_DECLARED -#define Tk_TranslateWinEvent_TCL_DECLARED -/* 5 */ -EXTERN int Tk_TranslateWinEvent (HWND hwnd, UINT message, - WPARAM wParam, LPARAM lParam, - LRESULT * result); -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef Tk_MacOSXSetEmbedHandler_TCL_DECLARED -#define Tk_MacOSXSetEmbedHandler_TCL_DECLARED -/* 0 */ -EXTERN void Tk_MacOSXSetEmbedHandler ( - Tk_MacOSXEmbedRegisterWinProc * registerWinProcPtr, - Tk_MacOSXEmbedGetGrafPortProc * getPortProcPtr, - Tk_MacOSXEmbedMakeContainerExistProc * containerExistProcPtr, - Tk_MacOSXEmbedGetClipProc * getClipProc, - Tk_MacOSXEmbedGetOffsetInParentProc * getOffsetProc); -#endif -#ifndef Tk_MacOSXTurnOffMenus_TCL_DECLARED -#define Tk_MacOSXTurnOffMenus_TCL_DECLARED -/* 1 */ -EXTERN void Tk_MacOSXTurnOffMenus (void); -#endif -#ifndef Tk_MacOSXTkOwnsCursor_TCL_DECLARED -#define Tk_MacOSXTkOwnsCursor_TCL_DECLARED -/* 2 */ -EXTERN void Tk_MacOSXTkOwnsCursor (int tkOwnsIt); -#endif -#ifndef TkMacOSXInitMenus_TCL_DECLARED -#define TkMacOSXInitMenus_TCL_DECLARED -/* 3 */ -EXTERN void TkMacOSXInitMenus (Tcl_Interp * interp); -#endif -#ifndef TkMacOSXInitAppleEvents_TCL_DECLARED -#define TkMacOSXInitAppleEvents_TCL_DECLARED -/* 4 */ -EXTERN void TkMacOSXInitAppleEvents (Tcl_Interp * interp); -#endif -#ifndef TkGenWMConfigureEvent_TCL_DECLARED -#define TkGenWMConfigureEvent_TCL_DECLARED -/* 5 */ -EXTERN void TkGenWMConfigureEvent (Tk_Window tkwin, int x, int y, - int width, int height, int flags); -#endif -#ifndef TkMacOSXInvalClipRgns_TCL_DECLARED -#define TkMacOSXInvalClipRgns_TCL_DECLARED -/* 6 */ -EXTERN void TkMacOSXInvalClipRgns (Tk_Window tkwin); -#endif -#ifndef TkMacOSXGetDrawablePort_TCL_DECLARED -#define TkMacOSXGetDrawablePort_TCL_DECLARED -/* 7 */ -EXTERN GWorldPtr TkMacOSXGetDrawablePort (Drawable drawable); -#endif -#ifndef TkMacOSXGetRootControl_TCL_DECLARED -#define TkMacOSXGetRootControl_TCL_DECLARED -/* 8 */ -EXTERN ControlRef TkMacOSXGetRootControl (Drawable drawable); -#endif -#ifndef Tk_MacOSXSetupTkNotifier_TCL_DECLARED -#define Tk_MacOSXSetupTkNotifier_TCL_DECLARED -/* 9 */ -EXTERN void Tk_MacOSXSetupTkNotifier (void); -#endif -#ifndef Tk_MacOSXIsAppInFront_TCL_DECLARED -#define Tk_MacOSXIsAppInFront_TCL_DECLARED -/* 10 */ -EXTERN int Tk_MacOSXIsAppInFront (void); -#endif -#endif /* AQUA */ - -typedef struct TkPlatStubs { - int magic; - CONST struct TkPlatStubHooks *hooks; - -#ifdef __WIN32__ /* WIN */ - Window (*tk_AttachHWND) (Tk_Window tkwin, HWND hwnd); /* 0 */ - HINSTANCE (*tk_GetHINSTANCE) (void); /* 1 */ - HWND (*tk_GetHWND) (Window window); /* 2 */ - Tk_Window (*tk_HWNDToWindow) (HWND hwnd); /* 3 */ - void (*tk_PointerEvent) (HWND hwnd, int x, int y); /* 4 */ - int (*tk_TranslateWinEvent) (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT * result); /* 5 */ -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ - void (*tk_MacOSXSetEmbedHandler) (Tk_MacOSXEmbedRegisterWinProc * registerWinProcPtr, Tk_MacOSXEmbedGetGrafPortProc * getPortProcPtr, Tk_MacOSXEmbedMakeContainerExistProc * containerExistProcPtr, Tk_MacOSXEmbedGetClipProc * getClipProc, Tk_MacOSXEmbedGetOffsetInParentProc * getOffsetProc); /* 0 */ - void (*tk_MacOSXTurnOffMenus) (void); /* 1 */ - void (*tk_MacOSXTkOwnsCursor) (int tkOwnsIt); /* 2 */ - void (*tkMacOSXInitMenus) (Tcl_Interp * interp); /* 3 */ - void (*tkMacOSXInitAppleEvents) (Tcl_Interp * interp); /* 4 */ - void (*tkGenWMConfigureEvent) (Tk_Window tkwin, int x, int y, int width, int height, int flags); /* 5 */ - void (*tkMacOSXInvalClipRgns) (Tk_Window tkwin); /* 6 */ - GWorldPtr (*tkMacOSXGetDrawablePort) (Drawable drawable); /* 7 */ - ControlRef (*tkMacOSXGetRootControl) (Drawable drawable); /* 8 */ - void (*tk_MacOSXSetupTkNotifier) (void); /* 9 */ - int (*tk_MacOSXIsAppInFront) (void); /* 10 */ -#endif /* AQUA */ -} TkPlatStubs; - -#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) -extern CONST TkPlatStubs *tkPlatStubsPtr; -#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */ - -#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) - -/* - * Inline function declarations: - */ - -#ifdef __WIN32__ /* WIN */ -#ifndef Tk_AttachHWND -#define Tk_AttachHWND \ - (tkPlatStubsPtr->tk_AttachHWND) /* 0 */ -#endif -#ifndef Tk_GetHINSTANCE -#define Tk_GetHINSTANCE \ - (tkPlatStubsPtr->tk_GetHINSTANCE) /* 1 */ -#endif -#ifndef Tk_GetHWND -#define Tk_GetHWND \ - (tkPlatStubsPtr->tk_GetHWND) /* 2 */ -#endif -#ifndef Tk_HWNDToWindow -#define Tk_HWNDToWindow \ - (tkPlatStubsPtr->tk_HWNDToWindow) /* 3 */ -#endif -#ifndef Tk_PointerEvent -#define Tk_PointerEvent \ - (tkPlatStubsPtr->tk_PointerEvent) /* 4 */ -#endif -#ifndef Tk_TranslateWinEvent -#define Tk_TranslateWinEvent \ - (tkPlatStubsPtr->tk_TranslateWinEvent) /* 5 */ -#endif -#endif /* WIN */ -#ifdef MAC_OSX_TK /* AQUA */ -#ifndef Tk_MacOSXSetEmbedHandler -#define Tk_MacOSXSetEmbedHandler \ - (tkPlatStubsPtr->tk_MacOSXSetEmbedHandler) /* 0 */ -#endif -#ifndef Tk_MacOSXTurnOffMenus -#define Tk_MacOSXTurnOffMenus \ - (tkPlatStubsPtr->tk_MacOSXTurnOffMenus) /* 1 */ -#endif -#ifndef Tk_MacOSXTkOwnsCursor -#define Tk_MacOSXTkOwnsCursor \ - (tkPlatStubsPtr->tk_MacOSXTkOwnsCursor) /* 2 */ -#endif -#ifndef TkMacOSXInitMenus -#define TkMacOSXInitMenus \ - (tkPlatStubsPtr->tkMacOSXInitMenus) /* 3 */ -#endif -#ifndef TkMacOSXInitAppleEvents -#define TkMacOSXInitAppleEvents \ - (tkPlatStubsPtr->tkMacOSXInitAppleEvents) /* 4 */ -#endif -#ifndef TkGenWMConfigureEvent -#define TkGenWMConfigureEvent \ - (tkPlatStubsPtr->tkGenWMConfigureEvent) /* 5 */ -#endif -#ifndef TkMacOSXInvalClipRgns -#define TkMacOSXInvalClipRgns \ - (tkPlatStubsPtr->tkMacOSXInvalClipRgns) /* 6 */ -#endif -#ifndef TkMacOSXGetDrawablePort -#define TkMacOSXGetDrawablePort \ - (tkPlatStubsPtr->tkMacOSXGetDrawablePort) /* 7 */ -#endif -#ifndef TkMacOSXGetRootControl -#define TkMacOSXGetRootControl \ - (tkPlatStubsPtr->tkMacOSXGetRootControl) /* 8 */ -#endif -#ifndef Tk_MacOSXSetupTkNotifier -#define Tk_MacOSXSetupTkNotifier \ - (tkPlatStubsPtr->tk_MacOSXSetupTkNotifier) /* 9 */ -#endif -#ifndef Tk_MacOSXIsAppInFront -#define Tk_MacOSXIsAppInFront \ - (tkPlatStubsPtr->tk_MacOSXIsAppInFront) /* 10 */ -#endif -#endif /* AQUA */ - -#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */ - -/* !END!: Do not edit above this line. */ - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKPLATDECLS */ diff --git a/src/other/togl/include/tcltk/tk8.6/tkPort.h b/src/other/togl/include/tcltk/tk8.6/tkPort.h deleted file mode 100644 index 15c53be3efd..00000000000 --- a/src/other/togl/include/tcltk/tk8.6/tkPort.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * tkPort.h -- - * - * This header file handles porting issues that occur because of - * differences between systems. It reads in platform specific - * portability files. - * - * Copyright (c) 1995 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKPORT -#define _TKPORT - -#ifndef _TK -#include "tk.h" -#endif -#ifndef _TCL -#include "tcl.h" -#endif - -#if defined(__WIN32__) || defined(_WIN32) -# include "tkWinPort.h" -#else -# if defined(MAC_OSX_TK) -# include "tkMacOSXPort.h" -# else -# include "tkUnixPort.h" -# endif -#endif - -#endif /* _TKPORT */ diff --git a/src/other/togl/include/tcltk/tk8.6/tkUnixDefault.h b/src/other/togl/include/tcltk/tk8.6/tkUnixDefault.h deleted file mode 100644 index fabcd0d0ed9..00000000000 --- a/src/other/togl/include/tcltk/tk8.6/tkUnixDefault.h +++ /dev/null @@ -1,526 +0,0 @@ -/* - * tkUnixDefault.h -- - * - * This file defines the defaults for all options for all of - * the Tk widgets. - * - * Copyright (c) 1991-1994 The Regents of the University of California. - * Copyright (c) 1994-1997 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKUNIXDEFAULT -#define _TKUNIXDEFAULT - -/* - * The definitions below provide symbolic names for the default colors. - * NORMAL_BG - Normal background color. - * ACTIVE_BG - Background color when widget is active. - * SELECT_BG - Background color for selected text. - * TROUGH - Background color for troughs in scales and scrollbars. - * INDICATOR - Color for indicator when button is selected. - * DISABLED - Foreground color when widget is disabled. - */ - -#define BLACK "#000000" -#define WHITE "#ffffff" - -#define NORMAL_BG "#d9d9d9" -#define ACTIVE_BG "#ececec" -#define SELECT_BG "#c3c3c3" -#define TROUGH "#b3b3b3" -#define CHECK_INDICATOR WHITE -#define MENU_INDICATOR BLACK -#define DISABLED "#a3a3a3" - -/* - * Defaults for labels, buttons, checkbuttons, and radiobuttons: - */ - -#define DEF_BUTTON_ANCHOR "center" -#define DEF_BUTTON_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_BUTTON_ACTIVE_BG_MONO BLACK -#define DEF_BUTTON_ACTIVE_FG_COLOR BLACK -#define DEF_CHKRAD_ACTIVE_FG_COLOR DEF_BUTTON_ACTIVE_FG_COLOR -#define DEF_BUTTON_ACTIVE_FG_MONO WHITE -#define DEF_BUTTON_BG_COLOR NORMAL_BG -#define DEF_BUTTON_BG_MONO WHITE -#define DEF_BUTTON_BITMAP "" -#define DEF_BUTTON_BORDER_WIDTH "1" -#define DEF_BUTTON_CURSOR "" -#define DEF_BUTTON_COMPOUND "none" -#define DEF_BUTTON_COMMAND "" -#define DEF_BUTTON_DEFAULT "disabled" -#define DEF_BUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_BUTTON_DISABLED_FG_MONO "" -#define DEF_BUTTON_FG BLACK -#define DEF_CHKRAD_FG DEF_BUTTON_FG -#define DEF_BUTTON_FONT "TkDefaultFont" -#define DEF_BUTTON_HEIGHT "0" -#define DEF_BUTTON_HIGHLIGHT_BG_COLOR DEF_BUTTON_BG_COLOR -#define DEF_BUTTON_HIGHLIGHT_BG_MONO DEF_BUTTON_BG_MONO -#define DEF_BUTTON_HIGHLIGHT BLACK -#define DEF_LABEL_HIGHLIGHT_WIDTH "0" -#define DEF_BUTTON_HIGHLIGHT_WIDTH "1" -#define DEF_BUTTON_IMAGE (char *) NULL -#define DEF_BUTTON_INDICATOR "1" -#define DEF_BUTTON_JUSTIFY "center" -#define DEF_BUTTON_OFF_VALUE "0" -#define DEF_BUTTON_ON_VALUE "1" -#define DEF_BUTTON_TRISTATE_VALUE "" -#define DEF_BUTTON_OVER_RELIEF "" -#define DEF_BUTTON_PADX "3m" -#define DEF_LABCHKRAD_PADX "1" -#define DEF_BUTTON_PADY "1m" -#define DEF_LABCHKRAD_PADY "1" -#define DEF_BUTTON_RELIEF "raised" -#define DEF_LABCHKRAD_RELIEF "flat" -#define DEF_BUTTON_REPEAT_DELAY "0" -#define DEF_BUTTON_REPEAT_INTERVAL "0" -#define DEF_BUTTON_SELECT_COLOR CHECK_INDICATOR -#define DEF_BUTTON_SELECT_MONO BLACK -#define DEF_BUTTON_SELECT_IMAGE (char *) NULL -#define DEF_BUTTON_STATE "normal" -#define DEF_LABEL_TAKE_FOCUS "0" -#define DEF_BUTTON_TAKE_FOCUS (char *) NULL -#define DEF_BUTTON_TEXT "" -#define DEF_BUTTON_TEXT_VARIABLE "" -#define DEF_BUTTON_UNDERLINE "-1" -#define DEF_BUTTON_VALUE "" -#define DEF_BUTTON_WIDTH "0" -#define DEF_BUTTON_WRAP_LENGTH "0" -#define DEF_RADIOBUTTON_VARIABLE "selectedButton" -#define DEF_CHECKBUTTON_VARIABLE "" - -/* - * Defaults for canvases: - */ - -#define DEF_CANVAS_BG_COLOR NORMAL_BG -#define DEF_CANVAS_BG_MONO WHITE -#define DEF_CANVAS_BORDER_WIDTH "0" -#define DEF_CANVAS_CLOSE_ENOUGH "1" -#define DEF_CANVAS_CONFINE "1" -#define DEF_CANVAS_CURSOR "" -#define DEF_CANVAS_HEIGHT "7c" -#define DEF_CANVAS_HIGHLIGHT_BG NORMAL_BG -#define DEF_CANVAS_HIGHLIGHT BLACK -#define DEF_CANVAS_HIGHLIGHT_WIDTH "1" -#define DEF_CANVAS_INSERT_BG BLACK -#define DEF_CANVAS_INSERT_BD_COLOR "0" -#define DEF_CANVAS_INSERT_BD_MONO "0" -#define DEF_CANVAS_INSERT_OFF_TIME "300" -#define DEF_CANVAS_INSERT_ON_TIME "600" -#define DEF_CANVAS_INSERT_WIDTH "2" -#define DEF_CANVAS_RELIEF "flat" -#define DEF_CANVAS_SCROLL_REGION "" -#define DEF_CANVAS_SELECT_COLOR SELECT_BG -#define DEF_CANVAS_SELECT_MONO BLACK -#define DEF_CANVAS_SELECT_BD_COLOR "1" -#define DEF_CANVAS_SELECT_BD_MONO "0" -#define DEF_CANVAS_SELECT_FG_COLOR BLACK -#define DEF_CANVAS_SELECT_FG_MONO WHITE -#define DEF_CANVAS_TAKE_FOCUS (char *) NULL -#define DEF_CANVAS_WIDTH "10c" -#define DEF_CANVAS_X_SCROLL_CMD "" -#define DEF_CANVAS_X_SCROLL_INCREMENT "0" -#define DEF_CANVAS_Y_SCROLL_CMD "" -#define DEF_CANVAS_Y_SCROLL_INCREMENT "0" - -/* - * Defaults for entries: - */ - -#define DEF_ENTRY_BG_COLOR WHITE -#define DEF_ENTRY_BG_MONO WHITE -#define DEF_ENTRY_BORDER_WIDTH "1" -#define DEF_ENTRY_CURSOR "xterm" -#define DEF_ENTRY_DISABLED_BG_COLOR NORMAL_BG -#define DEF_ENTRY_DISABLED_BG_MONO WHITE -#define DEF_ENTRY_DISABLED_FG DISABLED -#define DEF_ENTRY_EXPORT_SELECTION "1" -#define DEF_ENTRY_FONT "TkTextFont" -#define DEF_ENTRY_FG BLACK -#define DEF_ENTRY_HIGHLIGHT_BG NORMAL_BG -#define DEF_ENTRY_HIGHLIGHT BLACK -#define DEF_ENTRY_HIGHLIGHT_WIDTH "1" -#define DEF_ENTRY_INSERT_BG BLACK -#define DEF_ENTRY_INSERT_BD_COLOR "0" -#define DEF_ENTRY_INSERT_BD_MONO "0" -#define DEF_ENTRY_INSERT_OFF_TIME "300" -#define DEF_ENTRY_INSERT_ON_TIME "600" -#define DEF_ENTRY_INSERT_WIDTH "2" -#define DEF_ENTRY_JUSTIFY "left" -#define DEF_ENTRY_READONLY_BG_COLOR NORMAL_BG -#define DEF_ENTRY_READONLY_BG_MONO WHITE -#define DEF_ENTRY_RELIEF "sunken" -#define DEF_ENTRY_SCROLL_COMMAND "" -#define DEF_ENTRY_SELECT_COLOR SELECT_BG -#define DEF_ENTRY_SELECT_MONO BLACK -#define DEF_ENTRY_SELECT_BD_COLOR "0" -#define DEF_ENTRY_SELECT_BD_MONO "0" -#define DEF_ENTRY_SELECT_FG_COLOR BLACK -#define DEF_ENTRY_SELECT_FG_MONO WHITE -#define DEF_ENTRY_SHOW (char *) NULL -#define DEF_ENTRY_STATE "normal" -#define DEF_ENTRY_TAKE_FOCUS (char *) NULL -#define DEF_ENTRY_TEXT_VARIABLE "" -#define DEF_ENTRY_WIDTH "20" - -/* - * Defaults for frames: - */ - -#define DEF_FRAME_BG_COLOR NORMAL_BG -#define DEF_FRAME_BG_MONO WHITE -#define DEF_FRAME_BORDER_WIDTH "0" -#define DEF_FRAME_CLASS "Frame" -#define DEF_FRAME_COLORMAP "" -#define DEF_FRAME_CONTAINER "0" -#define DEF_FRAME_CURSOR "" -#define DEF_FRAME_HEIGHT "0" -#define DEF_FRAME_HIGHLIGHT_BG NORMAL_BG -#define DEF_FRAME_HIGHLIGHT BLACK -#define DEF_FRAME_HIGHLIGHT_WIDTH "0" -#define DEF_FRAME_LABEL "" -#define DEF_FRAME_PADX "0" -#define DEF_FRAME_PADY "0" -#define DEF_FRAME_RELIEF "flat" -#define DEF_FRAME_TAKE_FOCUS "0" -#define DEF_FRAME_VISUAL "" -#define DEF_FRAME_WIDTH "0" - -/* - * Defaults for labelframes: - */ - -#define DEF_LABELFRAME_BORDER_WIDTH "2" -#define DEF_LABELFRAME_CLASS "Labelframe" -#define DEF_LABELFRAME_RELIEF "groove" -#define DEF_LABELFRAME_FG BLACK -#define DEF_LABELFRAME_FONT "TkDefaultFont" -#define DEF_LABELFRAME_TEXT "" -#define DEF_LABELFRAME_LABELANCHOR "nw" - -/* - * Defaults for listboxes: - */ - -#define DEF_LISTBOX_ACTIVE_STYLE "dotbox" -#define DEF_LISTBOX_BG_COLOR WHITE -#define DEF_LISTBOX_BG_MONO WHITE -#define DEF_LISTBOX_BORDER_WIDTH "1" -#define DEF_LISTBOX_CURSOR "" -#define DEF_LISTBOX_DISABLED_FG DISABLED -#define DEF_LISTBOX_EXPORT_SELECTION "1" -#define DEF_LISTBOX_FONT "TkDefaultFont" -#define DEF_LISTBOX_FG BLACK -#define DEF_LISTBOX_HEIGHT "10" -#define DEF_LISTBOX_HIGHLIGHT_BG NORMAL_BG -#define DEF_LISTBOX_HIGHLIGHT BLACK -#define DEF_LISTBOX_HIGHLIGHT_WIDTH "1" -#define DEF_LISTBOX_RELIEF "sunken" -#define DEF_LISTBOX_SCROLL_COMMAND "" -#define DEF_LISTBOX_LIST_VARIABLE "" -#define DEF_LISTBOX_SELECT_COLOR SELECT_BG -#define DEF_LISTBOX_SELECT_MONO BLACK -#define DEF_LISTBOX_SELECT_BD "0" -#define DEF_LISTBOX_SELECT_FG_COLOR BLACK -#define DEF_LISTBOX_SELECT_FG_MONO WHITE -#define DEF_LISTBOX_SELECT_MODE "browse" -#define DEF_LISTBOX_SET_GRID "0" -#define DEF_LISTBOX_STATE "normal" -#define DEF_LISTBOX_TAKE_FOCUS (char *) NULL -#define DEF_LISTBOX_WIDTH "20" - -/* - * Defaults for individual entries of menus: - */ - -#define DEF_MENU_ENTRY_ACTIVE_BG (char *) NULL -#define DEF_MENU_ENTRY_ACTIVE_FG (char *) NULL -#define DEF_MENU_ENTRY_ACCELERATOR (char *) NULL -#define DEF_MENU_ENTRY_BG (char *) NULL -#define DEF_MENU_ENTRY_BITMAP None -#define DEF_MENU_ENTRY_COLUMN_BREAK "0" -#define DEF_MENU_ENTRY_COMMAND (char *) NULL -#define DEF_MENU_ENTRY_COMPOUND "none" -#define DEF_MENU_ENTRY_FG (char *) NULL -#define DEF_MENU_ENTRY_FONT (char *) NULL -#define DEF_MENU_ENTRY_HIDE_MARGIN "0" -#define DEF_MENU_ENTRY_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_INDICATOR "1" -#define DEF_MENU_ENTRY_LABEL (char *) NULL -#define DEF_MENU_ENTRY_MENU (char *) NULL -#define DEF_MENU_ENTRY_OFF_VALUE "0" -#define DEF_MENU_ENTRY_ON_VALUE "1" -#define DEF_MENU_ENTRY_SELECT_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_STATE "normal" -#define DEF_MENU_ENTRY_VALUE (char *) NULL -#define DEF_MENU_ENTRY_CHECK_VARIABLE (char *) NULL -#define DEF_MENU_ENTRY_RADIO_VARIABLE "selectedButton" -#define DEF_MENU_ENTRY_SELECT (char *) NULL -#define DEF_MENU_ENTRY_UNDERLINE "-1" - -/* - * Defaults for menus overall: - */ - -#define DEF_MENU_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_MENU_ACTIVE_BG_MONO BLACK -#define DEF_MENU_ACTIVE_BORDER_WIDTH "1" -#define DEF_MENU_ACTIVE_FG_COLOR BLACK -#define DEF_MENU_ACTIVE_FG_MONO WHITE -#define DEF_MENU_BG_COLOR NORMAL_BG -#define DEF_MENU_BG_MONO WHITE -#define DEF_MENU_BORDER_WIDTH "1" -#define DEF_MENU_CURSOR "arrow" -#define DEF_MENU_DISABLED_FG_COLOR DISABLED -#define DEF_MENU_DISABLED_FG_MONO "" -#define DEF_MENU_FONT "TkMenuFont" -#define DEF_MENU_FG BLACK -#define DEF_MENU_POST_COMMAND "" -#define DEF_MENU_RELIEF "raised" -#define DEF_MENU_SELECT_COLOR MENU_INDICATOR -#define DEF_MENU_SELECT_MONO BLACK -#define DEF_MENU_TAKE_FOCUS "0" -#define DEF_MENU_TEAROFF "1" -#define DEF_MENU_TEAROFF_CMD (char *) NULL -#define DEF_MENU_TITLE "" -#define DEF_MENU_TYPE "normal" - -/* - * Defaults for menubuttons: - */ - -#define DEF_MENUBUTTON_ANCHOR "center" -#define DEF_MENUBUTTON_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_MENUBUTTON_ACTIVE_BG_MONO BLACK -#define DEF_MENUBUTTON_ACTIVE_FG_COLOR BLACK -#define DEF_MENUBUTTON_ACTIVE_FG_MONO WHITE -#define DEF_MENUBUTTON_BG_COLOR NORMAL_BG -#define DEF_MENUBUTTON_BG_MONO WHITE -#define DEF_MENUBUTTON_BITMAP "" -#define DEF_MENUBUTTON_BORDER_WIDTH "1" -#define DEF_MENUBUTTON_CURSOR "" -#define DEF_MENUBUTTON_DIRECTION "below" -#define DEF_MENUBUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_MENUBUTTON_DISABLED_FG_MONO "" -#define DEF_MENUBUTTON_FONT "TkDefaultFont" -#define DEF_MENUBUTTON_FG BLACK -#define DEF_MENUBUTTON_HEIGHT "0" -#define DEF_MENUBUTTON_HIGHLIGHT_BG_COLOR DEF_MENUBUTTON_BG_COLOR -#define DEF_MENUBUTTON_HIGHLIGHT_BG_MONO DEF_MENUBUTTON_BG_MONO -#define DEF_MENUBUTTON_HIGHLIGHT BLACK -#define DEF_MENUBUTTON_HIGHLIGHT_WIDTH "0" -#define DEF_MENUBUTTON_IMAGE (char *) NULL -#define DEF_MENUBUTTON_INDICATOR "0" -#define DEF_MENUBUTTON_JUSTIFY "center" -#define DEF_MENUBUTTON_MENU "" -#define DEF_MENUBUTTON_PADX "4p" -#define DEF_MENUBUTTON_PADY "3p" -#define DEF_MENUBUTTON_RELIEF "flat" -#define DEF_MENUBUTTON_STATE "normal" -#define DEF_MENUBUTTON_TAKE_FOCUS "0" -#define DEF_MENUBUTTON_TEXT "" -#define DEF_MENUBUTTON_TEXT_VARIABLE "" -#define DEF_MENUBUTTON_UNDERLINE "-1" -#define DEF_MENUBUTTON_WIDTH "0" -#define DEF_MENUBUTTON_WRAP_LENGTH "0" - -/* - * Defaults for messages: - */ - -#define DEF_MESSAGE_ANCHOR "center" -#define DEF_MESSAGE_ASPECT "150" -#define DEF_MESSAGE_BG_COLOR NORMAL_BG -#define DEF_MESSAGE_BG_MONO WHITE -#define DEF_MESSAGE_BORDER_WIDTH "1" -#define DEF_MESSAGE_CURSOR "" -#define DEF_MESSAGE_FG BLACK -#define DEF_MESSAGE_FONT "TkDefaultFont" -#define DEF_MESSAGE_HIGHLIGHT_BG NORMAL_BG -#define DEF_MESSAGE_HIGHLIGHT BLACK -#define DEF_MESSAGE_HIGHLIGHT_WIDTH "0" -#define DEF_MESSAGE_JUSTIFY "left" -#define DEF_MESSAGE_PADX "-1" -#define DEF_MESSAGE_PADY "-1" -#define DEF_MESSAGE_RELIEF "flat" -#define DEF_MESSAGE_TAKE_FOCUS "0" -#define DEF_MESSAGE_TEXT "" -#define DEF_MESSAGE_TEXT_VARIABLE "" -#define DEF_MESSAGE_WIDTH "0" - -/* - * Defaults for panedwindows - */ - -#define DEF_PANEDWINDOW_BG_COLOR NORMAL_BG -#define DEF_PANEDWINDOW_BG_MONO WHITE -#define DEF_PANEDWINDOW_BORDERWIDTH "1" -#define DEF_PANEDWINDOW_CURSOR "" -#define DEF_PANEDWINDOW_HANDLEPAD "8" -#define DEF_PANEDWINDOW_HANDLESIZE "8" -#define DEF_PANEDWINDOW_HEIGHT "" -#define DEF_PANEDWINDOW_OPAQUERESIZE "1" -#define DEF_PANEDWINDOW_ORIENT "horizontal" -#define DEF_PANEDWINDOW_RELIEF "flat" -#define DEF_PANEDWINDOW_SASHCURSOR "" -#define DEF_PANEDWINDOW_SASHPAD "0" -#define DEF_PANEDWINDOW_SASHRELIEF "flat" -#define DEF_PANEDWINDOW_SASHWIDTH "3" -#define DEF_PANEDWINDOW_SHOWHANDLE "0" -#define DEF_PANEDWINDOW_WIDTH "" - -/* - * Defaults for panedwindow panes - */ - -#define DEF_PANEDWINDOW_PANE_AFTER "" -#define DEF_PANEDWINDOW_PANE_BEFORE "" -#define DEF_PANEDWINDOW_PANE_HEIGHT "" -#define DEF_PANEDWINDOW_PANE_MINSIZE "0" -#define DEF_PANEDWINDOW_PANE_PADX "0" -#define DEF_PANEDWINDOW_PANE_PADY "0" -#define DEF_PANEDWINDOW_PANE_STICKY "nsew" -#define DEF_PANEDWINDOW_PANE_WIDTH "" -#define DEF_PANEDWINDOW_PANE_HIDE "0" -#define DEF_PANEDWINDOW_PANE_STRETCH "last" - -/* - * Defaults for scales: - */ - -#define DEF_SCALE_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCALE_ACTIVE_BG_MONO BLACK -#define DEF_SCALE_BG_COLOR NORMAL_BG -#define DEF_SCALE_BG_MONO WHITE -#define DEF_SCALE_BIG_INCREMENT "0" -#define DEF_SCALE_BORDER_WIDTH "1" -#define DEF_SCALE_COMMAND "" -#define DEF_SCALE_CURSOR "" -#define DEF_SCALE_DIGITS "0" -#define DEF_SCALE_FONT "TkDefaultFont" -#define DEF_SCALE_FG_COLOR BLACK -#define DEF_SCALE_FG_MONO BLACK -#define DEF_SCALE_FROM "0" -#define DEF_SCALE_HIGHLIGHT_BG_COLOR DEF_SCALE_BG_COLOR -#define DEF_SCALE_HIGHLIGHT_BG_MONO DEF_SCALE_BG_MONO -#define DEF_SCALE_HIGHLIGHT BLACK -#define DEF_SCALE_HIGHLIGHT_WIDTH "1" -#define DEF_SCALE_LABEL "" -#define DEF_SCALE_LENGTH "100" -#define DEF_SCALE_ORIENT "vertical" -#define DEF_SCALE_RELIEF "flat" -#define DEF_SCALE_REPEAT_DELAY "300" -#define DEF_SCALE_REPEAT_INTERVAL "100" -#define DEF_SCALE_RESOLUTION "1" -#define DEF_SCALE_TROUGH_COLOR TROUGH -#define DEF_SCALE_TROUGH_MONO WHITE -#define DEF_SCALE_SHOW_VALUE "1" -#define DEF_SCALE_SLIDER_LENGTH "30" -#define DEF_SCALE_SLIDER_RELIEF "raised" -#define DEF_SCALE_STATE "normal" -#define DEF_SCALE_TAKE_FOCUS (char *) NULL -#define DEF_SCALE_TICK_INTERVAL "0" -#define DEF_SCALE_TO "100" -#define DEF_SCALE_VARIABLE "" -#define DEF_SCALE_WIDTH "15" - -/* - * Defaults for scrollbars: - */ - -#define DEF_SCROLLBAR_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCROLLBAR_ACTIVE_BG_MONO BLACK -#define DEF_SCROLLBAR_ACTIVE_RELIEF "raised" -#define DEF_SCROLLBAR_BG_COLOR NORMAL_BG -#define DEF_SCROLLBAR_BG_MONO WHITE -#define DEF_SCROLLBAR_BORDER_WIDTH "1" -#define DEF_SCROLLBAR_COMMAND "" -#define DEF_SCROLLBAR_CURSOR "" -#define DEF_SCROLLBAR_EL_BORDER_WIDTH "-1" -#define DEF_SCROLLBAR_HIGHLIGHT_BG NORMAL_BG -#define DEF_SCROLLBAR_HIGHLIGHT BLACK -#define DEF_SCROLLBAR_HIGHLIGHT_WIDTH "0" -#define DEF_SCROLLBAR_JUMP "0" -#define DEF_SCROLLBAR_ORIENT "vertical" -#define DEF_SCROLLBAR_RELIEF "sunken" -#define DEF_SCROLLBAR_REPEAT_DELAY "300" -#define DEF_SCROLLBAR_REPEAT_INTERVAL "100" -#define DEF_SCROLLBAR_TAKE_FOCUS (char *) NULL -#define DEF_SCROLLBAR_TROUGH_COLOR TROUGH -#define DEF_SCROLLBAR_TROUGH_MONO WHITE -#define DEF_SCROLLBAR_WIDTH "11" - -/* - * Defaults for texts: - */ - -#define DEF_TEXT_AUTO_SEPARATORS "1" -#define DEF_TEXT_BG_COLOR WHITE -#define DEF_TEXT_BG_MONO WHITE -#define DEF_TEXT_BLOCK_CURSOR "0" -#define DEF_TEXT_BORDER_WIDTH "1" -#define DEF_TEXT_CURSOR "xterm" -#define DEF_TEXT_FG BLACK -#define DEF_TEXT_EXPORT_SELECTION "1" -#define DEF_TEXT_FONT "TkFixedFont" -#define DEF_TEXT_HEIGHT "24" -#define DEF_TEXT_HIGHLIGHT_BG NORMAL_BG -#define DEF_TEXT_HIGHLIGHT BLACK -#define DEF_TEXT_HIGHLIGHT_WIDTH "1" -#define DEF_TEXT_INSERT_BG BLACK -#define DEF_TEXT_INSERT_BD_COLOR "0" -#define DEF_TEXT_INSERT_BD_MONO "0" -#define DEF_TEXT_INSERT_OFF_TIME "300" -#define DEF_TEXT_INSERT_ON_TIME "600" -#define DEF_TEXT_INSERT_WIDTH "2" -#define DEF_TEXT_MAX_UNDO "0" -#define DEF_TEXT_PADX "1" -#define DEF_TEXT_PADY "1" -#define DEF_TEXT_RELIEF "sunken" -#define DEF_TEXT_INACTIVE_SELECT_COLOR SELECT_BG -#define DEF_TEXT_SELECT_COLOR SELECT_BG -#define DEF_TEXT_SELECT_MONO BLACK -#define DEF_TEXT_SELECT_BD_COLOR "0" -#define DEF_TEXT_SELECT_BD_MONO "0" -#define DEF_TEXT_SELECT_FG_COLOR BLACK -#define DEF_TEXT_SELECT_FG_MONO WHITE -#define DEF_TEXT_SELECT_RELIEF "raised" -#define DEF_TEXT_SET_GRID "0" -#define DEF_TEXT_SPACING1 "0" -#define DEF_TEXT_SPACING2 "0" -#define DEF_TEXT_SPACING3 "0" -#define DEF_TEXT_STATE "normal" -#define DEF_TEXT_TABS "" -#define DEF_TEXT_TABSTYLE "tabular" -#define DEF_TEXT_TAKE_FOCUS (char *) NULL -#define DEF_TEXT_UNDO "0" -#define DEF_TEXT_WIDTH "80" -#define DEF_TEXT_WRAP "char" -#define DEF_TEXT_XSCROLL_COMMAND "" -#define DEF_TEXT_YSCROLL_COMMAND "" - -/* - * Defaults for canvas text: - */ - -#define DEF_CANVTEXT_FONT "TkDefaultFont" - -/* - * Defaults for toplevels (most of the defaults for frames also apply - * to toplevels): - */ - -#define DEF_TOPLEVEL_CLASS "Toplevel" -#define DEF_TOPLEVEL_MENU "" -#define DEF_TOPLEVEL_SCREEN "" -#define DEF_TOPLEVEL_USE "" - -#endif /* _TKUNIXDEFAULT */ diff --git a/src/other/togl/include/tcltk/tk8.6/tkUnixPort.h b/src/other/togl/include/tcltk/tk8.6/tkUnixPort.h deleted file mode 100644 index 35c47b5e619..00000000000 --- a/src/other/togl/include/tcltk/tk8.6/tkUnixPort.h +++ /dev/null @@ -1,207 +0,0 @@ -/* - * tkUnixPort.h -- - * - * This file is included by all of the Tk C files. It contains - * information that may be configuration-dependent, such as - * #includes for system include files and a few other things. - * - * Copyright (c) 1991-1993 The Regents of the University of California. - * Copyright (c) 1994-1996 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _UNIXPORT -#define _UNIXPORT - -#define __UNIX__ 1 - -/* - * Macro to use instead of "void" for arguments that must have - * type "void *" in ANSI C; maps them to type "char *" in - * non-ANSI systems. This macro may be used in some of the include - * files below, which is why it is defined here. - */ - -#ifndef VOID -# ifdef __STDC__ -# define VOID void -# else -# define VOID char -# endif -#endif - -#include -#include -#include -#ifndef NO_LIMITS_H -# include -#else -# include "../compat/limits.h" -#endif -#include -#include -#ifdef NO_STDLIB_H -# include "../compat/stdlib.h" -#else -# include -#endif -#include -#include -#include -#ifdef HAVE_SYS_SELECT_H -# include -#endif -#include -#ifndef _TCL -# include -#endif -#if TIME_WITH_SYS_TIME -# include -# include -#else -# if HAVE_SYS_TIME_H -# include -# else -# include -# endif -#endif -#if HAVE_INTTYPES_H -# include -#endif -#ifndef NO_UNISTD_H -# include -#else -# include "../compat/unistd.h" -#endif -#include -#include -#include -#include -#include -#include -#include - -/* - * The following macro defines the type of the mask arguments to - * select: - */ - -#ifndef NO_FD_SET -# define SELECT_MASK fd_set -#else -# ifndef _AIX - typedef long fd_mask; -# endif -# if defined(_IBMR2) -# define SELECT_MASK void -# else -# define SELECT_MASK int -# endif -#endif - -/* - * The following macro defines the number of fd_masks in an fd_set: - */ - -#ifndef FD_SETSIZE -# ifdef OPEN_MAX -# define FD_SETSIZE OPEN_MAX -# else -# define FD_SETSIZE 256 -# endif -#endif -#if !defined(howmany) -# define howmany(x, y) (((x)+((y)-1))/(y)) -#endif -#ifndef NFDBITS -# define NFDBITS NBBY*sizeof(fd_mask) -#endif -#define MASK_SIZE howmany(FD_SETSIZE, NFDBITS) - -/* - * Define "NBBY" (number of bits per byte) if it's not already defined. - */ - -#ifndef NBBY -# define NBBY 8 -#endif - -/* - * These macros are just wrappers for the equivalent X Region calls. - */ - -#define TkClipBox(rgn, rect) XClipBox((Region) rgn, rect) -#define TkCreateRegion() (TkRegion) XCreateRegion() -#define TkDestroyRegion(rgn) XDestroyRegion((Region) rgn) -#define TkIntersectRegion(a, b, r) XIntersectRegion((Region) a, \ - (Region) b, (Region) r) -#define TkRectInRegion(r, x, y, w, h) XRectInRegion((Region) r, x, y, w, h) -#define TkSetRegion(d, gc, rgn) XSetRegion(d, gc, (Region) rgn) -#define TkSubtractRegion(a, b, r) XSubtractRegion((Region) a, \ - (Region) b, (Region) r) -#define TkUnionRectWithRegion(rect, src, ret) XUnionRectWithRegion(rect, \ - (Region) src, (Region) ret) - -/* - * The TkPutImage macro strips off the color table information, which isn't - * needed for X. - */ - -#define TkPutImage(colors, ncolors, display, pixels, gc, image, srcx, srcy, destx, desty, width, height) \ - XPutImage(display, pixels, gc, image, srcx, srcy, destx, \ - desty, width, height); - -/* - * Supply macros for seek offsets, if they're not already provided by - * an include file. - */ - -#ifndef SEEK_SET -# define SEEK_SET 0 -#endif - -#ifndef SEEK_CUR -# define SEEK_CUR 1 -#endif - -#ifndef SEEK_END -# define SEEK_END 2 -#endif - -/* - * Declarations for various library procedures that may not be declared - * in any other header file. - */ - - -/* - * These functions do nothing under Unix, so we just eliminate calls to them. - */ - -#define TkpButtonSetDefaults(specPtr) {} -#define TkpDestroyButton(butPtr) {} -#define TkSelUpdateClipboard(a,b) {} -#define TkSetPixmapColormap(p,c) {} - -/* - * These calls implement native bitmaps which are not supported under - * UNIX. The macros eliminate the calls. - */ - -#define TkpDefineNativeBitmaps() -#define TkpCreateNativeBitmap(display, source) None -#define TkpGetNativeAppBitmap(display, name, w, h) None - -/* - * This macro stores a representation of the window handle in a string. - * This should perhaps use the real size of an XID. - */ - -#define TkpPrintWindowId(buf,w) \ - sprintf((buf), "%#08lx", (unsigned long) (w)) - -#endif /* _UNIXPORT */ diff --git a/src/other/togl/include/tcltk/tk8.6/tkWin.h b/src/other/togl/include/tcltk/tk8.6/tkWin.h deleted file mode 100644 index d9169779fd8..00000000000 --- a/src/other/togl/include/tcltk/tk8.6/tkWin.h +++ /dev/null @@ -1,91 +0,0 @@ -/* - * tkWin.h -- - * - * Declarations of public types and interfaces that are only - * available under Windows. - * - * Copyright (c) 1996-1997 by Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKWIN -#define _TKWIN - -/* - * We must specify the lower version we intend to support. In particular - * the SystemParametersInfo API doesn't like to receive structures that - * are larger than it expects which affects the font assignements. - * - * WINVER = 0x0410 means Windows 98 and above - */ - -#ifndef WINVER -#define WINVER 0x0410 -#endif -#ifndef _WIN32_WINDOWS -#define _WIN32_WINDOWS 0x0410 -#endif - -#ifndef _TK -#include -#endif - -#define WIN32_LEAN_AND_MEAN -#include -#undef WIN32_LEAN_AND_MEAN - -#ifdef BUILD_tk -# undef TCL_STORAGE_CLASS -# define TCL_STORAGE_CLASS DLLEXPORT -#endif - -/* - * The following messages are used to communicate between a Tk toplevel - * and its container window. A Tk container may not be able to provide - * service to all of the following requests at the moment. But an embedded - * Tk window will send out these requests to support external Tk container - * application. - */ - -#define TK_CLAIMFOCUS (WM_USER) /* an embedded window requests to focus */ -#define TK_GEOMETRYREQ (WM_USER+1) /* an embedded window requests to change size */ -#define TK_ATTACHWINDOW (WM_USER+2) /* an embedded window requests to attach */ -#define TK_DETACHWINDOW (WM_USER+3) /* an embedded window requests to detach */ -#define TK_MOVEWINDOW (WM_USER+4) /* an embedded window requests to move */ -#define TK_RAISEWINDOW (WM_USER+5) /* an embedded window requests to raise */ -#define TK_ICONIFY (WM_USER+6) /* an embedded window requests to iconify */ -#define TK_DEICONIFY (WM_USER+7) /* an embedded window requests to deiconify */ -#define TK_WITHDRAW (WM_USER+8) /* an embedded window requests to withdraw */ -#define TK_GETFRAMEWID (WM_USER+9) /* an embedded window requests a frame window id */ -#define TK_OVERRIDEREDIRECT (WM_USER+10) /* an embedded window requests to overrideredirect */ -#define TK_SETMENU (WM_USER+11) /* an embedded window requests to setup menu */ -#define TK_STATE (WM_USER+12) /* an embedded window sets/gets state */ -#define TK_INFO (WM_USER+13) /* an embedded window requests a container's info */ - -/* - * The following are sub-messages (wParam) for TK_INFO. An embedded window may - * send a TK_INFO message with one of the sub-messages to query a container - * for verification and availability - */ -#define TK_CONTAINER_VERIFY 0x01 -#define TK_CONTAINER_ISAVAILABLE 0x02 - - -/* - *-------------------------------------------------------------- - * - * Exported procedures defined for the Windows platform only. - * - *-------------------------------------------------------------- - */ - -#include "tkPlatDecls.h" - -# undef TCL_STORAGE_CLASS -# define TCL_STORAGE_CLASS DLLIMPORT - -#endif /* _TKWIN */ diff --git a/src/other/togl/include/tcltk/tk8.6/tkWinDefault.h b/src/other/togl/include/tcltk/tk8.6/tkWinDefault.h deleted file mode 100644 index aba22a951e5..00000000000 --- a/src/other/togl/include/tcltk/tk8.6/tkWinDefault.h +++ /dev/null @@ -1,529 +0,0 @@ -/* - * tkWinDefault.h -- - * - * This file defines the defaults for all options for all of - * the Tk widgets. - * - * Copyright (c) 1995-1997 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKWINDEFAULT -#define _TKWINDEFAULT - -/* - * The definitions below provide symbolic names for the default colors. - * NORMAL_BG - Normal background color. - * ACTIVE_BG - Background color when widget is active. - * SELECT_BG - Background color for selected text. - * TROUGH - Background color for troughs in scales and scrollbars. - * INDICATOR - Color for indicator when button is selected. - * DISABLED - Foreground color when widget is disabled. - */ - -#define BLACK "Black" -#define WHITE "White" - -#define NORMAL_BG "SystemButtonFace" -#define NORMAL_FG "SystemButtonText" -#define ACTIVE_BG NORMAL_BG -#define TEXT_FG "SystemWindowText" -#define SELECT_BG "SystemHighlight" -#define SELECT_FG "SystemHighlightText" -#define TROUGH "SystemScrollbar" -#define INDICATOR "SystemWindow" -#define DISABLED "SystemDisabledText" -#define MENU_BG "SystemMenu" -#define MENU_FG "SystemMenuText" -#define HIGHLIGHT "SystemWindowFrame" - -/* - * Defaults for labels, buttons, checkbuttons, and radiobuttons: - */ - -#define DEF_BUTTON_ANCHOR "center" -#define DEF_BUTTON_ACTIVE_BG_COLOR NORMAL_BG -#define DEF_BUTTON_ACTIVE_BG_MONO BLACK -#define DEF_BUTTON_ACTIVE_FG_COLOR NORMAL_FG -#define DEF_CHKRAD_ACTIVE_FG_COLOR TEXT_FG -#define DEF_BUTTON_ACTIVE_FG_MONO WHITE -#define DEF_BUTTON_BG_COLOR NORMAL_BG -#define DEF_BUTTON_BG_MONO WHITE -#define DEF_BUTTON_BITMAP "" -#define DEF_BUTTON_BORDER_WIDTH "2" -#define DEF_BUTTON_CURSOR "" -#define DEF_BUTTON_COMMAND "" -#define DEF_BUTTON_COMPOUND "none" -#define DEF_BUTTON_DEFAULT "disabled" -#define DEF_BUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_BUTTON_DISABLED_FG_MONO "" -#define DEF_BUTTON_FG NORMAL_FG -#define DEF_CHKRAD_FG TEXT_FG -#define DEF_BUTTON_FONT "TkDefaultFont" -#define DEF_BUTTON_HEIGHT "0" -#define DEF_BUTTON_HIGHLIGHT_BG_COLOR DEF_BUTTON_BG_COLOR -#define DEF_BUTTON_HIGHLIGHT_BG_MONO DEF_BUTTON_BG_MONO -#define DEF_BUTTON_HIGHLIGHT HIGHLIGHT -#define DEF_LABEL_HIGHLIGHT_WIDTH "0" -#define DEF_BUTTON_HIGHLIGHT_WIDTH "1" -#define DEF_BUTTON_IMAGE (char *) NULL -#define DEF_BUTTON_INDICATOR "1" -#define DEF_BUTTON_JUSTIFY "center" -#define DEF_BUTTON_OFF_VALUE "0" -#define DEF_BUTTON_ON_VALUE "1" -#define DEF_BUTTON_OVER_RELIEF "" -#define DEF_BUTTON_PADX "1" -#define DEF_LABCHKRAD_PADX "1" -#define DEF_BUTTON_PADY "1" -#define DEF_LABCHKRAD_PADY "1" -#define DEF_BUTTON_RELIEF "raised" -#define DEF_LABCHKRAD_RELIEF "flat" -#define DEF_BUTTON_REPEAT_DELAY "0" -#define DEF_BUTTON_REPEAT_INTERVAL "0" -#define DEF_BUTTON_SELECT_COLOR INDICATOR -#define DEF_BUTTON_SELECT_MONO BLACK -#define DEF_BUTTON_SELECT_IMAGE (char *) NULL -#define DEF_BUTTON_STATE "normal" -#define DEF_LABEL_TAKE_FOCUS "0" -#define DEF_BUTTON_TAKE_FOCUS (char *) NULL -#define DEF_BUTTON_TEXT "" -#define DEF_BUTTON_TEXT_VARIABLE "" -#define DEF_BUTTON_TRISTATE_VALUE "" -#define DEF_BUTTON_UNDERLINE "-1" -#define DEF_BUTTON_VALUE "" -#define DEF_BUTTON_WIDTH "0" -#define DEF_BUTTON_WRAP_LENGTH "0" -#define DEF_RADIOBUTTON_VARIABLE "selectedButton" -#define DEF_CHECKBUTTON_VARIABLE "" - -/* - * Defaults for canvases: - */ - -#define DEF_CANVAS_BG_COLOR NORMAL_BG -#define DEF_CANVAS_BG_MONO WHITE -#define DEF_CANVAS_BORDER_WIDTH "0" -#define DEF_CANVAS_CLOSE_ENOUGH "1" -#define DEF_CANVAS_CONFINE "1" -#define DEF_CANVAS_CURSOR "" -#define DEF_CANVAS_HEIGHT "7c" -#define DEF_CANVAS_HIGHLIGHT_BG NORMAL_BG -#define DEF_CANVAS_HIGHLIGHT HIGHLIGHT -#define DEF_CANVAS_HIGHLIGHT_WIDTH "2" -#define DEF_CANVAS_INSERT_BG NORMAL_FG -#define DEF_CANVAS_INSERT_BD_COLOR "0" -#define DEF_CANVAS_INSERT_BD_MONO "0" -#define DEF_CANVAS_INSERT_OFF_TIME "300" -#define DEF_CANVAS_INSERT_ON_TIME "600" -#define DEF_CANVAS_INSERT_WIDTH "2" -#define DEF_CANVAS_RELIEF "flat" -#define DEF_CANVAS_SCROLL_REGION "" -#define DEF_CANVAS_SELECT_COLOR SELECT_BG -#define DEF_CANVAS_SELECT_MONO BLACK -#define DEF_CANVAS_SELECT_BD_COLOR "1" -#define DEF_CANVAS_SELECT_BD_MONO "0" -#define DEF_CANVAS_SELECT_FG_COLOR SELECT_FG -#define DEF_CANVAS_SELECT_FG_MONO WHITE -#define DEF_CANVAS_TAKE_FOCUS (char *) NULL -#define DEF_CANVAS_WIDTH "10c" -#define DEF_CANVAS_X_SCROLL_CMD "" -#define DEF_CANVAS_X_SCROLL_INCREMENT "0" -#define DEF_CANVAS_Y_SCROLL_CMD "" -#define DEF_CANVAS_Y_SCROLL_INCREMENT "0" - -/* - * Defaults for entries: - */ - -#define DEF_ENTRY_BG_COLOR "SystemWindow" -#define DEF_ENTRY_BG_MONO WHITE -#define DEF_ENTRY_BORDER_WIDTH "1" -#define DEF_ENTRY_CURSOR "xterm" -#define DEF_ENTRY_DISABLED_BG_COLOR "SystemButtonFace" -#define DEF_ENTRY_DISABLED_BG_MONO WHITE -#define DEF_ENTRY_DISABLED_FG DISABLED -#define DEF_ENTRY_EXPORT_SELECTION "1" -#define DEF_ENTRY_FONT "TkTextFont" -#define DEF_ENTRY_FG TEXT_FG -#define DEF_ENTRY_HIGHLIGHT_BG NORMAL_BG -#define DEF_ENTRY_HIGHLIGHT HIGHLIGHT -#define DEF_ENTRY_HIGHLIGHT_WIDTH "0" -#define DEF_ENTRY_INSERT_BG TEXT_FG -#define DEF_ENTRY_INSERT_BD_COLOR "0" -#define DEF_ENTRY_INSERT_BD_MONO "0" -#define DEF_ENTRY_INSERT_OFF_TIME "300" -#define DEF_ENTRY_INSERT_ON_TIME "600" -#define DEF_ENTRY_INSERT_WIDTH "2" -#define DEF_ENTRY_JUSTIFY "left" -#define DEF_ENTRY_READONLY_BG_COLOR "SystemButtonFace" -#define DEF_ENTRY_READONLY_BG_MONO WHITE -#define DEF_ENTRY_RELIEF "sunken" -#define DEF_ENTRY_SCROLL_COMMAND "" -#define DEF_ENTRY_SELECT_COLOR SELECT_BG -#define DEF_ENTRY_SELECT_MONO BLACK -#define DEF_ENTRY_SELECT_BD_COLOR "0" -#define DEF_ENTRY_SELECT_BD_MONO "0" -#define DEF_ENTRY_SELECT_FG_COLOR SELECT_FG -#define DEF_ENTRY_SELECT_FG_MONO WHITE -#define DEF_ENTRY_SHOW (char *) NULL -#define DEF_ENTRY_STATE "normal" -#define DEF_ENTRY_TAKE_FOCUS (char *) NULL -#define DEF_ENTRY_TEXT_VARIABLE "" -#define DEF_ENTRY_WIDTH "20" - -/* - * Defaults for frames: - */ - -#define DEF_FRAME_BG_COLOR NORMAL_BG -#define DEF_FRAME_BG_MONO WHITE -#define DEF_FRAME_BORDER_WIDTH "0" -#define DEF_FRAME_CLASS "Frame" -#define DEF_FRAME_COLORMAP "" -#define DEF_FRAME_CONTAINER "0" -#define DEF_FRAME_CURSOR "" -#define DEF_FRAME_HEIGHT "0" -#define DEF_FRAME_HIGHLIGHT_BG NORMAL_BG -#define DEF_FRAME_HIGHLIGHT HIGHLIGHT -#define DEF_FRAME_HIGHLIGHT_WIDTH "0" -#define DEF_FRAME_PADX "0" -#define DEF_FRAME_PADY "0" -#define DEF_FRAME_RELIEF "flat" -#define DEF_FRAME_TAKE_FOCUS "0" -#define DEF_FRAME_VISUAL "" -#define DEF_FRAME_WIDTH "0" - -/* - * Defaults for labelframes: - */ - -#define DEF_LABELFRAME_BORDER_WIDTH "2" -#define DEF_LABELFRAME_CLASS "Labelframe" -#define DEF_LABELFRAME_RELIEF "groove" -#define DEF_LABELFRAME_FG NORMAL_FG -#define DEF_LABELFRAME_FONT "TkDefaultFont" -#define DEF_LABELFRAME_TEXT "" -#define DEF_LABELFRAME_LABELANCHOR "nw" - -/* - * Defaults for listboxes: - */ - -#define DEF_LISTBOX_ACTIVE_STYLE "underline" -#define DEF_LISTBOX_BG_COLOR "SystemWindow" -#define DEF_LISTBOX_BG_MONO WHITE -#define DEF_LISTBOX_BORDER_WIDTH "1" -#define DEF_LISTBOX_CURSOR "" -#define DEF_LISTBOX_DISABLED_FG DISABLED -#define DEF_LISTBOX_EXPORT_SELECTION "1" -#define DEF_LISTBOX_FONT "TkDefaultFont" -#define DEF_LISTBOX_FG NORMAL_FG -#define DEF_LISTBOX_HEIGHT "10" -#define DEF_LISTBOX_HIGHLIGHT_BG NORMAL_BG -#define DEF_LISTBOX_HIGHLIGHT HIGHLIGHT -#define DEF_LISTBOX_HIGHLIGHT_WIDTH "1" -#define DEF_LISTBOX_RELIEF "sunken" -#define DEF_LISTBOX_SCROLL_COMMAND "" -#define DEF_LISTBOX_LIST_VARIABLE "" -#define DEF_LISTBOX_SELECT_COLOR SELECT_BG -#define DEF_LISTBOX_SELECT_MONO BLACK -#define DEF_LISTBOX_SELECT_BD "0" -#define DEF_LISTBOX_SELECT_FG_COLOR SELECT_FG -#define DEF_LISTBOX_SELECT_FG_MONO WHITE -#define DEF_LISTBOX_SELECT_MODE "browse" -#define DEF_LISTBOX_SET_GRID "0" -#define DEF_LISTBOX_STATE "normal" -#define DEF_LISTBOX_TAKE_FOCUS (char *) NULL -#define DEF_LISTBOX_WIDTH "20" - -/* - * Defaults for individual entries of menus: - */ - -#define DEF_MENU_ENTRY_ACTIVE_BG (char *) NULL -#define DEF_MENU_ENTRY_ACTIVE_FG (char *) NULL -#define DEF_MENU_ENTRY_ACCELERATOR (char *) NULL -#define DEF_MENU_ENTRY_BG (char *) NULL -#define DEF_MENU_ENTRY_BITMAP None -#define DEF_MENU_ENTRY_COLUMN_BREAK "0" -#define DEF_MENU_ENTRY_COMMAND (char *) NULL -#define DEF_MENU_ENTRY_COMPOUND "none" -#define DEF_MENU_ENTRY_FG (char *) NULL -#define DEF_MENU_ENTRY_FONT (char *) NULL -#define DEF_MENU_ENTRY_HIDE_MARGIN "0" -#define DEF_MENU_ENTRY_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_INDICATOR "1" -#define DEF_MENU_ENTRY_LABEL (char *) NULL -#define DEF_MENU_ENTRY_MENU (char *) NULL -#define DEF_MENU_ENTRY_OFF_VALUE "0" -#define DEF_MENU_ENTRY_ON_VALUE "1" -#define DEF_MENU_ENTRY_SELECT_IMAGE (char *) NULL -#define DEF_MENU_ENTRY_STATE "normal" -#define DEF_MENU_ENTRY_VALUE (char *) NULL -#define DEF_MENU_ENTRY_CHECK_VARIABLE (char *) NULL -#define DEF_MENU_ENTRY_RADIO_VARIABLE "selectedButton" -#define DEF_MENU_ENTRY_SELECT (char *) NULL -#define DEF_MENU_ENTRY_UNDERLINE "-1" - -/* - * Defaults for menus overall: - */ - -#define DEF_MENU_ACTIVE_BG_COLOR SELECT_BG -#define DEF_MENU_ACTIVE_BG_MONO BLACK -#define DEF_MENU_ACTIVE_BORDER_WIDTH "0" -#define DEF_MENU_ACTIVE_FG_COLOR SELECT_FG -#define DEF_MENU_ACTIVE_FG_MONO WHITE -#define DEF_MENU_BG_COLOR MENU_BG -#define DEF_MENU_BG_MONO WHITE -#define DEF_MENU_BORDER_WIDTH "0" -#define DEF_MENU_CURSOR "arrow" -#define DEF_MENU_DISABLED_FG_COLOR DISABLED -#define DEF_MENU_DISABLED_FG_MONO "" -#define DEF_MENU_FONT "TkMenuFont" -#define DEF_MENU_FG MENU_FG -#define DEF_MENU_POST_COMMAND "" -#define DEF_MENU_RELIEF "flat" -#define DEF_MENU_SELECT_COLOR MENU_FG -#define DEF_MENU_SELECT_MONO BLACK -#define DEF_MENU_TAKE_FOCUS "0" -#define DEF_MENU_TEAROFF "1" -#define DEF_MENU_TEAROFF_CMD (char *) NULL -#define DEF_MENU_TITLE "" -#define DEF_MENU_TYPE "normal" - -/* - * Defaults for menubuttons: - */ - -#define DEF_MENUBUTTON_ANCHOR "center" -#define DEF_MENUBUTTON_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_MENUBUTTON_ACTIVE_BG_MONO BLACK -#define DEF_MENUBUTTON_ACTIVE_FG_COLOR NORMAL_FG -#define DEF_MENUBUTTON_ACTIVE_FG_MONO WHITE -#define DEF_MENUBUTTON_BG_COLOR NORMAL_BG -#define DEF_MENUBUTTON_BG_MONO WHITE -#define DEF_MENUBUTTON_BITMAP "" -#define DEF_MENUBUTTON_BORDER_WIDTH "1" -#define DEF_MENUBUTTON_CURSOR "" -#define DEF_MENUBUTTON_DIRECTION "below" -#define DEF_MENUBUTTON_DISABLED_FG_COLOR DISABLED -#define DEF_MENUBUTTON_DISABLED_FG_MONO "" -#define DEF_MENUBUTTON_FONT "TkDefaultFont" -#define DEF_MENUBUTTON_FG NORMAL_FG -#define DEF_MENUBUTTON_HEIGHT "0" -#define DEF_MENUBUTTON_HIGHLIGHT_BG_COLOR DEF_MENUBUTTON_BG_COLOR -#define DEF_MENUBUTTON_HIGHLIGHT_BG_MONO DEF_MENUBUTTON_BG_MONO -#define DEF_MENUBUTTON_HIGHLIGHT HIGHLIGHT -#define DEF_MENUBUTTON_HIGHLIGHT_WIDTH "0" -#define DEF_MENUBUTTON_IMAGE (char *) NULL -#define DEF_MENUBUTTON_INDICATOR "0" -#define DEF_MENUBUTTON_JUSTIFY "center" -#define DEF_MENUBUTTON_MENU "" -#define DEF_MENUBUTTON_PADX "4p" -#define DEF_MENUBUTTON_PADY "3p" -#define DEF_MENUBUTTON_RELIEF "flat" -#define DEF_MENUBUTTON_STATE "normal" -#define DEF_MENUBUTTON_TAKE_FOCUS "0" -#define DEF_MENUBUTTON_TEXT "" -#define DEF_MENUBUTTON_TEXT_VARIABLE "" -#define DEF_MENUBUTTON_UNDERLINE "-1" -#define DEF_MENUBUTTON_WIDTH "0" -#define DEF_MENUBUTTON_WRAP_LENGTH "0" - -/* - * Defaults for messages: - */ - -#define DEF_MESSAGE_ANCHOR "center" -#define DEF_MESSAGE_ASPECT "150" -#define DEF_MESSAGE_BG_COLOR NORMAL_BG -#define DEF_MESSAGE_BG_MONO WHITE -#define DEF_MESSAGE_BORDER_WIDTH "1" -#define DEF_MESSAGE_CURSOR "" -#define DEF_MESSAGE_FG NORMAL_FG -#define DEF_MESSAGE_FONT "TkDefaultFont" -#define DEF_MESSAGE_HIGHLIGHT_BG NORMAL_BG -#define DEF_MESSAGE_HIGHLIGHT HIGHLIGHT -#define DEF_MESSAGE_HIGHLIGHT_WIDTH "0" -#define DEF_MESSAGE_JUSTIFY "left" -#define DEF_MESSAGE_PADX "-1" -#define DEF_MESSAGE_PADY "-1" -#define DEF_MESSAGE_RELIEF "flat" -#define DEF_MESSAGE_TAKE_FOCUS "0" -#define DEF_MESSAGE_TEXT "" -#define DEF_MESSAGE_TEXT_VARIABLE "" -#define DEF_MESSAGE_WIDTH "0" - -/* - * Defaults for panedwindows - */ - -#define DEF_PANEDWINDOW_BG_COLOR NORMAL_BG -#define DEF_PANEDWINDOW_BG_MONO WHITE -#define DEF_PANEDWINDOW_BORDERWIDTH "1" -#define DEF_PANEDWINDOW_CURSOR "" -#define DEF_PANEDWINDOW_HANDLEPAD "8" -#define DEF_PANEDWINDOW_HANDLESIZE "8" -#define DEF_PANEDWINDOW_HEIGHT "" -#define DEF_PANEDWINDOW_OPAQUERESIZE "1" -#define DEF_PANEDWINDOW_ORIENT "horizontal" -#define DEF_PANEDWINDOW_RELIEF "flat" -#define DEF_PANEDWINDOW_SASHCURSOR "" -#define DEF_PANEDWINDOW_SASHPAD "0" -#define DEF_PANEDWINDOW_SASHRELIEF "flat" -#define DEF_PANEDWINDOW_SASHWIDTH "3" -#define DEF_PANEDWINDOW_SHOWHANDLE "0" -#define DEF_PANEDWINDOW_WIDTH "" - -/* - * Defaults for panedwindow panes - */ - -#define DEF_PANEDWINDOW_PANE_AFTER "" -#define DEF_PANEDWINDOW_PANE_BEFORE "" -#define DEF_PANEDWINDOW_PANE_HEIGHT "" -#define DEF_PANEDWINDOW_PANE_MINSIZE "0" -#define DEF_PANEDWINDOW_PANE_PADX "0" -#define DEF_PANEDWINDOW_PANE_PADY "0" -#define DEF_PANEDWINDOW_PANE_STICKY "nsew" -#define DEF_PANEDWINDOW_PANE_WIDTH "" -#define DEF_PANEDWINDOW_PANE_HIDE "0" -#define DEF_PANEDWINDOW_PANE_STRETCH "last" - -/* - * Defaults for scales: - */ - -#define DEF_SCALE_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCALE_ACTIVE_BG_MONO BLACK -#define DEF_SCALE_BG_COLOR NORMAL_BG -#define DEF_SCALE_BG_MONO WHITE -#define DEF_SCALE_BIG_INCREMENT "0" -#define DEF_SCALE_BORDER_WIDTH "1" -#define DEF_SCALE_COMMAND "" -#define DEF_SCALE_CURSOR "" -#define DEF_SCALE_DIGITS "0" -#define DEF_SCALE_FONT "TkDefaultFont" -#define DEF_SCALE_FG_COLOR NORMAL_FG -#define DEF_SCALE_FG_MONO BLACK -#define DEF_SCALE_FROM "0" -#define DEF_SCALE_HIGHLIGHT_BG_COLOR DEF_SCALE_BG_COLOR -#define DEF_SCALE_HIGHLIGHT_BG_MONO DEF_SCALE_BG_MONO -#define DEF_SCALE_HIGHLIGHT HIGHLIGHT -#define DEF_SCALE_HIGHLIGHT_WIDTH "2" -#define DEF_SCALE_LABEL "" -#define DEF_SCALE_LENGTH "100" -#define DEF_SCALE_ORIENT "vertical" -#define DEF_SCALE_RELIEF "flat" -#define DEF_SCALE_REPEAT_DELAY "300" -#define DEF_SCALE_REPEAT_INTERVAL "100" -#define DEF_SCALE_RESOLUTION "1" -#define DEF_SCALE_TROUGH_COLOR TROUGH -#define DEF_SCALE_TROUGH_MONO WHITE -#define DEF_SCALE_SHOW_VALUE "1" -#define DEF_SCALE_SLIDER_LENGTH "30" -#define DEF_SCALE_SLIDER_RELIEF "raised" -#define DEF_SCALE_STATE "normal" -#define DEF_SCALE_TAKE_FOCUS (char *) NULL -#define DEF_SCALE_TICK_INTERVAL "0" -#define DEF_SCALE_TO "100" -#define DEF_SCALE_VARIABLE "" -#define DEF_SCALE_WIDTH "15" - -/* - * Defaults for scrollbars: - */ - -#define DEF_SCROLLBAR_ACTIVE_BG_COLOR ACTIVE_BG -#define DEF_SCROLLBAR_ACTIVE_BG_MONO BLACK -#define DEF_SCROLLBAR_ACTIVE_RELIEF "raised" -#define DEF_SCROLLBAR_BG_COLOR NORMAL_BG -#define DEF_SCROLLBAR_BG_MONO WHITE -#define DEF_SCROLLBAR_BORDER_WIDTH "0" -#define DEF_SCROLLBAR_COMMAND "" -#define DEF_SCROLLBAR_CURSOR "" -#define DEF_SCROLLBAR_EL_BORDER_WIDTH "-1" -#define DEF_SCROLLBAR_HIGHLIGHT_BG NORMAL_BG -#define DEF_SCROLLBAR_HIGHLIGHT HIGHLIGHT -#define DEF_SCROLLBAR_HIGHLIGHT_WIDTH "0" -#define DEF_SCROLLBAR_JUMP "0" -#define DEF_SCROLLBAR_ORIENT "vertical" -#define DEF_SCROLLBAR_RELIEF "sunken" -#define DEF_SCROLLBAR_REPEAT_DELAY "300" -#define DEF_SCROLLBAR_REPEAT_INTERVAL "100" -#define DEF_SCROLLBAR_TAKE_FOCUS (char *) NULL -#define DEF_SCROLLBAR_TROUGH_COLOR TROUGH -#define DEF_SCROLLBAR_TROUGH_MONO WHITE -#define DEF_SCROLLBAR_WIDTH "10" - -/* - * Defaults for texts: - */ - -#define DEF_TEXT_AUTO_SEPARATORS "1" -#define DEF_TEXT_BG_COLOR "SystemWindow" -#define DEF_TEXT_BG_MONO WHITE -#define DEF_TEXT_BLOCK_CURSOR "0" -#define DEF_TEXT_BORDER_WIDTH "1" -#define DEF_TEXT_CURSOR "xterm" -#define DEF_TEXT_FG TEXT_FG -#define DEF_TEXT_EXPORT_SELECTION "1" -#define DEF_TEXT_FONT "TkFixedFont" -#define DEF_TEXT_HEIGHT "24" -#define DEF_TEXT_HIGHLIGHT_BG NORMAL_BG -#define DEF_TEXT_HIGHLIGHT HIGHLIGHT -#define DEF_TEXT_HIGHLIGHT_WIDTH "0" -#define DEF_TEXT_INSERT_BG TEXT_FG -#define DEF_TEXT_INSERT_BD_COLOR "0" -#define DEF_TEXT_INSERT_BD_MONO "0" -#define DEF_TEXT_INSERT_OFF_TIME "300" -#define DEF_TEXT_INSERT_ON_TIME "600" -#define DEF_TEXT_INSERT_WIDTH "2" -#define DEF_TEXT_MAX_UNDO "0" -#define DEF_TEXT_PADX "1" -#define DEF_TEXT_PADY "1" -#define DEF_TEXT_RELIEF "sunken" -#define DEF_TEXT_INACTIVE_SELECT_COLOR NULL -#define DEF_TEXT_SELECT_COLOR SELECT_BG -#define DEF_TEXT_SELECT_MONO BLACK -#define DEF_TEXT_SELECT_BD_COLOR "0" -#define DEF_TEXT_SELECT_BD_MONO "0" -#define DEF_TEXT_SELECT_FG_COLOR SELECT_FG -#define DEF_TEXT_SELECT_FG_MONO WHITE -#define DEF_TEXT_SELECT_RELIEF "flat" -#define DEF_TEXT_SET_GRID "0" -#define DEF_TEXT_SPACING1 "0" -#define DEF_TEXT_SPACING2 "0" -#define DEF_TEXT_SPACING3 "0" -#define DEF_TEXT_STATE "normal" -#define DEF_TEXT_TABS "" -#define DEF_TEXT_TABSTYLE "tabular" -#define DEF_TEXT_TAKE_FOCUS (char *) NULL -#define DEF_TEXT_UNDO "0" -#define DEF_TEXT_WIDTH "80" -#define DEF_TEXT_WRAP "char" -#define DEF_TEXT_XSCROLL_COMMAND "" -#define DEF_TEXT_YSCROLL_COMMAND "" - -/* - * Defaults for canvas text: - */ - -#define DEF_CANVTEXT_FONT "TkDefaultFont" - -/* - * Defaults for toplevels (most of the defaults for frames also apply - * to toplevels): - */ - -#define DEF_TOPLEVEL_CLASS "Toplevel" -#define DEF_TOPLEVEL_MENU "" -#define DEF_TOPLEVEL_SCREEN "" -#define DEF_TOPLEVEL_USE "" - -#endif /* _TKWINDEFAULT */ diff --git a/src/other/togl/include/tcltk/tk8.6/tkWinInt.h b/src/other/togl/include/tcltk/tk8.6/tkWinInt.h deleted file mode 100644 index 3b8b6116265..00000000000 --- a/src/other/togl/include/tcltk/tk8.6/tkWinInt.h +++ /dev/null @@ -1,298 +0,0 @@ -/* - * tkWinInt.h -- - * - * This file contains declarations that are shared among the - * Windows-specific parts of Tk, but aren't used by the rest of Tk. - * - * Copyright (c) 1995-1997 Sun Microsystems, Inc. - * Copyright (c) 1998-2000 by Scriptics Corporation. - * - * See the file "license.terms" for information on usage and redistribution of - * this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _TKWININT -#define _TKWININT - -#ifndef _TKINT -#include "tkInt.h" -#endif - -/* - * Include platform specific public interfaces. - */ - -#ifndef _TKWIN -#include "tkWin.h" -#endif - -#ifndef _TKPORT -#include "tkPort.h" -#endif - -/* - * Define constants missing from older Win32 SDK header files. - */ - -#ifndef WS_EX_TOOLWINDOW -#define WS_EX_TOOLWINDOW 0x00000080L -#endif - -/* - * The TkWinDCState is used to save the state of a device context so that it - * can be restored later. - */ - -typedef struct TkWinDCState { - HPALETTE palette; - int bkmode; -} TkWinDCState; - -/* - * The TkWinDrawable is the internal implementation of an X Drawable (either a - * Window or a Pixmap). The following constants define the valid Drawable - * types. - */ - -#define TWD_BITMAP 1 -#define TWD_WINDOW 2 -#define TWD_WINDC 3 - -typedef struct { - int type; - HWND handle; - TkWindow *winPtr; -} TkWinWindow; - -typedef struct { - int type; - HBITMAP handle; - Colormap colormap; - int depth; -} TkWinBitmap; - -typedef struct { - int type; - HDC hdc; -}TkWinDC; - -typedef union { - int type; - TkWinWindow window; - TkWinBitmap bitmap; - TkWinDC winDC; -} TkWinDrawable; - -/* - * The following macros are used to retrieve internal values from a Drawable. - */ - -#define TkWinGetHWND(w) (((TkWinDrawable *) w)->window.handle) -#define TkWinGetWinPtr(w) (((TkWinDrawable *) w)->window.winPtr) -#define TkWinGetHBITMAP(w) (((TkWinDrawable *) w)->bitmap.handle) -#define TkWinGetColormap(w) (((TkWinDrawable *) w)->bitmap.colormap) -#define TkWinGetHDC(w) (((TkWinDrawable *) w)->winDC.hdc) - -/* - * The following structure is used to encapsulate palette information. - */ - -typedef struct { - HPALETTE palette; /* Palette handle used when drawing. */ - UINT size; /* Number of entries in the palette. */ - int stale; /* 1 if palette needs to be realized, - * otherwise 0. If the palette is stale, then - * an idle handler is scheduled to realize the - * palette. */ - Tcl_HashTable refCounts; /* Hash table of palette entry reference - * counts indexed by pixel value. */ -} TkWinColormap; - -/* - * The following macro retrieves the Win32 palette from a colormap. - */ - -#define TkWinGetPalette(colormap) (((TkWinColormap *) colormap)->palette) - -/* - * The following macros define the class names for Tk Window types. - */ - -#define TK_WIN_TOPLEVEL_CLASS_NAME "TkTopLevel" -#define TK_WIN_CHILD_CLASS_NAME "TkChild" - -/* - * The following variable is a translation table between X gc functions and - * Win32 raster and BitBlt op modes. - */ - -extern int tkpWinRopModes[]; -extern int tkpWinBltModes[]; - -/* - * The following defines are used with TkWinGetBorderPixels to get the extra 2 - * border colors from a Tk_3DBorder. - */ - -#define TK_3D_LIGHT2 TK_3D_DARK_GC+1 -#define TK_3D_DARK2 TK_3D_DARK_GC+2 - -/* - * Internal functions used by more than one source file. - */ - -#include "tkIntPlatDecls.h" - -/* - * We need to specially add the TkWinChildProc because of the special - * prototype it has (doesn't fit into stubs schema) - */ - -#ifdef BUILD_tk -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT -#endif - -EXTERN LRESULT CALLBACK TkWinChildProc(HWND hwnd, UINT message, - WPARAM wParam, LPARAM lParam); - -/* - * Special proc needed as tsd accessor function between - * tkWinX.c:GenerateXEvent and tkWinClipboard.c:UpdateClipboard - */ - -EXTERN void TkWinUpdatingClipboard(int mode); - -/* - * Used by tkWinDialog.c to associate the right icon with tk_messageBox - */ - -EXTERN HICON TkWinGetIcon(Tk_Window tkw, DWORD iconsize); - -/* - * Used by tkWinX.c on for certain system display change messages and cleanup - * up containers - */ - -EXTERN void TkWinDisplayChanged(Display *display); -void TkWinCleanupContainerList(void); - -/* - * Used by tkWinWm.c for embedded menu handling. May become public. - */ - -EXTERN HWND Tk_GetMenuHWND(Tk_Window tkwin); -EXTERN HWND Tk_GetEmbeddedMenuHWND(Tk_Window tkwin); - -/* - * The following structure keeps track of whether we are using the multi-byte - * or the wide-character interfaces to the operating system. System calls - * should be made through the following function table. - * - * While some system calls need to use this A/W jump-table, it is not - * necessary for all calls to do it, which is why you won't see this used - * throughout the Tk code, but only in key areas. -- hobbs - */ - -typedef struct TkWinProcs { - int useWide; - LRESULT (WINAPI *callWindowProc)(WNDPROC lpPrevWndFunc, HWND hWnd, - UINT Msg, WPARAM wParam, LPARAM lParam); - LRESULT (WINAPI *defWindowProc)(HWND hWnd, UINT Msg, WPARAM wParam, - LPARAM lParam); - ATOM (WINAPI *registerClass)(const WNDCLASS *lpWndClass); - BOOL (WINAPI *setWindowText)(HWND hWnd, LPCTSTR lpString); - HWND (WINAPI *createWindowEx)(DWORD dwExStyle, LPCTSTR lpClassName, - LPCTSTR lpWindowName, DWORD dwStyle, int x, int y, - int nWidth, int nHeight, HWND hWndParent, HMENU hMenu, - HINSTANCE hInstance, LPVOID lpParam); - BOOL (WINAPI *insertMenu)(HMENU hMenu, UINT uPosition, UINT uFlags, - UINT uIDNewItem, LPCTSTR lpNewItem); - int (WINAPI *getWindowText)(HWND hWnd, LPCTSTR lpString, int nMaxCount); -} TkWinProcs; - -EXTERN TkWinProcs *tkWinProcs; - -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLIMPORT - -/* - * The following allows us to cache these encoding for multiple functions. - */ - - -extern Tcl_Encoding TkWinGetKeyInputEncoding(void); -extern Tcl_Encoding TkWinGetUnicodeEncoding(void); -extern void TkWinSetupSystemFonts(TkMainInfo *mainPtr); - -/* - * Values returned by TkWinGetPlatformTheme. - */ - -#define TK_THEME_WIN_CLASSIC 1 -#define TK_THEME_WIN_XP 2 - -/* - * The following is implemented in tkWinWm and used by tkWinEmbed.c - */ - -void TkpWinToplevelWithDraw(TkWindow *winPtr); -void TkpWinToplevelIconify(TkWindow *winPtr); -void TkpWinToplevelDeiconify(TkWindow *winPtr); -long TkpWinToplevelIsControlledByWm(TkWindow *winPtr); -long TkpWinToplevelMove(TkWindow *winPtr, int x, int y); -long TkpWinToplevelOverrideRedirect(TkWindow *winPtr, - int reqValue); -void TkpWinToplevelDetachWindow(TkWindow *winPtr); -int TkpWmGetState(TkWindow *winPtr); - -/* - * The following functions are not present in old versions of Windows - * API headers but are used in the Tk source to ensure 64bit - * compatability. - */ - -#ifndef GetClassLongPtr -# define GetClassLongPtrA GetClassLongA -# define GetClassLongPtrW GetClassLongW -# define SetClassLongPtrA SetClassLongA -# define SetClassLongPtrW SetClassLongW -# ifdef UNICODE -# define GetClassLongPtr GetClassLongPtrW -# define SetClassLongPtr SetClassLongPtrW -# else -# define GetClassLongPtr GetClassLongPtrA -# define SetClassLongPtr SetClassLongPtrA -# endif /* !UNICODE */ -#endif /* !GetClassLongPtr */ -#ifndef GCLP_HICON -# define GCLP_HICON GCL_HICON -#endif /* !GCLP_HICON */ -#ifndef GCLP_HICONSM -# define GCLP_HICONSM (-34) -#endif /* !GCLP_HICONSM */ - -#ifndef GetWindowLongPtr -# define GetWindowLongPtrA GetWindowLongA -# define GetWindowLongPtrW GetWindowLongW -# define SetWindowLongPtrA SetWindowLongA -# define SetWindowLongPtrW SetWindowLongW -# ifdef UNICODE -# define GetWindowLongPtr GetWindowLongPtrW -# define SetWindowLongPtr SetWindowLongPtrW -# else -# define GetWindowLongPtr GetWindowLongPtrW -# define SetWindowLongPtr SetWindowLongPtrW -# endif /* !UNICODE */ -#endif /* !GetWindowLongPtr */ -#ifndef GWLP_WNDPROC -#define GWLP_WNDPROC GWL_WNDPROC -#define GWLP_HINSTANCE GWL_HINSTANCE -#define GWLP_HWNDPARENT GWL_HWNDPARENT -#define GWLP_USERDATA GWL_USERDATA -#define GWLP_ID GWL_ID -#endif /* !GWLP_WNDPROC */ - -#endif /* _TKWININT */ diff --git a/src/other/togl/include/tcltk/tk8.6/tkWinPort.h b/src/other/togl/include/tcltk/tk8.6/tkWinPort.h deleted file mode 100644 index 00e7fd5a084..00000000000 --- a/src/other/togl/include/tcltk/tk8.6/tkWinPort.h +++ /dev/null @@ -1,129 +0,0 @@ -/* - * tkWinPort.h -- - * - * This header file handles porting issues that occur because of - * differences between Windows and Unix. It should be the only - * file that contains #ifdefs to handle different flavors of OS. - * - * Copyright (c) 1995-1996 Sun Microsystems, Inc. - * - * See the file "license.terms" for information on usage and redistribution - * of this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) Id - */ - -#ifndef _WINPORT -#define _WINPORT - -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* - * Need to block out this include for building extensions with MetroWerks - * compiler for Win32. - */ - -#ifndef __MWERKS__ -#include -#endif - -#include -#ifdef __CYGWIN__ -# define _T(x) L##x -#else -# include -#endif - -#ifdef _MSC_VER -# define hypot _hypot -#endif /* _MSC_VER */ - -#ifndef __GNUC__ -# define strncasecmp strnicmp -# define strcasecmp stricmp -#endif - -#define NBBY 8 - -#ifndef OPEN_MAX -#define OPEN_MAX 32 -#endif - -/* - * The following define causes Tk to use its internal keysym hash table - */ - -#define REDO_KEYSYM_LOOKUP - -/* - * The following macro checks to see whether there is buffered - * input data available for a stdio FILE. - */ - -#ifdef _MSC_VER -# define TK_READ_DATA_PENDING(f) ((f)->_cnt > 0) -#else /* _MSC_VER */ -# define TK_READ_DATA_PENDING(f) ((f)->level > 0) -#endif /* _MSC_VER */ - -/* - * The following stubs implement various calls that don't do anything - * under Windows. - */ - -#define TkpCmapStressed(tkwin,colormap) (0) -#define XFlush(display) -#define XGrabServer(display) -#define XUngrabServer(display) -#define TkpSync(display) - -/* - * The following functions are implemented as macros under Windows. - */ - -#define XFree(data) {if ((data) != NULL) ckfree((char *) (data));} -#define XNoOp(display) {display->request++;} -#define XSynchronize(display, bool) {display->request++;} -#define XSync(display, bool) {display->request++;} -#define XVisualIDFromVisual(visual) (visual->visualid) - -/* - * The following Tk functions are implemented as macros under Windows. - */ - -#define TkpGetPixel(p) (((((p)->red >> 8) & 0xff) \ - | ((p)->green & 0xff00) | (((p)->blue << 8) & 0xff0000)) | 0x20000000) - -/* - * These calls implement native bitmaps which are not currently - * supported under Windows. The macros eliminate the calls. - */ - -#define TkpDefineNativeBitmaps() -#define TkpCreateNativeBitmap(display, source) None -#define TkpGetNativeAppBitmap(display, name, w, h) None - -/* - * Define timezone for gettimeofday. - */ - -struct timezone { - int tz_minuteswest; - int tz_dsttime; -}; - -#endif /* _WINPORT */ diff --git a/src/other/togl/include/togl.h b/src/other/togl/include/togl.h deleted file mode 100644 index 467c26244db..00000000000 --- a/src/other/togl/include/togl.h +++ /dev/null @@ -1,145 +0,0 @@ -/* $Id$ */ - -/* vi:set sw=4: */ - -/* - * Togl - a Tk OpenGL widget - * - * Copyright (C) 1996-2002 Brian Paul and Ben Bederson - * Copyright (C) 2005-2009 Greg Couch - * See the LICENSE file for copyright details. - */ - - -#ifndef TOGL_H -# define TOGL_H - -# include "togl_config.h" - -# ifdef TOGL_WGL -# define WIN32_LEAN_AND_MEAN -# include -# undef WIN32_LEAN_AND_MEAN -# if defined(_MSC_VER) -# define DllEntryPoint DllMain -# endif -# endif - -# if defined(TOGL_AGL) || defined(TOGL_NSOPENGL) -# ifndef MAC_OSX_TCL -# define MAC_OSX_TCL 1 -# endif -# ifndef MAC_OSX_TK -# define MAC_OSX_TK 1 -# endif -# endif - -# ifdef USE_TOGL_STUBS -# ifndef USE_TCL_STUBS -# define USE_TCL_STUBS -# endif -# ifndef USE_TK_STUBS -# define USE_TK_STUBS -# endif -# endif - -# include -# include -# include "GL/glew.h" -# if defined(TOGL_AGL) -# include -# elif defined(TOGL_NSOPENGL) -# include -# else -# include -# endif - -# ifdef BUILD_togl -# undef TCL_STORAGE_CLASS -# define TCL_STORAGE_CLASS DLLEXPORT -# endif - -# ifndef CONST84 -# define CONST84 -# endif - -# ifndef NULL -# define NULL 0 -# endif - -# ifndef EXTERN -# define EXTERN extern -# endif - -# ifdef __cplusplus -/* *INDENT-OFF* */ -extern "C" { -/* *INDENT-ON* */ -# endif - -# define TOGL_VERSION "2.1" -# define TOGL_MAJOR_VERSION 2 -# define TOGL_MINOR_VERSION 1 - -/* - * "Standard" fonts which can be specified to Togl_LoadBitmapFont() - * Deprecated. Use the Tk font name or description instead. - */ -# define TOGL_BITMAP_8_BY_13 "8x13" -# define TOGL_BITMAP_9_BY_15 "9x15" -# define TOGL_BITMAP_TIMES_ROMAN_10 "Times 10" -# define TOGL_BITMAP_TIMES_ROMAN_24 "Times 24" -# define TOGL_BITMAP_HELVETICA_10 "Helvetica 10" -# define TOGL_BITMAP_HELVETICA_12 "Helvetica 12" -# define TOGL_BITMAP_HELVETICA_18 "Helvetica 18" - -/* - * Normal and overlay plane constants - */ -# define TOGL_NORMAL 1 -# define TOGL_OVERLAY 2 - -/* - * Stereo techniques: - * Only the native method uses OpenGL quad-buffered stereo. - * All need the eye offset and eye distance set properly. - */ -/* These versions need one eye drawn */ -# define TOGL_STEREO_NONE 0 -# define TOGL_STEREO_LEFT_EYE 1 /* just the left eye */ -# define TOGL_STEREO_RIGHT_EYE 2 /* just the right eye */ -# define TOGL_STEREO_ONE_EYE_MAX 127 -/* These versions need both eyes drawn */ -# define TOGL_STEREO_NATIVE 128 -# define TOGL_STEREO_SGIOLDSTYLE 129 /* interlaced, SGI API */ -# define TOGL_STEREO_ANAGLYPH 130 -# define TOGL_STEREO_CROSS_EYE 131 -# define TOGL_STEREO_WALL_EYE 132 -# define TOGL_STEREO_DTI 133 /* dti3d.com */ -# define TOGL_STEREO_ROW_INTERLEAVED 134 /* www.vrex.com/developer/interleave.htm */ - -struct Togl; -typedef struct Togl Togl; -typedef void (*Togl_FuncPtr) (); - -const char *Togl_InitStubs _ANSI_ARGS_((Tcl_Interp *interp, const char *version, - int exact)); - -# ifndef USE_TOGL_STUBS -# define Togl_InitStubs(interp, version, exact) \ - Tcl_PkgRequire(interp, "Togl", version, exact) -# endif - -/* - * Platform independent exported functions - */ - -# include "toglDecls.h" - -# ifdef __cplusplus -/* *INDENT-OFF* */ -} -/* *INDENT-ON* */ -# endif - -#endif diff --git a/src/other/togl/include/togl_config.h.in b/src/other/togl/include/togl_config.h.in deleted file mode 100644 index d570a102b5f..00000000000 --- a/src/other/togl/include/togl_config.h.in +++ /dev/null @@ -1,27 +0,0 @@ -/* For protability, try to shift from a huge - * number of compile flags to an include file - */ - -/* Tcl/Tk package variables */ - -#define TOGL_PACKAGE_NAME "@PACKAGE_NAME@" -#define TOGL_PACKAGE_TARNAME "@PACKAGE_TARNAME@" -#define TOGL_PACKAGE_VERSION "@PACKAGE_VERSION@" -#define TOGL_PACKAGE_STRING "@PACKAGE_STRING@" -#define TOGL_PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@" -#define TOGL_PACKAGE_URL "@PACKAGE_URL@" - -/* System configuration */ -#ifndef TOGL_USE_EXTERNAL_CONFIG_H -#include "config.h" -#endif - -#ifndef TOGL_WS_H -# define TOGL_WS_H - -/* define windowing system togl is compiled with */ -# define @TOGL_WINDOWINGSYSTEM@ - -#endif - - diff --git a/src/other/togl/include/toglpy.h b/src/other/togl/include/toglpy.h deleted file mode 100644 index 4b964c46efa..00000000000 --- a/src/other/togl/include/toglpy.h +++ /dev/null @@ -1,81 +0,0 @@ -/* - * getToglFromWidget: - * - * Given a Python widget, get the corresponding Togl pointer. - * and should be included before this. If included into a C file, - * there should be a static keyword just before the include. - * - * There should be one copy of getToglFromWidget per-shared libary so that - * the library's Tcl/Tk/Togl stub pointers are properly initialized. - * - * Copyright (C) 2006 Greg Couch - * See the LICENSE file for copyright details. - */ - -Togl * -getToglFromWidget(PyObject *widget) -{ - PyObject *cmdNameObj, *tk, *interpAddr; - const char *cmdName; - Tcl_Interp *interp; - Togl *curTogl; - -#ifdef USE_TOGL_STUBS - static int didOnce = 0; -#endif - - /* Python: cmdName = widget._w */ - /* Python: interpAddr = widget.tk.interpaddr() */ - cmdNameObj = PyObject_GetAttrString(widget, "_w"); - tk = PyObject_GetAttrString(widget, "tk"); - if (cmdNameObj == NULL || !PyString_Check(cmdNameObj) || tk == NULL) { - Py_XDECREF(cmdNameObj); - Py_XDECREF(tk); -#ifdef __cplusplus - throw std::invalid_argument("not a Tk widget"); -#else - return NULL; -#endif - } - - interpAddr = PyEval_CallMethod(tk, "interpaddr", "()"); - if (interpAddr == NULL || !PyInt_Check(interpAddr)) { - Py_DECREF(cmdNameObj); - Py_DECREF(tk); - Py_XDECREF(interpAddr); -#ifdef __cplusplus - throw std::invalid_argument("not a Tk widget"); -#else - return NULL; -#endif - } - - cmdName = PyString_AsString(cmdNameObj); - interp = (Tcl_Interp *) PyInt_AsLong(interpAddr); - -#ifdef USE_TOGL_STUBS - if (!didOnce) { - /* make sure stubs are initialized before calling a Togl function. */ - if (Tcl_InitStubs(interp, TCL_VERSION, 0) == NULL - || Tk_InitStubs(interp, TK_VERSION, 0) == NULL - || Togl_InitStubs(interp, TOGL_VERSION, 0) == NULL) -# ifdef __cplusplus - throw std::runtime_error("unable to initialize Togl"); -# else - return NULL; -# endif - didOnce = 1; - } -#endif - - if (Togl_GetToglFromName(interp, cmdName, &curTogl) != TCL_OK) - curTogl = NULL; - Py_DECREF(cmdNameObj); - Py_DECREF(tk); - Py_DECREF(interpAddr); -#ifdef __cplusplus - if (curTogl == NULL) - throw std::invalid_argument("not a Togl widget"); -#endif - return curTogl; -} diff --git a/src/other/togl/src/CMakeLists.txt b/src/other/togl/src/CMakeLists.txt deleted file mode 100644 index d6cd777dbe6..00000000000 --- a/src/other/togl/src/CMakeLists.txt +++ /dev/null @@ -1,125 +0,0 @@ -include_directories( - ${CMAKE_CURRENT_SOURCE_DIR}/../include - ${CMAKE_CURRENT_SOURCE_DIR}/Xmu - ${CMAKE_CURRENT_BINARY_DIR} - ${CMAKE_CURRENT_BINARY_DIR}/../include - ${TK_INCLUDE_PATH} - ${TCL_INCLUDE_DIRS} - ${X11_INCLUDE_DIR} - ${OPENGL_INCLUDE_DIR_GL} - ) - -# Because Togl is Yet Another Tcl/Tk package that needs -# the interal headers to build, we must include a local -# copy of the candidate headers and use them - an installed -# Tcl/Tk has no obligation to provide them. -include_directories( - ${CMAKE_CURRENT_SOURCE_DIR}/../include/tcltk/tk${TCL_VERSION_MAJOR}.${TCL_VERSION_MINOR} - ) - -SET(TOGL_STUB_INIT_TXT " -/* - * Togl - a Tk OpenGL widget - * - * Copyright (C) 1996-2002 Brian Paul and Ben Bederson - * Copyright (C) 2005-2009 Greg Couch - * See the LICENSE file for copyright details. - */ - -#include \"togl.h\" - -extern const ToglStubs toglStubs; - -/* !BEGIN!: Do not edit below this line. */ - - -/* !END!: Do not edit above this line. */ - -") - -SET(TOGL_DECLS_H_TXT " -#ifndef ToglDecls_H -# define ToglDecls_H - -/* - * Togl - a Tk OpenGL widget - * - * Copyright (C) 1996-2002 Brian Paul and Ben Bederson - * Copyright (C) 2005-2009 Greg Couch - * See the LICENSE file for copyright details. - */ - -/* !BEGIN!: Do not edit below this line. */ - -/* !END!: Do not edit above this line. */ - -#endif - -") - -FILE(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/CMakeTmp/toglstubs) -FILE(WRITE ${CMAKE_BINARY_DIR}/CMakeTmp/toglstubs/toglStubInit.c "${TOGL_STUB_INIT_TXT}") -FILE(WRITE ${CMAKE_BINARY_DIR}/CMakeTmp/toglstubs/toglDecls.h "${TOGL_DECLS_H_TXT}") - -ADD_CUSTOM_COMMAND( - OUTPUT ${CMAKE_BINARY_DIR}/CMakeTmp/toglstubs/STUBSDONE ${CMAKE_CURRENT_BINARY_DIR}/STUBSSYNCED ${CMAKE_CURRENT_BINARY_DIR}/toglStubInit.c ${CMAKE_CURRENT_BINARY_DIR}/toglDecls.h - COMMAND ${TCL_TCLSH} ${CMAKE_CURRENT_SOURCE_DIR}/../tools/genStubs.tcl ${CMAKE_BINARY_DIR}/CMakeTmp/toglstubs ${CMAKE_CURRENT_SOURCE_DIR}/togl.decls - COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_BINARY_DIR}/CMakeTmp/toglstubs/toglStubInit.c ${CMAKE_CURRENT_BINARY_DIR}/toglStubInit.c - COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_BINARY_DIR}/CMakeTmp/toglstubs/toglDecls.h ${CMAKE_CURRENT_BINARY_DIR}/toglDecls.h - COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_CURRENT_BINARY_DIR}/STUBSSYNCED - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/togl.decls - COMMENT "Generating toglStubInit.c and toglDecls.h" -) - -ADD_CUSTOM_TARGET(togl_stubs_gen ALL - DEPENDS ${CMAKE_BINARY_DIR}/CMakeTmp/toglstubs/STUBSDONE - DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/STUBSSYNCED -) - -# If we re-run cmake, need to ensure we re-run togl_stubs_gen too -FILE(REMOVE ${CMAKE_BINARY_DIR}/CMakeTmp/toglstubs/STUBSDONE) -FILE(REMOVE ${CMAKE_CURRENT_BINARY_DIR}/STUBSSYNCED) - -IF(TOGL_WINDOWINGSYSTEM MATCHES "TOGL_X11") - SET(TOGL_XMU_SRCS - Xmu/CmapAlloc.c - Xmu/CrCmap.c - Xmu/DelCmap.c - Xmu/LookupCmap.c - Xmu/StdCmap.c - ) - SET(TOGL_SRCS glew/glew.c) -ENDIF(TOGL_WINDOWINGSYSTEM MATCHES "TOGL_X11") - -SET(TOGL_SRCS - ${TOGL_SRCS} - ${TOGL_XMU_SRCS} - togl.c - toglProcAddr.c - toglStubLib.c - ${CMAKE_CURRENT_BINARY_DIR}/toglStubInit.c - ) - -add_library(togl SHARED ${TOGL_SRCS}) -set_target_properties(togl PROPERTIES VERSION 2.0.1 SOVERSION 2) -ADD_DEPENDENCIES(togl togl_stubs_gen) -IF(WIN32) - target_link_libraries(togl ${TCL_STUB_LIBRARIES} ${X11_LIBRARIES} ${OPENGL_LIBRARIES}) -ELSE(WIN32) - target_link_libraries(togl ${TCL_LIBRARIES} ${X11_LIBRARIES} ${OPENGL_LIBRARIES}) -ENDIF(WIN32) -install(TARGETS togl - RUNTIME DESTINATION ${BIN_DIR} - LIBRARY DESTINATION ${LIB_DIR} - ARCHIVE DESTINATION ${LIB_DIR}) - -add_library(toglstub STATIC ${CMAKE_CURRENT_BINARY_DIR}/toglStubInit.c toglStubLib.c) -ADD_DEPENDENCIES(toglstub togl_stubs_gen) -install(TARGETS toglstub - RUNTIME DESTINATION ${BIN_DIR} - LIBRARY DESTINATION ${LIB_DIR} - ARCHIVE DESTINATION ${LIB_DIR}) -MARK_AS_ADVANCED(TOGL_STUB_LIBRARIES) - -# Create the pkgIndex.tcl file. -TCL_PKGINDEX(togl ${TOGL_PKGNAME} ${TOGL_PKGVERSION}) diff --git a/src/other/togl/src/Togl.py b/src/other/togl/src/Togl.py deleted file mode 100755 index ec2a19cfa7d..00000000000 --- a/src/other/togl/src/Togl.py +++ /dev/null @@ -1,129 +0,0 @@ - -""" -Tkinter support for the Togl 2.X Tk OpenGL widget. - -Copyright (C) 2006-2007 Greg Couch -See the LICENSE file for copyright details. -""" -__all__ = ['Togl', 'NORMAL', 'OVERLAY'] - -import Tkinter -import weakref, atexit - -# Overlay constants -NORMAL = 1 -OVERLAY = 2 - -class Togl(Tkinter.Widget): - """Tk OpenGL Widget""" - _instances = weakref.WeakKeyDictionary() - - def __init__(self, master=None, cnf={}, **kw): - """Return new Togl widget""" - if master is None: - master = Tkinter._default_root - master.tk.call('package', 'require', 'Togl', '2.0') - try: - Tkinter.Widget.__init__(self, master, "togl", cnf, kw) - except: - Tkinter.Widget.destroy(self) - raise - Togl._instances[self] = True - - def _cbsubst(self, *args): - """callback command argument substitution""" - if len(args) != 1: - return args - return (self._nametowidget(args[0]),) - - def _options(self, cnf, kw = None): - """Internal function.""" - if kw: - cnf = Tkinter._cnfmerge((cnf, kw)) - else: - cnf = Tkinter._cnfmerge(cnf) - res = () - for k, v in cnf.items(): - if v is not None: - if k[-1] == '_': k = k[:-1] - if callable(v): - if k.endswith('command'): - v = self._register(v, self._cbsubst) - else: - v = self._register(v) - res = res + ('-'+k, v) - return res - - # cget, configure are inherited - - def extensions(self): - """Return list of supported OpenGL extensions""" - return self.tk.call(self._w, 'extensions') - - def postredisplay(self): - """Cause the displaycommand callback to be called - the next time the event loop is idle.""" - self.tk.call(self._w, 'postredisplay') - - def render(self): - """Call the displaycommand callback immediately.""" - self.tk.call(self._w, 'render') - - def swapbuffers(self): - """If single-buffred, just flush OpenGL command buffer. If - double-buffered, swap front and back buffers. (So this is - appropriate to call after every frame is drawn.)""" - self.tk.call(self._w, 'swapbuffers') - - def makecurrent(self): - """Make widget the current OpenGL context""" - self.tk.call(self._w, 'makecurrent') - - def takephoto(self, imageName): - """Copy current contents of widget into the given photo image - """ - self.tk.call(self._w, 'takephoto', imageName) - - def loadbitmapfont(self, name): - return self.tk.call(self._w, 'loadbitmapfont', name) - - def unloadbitmapfont(self, fontbase): - self.tk.call(self._w, 'unloadbitmapfont', fontbase) - - def uselayer(self, layer): - self.tk.call(self._w, 'uselayer', layer) - - def showoverlay(self): - self.tk.call(self._w, 'showoverlay') - - def hideoverlay(self): - self.tk.call(self._w, 'hideoverlay') - - def postredisplayoverlay(self): - self.tk.call(self._w, 'postredisplayoverlay') - - def renderoverlay(self): - self.tk.call(self._w, 'renderoverlay') - - def existsoverlay(self): - return self.tk.call(self._w, 'existsoverlay') - - def ismappedoverlay(self): - return self.tk.call(self._w, 'ismappedoverlay') - - def getoverlaytransparentvalue(self): - return self.tk.call(self._w, 'getoverlaytransparentvalue') - - def destroy(self): - del Togl._instances[self] - Tkinter.Widget.destroy(self) - -def _cleanup(): - # destroy OpenGL contexts early, so destroycommand's don't - # try to make any OpenGL calls during exit. - for t in Togl._instances.keys(): - try: - t.destroy() - except Tkinter.TclError: - pass -atexit.register(_cleanup) diff --git a/src/other/togl/src/Xmu/CmapAlloc.c b/src/other/togl/src/Xmu/CmapAlloc.c deleted file mode 100644 index 9da1d7c958c..00000000000 --- a/src/other/togl/src/Xmu/CmapAlloc.c +++ /dev/null @@ -1,335 +0,0 @@ -/* $XConsortium: CmapAlloc.c,v 1.9 94/04/17 20:15:52 rws Exp $ */ - -/* - -Copyright (c) 1989, 1994 X Consortium - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -Except as contained in this notice, the name of the X Consortium shall not be -used in advertising or otherwise to promote the sale, use or other dealings -in this Software without prior written authorization from the X Consortium. - -*/ - -/* - * Author: Donna Converse, MIT X Consortium - */ - -#include -#include -#include -#include - -#define lowbit(x) ((x) & (~(x) + 1)) - -static int default_allocation(); -static void best_allocation(); -static void gray_allocation(); -static int icbrt(); -static int icbrt_with_bits(); -static int icbrt_with_guess(); - -/* To determine the best allocation of reds, greens, and blues in a - * standard colormap, use XmuGetColormapAllocation. - * vinfo specifies visual information for a chosen visual - * property specifies one of the standard colormap property names - * red_max returns maximum red value - * green_max returns maximum green value - * blue_max returns maximum blue value - * - * XmuGetColormapAllocation returns 0 on failure, non-zero on success. - * It is assumed that the visual is appropriate for the colormap property. - */ - -Status XmuGetColormapAllocation(vinfo, property, red_max, green_max, blue_max) - XVisualInfo *vinfo; - Atom property; - unsigned long *red_max, *green_max, *blue_max; -{ - Status status = 1; - - if (vinfo->colormap_size <= 2) - return 0; - - switch (property) - { - case XA_RGB_DEFAULT_MAP: - status = default_allocation(vinfo, red_max, green_max, blue_max); - break; - case XA_RGB_BEST_MAP: - best_allocation(vinfo, red_max, green_max, blue_max); - break; - case XA_RGB_GRAY_MAP: - gray_allocation(vinfo->colormap_size, red_max, green_max, blue_max); - break; - case XA_RGB_RED_MAP: - *red_max = vinfo->colormap_size - 1; - *green_max = *blue_max = 0; - break; - case XA_RGB_GREEN_MAP: - *green_max = vinfo->colormap_size - 1; - *red_max = *blue_max = 0; - break; - case XA_RGB_BLUE_MAP: - *blue_max = vinfo->colormap_size - 1; - *red_max = *green_max = 0; - break; - default: - status = 0; - } - return status; -} - -/****************************************************************************/ -/* Determine the appropriate color allocations of a gray scale. - * - * Keith Packard, MIT X Consortium - */ - -static void gray_allocation(n, red_max, green_max, blue_max) - int n; /* the number of cells of the gray scale */ - unsigned long *red_max, *green_max, *blue_max; -{ - *red_max = (n * 30) / 100; - *green_max = (n * 59) / 100; - *blue_max = (n * 11) / 100; - *green_max += ((n - 1) - (*red_max + *green_max + *blue_max)); -} - -/****************************************************************************/ -/* Determine an appropriate color allocation for the RGB_DEFAULT_MAP. - * If a map has less than a minimum number of definable entries, we do not - * produce an allocation for an RGB_DEFAULT_MAP. - * - * For 16 planes, the default colormap will have 27 each RGB; for 12 planes, - * 12 each. For 8 planes, let n = the number of colormap entries, which may - * be 256 or 254. Then, maximum red value = floor(cube_root(n - 125)) - 1. - * Maximum green and maximum blue values are identical to maximum red. - * This leaves at least 125 cells which clients can allocate. - * - * Return 0 if an allocation has been determined, non-zero otherwise. - */ - -static int default_allocation(vinfo, red, green, blue) - XVisualInfo *vinfo; - unsigned long *red, *green, *blue; -{ - int ngrays; /* number of gray cells */ - - switch (vinfo->class) { - case PseudoColor: - - if (vinfo->colormap_size > 65000) - /* intended for displays with 16 planes */ - *red = *green = *blue = (unsigned long) 27; - else if (vinfo->colormap_size > 4000) - /* intended for displays with 12 planes */ - *red = *green = *blue = (unsigned long) 12; - else if (vinfo->colormap_size < 250) - return 0; - else - /* intended for displays with 8 planes */ - *red = *green = *blue = (unsigned long) - (icbrt(vinfo->colormap_size - 125) - 1); - break; - - case DirectColor: - - if (vinfo->colormap_size < 10) - return 0; - *red = *green = *blue = vinfo->colormap_size / 2 - 1; - break; - - case TrueColor: - - *red = vinfo->red_mask / lowbit(vinfo->red_mask); - *green = vinfo->green_mask / lowbit(vinfo->green_mask); - *blue = vinfo->blue_mask / lowbit(vinfo->blue_mask); - break; - - case GrayScale: - - if (vinfo->colormap_size > 65000) - ngrays = 4096; - else if (vinfo->colormap_size > 4000) - ngrays = 512; - else if (vinfo->colormap_size < 250) - return 0; - else - ngrays = 12; - gray_allocation(ngrays, red, green, blue); - break; - - default: - return 0; - } - return 1; -} - -/****************************************************************************/ -/* Determine an appropriate color allocation for the RGB_BEST_MAP. - * - * For a DirectColor or TrueColor visual, the allocation is determined - * by the red_mask, green_mask, and blue_mask members of the visual info. - * - * Otherwise, if the colormap size is an integral power of 2, determine - * the allocation according to the number of bits given to each color, - * with green getting more than red, and red more than blue, if there - * are to be inequities in the distribution. If the colormap size is - * not an integral power of 2, let n = the number of colormap entries. - * Then maximum red value = floor(cube_root(n)) - 1; - * maximum blue value = floor(cube_root(n)) - 1; - * maximum green value = n / ((# red values) * (# blue values)) - 1; - * Which, on a GPX, allows for 252 entries in the best map, out of 254 - * defineable colormap entries. - */ - -static void best_allocation(vinfo, red, green, blue) - XVisualInfo *vinfo; - unsigned long *red, *green, *blue; -{ - - if (vinfo->class == DirectColor || vinfo->class == TrueColor) - { - *red = vinfo->red_mask; - while ((*red & 01) == 0) - *red >>= 1; - *green = vinfo->green_mask; - while ((*green & 01) == 0) - *green >>=1; - *blue = vinfo->blue_mask; - while ((*blue & 01) == 0) - *blue >>= 1; - } - else - { - register int bits, n; - - /* Determine n such that n is the least integral power of 2 which is - * greater than or equal to the number of entries in the colormap. - */ - n = 1; - bits = 0; - while (vinfo->colormap_size > n) - { - n = n << 1; - bits++; - } - - /* If the number of entries in the colormap is a power of 2, determine - * the allocation by "dealing" the bits, first to green, then red, then - * blue. If not, find the maximum integral red, green, and blue values - * which, when multiplied together, do not exceed the number of - - * colormap entries. - */ - if (n == vinfo->colormap_size) - { - register int r, g, b; - b = bits / 3; - g = b + ((bits % 3) ? 1 : 0); - r = b + (((bits % 3) == 2) ? 1 : 0); - *red = 1 << r; - *green = 1 << g; - *blue = 1 << b; - } - else - { - *red = icbrt_with_bits(vinfo->colormap_size, bits); - *blue = *red; - *green = (vinfo->colormap_size / ((*red) * (*blue))); - } - (*red)--; - (*green)--; - (*blue)--; - } - return; -} - -/* - * integer cube roots by Newton's method - * - * Stephen Gildea, MIT X Consortium, July 1991 - */ - -static int icbrt(a) /* integer cube root */ - int a; -{ - register int bits = 0; - register unsigned n = a; - - while (n) - { - bits++; - n >>= 1; - } - return icbrt_with_bits(a, bits); -} - - -static int icbrt_with_bits(a, bits) - int a; - int bits; /* log 2 of a */ -{ - return icbrt_with_guess(a, a>>2*bits/3); -} - -#ifdef _X_ROOT_STATS -int icbrt_loopcount; -#endif - -/* Newton's Method: x_n+1 = x_n - ( f(x_n) / f'(x_n) ) */ - -/* for cube roots, x^3 - a = 0, x_new = x - 1/3 (x - a/x^2) */ - -/* - * Quick and dirty cube roots. Nothing fancy here, just Newton's method. - * Only works for positive integers (since that's all we need). - * We actually return floor(cbrt(a)) because that's what we need here, too. - */ - -static int icbrt_with_guess(a, guess) - int a, guess; -{ - register int delta; - -#ifdef _X_ROOT_STATS - icbrt_loopcount = 0; -#endif - if (a <= 0) - return 0; - if (guess < 1) - guess = 1; - - do { -#ifdef _X_ROOT_STATS - icbrt_loopcount++; -#endif - delta = (guess - a/(guess*guess))/3; -#ifdef DEBUG - printf("pass %d: guess=%d, delta=%d\n", icbrt_loopcount, guess, delta); -#endif - guess -= delta; - } while (delta != 0); - - if (guess*guess*guess > a) - guess--; - - return guess; -} diff --git a/src/other/togl/src/Xmu/CrCmap.c b/src/other/togl/src/Xmu/CrCmap.c deleted file mode 100644 index c7f903fa42b..00000000000 --- a/src/other/togl/src/Xmu/CrCmap.c +++ /dev/null @@ -1,523 +0,0 @@ -/* $XConsortium: CrCmap.c,v 1.6 94/04/17 20:15:53 rws Exp $ */ - -/* - -Copyright (c) 1989 X Consortium - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -Except as contained in this notice, the name of the X Consortium shall not be -used in advertising or otherwise to promote the sale, use or other dealings -in this Software without prior written authorization from the X Consortium. - -*/ - -/* - * Author: Donna Converse, MIT X Consortium - */ - -/* - * CreateCmap.c - given a standard colormap description, make the map. - */ - -#include -#include -#include -#include - -static int ROmap(); /* allocate entire map Read Only */ -static Status ROorRWcell(); /* allocate a cell, prefer Read Only */ -static Status RWcell(); /* allocate a cell Read Write */ -static int compare(); /* for quicksort */ -static Status contiguous(); /* find contiguous sequence of cells */ -static void free_cells(); /* frees resources before quitting */ -static Status readonly_map(); /* create a map in a RO visual type */ -static Status readwrite_map(); /* create a map in a RW visual type */ - -#define lowbit(x) ((x) & (~(x) + 1)) -#define TRUEMATCH(mult,max,mask) \ - (colormap->max * colormap->mult <= vinfo->mask && \ - lowbit(vinfo->mask) == colormap->mult) - -/* - * To create any one colormap which is described by an XStandardColormap - * structure, use XmuCreateColormap(). - * - * Return 0 on failure, non-zero on success. - * Resources created by this function are not made permanent. - * No argument error checking is provided. Use at your own risk. - * - * All colormaps are created with read only allocations, with the exception - * of read only allocations of colors in the default map or otherwise - * which fail to return the expected pixel value, and these are individually - * defined as read/write allocations. This is done so that all the cells - * defined in the default map are contiguous, for use in image processing. - * This typically happens with White and Black in the default map. - * - * Colormaps of static visuals are considered to be successfully created if - * the map of the static visual matches the definition given in the - * standard colormap structure. - */ - -Status XmuCreateColormap(dpy, colormap) - Display *dpy; /* specifies the connection under - * which the map is created */ - XStandardColormap *colormap; /* specifies the map to be created, - * and returns, particularly if the - * map is created as a subset of the - * default colormap of the screen, - * the base_pixel of the map. - */ -{ - XVisualInfo vinfo_template; /* template visual information */ - XVisualInfo *vinfo; /* matching visual information */ - XVisualInfo *vpointer; /* for freeing the entire list */ - long vinfo_mask; /* specifies the visual mask value */ - int n; /* number of matching visuals */ - int status; - - vinfo_template.visualid = colormap->visualid; - vinfo_mask = VisualIDMask; - if ((vinfo = XGetVisualInfo(dpy, vinfo_mask, &vinfo_template, &n)) == NULL) - return 0; - - /* A visual id may be valid on multiple screens. Also, there may - * be multiple visuals with identical visual ids at different depths. - * If the colormap is the Default Colormap, use the Default Visual. - * Otherwise, arbitrarily, use the deepest visual. - */ - vpointer = vinfo; - if (n > 1) - { - register int i; - register int screen_number; - Bool def_cmap; - - def_cmap = False; - for (screen_number = ScreenCount(dpy); --screen_number >= 0; ) - if (colormap->colormap == DefaultColormap(dpy, screen_number)) { - def_cmap = True; - break; - } - - if (def_cmap) { - for (i=0; i < n; i++, vinfo++) { - if (vinfo->visual == DefaultVisual(dpy, screen_number)) - break; - } - } else { - unsigned int maxdepth = 0; - XVisualInfo *v; - - for (i=0; i < n; i++, vinfo++) - if (vinfo->depth > maxdepth) { - maxdepth = vinfo->depth; - v = vinfo; - } - vinfo = v; - } - } - - if (vinfo->class == PseudoColor || vinfo->class == DirectColor || - vinfo->class == GrayScale) - status = readwrite_map(dpy, vinfo, colormap); - else if (vinfo->class == TrueColor) - status = TRUEMATCH(red_mult, red_max, red_mask) && - TRUEMATCH(green_mult, green_max, green_mask) && - TRUEMATCH(blue_mult, blue_max, blue_mask); - else - status = readonly_map(dpy, vinfo, colormap); - - XFree((char *) vpointer); - return status; -} - -/****************************************************************************/ -static Status readwrite_map(dpy, vinfo, colormap) - Display *dpy; - XVisualInfo *vinfo; - XStandardColormap *colormap; -{ - register unsigned long i, n; /* index counters */ - int ncolors; /* number of colors to be defined */ - int npixels; /* number of pixels allocated R/W */ - int first_index; /* first index of pixels to use */ - int remainder; /* first index of remainder */ - XColor color; /* the definition of a color */ - unsigned long *pixels; /* array of colormap pixels */ - unsigned long delta; - - - /* Determine ncolors, the number of colors to be defined. - * Insure that 1 < ncolors <= the colormap size. - */ - if (vinfo->class == DirectColor) { - ncolors = colormap->red_max; - if (colormap->green_max > ncolors) - ncolors = colormap->green_max; - if (colormap->blue_max > ncolors) - ncolors = colormap->blue_max; - ncolors++; - delta = lowbit(vinfo->red_mask) + - lowbit(vinfo->green_mask) + - lowbit(vinfo->blue_mask); - } else { - ncolors = colormap->red_max * colormap->red_mult + - colormap->green_max * colormap->green_mult + - colormap->blue_max * colormap->blue_mult + 1; - delta = 1; - } - if (ncolors <= 1 || ncolors > vinfo->colormap_size) return 0; - - /* Allocate Read/Write as much of the colormap as we can possibly get. - * Then insure that the pixels we were allocated are given in - * monotonically increasing order, using a quicksort. Next, insure - * that our allocation includes a subset of contiguous pixels at least - * as long as the number of colors to be defined. Now we know that - * these conditions are met: - * 1) There are no free cells in the colormap. - * 2) We have a contiguous sequence of pixels, monotonically - * increasing, of length >= the number of colors requested. - * - * One cell at a time, we will free, compute the next color value, - * then allocate read only. This takes a long time. - * This is done to insure that cells are allocated read only in the - * contiguous order which we prefer. If the server has a choice of - * cells to grant to an allocation request, the server may give us any - * cell, so that is why we do these slow gymnastics. - */ - - if ((pixels = (unsigned long *) calloc((unsigned) vinfo->colormap_size, - sizeof(unsigned long))) == NULL) - return 0; - - if ((npixels = ROmap(dpy, colormap->colormap, pixels, - vinfo->colormap_size, ncolors)) == 0) { - free((char *) pixels); - return 0; - } - - qsort((char *) pixels, npixels, sizeof(unsigned long), compare); - - if (!contiguous(pixels, npixels, ncolors, delta, &first_index, &remainder)) - { - /* can't find enough contiguous cells, give up */ - XFreeColors(dpy, colormap->colormap, pixels, npixels, - (unsigned long) 0); - free((char *) pixels); - return 0; - } - colormap->base_pixel = pixels[first_index]; - - /* construct a gray map */ - if (colormap->red_mult == 1 && colormap->green_mult == 1 && - colormap->blue_mult == 1) - for (n=colormap->base_pixel, i=0; i < ncolors; i++, n += delta) - { - color.pixel = n; - color.blue = color.green = color.red = - (unsigned short) ((i * 65535) / (colormap->red_max + - colormap->green_max + - colormap->blue_max)); - - if (! ROorRWcell(dpy, colormap->colormap, pixels, npixels, &color, - first_index + i)) - return 0; - } - - /* construct a red ramp map */ - else if (colormap->green_max == 0 && colormap->blue_max == 0) - for (n=colormap->base_pixel, i=0; i < ncolors; i++, n += delta) - { - color.pixel = n; - color.red = (unsigned short) ((i * 65535) / colormap->red_max); - color.green = color.blue = 0; - - if (! ROorRWcell(dpy, colormap->colormap, pixels, npixels, &color, - first_index + i)) - return 0; - } - - /* construct a green ramp map */ - else if (colormap->red_max == 0 && colormap->blue_max == 0) - for (n=colormap->base_pixel, i=0; i < ncolors; i++, n += delta) - { - color.pixel = n; - color.green = (unsigned short) ((i * 65535) / colormap->green_max); - color.red = color.blue = 0; - - if (! ROorRWcell(dpy, colormap->colormap, pixels, npixels, &color, - first_index + i)) - return 0; - } - - /* construct a blue ramp map */ - else if (colormap->red_max == 0 && colormap->green_max == 0) - for (n=colormap->base_pixel, i=0; i < ncolors; i++, n += delta) - { - color.pixel = n; - color.blue = (unsigned short) ((i * 65535) / colormap->blue_max); - color.red = color.green = 0; - - if (! ROorRWcell(dpy, colormap->colormap, pixels, npixels, &color, - first_index + i)) - return 0; - } - - /* construct a standard red green blue cube map */ - else - { -#define calc(max,mult) (((n / colormap->mult) % \ - (colormap->max + 1)) * 65535) / colormap->max - - for (n=0, i=0; i < ncolors; i++, n += delta) - { - color.pixel = n + colormap->base_pixel; - color.red = calc(red_max, red_mult); - color.green = calc(green_max, green_mult); - color.blue = calc(blue_max, blue_mult); - if (! ROorRWcell(dpy, colormap->colormap, pixels, npixels, &color, - first_index + i)) - return 0; - } -#undef calc - } - /* We have a read-only map defined. Now free unused cells, - * first those occuring before the contiguous sequence begins, - * then any following the contiguous sequence. - */ - - if (first_index) - XFreeColors(dpy, colormap->colormap, pixels, first_index, - (unsigned long) 0); - if (remainder) - XFreeColors(dpy, colormap->colormap, - &(pixels[first_index + ncolors]), remainder, - (unsigned long) 0); - - free((char *) pixels); - return 1; -} - - -/****************************************************************************/ -static int ROmap(dpy, cmap, pixels, m, n) - Display *dpy; /* the X server connection */ - Colormap cmap; /* specifies colormap ID */ - unsigned long pixels[]; /* returns pixel allocations */ - int m; /* specifies colormap size */ - int n; /* specifies number of colors */ -{ - register int p; - - /* first try to allocate the entire colormap */ - if (XAllocColorCells(dpy, cmap, 1, (unsigned long *) NULL, - (unsigned) 0, pixels, (unsigned) m)) - return m; - - /* Allocate all available cells in the colormap, using a binary - * algorithm to discover how many cells we can allocate in the colormap. - */ - m--; - while (n <= m) { - p = n + ((m - n + 1) / 2); - if (XAllocColorCells(dpy, cmap, 1, (unsigned long *) NULL, - (unsigned) 0, pixels, (unsigned) p)) { - if (p == m) - return p; - else { - XFreeColors(dpy, cmap, pixels, p, (unsigned long) 0); - n = p; - } - } - else - m = p - 1; - } - return 0; -} - - -/****************************************************************************/ -static Status contiguous(pixels, npixels, ncolors, delta, first, rem) - unsigned long pixels[]; /* specifies allocated pixels */ - int npixels; /* specifies count of alloc'd pixels */ - int ncolors; /* specifies needed sequence length */ - unsigned long delta; /* between pixels */ - int *first; /* returns first index of sequence */ - int *rem; /* returns first index after sequence, - * or 0, if none follow */ -{ - register int i = 1; /* walking index into the pixel array */ - register int count = 1; /* length of sequence discovered so far */ - - *first = 0; - if (npixels == ncolors) { - *rem = 0; - return 1; - } - *rem = npixels - 1; - while (count < ncolors && ncolors - count <= *rem) - { - if (pixels[i-1] + delta == pixels[i]) - count++; - else { - count = 1; - *first = i; - } - i++; - (*rem)--; - } - if (count != ncolors) - return 0; - return 1; -} - - -/****************************************************************************/ -static Status ROorRWcell(dpy, cmap, pixels, npixels, color, p) - Display *dpy; - Colormap cmap; - unsigned long pixels[]; - int npixels; - XColor *color; - unsigned long p; -{ - unsigned long pixel; - XColor request; - - /* Free the read/write allocation of one cell in the colormap. - * Request a read only allocation of one cell in the colormap. - * If the read only allocation cannot be granted, give up, because - * there must be no free cells in the colormap. - * If the read only allocation is granted, but gives us a cell which - * is not the one that we just freed, it is probably the case that - * we are trying allocate White or Black or some other color which - * already has a read-only allocation in the map. So we try to - * allocate the previously freed cell with a read/write allocation, - * because we want contiguous cells for image processing algorithms. - */ - - pixel = color->pixel; - request.red = color->red; - request.green = color->green; - request.blue = color->blue; - - XFreeColors(dpy, cmap, &pixel, 1, (unsigned long) 0); - if (! XAllocColor(dpy, cmap, color) - || (color->pixel != pixel && - (!RWcell(dpy, cmap, color, &request, &pixel)))) - { - free_cells(dpy, cmap, pixels, npixels, (int)p); - return 0; - } - return 1; -} - - -/****************************************************************************/ -static void free_cells(dpy, cmap, pixels, npixels, p) - Display *dpy; - Colormap cmap; - unsigned long pixels[]; /* to be freed */ - int npixels; /* original number allocated */ - int p; -{ - /* One of the npixels allocated has already been freed. - * p is the index of the freed pixel. - * First free the pixels preceeding p, and there are p of them; - * then free the pixels following p, there are npixels - p - 1 of them. - */ - XFreeColors(dpy, cmap, pixels, p, (unsigned long) 0); - XFreeColors(dpy, cmap, &(pixels[p+1]), npixels - p - 1, (unsigned long) 0); - free((char *) pixels); -} - - -/****************************************************************************/ -static Status RWcell(dpy, cmap, color, request, pixel) - Display *dpy; - Colormap cmap; - XColor *color; - XColor *request; - unsigned long *pixel; -{ - unsigned long n = *pixel; - - XFreeColors(dpy, cmap, &(color->pixel), 1, (unsigned long)0); - if (! XAllocColorCells(dpy, cmap, (Bool) 0, (unsigned long *) NULL, - (unsigned) 0, pixel, (unsigned) 1)) - return 0; - if (*pixel != n) - { - XFreeColors(dpy, cmap, pixel, 1, (unsigned long) 0); - return 0; - } - color->pixel = *pixel; - color->flags = DoRed | DoGreen | DoBlue; - color->red = request->red; - color->green = request->green; - color->blue = request->blue; - XStoreColors(dpy, cmap, color, 1); - return 1; -} - - -/****************************************************************************/ -static int compare(e1, e2) - unsigned long *e1, *e2; -{ - if (*e1 < *e2) return -1; - if (*e1 > *e2) return 1; - return 0; -} - - -/****************************************************************************/ -static Status readonly_map(dpy, vinfo, colormap) - Display *dpy; - XVisualInfo *vinfo; - XStandardColormap *colormap; -{ - int i, last_pixel; - XColor color; - - last_pixel = (colormap->red_max + 1) * (colormap->green_max + 1) * - (colormap->blue_max + 1) + colormap->base_pixel - 1; - - for(i=colormap->base_pixel; i <= last_pixel; i++) { - - color.pixel = (unsigned long) i; - color.red = (unsigned short) - (((i/colormap->red_mult) * 65535) / colormap->red_max); - - if (vinfo->class == StaticColor) { - color.green = (unsigned short) - ((((i/colormap->green_mult) % (colormap->green_max + 1)) * - 65535) / colormap->green_max); - color.blue = (unsigned short) - (((i%colormap->green_mult) * 65535) / colormap->blue_max); - } - else /* vinfo->class == GrayScale, old style allocation XXX */ - color.green = color.blue = color.red; - - XAllocColor(dpy, colormap->colormap, &color); - if (color.pixel != (unsigned long) i) - return 0; - } - return 1; -} diff --git a/src/other/togl/src/Xmu/DelCmap.c b/src/other/togl/src/Xmu/DelCmap.c deleted file mode 100644 index b02e3b80362..00000000000 --- a/src/other/togl/src/Xmu/DelCmap.c +++ /dev/null @@ -1,67 +0,0 @@ -/* $XConsortium: DelCmap.c,v 1.2 94/04/17 20:15:58 converse Exp $ */ - -/* - -Copyright (c) 1989 X Consortium - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -Except as contained in this notice, the name of the X Consortium shall not be -used in advertising or otherwise to promote the sale, use or other dealings -in this Software without prior written authorization from the X Consortium. - -*/ - -/* - * Author: Donna Converse, MIT X Consortium - */ - -#include -#include - -/* To remove any standard colormap property, use XmuDeleteStandardColormap(). - * XmuDeleteStandardColormap() will remove the specified property from the - * specified screen, releasing any resources used by the colormap(s) of the - * property if possible. - */ - -void XmuDeleteStandardColormap(dpy, screen, property) - Display *dpy; /* specifies the X server to connect to */ - int screen; /* specifies the screen of the display */ - Atom property; /* specifies the standard colormap property */ -{ - XStandardColormap *stdcmaps, *s; - int count = 0; - - if (XGetRGBColormaps(dpy, RootWindow(dpy, screen), &stdcmaps, &count, - property)) - { - for (s=stdcmaps; count > 0; count--, s++) { - if ((s->killid == ReleaseByFreeingColormap) && - (s->colormap != None) && - (s->colormap != DefaultColormap(dpy, screen))) - XFreeColormap(dpy, s->colormap); - else if (s->killid != None) - XKillClient(dpy, s->killid); - } - XDeleteProperty(dpy, RootWindow(dpy, screen), property); - XFree((char *) stdcmaps); - XSync(dpy, False); - } -} - diff --git a/src/other/togl/src/Xmu/LookupCmap.c b/src/other/togl/src/Xmu/LookupCmap.c deleted file mode 100644 index a7ef4a2800a..00000000000 --- a/src/other/togl/src/Xmu/LookupCmap.c +++ /dev/null @@ -1,311 +0,0 @@ -/* $XConsortium: LookupCmap.c,v 1.10 94/04/17 20:16:11 rws Exp $ */ - -/* - -Copyright (c) 1989 X Consortium - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -Except as contained in this notice, the name of the X Consortium shall not be -used in advertising or otherwise to promote the sale, use or other dealings -in this Software without prior written authorization from the X Consortium. - -*/ - -/* - * Author: Donna Converse, MIT X Consortium - */ - -#include -#include -#include -#include -#include -#include - -static Status lookup(); - -/* - * To create a standard colormap if one does not currently exist, or - * replace the currently existing standard colormap, use - * XmuLookupStandardColormap(). - * - * Given a screen, a visual, and a property, XmuLookupStandardColormap() - * will determine the best allocation for the property under the specified - * visual, and determine the whether to create a new colormap or to use - * the default colormap of the screen. It will call XmuStandardColormap() - * to create the standard colormap. - * - * If replace is true, any previous definition of the property will be - * replaced. If retain is true, the property and the colormap will be - * made permanent for the duration of the server session. However, - * pre-existing property definitions which are not replaced cannot be made - * permanent by a call to XmuLookupStandardColormap(); a request to retain - * resources pertains to newly created resources. - * - * Returns 0 on failure, non-zero on success. A request to create a - * standard colormap upon a visual which cannot support such a map is - * considered a failure. An example of this would be requesting any - * standard colormap property on a monochrome visual, or, requesting an - * RGB_BEST_MAP on a display whose colormap size is 16. - */ - -Status XmuLookupStandardColormap(dpy, screen, visualid, depth, property, - replace, retain) - Display *dpy; /* specifies X server connection */ - int screen; /* specifies screen of display */ - VisualID visualid; /* specifies the visual type */ - unsigned int depth; /* specifies the visual type */ - Atom property; /* a standard colormap property */ - Bool replace; /* specifies whether to replace */ - Bool retain; /* specifies whether to retain */ -{ - Display *odpy; /* original display connection */ - XStandardColormap *colormap; - XVisualInfo vinfo_template, *vinfo; /* visual */ - long vinfo_mask; - unsigned long r_max, g_max, b_max; /* allocation */ - int count; - Colormap cmap; /* colormap ID */ - Status status = 0; - - - /* Match the requested visual */ - - vinfo_template.visualid = visualid; - vinfo_template.screen = screen; - vinfo_template.depth = depth; - vinfo_mask = VisualIDMask | VisualScreenMask | VisualDepthMask; - if ((vinfo = XGetVisualInfo(dpy, vinfo_mask, &vinfo_template, &count)) == - NULL) - return 0; - - /* Monochrome visuals have no standard maps */ - - if (vinfo->colormap_size <= 2) { - XFree((char *) vinfo); - return 0; - } - - /* If the requested property already exists on this screen, and, - * if the replace flag has not been set to true, return success. - * lookup() will remove a pre-existing map if replace is true. - */ - - if (lookup(dpy, screen, visualid, property, (XStandardColormap *) NULL, - replace) && !replace) { - XFree((char *) vinfo); - return 1; - } - - /* Determine the best allocation for this property under the requested - * visualid and depth, and determine whether or not to use the default - * colormap of the screen. - */ - - if (!XmuGetColormapAllocation(vinfo, property, &r_max, &g_max, &b_max)) { - XFree((char *) vinfo); - return 0; - } - - cmap = (property == XA_RGB_DEFAULT_MAP && - visualid == XVisualIDFromVisual(DefaultVisual(dpy, screen))) - ? DefaultColormap(dpy, screen) : None; - - /* If retaining resources, open a new connection to the same server */ - - if (retain) { - odpy = dpy; - if ((dpy = XOpenDisplay(XDisplayString(odpy))) == NULL) { - XFree((char *) vinfo); - return 0; - } - } - - /* Create the standard colormap */ - - colormap = XmuStandardColormap(dpy, screen, visualid, depth, property, - cmap, r_max, g_max, b_max); - - /* Set the standard colormap property */ - - if (colormap) { - XGrabServer(dpy); - - if (lookup(dpy, screen, visualid, property, colormap, replace) && - !replace) { - /* Someone has defined the property since we last looked. - * Since we will not replace it, release our own resources. - * If this is the default map, our allocations will be freed - * when this connection closes. - */ - if (colormap->killid == ReleaseByFreeingColormap) - XFreeColormap(dpy, colormap->colormap); - } - else if (retain) { - XSetCloseDownMode(dpy, RetainPermanent); - } - XUngrabServer(dpy); - XFree((char *) colormap); - status = 1; - } - - if (retain) - XCloseDisplay(dpy); - XFree((char *) vinfo); - return status; -} - -/***************************************************************************/ - -/* Lookup a standard colormap property. If the property is RGB_DEFAULT_MAP, - * the visualid is used to determine whether the indicated standard colormap - * exists. If the map exists and replace is true, delete the resources used - * by the map and remove the property. Return true if the map exists, - * or did exist and was deleted; return false if the map was not found. - * - * Note that this is not the way that a Status return is normally used. - * - * If new is not NULL, new points to an XStandardColormap structure which - * describes a standard colormap of the specified property. It will be made - * a standard colormap of the screen if none already exists, or if replace - * is true. - */ - -static Status lookup(dpy, screen, visualid, property, new, replace) - Display *dpy; /* specifies display connection */ - int screen; /* specifies screen number */ - VisualID visualid; /* specifies visualid for std map */ - Atom property; /* specifies colormap property name */ - XStandardColormap *new; /* specifies a standard colormap */ - Bool replace; /* specifies whether to replace */ -{ - register int i; - int count; - XStandardColormap *stdcmaps, *s; - Window win = RootWindow(dpy, screen); - - /* The property does not already exist */ - - if (! XGetRGBColormaps(dpy, win, &stdcmaps, &count, property)) { - if (new) - XSetRGBColormaps(dpy, win, new, 1, property); - return 0; - } - - /* The property exists and is not describing the RGB_DEFAULT_MAP */ - - if (property != XA_RGB_DEFAULT_MAP) { - if (replace) { - XmuDeleteStandardColormap(dpy, screen, property); - if (new) - XSetRGBColormaps(dpy, win, new, 1, property); - } - XFree((char *)stdcmaps); - return 1; - } - - /* The property exists and is RGB_DEFAULT_MAP */ - - for (i=0, s=stdcmaps; (i < count) && (s->visualid != visualid); i++, s++) - ; - - /* No RGB_DEFAULT_MAP property matches the given visualid */ - - if (i == count) { - if (new) { - XStandardColormap *m, *maps; - - s = (XStandardColormap *) malloc((unsigned) ((count+1) * sizeof - (XStandardColormap))); - - for (i = 0, m = s, maps = stdcmaps; i < count; i++, m++, maps++) { - m->colormap = maps->colormap; - m->red_max = maps->red_max; - m->red_mult = maps->red_mult; - m->green_max = maps->green_max; - m->green_mult = maps->green_mult; - m->blue_max = maps->blue_max; - m->blue_mult = maps->blue_mult; - m->base_pixel = maps->base_pixel; - m->visualid = maps->visualid; - m->killid = maps->killid; - } - m->colormap = new->colormap; - m->red_max = new->red_max; - m->red_mult = new->red_mult; - m->green_max = new->green_max; - m->green_mult = new->green_mult; - m->blue_max = new->blue_max; - m->blue_mult = new->blue_mult; - m->base_pixel = new->base_pixel; - m->visualid = new->visualid; - m->killid = new->killid; - - XSetRGBColormaps(dpy, win, s, ++count, property); - free((char *) s); - } - XFree((char *) stdcmaps); - return 0; - } - - /* Found an RGB_DEFAULT_MAP property with a matching visualid */ - - if (replace) { - /* Free old resources first - we may need them, particularly in - * the default colormap of the screen. However, because of this, - * it is possible that we will destroy the old resource and fail - * to create a new one if XmuStandardColormap() fails. - */ - - if (count == 1) { - XmuDeleteStandardColormap(dpy, screen, property); - if (new) - XSetRGBColormaps(dpy, win, new, 1, property); - } - else { - XStandardColormap *map; - - /* s still points to the matching standard colormap */ - - if (s->killid == ReleaseByFreeingColormap) { - if ((s->colormap != None) && - (s->colormap != DefaultColormap(dpy, screen))) - XFreeColormap(dpy, s->colormap); - } - else if (s->killid != None) - XKillClient(dpy, s->killid); - - map = (new) ? new : stdcmaps + --count; - - s->colormap = map->colormap; - s->red_max = map->red_max; - s->red_mult = map->red_mult; - s->green_max = map->green_max; - s->green_mult = map->green_mult; - s->blue_max = map->blue_max; - s->blue_mult = map->blue_mult; - s->visualid = map->visualid; - s->killid = map->killid; - - XSetRGBColormaps(dpy, win, stdcmaps, count, property); - } - } - XFree((char *) stdcmaps); - return 1; -} diff --git a/src/other/togl/src/Xmu/README b/src/other/togl/src/Xmu/README deleted file mode 100644 index d618e2a71e9..00000000000 --- a/src/other/togl/src/Xmu/README +++ /dev/null @@ -1,8 +0,0 @@ -This library contains miscellaneous utilities and is not part of the Xlib -standard. It contains routines which only use public interfaces so that it -may be layered on top of any proprietary implementation of Xlib or Xt. - -It is intended to support clients in the MIT distribution; vendors -may choose not to distribute this library if they wish. Therefore, -applications developers who depend on this library should be prepared to -treat it as part of their software base when porting. diff --git a/src/other/togl/src/Xmu/README.togl b/src/other/togl/src/Xmu/README.togl deleted file mode 100644 index 5cff1151475..00000000000 --- a/src/other/togl/src/Xmu/README.togl +++ /dev/null @@ -1,3 +0,0 @@ -The source code in this directory is a subset of the Jun 12, 1995 X11R6 Xmu -library that is needed for the Togl widget. The Xmu library is no longer -installed by default on many Linux systems. diff --git a/src/other/togl/src/Xmu/StdCmap.c b/src/other/togl/src/Xmu/StdCmap.c deleted file mode 100644 index ec65b4253b2..00000000000 --- a/src/other/togl/src/Xmu/StdCmap.c +++ /dev/null @@ -1,219 +0,0 @@ -/* $XConsortium: StdCmap.c,v 1.14 94/04/17 20:16:14 rws Exp $ */ - -/* - -Copyright (c) 1989 X Consortium - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -Except as contained in this notice, the name of the X Consortium shall not be -used in advertising or otherwise to promote the sale, use or other dealings -in this Software without prior written authorization from the X Consortium. - -*/ - -/* - * Author: Donna Converse, MIT X Consortium - */ - -#include -#include -#include -#include -#include - -#define lowbit(x) ((x) & (~(x) + 1)) - -static Status valid_args(); /* argument restrictions */ - -/* - * To create any one standard colormap, use XmuStandardColormap(). - * - * Create a standard colormap for the given screen, visualid, and visual - * depth, with the given red, green, and blue maximum values, with the - * given standard property name. Return a pointer to an XStandardColormap - * structure which describes the newly created colormap, upon success. - * Upon failure, return NULL. - * - * XmuStandardColormap() calls XmuCreateColormap() to create the map. - * - * Resources created by this function are not made permanent; that is the - * caller's responsibility. - */ - -XStandardColormap *XmuStandardColormap(dpy, screen, visualid, depth, property, - cmap, red_max, green_max, blue_max) - Display *dpy; /* specifies X server connection */ - int screen; /* specifies display screen */ - VisualID visualid; /* identifies the visual type */ - unsigned int depth; /* identifies the visual type */ - Atom property; /* a standard colormap property */ - Colormap cmap; /* specifies colormap ID or None */ - unsigned long red_max, green_max, blue_max; /* allocations */ -{ - XStandardColormap *stdcmap; - Status status; - XVisualInfo vinfo_template, *vinfo; - long vinfo_mask; - int n; - - /* Match the required visual information to an actual visual */ - vinfo_template.visualid = visualid; - vinfo_template.screen = screen; - vinfo_template.depth = depth; - vinfo_mask = VisualIDMask | VisualScreenMask | VisualDepthMask; - if ((vinfo = XGetVisualInfo(dpy, vinfo_mask, &vinfo_template, &n)) == NULL) - return 0; - - /* Check the validity of the combination of visual characteristics, - * allocation, and colormap property. Create an XStandardColormap - * structure. - */ - - if (! valid_args(vinfo, red_max, green_max, blue_max, property) - || ((stdcmap = XAllocStandardColormap()) == NULL)) { - XFree((char *) vinfo); - return 0; - } - - /* Fill in the XStandardColormap structure */ - - if (cmap == DefaultColormap(dpy, screen)) { - /* Allocating out of the default map, cannot use XFreeColormap() */ - Window win = XCreateWindow(dpy, RootWindow(dpy, screen), 1, 1, 1, 1, - 0, 0, InputOnly, vinfo->visual, - (unsigned long) 0, - (XSetWindowAttributes *)NULL); - stdcmap->killid = (XID) XCreatePixmap(dpy, win, 1, 1, depth); - XDestroyWindow(dpy, win); - stdcmap->colormap = cmap; - } else { - stdcmap->killid = ReleaseByFreeingColormap; - stdcmap->colormap = XCreateColormap(dpy, RootWindow(dpy, screen), - vinfo->visual, AllocNone); - } - stdcmap->red_max = red_max; - stdcmap->green_max = green_max; - stdcmap->blue_max = blue_max; - if (property == XA_RGB_GRAY_MAP) - stdcmap->red_mult = stdcmap->green_mult = stdcmap->blue_mult = 1; - else if (vinfo->class == TrueColor || vinfo->class == DirectColor) { - stdcmap->red_mult = lowbit(vinfo->red_mask); - stdcmap->green_mult = lowbit(vinfo->green_mask); - stdcmap->blue_mult = lowbit(vinfo->blue_mask); - } else { - stdcmap->red_mult = (red_max > 0) - ? (green_max + 1) * (blue_max + 1) : 0; - stdcmap->green_mult = (green_max > 0) ? blue_max + 1 : 0; - stdcmap->blue_mult = (blue_max > 0) ? 1 : 0; - } - stdcmap->base_pixel = 0; /* base pixel may change */ - stdcmap->visualid = vinfo->visualid; - - /* Make the colormap */ - - status = XmuCreateColormap(dpy, stdcmap); - - /* Clean up */ - - XFree((char *) vinfo); - if (!status) { - - /* Free the colormap or the pixmap, if we created one */ - if (stdcmap->killid == ReleaseByFreeingColormap) - XFreeColormap(dpy, stdcmap->colormap); - else if (stdcmap->killid != None) - XFreePixmap(dpy, stdcmap->killid); - - XFree((char *) stdcmap); - return (XStandardColormap *) NULL; - } - return stdcmap; -} - -/****************************************************************************/ -static Status valid_args(vinfo, red_max, green_max, blue_max, property) - XVisualInfo *vinfo; /* specifies visual */ - unsigned long red_max, green_max, blue_max; /* specifies alloc */ - Atom property; /* specifies property name */ -{ - unsigned long ncolors; /* number of colors requested */ - - /* Determine that the number of colors requested is <= map size */ - - if ((vinfo->class == DirectColor) || (vinfo->class == TrueColor)) { - unsigned long mask; - - mask = vinfo->red_mask; - while (!(mask & 1)) - mask >>= 1; - if (red_max > mask) - return 0; - mask = vinfo->green_mask; - while (!(mask & 1)) - mask >>= 1; - if (green_max > mask) - return 0; - mask = vinfo->blue_mask; - while (!(mask & 1)) - mask >>= 1; - if (blue_max > mask) - return 0; - } else if (property == XA_RGB_GRAY_MAP) { - ncolors = red_max + green_max + blue_max + 1; - if (ncolors > vinfo->colormap_size) - return 0; - } else { - ncolors = (red_max + 1) * (green_max + 1) * (blue_max + 1); - if (ncolors > vinfo->colormap_size) - return 0; - } - - /* Determine that the allocation and visual make sense for the property */ - - switch (property) - { - case XA_RGB_DEFAULT_MAP: - if (red_max == 0 || green_max == 0 || blue_max == 0) - return 0; - break; - case XA_RGB_RED_MAP: - if (red_max == 0) - return 0; - break; - case XA_RGB_GREEN_MAP: - if (green_max == 0) - return 0; - break; - case XA_RGB_BLUE_MAP: - if (blue_max == 0) - return 0; - break; - case XA_RGB_BEST_MAP: - if (red_max == 0 || green_max == 0 || blue_max == 0) - return 0; - break; - case XA_RGB_GRAY_MAP: - if (red_max == 0 || blue_max == 0 || green_max == 0) - return 0; - break; - default: - return 0; - } - return 1; -} diff --git a/src/other/togl/src/Xmu/StdCmap.h b/src/other/togl/src/Xmu/StdCmap.h deleted file mode 100644 index a1cdd2e7261..00000000000 --- a/src/other/togl/src/Xmu/StdCmap.h +++ /dev/null @@ -1,112 +0,0 @@ -/* $XConsortium: StdCmap.h,v 1.4 94/04/17 20:16:15 converse Exp $ */ - -/* - -Copyright (c) 1988 X Consortium - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -Except as contained in this notice, the name of the X Consortium shall not be -used in advertising or otherwise to promote the sale, use or other dealings -in this Software without prior written authorization from the X Consortium. - -*/ - -/* - * The interfaces described by this header file are for miscellaneous utilities - * and are not part of the Xlib standard. - */ - -#ifndef _XMU_STDCMAP_H_ -#define _XMU_STDCMAP_H_ - -#include - -_XFUNCPROTOBEGIN - -Status XmuAllStandardColormaps( -#if NeedFunctionPrototypes - Display* /* dpy */ -#endif -); - -Status XmuCreateColormap( -#if NeedFunctionPrototypes - Display* /* dpy */, - XStandardColormap* /* colormap */ -#endif -); - -void XmuDeleteStandardColormap( -#if NeedFunctionPrototypes - Display* /* dpy */, - int /* screen */, - Atom /* property */ -#endif -); - -Status XmuGetColormapAllocation( -#if NeedFunctionPrototypes - XVisualInfo* /* vinfo */, - Atom /* property */, - unsigned long* /* red_max_return */, - unsigned long* /* green_max_return */, - unsigned long* /* blue_max_return */ -#endif -); - -Status XmuLookupStandardColormap( -#if NeedFunctionPrototypes - Display* /* dpy */, - int /* screen */, - VisualID /* visualid */, - unsigned int /* depth */, - Atom /* property */, - Bool /* replace */, - Bool /* retain */ -#endif -); - -XStandardColormap *XmuStandardColormap( -#if NeedFunctionPrototypes - Display* /* dpy */, - int /* screen */, - VisualID /* visualid */, - unsigned int /* depth */, - Atom /* property */, - Colormap /* cmap */, - unsigned long /* red_max */, - unsigned long /* green_max */, - unsigned long /* blue_max */ -#endif -); - -Status XmuVisualStandardColormaps( -#if NeedFunctionPrototypes - Display* /* dpy */, - int /* screen */, - VisualID /* visualid */, - unsigned int /* depth */, - Bool /* replace */, - Bool /* retain */ -#endif -); - -_XFUNCPROTOEND - -#endif /* _XMU_STDCMAP_H_ */ diff --git a/src/other/togl/src/glew/glew.c b/src/other/togl/src/glew/glew.c deleted file mode 100644 index cf430f80b46..00000000000 --- a/src/other/togl/src/glew/glew.c +++ /dev/null @@ -1,16972 +0,0 @@ -/* -** The OpenGL Extension Wrangler Library -** Copyright (C) 2002-2008, Milan Ikits -** Copyright (C) 2002-2008, Marcelo E. Magallon -** Copyright (C) 2002, Lev Povalahev -** All rights reserved. -** -** Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are met: -** -** * Redistributions of source code must retain the above copyright notice, -** this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright notice, -** this list of conditions and the following disclaimer in the documentation -** and/or other materials provided with the distribution. -** * The name of the author may be used to endorse or promote products -** derived from this software without specific prior written permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF -** THE POSSIBILITY OF SUCH DAMAGE. -*/ - -#include - -#if defined(_WIN32) -# include -#elif !defined(__ANDROID__) && (!defined(__APPLE__) || defined(GLEW_APPLE_GLX)) -# include -#endif - -/* - * Define glewGetContext and related helper macros. - */ -#ifdef GLEW_MX -# define glewGetContext() ctx -# ifdef _WIN32 -# define GLEW_CONTEXT_ARG_DEF_INIT GLEWContext* ctx -# define GLEW_CONTEXT_ARG_VAR_INIT ctx -# define wglewGetContext() ctx -# define WGLEW_CONTEXT_ARG_DEF_INIT WGLEWContext* ctx -# define WGLEW_CONTEXT_ARG_DEF_LIST WGLEWContext* ctx -# else /* _WIN32 */ -# define GLEW_CONTEXT_ARG_DEF_INIT void -# define GLEW_CONTEXT_ARG_VAR_INIT -# define glxewGetContext() ctx -# define GLXEW_CONTEXT_ARG_DEF_INIT void -# define GLXEW_CONTEXT_ARG_DEF_LIST GLXEWContext* ctx -# endif /* _WIN32 */ -# define GLEW_CONTEXT_ARG_DEF_LIST GLEWContext* ctx -#else /* GLEW_MX */ -# define GLEW_CONTEXT_ARG_DEF_INIT void -# define GLEW_CONTEXT_ARG_VAR_INIT -# define GLEW_CONTEXT_ARG_DEF_LIST void -# define WGLEW_CONTEXT_ARG_DEF_INIT void -# define WGLEW_CONTEXT_ARG_DEF_LIST void -# define GLXEW_CONTEXT_ARG_DEF_INIT void -# define GLXEW_CONTEXT_ARG_DEF_LIST void -#endif /* GLEW_MX */ - -#if defined(__sgi) || defined (__sun) || defined(GLEW_APPLE_GLX) -#include -#include -#include - -void* dlGetProcAddress (const GLubyte* name) -{ - static void* h = NULL; - static void* gpa; - - if (h == NULL) - { - if ((h = dlopen(NULL, RTLD_LAZY | RTLD_LOCAL)) == NULL) return NULL; - gpa = dlsym(h, "glXGetProcAddress"); - } - - if (gpa != NULL) - return ((void*(*)(const GLubyte*))gpa)(name); - else - return dlsym(h, (const char*)name); -} -#endif /* __sgi || __sun || GLEW_APPLE_GLX */ - -#if defined(__APPLE__) -#include -#include -#include - -#ifdef MAC_OS_X_VERSION_10_3 - -#include - -void* NSGLGetProcAddress (const GLubyte *name) -{ - static void* image = NULL; - void* addr; - if (NULL == image) - { -#ifdef GLEW_REGAL - image = dlopen("libRegal.dylib", RTLD_LAZY); -#else - image = dlopen("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL", RTLD_LAZY); -#endif - } - if( !image ) return NULL; - addr = dlsym(image, (const char*)name); - if( addr ) return addr; -#ifdef GLEW_APPLE_GLX - return dlGetProcAddress( name ); // try next for glx symbols -#else - return NULL; -#endif -} -#else - -#include - -void* NSGLGetProcAddress (const GLubyte *name) -{ - static const struct mach_header* image = NULL; - NSSymbol symbol; - char* symbolName; - if (NULL == image) - { -#ifdef GLEW_REGAL - image = NSAddImage("libRegal.dylib", NSADDIMAGE_OPTION_RETURN_ON_ERROR); -#else - image = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL", NSADDIMAGE_OPTION_RETURN_ON_ERROR); -#endif - } - /* prepend a '_' for the Unix C symbol mangling convention */ - symbolName = malloc(strlen((const char*)name) + 2); - strcpy(symbolName+1, (const char*)name); - symbolName[0] = '_'; - symbol = NULL; - /* if (NSIsSymbolNameDefined(symbolName)) - symbol = NSLookupAndBindSymbol(symbolName); */ - symbol = image ? NSLookupSymbolInImage(image, symbolName, NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR) : NULL; - free(symbolName); - if( symbol ) return NSAddressOfSymbol(symbol); -#ifdef GLEW_APPLE_GLX - return dlGetProcAddress( name ); // try next for glx symbols -#else - return NULL; -#endif -} -#endif /* MAC_OS_X_VERSION_10_3 */ -#endif /* __APPLE__ */ - -/* - * Define glewGetProcAddress. - */ -#if defined(_WIN32) -# define glewGetProcAddress(name) wglGetProcAddress((LPCSTR)name) -#elif defined(__APPLE__) && !defined(GLEW_APPLE_GLX) -# define glewGetProcAddress(name) NSGLGetProcAddress(name) -#elif defined(__sgi) || defined(__sun) -# define glewGetProcAddress(name) dlGetProcAddress(name) -#elif defined(__ANDROID__) -# define glewGetProcAddress(name) NULL /* TODO */ -#else /* __linux */ -# define glewGetProcAddress(name) (*glXGetProcAddressARB)(name) -#endif - -/* - * Define GLboolean const cast. - */ -#define CONST_CAST(x) (*(GLboolean*)&x) - -/* - * GLEW, just like OpenGL or GLU, does not rely on the standard C library. - * These functions implement the functionality required in this file. - */ -static GLuint _glewStrLen (const GLubyte* s) -{ - GLuint i=0; - if (s == NULL) return 0; - while (s[i] != '\0') i++; - return i; -} - -static GLuint _glewStrCLen (const GLubyte* s, GLubyte c) -{ - GLuint i=0; - if (s == NULL) return 0; - while (s[i] != '\0' && s[i] != c) i++; - return (s[i] == '\0' || s[i] == c) ? i : 0; -} - -static GLboolean _glewStrSame (const GLubyte* a, const GLubyte* b, GLuint n) -{ - GLuint i=0; - if(a == NULL || b == NULL) - return (a == NULL && b == NULL && n == 0) ? GL_TRUE : GL_FALSE; - while (i < n && a[i] != '\0' && b[i] != '\0' && a[i] == b[i]) i++; - return i == n ? GL_TRUE : GL_FALSE; -} - -static GLboolean _glewStrSame1 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb) -{ - while (*na > 0 && (**a == ' ' || **a == '\n' || **a == '\r' || **a == '\t')) - { - (*a)++; - (*na)--; - } - if(*na >= nb) - { - GLuint i=0; - while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++; - if(i == nb) - { - *a = *a + nb; - *na = *na - nb; - return GL_TRUE; - } - } - return GL_FALSE; -} - -static GLboolean _glewStrSame2 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb) -{ - if(*na >= nb) - { - GLuint i=0; - while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++; - if(i == nb) - { - *a = *a + nb; - *na = *na - nb; - return GL_TRUE; - } - } - return GL_FALSE; -} - -static GLboolean _glewStrSame3 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb) -{ - if(*na >= nb) - { - GLuint i=0; - while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++; - if (i == nb && (*na == nb || (*a)[i] == ' ' || (*a)[i] == '\n' || (*a)[i] == '\r' || (*a)[i] == '\t')) - { - *a = *a + nb; - *na = *na - nb; - return GL_TRUE; - } - } - return GL_FALSE; -} - -/* - * Search for name in the extensions string. Use of strstr() - * is not sufficient because extension names can be prefixes of - * other extension names. Could use strtok() but the constant - * string returned by glGetString might be in read-only memory. - */ -static GLboolean _glewSearchExtension (const char* name, const GLubyte *start, const GLubyte *end) -{ - const GLubyte* p; - GLuint len = _glewStrLen((const GLubyte*)name); - p = start; - while (p < end) - { - GLuint n = _glewStrCLen(p, ' '); - if (len == n && _glewStrSame((const GLubyte*)name, p, n)) return GL_TRUE; - p += n+1; - } - return GL_FALSE; -} - -#if !defined(_WIN32) || !defined(GLEW_MX) - -PFNGLCOPYTEXSUBIMAGE3DPROC __glewCopyTexSubImage3D = NULL; -PFNGLDRAWRANGEELEMENTSPROC __glewDrawRangeElements = NULL; -PFNGLTEXIMAGE3DPROC __glewTexImage3D = NULL; -PFNGLTEXSUBIMAGE3DPROC __glewTexSubImage3D = NULL; - -PFNGLACTIVETEXTUREPROC __glewActiveTexture = NULL; -PFNGLCLIENTACTIVETEXTUREPROC __glewClientActiveTexture = NULL; -PFNGLCOMPRESSEDTEXIMAGE1DPROC __glewCompressedTexImage1D = NULL; -PFNGLCOMPRESSEDTEXIMAGE2DPROC __glewCompressedTexImage2D = NULL; -PFNGLCOMPRESSEDTEXIMAGE3DPROC __glewCompressedTexImage3D = NULL; -PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC __glewCompressedTexSubImage1D = NULL; -PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC __glewCompressedTexSubImage2D = NULL; -PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC __glewCompressedTexSubImage3D = NULL; -PFNGLGETCOMPRESSEDTEXIMAGEPROC __glewGetCompressedTexImage = NULL; -PFNGLLOADTRANSPOSEMATRIXDPROC __glewLoadTransposeMatrixd = NULL; -PFNGLLOADTRANSPOSEMATRIXFPROC __glewLoadTransposeMatrixf = NULL; -PFNGLMULTTRANSPOSEMATRIXDPROC __glewMultTransposeMatrixd = NULL; -PFNGLMULTTRANSPOSEMATRIXFPROC __glewMultTransposeMatrixf = NULL; -PFNGLMULTITEXCOORD1DPROC __glewMultiTexCoord1d = NULL; -PFNGLMULTITEXCOORD1DVPROC __glewMultiTexCoord1dv = NULL; -PFNGLMULTITEXCOORD1FPROC __glewMultiTexCoord1f = NULL; -PFNGLMULTITEXCOORD1FVPROC __glewMultiTexCoord1fv = NULL; -PFNGLMULTITEXCOORD1IPROC __glewMultiTexCoord1i = NULL; -PFNGLMULTITEXCOORD1IVPROC __glewMultiTexCoord1iv = NULL; -PFNGLMULTITEXCOORD1SPROC __glewMultiTexCoord1s = NULL; -PFNGLMULTITEXCOORD1SVPROC __glewMultiTexCoord1sv = NULL; -PFNGLMULTITEXCOORD2DPROC __glewMultiTexCoord2d = NULL; -PFNGLMULTITEXCOORD2DVPROC __glewMultiTexCoord2dv = NULL; -PFNGLMULTITEXCOORD2FPROC __glewMultiTexCoord2f = NULL; -PFNGLMULTITEXCOORD2FVPROC __glewMultiTexCoord2fv = NULL; -PFNGLMULTITEXCOORD2IPROC __glewMultiTexCoord2i = NULL; -PFNGLMULTITEXCOORD2IVPROC __glewMultiTexCoord2iv = NULL; -PFNGLMULTITEXCOORD2SPROC __glewMultiTexCoord2s = NULL; -PFNGLMULTITEXCOORD2SVPROC __glewMultiTexCoord2sv = NULL; -PFNGLMULTITEXCOORD3DPROC __glewMultiTexCoord3d = NULL; -PFNGLMULTITEXCOORD3DVPROC __glewMultiTexCoord3dv = NULL; -PFNGLMULTITEXCOORD3FPROC __glewMultiTexCoord3f = NULL; -PFNGLMULTITEXCOORD3FVPROC __glewMultiTexCoord3fv = NULL; -PFNGLMULTITEXCOORD3IPROC __glewMultiTexCoord3i = NULL; -PFNGLMULTITEXCOORD3IVPROC __glewMultiTexCoord3iv = NULL; -PFNGLMULTITEXCOORD3SPROC __glewMultiTexCoord3s = NULL; -PFNGLMULTITEXCOORD3SVPROC __glewMultiTexCoord3sv = NULL; -PFNGLMULTITEXCOORD4DPROC __glewMultiTexCoord4d = NULL; -PFNGLMULTITEXCOORD4DVPROC __glewMultiTexCoord4dv = NULL; -PFNGLMULTITEXCOORD4FPROC __glewMultiTexCoord4f = NULL; -PFNGLMULTITEXCOORD4FVPROC __glewMultiTexCoord4fv = NULL; -PFNGLMULTITEXCOORD4IPROC __glewMultiTexCoord4i = NULL; -PFNGLMULTITEXCOORD4IVPROC __glewMultiTexCoord4iv = NULL; -PFNGLMULTITEXCOORD4SPROC __glewMultiTexCoord4s = NULL; -PFNGLMULTITEXCOORD4SVPROC __glewMultiTexCoord4sv = NULL; -PFNGLSAMPLECOVERAGEPROC __glewSampleCoverage = NULL; - -PFNGLBLENDCOLORPROC __glewBlendColor = NULL; -PFNGLBLENDEQUATIONPROC __glewBlendEquation = NULL; -PFNGLBLENDFUNCSEPARATEPROC __glewBlendFuncSeparate = NULL; -PFNGLFOGCOORDPOINTERPROC __glewFogCoordPointer = NULL; -PFNGLFOGCOORDDPROC __glewFogCoordd = NULL; -PFNGLFOGCOORDDVPROC __glewFogCoorddv = NULL; -PFNGLFOGCOORDFPROC __glewFogCoordf = NULL; -PFNGLFOGCOORDFVPROC __glewFogCoordfv = NULL; -PFNGLMULTIDRAWARRAYSPROC __glewMultiDrawArrays = NULL; -PFNGLMULTIDRAWELEMENTSPROC __glewMultiDrawElements = NULL; -PFNGLPOINTPARAMETERFPROC __glewPointParameterf = NULL; -PFNGLPOINTPARAMETERFVPROC __glewPointParameterfv = NULL; -PFNGLPOINTPARAMETERIPROC __glewPointParameteri = NULL; -PFNGLPOINTPARAMETERIVPROC __glewPointParameteriv = NULL; -PFNGLSECONDARYCOLOR3BPROC __glewSecondaryColor3b = NULL; -PFNGLSECONDARYCOLOR3BVPROC __glewSecondaryColor3bv = NULL; -PFNGLSECONDARYCOLOR3DPROC __glewSecondaryColor3d = NULL; -PFNGLSECONDARYCOLOR3DVPROC __glewSecondaryColor3dv = NULL; -PFNGLSECONDARYCOLOR3FPROC __glewSecondaryColor3f = NULL; -PFNGLSECONDARYCOLOR3FVPROC __glewSecondaryColor3fv = NULL; -PFNGLSECONDARYCOLOR3IPROC __glewSecondaryColor3i = NULL; -PFNGLSECONDARYCOLOR3IVPROC __glewSecondaryColor3iv = NULL; -PFNGLSECONDARYCOLOR3SPROC __glewSecondaryColor3s = NULL; -PFNGLSECONDARYCOLOR3SVPROC __glewSecondaryColor3sv = NULL; -PFNGLSECONDARYCOLOR3UBPROC __glewSecondaryColor3ub = NULL; -PFNGLSECONDARYCOLOR3UBVPROC __glewSecondaryColor3ubv = NULL; -PFNGLSECONDARYCOLOR3UIPROC __glewSecondaryColor3ui = NULL; -PFNGLSECONDARYCOLOR3UIVPROC __glewSecondaryColor3uiv = NULL; -PFNGLSECONDARYCOLOR3USPROC __glewSecondaryColor3us = NULL; -PFNGLSECONDARYCOLOR3USVPROC __glewSecondaryColor3usv = NULL; -PFNGLSECONDARYCOLORPOINTERPROC __glewSecondaryColorPointer = NULL; -PFNGLWINDOWPOS2DPROC __glewWindowPos2d = NULL; -PFNGLWINDOWPOS2DVPROC __glewWindowPos2dv = NULL; -PFNGLWINDOWPOS2FPROC __glewWindowPos2f = NULL; -PFNGLWINDOWPOS2FVPROC __glewWindowPos2fv = NULL; -PFNGLWINDOWPOS2IPROC __glewWindowPos2i = NULL; -PFNGLWINDOWPOS2IVPROC __glewWindowPos2iv = NULL; -PFNGLWINDOWPOS2SPROC __glewWindowPos2s = NULL; -PFNGLWINDOWPOS2SVPROC __glewWindowPos2sv = NULL; -PFNGLWINDOWPOS3DPROC __glewWindowPos3d = NULL; -PFNGLWINDOWPOS3DVPROC __glewWindowPos3dv = NULL; -PFNGLWINDOWPOS3FPROC __glewWindowPos3f = NULL; -PFNGLWINDOWPOS3FVPROC __glewWindowPos3fv = NULL; -PFNGLWINDOWPOS3IPROC __glewWindowPos3i = NULL; -PFNGLWINDOWPOS3IVPROC __glewWindowPos3iv = NULL; -PFNGLWINDOWPOS3SPROC __glewWindowPos3s = NULL; -PFNGLWINDOWPOS3SVPROC __glewWindowPos3sv = NULL; - -PFNGLBEGINQUERYPROC __glewBeginQuery = NULL; -PFNGLBINDBUFFERPROC __glewBindBuffer = NULL; -PFNGLBUFFERDATAPROC __glewBufferData = NULL; -PFNGLBUFFERSUBDATAPROC __glewBufferSubData = NULL; -PFNGLDELETEBUFFERSPROC __glewDeleteBuffers = NULL; -PFNGLDELETEQUERIESPROC __glewDeleteQueries = NULL; -PFNGLENDQUERYPROC __glewEndQuery = NULL; -PFNGLGENBUFFERSPROC __glewGenBuffers = NULL; -PFNGLGENQUERIESPROC __glewGenQueries = NULL; -PFNGLGETBUFFERPARAMETERIVPROC __glewGetBufferParameteriv = NULL; -PFNGLGETBUFFERPOINTERVPROC __glewGetBufferPointerv = NULL; -PFNGLGETBUFFERSUBDATAPROC __glewGetBufferSubData = NULL; -PFNGLGETQUERYOBJECTIVPROC __glewGetQueryObjectiv = NULL; -PFNGLGETQUERYOBJECTUIVPROC __glewGetQueryObjectuiv = NULL; -PFNGLGETQUERYIVPROC __glewGetQueryiv = NULL; -PFNGLISBUFFERPROC __glewIsBuffer = NULL; -PFNGLISQUERYPROC __glewIsQuery = NULL; -PFNGLMAPBUFFERPROC __glewMapBuffer = NULL; -PFNGLUNMAPBUFFERPROC __glewUnmapBuffer = NULL; - -PFNGLATTACHSHADERPROC __glewAttachShader = NULL; -PFNGLBINDATTRIBLOCATIONPROC __glewBindAttribLocation = NULL; -PFNGLBLENDEQUATIONSEPARATEPROC __glewBlendEquationSeparate = NULL; -PFNGLCOMPILESHADERPROC __glewCompileShader = NULL; -PFNGLCREATEPROGRAMPROC __glewCreateProgram = NULL; -PFNGLCREATESHADERPROC __glewCreateShader = NULL; -PFNGLDELETEPROGRAMPROC __glewDeleteProgram = NULL; -PFNGLDELETESHADERPROC __glewDeleteShader = NULL; -PFNGLDETACHSHADERPROC __glewDetachShader = NULL; -PFNGLDISABLEVERTEXATTRIBARRAYPROC __glewDisableVertexAttribArray = NULL; -PFNGLDRAWBUFFERSPROC __glewDrawBuffers = NULL; -PFNGLENABLEVERTEXATTRIBARRAYPROC __glewEnableVertexAttribArray = NULL; -PFNGLGETACTIVEATTRIBPROC __glewGetActiveAttrib = NULL; -PFNGLGETACTIVEUNIFORMPROC __glewGetActiveUniform = NULL; -PFNGLGETATTACHEDSHADERSPROC __glewGetAttachedShaders = NULL; -PFNGLGETATTRIBLOCATIONPROC __glewGetAttribLocation = NULL; -PFNGLGETPROGRAMINFOLOGPROC __glewGetProgramInfoLog = NULL; -PFNGLGETPROGRAMIVPROC __glewGetProgramiv = NULL; -PFNGLGETSHADERINFOLOGPROC __glewGetShaderInfoLog = NULL; -PFNGLGETSHADERSOURCEPROC __glewGetShaderSource = NULL; -PFNGLGETSHADERIVPROC __glewGetShaderiv = NULL; -PFNGLGETUNIFORMLOCATIONPROC __glewGetUniformLocation = NULL; -PFNGLGETUNIFORMFVPROC __glewGetUniformfv = NULL; -PFNGLGETUNIFORMIVPROC __glewGetUniformiv = NULL; -PFNGLGETVERTEXATTRIBPOINTERVPROC __glewGetVertexAttribPointerv = NULL; -PFNGLGETVERTEXATTRIBDVPROC __glewGetVertexAttribdv = NULL; -PFNGLGETVERTEXATTRIBFVPROC __glewGetVertexAttribfv = NULL; -PFNGLGETVERTEXATTRIBIVPROC __glewGetVertexAttribiv = NULL; -PFNGLISPROGRAMPROC __glewIsProgram = NULL; -PFNGLISSHADERPROC __glewIsShader = NULL; -PFNGLLINKPROGRAMPROC __glewLinkProgram = NULL; -PFNGLSHADERSOURCEPROC __glewShaderSource = NULL; -PFNGLSTENCILFUNCSEPARATEPROC __glewStencilFuncSeparate = NULL; -PFNGLSTENCILMASKSEPARATEPROC __glewStencilMaskSeparate = NULL; -PFNGLSTENCILOPSEPARATEPROC __glewStencilOpSeparate = NULL; -PFNGLUNIFORM1FPROC __glewUniform1f = NULL; -PFNGLUNIFORM1FVPROC __glewUniform1fv = NULL; -PFNGLUNIFORM1IPROC __glewUniform1i = NULL; -PFNGLUNIFORM1IVPROC __glewUniform1iv = NULL; -PFNGLUNIFORM2FPROC __glewUniform2f = NULL; -PFNGLUNIFORM2FVPROC __glewUniform2fv = NULL; -PFNGLUNIFORM2IPROC __glewUniform2i = NULL; -PFNGLUNIFORM2IVPROC __glewUniform2iv = NULL; -PFNGLUNIFORM3FPROC __glewUniform3f = NULL; -PFNGLUNIFORM3FVPROC __glewUniform3fv = NULL; -PFNGLUNIFORM3IPROC __glewUniform3i = NULL; -PFNGLUNIFORM3IVPROC __glewUniform3iv = NULL; -PFNGLUNIFORM4FPROC __glewUniform4f = NULL; -PFNGLUNIFORM4FVPROC __glewUniform4fv = NULL; -PFNGLUNIFORM4IPROC __glewUniform4i = NULL; -PFNGLUNIFORM4IVPROC __glewUniform4iv = NULL; -PFNGLUNIFORMMATRIX2FVPROC __glewUniformMatrix2fv = NULL; -PFNGLUNIFORMMATRIX3FVPROC __glewUniformMatrix3fv = NULL; -PFNGLUNIFORMMATRIX4FVPROC __glewUniformMatrix4fv = NULL; -PFNGLUSEPROGRAMPROC __glewUseProgram = NULL; -PFNGLVALIDATEPROGRAMPROC __glewValidateProgram = NULL; -PFNGLVERTEXATTRIB1DPROC __glewVertexAttrib1d = NULL; -PFNGLVERTEXATTRIB1DVPROC __glewVertexAttrib1dv = NULL; -PFNGLVERTEXATTRIB1FPROC __glewVertexAttrib1f = NULL; -PFNGLVERTEXATTRIB1FVPROC __glewVertexAttrib1fv = NULL; -PFNGLVERTEXATTRIB1SPROC __glewVertexAttrib1s = NULL; -PFNGLVERTEXATTRIB1SVPROC __glewVertexAttrib1sv = NULL; -PFNGLVERTEXATTRIB2DPROC __glewVertexAttrib2d = NULL; -PFNGLVERTEXATTRIB2DVPROC __glewVertexAttrib2dv = NULL; -PFNGLVERTEXATTRIB2FPROC __glewVertexAttrib2f = NULL; -PFNGLVERTEXATTRIB2FVPROC __glewVertexAttrib2fv = NULL; -PFNGLVERTEXATTRIB2SPROC __glewVertexAttrib2s = NULL; -PFNGLVERTEXATTRIB2SVPROC __glewVertexAttrib2sv = NULL; -PFNGLVERTEXATTRIB3DPROC __glewVertexAttrib3d = NULL; -PFNGLVERTEXATTRIB3DVPROC __glewVertexAttrib3dv = NULL; -PFNGLVERTEXATTRIB3FPROC __glewVertexAttrib3f = NULL; -PFNGLVERTEXATTRIB3FVPROC __glewVertexAttrib3fv = NULL; -PFNGLVERTEXATTRIB3SPROC __glewVertexAttrib3s = NULL; -PFNGLVERTEXATTRIB3SVPROC __glewVertexAttrib3sv = NULL; -PFNGLVERTEXATTRIB4NBVPROC __glewVertexAttrib4Nbv = NULL; -PFNGLVERTEXATTRIB4NIVPROC __glewVertexAttrib4Niv = NULL; -PFNGLVERTEXATTRIB4NSVPROC __glewVertexAttrib4Nsv = NULL; -PFNGLVERTEXATTRIB4NUBPROC __glewVertexAttrib4Nub = NULL; -PFNGLVERTEXATTRIB4NUBVPROC __glewVertexAttrib4Nubv = NULL; -PFNGLVERTEXATTRIB4NUIVPROC __glewVertexAttrib4Nuiv = NULL; -PFNGLVERTEXATTRIB4NUSVPROC __glewVertexAttrib4Nusv = NULL; -PFNGLVERTEXATTRIB4BVPROC __glewVertexAttrib4bv = NULL; -PFNGLVERTEXATTRIB4DPROC __glewVertexAttrib4d = NULL; -PFNGLVERTEXATTRIB4DVPROC __glewVertexAttrib4dv = NULL; -PFNGLVERTEXATTRIB4FPROC __glewVertexAttrib4f = NULL; -PFNGLVERTEXATTRIB4FVPROC __glewVertexAttrib4fv = NULL; -PFNGLVERTEXATTRIB4IVPROC __glewVertexAttrib4iv = NULL; -PFNGLVERTEXATTRIB4SPROC __glewVertexAttrib4s = NULL; -PFNGLVERTEXATTRIB4SVPROC __glewVertexAttrib4sv = NULL; -PFNGLVERTEXATTRIB4UBVPROC __glewVertexAttrib4ubv = NULL; -PFNGLVERTEXATTRIB4UIVPROC __glewVertexAttrib4uiv = NULL; -PFNGLVERTEXATTRIB4USVPROC __glewVertexAttrib4usv = NULL; -PFNGLVERTEXATTRIBPOINTERPROC __glewVertexAttribPointer = NULL; - -PFNGLUNIFORMMATRIX2X3FVPROC __glewUniformMatrix2x3fv = NULL; -PFNGLUNIFORMMATRIX2X4FVPROC __glewUniformMatrix2x4fv = NULL; -PFNGLUNIFORMMATRIX3X2FVPROC __glewUniformMatrix3x2fv = NULL; -PFNGLUNIFORMMATRIX3X4FVPROC __glewUniformMatrix3x4fv = NULL; -PFNGLUNIFORMMATRIX4X2FVPROC __glewUniformMatrix4x2fv = NULL; -PFNGLUNIFORMMATRIX4X3FVPROC __glewUniformMatrix4x3fv = NULL; - -PFNGLBEGINCONDITIONALRENDERPROC __glewBeginConditionalRender = NULL; -PFNGLBEGINTRANSFORMFEEDBACKPROC __glewBeginTransformFeedback = NULL; -PFNGLBINDFRAGDATALOCATIONPROC __glewBindFragDataLocation = NULL; -PFNGLCLAMPCOLORPROC __glewClampColor = NULL; -PFNGLCLEARBUFFERFIPROC __glewClearBufferfi = NULL; -PFNGLCLEARBUFFERFVPROC __glewClearBufferfv = NULL; -PFNGLCLEARBUFFERIVPROC __glewClearBufferiv = NULL; -PFNGLCLEARBUFFERUIVPROC __glewClearBufferuiv = NULL; -PFNGLCOLORMASKIPROC __glewColorMaski = NULL; -PFNGLDISABLEIPROC __glewDisablei = NULL; -PFNGLENABLEIPROC __glewEnablei = NULL; -PFNGLENDCONDITIONALRENDERPROC __glewEndConditionalRender = NULL; -PFNGLENDTRANSFORMFEEDBACKPROC __glewEndTransformFeedback = NULL; -PFNGLGETBOOLEANI_VPROC __glewGetBooleani_v = NULL; -PFNGLGETFRAGDATALOCATIONPROC __glewGetFragDataLocation = NULL; -PFNGLGETSTRINGIPROC __glewGetStringi = NULL; -PFNGLGETTEXPARAMETERIIVPROC __glewGetTexParameterIiv = NULL; -PFNGLGETTEXPARAMETERIUIVPROC __glewGetTexParameterIuiv = NULL; -PFNGLGETTRANSFORMFEEDBACKVARYINGPROC __glewGetTransformFeedbackVarying = NULL; -PFNGLGETUNIFORMUIVPROC __glewGetUniformuiv = NULL; -PFNGLGETVERTEXATTRIBIIVPROC __glewGetVertexAttribIiv = NULL; -PFNGLGETVERTEXATTRIBIUIVPROC __glewGetVertexAttribIuiv = NULL; -PFNGLISENABLEDIPROC __glewIsEnabledi = NULL; -PFNGLTEXPARAMETERIIVPROC __glewTexParameterIiv = NULL; -PFNGLTEXPARAMETERIUIVPROC __glewTexParameterIuiv = NULL; -PFNGLTRANSFORMFEEDBACKVARYINGSPROC __glewTransformFeedbackVaryings = NULL; -PFNGLUNIFORM1UIPROC __glewUniform1ui = NULL; -PFNGLUNIFORM1UIVPROC __glewUniform1uiv = NULL; -PFNGLUNIFORM2UIPROC __glewUniform2ui = NULL; -PFNGLUNIFORM2UIVPROC __glewUniform2uiv = NULL; -PFNGLUNIFORM3UIPROC __glewUniform3ui = NULL; -PFNGLUNIFORM3UIVPROC __glewUniform3uiv = NULL; -PFNGLUNIFORM4UIPROC __glewUniform4ui = NULL; -PFNGLUNIFORM4UIVPROC __glewUniform4uiv = NULL; -PFNGLVERTEXATTRIBI1IPROC __glewVertexAttribI1i = NULL; -PFNGLVERTEXATTRIBI1IVPROC __glewVertexAttribI1iv = NULL; -PFNGLVERTEXATTRIBI1UIPROC __glewVertexAttribI1ui = NULL; -PFNGLVERTEXATTRIBI1UIVPROC __glewVertexAttribI1uiv = NULL; -PFNGLVERTEXATTRIBI2IPROC __glewVertexAttribI2i = NULL; -PFNGLVERTEXATTRIBI2IVPROC __glewVertexAttribI2iv = NULL; -PFNGLVERTEXATTRIBI2UIPROC __glewVertexAttribI2ui = NULL; -PFNGLVERTEXATTRIBI2UIVPROC __glewVertexAttribI2uiv = NULL; -PFNGLVERTEXATTRIBI3IPROC __glewVertexAttribI3i = NULL; -PFNGLVERTEXATTRIBI3IVPROC __glewVertexAttribI3iv = NULL; -PFNGLVERTEXATTRIBI3UIPROC __glewVertexAttribI3ui = NULL; -PFNGLVERTEXATTRIBI3UIVPROC __glewVertexAttribI3uiv = NULL; -PFNGLVERTEXATTRIBI4BVPROC __glewVertexAttribI4bv = NULL; -PFNGLVERTEXATTRIBI4IPROC __glewVertexAttribI4i = NULL; -PFNGLVERTEXATTRIBI4IVPROC __glewVertexAttribI4iv = NULL; -PFNGLVERTEXATTRIBI4SVPROC __glewVertexAttribI4sv = NULL; -PFNGLVERTEXATTRIBI4UBVPROC __glewVertexAttribI4ubv = NULL; -PFNGLVERTEXATTRIBI4UIPROC __glewVertexAttribI4ui = NULL; -PFNGLVERTEXATTRIBI4UIVPROC __glewVertexAttribI4uiv = NULL; -PFNGLVERTEXATTRIBI4USVPROC __glewVertexAttribI4usv = NULL; -PFNGLVERTEXATTRIBIPOINTERPROC __glewVertexAttribIPointer = NULL; - -PFNGLDRAWARRAYSINSTANCEDPROC __glewDrawArraysInstanced = NULL; -PFNGLDRAWELEMENTSINSTANCEDPROC __glewDrawElementsInstanced = NULL; -PFNGLPRIMITIVERESTARTINDEXPROC __glewPrimitiveRestartIndex = NULL; -PFNGLTEXBUFFERPROC __glewTexBuffer = NULL; - -PFNGLFRAMEBUFFERTEXTUREPROC __glewFramebufferTexture = NULL; -PFNGLGETBUFFERPARAMETERI64VPROC __glewGetBufferParameteri64v = NULL; -PFNGLGETINTEGER64I_VPROC __glewGetInteger64i_v = NULL; - -PFNGLVERTEXATTRIBDIVISORPROC __glewVertexAttribDivisor = NULL; - -PFNGLBLENDEQUATIONSEPARATEIPROC __glewBlendEquationSeparatei = NULL; -PFNGLBLENDEQUATIONIPROC __glewBlendEquationi = NULL; -PFNGLBLENDFUNCSEPARATEIPROC __glewBlendFuncSeparatei = NULL; -PFNGLBLENDFUNCIPROC __glewBlendFunci = NULL; -PFNGLMINSAMPLESHADINGPROC __glewMinSampleShading = NULL; - -PFNGLTBUFFERMASK3DFXPROC __glewTbufferMask3DFX = NULL; - -PFNGLDEBUGMESSAGECALLBACKAMDPROC __glewDebugMessageCallbackAMD = NULL; -PFNGLDEBUGMESSAGEENABLEAMDPROC __glewDebugMessageEnableAMD = NULL; -PFNGLDEBUGMESSAGEINSERTAMDPROC __glewDebugMessageInsertAMD = NULL; -PFNGLGETDEBUGMESSAGELOGAMDPROC __glewGetDebugMessageLogAMD = NULL; - -PFNGLBLENDEQUATIONINDEXEDAMDPROC __glewBlendEquationIndexedAMD = NULL; -PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC __glewBlendEquationSeparateIndexedAMD = NULL; -PFNGLBLENDFUNCINDEXEDAMDPROC __glewBlendFuncIndexedAMD = NULL; -PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC __glewBlendFuncSeparateIndexedAMD = NULL; - -PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC __glewMultiDrawArraysIndirectAMD = NULL; -PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC __glewMultiDrawElementsIndirectAMD = NULL; - -PFNGLDELETENAMESAMDPROC __glewDeleteNamesAMD = NULL; -PFNGLGENNAMESAMDPROC __glewGenNamesAMD = NULL; -PFNGLISNAMEAMDPROC __glewIsNameAMD = NULL; - -PFNGLBEGINPERFMONITORAMDPROC __glewBeginPerfMonitorAMD = NULL; -PFNGLDELETEPERFMONITORSAMDPROC __glewDeletePerfMonitorsAMD = NULL; -PFNGLENDPERFMONITORAMDPROC __glewEndPerfMonitorAMD = NULL; -PFNGLGENPERFMONITORSAMDPROC __glewGenPerfMonitorsAMD = NULL; -PFNGLGETPERFMONITORCOUNTERDATAAMDPROC __glewGetPerfMonitorCounterDataAMD = NULL; -PFNGLGETPERFMONITORCOUNTERINFOAMDPROC __glewGetPerfMonitorCounterInfoAMD = NULL; -PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC __glewGetPerfMonitorCounterStringAMD = NULL; -PFNGLGETPERFMONITORCOUNTERSAMDPROC __glewGetPerfMonitorCountersAMD = NULL; -PFNGLGETPERFMONITORGROUPSTRINGAMDPROC __glewGetPerfMonitorGroupStringAMD = NULL; -PFNGLGETPERFMONITORGROUPSAMDPROC __glewGetPerfMonitorGroupsAMD = NULL; -PFNGLSELECTPERFMONITORCOUNTERSAMDPROC __glewSelectPerfMonitorCountersAMD = NULL; - -PFNGLSETMULTISAMPLEFVAMDPROC __glewSetMultisamplefvAMD = NULL; - -PFNGLSTENCILOPVALUEAMDPROC __glewStencilOpValueAMD = NULL; - -PFNGLTESSELLATIONFACTORAMDPROC __glewTessellationFactorAMD = NULL; -PFNGLTESSELLATIONMODEAMDPROC __glewTessellationModeAMD = NULL; - -PFNGLDRAWELEMENTARRAYAPPLEPROC __glewDrawElementArrayAPPLE = NULL; -PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC __glewDrawRangeElementArrayAPPLE = NULL; -PFNGLELEMENTPOINTERAPPLEPROC __glewElementPointerAPPLE = NULL; -PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC __glewMultiDrawElementArrayAPPLE = NULL; -PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC __glewMultiDrawRangeElementArrayAPPLE = NULL; - -PFNGLDELETEFENCESAPPLEPROC __glewDeleteFencesAPPLE = NULL; -PFNGLFINISHFENCEAPPLEPROC __glewFinishFenceAPPLE = NULL; -PFNGLFINISHOBJECTAPPLEPROC __glewFinishObjectAPPLE = NULL; -PFNGLGENFENCESAPPLEPROC __glewGenFencesAPPLE = NULL; -PFNGLISFENCEAPPLEPROC __glewIsFenceAPPLE = NULL; -PFNGLSETFENCEAPPLEPROC __glewSetFenceAPPLE = NULL; -PFNGLTESTFENCEAPPLEPROC __glewTestFenceAPPLE = NULL; -PFNGLTESTOBJECTAPPLEPROC __glewTestObjectAPPLE = NULL; - -PFNGLBUFFERPARAMETERIAPPLEPROC __glewBufferParameteriAPPLE = NULL; -PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC __glewFlushMappedBufferRangeAPPLE = NULL; - -PFNGLGETOBJECTPARAMETERIVAPPLEPROC __glewGetObjectParameterivAPPLE = NULL; -PFNGLOBJECTPURGEABLEAPPLEPROC __glewObjectPurgeableAPPLE = NULL; -PFNGLOBJECTUNPURGEABLEAPPLEPROC __glewObjectUnpurgeableAPPLE = NULL; - -PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC __glewGetTexParameterPointervAPPLE = NULL; -PFNGLTEXTURERANGEAPPLEPROC __glewTextureRangeAPPLE = NULL; - -PFNGLBINDVERTEXARRAYAPPLEPROC __glewBindVertexArrayAPPLE = NULL; -PFNGLDELETEVERTEXARRAYSAPPLEPROC __glewDeleteVertexArraysAPPLE = NULL; -PFNGLGENVERTEXARRAYSAPPLEPROC __glewGenVertexArraysAPPLE = NULL; -PFNGLISVERTEXARRAYAPPLEPROC __glewIsVertexArrayAPPLE = NULL; - -PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC __glewFlushVertexArrayRangeAPPLE = NULL; -PFNGLVERTEXARRAYPARAMETERIAPPLEPROC __glewVertexArrayParameteriAPPLE = NULL; -PFNGLVERTEXARRAYRANGEAPPLEPROC __glewVertexArrayRangeAPPLE = NULL; - -PFNGLDISABLEVERTEXATTRIBAPPLEPROC __glewDisableVertexAttribAPPLE = NULL; -PFNGLENABLEVERTEXATTRIBAPPLEPROC __glewEnableVertexAttribAPPLE = NULL; -PFNGLISVERTEXATTRIBENABLEDAPPLEPROC __glewIsVertexAttribEnabledAPPLE = NULL; -PFNGLMAPVERTEXATTRIB1DAPPLEPROC __glewMapVertexAttrib1dAPPLE = NULL; -PFNGLMAPVERTEXATTRIB1FAPPLEPROC __glewMapVertexAttrib1fAPPLE = NULL; -PFNGLMAPVERTEXATTRIB2DAPPLEPROC __glewMapVertexAttrib2dAPPLE = NULL; -PFNGLMAPVERTEXATTRIB2FAPPLEPROC __glewMapVertexAttrib2fAPPLE = NULL; - -PFNGLCLEARDEPTHFPROC __glewClearDepthf = NULL; -PFNGLDEPTHRANGEFPROC __glewDepthRangef = NULL; -PFNGLGETSHADERPRECISIONFORMATPROC __glewGetShaderPrecisionFormat = NULL; -PFNGLRELEASESHADERCOMPILERPROC __glewReleaseShaderCompiler = NULL; -PFNGLSHADERBINARYPROC __glewShaderBinary = NULL; - -PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC __glewDrawArraysInstancedBaseInstance = NULL; -PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC __glewDrawElementsInstancedBaseInstance = NULL; -PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC __glewDrawElementsInstancedBaseVertexBaseInstance = NULL; - -PFNGLBINDFRAGDATALOCATIONINDEXEDPROC __glewBindFragDataLocationIndexed = NULL; -PFNGLGETFRAGDATAINDEXPROC __glewGetFragDataIndex = NULL; - -PFNGLCREATESYNCFROMCLEVENTARBPROC __glewCreateSyncFromCLeventARB = NULL; - -PFNGLCLEARBUFFERDATAPROC __glewClearBufferData = NULL; -PFNGLCLEARBUFFERSUBDATAPROC __glewClearBufferSubData = NULL; -PFNGLCLEARNAMEDBUFFERDATAEXTPROC __glewClearNamedBufferDataEXT = NULL; -PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC __glewClearNamedBufferSubDataEXT = NULL; - -PFNGLCLAMPCOLORARBPROC __glewClampColorARB = NULL; - -PFNGLDISPATCHCOMPUTEPROC __glewDispatchCompute = NULL; -PFNGLDISPATCHCOMPUTEINDIRECTPROC __glewDispatchComputeIndirect = NULL; - -PFNGLCOPYBUFFERSUBDATAPROC __glewCopyBufferSubData = NULL; - -PFNGLCOPYIMAGESUBDATAPROC __glewCopyImageSubData = NULL; - -PFNGLDEBUGMESSAGECALLBACKARBPROC __glewDebugMessageCallbackARB = NULL; -PFNGLDEBUGMESSAGECONTROLARBPROC __glewDebugMessageControlARB = NULL; -PFNGLDEBUGMESSAGEINSERTARBPROC __glewDebugMessageInsertARB = NULL; -PFNGLGETDEBUGMESSAGELOGARBPROC __glewGetDebugMessageLogARB = NULL; - -PFNGLDRAWBUFFERSARBPROC __glewDrawBuffersARB = NULL; - -PFNGLBLENDEQUATIONSEPARATEIARBPROC __glewBlendEquationSeparateiARB = NULL; -PFNGLBLENDEQUATIONIARBPROC __glewBlendEquationiARB = NULL; -PFNGLBLENDFUNCSEPARATEIARBPROC __glewBlendFuncSeparateiARB = NULL; -PFNGLBLENDFUNCIARBPROC __glewBlendFunciARB = NULL; - -PFNGLDRAWELEMENTSBASEVERTEXPROC __glewDrawElementsBaseVertex = NULL; -PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC __glewDrawElementsInstancedBaseVertex = NULL; -PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC __glewDrawRangeElementsBaseVertex = NULL; -PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC __glewMultiDrawElementsBaseVertex = NULL; - -PFNGLDRAWARRAYSINDIRECTPROC __glewDrawArraysIndirect = NULL; -PFNGLDRAWELEMENTSINDIRECTPROC __glewDrawElementsIndirect = NULL; - -PFNGLFRAMEBUFFERPARAMETERIPROC __glewFramebufferParameteri = NULL; -PFNGLGETFRAMEBUFFERPARAMETERIVPROC __glewGetFramebufferParameteriv = NULL; -PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC __glewGetNamedFramebufferParameterivEXT = NULL; -PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC __glewNamedFramebufferParameteriEXT = NULL; - -PFNGLBINDFRAMEBUFFERPROC __glewBindFramebuffer = NULL; -PFNGLBINDRENDERBUFFERPROC __glewBindRenderbuffer = NULL; -PFNGLBLITFRAMEBUFFERPROC __glewBlitFramebuffer = NULL; -PFNGLCHECKFRAMEBUFFERSTATUSPROC __glewCheckFramebufferStatus = NULL; -PFNGLDELETEFRAMEBUFFERSPROC __glewDeleteFramebuffers = NULL; -PFNGLDELETERENDERBUFFERSPROC __glewDeleteRenderbuffers = NULL; -PFNGLFRAMEBUFFERRENDERBUFFERPROC __glewFramebufferRenderbuffer = NULL; -PFNGLFRAMEBUFFERTEXTURE1DPROC __glewFramebufferTexture1D = NULL; -PFNGLFRAMEBUFFERTEXTURE2DPROC __glewFramebufferTexture2D = NULL; -PFNGLFRAMEBUFFERTEXTURE3DPROC __glewFramebufferTexture3D = NULL; -PFNGLFRAMEBUFFERTEXTURELAYERPROC __glewFramebufferTextureLayer = NULL; -PFNGLGENFRAMEBUFFERSPROC __glewGenFramebuffers = NULL; -PFNGLGENRENDERBUFFERSPROC __glewGenRenderbuffers = NULL; -PFNGLGENERATEMIPMAPPROC __glewGenerateMipmap = NULL; -PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC __glewGetFramebufferAttachmentParameteriv = NULL; -PFNGLGETRENDERBUFFERPARAMETERIVPROC __glewGetRenderbufferParameteriv = NULL; -PFNGLISFRAMEBUFFERPROC __glewIsFramebuffer = NULL; -PFNGLISRENDERBUFFERPROC __glewIsRenderbuffer = NULL; -PFNGLRENDERBUFFERSTORAGEPROC __glewRenderbufferStorage = NULL; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC __glewRenderbufferStorageMultisample = NULL; - -PFNGLFRAMEBUFFERTEXTUREARBPROC __glewFramebufferTextureARB = NULL; -PFNGLFRAMEBUFFERTEXTUREFACEARBPROC __glewFramebufferTextureFaceARB = NULL; -PFNGLFRAMEBUFFERTEXTURELAYERARBPROC __glewFramebufferTextureLayerARB = NULL; -PFNGLPROGRAMPARAMETERIARBPROC __glewProgramParameteriARB = NULL; - -PFNGLGETPROGRAMBINARYPROC __glewGetProgramBinary = NULL; -PFNGLPROGRAMBINARYPROC __glewProgramBinary = NULL; -PFNGLPROGRAMPARAMETERIPROC __glewProgramParameteri = NULL; - -PFNGLGETUNIFORMDVPROC __glewGetUniformdv = NULL; -PFNGLUNIFORM1DPROC __glewUniform1d = NULL; -PFNGLUNIFORM1DVPROC __glewUniform1dv = NULL; -PFNGLUNIFORM2DPROC __glewUniform2d = NULL; -PFNGLUNIFORM2DVPROC __glewUniform2dv = NULL; -PFNGLUNIFORM3DPROC __glewUniform3d = NULL; -PFNGLUNIFORM3DVPROC __glewUniform3dv = NULL; -PFNGLUNIFORM4DPROC __glewUniform4d = NULL; -PFNGLUNIFORM4DVPROC __glewUniform4dv = NULL; -PFNGLUNIFORMMATRIX2DVPROC __glewUniformMatrix2dv = NULL; -PFNGLUNIFORMMATRIX2X3DVPROC __glewUniformMatrix2x3dv = NULL; -PFNGLUNIFORMMATRIX2X4DVPROC __glewUniformMatrix2x4dv = NULL; -PFNGLUNIFORMMATRIX3DVPROC __glewUniformMatrix3dv = NULL; -PFNGLUNIFORMMATRIX3X2DVPROC __glewUniformMatrix3x2dv = NULL; -PFNGLUNIFORMMATRIX3X4DVPROC __glewUniformMatrix3x4dv = NULL; -PFNGLUNIFORMMATRIX4DVPROC __glewUniformMatrix4dv = NULL; -PFNGLUNIFORMMATRIX4X2DVPROC __glewUniformMatrix4x2dv = NULL; -PFNGLUNIFORMMATRIX4X3DVPROC __glewUniformMatrix4x3dv = NULL; - -PFNGLCOLORSUBTABLEPROC __glewColorSubTable = NULL; -PFNGLCOLORTABLEPROC __glewColorTable = NULL; -PFNGLCOLORTABLEPARAMETERFVPROC __glewColorTableParameterfv = NULL; -PFNGLCOLORTABLEPARAMETERIVPROC __glewColorTableParameteriv = NULL; -PFNGLCONVOLUTIONFILTER1DPROC __glewConvolutionFilter1D = NULL; -PFNGLCONVOLUTIONFILTER2DPROC __glewConvolutionFilter2D = NULL; -PFNGLCONVOLUTIONPARAMETERFPROC __glewConvolutionParameterf = NULL; -PFNGLCONVOLUTIONPARAMETERFVPROC __glewConvolutionParameterfv = NULL; -PFNGLCONVOLUTIONPARAMETERIPROC __glewConvolutionParameteri = NULL; -PFNGLCONVOLUTIONPARAMETERIVPROC __glewConvolutionParameteriv = NULL; -PFNGLCOPYCOLORSUBTABLEPROC __glewCopyColorSubTable = NULL; -PFNGLCOPYCOLORTABLEPROC __glewCopyColorTable = NULL; -PFNGLCOPYCONVOLUTIONFILTER1DPROC __glewCopyConvolutionFilter1D = NULL; -PFNGLCOPYCONVOLUTIONFILTER2DPROC __glewCopyConvolutionFilter2D = NULL; -PFNGLGETCOLORTABLEPROC __glewGetColorTable = NULL; -PFNGLGETCOLORTABLEPARAMETERFVPROC __glewGetColorTableParameterfv = NULL; -PFNGLGETCOLORTABLEPARAMETERIVPROC __glewGetColorTableParameteriv = NULL; -PFNGLGETCONVOLUTIONFILTERPROC __glewGetConvolutionFilter = NULL; -PFNGLGETCONVOLUTIONPARAMETERFVPROC __glewGetConvolutionParameterfv = NULL; -PFNGLGETCONVOLUTIONPARAMETERIVPROC __glewGetConvolutionParameteriv = NULL; -PFNGLGETHISTOGRAMPROC __glewGetHistogram = NULL; -PFNGLGETHISTOGRAMPARAMETERFVPROC __glewGetHistogramParameterfv = NULL; -PFNGLGETHISTOGRAMPARAMETERIVPROC __glewGetHistogramParameteriv = NULL; -PFNGLGETMINMAXPROC __glewGetMinmax = NULL; -PFNGLGETMINMAXPARAMETERFVPROC __glewGetMinmaxParameterfv = NULL; -PFNGLGETMINMAXPARAMETERIVPROC __glewGetMinmaxParameteriv = NULL; -PFNGLGETSEPARABLEFILTERPROC __glewGetSeparableFilter = NULL; -PFNGLHISTOGRAMPROC __glewHistogram = NULL; -PFNGLMINMAXPROC __glewMinmax = NULL; -PFNGLRESETHISTOGRAMPROC __glewResetHistogram = NULL; -PFNGLRESETMINMAXPROC __glewResetMinmax = NULL; -PFNGLSEPARABLEFILTER2DPROC __glewSeparableFilter2D = NULL; - -PFNGLDRAWARRAYSINSTANCEDARBPROC __glewDrawArraysInstancedARB = NULL; -PFNGLDRAWELEMENTSINSTANCEDARBPROC __glewDrawElementsInstancedARB = NULL; -PFNGLVERTEXATTRIBDIVISORARBPROC __glewVertexAttribDivisorARB = NULL; - -PFNGLGETINTERNALFORMATIVPROC __glewGetInternalformativ = NULL; - -PFNGLGETINTERNALFORMATI64VPROC __glewGetInternalformati64v = NULL; - -PFNGLINVALIDATEBUFFERDATAPROC __glewInvalidateBufferData = NULL; -PFNGLINVALIDATEBUFFERSUBDATAPROC __glewInvalidateBufferSubData = NULL; -PFNGLINVALIDATEFRAMEBUFFERPROC __glewInvalidateFramebuffer = NULL; -PFNGLINVALIDATESUBFRAMEBUFFERPROC __glewInvalidateSubFramebuffer = NULL; -PFNGLINVALIDATETEXIMAGEPROC __glewInvalidateTexImage = NULL; -PFNGLINVALIDATETEXSUBIMAGEPROC __glewInvalidateTexSubImage = NULL; - -PFNGLFLUSHMAPPEDBUFFERRANGEPROC __glewFlushMappedBufferRange = NULL; -PFNGLMAPBUFFERRANGEPROC __glewMapBufferRange = NULL; - -PFNGLCURRENTPALETTEMATRIXARBPROC __glewCurrentPaletteMatrixARB = NULL; -PFNGLMATRIXINDEXPOINTERARBPROC __glewMatrixIndexPointerARB = NULL; -PFNGLMATRIXINDEXUBVARBPROC __glewMatrixIndexubvARB = NULL; -PFNGLMATRIXINDEXUIVARBPROC __glewMatrixIndexuivARB = NULL; -PFNGLMATRIXINDEXUSVARBPROC __glewMatrixIndexusvARB = NULL; - -PFNGLMULTIDRAWARRAYSINDIRECTPROC __glewMultiDrawArraysIndirect = NULL; -PFNGLMULTIDRAWELEMENTSINDIRECTPROC __glewMultiDrawElementsIndirect = NULL; - -PFNGLSAMPLECOVERAGEARBPROC __glewSampleCoverageARB = NULL; - -PFNGLACTIVETEXTUREARBPROC __glewActiveTextureARB = NULL; -PFNGLCLIENTACTIVETEXTUREARBPROC __glewClientActiveTextureARB = NULL; -PFNGLMULTITEXCOORD1DARBPROC __glewMultiTexCoord1dARB = NULL; -PFNGLMULTITEXCOORD1DVARBPROC __glewMultiTexCoord1dvARB = NULL; -PFNGLMULTITEXCOORD1FARBPROC __glewMultiTexCoord1fARB = NULL; -PFNGLMULTITEXCOORD1FVARBPROC __glewMultiTexCoord1fvARB = NULL; -PFNGLMULTITEXCOORD1IARBPROC __glewMultiTexCoord1iARB = NULL; -PFNGLMULTITEXCOORD1IVARBPROC __glewMultiTexCoord1ivARB = NULL; -PFNGLMULTITEXCOORD1SARBPROC __glewMultiTexCoord1sARB = NULL; -PFNGLMULTITEXCOORD1SVARBPROC __glewMultiTexCoord1svARB = NULL; -PFNGLMULTITEXCOORD2DARBPROC __glewMultiTexCoord2dARB = NULL; -PFNGLMULTITEXCOORD2DVARBPROC __glewMultiTexCoord2dvARB = NULL; -PFNGLMULTITEXCOORD2FARBPROC __glewMultiTexCoord2fARB = NULL; -PFNGLMULTITEXCOORD2FVARBPROC __glewMultiTexCoord2fvARB = NULL; -PFNGLMULTITEXCOORD2IARBPROC __glewMultiTexCoord2iARB = NULL; -PFNGLMULTITEXCOORD2IVARBPROC __glewMultiTexCoord2ivARB = NULL; -PFNGLMULTITEXCOORD2SARBPROC __glewMultiTexCoord2sARB = NULL; -PFNGLMULTITEXCOORD2SVARBPROC __glewMultiTexCoord2svARB = NULL; -PFNGLMULTITEXCOORD3DARBPROC __glewMultiTexCoord3dARB = NULL; -PFNGLMULTITEXCOORD3DVARBPROC __glewMultiTexCoord3dvARB = NULL; -PFNGLMULTITEXCOORD3FARBPROC __glewMultiTexCoord3fARB = NULL; -PFNGLMULTITEXCOORD3FVARBPROC __glewMultiTexCoord3fvARB = NULL; -PFNGLMULTITEXCOORD3IARBPROC __glewMultiTexCoord3iARB = NULL; -PFNGLMULTITEXCOORD3IVARBPROC __glewMultiTexCoord3ivARB = NULL; -PFNGLMULTITEXCOORD3SARBPROC __glewMultiTexCoord3sARB = NULL; -PFNGLMULTITEXCOORD3SVARBPROC __glewMultiTexCoord3svARB = NULL; -PFNGLMULTITEXCOORD4DARBPROC __glewMultiTexCoord4dARB = NULL; -PFNGLMULTITEXCOORD4DVARBPROC __glewMultiTexCoord4dvARB = NULL; -PFNGLMULTITEXCOORD4FARBPROC __glewMultiTexCoord4fARB = NULL; -PFNGLMULTITEXCOORD4FVARBPROC __glewMultiTexCoord4fvARB = NULL; -PFNGLMULTITEXCOORD4IARBPROC __glewMultiTexCoord4iARB = NULL; -PFNGLMULTITEXCOORD4IVARBPROC __glewMultiTexCoord4ivARB = NULL; -PFNGLMULTITEXCOORD4SARBPROC __glewMultiTexCoord4sARB = NULL; -PFNGLMULTITEXCOORD4SVARBPROC __glewMultiTexCoord4svARB = NULL; - -PFNGLBEGINQUERYARBPROC __glewBeginQueryARB = NULL; -PFNGLDELETEQUERIESARBPROC __glewDeleteQueriesARB = NULL; -PFNGLENDQUERYARBPROC __glewEndQueryARB = NULL; -PFNGLGENQUERIESARBPROC __glewGenQueriesARB = NULL; -PFNGLGETQUERYOBJECTIVARBPROC __glewGetQueryObjectivARB = NULL; -PFNGLGETQUERYOBJECTUIVARBPROC __glewGetQueryObjectuivARB = NULL; -PFNGLGETQUERYIVARBPROC __glewGetQueryivARB = NULL; -PFNGLISQUERYARBPROC __glewIsQueryARB = NULL; - -PFNGLPOINTPARAMETERFARBPROC __glewPointParameterfARB = NULL; -PFNGLPOINTPARAMETERFVARBPROC __glewPointParameterfvARB = NULL; - -PFNGLGETPROGRAMINTERFACEIVPROC __glewGetProgramInterfaceiv = NULL; -PFNGLGETPROGRAMRESOURCEINDEXPROC __glewGetProgramResourceIndex = NULL; -PFNGLGETPROGRAMRESOURCELOCATIONPROC __glewGetProgramResourceLocation = NULL; -PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC __glewGetProgramResourceLocationIndex = NULL; -PFNGLGETPROGRAMRESOURCENAMEPROC __glewGetProgramResourceName = NULL; -PFNGLGETPROGRAMRESOURCEIVPROC __glewGetProgramResourceiv = NULL; - -PFNGLPROVOKINGVERTEXPROC __glewProvokingVertex = NULL; - -PFNGLGETGRAPHICSRESETSTATUSARBPROC __glewGetGraphicsResetStatusARB = NULL; -PFNGLGETNCOLORTABLEARBPROC __glewGetnColorTableARB = NULL; -PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC __glewGetnCompressedTexImageARB = NULL; -PFNGLGETNCONVOLUTIONFILTERARBPROC __glewGetnConvolutionFilterARB = NULL; -PFNGLGETNHISTOGRAMARBPROC __glewGetnHistogramARB = NULL; -PFNGLGETNMAPDVARBPROC __glewGetnMapdvARB = NULL; -PFNGLGETNMAPFVARBPROC __glewGetnMapfvARB = NULL; -PFNGLGETNMAPIVARBPROC __glewGetnMapivARB = NULL; -PFNGLGETNMINMAXARBPROC __glewGetnMinmaxARB = NULL; -PFNGLGETNPIXELMAPFVARBPROC __glewGetnPixelMapfvARB = NULL; -PFNGLGETNPIXELMAPUIVARBPROC __glewGetnPixelMapuivARB = NULL; -PFNGLGETNPIXELMAPUSVARBPROC __glewGetnPixelMapusvARB = NULL; -PFNGLGETNPOLYGONSTIPPLEARBPROC __glewGetnPolygonStippleARB = NULL; -PFNGLGETNSEPARABLEFILTERARBPROC __glewGetnSeparableFilterARB = NULL; -PFNGLGETNTEXIMAGEARBPROC __glewGetnTexImageARB = NULL; -PFNGLGETNUNIFORMDVARBPROC __glewGetnUniformdvARB = NULL; -PFNGLGETNUNIFORMFVARBPROC __glewGetnUniformfvARB = NULL; -PFNGLGETNUNIFORMIVARBPROC __glewGetnUniformivARB = NULL; -PFNGLGETNUNIFORMUIVARBPROC __glewGetnUniformuivARB = NULL; -PFNGLREADNPIXELSARBPROC __glewReadnPixelsARB = NULL; - -PFNGLMINSAMPLESHADINGARBPROC __glewMinSampleShadingARB = NULL; - -PFNGLBINDSAMPLERPROC __glewBindSampler = NULL; -PFNGLDELETESAMPLERSPROC __glewDeleteSamplers = NULL; -PFNGLGENSAMPLERSPROC __glewGenSamplers = NULL; -PFNGLGETSAMPLERPARAMETERIIVPROC __glewGetSamplerParameterIiv = NULL; -PFNGLGETSAMPLERPARAMETERIUIVPROC __glewGetSamplerParameterIuiv = NULL; -PFNGLGETSAMPLERPARAMETERFVPROC __glewGetSamplerParameterfv = NULL; -PFNGLGETSAMPLERPARAMETERIVPROC __glewGetSamplerParameteriv = NULL; -PFNGLISSAMPLERPROC __glewIsSampler = NULL; -PFNGLSAMPLERPARAMETERIIVPROC __glewSamplerParameterIiv = NULL; -PFNGLSAMPLERPARAMETERIUIVPROC __glewSamplerParameterIuiv = NULL; -PFNGLSAMPLERPARAMETERFPROC __glewSamplerParameterf = NULL; -PFNGLSAMPLERPARAMETERFVPROC __glewSamplerParameterfv = NULL; -PFNGLSAMPLERPARAMETERIPROC __glewSamplerParameteri = NULL; -PFNGLSAMPLERPARAMETERIVPROC __glewSamplerParameteriv = NULL; - -PFNGLACTIVESHADERPROGRAMPROC __glewActiveShaderProgram = NULL; -PFNGLBINDPROGRAMPIPELINEPROC __glewBindProgramPipeline = NULL; -PFNGLCREATESHADERPROGRAMVPROC __glewCreateShaderProgramv = NULL; -PFNGLDELETEPROGRAMPIPELINESPROC __glewDeleteProgramPipelines = NULL; -PFNGLGENPROGRAMPIPELINESPROC __glewGenProgramPipelines = NULL; -PFNGLGETPROGRAMPIPELINEINFOLOGPROC __glewGetProgramPipelineInfoLog = NULL; -PFNGLGETPROGRAMPIPELINEIVPROC __glewGetProgramPipelineiv = NULL; -PFNGLISPROGRAMPIPELINEPROC __glewIsProgramPipeline = NULL; -PFNGLPROGRAMUNIFORM1DPROC __glewProgramUniform1d = NULL; -PFNGLPROGRAMUNIFORM1DVPROC __glewProgramUniform1dv = NULL; -PFNGLPROGRAMUNIFORM1FPROC __glewProgramUniform1f = NULL; -PFNGLPROGRAMUNIFORM1FVPROC __glewProgramUniform1fv = NULL; -PFNGLPROGRAMUNIFORM1IPROC __glewProgramUniform1i = NULL; -PFNGLPROGRAMUNIFORM1IVPROC __glewProgramUniform1iv = NULL; -PFNGLPROGRAMUNIFORM1UIPROC __glewProgramUniform1ui = NULL; -PFNGLPROGRAMUNIFORM1UIVPROC __glewProgramUniform1uiv = NULL; -PFNGLPROGRAMUNIFORM2DPROC __glewProgramUniform2d = NULL; -PFNGLPROGRAMUNIFORM2DVPROC __glewProgramUniform2dv = NULL; -PFNGLPROGRAMUNIFORM2FPROC __glewProgramUniform2f = NULL; -PFNGLPROGRAMUNIFORM2FVPROC __glewProgramUniform2fv = NULL; -PFNGLPROGRAMUNIFORM2IPROC __glewProgramUniform2i = NULL; -PFNGLPROGRAMUNIFORM2IVPROC __glewProgramUniform2iv = NULL; -PFNGLPROGRAMUNIFORM2UIPROC __glewProgramUniform2ui = NULL; -PFNGLPROGRAMUNIFORM2UIVPROC __glewProgramUniform2uiv = NULL; -PFNGLPROGRAMUNIFORM3DPROC __glewProgramUniform3d = NULL; -PFNGLPROGRAMUNIFORM3DVPROC __glewProgramUniform3dv = NULL; -PFNGLPROGRAMUNIFORM3FPROC __glewProgramUniform3f = NULL; -PFNGLPROGRAMUNIFORM3FVPROC __glewProgramUniform3fv = NULL; -PFNGLPROGRAMUNIFORM3IPROC __glewProgramUniform3i = NULL; -PFNGLPROGRAMUNIFORM3IVPROC __glewProgramUniform3iv = NULL; -PFNGLPROGRAMUNIFORM3UIPROC __glewProgramUniform3ui = NULL; -PFNGLPROGRAMUNIFORM3UIVPROC __glewProgramUniform3uiv = NULL; -PFNGLPROGRAMUNIFORM4DPROC __glewProgramUniform4d = NULL; -PFNGLPROGRAMUNIFORM4DVPROC __glewProgramUniform4dv = NULL; -PFNGLPROGRAMUNIFORM4FPROC __glewProgramUniform4f = NULL; -PFNGLPROGRAMUNIFORM4FVPROC __glewProgramUniform4fv = NULL; -PFNGLPROGRAMUNIFORM4IPROC __glewProgramUniform4i = NULL; -PFNGLPROGRAMUNIFORM4IVPROC __glewProgramUniform4iv = NULL; -PFNGLPROGRAMUNIFORM4UIPROC __glewProgramUniform4ui = NULL; -PFNGLPROGRAMUNIFORM4UIVPROC __glewProgramUniform4uiv = NULL; -PFNGLPROGRAMUNIFORMMATRIX2DVPROC __glewProgramUniformMatrix2dv = NULL; -PFNGLPROGRAMUNIFORMMATRIX2FVPROC __glewProgramUniformMatrix2fv = NULL; -PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC __glewProgramUniformMatrix2x3dv = NULL; -PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC __glewProgramUniformMatrix2x3fv = NULL; -PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC __glewProgramUniformMatrix2x4dv = NULL; -PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC __glewProgramUniformMatrix2x4fv = NULL; -PFNGLPROGRAMUNIFORMMATRIX3DVPROC __glewProgramUniformMatrix3dv = NULL; -PFNGLPROGRAMUNIFORMMATRIX3FVPROC __glewProgramUniformMatrix3fv = NULL; -PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC __glewProgramUniformMatrix3x2dv = NULL; -PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC __glewProgramUniformMatrix3x2fv = NULL; -PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC __glewProgramUniformMatrix3x4dv = NULL; -PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC __glewProgramUniformMatrix3x4fv = NULL; -PFNGLPROGRAMUNIFORMMATRIX4DVPROC __glewProgramUniformMatrix4dv = NULL; -PFNGLPROGRAMUNIFORMMATRIX4FVPROC __glewProgramUniformMatrix4fv = NULL; -PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC __glewProgramUniformMatrix4x2dv = NULL; -PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC __glewProgramUniformMatrix4x2fv = NULL; -PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC __glewProgramUniformMatrix4x3dv = NULL; -PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC __glewProgramUniformMatrix4x3fv = NULL; -PFNGLUSEPROGRAMSTAGESPROC __glewUseProgramStages = NULL; -PFNGLVALIDATEPROGRAMPIPELINEPROC __glewValidateProgramPipeline = NULL; - -PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC __glewGetActiveAtomicCounterBufferiv = NULL; - -PFNGLBINDIMAGETEXTUREPROC __glewBindImageTexture = NULL; -PFNGLMEMORYBARRIERPROC __glewMemoryBarrier = NULL; - -PFNGLATTACHOBJECTARBPROC __glewAttachObjectARB = NULL; -PFNGLCOMPILESHADERARBPROC __glewCompileShaderARB = NULL; -PFNGLCREATEPROGRAMOBJECTARBPROC __glewCreateProgramObjectARB = NULL; -PFNGLCREATESHADEROBJECTARBPROC __glewCreateShaderObjectARB = NULL; -PFNGLDELETEOBJECTARBPROC __glewDeleteObjectARB = NULL; -PFNGLDETACHOBJECTARBPROC __glewDetachObjectARB = NULL; -PFNGLGETACTIVEUNIFORMARBPROC __glewGetActiveUniformARB = NULL; -PFNGLGETATTACHEDOBJECTSARBPROC __glewGetAttachedObjectsARB = NULL; -PFNGLGETHANDLEARBPROC __glewGetHandleARB = NULL; -PFNGLGETINFOLOGARBPROC __glewGetInfoLogARB = NULL; -PFNGLGETOBJECTPARAMETERFVARBPROC __glewGetObjectParameterfvARB = NULL; -PFNGLGETOBJECTPARAMETERIVARBPROC __glewGetObjectParameterivARB = NULL; -PFNGLGETSHADERSOURCEARBPROC __glewGetShaderSourceARB = NULL; -PFNGLGETUNIFORMLOCATIONARBPROC __glewGetUniformLocationARB = NULL; -PFNGLGETUNIFORMFVARBPROC __glewGetUniformfvARB = NULL; -PFNGLGETUNIFORMIVARBPROC __glewGetUniformivARB = NULL; -PFNGLLINKPROGRAMARBPROC __glewLinkProgramARB = NULL; -PFNGLSHADERSOURCEARBPROC __glewShaderSourceARB = NULL; -PFNGLUNIFORM1FARBPROC __glewUniform1fARB = NULL; -PFNGLUNIFORM1FVARBPROC __glewUniform1fvARB = NULL; -PFNGLUNIFORM1IARBPROC __glewUniform1iARB = NULL; -PFNGLUNIFORM1IVARBPROC __glewUniform1ivARB = NULL; -PFNGLUNIFORM2FARBPROC __glewUniform2fARB = NULL; -PFNGLUNIFORM2FVARBPROC __glewUniform2fvARB = NULL; -PFNGLUNIFORM2IARBPROC __glewUniform2iARB = NULL; -PFNGLUNIFORM2IVARBPROC __glewUniform2ivARB = NULL; -PFNGLUNIFORM3FARBPROC __glewUniform3fARB = NULL; -PFNGLUNIFORM3FVARBPROC __glewUniform3fvARB = NULL; -PFNGLUNIFORM3IARBPROC __glewUniform3iARB = NULL; -PFNGLUNIFORM3IVARBPROC __glewUniform3ivARB = NULL; -PFNGLUNIFORM4FARBPROC __glewUniform4fARB = NULL; -PFNGLUNIFORM4FVARBPROC __glewUniform4fvARB = NULL; -PFNGLUNIFORM4IARBPROC __glewUniform4iARB = NULL; -PFNGLUNIFORM4IVARBPROC __glewUniform4ivARB = NULL; -PFNGLUNIFORMMATRIX2FVARBPROC __glewUniformMatrix2fvARB = NULL; -PFNGLUNIFORMMATRIX3FVARBPROC __glewUniformMatrix3fvARB = NULL; -PFNGLUNIFORMMATRIX4FVARBPROC __glewUniformMatrix4fvARB = NULL; -PFNGLUSEPROGRAMOBJECTARBPROC __glewUseProgramObjectARB = NULL; -PFNGLVALIDATEPROGRAMARBPROC __glewValidateProgramARB = NULL; - -PFNGLSHADERSTORAGEBLOCKBINDINGPROC __glewShaderStorageBlockBinding = NULL; - -PFNGLGETACTIVESUBROUTINENAMEPROC __glewGetActiveSubroutineName = NULL; -PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC __glewGetActiveSubroutineUniformName = NULL; -PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC __glewGetActiveSubroutineUniformiv = NULL; -PFNGLGETPROGRAMSTAGEIVPROC __glewGetProgramStageiv = NULL; -PFNGLGETSUBROUTINEINDEXPROC __glewGetSubroutineIndex = NULL; -PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC __glewGetSubroutineUniformLocation = NULL; -PFNGLGETUNIFORMSUBROUTINEUIVPROC __glewGetUniformSubroutineuiv = NULL; -PFNGLUNIFORMSUBROUTINESUIVPROC __glewUniformSubroutinesuiv = NULL; - -PFNGLCOMPILESHADERINCLUDEARBPROC __glewCompileShaderIncludeARB = NULL; -PFNGLDELETENAMEDSTRINGARBPROC __glewDeleteNamedStringARB = NULL; -PFNGLGETNAMEDSTRINGARBPROC __glewGetNamedStringARB = NULL; -PFNGLGETNAMEDSTRINGIVARBPROC __glewGetNamedStringivARB = NULL; -PFNGLISNAMEDSTRINGARBPROC __glewIsNamedStringARB = NULL; -PFNGLNAMEDSTRINGARBPROC __glewNamedStringARB = NULL; - -PFNGLCLIENTWAITSYNCPROC __glewClientWaitSync = NULL; -PFNGLDELETESYNCPROC __glewDeleteSync = NULL; -PFNGLFENCESYNCPROC __glewFenceSync = NULL; -PFNGLGETINTEGER64VPROC __glewGetInteger64v = NULL; -PFNGLGETSYNCIVPROC __glewGetSynciv = NULL; -PFNGLISSYNCPROC __glewIsSync = NULL; -PFNGLWAITSYNCPROC __glewWaitSync = NULL; - -PFNGLPATCHPARAMETERFVPROC __glewPatchParameterfv = NULL; -PFNGLPATCHPARAMETERIPROC __glewPatchParameteri = NULL; - -PFNGLTEXBUFFERARBPROC __glewTexBufferARB = NULL; - -PFNGLTEXBUFFERRANGEPROC __glewTexBufferRange = NULL; -PFNGLTEXTUREBUFFERRANGEEXTPROC __glewTextureBufferRangeEXT = NULL; - -PFNGLCOMPRESSEDTEXIMAGE1DARBPROC __glewCompressedTexImage1DARB = NULL; -PFNGLCOMPRESSEDTEXIMAGE2DARBPROC __glewCompressedTexImage2DARB = NULL; -PFNGLCOMPRESSEDTEXIMAGE3DARBPROC __glewCompressedTexImage3DARB = NULL; -PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC __glewCompressedTexSubImage1DARB = NULL; -PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC __glewCompressedTexSubImage2DARB = NULL; -PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC __glewCompressedTexSubImage3DARB = NULL; -PFNGLGETCOMPRESSEDTEXIMAGEARBPROC __glewGetCompressedTexImageARB = NULL; - -PFNGLGETMULTISAMPLEFVPROC __glewGetMultisamplefv = NULL; -PFNGLSAMPLEMASKIPROC __glewSampleMaski = NULL; -PFNGLTEXIMAGE2DMULTISAMPLEPROC __glewTexImage2DMultisample = NULL; -PFNGLTEXIMAGE3DMULTISAMPLEPROC __glewTexImage3DMultisample = NULL; - -PFNGLTEXSTORAGE1DPROC __glewTexStorage1D = NULL; -PFNGLTEXSTORAGE2DPROC __glewTexStorage2D = NULL; -PFNGLTEXSTORAGE3DPROC __glewTexStorage3D = NULL; -PFNGLTEXTURESTORAGE1DEXTPROC __glewTextureStorage1DEXT = NULL; -PFNGLTEXTURESTORAGE2DEXTPROC __glewTextureStorage2DEXT = NULL; -PFNGLTEXTURESTORAGE3DEXTPROC __glewTextureStorage3DEXT = NULL; - -PFNGLTEXSTORAGE2DMULTISAMPLEPROC __glewTexStorage2DMultisample = NULL; -PFNGLTEXSTORAGE3DMULTISAMPLEPROC __glewTexStorage3DMultisample = NULL; -PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC __glewTextureStorage2DMultisampleEXT = NULL; -PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC __glewTextureStorage3DMultisampleEXT = NULL; - -PFNGLTEXTUREVIEWPROC __glewTextureView = NULL; - -PFNGLGETQUERYOBJECTI64VPROC __glewGetQueryObjecti64v = NULL; -PFNGLGETQUERYOBJECTUI64VPROC __glewGetQueryObjectui64v = NULL; -PFNGLQUERYCOUNTERPROC __glewQueryCounter = NULL; - -PFNGLBINDTRANSFORMFEEDBACKPROC __glewBindTransformFeedback = NULL; -PFNGLDELETETRANSFORMFEEDBACKSPROC __glewDeleteTransformFeedbacks = NULL; -PFNGLDRAWTRANSFORMFEEDBACKPROC __glewDrawTransformFeedback = NULL; -PFNGLGENTRANSFORMFEEDBACKSPROC __glewGenTransformFeedbacks = NULL; -PFNGLISTRANSFORMFEEDBACKPROC __glewIsTransformFeedback = NULL; -PFNGLPAUSETRANSFORMFEEDBACKPROC __glewPauseTransformFeedback = NULL; -PFNGLRESUMETRANSFORMFEEDBACKPROC __glewResumeTransformFeedback = NULL; - -PFNGLBEGINQUERYINDEXEDPROC __glewBeginQueryIndexed = NULL; -PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC __glewDrawTransformFeedbackStream = NULL; -PFNGLENDQUERYINDEXEDPROC __glewEndQueryIndexed = NULL; -PFNGLGETQUERYINDEXEDIVPROC __glewGetQueryIndexediv = NULL; - -PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC __glewDrawTransformFeedbackInstanced = NULL; -PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC __glewDrawTransformFeedbackStreamInstanced = NULL; - -PFNGLLOADTRANSPOSEMATRIXDARBPROC __glewLoadTransposeMatrixdARB = NULL; -PFNGLLOADTRANSPOSEMATRIXFARBPROC __glewLoadTransposeMatrixfARB = NULL; -PFNGLMULTTRANSPOSEMATRIXDARBPROC __glewMultTransposeMatrixdARB = NULL; -PFNGLMULTTRANSPOSEMATRIXFARBPROC __glewMultTransposeMatrixfARB = NULL; - -PFNGLBINDBUFFERBASEPROC __glewBindBufferBase = NULL; -PFNGLBINDBUFFERRANGEPROC __glewBindBufferRange = NULL; -PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC __glewGetActiveUniformBlockName = NULL; -PFNGLGETACTIVEUNIFORMBLOCKIVPROC __glewGetActiveUniformBlockiv = NULL; -PFNGLGETACTIVEUNIFORMNAMEPROC __glewGetActiveUniformName = NULL; -PFNGLGETACTIVEUNIFORMSIVPROC __glewGetActiveUniformsiv = NULL; -PFNGLGETINTEGERI_VPROC __glewGetIntegeri_v = NULL; -PFNGLGETUNIFORMBLOCKINDEXPROC __glewGetUniformBlockIndex = NULL; -PFNGLGETUNIFORMINDICESPROC __glewGetUniformIndices = NULL; -PFNGLUNIFORMBLOCKBINDINGPROC __glewUniformBlockBinding = NULL; - -PFNGLBINDVERTEXARRAYPROC __glewBindVertexArray = NULL; -PFNGLDELETEVERTEXARRAYSPROC __glewDeleteVertexArrays = NULL; -PFNGLGENVERTEXARRAYSPROC __glewGenVertexArrays = NULL; -PFNGLISVERTEXARRAYPROC __glewIsVertexArray = NULL; - -PFNGLGETVERTEXATTRIBLDVPROC __glewGetVertexAttribLdv = NULL; -PFNGLVERTEXATTRIBL1DPROC __glewVertexAttribL1d = NULL; -PFNGLVERTEXATTRIBL1DVPROC __glewVertexAttribL1dv = NULL; -PFNGLVERTEXATTRIBL2DPROC __glewVertexAttribL2d = NULL; -PFNGLVERTEXATTRIBL2DVPROC __glewVertexAttribL2dv = NULL; -PFNGLVERTEXATTRIBL3DPROC __glewVertexAttribL3d = NULL; -PFNGLVERTEXATTRIBL3DVPROC __glewVertexAttribL3dv = NULL; -PFNGLVERTEXATTRIBL4DPROC __glewVertexAttribL4d = NULL; -PFNGLVERTEXATTRIBL4DVPROC __glewVertexAttribL4dv = NULL; -PFNGLVERTEXATTRIBLPOINTERPROC __glewVertexAttribLPointer = NULL; - -PFNGLBINDVERTEXBUFFERPROC __glewBindVertexBuffer = NULL; -PFNGLVERTEXATTRIBBINDINGPROC __glewVertexAttribBinding = NULL; -PFNGLVERTEXATTRIBFORMATPROC __glewVertexAttribFormat = NULL; -PFNGLVERTEXATTRIBIFORMATPROC __glewVertexAttribIFormat = NULL; -PFNGLVERTEXATTRIBLFORMATPROC __glewVertexAttribLFormat = NULL; -PFNGLVERTEXBINDINGDIVISORPROC __glewVertexBindingDivisor = NULL; - -PFNGLVERTEXBLENDARBPROC __glewVertexBlendARB = NULL; -PFNGLWEIGHTPOINTERARBPROC __glewWeightPointerARB = NULL; -PFNGLWEIGHTBVARBPROC __glewWeightbvARB = NULL; -PFNGLWEIGHTDVARBPROC __glewWeightdvARB = NULL; -PFNGLWEIGHTFVARBPROC __glewWeightfvARB = NULL; -PFNGLWEIGHTIVARBPROC __glewWeightivARB = NULL; -PFNGLWEIGHTSVARBPROC __glewWeightsvARB = NULL; -PFNGLWEIGHTUBVARBPROC __glewWeightubvARB = NULL; -PFNGLWEIGHTUIVARBPROC __glewWeightuivARB = NULL; -PFNGLWEIGHTUSVARBPROC __glewWeightusvARB = NULL; - -PFNGLBINDBUFFERARBPROC __glewBindBufferARB = NULL; -PFNGLBUFFERDATAARBPROC __glewBufferDataARB = NULL; -PFNGLBUFFERSUBDATAARBPROC __glewBufferSubDataARB = NULL; -PFNGLDELETEBUFFERSARBPROC __glewDeleteBuffersARB = NULL; -PFNGLGENBUFFERSARBPROC __glewGenBuffersARB = NULL; -PFNGLGETBUFFERPARAMETERIVARBPROC __glewGetBufferParameterivARB = NULL; -PFNGLGETBUFFERPOINTERVARBPROC __glewGetBufferPointervARB = NULL; -PFNGLGETBUFFERSUBDATAARBPROC __glewGetBufferSubDataARB = NULL; -PFNGLISBUFFERARBPROC __glewIsBufferARB = NULL; -PFNGLMAPBUFFERARBPROC __glewMapBufferARB = NULL; -PFNGLUNMAPBUFFERARBPROC __glewUnmapBufferARB = NULL; - -PFNGLBINDPROGRAMARBPROC __glewBindProgramARB = NULL; -PFNGLDELETEPROGRAMSARBPROC __glewDeleteProgramsARB = NULL; -PFNGLDISABLEVERTEXATTRIBARRAYARBPROC __glewDisableVertexAttribArrayARB = NULL; -PFNGLENABLEVERTEXATTRIBARRAYARBPROC __glewEnableVertexAttribArrayARB = NULL; -PFNGLGENPROGRAMSARBPROC __glewGenProgramsARB = NULL; -PFNGLGETPROGRAMENVPARAMETERDVARBPROC __glewGetProgramEnvParameterdvARB = NULL; -PFNGLGETPROGRAMENVPARAMETERFVARBPROC __glewGetProgramEnvParameterfvARB = NULL; -PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC __glewGetProgramLocalParameterdvARB = NULL; -PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC __glewGetProgramLocalParameterfvARB = NULL; -PFNGLGETPROGRAMSTRINGARBPROC __glewGetProgramStringARB = NULL; -PFNGLGETPROGRAMIVARBPROC __glewGetProgramivARB = NULL; -PFNGLGETVERTEXATTRIBPOINTERVARBPROC __glewGetVertexAttribPointervARB = NULL; -PFNGLGETVERTEXATTRIBDVARBPROC __glewGetVertexAttribdvARB = NULL; -PFNGLGETVERTEXATTRIBFVARBPROC __glewGetVertexAttribfvARB = NULL; -PFNGLGETVERTEXATTRIBIVARBPROC __glewGetVertexAttribivARB = NULL; -PFNGLISPROGRAMARBPROC __glewIsProgramARB = NULL; -PFNGLPROGRAMENVPARAMETER4DARBPROC __glewProgramEnvParameter4dARB = NULL; -PFNGLPROGRAMENVPARAMETER4DVARBPROC __glewProgramEnvParameter4dvARB = NULL; -PFNGLPROGRAMENVPARAMETER4FARBPROC __glewProgramEnvParameter4fARB = NULL; -PFNGLPROGRAMENVPARAMETER4FVARBPROC __glewProgramEnvParameter4fvARB = NULL; -PFNGLPROGRAMLOCALPARAMETER4DARBPROC __glewProgramLocalParameter4dARB = NULL; -PFNGLPROGRAMLOCALPARAMETER4DVARBPROC __glewProgramLocalParameter4dvARB = NULL; -PFNGLPROGRAMLOCALPARAMETER4FARBPROC __glewProgramLocalParameter4fARB = NULL; -PFNGLPROGRAMLOCALPARAMETER4FVARBPROC __glewProgramLocalParameter4fvARB = NULL; -PFNGLPROGRAMSTRINGARBPROC __glewProgramStringARB = NULL; -PFNGLVERTEXATTRIB1DARBPROC __glewVertexAttrib1dARB = NULL; -PFNGLVERTEXATTRIB1DVARBPROC __glewVertexAttrib1dvARB = NULL; -PFNGLVERTEXATTRIB1FARBPROC __glewVertexAttrib1fARB = NULL; -PFNGLVERTEXATTRIB1FVARBPROC __glewVertexAttrib1fvARB = NULL; -PFNGLVERTEXATTRIB1SARBPROC __glewVertexAttrib1sARB = NULL; -PFNGLVERTEXATTRIB1SVARBPROC __glewVertexAttrib1svARB = NULL; -PFNGLVERTEXATTRIB2DARBPROC __glewVertexAttrib2dARB = NULL; -PFNGLVERTEXATTRIB2DVARBPROC __glewVertexAttrib2dvARB = NULL; -PFNGLVERTEXATTRIB2FARBPROC __glewVertexAttrib2fARB = NULL; -PFNGLVERTEXATTRIB2FVARBPROC __glewVertexAttrib2fvARB = NULL; -PFNGLVERTEXATTRIB2SARBPROC __glewVertexAttrib2sARB = NULL; -PFNGLVERTEXATTRIB2SVARBPROC __glewVertexAttrib2svARB = NULL; -PFNGLVERTEXATTRIB3DARBPROC __glewVertexAttrib3dARB = NULL; -PFNGLVERTEXATTRIB3DVARBPROC __glewVertexAttrib3dvARB = NULL; -PFNGLVERTEXATTRIB3FARBPROC __glewVertexAttrib3fARB = NULL; -PFNGLVERTEXATTRIB3FVARBPROC __glewVertexAttrib3fvARB = NULL; -PFNGLVERTEXATTRIB3SARBPROC __glewVertexAttrib3sARB = NULL; -PFNGLVERTEXATTRIB3SVARBPROC __glewVertexAttrib3svARB = NULL; -PFNGLVERTEXATTRIB4NBVARBPROC __glewVertexAttrib4NbvARB = NULL; -PFNGLVERTEXATTRIB4NIVARBPROC __glewVertexAttrib4NivARB = NULL; -PFNGLVERTEXATTRIB4NSVARBPROC __glewVertexAttrib4NsvARB = NULL; -PFNGLVERTEXATTRIB4NUBARBPROC __glewVertexAttrib4NubARB = NULL; -PFNGLVERTEXATTRIB4NUBVARBPROC __glewVertexAttrib4NubvARB = NULL; -PFNGLVERTEXATTRIB4NUIVARBPROC __glewVertexAttrib4NuivARB = NULL; -PFNGLVERTEXATTRIB4NUSVARBPROC __glewVertexAttrib4NusvARB = NULL; -PFNGLVERTEXATTRIB4BVARBPROC __glewVertexAttrib4bvARB = NULL; -PFNGLVERTEXATTRIB4DARBPROC __glewVertexAttrib4dARB = NULL; -PFNGLVERTEXATTRIB4DVARBPROC __glewVertexAttrib4dvARB = NULL; -PFNGLVERTEXATTRIB4FARBPROC __glewVertexAttrib4fARB = NULL; -PFNGLVERTEXATTRIB4FVARBPROC __glewVertexAttrib4fvARB = NULL; -PFNGLVERTEXATTRIB4IVARBPROC __glewVertexAttrib4ivARB = NULL; -PFNGLVERTEXATTRIB4SARBPROC __glewVertexAttrib4sARB = NULL; -PFNGLVERTEXATTRIB4SVARBPROC __glewVertexAttrib4svARB = NULL; -PFNGLVERTEXATTRIB4UBVARBPROC __glewVertexAttrib4ubvARB = NULL; -PFNGLVERTEXATTRIB4UIVARBPROC __glewVertexAttrib4uivARB = NULL; -PFNGLVERTEXATTRIB4USVARBPROC __glewVertexAttrib4usvARB = NULL; -PFNGLVERTEXATTRIBPOINTERARBPROC __glewVertexAttribPointerARB = NULL; - -PFNGLBINDATTRIBLOCATIONARBPROC __glewBindAttribLocationARB = NULL; -PFNGLGETACTIVEATTRIBARBPROC __glewGetActiveAttribARB = NULL; -PFNGLGETATTRIBLOCATIONARBPROC __glewGetAttribLocationARB = NULL; - -PFNGLCOLORP3UIPROC __glewColorP3ui = NULL; -PFNGLCOLORP3UIVPROC __glewColorP3uiv = NULL; -PFNGLCOLORP4UIPROC __glewColorP4ui = NULL; -PFNGLCOLORP4UIVPROC __glewColorP4uiv = NULL; -PFNGLMULTITEXCOORDP1UIPROC __glewMultiTexCoordP1ui = NULL; -PFNGLMULTITEXCOORDP1UIVPROC __glewMultiTexCoordP1uiv = NULL; -PFNGLMULTITEXCOORDP2UIPROC __glewMultiTexCoordP2ui = NULL; -PFNGLMULTITEXCOORDP2UIVPROC __glewMultiTexCoordP2uiv = NULL; -PFNGLMULTITEXCOORDP3UIPROC __glewMultiTexCoordP3ui = NULL; -PFNGLMULTITEXCOORDP3UIVPROC __glewMultiTexCoordP3uiv = NULL; -PFNGLMULTITEXCOORDP4UIPROC __glewMultiTexCoordP4ui = NULL; -PFNGLMULTITEXCOORDP4UIVPROC __glewMultiTexCoordP4uiv = NULL; -PFNGLNORMALP3UIPROC __glewNormalP3ui = NULL; -PFNGLNORMALP3UIVPROC __glewNormalP3uiv = NULL; -PFNGLSECONDARYCOLORP3UIPROC __glewSecondaryColorP3ui = NULL; -PFNGLSECONDARYCOLORP3UIVPROC __glewSecondaryColorP3uiv = NULL; -PFNGLTEXCOORDP1UIPROC __glewTexCoordP1ui = NULL; -PFNGLTEXCOORDP1UIVPROC __glewTexCoordP1uiv = NULL; -PFNGLTEXCOORDP2UIPROC __glewTexCoordP2ui = NULL; -PFNGLTEXCOORDP2UIVPROC __glewTexCoordP2uiv = NULL; -PFNGLTEXCOORDP3UIPROC __glewTexCoordP3ui = NULL; -PFNGLTEXCOORDP3UIVPROC __glewTexCoordP3uiv = NULL; -PFNGLTEXCOORDP4UIPROC __glewTexCoordP4ui = NULL; -PFNGLTEXCOORDP4UIVPROC __glewTexCoordP4uiv = NULL; -PFNGLVERTEXATTRIBP1UIPROC __glewVertexAttribP1ui = NULL; -PFNGLVERTEXATTRIBP1UIVPROC __glewVertexAttribP1uiv = NULL; -PFNGLVERTEXATTRIBP2UIPROC __glewVertexAttribP2ui = NULL; -PFNGLVERTEXATTRIBP2UIVPROC __glewVertexAttribP2uiv = NULL; -PFNGLVERTEXATTRIBP3UIPROC __glewVertexAttribP3ui = NULL; -PFNGLVERTEXATTRIBP3UIVPROC __glewVertexAttribP3uiv = NULL; -PFNGLVERTEXATTRIBP4UIPROC __glewVertexAttribP4ui = NULL; -PFNGLVERTEXATTRIBP4UIVPROC __glewVertexAttribP4uiv = NULL; -PFNGLVERTEXP2UIPROC __glewVertexP2ui = NULL; -PFNGLVERTEXP2UIVPROC __glewVertexP2uiv = NULL; -PFNGLVERTEXP3UIPROC __glewVertexP3ui = NULL; -PFNGLVERTEXP3UIVPROC __glewVertexP3uiv = NULL; -PFNGLVERTEXP4UIPROC __glewVertexP4ui = NULL; -PFNGLVERTEXP4UIVPROC __glewVertexP4uiv = NULL; - -PFNGLDEPTHRANGEARRAYVPROC __glewDepthRangeArrayv = NULL; -PFNGLDEPTHRANGEINDEXEDPROC __glewDepthRangeIndexed = NULL; -PFNGLGETDOUBLEI_VPROC __glewGetDoublei_v = NULL; -PFNGLGETFLOATI_VPROC __glewGetFloati_v = NULL; -PFNGLSCISSORARRAYVPROC __glewScissorArrayv = NULL; -PFNGLSCISSORINDEXEDPROC __glewScissorIndexed = NULL; -PFNGLSCISSORINDEXEDVPROC __glewScissorIndexedv = NULL; -PFNGLVIEWPORTARRAYVPROC __glewViewportArrayv = NULL; -PFNGLVIEWPORTINDEXEDFPROC __glewViewportIndexedf = NULL; -PFNGLVIEWPORTINDEXEDFVPROC __glewViewportIndexedfv = NULL; - -PFNGLWINDOWPOS2DARBPROC __glewWindowPos2dARB = NULL; -PFNGLWINDOWPOS2DVARBPROC __glewWindowPos2dvARB = NULL; -PFNGLWINDOWPOS2FARBPROC __glewWindowPos2fARB = NULL; -PFNGLWINDOWPOS2FVARBPROC __glewWindowPos2fvARB = NULL; -PFNGLWINDOWPOS2IARBPROC __glewWindowPos2iARB = NULL; -PFNGLWINDOWPOS2IVARBPROC __glewWindowPos2ivARB = NULL; -PFNGLWINDOWPOS2SARBPROC __glewWindowPos2sARB = NULL; -PFNGLWINDOWPOS2SVARBPROC __glewWindowPos2svARB = NULL; -PFNGLWINDOWPOS3DARBPROC __glewWindowPos3dARB = NULL; -PFNGLWINDOWPOS3DVARBPROC __glewWindowPos3dvARB = NULL; -PFNGLWINDOWPOS3FARBPROC __glewWindowPos3fARB = NULL; -PFNGLWINDOWPOS3FVARBPROC __glewWindowPos3fvARB = NULL; -PFNGLWINDOWPOS3IARBPROC __glewWindowPos3iARB = NULL; -PFNGLWINDOWPOS3IVARBPROC __glewWindowPos3ivARB = NULL; -PFNGLWINDOWPOS3SARBPROC __glewWindowPos3sARB = NULL; -PFNGLWINDOWPOS3SVARBPROC __glewWindowPos3svARB = NULL; - -PFNGLDRAWBUFFERSATIPROC __glewDrawBuffersATI = NULL; - -PFNGLDRAWELEMENTARRAYATIPROC __glewDrawElementArrayATI = NULL; -PFNGLDRAWRANGEELEMENTARRAYATIPROC __glewDrawRangeElementArrayATI = NULL; -PFNGLELEMENTPOINTERATIPROC __glewElementPointerATI = NULL; - -PFNGLGETTEXBUMPPARAMETERFVATIPROC __glewGetTexBumpParameterfvATI = NULL; -PFNGLGETTEXBUMPPARAMETERIVATIPROC __glewGetTexBumpParameterivATI = NULL; -PFNGLTEXBUMPPARAMETERFVATIPROC __glewTexBumpParameterfvATI = NULL; -PFNGLTEXBUMPPARAMETERIVATIPROC __glewTexBumpParameterivATI = NULL; - -PFNGLALPHAFRAGMENTOP1ATIPROC __glewAlphaFragmentOp1ATI = NULL; -PFNGLALPHAFRAGMENTOP2ATIPROC __glewAlphaFragmentOp2ATI = NULL; -PFNGLALPHAFRAGMENTOP3ATIPROC __glewAlphaFragmentOp3ATI = NULL; -PFNGLBEGINFRAGMENTSHADERATIPROC __glewBeginFragmentShaderATI = NULL; -PFNGLBINDFRAGMENTSHADERATIPROC __glewBindFragmentShaderATI = NULL; -PFNGLCOLORFRAGMENTOP1ATIPROC __glewColorFragmentOp1ATI = NULL; -PFNGLCOLORFRAGMENTOP2ATIPROC __glewColorFragmentOp2ATI = NULL; -PFNGLCOLORFRAGMENTOP3ATIPROC __glewColorFragmentOp3ATI = NULL; -PFNGLDELETEFRAGMENTSHADERATIPROC __glewDeleteFragmentShaderATI = NULL; -PFNGLENDFRAGMENTSHADERATIPROC __glewEndFragmentShaderATI = NULL; -PFNGLGENFRAGMENTSHADERSATIPROC __glewGenFragmentShadersATI = NULL; -PFNGLPASSTEXCOORDATIPROC __glewPassTexCoordATI = NULL; -PFNGLSAMPLEMAPATIPROC __glewSampleMapATI = NULL; -PFNGLSETFRAGMENTSHADERCONSTANTATIPROC __glewSetFragmentShaderConstantATI = NULL; - -PFNGLMAPOBJECTBUFFERATIPROC __glewMapObjectBufferATI = NULL; -PFNGLUNMAPOBJECTBUFFERATIPROC __glewUnmapObjectBufferATI = NULL; - -PFNGLPNTRIANGLESFATIPROC __glewPNTrianglesfATI = NULL; -PFNGLPNTRIANGLESIATIPROC __glewPNTrianglesiATI = NULL; - -PFNGLSTENCILFUNCSEPARATEATIPROC __glewStencilFuncSeparateATI = NULL; -PFNGLSTENCILOPSEPARATEATIPROC __glewStencilOpSeparateATI = NULL; - -PFNGLARRAYOBJECTATIPROC __glewArrayObjectATI = NULL; -PFNGLFREEOBJECTBUFFERATIPROC __glewFreeObjectBufferATI = NULL; -PFNGLGETARRAYOBJECTFVATIPROC __glewGetArrayObjectfvATI = NULL; -PFNGLGETARRAYOBJECTIVATIPROC __glewGetArrayObjectivATI = NULL; -PFNGLGETOBJECTBUFFERFVATIPROC __glewGetObjectBufferfvATI = NULL; -PFNGLGETOBJECTBUFFERIVATIPROC __glewGetObjectBufferivATI = NULL; -PFNGLGETVARIANTARRAYOBJECTFVATIPROC __glewGetVariantArrayObjectfvATI = NULL; -PFNGLGETVARIANTARRAYOBJECTIVATIPROC __glewGetVariantArrayObjectivATI = NULL; -PFNGLISOBJECTBUFFERATIPROC __glewIsObjectBufferATI = NULL; -PFNGLNEWOBJECTBUFFERATIPROC __glewNewObjectBufferATI = NULL; -PFNGLUPDATEOBJECTBUFFERATIPROC __glewUpdateObjectBufferATI = NULL; -PFNGLVARIANTARRAYOBJECTATIPROC __glewVariantArrayObjectATI = NULL; - -PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC __glewGetVertexAttribArrayObjectfvATI = NULL; -PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC __glewGetVertexAttribArrayObjectivATI = NULL; -PFNGLVERTEXATTRIBARRAYOBJECTATIPROC __glewVertexAttribArrayObjectATI = NULL; - -PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC __glewClientActiveVertexStreamATI = NULL; -PFNGLNORMALSTREAM3BATIPROC __glewNormalStream3bATI = NULL; -PFNGLNORMALSTREAM3BVATIPROC __glewNormalStream3bvATI = NULL; -PFNGLNORMALSTREAM3DATIPROC __glewNormalStream3dATI = NULL; -PFNGLNORMALSTREAM3DVATIPROC __glewNormalStream3dvATI = NULL; -PFNGLNORMALSTREAM3FATIPROC __glewNormalStream3fATI = NULL; -PFNGLNORMALSTREAM3FVATIPROC __glewNormalStream3fvATI = NULL; -PFNGLNORMALSTREAM3IATIPROC __glewNormalStream3iATI = NULL; -PFNGLNORMALSTREAM3IVATIPROC __glewNormalStream3ivATI = NULL; -PFNGLNORMALSTREAM3SATIPROC __glewNormalStream3sATI = NULL; -PFNGLNORMALSTREAM3SVATIPROC __glewNormalStream3svATI = NULL; -PFNGLVERTEXBLENDENVFATIPROC __glewVertexBlendEnvfATI = NULL; -PFNGLVERTEXBLENDENVIATIPROC __glewVertexBlendEnviATI = NULL; -PFNGLVERTEXSTREAM1DATIPROC __glewVertexStream1dATI = NULL; -PFNGLVERTEXSTREAM1DVATIPROC __glewVertexStream1dvATI = NULL; -PFNGLVERTEXSTREAM1FATIPROC __glewVertexStream1fATI = NULL; -PFNGLVERTEXSTREAM1FVATIPROC __glewVertexStream1fvATI = NULL; -PFNGLVERTEXSTREAM1IATIPROC __glewVertexStream1iATI = NULL; -PFNGLVERTEXSTREAM1IVATIPROC __glewVertexStream1ivATI = NULL; -PFNGLVERTEXSTREAM1SATIPROC __glewVertexStream1sATI = NULL; -PFNGLVERTEXSTREAM1SVATIPROC __glewVertexStream1svATI = NULL; -PFNGLVERTEXSTREAM2DATIPROC __glewVertexStream2dATI = NULL; -PFNGLVERTEXSTREAM2DVATIPROC __glewVertexStream2dvATI = NULL; -PFNGLVERTEXSTREAM2FATIPROC __glewVertexStream2fATI = NULL; -PFNGLVERTEXSTREAM2FVATIPROC __glewVertexStream2fvATI = NULL; -PFNGLVERTEXSTREAM2IATIPROC __glewVertexStream2iATI = NULL; -PFNGLVERTEXSTREAM2IVATIPROC __glewVertexStream2ivATI = NULL; -PFNGLVERTEXSTREAM2SATIPROC __glewVertexStream2sATI = NULL; -PFNGLVERTEXSTREAM2SVATIPROC __glewVertexStream2svATI = NULL; -PFNGLVERTEXSTREAM3DATIPROC __glewVertexStream3dATI = NULL; -PFNGLVERTEXSTREAM3DVATIPROC __glewVertexStream3dvATI = NULL; -PFNGLVERTEXSTREAM3FATIPROC __glewVertexStream3fATI = NULL; -PFNGLVERTEXSTREAM3FVATIPROC __glewVertexStream3fvATI = NULL; -PFNGLVERTEXSTREAM3IATIPROC __glewVertexStream3iATI = NULL; -PFNGLVERTEXSTREAM3IVATIPROC __glewVertexStream3ivATI = NULL; -PFNGLVERTEXSTREAM3SATIPROC __glewVertexStream3sATI = NULL; -PFNGLVERTEXSTREAM3SVATIPROC __glewVertexStream3svATI = NULL; -PFNGLVERTEXSTREAM4DATIPROC __glewVertexStream4dATI = NULL; -PFNGLVERTEXSTREAM4DVATIPROC __glewVertexStream4dvATI = NULL; -PFNGLVERTEXSTREAM4FATIPROC __glewVertexStream4fATI = NULL; -PFNGLVERTEXSTREAM4FVATIPROC __glewVertexStream4fvATI = NULL; -PFNGLVERTEXSTREAM4IATIPROC __glewVertexStream4iATI = NULL; -PFNGLVERTEXSTREAM4IVATIPROC __glewVertexStream4ivATI = NULL; -PFNGLVERTEXSTREAM4SATIPROC __glewVertexStream4sATI = NULL; -PFNGLVERTEXSTREAM4SVATIPROC __glewVertexStream4svATI = NULL; - -PFNGLGETUNIFORMBUFFERSIZEEXTPROC __glewGetUniformBufferSizeEXT = NULL; -PFNGLGETUNIFORMOFFSETEXTPROC __glewGetUniformOffsetEXT = NULL; -PFNGLUNIFORMBUFFEREXTPROC __glewUniformBufferEXT = NULL; - -PFNGLBLENDCOLOREXTPROC __glewBlendColorEXT = NULL; - -PFNGLBLENDEQUATIONSEPARATEEXTPROC __glewBlendEquationSeparateEXT = NULL; - -PFNGLBLENDFUNCSEPARATEEXTPROC __glewBlendFuncSeparateEXT = NULL; - -PFNGLBLENDEQUATIONEXTPROC __glewBlendEquationEXT = NULL; - -PFNGLCOLORSUBTABLEEXTPROC __glewColorSubTableEXT = NULL; -PFNGLCOPYCOLORSUBTABLEEXTPROC __glewCopyColorSubTableEXT = NULL; - -PFNGLLOCKARRAYSEXTPROC __glewLockArraysEXT = NULL; -PFNGLUNLOCKARRAYSEXTPROC __glewUnlockArraysEXT = NULL; - -PFNGLCONVOLUTIONFILTER1DEXTPROC __glewConvolutionFilter1DEXT = NULL; -PFNGLCONVOLUTIONFILTER2DEXTPROC __glewConvolutionFilter2DEXT = NULL; -PFNGLCONVOLUTIONPARAMETERFEXTPROC __glewConvolutionParameterfEXT = NULL; -PFNGLCONVOLUTIONPARAMETERFVEXTPROC __glewConvolutionParameterfvEXT = NULL; -PFNGLCONVOLUTIONPARAMETERIEXTPROC __glewConvolutionParameteriEXT = NULL; -PFNGLCONVOLUTIONPARAMETERIVEXTPROC __glewConvolutionParameterivEXT = NULL; -PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC __glewCopyConvolutionFilter1DEXT = NULL; -PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC __glewCopyConvolutionFilter2DEXT = NULL; -PFNGLGETCONVOLUTIONFILTEREXTPROC __glewGetConvolutionFilterEXT = NULL; -PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC __glewGetConvolutionParameterfvEXT = NULL; -PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC __glewGetConvolutionParameterivEXT = NULL; -PFNGLGETSEPARABLEFILTEREXTPROC __glewGetSeparableFilterEXT = NULL; -PFNGLSEPARABLEFILTER2DEXTPROC __glewSeparableFilter2DEXT = NULL; - -PFNGLBINORMALPOINTEREXTPROC __glewBinormalPointerEXT = NULL; -PFNGLTANGENTPOINTEREXTPROC __glewTangentPointerEXT = NULL; - -PFNGLCOPYTEXIMAGE1DEXTPROC __glewCopyTexImage1DEXT = NULL; -PFNGLCOPYTEXIMAGE2DEXTPROC __glewCopyTexImage2DEXT = NULL; -PFNGLCOPYTEXSUBIMAGE1DEXTPROC __glewCopyTexSubImage1DEXT = NULL; -PFNGLCOPYTEXSUBIMAGE2DEXTPROC __glewCopyTexSubImage2DEXT = NULL; -PFNGLCOPYTEXSUBIMAGE3DEXTPROC __glewCopyTexSubImage3DEXT = NULL; - -PFNGLCULLPARAMETERDVEXTPROC __glewCullParameterdvEXT = NULL; -PFNGLCULLPARAMETERFVEXTPROC __glewCullParameterfvEXT = NULL; - -PFNGLINSERTEVENTMARKEREXTPROC __glewInsertEventMarkerEXT = NULL; -PFNGLPOPGROUPMARKEREXTPROC __glewPopGroupMarkerEXT = NULL; -PFNGLPUSHGROUPMARKEREXTPROC __glewPushGroupMarkerEXT = NULL; - -PFNGLDEPTHBOUNDSEXTPROC __glewDepthBoundsEXT = NULL; - -PFNGLBINDMULTITEXTUREEXTPROC __glewBindMultiTextureEXT = NULL; -PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC __glewCheckNamedFramebufferStatusEXT = NULL; -PFNGLCLIENTATTRIBDEFAULTEXTPROC __glewClientAttribDefaultEXT = NULL; -PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC __glewCompressedMultiTexImage1DEXT = NULL; -PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC __glewCompressedMultiTexImage2DEXT = NULL; -PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC __glewCompressedMultiTexImage3DEXT = NULL; -PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC __glewCompressedMultiTexSubImage1DEXT = NULL; -PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC __glewCompressedMultiTexSubImage2DEXT = NULL; -PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC __glewCompressedMultiTexSubImage3DEXT = NULL; -PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC __glewCompressedTextureImage1DEXT = NULL; -PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC __glewCompressedTextureImage2DEXT = NULL; -PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC __glewCompressedTextureImage3DEXT = NULL; -PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC __glewCompressedTextureSubImage1DEXT = NULL; -PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC __glewCompressedTextureSubImage2DEXT = NULL; -PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC __glewCompressedTextureSubImage3DEXT = NULL; -PFNGLCOPYMULTITEXIMAGE1DEXTPROC __glewCopyMultiTexImage1DEXT = NULL; -PFNGLCOPYMULTITEXIMAGE2DEXTPROC __glewCopyMultiTexImage2DEXT = NULL; -PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC __glewCopyMultiTexSubImage1DEXT = NULL; -PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC __glewCopyMultiTexSubImage2DEXT = NULL; -PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC __glewCopyMultiTexSubImage3DEXT = NULL; -PFNGLCOPYTEXTUREIMAGE1DEXTPROC __glewCopyTextureImage1DEXT = NULL; -PFNGLCOPYTEXTUREIMAGE2DEXTPROC __glewCopyTextureImage2DEXT = NULL; -PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC __glewCopyTextureSubImage1DEXT = NULL; -PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC __glewCopyTextureSubImage2DEXT = NULL; -PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC __glewCopyTextureSubImage3DEXT = NULL; -PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC __glewDisableClientStateIndexedEXT = NULL; -PFNGLDISABLECLIENTSTATEIEXTPROC __glewDisableClientStateiEXT = NULL; -PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC __glewDisableVertexArrayAttribEXT = NULL; -PFNGLDISABLEVERTEXARRAYEXTPROC __glewDisableVertexArrayEXT = NULL; -PFNGLENABLECLIENTSTATEINDEXEDEXTPROC __glewEnableClientStateIndexedEXT = NULL; -PFNGLENABLECLIENTSTATEIEXTPROC __glewEnableClientStateiEXT = NULL; -PFNGLENABLEVERTEXARRAYATTRIBEXTPROC __glewEnableVertexArrayAttribEXT = NULL; -PFNGLENABLEVERTEXARRAYEXTPROC __glewEnableVertexArrayEXT = NULL; -PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC __glewFlushMappedNamedBufferRangeEXT = NULL; -PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC __glewFramebufferDrawBufferEXT = NULL; -PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC __glewFramebufferDrawBuffersEXT = NULL; -PFNGLFRAMEBUFFERREADBUFFEREXTPROC __glewFramebufferReadBufferEXT = NULL; -PFNGLGENERATEMULTITEXMIPMAPEXTPROC __glewGenerateMultiTexMipmapEXT = NULL; -PFNGLGENERATETEXTUREMIPMAPEXTPROC __glewGenerateTextureMipmapEXT = NULL; -PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC __glewGetCompressedMultiTexImageEXT = NULL; -PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC __glewGetCompressedTextureImageEXT = NULL; -PFNGLGETDOUBLEINDEXEDVEXTPROC __glewGetDoubleIndexedvEXT = NULL; -PFNGLGETDOUBLEI_VEXTPROC __glewGetDoublei_vEXT = NULL; -PFNGLGETFLOATINDEXEDVEXTPROC __glewGetFloatIndexedvEXT = NULL; -PFNGLGETFLOATI_VEXTPROC __glewGetFloati_vEXT = NULL; -PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC __glewGetFramebufferParameterivEXT = NULL; -PFNGLGETMULTITEXENVFVEXTPROC __glewGetMultiTexEnvfvEXT = NULL; -PFNGLGETMULTITEXENVIVEXTPROC __glewGetMultiTexEnvivEXT = NULL; -PFNGLGETMULTITEXGENDVEXTPROC __glewGetMultiTexGendvEXT = NULL; -PFNGLGETMULTITEXGENFVEXTPROC __glewGetMultiTexGenfvEXT = NULL; -PFNGLGETMULTITEXGENIVEXTPROC __glewGetMultiTexGenivEXT = NULL; -PFNGLGETMULTITEXIMAGEEXTPROC __glewGetMultiTexImageEXT = NULL; -PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC __glewGetMultiTexLevelParameterfvEXT = NULL; -PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC __glewGetMultiTexLevelParameterivEXT = NULL; -PFNGLGETMULTITEXPARAMETERIIVEXTPROC __glewGetMultiTexParameterIivEXT = NULL; -PFNGLGETMULTITEXPARAMETERIUIVEXTPROC __glewGetMultiTexParameterIuivEXT = NULL; -PFNGLGETMULTITEXPARAMETERFVEXTPROC __glewGetMultiTexParameterfvEXT = NULL; -PFNGLGETMULTITEXPARAMETERIVEXTPROC __glewGetMultiTexParameterivEXT = NULL; -PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC __glewGetNamedBufferParameterivEXT = NULL; -PFNGLGETNAMEDBUFFERPOINTERVEXTPROC __glewGetNamedBufferPointervEXT = NULL; -PFNGLGETNAMEDBUFFERSUBDATAEXTPROC __glewGetNamedBufferSubDataEXT = NULL; -PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC __glewGetNamedFramebufferAttachmentParameterivEXT = NULL; -PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC __glewGetNamedProgramLocalParameterIivEXT = NULL; -PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC __glewGetNamedProgramLocalParameterIuivEXT = NULL; -PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC __glewGetNamedProgramLocalParameterdvEXT = NULL; -PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC __glewGetNamedProgramLocalParameterfvEXT = NULL; -PFNGLGETNAMEDPROGRAMSTRINGEXTPROC __glewGetNamedProgramStringEXT = NULL; -PFNGLGETNAMEDPROGRAMIVEXTPROC __glewGetNamedProgramivEXT = NULL; -PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC __glewGetNamedRenderbufferParameterivEXT = NULL; -PFNGLGETPOINTERINDEXEDVEXTPROC __glewGetPointerIndexedvEXT = NULL; -PFNGLGETPOINTERI_VEXTPROC __glewGetPointeri_vEXT = NULL; -PFNGLGETTEXTUREIMAGEEXTPROC __glewGetTextureImageEXT = NULL; -PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC __glewGetTextureLevelParameterfvEXT = NULL; -PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC __glewGetTextureLevelParameterivEXT = NULL; -PFNGLGETTEXTUREPARAMETERIIVEXTPROC __glewGetTextureParameterIivEXT = NULL; -PFNGLGETTEXTUREPARAMETERIUIVEXTPROC __glewGetTextureParameterIuivEXT = NULL; -PFNGLGETTEXTUREPARAMETERFVEXTPROC __glewGetTextureParameterfvEXT = NULL; -PFNGLGETTEXTUREPARAMETERIVEXTPROC __glewGetTextureParameterivEXT = NULL; -PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC __glewGetVertexArrayIntegeri_vEXT = NULL; -PFNGLGETVERTEXARRAYINTEGERVEXTPROC __glewGetVertexArrayIntegervEXT = NULL; -PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC __glewGetVertexArrayPointeri_vEXT = NULL; -PFNGLGETVERTEXARRAYPOINTERVEXTPROC __glewGetVertexArrayPointervEXT = NULL; -PFNGLMAPNAMEDBUFFEREXTPROC __glewMapNamedBufferEXT = NULL; -PFNGLMAPNAMEDBUFFERRANGEEXTPROC __glewMapNamedBufferRangeEXT = NULL; -PFNGLMATRIXFRUSTUMEXTPROC __glewMatrixFrustumEXT = NULL; -PFNGLMATRIXLOADIDENTITYEXTPROC __glewMatrixLoadIdentityEXT = NULL; -PFNGLMATRIXLOADTRANSPOSEDEXTPROC __glewMatrixLoadTransposedEXT = NULL; -PFNGLMATRIXLOADTRANSPOSEFEXTPROC __glewMatrixLoadTransposefEXT = NULL; -PFNGLMATRIXLOADDEXTPROC __glewMatrixLoaddEXT = NULL; -PFNGLMATRIXLOADFEXTPROC __glewMatrixLoadfEXT = NULL; -PFNGLMATRIXMULTTRANSPOSEDEXTPROC __glewMatrixMultTransposedEXT = NULL; -PFNGLMATRIXMULTTRANSPOSEFEXTPROC __glewMatrixMultTransposefEXT = NULL; -PFNGLMATRIXMULTDEXTPROC __glewMatrixMultdEXT = NULL; -PFNGLMATRIXMULTFEXTPROC __glewMatrixMultfEXT = NULL; -PFNGLMATRIXORTHOEXTPROC __glewMatrixOrthoEXT = NULL; -PFNGLMATRIXPOPEXTPROC __glewMatrixPopEXT = NULL; -PFNGLMATRIXPUSHEXTPROC __glewMatrixPushEXT = NULL; -PFNGLMATRIXROTATEDEXTPROC __glewMatrixRotatedEXT = NULL; -PFNGLMATRIXROTATEFEXTPROC __glewMatrixRotatefEXT = NULL; -PFNGLMATRIXSCALEDEXTPROC __glewMatrixScaledEXT = NULL; -PFNGLMATRIXSCALEFEXTPROC __glewMatrixScalefEXT = NULL; -PFNGLMATRIXTRANSLATEDEXTPROC __glewMatrixTranslatedEXT = NULL; -PFNGLMATRIXTRANSLATEFEXTPROC __glewMatrixTranslatefEXT = NULL; -PFNGLMULTITEXBUFFEREXTPROC __glewMultiTexBufferEXT = NULL; -PFNGLMULTITEXCOORDPOINTEREXTPROC __glewMultiTexCoordPointerEXT = NULL; -PFNGLMULTITEXENVFEXTPROC __glewMultiTexEnvfEXT = NULL; -PFNGLMULTITEXENVFVEXTPROC __glewMultiTexEnvfvEXT = NULL; -PFNGLMULTITEXENVIEXTPROC __glewMultiTexEnviEXT = NULL; -PFNGLMULTITEXENVIVEXTPROC __glewMultiTexEnvivEXT = NULL; -PFNGLMULTITEXGENDEXTPROC __glewMultiTexGendEXT = NULL; -PFNGLMULTITEXGENDVEXTPROC __glewMultiTexGendvEXT = NULL; -PFNGLMULTITEXGENFEXTPROC __glewMultiTexGenfEXT = NULL; -PFNGLMULTITEXGENFVEXTPROC __glewMultiTexGenfvEXT = NULL; -PFNGLMULTITEXGENIEXTPROC __glewMultiTexGeniEXT = NULL; -PFNGLMULTITEXGENIVEXTPROC __glewMultiTexGenivEXT = NULL; -PFNGLMULTITEXIMAGE1DEXTPROC __glewMultiTexImage1DEXT = NULL; -PFNGLMULTITEXIMAGE2DEXTPROC __glewMultiTexImage2DEXT = NULL; -PFNGLMULTITEXIMAGE3DEXTPROC __glewMultiTexImage3DEXT = NULL; -PFNGLMULTITEXPARAMETERIIVEXTPROC __glewMultiTexParameterIivEXT = NULL; -PFNGLMULTITEXPARAMETERIUIVEXTPROC __glewMultiTexParameterIuivEXT = NULL; -PFNGLMULTITEXPARAMETERFEXTPROC __glewMultiTexParameterfEXT = NULL; -PFNGLMULTITEXPARAMETERFVEXTPROC __glewMultiTexParameterfvEXT = NULL; -PFNGLMULTITEXPARAMETERIEXTPROC __glewMultiTexParameteriEXT = NULL; -PFNGLMULTITEXPARAMETERIVEXTPROC __glewMultiTexParameterivEXT = NULL; -PFNGLMULTITEXRENDERBUFFEREXTPROC __glewMultiTexRenderbufferEXT = NULL; -PFNGLMULTITEXSUBIMAGE1DEXTPROC __glewMultiTexSubImage1DEXT = NULL; -PFNGLMULTITEXSUBIMAGE2DEXTPROC __glewMultiTexSubImage2DEXT = NULL; -PFNGLMULTITEXSUBIMAGE3DEXTPROC __glewMultiTexSubImage3DEXT = NULL; -PFNGLNAMEDBUFFERDATAEXTPROC __glewNamedBufferDataEXT = NULL; -PFNGLNAMEDBUFFERSUBDATAEXTPROC __glewNamedBufferSubDataEXT = NULL; -PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC __glewNamedCopyBufferSubDataEXT = NULL; -PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC __glewNamedFramebufferRenderbufferEXT = NULL; -PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC __glewNamedFramebufferTexture1DEXT = NULL; -PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC __glewNamedFramebufferTexture2DEXT = NULL; -PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC __glewNamedFramebufferTexture3DEXT = NULL; -PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC __glewNamedFramebufferTextureEXT = NULL; -PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC __glewNamedFramebufferTextureFaceEXT = NULL; -PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC __glewNamedFramebufferTextureLayerEXT = NULL; -PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC __glewNamedProgramLocalParameter4dEXT = NULL; -PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC __glewNamedProgramLocalParameter4dvEXT = NULL; -PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC __glewNamedProgramLocalParameter4fEXT = NULL; -PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC __glewNamedProgramLocalParameter4fvEXT = NULL; -PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC __glewNamedProgramLocalParameterI4iEXT = NULL; -PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC __glewNamedProgramLocalParameterI4ivEXT = NULL; -PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC __glewNamedProgramLocalParameterI4uiEXT = NULL; -PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC __glewNamedProgramLocalParameterI4uivEXT = NULL; -PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC __glewNamedProgramLocalParameters4fvEXT = NULL; -PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC __glewNamedProgramLocalParametersI4ivEXT = NULL; -PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC __glewNamedProgramLocalParametersI4uivEXT = NULL; -PFNGLNAMEDPROGRAMSTRINGEXTPROC __glewNamedProgramStringEXT = NULL; -PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC __glewNamedRenderbufferStorageEXT = NULL; -PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC __glewNamedRenderbufferStorageMultisampleCoverageEXT = NULL; -PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC __glewNamedRenderbufferStorageMultisampleEXT = NULL; -PFNGLPROGRAMUNIFORM1DEXTPROC __glewProgramUniform1dEXT = NULL; -PFNGLPROGRAMUNIFORM1DVEXTPROC __glewProgramUniform1dvEXT = NULL; -PFNGLPROGRAMUNIFORM1FEXTPROC __glewProgramUniform1fEXT = NULL; -PFNGLPROGRAMUNIFORM1FVEXTPROC __glewProgramUniform1fvEXT = NULL; -PFNGLPROGRAMUNIFORM1IEXTPROC __glewProgramUniform1iEXT = NULL; -PFNGLPROGRAMUNIFORM1IVEXTPROC __glewProgramUniform1ivEXT = NULL; -PFNGLPROGRAMUNIFORM1UIEXTPROC __glewProgramUniform1uiEXT = NULL; -PFNGLPROGRAMUNIFORM1UIVEXTPROC __glewProgramUniform1uivEXT = NULL; -PFNGLPROGRAMUNIFORM2DEXTPROC __glewProgramUniform2dEXT = NULL; -PFNGLPROGRAMUNIFORM2DVEXTPROC __glewProgramUniform2dvEXT = NULL; -PFNGLPROGRAMUNIFORM2FEXTPROC __glewProgramUniform2fEXT = NULL; -PFNGLPROGRAMUNIFORM2FVEXTPROC __glewProgramUniform2fvEXT = NULL; -PFNGLPROGRAMUNIFORM2IEXTPROC __glewProgramUniform2iEXT = NULL; -PFNGLPROGRAMUNIFORM2IVEXTPROC __glewProgramUniform2ivEXT = NULL; -PFNGLPROGRAMUNIFORM2UIEXTPROC __glewProgramUniform2uiEXT = NULL; -PFNGLPROGRAMUNIFORM2UIVEXTPROC __glewProgramUniform2uivEXT = NULL; -PFNGLPROGRAMUNIFORM3DEXTPROC __glewProgramUniform3dEXT = NULL; -PFNGLPROGRAMUNIFORM3DVEXTPROC __glewProgramUniform3dvEXT = NULL; -PFNGLPROGRAMUNIFORM3FEXTPROC __glewProgramUniform3fEXT = NULL; -PFNGLPROGRAMUNIFORM3FVEXTPROC __glewProgramUniform3fvEXT = NULL; -PFNGLPROGRAMUNIFORM3IEXTPROC __glewProgramUniform3iEXT = NULL; -PFNGLPROGRAMUNIFORM3IVEXTPROC __glewProgramUniform3ivEXT = NULL; -PFNGLPROGRAMUNIFORM3UIEXTPROC __glewProgramUniform3uiEXT = NULL; -PFNGLPROGRAMUNIFORM3UIVEXTPROC __glewProgramUniform3uivEXT = NULL; -PFNGLPROGRAMUNIFORM4DEXTPROC __glewProgramUniform4dEXT = NULL; -PFNGLPROGRAMUNIFORM4DVEXTPROC __glewProgramUniform4dvEXT = NULL; -PFNGLPROGRAMUNIFORM4FEXTPROC __glewProgramUniform4fEXT = NULL; -PFNGLPROGRAMUNIFORM4FVEXTPROC __glewProgramUniform4fvEXT = NULL; -PFNGLPROGRAMUNIFORM4IEXTPROC __glewProgramUniform4iEXT = NULL; -PFNGLPROGRAMUNIFORM4IVEXTPROC __glewProgramUniform4ivEXT = NULL; -PFNGLPROGRAMUNIFORM4UIEXTPROC __glewProgramUniform4uiEXT = NULL; -PFNGLPROGRAMUNIFORM4UIVEXTPROC __glewProgramUniform4uivEXT = NULL; -PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC __glewProgramUniformMatrix2dvEXT = NULL; -PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC __glewProgramUniformMatrix2fvEXT = NULL; -PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC __glewProgramUniformMatrix2x3dvEXT = NULL; -PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC __glewProgramUniformMatrix2x3fvEXT = NULL; -PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC __glewProgramUniformMatrix2x4dvEXT = NULL; -PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC __glewProgramUniformMatrix2x4fvEXT = NULL; -PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC __glewProgramUniformMatrix3dvEXT = NULL; -PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC __glewProgramUniformMatrix3fvEXT = NULL; -PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC __glewProgramUniformMatrix3x2dvEXT = NULL; -PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC __glewProgramUniformMatrix3x2fvEXT = NULL; -PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC __glewProgramUniformMatrix3x4dvEXT = NULL; -PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC __glewProgramUniformMatrix3x4fvEXT = NULL; -PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC __glewProgramUniformMatrix4dvEXT = NULL; -PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC __glewProgramUniformMatrix4fvEXT = NULL; -PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC __glewProgramUniformMatrix4x2dvEXT = NULL; -PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC __glewProgramUniformMatrix4x2fvEXT = NULL; -PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC __glewProgramUniformMatrix4x3dvEXT = NULL; -PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC __glewProgramUniformMatrix4x3fvEXT = NULL; -PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC __glewPushClientAttribDefaultEXT = NULL; -PFNGLTEXTUREBUFFEREXTPROC __glewTextureBufferEXT = NULL; -PFNGLTEXTUREIMAGE1DEXTPROC __glewTextureImage1DEXT = NULL; -PFNGLTEXTUREIMAGE2DEXTPROC __glewTextureImage2DEXT = NULL; -PFNGLTEXTUREIMAGE3DEXTPROC __glewTextureImage3DEXT = NULL; -PFNGLTEXTUREPARAMETERIIVEXTPROC __glewTextureParameterIivEXT = NULL; -PFNGLTEXTUREPARAMETERIUIVEXTPROC __glewTextureParameterIuivEXT = NULL; -PFNGLTEXTUREPARAMETERFEXTPROC __glewTextureParameterfEXT = NULL; -PFNGLTEXTUREPARAMETERFVEXTPROC __glewTextureParameterfvEXT = NULL; -PFNGLTEXTUREPARAMETERIEXTPROC __glewTextureParameteriEXT = NULL; -PFNGLTEXTUREPARAMETERIVEXTPROC __glewTextureParameterivEXT = NULL; -PFNGLTEXTURERENDERBUFFEREXTPROC __glewTextureRenderbufferEXT = NULL; -PFNGLTEXTURESUBIMAGE1DEXTPROC __glewTextureSubImage1DEXT = NULL; -PFNGLTEXTURESUBIMAGE2DEXTPROC __glewTextureSubImage2DEXT = NULL; -PFNGLTEXTURESUBIMAGE3DEXTPROC __glewTextureSubImage3DEXT = NULL; -PFNGLUNMAPNAMEDBUFFEREXTPROC __glewUnmapNamedBufferEXT = NULL; -PFNGLVERTEXARRAYCOLOROFFSETEXTPROC __glewVertexArrayColorOffsetEXT = NULL; -PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC __glewVertexArrayEdgeFlagOffsetEXT = NULL; -PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC __glewVertexArrayFogCoordOffsetEXT = NULL; -PFNGLVERTEXARRAYINDEXOFFSETEXTPROC __glewVertexArrayIndexOffsetEXT = NULL; -PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC __glewVertexArrayMultiTexCoordOffsetEXT = NULL; -PFNGLVERTEXARRAYNORMALOFFSETEXTPROC __glewVertexArrayNormalOffsetEXT = NULL; -PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC __glewVertexArraySecondaryColorOffsetEXT = NULL; -PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC __glewVertexArrayTexCoordOffsetEXT = NULL; -PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC __glewVertexArrayVertexAttribIOffsetEXT = NULL; -PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC __glewVertexArrayVertexAttribOffsetEXT = NULL; -PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC __glewVertexArrayVertexOffsetEXT = NULL; - -PFNGLCOLORMASKINDEXEDEXTPROC __glewColorMaskIndexedEXT = NULL; -PFNGLDISABLEINDEXEDEXTPROC __glewDisableIndexedEXT = NULL; -PFNGLENABLEINDEXEDEXTPROC __glewEnableIndexedEXT = NULL; -PFNGLGETBOOLEANINDEXEDVEXTPROC __glewGetBooleanIndexedvEXT = NULL; -PFNGLGETINTEGERINDEXEDVEXTPROC __glewGetIntegerIndexedvEXT = NULL; -PFNGLISENABLEDINDEXEDEXTPROC __glewIsEnabledIndexedEXT = NULL; - -PFNGLDRAWARRAYSINSTANCEDEXTPROC __glewDrawArraysInstancedEXT = NULL; -PFNGLDRAWELEMENTSINSTANCEDEXTPROC __glewDrawElementsInstancedEXT = NULL; - -PFNGLDRAWRANGEELEMENTSEXTPROC __glewDrawRangeElementsEXT = NULL; - -PFNGLFOGCOORDPOINTEREXTPROC __glewFogCoordPointerEXT = NULL; -PFNGLFOGCOORDDEXTPROC __glewFogCoorddEXT = NULL; -PFNGLFOGCOORDDVEXTPROC __glewFogCoorddvEXT = NULL; -PFNGLFOGCOORDFEXTPROC __glewFogCoordfEXT = NULL; -PFNGLFOGCOORDFVEXTPROC __glewFogCoordfvEXT = NULL; - -PFNGLFRAGMENTCOLORMATERIALEXTPROC __glewFragmentColorMaterialEXT = NULL; -PFNGLFRAGMENTLIGHTMODELFEXTPROC __glewFragmentLightModelfEXT = NULL; -PFNGLFRAGMENTLIGHTMODELFVEXTPROC __glewFragmentLightModelfvEXT = NULL; -PFNGLFRAGMENTLIGHTMODELIEXTPROC __glewFragmentLightModeliEXT = NULL; -PFNGLFRAGMENTLIGHTMODELIVEXTPROC __glewFragmentLightModelivEXT = NULL; -PFNGLFRAGMENTLIGHTFEXTPROC __glewFragmentLightfEXT = NULL; -PFNGLFRAGMENTLIGHTFVEXTPROC __glewFragmentLightfvEXT = NULL; -PFNGLFRAGMENTLIGHTIEXTPROC __glewFragmentLightiEXT = NULL; -PFNGLFRAGMENTLIGHTIVEXTPROC __glewFragmentLightivEXT = NULL; -PFNGLFRAGMENTMATERIALFEXTPROC __glewFragmentMaterialfEXT = NULL; -PFNGLFRAGMENTMATERIALFVEXTPROC __glewFragmentMaterialfvEXT = NULL; -PFNGLFRAGMENTMATERIALIEXTPROC __glewFragmentMaterialiEXT = NULL; -PFNGLFRAGMENTMATERIALIVEXTPROC __glewFragmentMaterialivEXT = NULL; -PFNGLGETFRAGMENTLIGHTFVEXTPROC __glewGetFragmentLightfvEXT = NULL; -PFNGLGETFRAGMENTLIGHTIVEXTPROC __glewGetFragmentLightivEXT = NULL; -PFNGLGETFRAGMENTMATERIALFVEXTPROC __glewGetFragmentMaterialfvEXT = NULL; -PFNGLGETFRAGMENTMATERIALIVEXTPROC __glewGetFragmentMaterialivEXT = NULL; -PFNGLLIGHTENVIEXTPROC __glewLightEnviEXT = NULL; - -PFNGLBLITFRAMEBUFFEREXTPROC __glewBlitFramebufferEXT = NULL; - -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC __glewRenderbufferStorageMultisampleEXT = NULL; - -PFNGLBINDFRAMEBUFFEREXTPROC __glewBindFramebufferEXT = NULL; -PFNGLBINDRENDERBUFFEREXTPROC __glewBindRenderbufferEXT = NULL; -PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC __glewCheckFramebufferStatusEXT = NULL; -PFNGLDELETEFRAMEBUFFERSEXTPROC __glewDeleteFramebuffersEXT = NULL; -PFNGLDELETERENDERBUFFERSEXTPROC __glewDeleteRenderbuffersEXT = NULL; -PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC __glewFramebufferRenderbufferEXT = NULL; -PFNGLFRAMEBUFFERTEXTURE1DEXTPROC __glewFramebufferTexture1DEXT = NULL; -PFNGLFRAMEBUFFERTEXTURE2DEXTPROC __glewFramebufferTexture2DEXT = NULL; -PFNGLFRAMEBUFFERTEXTURE3DEXTPROC __glewFramebufferTexture3DEXT = NULL; -PFNGLGENFRAMEBUFFERSEXTPROC __glewGenFramebuffersEXT = NULL; -PFNGLGENRENDERBUFFERSEXTPROC __glewGenRenderbuffersEXT = NULL; -PFNGLGENERATEMIPMAPEXTPROC __glewGenerateMipmapEXT = NULL; -PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC __glewGetFramebufferAttachmentParameterivEXT = NULL; -PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC __glewGetRenderbufferParameterivEXT = NULL; -PFNGLISFRAMEBUFFEREXTPROC __glewIsFramebufferEXT = NULL; -PFNGLISRENDERBUFFEREXTPROC __glewIsRenderbufferEXT = NULL; -PFNGLRENDERBUFFERSTORAGEEXTPROC __glewRenderbufferStorageEXT = NULL; - -PFNGLFRAMEBUFFERTEXTUREEXTPROC __glewFramebufferTextureEXT = NULL; -PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC __glewFramebufferTextureFaceEXT = NULL; -PFNGLPROGRAMPARAMETERIEXTPROC __glewProgramParameteriEXT = NULL; - -PFNGLPROGRAMENVPARAMETERS4FVEXTPROC __glewProgramEnvParameters4fvEXT = NULL; -PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC __glewProgramLocalParameters4fvEXT = NULL; - -PFNGLBINDFRAGDATALOCATIONEXTPROC __glewBindFragDataLocationEXT = NULL; -PFNGLGETFRAGDATALOCATIONEXTPROC __glewGetFragDataLocationEXT = NULL; -PFNGLGETUNIFORMUIVEXTPROC __glewGetUniformuivEXT = NULL; -PFNGLGETVERTEXATTRIBIIVEXTPROC __glewGetVertexAttribIivEXT = NULL; -PFNGLGETVERTEXATTRIBIUIVEXTPROC __glewGetVertexAttribIuivEXT = NULL; -PFNGLUNIFORM1UIEXTPROC __glewUniform1uiEXT = NULL; -PFNGLUNIFORM1UIVEXTPROC __glewUniform1uivEXT = NULL; -PFNGLUNIFORM2UIEXTPROC __glewUniform2uiEXT = NULL; -PFNGLUNIFORM2UIVEXTPROC __glewUniform2uivEXT = NULL; -PFNGLUNIFORM3UIEXTPROC __glewUniform3uiEXT = NULL; -PFNGLUNIFORM3UIVEXTPROC __glewUniform3uivEXT = NULL; -PFNGLUNIFORM4UIEXTPROC __glewUniform4uiEXT = NULL; -PFNGLUNIFORM4UIVEXTPROC __glewUniform4uivEXT = NULL; -PFNGLVERTEXATTRIBI1IEXTPROC __glewVertexAttribI1iEXT = NULL; -PFNGLVERTEXATTRIBI1IVEXTPROC __glewVertexAttribI1ivEXT = NULL; -PFNGLVERTEXATTRIBI1UIEXTPROC __glewVertexAttribI1uiEXT = NULL; -PFNGLVERTEXATTRIBI1UIVEXTPROC __glewVertexAttribI1uivEXT = NULL; -PFNGLVERTEXATTRIBI2IEXTPROC __glewVertexAttribI2iEXT = NULL; -PFNGLVERTEXATTRIBI2IVEXTPROC __glewVertexAttribI2ivEXT = NULL; -PFNGLVERTEXATTRIBI2UIEXTPROC __glewVertexAttribI2uiEXT = NULL; -PFNGLVERTEXATTRIBI2UIVEXTPROC __glewVertexAttribI2uivEXT = NULL; -PFNGLVERTEXATTRIBI3IEXTPROC __glewVertexAttribI3iEXT = NULL; -PFNGLVERTEXATTRIBI3IVEXTPROC __glewVertexAttribI3ivEXT = NULL; -PFNGLVERTEXATTRIBI3UIEXTPROC __glewVertexAttribI3uiEXT = NULL; -PFNGLVERTEXATTRIBI3UIVEXTPROC __glewVertexAttribI3uivEXT = NULL; -PFNGLVERTEXATTRIBI4BVEXTPROC __glewVertexAttribI4bvEXT = NULL; -PFNGLVERTEXATTRIBI4IEXTPROC __glewVertexAttribI4iEXT = NULL; -PFNGLVERTEXATTRIBI4IVEXTPROC __glewVertexAttribI4ivEXT = NULL; -PFNGLVERTEXATTRIBI4SVEXTPROC __glewVertexAttribI4svEXT = NULL; -PFNGLVERTEXATTRIBI4UBVEXTPROC __glewVertexAttribI4ubvEXT = NULL; -PFNGLVERTEXATTRIBI4UIEXTPROC __glewVertexAttribI4uiEXT = NULL; -PFNGLVERTEXATTRIBI4UIVEXTPROC __glewVertexAttribI4uivEXT = NULL; -PFNGLVERTEXATTRIBI4USVEXTPROC __glewVertexAttribI4usvEXT = NULL; -PFNGLVERTEXATTRIBIPOINTEREXTPROC __glewVertexAttribIPointerEXT = NULL; - -PFNGLGETHISTOGRAMEXTPROC __glewGetHistogramEXT = NULL; -PFNGLGETHISTOGRAMPARAMETERFVEXTPROC __glewGetHistogramParameterfvEXT = NULL; -PFNGLGETHISTOGRAMPARAMETERIVEXTPROC __glewGetHistogramParameterivEXT = NULL; -PFNGLGETMINMAXEXTPROC __glewGetMinmaxEXT = NULL; -PFNGLGETMINMAXPARAMETERFVEXTPROC __glewGetMinmaxParameterfvEXT = NULL; -PFNGLGETMINMAXPARAMETERIVEXTPROC __glewGetMinmaxParameterivEXT = NULL; -PFNGLHISTOGRAMEXTPROC __glewHistogramEXT = NULL; -PFNGLMINMAXEXTPROC __glewMinmaxEXT = NULL; -PFNGLRESETHISTOGRAMEXTPROC __glewResetHistogramEXT = NULL; -PFNGLRESETMINMAXEXTPROC __glewResetMinmaxEXT = NULL; - -PFNGLINDEXFUNCEXTPROC __glewIndexFuncEXT = NULL; - -PFNGLINDEXMATERIALEXTPROC __glewIndexMaterialEXT = NULL; - -PFNGLAPPLYTEXTUREEXTPROC __glewApplyTextureEXT = NULL; -PFNGLTEXTURELIGHTEXTPROC __glewTextureLightEXT = NULL; -PFNGLTEXTUREMATERIALEXTPROC __glewTextureMaterialEXT = NULL; - -PFNGLMULTIDRAWARRAYSEXTPROC __glewMultiDrawArraysEXT = NULL; -PFNGLMULTIDRAWELEMENTSEXTPROC __glewMultiDrawElementsEXT = NULL; - -PFNGLSAMPLEMASKEXTPROC __glewSampleMaskEXT = NULL; -PFNGLSAMPLEPATTERNEXTPROC __glewSamplePatternEXT = NULL; - -PFNGLCOLORTABLEEXTPROC __glewColorTableEXT = NULL; -PFNGLGETCOLORTABLEEXTPROC __glewGetColorTableEXT = NULL; -PFNGLGETCOLORTABLEPARAMETERFVEXTPROC __glewGetColorTableParameterfvEXT = NULL; -PFNGLGETCOLORTABLEPARAMETERIVEXTPROC __glewGetColorTableParameterivEXT = NULL; - -PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC __glewGetPixelTransformParameterfvEXT = NULL; -PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC __glewGetPixelTransformParameterivEXT = NULL; -PFNGLPIXELTRANSFORMPARAMETERFEXTPROC __glewPixelTransformParameterfEXT = NULL; -PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC __glewPixelTransformParameterfvEXT = NULL; -PFNGLPIXELTRANSFORMPARAMETERIEXTPROC __glewPixelTransformParameteriEXT = NULL; -PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC __glewPixelTransformParameterivEXT = NULL; - -PFNGLPOINTPARAMETERFEXTPROC __glewPointParameterfEXT = NULL; -PFNGLPOINTPARAMETERFVEXTPROC __glewPointParameterfvEXT = NULL; - -PFNGLPOLYGONOFFSETEXTPROC __glewPolygonOffsetEXT = NULL; - -PFNGLPROVOKINGVERTEXEXTPROC __glewProvokingVertexEXT = NULL; - -PFNGLBEGINSCENEEXTPROC __glewBeginSceneEXT = NULL; -PFNGLENDSCENEEXTPROC __glewEndSceneEXT = NULL; - -PFNGLSECONDARYCOLOR3BEXTPROC __glewSecondaryColor3bEXT = NULL; -PFNGLSECONDARYCOLOR3BVEXTPROC __glewSecondaryColor3bvEXT = NULL; -PFNGLSECONDARYCOLOR3DEXTPROC __glewSecondaryColor3dEXT = NULL; -PFNGLSECONDARYCOLOR3DVEXTPROC __glewSecondaryColor3dvEXT = NULL; -PFNGLSECONDARYCOLOR3FEXTPROC __glewSecondaryColor3fEXT = NULL; -PFNGLSECONDARYCOLOR3FVEXTPROC __glewSecondaryColor3fvEXT = NULL; -PFNGLSECONDARYCOLOR3IEXTPROC __glewSecondaryColor3iEXT = NULL; -PFNGLSECONDARYCOLOR3IVEXTPROC __glewSecondaryColor3ivEXT = NULL; -PFNGLSECONDARYCOLOR3SEXTPROC __glewSecondaryColor3sEXT = NULL; -PFNGLSECONDARYCOLOR3SVEXTPROC __glewSecondaryColor3svEXT = NULL; -PFNGLSECONDARYCOLOR3UBEXTPROC __glewSecondaryColor3ubEXT = NULL; -PFNGLSECONDARYCOLOR3UBVEXTPROC __glewSecondaryColor3ubvEXT = NULL; -PFNGLSECONDARYCOLOR3UIEXTPROC __glewSecondaryColor3uiEXT = NULL; -PFNGLSECONDARYCOLOR3UIVEXTPROC __glewSecondaryColor3uivEXT = NULL; -PFNGLSECONDARYCOLOR3USEXTPROC __glewSecondaryColor3usEXT = NULL; -PFNGLSECONDARYCOLOR3USVEXTPROC __glewSecondaryColor3usvEXT = NULL; -PFNGLSECONDARYCOLORPOINTEREXTPROC __glewSecondaryColorPointerEXT = NULL; - -PFNGLACTIVEPROGRAMEXTPROC __glewActiveProgramEXT = NULL; -PFNGLCREATESHADERPROGRAMEXTPROC __glewCreateShaderProgramEXT = NULL; -PFNGLUSESHADERPROGRAMEXTPROC __glewUseShaderProgramEXT = NULL; - -PFNGLBINDIMAGETEXTUREEXTPROC __glewBindImageTextureEXT = NULL; -PFNGLMEMORYBARRIEREXTPROC __glewMemoryBarrierEXT = NULL; - -PFNGLACTIVESTENCILFACEEXTPROC __glewActiveStencilFaceEXT = NULL; - -PFNGLTEXSUBIMAGE1DEXTPROC __glewTexSubImage1DEXT = NULL; -PFNGLTEXSUBIMAGE2DEXTPROC __glewTexSubImage2DEXT = NULL; -PFNGLTEXSUBIMAGE3DEXTPROC __glewTexSubImage3DEXT = NULL; - -PFNGLTEXIMAGE3DEXTPROC __glewTexImage3DEXT = NULL; - -PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC __glewFramebufferTextureLayerEXT = NULL; - -PFNGLTEXBUFFEREXTPROC __glewTexBufferEXT = NULL; - -PFNGLCLEARCOLORIIEXTPROC __glewClearColorIiEXT = NULL; -PFNGLCLEARCOLORIUIEXTPROC __glewClearColorIuiEXT = NULL; -PFNGLGETTEXPARAMETERIIVEXTPROC __glewGetTexParameterIivEXT = NULL; -PFNGLGETTEXPARAMETERIUIVEXTPROC __glewGetTexParameterIuivEXT = NULL; -PFNGLTEXPARAMETERIIVEXTPROC __glewTexParameterIivEXT = NULL; -PFNGLTEXPARAMETERIUIVEXTPROC __glewTexParameterIuivEXT = NULL; - -PFNGLARETEXTURESRESIDENTEXTPROC __glewAreTexturesResidentEXT = NULL; -PFNGLBINDTEXTUREEXTPROC __glewBindTextureEXT = NULL; -PFNGLDELETETEXTURESEXTPROC __glewDeleteTexturesEXT = NULL; -PFNGLGENTEXTURESEXTPROC __glewGenTexturesEXT = NULL; -PFNGLISTEXTUREEXTPROC __glewIsTextureEXT = NULL; -PFNGLPRIORITIZETEXTURESEXTPROC __glewPrioritizeTexturesEXT = NULL; - -PFNGLTEXTURENORMALEXTPROC __glewTextureNormalEXT = NULL; - -PFNGLGETQUERYOBJECTI64VEXTPROC __glewGetQueryObjecti64vEXT = NULL; -PFNGLGETQUERYOBJECTUI64VEXTPROC __glewGetQueryObjectui64vEXT = NULL; - -PFNGLBEGINTRANSFORMFEEDBACKEXTPROC __glewBeginTransformFeedbackEXT = NULL; -PFNGLBINDBUFFERBASEEXTPROC __glewBindBufferBaseEXT = NULL; -PFNGLBINDBUFFEROFFSETEXTPROC __glewBindBufferOffsetEXT = NULL; -PFNGLBINDBUFFERRANGEEXTPROC __glewBindBufferRangeEXT = NULL; -PFNGLENDTRANSFORMFEEDBACKEXTPROC __glewEndTransformFeedbackEXT = NULL; -PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC __glewGetTransformFeedbackVaryingEXT = NULL; -PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC __glewTransformFeedbackVaryingsEXT = NULL; - -PFNGLARRAYELEMENTEXTPROC __glewArrayElementEXT = NULL; -PFNGLCOLORPOINTEREXTPROC __glewColorPointerEXT = NULL; -PFNGLDRAWARRAYSEXTPROC __glewDrawArraysEXT = NULL; -PFNGLEDGEFLAGPOINTEREXTPROC __glewEdgeFlagPointerEXT = NULL; -PFNGLINDEXPOINTEREXTPROC __glewIndexPointerEXT = NULL; -PFNGLNORMALPOINTEREXTPROC __glewNormalPointerEXT = NULL; -PFNGLTEXCOORDPOINTEREXTPROC __glewTexCoordPointerEXT = NULL; -PFNGLVERTEXPOINTEREXTPROC __glewVertexPointerEXT = NULL; - -PFNGLGETVERTEXATTRIBLDVEXTPROC __glewGetVertexAttribLdvEXT = NULL; -PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC __glewVertexArrayVertexAttribLOffsetEXT = NULL; -PFNGLVERTEXATTRIBL1DEXTPROC __glewVertexAttribL1dEXT = NULL; -PFNGLVERTEXATTRIBL1DVEXTPROC __glewVertexAttribL1dvEXT = NULL; -PFNGLVERTEXATTRIBL2DEXTPROC __glewVertexAttribL2dEXT = NULL; -PFNGLVERTEXATTRIBL2DVEXTPROC __glewVertexAttribL2dvEXT = NULL; -PFNGLVERTEXATTRIBL3DEXTPROC __glewVertexAttribL3dEXT = NULL; -PFNGLVERTEXATTRIBL3DVEXTPROC __glewVertexAttribL3dvEXT = NULL; -PFNGLVERTEXATTRIBL4DEXTPROC __glewVertexAttribL4dEXT = NULL; -PFNGLVERTEXATTRIBL4DVEXTPROC __glewVertexAttribL4dvEXT = NULL; -PFNGLVERTEXATTRIBLPOINTEREXTPROC __glewVertexAttribLPointerEXT = NULL; - -PFNGLBEGINVERTEXSHADEREXTPROC __glewBeginVertexShaderEXT = NULL; -PFNGLBINDLIGHTPARAMETEREXTPROC __glewBindLightParameterEXT = NULL; -PFNGLBINDMATERIALPARAMETEREXTPROC __glewBindMaterialParameterEXT = NULL; -PFNGLBINDPARAMETEREXTPROC __glewBindParameterEXT = NULL; -PFNGLBINDTEXGENPARAMETEREXTPROC __glewBindTexGenParameterEXT = NULL; -PFNGLBINDTEXTUREUNITPARAMETEREXTPROC __glewBindTextureUnitParameterEXT = NULL; -PFNGLBINDVERTEXSHADEREXTPROC __glewBindVertexShaderEXT = NULL; -PFNGLDELETEVERTEXSHADEREXTPROC __glewDeleteVertexShaderEXT = NULL; -PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC __glewDisableVariantClientStateEXT = NULL; -PFNGLENABLEVARIANTCLIENTSTATEEXTPROC __glewEnableVariantClientStateEXT = NULL; -PFNGLENDVERTEXSHADEREXTPROC __glewEndVertexShaderEXT = NULL; -PFNGLEXTRACTCOMPONENTEXTPROC __glewExtractComponentEXT = NULL; -PFNGLGENSYMBOLSEXTPROC __glewGenSymbolsEXT = NULL; -PFNGLGENVERTEXSHADERSEXTPROC __glewGenVertexShadersEXT = NULL; -PFNGLGETINVARIANTBOOLEANVEXTPROC __glewGetInvariantBooleanvEXT = NULL; -PFNGLGETINVARIANTFLOATVEXTPROC __glewGetInvariantFloatvEXT = NULL; -PFNGLGETINVARIANTINTEGERVEXTPROC __glewGetInvariantIntegervEXT = NULL; -PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC __glewGetLocalConstantBooleanvEXT = NULL; -PFNGLGETLOCALCONSTANTFLOATVEXTPROC __glewGetLocalConstantFloatvEXT = NULL; -PFNGLGETLOCALCONSTANTINTEGERVEXTPROC __glewGetLocalConstantIntegervEXT = NULL; -PFNGLGETVARIANTBOOLEANVEXTPROC __glewGetVariantBooleanvEXT = NULL; -PFNGLGETVARIANTFLOATVEXTPROC __glewGetVariantFloatvEXT = NULL; -PFNGLGETVARIANTINTEGERVEXTPROC __glewGetVariantIntegervEXT = NULL; -PFNGLGETVARIANTPOINTERVEXTPROC __glewGetVariantPointervEXT = NULL; -PFNGLINSERTCOMPONENTEXTPROC __glewInsertComponentEXT = NULL; -PFNGLISVARIANTENABLEDEXTPROC __glewIsVariantEnabledEXT = NULL; -PFNGLSETINVARIANTEXTPROC __glewSetInvariantEXT = NULL; -PFNGLSETLOCALCONSTANTEXTPROC __glewSetLocalConstantEXT = NULL; -PFNGLSHADEROP1EXTPROC __glewShaderOp1EXT = NULL; -PFNGLSHADEROP2EXTPROC __glewShaderOp2EXT = NULL; -PFNGLSHADEROP3EXTPROC __glewShaderOp3EXT = NULL; -PFNGLSWIZZLEEXTPROC __glewSwizzleEXT = NULL; -PFNGLVARIANTPOINTEREXTPROC __glewVariantPointerEXT = NULL; -PFNGLVARIANTBVEXTPROC __glewVariantbvEXT = NULL; -PFNGLVARIANTDVEXTPROC __glewVariantdvEXT = NULL; -PFNGLVARIANTFVEXTPROC __glewVariantfvEXT = NULL; -PFNGLVARIANTIVEXTPROC __glewVariantivEXT = NULL; -PFNGLVARIANTSVEXTPROC __glewVariantsvEXT = NULL; -PFNGLVARIANTUBVEXTPROC __glewVariantubvEXT = NULL; -PFNGLVARIANTUIVEXTPROC __glewVariantuivEXT = NULL; -PFNGLVARIANTUSVEXTPROC __glewVariantusvEXT = NULL; -PFNGLWRITEMASKEXTPROC __glewWriteMaskEXT = NULL; - -PFNGLVERTEXWEIGHTPOINTEREXTPROC __glewVertexWeightPointerEXT = NULL; -PFNGLVERTEXWEIGHTFEXTPROC __glewVertexWeightfEXT = NULL; -PFNGLVERTEXWEIGHTFVEXTPROC __glewVertexWeightfvEXT = NULL; - -PFNGLIMPORTSYNCEXTPROC __glewImportSyncEXT = NULL; - -PFNGLFRAMETERMINATORGREMEDYPROC __glewFrameTerminatorGREMEDY = NULL; - -PFNGLSTRINGMARKERGREMEDYPROC __glewStringMarkerGREMEDY = NULL; - -PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC __glewGetImageTransformParameterfvHP = NULL; -PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC __glewGetImageTransformParameterivHP = NULL; -PFNGLIMAGETRANSFORMPARAMETERFHPPROC __glewImageTransformParameterfHP = NULL; -PFNGLIMAGETRANSFORMPARAMETERFVHPPROC __glewImageTransformParameterfvHP = NULL; -PFNGLIMAGETRANSFORMPARAMETERIHPPROC __glewImageTransformParameteriHP = NULL; -PFNGLIMAGETRANSFORMPARAMETERIVHPPROC __glewImageTransformParameterivHP = NULL; - -PFNGLMULTIMODEDRAWARRAYSIBMPROC __glewMultiModeDrawArraysIBM = NULL; -PFNGLMULTIMODEDRAWELEMENTSIBMPROC __glewMultiModeDrawElementsIBM = NULL; - -PFNGLCOLORPOINTERLISTIBMPROC __glewColorPointerListIBM = NULL; -PFNGLEDGEFLAGPOINTERLISTIBMPROC __glewEdgeFlagPointerListIBM = NULL; -PFNGLFOGCOORDPOINTERLISTIBMPROC __glewFogCoordPointerListIBM = NULL; -PFNGLINDEXPOINTERLISTIBMPROC __glewIndexPointerListIBM = NULL; -PFNGLNORMALPOINTERLISTIBMPROC __glewNormalPointerListIBM = NULL; -PFNGLSECONDARYCOLORPOINTERLISTIBMPROC __glewSecondaryColorPointerListIBM = NULL; -PFNGLTEXCOORDPOINTERLISTIBMPROC __glewTexCoordPointerListIBM = NULL; -PFNGLVERTEXPOINTERLISTIBMPROC __glewVertexPointerListIBM = NULL; - -PFNGLCOLORPOINTERVINTELPROC __glewColorPointervINTEL = NULL; -PFNGLNORMALPOINTERVINTELPROC __glewNormalPointervINTEL = NULL; -PFNGLTEXCOORDPOINTERVINTELPROC __glewTexCoordPointervINTEL = NULL; -PFNGLVERTEXPOINTERVINTELPROC __glewVertexPointervINTEL = NULL; - -PFNGLTEXSCISSORFUNCINTELPROC __glewTexScissorFuncINTEL = NULL; -PFNGLTEXSCISSORINTELPROC __glewTexScissorINTEL = NULL; - -PFNGLDEBUGMESSAGECALLBACKPROC __glewDebugMessageCallback = NULL; -PFNGLDEBUGMESSAGECONTROLPROC __glewDebugMessageControl = NULL; -PFNGLDEBUGMESSAGEINSERTPROC __glewDebugMessageInsert = NULL; -PFNGLGETDEBUGMESSAGELOGPROC __glewGetDebugMessageLog = NULL; -PFNGLGETOBJECTLABELPROC __glewGetObjectLabel = NULL; -PFNGLGETOBJECTPTRLABELPROC __glewGetObjectPtrLabel = NULL; -PFNGLGETPOINTERVPROC __glewGetPointerv = NULL; -PFNGLOBJECTLABELPROC __glewObjectLabel = NULL; -PFNGLOBJECTPTRLABELPROC __glewObjectPtrLabel = NULL; -PFNGLPUSHDEBUGGROUPPROC __glewPushDebugGroup = NULL; - -PFNGLBUFFERREGIONENABLEDPROC __glewBufferRegionEnabled = NULL; -PFNGLDELETEBUFFERREGIONPROC __glewDeleteBufferRegion = NULL; -PFNGLDRAWBUFFERREGIONPROC __glewDrawBufferRegion = NULL; -PFNGLNEWBUFFERREGIONPROC __glewNewBufferRegion = NULL; -PFNGLREADBUFFERREGIONPROC __glewReadBufferRegion = NULL; - -PFNGLRESIZEBUFFERSMESAPROC __glewResizeBuffersMESA = NULL; - -PFNGLWINDOWPOS2DMESAPROC __glewWindowPos2dMESA = NULL; -PFNGLWINDOWPOS2DVMESAPROC __glewWindowPos2dvMESA = NULL; -PFNGLWINDOWPOS2FMESAPROC __glewWindowPos2fMESA = NULL; -PFNGLWINDOWPOS2FVMESAPROC __glewWindowPos2fvMESA = NULL; -PFNGLWINDOWPOS2IMESAPROC __glewWindowPos2iMESA = NULL; -PFNGLWINDOWPOS2IVMESAPROC __glewWindowPos2ivMESA = NULL; -PFNGLWINDOWPOS2SMESAPROC __glewWindowPos2sMESA = NULL; -PFNGLWINDOWPOS2SVMESAPROC __glewWindowPos2svMESA = NULL; -PFNGLWINDOWPOS3DMESAPROC __glewWindowPos3dMESA = NULL; -PFNGLWINDOWPOS3DVMESAPROC __glewWindowPos3dvMESA = NULL; -PFNGLWINDOWPOS3FMESAPROC __glewWindowPos3fMESA = NULL; -PFNGLWINDOWPOS3FVMESAPROC __glewWindowPos3fvMESA = NULL; -PFNGLWINDOWPOS3IMESAPROC __glewWindowPos3iMESA = NULL; -PFNGLWINDOWPOS3IVMESAPROC __glewWindowPos3ivMESA = NULL; -PFNGLWINDOWPOS3SMESAPROC __glewWindowPos3sMESA = NULL; -PFNGLWINDOWPOS3SVMESAPROC __glewWindowPos3svMESA = NULL; -PFNGLWINDOWPOS4DMESAPROC __glewWindowPos4dMESA = NULL; -PFNGLWINDOWPOS4DVMESAPROC __glewWindowPos4dvMESA = NULL; -PFNGLWINDOWPOS4FMESAPROC __glewWindowPos4fMESA = NULL; -PFNGLWINDOWPOS4FVMESAPROC __glewWindowPos4fvMESA = NULL; -PFNGLWINDOWPOS4IMESAPROC __glewWindowPos4iMESA = NULL; -PFNGLWINDOWPOS4IVMESAPROC __glewWindowPos4ivMESA = NULL; -PFNGLWINDOWPOS4SMESAPROC __glewWindowPos4sMESA = NULL; -PFNGLWINDOWPOS4SVMESAPROC __glewWindowPos4svMESA = NULL; - -PFNGLGETIMAGEHANDLENVPROC __glewGetImageHandleNV = NULL; -PFNGLGETTEXTUREHANDLENVPROC __glewGetTextureHandleNV = NULL; -PFNGLGETTEXTURESAMPLERHANDLENVPROC __glewGetTextureSamplerHandleNV = NULL; -PFNGLISIMAGEHANDLERESIDENTNVPROC __glewIsImageHandleResidentNV = NULL; -PFNGLISTEXTUREHANDLERESIDENTNVPROC __glewIsTextureHandleResidentNV = NULL; -PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC __glewMakeImageHandleNonResidentNV = NULL; -PFNGLMAKEIMAGEHANDLERESIDENTNVPROC __glewMakeImageHandleResidentNV = NULL; -PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC __glewMakeTextureHandleNonResidentNV = NULL; -PFNGLMAKETEXTUREHANDLERESIDENTNVPROC __glewMakeTextureHandleResidentNV = NULL; -PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC __glewProgramUniformHandleui64NV = NULL; -PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC __glewProgramUniformHandleui64vNV = NULL; -PFNGLUNIFORMHANDLEUI64NVPROC __glewUniformHandleui64NV = NULL; -PFNGLUNIFORMHANDLEUI64VNVPROC __glewUniformHandleui64vNV = NULL; - -PFNGLBEGINCONDITIONALRENDERNVPROC __glewBeginConditionalRenderNV = NULL; -PFNGLENDCONDITIONALRENDERNVPROC __glewEndConditionalRenderNV = NULL; - -PFNGLCOPYIMAGESUBDATANVPROC __glewCopyImageSubDataNV = NULL; - -PFNGLCLEARDEPTHDNVPROC __glewClearDepthdNV = NULL; -PFNGLDEPTHBOUNDSDNVPROC __glewDepthBoundsdNV = NULL; -PFNGLDEPTHRANGEDNVPROC __glewDepthRangedNV = NULL; - -PFNGLEVALMAPSNVPROC __glewEvalMapsNV = NULL; -PFNGLGETMAPATTRIBPARAMETERFVNVPROC __glewGetMapAttribParameterfvNV = NULL; -PFNGLGETMAPATTRIBPARAMETERIVNVPROC __glewGetMapAttribParameterivNV = NULL; -PFNGLGETMAPCONTROLPOINTSNVPROC __glewGetMapControlPointsNV = NULL; -PFNGLGETMAPPARAMETERFVNVPROC __glewGetMapParameterfvNV = NULL; -PFNGLGETMAPPARAMETERIVNVPROC __glewGetMapParameterivNV = NULL; -PFNGLMAPCONTROLPOINTSNVPROC __glewMapControlPointsNV = NULL; -PFNGLMAPPARAMETERFVNVPROC __glewMapParameterfvNV = NULL; -PFNGLMAPPARAMETERIVNVPROC __glewMapParameterivNV = NULL; - -PFNGLGETMULTISAMPLEFVNVPROC __glewGetMultisamplefvNV = NULL; -PFNGLSAMPLEMASKINDEXEDNVPROC __glewSampleMaskIndexedNV = NULL; -PFNGLTEXRENDERBUFFERNVPROC __glewTexRenderbufferNV = NULL; - -PFNGLDELETEFENCESNVPROC __glewDeleteFencesNV = NULL; -PFNGLFINISHFENCENVPROC __glewFinishFenceNV = NULL; -PFNGLGENFENCESNVPROC __glewGenFencesNV = NULL; -PFNGLGETFENCEIVNVPROC __glewGetFenceivNV = NULL; -PFNGLISFENCENVPROC __glewIsFenceNV = NULL; -PFNGLSETFENCENVPROC __glewSetFenceNV = NULL; -PFNGLTESTFENCENVPROC __glewTestFenceNV = NULL; - -PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC __glewGetProgramNamedParameterdvNV = NULL; -PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC __glewGetProgramNamedParameterfvNV = NULL; -PFNGLPROGRAMNAMEDPARAMETER4DNVPROC __glewProgramNamedParameter4dNV = NULL; -PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC __glewProgramNamedParameter4dvNV = NULL; -PFNGLPROGRAMNAMEDPARAMETER4FNVPROC __glewProgramNamedParameter4fNV = NULL; -PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC __glewProgramNamedParameter4fvNV = NULL; - -PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC __glewRenderbufferStorageMultisampleCoverageNV = NULL; - -PFNGLPROGRAMVERTEXLIMITNVPROC __glewProgramVertexLimitNV = NULL; - -PFNGLPROGRAMENVPARAMETERI4INVPROC __glewProgramEnvParameterI4iNV = NULL; -PFNGLPROGRAMENVPARAMETERI4IVNVPROC __glewProgramEnvParameterI4ivNV = NULL; -PFNGLPROGRAMENVPARAMETERI4UINVPROC __glewProgramEnvParameterI4uiNV = NULL; -PFNGLPROGRAMENVPARAMETERI4UIVNVPROC __glewProgramEnvParameterI4uivNV = NULL; -PFNGLPROGRAMENVPARAMETERSI4IVNVPROC __glewProgramEnvParametersI4ivNV = NULL; -PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC __glewProgramEnvParametersI4uivNV = NULL; -PFNGLPROGRAMLOCALPARAMETERI4INVPROC __glewProgramLocalParameterI4iNV = NULL; -PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC __glewProgramLocalParameterI4ivNV = NULL; -PFNGLPROGRAMLOCALPARAMETERI4UINVPROC __glewProgramLocalParameterI4uiNV = NULL; -PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC __glewProgramLocalParameterI4uivNV = NULL; -PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC __glewProgramLocalParametersI4ivNV = NULL; -PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC __glewProgramLocalParametersI4uivNV = NULL; - -PFNGLGETUNIFORMI64VNVPROC __glewGetUniformi64vNV = NULL; -PFNGLGETUNIFORMUI64VNVPROC __glewGetUniformui64vNV = NULL; -PFNGLPROGRAMUNIFORM1I64NVPROC __glewProgramUniform1i64NV = NULL; -PFNGLPROGRAMUNIFORM1I64VNVPROC __glewProgramUniform1i64vNV = NULL; -PFNGLPROGRAMUNIFORM1UI64NVPROC __glewProgramUniform1ui64NV = NULL; -PFNGLPROGRAMUNIFORM1UI64VNVPROC __glewProgramUniform1ui64vNV = NULL; -PFNGLPROGRAMUNIFORM2I64NVPROC __glewProgramUniform2i64NV = NULL; -PFNGLPROGRAMUNIFORM2I64VNVPROC __glewProgramUniform2i64vNV = NULL; -PFNGLPROGRAMUNIFORM2UI64NVPROC __glewProgramUniform2ui64NV = NULL; -PFNGLPROGRAMUNIFORM2UI64VNVPROC __glewProgramUniform2ui64vNV = NULL; -PFNGLPROGRAMUNIFORM3I64NVPROC __glewProgramUniform3i64NV = NULL; -PFNGLPROGRAMUNIFORM3I64VNVPROC __glewProgramUniform3i64vNV = NULL; -PFNGLPROGRAMUNIFORM3UI64NVPROC __glewProgramUniform3ui64NV = NULL; -PFNGLPROGRAMUNIFORM3UI64VNVPROC __glewProgramUniform3ui64vNV = NULL; -PFNGLPROGRAMUNIFORM4I64NVPROC __glewProgramUniform4i64NV = NULL; -PFNGLPROGRAMUNIFORM4I64VNVPROC __glewProgramUniform4i64vNV = NULL; -PFNGLPROGRAMUNIFORM4UI64NVPROC __glewProgramUniform4ui64NV = NULL; -PFNGLPROGRAMUNIFORM4UI64VNVPROC __glewProgramUniform4ui64vNV = NULL; -PFNGLUNIFORM1I64NVPROC __glewUniform1i64NV = NULL; -PFNGLUNIFORM1I64VNVPROC __glewUniform1i64vNV = NULL; -PFNGLUNIFORM1UI64NVPROC __glewUniform1ui64NV = NULL; -PFNGLUNIFORM1UI64VNVPROC __glewUniform1ui64vNV = NULL; -PFNGLUNIFORM2I64NVPROC __glewUniform2i64NV = NULL; -PFNGLUNIFORM2I64VNVPROC __glewUniform2i64vNV = NULL; -PFNGLUNIFORM2UI64NVPROC __glewUniform2ui64NV = NULL; -PFNGLUNIFORM2UI64VNVPROC __glewUniform2ui64vNV = NULL; -PFNGLUNIFORM3I64NVPROC __glewUniform3i64NV = NULL; -PFNGLUNIFORM3I64VNVPROC __glewUniform3i64vNV = NULL; -PFNGLUNIFORM3UI64NVPROC __glewUniform3ui64NV = NULL; -PFNGLUNIFORM3UI64VNVPROC __glewUniform3ui64vNV = NULL; -PFNGLUNIFORM4I64NVPROC __glewUniform4i64NV = NULL; -PFNGLUNIFORM4I64VNVPROC __glewUniform4i64vNV = NULL; -PFNGLUNIFORM4UI64NVPROC __glewUniform4ui64NV = NULL; -PFNGLUNIFORM4UI64VNVPROC __glewUniform4ui64vNV = NULL; - -PFNGLCOLOR3HNVPROC __glewColor3hNV = NULL; -PFNGLCOLOR3HVNVPROC __glewColor3hvNV = NULL; -PFNGLCOLOR4HNVPROC __glewColor4hNV = NULL; -PFNGLCOLOR4HVNVPROC __glewColor4hvNV = NULL; -PFNGLFOGCOORDHNVPROC __glewFogCoordhNV = NULL; -PFNGLFOGCOORDHVNVPROC __glewFogCoordhvNV = NULL; -PFNGLMULTITEXCOORD1HNVPROC __glewMultiTexCoord1hNV = NULL; -PFNGLMULTITEXCOORD1HVNVPROC __glewMultiTexCoord1hvNV = NULL; -PFNGLMULTITEXCOORD2HNVPROC __glewMultiTexCoord2hNV = NULL; -PFNGLMULTITEXCOORD2HVNVPROC __glewMultiTexCoord2hvNV = NULL; -PFNGLMULTITEXCOORD3HNVPROC __glewMultiTexCoord3hNV = NULL; -PFNGLMULTITEXCOORD3HVNVPROC __glewMultiTexCoord3hvNV = NULL; -PFNGLMULTITEXCOORD4HNVPROC __glewMultiTexCoord4hNV = NULL; -PFNGLMULTITEXCOORD4HVNVPROC __glewMultiTexCoord4hvNV = NULL; -PFNGLNORMAL3HNVPROC __glewNormal3hNV = NULL; -PFNGLNORMAL3HVNVPROC __glewNormal3hvNV = NULL; -PFNGLSECONDARYCOLOR3HNVPROC __glewSecondaryColor3hNV = NULL; -PFNGLSECONDARYCOLOR3HVNVPROC __glewSecondaryColor3hvNV = NULL; -PFNGLTEXCOORD1HNVPROC __glewTexCoord1hNV = NULL; -PFNGLTEXCOORD1HVNVPROC __glewTexCoord1hvNV = NULL; -PFNGLTEXCOORD2HNVPROC __glewTexCoord2hNV = NULL; -PFNGLTEXCOORD2HVNVPROC __glewTexCoord2hvNV = NULL; -PFNGLTEXCOORD3HNVPROC __glewTexCoord3hNV = NULL; -PFNGLTEXCOORD3HVNVPROC __glewTexCoord3hvNV = NULL; -PFNGLTEXCOORD4HNVPROC __glewTexCoord4hNV = NULL; -PFNGLTEXCOORD4HVNVPROC __glewTexCoord4hvNV = NULL; -PFNGLVERTEX2HNVPROC __glewVertex2hNV = NULL; -PFNGLVERTEX2HVNVPROC __glewVertex2hvNV = NULL; -PFNGLVERTEX3HNVPROC __glewVertex3hNV = NULL; -PFNGLVERTEX3HVNVPROC __glewVertex3hvNV = NULL; -PFNGLVERTEX4HNVPROC __glewVertex4hNV = NULL; -PFNGLVERTEX4HVNVPROC __glewVertex4hvNV = NULL; -PFNGLVERTEXATTRIB1HNVPROC __glewVertexAttrib1hNV = NULL; -PFNGLVERTEXATTRIB1HVNVPROC __glewVertexAttrib1hvNV = NULL; -PFNGLVERTEXATTRIB2HNVPROC __glewVertexAttrib2hNV = NULL; -PFNGLVERTEXATTRIB2HVNVPROC __glewVertexAttrib2hvNV = NULL; -PFNGLVERTEXATTRIB3HNVPROC __glewVertexAttrib3hNV = NULL; -PFNGLVERTEXATTRIB3HVNVPROC __glewVertexAttrib3hvNV = NULL; -PFNGLVERTEXATTRIB4HNVPROC __glewVertexAttrib4hNV = NULL; -PFNGLVERTEXATTRIB4HVNVPROC __glewVertexAttrib4hvNV = NULL; -PFNGLVERTEXATTRIBS1HVNVPROC __glewVertexAttribs1hvNV = NULL; -PFNGLVERTEXATTRIBS2HVNVPROC __glewVertexAttribs2hvNV = NULL; -PFNGLVERTEXATTRIBS3HVNVPROC __glewVertexAttribs3hvNV = NULL; -PFNGLVERTEXATTRIBS4HVNVPROC __glewVertexAttribs4hvNV = NULL; -PFNGLVERTEXWEIGHTHNVPROC __glewVertexWeighthNV = NULL; -PFNGLVERTEXWEIGHTHVNVPROC __glewVertexWeighthvNV = NULL; - -PFNGLBEGINOCCLUSIONQUERYNVPROC __glewBeginOcclusionQueryNV = NULL; -PFNGLDELETEOCCLUSIONQUERIESNVPROC __glewDeleteOcclusionQueriesNV = NULL; -PFNGLENDOCCLUSIONQUERYNVPROC __glewEndOcclusionQueryNV = NULL; -PFNGLGENOCCLUSIONQUERIESNVPROC __glewGenOcclusionQueriesNV = NULL; -PFNGLGETOCCLUSIONQUERYIVNVPROC __glewGetOcclusionQueryivNV = NULL; -PFNGLGETOCCLUSIONQUERYUIVNVPROC __glewGetOcclusionQueryuivNV = NULL; -PFNGLISOCCLUSIONQUERYNVPROC __glewIsOcclusionQueryNV = NULL; - -PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC __glewProgramBufferParametersIivNV = NULL; -PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC __glewProgramBufferParametersIuivNV = NULL; -PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC __glewProgramBufferParametersfvNV = NULL; - -PFNGLCOPYPATHNVPROC __glewCopyPathNV = NULL; -PFNGLCOVERFILLPATHINSTANCEDNVPROC __glewCoverFillPathInstancedNV = NULL; -PFNGLCOVERFILLPATHNVPROC __glewCoverFillPathNV = NULL; -PFNGLCOVERSTROKEPATHINSTANCEDNVPROC __glewCoverStrokePathInstancedNV = NULL; -PFNGLCOVERSTROKEPATHNVPROC __glewCoverStrokePathNV = NULL; -PFNGLDELETEPATHSNVPROC __glewDeletePathsNV = NULL; -PFNGLGENPATHSNVPROC __glewGenPathsNV = NULL; -PFNGLGETPATHCOLORGENFVNVPROC __glewGetPathColorGenfvNV = NULL; -PFNGLGETPATHCOLORGENIVNVPROC __glewGetPathColorGenivNV = NULL; -PFNGLGETPATHCOMMANDSNVPROC __glewGetPathCommandsNV = NULL; -PFNGLGETPATHCOORDSNVPROC __glewGetPathCoordsNV = NULL; -PFNGLGETPATHDASHARRAYNVPROC __glewGetPathDashArrayNV = NULL; -PFNGLGETPATHLENGTHNVPROC __glewGetPathLengthNV = NULL; -PFNGLGETPATHMETRICRANGENVPROC __glewGetPathMetricRangeNV = NULL; -PFNGLGETPATHMETRICSNVPROC __glewGetPathMetricsNV = NULL; -PFNGLGETPATHPARAMETERFVNVPROC __glewGetPathParameterfvNV = NULL; -PFNGLGETPATHPARAMETERIVNVPROC __glewGetPathParameterivNV = NULL; -PFNGLGETPATHSPACINGNVPROC __glewGetPathSpacingNV = NULL; -PFNGLGETPATHTEXGENFVNVPROC __glewGetPathTexGenfvNV = NULL; -PFNGLGETPATHTEXGENIVNVPROC __glewGetPathTexGenivNV = NULL; -PFNGLINTERPOLATEPATHSNVPROC __glewInterpolatePathsNV = NULL; -PFNGLISPATHNVPROC __glewIsPathNV = NULL; -PFNGLISPOINTINFILLPATHNVPROC __glewIsPointInFillPathNV = NULL; -PFNGLISPOINTINSTROKEPATHNVPROC __glewIsPointInStrokePathNV = NULL; -PFNGLPATHCOLORGENNVPROC __glewPathColorGenNV = NULL; -PFNGLPATHCOMMANDSNVPROC __glewPathCommandsNV = NULL; -PFNGLPATHCOORDSNVPROC __glewPathCoordsNV = NULL; -PFNGLPATHCOVERDEPTHFUNCNVPROC __glewPathCoverDepthFuncNV = NULL; -PFNGLPATHDASHARRAYNVPROC __glewPathDashArrayNV = NULL; -PFNGLPATHFOGGENNVPROC __glewPathFogGenNV = NULL; -PFNGLPATHGLYPHRANGENVPROC __glewPathGlyphRangeNV = NULL; -PFNGLPATHGLYPHSNVPROC __glewPathGlyphsNV = NULL; -PFNGLPATHPARAMETERFNVPROC __glewPathParameterfNV = NULL; -PFNGLPATHPARAMETERFVNVPROC __glewPathParameterfvNV = NULL; -PFNGLPATHPARAMETERINVPROC __glewPathParameteriNV = NULL; -PFNGLPATHPARAMETERIVNVPROC __glewPathParameterivNV = NULL; -PFNGLPATHSTENCILDEPTHOFFSETNVPROC __glewPathStencilDepthOffsetNV = NULL; -PFNGLPATHSTENCILFUNCNVPROC __glewPathStencilFuncNV = NULL; -PFNGLPATHSTRINGNVPROC __glewPathStringNV = NULL; -PFNGLPATHSUBCOMMANDSNVPROC __glewPathSubCommandsNV = NULL; -PFNGLPATHSUBCOORDSNVPROC __glewPathSubCoordsNV = NULL; -PFNGLPATHTEXGENNVPROC __glewPathTexGenNV = NULL; -PFNGLPOINTALONGPATHNVPROC __glewPointAlongPathNV = NULL; -PFNGLSTENCILFILLPATHINSTANCEDNVPROC __glewStencilFillPathInstancedNV = NULL; -PFNGLSTENCILFILLPATHNVPROC __glewStencilFillPathNV = NULL; -PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC __glewStencilStrokePathInstancedNV = NULL; -PFNGLSTENCILSTROKEPATHNVPROC __glewStencilStrokePathNV = NULL; -PFNGLTRANSFORMPATHNVPROC __glewTransformPathNV = NULL; -PFNGLWEIGHTPATHSNVPROC __glewWeightPathsNV = NULL; - -PFNGLFLUSHPIXELDATARANGENVPROC __glewFlushPixelDataRangeNV = NULL; -PFNGLPIXELDATARANGENVPROC __glewPixelDataRangeNV = NULL; - -PFNGLPOINTPARAMETERINVPROC __glewPointParameteriNV = NULL; -PFNGLPOINTPARAMETERIVNVPROC __glewPointParameterivNV = NULL; - -PFNGLGETVIDEOI64VNVPROC __glewGetVideoi64vNV = NULL; -PFNGLGETVIDEOIVNVPROC __glewGetVideoivNV = NULL; -PFNGLGETVIDEOUI64VNVPROC __glewGetVideoui64vNV = NULL; -PFNGLGETVIDEOUIVNVPROC __glewGetVideouivNV = NULL; -PFNGLPRESENTFRAMEDUALFILLNVPROC __glewPresentFrameDualFillNV = NULL; -PFNGLPRESENTFRAMEKEYEDNVPROC __glewPresentFrameKeyedNV = NULL; - -PFNGLPRIMITIVERESTARTINDEXNVPROC __glewPrimitiveRestartIndexNV = NULL; -PFNGLPRIMITIVERESTARTNVPROC __glewPrimitiveRestartNV = NULL; - -PFNGLCOMBINERINPUTNVPROC __glewCombinerInputNV = NULL; -PFNGLCOMBINEROUTPUTNVPROC __glewCombinerOutputNV = NULL; -PFNGLCOMBINERPARAMETERFNVPROC __glewCombinerParameterfNV = NULL; -PFNGLCOMBINERPARAMETERFVNVPROC __glewCombinerParameterfvNV = NULL; -PFNGLCOMBINERPARAMETERINVPROC __glewCombinerParameteriNV = NULL; -PFNGLCOMBINERPARAMETERIVNVPROC __glewCombinerParameterivNV = NULL; -PFNGLFINALCOMBINERINPUTNVPROC __glewFinalCombinerInputNV = NULL; -PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC __glewGetCombinerInputParameterfvNV = NULL; -PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC __glewGetCombinerInputParameterivNV = NULL; -PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC __glewGetCombinerOutputParameterfvNV = NULL; -PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC __glewGetCombinerOutputParameterivNV = NULL; -PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC __glewGetFinalCombinerInputParameterfvNV = NULL; -PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC __glewGetFinalCombinerInputParameterivNV = NULL; - -PFNGLCOMBINERSTAGEPARAMETERFVNVPROC __glewCombinerStageParameterfvNV = NULL; -PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC __glewGetCombinerStageParameterfvNV = NULL; - -PFNGLGETBUFFERPARAMETERUI64VNVPROC __glewGetBufferParameterui64vNV = NULL; -PFNGLGETINTEGERUI64VNVPROC __glewGetIntegerui64vNV = NULL; -PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC __glewGetNamedBufferParameterui64vNV = NULL; -PFNGLISBUFFERRESIDENTNVPROC __glewIsBufferResidentNV = NULL; -PFNGLISNAMEDBUFFERRESIDENTNVPROC __glewIsNamedBufferResidentNV = NULL; -PFNGLMAKEBUFFERNONRESIDENTNVPROC __glewMakeBufferNonResidentNV = NULL; -PFNGLMAKEBUFFERRESIDENTNVPROC __glewMakeBufferResidentNV = NULL; -PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC __glewMakeNamedBufferNonResidentNV = NULL; -PFNGLMAKENAMEDBUFFERRESIDENTNVPROC __glewMakeNamedBufferResidentNV = NULL; -PFNGLPROGRAMUNIFORMUI64NVPROC __glewProgramUniformui64NV = NULL; -PFNGLPROGRAMUNIFORMUI64VNVPROC __glewProgramUniformui64vNV = NULL; -PFNGLUNIFORMUI64NVPROC __glewUniformui64NV = NULL; -PFNGLUNIFORMUI64VNVPROC __glewUniformui64vNV = NULL; - -PFNGLTEXTUREBARRIERNVPROC __glewTextureBarrierNV = NULL; - -PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC __glewTexImage2DMultisampleCoverageNV = NULL; -PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC __glewTexImage3DMultisampleCoverageNV = NULL; -PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC __glewTextureImage2DMultisampleCoverageNV = NULL; -PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC __glewTextureImage2DMultisampleNV = NULL; -PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC __glewTextureImage3DMultisampleCoverageNV = NULL; -PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC __glewTextureImage3DMultisampleNV = NULL; - -PFNGLACTIVEVARYINGNVPROC __glewActiveVaryingNV = NULL; -PFNGLBEGINTRANSFORMFEEDBACKNVPROC __glewBeginTransformFeedbackNV = NULL; -PFNGLBINDBUFFERBASENVPROC __glewBindBufferBaseNV = NULL; -PFNGLBINDBUFFEROFFSETNVPROC __glewBindBufferOffsetNV = NULL; -PFNGLBINDBUFFERRANGENVPROC __glewBindBufferRangeNV = NULL; -PFNGLENDTRANSFORMFEEDBACKNVPROC __glewEndTransformFeedbackNV = NULL; -PFNGLGETACTIVEVARYINGNVPROC __glewGetActiveVaryingNV = NULL; -PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC __glewGetTransformFeedbackVaryingNV = NULL; -PFNGLGETVARYINGLOCATIONNVPROC __glewGetVaryingLocationNV = NULL; -PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC __glewTransformFeedbackAttribsNV = NULL; -PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC __glewTransformFeedbackVaryingsNV = NULL; - -PFNGLBINDTRANSFORMFEEDBACKNVPROC __glewBindTransformFeedbackNV = NULL; -PFNGLDELETETRANSFORMFEEDBACKSNVPROC __glewDeleteTransformFeedbacksNV = NULL; -PFNGLDRAWTRANSFORMFEEDBACKNVPROC __glewDrawTransformFeedbackNV = NULL; -PFNGLGENTRANSFORMFEEDBACKSNVPROC __glewGenTransformFeedbacksNV = NULL; -PFNGLISTRANSFORMFEEDBACKNVPROC __glewIsTransformFeedbackNV = NULL; -PFNGLPAUSETRANSFORMFEEDBACKNVPROC __glewPauseTransformFeedbackNV = NULL; -PFNGLRESUMETRANSFORMFEEDBACKNVPROC __glewResumeTransformFeedbackNV = NULL; - -PFNGLVDPAUFININVPROC __glewVDPAUFiniNV = NULL; -PFNGLVDPAUGETSURFACEIVNVPROC __glewVDPAUGetSurfaceivNV = NULL; -PFNGLVDPAUINITNVPROC __glewVDPAUInitNV = NULL; -PFNGLVDPAUISSURFACENVPROC __glewVDPAUIsSurfaceNV = NULL; -PFNGLVDPAUMAPSURFACESNVPROC __glewVDPAUMapSurfacesNV = NULL; -PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC __glewVDPAURegisterOutputSurfaceNV = NULL; -PFNGLVDPAUREGISTERVIDEOSURFACENVPROC __glewVDPAURegisterVideoSurfaceNV = NULL; -PFNGLVDPAUSURFACEACCESSNVPROC __glewVDPAUSurfaceAccessNV = NULL; -PFNGLVDPAUUNMAPSURFACESNVPROC __glewVDPAUUnmapSurfacesNV = NULL; -PFNGLVDPAUUNREGISTERSURFACENVPROC __glewVDPAUUnregisterSurfaceNV = NULL; - -PFNGLFLUSHVERTEXARRAYRANGENVPROC __glewFlushVertexArrayRangeNV = NULL; -PFNGLVERTEXARRAYRANGENVPROC __glewVertexArrayRangeNV = NULL; - -PFNGLGETVERTEXATTRIBLI64VNVPROC __glewGetVertexAttribLi64vNV = NULL; -PFNGLGETVERTEXATTRIBLUI64VNVPROC __glewGetVertexAttribLui64vNV = NULL; -PFNGLVERTEXATTRIBL1I64NVPROC __glewVertexAttribL1i64NV = NULL; -PFNGLVERTEXATTRIBL1I64VNVPROC __glewVertexAttribL1i64vNV = NULL; -PFNGLVERTEXATTRIBL1UI64NVPROC __glewVertexAttribL1ui64NV = NULL; -PFNGLVERTEXATTRIBL1UI64VNVPROC __glewVertexAttribL1ui64vNV = NULL; -PFNGLVERTEXATTRIBL2I64NVPROC __glewVertexAttribL2i64NV = NULL; -PFNGLVERTEXATTRIBL2I64VNVPROC __glewVertexAttribL2i64vNV = NULL; -PFNGLVERTEXATTRIBL2UI64NVPROC __glewVertexAttribL2ui64NV = NULL; -PFNGLVERTEXATTRIBL2UI64VNVPROC __glewVertexAttribL2ui64vNV = NULL; -PFNGLVERTEXATTRIBL3I64NVPROC __glewVertexAttribL3i64NV = NULL; -PFNGLVERTEXATTRIBL3I64VNVPROC __glewVertexAttribL3i64vNV = NULL; -PFNGLVERTEXATTRIBL3UI64NVPROC __glewVertexAttribL3ui64NV = NULL; -PFNGLVERTEXATTRIBL3UI64VNVPROC __glewVertexAttribL3ui64vNV = NULL; -PFNGLVERTEXATTRIBL4I64NVPROC __glewVertexAttribL4i64NV = NULL; -PFNGLVERTEXATTRIBL4I64VNVPROC __glewVertexAttribL4i64vNV = NULL; -PFNGLVERTEXATTRIBL4UI64NVPROC __glewVertexAttribL4ui64NV = NULL; -PFNGLVERTEXATTRIBL4UI64VNVPROC __glewVertexAttribL4ui64vNV = NULL; -PFNGLVERTEXATTRIBLFORMATNVPROC __glewVertexAttribLFormatNV = NULL; - -PFNGLBUFFERADDRESSRANGENVPROC __glewBufferAddressRangeNV = NULL; -PFNGLCOLORFORMATNVPROC __glewColorFormatNV = NULL; -PFNGLEDGEFLAGFORMATNVPROC __glewEdgeFlagFormatNV = NULL; -PFNGLFOGCOORDFORMATNVPROC __glewFogCoordFormatNV = NULL; -PFNGLGETINTEGERUI64I_VNVPROC __glewGetIntegerui64i_vNV = NULL; -PFNGLINDEXFORMATNVPROC __glewIndexFormatNV = NULL; -PFNGLNORMALFORMATNVPROC __glewNormalFormatNV = NULL; -PFNGLSECONDARYCOLORFORMATNVPROC __glewSecondaryColorFormatNV = NULL; -PFNGLTEXCOORDFORMATNVPROC __glewTexCoordFormatNV = NULL; -PFNGLVERTEXATTRIBFORMATNVPROC __glewVertexAttribFormatNV = NULL; -PFNGLVERTEXATTRIBIFORMATNVPROC __glewVertexAttribIFormatNV = NULL; -PFNGLVERTEXFORMATNVPROC __glewVertexFormatNV = NULL; - -PFNGLAREPROGRAMSRESIDENTNVPROC __glewAreProgramsResidentNV = NULL; -PFNGLBINDPROGRAMNVPROC __glewBindProgramNV = NULL; -PFNGLDELETEPROGRAMSNVPROC __glewDeleteProgramsNV = NULL; -PFNGLEXECUTEPROGRAMNVPROC __glewExecuteProgramNV = NULL; -PFNGLGENPROGRAMSNVPROC __glewGenProgramsNV = NULL; -PFNGLGETPROGRAMPARAMETERDVNVPROC __glewGetProgramParameterdvNV = NULL; -PFNGLGETPROGRAMPARAMETERFVNVPROC __glewGetProgramParameterfvNV = NULL; -PFNGLGETPROGRAMSTRINGNVPROC __glewGetProgramStringNV = NULL; -PFNGLGETPROGRAMIVNVPROC __glewGetProgramivNV = NULL; -PFNGLGETTRACKMATRIXIVNVPROC __glewGetTrackMatrixivNV = NULL; -PFNGLGETVERTEXATTRIBPOINTERVNVPROC __glewGetVertexAttribPointervNV = NULL; -PFNGLGETVERTEXATTRIBDVNVPROC __glewGetVertexAttribdvNV = NULL; -PFNGLGETVERTEXATTRIBFVNVPROC __glewGetVertexAttribfvNV = NULL; -PFNGLGETVERTEXATTRIBIVNVPROC __glewGetVertexAttribivNV = NULL; -PFNGLISPROGRAMNVPROC __glewIsProgramNV = NULL; -PFNGLLOADPROGRAMNVPROC __glewLoadProgramNV = NULL; -PFNGLPROGRAMPARAMETER4DNVPROC __glewProgramParameter4dNV = NULL; -PFNGLPROGRAMPARAMETER4DVNVPROC __glewProgramParameter4dvNV = NULL; -PFNGLPROGRAMPARAMETER4FNVPROC __glewProgramParameter4fNV = NULL; -PFNGLPROGRAMPARAMETER4FVNVPROC __glewProgramParameter4fvNV = NULL; -PFNGLPROGRAMPARAMETERS4DVNVPROC __glewProgramParameters4dvNV = NULL; -PFNGLPROGRAMPARAMETERS4FVNVPROC __glewProgramParameters4fvNV = NULL; -PFNGLREQUESTRESIDENTPROGRAMSNVPROC __glewRequestResidentProgramsNV = NULL; -PFNGLTRACKMATRIXNVPROC __glewTrackMatrixNV = NULL; -PFNGLVERTEXATTRIB1DNVPROC __glewVertexAttrib1dNV = NULL; -PFNGLVERTEXATTRIB1DVNVPROC __glewVertexAttrib1dvNV = NULL; -PFNGLVERTEXATTRIB1FNVPROC __glewVertexAttrib1fNV = NULL; -PFNGLVERTEXATTRIB1FVNVPROC __glewVertexAttrib1fvNV = NULL; -PFNGLVERTEXATTRIB1SNVPROC __glewVertexAttrib1sNV = NULL; -PFNGLVERTEXATTRIB1SVNVPROC __glewVertexAttrib1svNV = NULL; -PFNGLVERTEXATTRIB2DNVPROC __glewVertexAttrib2dNV = NULL; -PFNGLVERTEXATTRIB2DVNVPROC __glewVertexAttrib2dvNV = NULL; -PFNGLVERTEXATTRIB2FNVPROC __glewVertexAttrib2fNV = NULL; -PFNGLVERTEXATTRIB2FVNVPROC __glewVertexAttrib2fvNV = NULL; -PFNGLVERTEXATTRIB2SNVPROC __glewVertexAttrib2sNV = NULL; -PFNGLVERTEXATTRIB2SVNVPROC __glewVertexAttrib2svNV = NULL; -PFNGLVERTEXATTRIB3DNVPROC __glewVertexAttrib3dNV = NULL; -PFNGLVERTEXATTRIB3DVNVPROC __glewVertexAttrib3dvNV = NULL; -PFNGLVERTEXATTRIB3FNVPROC __glewVertexAttrib3fNV = NULL; -PFNGLVERTEXATTRIB3FVNVPROC __glewVertexAttrib3fvNV = NULL; -PFNGLVERTEXATTRIB3SNVPROC __glewVertexAttrib3sNV = NULL; -PFNGLVERTEXATTRIB3SVNVPROC __glewVertexAttrib3svNV = NULL; -PFNGLVERTEXATTRIB4DNVPROC __glewVertexAttrib4dNV = NULL; -PFNGLVERTEXATTRIB4DVNVPROC __glewVertexAttrib4dvNV = NULL; -PFNGLVERTEXATTRIB4FNVPROC __glewVertexAttrib4fNV = NULL; -PFNGLVERTEXATTRIB4FVNVPROC __glewVertexAttrib4fvNV = NULL; -PFNGLVERTEXATTRIB4SNVPROC __glewVertexAttrib4sNV = NULL; -PFNGLVERTEXATTRIB4SVNVPROC __glewVertexAttrib4svNV = NULL; -PFNGLVERTEXATTRIB4UBNVPROC __glewVertexAttrib4ubNV = NULL; -PFNGLVERTEXATTRIB4UBVNVPROC __glewVertexAttrib4ubvNV = NULL; -PFNGLVERTEXATTRIBPOINTERNVPROC __glewVertexAttribPointerNV = NULL; -PFNGLVERTEXATTRIBS1DVNVPROC __glewVertexAttribs1dvNV = NULL; -PFNGLVERTEXATTRIBS1FVNVPROC __glewVertexAttribs1fvNV = NULL; -PFNGLVERTEXATTRIBS1SVNVPROC __glewVertexAttribs1svNV = NULL; -PFNGLVERTEXATTRIBS2DVNVPROC __glewVertexAttribs2dvNV = NULL; -PFNGLVERTEXATTRIBS2FVNVPROC __glewVertexAttribs2fvNV = NULL; -PFNGLVERTEXATTRIBS2SVNVPROC __glewVertexAttribs2svNV = NULL; -PFNGLVERTEXATTRIBS3DVNVPROC __glewVertexAttribs3dvNV = NULL; -PFNGLVERTEXATTRIBS3FVNVPROC __glewVertexAttribs3fvNV = NULL; -PFNGLVERTEXATTRIBS3SVNVPROC __glewVertexAttribs3svNV = NULL; -PFNGLVERTEXATTRIBS4DVNVPROC __glewVertexAttribs4dvNV = NULL; -PFNGLVERTEXATTRIBS4FVNVPROC __glewVertexAttribs4fvNV = NULL; -PFNGLVERTEXATTRIBS4SVNVPROC __glewVertexAttribs4svNV = NULL; -PFNGLVERTEXATTRIBS4UBVNVPROC __glewVertexAttribs4ubvNV = NULL; - -PFNGLBEGINVIDEOCAPTURENVPROC __glewBeginVideoCaptureNV = NULL; -PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC __glewBindVideoCaptureStreamBufferNV = NULL; -PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC __glewBindVideoCaptureStreamTextureNV = NULL; -PFNGLENDVIDEOCAPTURENVPROC __glewEndVideoCaptureNV = NULL; -PFNGLGETVIDEOCAPTURESTREAMDVNVPROC __glewGetVideoCaptureStreamdvNV = NULL; -PFNGLGETVIDEOCAPTURESTREAMFVNVPROC __glewGetVideoCaptureStreamfvNV = NULL; -PFNGLGETVIDEOCAPTURESTREAMIVNVPROC __glewGetVideoCaptureStreamivNV = NULL; -PFNGLGETVIDEOCAPTUREIVNVPROC __glewGetVideoCaptureivNV = NULL; -PFNGLVIDEOCAPTURENVPROC __glewVideoCaptureNV = NULL; -PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC __glewVideoCaptureStreamParameterdvNV = NULL; -PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC __glewVideoCaptureStreamParameterfvNV = NULL; -PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC __glewVideoCaptureStreamParameterivNV = NULL; - -PFNGLCLEARDEPTHFOESPROC __glewClearDepthfOES = NULL; -PFNGLCLIPPLANEFOESPROC __glewClipPlanefOES = NULL; -PFNGLDEPTHRANGEFOESPROC __glewDepthRangefOES = NULL; -PFNGLFRUSTUMFOESPROC __glewFrustumfOES = NULL; -PFNGLGETCLIPPLANEFOESPROC __glewGetClipPlanefOES = NULL; -PFNGLORTHOFOESPROC __glewOrthofOES = NULL; - -PFNGLERRORSTRINGREGALPROC __glewErrorStringREGAL = NULL; - -PFNGLGETEXTENSIONREGALPROC __glewGetExtensionREGAL = NULL; -PFNGLISSUPPORTEDREGALPROC __glewIsSupportedREGAL = NULL; - -PFNGLDETAILTEXFUNCSGISPROC __glewDetailTexFuncSGIS = NULL; -PFNGLGETDETAILTEXFUNCSGISPROC __glewGetDetailTexFuncSGIS = NULL; - -PFNGLFOGFUNCSGISPROC __glewFogFuncSGIS = NULL; -PFNGLGETFOGFUNCSGISPROC __glewGetFogFuncSGIS = NULL; - -PFNGLSAMPLEMASKSGISPROC __glewSampleMaskSGIS = NULL; -PFNGLSAMPLEPATTERNSGISPROC __glewSamplePatternSGIS = NULL; - -PFNGLGETSHARPENTEXFUNCSGISPROC __glewGetSharpenTexFuncSGIS = NULL; -PFNGLSHARPENTEXFUNCSGISPROC __glewSharpenTexFuncSGIS = NULL; - -PFNGLTEXIMAGE4DSGISPROC __glewTexImage4DSGIS = NULL; -PFNGLTEXSUBIMAGE4DSGISPROC __glewTexSubImage4DSGIS = NULL; - -PFNGLGETTEXFILTERFUNCSGISPROC __glewGetTexFilterFuncSGIS = NULL; -PFNGLTEXFILTERFUNCSGISPROC __glewTexFilterFuncSGIS = NULL; - -PFNGLASYNCMARKERSGIXPROC __glewAsyncMarkerSGIX = NULL; -PFNGLDELETEASYNCMARKERSSGIXPROC __glewDeleteAsyncMarkersSGIX = NULL; -PFNGLFINISHASYNCSGIXPROC __glewFinishAsyncSGIX = NULL; -PFNGLGENASYNCMARKERSSGIXPROC __glewGenAsyncMarkersSGIX = NULL; -PFNGLISASYNCMARKERSGIXPROC __glewIsAsyncMarkerSGIX = NULL; -PFNGLPOLLASYNCSGIXPROC __glewPollAsyncSGIX = NULL; - -PFNGLFLUSHRASTERSGIXPROC __glewFlushRasterSGIX = NULL; - -PFNGLTEXTUREFOGSGIXPROC __glewTextureFogSGIX = NULL; - -PFNGLFRAGMENTCOLORMATERIALSGIXPROC __glewFragmentColorMaterialSGIX = NULL; -PFNGLFRAGMENTLIGHTMODELFSGIXPROC __glewFragmentLightModelfSGIX = NULL; -PFNGLFRAGMENTLIGHTMODELFVSGIXPROC __glewFragmentLightModelfvSGIX = NULL; -PFNGLFRAGMENTLIGHTMODELISGIXPROC __glewFragmentLightModeliSGIX = NULL; -PFNGLFRAGMENTLIGHTMODELIVSGIXPROC __glewFragmentLightModelivSGIX = NULL; -PFNGLFRAGMENTLIGHTFSGIXPROC __glewFragmentLightfSGIX = NULL; -PFNGLFRAGMENTLIGHTFVSGIXPROC __glewFragmentLightfvSGIX = NULL; -PFNGLFRAGMENTLIGHTISGIXPROC __glewFragmentLightiSGIX = NULL; -PFNGLFRAGMENTLIGHTIVSGIXPROC __glewFragmentLightivSGIX = NULL; -PFNGLFRAGMENTMATERIALFSGIXPROC __glewFragmentMaterialfSGIX = NULL; -PFNGLFRAGMENTMATERIALFVSGIXPROC __glewFragmentMaterialfvSGIX = NULL; -PFNGLFRAGMENTMATERIALISGIXPROC __glewFragmentMaterialiSGIX = NULL; -PFNGLFRAGMENTMATERIALIVSGIXPROC __glewFragmentMaterialivSGIX = NULL; -PFNGLGETFRAGMENTLIGHTFVSGIXPROC __glewGetFragmentLightfvSGIX = NULL; -PFNGLGETFRAGMENTLIGHTIVSGIXPROC __glewGetFragmentLightivSGIX = NULL; -PFNGLGETFRAGMENTMATERIALFVSGIXPROC __glewGetFragmentMaterialfvSGIX = NULL; -PFNGLGETFRAGMENTMATERIALIVSGIXPROC __glewGetFragmentMaterialivSGIX = NULL; - -PFNGLFRAMEZOOMSGIXPROC __glewFrameZoomSGIX = NULL; - -PFNGLPIXELTEXGENSGIXPROC __glewPixelTexGenSGIX = NULL; - -PFNGLREFERENCEPLANESGIXPROC __glewReferencePlaneSGIX = NULL; - -PFNGLSPRITEPARAMETERFSGIXPROC __glewSpriteParameterfSGIX = NULL; -PFNGLSPRITEPARAMETERFVSGIXPROC __glewSpriteParameterfvSGIX = NULL; -PFNGLSPRITEPARAMETERISGIXPROC __glewSpriteParameteriSGIX = NULL; -PFNGLSPRITEPARAMETERIVSGIXPROC __glewSpriteParameterivSGIX = NULL; - -PFNGLTAGSAMPLEBUFFERSGIXPROC __glewTagSampleBufferSGIX = NULL; - -PFNGLCOLORTABLEPARAMETERFVSGIPROC __glewColorTableParameterfvSGI = NULL; -PFNGLCOLORTABLEPARAMETERIVSGIPROC __glewColorTableParameterivSGI = NULL; -PFNGLCOLORTABLESGIPROC __glewColorTableSGI = NULL; -PFNGLCOPYCOLORTABLESGIPROC __glewCopyColorTableSGI = NULL; -PFNGLGETCOLORTABLEPARAMETERFVSGIPROC __glewGetColorTableParameterfvSGI = NULL; -PFNGLGETCOLORTABLEPARAMETERIVSGIPROC __glewGetColorTableParameterivSGI = NULL; -PFNGLGETCOLORTABLESGIPROC __glewGetColorTableSGI = NULL; - -PFNGLFINISHTEXTURESUNXPROC __glewFinishTextureSUNX = NULL; - -PFNGLGLOBALALPHAFACTORBSUNPROC __glewGlobalAlphaFactorbSUN = NULL; -PFNGLGLOBALALPHAFACTORDSUNPROC __glewGlobalAlphaFactordSUN = NULL; -PFNGLGLOBALALPHAFACTORFSUNPROC __glewGlobalAlphaFactorfSUN = NULL; -PFNGLGLOBALALPHAFACTORISUNPROC __glewGlobalAlphaFactoriSUN = NULL; -PFNGLGLOBALALPHAFACTORSSUNPROC __glewGlobalAlphaFactorsSUN = NULL; -PFNGLGLOBALALPHAFACTORUBSUNPROC __glewGlobalAlphaFactorubSUN = NULL; -PFNGLGLOBALALPHAFACTORUISUNPROC __glewGlobalAlphaFactoruiSUN = NULL; -PFNGLGLOBALALPHAFACTORUSSUNPROC __glewGlobalAlphaFactorusSUN = NULL; - -PFNGLREADVIDEOPIXELSSUNPROC __glewReadVideoPixelsSUN = NULL; - -PFNGLREPLACEMENTCODEPOINTERSUNPROC __glewReplacementCodePointerSUN = NULL; -PFNGLREPLACEMENTCODEUBSUNPROC __glewReplacementCodeubSUN = NULL; -PFNGLREPLACEMENTCODEUBVSUNPROC __glewReplacementCodeubvSUN = NULL; -PFNGLREPLACEMENTCODEUISUNPROC __glewReplacementCodeuiSUN = NULL; -PFNGLREPLACEMENTCODEUIVSUNPROC __glewReplacementCodeuivSUN = NULL; -PFNGLREPLACEMENTCODEUSSUNPROC __glewReplacementCodeusSUN = NULL; -PFNGLREPLACEMENTCODEUSVSUNPROC __glewReplacementCodeusvSUN = NULL; - -PFNGLCOLOR3FVERTEX3FSUNPROC __glewColor3fVertex3fSUN = NULL; -PFNGLCOLOR3FVERTEX3FVSUNPROC __glewColor3fVertex3fvSUN = NULL; -PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewColor4fNormal3fVertex3fSUN = NULL; -PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewColor4fNormal3fVertex3fvSUN = NULL; -PFNGLCOLOR4UBVERTEX2FSUNPROC __glewColor4ubVertex2fSUN = NULL; -PFNGLCOLOR4UBVERTEX2FVSUNPROC __glewColor4ubVertex2fvSUN = NULL; -PFNGLCOLOR4UBVERTEX3FSUNPROC __glewColor4ubVertex3fSUN = NULL; -PFNGLCOLOR4UBVERTEX3FVSUNPROC __glewColor4ubVertex3fvSUN = NULL; -PFNGLNORMAL3FVERTEX3FSUNPROC __glewNormal3fVertex3fSUN = NULL; -PFNGLNORMAL3FVERTEX3FVSUNPROC __glewNormal3fVertex3fvSUN = NULL; -PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC __glewReplacementCodeuiColor3fVertex3fSUN = NULL; -PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC __glewReplacementCodeuiColor3fVertex3fvSUN = NULL; -PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiColor4fNormal3fVertex3fSUN = NULL; -PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiColor4fNormal3fVertex3fvSUN = NULL; -PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC __glewReplacementCodeuiColor4ubVertex3fSUN = NULL; -PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC __glewReplacementCodeuiColor4ubVertex3fvSUN = NULL; -PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiNormal3fVertex3fSUN = NULL; -PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiNormal3fVertex3fvSUN = NULL; -PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = NULL; -PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN = NULL; -PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = NULL; -PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN = NULL; -PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fVertex3fSUN = NULL; -PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fVertex3fvSUN = NULL; -PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC __glewReplacementCodeuiVertex3fSUN = NULL; -PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC __glewReplacementCodeuiVertex3fvSUN = NULL; -PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC __glewTexCoord2fColor3fVertex3fSUN = NULL; -PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC __glewTexCoord2fColor3fVertex3fvSUN = NULL; -PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewTexCoord2fColor4fNormal3fVertex3fSUN = NULL; -PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewTexCoord2fColor4fNormal3fVertex3fvSUN = NULL; -PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC __glewTexCoord2fColor4ubVertex3fSUN = NULL; -PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC __glewTexCoord2fColor4ubVertex3fvSUN = NULL; -PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC __glewTexCoord2fNormal3fVertex3fSUN = NULL; -PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC __glewTexCoord2fNormal3fVertex3fvSUN = NULL; -PFNGLTEXCOORD2FVERTEX3FSUNPROC __glewTexCoord2fVertex3fSUN = NULL; -PFNGLTEXCOORD2FVERTEX3FVSUNPROC __glewTexCoord2fVertex3fvSUN = NULL; -PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC __glewTexCoord4fColor4fNormal3fVertex4fSUN = NULL; -PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC __glewTexCoord4fColor4fNormal3fVertex4fvSUN = NULL; -PFNGLTEXCOORD4FVERTEX4FSUNPROC __glewTexCoord4fVertex4fSUN = NULL; -PFNGLTEXCOORD4FVERTEX4FVSUNPROC __glewTexCoord4fVertex4fvSUN = NULL; - -PFNGLADDSWAPHINTRECTWINPROC __glewAddSwapHintRectWIN = NULL; - -#endif /* !WIN32 || !GLEW_MX */ - -#if !defined(GLEW_MX) - -GLboolean __GLEW_VERSION_1_1 = GL_FALSE; -GLboolean __GLEW_VERSION_1_2 = GL_FALSE; -GLboolean __GLEW_VERSION_1_2_1 = GL_FALSE; -GLboolean __GLEW_VERSION_1_3 = GL_FALSE; -GLboolean __GLEW_VERSION_1_4 = GL_FALSE; -GLboolean __GLEW_VERSION_1_5 = GL_FALSE; -GLboolean __GLEW_VERSION_2_0 = GL_FALSE; -GLboolean __GLEW_VERSION_2_1 = GL_FALSE; -GLboolean __GLEW_VERSION_3_0 = GL_FALSE; -GLboolean __GLEW_VERSION_3_1 = GL_FALSE; -GLboolean __GLEW_VERSION_3_2 = GL_FALSE; -GLboolean __GLEW_VERSION_3_3 = GL_FALSE; -GLboolean __GLEW_VERSION_4_0 = GL_FALSE; -GLboolean __GLEW_VERSION_4_1 = GL_FALSE; -GLboolean __GLEW_VERSION_4_2 = GL_FALSE; -GLboolean __GLEW_VERSION_4_3 = GL_FALSE; -GLboolean __GLEW_3DFX_multisample = GL_FALSE; -GLboolean __GLEW_3DFX_tbuffer = GL_FALSE; -GLboolean __GLEW_3DFX_texture_compression_FXT1 = GL_FALSE; -GLboolean __GLEW_AMD_blend_minmax_factor = GL_FALSE; -GLboolean __GLEW_AMD_conservative_depth = GL_FALSE; -GLboolean __GLEW_AMD_debug_output = GL_FALSE; -GLboolean __GLEW_AMD_depth_clamp_separate = GL_FALSE; -GLboolean __GLEW_AMD_draw_buffers_blend = GL_FALSE; -GLboolean __GLEW_AMD_multi_draw_indirect = GL_FALSE; -GLboolean __GLEW_AMD_name_gen_delete = GL_FALSE; -GLboolean __GLEW_AMD_performance_monitor = GL_FALSE; -GLboolean __GLEW_AMD_pinned_memory = GL_FALSE; -GLboolean __GLEW_AMD_query_buffer_object = GL_FALSE; -GLboolean __GLEW_AMD_sample_positions = GL_FALSE; -GLboolean __GLEW_AMD_seamless_cubemap_per_texture = GL_FALSE; -GLboolean __GLEW_AMD_shader_stencil_export = GL_FALSE; -GLboolean __GLEW_AMD_stencil_operation_extended = GL_FALSE; -GLboolean __GLEW_AMD_texture_texture4 = GL_FALSE; -GLboolean __GLEW_AMD_transform_feedback3_lines_triangles = GL_FALSE; -GLboolean __GLEW_AMD_vertex_shader_layer = GL_FALSE; -GLboolean __GLEW_AMD_vertex_shader_tessellator = GL_FALSE; -GLboolean __GLEW_AMD_vertex_shader_viewport_index = GL_FALSE; -GLboolean __GLEW_APPLE_aux_depth_stencil = GL_FALSE; -GLboolean __GLEW_APPLE_client_storage = GL_FALSE; -GLboolean __GLEW_APPLE_element_array = GL_FALSE; -GLboolean __GLEW_APPLE_fence = GL_FALSE; -GLboolean __GLEW_APPLE_float_pixels = GL_FALSE; -GLboolean __GLEW_APPLE_flush_buffer_range = GL_FALSE; -GLboolean __GLEW_APPLE_object_purgeable = GL_FALSE; -GLboolean __GLEW_APPLE_pixel_buffer = GL_FALSE; -GLboolean __GLEW_APPLE_rgb_422 = GL_FALSE; -GLboolean __GLEW_APPLE_row_bytes = GL_FALSE; -GLboolean __GLEW_APPLE_specular_vector = GL_FALSE; -GLboolean __GLEW_APPLE_texture_range = GL_FALSE; -GLboolean __GLEW_APPLE_transform_hint = GL_FALSE; -GLboolean __GLEW_APPLE_vertex_array_object = GL_FALSE; -GLboolean __GLEW_APPLE_vertex_array_range = GL_FALSE; -GLboolean __GLEW_APPLE_vertex_program_evaluators = GL_FALSE; -GLboolean __GLEW_APPLE_ycbcr_422 = GL_FALSE; -GLboolean __GLEW_ARB_ES2_compatibility = GL_FALSE; -GLboolean __GLEW_ARB_ES3_compatibility = GL_FALSE; -GLboolean __GLEW_ARB_arrays_of_arrays = GL_FALSE; -GLboolean __GLEW_ARB_base_instance = GL_FALSE; -GLboolean __GLEW_ARB_blend_func_extended = GL_FALSE; -GLboolean __GLEW_ARB_cl_event = GL_FALSE; -GLboolean __GLEW_ARB_clear_buffer_object = GL_FALSE; -GLboolean __GLEW_ARB_color_buffer_float = GL_FALSE; -GLboolean __GLEW_ARB_compatibility = GL_FALSE; -GLboolean __GLEW_ARB_compressed_texture_pixel_storage = GL_FALSE; -GLboolean __GLEW_ARB_compute_shader = GL_FALSE; -GLboolean __GLEW_ARB_conservative_depth = GL_FALSE; -GLboolean __GLEW_ARB_copy_buffer = GL_FALSE; -GLboolean __GLEW_ARB_copy_image = GL_FALSE; -GLboolean __GLEW_ARB_debug_output = GL_FALSE; -GLboolean __GLEW_ARB_depth_buffer_float = GL_FALSE; -GLboolean __GLEW_ARB_depth_clamp = GL_FALSE; -GLboolean __GLEW_ARB_depth_texture = GL_FALSE; -GLboolean __GLEW_ARB_draw_buffers = GL_FALSE; -GLboolean __GLEW_ARB_draw_buffers_blend = GL_FALSE; -GLboolean __GLEW_ARB_draw_elements_base_vertex = GL_FALSE; -GLboolean __GLEW_ARB_draw_indirect = GL_FALSE; -GLboolean __GLEW_ARB_draw_instanced = GL_FALSE; -GLboolean __GLEW_ARB_explicit_attrib_location = GL_FALSE; -GLboolean __GLEW_ARB_explicit_uniform_location = GL_FALSE; -GLboolean __GLEW_ARB_fragment_coord_conventions = GL_FALSE; -GLboolean __GLEW_ARB_fragment_layer_viewport = GL_FALSE; -GLboolean __GLEW_ARB_fragment_program = GL_FALSE; -GLboolean __GLEW_ARB_fragment_program_shadow = GL_FALSE; -GLboolean __GLEW_ARB_fragment_shader = GL_FALSE; -GLboolean __GLEW_ARB_framebuffer_no_attachments = GL_FALSE; -GLboolean __GLEW_ARB_framebuffer_object = GL_FALSE; -GLboolean __GLEW_ARB_framebuffer_sRGB = GL_FALSE; -GLboolean __GLEW_ARB_geometry_shader4 = GL_FALSE; -GLboolean __GLEW_ARB_get_program_binary = GL_FALSE; -GLboolean __GLEW_ARB_gpu_shader5 = GL_FALSE; -GLboolean __GLEW_ARB_gpu_shader_fp64 = GL_FALSE; -GLboolean __GLEW_ARB_half_float_pixel = GL_FALSE; -GLboolean __GLEW_ARB_half_float_vertex = GL_FALSE; -GLboolean __GLEW_ARB_imaging = GL_FALSE; -GLboolean __GLEW_ARB_instanced_arrays = GL_FALSE; -GLboolean __GLEW_ARB_internalformat_query = GL_FALSE; -GLboolean __GLEW_ARB_internalformat_query2 = GL_FALSE; -GLboolean __GLEW_ARB_invalidate_subdata = GL_FALSE; -GLboolean __GLEW_ARB_map_buffer_alignment = GL_FALSE; -GLboolean __GLEW_ARB_map_buffer_range = GL_FALSE; -GLboolean __GLEW_ARB_matrix_palette = GL_FALSE; -GLboolean __GLEW_ARB_multi_draw_indirect = GL_FALSE; -GLboolean __GLEW_ARB_multisample = GL_FALSE; -GLboolean __GLEW_ARB_multitexture = GL_FALSE; -GLboolean __GLEW_ARB_occlusion_query = GL_FALSE; -GLboolean __GLEW_ARB_occlusion_query2 = GL_FALSE; -GLboolean __GLEW_ARB_pixel_buffer_object = GL_FALSE; -GLboolean __GLEW_ARB_point_parameters = GL_FALSE; -GLboolean __GLEW_ARB_point_sprite = GL_FALSE; -GLboolean __GLEW_ARB_program_interface_query = GL_FALSE; -GLboolean __GLEW_ARB_provoking_vertex = GL_FALSE; -GLboolean __GLEW_ARB_robust_buffer_access_behavior = GL_FALSE; -GLboolean __GLEW_ARB_robustness = GL_FALSE; -GLboolean __GLEW_ARB_robustness_application_isolation = GL_FALSE; -GLboolean __GLEW_ARB_robustness_share_group_isolation = GL_FALSE; -GLboolean __GLEW_ARB_sample_shading = GL_FALSE; -GLboolean __GLEW_ARB_sampler_objects = GL_FALSE; -GLboolean __GLEW_ARB_seamless_cube_map = GL_FALSE; -GLboolean __GLEW_ARB_separate_shader_objects = GL_FALSE; -GLboolean __GLEW_ARB_shader_atomic_counters = GL_FALSE; -GLboolean __GLEW_ARB_shader_bit_encoding = GL_FALSE; -GLboolean __GLEW_ARB_shader_image_load_store = GL_FALSE; -GLboolean __GLEW_ARB_shader_image_size = GL_FALSE; -GLboolean __GLEW_ARB_shader_objects = GL_FALSE; -GLboolean __GLEW_ARB_shader_precision = GL_FALSE; -GLboolean __GLEW_ARB_shader_stencil_export = GL_FALSE; -GLboolean __GLEW_ARB_shader_storage_buffer_object = GL_FALSE; -GLboolean __GLEW_ARB_shader_subroutine = GL_FALSE; -GLboolean __GLEW_ARB_shader_texture_lod = GL_FALSE; -GLboolean __GLEW_ARB_shading_language_100 = GL_FALSE; -GLboolean __GLEW_ARB_shading_language_420pack = GL_FALSE; -GLboolean __GLEW_ARB_shading_language_include = GL_FALSE; -GLboolean __GLEW_ARB_shading_language_packing = GL_FALSE; -GLboolean __GLEW_ARB_shadow = GL_FALSE; -GLboolean __GLEW_ARB_shadow_ambient = GL_FALSE; -GLboolean __GLEW_ARB_stencil_texturing = GL_FALSE; -GLboolean __GLEW_ARB_sync = GL_FALSE; -GLboolean __GLEW_ARB_tessellation_shader = GL_FALSE; -GLboolean __GLEW_ARB_texture_border_clamp = GL_FALSE; -GLboolean __GLEW_ARB_texture_buffer_object = GL_FALSE; -GLboolean __GLEW_ARB_texture_buffer_object_rgb32 = GL_FALSE; -GLboolean __GLEW_ARB_texture_buffer_range = GL_FALSE; -GLboolean __GLEW_ARB_texture_compression = GL_FALSE; -GLboolean __GLEW_ARB_texture_compression_bptc = GL_FALSE; -GLboolean __GLEW_ARB_texture_compression_rgtc = GL_FALSE; -GLboolean __GLEW_ARB_texture_cube_map = GL_FALSE; -GLboolean __GLEW_ARB_texture_cube_map_array = GL_FALSE; -GLboolean __GLEW_ARB_texture_env_add = GL_FALSE; -GLboolean __GLEW_ARB_texture_env_combine = GL_FALSE; -GLboolean __GLEW_ARB_texture_env_crossbar = GL_FALSE; -GLboolean __GLEW_ARB_texture_env_dot3 = GL_FALSE; -GLboolean __GLEW_ARB_texture_float = GL_FALSE; -GLboolean __GLEW_ARB_texture_gather = GL_FALSE; -GLboolean __GLEW_ARB_texture_mirrored_repeat = GL_FALSE; -GLboolean __GLEW_ARB_texture_multisample = GL_FALSE; -GLboolean __GLEW_ARB_texture_non_power_of_two = GL_FALSE; -GLboolean __GLEW_ARB_texture_query_levels = GL_FALSE; -GLboolean __GLEW_ARB_texture_query_lod = GL_FALSE; -GLboolean __GLEW_ARB_texture_rectangle = GL_FALSE; -GLboolean __GLEW_ARB_texture_rg = GL_FALSE; -GLboolean __GLEW_ARB_texture_rgb10_a2ui = GL_FALSE; -GLboolean __GLEW_ARB_texture_storage = GL_FALSE; -GLboolean __GLEW_ARB_texture_storage_multisample = GL_FALSE; -GLboolean __GLEW_ARB_texture_swizzle = GL_FALSE; -GLboolean __GLEW_ARB_texture_view = GL_FALSE; -GLboolean __GLEW_ARB_timer_query = GL_FALSE; -GLboolean __GLEW_ARB_transform_feedback2 = GL_FALSE; -GLboolean __GLEW_ARB_transform_feedback3 = GL_FALSE; -GLboolean __GLEW_ARB_transform_feedback_instanced = GL_FALSE; -GLboolean __GLEW_ARB_transpose_matrix = GL_FALSE; -GLboolean __GLEW_ARB_uniform_buffer_object = GL_FALSE; -GLboolean __GLEW_ARB_vertex_array_bgra = GL_FALSE; -GLboolean __GLEW_ARB_vertex_array_object = GL_FALSE; -GLboolean __GLEW_ARB_vertex_attrib_64bit = GL_FALSE; -GLboolean __GLEW_ARB_vertex_attrib_binding = GL_FALSE; -GLboolean __GLEW_ARB_vertex_blend = GL_FALSE; -GLboolean __GLEW_ARB_vertex_buffer_object = GL_FALSE; -GLboolean __GLEW_ARB_vertex_program = GL_FALSE; -GLboolean __GLEW_ARB_vertex_shader = GL_FALSE; -GLboolean __GLEW_ARB_vertex_type_2_10_10_10_rev = GL_FALSE; -GLboolean __GLEW_ARB_viewport_array = GL_FALSE; -GLboolean __GLEW_ARB_window_pos = GL_FALSE; -GLboolean __GLEW_ATIX_point_sprites = GL_FALSE; -GLboolean __GLEW_ATIX_texture_env_combine3 = GL_FALSE; -GLboolean __GLEW_ATIX_texture_env_route = GL_FALSE; -GLboolean __GLEW_ATIX_vertex_shader_output_point_size = GL_FALSE; -GLboolean __GLEW_ATI_draw_buffers = GL_FALSE; -GLboolean __GLEW_ATI_element_array = GL_FALSE; -GLboolean __GLEW_ATI_envmap_bumpmap = GL_FALSE; -GLboolean __GLEW_ATI_fragment_shader = GL_FALSE; -GLboolean __GLEW_ATI_map_object_buffer = GL_FALSE; -GLboolean __GLEW_ATI_meminfo = GL_FALSE; -GLboolean __GLEW_ATI_pn_triangles = GL_FALSE; -GLboolean __GLEW_ATI_separate_stencil = GL_FALSE; -GLboolean __GLEW_ATI_shader_texture_lod = GL_FALSE; -GLboolean __GLEW_ATI_text_fragment_shader = GL_FALSE; -GLboolean __GLEW_ATI_texture_compression_3dc = GL_FALSE; -GLboolean __GLEW_ATI_texture_env_combine3 = GL_FALSE; -GLboolean __GLEW_ATI_texture_float = GL_FALSE; -GLboolean __GLEW_ATI_texture_mirror_once = GL_FALSE; -GLboolean __GLEW_ATI_vertex_array_object = GL_FALSE; -GLboolean __GLEW_ATI_vertex_attrib_array_object = GL_FALSE; -GLboolean __GLEW_ATI_vertex_streams = GL_FALSE; -GLboolean __GLEW_EXT_422_pixels = GL_FALSE; -GLboolean __GLEW_EXT_Cg_shader = GL_FALSE; -GLboolean __GLEW_EXT_abgr = GL_FALSE; -GLboolean __GLEW_EXT_bgra = GL_FALSE; -GLboolean __GLEW_EXT_bindable_uniform = GL_FALSE; -GLboolean __GLEW_EXT_blend_color = GL_FALSE; -GLboolean __GLEW_EXT_blend_equation_separate = GL_FALSE; -GLboolean __GLEW_EXT_blend_func_separate = GL_FALSE; -GLboolean __GLEW_EXT_blend_logic_op = GL_FALSE; -GLboolean __GLEW_EXT_blend_minmax = GL_FALSE; -GLboolean __GLEW_EXT_blend_subtract = GL_FALSE; -GLboolean __GLEW_EXT_clip_volume_hint = GL_FALSE; -GLboolean __GLEW_EXT_cmyka = GL_FALSE; -GLboolean __GLEW_EXT_color_subtable = GL_FALSE; -GLboolean __GLEW_EXT_compiled_vertex_array = GL_FALSE; -GLboolean __GLEW_EXT_convolution = GL_FALSE; -GLboolean __GLEW_EXT_coordinate_frame = GL_FALSE; -GLboolean __GLEW_EXT_copy_texture = GL_FALSE; -GLboolean __GLEW_EXT_cull_vertex = GL_FALSE; -GLboolean __GLEW_EXT_debug_marker = GL_FALSE; -GLboolean __GLEW_EXT_depth_bounds_test = GL_FALSE; -GLboolean __GLEW_EXT_direct_state_access = GL_FALSE; -GLboolean __GLEW_EXT_draw_buffers2 = GL_FALSE; -GLboolean __GLEW_EXT_draw_instanced = GL_FALSE; -GLboolean __GLEW_EXT_draw_range_elements = GL_FALSE; -GLboolean __GLEW_EXT_fog_coord = GL_FALSE; -GLboolean __GLEW_EXT_fragment_lighting = GL_FALSE; -GLboolean __GLEW_EXT_framebuffer_blit = GL_FALSE; -GLboolean __GLEW_EXT_framebuffer_multisample = GL_FALSE; -GLboolean __GLEW_EXT_framebuffer_multisample_blit_scaled = GL_FALSE; -GLboolean __GLEW_EXT_framebuffer_object = GL_FALSE; -GLboolean __GLEW_EXT_framebuffer_sRGB = GL_FALSE; -GLboolean __GLEW_EXT_geometry_shader4 = GL_FALSE; -GLboolean __GLEW_EXT_gpu_program_parameters = GL_FALSE; -GLboolean __GLEW_EXT_gpu_shader4 = GL_FALSE; -GLboolean __GLEW_EXT_histogram = GL_FALSE; -GLboolean __GLEW_EXT_index_array_formats = GL_FALSE; -GLboolean __GLEW_EXT_index_func = GL_FALSE; -GLboolean __GLEW_EXT_index_material = GL_FALSE; -GLboolean __GLEW_EXT_index_texture = GL_FALSE; -GLboolean __GLEW_EXT_light_texture = GL_FALSE; -GLboolean __GLEW_EXT_misc_attribute = GL_FALSE; -GLboolean __GLEW_EXT_multi_draw_arrays = GL_FALSE; -GLboolean __GLEW_EXT_multisample = GL_FALSE; -GLboolean __GLEW_EXT_packed_depth_stencil = GL_FALSE; -GLboolean __GLEW_EXT_packed_float = GL_FALSE; -GLboolean __GLEW_EXT_packed_pixels = GL_FALSE; -GLboolean __GLEW_EXT_paletted_texture = GL_FALSE; -GLboolean __GLEW_EXT_pixel_buffer_object = GL_FALSE; -GLboolean __GLEW_EXT_pixel_transform = GL_FALSE; -GLboolean __GLEW_EXT_pixel_transform_color_table = GL_FALSE; -GLboolean __GLEW_EXT_point_parameters = GL_FALSE; -GLboolean __GLEW_EXT_polygon_offset = GL_FALSE; -GLboolean __GLEW_EXT_provoking_vertex = GL_FALSE; -GLboolean __GLEW_EXT_rescale_normal = GL_FALSE; -GLboolean __GLEW_EXT_scene_marker = GL_FALSE; -GLboolean __GLEW_EXT_secondary_color = GL_FALSE; -GLboolean __GLEW_EXT_separate_shader_objects = GL_FALSE; -GLboolean __GLEW_EXT_separate_specular_color = GL_FALSE; -GLboolean __GLEW_EXT_shader_image_load_store = GL_FALSE; -GLboolean __GLEW_EXT_shadow_funcs = GL_FALSE; -GLboolean __GLEW_EXT_shared_texture_palette = GL_FALSE; -GLboolean __GLEW_EXT_stencil_clear_tag = GL_FALSE; -GLboolean __GLEW_EXT_stencil_two_side = GL_FALSE; -GLboolean __GLEW_EXT_stencil_wrap = GL_FALSE; -GLboolean __GLEW_EXT_subtexture = GL_FALSE; -GLboolean __GLEW_EXT_texture = GL_FALSE; -GLboolean __GLEW_EXT_texture3D = GL_FALSE; -GLboolean __GLEW_EXT_texture_array = GL_FALSE; -GLboolean __GLEW_EXT_texture_buffer_object = GL_FALSE; -GLboolean __GLEW_EXT_texture_compression_dxt1 = GL_FALSE; -GLboolean __GLEW_EXT_texture_compression_latc = GL_FALSE; -GLboolean __GLEW_EXT_texture_compression_rgtc = GL_FALSE; -GLboolean __GLEW_EXT_texture_compression_s3tc = GL_FALSE; -GLboolean __GLEW_EXT_texture_cube_map = GL_FALSE; -GLboolean __GLEW_EXT_texture_edge_clamp = GL_FALSE; -GLboolean __GLEW_EXT_texture_env = GL_FALSE; -GLboolean __GLEW_EXT_texture_env_add = GL_FALSE; -GLboolean __GLEW_EXT_texture_env_combine = GL_FALSE; -GLboolean __GLEW_EXT_texture_env_dot3 = GL_FALSE; -GLboolean __GLEW_EXT_texture_filter_anisotropic = GL_FALSE; -GLboolean __GLEW_EXT_texture_integer = GL_FALSE; -GLboolean __GLEW_EXT_texture_lod_bias = GL_FALSE; -GLboolean __GLEW_EXT_texture_mirror_clamp = GL_FALSE; -GLboolean __GLEW_EXT_texture_object = GL_FALSE; -GLboolean __GLEW_EXT_texture_perturb_normal = GL_FALSE; -GLboolean __GLEW_EXT_texture_rectangle = GL_FALSE; -GLboolean __GLEW_EXT_texture_sRGB = GL_FALSE; -GLboolean __GLEW_EXT_texture_sRGB_decode = GL_FALSE; -GLboolean __GLEW_EXT_texture_shared_exponent = GL_FALSE; -GLboolean __GLEW_EXT_texture_snorm = GL_FALSE; -GLboolean __GLEW_EXT_texture_swizzle = GL_FALSE; -GLboolean __GLEW_EXT_timer_query = GL_FALSE; -GLboolean __GLEW_EXT_transform_feedback = GL_FALSE; -GLboolean __GLEW_EXT_vertex_array = GL_FALSE; -GLboolean __GLEW_EXT_vertex_array_bgra = GL_FALSE; -GLboolean __GLEW_EXT_vertex_attrib_64bit = GL_FALSE; -GLboolean __GLEW_EXT_vertex_shader = GL_FALSE; -GLboolean __GLEW_EXT_vertex_weighting = GL_FALSE; -GLboolean __GLEW_EXT_x11_sync_object = GL_FALSE; -GLboolean __GLEW_GREMEDY_frame_terminator = GL_FALSE; -GLboolean __GLEW_GREMEDY_string_marker = GL_FALSE; -GLboolean __GLEW_HP_convolution_border_modes = GL_FALSE; -GLboolean __GLEW_HP_image_transform = GL_FALSE; -GLboolean __GLEW_HP_occlusion_test = GL_FALSE; -GLboolean __GLEW_HP_texture_lighting = GL_FALSE; -GLboolean __GLEW_IBM_cull_vertex = GL_FALSE; -GLboolean __GLEW_IBM_multimode_draw_arrays = GL_FALSE; -GLboolean __GLEW_IBM_rasterpos_clip = GL_FALSE; -GLboolean __GLEW_IBM_static_data = GL_FALSE; -GLboolean __GLEW_IBM_texture_mirrored_repeat = GL_FALSE; -GLboolean __GLEW_IBM_vertex_array_lists = GL_FALSE; -GLboolean __GLEW_INGR_color_clamp = GL_FALSE; -GLboolean __GLEW_INGR_interlace_read = GL_FALSE; -GLboolean __GLEW_INTEL_parallel_arrays = GL_FALSE; -GLboolean __GLEW_INTEL_texture_scissor = GL_FALSE; -GLboolean __GLEW_KHR_debug = GL_FALSE; -GLboolean __GLEW_KHR_texture_compression_astc_ldr = GL_FALSE; -GLboolean __GLEW_KTX_buffer_region = GL_FALSE; -GLboolean __GLEW_MESAX_texture_stack = GL_FALSE; -GLboolean __GLEW_MESA_pack_invert = GL_FALSE; -GLboolean __GLEW_MESA_resize_buffers = GL_FALSE; -GLboolean __GLEW_MESA_window_pos = GL_FALSE; -GLboolean __GLEW_MESA_ycbcr_texture = GL_FALSE; -GLboolean __GLEW_NVX_gpu_memory_info = GL_FALSE; -GLboolean __GLEW_NV_bindless_texture = GL_FALSE; -GLboolean __GLEW_NV_blend_square = GL_FALSE; -GLboolean __GLEW_NV_conditional_render = GL_FALSE; -GLboolean __GLEW_NV_copy_depth_to_color = GL_FALSE; -GLboolean __GLEW_NV_copy_image = GL_FALSE; -GLboolean __GLEW_NV_depth_buffer_float = GL_FALSE; -GLboolean __GLEW_NV_depth_clamp = GL_FALSE; -GLboolean __GLEW_NV_depth_range_unclamped = GL_FALSE; -GLboolean __GLEW_NV_evaluators = GL_FALSE; -GLboolean __GLEW_NV_explicit_multisample = GL_FALSE; -GLboolean __GLEW_NV_fence = GL_FALSE; -GLboolean __GLEW_NV_float_buffer = GL_FALSE; -GLboolean __GLEW_NV_fog_distance = GL_FALSE; -GLboolean __GLEW_NV_fragment_program = GL_FALSE; -GLboolean __GLEW_NV_fragment_program2 = GL_FALSE; -GLboolean __GLEW_NV_fragment_program4 = GL_FALSE; -GLboolean __GLEW_NV_fragment_program_option = GL_FALSE; -GLboolean __GLEW_NV_framebuffer_multisample_coverage = GL_FALSE; -GLboolean __GLEW_NV_geometry_program4 = GL_FALSE; -GLboolean __GLEW_NV_geometry_shader4 = GL_FALSE; -GLboolean __GLEW_NV_gpu_program4 = GL_FALSE; -GLboolean __GLEW_NV_gpu_program5 = GL_FALSE; -GLboolean __GLEW_NV_gpu_program_fp64 = GL_FALSE; -GLboolean __GLEW_NV_gpu_shader5 = GL_FALSE; -GLboolean __GLEW_NV_half_float = GL_FALSE; -GLboolean __GLEW_NV_light_max_exponent = GL_FALSE; -GLboolean __GLEW_NV_multisample_coverage = GL_FALSE; -GLboolean __GLEW_NV_multisample_filter_hint = GL_FALSE; -GLboolean __GLEW_NV_occlusion_query = GL_FALSE; -GLboolean __GLEW_NV_packed_depth_stencil = GL_FALSE; -GLboolean __GLEW_NV_parameter_buffer_object = GL_FALSE; -GLboolean __GLEW_NV_parameter_buffer_object2 = GL_FALSE; -GLboolean __GLEW_NV_path_rendering = GL_FALSE; -GLboolean __GLEW_NV_pixel_data_range = GL_FALSE; -GLboolean __GLEW_NV_point_sprite = GL_FALSE; -GLboolean __GLEW_NV_present_video = GL_FALSE; -GLboolean __GLEW_NV_primitive_restart = GL_FALSE; -GLboolean __GLEW_NV_register_combiners = GL_FALSE; -GLboolean __GLEW_NV_register_combiners2 = GL_FALSE; -GLboolean __GLEW_NV_shader_atomic_float = GL_FALSE; -GLboolean __GLEW_NV_shader_buffer_load = GL_FALSE; -GLboolean __GLEW_NV_tessellation_program5 = GL_FALSE; -GLboolean __GLEW_NV_texgen_emboss = GL_FALSE; -GLboolean __GLEW_NV_texgen_reflection = GL_FALSE; -GLboolean __GLEW_NV_texture_barrier = GL_FALSE; -GLboolean __GLEW_NV_texture_compression_vtc = GL_FALSE; -GLboolean __GLEW_NV_texture_env_combine4 = GL_FALSE; -GLboolean __GLEW_NV_texture_expand_normal = GL_FALSE; -GLboolean __GLEW_NV_texture_multisample = GL_FALSE; -GLboolean __GLEW_NV_texture_rectangle = GL_FALSE; -GLboolean __GLEW_NV_texture_shader = GL_FALSE; -GLboolean __GLEW_NV_texture_shader2 = GL_FALSE; -GLboolean __GLEW_NV_texture_shader3 = GL_FALSE; -GLboolean __GLEW_NV_transform_feedback = GL_FALSE; -GLboolean __GLEW_NV_transform_feedback2 = GL_FALSE; -GLboolean __GLEW_NV_vdpau_interop = GL_FALSE; -GLboolean __GLEW_NV_vertex_array_range = GL_FALSE; -GLboolean __GLEW_NV_vertex_array_range2 = GL_FALSE; -GLboolean __GLEW_NV_vertex_attrib_integer_64bit = GL_FALSE; -GLboolean __GLEW_NV_vertex_buffer_unified_memory = GL_FALSE; -GLboolean __GLEW_NV_vertex_program = GL_FALSE; -GLboolean __GLEW_NV_vertex_program1_1 = GL_FALSE; -GLboolean __GLEW_NV_vertex_program2 = GL_FALSE; -GLboolean __GLEW_NV_vertex_program2_option = GL_FALSE; -GLboolean __GLEW_NV_vertex_program3 = GL_FALSE; -GLboolean __GLEW_NV_vertex_program4 = GL_FALSE; -GLboolean __GLEW_NV_video_capture = GL_FALSE; -GLboolean __GLEW_OES_byte_coordinates = GL_FALSE; -GLboolean __GLEW_OES_compressed_paletted_texture = GL_FALSE; -GLboolean __GLEW_OES_read_format = GL_FALSE; -GLboolean __GLEW_OES_single_precision = GL_FALSE; -GLboolean __GLEW_OML_interlace = GL_FALSE; -GLboolean __GLEW_OML_resample = GL_FALSE; -GLboolean __GLEW_OML_subsample = GL_FALSE; -GLboolean __GLEW_PGI_misc_hints = GL_FALSE; -GLboolean __GLEW_PGI_vertex_hints = GL_FALSE; -GLboolean __GLEW_REGAL_error_string = GL_FALSE; -GLboolean __GLEW_REGAL_extension_query = GL_FALSE; -GLboolean __GLEW_REGAL_log = GL_FALSE; -GLboolean __GLEW_REND_screen_coordinates = GL_FALSE; -GLboolean __GLEW_S3_s3tc = GL_FALSE; -GLboolean __GLEW_SGIS_color_range = GL_FALSE; -GLboolean __GLEW_SGIS_detail_texture = GL_FALSE; -GLboolean __GLEW_SGIS_fog_function = GL_FALSE; -GLboolean __GLEW_SGIS_generate_mipmap = GL_FALSE; -GLboolean __GLEW_SGIS_multisample = GL_FALSE; -GLboolean __GLEW_SGIS_pixel_texture = GL_FALSE; -GLboolean __GLEW_SGIS_point_line_texgen = GL_FALSE; -GLboolean __GLEW_SGIS_sharpen_texture = GL_FALSE; -GLboolean __GLEW_SGIS_texture4D = GL_FALSE; -GLboolean __GLEW_SGIS_texture_border_clamp = GL_FALSE; -GLboolean __GLEW_SGIS_texture_edge_clamp = GL_FALSE; -GLboolean __GLEW_SGIS_texture_filter4 = GL_FALSE; -GLboolean __GLEW_SGIS_texture_lod = GL_FALSE; -GLboolean __GLEW_SGIS_texture_select = GL_FALSE; -GLboolean __GLEW_SGIX_async = GL_FALSE; -GLboolean __GLEW_SGIX_async_histogram = GL_FALSE; -GLboolean __GLEW_SGIX_async_pixel = GL_FALSE; -GLboolean __GLEW_SGIX_blend_alpha_minmax = GL_FALSE; -GLboolean __GLEW_SGIX_clipmap = GL_FALSE; -GLboolean __GLEW_SGIX_convolution_accuracy = GL_FALSE; -GLboolean __GLEW_SGIX_depth_texture = GL_FALSE; -GLboolean __GLEW_SGIX_flush_raster = GL_FALSE; -GLboolean __GLEW_SGIX_fog_offset = GL_FALSE; -GLboolean __GLEW_SGIX_fog_texture = GL_FALSE; -GLboolean __GLEW_SGIX_fragment_specular_lighting = GL_FALSE; -GLboolean __GLEW_SGIX_framezoom = GL_FALSE; -GLboolean __GLEW_SGIX_interlace = GL_FALSE; -GLboolean __GLEW_SGIX_ir_instrument1 = GL_FALSE; -GLboolean __GLEW_SGIX_list_priority = GL_FALSE; -GLboolean __GLEW_SGIX_pixel_texture = GL_FALSE; -GLboolean __GLEW_SGIX_pixel_texture_bits = GL_FALSE; -GLboolean __GLEW_SGIX_reference_plane = GL_FALSE; -GLboolean __GLEW_SGIX_resample = GL_FALSE; -GLboolean __GLEW_SGIX_shadow = GL_FALSE; -GLboolean __GLEW_SGIX_shadow_ambient = GL_FALSE; -GLboolean __GLEW_SGIX_sprite = GL_FALSE; -GLboolean __GLEW_SGIX_tag_sample_buffer = GL_FALSE; -GLboolean __GLEW_SGIX_texture_add_env = GL_FALSE; -GLboolean __GLEW_SGIX_texture_coordinate_clamp = GL_FALSE; -GLboolean __GLEW_SGIX_texture_lod_bias = GL_FALSE; -GLboolean __GLEW_SGIX_texture_multi_buffer = GL_FALSE; -GLboolean __GLEW_SGIX_texture_range = GL_FALSE; -GLboolean __GLEW_SGIX_texture_scale_bias = GL_FALSE; -GLboolean __GLEW_SGIX_vertex_preclip = GL_FALSE; -GLboolean __GLEW_SGIX_vertex_preclip_hint = GL_FALSE; -GLboolean __GLEW_SGIX_ycrcb = GL_FALSE; -GLboolean __GLEW_SGI_color_matrix = GL_FALSE; -GLboolean __GLEW_SGI_color_table = GL_FALSE; -GLboolean __GLEW_SGI_texture_color_table = GL_FALSE; -GLboolean __GLEW_SUNX_constant_data = GL_FALSE; -GLboolean __GLEW_SUN_convolution_border_modes = GL_FALSE; -GLboolean __GLEW_SUN_global_alpha = GL_FALSE; -GLboolean __GLEW_SUN_mesh_array = GL_FALSE; -GLboolean __GLEW_SUN_read_video_pixels = GL_FALSE; -GLboolean __GLEW_SUN_slice_accum = GL_FALSE; -GLboolean __GLEW_SUN_triangle_list = GL_FALSE; -GLboolean __GLEW_SUN_vertex = GL_FALSE; -GLboolean __GLEW_WIN_phong_shading = GL_FALSE; -GLboolean __GLEW_WIN_specular_fog = GL_FALSE; -GLboolean __GLEW_WIN_swap_hint = GL_FALSE; - -#endif /* !GLEW_MX */ - -#ifdef GL_VERSION_1_2 - -static GLboolean _glewInit_GL_VERSION_1_2 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage3D")) == NULL) || r; - r = ((glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElements")) == NULL) || r; - r = ((glTexImage3D = (PFNGLTEXIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glTexImage3D")) == NULL) || r; - r = ((glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage3D")) == NULL) || r; - - return r; -} - -#endif /* GL_VERSION_1_2 */ - -#ifdef GL_VERSION_1_2_1 - -#endif /* GL_VERSION_1_2_1 */ - -#ifdef GL_VERSION_1_3 - -static GLboolean _glewInit_GL_VERSION_1_3 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glActiveTexture = (PFNGLACTIVETEXTUREPROC)glewGetProcAddress((const GLubyte*)"glActiveTexture")) == NULL) || r; - r = ((glClientActiveTexture = (PFNGLCLIENTACTIVETEXTUREPROC)glewGetProcAddress((const GLubyte*)"glClientActiveTexture")) == NULL) || r; - r = ((glCompressedTexImage1D = (PFNGLCOMPRESSEDTEXIMAGE1DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage1D")) == NULL) || r; - r = ((glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage2D")) == NULL) || r; - r = ((glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage3D")) == NULL) || r; - r = ((glCompressedTexSubImage1D = (PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage1D")) == NULL) || r; - r = ((glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage2D")) == NULL) || r; - r = ((glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage3D")) == NULL) || r; - r = ((glGetCompressedTexImage = (PFNGLGETCOMPRESSEDTEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTexImage")) == NULL) || r; - r = ((glLoadTransposeMatrixd = (PFNGLLOADTRANSPOSEMATRIXDPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixd")) == NULL) || r; - r = ((glLoadTransposeMatrixf = (PFNGLLOADTRANSPOSEMATRIXFPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixf")) == NULL) || r; - r = ((glMultTransposeMatrixd = (PFNGLMULTTRANSPOSEMATRIXDPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixd")) == NULL) || r; - r = ((glMultTransposeMatrixf = (PFNGLMULTTRANSPOSEMATRIXFPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixf")) == NULL) || r; - r = ((glMultiTexCoord1d = (PFNGLMULTITEXCOORD1DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1d")) == NULL) || r; - r = ((glMultiTexCoord1dv = (PFNGLMULTITEXCOORD1DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1dv")) == NULL) || r; - r = ((glMultiTexCoord1f = (PFNGLMULTITEXCOORD1FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1f")) == NULL) || r; - r = ((glMultiTexCoord1fv = (PFNGLMULTITEXCOORD1FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1fv")) == NULL) || r; - r = ((glMultiTexCoord1i = (PFNGLMULTITEXCOORD1IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1i")) == NULL) || r; - r = ((glMultiTexCoord1iv = (PFNGLMULTITEXCOORD1IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1iv")) == NULL) || r; - r = ((glMultiTexCoord1s = (PFNGLMULTITEXCOORD1SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1s")) == NULL) || r; - r = ((glMultiTexCoord1sv = (PFNGLMULTITEXCOORD1SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1sv")) == NULL) || r; - r = ((glMultiTexCoord2d = (PFNGLMULTITEXCOORD2DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2d")) == NULL) || r; - r = ((glMultiTexCoord2dv = (PFNGLMULTITEXCOORD2DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2dv")) == NULL) || r; - r = ((glMultiTexCoord2f = (PFNGLMULTITEXCOORD2FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2f")) == NULL) || r; - r = ((glMultiTexCoord2fv = (PFNGLMULTITEXCOORD2FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2fv")) == NULL) || r; - r = ((glMultiTexCoord2i = (PFNGLMULTITEXCOORD2IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2i")) == NULL) || r; - r = ((glMultiTexCoord2iv = (PFNGLMULTITEXCOORD2IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2iv")) == NULL) || r; - r = ((glMultiTexCoord2s = (PFNGLMULTITEXCOORD2SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2s")) == NULL) || r; - r = ((glMultiTexCoord2sv = (PFNGLMULTITEXCOORD2SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2sv")) == NULL) || r; - r = ((glMultiTexCoord3d = (PFNGLMULTITEXCOORD3DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3d")) == NULL) || r; - r = ((glMultiTexCoord3dv = (PFNGLMULTITEXCOORD3DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3dv")) == NULL) || r; - r = ((glMultiTexCoord3f = (PFNGLMULTITEXCOORD3FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3f")) == NULL) || r; - r = ((glMultiTexCoord3fv = (PFNGLMULTITEXCOORD3FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3fv")) == NULL) || r; - r = ((glMultiTexCoord3i = (PFNGLMULTITEXCOORD3IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3i")) == NULL) || r; - r = ((glMultiTexCoord3iv = (PFNGLMULTITEXCOORD3IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3iv")) == NULL) || r; - r = ((glMultiTexCoord3s = (PFNGLMULTITEXCOORD3SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3s")) == NULL) || r; - r = ((glMultiTexCoord3sv = (PFNGLMULTITEXCOORD3SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3sv")) == NULL) || r; - r = ((glMultiTexCoord4d = (PFNGLMULTITEXCOORD4DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4d")) == NULL) || r; - r = ((glMultiTexCoord4dv = (PFNGLMULTITEXCOORD4DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4dv")) == NULL) || r; - r = ((glMultiTexCoord4f = (PFNGLMULTITEXCOORD4FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4f")) == NULL) || r; - r = ((glMultiTexCoord4fv = (PFNGLMULTITEXCOORD4FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4fv")) == NULL) || r; - r = ((glMultiTexCoord4i = (PFNGLMULTITEXCOORD4IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4i")) == NULL) || r; - r = ((glMultiTexCoord4iv = (PFNGLMULTITEXCOORD4IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4iv")) == NULL) || r; - r = ((glMultiTexCoord4s = (PFNGLMULTITEXCOORD4SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4s")) == NULL) || r; - r = ((glMultiTexCoord4sv = (PFNGLMULTITEXCOORD4SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4sv")) == NULL) || r; - r = ((glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)glewGetProcAddress((const GLubyte*)"glSampleCoverage")) == NULL) || r; - - return r; -} - -#endif /* GL_VERSION_1_3 */ - -#ifdef GL_VERSION_1_4 - -static GLboolean _glewInit_GL_VERSION_1_4 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBlendColor = (PFNGLBLENDCOLORPROC)glewGetProcAddress((const GLubyte*)"glBlendColor")) == NULL) || r; - r = ((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)"glBlendEquation")) == NULL) || r; - r = ((glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparate")) == NULL) || r; - r = ((glFogCoordPointer = (PFNGLFOGCOORDPOINTERPROC)glewGetProcAddress((const GLubyte*)"glFogCoordPointer")) == NULL) || r; - r = ((glFogCoordd = (PFNGLFOGCOORDDPROC)glewGetProcAddress((const GLubyte*)"glFogCoordd")) == NULL) || r; - r = ((glFogCoorddv = (PFNGLFOGCOORDDVPROC)glewGetProcAddress((const GLubyte*)"glFogCoorddv")) == NULL) || r; - r = ((glFogCoordf = (PFNGLFOGCOORDFPROC)glewGetProcAddress((const GLubyte*)"glFogCoordf")) == NULL) || r; - r = ((glFogCoordfv = (PFNGLFOGCOORDFVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordfv")) == NULL) || r; - r = ((glMultiDrawArrays = (PFNGLMULTIDRAWARRAYSPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArrays")) == NULL) || r; - r = ((glMultiDrawElements = (PFNGLMULTIDRAWELEMENTSPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElements")) == NULL) || r; - r = ((glPointParameterf = (PFNGLPOINTPARAMETERFPROC)glewGetProcAddress((const GLubyte*)"glPointParameterf")) == NULL) || r; - r = ((glPointParameterfv = (PFNGLPOINTPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfv")) == NULL) || r; - r = ((glPointParameteri = (PFNGLPOINTPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glPointParameteri")) == NULL) || r; - r = ((glPointParameteriv = (PFNGLPOINTPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glPointParameteriv")) == NULL) || r; - r = ((glSecondaryColor3b = (PFNGLSECONDARYCOLOR3BPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3b")) == NULL) || r; - r = ((glSecondaryColor3bv = (PFNGLSECONDARYCOLOR3BVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3bv")) == NULL) || r; - r = ((glSecondaryColor3d = (PFNGLSECONDARYCOLOR3DPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3d")) == NULL) || r; - r = ((glSecondaryColor3dv = (PFNGLSECONDARYCOLOR3DVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3dv")) == NULL) || r; - r = ((glSecondaryColor3f = (PFNGLSECONDARYCOLOR3FPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3f")) == NULL) || r; - r = ((glSecondaryColor3fv = (PFNGLSECONDARYCOLOR3FVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3fv")) == NULL) || r; - r = ((glSecondaryColor3i = (PFNGLSECONDARYCOLOR3IPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3i")) == NULL) || r; - r = ((glSecondaryColor3iv = (PFNGLSECONDARYCOLOR3IVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3iv")) == NULL) || r; - r = ((glSecondaryColor3s = (PFNGLSECONDARYCOLOR3SPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3s")) == NULL) || r; - r = ((glSecondaryColor3sv = (PFNGLSECONDARYCOLOR3SVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3sv")) == NULL) || r; - r = ((glSecondaryColor3ub = (PFNGLSECONDARYCOLOR3UBPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ub")) == NULL) || r; - r = ((glSecondaryColor3ubv = (PFNGLSECONDARYCOLOR3UBVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ubv")) == NULL) || r; - r = ((glSecondaryColor3ui = (PFNGLSECONDARYCOLOR3UIPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ui")) == NULL) || r; - r = ((glSecondaryColor3uiv = (PFNGLSECONDARYCOLOR3UIVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3uiv")) == NULL) || r; - r = ((glSecondaryColor3us = (PFNGLSECONDARYCOLOR3USPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3us")) == NULL) || r; - r = ((glSecondaryColor3usv = (PFNGLSECONDARYCOLOR3USVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3usv")) == NULL) || r; - r = ((glSecondaryColorPointer = (PFNGLSECONDARYCOLORPOINTERPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorPointer")) == NULL) || r; - r = ((glWindowPos2d = (PFNGLWINDOWPOS2DPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2d")) == NULL) || r; - r = ((glWindowPos2dv = (PFNGLWINDOWPOS2DVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dv")) == NULL) || r; - r = ((glWindowPos2f = (PFNGLWINDOWPOS2FPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2f")) == NULL) || r; - r = ((glWindowPos2fv = (PFNGLWINDOWPOS2FVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fv")) == NULL) || r; - r = ((glWindowPos2i = (PFNGLWINDOWPOS2IPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2i")) == NULL) || r; - r = ((glWindowPos2iv = (PFNGLWINDOWPOS2IVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2iv")) == NULL) || r; - r = ((glWindowPos2s = (PFNGLWINDOWPOS2SPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2s")) == NULL) || r; - r = ((glWindowPos2sv = (PFNGLWINDOWPOS2SVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2sv")) == NULL) || r; - r = ((glWindowPos3d = (PFNGLWINDOWPOS3DPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3d")) == NULL) || r; - r = ((glWindowPos3dv = (PFNGLWINDOWPOS3DVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dv")) == NULL) || r; - r = ((glWindowPos3f = (PFNGLWINDOWPOS3FPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3f")) == NULL) || r; - r = ((glWindowPos3fv = (PFNGLWINDOWPOS3FVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fv")) == NULL) || r; - r = ((glWindowPos3i = (PFNGLWINDOWPOS3IPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3i")) == NULL) || r; - r = ((glWindowPos3iv = (PFNGLWINDOWPOS3IVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3iv")) == NULL) || r; - r = ((glWindowPos3s = (PFNGLWINDOWPOS3SPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3s")) == NULL) || r; - r = ((glWindowPos3sv = (PFNGLWINDOWPOS3SVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3sv")) == NULL) || r; - - return r; -} - -#endif /* GL_VERSION_1_4 */ - -#ifdef GL_VERSION_1_5 - -static GLboolean _glewInit_GL_VERSION_1_5 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBeginQuery = (PFNGLBEGINQUERYPROC)glewGetProcAddress((const GLubyte*)"glBeginQuery")) == NULL) || r; - r = ((glBindBuffer = (PFNGLBINDBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBindBuffer")) == NULL) || r; - r = ((glBufferData = (PFNGLBUFFERDATAPROC)glewGetProcAddress((const GLubyte*)"glBufferData")) == NULL) || r; - r = ((glBufferSubData = (PFNGLBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glBufferSubData")) == NULL) || r; - r = ((glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteBuffers")) == NULL) || r; - r = ((glDeleteQueries = (PFNGLDELETEQUERIESPROC)glewGetProcAddress((const GLubyte*)"glDeleteQueries")) == NULL) || r; - r = ((glEndQuery = (PFNGLENDQUERYPROC)glewGetProcAddress((const GLubyte*)"glEndQuery")) == NULL) || r; - r = ((glGenBuffers = (PFNGLGENBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glGenBuffers")) == NULL) || r; - r = ((glGenQueries = (PFNGLGENQUERIESPROC)glewGetProcAddress((const GLubyte*)"glGenQueries")) == NULL) || r; - r = ((glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameteriv")) == NULL) || r; - r = ((glGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC)glewGetProcAddress((const GLubyte*)"glGetBufferPointerv")) == NULL) || r; - r = ((glGetBufferSubData = (PFNGLGETBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glGetBufferSubData")) == NULL) || r; - r = ((glGetQueryObjectiv = (PFNGLGETQUERYOBJECTIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectiv")) == NULL) || r; - r = ((glGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectuiv")) == NULL) || r; - r = ((glGetQueryiv = (PFNGLGETQUERYIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryiv")) == NULL) || r; - r = ((glIsBuffer = (PFNGLISBUFFERPROC)glewGetProcAddress((const GLubyte*)"glIsBuffer")) == NULL) || r; - r = ((glIsQuery = (PFNGLISQUERYPROC)glewGetProcAddress((const GLubyte*)"glIsQuery")) == NULL) || r; - r = ((glMapBuffer = (PFNGLMAPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glMapBuffer")) == NULL) || r; - r = ((glUnmapBuffer = (PFNGLUNMAPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glUnmapBuffer")) == NULL) || r; - - return r; -} - -#endif /* GL_VERSION_1_5 */ - -#ifdef GL_VERSION_2_0 - -static GLboolean _glewInit_GL_VERSION_2_0 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glAttachShader = (PFNGLATTACHSHADERPROC)glewGetProcAddress((const GLubyte*)"glAttachShader")) == NULL) || r; - r = ((glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glBindAttribLocation")) == NULL) || r; - r = ((glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparate")) == NULL) || r; - r = ((glCompileShader = (PFNGLCOMPILESHADERPROC)glewGetProcAddress((const GLubyte*)"glCompileShader")) == NULL) || r; - r = ((glCreateProgram = (PFNGLCREATEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glCreateProgram")) == NULL) || r; - r = ((glCreateShader = (PFNGLCREATESHADERPROC)glewGetProcAddress((const GLubyte*)"glCreateShader")) == NULL) || r; - r = ((glDeleteProgram = (PFNGLDELETEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgram")) == NULL) || r; - r = ((glDeleteShader = (PFNGLDELETESHADERPROC)glewGetProcAddress((const GLubyte*)"glDeleteShader")) == NULL) || r; - r = ((glDetachShader = (PFNGLDETACHSHADERPROC)glewGetProcAddress((const GLubyte*)"glDetachShader")) == NULL) || r; - r = ((glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexAttribArray")) == NULL) || r; - r = ((glDrawBuffers = (PFNGLDRAWBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffers")) == NULL) || r; - r = ((glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexAttribArray")) == NULL) || r; - r = ((glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)glewGetProcAddress((const GLubyte*)"glGetActiveAttrib")) == NULL) || r; - r = ((glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniform")) == NULL) || r; - r = ((glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)glewGetProcAddress((const GLubyte*)"glGetAttachedShaders")) == NULL) || r; - r = ((glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetAttribLocation")) == NULL) || r; - r = ((glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)glewGetProcAddress((const GLubyte*)"glGetProgramInfoLog")) == NULL) || r; - r = ((glGetProgramiv = (PFNGLGETPROGRAMIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramiv")) == NULL) || r; - r = ((glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)glewGetProcAddress((const GLubyte*)"glGetShaderInfoLog")) == NULL) || r; - r = ((glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)glewGetProcAddress((const GLubyte*)"glGetShaderSource")) == NULL) || r; - r = ((glGetShaderiv = (PFNGLGETSHADERIVPROC)glewGetProcAddress((const GLubyte*)"glGetShaderiv")) == NULL) || r; - r = ((glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetUniformLocation")) == NULL) || r; - r = ((glGetUniformfv = (PFNGLGETUNIFORMFVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformfv")) == NULL) || r; - r = ((glGetUniformiv = (PFNGLGETUNIFORMIVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformiv")) == NULL) || r; - r = ((glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribPointerv")) == NULL) || r; - r = ((glGetVertexAttribdv = (PFNGLGETVERTEXATTRIBDVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribdv")) == NULL) || r; - r = ((glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribfv")) == NULL) || r; - r = ((glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribiv")) == NULL) || r; - r = ((glIsProgram = (PFNGLISPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glIsProgram")) == NULL) || r; - r = ((glIsShader = (PFNGLISSHADERPROC)glewGetProcAddress((const GLubyte*)"glIsShader")) == NULL) || r; - r = ((glLinkProgram = (PFNGLLINKPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glLinkProgram")) == NULL) || r; - r = ((glShaderSource = (PFNGLSHADERSOURCEPROC)glewGetProcAddress((const GLubyte*)"glShaderSource")) == NULL) || r; - r = ((glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glStencilFuncSeparate")) == NULL) || r; - r = ((glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glStencilMaskSeparate")) == NULL) || r; - r = ((glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glStencilOpSeparate")) == NULL) || r; - r = ((glUniform1f = (PFNGLUNIFORM1FPROC)glewGetProcAddress((const GLubyte*)"glUniform1f")) == NULL) || r; - r = ((glUniform1fv = (PFNGLUNIFORM1FVPROC)glewGetProcAddress((const GLubyte*)"glUniform1fv")) == NULL) || r; - r = ((glUniform1i = (PFNGLUNIFORM1IPROC)glewGetProcAddress((const GLubyte*)"glUniform1i")) == NULL) || r; - r = ((glUniform1iv = (PFNGLUNIFORM1IVPROC)glewGetProcAddress((const GLubyte*)"glUniform1iv")) == NULL) || r; - r = ((glUniform2f = (PFNGLUNIFORM2FPROC)glewGetProcAddress((const GLubyte*)"glUniform2f")) == NULL) || r; - r = ((glUniform2fv = (PFNGLUNIFORM2FVPROC)glewGetProcAddress((const GLubyte*)"glUniform2fv")) == NULL) || r; - r = ((glUniform2i = (PFNGLUNIFORM2IPROC)glewGetProcAddress((const GLubyte*)"glUniform2i")) == NULL) || r; - r = ((glUniform2iv = (PFNGLUNIFORM2IVPROC)glewGetProcAddress((const GLubyte*)"glUniform2iv")) == NULL) || r; - r = ((glUniform3f = (PFNGLUNIFORM3FPROC)glewGetProcAddress((const GLubyte*)"glUniform3f")) == NULL) || r; - r = ((glUniform3fv = (PFNGLUNIFORM3FVPROC)glewGetProcAddress((const GLubyte*)"glUniform3fv")) == NULL) || r; - r = ((glUniform3i = (PFNGLUNIFORM3IPROC)glewGetProcAddress((const GLubyte*)"glUniform3i")) == NULL) || r; - r = ((glUniform3iv = (PFNGLUNIFORM3IVPROC)glewGetProcAddress((const GLubyte*)"glUniform3iv")) == NULL) || r; - r = ((glUniform4f = (PFNGLUNIFORM4FPROC)glewGetProcAddress((const GLubyte*)"glUniform4f")) == NULL) || r; - r = ((glUniform4fv = (PFNGLUNIFORM4FVPROC)glewGetProcAddress((const GLubyte*)"glUniform4fv")) == NULL) || r; - r = ((glUniform4i = (PFNGLUNIFORM4IPROC)glewGetProcAddress((const GLubyte*)"glUniform4i")) == NULL) || r; - r = ((glUniform4iv = (PFNGLUNIFORM4IVPROC)glewGetProcAddress((const GLubyte*)"glUniform4iv")) == NULL) || r; - r = ((glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2fv")) == NULL) || r; - r = ((glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3fv")) == NULL) || r; - r = ((glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4fv")) == NULL) || r; - r = ((glUseProgram = (PFNGLUSEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glUseProgram")) == NULL) || r; - r = ((glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glValidateProgram")) == NULL) || r; - r = ((glVertexAttrib1d = (PFNGLVERTEXATTRIB1DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1d")) == NULL) || r; - r = ((glVertexAttrib1dv = (PFNGLVERTEXATTRIB1DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dv")) == NULL) || r; - r = ((glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1f")) == NULL) || r; - r = ((glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fv")) == NULL) || r; - r = ((glVertexAttrib1s = (PFNGLVERTEXATTRIB1SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1s")) == NULL) || r; - r = ((glVertexAttrib1sv = (PFNGLVERTEXATTRIB1SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1sv")) == NULL) || r; - r = ((glVertexAttrib2d = (PFNGLVERTEXATTRIB2DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2d")) == NULL) || r; - r = ((glVertexAttrib2dv = (PFNGLVERTEXATTRIB2DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dv")) == NULL) || r; - r = ((glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2f")) == NULL) || r; - r = ((glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fv")) == NULL) || r; - r = ((glVertexAttrib2s = (PFNGLVERTEXATTRIB2SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2s")) == NULL) || r; - r = ((glVertexAttrib2sv = (PFNGLVERTEXATTRIB2SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2sv")) == NULL) || r; - r = ((glVertexAttrib3d = (PFNGLVERTEXATTRIB3DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3d")) == NULL) || r; - r = ((glVertexAttrib3dv = (PFNGLVERTEXATTRIB3DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dv")) == NULL) || r; - r = ((glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3f")) == NULL) || r; - r = ((glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fv")) == NULL) || r; - r = ((glVertexAttrib3s = (PFNGLVERTEXATTRIB3SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3s")) == NULL) || r; - r = ((glVertexAttrib3sv = (PFNGLVERTEXATTRIB3SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3sv")) == NULL) || r; - r = ((glVertexAttrib4Nbv = (PFNGLVERTEXATTRIB4NBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nbv")) == NULL) || r; - r = ((glVertexAttrib4Niv = (PFNGLVERTEXATTRIB4NIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Niv")) == NULL) || r; - r = ((glVertexAttrib4Nsv = (PFNGLVERTEXATTRIB4NSVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nsv")) == NULL) || r; - r = ((glVertexAttrib4Nub = (PFNGLVERTEXATTRIB4NUBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nub")) == NULL) || r; - r = ((glVertexAttrib4Nubv = (PFNGLVERTEXATTRIB4NUBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nubv")) == NULL) || r; - r = ((glVertexAttrib4Nuiv = (PFNGLVERTEXATTRIB4NUIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nuiv")) == NULL) || r; - r = ((glVertexAttrib4Nusv = (PFNGLVERTEXATTRIB4NUSVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nusv")) == NULL) || r; - r = ((glVertexAttrib4bv = (PFNGLVERTEXATTRIB4BVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4bv")) == NULL) || r; - r = ((glVertexAttrib4d = (PFNGLVERTEXATTRIB4DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4d")) == NULL) || r; - r = ((glVertexAttrib4dv = (PFNGLVERTEXATTRIB4DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dv")) == NULL) || r; - r = ((glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4f")) == NULL) || r; - r = ((glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fv")) == NULL) || r; - r = ((glVertexAttrib4iv = (PFNGLVERTEXATTRIB4IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4iv")) == NULL) || r; - r = ((glVertexAttrib4s = (PFNGLVERTEXATTRIB4SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4s")) == NULL) || r; - r = ((glVertexAttrib4sv = (PFNGLVERTEXATTRIB4SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4sv")) == NULL) || r; - r = ((glVertexAttrib4ubv = (PFNGLVERTEXATTRIB4UBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubv")) == NULL) || r; - r = ((glVertexAttrib4uiv = (PFNGLVERTEXATTRIB4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4uiv")) == NULL) || r; - r = ((glVertexAttrib4usv = (PFNGLVERTEXATTRIB4USVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4usv")) == NULL) || r; - r = ((glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribPointer")) == NULL) || r; - - return r; -} - -#endif /* GL_VERSION_2_0 */ - -#ifdef GL_VERSION_2_1 - -static GLboolean _glewInit_GL_VERSION_2_1 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x3fv")) == NULL) || r; - r = ((glUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x4fv")) == NULL) || r; - r = ((glUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x2fv")) == NULL) || r; - r = ((glUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x4fv")) == NULL) || r; - r = ((glUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x2fv")) == NULL) || r; - r = ((glUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x3fv")) == NULL) || r; - - return r; -} - -#endif /* GL_VERSION_2_1 */ - -#ifdef GL_VERSION_3_0 - -static GLboolean _glewInit_GL_VERSION_3_0 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBeginConditionalRender = (PFNGLBEGINCONDITIONALRENDERPROC)glewGetProcAddress((const GLubyte*)"glBeginConditionalRender")) == NULL) || r; - r = ((glBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glBeginTransformFeedback")) == NULL) || r; - r = ((glBindFragDataLocation = (PFNGLBINDFRAGDATALOCATIONPROC)glewGetProcAddress((const GLubyte*)"glBindFragDataLocation")) == NULL) || r; - r = ((glClampColor = (PFNGLCLAMPCOLORPROC)glewGetProcAddress((const GLubyte*)"glClampColor")) == NULL) || r; - r = ((glClearBufferfi = (PFNGLCLEARBUFFERFIPROC)glewGetProcAddress((const GLubyte*)"glClearBufferfi")) == NULL) || r; - r = ((glClearBufferfv = (PFNGLCLEARBUFFERFVPROC)glewGetProcAddress((const GLubyte*)"glClearBufferfv")) == NULL) || r; - r = ((glClearBufferiv = (PFNGLCLEARBUFFERIVPROC)glewGetProcAddress((const GLubyte*)"glClearBufferiv")) == NULL) || r; - r = ((glClearBufferuiv = (PFNGLCLEARBUFFERUIVPROC)glewGetProcAddress((const GLubyte*)"glClearBufferuiv")) == NULL) || r; - r = ((glColorMaski = (PFNGLCOLORMASKIPROC)glewGetProcAddress((const GLubyte*)"glColorMaski")) == NULL) || r; - r = ((glDisablei = (PFNGLDISABLEIPROC)glewGetProcAddress((const GLubyte*)"glDisablei")) == NULL) || r; - r = ((glEnablei = (PFNGLENABLEIPROC)glewGetProcAddress((const GLubyte*)"glEnablei")) == NULL) || r; - r = ((glEndConditionalRender = (PFNGLENDCONDITIONALRENDERPROC)glewGetProcAddress((const GLubyte*)"glEndConditionalRender")) == NULL) || r; - r = ((glEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glEndTransformFeedback")) == NULL) || r; - r = ((glGetBooleani_v = (PFNGLGETBOOLEANI_VPROC)glewGetProcAddress((const GLubyte*)"glGetBooleani_v")) == NULL) || r; - r = ((glGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetFragDataLocation")) == NULL) || r; - r = ((glGetStringi = (PFNGLGETSTRINGIPROC)glewGetProcAddress((const GLubyte*)"glGetStringi")) == NULL) || r; - r = ((glGetTexParameterIiv = (PFNGLGETTEXPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIiv")) == NULL) || r; - r = ((glGetTexParameterIuiv = (PFNGLGETTEXPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIuiv")) == NULL) || r; - r = ((glGetTransformFeedbackVarying = (PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)glewGetProcAddress((const GLubyte*)"glGetTransformFeedbackVarying")) == NULL) || r; - r = ((glGetUniformuiv = (PFNGLGETUNIFORMUIVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformuiv")) == NULL) || r; - r = ((glGetVertexAttribIiv = (PFNGLGETVERTEXATTRIBIIVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribIiv")) == NULL) || r; - r = ((glGetVertexAttribIuiv = (PFNGLGETVERTEXATTRIBIUIVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribIuiv")) == NULL) || r; - r = ((glIsEnabledi = (PFNGLISENABLEDIPROC)glewGetProcAddress((const GLubyte*)"glIsEnabledi")) == NULL) || r; - r = ((glTexParameterIiv = (PFNGLTEXPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glTexParameterIiv")) == NULL) || r; - r = ((glTexParameterIuiv = (PFNGLTEXPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glTexParameterIuiv")) == NULL) || r; - r = ((glTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackVaryings")) == NULL) || r; - r = ((glUniform1ui = (PFNGLUNIFORM1UIPROC)glewGetProcAddress((const GLubyte*)"glUniform1ui")) == NULL) || r; - r = ((glUniform1uiv = (PFNGLUNIFORM1UIVPROC)glewGetProcAddress((const GLubyte*)"glUniform1uiv")) == NULL) || r; - r = ((glUniform2ui = (PFNGLUNIFORM2UIPROC)glewGetProcAddress((const GLubyte*)"glUniform2ui")) == NULL) || r; - r = ((glUniform2uiv = (PFNGLUNIFORM2UIVPROC)glewGetProcAddress((const GLubyte*)"glUniform2uiv")) == NULL) || r; - r = ((glUniform3ui = (PFNGLUNIFORM3UIPROC)glewGetProcAddress((const GLubyte*)"glUniform3ui")) == NULL) || r; - r = ((glUniform3uiv = (PFNGLUNIFORM3UIVPROC)glewGetProcAddress((const GLubyte*)"glUniform3uiv")) == NULL) || r; - r = ((glUniform4ui = (PFNGLUNIFORM4UIPROC)glewGetProcAddress((const GLubyte*)"glUniform4ui")) == NULL) || r; - r = ((glUniform4uiv = (PFNGLUNIFORM4UIVPROC)glewGetProcAddress((const GLubyte*)"glUniform4uiv")) == NULL) || r; - r = ((glVertexAttribI1i = (PFNGLVERTEXATTRIBI1IPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1i")) == NULL) || r; - r = ((glVertexAttribI1iv = (PFNGLVERTEXATTRIBI1IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1iv")) == NULL) || r; - r = ((glVertexAttribI1ui = (PFNGLVERTEXATTRIBI1UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1ui")) == NULL) || r; - r = ((glVertexAttribI1uiv = (PFNGLVERTEXATTRIBI1UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1uiv")) == NULL) || r; - r = ((glVertexAttribI2i = (PFNGLVERTEXATTRIBI2IPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2i")) == NULL) || r; - r = ((glVertexAttribI2iv = (PFNGLVERTEXATTRIBI2IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2iv")) == NULL) || r; - r = ((glVertexAttribI2ui = (PFNGLVERTEXATTRIBI2UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2ui")) == NULL) || r; - r = ((glVertexAttribI2uiv = (PFNGLVERTEXATTRIBI2UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2uiv")) == NULL) || r; - r = ((glVertexAttribI3i = (PFNGLVERTEXATTRIBI3IPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3i")) == NULL) || r; - r = ((glVertexAttribI3iv = (PFNGLVERTEXATTRIBI3IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3iv")) == NULL) || r; - r = ((glVertexAttribI3ui = (PFNGLVERTEXATTRIBI3UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3ui")) == NULL) || r; - r = ((glVertexAttribI3uiv = (PFNGLVERTEXATTRIBI3UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3uiv")) == NULL) || r; - r = ((glVertexAttribI4bv = (PFNGLVERTEXATTRIBI4BVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4bv")) == NULL) || r; - r = ((glVertexAttribI4i = (PFNGLVERTEXATTRIBI4IPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4i")) == NULL) || r; - r = ((glVertexAttribI4iv = (PFNGLVERTEXATTRIBI4IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4iv")) == NULL) || r; - r = ((glVertexAttribI4sv = (PFNGLVERTEXATTRIBI4SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4sv")) == NULL) || r; - r = ((glVertexAttribI4ubv = (PFNGLVERTEXATTRIBI4UBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4ubv")) == NULL) || r; - r = ((glVertexAttribI4ui = (PFNGLVERTEXATTRIBI4UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4ui")) == NULL) || r; - r = ((glVertexAttribI4uiv = (PFNGLVERTEXATTRIBI4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4uiv")) == NULL) || r; - r = ((glVertexAttribI4usv = (PFNGLVERTEXATTRIBI4USVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4usv")) == NULL) || r; - r = ((glVertexAttribIPointer = (PFNGLVERTEXATTRIBIPOINTERPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribIPointer")) == NULL) || r; - - return r; -} - -#endif /* GL_VERSION_3_0 */ - -#ifdef GL_VERSION_3_1 - -static GLboolean _glewInit_GL_VERSION_3_1 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstanced")) == NULL) || r; - r = ((glDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstanced")) == NULL) || r; - r = ((glPrimitiveRestartIndex = (PFNGLPRIMITIVERESTARTINDEXPROC)glewGetProcAddress((const GLubyte*)"glPrimitiveRestartIndex")) == NULL) || r; - r = ((glTexBuffer = (PFNGLTEXBUFFERPROC)glewGetProcAddress((const GLubyte*)"glTexBuffer")) == NULL) || r; - - return r; -} - -#endif /* GL_VERSION_3_1 */ - -#ifdef GL_VERSION_3_2 - -static GLboolean _glewInit_GL_VERSION_3_2 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glFramebufferTexture = (PFNGLFRAMEBUFFERTEXTUREPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture")) == NULL) || r; - r = ((glGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameteri64v")) == NULL) || r; - r = ((glGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC)glewGetProcAddress((const GLubyte*)"glGetInteger64i_v")) == NULL) || r; - - return r; -} - -#endif /* GL_VERSION_3_2 */ - -#ifdef GL_VERSION_3_3 - -static GLboolean _glewInit_GL_VERSION_3_3 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glVertexAttribDivisor = (PFNGLVERTEXATTRIBDIVISORPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribDivisor")) == NULL) || r; - - return r; -} - -#endif /* GL_VERSION_3_3 */ - -#ifdef GL_VERSION_4_0 - -static GLboolean _glewInit_GL_VERSION_4_0 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBlendEquationSeparatei = (PFNGLBLENDEQUATIONSEPARATEIPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparatei")) == NULL) || r; - r = ((glBlendEquationi = (PFNGLBLENDEQUATIONIPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationi")) == NULL) || r; - r = ((glBlendFuncSeparatei = (PFNGLBLENDFUNCSEPARATEIPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparatei")) == NULL) || r; - r = ((glBlendFunci = (PFNGLBLENDFUNCIPROC)glewGetProcAddress((const GLubyte*)"glBlendFunci")) == NULL) || r; - r = ((glMinSampleShading = (PFNGLMINSAMPLESHADINGPROC)glewGetProcAddress((const GLubyte*)"glMinSampleShading")) == NULL) || r; - - return r; -} - -#endif /* GL_VERSION_4_0 */ - -#ifdef GL_VERSION_4_1 - -#endif /* GL_VERSION_4_1 */ - -#ifdef GL_VERSION_4_2 - -#endif /* GL_VERSION_4_2 */ - -#ifdef GL_VERSION_4_3 - -#endif /* GL_VERSION_4_3 */ - -#ifdef GL_3DFX_multisample - -#endif /* GL_3DFX_multisample */ - -#ifdef GL_3DFX_tbuffer - -static GLboolean _glewInit_GL_3DFX_tbuffer (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glTbufferMask3DFX = (PFNGLTBUFFERMASK3DFXPROC)glewGetProcAddress((const GLubyte*)"glTbufferMask3DFX")) == NULL) || r; - - return r; -} - -#endif /* GL_3DFX_tbuffer */ - -#ifdef GL_3DFX_texture_compression_FXT1 - -#endif /* GL_3DFX_texture_compression_FXT1 */ - -#ifdef GL_AMD_blend_minmax_factor - -#endif /* GL_AMD_blend_minmax_factor */ - -#ifdef GL_AMD_conservative_depth - -#endif /* GL_AMD_conservative_depth */ - -#ifdef GL_AMD_debug_output - -static GLboolean _glewInit_GL_AMD_debug_output (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glDebugMessageCallbackAMD = (PFNGLDEBUGMESSAGECALLBACKAMDPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageCallbackAMD")) == NULL) || r; - r = ((glDebugMessageEnableAMD = (PFNGLDEBUGMESSAGEENABLEAMDPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageEnableAMD")) == NULL) || r; - r = ((glDebugMessageInsertAMD = (PFNGLDEBUGMESSAGEINSERTAMDPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageInsertAMD")) == NULL) || r; - r = ((glGetDebugMessageLogAMD = (PFNGLGETDEBUGMESSAGELOGAMDPROC)glewGetProcAddress((const GLubyte*)"glGetDebugMessageLogAMD")) == NULL) || r; - - return r; -} - -#endif /* GL_AMD_debug_output */ - -#ifdef GL_AMD_depth_clamp_separate - -#endif /* GL_AMD_depth_clamp_separate */ - -#ifdef GL_AMD_draw_buffers_blend - -static GLboolean _glewInit_GL_AMD_draw_buffers_blend (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBlendEquationIndexedAMD = (PFNGLBLENDEQUATIONINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationIndexedAMD")) == NULL) || r; - r = ((glBlendEquationSeparateIndexedAMD = (PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparateIndexedAMD")) == NULL) || r; - r = ((glBlendFuncIndexedAMD = (PFNGLBLENDFUNCINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncIndexedAMD")) == NULL) || r; - r = ((glBlendFuncSeparateIndexedAMD = (PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparateIndexedAMD")) == NULL) || r; - - return r; -} - -#endif /* GL_AMD_draw_buffers_blend */ - -#ifdef GL_AMD_multi_draw_indirect - -static GLboolean _glewInit_GL_AMD_multi_draw_indirect (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glMultiDrawArraysIndirectAMD = (PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysIndirectAMD")) == NULL) || r; - r = ((glMultiDrawElementsIndirectAMD = (PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsIndirectAMD")) == NULL) || r; - - return r; -} - -#endif /* GL_AMD_multi_draw_indirect */ - -#ifdef GL_AMD_name_gen_delete - -static GLboolean _glewInit_GL_AMD_name_gen_delete (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glDeleteNamesAMD = (PFNGLDELETENAMESAMDPROC)glewGetProcAddress((const GLubyte*)"glDeleteNamesAMD")) == NULL) || r; - r = ((glGenNamesAMD = (PFNGLGENNAMESAMDPROC)glewGetProcAddress((const GLubyte*)"glGenNamesAMD")) == NULL) || r; - r = ((glIsNameAMD = (PFNGLISNAMEAMDPROC)glewGetProcAddress((const GLubyte*)"glIsNameAMD")) == NULL) || r; - - return r; -} - -#endif /* GL_AMD_name_gen_delete */ - -#ifdef GL_AMD_performance_monitor - -static GLboolean _glewInit_GL_AMD_performance_monitor (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBeginPerfMonitorAMD = (PFNGLBEGINPERFMONITORAMDPROC)glewGetProcAddress((const GLubyte*)"glBeginPerfMonitorAMD")) == NULL) || r; - r = ((glDeletePerfMonitorsAMD = (PFNGLDELETEPERFMONITORSAMDPROC)glewGetProcAddress((const GLubyte*)"glDeletePerfMonitorsAMD")) == NULL) || r; - r = ((glEndPerfMonitorAMD = (PFNGLENDPERFMONITORAMDPROC)glewGetProcAddress((const GLubyte*)"glEndPerfMonitorAMD")) == NULL) || r; - r = ((glGenPerfMonitorsAMD = (PFNGLGENPERFMONITORSAMDPROC)glewGetProcAddress((const GLubyte*)"glGenPerfMonitorsAMD")) == NULL) || r; - r = ((glGetPerfMonitorCounterDataAMD = (PFNGLGETPERFMONITORCOUNTERDATAAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCounterDataAMD")) == NULL) || r; - r = ((glGetPerfMonitorCounterInfoAMD = (PFNGLGETPERFMONITORCOUNTERINFOAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCounterInfoAMD")) == NULL) || r; - r = ((glGetPerfMonitorCounterStringAMD = (PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCounterStringAMD")) == NULL) || r; - r = ((glGetPerfMonitorCountersAMD = (PFNGLGETPERFMONITORCOUNTERSAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCountersAMD")) == NULL) || r; - r = ((glGetPerfMonitorGroupStringAMD = (PFNGLGETPERFMONITORGROUPSTRINGAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorGroupStringAMD")) == NULL) || r; - r = ((glGetPerfMonitorGroupsAMD = (PFNGLGETPERFMONITORGROUPSAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorGroupsAMD")) == NULL) || r; - r = ((glSelectPerfMonitorCountersAMD = (PFNGLSELECTPERFMONITORCOUNTERSAMDPROC)glewGetProcAddress((const GLubyte*)"glSelectPerfMonitorCountersAMD")) == NULL) || r; - - return r; -} - -#endif /* GL_AMD_performance_monitor */ - -#ifdef GL_AMD_pinned_memory - -#endif /* GL_AMD_pinned_memory */ - -#ifdef GL_AMD_query_buffer_object - -#endif /* GL_AMD_query_buffer_object */ - -#ifdef GL_AMD_sample_positions - -static GLboolean _glewInit_GL_AMD_sample_positions (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glSetMultisamplefvAMD = (PFNGLSETMULTISAMPLEFVAMDPROC)glewGetProcAddress((const GLubyte*)"glSetMultisamplefvAMD")) == NULL) || r; - - return r; -} - -#endif /* GL_AMD_sample_positions */ - -#ifdef GL_AMD_seamless_cubemap_per_texture - -#endif /* GL_AMD_seamless_cubemap_per_texture */ - -#ifdef GL_AMD_shader_stencil_export - -#endif /* GL_AMD_shader_stencil_export */ - -#ifdef GL_AMD_stencil_operation_extended - -static GLboolean _glewInit_GL_AMD_stencil_operation_extended (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glStencilOpValueAMD = (PFNGLSTENCILOPVALUEAMDPROC)glewGetProcAddress((const GLubyte*)"glStencilOpValueAMD")) == NULL) || r; - - return r; -} - -#endif /* GL_AMD_stencil_operation_extended */ - -#ifdef GL_AMD_texture_texture4 - -#endif /* GL_AMD_texture_texture4 */ - -#ifdef GL_AMD_transform_feedback3_lines_triangles - -#endif /* GL_AMD_transform_feedback3_lines_triangles */ - -#ifdef GL_AMD_vertex_shader_layer - -#endif /* GL_AMD_vertex_shader_layer */ - -#ifdef GL_AMD_vertex_shader_tessellator - -static GLboolean _glewInit_GL_AMD_vertex_shader_tessellator (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glTessellationFactorAMD = (PFNGLTESSELLATIONFACTORAMDPROC)glewGetProcAddress((const GLubyte*)"glTessellationFactorAMD")) == NULL) || r; - r = ((glTessellationModeAMD = (PFNGLTESSELLATIONMODEAMDPROC)glewGetProcAddress((const GLubyte*)"glTessellationModeAMD")) == NULL) || r; - - return r; -} - -#endif /* GL_AMD_vertex_shader_tessellator */ - -#ifdef GL_AMD_vertex_shader_viewport_index - -#endif /* GL_AMD_vertex_shader_viewport_index */ - -#ifdef GL_APPLE_aux_depth_stencil - -#endif /* GL_APPLE_aux_depth_stencil */ - -#ifdef GL_APPLE_client_storage - -#endif /* GL_APPLE_client_storage */ - -#ifdef GL_APPLE_element_array - -static GLboolean _glewInit_GL_APPLE_element_array (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glDrawElementArrayAPPLE = (PFNGLDRAWELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDrawElementArrayAPPLE")) == NULL) || r; - r = ((glDrawRangeElementArrayAPPLE = (PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementArrayAPPLE")) == NULL) || r; - r = ((glElementPointerAPPLE = (PFNGLELEMENTPOINTERAPPLEPROC)glewGetProcAddress((const GLubyte*)"glElementPointerAPPLE")) == NULL) || r; - r = ((glMultiDrawElementArrayAPPLE = (PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementArrayAPPLE")) == NULL) || r; - r = ((glMultiDrawRangeElementArrayAPPLE = (PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawRangeElementArrayAPPLE")) == NULL) || r; - - return r; -} - -#endif /* GL_APPLE_element_array */ - -#ifdef GL_APPLE_fence - -static GLboolean _glewInit_GL_APPLE_fence (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glDeleteFencesAPPLE = (PFNGLDELETEFENCESAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDeleteFencesAPPLE")) == NULL) || r; - r = ((glFinishFenceAPPLE = (PFNGLFINISHFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFinishFenceAPPLE")) == NULL) || r; - r = ((glFinishObjectAPPLE = (PFNGLFINISHOBJECTAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFinishObjectAPPLE")) == NULL) || r; - r = ((glGenFencesAPPLE = (PFNGLGENFENCESAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGenFencesAPPLE")) == NULL) || r; - r = ((glIsFenceAPPLE = (PFNGLISFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glIsFenceAPPLE")) == NULL) || r; - r = ((glSetFenceAPPLE = (PFNGLSETFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glSetFenceAPPLE")) == NULL) || r; - r = ((glTestFenceAPPLE = (PFNGLTESTFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glTestFenceAPPLE")) == NULL) || r; - r = ((glTestObjectAPPLE = (PFNGLTESTOBJECTAPPLEPROC)glewGetProcAddress((const GLubyte*)"glTestObjectAPPLE")) == NULL) || r; - - return r; -} - -#endif /* GL_APPLE_fence */ - -#ifdef GL_APPLE_float_pixels - -#endif /* GL_APPLE_float_pixels */ - -#ifdef GL_APPLE_flush_buffer_range - -static GLboolean _glewInit_GL_APPLE_flush_buffer_range (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBufferParameteriAPPLE = (PFNGLBUFFERPARAMETERIAPPLEPROC)glewGetProcAddress((const GLubyte*)"glBufferParameteriAPPLE")) == NULL) || r; - r = ((glFlushMappedBufferRangeAPPLE = (PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFlushMappedBufferRangeAPPLE")) == NULL) || r; - - return r; -} - -#endif /* GL_APPLE_flush_buffer_range */ - -#ifdef GL_APPLE_object_purgeable - -static GLboolean _glewInit_GL_APPLE_object_purgeable (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetObjectParameterivAPPLE = (PFNGLGETOBJECTPARAMETERIVAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGetObjectParameterivAPPLE")) == NULL) || r; - r = ((glObjectPurgeableAPPLE = (PFNGLOBJECTPURGEABLEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glObjectPurgeableAPPLE")) == NULL) || r; - r = ((glObjectUnpurgeableAPPLE = (PFNGLOBJECTUNPURGEABLEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glObjectUnpurgeableAPPLE")) == NULL) || r; - - return r; -} - -#endif /* GL_APPLE_object_purgeable */ - -#ifdef GL_APPLE_pixel_buffer - -#endif /* GL_APPLE_pixel_buffer */ - -#ifdef GL_APPLE_rgb_422 - -#endif /* GL_APPLE_rgb_422 */ - -#ifdef GL_APPLE_row_bytes - -#endif /* GL_APPLE_row_bytes */ - -#ifdef GL_APPLE_specular_vector - -#endif /* GL_APPLE_specular_vector */ - -#ifdef GL_APPLE_texture_range - -static GLboolean _glewInit_GL_APPLE_texture_range (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetTexParameterPointervAPPLE = (PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterPointervAPPLE")) == NULL) || r; - r = ((glTextureRangeAPPLE = (PFNGLTEXTURERANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glTextureRangeAPPLE")) == NULL) || r; - - return r; -} - -#endif /* GL_APPLE_texture_range */ - -#ifdef GL_APPLE_transform_hint - -#endif /* GL_APPLE_transform_hint */ - -#ifdef GL_APPLE_vertex_array_object - -static GLboolean _glewInit_GL_APPLE_vertex_array_object (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBindVertexArrayAPPLE = (PFNGLBINDVERTEXARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glBindVertexArrayAPPLE")) == NULL) || r; - r = ((glDeleteVertexArraysAPPLE = (PFNGLDELETEVERTEXARRAYSAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDeleteVertexArraysAPPLE")) == NULL) || r; - r = ((glGenVertexArraysAPPLE = (PFNGLGENVERTEXARRAYSAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGenVertexArraysAPPLE")) == NULL) || r; - r = ((glIsVertexArrayAPPLE = (PFNGLISVERTEXARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glIsVertexArrayAPPLE")) == NULL) || r; - - return r; -} - -#endif /* GL_APPLE_vertex_array_object */ - -#ifdef GL_APPLE_vertex_array_range - -static GLboolean _glewInit_GL_APPLE_vertex_array_range (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glFlushVertexArrayRangeAPPLE = (PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFlushVertexArrayRangeAPPLE")) == NULL) || r; - r = ((glVertexArrayParameteriAPPLE = (PFNGLVERTEXARRAYPARAMETERIAPPLEPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayParameteriAPPLE")) == NULL) || r; - r = ((glVertexArrayRangeAPPLE = (PFNGLVERTEXARRAYRANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayRangeAPPLE")) == NULL) || r; - - return r; -} - -#endif /* GL_APPLE_vertex_array_range */ - -#ifdef GL_APPLE_vertex_program_evaluators - -static GLboolean _glewInit_GL_APPLE_vertex_program_evaluators (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glDisableVertexAttribAPPLE = (PFNGLDISABLEVERTEXATTRIBAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexAttribAPPLE")) == NULL) || r; - r = ((glEnableVertexAttribAPPLE = (PFNGLENABLEVERTEXATTRIBAPPLEPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexAttribAPPLE")) == NULL) || r; - r = ((glIsVertexAttribEnabledAPPLE = (PFNGLISVERTEXATTRIBENABLEDAPPLEPROC)glewGetProcAddress((const GLubyte*)"glIsVertexAttribEnabledAPPLE")) == NULL) || r; - r = ((glMapVertexAttrib1dAPPLE = (PFNGLMAPVERTEXATTRIB1DAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib1dAPPLE")) == NULL) || r; - r = ((glMapVertexAttrib1fAPPLE = (PFNGLMAPVERTEXATTRIB1FAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib1fAPPLE")) == NULL) || r; - r = ((glMapVertexAttrib2dAPPLE = (PFNGLMAPVERTEXATTRIB2DAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib2dAPPLE")) == NULL) || r; - r = ((glMapVertexAttrib2fAPPLE = (PFNGLMAPVERTEXATTRIB2FAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib2fAPPLE")) == NULL) || r; - - return r; -} - -#endif /* GL_APPLE_vertex_program_evaluators */ - -#ifdef GL_APPLE_ycbcr_422 - -#endif /* GL_APPLE_ycbcr_422 */ - -#ifdef GL_ARB_ES2_compatibility - -static GLboolean _glewInit_GL_ARB_ES2_compatibility (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glClearDepthf = (PFNGLCLEARDEPTHFPROC)glewGetProcAddress((const GLubyte*)"glClearDepthf")) == NULL) || r; - r = ((glDepthRangef = (PFNGLDEPTHRANGEFPROC)glewGetProcAddress((const GLubyte*)"glDepthRangef")) == NULL) || r; - r = ((glGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC)glewGetProcAddress((const GLubyte*)"glGetShaderPrecisionFormat")) == NULL) || r; - r = ((glReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC)glewGetProcAddress((const GLubyte*)"glReleaseShaderCompiler")) == NULL) || r; - r = ((glShaderBinary = (PFNGLSHADERBINARYPROC)glewGetProcAddress((const GLubyte*)"glShaderBinary")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_ES2_compatibility */ - -#ifdef GL_ARB_ES3_compatibility - -#endif /* GL_ARB_ES3_compatibility */ - -#ifdef GL_ARB_arrays_of_arrays - -#endif /* GL_ARB_arrays_of_arrays */ - -#ifdef GL_ARB_base_instance - -static GLboolean _glewInit_GL_ARB_base_instance (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glDrawArraysInstancedBaseInstance = (PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstancedBaseInstance")) == NULL) || r; - r = ((glDrawElementsInstancedBaseInstance = (PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedBaseInstance")) == NULL) || r; - r = ((glDrawElementsInstancedBaseVertexBaseInstance = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedBaseVertexBaseInstance")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_base_instance */ - -#ifdef GL_ARB_blend_func_extended - -static GLboolean _glewInit_GL_ARB_blend_func_extended (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBindFragDataLocationIndexed = (PFNGLBINDFRAGDATALOCATIONINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glBindFragDataLocationIndexed")) == NULL) || r; - r = ((glGetFragDataIndex = (PFNGLGETFRAGDATAINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetFragDataIndex")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_blend_func_extended */ - -#ifdef GL_ARB_cl_event - -static GLboolean _glewInit_GL_ARB_cl_event (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glCreateSyncFromCLeventARB = (PFNGLCREATESYNCFROMCLEVENTARBPROC)glewGetProcAddress((const GLubyte*)"glCreateSyncFromCLeventARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_cl_event */ - -#ifdef GL_ARB_clear_buffer_object - -static GLboolean _glewInit_GL_ARB_clear_buffer_object (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glClearBufferData = (PFNGLCLEARBUFFERDATAPROC)glewGetProcAddress((const GLubyte*)"glClearBufferData")) == NULL) || r; - r = ((glClearBufferSubData = (PFNGLCLEARBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glClearBufferSubData")) == NULL) || r; - r = ((glClearNamedBufferDataEXT = (PFNGLCLEARNAMEDBUFFERDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glClearNamedBufferDataEXT")) == NULL) || r; - r = ((glClearNamedBufferSubDataEXT = (PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glClearNamedBufferSubDataEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_clear_buffer_object */ - -#ifdef GL_ARB_color_buffer_float - -static GLboolean _glewInit_GL_ARB_color_buffer_float (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glClampColorARB = (PFNGLCLAMPCOLORARBPROC)glewGetProcAddress((const GLubyte*)"glClampColorARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_color_buffer_float */ - -#ifdef GL_ARB_compatibility - -#endif /* GL_ARB_compatibility */ - -#ifdef GL_ARB_compressed_texture_pixel_storage - -#endif /* GL_ARB_compressed_texture_pixel_storage */ - -#ifdef GL_ARB_compute_shader - -static GLboolean _glewInit_GL_ARB_compute_shader (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glDispatchCompute = (PFNGLDISPATCHCOMPUTEPROC)glewGetProcAddress((const GLubyte*)"glDispatchCompute")) == NULL) || r; - r = ((glDispatchComputeIndirect = (PFNGLDISPATCHCOMPUTEINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glDispatchComputeIndirect")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_compute_shader */ - -#ifdef GL_ARB_conservative_depth - -#endif /* GL_ARB_conservative_depth */ - -#ifdef GL_ARB_copy_buffer - -static GLboolean _glewInit_GL_ARB_copy_buffer (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glCopyBufferSubData")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_copy_buffer */ - -#ifdef GL_ARB_copy_image - -static GLboolean _glewInit_GL_ARB_copy_image (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glCopyImageSubData = (PFNGLCOPYIMAGESUBDATAPROC)glewGetProcAddress((const GLubyte*)"glCopyImageSubData")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_copy_image */ - -#ifdef GL_ARB_debug_output - -static GLboolean _glewInit_GL_ARB_debug_output (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glDebugMessageCallbackARB = (PFNGLDEBUGMESSAGECALLBACKARBPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageCallbackARB")) == NULL) || r; - r = ((glDebugMessageControlARB = (PFNGLDEBUGMESSAGECONTROLARBPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageControlARB")) == NULL) || r; - r = ((glDebugMessageInsertARB = (PFNGLDEBUGMESSAGEINSERTARBPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageInsertARB")) == NULL) || r; - r = ((glGetDebugMessageLogARB = (PFNGLGETDEBUGMESSAGELOGARBPROC)glewGetProcAddress((const GLubyte*)"glGetDebugMessageLogARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_debug_output */ - -#ifdef GL_ARB_depth_buffer_float - -#endif /* GL_ARB_depth_buffer_float */ - -#ifdef GL_ARB_depth_clamp - -#endif /* GL_ARB_depth_clamp */ - -#ifdef GL_ARB_depth_texture - -#endif /* GL_ARB_depth_texture */ - -#ifdef GL_ARB_draw_buffers - -static GLboolean _glewInit_GL_ARB_draw_buffers (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glDrawBuffersARB = (PFNGLDRAWBUFFERSARBPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffersARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_draw_buffers */ - -#ifdef GL_ARB_draw_buffers_blend - -static GLboolean _glewInit_GL_ARB_draw_buffers_blend (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBlendEquationSeparateiARB = (PFNGLBLENDEQUATIONSEPARATEIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparateiARB")) == NULL) || r; - r = ((glBlendEquationiARB = (PFNGLBLENDEQUATIONIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationiARB")) == NULL) || r; - r = ((glBlendFuncSeparateiARB = (PFNGLBLENDFUNCSEPARATEIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparateiARB")) == NULL) || r; - r = ((glBlendFunciARB = (PFNGLBLENDFUNCIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendFunciARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_draw_buffers_blend */ - -#ifdef GL_ARB_draw_elements_base_vertex - -static GLboolean _glewInit_GL_ARB_draw_elements_base_vertex (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glDrawElementsBaseVertex = (PFNGLDRAWELEMENTSBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsBaseVertex")) == NULL) || r; - r = ((glDrawElementsInstancedBaseVertex = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedBaseVertex")) == NULL) || r; - r = ((glDrawRangeElementsBaseVertex = (PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementsBaseVertex")) == NULL) || r; - r = ((glMultiDrawElementsBaseVertex = (PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsBaseVertex")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_draw_elements_base_vertex */ - -#ifdef GL_ARB_draw_indirect - -static GLboolean _glewInit_GL_ARB_draw_indirect (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glDrawArraysIndirect = (PFNGLDRAWARRAYSINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysIndirect")) == NULL) || r; - r = ((glDrawElementsIndirect = (PFNGLDRAWELEMENTSINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsIndirect")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_draw_indirect */ - -#ifdef GL_ARB_draw_instanced - -#endif /* GL_ARB_draw_instanced */ - -#ifdef GL_ARB_explicit_attrib_location - -#endif /* GL_ARB_explicit_attrib_location */ - -#ifdef GL_ARB_explicit_uniform_location - -#endif /* GL_ARB_explicit_uniform_location */ - -#ifdef GL_ARB_fragment_coord_conventions - -#endif /* GL_ARB_fragment_coord_conventions */ - -#ifdef GL_ARB_fragment_layer_viewport - -#endif /* GL_ARB_fragment_layer_viewport */ - -#ifdef GL_ARB_fragment_program - -#endif /* GL_ARB_fragment_program */ - -#ifdef GL_ARB_fragment_program_shadow - -#endif /* GL_ARB_fragment_program_shadow */ - -#ifdef GL_ARB_fragment_shader - -#endif /* GL_ARB_fragment_shader */ - -#ifdef GL_ARB_framebuffer_no_attachments - -static GLboolean _glewInit_GL_ARB_framebuffer_no_attachments (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glFramebufferParameteri = (PFNGLFRAMEBUFFERPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glFramebufferParameteri")) == NULL) || r; - r = ((glGetFramebufferParameteriv = (PFNGLGETFRAMEBUFFERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferParameteriv")) == NULL) || r; - r = ((glGetNamedFramebufferParameterivEXT = (PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedFramebufferParameterivEXT")) == NULL) || r; - r = ((glNamedFramebufferParameteriEXT = (PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferParameteriEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_framebuffer_no_attachments */ - -#ifdef GL_ARB_framebuffer_object - -static GLboolean _glewInit_GL_ARB_framebuffer_object (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBindFramebuffer")) == NULL) || r; - r = ((glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBindRenderbuffer")) == NULL) || r; - r = ((glBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBlitFramebuffer")) == NULL) || r; - r = ((glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)glewGetProcAddress((const GLubyte*)"glCheckFramebufferStatus")) == NULL) || r; - r = ((glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteFramebuffers")) == NULL) || r; - r = ((glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteRenderbuffers")) == NULL) || r; - r = ((glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)glewGetProcAddress((const GLubyte*)"glFramebufferRenderbuffer")) == NULL) || r; - r = ((glFramebufferTexture1D = (PFNGLFRAMEBUFFERTEXTURE1DPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture1D")) == NULL) || r; - r = ((glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture2D")) == NULL) || r; - r = ((glFramebufferTexture3D = (PFNGLFRAMEBUFFERTEXTURE3DPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture3D")) == NULL) || r; - r = ((glFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureLayer")) == NULL) || r; - r = ((glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glGenFramebuffers")) == NULL) || r; - r = ((glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glGenRenderbuffers")) == NULL) || r; - r = ((glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)glewGetProcAddress((const GLubyte*)"glGenerateMipmap")) == NULL) || r; - r = ((glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferAttachmentParameteriv")) == NULL) || r; - r = ((glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetRenderbufferParameteriv")) == NULL) || r; - r = ((glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glIsFramebuffer")) == NULL) || r; - r = ((glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)glewGetProcAddress((const GLubyte*)"glIsRenderbuffer")) == NULL) || r; - r = ((glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorage")) == NULL) || r; - r = ((glRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisample")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_framebuffer_object */ - -#ifdef GL_ARB_framebuffer_sRGB - -#endif /* GL_ARB_framebuffer_sRGB */ - -#ifdef GL_ARB_geometry_shader4 - -static GLboolean _glewInit_GL_ARB_geometry_shader4 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glFramebufferTextureARB = (PFNGLFRAMEBUFFERTEXTUREARBPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureARB")) == NULL) || r; - r = ((glFramebufferTextureFaceARB = (PFNGLFRAMEBUFFERTEXTUREFACEARBPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureFaceARB")) == NULL) || r; - r = ((glFramebufferTextureLayerARB = (PFNGLFRAMEBUFFERTEXTURELAYERARBPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureLayerARB")) == NULL) || r; - r = ((glProgramParameteriARB = (PFNGLPROGRAMPARAMETERIARBPROC)glewGetProcAddress((const GLubyte*)"glProgramParameteriARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_geometry_shader4 */ - -#ifdef GL_ARB_get_program_binary - -static GLboolean _glewInit_GL_ARB_get_program_binary (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetProgramBinary = (PFNGLGETPROGRAMBINARYPROC)glewGetProcAddress((const GLubyte*)"glGetProgramBinary")) == NULL) || r; - r = ((glProgramBinary = (PFNGLPROGRAMBINARYPROC)glewGetProcAddress((const GLubyte*)"glProgramBinary")) == NULL) || r; - r = ((glProgramParameteri = (PFNGLPROGRAMPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glProgramParameteri")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_get_program_binary */ - -#ifdef GL_ARB_gpu_shader5 - -#endif /* GL_ARB_gpu_shader5 */ - -#ifdef GL_ARB_gpu_shader_fp64 - -static GLboolean _glewInit_GL_ARB_gpu_shader_fp64 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetUniformdv = (PFNGLGETUNIFORMDVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformdv")) == NULL) || r; - r = ((glUniform1d = (PFNGLUNIFORM1DPROC)glewGetProcAddress((const GLubyte*)"glUniform1d")) == NULL) || r; - r = ((glUniform1dv = (PFNGLUNIFORM1DVPROC)glewGetProcAddress((const GLubyte*)"glUniform1dv")) == NULL) || r; - r = ((glUniform2d = (PFNGLUNIFORM2DPROC)glewGetProcAddress((const GLubyte*)"glUniform2d")) == NULL) || r; - r = ((glUniform2dv = (PFNGLUNIFORM2DVPROC)glewGetProcAddress((const GLubyte*)"glUniform2dv")) == NULL) || r; - r = ((glUniform3d = (PFNGLUNIFORM3DPROC)glewGetProcAddress((const GLubyte*)"glUniform3d")) == NULL) || r; - r = ((glUniform3dv = (PFNGLUNIFORM3DVPROC)glewGetProcAddress((const GLubyte*)"glUniform3dv")) == NULL) || r; - r = ((glUniform4d = (PFNGLUNIFORM4DPROC)glewGetProcAddress((const GLubyte*)"glUniform4d")) == NULL) || r; - r = ((glUniform4dv = (PFNGLUNIFORM4DVPROC)glewGetProcAddress((const GLubyte*)"glUniform4dv")) == NULL) || r; - r = ((glUniformMatrix2dv = (PFNGLUNIFORMMATRIX2DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2dv")) == NULL) || r; - r = ((glUniformMatrix2x3dv = (PFNGLUNIFORMMATRIX2X3DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x3dv")) == NULL) || r; - r = ((glUniformMatrix2x4dv = (PFNGLUNIFORMMATRIX2X4DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x4dv")) == NULL) || r; - r = ((glUniformMatrix3dv = (PFNGLUNIFORMMATRIX3DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3dv")) == NULL) || r; - r = ((glUniformMatrix3x2dv = (PFNGLUNIFORMMATRIX3X2DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x2dv")) == NULL) || r; - r = ((glUniformMatrix3x4dv = (PFNGLUNIFORMMATRIX3X4DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x4dv")) == NULL) || r; - r = ((glUniformMatrix4dv = (PFNGLUNIFORMMATRIX4DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4dv")) == NULL) || r; - r = ((glUniformMatrix4x2dv = (PFNGLUNIFORMMATRIX4X2DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x2dv")) == NULL) || r; - r = ((glUniformMatrix4x3dv = (PFNGLUNIFORMMATRIX4X3DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x3dv")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_gpu_shader_fp64 */ - -#ifdef GL_ARB_half_float_pixel - -#endif /* GL_ARB_half_float_pixel */ - -#ifdef GL_ARB_half_float_vertex - -#endif /* GL_ARB_half_float_vertex */ - -#ifdef GL_ARB_imaging - -static GLboolean _glewInit_GL_ARB_imaging (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)"glBlendEquation")) == NULL) || r; - r = ((glColorSubTable = (PFNGLCOLORSUBTABLEPROC)glewGetProcAddress((const GLubyte*)"glColorSubTable")) == NULL) || r; - r = ((glColorTable = (PFNGLCOLORTABLEPROC)glewGetProcAddress((const GLubyte*)"glColorTable")) == NULL) || r; - r = ((glColorTableParameterfv = (PFNGLCOLORTABLEPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameterfv")) == NULL) || r; - r = ((glColorTableParameteriv = (PFNGLCOLORTABLEPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameteriv")) == NULL) || r; - r = ((glConvolutionFilter1D = (PFNGLCONVOLUTIONFILTER1DPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter1D")) == NULL) || r; - r = ((glConvolutionFilter2D = (PFNGLCONVOLUTIONFILTER2DPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter2D")) == NULL) || r; - r = ((glConvolutionParameterf = (PFNGLCONVOLUTIONPARAMETERFPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterf")) == NULL) || r; - r = ((glConvolutionParameterfv = (PFNGLCONVOLUTIONPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterfv")) == NULL) || r; - r = ((glConvolutionParameteri = (PFNGLCONVOLUTIONPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameteri")) == NULL) || r; - r = ((glConvolutionParameteriv = (PFNGLCONVOLUTIONPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameteriv")) == NULL) || r; - r = ((glCopyColorSubTable = (PFNGLCOPYCOLORSUBTABLEPROC)glewGetProcAddress((const GLubyte*)"glCopyColorSubTable")) == NULL) || r; - r = ((glCopyColorTable = (PFNGLCOPYCOLORTABLEPROC)glewGetProcAddress((const GLubyte*)"glCopyColorTable")) == NULL) || r; - r = ((glCopyConvolutionFilter1D = (PFNGLCOPYCONVOLUTIONFILTER1DPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter1D")) == NULL) || r; - r = ((glCopyConvolutionFilter2D = (PFNGLCOPYCONVOLUTIONFILTER2DPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter2D")) == NULL) || r; - r = ((glGetColorTable = (PFNGLGETCOLORTABLEPROC)glewGetProcAddress((const GLubyte*)"glGetColorTable")) == NULL) || r; - r = ((glGetColorTableParameterfv = (PFNGLGETCOLORTABLEPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterfv")) == NULL) || r; - r = ((glGetColorTableParameteriv = (PFNGLGETCOLORTABLEPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameteriv")) == NULL) || r; - r = ((glGetConvolutionFilter = (PFNGLGETCONVOLUTIONFILTERPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionFilter")) == NULL) || r; - r = ((glGetConvolutionParameterfv = (PFNGLGETCONVOLUTIONPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameterfv")) == NULL) || r; - r = ((glGetConvolutionParameteriv = (PFNGLGETCONVOLUTIONPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameteriv")) == NULL) || r; - r = ((glGetHistogram = (PFNGLGETHISTOGRAMPROC)glewGetProcAddress((const GLubyte*)"glGetHistogram")) == NULL) || r; - r = ((glGetHistogramParameterfv = (PFNGLGETHISTOGRAMPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameterfv")) == NULL) || r; - r = ((glGetHistogramParameteriv = (PFNGLGETHISTOGRAMPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameteriv")) == NULL) || r; - r = ((glGetMinmax = (PFNGLGETMINMAXPROC)glewGetProcAddress((const GLubyte*)"glGetMinmax")) == NULL) || r; - r = ((glGetMinmaxParameterfv = (PFNGLGETMINMAXPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameterfv")) == NULL) || r; - r = ((glGetMinmaxParameteriv = (PFNGLGETMINMAXPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameteriv")) == NULL) || r; - r = ((glGetSeparableFilter = (PFNGLGETSEPARABLEFILTERPROC)glewGetProcAddress((const GLubyte*)"glGetSeparableFilter")) == NULL) || r; - r = ((glHistogram = (PFNGLHISTOGRAMPROC)glewGetProcAddress((const GLubyte*)"glHistogram")) == NULL) || r; - r = ((glMinmax = (PFNGLMINMAXPROC)glewGetProcAddress((const GLubyte*)"glMinmax")) == NULL) || r; - r = ((glResetHistogram = (PFNGLRESETHISTOGRAMPROC)glewGetProcAddress((const GLubyte*)"glResetHistogram")) == NULL) || r; - r = ((glResetMinmax = (PFNGLRESETMINMAXPROC)glewGetProcAddress((const GLubyte*)"glResetMinmax")) == NULL) || r; - r = ((glSeparableFilter2D = (PFNGLSEPARABLEFILTER2DPROC)glewGetProcAddress((const GLubyte*)"glSeparableFilter2D")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_imaging */ - -#ifdef GL_ARB_instanced_arrays - -static GLboolean _glewInit_GL_ARB_instanced_arrays (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glDrawArraysInstancedARB = (PFNGLDRAWARRAYSINSTANCEDARBPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstancedARB")) == NULL) || r; - r = ((glDrawElementsInstancedARB = (PFNGLDRAWELEMENTSINSTANCEDARBPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedARB")) == NULL) || r; - r = ((glVertexAttribDivisorARB = (PFNGLVERTEXATTRIBDIVISORARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribDivisorARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_instanced_arrays */ - -#ifdef GL_ARB_internalformat_query - -static GLboolean _glewInit_GL_ARB_internalformat_query (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetInternalformativ = (PFNGLGETINTERNALFORMATIVPROC)glewGetProcAddress((const GLubyte*)"glGetInternalformativ")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_internalformat_query */ - -#ifdef GL_ARB_internalformat_query2 - -static GLboolean _glewInit_GL_ARB_internalformat_query2 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetInternalformati64v = (PFNGLGETINTERNALFORMATI64VPROC)glewGetProcAddress((const GLubyte*)"glGetInternalformati64v")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_internalformat_query2 */ - -#ifdef GL_ARB_invalidate_subdata - -static GLboolean _glewInit_GL_ARB_invalidate_subdata (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glInvalidateBufferData = (PFNGLINVALIDATEBUFFERDATAPROC)glewGetProcAddress((const GLubyte*)"glInvalidateBufferData")) == NULL) || r; - r = ((glInvalidateBufferSubData = (PFNGLINVALIDATEBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glInvalidateBufferSubData")) == NULL) || r; - r = ((glInvalidateFramebuffer = (PFNGLINVALIDATEFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glInvalidateFramebuffer")) == NULL) || r; - r = ((glInvalidateSubFramebuffer = (PFNGLINVALIDATESUBFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glInvalidateSubFramebuffer")) == NULL) || r; - r = ((glInvalidateTexImage = (PFNGLINVALIDATETEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"glInvalidateTexImage")) == NULL) || r; - r = ((glInvalidateTexSubImage = (PFNGLINVALIDATETEXSUBIMAGEPROC)glewGetProcAddress((const GLubyte*)"glInvalidateTexSubImage")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_invalidate_subdata */ - -#ifdef GL_ARB_map_buffer_alignment - -#endif /* GL_ARB_map_buffer_alignment */ - -#ifdef GL_ARB_map_buffer_range - -static GLboolean _glewInit_GL_ARB_map_buffer_range (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glFlushMappedBufferRange = (PFNGLFLUSHMAPPEDBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glFlushMappedBufferRange")) == NULL) || r; - r = ((glMapBufferRange = (PFNGLMAPBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glMapBufferRange")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_map_buffer_range */ - -#ifdef GL_ARB_matrix_palette - -static GLboolean _glewInit_GL_ARB_matrix_palette (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glCurrentPaletteMatrixARB = (PFNGLCURRENTPALETTEMATRIXARBPROC)glewGetProcAddress((const GLubyte*)"glCurrentPaletteMatrixARB")) == NULL) || r; - r = ((glMatrixIndexPointerARB = (PFNGLMATRIXINDEXPOINTERARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexPointerARB")) == NULL) || r; - r = ((glMatrixIndexubvARB = (PFNGLMATRIXINDEXUBVARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexubvARB")) == NULL) || r; - r = ((glMatrixIndexuivARB = (PFNGLMATRIXINDEXUIVARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexuivARB")) == NULL) || r; - r = ((glMatrixIndexusvARB = (PFNGLMATRIXINDEXUSVARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexusvARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_matrix_palette */ - -#ifdef GL_ARB_multi_draw_indirect - -static GLboolean _glewInit_GL_ARB_multi_draw_indirect (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glMultiDrawArraysIndirect = (PFNGLMULTIDRAWARRAYSINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysIndirect")) == NULL) || r; - r = ((glMultiDrawElementsIndirect = (PFNGLMULTIDRAWELEMENTSINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsIndirect")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_multi_draw_indirect */ - -#ifdef GL_ARB_multisample - -static GLboolean _glewInit_GL_ARB_multisample (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glSampleCoverageARB = (PFNGLSAMPLECOVERAGEARBPROC)glewGetProcAddress((const GLubyte*)"glSampleCoverageARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_multisample */ - -#ifdef GL_ARB_multitexture - -static GLboolean _glewInit_GL_ARB_multitexture (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glActiveTextureARB = (PFNGLACTIVETEXTUREARBPROC)glewGetProcAddress((const GLubyte*)"glActiveTextureARB")) == NULL) || r; - r = ((glClientActiveTextureARB = (PFNGLCLIENTACTIVETEXTUREARBPROC)glewGetProcAddress((const GLubyte*)"glClientActiveTextureARB")) == NULL) || r; - r = ((glMultiTexCoord1dARB = (PFNGLMULTITEXCOORD1DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1dARB")) == NULL) || r; - r = ((glMultiTexCoord1dvARB = (PFNGLMULTITEXCOORD1DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1dvARB")) == NULL) || r; - r = ((glMultiTexCoord1fARB = (PFNGLMULTITEXCOORD1FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1fARB")) == NULL) || r; - r = ((glMultiTexCoord1fvARB = (PFNGLMULTITEXCOORD1FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1fvARB")) == NULL) || r; - r = ((glMultiTexCoord1iARB = (PFNGLMULTITEXCOORD1IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1iARB")) == NULL) || r; - r = ((glMultiTexCoord1ivARB = (PFNGLMULTITEXCOORD1IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1ivARB")) == NULL) || r; - r = ((glMultiTexCoord1sARB = (PFNGLMULTITEXCOORD1SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1sARB")) == NULL) || r; - r = ((glMultiTexCoord1svARB = (PFNGLMULTITEXCOORD1SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1svARB")) == NULL) || r; - r = ((glMultiTexCoord2dARB = (PFNGLMULTITEXCOORD2DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2dARB")) == NULL) || r; - r = ((glMultiTexCoord2dvARB = (PFNGLMULTITEXCOORD2DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2dvARB")) == NULL) || r; - r = ((glMultiTexCoord2fARB = (PFNGLMULTITEXCOORD2FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2fARB")) == NULL) || r; - r = ((glMultiTexCoord2fvARB = (PFNGLMULTITEXCOORD2FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2fvARB")) == NULL) || r; - r = ((glMultiTexCoord2iARB = (PFNGLMULTITEXCOORD2IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2iARB")) == NULL) || r; - r = ((glMultiTexCoord2ivARB = (PFNGLMULTITEXCOORD2IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2ivARB")) == NULL) || r; - r = ((glMultiTexCoord2sARB = (PFNGLMULTITEXCOORD2SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2sARB")) == NULL) || r; - r = ((glMultiTexCoord2svARB = (PFNGLMULTITEXCOORD2SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2svARB")) == NULL) || r; - r = ((glMultiTexCoord3dARB = (PFNGLMULTITEXCOORD3DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3dARB")) == NULL) || r; - r = ((glMultiTexCoord3dvARB = (PFNGLMULTITEXCOORD3DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3dvARB")) == NULL) || r; - r = ((glMultiTexCoord3fARB = (PFNGLMULTITEXCOORD3FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3fARB")) == NULL) || r; - r = ((glMultiTexCoord3fvARB = (PFNGLMULTITEXCOORD3FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3fvARB")) == NULL) || r; - r = ((glMultiTexCoord3iARB = (PFNGLMULTITEXCOORD3IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3iARB")) == NULL) || r; - r = ((glMultiTexCoord3ivARB = (PFNGLMULTITEXCOORD3IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3ivARB")) == NULL) || r; - r = ((glMultiTexCoord3sARB = (PFNGLMULTITEXCOORD3SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3sARB")) == NULL) || r; - r = ((glMultiTexCoord3svARB = (PFNGLMULTITEXCOORD3SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3svARB")) == NULL) || r; - r = ((glMultiTexCoord4dARB = (PFNGLMULTITEXCOORD4DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4dARB")) == NULL) || r; - r = ((glMultiTexCoord4dvARB = (PFNGLMULTITEXCOORD4DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4dvARB")) == NULL) || r; - r = ((glMultiTexCoord4fARB = (PFNGLMULTITEXCOORD4FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4fARB")) == NULL) || r; - r = ((glMultiTexCoord4fvARB = (PFNGLMULTITEXCOORD4FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4fvARB")) == NULL) || r; - r = ((glMultiTexCoord4iARB = (PFNGLMULTITEXCOORD4IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4iARB")) == NULL) || r; - r = ((glMultiTexCoord4ivARB = (PFNGLMULTITEXCOORD4IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4ivARB")) == NULL) || r; - r = ((glMultiTexCoord4sARB = (PFNGLMULTITEXCOORD4SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4sARB")) == NULL) || r; - r = ((glMultiTexCoord4svARB = (PFNGLMULTITEXCOORD4SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4svARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_multitexture */ - -#ifdef GL_ARB_occlusion_query - -static GLboolean _glewInit_GL_ARB_occlusion_query (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBeginQueryARB = (PFNGLBEGINQUERYARBPROC)glewGetProcAddress((const GLubyte*)"glBeginQueryARB")) == NULL) || r; - r = ((glDeleteQueriesARB = (PFNGLDELETEQUERIESARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteQueriesARB")) == NULL) || r; - r = ((glEndQueryARB = (PFNGLENDQUERYARBPROC)glewGetProcAddress((const GLubyte*)"glEndQueryARB")) == NULL) || r; - r = ((glGenQueriesARB = (PFNGLGENQUERIESARBPROC)glewGetProcAddress((const GLubyte*)"glGenQueriesARB")) == NULL) || r; - r = ((glGetQueryObjectivARB = (PFNGLGETQUERYOBJECTIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectivARB")) == NULL) || r; - r = ((glGetQueryObjectuivARB = (PFNGLGETQUERYOBJECTUIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectuivARB")) == NULL) || r; - r = ((glGetQueryivARB = (PFNGLGETQUERYIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetQueryivARB")) == NULL) || r; - r = ((glIsQueryARB = (PFNGLISQUERYARBPROC)glewGetProcAddress((const GLubyte*)"glIsQueryARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_occlusion_query */ - -#ifdef GL_ARB_occlusion_query2 - -#endif /* GL_ARB_occlusion_query2 */ - -#ifdef GL_ARB_pixel_buffer_object - -#endif /* GL_ARB_pixel_buffer_object */ - -#ifdef GL_ARB_point_parameters - -static GLboolean _glewInit_GL_ARB_point_parameters (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glPointParameterfARB = (PFNGLPOINTPARAMETERFARBPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfARB")) == NULL) || r; - r = ((glPointParameterfvARB = (PFNGLPOINTPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfvARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_point_parameters */ - -#ifdef GL_ARB_point_sprite - -#endif /* GL_ARB_point_sprite */ - -#ifdef GL_ARB_program_interface_query - -static GLboolean _glewInit_GL_ARB_program_interface_query (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetProgramInterfaceiv = (PFNGLGETPROGRAMINTERFACEIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramInterfaceiv")) == NULL) || r; - r = ((glGetProgramResourceIndex = (PFNGLGETPROGRAMRESOURCEINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourceIndex")) == NULL) || r; - r = ((glGetProgramResourceLocation = (PFNGLGETPROGRAMRESOURCELOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourceLocation")) == NULL) || r; - r = ((glGetProgramResourceLocationIndex = (PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourceLocationIndex")) == NULL) || r; - r = ((glGetProgramResourceName = (PFNGLGETPROGRAMRESOURCENAMEPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourceName")) == NULL) || r; - r = ((glGetProgramResourceiv = (PFNGLGETPROGRAMRESOURCEIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourceiv")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_program_interface_query */ - -#ifdef GL_ARB_provoking_vertex - -static GLboolean _glewInit_GL_ARB_provoking_vertex (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glProvokingVertex = (PFNGLPROVOKINGVERTEXPROC)glewGetProcAddress((const GLubyte*)"glProvokingVertex")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_provoking_vertex */ - -#ifdef GL_ARB_robust_buffer_access_behavior - -#endif /* GL_ARB_robust_buffer_access_behavior */ - -#ifdef GL_ARB_robustness - -static GLboolean _glewInit_GL_ARB_robustness (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetGraphicsResetStatusARB = (PFNGLGETGRAPHICSRESETSTATUSARBPROC)glewGetProcAddress((const GLubyte*)"glGetGraphicsResetStatusARB")) == NULL) || r; - r = ((glGetnColorTableARB = (PFNGLGETNCOLORTABLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetnColorTableARB")) == NULL) || r; - r = ((glGetnCompressedTexImageARB = (PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"glGetnCompressedTexImageARB")) == NULL) || r; - r = ((glGetnConvolutionFilterARB = (PFNGLGETNCONVOLUTIONFILTERARBPROC)glewGetProcAddress((const GLubyte*)"glGetnConvolutionFilterARB")) == NULL) || r; - r = ((glGetnHistogramARB = (PFNGLGETNHISTOGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glGetnHistogramARB")) == NULL) || r; - r = ((glGetnMapdvARB = (PFNGLGETNMAPDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnMapdvARB")) == NULL) || r; - r = ((glGetnMapfvARB = (PFNGLGETNMAPFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnMapfvARB")) == NULL) || r; - r = ((glGetnMapivARB = (PFNGLGETNMAPIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnMapivARB")) == NULL) || r; - r = ((glGetnMinmaxARB = (PFNGLGETNMINMAXARBPROC)glewGetProcAddress((const GLubyte*)"glGetnMinmaxARB")) == NULL) || r; - r = ((glGetnPixelMapfvARB = (PFNGLGETNPIXELMAPFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnPixelMapfvARB")) == NULL) || r; - r = ((glGetnPixelMapuivARB = (PFNGLGETNPIXELMAPUIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnPixelMapuivARB")) == NULL) || r; - r = ((glGetnPixelMapusvARB = (PFNGLGETNPIXELMAPUSVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnPixelMapusvARB")) == NULL) || r; - r = ((glGetnPolygonStippleARB = (PFNGLGETNPOLYGONSTIPPLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetnPolygonStippleARB")) == NULL) || r; - r = ((glGetnSeparableFilterARB = (PFNGLGETNSEPARABLEFILTERARBPROC)glewGetProcAddress((const GLubyte*)"glGetnSeparableFilterARB")) == NULL) || r; - r = ((glGetnTexImageARB = (PFNGLGETNTEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"glGetnTexImageARB")) == NULL) || r; - r = ((glGetnUniformdvARB = (PFNGLGETNUNIFORMDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformdvARB")) == NULL) || r; - r = ((glGetnUniformfvARB = (PFNGLGETNUNIFORMFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformfvARB")) == NULL) || r; - r = ((glGetnUniformivARB = (PFNGLGETNUNIFORMIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformivARB")) == NULL) || r; - r = ((glGetnUniformuivARB = (PFNGLGETNUNIFORMUIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformuivARB")) == NULL) || r; - r = ((glReadnPixelsARB = (PFNGLREADNPIXELSARBPROC)glewGetProcAddress((const GLubyte*)"glReadnPixelsARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_robustness */ - -#ifdef GL_ARB_robustness_application_isolation - -#endif /* GL_ARB_robustness_application_isolation */ - -#ifdef GL_ARB_robustness_share_group_isolation - -#endif /* GL_ARB_robustness_share_group_isolation */ - -#ifdef GL_ARB_sample_shading - -static GLboolean _glewInit_GL_ARB_sample_shading (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glMinSampleShadingARB = (PFNGLMINSAMPLESHADINGARBPROC)glewGetProcAddress((const GLubyte*)"glMinSampleShadingARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_sample_shading */ - -#ifdef GL_ARB_sampler_objects - -static GLboolean _glewInit_GL_ARB_sampler_objects (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBindSampler = (PFNGLBINDSAMPLERPROC)glewGetProcAddress((const GLubyte*)"glBindSampler")) == NULL) || r; - r = ((glDeleteSamplers = (PFNGLDELETESAMPLERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteSamplers")) == NULL) || r; - r = ((glGenSamplers = (PFNGLGENSAMPLERSPROC)glewGetProcAddress((const GLubyte*)"glGenSamplers")) == NULL) || r; - r = ((glGetSamplerParameterIiv = (PFNGLGETSAMPLERPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameterIiv")) == NULL) || r; - r = ((glGetSamplerParameterIuiv = (PFNGLGETSAMPLERPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameterIuiv")) == NULL) || r; - r = ((glGetSamplerParameterfv = (PFNGLGETSAMPLERPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameterfv")) == NULL) || r; - r = ((glGetSamplerParameteriv = (PFNGLGETSAMPLERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameteriv")) == NULL) || r; - r = ((glIsSampler = (PFNGLISSAMPLERPROC)glewGetProcAddress((const GLubyte*)"glIsSampler")) == NULL) || r; - r = ((glSamplerParameterIiv = (PFNGLSAMPLERPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterIiv")) == NULL) || r; - r = ((glSamplerParameterIuiv = (PFNGLSAMPLERPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterIuiv")) == NULL) || r; - r = ((glSamplerParameterf = (PFNGLSAMPLERPARAMETERFPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterf")) == NULL) || r; - r = ((glSamplerParameterfv = (PFNGLSAMPLERPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterfv")) == NULL) || r; - r = ((glSamplerParameteri = (PFNGLSAMPLERPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameteri")) == NULL) || r; - r = ((glSamplerParameteriv = (PFNGLSAMPLERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameteriv")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_sampler_objects */ - -#ifdef GL_ARB_seamless_cube_map - -#endif /* GL_ARB_seamless_cube_map */ - -#ifdef GL_ARB_separate_shader_objects - -static GLboolean _glewInit_GL_ARB_separate_shader_objects (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glActiveShaderProgram = (PFNGLACTIVESHADERPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glActiveShaderProgram")) == NULL) || r; - r = ((glBindProgramPipeline = (PFNGLBINDPROGRAMPIPELINEPROC)glewGetProcAddress((const GLubyte*)"glBindProgramPipeline")) == NULL) || r; - r = ((glCreateShaderProgramv = (PFNGLCREATESHADERPROGRAMVPROC)glewGetProcAddress((const GLubyte*)"glCreateShaderProgramv")) == NULL) || r; - r = ((glDeleteProgramPipelines = (PFNGLDELETEPROGRAMPIPELINESPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgramPipelines")) == NULL) || r; - r = ((glGenProgramPipelines = (PFNGLGENPROGRAMPIPELINESPROC)glewGetProcAddress((const GLubyte*)"glGenProgramPipelines")) == NULL) || r; - r = ((glGetProgramPipelineInfoLog = (PFNGLGETPROGRAMPIPELINEINFOLOGPROC)glewGetProcAddress((const GLubyte*)"glGetProgramPipelineInfoLog")) == NULL) || r; - r = ((glGetProgramPipelineiv = (PFNGLGETPROGRAMPIPELINEIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramPipelineiv")) == NULL) || r; - r = ((glIsProgramPipeline = (PFNGLISPROGRAMPIPELINEPROC)glewGetProcAddress((const GLubyte*)"glIsProgramPipeline")) == NULL) || r; - r = ((glProgramUniform1d = (PFNGLPROGRAMUNIFORM1DPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1d")) == NULL) || r; - r = ((glProgramUniform1dv = (PFNGLPROGRAMUNIFORM1DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1dv")) == NULL) || r; - r = ((glProgramUniform1f = (PFNGLPROGRAMUNIFORM1FPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1f")) == NULL) || r; - r = ((glProgramUniform1fv = (PFNGLPROGRAMUNIFORM1FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1fv")) == NULL) || r; - r = ((glProgramUniform1i = (PFNGLPROGRAMUNIFORM1IPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1i")) == NULL) || r; - r = ((glProgramUniform1iv = (PFNGLPROGRAMUNIFORM1IVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1iv")) == NULL) || r; - r = ((glProgramUniform1ui = (PFNGLPROGRAMUNIFORM1UIPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ui")) == NULL) || r; - r = ((glProgramUniform1uiv = (PFNGLPROGRAMUNIFORM1UIVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1uiv")) == NULL) || r; - r = ((glProgramUniform2d = (PFNGLPROGRAMUNIFORM2DPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2d")) == NULL) || r; - r = ((glProgramUniform2dv = (PFNGLPROGRAMUNIFORM2DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2dv")) == NULL) || r; - r = ((glProgramUniform2f = (PFNGLPROGRAMUNIFORM2FPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2f")) == NULL) || r; - r = ((glProgramUniform2fv = (PFNGLPROGRAMUNIFORM2FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2fv")) == NULL) || r; - r = ((glProgramUniform2i = (PFNGLPROGRAMUNIFORM2IPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2i")) == NULL) || r; - r = ((glProgramUniform2iv = (PFNGLPROGRAMUNIFORM2IVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2iv")) == NULL) || r; - r = ((glProgramUniform2ui = (PFNGLPROGRAMUNIFORM2UIPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ui")) == NULL) || r; - r = ((glProgramUniform2uiv = (PFNGLPROGRAMUNIFORM2UIVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2uiv")) == NULL) || r; - r = ((glProgramUniform3d = (PFNGLPROGRAMUNIFORM3DPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3d")) == NULL) || r; - r = ((glProgramUniform3dv = (PFNGLPROGRAMUNIFORM3DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3dv")) == NULL) || r; - r = ((glProgramUniform3f = (PFNGLPROGRAMUNIFORM3FPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3f")) == NULL) || r; - r = ((glProgramUniform3fv = (PFNGLPROGRAMUNIFORM3FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3fv")) == NULL) || r; - r = ((glProgramUniform3i = (PFNGLPROGRAMUNIFORM3IPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3i")) == NULL) || r; - r = ((glProgramUniform3iv = (PFNGLPROGRAMUNIFORM3IVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3iv")) == NULL) || r; - r = ((glProgramUniform3ui = (PFNGLPROGRAMUNIFORM3UIPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ui")) == NULL) || r; - r = ((glProgramUniform3uiv = (PFNGLPROGRAMUNIFORM3UIVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3uiv")) == NULL) || r; - r = ((glProgramUniform4d = (PFNGLPROGRAMUNIFORM4DPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4d")) == NULL) || r; - r = ((glProgramUniform4dv = (PFNGLPROGRAMUNIFORM4DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4dv")) == NULL) || r; - r = ((glProgramUniform4f = (PFNGLPROGRAMUNIFORM4FPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4f")) == NULL) || r; - r = ((glProgramUniform4fv = (PFNGLPROGRAMUNIFORM4FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4fv")) == NULL) || r; - r = ((glProgramUniform4i = (PFNGLPROGRAMUNIFORM4IPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4i")) == NULL) || r; - r = ((glProgramUniform4iv = (PFNGLPROGRAMUNIFORM4IVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4iv")) == NULL) || r; - r = ((glProgramUniform4ui = (PFNGLPROGRAMUNIFORM4UIPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ui")) == NULL) || r; - r = ((glProgramUniform4uiv = (PFNGLPROGRAMUNIFORM4UIVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4uiv")) == NULL) || r; - r = ((glProgramUniformMatrix2dv = (PFNGLPROGRAMUNIFORMMATRIX2DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2dv")) == NULL) || r; - r = ((glProgramUniformMatrix2fv = (PFNGLPROGRAMUNIFORMMATRIX2FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2fv")) == NULL) || r; - r = ((glProgramUniformMatrix2x3dv = (PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x3dv")) == NULL) || r; - r = ((glProgramUniformMatrix2x3fv = (PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x3fv")) == NULL) || r; - r = ((glProgramUniformMatrix2x4dv = (PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x4dv")) == NULL) || r; - r = ((glProgramUniformMatrix2x4fv = (PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x4fv")) == NULL) || r; - r = ((glProgramUniformMatrix3dv = (PFNGLPROGRAMUNIFORMMATRIX3DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3dv")) == NULL) || r; - r = ((glProgramUniformMatrix3fv = (PFNGLPROGRAMUNIFORMMATRIX3FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3fv")) == NULL) || r; - r = ((glProgramUniformMatrix3x2dv = (PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x2dv")) == NULL) || r; - r = ((glProgramUniformMatrix3x2fv = (PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x2fv")) == NULL) || r; - r = ((glProgramUniformMatrix3x4dv = (PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x4dv")) == NULL) || r; - r = ((glProgramUniformMatrix3x4fv = (PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x4fv")) == NULL) || r; - r = ((glProgramUniformMatrix4dv = (PFNGLPROGRAMUNIFORMMATRIX4DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4dv")) == NULL) || r; - r = ((glProgramUniformMatrix4fv = (PFNGLPROGRAMUNIFORMMATRIX4FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4fv")) == NULL) || r; - r = ((glProgramUniformMatrix4x2dv = (PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x2dv")) == NULL) || r; - r = ((glProgramUniformMatrix4x2fv = (PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x2fv")) == NULL) || r; - r = ((glProgramUniformMatrix4x3dv = (PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x3dv")) == NULL) || r; - r = ((glProgramUniformMatrix4x3fv = (PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x3fv")) == NULL) || r; - r = ((glUseProgramStages = (PFNGLUSEPROGRAMSTAGESPROC)glewGetProcAddress((const GLubyte*)"glUseProgramStages")) == NULL) || r; - r = ((glValidateProgramPipeline = (PFNGLVALIDATEPROGRAMPIPELINEPROC)glewGetProcAddress((const GLubyte*)"glValidateProgramPipeline")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_separate_shader_objects */ - -#ifdef GL_ARB_shader_atomic_counters - -static GLboolean _glewInit_GL_ARB_shader_atomic_counters (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetActiveAtomicCounterBufferiv = (PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveAtomicCounterBufferiv")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_shader_atomic_counters */ - -#ifdef GL_ARB_shader_bit_encoding - -#endif /* GL_ARB_shader_bit_encoding */ - -#ifdef GL_ARB_shader_image_load_store - -static GLboolean _glewInit_GL_ARB_shader_image_load_store (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBindImageTexture = (PFNGLBINDIMAGETEXTUREPROC)glewGetProcAddress((const GLubyte*)"glBindImageTexture")) == NULL) || r; - r = ((glMemoryBarrier = (PFNGLMEMORYBARRIERPROC)glewGetProcAddress((const GLubyte*)"glMemoryBarrier")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_shader_image_load_store */ - -#ifdef GL_ARB_shader_image_size - -#endif /* GL_ARB_shader_image_size */ - -#ifdef GL_ARB_shader_objects - -static GLboolean _glewInit_GL_ARB_shader_objects (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glAttachObjectARB = (PFNGLATTACHOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glAttachObjectARB")) == NULL) || r; - r = ((glCompileShaderARB = (PFNGLCOMPILESHADERARBPROC)glewGetProcAddress((const GLubyte*)"glCompileShaderARB")) == NULL) || r; - r = ((glCreateProgramObjectARB = (PFNGLCREATEPROGRAMOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glCreateProgramObjectARB")) == NULL) || r; - r = ((glCreateShaderObjectARB = (PFNGLCREATESHADEROBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glCreateShaderObjectARB")) == NULL) || r; - r = ((glDeleteObjectARB = (PFNGLDELETEOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteObjectARB")) == NULL) || r; - r = ((glDetachObjectARB = (PFNGLDETACHOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glDetachObjectARB")) == NULL) || r; - r = ((glGetActiveUniformARB = (PFNGLGETACTIVEUNIFORMARBPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformARB")) == NULL) || r; - r = ((glGetAttachedObjectsARB = (PFNGLGETATTACHEDOBJECTSARBPROC)glewGetProcAddress((const GLubyte*)"glGetAttachedObjectsARB")) == NULL) || r; - r = ((glGetHandleARB = (PFNGLGETHANDLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetHandleARB")) == NULL) || r; - r = ((glGetInfoLogARB = (PFNGLGETINFOLOGARBPROC)glewGetProcAddress((const GLubyte*)"glGetInfoLogARB")) == NULL) || r; - r = ((glGetObjectParameterfvARB = (PFNGLGETOBJECTPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetObjectParameterfvARB")) == NULL) || r; - r = ((glGetObjectParameterivARB = (PFNGLGETOBJECTPARAMETERIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetObjectParameterivARB")) == NULL) || r; - r = ((glGetShaderSourceARB = (PFNGLGETSHADERSOURCEARBPROC)glewGetProcAddress((const GLubyte*)"glGetShaderSourceARB")) == NULL) || r; - r = ((glGetUniformLocationARB = (PFNGLGETUNIFORMLOCATIONARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformLocationARB")) == NULL) || r; - r = ((glGetUniformfvARB = (PFNGLGETUNIFORMFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformfvARB")) == NULL) || r; - r = ((glGetUniformivARB = (PFNGLGETUNIFORMIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformivARB")) == NULL) || r; - r = ((glLinkProgramARB = (PFNGLLINKPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glLinkProgramARB")) == NULL) || r; - r = ((glShaderSourceARB = (PFNGLSHADERSOURCEARBPROC)glewGetProcAddress((const GLubyte*)"glShaderSourceARB")) == NULL) || r; - r = ((glUniform1fARB = (PFNGLUNIFORM1FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1fARB")) == NULL) || r; - r = ((glUniform1fvARB = (PFNGLUNIFORM1FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1fvARB")) == NULL) || r; - r = ((glUniform1iARB = (PFNGLUNIFORM1IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1iARB")) == NULL) || r; - r = ((glUniform1ivARB = (PFNGLUNIFORM1IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1ivARB")) == NULL) || r; - r = ((glUniform2fARB = (PFNGLUNIFORM2FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2fARB")) == NULL) || r; - r = ((glUniform2fvARB = (PFNGLUNIFORM2FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2fvARB")) == NULL) || r; - r = ((glUniform2iARB = (PFNGLUNIFORM2IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2iARB")) == NULL) || r; - r = ((glUniform2ivARB = (PFNGLUNIFORM2IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2ivARB")) == NULL) || r; - r = ((glUniform3fARB = (PFNGLUNIFORM3FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3fARB")) == NULL) || r; - r = ((glUniform3fvARB = (PFNGLUNIFORM3FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3fvARB")) == NULL) || r; - r = ((glUniform3iARB = (PFNGLUNIFORM3IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3iARB")) == NULL) || r; - r = ((glUniform3ivARB = (PFNGLUNIFORM3IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3ivARB")) == NULL) || r; - r = ((glUniform4fARB = (PFNGLUNIFORM4FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4fARB")) == NULL) || r; - r = ((glUniform4fvARB = (PFNGLUNIFORM4FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4fvARB")) == NULL) || r; - r = ((glUniform4iARB = (PFNGLUNIFORM4IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4iARB")) == NULL) || r; - r = ((glUniform4ivARB = (PFNGLUNIFORM4IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4ivARB")) == NULL) || r; - r = ((glUniformMatrix2fvARB = (PFNGLUNIFORMMATRIX2FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2fvARB")) == NULL) || r; - r = ((glUniformMatrix3fvARB = (PFNGLUNIFORMMATRIX3FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3fvARB")) == NULL) || r; - r = ((glUniformMatrix4fvARB = (PFNGLUNIFORMMATRIX4FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4fvARB")) == NULL) || r; - r = ((glUseProgramObjectARB = (PFNGLUSEPROGRAMOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glUseProgramObjectARB")) == NULL) || r; - r = ((glValidateProgramARB = (PFNGLVALIDATEPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glValidateProgramARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_shader_objects */ - -#ifdef GL_ARB_shader_precision - -#endif /* GL_ARB_shader_precision */ - -#ifdef GL_ARB_shader_stencil_export - -#endif /* GL_ARB_shader_stencil_export */ - -#ifdef GL_ARB_shader_storage_buffer_object - -static GLboolean _glewInit_GL_ARB_shader_storage_buffer_object (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glShaderStorageBlockBinding = (PFNGLSHADERSTORAGEBLOCKBINDINGPROC)glewGetProcAddress((const GLubyte*)"glShaderStorageBlockBinding")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_shader_storage_buffer_object */ - -#ifdef GL_ARB_shader_subroutine - -static GLboolean _glewInit_GL_ARB_shader_subroutine (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetActiveSubroutineName = (PFNGLGETACTIVESUBROUTINENAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveSubroutineName")) == NULL) || r; - r = ((glGetActiveSubroutineUniformName = (PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveSubroutineUniformName")) == NULL) || r; - r = ((glGetActiveSubroutineUniformiv = (PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveSubroutineUniformiv")) == NULL) || r; - r = ((glGetProgramStageiv = (PFNGLGETPROGRAMSTAGEIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramStageiv")) == NULL) || r; - r = ((glGetSubroutineIndex = (PFNGLGETSUBROUTINEINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetSubroutineIndex")) == NULL) || r; - r = ((glGetSubroutineUniformLocation = (PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetSubroutineUniformLocation")) == NULL) || r; - r = ((glGetUniformSubroutineuiv = (PFNGLGETUNIFORMSUBROUTINEUIVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformSubroutineuiv")) == NULL) || r; - r = ((glUniformSubroutinesuiv = (PFNGLUNIFORMSUBROUTINESUIVPROC)glewGetProcAddress((const GLubyte*)"glUniformSubroutinesuiv")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_shader_subroutine */ - -#ifdef GL_ARB_shader_texture_lod - -#endif /* GL_ARB_shader_texture_lod */ - -#ifdef GL_ARB_shading_language_100 - -#endif /* GL_ARB_shading_language_100 */ - -#ifdef GL_ARB_shading_language_420pack - -#endif /* GL_ARB_shading_language_420pack */ - -#ifdef GL_ARB_shading_language_include - -static GLboolean _glewInit_GL_ARB_shading_language_include (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glCompileShaderIncludeARB = (PFNGLCOMPILESHADERINCLUDEARBPROC)glewGetProcAddress((const GLubyte*)"glCompileShaderIncludeARB")) == NULL) || r; - r = ((glDeleteNamedStringARB = (PFNGLDELETENAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteNamedStringARB")) == NULL) || r; - r = ((glGetNamedStringARB = (PFNGLGETNAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glGetNamedStringARB")) == NULL) || r; - r = ((glGetNamedStringivARB = (PFNGLGETNAMEDSTRINGIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetNamedStringivARB")) == NULL) || r; - r = ((glIsNamedStringARB = (PFNGLISNAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glIsNamedStringARB")) == NULL) || r; - r = ((glNamedStringARB = (PFNGLNAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glNamedStringARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_shading_language_include */ - -#ifdef GL_ARB_shading_language_packing - -#endif /* GL_ARB_shading_language_packing */ - -#ifdef GL_ARB_shadow - -#endif /* GL_ARB_shadow */ - -#ifdef GL_ARB_shadow_ambient - -#endif /* GL_ARB_shadow_ambient */ - -#ifdef GL_ARB_stencil_texturing - -#endif /* GL_ARB_stencil_texturing */ - -#ifdef GL_ARB_sync - -static GLboolean _glewInit_GL_ARB_sync (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glClientWaitSync = (PFNGLCLIENTWAITSYNCPROC)glewGetProcAddress((const GLubyte*)"glClientWaitSync")) == NULL) || r; - r = ((glDeleteSync = (PFNGLDELETESYNCPROC)glewGetProcAddress((const GLubyte*)"glDeleteSync")) == NULL) || r; - r = ((glFenceSync = (PFNGLFENCESYNCPROC)glewGetProcAddress((const GLubyte*)"glFenceSync")) == NULL) || r; - r = ((glGetInteger64v = (PFNGLGETINTEGER64VPROC)glewGetProcAddress((const GLubyte*)"glGetInteger64v")) == NULL) || r; - r = ((glGetSynciv = (PFNGLGETSYNCIVPROC)glewGetProcAddress((const GLubyte*)"glGetSynciv")) == NULL) || r; - r = ((glIsSync = (PFNGLISSYNCPROC)glewGetProcAddress((const GLubyte*)"glIsSync")) == NULL) || r; - r = ((glWaitSync = (PFNGLWAITSYNCPROC)glewGetProcAddress((const GLubyte*)"glWaitSync")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_sync */ - -#ifdef GL_ARB_tessellation_shader - -static GLboolean _glewInit_GL_ARB_tessellation_shader (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glPatchParameterfv = (PFNGLPATCHPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glPatchParameterfv")) == NULL) || r; - r = ((glPatchParameteri = (PFNGLPATCHPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glPatchParameteri")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_tessellation_shader */ - -#ifdef GL_ARB_texture_border_clamp - -#endif /* GL_ARB_texture_border_clamp */ - -#ifdef GL_ARB_texture_buffer_object - -static GLboolean _glewInit_GL_ARB_texture_buffer_object (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glTexBufferARB = (PFNGLTEXBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glTexBufferARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_texture_buffer_object */ - -#ifdef GL_ARB_texture_buffer_object_rgb32 - -#endif /* GL_ARB_texture_buffer_object_rgb32 */ - -#ifdef GL_ARB_texture_buffer_range - -static GLboolean _glewInit_GL_ARB_texture_buffer_range (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glTexBufferRange = (PFNGLTEXBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glTexBufferRange")) == NULL) || r; - r = ((glTextureBufferRangeEXT = (PFNGLTEXTUREBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureBufferRangeEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_texture_buffer_range */ - -#ifdef GL_ARB_texture_compression - -static GLboolean _glewInit_GL_ARB_texture_compression (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glCompressedTexImage1DARB = (PFNGLCOMPRESSEDTEXIMAGE1DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage1DARB")) == NULL) || r; - r = ((glCompressedTexImage2DARB = (PFNGLCOMPRESSEDTEXIMAGE2DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage2DARB")) == NULL) || r; - r = ((glCompressedTexImage3DARB = (PFNGLCOMPRESSEDTEXIMAGE3DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage3DARB")) == NULL) || r; - r = ((glCompressedTexSubImage1DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage1DARB")) == NULL) || r; - r = ((glCompressedTexSubImage2DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage2DARB")) == NULL) || r; - r = ((glCompressedTexSubImage3DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage3DARB")) == NULL) || r; - r = ((glGetCompressedTexImageARB = (PFNGLGETCOMPRESSEDTEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTexImageARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_texture_compression */ - -#ifdef GL_ARB_texture_compression_bptc - -#endif /* GL_ARB_texture_compression_bptc */ - -#ifdef GL_ARB_texture_compression_rgtc - -#endif /* GL_ARB_texture_compression_rgtc */ - -#ifdef GL_ARB_texture_cube_map - -#endif /* GL_ARB_texture_cube_map */ - -#ifdef GL_ARB_texture_cube_map_array - -#endif /* GL_ARB_texture_cube_map_array */ - -#ifdef GL_ARB_texture_env_add - -#endif /* GL_ARB_texture_env_add */ - -#ifdef GL_ARB_texture_env_combine - -#endif /* GL_ARB_texture_env_combine */ - -#ifdef GL_ARB_texture_env_crossbar - -#endif /* GL_ARB_texture_env_crossbar */ - -#ifdef GL_ARB_texture_env_dot3 - -#endif /* GL_ARB_texture_env_dot3 */ - -#ifdef GL_ARB_texture_float - -#endif /* GL_ARB_texture_float */ - -#ifdef GL_ARB_texture_gather - -#endif /* GL_ARB_texture_gather */ - -#ifdef GL_ARB_texture_mirrored_repeat - -#endif /* GL_ARB_texture_mirrored_repeat */ - -#ifdef GL_ARB_texture_multisample - -static GLboolean _glewInit_GL_ARB_texture_multisample (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetMultisamplefv = (PFNGLGETMULTISAMPLEFVPROC)glewGetProcAddress((const GLubyte*)"glGetMultisamplefv")) == NULL) || r; - r = ((glSampleMaski = (PFNGLSAMPLEMASKIPROC)glewGetProcAddress((const GLubyte*)"glSampleMaski")) == NULL) || r; - r = ((glTexImage2DMultisample = (PFNGLTEXIMAGE2DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTexImage2DMultisample")) == NULL) || r; - r = ((glTexImage3DMultisample = (PFNGLTEXIMAGE3DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTexImage3DMultisample")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_texture_multisample */ - -#ifdef GL_ARB_texture_non_power_of_two - -#endif /* GL_ARB_texture_non_power_of_two */ - -#ifdef GL_ARB_texture_query_levels - -#endif /* GL_ARB_texture_query_levels */ - -#ifdef GL_ARB_texture_query_lod - -#endif /* GL_ARB_texture_query_lod */ - -#ifdef GL_ARB_texture_rectangle - -#endif /* GL_ARB_texture_rectangle */ - -#ifdef GL_ARB_texture_rg - -#endif /* GL_ARB_texture_rg */ - -#ifdef GL_ARB_texture_rgb10_a2ui - -#endif /* GL_ARB_texture_rgb10_a2ui */ - -#ifdef GL_ARB_texture_storage - -static GLboolean _glewInit_GL_ARB_texture_storage (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glTexStorage1D = (PFNGLTEXSTORAGE1DPROC)glewGetProcAddress((const GLubyte*)"glTexStorage1D")) == NULL) || r; - r = ((glTexStorage2D = (PFNGLTEXSTORAGE2DPROC)glewGetProcAddress((const GLubyte*)"glTexStorage2D")) == NULL) || r; - r = ((glTexStorage3D = (PFNGLTEXSTORAGE3DPROC)glewGetProcAddress((const GLubyte*)"glTexStorage3D")) == NULL) || r; - r = ((glTextureStorage1DEXT = (PFNGLTEXTURESTORAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage1DEXT")) == NULL) || r; - r = ((glTextureStorage2DEXT = (PFNGLTEXTURESTORAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage2DEXT")) == NULL) || r; - r = ((glTextureStorage3DEXT = (PFNGLTEXTURESTORAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage3DEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_texture_storage */ - -#ifdef GL_ARB_texture_storage_multisample - -static GLboolean _glewInit_GL_ARB_texture_storage_multisample (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glTexStorage2DMultisample = (PFNGLTEXSTORAGE2DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTexStorage2DMultisample")) == NULL) || r; - r = ((glTexStorage3DMultisample = (PFNGLTEXSTORAGE3DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTexStorage3DMultisample")) == NULL) || r; - r = ((glTextureStorage2DMultisampleEXT = (PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage2DMultisampleEXT")) == NULL) || r; - r = ((glTextureStorage3DMultisampleEXT = (PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage3DMultisampleEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_texture_storage_multisample */ - -#ifdef GL_ARB_texture_swizzle - -#endif /* GL_ARB_texture_swizzle */ - -#ifdef GL_ARB_texture_view - -static GLboolean _glewInit_GL_ARB_texture_view (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glTextureView = (PFNGLTEXTUREVIEWPROC)glewGetProcAddress((const GLubyte*)"glTextureView")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_texture_view */ - -#ifdef GL_ARB_timer_query - -static GLboolean _glewInit_GL_ARB_timer_query (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetQueryObjecti64v = (PFNGLGETQUERYOBJECTI64VPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjecti64v")) == NULL) || r; - r = ((glGetQueryObjectui64v = (PFNGLGETQUERYOBJECTUI64VPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectui64v")) == NULL) || r; - r = ((glQueryCounter = (PFNGLQUERYCOUNTERPROC)glewGetProcAddress((const GLubyte*)"glQueryCounter")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_timer_query */ - -#ifdef GL_ARB_transform_feedback2 - -static GLboolean _glewInit_GL_ARB_transform_feedback2 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBindTransformFeedback = (PFNGLBINDTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glBindTransformFeedback")) == NULL) || r; - r = ((glDeleteTransformFeedbacks = (PFNGLDELETETRANSFORMFEEDBACKSPROC)glewGetProcAddress((const GLubyte*)"glDeleteTransformFeedbacks")) == NULL) || r; - r = ((glDrawTransformFeedback = (PFNGLDRAWTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedback")) == NULL) || r; - r = ((glGenTransformFeedbacks = (PFNGLGENTRANSFORMFEEDBACKSPROC)glewGetProcAddress((const GLubyte*)"glGenTransformFeedbacks")) == NULL) || r; - r = ((glIsTransformFeedback = (PFNGLISTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glIsTransformFeedback")) == NULL) || r; - r = ((glPauseTransformFeedback = (PFNGLPAUSETRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glPauseTransformFeedback")) == NULL) || r; - r = ((glResumeTransformFeedback = (PFNGLRESUMETRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glResumeTransformFeedback")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_transform_feedback2 */ - -#ifdef GL_ARB_transform_feedback3 - -static GLboolean _glewInit_GL_ARB_transform_feedback3 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBeginQueryIndexed = (PFNGLBEGINQUERYINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glBeginQueryIndexed")) == NULL) || r; - r = ((glDrawTransformFeedbackStream = (PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedbackStream")) == NULL) || r; - r = ((glEndQueryIndexed = (PFNGLENDQUERYINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glEndQueryIndexed")) == NULL) || r; - r = ((glGetQueryIndexediv = (PFNGLGETQUERYINDEXEDIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryIndexediv")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_transform_feedback3 */ - -#ifdef GL_ARB_transform_feedback_instanced - -static GLboolean _glewInit_GL_ARB_transform_feedback_instanced (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glDrawTransformFeedbackInstanced = (PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedbackInstanced")) == NULL) || r; - r = ((glDrawTransformFeedbackStreamInstanced = (PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedbackStreamInstanced")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_transform_feedback_instanced */ - -#ifdef GL_ARB_transpose_matrix - -static GLboolean _glewInit_GL_ARB_transpose_matrix (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glLoadTransposeMatrixdARB = (PFNGLLOADTRANSPOSEMATRIXDARBPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixdARB")) == NULL) || r; - r = ((glLoadTransposeMatrixfARB = (PFNGLLOADTRANSPOSEMATRIXFARBPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixfARB")) == NULL) || r; - r = ((glMultTransposeMatrixdARB = (PFNGLMULTTRANSPOSEMATRIXDARBPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixdARB")) == NULL) || r; - r = ((glMultTransposeMatrixfARB = (PFNGLMULTTRANSPOSEMATRIXFARBPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixfARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_transpose_matrix */ - -#ifdef GL_ARB_uniform_buffer_object - -static GLboolean _glewInit_GL_ARB_uniform_buffer_object (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)glewGetProcAddress((const GLubyte*)"glBindBufferBase")) == NULL) || r; - r = ((glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glBindBufferRange")) == NULL) || r; - r = ((glGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformBlockName")) == NULL) || r; - r = ((glGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformBlockiv")) == NULL) || r; - r = ((glGetActiveUniformName = (PFNGLGETACTIVEUNIFORMNAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformName")) == NULL) || r; - r = ((glGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformsiv")) == NULL) || r; - r = ((glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)glewGetProcAddress((const GLubyte*)"glGetIntegeri_v")) == NULL) || r; - r = ((glGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetUniformBlockIndex")) == NULL) || r; - r = ((glGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC)glewGetProcAddress((const GLubyte*)"glGetUniformIndices")) == NULL) || r; - r = ((glUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC)glewGetProcAddress((const GLubyte*)"glUniformBlockBinding")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_uniform_buffer_object */ - -#ifdef GL_ARB_vertex_array_bgra - -#endif /* GL_ARB_vertex_array_bgra */ - -#ifdef GL_ARB_vertex_array_object - -static GLboolean _glewInit_GL_ARB_vertex_array_object (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBindVertexArray = (PFNGLBINDVERTEXARRAYPROC)glewGetProcAddress((const GLubyte*)"glBindVertexArray")) == NULL) || r; - r = ((glDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC)glewGetProcAddress((const GLubyte*)"glDeleteVertexArrays")) == NULL) || r; - r = ((glGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC)glewGetProcAddress((const GLubyte*)"glGenVertexArrays")) == NULL) || r; - r = ((glIsVertexArray = (PFNGLISVERTEXARRAYPROC)glewGetProcAddress((const GLubyte*)"glIsVertexArray")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_vertex_array_object */ - -#ifdef GL_ARB_vertex_attrib_64bit - -static GLboolean _glewInit_GL_ARB_vertex_attrib_64bit (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetVertexAttribLdv = (PFNGLGETVERTEXATTRIBLDVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLdv")) == NULL) || r; - r = ((glVertexAttribL1d = (PFNGLVERTEXATTRIBL1DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1d")) == NULL) || r; - r = ((glVertexAttribL1dv = (PFNGLVERTEXATTRIBL1DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1dv")) == NULL) || r; - r = ((glVertexAttribL2d = (PFNGLVERTEXATTRIBL2DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2d")) == NULL) || r; - r = ((glVertexAttribL2dv = (PFNGLVERTEXATTRIBL2DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2dv")) == NULL) || r; - r = ((glVertexAttribL3d = (PFNGLVERTEXATTRIBL3DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3d")) == NULL) || r; - r = ((glVertexAttribL3dv = (PFNGLVERTEXATTRIBL3DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3dv")) == NULL) || r; - r = ((glVertexAttribL4d = (PFNGLVERTEXATTRIBL4DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4d")) == NULL) || r; - r = ((glVertexAttribL4dv = (PFNGLVERTEXATTRIBL4DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4dv")) == NULL) || r; - r = ((glVertexAttribLPointer = (PFNGLVERTEXATTRIBLPOINTERPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribLPointer")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_vertex_attrib_64bit */ - -#ifdef GL_ARB_vertex_attrib_binding - -static GLboolean _glewInit_GL_ARB_vertex_attrib_binding (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBindVertexBuffer = (PFNGLBINDVERTEXBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBindVertexBuffer")) == NULL) || r; - r = ((glVertexAttribBinding = (PFNGLVERTEXATTRIBBINDINGPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribBinding")) == NULL) || r; - r = ((glVertexAttribFormat = (PFNGLVERTEXATTRIBFORMATPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribFormat")) == NULL) || r; - r = ((glVertexAttribIFormat = (PFNGLVERTEXATTRIBIFORMATPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribIFormat")) == NULL) || r; - r = ((glVertexAttribLFormat = (PFNGLVERTEXATTRIBLFORMATPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribLFormat")) == NULL) || r; - r = ((glVertexBindingDivisor = (PFNGLVERTEXBINDINGDIVISORPROC)glewGetProcAddress((const GLubyte*)"glVertexBindingDivisor")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_vertex_attrib_binding */ - -#ifdef GL_ARB_vertex_blend - -static GLboolean _glewInit_GL_ARB_vertex_blend (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glVertexBlendARB = (PFNGLVERTEXBLENDARBPROC)glewGetProcAddress((const GLubyte*)"glVertexBlendARB")) == NULL) || r; - r = ((glWeightPointerARB = (PFNGLWEIGHTPOINTERARBPROC)glewGetProcAddress((const GLubyte*)"glWeightPointerARB")) == NULL) || r; - r = ((glWeightbvARB = (PFNGLWEIGHTBVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightbvARB")) == NULL) || r; - r = ((glWeightdvARB = (PFNGLWEIGHTDVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightdvARB")) == NULL) || r; - r = ((glWeightfvARB = (PFNGLWEIGHTFVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightfvARB")) == NULL) || r; - r = ((glWeightivARB = (PFNGLWEIGHTIVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightivARB")) == NULL) || r; - r = ((glWeightsvARB = (PFNGLWEIGHTSVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightsvARB")) == NULL) || r; - r = ((glWeightubvARB = (PFNGLWEIGHTUBVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightubvARB")) == NULL) || r; - r = ((glWeightuivARB = (PFNGLWEIGHTUIVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightuivARB")) == NULL) || r; - r = ((glWeightusvARB = (PFNGLWEIGHTUSVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightusvARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_vertex_blend */ - -#ifdef GL_ARB_vertex_buffer_object - -static GLboolean _glewInit_GL_ARB_vertex_buffer_object (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBindBufferARB = (PFNGLBINDBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glBindBufferARB")) == NULL) || r; - r = ((glBufferDataARB = (PFNGLBUFFERDATAARBPROC)glewGetProcAddress((const GLubyte*)"glBufferDataARB")) == NULL) || r; - r = ((glBufferSubDataARB = (PFNGLBUFFERSUBDATAARBPROC)glewGetProcAddress((const GLubyte*)"glBufferSubDataARB")) == NULL) || r; - r = ((glDeleteBuffersARB = (PFNGLDELETEBUFFERSARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteBuffersARB")) == NULL) || r; - r = ((glGenBuffersARB = (PFNGLGENBUFFERSARBPROC)glewGetProcAddress((const GLubyte*)"glGenBuffersARB")) == NULL) || r; - r = ((glGetBufferParameterivARB = (PFNGLGETBUFFERPARAMETERIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameterivARB")) == NULL) || r; - r = ((glGetBufferPointervARB = (PFNGLGETBUFFERPOINTERVARBPROC)glewGetProcAddress((const GLubyte*)"glGetBufferPointervARB")) == NULL) || r; - r = ((glGetBufferSubDataARB = (PFNGLGETBUFFERSUBDATAARBPROC)glewGetProcAddress((const GLubyte*)"glGetBufferSubDataARB")) == NULL) || r; - r = ((glIsBufferARB = (PFNGLISBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glIsBufferARB")) == NULL) || r; - r = ((glMapBufferARB = (PFNGLMAPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glMapBufferARB")) == NULL) || r; - r = ((glUnmapBufferARB = (PFNGLUNMAPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glUnmapBufferARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_vertex_buffer_object */ - -#ifdef GL_ARB_vertex_program - -static GLboolean _glewInit_GL_ARB_vertex_program (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBindProgramARB = (PFNGLBINDPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glBindProgramARB")) == NULL) || r; - r = ((glDeleteProgramsARB = (PFNGLDELETEPROGRAMSARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgramsARB")) == NULL) || r; - r = ((glDisableVertexAttribArrayARB = (PFNGLDISABLEVERTEXATTRIBARRAYARBPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexAttribArrayARB")) == NULL) || r; - r = ((glEnableVertexAttribArrayARB = (PFNGLENABLEVERTEXATTRIBARRAYARBPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexAttribArrayARB")) == NULL) || r; - r = ((glGenProgramsARB = (PFNGLGENPROGRAMSARBPROC)glewGetProcAddress((const GLubyte*)"glGenProgramsARB")) == NULL) || r; - r = ((glGetProgramEnvParameterdvARB = (PFNGLGETPROGRAMENVPARAMETERDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramEnvParameterdvARB")) == NULL) || r; - r = ((glGetProgramEnvParameterfvARB = (PFNGLGETPROGRAMENVPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramEnvParameterfvARB")) == NULL) || r; - r = ((glGetProgramLocalParameterdvARB = (PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramLocalParameterdvARB")) == NULL) || r; - r = ((glGetProgramLocalParameterfvARB = (PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramLocalParameterfvARB")) == NULL) || r; - r = ((glGetProgramStringARB = (PFNGLGETPROGRAMSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramStringARB")) == NULL) || r; - r = ((glGetProgramivARB = (PFNGLGETPROGRAMIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramivARB")) == NULL) || r; - r = ((glGetVertexAttribPointervARB = (PFNGLGETVERTEXATTRIBPOINTERVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribPointervARB")) == NULL) || r; - r = ((glGetVertexAttribdvARB = (PFNGLGETVERTEXATTRIBDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribdvARB")) == NULL) || r; - r = ((glGetVertexAttribfvARB = (PFNGLGETVERTEXATTRIBFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribfvARB")) == NULL) || r; - r = ((glGetVertexAttribivARB = (PFNGLGETVERTEXATTRIBIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribivARB")) == NULL) || r; - r = ((glIsProgramARB = (PFNGLISPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glIsProgramARB")) == NULL) || r; - r = ((glProgramEnvParameter4dARB = (PFNGLPROGRAMENVPARAMETER4DARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4dARB")) == NULL) || r; - r = ((glProgramEnvParameter4dvARB = (PFNGLPROGRAMENVPARAMETER4DVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4dvARB")) == NULL) || r; - r = ((glProgramEnvParameter4fARB = (PFNGLPROGRAMENVPARAMETER4FARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4fARB")) == NULL) || r; - r = ((glProgramEnvParameter4fvARB = (PFNGLPROGRAMENVPARAMETER4FVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4fvARB")) == NULL) || r; - r = ((glProgramLocalParameter4dARB = (PFNGLPROGRAMLOCALPARAMETER4DARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4dARB")) == NULL) || r; - r = ((glProgramLocalParameter4dvARB = (PFNGLPROGRAMLOCALPARAMETER4DVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4dvARB")) == NULL) || r; - r = ((glProgramLocalParameter4fARB = (PFNGLPROGRAMLOCALPARAMETER4FARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4fARB")) == NULL) || r; - r = ((glProgramLocalParameter4fvARB = (PFNGLPROGRAMLOCALPARAMETER4FVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4fvARB")) == NULL) || r; - r = ((glProgramStringARB = (PFNGLPROGRAMSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glProgramStringARB")) == NULL) || r; - r = ((glVertexAttrib1dARB = (PFNGLVERTEXATTRIB1DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dARB")) == NULL) || r; - r = ((glVertexAttrib1dvARB = (PFNGLVERTEXATTRIB1DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dvARB")) == NULL) || r; - r = ((glVertexAttrib1fARB = (PFNGLVERTEXATTRIB1FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fARB")) == NULL) || r; - r = ((glVertexAttrib1fvARB = (PFNGLVERTEXATTRIB1FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fvARB")) == NULL) || r; - r = ((glVertexAttrib1sARB = (PFNGLVERTEXATTRIB1SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1sARB")) == NULL) || r; - r = ((glVertexAttrib1svARB = (PFNGLVERTEXATTRIB1SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1svARB")) == NULL) || r; - r = ((glVertexAttrib2dARB = (PFNGLVERTEXATTRIB2DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dARB")) == NULL) || r; - r = ((glVertexAttrib2dvARB = (PFNGLVERTEXATTRIB2DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dvARB")) == NULL) || r; - r = ((glVertexAttrib2fARB = (PFNGLVERTEXATTRIB2FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fARB")) == NULL) || r; - r = ((glVertexAttrib2fvARB = (PFNGLVERTEXATTRIB2FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fvARB")) == NULL) || r; - r = ((glVertexAttrib2sARB = (PFNGLVERTEXATTRIB2SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2sARB")) == NULL) || r; - r = ((glVertexAttrib2svARB = (PFNGLVERTEXATTRIB2SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2svARB")) == NULL) || r; - r = ((glVertexAttrib3dARB = (PFNGLVERTEXATTRIB3DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dARB")) == NULL) || r; - r = ((glVertexAttrib3dvARB = (PFNGLVERTEXATTRIB3DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dvARB")) == NULL) || r; - r = ((glVertexAttrib3fARB = (PFNGLVERTEXATTRIB3FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fARB")) == NULL) || r; - r = ((glVertexAttrib3fvARB = (PFNGLVERTEXATTRIB3FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fvARB")) == NULL) || r; - r = ((glVertexAttrib3sARB = (PFNGLVERTEXATTRIB3SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3sARB")) == NULL) || r; - r = ((glVertexAttrib3svARB = (PFNGLVERTEXATTRIB3SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3svARB")) == NULL) || r; - r = ((glVertexAttrib4NbvARB = (PFNGLVERTEXATTRIB4NBVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NbvARB")) == NULL) || r; - r = ((glVertexAttrib4NivARB = (PFNGLVERTEXATTRIB4NIVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NivARB")) == NULL) || r; - r = ((glVertexAttrib4NsvARB = (PFNGLVERTEXATTRIB4NSVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NsvARB")) == NULL) || r; - r = ((glVertexAttrib4NubARB = (PFNGLVERTEXATTRIB4NUBARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NubARB")) == NULL) || r; - r = ((glVertexAttrib4NubvARB = (PFNGLVERTEXATTRIB4NUBVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NubvARB")) == NULL) || r; - r = ((glVertexAttrib4NuivARB = (PFNGLVERTEXATTRIB4NUIVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NuivARB")) == NULL) || r; - r = ((glVertexAttrib4NusvARB = (PFNGLVERTEXATTRIB4NUSVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NusvARB")) == NULL) || r; - r = ((glVertexAttrib4bvARB = (PFNGLVERTEXATTRIB4BVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4bvARB")) == NULL) || r; - r = ((glVertexAttrib4dARB = (PFNGLVERTEXATTRIB4DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dARB")) == NULL) || r; - r = ((glVertexAttrib4dvARB = (PFNGLVERTEXATTRIB4DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dvARB")) == NULL) || r; - r = ((glVertexAttrib4fARB = (PFNGLVERTEXATTRIB4FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fARB")) == NULL) || r; - r = ((glVertexAttrib4fvARB = (PFNGLVERTEXATTRIB4FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fvARB")) == NULL) || r; - r = ((glVertexAttrib4ivARB = (PFNGLVERTEXATTRIB4IVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ivARB")) == NULL) || r; - r = ((glVertexAttrib4sARB = (PFNGLVERTEXATTRIB4SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4sARB")) == NULL) || r; - r = ((glVertexAttrib4svARB = (PFNGLVERTEXATTRIB4SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4svARB")) == NULL) || r; - r = ((glVertexAttrib4ubvARB = (PFNGLVERTEXATTRIB4UBVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubvARB")) == NULL) || r; - r = ((glVertexAttrib4uivARB = (PFNGLVERTEXATTRIB4UIVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4uivARB")) == NULL) || r; - r = ((glVertexAttrib4usvARB = (PFNGLVERTEXATTRIB4USVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4usvARB")) == NULL) || r; - r = ((glVertexAttribPointerARB = (PFNGLVERTEXATTRIBPOINTERARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribPointerARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_vertex_program */ - -#ifdef GL_ARB_vertex_shader - -static GLboolean _glewInit_GL_ARB_vertex_shader (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBindAttribLocationARB = (PFNGLBINDATTRIBLOCATIONARBPROC)glewGetProcAddress((const GLubyte*)"glBindAttribLocationARB")) == NULL) || r; - r = ((glGetActiveAttribARB = (PFNGLGETACTIVEATTRIBARBPROC)glewGetProcAddress((const GLubyte*)"glGetActiveAttribARB")) == NULL) || r; - r = ((glGetAttribLocationARB = (PFNGLGETATTRIBLOCATIONARBPROC)glewGetProcAddress((const GLubyte*)"glGetAttribLocationARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_vertex_shader */ - -#ifdef GL_ARB_vertex_type_2_10_10_10_rev - -static GLboolean _glewInit_GL_ARB_vertex_type_2_10_10_10_rev (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glColorP3ui = (PFNGLCOLORP3UIPROC)glewGetProcAddress((const GLubyte*)"glColorP3ui")) == NULL) || r; - r = ((glColorP3uiv = (PFNGLCOLORP3UIVPROC)glewGetProcAddress((const GLubyte*)"glColorP3uiv")) == NULL) || r; - r = ((glColorP4ui = (PFNGLCOLORP4UIPROC)glewGetProcAddress((const GLubyte*)"glColorP4ui")) == NULL) || r; - r = ((glColorP4uiv = (PFNGLCOLORP4UIVPROC)glewGetProcAddress((const GLubyte*)"glColorP4uiv")) == NULL) || r; - r = ((glMultiTexCoordP1ui = (PFNGLMULTITEXCOORDP1UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP1ui")) == NULL) || r; - r = ((glMultiTexCoordP1uiv = (PFNGLMULTITEXCOORDP1UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP1uiv")) == NULL) || r; - r = ((glMultiTexCoordP2ui = (PFNGLMULTITEXCOORDP2UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP2ui")) == NULL) || r; - r = ((glMultiTexCoordP2uiv = (PFNGLMULTITEXCOORDP2UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP2uiv")) == NULL) || r; - r = ((glMultiTexCoordP3ui = (PFNGLMULTITEXCOORDP3UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP3ui")) == NULL) || r; - r = ((glMultiTexCoordP3uiv = (PFNGLMULTITEXCOORDP3UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP3uiv")) == NULL) || r; - r = ((glMultiTexCoordP4ui = (PFNGLMULTITEXCOORDP4UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP4ui")) == NULL) || r; - r = ((glMultiTexCoordP4uiv = (PFNGLMULTITEXCOORDP4UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP4uiv")) == NULL) || r; - r = ((glNormalP3ui = (PFNGLNORMALP3UIPROC)glewGetProcAddress((const GLubyte*)"glNormalP3ui")) == NULL) || r; - r = ((glNormalP3uiv = (PFNGLNORMALP3UIVPROC)glewGetProcAddress((const GLubyte*)"glNormalP3uiv")) == NULL) || r; - r = ((glSecondaryColorP3ui = (PFNGLSECONDARYCOLORP3UIPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorP3ui")) == NULL) || r; - r = ((glSecondaryColorP3uiv = (PFNGLSECONDARYCOLORP3UIVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorP3uiv")) == NULL) || r; - r = ((glTexCoordP1ui = (PFNGLTEXCOORDP1UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP1ui")) == NULL) || r; - r = ((glTexCoordP1uiv = (PFNGLTEXCOORDP1UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP1uiv")) == NULL) || r; - r = ((glTexCoordP2ui = (PFNGLTEXCOORDP2UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP2ui")) == NULL) || r; - r = ((glTexCoordP2uiv = (PFNGLTEXCOORDP2UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP2uiv")) == NULL) || r; - r = ((glTexCoordP3ui = (PFNGLTEXCOORDP3UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP3ui")) == NULL) || r; - r = ((glTexCoordP3uiv = (PFNGLTEXCOORDP3UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP3uiv")) == NULL) || r; - r = ((glTexCoordP4ui = (PFNGLTEXCOORDP4UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP4ui")) == NULL) || r; - r = ((glTexCoordP4uiv = (PFNGLTEXCOORDP4UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP4uiv")) == NULL) || r; - r = ((glVertexAttribP1ui = (PFNGLVERTEXATTRIBP1UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP1ui")) == NULL) || r; - r = ((glVertexAttribP1uiv = (PFNGLVERTEXATTRIBP1UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP1uiv")) == NULL) || r; - r = ((glVertexAttribP2ui = (PFNGLVERTEXATTRIBP2UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP2ui")) == NULL) || r; - r = ((glVertexAttribP2uiv = (PFNGLVERTEXATTRIBP2UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP2uiv")) == NULL) || r; - r = ((glVertexAttribP3ui = (PFNGLVERTEXATTRIBP3UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP3ui")) == NULL) || r; - r = ((glVertexAttribP3uiv = (PFNGLVERTEXATTRIBP3UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP3uiv")) == NULL) || r; - r = ((glVertexAttribP4ui = (PFNGLVERTEXATTRIBP4UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP4ui")) == NULL) || r; - r = ((glVertexAttribP4uiv = (PFNGLVERTEXATTRIBP4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP4uiv")) == NULL) || r; - r = ((glVertexP2ui = (PFNGLVERTEXP2UIPROC)glewGetProcAddress((const GLubyte*)"glVertexP2ui")) == NULL) || r; - r = ((glVertexP2uiv = (PFNGLVERTEXP2UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexP2uiv")) == NULL) || r; - r = ((glVertexP3ui = (PFNGLVERTEXP3UIPROC)glewGetProcAddress((const GLubyte*)"glVertexP3ui")) == NULL) || r; - r = ((glVertexP3uiv = (PFNGLVERTEXP3UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexP3uiv")) == NULL) || r; - r = ((glVertexP4ui = (PFNGLVERTEXP4UIPROC)glewGetProcAddress((const GLubyte*)"glVertexP4ui")) == NULL) || r; - r = ((glVertexP4uiv = (PFNGLVERTEXP4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexP4uiv")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_vertex_type_2_10_10_10_rev */ - -#ifdef GL_ARB_viewport_array - -static GLboolean _glewInit_GL_ARB_viewport_array (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glDepthRangeArrayv = (PFNGLDEPTHRANGEARRAYVPROC)glewGetProcAddress((const GLubyte*)"glDepthRangeArrayv")) == NULL) || r; - r = ((glDepthRangeIndexed = (PFNGLDEPTHRANGEINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glDepthRangeIndexed")) == NULL) || r; - r = ((glGetDoublei_v = (PFNGLGETDOUBLEI_VPROC)glewGetProcAddress((const GLubyte*)"glGetDoublei_v")) == NULL) || r; - r = ((glGetFloati_v = (PFNGLGETFLOATI_VPROC)glewGetProcAddress((const GLubyte*)"glGetFloati_v")) == NULL) || r; - r = ((glScissorArrayv = (PFNGLSCISSORARRAYVPROC)glewGetProcAddress((const GLubyte*)"glScissorArrayv")) == NULL) || r; - r = ((glScissorIndexed = (PFNGLSCISSORINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glScissorIndexed")) == NULL) || r; - r = ((glScissorIndexedv = (PFNGLSCISSORINDEXEDVPROC)glewGetProcAddress((const GLubyte*)"glScissorIndexedv")) == NULL) || r; - r = ((glViewportArrayv = (PFNGLVIEWPORTARRAYVPROC)glewGetProcAddress((const GLubyte*)"glViewportArrayv")) == NULL) || r; - r = ((glViewportIndexedf = (PFNGLVIEWPORTINDEXEDFPROC)glewGetProcAddress((const GLubyte*)"glViewportIndexedf")) == NULL) || r; - r = ((glViewportIndexedfv = (PFNGLVIEWPORTINDEXEDFVPROC)glewGetProcAddress((const GLubyte*)"glViewportIndexedfv")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_viewport_array */ - -#ifdef GL_ARB_window_pos - -static GLboolean _glewInit_GL_ARB_window_pos (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glWindowPos2dARB = (PFNGLWINDOWPOS2DARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dARB")) == NULL) || r; - r = ((glWindowPos2dvARB = (PFNGLWINDOWPOS2DVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dvARB")) == NULL) || r; - r = ((glWindowPos2fARB = (PFNGLWINDOWPOS2FARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fARB")) == NULL) || r; - r = ((glWindowPos2fvARB = (PFNGLWINDOWPOS2FVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fvARB")) == NULL) || r; - r = ((glWindowPos2iARB = (PFNGLWINDOWPOS2IARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2iARB")) == NULL) || r; - r = ((glWindowPos2ivARB = (PFNGLWINDOWPOS2IVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2ivARB")) == NULL) || r; - r = ((glWindowPos2sARB = (PFNGLWINDOWPOS2SARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2sARB")) == NULL) || r; - r = ((glWindowPos2svARB = (PFNGLWINDOWPOS2SVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2svARB")) == NULL) || r; - r = ((glWindowPos3dARB = (PFNGLWINDOWPOS3DARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dARB")) == NULL) || r; - r = ((glWindowPos3dvARB = (PFNGLWINDOWPOS3DVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dvARB")) == NULL) || r; - r = ((glWindowPos3fARB = (PFNGLWINDOWPOS3FARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fARB")) == NULL) || r; - r = ((glWindowPos3fvARB = (PFNGLWINDOWPOS3FVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fvARB")) == NULL) || r; - r = ((glWindowPos3iARB = (PFNGLWINDOWPOS3IARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3iARB")) == NULL) || r; - r = ((glWindowPos3ivARB = (PFNGLWINDOWPOS3IVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3ivARB")) == NULL) || r; - r = ((glWindowPos3sARB = (PFNGLWINDOWPOS3SARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3sARB")) == NULL) || r; - r = ((glWindowPos3svARB = (PFNGLWINDOWPOS3SVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3svARB")) == NULL) || r; - - return r; -} - -#endif /* GL_ARB_window_pos */ - -#ifdef GL_ATIX_point_sprites - -#endif /* GL_ATIX_point_sprites */ - -#ifdef GL_ATIX_texture_env_combine3 - -#endif /* GL_ATIX_texture_env_combine3 */ - -#ifdef GL_ATIX_texture_env_route - -#endif /* GL_ATIX_texture_env_route */ - -#ifdef GL_ATIX_vertex_shader_output_point_size - -#endif /* GL_ATIX_vertex_shader_output_point_size */ - -#ifdef GL_ATI_draw_buffers - -static GLboolean _glewInit_GL_ATI_draw_buffers (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glDrawBuffersATI = (PFNGLDRAWBUFFERSATIPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffersATI")) == NULL) || r; - - return r; -} - -#endif /* GL_ATI_draw_buffers */ - -#ifdef GL_ATI_element_array - -static GLboolean _glewInit_GL_ATI_element_array (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glDrawElementArrayATI = (PFNGLDRAWELEMENTARRAYATIPROC)glewGetProcAddress((const GLubyte*)"glDrawElementArrayATI")) == NULL) || r; - r = ((glDrawRangeElementArrayATI = (PFNGLDRAWRANGEELEMENTARRAYATIPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementArrayATI")) == NULL) || r; - r = ((glElementPointerATI = (PFNGLELEMENTPOINTERATIPROC)glewGetProcAddress((const GLubyte*)"glElementPointerATI")) == NULL) || r; - - return r; -} - -#endif /* GL_ATI_element_array */ - -#ifdef GL_ATI_envmap_bumpmap - -static GLboolean _glewInit_GL_ATI_envmap_bumpmap (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetTexBumpParameterfvATI = (PFNGLGETTEXBUMPPARAMETERFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetTexBumpParameterfvATI")) == NULL) || r; - r = ((glGetTexBumpParameterivATI = (PFNGLGETTEXBUMPPARAMETERIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetTexBumpParameterivATI")) == NULL) || r; - r = ((glTexBumpParameterfvATI = (PFNGLTEXBUMPPARAMETERFVATIPROC)glewGetProcAddress((const GLubyte*)"glTexBumpParameterfvATI")) == NULL) || r; - r = ((glTexBumpParameterivATI = (PFNGLTEXBUMPPARAMETERIVATIPROC)glewGetProcAddress((const GLubyte*)"glTexBumpParameterivATI")) == NULL) || r; - - return r; -} - -#endif /* GL_ATI_envmap_bumpmap */ - -#ifdef GL_ATI_fragment_shader - -static GLboolean _glewInit_GL_ATI_fragment_shader (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glAlphaFragmentOp1ATI = (PFNGLALPHAFRAGMENTOP1ATIPROC)glewGetProcAddress((const GLubyte*)"glAlphaFragmentOp1ATI")) == NULL) || r; - r = ((glAlphaFragmentOp2ATI = (PFNGLALPHAFRAGMENTOP2ATIPROC)glewGetProcAddress((const GLubyte*)"glAlphaFragmentOp2ATI")) == NULL) || r; - r = ((glAlphaFragmentOp3ATI = (PFNGLALPHAFRAGMENTOP3ATIPROC)glewGetProcAddress((const GLubyte*)"glAlphaFragmentOp3ATI")) == NULL) || r; - r = ((glBeginFragmentShaderATI = (PFNGLBEGINFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glBeginFragmentShaderATI")) == NULL) || r; - r = ((glBindFragmentShaderATI = (PFNGLBINDFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glBindFragmentShaderATI")) == NULL) || r; - r = ((glColorFragmentOp1ATI = (PFNGLCOLORFRAGMENTOP1ATIPROC)glewGetProcAddress((const GLubyte*)"glColorFragmentOp1ATI")) == NULL) || r; - r = ((glColorFragmentOp2ATI = (PFNGLCOLORFRAGMENTOP2ATIPROC)glewGetProcAddress((const GLubyte*)"glColorFragmentOp2ATI")) == NULL) || r; - r = ((glColorFragmentOp3ATI = (PFNGLCOLORFRAGMENTOP3ATIPROC)glewGetProcAddress((const GLubyte*)"glColorFragmentOp3ATI")) == NULL) || r; - r = ((glDeleteFragmentShaderATI = (PFNGLDELETEFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glDeleteFragmentShaderATI")) == NULL) || r; - r = ((glEndFragmentShaderATI = (PFNGLENDFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glEndFragmentShaderATI")) == NULL) || r; - r = ((glGenFragmentShadersATI = (PFNGLGENFRAGMENTSHADERSATIPROC)glewGetProcAddress((const GLubyte*)"glGenFragmentShadersATI")) == NULL) || r; - r = ((glPassTexCoordATI = (PFNGLPASSTEXCOORDATIPROC)glewGetProcAddress((const GLubyte*)"glPassTexCoordATI")) == NULL) || r; - r = ((glSampleMapATI = (PFNGLSAMPLEMAPATIPROC)glewGetProcAddress((const GLubyte*)"glSampleMapATI")) == NULL) || r; - r = ((glSetFragmentShaderConstantATI = (PFNGLSETFRAGMENTSHADERCONSTANTATIPROC)glewGetProcAddress((const GLubyte*)"glSetFragmentShaderConstantATI")) == NULL) || r; - - return r; -} - -#endif /* GL_ATI_fragment_shader */ - -#ifdef GL_ATI_map_object_buffer - -static GLboolean _glewInit_GL_ATI_map_object_buffer (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glMapObjectBufferATI = (PFNGLMAPOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glMapObjectBufferATI")) == NULL) || r; - r = ((glUnmapObjectBufferATI = (PFNGLUNMAPOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glUnmapObjectBufferATI")) == NULL) || r; - - return r; -} - -#endif /* GL_ATI_map_object_buffer */ - -#ifdef GL_ATI_meminfo - -#endif /* GL_ATI_meminfo */ - -#ifdef GL_ATI_pn_triangles - -static GLboolean _glewInit_GL_ATI_pn_triangles (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glPNTrianglesfATI = (PFNGLPNTRIANGLESFATIPROC)glewGetProcAddress((const GLubyte*)"glPNTrianglesfATI")) == NULL) || r; - r = ((glPNTrianglesiATI = (PFNGLPNTRIANGLESIATIPROC)glewGetProcAddress((const GLubyte*)"glPNTrianglesiATI")) == NULL) || r; - - return r; -} - -#endif /* GL_ATI_pn_triangles */ - -#ifdef GL_ATI_separate_stencil - -static GLboolean _glewInit_GL_ATI_separate_stencil (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glStencilFuncSeparateATI = (PFNGLSTENCILFUNCSEPARATEATIPROC)glewGetProcAddress((const GLubyte*)"glStencilFuncSeparateATI")) == NULL) || r; - r = ((glStencilOpSeparateATI = (PFNGLSTENCILOPSEPARATEATIPROC)glewGetProcAddress((const GLubyte*)"glStencilOpSeparateATI")) == NULL) || r; - - return r; -} - -#endif /* GL_ATI_separate_stencil */ - -#ifdef GL_ATI_shader_texture_lod - -#endif /* GL_ATI_shader_texture_lod */ - -#ifdef GL_ATI_text_fragment_shader - -#endif /* GL_ATI_text_fragment_shader */ - -#ifdef GL_ATI_texture_compression_3dc - -#endif /* GL_ATI_texture_compression_3dc */ - -#ifdef GL_ATI_texture_env_combine3 - -#endif /* GL_ATI_texture_env_combine3 */ - -#ifdef GL_ATI_texture_float - -#endif /* GL_ATI_texture_float */ - -#ifdef GL_ATI_texture_mirror_once - -#endif /* GL_ATI_texture_mirror_once */ - -#ifdef GL_ATI_vertex_array_object - -static GLboolean _glewInit_GL_ATI_vertex_array_object (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glArrayObjectATI = (PFNGLARRAYOBJECTATIPROC)glewGetProcAddress((const GLubyte*)"glArrayObjectATI")) == NULL) || r; - r = ((glFreeObjectBufferATI = (PFNGLFREEOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glFreeObjectBufferATI")) == NULL) || r; - r = ((glGetArrayObjectfvATI = (PFNGLGETARRAYOBJECTFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetArrayObjectfvATI")) == NULL) || r; - r = ((glGetArrayObjectivATI = (PFNGLGETARRAYOBJECTIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetArrayObjectivATI")) == NULL) || r; - r = ((glGetObjectBufferfvATI = (PFNGLGETOBJECTBUFFERFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetObjectBufferfvATI")) == NULL) || r; - r = ((glGetObjectBufferivATI = (PFNGLGETOBJECTBUFFERIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetObjectBufferivATI")) == NULL) || r; - r = ((glGetVariantArrayObjectfvATI = (PFNGLGETVARIANTARRAYOBJECTFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVariantArrayObjectfvATI")) == NULL) || r; - r = ((glGetVariantArrayObjectivATI = (PFNGLGETVARIANTARRAYOBJECTIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVariantArrayObjectivATI")) == NULL) || r; - r = ((glIsObjectBufferATI = (PFNGLISOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glIsObjectBufferATI")) == NULL) || r; - r = ((glNewObjectBufferATI = (PFNGLNEWOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glNewObjectBufferATI")) == NULL) || r; - r = ((glUpdateObjectBufferATI = (PFNGLUPDATEOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glUpdateObjectBufferATI")) == NULL) || r; - r = ((glVariantArrayObjectATI = (PFNGLVARIANTARRAYOBJECTATIPROC)glewGetProcAddress((const GLubyte*)"glVariantArrayObjectATI")) == NULL) || r; - - return r; -} - -#endif /* GL_ATI_vertex_array_object */ - -#ifdef GL_ATI_vertex_attrib_array_object - -static GLboolean _glewInit_GL_ATI_vertex_attrib_array_object (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetVertexAttribArrayObjectfvATI = (PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribArrayObjectfvATI")) == NULL) || r; - r = ((glGetVertexAttribArrayObjectivATI = (PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribArrayObjectivATI")) == NULL) || r; - r = ((glVertexAttribArrayObjectATI = (PFNGLVERTEXATTRIBARRAYOBJECTATIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribArrayObjectATI")) == NULL) || r; - - return r; -} - -#endif /* GL_ATI_vertex_attrib_array_object */ - -#ifdef GL_ATI_vertex_streams - -static GLboolean _glewInit_GL_ATI_vertex_streams (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glClientActiveVertexStreamATI = (PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC)glewGetProcAddress((const GLubyte*)"glClientActiveVertexStreamATI")) == NULL) || r; - r = ((glNormalStream3bATI = (PFNGLNORMALSTREAM3BATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3bATI")) == NULL) || r; - r = ((glNormalStream3bvATI = (PFNGLNORMALSTREAM3BVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3bvATI")) == NULL) || r; - r = ((glNormalStream3dATI = (PFNGLNORMALSTREAM3DATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3dATI")) == NULL) || r; - r = ((glNormalStream3dvATI = (PFNGLNORMALSTREAM3DVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3dvATI")) == NULL) || r; - r = ((glNormalStream3fATI = (PFNGLNORMALSTREAM3FATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3fATI")) == NULL) || r; - r = ((glNormalStream3fvATI = (PFNGLNORMALSTREAM3FVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3fvATI")) == NULL) || r; - r = ((glNormalStream3iATI = (PFNGLNORMALSTREAM3IATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3iATI")) == NULL) || r; - r = ((glNormalStream3ivATI = (PFNGLNORMALSTREAM3IVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3ivATI")) == NULL) || r; - r = ((glNormalStream3sATI = (PFNGLNORMALSTREAM3SATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3sATI")) == NULL) || r; - r = ((glNormalStream3svATI = (PFNGLNORMALSTREAM3SVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3svATI")) == NULL) || r; - r = ((glVertexBlendEnvfATI = (PFNGLVERTEXBLENDENVFATIPROC)glewGetProcAddress((const GLubyte*)"glVertexBlendEnvfATI")) == NULL) || r; - r = ((glVertexBlendEnviATI = (PFNGLVERTEXBLENDENVIATIPROC)glewGetProcAddress((const GLubyte*)"glVertexBlendEnviATI")) == NULL) || r; - r = ((glVertexStream1dATI = (PFNGLVERTEXSTREAM1DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1dATI")) == NULL) || r; - r = ((glVertexStream1dvATI = (PFNGLVERTEXSTREAM1DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1dvATI")) == NULL) || r; - r = ((glVertexStream1fATI = (PFNGLVERTEXSTREAM1FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1fATI")) == NULL) || r; - r = ((glVertexStream1fvATI = (PFNGLVERTEXSTREAM1FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1fvATI")) == NULL) || r; - r = ((glVertexStream1iATI = (PFNGLVERTEXSTREAM1IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1iATI")) == NULL) || r; - r = ((glVertexStream1ivATI = (PFNGLVERTEXSTREAM1IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1ivATI")) == NULL) || r; - r = ((glVertexStream1sATI = (PFNGLVERTEXSTREAM1SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1sATI")) == NULL) || r; - r = ((glVertexStream1svATI = (PFNGLVERTEXSTREAM1SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1svATI")) == NULL) || r; - r = ((glVertexStream2dATI = (PFNGLVERTEXSTREAM2DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2dATI")) == NULL) || r; - r = ((glVertexStream2dvATI = (PFNGLVERTEXSTREAM2DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2dvATI")) == NULL) || r; - r = ((glVertexStream2fATI = (PFNGLVERTEXSTREAM2FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2fATI")) == NULL) || r; - r = ((glVertexStream2fvATI = (PFNGLVERTEXSTREAM2FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2fvATI")) == NULL) || r; - r = ((glVertexStream2iATI = (PFNGLVERTEXSTREAM2IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2iATI")) == NULL) || r; - r = ((glVertexStream2ivATI = (PFNGLVERTEXSTREAM2IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2ivATI")) == NULL) || r; - r = ((glVertexStream2sATI = (PFNGLVERTEXSTREAM2SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2sATI")) == NULL) || r; - r = ((glVertexStream2svATI = (PFNGLVERTEXSTREAM2SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2svATI")) == NULL) || r; - r = ((glVertexStream3dATI = (PFNGLVERTEXSTREAM3DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3dATI")) == NULL) || r; - r = ((glVertexStream3dvATI = (PFNGLVERTEXSTREAM3DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3dvATI")) == NULL) || r; - r = ((glVertexStream3fATI = (PFNGLVERTEXSTREAM3FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3fATI")) == NULL) || r; - r = ((glVertexStream3fvATI = (PFNGLVERTEXSTREAM3FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3fvATI")) == NULL) || r; - r = ((glVertexStream3iATI = (PFNGLVERTEXSTREAM3IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3iATI")) == NULL) || r; - r = ((glVertexStream3ivATI = (PFNGLVERTEXSTREAM3IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3ivATI")) == NULL) || r; - r = ((glVertexStream3sATI = (PFNGLVERTEXSTREAM3SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3sATI")) == NULL) || r; - r = ((glVertexStream3svATI = (PFNGLVERTEXSTREAM3SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3svATI")) == NULL) || r; - r = ((glVertexStream4dATI = (PFNGLVERTEXSTREAM4DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4dATI")) == NULL) || r; - r = ((glVertexStream4dvATI = (PFNGLVERTEXSTREAM4DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4dvATI")) == NULL) || r; - r = ((glVertexStream4fATI = (PFNGLVERTEXSTREAM4FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4fATI")) == NULL) || r; - r = ((glVertexStream4fvATI = (PFNGLVERTEXSTREAM4FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4fvATI")) == NULL) || r; - r = ((glVertexStream4iATI = (PFNGLVERTEXSTREAM4IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4iATI")) == NULL) || r; - r = ((glVertexStream4ivATI = (PFNGLVERTEXSTREAM4IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4ivATI")) == NULL) || r; - r = ((glVertexStream4sATI = (PFNGLVERTEXSTREAM4SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4sATI")) == NULL) || r; - r = ((glVertexStream4svATI = (PFNGLVERTEXSTREAM4SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4svATI")) == NULL) || r; - - return r; -} - -#endif /* GL_ATI_vertex_streams */ - -#ifdef GL_EXT_422_pixels - -#endif /* GL_EXT_422_pixels */ - -#ifdef GL_EXT_Cg_shader - -#endif /* GL_EXT_Cg_shader */ - -#ifdef GL_EXT_abgr - -#endif /* GL_EXT_abgr */ - -#ifdef GL_EXT_bgra - -#endif /* GL_EXT_bgra */ - -#ifdef GL_EXT_bindable_uniform - -static GLboolean _glewInit_GL_EXT_bindable_uniform (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetUniformBufferSizeEXT = (PFNGLGETUNIFORMBUFFERSIZEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetUniformBufferSizeEXT")) == NULL) || r; - r = ((glGetUniformOffsetEXT = (PFNGLGETUNIFORMOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glGetUniformOffsetEXT")) == NULL) || r; - r = ((glUniformBufferEXT = (PFNGLUNIFORMBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glUniformBufferEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_bindable_uniform */ - -#ifdef GL_EXT_blend_color - -static GLboolean _glewInit_GL_EXT_blend_color (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBlendColorEXT = (PFNGLBLENDCOLOREXTPROC)glewGetProcAddress((const GLubyte*)"glBlendColorEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_blend_color */ - -#ifdef GL_EXT_blend_equation_separate - -static GLboolean _glewInit_GL_EXT_blend_equation_separate (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBlendEquationSeparateEXT = (PFNGLBLENDEQUATIONSEPARATEEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparateEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_blend_equation_separate */ - -#ifdef GL_EXT_blend_func_separate - -static GLboolean _glewInit_GL_EXT_blend_func_separate (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBlendFuncSeparateEXT = (PFNGLBLENDFUNCSEPARATEEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparateEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_blend_func_separate */ - -#ifdef GL_EXT_blend_logic_op - -#endif /* GL_EXT_blend_logic_op */ - -#ifdef GL_EXT_blend_minmax - -static GLboolean _glewInit_GL_EXT_blend_minmax (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBlendEquationEXT = (PFNGLBLENDEQUATIONEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_blend_minmax */ - -#ifdef GL_EXT_blend_subtract - -#endif /* GL_EXT_blend_subtract */ - -#ifdef GL_EXT_clip_volume_hint - -#endif /* GL_EXT_clip_volume_hint */ - -#ifdef GL_EXT_cmyka - -#endif /* GL_EXT_cmyka */ - -#ifdef GL_EXT_color_subtable - -static GLboolean _glewInit_GL_EXT_color_subtable (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glColorSubTableEXT = (PFNGLCOLORSUBTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glColorSubTableEXT")) == NULL) || r; - r = ((glCopyColorSubTableEXT = (PFNGLCOPYCOLORSUBTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyColorSubTableEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_color_subtable */ - -#ifdef GL_EXT_compiled_vertex_array - -static GLboolean _glewInit_GL_EXT_compiled_vertex_array (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glLockArraysEXT = (PFNGLLOCKARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glLockArraysEXT")) == NULL) || r; - r = ((glUnlockArraysEXT = (PFNGLUNLOCKARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glUnlockArraysEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_compiled_vertex_array */ - -#ifdef GL_EXT_convolution - -static GLboolean _glewInit_GL_EXT_convolution (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glConvolutionFilter1DEXT = (PFNGLCONVOLUTIONFILTER1DEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter1DEXT")) == NULL) || r; - r = ((glConvolutionFilter2DEXT = (PFNGLCONVOLUTIONFILTER2DEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter2DEXT")) == NULL) || r; - r = ((glConvolutionParameterfEXT = (PFNGLCONVOLUTIONPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterfEXT")) == NULL) || r; - r = ((glConvolutionParameterfvEXT = (PFNGLCONVOLUTIONPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterfvEXT")) == NULL) || r; - r = ((glConvolutionParameteriEXT = (PFNGLCONVOLUTIONPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameteriEXT")) == NULL) || r; - r = ((glConvolutionParameterivEXT = (PFNGLCONVOLUTIONPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterivEXT")) == NULL) || r; - r = ((glCopyConvolutionFilter1DEXT = (PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter1DEXT")) == NULL) || r; - r = ((glCopyConvolutionFilter2DEXT = (PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter2DEXT")) == NULL) || r; - r = ((glGetConvolutionFilterEXT = (PFNGLGETCONVOLUTIONFILTEREXTPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionFilterEXT")) == NULL) || r; - r = ((glGetConvolutionParameterfvEXT = (PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameterfvEXT")) == NULL) || r; - r = ((glGetConvolutionParameterivEXT = (PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameterivEXT")) == NULL) || r; - r = ((glGetSeparableFilterEXT = (PFNGLGETSEPARABLEFILTEREXTPROC)glewGetProcAddress((const GLubyte*)"glGetSeparableFilterEXT")) == NULL) || r; - r = ((glSeparableFilter2DEXT = (PFNGLSEPARABLEFILTER2DEXTPROC)glewGetProcAddress((const GLubyte*)"glSeparableFilter2DEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_convolution */ - -#ifdef GL_EXT_coordinate_frame - -static GLboolean _glewInit_GL_EXT_coordinate_frame (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBinormalPointerEXT = (PFNGLBINORMALPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glBinormalPointerEXT")) == NULL) || r; - r = ((glTangentPointerEXT = (PFNGLTANGENTPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glTangentPointerEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_coordinate_frame */ - -#ifdef GL_EXT_copy_texture - -static GLboolean _glewInit_GL_EXT_copy_texture (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glCopyTexImage1DEXT = (PFNGLCOPYTEXIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexImage1DEXT")) == NULL) || r; - r = ((glCopyTexImage2DEXT = (PFNGLCOPYTEXIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexImage2DEXT")) == NULL) || r; - r = ((glCopyTexSubImage1DEXT = (PFNGLCOPYTEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage1DEXT")) == NULL) || r; - r = ((glCopyTexSubImage2DEXT = (PFNGLCOPYTEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage2DEXT")) == NULL) || r; - r = ((glCopyTexSubImage3DEXT = (PFNGLCOPYTEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage3DEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_copy_texture */ - -#ifdef GL_EXT_cull_vertex - -static GLboolean _glewInit_GL_EXT_cull_vertex (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glCullParameterdvEXT = (PFNGLCULLPARAMETERDVEXTPROC)glewGetProcAddress((const GLubyte*)"glCullParameterdvEXT")) == NULL) || r; - r = ((glCullParameterfvEXT = (PFNGLCULLPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glCullParameterfvEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_cull_vertex */ - -#ifdef GL_EXT_debug_marker - -static GLboolean _glewInit_GL_EXT_debug_marker (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glInsertEventMarkerEXT = (PFNGLINSERTEVENTMARKEREXTPROC)glewGetProcAddress((const GLubyte*)"glInsertEventMarkerEXT")) == NULL) || r; - r = ((glPopGroupMarkerEXT = (PFNGLPOPGROUPMARKEREXTPROC)glewGetProcAddress((const GLubyte*)"glPopGroupMarkerEXT")) == NULL) || r; - r = ((glPushGroupMarkerEXT = (PFNGLPUSHGROUPMARKEREXTPROC)glewGetProcAddress((const GLubyte*)"glPushGroupMarkerEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_debug_marker */ - -#ifdef GL_EXT_depth_bounds_test - -static GLboolean _glewInit_GL_EXT_depth_bounds_test (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glDepthBoundsEXT = (PFNGLDEPTHBOUNDSEXTPROC)glewGetProcAddress((const GLubyte*)"glDepthBoundsEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_depth_bounds_test */ - -#ifdef GL_EXT_direct_state_access - -static GLboolean _glewInit_GL_EXT_direct_state_access (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBindMultiTextureEXT = (PFNGLBINDMULTITEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glBindMultiTextureEXT")) == NULL) || r; - r = ((glCheckNamedFramebufferStatusEXT = (PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC)glewGetProcAddress((const GLubyte*)"glCheckNamedFramebufferStatusEXT")) == NULL) || r; - r = ((glClientAttribDefaultEXT = (PFNGLCLIENTATTRIBDEFAULTEXTPROC)glewGetProcAddress((const GLubyte*)"glClientAttribDefaultEXT")) == NULL) || r; - r = ((glCompressedMultiTexImage1DEXT = (PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexImage1DEXT")) == NULL) || r; - r = ((glCompressedMultiTexImage2DEXT = (PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexImage2DEXT")) == NULL) || r; - r = ((glCompressedMultiTexImage3DEXT = (PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexImage3DEXT")) == NULL) || r; - r = ((glCompressedMultiTexSubImage1DEXT = (PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexSubImage1DEXT")) == NULL) || r; - r = ((glCompressedMultiTexSubImage2DEXT = (PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexSubImage2DEXT")) == NULL) || r; - r = ((glCompressedMultiTexSubImage3DEXT = (PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexSubImage3DEXT")) == NULL) || r; - r = ((glCompressedTextureImage1DEXT = (PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureImage1DEXT")) == NULL) || r; - r = ((glCompressedTextureImage2DEXT = (PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureImage2DEXT")) == NULL) || r; - r = ((glCompressedTextureImage3DEXT = (PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureImage3DEXT")) == NULL) || r; - r = ((glCompressedTextureSubImage1DEXT = (PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureSubImage1DEXT")) == NULL) || r; - r = ((glCompressedTextureSubImage2DEXT = (PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureSubImage2DEXT")) == NULL) || r; - r = ((glCompressedTextureSubImage3DEXT = (PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureSubImage3DEXT")) == NULL) || r; - r = ((glCopyMultiTexImage1DEXT = (PFNGLCOPYMULTITEXIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexImage1DEXT")) == NULL) || r; - r = ((glCopyMultiTexImage2DEXT = (PFNGLCOPYMULTITEXIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexImage2DEXT")) == NULL) || r; - r = ((glCopyMultiTexSubImage1DEXT = (PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexSubImage1DEXT")) == NULL) || r; - r = ((glCopyMultiTexSubImage2DEXT = (PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexSubImage2DEXT")) == NULL) || r; - r = ((glCopyMultiTexSubImage3DEXT = (PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexSubImage3DEXT")) == NULL) || r; - r = ((glCopyTextureImage1DEXT = (PFNGLCOPYTEXTUREIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureImage1DEXT")) == NULL) || r; - r = ((glCopyTextureImage2DEXT = (PFNGLCOPYTEXTUREIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureImage2DEXT")) == NULL) || r; - r = ((glCopyTextureSubImage1DEXT = (PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage1DEXT")) == NULL) || r; - r = ((glCopyTextureSubImage2DEXT = (PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage2DEXT")) == NULL) || r; - r = ((glCopyTextureSubImage3DEXT = (PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage3DEXT")) == NULL) || r; - r = ((glDisableClientStateIndexedEXT = (PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableClientStateIndexedEXT")) == NULL) || r; - r = ((glDisableClientStateiEXT = (PFNGLDISABLECLIENTSTATEIEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableClientStateiEXT")) == NULL) || r; - r = ((glDisableVertexArrayAttribEXT = (PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexArrayAttribEXT")) == NULL) || r; - r = ((glDisableVertexArrayEXT = (PFNGLDISABLEVERTEXARRAYEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexArrayEXT")) == NULL) || r; - r = ((glEnableClientStateIndexedEXT = (PFNGLENABLECLIENTSTATEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableClientStateIndexedEXT")) == NULL) || r; - r = ((glEnableClientStateiEXT = (PFNGLENABLECLIENTSTATEIEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableClientStateiEXT")) == NULL) || r; - r = ((glEnableVertexArrayAttribEXT = (PFNGLENABLEVERTEXARRAYATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexArrayAttribEXT")) == NULL) || r; - r = ((glEnableVertexArrayEXT = (PFNGLENABLEVERTEXARRAYEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexArrayEXT")) == NULL) || r; - r = ((glFlushMappedNamedBufferRangeEXT = (PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glFlushMappedNamedBufferRangeEXT")) == NULL) || r; - r = ((glFramebufferDrawBufferEXT = (PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferDrawBufferEXT")) == NULL) || r; - r = ((glFramebufferDrawBuffersEXT = (PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferDrawBuffersEXT")) == NULL) || r; - r = ((glFramebufferReadBufferEXT = (PFNGLFRAMEBUFFERREADBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferReadBufferEXT")) == NULL) || r; - r = ((glGenerateMultiTexMipmapEXT = (PFNGLGENERATEMULTITEXMIPMAPEXTPROC)glewGetProcAddress((const GLubyte*)"glGenerateMultiTexMipmapEXT")) == NULL) || r; - r = ((glGenerateTextureMipmapEXT = (PFNGLGENERATETEXTUREMIPMAPEXTPROC)glewGetProcAddress((const GLubyte*)"glGenerateTextureMipmapEXT")) == NULL) || r; - r = ((glGetCompressedMultiTexImageEXT = (PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedMultiTexImageEXT")) == NULL) || r; - r = ((glGetCompressedTextureImageEXT = (PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTextureImageEXT")) == NULL) || r; - r = ((glGetDoubleIndexedvEXT = (PFNGLGETDOUBLEINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetDoubleIndexedvEXT")) == NULL) || r; - r = ((glGetDoublei_vEXT = (PFNGLGETDOUBLEI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetDoublei_vEXT")) == NULL) || r; - r = ((glGetFloatIndexedvEXT = (PFNGLGETFLOATINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFloatIndexedvEXT")) == NULL) || r; - r = ((glGetFloati_vEXT = (PFNGLGETFLOATI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFloati_vEXT")) == NULL) || r; - r = ((glGetFramebufferParameterivEXT = (PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferParameterivEXT")) == NULL) || r; - r = ((glGetMultiTexEnvfvEXT = (PFNGLGETMULTITEXENVFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexEnvfvEXT")) == NULL) || r; - r = ((glGetMultiTexEnvivEXT = (PFNGLGETMULTITEXENVIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexEnvivEXT")) == NULL) || r; - r = ((glGetMultiTexGendvEXT = (PFNGLGETMULTITEXGENDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexGendvEXT")) == NULL) || r; - r = ((glGetMultiTexGenfvEXT = (PFNGLGETMULTITEXGENFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexGenfvEXT")) == NULL) || r; - r = ((glGetMultiTexGenivEXT = (PFNGLGETMULTITEXGENIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexGenivEXT")) == NULL) || r; - r = ((glGetMultiTexImageEXT = (PFNGLGETMULTITEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexImageEXT")) == NULL) || r; - r = ((glGetMultiTexLevelParameterfvEXT = (PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexLevelParameterfvEXT")) == NULL) || r; - r = ((glGetMultiTexLevelParameterivEXT = (PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexLevelParameterivEXT")) == NULL) || r; - r = ((glGetMultiTexParameterIivEXT = (PFNGLGETMULTITEXPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexParameterIivEXT")) == NULL) || r; - r = ((glGetMultiTexParameterIuivEXT = (PFNGLGETMULTITEXPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexParameterIuivEXT")) == NULL) || r; - r = ((glGetMultiTexParameterfvEXT = (PFNGLGETMULTITEXPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexParameterfvEXT")) == NULL) || r; - r = ((glGetMultiTexParameterivEXT = (PFNGLGETMULTITEXPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexParameterivEXT")) == NULL) || r; - r = ((glGetNamedBufferParameterivEXT = (PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferParameterivEXT")) == NULL) || r; - r = ((glGetNamedBufferPointervEXT = (PFNGLGETNAMEDBUFFERPOINTERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferPointervEXT")) == NULL) || r; - r = ((glGetNamedBufferSubDataEXT = (PFNGLGETNAMEDBUFFERSUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferSubDataEXT")) == NULL) || r; - r = ((glGetNamedFramebufferAttachmentParameterivEXT = (PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedFramebufferAttachmentParameterivEXT")) == NULL) || r; - r = ((glGetNamedProgramLocalParameterIivEXT = (PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramLocalParameterIivEXT")) == NULL) || r; - r = ((glGetNamedProgramLocalParameterIuivEXT = (PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramLocalParameterIuivEXT")) == NULL) || r; - r = ((glGetNamedProgramLocalParameterdvEXT = (PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramLocalParameterdvEXT")) == NULL) || r; - r = ((glGetNamedProgramLocalParameterfvEXT = (PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramLocalParameterfvEXT")) == NULL) || r; - r = ((glGetNamedProgramStringEXT = (PFNGLGETNAMEDPROGRAMSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramStringEXT")) == NULL) || r; - r = ((glGetNamedProgramivEXT = (PFNGLGETNAMEDPROGRAMIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramivEXT")) == NULL) || r; - r = ((glGetNamedRenderbufferParameterivEXT = (PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedRenderbufferParameterivEXT")) == NULL) || r; - r = ((glGetPointerIndexedvEXT = (PFNGLGETPOINTERINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPointerIndexedvEXT")) == NULL) || r; - r = ((glGetPointeri_vEXT = (PFNGLGETPOINTERI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPointeri_vEXT")) == NULL) || r; - r = ((glGetTextureImageEXT = (PFNGLGETTEXTUREIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureImageEXT")) == NULL) || r; - r = ((glGetTextureLevelParameterfvEXT = (PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureLevelParameterfvEXT")) == NULL) || r; - r = ((glGetTextureLevelParameterivEXT = (PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureLevelParameterivEXT")) == NULL) || r; - r = ((glGetTextureParameterIivEXT = (PFNGLGETTEXTUREPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterIivEXT")) == NULL) || r; - r = ((glGetTextureParameterIuivEXT = (PFNGLGETTEXTUREPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterIuivEXT")) == NULL) || r; - r = ((glGetTextureParameterfvEXT = (PFNGLGETTEXTUREPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterfvEXT")) == NULL) || r; - r = ((glGetTextureParameterivEXT = (PFNGLGETTEXTUREPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterivEXT")) == NULL) || r; - r = ((glGetVertexArrayIntegeri_vEXT = (PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayIntegeri_vEXT")) == NULL) || r; - r = ((glGetVertexArrayIntegervEXT = (PFNGLGETVERTEXARRAYINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayIntegervEXT")) == NULL) || r; - r = ((glGetVertexArrayPointeri_vEXT = (PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayPointeri_vEXT")) == NULL) || r; - r = ((glGetVertexArrayPointervEXT = (PFNGLGETVERTEXARRAYPOINTERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayPointervEXT")) == NULL) || r; - r = ((glMapNamedBufferEXT = (PFNGLMAPNAMEDBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glMapNamedBufferEXT")) == NULL) || r; - r = ((glMapNamedBufferRangeEXT = (PFNGLMAPNAMEDBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glMapNamedBufferRangeEXT")) == NULL) || r; - r = ((glMatrixFrustumEXT = (PFNGLMATRIXFRUSTUMEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixFrustumEXT")) == NULL) || r; - r = ((glMatrixLoadIdentityEXT = (PFNGLMATRIXLOADIDENTITYEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadIdentityEXT")) == NULL) || r; - r = ((glMatrixLoadTransposedEXT = (PFNGLMATRIXLOADTRANSPOSEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadTransposedEXT")) == NULL) || r; - r = ((glMatrixLoadTransposefEXT = (PFNGLMATRIXLOADTRANSPOSEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadTransposefEXT")) == NULL) || r; - r = ((glMatrixLoaddEXT = (PFNGLMATRIXLOADDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoaddEXT")) == NULL) || r; - r = ((glMatrixLoadfEXT = (PFNGLMATRIXLOADFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadfEXT")) == NULL) || r; - r = ((glMatrixMultTransposedEXT = (PFNGLMATRIXMULTTRANSPOSEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixMultTransposedEXT")) == NULL) || r; - r = ((glMatrixMultTransposefEXT = (PFNGLMATRIXMULTTRANSPOSEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixMultTransposefEXT")) == NULL) || r; - r = ((glMatrixMultdEXT = (PFNGLMATRIXMULTDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixMultdEXT")) == NULL) || r; - r = ((glMatrixMultfEXT = (PFNGLMATRIXMULTFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixMultfEXT")) == NULL) || r; - r = ((glMatrixOrthoEXT = (PFNGLMATRIXORTHOEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixOrthoEXT")) == NULL) || r; - r = ((glMatrixPopEXT = (PFNGLMATRIXPOPEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixPopEXT")) == NULL) || r; - r = ((glMatrixPushEXT = (PFNGLMATRIXPUSHEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixPushEXT")) == NULL) || r; - r = ((glMatrixRotatedEXT = (PFNGLMATRIXROTATEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixRotatedEXT")) == NULL) || r; - r = ((glMatrixRotatefEXT = (PFNGLMATRIXROTATEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixRotatefEXT")) == NULL) || r; - r = ((glMatrixScaledEXT = (PFNGLMATRIXSCALEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixScaledEXT")) == NULL) || r; - r = ((glMatrixScalefEXT = (PFNGLMATRIXSCALEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixScalefEXT")) == NULL) || r; - r = ((glMatrixTranslatedEXT = (PFNGLMATRIXTRANSLATEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixTranslatedEXT")) == NULL) || r; - r = ((glMatrixTranslatefEXT = (PFNGLMATRIXTRANSLATEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixTranslatefEXT")) == NULL) || r; - r = ((glMultiTexBufferEXT = (PFNGLMULTITEXBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexBufferEXT")) == NULL) || r; - r = ((glMultiTexCoordPointerEXT = (PFNGLMULTITEXCOORDPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordPointerEXT")) == NULL) || r; - r = ((glMultiTexEnvfEXT = (PFNGLMULTITEXENVFEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexEnvfEXT")) == NULL) || r; - r = ((glMultiTexEnvfvEXT = (PFNGLMULTITEXENVFVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexEnvfvEXT")) == NULL) || r; - r = ((glMultiTexEnviEXT = (PFNGLMULTITEXENVIEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexEnviEXT")) == NULL) || r; - r = ((glMultiTexEnvivEXT = (PFNGLMULTITEXENVIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexEnvivEXT")) == NULL) || r; - r = ((glMultiTexGendEXT = (PFNGLMULTITEXGENDEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGendEXT")) == NULL) || r; - r = ((glMultiTexGendvEXT = (PFNGLMULTITEXGENDVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGendvEXT")) == NULL) || r; - r = ((glMultiTexGenfEXT = (PFNGLMULTITEXGENFEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGenfEXT")) == NULL) || r; - r = ((glMultiTexGenfvEXT = (PFNGLMULTITEXGENFVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGenfvEXT")) == NULL) || r; - r = ((glMultiTexGeniEXT = (PFNGLMULTITEXGENIEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGeniEXT")) == NULL) || r; - r = ((glMultiTexGenivEXT = (PFNGLMULTITEXGENIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGenivEXT")) == NULL) || r; - r = ((glMultiTexImage1DEXT = (PFNGLMULTITEXIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexImage1DEXT")) == NULL) || r; - r = ((glMultiTexImage2DEXT = (PFNGLMULTITEXIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexImage2DEXT")) == NULL) || r; - r = ((glMultiTexImage3DEXT = (PFNGLMULTITEXIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexImage3DEXT")) == NULL) || r; - r = ((glMultiTexParameterIivEXT = (PFNGLMULTITEXPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterIivEXT")) == NULL) || r; - r = ((glMultiTexParameterIuivEXT = (PFNGLMULTITEXPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterIuivEXT")) == NULL) || r; - r = ((glMultiTexParameterfEXT = (PFNGLMULTITEXPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterfEXT")) == NULL) || r; - r = ((glMultiTexParameterfvEXT = (PFNGLMULTITEXPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterfvEXT")) == NULL) || r; - r = ((glMultiTexParameteriEXT = (PFNGLMULTITEXPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameteriEXT")) == NULL) || r; - r = ((glMultiTexParameterivEXT = (PFNGLMULTITEXPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterivEXT")) == NULL) || r; - r = ((glMultiTexRenderbufferEXT = (PFNGLMULTITEXRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexRenderbufferEXT")) == NULL) || r; - r = ((glMultiTexSubImage1DEXT = (PFNGLMULTITEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexSubImage1DEXT")) == NULL) || r; - r = ((glMultiTexSubImage2DEXT = (PFNGLMULTITEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexSubImage2DEXT")) == NULL) || r; - r = ((glMultiTexSubImage3DEXT = (PFNGLMULTITEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexSubImage3DEXT")) == NULL) || r; - r = ((glNamedBufferDataEXT = (PFNGLNAMEDBUFFERDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferDataEXT")) == NULL) || r; - r = ((glNamedBufferSubDataEXT = (PFNGLNAMEDBUFFERSUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferSubDataEXT")) == NULL) || r; - r = ((glNamedCopyBufferSubDataEXT = (PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedCopyBufferSubDataEXT")) == NULL) || r; - r = ((glNamedFramebufferRenderbufferEXT = (PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferRenderbufferEXT")) == NULL) || r; - r = ((glNamedFramebufferTexture1DEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTexture1DEXT")) == NULL) || r; - r = ((glNamedFramebufferTexture2DEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTexture2DEXT")) == NULL) || r; - r = ((glNamedFramebufferTexture3DEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTexture3DEXT")) == NULL) || r; - r = ((glNamedFramebufferTextureEXT = (PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTextureEXT")) == NULL) || r; - r = ((glNamedFramebufferTextureFaceEXT = (PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTextureFaceEXT")) == NULL) || r; - r = ((glNamedFramebufferTextureLayerEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTextureLayerEXT")) == NULL) || r; - r = ((glNamedProgramLocalParameter4dEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameter4dEXT")) == NULL) || r; - r = ((glNamedProgramLocalParameter4dvEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameter4dvEXT")) == NULL) || r; - r = ((glNamedProgramLocalParameter4fEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameter4fEXT")) == NULL) || r; - r = ((glNamedProgramLocalParameter4fvEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameter4fvEXT")) == NULL) || r; - r = ((glNamedProgramLocalParameterI4iEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameterI4iEXT")) == NULL) || r; - r = ((glNamedProgramLocalParameterI4ivEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameterI4ivEXT")) == NULL) || r; - r = ((glNamedProgramLocalParameterI4uiEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameterI4uiEXT")) == NULL) || r; - r = ((glNamedProgramLocalParameterI4uivEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameterI4uivEXT")) == NULL) || r; - r = ((glNamedProgramLocalParameters4fvEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameters4fvEXT")) == NULL) || r; - r = ((glNamedProgramLocalParametersI4ivEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParametersI4ivEXT")) == NULL) || r; - r = ((glNamedProgramLocalParametersI4uivEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParametersI4uivEXT")) == NULL) || r; - r = ((glNamedProgramStringEXT = (PFNGLNAMEDPROGRAMSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramStringEXT")) == NULL) || r; - r = ((glNamedRenderbufferStorageEXT = (PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedRenderbufferStorageEXT")) == NULL) || r; - r = ((glNamedRenderbufferStorageMultisampleCoverageEXT = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedRenderbufferStorageMultisampleCoverageEXT")) == NULL) || r; - r = ((glNamedRenderbufferStorageMultisampleEXT = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedRenderbufferStorageMultisampleEXT")) == NULL) || r; - r = ((glProgramUniform1dEXT = (PFNGLPROGRAMUNIFORM1DEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1dEXT")) == NULL) || r; - r = ((glProgramUniform1dvEXT = (PFNGLPROGRAMUNIFORM1DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1dvEXT")) == NULL) || r; - r = ((glProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1fEXT")) == NULL) || r; - r = ((glProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1fvEXT")) == NULL) || r; - r = ((glProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1iEXT")) == NULL) || r; - r = ((glProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ivEXT")) == NULL) || r; - r = ((glProgramUniform1uiEXT = (PFNGLPROGRAMUNIFORM1UIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1uiEXT")) == NULL) || r; - r = ((glProgramUniform1uivEXT = (PFNGLPROGRAMUNIFORM1UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1uivEXT")) == NULL) || r; - r = ((glProgramUniform2dEXT = (PFNGLPROGRAMUNIFORM2DEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2dEXT")) == NULL) || r; - r = ((glProgramUniform2dvEXT = (PFNGLPROGRAMUNIFORM2DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2dvEXT")) == NULL) || r; - r = ((glProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2fEXT")) == NULL) || r; - r = ((glProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2fvEXT")) == NULL) || r; - r = ((glProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2iEXT")) == NULL) || r; - r = ((glProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ivEXT")) == NULL) || r; - r = ((glProgramUniform2uiEXT = (PFNGLPROGRAMUNIFORM2UIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2uiEXT")) == NULL) || r; - r = ((glProgramUniform2uivEXT = (PFNGLPROGRAMUNIFORM2UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2uivEXT")) == NULL) || r; - r = ((glProgramUniform3dEXT = (PFNGLPROGRAMUNIFORM3DEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3dEXT")) == NULL) || r; - r = ((glProgramUniform3dvEXT = (PFNGLPROGRAMUNIFORM3DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3dvEXT")) == NULL) || r; - r = ((glProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3fEXT")) == NULL) || r; - r = ((glProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3fvEXT")) == NULL) || r; - r = ((glProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3iEXT")) == NULL) || r; - r = ((glProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ivEXT")) == NULL) || r; - r = ((glProgramUniform3uiEXT = (PFNGLPROGRAMUNIFORM3UIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3uiEXT")) == NULL) || r; - r = ((glProgramUniform3uivEXT = (PFNGLPROGRAMUNIFORM3UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3uivEXT")) == NULL) || r; - r = ((glProgramUniform4dEXT = (PFNGLPROGRAMUNIFORM4DEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4dEXT")) == NULL) || r; - r = ((glProgramUniform4dvEXT = (PFNGLPROGRAMUNIFORM4DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4dvEXT")) == NULL) || r; - r = ((glProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4fEXT")) == NULL) || r; - r = ((glProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4fvEXT")) == NULL) || r; - r = ((glProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4iEXT")) == NULL) || r; - r = ((glProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ivEXT")) == NULL) || r; - r = ((glProgramUniform4uiEXT = (PFNGLPROGRAMUNIFORM4UIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4uiEXT")) == NULL) || r; - r = ((glProgramUniform4uivEXT = (PFNGLPROGRAMUNIFORM4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4uivEXT")) == NULL) || r; - r = ((glProgramUniformMatrix2dvEXT = (PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2dvEXT")) == NULL) || r; - r = ((glProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2fvEXT")) == NULL) || r; - r = ((glProgramUniformMatrix2x3dvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x3dvEXT")) == NULL) || r; - r = ((glProgramUniformMatrix2x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x3fvEXT")) == NULL) || r; - r = ((glProgramUniformMatrix2x4dvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x4dvEXT")) == NULL) || r; - r = ((glProgramUniformMatrix2x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x4fvEXT")) == NULL) || r; - r = ((glProgramUniformMatrix3dvEXT = (PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3dvEXT")) == NULL) || r; - r = ((glProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3fvEXT")) == NULL) || r; - r = ((glProgramUniformMatrix3x2dvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x2dvEXT")) == NULL) || r; - r = ((glProgramUniformMatrix3x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x2fvEXT")) == NULL) || r; - r = ((glProgramUniformMatrix3x4dvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x4dvEXT")) == NULL) || r; - r = ((glProgramUniformMatrix3x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x4fvEXT")) == NULL) || r; - r = ((glProgramUniformMatrix4dvEXT = (PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4dvEXT")) == NULL) || r; - r = ((glProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4fvEXT")) == NULL) || r; - r = ((glProgramUniformMatrix4x2dvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x2dvEXT")) == NULL) || r; - r = ((glProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x2fvEXT")) == NULL) || r; - r = ((glProgramUniformMatrix4x3dvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x3dvEXT")) == NULL) || r; - r = ((glProgramUniformMatrix4x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x3fvEXT")) == NULL) || r; - r = ((glPushClientAttribDefaultEXT = (PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC)glewGetProcAddress((const GLubyte*)"glPushClientAttribDefaultEXT")) == NULL) || r; - r = ((glTextureBufferEXT = (PFNGLTEXTUREBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glTextureBufferEXT")) == NULL) || r; - r = ((glTextureImage1DEXT = (PFNGLTEXTUREIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureImage1DEXT")) == NULL) || r; - r = ((glTextureImage2DEXT = (PFNGLTEXTUREIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureImage2DEXT")) == NULL) || r; - r = ((glTextureImage3DEXT = (PFNGLTEXTUREIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureImage3DEXT")) == NULL) || r; - r = ((glTextureParameterIivEXT = (PFNGLTEXTUREPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterIivEXT")) == NULL) || r; - r = ((glTextureParameterIuivEXT = (PFNGLTEXTUREPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterIuivEXT")) == NULL) || r; - r = ((glTextureParameterfEXT = (PFNGLTEXTUREPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterfEXT")) == NULL) || r; - r = ((glTextureParameterfvEXT = (PFNGLTEXTUREPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterfvEXT")) == NULL) || r; - r = ((glTextureParameteriEXT = (PFNGLTEXTUREPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameteriEXT")) == NULL) || r; - r = ((glTextureParameterivEXT = (PFNGLTEXTUREPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterivEXT")) == NULL) || r; - r = ((glTextureRenderbufferEXT = (PFNGLTEXTURERENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glTextureRenderbufferEXT")) == NULL) || r; - r = ((glTextureSubImage1DEXT = (PFNGLTEXTURESUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage1DEXT")) == NULL) || r; - r = ((glTextureSubImage2DEXT = (PFNGLTEXTURESUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage2DEXT")) == NULL) || r; - r = ((glTextureSubImage3DEXT = (PFNGLTEXTURESUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage3DEXT")) == NULL) || r; - r = ((glUnmapNamedBufferEXT = (PFNGLUNMAPNAMEDBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glUnmapNamedBufferEXT")) == NULL) || r; - r = ((glVertexArrayColorOffsetEXT = (PFNGLVERTEXARRAYCOLOROFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayColorOffsetEXT")) == NULL) || r; - r = ((glVertexArrayEdgeFlagOffsetEXT = (PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayEdgeFlagOffsetEXT")) == NULL) || r; - r = ((glVertexArrayFogCoordOffsetEXT = (PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayFogCoordOffsetEXT")) == NULL) || r; - r = ((glVertexArrayIndexOffsetEXT = (PFNGLVERTEXARRAYINDEXOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayIndexOffsetEXT")) == NULL) || r; - r = ((glVertexArrayMultiTexCoordOffsetEXT = (PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayMultiTexCoordOffsetEXT")) == NULL) || r; - r = ((glVertexArrayNormalOffsetEXT = (PFNGLVERTEXARRAYNORMALOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayNormalOffsetEXT")) == NULL) || r; - r = ((glVertexArraySecondaryColorOffsetEXT = (PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArraySecondaryColorOffsetEXT")) == NULL) || r; - r = ((glVertexArrayTexCoordOffsetEXT = (PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayTexCoordOffsetEXT")) == NULL) || r; - r = ((glVertexArrayVertexAttribIOffsetEXT = (PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribIOffsetEXT")) == NULL) || r; - r = ((glVertexArrayVertexAttribOffsetEXT = (PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribOffsetEXT")) == NULL) || r; - r = ((glVertexArrayVertexOffsetEXT = (PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexOffsetEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_direct_state_access */ - -#ifdef GL_EXT_draw_buffers2 - -static GLboolean _glewInit_GL_EXT_draw_buffers2 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glColorMaskIndexedEXT = (PFNGLCOLORMASKINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glColorMaskIndexedEXT")) == NULL) || r; - r = ((glDisableIndexedEXT = (PFNGLDISABLEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableIndexedEXT")) == NULL) || r; - r = ((glEnableIndexedEXT = (PFNGLENABLEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableIndexedEXT")) == NULL) || r; - r = ((glGetBooleanIndexedvEXT = (PFNGLGETBOOLEANINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetBooleanIndexedvEXT")) == NULL) || r; - r = ((glGetIntegerIndexedvEXT = (PFNGLGETINTEGERINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetIntegerIndexedvEXT")) == NULL) || r; - r = ((glIsEnabledIndexedEXT = (PFNGLISENABLEDINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glIsEnabledIndexedEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_draw_buffers2 */ - -#ifdef GL_EXT_draw_instanced - -static GLboolean _glewInit_GL_EXT_draw_instanced (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glDrawArraysInstancedEXT = (PFNGLDRAWARRAYSINSTANCEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstancedEXT")) == NULL) || r; - r = ((glDrawElementsInstancedEXT = (PFNGLDRAWELEMENTSINSTANCEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_draw_instanced */ - -#ifdef GL_EXT_draw_range_elements - -static GLboolean _glewInit_GL_EXT_draw_range_elements (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glDrawRangeElementsEXT = (PFNGLDRAWRANGEELEMENTSEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementsEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_draw_range_elements */ - -#ifdef GL_EXT_fog_coord - -static GLboolean _glewInit_GL_EXT_fog_coord (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glFogCoordPointerEXT = (PFNGLFOGCOORDPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoordPointerEXT")) == NULL) || r; - r = ((glFogCoorddEXT = (PFNGLFOGCOORDDEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoorddEXT")) == NULL) || r; - r = ((glFogCoorddvEXT = (PFNGLFOGCOORDDVEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoorddvEXT")) == NULL) || r; - r = ((glFogCoordfEXT = (PFNGLFOGCOORDFEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoordfEXT")) == NULL) || r; - r = ((glFogCoordfvEXT = (PFNGLFOGCOORDFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoordfvEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_fog_coord */ - -#ifdef GL_EXT_fragment_lighting - -static GLboolean _glewInit_GL_EXT_fragment_lighting (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glFragmentColorMaterialEXT = (PFNGLFRAGMENTCOLORMATERIALEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentColorMaterialEXT")) == NULL) || r; - r = ((glFragmentLightModelfEXT = (PFNGLFRAGMENTLIGHTMODELFEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfEXT")) == NULL) || r; - r = ((glFragmentLightModelfvEXT = (PFNGLFRAGMENTLIGHTMODELFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfvEXT")) == NULL) || r; - r = ((glFragmentLightModeliEXT = (PFNGLFRAGMENTLIGHTMODELIEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModeliEXT")) == NULL) || r; - r = ((glFragmentLightModelivEXT = (PFNGLFRAGMENTLIGHTMODELIVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelivEXT")) == NULL) || r; - r = ((glFragmentLightfEXT = (PFNGLFRAGMENTLIGHTFEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfEXT")) == NULL) || r; - r = ((glFragmentLightfvEXT = (PFNGLFRAGMENTLIGHTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfvEXT")) == NULL) || r; - r = ((glFragmentLightiEXT = (PFNGLFRAGMENTLIGHTIEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightiEXT")) == NULL) || r; - r = ((glFragmentLightivEXT = (PFNGLFRAGMENTLIGHTIVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightivEXT")) == NULL) || r; - r = ((glFragmentMaterialfEXT = (PFNGLFRAGMENTMATERIALFEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfEXT")) == NULL) || r; - r = ((glFragmentMaterialfvEXT = (PFNGLFRAGMENTMATERIALFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfvEXT")) == NULL) || r; - r = ((glFragmentMaterialiEXT = (PFNGLFRAGMENTMATERIALIEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialiEXT")) == NULL) || r; - r = ((glFragmentMaterialivEXT = (PFNGLFRAGMENTMATERIALIVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialivEXT")) == NULL) || r; - r = ((glGetFragmentLightfvEXT = (PFNGLGETFRAGMENTLIGHTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightfvEXT")) == NULL) || r; - r = ((glGetFragmentLightivEXT = (PFNGLGETFRAGMENTLIGHTIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightivEXT")) == NULL) || r; - r = ((glGetFragmentMaterialfvEXT = (PFNGLGETFRAGMENTMATERIALFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialfvEXT")) == NULL) || r; - r = ((glGetFragmentMaterialivEXT = (PFNGLGETFRAGMENTMATERIALIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialivEXT")) == NULL) || r; - r = ((glLightEnviEXT = (PFNGLLIGHTENVIEXTPROC)glewGetProcAddress((const GLubyte*)"glLightEnviEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_fragment_lighting */ - -#ifdef GL_EXT_framebuffer_blit - -static GLboolean _glewInit_GL_EXT_framebuffer_blit (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBlitFramebufferEXT = (PFNGLBLITFRAMEBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glBlitFramebufferEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_framebuffer_blit */ - -#ifdef GL_EXT_framebuffer_multisample - -static GLboolean _glewInit_GL_EXT_framebuffer_multisample (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glRenderbufferStorageMultisampleEXT = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisampleEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_framebuffer_multisample */ - -#ifdef GL_EXT_framebuffer_multisample_blit_scaled - -#endif /* GL_EXT_framebuffer_multisample_blit_scaled */ - -#ifdef GL_EXT_framebuffer_object - -static GLboolean _glewInit_GL_EXT_framebuffer_object (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBindFramebufferEXT = (PFNGLBINDFRAMEBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindFramebufferEXT")) == NULL) || r; - r = ((glBindRenderbufferEXT = (PFNGLBINDRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindRenderbufferEXT")) == NULL) || r; - r = ((glCheckFramebufferStatusEXT = (PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC)glewGetProcAddress((const GLubyte*)"glCheckFramebufferStatusEXT")) == NULL) || r; - r = ((glDeleteFramebuffersEXT = (PFNGLDELETEFRAMEBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteFramebuffersEXT")) == NULL) || r; - r = ((glDeleteRenderbuffersEXT = (PFNGLDELETERENDERBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteRenderbuffersEXT")) == NULL) || r; - r = ((glFramebufferRenderbufferEXT = (PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferRenderbufferEXT")) == NULL) || r; - r = ((glFramebufferTexture1DEXT = (PFNGLFRAMEBUFFERTEXTURE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture1DEXT")) == NULL) || r; - r = ((glFramebufferTexture2DEXT = (PFNGLFRAMEBUFFERTEXTURE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture2DEXT")) == NULL) || r; - r = ((glFramebufferTexture3DEXT = (PFNGLFRAMEBUFFERTEXTURE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture3DEXT")) == NULL) || r; - r = ((glGenFramebuffersEXT = (PFNGLGENFRAMEBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenFramebuffersEXT")) == NULL) || r; - r = ((glGenRenderbuffersEXT = (PFNGLGENRENDERBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenRenderbuffersEXT")) == NULL) || r; - r = ((glGenerateMipmapEXT = (PFNGLGENERATEMIPMAPEXTPROC)glewGetProcAddress((const GLubyte*)"glGenerateMipmapEXT")) == NULL) || r; - r = ((glGetFramebufferAttachmentParameterivEXT = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferAttachmentParameterivEXT")) == NULL) || r; - r = ((glGetRenderbufferParameterivEXT = (PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetRenderbufferParameterivEXT")) == NULL) || r; - r = ((glIsFramebufferEXT = (PFNGLISFRAMEBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glIsFramebufferEXT")) == NULL) || r; - r = ((glIsRenderbufferEXT = (PFNGLISRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glIsRenderbufferEXT")) == NULL) || r; - r = ((glRenderbufferStorageEXT = (PFNGLRENDERBUFFERSTORAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_framebuffer_object */ - -#ifdef GL_EXT_framebuffer_sRGB - -#endif /* GL_EXT_framebuffer_sRGB */ - -#ifdef GL_EXT_geometry_shader4 - -static GLboolean _glewInit_GL_EXT_geometry_shader4 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glFramebufferTextureEXT = (PFNGLFRAMEBUFFERTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureEXT")) == NULL) || r; - r = ((glFramebufferTextureFaceEXT = (PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureFaceEXT")) == NULL) || r; - r = ((glProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramParameteriEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_geometry_shader4 */ - -#ifdef GL_EXT_gpu_program_parameters - -static GLboolean _glewInit_GL_EXT_gpu_program_parameters (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glProgramEnvParameters4fvEXT = (PFNGLPROGRAMENVPARAMETERS4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameters4fvEXT")) == NULL) || r; - r = ((glProgramLocalParameters4fvEXT = (PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameters4fvEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_gpu_program_parameters */ - -#ifdef GL_EXT_gpu_shader4 - -static GLboolean _glewInit_GL_EXT_gpu_shader4 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBindFragDataLocationEXT = (PFNGLBINDFRAGDATALOCATIONEXTPROC)glewGetProcAddress((const GLubyte*)"glBindFragDataLocationEXT")) == NULL) || r; - r = ((glGetFragDataLocationEXT = (PFNGLGETFRAGDATALOCATIONEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragDataLocationEXT")) == NULL) || r; - r = ((glGetUniformuivEXT = (PFNGLGETUNIFORMUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetUniformuivEXT")) == NULL) || r; - r = ((glGetVertexAttribIivEXT = (PFNGLGETVERTEXATTRIBIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribIivEXT")) == NULL) || r; - r = ((glGetVertexAttribIuivEXT = (PFNGLGETVERTEXATTRIBIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribIuivEXT")) == NULL) || r; - r = ((glUniform1uiEXT = (PFNGLUNIFORM1UIEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform1uiEXT")) == NULL) || r; - r = ((glUniform1uivEXT = (PFNGLUNIFORM1UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform1uivEXT")) == NULL) || r; - r = ((glUniform2uiEXT = (PFNGLUNIFORM2UIEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform2uiEXT")) == NULL) || r; - r = ((glUniform2uivEXT = (PFNGLUNIFORM2UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform2uivEXT")) == NULL) || r; - r = ((glUniform3uiEXT = (PFNGLUNIFORM3UIEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform3uiEXT")) == NULL) || r; - r = ((glUniform3uivEXT = (PFNGLUNIFORM3UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform3uivEXT")) == NULL) || r; - r = ((glUniform4uiEXT = (PFNGLUNIFORM4UIEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform4uiEXT")) == NULL) || r; - r = ((glUniform4uivEXT = (PFNGLUNIFORM4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform4uivEXT")) == NULL) || r; - r = ((glVertexAttribI1iEXT = (PFNGLVERTEXATTRIBI1IEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1iEXT")) == NULL) || r; - r = ((glVertexAttribI1ivEXT = (PFNGLVERTEXATTRIBI1IVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1ivEXT")) == NULL) || r; - r = ((glVertexAttribI1uiEXT = (PFNGLVERTEXATTRIBI1UIEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1uiEXT")) == NULL) || r; - r = ((glVertexAttribI1uivEXT = (PFNGLVERTEXATTRIBI1UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1uivEXT")) == NULL) || r; - r = ((glVertexAttribI2iEXT = (PFNGLVERTEXATTRIBI2IEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2iEXT")) == NULL) || r; - r = ((glVertexAttribI2ivEXT = (PFNGLVERTEXATTRIBI2IVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2ivEXT")) == NULL) || r; - r = ((glVertexAttribI2uiEXT = (PFNGLVERTEXATTRIBI2UIEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2uiEXT")) == NULL) || r; - r = ((glVertexAttribI2uivEXT = (PFNGLVERTEXATTRIBI2UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2uivEXT")) == NULL) || r; - r = ((glVertexAttribI3iEXT = (PFNGLVERTEXATTRIBI3IEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3iEXT")) == NULL) || r; - r = ((glVertexAttribI3ivEXT = (PFNGLVERTEXATTRIBI3IVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3ivEXT")) == NULL) || r; - r = ((glVertexAttribI3uiEXT = (PFNGLVERTEXATTRIBI3UIEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3uiEXT")) == NULL) || r; - r = ((glVertexAttribI3uivEXT = (PFNGLVERTEXATTRIBI3UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3uivEXT")) == NULL) || r; - r = ((glVertexAttribI4bvEXT = (PFNGLVERTEXATTRIBI4BVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4bvEXT")) == NULL) || r; - r = ((glVertexAttribI4iEXT = (PFNGLVERTEXATTRIBI4IEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4iEXT")) == NULL) || r; - r = ((glVertexAttribI4ivEXT = (PFNGLVERTEXATTRIBI4IVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4ivEXT")) == NULL) || r; - r = ((glVertexAttribI4svEXT = (PFNGLVERTEXATTRIBI4SVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4svEXT")) == NULL) || r; - r = ((glVertexAttribI4ubvEXT = (PFNGLVERTEXATTRIBI4UBVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4ubvEXT")) == NULL) || r; - r = ((glVertexAttribI4uiEXT = (PFNGLVERTEXATTRIBI4UIEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4uiEXT")) == NULL) || r; - r = ((glVertexAttribI4uivEXT = (PFNGLVERTEXATTRIBI4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4uivEXT")) == NULL) || r; - r = ((glVertexAttribI4usvEXT = (PFNGLVERTEXATTRIBI4USVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4usvEXT")) == NULL) || r; - r = ((glVertexAttribIPointerEXT = (PFNGLVERTEXATTRIBIPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribIPointerEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_gpu_shader4 */ - -#ifdef GL_EXT_histogram - -static GLboolean _glewInit_GL_EXT_histogram (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetHistogramEXT = (PFNGLGETHISTOGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramEXT")) == NULL) || r; - r = ((glGetHistogramParameterfvEXT = (PFNGLGETHISTOGRAMPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameterfvEXT")) == NULL) || r; - r = ((glGetHistogramParameterivEXT = (PFNGLGETHISTOGRAMPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameterivEXT")) == NULL) || r; - r = ((glGetMinmaxEXT = (PFNGLGETMINMAXEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxEXT")) == NULL) || r; - r = ((glGetMinmaxParameterfvEXT = (PFNGLGETMINMAXPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameterfvEXT")) == NULL) || r; - r = ((glGetMinmaxParameterivEXT = (PFNGLGETMINMAXPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameterivEXT")) == NULL) || r; - r = ((glHistogramEXT = (PFNGLHISTOGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glHistogramEXT")) == NULL) || r; - r = ((glMinmaxEXT = (PFNGLMINMAXEXTPROC)glewGetProcAddress((const GLubyte*)"glMinmaxEXT")) == NULL) || r; - r = ((glResetHistogramEXT = (PFNGLRESETHISTOGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glResetHistogramEXT")) == NULL) || r; - r = ((glResetMinmaxEXT = (PFNGLRESETMINMAXEXTPROC)glewGetProcAddress((const GLubyte*)"glResetMinmaxEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_histogram */ - -#ifdef GL_EXT_index_array_formats - -#endif /* GL_EXT_index_array_formats */ - -#ifdef GL_EXT_index_func - -static GLboolean _glewInit_GL_EXT_index_func (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glIndexFuncEXT = (PFNGLINDEXFUNCEXTPROC)glewGetProcAddress((const GLubyte*)"glIndexFuncEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_index_func */ - -#ifdef GL_EXT_index_material - -static GLboolean _glewInit_GL_EXT_index_material (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glIndexMaterialEXT = (PFNGLINDEXMATERIALEXTPROC)glewGetProcAddress((const GLubyte*)"glIndexMaterialEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_index_material */ - -#ifdef GL_EXT_index_texture - -#endif /* GL_EXT_index_texture */ - -#ifdef GL_EXT_light_texture - -static GLboolean _glewInit_GL_EXT_light_texture (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glApplyTextureEXT = (PFNGLAPPLYTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glApplyTextureEXT")) == NULL) || r; - r = ((glTextureLightEXT = (PFNGLTEXTURELIGHTEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureLightEXT")) == NULL) || r; - r = ((glTextureMaterialEXT = (PFNGLTEXTUREMATERIALEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureMaterialEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_light_texture */ - -#ifdef GL_EXT_misc_attribute - -#endif /* GL_EXT_misc_attribute */ - -#ifdef GL_EXT_multi_draw_arrays - -static GLboolean _glewInit_GL_EXT_multi_draw_arrays (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysEXT")) == NULL) || r; - r = ((glMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_multi_draw_arrays */ - -#ifdef GL_EXT_multisample - -static GLboolean _glewInit_GL_EXT_multisample (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glSampleMaskEXT = (PFNGLSAMPLEMASKEXTPROC)glewGetProcAddress((const GLubyte*)"glSampleMaskEXT")) == NULL) || r; - r = ((glSamplePatternEXT = (PFNGLSAMPLEPATTERNEXTPROC)glewGetProcAddress((const GLubyte*)"glSamplePatternEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_multisample */ - -#ifdef GL_EXT_packed_depth_stencil - -#endif /* GL_EXT_packed_depth_stencil */ - -#ifdef GL_EXT_packed_float - -#endif /* GL_EXT_packed_float */ - -#ifdef GL_EXT_packed_pixels - -#endif /* GL_EXT_packed_pixels */ - -#ifdef GL_EXT_paletted_texture - -static GLboolean _glewInit_GL_EXT_paletted_texture (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glColorTableEXT = (PFNGLCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glColorTableEXT")) == NULL) || r; - r = ((glGetColorTableEXT = (PFNGLGETCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableEXT")) == NULL) || r; - r = ((glGetColorTableParameterfvEXT = (PFNGLGETCOLORTABLEPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterfvEXT")) == NULL) || r; - r = ((glGetColorTableParameterivEXT = (PFNGLGETCOLORTABLEPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterivEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_paletted_texture */ - -#ifdef GL_EXT_pixel_buffer_object - -#endif /* GL_EXT_pixel_buffer_object */ - -#ifdef GL_EXT_pixel_transform - -static GLboolean _glewInit_GL_EXT_pixel_transform (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetPixelTransformParameterfvEXT = (PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPixelTransformParameterfvEXT")) == NULL) || r; - r = ((glGetPixelTransformParameterivEXT = (PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPixelTransformParameterivEXT")) == NULL) || r; - r = ((glPixelTransformParameterfEXT = (PFNGLPIXELTRANSFORMPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterfEXT")) == NULL) || r; - r = ((glPixelTransformParameterfvEXT = (PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterfvEXT")) == NULL) || r; - r = ((glPixelTransformParameteriEXT = (PFNGLPIXELTRANSFORMPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameteriEXT")) == NULL) || r; - r = ((glPixelTransformParameterivEXT = (PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterivEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_pixel_transform */ - -#ifdef GL_EXT_pixel_transform_color_table - -#endif /* GL_EXT_pixel_transform_color_table */ - -#ifdef GL_EXT_point_parameters - -static GLboolean _glewInit_GL_EXT_point_parameters (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glPointParameterfEXT = (PFNGLPOINTPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfEXT")) == NULL) || r; - r = ((glPointParameterfvEXT = (PFNGLPOINTPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfvEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_point_parameters */ - -#ifdef GL_EXT_polygon_offset - -static GLboolean _glewInit_GL_EXT_polygon_offset (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glPolygonOffsetEXT = (PFNGLPOLYGONOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glPolygonOffsetEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_polygon_offset */ - -#ifdef GL_EXT_provoking_vertex - -static GLboolean _glewInit_GL_EXT_provoking_vertex (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glProvokingVertexEXT = (PFNGLPROVOKINGVERTEXEXTPROC)glewGetProcAddress((const GLubyte*)"glProvokingVertexEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_provoking_vertex */ - -#ifdef GL_EXT_rescale_normal - -#endif /* GL_EXT_rescale_normal */ - -#ifdef GL_EXT_scene_marker - -static GLboolean _glewInit_GL_EXT_scene_marker (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBeginSceneEXT = (PFNGLBEGINSCENEEXTPROC)glewGetProcAddress((const GLubyte*)"glBeginSceneEXT")) == NULL) || r; - r = ((glEndSceneEXT = (PFNGLENDSCENEEXTPROC)glewGetProcAddress((const GLubyte*)"glEndSceneEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_scene_marker */ - -#ifdef GL_EXT_secondary_color - -static GLboolean _glewInit_GL_EXT_secondary_color (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glSecondaryColor3bEXT = (PFNGLSECONDARYCOLOR3BEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3bEXT")) == NULL) || r; - r = ((glSecondaryColor3bvEXT = (PFNGLSECONDARYCOLOR3BVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3bvEXT")) == NULL) || r; - r = ((glSecondaryColor3dEXT = (PFNGLSECONDARYCOLOR3DEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3dEXT")) == NULL) || r; - r = ((glSecondaryColor3dvEXT = (PFNGLSECONDARYCOLOR3DVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3dvEXT")) == NULL) || r; - r = ((glSecondaryColor3fEXT = (PFNGLSECONDARYCOLOR3FEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3fEXT")) == NULL) || r; - r = ((glSecondaryColor3fvEXT = (PFNGLSECONDARYCOLOR3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3fvEXT")) == NULL) || r; - r = ((glSecondaryColor3iEXT = (PFNGLSECONDARYCOLOR3IEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3iEXT")) == NULL) || r; - r = ((glSecondaryColor3ivEXT = (PFNGLSECONDARYCOLOR3IVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ivEXT")) == NULL) || r; - r = ((glSecondaryColor3sEXT = (PFNGLSECONDARYCOLOR3SEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3sEXT")) == NULL) || r; - r = ((glSecondaryColor3svEXT = (PFNGLSECONDARYCOLOR3SVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3svEXT")) == NULL) || r; - r = ((glSecondaryColor3ubEXT = (PFNGLSECONDARYCOLOR3UBEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ubEXT")) == NULL) || r; - r = ((glSecondaryColor3ubvEXT = (PFNGLSECONDARYCOLOR3UBVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ubvEXT")) == NULL) || r; - r = ((glSecondaryColor3uiEXT = (PFNGLSECONDARYCOLOR3UIEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3uiEXT")) == NULL) || r; - r = ((glSecondaryColor3uivEXT = (PFNGLSECONDARYCOLOR3UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3uivEXT")) == NULL) || r; - r = ((glSecondaryColor3usEXT = (PFNGLSECONDARYCOLOR3USEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3usEXT")) == NULL) || r; - r = ((glSecondaryColor3usvEXT = (PFNGLSECONDARYCOLOR3USVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3usvEXT")) == NULL) || r; - r = ((glSecondaryColorPointerEXT = (PFNGLSECONDARYCOLORPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorPointerEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_secondary_color */ - -#ifdef GL_EXT_separate_shader_objects - -static GLboolean _glewInit_GL_EXT_separate_shader_objects (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glActiveProgramEXT = (PFNGLACTIVEPROGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glActiveProgramEXT")) == NULL) || r; - r = ((glCreateShaderProgramEXT = (PFNGLCREATESHADERPROGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glCreateShaderProgramEXT")) == NULL) || r; - r = ((glUseShaderProgramEXT = (PFNGLUSESHADERPROGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glUseShaderProgramEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_separate_shader_objects */ - -#ifdef GL_EXT_separate_specular_color - -#endif /* GL_EXT_separate_specular_color */ - -#ifdef GL_EXT_shader_image_load_store - -static GLboolean _glewInit_GL_EXT_shader_image_load_store (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBindImageTextureEXT = (PFNGLBINDIMAGETEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glBindImageTextureEXT")) == NULL) || r; - r = ((glMemoryBarrierEXT = (PFNGLMEMORYBARRIEREXTPROC)glewGetProcAddress((const GLubyte*)"glMemoryBarrierEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_shader_image_load_store */ - -#ifdef GL_EXT_shadow_funcs - -#endif /* GL_EXT_shadow_funcs */ - -#ifdef GL_EXT_shared_texture_palette - -#endif /* GL_EXT_shared_texture_palette */ - -#ifdef GL_EXT_stencil_clear_tag - -#endif /* GL_EXT_stencil_clear_tag */ - -#ifdef GL_EXT_stencil_two_side - -static GLboolean _glewInit_GL_EXT_stencil_two_side (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glActiveStencilFaceEXT = (PFNGLACTIVESTENCILFACEEXTPROC)glewGetProcAddress((const GLubyte*)"glActiveStencilFaceEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_stencil_two_side */ - -#ifdef GL_EXT_stencil_wrap - -#endif /* GL_EXT_stencil_wrap */ - -#ifdef GL_EXT_subtexture - -static GLboolean _glewInit_GL_EXT_subtexture (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glTexSubImage1DEXT = (PFNGLTEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage1DEXT")) == NULL) || r; - r = ((glTexSubImage2DEXT = (PFNGLTEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage2DEXT")) == NULL) || r; - r = ((glTexSubImage3DEXT = (PFNGLTEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage3DEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_subtexture */ - -#ifdef GL_EXT_texture - -#endif /* GL_EXT_texture */ - -#ifdef GL_EXT_texture3D - -static GLboolean _glewInit_GL_EXT_texture3D (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glTexImage3DEXT = (PFNGLTEXIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexImage3DEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_texture3D */ - -#ifdef GL_EXT_texture_array - -static GLboolean _glewInit_GL_EXT_texture_array (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glFramebufferTextureLayerEXT = (PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureLayerEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_texture_array */ - -#ifdef GL_EXT_texture_buffer_object - -static GLboolean _glewInit_GL_EXT_texture_buffer_object (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glTexBufferEXT = (PFNGLTEXBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glTexBufferEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_texture_buffer_object */ - -#ifdef GL_EXT_texture_compression_dxt1 - -#endif /* GL_EXT_texture_compression_dxt1 */ - -#ifdef GL_EXT_texture_compression_latc - -#endif /* GL_EXT_texture_compression_latc */ - -#ifdef GL_EXT_texture_compression_rgtc - -#endif /* GL_EXT_texture_compression_rgtc */ - -#ifdef GL_EXT_texture_compression_s3tc - -#endif /* GL_EXT_texture_compression_s3tc */ - -#ifdef GL_EXT_texture_cube_map - -#endif /* GL_EXT_texture_cube_map */ - -#ifdef GL_EXT_texture_edge_clamp - -#endif /* GL_EXT_texture_edge_clamp */ - -#ifdef GL_EXT_texture_env - -#endif /* GL_EXT_texture_env */ - -#ifdef GL_EXT_texture_env_add - -#endif /* GL_EXT_texture_env_add */ - -#ifdef GL_EXT_texture_env_combine - -#endif /* GL_EXT_texture_env_combine */ - -#ifdef GL_EXT_texture_env_dot3 - -#endif /* GL_EXT_texture_env_dot3 */ - -#ifdef GL_EXT_texture_filter_anisotropic - -#endif /* GL_EXT_texture_filter_anisotropic */ - -#ifdef GL_EXT_texture_integer - -static GLboolean _glewInit_GL_EXT_texture_integer (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glClearColorIiEXT = (PFNGLCLEARCOLORIIEXTPROC)glewGetProcAddress((const GLubyte*)"glClearColorIiEXT")) == NULL) || r; - r = ((glClearColorIuiEXT = (PFNGLCLEARCOLORIUIEXTPROC)glewGetProcAddress((const GLubyte*)"glClearColorIuiEXT")) == NULL) || r; - r = ((glGetTexParameterIivEXT = (PFNGLGETTEXPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIivEXT")) == NULL) || r; - r = ((glGetTexParameterIuivEXT = (PFNGLGETTEXPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIuivEXT")) == NULL) || r; - r = ((glTexParameterIivEXT = (PFNGLTEXPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTexParameterIivEXT")) == NULL) || r; - r = ((glTexParameterIuivEXT = (PFNGLTEXPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTexParameterIuivEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_texture_integer */ - -#ifdef GL_EXT_texture_lod_bias - -#endif /* GL_EXT_texture_lod_bias */ - -#ifdef GL_EXT_texture_mirror_clamp - -#endif /* GL_EXT_texture_mirror_clamp */ - -#ifdef GL_EXT_texture_object - -static GLboolean _glewInit_GL_EXT_texture_object (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glAreTexturesResidentEXT = (PFNGLARETEXTURESRESIDENTEXTPROC)glewGetProcAddress((const GLubyte*)"glAreTexturesResidentEXT")) == NULL) || r; - r = ((glBindTextureEXT = (PFNGLBINDTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glBindTextureEXT")) == NULL) || r; - r = ((glDeleteTexturesEXT = (PFNGLDELETETEXTURESEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteTexturesEXT")) == NULL) || r; - r = ((glGenTexturesEXT = (PFNGLGENTEXTURESEXTPROC)glewGetProcAddress((const GLubyte*)"glGenTexturesEXT")) == NULL) || r; - r = ((glIsTextureEXT = (PFNGLISTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glIsTextureEXT")) == NULL) || r; - r = ((glPrioritizeTexturesEXT = (PFNGLPRIORITIZETEXTURESEXTPROC)glewGetProcAddress((const GLubyte*)"glPrioritizeTexturesEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_texture_object */ - -#ifdef GL_EXT_texture_perturb_normal - -static GLboolean _glewInit_GL_EXT_texture_perturb_normal (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glTextureNormalEXT = (PFNGLTEXTURENORMALEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureNormalEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_texture_perturb_normal */ - -#ifdef GL_EXT_texture_rectangle - -#endif /* GL_EXT_texture_rectangle */ - -#ifdef GL_EXT_texture_sRGB - -#endif /* GL_EXT_texture_sRGB */ - -#ifdef GL_EXT_texture_sRGB_decode - -#endif /* GL_EXT_texture_sRGB_decode */ - -#ifdef GL_EXT_texture_shared_exponent - -#endif /* GL_EXT_texture_shared_exponent */ - -#ifdef GL_EXT_texture_snorm - -#endif /* GL_EXT_texture_snorm */ - -#ifdef GL_EXT_texture_swizzle - -#endif /* GL_EXT_texture_swizzle */ - -#ifdef GL_EXT_timer_query - -static GLboolean _glewInit_GL_EXT_timer_query (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetQueryObjecti64vEXT = (PFNGLGETQUERYOBJECTI64VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjecti64vEXT")) == NULL) || r; - r = ((glGetQueryObjectui64vEXT = (PFNGLGETQUERYOBJECTUI64VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectui64vEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_timer_query */ - -#ifdef GL_EXT_transform_feedback - -static GLboolean _glewInit_GL_EXT_transform_feedback (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBeginTransformFeedbackEXT = (PFNGLBEGINTRANSFORMFEEDBACKEXTPROC)glewGetProcAddress((const GLubyte*)"glBeginTransformFeedbackEXT")) == NULL) || r; - r = ((glBindBufferBaseEXT = (PFNGLBINDBUFFERBASEEXTPROC)glewGetProcAddress((const GLubyte*)"glBindBufferBaseEXT")) == NULL) || r; - r = ((glBindBufferOffsetEXT = (PFNGLBINDBUFFEROFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glBindBufferOffsetEXT")) == NULL) || r; - r = ((glBindBufferRangeEXT = (PFNGLBINDBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glBindBufferRangeEXT")) == NULL) || r; - r = ((glEndTransformFeedbackEXT = (PFNGLENDTRANSFORMFEEDBACKEXTPROC)glewGetProcAddress((const GLubyte*)"glEndTransformFeedbackEXT")) == NULL) || r; - r = ((glGetTransformFeedbackVaryingEXT = (PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTransformFeedbackVaryingEXT")) == NULL) || r; - r = ((glTransformFeedbackVaryingsEXT = (PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackVaryingsEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_transform_feedback */ - -#ifdef GL_EXT_vertex_array - -static GLboolean _glewInit_GL_EXT_vertex_array (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glArrayElementEXT = (PFNGLARRAYELEMENTEXTPROC)glewGetProcAddress((const GLubyte*)"glArrayElementEXT")) == NULL) || r; - r = ((glColorPointerEXT = (PFNGLCOLORPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glColorPointerEXT")) == NULL) || r; - r = ((glDrawArraysEXT = (PFNGLDRAWARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysEXT")) == NULL) || r; - r = ((glEdgeFlagPointerEXT = (PFNGLEDGEFLAGPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glEdgeFlagPointerEXT")) == NULL) || r; - r = ((glIndexPointerEXT = (PFNGLINDEXPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glIndexPointerEXT")) == NULL) || r; - r = ((glNormalPointerEXT = (PFNGLNORMALPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glNormalPointerEXT")) == NULL) || r; - r = ((glTexCoordPointerEXT = (PFNGLTEXCOORDPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glTexCoordPointerEXT")) == NULL) || r; - r = ((glVertexPointerEXT = (PFNGLVERTEXPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexPointerEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_vertex_array */ - -#ifdef GL_EXT_vertex_array_bgra - -#endif /* GL_EXT_vertex_array_bgra */ - -#ifdef GL_EXT_vertex_attrib_64bit - -static GLboolean _glewInit_GL_EXT_vertex_attrib_64bit (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetVertexAttribLdvEXT = (PFNGLGETVERTEXATTRIBLDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLdvEXT")) == NULL) || r; - r = ((glVertexArrayVertexAttribLOffsetEXT = (PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribLOffsetEXT")) == NULL) || r; - r = ((glVertexAttribL1dEXT = (PFNGLVERTEXATTRIBL1DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1dEXT")) == NULL) || r; - r = ((glVertexAttribL1dvEXT = (PFNGLVERTEXATTRIBL1DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1dvEXT")) == NULL) || r; - r = ((glVertexAttribL2dEXT = (PFNGLVERTEXATTRIBL2DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2dEXT")) == NULL) || r; - r = ((glVertexAttribL2dvEXT = (PFNGLVERTEXATTRIBL2DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2dvEXT")) == NULL) || r; - r = ((glVertexAttribL3dEXT = (PFNGLVERTEXATTRIBL3DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3dEXT")) == NULL) || r; - r = ((glVertexAttribL3dvEXT = (PFNGLVERTEXATTRIBL3DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3dvEXT")) == NULL) || r; - r = ((glVertexAttribL4dEXT = (PFNGLVERTEXATTRIBL4DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4dEXT")) == NULL) || r; - r = ((glVertexAttribL4dvEXT = (PFNGLVERTEXATTRIBL4DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4dvEXT")) == NULL) || r; - r = ((glVertexAttribLPointerEXT = (PFNGLVERTEXATTRIBLPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribLPointerEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_vertex_attrib_64bit */ - -#ifdef GL_EXT_vertex_shader - -static GLboolean _glewInit_GL_EXT_vertex_shader (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBeginVertexShaderEXT = (PFNGLBEGINVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glBeginVertexShaderEXT")) == NULL) || r; - r = ((glBindLightParameterEXT = (PFNGLBINDLIGHTPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindLightParameterEXT")) == NULL) || r; - r = ((glBindMaterialParameterEXT = (PFNGLBINDMATERIALPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindMaterialParameterEXT")) == NULL) || r; - r = ((glBindParameterEXT = (PFNGLBINDPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindParameterEXT")) == NULL) || r; - r = ((glBindTexGenParameterEXT = (PFNGLBINDTEXGENPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindTexGenParameterEXT")) == NULL) || r; - r = ((glBindTextureUnitParameterEXT = (PFNGLBINDTEXTUREUNITPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindTextureUnitParameterEXT")) == NULL) || r; - r = ((glBindVertexShaderEXT = (PFNGLBINDVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindVertexShaderEXT")) == NULL) || r; - r = ((glDeleteVertexShaderEXT = (PFNGLDELETEVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteVertexShaderEXT")) == NULL) || r; - r = ((glDisableVariantClientStateEXT = (PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableVariantClientStateEXT")) == NULL) || r; - r = ((glEnableVariantClientStateEXT = (PFNGLENABLEVARIANTCLIENTSTATEEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableVariantClientStateEXT")) == NULL) || r; - r = ((glEndVertexShaderEXT = (PFNGLENDVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glEndVertexShaderEXT")) == NULL) || r; - r = ((glExtractComponentEXT = (PFNGLEXTRACTCOMPONENTEXTPROC)glewGetProcAddress((const GLubyte*)"glExtractComponentEXT")) == NULL) || r; - r = ((glGenSymbolsEXT = (PFNGLGENSYMBOLSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenSymbolsEXT")) == NULL) || r; - r = ((glGenVertexShadersEXT = (PFNGLGENVERTEXSHADERSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenVertexShadersEXT")) == NULL) || r; - r = ((glGetInvariantBooleanvEXT = (PFNGLGETINVARIANTBOOLEANVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetInvariantBooleanvEXT")) == NULL) || r; - r = ((glGetInvariantFloatvEXT = (PFNGLGETINVARIANTFLOATVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetInvariantFloatvEXT")) == NULL) || r; - r = ((glGetInvariantIntegervEXT = (PFNGLGETINVARIANTINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetInvariantIntegervEXT")) == NULL) || r; - r = ((glGetLocalConstantBooleanvEXT = (PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetLocalConstantBooleanvEXT")) == NULL) || r; - r = ((glGetLocalConstantFloatvEXT = (PFNGLGETLOCALCONSTANTFLOATVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetLocalConstantFloatvEXT")) == NULL) || r; - r = ((glGetLocalConstantIntegervEXT = (PFNGLGETLOCALCONSTANTINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetLocalConstantIntegervEXT")) == NULL) || r; - r = ((glGetVariantBooleanvEXT = (PFNGLGETVARIANTBOOLEANVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantBooleanvEXT")) == NULL) || r; - r = ((glGetVariantFloatvEXT = (PFNGLGETVARIANTFLOATVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantFloatvEXT")) == NULL) || r; - r = ((glGetVariantIntegervEXT = (PFNGLGETVARIANTINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantIntegervEXT")) == NULL) || r; - r = ((glGetVariantPointervEXT = (PFNGLGETVARIANTPOINTERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantPointervEXT")) == NULL) || r; - r = ((glInsertComponentEXT = (PFNGLINSERTCOMPONENTEXTPROC)glewGetProcAddress((const GLubyte*)"glInsertComponentEXT")) == NULL) || r; - r = ((glIsVariantEnabledEXT = (PFNGLISVARIANTENABLEDEXTPROC)glewGetProcAddress((const GLubyte*)"glIsVariantEnabledEXT")) == NULL) || r; - r = ((glSetInvariantEXT = (PFNGLSETINVARIANTEXTPROC)glewGetProcAddress((const GLubyte*)"glSetInvariantEXT")) == NULL) || r; - r = ((glSetLocalConstantEXT = (PFNGLSETLOCALCONSTANTEXTPROC)glewGetProcAddress((const GLubyte*)"glSetLocalConstantEXT")) == NULL) || r; - r = ((glShaderOp1EXT = (PFNGLSHADEROP1EXTPROC)glewGetProcAddress((const GLubyte*)"glShaderOp1EXT")) == NULL) || r; - r = ((glShaderOp2EXT = (PFNGLSHADEROP2EXTPROC)glewGetProcAddress((const GLubyte*)"glShaderOp2EXT")) == NULL) || r; - r = ((glShaderOp3EXT = (PFNGLSHADEROP3EXTPROC)glewGetProcAddress((const GLubyte*)"glShaderOp3EXT")) == NULL) || r; - r = ((glSwizzleEXT = (PFNGLSWIZZLEEXTPROC)glewGetProcAddress((const GLubyte*)"glSwizzleEXT")) == NULL) || r; - r = ((glVariantPointerEXT = (PFNGLVARIANTPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVariantPointerEXT")) == NULL) || r; - r = ((glVariantbvEXT = (PFNGLVARIANTBVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantbvEXT")) == NULL) || r; - r = ((glVariantdvEXT = (PFNGLVARIANTDVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantdvEXT")) == NULL) || r; - r = ((glVariantfvEXT = (PFNGLVARIANTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantfvEXT")) == NULL) || r; - r = ((glVariantivEXT = (PFNGLVARIANTIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantivEXT")) == NULL) || r; - r = ((glVariantsvEXT = (PFNGLVARIANTSVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantsvEXT")) == NULL) || r; - r = ((glVariantubvEXT = (PFNGLVARIANTUBVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantubvEXT")) == NULL) || r; - r = ((glVariantuivEXT = (PFNGLVARIANTUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantuivEXT")) == NULL) || r; - r = ((glVariantusvEXT = (PFNGLVARIANTUSVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantusvEXT")) == NULL) || r; - r = ((glWriteMaskEXT = (PFNGLWRITEMASKEXTPROC)glewGetProcAddress((const GLubyte*)"glWriteMaskEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_vertex_shader */ - -#ifdef GL_EXT_vertex_weighting - -static GLboolean _glewInit_GL_EXT_vertex_weighting (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glVertexWeightPointerEXT = (PFNGLVERTEXWEIGHTPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexWeightPointerEXT")) == NULL) || r; - r = ((glVertexWeightfEXT = (PFNGLVERTEXWEIGHTFEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexWeightfEXT")) == NULL) || r; - r = ((glVertexWeightfvEXT = (PFNGLVERTEXWEIGHTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexWeightfvEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_vertex_weighting */ - -#ifdef GL_EXT_x11_sync_object - -static GLboolean _glewInit_GL_EXT_x11_sync_object (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glImportSyncEXT = (PFNGLIMPORTSYNCEXTPROC)glewGetProcAddress((const GLubyte*)"glImportSyncEXT")) == NULL) || r; - - return r; -} - -#endif /* GL_EXT_x11_sync_object */ - -#ifdef GL_GREMEDY_frame_terminator - -static GLboolean _glewInit_GL_GREMEDY_frame_terminator (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glFrameTerminatorGREMEDY = (PFNGLFRAMETERMINATORGREMEDYPROC)glewGetProcAddress((const GLubyte*)"glFrameTerminatorGREMEDY")) == NULL) || r; - - return r; -} - -#endif /* GL_GREMEDY_frame_terminator */ - -#ifdef GL_GREMEDY_string_marker - -static GLboolean _glewInit_GL_GREMEDY_string_marker (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glStringMarkerGREMEDY = (PFNGLSTRINGMARKERGREMEDYPROC)glewGetProcAddress((const GLubyte*)"glStringMarkerGREMEDY")) == NULL) || r; - - return r; -} - -#endif /* GL_GREMEDY_string_marker */ - -#ifdef GL_HP_convolution_border_modes - -#endif /* GL_HP_convolution_border_modes */ - -#ifdef GL_HP_image_transform - -static GLboolean _glewInit_GL_HP_image_transform (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetImageTransformParameterfvHP = (PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC)glewGetProcAddress((const GLubyte*)"glGetImageTransformParameterfvHP")) == NULL) || r; - r = ((glGetImageTransformParameterivHP = (PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC)glewGetProcAddress((const GLubyte*)"glGetImageTransformParameterivHP")) == NULL) || r; - r = ((glImageTransformParameterfHP = (PFNGLIMAGETRANSFORMPARAMETERFHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameterfHP")) == NULL) || r; - r = ((glImageTransformParameterfvHP = (PFNGLIMAGETRANSFORMPARAMETERFVHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameterfvHP")) == NULL) || r; - r = ((glImageTransformParameteriHP = (PFNGLIMAGETRANSFORMPARAMETERIHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameteriHP")) == NULL) || r; - r = ((glImageTransformParameterivHP = (PFNGLIMAGETRANSFORMPARAMETERIVHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameterivHP")) == NULL) || r; - - return r; -} - -#endif /* GL_HP_image_transform */ - -#ifdef GL_HP_occlusion_test - -#endif /* GL_HP_occlusion_test */ - -#ifdef GL_HP_texture_lighting - -#endif /* GL_HP_texture_lighting */ - -#ifdef GL_IBM_cull_vertex - -#endif /* GL_IBM_cull_vertex */ - -#ifdef GL_IBM_multimode_draw_arrays - -static GLboolean _glewInit_GL_IBM_multimode_draw_arrays (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glMultiModeDrawArraysIBM = (PFNGLMULTIMODEDRAWARRAYSIBMPROC)glewGetProcAddress((const GLubyte*)"glMultiModeDrawArraysIBM")) == NULL) || r; - r = ((glMultiModeDrawElementsIBM = (PFNGLMULTIMODEDRAWELEMENTSIBMPROC)glewGetProcAddress((const GLubyte*)"glMultiModeDrawElementsIBM")) == NULL) || r; - - return r; -} - -#endif /* GL_IBM_multimode_draw_arrays */ - -#ifdef GL_IBM_rasterpos_clip - -#endif /* GL_IBM_rasterpos_clip */ - -#ifdef GL_IBM_static_data - -#endif /* GL_IBM_static_data */ - -#ifdef GL_IBM_texture_mirrored_repeat - -#endif /* GL_IBM_texture_mirrored_repeat */ - -#ifdef GL_IBM_vertex_array_lists - -static GLboolean _glewInit_GL_IBM_vertex_array_lists (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glColorPointerListIBM = (PFNGLCOLORPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glColorPointerListIBM")) == NULL) || r; - r = ((glEdgeFlagPointerListIBM = (PFNGLEDGEFLAGPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glEdgeFlagPointerListIBM")) == NULL) || r; - r = ((glFogCoordPointerListIBM = (PFNGLFOGCOORDPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glFogCoordPointerListIBM")) == NULL) || r; - r = ((glIndexPointerListIBM = (PFNGLINDEXPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glIndexPointerListIBM")) == NULL) || r; - r = ((glNormalPointerListIBM = (PFNGLNORMALPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glNormalPointerListIBM")) == NULL) || r; - r = ((glSecondaryColorPointerListIBM = (PFNGLSECONDARYCOLORPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorPointerListIBM")) == NULL) || r; - r = ((glTexCoordPointerListIBM = (PFNGLTEXCOORDPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glTexCoordPointerListIBM")) == NULL) || r; - r = ((glVertexPointerListIBM = (PFNGLVERTEXPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glVertexPointerListIBM")) == NULL) || r; - - return r; -} - -#endif /* GL_IBM_vertex_array_lists */ - -#ifdef GL_INGR_color_clamp - -#endif /* GL_INGR_color_clamp */ - -#ifdef GL_INGR_interlace_read - -#endif /* GL_INGR_interlace_read */ - -#ifdef GL_INTEL_parallel_arrays - -static GLboolean _glewInit_GL_INTEL_parallel_arrays (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glColorPointervINTEL = (PFNGLCOLORPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glColorPointervINTEL")) == NULL) || r; - r = ((glNormalPointervINTEL = (PFNGLNORMALPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glNormalPointervINTEL")) == NULL) || r; - r = ((glTexCoordPointervINTEL = (PFNGLTEXCOORDPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glTexCoordPointervINTEL")) == NULL) || r; - r = ((glVertexPointervINTEL = (PFNGLVERTEXPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glVertexPointervINTEL")) == NULL) || r; - - return r; -} - -#endif /* GL_INTEL_parallel_arrays */ - -#ifdef GL_INTEL_texture_scissor - -static GLboolean _glewInit_GL_INTEL_texture_scissor (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glTexScissorFuncINTEL = (PFNGLTEXSCISSORFUNCINTELPROC)glewGetProcAddress((const GLubyte*)"glTexScissorFuncINTEL")) == NULL) || r; - r = ((glTexScissorINTEL = (PFNGLTEXSCISSORINTELPROC)glewGetProcAddress((const GLubyte*)"glTexScissorINTEL")) == NULL) || r; - - return r; -} - -#endif /* GL_INTEL_texture_scissor */ - -#ifdef GL_KHR_debug - -static GLboolean _glewInit_GL_KHR_debug (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glDebugMessageCallback = (PFNGLDEBUGMESSAGECALLBACKPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageCallback")) == NULL) || r; - r = ((glDebugMessageControl = (PFNGLDEBUGMESSAGECONTROLPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageControl")) == NULL) || r; - r = ((glDebugMessageInsert = (PFNGLDEBUGMESSAGEINSERTPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageInsert")) == NULL) || r; - r = ((glGetDebugMessageLog = (PFNGLGETDEBUGMESSAGELOGPROC)glewGetProcAddress((const GLubyte*)"glGetDebugMessageLog")) == NULL) || r; - r = ((glGetObjectLabel = (PFNGLGETOBJECTLABELPROC)glewGetProcAddress((const GLubyte*)"glGetObjectLabel")) == NULL) || r; - r = ((glGetObjectPtrLabel = (PFNGLGETOBJECTPTRLABELPROC)glewGetProcAddress((const GLubyte*)"glGetObjectPtrLabel")) == NULL) || r; - r = ((glGetPointerv = (PFNGLGETPOINTERVPROC)glewGetProcAddress((const GLubyte*)"glGetPointerv")) == NULL) || r; - r = ((glObjectLabel = (PFNGLOBJECTLABELPROC)glewGetProcAddress((const GLubyte*)"glObjectLabel")) == NULL) || r; - r = ((glObjectPtrLabel = (PFNGLOBJECTPTRLABELPROC)glewGetProcAddress((const GLubyte*)"glObjectPtrLabel")) == NULL) || r; - r = ((glPushDebugGroup = (PFNGLPUSHDEBUGGROUPPROC)glewGetProcAddress((const GLubyte*)"glPushDebugGroup")) == NULL) || r; - - return r; -} - -#endif /* GL_KHR_debug */ - -#ifdef GL_KHR_texture_compression_astc_ldr - -#endif /* GL_KHR_texture_compression_astc_ldr */ - -#ifdef GL_KTX_buffer_region - -static GLboolean _glewInit_GL_KTX_buffer_region (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBufferRegionEnabled = (PFNGLBUFFERREGIONENABLEDPROC)glewGetProcAddress((const GLubyte*)"glBufferRegionEnabled")) == NULL) || r; - r = ((glDeleteBufferRegion = (PFNGLDELETEBUFFERREGIONPROC)glewGetProcAddress((const GLubyte*)"glDeleteBufferRegion")) == NULL) || r; - r = ((glDrawBufferRegion = (PFNGLDRAWBUFFERREGIONPROC)glewGetProcAddress((const GLubyte*)"glDrawBufferRegion")) == NULL) || r; - r = ((glNewBufferRegion = (PFNGLNEWBUFFERREGIONPROC)glewGetProcAddress((const GLubyte*)"glNewBufferRegion")) == NULL) || r; - r = ((glReadBufferRegion = (PFNGLREADBUFFERREGIONPROC)glewGetProcAddress((const GLubyte*)"glReadBufferRegion")) == NULL) || r; - - return r; -} - -#endif /* GL_KTX_buffer_region */ - -#ifdef GL_MESAX_texture_stack - -#endif /* GL_MESAX_texture_stack */ - -#ifdef GL_MESA_pack_invert - -#endif /* GL_MESA_pack_invert */ - -#ifdef GL_MESA_resize_buffers - -static GLboolean _glewInit_GL_MESA_resize_buffers (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glResizeBuffersMESA = (PFNGLRESIZEBUFFERSMESAPROC)glewGetProcAddress((const GLubyte*)"glResizeBuffersMESA")) == NULL) || r; - - return r; -} - -#endif /* GL_MESA_resize_buffers */ - -#ifdef GL_MESA_window_pos - -static GLboolean _glewInit_GL_MESA_window_pos (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glWindowPos2dMESA = (PFNGLWINDOWPOS2DMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dMESA")) == NULL) || r; - r = ((glWindowPos2dvMESA = (PFNGLWINDOWPOS2DVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dvMESA")) == NULL) || r; - r = ((glWindowPos2fMESA = (PFNGLWINDOWPOS2FMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fMESA")) == NULL) || r; - r = ((glWindowPos2fvMESA = (PFNGLWINDOWPOS2FVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fvMESA")) == NULL) || r; - r = ((glWindowPos2iMESA = (PFNGLWINDOWPOS2IMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2iMESA")) == NULL) || r; - r = ((glWindowPos2ivMESA = (PFNGLWINDOWPOS2IVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2ivMESA")) == NULL) || r; - r = ((glWindowPos2sMESA = (PFNGLWINDOWPOS2SMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2sMESA")) == NULL) || r; - r = ((glWindowPos2svMESA = (PFNGLWINDOWPOS2SVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2svMESA")) == NULL) || r; - r = ((glWindowPos3dMESA = (PFNGLWINDOWPOS3DMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dMESA")) == NULL) || r; - r = ((glWindowPos3dvMESA = (PFNGLWINDOWPOS3DVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dvMESA")) == NULL) || r; - r = ((glWindowPos3fMESA = (PFNGLWINDOWPOS3FMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fMESA")) == NULL) || r; - r = ((glWindowPos3fvMESA = (PFNGLWINDOWPOS3FVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fvMESA")) == NULL) || r; - r = ((glWindowPos3iMESA = (PFNGLWINDOWPOS3IMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3iMESA")) == NULL) || r; - r = ((glWindowPos3ivMESA = (PFNGLWINDOWPOS3IVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3ivMESA")) == NULL) || r; - r = ((glWindowPos3sMESA = (PFNGLWINDOWPOS3SMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3sMESA")) == NULL) || r; - r = ((glWindowPos3svMESA = (PFNGLWINDOWPOS3SVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3svMESA")) == NULL) || r; - r = ((glWindowPos4dMESA = (PFNGLWINDOWPOS4DMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4dMESA")) == NULL) || r; - r = ((glWindowPos4dvMESA = (PFNGLWINDOWPOS4DVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4dvMESA")) == NULL) || r; - r = ((glWindowPos4fMESA = (PFNGLWINDOWPOS4FMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4fMESA")) == NULL) || r; - r = ((glWindowPos4fvMESA = (PFNGLWINDOWPOS4FVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4fvMESA")) == NULL) || r; - r = ((glWindowPos4iMESA = (PFNGLWINDOWPOS4IMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4iMESA")) == NULL) || r; - r = ((glWindowPos4ivMESA = (PFNGLWINDOWPOS4IVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4ivMESA")) == NULL) || r; - r = ((glWindowPos4sMESA = (PFNGLWINDOWPOS4SMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4sMESA")) == NULL) || r; - r = ((glWindowPos4svMESA = (PFNGLWINDOWPOS4SVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4svMESA")) == NULL) || r; - - return r; -} - -#endif /* GL_MESA_window_pos */ - -#ifdef GL_MESA_ycbcr_texture - -#endif /* GL_MESA_ycbcr_texture */ - -#ifdef GL_NVX_gpu_memory_info - -#endif /* GL_NVX_gpu_memory_info */ - -#ifdef GL_NV_bindless_texture - -static GLboolean _glewInit_GL_NV_bindless_texture (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetImageHandleNV = (PFNGLGETIMAGEHANDLENVPROC)glewGetProcAddress((const GLubyte*)"glGetImageHandleNV")) == NULL) || r; - r = ((glGetTextureHandleNV = (PFNGLGETTEXTUREHANDLENVPROC)glewGetProcAddress((const GLubyte*)"glGetTextureHandleNV")) == NULL) || r; - r = ((glGetTextureSamplerHandleNV = (PFNGLGETTEXTURESAMPLERHANDLENVPROC)glewGetProcAddress((const GLubyte*)"glGetTextureSamplerHandleNV")) == NULL) || r; - r = ((glIsImageHandleResidentNV = (PFNGLISIMAGEHANDLERESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glIsImageHandleResidentNV")) == NULL) || r; - r = ((glIsTextureHandleResidentNV = (PFNGLISTEXTUREHANDLERESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glIsTextureHandleResidentNV")) == NULL) || r; - r = ((glMakeImageHandleNonResidentNV = (PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeImageHandleNonResidentNV")) == NULL) || r; - r = ((glMakeImageHandleResidentNV = (PFNGLMAKEIMAGEHANDLERESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeImageHandleResidentNV")) == NULL) || r; - r = ((glMakeTextureHandleNonResidentNV = (PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeTextureHandleNonResidentNV")) == NULL) || r; - r = ((glMakeTextureHandleResidentNV = (PFNGLMAKETEXTUREHANDLERESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeTextureHandleResidentNV")) == NULL) || r; - r = ((glProgramUniformHandleui64NV = (PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformHandleui64NV")) == NULL) || r; - r = ((glProgramUniformHandleui64vNV = (PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformHandleui64vNV")) == NULL) || r; - r = ((glUniformHandleui64NV = (PFNGLUNIFORMHANDLEUI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniformHandleui64NV")) == NULL) || r; - r = ((glUniformHandleui64vNV = (PFNGLUNIFORMHANDLEUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniformHandleui64vNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_bindless_texture */ - -#ifdef GL_NV_blend_square - -#endif /* GL_NV_blend_square */ - -#ifdef GL_NV_conditional_render - -static GLboolean _glewInit_GL_NV_conditional_render (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBeginConditionalRenderNV = (PFNGLBEGINCONDITIONALRENDERNVPROC)glewGetProcAddress((const GLubyte*)"glBeginConditionalRenderNV")) == NULL) || r; - r = ((glEndConditionalRenderNV = (PFNGLENDCONDITIONALRENDERNVPROC)glewGetProcAddress((const GLubyte*)"glEndConditionalRenderNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_conditional_render */ - -#ifdef GL_NV_copy_depth_to_color - -#endif /* GL_NV_copy_depth_to_color */ - -#ifdef GL_NV_copy_image - -static GLboolean _glewInit_GL_NV_copy_image (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glCopyImageSubDataNV = (PFNGLCOPYIMAGESUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glCopyImageSubDataNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_copy_image */ - -#ifdef GL_NV_depth_buffer_float - -static GLboolean _glewInit_GL_NV_depth_buffer_float (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glClearDepthdNV = (PFNGLCLEARDEPTHDNVPROC)glewGetProcAddress((const GLubyte*)"glClearDepthdNV")) == NULL) || r; - r = ((glDepthBoundsdNV = (PFNGLDEPTHBOUNDSDNVPROC)glewGetProcAddress((const GLubyte*)"glDepthBoundsdNV")) == NULL) || r; - r = ((glDepthRangedNV = (PFNGLDEPTHRANGEDNVPROC)glewGetProcAddress((const GLubyte*)"glDepthRangedNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_depth_buffer_float */ - -#ifdef GL_NV_depth_clamp - -#endif /* GL_NV_depth_clamp */ - -#ifdef GL_NV_depth_range_unclamped - -#endif /* GL_NV_depth_range_unclamped */ - -#ifdef GL_NV_evaluators - -static GLboolean _glewInit_GL_NV_evaluators (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glEvalMapsNV = (PFNGLEVALMAPSNVPROC)glewGetProcAddress((const GLubyte*)"glEvalMapsNV")) == NULL) || r; - r = ((glGetMapAttribParameterfvNV = (PFNGLGETMAPATTRIBPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapAttribParameterfvNV")) == NULL) || r; - r = ((glGetMapAttribParameterivNV = (PFNGLGETMAPATTRIBPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapAttribParameterivNV")) == NULL) || r; - r = ((glGetMapControlPointsNV = (PFNGLGETMAPCONTROLPOINTSNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapControlPointsNV")) == NULL) || r; - r = ((glGetMapParameterfvNV = (PFNGLGETMAPPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapParameterfvNV")) == NULL) || r; - r = ((glGetMapParameterivNV = (PFNGLGETMAPPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapParameterivNV")) == NULL) || r; - r = ((glMapControlPointsNV = (PFNGLMAPCONTROLPOINTSNVPROC)glewGetProcAddress((const GLubyte*)"glMapControlPointsNV")) == NULL) || r; - r = ((glMapParameterfvNV = (PFNGLMAPPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glMapParameterfvNV")) == NULL) || r; - r = ((glMapParameterivNV = (PFNGLMAPPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glMapParameterivNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_evaluators */ - -#ifdef GL_NV_explicit_multisample - -static GLboolean _glewInit_GL_NV_explicit_multisample (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetMultisamplefvNV = (PFNGLGETMULTISAMPLEFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMultisamplefvNV")) == NULL) || r; - r = ((glSampleMaskIndexedNV = (PFNGLSAMPLEMASKINDEXEDNVPROC)glewGetProcAddress((const GLubyte*)"glSampleMaskIndexedNV")) == NULL) || r; - r = ((glTexRenderbufferNV = (PFNGLTEXRENDERBUFFERNVPROC)glewGetProcAddress((const GLubyte*)"glTexRenderbufferNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_explicit_multisample */ - -#ifdef GL_NV_fence - -static GLboolean _glewInit_GL_NV_fence (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glDeleteFencesNV = (PFNGLDELETEFENCESNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteFencesNV")) == NULL) || r; - r = ((glFinishFenceNV = (PFNGLFINISHFENCENVPROC)glewGetProcAddress((const GLubyte*)"glFinishFenceNV")) == NULL) || r; - r = ((glGenFencesNV = (PFNGLGENFENCESNVPROC)glewGetProcAddress((const GLubyte*)"glGenFencesNV")) == NULL) || r; - r = ((glGetFenceivNV = (PFNGLGETFENCEIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetFenceivNV")) == NULL) || r; - r = ((glIsFenceNV = (PFNGLISFENCENVPROC)glewGetProcAddress((const GLubyte*)"glIsFenceNV")) == NULL) || r; - r = ((glSetFenceNV = (PFNGLSETFENCENVPROC)glewGetProcAddress((const GLubyte*)"glSetFenceNV")) == NULL) || r; - r = ((glTestFenceNV = (PFNGLTESTFENCENVPROC)glewGetProcAddress((const GLubyte*)"glTestFenceNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_fence */ - -#ifdef GL_NV_float_buffer - -#endif /* GL_NV_float_buffer */ - -#ifdef GL_NV_fog_distance - -#endif /* GL_NV_fog_distance */ - -#ifdef GL_NV_fragment_program - -static GLboolean _glewInit_GL_NV_fragment_program (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetProgramNamedParameterdvNV = (PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramNamedParameterdvNV")) == NULL) || r; - r = ((glGetProgramNamedParameterfvNV = (PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramNamedParameterfvNV")) == NULL) || r; - r = ((glProgramNamedParameter4dNV = (PFNGLPROGRAMNAMEDPARAMETER4DNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4dNV")) == NULL) || r; - r = ((glProgramNamedParameter4dvNV = (PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4dvNV")) == NULL) || r; - r = ((glProgramNamedParameter4fNV = (PFNGLPROGRAMNAMEDPARAMETER4FNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4fNV")) == NULL) || r; - r = ((glProgramNamedParameter4fvNV = (PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4fvNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_fragment_program */ - -#ifdef GL_NV_fragment_program2 - -#endif /* GL_NV_fragment_program2 */ - -#ifdef GL_NV_fragment_program4 - -#endif /* GL_NV_fragment_program4 */ - -#ifdef GL_NV_fragment_program_option - -#endif /* GL_NV_fragment_program_option */ - -#ifdef GL_NV_framebuffer_multisample_coverage - -static GLboolean _glewInit_GL_NV_framebuffer_multisample_coverage (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glRenderbufferStorageMultisampleCoverageNV = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisampleCoverageNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_framebuffer_multisample_coverage */ - -#ifdef GL_NV_geometry_program4 - -static GLboolean _glewInit_GL_NV_geometry_program4 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glProgramVertexLimitNV = (PFNGLPROGRAMVERTEXLIMITNVPROC)glewGetProcAddress((const GLubyte*)"glProgramVertexLimitNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_geometry_program4 */ - -#ifdef GL_NV_geometry_shader4 - -#endif /* GL_NV_geometry_shader4 */ - -#ifdef GL_NV_gpu_program4 - -static GLboolean _glewInit_GL_NV_gpu_program4 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glProgramEnvParameterI4iNV = (PFNGLPROGRAMENVPARAMETERI4INVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameterI4iNV")) == NULL) || r; - r = ((glProgramEnvParameterI4ivNV = (PFNGLPROGRAMENVPARAMETERI4IVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameterI4ivNV")) == NULL) || r; - r = ((glProgramEnvParameterI4uiNV = (PFNGLPROGRAMENVPARAMETERI4UINVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameterI4uiNV")) == NULL) || r; - r = ((glProgramEnvParameterI4uivNV = (PFNGLPROGRAMENVPARAMETERI4UIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameterI4uivNV")) == NULL) || r; - r = ((glProgramEnvParametersI4ivNV = (PFNGLPROGRAMENVPARAMETERSI4IVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParametersI4ivNV")) == NULL) || r; - r = ((glProgramEnvParametersI4uivNV = (PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParametersI4uivNV")) == NULL) || r; - r = ((glProgramLocalParameterI4iNV = (PFNGLPROGRAMLOCALPARAMETERI4INVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameterI4iNV")) == NULL) || r; - r = ((glProgramLocalParameterI4ivNV = (PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameterI4ivNV")) == NULL) || r; - r = ((glProgramLocalParameterI4uiNV = (PFNGLPROGRAMLOCALPARAMETERI4UINVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameterI4uiNV")) == NULL) || r; - r = ((glProgramLocalParameterI4uivNV = (PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameterI4uivNV")) == NULL) || r; - r = ((glProgramLocalParametersI4ivNV = (PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParametersI4ivNV")) == NULL) || r; - r = ((glProgramLocalParametersI4uivNV = (PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParametersI4uivNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_gpu_program4 */ - -#ifdef GL_NV_gpu_program5 - -#endif /* GL_NV_gpu_program5 */ - -#ifdef GL_NV_gpu_program_fp64 - -#endif /* GL_NV_gpu_program_fp64 */ - -#ifdef GL_NV_gpu_shader5 - -static GLboolean _glewInit_GL_NV_gpu_shader5 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetUniformi64vNV = (PFNGLGETUNIFORMI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformi64vNV")) == NULL) || r; - r = ((glGetUniformui64vNV = (PFNGLGETUNIFORMUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformui64vNV")) == NULL) || r; - r = ((glProgramUniform1i64NV = (PFNGLPROGRAMUNIFORM1I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1i64NV")) == NULL) || r; - r = ((glProgramUniform1i64vNV = (PFNGLPROGRAMUNIFORM1I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1i64vNV")) == NULL) || r; - r = ((glProgramUniform1ui64NV = (PFNGLPROGRAMUNIFORM1UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ui64NV")) == NULL) || r; - r = ((glProgramUniform1ui64vNV = (PFNGLPROGRAMUNIFORM1UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ui64vNV")) == NULL) || r; - r = ((glProgramUniform2i64NV = (PFNGLPROGRAMUNIFORM2I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2i64NV")) == NULL) || r; - r = ((glProgramUniform2i64vNV = (PFNGLPROGRAMUNIFORM2I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2i64vNV")) == NULL) || r; - r = ((glProgramUniform2ui64NV = (PFNGLPROGRAMUNIFORM2UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ui64NV")) == NULL) || r; - r = ((glProgramUniform2ui64vNV = (PFNGLPROGRAMUNIFORM2UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ui64vNV")) == NULL) || r; - r = ((glProgramUniform3i64NV = (PFNGLPROGRAMUNIFORM3I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3i64NV")) == NULL) || r; - r = ((glProgramUniform3i64vNV = (PFNGLPROGRAMUNIFORM3I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3i64vNV")) == NULL) || r; - r = ((glProgramUniform3ui64NV = (PFNGLPROGRAMUNIFORM3UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ui64NV")) == NULL) || r; - r = ((glProgramUniform3ui64vNV = (PFNGLPROGRAMUNIFORM3UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ui64vNV")) == NULL) || r; - r = ((glProgramUniform4i64NV = (PFNGLPROGRAMUNIFORM4I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4i64NV")) == NULL) || r; - r = ((glProgramUniform4i64vNV = (PFNGLPROGRAMUNIFORM4I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4i64vNV")) == NULL) || r; - r = ((glProgramUniform4ui64NV = (PFNGLPROGRAMUNIFORM4UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ui64NV")) == NULL) || r; - r = ((glProgramUniform4ui64vNV = (PFNGLPROGRAMUNIFORM4UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ui64vNV")) == NULL) || r; - r = ((glUniform1i64NV = (PFNGLUNIFORM1I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform1i64NV")) == NULL) || r; - r = ((glUniform1i64vNV = (PFNGLUNIFORM1I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform1i64vNV")) == NULL) || r; - r = ((glUniform1ui64NV = (PFNGLUNIFORM1UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform1ui64NV")) == NULL) || r; - r = ((glUniform1ui64vNV = (PFNGLUNIFORM1UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform1ui64vNV")) == NULL) || r; - r = ((glUniform2i64NV = (PFNGLUNIFORM2I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform2i64NV")) == NULL) || r; - r = ((glUniform2i64vNV = (PFNGLUNIFORM2I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform2i64vNV")) == NULL) || r; - r = ((glUniform2ui64NV = (PFNGLUNIFORM2UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform2ui64NV")) == NULL) || r; - r = ((glUniform2ui64vNV = (PFNGLUNIFORM2UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform2ui64vNV")) == NULL) || r; - r = ((glUniform3i64NV = (PFNGLUNIFORM3I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform3i64NV")) == NULL) || r; - r = ((glUniform3i64vNV = (PFNGLUNIFORM3I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform3i64vNV")) == NULL) || r; - r = ((glUniform3ui64NV = (PFNGLUNIFORM3UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform3ui64NV")) == NULL) || r; - r = ((glUniform3ui64vNV = (PFNGLUNIFORM3UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform3ui64vNV")) == NULL) || r; - r = ((glUniform4i64NV = (PFNGLUNIFORM4I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform4i64NV")) == NULL) || r; - r = ((glUniform4i64vNV = (PFNGLUNIFORM4I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform4i64vNV")) == NULL) || r; - r = ((glUniform4ui64NV = (PFNGLUNIFORM4UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform4ui64NV")) == NULL) || r; - r = ((glUniform4ui64vNV = (PFNGLUNIFORM4UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform4ui64vNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_gpu_shader5 */ - -#ifdef GL_NV_half_float - -static GLboolean _glewInit_GL_NV_half_float (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glColor3hNV = (PFNGLCOLOR3HNVPROC)glewGetProcAddress((const GLubyte*)"glColor3hNV")) == NULL) || r; - r = ((glColor3hvNV = (PFNGLCOLOR3HVNVPROC)glewGetProcAddress((const GLubyte*)"glColor3hvNV")) == NULL) || r; - r = ((glColor4hNV = (PFNGLCOLOR4HNVPROC)glewGetProcAddress((const GLubyte*)"glColor4hNV")) == NULL) || r; - r = ((glColor4hvNV = (PFNGLCOLOR4HVNVPROC)glewGetProcAddress((const GLubyte*)"glColor4hvNV")) == NULL) || r; - r = ((glFogCoordhNV = (PFNGLFOGCOORDHNVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordhNV")) == NULL) || r; - r = ((glFogCoordhvNV = (PFNGLFOGCOORDHVNVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordhvNV")) == NULL) || r; - r = ((glMultiTexCoord1hNV = (PFNGLMULTITEXCOORD1HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1hNV")) == NULL) || r; - r = ((glMultiTexCoord1hvNV = (PFNGLMULTITEXCOORD1HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1hvNV")) == NULL) || r; - r = ((glMultiTexCoord2hNV = (PFNGLMULTITEXCOORD2HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2hNV")) == NULL) || r; - r = ((glMultiTexCoord2hvNV = (PFNGLMULTITEXCOORD2HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2hvNV")) == NULL) || r; - r = ((glMultiTexCoord3hNV = (PFNGLMULTITEXCOORD3HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3hNV")) == NULL) || r; - r = ((glMultiTexCoord3hvNV = (PFNGLMULTITEXCOORD3HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3hvNV")) == NULL) || r; - r = ((glMultiTexCoord4hNV = (PFNGLMULTITEXCOORD4HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4hNV")) == NULL) || r; - r = ((glMultiTexCoord4hvNV = (PFNGLMULTITEXCOORD4HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4hvNV")) == NULL) || r; - r = ((glNormal3hNV = (PFNGLNORMAL3HNVPROC)glewGetProcAddress((const GLubyte*)"glNormal3hNV")) == NULL) || r; - r = ((glNormal3hvNV = (PFNGLNORMAL3HVNVPROC)glewGetProcAddress((const GLubyte*)"glNormal3hvNV")) == NULL) || r; - r = ((glSecondaryColor3hNV = (PFNGLSECONDARYCOLOR3HNVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3hNV")) == NULL) || r; - r = ((glSecondaryColor3hvNV = (PFNGLSECONDARYCOLOR3HVNVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3hvNV")) == NULL) || r; - r = ((glTexCoord1hNV = (PFNGLTEXCOORD1HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord1hNV")) == NULL) || r; - r = ((glTexCoord1hvNV = (PFNGLTEXCOORD1HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord1hvNV")) == NULL) || r; - r = ((glTexCoord2hNV = (PFNGLTEXCOORD2HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2hNV")) == NULL) || r; - r = ((glTexCoord2hvNV = (PFNGLTEXCOORD2HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2hvNV")) == NULL) || r; - r = ((glTexCoord3hNV = (PFNGLTEXCOORD3HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord3hNV")) == NULL) || r; - r = ((glTexCoord3hvNV = (PFNGLTEXCOORD3HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord3hvNV")) == NULL) || r; - r = ((glTexCoord4hNV = (PFNGLTEXCOORD4HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4hNV")) == NULL) || r; - r = ((glTexCoord4hvNV = (PFNGLTEXCOORD4HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4hvNV")) == NULL) || r; - r = ((glVertex2hNV = (PFNGLVERTEX2HNVPROC)glewGetProcAddress((const GLubyte*)"glVertex2hNV")) == NULL) || r; - r = ((glVertex2hvNV = (PFNGLVERTEX2HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertex2hvNV")) == NULL) || r; - r = ((glVertex3hNV = (PFNGLVERTEX3HNVPROC)glewGetProcAddress((const GLubyte*)"glVertex3hNV")) == NULL) || r; - r = ((glVertex3hvNV = (PFNGLVERTEX3HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertex3hvNV")) == NULL) || r; - r = ((glVertex4hNV = (PFNGLVERTEX4HNVPROC)glewGetProcAddress((const GLubyte*)"glVertex4hNV")) == NULL) || r; - r = ((glVertex4hvNV = (PFNGLVERTEX4HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertex4hvNV")) == NULL) || r; - r = ((glVertexAttrib1hNV = (PFNGLVERTEXATTRIB1HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1hNV")) == NULL) || r; - r = ((glVertexAttrib1hvNV = (PFNGLVERTEXATTRIB1HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1hvNV")) == NULL) || r; - r = ((glVertexAttrib2hNV = (PFNGLVERTEXATTRIB2HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2hNV")) == NULL) || r; - r = ((glVertexAttrib2hvNV = (PFNGLVERTEXATTRIB2HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2hvNV")) == NULL) || r; - r = ((glVertexAttrib3hNV = (PFNGLVERTEXATTRIB3HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3hNV")) == NULL) || r; - r = ((glVertexAttrib3hvNV = (PFNGLVERTEXATTRIB3HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3hvNV")) == NULL) || r; - r = ((glVertexAttrib4hNV = (PFNGLVERTEXATTRIB4HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4hNV")) == NULL) || r; - r = ((glVertexAttrib4hvNV = (PFNGLVERTEXATTRIB4HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4hvNV")) == NULL) || r; - r = ((glVertexAttribs1hvNV = (PFNGLVERTEXATTRIBS1HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1hvNV")) == NULL) || r; - r = ((glVertexAttribs2hvNV = (PFNGLVERTEXATTRIBS2HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2hvNV")) == NULL) || r; - r = ((glVertexAttribs3hvNV = (PFNGLVERTEXATTRIBS3HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3hvNV")) == NULL) || r; - r = ((glVertexAttribs4hvNV = (PFNGLVERTEXATTRIBS4HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4hvNV")) == NULL) || r; - r = ((glVertexWeighthNV = (PFNGLVERTEXWEIGHTHNVPROC)glewGetProcAddress((const GLubyte*)"glVertexWeighthNV")) == NULL) || r; - r = ((glVertexWeighthvNV = (PFNGLVERTEXWEIGHTHVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexWeighthvNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_half_float */ - -#ifdef GL_NV_light_max_exponent - -#endif /* GL_NV_light_max_exponent */ - -#ifdef GL_NV_multisample_coverage - -#endif /* GL_NV_multisample_coverage */ - -#ifdef GL_NV_multisample_filter_hint - -#endif /* GL_NV_multisample_filter_hint */ - -#ifdef GL_NV_occlusion_query - -static GLboolean _glewInit_GL_NV_occlusion_query (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBeginOcclusionQueryNV = (PFNGLBEGINOCCLUSIONQUERYNVPROC)glewGetProcAddress((const GLubyte*)"glBeginOcclusionQueryNV")) == NULL) || r; - r = ((glDeleteOcclusionQueriesNV = (PFNGLDELETEOCCLUSIONQUERIESNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteOcclusionQueriesNV")) == NULL) || r; - r = ((glEndOcclusionQueryNV = (PFNGLENDOCCLUSIONQUERYNVPROC)glewGetProcAddress((const GLubyte*)"glEndOcclusionQueryNV")) == NULL) || r; - r = ((glGenOcclusionQueriesNV = (PFNGLGENOCCLUSIONQUERIESNVPROC)glewGetProcAddress((const GLubyte*)"glGenOcclusionQueriesNV")) == NULL) || r; - r = ((glGetOcclusionQueryivNV = (PFNGLGETOCCLUSIONQUERYIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetOcclusionQueryivNV")) == NULL) || r; - r = ((glGetOcclusionQueryuivNV = (PFNGLGETOCCLUSIONQUERYUIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetOcclusionQueryuivNV")) == NULL) || r; - r = ((glIsOcclusionQueryNV = (PFNGLISOCCLUSIONQUERYNVPROC)glewGetProcAddress((const GLubyte*)"glIsOcclusionQueryNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_occlusion_query */ - -#ifdef GL_NV_packed_depth_stencil - -#endif /* GL_NV_packed_depth_stencil */ - -#ifdef GL_NV_parameter_buffer_object - -static GLboolean _glewInit_GL_NV_parameter_buffer_object (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glProgramBufferParametersIivNV = (PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramBufferParametersIivNV")) == NULL) || r; - r = ((glProgramBufferParametersIuivNV = (PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramBufferParametersIuivNV")) == NULL) || r; - r = ((glProgramBufferParametersfvNV = (PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramBufferParametersfvNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_parameter_buffer_object */ - -#ifdef GL_NV_parameter_buffer_object2 - -#endif /* GL_NV_parameter_buffer_object2 */ - -#ifdef GL_NV_path_rendering - -static GLboolean _glewInit_GL_NV_path_rendering (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glCopyPathNV = (PFNGLCOPYPATHNVPROC)glewGetProcAddress((const GLubyte*)"glCopyPathNV")) == NULL) || r; - r = ((glCoverFillPathInstancedNV = (PFNGLCOVERFILLPATHINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glCoverFillPathInstancedNV")) == NULL) || r; - r = ((glCoverFillPathNV = (PFNGLCOVERFILLPATHNVPROC)glewGetProcAddress((const GLubyte*)"glCoverFillPathNV")) == NULL) || r; - r = ((glCoverStrokePathInstancedNV = (PFNGLCOVERSTROKEPATHINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glCoverStrokePathInstancedNV")) == NULL) || r; - r = ((glCoverStrokePathNV = (PFNGLCOVERSTROKEPATHNVPROC)glewGetProcAddress((const GLubyte*)"glCoverStrokePathNV")) == NULL) || r; - r = ((glDeletePathsNV = (PFNGLDELETEPATHSNVPROC)glewGetProcAddress((const GLubyte*)"glDeletePathsNV")) == NULL) || r; - r = ((glGenPathsNV = (PFNGLGENPATHSNVPROC)glewGetProcAddress((const GLubyte*)"glGenPathsNV")) == NULL) || r; - r = ((glGetPathColorGenfvNV = (PFNGLGETPATHCOLORGENFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathColorGenfvNV")) == NULL) || r; - r = ((glGetPathColorGenivNV = (PFNGLGETPATHCOLORGENIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathColorGenivNV")) == NULL) || r; - r = ((glGetPathCommandsNV = (PFNGLGETPATHCOMMANDSNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathCommandsNV")) == NULL) || r; - r = ((glGetPathCoordsNV = (PFNGLGETPATHCOORDSNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathCoordsNV")) == NULL) || r; - r = ((glGetPathDashArrayNV = (PFNGLGETPATHDASHARRAYNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathDashArrayNV")) == NULL) || r; - r = ((glGetPathLengthNV = (PFNGLGETPATHLENGTHNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathLengthNV")) == NULL) || r; - r = ((glGetPathMetricRangeNV = (PFNGLGETPATHMETRICRANGENVPROC)glewGetProcAddress((const GLubyte*)"glGetPathMetricRangeNV")) == NULL) || r; - r = ((glGetPathMetricsNV = (PFNGLGETPATHMETRICSNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathMetricsNV")) == NULL) || r; - r = ((glGetPathParameterfvNV = (PFNGLGETPATHPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathParameterfvNV")) == NULL) || r; - r = ((glGetPathParameterivNV = (PFNGLGETPATHPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathParameterivNV")) == NULL) || r; - r = ((glGetPathSpacingNV = (PFNGLGETPATHSPACINGNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathSpacingNV")) == NULL) || r; - r = ((glGetPathTexGenfvNV = (PFNGLGETPATHTEXGENFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathTexGenfvNV")) == NULL) || r; - r = ((glGetPathTexGenivNV = (PFNGLGETPATHTEXGENIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathTexGenivNV")) == NULL) || r; - r = ((glInterpolatePathsNV = (PFNGLINTERPOLATEPATHSNVPROC)glewGetProcAddress((const GLubyte*)"glInterpolatePathsNV")) == NULL) || r; - r = ((glIsPathNV = (PFNGLISPATHNVPROC)glewGetProcAddress((const GLubyte*)"glIsPathNV")) == NULL) || r; - r = ((glIsPointInFillPathNV = (PFNGLISPOINTINFILLPATHNVPROC)glewGetProcAddress((const GLubyte*)"glIsPointInFillPathNV")) == NULL) || r; - r = ((glIsPointInStrokePathNV = (PFNGLISPOINTINSTROKEPATHNVPROC)glewGetProcAddress((const GLubyte*)"glIsPointInStrokePathNV")) == NULL) || r; - r = ((glPathColorGenNV = (PFNGLPATHCOLORGENNVPROC)glewGetProcAddress((const GLubyte*)"glPathColorGenNV")) == NULL) || r; - r = ((glPathCommandsNV = (PFNGLPATHCOMMANDSNVPROC)glewGetProcAddress((const GLubyte*)"glPathCommandsNV")) == NULL) || r; - r = ((glPathCoordsNV = (PFNGLPATHCOORDSNVPROC)glewGetProcAddress((const GLubyte*)"glPathCoordsNV")) == NULL) || r; - r = ((glPathCoverDepthFuncNV = (PFNGLPATHCOVERDEPTHFUNCNVPROC)glewGetProcAddress((const GLubyte*)"glPathCoverDepthFuncNV")) == NULL) || r; - r = ((glPathDashArrayNV = (PFNGLPATHDASHARRAYNVPROC)glewGetProcAddress((const GLubyte*)"glPathDashArrayNV")) == NULL) || r; - r = ((glPathFogGenNV = (PFNGLPATHFOGGENNVPROC)glewGetProcAddress((const GLubyte*)"glPathFogGenNV")) == NULL) || r; - r = ((glPathGlyphRangeNV = (PFNGLPATHGLYPHRANGENVPROC)glewGetProcAddress((const GLubyte*)"glPathGlyphRangeNV")) == NULL) || r; - r = ((glPathGlyphsNV = (PFNGLPATHGLYPHSNVPROC)glewGetProcAddress((const GLubyte*)"glPathGlyphsNV")) == NULL) || r; - r = ((glPathParameterfNV = (PFNGLPATHPARAMETERFNVPROC)glewGetProcAddress((const GLubyte*)"glPathParameterfNV")) == NULL) || r; - r = ((glPathParameterfvNV = (PFNGLPATHPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glPathParameterfvNV")) == NULL) || r; - r = ((glPathParameteriNV = (PFNGLPATHPARAMETERINVPROC)glewGetProcAddress((const GLubyte*)"glPathParameteriNV")) == NULL) || r; - r = ((glPathParameterivNV = (PFNGLPATHPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glPathParameterivNV")) == NULL) || r; - r = ((glPathStencilDepthOffsetNV = (PFNGLPATHSTENCILDEPTHOFFSETNVPROC)glewGetProcAddress((const GLubyte*)"glPathStencilDepthOffsetNV")) == NULL) || r; - r = ((glPathStencilFuncNV = (PFNGLPATHSTENCILFUNCNVPROC)glewGetProcAddress((const GLubyte*)"glPathStencilFuncNV")) == NULL) || r; - r = ((glPathStringNV = (PFNGLPATHSTRINGNVPROC)glewGetProcAddress((const GLubyte*)"glPathStringNV")) == NULL) || r; - r = ((glPathSubCommandsNV = (PFNGLPATHSUBCOMMANDSNVPROC)glewGetProcAddress((const GLubyte*)"glPathSubCommandsNV")) == NULL) || r; - r = ((glPathSubCoordsNV = (PFNGLPATHSUBCOORDSNVPROC)glewGetProcAddress((const GLubyte*)"glPathSubCoordsNV")) == NULL) || r; - r = ((glPathTexGenNV = (PFNGLPATHTEXGENNVPROC)glewGetProcAddress((const GLubyte*)"glPathTexGenNV")) == NULL) || r; - r = ((glPointAlongPathNV = (PFNGLPOINTALONGPATHNVPROC)glewGetProcAddress((const GLubyte*)"glPointAlongPathNV")) == NULL) || r; - r = ((glStencilFillPathInstancedNV = (PFNGLSTENCILFILLPATHINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glStencilFillPathInstancedNV")) == NULL) || r; - r = ((glStencilFillPathNV = (PFNGLSTENCILFILLPATHNVPROC)glewGetProcAddress((const GLubyte*)"glStencilFillPathNV")) == NULL) || r; - r = ((glStencilStrokePathInstancedNV = (PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glStencilStrokePathInstancedNV")) == NULL) || r; - r = ((glStencilStrokePathNV = (PFNGLSTENCILSTROKEPATHNVPROC)glewGetProcAddress((const GLubyte*)"glStencilStrokePathNV")) == NULL) || r; - r = ((glTransformPathNV = (PFNGLTRANSFORMPATHNVPROC)glewGetProcAddress((const GLubyte*)"glTransformPathNV")) == NULL) || r; - r = ((glWeightPathsNV = (PFNGLWEIGHTPATHSNVPROC)glewGetProcAddress((const GLubyte*)"glWeightPathsNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_path_rendering */ - -#ifdef GL_NV_pixel_data_range - -static GLboolean _glewInit_GL_NV_pixel_data_range (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glFlushPixelDataRangeNV = (PFNGLFLUSHPIXELDATARANGENVPROC)glewGetProcAddress((const GLubyte*)"glFlushPixelDataRangeNV")) == NULL) || r; - r = ((glPixelDataRangeNV = (PFNGLPIXELDATARANGENVPROC)glewGetProcAddress((const GLubyte*)"glPixelDataRangeNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_pixel_data_range */ - -#ifdef GL_NV_point_sprite - -static GLboolean _glewInit_GL_NV_point_sprite (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glPointParameteriNV = (PFNGLPOINTPARAMETERINVPROC)glewGetProcAddress((const GLubyte*)"glPointParameteriNV")) == NULL) || r; - r = ((glPointParameterivNV = (PFNGLPOINTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glPointParameterivNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_point_sprite */ - -#ifdef GL_NV_present_video - -static GLboolean _glewInit_GL_NV_present_video (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetVideoi64vNV = (PFNGLGETVIDEOI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoi64vNV")) == NULL) || r; - r = ((glGetVideoivNV = (PFNGLGETVIDEOIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoivNV")) == NULL) || r; - r = ((glGetVideoui64vNV = (PFNGLGETVIDEOUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoui64vNV")) == NULL) || r; - r = ((glGetVideouivNV = (PFNGLGETVIDEOUIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideouivNV")) == NULL) || r; - r = ((glPresentFrameDualFillNV = (PFNGLPRESENTFRAMEDUALFILLNVPROC)glewGetProcAddress((const GLubyte*)"glPresentFrameDualFillNV")) == NULL) || r; - r = ((glPresentFrameKeyedNV = (PFNGLPRESENTFRAMEKEYEDNVPROC)glewGetProcAddress((const GLubyte*)"glPresentFrameKeyedNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_present_video */ - -#ifdef GL_NV_primitive_restart - -static GLboolean _glewInit_GL_NV_primitive_restart (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glPrimitiveRestartIndexNV = (PFNGLPRIMITIVERESTARTINDEXNVPROC)glewGetProcAddress((const GLubyte*)"glPrimitiveRestartIndexNV")) == NULL) || r; - r = ((glPrimitiveRestartNV = (PFNGLPRIMITIVERESTARTNVPROC)glewGetProcAddress((const GLubyte*)"glPrimitiveRestartNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_primitive_restart */ - -#ifdef GL_NV_register_combiners - -static GLboolean _glewInit_GL_NV_register_combiners (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glCombinerInputNV = (PFNGLCOMBINERINPUTNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerInputNV")) == NULL) || r; - r = ((glCombinerOutputNV = (PFNGLCOMBINEROUTPUTNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerOutputNV")) == NULL) || r; - r = ((glCombinerParameterfNV = (PFNGLCOMBINERPARAMETERFNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameterfNV")) == NULL) || r; - r = ((glCombinerParameterfvNV = (PFNGLCOMBINERPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameterfvNV")) == NULL) || r; - r = ((glCombinerParameteriNV = (PFNGLCOMBINERPARAMETERINVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameteriNV")) == NULL) || r; - r = ((glCombinerParameterivNV = (PFNGLCOMBINERPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameterivNV")) == NULL) || r; - r = ((glFinalCombinerInputNV = (PFNGLFINALCOMBINERINPUTNVPROC)glewGetProcAddress((const GLubyte*)"glFinalCombinerInputNV")) == NULL) || r; - r = ((glGetCombinerInputParameterfvNV = (PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerInputParameterfvNV")) == NULL) || r; - r = ((glGetCombinerInputParameterivNV = (PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerInputParameterivNV")) == NULL) || r; - r = ((glGetCombinerOutputParameterfvNV = (PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerOutputParameterfvNV")) == NULL) || r; - r = ((glGetCombinerOutputParameterivNV = (PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerOutputParameterivNV")) == NULL) || r; - r = ((glGetFinalCombinerInputParameterfvNV = (PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetFinalCombinerInputParameterfvNV")) == NULL) || r; - r = ((glGetFinalCombinerInputParameterivNV = (PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetFinalCombinerInputParameterivNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_register_combiners */ - -#ifdef GL_NV_register_combiners2 - -static GLboolean _glewInit_GL_NV_register_combiners2 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glCombinerStageParameterfvNV = (PFNGLCOMBINERSTAGEPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerStageParameterfvNV")) == NULL) || r; - r = ((glGetCombinerStageParameterfvNV = (PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerStageParameterfvNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_register_combiners2 */ - -#ifdef GL_NV_shader_atomic_float - -#endif /* GL_NV_shader_atomic_float */ - -#ifdef GL_NV_shader_buffer_load - -static GLboolean _glewInit_GL_NV_shader_buffer_load (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetBufferParameterui64vNV = (PFNGLGETBUFFERPARAMETERUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameterui64vNV")) == NULL) || r; - r = ((glGetIntegerui64vNV = (PFNGLGETINTEGERUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetIntegerui64vNV")) == NULL) || r; - r = ((glGetNamedBufferParameterui64vNV = (PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferParameterui64vNV")) == NULL) || r; - r = ((glIsBufferResidentNV = (PFNGLISBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glIsBufferResidentNV")) == NULL) || r; - r = ((glIsNamedBufferResidentNV = (PFNGLISNAMEDBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glIsNamedBufferResidentNV")) == NULL) || r; - r = ((glMakeBufferNonResidentNV = (PFNGLMAKEBUFFERNONRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeBufferNonResidentNV")) == NULL) || r; - r = ((glMakeBufferResidentNV = (PFNGLMAKEBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeBufferResidentNV")) == NULL) || r; - r = ((glMakeNamedBufferNonResidentNV = (PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeNamedBufferNonResidentNV")) == NULL) || r; - r = ((glMakeNamedBufferResidentNV = (PFNGLMAKENAMEDBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeNamedBufferResidentNV")) == NULL) || r; - r = ((glProgramUniformui64NV = (PFNGLPROGRAMUNIFORMUI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformui64NV")) == NULL) || r; - r = ((glProgramUniformui64vNV = (PFNGLPROGRAMUNIFORMUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformui64vNV")) == NULL) || r; - r = ((glUniformui64NV = (PFNGLUNIFORMUI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniformui64NV")) == NULL) || r; - r = ((glUniformui64vNV = (PFNGLUNIFORMUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniformui64vNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_shader_buffer_load */ - -#ifdef GL_NV_tessellation_program5 - -#endif /* GL_NV_tessellation_program5 */ - -#ifdef GL_NV_texgen_emboss - -#endif /* GL_NV_texgen_emboss */ - -#ifdef GL_NV_texgen_reflection - -#endif /* GL_NV_texgen_reflection */ - -#ifdef GL_NV_texture_barrier - -static GLboolean _glewInit_GL_NV_texture_barrier (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glTextureBarrierNV = (PFNGLTEXTUREBARRIERNVPROC)glewGetProcAddress((const GLubyte*)"glTextureBarrierNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_texture_barrier */ - -#ifdef GL_NV_texture_compression_vtc - -#endif /* GL_NV_texture_compression_vtc */ - -#ifdef GL_NV_texture_env_combine4 - -#endif /* GL_NV_texture_env_combine4 */ - -#ifdef GL_NV_texture_expand_normal - -#endif /* GL_NV_texture_expand_normal */ - -#ifdef GL_NV_texture_multisample - -static GLboolean _glewInit_GL_NV_texture_multisample (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glTexImage2DMultisampleCoverageNV = (PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC)glewGetProcAddress((const GLubyte*)"glTexImage2DMultisampleCoverageNV")) == NULL) || r; - r = ((glTexImage3DMultisampleCoverageNV = (PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC)glewGetProcAddress((const GLubyte*)"glTexImage3DMultisampleCoverageNV")) == NULL) || r; - r = ((glTextureImage2DMultisampleCoverageNV = (PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC)glewGetProcAddress((const GLubyte*)"glTextureImage2DMultisampleCoverageNV")) == NULL) || r; - r = ((glTextureImage2DMultisampleNV = (PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC)glewGetProcAddress((const GLubyte*)"glTextureImage2DMultisampleNV")) == NULL) || r; - r = ((glTextureImage3DMultisampleCoverageNV = (PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC)glewGetProcAddress((const GLubyte*)"glTextureImage3DMultisampleCoverageNV")) == NULL) || r; - r = ((glTextureImage3DMultisampleNV = (PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC)glewGetProcAddress((const GLubyte*)"glTextureImage3DMultisampleNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_texture_multisample */ - -#ifdef GL_NV_texture_rectangle - -#endif /* GL_NV_texture_rectangle */ - -#ifdef GL_NV_texture_shader - -#endif /* GL_NV_texture_shader */ - -#ifdef GL_NV_texture_shader2 - -#endif /* GL_NV_texture_shader2 */ - -#ifdef GL_NV_texture_shader3 - -#endif /* GL_NV_texture_shader3 */ - -#ifdef GL_NV_transform_feedback - -static GLboolean _glewInit_GL_NV_transform_feedback (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glActiveVaryingNV = (PFNGLACTIVEVARYINGNVPROC)glewGetProcAddress((const GLubyte*)"glActiveVaryingNV")) == NULL) || r; - r = ((glBeginTransformFeedbackNV = (PFNGLBEGINTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glBeginTransformFeedbackNV")) == NULL) || r; - r = ((glBindBufferBaseNV = (PFNGLBINDBUFFERBASENVPROC)glewGetProcAddress((const GLubyte*)"glBindBufferBaseNV")) == NULL) || r; - r = ((glBindBufferOffsetNV = (PFNGLBINDBUFFEROFFSETNVPROC)glewGetProcAddress((const GLubyte*)"glBindBufferOffsetNV")) == NULL) || r; - r = ((glBindBufferRangeNV = (PFNGLBINDBUFFERRANGENVPROC)glewGetProcAddress((const GLubyte*)"glBindBufferRangeNV")) == NULL) || r; - r = ((glEndTransformFeedbackNV = (PFNGLENDTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glEndTransformFeedbackNV")) == NULL) || r; - r = ((glGetActiveVaryingNV = (PFNGLGETACTIVEVARYINGNVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveVaryingNV")) == NULL) || r; - r = ((glGetTransformFeedbackVaryingNV = (PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC)glewGetProcAddress((const GLubyte*)"glGetTransformFeedbackVaryingNV")) == NULL) || r; - r = ((glGetVaryingLocationNV = (PFNGLGETVARYINGLOCATIONNVPROC)glewGetProcAddress((const GLubyte*)"glGetVaryingLocationNV")) == NULL) || r; - r = ((glTransformFeedbackAttribsNV = (PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackAttribsNV")) == NULL) || r; - r = ((glTransformFeedbackVaryingsNV = (PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackVaryingsNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_transform_feedback */ - -#ifdef GL_NV_transform_feedback2 - -static GLboolean _glewInit_GL_NV_transform_feedback2 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBindTransformFeedbackNV = (PFNGLBINDTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glBindTransformFeedbackNV")) == NULL) || r; - r = ((glDeleteTransformFeedbacksNV = (PFNGLDELETETRANSFORMFEEDBACKSNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteTransformFeedbacksNV")) == NULL) || r; - r = ((glDrawTransformFeedbackNV = (PFNGLDRAWTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedbackNV")) == NULL) || r; - r = ((glGenTransformFeedbacksNV = (PFNGLGENTRANSFORMFEEDBACKSNVPROC)glewGetProcAddress((const GLubyte*)"glGenTransformFeedbacksNV")) == NULL) || r; - r = ((glIsTransformFeedbackNV = (PFNGLISTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glIsTransformFeedbackNV")) == NULL) || r; - r = ((glPauseTransformFeedbackNV = (PFNGLPAUSETRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glPauseTransformFeedbackNV")) == NULL) || r; - r = ((glResumeTransformFeedbackNV = (PFNGLRESUMETRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glResumeTransformFeedbackNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_transform_feedback2 */ - -#ifdef GL_NV_vdpau_interop - -static GLboolean _glewInit_GL_NV_vdpau_interop (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glVDPAUFiniNV = (PFNGLVDPAUFININVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUFiniNV")) == NULL) || r; - r = ((glVDPAUGetSurfaceivNV = (PFNGLVDPAUGETSURFACEIVNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUGetSurfaceivNV")) == NULL) || r; - r = ((glVDPAUInitNV = (PFNGLVDPAUINITNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUInitNV")) == NULL) || r; - r = ((glVDPAUIsSurfaceNV = (PFNGLVDPAUISSURFACENVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUIsSurfaceNV")) == NULL) || r; - r = ((glVDPAUMapSurfacesNV = (PFNGLVDPAUMAPSURFACESNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUMapSurfacesNV")) == NULL) || r; - r = ((glVDPAURegisterOutputSurfaceNV = (PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC)glewGetProcAddress((const GLubyte*)"glVDPAURegisterOutputSurfaceNV")) == NULL) || r; - r = ((glVDPAURegisterVideoSurfaceNV = (PFNGLVDPAUREGISTERVIDEOSURFACENVPROC)glewGetProcAddress((const GLubyte*)"glVDPAURegisterVideoSurfaceNV")) == NULL) || r; - r = ((glVDPAUSurfaceAccessNV = (PFNGLVDPAUSURFACEACCESSNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUSurfaceAccessNV")) == NULL) || r; - r = ((glVDPAUUnmapSurfacesNV = (PFNGLVDPAUUNMAPSURFACESNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUUnmapSurfacesNV")) == NULL) || r; - r = ((glVDPAUUnregisterSurfaceNV = (PFNGLVDPAUUNREGISTERSURFACENVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUUnregisterSurfaceNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_vdpau_interop */ - -#ifdef GL_NV_vertex_array_range - -static GLboolean _glewInit_GL_NV_vertex_array_range (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glFlushVertexArrayRangeNV = (PFNGLFLUSHVERTEXARRAYRANGENVPROC)glewGetProcAddress((const GLubyte*)"glFlushVertexArrayRangeNV")) == NULL) || r; - r = ((glVertexArrayRangeNV = (PFNGLVERTEXARRAYRANGENVPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayRangeNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_vertex_array_range */ - -#ifdef GL_NV_vertex_array_range2 - -#endif /* GL_NV_vertex_array_range2 */ - -#ifdef GL_NV_vertex_attrib_integer_64bit - -static GLboolean _glewInit_GL_NV_vertex_attrib_integer_64bit (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetVertexAttribLi64vNV = (PFNGLGETVERTEXATTRIBLI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLi64vNV")) == NULL) || r; - r = ((glGetVertexAttribLui64vNV = (PFNGLGETVERTEXATTRIBLUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLui64vNV")) == NULL) || r; - r = ((glVertexAttribL1i64NV = (PFNGLVERTEXATTRIBL1I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1i64NV")) == NULL) || r; - r = ((glVertexAttribL1i64vNV = (PFNGLVERTEXATTRIBL1I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1i64vNV")) == NULL) || r; - r = ((glVertexAttribL1ui64NV = (PFNGLVERTEXATTRIBL1UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1ui64NV")) == NULL) || r; - r = ((glVertexAttribL1ui64vNV = (PFNGLVERTEXATTRIBL1UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1ui64vNV")) == NULL) || r; - r = ((glVertexAttribL2i64NV = (PFNGLVERTEXATTRIBL2I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2i64NV")) == NULL) || r; - r = ((glVertexAttribL2i64vNV = (PFNGLVERTEXATTRIBL2I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2i64vNV")) == NULL) || r; - r = ((glVertexAttribL2ui64NV = (PFNGLVERTEXATTRIBL2UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2ui64NV")) == NULL) || r; - r = ((glVertexAttribL2ui64vNV = (PFNGLVERTEXATTRIBL2UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2ui64vNV")) == NULL) || r; - r = ((glVertexAttribL3i64NV = (PFNGLVERTEXATTRIBL3I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3i64NV")) == NULL) || r; - r = ((glVertexAttribL3i64vNV = (PFNGLVERTEXATTRIBL3I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3i64vNV")) == NULL) || r; - r = ((glVertexAttribL3ui64NV = (PFNGLVERTEXATTRIBL3UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3ui64NV")) == NULL) || r; - r = ((glVertexAttribL3ui64vNV = (PFNGLVERTEXATTRIBL3UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3ui64vNV")) == NULL) || r; - r = ((glVertexAttribL4i64NV = (PFNGLVERTEXATTRIBL4I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4i64NV")) == NULL) || r; - r = ((glVertexAttribL4i64vNV = (PFNGLVERTEXATTRIBL4I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4i64vNV")) == NULL) || r; - r = ((glVertexAttribL4ui64NV = (PFNGLVERTEXATTRIBL4UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4ui64NV")) == NULL) || r; - r = ((glVertexAttribL4ui64vNV = (PFNGLVERTEXATTRIBL4UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4ui64vNV")) == NULL) || r; - r = ((glVertexAttribLFormatNV = (PFNGLVERTEXATTRIBLFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribLFormatNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_vertex_attrib_integer_64bit */ - -#ifdef GL_NV_vertex_buffer_unified_memory - -static GLboolean _glewInit_GL_NV_vertex_buffer_unified_memory (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBufferAddressRangeNV = (PFNGLBUFFERADDRESSRANGENVPROC)glewGetProcAddress((const GLubyte*)"glBufferAddressRangeNV")) == NULL) || r; - r = ((glColorFormatNV = (PFNGLCOLORFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glColorFormatNV")) == NULL) || r; - r = ((glEdgeFlagFormatNV = (PFNGLEDGEFLAGFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glEdgeFlagFormatNV")) == NULL) || r; - r = ((glFogCoordFormatNV = (PFNGLFOGCOORDFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordFormatNV")) == NULL) || r; - r = ((glGetIntegerui64i_vNV = (PFNGLGETINTEGERUI64I_VNVPROC)glewGetProcAddress((const GLubyte*)"glGetIntegerui64i_vNV")) == NULL) || r; - r = ((glIndexFormatNV = (PFNGLINDEXFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glIndexFormatNV")) == NULL) || r; - r = ((glNormalFormatNV = (PFNGLNORMALFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glNormalFormatNV")) == NULL) || r; - r = ((glSecondaryColorFormatNV = (PFNGLSECONDARYCOLORFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorFormatNV")) == NULL) || r; - r = ((glTexCoordFormatNV = (PFNGLTEXCOORDFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordFormatNV")) == NULL) || r; - r = ((glVertexAttribFormatNV = (PFNGLVERTEXATTRIBFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribFormatNV")) == NULL) || r; - r = ((glVertexAttribIFormatNV = (PFNGLVERTEXATTRIBIFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribIFormatNV")) == NULL) || r; - r = ((glVertexFormatNV = (PFNGLVERTEXFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexFormatNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_vertex_buffer_unified_memory */ - -#ifdef GL_NV_vertex_program - -static GLboolean _glewInit_GL_NV_vertex_program (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glAreProgramsResidentNV = (PFNGLAREPROGRAMSRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glAreProgramsResidentNV")) == NULL) || r; - r = ((glBindProgramNV = (PFNGLBINDPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glBindProgramNV")) == NULL) || r; - r = ((glDeleteProgramsNV = (PFNGLDELETEPROGRAMSNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgramsNV")) == NULL) || r; - r = ((glExecuteProgramNV = (PFNGLEXECUTEPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glExecuteProgramNV")) == NULL) || r; - r = ((glGenProgramsNV = (PFNGLGENPROGRAMSNVPROC)glewGetProcAddress((const GLubyte*)"glGenProgramsNV")) == NULL) || r; - r = ((glGetProgramParameterdvNV = (PFNGLGETPROGRAMPARAMETERDVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramParameterdvNV")) == NULL) || r; - r = ((glGetProgramParameterfvNV = (PFNGLGETPROGRAMPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramParameterfvNV")) == NULL) || r; - r = ((glGetProgramStringNV = (PFNGLGETPROGRAMSTRINGNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramStringNV")) == NULL) || r; - r = ((glGetProgramivNV = (PFNGLGETPROGRAMIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramivNV")) == NULL) || r; - r = ((glGetTrackMatrixivNV = (PFNGLGETTRACKMATRIXIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetTrackMatrixivNV")) == NULL) || r; - r = ((glGetVertexAttribPointervNV = (PFNGLGETVERTEXATTRIBPOINTERVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribPointervNV")) == NULL) || r; - r = ((glGetVertexAttribdvNV = (PFNGLGETVERTEXATTRIBDVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribdvNV")) == NULL) || r; - r = ((glGetVertexAttribfvNV = (PFNGLGETVERTEXATTRIBFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribfvNV")) == NULL) || r; - r = ((glGetVertexAttribivNV = (PFNGLGETVERTEXATTRIBIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribivNV")) == NULL) || r; - r = ((glIsProgramNV = (PFNGLISPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glIsProgramNV")) == NULL) || r; - r = ((glLoadProgramNV = (PFNGLLOADPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glLoadProgramNV")) == NULL) || r; - r = ((glProgramParameter4dNV = (PFNGLPROGRAMPARAMETER4DNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4dNV")) == NULL) || r; - r = ((glProgramParameter4dvNV = (PFNGLPROGRAMPARAMETER4DVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4dvNV")) == NULL) || r; - r = ((glProgramParameter4fNV = (PFNGLPROGRAMPARAMETER4FNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4fNV")) == NULL) || r; - r = ((glProgramParameter4fvNV = (PFNGLPROGRAMPARAMETER4FVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4fvNV")) == NULL) || r; - r = ((glProgramParameters4dvNV = (PFNGLPROGRAMPARAMETERS4DVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameters4dvNV")) == NULL) || r; - r = ((glProgramParameters4fvNV = (PFNGLPROGRAMPARAMETERS4FVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameters4fvNV")) == NULL) || r; - r = ((glRequestResidentProgramsNV = (PFNGLREQUESTRESIDENTPROGRAMSNVPROC)glewGetProcAddress((const GLubyte*)"glRequestResidentProgramsNV")) == NULL) || r; - r = ((glTrackMatrixNV = (PFNGLTRACKMATRIXNVPROC)glewGetProcAddress((const GLubyte*)"glTrackMatrixNV")) == NULL) || r; - r = ((glVertexAttrib1dNV = (PFNGLVERTEXATTRIB1DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dNV")) == NULL) || r; - r = ((glVertexAttrib1dvNV = (PFNGLVERTEXATTRIB1DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dvNV")) == NULL) || r; - r = ((glVertexAttrib1fNV = (PFNGLVERTEXATTRIB1FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fNV")) == NULL) || r; - r = ((glVertexAttrib1fvNV = (PFNGLVERTEXATTRIB1FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fvNV")) == NULL) || r; - r = ((glVertexAttrib1sNV = (PFNGLVERTEXATTRIB1SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1sNV")) == NULL) || r; - r = ((glVertexAttrib1svNV = (PFNGLVERTEXATTRIB1SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1svNV")) == NULL) || r; - r = ((glVertexAttrib2dNV = (PFNGLVERTEXATTRIB2DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dNV")) == NULL) || r; - r = ((glVertexAttrib2dvNV = (PFNGLVERTEXATTRIB2DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dvNV")) == NULL) || r; - r = ((glVertexAttrib2fNV = (PFNGLVERTEXATTRIB2FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fNV")) == NULL) || r; - r = ((glVertexAttrib2fvNV = (PFNGLVERTEXATTRIB2FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fvNV")) == NULL) || r; - r = ((glVertexAttrib2sNV = (PFNGLVERTEXATTRIB2SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2sNV")) == NULL) || r; - r = ((glVertexAttrib2svNV = (PFNGLVERTEXATTRIB2SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2svNV")) == NULL) || r; - r = ((glVertexAttrib3dNV = (PFNGLVERTEXATTRIB3DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dNV")) == NULL) || r; - r = ((glVertexAttrib3dvNV = (PFNGLVERTEXATTRIB3DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dvNV")) == NULL) || r; - r = ((glVertexAttrib3fNV = (PFNGLVERTEXATTRIB3FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fNV")) == NULL) || r; - r = ((glVertexAttrib3fvNV = (PFNGLVERTEXATTRIB3FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fvNV")) == NULL) || r; - r = ((glVertexAttrib3sNV = (PFNGLVERTEXATTRIB3SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3sNV")) == NULL) || r; - r = ((glVertexAttrib3svNV = (PFNGLVERTEXATTRIB3SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3svNV")) == NULL) || r; - r = ((glVertexAttrib4dNV = (PFNGLVERTEXATTRIB4DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dNV")) == NULL) || r; - r = ((glVertexAttrib4dvNV = (PFNGLVERTEXATTRIB4DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dvNV")) == NULL) || r; - r = ((glVertexAttrib4fNV = (PFNGLVERTEXATTRIB4FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fNV")) == NULL) || r; - r = ((glVertexAttrib4fvNV = (PFNGLVERTEXATTRIB4FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fvNV")) == NULL) || r; - r = ((glVertexAttrib4sNV = (PFNGLVERTEXATTRIB4SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4sNV")) == NULL) || r; - r = ((glVertexAttrib4svNV = (PFNGLVERTEXATTRIB4SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4svNV")) == NULL) || r; - r = ((glVertexAttrib4ubNV = (PFNGLVERTEXATTRIB4UBNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubNV")) == NULL) || r; - r = ((glVertexAttrib4ubvNV = (PFNGLVERTEXATTRIB4UBVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubvNV")) == NULL) || r; - r = ((glVertexAttribPointerNV = (PFNGLVERTEXATTRIBPOINTERNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribPointerNV")) == NULL) || r; - r = ((glVertexAttribs1dvNV = (PFNGLVERTEXATTRIBS1DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1dvNV")) == NULL) || r; - r = ((glVertexAttribs1fvNV = (PFNGLVERTEXATTRIBS1FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1fvNV")) == NULL) || r; - r = ((glVertexAttribs1svNV = (PFNGLVERTEXATTRIBS1SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1svNV")) == NULL) || r; - r = ((glVertexAttribs2dvNV = (PFNGLVERTEXATTRIBS2DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2dvNV")) == NULL) || r; - r = ((glVertexAttribs2fvNV = (PFNGLVERTEXATTRIBS2FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2fvNV")) == NULL) || r; - r = ((glVertexAttribs2svNV = (PFNGLVERTEXATTRIBS2SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2svNV")) == NULL) || r; - r = ((glVertexAttribs3dvNV = (PFNGLVERTEXATTRIBS3DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3dvNV")) == NULL) || r; - r = ((glVertexAttribs3fvNV = (PFNGLVERTEXATTRIBS3FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3fvNV")) == NULL) || r; - r = ((glVertexAttribs3svNV = (PFNGLVERTEXATTRIBS3SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3svNV")) == NULL) || r; - r = ((glVertexAttribs4dvNV = (PFNGLVERTEXATTRIBS4DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4dvNV")) == NULL) || r; - r = ((glVertexAttribs4fvNV = (PFNGLVERTEXATTRIBS4FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4fvNV")) == NULL) || r; - r = ((glVertexAttribs4svNV = (PFNGLVERTEXATTRIBS4SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4svNV")) == NULL) || r; - r = ((glVertexAttribs4ubvNV = (PFNGLVERTEXATTRIBS4UBVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4ubvNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_vertex_program */ - -#ifdef GL_NV_vertex_program1_1 - -#endif /* GL_NV_vertex_program1_1 */ - -#ifdef GL_NV_vertex_program2 - -#endif /* GL_NV_vertex_program2 */ - -#ifdef GL_NV_vertex_program2_option - -#endif /* GL_NV_vertex_program2_option */ - -#ifdef GL_NV_vertex_program3 - -#endif /* GL_NV_vertex_program3 */ - -#ifdef GL_NV_vertex_program4 - -#endif /* GL_NV_vertex_program4 */ - -#ifdef GL_NV_video_capture - -static GLboolean _glewInit_GL_NV_video_capture (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glBeginVideoCaptureNV = (PFNGLBEGINVIDEOCAPTURENVPROC)glewGetProcAddress((const GLubyte*)"glBeginVideoCaptureNV")) == NULL) || r; - r = ((glBindVideoCaptureStreamBufferNV = (PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC)glewGetProcAddress((const GLubyte*)"glBindVideoCaptureStreamBufferNV")) == NULL) || r; - r = ((glBindVideoCaptureStreamTextureNV = (PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC)glewGetProcAddress((const GLubyte*)"glBindVideoCaptureStreamTextureNV")) == NULL) || r; - r = ((glEndVideoCaptureNV = (PFNGLENDVIDEOCAPTURENVPROC)glewGetProcAddress((const GLubyte*)"glEndVideoCaptureNV")) == NULL) || r; - r = ((glGetVideoCaptureStreamdvNV = (PFNGLGETVIDEOCAPTURESTREAMDVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoCaptureStreamdvNV")) == NULL) || r; - r = ((glGetVideoCaptureStreamfvNV = (PFNGLGETVIDEOCAPTURESTREAMFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoCaptureStreamfvNV")) == NULL) || r; - r = ((glGetVideoCaptureStreamivNV = (PFNGLGETVIDEOCAPTURESTREAMIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoCaptureStreamivNV")) == NULL) || r; - r = ((glGetVideoCaptureivNV = (PFNGLGETVIDEOCAPTUREIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoCaptureivNV")) == NULL) || r; - r = ((glVideoCaptureNV = (PFNGLVIDEOCAPTURENVPROC)glewGetProcAddress((const GLubyte*)"glVideoCaptureNV")) == NULL) || r; - r = ((glVideoCaptureStreamParameterdvNV = (PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC)glewGetProcAddress((const GLubyte*)"glVideoCaptureStreamParameterdvNV")) == NULL) || r; - r = ((glVideoCaptureStreamParameterfvNV = (PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glVideoCaptureStreamParameterfvNV")) == NULL) || r; - r = ((glVideoCaptureStreamParameterivNV = (PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glVideoCaptureStreamParameterivNV")) == NULL) || r; - - return r; -} - -#endif /* GL_NV_video_capture */ - -#ifdef GL_OES_byte_coordinates - -#endif /* GL_OES_byte_coordinates */ - -#ifdef GL_OES_compressed_paletted_texture - -#endif /* GL_OES_compressed_paletted_texture */ - -#ifdef GL_OES_read_format - -#endif /* GL_OES_read_format */ - -#ifdef GL_OES_single_precision - -static GLboolean _glewInit_GL_OES_single_precision (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glClearDepthfOES = (PFNGLCLEARDEPTHFOESPROC)glewGetProcAddress((const GLubyte*)"glClearDepthfOES")) == NULL) || r; - r = ((glClipPlanefOES = (PFNGLCLIPPLANEFOESPROC)glewGetProcAddress((const GLubyte*)"glClipPlanefOES")) == NULL) || r; - r = ((glDepthRangefOES = (PFNGLDEPTHRANGEFOESPROC)glewGetProcAddress((const GLubyte*)"glDepthRangefOES")) == NULL) || r; - r = ((glFrustumfOES = (PFNGLFRUSTUMFOESPROC)glewGetProcAddress((const GLubyte*)"glFrustumfOES")) == NULL) || r; - r = ((glGetClipPlanefOES = (PFNGLGETCLIPPLANEFOESPROC)glewGetProcAddress((const GLubyte*)"glGetClipPlanefOES")) == NULL) || r; - r = ((glOrthofOES = (PFNGLORTHOFOESPROC)glewGetProcAddress((const GLubyte*)"glOrthofOES")) == NULL) || r; - - return r; -} - -#endif /* GL_OES_single_precision */ - -#ifdef GL_OML_interlace - -#endif /* GL_OML_interlace */ - -#ifdef GL_OML_resample - -#endif /* GL_OML_resample */ - -#ifdef GL_OML_subsample - -#endif /* GL_OML_subsample */ - -#ifdef GL_PGI_misc_hints - -#endif /* GL_PGI_misc_hints */ - -#ifdef GL_PGI_vertex_hints - -#endif /* GL_PGI_vertex_hints */ - -#ifdef GL_REGAL_error_string - -static GLboolean _glewInit_GL_REGAL_error_string (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glErrorStringREGAL = (PFNGLERRORSTRINGREGALPROC)glewGetProcAddress((const GLubyte*)"glErrorStringREGAL")) == NULL) || r; - - return r; -} - -#endif /* GL_REGAL_error_string */ - -#ifdef GL_REGAL_extension_query - -static GLboolean _glewInit_GL_REGAL_extension_query (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetExtensionREGAL = (PFNGLGETEXTENSIONREGALPROC)glewGetProcAddress((const GLubyte*)"glGetExtensionREGAL")) == NULL) || r; - r = ((glIsSupportedREGAL = (PFNGLISSUPPORTEDREGALPROC)glewGetProcAddress((const GLubyte*)"glIsSupportedREGAL")) == NULL) || r; - - return r; -} - -#endif /* GL_REGAL_extension_query */ - -#ifdef GL_REGAL_log - -#endif /* GL_REGAL_log */ - -#ifdef GL_REND_screen_coordinates - -#endif /* GL_REND_screen_coordinates */ - -#ifdef GL_S3_s3tc - -#endif /* GL_S3_s3tc */ - -#ifdef GL_SGIS_color_range - -#endif /* GL_SGIS_color_range */ - -#ifdef GL_SGIS_detail_texture - -static GLboolean _glewInit_GL_SGIS_detail_texture (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glDetailTexFuncSGIS = (PFNGLDETAILTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glDetailTexFuncSGIS")) == NULL) || r; - r = ((glGetDetailTexFuncSGIS = (PFNGLGETDETAILTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetDetailTexFuncSGIS")) == NULL) || r; - - return r; -} - -#endif /* GL_SGIS_detail_texture */ - -#ifdef GL_SGIS_fog_function - -static GLboolean _glewInit_GL_SGIS_fog_function (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glFogFuncSGIS = (PFNGLFOGFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glFogFuncSGIS")) == NULL) || r; - r = ((glGetFogFuncSGIS = (PFNGLGETFOGFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetFogFuncSGIS")) == NULL) || r; - - return r; -} - -#endif /* GL_SGIS_fog_function */ - -#ifdef GL_SGIS_generate_mipmap - -#endif /* GL_SGIS_generate_mipmap */ - -#ifdef GL_SGIS_multisample - -static GLboolean _glewInit_GL_SGIS_multisample (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glSampleMaskSGIS = (PFNGLSAMPLEMASKSGISPROC)glewGetProcAddress((const GLubyte*)"glSampleMaskSGIS")) == NULL) || r; - r = ((glSamplePatternSGIS = (PFNGLSAMPLEPATTERNSGISPROC)glewGetProcAddress((const GLubyte*)"glSamplePatternSGIS")) == NULL) || r; - - return r; -} - -#endif /* GL_SGIS_multisample */ - -#ifdef GL_SGIS_pixel_texture - -#endif /* GL_SGIS_pixel_texture */ - -#ifdef GL_SGIS_point_line_texgen - -#endif /* GL_SGIS_point_line_texgen */ - -#ifdef GL_SGIS_sharpen_texture - -static GLboolean _glewInit_GL_SGIS_sharpen_texture (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetSharpenTexFuncSGIS = (PFNGLGETSHARPENTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetSharpenTexFuncSGIS")) == NULL) || r; - r = ((glSharpenTexFuncSGIS = (PFNGLSHARPENTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glSharpenTexFuncSGIS")) == NULL) || r; - - return r; -} - -#endif /* GL_SGIS_sharpen_texture */ - -#ifdef GL_SGIS_texture4D - -static GLboolean _glewInit_GL_SGIS_texture4D (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glTexImage4DSGIS = (PFNGLTEXIMAGE4DSGISPROC)glewGetProcAddress((const GLubyte*)"glTexImage4DSGIS")) == NULL) || r; - r = ((glTexSubImage4DSGIS = (PFNGLTEXSUBIMAGE4DSGISPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage4DSGIS")) == NULL) || r; - - return r; -} - -#endif /* GL_SGIS_texture4D */ - -#ifdef GL_SGIS_texture_border_clamp - -#endif /* GL_SGIS_texture_border_clamp */ - -#ifdef GL_SGIS_texture_edge_clamp - -#endif /* GL_SGIS_texture_edge_clamp */ - -#ifdef GL_SGIS_texture_filter4 - -static GLboolean _glewInit_GL_SGIS_texture_filter4 (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGetTexFilterFuncSGIS = (PFNGLGETTEXFILTERFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetTexFilterFuncSGIS")) == NULL) || r; - r = ((glTexFilterFuncSGIS = (PFNGLTEXFILTERFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glTexFilterFuncSGIS")) == NULL) || r; - - return r; -} - -#endif /* GL_SGIS_texture_filter4 */ - -#ifdef GL_SGIS_texture_lod - -#endif /* GL_SGIS_texture_lod */ - -#ifdef GL_SGIS_texture_select - -#endif /* GL_SGIS_texture_select */ - -#ifdef GL_SGIX_async - -static GLboolean _glewInit_GL_SGIX_async (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glAsyncMarkerSGIX = (PFNGLASYNCMARKERSGIXPROC)glewGetProcAddress((const GLubyte*)"glAsyncMarkerSGIX")) == NULL) || r; - r = ((glDeleteAsyncMarkersSGIX = (PFNGLDELETEASYNCMARKERSSGIXPROC)glewGetProcAddress((const GLubyte*)"glDeleteAsyncMarkersSGIX")) == NULL) || r; - r = ((glFinishAsyncSGIX = (PFNGLFINISHASYNCSGIXPROC)glewGetProcAddress((const GLubyte*)"glFinishAsyncSGIX")) == NULL) || r; - r = ((glGenAsyncMarkersSGIX = (PFNGLGENASYNCMARKERSSGIXPROC)glewGetProcAddress((const GLubyte*)"glGenAsyncMarkersSGIX")) == NULL) || r; - r = ((glIsAsyncMarkerSGIX = (PFNGLISASYNCMARKERSGIXPROC)glewGetProcAddress((const GLubyte*)"glIsAsyncMarkerSGIX")) == NULL) || r; - r = ((glPollAsyncSGIX = (PFNGLPOLLASYNCSGIXPROC)glewGetProcAddress((const GLubyte*)"glPollAsyncSGIX")) == NULL) || r; - - return r; -} - -#endif /* GL_SGIX_async */ - -#ifdef GL_SGIX_async_histogram - -#endif /* GL_SGIX_async_histogram */ - -#ifdef GL_SGIX_async_pixel - -#endif /* GL_SGIX_async_pixel */ - -#ifdef GL_SGIX_blend_alpha_minmax - -#endif /* GL_SGIX_blend_alpha_minmax */ - -#ifdef GL_SGIX_clipmap - -#endif /* GL_SGIX_clipmap */ - -#ifdef GL_SGIX_convolution_accuracy - -#endif /* GL_SGIX_convolution_accuracy */ - -#ifdef GL_SGIX_depth_texture - -#endif /* GL_SGIX_depth_texture */ - -#ifdef GL_SGIX_flush_raster - -static GLboolean _glewInit_GL_SGIX_flush_raster (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glFlushRasterSGIX = (PFNGLFLUSHRASTERSGIXPROC)glewGetProcAddress((const GLubyte*)"glFlushRasterSGIX")) == NULL) || r; - - return r; -} - -#endif /* GL_SGIX_flush_raster */ - -#ifdef GL_SGIX_fog_offset - -#endif /* GL_SGIX_fog_offset */ - -#ifdef GL_SGIX_fog_texture - -static GLboolean _glewInit_GL_SGIX_fog_texture (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glTextureFogSGIX = (PFNGLTEXTUREFOGSGIXPROC)glewGetProcAddress((const GLubyte*)"glTextureFogSGIX")) == NULL) || r; - - return r; -} - -#endif /* GL_SGIX_fog_texture */ - -#ifdef GL_SGIX_fragment_specular_lighting - -static GLboolean _glewInit_GL_SGIX_fragment_specular_lighting (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glFragmentColorMaterialSGIX = (PFNGLFRAGMENTCOLORMATERIALSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentColorMaterialSGIX")) == NULL) || r; - r = ((glFragmentLightModelfSGIX = (PFNGLFRAGMENTLIGHTMODELFSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfSGIX")) == NULL) || r; - r = ((glFragmentLightModelfvSGIX = (PFNGLFRAGMENTLIGHTMODELFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfvSGIX")) == NULL) || r; - r = ((glFragmentLightModeliSGIX = (PFNGLFRAGMENTLIGHTMODELISGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModeliSGIX")) == NULL) || r; - r = ((glFragmentLightModelivSGIX = (PFNGLFRAGMENTLIGHTMODELIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelivSGIX")) == NULL) || r; - r = ((glFragmentLightfSGIX = (PFNGLFRAGMENTLIGHTFSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfSGIX")) == NULL) || r; - r = ((glFragmentLightfvSGIX = (PFNGLFRAGMENTLIGHTFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfvSGIX")) == NULL) || r; - r = ((glFragmentLightiSGIX = (PFNGLFRAGMENTLIGHTISGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightiSGIX")) == NULL) || r; - r = ((glFragmentLightivSGIX = (PFNGLFRAGMENTLIGHTIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightivSGIX")) == NULL) || r; - r = ((glFragmentMaterialfSGIX = (PFNGLFRAGMENTMATERIALFSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfSGIX")) == NULL) || r; - r = ((glFragmentMaterialfvSGIX = (PFNGLFRAGMENTMATERIALFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfvSGIX")) == NULL) || r; - r = ((glFragmentMaterialiSGIX = (PFNGLFRAGMENTMATERIALISGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialiSGIX")) == NULL) || r; - r = ((glFragmentMaterialivSGIX = (PFNGLFRAGMENTMATERIALIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialivSGIX")) == NULL) || r; - r = ((glGetFragmentLightfvSGIX = (PFNGLGETFRAGMENTLIGHTFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightfvSGIX")) == NULL) || r; - r = ((glGetFragmentLightivSGIX = (PFNGLGETFRAGMENTLIGHTIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightivSGIX")) == NULL) || r; - r = ((glGetFragmentMaterialfvSGIX = (PFNGLGETFRAGMENTMATERIALFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialfvSGIX")) == NULL) || r; - r = ((glGetFragmentMaterialivSGIX = (PFNGLGETFRAGMENTMATERIALIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialivSGIX")) == NULL) || r; - - return r; -} - -#endif /* GL_SGIX_fragment_specular_lighting */ - -#ifdef GL_SGIX_framezoom - -static GLboolean _glewInit_GL_SGIX_framezoom (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glFrameZoomSGIX = (PFNGLFRAMEZOOMSGIXPROC)glewGetProcAddress((const GLubyte*)"glFrameZoomSGIX")) == NULL) || r; - - return r; -} - -#endif /* GL_SGIX_framezoom */ - -#ifdef GL_SGIX_interlace - -#endif /* GL_SGIX_interlace */ - -#ifdef GL_SGIX_ir_instrument1 - -#endif /* GL_SGIX_ir_instrument1 */ - -#ifdef GL_SGIX_list_priority - -#endif /* GL_SGIX_list_priority */ - -#ifdef GL_SGIX_pixel_texture - -static GLboolean _glewInit_GL_SGIX_pixel_texture (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glPixelTexGenSGIX = (PFNGLPIXELTEXGENSGIXPROC)glewGetProcAddress((const GLubyte*)"glPixelTexGenSGIX")) == NULL) || r; - - return r; -} - -#endif /* GL_SGIX_pixel_texture */ - -#ifdef GL_SGIX_pixel_texture_bits - -#endif /* GL_SGIX_pixel_texture_bits */ - -#ifdef GL_SGIX_reference_plane - -static GLboolean _glewInit_GL_SGIX_reference_plane (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glReferencePlaneSGIX = (PFNGLREFERENCEPLANESGIXPROC)glewGetProcAddress((const GLubyte*)"glReferencePlaneSGIX")) == NULL) || r; - - return r; -} - -#endif /* GL_SGIX_reference_plane */ - -#ifdef GL_SGIX_resample - -#endif /* GL_SGIX_resample */ - -#ifdef GL_SGIX_shadow - -#endif /* GL_SGIX_shadow */ - -#ifdef GL_SGIX_shadow_ambient - -#endif /* GL_SGIX_shadow_ambient */ - -#ifdef GL_SGIX_sprite - -static GLboolean _glewInit_GL_SGIX_sprite (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glSpriteParameterfSGIX = (PFNGLSPRITEPARAMETERFSGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameterfSGIX")) == NULL) || r; - r = ((glSpriteParameterfvSGIX = (PFNGLSPRITEPARAMETERFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameterfvSGIX")) == NULL) || r; - r = ((glSpriteParameteriSGIX = (PFNGLSPRITEPARAMETERISGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameteriSGIX")) == NULL) || r; - r = ((glSpriteParameterivSGIX = (PFNGLSPRITEPARAMETERIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameterivSGIX")) == NULL) || r; - - return r; -} - -#endif /* GL_SGIX_sprite */ - -#ifdef GL_SGIX_tag_sample_buffer - -static GLboolean _glewInit_GL_SGIX_tag_sample_buffer (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glTagSampleBufferSGIX = (PFNGLTAGSAMPLEBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glTagSampleBufferSGIX")) == NULL) || r; - - return r; -} - -#endif /* GL_SGIX_tag_sample_buffer */ - -#ifdef GL_SGIX_texture_add_env - -#endif /* GL_SGIX_texture_add_env */ - -#ifdef GL_SGIX_texture_coordinate_clamp - -#endif /* GL_SGIX_texture_coordinate_clamp */ - -#ifdef GL_SGIX_texture_lod_bias - -#endif /* GL_SGIX_texture_lod_bias */ - -#ifdef GL_SGIX_texture_multi_buffer - -#endif /* GL_SGIX_texture_multi_buffer */ - -#ifdef GL_SGIX_texture_range - -#endif /* GL_SGIX_texture_range */ - -#ifdef GL_SGIX_texture_scale_bias - -#endif /* GL_SGIX_texture_scale_bias */ - -#ifdef GL_SGIX_vertex_preclip - -#endif /* GL_SGIX_vertex_preclip */ - -#ifdef GL_SGIX_vertex_preclip_hint - -#endif /* GL_SGIX_vertex_preclip_hint */ - -#ifdef GL_SGIX_ycrcb - -#endif /* GL_SGIX_ycrcb */ - -#ifdef GL_SGI_color_matrix - -#endif /* GL_SGI_color_matrix */ - -#ifdef GL_SGI_color_table - -static GLboolean _glewInit_GL_SGI_color_table (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glColorTableParameterfvSGI = (PFNGLCOLORTABLEPARAMETERFVSGIPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameterfvSGI")) == NULL) || r; - r = ((glColorTableParameterivSGI = (PFNGLCOLORTABLEPARAMETERIVSGIPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameterivSGI")) == NULL) || r; - r = ((glColorTableSGI = (PFNGLCOLORTABLESGIPROC)glewGetProcAddress((const GLubyte*)"glColorTableSGI")) == NULL) || r; - r = ((glCopyColorTableSGI = (PFNGLCOPYCOLORTABLESGIPROC)glewGetProcAddress((const GLubyte*)"glCopyColorTableSGI")) == NULL) || r; - r = ((glGetColorTableParameterfvSGI = (PFNGLGETCOLORTABLEPARAMETERFVSGIPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterfvSGI")) == NULL) || r; - r = ((glGetColorTableParameterivSGI = (PFNGLGETCOLORTABLEPARAMETERIVSGIPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterivSGI")) == NULL) || r; - r = ((glGetColorTableSGI = (PFNGLGETCOLORTABLESGIPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableSGI")) == NULL) || r; - - return r; -} - -#endif /* GL_SGI_color_table */ - -#ifdef GL_SGI_texture_color_table - -#endif /* GL_SGI_texture_color_table */ - -#ifdef GL_SUNX_constant_data - -static GLboolean _glewInit_GL_SUNX_constant_data (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glFinishTextureSUNX = (PFNGLFINISHTEXTURESUNXPROC)glewGetProcAddress((const GLubyte*)"glFinishTextureSUNX")) == NULL) || r; - - return r; -} - -#endif /* GL_SUNX_constant_data */ - -#ifdef GL_SUN_convolution_border_modes - -#endif /* GL_SUN_convolution_border_modes */ - -#ifdef GL_SUN_global_alpha - -static GLboolean _glewInit_GL_SUN_global_alpha (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glGlobalAlphaFactorbSUN = (PFNGLGLOBALALPHAFACTORBSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorbSUN")) == NULL) || r; - r = ((glGlobalAlphaFactordSUN = (PFNGLGLOBALALPHAFACTORDSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactordSUN")) == NULL) || r; - r = ((glGlobalAlphaFactorfSUN = (PFNGLGLOBALALPHAFACTORFSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorfSUN")) == NULL) || r; - r = ((glGlobalAlphaFactoriSUN = (PFNGLGLOBALALPHAFACTORISUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactoriSUN")) == NULL) || r; - r = ((glGlobalAlphaFactorsSUN = (PFNGLGLOBALALPHAFACTORSSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorsSUN")) == NULL) || r; - r = ((glGlobalAlphaFactorubSUN = (PFNGLGLOBALALPHAFACTORUBSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorubSUN")) == NULL) || r; - r = ((glGlobalAlphaFactoruiSUN = (PFNGLGLOBALALPHAFACTORUISUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactoruiSUN")) == NULL) || r; - r = ((glGlobalAlphaFactorusSUN = (PFNGLGLOBALALPHAFACTORUSSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorusSUN")) == NULL) || r; - - return r; -} - -#endif /* GL_SUN_global_alpha */ - -#ifdef GL_SUN_mesh_array - -#endif /* GL_SUN_mesh_array */ - -#ifdef GL_SUN_read_video_pixels - -static GLboolean _glewInit_GL_SUN_read_video_pixels (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glReadVideoPixelsSUN = (PFNGLREADVIDEOPIXELSSUNPROC)glewGetProcAddress((const GLubyte*)"glReadVideoPixelsSUN")) == NULL) || r; - - return r; -} - -#endif /* GL_SUN_read_video_pixels */ - -#ifdef GL_SUN_slice_accum - -#endif /* GL_SUN_slice_accum */ - -#ifdef GL_SUN_triangle_list - -static GLboolean _glewInit_GL_SUN_triangle_list (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glReplacementCodePointerSUN = (PFNGLREPLACEMENTCODEPOINTERSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodePointerSUN")) == NULL) || r; - r = ((glReplacementCodeubSUN = (PFNGLREPLACEMENTCODEUBSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeubSUN")) == NULL) || r; - r = ((glReplacementCodeubvSUN = (PFNGLREPLACEMENTCODEUBVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeubvSUN")) == NULL) || r; - r = ((glReplacementCodeuiSUN = (PFNGLREPLACEMENTCODEUISUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiSUN")) == NULL) || r; - r = ((glReplacementCodeuivSUN = (PFNGLREPLACEMENTCODEUIVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuivSUN")) == NULL) || r; - r = ((glReplacementCodeusSUN = (PFNGLREPLACEMENTCODEUSSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeusSUN")) == NULL) || r; - r = ((glReplacementCodeusvSUN = (PFNGLREPLACEMENTCODEUSVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeusvSUN")) == NULL) || r; - - return r; -} - -#endif /* GL_SUN_triangle_list */ - -#ifdef GL_SUN_vertex - -static GLboolean _glewInit_GL_SUN_vertex (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glColor3fVertex3fSUN = (PFNGLCOLOR3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor3fVertex3fSUN")) == NULL) || r; - r = ((glColor3fVertex3fvSUN = (PFNGLCOLOR3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor3fVertex3fvSUN")) == NULL) || r; - r = ((glColor4fNormal3fVertex3fSUN = (PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4fNormal3fVertex3fSUN")) == NULL) || r; - r = ((glColor4fNormal3fVertex3fvSUN = (PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4fNormal3fVertex3fvSUN")) == NULL) || r; - r = ((glColor4ubVertex2fSUN = (PFNGLCOLOR4UBVERTEX2FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex2fSUN")) == NULL) || r; - r = ((glColor4ubVertex2fvSUN = (PFNGLCOLOR4UBVERTEX2FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex2fvSUN")) == NULL) || r; - r = ((glColor4ubVertex3fSUN = (PFNGLCOLOR4UBVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex3fSUN")) == NULL) || r; - r = ((glColor4ubVertex3fvSUN = (PFNGLCOLOR4UBVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex3fvSUN")) == NULL) || r; - r = ((glNormal3fVertex3fSUN = (PFNGLNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glNormal3fVertex3fSUN")) == NULL) || r; - r = ((glNormal3fVertex3fvSUN = (PFNGLNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glNormal3fVertex3fvSUN")) == NULL) || r; - r = ((glReplacementCodeuiColor3fVertex3fSUN = (PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor3fVertex3fSUN")) == NULL) || r; - r = ((glReplacementCodeuiColor3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor3fVertex3fvSUN")) == NULL) || r; - r = ((glReplacementCodeuiColor4fNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4fNormal3fVertex3fSUN")) == NULL) || r; - r = ((glReplacementCodeuiColor4fNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4fNormal3fVertex3fvSUN")) == NULL) || r; - r = ((glReplacementCodeuiColor4ubVertex3fSUN = (PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4ubVertex3fSUN")) == NULL) || r; - r = ((glReplacementCodeuiColor4ubVertex3fvSUN = (PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4ubVertex3fvSUN")) == NULL) || r; - r = ((glReplacementCodeuiNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiNormal3fVertex3fSUN")) == NULL) || r; - r = ((glReplacementCodeuiNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiNormal3fVertex3fvSUN")) == NULL) || r; - r = ((glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")) == NULL) || r; - r = ((glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")) == NULL) || r; - r = ((glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN")) == NULL) || r; - r = ((glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")) == NULL) || r; - r = ((glReplacementCodeuiTexCoord2fVertex3fSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fVertex3fSUN")) == NULL) || r; - r = ((glReplacementCodeuiTexCoord2fVertex3fvSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fVertex3fvSUN")) == NULL) || r; - r = ((glReplacementCodeuiVertex3fSUN = (PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiVertex3fSUN")) == NULL) || r; - r = ((glReplacementCodeuiVertex3fvSUN = (PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiVertex3fvSUN")) == NULL) || r; - r = ((glTexCoord2fColor3fVertex3fSUN = (PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor3fVertex3fSUN")) == NULL) || r; - r = ((glTexCoord2fColor3fVertex3fvSUN = (PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor3fVertex3fvSUN")) == NULL) || r; - r = ((glTexCoord2fColor4fNormal3fVertex3fSUN = (PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4fNormal3fVertex3fSUN")) == NULL) || r; - r = ((glTexCoord2fColor4fNormal3fVertex3fvSUN = (PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4fNormal3fVertex3fvSUN")) == NULL) || r; - r = ((glTexCoord2fColor4ubVertex3fSUN = (PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4ubVertex3fSUN")) == NULL) || r; - r = ((glTexCoord2fColor4ubVertex3fvSUN = (PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4ubVertex3fvSUN")) == NULL) || r; - r = ((glTexCoord2fNormal3fVertex3fSUN = (PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fNormal3fVertex3fSUN")) == NULL) || r; - r = ((glTexCoord2fNormal3fVertex3fvSUN = (PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fNormal3fVertex3fvSUN")) == NULL) || r; - r = ((glTexCoord2fVertex3fSUN = (PFNGLTEXCOORD2FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fVertex3fSUN")) == NULL) || r; - r = ((glTexCoord2fVertex3fvSUN = (PFNGLTEXCOORD2FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fVertex3fvSUN")) == NULL) || r; - r = ((glTexCoord4fColor4fNormal3fVertex4fSUN = (PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fColor4fNormal3fVertex4fSUN")) == NULL) || r; - r = ((glTexCoord4fColor4fNormal3fVertex4fvSUN = (PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fColor4fNormal3fVertex4fvSUN")) == NULL) || r; - r = ((glTexCoord4fVertex4fSUN = (PFNGLTEXCOORD4FVERTEX4FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fVertex4fSUN")) == NULL) || r; - r = ((glTexCoord4fVertex4fvSUN = (PFNGLTEXCOORD4FVERTEX4FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fVertex4fvSUN")) == NULL) || r; - - return r; -} - -#endif /* GL_SUN_vertex */ - -#ifdef GL_WIN_phong_shading - -#endif /* GL_WIN_phong_shading */ - -#ifdef GL_WIN_specular_fog - -#endif /* GL_WIN_specular_fog */ - -#ifdef GL_WIN_swap_hint - -static GLboolean _glewInit_GL_WIN_swap_hint (GLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glAddSwapHintRectWIN = (PFNGLADDSWAPHINTRECTWINPROC)glewGetProcAddress((const GLubyte*)"glAddSwapHintRectWIN")) == NULL) || r; - - return r; -} - -#endif /* GL_WIN_swap_hint */ - -/* ------------------------------------------------------------------------- */ - -GLboolean GLEWAPIENTRY glewGetExtension (const char* name) -{ - const GLubyte* start; - const GLubyte* end; - start = (const GLubyte*)glGetString(GL_EXTENSIONS); - if (start == 0) - return GL_FALSE; - end = start + _glewStrLen(start); - return _glewSearchExtension(name, start, end); -} - -/* ------------------------------------------------------------------------- */ - -#ifndef GLEW_MX -static -#endif -GLenum GLEWAPIENTRY glewContextInit (GLEW_CONTEXT_ARG_DEF_LIST) -{ - const GLubyte* s; - GLuint dot; - GLint major, minor; - const GLubyte* extStart; - const GLubyte* extEnd; - /* query opengl version */ - s = glGetString(GL_VERSION); - dot = _glewStrCLen(s, '.'); - if (dot == 0) - return GLEW_ERROR_NO_GL_VERSION; - - major = s[dot-1]-'0'; - minor = s[dot+1]-'0'; - - if (minor < 0 || minor > 9) - minor = 0; - if (major<0 || major>9) - return GLEW_ERROR_NO_GL_VERSION; - - - if (major == 1 && minor == 0) - { - return GLEW_ERROR_GL_VERSION_10_ONLY; - } - else - { - CONST_CAST(GLEW_VERSION_4_3) = ( major > 4 ) || ( major == 4 && minor >= 3 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_4_2) = GLEW_VERSION_4_3 == GL_TRUE || ( major == 4 && minor >= 2 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_4_1) = GLEW_VERSION_4_2 == GL_TRUE || ( major == 4 && minor >= 1 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_4_0) = GLEW_VERSION_4_1 == GL_TRUE || ( major == 4 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_3_3) = GLEW_VERSION_4_0 == GL_TRUE || ( major == 3 && minor >= 3 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_3_2) = GLEW_VERSION_3_3 == GL_TRUE || ( major == 3 && minor >= 2 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_3_1) = GLEW_VERSION_3_2 == GL_TRUE || ( major == 3 && minor >= 1 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_3_0) = GLEW_VERSION_3_1 == GL_TRUE || ( major == 3 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_2_1) = GLEW_VERSION_3_0 == GL_TRUE || ( major == 2 && minor >= 1 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_2_0) = GLEW_VERSION_2_1 == GL_TRUE || ( major == 2 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_1_5) = GLEW_VERSION_2_0 == GL_TRUE || ( major == 1 && minor >= 5 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_1_4) = GLEW_VERSION_1_5 == GL_TRUE || ( major == 1 && minor >= 4 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_1_3) = GLEW_VERSION_1_4 == GL_TRUE || ( major == 1 && minor >= 3 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_1_2_1) = GLEW_VERSION_1_3 == GL_TRUE ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_1_2) = GLEW_VERSION_1_2_1 == GL_TRUE || ( major == 1 && minor >= 2 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_1_1) = GLEW_VERSION_1_2 == GL_TRUE || ( major == 1 && minor >= 1 ) ? GL_TRUE : GL_FALSE; - } - - /* query opengl extensions string */ - extStart = glGetString(GL_EXTENSIONS); - if (extStart == 0) - extStart = (const GLubyte*)""; - extEnd = extStart + _glewStrLen(extStart); - - /* initialize extensions */ -#ifdef GL_VERSION_1_2 - if (glewExperimental || GLEW_VERSION_1_2) CONST_CAST(GLEW_VERSION_1_2) = !_glewInit_GL_VERSION_1_2(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_VERSION_1_2 */ -#ifdef GL_VERSION_1_2_1 -#endif /* GL_VERSION_1_2_1 */ -#ifdef GL_VERSION_1_3 - if (glewExperimental || GLEW_VERSION_1_3) CONST_CAST(GLEW_VERSION_1_3) = !_glewInit_GL_VERSION_1_3(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_VERSION_1_3 */ -#ifdef GL_VERSION_1_4 - if (glewExperimental || GLEW_VERSION_1_4) CONST_CAST(GLEW_VERSION_1_4) = !_glewInit_GL_VERSION_1_4(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_VERSION_1_4 */ -#ifdef GL_VERSION_1_5 - if (glewExperimental || GLEW_VERSION_1_5) CONST_CAST(GLEW_VERSION_1_5) = !_glewInit_GL_VERSION_1_5(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_VERSION_1_5 */ -#ifdef GL_VERSION_2_0 - if (glewExperimental || GLEW_VERSION_2_0) CONST_CAST(GLEW_VERSION_2_0) = !_glewInit_GL_VERSION_2_0(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_VERSION_2_0 */ -#ifdef GL_VERSION_2_1 - if (glewExperimental || GLEW_VERSION_2_1) CONST_CAST(GLEW_VERSION_2_1) = !_glewInit_GL_VERSION_2_1(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_VERSION_2_1 */ -#ifdef GL_VERSION_3_0 - if (glewExperimental || GLEW_VERSION_3_0) CONST_CAST(GLEW_VERSION_3_0) = !_glewInit_GL_VERSION_3_0(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_VERSION_3_0 */ -#ifdef GL_VERSION_3_1 - if (glewExperimental || GLEW_VERSION_3_1) CONST_CAST(GLEW_VERSION_3_1) = !_glewInit_GL_VERSION_3_1(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_VERSION_3_1 */ -#ifdef GL_VERSION_3_2 - if (glewExperimental || GLEW_VERSION_3_2) CONST_CAST(GLEW_VERSION_3_2) = !_glewInit_GL_VERSION_3_2(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_VERSION_3_2 */ -#ifdef GL_VERSION_3_3 - if (glewExperimental || GLEW_VERSION_3_3) CONST_CAST(GLEW_VERSION_3_3) = !_glewInit_GL_VERSION_3_3(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_VERSION_3_3 */ -#ifdef GL_VERSION_4_0 - if (glewExperimental || GLEW_VERSION_4_0) CONST_CAST(GLEW_VERSION_4_0) = !_glewInit_GL_VERSION_4_0(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_VERSION_4_0 */ -#ifdef GL_VERSION_4_1 -#endif /* GL_VERSION_4_1 */ -#ifdef GL_VERSION_4_2 -#endif /* GL_VERSION_4_2 */ -#ifdef GL_VERSION_4_3 -#endif /* GL_VERSION_4_3 */ -#ifdef GL_3DFX_multisample - CONST_CAST(GLEW_3DFX_multisample) = _glewSearchExtension("GL_3DFX_multisample", extStart, extEnd); -#endif /* GL_3DFX_multisample */ -#ifdef GL_3DFX_tbuffer - CONST_CAST(GLEW_3DFX_tbuffer) = _glewSearchExtension("GL_3DFX_tbuffer", extStart, extEnd); - if (glewExperimental || GLEW_3DFX_tbuffer) CONST_CAST(GLEW_3DFX_tbuffer) = !_glewInit_GL_3DFX_tbuffer(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_3DFX_tbuffer */ -#ifdef GL_3DFX_texture_compression_FXT1 - CONST_CAST(GLEW_3DFX_texture_compression_FXT1) = _glewSearchExtension("GL_3DFX_texture_compression_FXT1", extStart, extEnd); -#endif /* GL_3DFX_texture_compression_FXT1 */ -#ifdef GL_AMD_blend_minmax_factor - CONST_CAST(GLEW_AMD_blend_minmax_factor) = _glewSearchExtension("GL_AMD_blend_minmax_factor", extStart, extEnd); -#endif /* GL_AMD_blend_minmax_factor */ -#ifdef GL_AMD_conservative_depth - CONST_CAST(GLEW_AMD_conservative_depth) = _glewSearchExtension("GL_AMD_conservative_depth", extStart, extEnd); -#endif /* GL_AMD_conservative_depth */ -#ifdef GL_AMD_debug_output - CONST_CAST(GLEW_AMD_debug_output) = _glewSearchExtension("GL_AMD_debug_output", extStart, extEnd); - if (glewExperimental || GLEW_AMD_debug_output) CONST_CAST(GLEW_AMD_debug_output) = !_glewInit_GL_AMD_debug_output(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_AMD_debug_output */ -#ifdef GL_AMD_depth_clamp_separate - CONST_CAST(GLEW_AMD_depth_clamp_separate) = _glewSearchExtension("GL_AMD_depth_clamp_separate", extStart, extEnd); -#endif /* GL_AMD_depth_clamp_separate */ -#ifdef GL_AMD_draw_buffers_blend - CONST_CAST(GLEW_AMD_draw_buffers_blend) = _glewSearchExtension("GL_AMD_draw_buffers_blend", extStart, extEnd); - if (glewExperimental || GLEW_AMD_draw_buffers_blend) CONST_CAST(GLEW_AMD_draw_buffers_blend) = !_glewInit_GL_AMD_draw_buffers_blend(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_AMD_draw_buffers_blend */ -#ifdef GL_AMD_multi_draw_indirect - CONST_CAST(GLEW_AMD_multi_draw_indirect) = _glewSearchExtension("GL_AMD_multi_draw_indirect", extStart, extEnd); - if (glewExperimental || GLEW_AMD_multi_draw_indirect) CONST_CAST(GLEW_AMD_multi_draw_indirect) = !_glewInit_GL_AMD_multi_draw_indirect(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_AMD_multi_draw_indirect */ -#ifdef GL_AMD_name_gen_delete - CONST_CAST(GLEW_AMD_name_gen_delete) = _glewSearchExtension("GL_AMD_name_gen_delete", extStart, extEnd); - if (glewExperimental || GLEW_AMD_name_gen_delete) CONST_CAST(GLEW_AMD_name_gen_delete) = !_glewInit_GL_AMD_name_gen_delete(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_AMD_name_gen_delete */ -#ifdef GL_AMD_performance_monitor - CONST_CAST(GLEW_AMD_performance_monitor) = _glewSearchExtension("GL_AMD_performance_monitor", extStart, extEnd); - if (glewExperimental || GLEW_AMD_performance_monitor) CONST_CAST(GLEW_AMD_performance_monitor) = !_glewInit_GL_AMD_performance_monitor(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_AMD_performance_monitor */ -#ifdef GL_AMD_pinned_memory - CONST_CAST(GLEW_AMD_pinned_memory) = _glewSearchExtension("GL_AMD_pinned_memory", extStart, extEnd); -#endif /* GL_AMD_pinned_memory */ -#ifdef GL_AMD_query_buffer_object - CONST_CAST(GLEW_AMD_query_buffer_object) = _glewSearchExtension("GL_AMD_query_buffer_object", extStart, extEnd); -#endif /* GL_AMD_query_buffer_object */ -#ifdef GL_AMD_sample_positions - CONST_CAST(GLEW_AMD_sample_positions) = _glewSearchExtension("GL_AMD_sample_positions", extStart, extEnd); - if (glewExperimental || GLEW_AMD_sample_positions) CONST_CAST(GLEW_AMD_sample_positions) = !_glewInit_GL_AMD_sample_positions(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_AMD_sample_positions */ -#ifdef GL_AMD_seamless_cubemap_per_texture - CONST_CAST(GLEW_AMD_seamless_cubemap_per_texture) = _glewSearchExtension("GL_AMD_seamless_cubemap_per_texture", extStart, extEnd); -#endif /* GL_AMD_seamless_cubemap_per_texture */ -#ifdef GL_AMD_shader_stencil_export - CONST_CAST(GLEW_AMD_shader_stencil_export) = _glewSearchExtension("GL_AMD_shader_stencil_export", extStart, extEnd); -#endif /* GL_AMD_shader_stencil_export */ -#ifdef GL_AMD_stencil_operation_extended - CONST_CAST(GLEW_AMD_stencil_operation_extended) = _glewSearchExtension("GL_AMD_stencil_operation_extended", extStart, extEnd); - if (glewExperimental || GLEW_AMD_stencil_operation_extended) CONST_CAST(GLEW_AMD_stencil_operation_extended) = !_glewInit_GL_AMD_stencil_operation_extended(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_AMD_stencil_operation_extended */ -#ifdef GL_AMD_texture_texture4 - CONST_CAST(GLEW_AMD_texture_texture4) = _glewSearchExtension("GL_AMD_texture_texture4", extStart, extEnd); -#endif /* GL_AMD_texture_texture4 */ -#ifdef GL_AMD_transform_feedback3_lines_triangles - CONST_CAST(GLEW_AMD_transform_feedback3_lines_triangles) = _glewSearchExtension("GL_AMD_transform_feedback3_lines_triangles", extStart, extEnd); -#endif /* GL_AMD_transform_feedback3_lines_triangles */ -#ifdef GL_AMD_vertex_shader_layer - CONST_CAST(GLEW_AMD_vertex_shader_layer) = _glewSearchExtension("GL_AMD_vertex_shader_layer", extStart, extEnd); -#endif /* GL_AMD_vertex_shader_layer */ -#ifdef GL_AMD_vertex_shader_tessellator - CONST_CAST(GLEW_AMD_vertex_shader_tessellator) = _glewSearchExtension("GL_AMD_vertex_shader_tessellator", extStart, extEnd); - if (glewExperimental || GLEW_AMD_vertex_shader_tessellator) CONST_CAST(GLEW_AMD_vertex_shader_tessellator) = !_glewInit_GL_AMD_vertex_shader_tessellator(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_AMD_vertex_shader_tessellator */ -#ifdef GL_AMD_vertex_shader_viewport_index - CONST_CAST(GLEW_AMD_vertex_shader_viewport_index) = _glewSearchExtension("GL_AMD_vertex_shader_viewport_index", extStart, extEnd); -#endif /* GL_AMD_vertex_shader_viewport_index */ -#ifdef GL_APPLE_aux_depth_stencil - CONST_CAST(GLEW_APPLE_aux_depth_stencil) = _glewSearchExtension("GL_APPLE_aux_depth_stencil", extStart, extEnd); -#endif /* GL_APPLE_aux_depth_stencil */ -#ifdef GL_APPLE_client_storage - CONST_CAST(GLEW_APPLE_client_storage) = _glewSearchExtension("GL_APPLE_client_storage", extStart, extEnd); -#endif /* GL_APPLE_client_storage */ -#ifdef GL_APPLE_element_array - CONST_CAST(GLEW_APPLE_element_array) = _glewSearchExtension("GL_APPLE_element_array", extStart, extEnd); - if (glewExperimental || GLEW_APPLE_element_array) CONST_CAST(GLEW_APPLE_element_array) = !_glewInit_GL_APPLE_element_array(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_APPLE_element_array */ -#ifdef GL_APPLE_fence - CONST_CAST(GLEW_APPLE_fence) = _glewSearchExtension("GL_APPLE_fence", extStart, extEnd); - if (glewExperimental || GLEW_APPLE_fence) CONST_CAST(GLEW_APPLE_fence) = !_glewInit_GL_APPLE_fence(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_APPLE_fence */ -#ifdef GL_APPLE_float_pixels - CONST_CAST(GLEW_APPLE_float_pixels) = _glewSearchExtension("GL_APPLE_float_pixels", extStart, extEnd); -#endif /* GL_APPLE_float_pixels */ -#ifdef GL_APPLE_flush_buffer_range - CONST_CAST(GLEW_APPLE_flush_buffer_range) = _glewSearchExtension("GL_APPLE_flush_buffer_range", extStart, extEnd); - if (glewExperimental || GLEW_APPLE_flush_buffer_range) CONST_CAST(GLEW_APPLE_flush_buffer_range) = !_glewInit_GL_APPLE_flush_buffer_range(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_APPLE_flush_buffer_range */ -#ifdef GL_APPLE_object_purgeable - CONST_CAST(GLEW_APPLE_object_purgeable) = _glewSearchExtension("GL_APPLE_object_purgeable", extStart, extEnd); - if (glewExperimental || GLEW_APPLE_object_purgeable) CONST_CAST(GLEW_APPLE_object_purgeable) = !_glewInit_GL_APPLE_object_purgeable(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_APPLE_object_purgeable */ -#ifdef GL_APPLE_pixel_buffer - CONST_CAST(GLEW_APPLE_pixel_buffer) = _glewSearchExtension("GL_APPLE_pixel_buffer", extStart, extEnd); -#endif /* GL_APPLE_pixel_buffer */ -#ifdef GL_APPLE_rgb_422 - CONST_CAST(GLEW_APPLE_rgb_422) = _glewSearchExtension("GL_APPLE_rgb_422", extStart, extEnd); -#endif /* GL_APPLE_rgb_422 */ -#ifdef GL_APPLE_row_bytes - CONST_CAST(GLEW_APPLE_row_bytes) = _glewSearchExtension("GL_APPLE_row_bytes", extStart, extEnd); -#endif /* GL_APPLE_row_bytes */ -#ifdef GL_APPLE_specular_vector - CONST_CAST(GLEW_APPLE_specular_vector) = _glewSearchExtension("GL_APPLE_specular_vector", extStart, extEnd); -#endif /* GL_APPLE_specular_vector */ -#ifdef GL_APPLE_texture_range - CONST_CAST(GLEW_APPLE_texture_range) = _glewSearchExtension("GL_APPLE_texture_range", extStart, extEnd); - if (glewExperimental || GLEW_APPLE_texture_range) CONST_CAST(GLEW_APPLE_texture_range) = !_glewInit_GL_APPLE_texture_range(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_APPLE_texture_range */ -#ifdef GL_APPLE_transform_hint - CONST_CAST(GLEW_APPLE_transform_hint) = _glewSearchExtension("GL_APPLE_transform_hint", extStart, extEnd); -#endif /* GL_APPLE_transform_hint */ -#ifdef GL_APPLE_vertex_array_object - CONST_CAST(GLEW_APPLE_vertex_array_object) = _glewSearchExtension("GL_APPLE_vertex_array_object", extStart, extEnd); - if (glewExperimental || GLEW_APPLE_vertex_array_object) CONST_CAST(GLEW_APPLE_vertex_array_object) = !_glewInit_GL_APPLE_vertex_array_object(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_APPLE_vertex_array_object */ -#ifdef GL_APPLE_vertex_array_range - CONST_CAST(GLEW_APPLE_vertex_array_range) = _glewSearchExtension("GL_APPLE_vertex_array_range", extStart, extEnd); - if (glewExperimental || GLEW_APPLE_vertex_array_range) CONST_CAST(GLEW_APPLE_vertex_array_range) = !_glewInit_GL_APPLE_vertex_array_range(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_APPLE_vertex_array_range */ -#ifdef GL_APPLE_vertex_program_evaluators - CONST_CAST(GLEW_APPLE_vertex_program_evaluators) = _glewSearchExtension("GL_APPLE_vertex_program_evaluators", extStart, extEnd); - if (glewExperimental || GLEW_APPLE_vertex_program_evaluators) CONST_CAST(GLEW_APPLE_vertex_program_evaluators) = !_glewInit_GL_APPLE_vertex_program_evaluators(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_APPLE_vertex_program_evaluators */ -#ifdef GL_APPLE_ycbcr_422 - CONST_CAST(GLEW_APPLE_ycbcr_422) = _glewSearchExtension("GL_APPLE_ycbcr_422", extStart, extEnd); -#endif /* GL_APPLE_ycbcr_422 */ -#ifdef GL_ARB_ES2_compatibility - CONST_CAST(GLEW_ARB_ES2_compatibility) = _glewSearchExtension("GL_ARB_ES2_compatibility", extStart, extEnd); - if (glewExperimental || GLEW_ARB_ES2_compatibility) CONST_CAST(GLEW_ARB_ES2_compatibility) = !_glewInit_GL_ARB_ES2_compatibility(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_ES2_compatibility */ -#ifdef GL_ARB_ES3_compatibility - CONST_CAST(GLEW_ARB_ES3_compatibility) = _glewSearchExtension("GL_ARB_ES3_compatibility", extStart, extEnd); -#endif /* GL_ARB_ES3_compatibility */ -#ifdef GL_ARB_arrays_of_arrays - CONST_CAST(GLEW_ARB_arrays_of_arrays) = _glewSearchExtension("GL_ARB_arrays_of_arrays", extStart, extEnd); -#endif /* GL_ARB_arrays_of_arrays */ -#ifdef GL_ARB_base_instance - CONST_CAST(GLEW_ARB_base_instance) = _glewSearchExtension("GL_ARB_base_instance", extStart, extEnd); - if (glewExperimental || GLEW_ARB_base_instance) CONST_CAST(GLEW_ARB_base_instance) = !_glewInit_GL_ARB_base_instance(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_base_instance */ -#ifdef GL_ARB_blend_func_extended - CONST_CAST(GLEW_ARB_blend_func_extended) = _glewSearchExtension("GL_ARB_blend_func_extended", extStart, extEnd); - if (glewExperimental || GLEW_ARB_blend_func_extended) CONST_CAST(GLEW_ARB_blend_func_extended) = !_glewInit_GL_ARB_blend_func_extended(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_blend_func_extended */ -#ifdef GL_ARB_cl_event - CONST_CAST(GLEW_ARB_cl_event) = _glewSearchExtension("GL_ARB_cl_event", extStart, extEnd); - if (glewExperimental || GLEW_ARB_cl_event) CONST_CAST(GLEW_ARB_cl_event) = !_glewInit_GL_ARB_cl_event(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_cl_event */ -#ifdef GL_ARB_clear_buffer_object - CONST_CAST(GLEW_ARB_clear_buffer_object) = _glewSearchExtension("GL_ARB_clear_buffer_object", extStart, extEnd); - if (glewExperimental || GLEW_ARB_clear_buffer_object) CONST_CAST(GLEW_ARB_clear_buffer_object) = !_glewInit_GL_ARB_clear_buffer_object(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_clear_buffer_object */ -#ifdef GL_ARB_color_buffer_float - CONST_CAST(GLEW_ARB_color_buffer_float) = _glewSearchExtension("GL_ARB_color_buffer_float", extStart, extEnd); - if (glewExperimental || GLEW_ARB_color_buffer_float) CONST_CAST(GLEW_ARB_color_buffer_float) = !_glewInit_GL_ARB_color_buffer_float(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_color_buffer_float */ -#ifdef GL_ARB_compatibility - CONST_CAST(GLEW_ARB_compatibility) = _glewSearchExtension("GL_ARB_compatibility", extStart, extEnd); -#endif /* GL_ARB_compatibility */ -#ifdef GL_ARB_compressed_texture_pixel_storage - CONST_CAST(GLEW_ARB_compressed_texture_pixel_storage) = _glewSearchExtension("GL_ARB_compressed_texture_pixel_storage", extStart, extEnd); -#endif /* GL_ARB_compressed_texture_pixel_storage */ -#ifdef GL_ARB_compute_shader - CONST_CAST(GLEW_ARB_compute_shader) = _glewSearchExtension("GL_ARB_compute_shader", extStart, extEnd); - if (glewExperimental || GLEW_ARB_compute_shader) CONST_CAST(GLEW_ARB_compute_shader) = !_glewInit_GL_ARB_compute_shader(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_compute_shader */ -#ifdef GL_ARB_conservative_depth - CONST_CAST(GLEW_ARB_conservative_depth) = _glewSearchExtension("GL_ARB_conservative_depth", extStart, extEnd); -#endif /* GL_ARB_conservative_depth */ -#ifdef GL_ARB_copy_buffer - CONST_CAST(GLEW_ARB_copy_buffer) = _glewSearchExtension("GL_ARB_copy_buffer", extStart, extEnd); - if (glewExperimental || GLEW_ARB_copy_buffer) CONST_CAST(GLEW_ARB_copy_buffer) = !_glewInit_GL_ARB_copy_buffer(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_copy_buffer */ -#ifdef GL_ARB_copy_image - CONST_CAST(GLEW_ARB_copy_image) = _glewSearchExtension("GL_ARB_copy_image", extStart, extEnd); - if (glewExperimental || GLEW_ARB_copy_image) CONST_CAST(GLEW_ARB_copy_image) = !_glewInit_GL_ARB_copy_image(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_copy_image */ -#ifdef GL_ARB_debug_output - CONST_CAST(GLEW_ARB_debug_output) = _glewSearchExtension("GL_ARB_debug_output", extStart, extEnd); - if (glewExperimental || GLEW_ARB_debug_output) CONST_CAST(GLEW_ARB_debug_output) = !_glewInit_GL_ARB_debug_output(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_debug_output */ -#ifdef GL_ARB_depth_buffer_float - CONST_CAST(GLEW_ARB_depth_buffer_float) = _glewSearchExtension("GL_ARB_depth_buffer_float", extStart, extEnd); -#endif /* GL_ARB_depth_buffer_float */ -#ifdef GL_ARB_depth_clamp - CONST_CAST(GLEW_ARB_depth_clamp) = _glewSearchExtension("GL_ARB_depth_clamp", extStart, extEnd); -#endif /* GL_ARB_depth_clamp */ -#ifdef GL_ARB_depth_texture - CONST_CAST(GLEW_ARB_depth_texture) = _glewSearchExtension("GL_ARB_depth_texture", extStart, extEnd); -#endif /* GL_ARB_depth_texture */ -#ifdef GL_ARB_draw_buffers - CONST_CAST(GLEW_ARB_draw_buffers) = _glewSearchExtension("GL_ARB_draw_buffers", extStart, extEnd); - if (glewExperimental || GLEW_ARB_draw_buffers) CONST_CAST(GLEW_ARB_draw_buffers) = !_glewInit_GL_ARB_draw_buffers(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_draw_buffers */ -#ifdef GL_ARB_draw_buffers_blend - CONST_CAST(GLEW_ARB_draw_buffers_blend) = _glewSearchExtension("GL_ARB_draw_buffers_blend", extStart, extEnd); - if (glewExperimental || GLEW_ARB_draw_buffers_blend) CONST_CAST(GLEW_ARB_draw_buffers_blend) = !_glewInit_GL_ARB_draw_buffers_blend(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_draw_buffers_blend */ -#ifdef GL_ARB_draw_elements_base_vertex - CONST_CAST(GLEW_ARB_draw_elements_base_vertex) = _glewSearchExtension("GL_ARB_draw_elements_base_vertex", extStart, extEnd); - if (glewExperimental || GLEW_ARB_draw_elements_base_vertex) CONST_CAST(GLEW_ARB_draw_elements_base_vertex) = !_glewInit_GL_ARB_draw_elements_base_vertex(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_draw_elements_base_vertex */ -#ifdef GL_ARB_draw_indirect - CONST_CAST(GLEW_ARB_draw_indirect) = _glewSearchExtension("GL_ARB_draw_indirect", extStart, extEnd); - if (glewExperimental || GLEW_ARB_draw_indirect) CONST_CAST(GLEW_ARB_draw_indirect) = !_glewInit_GL_ARB_draw_indirect(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_draw_indirect */ -#ifdef GL_ARB_draw_instanced - CONST_CAST(GLEW_ARB_draw_instanced) = _glewSearchExtension("GL_ARB_draw_instanced", extStart, extEnd); -#endif /* GL_ARB_draw_instanced */ -#ifdef GL_ARB_explicit_attrib_location - CONST_CAST(GLEW_ARB_explicit_attrib_location) = _glewSearchExtension("GL_ARB_explicit_attrib_location", extStart, extEnd); -#endif /* GL_ARB_explicit_attrib_location */ -#ifdef GL_ARB_explicit_uniform_location - CONST_CAST(GLEW_ARB_explicit_uniform_location) = _glewSearchExtension("GL_ARB_explicit_uniform_location", extStart, extEnd); -#endif /* GL_ARB_explicit_uniform_location */ -#ifdef GL_ARB_fragment_coord_conventions - CONST_CAST(GLEW_ARB_fragment_coord_conventions) = _glewSearchExtension("GL_ARB_fragment_coord_conventions", extStart, extEnd); -#endif /* GL_ARB_fragment_coord_conventions */ -#ifdef GL_ARB_fragment_layer_viewport - CONST_CAST(GLEW_ARB_fragment_layer_viewport) = _glewSearchExtension("GL_ARB_fragment_layer_viewport", extStart, extEnd); -#endif /* GL_ARB_fragment_layer_viewport */ -#ifdef GL_ARB_fragment_program - CONST_CAST(GLEW_ARB_fragment_program) = _glewSearchExtension("GL_ARB_fragment_program", extStart, extEnd); -#endif /* GL_ARB_fragment_program */ -#ifdef GL_ARB_fragment_program_shadow - CONST_CAST(GLEW_ARB_fragment_program_shadow) = _glewSearchExtension("GL_ARB_fragment_program_shadow", extStart, extEnd); -#endif /* GL_ARB_fragment_program_shadow */ -#ifdef GL_ARB_fragment_shader - CONST_CAST(GLEW_ARB_fragment_shader) = _glewSearchExtension("GL_ARB_fragment_shader", extStart, extEnd); -#endif /* GL_ARB_fragment_shader */ -#ifdef GL_ARB_framebuffer_no_attachments - CONST_CAST(GLEW_ARB_framebuffer_no_attachments) = _glewSearchExtension("GL_ARB_framebuffer_no_attachments", extStart, extEnd); - if (glewExperimental || GLEW_ARB_framebuffer_no_attachments) CONST_CAST(GLEW_ARB_framebuffer_no_attachments) = !_glewInit_GL_ARB_framebuffer_no_attachments(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_framebuffer_no_attachments */ -#ifdef GL_ARB_framebuffer_object - CONST_CAST(GLEW_ARB_framebuffer_object) = _glewSearchExtension("GL_ARB_framebuffer_object", extStart, extEnd); - if (glewExperimental || GLEW_ARB_framebuffer_object) CONST_CAST(GLEW_ARB_framebuffer_object) = !_glewInit_GL_ARB_framebuffer_object(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_framebuffer_object */ -#ifdef GL_ARB_framebuffer_sRGB - CONST_CAST(GLEW_ARB_framebuffer_sRGB) = _glewSearchExtension("GL_ARB_framebuffer_sRGB", extStart, extEnd); -#endif /* GL_ARB_framebuffer_sRGB */ -#ifdef GL_ARB_geometry_shader4 - CONST_CAST(GLEW_ARB_geometry_shader4) = _glewSearchExtension("GL_ARB_geometry_shader4", extStart, extEnd); - if (glewExperimental || GLEW_ARB_geometry_shader4) CONST_CAST(GLEW_ARB_geometry_shader4) = !_glewInit_GL_ARB_geometry_shader4(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_geometry_shader4 */ -#ifdef GL_ARB_get_program_binary - CONST_CAST(GLEW_ARB_get_program_binary) = _glewSearchExtension("GL_ARB_get_program_binary", extStart, extEnd); - if (glewExperimental || GLEW_ARB_get_program_binary) CONST_CAST(GLEW_ARB_get_program_binary) = !_glewInit_GL_ARB_get_program_binary(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_get_program_binary */ -#ifdef GL_ARB_gpu_shader5 - CONST_CAST(GLEW_ARB_gpu_shader5) = _glewSearchExtension("GL_ARB_gpu_shader5", extStart, extEnd); -#endif /* GL_ARB_gpu_shader5 */ -#ifdef GL_ARB_gpu_shader_fp64 - CONST_CAST(GLEW_ARB_gpu_shader_fp64) = _glewSearchExtension("GL_ARB_gpu_shader_fp64", extStart, extEnd); - if (glewExperimental || GLEW_ARB_gpu_shader_fp64) CONST_CAST(GLEW_ARB_gpu_shader_fp64) = !_glewInit_GL_ARB_gpu_shader_fp64(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_gpu_shader_fp64 */ -#ifdef GL_ARB_half_float_pixel - CONST_CAST(GLEW_ARB_half_float_pixel) = _glewSearchExtension("GL_ARB_half_float_pixel", extStart, extEnd); -#endif /* GL_ARB_half_float_pixel */ -#ifdef GL_ARB_half_float_vertex - CONST_CAST(GLEW_ARB_half_float_vertex) = _glewSearchExtension("GL_ARB_half_float_vertex", extStart, extEnd); -#endif /* GL_ARB_half_float_vertex */ -#ifdef GL_ARB_imaging - CONST_CAST(GLEW_ARB_imaging) = _glewSearchExtension("GL_ARB_imaging", extStart, extEnd); - if (glewExperimental || GLEW_ARB_imaging) CONST_CAST(GLEW_ARB_imaging) = !_glewInit_GL_ARB_imaging(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_imaging */ -#ifdef GL_ARB_instanced_arrays - CONST_CAST(GLEW_ARB_instanced_arrays) = _glewSearchExtension("GL_ARB_instanced_arrays", extStart, extEnd); - if (glewExperimental || GLEW_ARB_instanced_arrays) CONST_CAST(GLEW_ARB_instanced_arrays) = !_glewInit_GL_ARB_instanced_arrays(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_instanced_arrays */ -#ifdef GL_ARB_internalformat_query - CONST_CAST(GLEW_ARB_internalformat_query) = _glewSearchExtension("GL_ARB_internalformat_query", extStart, extEnd); - if (glewExperimental || GLEW_ARB_internalformat_query) CONST_CAST(GLEW_ARB_internalformat_query) = !_glewInit_GL_ARB_internalformat_query(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_internalformat_query */ -#ifdef GL_ARB_internalformat_query2 - CONST_CAST(GLEW_ARB_internalformat_query2) = _glewSearchExtension("GL_ARB_internalformat_query2", extStart, extEnd); - if (glewExperimental || GLEW_ARB_internalformat_query2) CONST_CAST(GLEW_ARB_internalformat_query2) = !_glewInit_GL_ARB_internalformat_query2(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_internalformat_query2 */ -#ifdef GL_ARB_invalidate_subdata - CONST_CAST(GLEW_ARB_invalidate_subdata) = _glewSearchExtension("GL_ARB_invalidate_subdata", extStart, extEnd); - if (glewExperimental || GLEW_ARB_invalidate_subdata) CONST_CAST(GLEW_ARB_invalidate_subdata) = !_glewInit_GL_ARB_invalidate_subdata(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_invalidate_subdata */ -#ifdef GL_ARB_map_buffer_alignment - CONST_CAST(GLEW_ARB_map_buffer_alignment) = _glewSearchExtension("GL_ARB_map_buffer_alignment", extStart, extEnd); -#endif /* GL_ARB_map_buffer_alignment */ -#ifdef GL_ARB_map_buffer_range - CONST_CAST(GLEW_ARB_map_buffer_range) = _glewSearchExtension("GL_ARB_map_buffer_range", extStart, extEnd); - if (glewExperimental || GLEW_ARB_map_buffer_range) CONST_CAST(GLEW_ARB_map_buffer_range) = !_glewInit_GL_ARB_map_buffer_range(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_map_buffer_range */ -#ifdef GL_ARB_matrix_palette - CONST_CAST(GLEW_ARB_matrix_palette) = _glewSearchExtension("GL_ARB_matrix_palette", extStart, extEnd); - if (glewExperimental || GLEW_ARB_matrix_palette) CONST_CAST(GLEW_ARB_matrix_palette) = !_glewInit_GL_ARB_matrix_palette(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_matrix_palette */ -#ifdef GL_ARB_multi_draw_indirect - CONST_CAST(GLEW_ARB_multi_draw_indirect) = _glewSearchExtension("GL_ARB_multi_draw_indirect", extStart, extEnd); - if (glewExperimental || GLEW_ARB_multi_draw_indirect) CONST_CAST(GLEW_ARB_multi_draw_indirect) = !_glewInit_GL_ARB_multi_draw_indirect(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_multi_draw_indirect */ -#ifdef GL_ARB_multisample - CONST_CAST(GLEW_ARB_multisample) = _glewSearchExtension("GL_ARB_multisample", extStart, extEnd); - if (glewExperimental || GLEW_ARB_multisample) CONST_CAST(GLEW_ARB_multisample) = !_glewInit_GL_ARB_multisample(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_multisample */ -#ifdef GL_ARB_multitexture - CONST_CAST(GLEW_ARB_multitexture) = _glewSearchExtension("GL_ARB_multitexture", extStart, extEnd); - if (glewExperimental || GLEW_ARB_multitexture) CONST_CAST(GLEW_ARB_multitexture) = !_glewInit_GL_ARB_multitexture(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_multitexture */ -#ifdef GL_ARB_occlusion_query - CONST_CAST(GLEW_ARB_occlusion_query) = _glewSearchExtension("GL_ARB_occlusion_query", extStart, extEnd); - if (glewExperimental || GLEW_ARB_occlusion_query) CONST_CAST(GLEW_ARB_occlusion_query) = !_glewInit_GL_ARB_occlusion_query(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_occlusion_query */ -#ifdef GL_ARB_occlusion_query2 - CONST_CAST(GLEW_ARB_occlusion_query2) = _glewSearchExtension("GL_ARB_occlusion_query2", extStart, extEnd); -#endif /* GL_ARB_occlusion_query2 */ -#ifdef GL_ARB_pixel_buffer_object - CONST_CAST(GLEW_ARB_pixel_buffer_object) = _glewSearchExtension("GL_ARB_pixel_buffer_object", extStart, extEnd); -#endif /* GL_ARB_pixel_buffer_object */ -#ifdef GL_ARB_point_parameters - CONST_CAST(GLEW_ARB_point_parameters) = _glewSearchExtension("GL_ARB_point_parameters", extStart, extEnd); - if (glewExperimental || GLEW_ARB_point_parameters) CONST_CAST(GLEW_ARB_point_parameters) = !_glewInit_GL_ARB_point_parameters(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_point_parameters */ -#ifdef GL_ARB_point_sprite - CONST_CAST(GLEW_ARB_point_sprite) = _glewSearchExtension("GL_ARB_point_sprite", extStart, extEnd); -#endif /* GL_ARB_point_sprite */ -#ifdef GL_ARB_program_interface_query - CONST_CAST(GLEW_ARB_program_interface_query) = _glewSearchExtension("GL_ARB_program_interface_query", extStart, extEnd); - if (glewExperimental || GLEW_ARB_program_interface_query) CONST_CAST(GLEW_ARB_program_interface_query) = !_glewInit_GL_ARB_program_interface_query(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_program_interface_query */ -#ifdef GL_ARB_provoking_vertex - CONST_CAST(GLEW_ARB_provoking_vertex) = _glewSearchExtension("GL_ARB_provoking_vertex", extStart, extEnd); - if (glewExperimental || GLEW_ARB_provoking_vertex) CONST_CAST(GLEW_ARB_provoking_vertex) = !_glewInit_GL_ARB_provoking_vertex(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_provoking_vertex */ -#ifdef GL_ARB_robust_buffer_access_behavior - CONST_CAST(GLEW_ARB_robust_buffer_access_behavior) = _glewSearchExtension("GL_ARB_robust_buffer_access_behavior", extStart, extEnd); -#endif /* GL_ARB_robust_buffer_access_behavior */ -#ifdef GL_ARB_robustness - CONST_CAST(GLEW_ARB_robustness) = _glewSearchExtension("GL_ARB_robustness", extStart, extEnd); - if (glewExperimental || GLEW_ARB_robustness) CONST_CAST(GLEW_ARB_robustness) = !_glewInit_GL_ARB_robustness(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_robustness */ -#ifdef GL_ARB_robustness_application_isolation - CONST_CAST(GLEW_ARB_robustness_application_isolation) = _glewSearchExtension("GL_ARB_robustness_application_isolation", extStart, extEnd); -#endif /* GL_ARB_robustness_application_isolation */ -#ifdef GL_ARB_robustness_share_group_isolation - CONST_CAST(GLEW_ARB_robustness_share_group_isolation) = _glewSearchExtension("GL_ARB_robustness_share_group_isolation", extStart, extEnd); -#endif /* GL_ARB_robustness_share_group_isolation */ -#ifdef GL_ARB_sample_shading - CONST_CAST(GLEW_ARB_sample_shading) = _glewSearchExtension("GL_ARB_sample_shading", extStart, extEnd); - if (glewExperimental || GLEW_ARB_sample_shading) CONST_CAST(GLEW_ARB_sample_shading) = !_glewInit_GL_ARB_sample_shading(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_sample_shading */ -#ifdef GL_ARB_sampler_objects - CONST_CAST(GLEW_ARB_sampler_objects) = _glewSearchExtension("GL_ARB_sampler_objects", extStart, extEnd); - if (glewExperimental || GLEW_ARB_sampler_objects) CONST_CAST(GLEW_ARB_sampler_objects) = !_glewInit_GL_ARB_sampler_objects(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_sampler_objects */ -#ifdef GL_ARB_seamless_cube_map - CONST_CAST(GLEW_ARB_seamless_cube_map) = _glewSearchExtension("GL_ARB_seamless_cube_map", extStart, extEnd); -#endif /* GL_ARB_seamless_cube_map */ -#ifdef GL_ARB_separate_shader_objects - CONST_CAST(GLEW_ARB_separate_shader_objects) = _glewSearchExtension("GL_ARB_separate_shader_objects", extStart, extEnd); - if (glewExperimental || GLEW_ARB_separate_shader_objects) CONST_CAST(GLEW_ARB_separate_shader_objects) = !_glewInit_GL_ARB_separate_shader_objects(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_separate_shader_objects */ -#ifdef GL_ARB_shader_atomic_counters - CONST_CAST(GLEW_ARB_shader_atomic_counters) = _glewSearchExtension("GL_ARB_shader_atomic_counters", extStart, extEnd); - if (glewExperimental || GLEW_ARB_shader_atomic_counters) CONST_CAST(GLEW_ARB_shader_atomic_counters) = !_glewInit_GL_ARB_shader_atomic_counters(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_shader_atomic_counters */ -#ifdef GL_ARB_shader_bit_encoding - CONST_CAST(GLEW_ARB_shader_bit_encoding) = _glewSearchExtension("GL_ARB_shader_bit_encoding", extStart, extEnd); -#endif /* GL_ARB_shader_bit_encoding */ -#ifdef GL_ARB_shader_image_load_store - CONST_CAST(GLEW_ARB_shader_image_load_store) = _glewSearchExtension("GL_ARB_shader_image_load_store", extStart, extEnd); - if (glewExperimental || GLEW_ARB_shader_image_load_store) CONST_CAST(GLEW_ARB_shader_image_load_store) = !_glewInit_GL_ARB_shader_image_load_store(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_shader_image_load_store */ -#ifdef GL_ARB_shader_image_size - CONST_CAST(GLEW_ARB_shader_image_size) = _glewSearchExtension("GL_ARB_shader_image_size", extStart, extEnd); -#endif /* GL_ARB_shader_image_size */ -#ifdef GL_ARB_shader_objects - CONST_CAST(GLEW_ARB_shader_objects) = _glewSearchExtension("GL_ARB_shader_objects", extStart, extEnd); - if (glewExperimental || GLEW_ARB_shader_objects) CONST_CAST(GLEW_ARB_shader_objects) = !_glewInit_GL_ARB_shader_objects(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_shader_objects */ -#ifdef GL_ARB_shader_precision - CONST_CAST(GLEW_ARB_shader_precision) = _glewSearchExtension("GL_ARB_shader_precision", extStart, extEnd); -#endif /* GL_ARB_shader_precision */ -#ifdef GL_ARB_shader_stencil_export - CONST_CAST(GLEW_ARB_shader_stencil_export) = _glewSearchExtension("GL_ARB_shader_stencil_export", extStart, extEnd); -#endif /* GL_ARB_shader_stencil_export */ -#ifdef GL_ARB_shader_storage_buffer_object - CONST_CAST(GLEW_ARB_shader_storage_buffer_object) = _glewSearchExtension("GL_ARB_shader_storage_buffer_object", extStart, extEnd); - if (glewExperimental || GLEW_ARB_shader_storage_buffer_object) CONST_CAST(GLEW_ARB_shader_storage_buffer_object) = !_glewInit_GL_ARB_shader_storage_buffer_object(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_shader_storage_buffer_object */ -#ifdef GL_ARB_shader_subroutine - CONST_CAST(GLEW_ARB_shader_subroutine) = _glewSearchExtension("GL_ARB_shader_subroutine", extStart, extEnd); - if (glewExperimental || GLEW_ARB_shader_subroutine) CONST_CAST(GLEW_ARB_shader_subroutine) = !_glewInit_GL_ARB_shader_subroutine(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_shader_subroutine */ -#ifdef GL_ARB_shader_texture_lod - CONST_CAST(GLEW_ARB_shader_texture_lod) = _glewSearchExtension("GL_ARB_shader_texture_lod", extStart, extEnd); -#endif /* GL_ARB_shader_texture_lod */ -#ifdef GL_ARB_shading_language_100 - CONST_CAST(GLEW_ARB_shading_language_100) = _glewSearchExtension("GL_ARB_shading_language_100", extStart, extEnd); -#endif /* GL_ARB_shading_language_100 */ -#ifdef GL_ARB_shading_language_420pack - CONST_CAST(GLEW_ARB_shading_language_420pack) = _glewSearchExtension("GL_ARB_shading_language_420pack", extStart, extEnd); -#endif /* GL_ARB_shading_language_420pack */ -#ifdef GL_ARB_shading_language_include - CONST_CAST(GLEW_ARB_shading_language_include) = _glewSearchExtension("GL_ARB_shading_language_include", extStart, extEnd); - if (glewExperimental || GLEW_ARB_shading_language_include) CONST_CAST(GLEW_ARB_shading_language_include) = !_glewInit_GL_ARB_shading_language_include(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_shading_language_include */ -#ifdef GL_ARB_shading_language_packing - CONST_CAST(GLEW_ARB_shading_language_packing) = _glewSearchExtension("GL_ARB_shading_language_packing", extStart, extEnd); -#endif /* GL_ARB_shading_language_packing */ -#ifdef GL_ARB_shadow - CONST_CAST(GLEW_ARB_shadow) = _glewSearchExtension("GL_ARB_shadow", extStart, extEnd); -#endif /* GL_ARB_shadow */ -#ifdef GL_ARB_shadow_ambient - CONST_CAST(GLEW_ARB_shadow_ambient) = _glewSearchExtension("GL_ARB_shadow_ambient", extStart, extEnd); -#endif /* GL_ARB_shadow_ambient */ -#ifdef GL_ARB_stencil_texturing - CONST_CAST(GLEW_ARB_stencil_texturing) = _glewSearchExtension("GL_ARB_stencil_texturing", extStart, extEnd); -#endif /* GL_ARB_stencil_texturing */ -#ifdef GL_ARB_sync - CONST_CAST(GLEW_ARB_sync) = _glewSearchExtension("GL_ARB_sync", extStart, extEnd); - if (glewExperimental || GLEW_ARB_sync) CONST_CAST(GLEW_ARB_sync) = !_glewInit_GL_ARB_sync(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_sync */ -#ifdef GL_ARB_tessellation_shader - CONST_CAST(GLEW_ARB_tessellation_shader) = _glewSearchExtension("GL_ARB_tessellation_shader", extStart, extEnd); - if (glewExperimental || GLEW_ARB_tessellation_shader) CONST_CAST(GLEW_ARB_tessellation_shader) = !_glewInit_GL_ARB_tessellation_shader(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_tessellation_shader */ -#ifdef GL_ARB_texture_border_clamp - CONST_CAST(GLEW_ARB_texture_border_clamp) = _glewSearchExtension("GL_ARB_texture_border_clamp", extStart, extEnd); -#endif /* GL_ARB_texture_border_clamp */ -#ifdef GL_ARB_texture_buffer_object - CONST_CAST(GLEW_ARB_texture_buffer_object) = _glewSearchExtension("GL_ARB_texture_buffer_object", extStart, extEnd); - if (glewExperimental || GLEW_ARB_texture_buffer_object) CONST_CAST(GLEW_ARB_texture_buffer_object) = !_glewInit_GL_ARB_texture_buffer_object(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_texture_buffer_object */ -#ifdef GL_ARB_texture_buffer_object_rgb32 - CONST_CAST(GLEW_ARB_texture_buffer_object_rgb32) = _glewSearchExtension("GL_ARB_texture_buffer_object_rgb32", extStart, extEnd); -#endif /* GL_ARB_texture_buffer_object_rgb32 */ -#ifdef GL_ARB_texture_buffer_range - CONST_CAST(GLEW_ARB_texture_buffer_range) = _glewSearchExtension("GL_ARB_texture_buffer_range", extStart, extEnd); - if (glewExperimental || GLEW_ARB_texture_buffer_range) CONST_CAST(GLEW_ARB_texture_buffer_range) = !_glewInit_GL_ARB_texture_buffer_range(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_texture_buffer_range */ -#ifdef GL_ARB_texture_compression - CONST_CAST(GLEW_ARB_texture_compression) = _glewSearchExtension("GL_ARB_texture_compression", extStart, extEnd); - if (glewExperimental || GLEW_ARB_texture_compression) CONST_CAST(GLEW_ARB_texture_compression) = !_glewInit_GL_ARB_texture_compression(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_texture_compression */ -#ifdef GL_ARB_texture_compression_bptc - CONST_CAST(GLEW_ARB_texture_compression_bptc) = _glewSearchExtension("GL_ARB_texture_compression_bptc", extStart, extEnd); -#endif /* GL_ARB_texture_compression_bptc */ -#ifdef GL_ARB_texture_compression_rgtc - CONST_CAST(GLEW_ARB_texture_compression_rgtc) = _glewSearchExtension("GL_ARB_texture_compression_rgtc", extStart, extEnd); -#endif /* GL_ARB_texture_compression_rgtc */ -#ifdef GL_ARB_texture_cube_map - CONST_CAST(GLEW_ARB_texture_cube_map) = _glewSearchExtension("GL_ARB_texture_cube_map", extStart, extEnd); -#endif /* GL_ARB_texture_cube_map */ -#ifdef GL_ARB_texture_cube_map_array - CONST_CAST(GLEW_ARB_texture_cube_map_array) = _glewSearchExtension("GL_ARB_texture_cube_map_array", extStart, extEnd); -#endif /* GL_ARB_texture_cube_map_array */ -#ifdef GL_ARB_texture_env_add - CONST_CAST(GLEW_ARB_texture_env_add) = _glewSearchExtension("GL_ARB_texture_env_add", extStart, extEnd); -#endif /* GL_ARB_texture_env_add */ -#ifdef GL_ARB_texture_env_combine - CONST_CAST(GLEW_ARB_texture_env_combine) = _glewSearchExtension("GL_ARB_texture_env_combine", extStart, extEnd); -#endif /* GL_ARB_texture_env_combine */ -#ifdef GL_ARB_texture_env_crossbar - CONST_CAST(GLEW_ARB_texture_env_crossbar) = _glewSearchExtension("GL_ARB_texture_env_crossbar", extStart, extEnd); -#endif /* GL_ARB_texture_env_crossbar */ -#ifdef GL_ARB_texture_env_dot3 - CONST_CAST(GLEW_ARB_texture_env_dot3) = _glewSearchExtension("GL_ARB_texture_env_dot3", extStart, extEnd); -#endif /* GL_ARB_texture_env_dot3 */ -#ifdef GL_ARB_texture_float - CONST_CAST(GLEW_ARB_texture_float) = _glewSearchExtension("GL_ARB_texture_float", extStart, extEnd); -#endif /* GL_ARB_texture_float */ -#ifdef GL_ARB_texture_gather - CONST_CAST(GLEW_ARB_texture_gather) = _glewSearchExtension("GL_ARB_texture_gather", extStart, extEnd); -#endif /* GL_ARB_texture_gather */ -#ifdef GL_ARB_texture_mirrored_repeat - CONST_CAST(GLEW_ARB_texture_mirrored_repeat) = _glewSearchExtension("GL_ARB_texture_mirrored_repeat", extStart, extEnd); -#endif /* GL_ARB_texture_mirrored_repeat */ -#ifdef GL_ARB_texture_multisample - CONST_CAST(GLEW_ARB_texture_multisample) = _glewSearchExtension("GL_ARB_texture_multisample", extStart, extEnd); - if (glewExperimental || GLEW_ARB_texture_multisample) CONST_CAST(GLEW_ARB_texture_multisample) = !_glewInit_GL_ARB_texture_multisample(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_texture_multisample */ -#ifdef GL_ARB_texture_non_power_of_two - CONST_CAST(GLEW_ARB_texture_non_power_of_two) = _glewSearchExtension("GL_ARB_texture_non_power_of_two", extStart, extEnd); -#endif /* GL_ARB_texture_non_power_of_two */ -#ifdef GL_ARB_texture_query_levels - CONST_CAST(GLEW_ARB_texture_query_levels) = _glewSearchExtension("GL_ARB_texture_query_levels", extStart, extEnd); -#endif /* GL_ARB_texture_query_levels */ -#ifdef GL_ARB_texture_query_lod - CONST_CAST(GLEW_ARB_texture_query_lod) = _glewSearchExtension("GL_ARB_texture_query_lod", extStart, extEnd); -#endif /* GL_ARB_texture_query_lod */ -#ifdef GL_ARB_texture_rectangle - CONST_CAST(GLEW_ARB_texture_rectangle) = _glewSearchExtension("GL_ARB_texture_rectangle", extStart, extEnd); -#endif /* GL_ARB_texture_rectangle */ -#ifdef GL_ARB_texture_rg - CONST_CAST(GLEW_ARB_texture_rg) = _glewSearchExtension("GL_ARB_texture_rg", extStart, extEnd); -#endif /* GL_ARB_texture_rg */ -#ifdef GL_ARB_texture_rgb10_a2ui - CONST_CAST(GLEW_ARB_texture_rgb10_a2ui) = _glewSearchExtension("GL_ARB_texture_rgb10_a2ui", extStart, extEnd); -#endif /* GL_ARB_texture_rgb10_a2ui */ -#ifdef GL_ARB_texture_storage - CONST_CAST(GLEW_ARB_texture_storage) = _glewSearchExtension("GL_ARB_texture_storage", extStart, extEnd); - if (glewExperimental || GLEW_ARB_texture_storage) CONST_CAST(GLEW_ARB_texture_storage) = !_glewInit_GL_ARB_texture_storage(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_texture_storage */ -#ifdef GL_ARB_texture_storage_multisample - CONST_CAST(GLEW_ARB_texture_storage_multisample) = _glewSearchExtension("GL_ARB_texture_storage_multisample", extStart, extEnd); - if (glewExperimental || GLEW_ARB_texture_storage_multisample) CONST_CAST(GLEW_ARB_texture_storage_multisample) = !_glewInit_GL_ARB_texture_storage_multisample(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_texture_storage_multisample */ -#ifdef GL_ARB_texture_swizzle - CONST_CAST(GLEW_ARB_texture_swizzle) = _glewSearchExtension("GL_ARB_texture_swizzle", extStart, extEnd); -#endif /* GL_ARB_texture_swizzle */ -#ifdef GL_ARB_texture_view - CONST_CAST(GLEW_ARB_texture_view) = _glewSearchExtension("GL_ARB_texture_view", extStart, extEnd); - if (glewExperimental || GLEW_ARB_texture_view) CONST_CAST(GLEW_ARB_texture_view) = !_glewInit_GL_ARB_texture_view(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_texture_view */ -#ifdef GL_ARB_timer_query - CONST_CAST(GLEW_ARB_timer_query) = _glewSearchExtension("GL_ARB_timer_query", extStart, extEnd); - if (glewExperimental || GLEW_ARB_timer_query) CONST_CAST(GLEW_ARB_timer_query) = !_glewInit_GL_ARB_timer_query(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_timer_query */ -#ifdef GL_ARB_transform_feedback2 - CONST_CAST(GLEW_ARB_transform_feedback2) = _glewSearchExtension("GL_ARB_transform_feedback2", extStart, extEnd); - if (glewExperimental || GLEW_ARB_transform_feedback2) CONST_CAST(GLEW_ARB_transform_feedback2) = !_glewInit_GL_ARB_transform_feedback2(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_transform_feedback2 */ -#ifdef GL_ARB_transform_feedback3 - CONST_CAST(GLEW_ARB_transform_feedback3) = _glewSearchExtension("GL_ARB_transform_feedback3", extStart, extEnd); - if (glewExperimental || GLEW_ARB_transform_feedback3) CONST_CAST(GLEW_ARB_transform_feedback3) = !_glewInit_GL_ARB_transform_feedback3(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_transform_feedback3 */ -#ifdef GL_ARB_transform_feedback_instanced - CONST_CAST(GLEW_ARB_transform_feedback_instanced) = _glewSearchExtension("GL_ARB_transform_feedback_instanced", extStart, extEnd); - if (glewExperimental || GLEW_ARB_transform_feedback_instanced) CONST_CAST(GLEW_ARB_transform_feedback_instanced) = !_glewInit_GL_ARB_transform_feedback_instanced(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_transform_feedback_instanced */ -#ifdef GL_ARB_transpose_matrix - CONST_CAST(GLEW_ARB_transpose_matrix) = _glewSearchExtension("GL_ARB_transpose_matrix", extStart, extEnd); - if (glewExperimental || GLEW_ARB_transpose_matrix) CONST_CAST(GLEW_ARB_transpose_matrix) = !_glewInit_GL_ARB_transpose_matrix(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_transpose_matrix */ -#ifdef GL_ARB_uniform_buffer_object - CONST_CAST(GLEW_ARB_uniform_buffer_object) = _glewSearchExtension("GL_ARB_uniform_buffer_object", extStart, extEnd); - if (glewExperimental || GLEW_ARB_uniform_buffer_object) CONST_CAST(GLEW_ARB_uniform_buffer_object) = !_glewInit_GL_ARB_uniform_buffer_object(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_uniform_buffer_object */ -#ifdef GL_ARB_vertex_array_bgra - CONST_CAST(GLEW_ARB_vertex_array_bgra) = _glewSearchExtension("GL_ARB_vertex_array_bgra", extStart, extEnd); -#endif /* GL_ARB_vertex_array_bgra */ -#ifdef GL_ARB_vertex_array_object - CONST_CAST(GLEW_ARB_vertex_array_object) = _glewSearchExtension("GL_ARB_vertex_array_object", extStart, extEnd); - if (glewExperimental || GLEW_ARB_vertex_array_object) CONST_CAST(GLEW_ARB_vertex_array_object) = !_glewInit_GL_ARB_vertex_array_object(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_vertex_array_object */ -#ifdef GL_ARB_vertex_attrib_64bit - CONST_CAST(GLEW_ARB_vertex_attrib_64bit) = _glewSearchExtension("GL_ARB_vertex_attrib_64bit", extStart, extEnd); - if (glewExperimental || GLEW_ARB_vertex_attrib_64bit) CONST_CAST(GLEW_ARB_vertex_attrib_64bit) = !_glewInit_GL_ARB_vertex_attrib_64bit(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_vertex_attrib_64bit */ -#ifdef GL_ARB_vertex_attrib_binding - CONST_CAST(GLEW_ARB_vertex_attrib_binding) = _glewSearchExtension("GL_ARB_vertex_attrib_binding", extStart, extEnd); - if (glewExperimental || GLEW_ARB_vertex_attrib_binding) CONST_CAST(GLEW_ARB_vertex_attrib_binding) = !_glewInit_GL_ARB_vertex_attrib_binding(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_vertex_attrib_binding */ -#ifdef GL_ARB_vertex_blend - CONST_CAST(GLEW_ARB_vertex_blend) = _glewSearchExtension("GL_ARB_vertex_blend", extStart, extEnd); - if (glewExperimental || GLEW_ARB_vertex_blend) CONST_CAST(GLEW_ARB_vertex_blend) = !_glewInit_GL_ARB_vertex_blend(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_vertex_blend */ -#ifdef GL_ARB_vertex_buffer_object - CONST_CAST(GLEW_ARB_vertex_buffer_object) = _glewSearchExtension("GL_ARB_vertex_buffer_object", extStart, extEnd); - if (glewExperimental || GLEW_ARB_vertex_buffer_object) CONST_CAST(GLEW_ARB_vertex_buffer_object) = !_glewInit_GL_ARB_vertex_buffer_object(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_vertex_buffer_object */ -#ifdef GL_ARB_vertex_program - CONST_CAST(GLEW_ARB_vertex_program) = _glewSearchExtension("GL_ARB_vertex_program", extStart, extEnd); - if (glewExperimental || GLEW_ARB_vertex_program) CONST_CAST(GLEW_ARB_vertex_program) = !_glewInit_GL_ARB_vertex_program(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_vertex_program */ -#ifdef GL_ARB_vertex_shader - CONST_CAST(GLEW_ARB_vertex_shader) = _glewSearchExtension("GL_ARB_vertex_shader", extStart, extEnd); - if (glewExperimental || GLEW_ARB_vertex_shader) CONST_CAST(GLEW_ARB_vertex_shader) = !_glewInit_GL_ARB_vertex_shader(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_vertex_shader */ -#ifdef GL_ARB_vertex_type_2_10_10_10_rev - CONST_CAST(GLEW_ARB_vertex_type_2_10_10_10_rev) = _glewSearchExtension("GL_ARB_vertex_type_2_10_10_10_rev", extStart, extEnd); - if (glewExperimental || GLEW_ARB_vertex_type_2_10_10_10_rev) CONST_CAST(GLEW_ARB_vertex_type_2_10_10_10_rev) = !_glewInit_GL_ARB_vertex_type_2_10_10_10_rev(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_vertex_type_2_10_10_10_rev */ -#ifdef GL_ARB_viewport_array - CONST_CAST(GLEW_ARB_viewport_array) = _glewSearchExtension("GL_ARB_viewport_array", extStart, extEnd); - if (glewExperimental || GLEW_ARB_viewport_array) CONST_CAST(GLEW_ARB_viewport_array) = !_glewInit_GL_ARB_viewport_array(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_viewport_array */ -#ifdef GL_ARB_window_pos - CONST_CAST(GLEW_ARB_window_pos) = _glewSearchExtension("GL_ARB_window_pos", extStart, extEnd); - if (glewExperimental || GLEW_ARB_window_pos) CONST_CAST(GLEW_ARB_window_pos) = !_glewInit_GL_ARB_window_pos(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ARB_window_pos */ -#ifdef GL_ATIX_point_sprites - CONST_CAST(GLEW_ATIX_point_sprites) = _glewSearchExtension("GL_ATIX_point_sprites", extStart, extEnd); -#endif /* GL_ATIX_point_sprites */ -#ifdef GL_ATIX_texture_env_combine3 - CONST_CAST(GLEW_ATIX_texture_env_combine3) = _glewSearchExtension("GL_ATIX_texture_env_combine3", extStart, extEnd); -#endif /* GL_ATIX_texture_env_combine3 */ -#ifdef GL_ATIX_texture_env_route - CONST_CAST(GLEW_ATIX_texture_env_route) = _glewSearchExtension("GL_ATIX_texture_env_route", extStart, extEnd); -#endif /* GL_ATIX_texture_env_route */ -#ifdef GL_ATIX_vertex_shader_output_point_size - CONST_CAST(GLEW_ATIX_vertex_shader_output_point_size) = _glewSearchExtension("GL_ATIX_vertex_shader_output_point_size", extStart, extEnd); -#endif /* GL_ATIX_vertex_shader_output_point_size */ -#ifdef GL_ATI_draw_buffers - CONST_CAST(GLEW_ATI_draw_buffers) = _glewSearchExtension("GL_ATI_draw_buffers", extStart, extEnd); - if (glewExperimental || GLEW_ATI_draw_buffers) CONST_CAST(GLEW_ATI_draw_buffers) = !_glewInit_GL_ATI_draw_buffers(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ATI_draw_buffers */ -#ifdef GL_ATI_element_array - CONST_CAST(GLEW_ATI_element_array) = _glewSearchExtension("GL_ATI_element_array", extStart, extEnd); - if (glewExperimental || GLEW_ATI_element_array) CONST_CAST(GLEW_ATI_element_array) = !_glewInit_GL_ATI_element_array(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ATI_element_array */ -#ifdef GL_ATI_envmap_bumpmap - CONST_CAST(GLEW_ATI_envmap_bumpmap) = _glewSearchExtension("GL_ATI_envmap_bumpmap", extStart, extEnd); - if (glewExperimental || GLEW_ATI_envmap_bumpmap) CONST_CAST(GLEW_ATI_envmap_bumpmap) = !_glewInit_GL_ATI_envmap_bumpmap(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ATI_envmap_bumpmap */ -#ifdef GL_ATI_fragment_shader - CONST_CAST(GLEW_ATI_fragment_shader) = _glewSearchExtension("GL_ATI_fragment_shader", extStart, extEnd); - if (glewExperimental || GLEW_ATI_fragment_shader) CONST_CAST(GLEW_ATI_fragment_shader) = !_glewInit_GL_ATI_fragment_shader(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ATI_fragment_shader */ -#ifdef GL_ATI_map_object_buffer - CONST_CAST(GLEW_ATI_map_object_buffer) = _glewSearchExtension("GL_ATI_map_object_buffer", extStart, extEnd); - if (glewExperimental || GLEW_ATI_map_object_buffer) CONST_CAST(GLEW_ATI_map_object_buffer) = !_glewInit_GL_ATI_map_object_buffer(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ATI_map_object_buffer */ -#ifdef GL_ATI_meminfo - CONST_CAST(GLEW_ATI_meminfo) = _glewSearchExtension("GL_ATI_meminfo", extStart, extEnd); -#endif /* GL_ATI_meminfo */ -#ifdef GL_ATI_pn_triangles - CONST_CAST(GLEW_ATI_pn_triangles) = _glewSearchExtension("GL_ATI_pn_triangles", extStart, extEnd); - if (glewExperimental || GLEW_ATI_pn_triangles) CONST_CAST(GLEW_ATI_pn_triangles) = !_glewInit_GL_ATI_pn_triangles(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ATI_pn_triangles */ -#ifdef GL_ATI_separate_stencil - CONST_CAST(GLEW_ATI_separate_stencil) = _glewSearchExtension("GL_ATI_separate_stencil", extStart, extEnd); - if (glewExperimental || GLEW_ATI_separate_stencil) CONST_CAST(GLEW_ATI_separate_stencil) = !_glewInit_GL_ATI_separate_stencil(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ATI_separate_stencil */ -#ifdef GL_ATI_shader_texture_lod - CONST_CAST(GLEW_ATI_shader_texture_lod) = _glewSearchExtension("GL_ATI_shader_texture_lod", extStart, extEnd); -#endif /* GL_ATI_shader_texture_lod */ -#ifdef GL_ATI_text_fragment_shader - CONST_CAST(GLEW_ATI_text_fragment_shader) = _glewSearchExtension("GL_ATI_text_fragment_shader", extStart, extEnd); -#endif /* GL_ATI_text_fragment_shader */ -#ifdef GL_ATI_texture_compression_3dc - CONST_CAST(GLEW_ATI_texture_compression_3dc) = _glewSearchExtension("GL_ATI_texture_compression_3dc", extStart, extEnd); -#endif /* GL_ATI_texture_compression_3dc */ -#ifdef GL_ATI_texture_env_combine3 - CONST_CAST(GLEW_ATI_texture_env_combine3) = _glewSearchExtension("GL_ATI_texture_env_combine3", extStart, extEnd); -#endif /* GL_ATI_texture_env_combine3 */ -#ifdef GL_ATI_texture_float - CONST_CAST(GLEW_ATI_texture_float) = _glewSearchExtension("GL_ATI_texture_float", extStart, extEnd); -#endif /* GL_ATI_texture_float */ -#ifdef GL_ATI_texture_mirror_once - CONST_CAST(GLEW_ATI_texture_mirror_once) = _glewSearchExtension("GL_ATI_texture_mirror_once", extStart, extEnd); -#endif /* GL_ATI_texture_mirror_once */ -#ifdef GL_ATI_vertex_array_object - CONST_CAST(GLEW_ATI_vertex_array_object) = _glewSearchExtension("GL_ATI_vertex_array_object", extStart, extEnd); - if (glewExperimental || GLEW_ATI_vertex_array_object) CONST_CAST(GLEW_ATI_vertex_array_object) = !_glewInit_GL_ATI_vertex_array_object(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ATI_vertex_array_object */ -#ifdef GL_ATI_vertex_attrib_array_object - CONST_CAST(GLEW_ATI_vertex_attrib_array_object) = _glewSearchExtension("GL_ATI_vertex_attrib_array_object", extStart, extEnd); - if (glewExperimental || GLEW_ATI_vertex_attrib_array_object) CONST_CAST(GLEW_ATI_vertex_attrib_array_object) = !_glewInit_GL_ATI_vertex_attrib_array_object(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ATI_vertex_attrib_array_object */ -#ifdef GL_ATI_vertex_streams - CONST_CAST(GLEW_ATI_vertex_streams) = _glewSearchExtension("GL_ATI_vertex_streams", extStart, extEnd); - if (glewExperimental || GLEW_ATI_vertex_streams) CONST_CAST(GLEW_ATI_vertex_streams) = !_glewInit_GL_ATI_vertex_streams(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_ATI_vertex_streams */ -#ifdef GL_EXT_422_pixels - CONST_CAST(GLEW_EXT_422_pixels) = _glewSearchExtension("GL_EXT_422_pixels", extStart, extEnd); -#endif /* GL_EXT_422_pixels */ -#ifdef GL_EXT_Cg_shader - CONST_CAST(GLEW_EXT_Cg_shader) = _glewSearchExtension("GL_EXT_Cg_shader", extStart, extEnd); -#endif /* GL_EXT_Cg_shader */ -#ifdef GL_EXT_abgr - CONST_CAST(GLEW_EXT_abgr) = _glewSearchExtension("GL_EXT_abgr", extStart, extEnd); -#endif /* GL_EXT_abgr */ -#ifdef GL_EXT_bgra - CONST_CAST(GLEW_EXT_bgra) = _glewSearchExtension("GL_EXT_bgra", extStart, extEnd); -#endif /* GL_EXT_bgra */ -#ifdef GL_EXT_bindable_uniform - CONST_CAST(GLEW_EXT_bindable_uniform) = _glewSearchExtension("GL_EXT_bindable_uniform", extStart, extEnd); - if (glewExperimental || GLEW_EXT_bindable_uniform) CONST_CAST(GLEW_EXT_bindable_uniform) = !_glewInit_GL_EXT_bindable_uniform(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_bindable_uniform */ -#ifdef GL_EXT_blend_color - CONST_CAST(GLEW_EXT_blend_color) = _glewSearchExtension("GL_EXT_blend_color", extStart, extEnd); - if (glewExperimental || GLEW_EXT_blend_color) CONST_CAST(GLEW_EXT_blend_color) = !_glewInit_GL_EXT_blend_color(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_blend_color */ -#ifdef GL_EXT_blend_equation_separate - CONST_CAST(GLEW_EXT_blend_equation_separate) = _glewSearchExtension("GL_EXT_blend_equation_separate", extStart, extEnd); - if (glewExperimental || GLEW_EXT_blend_equation_separate) CONST_CAST(GLEW_EXT_blend_equation_separate) = !_glewInit_GL_EXT_blend_equation_separate(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_blend_equation_separate */ -#ifdef GL_EXT_blend_func_separate - CONST_CAST(GLEW_EXT_blend_func_separate) = _glewSearchExtension("GL_EXT_blend_func_separate", extStart, extEnd); - if (glewExperimental || GLEW_EXT_blend_func_separate) CONST_CAST(GLEW_EXT_blend_func_separate) = !_glewInit_GL_EXT_blend_func_separate(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_blend_func_separate */ -#ifdef GL_EXT_blend_logic_op - CONST_CAST(GLEW_EXT_blend_logic_op) = _glewSearchExtension("GL_EXT_blend_logic_op", extStart, extEnd); -#endif /* GL_EXT_blend_logic_op */ -#ifdef GL_EXT_blend_minmax - CONST_CAST(GLEW_EXT_blend_minmax) = _glewSearchExtension("GL_EXT_blend_minmax", extStart, extEnd); - if (glewExperimental || GLEW_EXT_blend_minmax) CONST_CAST(GLEW_EXT_blend_minmax) = !_glewInit_GL_EXT_blend_minmax(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_blend_minmax */ -#ifdef GL_EXT_blend_subtract - CONST_CAST(GLEW_EXT_blend_subtract) = _glewSearchExtension("GL_EXT_blend_subtract", extStart, extEnd); -#endif /* GL_EXT_blend_subtract */ -#ifdef GL_EXT_clip_volume_hint - CONST_CAST(GLEW_EXT_clip_volume_hint) = _glewSearchExtension("GL_EXT_clip_volume_hint", extStart, extEnd); -#endif /* GL_EXT_clip_volume_hint */ -#ifdef GL_EXT_cmyka - CONST_CAST(GLEW_EXT_cmyka) = _glewSearchExtension("GL_EXT_cmyka", extStart, extEnd); -#endif /* GL_EXT_cmyka */ -#ifdef GL_EXT_color_subtable - CONST_CAST(GLEW_EXT_color_subtable) = _glewSearchExtension("GL_EXT_color_subtable", extStart, extEnd); - if (glewExperimental || GLEW_EXT_color_subtable) CONST_CAST(GLEW_EXT_color_subtable) = !_glewInit_GL_EXT_color_subtable(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_color_subtable */ -#ifdef GL_EXT_compiled_vertex_array - CONST_CAST(GLEW_EXT_compiled_vertex_array) = _glewSearchExtension("GL_EXT_compiled_vertex_array", extStart, extEnd); - if (glewExperimental || GLEW_EXT_compiled_vertex_array) CONST_CAST(GLEW_EXT_compiled_vertex_array) = !_glewInit_GL_EXT_compiled_vertex_array(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_compiled_vertex_array */ -#ifdef GL_EXT_convolution - CONST_CAST(GLEW_EXT_convolution) = _glewSearchExtension("GL_EXT_convolution", extStart, extEnd); - if (glewExperimental || GLEW_EXT_convolution) CONST_CAST(GLEW_EXT_convolution) = !_glewInit_GL_EXT_convolution(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_convolution */ -#ifdef GL_EXT_coordinate_frame - CONST_CAST(GLEW_EXT_coordinate_frame) = _glewSearchExtension("GL_EXT_coordinate_frame", extStart, extEnd); - if (glewExperimental || GLEW_EXT_coordinate_frame) CONST_CAST(GLEW_EXT_coordinate_frame) = !_glewInit_GL_EXT_coordinate_frame(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_coordinate_frame */ -#ifdef GL_EXT_copy_texture - CONST_CAST(GLEW_EXT_copy_texture) = _glewSearchExtension("GL_EXT_copy_texture", extStart, extEnd); - if (glewExperimental || GLEW_EXT_copy_texture) CONST_CAST(GLEW_EXT_copy_texture) = !_glewInit_GL_EXT_copy_texture(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_copy_texture */ -#ifdef GL_EXT_cull_vertex - CONST_CAST(GLEW_EXT_cull_vertex) = _glewSearchExtension("GL_EXT_cull_vertex", extStart, extEnd); - if (glewExperimental || GLEW_EXT_cull_vertex) CONST_CAST(GLEW_EXT_cull_vertex) = !_glewInit_GL_EXT_cull_vertex(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_cull_vertex */ -#ifdef GL_EXT_debug_marker - CONST_CAST(GLEW_EXT_debug_marker) = _glewSearchExtension("GL_EXT_debug_marker", extStart, extEnd); - if (glewExperimental || GLEW_EXT_debug_marker) CONST_CAST(GLEW_EXT_debug_marker) = !_glewInit_GL_EXT_debug_marker(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_debug_marker */ -#ifdef GL_EXT_depth_bounds_test - CONST_CAST(GLEW_EXT_depth_bounds_test) = _glewSearchExtension("GL_EXT_depth_bounds_test", extStart, extEnd); - if (glewExperimental || GLEW_EXT_depth_bounds_test) CONST_CAST(GLEW_EXT_depth_bounds_test) = !_glewInit_GL_EXT_depth_bounds_test(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_depth_bounds_test */ -#ifdef GL_EXT_direct_state_access - CONST_CAST(GLEW_EXT_direct_state_access) = _glewSearchExtension("GL_EXT_direct_state_access", extStart, extEnd); - if (glewExperimental || GLEW_EXT_direct_state_access) CONST_CAST(GLEW_EXT_direct_state_access) = !_glewInit_GL_EXT_direct_state_access(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_direct_state_access */ -#ifdef GL_EXT_draw_buffers2 - CONST_CAST(GLEW_EXT_draw_buffers2) = _glewSearchExtension("GL_EXT_draw_buffers2", extStart, extEnd); - if (glewExperimental || GLEW_EXT_draw_buffers2) CONST_CAST(GLEW_EXT_draw_buffers2) = !_glewInit_GL_EXT_draw_buffers2(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_draw_buffers2 */ -#ifdef GL_EXT_draw_instanced - CONST_CAST(GLEW_EXT_draw_instanced) = _glewSearchExtension("GL_EXT_draw_instanced", extStart, extEnd); - if (glewExperimental || GLEW_EXT_draw_instanced) CONST_CAST(GLEW_EXT_draw_instanced) = !_glewInit_GL_EXT_draw_instanced(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_draw_instanced */ -#ifdef GL_EXT_draw_range_elements - CONST_CAST(GLEW_EXT_draw_range_elements) = _glewSearchExtension("GL_EXT_draw_range_elements", extStart, extEnd); - if (glewExperimental || GLEW_EXT_draw_range_elements) CONST_CAST(GLEW_EXT_draw_range_elements) = !_glewInit_GL_EXT_draw_range_elements(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_draw_range_elements */ -#ifdef GL_EXT_fog_coord - CONST_CAST(GLEW_EXT_fog_coord) = _glewSearchExtension("GL_EXT_fog_coord", extStart, extEnd); - if (glewExperimental || GLEW_EXT_fog_coord) CONST_CAST(GLEW_EXT_fog_coord) = !_glewInit_GL_EXT_fog_coord(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_fog_coord */ -#ifdef GL_EXT_fragment_lighting - CONST_CAST(GLEW_EXT_fragment_lighting) = _glewSearchExtension("GL_EXT_fragment_lighting", extStart, extEnd); - if (glewExperimental || GLEW_EXT_fragment_lighting) CONST_CAST(GLEW_EXT_fragment_lighting) = !_glewInit_GL_EXT_fragment_lighting(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_fragment_lighting */ -#ifdef GL_EXT_framebuffer_blit - CONST_CAST(GLEW_EXT_framebuffer_blit) = _glewSearchExtension("GL_EXT_framebuffer_blit", extStart, extEnd); - if (glewExperimental || GLEW_EXT_framebuffer_blit) CONST_CAST(GLEW_EXT_framebuffer_blit) = !_glewInit_GL_EXT_framebuffer_blit(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_framebuffer_blit */ -#ifdef GL_EXT_framebuffer_multisample - CONST_CAST(GLEW_EXT_framebuffer_multisample) = _glewSearchExtension("GL_EXT_framebuffer_multisample", extStart, extEnd); - if (glewExperimental || GLEW_EXT_framebuffer_multisample) CONST_CAST(GLEW_EXT_framebuffer_multisample) = !_glewInit_GL_EXT_framebuffer_multisample(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_framebuffer_multisample */ -#ifdef GL_EXT_framebuffer_multisample_blit_scaled - CONST_CAST(GLEW_EXT_framebuffer_multisample_blit_scaled) = _glewSearchExtension("GL_EXT_framebuffer_multisample_blit_scaled", extStart, extEnd); -#endif /* GL_EXT_framebuffer_multisample_blit_scaled */ -#ifdef GL_EXT_framebuffer_object - CONST_CAST(GLEW_EXT_framebuffer_object) = _glewSearchExtension("GL_EXT_framebuffer_object", extStart, extEnd); - if (glewExperimental || GLEW_EXT_framebuffer_object) CONST_CAST(GLEW_EXT_framebuffer_object) = !_glewInit_GL_EXT_framebuffer_object(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_framebuffer_object */ -#ifdef GL_EXT_framebuffer_sRGB - CONST_CAST(GLEW_EXT_framebuffer_sRGB) = _glewSearchExtension("GL_EXT_framebuffer_sRGB", extStart, extEnd); -#endif /* GL_EXT_framebuffer_sRGB */ -#ifdef GL_EXT_geometry_shader4 - CONST_CAST(GLEW_EXT_geometry_shader4) = _glewSearchExtension("GL_EXT_geometry_shader4", extStart, extEnd); - if (glewExperimental || GLEW_EXT_geometry_shader4) CONST_CAST(GLEW_EXT_geometry_shader4) = !_glewInit_GL_EXT_geometry_shader4(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_geometry_shader4 */ -#ifdef GL_EXT_gpu_program_parameters - CONST_CAST(GLEW_EXT_gpu_program_parameters) = _glewSearchExtension("GL_EXT_gpu_program_parameters", extStart, extEnd); - if (glewExperimental || GLEW_EXT_gpu_program_parameters) CONST_CAST(GLEW_EXT_gpu_program_parameters) = !_glewInit_GL_EXT_gpu_program_parameters(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_gpu_program_parameters */ -#ifdef GL_EXT_gpu_shader4 - CONST_CAST(GLEW_EXT_gpu_shader4) = _glewSearchExtension("GL_EXT_gpu_shader4", extStart, extEnd); - if (glewExperimental || GLEW_EXT_gpu_shader4) CONST_CAST(GLEW_EXT_gpu_shader4) = !_glewInit_GL_EXT_gpu_shader4(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_gpu_shader4 */ -#ifdef GL_EXT_histogram - CONST_CAST(GLEW_EXT_histogram) = _glewSearchExtension("GL_EXT_histogram", extStart, extEnd); - if (glewExperimental || GLEW_EXT_histogram) CONST_CAST(GLEW_EXT_histogram) = !_glewInit_GL_EXT_histogram(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_histogram */ -#ifdef GL_EXT_index_array_formats - CONST_CAST(GLEW_EXT_index_array_formats) = _glewSearchExtension("GL_EXT_index_array_formats", extStart, extEnd); -#endif /* GL_EXT_index_array_formats */ -#ifdef GL_EXT_index_func - CONST_CAST(GLEW_EXT_index_func) = _glewSearchExtension("GL_EXT_index_func", extStart, extEnd); - if (glewExperimental || GLEW_EXT_index_func) CONST_CAST(GLEW_EXT_index_func) = !_glewInit_GL_EXT_index_func(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_index_func */ -#ifdef GL_EXT_index_material - CONST_CAST(GLEW_EXT_index_material) = _glewSearchExtension("GL_EXT_index_material", extStart, extEnd); - if (glewExperimental || GLEW_EXT_index_material) CONST_CAST(GLEW_EXT_index_material) = !_glewInit_GL_EXT_index_material(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_index_material */ -#ifdef GL_EXT_index_texture - CONST_CAST(GLEW_EXT_index_texture) = _glewSearchExtension("GL_EXT_index_texture", extStart, extEnd); -#endif /* GL_EXT_index_texture */ -#ifdef GL_EXT_light_texture - CONST_CAST(GLEW_EXT_light_texture) = _glewSearchExtension("GL_EXT_light_texture", extStart, extEnd); - if (glewExperimental || GLEW_EXT_light_texture) CONST_CAST(GLEW_EXT_light_texture) = !_glewInit_GL_EXT_light_texture(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_light_texture */ -#ifdef GL_EXT_misc_attribute - CONST_CAST(GLEW_EXT_misc_attribute) = _glewSearchExtension("GL_EXT_misc_attribute", extStart, extEnd); -#endif /* GL_EXT_misc_attribute */ -#ifdef GL_EXT_multi_draw_arrays - CONST_CAST(GLEW_EXT_multi_draw_arrays) = _glewSearchExtension("GL_EXT_multi_draw_arrays", extStart, extEnd); - if (glewExperimental || GLEW_EXT_multi_draw_arrays) CONST_CAST(GLEW_EXT_multi_draw_arrays) = !_glewInit_GL_EXT_multi_draw_arrays(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_multi_draw_arrays */ -#ifdef GL_EXT_multisample - CONST_CAST(GLEW_EXT_multisample) = _glewSearchExtension("GL_EXT_multisample", extStart, extEnd); - if (glewExperimental || GLEW_EXT_multisample) CONST_CAST(GLEW_EXT_multisample) = !_glewInit_GL_EXT_multisample(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_multisample */ -#ifdef GL_EXT_packed_depth_stencil - CONST_CAST(GLEW_EXT_packed_depth_stencil) = _glewSearchExtension("GL_EXT_packed_depth_stencil", extStart, extEnd); -#endif /* GL_EXT_packed_depth_stencil */ -#ifdef GL_EXT_packed_float - CONST_CAST(GLEW_EXT_packed_float) = _glewSearchExtension("GL_EXT_packed_float", extStart, extEnd); -#endif /* GL_EXT_packed_float */ -#ifdef GL_EXT_packed_pixels - CONST_CAST(GLEW_EXT_packed_pixels) = _glewSearchExtension("GL_EXT_packed_pixels", extStart, extEnd); -#endif /* GL_EXT_packed_pixels */ -#ifdef GL_EXT_paletted_texture - CONST_CAST(GLEW_EXT_paletted_texture) = _glewSearchExtension("GL_EXT_paletted_texture", extStart, extEnd); - if (glewExperimental || GLEW_EXT_paletted_texture) CONST_CAST(GLEW_EXT_paletted_texture) = !_glewInit_GL_EXT_paletted_texture(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_paletted_texture */ -#ifdef GL_EXT_pixel_buffer_object - CONST_CAST(GLEW_EXT_pixel_buffer_object) = _glewSearchExtension("GL_EXT_pixel_buffer_object", extStart, extEnd); -#endif /* GL_EXT_pixel_buffer_object */ -#ifdef GL_EXT_pixel_transform - CONST_CAST(GLEW_EXT_pixel_transform) = _glewSearchExtension("GL_EXT_pixel_transform", extStart, extEnd); - if (glewExperimental || GLEW_EXT_pixel_transform) CONST_CAST(GLEW_EXT_pixel_transform) = !_glewInit_GL_EXT_pixel_transform(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_pixel_transform */ -#ifdef GL_EXT_pixel_transform_color_table - CONST_CAST(GLEW_EXT_pixel_transform_color_table) = _glewSearchExtension("GL_EXT_pixel_transform_color_table", extStart, extEnd); -#endif /* GL_EXT_pixel_transform_color_table */ -#ifdef GL_EXT_point_parameters - CONST_CAST(GLEW_EXT_point_parameters) = _glewSearchExtension("GL_EXT_point_parameters", extStart, extEnd); - if (glewExperimental || GLEW_EXT_point_parameters) CONST_CAST(GLEW_EXT_point_parameters) = !_glewInit_GL_EXT_point_parameters(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_point_parameters */ -#ifdef GL_EXT_polygon_offset - CONST_CAST(GLEW_EXT_polygon_offset) = _glewSearchExtension("GL_EXT_polygon_offset", extStart, extEnd); - if (glewExperimental || GLEW_EXT_polygon_offset) CONST_CAST(GLEW_EXT_polygon_offset) = !_glewInit_GL_EXT_polygon_offset(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_polygon_offset */ -#ifdef GL_EXT_provoking_vertex - CONST_CAST(GLEW_EXT_provoking_vertex) = _glewSearchExtension("GL_EXT_provoking_vertex", extStart, extEnd); - if (glewExperimental || GLEW_EXT_provoking_vertex) CONST_CAST(GLEW_EXT_provoking_vertex) = !_glewInit_GL_EXT_provoking_vertex(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_provoking_vertex */ -#ifdef GL_EXT_rescale_normal - CONST_CAST(GLEW_EXT_rescale_normal) = _glewSearchExtension("GL_EXT_rescale_normal", extStart, extEnd); -#endif /* GL_EXT_rescale_normal */ -#ifdef GL_EXT_scene_marker - CONST_CAST(GLEW_EXT_scene_marker) = _glewSearchExtension("GL_EXT_scene_marker", extStart, extEnd); - if (glewExperimental || GLEW_EXT_scene_marker) CONST_CAST(GLEW_EXT_scene_marker) = !_glewInit_GL_EXT_scene_marker(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_scene_marker */ -#ifdef GL_EXT_secondary_color - CONST_CAST(GLEW_EXT_secondary_color) = _glewSearchExtension("GL_EXT_secondary_color", extStart, extEnd); - if (glewExperimental || GLEW_EXT_secondary_color) CONST_CAST(GLEW_EXT_secondary_color) = !_glewInit_GL_EXT_secondary_color(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_secondary_color */ -#ifdef GL_EXT_separate_shader_objects - CONST_CAST(GLEW_EXT_separate_shader_objects) = _glewSearchExtension("GL_EXT_separate_shader_objects", extStart, extEnd); - if (glewExperimental || GLEW_EXT_separate_shader_objects) CONST_CAST(GLEW_EXT_separate_shader_objects) = !_glewInit_GL_EXT_separate_shader_objects(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_separate_shader_objects */ -#ifdef GL_EXT_separate_specular_color - CONST_CAST(GLEW_EXT_separate_specular_color) = _glewSearchExtension("GL_EXT_separate_specular_color", extStart, extEnd); -#endif /* GL_EXT_separate_specular_color */ -#ifdef GL_EXT_shader_image_load_store - CONST_CAST(GLEW_EXT_shader_image_load_store) = _glewSearchExtension("GL_EXT_shader_image_load_store", extStart, extEnd); - if (glewExperimental || GLEW_EXT_shader_image_load_store) CONST_CAST(GLEW_EXT_shader_image_load_store) = !_glewInit_GL_EXT_shader_image_load_store(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_shader_image_load_store */ -#ifdef GL_EXT_shadow_funcs - CONST_CAST(GLEW_EXT_shadow_funcs) = _glewSearchExtension("GL_EXT_shadow_funcs", extStart, extEnd); -#endif /* GL_EXT_shadow_funcs */ -#ifdef GL_EXT_shared_texture_palette - CONST_CAST(GLEW_EXT_shared_texture_palette) = _glewSearchExtension("GL_EXT_shared_texture_palette", extStart, extEnd); -#endif /* GL_EXT_shared_texture_palette */ -#ifdef GL_EXT_stencil_clear_tag - CONST_CAST(GLEW_EXT_stencil_clear_tag) = _glewSearchExtension("GL_EXT_stencil_clear_tag", extStart, extEnd); -#endif /* GL_EXT_stencil_clear_tag */ -#ifdef GL_EXT_stencil_two_side - CONST_CAST(GLEW_EXT_stencil_two_side) = _glewSearchExtension("GL_EXT_stencil_two_side", extStart, extEnd); - if (glewExperimental || GLEW_EXT_stencil_two_side) CONST_CAST(GLEW_EXT_stencil_two_side) = !_glewInit_GL_EXT_stencil_two_side(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_stencil_two_side */ -#ifdef GL_EXT_stencil_wrap - CONST_CAST(GLEW_EXT_stencil_wrap) = _glewSearchExtension("GL_EXT_stencil_wrap", extStart, extEnd); -#endif /* GL_EXT_stencil_wrap */ -#ifdef GL_EXT_subtexture - CONST_CAST(GLEW_EXT_subtexture) = _glewSearchExtension("GL_EXT_subtexture", extStart, extEnd); - if (glewExperimental || GLEW_EXT_subtexture) CONST_CAST(GLEW_EXT_subtexture) = !_glewInit_GL_EXT_subtexture(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_subtexture */ -#ifdef GL_EXT_texture - CONST_CAST(GLEW_EXT_texture) = _glewSearchExtension("GL_EXT_texture", extStart, extEnd); -#endif /* GL_EXT_texture */ -#ifdef GL_EXT_texture3D - CONST_CAST(GLEW_EXT_texture3D) = _glewSearchExtension("GL_EXT_texture3D", extStart, extEnd); - if (glewExperimental || GLEW_EXT_texture3D) CONST_CAST(GLEW_EXT_texture3D) = !_glewInit_GL_EXT_texture3D(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_texture3D */ -#ifdef GL_EXT_texture_array - CONST_CAST(GLEW_EXT_texture_array) = _glewSearchExtension("GL_EXT_texture_array", extStart, extEnd); - if (glewExperimental || GLEW_EXT_texture_array) CONST_CAST(GLEW_EXT_texture_array) = !_glewInit_GL_EXT_texture_array(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_texture_array */ -#ifdef GL_EXT_texture_buffer_object - CONST_CAST(GLEW_EXT_texture_buffer_object) = _glewSearchExtension("GL_EXT_texture_buffer_object", extStart, extEnd); - if (glewExperimental || GLEW_EXT_texture_buffer_object) CONST_CAST(GLEW_EXT_texture_buffer_object) = !_glewInit_GL_EXT_texture_buffer_object(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_texture_buffer_object */ -#ifdef GL_EXT_texture_compression_dxt1 - CONST_CAST(GLEW_EXT_texture_compression_dxt1) = _glewSearchExtension("GL_EXT_texture_compression_dxt1", extStart, extEnd); -#endif /* GL_EXT_texture_compression_dxt1 */ -#ifdef GL_EXT_texture_compression_latc - CONST_CAST(GLEW_EXT_texture_compression_latc) = _glewSearchExtension("GL_EXT_texture_compression_latc", extStart, extEnd); -#endif /* GL_EXT_texture_compression_latc */ -#ifdef GL_EXT_texture_compression_rgtc - CONST_CAST(GLEW_EXT_texture_compression_rgtc) = _glewSearchExtension("GL_EXT_texture_compression_rgtc", extStart, extEnd); -#endif /* GL_EXT_texture_compression_rgtc */ -#ifdef GL_EXT_texture_compression_s3tc - CONST_CAST(GLEW_EXT_texture_compression_s3tc) = _glewSearchExtension("GL_EXT_texture_compression_s3tc", extStart, extEnd); -#endif /* GL_EXT_texture_compression_s3tc */ -#ifdef GL_EXT_texture_cube_map - CONST_CAST(GLEW_EXT_texture_cube_map) = _glewSearchExtension("GL_EXT_texture_cube_map", extStart, extEnd); -#endif /* GL_EXT_texture_cube_map */ -#ifdef GL_EXT_texture_edge_clamp - CONST_CAST(GLEW_EXT_texture_edge_clamp) = _glewSearchExtension("GL_EXT_texture_edge_clamp", extStart, extEnd); -#endif /* GL_EXT_texture_edge_clamp */ -#ifdef GL_EXT_texture_env - CONST_CAST(GLEW_EXT_texture_env) = _glewSearchExtension("GL_EXT_texture_env", extStart, extEnd); -#endif /* GL_EXT_texture_env */ -#ifdef GL_EXT_texture_env_add - CONST_CAST(GLEW_EXT_texture_env_add) = _glewSearchExtension("GL_EXT_texture_env_add", extStart, extEnd); -#endif /* GL_EXT_texture_env_add */ -#ifdef GL_EXT_texture_env_combine - CONST_CAST(GLEW_EXT_texture_env_combine) = _glewSearchExtension("GL_EXT_texture_env_combine", extStart, extEnd); -#endif /* GL_EXT_texture_env_combine */ -#ifdef GL_EXT_texture_env_dot3 - CONST_CAST(GLEW_EXT_texture_env_dot3) = _glewSearchExtension("GL_EXT_texture_env_dot3", extStart, extEnd); -#endif /* GL_EXT_texture_env_dot3 */ -#ifdef GL_EXT_texture_filter_anisotropic - CONST_CAST(GLEW_EXT_texture_filter_anisotropic) = _glewSearchExtension("GL_EXT_texture_filter_anisotropic", extStart, extEnd); -#endif /* GL_EXT_texture_filter_anisotropic */ -#ifdef GL_EXT_texture_integer - CONST_CAST(GLEW_EXT_texture_integer) = _glewSearchExtension("GL_EXT_texture_integer", extStart, extEnd); - if (glewExperimental || GLEW_EXT_texture_integer) CONST_CAST(GLEW_EXT_texture_integer) = !_glewInit_GL_EXT_texture_integer(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_texture_integer */ -#ifdef GL_EXT_texture_lod_bias - CONST_CAST(GLEW_EXT_texture_lod_bias) = _glewSearchExtension("GL_EXT_texture_lod_bias", extStart, extEnd); -#endif /* GL_EXT_texture_lod_bias */ -#ifdef GL_EXT_texture_mirror_clamp - CONST_CAST(GLEW_EXT_texture_mirror_clamp) = _glewSearchExtension("GL_EXT_texture_mirror_clamp", extStart, extEnd); -#endif /* GL_EXT_texture_mirror_clamp */ -#ifdef GL_EXT_texture_object - CONST_CAST(GLEW_EXT_texture_object) = _glewSearchExtension("GL_EXT_texture_object", extStart, extEnd); - if (glewExperimental || GLEW_EXT_texture_object) CONST_CAST(GLEW_EXT_texture_object) = !_glewInit_GL_EXT_texture_object(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_texture_object */ -#ifdef GL_EXT_texture_perturb_normal - CONST_CAST(GLEW_EXT_texture_perturb_normal) = _glewSearchExtension("GL_EXT_texture_perturb_normal", extStart, extEnd); - if (glewExperimental || GLEW_EXT_texture_perturb_normal) CONST_CAST(GLEW_EXT_texture_perturb_normal) = !_glewInit_GL_EXT_texture_perturb_normal(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_texture_perturb_normal */ -#ifdef GL_EXT_texture_rectangle - CONST_CAST(GLEW_EXT_texture_rectangle) = _glewSearchExtension("GL_EXT_texture_rectangle", extStart, extEnd); -#endif /* GL_EXT_texture_rectangle */ -#ifdef GL_EXT_texture_sRGB - CONST_CAST(GLEW_EXT_texture_sRGB) = _glewSearchExtension("GL_EXT_texture_sRGB", extStart, extEnd); -#endif /* GL_EXT_texture_sRGB */ -#ifdef GL_EXT_texture_sRGB_decode - CONST_CAST(GLEW_EXT_texture_sRGB_decode) = _glewSearchExtension("GL_EXT_texture_sRGB_decode", extStart, extEnd); -#endif /* GL_EXT_texture_sRGB_decode */ -#ifdef GL_EXT_texture_shared_exponent - CONST_CAST(GLEW_EXT_texture_shared_exponent) = _glewSearchExtension("GL_EXT_texture_shared_exponent", extStart, extEnd); -#endif /* GL_EXT_texture_shared_exponent */ -#ifdef GL_EXT_texture_snorm - CONST_CAST(GLEW_EXT_texture_snorm) = _glewSearchExtension("GL_EXT_texture_snorm", extStart, extEnd); -#endif /* GL_EXT_texture_snorm */ -#ifdef GL_EXT_texture_swizzle - CONST_CAST(GLEW_EXT_texture_swizzle) = _glewSearchExtension("GL_EXT_texture_swizzle", extStart, extEnd); -#endif /* GL_EXT_texture_swizzle */ -#ifdef GL_EXT_timer_query - CONST_CAST(GLEW_EXT_timer_query) = _glewSearchExtension("GL_EXT_timer_query", extStart, extEnd); - if (glewExperimental || GLEW_EXT_timer_query) CONST_CAST(GLEW_EXT_timer_query) = !_glewInit_GL_EXT_timer_query(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_timer_query */ -#ifdef GL_EXT_transform_feedback - CONST_CAST(GLEW_EXT_transform_feedback) = _glewSearchExtension("GL_EXT_transform_feedback", extStart, extEnd); - if (glewExperimental || GLEW_EXT_transform_feedback) CONST_CAST(GLEW_EXT_transform_feedback) = !_glewInit_GL_EXT_transform_feedback(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_transform_feedback */ -#ifdef GL_EXT_vertex_array - CONST_CAST(GLEW_EXT_vertex_array) = _glewSearchExtension("GL_EXT_vertex_array", extStart, extEnd); - if (glewExperimental || GLEW_EXT_vertex_array) CONST_CAST(GLEW_EXT_vertex_array) = !_glewInit_GL_EXT_vertex_array(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_vertex_array */ -#ifdef GL_EXT_vertex_array_bgra - CONST_CAST(GLEW_EXT_vertex_array_bgra) = _glewSearchExtension("GL_EXT_vertex_array_bgra", extStart, extEnd); -#endif /* GL_EXT_vertex_array_bgra */ -#ifdef GL_EXT_vertex_attrib_64bit - CONST_CAST(GLEW_EXT_vertex_attrib_64bit) = _glewSearchExtension("GL_EXT_vertex_attrib_64bit", extStart, extEnd); - if (glewExperimental || GLEW_EXT_vertex_attrib_64bit) CONST_CAST(GLEW_EXT_vertex_attrib_64bit) = !_glewInit_GL_EXT_vertex_attrib_64bit(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_vertex_attrib_64bit */ -#ifdef GL_EXT_vertex_shader - CONST_CAST(GLEW_EXT_vertex_shader) = _glewSearchExtension("GL_EXT_vertex_shader", extStart, extEnd); - if (glewExperimental || GLEW_EXT_vertex_shader) CONST_CAST(GLEW_EXT_vertex_shader) = !_glewInit_GL_EXT_vertex_shader(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_vertex_shader */ -#ifdef GL_EXT_vertex_weighting - CONST_CAST(GLEW_EXT_vertex_weighting) = _glewSearchExtension("GL_EXT_vertex_weighting", extStart, extEnd); - if (glewExperimental || GLEW_EXT_vertex_weighting) CONST_CAST(GLEW_EXT_vertex_weighting) = !_glewInit_GL_EXT_vertex_weighting(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_vertex_weighting */ -#ifdef GL_EXT_x11_sync_object - CONST_CAST(GLEW_EXT_x11_sync_object) = _glewSearchExtension("GL_EXT_x11_sync_object", extStart, extEnd); - if (glewExperimental || GLEW_EXT_x11_sync_object) CONST_CAST(GLEW_EXT_x11_sync_object) = !_glewInit_GL_EXT_x11_sync_object(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_EXT_x11_sync_object */ -#ifdef GL_GREMEDY_frame_terminator - CONST_CAST(GLEW_GREMEDY_frame_terminator) = _glewSearchExtension("GL_GREMEDY_frame_terminator", extStart, extEnd); - if (glewExperimental || GLEW_GREMEDY_frame_terminator) CONST_CAST(GLEW_GREMEDY_frame_terminator) = !_glewInit_GL_GREMEDY_frame_terminator(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_GREMEDY_frame_terminator */ -#ifdef GL_GREMEDY_string_marker - CONST_CAST(GLEW_GREMEDY_string_marker) = _glewSearchExtension("GL_GREMEDY_string_marker", extStart, extEnd); - if (glewExperimental || GLEW_GREMEDY_string_marker) CONST_CAST(GLEW_GREMEDY_string_marker) = !_glewInit_GL_GREMEDY_string_marker(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_GREMEDY_string_marker */ -#ifdef GL_HP_convolution_border_modes - CONST_CAST(GLEW_HP_convolution_border_modes) = _glewSearchExtension("GL_HP_convolution_border_modes", extStart, extEnd); -#endif /* GL_HP_convolution_border_modes */ -#ifdef GL_HP_image_transform - CONST_CAST(GLEW_HP_image_transform) = _glewSearchExtension("GL_HP_image_transform", extStart, extEnd); - if (glewExperimental || GLEW_HP_image_transform) CONST_CAST(GLEW_HP_image_transform) = !_glewInit_GL_HP_image_transform(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_HP_image_transform */ -#ifdef GL_HP_occlusion_test - CONST_CAST(GLEW_HP_occlusion_test) = _glewSearchExtension("GL_HP_occlusion_test", extStart, extEnd); -#endif /* GL_HP_occlusion_test */ -#ifdef GL_HP_texture_lighting - CONST_CAST(GLEW_HP_texture_lighting) = _glewSearchExtension("GL_HP_texture_lighting", extStart, extEnd); -#endif /* GL_HP_texture_lighting */ -#ifdef GL_IBM_cull_vertex - CONST_CAST(GLEW_IBM_cull_vertex) = _glewSearchExtension("GL_IBM_cull_vertex", extStart, extEnd); -#endif /* GL_IBM_cull_vertex */ -#ifdef GL_IBM_multimode_draw_arrays - CONST_CAST(GLEW_IBM_multimode_draw_arrays) = _glewSearchExtension("GL_IBM_multimode_draw_arrays", extStart, extEnd); - if (glewExperimental || GLEW_IBM_multimode_draw_arrays) CONST_CAST(GLEW_IBM_multimode_draw_arrays) = !_glewInit_GL_IBM_multimode_draw_arrays(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_IBM_multimode_draw_arrays */ -#ifdef GL_IBM_rasterpos_clip - CONST_CAST(GLEW_IBM_rasterpos_clip) = _glewSearchExtension("GL_IBM_rasterpos_clip", extStart, extEnd); -#endif /* GL_IBM_rasterpos_clip */ -#ifdef GL_IBM_static_data - CONST_CAST(GLEW_IBM_static_data) = _glewSearchExtension("GL_IBM_static_data", extStart, extEnd); -#endif /* GL_IBM_static_data */ -#ifdef GL_IBM_texture_mirrored_repeat - CONST_CAST(GLEW_IBM_texture_mirrored_repeat) = _glewSearchExtension("GL_IBM_texture_mirrored_repeat", extStart, extEnd); -#endif /* GL_IBM_texture_mirrored_repeat */ -#ifdef GL_IBM_vertex_array_lists - CONST_CAST(GLEW_IBM_vertex_array_lists) = _glewSearchExtension("GL_IBM_vertex_array_lists", extStart, extEnd); - if (glewExperimental || GLEW_IBM_vertex_array_lists) CONST_CAST(GLEW_IBM_vertex_array_lists) = !_glewInit_GL_IBM_vertex_array_lists(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_IBM_vertex_array_lists */ -#ifdef GL_INGR_color_clamp - CONST_CAST(GLEW_INGR_color_clamp) = _glewSearchExtension("GL_INGR_color_clamp", extStart, extEnd); -#endif /* GL_INGR_color_clamp */ -#ifdef GL_INGR_interlace_read - CONST_CAST(GLEW_INGR_interlace_read) = _glewSearchExtension("GL_INGR_interlace_read", extStart, extEnd); -#endif /* GL_INGR_interlace_read */ -#ifdef GL_INTEL_parallel_arrays - CONST_CAST(GLEW_INTEL_parallel_arrays) = _glewSearchExtension("GL_INTEL_parallel_arrays", extStart, extEnd); - if (glewExperimental || GLEW_INTEL_parallel_arrays) CONST_CAST(GLEW_INTEL_parallel_arrays) = !_glewInit_GL_INTEL_parallel_arrays(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_INTEL_parallel_arrays */ -#ifdef GL_INTEL_texture_scissor - CONST_CAST(GLEW_INTEL_texture_scissor) = _glewSearchExtension("GL_INTEL_texture_scissor", extStart, extEnd); - if (glewExperimental || GLEW_INTEL_texture_scissor) CONST_CAST(GLEW_INTEL_texture_scissor) = !_glewInit_GL_INTEL_texture_scissor(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_INTEL_texture_scissor */ -#ifdef GL_KHR_debug - CONST_CAST(GLEW_KHR_debug) = _glewSearchExtension("GL_KHR_debug", extStart, extEnd); - if (glewExperimental || GLEW_KHR_debug) CONST_CAST(GLEW_KHR_debug) = !_glewInit_GL_KHR_debug(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_KHR_debug */ -#ifdef GL_KHR_texture_compression_astc_ldr - CONST_CAST(GLEW_KHR_texture_compression_astc_ldr) = _glewSearchExtension("GL_KHR_texture_compression_astc_ldr", extStart, extEnd); -#endif /* GL_KHR_texture_compression_astc_ldr */ -#ifdef GL_KTX_buffer_region - CONST_CAST(GLEW_KTX_buffer_region) = _glewSearchExtension("GL_KTX_buffer_region", extStart, extEnd); - if (glewExperimental || GLEW_KTX_buffer_region) CONST_CAST(GLEW_KTX_buffer_region) = !_glewInit_GL_KTX_buffer_region(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_KTX_buffer_region */ -#ifdef GL_MESAX_texture_stack - CONST_CAST(GLEW_MESAX_texture_stack) = _glewSearchExtension("GL_MESAX_texture_stack", extStart, extEnd); -#endif /* GL_MESAX_texture_stack */ -#ifdef GL_MESA_pack_invert - CONST_CAST(GLEW_MESA_pack_invert) = _glewSearchExtension("GL_MESA_pack_invert", extStart, extEnd); -#endif /* GL_MESA_pack_invert */ -#ifdef GL_MESA_resize_buffers - CONST_CAST(GLEW_MESA_resize_buffers) = _glewSearchExtension("GL_MESA_resize_buffers", extStart, extEnd); - if (glewExperimental || GLEW_MESA_resize_buffers) CONST_CAST(GLEW_MESA_resize_buffers) = !_glewInit_GL_MESA_resize_buffers(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_MESA_resize_buffers */ -#ifdef GL_MESA_window_pos - CONST_CAST(GLEW_MESA_window_pos) = _glewSearchExtension("GL_MESA_window_pos", extStart, extEnd); - if (glewExperimental || GLEW_MESA_window_pos) CONST_CAST(GLEW_MESA_window_pos) = !_glewInit_GL_MESA_window_pos(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_MESA_window_pos */ -#ifdef GL_MESA_ycbcr_texture - CONST_CAST(GLEW_MESA_ycbcr_texture) = _glewSearchExtension("GL_MESA_ycbcr_texture", extStart, extEnd); -#endif /* GL_MESA_ycbcr_texture */ -#ifdef GL_NVX_gpu_memory_info - CONST_CAST(GLEW_NVX_gpu_memory_info) = _glewSearchExtension("GL_NVX_gpu_memory_info", extStart, extEnd); -#endif /* GL_NVX_gpu_memory_info */ -#ifdef GL_NV_bindless_texture - CONST_CAST(GLEW_NV_bindless_texture) = _glewSearchExtension("GL_NV_bindless_texture", extStart, extEnd); - if (glewExperimental || GLEW_NV_bindless_texture) CONST_CAST(GLEW_NV_bindless_texture) = !_glewInit_GL_NV_bindless_texture(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_bindless_texture */ -#ifdef GL_NV_blend_square - CONST_CAST(GLEW_NV_blend_square) = _glewSearchExtension("GL_NV_blend_square", extStart, extEnd); -#endif /* GL_NV_blend_square */ -#ifdef GL_NV_conditional_render - CONST_CAST(GLEW_NV_conditional_render) = _glewSearchExtension("GL_NV_conditional_render", extStart, extEnd); - if (glewExperimental || GLEW_NV_conditional_render) CONST_CAST(GLEW_NV_conditional_render) = !_glewInit_GL_NV_conditional_render(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_conditional_render */ -#ifdef GL_NV_copy_depth_to_color - CONST_CAST(GLEW_NV_copy_depth_to_color) = _glewSearchExtension("GL_NV_copy_depth_to_color", extStart, extEnd); -#endif /* GL_NV_copy_depth_to_color */ -#ifdef GL_NV_copy_image - CONST_CAST(GLEW_NV_copy_image) = _glewSearchExtension("GL_NV_copy_image", extStart, extEnd); - if (glewExperimental || GLEW_NV_copy_image) CONST_CAST(GLEW_NV_copy_image) = !_glewInit_GL_NV_copy_image(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_copy_image */ -#ifdef GL_NV_depth_buffer_float - CONST_CAST(GLEW_NV_depth_buffer_float) = _glewSearchExtension("GL_NV_depth_buffer_float", extStart, extEnd); - if (glewExperimental || GLEW_NV_depth_buffer_float) CONST_CAST(GLEW_NV_depth_buffer_float) = !_glewInit_GL_NV_depth_buffer_float(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_depth_buffer_float */ -#ifdef GL_NV_depth_clamp - CONST_CAST(GLEW_NV_depth_clamp) = _glewSearchExtension("GL_NV_depth_clamp", extStart, extEnd); -#endif /* GL_NV_depth_clamp */ -#ifdef GL_NV_depth_range_unclamped - CONST_CAST(GLEW_NV_depth_range_unclamped) = _glewSearchExtension("GL_NV_depth_range_unclamped", extStart, extEnd); -#endif /* GL_NV_depth_range_unclamped */ -#ifdef GL_NV_evaluators - CONST_CAST(GLEW_NV_evaluators) = _glewSearchExtension("GL_NV_evaluators", extStart, extEnd); - if (glewExperimental || GLEW_NV_evaluators) CONST_CAST(GLEW_NV_evaluators) = !_glewInit_GL_NV_evaluators(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_evaluators */ -#ifdef GL_NV_explicit_multisample - CONST_CAST(GLEW_NV_explicit_multisample) = _glewSearchExtension("GL_NV_explicit_multisample", extStart, extEnd); - if (glewExperimental || GLEW_NV_explicit_multisample) CONST_CAST(GLEW_NV_explicit_multisample) = !_glewInit_GL_NV_explicit_multisample(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_explicit_multisample */ -#ifdef GL_NV_fence - CONST_CAST(GLEW_NV_fence) = _glewSearchExtension("GL_NV_fence", extStart, extEnd); - if (glewExperimental || GLEW_NV_fence) CONST_CAST(GLEW_NV_fence) = !_glewInit_GL_NV_fence(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_fence */ -#ifdef GL_NV_float_buffer - CONST_CAST(GLEW_NV_float_buffer) = _glewSearchExtension("GL_NV_float_buffer", extStart, extEnd); -#endif /* GL_NV_float_buffer */ -#ifdef GL_NV_fog_distance - CONST_CAST(GLEW_NV_fog_distance) = _glewSearchExtension("GL_NV_fog_distance", extStart, extEnd); -#endif /* GL_NV_fog_distance */ -#ifdef GL_NV_fragment_program - CONST_CAST(GLEW_NV_fragment_program) = _glewSearchExtension("GL_NV_fragment_program", extStart, extEnd); - if (glewExperimental || GLEW_NV_fragment_program) CONST_CAST(GLEW_NV_fragment_program) = !_glewInit_GL_NV_fragment_program(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_fragment_program */ -#ifdef GL_NV_fragment_program2 - CONST_CAST(GLEW_NV_fragment_program2) = _glewSearchExtension("GL_NV_fragment_program2", extStart, extEnd); -#endif /* GL_NV_fragment_program2 */ -#ifdef GL_NV_fragment_program4 - CONST_CAST(GLEW_NV_fragment_program4) = _glewSearchExtension("GL_NV_gpu_program4", extStart, extEnd); -#endif /* GL_NV_fragment_program4 */ -#ifdef GL_NV_fragment_program_option - CONST_CAST(GLEW_NV_fragment_program_option) = _glewSearchExtension("GL_NV_fragment_program_option", extStart, extEnd); -#endif /* GL_NV_fragment_program_option */ -#ifdef GL_NV_framebuffer_multisample_coverage - CONST_CAST(GLEW_NV_framebuffer_multisample_coverage) = _glewSearchExtension("GL_NV_framebuffer_multisample_coverage", extStart, extEnd); - if (glewExperimental || GLEW_NV_framebuffer_multisample_coverage) CONST_CAST(GLEW_NV_framebuffer_multisample_coverage) = !_glewInit_GL_NV_framebuffer_multisample_coverage(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_framebuffer_multisample_coverage */ -#ifdef GL_NV_geometry_program4 - CONST_CAST(GLEW_NV_geometry_program4) = _glewSearchExtension("GL_NV_gpu_program4", extStart, extEnd); - if (glewExperimental || GLEW_NV_geometry_program4) CONST_CAST(GLEW_NV_geometry_program4) = !_glewInit_GL_NV_geometry_program4(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_geometry_program4 */ -#ifdef GL_NV_geometry_shader4 - CONST_CAST(GLEW_NV_geometry_shader4) = _glewSearchExtension("GL_NV_geometry_shader4", extStart, extEnd); -#endif /* GL_NV_geometry_shader4 */ -#ifdef GL_NV_gpu_program4 - CONST_CAST(GLEW_NV_gpu_program4) = _glewSearchExtension("GL_NV_gpu_program4", extStart, extEnd); - if (glewExperimental || GLEW_NV_gpu_program4) CONST_CAST(GLEW_NV_gpu_program4) = !_glewInit_GL_NV_gpu_program4(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_gpu_program4 */ -#ifdef GL_NV_gpu_program5 - CONST_CAST(GLEW_NV_gpu_program5) = _glewSearchExtension("GL_NV_gpu_program5", extStart, extEnd); -#endif /* GL_NV_gpu_program5 */ -#ifdef GL_NV_gpu_program_fp64 - CONST_CAST(GLEW_NV_gpu_program_fp64) = _glewSearchExtension("GL_NV_gpu_program_fp64", extStart, extEnd); -#endif /* GL_NV_gpu_program_fp64 */ -#ifdef GL_NV_gpu_shader5 - CONST_CAST(GLEW_NV_gpu_shader5) = _glewSearchExtension("GL_NV_gpu_shader5", extStart, extEnd); - if (glewExperimental || GLEW_NV_gpu_shader5) CONST_CAST(GLEW_NV_gpu_shader5) = !_glewInit_GL_NV_gpu_shader5(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_gpu_shader5 */ -#ifdef GL_NV_half_float - CONST_CAST(GLEW_NV_half_float) = _glewSearchExtension("GL_NV_half_float", extStart, extEnd); - if (glewExperimental || GLEW_NV_half_float) CONST_CAST(GLEW_NV_half_float) = !_glewInit_GL_NV_half_float(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_half_float */ -#ifdef GL_NV_light_max_exponent - CONST_CAST(GLEW_NV_light_max_exponent) = _glewSearchExtension("GL_NV_light_max_exponent", extStart, extEnd); -#endif /* GL_NV_light_max_exponent */ -#ifdef GL_NV_multisample_coverage - CONST_CAST(GLEW_NV_multisample_coverage) = _glewSearchExtension("GL_NV_multisample_coverage", extStart, extEnd); -#endif /* GL_NV_multisample_coverage */ -#ifdef GL_NV_multisample_filter_hint - CONST_CAST(GLEW_NV_multisample_filter_hint) = _glewSearchExtension("GL_NV_multisample_filter_hint", extStart, extEnd); -#endif /* GL_NV_multisample_filter_hint */ -#ifdef GL_NV_occlusion_query - CONST_CAST(GLEW_NV_occlusion_query) = _glewSearchExtension("GL_NV_occlusion_query", extStart, extEnd); - if (glewExperimental || GLEW_NV_occlusion_query) CONST_CAST(GLEW_NV_occlusion_query) = !_glewInit_GL_NV_occlusion_query(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_occlusion_query */ -#ifdef GL_NV_packed_depth_stencil - CONST_CAST(GLEW_NV_packed_depth_stencil) = _glewSearchExtension("GL_NV_packed_depth_stencil", extStart, extEnd); -#endif /* GL_NV_packed_depth_stencil */ -#ifdef GL_NV_parameter_buffer_object - CONST_CAST(GLEW_NV_parameter_buffer_object) = _glewSearchExtension("GL_NV_parameter_buffer_object", extStart, extEnd); - if (glewExperimental || GLEW_NV_parameter_buffer_object) CONST_CAST(GLEW_NV_parameter_buffer_object) = !_glewInit_GL_NV_parameter_buffer_object(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_parameter_buffer_object */ -#ifdef GL_NV_parameter_buffer_object2 - CONST_CAST(GLEW_NV_parameter_buffer_object2) = _glewSearchExtension("GL_NV_parameter_buffer_object2", extStart, extEnd); -#endif /* GL_NV_parameter_buffer_object2 */ -#ifdef GL_NV_path_rendering - CONST_CAST(GLEW_NV_path_rendering) = _glewSearchExtension("GL_NV_path_rendering", extStart, extEnd); - if (glewExperimental || GLEW_NV_path_rendering) CONST_CAST(GLEW_NV_path_rendering) = !_glewInit_GL_NV_path_rendering(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_path_rendering */ -#ifdef GL_NV_pixel_data_range - CONST_CAST(GLEW_NV_pixel_data_range) = _glewSearchExtension("GL_NV_pixel_data_range", extStart, extEnd); - if (glewExperimental || GLEW_NV_pixel_data_range) CONST_CAST(GLEW_NV_pixel_data_range) = !_glewInit_GL_NV_pixel_data_range(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_pixel_data_range */ -#ifdef GL_NV_point_sprite - CONST_CAST(GLEW_NV_point_sprite) = _glewSearchExtension("GL_NV_point_sprite", extStart, extEnd); - if (glewExperimental || GLEW_NV_point_sprite) CONST_CAST(GLEW_NV_point_sprite) = !_glewInit_GL_NV_point_sprite(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_point_sprite */ -#ifdef GL_NV_present_video - CONST_CAST(GLEW_NV_present_video) = _glewSearchExtension("GL_NV_present_video", extStart, extEnd); - if (glewExperimental || GLEW_NV_present_video) CONST_CAST(GLEW_NV_present_video) = !_glewInit_GL_NV_present_video(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_present_video */ -#ifdef GL_NV_primitive_restart - CONST_CAST(GLEW_NV_primitive_restart) = _glewSearchExtension("GL_NV_primitive_restart", extStart, extEnd); - if (glewExperimental || GLEW_NV_primitive_restart) CONST_CAST(GLEW_NV_primitive_restart) = !_glewInit_GL_NV_primitive_restart(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_primitive_restart */ -#ifdef GL_NV_register_combiners - CONST_CAST(GLEW_NV_register_combiners) = _glewSearchExtension("GL_NV_register_combiners", extStart, extEnd); - if (glewExperimental || GLEW_NV_register_combiners) CONST_CAST(GLEW_NV_register_combiners) = !_glewInit_GL_NV_register_combiners(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_register_combiners */ -#ifdef GL_NV_register_combiners2 - CONST_CAST(GLEW_NV_register_combiners2) = _glewSearchExtension("GL_NV_register_combiners2", extStart, extEnd); - if (glewExperimental || GLEW_NV_register_combiners2) CONST_CAST(GLEW_NV_register_combiners2) = !_glewInit_GL_NV_register_combiners2(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_register_combiners2 */ -#ifdef GL_NV_shader_atomic_float - CONST_CAST(GLEW_NV_shader_atomic_float) = _glewSearchExtension("GL_NV_shader_atomic_float", extStart, extEnd); -#endif /* GL_NV_shader_atomic_float */ -#ifdef GL_NV_shader_buffer_load - CONST_CAST(GLEW_NV_shader_buffer_load) = _glewSearchExtension("GL_NV_shader_buffer_load", extStart, extEnd); - if (glewExperimental || GLEW_NV_shader_buffer_load) CONST_CAST(GLEW_NV_shader_buffer_load) = !_glewInit_GL_NV_shader_buffer_load(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_shader_buffer_load */ -#ifdef GL_NV_tessellation_program5 - CONST_CAST(GLEW_NV_tessellation_program5) = _glewSearchExtension("GL_NV_gpu_program5", extStart, extEnd); -#endif /* GL_NV_tessellation_program5 */ -#ifdef GL_NV_texgen_emboss - CONST_CAST(GLEW_NV_texgen_emboss) = _glewSearchExtension("GL_NV_texgen_emboss", extStart, extEnd); -#endif /* GL_NV_texgen_emboss */ -#ifdef GL_NV_texgen_reflection - CONST_CAST(GLEW_NV_texgen_reflection) = _glewSearchExtension("GL_NV_texgen_reflection", extStart, extEnd); -#endif /* GL_NV_texgen_reflection */ -#ifdef GL_NV_texture_barrier - CONST_CAST(GLEW_NV_texture_barrier) = _glewSearchExtension("GL_NV_texture_barrier", extStart, extEnd); - if (glewExperimental || GLEW_NV_texture_barrier) CONST_CAST(GLEW_NV_texture_barrier) = !_glewInit_GL_NV_texture_barrier(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_texture_barrier */ -#ifdef GL_NV_texture_compression_vtc - CONST_CAST(GLEW_NV_texture_compression_vtc) = _glewSearchExtension("GL_NV_texture_compression_vtc", extStart, extEnd); -#endif /* GL_NV_texture_compression_vtc */ -#ifdef GL_NV_texture_env_combine4 - CONST_CAST(GLEW_NV_texture_env_combine4) = _glewSearchExtension("GL_NV_texture_env_combine4", extStart, extEnd); -#endif /* GL_NV_texture_env_combine4 */ -#ifdef GL_NV_texture_expand_normal - CONST_CAST(GLEW_NV_texture_expand_normal) = _glewSearchExtension("GL_NV_texture_expand_normal", extStart, extEnd); -#endif /* GL_NV_texture_expand_normal */ -#ifdef GL_NV_texture_multisample - CONST_CAST(GLEW_NV_texture_multisample) = _glewSearchExtension("GL_NV_texture_multisample", extStart, extEnd); - if (glewExperimental || GLEW_NV_texture_multisample) CONST_CAST(GLEW_NV_texture_multisample) = !_glewInit_GL_NV_texture_multisample(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_texture_multisample */ -#ifdef GL_NV_texture_rectangle - CONST_CAST(GLEW_NV_texture_rectangle) = _glewSearchExtension("GL_NV_texture_rectangle", extStart, extEnd); -#endif /* GL_NV_texture_rectangle */ -#ifdef GL_NV_texture_shader - CONST_CAST(GLEW_NV_texture_shader) = _glewSearchExtension("GL_NV_texture_shader", extStart, extEnd); -#endif /* GL_NV_texture_shader */ -#ifdef GL_NV_texture_shader2 - CONST_CAST(GLEW_NV_texture_shader2) = _glewSearchExtension("GL_NV_texture_shader2", extStart, extEnd); -#endif /* GL_NV_texture_shader2 */ -#ifdef GL_NV_texture_shader3 - CONST_CAST(GLEW_NV_texture_shader3) = _glewSearchExtension("GL_NV_texture_shader3", extStart, extEnd); -#endif /* GL_NV_texture_shader3 */ -#ifdef GL_NV_transform_feedback - CONST_CAST(GLEW_NV_transform_feedback) = _glewSearchExtension("GL_NV_transform_feedback", extStart, extEnd); - if (glewExperimental || GLEW_NV_transform_feedback) CONST_CAST(GLEW_NV_transform_feedback) = !_glewInit_GL_NV_transform_feedback(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_transform_feedback */ -#ifdef GL_NV_transform_feedback2 - CONST_CAST(GLEW_NV_transform_feedback2) = _glewSearchExtension("GL_NV_transform_feedback2", extStart, extEnd); - if (glewExperimental || GLEW_NV_transform_feedback2) CONST_CAST(GLEW_NV_transform_feedback2) = !_glewInit_GL_NV_transform_feedback2(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_transform_feedback2 */ -#ifdef GL_NV_vdpau_interop - CONST_CAST(GLEW_NV_vdpau_interop) = _glewSearchExtension("GL_NV_vdpau_interop", extStart, extEnd); - if (glewExperimental || GLEW_NV_vdpau_interop) CONST_CAST(GLEW_NV_vdpau_interop) = !_glewInit_GL_NV_vdpau_interop(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_vdpau_interop */ -#ifdef GL_NV_vertex_array_range - CONST_CAST(GLEW_NV_vertex_array_range) = _glewSearchExtension("GL_NV_vertex_array_range", extStart, extEnd); - if (glewExperimental || GLEW_NV_vertex_array_range) CONST_CAST(GLEW_NV_vertex_array_range) = !_glewInit_GL_NV_vertex_array_range(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_vertex_array_range */ -#ifdef GL_NV_vertex_array_range2 - CONST_CAST(GLEW_NV_vertex_array_range2) = _glewSearchExtension("GL_NV_vertex_array_range2", extStart, extEnd); -#endif /* GL_NV_vertex_array_range2 */ -#ifdef GL_NV_vertex_attrib_integer_64bit - CONST_CAST(GLEW_NV_vertex_attrib_integer_64bit) = _glewSearchExtension("GL_NV_vertex_attrib_integer_64bit", extStart, extEnd); - if (glewExperimental || GLEW_NV_vertex_attrib_integer_64bit) CONST_CAST(GLEW_NV_vertex_attrib_integer_64bit) = !_glewInit_GL_NV_vertex_attrib_integer_64bit(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_vertex_attrib_integer_64bit */ -#ifdef GL_NV_vertex_buffer_unified_memory - CONST_CAST(GLEW_NV_vertex_buffer_unified_memory) = _glewSearchExtension("GL_NV_vertex_buffer_unified_memory", extStart, extEnd); - if (glewExperimental || GLEW_NV_vertex_buffer_unified_memory) CONST_CAST(GLEW_NV_vertex_buffer_unified_memory) = !_glewInit_GL_NV_vertex_buffer_unified_memory(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_vertex_buffer_unified_memory */ -#ifdef GL_NV_vertex_program - CONST_CAST(GLEW_NV_vertex_program) = _glewSearchExtension("GL_NV_vertex_program", extStart, extEnd); - if (glewExperimental || GLEW_NV_vertex_program) CONST_CAST(GLEW_NV_vertex_program) = !_glewInit_GL_NV_vertex_program(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_vertex_program */ -#ifdef GL_NV_vertex_program1_1 - CONST_CAST(GLEW_NV_vertex_program1_1) = _glewSearchExtension("GL_NV_vertex_program1_1", extStart, extEnd); -#endif /* GL_NV_vertex_program1_1 */ -#ifdef GL_NV_vertex_program2 - CONST_CAST(GLEW_NV_vertex_program2) = _glewSearchExtension("GL_NV_vertex_program2", extStart, extEnd); -#endif /* GL_NV_vertex_program2 */ -#ifdef GL_NV_vertex_program2_option - CONST_CAST(GLEW_NV_vertex_program2_option) = _glewSearchExtension("GL_NV_vertex_program2_option", extStart, extEnd); -#endif /* GL_NV_vertex_program2_option */ -#ifdef GL_NV_vertex_program3 - CONST_CAST(GLEW_NV_vertex_program3) = _glewSearchExtension("GL_NV_vertex_program3", extStart, extEnd); -#endif /* GL_NV_vertex_program3 */ -#ifdef GL_NV_vertex_program4 - CONST_CAST(GLEW_NV_vertex_program4) = _glewSearchExtension("GL_NV_gpu_program4", extStart, extEnd); -#endif /* GL_NV_vertex_program4 */ -#ifdef GL_NV_video_capture - CONST_CAST(GLEW_NV_video_capture) = _glewSearchExtension("GL_NV_video_capture", extStart, extEnd); - if (glewExperimental || GLEW_NV_video_capture) CONST_CAST(GLEW_NV_video_capture) = !_glewInit_GL_NV_video_capture(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_NV_video_capture */ -#ifdef GL_OES_byte_coordinates - CONST_CAST(GLEW_OES_byte_coordinates) = _glewSearchExtension("GL_OES_byte_coordinates", extStart, extEnd); -#endif /* GL_OES_byte_coordinates */ -#ifdef GL_OES_compressed_paletted_texture - CONST_CAST(GLEW_OES_compressed_paletted_texture) = _glewSearchExtension("GL_OES_compressed_paletted_texture", extStart, extEnd); -#endif /* GL_OES_compressed_paletted_texture */ -#ifdef GL_OES_read_format - CONST_CAST(GLEW_OES_read_format) = _glewSearchExtension("GL_OES_read_format", extStart, extEnd); -#endif /* GL_OES_read_format */ -#ifdef GL_OES_single_precision - CONST_CAST(GLEW_OES_single_precision) = _glewSearchExtension("GL_OES_single_precision", extStart, extEnd); - if (glewExperimental || GLEW_OES_single_precision) CONST_CAST(GLEW_OES_single_precision) = !_glewInit_GL_OES_single_precision(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_OES_single_precision */ -#ifdef GL_OML_interlace - CONST_CAST(GLEW_OML_interlace) = _glewSearchExtension("GL_OML_interlace", extStart, extEnd); -#endif /* GL_OML_interlace */ -#ifdef GL_OML_resample - CONST_CAST(GLEW_OML_resample) = _glewSearchExtension("GL_OML_resample", extStart, extEnd); -#endif /* GL_OML_resample */ -#ifdef GL_OML_subsample - CONST_CAST(GLEW_OML_subsample) = _glewSearchExtension("GL_OML_subsample", extStart, extEnd); -#endif /* GL_OML_subsample */ -#ifdef GL_PGI_misc_hints - CONST_CAST(GLEW_PGI_misc_hints) = _glewSearchExtension("GL_PGI_misc_hints", extStart, extEnd); -#endif /* GL_PGI_misc_hints */ -#ifdef GL_PGI_vertex_hints - CONST_CAST(GLEW_PGI_vertex_hints) = _glewSearchExtension("GL_PGI_vertex_hints", extStart, extEnd); -#endif /* GL_PGI_vertex_hints */ -#ifdef GL_REGAL_error_string - CONST_CAST(GLEW_REGAL_error_string) = _glewSearchExtension("GL_REGAL_error_string", extStart, extEnd); - if (glewExperimental || GLEW_REGAL_error_string) CONST_CAST(GLEW_REGAL_error_string) = !_glewInit_GL_REGAL_error_string(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_REGAL_error_string */ -#ifdef GL_REGAL_extension_query - CONST_CAST(GLEW_REGAL_extension_query) = _glewSearchExtension("GL_REGAL_extension_query", extStart, extEnd); - if (glewExperimental || GLEW_REGAL_extension_query) CONST_CAST(GLEW_REGAL_extension_query) = !_glewInit_GL_REGAL_extension_query(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_REGAL_extension_query */ -#ifdef GL_REGAL_log - CONST_CAST(GLEW_REGAL_log) = _glewSearchExtension("GL_REGAL_log", extStart, extEnd); -#endif /* GL_REGAL_log */ -#ifdef GL_REND_screen_coordinates - CONST_CAST(GLEW_REND_screen_coordinates) = _glewSearchExtension("GL_REND_screen_coordinates", extStart, extEnd); -#endif /* GL_REND_screen_coordinates */ -#ifdef GL_S3_s3tc - CONST_CAST(GLEW_S3_s3tc) = _glewSearchExtension("GL_S3_s3tc", extStart, extEnd); -#endif /* GL_S3_s3tc */ -#ifdef GL_SGIS_color_range - CONST_CAST(GLEW_SGIS_color_range) = _glewSearchExtension("GL_SGIS_color_range", extStart, extEnd); -#endif /* GL_SGIS_color_range */ -#ifdef GL_SGIS_detail_texture - CONST_CAST(GLEW_SGIS_detail_texture) = _glewSearchExtension("GL_SGIS_detail_texture", extStart, extEnd); - if (glewExperimental || GLEW_SGIS_detail_texture) CONST_CAST(GLEW_SGIS_detail_texture) = !_glewInit_GL_SGIS_detail_texture(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_SGIS_detail_texture */ -#ifdef GL_SGIS_fog_function - CONST_CAST(GLEW_SGIS_fog_function) = _glewSearchExtension("GL_SGIS_fog_function", extStart, extEnd); - if (glewExperimental || GLEW_SGIS_fog_function) CONST_CAST(GLEW_SGIS_fog_function) = !_glewInit_GL_SGIS_fog_function(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_SGIS_fog_function */ -#ifdef GL_SGIS_generate_mipmap - CONST_CAST(GLEW_SGIS_generate_mipmap) = _glewSearchExtension("GL_SGIS_generate_mipmap", extStart, extEnd); -#endif /* GL_SGIS_generate_mipmap */ -#ifdef GL_SGIS_multisample - CONST_CAST(GLEW_SGIS_multisample) = _glewSearchExtension("GL_SGIS_multisample", extStart, extEnd); - if (glewExperimental || GLEW_SGIS_multisample) CONST_CAST(GLEW_SGIS_multisample) = !_glewInit_GL_SGIS_multisample(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_SGIS_multisample */ -#ifdef GL_SGIS_pixel_texture - CONST_CAST(GLEW_SGIS_pixel_texture) = _glewSearchExtension("GL_SGIS_pixel_texture", extStart, extEnd); -#endif /* GL_SGIS_pixel_texture */ -#ifdef GL_SGIS_point_line_texgen - CONST_CAST(GLEW_SGIS_point_line_texgen) = _glewSearchExtension("GL_SGIS_point_line_texgen", extStart, extEnd); -#endif /* GL_SGIS_point_line_texgen */ -#ifdef GL_SGIS_sharpen_texture - CONST_CAST(GLEW_SGIS_sharpen_texture) = _glewSearchExtension("GL_SGIS_sharpen_texture", extStart, extEnd); - if (glewExperimental || GLEW_SGIS_sharpen_texture) CONST_CAST(GLEW_SGIS_sharpen_texture) = !_glewInit_GL_SGIS_sharpen_texture(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_SGIS_sharpen_texture */ -#ifdef GL_SGIS_texture4D - CONST_CAST(GLEW_SGIS_texture4D) = _glewSearchExtension("GL_SGIS_texture4D", extStart, extEnd); - if (glewExperimental || GLEW_SGIS_texture4D) CONST_CAST(GLEW_SGIS_texture4D) = !_glewInit_GL_SGIS_texture4D(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_SGIS_texture4D */ -#ifdef GL_SGIS_texture_border_clamp - CONST_CAST(GLEW_SGIS_texture_border_clamp) = _glewSearchExtension("GL_SGIS_texture_border_clamp", extStart, extEnd); -#endif /* GL_SGIS_texture_border_clamp */ -#ifdef GL_SGIS_texture_edge_clamp - CONST_CAST(GLEW_SGIS_texture_edge_clamp) = _glewSearchExtension("GL_SGIS_texture_edge_clamp", extStart, extEnd); -#endif /* GL_SGIS_texture_edge_clamp */ -#ifdef GL_SGIS_texture_filter4 - CONST_CAST(GLEW_SGIS_texture_filter4) = _glewSearchExtension("GL_SGIS_texture_filter4", extStart, extEnd); - if (glewExperimental || GLEW_SGIS_texture_filter4) CONST_CAST(GLEW_SGIS_texture_filter4) = !_glewInit_GL_SGIS_texture_filter4(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_SGIS_texture_filter4 */ -#ifdef GL_SGIS_texture_lod - CONST_CAST(GLEW_SGIS_texture_lod) = _glewSearchExtension("GL_SGIS_texture_lod", extStart, extEnd); -#endif /* GL_SGIS_texture_lod */ -#ifdef GL_SGIS_texture_select - CONST_CAST(GLEW_SGIS_texture_select) = _glewSearchExtension("GL_SGIS_texture_select", extStart, extEnd); -#endif /* GL_SGIS_texture_select */ -#ifdef GL_SGIX_async - CONST_CAST(GLEW_SGIX_async) = _glewSearchExtension("GL_SGIX_async", extStart, extEnd); - if (glewExperimental || GLEW_SGIX_async) CONST_CAST(GLEW_SGIX_async) = !_glewInit_GL_SGIX_async(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_SGIX_async */ -#ifdef GL_SGIX_async_histogram - CONST_CAST(GLEW_SGIX_async_histogram) = _glewSearchExtension("GL_SGIX_async_histogram", extStart, extEnd); -#endif /* GL_SGIX_async_histogram */ -#ifdef GL_SGIX_async_pixel - CONST_CAST(GLEW_SGIX_async_pixel) = _glewSearchExtension("GL_SGIX_async_pixel", extStart, extEnd); -#endif /* GL_SGIX_async_pixel */ -#ifdef GL_SGIX_blend_alpha_minmax - CONST_CAST(GLEW_SGIX_blend_alpha_minmax) = _glewSearchExtension("GL_SGIX_blend_alpha_minmax", extStart, extEnd); -#endif /* GL_SGIX_blend_alpha_minmax */ -#ifdef GL_SGIX_clipmap - CONST_CAST(GLEW_SGIX_clipmap) = _glewSearchExtension("GL_SGIX_clipmap", extStart, extEnd); -#endif /* GL_SGIX_clipmap */ -#ifdef GL_SGIX_convolution_accuracy - CONST_CAST(GLEW_SGIX_convolution_accuracy) = _glewSearchExtension("GL_SGIX_convolution_accuracy", extStart, extEnd); -#endif /* GL_SGIX_convolution_accuracy */ -#ifdef GL_SGIX_depth_texture - CONST_CAST(GLEW_SGIX_depth_texture) = _glewSearchExtension("GL_SGIX_depth_texture", extStart, extEnd); -#endif /* GL_SGIX_depth_texture */ -#ifdef GL_SGIX_flush_raster - CONST_CAST(GLEW_SGIX_flush_raster) = _glewSearchExtension("GL_SGIX_flush_raster", extStart, extEnd); - if (glewExperimental || GLEW_SGIX_flush_raster) CONST_CAST(GLEW_SGIX_flush_raster) = !_glewInit_GL_SGIX_flush_raster(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_SGIX_flush_raster */ -#ifdef GL_SGIX_fog_offset - CONST_CAST(GLEW_SGIX_fog_offset) = _glewSearchExtension("GL_SGIX_fog_offset", extStart, extEnd); -#endif /* GL_SGIX_fog_offset */ -#ifdef GL_SGIX_fog_texture - CONST_CAST(GLEW_SGIX_fog_texture) = _glewSearchExtension("GL_SGIX_fog_texture", extStart, extEnd); - if (glewExperimental || GLEW_SGIX_fog_texture) CONST_CAST(GLEW_SGIX_fog_texture) = !_glewInit_GL_SGIX_fog_texture(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_SGIX_fog_texture */ -#ifdef GL_SGIX_fragment_specular_lighting - CONST_CAST(GLEW_SGIX_fragment_specular_lighting) = _glewSearchExtension("GL_SGIX_fragment_specular_lighting", extStart, extEnd); - if (glewExperimental || GLEW_SGIX_fragment_specular_lighting) CONST_CAST(GLEW_SGIX_fragment_specular_lighting) = !_glewInit_GL_SGIX_fragment_specular_lighting(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_SGIX_fragment_specular_lighting */ -#ifdef GL_SGIX_framezoom - CONST_CAST(GLEW_SGIX_framezoom) = _glewSearchExtension("GL_SGIX_framezoom", extStart, extEnd); - if (glewExperimental || GLEW_SGIX_framezoom) CONST_CAST(GLEW_SGIX_framezoom) = !_glewInit_GL_SGIX_framezoom(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_SGIX_framezoom */ -#ifdef GL_SGIX_interlace - CONST_CAST(GLEW_SGIX_interlace) = _glewSearchExtension("GL_SGIX_interlace", extStart, extEnd); -#endif /* GL_SGIX_interlace */ -#ifdef GL_SGIX_ir_instrument1 - CONST_CAST(GLEW_SGIX_ir_instrument1) = _glewSearchExtension("GL_SGIX_ir_instrument1", extStart, extEnd); -#endif /* GL_SGIX_ir_instrument1 */ -#ifdef GL_SGIX_list_priority - CONST_CAST(GLEW_SGIX_list_priority) = _glewSearchExtension("GL_SGIX_list_priority", extStart, extEnd); -#endif /* GL_SGIX_list_priority */ -#ifdef GL_SGIX_pixel_texture - CONST_CAST(GLEW_SGIX_pixel_texture) = _glewSearchExtension("GL_SGIX_pixel_texture", extStart, extEnd); - if (glewExperimental || GLEW_SGIX_pixel_texture) CONST_CAST(GLEW_SGIX_pixel_texture) = !_glewInit_GL_SGIX_pixel_texture(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_SGIX_pixel_texture */ -#ifdef GL_SGIX_pixel_texture_bits - CONST_CAST(GLEW_SGIX_pixel_texture_bits) = _glewSearchExtension("GL_SGIX_pixel_texture_bits", extStart, extEnd); -#endif /* GL_SGIX_pixel_texture_bits */ -#ifdef GL_SGIX_reference_plane - CONST_CAST(GLEW_SGIX_reference_plane) = _glewSearchExtension("GL_SGIX_reference_plane", extStart, extEnd); - if (glewExperimental || GLEW_SGIX_reference_plane) CONST_CAST(GLEW_SGIX_reference_plane) = !_glewInit_GL_SGIX_reference_plane(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_SGIX_reference_plane */ -#ifdef GL_SGIX_resample - CONST_CAST(GLEW_SGIX_resample) = _glewSearchExtension("GL_SGIX_resample", extStart, extEnd); -#endif /* GL_SGIX_resample */ -#ifdef GL_SGIX_shadow - CONST_CAST(GLEW_SGIX_shadow) = _glewSearchExtension("GL_SGIX_shadow", extStart, extEnd); -#endif /* GL_SGIX_shadow */ -#ifdef GL_SGIX_shadow_ambient - CONST_CAST(GLEW_SGIX_shadow_ambient) = _glewSearchExtension("GL_SGIX_shadow_ambient", extStart, extEnd); -#endif /* GL_SGIX_shadow_ambient */ -#ifdef GL_SGIX_sprite - CONST_CAST(GLEW_SGIX_sprite) = _glewSearchExtension("GL_SGIX_sprite", extStart, extEnd); - if (glewExperimental || GLEW_SGIX_sprite) CONST_CAST(GLEW_SGIX_sprite) = !_glewInit_GL_SGIX_sprite(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_SGIX_sprite */ -#ifdef GL_SGIX_tag_sample_buffer - CONST_CAST(GLEW_SGIX_tag_sample_buffer) = _glewSearchExtension("GL_SGIX_tag_sample_buffer", extStart, extEnd); - if (glewExperimental || GLEW_SGIX_tag_sample_buffer) CONST_CAST(GLEW_SGIX_tag_sample_buffer) = !_glewInit_GL_SGIX_tag_sample_buffer(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_SGIX_tag_sample_buffer */ -#ifdef GL_SGIX_texture_add_env - CONST_CAST(GLEW_SGIX_texture_add_env) = _glewSearchExtension("GL_SGIX_texture_add_env", extStart, extEnd); -#endif /* GL_SGIX_texture_add_env */ -#ifdef GL_SGIX_texture_coordinate_clamp - CONST_CAST(GLEW_SGIX_texture_coordinate_clamp) = _glewSearchExtension("GL_SGIX_texture_coordinate_clamp", extStart, extEnd); -#endif /* GL_SGIX_texture_coordinate_clamp */ -#ifdef GL_SGIX_texture_lod_bias - CONST_CAST(GLEW_SGIX_texture_lod_bias) = _glewSearchExtension("GL_SGIX_texture_lod_bias", extStart, extEnd); -#endif /* GL_SGIX_texture_lod_bias */ -#ifdef GL_SGIX_texture_multi_buffer - CONST_CAST(GLEW_SGIX_texture_multi_buffer) = _glewSearchExtension("GL_SGIX_texture_multi_buffer", extStart, extEnd); -#endif /* GL_SGIX_texture_multi_buffer */ -#ifdef GL_SGIX_texture_range - CONST_CAST(GLEW_SGIX_texture_range) = _glewSearchExtension("GL_SGIX_texture_range", extStart, extEnd); -#endif /* GL_SGIX_texture_range */ -#ifdef GL_SGIX_texture_scale_bias - CONST_CAST(GLEW_SGIX_texture_scale_bias) = _glewSearchExtension("GL_SGIX_texture_scale_bias", extStart, extEnd); -#endif /* GL_SGIX_texture_scale_bias */ -#ifdef GL_SGIX_vertex_preclip - CONST_CAST(GLEW_SGIX_vertex_preclip) = _glewSearchExtension("GL_SGIX_vertex_preclip", extStart, extEnd); -#endif /* GL_SGIX_vertex_preclip */ -#ifdef GL_SGIX_vertex_preclip_hint - CONST_CAST(GLEW_SGIX_vertex_preclip_hint) = _glewSearchExtension("GL_SGIX_vertex_preclip_hint", extStart, extEnd); -#endif /* GL_SGIX_vertex_preclip_hint */ -#ifdef GL_SGIX_ycrcb - CONST_CAST(GLEW_SGIX_ycrcb) = _glewSearchExtension("GL_SGIX_ycrcb", extStart, extEnd); -#endif /* GL_SGIX_ycrcb */ -#ifdef GL_SGI_color_matrix - CONST_CAST(GLEW_SGI_color_matrix) = _glewSearchExtension("GL_SGI_color_matrix", extStart, extEnd); -#endif /* GL_SGI_color_matrix */ -#ifdef GL_SGI_color_table - CONST_CAST(GLEW_SGI_color_table) = _glewSearchExtension("GL_SGI_color_table", extStart, extEnd); - if (glewExperimental || GLEW_SGI_color_table) CONST_CAST(GLEW_SGI_color_table) = !_glewInit_GL_SGI_color_table(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_SGI_color_table */ -#ifdef GL_SGI_texture_color_table - CONST_CAST(GLEW_SGI_texture_color_table) = _glewSearchExtension("GL_SGI_texture_color_table", extStart, extEnd); -#endif /* GL_SGI_texture_color_table */ -#ifdef GL_SUNX_constant_data - CONST_CAST(GLEW_SUNX_constant_data) = _glewSearchExtension("GL_SUNX_constant_data", extStart, extEnd); - if (glewExperimental || GLEW_SUNX_constant_data) CONST_CAST(GLEW_SUNX_constant_data) = !_glewInit_GL_SUNX_constant_data(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_SUNX_constant_data */ -#ifdef GL_SUN_convolution_border_modes - CONST_CAST(GLEW_SUN_convolution_border_modes) = _glewSearchExtension("GL_SUN_convolution_border_modes", extStart, extEnd); -#endif /* GL_SUN_convolution_border_modes */ -#ifdef GL_SUN_global_alpha - CONST_CAST(GLEW_SUN_global_alpha) = _glewSearchExtension("GL_SUN_global_alpha", extStart, extEnd); - if (glewExperimental || GLEW_SUN_global_alpha) CONST_CAST(GLEW_SUN_global_alpha) = !_glewInit_GL_SUN_global_alpha(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_SUN_global_alpha */ -#ifdef GL_SUN_mesh_array - CONST_CAST(GLEW_SUN_mesh_array) = _glewSearchExtension("GL_SUN_mesh_array", extStart, extEnd); -#endif /* GL_SUN_mesh_array */ -#ifdef GL_SUN_read_video_pixels - CONST_CAST(GLEW_SUN_read_video_pixels) = _glewSearchExtension("GL_SUN_read_video_pixels", extStart, extEnd); - if (glewExperimental || GLEW_SUN_read_video_pixels) CONST_CAST(GLEW_SUN_read_video_pixels) = !_glewInit_GL_SUN_read_video_pixels(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_SUN_read_video_pixels */ -#ifdef GL_SUN_slice_accum - CONST_CAST(GLEW_SUN_slice_accum) = _glewSearchExtension("GL_SUN_slice_accum", extStart, extEnd); -#endif /* GL_SUN_slice_accum */ -#ifdef GL_SUN_triangle_list - CONST_CAST(GLEW_SUN_triangle_list) = _glewSearchExtension("GL_SUN_triangle_list", extStart, extEnd); - if (glewExperimental || GLEW_SUN_triangle_list) CONST_CAST(GLEW_SUN_triangle_list) = !_glewInit_GL_SUN_triangle_list(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_SUN_triangle_list */ -#ifdef GL_SUN_vertex - CONST_CAST(GLEW_SUN_vertex) = _glewSearchExtension("GL_SUN_vertex", extStart, extEnd); - if (glewExperimental || GLEW_SUN_vertex) CONST_CAST(GLEW_SUN_vertex) = !_glewInit_GL_SUN_vertex(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_SUN_vertex */ -#ifdef GL_WIN_phong_shading - CONST_CAST(GLEW_WIN_phong_shading) = _glewSearchExtension("GL_WIN_phong_shading", extStart, extEnd); -#endif /* GL_WIN_phong_shading */ -#ifdef GL_WIN_specular_fog - CONST_CAST(GLEW_WIN_specular_fog) = _glewSearchExtension("GL_WIN_specular_fog", extStart, extEnd); -#endif /* GL_WIN_specular_fog */ -#ifdef GL_WIN_swap_hint - CONST_CAST(GLEW_WIN_swap_hint) = _glewSearchExtension("GL_WIN_swap_hint", extStart, extEnd); - if (glewExperimental || GLEW_WIN_swap_hint) CONST_CAST(GLEW_WIN_swap_hint) = !_glewInit_GL_WIN_swap_hint(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GL_WIN_swap_hint */ - - return GLEW_OK; -} - - -#if defined(_WIN32) - -#if !defined(GLEW_MX) - -PFNWGLSETSTEREOEMITTERSTATE3DLPROC __wglewSetStereoEmitterState3DL = NULL; - -PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC __wglewBlitContextFramebufferAMD = NULL; -PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC __wglewCreateAssociatedContextAMD = NULL; -PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC __wglewCreateAssociatedContextAttribsAMD = NULL; -PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC __wglewDeleteAssociatedContextAMD = NULL; -PFNWGLGETCONTEXTGPUIDAMDPROC __wglewGetContextGPUIDAMD = NULL; -PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC __wglewGetCurrentAssociatedContextAMD = NULL; -PFNWGLGETGPUIDSAMDPROC __wglewGetGPUIDsAMD = NULL; -PFNWGLGETGPUINFOAMDPROC __wglewGetGPUInfoAMD = NULL; -PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC __wglewMakeAssociatedContextCurrentAMD = NULL; - -PFNWGLCREATEBUFFERREGIONARBPROC __wglewCreateBufferRegionARB = NULL; -PFNWGLDELETEBUFFERREGIONARBPROC __wglewDeleteBufferRegionARB = NULL; -PFNWGLRESTOREBUFFERREGIONARBPROC __wglewRestoreBufferRegionARB = NULL; -PFNWGLSAVEBUFFERREGIONARBPROC __wglewSaveBufferRegionARB = NULL; - -PFNWGLCREATECONTEXTATTRIBSARBPROC __wglewCreateContextAttribsARB = NULL; - -PFNWGLGETEXTENSIONSSTRINGARBPROC __wglewGetExtensionsStringARB = NULL; - -PFNWGLGETCURRENTREADDCARBPROC __wglewGetCurrentReadDCARB = NULL; -PFNWGLMAKECONTEXTCURRENTARBPROC __wglewMakeContextCurrentARB = NULL; - -PFNWGLCREATEPBUFFERARBPROC __wglewCreatePbufferARB = NULL; -PFNWGLDESTROYPBUFFERARBPROC __wglewDestroyPbufferARB = NULL; -PFNWGLGETPBUFFERDCARBPROC __wglewGetPbufferDCARB = NULL; -PFNWGLQUERYPBUFFERARBPROC __wglewQueryPbufferARB = NULL; -PFNWGLRELEASEPBUFFERDCARBPROC __wglewReleasePbufferDCARB = NULL; - -PFNWGLCHOOSEPIXELFORMATARBPROC __wglewChoosePixelFormatARB = NULL; -PFNWGLGETPIXELFORMATATTRIBFVARBPROC __wglewGetPixelFormatAttribfvARB = NULL; -PFNWGLGETPIXELFORMATATTRIBIVARBPROC __wglewGetPixelFormatAttribivARB = NULL; - -PFNWGLBINDTEXIMAGEARBPROC __wglewBindTexImageARB = NULL; -PFNWGLRELEASETEXIMAGEARBPROC __wglewReleaseTexImageARB = NULL; -PFNWGLSETPBUFFERATTRIBARBPROC __wglewSetPbufferAttribARB = NULL; - -PFNWGLBINDDISPLAYCOLORTABLEEXTPROC __wglewBindDisplayColorTableEXT = NULL; -PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC __wglewCreateDisplayColorTableEXT = NULL; -PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC __wglewDestroyDisplayColorTableEXT = NULL; -PFNWGLLOADDISPLAYCOLORTABLEEXTPROC __wglewLoadDisplayColorTableEXT = NULL; - -PFNWGLGETEXTENSIONSSTRINGEXTPROC __wglewGetExtensionsStringEXT = NULL; - -PFNWGLGETCURRENTREADDCEXTPROC __wglewGetCurrentReadDCEXT = NULL; -PFNWGLMAKECONTEXTCURRENTEXTPROC __wglewMakeContextCurrentEXT = NULL; - -PFNWGLCREATEPBUFFEREXTPROC __wglewCreatePbufferEXT = NULL; -PFNWGLDESTROYPBUFFEREXTPROC __wglewDestroyPbufferEXT = NULL; -PFNWGLGETPBUFFERDCEXTPROC __wglewGetPbufferDCEXT = NULL; -PFNWGLQUERYPBUFFEREXTPROC __wglewQueryPbufferEXT = NULL; -PFNWGLRELEASEPBUFFERDCEXTPROC __wglewReleasePbufferDCEXT = NULL; - -PFNWGLCHOOSEPIXELFORMATEXTPROC __wglewChoosePixelFormatEXT = NULL; -PFNWGLGETPIXELFORMATATTRIBFVEXTPROC __wglewGetPixelFormatAttribfvEXT = NULL; -PFNWGLGETPIXELFORMATATTRIBIVEXTPROC __wglewGetPixelFormatAttribivEXT = NULL; - -PFNWGLGETSWAPINTERVALEXTPROC __wglewGetSwapIntervalEXT = NULL; -PFNWGLSWAPINTERVALEXTPROC __wglewSwapIntervalEXT = NULL; - -PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC __wglewGetDigitalVideoParametersI3D = NULL; -PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC __wglewSetDigitalVideoParametersI3D = NULL; - -PFNWGLGETGAMMATABLEI3DPROC __wglewGetGammaTableI3D = NULL; -PFNWGLGETGAMMATABLEPARAMETERSI3DPROC __wglewGetGammaTableParametersI3D = NULL; -PFNWGLSETGAMMATABLEI3DPROC __wglewSetGammaTableI3D = NULL; -PFNWGLSETGAMMATABLEPARAMETERSI3DPROC __wglewSetGammaTableParametersI3D = NULL; - -PFNWGLDISABLEGENLOCKI3DPROC __wglewDisableGenlockI3D = NULL; -PFNWGLENABLEGENLOCKI3DPROC __wglewEnableGenlockI3D = NULL; -PFNWGLGENLOCKSAMPLERATEI3DPROC __wglewGenlockSampleRateI3D = NULL; -PFNWGLGENLOCKSOURCEDELAYI3DPROC __wglewGenlockSourceDelayI3D = NULL; -PFNWGLGENLOCKSOURCEEDGEI3DPROC __wglewGenlockSourceEdgeI3D = NULL; -PFNWGLGENLOCKSOURCEI3DPROC __wglewGenlockSourceI3D = NULL; -PFNWGLGETGENLOCKSAMPLERATEI3DPROC __wglewGetGenlockSampleRateI3D = NULL; -PFNWGLGETGENLOCKSOURCEDELAYI3DPROC __wglewGetGenlockSourceDelayI3D = NULL; -PFNWGLGETGENLOCKSOURCEEDGEI3DPROC __wglewGetGenlockSourceEdgeI3D = NULL; -PFNWGLGETGENLOCKSOURCEI3DPROC __wglewGetGenlockSourceI3D = NULL; -PFNWGLISENABLEDGENLOCKI3DPROC __wglewIsEnabledGenlockI3D = NULL; -PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC __wglewQueryGenlockMaxSourceDelayI3D = NULL; - -PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC __wglewAssociateImageBufferEventsI3D = NULL; -PFNWGLCREATEIMAGEBUFFERI3DPROC __wglewCreateImageBufferI3D = NULL; -PFNWGLDESTROYIMAGEBUFFERI3DPROC __wglewDestroyImageBufferI3D = NULL; -PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC __wglewReleaseImageBufferEventsI3D = NULL; - -PFNWGLDISABLEFRAMELOCKI3DPROC __wglewDisableFrameLockI3D = NULL; -PFNWGLENABLEFRAMELOCKI3DPROC __wglewEnableFrameLockI3D = NULL; -PFNWGLISENABLEDFRAMELOCKI3DPROC __wglewIsEnabledFrameLockI3D = NULL; -PFNWGLQUERYFRAMELOCKMASTERI3DPROC __wglewQueryFrameLockMasterI3D = NULL; - -PFNWGLBEGINFRAMETRACKINGI3DPROC __wglewBeginFrameTrackingI3D = NULL; -PFNWGLENDFRAMETRACKINGI3DPROC __wglewEndFrameTrackingI3D = NULL; -PFNWGLGETFRAMEUSAGEI3DPROC __wglewGetFrameUsageI3D = NULL; -PFNWGLQUERYFRAMETRACKINGI3DPROC __wglewQueryFrameTrackingI3D = NULL; - -PFNWGLDXCLOSEDEVICENVPROC __wglewDXCloseDeviceNV = NULL; -PFNWGLDXLOCKOBJECTSNVPROC __wglewDXLockObjectsNV = NULL; -PFNWGLDXOBJECTACCESSNVPROC __wglewDXObjectAccessNV = NULL; -PFNWGLDXOPENDEVICENVPROC __wglewDXOpenDeviceNV = NULL; -PFNWGLDXREGISTEROBJECTNVPROC __wglewDXRegisterObjectNV = NULL; -PFNWGLDXSETRESOURCESHAREHANDLENVPROC __wglewDXSetResourceShareHandleNV = NULL; -PFNWGLDXUNLOCKOBJECTSNVPROC __wglewDXUnlockObjectsNV = NULL; -PFNWGLDXUNREGISTEROBJECTNVPROC __wglewDXUnregisterObjectNV = NULL; - -PFNWGLCOPYIMAGESUBDATANVPROC __wglewCopyImageSubDataNV = NULL; - -PFNWGLCREATEAFFINITYDCNVPROC __wglewCreateAffinityDCNV = NULL; -PFNWGLDELETEDCNVPROC __wglewDeleteDCNV = NULL; -PFNWGLENUMGPUDEVICESNVPROC __wglewEnumGpuDevicesNV = NULL; -PFNWGLENUMGPUSFROMAFFINITYDCNVPROC __wglewEnumGpusFromAffinityDCNV = NULL; -PFNWGLENUMGPUSNVPROC __wglewEnumGpusNV = NULL; - -PFNWGLBINDVIDEODEVICENVPROC __wglewBindVideoDeviceNV = NULL; -PFNWGLENUMERATEVIDEODEVICESNVPROC __wglewEnumerateVideoDevicesNV = NULL; -PFNWGLQUERYCURRENTCONTEXTNVPROC __wglewQueryCurrentContextNV = NULL; - -PFNWGLBINDSWAPBARRIERNVPROC __wglewBindSwapBarrierNV = NULL; -PFNWGLJOINSWAPGROUPNVPROC __wglewJoinSwapGroupNV = NULL; -PFNWGLQUERYFRAMECOUNTNVPROC __wglewQueryFrameCountNV = NULL; -PFNWGLQUERYMAXSWAPGROUPSNVPROC __wglewQueryMaxSwapGroupsNV = NULL; -PFNWGLQUERYSWAPGROUPNVPROC __wglewQuerySwapGroupNV = NULL; -PFNWGLRESETFRAMECOUNTNVPROC __wglewResetFrameCountNV = NULL; - -PFNWGLALLOCATEMEMORYNVPROC __wglewAllocateMemoryNV = NULL; -PFNWGLFREEMEMORYNVPROC __wglewFreeMemoryNV = NULL; - -PFNWGLBINDVIDEOCAPTUREDEVICENVPROC __wglewBindVideoCaptureDeviceNV = NULL; -PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC __wglewEnumerateVideoCaptureDevicesNV = NULL; -PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC __wglewLockVideoCaptureDeviceNV = NULL; -PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC __wglewQueryVideoCaptureDeviceNV = NULL; -PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC __wglewReleaseVideoCaptureDeviceNV = NULL; - -PFNWGLBINDVIDEOIMAGENVPROC __wglewBindVideoImageNV = NULL; -PFNWGLGETVIDEODEVICENVPROC __wglewGetVideoDeviceNV = NULL; -PFNWGLGETVIDEOINFONVPROC __wglewGetVideoInfoNV = NULL; -PFNWGLRELEASEVIDEODEVICENVPROC __wglewReleaseVideoDeviceNV = NULL; -PFNWGLRELEASEVIDEOIMAGENVPROC __wglewReleaseVideoImageNV = NULL; -PFNWGLSENDPBUFFERTOVIDEONVPROC __wglewSendPbufferToVideoNV = NULL; - -PFNWGLGETMSCRATEOMLPROC __wglewGetMscRateOML = NULL; -PFNWGLGETSYNCVALUESOMLPROC __wglewGetSyncValuesOML = NULL; -PFNWGLSWAPBUFFERSMSCOMLPROC __wglewSwapBuffersMscOML = NULL; -PFNWGLSWAPLAYERBUFFERSMSCOMLPROC __wglewSwapLayerBuffersMscOML = NULL; -PFNWGLWAITFORMSCOMLPROC __wglewWaitForMscOML = NULL; -PFNWGLWAITFORSBCOMLPROC __wglewWaitForSbcOML = NULL; -GLboolean __WGLEW_3DFX_multisample = GL_FALSE; -GLboolean __WGLEW_3DL_stereo_control = GL_FALSE; -GLboolean __WGLEW_AMD_gpu_association = GL_FALSE; -GLboolean __WGLEW_ARB_buffer_region = GL_FALSE; -GLboolean __WGLEW_ARB_create_context = GL_FALSE; -GLboolean __WGLEW_ARB_create_context_profile = GL_FALSE; -GLboolean __WGLEW_ARB_create_context_robustness = GL_FALSE; -GLboolean __WGLEW_ARB_extensions_string = GL_FALSE; -GLboolean __WGLEW_ARB_framebuffer_sRGB = GL_FALSE; -GLboolean __WGLEW_ARB_make_current_read = GL_FALSE; -GLboolean __WGLEW_ARB_multisample = GL_FALSE; -GLboolean __WGLEW_ARB_pbuffer = GL_FALSE; -GLboolean __WGLEW_ARB_pixel_format = GL_FALSE; -GLboolean __WGLEW_ARB_pixel_format_float = GL_FALSE; -GLboolean __WGLEW_ARB_render_texture = GL_FALSE; -GLboolean __WGLEW_ATI_pixel_format_float = GL_FALSE; -GLboolean __WGLEW_ATI_render_texture_rectangle = GL_FALSE; -GLboolean __WGLEW_EXT_create_context_es2_profile = GL_FALSE; -GLboolean __WGLEW_EXT_create_context_es_profile = GL_FALSE; -GLboolean __WGLEW_EXT_depth_float = GL_FALSE; -GLboolean __WGLEW_EXT_display_color_table = GL_FALSE; -GLboolean __WGLEW_EXT_extensions_string = GL_FALSE; -GLboolean __WGLEW_EXT_framebuffer_sRGB = GL_FALSE; -GLboolean __WGLEW_EXT_make_current_read = GL_FALSE; -GLboolean __WGLEW_EXT_multisample = GL_FALSE; -GLboolean __WGLEW_EXT_pbuffer = GL_FALSE; -GLboolean __WGLEW_EXT_pixel_format = GL_FALSE; -GLboolean __WGLEW_EXT_pixel_format_packed_float = GL_FALSE; -GLboolean __WGLEW_EXT_swap_control = GL_FALSE; -GLboolean __WGLEW_EXT_swap_control_tear = GL_FALSE; -GLboolean __WGLEW_I3D_digital_video_control = GL_FALSE; -GLboolean __WGLEW_I3D_gamma = GL_FALSE; -GLboolean __WGLEW_I3D_genlock = GL_FALSE; -GLboolean __WGLEW_I3D_image_buffer = GL_FALSE; -GLboolean __WGLEW_I3D_swap_frame_lock = GL_FALSE; -GLboolean __WGLEW_I3D_swap_frame_usage = GL_FALSE; -GLboolean __WGLEW_NV_DX_interop = GL_FALSE; -GLboolean __WGLEW_NV_DX_interop2 = GL_FALSE; -GLboolean __WGLEW_NV_copy_image = GL_FALSE; -GLboolean __WGLEW_NV_float_buffer = GL_FALSE; -GLboolean __WGLEW_NV_gpu_affinity = GL_FALSE; -GLboolean __WGLEW_NV_multisample_coverage = GL_FALSE; -GLboolean __WGLEW_NV_present_video = GL_FALSE; -GLboolean __WGLEW_NV_render_depth_texture = GL_FALSE; -GLboolean __WGLEW_NV_render_texture_rectangle = GL_FALSE; -GLboolean __WGLEW_NV_swap_group = GL_FALSE; -GLboolean __WGLEW_NV_vertex_array_range = GL_FALSE; -GLboolean __WGLEW_NV_video_capture = GL_FALSE; -GLboolean __WGLEW_NV_video_output = GL_FALSE; -GLboolean __WGLEW_OML_sync_control = GL_FALSE; - -#endif /* !GLEW_MX */ - -#ifdef WGL_3DFX_multisample - -#endif /* WGL_3DFX_multisample */ - -#ifdef WGL_3DL_stereo_control - -static GLboolean _glewInit_WGL_3DL_stereo_control (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglSetStereoEmitterState3DL = (PFNWGLSETSTEREOEMITTERSTATE3DLPROC)glewGetProcAddress((const GLubyte*)"wglSetStereoEmitterState3DL")) == NULL) || r; - - return r; -} - -#endif /* WGL_3DL_stereo_control */ - -#ifdef WGL_AMD_gpu_association - -static GLboolean _glewInit_WGL_AMD_gpu_association (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglBlitContextFramebufferAMD = (PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC)glewGetProcAddress((const GLubyte*)"wglBlitContextFramebufferAMD")) == NULL) || r; - r = ((wglCreateAssociatedContextAMD = (PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"wglCreateAssociatedContextAMD")) == NULL) || r; - r = ((wglCreateAssociatedContextAttribsAMD = (PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC)glewGetProcAddress((const GLubyte*)"wglCreateAssociatedContextAttribsAMD")) == NULL) || r; - r = ((wglDeleteAssociatedContextAMD = (PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"wglDeleteAssociatedContextAMD")) == NULL) || r; - r = ((wglGetContextGPUIDAMD = (PFNWGLGETCONTEXTGPUIDAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetContextGPUIDAMD")) == NULL) || r; - r = ((wglGetCurrentAssociatedContextAMD = (PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetCurrentAssociatedContextAMD")) == NULL) || r; - r = ((wglGetGPUIDsAMD = (PFNWGLGETGPUIDSAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetGPUIDsAMD")) == NULL) || r; - r = ((wglGetGPUInfoAMD = (PFNWGLGETGPUINFOAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetGPUInfoAMD")) == NULL) || r; - r = ((wglMakeAssociatedContextCurrentAMD = (PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC)glewGetProcAddress((const GLubyte*)"wglMakeAssociatedContextCurrentAMD")) == NULL) || r; - - return r; -} - -#endif /* WGL_AMD_gpu_association */ - -#ifdef WGL_ARB_buffer_region - -static GLboolean _glewInit_WGL_ARB_buffer_region (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglCreateBufferRegionARB = (PFNWGLCREATEBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglCreateBufferRegionARB")) == NULL) || r; - r = ((wglDeleteBufferRegionARB = (PFNWGLDELETEBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglDeleteBufferRegionARB")) == NULL) || r; - r = ((wglRestoreBufferRegionARB = (PFNWGLRESTOREBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglRestoreBufferRegionARB")) == NULL) || r; - r = ((wglSaveBufferRegionARB = (PFNWGLSAVEBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglSaveBufferRegionARB")) == NULL) || r; - - return r; -} - -#endif /* WGL_ARB_buffer_region */ - -#ifdef WGL_ARB_create_context - -static GLboolean _glewInit_WGL_ARB_create_context (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglCreateContextAttribsARB = (PFNWGLCREATECONTEXTATTRIBSARBPROC)glewGetProcAddress((const GLubyte*)"wglCreateContextAttribsARB")) == NULL) || r; - - return r; -} - -#endif /* WGL_ARB_create_context */ - -#ifdef WGL_ARB_create_context_profile - -#endif /* WGL_ARB_create_context_profile */ - -#ifdef WGL_ARB_create_context_robustness - -#endif /* WGL_ARB_create_context_robustness */ - -#ifdef WGL_ARB_extensions_string - -static GLboolean _glewInit_WGL_ARB_extensions_string (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglGetExtensionsStringARB = (PFNWGLGETEXTENSIONSSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringARB")) == NULL) || r; - - return r; -} - -#endif /* WGL_ARB_extensions_string */ - -#ifdef WGL_ARB_framebuffer_sRGB - -#endif /* WGL_ARB_framebuffer_sRGB */ - -#ifdef WGL_ARB_make_current_read - -static GLboolean _glewInit_WGL_ARB_make_current_read (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglGetCurrentReadDCARB = (PFNWGLGETCURRENTREADDCARBPROC)glewGetProcAddress((const GLubyte*)"wglGetCurrentReadDCARB")) == NULL) || r; - r = ((wglMakeContextCurrentARB = (PFNWGLMAKECONTEXTCURRENTARBPROC)glewGetProcAddress((const GLubyte*)"wglMakeContextCurrentARB")) == NULL) || r; - - return r; -} - -#endif /* WGL_ARB_make_current_read */ - -#ifdef WGL_ARB_multisample - -#endif /* WGL_ARB_multisample */ - -#ifdef WGL_ARB_pbuffer - -static GLboolean _glewInit_WGL_ARB_pbuffer (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglCreatePbufferARB = (PFNWGLCREATEPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"wglCreatePbufferARB")) == NULL) || r; - r = ((wglDestroyPbufferARB = (PFNWGLDESTROYPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"wglDestroyPbufferARB")) == NULL) || r; - r = ((wglGetPbufferDCARB = (PFNWGLGETPBUFFERDCARBPROC)glewGetProcAddress((const GLubyte*)"wglGetPbufferDCARB")) == NULL) || r; - r = ((wglQueryPbufferARB = (PFNWGLQUERYPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"wglQueryPbufferARB")) == NULL) || r; - r = ((wglReleasePbufferDCARB = (PFNWGLRELEASEPBUFFERDCARBPROC)glewGetProcAddress((const GLubyte*)"wglReleasePbufferDCARB")) == NULL) || r; - - return r; -} - -#endif /* WGL_ARB_pbuffer */ - -#ifdef WGL_ARB_pixel_format - -static GLboolean _glewInit_WGL_ARB_pixel_format (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglChoosePixelFormatARB = (PFNWGLCHOOSEPIXELFORMATARBPROC)glewGetProcAddress((const GLubyte*)"wglChoosePixelFormatARB")) == NULL) || r; - r = ((wglGetPixelFormatAttribfvARB = (PFNWGLGETPIXELFORMATATTRIBFVARBPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribfvARB")) == NULL) || r; - r = ((wglGetPixelFormatAttribivARB = (PFNWGLGETPIXELFORMATATTRIBIVARBPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribivARB")) == NULL) || r; - - return r; -} - -#endif /* WGL_ARB_pixel_format */ - -#ifdef WGL_ARB_pixel_format_float - -#endif /* WGL_ARB_pixel_format_float */ - -#ifdef WGL_ARB_render_texture - -static GLboolean _glewInit_WGL_ARB_render_texture (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglBindTexImageARB = (PFNWGLBINDTEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"wglBindTexImageARB")) == NULL) || r; - r = ((wglReleaseTexImageARB = (PFNWGLRELEASETEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"wglReleaseTexImageARB")) == NULL) || r; - r = ((wglSetPbufferAttribARB = (PFNWGLSETPBUFFERATTRIBARBPROC)glewGetProcAddress((const GLubyte*)"wglSetPbufferAttribARB")) == NULL) || r; - - return r; -} - -#endif /* WGL_ARB_render_texture */ - -#ifdef WGL_ATI_pixel_format_float - -#endif /* WGL_ATI_pixel_format_float */ - -#ifdef WGL_ATI_render_texture_rectangle - -#endif /* WGL_ATI_render_texture_rectangle */ - -#ifdef WGL_EXT_create_context_es2_profile - -#endif /* WGL_EXT_create_context_es2_profile */ - -#ifdef WGL_EXT_create_context_es_profile - -#endif /* WGL_EXT_create_context_es_profile */ - -#ifdef WGL_EXT_depth_float - -#endif /* WGL_EXT_depth_float */ - -#ifdef WGL_EXT_display_color_table - -static GLboolean _glewInit_WGL_EXT_display_color_table (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglBindDisplayColorTableEXT = (PFNWGLBINDDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglBindDisplayColorTableEXT")) == NULL) || r; - r = ((wglCreateDisplayColorTableEXT = (PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglCreateDisplayColorTableEXT")) == NULL) || r; - r = ((wglDestroyDisplayColorTableEXT = (PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglDestroyDisplayColorTableEXT")) == NULL) || r; - r = ((wglLoadDisplayColorTableEXT = (PFNWGLLOADDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglLoadDisplayColorTableEXT")) == NULL) || r; - - return r; -} - -#endif /* WGL_EXT_display_color_table */ - -#ifdef WGL_EXT_extensions_string - -static GLboolean _glewInit_WGL_EXT_extensions_string (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglGetExtensionsStringEXT = (PFNWGLGETEXTENSIONSSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringEXT")) == NULL) || r; - - return r; -} - -#endif /* WGL_EXT_extensions_string */ - -#ifdef WGL_EXT_framebuffer_sRGB - -#endif /* WGL_EXT_framebuffer_sRGB */ - -#ifdef WGL_EXT_make_current_read - -static GLboolean _glewInit_WGL_EXT_make_current_read (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglGetCurrentReadDCEXT = (PFNWGLGETCURRENTREADDCEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetCurrentReadDCEXT")) == NULL) || r; - r = ((wglMakeContextCurrentEXT = (PFNWGLMAKECONTEXTCURRENTEXTPROC)glewGetProcAddress((const GLubyte*)"wglMakeContextCurrentEXT")) == NULL) || r; - - return r; -} - -#endif /* WGL_EXT_make_current_read */ - -#ifdef WGL_EXT_multisample - -#endif /* WGL_EXT_multisample */ - -#ifdef WGL_EXT_pbuffer - -static GLboolean _glewInit_WGL_EXT_pbuffer (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglCreatePbufferEXT = (PFNWGLCREATEPBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"wglCreatePbufferEXT")) == NULL) || r; - r = ((wglDestroyPbufferEXT = (PFNWGLDESTROYPBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"wglDestroyPbufferEXT")) == NULL) || r; - r = ((wglGetPbufferDCEXT = (PFNWGLGETPBUFFERDCEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetPbufferDCEXT")) == NULL) || r; - r = ((wglQueryPbufferEXT = (PFNWGLQUERYPBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"wglQueryPbufferEXT")) == NULL) || r; - r = ((wglReleasePbufferDCEXT = (PFNWGLRELEASEPBUFFERDCEXTPROC)glewGetProcAddress((const GLubyte*)"wglReleasePbufferDCEXT")) == NULL) || r; - - return r; -} - -#endif /* WGL_EXT_pbuffer */ - -#ifdef WGL_EXT_pixel_format - -static GLboolean _glewInit_WGL_EXT_pixel_format (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglChoosePixelFormatEXT = (PFNWGLCHOOSEPIXELFORMATEXTPROC)glewGetProcAddress((const GLubyte*)"wglChoosePixelFormatEXT")) == NULL) || r; - r = ((wglGetPixelFormatAttribfvEXT = (PFNWGLGETPIXELFORMATATTRIBFVEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribfvEXT")) == NULL) || r; - r = ((wglGetPixelFormatAttribivEXT = (PFNWGLGETPIXELFORMATATTRIBIVEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribivEXT")) == NULL) || r; - - return r; -} - -#endif /* WGL_EXT_pixel_format */ - -#ifdef WGL_EXT_pixel_format_packed_float - -#endif /* WGL_EXT_pixel_format_packed_float */ - -#ifdef WGL_EXT_swap_control - -static GLboolean _glewInit_WGL_EXT_swap_control (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglGetSwapIntervalEXT = (PFNWGLGETSWAPINTERVALEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetSwapIntervalEXT")) == NULL) || r; - r = ((wglSwapIntervalEXT = (PFNWGLSWAPINTERVALEXTPROC)glewGetProcAddress((const GLubyte*)"wglSwapIntervalEXT")) == NULL) || r; - - return r; -} - -#endif /* WGL_EXT_swap_control */ - -#ifdef WGL_EXT_swap_control_tear - -#endif /* WGL_EXT_swap_control_tear */ - -#ifdef WGL_I3D_digital_video_control - -static GLboolean _glewInit_WGL_I3D_digital_video_control (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglGetDigitalVideoParametersI3D = (PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetDigitalVideoParametersI3D")) == NULL) || r; - r = ((wglSetDigitalVideoParametersI3D = (PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglSetDigitalVideoParametersI3D")) == NULL) || r; - - return r; -} - -#endif /* WGL_I3D_digital_video_control */ - -#ifdef WGL_I3D_gamma - -static GLboolean _glewInit_WGL_I3D_gamma (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglGetGammaTableI3D = (PFNWGLGETGAMMATABLEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGammaTableI3D")) == NULL) || r; - r = ((wglGetGammaTableParametersI3D = (PFNWGLGETGAMMATABLEPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGammaTableParametersI3D")) == NULL) || r; - r = ((wglSetGammaTableI3D = (PFNWGLSETGAMMATABLEI3DPROC)glewGetProcAddress((const GLubyte*)"wglSetGammaTableI3D")) == NULL) || r; - r = ((wglSetGammaTableParametersI3D = (PFNWGLSETGAMMATABLEPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglSetGammaTableParametersI3D")) == NULL) || r; - - return r; -} - -#endif /* WGL_I3D_gamma */ - -#ifdef WGL_I3D_genlock - -static GLboolean _glewInit_WGL_I3D_genlock (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglDisableGenlockI3D = (PFNWGLDISABLEGENLOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglDisableGenlockI3D")) == NULL) || r; - r = ((wglEnableGenlockI3D = (PFNWGLENABLEGENLOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglEnableGenlockI3D")) == NULL) || r; - r = ((wglGenlockSampleRateI3D = (PFNWGLGENLOCKSAMPLERATEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSampleRateI3D")) == NULL) || r; - r = ((wglGenlockSourceDelayI3D = (PFNWGLGENLOCKSOURCEDELAYI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSourceDelayI3D")) == NULL) || r; - r = ((wglGenlockSourceEdgeI3D = (PFNWGLGENLOCKSOURCEEDGEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSourceEdgeI3D")) == NULL) || r; - r = ((wglGenlockSourceI3D = (PFNWGLGENLOCKSOURCEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSourceI3D")) == NULL) || r; - r = ((wglGetGenlockSampleRateI3D = (PFNWGLGETGENLOCKSAMPLERATEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSampleRateI3D")) == NULL) || r; - r = ((wglGetGenlockSourceDelayI3D = (PFNWGLGETGENLOCKSOURCEDELAYI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSourceDelayI3D")) == NULL) || r; - r = ((wglGetGenlockSourceEdgeI3D = (PFNWGLGETGENLOCKSOURCEEDGEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSourceEdgeI3D")) == NULL) || r; - r = ((wglGetGenlockSourceI3D = (PFNWGLGETGENLOCKSOURCEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSourceI3D")) == NULL) || r; - r = ((wglIsEnabledGenlockI3D = (PFNWGLISENABLEDGENLOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglIsEnabledGenlockI3D")) == NULL) || r; - r = ((wglQueryGenlockMaxSourceDelayI3D = (PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC)glewGetProcAddress((const GLubyte*)"wglQueryGenlockMaxSourceDelayI3D")) == NULL) || r; - - return r; -} - -#endif /* WGL_I3D_genlock */ - -#ifdef WGL_I3D_image_buffer - -static GLboolean _glewInit_WGL_I3D_image_buffer (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglAssociateImageBufferEventsI3D = (PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC)glewGetProcAddress((const GLubyte*)"wglAssociateImageBufferEventsI3D")) == NULL) || r; - r = ((wglCreateImageBufferI3D = (PFNWGLCREATEIMAGEBUFFERI3DPROC)glewGetProcAddress((const GLubyte*)"wglCreateImageBufferI3D")) == NULL) || r; - r = ((wglDestroyImageBufferI3D = (PFNWGLDESTROYIMAGEBUFFERI3DPROC)glewGetProcAddress((const GLubyte*)"wglDestroyImageBufferI3D")) == NULL) || r; - r = ((wglReleaseImageBufferEventsI3D = (PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC)glewGetProcAddress((const GLubyte*)"wglReleaseImageBufferEventsI3D")) == NULL) || r; - - return r; -} - -#endif /* WGL_I3D_image_buffer */ - -#ifdef WGL_I3D_swap_frame_lock - -static GLboolean _glewInit_WGL_I3D_swap_frame_lock (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglDisableFrameLockI3D = (PFNWGLDISABLEFRAMELOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglDisableFrameLockI3D")) == NULL) || r; - r = ((wglEnableFrameLockI3D = (PFNWGLENABLEFRAMELOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglEnableFrameLockI3D")) == NULL) || r; - r = ((wglIsEnabledFrameLockI3D = (PFNWGLISENABLEDFRAMELOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglIsEnabledFrameLockI3D")) == NULL) || r; - r = ((wglQueryFrameLockMasterI3D = (PFNWGLQUERYFRAMELOCKMASTERI3DPROC)glewGetProcAddress((const GLubyte*)"wglQueryFrameLockMasterI3D")) == NULL) || r; - - return r; -} - -#endif /* WGL_I3D_swap_frame_lock */ - -#ifdef WGL_I3D_swap_frame_usage - -static GLboolean _glewInit_WGL_I3D_swap_frame_usage (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglBeginFrameTrackingI3D = (PFNWGLBEGINFRAMETRACKINGI3DPROC)glewGetProcAddress((const GLubyte*)"wglBeginFrameTrackingI3D")) == NULL) || r; - r = ((wglEndFrameTrackingI3D = (PFNWGLENDFRAMETRACKINGI3DPROC)glewGetProcAddress((const GLubyte*)"wglEndFrameTrackingI3D")) == NULL) || r; - r = ((wglGetFrameUsageI3D = (PFNWGLGETFRAMEUSAGEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetFrameUsageI3D")) == NULL) || r; - r = ((wglQueryFrameTrackingI3D = (PFNWGLQUERYFRAMETRACKINGI3DPROC)glewGetProcAddress((const GLubyte*)"wglQueryFrameTrackingI3D")) == NULL) || r; - - return r; -} - -#endif /* WGL_I3D_swap_frame_usage */ - -#ifdef WGL_NV_DX_interop - -static GLboolean _glewInit_WGL_NV_DX_interop (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglDXCloseDeviceNV = (PFNWGLDXCLOSEDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglDXCloseDeviceNV")) == NULL) || r; - r = ((wglDXLockObjectsNV = (PFNWGLDXLOCKOBJECTSNVPROC)glewGetProcAddress((const GLubyte*)"wglDXLockObjectsNV")) == NULL) || r; - r = ((wglDXObjectAccessNV = (PFNWGLDXOBJECTACCESSNVPROC)glewGetProcAddress((const GLubyte*)"wglDXObjectAccessNV")) == NULL) || r; - r = ((wglDXOpenDeviceNV = (PFNWGLDXOPENDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglDXOpenDeviceNV")) == NULL) || r; - r = ((wglDXRegisterObjectNV = (PFNWGLDXREGISTEROBJECTNVPROC)glewGetProcAddress((const GLubyte*)"wglDXRegisterObjectNV")) == NULL) || r; - r = ((wglDXSetResourceShareHandleNV = (PFNWGLDXSETRESOURCESHAREHANDLENVPROC)glewGetProcAddress((const GLubyte*)"wglDXSetResourceShareHandleNV")) == NULL) || r; - r = ((wglDXUnlockObjectsNV = (PFNWGLDXUNLOCKOBJECTSNVPROC)glewGetProcAddress((const GLubyte*)"wglDXUnlockObjectsNV")) == NULL) || r; - r = ((wglDXUnregisterObjectNV = (PFNWGLDXUNREGISTEROBJECTNVPROC)glewGetProcAddress((const GLubyte*)"wglDXUnregisterObjectNV")) == NULL) || r; - - return r; -} - -#endif /* WGL_NV_DX_interop */ - -#ifdef WGL_NV_DX_interop2 - -#endif /* WGL_NV_DX_interop2 */ - -#ifdef WGL_NV_copy_image - -static GLboolean _glewInit_WGL_NV_copy_image (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglCopyImageSubDataNV = (PFNWGLCOPYIMAGESUBDATANVPROC)glewGetProcAddress((const GLubyte*)"wglCopyImageSubDataNV")) == NULL) || r; - - return r; -} - -#endif /* WGL_NV_copy_image */ - -#ifdef WGL_NV_float_buffer - -#endif /* WGL_NV_float_buffer */ - -#ifdef WGL_NV_gpu_affinity - -static GLboolean _glewInit_WGL_NV_gpu_affinity (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglCreateAffinityDCNV = (PFNWGLCREATEAFFINITYDCNVPROC)glewGetProcAddress((const GLubyte*)"wglCreateAffinityDCNV")) == NULL) || r; - r = ((wglDeleteDCNV = (PFNWGLDELETEDCNVPROC)glewGetProcAddress((const GLubyte*)"wglDeleteDCNV")) == NULL) || r; - r = ((wglEnumGpuDevicesNV = (PFNWGLENUMGPUDEVICESNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumGpuDevicesNV")) == NULL) || r; - r = ((wglEnumGpusFromAffinityDCNV = (PFNWGLENUMGPUSFROMAFFINITYDCNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumGpusFromAffinityDCNV")) == NULL) || r; - r = ((wglEnumGpusNV = (PFNWGLENUMGPUSNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumGpusNV")) == NULL) || r; - - return r; -} - -#endif /* WGL_NV_gpu_affinity */ - -#ifdef WGL_NV_multisample_coverage - -#endif /* WGL_NV_multisample_coverage */ - -#ifdef WGL_NV_present_video - -static GLboolean _glewInit_WGL_NV_present_video (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglBindVideoDeviceNV = (PFNWGLBINDVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglBindVideoDeviceNV")) == NULL) || r; - r = ((wglEnumerateVideoDevicesNV = (PFNWGLENUMERATEVIDEODEVICESNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumerateVideoDevicesNV")) == NULL) || r; - r = ((wglQueryCurrentContextNV = (PFNWGLQUERYCURRENTCONTEXTNVPROC)glewGetProcAddress((const GLubyte*)"wglQueryCurrentContextNV")) == NULL) || r; - - return r; -} - -#endif /* WGL_NV_present_video */ - -#ifdef WGL_NV_render_depth_texture - -#endif /* WGL_NV_render_depth_texture */ - -#ifdef WGL_NV_render_texture_rectangle - -#endif /* WGL_NV_render_texture_rectangle */ - -#ifdef WGL_NV_swap_group - -static GLboolean _glewInit_WGL_NV_swap_group (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglBindSwapBarrierNV = (PFNWGLBINDSWAPBARRIERNVPROC)glewGetProcAddress((const GLubyte*)"wglBindSwapBarrierNV")) == NULL) || r; - r = ((wglJoinSwapGroupNV = (PFNWGLJOINSWAPGROUPNVPROC)glewGetProcAddress((const GLubyte*)"wglJoinSwapGroupNV")) == NULL) || r; - r = ((wglQueryFrameCountNV = (PFNWGLQUERYFRAMECOUNTNVPROC)glewGetProcAddress((const GLubyte*)"wglQueryFrameCountNV")) == NULL) || r; - r = ((wglQueryMaxSwapGroupsNV = (PFNWGLQUERYMAXSWAPGROUPSNVPROC)glewGetProcAddress((const GLubyte*)"wglQueryMaxSwapGroupsNV")) == NULL) || r; - r = ((wglQuerySwapGroupNV = (PFNWGLQUERYSWAPGROUPNVPROC)glewGetProcAddress((const GLubyte*)"wglQuerySwapGroupNV")) == NULL) || r; - r = ((wglResetFrameCountNV = (PFNWGLRESETFRAMECOUNTNVPROC)glewGetProcAddress((const GLubyte*)"wglResetFrameCountNV")) == NULL) || r; - - return r; -} - -#endif /* WGL_NV_swap_group */ - -#ifdef WGL_NV_vertex_array_range - -static GLboolean _glewInit_WGL_NV_vertex_array_range (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglAllocateMemoryNV = (PFNWGLALLOCATEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"wglAllocateMemoryNV")) == NULL) || r; - r = ((wglFreeMemoryNV = (PFNWGLFREEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"wglFreeMemoryNV")) == NULL) || r; - - return r; -} - -#endif /* WGL_NV_vertex_array_range */ - -#ifdef WGL_NV_video_capture - -static GLboolean _glewInit_WGL_NV_video_capture (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglBindVideoCaptureDeviceNV = (PFNWGLBINDVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglBindVideoCaptureDeviceNV")) == NULL) || r; - r = ((wglEnumerateVideoCaptureDevicesNV = (PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumerateVideoCaptureDevicesNV")) == NULL) || r; - r = ((wglLockVideoCaptureDeviceNV = (PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglLockVideoCaptureDeviceNV")) == NULL) || r; - r = ((wglQueryVideoCaptureDeviceNV = (PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglQueryVideoCaptureDeviceNV")) == NULL) || r; - r = ((wglReleaseVideoCaptureDeviceNV = (PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglReleaseVideoCaptureDeviceNV")) == NULL) || r; - - return r; -} - -#endif /* WGL_NV_video_capture */ - -#ifdef WGL_NV_video_output - -static GLboolean _glewInit_WGL_NV_video_output (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglBindVideoImageNV = (PFNWGLBINDVIDEOIMAGENVPROC)glewGetProcAddress((const GLubyte*)"wglBindVideoImageNV")) == NULL) || r; - r = ((wglGetVideoDeviceNV = (PFNWGLGETVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglGetVideoDeviceNV")) == NULL) || r; - r = ((wglGetVideoInfoNV = (PFNWGLGETVIDEOINFONVPROC)glewGetProcAddress((const GLubyte*)"wglGetVideoInfoNV")) == NULL) || r; - r = ((wglReleaseVideoDeviceNV = (PFNWGLRELEASEVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglReleaseVideoDeviceNV")) == NULL) || r; - r = ((wglReleaseVideoImageNV = (PFNWGLRELEASEVIDEOIMAGENVPROC)glewGetProcAddress((const GLubyte*)"wglReleaseVideoImageNV")) == NULL) || r; - r = ((wglSendPbufferToVideoNV = (PFNWGLSENDPBUFFERTOVIDEONVPROC)glewGetProcAddress((const GLubyte*)"wglSendPbufferToVideoNV")) == NULL) || r; - - return r; -} - -#endif /* WGL_NV_video_output */ - -#ifdef WGL_OML_sync_control - -static GLboolean _glewInit_WGL_OML_sync_control (WGLEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((wglGetMscRateOML = (PFNWGLGETMSCRATEOMLPROC)glewGetProcAddress((const GLubyte*)"wglGetMscRateOML")) == NULL) || r; - r = ((wglGetSyncValuesOML = (PFNWGLGETSYNCVALUESOMLPROC)glewGetProcAddress((const GLubyte*)"wglGetSyncValuesOML")) == NULL) || r; - r = ((wglSwapBuffersMscOML = (PFNWGLSWAPBUFFERSMSCOMLPROC)glewGetProcAddress((const GLubyte*)"wglSwapBuffersMscOML")) == NULL) || r; - r = ((wglSwapLayerBuffersMscOML = (PFNWGLSWAPLAYERBUFFERSMSCOMLPROC)glewGetProcAddress((const GLubyte*)"wglSwapLayerBuffersMscOML")) == NULL) || r; - r = ((wglWaitForMscOML = (PFNWGLWAITFORMSCOMLPROC)glewGetProcAddress((const GLubyte*)"wglWaitForMscOML")) == NULL) || r; - r = ((wglWaitForSbcOML = (PFNWGLWAITFORSBCOMLPROC)glewGetProcAddress((const GLubyte*)"wglWaitForSbcOML")) == NULL) || r; - - return r; -} - -#endif /* WGL_OML_sync_control */ - -/* ------------------------------------------------------------------------- */ - -static PFNWGLGETEXTENSIONSSTRINGARBPROC _wglewGetExtensionsStringARB = NULL; -static PFNWGLGETEXTENSIONSSTRINGEXTPROC _wglewGetExtensionsStringEXT = NULL; - -GLboolean GLEWAPIENTRY wglewGetExtension (const char* name) -{ - const GLubyte* start; - const GLubyte* end; - if (_wglewGetExtensionsStringARB == NULL) - if (_wglewGetExtensionsStringEXT == NULL) - return GL_FALSE; - else - start = (const GLubyte*)_wglewGetExtensionsStringEXT(); - else - start = (const GLubyte*)_wglewGetExtensionsStringARB(wglGetCurrentDC()); - if (start == 0) - return GL_FALSE; - end = start + _glewStrLen(start); - return _glewSearchExtension(name, start, end); -} - -GLenum GLEWAPIENTRY wglewContextInit (WGLEW_CONTEXT_ARG_DEF_LIST) -{ - GLboolean crippled; - const GLubyte* extStart; - const GLubyte* extEnd; - /* find wgl extension string query functions */ - _wglewGetExtensionsStringARB = (PFNWGLGETEXTENSIONSSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringARB"); - _wglewGetExtensionsStringEXT = (PFNWGLGETEXTENSIONSSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringEXT"); - /* query wgl extension string */ - if (_wglewGetExtensionsStringARB == NULL) - if (_wglewGetExtensionsStringEXT == NULL) - extStart = (const GLubyte*)""; - else - extStart = (const GLubyte*)_wglewGetExtensionsStringEXT(); - else - extStart = (const GLubyte*)_wglewGetExtensionsStringARB(wglGetCurrentDC()); - extEnd = extStart + _glewStrLen(extStart); - /* initialize extensions */ - crippled = _wglewGetExtensionsStringARB == NULL && _wglewGetExtensionsStringEXT == NULL; -#ifdef WGL_3DFX_multisample - CONST_CAST(WGLEW_3DFX_multisample) = _glewSearchExtension("WGL_3DFX_multisample", extStart, extEnd); -#endif /* WGL_3DFX_multisample */ -#ifdef WGL_3DL_stereo_control - CONST_CAST(WGLEW_3DL_stereo_control) = _glewSearchExtension("WGL_3DL_stereo_control", extStart, extEnd); - if (glewExperimental || WGLEW_3DL_stereo_control|| crippled) CONST_CAST(WGLEW_3DL_stereo_control)= !_glewInit_WGL_3DL_stereo_control(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_3DL_stereo_control */ -#ifdef WGL_AMD_gpu_association - CONST_CAST(WGLEW_AMD_gpu_association) = _glewSearchExtension("WGL_AMD_gpu_association", extStart, extEnd); - if (glewExperimental || WGLEW_AMD_gpu_association|| crippled) CONST_CAST(WGLEW_AMD_gpu_association)= !_glewInit_WGL_AMD_gpu_association(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_AMD_gpu_association */ -#ifdef WGL_ARB_buffer_region - CONST_CAST(WGLEW_ARB_buffer_region) = _glewSearchExtension("WGL_ARB_buffer_region", extStart, extEnd); - if (glewExperimental || WGLEW_ARB_buffer_region|| crippled) CONST_CAST(WGLEW_ARB_buffer_region)= !_glewInit_WGL_ARB_buffer_region(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_ARB_buffer_region */ -#ifdef WGL_ARB_create_context - CONST_CAST(WGLEW_ARB_create_context) = _glewSearchExtension("WGL_ARB_create_context", extStart, extEnd); - if (glewExperimental || WGLEW_ARB_create_context|| crippled) CONST_CAST(WGLEW_ARB_create_context)= !_glewInit_WGL_ARB_create_context(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_ARB_create_context */ -#ifdef WGL_ARB_create_context_profile - CONST_CAST(WGLEW_ARB_create_context_profile) = _glewSearchExtension("WGL_ARB_create_context_profile", extStart, extEnd); -#endif /* WGL_ARB_create_context_profile */ -#ifdef WGL_ARB_create_context_robustness - CONST_CAST(WGLEW_ARB_create_context_robustness) = _glewSearchExtension("WGL_ARB_create_context_robustness", extStart, extEnd); -#endif /* WGL_ARB_create_context_robustness */ -#ifdef WGL_ARB_extensions_string - CONST_CAST(WGLEW_ARB_extensions_string) = _glewSearchExtension("WGL_ARB_extensions_string", extStart, extEnd); - if (glewExperimental || WGLEW_ARB_extensions_string|| crippled) CONST_CAST(WGLEW_ARB_extensions_string)= !_glewInit_WGL_ARB_extensions_string(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_ARB_extensions_string */ -#ifdef WGL_ARB_framebuffer_sRGB - CONST_CAST(WGLEW_ARB_framebuffer_sRGB) = _glewSearchExtension("WGL_ARB_framebuffer_sRGB", extStart, extEnd); -#endif /* WGL_ARB_framebuffer_sRGB */ -#ifdef WGL_ARB_make_current_read - CONST_CAST(WGLEW_ARB_make_current_read) = _glewSearchExtension("WGL_ARB_make_current_read", extStart, extEnd); - if (glewExperimental || WGLEW_ARB_make_current_read|| crippled) CONST_CAST(WGLEW_ARB_make_current_read)= !_glewInit_WGL_ARB_make_current_read(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_ARB_make_current_read */ -#ifdef WGL_ARB_multisample - CONST_CAST(WGLEW_ARB_multisample) = _glewSearchExtension("WGL_ARB_multisample", extStart, extEnd); -#endif /* WGL_ARB_multisample */ -#ifdef WGL_ARB_pbuffer - CONST_CAST(WGLEW_ARB_pbuffer) = _glewSearchExtension("WGL_ARB_pbuffer", extStart, extEnd); - if (glewExperimental || WGLEW_ARB_pbuffer|| crippled) CONST_CAST(WGLEW_ARB_pbuffer)= !_glewInit_WGL_ARB_pbuffer(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_ARB_pbuffer */ -#ifdef WGL_ARB_pixel_format - CONST_CAST(WGLEW_ARB_pixel_format) = _glewSearchExtension("WGL_ARB_pixel_format", extStart, extEnd); - if (glewExperimental || WGLEW_ARB_pixel_format|| crippled) CONST_CAST(WGLEW_ARB_pixel_format)= !_glewInit_WGL_ARB_pixel_format(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_ARB_pixel_format */ -#ifdef WGL_ARB_pixel_format_float - CONST_CAST(WGLEW_ARB_pixel_format_float) = _glewSearchExtension("WGL_ARB_pixel_format_float", extStart, extEnd); -#endif /* WGL_ARB_pixel_format_float */ -#ifdef WGL_ARB_render_texture - CONST_CAST(WGLEW_ARB_render_texture) = _glewSearchExtension("WGL_ARB_render_texture", extStart, extEnd); - if (glewExperimental || WGLEW_ARB_render_texture|| crippled) CONST_CAST(WGLEW_ARB_render_texture)= !_glewInit_WGL_ARB_render_texture(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_ARB_render_texture */ -#ifdef WGL_ATI_pixel_format_float - CONST_CAST(WGLEW_ATI_pixel_format_float) = _glewSearchExtension("WGL_ATI_pixel_format_float", extStart, extEnd); -#endif /* WGL_ATI_pixel_format_float */ -#ifdef WGL_ATI_render_texture_rectangle - CONST_CAST(WGLEW_ATI_render_texture_rectangle) = _glewSearchExtension("WGL_ATI_render_texture_rectangle", extStart, extEnd); -#endif /* WGL_ATI_render_texture_rectangle */ -#ifdef WGL_EXT_create_context_es2_profile - CONST_CAST(WGLEW_EXT_create_context_es2_profile) = _glewSearchExtension("WGL_EXT_create_context_es2_profile", extStart, extEnd); -#endif /* WGL_EXT_create_context_es2_profile */ -#ifdef WGL_EXT_create_context_es_profile - CONST_CAST(WGLEW_EXT_create_context_es_profile) = _glewSearchExtension("WGL_EXT_create_context_es_profile", extStart, extEnd); -#endif /* WGL_EXT_create_context_es_profile */ -#ifdef WGL_EXT_depth_float - CONST_CAST(WGLEW_EXT_depth_float) = _glewSearchExtension("WGL_EXT_depth_float", extStart, extEnd); -#endif /* WGL_EXT_depth_float */ -#ifdef WGL_EXT_display_color_table - CONST_CAST(WGLEW_EXT_display_color_table) = _glewSearchExtension("WGL_EXT_display_color_table", extStart, extEnd); - if (glewExperimental || WGLEW_EXT_display_color_table|| crippled) CONST_CAST(WGLEW_EXT_display_color_table)= !_glewInit_WGL_EXT_display_color_table(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_EXT_display_color_table */ -#ifdef WGL_EXT_extensions_string - CONST_CAST(WGLEW_EXT_extensions_string) = _glewSearchExtension("WGL_EXT_extensions_string", extStart, extEnd); - if (glewExperimental || WGLEW_EXT_extensions_string|| crippled) CONST_CAST(WGLEW_EXT_extensions_string)= !_glewInit_WGL_EXT_extensions_string(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_EXT_extensions_string */ -#ifdef WGL_EXT_framebuffer_sRGB - CONST_CAST(WGLEW_EXT_framebuffer_sRGB) = _glewSearchExtension("WGL_EXT_framebuffer_sRGB", extStart, extEnd); -#endif /* WGL_EXT_framebuffer_sRGB */ -#ifdef WGL_EXT_make_current_read - CONST_CAST(WGLEW_EXT_make_current_read) = _glewSearchExtension("WGL_EXT_make_current_read", extStart, extEnd); - if (glewExperimental || WGLEW_EXT_make_current_read|| crippled) CONST_CAST(WGLEW_EXT_make_current_read)= !_glewInit_WGL_EXT_make_current_read(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_EXT_make_current_read */ -#ifdef WGL_EXT_multisample - CONST_CAST(WGLEW_EXT_multisample) = _glewSearchExtension("WGL_EXT_multisample", extStart, extEnd); -#endif /* WGL_EXT_multisample */ -#ifdef WGL_EXT_pbuffer - CONST_CAST(WGLEW_EXT_pbuffer) = _glewSearchExtension("WGL_EXT_pbuffer", extStart, extEnd); - if (glewExperimental || WGLEW_EXT_pbuffer|| crippled) CONST_CAST(WGLEW_EXT_pbuffer)= !_glewInit_WGL_EXT_pbuffer(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_EXT_pbuffer */ -#ifdef WGL_EXT_pixel_format - CONST_CAST(WGLEW_EXT_pixel_format) = _glewSearchExtension("WGL_EXT_pixel_format", extStart, extEnd); - if (glewExperimental || WGLEW_EXT_pixel_format|| crippled) CONST_CAST(WGLEW_EXT_pixel_format)= !_glewInit_WGL_EXT_pixel_format(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_EXT_pixel_format */ -#ifdef WGL_EXT_pixel_format_packed_float - CONST_CAST(WGLEW_EXT_pixel_format_packed_float) = _glewSearchExtension("WGL_EXT_pixel_format_packed_float", extStart, extEnd); -#endif /* WGL_EXT_pixel_format_packed_float */ -#ifdef WGL_EXT_swap_control - CONST_CAST(WGLEW_EXT_swap_control) = _glewSearchExtension("WGL_EXT_swap_control", extStart, extEnd); - if (glewExperimental || WGLEW_EXT_swap_control|| crippled) CONST_CAST(WGLEW_EXT_swap_control)= !_glewInit_WGL_EXT_swap_control(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_EXT_swap_control */ -#ifdef WGL_EXT_swap_control_tear - CONST_CAST(WGLEW_EXT_swap_control_tear) = _glewSearchExtension("WGL_EXT_swap_control_tear", extStart, extEnd); -#endif /* WGL_EXT_swap_control_tear */ -#ifdef WGL_I3D_digital_video_control - CONST_CAST(WGLEW_I3D_digital_video_control) = _glewSearchExtension("WGL_I3D_digital_video_control", extStart, extEnd); - if (glewExperimental || WGLEW_I3D_digital_video_control|| crippled) CONST_CAST(WGLEW_I3D_digital_video_control)= !_glewInit_WGL_I3D_digital_video_control(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_I3D_digital_video_control */ -#ifdef WGL_I3D_gamma - CONST_CAST(WGLEW_I3D_gamma) = _glewSearchExtension("WGL_I3D_gamma", extStart, extEnd); - if (glewExperimental || WGLEW_I3D_gamma|| crippled) CONST_CAST(WGLEW_I3D_gamma)= !_glewInit_WGL_I3D_gamma(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_I3D_gamma */ -#ifdef WGL_I3D_genlock - CONST_CAST(WGLEW_I3D_genlock) = _glewSearchExtension("WGL_I3D_genlock", extStart, extEnd); - if (glewExperimental || WGLEW_I3D_genlock|| crippled) CONST_CAST(WGLEW_I3D_genlock)= !_glewInit_WGL_I3D_genlock(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_I3D_genlock */ -#ifdef WGL_I3D_image_buffer - CONST_CAST(WGLEW_I3D_image_buffer) = _glewSearchExtension("WGL_I3D_image_buffer", extStart, extEnd); - if (glewExperimental || WGLEW_I3D_image_buffer|| crippled) CONST_CAST(WGLEW_I3D_image_buffer)= !_glewInit_WGL_I3D_image_buffer(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_I3D_image_buffer */ -#ifdef WGL_I3D_swap_frame_lock - CONST_CAST(WGLEW_I3D_swap_frame_lock) = _glewSearchExtension("WGL_I3D_swap_frame_lock", extStart, extEnd); - if (glewExperimental || WGLEW_I3D_swap_frame_lock|| crippled) CONST_CAST(WGLEW_I3D_swap_frame_lock)= !_glewInit_WGL_I3D_swap_frame_lock(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_I3D_swap_frame_lock */ -#ifdef WGL_I3D_swap_frame_usage - CONST_CAST(WGLEW_I3D_swap_frame_usage) = _glewSearchExtension("WGL_I3D_swap_frame_usage", extStart, extEnd); - if (glewExperimental || WGLEW_I3D_swap_frame_usage|| crippled) CONST_CAST(WGLEW_I3D_swap_frame_usage)= !_glewInit_WGL_I3D_swap_frame_usage(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_I3D_swap_frame_usage */ -#ifdef WGL_NV_DX_interop - CONST_CAST(WGLEW_NV_DX_interop) = _glewSearchExtension("WGL_NV_DX_interop", extStart, extEnd); - if (glewExperimental || WGLEW_NV_DX_interop|| crippled) CONST_CAST(WGLEW_NV_DX_interop)= !_glewInit_WGL_NV_DX_interop(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_NV_DX_interop */ -#ifdef WGL_NV_DX_interop2 - CONST_CAST(WGLEW_NV_DX_interop2) = _glewSearchExtension("WGL_NV_DX_interop2", extStart, extEnd); -#endif /* WGL_NV_DX_interop2 */ -#ifdef WGL_NV_copy_image - CONST_CAST(WGLEW_NV_copy_image) = _glewSearchExtension("WGL_NV_copy_image", extStart, extEnd); - if (glewExperimental || WGLEW_NV_copy_image|| crippled) CONST_CAST(WGLEW_NV_copy_image)= !_glewInit_WGL_NV_copy_image(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_NV_copy_image */ -#ifdef WGL_NV_float_buffer - CONST_CAST(WGLEW_NV_float_buffer) = _glewSearchExtension("WGL_NV_float_buffer", extStart, extEnd); -#endif /* WGL_NV_float_buffer */ -#ifdef WGL_NV_gpu_affinity - CONST_CAST(WGLEW_NV_gpu_affinity) = _glewSearchExtension("WGL_NV_gpu_affinity", extStart, extEnd); - if (glewExperimental || WGLEW_NV_gpu_affinity|| crippled) CONST_CAST(WGLEW_NV_gpu_affinity)= !_glewInit_WGL_NV_gpu_affinity(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_NV_gpu_affinity */ -#ifdef WGL_NV_multisample_coverage - CONST_CAST(WGLEW_NV_multisample_coverage) = _glewSearchExtension("WGL_NV_multisample_coverage", extStart, extEnd); -#endif /* WGL_NV_multisample_coverage */ -#ifdef WGL_NV_present_video - CONST_CAST(WGLEW_NV_present_video) = _glewSearchExtension("WGL_NV_present_video", extStart, extEnd); - if (glewExperimental || WGLEW_NV_present_video|| crippled) CONST_CAST(WGLEW_NV_present_video)= !_glewInit_WGL_NV_present_video(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_NV_present_video */ -#ifdef WGL_NV_render_depth_texture - CONST_CAST(WGLEW_NV_render_depth_texture) = _glewSearchExtension("WGL_NV_render_depth_texture", extStart, extEnd); -#endif /* WGL_NV_render_depth_texture */ -#ifdef WGL_NV_render_texture_rectangle - CONST_CAST(WGLEW_NV_render_texture_rectangle) = _glewSearchExtension("WGL_NV_render_texture_rectangle", extStart, extEnd); -#endif /* WGL_NV_render_texture_rectangle */ -#ifdef WGL_NV_swap_group - CONST_CAST(WGLEW_NV_swap_group) = _glewSearchExtension("WGL_NV_swap_group", extStart, extEnd); - if (glewExperimental || WGLEW_NV_swap_group|| crippled) CONST_CAST(WGLEW_NV_swap_group)= !_glewInit_WGL_NV_swap_group(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_NV_swap_group */ -#ifdef WGL_NV_vertex_array_range - CONST_CAST(WGLEW_NV_vertex_array_range) = _glewSearchExtension("WGL_NV_vertex_array_range", extStart, extEnd); - if (glewExperimental || WGLEW_NV_vertex_array_range|| crippled) CONST_CAST(WGLEW_NV_vertex_array_range)= !_glewInit_WGL_NV_vertex_array_range(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_NV_vertex_array_range */ -#ifdef WGL_NV_video_capture - CONST_CAST(WGLEW_NV_video_capture) = _glewSearchExtension("WGL_NV_video_capture", extStart, extEnd); - if (glewExperimental || WGLEW_NV_video_capture|| crippled) CONST_CAST(WGLEW_NV_video_capture)= !_glewInit_WGL_NV_video_capture(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_NV_video_capture */ -#ifdef WGL_NV_video_output - CONST_CAST(WGLEW_NV_video_output) = _glewSearchExtension("WGL_NV_video_output", extStart, extEnd); - if (glewExperimental || WGLEW_NV_video_output|| crippled) CONST_CAST(WGLEW_NV_video_output)= !_glewInit_WGL_NV_video_output(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_NV_video_output */ -#ifdef WGL_OML_sync_control - CONST_CAST(WGLEW_OML_sync_control) = _glewSearchExtension("WGL_OML_sync_control", extStart, extEnd); - if (glewExperimental || WGLEW_OML_sync_control|| crippled) CONST_CAST(WGLEW_OML_sync_control)= !_glewInit_WGL_OML_sync_control(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* WGL_OML_sync_control */ - - return GLEW_OK; -} - -#elif !defined(__ANDROID__) && (!defined(__APPLE__) || defined(GLEW_APPLE_GLX)) - -PFNGLXGETCURRENTDISPLAYPROC __glewXGetCurrentDisplay = NULL; - -PFNGLXCHOOSEFBCONFIGPROC __glewXChooseFBConfig = NULL; -PFNGLXCREATENEWCONTEXTPROC __glewXCreateNewContext = NULL; -PFNGLXCREATEPBUFFERPROC __glewXCreatePbuffer = NULL; -PFNGLXCREATEPIXMAPPROC __glewXCreatePixmap = NULL; -PFNGLXCREATEWINDOWPROC __glewXCreateWindow = NULL; -PFNGLXDESTROYPBUFFERPROC __glewXDestroyPbuffer = NULL; -PFNGLXDESTROYPIXMAPPROC __glewXDestroyPixmap = NULL; -PFNGLXDESTROYWINDOWPROC __glewXDestroyWindow = NULL; -PFNGLXGETCURRENTREADDRAWABLEPROC __glewXGetCurrentReadDrawable = NULL; -PFNGLXGETFBCONFIGATTRIBPROC __glewXGetFBConfigAttrib = NULL; -PFNGLXGETFBCONFIGSPROC __glewXGetFBConfigs = NULL; -PFNGLXGETSELECTEDEVENTPROC __glewXGetSelectedEvent = NULL; -PFNGLXGETVISUALFROMFBCONFIGPROC __glewXGetVisualFromFBConfig = NULL; -PFNGLXMAKECONTEXTCURRENTPROC __glewXMakeContextCurrent = NULL; -PFNGLXQUERYCONTEXTPROC __glewXQueryContext = NULL; -PFNGLXQUERYDRAWABLEPROC __glewXQueryDrawable = NULL; -PFNGLXSELECTEVENTPROC __glewXSelectEvent = NULL; - -PFNGLXCREATECONTEXTATTRIBSARBPROC __glewXCreateContextAttribsARB = NULL; - -PFNGLXBINDTEXIMAGEATIPROC __glewXBindTexImageATI = NULL; -PFNGLXDRAWABLEATTRIBATIPROC __glewXDrawableAttribATI = NULL; -PFNGLXRELEASETEXIMAGEATIPROC __glewXReleaseTexImageATI = NULL; - -PFNGLXFREECONTEXTEXTPROC __glewXFreeContextEXT = NULL; -PFNGLXGETCONTEXTIDEXTPROC __glewXGetContextIDEXT = NULL; -PFNGLXIMPORTCONTEXTEXTPROC __glewXImportContextEXT = NULL; -PFNGLXQUERYCONTEXTINFOEXTPROC __glewXQueryContextInfoEXT = NULL; - -PFNGLXSWAPINTERVALEXTPROC __glewXSwapIntervalEXT = NULL; - -PFNGLXBINDTEXIMAGEEXTPROC __glewXBindTexImageEXT = NULL; -PFNGLXRELEASETEXIMAGEEXTPROC __glewXReleaseTexImageEXT = NULL; - -PFNGLXGETAGPOFFSETMESAPROC __glewXGetAGPOffsetMESA = NULL; - -PFNGLXCOPYSUBBUFFERMESAPROC __glewXCopySubBufferMESA = NULL; - -PFNGLXCREATEGLXPIXMAPMESAPROC __glewXCreateGLXPixmapMESA = NULL; - -PFNGLXRELEASEBUFFERSMESAPROC __glewXReleaseBuffersMESA = NULL; - -PFNGLXSET3DFXMODEMESAPROC __glewXSet3DfxModeMESA = NULL; - -PFNGLXGETSWAPINTERVALMESAPROC __glewXGetSwapIntervalMESA = NULL; -PFNGLXSWAPINTERVALMESAPROC __glewXSwapIntervalMESA = NULL; - -PFNGLXCOPYIMAGESUBDATANVPROC __glewXCopyImageSubDataNV = NULL; - -PFNGLXBINDVIDEODEVICENVPROC __glewXBindVideoDeviceNV = NULL; -PFNGLXENUMERATEVIDEODEVICESNVPROC __glewXEnumerateVideoDevicesNV = NULL; - -PFNGLXBINDSWAPBARRIERNVPROC __glewXBindSwapBarrierNV = NULL; -PFNGLXJOINSWAPGROUPNVPROC __glewXJoinSwapGroupNV = NULL; -PFNGLXQUERYFRAMECOUNTNVPROC __glewXQueryFrameCountNV = NULL; -PFNGLXQUERYMAXSWAPGROUPSNVPROC __glewXQueryMaxSwapGroupsNV = NULL; -PFNGLXQUERYSWAPGROUPNVPROC __glewXQuerySwapGroupNV = NULL; -PFNGLXRESETFRAMECOUNTNVPROC __glewXResetFrameCountNV = NULL; - -PFNGLXALLOCATEMEMORYNVPROC __glewXAllocateMemoryNV = NULL; -PFNGLXFREEMEMORYNVPROC __glewXFreeMemoryNV = NULL; - -PFNGLXBINDVIDEOCAPTUREDEVICENVPROC __glewXBindVideoCaptureDeviceNV = NULL; -PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC __glewXEnumerateVideoCaptureDevicesNV = NULL; -PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC __glewXLockVideoCaptureDeviceNV = NULL; -PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC __glewXQueryVideoCaptureDeviceNV = NULL; -PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC __glewXReleaseVideoCaptureDeviceNV = NULL; - -PFNGLXBINDVIDEOIMAGENVPROC __glewXBindVideoImageNV = NULL; -PFNGLXGETVIDEODEVICENVPROC __glewXGetVideoDeviceNV = NULL; -PFNGLXGETVIDEOINFONVPROC __glewXGetVideoInfoNV = NULL; -PFNGLXRELEASEVIDEODEVICENVPROC __glewXReleaseVideoDeviceNV = NULL; -PFNGLXRELEASEVIDEOIMAGENVPROC __glewXReleaseVideoImageNV = NULL; -PFNGLXSENDPBUFFERTOVIDEONVPROC __glewXSendPbufferToVideoNV = NULL; - -PFNGLXGETMSCRATEOMLPROC __glewXGetMscRateOML = NULL; -PFNGLXGETSYNCVALUESOMLPROC __glewXGetSyncValuesOML = NULL; -PFNGLXSWAPBUFFERSMSCOMLPROC __glewXSwapBuffersMscOML = NULL; -PFNGLXWAITFORMSCOMLPROC __glewXWaitForMscOML = NULL; -PFNGLXWAITFORSBCOMLPROC __glewXWaitForSbcOML = NULL; - -PFNGLXCHOOSEFBCONFIGSGIXPROC __glewXChooseFBConfigSGIX = NULL; -PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC __glewXCreateContextWithConfigSGIX = NULL; -PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC __glewXCreateGLXPixmapWithConfigSGIX = NULL; -PFNGLXGETFBCONFIGATTRIBSGIXPROC __glewXGetFBConfigAttribSGIX = NULL; -PFNGLXGETFBCONFIGFROMVISUALSGIXPROC __glewXGetFBConfigFromVisualSGIX = NULL; -PFNGLXGETVISUALFROMFBCONFIGSGIXPROC __glewXGetVisualFromFBConfigSGIX = NULL; - -PFNGLXBINDHYPERPIPESGIXPROC __glewXBindHyperpipeSGIX = NULL; -PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC __glewXDestroyHyperpipeConfigSGIX = NULL; -PFNGLXHYPERPIPEATTRIBSGIXPROC __glewXHyperpipeAttribSGIX = NULL; -PFNGLXHYPERPIPECONFIGSGIXPROC __glewXHyperpipeConfigSGIX = NULL; -PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC __glewXQueryHyperpipeAttribSGIX = NULL; -PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC __glewXQueryHyperpipeBestAttribSGIX = NULL; -PFNGLXQUERYHYPERPIPECONFIGSGIXPROC __glewXQueryHyperpipeConfigSGIX = NULL; -PFNGLXQUERYHYPERPIPENETWORKSGIXPROC __glewXQueryHyperpipeNetworkSGIX = NULL; - -PFNGLXCREATEGLXPBUFFERSGIXPROC __glewXCreateGLXPbufferSGIX = NULL; -PFNGLXDESTROYGLXPBUFFERSGIXPROC __glewXDestroyGLXPbufferSGIX = NULL; -PFNGLXGETSELECTEDEVENTSGIXPROC __glewXGetSelectedEventSGIX = NULL; -PFNGLXQUERYGLXPBUFFERSGIXPROC __glewXQueryGLXPbufferSGIX = NULL; -PFNGLXSELECTEVENTSGIXPROC __glewXSelectEventSGIX = NULL; - -PFNGLXBINDSWAPBARRIERSGIXPROC __glewXBindSwapBarrierSGIX = NULL; -PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC __glewXQueryMaxSwapBarriersSGIX = NULL; - -PFNGLXJOINSWAPGROUPSGIXPROC __glewXJoinSwapGroupSGIX = NULL; - -PFNGLXBINDCHANNELTOWINDOWSGIXPROC __glewXBindChannelToWindowSGIX = NULL; -PFNGLXCHANNELRECTSGIXPROC __glewXChannelRectSGIX = NULL; -PFNGLXCHANNELRECTSYNCSGIXPROC __glewXChannelRectSyncSGIX = NULL; -PFNGLXQUERYCHANNELDELTASSGIXPROC __glewXQueryChannelDeltasSGIX = NULL; -PFNGLXQUERYCHANNELRECTSGIXPROC __glewXQueryChannelRectSGIX = NULL; - -PFNGLXCUSHIONSGIPROC __glewXCushionSGI = NULL; - -PFNGLXGETCURRENTREADDRAWABLESGIPROC __glewXGetCurrentReadDrawableSGI = NULL; -PFNGLXMAKECURRENTREADSGIPROC __glewXMakeCurrentReadSGI = NULL; - -PFNGLXSWAPINTERVALSGIPROC __glewXSwapIntervalSGI = NULL; - -PFNGLXGETVIDEOSYNCSGIPROC __glewXGetVideoSyncSGI = NULL; -PFNGLXWAITVIDEOSYNCSGIPROC __glewXWaitVideoSyncSGI = NULL; - -PFNGLXGETTRANSPARENTINDEXSUNPROC __glewXGetTransparentIndexSUN = NULL; - -PFNGLXGETVIDEORESIZESUNPROC __glewXGetVideoResizeSUN = NULL; -PFNGLXVIDEORESIZESUNPROC __glewXVideoResizeSUN = NULL; - -#if !defined(GLEW_MX) - -GLboolean __GLXEW_VERSION_1_0 = GL_FALSE; -GLboolean __GLXEW_VERSION_1_1 = GL_FALSE; -GLboolean __GLXEW_VERSION_1_2 = GL_FALSE; -GLboolean __GLXEW_VERSION_1_3 = GL_FALSE; -GLboolean __GLXEW_VERSION_1_4 = GL_FALSE; -GLboolean __GLXEW_3DFX_multisample = GL_FALSE; -GLboolean __GLXEW_AMD_gpu_association = GL_FALSE; -GLboolean __GLXEW_ARB_create_context = GL_FALSE; -GLboolean __GLXEW_ARB_create_context_profile = GL_FALSE; -GLboolean __GLXEW_ARB_create_context_robustness = GL_FALSE; -GLboolean __GLXEW_ARB_fbconfig_float = GL_FALSE; -GLboolean __GLXEW_ARB_framebuffer_sRGB = GL_FALSE; -GLboolean __GLXEW_ARB_get_proc_address = GL_FALSE; -GLboolean __GLXEW_ARB_multisample = GL_FALSE; -GLboolean __GLXEW_ARB_robustness_application_isolation = GL_FALSE; -GLboolean __GLXEW_ARB_robustness_share_group_isolation = GL_FALSE; -GLboolean __GLXEW_ARB_vertex_buffer_object = GL_FALSE; -GLboolean __GLXEW_ATI_pixel_format_float = GL_FALSE; -GLboolean __GLXEW_ATI_render_texture = GL_FALSE; -GLboolean __GLXEW_EXT_create_context_es2_profile = GL_FALSE; -GLboolean __GLXEW_EXT_create_context_es_profile = GL_FALSE; -GLboolean __GLXEW_EXT_fbconfig_packed_float = GL_FALSE; -GLboolean __GLXEW_EXT_framebuffer_sRGB = GL_FALSE; -GLboolean __GLXEW_EXT_import_context = GL_FALSE; -GLboolean __GLXEW_EXT_scene_marker = GL_FALSE; -GLboolean __GLXEW_EXT_swap_control = GL_FALSE; -GLboolean __GLXEW_EXT_swap_control_tear = GL_FALSE; -GLboolean __GLXEW_EXT_texture_from_pixmap = GL_FALSE; -GLboolean __GLXEW_EXT_visual_info = GL_FALSE; -GLboolean __GLXEW_EXT_visual_rating = GL_FALSE; -GLboolean __GLXEW_INTEL_swap_event = GL_FALSE; -GLboolean __GLXEW_MESA_agp_offset = GL_FALSE; -GLboolean __GLXEW_MESA_copy_sub_buffer = GL_FALSE; -GLboolean __GLXEW_MESA_pixmap_colormap = GL_FALSE; -GLboolean __GLXEW_MESA_release_buffers = GL_FALSE; -GLboolean __GLXEW_MESA_set_3dfx_mode = GL_FALSE; -GLboolean __GLXEW_MESA_swap_control = GL_FALSE; -GLboolean __GLXEW_NV_copy_image = GL_FALSE; -GLboolean __GLXEW_NV_float_buffer = GL_FALSE; -GLboolean __GLXEW_NV_multisample_coverage = GL_FALSE; -GLboolean __GLXEW_NV_present_video = GL_FALSE; -GLboolean __GLXEW_NV_swap_group = GL_FALSE; -GLboolean __GLXEW_NV_vertex_array_range = GL_FALSE; -GLboolean __GLXEW_NV_video_capture = GL_FALSE; -GLboolean __GLXEW_NV_video_out = GL_FALSE; -GLboolean __GLXEW_OML_swap_method = GL_FALSE; -GLboolean __GLXEW_OML_sync_control = GL_FALSE; -GLboolean __GLXEW_SGIS_blended_overlay = GL_FALSE; -GLboolean __GLXEW_SGIS_color_range = GL_FALSE; -GLboolean __GLXEW_SGIS_multisample = GL_FALSE; -GLboolean __GLXEW_SGIS_shared_multisample = GL_FALSE; -GLboolean __GLXEW_SGIX_fbconfig = GL_FALSE; -GLboolean __GLXEW_SGIX_hyperpipe = GL_FALSE; -GLboolean __GLXEW_SGIX_pbuffer = GL_FALSE; -GLboolean __GLXEW_SGIX_swap_barrier = GL_FALSE; -GLboolean __GLXEW_SGIX_swap_group = GL_FALSE; -GLboolean __GLXEW_SGIX_video_resize = GL_FALSE; -GLboolean __GLXEW_SGIX_visual_select_group = GL_FALSE; -GLboolean __GLXEW_SGI_cushion = GL_FALSE; -GLboolean __GLXEW_SGI_make_current_read = GL_FALSE; -GLboolean __GLXEW_SGI_swap_control = GL_FALSE; -GLboolean __GLXEW_SGI_video_sync = GL_FALSE; -GLboolean __GLXEW_SUN_get_transparent_index = GL_FALSE; -GLboolean __GLXEW_SUN_video_resize = GL_FALSE; - -#endif /* !GLEW_MX */ - -#ifdef GLX_VERSION_1_2 - -static GLboolean _glewInit_GLX_VERSION_1_2 (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXGetCurrentDisplay = (PFNGLXGETCURRENTDISPLAYPROC)glewGetProcAddress((const GLubyte*)"glXGetCurrentDisplay")) == NULL) || r; - - return r; -} - -#endif /* GLX_VERSION_1_2 */ - -#ifdef GLX_VERSION_1_3 - -static GLboolean _glewInit_GLX_VERSION_1_3 (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXChooseFBConfig = (PFNGLXCHOOSEFBCONFIGPROC)glewGetProcAddress((const GLubyte*)"glXChooseFBConfig")) == NULL) || r; - r = ((glXCreateNewContext = (PFNGLXCREATENEWCONTEXTPROC)glewGetProcAddress((const GLubyte*)"glXCreateNewContext")) == NULL) || r; - r = ((glXCreatePbuffer = (PFNGLXCREATEPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glXCreatePbuffer")) == NULL) || r; - r = ((glXCreatePixmap = (PFNGLXCREATEPIXMAPPROC)glewGetProcAddress((const GLubyte*)"glXCreatePixmap")) == NULL) || r; - r = ((glXCreateWindow = (PFNGLXCREATEWINDOWPROC)glewGetProcAddress((const GLubyte*)"glXCreateWindow")) == NULL) || r; - r = ((glXDestroyPbuffer = (PFNGLXDESTROYPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glXDestroyPbuffer")) == NULL) || r; - r = ((glXDestroyPixmap = (PFNGLXDESTROYPIXMAPPROC)glewGetProcAddress((const GLubyte*)"glXDestroyPixmap")) == NULL) || r; - r = ((glXDestroyWindow = (PFNGLXDESTROYWINDOWPROC)glewGetProcAddress((const GLubyte*)"glXDestroyWindow")) == NULL) || r; - r = ((glXGetCurrentReadDrawable = (PFNGLXGETCURRENTREADDRAWABLEPROC)glewGetProcAddress((const GLubyte*)"glXGetCurrentReadDrawable")) == NULL) || r; - r = ((glXGetFBConfigAttrib = (PFNGLXGETFBCONFIGATTRIBPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigAttrib")) == NULL) || r; - r = ((glXGetFBConfigs = (PFNGLXGETFBCONFIGSPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigs")) == NULL) || r; - r = ((glXGetSelectedEvent = (PFNGLXGETSELECTEDEVENTPROC)glewGetProcAddress((const GLubyte*)"glXGetSelectedEvent")) == NULL) || r; - r = ((glXGetVisualFromFBConfig = (PFNGLXGETVISUALFROMFBCONFIGPROC)glewGetProcAddress((const GLubyte*)"glXGetVisualFromFBConfig")) == NULL) || r; - r = ((glXMakeContextCurrent = (PFNGLXMAKECONTEXTCURRENTPROC)glewGetProcAddress((const GLubyte*)"glXMakeContextCurrent")) == NULL) || r; - r = ((glXQueryContext = (PFNGLXQUERYCONTEXTPROC)glewGetProcAddress((const GLubyte*)"glXQueryContext")) == NULL) || r; - r = ((glXQueryDrawable = (PFNGLXQUERYDRAWABLEPROC)glewGetProcAddress((const GLubyte*)"glXQueryDrawable")) == NULL) || r; - r = ((glXSelectEvent = (PFNGLXSELECTEVENTPROC)glewGetProcAddress((const GLubyte*)"glXSelectEvent")) == NULL) || r; - - return r; -} - -#endif /* GLX_VERSION_1_3 */ - -#ifdef GLX_VERSION_1_4 - -#endif /* GLX_VERSION_1_4 */ - -#ifdef GLX_3DFX_multisample - -#endif /* GLX_3DFX_multisample */ - -#ifdef GLX_AMD_gpu_association - -#endif /* GLX_AMD_gpu_association */ - -#ifdef GLX_ARB_create_context - -static GLboolean _glewInit_GLX_ARB_create_context (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXCreateContextAttribsARB = (PFNGLXCREATECONTEXTATTRIBSARBPROC)glewGetProcAddress((const GLubyte*)"glXCreateContextAttribsARB")) == NULL) || r; - - return r; -} - -#endif /* GLX_ARB_create_context */ - -#ifdef GLX_ARB_create_context_profile - -#endif /* GLX_ARB_create_context_profile */ - -#ifdef GLX_ARB_create_context_robustness - -#endif /* GLX_ARB_create_context_robustness */ - -#ifdef GLX_ARB_fbconfig_float - -#endif /* GLX_ARB_fbconfig_float */ - -#ifdef GLX_ARB_framebuffer_sRGB - -#endif /* GLX_ARB_framebuffer_sRGB */ - -#ifdef GLX_ARB_get_proc_address - -#endif /* GLX_ARB_get_proc_address */ - -#ifdef GLX_ARB_multisample - -#endif /* GLX_ARB_multisample */ - -#ifdef GLX_ARB_robustness_application_isolation - -#endif /* GLX_ARB_robustness_application_isolation */ - -#ifdef GLX_ARB_robustness_share_group_isolation - -#endif /* GLX_ARB_robustness_share_group_isolation */ - -#ifdef GLX_ARB_vertex_buffer_object - -#endif /* GLX_ARB_vertex_buffer_object */ - -#ifdef GLX_ATI_pixel_format_float - -#endif /* GLX_ATI_pixel_format_float */ - -#ifdef GLX_ATI_render_texture - -static GLboolean _glewInit_GLX_ATI_render_texture (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXBindTexImageATI = (PFNGLXBINDTEXIMAGEATIPROC)glewGetProcAddress((const GLubyte*)"glXBindTexImageATI")) == NULL) || r; - r = ((glXDrawableAttribATI = (PFNGLXDRAWABLEATTRIBATIPROC)glewGetProcAddress((const GLubyte*)"glXDrawableAttribATI")) == NULL) || r; - r = ((glXReleaseTexImageATI = (PFNGLXRELEASETEXIMAGEATIPROC)glewGetProcAddress((const GLubyte*)"glXReleaseTexImageATI")) == NULL) || r; - - return r; -} - -#endif /* GLX_ATI_render_texture */ - -#ifdef GLX_EXT_create_context_es2_profile - -#endif /* GLX_EXT_create_context_es2_profile */ - -#ifdef GLX_EXT_create_context_es_profile - -#endif /* GLX_EXT_create_context_es_profile */ - -#ifdef GLX_EXT_fbconfig_packed_float - -#endif /* GLX_EXT_fbconfig_packed_float */ - -#ifdef GLX_EXT_framebuffer_sRGB - -#endif /* GLX_EXT_framebuffer_sRGB */ - -#ifdef GLX_EXT_import_context - -static GLboolean _glewInit_GLX_EXT_import_context (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXFreeContextEXT = (PFNGLXFREECONTEXTEXTPROC)glewGetProcAddress((const GLubyte*)"glXFreeContextEXT")) == NULL) || r; - r = ((glXGetContextIDEXT = (PFNGLXGETCONTEXTIDEXTPROC)glewGetProcAddress((const GLubyte*)"glXGetContextIDEXT")) == NULL) || r; - r = ((glXImportContextEXT = (PFNGLXIMPORTCONTEXTEXTPROC)glewGetProcAddress((const GLubyte*)"glXImportContextEXT")) == NULL) || r; - r = ((glXQueryContextInfoEXT = (PFNGLXQUERYCONTEXTINFOEXTPROC)glewGetProcAddress((const GLubyte*)"glXQueryContextInfoEXT")) == NULL) || r; - - return r; -} - -#endif /* GLX_EXT_import_context */ - -#ifdef GLX_EXT_scene_marker - -#endif /* GLX_EXT_scene_marker */ - -#ifdef GLX_EXT_swap_control - -static GLboolean _glewInit_GLX_EXT_swap_control (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXSwapIntervalEXT = (PFNGLXSWAPINTERVALEXTPROC)glewGetProcAddress((const GLubyte*)"glXSwapIntervalEXT")) == NULL) || r; - - return r; -} - -#endif /* GLX_EXT_swap_control */ - -#ifdef GLX_EXT_swap_control_tear - -#endif /* GLX_EXT_swap_control_tear */ - -#ifdef GLX_EXT_texture_from_pixmap - -static GLboolean _glewInit_GLX_EXT_texture_from_pixmap (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXBindTexImageEXT = (PFNGLXBINDTEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glXBindTexImageEXT")) == NULL) || r; - r = ((glXReleaseTexImageEXT = (PFNGLXRELEASETEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glXReleaseTexImageEXT")) == NULL) || r; - - return r; -} - -#endif /* GLX_EXT_texture_from_pixmap */ - -#ifdef GLX_EXT_visual_info - -#endif /* GLX_EXT_visual_info */ - -#ifdef GLX_EXT_visual_rating - -#endif /* GLX_EXT_visual_rating */ - -#ifdef GLX_INTEL_swap_event - -#endif /* GLX_INTEL_swap_event */ - -#ifdef GLX_MESA_agp_offset - -static GLboolean _glewInit_GLX_MESA_agp_offset (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXGetAGPOffsetMESA = (PFNGLXGETAGPOFFSETMESAPROC)glewGetProcAddress((const GLubyte*)"glXGetAGPOffsetMESA")) == NULL) || r; - - return r; -} - -#endif /* GLX_MESA_agp_offset */ - -#ifdef GLX_MESA_copy_sub_buffer - -static GLboolean _glewInit_GLX_MESA_copy_sub_buffer (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXCopySubBufferMESA = (PFNGLXCOPYSUBBUFFERMESAPROC)glewGetProcAddress((const GLubyte*)"glXCopySubBufferMESA")) == NULL) || r; - - return r; -} - -#endif /* GLX_MESA_copy_sub_buffer */ - -#ifdef GLX_MESA_pixmap_colormap - -static GLboolean _glewInit_GLX_MESA_pixmap_colormap (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXCreateGLXPixmapMESA = (PFNGLXCREATEGLXPIXMAPMESAPROC)glewGetProcAddress((const GLubyte*)"glXCreateGLXPixmapMESA")) == NULL) || r; - - return r; -} - -#endif /* GLX_MESA_pixmap_colormap */ - -#ifdef GLX_MESA_release_buffers - -static GLboolean _glewInit_GLX_MESA_release_buffers (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXReleaseBuffersMESA = (PFNGLXRELEASEBUFFERSMESAPROC)glewGetProcAddress((const GLubyte*)"glXReleaseBuffersMESA")) == NULL) || r; - - return r; -} - -#endif /* GLX_MESA_release_buffers */ - -#ifdef GLX_MESA_set_3dfx_mode - -static GLboolean _glewInit_GLX_MESA_set_3dfx_mode (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXSet3DfxModeMESA = (PFNGLXSET3DFXMODEMESAPROC)glewGetProcAddress((const GLubyte*)"glXSet3DfxModeMESA")) == NULL) || r; - - return r; -} - -#endif /* GLX_MESA_set_3dfx_mode */ - -#ifdef GLX_MESA_swap_control - -static GLboolean _glewInit_GLX_MESA_swap_control (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXGetSwapIntervalMESA = (PFNGLXGETSWAPINTERVALMESAPROC)glewGetProcAddress((const GLubyte*)"glXGetSwapIntervalMESA")) == NULL) || r; - r = ((glXSwapIntervalMESA = (PFNGLXSWAPINTERVALMESAPROC)glewGetProcAddress((const GLubyte*)"glXSwapIntervalMESA")) == NULL) || r; - - return r; -} - -#endif /* GLX_MESA_swap_control */ - -#ifdef GLX_NV_copy_image - -static GLboolean _glewInit_GLX_NV_copy_image (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXCopyImageSubDataNV = (PFNGLXCOPYIMAGESUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glXCopyImageSubDataNV")) == NULL) || r; - - return r; -} - -#endif /* GLX_NV_copy_image */ - -#ifdef GLX_NV_float_buffer - -#endif /* GLX_NV_float_buffer */ - -#ifdef GLX_NV_multisample_coverage - -#endif /* GLX_NV_multisample_coverage */ - -#ifdef GLX_NV_present_video - -static GLboolean _glewInit_GLX_NV_present_video (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXBindVideoDeviceNV = (PFNGLXBINDVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXBindVideoDeviceNV")) == NULL) || r; - r = ((glXEnumerateVideoDevicesNV = (PFNGLXENUMERATEVIDEODEVICESNVPROC)glewGetProcAddress((const GLubyte*)"glXEnumerateVideoDevicesNV")) == NULL) || r; - - return r; -} - -#endif /* GLX_NV_present_video */ - -#ifdef GLX_NV_swap_group - -static GLboolean _glewInit_GLX_NV_swap_group (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXBindSwapBarrierNV = (PFNGLXBINDSWAPBARRIERNVPROC)glewGetProcAddress((const GLubyte*)"glXBindSwapBarrierNV")) == NULL) || r; - r = ((glXJoinSwapGroupNV = (PFNGLXJOINSWAPGROUPNVPROC)glewGetProcAddress((const GLubyte*)"glXJoinSwapGroupNV")) == NULL) || r; - r = ((glXQueryFrameCountNV = (PFNGLXQUERYFRAMECOUNTNVPROC)glewGetProcAddress((const GLubyte*)"glXQueryFrameCountNV")) == NULL) || r; - r = ((glXQueryMaxSwapGroupsNV = (PFNGLXQUERYMAXSWAPGROUPSNVPROC)glewGetProcAddress((const GLubyte*)"glXQueryMaxSwapGroupsNV")) == NULL) || r; - r = ((glXQuerySwapGroupNV = (PFNGLXQUERYSWAPGROUPNVPROC)glewGetProcAddress((const GLubyte*)"glXQuerySwapGroupNV")) == NULL) || r; - r = ((glXResetFrameCountNV = (PFNGLXRESETFRAMECOUNTNVPROC)glewGetProcAddress((const GLubyte*)"glXResetFrameCountNV")) == NULL) || r; - - return r; -} - -#endif /* GLX_NV_swap_group */ - -#ifdef GLX_NV_vertex_array_range - -static GLboolean _glewInit_GLX_NV_vertex_array_range (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXAllocateMemoryNV = (PFNGLXALLOCATEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"glXAllocateMemoryNV")) == NULL) || r; - r = ((glXFreeMemoryNV = (PFNGLXFREEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"glXFreeMemoryNV")) == NULL) || r; - - return r; -} - -#endif /* GLX_NV_vertex_array_range */ - -#ifdef GLX_NV_video_capture - -static GLboolean _glewInit_GLX_NV_video_capture (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXBindVideoCaptureDeviceNV = (PFNGLXBINDVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXBindVideoCaptureDeviceNV")) == NULL) || r; - r = ((glXEnumerateVideoCaptureDevicesNV = (PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC)glewGetProcAddress((const GLubyte*)"glXEnumerateVideoCaptureDevicesNV")) == NULL) || r; - r = ((glXLockVideoCaptureDeviceNV = (PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXLockVideoCaptureDeviceNV")) == NULL) || r; - r = ((glXQueryVideoCaptureDeviceNV = (PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXQueryVideoCaptureDeviceNV")) == NULL) || r; - r = ((glXReleaseVideoCaptureDeviceNV = (PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXReleaseVideoCaptureDeviceNV")) == NULL) || r; - - return r; -} - -#endif /* GLX_NV_video_capture */ - -#ifdef GLX_NV_video_out - -static GLboolean _glewInit_GLX_NV_video_out (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXBindVideoImageNV = (PFNGLXBINDVIDEOIMAGENVPROC)glewGetProcAddress((const GLubyte*)"glXBindVideoImageNV")) == NULL) || r; - r = ((glXGetVideoDeviceNV = (PFNGLXGETVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXGetVideoDeviceNV")) == NULL) || r; - r = ((glXGetVideoInfoNV = (PFNGLXGETVIDEOINFONVPROC)glewGetProcAddress((const GLubyte*)"glXGetVideoInfoNV")) == NULL) || r; - r = ((glXReleaseVideoDeviceNV = (PFNGLXRELEASEVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXReleaseVideoDeviceNV")) == NULL) || r; - r = ((glXReleaseVideoImageNV = (PFNGLXRELEASEVIDEOIMAGENVPROC)glewGetProcAddress((const GLubyte*)"glXReleaseVideoImageNV")) == NULL) || r; - r = ((glXSendPbufferToVideoNV = (PFNGLXSENDPBUFFERTOVIDEONVPROC)glewGetProcAddress((const GLubyte*)"glXSendPbufferToVideoNV")) == NULL) || r; - - return r; -} - -#endif /* GLX_NV_video_out */ - -#ifdef GLX_OML_swap_method - -#endif /* GLX_OML_swap_method */ - -#ifdef GLX_OML_sync_control - -static GLboolean _glewInit_GLX_OML_sync_control (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXGetMscRateOML = (PFNGLXGETMSCRATEOMLPROC)glewGetProcAddress((const GLubyte*)"glXGetMscRateOML")) == NULL) || r; - r = ((glXGetSyncValuesOML = (PFNGLXGETSYNCVALUESOMLPROC)glewGetProcAddress((const GLubyte*)"glXGetSyncValuesOML")) == NULL) || r; - r = ((glXSwapBuffersMscOML = (PFNGLXSWAPBUFFERSMSCOMLPROC)glewGetProcAddress((const GLubyte*)"glXSwapBuffersMscOML")) == NULL) || r; - r = ((glXWaitForMscOML = (PFNGLXWAITFORMSCOMLPROC)glewGetProcAddress((const GLubyte*)"glXWaitForMscOML")) == NULL) || r; - r = ((glXWaitForSbcOML = (PFNGLXWAITFORSBCOMLPROC)glewGetProcAddress((const GLubyte*)"glXWaitForSbcOML")) == NULL) || r; - - return r; -} - -#endif /* GLX_OML_sync_control */ - -#ifdef GLX_SGIS_blended_overlay - -#endif /* GLX_SGIS_blended_overlay */ - -#ifdef GLX_SGIS_color_range - -#endif /* GLX_SGIS_color_range */ - -#ifdef GLX_SGIS_multisample - -#endif /* GLX_SGIS_multisample */ - -#ifdef GLX_SGIS_shared_multisample - -#endif /* GLX_SGIS_shared_multisample */ - -#ifdef GLX_SGIX_fbconfig - -static GLboolean _glewInit_GLX_SGIX_fbconfig (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXChooseFBConfigSGIX = (PFNGLXCHOOSEFBCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXChooseFBConfigSGIX")) == NULL) || r; - r = ((glXCreateContextWithConfigSGIX = (PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXCreateContextWithConfigSGIX")) == NULL) || r; - r = ((glXCreateGLXPixmapWithConfigSGIX = (PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXCreateGLXPixmapWithConfigSGIX")) == NULL) || r; - r = ((glXGetFBConfigAttribSGIX = (PFNGLXGETFBCONFIGATTRIBSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigAttribSGIX")) == NULL) || r; - r = ((glXGetFBConfigFromVisualSGIX = (PFNGLXGETFBCONFIGFROMVISUALSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigFromVisualSGIX")) == NULL) || r; - r = ((glXGetVisualFromFBConfigSGIX = (PFNGLXGETVISUALFROMFBCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetVisualFromFBConfigSGIX")) == NULL) || r; - - return r; -} - -#endif /* GLX_SGIX_fbconfig */ - -#ifdef GLX_SGIX_hyperpipe - -static GLboolean _glewInit_GLX_SGIX_hyperpipe (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXBindHyperpipeSGIX = (PFNGLXBINDHYPERPIPESGIXPROC)glewGetProcAddress((const GLubyte*)"glXBindHyperpipeSGIX")) == NULL) || r; - r = ((glXDestroyHyperpipeConfigSGIX = (PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXDestroyHyperpipeConfigSGIX")) == NULL) || r; - r = ((glXHyperpipeAttribSGIX = (PFNGLXHYPERPIPEATTRIBSGIXPROC)glewGetProcAddress((const GLubyte*)"glXHyperpipeAttribSGIX")) == NULL) || r; - r = ((glXHyperpipeConfigSGIX = (PFNGLXHYPERPIPECONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXHyperpipeConfigSGIX")) == NULL) || r; - r = ((glXQueryHyperpipeAttribSGIX = (PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryHyperpipeAttribSGIX")) == NULL) || r; - r = ((glXQueryHyperpipeBestAttribSGIX = (PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryHyperpipeBestAttribSGIX")) == NULL) || r; - r = ((glXQueryHyperpipeConfigSGIX = (PFNGLXQUERYHYPERPIPECONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryHyperpipeConfigSGIX")) == NULL) || r; - r = ((glXQueryHyperpipeNetworkSGIX = (PFNGLXQUERYHYPERPIPENETWORKSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryHyperpipeNetworkSGIX")) == NULL) || r; - - return r; -} - -#endif /* GLX_SGIX_hyperpipe */ - -#ifdef GLX_SGIX_pbuffer - -static GLboolean _glewInit_GLX_SGIX_pbuffer (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXCreateGLXPbufferSGIX = (PFNGLXCREATEGLXPBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXCreateGLXPbufferSGIX")) == NULL) || r; - r = ((glXDestroyGLXPbufferSGIX = (PFNGLXDESTROYGLXPBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXDestroyGLXPbufferSGIX")) == NULL) || r; - r = ((glXGetSelectedEventSGIX = (PFNGLXGETSELECTEDEVENTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetSelectedEventSGIX")) == NULL) || r; - r = ((glXQueryGLXPbufferSGIX = (PFNGLXQUERYGLXPBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryGLXPbufferSGIX")) == NULL) || r; - r = ((glXSelectEventSGIX = (PFNGLXSELECTEVENTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXSelectEventSGIX")) == NULL) || r; - - return r; -} - -#endif /* GLX_SGIX_pbuffer */ - -#ifdef GLX_SGIX_swap_barrier - -static GLboolean _glewInit_GLX_SGIX_swap_barrier (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXBindSwapBarrierSGIX = (PFNGLXBINDSWAPBARRIERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXBindSwapBarrierSGIX")) == NULL) || r; - r = ((glXQueryMaxSwapBarriersSGIX = (PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryMaxSwapBarriersSGIX")) == NULL) || r; - - return r; -} - -#endif /* GLX_SGIX_swap_barrier */ - -#ifdef GLX_SGIX_swap_group - -static GLboolean _glewInit_GLX_SGIX_swap_group (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXJoinSwapGroupSGIX = (PFNGLXJOINSWAPGROUPSGIXPROC)glewGetProcAddress((const GLubyte*)"glXJoinSwapGroupSGIX")) == NULL) || r; - - return r; -} - -#endif /* GLX_SGIX_swap_group */ - -#ifdef GLX_SGIX_video_resize - -static GLboolean _glewInit_GLX_SGIX_video_resize (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXBindChannelToWindowSGIX = (PFNGLXBINDCHANNELTOWINDOWSGIXPROC)glewGetProcAddress((const GLubyte*)"glXBindChannelToWindowSGIX")) == NULL) || r; - r = ((glXChannelRectSGIX = (PFNGLXCHANNELRECTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXChannelRectSGIX")) == NULL) || r; - r = ((glXChannelRectSyncSGIX = (PFNGLXCHANNELRECTSYNCSGIXPROC)glewGetProcAddress((const GLubyte*)"glXChannelRectSyncSGIX")) == NULL) || r; - r = ((glXQueryChannelDeltasSGIX = (PFNGLXQUERYCHANNELDELTASSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryChannelDeltasSGIX")) == NULL) || r; - r = ((glXQueryChannelRectSGIX = (PFNGLXQUERYCHANNELRECTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryChannelRectSGIX")) == NULL) || r; - - return r; -} - -#endif /* GLX_SGIX_video_resize */ - -#ifdef GLX_SGIX_visual_select_group - -#endif /* GLX_SGIX_visual_select_group */ - -#ifdef GLX_SGI_cushion - -static GLboolean _glewInit_GLX_SGI_cushion (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXCushionSGI = (PFNGLXCUSHIONSGIPROC)glewGetProcAddress((const GLubyte*)"glXCushionSGI")) == NULL) || r; - - return r; -} - -#endif /* GLX_SGI_cushion */ - -#ifdef GLX_SGI_make_current_read - -static GLboolean _glewInit_GLX_SGI_make_current_read (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXGetCurrentReadDrawableSGI = (PFNGLXGETCURRENTREADDRAWABLESGIPROC)glewGetProcAddress((const GLubyte*)"glXGetCurrentReadDrawableSGI")) == NULL) || r; - r = ((glXMakeCurrentReadSGI = (PFNGLXMAKECURRENTREADSGIPROC)glewGetProcAddress((const GLubyte*)"glXMakeCurrentReadSGI")) == NULL) || r; - - return r; -} - -#endif /* GLX_SGI_make_current_read */ - -#ifdef GLX_SGI_swap_control - -static GLboolean _glewInit_GLX_SGI_swap_control (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXSwapIntervalSGI = (PFNGLXSWAPINTERVALSGIPROC)glewGetProcAddress((const GLubyte*)"glXSwapIntervalSGI")) == NULL) || r; - - return r; -} - -#endif /* GLX_SGI_swap_control */ - -#ifdef GLX_SGI_video_sync - -static GLboolean _glewInit_GLX_SGI_video_sync (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXGetVideoSyncSGI = (PFNGLXGETVIDEOSYNCSGIPROC)glewGetProcAddress((const GLubyte*)"glXGetVideoSyncSGI")) == NULL) || r; - r = ((glXWaitVideoSyncSGI = (PFNGLXWAITVIDEOSYNCSGIPROC)glewGetProcAddress((const GLubyte*)"glXWaitVideoSyncSGI")) == NULL) || r; - - return r; -} - -#endif /* GLX_SGI_video_sync */ - -#ifdef GLX_SUN_get_transparent_index - -static GLboolean _glewInit_GLX_SUN_get_transparent_index (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXGetTransparentIndexSUN = (PFNGLXGETTRANSPARENTINDEXSUNPROC)glewGetProcAddress((const GLubyte*)"glXGetTransparentIndexSUN")) == NULL) || r; - - return r; -} - -#endif /* GLX_SUN_get_transparent_index */ - -#ifdef GLX_SUN_video_resize - -static GLboolean _glewInit_GLX_SUN_video_resize (GLXEW_CONTEXT_ARG_DEF_INIT) -{ - GLboolean r = GL_FALSE; - - r = ((glXGetVideoResizeSUN = (PFNGLXGETVIDEORESIZESUNPROC)glewGetProcAddress((const GLubyte*)"glXGetVideoResizeSUN")) == NULL) || r; - r = ((glXVideoResizeSUN = (PFNGLXVIDEORESIZESUNPROC)glewGetProcAddress((const GLubyte*)"glXVideoResizeSUN")) == NULL) || r; - - return r; -} - -#endif /* GLX_SUN_video_resize */ - -/* ------------------------------------------------------------------------ */ - -GLboolean glxewGetExtension (const char* name) -{ - const GLubyte* start; - const GLubyte* end; - - if (glXGetCurrentDisplay == NULL) return GL_FALSE; - start = (const GLubyte*)glXGetClientString(glXGetCurrentDisplay(), GLX_EXTENSIONS); - if (0 == start) return GL_FALSE; - end = start + _glewStrLen(start); - return _glewSearchExtension(name, start, end); -} - -GLenum glxewContextInit (GLXEW_CONTEXT_ARG_DEF_LIST) -{ - int major, minor; - const GLubyte* extStart; - const GLubyte* extEnd; - /* initialize core GLX 1.2 */ - if (_glewInit_GLX_VERSION_1_2(GLEW_CONTEXT_ARG_VAR_INIT)) return GLEW_ERROR_GLX_VERSION_11_ONLY; - /* initialize flags */ - CONST_CAST(GLXEW_VERSION_1_0) = GL_TRUE; - CONST_CAST(GLXEW_VERSION_1_1) = GL_TRUE; - CONST_CAST(GLXEW_VERSION_1_2) = GL_TRUE; - CONST_CAST(GLXEW_VERSION_1_3) = GL_TRUE; - CONST_CAST(GLXEW_VERSION_1_4) = GL_TRUE; - /* query GLX version */ - glXQueryVersion(glXGetCurrentDisplay(), &major, &minor); - if (major == 1 && minor <= 3) - { - switch (minor) - { - case 3: - CONST_CAST(GLXEW_VERSION_1_4) = GL_FALSE; - break; - case 2: - CONST_CAST(GLXEW_VERSION_1_4) = GL_FALSE; - CONST_CAST(GLXEW_VERSION_1_3) = GL_FALSE; - break; - default: - return GLEW_ERROR_GLX_VERSION_11_ONLY; - break; - } - } - /* query GLX extension string */ - extStart = 0; - if (glXGetCurrentDisplay != NULL) - extStart = (const GLubyte*)glXGetClientString(glXGetCurrentDisplay(), GLX_EXTENSIONS); - if (extStart == 0) - extStart = (const GLubyte *)""; - extEnd = extStart + _glewStrLen(extStart); - /* initialize extensions */ -#ifdef GLX_VERSION_1_3 - if (glewExperimental || GLXEW_VERSION_1_3) CONST_CAST(GLXEW_VERSION_1_3) = !_glewInit_GLX_VERSION_1_3(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_VERSION_1_3 */ -#ifdef GLX_3DFX_multisample - CONST_CAST(GLXEW_3DFX_multisample) = _glewSearchExtension("GLX_3DFX_multisample", extStart, extEnd); -#endif /* GLX_3DFX_multisample */ -#ifdef GLX_AMD_gpu_association - CONST_CAST(GLXEW_AMD_gpu_association) = _glewSearchExtension("GLX_AMD_gpu_association", extStart, extEnd); -#endif /* GLX_AMD_gpu_association */ -#ifdef GLX_ARB_create_context - CONST_CAST(GLXEW_ARB_create_context) = _glewSearchExtension("GLX_ARB_create_context", extStart, extEnd); - if (glewExperimental || GLXEW_ARB_create_context) CONST_CAST(GLXEW_ARB_create_context) = !_glewInit_GLX_ARB_create_context(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_ARB_create_context */ -#ifdef GLX_ARB_create_context_profile - CONST_CAST(GLXEW_ARB_create_context_profile) = _glewSearchExtension("GLX_ARB_create_context_profile", extStart, extEnd); -#endif /* GLX_ARB_create_context_profile */ -#ifdef GLX_ARB_create_context_robustness - CONST_CAST(GLXEW_ARB_create_context_robustness) = _glewSearchExtension("GLX_ARB_create_context_robustness", extStart, extEnd); -#endif /* GLX_ARB_create_context_robustness */ -#ifdef GLX_ARB_fbconfig_float - CONST_CAST(GLXEW_ARB_fbconfig_float) = _glewSearchExtension("GLX_ARB_fbconfig_float", extStart, extEnd); -#endif /* GLX_ARB_fbconfig_float */ -#ifdef GLX_ARB_framebuffer_sRGB - CONST_CAST(GLXEW_ARB_framebuffer_sRGB) = _glewSearchExtension("GLX_ARB_framebuffer_sRGB", extStart, extEnd); -#endif /* GLX_ARB_framebuffer_sRGB */ -#ifdef GLX_ARB_get_proc_address - CONST_CAST(GLXEW_ARB_get_proc_address) = _glewSearchExtension("GLX_ARB_get_proc_address", extStart, extEnd); -#endif /* GLX_ARB_get_proc_address */ -#ifdef GLX_ARB_multisample - CONST_CAST(GLXEW_ARB_multisample) = _glewSearchExtension("GLX_ARB_multisample", extStart, extEnd); -#endif /* GLX_ARB_multisample */ -#ifdef GLX_ARB_robustness_application_isolation - CONST_CAST(GLXEW_ARB_robustness_application_isolation) = _glewSearchExtension("GLX_ARB_robustness_application_isolation", extStart, extEnd); -#endif /* GLX_ARB_robustness_application_isolation */ -#ifdef GLX_ARB_robustness_share_group_isolation - CONST_CAST(GLXEW_ARB_robustness_share_group_isolation) = _glewSearchExtension("GLX_ARB_robustness_share_group_isolation", extStart, extEnd); -#endif /* GLX_ARB_robustness_share_group_isolation */ -#ifdef GLX_ARB_vertex_buffer_object - CONST_CAST(GLXEW_ARB_vertex_buffer_object) = _glewSearchExtension("GLX_ARB_vertex_buffer_object", extStart, extEnd); -#endif /* GLX_ARB_vertex_buffer_object */ -#ifdef GLX_ATI_pixel_format_float - CONST_CAST(GLXEW_ATI_pixel_format_float) = _glewSearchExtension("GLX_ATI_pixel_format_float", extStart, extEnd); -#endif /* GLX_ATI_pixel_format_float */ -#ifdef GLX_ATI_render_texture - CONST_CAST(GLXEW_ATI_render_texture) = _glewSearchExtension("GLX_ATI_render_texture", extStart, extEnd); - if (glewExperimental || GLXEW_ATI_render_texture) CONST_CAST(GLXEW_ATI_render_texture) = !_glewInit_GLX_ATI_render_texture(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_ATI_render_texture */ -#ifdef GLX_EXT_create_context_es2_profile - CONST_CAST(GLXEW_EXT_create_context_es2_profile) = _glewSearchExtension("GLX_EXT_create_context_es2_profile", extStart, extEnd); -#endif /* GLX_EXT_create_context_es2_profile */ -#ifdef GLX_EXT_create_context_es_profile - CONST_CAST(GLXEW_EXT_create_context_es_profile) = _glewSearchExtension("GLX_EXT_create_context_es_profile", extStart, extEnd); -#endif /* GLX_EXT_create_context_es_profile */ -#ifdef GLX_EXT_fbconfig_packed_float - CONST_CAST(GLXEW_EXT_fbconfig_packed_float) = _glewSearchExtension("GLX_EXT_fbconfig_packed_float", extStart, extEnd); -#endif /* GLX_EXT_fbconfig_packed_float */ -#ifdef GLX_EXT_framebuffer_sRGB - CONST_CAST(GLXEW_EXT_framebuffer_sRGB) = _glewSearchExtension("GLX_EXT_framebuffer_sRGB", extStart, extEnd); -#endif /* GLX_EXT_framebuffer_sRGB */ -#ifdef GLX_EXT_import_context - CONST_CAST(GLXEW_EXT_import_context) = _glewSearchExtension("GLX_EXT_import_context", extStart, extEnd); - if (glewExperimental || GLXEW_EXT_import_context) CONST_CAST(GLXEW_EXT_import_context) = !_glewInit_GLX_EXT_import_context(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_EXT_import_context */ -#ifdef GLX_EXT_scene_marker - CONST_CAST(GLXEW_EXT_scene_marker) = _glewSearchExtension("GLX_EXT_scene_marker", extStart, extEnd); -#endif /* GLX_EXT_scene_marker */ -#ifdef GLX_EXT_swap_control - CONST_CAST(GLXEW_EXT_swap_control) = _glewSearchExtension("GLX_EXT_swap_control", extStart, extEnd); - if (glewExperimental || GLXEW_EXT_swap_control) CONST_CAST(GLXEW_EXT_swap_control) = !_glewInit_GLX_EXT_swap_control(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_EXT_swap_control */ -#ifdef GLX_EXT_swap_control_tear - CONST_CAST(GLXEW_EXT_swap_control_tear) = _glewSearchExtension("GLX_EXT_swap_control_tear", extStart, extEnd); -#endif /* GLX_EXT_swap_control_tear */ -#ifdef GLX_EXT_texture_from_pixmap - CONST_CAST(GLXEW_EXT_texture_from_pixmap) = _glewSearchExtension("GLX_EXT_texture_from_pixmap", extStart, extEnd); - if (glewExperimental || GLXEW_EXT_texture_from_pixmap) CONST_CAST(GLXEW_EXT_texture_from_pixmap) = !_glewInit_GLX_EXT_texture_from_pixmap(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_EXT_texture_from_pixmap */ -#ifdef GLX_EXT_visual_info - CONST_CAST(GLXEW_EXT_visual_info) = _glewSearchExtension("GLX_EXT_visual_info", extStart, extEnd); -#endif /* GLX_EXT_visual_info */ -#ifdef GLX_EXT_visual_rating - CONST_CAST(GLXEW_EXT_visual_rating) = _glewSearchExtension("GLX_EXT_visual_rating", extStart, extEnd); -#endif /* GLX_EXT_visual_rating */ -#ifdef GLX_INTEL_swap_event - CONST_CAST(GLXEW_INTEL_swap_event) = _glewSearchExtension("GLX_INTEL_swap_event", extStart, extEnd); -#endif /* GLX_INTEL_swap_event */ -#ifdef GLX_MESA_agp_offset - CONST_CAST(GLXEW_MESA_agp_offset) = _glewSearchExtension("GLX_MESA_agp_offset", extStart, extEnd); - if (glewExperimental || GLXEW_MESA_agp_offset) CONST_CAST(GLXEW_MESA_agp_offset) = !_glewInit_GLX_MESA_agp_offset(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_MESA_agp_offset */ -#ifdef GLX_MESA_copy_sub_buffer - CONST_CAST(GLXEW_MESA_copy_sub_buffer) = _glewSearchExtension("GLX_MESA_copy_sub_buffer", extStart, extEnd); - if (glewExperimental || GLXEW_MESA_copy_sub_buffer) CONST_CAST(GLXEW_MESA_copy_sub_buffer) = !_glewInit_GLX_MESA_copy_sub_buffer(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_MESA_copy_sub_buffer */ -#ifdef GLX_MESA_pixmap_colormap - CONST_CAST(GLXEW_MESA_pixmap_colormap) = _glewSearchExtension("GLX_MESA_pixmap_colormap", extStart, extEnd); - if (glewExperimental || GLXEW_MESA_pixmap_colormap) CONST_CAST(GLXEW_MESA_pixmap_colormap) = !_glewInit_GLX_MESA_pixmap_colormap(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_MESA_pixmap_colormap */ -#ifdef GLX_MESA_release_buffers - CONST_CAST(GLXEW_MESA_release_buffers) = _glewSearchExtension("GLX_MESA_release_buffers", extStart, extEnd); - if (glewExperimental || GLXEW_MESA_release_buffers) CONST_CAST(GLXEW_MESA_release_buffers) = !_glewInit_GLX_MESA_release_buffers(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_MESA_release_buffers */ -#ifdef GLX_MESA_set_3dfx_mode - CONST_CAST(GLXEW_MESA_set_3dfx_mode) = _glewSearchExtension("GLX_MESA_set_3dfx_mode", extStart, extEnd); - if (glewExperimental || GLXEW_MESA_set_3dfx_mode) CONST_CAST(GLXEW_MESA_set_3dfx_mode) = !_glewInit_GLX_MESA_set_3dfx_mode(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_MESA_set_3dfx_mode */ -#ifdef GLX_MESA_swap_control - CONST_CAST(GLXEW_MESA_swap_control) = _glewSearchExtension("GLX_MESA_swap_control", extStart, extEnd); - if (glewExperimental || GLXEW_MESA_swap_control) CONST_CAST(GLXEW_MESA_swap_control) = !_glewInit_GLX_MESA_swap_control(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_MESA_swap_control */ -#ifdef GLX_NV_copy_image - CONST_CAST(GLXEW_NV_copy_image) = _glewSearchExtension("GLX_NV_copy_image", extStart, extEnd); - if (glewExperimental || GLXEW_NV_copy_image) CONST_CAST(GLXEW_NV_copy_image) = !_glewInit_GLX_NV_copy_image(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_NV_copy_image */ -#ifdef GLX_NV_float_buffer - CONST_CAST(GLXEW_NV_float_buffer) = _glewSearchExtension("GLX_NV_float_buffer", extStart, extEnd); -#endif /* GLX_NV_float_buffer */ -#ifdef GLX_NV_multisample_coverage - CONST_CAST(GLXEW_NV_multisample_coverage) = _glewSearchExtension("GLX_NV_multisample_coverage", extStart, extEnd); -#endif /* GLX_NV_multisample_coverage */ -#ifdef GLX_NV_present_video - CONST_CAST(GLXEW_NV_present_video) = _glewSearchExtension("GLX_NV_present_video", extStart, extEnd); - if (glewExperimental || GLXEW_NV_present_video) CONST_CAST(GLXEW_NV_present_video) = !_glewInit_GLX_NV_present_video(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_NV_present_video */ -#ifdef GLX_NV_swap_group - CONST_CAST(GLXEW_NV_swap_group) = _glewSearchExtension("GLX_NV_swap_group", extStart, extEnd); - if (glewExperimental || GLXEW_NV_swap_group) CONST_CAST(GLXEW_NV_swap_group) = !_glewInit_GLX_NV_swap_group(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_NV_swap_group */ -#ifdef GLX_NV_vertex_array_range - CONST_CAST(GLXEW_NV_vertex_array_range) = _glewSearchExtension("GLX_NV_vertex_array_range", extStart, extEnd); - if (glewExperimental || GLXEW_NV_vertex_array_range) CONST_CAST(GLXEW_NV_vertex_array_range) = !_glewInit_GLX_NV_vertex_array_range(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_NV_vertex_array_range */ -#ifdef GLX_NV_video_capture - CONST_CAST(GLXEW_NV_video_capture) = _glewSearchExtension("GLX_NV_video_capture", extStart, extEnd); - if (glewExperimental || GLXEW_NV_video_capture) CONST_CAST(GLXEW_NV_video_capture) = !_glewInit_GLX_NV_video_capture(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_NV_video_capture */ -#ifdef GLX_NV_video_out - CONST_CAST(GLXEW_NV_video_out) = _glewSearchExtension("GLX_NV_video_out", extStart, extEnd); - if (glewExperimental || GLXEW_NV_video_out) CONST_CAST(GLXEW_NV_video_out) = !_glewInit_GLX_NV_video_out(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_NV_video_out */ -#ifdef GLX_OML_swap_method - CONST_CAST(GLXEW_OML_swap_method) = _glewSearchExtension("GLX_OML_swap_method", extStart, extEnd); -#endif /* GLX_OML_swap_method */ -#ifdef GLX_OML_sync_control - CONST_CAST(GLXEW_OML_sync_control) = _glewSearchExtension("GLX_OML_sync_control", extStart, extEnd); - if (glewExperimental || GLXEW_OML_sync_control) CONST_CAST(GLXEW_OML_sync_control) = !_glewInit_GLX_OML_sync_control(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_OML_sync_control */ -#ifdef GLX_SGIS_blended_overlay - CONST_CAST(GLXEW_SGIS_blended_overlay) = _glewSearchExtension("GLX_SGIS_blended_overlay", extStart, extEnd); -#endif /* GLX_SGIS_blended_overlay */ -#ifdef GLX_SGIS_color_range - CONST_CAST(GLXEW_SGIS_color_range) = _glewSearchExtension("GLX_SGIS_color_range", extStart, extEnd); -#endif /* GLX_SGIS_color_range */ -#ifdef GLX_SGIS_multisample - CONST_CAST(GLXEW_SGIS_multisample) = _glewSearchExtension("GLX_SGIS_multisample", extStart, extEnd); -#endif /* GLX_SGIS_multisample */ -#ifdef GLX_SGIS_shared_multisample - CONST_CAST(GLXEW_SGIS_shared_multisample) = _glewSearchExtension("GLX_SGIS_shared_multisample", extStart, extEnd); -#endif /* GLX_SGIS_shared_multisample */ -#ifdef GLX_SGIX_fbconfig - CONST_CAST(GLXEW_SGIX_fbconfig) = _glewSearchExtension("GLX_SGIX_fbconfig", extStart, extEnd); - if (glewExperimental || GLXEW_SGIX_fbconfig) CONST_CAST(GLXEW_SGIX_fbconfig) = !_glewInit_GLX_SGIX_fbconfig(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_SGIX_fbconfig */ -#ifdef GLX_SGIX_hyperpipe - CONST_CAST(GLXEW_SGIX_hyperpipe) = _glewSearchExtension("GLX_SGIX_hyperpipe", extStart, extEnd); - if (glewExperimental || GLXEW_SGIX_hyperpipe) CONST_CAST(GLXEW_SGIX_hyperpipe) = !_glewInit_GLX_SGIX_hyperpipe(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_SGIX_hyperpipe */ -#ifdef GLX_SGIX_pbuffer - CONST_CAST(GLXEW_SGIX_pbuffer) = _glewSearchExtension("GLX_SGIX_pbuffer", extStart, extEnd); - if (glewExperimental || GLXEW_SGIX_pbuffer) CONST_CAST(GLXEW_SGIX_pbuffer) = !_glewInit_GLX_SGIX_pbuffer(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_SGIX_pbuffer */ -#ifdef GLX_SGIX_swap_barrier - CONST_CAST(GLXEW_SGIX_swap_barrier) = _glewSearchExtension("GLX_SGIX_swap_barrier", extStart, extEnd); - if (glewExperimental || GLXEW_SGIX_swap_barrier) CONST_CAST(GLXEW_SGIX_swap_barrier) = !_glewInit_GLX_SGIX_swap_barrier(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_SGIX_swap_barrier */ -#ifdef GLX_SGIX_swap_group - CONST_CAST(GLXEW_SGIX_swap_group) = _glewSearchExtension("GLX_SGIX_swap_group", extStart, extEnd); - if (glewExperimental || GLXEW_SGIX_swap_group) CONST_CAST(GLXEW_SGIX_swap_group) = !_glewInit_GLX_SGIX_swap_group(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_SGIX_swap_group */ -#ifdef GLX_SGIX_video_resize - CONST_CAST(GLXEW_SGIX_video_resize) = _glewSearchExtension("GLX_SGIX_video_resize", extStart, extEnd); - if (glewExperimental || GLXEW_SGIX_video_resize) CONST_CAST(GLXEW_SGIX_video_resize) = !_glewInit_GLX_SGIX_video_resize(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_SGIX_video_resize */ -#ifdef GLX_SGIX_visual_select_group - CONST_CAST(GLXEW_SGIX_visual_select_group) = _glewSearchExtension("GLX_SGIX_visual_select_group", extStart, extEnd); -#endif /* GLX_SGIX_visual_select_group */ -#ifdef GLX_SGI_cushion - CONST_CAST(GLXEW_SGI_cushion) = _glewSearchExtension("GLX_SGI_cushion", extStart, extEnd); - if (glewExperimental || GLXEW_SGI_cushion) CONST_CAST(GLXEW_SGI_cushion) = !_glewInit_GLX_SGI_cushion(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_SGI_cushion */ -#ifdef GLX_SGI_make_current_read - CONST_CAST(GLXEW_SGI_make_current_read) = _glewSearchExtension("GLX_SGI_make_current_read", extStart, extEnd); - if (glewExperimental || GLXEW_SGI_make_current_read) CONST_CAST(GLXEW_SGI_make_current_read) = !_glewInit_GLX_SGI_make_current_read(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_SGI_make_current_read */ -#ifdef GLX_SGI_swap_control - CONST_CAST(GLXEW_SGI_swap_control) = _glewSearchExtension("GLX_SGI_swap_control", extStart, extEnd); - if (glewExperimental || GLXEW_SGI_swap_control) CONST_CAST(GLXEW_SGI_swap_control) = !_glewInit_GLX_SGI_swap_control(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_SGI_swap_control */ -#ifdef GLX_SGI_video_sync - CONST_CAST(GLXEW_SGI_video_sync) = _glewSearchExtension("GLX_SGI_video_sync", extStart, extEnd); - if (glewExperimental || GLXEW_SGI_video_sync) CONST_CAST(GLXEW_SGI_video_sync) = !_glewInit_GLX_SGI_video_sync(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_SGI_video_sync */ -#ifdef GLX_SUN_get_transparent_index - CONST_CAST(GLXEW_SUN_get_transparent_index) = _glewSearchExtension("GLX_SUN_get_transparent_index", extStart, extEnd); - if (glewExperimental || GLXEW_SUN_get_transparent_index) CONST_CAST(GLXEW_SUN_get_transparent_index) = !_glewInit_GLX_SUN_get_transparent_index(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_SUN_get_transparent_index */ -#ifdef GLX_SUN_video_resize - CONST_CAST(GLXEW_SUN_video_resize) = _glewSearchExtension("GLX_SUN_video_resize", extStart, extEnd); - if (glewExperimental || GLXEW_SUN_video_resize) CONST_CAST(GLXEW_SUN_video_resize) = !_glewInit_GLX_SUN_video_resize(GLEW_CONTEXT_ARG_VAR_INIT); -#endif /* GLX_SUN_video_resize */ - - return GLEW_OK; -} - -#endif /* !defined(__ANDROID__) && (!defined(__APPLE__) || defined(GLEW_APPLE_GLX)) */ - -/* ------------------------------------------------------------------------ */ - -const GLubyte * GLEWAPIENTRY glewGetErrorString (GLenum error) -{ - static const GLubyte* _glewErrorString[] = - { - (const GLubyte*)"No error", - (const GLubyte*)"Missing GL version", - (const GLubyte*)"GL 1.1 and up are not supported", - (const GLubyte*)"GLX 1.2 and up are not supported", - (const GLubyte*)"Unknown error" - }; - const int max_error = sizeof(_glewErrorString)/sizeof(*_glewErrorString) - 1; - return _glewErrorString[(int)error > max_error ? max_error : (int)error]; -} - -const GLubyte * GLEWAPIENTRY glewGetString (GLenum name) -{ - static const GLubyte* _glewString[] = - { - (const GLubyte*)NULL, - (const GLubyte*)"1.9.0", - (const GLubyte*)"1", - (const GLubyte*)"9", - (const GLubyte*)"0" - }; - const int max_string = sizeof(_glewString)/sizeof(*_glewString) - 1; - return _glewString[(int)name > max_string ? 0 : (int)name]; -} - -/* ------------------------------------------------------------------------ */ - -GLboolean glewExperimental = GL_FALSE; - -#if !defined(GLEW_MX) - -#if defined(_WIN32) -extern GLenum GLEWAPIENTRY wglewContextInit (void); -#elif !defined(__ANDROID__) && (!defined(__APPLE__) || defined(GLEW_APPLE_GLX)) -extern GLenum GLEWAPIENTRY glxewContextInit (void); -#endif /* _WIN32 */ - -GLenum GLEWAPIENTRY glewInit (void) -{ - GLenum r; - r = glewContextInit(); - if ( r != 0 ) return r; -#if defined(_WIN32) - return wglewContextInit(); -#elif !defined(__ANDROID__) && (!defined(__APPLE__) || defined(GLEW_APPLE_GLX)) /* _UNIX */ - return glxewContextInit(); -#else - return r; -#endif /* _WIN32 */ -} - -#endif /* !GLEW_MX */ -#ifdef GLEW_MX -GLboolean GLEWAPIENTRY glewContextIsSupported (const GLEWContext* ctx, const char* name) -#else -GLboolean GLEWAPIENTRY glewIsSupported (const char* name) -#endif -{ - GLubyte* pos = (GLubyte*)name; - GLuint len = _glewStrLen(pos); - GLboolean ret = GL_TRUE; - while (ret && len > 0) - { - if (_glewStrSame1(&pos, &len, (const GLubyte*)"GL_", 3)) - { - if (_glewStrSame2(&pos, &len, (const GLubyte*)"VERSION_", 8)) - { -#ifdef GL_VERSION_1_2 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_2", 3)) - { - ret = GLEW_VERSION_1_2; - continue; - } -#endif -#ifdef GL_VERSION_1_2_1 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_2_1", 5)) - { - ret = GLEW_VERSION_1_2_1; - continue; - } -#endif -#ifdef GL_VERSION_1_3 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_3", 3)) - { - ret = GLEW_VERSION_1_3; - continue; - } -#endif -#ifdef GL_VERSION_1_4 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_4", 3)) - { - ret = GLEW_VERSION_1_4; - continue; - } -#endif -#ifdef GL_VERSION_1_5 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_5", 3)) - { - ret = GLEW_VERSION_1_5; - continue; - } -#endif -#ifdef GL_VERSION_2_0 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"2_0", 3)) - { - ret = GLEW_VERSION_2_0; - continue; - } -#endif -#ifdef GL_VERSION_2_1 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"2_1", 3)) - { - ret = GLEW_VERSION_2_1; - continue; - } -#endif -#ifdef GL_VERSION_3_0 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"3_0", 3)) - { - ret = GLEW_VERSION_3_0; - continue; - } -#endif -#ifdef GL_VERSION_3_1 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"3_1", 3)) - { - ret = GLEW_VERSION_3_1; - continue; - } -#endif -#ifdef GL_VERSION_3_2 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"3_2", 3)) - { - ret = GLEW_VERSION_3_2; - continue; - } -#endif -#ifdef GL_VERSION_3_3 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"3_3", 3)) - { - ret = GLEW_VERSION_3_3; - continue; - } -#endif -#ifdef GL_VERSION_4_0 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_0", 3)) - { - ret = GLEW_VERSION_4_0; - continue; - } -#endif -#ifdef GL_VERSION_4_1 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_1", 3)) - { - ret = GLEW_VERSION_4_1; - continue; - } -#endif -#ifdef GL_VERSION_4_2 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_2", 3)) - { - ret = GLEW_VERSION_4_2; - continue; - } -#endif -#ifdef GL_VERSION_4_3 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_3", 3)) - { - ret = GLEW_VERSION_4_3; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DFX_", 5)) - { -#ifdef GL_3DFX_multisample - if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11)) - { - ret = GLEW_3DFX_multisample; - continue; - } -#endif -#ifdef GL_3DFX_tbuffer - if (_glewStrSame3(&pos, &len, (const GLubyte*)"tbuffer", 7)) - { - ret = GLEW_3DFX_tbuffer; - continue; - } -#endif -#ifdef GL_3DFX_texture_compression_FXT1 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_FXT1", 24)) - { - ret = GLEW_3DFX_texture_compression_FXT1; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"AMD_", 4)) - { -#ifdef GL_AMD_blend_minmax_factor - if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_minmax_factor", 19)) - { - ret = GLEW_AMD_blend_minmax_factor; - continue; - } -#endif -#ifdef GL_AMD_conservative_depth - if (_glewStrSame3(&pos, &len, (const GLubyte*)"conservative_depth", 18)) - { - ret = GLEW_AMD_conservative_depth; - continue; - } -#endif -#ifdef GL_AMD_debug_output - if (_glewStrSame3(&pos, &len, (const GLubyte*)"debug_output", 12)) - { - ret = GLEW_AMD_debug_output; - continue; - } -#endif -#ifdef GL_AMD_depth_clamp_separate - if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_clamp_separate", 20)) - { - ret = GLEW_AMD_depth_clamp_separate; - continue; - } -#endif -#ifdef GL_AMD_draw_buffers_blend - if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers_blend", 18)) - { - ret = GLEW_AMD_draw_buffers_blend; - continue; - } -#endif -#ifdef GL_AMD_multi_draw_indirect - if (_glewStrSame3(&pos, &len, (const GLubyte*)"multi_draw_indirect", 19)) - { - ret = GLEW_AMD_multi_draw_indirect; - continue; - } -#endif -#ifdef GL_AMD_name_gen_delete - if (_glewStrSame3(&pos, &len, (const GLubyte*)"name_gen_delete", 15)) - { - ret = GLEW_AMD_name_gen_delete; - continue; - } -#endif -#ifdef GL_AMD_performance_monitor - if (_glewStrSame3(&pos, &len, (const GLubyte*)"performance_monitor", 19)) - { - ret = GLEW_AMD_performance_monitor; - continue; - } -#endif -#ifdef GL_AMD_pinned_memory - if (_glewStrSame3(&pos, &len, (const GLubyte*)"pinned_memory", 13)) - { - ret = GLEW_AMD_pinned_memory; - continue; - } -#endif -#ifdef GL_AMD_query_buffer_object - if (_glewStrSame3(&pos, &len, (const GLubyte*)"query_buffer_object", 19)) - { - ret = GLEW_AMD_query_buffer_object; - continue; - } -#endif -#ifdef GL_AMD_sample_positions - if (_glewStrSame3(&pos, &len, (const GLubyte*)"sample_positions", 16)) - { - ret = GLEW_AMD_sample_positions; - continue; - } -#endif -#ifdef GL_AMD_seamless_cubemap_per_texture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"seamless_cubemap_per_texture", 28)) - { - ret = GLEW_AMD_seamless_cubemap_per_texture; - continue; - } -#endif -#ifdef GL_AMD_shader_stencil_export - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_stencil_export", 21)) - { - ret = GLEW_AMD_shader_stencil_export; - continue; - } -#endif -#ifdef GL_AMD_stencil_operation_extended - if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_operation_extended", 26)) - { - ret = GLEW_AMD_stencil_operation_extended; - continue; - } -#endif -#ifdef GL_AMD_texture_texture4 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_texture4", 16)) - { - ret = GLEW_AMD_texture_texture4; - continue; - } -#endif -#ifdef GL_AMD_transform_feedback3_lines_triangles - if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback3_lines_triangles", 35)) - { - ret = GLEW_AMD_transform_feedback3_lines_triangles; - continue; - } -#endif -#ifdef GL_AMD_vertex_shader_layer - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader_layer", 19)) - { - ret = GLEW_AMD_vertex_shader_layer; - continue; - } -#endif -#ifdef GL_AMD_vertex_shader_tessellator - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader_tessellator", 25)) - { - ret = GLEW_AMD_vertex_shader_tessellator; - continue; - } -#endif -#ifdef GL_AMD_vertex_shader_viewport_index - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader_viewport_index", 28)) - { - ret = GLEW_AMD_vertex_shader_viewport_index; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"APPLE_", 6)) - { -#ifdef GL_APPLE_aux_depth_stencil - if (_glewStrSame3(&pos, &len, (const GLubyte*)"aux_depth_stencil", 17)) - { - ret = GLEW_APPLE_aux_depth_stencil; - continue; - } -#endif -#ifdef GL_APPLE_client_storage - if (_glewStrSame3(&pos, &len, (const GLubyte*)"client_storage", 14)) - { - ret = GLEW_APPLE_client_storage; - continue; - } -#endif -#ifdef GL_APPLE_element_array - if (_glewStrSame3(&pos, &len, (const GLubyte*)"element_array", 13)) - { - ret = GLEW_APPLE_element_array; - continue; - } -#endif -#ifdef GL_APPLE_fence - if (_glewStrSame3(&pos, &len, (const GLubyte*)"fence", 5)) - { - ret = GLEW_APPLE_fence; - continue; - } -#endif -#ifdef GL_APPLE_float_pixels - if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_pixels", 12)) - { - ret = GLEW_APPLE_float_pixels; - continue; - } -#endif -#ifdef GL_APPLE_flush_buffer_range - if (_glewStrSame3(&pos, &len, (const GLubyte*)"flush_buffer_range", 18)) - { - ret = GLEW_APPLE_flush_buffer_range; - continue; - } -#endif -#ifdef GL_APPLE_object_purgeable - if (_glewStrSame3(&pos, &len, (const GLubyte*)"object_purgeable", 16)) - { - ret = GLEW_APPLE_object_purgeable; - continue; - } -#endif -#ifdef GL_APPLE_pixel_buffer - if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_buffer", 12)) - { - ret = GLEW_APPLE_pixel_buffer; - continue; - } -#endif -#ifdef GL_APPLE_rgb_422 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"rgb_422", 7)) - { - ret = GLEW_APPLE_rgb_422; - continue; - } -#endif -#ifdef GL_APPLE_row_bytes - if (_glewStrSame3(&pos, &len, (const GLubyte*)"row_bytes", 9)) - { - ret = GLEW_APPLE_row_bytes; - continue; - } -#endif -#ifdef GL_APPLE_specular_vector - if (_glewStrSame3(&pos, &len, (const GLubyte*)"specular_vector", 15)) - { - ret = GLEW_APPLE_specular_vector; - continue; - } -#endif -#ifdef GL_APPLE_texture_range - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_range", 13)) - { - ret = GLEW_APPLE_texture_range; - continue; - } -#endif -#ifdef GL_APPLE_transform_hint - if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_hint", 14)) - { - ret = GLEW_APPLE_transform_hint; - continue; - } -#endif -#ifdef GL_APPLE_vertex_array_object - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_object", 19)) - { - ret = GLEW_APPLE_vertex_array_object; - continue; - } -#endif -#ifdef GL_APPLE_vertex_array_range - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18)) - { - ret = GLEW_APPLE_vertex_array_range; - continue; - } -#endif -#ifdef GL_APPLE_vertex_program_evaluators - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program_evaluators", 25)) - { - ret = GLEW_APPLE_vertex_program_evaluators; - continue; - } -#endif -#ifdef GL_APPLE_ycbcr_422 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"ycbcr_422", 9)) - { - ret = GLEW_APPLE_ycbcr_422; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"ARB_", 4)) - { -#ifdef GL_ARB_ES2_compatibility - if (_glewStrSame3(&pos, &len, (const GLubyte*)"ES2_compatibility", 17)) - { - ret = GLEW_ARB_ES2_compatibility; - continue; - } -#endif -#ifdef GL_ARB_ES3_compatibility - if (_glewStrSame3(&pos, &len, (const GLubyte*)"ES3_compatibility", 17)) - { - ret = GLEW_ARB_ES3_compatibility; - continue; - } -#endif -#ifdef GL_ARB_arrays_of_arrays - if (_glewStrSame3(&pos, &len, (const GLubyte*)"arrays_of_arrays", 16)) - { - ret = GLEW_ARB_arrays_of_arrays; - continue; - } -#endif -#ifdef GL_ARB_base_instance - if (_glewStrSame3(&pos, &len, (const GLubyte*)"base_instance", 13)) - { - ret = GLEW_ARB_base_instance; - continue; - } -#endif -#ifdef GL_ARB_blend_func_extended - if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_func_extended", 19)) - { - ret = GLEW_ARB_blend_func_extended; - continue; - } -#endif -#ifdef GL_ARB_cl_event - if (_glewStrSame3(&pos, &len, (const GLubyte*)"cl_event", 8)) - { - ret = GLEW_ARB_cl_event; - continue; - } -#endif -#ifdef GL_ARB_clear_buffer_object - if (_glewStrSame3(&pos, &len, (const GLubyte*)"clear_buffer_object", 19)) - { - ret = GLEW_ARB_clear_buffer_object; - continue; - } -#endif -#ifdef GL_ARB_color_buffer_float - if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_buffer_float", 18)) - { - ret = GLEW_ARB_color_buffer_float; - continue; - } -#endif -#ifdef GL_ARB_compatibility - if (_glewStrSame3(&pos, &len, (const GLubyte*)"compatibility", 13)) - { - ret = GLEW_ARB_compatibility; - continue; - } -#endif -#ifdef GL_ARB_compressed_texture_pixel_storage - if (_glewStrSame3(&pos, &len, (const GLubyte*)"compressed_texture_pixel_storage", 32)) - { - ret = GLEW_ARB_compressed_texture_pixel_storage; - continue; - } -#endif -#ifdef GL_ARB_compute_shader - if (_glewStrSame3(&pos, &len, (const GLubyte*)"compute_shader", 14)) - { - ret = GLEW_ARB_compute_shader; - continue; - } -#endif -#ifdef GL_ARB_conservative_depth - if (_glewStrSame3(&pos, &len, (const GLubyte*)"conservative_depth", 18)) - { - ret = GLEW_ARB_conservative_depth; - continue; - } -#endif -#ifdef GL_ARB_copy_buffer - if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_buffer", 11)) - { - ret = GLEW_ARB_copy_buffer; - continue; - } -#endif -#ifdef GL_ARB_copy_image - if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_image", 10)) - { - ret = GLEW_ARB_copy_image; - continue; - } -#endif -#ifdef GL_ARB_debug_output - if (_glewStrSame3(&pos, &len, (const GLubyte*)"debug_output", 12)) - { - ret = GLEW_ARB_debug_output; - continue; - } -#endif -#ifdef GL_ARB_depth_buffer_float - if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_buffer_float", 18)) - { - ret = GLEW_ARB_depth_buffer_float; - continue; - } -#endif -#ifdef GL_ARB_depth_clamp - if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_clamp", 11)) - { - ret = GLEW_ARB_depth_clamp; - continue; - } -#endif -#ifdef GL_ARB_depth_texture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_texture", 13)) - { - ret = GLEW_ARB_depth_texture; - continue; - } -#endif -#ifdef GL_ARB_draw_buffers - if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers", 12)) - { - ret = GLEW_ARB_draw_buffers; - continue; - } -#endif -#ifdef GL_ARB_draw_buffers_blend - if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers_blend", 18)) - { - ret = GLEW_ARB_draw_buffers_blend; - continue; - } -#endif -#ifdef GL_ARB_draw_elements_base_vertex - if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_elements_base_vertex", 25)) - { - ret = GLEW_ARB_draw_elements_base_vertex; - continue; - } -#endif -#ifdef GL_ARB_draw_indirect - if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_indirect", 13)) - { - ret = GLEW_ARB_draw_indirect; - continue; - } -#endif -#ifdef GL_ARB_draw_instanced - if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_instanced", 14)) - { - ret = GLEW_ARB_draw_instanced; - continue; - } -#endif -#ifdef GL_ARB_explicit_attrib_location - if (_glewStrSame3(&pos, &len, (const GLubyte*)"explicit_attrib_location", 24)) - { - ret = GLEW_ARB_explicit_attrib_location; - continue; - } -#endif -#ifdef GL_ARB_explicit_uniform_location - if (_glewStrSame3(&pos, &len, (const GLubyte*)"explicit_uniform_location", 25)) - { - ret = GLEW_ARB_explicit_uniform_location; - continue; - } -#endif -#ifdef GL_ARB_fragment_coord_conventions - if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_coord_conventions", 26)) - { - ret = GLEW_ARB_fragment_coord_conventions; - continue; - } -#endif -#ifdef GL_ARB_fragment_layer_viewport - if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_layer_viewport", 23)) - { - ret = GLEW_ARB_fragment_layer_viewport; - continue; - } -#endif -#ifdef GL_ARB_fragment_program - if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program", 16)) - { - ret = GLEW_ARB_fragment_program; - continue; - } -#endif -#ifdef GL_ARB_fragment_program_shadow - if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program_shadow", 23)) - { - ret = GLEW_ARB_fragment_program_shadow; - continue; - } -#endif -#ifdef GL_ARB_fragment_shader - if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_shader", 15)) - { - ret = GLEW_ARB_fragment_shader; - continue; - } -#endif -#ifdef GL_ARB_framebuffer_no_attachments - if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_no_attachments", 26)) - { - ret = GLEW_ARB_framebuffer_no_attachments; - continue; - } -#endif -#ifdef GL_ARB_framebuffer_object - if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_object", 18)) - { - ret = GLEW_ARB_framebuffer_object; - continue; - } -#endif -#ifdef GL_ARB_framebuffer_sRGB - if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16)) - { - ret = GLEW_ARB_framebuffer_sRGB; - continue; - } -#endif -#ifdef GL_ARB_geometry_shader4 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_shader4", 16)) - { - ret = GLEW_ARB_geometry_shader4; - continue; - } -#endif -#ifdef GL_ARB_get_program_binary - if (_glewStrSame3(&pos, &len, (const GLubyte*)"get_program_binary", 18)) - { - ret = GLEW_ARB_get_program_binary; - continue; - } -#endif -#ifdef GL_ARB_gpu_shader5 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader5", 11)) - { - ret = GLEW_ARB_gpu_shader5; - continue; - } -#endif -#ifdef GL_ARB_gpu_shader_fp64 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader_fp64", 15)) - { - ret = GLEW_ARB_gpu_shader_fp64; - continue; - } -#endif -#ifdef GL_ARB_half_float_pixel - if (_glewStrSame3(&pos, &len, (const GLubyte*)"half_float_pixel", 16)) - { - ret = GLEW_ARB_half_float_pixel; - continue; - } -#endif -#ifdef GL_ARB_half_float_vertex - if (_glewStrSame3(&pos, &len, (const GLubyte*)"half_float_vertex", 17)) - { - ret = GLEW_ARB_half_float_vertex; - continue; - } -#endif -#ifdef GL_ARB_imaging - if (_glewStrSame3(&pos, &len, (const GLubyte*)"imaging", 7)) - { - ret = GLEW_ARB_imaging; - continue; - } -#endif -#ifdef GL_ARB_instanced_arrays - if (_glewStrSame3(&pos, &len, (const GLubyte*)"instanced_arrays", 16)) - { - ret = GLEW_ARB_instanced_arrays; - continue; - } -#endif -#ifdef GL_ARB_internalformat_query - if (_glewStrSame3(&pos, &len, (const GLubyte*)"internalformat_query", 20)) - { - ret = GLEW_ARB_internalformat_query; - continue; - } -#endif -#ifdef GL_ARB_internalformat_query2 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"internalformat_query2", 21)) - { - ret = GLEW_ARB_internalformat_query2; - continue; - } -#endif -#ifdef GL_ARB_invalidate_subdata - if (_glewStrSame3(&pos, &len, (const GLubyte*)"invalidate_subdata", 18)) - { - ret = GLEW_ARB_invalidate_subdata; - continue; - } -#endif -#ifdef GL_ARB_map_buffer_alignment - if (_glewStrSame3(&pos, &len, (const GLubyte*)"map_buffer_alignment", 20)) - { - ret = GLEW_ARB_map_buffer_alignment; - continue; - } -#endif -#ifdef GL_ARB_map_buffer_range - if (_glewStrSame3(&pos, &len, (const GLubyte*)"map_buffer_range", 16)) - { - ret = GLEW_ARB_map_buffer_range; - continue; - } -#endif -#ifdef GL_ARB_matrix_palette - if (_glewStrSame3(&pos, &len, (const GLubyte*)"matrix_palette", 14)) - { - ret = GLEW_ARB_matrix_palette; - continue; - } -#endif -#ifdef GL_ARB_multi_draw_indirect - if (_glewStrSame3(&pos, &len, (const GLubyte*)"multi_draw_indirect", 19)) - { - ret = GLEW_ARB_multi_draw_indirect; - continue; - } -#endif -#ifdef GL_ARB_multisample - if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11)) - { - ret = GLEW_ARB_multisample; - continue; - } -#endif -#ifdef GL_ARB_multitexture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"multitexture", 12)) - { - ret = GLEW_ARB_multitexture; - continue; - } -#endif -#ifdef GL_ARB_occlusion_query - if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_query", 15)) - { - ret = GLEW_ARB_occlusion_query; - continue; - } -#endif -#ifdef GL_ARB_occlusion_query2 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_query2", 16)) - { - ret = GLEW_ARB_occlusion_query2; - continue; - } -#endif -#ifdef GL_ARB_pixel_buffer_object - if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_buffer_object", 19)) - { - ret = GLEW_ARB_pixel_buffer_object; - continue; - } -#endif -#ifdef GL_ARB_point_parameters - if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_parameters", 16)) - { - ret = GLEW_ARB_point_parameters; - continue; - } -#endif -#ifdef GL_ARB_point_sprite - if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_sprite", 12)) - { - ret = GLEW_ARB_point_sprite; - continue; - } -#endif -#ifdef GL_ARB_program_interface_query - if (_glewStrSame3(&pos, &len, (const GLubyte*)"program_interface_query", 23)) - { - ret = GLEW_ARB_program_interface_query; - continue; - } -#endif -#ifdef GL_ARB_provoking_vertex - if (_glewStrSame3(&pos, &len, (const GLubyte*)"provoking_vertex", 16)) - { - ret = GLEW_ARB_provoking_vertex; - continue; - } -#endif -#ifdef GL_ARB_robust_buffer_access_behavior - if (_glewStrSame3(&pos, &len, (const GLubyte*)"robust_buffer_access_behavior", 29)) - { - ret = GLEW_ARB_robust_buffer_access_behavior; - continue; - } -#endif -#ifdef GL_ARB_robustness - if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness", 10)) - { - ret = GLEW_ARB_robustness; - continue; - } -#endif -#ifdef GL_ARB_robustness_application_isolation - if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_application_isolation", 32)) - { - ret = GLEW_ARB_robustness_application_isolation; - continue; - } -#endif -#ifdef GL_ARB_robustness_share_group_isolation - if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_share_group_isolation", 32)) - { - ret = GLEW_ARB_robustness_share_group_isolation; - continue; - } -#endif -#ifdef GL_ARB_sample_shading - if (_glewStrSame3(&pos, &len, (const GLubyte*)"sample_shading", 14)) - { - ret = GLEW_ARB_sample_shading; - continue; - } -#endif -#ifdef GL_ARB_sampler_objects - if (_glewStrSame3(&pos, &len, (const GLubyte*)"sampler_objects", 15)) - { - ret = GLEW_ARB_sampler_objects; - continue; - } -#endif -#ifdef GL_ARB_seamless_cube_map - if (_glewStrSame3(&pos, &len, (const GLubyte*)"seamless_cube_map", 17)) - { - ret = GLEW_ARB_seamless_cube_map; - continue; - } -#endif -#ifdef GL_ARB_separate_shader_objects - if (_glewStrSame3(&pos, &len, (const GLubyte*)"separate_shader_objects", 23)) - { - ret = GLEW_ARB_separate_shader_objects; - continue; - } -#endif -#ifdef GL_ARB_shader_atomic_counters - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_atomic_counters", 22)) - { - ret = GLEW_ARB_shader_atomic_counters; - continue; - } -#endif -#ifdef GL_ARB_shader_bit_encoding - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_bit_encoding", 19)) - { - ret = GLEW_ARB_shader_bit_encoding; - continue; - } -#endif -#ifdef GL_ARB_shader_image_load_store - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_image_load_store", 23)) - { - ret = GLEW_ARB_shader_image_load_store; - continue; - } -#endif -#ifdef GL_ARB_shader_image_size - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_image_size", 17)) - { - ret = GLEW_ARB_shader_image_size; - continue; - } -#endif -#ifdef GL_ARB_shader_objects - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_objects", 14)) - { - ret = GLEW_ARB_shader_objects; - continue; - } -#endif -#ifdef GL_ARB_shader_precision - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_precision", 16)) - { - ret = GLEW_ARB_shader_precision; - continue; - } -#endif -#ifdef GL_ARB_shader_stencil_export - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_stencil_export", 21)) - { - ret = GLEW_ARB_shader_stencil_export; - continue; - } -#endif -#ifdef GL_ARB_shader_storage_buffer_object - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_storage_buffer_object", 28)) - { - ret = GLEW_ARB_shader_storage_buffer_object; - continue; - } -#endif -#ifdef GL_ARB_shader_subroutine - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_subroutine", 17)) - { - ret = GLEW_ARB_shader_subroutine; - continue; - } -#endif -#ifdef GL_ARB_shader_texture_lod - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_texture_lod", 18)) - { - ret = GLEW_ARB_shader_texture_lod; - continue; - } -#endif -#ifdef GL_ARB_shading_language_100 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shading_language_100", 20)) - { - ret = GLEW_ARB_shading_language_100; - continue; - } -#endif -#ifdef GL_ARB_shading_language_420pack - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shading_language_420pack", 24)) - { - ret = GLEW_ARB_shading_language_420pack; - continue; - } -#endif -#ifdef GL_ARB_shading_language_include - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shading_language_include", 24)) - { - ret = GLEW_ARB_shading_language_include; - continue; - } -#endif -#ifdef GL_ARB_shading_language_packing - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shading_language_packing", 24)) - { - ret = GLEW_ARB_shading_language_packing; - continue; - } -#endif -#ifdef GL_ARB_shadow - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow", 6)) - { - ret = GLEW_ARB_shadow; - continue; - } -#endif -#ifdef GL_ARB_shadow_ambient - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_ambient", 14)) - { - ret = GLEW_ARB_shadow_ambient; - continue; - } -#endif -#ifdef GL_ARB_stencil_texturing - if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_texturing", 17)) - { - ret = GLEW_ARB_stencil_texturing; - continue; - } -#endif -#ifdef GL_ARB_sync - if (_glewStrSame3(&pos, &len, (const GLubyte*)"sync", 4)) - { - ret = GLEW_ARB_sync; - continue; - } -#endif -#ifdef GL_ARB_tessellation_shader - if (_glewStrSame3(&pos, &len, (const GLubyte*)"tessellation_shader", 19)) - { - ret = GLEW_ARB_tessellation_shader; - continue; - } -#endif -#ifdef GL_ARB_texture_border_clamp - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_border_clamp", 20)) - { - ret = GLEW_ARB_texture_border_clamp; - continue; - } -#endif -#ifdef GL_ARB_texture_buffer_object - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_buffer_object", 21)) - { - ret = GLEW_ARB_texture_buffer_object; - continue; - } -#endif -#ifdef GL_ARB_texture_buffer_object_rgb32 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_buffer_object_rgb32", 27)) - { - ret = GLEW_ARB_texture_buffer_object_rgb32; - continue; - } -#endif -#ifdef GL_ARB_texture_buffer_range - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_buffer_range", 20)) - { - ret = GLEW_ARB_texture_buffer_range; - continue; - } -#endif -#ifdef GL_ARB_texture_compression - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression", 19)) - { - ret = GLEW_ARB_texture_compression; - continue; - } -#endif -#ifdef GL_ARB_texture_compression_bptc - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_bptc", 24)) - { - ret = GLEW_ARB_texture_compression_bptc; - continue; - } -#endif -#ifdef GL_ARB_texture_compression_rgtc - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_rgtc", 24)) - { - ret = GLEW_ARB_texture_compression_rgtc; - continue; - } -#endif -#ifdef GL_ARB_texture_cube_map - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_cube_map", 16)) - { - ret = GLEW_ARB_texture_cube_map; - continue; - } -#endif -#ifdef GL_ARB_texture_cube_map_array - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_cube_map_array", 22)) - { - ret = GLEW_ARB_texture_cube_map_array; - continue; - } -#endif -#ifdef GL_ARB_texture_env_add - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_add", 15)) - { - ret = GLEW_ARB_texture_env_add; - continue; - } -#endif -#ifdef GL_ARB_texture_env_combine - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine", 19)) - { - ret = GLEW_ARB_texture_env_combine; - continue; - } -#endif -#ifdef GL_ARB_texture_env_crossbar - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_crossbar", 20)) - { - ret = GLEW_ARB_texture_env_crossbar; - continue; - } -#endif -#ifdef GL_ARB_texture_env_dot3 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_dot3", 16)) - { - ret = GLEW_ARB_texture_env_dot3; - continue; - } -#endif -#ifdef GL_ARB_texture_float - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_float", 13)) - { - ret = GLEW_ARB_texture_float; - continue; - } -#endif -#ifdef GL_ARB_texture_gather - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_gather", 14)) - { - ret = GLEW_ARB_texture_gather; - continue; - } -#endif -#ifdef GL_ARB_texture_mirrored_repeat - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirrored_repeat", 23)) - { - ret = GLEW_ARB_texture_mirrored_repeat; - continue; - } -#endif -#ifdef GL_ARB_texture_multisample - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_multisample", 19)) - { - ret = GLEW_ARB_texture_multisample; - continue; - } -#endif -#ifdef GL_ARB_texture_non_power_of_two - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_non_power_of_two", 24)) - { - ret = GLEW_ARB_texture_non_power_of_two; - continue; - } -#endif -#ifdef GL_ARB_texture_query_levels - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_query_levels", 20)) - { - ret = GLEW_ARB_texture_query_levels; - continue; - } -#endif -#ifdef GL_ARB_texture_query_lod - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_query_lod", 17)) - { - ret = GLEW_ARB_texture_query_lod; - continue; - } -#endif -#ifdef GL_ARB_texture_rectangle - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rectangle", 17)) - { - ret = GLEW_ARB_texture_rectangle; - continue; - } -#endif -#ifdef GL_ARB_texture_rg - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rg", 10)) - { - ret = GLEW_ARB_texture_rg; - continue; - } -#endif -#ifdef GL_ARB_texture_rgb10_a2ui - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rgb10_a2ui", 18)) - { - ret = GLEW_ARB_texture_rgb10_a2ui; - continue; - } -#endif -#ifdef GL_ARB_texture_storage - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_storage", 15)) - { - ret = GLEW_ARB_texture_storage; - continue; - } -#endif -#ifdef GL_ARB_texture_storage_multisample - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_storage_multisample", 27)) - { - ret = GLEW_ARB_texture_storage_multisample; - continue; - } -#endif -#ifdef GL_ARB_texture_swizzle - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_swizzle", 15)) - { - ret = GLEW_ARB_texture_swizzle; - continue; - } -#endif -#ifdef GL_ARB_texture_view - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_view", 12)) - { - ret = GLEW_ARB_texture_view; - continue; - } -#endif -#ifdef GL_ARB_timer_query - if (_glewStrSame3(&pos, &len, (const GLubyte*)"timer_query", 11)) - { - ret = GLEW_ARB_timer_query; - continue; - } -#endif -#ifdef GL_ARB_transform_feedback2 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback2", 19)) - { - ret = GLEW_ARB_transform_feedback2; - continue; - } -#endif -#ifdef GL_ARB_transform_feedback3 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback3", 19)) - { - ret = GLEW_ARB_transform_feedback3; - continue; - } -#endif -#ifdef GL_ARB_transform_feedback_instanced - if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback_instanced", 28)) - { - ret = GLEW_ARB_transform_feedback_instanced; - continue; - } -#endif -#ifdef GL_ARB_transpose_matrix - if (_glewStrSame3(&pos, &len, (const GLubyte*)"transpose_matrix", 16)) - { - ret = GLEW_ARB_transpose_matrix; - continue; - } -#endif -#ifdef GL_ARB_uniform_buffer_object - if (_glewStrSame3(&pos, &len, (const GLubyte*)"uniform_buffer_object", 21)) - { - ret = GLEW_ARB_uniform_buffer_object; - continue; - } -#endif -#ifdef GL_ARB_vertex_array_bgra - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_bgra", 17)) - { - ret = GLEW_ARB_vertex_array_bgra; - continue; - } -#endif -#ifdef GL_ARB_vertex_array_object - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_object", 19)) - { - ret = GLEW_ARB_vertex_array_object; - continue; - } -#endif -#ifdef GL_ARB_vertex_attrib_64bit - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_64bit", 19)) - { - ret = GLEW_ARB_vertex_attrib_64bit; - continue; - } -#endif -#ifdef GL_ARB_vertex_attrib_binding - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_binding", 21)) - { - ret = GLEW_ARB_vertex_attrib_binding; - continue; - } -#endif -#ifdef GL_ARB_vertex_blend - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_blend", 12)) - { - ret = GLEW_ARB_vertex_blend; - continue; - } -#endif -#ifdef GL_ARB_vertex_buffer_object - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_buffer_object", 20)) - { - ret = GLEW_ARB_vertex_buffer_object; - continue; - } -#endif -#ifdef GL_ARB_vertex_program - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program", 14)) - { - ret = GLEW_ARB_vertex_program; - continue; - } -#endif -#ifdef GL_ARB_vertex_shader - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader", 13)) - { - ret = GLEW_ARB_vertex_shader; - continue; - } -#endif -#ifdef GL_ARB_vertex_type_2_10_10_10_rev - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_type_2_10_10_10_rev", 26)) - { - ret = GLEW_ARB_vertex_type_2_10_10_10_rev; - continue; - } -#endif -#ifdef GL_ARB_viewport_array - if (_glewStrSame3(&pos, &len, (const GLubyte*)"viewport_array", 14)) - { - ret = GLEW_ARB_viewport_array; - continue; - } -#endif -#ifdef GL_ARB_window_pos - if (_glewStrSame3(&pos, &len, (const GLubyte*)"window_pos", 10)) - { - ret = GLEW_ARB_window_pos; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATIX_", 5)) - { -#ifdef GL_ATIX_point_sprites - if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_sprites", 13)) - { - ret = GLEW_ATIX_point_sprites; - continue; - } -#endif -#ifdef GL_ATIX_texture_env_combine3 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine3", 20)) - { - ret = GLEW_ATIX_texture_env_combine3; - continue; - } -#endif -#ifdef GL_ATIX_texture_env_route - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_route", 17)) - { - ret = GLEW_ATIX_texture_env_route; - continue; - } -#endif -#ifdef GL_ATIX_vertex_shader_output_point_size - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader_output_point_size", 31)) - { - ret = GLEW_ATIX_vertex_shader_output_point_size; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATI_", 4)) - { -#ifdef GL_ATI_draw_buffers - if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers", 12)) - { - ret = GLEW_ATI_draw_buffers; - continue; - } -#endif -#ifdef GL_ATI_element_array - if (_glewStrSame3(&pos, &len, (const GLubyte*)"element_array", 13)) - { - ret = GLEW_ATI_element_array; - continue; - } -#endif -#ifdef GL_ATI_envmap_bumpmap - if (_glewStrSame3(&pos, &len, (const GLubyte*)"envmap_bumpmap", 14)) - { - ret = GLEW_ATI_envmap_bumpmap; - continue; - } -#endif -#ifdef GL_ATI_fragment_shader - if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_shader", 15)) - { - ret = GLEW_ATI_fragment_shader; - continue; - } -#endif -#ifdef GL_ATI_map_object_buffer - if (_glewStrSame3(&pos, &len, (const GLubyte*)"map_object_buffer", 17)) - { - ret = GLEW_ATI_map_object_buffer; - continue; - } -#endif -#ifdef GL_ATI_meminfo - if (_glewStrSame3(&pos, &len, (const GLubyte*)"meminfo", 7)) - { - ret = GLEW_ATI_meminfo; - continue; - } -#endif -#ifdef GL_ATI_pn_triangles - if (_glewStrSame3(&pos, &len, (const GLubyte*)"pn_triangles", 12)) - { - ret = GLEW_ATI_pn_triangles; - continue; - } -#endif -#ifdef GL_ATI_separate_stencil - if (_glewStrSame3(&pos, &len, (const GLubyte*)"separate_stencil", 16)) - { - ret = GLEW_ATI_separate_stencil; - continue; - } -#endif -#ifdef GL_ATI_shader_texture_lod - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_texture_lod", 18)) - { - ret = GLEW_ATI_shader_texture_lod; - continue; - } -#endif -#ifdef GL_ATI_text_fragment_shader - if (_glewStrSame3(&pos, &len, (const GLubyte*)"text_fragment_shader", 20)) - { - ret = GLEW_ATI_text_fragment_shader; - continue; - } -#endif -#ifdef GL_ATI_texture_compression_3dc - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_3dc", 23)) - { - ret = GLEW_ATI_texture_compression_3dc; - continue; - } -#endif -#ifdef GL_ATI_texture_env_combine3 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine3", 20)) - { - ret = GLEW_ATI_texture_env_combine3; - continue; - } -#endif -#ifdef GL_ATI_texture_float - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_float", 13)) - { - ret = GLEW_ATI_texture_float; - continue; - } -#endif -#ifdef GL_ATI_texture_mirror_once - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirror_once", 19)) - { - ret = GLEW_ATI_texture_mirror_once; - continue; - } -#endif -#ifdef GL_ATI_vertex_array_object - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_object", 19)) - { - ret = GLEW_ATI_vertex_array_object; - continue; - } -#endif -#ifdef GL_ATI_vertex_attrib_array_object - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_array_object", 26)) - { - ret = GLEW_ATI_vertex_attrib_array_object; - continue; - } -#endif -#ifdef GL_ATI_vertex_streams - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_streams", 14)) - { - ret = GLEW_ATI_vertex_streams; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"EXT_", 4)) - { -#ifdef GL_EXT_422_pixels - if (_glewStrSame3(&pos, &len, (const GLubyte*)"422_pixels", 10)) - { - ret = GLEW_EXT_422_pixels; - continue; - } -#endif -#ifdef GL_EXT_Cg_shader - if (_glewStrSame3(&pos, &len, (const GLubyte*)"Cg_shader", 9)) - { - ret = GLEW_EXT_Cg_shader; - continue; - } -#endif -#ifdef GL_EXT_abgr - if (_glewStrSame3(&pos, &len, (const GLubyte*)"abgr", 4)) - { - ret = GLEW_EXT_abgr; - continue; - } -#endif -#ifdef GL_EXT_bgra - if (_glewStrSame3(&pos, &len, (const GLubyte*)"bgra", 4)) - { - ret = GLEW_EXT_bgra; - continue; - } -#endif -#ifdef GL_EXT_bindable_uniform - if (_glewStrSame3(&pos, &len, (const GLubyte*)"bindable_uniform", 16)) - { - ret = GLEW_EXT_bindable_uniform; - continue; - } -#endif -#ifdef GL_EXT_blend_color - if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_color", 11)) - { - ret = GLEW_EXT_blend_color; - continue; - } -#endif -#ifdef GL_EXT_blend_equation_separate - if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_equation_separate", 23)) - { - ret = GLEW_EXT_blend_equation_separate; - continue; - } -#endif -#ifdef GL_EXT_blend_func_separate - if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_func_separate", 19)) - { - ret = GLEW_EXT_blend_func_separate; - continue; - } -#endif -#ifdef GL_EXT_blend_logic_op - if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_logic_op", 14)) - { - ret = GLEW_EXT_blend_logic_op; - continue; - } -#endif -#ifdef GL_EXT_blend_minmax - if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_minmax", 12)) - { - ret = GLEW_EXT_blend_minmax; - continue; - } -#endif -#ifdef GL_EXT_blend_subtract - if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_subtract", 14)) - { - ret = GLEW_EXT_blend_subtract; - continue; - } -#endif -#ifdef GL_EXT_clip_volume_hint - if (_glewStrSame3(&pos, &len, (const GLubyte*)"clip_volume_hint", 16)) - { - ret = GLEW_EXT_clip_volume_hint; - continue; - } -#endif -#ifdef GL_EXT_cmyka - if (_glewStrSame3(&pos, &len, (const GLubyte*)"cmyka", 5)) - { - ret = GLEW_EXT_cmyka; - continue; - } -#endif -#ifdef GL_EXT_color_subtable - if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_subtable", 14)) - { - ret = GLEW_EXT_color_subtable; - continue; - } -#endif -#ifdef GL_EXT_compiled_vertex_array - if (_glewStrSame3(&pos, &len, (const GLubyte*)"compiled_vertex_array", 21)) - { - ret = GLEW_EXT_compiled_vertex_array; - continue; - } -#endif -#ifdef GL_EXT_convolution - if (_glewStrSame3(&pos, &len, (const GLubyte*)"convolution", 11)) - { - ret = GLEW_EXT_convolution; - continue; - } -#endif -#ifdef GL_EXT_coordinate_frame - if (_glewStrSame3(&pos, &len, (const GLubyte*)"coordinate_frame", 16)) - { - ret = GLEW_EXT_coordinate_frame; - continue; - } -#endif -#ifdef GL_EXT_copy_texture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_texture", 12)) - { - ret = GLEW_EXT_copy_texture; - continue; - } -#endif -#ifdef GL_EXT_cull_vertex - if (_glewStrSame3(&pos, &len, (const GLubyte*)"cull_vertex", 11)) - { - ret = GLEW_EXT_cull_vertex; - continue; - } -#endif -#ifdef GL_EXT_debug_marker - if (_glewStrSame3(&pos, &len, (const GLubyte*)"debug_marker", 12)) - { - ret = GLEW_EXT_debug_marker; - continue; - } -#endif -#ifdef GL_EXT_depth_bounds_test - if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_bounds_test", 17)) - { - ret = GLEW_EXT_depth_bounds_test; - continue; - } -#endif -#ifdef GL_EXT_direct_state_access - if (_glewStrSame3(&pos, &len, (const GLubyte*)"direct_state_access", 19)) - { - ret = GLEW_EXT_direct_state_access; - continue; - } -#endif -#ifdef GL_EXT_draw_buffers2 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers2", 13)) - { - ret = GLEW_EXT_draw_buffers2; - continue; - } -#endif -#ifdef GL_EXT_draw_instanced - if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_instanced", 14)) - { - ret = GLEW_EXT_draw_instanced; - continue; - } -#endif -#ifdef GL_EXT_draw_range_elements - if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_range_elements", 19)) - { - ret = GLEW_EXT_draw_range_elements; - continue; - } -#endif -#ifdef GL_EXT_fog_coord - if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_coord", 9)) - { - ret = GLEW_EXT_fog_coord; - continue; - } -#endif -#ifdef GL_EXT_fragment_lighting - if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_lighting", 17)) - { - ret = GLEW_EXT_fragment_lighting; - continue; - } -#endif -#ifdef GL_EXT_framebuffer_blit - if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_blit", 16)) - { - ret = GLEW_EXT_framebuffer_blit; - continue; - } -#endif -#ifdef GL_EXT_framebuffer_multisample - if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample", 23)) - { - ret = GLEW_EXT_framebuffer_multisample; - continue; - } -#endif -#ifdef GL_EXT_framebuffer_multisample_blit_scaled - if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample_blit_scaled", 35)) - { - ret = GLEW_EXT_framebuffer_multisample_blit_scaled; - continue; - } -#endif -#ifdef GL_EXT_framebuffer_object - if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_object", 18)) - { - ret = GLEW_EXT_framebuffer_object; - continue; - } -#endif -#ifdef GL_EXT_framebuffer_sRGB - if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16)) - { - ret = GLEW_EXT_framebuffer_sRGB; - continue; - } -#endif -#ifdef GL_EXT_geometry_shader4 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_shader4", 16)) - { - ret = GLEW_EXT_geometry_shader4; - continue; - } -#endif -#ifdef GL_EXT_gpu_program_parameters - if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program_parameters", 22)) - { - ret = GLEW_EXT_gpu_program_parameters; - continue; - } -#endif -#ifdef GL_EXT_gpu_shader4 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader4", 11)) - { - ret = GLEW_EXT_gpu_shader4; - continue; - } -#endif -#ifdef GL_EXT_histogram - if (_glewStrSame3(&pos, &len, (const GLubyte*)"histogram", 9)) - { - ret = GLEW_EXT_histogram; - continue; - } -#endif -#ifdef GL_EXT_index_array_formats - if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_array_formats", 19)) - { - ret = GLEW_EXT_index_array_formats; - continue; - } -#endif -#ifdef GL_EXT_index_func - if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_func", 10)) - { - ret = GLEW_EXT_index_func; - continue; - } -#endif -#ifdef GL_EXT_index_material - if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_material", 14)) - { - ret = GLEW_EXT_index_material; - continue; - } -#endif -#ifdef GL_EXT_index_texture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_texture", 13)) - { - ret = GLEW_EXT_index_texture; - continue; - } -#endif -#ifdef GL_EXT_light_texture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"light_texture", 13)) - { - ret = GLEW_EXT_light_texture; - continue; - } -#endif -#ifdef GL_EXT_misc_attribute - if (_glewStrSame3(&pos, &len, (const GLubyte*)"misc_attribute", 14)) - { - ret = GLEW_EXT_misc_attribute; - continue; - } -#endif -#ifdef GL_EXT_multi_draw_arrays - if (_glewStrSame3(&pos, &len, (const GLubyte*)"multi_draw_arrays", 17)) - { - ret = GLEW_EXT_multi_draw_arrays; - continue; - } -#endif -#ifdef GL_EXT_multisample - if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11)) - { - ret = GLEW_EXT_multisample; - continue; - } -#endif -#ifdef GL_EXT_packed_depth_stencil - if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_depth_stencil", 20)) - { - ret = GLEW_EXT_packed_depth_stencil; - continue; - } -#endif -#ifdef GL_EXT_packed_float - if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_float", 12)) - { - ret = GLEW_EXT_packed_float; - continue; - } -#endif -#ifdef GL_EXT_packed_pixels - if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_pixels", 13)) - { - ret = GLEW_EXT_packed_pixels; - continue; - } -#endif -#ifdef GL_EXT_paletted_texture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"paletted_texture", 16)) - { - ret = GLEW_EXT_paletted_texture; - continue; - } -#endif -#ifdef GL_EXT_pixel_buffer_object - if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_buffer_object", 19)) - { - ret = GLEW_EXT_pixel_buffer_object; - continue; - } -#endif -#ifdef GL_EXT_pixel_transform - if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_transform", 15)) - { - ret = GLEW_EXT_pixel_transform; - continue; - } -#endif -#ifdef GL_EXT_pixel_transform_color_table - if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_transform_color_table", 27)) - { - ret = GLEW_EXT_pixel_transform_color_table; - continue; - } -#endif -#ifdef GL_EXT_point_parameters - if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_parameters", 16)) - { - ret = GLEW_EXT_point_parameters; - continue; - } -#endif -#ifdef GL_EXT_polygon_offset - if (_glewStrSame3(&pos, &len, (const GLubyte*)"polygon_offset", 14)) - { - ret = GLEW_EXT_polygon_offset; - continue; - } -#endif -#ifdef GL_EXT_provoking_vertex - if (_glewStrSame3(&pos, &len, (const GLubyte*)"provoking_vertex", 16)) - { - ret = GLEW_EXT_provoking_vertex; - continue; - } -#endif -#ifdef GL_EXT_rescale_normal - if (_glewStrSame3(&pos, &len, (const GLubyte*)"rescale_normal", 14)) - { - ret = GLEW_EXT_rescale_normal; - continue; - } -#endif -#ifdef GL_EXT_scene_marker - if (_glewStrSame3(&pos, &len, (const GLubyte*)"scene_marker", 12)) - { - ret = GLEW_EXT_scene_marker; - continue; - } -#endif -#ifdef GL_EXT_secondary_color - if (_glewStrSame3(&pos, &len, (const GLubyte*)"secondary_color", 15)) - { - ret = GLEW_EXT_secondary_color; - continue; - } -#endif -#ifdef GL_EXT_separate_shader_objects - if (_glewStrSame3(&pos, &len, (const GLubyte*)"separate_shader_objects", 23)) - { - ret = GLEW_EXT_separate_shader_objects; - continue; - } -#endif -#ifdef GL_EXT_separate_specular_color - if (_glewStrSame3(&pos, &len, (const GLubyte*)"separate_specular_color", 23)) - { - ret = GLEW_EXT_separate_specular_color; - continue; - } -#endif -#ifdef GL_EXT_shader_image_load_store - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_image_load_store", 23)) - { - ret = GLEW_EXT_shader_image_load_store; - continue; - } -#endif -#ifdef GL_EXT_shadow_funcs - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_funcs", 12)) - { - ret = GLEW_EXT_shadow_funcs; - continue; - } -#endif -#ifdef GL_EXT_shared_texture_palette - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shared_texture_palette", 22)) - { - ret = GLEW_EXT_shared_texture_palette; - continue; - } -#endif -#ifdef GL_EXT_stencil_clear_tag - if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_clear_tag", 17)) - { - ret = GLEW_EXT_stencil_clear_tag; - continue; - } -#endif -#ifdef GL_EXT_stencil_two_side - if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_two_side", 16)) - { - ret = GLEW_EXT_stencil_two_side; - continue; - } -#endif -#ifdef GL_EXT_stencil_wrap - if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_wrap", 12)) - { - ret = GLEW_EXT_stencil_wrap; - continue; - } -#endif -#ifdef GL_EXT_subtexture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"subtexture", 10)) - { - ret = GLEW_EXT_subtexture; - continue; - } -#endif -#ifdef GL_EXT_texture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture", 7)) - { - ret = GLEW_EXT_texture; - continue; - } -#endif -#ifdef GL_EXT_texture3D - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture3D", 9)) - { - ret = GLEW_EXT_texture3D; - continue; - } -#endif -#ifdef GL_EXT_texture_array - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_array", 13)) - { - ret = GLEW_EXT_texture_array; - continue; - } -#endif -#ifdef GL_EXT_texture_buffer_object - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_buffer_object", 21)) - { - ret = GLEW_EXT_texture_buffer_object; - continue; - } -#endif -#ifdef GL_EXT_texture_compression_dxt1 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_dxt1", 24)) - { - ret = GLEW_EXT_texture_compression_dxt1; - continue; - } -#endif -#ifdef GL_EXT_texture_compression_latc - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_latc", 24)) - { - ret = GLEW_EXT_texture_compression_latc; - continue; - } -#endif -#ifdef GL_EXT_texture_compression_rgtc - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_rgtc", 24)) - { - ret = GLEW_EXT_texture_compression_rgtc; - continue; - } -#endif -#ifdef GL_EXT_texture_compression_s3tc - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_s3tc", 24)) - { - ret = GLEW_EXT_texture_compression_s3tc; - continue; - } -#endif -#ifdef GL_EXT_texture_cube_map - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_cube_map", 16)) - { - ret = GLEW_EXT_texture_cube_map; - continue; - } -#endif -#ifdef GL_EXT_texture_edge_clamp - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_edge_clamp", 18)) - { - ret = GLEW_EXT_texture_edge_clamp; - continue; - } -#endif -#ifdef GL_EXT_texture_env - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env", 11)) - { - ret = GLEW_EXT_texture_env; - continue; - } -#endif -#ifdef GL_EXT_texture_env_add - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_add", 15)) - { - ret = GLEW_EXT_texture_env_add; - continue; - } -#endif -#ifdef GL_EXT_texture_env_combine - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine", 19)) - { - ret = GLEW_EXT_texture_env_combine; - continue; - } -#endif -#ifdef GL_EXT_texture_env_dot3 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_dot3", 16)) - { - ret = GLEW_EXT_texture_env_dot3; - continue; - } -#endif -#ifdef GL_EXT_texture_filter_anisotropic - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_filter_anisotropic", 26)) - { - ret = GLEW_EXT_texture_filter_anisotropic; - continue; - } -#endif -#ifdef GL_EXT_texture_integer - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_integer", 15)) - { - ret = GLEW_EXT_texture_integer; - continue; - } -#endif -#ifdef GL_EXT_texture_lod_bias - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lod_bias", 16)) - { - ret = GLEW_EXT_texture_lod_bias; - continue; - } -#endif -#ifdef GL_EXT_texture_mirror_clamp - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirror_clamp", 20)) - { - ret = GLEW_EXT_texture_mirror_clamp; - continue; - } -#endif -#ifdef GL_EXT_texture_object - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_object", 14)) - { - ret = GLEW_EXT_texture_object; - continue; - } -#endif -#ifdef GL_EXT_texture_perturb_normal - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_perturb_normal", 22)) - { - ret = GLEW_EXT_texture_perturb_normal; - continue; - } -#endif -#ifdef GL_EXT_texture_rectangle - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rectangle", 17)) - { - ret = GLEW_EXT_texture_rectangle; - continue; - } -#endif -#ifdef GL_EXT_texture_sRGB - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_sRGB", 12)) - { - ret = GLEW_EXT_texture_sRGB; - continue; - } -#endif -#ifdef GL_EXT_texture_sRGB_decode - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_sRGB_decode", 19)) - { - ret = GLEW_EXT_texture_sRGB_decode; - continue; - } -#endif -#ifdef GL_EXT_texture_shared_exponent - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_shared_exponent", 23)) - { - ret = GLEW_EXT_texture_shared_exponent; - continue; - } -#endif -#ifdef GL_EXT_texture_snorm - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_snorm", 13)) - { - ret = GLEW_EXT_texture_snorm; - continue; - } -#endif -#ifdef GL_EXT_texture_swizzle - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_swizzle", 15)) - { - ret = GLEW_EXT_texture_swizzle; - continue; - } -#endif -#ifdef GL_EXT_timer_query - if (_glewStrSame3(&pos, &len, (const GLubyte*)"timer_query", 11)) - { - ret = GLEW_EXT_timer_query; - continue; - } -#endif -#ifdef GL_EXT_transform_feedback - if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback", 18)) - { - ret = GLEW_EXT_transform_feedback; - continue; - } -#endif -#ifdef GL_EXT_vertex_array - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array", 12)) - { - ret = GLEW_EXT_vertex_array; - continue; - } -#endif -#ifdef GL_EXT_vertex_array_bgra - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_bgra", 17)) - { - ret = GLEW_EXT_vertex_array_bgra; - continue; - } -#endif -#ifdef GL_EXT_vertex_attrib_64bit - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_64bit", 19)) - { - ret = GLEW_EXT_vertex_attrib_64bit; - continue; - } -#endif -#ifdef GL_EXT_vertex_shader - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader", 13)) - { - ret = GLEW_EXT_vertex_shader; - continue; - } -#endif -#ifdef GL_EXT_vertex_weighting - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_weighting", 16)) - { - ret = GLEW_EXT_vertex_weighting; - continue; - } -#endif -#ifdef GL_EXT_x11_sync_object - if (_glewStrSame3(&pos, &len, (const GLubyte*)"x11_sync_object", 15)) - { - ret = GLEW_EXT_x11_sync_object; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"GREMEDY_", 8)) - { -#ifdef GL_GREMEDY_frame_terminator - if (_glewStrSame3(&pos, &len, (const GLubyte*)"frame_terminator", 16)) - { - ret = GLEW_GREMEDY_frame_terminator; - continue; - } -#endif -#ifdef GL_GREMEDY_string_marker - if (_glewStrSame3(&pos, &len, (const GLubyte*)"string_marker", 13)) - { - ret = GLEW_GREMEDY_string_marker; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"HP_", 3)) - { -#ifdef GL_HP_convolution_border_modes - if (_glewStrSame3(&pos, &len, (const GLubyte*)"convolution_border_modes", 24)) - { - ret = GLEW_HP_convolution_border_modes; - continue; - } -#endif -#ifdef GL_HP_image_transform - if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_transform", 15)) - { - ret = GLEW_HP_image_transform; - continue; - } -#endif -#ifdef GL_HP_occlusion_test - if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_test", 14)) - { - ret = GLEW_HP_occlusion_test; - continue; - } -#endif -#ifdef GL_HP_texture_lighting - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lighting", 16)) - { - ret = GLEW_HP_texture_lighting; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"IBM_", 4)) - { -#ifdef GL_IBM_cull_vertex - if (_glewStrSame3(&pos, &len, (const GLubyte*)"cull_vertex", 11)) - { - ret = GLEW_IBM_cull_vertex; - continue; - } -#endif -#ifdef GL_IBM_multimode_draw_arrays - if (_glewStrSame3(&pos, &len, (const GLubyte*)"multimode_draw_arrays", 21)) - { - ret = GLEW_IBM_multimode_draw_arrays; - continue; - } -#endif -#ifdef GL_IBM_rasterpos_clip - if (_glewStrSame3(&pos, &len, (const GLubyte*)"rasterpos_clip", 14)) - { - ret = GLEW_IBM_rasterpos_clip; - continue; - } -#endif -#ifdef GL_IBM_static_data - if (_glewStrSame3(&pos, &len, (const GLubyte*)"static_data", 11)) - { - ret = GLEW_IBM_static_data; - continue; - } -#endif -#ifdef GL_IBM_texture_mirrored_repeat - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirrored_repeat", 23)) - { - ret = GLEW_IBM_texture_mirrored_repeat; - continue; - } -#endif -#ifdef GL_IBM_vertex_array_lists - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_lists", 18)) - { - ret = GLEW_IBM_vertex_array_lists; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"INGR_", 5)) - { -#ifdef GL_INGR_color_clamp - if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_clamp", 11)) - { - ret = GLEW_INGR_color_clamp; - continue; - } -#endif -#ifdef GL_INGR_interlace_read - if (_glewStrSame3(&pos, &len, (const GLubyte*)"interlace_read", 14)) - { - ret = GLEW_INGR_interlace_read; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"INTEL_", 6)) - { -#ifdef GL_INTEL_parallel_arrays - if (_glewStrSame3(&pos, &len, (const GLubyte*)"parallel_arrays", 15)) - { - ret = GLEW_INTEL_parallel_arrays; - continue; - } -#endif -#ifdef GL_INTEL_texture_scissor - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_scissor", 15)) - { - ret = GLEW_INTEL_texture_scissor; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"KHR_", 4)) - { -#ifdef GL_KHR_debug - if (_glewStrSame3(&pos, &len, (const GLubyte*)"debug", 5)) - { - ret = GLEW_KHR_debug; - continue; - } -#endif -#ifdef GL_KHR_texture_compression_astc_ldr - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_astc_ldr", 28)) - { - ret = GLEW_KHR_texture_compression_astc_ldr; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"KTX_", 4)) - { -#ifdef GL_KTX_buffer_region - if (_glewStrSame3(&pos, &len, (const GLubyte*)"buffer_region", 13)) - { - ret = GLEW_KTX_buffer_region; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"MESAX_", 6)) - { -#ifdef GL_MESAX_texture_stack - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_stack", 13)) - { - ret = GLEW_MESAX_texture_stack; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"MESA_", 5)) - { -#ifdef GL_MESA_pack_invert - if (_glewStrSame3(&pos, &len, (const GLubyte*)"pack_invert", 11)) - { - ret = GLEW_MESA_pack_invert; - continue; - } -#endif -#ifdef GL_MESA_resize_buffers - if (_glewStrSame3(&pos, &len, (const GLubyte*)"resize_buffers", 14)) - { - ret = GLEW_MESA_resize_buffers; - continue; - } -#endif -#ifdef GL_MESA_window_pos - if (_glewStrSame3(&pos, &len, (const GLubyte*)"window_pos", 10)) - { - ret = GLEW_MESA_window_pos; - continue; - } -#endif -#ifdef GL_MESA_ycbcr_texture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"ycbcr_texture", 13)) - { - ret = GLEW_MESA_ycbcr_texture; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"NVX_", 4)) - { -#ifdef GL_NVX_gpu_memory_info - if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_memory_info", 15)) - { - ret = GLEW_NVX_gpu_memory_info; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"NV_", 3)) - { -#ifdef GL_NV_bindless_texture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"bindless_texture", 16)) - { - ret = GLEW_NV_bindless_texture; - continue; - } -#endif -#ifdef GL_NV_blend_square - if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_square", 12)) - { - ret = GLEW_NV_blend_square; - continue; - } -#endif -#ifdef GL_NV_conditional_render - if (_glewStrSame3(&pos, &len, (const GLubyte*)"conditional_render", 18)) - { - ret = GLEW_NV_conditional_render; - continue; - } -#endif -#ifdef GL_NV_copy_depth_to_color - if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_depth_to_color", 19)) - { - ret = GLEW_NV_copy_depth_to_color; - continue; - } -#endif -#ifdef GL_NV_copy_image - if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_image", 10)) - { - ret = GLEW_NV_copy_image; - continue; - } -#endif -#ifdef GL_NV_depth_buffer_float - if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_buffer_float", 18)) - { - ret = GLEW_NV_depth_buffer_float; - continue; - } -#endif -#ifdef GL_NV_depth_clamp - if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_clamp", 11)) - { - ret = GLEW_NV_depth_clamp; - continue; - } -#endif -#ifdef GL_NV_depth_range_unclamped - if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_range_unclamped", 21)) - { - ret = GLEW_NV_depth_range_unclamped; - continue; - } -#endif -#ifdef GL_NV_evaluators - if (_glewStrSame3(&pos, &len, (const GLubyte*)"evaluators", 10)) - { - ret = GLEW_NV_evaluators; - continue; - } -#endif -#ifdef GL_NV_explicit_multisample - if (_glewStrSame3(&pos, &len, (const GLubyte*)"explicit_multisample", 20)) - { - ret = GLEW_NV_explicit_multisample; - continue; - } -#endif -#ifdef GL_NV_fence - if (_glewStrSame3(&pos, &len, (const GLubyte*)"fence", 5)) - { - ret = GLEW_NV_fence; - continue; - } -#endif -#ifdef GL_NV_float_buffer - if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_buffer", 12)) - { - ret = GLEW_NV_float_buffer; - continue; - } -#endif -#ifdef GL_NV_fog_distance - if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_distance", 12)) - { - ret = GLEW_NV_fog_distance; - continue; - } -#endif -#ifdef GL_NV_fragment_program - if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program", 16)) - { - ret = GLEW_NV_fragment_program; - continue; - } -#endif -#ifdef GL_NV_fragment_program2 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program2", 17)) - { - ret = GLEW_NV_fragment_program2; - continue; - } -#endif -#ifdef GL_NV_fragment_program4 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program4", 17)) - { - ret = GLEW_NV_fragment_program4; - continue; - } -#endif -#ifdef GL_NV_fragment_program_option - if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program_option", 23)) - { - ret = GLEW_NV_fragment_program_option; - continue; - } -#endif -#ifdef GL_NV_framebuffer_multisample_coverage - if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample_coverage", 32)) - { - ret = GLEW_NV_framebuffer_multisample_coverage; - continue; - } -#endif -#ifdef GL_NV_geometry_program4 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_program4", 17)) - { - ret = GLEW_NV_geometry_program4; - continue; - } -#endif -#ifdef GL_NV_geometry_shader4 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_shader4", 16)) - { - ret = GLEW_NV_geometry_shader4; - continue; - } -#endif -#ifdef GL_NV_gpu_program4 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program4", 12)) - { - ret = GLEW_NV_gpu_program4; - continue; - } -#endif -#ifdef GL_NV_gpu_program5 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program5", 12)) - { - ret = GLEW_NV_gpu_program5; - continue; - } -#endif -#ifdef GL_NV_gpu_program_fp64 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program_fp64", 16)) - { - ret = GLEW_NV_gpu_program_fp64; - continue; - } -#endif -#ifdef GL_NV_gpu_shader5 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader5", 11)) - { - ret = GLEW_NV_gpu_shader5; - continue; - } -#endif -#ifdef GL_NV_half_float - if (_glewStrSame3(&pos, &len, (const GLubyte*)"half_float", 10)) - { - ret = GLEW_NV_half_float; - continue; - } -#endif -#ifdef GL_NV_light_max_exponent - if (_glewStrSame3(&pos, &len, (const GLubyte*)"light_max_exponent", 18)) - { - ret = GLEW_NV_light_max_exponent; - continue; - } -#endif -#ifdef GL_NV_multisample_coverage - if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample_coverage", 20)) - { - ret = GLEW_NV_multisample_coverage; - continue; - } -#endif -#ifdef GL_NV_multisample_filter_hint - if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample_filter_hint", 23)) - { - ret = GLEW_NV_multisample_filter_hint; - continue; - } -#endif -#ifdef GL_NV_occlusion_query - if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_query", 15)) - { - ret = GLEW_NV_occlusion_query; - continue; - } -#endif -#ifdef GL_NV_packed_depth_stencil - if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_depth_stencil", 20)) - { - ret = GLEW_NV_packed_depth_stencil; - continue; - } -#endif -#ifdef GL_NV_parameter_buffer_object - if (_glewStrSame3(&pos, &len, (const GLubyte*)"parameter_buffer_object", 23)) - { - ret = GLEW_NV_parameter_buffer_object; - continue; - } -#endif -#ifdef GL_NV_parameter_buffer_object2 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"parameter_buffer_object2", 24)) - { - ret = GLEW_NV_parameter_buffer_object2; - continue; - } -#endif -#ifdef GL_NV_path_rendering - if (_glewStrSame3(&pos, &len, (const GLubyte*)"path_rendering", 14)) - { - ret = GLEW_NV_path_rendering; - continue; - } -#endif -#ifdef GL_NV_pixel_data_range - if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_data_range", 16)) - { - ret = GLEW_NV_pixel_data_range; - continue; - } -#endif -#ifdef GL_NV_point_sprite - if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_sprite", 12)) - { - ret = GLEW_NV_point_sprite; - continue; - } -#endif -#ifdef GL_NV_present_video - if (_glewStrSame3(&pos, &len, (const GLubyte*)"present_video", 13)) - { - ret = GLEW_NV_present_video; - continue; - } -#endif -#ifdef GL_NV_primitive_restart - if (_glewStrSame3(&pos, &len, (const GLubyte*)"primitive_restart", 17)) - { - ret = GLEW_NV_primitive_restart; - continue; - } -#endif -#ifdef GL_NV_register_combiners - if (_glewStrSame3(&pos, &len, (const GLubyte*)"register_combiners", 18)) - { - ret = GLEW_NV_register_combiners; - continue; - } -#endif -#ifdef GL_NV_register_combiners2 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"register_combiners2", 19)) - { - ret = GLEW_NV_register_combiners2; - continue; - } -#endif -#ifdef GL_NV_shader_atomic_float - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_atomic_float", 19)) - { - ret = GLEW_NV_shader_atomic_float; - continue; - } -#endif -#ifdef GL_NV_shader_buffer_load - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_buffer_load", 18)) - { - ret = GLEW_NV_shader_buffer_load; - continue; - } -#endif -#ifdef GL_NV_tessellation_program5 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"tessellation_program5", 21)) - { - ret = GLEW_NV_tessellation_program5; - continue; - } -#endif -#ifdef GL_NV_texgen_emboss - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texgen_emboss", 13)) - { - ret = GLEW_NV_texgen_emboss; - continue; - } -#endif -#ifdef GL_NV_texgen_reflection - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texgen_reflection", 17)) - { - ret = GLEW_NV_texgen_reflection; - continue; - } -#endif -#ifdef GL_NV_texture_barrier - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_barrier", 15)) - { - ret = GLEW_NV_texture_barrier; - continue; - } -#endif -#ifdef GL_NV_texture_compression_vtc - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_vtc", 23)) - { - ret = GLEW_NV_texture_compression_vtc; - continue; - } -#endif -#ifdef GL_NV_texture_env_combine4 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine4", 20)) - { - ret = GLEW_NV_texture_env_combine4; - continue; - } -#endif -#ifdef GL_NV_texture_expand_normal - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_expand_normal", 21)) - { - ret = GLEW_NV_texture_expand_normal; - continue; - } -#endif -#ifdef GL_NV_texture_multisample - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_multisample", 19)) - { - ret = GLEW_NV_texture_multisample; - continue; - } -#endif -#ifdef GL_NV_texture_rectangle - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rectangle", 17)) - { - ret = GLEW_NV_texture_rectangle; - continue; - } -#endif -#ifdef GL_NV_texture_shader - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_shader", 14)) - { - ret = GLEW_NV_texture_shader; - continue; - } -#endif -#ifdef GL_NV_texture_shader2 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_shader2", 15)) - { - ret = GLEW_NV_texture_shader2; - continue; - } -#endif -#ifdef GL_NV_texture_shader3 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_shader3", 15)) - { - ret = GLEW_NV_texture_shader3; - continue; - } -#endif -#ifdef GL_NV_transform_feedback - if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback", 18)) - { - ret = GLEW_NV_transform_feedback; - continue; - } -#endif -#ifdef GL_NV_transform_feedback2 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback2", 19)) - { - ret = GLEW_NV_transform_feedback2; - continue; - } -#endif -#ifdef GL_NV_vdpau_interop - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vdpau_interop", 13)) - { - ret = GLEW_NV_vdpau_interop; - continue; - } -#endif -#ifdef GL_NV_vertex_array_range - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18)) - { - ret = GLEW_NV_vertex_array_range; - continue; - } -#endif -#ifdef GL_NV_vertex_array_range2 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range2", 19)) - { - ret = GLEW_NV_vertex_array_range2; - continue; - } -#endif -#ifdef GL_NV_vertex_attrib_integer_64bit - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_integer_64bit", 27)) - { - ret = GLEW_NV_vertex_attrib_integer_64bit; - continue; - } -#endif -#ifdef GL_NV_vertex_buffer_unified_memory - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_buffer_unified_memory", 28)) - { - ret = GLEW_NV_vertex_buffer_unified_memory; - continue; - } -#endif -#ifdef GL_NV_vertex_program - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program", 14)) - { - ret = GLEW_NV_vertex_program; - continue; - } -#endif -#ifdef GL_NV_vertex_program1_1 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program1_1", 17)) - { - ret = GLEW_NV_vertex_program1_1; - continue; - } -#endif -#ifdef GL_NV_vertex_program2 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program2", 15)) - { - ret = GLEW_NV_vertex_program2; - continue; - } -#endif -#ifdef GL_NV_vertex_program2_option - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program2_option", 22)) - { - ret = GLEW_NV_vertex_program2_option; - continue; - } -#endif -#ifdef GL_NV_vertex_program3 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program3", 15)) - { - ret = GLEW_NV_vertex_program3; - continue; - } -#endif -#ifdef GL_NV_vertex_program4 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program4", 15)) - { - ret = GLEW_NV_vertex_program4; - continue; - } -#endif -#ifdef GL_NV_video_capture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_capture", 13)) - { - ret = GLEW_NV_video_capture; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"OES_", 4)) - { -#ifdef GL_OES_byte_coordinates - if (_glewStrSame3(&pos, &len, (const GLubyte*)"byte_coordinates", 16)) - { - ret = GLEW_OES_byte_coordinates; - continue; - } -#endif -#ifdef GL_OES_compressed_paletted_texture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"compressed_paletted_texture", 27)) - { - ret = GLEW_OES_compressed_paletted_texture; - continue; - } -#endif -#ifdef GL_OES_read_format - if (_glewStrSame3(&pos, &len, (const GLubyte*)"read_format", 11)) - { - ret = GLEW_OES_read_format; - continue; - } -#endif -#ifdef GL_OES_single_precision - if (_glewStrSame3(&pos, &len, (const GLubyte*)"single_precision", 16)) - { - ret = GLEW_OES_single_precision; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"OML_", 4)) - { -#ifdef GL_OML_interlace - if (_glewStrSame3(&pos, &len, (const GLubyte*)"interlace", 9)) - { - ret = GLEW_OML_interlace; - continue; - } -#endif -#ifdef GL_OML_resample - if (_glewStrSame3(&pos, &len, (const GLubyte*)"resample", 8)) - { - ret = GLEW_OML_resample; - continue; - } -#endif -#ifdef GL_OML_subsample - if (_glewStrSame3(&pos, &len, (const GLubyte*)"subsample", 9)) - { - ret = GLEW_OML_subsample; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"PGI_", 4)) - { -#ifdef GL_PGI_misc_hints - if (_glewStrSame3(&pos, &len, (const GLubyte*)"misc_hints", 10)) - { - ret = GLEW_PGI_misc_hints; - continue; - } -#endif -#ifdef GL_PGI_vertex_hints - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_hints", 12)) - { - ret = GLEW_PGI_vertex_hints; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"REGAL_", 6)) - { -#ifdef GL_REGAL_error_string - if (_glewStrSame3(&pos, &len, (const GLubyte*)"error_string", 12)) - { - ret = GLEW_REGAL_error_string; - continue; - } -#endif -#ifdef GL_REGAL_extension_query - if (_glewStrSame3(&pos, &len, (const GLubyte*)"extension_query", 15)) - { - ret = GLEW_REGAL_extension_query; - continue; - } -#endif -#ifdef GL_REGAL_log - if (_glewStrSame3(&pos, &len, (const GLubyte*)"log", 3)) - { - ret = GLEW_REGAL_log; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"REND_", 5)) - { -#ifdef GL_REND_screen_coordinates - if (_glewStrSame3(&pos, &len, (const GLubyte*)"screen_coordinates", 18)) - { - ret = GLEW_REND_screen_coordinates; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"S3_", 3)) - { -#ifdef GL_S3_s3tc - if (_glewStrSame3(&pos, &len, (const GLubyte*)"s3tc", 4)) - { - ret = GLEW_S3_s3tc; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIS_", 5)) - { -#ifdef GL_SGIS_color_range - if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_range", 11)) - { - ret = GLEW_SGIS_color_range; - continue; - } -#endif -#ifdef GL_SGIS_detail_texture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"detail_texture", 14)) - { - ret = GLEW_SGIS_detail_texture; - continue; - } -#endif -#ifdef GL_SGIS_fog_function - if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_function", 12)) - { - ret = GLEW_SGIS_fog_function; - continue; - } -#endif -#ifdef GL_SGIS_generate_mipmap - if (_glewStrSame3(&pos, &len, (const GLubyte*)"generate_mipmap", 15)) - { - ret = GLEW_SGIS_generate_mipmap; - continue; - } -#endif -#ifdef GL_SGIS_multisample - if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11)) - { - ret = GLEW_SGIS_multisample; - continue; - } -#endif -#ifdef GL_SGIS_pixel_texture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_texture", 13)) - { - ret = GLEW_SGIS_pixel_texture; - continue; - } -#endif -#ifdef GL_SGIS_point_line_texgen - if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_line_texgen", 17)) - { - ret = GLEW_SGIS_point_line_texgen; - continue; - } -#endif -#ifdef GL_SGIS_sharpen_texture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"sharpen_texture", 15)) - { - ret = GLEW_SGIS_sharpen_texture; - continue; - } -#endif -#ifdef GL_SGIS_texture4D - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture4D", 9)) - { - ret = GLEW_SGIS_texture4D; - continue; - } -#endif -#ifdef GL_SGIS_texture_border_clamp - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_border_clamp", 20)) - { - ret = GLEW_SGIS_texture_border_clamp; - continue; - } -#endif -#ifdef GL_SGIS_texture_edge_clamp - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_edge_clamp", 18)) - { - ret = GLEW_SGIS_texture_edge_clamp; - continue; - } -#endif -#ifdef GL_SGIS_texture_filter4 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_filter4", 15)) - { - ret = GLEW_SGIS_texture_filter4; - continue; - } -#endif -#ifdef GL_SGIS_texture_lod - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lod", 11)) - { - ret = GLEW_SGIS_texture_lod; - continue; - } -#endif -#ifdef GL_SGIS_texture_select - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_select", 14)) - { - ret = GLEW_SGIS_texture_select; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIX_", 5)) - { -#ifdef GL_SGIX_async - if (_glewStrSame3(&pos, &len, (const GLubyte*)"async", 5)) - { - ret = GLEW_SGIX_async; - continue; - } -#endif -#ifdef GL_SGIX_async_histogram - if (_glewStrSame3(&pos, &len, (const GLubyte*)"async_histogram", 15)) - { - ret = GLEW_SGIX_async_histogram; - continue; - } -#endif -#ifdef GL_SGIX_async_pixel - if (_glewStrSame3(&pos, &len, (const GLubyte*)"async_pixel", 11)) - { - ret = GLEW_SGIX_async_pixel; - continue; - } -#endif -#ifdef GL_SGIX_blend_alpha_minmax - if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_alpha_minmax", 18)) - { - ret = GLEW_SGIX_blend_alpha_minmax; - continue; - } -#endif -#ifdef GL_SGIX_clipmap - if (_glewStrSame3(&pos, &len, (const GLubyte*)"clipmap", 7)) - { - ret = GLEW_SGIX_clipmap; - continue; - } -#endif -#ifdef GL_SGIX_convolution_accuracy - if (_glewStrSame3(&pos, &len, (const GLubyte*)"convolution_accuracy", 20)) - { - ret = GLEW_SGIX_convolution_accuracy; - continue; - } -#endif -#ifdef GL_SGIX_depth_texture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_texture", 13)) - { - ret = GLEW_SGIX_depth_texture; - continue; - } -#endif -#ifdef GL_SGIX_flush_raster - if (_glewStrSame3(&pos, &len, (const GLubyte*)"flush_raster", 12)) - { - ret = GLEW_SGIX_flush_raster; - continue; - } -#endif -#ifdef GL_SGIX_fog_offset - if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_offset", 10)) - { - ret = GLEW_SGIX_fog_offset; - continue; - } -#endif -#ifdef GL_SGIX_fog_texture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_texture", 11)) - { - ret = GLEW_SGIX_fog_texture; - continue; - } -#endif -#ifdef GL_SGIX_fragment_specular_lighting - if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_specular_lighting", 26)) - { - ret = GLEW_SGIX_fragment_specular_lighting; - continue; - } -#endif -#ifdef GL_SGIX_framezoom - if (_glewStrSame3(&pos, &len, (const GLubyte*)"framezoom", 9)) - { - ret = GLEW_SGIX_framezoom; - continue; - } -#endif -#ifdef GL_SGIX_interlace - if (_glewStrSame3(&pos, &len, (const GLubyte*)"interlace", 9)) - { - ret = GLEW_SGIX_interlace; - continue; - } -#endif -#ifdef GL_SGIX_ir_instrument1 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"ir_instrument1", 14)) - { - ret = GLEW_SGIX_ir_instrument1; - continue; - } -#endif -#ifdef GL_SGIX_list_priority - if (_glewStrSame3(&pos, &len, (const GLubyte*)"list_priority", 13)) - { - ret = GLEW_SGIX_list_priority; - continue; - } -#endif -#ifdef GL_SGIX_pixel_texture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_texture", 13)) - { - ret = GLEW_SGIX_pixel_texture; - continue; - } -#endif -#ifdef GL_SGIX_pixel_texture_bits - if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_texture_bits", 18)) - { - ret = GLEW_SGIX_pixel_texture_bits; - continue; - } -#endif -#ifdef GL_SGIX_reference_plane - if (_glewStrSame3(&pos, &len, (const GLubyte*)"reference_plane", 15)) - { - ret = GLEW_SGIX_reference_plane; - continue; - } -#endif -#ifdef GL_SGIX_resample - if (_glewStrSame3(&pos, &len, (const GLubyte*)"resample", 8)) - { - ret = GLEW_SGIX_resample; - continue; - } -#endif -#ifdef GL_SGIX_shadow - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow", 6)) - { - ret = GLEW_SGIX_shadow; - continue; - } -#endif -#ifdef GL_SGIX_shadow_ambient - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_ambient", 14)) - { - ret = GLEW_SGIX_shadow_ambient; - continue; - } -#endif -#ifdef GL_SGIX_sprite - if (_glewStrSame3(&pos, &len, (const GLubyte*)"sprite", 6)) - { - ret = GLEW_SGIX_sprite; - continue; - } -#endif -#ifdef GL_SGIX_tag_sample_buffer - if (_glewStrSame3(&pos, &len, (const GLubyte*)"tag_sample_buffer", 17)) - { - ret = GLEW_SGIX_tag_sample_buffer; - continue; - } -#endif -#ifdef GL_SGIX_texture_add_env - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_add_env", 15)) - { - ret = GLEW_SGIX_texture_add_env; - continue; - } -#endif -#ifdef GL_SGIX_texture_coordinate_clamp - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_coordinate_clamp", 24)) - { - ret = GLEW_SGIX_texture_coordinate_clamp; - continue; - } -#endif -#ifdef GL_SGIX_texture_lod_bias - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lod_bias", 16)) - { - ret = GLEW_SGIX_texture_lod_bias; - continue; - } -#endif -#ifdef GL_SGIX_texture_multi_buffer - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_multi_buffer", 20)) - { - ret = GLEW_SGIX_texture_multi_buffer; - continue; - } -#endif -#ifdef GL_SGIX_texture_range - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_range", 13)) - { - ret = GLEW_SGIX_texture_range; - continue; - } -#endif -#ifdef GL_SGIX_texture_scale_bias - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_scale_bias", 18)) - { - ret = GLEW_SGIX_texture_scale_bias; - continue; - } -#endif -#ifdef GL_SGIX_vertex_preclip - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_preclip", 14)) - { - ret = GLEW_SGIX_vertex_preclip; - continue; - } -#endif -#ifdef GL_SGIX_vertex_preclip_hint - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_preclip_hint", 19)) - { - ret = GLEW_SGIX_vertex_preclip_hint; - continue; - } -#endif -#ifdef GL_SGIX_ycrcb - if (_glewStrSame3(&pos, &len, (const GLubyte*)"ycrcb", 5)) - { - ret = GLEW_SGIX_ycrcb; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGI_", 4)) - { -#ifdef GL_SGI_color_matrix - if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_matrix", 12)) - { - ret = GLEW_SGI_color_matrix; - continue; - } -#endif -#ifdef GL_SGI_color_table - if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_table", 11)) - { - ret = GLEW_SGI_color_table; - continue; - } -#endif -#ifdef GL_SGI_texture_color_table - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_color_table", 19)) - { - ret = GLEW_SGI_texture_color_table; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"SUNX_", 5)) - { -#ifdef GL_SUNX_constant_data - if (_glewStrSame3(&pos, &len, (const GLubyte*)"constant_data", 13)) - { - ret = GLEW_SUNX_constant_data; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"SUN_", 4)) - { -#ifdef GL_SUN_convolution_border_modes - if (_glewStrSame3(&pos, &len, (const GLubyte*)"convolution_border_modes", 24)) - { - ret = GLEW_SUN_convolution_border_modes; - continue; - } -#endif -#ifdef GL_SUN_global_alpha - if (_glewStrSame3(&pos, &len, (const GLubyte*)"global_alpha", 12)) - { - ret = GLEW_SUN_global_alpha; - continue; - } -#endif -#ifdef GL_SUN_mesh_array - if (_glewStrSame3(&pos, &len, (const GLubyte*)"mesh_array", 10)) - { - ret = GLEW_SUN_mesh_array; - continue; - } -#endif -#ifdef GL_SUN_read_video_pixels - if (_glewStrSame3(&pos, &len, (const GLubyte*)"read_video_pixels", 17)) - { - ret = GLEW_SUN_read_video_pixels; - continue; - } -#endif -#ifdef GL_SUN_slice_accum - if (_glewStrSame3(&pos, &len, (const GLubyte*)"slice_accum", 11)) - { - ret = GLEW_SUN_slice_accum; - continue; - } -#endif -#ifdef GL_SUN_triangle_list - if (_glewStrSame3(&pos, &len, (const GLubyte*)"triangle_list", 13)) - { - ret = GLEW_SUN_triangle_list; - continue; - } -#endif -#ifdef GL_SUN_vertex - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex", 6)) - { - ret = GLEW_SUN_vertex; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"WIN_", 4)) - { -#ifdef GL_WIN_phong_shading - if (_glewStrSame3(&pos, &len, (const GLubyte*)"phong_shading", 13)) - { - ret = GLEW_WIN_phong_shading; - continue; - } -#endif -#ifdef GL_WIN_specular_fog - if (_glewStrSame3(&pos, &len, (const GLubyte*)"specular_fog", 12)) - { - ret = GLEW_WIN_specular_fog; - continue; - } -#endif -#ifdef GL_WIN_swap_hint - if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_hint", 9)) - { - ret = GLEW_WIN_swap_hint; - continue; - } -#endif - } - } - ret = (len == 0); - } - return ret; -} - -#if defined(_WIN32) - -#if defined(GLEW_MX) -GLboolean GLEWAPIENTRY wglewContextIsSupported (const WGLEWContext* ctx, const char* name) -#else -GLboolean GLEWAPIENTRY wglewIsSupported (const char* name) -#endif -{ - GLubyte* pos = (GLubyte*)name; - GLuint len = _glewStrLen(pos); - GLboolean ret = GL_TRUE; - while (ret && len > 0) - { - if (_glewStrSame1(&pos, &len, (const GLubyte*)"WGL_", 4)) - { - if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DFX_", 5)) - { -#ifdef WGL_3DFX_multisample - if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11)) - { - ret = WGLEW_3DFX_multisample; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DL_", 4)) - { -#ifdef WGL_3DL_stereo_control - if (_glewStrSame3(&pos, &len, (const GLubyte*)"stereo_control", 14)) - { - ret = WGLEW_3DL_stereo_control; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"AMD_", 4)) - { -#ifdef WGL_AMD_gpu_association - if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_association", 15)) - { - ret = WGLEW_AMD_gpu_association; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"ARB_", 4)) - { -#ifdef WGL_ARB_buffer_region - if (_glewStrSame3(&pos, &len, (const GLubyte*)"buffer_region", 13)) - { - ret = WGLEW_ARB_buffer_region; - continue; - } -#endif -#ifdef WGL_ARB_create_context - if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context", 14)) - { - ret = WGLEW_ARB_create_context; - continue; - } -#endif -#ifdef WGL_ARB_create_context_profile - if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_profile", 22)) - { - ret = WGLEW_ARB_create_context_profile; - continue; - } -#endif -#ifdef WGL_ARB_create_context_robustness - if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_robustness", 25)) - { - ret = WGLEW_ARB_create_context_robustness; - continue; - } -#endif -#ifdef WGL_ARB_extensions_string - if (_glewStrSame3(&pos, &len, (const GLubyte*)"extensions_string", 17)) - { - ret = WGLEW_ARB_extensions_string; - continue; - } -#endif -#ifdef WGL_ARB_framebuffer_sRGB - if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16)) - { - ret = WGLEW_ARB_framebuffer_sRGB; - continue; - } -#endif -#ifdef WGL_ARB_make_current_read - if (_glewStrSame3(&pos, &len, (const GLubyte*)"make_current_read", 17)) - { - ret = WGLEW_ARB_make_current_read; - continue; - } -#endif -#ifdef WGL_ARB_multisample - if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11)) - { - ret = WGLEW_ARB_multisample; - continue; - } -#endif -#ifdef WGL_ARB_pbuffer - if (_glewStrSame3(&pos, &len, (const GLubyte*)"pbuffer", 7)) - { - ret = WGLEW_ARB_pbuffer; - continue; - } -#endif -#ifdef WGL_ARB_pixel_format - if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format", 12)) - { - ret = WGLEW_ARB_pixel_format; - continue; - } -#endif -#ifdef WGL_ARB_pixel_format_float - if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_float", 18)) - { - ret = WGLEW_ARB_pixel_format_float; - continue; - } -#endif -#ifdef WGL_ARB_render_texture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture", 14)) - { - ret = WGLEW_ARB_render_texture; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATI_", 4)) - { -#ifdef WGL_ATI_pixel_format_float - if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_float", 18)) - { - ret = WGLEW_ATI_pixel_format_float; - continue; - } -#endif -#ifdef WGL_ATI_render_texture_rectangle - if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture_rectangle", 24)) - { - ret = WGLEW_ATI_render_texture_rectangle; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"EXT_", 4)) - { -#ifdef WGL_EXT_create_context_es2_profile - if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_es2_profile", 26)) - { - ret = WGLEW_EXT_create_context_es2_profile; - continue; - } -#endif -#ifdef WGL_EXT_create_context_es_profile - if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_es_profile", 25)) - { - ret = WGLEW_EXT_create_context_es_profile; - continue; - } -#endif -#ifdef WGL_EXT_depth_float - if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_float", 11)) - { - ret = WGLEW_EXT_depth_float; - continue; - } -#endif -#ifdef WGL_EXT_display_color_table - if (_glewStrSame3(&pos, &len, (const GLubyte*)"display_color_table", 19)) - { - ret = WGLEW_EXT_display_color_table; - continue; - } -#endif -#ifdef WGL_EXT_extensions_string - if (_glewStrSame3(&pos, &len, (const GLubyte*)"extensions_string", 17)) - { - ret = WGLEW_EXT_extensions_string; - continue; - } -#endif -#ifdef WGL_EXT_framebuffer_sRGB - if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16)) - { - ret = WGLEW_EXT_framebuffer_sRGB; - continue; - } -#endif -#ifdef WGL_EXT_make_current_read - if (_glewStrSame3(&pos, &len, (const GLubyte*)"make_current_read", 17)) - { - ret = WGLEW_EXT_make_current_read; - continue; - } -#endif -#ifdef WGL_EXT_multisample - if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11)) - { - ret = WGLEW_EXT_multisample; - continue; - } -#endif -#ifdef WGL_EXT_pbuffer - if (_glewStrSame3(&pos, &len, (const GLubyte*)"pbuffer", 7)) - { - ret = WGLEW_EXT_pbuffer; - continue; - } -#endif -#ifdef WGL_EXT_pixel_format - if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format", 12)) - { - ret = WGLEW_EXT_pixel_format; - continue; - } -#endif -#ifdef WGL_EXT_pixel_format_packed_float - if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_packed_float", 25)) - { - ret = WGLEW_EXT_pixel_format_packed_float; - continue; - } -#endif -#ifdef WGL_EXT_swap_control - if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control", 12)) - { - ret = WGLEW_EXT_swap_control; - continue; - } -#endif -#ifdef WGL_EXT_swap_control_tear - if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control_tear", 17)) - { - ret = WGLEW_EXT_swap_control_tear; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"I3D_", 4)) - { -#ifdef WGL_I3D_digital_video_control - if (_glewStrSame3(&pos, &len, (const GLubyte*)"digital_video_control", 21)) - { - ret = WGLEW_I3D_digital_video_control; - continue; - } -#endif -#ifdef WGL_I3D_gamma - if (_glewStrSame3(&pos, &len, (const GLubyte*)"gamma", 5)) - { - ret = WGLEW_I3D_gamma; - continue; - } -#endif -#ifdef WGL_I3D_genlock - if (_glewStrSame3(&pos, &len, (const GLubyte*)"genlock", 7)) - { - ret = WGLEW_I3D_genlock; - continue; - } -#endif -#ifdef WGL_I3D_image_buffer - if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_buffer", 12)) - { - ret = WGLEW_I3D_image_buffer; - continue; - } -#endif -#ifdef WGL_I3D_swap_frame_lock - if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_frame_lock", 15)) - { - ret = WGLEW_I3D_swap_frame_lock; - continue; - } -#endif -#ifdef WGL_I3D_swap_frame_usage - if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_frame_usage", 16)) - { - ret = WGLEW_I3D_swap_frame_usage; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"NV_", 3)) - { -#ifdef WGL_NV_DX_interop - if (_glewStrSame3(&pos, &len, (const GLubyte*)"DX_interop", 10)) - { - ret = WGLEW_NV_DX_interop; - continue; - } -#endif -#ifdef WGL_NV_DX_interop2 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"DX_interop2", 11)) - { - ret = WGLEW_NV_DX_interop2; - continue; - } -#endif -#ifdef WGL_NV_copy_image - if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_image", 10)) - { - ret = WGLEW_NV_copy_image; - continue; - } -#endif -#ifdef WGL_NV_float_buffer - if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_buffer", 12)) - { - ret = WGLEW_NV_float_buffer; - continue; - } -#endif -#ifdef WGL_NV_gpu_affinity - if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_affinity", 12)) - { - ret = WGLEW_NV_gpu_affinity; - continue; - } -#endif -#ifdef WGL_NV_multisample_coverage - if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample_coverage", 20)) - { - ret = WGLEW_NV_multisample_coverage; - continue; - } -#endif -#ifdef WGL_NV_present_video - if (_glewStrSame3(&pos, &len, (const GLubyte*)"present_video", 13)) - { - ret = WGLEW_NV_present_video; - continue; - } -#endif -#ifdef WGL_NV_render_depth_texture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_depth_texture", 20)) - { - ret = WGLEW_NV_render_depth_texture; - continue; - } -#endif -#ifdef WGL_NV_render_texture_rectangle - if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture_rectangle", 24)) - { - ret = WGLEW_NV_render_texture_rectangle; - continue; - } -#endif -#ifdef WGL_NV_swap_group - if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_group", 10)) - { - ret = WGLEW_NV_swap_group; - continue; - } -#endif -#ifdef WGL_NV_vertex_array_range - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18)) - { - ret = WGLEW_NV_vertex_array_range; - continue; - } -#endif -#ifdef WGL_NV_video_capture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_capture", 13)) - { - ret = WGLEW_NV_video_capture; - continue; - } -#endif -#ifdef WGL_NV_video_output - if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_output", 12)) - { - ret = WGLEW_NV_video_output; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"OML_", 4)) - { -#ifdef WGL_OML_sync_control - if (_glewStrSame3(&pos, &len, (const GLubyte*)"sync_control", 12)) - { - ret = WGLEW_OML_sync_control; - continue; - } -#endif - } - } - ret = (len == 0); - } - return ret; -} - -#elif !defined(__ANDROID__) && !defined(__APPLE__) || defined(GLEW_APPLE_GLX) - -#if defined(GLEW_MX) -GLboolean glxewContextIsSupported (const GLXEWContext* ctx, const char* name) -#else -GLboolean glxewIsSupported (const char* name) -#endif -{ - GLubyte* pos = (GLubyte*)name; - GLuint len = _glewStrLen(pos); - GLboolean ret = GL_TRUE; - while (ret && len > 0) - { - if(_glewStrSame1(&pos, &len, (const GLubyte*)"GLX_", 4)) - { - if (_glewStrSame2(&pos, &len, (const GLubyte*)"VERSION_", 8)) - { -#ifdef GLX_VERSION_1_2 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_2", 3)) - { - ret = GLXEW_VERSION_1_2; - continue; - } -#endif -#ifdef GLX_VERSION_1_3 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_3", 3)) - { - ret = GLXEW_VERSION_1_3; - continue; - } -#endif -#ifdef GLX_VERSION_1_4 - if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_4", 3)) - { - ret = GLXEW_VERSION_1_4; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DFX_", 5)) - { -#ifdef GLX_3DFX_multisample - if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11)) - { - ret = GLXEW_3DFX_multisample; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"AMD_", 4)) - { -#ifdef GLX_AMD_gpu_association - if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_association", 15)) - { - ret = GLXEW_AMD_gpu_association; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"ARB_", 4)) - { -#ifdef GLX_ARB_create_context - if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context", 14)) - { - ret = GLXEW_ARB_create_context; - continue; - } -#endif -#ifdef GLX_ARB_create_context_profile - if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_profile", 22)) - { - ret = GLXEW_ARB_create_context_profile; - continue; - } -#endif -#ifdef GLX_ARB_create_context_robustness - if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_robustness", 25)) - { - ret = GLXEW_ARB_create_context_robustness; - continue; - } -#endif -#ifdef GLX_ARB_fbconfig_float - if (_glewStrSame3(&pos, &len, (const GLubyte*)"fbconfig_float", 14)) - { - ret = GLXEW_ARB_fbconfig_float; - continue; - } -#endif -#ifdef GLX_ARB_framebuffer_sRGB - if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16)) - { - ret = GLXEW_ARB_framebuffer_sRGB; - continue; - } -#endif -#ifdef GLX_ARB_get_proc_address - if (_glewStrSame3(&pos, &len, (const GLubyte*)"get_proc_address", 16)) - { - ret = GLXEW_ARB_get_proc_address; - continue; - } -#endif -#ifdef GLX_ARB_multisample - if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11)) - { - ret = GLXEW_ARB_multisample; - continue; - } -#endif -#ifdef GLX_ARB_robustness_application_isolation - if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_application_isolation", 32)) - { - ret = GLXEW_ARB_robustness_application_isolation; - continue; - } -#endif -#ifdef GLX_ARB_robustness_share_group_isolation - if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_share_group_isolation", 32)) - { - ret = GLXEW_ARB_robustness_share_group_isolation; - continue; - } -#endif -#ifdef GLX_ARB_vertex_buffer_object - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_buffer_object", 20)) - { - ret = GLXEW_ARB_vertex_buffer_object; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATI_", 4)) - { -#ifdef GLX_ATI_pixel_format_float - if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_float", 18)) - { - ret = GLXEW_ATI_pixel_format_float; - continue; - } -#endif -#ifdef GLX_ATI_render_texture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture", 14)) - { - ret = GLXEW_ATI_render_texture; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"EXT_", 4)) - { -#ifdef GLX_EXT_create_context_es2_profile - if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_es2_profile", 26)) - { - ret = GLXEW_EXT_create_context_es2_profile; - continue; - } -#endif -#ifdef GLX_EXT_create_context_es_profile - if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_es_profile", 25)) - { - ret = GLXEW_EXT_create_context_es_profile; - continue; - } -#endif -#ifdef GLX_EXT_fbconfig_packed_float - if (_glewStrSame3(&pos, &len, (const GLubyte*)"fbconfig_packed_float", 21)) - { - ret = GLXEW_EXT_fbconfig_packed_float; - continue; - } -#endif -#ifdef GLX_EXT_framebuffer_sRGB - if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16)) - { - ret = GLXEW_EXT_framebuffer_sRGB; - continue; - } -#endif -#ifdef GLX_EXT_import_context - if (_glewStrSame3(&pos, &len, (const GLubyte*)"import_context", 14)) - { - ret = GLXEW_EXT_import_context; - continue; - } -#endif -#ifdef GLX_EXT_scene_marker - if (_glewStrSame3(&pos, &len, (const GLubyte*)"scene_marker", 12)) - { - ret = GLXEW_EXT_scene_marker; - continue; - } -#endif -#ifdef GLX_EXT_swap_control - if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control", 12)) - { - ret = GLXEW_EXT_swap_control; - continue; - } -#endif -#ifdef GLX_EXT_swap_control_tear - if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control_tear", 17)) - { - ret = GLXEW_EXT_swap_control_tear; - continue; - } -#endif -#ifdef GLX_EXT_texture_from_pixmap - if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_from_pixmap", 19)) - { - ret = GLXEW_EXT_texture_from_pixmap; - continue; - } -#endif -#ifdef GLX_EXT_visual_info - if (_glewStrSame3(&pos, &len, (const GLubyte*)"visual_info", 11)) - { - ret = GLXEW_EXT_visual_info; - continue; - } -#endif -#ifdef GLX_EXT_visual_rating - if (_glewStrSame3(&pos, &len, (const GLubyte*)"visual_rating", 13)) - { - ret = GLXEW_EXT_visual_rating; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"INTEL_", 6)) - { -#ifdef GLX_INTEL_swap_event - if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_event", 10)) - { - ret = GLXEW_INTEL_swap_event; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"MESA_", 5)) - { -#ifdef GLX_MESA_agp_offset - if (_glewStrSame3(&pos, &len, (const GLubyte*)"agp_offset", 10)) - { - ret = GLXEW_MESA_agp_offset; - continue; - } -#endif -#ifdef GLX_MESA_copy_sub_buffer - if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_sub_buffer", 15)) - { - ret = GLXEW_MESA_copy_sub_buffer; - continue; - } -#endif -#ifdef GLX_MESA_pixmap_colormap - if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixmap_colormap", 15)) - { - ret = GLXEW_MESA_pixmap_colormap; - continue; - } -#endif -#ifdef GLX_MESA_release_buffers - if (_glewStrSame3(&pos, &len, (const GLubyte*)"release_buffers", 15)) - { - ret = GLXEW_MESA_release_buffers; - continue; - } -#endif -#ifdef GLX_MESA_set_3dfx_mode - if (_glewStrSame3(&pos, &len, (const GLubyte*)"set_3dfx_mode", 13)) - { - ret = GLXEW_MESA_set_3dfx_mode; - continue; - } -#endif -#ifdef GLX_MESA_swap_control - if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control", 12)) - { - ret = GLXEW_MESA_swap_control; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"NV_", 3)) - { -#ifdef GLX_NV_copy_image - if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_image", 10)) - { - ret = GLXEW_NV_copy_image; - continue; - } -#endif -#ifdef GLX_NV_float_buffer - if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_buffer", 12)) - { - ret = GLXEW_NV_float_buffer; - continue; - } -#endif -#ifdef GLX_NV_multisample_coverage - if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample_coverage", 20)) - { - ret = GLXEW_NV_multisample_coverage; - continue; - } -#endif -#ifdef GLX_NV_present_video - if (_glewStrSame3(&pos, &len, (const GLubyte*)"present_video", 13)) - { - ret = GLXEW_NV_present_video; - continue; - } -#endif -#ifdef GLX_NV_swap_group - if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_group", 10)) - { - ret = GLXEW_NV_swap_group; - continue; - } -#endif -#ifdef GLX_NV_vertex_array_range - if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18)) - { - ret = GLXEW_NV_vertex_array_range; - continue; - } -#endif -#ifdef GLX_NV_video_capture - if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_capture", 13)) - { - ret = GLXEW_NV_video_capture; - continue; - } -#endif -#ifdef GLX_NV_video_out - if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_out", 9)) - { - ret = GLXEW_NV_video_out; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"OML_", 4)) - { -#ifdef GLX_OML_swap_method - if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_method", 11)) - { - ret = GLXEW_OML_swap_method; - continue; - } -#endif -#ifdef GLX_OML_sync_control - if (_glewStrSame3(&pos, &len, (const GLubyte*)"sync_control", 12)) - { - ret = GLXEW_OML_sync_control; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIS_", 5)) - { -#ifdef GLX_SGIS_blended_overlay - if (_glewStrSame3(&pos, &len, (const GLubyte*)"blended_overlay", 15)) - { - ret = GLXEW_SGIS_blended_overlay; - continue; - } -#endif -#ifdef GLX_SGIS_color_range - if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_range", 11)) - { - ret = GLXEW_SGIS_color_range; - continue; - } -#endif -#ifdef GLX_SGIS_multisample - if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11)) - { - ret = GLXEW_SGIS_multisample; - continue; - } -#endif -#ifdef GLX_SGIS_shared_multisample - if (_glewStrSame3(&pos, &len, (const GLubyte*)"shared_multisample", 18)) - { - ret = GLXEW_SGIS_shared_multisample; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIX_", 5)) - { -#ifdef GLX_SGIX_fbconfig - if (_glewStrSame3(&pos, &len, (const GLubyte*)"fbconfig", 8)) - { - ret = GLXEW_SGIX_fbconfig; - continue; - } -#endif -#ifdef GLX_SGIX_hyperpipe - if (_glewStrSame3(&pos, &len, (const GLubyte*)"hyperpipe", 9)) - { - ret = GLXEW_SGIX_hyperpipe; - continue; - } -#endif -#ifdef GLX_SGIX_pbuffer - if (_glewStrSame3(&pos, &len, (const GLubyte*)"pbuffer", 7)) - { - ret = GLXEW_SGIX_pbuffer; - continue; - } -#endif -#ifdef GLX_SGIX_swap_barrier - if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_barrier", 12)) - { - ret = GLXEW_SGIX_swap_barrier; - continue; - } -#endif -#ifdef GLX_SGIX_swap_group - if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_group", 10)) - { - ret = GLXEW_SGIX_swap_group; - continue; - } -#endif -#ifdef GLX_SGIX_video_resize - if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_resize", 12)) - { - ret = GLXEW_SGIX_video_resize; - continue; - } -#endif -#ifdef GLX_SGIX_visual_select_group - if (_glewStrSame3(&pos, &len, (const GLubyte*)"visual_select_group", 19)) - { - ret = GLXEW_SGIX_visual_select_group; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGI_", 4)) - { -#ifdef GLX_SGI_cushion - if (_glewStrSame3(&pos, &len, (const GLubyte*)"cushion", 7)) - { - ret = GLXEW_SGI_cushion; - continue; - } -#endif -#ifdef GLX_SGI_make_current_read - if (_glewStrSame3(&pos, &len, (const GLubyte*)"make_current_read", 17)) - { - ret = GLXEW_SGI_make_current_read; - continue; - } -#endif -#ifdef GLX_SGI_swap_control - if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control", 12)) - { - ret = GLXEW_SGI_swap_control; - continue; - } -#endif -#ifdef GLX_SGI_video_sync - if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_sync", 10)) - { - ret = GLXEW_SGI_video_sync; - continue; - } -#endif - } - if (_glewStrSame2(&pos, &len, (const GLubyte*)"SUN_", 4)) - { -#ifdef GLX_SUN_get_transparent_index - if (_glewStrSame3(&pos, &len, (const GLubyte*)"get_transparent_index", 21)) - { - ret = GLXEW_SUN_get_transparent_index; - continue; - } -#endif -#ifdef GLX_SUN_video_resize - if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_resize", 12)) - { - ret = GLXEW_SUN_video_resize; - continue; - } -#endif - } - } - ret = (len == 0); - } - return ret; -} - -#endif /* _WIN32 */ diff --git a/src/other/togl/src/togl.c b/src/other/togl/src/togl.c deleted file mode 100644 index a9bc9ec6113..00000000000 --- a/src/other/togl/src/togl.c +++ /dev/null @@ -1,5112 +0,0 @@ -/* $Id$ */ - -/* vi:set sw=4 expandtab: */ - -/* - * Togl - a Tk OpenGL widget - * - * Copyright (C) 1996-2002 Brian Paul and Ben Bederson - * Copyright (C) 2005-2009 Greg Couch - * See the LICENSE file for copyright details. - */ - -/* - * Currently we support X11, Win32 and Mac OS X only - */ - -#include "brlcad_config.h" - -#define USE_TOGL_STUB_PROCS -#include "togl.h" -#ifdef HAVE_GL_GLEXT_H -# include -#else -# include "GL/glext.h" -#endif -#include -#include -#include - -#ifndef TOGL_USE_FONTS -# define TOGL_USE_FONTS 1 -#endif -#if (TK_MAJOR_VERSION > 8 || TK_MINOR_VERSION > 4) && !defined(TOGL_WGL) -/* X11 and Aqua font technology changed in 8.5 */ -# undef TOGL_USE_FONTS -#endif -#ifndef TOGL_USE_OVERLAY -# if defined(TOGL_X11) || defined(TOGL_WGL) -# define TOGL_USE_OVERLAY 1 -# endif -#endif - -/* Use TCL_STUPID to cast (const char *) to (char *) where the Tcl function - * prototype argument should really be const */ -#define TCL_STUPID (char *) - -/* Use WIDGREC to cast widgRec or recordPtr arguments */ -#define WIDGREC (char *) - -/*** Windows headers ***/ -#if defined(TOGL_WGL) -# define WIN32_LEAN_AND_MEAN -# include -# undef WIN32_LEAN_AND_MEAN -# include -# ifndef PFD_SUPPORT_COMPOSITION -// for Vista -- not strictly needed because we don't use PFD_SUPPORT_GDI/BITMAP -# define PFD_SUPPORT_COMPOSITION 0x00008000 -# endif -# include -# include "GL/wglew.h" -# ifdef _MSC_VER -# include -# else -# ifdef UNICODE -# define StringCchPrintf snwprintf -# else -# define StringCchPrintf snprintf -# endif -# endif - -/*** X Window System headers ***/ -#elif defined(TOGL_X11) -# include -# include -# include /* for XA_RGB_DEFAULT_MAP atom */ -# if !defined(USE_SYSTEM_XMU) -# include "Xmu/StdCmap.h" -# else -# if defined(__vms) -# include /* for XmuLookupStandardColormap */ -# else -# include /* for XmuLookupStandardColormap */ -# endif -# endif -# include "GL/glxew.h" -# ifdef __sgi -# include -# endif -# ifdef HAVE_AUTOSTEREO -# include -# endif - -/*** Mac Carbon headers ***/ -#elif defined(TOGL_AGL) -# define Cursor QDCursor -# include -# undef Cursor -# include /* usa MacDrawable */ -# include -# define TOGL_COCOA 1 -# if !defined(TOGL_COCOA) -# define Togl_MacOSXGetDrawablePort(togl) TkMacOSXGetDrawablePort((Drawable) ((TkWindow *) togl->TkWin)->privatePtr) -# endif - -/*** Mac Cocoa headers ***/ -#elif defined(TOGL_NSOPENGL) -# include -# include /* Use NSOpenGLContext */ -# include /* Use NSView */ -# include /* Use NSRect */ -# include /* Use MacDrawable */ -# include -# define Togl_MacOSXGetDrawablePort(togl) TkMacOSXGetDrawablePort((Drawable) ((TkWindow *) togl->TkWin)->privatePtr) - -#else /* make sure only one platform defined */ -# error Unsupported platform, or confused platform defines... -#endif - -#define NC3D "NVidia Consumer 3D Stereo" - -#ifndef STEREO_BUFFER_NONE -/* From , but we use this constants elsewhere */ -# define STEREO_BUFFER_NONE 0 -# define STEREO_BUFFER_LEFT 1 -# define STEREO_BUFFER_RIGHT 2 -#endif - -/*** Standard C headers ***/ -#include -#include -#include - -#ifdef TOGL_WGL -# include -#endif - -#if TK_MAJOR_VERSION < 8 -# error Sorry Togl requires Tcl/Tk ver 8.0 or higher. -#endif - -#ifdef USE_TCL_STUBS -# if TK_MAJOR_VERSION < 8 || (TK_MAJOR_VERSION == 8 && TK_MINOR_VERSION < 1) -# error Sorry stub support requires Tcl/Tk ver 8.1 or higher. -# endif -#endif - -#if defined(TOGL_AGL) -# if TK_MAJOR_VERSION < 8 || (TK_MAJOR_VERSION == 8 && TK_MINOR_VERSION < 4) -# error Sorry Mac Aqua version requires Tcl/Tk ver 8.4.0 or higher. -# endif -#endif /* TOGL_AGL */ - -#if defined(TOGL_NSOPENGL) -# if TK_MAJOR_VERSION < 8 || (TK_MAJOR_VERSION == 8 && TK_MINOR_VERSION < 6) -# error Sorry Mac Cocoa version requires Tcl/Tk ver 8.6.0 or higher. -# endif -#endif /* TOGL_NSOPENGL */ - -#if defined(TOGL_WGL) && defined(_MSC_VER) -# define snprintf _snprintf -# pragma warning(disable:4995) -#endif - -/* workaround for bug #123153 in tcl ver8.4a2 (tcl.h) */ -#if defined(Tcl_InitHashTable) && defined(USE_TCL_STUBS) -# undef Tcl_InitHashTable -# define Tcl_InitHashTable (tclStubsPtr->tcl_InitHashTable) -#endif -#if TK_MAJOR_VERSION > 8 || (TK_MAJOR_VERSION == 8 && TK_MINOR_VERSION >= 4) -# define HAVE_TK_SETCLASSPROCS -/* pointer to Tk_SetClassProcs function in the stub table */ - -#if TK_MAJOR_VERSION == 8 && TK_MINOR_VERSION < 6 -static void (*SetClassProcsPtr) - _ANSI_ARGS_((Tk_Window, Tk_ClassProcs *, ClientData)); -#else -static void (*SetClassProcsPtr) - _ANSI_ARGS_((Tk_Window, const Tk_ClassProcs *, ClientData)); -#endif -#endif - -/* - * Copy of TkClassProcs declarations from tkInt.h - * (this is needed for Tcl ver =< 8.4a3) - */ - -typedef Window (TkClassCreateProc) _ANSI_ARGS_((Tk_Window tkwin, - Window parent, ClientData instanceData)); -typedef void (TkClassGeometryProc) _ANSI_ARGS_((ClientData instanceData)); -typedef void (TkClassModalProc) _ANSI_ARGS_((Tk_Window tkwin, - XEvent *eventPtr)); -typedef struct TkClassProcs -{ - TkClassCreateProc *createProc; - TkClassGeometryProc *geometryProc; - TkClassModalProc *modalProc; -} TkClassProcs; - - -/* Defaults */ -#define DEFAULT_WIDTH "400" -#define DEFAULT_HEIGHT "400" -#define DEFAULT_IDENT "" -#define DEFAULT_FONTNAME "Courier" -#define DEFAULT_TIME "1" - - -#ifdef TOGL_WGL -/* Maximum size of a logical palette corresponding to a colormap in color index - * mode. */ -# define MAX_CI_COLORMAP_SIZE 4096 -# define MAX_CI_COLORMAP_BITS 12 - -# if TOGL_USE_FONTS != 1 -/* - * copy of TkWinColormap from tkWinInt.h - */ - -typedef struct -{ - HPALETTE palette; /* Palette handle used when drawing. */ - UINT size; /* Number of entries in the palette. */ - int stale; /* 1 if palette needs to be realized, otherwise - * 0. If the palette is stale, then an idle - * handler is scheduled to realize the palette. - */ - Tcl_HashTable refCounts; /* Hash table of palette entry reference counts - * indexed by pixel value. */ -} TkWinColormap; -# else -# include -# endif - -static LRESULT(CALLBACK *tkWinChildProc) (HWND hwnd, UINT message, - WPARAM wParam, LPARAM lParam) = NULL; - -# ifndef TK_WIN_CHILD_CLASS_NAME -# define TK_WIN_CHILD_CLASS_NAME "TkChild" -# endif - -#endif /* TOGL_WGL */ - - -#define MAX(a,b) (((a)>(b))?(a):(b)) - -#define TCL_ERR(interp, string) \ - do { \ - Tcl_ResetResult(interp); \ - Tcl_AppendResult(interp, string, NULL); \ - return TCL_ERROR; \ - } while (0) - -#define ALL_EVENTS_MASK \ - (KeyPressMask \ - |KeyReleaseMask \ - |ButtonPressMask \ - |ButtonReleaseMask \ - |EnterWindowMask \ - |LeaveWindowMask \ - |PointerMotionMask \ - |ExposureMask \ - |VisibilityChangeMask \ - |FocusChangeMask \ - |PropertyChangeMask \ - |ColormapChangeMask) - -/* - * The following structure contains pointers to functions used for - * processing the custom "-stereo" option. Copied from tkPanedWindow.c. - */ -static int SetStereo(ClientData clientData, Tcl_Interp *interp, - Tk_Window tkwin, Tcl_Obj **value, char *recordPtr, - int internalOffset, char *oldInternalPtr, int flags); -static Tcl_Obj *GetStereo(ClientData clientData, Tk_Window tkwin, - char *recordPtr, int internalOffset); -static void RestoreStereo(ClientData clientData, Tk_Window tkwin, - char *internalPtr, char *oldInternalPtr); - -static Tk_ObjCustomOption stereoOption = { - "stereo", /* name */ - SetStereo, /* setProc */ - GetStereo, /* getProc */ - RestoreStereo, /* restoreProc */ - NULL, /* freeProc */ - 0 -}; - -/* - * The following structure contains pointers to functions used for - * processing the custom "-pixelformat" option. Copied from tkPanedWindow.c. - */ -static int SetWideInt(ClientData clientData, Tcl_Interp *interp, - Tk_Window tkwin, Tcl_Obj **value, char *recordPtr, - int internalOffset, char *oldInternalPtr, int flags); -static Tcl_Obj *GetWideInt(ClientData clientData, Tk_Window tkwin, - char *recordPtr, int internalOffset); -static void RestoreWideInt(ClientData clientData, Tk_Window tkwin, - char *internalPtr, char *oldInternalPtr); - -static Tk_ObjCustomOption wideIntOption = { - "wide int", /* name */ - SetWideInt, /* setProc */ - GetWideInt, /* getProc */ - RestoreWideInt, /* restoreProc */ - NULL, /* freeProc */ - 0 -}; - -/* - * Stuff we initialize on a per package (Togl_Init) basis. - * Since Tcl uses one interpreter per thread, any per-thread - * data goes here. - */ -struct Togl_PackageGlobals -{ - Tk_OptionTable optionTable; /* Used to parse options */ - Togl *toglHead; /* Head of linked list of all Togl widgets */ - int nextContextTag; /* Used to assign similar context tags */ -}; -typedef struct Togl_PackageGlobals Togl_PackageGlobals; - -extern ToglStubs toglStubs; /* should be only non-const global */ - -struct Togl -{ - Togl *Next; /* next in linked list */ - -#if defined(TOGL_WGL) - HGLRC Ctx; /* OpenGL rendering context to be made current */ - HDC tglGLHdc; /* Device context of device that OpenGL calls - * will be drawn on */ - int CiColormapSize; /* (Maximum) size of colormap in color index - * mode */ -#elif defined(TOGL_X11) - GLXContext Ctx; /* Normal planes GLX context */ -#elif defined(TOGL_AGL) - AGLContext Ctx; -#elif defined(TOGL_NSOPENGL) - NSOpenGLContext *Ctx; - NSView *nsview; -#endif - int contextTag; /* all contexts with same tag share display - * lists */ - - XVisualInfo *VisInfo; /* Visual info of the current */ - - Display *display; /* X's token for the window's display. */ - Tk_Window TkWin; /* Tk window structure */ - Tcl_Interp *Interp; /* Tcl interpreter */ - Tcl_Command widgetCmd; /* Token for togl's widget command */ - Togl_PackageGlobals *tpg; /* Used to access globals */ -#ifndef NO_TK_CURSOR - Tk_Cursor Cursor; /* The widget's cursor */ -#endif - int Width, Height; /* Dimensions of window */ - int SetGrid; /* positive is grid size for window manager */ - int TimerInterval; /* Time interval for timer in milliseconds */ - Tcl_TimerToken timerHandler; /* Token for togl's timer handler */ - Bool RgbaFlag; /* configuration flags (ala GLX parameters) */ - int RgbaRed; - int RgbaGreen; - int RgbaBlue; - Bool DoubleFlag; - Bool DepthFlag; - int DepthSize; - Bool AccumFlag; - int AccumRed; - int AccumGreen; - int AccumBlue; - int AccumAlpha; - Bool AlphaFlag; - int AlphaSize; - Bool StencilFlag; - int StencilSize; - Bool PrivateCmapFlag; - Bool OverlayFlag; - int Stereo; - double EyeSeparation; - double Convergence; - GLuint riStencilBit; /* row interleaved stencil bit */ - int AuxNumber; - Bool Indirect; -#if defined(TOGL_NSOPENGL) - NSOpenGLPixelFormat *PixelFormat; -#else - Tcl_WideInt PixelFormat; -#endif - int SwapInterval; - Bool MultisampleFlag; - Bool FullscreenFlag; - Bool PbufferFlag; - Bool LargestPbufferFlag; -#if defined(TOGL_X11) - GLXFBConfig fbcfg; /* cache FBConfig for pbuffer creation */ - GLXPbuffer pbuf; -#elif defined(TOGL_WGL) - HPBUFFERARB pbuf; - int pbufferLost; -#elif defined(TOGL_AGL) - AGLPbuffer pbuf; -#elif defined(TOGL_NSOPENGL) - NSOpenGLPixelBuffer *pbuf; -#endif - const char *ShareList; /* name (ident) of Togl to share dlists with */ - const char *ShareContext; /* name (ident) to share OpenGL context with */ - - const char *Ident; /* User's identification string */ - ClientData Client_Data; /* Pointer to user data */ - - Bool UpdatePending; /* Should normal planes be redrawn? */ - - Tcl_Obj *CreateProc; /* Callback when widget is realized */ - Tcl_Obj *DisplayProc; /* Callback when widget is redrawn */ - Tcl_Obj *ReshapeProc; /* Callback when window size changes */ - Tcl_Obj *DestroyProc; /* Callback when widget is destroyed */ - Tcl_Obj *TimerProc; /* Callback when widget is idle */ - - /* Overlay stuff */ -#if defined(TOGL_X11) - GLXContext OverlayCtx; /* Overlay planes OpenGL context */ -#elif defined(TOGL_WGL) - HGLRC tglGLOverlayHglrc; -#endif - - Window OverlayWindow; /* The overlay window, or 0 */ - Tcl_Obj *OverlayDisplayProc; /* Overlay redraw proc */ - Bool OverlayUpdatePending; /* Should overlay be redrawn? */ - Colormap OverlayCmap; /* colormap for overlay is created */ - int OverlayTransparentPixel; /* transparent pixel */ - Bool OverlayIsMapped; - - GLfloat *RedMap; /* Index2RGB Maps for Color index modes */ - GLfloat *GreenMap; - GLfloat *BlueMap; - GLint MapSize; /* = Number of indices in our Togl */ - int currentStereoBuffer; -#ifdef HAVE_AUTOSTEREO - int as_initialized; /* for autostereo package */ - ASHandle ash; /* for autostereo package */ -#endif - int badWindow; /* true when Togl_MakeWindow fails or should - * create a dummy window */ -}; - - -/* - * Prototypes for functions local to this file - */ -static int Togl_ObjCmd(ClientData clientData, Tcl_Interp *interp, - int objc, Tcl_Obj *const *objv); -static void Togl_ObjCmdDelete(ClientData clientData); -static void Togl_EventProc(ClientData clientData, XEvent *eventPtr); -static void Togl_RedisplayProc(ClientData clientData, XEvent *eventPtr); -static Window Togl_MakeWindow(Tk_Window, Window, ClientData); -static void Togl_WorldChanged(ClientData); - -#ifdef MESA_COLOR_HACK -static int get_free_color_cells(Display *display, int screen, - Colormap colormap); -static void free_default_color_cells(Display *display, Colormap colormap); -#endif -static void ToglCmdDeletedProc(ClientData); - -#if defined(TOGL_AGL) || defined(TOGL_NSOPENGL) -static void SetMacBufRect(Togl *togl); -#if defined(TOGL_COCOA) -static WindowRef Togl_MacOSXGetDrawableWindow(Tk_Window w); -#endif -#endif - -#if defined(TOGL_WGL) -# include "toglWGL.c" -#elif defined(TOGL_AGL) -# include "toglAGL.c" -#elif defined(TOGL_NSOPENGL) -# include "toglNSOpenGL.c" -#elif defined(TOGL_X11) -# include "toglGLX.c" -#endif - - -/* - * Setup Togl widget configuration options: - */ - -#define GEOMETRY_MASK 0x1 /* widget geometry */ -#define FORMAT_MASK 0x2 /* pixel format */ -#define CURSOR_MASK 0x4 -#define TIMER_MASK 0x8 -#define OVERLAY_MASK 0x10 -#define SWAP_MASK 0x20 -#define STEREO_MASK 0x40 -#define STEREO_FORMAT_MASK 0x80 - -static Tk_OptionSpec optionSpecs[] = { - {TK_OPTION_PIXELS, TCL_STUPID "-height", "height", "Height", - DEFAULT_HEIGHT, -1, Tk_Offset(Togl, Height), 0, NULL, - GEOMETRY_MASK}, - {TK_OPTION_PIXELS, TCL_STUPID "-width", "width", "Width", - DEFAULT_WIDTH, -1, Tk_Offset(Togl, Width), 0, NULL, - GEOMETRY_MASK}, - {TK_OPTION_BOOLEAN, TCL_STUPID "-rgba", "rgba", "Rgba", - "true", -1, Tk_Offset(Togl, RgbaFlag), 0, NULL, FORMAT_MASK}, - {TK_OPTION_INT, TCL_STUPID "-redsize", "redsize", "RedSize", - "1", -1, Tk_Offset(Togl, RgbaRed), 0, NULL, FORMAT_MASK}, - {TK_OPTION_INT, TCL_STUPID "-greensize", "greensize", "GreenSize", - "1", -1, Tk_Offset(Togl, RgbaGreen), 0, NULL, FORMAT_MASK}, - {TK_OPTION_INT, TCL_STUPID "-bluesize", "bluesize", "BlueSize", - "1", -1, Tk_Offset(Togl, RgbaBlue), 0, NULL, FORMAT_MASK}, - {TK_OPTION_BOOLEAN, TCL_STUPID "-double", "double", "Double", - "false", -1, Tk_Offset(Togl, DoubleFlag), 0, NULL, FORMAT_MASK}, - {TK_OPTION_BOOLEAN, TCL_STUPID "-depth", "depth", "Depth", - "false", -1, Tk_Offset(Togl, DepthFlag), 0, NULL, FORMAT_MASK}, - {TK_OPTION_INT, TCL_STUPID "-depthsize", "depthsize", "DepthSize", - "1", -1, Tk_Offset(Togl, DepthSize), 0, NULL, FORMAT_MASK}, - {TK_OPTION_BOOLEAN, TCL_STUPID "-accum", "accum", "Accum", - "false", -1, Tk_Offset(Togl, AccumFlag), 0, NULL, FORMAT_MASK}, - {TK_OPTION_INT, TCL_STUPID "-accumredsize", "accumredsize", "AccumRedSize", - "1", -1, Tk_Offset(Togl, AccumRed), 0, NULL, FORMAT_MASK}, - {TK_OPTION_INT, TCL_STUPID "-accumgreensize", "accumgreensize", - "AccumGreenSize", - "1", -1, Tk_Offset(Togl, AccumGreen), 0, NULL, FORMAT_MASK}, - {TK_OPTION_INT, TCL_STUPID "-accumbluesize", "accumbluesize", - "AccumBlueSize", - "1", -1, Tk_Offset(Togl, AccumBlue), 0, NULL, FORMAT_MASK}, - {TK_OPTION_INT, TCL_STUPID "-accumalphasize", "accumalphasize", - "AccumAlphaSize", - "1", -1, Tk_Offset(Togl, AccumAlpha), 0, NULL, FORMAT_MASK}, - {TK_OPTION_BOOLEAN, TCL_STUPID "-alpha", "alpha", "Alpha", - "false", -1, Tk_Offset(Togl, AlphaFlag), 0, NULL, FORMAT_MASK}, - {TK_OPTION_INT, TCL_STUPID "-alphasize", "alphasize", "AlphaSize", - "1", -1, Tk_Offset(Togl, AlphaSize), 0, NULL, FORMAT_MASK}, - {TK_OPTION_BOOLEAN, TCL_STUPID "-stencil", "stencil", "Stencil", - "false", -1, Tk_Offset(Togl, StencilFlag), 0, NULL, FORMAT_MASK}, - {TK_OPTION_INT, TCL_STUPID "-stencilsize", "stencilsize", "StencilSize", - "1", -1, Tk_Offset(Togl, StencilSize), 0, NULL, FORMAT_MASK}, - {TK_OPTION_INT, TCL_STUPID "-auxbuffers", "auxbuffers", "AuxBuffers", - "0", -1, Tk_Offset(Togl, AuxNumber), 0, NULL, FORMAT_MASK}, - {TK_OPTION_BOOLEAN, TCL_STUPID "-privatecmap", "privateCmap", "PrivateCmap", - "false", -1, Tk_Offset(Togl, PrivateCmapFlag), 0, NULL, - FORMAT_MASK}, - {TK_OPTION_BOOLEAN, TCL_STUPID "-overlay", "overlay", "Overlay", - "false", -1, Tk_Offset(Togl, OverlayFlag), 0, NULL, OVERLAY_MASK}, - {TK_OPTION_CUSTOM, TCL_STUPID "-stereo", "stereo", "Stereo", - "", -1, Tk_Offset(Togl, Stereo), 0, - (ClientData) &stereoOption, STEREO_FORMAT_MASK}, - {TK_OPTION_DOUBLE, TCL_STUPID "-eyeseparation", "eyeseparation", - "EyeSeparation", - "2.0", -1, Tk_Offset(Togl, EyeSeparation), 0, NULL, STEREO_MASK}, - {TK_OPTION_DOUBLE, TCL_STUPID "-convergence", "convergence", "Convergence", - "35.0", -1, Tk_Offset(Togl, Convergence), 0, NULL, STEREO_MASK}, -#ifndef NO_TK_CURSOR - {TK_OPTION_CURSOR, TCL_STUPID "-cursor", "cursor", "Cursor", - "", -1, Tk_Offset(Togl, Cursor), TK_OPTION_NULL_OK, NULL, - CURSOR_MASK}, -#endif - {TK_OPTION_INT, TCL_STUPID "-setgrid", "setGrid", "SetGrid", - "0", -1, Tk_Offset(Togl, SetGrid), 0, NULL, GEOMETRY_MASK}, - {TK_OPTION_INT, TCL_STUPID "-time", "time", "Time", - DEFAULT_TIME, -1, Tk_Offset(Togl, TimerInterval), 0, NULL, - TIMER_MASK}, - {TK_OPTION_STRING, TCL_STUPID "-sharelist", "sharelist", "ShareList", - NULL, -1, Tk_Offset(Togl, ShareList), 0, NULL, FORMAT_MASK}, - {TK_OPTION_STRING, TCL_STUPID "-sharecontext", "sharecontext", - "ShareContext", NULL, - -1, Tk_Offset(Togl, ShareContext), 0, NULL, FORMAT_MASK}, - {TK_OPTION_STRING, TCL_STUPID "-ident", "ident", "Ident", - DEFAULT_IDENT, -1, Tk_Offset(Togl, Ident), 0, NULL, 0}, - {TK_OPTION_BOOLEAN, TCL_STUPID "-indirect", "indirect", "Indirect", - "false", -1, Tk_Offset(Togl, Indirect), 0, NULL, FORMAT_MASK}, - {TK_OPTION_CUSTOM, TCL_STUPID "-pixelformat", "pixelFormat", "PixelFormat", - "0", -1, Tk_Offset(Togl, PixelFormat), 0, - (ClientData) &wideIntOption, FORMAT_MASK}, - {TK_OPTION_INT, TCL_STUPID "-swapinterval", "swapInterval", "SwapInterval", - "1", -1, Tk_Offset(Togl, SwapInterval), 0, NULL, SWAP_MASK}, -#if 0 - {TK_OPTION_BOOLEAN, TCL_STUPID "-fullscreen", "fullscreen", "Fullscreen", - "false", -1, Tk_Offset(Togl, FullscreenFlag), 0, NULL, - GEOMETRY_MASK|FORMAT_MASK}, -#endif - {TK_OPTION_BOOLEAN, TCL_STUPID "-multisample", "multisample", "Multisample", - "false", -1, Tk_Offset(Togl, MultisampleFlag), 0, NULL, - FORMAT_MASK}, - {TK_OPTION_BOOLEAN, TCL_STUPID "-pbuffer", "pbuffer", "Pbuffer", - "false", -1, Tk_Offset(Togl, PbufferFlag), 0, NULL, FORMAT_MASK}, - {TK_OPTION_BOOLEAN, TCL_STUPID "-largestpbuffer", "largestpbuffer", - "LargestPbuffer", - "false", -1, Tk_Offset(Togl, LargestPbufferFlag), 0, NULL, 0}, - {TK_OPTION_STRING, TCL_STUPID "-createcommand", "createCommand", - "CallbackCommand", NULL, - Tk_Offset(Togl, CreateProc), -1, TK_OPTION_NULL_OK, NULL, 0}, - {TK_OPTION_SYNONYM, TCL_STUPID "-create", NULL, NULL, - NULL, -1, -1, 0, (ClientData) "-createcommand", 0}, - {TK_OPTION_STRING, TCL_STUPID "-displaycommand", "displayCommand", - "CallbackCommand", NULL, - Tk_Offset(Togl, DisplayProc), -1, TK_OPTION_NULL_OK, NULL, 0}, - {TK_OPTION_SYNONYM, TCL_STUPID "-display", NULL, NULL, - NULL, -1, -1, 0, (ClientData) "-displaycommand", 0}, - {TK_OPTION_STRING, TCL_STUPID "-reshapecommand", "reshapeCommand", - "CallbackCommand", NULL, - Tk_Offset(Togl, ReshapeProc), -1, TK_OPTION_NULL_OK, NULL, 0}, - {TK_OPTION_SYNONYM, TCL_STUPID "-reshape", NULL, NULL, - NULL, -1, -1, 0, (ClientData) "-reshapecommand", 0}, - {TK_OPTION_STRING, TCL_STUPID "-destroycommand", "destroyCommand", - "CallbackCommand", NULL, - Tk_Offset(Togl, DestroyProc), -1, TK_OPTION_NULL_OK, NULL, 0}, - {TK_OPTION_SYNONYM, TCL_STUPID "-destroy", NULL, NULL, - NULL, -1, -1, 0, (ClientData) "-destroycommand", 0}, - {TK_OPTION_STRING, TCL_STUPID "-timercommand", "timerCommand", - "CallabckCommand", NULL, - Tk_Offset(Togl, TimerProc), -1, TK_OPTION_NULL_OK, NULL, 0}, - {TK_OPTION_SYNONYM, TCL_STUPID "-timer", NULL, NULL, - NULL, -1, -1, 0, (ClientData) "-timercommand", 0}, - {TK_OPTION_STRING, TCL_STUPID "-overlaydisplaycommand", - "overlaydisplayCommand", "CallbackCommand", NULL, - Tk_Offset(Togl, OverlayDisplayProc), -1, - TK_OPTION_NULL_OK, NULL, OVERLAY_MASK}, - {TK_OPTION_SYNONYM, TCL_STUPID "-overlaydisplay", NULL, NULL, - NULL, -1, -1, 0, (ClientData) "-overlaydisplaycommand", 0}, - /* Tcl3D backwards compatibility */ - {TK_OPTION_SYNONYM, TCL_STUPID "-createproc", NULL, NULL, - NULL, -1, -1, 0, (ClientData) "-createcommand", 0}, - {TK_OPTION_SYNONYM, TCL_STUPID "-displayproc", NULL, NULL, - NULL, -1, -1, 0, (ClientData) "-displaycommand", 0}, - {TK_OPTION_SYNONYM, TCL_STUPID "-reshapeproc", NULL, NULL, - NULL, -1, -1, 0, (ClientData) "-reshapecommand", 0}, - /* end Tcl3D compatibility */ - {TK_OPTION_END, NULL, NULL, NULL, NULL, -1, -1, 0, NULL, 0} -}; - -/* - * Add given togl widget to linked list. - */ -static void -AddToList(Togl *t) -{ - t->Next = t->tpg->toglHead; - t->tpg->toglHead = t; -} - -/* - * Remove given togl widget from linked list. - */ -static void -RemoveFromList(Togl *t) -{ - Togl *prev; - Togl *cur; - - for (cur = t->tpg->toglHead, prev = NULL; cur; prev = cur, cur = cur->Next) { - if (t != cur) - continue; - if (prev) { - prev->Next = cur->Next; - } else { - t->tpg->toglHead = cur->Next; - } - break; - } - if (cur) - cur->Next = NULL; -} - -/* - * Return pointer to togl widget given a user identifier string. - */ -static Togl * -FindTogl(Togl *togl, const char *ident) -{ - Togl *t; - - if (ident[0] != '.') { - for (t = togl->tpg->toglHead; t; t = t->Next) { - if (strcmp(t->Ident, ident) == 0) - break; - } - } else { - for (t = togl->tpg->toglHead; t; t = t->Next) { - const char *pathname = Tk_PathName(t->TkWin); - - if (strcmp(pathname, ident) == 0) - break; - } - } - return t; -} - - -/* - * Return pointer to another togl widget with same OpenGL context. - */ -static Togl * -FindToglWithSameContext(const Togl *togl) -{ - Togl *t; - - for (t = togl->tpg->toglHead; t != NULL; t = t->Next) { - if (t == togl) - continue; - if (t->Ctx == togl->Ctx) { - return t; - } - } - return NULL; -} - -#if TOGL_USE_OVERLAY -/* - * Return pointer to another togl widget with same OpenGL overlay context. - */ -static Togl * -FindToglWithSameOverlayContext(const Togl *togl) -{ - Togl *t; - - for (t = togl->tpg->toglHead; t != NULL; t = t->Next) { - if (t == togl) - continue; -# if defined(TOGL_X11) - if (t->OverlayCtx == togl->OverlayCtx) -# elif defined(TOGL_WGL) - if (t->tglGLOverlayHglrc == togl->tglGLOverlayHglrc) -# endif - { - return t; - } - } - return NULL; -} -#endif - -#if defined(TOGL_X11) -/* - * Return an X colormap to use for OpenGL RGB-mode rendering. - * Input: dpy - the X display - * scrnum - the X screen number - * visinfo - the XVisualInfo as returned by glXChooseVisual() - * Return: an X Colormap or 0 if there's a _serious_ error. - */ -static Colormap -get_rgb_colormap(Display *dpy, - int scrnum, const XVisualInfo *visinfo, Tk_Window tkwin) -{ - Atom hp_cr_maps; - Status status; - int numCmaps; - int i; - XStandardColormap *standardCmaps; - Window root = XRootWindow(dpy, scrnum); - Bool using_mesa; - - /* - * First check if visinfo's visual matches the default/root visual. - */ - if (visinfo->visual == Tk_Visual(tkwin)) { - /* use the default/root colormap */ - Colormap cmap; - - cmap = Tk_Colormap(tkwin); -# ifdef MESA_COLOR_HACK - (void) get_free_color_cells(dpy, scrnum, cmap); -# endif - return cmap; - } - - /* - * Check if we're using Mesa. - */ - if (strstr(glXQueryServerString(dpy, scrnum, GLX_VERSION), "Mesa")) { - using_mesa = True; - } else { - using_mesa = False; - } - - /* - * Next, if we're using Mesa and displaying on an HP with the "Color - * Recovery" feature and the visual is 8-bit TrueColor, search for a - * special colormap initialized for dithering. Mesa will know how to - * dither using this colormap. - */ - if (using_mesa) { - hp_cr_maps = XInternAtom(dpy, "_HP_RGB_SMOOTH_MAP_LIST", True); - if (hp_cr_maps -# ifdef __cplusplus - && visinfo->visual->c_class == TrueColor -# else - && visinfo->visual->class == TrueColor -# endif - && visinfo->depth == 8) { - status = XGetRGBColormaps(dpy, root, &standardCmaps, - &numCmaps, hp_cr_maps); - if (status) { - for (i = 0; i < numCmaps; i++) { - if (standardCmaps[i].visualid == visinfo->visual->visualid) { - Colormap cmap = standardCmaps[i].colormap; - - (void) XFree(standardCmaps); - return cmap; - } - } - (void) XFree(standardCmaps); - } - } - } - - /* - * Next, try to find a standard X colormap. - */ -# if !HP && !SUN -# ifndef SOLARIS_BUG - status = XmuLookupStandardColormap(dpy, visinfo->screen, - visinfo->visualid, visinfo->depth, XA_RGB_DEFAULT_MAP, - /* replace */ False, /* retain */ True); - if (status == 1) { - status = XGetRGBColormaps(dpy, root, &standardCmaps, - &numCmaps, XA_RGB_DEFAULT_MAP); - if (status == 1) { - for (i = 0; i < numCmaps; i++) { - if (standardCmaps[i].visualid == visinfo->visualid) { - Colormap cmap = standardCmaps[i].colormap; - - (void) XFree(standardCmaps); - return cmap; - } - } - (void) XFree(standardCmaps); - } - } -# endif -# endif - - /* - * If we get here, give up and just allocate a new colormap. - */ - return XCreateColormap(dpy, root, visinfo->visual, AllocNone); -} -#elif defined(TOGL_WGL) - -/* Code to create RGB palette is taken from the GENGL sample program of Win32 - * SDK */ - -static const unsigned char threeto8[8] = { - 0, 0111 >> 1, 0222 >> 1, 0333 >> 1, 0444 >> 1, 0555 >> 1, 0666 >> 1, 0377 -}; - -static const unsigned char twoto8[4] = { - 0, 0x55, 0xaa, 0xff -}; - -static const unsigned char oneto8[2] = { - 0, 255 -}; - -static const int defaultOverride[13] = { - 0, 3, 24, 27, 64, 67, 88, 173, 181, 236, 247, 164, 91 -}; - -static const PALETTEENTRY defaultPalEntry[20] = { - {0, 0, 0, 0}, - {0x80, 0, 0, 0}, - {0, 0x80, 0, 0}, - {0x80, 0x80, 0, 0}, - {0, 0, 0x80, 0}, - {0x80, 0, 0x80, 0}, - {0, 0x80, 0x80, 0}, - {0xC0, 0xC0, 0xC0, 0}, - - {192, 220, 192, 0}, - {166, 202, 240, 0}, - {255, 251, 240, 0}, - {160, 160, 164, 0}, - - {0x80, 0x80, 0x80, 0}, - {0xFF, 0, 0, 0}, - {0, 0xFF, 0, 0}, - {0xFF, 0xFF, 0, 0}, - {0, 0, 0xFF, 0}, - {0xFF, 0, 0xFF, 0}, - {0, 0xFF, 0xFF, 0}, - {0xFF, 0xFF, 0xFF, 0} -}; - -static unsigned char -ComponentFromIndex(int i, UINT nbits, UINT shift) -{ - unsigned char val; - - val = (unsigned char) (i >> shift); - switch (nbits) { - - case 1: - val &= 0x1; - return oneto8[val]; - - case 2: - val &= 0x3; - return twoto8[val]; - - case 3: - val &= 0x7; - return threeto8[val]; - - default: - return 0; - } -} - -static Colormap -Win32CreateRgbColormap(PIXELFORMATDESCRIPTOR pfd) -{ - TkWinColormap *cmap = (TkWinColormap *) ckalloc(sizeof (TkWinColormap)); - LOGPALETTE *pPal; - int n, i; - - n = 1 << pfd.cColorBits; - pPal = (PLOGPALETTE) LocalAlloc(LMEM_FIXED, sizeof (LOGPALETTE) - + n * sizeof (PALETTEENTRY)); - pPal->palVersion = 0x300; - pPal->palNumEntries = n; - for (i = 0; i < n; i++) { - pPal->palPalEntry[i].peRed = - ComponentFromIndex(i, pfd.cRedBits, pfd.cRedShift); - pPal->palPalEntry[i].peGreen = - ComponentFromIndex(i, pfd.cGreenBits, pfd.cGreenShift); - pPal->palPalEntry[i].peBlue = - ComponentFromIndex(i, pfd.cBlueBits, pfd.cBlueShift); - pPal->palPalEntry[i].peFlags = 0; - } - - /* fix up the palette to include the default GDI palette */ - if ((pfd.cColorBits == 8) - && (pfd.cRedBits == 3) && (pfd.cRedShift == 0) - && (pfd.cGreenBits == 3) && (pfd.cGreenShift == 3) - && (pfd.cBlueBits == 2) && (pfd.cBlueShift == 6)) { - for (i = 1; i <= 12; i++) - pPal->palPalEntry[defaultOverride[i]] = defaultPalEntry[i]; - } - - cmap->palette = CreatePalette(pPal); - LocalFree(pPal); - cmap->size = n; - cmap->stale = 0; - - /* Since this is a private colormap of a fix size, we do not need a valid - * hash table, but a dummy one */ - - Tcl_InitHashTable(&cmap->refCounts, TCL_ONE_WORD_KEYS); - return (Colormap) cmap; -} - -static Colormap -Win32CreateCiColormap(Togl *togl) -{ - /* Create a colormap with size of togl->CiColormapSize and set all entries - * to black */ - - LOGPALETTE logPalette; - TkWinColormap *cmap = (TkWinColormap *) ckalloc(sizeof (TkWinColormap)); - - logPalette.palVersion = 0x300; - logPalette.palNumEntries = 1; - logPalette.palPalEntry[0].peRed = 0; - logPalette.palPalEntry[0].peGreen = 0; - logPalette.palPalEntry[0].peBlue = 0; - logPalette.palPalEntry[0].peFlags = 0; - - cmap->palette = CreatePalette(&logPalette); - cmap->size = togl->CiColormapSize; - ResizePalette(cmap->palette, cmap->size); /* sets new entries to black */ - cmap->stale = 0; - - /* Since this is a private colormap of a fix size, we do not need a valid - * hash table, but a dummy one */ - - Tcl_InitHashTable(&cmap->refCounts, TCL_ONE_WORD_KEYS); - return (Colormap) cmap; -} - -/* ErrorExit is from */ -static void -ErrorExit(LPTSTR lpszFunction) -{ - /* Retrieve the system error message for the last-error code */ - LPTSTR lpMsgBuf; - LPTSTR lpDisplayBuf; - DWORD err = GetLastError(); - - if (err == 0) { - /* The function said it failed, but GetLastError says it didn't, so - * pretend it didn't. */ - return; - } - - FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER - | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, - NULL, err, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), - (LPTSTR) &lpMsgBuf, 0, NULL); - - /* Display the error message and exit the process */ - - lpDisplayBuf = (LPTSTR) LocalAlloc(LMEM_ZEROINIT, - (lstrlen(lpMsgBuf) + lstrlen(lpszFunction) + 40) * sizeof (TCHAR)); - StringCchPrintf(lpDisplayBuf, LocalSize(lpDisplayBuf), - TEXT("%s failed with error %ld: %s"), lpszFunction, err, lpMsgBuf); - MessageBox(NULL, lpDisplayBuf, TEXT("Error"), MB_OK); - - LocalFree(lpMsgBuf); - LocalFree(lpDisplayBuf); - ExitProcess(err); -} -#endif - -/* - * Togl_Init - * - * Called upon system startup to create togl command. - */ -int -Togl_Init(Tcl_Interp *interp) -{ - int major, minor, patchLevel, releaseType; - -#ifdef USE_TCL_STUBS - if (Tcl_InitStubs(interp, "8.1", 0) == NULL) { - return TCL_ERROR; - } -#endif -#ifdef USE_TK_STUBS - if (Tk_InitStubs(interp, TCL_STUPID "8.1", 0) == NULL) { - return TCL_ERROR; - } -#endif - - Tcl_GetVersion(&major, &minor, &patchLevel, &releaseType); -#ifdef HAVE_TK_SETCLASSPROCS - if (major > 8 - || (major == 8 - && (minor > 4 - || (minor == 4 && (releaseType > 0 - || patchLevel >= 2))))) { -# ifdef USE_TK_STUBS - SetClassProcsPtr = tkStubsPtr->tk_SetClassProcs; -# else - SetClassProcsPtr = Tk_SetClassProcs; -# endif - } else { - SetClassProcsPtr = NULL; - } -#else - if (major > 8 - || (major == 8 - && (minor > 4 - || (minor == 4 && (releaseType > 0 - || patchLevel >= 2))))) { - TCL_ERR(interp, - "Sorry, this instance of Togl was not compiled to work with Tcl/Tk 8.4a2 or higher."); - } -#endif - - if (Tcl_CreateObjCommand(interp, "togl", Togl_ObjCmd, NULL, - Togl_ObjCmdDelete) == NULL) { - return TCL_ERROR; - } - - if (Tcl_PkgProvideEx(interp, "Togl", TOGL_VERSION, &toglStubs) != TCL_OK) { - return TCL_ERROR; - } - - return TCL_OK; -} - - -/* - * Togl_CallCallback - * - * Call command with togl widget as only argument - */ - -int -Togl_CallCallback(Togl *togl, Tcl_Obj *cmd) -{ - int result; - Tcl_Obj *objv[3]; - - if (cmd == NULL || togl->widgetCmd == NULL) - return TCL_OK; - - objv[0] = cmd; - Tcl_IncrRefCount(objv[0]); - objv[1] = - Tcl_NewStringObj(Tcl_GetCommandName(togl->Interp, togl->widgetCmd), - -1); - Tcl_IncrRefCount(objv[1]); - objv[2] = NULL; - result = Tcl_EvalObjv(togl->Interp, 2, objv, TCL_EVAL_GLOBAL); - Tcl_DecrRefCount(objv[1]); - Tcl_DecrRefCount(objv[0]); - if (result != TCL_OK) - Tcl_BackgroundError(togl->Interp); - return result; -} - - -/* - * Togl_Timer - * - * Gets called from Tk_CreateTimerHandler. - */ -static void -Togl_Timer(ClientData clientData) -{ - Togl *togl = (Togl *) clientData; - - if (togl->TimerProc) { - if (Togl_CallCallback(togl, togl->TimerProc) != TCL_OK) { - togl->timerHandler = NULL; - return; - } - /* - * Re-register this callback since Tcl/Tk timers are "one-shot". - * That is, after the timer callback is called it not normally - * called again. That's not the behavior we want for Togl. - */ - togl->timerHandler = - Tcl_CreateTimerHandler(togl->TimerInterval, Togl_Timer, - (ClientData) togl); - } -} - - -/* - * Togl_MakeCurrent - * - * Bind the OpenGL rendering context to the specified - * Togl widget. If given a NULL argument, then the - * OpenGL context is released without assigning a new one. - */ -void -Togl_MakeCurrent(const Togl *togl) -{ -#if defined(TOGL_WGL) - int res = TRUE; - - if (togl == NULL) { - HDC hdc = wglGetCurrentDC(); - - if (hdc != NULL) - res = wglMakeCurrent(hdc, NULL); - } else { - if (togl->pbufferLost) { - Bool keepContext = FindToglWithSameContext(togl) != NULL; - Togl *t = (Togl *) togl; /* conceptually const */ - - if (!keepContext) { - wglDeleteContext(t->Ctx); - } - togl_destroyPbuffer(t); - t->pbuf = togl_createPbuffer(t); - if (!keepContext) { - t->Ctx = wglCreateContext(t->tglGLHdc); - } - } - res = wglMakeCurrent(togl->tglGLHdc, togl->Ctx); - } - if (!res) { - ErrorExit(TEXT("wglMakeCurrent")); - } -#elif defined(TOGL_X11) - Display *display = togl ? togl->display : glXGetCurrentDisplay(); - - if (display) { - GLXDrawable drawable; - - if (!togl) - drawable = None; - else if (togl->PbufferFlag) - drawable = togl->pbuf; - else if (togl->TkWin) - drawable = Tk_WindowId(togl->TkWin); - else - drawable = None; - (void) glXMakeCurrent(display, drawable, drawable ? togl->Ctx : NULL); - } -#elif defined(TOGL_AGL) - if (togl == NULL || togl->Ctx == NULL) { - (void) aglSetCurrentContext(NULL); - } else { - (void) aglSetCurrentContext(togl->Ctx); - if (FindToglWithSameContext(togl) != NULL) { - if (!togl->PbufferFlag) { -#if defined(TOGL_COCOA) - WindowRef w = Togl_MacOSXGetDrawableWindow(togl->TkWin); - aglSetWindowRef(togl->Ctx, w); -#else - AGLDrawable d = Togl_MacOSXGetDrawablePort(togl); - aglSetDrawable(togl->Ctx, d); -#endif - } else { - GLint virtualScreen = aglGetVirtualScreen(togl->Ctx); - - aglSetPBuffer(togl->Ctx, togl->pbuf, 0, 0, virtualScreen); - } - } - } -#elif defined(TOGL_NSOPENGL) - if (togl != NULL && togl->Ctx != NULL) { - [togl->Ctx makeCurrentContext]; - if (FindToglWithSameContext(togl) != NULL) { - if (!togl->PbufferFlag) { - [togl->Ctx setView:togl->nsview]; - } else { - GLint virtualScreen = [togl->Ctx currentVirtualScreen]; - [togl->Ctx setPixelBuffer:togl->pbuf cubeMapFace:0 - mipMapLevel:0 currentVirtualScreen:virtualScreen]; - } - } - } -#endif -} - -/* - * Togl_TakePhoto - * - * Take a photo image of the current OpenGL window. May have problems - * if window is partially obscured, either by other windows or by the - * edges of the display. - */ -int -Togl_TakePhoto(Togl *togl, Tk_PhotoHandle photo) -{ - GLubyte *buffer; - Tk_PhotoImageBlock photoBlock; - int y, midy; - unsigned char *cp; - int width = togl->Width, height = togl->Height; - - /* - * TIP #116 altered Tk_PhotoPutBlock API to add interp arg that 8.4 - * doesn't have. - * We need to remove that for compiling with 8.4. - */ -#if (TK_MAJOR_VERSION == 8) && (TK_MINOR_VERSION < 5) -# define TK_PHOTOPUTBLOCK(interp, hdl, blk, x, y, w, h, cr) \ - Tk_PhotoPutBlock(hdl, blk, x, y, w, h, cr) -#else -# define TK_PHOTOPUTBLOCK Tk_PhotoPutBlock -#endif - buffer = (GLubyte *) ckalloc(width * height * 4); - photoBlock.pixelPtr = buffer; - photoBlock.width = width; - photoBlock.height = height; - photoBlock.pitch = width * 4; - photoBlock.pixelSize = 4; - photoBlock.offset[0] = 0; - photoBlock.offset[1] = 1; - photoBlock.offset[2] = 2; - photoBlock.offset[3] = 3; - - if (!togl->RgbaFlag) { -#if defined(TOGL_WGL) - /* Due to the lack of a unique inverse mapping from the frame buffer to - * the logical palette we need a translation map from the complete - * logical palette. */ - int n, i; - TkWinColormap *cmap = (TkWinColormap *) Tk_Colormap(togl->TkWin); - LPPALETTEENTRY entry = (LPPALETTEENTRY) malloc(togl->MapSize * - sizeof (PALETTEENTRY)); - - n = GetPaletteEntries(cmap->palette, 0, togl->MapSize, entry); - for (i = 0; i < n; i++) { - togl->RedMap[i] = (GLfloat) (entry[i].peRed / 255.0); - togl->GreenMap[i] = (GLfloat) (entry[i].peGreen / 255.0); - togl->BlueMap[i] = (GLfloat) (entry[i].peBlue / 255.0); - } - free(entry); -#endif /* TOGL_WGL */ - - glPixelMapfv(GL_PIXEL_MAP_I_TO_R, togl->MapSize, togl->RedMap); - glPixelMapfv(GL_PIXEL_MAP_I_TO_G, togl->MapSize, togl->GreenMap); - glPixelMapfv(GL_PIXEL_MAP_I_TO_B, togl->MapSize, togl->BlueMap); - } - - glPushClientAttrib(GL_CLIENT_PIXEL_STORE_BIT); - glPixelStorei(GL_PACK_ALIGNMENT, 4); /* guarantee performance */ - glPixelStorei(GL_PACK_SWAP_BYTES, GL_FALSE); - glPixelStorei(GL_PACK_SKIP_PIXELS, 0); - -#if 1 - glPixelStorei(GL_PACK_ROW_LENGTH, 0); - glPixelStorei(GL_PACK_SKIP_ROWS, 0); - glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, buffer); - /* Some OpenGL drivers are buggy and return zero for Alpha instead of one - * for RGB pixel formats. If that is happening to you, upgrade your - * graphics driver. */ - - /* OpenGL's origin is bottom-left, Tk Photo image's is top-left, so mirror - * the rows around the middle row. */ - midy = height / 2; - cp = buffer; - for (y = 0; y < midy; ++y) { - int m_y = height - 1 - y; /* mirror y */ - unsigned char *m_cp = buffer + m_y * photoBlock.pitch; - int x; - - for (x = 0; x < photoBlock.pitch; ++x) { - unsigned char c = *cp; - - *cp++ = *m_cp; - *m_cp++ = c; - } - } -#else - /* OpenGL's origin is bottom-left, Tk Photo image's is top-left, so save - * rows in reverse order. */ - glPixelStorei(GL_PACK_ROW_LENGTH, width); - glPixelStorei(GL_PACK_SKIP_ROWS, -1); - glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, - buffer + width * (height - 1) * 4); -#endif - - TK_PHOTOPUTBLOCK(togl->Interp, photo, &photoBlock, 0, 0, width, height, - TK_PHOTO_COMPOSITE_SET); - - glPopClientAttrib(); /* restore PACK_ALIGNMENT */ - ckfree((char *) buffer); - return TCL_OK; -} - -Bool -Togl_SwapInterval(const Togl *togl, int interval) -{ -#ifdef TOGL_AGL - GLint swapInterval = interval; - - return aglSetInteger(togl->Ctx, AGL_SWAP_INTERVAL, &swapInterval); -#endif -#ifdef TOGL_NSOPENGL - GLint swapInterval = interval; - [togl->Ctx setValues:&swapInterval forParameter:NSOpenGLCPSwapInterval]; - return True; -#endif -#ifdef TOGL_WGL - typedef BOOL (WINAPI *BOOLFuncInt) (int); - typedef const char *(WINAPI *StrFuncHDC) (HDC); - static BOOLFuncInt swapInterval = NULL; - static BOOL initialized = False; - - if (!initialized) { - const char *extensions; - StrFuncHDC getExtensionsString; - - getExtensionsString = (StrFuncHDC) - wglGetProcAddress("wglGetExtensionsStringARB"); - if (getExtensionsString == NULL) - getExtensionsString = (StrFuncHDC) - wglGetProcAddress("wglGetExtensionsStringEXT"); - if (getExtensionsString) { - extensions = getExtensionsString(togl->tglGLHdc); - if (strstr(extensions, "WGL_EXT_swap_control") != NULL) { - swapInterval = - (BOOLFuncInt) wglGetProcAddress("wglSwapIntervalEXT"); - } - } - initialized = True; - } - if (swapInterval) - return swapInterval(interval); - return False; -#endif -#ifdef TOGL_X11 - typedef int (*IntFuncInt) (int); - static IntFuncInt swapInterval = NULL; - static int initialized = False; - - if (!initialized) { - const char *extensions = glXQueryExtensionsString(togl->display, - Tk_ScreenNumber(togl->TkWin)); - - if (strstr(extensions, "GLX_SGI_swap_control") != NULL) { - swapInterval = (IntFuncInt) Togl_GetProcAddr("glXSwapIntervalSGI"); - } else if (strstr(extensions, "GLX_MESA_swap_control") != NULL) { - swapInterval = (IntFuncInt) Togl_GetProcAddr("glXSwapIntervalMESA"); - } - initialized = True; - } - if (swapInterval) - return swapInterval(interval) == 0; - return False; -#endif -} - -#if defined(TOGL_AGL) - -#if defined(TOGL_COCOA) -static WindowRef -Togl_MacOSXGetDrawableWindow(Tk_Window win) -{ - TkWindow *w = (TkWindow *) win; - Drawable d = (Drawable) w->window; - WindowRef r = TkMacOSXDrawableWindowRef(d); - return r; -} -#endif - -/* tell OpenGL which part of the Mac window to render to */ -static void -SetMacBufRect(Togl *togl) -{ - GLint wrect[4]; - Rect r; - MacDrawable *d = ((TkWindow *) togl->TkWin)->privatePtr; - - /* set wrect[0,1] to lower left corner of widget */ - wrect[2] = Tk_Width(togl->TkWin); - wrect[3] = Tk_Height(togl->TkWin); - wrect[0] = d->xOff; - -#if defined(TOGL_COCOA) - /* - d->xOff, d->yOff seems to be the offset of the togl window upper left - corner from its parent or from the containing top level. - The wrect[1] value we need is the offset from the bottom of the - containing top level. Seems we may just need the height of the toplevel - to make the calculation work. - */ - /* Get bounds for containing top level. */ - TkWindow *t = (TkWindow *) togl->TkWin; - for ( ; !(t->flags & TK_TOP_HIERARCHY) && t->parentPtr ; t = t->parentPtr) ; - TkMacOSXWinBounds(t, &r); -#else - GetPortBounds(Togl_MacOSXGetDrawablePort(togl), &r); -#endif - - wrect[1] = r.bottom - wrect[3] - d->yOff; - - if (togl->FullscreenFlag) { - aglEnable(togl->Ctx, AGL_FS_CAPTURE_SINGLE); - aglSetFullScreen(togl->Ctx, 0, 0, 0, 0); - } else { - aglUpdateContext(togl->Ctx); - } - aglSetInteger(togl->Ctx, AGL_BUFFER_RECT, wrect); - aglEnable(togl->Ctx, AGL_BUFFER_RECT); -} - -static void -ReconfigureCB(CGDirectDisplayID display, CGDisplayChangeSummaryFlags flags, - void *closure) -{ - /* Display reconfiguration callback. Documented as needed by Apple QA1209. - * Updated for 10.3 (and later) to use - * CGDisplayRegisterReconfigurationCallback. */ - Togl *togl = (Togl *) closure; - - if (0 != (flags & kCGDisplayBeginConfigurationFlag)) - return; /* wait until display is reconfigured */ - - SetMacBufRect(togl); - Togl_MakeCurrent(togl); - if (togl->Ctx) { - if (togl->ReshapeProc) { - Togl_CallCallback(togl, togl->ReshapeProc); - } else { - glViewport(0, 0, togl->Width, togl->Height); - } - } -} -#endif - -#if defined(TOGL_NSOPENGL) -/* -TODO: It appears that Tk only makes an NSView for toplevel windows. -Also it looks like NSOpenGL does not have the equivalent of AGL_BUFFER_RECT -that allows opengl drawing to just part of an NSView. So we might need to -create our own NSView for controlling the opengl bounds. -Look at TkMacOSXMakeRealWindowExist() in tkMacOSXWm.c. -*/ - -/* tell OpenGL which part of the Mac window to render to */ -static void -SetMacBufRect(Togl *togl) -{ - Rect r, rt; - NSRect rect; - TkWindow *w = (TkWindow *) togl->TkWin; - TkWindow *t = w->privatePtr->toplevel->winPtr; - - TkMacOSXWinBounds(w, &r); - TkMacOSXWinBounds(t, &rt); - - rect.origin.x = r.left - rt.left; - rect.origin.y = rt.bottom - r.bottom; - rect.size.width = r.right - r.left; - rect.size.height = r.bottom - r.top; - - [togl->nsview setFrame:rect]; - [togl->Ctx update]; - - /* TODO: Support full screen. */ -} - -static void -ReconfigureCB(CGDirectDisplayID display, CGDisplayChangeSummaryFlags flags, - void *closure) -{ - /* Display reconfiguration callback. Documented as needed by Apple QA1209. - * Updated for 10.3 (and later) to use - * CGDisplayRegisterReconfigurationCallback. */ - Togl *togl = (Togl *) closure; - - if (0 != (flags & kCGDisplayBeginConfigurationFlag)) - return; /* wait until display is reconfigured */ - - SetMacBufRect(togl); - Togl_MakeCurrent(togl); - if (togl->Ctx) { - if (togl->ReshapeProc) { - Togl_CallCallback(togl, togl->ReshapeProc); - } else { - glViewport(0, 0, togl->Width, togl->Height); - } - } -} -#endif - -/* - * Called when the widget's contents must be redrawn. Basically, we - * just call the user's render callback function. - * - * Note that the parameter type is ClientData so this function can be - * passed to Tk_DoWhenIdle(). - */ -static void -Togl_Render(ClientData clientData) -{ - Togl *togl = (Togl *) clientData; - - if (togl->DisplayProc) { - Togl_MakeCurrent(togl); - Togl_CallCallback(togl, togl->DisplayProc); - } - togl->UpdatePending = False; -} - - -static void -Togl_RenderOverlay(ClientData clientData) -{ - Togl *togl = (Togl *) clientData; - - if (togl->OverlayFlag && togl->OverlayDisplayProc) { -#if defined(TOGL_WGL) - int res = wglMakeCurrent(togl->tglGLHdc, togl->tglGLOverlayHglrc); - - if (!res) { - ErrorExit(TEXT("wglMakeCurrent overlay")); - } -#elif defined(TOGL_X11) - (void) glXMakeCurrent(Tk_Display(togl->TkWin), - togl->OverlayWindow, togl->OverlayCtx); -#endif /* TOGL_WGL */ - - Togl_CallCallback(togl, togl->OverlayDisplayProc); - } - togl->OverlayUpdatePending = False; -} - - -static int -Togl_EnterStereo(Togl *togl) -{ - if (togl->Stereo == TOGL_STEREO_ROW_INTERLEAVED) { - GLint stencil_bits; - Tk_Window top; - - Togl_MakeCurrent(togl); - glGetIntegerv(GL_STENCIL_BITS, &stencil_bits); - if (stencil_bits == 0) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "need stencil buffer for row interleaved stereo", - TCL_STATIC); - return False; - } - togl->riStencilBit = 1u << (stencil_bits - 1); - glEnable(GL_STENCIL_TEST); - - /* Need to redraw window when moved between odd and even scanlines, so - * bind to top level window so we're notified when that happens. */ - top = togl->TkWin; - while (!Tk_IsTopLevel(top)) { - top = Tk_Parent(top); - if (top == NULL) - break; - } - if (top) { - Tk_CreateEventHandler(top, StructureNotifyMask, Togl_RedisplayProc, - (ClientData) togl); - } - } - return True; -} - - -static void -Togl_LeaveStereo(Togl *togl, int oldStereo) -{ - switch (oldStereo) { - default: - break; -#ifdef HAVE_AUTOSTEREO - case TOGL_STEREO_NATIVE: - if (togl->ash != -1) { - ASClosedStereoWindow(togl->ash); - togl->ash = -1; - } - break; -#endif -#ifdef __sgi - case TOGL_STEREO_SGIOLDSTYLE: - togl->currentStereoBuffer = STEREO_BUFFER_NONE; - glXWaitGL(); /* sync with GL command stream before calling X - */ - XSGISetStereoBuffer(togl->display, Tk_WindowId(togl->TkWin), - togl->currentStereoBuffer); - glXWaitX(); /* sync with X command stream before calling GL - */ - break; -#endif - case TOGL_STEREO_ROW_INTERLEAVED: - if (togl->riStencilBit) { - Tk_Window top; - - glDisable(GL_STENCIL_TEST); - - /* need to remove previously added top level event handler */ - top = togl->TkWin; - while (!Tk_IsTopLevel(top)) { - top = Tk_Parent(top); - if (top == NULL) - break; - } - if (top) { - Tk_DeleteEventHandler(top, StructureNotifyMask, - Togl_RedisplayProc, (ClientData) togl); - } - } - break; - } -} - - -/* - * See domentation about what can't be changed - */ -static int -Togl_ObjConfigure(Tcl_Interp *interp, Togl *togl, - int objc, Tcl_Obj *const *objv) -{ - Tk_SavedOptions savedOptions; - int error, mask; - int undoMask = 0; - Tcl_Obj *errorResult = NULL; - int oldStereo = togl->Stereo; - int oldWidth = togl->Width; - int oldHeight = togl->Height; - - for (error = 0; error <= 1; ++error, mask = undoMask) { - if (error == 0) { - /* - * Tk_SetOptions parses the command arguments - * and looks for defaults in the resource database. - */ - if (Tk_SetOptions(interp, WIDGREC togl, togl->tpg->optionTable, - objc, objv, togl->TkWin, &savedOptions, &mask) - != TCL_OK) { - /* previous values are restored, so nothing to do */ - return TCL_ERROR; - } - } else { - /* - * Restore options from saved values - */ - errorResult = Tcl_GetObjResult(interp); - Tcl_IncrRefCount(errorResult); - Tk_RestoreSavedOptions(&savedOptions); - } - - if (togl->Ident && togl->Ident[0] == '.') { - Tcl_AppendResult(interp, "Can not set ident to a window path name", - NULL); - continue; - } - - if (togl->FullscreenFlag) { - /* override width and height */ - togl->Width = WidthOfScreen(Tk_Screen(togl->TkWin)); - togl->Height = HeightOfScreen(Tk_Screen(togl->TkWin)); - undoMask |= GEOMETRY_MASK; - } - - if (mask & GEOMETRY_MASK) { - if (!togl->PbufferFlag) { - Togl_WorldChanged((ClientData) togl); - /* Reset width and height so ConfigureNotify - * event will call reshape callback */ - togl->Width = oldWidth; - togl->Height = oldHeight; - undoMask |= GEOMETRY_MASK; - } - } - - if (mask & OVERLAY_MASK) { -#if !TOGL_USE_OVERLAY - if (togl->OverlayFlag) { - Tcl_AppendResult(interp, "Sorry, overlay was disabled", NULL); - continue; - } -#else -# if defined(TOGL_X11) - if (togl->OverlayCtx) -# elif defined(TOGL_WGL) - if (togl->tglGLOverlayHglrc) -# endif - { - /* - * Trying to change existing pixel format/graphics context - */ - Tcl_AppendResult(interp, - "Unable to change overlay pixel format", NULL); - continue; - } -#endif - } - - if (mask & SWAP_MASK) { - if (togl->Ctx) { - /* - * Change existing swap interval - */ - Togl_MakeCurrent(togl); /* TODO: needed? */ - Togl_SwapInterval(togl, togl->SwapInterval); - undoMask |= SWAP_MASK; - } - } - - if (error == 0 && (mask & STEREO_FORMAT_MASK) != 0) { - if (oldStereo == TOGL_STEREO_NATIVE - || togl->Stereo == TOGL_STEREO_NATIVE) { - /* only native stereo affects the visual format */ - mask |= FORMAT_MASK; - } - if (togl->Stereo == TOGL_STEREO_SGIOLDSTYLE) { -#ifndef __sgi - Tcl_AppendResult(interp, - "sgioldstyle: only available on SGI computers", NULL); - continue; -#else - int event, error; - - /* Make sure Display supports SGIStereo */ - if (XSGIStereoQueryExtension(Tk_Display(togl->TkWin), &event, - &error) == False) { - Tcl_AppendResult(interp, - "sgioldstyle: SGIStereo X extension is missing", - NULL); - continue; - } - /* Make sure Window (Screen) supports SGIStereo */ - if (XSGIQueryStereoMode(Tk_Display(togl->TkWin), - Tk_WindowId(Tk_Parent(togl->TkWin))) == - X_STEREO_UNSUPPORTED) { - Tcl_AppendResult(interp, - "sgioldstyle: unsupported by screen", NULL); - continue; - } -#endif - } - } - - if (mask & FORMAT_MASK) { - if (togl->Ctx) { - /* - * Trying to change existing pixel format/graphics context - * TODO: (re)create graphics context - * - * save old graphics context - * try to create new one and share display lists - * if failure, then restore old one - */ - Tcl_AppendResult(interp, "Unable to change pixel format", NULL); - continue; - } - if (togl->ShareContext && togl->ShareList) { - Tcl_AppendResult(interp, - "only one of -sharelist and -sharecontext allowed", - NULL); - continue; - } - if (togl->PbufferFlag && togl->Stereo) { - Tcl_AppendResult(interp, "pbuffer not supported with stereo", - NULL); - continue; - } - if (togl->PbufferFlag && togl->OverlayFlag) { - Tcl_AppendResult(interp, "pbuffer not supported with overlay", - NULL); - continue; - } - if (togl->FullscreenFlag) { -#if defined(TOGL_NSOPENGL) - Tcl_AppendResult(interp, - "Fullscreen not supported with Cocoa Tk", NULL); - continue; -#endif -#ifndef TOGL_AGL -# if TK_MAJOR_VERSION < 8 || (TK_MAJOR_VERSION == 8 && TK_MINOR_VERSION < 5) - Tcl_AppendResult(interp, - "Need Tk 8.5 or later for fullscreen support", NULL); - continue; -# endif -#endif - } - /* Whether or not the format is okay is figured out when togl tries - * to create the window. */ -#ifdef MESA_COLOR_HACK - free_default_color_cells(Tk_Display(togl->TkWin), - Tk_Colormap(togl->TkWin)); -#endif - undoMask |= FORMAT_MASK; - } - - if (togl->Ctx) { - if (oldStereo != togl->Stereo) { - /* leaving stereo */ - Togl_LeaveStereo(togl, oldStereo); - if (togl->Stereo && !Togl_EnterStereo(togl)) - continue; - } - } - - if (mask & TIMER_MASK) { - if (togl->timerHandler != NULL) { - Tcl_DeleteTimerHandler(togl->timerHandler); - } - if (togl->TimerProc) { - togl->timerHandler = - Tcl_CreateTimerHandler(togl->TimerInterval, Togl_Timer, - (ClientData) togl); - } - undoMask |= TIMER_MASK; - } - break; - } - - if (error == 0) { - Tk_FreeSavedOptions(&savedOptions); - return TCL_OK; - } else { - Tcl_SetObjResult(interp, errorResult); - Tcl_DecrRefCount(errorResult); - return TCL_ERROR; - } -} - - -static int -Togl_ObjWidget(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - Togl *togl = (Togl *) clientData; - const char *commands[] = { - "cget", "configure", "extensions", - "postredisplay", "render", - "swapbuffers", "makecurrent", "takephoto", - "loadbitmapfont", "unloadbitmapfont", "write", - "uselayer", "showoverlay", "hideoverlay", - "postredisplayoverlay", "renderoverlay", - "existsoverlay", "ismappedoverlay", - "getoverlaytransparentvalue", - "drawbuffer", "clear", "frustum", "ortho", - "numeyes", "contexttag", "copycontextto", - NULL - }; - enum command - { - TOGL_CGET, TOGL_CONFIGURE, TOGL_EXTENSIONS, - TOGL_POSTREDISPLAY, TOGL_RENDER, - TOGL_SWAPBUFFERS, TOGL_MAKECURRENT, TOGL_TAKEPHOTO, - TOGL_LOADBITMAPFONT, TOGL_UNLOADBITMAPFONT, TOGL_WRITE, - TOGL_USELAYER, TOGL_SHOWOVERLAY, TOGL_HIDEOVERLAY, - TOGL_POSTREDISPLAYOVERLAY, TOGL_RENDEROVERLAY, - TOGL_EXISTSOVERLAY, TOGL_ISMAPPEDOVERLAY, - TOGL_GETOVERLAYTRANSPARENTVALUE, - TOGL_DRAWBUFFER, TOGL_CLEAR, TOGL_FRUSTUM, TOGL_ORTHO, - TOGL_NUMEYES, TOGL_CONTEXTTAG, TOGL_COPYCONTEXTTO - }; - int result = TCL_OK; - Tcl_Obj *objPtr; - int index; - - if (objc < 2) { - Tcl_WrongNumArgs(interp, 1, objv, "command ?arg arg ...?"); - return TCL_ERROR; - } - - Tk_Preserve((ClientData) togl); - - result = Tcl_GetIndexFromObj(interp, objv[1], commands, "option", 0, - &index); - - switch (index) { - case TOGL_CGET: - if (objc != 3) { - Tcl_WrongNumArgs(interp, 2, objv, "option"); - result = TCL_ERROR; - break; - } - objPtr = Tk_GetOptionValue(interp, WIDGREC togl, - togl->tpg->optionTable, (objc == 3) ? objv[2] : NULL, - togl->TkWin); - if (objPtr == NULL) { - result = TCL_ERROR; - break; - } - Tcl_SetObjResult(interp, objPtr); - break; - - case TOGL_CONFIGURE: - if (objc <= 3) { - /* - * Return one item if the option is given, - * or return all configuration information - */ - objPtr = Tk_GetOptionInfo(interp, WIDGREC togl, - togl->tpg->optionTable, (objc == 3) ? objv[2] : NULL, - togl->TkWin); - if (objPtr == NULL) { - result = TCL_ERROR; - } else { - Tcl_SetObjResult(interp, objPtr); - } - } else { - /* Execute a configuration change */ - result = Togl_ObjConfigure(interp, togl, objc - 2, objv + 2); - } - break; - - case TOGL_EXTENSIONS: - /* Return a list of OpenGL extensions available */ - /* TODO: -glu for glu extensions, -platform for glx/wgl extensions */ - if (objc == 2) { - const char *extensions; - Tcl_Obj *objPtr; - int length = -1; - - extensions = (const char *) glGetString(GL_EXTENSIONS); - objPtr = Tcl_NewStringObj(extensions, -1); - /* convert to list by asking for its length */ - (void) Tcl_ListObjLength(interp, objPtr, &length); - Tcl_SetObjResult(interp, objPtr); - } else { - Tcl_WrongNumArgs(interp, 2, objv, NULL); - result = TCL_ERROR; - } - break; - - case TOGL_POSTREDISPLAY: - /* schedule the widget to be redrawn */ - if (objc == 2) { - Togl_PostRedisplay(togl); - } else { - Tcl_WrongNumArgs(interp, 2, objv, NULL); - result = TCL_ERROR; - } - break; - - case TOGL_RENDER: - /* force the widget to be redrawn */ - if (objc == 2) { - Togl_Render((ClientData) togl); - } else { - Tcl_WrongNumArgs(interp, 2, objv, NULL); - result = TCL_ERROR; - } - break; - - case TOGL_SWAPBUFFERS: - /* force the widget to be redrawn */ - if (objc == 2) { - Togl_SwapBuffers(togl); - } else { - Tcl_WrongNumArgs(interp, 2, objv, NULL); - result = TCL_ERROR; - } - break; - - case TOGL_MAKECURRENT: - /* force the widget to be redrawn */ - if (objc == 2) { - Togl_MakeCurrent(togl); - } else { - Tcl_WrongNumArgs(interp, 2, objv, NULL); - result = TCL_ERROR; - } - break; - - case TOGL_TAKEPHOTO: - { - /* force the widget to be redrawn */ - if (objc != 3) { - Tcl_WrongNumArgs(interp, 2, objv, "name"); - result = TCL_ERROR; - } else { - const char *name; - Tk_PhotoHandle photo; - - name = Tcl_GetStringFromObj(objv[2], NULL); - photo = Tk_FindPhoto(interp, name); - if (photo == NULL) { - Tcl_AppendResult(interp, "image \"", name, - "\" doesn't exist or is not a photo image", NULL); - result = TCL_ERROR; - break; - } - glPushAttrib(GL_PIXEL_MODE_BIT); - if (togl->DoubleFlag) { - glReadBuffer(GL_FRONT); - } - Togl_TakePhoto(togl, photo); - glPopAttrib(); /* restore glReadBuffer */ - } - break; - } - - case TOGL_LOADBITMAPFONT: - Tcl_AppendResult(interp, "unsupported", NULL); - result = TCL_ERROR; - break; - - case TOGL_UNLOADBITMAPFONT: - Tcl_AppendResult(interp, "unsupported", NULL); - result = TCL_ERROR; - break; - - case TOGL_WRITE:{ - Tcl_AppendResult(interp, "unsupported", NULL); - result = TCL_ERROR; - break; - } - - case TOGL_USELAYER: - if (objc == 3) { - int layer; - - result = Tcl_GetIntFromObj(interp, objv[2], &layer); - if (result == TCL_OK) { - Togl_UseLayer(togl, layer); - } - } else { - Tcl_WrongNumArgs(interp, 2, objv, "layer"); - result = TCL_ERROR; - } - break; - - case TOGL_SHOWOVERLAY: - if (objc == 2) { - Togl_ShowOverlay(togl); - } else { - Tcl_WrongNumArgs(interp, 2, objv, NULL); - result = TCL_ERROR; - } - break; - - case TOGL_HIDEOVERLAY: - if (objc == 2) { - Togl_HideOverlay(togl); - } else { - Tcl_WrongNumArgs(interp, 2, objv, NULL); - result = TCL_ERROR; - } - break; - - case TOGL_POSTREDISPLAYOVERLAY: - if (objc == 2) { - Togl_PostOverlayRedisplay(togl); - } else { - Tcl_WrongNumArgs(interp, 2, objv, NULL); - result = TCL_ERROR; - } - break; - - case TOGL_RENDEROVERLAY: - /* force the overlay to be redrawn */ - if (objc == 2) { - Togl_RenderOverlay((ClientData) togl); - } else { - Tcl_WrongNumArgs(interp, 2, objv, NULL); - result = TCL_ERROR; - } - break; - - case TOGL_EXISTSOVERLAY: - if (objc == 2) { - Tcl_SetObjResult(interp, Tcl_NewIntObj(Togl_ExistsOverlay(togl))); - } else { - Tcl_WrongNumArgs(interp, 2, objv, NULL); - result = TCL_ERROR; - } - break; - - case TOGL_ISMAPPEDOVERLAY: - if (objc == 2) { - Tcl_SetObjResult(interp, - Tcl_NewIntObj(Togl_IsMappedOverlay(togl))); - } else { - Tcl_WrongNumArgs(interp, 2, objv, NULL); - result = TCL_ERROR; - } - break; - - case TOGL_GETOVERLAYTRANSPARENTVALUE: - if (objc == 2) { - Tcl_SetObjResult(interp, - Tcl_NewIntObj(Togl_GetOverlayTransparentValue(togl))); - } else { - Tcl_WrongNumArgs(interp, 2, objv, NULL); - result = TCL_ERROR; - } - break; - - case TOGL_DRAWBUFFER: - if (objc != 3) { - Tcl_WrongNumArgs(interp, 2, objv, "mode"); - result = TCL_ERROR; - } else { - int mask; - - result = Tcl_GetIntFromObj(interp, objv[2], &mask); - if (result == TCL_ERROR) - break; - Togl_DrawBuffer(togl, (GLenum) mask); - } - break; - - case TOGL_CLEAR: - if (objc != 3) { - Tcl_WrongNumArgs(interp, 2, objv, "mask"); - result = TCL_ERROR; - } else { - int mask; - - result = Tcl_GetIntFromObj(interp, objv[2], &mask); - if (result == TCL_ERROR) - break; - Togl_Clear(togl, (GLbitfield) mask); - } - break; - - case TOGL_FRUSTUM: - if (objc != 8) { - Tcl_WrongNumArgs(interp, 2, objv, - "left right bottom top near far"); - result = TCL_ERROR; - } else { - double left, right, bottom, top, zNear, zFar; - - if (Tcl_GetDoubleFromObj(interp, objv[2], &left) == TCL_ERROR - || Tcl_GetDoubleFromObj(interp, objv[3], - &right) == TCL_ERROR - || Tcl_GetDoubleFromObj(interp, objv[4], - &bottom) == TCL_ERROR - || Tcl_GetDoubleFromObj(interp, objv[5], - &top) == TCL_ERROR - || Tcl_GetDoubleFromObj(interp, objv[6], - &zNear) == TCL_ERROR - || Tcl_GetDoubleFromObj(interp, objv[7], - &zFar) == TCL_ERROR) { - result = TCL_ERROR; - break; - } - Togl_Frustum(togl, left, right, bottom, top, zNear, zFar); - } - break; - - case TOGL_ORTHO: - if (objc != 8) { - Tcl_WrongNumArgs(interp, 2, objv, - "left right bottom top near far"); - result = TCL_ERROR; - } else { - double left, right, bottom, top, zNear, zFar; - - if (Tcl_GetDoubleFromObj(interp, objv[2], &left) == TCL_ERROR - || Tcl_GetDoubleFromObj(interp, objv[3], - &right) == TCL_ERROR - || Tcl_GetDoubleFromObj(interp, objv[4], - &bottom) == TCL_ERROR - || Tcl_GetDoubleFromObj(interp, objv[5], - &top) == TCL_ERROR - || Tcl_GetDoubleFromObj(interp, objv[6], - &zNear) == TCL_ERROR - || Tcl_GetDoubleFromObj(interp, objv[7], - &zFar) == TCL_ERROR) { - result = TCL_ERROR; - break; - } - Togl_Ortho(togl, left, right, bottom, top, zNear, zFar); - } - break; - - case TOGL_NUMEYES: - if (objc == 2) { - Tcl_SetObjResult(interp, Tcl_NewIntObj(Togl_NumEyes(togl))); - } else { - Tcl_WrongNumArgs(interp, 2, objv, NULL); - result = TCL_ERROR; - } - break; - - case TOGL_CONTEXTTAG: - if (objc == 2) { - Tcl_SetObjResult(interp, Tcl_NewIntObj(Togl_ContextTag(togl))); - } else { - Tcl_WrongNumArgs(interp, 2, objv, NULL); - result = TCL_ERROR; - } - break; - - case TOGL_COPYCONTEXTTO: - if (objc != 4) { - Tcl_WrongNumArgs(interp, 2, objv, NULL); - result = TCL_ERROR; - } else { - Togl *to; - unsigned int mask; - - if (Togl_GetToglFromObj(togl->Interp, objv[2], &to) == TCL_ERROR - || Tcl_GetIntFromObj(togl->Interp, objv[3], - (int *) &mask) == TCL_ERROR) { - result = TCL_ERROR; - break; - } - result = Togl_CopyContext(togl, to, mask); - } - } - - Tk_Release((ClientData) togl); - return result; -} - -/* - * Togl_ObjCmdDelete - * - * Called when togl command is removed from interpreter. - */ - -static void -Togl_ObjCmdDelete(ClientData clientData) -{ - if (clientData != NULL) { - Togl_PackageGlobals *tpg = (Togl_PackageGlobals *) clientData; - - Tk_DeleteOptionTable(tpg->optionTable); - ckfree((char *) clientData); - } -} - - -/* - * Togl_ObjCmd - * - * Called when Togl is executed - creation of a Togl widget. - * * Creates a new window - * * Creates an 'Togl' data structure - * * Creates an event handler for this window - * * Creates a command that handles this object - * * Configures this Togl for the given arguments - */ -int -Togl_ObjCmd(ClientData clientData, Tcl_Interp *interp, int objc, - Tcl_Obj *const *objv) -{ - Togl_PackageGlobals *tpg; - Togl *togl; - Tk_Window tkwin; - Tcl_SavedResult saveError; - - if (objc <= 1) { - Tcl_WrongNumArgs(interp, 1, objv, "pathName ?options?"); - return TCL_ERROR; - } - tpg = (Togl_PackageGlobals *) clientData; - if (tpg == NULL) { - Tcl_CmdInfo info; - const char *name; - - /* - * Initialize the Togl_PackageGlobals for this widget the - * first time a Togl widget is created. The globals are - * saved as our client data. - */ - - tpg = (Togl_PackageGlobals *) ckalloc(sizeof (Togl_PackageGlobals)); - if (tpg == NULL) { - return TCL_ERROR; - } - tpg->nextContextTag = 0; - tpg->optionTable = Tk_CreateOptionTable(interp, optionSpecs); - tpg->toglHead = NULL; - - name = Tcl_GetString(objv[0]); - Tcl_GetCommandInfo(interp, name, &info); - info.objClientData = (ClientData) tpg; - Tcl_SetCommandInfo(interp, name, &info); - } - - /* Create the window. */ - tkwin = Tk_CreateWindowFromPath(interp, Tk_MainWindow(interp), - Tcl_GetString(objv[1]), NULL); - if (tkwin == NULL) { - return TCL_ERROR; - } - - Tk_SetClass(tkwin, "Togl"); - - /* Create Togl data structure */ - togl = (Togl *) ckalloc(sizeof (Togl)); - if (togl == NULL) { - return TCL_ERROR; - } - - /* initialize Togl data structures values */ - togl->Next = NULL; - togl->Ctx = NULL; -#if defined(TOGL_WGL) - togl->tglGLHdc = NULL; - togl->tglGLOverlayHglrc = NULL; -#elif defined(TOGL_X11) - togl->OverlayCtx = NULL; -#endif - togl->contextTag = 0; - togl->display = Tk_Display(tkwin); - togl->TkWin = tkwin; - togl->Interp = interp; - togl->VisInfo = NULL; - togl->OverlayWindow = None; - togl->OverlayCmap = None; - togl->OverlayTransparentPixel = 0; - togl->OverlayIsMapped = False; - - togl->UpdatePending = False; - togl->OverlayUpdatePending = False; - togl->tpg = tpg; - togl->Client_Data = NULL; - - /* for color index mode photos */ - togl->RedMap = togl->GreenMap = togl->BlueMap = NULL; - togl->MapSize = 0; - -#ifndef NO_TK_CURSOR - togl->Cursor = None; -#endif - togl->Width = 0; - togl->Height = 0; - togl->SetGrid = 0; - togl->TimerInterval = 0; - togl->RgbaFlag = True; - togl->RgbaRed = 1; - togl->RgbaGreen = 1; - togl->RgbaBlue = 1; - togl->DoubleFlag = False; - togl->DepthFlag = False; - togl->DepthSize = 1; - togl->AccumFlag = False; - togl->AccumRed = 1; - togl->AccumGreen = 1; - togl->AccumBlue = 1; - togl->AccumAlpha = 1; - togl->AlphaFlag = False; - togl->AlphaSize = 1; - togl->StencilFlag = False; - togl->StencilSize = 1; - togl->OverlayFlag = False; - togl->Stereo = TOGL_STEREO_NONE; - togl->EyeSeparation = 0; - togl->Convergence = 0; - togl->riStencilBit = 0; - togl->AuxNumber = 0; - togl->Indirect = False; - togl->PixelFormat = 0; - togl->SwapInterval = 1; - togl->MultisampleFlag = False; - togl->FullscreenFlag = False; - togl->PbufferFlag = False; - togl->LargestPbufferFlag = False; -#if defined(TOGL_X11) - togl->fbcfg = None; - togl->pbuf = None; -#elif defined(TOGL_WGL) - togl->pbuf = None; - togl->pbufferLost = 0; -#elif defined(TOGL_AGL) - togl->pbuf = NULL; -#elif defined(TOGL_NSOPENGL) - togl->pbuf = NULL; -#endif - - togl->CreateProc = NULL; - togl->DisplayProc = NULL; - togl->ReshapeProc = NULL; - togl->DestroyProc = NULL; - togl->TimerProc = NULL; - togl->timerHandler = NULL; - togl->OverlayDisplayProc = NULL; - togl->ShareList = NULL; - togl->ShareContext = NULL; - togl->Ident = NULL; - togl->PrivateCmapFlag = False; - togl->currentStereoBuffer = STEREO_BUFFER_NONE; -#ifdef HAVE_AUTOSTEREO - togl->as_initialized = False; - togl->ash = -1; -#endif - togl->badWindow = False; - - /* Create command event handler */ - togl->widgetCmd = Tcl_CreateObjCommand(interp, Tk_PathName(tkwin), - Togl_ObjWidget, (ClientData) togl, ToglCmdDeletedProc); - - /* - * Setup the Tk_ClassProcs callbacks to point at our own window creation - * function - * - * We need to check at runtime if we should use the new Tk_SetClassProcs() - * API or if we need to modify the window structure directly - */ -#ifdef HAVE_TK_SETCLASSPROCS - - if (SetClassProcsPtr != NULL) { /* use public API (Tk 8.4+) */ - Tk_ClassProcs *procsPtr; - - procsPtr = (Tk_ClassProcs *) ckalloc(sizeof (Tk_ClassProcs)); - procsPtr->size = sizeof (Tk_ClassProcs); - procsPtr->createProc = Togl_MakeWindow; - procsPtr->worldChangedProc = Togl_WorldChanged; - procsPtr->modalProc = NULL; - /* Tk_SetClassProcs(togl->TkWin, procsPtr, (ClientData) togl); */ - (SetClassProcsPtr) (togl->TkWin, procsPtr, (ClientData) togl); - } else -#endif - { /* use private API */ - /* - * We need to set these fields in the Tk_FakeWin structure: dummy17 = - * classProcsPtr dummy18 = instanceData */ - TkClassProcs *procsPtr; - Tk_FakeWin *winPtr = (Tk_FakeWin *) (togl->TkWin); - - procsPtr = (TkClassProcs *) ckalloc(sizeof (TkClassProcs)); - procsPtr->createProc = Togl_MakeWindow; - procsPtr->geometryProc = Togl_WorldChanged; - procsPtr->modalProc = NULL; - winPtr->dummy17 = (char *) procsPtr; - winPtr->dummy18 = (ClientData) togl; - } - - Tk_CreateEventHandler(tkwin, ExposureMask | StructureNotifyMask, - Togl_EventProc, (ClientData) togl); - - /* Configure Togl widget */ - if (Tk_InitOptions(interp, WIDGREC togl, tpg->optionTable, tkwin) != TCL_OK - || Togl_ObjConfigure(interp, togl, objc - 2, objv + 2) != TCL_OK) { - goto error; - } - - /* - * If OpenGL window wasn't already created by Togl_ObjConfigure() we - * create it now. We can tell by checking if the OpenGL context has - * been initialized. - */ - if (!togl->Ctx) { - Tk_MakeWindowExist(togl->TkWin); - if (togl->badWindow) { - goto error; - } - } - Togl_MakeCurrent(togl); - if (togl->contextTag == 0) - togl->contextTag = ++tpg->nextContextTag; - - (void) Togl_SwapInterval(togl, togl->SwapInterval); - - /* If defined, call create callback */ - if (togl->CreateProc) { - if (Togl_CallCallback(togl, togl->CreateProc) != TCL_OK) { - goto error; - } - } -#if defined(TOGL_AGL) || defined(TOGL_NSOPENGL) - if (!togl->PbufferFlag) - SetMacBufRect(togl); -#endif - /* If defined, call reshape proc */ - if (togl->ReshapeProc) { - if (Togl_CallCallback(togl, togl->ReshapeProc) != TCL_OK) { - goto error; - } - } else { - glViewport(0, 0, togl->Width, togl->Height); -#if defined(TOGL_X11) - if (togl->OverlayFlag) { - Togl_UseLayer(togl, TOGL_OVERLAY); - glViewport(0, 0, togl->Width, togl->Height); - Togl_UseLayer(togl, TOGL_NORMAL); - } -#endif - } - - if (togl->Stereo && !Togl_EnterStereo(togl)) - goto error; - - Tcl_AppendResult(interp, Tk_PathName(tkwin), NULL); - - /* Add to linked list */ - AddToList(togl); - - return TCL_OK; - - error: - Tcl_SaveResult(interp, &saveError); - togl->badWindow = True; - (void) Tcl_DeleteCommandFromToken(interp, togl->widgetCmd); - Tcl_RestoreResult(interp, &saveError); - Tcl_AppendResult(interp, "\nCouldn't configure togl widget", NULL); - return TCL_ERROR; -} - - -#if TOGL_USE_OVERLAY - -/* - * Do all the setup for overlay planes - * Return: TCL_OK or TCL_ERROR - */ -static int -SetupOverlay(Togl *togl) -{ -# if defined(TOGL_X11) - -# ifdef GLX_TRANSPARENT_TYPE_EXT - static int ovAttributeList[] = { - GLX_BUFFER_SIZE, 2, - GLX_LEVEL, 1, - GLX_TRANSPARENT_TYPE_EXT, GLX_TRANSPARENT_INDEX_EXT, - None - }; -# else - static int ovAttributeList[] = { - GLX_BUFFER_SIZE, 2, - GLX_LEVEL, 1, - None - }; -# endif - - XVisualInfo *visinfo; - TkWindow *winPtr = (TkWindow *) togl->TkWin; - - XSetWindowAttributes swa; - Tcl_HashEntry *hPtr; - int new_flag; - - visinfo = - glXChooseVisual(togl->display, Tk_ScreenNumber(winPtr), - ovAttributeList); - if (!visinfo) { - Tcl_AppendResult(togl->Interp, Tk_PathName(winPtr), - ": No suitable overlay index visual available", NULL); - togl->OverlayCtx = NULL; - togl->OverlayWindow = 0; - togl->OverlayCmap = 0; - return TCL_ERROR; - } -# ifdef GLX_TRANSPARENT_INDEX_EXT - { - int fail = glXGetConfig(togl->display, visinfo, - GLX_TRANSPARENT_INDEX_VALUE_EXT, - &togl->OverlayTransparentPixel); - - if (fail) - togl->OverlayTransparentPixel = 0; /* maybe, maybe ... */ - } -# else - togl->OverlayTransparentPixel = 0; /* maybe, maybe ... */ -# endif - - /* share display lists with normal layer context */ - togl->OverlayCtx = glXCreateContext(togl->display, visinfo, togl->Ctx, - !togl->Indirect); - - swa.colormap = XCreateColormap(togl->display, - XRootWindow(togl->display, visinfo->screen), - visinfo->visual, AllocNone); - togl->OverlayCmap = swa.colormap; - - swa.border_pixel = 0; - swa.event_mask = ALL_EVENTS_MASK; - togl->OverlayWindow = XCreateWindow(togl->display, - Tk_WindowId(togl->TkWin), 0, 0, - togl->Width, togl->Height, 0, - visinfo->depth, InputOutput, - visinfo->visual, CWBorderPixel | CWColormap | CWEventMask, &swa); - - hPtr = Tcl_CreateHashEntry(&winPtr->dispPtr->winTable, - (const char *) togl->OverlayWindow, &new_flag); - Tcl_SetHashValue(hPtr, winPtr); - - /* XMapWindow(togl->display, togl->OverlayWindow); */ - togl->OverlayIsMapped = False; - - /* Make sure window manager installs our colormap */ - XSetWMColormapWindows(togl->display, togl->OverlayWindow, - &togl->OverlayWindow, 1); - - return TCL_OK; - -# elif defined(TOGL_WGL) || defined(TOGL_AGL) || defined(TOGL_NSOPENGL) - /* not yet implemented on these */ - return TCL_ERROR; -# endif -} - -#endif /* TOGL_USE_OVERLAY */ - - - -#ifdef TOGL_WGL -# define TOGL_CLASS_NAME "Togl Class" -static Bool ToglClassInitialized = False; - -static LRESULT CALLBACK -Win32WinProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) -{ - LONG result; - Togl *togl = (Togl *) GetWindowLongPtr(hwnd, 0); - WNDCLASS childClass; - - switch (message) { - - case WM_WINDOWPOSCHANGED: - /* Should be processed by DefWindowProc, otherwise a double buffered - * context is not properly resized when the corresponding window is - * resized. */ - break; - - case WM_DESTROY: - if (togl && togl->TkWin != NULL) { - if (togl->SetGrid > 0) { - Tk_UnsetGrid(togl->TkWin); - } - (void) Tcl_DeleteCommandFromToken(togl->Interp, togl->widgetCmd); - } - break; - - case WM_ERASEBKGND: - /* We clear our own window */ - return 1; - - case WM_DISPLAYCHANGE: - if (togl->PbufferFlag && hasARBPbuffer && !togl->pbufferLost) { - queryPbuffer(togl->pbuf, WGL_PBUFFER_LOST_ARB, - &togl->pbufferLost); - } - /* FALLTHROUGH */ - - default: -# if USE_STATIC_LIB - return TkWinChildProc(hwnd, message, wParam, lParam); -# else - /* - * OK, since TkWinChildProc is not explicitly exported in the - * dynamic libraries, we have to retrieve it from the class info - * registered with windows. - * - */ - if (tkWinChildProc == NULL) { - GetClassInfo(Tk_GetHINSTANCE(), TK_WIN_CHILD_CLASS_NAME, - &childClass); - tkWinChildProc = childClass.lpfnWndProc; - } - return tkWinChildProc(hwnd, message, wParam, lParam); -# endif - } - result = DefWindowProc(hwnd, message, wParam, lParam); - Tcl_ServiceAll(); - return result; -} -#endif /* TOGL_WGL */ - - -/* - * Togl_MakeWindow - * - * Window creation function, invoked as a callback from Tk_MakeWindowExist. - * This is called instead of TkpMakeWindow and must always succeed. - */ -static Window -Togl_MakeWindow(Tk_Window tkwin, Window parent, ClientData instanceData) -{ - Togl *togl = (Togl *) instanceData; - Display *dpy; - Colormap cmap; - int scrnum; - Window window = None; - -#if defined(TOGL_X11) - Bool directCtx = True; - XSetWindowAttributes swa; - int width, height; -#elif defined(TOGL_WGL) - HWND hwnd, parentWin; - DWORD style; - HINSTANCE hInstance; - PIXELFORMATDESCRIPTOR pfd; - int width, height; - Bool createdPbufferDC = False; -#elif defined(TOGL_AGL) -#endif - - if (togl->badWindow) { - TkWindow *winPtr = (TkWindow *) tkwin; - - return TkpMakeWindow(winPtr, parent); - } - - /* for color index mode photos */ - if (togl->RedMap) - free(togl->RedMap); - if (togl->GreenMap) - free(togl->GreenMap); - if (togl->BlueMap) - free(togl->BlueMap); - togl->RedMap = togl->GreenMap = togl->BlueMap = NULL; - togl->MapSize = 0; - - dpy = Tk_Display(tkwin); - scrnum = Tk_ScreenNumber(tkwin); - - /* - * Windows and Mac OS X need the window created before OpenGL context - * is created. So do that now and set the window variable. - */ -#if defined(TOGL_AGL) || defined(TOGL_NSOPENGL) - { - TkWindow *winPtr = (TkWindow *) tkwin; - - window = TkpMakeWindow(winPtr, parent); - if (!togl->PbufferFlag) - (void) XMapWindow(dpy, window); - } -#elif defined(TOGL_WGL) - hInstance = Tk_GetHINSTANCE(); - if (!ToglClassInitialized) { - WNDCLASS ToglClass; - - ToglClassInitialized = True; - ToglClass.style = CS_HREDRAW | CS_VREDRAW; - ToglClass.cbClsExtra = 0; - ToglClass.cbWndExtra = sizeof (LONG_PTR); /* to save Togl* */ - ToglClass.hInstance = hInstance; - ToglClass.hbrBackground = NULL; - ToglClass.lpszMenuName = NULL; - ToglClass.lpszClassName = TOGL_CLASS_NAME; - ToglClass.lpfnWndProc = Win32WinProc; - ToglClass.hIcon = NULL; - ToglClass.hCursor = NULL; - if (!RegisterClass(&ToglClass)) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "unable register Togl window class", TCL_STATIC); - goto error; - } - } - - /* duplicate tkpMakeWindow logic from tk8.[45]/win/tkWinWindow.c */ - if (parent != None) { - parentWin = Tk_GetHWND(parent); - style = WS_CHILD | WS_CLIPCHILDREN | WS_CLIPSIBLINGS; - } else { - parentWin = NULL; - style = WS_POPUP | WS_CLIPCHILDREN; - } - if (togl->PbufferFlag) { - width = height = 1; /* TODO: demo code mishaves when set to 1000 */ - } else { - width = togl->Width; - height = togl->Height; - } - hwnd = CreateWindowEx(WS_EX_NOPARENTNOTIFY, TOGL_CLASS_NAME, NULL, style, - 0, 0, width, height, parentWin, NULL, hInstance, NULL); - SetWindowPos(hwnd, HWND_TOP, 0, 0, 0, 0, - SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE); - window = Tk_AttachHWND(tkwin, hwnd); - SetWindowLongPtr(hwnd, 0, (LONG_PTR) togl); - if (togl->PbufferFlag) { - ShowWindow(hwnd, SW_HIDE); /* make sure it's hidden */ - } -#endif - - /* - * Figure out which OpenGL context to use - */ - -#ifdef TOGL_WGL - togl->tglGLHdc = GetDC(hwnd); -#endif - if (togl->PixelFormat) { -#if defined(TOGL_X11) - XVisualInfo template; - int count = 0; - - template.visualid = togl->PixelFormat; - togl->VisInfo = XGetVisualInfo(dpy, VisualIDMask, &template, &count); - if (togl->VisInfo == NULL) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "missing visual information", TCL_STATIC); - goto error; - } -#endif - if (!togl_describePixelFormat(togl)) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "couldn't choose pixel format", TCL_STATIC); - goto error; - } - } else { -#if defined(TOGL_X11) - togl->VisInfo = togl_pixelFormat(togl, scrnum); - if (togl->VisInfo == NULL) -#elif defined(TOGL_WGL) || defined(TOGL_AGL) || defined(TOGL_NSOPENGL) -# ifdef TOGL_WGL - togl->PixelFormat = togl_pixelFormat(togl, hwnd); -# elif defined(TOGL_NSOPENGL) - togl->PixelFormat = (void *)togl_pixelFormat(togl); -# else - togl->PixelFormat = (Tcl_WideInt)togl_pixelFormat(togl); -# endif - if (togl->PixelFormat == 0) -#endif - { - goto error; - } - } -#ifdef TOGL_WGL - if (togl->PbufferFlag) { - togl->pbuf = togl_createPbuffer(togl); - if (togl->pbuf == NULL) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "couldn't create pbuffer", TCL_STATIC); - goto error; - } - ReleaseDC(hwnd, togl->tglGLHdc); - togl->tglGLHdc = getPbufferDC(togl->pbuf); - createdPbufferDC = True; - } else if (SetPixelFormat(togl->tglGLHdc, (int) togl->PixelFormat, - NULL) == FALSE) { - Tcl_SetResult(togl->Interp, TCL_STUPID "couldn't set pixel format", - TCL_STATIC); - goto error; - } -#endif -#if defined(TOGL_WGL) || defined(TOGL_AGL) || defined(TOGL_NSOPENGL) - if (togl->VisInfo == NULL) { - /* - * Create a new OpenGL rendering context. And check to share lists. - */ - Visual *visual; - - /* Just for portability, define the simplest visinfo */ - visual = DefaultVisual(dpy, scrnum); - togl->VisInfo = (XVisualInfo *) calloc(1, sizeof (XVisualInfo)); - togl->VisInfo->screen = scrnum; - togl->VisInfo->visual = visual; - togl->VisInfo->visualid = visual->visualid; -# if defined(__cplusplus) || defined(c_plusplus) - togl->VisInfo->c_class = visual->c_class; -# else - togl->VisInfo->class = visual->class; -# endif - togl->VisInfo->depth = visual->bits_per_rgb; - } -#endif - -#if defined(TOGL_X11) - if (togl->Indirect) { - directCtx = False; - } -#endif - - /* - * Create a new OpenGL rendering context. - */ -#if defined(TOGL_X11) - if (togl->ShareList) { - /* share display lists with existing togl widget */ - Togl *shareWith = FindTogl(togl, togl->ShareList); - GLXContext shareCtx; - int error_code; - - if (shareWith) { - shareCtx = shareWith->Ctx; - togl->contextTag = shareWith->contextTag; - } else { - shareCtx = None; - } - if (shareCtx) { - togl_SetupXErrorHandler(); - } - togl->Ctx = glXCreateContext(dpy, togl->VisInfo, shareCtx, directCtx); - if (shareCtx && (error_code = togl_CheckForXError(togl))) { - char buf[256]; - - togl->Ctx = NULL; - XGetErrorText(dpy, error_code, buf, sizeof buf); - Tcl_AppendResult(togl->Interp, - "unable to share display lists: ", buf, NULL); - goto error; - } - } else { - if (togl->ShareContext && FindTogl(togl, togl->ShareContext)) { - /* share OpenGL context with existing Togl widget */ - Togl *shareWith = FindTogl(togl, togl->ShareContext); - - if (togl->VisInfo->visualid != shareWith->VisInfo->visualid) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "unable to share OpenGL context", - TCL_STATIC); - goto error; - } - togl->Ctx = shareWith->Ctx; - } else { - /* don't share display lists */ - togl->ShareContext = False; - togl->Ctx = glXCreateContext(dpy, togl->VisInfo, None, directCtx); - } - } -#elif defined(TOGL_WGL) - if (togl->ShareContext && FindTogl(togl, togl->ShareContext)) { - /* share OpenGL context with existing Togl widget */ - Togl *shareWith = FindTogl(togl, togl->ShareContext); - - if (togl->PixelFormat != shareWith->PixelFormat) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "unable to share OpenGL context", TCL_STATIC); - goto error; - } - togl->Ctx = shareWith->Ctx; - } else { - togl->Ctx = wglCreateContext(togl->tglGLHdc); - } - - if (togl->ShareList) { - /* share display lists with existing togl widget */ - Togl *shareWith = FindTogl(togl, togl->ShareList); - - if (shareWith) { - if (!wglShareLists(shareWith->Ctx, togl->Ctx)) { -# if 0 - LPVOID lpMsgBuf; - DWORD err = GetLastError(); - - FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | - FORMAT_MESSAGE_FROM_SYSTEM, - NULL, err, - MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), - (LPTSTR) &lpMsgBuf, 0, NULL); - fprintf(stderr, "unable to share display lists: %d: %s\n", - err, lpMsgBuf); - LocalFree(lpMsgBuf); -# endif - Tcl_SetResult(togl->Interp, - TCL_STUPID "unable to share display lists", TCL_STATIC); - goto error; - } - togl->contextTag = shareWith->contextTag; - } - } -#elif defined(TOGL_AGL) - AGLContext shareCtx = NULL; - - if (togl->ShareList) { - /* share display lists with existing togl widget */ - Togl *shareWith = FindTogl(togl, togl->ShareList); - - if (shareWith) { - shareCtx = shareWith->Ctx; - togl->contextTag = shareWith->contextTag; - } - } - if (togl->ShareContext && FindTogl(togl, togl->ShareContext)) { - /* share OpenGL context with existing Togl widget */ - Togl *shareWith = FindTogl(togl, togl->ShareContext); - - if (togl->PixelFormat != shareWith->PixelFormat) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "unable to share OpenGL context", TCL_STATIC); - goto error; - } - togl->Ctx = shareWith->Ctx; - } else if ((togl->Ctx = aglCreateContext((AGLPixelFormat) togl->PixelFormat, - shareCtx)) == NULL) { - GLenum err = aglGetError(); - - aglDestroyPixelFormat((AGLPixelFormat) togl->PixelFormat); - togl->PixelFormat = 0; - if (err == AGL_BAD_MATCH) - Tcl_SetResult(togl->Interp, - TCL_STUPID "unable to share display lists" - ": shared context doesn't match", TCL_STATIC); - else if (err == AGL_BAD_CONTEXT) - Tcl_SetResult(togl->Interp, - TCL_STUPID "unable to share display lists" - ": bad shared context", TCL_STATIC); - else if (err == AGL_BAD_PIXELFMT) - Tcl_SetResult(togl->Interp, - TCL_STUPID "could not create rendering context" - ": bad pixel format", TCL_STATIC); - else - Tcl_SetResult(togl->Interp, - TCL_STUPID "could not create rendering context" - ": unknown reason", TCL_STATIC); - goto error; - } - if (!togl->PbufferFlag) { -#if defined(TOGL_COCOA) - /* - * Can't use - WindowRef r = Togl_MacOSXGetDrawableWindow(togl->TkWin); - * because Tk window drawable is not set until Togl_MakeWindow() - * routine returns. - */ - WindowRef r = TkMacOSXDrawableWindowRef(window); - GLboolean set = aglSetWindowRef(togl->Ctx, r); -#else - GLboolean set = aglSetDrawable(togl->Ctx, Togl_MacOSXGetDrawablePort(togl)); -#endif - if (!set) { - /* aglSetDrawable is deprecated in OS X 10.5 */ - aglDestroyContext(togl->Ctx); - togl->Ctx = NULL; - aglDestroyPixelFormat((AGLPixelFormat) togl->PixelFormat); - togl->PixelFormat = 0; - Tcl_SetResult(togl->Interp, - TCL_STUPID "couldn't set drawable", TCL_STATIC); - goto error; - } - } -#elif defined(TOGL_NSOPENGL) - NSOpenGLContext *shareCtx = NULL; - if (togl->ShareList) { - /* share display lists with existing togl widget */ - Togl *shareWith = FindTogl(togl, togl->ShareList); - - if (shareWith) { - shareCtx = shareWith->Ctx; - togl->contextTag = shareWith->contextTag; - } - } - if (togl->ShareContext && FindTogl(togl, togl->ShareContext)) { - /* share OpenGL context with existing Togl widget */ - Tcl_SetResult(togl->Interp, - TCL_STUPID "unable to share NSOpenGL context", TCL_STATIC); - goto error; - /* - Togl *shareWith = FindTogl(togl, togl->ShareContext); - - if (togl->PixelFormat != shareWith->PixelFormat) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "unable to share OpenGL context", TCL_STATIC); - goto error; - } - togl->Ctx = [[NSOpenGLContext alloc] initWithCGLContextObj:shareWith->Ctx]; - */ - /* initWithCGLContextObj requires Mac OS 10.6 */ - } else { - togl->Ctx = [NSOpenGLContext alloc]; - if ([togl->Ctx initWithFormat:togl->PixelFormat shareContext:shareCtx] - == nil) - { - [togl->PixelFormat release]; - togl->PixelFormat = 0; - Tcl_SetResult(togl->Interp, - TCL_STUPID "Could not obtain OpenGL context", - TCL_STATIC); - goto error; - } - } - - if (!togl->PbufferFlag) { - togl->nsview = [[NSView alloc] initWithFrame:NSZeroRect]; - MacDrawable *d = ((TkWindow *) togl->TkWin)->privatePtr; - NSView *topview = d->toplevel->view; - [topview addSubview:togl->nsview]; - /* TODO: Appears setView has to be deferred until window mapped. - * or it gives "invalid drawable" error. But MapNotify doesn't happen. - * I think toplevel is already mapped. Iconifying and uniconifying - * main window makes the graphics work. - */ - /* [togl->Ctx setView:togl->nsview];*/ - } -#endif - - if (togl->Ctx == NULL) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "could not create rendering context", TCL_STATIC); - goto error; - } -#if defined(TOGL_AGL) || defined(TOGL_NSOPENGL) - CGDisplayRegisterReconfigurationCallback(ReconfigureCB, togl); -#endif - - if (togl->PbufferFlag) { - /* Don't need a colormap, nor overlay, nor be displayed */ -#if defined(TOGL_X11) || defined(TOGL_AGL) || defined(TOGL_NSOPENGL) - togl->pbuf = togl_createPbuffer(togl); - if (!togl->pbuf) { - /* tcl result set in togl_createPbuffer */ -# ifdef TOGL_AGL - if (!togl->ShareContext) { - aglDestroyContext(togl->Ctx); - aglDestroyPixelFormat((AGLPixelFormat) togl->PixelFormat); - } - togl->Ctx = NULL; - togl->PixelFormat = 0; -# endif -# ifdef TOGL_NSOPENGL - if (!togl->ShareContext) { - [togl->Ctx release]; - [togl->PixelFormat release]; - } - togl->Ctx = NULL; - togl->PixelFormat = 0; -# endif - goto error; - } -# ifdef TOGL_X11 - window = TkpMakeWindow((TkWindow *) tkwin, parent); -# endif -#endif - return window; - } -#ifdef TOGL_WGL - DescribePixelFormat(togl->tglGLHdc, (int) togl->PixelFormat, sizeof (pfd), - &pfd); -#endif - - /* - * find a colormap - */ - if (togl->RgbaFlag) { - /* Colormap for RGB mode */ -#if defined(TOGL_X11) - cmap = get_rgb_colormap(dpy, scrnum, togl->VisInfo, tkwin); -#elif defined(TOGL_WGL) - if (pfd.dwFlags & PFD_NEED_PALETTE) { - cmap = Win32CreateRgbColormap(pfd); - } else { - cmap = DefaultColormap(dpy, scrnum); - } -#elif defined(TOGL_AGL) || defined(TOGL_NSOPENGL) - cmap = DefaultColormap(dpy, scrnum); -#endif - } else { - /* Colormap for CI mode */ -#ifdef TOGL_WGL - /* this logic is to overcome a combination driver/compiler bug: (1) - * cColorBits may be unusally large (e.g., 32 instead of 8 or 12) and - * (2) 1 << 32 might be 1 instead of zero (gcc for ia32) */ - if (pfd.cColorBits >= MAX_CI_COLORMAP_BITS) { - togl->CiColormapSize = MAX_CI_COLORMAP_SIZE; - } else { - togl->CiColormapSize = 1 << pfd.cColorBits; - if (togl->CiColormapSize >= MAX_CI_COLORMAP_SIZE) - togl->CiColormapSize = MAX_CI_COLORMAP_SIZE; - } - -#endif - if (togl->PrivateCmapFlag) { - /* need read/write colormap so user can store own color entries */ -#if defined(TOGL_X11) - cmap = XCreateColormap(dpy, XRootWindow(dpy, togl->VisInfo->screen), - togl->VisInfo->visual, AllocAll); -#elif defined(TOGL_WGL) - cmap = Win32CreateCiColormap(togl); -#elif defined(TOGL_AGL) || defined(TOGL_NSOPENGL) - /* need to figure out how to do this correctly on Mac... */ - cmap = DefaultColormap(dpy, scrnum); -#endif - } else { - if (togl->VisInfo->visual == DefaultVisual(dpy, scrnum)) { - /* share default/root colormap */ - cmap = Tk_Colormap(tkwin); - } else { - /* make a new read-only colormap */ - cmap = XCreateColormap(dpy, - XRootWindow(dpy, togl->VisInfo->screen), - togl->VisInfo->visual, AllocNone); - } - } - } - - /* Make sure Tk knows to switch to the new colormap when the cursor is over - * this window when running in color index mode. */ - (void) Tk_SetWindowVisual(tkwin, togl->VisInfo->visual, - togl->VisInfo->depth, cmap); - -#ifdef TOGL_WGL - /* Install the colormap */ - SelectPalette(togl->tglGLHdc, ((TkWinColormap *) cmap)->palette, TRUE); - RealizePalette(togl->tglGLHdc); -#endif - -#if defined(TOGL_X11) - swa.background_pixmap = None; - swa.border_pixel = 0; - swa.colormap = cmap; - swa.event_mask = ALL_EVENTS_MASK; - if (togl->PbufferFlag) { - width = height = 1; - } else { - width = togl->Width; - height = togl->Height; - } - window = XCreateWindow(dpy, parent, - 0, 0, width, height, - 0, togl->VisInfo->depth, InputOutput, togl->VisInfo->visual, - CWBackPixmap | CWBorderPixel | CWColormap | CWEventMask, &swa); - /* Make sure window manager installs our colormap */ - (void) XSetWMColormapWindows(dpy, window, &window, 1); - - if (!togl->DoubleFlag) { - int dbl_flag; - - /* See if we requested single buffering but had to accept a double - * buffered visual. If so, set the GL draw buffer to be the front - * buffer to simulate single buffering. */ - if (glXGetConfig(dpy, togl->VisInfo, GLX_DOUBLEBUFFER, &dbl_flag)) { - if (dbl_flag) { - glXMakeCurrent(dpy, window, togl->Ctx); - glDrawBuffer(GL_FRONT); - glReadBuffer(GL_FRONT); - } - } - } -#elif defined(TOGL_WGL) - if (!togl->DoubleFlag) { - /* See if we requested single buffering but had to accept a double - * buffered visual. If so, set the GL draw buffer to be the front - * buffer to simulate single buffering. */ - if (getPixelFormatAttribiv == NULL) { - /* pfd is already set */ - if ((pfd.dwFlags & PFD_DOUBLEBUFFER) != 0) { - wglMakeCurrent(togl->tglGLHdc, togl->Ctx); - glDrawBuffer(GL_FRONT); - glReadBuffer(GL_FRONT); - } - } else { - static int attribs[] = { - WGL_DOUBLE_BUFFER_ARB, - }; -# define NUM_ATTRIBS (sizeof attribs / sizeof attribs[0]) - int info[NUM_ATTRIBS]; - - getPixelFormatAttribiv(togl->tglGLHdc, (int) togl->PixelFormat, 0, - NUM_ATTRIBS, attribs, info); -# undef NUM_ATTRIBS - if (info[0]) { - wglMakeCurrent(togl->tglGLHdc, togl->Ctx); - glDrawBuffer(GL_FRONT); - glReadBuffer(GL_FRONT); - } - } - } -#endif - -#if TOGL_USE_OVERLAY - if (togl->OverlayFlag) { - if (SetupOverlay(togl) == TCL_ERROR) { - fprintf(stderr, "Warning: couldn't setup overlay.\n"); - togl->OverlayFlag = False; - } - } -#endif - -#if !defined(TOGL_AGL) - /* Request the X window to be displayed */ - (void) XMapWindow(dpy, window); -#endif - - if (!togl->RgbaFlag) { - int index_size; - -#if defined(TOGL_X11) || defined(TOGL_AGL) || defined(TOGL_NSOPENGL) - GLint index_bits; - - glGetIntegerv(GL_INDEX_BITS, &index_bits); - index_size = 1 << index_bits; -#elif defined(TOGL_WGL) - index_size = togl->CiColormapSize; -#endif - if (togl->MapSize != index_size) { - if (togl->RedMap) - free(togl->RedMap); - if (togl->GreenMap) - free(togl->GreenMap); - if (togl->BlueMap) - free(togl->BlueMap); - togl->MapSize = index_size; - togl->RedMap = (GLfloat *) calloc(index_size, sizeof (GLfloat)); - togl->GreenMap = (GLfloat *) calloc(index_size, sizeof (GLfloat)); - togl->BlueMap = (GLfloat *) calloc(index_size, sizeof (GLfloat)); - } - } -#ifdef HAVE_AUTOSTEREO - if (togl->Stereo == TOGL_STEREO_NATIVE) { - if (!togl->as_initialized) { - const char *autostereod; - - togl->as_initialized = True; - if ((autostereod = getenv("AUTOSTEREOD")) == NULL) - autostereod = AUTOSTEREOD; - if (autostereod && *autostereod) { - if (ASInitialize(togl->display, autostereod) == Success) { - togl->ash = ASCreatedStereoWindow(dpy); - } - } - } else { - togl->ash = ASCreatedStereoWindow(dpy); - } - } -#endif - - return window; - - error: - - togl->badWindow = True; - -#if defined(TOGL_X11) - if (window == None) { - TkWindow *winPtr = (TkWindow *) tkwin; - - window = TkpMakeWindow(winPtr, parent); - } -#elif defined(TOGL_WGL) - if (togl->tglGLHdc) { - if (createdPbufferDC) - releasePbufferDC(togl->pbuf, togl->tglGLHdc); - else - ReleaseDC(hwnd, togl->tglGLHdc); - togl->tglGLHdc = NULL; - } -#endif - return window; -} - -/* - * Togl_WorldChanged - * - * Add support for setgrid option. - */ -static void -Togl_WorldChanged(ClientData instanceData) -{ - Togl *togl = (Togl *) instanceData; - int width; - int height; - - if (togl->PbufferFlag) - width = height = 1; - else { - width = togl->Width; - height = togl->Height; - } - Tk_GeometryRequest(togl->TkWin, width, height); - Tk_SetInternalBorder(togl->TkWin, 0); - if (togl->SetGrid > 0) { - Tk_SetGrid(togl->TkWin, width / togl->SetGrid, - height / togl->SetGrid, togl->SetGrid, togl->SetGrid); - } else { - Tk_UnsetGrid(togl->TkWin); - } -} - -/* - * ToglFree - * - * Wrap the ckfree macro. - */ -static void -ToglFree(char *clientData) -{ - ckfree(clientData); -} - -/* - * ToglCmdDeletedProc - * - * This procedure is invoked when a widget command is deleted. If - * the widget isn't already in the process of being destroyed, - * this command destroys it. - * - * Results: - * None. - * - * Side effects: - * The widget is destroyed. - * - *---------------------------------------------------------------------- - */ -static void -ToglCmdDeletedProc(ClientData clientData) -{ - Togl *togl = (Togl *) clientData; - Tk_Window tkwin = togl->TkWin; - - /* - * This procedure could be invoked either because the window was - * destroyed and the command was then deleted (in which case tkwin - * is NULL) or because the command was deleted, and then this procedure - * destroys the widget. - */ - - if (tkwin) { - Tk_DeleteEventHandler(tkwin, ExposureMask | StructureNotifyMask, - Togl_EventProc, (ClientData) togl); - } - - Tk_Preserve((ClientData) togl); - Tcl_EventuallyFree((ClientData) togl, ToglFree); - - Togl_LeaveStereo(togl, togl->Stereo); - - if (togl->DestroyProc) { - /* call user's cleanup code */ - Togl_CallCallback(togl, togl->DestroyProc); - } - - if (togl->TimerProc != NULL) { - Tcl_DeleteTimerHandler(togl->timerHandler); - togl->timerHandler = NULL; - } - if (togl->UpdatePending) { - Tcl_CancelIdleCall(Togl_Render, (ClientData) togl); - togl->UpdatePending = False; - } -#ifndef NO_TK_CURSOR - if (togl->Cursor != None) { - Tk_FreeCursor(togl->display, togl->Cursor); - togl->Cursor = None; - } -#endif - - /* remove from linked list */ - RemoveFromList(togl); - - togl->TkWin = NULL; - if (tkwin != NULL) { - - if (togl->Ctx) { - if (FindToglWithSameContext(togl) == NULL) { -#if defined(TOGL_X11) - glXDestroyContext(togl->display, togl->Ctx); -#elif defined(TOGL_WGL) - wglDeleteContext(togl->Ctx); -#elif defined(TOGL_AGL) - aglDestroyContext(togl->Ctx); - CGDisplayRemoveReconfigurationCallback(ReconfigureCB, togl); -#elif defined(TOGL_NSOPENGL) - [togl->Ctx release]; - togl->Ctx = nil; - [togl->nsview release]; - togl->nsview = nil; - CGDisplayRemoveReconfigurationCallback(ReconfigureCB, togl); -#endif -#if defined(TOGL_X11) - XFree(togl->VisInfo); -#else - free(togl->VisInfo); -#endif - } -#if defined(TOGL_WGL) - if (togl->tglGLHdc) { - if (togl->PbufferFlag) { - releasePbufferDC(togl->pbuf, togl->tglGLHdc); - } else { - HWND hwnd = Tk_GetHWND(Tk_WindowId(tkwin)); - - ReleaseDC(hwnd, togl->tglGLHdc); - } - togl->tglGLHdc = NULL; - } -#endif - if (togl->PbufferFlag && togl->pbuf) { - togl_destroyPbuffer(togl); - togl->pbuf = 0; - } - togl->Ctx = NULL; - togl->VisInfo = NULL; - } -#if defined(TOGL_X11) -# if TOGL_USE_OVERLAY - if (togl->OverlayCtx) { - Tcl_HashEntry *entryPtr; - TkWindow *winPtr = (TkWindow *) tkwin; - - if (winPtr) { - entryPtr = Tcl_FindHashEntry(&winPtr->dispPtr->winTable, - (const char *) togl->OverlayWindow); - Tcl_DeleteHashEntry(entryPtr); - } - if (FindToglWithSameOverlayContext(togl) == NULL) - glXDestroyContext(togl->display, togl->OverlayCtx); - togl->OverlayCtx = NULL; - } -# endif /* TOGL_USE_OVERLAY */ -#endif - - if (togl->SetGrid > 0) { - Tk_UnsetGrid(tkwin); - } - Tk_DestroyWindow(tkwin); - } - - Tk_Release((ClientData) togl); -} - - -/* - * This gets called to track top level position changes for - * row interleaved stereo. - */ -static void -Togl_RedisplayProc(ClientData clientData, XEvent *eventPtr) -{ - Togl *togl = (Togl *) clientData; - - switch (eventPtr->type) { - case ConfigureNotify: - Togl_PostRedisplay(togl); - break; - } -} - - -/* - * This gets called to handle Togl window configuration events - */ -static void -Togl_EventProc(ClientData clientData, XEvent *eventPtr) -{ - Togl *togl = (Togl *) clientData; - - switch (eventPtr->type) { - case Expose: - if (eventPtr->xexpose.count == 0) { - if (!togl->UpdatePending - && eventPtr->xexpose.window == Tk_WindowId(togl->TkWin)) { - Togl_PostRedisplay(togl); - } -#if defined(TOGL_X11) - if (!togl->OverlayUpdatePending && togl->OverlayFlag - && togl->OverlayIsMapped - && eventPtr->xexpose.window == togl->OverlayWindow) { - Togl_PostOverlayRedisplay(togl); - } -#endif -#if defined(TOGL_NSOPENGL) - [togl->Ctx setView:togl->nsview]; - SetMacBufRect(togl); -#endif - } - break; - case ConfigureNotify: - if (togl->PbufferFlag) - break; - if (togl->Width == Tk_Width(togl->TkWin) - && togl->Height == Tk_Height(togl->TkWin)) { - -#if defined(TOGL_AGL) || defined(TOGL_NSOPENGL) - // Even though the size hasn't changed, - // it's position on the screen may have. - SetMacBufRect(togl); -#endif - break; - } - togl->Width = Tk_Width(togl->TkWin); - togl->Height = Tk_Height(togl->TkWin); - (void) XResizeWindow(Tk_Display(togl->TkWin), - Tk_WindowId(togl->TkWin), togl->Width, togl->Height); -#if defined(TOGL_X11) - if (togl->OverlayFlag) { - (void) XResizeWindow(Tk_Display(togl->TkWin), - togl->OverlayWindow, togl->Width, togl->Height); - (void) XRaiseWindow(Tk_Display(togl->TkWin), togl->OverlayWindow); - } -#endif - -#if defined(TOGL_AGL) || defined(TOGL_NSOPENGL) - SetMacBufRect(togl); -#endif - - Togl_MakeCurrent(togl); - if (togl->ReshapeProc) { - (void) Togl_CallCallback(togl, togl->ReshapeProc); - } else { - glViewport(0, 0, togl->Width, togl->Height); -#if defined(TOGL_X11) - if (togl->OverlayFlag) { - Togl_UseLayer(togl, TOGL_OVERLAY); - glViewport(0, 0, togl->Width, togl->Height); - Togl_UseLayer(togl, TOGL_NORMAL); - } -#endif - } - break; - case MapNotify: -#if defined(TOGL_AGL) - if (!togl->PbufferFlag) { - /* - * See comment for the UnmapNotify case below. - */ - -#if defined(TOGL_COCOA) - WindowRef w = Togl_MacOSXGetDrawableWindow(togl->TkWin); - aglSetWindowRef(togl->Ctx, w); -#else - AGLDrawable d = Togl_MacOSXGetDrawablePort(togl); - /* aglSetDrawable is deprecated in OS X 10.5 */ - aglSetDrawable(togl->Ctx, d); -#endif - SetMacBufRect(togl); - } -#endif -#if defined(TOGL_NSOPENGL) - if (!togl->PbufferFlag) { - /* - * See comment for the UnmapNotify case below. - */ - [togl->Ctx setView:togl->nsview]; - SetMacBufRect(togl); - } -#endif - break; - case UnmapNotify: -#if defined(TOGL_AGL) - if (!togl->PbufferFlag) { - /* - * For Mac OS X Aqua, Tk subwindows are not implemented as - * separate Aqua windows. They are just different regions of - * a single Aqua window. To unmap them they are just not drawn. - * Have to disconnect the AGL context otherwise they will continue - * to be displayed directly by Aqua. - */ -#if defined(TOGL_COCOA) - aglSetWindowRef(togl->Ctx, NULL); -#else - /* aglSetDrawable is deprecated in OS X 10.5 */ - aglSetDrawable(togl->Ctx, NULL); -#endif - } -#endif -#if defined(TOGL_NSOPENGL) - if (!togl->PbufferFlag) { - /* - * For Mac OS X Aqua, Tk subwindows are not implemented as - * separate Aqua windows. They are just different regions of - * a single Aqua window. To unmap them they are just not drawn. - * Have to disconnect the NSView otherwise they will continue - * to be displayed directly by Aqua. - */ - [togl->Ctx clearDrawable]; - } -#endif - break; - case DestroyNotify: - if (togl->TkWin != NULL) { -#ifdef TOGL_WGL - HWND hwnd = Tk_GetHWND(Tk_WindowId(togl->TkWin)); - - /* Prevent Win32WinProc from calling Tcl_DeleteCommandFromToken - * a second time */ - SetWindowLongPtr(hwnd, 0, (LONG_PTR) 0); -#endif - if (togl->SetGrid > 0) { - Tk_UnsetGrid(togl->TkWin); - } - (void) Tcl_DeleteCommandFromToken(togl->Interp, togl->widgetCmd); - } - break; - default: - /* nothing */ - ; - } -} - - -void -Togl_PostRedisplay(Togl *togl) -{ - if (!togl->UpdatePending) { - togl->UpdatePending = True; - Tk_DoWhenIdle(Togl_Render, (ClientData) togl); - } -} - - -Bool -Togl_UpdatePending(const Togl *togl) -{ - return togl->UpdatePending; -} - - -void -Togl_SwapBuffers(const Togl *togl) -{ - if (togl->DoubleFlag) { -#if defined(TOGL_WGL) - int res = SwapBuffers(togl->tglGLHdc); - - if (!res) { - ErrorExit(TEXT("SwapBuffers")); - } -#elif defined(TOGL_X11) - glXSwapBuffers(Tk_Display(togl->TkWin), Tk_WindowId(togl->TkWin)); -#elif defined(TOGL_AGL) - aglSwapBuffers(togl->Ctx); -#elif defined(TOGL_NSOPENGL) - [togl->Ctx flushBuffer]; -#endif - } else { - glFlush(); - } -} - - - -const char * -Togl_Ident(const Togl *togl) -{ - return togl->Ident; -} - - -int -Togl_Width(const Togl *togl) -{ - return togl->Width; -} - - -int -Togl_Height(const Togl *togl) -{ - return togl->Height; -} - - -Tcl_Interp * -Togl_Interp(const Togl *togl) -{ - return togl->Interp; -} - - -Tk_Window -Togl_TkWin(const Togl *togl) -{ - return togl->TkWin; -} - - -const char * -Togl_CommandName(const Togl *togl) -{ - return Tcl_GetCommandName(togl->Interp, togl->widgetCmd); -} - -int -Togl_ContextTag(const Togl *togl) -{ - return togl->contextTag; -} - -Bool -Togl_HasRGBA(const Togl *togl) -{ - return togl->RgbaFlag; -} - -Bool -Togl_IsDoubleBuffered(const Togl *togl) -{ - return togl->DoubleFlag; -} - -Bool -Togl_HasDepthBuffer(const Togl *togl) -{ - return togl->DepthFlag; -} - -Bool -Togl_HasAccumulationBuffer(const Togl *togl) -{ - return togl->AccumFlag; -} - -Bool -Togl_HasDestinationAlpha(const Togl *togl) -{ - return togl->AlphaFlag; -} - -Bool -Togl_HasStencilBuffer(const Togl *togl) -{ - return togl->StencilFlag; -} - -int -Togl_StereoMode(const Togl *togl) -{ - return togl->Stereo; -} - -Bool -Togl_HasMultisample(const Togl *togl) -{ - return togl->MultisampleFlag; -} - - -#if defined(TOGL_X11) -/* - * A replacement for XAllocColor. This function should never - * fail to allocate a color. When XAllocColor fails, we return - * the nearest matching color. If we have to allocate many colors - * this function isn't too efficient; the XQueryColors() could be - * done just once. - * Written by Michael Pichler, Brian Paul, Mark Kilgard - * Input: dpy - X display - * cmap - X colormap - * cmapSize - size of colormap - * In/Out: color - the XColor struct - * Output: exact - 1=exact color match, 0=closest match - */ -static void -noFaultXAllocColor(Display *dpy, Colormap cmap, int cmapSize, - XColor *color, int *exact) -{ - XColor *ctable, subColor; - int i, bestmatch; - double mindist; /* 3*2^16^2 exceeds long int precision. */ - - /* First try just using XAllocColor. */ - if (XAllocColor(dpy, cmap, color)) { - *exact = 1; - return; - } - - /* Retrieve color table entries. */ - /* XXX alloca candidate. */ - ctable = (XColor *) ckalloc(cmapSize * sizeof (XColor)); - for (i = 0; i < cmapSize; i++) { - ctable[i].pixel = i; - } - (void) XQueryColors(dpy, cmap, ctable, cmapSize); - - /* Find best match. */ - bestmatch = -1; - mindist = 0; - for (i = 0; i < cmapSize; i++) { - double dr = (double) color->red - (double) ctable[i].red; - double dg = (double) color->green - (double) ctable[i].green; - double db = (double) color->blue - (double) ctable[i].blue; - double dist = dr * dr + dg * dg + db * db; - - if (bestmatch < 0 || dist < mindist) { - bestmatch = i; - mindist = dist; - } - } - - /* Return result. */ - subColor.red = ctable[bestmatch].red; - subColor.green = ctable[bestmatch].green; - subColor.blue = ctable[bestmatch].blue; - ckfree((char *) ctable); - /* Try to allocate the closest match color. This should only fail if the - * cell is read/write. Otherwise, we're incrementing the cell's reference - * count. */ - if (!XAllocColor(dpy, cmap, &subColor)) { - /* do this to work around a problem reported by Frank Ortega */ - subColor.pixel = (unsigned long) bestmatch; - subColor.red = ctable[bestmatch].red; - subColor.green = ctable[bestmatch].green; - subColor.blue = ctable[bestmatch].blue; - subColor.flags = DoRed | DoGreen | DoBlue; - } - *color = subColor; -} - -#elif defined(TOGL_WGL) - -static UINT -Win32AllocColor(const Togl *togl, float red, float green, float blue) -{ - /* Modified version of XAllocColor emulation of Tk. - returns index, - * instead of color itself - allocates logical palette entry even for - * non-palette devices */ - - TkWinColormap *cmap = (TkWinColormap *) Tk_Colormap(togl->TkWin); - UINT index; - COLORREF newColor, closeColor; - PALETTEENTRY entry, closeEntry; - int isNew, refCount; - Tcl_HashEntry *entryPtr; - - entry.peRed = (unsigned char) (red * 255 + .5); - entry.peGreen = (unsigned char) (green * 255 + .5); - entry.peBlue = (unsigned char) (blue * 255 + .5); - entry.peFlags = 0; - - /* - * Find the nearest existing palette entry. - */ - - newColor = RGB(entry.peRed, entry.peGreen, entry.peBlue); - index = GetNearestPaletteIndex(cmap->palette, newColor); - GetPaletteEntries(cmap->palette, index, 1, &closeEntry); - closeColor = RGB(closeEntry.peRed, closeEntry.peGreen, closeEntry.peBlue); - - /* - * If this is not a duplicate and colormap is not full, allocate a new entry. - */ - - if (newColor != closeColor) { - if (cmap->size == (unsigned int) togl->CiColormapSize) { - entry = closeEntry; - } else { - cmap->size++; - ResizePalette(cmap->palette, cmap->size); - index = cmap->size - 1; - SetPaletteEntries(cmap->palette, index, 1, &entry); - SelectPalette(togl->tglGLHdc, cmap->palette, TRUE); - RealizePalette(togl->tglGLHdc); - } - } - newColor = PALETTERGB(entry.peRed, entry.peGreen, entry.peBlue); - entryPtr = Tcl_CreateHashEntry(&cmap->refCounts, - (CONST char *) newColor, &isNew); - if (isNew) { - refCount = 1; - } else { - refCount = ((int) Tcl_GetHashValue(entryPtr)) + 1; - } - Tcl_SetHashValue(entryPtr, (ClientData) refCount); - - /* for color index mode photos */ - togl->RedMap[index] = (GLfloat) (entry.peRed / 255.0); - togl->GreenMap[index] = (GLfloat) (entry.peGreen / 255.0); - togl->BlueMap[index] = (GLfloat) (entry.peBlue / 255.0); - return index; -} - -static void -Win32FreeColor(const Togl *togl, unsigned long index) -{ - TkWinColormap *cmap = (TkWinColormap *) Tk_Colormap(togl->TkWin); - COLORREF cref; - UINT count, refCount; - PALETTEENTRY entry, *entries; - Tcl_HashEntry *entryPtr; - - if (index >= cmap->size) { - panic("Tried to free a color that isn't allocated."); - } - GetPaletteEntries(cmap->palette, index, 1, &entry); - - cref = PALETTERGB(entry.peRed, entry.peGreen, entry.peBlue); - entryPtr = Tcl_FindHashEntry(&cmap->refCounts, (CONST char *) cref); - if (!entryPtr) { - panic("Tried to free a color that isn't allocated."); - } - refCount = (int) Tcl_GetHashValue(entryPtr) - 1; - if (refCount == 0) { - count = cmap->size - index; - entries = (PALETTEENTRY *) ckalloc(sizeof (PALETTEENTRY) * count); - GetPaletteEntries(cmap->palette, index + 1, count, entries); - SetPaletteEntries(cmap->palette, index, count, entries); - SelectPalette(togl->tglGLHdc, cmap->palette, TRUE); - RealizePalette(togl->tglGLHdc); - ckfree((char *) entries); - cmap->size--; - Tcl_DeleteHashEntry(entryPtr); - } else { - Tcl_SetHashValue(entryPtr, (ClientData) refCount); - } -} - -static void -Win32SetColor(const Togl *togl, - unsigned long index, float red, float green, float blue) -{ - TkWinColormap *cmap = (TkWinColormap *) Tk_Colormap(togl->TkWin); - PALETTEENTRY entry; - - entry.peRed = (unsigned char) (red * 255 + .5); - entry.peGreen = (unsigned char) (green * 255 + .5); - entry.peBlue = (unsigned char) (blue * 255 + .5); - entry.peFlags = 0; - SetPaletteEntries(cmap->palette, index, 1, &entry); - SelectPalette(togl->tglGLHdc, cmap->palette, TRUE); - RealizePalette(togl->tglGLHdc); - - /* for color index mode photos */ - togl->RedMap[index] = (GLfloat) (entry.peRed / 255.0); - togl->GreenMap[index] = (GLfloat) (entry.peGreen / 255.0); - togl->BlueMap[index] = (GLfloat) (entry.peBlue / 255.0); -} -#endif /* TOGL_X11 */ - - -unsigned long -Togl_AllocColor(const Togl *togl, float red, float green, float blue) -{ - if (togl->RgbaFlag) { - (void) fprintf(stderr, - "Error: Togl_AllocColor illegal in RGBA mode.\n"); - return 0; - } - /* TODO: maybe not... */ - if (togl->PrivateCmapFlag) { - (void) fprintf(stderr, - "Error: Togl_AllocColor illegal with private colormap\n"); - return 0; - } -#if defined(TOGL_X11) - { - XColor xcol; - int exact; - - xcol.red = (short) (red * 65535.0); - xcol.green = (short) (green * 65535.0); - xcol.blue = (short) (blue * 65535.0); - - noFaultXAllocColor(Tk_Display(togl->TkWin), Tk_Colormap(togl->TkWin), - Tk_Visual(togl->TkWin)->map_entries, &xcol, &exact); - /* for color index mode photos */ - togl->RedMap[xcol.pixel] = (float) xcol.red / 65535.0; - togl->GreenMap[xcol.pixel] = (float) xcol.green / 65535.0; - togl->BlueMap[xcol.pixel] = (float) xcol.blue / 65535.0; - - return xcol.pixel; - } - -#elif defined(TOGL_WGL) - return Win32AllocColor(togl, red, green, blue); - -#elif defined(TOGL_AGL) || defined(TOGL_NSOPENGL) - /* still need to implement this on Mac... */ - return 0; - -#endif -} - - - -void -Togl_FreeColor(const Togl *togl, unsigned long pixel) -{ - if (togl->RgbaFlag) { - (void) fprintf(stderr, "Error: Togl_FreeColor illegal in RGBA mode.\n"); - return; - } - /* TODO: maybe not... */ - if (togl->PrivateCmapFlag) { - (void) fprintf(stderr, - "Error: Togl_FreeColor illegal with private colormap\n"); - return; - } -#if defined(TOGL_X11) - (void) XFreeColors(Tk_Display(togl->TkWin), Tk_Colormap(togl->TkWin), - &pixel, 1, 0); -#elif defined(TOGL_WGL) - Win32FreeColor(togl, pixel); -#endif -} - - - -void -Togl_SetColor(const Togl *togl, - unsigned long index, float red, float green, float blue) -{ - - if (togl->RgbaFlag) { - (void) fprintf(stderr, "Error: Togl_SetColor illegal in RGBA mode.\n"); - return; - } - if (!togl->PrivateCmapFlag) { - (void) fprintf(stderr, - "Error: Togl_SetColor requires a private colormap\n"); - return; - } -#if defined(TOGL_X11) - { - XColor xcol; - - xcol.pixel = index; - xcol.red = (short) (red * 65535.0); - xcol.green = (short) (green * 65535.0); - xcol.blue = (short) (blue * 65535.0); - xcol.flags = DoRed | DoGreen | DoBlue; - - (void) XStoreColor(Tk_Display(togl->TkWin), Tk_Colormap(togl->TkWin), - &xcol); - - /* for color index mode photos */ - togl->RedMap[xcol.pixel] = (float) xcol.red / 65535.0; - togl->GreenMap[xcol.pixel] = (float) xcol.green / 65535.0; - togl->BlueMap[xcol.pixel] = (float) xcol.blue / 65535.0; - } -#elif defined(TOGL_WGL) - Win32SetColor(togl, index, red, green, blue); -#endif -} - - -Tcl_Obj * -Togl_LoadBitmapFont(const Togl *togl, const char *fontname) -{ - return NULL; -} - -int -Togl_UnloadBitmapFont(const Togl *togl, Tcl_Obj *bitmapfont) -{ - return TCL_OK; -} - -int -Togl_WriteObj(const Togl *togl, const Tcl_Obj *toglfont, Tcl_Obj *obj) -{ - return -1; -} - -int -Togl_WriteChars(const Togl *togl, const Tcl_Obj *toglfont, const char *str, - int len) -{ - return -1; -} - - -/* - * Overlay functions - */ - - -void -Togl_UseLayer(Togl *togl, int layer) -{ - if (layer == TOGL_NORMAL) { -#if defined(TOGL_WGL) - int res = wglMakeCurrent(togl->tglGLHdc, togl->Ctx); - - if (!res) { - ErrorExit(TEXT("wglMakeCurrent")); - } -#elif defined(TOGL_X11) - (void) glXMakeCurrent(Tk_Display(togl->TkWin), - Tk_WindowId(togl->TkWin), togl->Ctx); -#elif defined(TOGL_AGL) - (void) aglSetCurrentContext(togl->Ctx); -#elif defined(TOGL_NSOPENGL) - [togl->Ctx makeCurrentContext]; -#endif - } else if (layer == TOGL_OVERLAY && togl->OverlayWindow) { -#if defined(TOGL_WGL) - int res = wglMakeCurrent(togl->tglGLHdc, togl->tglGLOverlayHglrc); - - if (!res) { - ErrorExit(TEXT("wglMakeCurrent overlay")); - } -#elif defined(TOGL_X11) - (void) glXMakeCurrent(Tk_Display(togl->TkWin), - togl->OverlayWindow, togl->OverlayCtx); -#elif defined(TOGL_AGL) || defined(TOGL_NSOPENGL) -#endif - } else { - /* error */ - } -} - - -void -Togl_ShowOverlay(Togl *togl) -{ -#if defined(TOGL_X11) /* not yet implemented on Windows */ - if (togl->OverlayWindow) { - (void) XMapWindow(Tk_Display(togl->TkWin), togl->OverlayWindow); - (void) XInstallColormap(Tk_Display(togl->TkWin), togl->OverlayCmap); - togl->OverlayIsMapped = True; - } -#endif -} - - -void -Togl_HideOverlay(Togl *togl) -{ - if (togl->OverlayWindow && togl->OverlayIsMapped) { - (void) XUnmapWindow(Tk_Display(togl->TkWin), togl->OverlayWindow); - togl->OverlayIsMapped = False; - } -} - - -void -Togl_PostOverlayRedisplay(Togl *togl) -{ - if (!togl->OverlayUpdatePending - && togl->OverlayWindow && togl->OverlayDisplayProc) { - Tk_DoWhenIdle(Togl_RenderOverlay, (ClientData) togl); - togl->OverlayUpdatePending = True; - } -} - - -int -Togl_ExistsOverlay(const Togl *togl) -{ - return togl->OverlayFlag; -} - - -int -Togl_GetOverlayTransparentValue(const Togl *togl) -{ - return togl->OverlayTransparentPixel; -} - - -int -Togl_IsMappedOverlay(const Togl *togl) -{ - return togl->OverlayFlag && togl->OverlayIsMapped; -} - - -unsigned long -Togl_AllocColorOverlay(const Togl *togl, float red, float green, float blue) -{ -#if defined(TOGL_X11) /* not yet implemented on Windows */ - if (togl->OverlayFlag && togl->OverlayCmap) { - XColor xcol; - - xcol.red = (short) (red * 65535.0); - xcol.green = (short) (green * 65535.0); - xcol.blue = (short) (blue * 65535.0); - if (!XAllocColor(Tk_Display(togl->TkWin), togl->OverlayCmap, &xcol)) - return (unsigned long) -1; - return xcol.pixel; - } -#endif /* TOGL_X11 */ - return (unsigned long) -1; -} - - -void -Togl_FreeColorOverlay(const Togl *togl, unsigned long pixel) -{ -#if defined(TOGL_X11) /* not yet implemented on Windows */ - if (togl->OverlayFlag && togl->OverlayCmap) { - (void) XFreeColors(Tk_Display(togl->TkWin), togl->OverlayCmap, &pixel, - 1, 0); - } -#endif /* TOGL_X11 */ -} - - -/* - * User client data - */ - -ClientData -Togl_GetClientData(const Togl *togl) -{ - return togl->Client_Data; -} - - -void -Togl_SetClientData(Togl *togl, ClientData clientData) -{ - togl->Client_Data = clientData; -} - -int -Togl_CopyContext(const Togl *from, const Togl *to, unsigned mask) -{ -#ifdef TOGL_X11 - int error_code; - int same = (glXGetCurrentContext() == to->Ctx); - - if (same) - (void) glXMakeCurrent(to->display, None, NULL); - togl_SetupXErrorHandler(); - glXCopyContext(from->display, from->Ctx, to->Ctx, mask); - if (error_code = togl_CheckForXError(from)) { - char buf[256]; - - XGetErrorText(from->display, error_code, buf, sizeof buf); - Tcl_AppendResult(from->Interp, "unable to copy context: ", buf, NULL); - return TCL_ERROR; - } -#elif defined(TOGL_WGL) - int same = (wglGetCurrentContext() == to->Ctx); - - if (same) - (void) wglMakeCurrent(to->tglGLHdc, NULL); - if (!wglCopyContext(from->Ctx, to->Ctx, mask)) { - char buf[256]; - - snprintf(buf, sizeof buf, "unable to copy context: %d", GetLastError()); - Tcl_AppendElement(from->Interp, buf); - return TCL_ERROR; - } -#elif defined(TOGL_AGL) - int same = (aglGetCurrentContext() == to->Ctx); - - if (same) - (void) aglSetCurrentContext(NULL); - if (!aglCopyContext(from->Ctx, to->Ctx, mask)) { - Tcl_AppendResult(from->Interp, "unable to copy context: ", - aglErrorString(aglGetError()), NULL); - return TCL_ERROR; - } -#elif defined(TOGL_NSOPENGL) - int same = (from->Ctx == to->Ctx); - - if (same) { - [NSOpenGLContext clearCurrentContext]; - } - [to->Ctx copyAttributesFromContext:from->Ctx withMask:mask]; -#endif - if (same) - Togl_MakeCurrent(to); - return TCL_OK; -} - - -#ifdef MESA_COLOR_HACK -/* - * Let's know how many free colors do we have - */ -# define RLEVELS 5 -# define GLEVELS 9 -# define BLEVELS 5 - -/* to free dithered_rgb_colormap pixels allocated by Mesa */ -static unsigned long *ToglMesaUsedPixelCells = NULL; -static int ToglMesaUsedFreeCells = 0; - -static int -get_free_color_cells(Display *display, int screen, Colormap colormap) -{ - if (!ToglMesaUsedPixelCells) { - XColor xcol; - int i; - int colorsfailed, ncolors = XDisplayCells(display, screen); - - long r, g, b; - - ToglMesaUsedPixelCells = - (unsigned long *) ckalloc(ncolors * sizeof (unsigned long)); - - /* Allocate X colors and initialize color_table[], red_table[], etc */ - /* de Mesa 2.1: xmesa1.c setup_dithered_(...) */ - i = colorsfailed = 0; - for (r = 0; r < RLEVELS; r++) - for (g = 0; g < GLEVELS; g++) - for (b = 0; b < BLEVELS; b++) { - int exact; - - xcol.red = (r * 65535) / (RLEVELS - 1); - xcol.green = (g * 65535) / (GLEVELS - 1); - xcol.blue = (b * 65535) / (BLEVELS - 1); - noFaultXAllocColor(display, colormap, ncolors, - &xcol, &exact); - ToglMesaUsedPixelCells[i++] = xcol.pixel; - if (!exact) { - colorsfailed++; - } - } - ToglMesaUsedFreeCells = i; - - XFreeColors(display, colormap, ToglMesaUsedPixelCells, - ToglMesaUsedFreeCells, 0x00000000); - } - return ToglMesaUsedFreeCells; -} - - -static void -free_default_color_cells(Display *display, Colormap colormap) -{ - if (ToglMesaUsedPixelCells) { - XFreeColors(display, colormap, ToglMesaUsedPixelCells, - ToglMesaUsedFreeCells, 0x00000000); - ckfree((char *) ToglMesaUsedPixelCells); - ToglMesaUsedPixelCells = NULL; - ToglMesaUsedFreeCells = 0; - } -} -#endif - -/* - * Original stereo code contributed by Ben Evans (Ben.Evans@anusf.anu.edu.au) - * and was based on SGI's /usr/share/src/OpenGL/teach/stereo/glwstereo.c, - * which is identical to the 1997/12/1 glwstereo.c code in the CrystalEyes - * Software Development Kit. - */ - -int -Togl_NumEyes(const Togl *togl) -{ - if (togl->Stereo > TOGL_STEREO_ONE_EYE_MAX) - return 2; - return 1; -} - -/* call instead of glDrawBuffer */ -void -Togl_DrawBuffer(Togl *togl, GLenum mode) -{ - if (togl->Stereo <= TOGL_STEREO_ONE_EYE_MAX) { - /* Only drawing a single eye */ - if (togl->currentStereoBuffer != STEREO_BUFFER_NONE) { - glViewport(0, 0, togl->Width, togl->Height); - glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); - togl->currentStereoBuffer = STEREO_BUFFER_NONE; - } - switch (mode) { - case GL_FRONT: - case GL_BACK: - case GL_FRONT_AND_BACK: - break; - case GL_LEFT: - case GL_FRONT_LEFT: - case GL_RIGHT: - case GL_FRONT_RIGHT: - mode = GL_FRONT; - break; - case GL_BACK_LEFT: - case GL_BACK_RIGHT: - mode = GL_BACK; - break; - default: - break; - } - glDrawBuffer(mode); - return; - } - /* called once for each eye */ - switch (mode) { - case GL_FRONT: - case GL_BACK: - case GL_FRONT_AND_BACK: - /* - ** Simultaneous drawing to both left and right buffers isn't - ** really possible if we don't have a stereo capable visual. - ** For now just fall through and use the left buffer. - */ - case GL_LEFT: - case GL_FRONT_LEFT: - case GL_BACK_LEFT: - togl->currentStereoBuffer = STEREO_BUFFER_LEFT; - break; - case GL_RIGHT: - case GL_FRONT_RIGHT: - case GL_BACK_RIGHT: - togl->currentStereoBuffer = STEREO_BUFFER_RIGHT; - break; - default: - break; - } - if (togl->Stereo != TOGL_STEREO_NATIVE) { - switch (mode) { - default: - mode = GL_FRONT; - break; - case GL_BACK: - case GL_BACK_LEFT: - case GL_BACK_RIGHT: - mode = GL_BACK; - break; - } - } - switch (togl->Stereo) { - default: - break; -#ifdef __sgi - case TOGL_STEREO_SGIOLDSTYLE: - glXWaitGL(); /* sync with GL command stream before calling X - */ - XSGISetStereoBuffer(togl->display, Tk_WindowId(togl->TkWin), - togl->currentStereoBuffer); - glXWaitX(); /* sync with X command stream before calling GL - */ - break; -#endif - case TOGL_STEREO_ANAGLYPH: - if (togl->currentStereoBuffer == STEREO_BUFFER_LEFT) - glColorMask(GL_TRUE, GL_FALSE, GL_FALSE, GL_TRUE); - else - glColorMask(GL_FALSE, GL_TRUE, GL_TRUE, GL_TRUE); - glViewport(0, 0, togl->Width, togl->Height); - break; - case TOGL_STEREO_CROSS_EYE: - if (togl->currentStereoBuffer == STEREO_BUFFER_LEFT) - glViewport(togl->Width / 2 + 1, 0, togl->Width / 2, togl->Height); - else - glViewport(0, 0, togl->Width / 2, togl->Height); - break; - case TOGL_STEREO_WALL_EYE: - if (togl->currentStereoBuffer == STEREO_BUFFER_LEFT) - glViewport(0, 0, togl->Width / 2, togl->Height); - else - glViewport(togl->Width / 2 + 1, 0, togl->Width / 2, togl->Height); - break; - case TOGL_STEREO_DTI: - if (togl->currentStereoBuffer == STEREO_BUFFER_LEFT) - glViewport(0, 0, togl->Width / 2, togl->Height); - else - glViewport(togl->Width / 2 + 1, 0, togl->Width / 2, togl->Height); - break; - case TOGL_STEREO_ROW_INTERLEAVED: - glViewport(0, 0, togl->Width, togl->Height); - break; - } - glDrawBuffer(mode); -} - -/* call instead of glClear */ -void -Togl_Clear(const Togl *togl, GLbitfield mask) -{ - GLint stencil_write_mask = 0; - GLint stencil_clear_value = 0; - - switch (togl->Stereo) { - default: - break; - case TOGL_STEREO_CROSS_EYE: - case TOGL_STEREO_WALL_EYE: - case TOGL_STEREO_DTI: - if (togl->currentStereoBuffer != STEREO_BUFFER_LEFT) { - /* Since glViewport does not affect what is cleared (unlike - * glScissor), only clear in left eye */ - return; - } - break; - case TOGL_STEREO_ROW_INTERLEAVED: - if (togl->currentStereoBuffer == STEREO_BUFFER_LEFT) { - if ((mask & GL_STENCIL_BUFFER_BIT) == 0) { - mask |= GL_STENCIL_BUFFER_BIT; - glStencilMask(~0u); - glClearStencil(0); - } else { - glGetIntegerv(GL_STENCIL_WRITEMASK, &stencil_write_mask); - glGetIntegerv(GL_STENCIL_CLEAR_VALUE, &stencil_clear_value); - glStencilMask(stencil_write_mask | togl->riStencilBit); - glClearStencil(stencil_clear_value & ~togl->riStencilBit); - } - } else { - mask &= ~(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); - } - break; - } -#if 0 - /* only needed if we wish to support multi-eye clears */ - if (togl->Stereo > TOGL_STEREO_ONE_EYE_MAX) { - GLenum drawBuffer = togl->currentDrawBuffer; - - switch (drawBuffer) { - case GL_FRONT: - Togl_DrawBuffer(togl, GL_FRONT_RIGHT); - glClear(mask); - Togl_DrawBuffer(togl, drawBuffer); - break; - case GL_BACK: - Togl_DrawBuffer(togl, GL_BACK_RIGHT); - glClear(mask); - Togl_DrawBuffer(togl, drawBuffer); - break; - case GL_FRONT_AND_BACK: - Togl_DrawBuffer(togl, GL_RIGHT); - glClear(mask); - Togl_DrawBuffer(togl, drawBuffer); - break; - case GL_LEFT: - case GL_FRONT_LEFT: - case GL_BACK_LEFT: - case GL_RIGHT: - case GL_FRONT_RIGHT: - case GL_BACK_RIGHT: - default: - break; - } - } -#endif - if (mask != 0) - glClear(mask); - if (togl->Stereo == TOGL_STEREO_ROW_INTERLEAVED) { - int x, y; - - if (togl->currentStereoBuffer == STEREO_BUFFER_LEFT) { - int i; - - /* initialize stencil buffer mask */ - glPushAttrib(GL_COLOR_BUFFER_BIT | GL_ENABLE_BIT - | GL_LINE_BIT | GL_VIEWPORT_BIT); - // 2d projection - glViewport(0, 0, togl->Width, togl->Height); - glMatrixMode(GL_PROJECTION); - glPushMatrix(); - glLoadIdentity(); - glOrtho(0, togl->Width, 0, togl->Height, -1, 1); - glMatrixMode(GL_MODELVIEW); - glPushMatrix(); - glLoadIdentity(); - glTranslatef(0.375f, 0.375f, 0); - glDisable(GL_ALPHA_TEST); - glDisable(GL_COLOR_LOGIC_OP); - glDisable(GL_DEPTH_TEST); - glDisable(GL_DITHER); - glDisable(GL_INDEX_LOGIC_OP); - glDisable(GL_LIGHTING); - glDisable(GL_LINE_SMOOTH); - glDisable(GL_MULTISAMPLE); - glLineWidth(1); - glColorMask(GL_FALSE, GL_FALSE, GL_FALSE, GL_FALSE); - glStencilFunc(GL_ALWAYS, togl->riStencilBit, togl->riStencilBit); - glStencilOp(GL_KEEP, GL_REPLACE, GL_REPLACE); - glBegin(GL_LINES); - for (i = 0; i < togl->Height; i += 2) { - glVertex2i(0, i); - glVertex2i(togl->Width, i); - } - glEnd(); - glMatrixMode(GL_PROJECTION); - glPopMatrix(); - glMatrixMode(GL_MODELVIEW); - glPopMatrix(); - glPopAttrib(); - - if (stencil_write_mask) { - glStencilMask(stencil_write_mask & ~togl->riStencilBit); - } else { - glStencilMask(~togl->riStencilBit); - } - - Tk_GetRootCoords(togl->TkWin, &x, &y); - if ((y + togl->Height) % 2) { - glStencilFunc(GL_NOTEQUAL, togl->riStencilBit, - togl->riStencilBit); - } else { - glStencilFunc(GL_EQUAL, togl->riStencilBit, togl->riStencilBit); - } - } else { - Tk_GetRootCoords(togl->TkWin, &x, &y); - if ((y + togl->Height) % 2) { - glStencilFunc(GL_EQUAL, togl->riStencilBit, togl->riStencilBit); - } else { - glStencilFunc(GL_NOTEQUAL, togl->riStencilBit, - togl->riStencilBit); - } - } - } -} - -/* - * Togl_Frustum and Togl_Ortho: - * - * eyeOffset is the distance from the center line - * and is negative for the left eye and positive for right eye. - * eyeDist and eyeOffset need to be in the same units as your model space. - * In physical space, eyeDist might be 30 inches from the screen - * and eyeDist would be +/- 1.25 inch (for a total interocular distance - * of 2.5 inches). - */ - -void -Togl_Frustum(const Togl *togl, GLdouble left, GLdouble right, - GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) -{ - GLdouble eyeOffset = 0, eyeShift = 0; - - if (togl->Stereo == TOGL_STEREO_LEFT_EYE - || togl->currentStereoBuffer == STEREO_BUFFER_LEFT) - eyeOffset = -togl->EyeSeparation / 2; /* for left eye */ - else if (togl->Stereo == TOGL_STEREO_RIGHT_EYE - || togl->currentStereoBuffer == STEREO_BUFFER_RIGHT) - eyeOffset = togl->EyeSeparation / 2; /* for right eye */ - eyeShift = (togl->Convergence - zNear) * (eyeOffset / togl->Convergence); - - /* compenstate for altered viewports */ - switch (togl->Stereo) { - default: - break; - case TOGL_STEREO_SGIOLDSTYLE: - case TOGL_STEREO_DTI: - /* squished image is expanded, nothing needed */ - break; - case TOGL_STEREO_CROSS_EYE: - case TOGL_STEREO_WALL_EYE:{ - GLdouble delta = (top - bottom) / 2; - - top += delta; - bottom -= delta; - break; - } - } - - glFrustum(left + eyeShift, right + eyeShift, bottom, top, zNear, zFar); - glTranslated(-eyeShift, 0, 0); -} - -void -Togl_Ortho(const Togl *togl, GLdouble left, GLdouble right, - GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) -{ - /* TODO: debug this */ - GLdouble eyeOffset = 0, eyeShift = 0; - - if (togl->currentStereoBuffer == STEREO_BUFFER_LEFT) - eyeOffset = -togl->EyeSeparation / 2; /* for left eye */ - else if (togl->currentStereoBuffer == STEREO_BUFFER_RIGHT) - eyeOffset = togl->EyeSeparation / 2; /* for right eye */ - eyeShift = (togl->Convergence - zNear) * (eyeOffset / togl->Convergence); - - /* compenstate for altered viewports */ - switch (togl->Stereo) { - default: - break; - case TOGL_STEREO_SGIOLDSTYLE: - case TOGL_STEREO_DTI: - /* squished image is expanded, nothing needed */ - break; - case TOGL_STEREO_CROSS_EYE: - case TOGL_STEREO_WALL_EYE:{ - GLdouble delta = (top - bottom) / 2; - - top += delta; - bottom -= delta; - break; - } - } - - glOrtho(left + eyeShift, right + eyeShift, bottom, top, zNear, zFar); - glTranslated(-eyeShift, 0, 0); -} - -int -Togl_GetToglFromObj(Tcl_Interp *interp, Tcl_Obj *obj, Togl **toglPtr) -{ - Tcl_Command toglCmd; - Tcl_CmdInfo info; - - toglCmd = Tcl_GetCommandFromObj(interp, obj); - if (Tcl_GetCommandInfoFromToken(toglCmd, &info) == 0 - || info.objProc != Togl_ObjWidget) { - Tcl_AppendResult(interp, "expected togl command argument", NULL); - return TCL_ERROR; - } - *toglPtr = (Togl *) info.objClientData; - return TCL_OK; -} - -int -Togl_GetToglFromName(Tcl_Interp *interp, const char *cmdName, Togl **toglPtr) -{ - Tcl_CmdInfo info; - - if (Tcl_GetCommandInfo(interp, cmdName, &info) == 0 - || info.objProc != Togl_ObjWidget) { - Tcl_AppendResult(interp, "expected togl command argument", NULL); - return TCL_ERROR; - } - *toglPtr = (Togl *) info.objClientData; - return TCL_OK; -} - -static int ObjectIsEmpty(Tcl_Obj *objPtr); - -/* - *---------------------------------------------------------------------- - * - * GetStereo - - * - * Converts an internal int into a a Tcl string obj. - * - * Results: - * Tcl_Obj containing the string representation of the stereo value. - * - * Side effects: - * Creates a new Tcl_Obj. - * - *---------------------------------------------------------------------- - */ - -static Tcl_Obj * -GetStereo(ClientData clientData, Tk_Window tkwin, char *recordPtr, - int internalOffset) - /* recordPtr is a pointer to widget record. */ - /* internalOffset is the offset within *recordPtr containing the stereo - * value. */ -{ - int stereo = *(int *) (recordPtr + internalOffset); - const char *name = "unknown"; - - switch (stereo) { - case TOGL_STEREO_NONE: - name = ""; - break; - case TOGL_STEREO_LEFT_EYE: - name = "left eye"; - break; - case TOGL_STEREO_RIGHT_EYE: - name = "right eye"; - break; - case TOGL_STEREO_NATIVE: - name = "native"; - break; - case TOGL_STEREO_SGIOLDSTYLE: - name = "sgioldstyle"; - break; - case TOGL_STEREO_ANAGLYPH: - name = "anaglyph"; - break; - case TOGL_STEREO_CROSS_EYE: - name = "cross-eye"; - break; - case TOGL_STEREO_WALL_EYE: - name = "wall-eye"; - break; - case TOGL_STEREO_DTI: - name = "dti"; - break; - case TOGL_STEREO_ROW_INTERLEAVED: - name = "row interleaved"; - break; - } - return Tcl_NewStringObj(name, -1); -} - -/* - *---------------------------------------------------------------------- - * - * SetStereo -- - * - * Converts a Tcl_Obj representing a widgets stereo into an - * integer value. - * - * Results: - * Standard Tcl result. - * - * Side effects: - * May store the integer value into the internal representation - * pointer. May change the pointer to the Tcl_Obj to NULL to indicate - * that the specified string was empty and that is acceptable. - * - *---------------------------------------------------------------------- - */ - -static int -SetStereo(ClientData clientData, Tcl_Interp *interp, Tk_Window tkwin, - Tcl_Obj **value, char *recordPtr, int internalOffset, - char *oldInternalPtr, int flags) - /* interp is the current interp; may be used for errors. */ - /* tkwin is the Window for which option is being set. */ - /* value is a pointer to the pointer to the value object. We use a pointer - * to the pointer because we may need to return a value (NULL). */ - /* recordPtr is a pointer to storage for the widget record. */ - /* internalOffset is the offset within *recordPtr at which the internal - * value is to be stored. */ - /* oldInternalPtr is a pointer to storage for the old value. */ - /* flags are the flags for the option, set Tk_SetOptions. */ -{ - int stereo = 0; - char *string, *internalPtr; - - internalPtr = (internalOffset > 0) ? recordPtr + internalOffset : NULL; - - if ((flags & TK_OPTION_NULL_OK) && ObjectIsEmpty(*value)) { - *value = NULL; - } else { - /* - * Convert the stereo specifier into an integer value. - */ - - if (Tcl_GetBooleanFromObj(NULL, *value, &stereo) == TCL_OK) { - stereo = stereo ? TOGL_STEREO_NATIVE : TOGL_STEREO_NONE; - } else { - string = Tcl_GetString(*value); - - if (strcmp(string, "") == 0 || strcasecmp(string, "none") == 0) { - stereo = TOGL_STEREO_NONE; - } else if (strcasecmp(string, "native") == 0) { - stereo = TOGL_STEREO_NATIVE; - /* check if available when creating visual */ - } else if (strcasecmp(string, "left eye") == 0) { - stereo = TOGL_STEREO_LEFT_EYE; - } else if (strcasecmp(string, "right eye") == 0) { - stereo = TOGL_STEREO_RIGHT_EYE; - } else if (strcasecmp(string, "sgioldstyle") == 0) { - stereo = TOGL_STEREO_SGIOLDSTYLE; - } else if (strcasecmp(string, "anaglyph") == 0) { - stereo = TOGL_STEREO_ANAGLYPH; - } else if (strcasecmp(string, "cross-eye") == 0) { - stereo = TOGL_STEREO_CROSS_EYE; - } else if (strcasecmp(string, "wall-eye") == 0) { - stereo = TOGL_STEREO_WALL_EYE; - } else if (strcasecmp(string, "dti") == 0) { - stereo = TOGL_STEREO_DTI; - } else if (strcasecmp(string, "row interleaved") == 0) { - stereo = TOGL_STEREO_ROW_INTERLEAVED; - } else { - Tcl_ResetResult(interp); - Tcl_AppendResult(interp, "bad stereo value \"", - Tcl_GetString(*value), "\"", NULL); - return TCL_ERROR; - } - } - } - - if (internalPtr != NULL) { - *((int *) oldInternalPtr) = *((int *) internalPtr); - *((int *) internalPtr) = stereo; - } - return TCL_OK; -} - -/* - *---------------------------------------------------------------------- - * RestoreStereo -- - * - * Restore a stereo option value from a saved value. - * - * Results: - * None. - * - * Side effects: - * Restores the old value. - * - *---------------------------------------------------------------------- - */ - -static void -RestoreStereo(ClientData clientData, Tk_Window tkwin, char *internalPtr, - char *oldInternalPtr) -{ - *(int *) internalPtr = *(int *) oldInternalPtr; -} - -/* - *---------------------------------------------------------------------- - * - * GetWideInt - - * - * Converts an internal wide integer into a a Tcl WideInt obj. - * - * Results: - * Tcl_Obj containing the wide int value. - * - * Side effects: - * Creates a new Tcl_Obj. - * - *---------------------------------------------------------------------- - */ - -static Tcl_Obj * -GetWideInt(ClientData clientData, Tk_Window tkwin, char *recordPtr, - int internalOffset) - /* recordPtr is a pointer to widget record. */ - /* internalOffset is the offset within *recordPtr containing the wide int - * value. */ -{ - Tcl_WideInt wi = *(Tcl_WideInt *) (recordPtr + internalOffset); - - return Tcl_NewWideIntObj(wi); -} - -/* - *---------------------------------------------------------------------- - * - * SetWideInt -- - * - * Converts a Tcl_Obj representing a Tcl_WideInt. - * - * Results: - * Standard Tcl result. - * - * Side effects: - * May store the wide int value into the internal representation - * pointer. May change the pointer to the Tcl_Obj to NULL to indicate - * that the specified string was empty and that is acceptable. - * - *---------------------------------------------------------------------- - */ - -static int -SetWideInt(ClientData clientData, Tcl_Interp *interp, Tk_Window tkwin, - Tcl_Obj **value, char *recordPtr, int internalOffset, - char *oldInternalPtr, int flags) - /* interp is the current interp; may be used for errors. */ - /* tkwin is the Window for which option is being set. */ - /* value is a pointer to the pointer to the value object. We use a pointer - * to the pointer because we may need to return a value (NULL). */ - /* recordPtr is a pointer to storage for the widget record. */ - /* internalOffset is the offset within *recordPtr at which the internal - * value is to be stored. */ - /* oldInternalPtr is a pointer to storage for the old value. */ - /* flags are the flags for the option, set Tk_SetOptions. */ -{ - char *internalPtr; - Tcl_WideInt w; - - internalPtr = (internalOffset > 0) ? recordPtr + internalOffset : NULL; - - if ((flags & TK_OPTION_NULL_OK) && ObjectIsEmpty(*value)) { - *value = NULL; - w = 0; - } else { - if (Tcl_GetWideIntFromObj(interp, *value, &w) != TCL_OK) { - return TCL_ERROR; - } - } - - if (internalPtr != NULL) { - *((Tcl_WideInt *) oldInternalPtr) = *((Tcl_WideInt *) internalPtr); - *((Tcl_WideInt *) internalPtr) = w; - } - return TCL_OK; -} - -/* - *---------------------------------------------------------------------- - * RestoreWideInt -- - * - * Restore a wide int option value from a saved value. - * - * Results: - * None. - * - * Side effects: - * Restores the old value. - * - *---------------------------------------------------------------------- - */ - -static void -RestoreWideInt(ClientData clientData, Tk_Window tkwin, char *internalPtr, - char *oldInternalPtr) -{ - *(Tcl_WideInt *) internalPtr = *(Tcl_WideInt *) oldInternalPtr; -} - -/* - *---------------------------------------------------------------------- - * - * ObjectIsEmpty -- - * - * This procedure tests whether the string value of an object is - * empty. - * - * Results: - * The return value is 1 if the string value of objPtr has length - * zero, and 0 otherwise. - * - * Side effects: - * None. - * - *---------------------------------------------------------------------- - */ - -static int -ObjectIsEmpty(Tcl_Obj *objPtr) -/* objPtr = Object to test. May be NULL. */ -{ - int length; - - if (objPtr == NULL) { - return 1; - } - if (objPtr->bytes != NULL) { - return (objPtr->length == 0); - } - Tcl_GetStringFromObj(objPtr, &length); - return (length == 0); -} diff --git a/src/other/togl/src/togl.decls b/src/other/togl/src/togl.decls deleted file mode 100644 index 80ea6dad45a..00000000000 --- a/src/other/togl/src/togl.decls +++ /dev/null @@ -1,190 +0,0 @@ -library togl -interface togl - -# Declare each of the functions in the public Togl interface. Note that -# the an index should never be reused for a different function in order -# to preserve backwards compatibility. - -# package initialization -declare 0 generic { - int Togl_Init(Tcl_Interp *interp) -} - -# Miscellaneous -declare 1 generic { - void Togl_MakeCurrent(const Togl *togl) -} -declare 2 generic { - void Togl_PostRedisplay(Togl *togl) -} -declare 3 generic { - void Togl_SwapBuffers(const Togl *togl) -} -declare 33 generic { - Bool Togl_SwapInterval(const Togl *togl, int interval) -} -declare 48 generic { - int Togl_CopyContext(const Togl *from, const Togl *to, unsigned int mask) -} - -# Query functions -declare 4 generic { - const char *Togl_Ident(const Togl *togl) -} -declare 5 generic { - int Togl_Width(const Togl *togl) -} -declare 6 generic { - int Togl_Height(const Togl *togl) -} -declare 7 generic { - Tcl_Interp *Togl_Interp(const Togl *togl) -} -declare 8 generic { - Tk_Window Togl_TkWin(const Togl *togl) -} -declare 9 generic { - const char *Togl_CommandName(const Togl *togl) -} -declare 36 generic { - int Togl_ContextTag(const Togl *togl) -} -declare 37 generic { - Bool Togl_UpdatePending(const Togl *togl) -} - -declare 40 generic { - Bool Togl_HasRGBA(const Togl *togl) -} - -declare 41 generic { - Bool Togl_IsDoubleBuffered(const Togl *togl) -} - -declare 42 generic { - Bool Togl_HasDepthBuffer(const Togl *togl) -} - -declare 43 generic { - Bool Togl_HasAccumulationBuffer(const Togl *togl) -} - -declare 44 generic { - Bool Togl_HasDestinationAlpha(const Togl *togl) -} - -declare 45 generic { - Bool Togl_HasStencilBuffer(const Togl *togl) -} - -declare 46 generic { - int Togl_StereoMode(const Togl *togl) -} - -declare 47 generic { - Bool Togl_HasMultisample(const Togl *togl) -} - -# Color Index mode -declare 10 generic { - unsigned long Togl_AllocColor(const Togl *togl, float red, - float green, float blue) -} -declare 11 generic { - void Togl_FreeColor(const Togl *togl, unsigned long index) -} -declare 12 generic { - void Togl_SetColor(const Togl *togl, unsigned long index, - float red, float green, float blue) -} - -# Bitmap fonts -declare 13 generic { - Tcl_Obj *Togl_LoadBitmapFont(const Togl *togl, const char *fontname) -} -declare 14 generic { - int Togl_UnloadBitmapFont(const Togl *togl, Tcl_Obj *toglfont) -} - -declare 38 generic { - int Togl_WriteObj(const Togl *togl, const Tcl_Obj *toglfont, Tcl_Obj *obj) -} - -declare 39 generic { - int Togl_WriteChars(const Togl *togl, const Tcl_Obj *toglfont, const char *str, int len) -} - -# Overlay functions -declare 15 generic { - void Togl_UseLayer(Togl *togl, int layer) -} -declare 16 generic { - void Togl_ShowOverlay(Togl *togl) -} -declare 17 generic { - void Togl_HideOverlay(Togl *togl) -} -declare 18 generic { - void Togl_PostOverlayRedisplay(Togl *togl) -} -declare 19 generic { - int Togl_ExistsOverlay(const Togl *togl) -} -declare 20 generic { - int Togl_GetOverlayTransparentValue(const Togl *togl) -} -declare 21 generic { - int Togl_IsMappedOverlay(const Togl *togl) -} -declare 22 generic { - unsigned long Togl_AllocColorOverlay(const Togl *togl, - float red, float green, float blue) -} -declare 23 generic { - void Togl_FreeColorOverlay(const Togl *togl, unsigned long index) -} - -# User client data -declare 24 generic { - ClientData Togl_GetClientData(const Togl *togl) -} -declare 25 generic { - void Togl_SetClientData(Togl *togl, ClientData clientData) -} - -# Stereo support -declare 26 generic { - void Togl_DrawBuffer(Togl *togl, GLenum mode) -} -declare 27 generic { - void Togl_Clear(const Togl *togl, GLbitfield mask) -} -declare 28 generic { - void Togl_Frustum(const Togl *togl, GLdouble left, GLdouble right, - GLdouble bottom, GLdouble top, GLdouble near, GLdouble far) -} -declare 34 generic { - void Togl_Ortho(const Togl *togl, GLdouble left, GLdouble right, - GLdouble bottom, GLdouble top, GLdouble near, GLdouble far) -} -declare 35 generic { - int Togl_NumEyes(const Togl *togl) -} - -# save current contents of OpenGL window into photo image -declare 30 generic { - int Togl_TakePhoto(Togl *togl, Tk_PhotoHandle photo) -} - -# platform-independent lookup of OpenGL functions -declare 31 generic { - Togl_FuncPtr Togl_GetProcAddr(const char *funcname) -} - -# Return the Togl data associated with pathName -declare 29 generic { - int Togl_GetToglFromObj(Tcl_Interp *interp, Tcl_Obj *obj, Togl **toglPtr) -} -declare 32 generic { - int Togl_GetToglFromName(Tcl_Interp *interp, const char *cmdName, Togl **toglPtr) -} diff --git a/src/other/togl/src/toglAGL.c b/src/other/togl/src/toglAGL.c deleted file mode 100644 index 96b1af7671e..00000000000 --- a/src/other/togl/src/toglAGL.c +++ /dev/null @@ -1,293 +0,0 @@ -/* $Id$ */ - -/* vi:set sw=4 expandtab: */ - -/* - * Togl - a Tk OpenGL widget - * - * Copyright (C) 1996-2002 Brian Paul and Ben Bederson - * Copyright (C) 2005-2009 Greg Couch - * See the LICENSE file for copyright details. - */ - -struct FBInfo -{ - GLint acceleration; - GLint colors; - GLint depth; - GLint samples; - AGLPixelFormat pix; -}; -typedef struct FBInfo FBInfo; - -static int -FBInfoCmp(const void *a, const void *b) -{ - /* - * 1. full acceleration is better - * 2. greater color bits is better - * 3. greater depth bits is better - * 4. more multisampling is better - */ - const FBInfo *x = (const FBInfo *) a; - const FBInfo *y = (const FBInfo *) b; - - if (x->acceleration != y->acceleration) - return y->acceleration - x->acceleration; - if (x->colors != y->colors) - return y->colors - x->colors; - if (x->depth != y->depth) - return y->depth - x->depth; - if (x->samples != y->samples) - return y->samples - x->samples; - return 0; -} - -static AGLPixelFormat -togl_pixelFormat(Togl *togl) -{ - GLint attribs[32]; - int na = 0; - AGLPixelFormat pix; - GDHandle display = NULL; - FBInfo *info = NULL; - int count; - -#if 0 - if (togl->MultisampleFlag && !hasMultisampling) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "multisampling not supported", TCL_STATIC); - return NULL; - } -#endif - - if (togl->PbufferFlag && !togl->RgbaFlag) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "puffer must be RGB[A]", TCL_STATIC); - return NULL; - } - - attribs[na++] = AGL_MINIMUM_POLICY; - /* ask for hardware-accelerated onscreen */ - attribs[na++] = AGL_ACCELERATED; - attribs[na++] = AGL_NO_RECOVERY; - if (togl->RgbaFlag) { - /* RGB[A] mode */ - attribs[na++] = AGL_RGBA; - attribs[na++] = AGL_RED_SIZE; - attribs[na++] = togl->RgbaRed; - attribs[na++] = AGL_GREEN_SIZE; - attribs[na++] = togl->RgbaGreen; - attribs[na++] = AGL_BLUE_SIZE; - attribs[na++] = togl->RgbaBlue; - if (togl->AlphaFlag) { - attribs[na++] = AGL_ALPHA_SIZE; - attribs[na++] = togl->AlphaSize; - } - } else { - /* Color index mode */ - attribs[na++] = AGL_BUFFER_SIZE; - attribs[na++] = 8; - } - if (togl->DepthFlag) { - attribs[na++] = AGL_DEPTH_SIZE; - attribs[na++] = togl->DepthSize; - } - if (togl->DoubleFlag) { - attribs[na++] = AGL_DOUBLEBUFFER; - } - if (togl->StencilFlag) { - attribs[na++] = AGL_STENCIL_SIZE; - attribs[na++] = togl->StencilSize; - } - if (togl->AccumFlag) { - attribs[na++] = AGL_ACCUM_RED_SIZE; - attribs[na++] = togl->AccumRed; - attribs[na++] = AGL_ACCUM_GREEN_SIZE; - attribs[na++] = togl->AccumGreen; - attribs[na++] = AGL_ACCUM_BLUE_SIZE; - attribs[na++] = togl->AccumBlue; - if (togl->AlphaFlag) { - attribs[na++] = AGL_ACCUM_ALPHA_SIZE; - attribs[na++] = togl->AccumAlpha; - } - } - if (togl->MultisampleFlag) { - attribs[na++] = AGL_MULTISAMPLE; -#ifdef AGL_SAMPLES_ARB - /* OS X 10.2 and later */ - attribs[na++] = AGL_SAMPLE_BUFFERS_ARB; - attribs[na++] = 1; - attribs[na++] = AGL_SAMPLES_ARB; - attribs[na++] = 2; -#endif - } - if (togl->AuxNumber != 0) { - attribs[na++] = AGL_AUX_BUFFERS; - attribs[na++] = togl->AuxNumber; - } - if (togl->Stereo == TOGL_STEREO_NATIVE) { - attribs[na++] = AGL_STEREO; - } - if (togl->FullscreenFlag) { - attribs[na++] = AGL_FULLSCREEN; - /* TODO: convert Tk screen to display device */ - display = GetMainDevice(); - } - attribs[na++] = AGL_NONE; - - if ((pix = aglChoosePixelFormat(&display, togl->FullscreenFlag ? 1 : 0, - attribs)) == NULL) { - Tcl_SetResult(togl->Interp, TCL_STUPID "couldn't choose pixel format", - TCL_STATIC); - return NULL; - } - - /* TODO: since we aglDestroyPixelFormat elsewhere, this code may leak - * memory if the pixel format choosen is not the original (because - * aglDestroyPixelFormat will give an error). */ - count = 0; - do { - info = (FBInfo *) realloc(info, (count + 1) * sizeof (FBInfo)); - info[count].pix = pix; - aglDescribePixelFormat(pix, AGL_ACCELERATED, &info[count].acceleration); - aglDescribePixelFormat(pix, AGL_BUFFER_SIZE, &info[count].colors); - aglDescribePixelFormat(pix, AGL_DEPTH_SIZE, &info[count].depth); -#ifdef AGL_SAMPLES_ARB - aglDescribePixelFormat(pix, AGL_SAMPLES_ARB, &info[count].samples); -#else - info[count].samples = 0; -#endif - ++count; - } while (pix = aglNextPixelFormat(pix)); - qsort(info, count, sizeof info[0], FBInfoCmp); - pix = info[0].pix; - free(info); - return pix; -} - -static int -togl_describePixelFormat(Togl *togl) -{ - AGLPixelFormat pixelformat; - - /* fill in RgbaFlag, DoubleFlag, and Stereo */ - pixelformat = (AGLPixelFormat) togl->PixelFormat; - GLint has_rgba, has_doublebuf, has_depth, has_accum, has_alpha, - has_stencil, has_stereo, has_multisample; - - if (aglDescribePixelFormat(pixelformat, AGL_RGBA, &has_rgba) - && aglDescribePixelFormat(pixelformat, AGL_DOUBLEBUFFER, - &has_doublebuf) - && aglDescribePixelFormat(pixelformat, AGL_DEPTH_SIZE, &has_depth) - && aglDescribePixelFormat(pixelformat, AGL_ACCUM_RED_SIZE, - &has_accum) - && aglDescribePixelFormat(pixelformat, AGL_ALPHA_SIZE, &has_alpha) - && aglDescribePixelFormat(pixelformat, AGL_STENCIL_SIZE, - &has_stencil) - && aglDescribePixelFormat(pixelformat, AGL_STEREO, &has_stereo) -#ifdef AGL_SAMPLES_ARB - && aglDescribePixelFormat(pixelformat, AGL_SAMPLES_ARB, - &has_multisample) -#endif - ) { - togl->RgbaFlag = (has_rgba != 0); - togl->DoubleFlag = (has_doublebuf != 0); - togl->DepthFlag = (has_depth != 0); - togl->AccumFlag = (has_accum != 0); - togl->AlphaFlag = (has_alpha != 0); - togl->StencilFlag = (has_stencil != 0); - togl->Stereo = (has_stereo ? TOGL_STEREO_NATIVE : TOGL_STEREO_NONE); -#ifdef AGL_SAMPLES_ARB - togl->MultisampleFlag = (has_multisample != 0); -#else - togl->MultisampleFlag = False; -#endif - return True; - } else { - Tcl_SetResult(togl->Interp, - TCL_STUPID "failed querying pixel format attributes", - TCL_STATIC); - return False; - } -} - -#define isPow2(x) (((x) & ((x) - 1)) == 0) - -static AGLPbuffer -togl_createPbuffer(Togl *togl) -{ - GLint min_size[2], max_size[2]; - Bool hasPbuffer; - const char *extensions; - GLboolean good; - GLint target; - GLint virtualScreen; - AGLPbuffer pbuf; - - extensions = (const char *) glGetString(GL_EXTENSIONS); - hasPbuffer = (strstr(extensions, "GL_APPLE_pixel_buffer") != NULL); - if (!hasPbuffer) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "pbuffers are not supported", TCL_STATIC); - return NULL; - } - glGetIntegerv(GL_MIN_PBUFFER_VIEWPORT_DIMS_APPLE, min_size); - glGetIntegerv(GL_MAX_VIEWPORT_DIMS, max_size); - virtualScreen = aglGetVirtualScreen(togl->Ctx); - for (;;) { - /* make sure we don't exceed the maximum size because if we do, - * aglCreatePbuffer may succeed and later uses of the pbuffer fail */ - if (togl->Width < min_size[0]) - togl->Width = min_size[0]; - else if (togl->Width > max_size[0]) { - if (togl->LargestPbufferFlag) - togl->Width = max_size[0]; - else { - Tcl_SetResult(togl->Interp, - TCL_STUPID "pbuffer too large", TCL_STATIC); - return NULL; - } - } - if (togl->Height < min_size[1]) - togl->Height = min_size[1]; - else if (togl->Height > max_size[1]) { - if (togl->LargestPbufferFlag) - togl->Height = max_size[1]; - else { - Tcl_SetResult(togl->Interp, - TCL_STUPID "pbuffer too large", TCL_STATIC); - return NULL; - } - } - - if (isPow2(togl->Width) && isPow2(togl->Height)) - target = GL_TEXTURE_2D; - else - target = GL_TEXTURE_RECTANGLE_ARB; - - good = aglCreatePBuffer(togl->Width, togl->Height, target, - togl->AlphaFlag ? GL_RGBA : GL_RGB, 0, &pbuf); - if (good) { - /* aglSetPbuffer allocates the framebuffer space */ - if (aglSetPBuffer(togl->Ctx, pbuf, 0, 0, virtualScreen)) { - return pbuf; - } - } - if (!togl->LargestPbufferFlag - || togl->Width == min_size[0] || togl->Height == min_size[1]) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "unable to create pbuffer", TCL_STATIC); - return NULL; - } - /* largest unavailable, try something smaller */ - togl->Width = togl->Width / 2 + togl->Width % 2; - togl->Height = togl->Width / 2 + togl->Height % 2; - } -} - -static void -togl_destroyPbuffer(Togl *togl) -{ - aglDestroyPBuffer(togl->pbuf); -} diff --git a/src/other/togl/src/toglGLX.c b/src/other/togl/src/toglGLX.c deleted file mode 100644 index a9648271054..00000000000 --- a/src/other/togl/src/toglGLX.c +++ /dev/null @@ -1,481 +0,0 @@ -/* $Id$ */ - -/* vi:set sw=4 expandtab: */ - -/* - * Togl - a Tk OpenGL widget - * - * Copyright (C) 1996-2002 Brian Paul and Ben Bederson - * Copyright (C) 2005-2009 Greg Couch - * See the LICENSE file for copyright details. - */ - -/* TODO: fullscreen support */ - -#undef DEBUG_GLX - -static PFNGLXCHOOSEFBCONFIGPROC chooseFBConfig = NULL; -static PFNGLXGETFBCONFIGATTRIBPROC getFBConfigAttrib = NULL; -static PFNGLXGETVISUALFROMFBCONFIGPROC getVisualFromFBConfig = NULL; -static PFNGLXCREATEPBUFFERPROC createPbuffer = NULL; -static PFNGLXCREATEGLXPBUFFERSGIXPROC createPbufferSGIX = NULL; -static PFNGLXDESTROYPBUFFERPROC destroyPbuffer = NULL; -static PFNGLXQUERYDRAWABLEPROC queryPbuffer = NULL; -static Bool hasMultisampling = False; -static Bool hasPbuffer = False; - -struct FBInfo -{ - int acceleration; - int samples; - int depth; - int colors; - GLXFBConfig fbcfg; - XVisualInfo *visInfo; -}; -typedef struct FBInfo FBInfo; - -static int -FBInfoCmp(const void *a, const void *b) -{ - /* - * 1. full acceleration is better - * 2. greater color bits is better - * 3. greater depth bits is better - * 4. more multisampling is better - */ - const FBInfo *x = (const FBInfo *) a; - const FBInfo *y = (const FBInfo *) b; - - if (x->acceleration != y->acceleration) - return y->acceleration - x->acceleration; - if (x->colors != y->colors) - return y->colors - x->colors; - if (x->depth != y->depth) - return y->depth - x->depth; - if (x->samples != y->samples) - return y->samples - x->samples; - return 0; -} - -#ifdef DEBUG_GLX -static int -fatal_error(Display *dpy, XErrorEvent * event) -{ - char buf[256]; - - XGetErrorText(dpy, event->error_code, buf, sizeof buf); - fprintf(stderr, "%s\n", buf); - abort(); -} -#endif - -static XVisualInfo * -togl_pixelFormat(Togl *togl, int scrnum) -{ - int attribs[256]; - int na = 0; - int i; - XVisualInfo *visinfo; - FBInfo *info; - static int loadedOpenGL = False; - - if (!loadedOpenGL) { - int dummy; - int major, minor; - const char *extensions; - - /* Make sure OpenGL's GLX extension supported */ - if (!glXQueryExtension(togl->display, &dummy, &dummy)) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "X server is missing OpenGL GLX extension", - TCL_STATIC); - return NULL; - } - - loadedOpenGL = True; -#ifdef DEBUG_GLX - (void) XSetErrorHandler(fatal_error); -#endif - - glXQueryVersion(togl->display, &major, &minor); - extensions = glXQueryExtensionsString(togl->display, scrnum); - - if (major > 1 || (major == 1 && minor >= 3)) { - chooseFBConfig = (PFNGLXCHOOSEFBCONFIGPROC) - Togl_GetProcAddr("glXChooseFBConfig"); - getFBConfigAttrib = (PFNGLXGETFBCONFIGATTRIBPROC) - Togl_GetProcAddr("glXGetFBConfigAttrib"); - getVisualFromFBConfig = (PFNGLXGETVISUALFROMFBCONFIGPROC) - Togl_GetProcAddr("glXGetVisualFromFBConfig"); - createPbuffer = (PFNGLXCREATEPBUFFERPROC) - Togl_GetProcAddr("glXCreatePbuffer"); - destroyPbuffer = (PFNGLXDESTROYPBUFFERPROC) - Togl_GetProcAddr("glXDestroyPbuffer"); - queryPbuffer = (PFNGLXQUERYDRAWABLEPROC) - Togl_GetProcAddr("glXQueryDrawable"); - if (createPbuffer && destroyPbuffer && queryPbuffer) { - hasPbuffer = True; - } else { - createPbuffer = NULL; - destroyPbuffer = NULL; - queryPbuffer = NULL; - } - } - if (major == 1 && minor == 2) { - chooseFBConfig = (PFNGLXCHOOSEFBCONFIGPROC) - Togl_GetProcAddr("glXChooseFBConfigSGIX"); - getFBConfigAttrib = (PFNGLXGETFBCONFIGATTRIBPROC) - Togl_GetProcAddr("glXGetFBConfigAttribSGIX"); - getVisualFromFBConfig = (PFNGLXGETVISUALFROMFBCONFIGPROC) - Togl_GetProcAddr("glXGetVisualFromFBConfigSGIX"); - if (strstr(extensions, "GLX_SGIX_pbuffer") != NULL) { - createPbufferSGIX = (PFNGLXCREATEGLXPBUFFERSGIXPROC) - Togl_GetProcAddr("glXCreateGLXPbufferSGIX"); - destroyPbuffer = (PFNGLXDESTROYPBUFFERPROC) - Togl_GetProcAddr("glXDestroyGLXPbufferSGIX"); - queryPbuffer = (PFNGLXQUERYDRAWABLEPROC) - Togl_GetProcAddr("glXQueryGLXPbufferSGIX"); - if (createPbufferSGIX && destroyPbuffer && queryPbuffer) { - hasPbuffer = True; - } else { - createPbufferSGIX = NULL; - destroyPbuffer = NULL; - queryPbuffer = NULL; - } - } - } - if (chooseFBConfig) { - /* verify that chooseFBConfig works (workaround Mesa 6.5 bug) */ - int n = 0; - GLXFBConfig *cfgs; - - attribs[n++] = GLX_RENDER_TYPE; - attribs[n++] = GLX_RGBA_BIT; - attribs[n++] = None; - - cfgs = chooseFBConfig(togl->display, scrnum, attribs, &n); - if (cfgs == NULL || n == 0) { - chooseFBConfig = NULL; - } - XFree(cfgs); - } - if (chooseFBConfig == NULL - || getFBConfigAttrib == NULL || getVisualFromFBConfig == NULL) { - chooseFBConfig = NULL; - getFBConfigAttrib = NULL; - getVisualFromFBConfig = NULL; - } - if (hasPbuffer && !chooseFBConfig) { - hasPbuffer = False; - } - - if ((major > 1 || (major == 1 && minor >= 4)) - || strstr(extensions, "GLX_ARB_multisample") != NULL - || strstr(extensions, "GLX_SGIS_multisample") != NULL) { - /* Client GLX supports multisampling, but does the server? Well, we - * can always ask. */ - hasMultisampling = True; - } - } - - if (togl->MultisampleFlag && !hasMultisampling) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "multisampling not supported", TCL_STATIC); - return NULL; - } - - if (togl->PbufferFlag && !hasPbuffer) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "pbuffers are not supported", TCL_STATIC); - return NULL; - } - - /* - * Only use the newer glXGetFBConfig if there's an explicit need for it - * because it is buggy on many systems: - * (1) NVidia 96.43.07 on Linux, single-buffered windows don't work - * (2) Mesa 6.5.X and earlier fail - */ - if (chooseFBConfig) { - /* have new glXGetFBConfig! */ - int count; - GLXFBConfig *cfgs; - - attribs[na++] = GLX_RENDER_TYPE; - if (togl->RgbaFlag) { - /* RGB[A] mode */ - attribs[na++] = GLX_RGBA_BIT; - attribs[na++] = GLX_RED_SIZE; - attribs[na++] = togl->RgbaRed; - attribs[na++] = GLX_GREEN_SIZE; - attribs[na++] = togl->RgbaGreen; - attribs[na++] = GLX_BLUE_SIZE; - attribs[na++] = togl->RgbaBlue; - if (togl->AlphaFlag) { - attribs[na++] = GLX_ALPHA_SIZE; - attribs[na++] = togl->AlphaSize; - } - } else { - /* Color index mode */ - attribs[na++] = GLX_COLOR_INDEX_BIT; - attribs[na++] = GLX_BUFFER_SIZE; - attribs[na++] = 1; - } - if (togl->DepthFlag) { - attribs[na++] = GLX_DEPTH_SIZE; - attribs[na++] = togl->DepthSize; - } - if (togl->DoubleFlag) { - attribs[na++] = GLX_DOUBLEBUFFER; - attribs[na++] = True; - } - if (togl->StencilFlag) { - attribs[na++] = GLX_STENCIL_SIZE; - attribs[na++] = togl->StencilSize; - } - if (togl->AccumFlag) { - attribs[na++] = GLX_ACCUM_RED_SIZE; - attribs[na++] = togl->AccumRed; - attribs[na++] = GLX_ACCUM_GREEN_SIZE; - attribs[na++] = togl->AccumGreen; - attribs[na++] = GLX_ACCUM_BLUE_SIZE; - attribs[na++] = togl->AccumBlue; - if (togl->AlphaFlag) { - attribs[na++] = GLX_ACCUM_ALPHA_SIZE; - attribs[na++] = togl->AccumAlpha; - } - } - if (togl->Stereo == TOGL_STEREO_NATIVE) { - attribs[na++] = GLX_STEREO; - attribs[na++] = True; - } - if (togl->MultisampleFlag) { - attribs[na++] = GLX_SAMPLE_BUFFERS_ARB; - attribs[na++] = 1; - attribs[na++] = GLX_SAMPLES_ARB; - attribs[na++] = 2; - } - if (togl->PbufferFlag) { - attribs[na++] = GLX_DRAWABLE_TYPE; - attribs[na++] = GLX_WINDOW_BIT | GLX_PBUFFER_BIT; - } - if (togl->AuxNumber != 0) { - attribs[na++] = GLX_AUX_BUFFERS; - attribs[na++] = togl->AuxNumber; - } - attribs[na++] = None; - - cfgs = chooseFBConfig(togl->display, scrnum, attribs, &count); - if (cfgs == NULL || count == 0) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "couldn't choose pixel format", TCL_STATIC); - return NULL; - } - /* - * Pick best format - */ - info = (FBInfo *) malloc(count * sizeof (FBInfo)); - for (i = 0; i != count; ++i) { - info[i].visInfo = getVisualFromFBConfig(togl->display, cfgs[i]); - info[i].fbcfg = cfgs[i]; - getFBConfigAttrib(togl->display, cfgs[i], GLX_CONFIG_CAVEAT, - &info[i].acceleration); - getFBConfigAttrib(togl->display, cfgs[i], GLX_BUFFER_SIZE, - &info[i].colors); - getFBConfigAttrib(togl->display, cfgs[i], GLX_DEPTH_SIZE, - &info[i].depth); - getFBConfigAttrib(togl->display, cfgs[i], GLX_SAMPLES, - &info[i].samples); - /* revise attributes so larger is better */ - info[i].acceleration = -(info[i].acceleration - GLX_NONE); - if (!togl->DepthFlag) - info[i].depth = -info[i].depth; - if (!togl->MultisampleFlag) - info[i].samples = -info[i].samples; - } - qsort(info, count, sizeof info[0], FBInfoCmp); - - togl->fbcfg = info[0].fbcfg; - visinfo = info[0].visInfo; - for (i = 1; i != count; ++i) - XFree(info[i].visInfo); - free(info); - XFree(cfgs); - return visinfo; - } - - /* use original glXChooseVisual */ - - attribs[na++] = GLX_USE_GL; - if (togl->RgbaFlag) { - /* RGB[A] mode */ - attribs[na++] = GLX_RGBA; - attribs[na++] = GLX_RED_SIZE; - attribs[na++] = togl->RgbaRed; - attribs[na++] = GLX_GREEN_SIZE; - attribs[na++] = togl->RgbaGreen; - attribs[na++] = GLX_BLUE_SIZE; - attribs[na++] = togl->RgbaBlue; - if (togl->AlphaFlag) { - attribs[na++] = GLX_ALPHA_SIZE; - attribs[na++] = togl->AlphaSize; - } - } else { - /* Color index mode */ - attribs[na++] = GLX_BUFFER_SIZE; - attribs[na++] = 1; - } - if (togl->DepthFlag) { - attribs[na++] = GLX_DEPTH_SIZE; - attribs[na++] = togl->DepthSize; - } - if (togl->DoubleFlag) { - attribs[na++] = GLX_DOUBLEBUFFER; - } - if (togl->StencilFlag) { - attribs[na++] = GLX_STENCIL_SIZE; - attribs[na++] = togl->StencilSize; - } - if (togl->AccumFlag) { - attribs[na++] = GLX_ACCUM_RED_SIZE; - attribs[na++] = togl->AccumRed; - attribs[na++] = GLX_ACCUM_GREEN_SIZE; - attribs[na++] = togl->AccumGreen; - attribs[na++] = GLX_ACCUM_BLUE_SIZE; - attribs[na++] = togl->AccumBlue; - if (togl->AlphaFlag) { - attribs[na++] = GLX_ACCUM_ALPHA_SIZE; - attribs[na++] = togl->AccumAlpha; - } - } - if (togl->Stereo == TOGL_STEREO_NATIVE) { - attribs[na++] = GLX_STEREO; - } - if (togl->AuxNumber != 0) { - attribs[na++] = GLX_AUX_BUFFERS; - attribs[na++] = togl->AuxNumber; - } - attribs[na++] = None; - - visinfo = glXChooseVisual(togl->display, scrnum, attribs); - if (visinfo == NULL) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "couldn't choose pixel format", TCL_STATIC); - return NULL; - } - return visinfo; -} - -static int -togl_describePixelFormat(Togl *togl) -{ - int tmp = 0; - - /* fill in flags normally passed in that affect behavior */ - (void) glXGetConfig(togl->display, togl->VisInfo, GLX_RGBA, - &togl->RgbaFlag); - (void) glXGetConfig(togl->display, togl->VisInfo, GLX_DOUBLEBUFFER, - &togl->DoubleFlag); - (void) glXGetConfig(togl->display, togl->VisInfo, GLX_DEPTH_SIZE, &tmp); - togl->DepthFlag = (tmp != 0); - (void) glXGetConfig(togl->display, togl->VisInfo, GLX_ACCUM_RED_SIZE, &tmp); - togl->AccumFlag = (tmp != 0); - (void) glXGetConfig(togl->display, togl->VisInfo, GLX_ALPHA_SIZE, &tmp); - togl->AlphaFlag = (tmp != 0); - (void) glXGetConfig(togl->display, togl->VisInfo, GLX_STENCIL_SIZE, &tmp); - togl->StencilFlag = (tmp != 0); - (void) glXGetConfig(togl->display, togl->VisInfo, GLX_STEREO, &tmp); - togl->Stereo = tmp ? TOGL_STEREO_NATIVE : TOGL_STEREO_NONE; - if (hasMultisampling) { - (void) glXGetConfig(togl->display, togl->VisInfo, GLX_SAMPLES, &tmp); - togl->MultisampleFlag = (tmp != 0); - } - return True; -} - -static Tcl_ThreadDataKey togl_XError; -struct ErrorData -{ - int error_code; - XErrorHandler prevHandler; -}; -typedef struct ErrorData ErrorData; - -static int -togl_HandleXError(Display *dpy, XErrorEvent * event) -{ - ErrorData *data = Tcl_GetThreadData(&togl_XError, (int) sizeof (ErrorData)); - - data->error_code = event->error_code; - return 0; -} - -static void -togl_SetupXErrorHandler() -{ - ErrorData *data = Tcl_GetThreadData(&togl_XError, (int) sizeof (ErrorData)); - - data->error_code = Success; /* 0 */ - data->prevHandler = XSetErrorHandler(togl_HandleXError); -} - -static int -togl_CheckForXError(const Togl *togl) -{ - ErrorData *data = Tcl_GetThreadData(&togl_XError, (int) sizeof (ErrorData)); - - XSync(togl->display, False); - (void) XSetErrorHandler(data->prevHandler); - return data->error_code; -} - -static GLXPbuffer -togl_createPbuffer(Togl *togl) -{ - int attribs[32]; - int na = 0; - GLXPbuffer pbuf; - - togl_SetupXErrorHandler(); - if (togl->LargestPbufferFlag) { - attribs[na++] = GLX_LARGEST_PBUFFER; - attribs[na++] = True; - } - attribs[na++] = GLX_PRESERVED_CONTENTS; - attribs[na++] = True; - if (createPbuffer) { - attribs[na++] = GLX_PBUFFER_WIDTH; - attribs[na++] = togl->Width; - attribs[na++] = GLX_PBUFFER_HEIGHT; - attribs[na++] = togl->Width; - attribs[na++] = None; - pbuf = createPbuffer(togl->display, togl->fbcfg, attribs); - } else { - attribs[na++] = None; - pbuf = createPbufferSGIX(togl->display, togl->fbcfg, togl->Width, - togl->Height, attribs); - } - if (togl_CheckForXError(togl) || pbuf == None) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "unable to allocate pbuffer", TCL_STATIC); - return None; - } - if (pbuf && togl->LargestPbufferFlag) { - int tmp; - - queryPbuffer(togl->display, pbuf, GLX_WIDTH, &tmp); - if (tmp != 0) - togl->Width = tmp; - queryPbuffer(togl->display, pbuf, GLX_HEIGHT, &tmp); - if (tmp != 0) - togl->Height = tmp; - } - return pbuf; -} - -static void -togl_destroyPbuffer(Togl *togl) -{ - destroyPbuffer(togl->display, togl->pbuf); -} diff --git a/src/other/togl/src/toglNSOpenGL.c b/src/other/togl/src/toglNSOpenGL.c deleted file mode 100644 index 171597f7b3c..00000000000 --- a/src/other/togl/src/toglNSOpenGL.c +++ /dev/null @@ -1,207 +0,0 @@ -/* $Id$ */ - -/* vi:set sw=4 expandtab: */ - -/* - * Togl - a Tk OpenGL widget - * - * Copyright (C) 1996-2002 Brian Paul and Ben Bederson - * Copyright (C) 2005-2009 Greg Couch - * See the LICENSE file for copyright details. - */ - -static NSOpenGLPixelFormat * -togl_pixelFormat(Togl *togl) -{ - NSOpenGLPixelFormatAttribute attribs[32]; - int na = 0; - NSOpenGLPixelFormat *pix; - -#if 0 - if (togl->MultisampleFlag && !hasMultisampling) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "multisampling not supported", TCL_STATIC); - return NULL; - } -#endif - - if (togl->PbufferFlag && !togl->RgbaFlag) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "puffer must be RGB[A]", TCL_STATIC); - return NULL; - } - - attribs[na++] = NSOpenGLPFAMinimumPolicy; - /* ask for hardware-accelerated onscreen */ - attribs[na++] = NSOpenGLPFAAccelerated; - attribs[na++] = NSOpenGLPFANoRecovery; - if (togl->RgbaFlag) { - /* RGB[A] mode */ - attribs[na++] = NSOpenGLPFAColorSize; - attribs[na++] = togl->RgbaRed + togl->RgbaGreen + togl->RgbaBlue; - /* NSOpenGL does not take separate red,green,blue sizes. */ - if (togl->AlphaFlag) { - attribs[na++] = NSOpenGLPFAAlphaSize; - attribs[na++] = togl->AlphaSize; - } - } else { - /* Color index mode */ - Tcl_SetResult(togl->Interp, - TCL_STUPID "Color index mode not supported", TCL_STATIC); - return NULL; - } - if (togl->DepthFlag) { - attribs[na++] = NSOpenGLPFADepthSize; - attribs[na++] = togl->DepthSize; - } - if (togl->DoubleFlag) { - attribs[na++] = NSOpenGLPFADoubleBuffer; - } - if (togl->StencilFlag) { - attribs[na++] = NSOpenGLPFAStencilSize; - attribs[na++] = togl->StencilSize; - } - if (togl->AccumFlag) { - attribs[na++] = NSOpenGLPFAAccumSize; - attribs[na++] = togl->AccumRed + togl->AccumGreen + togl->AccumBlue + (togl->AlphaFlag ? togl->AccumAlpha : 0); - } - if (togl->MultisampleFlag) { - attribs[na++] = NSOpenGLPFAMultisample; - attribs[na++] = NSOpenGLPFASampleBuffers; - attribs[na++] = 1; - attribs[na++] = NSOpenGLPFASamples; - attribs[na++] = 2; - } - if (togl->AuxNumber != 0) { - attribs[na++] = NSOpenGLPFAAuxBuffers; - attribs[na++] = togl->AuxNumber; - } - if (togl->Stereo == TOGL_STEREO_NATIVE) { - attribs[na++] = NSOpenGLPFAStereo; - } - if (togl->FullscreenFlag) { - attribs[na++] = NSOpenGLPFAFullScreen; - } - attribs[na++] = 0; /* End of attributes. */ - - pix = [[NSOpenGLPixelFormat alloc] initWithAttributes:attribs]; - if (pix == nil) { - Tcl_SetResult(togl->Interp, TCL_STUPID "couldn't choose pixel format", - TCL_STATIC); - return NULL; - } - return pix; -} - -static int -togl_describePixelFormat(Togl *togl) -{ - NSOpenGLPixelFormat *pfmt = togl->PixelFormat; - - /* fill in RgbaFlag, DoubleFlag, and Stereo */ - GLint has_rgba, has_doublebuf, has_depth, has_accum, has_alpha, - has_stencil, has_stereo, has_multisample; - - GLint vscr = 0; - [pfmt getValues:&has_rgba forAttribute:NSOpenGLPFAColorSize forVirtualScreen:vscr]; - [pfmt getValues:&has_doublebuf forAttribute:NSOpenGLPFADoubleBuffer forVirtualScreen:vscr]; - [pfmt getValues:&has_depth forAttribute:NSOpenGLPFADepthSize forVirtualScreen:vscr]; - [pfmt getValues:&has_accum forAttribute:NSOpenGLPFAAccumSize forVirtualScreen:vscr]; - [pfmt getValues:&has_alpha forAttribute:NSOpenGLPFAAlphaSize forVirtualScreen:vscr]; - [pfmt getValues:&has_stencil forAttribute:NSOpenGLPFAStencilSize forVirtualScreen:vscr]; - [pfmt getValues:&has_stereo forAttribute:NSOpenGLPFAStereo forVirtualScreen:vscr]; - [pfmt getValues:&has_multisample forAttribute:NSOpenGLPFASampleBuffers forVirtualScreen:vscr]; - - togl->RgbaFlag = (has_rgba != 0); - togl->DoubleFlag = (has_doublebuf != 0); - togl->DepthFlag = (has_depth != 0); - togl->AccumFlag = (has_accum != 0); - togl->AlphaFlag = (has_alpha != 0); - togl->StencilFlag = (has_stencil != 0); - togl->Stereo = (has_stereo ? TOGL_STEREO_NATIVE : TOGL_STEREO_NONE); - togl->MultisampleFlag = (has_multisample != 0); - return True; -} - -#define isPow2(x) (((x) & ((x) - 1)) == 0) - -static NSOpenGLPixelBuffer * -togl_createPbuffer(Togl *togl) -{ - GLint min_size[2], max_size[2]; - Bool hasPbuffer; - const char *extensions; - GLint target; - GLint virtualScreen; - NSOpenGLPixelBuffer *pbuf; - - extensions = (const char *) glGetString(GL_EXTENSIONS); - hasPbuffer = (strstr(extensions, "GL_APPLE_pixel_buffer") != NULL); - if (!hasPbuffer) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "pbuffers are not supported", TCL_STATIC); - return NULL; - } - glGetIntegerv(GL_MIN_PBUFFER_VIEWPORT_DIMS_APPLE, min_size); - glGetIntegerv(GL_MAX_VIEWPORT_DIMS, max_size); - virtualScreen = [togl->Ctx currentVirtualScreen]; - for (;;) { - /* make sure we don't exceed the maximum size because if we do, - * NSOpenGLPixelBuffer allocationmay succeed and later uses of - * the pbuffer fail - */ - if (togl->Width < min_size[0]) - togl->Width = min_size[0]; - else if (togl->Width > max_size[0]) { - if (togl->LargestPbufferFlag) - togl->Width = max_size[0]; - else { - Tcl_SetResult(togl->Interp, - TCL_STUPID "pbuffer too large", TCL_STATIC); - return NULL; - } - } - if (togl->Height < min_size[1]) - togl->Height = min_size[1]; - else if (togl->Height > max_size[1]) { - if (togl->LargestPbufferFlag) - togl->Height = max_size[1]; - else { - Tcl_SetResult(togl->Interp, - TCL_STUPID "pbuffer too large", TCL_STATIC); - return NULL; - } - } - - if (isPow2(togl->Width) && isPow2(togl->Height)) - target = GL_TEXTURE_2D; - else - target = GL_TEXTURE_RECTANGLE_ARB; - - pbuf = [[NSOpenGLPixelBuffer alloc] initWithTextureTarget:target - textureInternalFormat:(togl->AlphaFlag ? GL_RGBA : GL_RGB) - textureMaxMipMapLevel:0 - pixelsWide:togl->Width pixelsHigh:togl->Height]; - if (pbuf != nil) { - /* setPixelBuffer allocates the framebuffer space */ - [togl->Ctx setPixelBuffer:pbuf cubeMapFace:0 mipMapLevel:0 - currentVirtualScreen:virtualScreen]; - return pbuf; - } - if (!togl->LargestPbufferFlag - || togl->Width == min_size[0] || togl->Height == min_size[1]) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "unable to create pbuffer", TCL_STATIC); - return NULL; - } - /* largest unavailable, try something smaller */ - togl->Width = togl->Width / 2 + togl->Width % 2; - togl->Height = togl->Width / 2 + togl->Height % 2; - } -} - -static void -togl_destroyPbuffer(Togl *togl) -{ - [togl->pbuf release]; -} diff --git a/src/other/togl/src/toglProcAddr.c b/src/other/togl/src/toglProcAddr.c deleted file mode 100644 index 2e72fbeabea..00000000000 --- a/src/other/togl/src/toglProcAddr.c +++ /dev/null @@ -1,61 +0,0 @@ -/* $Id */ - -/* vi:set sw=4: */ - -/* - * Togl - a Tk OpenGL widget - * - * Copyright (C) 1996-2002 Brian Paul and Ben Bederson - * Copyright (C) 2005-2009 Greg Couch - * See the LICENSE file for copyright details. - */ - -#include "togl.h" - -#if defined(TOGL_OSMESA) || defined(TOGL_WGL) -/* nothing extra to include */ -#elif defined(__APPLE__) -# include -#else -# if !defined(TOGL_X11) || !defined(GLX_VERSION_1_4) -# include -# endif -#endif - -Togl_FuncPtr -Togl_GetProcAddr(const char *funcname) -{ -#if defined(TOGL_OSMESA) - return (Togl_FuncPtr) OSMesaGetProcAddress(funcname); -#elif defined(TOGL_WGL) - return (Togl_FuncPtr) wglGetProcAddress(funcname); -#elif defined(__APPLE__) - char buf[256]; - - snprintf(buf, sizeof buf - 1, "_%s", funcname); - buf[sizeof buf - 1] = '\0'; - if (NSIsSymbolNameDefined(buf)) { - NSSymbol nssym; - - nssym = NSLookupAndBindSymbol(buf); - if (nssym) - return (Togl_FuncPtr) NSAddressOfSymbol(nssym); - } - return NULL; -#else -# if defined(TOGL_X11) && defined(GLX_VERSION_1_4) - /* Strictly speaking, we can only call glXGetProcAddress if glXQueryVersion - * says we're using version 1.4 or later. */ - return (Togl_FuncPtr) glXGetProcAddress(funcname); -# else - /* Linux, IRIX, OSF/1, ? */ - static void *dlHandle = NULL; - - if (dlHandle == NULL) - dlHandle = dlopen(NULL, RTLD_LAZY); - /* Strictly speaking, the following cast of a data pointer to a function - * pointer is not legal in ISO C, but we don't have any choice. */ - return (Togl_FuncPtr) dlsym(dlHandle, funcname); -# endif -#endif -} diff --git a/src/other/togl/src/toglStubLib.c b/src/other/togl/src/toglStubLib.c deleted file mode 100644 index da47cc59e5d..00000000000 --- a/src/other/togl/src/toglStubLib.c +++ /dev/null @@ -1,59 +0,0 @@ -#ifndef USE_TCL_STUBS -# define USE_TCL_STUBS -#endif -#undef USE_TCL_STUB_PROCS -#ifndef USE_TK_STUBS -# define USE_TK_STUBS -#endif -#undef USE_TK_STUB_PROCS - -#include "togl.h" - -ToglStubs *toglStubsPtr; - -/* - ** Ensure that Togl_InitStubs is built as an exported symbol. The other stub - ** functions should be built as non-exported symbols. - */ -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT - -/* - * Togl_InitStubs -- - * - * Checks that the correct version of Togl is loaded and that it - * supports stubs. It then initialises the stub table pointers. - * - * Results: - * The actual version of Togl that satisfies the request, or - * NULL to indicate that an error occurred. - * - * Side effects: - * sets the stub table pointer. - * - */ - -#ifdef Togl_InitStubs -# undef Togl_InitStubs -#endif - -const char * -Togl_InitStubs(Tcl_Interp *interp, const char *version, int exact) -{ - const char *actualVersion; - - actualVersion = Tcl_PkgRequireEx(interp, "Togl", version, exact, - (ClientData *) &toglStubsPtr); - if (!actualVersion) { - return NULL; - } - - if (!toglStubsPtr) { - Tcl_SetResult(interp, - "This implementation of Togl does not support stubs", - TCL_STATIC); - return NULL; - } - - return actualVersion; -} diff --git a/src/other/togl/src/toglWGL.c b/src/other/togl/src/toglWGL.c deleted file mode 100644 index 572d5b1954e..00000000000 --- a/src/other/togl/src/toglWGL.c +++ /dev/null @@ -1,601 +0,0 @@ -/* $Id$ */ - -/* vi:set sw=4 expandtab: */ - -/* - * Togl - a Tk OpenGL widget - * - * Copyright (C) 1996-2002 Brian Paul and Ben Bederson - * Copyright (C) 2005-2009 Greg Couch - * See the LICENSE file for copyright details. - */ - -/* TODO: fullscreen support */ - -#include "brlcad_config.h" - -#include -#include -#include -#include -#include -#ifdef HAVE_GL_WGLEXT_H -# include -#else -# include "GL/wglext.h" -#endif - -#ifndef PFD_SUPPORT_COMPOSITION -/* for Vista -- not needed because we don't use PFD_SUPPORT_GDI/BITMAP */ -# define PFD_SUPPORT_COMPOSITION 0x00008000 -#endif - -/* TODO: move these statics into global structure */ -static PFNWGLGETEXTENSIONSSTRINGARBPROC getExtensionsString = NULL; -static PFNWGLCHOOSEPIXELFORMATARBPROC choosePixelFormat; -static PFNWGLGETPIXELFORMATATTRIBIVARBPROC getPixelFormatAttribiv; -static PFNWGLCREATEPBUFFERARBPROC createPbuffer = NULL; -static PFNWGLDESTROYPBUFFERARBPROC destroyPbuffer = NULL; -static PFNWGLGETPBUFFERDCARBPROC getPbufferDC = NULL; -static PFNWGLRELEASEPBUFFERDCARBPROC releasePbufferDC = NULL; -static PFNWGLQUERYPBUFFERARBPROC queryPbuffer = NULL; -static int hasMultisampling = FALSE; -static int hasPbuffer = FALSE; -static int hasARBPbuffer = FALSE; - -static HWND -toglCreateTestWindow(HWND parent) -{ - static char ClassName[] = "ToglTestWindow"; - WNDCLASS wc; - HINSTANCE instance = GetModuleHandle(NULL); - HWND wnd; - HDC dc; - PIXELFORMATDESCRIPTOR pfd; - int pixelFormat; - - wc.style = CS_OWNDC; - wc.lpfnWndProc = DefWindowProc; - wc.cbClsExtra = 0; - wc.cbWndExtra = 0; - wc.hInstance = instance; - wc.hIcon = LoadIcon(NULL, IDI_WINLOGO); - wc.hCursor = LoadCursor(NULL, IDC_ARROW); - wc.hbrBackground = NULL; - wc.lpszMenuName = NULL; - wc.lpszClassName = ClassName; - if (!RegisterClass(&wc)) { - DWORD err = GetLastError(); - - if (err != ERROR_CLASS_ALREADY_EXISTS) { - fprintf(stderr, "Unable to register Togl Test Window class\n"); - return NULL; - } - } - - wnd = CreateWindow(ClassName, "test OpenGL capabilities", - WS_OVERLAPPEDWINDOW | WS_CLIPSIBLINGS | WS_CLIPCHILDREN, - 0, 0, 1, 1, parent, NULL, instance, NULL); - if (wnd == NULL) { - fprintf(stderr, "Unable to create temporary OpenGL window\n"); - return NULL; - } - dc = GetDC(wnd); - - memset(&pfd, 0, sizeof pfd); - pfd.nSize = sizeof pfd; - pfd.nVersion = 1; - pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER; - pfd.iPixelType = PFD_TYPE_RGBA; - pfd.cColorBits = 3; - pfd.iLayerType = PFD_MAIN_PLANE; - pixelFormat = ChoosePixelFormat(dc, &pfd); - if (pixelFormat == 0) { - fprintf(stderr, "Unable to choose simple pixel format\n"); - ReleaseDC(wnd, dc); - return NULL; - } - if (!SetPixelFormat(dc, pixelFormat, &pfd)) { - fprintf(stderr, "Unable to set simple pixel format\n"); - ReleaseDC(wnd, dc); - return NULL; - } - - ShowWindow(wnd, SW_HIDE); // make sure it's hidden - ReleaseDC(wnd, dc); - return wnd; -} - -struct FBInfo -{ - int stereo; - int acceleration; - int colors; - int depth; - int samples; - int pixelFormat; -}; -typedef struct FBInfo FBInfo; -static int FBAttribs[] = { - /* must match order in FBInfo structure */ - WGL_STEREO_ARB, - WGL_ACCELERATION_ARB, - WGL_COLOR_BITS_ARB, - WGL_DEPTH_BITS_ARB, - WGL_SAMPLES_ARB, -}; - -#define NUM_FBAttribs (sizeof FBAttribs / sizeof FBAttribs[0]) - -static int -FBInfoCmp(const void *a, const void *b) -{ - /* - * 1. stereo is better - * 2. full acceleration is better - * 3. greater color bits is better - * 4. greater depth bits is better - * 5. more multisampling is better - */ - const FBInfo *x = (const FBInfo *) a; - const FBInfo *y = (const FBInfo *) b; - - if (x->stereo != y->stereo) - return y->stereo - x->stereo; - if (x->acceleration != y->acceleration) - return y->acceleration - x->acceleration; - if (x->colors != y->colors) - return y->colors - x->colors; - if (x->depth != y->depth) - return y->depth - x->depth; - if (x->samples != y->samples) - return y->samples - x->samples; - return 0; -} - -static int -togl_pixelFormat(Togl *togl, HWND hwnd) -{ - /* return 0 when pixel format is unavailable. */ - int pixelformat = 0; - static int loadedOpenGL = FALSE; - int formats[256]; - UINT numFormats; - FBInfo *info; - UINT i; - int attribs[128]; - int na = 0; - - if (!loadedOpenGL) { - HWND test = NULL; - HDC dc; - HGLRC rc; - - if (wglGetCurrentContext() != NULL) { - dc = wglGetCurrentDC(); - } else { - /* HWND hwnd = Tk_GetHWND(Tk_WindowId(togl->TkWin)); */ - - test = toglCreateTestWindow(hwnd); - if (test == NULL) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "can't create dummy OpenGL window", - TCL_STATIC); - return 0; - } - - dc = GetDC(test); - rc = wglCreateContext(dc); - wglMakeCurrent(dc, rc); - } - loadedOpenGL = TRUE; - - /* - * Now that we have an OpenGL window, we can initialize all - * OpenGL information and figure out if multisampling is supported. - */ - getExtensionsString = (PFNWGLGETEXTENSIONSSTRINGARBPROC) - wglGetProcAddress("wglGetExtensionsStringARB"); - if (getExtensionsString == NULL) - getExtensionsString = (PFNWGLGETEXTENSIONSSTRINGARBPROC) - wglGetProcAddress("wglGetExtensionsStringEXT"); - if (getExtensionsString) { - const char *extensions = getExtensionsString(dc); - - if (strstr(extensions, "WGL_ARB_multisample") != NULL - || strstr(extensions, "WGL_EXT_multisample") != NULL) - hasMultisampling = TRUE; - - if (strstr(extensions, "WGL_ARB_pixel_format") != NULL) { - choosePixelFormat = (PFNWGLCHOOSEPIXELFORMATARBPROC) - wglGetProcAddress("wglChoosePixelFormatARB"); - getPixelFormatAttribiv = (PFNWGLGETPIXELFORMATATTRIBIVARBPROC) - wglGetProcAddress("wglGetPixelFormatAttribivARB"); - if (choosePixelFormat == NULL || getPixelFormatAttribiv == NULL) { - choosePixelFormat = NULL; - getPixelFormatAttribiv = NULL; - } - } - if (choosePixelFormat == NULL - && strstr(extensions, "WGL_EXT_pixel_format") != NULL) { - choosePixelFormat = (PFNWGLCHOOSEPIXELFORMATARBPROC) - wglGetProcAddress("wglChoosePixelFormatEXT"); - getPixelFormatAttribiv = (PFNWGLGETPIXELFORMATATTRIBIVARBPROC) - wglGetProcAddress("wglGetPixelFormatAttribivEXT"); - if (choosePixelFormat == NULL || getPixelFormatAttribiv == NULL) { - choosePixelFormat = NULL; - getPixelFormatAttribiv = NULL; - } - } - if (createPbuffer == NULL - && strstr(extensions, "WGL_ARB_pbuffer") != NULL) { - createPbuffer = (PFNWGLCREATEPBUFFERARBPROC) - wglGetProcAddress("wglCreatePbufferARB"); - destroyPbuffer = (PFNWGLDESTROYPBUFFERARBPROC) - wglGetProcAddress("wglDestroyPbufferARB"); - getPbufferDC = (PFNWGLGETPBUFFERDCARBPROC) - wglGetProcAddress("wglGetPbufferDCARB"); - releasePbufferDC = (PFNWGLRELEASEPBUFFERDCARBPROC) - wglGetProcAddress("wglReleasePbufferDCARB"); - queryPbuffer = (PFNWGLQUERYPBUFFERARBPROC) - wglGetProcAddress("wglQueryPbufferARB"); - if (createPbuffer == NULL || destroyPbuffer == NULL - || getPbufferDC == NULL || releasePbufferDC == NULL - || queryPbuffer == NULL) { - createPbuffer = NULL; - destroyPbuffer = NULL; - getPbufferDC = NULL; - releasePbufferDC = NULL; - queryPbuffer = NULL; - } else { - hasPbuffer = TRUE; - hasARBPbuffer = TRUE; - } - } - if (createPbuffer == NULL - && strstr(extensions, "WGL_EXT_pbuffer") != NULL) { - createPbuffer = (PFNWGLCREATEPBUFFERARBPROC) - wglGetProcAddress("wglCreatePbufferEXT"); - destroyPbuffer = (PFNWGLDESTROYPBUFFERARBPROC) - wglGetProcAddress("wglDestroyPbufferEXT"); - getPbufferDC = (PFNWGLGETPBUFFERDCARBPROC) - wglGetProcAddress("wglGetPbufferDCEXT"); - releasePbufferDC = (PFNWGLRELEASEPBUFFERDCARBPROC) - wglGetProcAddress("wglReleasePbufferDCEXT"); - queryPbuffer = (PFNWGLQUERYPBUFFERARBPROC) - wglGetProcAddress("wglQueryPbufferEXT"); - if (createPbuffer == NULL || destroyPbuffer == NULL - || getPbufferDC == NULL || releasePbufferDC == NULL - || queryPbuffer == NULL) { - createPbuffer = NULL; - destroyPbuffer = NULL; - getPbufferDC = NULL; - releasePbufferDC = NULL; - queryPbuffer = NULL; - } else { - hasPbuffer = TRUE; - } - } - } - - /* No need to confirm multisampling is in glGetString(GL_EXTENSIONS) - * because OpenGL driver is local */ - - if (test != NULL) { - /* cleanup by removing temporary OpenGL window */ - wglMakeCurrent(NULL, NULL); - wglDeleteContext(rc); - ReleaseDC(test, dc); - DestroyWindow(test); - } - } - - if (togl->MultisampleFlag && !hasMultisampling) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "multisampling not supported", TCL_STATIC); - return 0; - } - - if (togl->PbufferFlag && !hasPbuffer) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "pbuffers are not supported", TCL_STATIC); - return 0; - } - - if (choosePixelFormat == NULL) { - PIXELFORMATDESCRIPTOR pfd; - - /* Don't have the great wglChoosePixelFormatARB() function, so do it - * the old way. */ - if (togl->MultisampleFlag) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "multisampling not supported", TCL_STATIC); - return 0; - } - - memset(&pfd, 0, sizeof pfd); - pfd.nSize = sizeof pfd; - pfd.nVersion = 1; - pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL - | PFD_SUPPORT_COMPOSITION; - if (togl->DoubleFlag) { - pfd.dwFlags |= PFD_DOUBLEBUFFER; - } - if (togl->Stereo == TOGL_STEREO_NATIVE) { - pfd.dwFlags |= PFD_STEREO; - } - pfd.iPixelType = togl->RgbaFlag ? PFD_TYPE_RGBA : PFD_TYPE_COLORINDEX; - pfd.cColorBits = togl->RgbaRed + togl->RgbaGreen + togl->RgbaBlue; - /* Alpha bitplanes are not supported in the current generic OpenGL - * implementation, but may be supported by specific hardware devices. */ - pfd.cAlphaBits = togl->AlphaFlag ? togl->AlphaSize : 0; - pfd.cAccumBits = togl->AccumFlag ? (togl->AccumRed + togl->AccumGreen + - togl->AccumBlue + togl->AccumAlpha) : 0; - pfd.cDepthBits = togl->DepthFlag ? togl->DepthSize : 0; - pfd.cStencilBits = togl->StencilFlag ? togl->StencilSize : 0; - /* Auxiliary buffers are not supported in the current generic OpenGL - * implementation, but may be supported by specific hardware devices. */ - pfd.cAuxBuffers = togl->AuxNumber; - pfd.iLayerType = PFD_MAIN_PLANE; - - if ((pixelformat = ChoosePixelFormat(togl->tglGLHdc, &pfd)) == 0) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "couldn't choose pixel format", TCL_STATIC); - return 0; - } - - /* double check that we got the stereo format we requested */ - if (togl->Stereo == TOGL_STEREO_NATIVE) { - DescribePixelFormat(togl->tglGLHdc, pixelformat, sizeof (pfd), - &pfd); - if ((pfd.dwFlags & PFD_STEREO) == 0) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "couldn't choose stereo pixel format", - TCL_STATIC); - return 0; - } - } - return pixelformat; - } - // We have the new wglChoosePixelFormat!! - if (togl->MultisampleFlag && !hasMultisampling) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "multisampling not supported", TCL_STATIC); - return 0; - } - - if (togl->PbufferFlag) - attribs[na++] = WGL_DRAW_TO_PBUFFER_ARB; - else - attribs[na++] = WGL_DRAW_TO_WINDOW_ARB; - attribs[na++] = GL_TRUE; - attribs[na++] = WGL_SUPPORT_OPENGL_ARB; - attribs[na++] = GL_TRUE; - attribs[na++] = WGL_PIXEL_TYPE_ARB; - if (!togl->RgbaFlag) { - attribs[na++] = WGL_TYPE_COLORINDEX_ARB; - } else { - attribs[na++] = WGL_TYPE_RGBA_ARB; - attribs[na++] = WGL_RED_BITS_ARB; - attribs[na++] = togl->RgbaRed; - attribs[na++] = WGL_GREEN_BITS_ARB; - attribs[na++] = togl->RgbaGreen; - attribs[na++] = WGL_BLUE_BITS_ARB; - attribs[na++] = togl->RgbaBlue; - if (togl->AlphaFlag) { - attribs[na++] = WGL_ALPHA_BITS_ARB; - attribs[na++] = togl->AlphaSize; - } - } - if (togl->DepthFlag) { - attribs[na++] = WGL_DEPTH_BITS_ARB; - attribs[na++] = togl->DepthSize; - } - if (togl->DoubleFlag) { - attribs[na++] = WGL_DOUBLE_BUFFER_ARB; - attribs[na++] = GL_TRUE; - } - if (togl->StencilFlag) { - attribs[na++] = WGL_STENCIL_BITS_ARB; - attribs[na++] = togl->StencilSize; - } - if (togl->AccumFlag) { - attribs[na++] = WGL_ACCUM_RED_BITS_ARB; - attribs[na++] = togl->AccumRed; - attribs[na++] = WGL_ACCUM_GREEN_BITS_ARB; - attribs[na++] = togl->AccumGreen; - attribs[na++] = WGL_ACCUM_BLUE_BITS_ARB; - attribs[na++] = togl->AccumBlue; - if (togl->AlphaFlag) { - attribs[na++] = WGL_ACCUM_ALPHA_BITS_ARB; - attribs[na++] = togl->AccumAlpha; - } - } - if (togl->Stereo == TOGL_STEREO_NATIVE) { - attribs[na++] = WGL_STEREO_ARB; - attribs[na++] = GL_TRUE; - } - if (togl->MultisampleFlag) { - attribs[na++] = WGL_SAMPLE_BUFFERS_ARB; - attribs[na++] = 1; - attribs[na++] = WGL_SAMPLES_ARB; - attribs[na++] = 2; - } - if (togl->AuxNumber) { - attribs[na++] = WGL_AUX_BUFFERS_ARB; - attribs[na++] = togl->AuxNumber; - } - attribs[na++] = 0; // must be last - - if (!choosePixelFormat(togl->tglGLHdc, &attribs[0], NULL, 256, formats, - &numFormats) || numFormats == 0) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "couldn't choose pixel format", TCL_STATIC); - return 0; - } - - /* - * Pick best format - */ - info = (FBInfo *) malloc(numFormats * sizeof (FBInfo)); - for (i = 0; i != numFormats; ++i) { - info[i].pixelFormat = formats[i]; - getPixelFormatAttribiv(togl->tglGLHdc, formats[i], 0, - NUM_FBAttribs, FBAttribs, &info[i].stereo); - /* revise attributes so larger is better */ - if (!togl->DepthFlag) - info[i].depth = -info[i].depth; - if (!togl->MultisampleFlag) - info[i].samples = -info[i].samples; - if (togl->Stereo != TOGL_STEREO_NATIVE) - info[i].stereo = -info[i].stereo; - } - qsort(info, numFormats, sizeof info[0], FBInfoCmp); - pixelformat = info[0].pixelFormat; - /* double check that we got the stereo format we requested */ - if (togl->Stereo == TOGL_STEREO_NATIVE && !info[0].stereo) { - Tcl_SetResult(togl->Interp, - TCL_STUPID "couldn't choose stereo pixel format", TCL_STATIC); - free(info); - return 0; - } - free(info); - return pixelformat; -} - -static int -togl_describePixelFormat(Togl *togl) -{ - if (getPixelFormatAttribiv == NULL) { - PIXELFORMATDESCRIPTOR pfd; - - DescribePixelFormat(togl->tglGLHdc, (int) togl->PixelFormat, - sizeof (pfd), &pfd); - /* fill in flags normally passed in that affect behavior */ - togl->RgbaFlag = pfd.iPixelType == PFD_TYPE_RGBA; - togl->DoubleFlag = (pfd.dwFlags & PFD_DOUBLEBUFFER) != 0; - togl->DepthFlag = (pfd.cDepthBits != 0); - togl->AccumFlag = (pfd.cAccumBits != 0); - togl->AlphaFlag = (pfd.cAlphaBits != 0); - togl->StencilFlag = (pfd.cStencilBits != 0); - if ((pfd.dwFlags & PFD_STEREO) != 0) - togl->Stereo = TOGL_STEREO_NATIVE; - else - togl->Stereo = TOGL_STEREO_NONE; - } else { - static int attribs[] = { - WGL_PIXEL_TYPE_ARB, - WGL_DOUBLE_BUFFER_ARB, - WGL_DEPTH_BITS_ARB, - WGL_ACCUM_RED_BITS_ARB, - WGL_ALPHA_BITS_ARB, - WGL_STENCIL_BITS_ARB, - WGL_STEREO_ARB, - WGL_SAMPLES_ARB - }; -#define NUM_ATTRIBS (sizeof attribs / sizeof attribs[0]) - int info[NUM_ATTRIBS]; - - getPixelFormatAttribiv(togl->tglGLHdc, (int) togl->PixelFormat, 0, - NUM_ATTRIBS, attribs, info); -#undef NUM_ATTRIBS - togl->RgbaFlag = info[0]; - togl->DoubleFlag = info[1]; - togl->DepthFlag = (info[2] != 0); - togl->AccumFlag = (info[3] != 0); - togl->AlphaFlag = (info[4] != 0); - togl->StencilFlag = (info[5] != 0); - togl->Stereo = info[6] ? TOGL_STEREO_NATIVE : TOGL_STEREO_NONE; - togl->MultisampleFlag = (info[7] != 0); - } - return True; -} - -static HPBUFFERARB -togl_createPbuffer(Togl *togl) -{ - int attribs[32]; - int na = 0; - HPBUFFERARB pbuf; - - if (togl->LargestPbufferFlag) { - attribs[na++] = WGL_PBUFFER_LARGEST_ARB; - attribs[na++] = 1; - } - attribs[na] = 0; - pbuf = createPbuffer(togl->tglGLHdc, (int) togl->PixelFormat, togl->Width, - togl->Height, attribs); - if (pbuf && togl->LargestPbufferFlag) { - queryPbuffer(pbuf, WGL_PBUFFER_WIDTH_ARB, &togl->Width); - queryPbuffer(pbuf, WGL_PBUFFER_HEIGHT_ARB, &togl->Height); - } - return pbuf; -} - -static void -togl_destroyPbuffer(Togl *togl) -{ - destroyPbuffer(togl->pbuf); -} - -#if 0 -// From nvidia.com - -Multisampling requires WGL_ARB_extension_string and WGL_ARB_pixel_format -wglGetProcAddress("wglGetExtensionsStringARB") -// From msdn.microsoft.com, various ways to enumerate PixelFormats - void CPixForm::OnClickedLastPfd() -{ - COpenGL gl; - PIXELFORMATDESCRIPTOR pfd; - - // - // Get the hwnd of the view window. - // - HWND hwndview = GetViewHwnd(); - - // - // Get a DC associated with the view window. - // - HDC dc =::GetDC(hwndview); - int nID = (m_nNextID > 1) ? m_nNextID-- : 1; - - // - // Get a description of the pixel format. If it is valid, then go and - // update the controls in the dialog box, otherwise do nothing. - // - if (gl.DescribePixelFormat(dc, nID, sizeof (PIXELFORMATDESCRIPTOR), &pfd)) - UpdateDlg(&pfd); - // - // Release the DC. - // - ::ReleaseDC(hwndview, dc); -} - ----------------------- - // local variables -int iMax; -PIXELFORMATDESCRIPTOR pfd; -int iPixelFormat; - -// initialize a pixel format index variable -iPixelFormat = 1; - -// keep obtaining and examining pixel format data... -do { - // try to obtain some pixel format data - iMax = DescribePixelFormat(dc, iPixelFormat, sizeof (pfd), &pfd); - - // if there was some problem with that... - if (iMax == 0) - // return indicating failure - return (FALSE); - - // we have successfully obtained pixel format data - - // let's examine the pixel format data... - myPixelFormatExaminer(&pfd); -} -// ...until we've looked at all the device context's pixel formats -while (++iPixelFormat <= iMax); -#endif diff --git a/src/other/togl/tools/genStubs.tcl b/src/other/togl/tools/genStubs.tcl deleted file mode 100644 index 41ff5f44eea..00000000000 --- a/src/other/togl/tools/genStubs.tcl +++ /dev/null @@ -1,1115 +0,0 @@ -# genStubs.tcl -- -# -# This script generates a set of stub files for a given -# interface. -# -# -# Copyright (c) 1998-1999 by Scriptics Corporation. -# Copyright (c) 2007 Daniel A. Steffen -# -# See the file "license.terms" for information on usage and redistribution -# of this file, and for a DISCLAIMER OF ALL WARRANTIES. -# -# RCS: @(#) $Id$ - -package require Tcl 8.4 - -namespace eval genStubs { - # libraryName -- - # - # The name of the entire library. This value is used to compute - # the USE_*_STUB_PROCS macro and the name of the init file. - - variable libraryName "UNKNOWN" - - # interfaces -- - # - # An array indexed by interface name that is used to maintain - # the set of valid interfaces. The value is empty. - - array set interfaces {} - - # curName -- - # - # The name of the interface currently being defined. - - variable curName "UNKNOWN" - - # hooks -- - # - # An array indexed by interface name that contains the set of - # subinterfaces that should be defined for a given interface. - - array set hooks {} - - # stubs -- - # - # This three dimensional array is indexed first by interface name, - # second by platform name, and third by a numeric offset or the - # constant "lastNum". The lastNum entry contains the largest - # numeric offset used for a given interface/platform combo. Each - # numeric offset contains the C function specification that - # should be used for the given entry in the stub table. The spec - # consists of a list in the form returned by parseDecl. - - array set stubs {} - - # outDir -- - # - # The directory where the generated files should be placed. - - variable outDir . -} - -# genStubs::library -- -# -# This function is used in the declarations file to set the name -# of the library that the interfaces are associated with (e.g. "tcl"). -# This value will be used to define the inline conditional macro. -# -# Arguments: -# name The library name. -# -# Results: -# None. - -proc genStubs::library {name} { - variable libraryName $name -} - -# genStubs::interface -- -# -# This function is used in the declarations file to set the name -# of the interface currently being defined. -# -# Arguments: -# name The name of the interface. -# -# Results: -# None. - -proc genStubs::interface {name} { - variable curName $name - variable interfaces - - set interfaces($name) {} - return -} - -# genStubs::hooks -- -# -# This function defines the subinterface hooks for the current -# interface. -# -# Arguments: -# names The ordered list of interfaces that are reachable through the -# hook vector. -# -# Results: -# None. - -proc genStubs::hooks {names} { - variable curName - variable hooks - - set hooks($curName) $names - return -} - -# genStubs::declare -- -# -# This function is used in the declarations file to declare a new -# interface entry. -# -# Arguments: -# index The index number of the interface. -# platform The platform the interface belongs to. Should be one -# of generic, win, unix, or macosx or aqua or x11. -# decl The C function declaration, or {} for an undefined -# entry. -# -# Results: -# None. - -proc genStubs::declare {args} { - variable stubs - variable curName - - if {[llength $args] != 3} { - puts stderr "wrong # args: declare $args" - } - lassign $args index platformList decl - - # Check for duplicate declarations, then add the declaration and - # bump the lastNum counter if necessary. - - foreach platform $platformList { - if {[info exists stubs($curName,$platform,$index)]} { - puts stderr "Duplicate entry: declare $args" - } - } - regsub -all "\[ \t\n\]+" [string trim $decl] " " decl - set decl [parseDecl $decl] - - foreach platform $platformList { - if {$decl != ""} { - set stubs($curName,$platform,$index) $decl - if {![info exists stubs($curName,$platform,lastNum)] \ - || ($index > $stubs($curName,$platform,lastNum))} { - set stubs($curName,$platform,lastNum) $index - } - } - } - return -} - -# genStubs::export -- -# -# This function is used in the declarations file to declare a symbol -# that is exported from the library but is not in the stubs table. -# -# Arguments: -# decl The C function declaration, or {} for an undefined -# entry. -# -# Results: -# None. - -proc genStubs::export {args} { - variable stubs - variable curName - - if {[llength $args] != 1} { - puts stderr "wrong # args: export $args" - } - lassign $args decl - - return -} - -# genStubs::rewriteFile -- -# -# This function replaces the machine generated portion of the -# specified file with new contents. It looks for the !BEGIN! and -# !END! comments to determine where to place the new text. -# -# Arguments: -# file The name of the file to modify. -# text The new text to place in the file. -# -# Results: -# None. - -proc genStubs::rewriteFile {file text} { - if {![file exists $file]} { - puts stderr "Cannot find file: $file" - return - } - set in [open ${file} r] - set out [open ${file}.new w] - fconfigure $out -translation lf - - while {![eof $in]} { - set line [gets $in] - if {[string match "*!BEGIN!*" $line]} { - break - } - puts $out $line - } - puts $out "/* !BEGIN!: Do not edit below this line. */" - puts $out $text - while {![eof $in]} { - set line [gets $in] - if {[string match "*!END!*" $line]} { - break - } - } - puts $out "/* !END!: Do not edit above this line. */" - puts -nonewline $out [read $in] - close $in - close $out - file rename -force ${file}.new ${file} - return -} - -# genStubs::addPlatformGuard -- -# -# Wrap a string inside a platform #ifdef. -# -# Arguments: -# plat Platform to test. -# -# Results: -# Returns the original text inside an appropriate #ifdef. - -proc genStubs::addPlatformGuard {plat iftxt {eltxt {}}} { - set text "" - switch $plat { - win { - append text "#ifdef __WIN32__ /* WIN */\n${iftxt}" - if {$eltxt ne ""} { - append text "#else /* WIN */\n${eltxt}" - } - append text "#endif /* WIN */\n" - } - unix { - append text "#if !defined(__WIN32__) && !defined(MAC_OSX_TCL)\ - /* UNIX */\n${iftxt}" - if {$eltxt ne ""} { - append text "#else /* UNIX */\n${eltxt}" - } - append text "#endif /* UNIX */\n" - } - macosx { - append text "#ifdef MAC_OSX_TCL /* MACOSX */\n${iftxt}" - if {$eltxt ne ""} { - append text "#else /* MACOSX */\n${eltxt}" - } - append text "#endif /* MACOSX */\n" - } - aqua { - append text "#ifdef MAC_OSX_TK /* AQUA */\n${iftxt}" - if {$eltxt ne ""} { - append text "#else /* AQUA */\n${eltxt}" - } - append text "#endif /* AQUA */\n" - } - x11 { - append text "#if !(defined(__WIN32__) || defined(MAC_OSX_TK))\ - /* X11 */\n${iftxt}" - if {$eltxt ne ""} { - append text "#else /* X11 */\n${eltxt}" - } - append text "#endif /* X11 */\n" - } - default { - append text "${iftxt}${eltxt}" - } - } - return $text -} - -# genStubs::emitSlots -- -# -# Generate the stub table slots for the given interface. If there -# are no generic slots, then one table is generated for each -# platform, otherwise one table is generated for all platforms. -# -# Arguments: -# name The name of the interface being emitted. -# textVar The variable to use for output. -# -# Results: -# None. - -proc genStubs::emitSlots {name textVar} { - variable stubs - upvar $textVar text - - forAllStubs $name makeSlot 1 text {" void *reserved$i;\n"} - return -} - -# genStubs::parseDecl -- -# -# Parse a C function declaration into its component parts. -# -# Arguments: -# decl The function declaration. -# -# Results: -# Returns a list of the form {returnType name args}. The args -# element consists of a list of type/name pairs, or a single -# element "void". If the function declaration is malformed -# then an error is displayed and the return value is {}. - -proc genStubs::parseDecl {decl} { - if {![regexp {^(.*)\((.*)\)$} $decl all prefix args]} { - set prefix $decl - set args {} - } - set prefix [string trim $prefix] - if {![regexp {^(.+[ ][*]*)([^ *]+)$} $prefix all rtype fname]} { - puts stderr "Bad return type: $decl" - return - } - set rtype [string trim $rtype] - if {$args == ""} { - return [list $rtype $fname {}] - } - foreach arg [split $args ,] { - lappend argList [string trim $arg] - } - if {![string compare [lindex $argList end] "..."]} { - set args TCL_VARARGS - foreach arg [lrange $argList 0 end-1] { - set argInfo [parseArg $arg] - if {[llength $argInfo] == 2 || [llength $argInfo] == 3} { - lappend args $argInfo - } else { - puts stderr "Bad argument: '$arg' in '$decl'" - return - } - } - } else { - set args {} - foreach arg $argList { - set argInfo [parseArg $arg] - if {![string compare $argInfo "void"]} { - lappend args "void" - break - } elseif {[llength $argInfo] == 2 || [llength $argInfo] == 3} { - lappend args $argInfo - } else { - puts stderr "Bad argument: '$arg' in '$decl'" - return - } - } - } - return [list $rtype $fname $args] -} - -# genStubs::parseArg -- -# -# This function parses a function argument into a type and name. -# -# Arguments: -# arg The argument to parse. -# -# Results: -# Returns a list of type and name with an optional third array -# indicator. If the argument is malformed, returns "". - -proc genStubs::parseArg {arg} { - if {![regexp {^(.+[ ][*]*)([^][ *]+)(\[\])?$} $arg all type name array]} { - if {$arg == "void"} { - return $arg - } else { - return - } - } - set result [list [string trim $type] $name] - if {$array != ""} { - lappend result $array - } - return $result -} - -# genStubs::makeDecl -- -# -# Generate the prototype for a function. -# -# Arguments: -# name The interface name. -# decl The function declaration. -# index The slot index for this function. -# -# Results: -# Returns the formatted declaration string. - -proc genStubs::makeDecl {name decl index} { - lassign $decl rtype fname args - - append text "/* $index */\n" - set line "EXTERN $rtype" - set count [expr {2 - ([string length $line] / 8)}] - append line [string range "\t\t\t" 0 $count] - set pad [expr {24 - [string length $line]}] - if {$pad <= 0} { - append line " " - set pad 0 - } - if {$args == ""} { - append line $fname - append text $line - append text ";\n" - return $text - } - append line $fname - - set arg1 [lindex $args 0] - switch -exact $arg1 { - void { - append line "(void)" - } - TCL_VARARGS { - set sep "(" - foreach arg [lrange $args 1 end] { - append line $sep - set next {} - append next [lindex $arg 0] - if {[string index $next end] ne "*"} { - append next " " - } - append next [lindex $arg 1] [lindex $arg 2] - if {[string length $line] + [string length $next] \ - + $pad > 76} { - append text [string trimright $line] \n - set line "\t\t\t\t" - set pad 28 - } - append line $next - set sep ", " - } - append line ", ...)" - } - default { - set sep "(" - foreach arg $args { - append line $sep - set next {} - append next [lindex $arg 0] - if {[string index $next end] ne "*"} { - append next " " - } - append next [lindex $arg 1] [lindex $arg 2] - if {[string length $line] + [string length $next] \ - + $pad > 76} { - append text [string trimright $line] \n - set line "\t\t\t\t" - set pad 28 - } - append line $next - set sep ", " - } - append line ")" - } - } - append text $line ";" - format "#ifndef %s_TCL_DECLARED\n#define %s_TCL_DECLARED\n%s\n#endif\n" \ - $fname $fname $text -} - -# genStubs::makeMacro -- -# -# Generate the inline macro for a function. -# -# Arguments: -# name The interface name. -# decl The function declaration. -# index The slot index for this function. -# -# Results: -# Returns the formatted macro definition. - -proc genStubs::makeMacro {name decl index} { - lassign $decl rtype fname args - - set lfname [string tolower [string index $fname 0]] - append lfname [string range $fname 1 end] - - set text "#ifndef $fname\n#define $fname" - if {$args == ""} { - append text " \\\n\t(*${name}StubsPtr->$lfname)" - append text " /* $index */\n#endif\n" - return $text - } - append text " \\\n\t(${name}StubsPtr->$lfname)" - append text " /* $index */\n#endif\n" - return $text -} - -# genStubs::makeSlot -- -# -# Generate the stub table entry for a function. -# -# Arguments: -# name The interface name. -# decl The function declaration. -# index The slot index for this function. -# -# Results: -# Returns the formatted table entry. - -proc genStubs::makeSlot {name decl index} { - lassign $decl rtype fname args - - set lfname [string tolower [string index $fname 0]] - append lfname [string range $fname 1 end] - - set text " " - if {$args == ""} { - append text $rtype " *" $lfname "; /* $index */\n" - return $text - } - if {[string range $rtype end-7 end] == "CALLBACK"} { - append text [string trim [string range $rtype 0 end-8]] " (CALLBACK *" $lfname ") " - } else { - append text $rtype " (*" $lfname ") " - } - set arg1 [lindex $args 0] - switch -exact $arg1 { - void { - append text "(void)" - } - TCL_VARARGS { - set sep "(" - foreach arg [lrange $args 1 end] { - append text $sep [lindex $arg 0] - if {[string index $text end] ne "*"} { - append text " " - } - append text [lindex $arg 1] [lindex $arg 2] - set sep ", " - } - append text ", ...)" - } - default { - set sep "(" - foreach arg $args { - append text $sep [lindex $arg 0] - if {[string index $text end] ne "*"} { - append text " " - } - append text [lindex $arg 1] [lindex $arg 2] - set sep ", " - } - append text ")" - } - } - - append text "; /* $index */\n" - return $text -} - -# genStubs::makeInit -- -# -# Generate the prototype for a function. -# -# Arguments: -# name The interface name. -# decl The function declaration. -# index The slot index for this function. -# -# Results: -# Returns the formatted declaration string. - -proc genStubs::makeInit {name decl index} { - if {[lindex $decl 2] == ""} { - append text " &" [lindex $decl 1] ", /* " $index " */\n" - } else { - append text " " [lindex $decl 1] ", /* " $index " */\n" - } - return $text -} - -# genStubs::forAllStubs -- -# -# This function iterates over all of the platforms and invokes -# a callback for each slot. The result of the callback is then -# placed inside appropriate platform guards. -# -# Arguments: -# name The interface name. -# slotProc The proc to invoke to handle the slot. It will -# have the interface name, the declaration, and -# the index appended. -# onAll If 1, emit the skip string even if there are -# definitions for one or more platforms. -# textVar The variable to use for output. -# skipString The string to emit if a slot is skipped. This -# string will be subst'ed in the loop so "$i" can -# be used to substitute the index value. -# -# Results: -# None. - -proc genStubs::forAllStubs {name slotProc onAll textVar \ - {skipString {"/* Slot $i is reserved */\n"}}} { - variable stubs - upvar $textVar text - - set plats [array names stubs $name,*,lastNum] - if {[info exists stubs($name,generic,lastNum)]} { - # Emit integrated stubs block - set lastNum -1 - foreach plat [array names stubs $name,*,lastNum] { - if {$stubs($plat) > $lastNum} { - set lastNum $stubs($plat) - } - } - for {set i 0} {$i <= $lastNum} {incr i} { - set slots [array names stubs $name,*,$i] - set emit 0 - if {[info exists stubs($name,generic,$i)]} { - if {[llength $slots] > 1} { - puts stderr "conflicting generic and platform entries:\ - $name $i" - } - append text [$slotProc $name $stubs($name,generic,$i) $i] - set emit 1 - } elseif {[llength $slots] > 0} { - array set slot {unix 0 x11 0 win 0 macosx 0 aqua 0} - foreach s $slots { - set slot([lindex [split $s ,] 1]) 1 - } - # "aqua", "macosx" and "x11" are special cases: - # "macosx" implies "unix", "aqua" implies "macosx" and "x11" - # implies "unix", so we need to be careful not to emit - # duplicate stubs entries: - if {($slot(unix) && $slot(macosx)) || ( - ($slot(unix) || $slot(macosx)) && - ($slot(x11) || $slot(aqua)))} { - puts stderr "conflicting platform entries: $name $i" - } - ## unix ## - set temp {} - set plat unix - if {!$slot(aqua) && !$slot(x11)} { - if {$slot($plat)} { - append temp [$slotProc $name $stubs($name,$plat,$i) $i] - } elseif {$onAll} { - eval {append temp} $skipString - } - } - if {$temp ne ""} { - append text [addPlatformGuard $plat $temp] - set emit 1 - } - ## x11 ## - set temp {} - set plat x11 - if {!$slot(unix) && !$slot(macosx)} { - if {$slot($plat)} { - append temp [$slotProc $name $stubs($name,$plat,$i) $i] - } elseif {$onAll} { - eval {append temp} $skipString - } - } - if {$temp ne ""} { - append text [addPlatformGuard $plat $temp] - set emit 1 - } - ## win ## - set temp {} - set plat win - if {$slot($plat)} { - append temp [$slotProc $name $stubs($name,$plat,$i) $i] - } elseif {$onAll} { - eval {append temp} $skipString - } - if {$temp ne ""} { - append text [addPlatformGuard $plat $temp] - set emit 1 - } - ## macosx ## - set temp {} - set plat macosx - if {!$slot(aqua) && !$slot(x11)} { - if {$slot($plat)} { - append temp [$slotProc $name $stubs($name,$plat,$i) $i] - } elseif {$slot(unix)} { - append temp [$slotProc $name $stubs($name,unix,$i) $i] - } elseif {$onAll} { - eval {append temp} $skipString - } - } - if {$temp ne ""} { - append text [addPlatformGuard $plat $temp] - set emit 1 - } - ## aqua ## - set temp {} - set plat aqua - if {!$slot(unix) && !$slot(macosx)} { - if {[string range $skipString 1 2] ne "/*"} { - # genStubs.tcl previously had a bug here causing it to - # erroneously generate both a unix entry and an aqua - # entry for a given stubs table slot. To preserve - # backwards compatibility, generate a dummy stubs entry - # before every aqua entry (note that this breaks the - # correspondence between emitted entry number and - # actual position of the entry in the stubs table, e.g. - # TkIntStubs entry 113 for aqua is in fact at position - # 114 in the table, entry 114 at position 116 etc). - eval {append temp} $skipString - set temp "[string range $temp 0 end-1] /*\ - Dummy entry for stubs table backwards\ - compatibility */\n" - } - if {$slot($plat)} { - append temp [$slotProc $name $stubs($name,$plat,$i) $i] - } elseif {$onAll} { - eval {append temp} $skipString - } - } - if {$temp ne ""} { - append text [addPlatformGuard $plat $temp] - set emit 1 - } - } - if {!$emit} { - eval {append text} $skipString - } - } - } else { - # Emit separate stubs blocks per platform - array set block {unix 0 x11 0 win 0 macosx 0 aqua 0} - foreach s [array names stubs $name,*,lastNum] { - set block([lindex [split $s ,] 1]) 1 - } - ## unix ## - if {$block(unix) && !$block(x11)} { - set temp {} - set plat unix - set lastNum $stubs($name,$plat,lastNum) - for {set i 0} {$i <= $lastNum} {incr i} { - if {[info exists stubs($name,$plat,$i)]} { - append temp [$slotProc $name $stubs($name,$plat,$i) $i] - } else { - eval {append temp} $skipString - } - } - append text [addPlatformGuard $plat $temp] - } - ## win ## - if {$block(win)} { - set temp {} - set plat win - set lastNum $stubs($name,$plat,lastNum) - for {set i 0} {$i <= $lastNum} {incr i} { - if {[info exists stubs($name,$plat,$i)]} { - append temp [$slotProc $name $stubs($name,$plat,$i) $i] - } else { - eval {append temp} $skipString - } - } - append text [addPlatformGuard $plat $temp] - } - ## macosx ## - if {$block(macosx) && !$block(aqua) && !$block(x11)} { - set temp {} - set lastNum -1 - foreach plat {unix macosx} { - if {$block($plat)} { - set lastNum [expr {$lastNum > $stubs($name,$plat,lastNum) - ? $lastNum : $stubs($name,$plat,lastNum)}] - } - } - for {set i 0} {$i <= $lastNum} {incr i} { - set emit 0 - foreach plat {unix macosx} { - if {[info exists stubs($name,$plat,$i)]} { - append temp [$slotProc $name $stubs($name,$plat,$i) $i] - set emit 1 - break - } - } - if {!$emit} { - eval {append temp} $skipString - } - } - append text [addPlatformGuard macosx $temp] - } - ## aqua ## - if {$block(aqua)} { - set temp {} - set lastNum -1 - foreach plat {unix macosx aqua} { - if {$block($plat)} { - set lastNum [expr {$lastNum > $stubs($name,$plat,lastNum) - ? $lastNum : $stubs($name,$plat,lastNum)}] - } - } - for {set i 0} {$i <= $lastNum} {incr i} { - set emit 0 - foreach plat {unix macosx aqua} { - if {[info exists stubs($name,$plat,$i)]} { - append temp [$slotProc $name $stubs($name,$plat,$i) $i] - set emit 1 - break - } - } - if {!$emit} { - eval {append temp} $skipString - } - } - append text [addPlatformGuard aqua $temp] - } - ## x11 ## - if {$block(x11)} { - set temp {} - set lastNum -1 - foreach plat {unix macosx x11} { - if {$block($plat)} { - set lastNum [expr {$lastNum > $stubs($name,$plat,lastNum) - ? $lastNum : $stubs($name,$plat,lastNum)}] - } - } - for {set i 0} {$i <= $lastNum} {incr i} { - set emit 0 - foreach plat {unix macosx x11} { - if {[info exists stubs($name,$plat,$i)]} { - if {$plat ne "macosx"} { - append temp [$slotProc $name \ - $stubs($name,$plat,$i) $i] - } else { - eval {set etxt} $skipString - append temp [addPlatformGuard $plat [$slotProc \ - $name $stubs($name,$plat,$i) $i] $etxt] - } - set emit 1 - break - } - } - if {!$emit} { - eval {append temp} $skipString - } - } - append text [addPlatformGuard x11 $temp] - } - } -} - -# genStubs::emitDeclarations -- -# -# This function emits the function declarations for this interface. -# -# Arguments: -# name The interface name. -# textVar The variable to use for output. -# -# Results: -# None. - -proc genStubs::emitDeclarations {name textVar} { - variable stubs - upvar $textVar text - - append text "\n/*\n * Exported function declarations:\n */\n\n" - forAllStubs $name makeDecl 0 text - return -} - -# genStubs::emitMacros -- -# -# This function emits the inline macros for an interface. -# -# Arguments: -# name The name of the interface being emitted. -# textVar The variable to use for output. -# -# Results: -# None. - -proc genStubs::emitMacros {name textVar} { - variable stubs - variable libraryName - upvar $textVar text - - set upName [string toupper $libraryName] - append text "\n#if defined(USE_${upName}_STUBS) &&\ - !defined(USE_${upName}_STUB_PROCS)\n" - append text "\n/*\n * Inline function declarations:\n */\n\n" - - forAllStubs $name makeMacro 0 text - - append text "\n#endif /* defined(USE_${upName}_STUBS) &&\ - !defined(USE_${upName}_STUB_PROCS) */\n" - return -} - -# genStubs::emitHeader -- -# -# This function emits the body of the Decls.h file for -# the specified interface. -# -# Arguments: -# name The name of the interface being emitted. -# -# Results: -# None. - -proc genStubs::emitHeader {name} { - variable outDir - variable hooks - variable libraryName - - set capName [string toupper [string index $name 0]] - append capName [string range $name 1 end] - - emitDeclarations $name text - - if {[info exists hooks($name)]} { - append text "\ntypedef struct ${capName}StubHooks {\n" - foreach hook $hooks($name) { - set capHook [string toupper [string index $hook 0]] - append capHook [string range $hook 1 end] - append text " const struct ${capHook}Stubs *${hook}Stubs;\n" - } - append text "} ${capName}StubHooks;\n" - } - append text "\ntypedef struct ${capName}Stubs {\n" - append text " int magic;\n" - append text " const struct ${capName}StubHooks *hooks;\n\n" - - emitSlots $name text - - append text "} ${capName}Stubs;\n" - - set upName [string toupper $libraryName] - append text "\n#if defined(USE_${upName}_STUBS) && !defined(USE_${upName}_STUB_PROCS)\n" - append text "extern const ${capName}Stubs *${name}StubsPtr;" - append text "\n#endif /* defined(USE_${upName}_STUBS) && !defined(USE_${upName}_STUB_PROCS) */\n" - - emitMacros $name text - - rewriteFile [file join $outDir ${name}Decls.h] $text - return -} - -# genStubs::emitInit -- -# -# Generate the table initializers for an interface. -# -# Arguments: -# name The name of the interface to initialize. -# textVar The variable to use for output. -# -# Results: -# Returns the formatted output. - -proc genStubs::emitInit {name textVar} { - variable stubs - variable hooks - variable interfaces - upvar $textVar text - set root 1 - - set capName [string toupper [string index $name 0]] - append capName [string range $name 1 end] - - if {[info exists hooks($name)]} { - append text "\nstatic const ${capName}StubHooks ${name}StubHooks = \{\n" - set sep " " - foreach sub $hooks($name) { - append text $sep "&${sub}Stubs" - set sep ",\n " - } - append text "\n\};\n" - } - foreach intf [array names interfaces] { - if {[info exists hooks($intf)]} { - if {0<=[lsearch -exact $hooks($intf) $name]} { - set root 0 - break; - } - } - } - - if {$root} { - append text "\nconst ${capName}Stubs ${name}Stubs = \{\n" - } else { - append text "\nstatic const ${capName}Stubs ${name}Stubs = \{\n" - } - append text " TCL_STUB_MAGIC,\n" - if {[info exists hooks($name)]} { - append text " &${name}StubHooks,\n" - } else { - append text " NULL,\n" - } - - forAllStubs $name makeInit 1 text {" NULL, /* $i */\n"} - - append text "\};\n" - return -} - -# genStubs::emitInits -- -# -# This function emits the body of the StubInit.c file for -# the specified interface. -# -# Arguments: -# name The name of the interface being emitted. -# -# Results: -# None. - -proc genStubs::emitInits {} { - variable hooks - variable outDir - variable libraryName - variable interfaces - - # Assuming that dependencies only go one level deep, we need to emit - # all of the leaves first to avoid needing forward declarations. - - set leaves {} - set roots {} - foreach name [lsort [array names interfaces]] { - if {[info exists hooks($name)]} { - lappend roots $name - } else { - lappend leaves $name - } - } - foreach name $leaves { - emitInit $name text - } - foreach name $roots { - emitInit $name text - } - - rewriteFile [file join $outDir ${libraryName}StubInit.c] $text -} - -# genStubs::init -- -# -# This is the main entry point. -# -# Arguments: -# None. -# -# Results: -# None. - -proc genStubs::init {} { - global argv argv0 - variable outDir - variable interfaces - - if {[llength $argv] < 2} { - puts stderr "usage: $argv0 outDir declFile ?declFile...?" - exit 1 - } - - set outDir [lindex $argv 0] - - foreach file [lrange $argv 1 end] { - source $file - } - - foreach name [lsort [array names interfaces]] { - puts "Emitting $name" - emitHeader $name - } - - emitInits - set outfile [open [file join $outDir STUBSDONE] w] - puts $outfile "done" - close $outfile -} - -# lassign -- -# -# This function emulates the TclX lassign command. -# -# Arguments: -# valueList A list containing the values to be assigned. -# args The list of variables to be assigned. -# -# Results: -# Returns any values that were not assigned to variables. - -if {[string length [namespace which lassign]] == 0} { - proc lassign {valueList args} { - if {[llength $args] == 0} { - error "wrong # args: should be \"lassign list varName ?varName ...?\"" - } - uplevel [list foreach $args $valueList {break}] - return [lrange $valueList [llength $args] end] - } -} - -genStubs::init diff --git a/src/other/togl/tools/valgrind-togl.supp b/src/other/togl/tools/valgrind-togl.supp deleted file mode 100644 index eeaa314131e..00000000000 --- a/src/other/togl/tools/valgrind-togl.supp +++ /dev/null @@ -1,65 +0,0 @@ -# -# This is a valgrind suppression file that should be used when using valgrind. -# -# Here's an example of running valgrind: -# -# env TCLLIBPATH=l. valgrind --tool=memcheck \ -# --suppressions=valgrind-togl.supp wish8.4 gears.tcl - -# all tool names: Addrcheck,Memcheck,cachegrind,helgrind,massif - -{ - ioctl1 - Memcheck:Param - ioctl(generic) - fun:ioctl - obj:/usr/lib/libGL.so* -} - -{ - ioctl2 - Memcheck:Param - ioctl(generic) - fun:ioctl - obj:/usr/lib/libGLcore.so* -} - -{ - cond1 - Memcheck:Cond - obj:/usr/lib/libGLcore.so* -} - -{ - cond2 - Memcheck:Cond - fun:_nv0*gl - obj:/usr/lib/libGLcore.so* -} - -{ - strcat1 - Memcheck:Cond - fun:strcat - obj:/usr/lib/libGLcore.so* -} - -{ - uninit4 - Memcheck:Value4 - obj:/usr/lib/libGLcore.so* -} - -{ - invalidRead4 - Memcheck:Addr4 - obj:/usr/lib/libGLcore.so* -} - - -{ - uninit16 - Memcheck:Value16 - obj:/usr/lib/libGLcore.so* -} - diff --git a/src/other/togl/tools/valgrind.cmd b/src/other/togl/tools/valgrind.cmd deleted file mode 100644 index e9feb363e80..00000000000 --- a/src/other/togl/tools/valgrind.cmd +++ /dev/null @@ -1 +0,0 @@ -env TCLLIBPATH=. valgrind --tool=memcheck --leak-check=yes --gen-suppressions=yes --suppressions=valgrind-togl.supp /usr/local/bin/wish8.4 gears.tcl From 7199876ccd497eb564503a509641c9dff13f19fd Mon Sep 17 00:00:00 2001 From: Clifford Yapp <238416+starseeker@users.noreply.github.com> Date: Wed, 12 Jun 2013 14:53:00 +0000 Subject: [PATCH 114/149] Use the BRLCAD_MANAGE_FILES macro for the isst script. svn:revision:55720 svn:branch:trunk svn:account:starseeker --- src/adrt/CMakeLists.txt | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/src/adrt/CMakeLists.txt b/src/adrt/CMakeLists.txt index 428258ea271..a38ce5bce62 100644 --- a/src/adrt/CMakeLists.txt +++ b/src/adrt/CMakeLists.txt @@ -73,23 +73,10 @@ if(BRLCAD_ENABLE_OPENGL) ARCHIVE DESTINATION ${LIB_DIR}/isst0.1) include(${BRLCAD_SOURCE_DIR}/misc/CMake/TCL_PKGINDEX.cmake) TCL_PKGINDEX(issttcltk isst "0.1") - # TODO - need to make this configure line into a real target ala - # BRLCAD_ADDDATA in order for the build dir copy to be updated when it - # is changed. if(WIN32) - set(isst_script isst.bat) - else(WIN32) - set(isst_script isst) + BRLCAD_MANAGE_FILES("isst.bat" ${BIN_DIR}) endif(WIN32) - if(NOT CMAKE_CONFIGURATION_TYPES) - configure_file(${isst_script} ${CMAKE_BINARY_DIR}/bin/${isst_script} COPYONLY) - else(NOT CMAKE_CONFIGURATION_TYPES) - foreach(CFG_TYPE ${CMAKE_CONFIGURATION_TYPES}) - string(TOUPPER "${CFG_TYPE}" CFG_TYPE_UPPER) - configure_file(${isst_script} ${CMAKE_BINARY_DIR_${CFG_TYPE_UPPER}}/bin/${isst_script} COPY_ONLY) - endforeach(CFG_TYPE ${CMAKE_CONFIGURATION_TYPES}) - endif(NOT CMAKE_CONFIGURATION_TYPES) - install(PROGRAMS ${isst_script} DESTINATION bin) + BRLCAD_MANAGE_FILES("isst" ${BIN_DIR}) endif(BRLCAD_ENABLE_OPENGL) CMAKEFILES(isst_tcltk.c) From e700842e119734e68fac6c58d907b3bcf7d7e9be Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Wed, 12 Jun 2013 16:38:13 +0000 Subject: [PATCH 115/149] implement h and ?, removing old h (high-res) svn:revision:55721 svn:branch:trunk svn:account:carlmoore --- src/fb/fb-pix.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/fb/fb-pix.c b/src/fb/fb-pix.c index 729c1a9f938..c14952b8803 100644 --- a/src/fb/fb-pix.c +++ b/src/fb/fb-pix.c @@ -61,15 +61,11 @@ get_args(int argc, char **argv) { int c; - while ((c = bu_getopt(argc, argv, "chiF:s:w:n:")) != -1) { + while ((c = bu_getopt(argc, argv, "ciF:s:w:n:h?")) != -1) { switch (c) { case 'c': crunch = 1; break; - case 'h': - /* high-res */ - screen_height = screen_width = 1024; - break; case 'i': inverse = 1; break; @@ -127,7 +123,7 @@ main(int argc, char **argv) ColorMap cmap; /* libfb color map */ char usage[] = "\ -Usage: fb-pix [-h -i -c] [-F framebuffer]\n\ +Usage: fb-pix [-i -c] [-F framebuffer]\n\ [-s squaresize] [-w width] [-n height] [file.pix]\n"; screen_height = screen_width = 512; /* Defaults */ From e0ea03b2d427eae63aa775d2696b80f40742f48f Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Wed, 12 Jun 2013 16:41:35 +0000 Subject: [PATCH 116/149] change old h to H (do not see other alternate), and use h and ? for help; never mind 'DEPRECATED' message, which didn't print during my testing; also, got rid of core dump svn:revision:55722 svn:branch:trunk svn:account:carlmoore --- src/fb/fb-orle.c | 34 +++++++++++----------------------- 1 file changed, 11 insertions(+), 23 deletions(-) diff --git a/src/fb/fb-orle.c b/src/fb/fb-orle.c index 771582109cc..13d92b4e0e5 100644 --- a/src/fb/fb-orle.c +++ b/src/fb/fb-orle.c @@ -38,16 +38,6 @@ #include "fb.h" #include "orle.h" -static char *usage[] = { - "Usage: fb-rle [-CScdhvw] [-l X Y] [-F Frame_buffer] [-p X Y] [file.rle]", - "", - "If no RLE file is specified, fb-rle will write to its standard output.", - "If the environment variable FB_FILE is set, its value will be used to", - "specify the framebuffer file or device to read from.", - 0 -}; - - static FBIO *fbp; static FILE *fp; static RGBpixel bgpixel; @@ -167,8 +157,11 @@ parsArgv(int argc, char **argv) { int c; + if (isatty(fileno(stdin)) && isatty(fileno(stdout)) && argc == 1) + return 0; + /* Parse options. */ - while ((c = bu_getopt(argc, argv, "CF:Scdhl:p:vw")) != -1) { + while ((c = bu_getopt(argc, argv, "CF:ScdHl:p:vwh?")) != -1) { switch (c) { case 'C' : /* Crunch color map. */ crunch = 1; @@ -183,7 +176,7 @@ parsArgv(int argc, char **argv) case 'd' : /* For debugging. */ rle_debug = 1; break; - case 'h' : /* High resolution. */ + case 'H' : /* High resolution. */ width = 1024; break; case 'l' : /* Length in x and y. */ @@ -214,7 +207,7 @@ parsArgv(int argc, char **argv) break; case 'F' : fb_file = bu_optarg; break; - case '?' : + default : return 0; } } @@ -235,8 +228,7 @@ parsArgv(int argc, char **argv) (void) fprintf(stderr, "Too many arguments!\n"); return 0; } - if (isatty(fileno(fp))) - return 0; + if (xlen == 0) xlen = width; if (ylen == 0) @@ -244,21 +236,17 @@ parsArgv(int argc, char **argv) return 1; } - /* p r n t U s a g e () Print usage message. */ static void prntUsage(void) { - char **p = usage; - - while (*p) { - (void) fprintf(stderr, "%s\n", *p++); - } - return; + fprintf(stderr, "Usage: fb-orle [-CScdHvw] [-l X Y] [-F Frame_buffer] [-p X Y] [file.rle]\n\n"); + fprintf(stderr, "If no RLE file is specified, fb-orle will write to its standard output.\n"); + fprintf(stderr, "If the environment variable FB_FILE is set, its value will be used.\n"); } - + /* * Local Variables: From 36e5db780a07d9abf2119dfcc8cfe39050754ff1 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Wed, 12 Jun 2013 16:43:53 +0000 Subject: [PATCH 117/149] cosmetic stuff (comparing with a-d.c) svn:revision:55723 svn:branch:trunk svn:account:carlmoore --- src/sig/d-a.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/sig/d-a.c b/src/sig/d-a.c index 71bcca419ae..53d62541258 100644 --- a/src/sig/d-a.c +++ b/src/sig/d-a.c @@ -25,9 +25,9 @@ #include "common.h" -#include -#include #include +#include +#include #include "bio.h" #include "bu.h" @@ -38,7 +38,8 @@ int nflag = 0; static const char usage[] = "\ Usage: d-a [-n] < doubles > ascii\n"; -int main(int argc, char **argv) +int +main(int argc, char **argv) { double d; From a7f312a1e4c859fe0cc27b0194d0417943450ee0 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Wed, 12 Jun 2013 16:46:14 +0000 Subject: [PATCH 118/149] minor changes to Usage; implement h,? svn:revision:55724 svn:branch:trunk svn:account:carlmoore --- src/conv/fast4-g.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/conv/fast4-g.c b/src/conv/fast4-g.c index 7097cc4bb16..7d775aedbce 100644 --- a/src/conv/fast4-g.c +++ b/src/conv/fast4-g.c @@ -230,9 +230,9 @@ static point_t *grid_points = NULL; static void usage() { - bu_log("Usage:\n\tfast4-g [-dwq] [-c component_list] [-m muves_file] [-o plot_file] [-b BU_DEBUG_FLAG] [-x RT_DEBUG_FLAG] fastgen4_bulk_data_file output.g\n"); + bu_log("Usage: fast4-g [-dwq] [-c component_list] [-m muves_file] [-o plot_file] [-b BU_DEBUG_FLAG] [-x RT_DEBUG_FLAG] fastgen4_bulk_data_file output.g\n"); bu_log(" d - print debugging info\n"); - bu_log(" q - quiet mode (don't say anything except error messages\n"); + bu_log(" q - quiet mode (don't say anything except error messages)\n"); bu_log(" w - print warnings about creating default names\n"); bu_log(" c - process only the listed region ids, may be a list (3001, 4082, 5347) or a range (2314-3527)\n"); bu_log(" m - create a MUVES input file containing CHGCOMP and CBACKING elements\n"); @@ -2835,7 +2835,7 @@ main(int argc, char **argv) bu_setprogname(argv[0]); - while ((c=bu_getopt(argc, argv, "qm:o:c:dwx:b:X:C:")) != -1) { + while ((c=bu_getopt(argc, argv, "qm:o:c:dwx:b:X:C:h?")) != -1) { switch (c) { case 'q': /* quiet mode */ quiet = 1; @@ -2870,7 +2870,6 @@ main(int argc, char **argv) color_file = bu_optarg; break; default: - bu_log("Unrecognized option (%c)\n", c); usage(); break; } From 77ab32da011dc28a67ddb1f91ab1e4d2fcf99d46 Mon Sep 17 00:00:00 2001 From: Robert Parker Date: Wed, 12 Jun 2013 18:07:06 +0000 Subject: [PATCH 119/149] Tweak for compiling on Windows. svn:revision:55725 svn:branch:trunk svn:account:bob1961 --- src/adrt/isst_tcltk.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/adrt/isst_tcltk.c b/src/adrt/isst_tcltk.c index 4a2991bca66..7db13690ce6 100644 --- a/src/adrt/isst_tcltk.c +++ b/src/adrt/isst_tcltk.c @@ -28,6 +28,10 @@ #include +#ifdef _WIN32 +#include "tkWinInt.h" +#endif + #include #include "tcl.h" From b1a7f2f0758b6ac59ce3fdc8e9400cdad7f441df Mon Sep 17 00:00:00 2001 From: Erik Greenwald Date: Wed, 12 Jun 2013 18:11:24 +0000 Subject: [PATCH 120/149] remove some debugging printfs svn:revision:55726 svn:branch:trunk svn:account:erikgreenwald --- src/adrt/isst_tcltk.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/adrt/isst_tcltk.c b/src/adrt/isst_tcltk.c index 7db13690ce6..8f501512cfe 100644 --- a/src/adrt/isst_tcltk.c +++ b/src/adrt/isst_tcltk.c @@ -298,7 +298,6 @@ isst_init(ClientData UNUSED(clientData), Tcl_Interp *UNUSED(interp), int UNUSED( static int isst_zap(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const *objv) { - printf(">>> %s\n", __FUNCTION__); if (objc != 2) { Tcl_WrongNumArgs(interp, 1, objv, "pathName"); return TCL_ERROR; @@ -314,7 +313,6 @@ static int render_mode(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const *objv) { char buf[BUFSIZ]; - printf(">>> %s\n", __FUNCTION__); if (objc < 3) { Tcl_WrongNumArgs(interp, 1, objv, "pathName mode [arguments]"); @@ -337,7 +335,6 @@ zero_view(ClientData UNUSED(clientData), Tcl_Interp *UNUSED(interp), int UNUSED( { vect_t vec; double mag_vec; - printf(">>> %s\n", __FUNCTION__); mag_vec = DIST_PT_PT(isst->camera.pos, isst->camera.focus); From 82ceb5a767e9d13eb06e3b2c9551ddc777995e88 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Wed, 12 Jun 2013 19:05:35 +0000 Subject: [PATCH 121/149] fix the man page for fb-png svn:revision:55727 svn:branch:trunk svn:account:carlmoore --- doc/docbook/system/man1/en/fb-png.xml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/doc/docbook/system/man1/en/fb-png.xml b/doc/docbook/system/man1/en/fb-png.xml index 559970866b7..0c1e7511d0e 100644 --- a/doc/docbook/system/man1/en/fb-png.xml +++ b/doc/docbook/system/man1/en/fb-png.xml @@ -16,7 +16,7 @@ fb-png - -hic + -ic -ggamma -Fframebuffer -ssquaresize @@ -48,9 +48,6 @@ flag.
By default, the output png file, and the requested framebuffer size, is assumed to be 512x512 pixels. -Specifying the - -flag, changes the default to 1024x1024. The flag will set both the file height and width to be the given size, while From 408600a76d84a2466f25e9ed2b8efa8910cccbcc Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Wed, 12 Jun 2013 19:37:23 +0000 Subject: [PATCH 122/149] remove references to h in the fbanim man page svn:revision:55728 svn:branch:trunk svn:account:carlmoore --- doc/docbook/system/man1/en/fbanim.xml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/docbook/system/man1/en/fbanim.xml b/doc/docbook/system/man1/en/fbanim.xml index 4a5313adbca..5d7a1c9d82d 100644 --- a/doc/docbook/system/man1/en/fbanim.xml +++ b/doc/docbook/system/man1/en/fbanim.xml @@ -16,7 +16,7 @@ fbanim - -hirv + -irv -S screensquaresize -W screenwidth -N screenheight @@ -58,9 +58,7 @@ Slower rates may also be used. The default is 8 frames/second. By default, the framebuffer is assumed to be loaded with a 512x512 pixel image. -Specifying the - -flag, changes the default to 1024x1024. Alternatively, the +Alternatively, the flags can be used in the normal way to specify the size of the screen (see From 865a82ba1490b05a705b833b3687364a0d2cbefd Mon Sep 17 00:00:00 2001 From: Richard Weiss Date: Wed, 12 Jun 2013 19:38:54 +0000 Subject: [PATCH 123/149] Allow the "g_qa" (aka gqa) command, from the system command line, use the "-q" option. svn:revision:55729 svn:branch:trunk svn:account:r_weiss --- src/gtools/g_qa.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gtools/g_qa.c b/src/gtools/g_qa.c index 4080e77b5c4..5e300f8f9eb 100644 --- a/src/gtools/g_qa.c +++ b/src/gtools/g_qa.c @@ -34,7 +34,7 @@ #include "cmd.h" #include "ged.h" -static char usage[] = "Usage: %s [-A A|a|b|e|g|o|v|w] [-a az] [-d] [-e el] [-f densityFile] [-g spacing|upper, lower|upper-lower] [-G] [-n nhits] [-N nviews] [-p] [-P ncpus] [-r] [-S nsamples] [-t overlap_tol] [-U useair] [-u len_units vol_units wt_units] [-v] [-V volume_tol] [-W weight_tol] model object [object...]\n"; +static char usage[] = "Usage: %s [-A A|a|b|e|g|o|v|w] [-a az] [-d] [-e el] [-f densityFile] [-g spacing|upper, lower|upper-lower] [-G] [-n nhits] [-N nviews] [-p] [-P ncpus] [-q] [-r] [-S nsamples] [-t overlap_tol] [-U useair] [-u len_units vol_units wt_units] [-v] [-V volume_tol] [-W weight_tol] model object [objects...]\n"; /* * M A I N @@ -52,7 +52,7 @@ main(int argc, char *argv[]) bu_optind = 1; /* Get past command line options. */ - while ((c = bu_getopt(argc, argv, "A:a:de:f:g:Gn:N:pP:rS:s:t:U:u:vV:W:")) != -1) { + while ((c = bu_getopt(argc, argv, "A:a:de:f:g:Gn:N:pP:qrS:s:t:U:u:vV:W:")) != -1) { switch (c) { case 'A': case 'a': @@ -65,6 +65,7 @@ main(int argc, char *argv[]) case 'N': case 'p': case 'P': + case 'q': case 'r': case 'S': case 't': From 42db5490b7acad344df5e25f30baf7ec5ef610a1 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Wed, 12 Jun 2013 19:41:34 +0000 Subject: [PATCH 124/149] remove old h (high-res); implement help via ?,h svn:revision:55730 svn:branch:trunk svn:account:carlmoore --- src/fb/fb-png.c | 8 ++------ src/fb/fbanim.c | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/fb/fb-png.c b/src/fb/fb-png.c index 6539d79b593..19c87b1ddce 100644 --- a/src/fb/fb-png.c +++ b/src/fb/fb-png.c @@ -61,15 +61,11 @@ get_args(int argc, char **argv) int c; char *file_name; - while ((c = bu_getopt(argc, argv, "chiF:s:w:n:g:#:")) != -1) { + while ((c = bu_getopt(argc, argv, "ciF:s:w:n:g:#:h?")) != -1) { switch (c) { case 'c': crunch = 1; break; - case 'h': - /* high-res */ - screen_height = screen_width = 1024; - break; case 'i': inverse = 1; break; @@ -136,7 +132,7 @@ main(int argc, char **argv) png_infop info_p; char usage[] = "\ -Usage: fb-png [-h -i -c] [-# nbytes/pixel] [-F framebuffer] [-g gamma]\n\ +Usage: fb-png [-i -c] [-# nbytes/pixel] [-F framebuffer] [-g gamma]\n\ [-s squaresize] [-w width] [-n height] [file.png]\n"; screen_height = screen_width = 512; /* Defaults */ diff --git a/src/fb/fbanim.c b/src/fb/fbanim.c index 4d9f6e4da75..656856887b1 100644 --- a/src/fb/fbanim.c +++ b/src/fb/fbanim.c @@ -60,7 +60,7 @@ int passes = 100; /* limit on number of passes */ int inverse; /* for old 4th quadrant sequences */ char Usage[] = "\ -Usage: fbanim [-h -i -r -v] [-p passes]\n\ +Usage: fbanim [-i -r -v] [-p passes]\n\ [-S squarescrsize] [-W scr_width] [-N scr_height]\n\ [-s square_subimage_size] [-w subimage_width] [-n subimage_height]\n\ subimage_width nframes [fps]\n"; @@ -70,7 +70,7 @@ get_args(int argc, char **argv) { int c; - while ((c = bu_getopt(argc, argv, "s:w:n:hirvp:S:W:N:")) != -1) { + while ((c = bu_getopt(argc, argv, "s:w:n:hirvp:S:W:N:h?")) != -1) { switch (c) { case 's': subimage_width = subimage_height = atoi(bu_optarg); @@ -94,10 +94,6 @@ get_args(int argc, char **argv) case 'v': verbose = 1; break; - case 'h': - /* high-res screen */ - screen_width = screen_height = 1024; - break; case 'S': screen_height = screen_width = atoi(bu_optarg); break; From a904772972e51817d1f169df496b109dbadb72b3 Mon Sep 17 00:00:00 2001 From: Clifford Yapp <238416+starseeker@users.noreply.github.com> Date: Wed, 12 Jun 2013 19:42:51 +0000 Subject: [PATCH 125/149] CMake's install command doesn't preserve the executable flag with the FILES option, so add a way to tell the macro it's installing a script. svn:revision:55731 svn:branch:trunk svn:account:starseeker --- misc/CMake/BRLCAD_Targets.cmake | 7 ++++++- src/adrt/CMakeLists.txt | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/misc/CMake/BRLCAD_Targets.cmake b/misc/CMake/BRLCAD_Targets.cmake index 37ddb4eccb3..bf490d6ea80 100644 --- a/misc/CMake/BRLCAD_Targets.cmake +++ b/misc/CMake/BRLCAD_Targets.cmake @@ -602,7 +602,12 @@ macro(BRLCAD_MANAGE_FILES inputdata targetdir) # The installation rule relates only to the original source directory copy, and so doesn't # need to explicitly concern itself with configurations. - install(FILES ${datalist} DESTINATION ${targetdir}) + CHECK_OPT("EXEC" EXEC_INSTALL "${ARGN}") + if(EXEC_INSTALL) + install(PROGRAMS ${datalist} DESTINATION ${targetdir}) + else(EXEC_INSTALL) + install(FILES ${datalist} DESTINATION ${targetdir}) + endif(EXEC_INSTALL) endmacro(BRLCAD_MANAGE_FILES) diff --git a/src/adrt/CMakeLists.txt b/src/adrt/CMakeLists.txt index a38ce5bce62..179882300b9 100644 --- a/src/adrt/CMakeLists.txt +++ b/src/adrt/CMakeLists.txt @@ -74,9 +74,9 @@ if(BRLCAD_ENABLE_OPENGL) include(${BRLCAD_SOURCE_DIR}/misc/CMake/TCL_PKGINDEX.cmake) TCL_PKGINDEX(issttcltk isst "0.1") if(WIN32) - BRLCAD_MANAGE_FILES("isst.bat" ${BIN_DIR}) + BRLCAD_MANAGE_FILES("isst.bat" ${BIN_DIR} EXEC) endif(WIN32) - BRLCAD_MANAGE_FILES("isst" ${BIN_DIR}) + BRLCAD_MANAGE_FILES("isst" ${BIN_DIR} EXEC) endif(BRLCAD_ENABLE_OPENGL) CMAKEFILES(isst_tcltk.c) From 08dc57d64fae466168a075bda4d5a9d37bdbe8ae Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Wed, 12 Jun 2013 20:38:05 +0000 Subject: [PATCH 126/149] insert missing 'e' in options in Usage; remove h (high-res); add h,? and run-with-no-arguments for help; 'sets mode to' inserted in 3 places to avoid the appearance of needed ARGUMENT svn:revision:55732 svn:branch:trunk svn:account:carlmoore --- src/fb/fbcbars.c | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/src/fb/fbcbars.c b/src/fb/fbcbars.c index dc2a28392c8..7cb10048b0f 100644 --- a/src/fb/fbcbars.c +++ b/src/fb/fbcbars.c @@ -154,11 +154,11 @@ static RGBpixel botpart[5] = { static char usage[] = "\ -Usage: fbcbars [-fs] [-h] [-F framebuffer]\n\ +Usage: fbcbars [-fes] [-F framebuffer]\n\ [-S squarescrsize] [-W scr_width] [-N scr_height]\n\ - -f FCC/EBU bars\n\ - -e EIA bars\n\ - -s SMPTE bars\n"; + -f sets mode to FCC/EBU bars\n\ + -e sets mode to EIA bars\n\ + -s sets mode to SMPTE bars\n"; #define M_EIA 0 #define M_FCC 1 @@ -170,7 +170,7 @@ get_args(int argc, char **argv) { int c; - while ((c = bu_getopt(argc, argv, "efshF:S:W:N:")) != -1) { + while ((c = bu_getopt(argc, argv, "efsF:S:W:N:h?")) != -1) { switch (c) { case 'e': mode = M_EIA; @@ -181,10 +181,6 @@ get_args(int argc, char **argv) case 'f': mode = M_FCC; break; - case 'h': - /* high-res */ - scr_height = scr_width = 1024; - break; case 'F': framebuffer = bu_optarg; break; @@ -209,6 +205,11 @@ get_args(int argc, char **argv) return 1; /* OK */ } +void +printusage(void) { + (void)fputs(usage, stderr); + bu_exit(1, NULL); +} int main(int argc, char **argv) @@ -216,10 +217,10 @@ main(int argc, char **argv) int x, y; FBIO *fbp; - if (!get_args(argc, argv)) { - (void)fputs(usage, stderr); - bu_exit(1, NULL); - } + if (argc == 1 && isatty(fileno(stdin)) && isatty(fileno(stdout))) + printusage(); + if (!get_args(argc, argv)) + printusage(); if ((fbp = fb_open(framebuffer, scr_width, scr_height)) == NULL) bu_exit(12, NULL); From 6d9c0e2c877a3141848ab91e5b2c20f8cf507e59 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Wed, 12 Jun 2013 20:43:16 +0000 Subject: [PATCH 127/149] fix the fbcbars man page svn:revision:55733 svn:branch:trunk svn:account:carlmoore --- doc/docbook/system/man1/en/fbcbars.xml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/doc/docbook/system/man1/en/fbcbars.xml b/doc/docbook/system/man1/en/fbcbars.xml index 175ff219eff..5ace92a7a9c 100644 --- a/doc/docbook/system/man1/en/fbcbars.xml +++ b/doc/docbook/system/man1/en/fbcbars.xml @@ -19,7 +19,6 @@ -e -f -s - -h -F framebuffer -S squarescrsize -W scr_width @@ -71,9 +70,6 @@ by using the flag. Ordinarily, the requested framebuffer size is the device default. -Specifying the - -flag changes the size to 1024x1024. The scr_width From c1d91b93e0895a4a5b9e71e1ebea92ce103f9f3f Mon Sep 17 00:00:00 2001 From: Nicholas Reed Date: Thu, 13 Jun 2013 13:34:22 +0000 Subject: [PATCH 128/149] balance tag svn:revision:55734 svn:branch:trunk svn:account:n_reed --- doc/docbook/system/man1/en/fbcbars.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/docbook/system/man1/en/fbcbars.xml b/doc/docbook/system/man1/en/fbcbars.xml index 5ace92a7a9c..57e78b9c303 100644 --- a/doc/docbook/system/man1/en/fbcbars.xml +++ b/doc/docbook/system/man1/en/fbcbars.xml @@ -69,7 +69,7 @@ by using the flag. -Ordinarily, the requested framebuffer size is the device default. +Ordinarily, the requested framebuffer size is the device default. The scr_width From 099bf62b872c78d18f29f100c19139617b372873 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Thu, 13 Jun 2013 13:36:59 +0000 Subject: [PATCH 129/149] default thread affinity locking to OFF for release since something is reportedly wrong on Linux, need to investigate why all cpus not getting used. svn:revision:55735 svn:branch:trunk svn:account:brlcad --- src/libbu/parallel.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/libbu/parallel.c b/src/libbu/parallel.c index f13129977ec..10fb8b19b76 100644 --- a/src/libbu/parallel.c +++ b/src/libbu/parallel.c @@ -386,7 +386,9 @@ parallel_interface(void) { struct thread_data user_thread_data_pi; char *libbu_affinity = NULL; - int affinity = 1; + + /* OFF by default until linux issue is debugged */ + int affinity = 0; user_thread_data_pi.user_func = parallel_func; user_thread_data_pi.user_arg = parallel_arg; @@ -431,7 +433,9 @@ bu_parallel(void (*func)(int, genptr_t), int ncpu, genptr_t arg) int x; char *libbu_affinity = NULL; - int affinity = 1; + + /* OFF by default until linux issue is debugged */ + int affinity = 0; /* * multithreading support for SunOS 5.X / Solaris 2.x From 0cd0ccac970a0af32868013a9901ec659dfa7358 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Thu, 13 Jun 2013 13:37:42 +0000 Subject: [PATCH 130/149] look at thread affinity locking on linux svn:revision:55736 svn:branch:trunk svn:account:brlcad --- TODO | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TODO b/TODO index 447ecc892db..57298090e1e 100644 --- a/TODO +++ b/TODO @@ -23,6 +23,8 @@ THESE TASKS SHOULD HAPPEN BEFORE THE NEXT RELEASE THESE TASKS SHOULD HAPPEN WITHIN TWO RELEASE ITERATIONS ------------------------------------------------------- +* investigate thread affinity locking on Linux + * investigate INFINITY spatial partitioning issue. * closing the graphics window brings down X11 on Mac due to a bad From 19591cd7af03723688b00fd0a28c156ecc81992d Mon Sep 17 00:00:00 2001 From: Erik Greenwald Date: Thu, 13 Jun 2013 15:34:14 +0000 Subject: [PATCH 131/149] tkWinInt.h is just being used to include windows.h, so just use windows.h svn:revision:55737 svn:branch:trunk svn:account:erikgreenwald --- src/adrt/isst_tcltk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/adrt/isst_tcltk.c b/src/adrt/isst_tcltk.c index 8f501512cfe..1739dd75b51 100644 --- a/src/adrt/isst_tcltk.c +++ b/src/adrt/isst_tcltk.c @@ -28,8 +28,9 @@ #include +/* required for GL */ #ifdef _WIN32 -#include "tkWinInt.h" +# include "windows.h" #endif #include From 8a675d704aa541c70a4c6acc1b1f3a1fc01393cb Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Thu, 13 Jun 2013 15:38:51 +0000 Subject: [PATCH 132/149] after way too many revisions and rewrites, lock in on a reasonable showcase summary for this release. the emphasis is intentionally on archer though there are a lot of other major changes worth noting too. plan is to highlight some of them in patch updates (e.g., affinity, lod wireframes, vol/SA calcs). svn:revision:55738 svn:branch:trunk svn:account:brlcad --- NEWS | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 6aa6031bdf0..48102160b71 100644 --- a/NEWS +++ b/NEWS @@ -10,8 +10,30 @@ descriptive text that emphasizes or further describes significant changes made. See document footer for additional details. ---------------------------------------------------------------------- ---- 2013-05-27 Release 7.24.0 --- ----------------------------------------------------------------------- +--- 2013-06-13 Release 7.24.0 --- +---------------------------------------------------------------------- + +This major update to BRL-CAD comes after nearly a full year of +development. This is the alpha release unveiling of Archer/MGED, a +preliminary interface update to BRL-CAD's graphical geometry editor. +As alpha software, this new MGED prototype aims to provide functional +feature parity with the antecedent MGED interface while introducing +various changes. Included is an integrated graphical tree view, a +single window framework, drag-and-drop geometry editing, information +panels, shortcut buttons, improved polygonal mesh and 2D sketch +editing, level-of-detail wireframes, NURBS shaded display support, and +much more. Prior to upcoming beta testing where the emphasis will +predominantly be on stability and usability, this alpha status +solicits feedback from the community on capability and features. + +This release also includes various improvements to BRL-CAD's ray +tracing infrastructure including CPU thread affinity locking for +faster performance, more consistent grazing hit behavior, expanded +volume and surface area calculations, numerous bug fixes, and more +robust NURBS evaluation. Following BRL-CAD's interface deprecation +policy (see CHANGES file), the Jove text editor is no longer being +bundled. Numerous converters receive robustness improvements +including the STEP, Patch, and 3DM importers. * improved gqa performance on parallel SMP hardware - Richard Weiss * fixed bounding box size calculation for pipe geometry - Bob Parker From 583011877c9d8d8528cb042d64b05de59c43ed2e Mon Sep 17 00:00:00 2001 From: Erik Greenwald Date: Thu, 13 Jun 2013 15:44:34 +0000 Subject: [PATCH 133/149] cope with windows tcl _init func. use DM_WGL_TYPE on windows. svn:revision:55739 svn:branch:trunk svn:account:erikgreenwald --- src/adrt/isst_tcltk.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/adrt/isst_tcltk.c b/src/adrt/isst_tcltk.c index 1739dd75b51..7b796089937 100644 --- a/src/adrt/isst_tcltk.c +++ b/src/adrt/isst_tcltk.c @@ -60,7 +60,13 @@ static struct dm *dmp; static struct isst_s *isst; /* ISST functions */ -RT_EXPORT extern int (Issttcltk_Init)(Tcl_Interp *interp); +#ifdef _WIN32 +__declspec(dllexport) int Isst_Init(Tcl_Interp *interp); +__declspec(dllexport) extern int Issttcltk_Init(Tcl_Interp *interp) { return Isst_Init(interp); } +#define DM_TYPE_ISST DM_TYPE_WGL +#else +#define DM_TYPE_ISST DM_TYPE_OGL +#endif void resize_isst(struct isst_s *); @@ -520,7 +526,7 @@ open_dm(ClientData UNUSED(cdata), Tcl_Interp *interp, int UNUSED(objc), Tcl_Obj { char *av[] = { "Ogl_open", "-t", "0", "-n", ".w0", "-W", "800", "-N", "600", NULL }; - dmp = DM_OPEN(interp, DM_TYPE_OGL, sizeof(av)/sizeof(void*)-1, (const char **)av); + dmp = DM_OPEN(interp, DM_TYPE_ISST, sizeof(av)/sizeof(void*)-1, (const char **)av); DM_SET_BGCOLOR(dmp, 0, 0, 0x30); if(dmp == DM_NULL) { From 05d31f0f55f13bebd21693230c4d0e85250846fe Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Thu, 13 Jun 2013 15:46:12 +0000 Subject: [PATCH 134/149] includes tk.h, so needs to get turned off if tk is not available svn:revision:55740 svn:branch:trunk svn:account:brlcad --- src/adrt/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adrt/CMakeLists.txt b/src/adrt/CMakeLists.txt index 179882300b9..5bdd7c17f34 100644 --- a/src/adrt/CMakeLists.txt +++ b/src/adrt/CMakeLists.txt @@ -61,7 +61,7 @@ INCLUDE_DIRECTORIES( ${X11_INCLUDE_DIR} ${CMAKE_CURRENT_BINARY_DIR}/../other/togl/src ) -if(BRLCAD_ENABLE_OPENGL) +if(BRLCAD_ENABLE_OPENGL AND BRLCAD_ENABLE_TK) if(WIN32) BRLCAD_ADDLIB(issttcltk isst_tcltk.c "librender;libdm;${TCL_LIBRARIES};${OPENGL_LIBRARIES};opengl32.lib" NO_INSTALL) else(WIN32) From 11aa5151ddae41881854bf705789213edf00aa87 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Thu, 13 Jun 2013 15:48:41 +0000 Subject: [PATCH 135/149] right, they gotta match svn:revision:55741 svn:branch:trunk svn:account:brlcad --- src/adrt/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adrt/CMakeLists.txt b/src/adrt/CMakeLists.txt index 5bdd7c17f34..1629a17bf27 100644 --- a/src/adrt/CMakeLists.txt +++ b/src/adrt/CMakeLists.txt @@ -77,7 +77,7 @@ if(BRLCAD_ENABLE_OPENGL AND BRLCAD_ENABLE_TK) BRLCAD_MANAGE_FILES("isst.bat" ${BIN_DIR} EXEC) endif(WIN32) BRLCAD_MANAGE_FILES("isst" ${BIN_DIR} EXEC) -endif(BRLCAD_ENABLE_OPENGL) +endif(BRLCAD_ENABLE_OPENGL AND BRLCAD_ENABLE_TK) CMAKEFILES(isst_tcltk.c) set(adrt_ignore_files From 6426f40f536f5aee4c6f8a3974605d0447a55212 Mon Sep 17 00:00:00 2001 From: Erik Greenwald Date: Thu, 13 Jun 2013 15:48:45 +0000 Subject: [PATCH 136/149] add comment on why TkWinInt.h is needed svn:revision:55742 svn:branch:trunk svn:account:erikgreenwald --- src/libdm/dm-wgl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libdm/dm-wgl.c b/src/libdm/dm-wgl.c index be5a8b12057..7c8a8fc2955 100644 --- a/src/libdm/dm-wgl.c +++ b/src/libdm/dm-wgl.c @@ -28,6 +28,7 @@ #ifdef DM_WGL #include "tk.h" +/* needed for TkWinGetHWND() */ #include "TkWinInt.h" #undef VMIN /* is used in vmath.h, too */ From 0e461c3d97b75946ec7f7e53a3e671d4bd17810e Mon Sep 17 00:00:00 2001 From: Erik Greenwald Date: Thu, 13 Jun 2013 15:55:36 +0000 Subject: [PATCH 137/149] use bio.h instead of a wrapped windows.h svn:revision:55743 svn:branch:trunk svn:account:erikgreenwald --- src/adrt/isst_tcltk.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/adrt/isst_tcltk.c b/src/adrt/isst_tcltk.c index 7b796089937..19f8bcf4c92 100644 --- a/src/adrt/isst_tcltk.c +++ b/src/adrt/isst_tcltk.c @@ -28,10 +28,7 @@ #include -/* required for GL */ -#ifdef _WIN32 -# include "windows.h" -#endif +#include "bio.h" #include From 599eff6a2c24a3d062800625d5e8a2efaa52d2a2 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Thu, 13 Jun 2013 16:04:41 +0000 Subject: [PATCH 138/149] don't need to say remove, it's a list of what was removed svn:revision:55744 svn:branch:trunk svn:account:brlcad --- CHANGES | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index e9f488a83eb..2e2576527fa 100644 --- a/CHANGES +++ b/CHANGES @@ -254,9 +254,9 @@ include/raytrace.h 7.24.0 ------ include/bu.h - bu_get_public_cpus(), remove [deprecated 7.16] - bu_get_load_average(), remove [deprecated 7.12] - bu_fopen_uniq -> fopen [deprecated 7.14] + bu_get_public_cpus() [deprecated 7.16] + bu_get_load_average() [deprecated 7.12] + bu_fopen_uniq() -> fopen() [deprecated 7.14] src/other/jove jove -> emacs [deprecated 7.14] @@ -297,7 +297,7 @@ src/librt/bomb.c include/machine.h machine.h -> common.h && bu.h [deprecated 7.10] src/vas4 - vas4, remove [deprecated 7.12] + vas4 [deprecated 7.12] 7.16.4 ------ From d665e5012f162f9470aca01826d76151f31dbbbf Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Thu, 13 Jun 2013 16:08:45 +0000 Subject: [PATCH 139/149] not necessary, but go ahead and update versions in the rtfd files svn:revision:55745 svn:branch:trunk svn:account:brlcad --- misc/macosx/Resources/ReadMe.rtfd/TXT.rtf | 2 +- misc/macosx/Resources/Welcome.rtfd/TXT.rtf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/macosx/Resources/ReadMe.rtfd/TXT.rtf b/misc/macosx/Resources/ReadMe.rtfd/TXT.rtf index d9c6f73c6ff..132fce66101 100644 --- a/misc/macosx/Resources/ReadMe.rtfd/TXT.rtf +++ b/misc/macosx/Resources/ReadMe.rtfd/TXT.rtf @@ -11,7 +11,7 @@ \f0\i\b\fs72 \cf0 README \fs36 \ -\f1\i0\b0\fs28 This is BRL-CAD 7.16.5 for Mac OS X. Please send any bugs, comments, questions, or suggestions to the project website.\ +\f1\i0\b0\fs28 This is BRL-CAD 7.24.0 for Mac OS X. Please send any bugs, comments, questions, or suggestions to the project website.\ \fs22 \ diff --git a/misc/macosx/Resources/Welcome.rtfd/TXT.rtf b/misc/macosx/Resources/Welcome.rtfd/TXT.rtf index 1431f1f02bb..ca2dd088b59 100644 --- a/misc/macosx/Resources/Welcome.rtfd/TXT.rtf +++ b/misc/macosx/Resources/Welcome.rtfd/TXT.rtf @@ -4,9 +4,9 @@ \margl1440\margr1440\vieww8020\viewh6280\viewkind0 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural -\f0\fs22 \cf0 This installer will guide you through the installation of BRL-CAD 7.6.6 for Mac OS X and Darwin.\ +\f0\fs22 \cf0 This installer will guide you through the installation of BRL-CAD 7.24.0 for Mac OS X and Darwin.\ \ -This distribution of BRL-CAD requires approximately 150 MB of available disk space and does not include source code.\ +This distribution of BRL-CAD requires approximately 250 MB of available disk space and does not include source code.\ \ If you have an existing BRL-CAD installation, you are advised to backup any files you have in /usr/brlcad. Any existing BRL-CAD installation will be overwritten.\ From 06c6c40ea0e892f7bad10dd224c78ddbf4743d3d Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Thu, 13 Jun 2013 16:09:11 +0000 Subject: [PATCH 140/149] bump up to 7.24.0, release under way svn:revision:55746 svn:branch:trunk svn:account:brlcad --- include/conf/MINOR | 2 +- include/conf/PATCH | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/conf/MINOR b/include/conf/MINOR index 409940768f2..a45fd52cc58 100644 --- a/include/conf/MINOR +++ b/include/conf/MINOR @@ -1 +1 @@ -23 +24 diff --git a/include/conf/PATCH b/include/conf/PATCH index d00491fd7e5..573541ac970 100644 --- a/include/conf/PATCH +++ b/include/conf/PATCH @@ -1 +1 @@ -1 +0 From 2fcfa45aaa881af12d1a6adc8f3e925c267345e2 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Thu, 13 Jun 2013 16:09:57 +0000 Subject: [PATCH 141/149] remove trailing blanks/tabs; consolidate some program lines svn:revision:55747 svn:branch:trunk svn:account:carlmoore --- src/fb/fb-orle.c | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/src/fb/fb-orle.c b/src/fb/fb-orle.c index 13d92b4e0e5..f3f6ace8e47 100644 --- a/src/fb/fb-orle.c +++ b/src/fb/fb-orle.c @@ -181,9 +181,7 @@ parsArgv(int argc, char **argv) break; case 'l' : /* Length in x and y. */ if (argc - bu_optind < 1) { - (void) fprintf(stderr, - "-l option requires an X and Y argument!\n" - ); + (void) fprintf(stderr,"-l option requires an X and Y argument!\n"); return 0; } xlen = atoi(bu_optarg); @@ -191,9 +189,7 @@ parsArgv(int argc, char **argv) break; case 'p' : /* Position of bottom-left corner. */ if (argc - bu_optind < 1) { - (void) fprintf(stderr, - "-p option requires an X and Y argument!\n" - ); + (void) fprintf(stderr,"-p option requires an X and Y argument!\n"); return 0; } xpos = atoi(bu_optarg); @@ -213,10 +209,7 @@ parsArgv(int argc, char **argv) } if (argv[bu_optind] != NULL) { if (bu_file_exists(argv[bu_optind], NULL)) { - (void) fprintf(stderr, - "\"%s\" already exists.\n", - argv[bu_optind] - ); + (void) fprintf(stderr,"\"%s\" already exists.\n",argv[bu_optind]); bu_exit(1, NULL); } if ((fp = fopen(argv[bu_optind], "wb")) == NULL) { @@ -246,7 +239,7 @@ prntUsage(void) fprintf(stderr, "If no RLE file is specified, fb-orle will write to its standard output.\n"); fprintf(stderr, "If the environment variable FB_FILE is set, its value will be used.\n"); } - + /* * Local Variables: From b548e1f9a93ef2db2a5413361dddaa60e22c80b9 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Thu, 13 Jun 2013 16:25:04 +0000 Subject: [PATCH 142/149] we don't want the last date, we want the second to last svn:revision:55748 svn:branch:trunk svn:account:brlcad --- HACKING | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HACKING b/HACKING index 59e99a4f179..0e33cbabbd5 100644 --- a/HACKING +++ b/HACKING @@ -1164,7 +1164,7 @@ See VERSION NUMBERS & COMPATIBILITY for versioning requirements. the updated ChangeLog. Use the YYYY-MM-DD of the previous release. Get the date from the NEWS file. - LAST=`grep -E "[0-9]{4}-[0-9]{2}-[0-9]{2}" NEWS | head -n 1 | awk '{print $2}'` + LAST=`grep -E "\--- [0-9]{4}-[0-9]{2}-[0-9]{2}" NEWS | head -n 2 | tail -n 1 | awk '{print $2}'` echo "LAST=$LAST" svn2cl --break-before-msg --include-rev --stdout -r HEAD:{$LAST} > ChangeLog From 6ed12a17061b616ffb919ecf981dfd0d334fa2b6 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Thu, 13 Jun 2013 16:27:25 +0000 Subject: [PATCH 143/149] update log with commits through 2012-06-25 svn:revision:55749 svn:branch:trunk svn:account:brlcad --- ChangeLog | 54802 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 31791 insertions(+), 23011 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0825b44b3b7..70d4246d81d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,17730 +1,13793 @@ -2012-06-25 02:46 brlcad +2013-06-13 16:09 carlmoore - * [r51315] NEWS: - looks like 25th will be the tagging date (last phase of testing) + * [r55747] src/fb/fb-orle.c: + remove trailing blanks/tabs; consolidate some program lines -2012-06-24 17:14 tbrowder2 +2013-06-13 16:09 brlcad - * [r51314] src/anim/anim_sort.1, src/anim/anim_time.1, - src/canon/canonize.1, src/tab/tabinterp.1, src/tab/tabsub.1, - src/util/pixrot.1: - change: .sp .5 - to : .sp 1 - for better spacing - put blank line BEFORE .nf and AFTER .fi - correct subtle format issues with [args] of form [{1-99}] and - [{arg|arg}] - eliminate parens in [args] of form [arg (arg)] - -2012-06-24 16:30 phoenixyjll - - * [r51313] src/librt/primitives/part/part_brep.cpp: - Add necessary comment. - -2012-06-24 16:22 phoenixyjll - - * [r51312] src/librt/primitives/part/part_brep.cpp: - Reverse the interval so that the surface normal points to the - correct direction. - -2012-06-24 14:55 brlcad - - * [r51311] NEWS: - since it's not technically being distributed just yet, don't - declare complete victory on the step importer on windows even if - the issues remaining should be rather trivial. say isn't in - progress since someone will undoubtedly go looking for it. - -2012-06-24 14:40 brlcad - - * [r51310] NEWS: - wordsmithing the 7.22.0 release notes - -2012-06-24 12:09 tbrowder2 - - * [r51309] bench/pixcmp.1, misc/brlcad-config.1, - src/anim/anim_script.1: - corrected copyright based on earliest svn log entry (including - parent - doc for changed paths) - added missing AUTHOR, COPYRIGHT, and BUG REPORTS sections - deleted any spurious, single quotation marks in header comments - corrected internal file names where needed - ensured AUTHOR, COPYRIGHT, and BUG REPORTS sections are at the - end - special copyright on ./src/tab/scriptsort.1 handled consistently - changed lines of this form: - .\" THIS DOCUMENTATION IS PROVIDED BY THE AUTHOR AS IS'' AND ANY - to this (added correc matching quotes): - .\" THIS DOCUMENTATION IS PROVIDED BY THE AUTHOR ``AS IS'' AND - ANY - ensured "BUG REPORTS" sections had consistent, surrounding double - quotes - eliminated reference to using the deprecated './sh/cadbug.sh' - script for - BUG REPORTS - -2012-06-24 01:59 cprecup - - * [r51308] src/conv/g-voxel.c: - replaced the function strcmp by bu_strcmp because it caused make - distcheck to fail - -2012-06-24 01:46 crdueck - - * [r51307] src/libged/analyze.c: - factored repeated code in findang() into for loop, ws changes - -2012-06-24 01:17 crdueck - - * [r51306] src/libged/analyze.c: - use DIST_PT_PT macro instead of 'VSUB2 then MAGNITUDE' in - analyze_edge(), made ws in analyze_arb() nice and consistent - -2012-06-24 00:19 crdueck - - * [r51305] src/librt/globals.c: - changed the order of vertices in second face of ARB6 so that - analyze_face() in src/libged/analyze.c correctly uses diagonal - vertices, this should not cause any change in behaviour in the - few other places where rt_arb_faces is used - -2012-06-24 00:15 crdueck - - * [r51304] src/libged/analyze.c: - typo in commit message for r51300, should read 'removed dead code - in an '#if 0' block' - -2012-06-24 00:12 crdueck - - * [r51303] src/libged/analyze.c: - rewrote analyze_face() to use much more efficient algorithm for - calculating the surface area of a face, some ws changes - -2012-06-23 23:09 tbrowder2 - - * [r51302] bench/benchmark.1, doc/bw.5, doc/cmap.5, doc/pix.5, - doc/plot3.5, src/anim/anim_sort.1, src/anim/anim_time.1, - src/anim/anim_track.1, src/anim/anim_turn.1, - src/anim/chan_mult.1, src/anim/chan_permute.1, - src/canon/canonize.1, src/conv/asc/asc2pix.1, - src/conv/asc/g2asc.1, src/conv/asc/pix2asc.1, - src/conv/bot_dump.1, src/conv/bot_shell-vtk.1, - src/conv/comgeom/comgeom-g.1, src/conv/conv-vg2g.1, - src/conv/cy-g.1, src/conv/dbclean.1, src/conv/dbupgrade.1, - src/conv/dxf/dxf-g.1, src/conv/dxf/g-dxf.1, src/conv/enf-g.1, - src/conv/euclid/euclid-g.1, src/conv/euclid/g-euclid.1, - src/conv/fast4-g.1, src/conv/g-acad.1, src/conv/g-egg.1, - src/conv/g-nff.1, src/conv/g-obj.1, src/conv/g-shell-rect.1, - src/conv/g-var.1, src/conv/g-vrml.1, src/conv/g-x3d.1, - src/conv/iges/g-iges.1, src/conv/iges/iges-g.1, - src/conv/nastran-g.1, src/conv/nmg/asc-nmg.1, - src/conv/nmg/g-nmg.1, src/conv/nmg/nmg-bot.1, - src/conv/nmg/nmg-rib.1, src/conv/patch/patch-g.1, - src/conv/patch/rpatch.1, src/conv/ply-g.1, src/conv/poly-bot.1, - src/conv/proe-g.1, src/conv/stl/g-stl.1, src/conv/stl/stl-g.1, - src/conv/tankill/g-tankill.1, src/conv/tankill/tankill-g.1, - src/conv/vdeck/vdeck.1, src/conv/viewpoint-g.1, src/fb/bw-fb.1, - src/fb/cell-fb.1, src/fb/cmap-fb.1, src/fb/fb-bw.1, - src/fb/fb-cmap.1, src/fb/fb-fb.1, src/fb/fb-orle.1, - src/fb/fb-pix.1, src/fb/fb-png.1, src/fb/fb-rle.1, - src/fb/fbanim.1, src/fb/fbcbars.1, src/fb/fbclear.1, - src/fb/fbcmap.1, src/fb/fbcmrot.1, src/fb/fbcolor.1, - src/fb/fbfade.1, src/fb/fbframe.1, src/fb/fbfree.1, - src/fb/fbgamma.1, src/fb/fbgrid.1, src/fb/fbhelp.1, - src/fb/fblabel.1, src/fb/fbline.1, src/fb/fbpoint.1, - src/fb/fbscanplot.1, src/fb/fbstretch.1, src/fb/fbzoom.1, - src/fb/gif-fb.1, src/fb/gif2fb.1, src/fb/orle-fb.1, - src/fb/pix-fb.1, src/fb/pixautosize.1, src/fb/pl-fb.1, - src/fb/png-fb.1, src/fb/polar-fb.1, src/fb/pp-fb.1, - src/fb/rle-fb.1, src/fbed/fbed.1, src/fbserv/fbserv.1, - src/gtools/g_diff.1, src/gtools/g_lint.1, src/gtools/remapid.1, - src/halftone/halftone.1, src/irprep/firpass.1, src/irprep/ir-X.1, - src/irprep/irdisp.1, src/irprep/pictx.1, src/irprep/secpass.1, - src/irprep/shapefact.1, src/irprep/showtherm.1, src/lgt/lgt.1, - src/libbn/libplot3.3, src/libbu/htond.3, src/libbu/redblack.3, - src/libcursor/libcursor.3, src/liborle/liborle.3, - src/librt/librt.3, src/libwdb/libwdb.3, src/mged/cad_boundp.1, - src/mged/cad_parea.1, src/nirt/showshot.1, src/remrt/remrt.1, - src/rt/reshoot.1, src/rt/rt_bot_faces.1, src/rt/rtg3.1, - src/rt/rthide.1, src/rt/rtpp.1, src/rt/rtrange.1, src/rt/rtray.1, - src/rt/rtregis.1, src/rt/rtscale.1, src/rt/rtshot.1, - src/rt/rtwalk.1, src/rt/rtweight.1, src/rt/rtxray.1, - src/rttherm/rttherm.1, src/rttherm/ssamp-bw.1, - src/tab/scriptsort.1, src/tab/tabinterp.1, src/tab/tabsub.1, - src/util/ap-pix.1, src/util/asc-pl.1, src/util/azel.1, - src/util/bary.1, src/util/brlcad.1, src/util/buffer.1, - src/util/bw-imp.1, src/util/bw-pix.1, src/util/bw-png.1, - src/util/bw-ps.1, src/util/bw-rle.1, src/util/bw3-pix.1, - src/util/bwcrop.1, src/util/bwdiff.1, src/util/bwfilter.1, - src/util/bwhist.1, src/util/bwhisteq.1, src/util/bwmod.1, - src/util/bwrect.1, src/util/bwrot.1, src/util/bwshrink.1, - src/util/bwstat.1, src/util/bwthresh.1, src/util/cv.1, - src/util/dbcp.1, src/util/decimate.1, src/util/dpix-pix.1, - src/util/dunncolor.1, src/util/dunnsnap.1, src/util/gencolor.1, - src/util/hex.1, src/util/imgdims.1, src/util/loop.1, - src/util/mac-pix.1, src/util/morphedit.1, src/util/orle-pix.1, - src/util/pix-alias.1, src/util/pix-bw.1, src/util/pix-bw3.1, - src/util/pix-orle.1, src/util/pix-png.1, src/util/pix-ppm.1, - src/util/pix-ps.1, src/util/pix-rle.1, src/util/pix-sun.1, - src/util/pixbackgnd.1, src/util/pixbgstrip.1, - src/util/pixblend.1, src/util/pixborder.1, src/util/pixbustup.1, - src/util/pixclump.1, src/util/pixcolors.1, src/util/pixcut.1, - src/util/pixdiff.1, src/util/pixdsplit.1, src/util/pixfade.1, - src/util/pixfilter.1, src/util/pixhalve.1, src/util/pixhist.1, - src/util/pixhist3d-pl.1, src/util/pixhist3d.1, - src/util/pixinterp2x.1, src/util/pixmatte.1, src/util/pixmerge.1, - src/util/pixmorph.1, src/util/pixrect.1, src/util/pixrot.1, - src/util/pixsaturate.1, src/util/pixscale.1, - src/util/pixshrink.1, src/util/pixstat.1, src/util/pixsubst.1, - src/util/pixtile.1, src/util/pixuntile.1, src/util/pl-X.1, - src/util/pl-asc.1, src/util/pl-hpgl.1, src/util/pl-pl.1, - src/util/pl-ps.1, src/util/pl-tek.1, src/util/plcolor.1, - src/util/pldebug.1, src/util/plgetframe.1, src/util/plline2.1, - src/util/plrot.1, src/util/png-bw.1, src/util/png-pix.1, - src/util/png_info.1, src/util/random.1, src/util/rle-pix.1, - src/util/sun-pix.1, src/util/terrain.1, src/util/wavelet.1: - corrected copyright based on earliest svn log entry (including - parent - doc for changed paths) - added missing AUTHOR, COPYRIGHT, and BUG REPORTS sections - deleted any spurious, single quotation marks in header comments - corrected internal file names where needed - ensured AUTHOR, COPYRIGHT, and BUG REPORTS sections are at the - end - special copyright on ./src/tab/scriptsort.1 handled consistently - changed lines of this form: - .\" THIS DOCUMENTATION IS PROVIDED BY THE AUTHOR AS IS'' AND ANY - to this (added correc matching quotes): - .\" THIS DOCUMENTATION IS PROVIDED BY THE AUTHOR ``AS IS'' AND - ANY - ensured "BUG REPORTS" sections had consistent, surrounding double - quotes - eliminated reference to using the deprecated './sh/cadbug.sh' - script for - BUG REPORTS - -2012-06-23 19:37 brlcad - - * [r51301] NEWS: - this is easily the biggest release we've made since going open - source. add write-up details on some of the bigger changes - occurring with this release including the completion of coverity - fixes, nurbs enhancements and v&v, importer improvements, doc - translations, introduction of the socis simulation project, - ambient occlusion, integration of rtwizard, and more. should have - released before the coverity backlogging... and pressed for it - harder/sooner after. still, lots of great awesome. - -2012-06-23 17:32 crdueck - - * [r51300] src/libged/analyze.c: - ws changes, removed dead code in an 'src/libbn/plane.cif 0' block - -2012-06-23 17:18 starseeker - - * [r51299] CMakeLists.txt: - Remove what look like stray leftover lines - distclean is handled - with cmake script files now. - -2012-06-23 06:10 crdueck - - * [r51298] src/librt/primitives/arb8/arb8.c: - restructured rt_arb_get_cgtype(): simplified code using better - vector macros, changed logic for storing duplicate points, lots - of ws changes - -2012-06-23 02:32 phoenixyjll - - * [r51297] src/librt/primitives/part/part_brep.cpp: - Add conditional logic to deal with spheres. - -2012-06-22 21:53 bob1961 - - * [r51296] src/tclscripts/lib/Ged.tcl: - Putting back a line of code that accidentally got clobbered. - -2012-06-22 21:37 starseeker - - * [r51295] include/raytrace.h, src/librt/primitives/bot/bot.c, - src/librt/test_botpatches.c: - make bots instead of plot files. - -2012-06-22 21:37 bob1961 - - * [r51294] src/tclscripts/archer/ArcherCore.tcl, - src/tclscripts/archer/GeometryEditFrame.tcl, - src/tclscripts/archer/ShaderEdit.tcl: - Using ::cadwidgets:Ged::isdouble. - -2012-06-22 21:26 r_weiss - - * [r51293] src/tclscripts/mged/grouper.tcl: - Updated the mged gr/grouper command in file grouper.tcl. Fixed a - bug where the display state was not reset when grouper exited. - This was causing the frame buffer to not display correctly. - Improved logic to ignore a selection box with zero area. Changed - the output of the contents of the selection box to list on a - single line. This change was to make easier copying and pasting - of this list. Improved status messages while grouper is - processing. - -2012-06-22 20:48 bob1961 - - * [r51291] src/tclscripts/lib/Ged.tcl: - Minor mod to cadwidgets::Ged::isdouble. - -2012-06-22 20:27 bob1961 - - * [r51290] src/tclscripts/archer/ArcherCore.tcl, - src/tclscripts/lib/Ged.tcl: - Moved the ArcherCore::isdouble functionality to cadwidgets::Ged. - -2012-06-22 20:02 bob1961 + * [r55746] include/conf/MINOR, include/conf/PATCH: + bump up to 7.24.0, release under way - * [r51289] src/tclscripts/lib/TkTable.tcl: - Updated the TkTable::keyVisible and TkTable::handleKey methods to - do a better job of recognizing visible keys. +2013-06-13 16:08 brlcad -2012-06-22 19:41 brlcad + * [r55745] misc/macosx/Resources/ReadMe.rtfd/TXT.rtf, + misc/macosx/Resources/Welcome.rtfd/TXT.rtf: + not necessary, but go ahead and update versions in the rtfd files - * [r51288] src/other/libpng/configure.ac: - need AC_PROG_LIBTOOL for LT_INIT else we can get an error about - LIBTOOL being undefined. +2013-06-13 16:04 brlcad -2012-06-22 16:58 starseeker + * [r55744] CHANGES: + don't need to say remove, it's a list of what was removed - * [r51287] CMakeLists.txt: - tweak +2013-06-13 15:55 erikgreenwald -2012-06-22 16:56 starseeker + * [r55743] src/adrt/isst_tcltk.c: + use bio.h instead of a wrapped windows.h - * [r51286] INSTALL: - This option name has changed +2013-06-13 15:48 erikgreenwald -2012-06-22 16:34 starseeker + * [r55742] src/libdm/dm-wgl.c: + add comment on why TkWinInt.h is needed - * [r51285] src/librt/CMakeLists.txt, src/librt/test_botpatches.c: - Checkpoint some test code - not terribly useful yet. +2013-06-13 15:48 brlcad -2012-06-22 15:55 bob1961 + * [r55741] src/adrt/CMakeLists.txt: + right, they gotta match - * [r51284] src/tclscripts/archer/ArcherCore.tcl: - Added ArcherCore::isdouble. This recognizes "." as a double. +2013-06-13 15:46 brlcad -2012-06-22 14:28 phoenixyjll + * [r55740] src/adrt/CMakeLists.txt: + includes tk.h, so needs to get turned off if tk is not available - * [r51283] src/librt/CMakeLists.txt, src/librt/Makefile.am, - src/librt/primitives/part/part_brep.cpp, - src/librt/primitives/table.c: - A raw version of brep conversion for part. Some special cases - need to be considered later. - -2012-06-22 11:49 bob1961 - - * [r51282] src/tclscripts/archer/Archer.tcl: - Added a statement to insure the temporarily disabled tree columns - feature doesn't get enabled via the startup file. - -2012-06-22 11:47 bob1961 - - * [r51281] src/tclscripts/archer/ArcherCore.tcl: - Remove unnecessary statement. - -2012-06-22 07:34 anrgmrty - - * [r51280] src/conv/g-voxel.c: - corrected mistake in calculation of numVoxels in each direction - -2012-06-21 20:58 starseeker - - * [r51279] src/librt/CMakeLists.txt, src/librt/test_nurbsfit.cpp: - Fix importing of bot verts, stash resulting nurb in .g database - -2012-06-21 17:00 bob1961 - - * [r51278] src/libtclcad/tclcad_obj.c: - Get rid of TO_MAX_RT_ARGS (i.e. replace uses with TO_UNLIMITED). - -2012-06-21 14:25 r_weiss - - * [r51277] src/tclscripts/mged/grouper.tcl: - Update to mged gr/grouper command to only allow one instance of - grouper to be running at a time. - -2012-06-21 13:15 starseeker - - * [r51276] src/librt/CMakeLists.txt, src/librt/opennurbs_fit.cpp, - src/librt/opennurbs_fit.h, src/librt/test_nurbsfit.cpp: - Adapt some of Thomas Moerwald's NURBS surface fitting code from - PCL to BRL-CAD - needs Eigen for solver. Not currently building. +2013-06-13 15:44 erikgreenwald -2012-06-21 12:39 bob1961 + * [r55739] src/adrt/isst_tcltk.c: + cope with windows tcl _init func. use DM_WGL_TYPE on windows. - * [r51275] src/tclscripts/mged/mouse.tcl: - Need to catch the call to mouse_shoot_ray. +2013-06-13 15:38 brlcad -2012-06-21 12:38 bob1961 + * [r55738] NEWS: + after way too many revisions and rewrites, lock in on a + reasonable showcase summary for this release. the emphasis is + intentionally on archer though there are a lot of other major + changes worth noting too. plan is to highlight some of them in + patch updates (e.g., affinity, lod wireframes, vol/SA calcs). - * [r51274] src/tclscripts/mged/ray.tcl: - Need to catch the call to rt_gettrees. +2013-06-13 15:34 erikgreenwald -2012-06-21 12:15 bob1961 + * [r55737] src/adrt/isst_tcltk.c: + tkWinInt.h is just being used to include windows.h, so just use + windows.h - * [r51273] src/libged/wdb_obj.c: - MGED dumps core when trying to pick an edit primitive from the - display when nothing is displayed. The problem was in - wdb_rt_gettrees_cmd(). We need to keep checking argc since it's - being decremented as we process args. Also modified wdb_cmd() - ===> needed to pass a pointer to ret in the call to bu_cmd so we - get the correct return value. +2013-06-13 13:37 brlcad -2012-06-20 22:19 n_reed + * [r55736] TODO: + look at thread affinity locking on linux - * [r51272] src/other/step/src/base/scl_memmgr.h: - s/cstddef/stddef.h/ for benefit of borland; SCL git e45d705 +2013-06-13 13:36 brlcad -2012-06-20 22:08 anrgmrty + * [r55735] src/libbu/parallel.c: + default thread affinity locking to OFF for release since + something is reportedly wrong on Linux, need to investigate why + all cpus not getting used. - * [r51271] src/conv/g-voxel.c: - g-voxel.c modified so it gives voxels.txt with co-ordinates and - fill distances of each region +2013-06-13 13:34 n_reed -2012-06-20 21:47 n_reed + * [r55734] doc/docbook/system/man1/en/fbcbars.xml: + balance tag - * [r51270] src/other/step/src/fedex_plus/classes.c: - remove extra semicolons; SCL git 17cec63 +2013-06-12 20:43 carlmoore -2012-06-20 20:27 tbrowder2 + * [r55733] doc/docbook/system/man1/en/fbcbars.xml: + fix the fbcbars man page - * [r51269] src/libbu/redblack.3: - change man category number to remove B suffix +2013-06-12 20:38 carlmoore -2012-06-20 17:53 n_reed + * [r55732] src/fb/fbcbars.c: + insert missing 'e' in options in Usage; remove h (high-res); add + h,? and run-with-no-arguments for help; 'sets mode to' inserted + in 3 places to avoid the appearance of needed ARGUMENT - * [r51268] src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/cleditor/STEPfile.h, - src/other/step/src/cleditor/STEPfile.inline.cc: - support for checking read/write progress; SCL git 0bea3ef +2013-06-12 19:42 starseeker -2012-06-20 17:17 bob1961 + * [r55731] misc/CMake/BRLCAD_Targets.cmake, + src/adrt/CMakeLists.txt: + CMake's install command doesn't preserve the executable flag with + the FILES option, so add a way to tell the macro it's installing + a script. - * [r51267] src/tclscripts/archer/Archer.tcl: - Disabling tree attributes. +2013-06-12 19:41 carlmoore -2012-06-20 16:57 r_weiss + * [r55730] src/fb/fb-png.c, src/fb/fbanim.c: + remove old h (high-res); implement help via ?,h - * [r51266] doc/docbook/system/mann/en/rtarea.xml: - Update to mged rtarea command documentation. +2013-06-12 19:38 r_weiss -2012-06-20 16:48 r_weiss + * [r55729] src/gtools/g_qa.c: + Allow the "g_qa" (aka gqa) command, from the system command line, + use the "-q" option. - * [r51265] doc/docbook/system/mann/en/CMakeLists.txt, - doc/docbook/system/mann/en/rtarea.xml: - Add documentation for mged rtarea command. +2013-06-12 19:37 carlmoore -2012-06-20 16:46 bob1961 + * [r55728] doc/docbook/system/man1/en/fbanim.xml: + remove references to h in the fbanim man page - * [r51264] src/tclscripts/archer/Archer.tcl: - In Archer::raytracePlus, need to add braces around the - orientation and eye_pt. +2013-06-12 19:05 carlmoore -2012-06-20 15:23 n_reed + * [r55727] doc/docbook/system/man1/en/fb-png.xml: + fix the man page for fb-png - * [r51263] src/other/step/src/cleditor/instmgr.h, - src/other/step/src/clutils/gennodearray.h: - mark some member functions const; SCL git 225180f +2013-06-12 18:11 erikgreenwald -2012-06-20 14:50 phoenixyjll + * [r55726] src/adrt/isst_tcltk.c: + remove some debugging printfs - * [r51262] src/librt/CMakeLists.txt, src/librt/Makefile.am, - src/librt/primitives/brep/brep_debug.cpp, - src/librt/primitives/half/half_brep.cpp, - src/librt/primitives/pnts/pnts_brep.cpp, - src/librt/primitives/table.c: - Use ft_brep functions for half and pnts, returning a NULL brep - pointer, and check within brep_conversion() and - brep_conversion_tree(). +2013-06-12 18:07 bob1961 -2012-06-20 14:21 n_reed + * [r55725] src/adrt/isst_tcltk.c: + Tweak for compiling on Windows. - * [r51261] src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/clstepcore/STEPcomplex.cc, - src/other/step/src/clstepcore/STEPcomplex.h: - fix memory leaks; SCL git 5aca337 and dd6ef88 +2013-06-12 16:46 carlmoore -2012-06-20 13:56 bob1961 + * [r55724] src/conv/fast4-g.c: + minor changes to Usage; implement h,? - * [r51260] src/tclscripts/archer/Archer.tcl: - Added --no-gui and --input options to the rtwizard commands that - are being written out to a file. +2013-06-12 16:43 carlmoore -2012-06-20 13:06 bob1961 + * [r55723] src/sig/d-a.c: + cosmetic stuff (comparing with a-d.c) - * [r51259] src/tclscripts/archer/Archer.tcl: - Added an optional argument to Archer::raytracePlus (i.e. - _batch_list) which allows raytracePlus to write render commands - to a file +2013-06-12 16:41 carlmoore -2012-06-20 02:01 phoenixyjll + * [r55722] src/fb/fb-orle.c: + change old h to H (do not see other alternate), and use h and ? + for help; never mind 'DEPRECATED' message, which didn't print + during my testing; also, got rid of core dump - * [r51258] src/librt/primitives/tgc/tgc.c: - Fix typo. +2013-06-12 16:38 carlmoore -2012-06-19 20:19 n_reed + * [r55721] src/fb/fb-pix.c: + implement h and ?, removing old h (high-res) - * [r51257] src/other/step/src/clstepcore/ExpDict.cc, - src/other/step/src/clstepcore/ExpDict.h, - src/other/step/src/clstepcore/ExpDict.inline.cc: - fix memory leaks; SCL git a1d6b25 - -2012-06-19 20:02 n_reed +2013-06-12 14:53 starseeker - * [r51256] src/other/step/src/clstepcore/STEPaggregate.cc, - src/other/step/src/fedex_plus/classes.c: - fix STEPaggregate memory leaks; SCL git 8a2665e + * [r55720] src/adrt/CMakeLists.txt: + Use the BRLCAD_MANAGE_FILES macro for the isst script. -2012-06-19 19:53 n_reed +2013-06-12 14:42 erikgreenwald - * [r51255] src/other/step/src/cleditor/SdaiHeaderSchemaInit.cc, - src/other/step/src/clstepcore/ExpDict.h, - src/other/step/src/clstepcore/ExpDict.inline.cc, - src/other/step/src/fedex_plus/classes.c: - stash unnamed types in a list so they can be freed; SCL git - 04f4c1d + * [r55719] CMakeLists.txt, INSTALL, TODO, configure.cmake.sh, + src/other/CMakeLists.txt, src/other/Makefile.am, + src/other/README, src/other/togl, src/other/togl.dist: + remove togl -2012-06-19 19:44 n_reed +2013-06-12 14:33 erikgreenwald - * [r51254] src/other/step/src/clstepcore/STEPattribute.h, - src/other/step/src/clstepcore/STEPattribute.inline.cc, - src/other/step/src/clstepcore/STEPattributeList.cc, - src/other/step/src/clstepcore/sdaiApplication_instance.cc: - free attributes list; SCL git c77471a + * [r55718] src/adrt/CMakeLists.txt, src/adrt/Makefile.am, + src/adrt/isst, src/adrt/isst_tcltk.c: + redo isst to use libdm instead of togl -2012-06-19 19:18 n_reed +2013-06-12 14:12 starseeker - * [r51253] src/other/step/src/cleditor/STEPfile.inline.cc, - src/other/step/src/clstepcore/Registry.inline.cc: - fix Registry memory leaks; SCL git a9173c8 and 626bb73 + * [r55717] misc/CMake/BRLCAD_Targets.cmake, + src/adrt/CMakeLists.txt: + isst wasn't using the brlcad target macros for its library + because it needed a custom install directory location. Rather + than ditch the macro setup (which does lots of nice things + automatically) add the NO_INSTALL option already used for + executables to the library macro as well. This lets us pass the + NO_INSTALL flag for the isst library to disable the automatic + install call and we can instead substitute our own customized + version. -2012-06-19 18:54 n_reed +2013-06-12 07:16 phoenixyjll - * [r51252] src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes.h: - print aggregate name instead of data member name; SCL git a72fa6e + * [r55716] src/libbrep/intersect.cpp: + ws. -2012-06-19 18:51 bob1961 +2013-06-12 07:12 phoenixyjll - * [r51251] src/tclscripts/archer/Archer.tcl, - src/tclscripts/archer/ArcherCore.tcl: - Archer::buildObjRtImageView now returns a value (i.e. the last - row occupied). Minor cleanup. + * [r55715] src/libbrep/intersect.cpp: + Calculate point-curve intersection using sub-division. -2012-06-19 18:46 n_reed +2013-06-11 21:55 r_weiss - * [r51250] src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/cleditor/STEPfile.h, - src/other/step/src/fedex_plus/classes_wrapper.cc: - cleanup from SCL git a86b035 and 6f60a8a + * [r55714] src/libged/gqa.c: + Simplified the "gqa" command logic for testing if the + volume/weight estimate is within volume/weight tolerance. -2012-06-19 18:40 r_weiss +2013-06-11 21:18 carlmoore - * [r51249] doc/docbook/system/mann/en/CMakeLists.txt, - doc/docbook/system/mann/en/bot_split.xml: - Add documentation for the mged bot_split command. + * [r55713] src/fb/fb-fb.c: + for fb-fb, implement h and ? -2012-06-19 18:39 crdueck +2013-06-11 21:01 carlmoore - * [r51248] src/librt/primitives/tgc/tgc.c: - fixed error in rt_tgc_centroid() not accounting for the actual - position of the tgc. made use of VJOIN1 to combine some - operations. some ws and formatting changes + * [r55712] src/fb/fb-cmap.c: + implement -h and -? for help (old -h has become -H) -2012-06-19 18:17 n_reed +2013-06-11 20:42 carlmoore - * [r51247] src/other/step/src/cleditor/SdaiHeaderSchemaInit.cc, - src/other/step/src/clstepcore/ExpDict.h, - src/other/step/src/express/expr.c, - src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes.h, - src/other/step/src/fedex_plus/classes_wrapper.cc: - partial support for aggregate bounds that aren't compile-time - constants; SCL git 7425e55d + * [r55711] src/fb/bw-fb.c, src/fb/fb-bw.c: + Implement -h and -? in fb-bw (removing old -h); and make 1 + cosmetic change in bw-fb.c -2012-06-19 18:03 bob1961 +2013-06-11 20:07 starseeker - * [r51246] src/tclscripts/archer/Archer.tcl: - Save the nonedge color, occlusion mode and ghost intensity in the - preferences file. + * [r55710] src/librt/CMakeLists.txt, + src/librt/primitives/bot/bot_wireframe.cpp: + Add (commented out) file that attemps to make nicer bot + wireframes using a surface patch breakout technique. Proving to + be too slow for interactive use in its current form - hot spot is + determing which faces share the edges with any one particular + face, and even if that can somehow be made fast the + pre-processing really should be done in parallel. Checkpointing + so a revert point is available. -2012-06-19 17:32 r_weiss +2013-06-11 17:20 starseeker - * [r51245] doc/docbook/system/mann/en/CMakeLists.txt, - doc/docbook/system/mann/en/bot_flip.xml: - Add documentation for the mged bot_flip command. + * [r55709] misc/CMake/CompilerFlags.cmake: + Don't always add compiler flags to C group - some flags are C++ + only -2012-06-19 16:53 r_weiss +2013-06-11 13:11 carlmoore - * [r51244] doc/docbook/system/mann/en/bot_face_sort.xml: - Correct a syntax error in the xml file of the bot_face_sort - command documentation. + * [r55708] src/rt/view.c: + correct lu vs. d discrepancy between variable & format + specification; also remove unneeded braces -2012-06-19 16:49 r_weiss +2013-06-10 22:49 brlcad - * [r51243] doc/docbook/system/mann/en/CMakeLists.txt, - doc/docbook/system/mann/en/bot_sync.xml: - Added documentation for mged command bot_sync. + * [r55707] src/libged/gqa.c: + introducing new magic numbers (literal values) without + explanation is taboo, go with something (an order of magnitude) + that should be defensible. value is still significantly smaller + than the previous quarter-mm value... -2012-06-19 16:31 n_reed +2013-06-10 22:42 brlcad - * [r51242] src/other/step/src/base/scl_memmgr.cc: - more verbose warning message; SCL git c84330b + * [r55706] src/libged/gqa.c: + key off any negative tolerance value for weight/volume, not just + the specific value we initialized with -2012-06-19 16:24 n_reed +2013-06-10 20:49 carlmoore - * [r51241] src/other/step/src/express/resolve.c: - remove #if 0 code; SCL git ee13cda + * [r55705] src/sig/i-f.c: + cosmetic stuff, to look as much as possible like d-f.c -2012-06-19 16:19 n_reed +2013-06-10 20:44 carlmoore - * [r51240] src/other/step/src/fedex_plus/multpass.c: - fix memory leaks reported by scl_memmgr; SCL git f7cde9f + * [r55704] src/sig/f-d.c, src/sig/f-i.c: + remove unneeded braces -2012-06-19 16:09 n_reed +2013-06-10 18:32 carlmoore - * [r51239] src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes_wrapper.cc, - src/other/step/src/fedex_plus/selects.c: - fix memory leaks reported by scl_memmgr; SCL git 3010afa - -2012-06-19 15:53 n_reed - - * [r51238] src/other/step/include/express/dict.h, - src/other/step/include/express/error.h, - src/other/step/include/express/expr.h, - src/other/step/include/express/express.h, - src/other/step/include/express/linklist.h, - src/other/step/include/express/object.h, - src/other/step/include/express/resolve.h, - src/other/step/include/express/schema.h, - src/other/step/include/express/type.h, - src/other/step/src/express/dict.c, - src/other/step/src/express/error.c, - src/other/step/src/express/expr.c, - src/other/step/src/express/express.c, - src/other/step/src/express/fedex.c, - src/other/step/src/express/lexact.c, - src/other/step/src/express/linklist.c, - src/other/step/src/express/object.c, - src/other/step/src/express/resolve.c, - src/other/step/src/express/schema.c, - src/other/step/src/express/type.c: - add fedex_plus/express memory cleanup function; SCL git f5d0cc5 + * [r55703] src/fb/pix-fb.c: + remove h for high-res; implement h,? for help -2012-06-19 15:39 r_weiss +2013-06-10 18:14 n_reed - * [r51237] doc/docbook/system/mann/en/CMakeLists.txt, - doc/docbook/system/mann/en/reid.xml: - Add documentation for the mged reid command. + * [r55702] src/libdm/dm-ogl.c: + remove duplicate prototypes -2012-06-19 15:19 n_reed +2013-06-10 18:03 carlmoore - * [r51236] src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/selects.c: - avoid generating 'else if' to avoid MSVC limit of 128; SCL git - dea7f8c + * [r55701] src/util/pixscale.c, src/util/pixshrink.c: + remove old -h (high-res); use h,?,run-with-no-arguments for help -2012-06-19 15:12 n_reed +2013-06-10 17:47 n_reed - * [r51235] src/conv/step/CMakeLists.txt, - src/conv/step/STEPWrapper.cpp, src/conv/step/STEPWrapper.h, - src/conv/step/step-g.cpp, src/other/step/data/CMakeLists.txt, - src/other/step/src/clutils/errordesc.h, - src/other/step/src/fedex_plus/classes_wrapper.cc, - src/other/step/src/fedex_plus/write.cc: - Use scl_memmgr in generated schema libraries. Since scl_memmgr.h - makes "new" a macro, it has to be included after uses of - placement new to avoid breakage. SCL git d8d293b. + * [r55700] include/common.h: + don't want to remove inline uses from cpp files -2012-06-19 13:22 erikgreenwald +2013-06-10 16:39 brlcad - * [r51234] src/libpkg/CMakeLists.txt, src/libpkg/tpkg.c: - Apply Andrei's tpkg patch to set the packet size. - http://sourceforge.net/tracker/index.php?func=detail&aid=3529853&group_id=105292&atid=640804 + * [r55699] include/common.h: + __STRICT_ANSI__ is not the right define to key off of as it + catches c89 and c99 (for gcc and clang). if we're compililing + gnu89 pedantic, we need to check for GNU inline behavior, which + is indicated for gcc 4.1+ and clang via the __GNUC_GNU_INLINE__ + define. leaving __STRICT_ANSI__ in place to not rock the windows + boat prior to release. -2012-06-19 13:15 d_rossberg +2013-06-10 13:10 erikgreenwald - * [r51233] CMakeLists.txt, include/config_win.h, - include/config_win_cmake.h.in: - made the asinh() handling a twin of hypot() + * [r55698] src/libdm/adc.c, src/libdm/grid.c, src/libdm/labels.c, + src/libdm/rect.c, src/libdm/scale.c: + remove executable prop for .c files -2012-06-19 12:34 starseeker +2013-06-07 22:42 r_weiss - * [r51232] INSTALL: - Sync minor install file changes + * [r55697] src/libged/gqa.c: + Updates to 'gqa' command to improve results with default settings + and improve user messages/warnings. More testing is needed. -2012-06-19 12:32 starseeker +2013-06-07 20:29 carlmoore - * [r51231] CMakeLists.txt, include/common.h, - include/config_win_cmake.h.in: - asinh is like hypot test - can't handle it as a - check_function_exists call. needs testing on Windows + * [r55696] src/util/pix-ps.c: + implement -h and -? (removing old -h high-res) -2012-06-19 12:03 bob1961 +2013-06-07 19:32 carlmoore - * [r51230] src/libged/wdb_obj.c: - Don't need the call to bu_log_hook_delete_all() because the - previous call to bu_log_hook_save_all() empties the list. + * [r55695] src/util/pix-png.c: + don't need those 2 case statements; just use default -2012-06-19 11:45 d_rossberg +2013-06-07 18:14 carlmoore - * [r51229] CMakeLists.txt, include/common.h: - build error in MSVS: asinh() is C99, implement it with log() and - sqrt() if not present - (and there where lots of trailing white spaces removed) + * [r55694] src/sig/i-d.c: + add a blank line (cosmetic comparison with d-i.c) and initialize + scale in the type statement -2012-06-19 10:58 phoenixyjll +2013-06-07 17:00 erikgreenwald - * [r51228] src/librt/Makefile.am: - correct .c => .cpp + * [r55693] doc/docbook/system/man1/en/fbclear.xml: + rebalance the XML so it can be parsed -2012-06-19 08:41 d_rossberg +2013-06-07 16:59 phoenixyjll - * [r51227] src/librt/CMakeLists.txt: - corrected a typing mistake: .c => .cpp + * [r55692] src/libbrep/intersect.cpp: + Try to add PS support using get_closest_point(). -2012-06-19 06:19 phoenixyjll +2013-06-07 15:29 carlmoore - * [r51226] src/librt/CMakeLists.txt, src/librt/Makefile.am, - src/librt/primitives/ars/ars_brep.cpp, - src/librt/primitives/table.c: - Add brep conversion function to ars. + * [r55691] src/sig/u-f.c: + move scale=1.0 into the type declaration -2012-06-19 06:11 phoenixyjll +2013-06-07 15:25 carlmoore - * [r51225] src/librt/primitives/brep/brep_debug.cpp: - Remove unnecessary logic. + * [r55690] src/sig/d-u.c, src/sig/u-d.c: + cosmetic changes for d-u.c/u-d.c file comparison, and in u-d.c + implement 'double scale=1.0;' -2012-06-19 06:06 phoenixyjll +2013-06-07 14:57 carlmoore - * [r51224] src/librt/primitives/arb8/arb8_brep.cpp, - src/librt/primitives/arbn/arbn_brep.cpp: - Modify wrong comments. + * [r55689] src/sig/bw-d.c: + remove math.h reference, which d-bw.c did not have, and I did + make to make sure this didn't break anything -2012-06-19 04:08 phoenixyjll +2013-06-07 14:54 carlmoore - * [r51223] src/librt/primitives/arb8/arb8.c, - src/librt/primitives/brep/brep_debug.cpp, - src/librt/primitives/ell/ell.c, src/librt/primitives/rpc/rpc.c, - src/librt/primitives/tgc/tgc.c: - ws + * [r55688] src/sig/bw-d.c, src/sig/d-bw.c: + changes (preset of scale =1.0 and implementing -h and -?) for + bw-d.c and d-bw.c -2012-06-19 04:05 crdueck +2013-06-07 14:34 carlmoore - * [r51222] src/librt/primitives/rpc/rpc.c: - combined 'VSCALE then VADD2' operations with VJOIN1 macro + * [r55687] src/sig/f-i.c, src/sig/i-f.c: + set scale=1.0 in the declaration, not in a separate statement -2012-06-19 03:26 crdueck +2013-06-06 22:01 carlmoore - * [r51221] src/libged/analyze.c: - updated analyze_rpc() to use the new callbacks, use - print_volume_table() for displaying results + * [r55686] src/conv/euclid/euclid_format.c: + remove a set of braces because the if/then has just 1 statement -2012-06-19 02:40 crdueck +2013-06-06 21:18 carlmoore - * [r51220] src/librt/primitives/table.c: - updated rt_functab entry for rpc to use the new callbacks + * [r55685] doc/docbook/system/man1/en/fbclear.xml: + remove -h reference; notice the reference to Adage in the + now-deleted remark about -h -2012-06-19 02:38 crdueck +2013-06-06 20:22 carlmoore - * [r51219] src/librt/primitives/rpc/rpc.c: - added surface area function for rpc + * [r55684] src/fb/fbclear.c: + remove old h (it was a high-res flag; use 's 1024' or 'S 1024) + and implement h,? -2012-06-19 01:58 crdueck +2013-06-06 16:14 carlmoore - * [r51218] src/librt/primitives/rpc/rpc.c: - added a centroid function for rpc + * [r55683] src/sig/f-d.c: + cosmetic stuff to resemble d-f.c source as much as possible -2012-06-19 01:14 brlcad +2013-06-06 15:59 brlcad - * [r51217] doc/docbook/articles/en/oed.xml: - fix a couple obvious typos + * [r55682] src/libbrep/intersect.cpp: + bio.h is a system header wrapper but should still probably come + after the <> headers -2012-06-18 21:22 crdueck +2013-06-05 22:32 brlcad - * [r51216] src/librt/primitives/rpc/rpc.c: - added volume function for rpc + * [r55681] src/sig/d-f.c, src/sig/f-d.c: + learn from each other. scale must be initialized. -2012-06-18 16:29 phoenixyjll +2013-06-05 20:46 carlmoore - * [r51214] src/librt/primitives/pnts/pnts.c: - Check whether count == 0 to avoid segmentation fault. + * [r55680] src/sig/f-d.c: + remove 'scale = 1.0;' because the if/else will assign a value + anyway -2012-06-18 16:28 phoenixyjll +2013-06-05 18:20 n_reed - * [r51213] src/librt/primitives/brep/brep_debug.cpp: - Export correctly and modify the output message. + * [r55679] src/libged/draw.c: + don't set autoview flag until after memset -2012-06-18 15:42 starseeker +2013-06-05 16:06 carlmoore - * [r51212] TODO: - Problem was not with the red regressions, but a deeper issue - involving syncing low level data structures and attributes - red - editing saw appropriate region flag, but some other tools - wouldn't. Fixed now - may possible be worth adding a different - test to check specifically for this in the future, but it's only - likely to come up in the next big attribute handling refactor. + * [r55678] src/conv/enf-g.c: + fix 'must' spelling; add progname to error messages; implement + -h,-? -2012-06-18 15:20 starseeker +2013-06-05 04:47 starseeker - * [r51211] TODO: - The g-nff crash appears to have been fixed - succeeds on Linux - and Mac + * [r55677] src/adrt/librender/component.c, + src/adrt/librender/cut.c, src/adrt/librender/normal.c, + src/adrt/librender/path.c, src/adrt/librender/phong.c, + src/adrt/librender/surfel.c, src/adrt/load.c, src/burst/glob.c, + src/conv/nmg/nmg-rib.c, src/conv/raw/Bot.h, + src/conv/raw/RegionList.h, src/conv/raw/raw-g.cpp, + src/conv/shp/shapelib/shpopen.c, src/conv/step/STEPWrapper.cpp, + src/librt/tests/test_ssi.cpp, src/rttherm/spectrum.c: + More common.h additions - this gets us to a finished build. -2012-06-18 15:20 phoenixyjll +2013-06-05 04:13 starseeker - * [r51210] src/librt/primitives/brep/brep_debug.cpp: - Add pnts to the ignore list. + * [r55676] src/libged/make_name.c, src/libged/regdef.c, + src/libged/report.c, src/libged/set_output_script.c, + src/libged/set_uplotOutputMode.c: + The rest of the missing libged common.h inclusions -2012-06-18 15:15 starseeker +2013-06-05 04:10 starseeker - * [r51209] TODO: - mged -c + attach X + draw works on Linux and Mac + * [r55675] src/libged/item.c: + Another missing common.h -2012-06-18 15:00 starseeker +2013-06-05 04:09 starseeker - * [r51208] TODO: - Made circles in sketch editor, unable to reproduce problem - if - re-occurs, request bug submission with more detail. + * [r55674] src/libged/illum.c: + Another missing common.h -2012-06-18 14:34 starseeker +2013-06-05 04:07 starseeker - * [r51207] TODO: - Tried the example in build_region's man page, and it succeeded. + * [r55673] CMakeLists.txt: + Fix syntax error -2012-06-18 12:21 cprecup +2013-06-05 04:04 starseeker - * [r51206] src/libged/Makefile.am: - Add the file dag.cpp for the OLD build system + * [r55672] src/other/libregex/regex.h: + Don't define __BEGIN_DECLS and __END_DECLS in regex.h if they're + already defined. -2012-06-18 12:19 cprecup +2013-06-05 04:02 brlcad - * [r51205] src/libged/CMakeLists.txt: - Fix distcheck error that appears because of SVN_FILE_NOT_IN_BUILD - for dag.cpp in the case when the AVOID library is not found. + * [r55671] CMakeLists.txt, include/dvec.h: + make sure the emmintrin.h header actually works, not just exists. + there's a gcc bug spanning 4.0-4.5 where the posix_memalign() + decls are different causing a 'throws different exceptions' + failure -2012-06-18 11:54 erikgreenwald +2013-06-05 03:50 starseeker - * [r51204] src/librt/primitives/metaball/metaball_tri.c: - Adjust facetization grid size to a more reasonable value. - (generation resolution was way too fine, may've been caused by - tightening of bounding volume) + * [r55670] include/brep.h: + Both the BEGIN and the END need to be inside or outside the ifdef + together - mixing and matching doesn't work on NetBSD. -2012-06-18 10:19 brlcad +2013-06-05 03:43 starseeker - * [r51203] TODO: - richard tested facetize on windows, works. testing illuminate+Z - is not a release stopper + * [r55669] src/libbn/tri_tri.c: + another common.h missing -2012-06-18 10:16 brlcad +2013-06-05 03:06 brlcad - * [r51202] TODO: - the brep class inlining is not a release item, push down to - unsheduled + * [r55668] src/libbu/sscanf.c: + by design, common.h should always come before all system headers + whenever system headers are include. -2012-06-18 10:13 brlcad +2013-06-04 21:54 carlmoore - * [r51201] TODO: - idents first column bug was investigated and found to be - unworthy. review and testing has been on-going. + * [r55667] src/conv/dxf/dxf-g.c: + remove a 'break'; add -h,-?; add 'Usage' -2012-06-18 02:45 starseeker +2013-06-04 21:18 brlcad - * [r51200] src/fb/orle-fb.c: - Apply patch 3527258 from Ksenija Slivko + * [r55666] src/other/togl/src/CMakeLists.txt: + search the provided source directories for headers before + searching for them in system directories. fixes a build error + encountered on a system where the system-installed glew.h was too + old to be used. warrants a header compatibility test if we + encounter a case where the system dirs need to get searched + first. -2012-06-18 01:44 cprecup +2013-06-04 20:28 carlmoore - * [r51199] src/libged/dag.cpp: - Model for a directed acyclic graph constructed by using the - Adaptagrams' libraries. Methods that, for now, construct a - rectangle for each object in a given database. + * [r55665] src/sig/dwin.c: + implement -h and -? for help, specify usage of files (not + stdin/stdout), and change old h to H -2012-06-18 01:38 cprecup +2013-06-04 20:05 starseeker - * [r51198] src/libged/CMakeLists.txt: - Add search for libavoid + * [r55664] misc/CMake/FindGL.cmake: + Add NO_CMAKE_SYSTEM_PATH to OpenGL searches, to mirror FindX11 + behavior. -2012-06-18 01:36 cprecup +2013-06-04 19:04 carlmoore - * [r51197] src/conv/CMakeLists.txt: - Eliminate search for the library libavoid + * [r55663] src/util/dunnsnap.c: + remove h for high-res ('s 1024' or 'S 1024' in its place), and + implement -h,-? -2012-06-16 19:03 crdueck +2013-06-04 14:59 carlmoore - * [r51196] src/librt/primitives/table.c: - quell some warnings, pointer (NULL) instead of the expected int - (0) in a functab entry + * [r55662] src/sig/dstats.c: + remove verbose flag and reference to 'mode'; implement -h, -? -2012-06-16 18:05 starseeker +2013-06-04 14:51 carlmoore - * [r51195] doc/docbook/system/man1/en/rtwizard.xml: - PDF testing was worthwhile, caught an error - 3 columns in this - table, not 2 + * [r55661] src/util/dunncolor.c: + implement -h and -?, and 'Program continues running:' for + no-arguments help -2012-06-16 17:37 starseeker +2013-06-04 13:48 phoenixyjll - * [r51194] src/other/CMakeLists.txt: - New SCL setting to flag as advanced + * [r55660] src/libbrep/px_event.cpp: + Fix the format of ON_PX_EVENT::Dump(). -2012-06-16 13:10 brlcad +2013-06-04 13:45 phoenixyjll - * [r51193] include/vmath.h: - ws + * [r55659] src/libged/brep.c, + src/librt/primitives/brep/brep_debug.cpp: + Extended the brep command to handle P/P, P/C, P/S, C/C and C/S. -2012-06-16 13:10 brlcad +2013-06-04 12:13 phoenixyjll - * [r51192] NEWS: - insignificant edit so we can restate the commit log, needed for - sh/news2tracker.sh which pulls the last commit comment for review - meetings: tom browder fixed a bug in the comgeom-g importer that - was causing a problem due to improper memory deallocation after - mk_ars(). + * [r55658] src/libged/brep.c, + src/librt/primitives/brep/brep_debug.cpp: + Eliminate max_dis in the brep command for SSI. -2012-06-16 13:02 brlcad +2013-06-04 11:37 brlcad - * [r51191] src/other/incrTcl/itk/CMake/FindX11.cmake, - src/other/tk/CMake/FindX11.cmake, - src/other/tkhtml/CMake/FindX11.cmake, - src/other/tkpng/CMake/FindX11.cmake, - src/other/tktable/CMake/FindX11.cmake, - src/other/togl/CMake/FindGL.cmake: - sync FindGL and FindX11 + * [r55657] CMakeLists.txt: + thanks netbsd 5 ... they partially implemented TLS support so it + compiles and links, but will simply crash at runtime. (gives + __tls_get_addr() runtime link failure on library linkage) change + the test to also run the test, not just compile it for the + __thread test only to catch this failure. pthread fallback should + hopefully still work. -2012-06-16 13:00 brlcad +2013-06-04 06:27 brlcad - * [r51190] misc/CMake/FindGL.cmake, misc/CMake/FindX11.cmake: - synchronize the search ordering while also adjusting the order - slightly. intentionally preferring X11 include directories before - searching common system and common package manager paths. + * [r55656] src/libfb/if_tk.c: + more ctype argument type cleansing -2012-06-16 12:42 tbrowder2 +2013-06-04 06:05 brlcad - * [r51189] NEWS: - correct typo + * [r55655] CMakeLists.txt: + manually wrap a couple simple tests since both + CHECK_SYMBOL_EXISTS and CHECK_PROTOTYPE_EXISTS appear to be + completely unusable for testing header declarations. deserves a + macro in the meantime, but the issue has been reported. -2012-06-16 12:07 tbrowder2 +2013-06-04 05:30 brlcad - * [r51188] doc/docbook/system/man1/en/asc2dsp.xml: - improve note about validity of output for mged use + * [r55654] CMakeLists.txt: + so CHECK_PROTOTYPE_EXISTS() is woefully busted in numerous ways. + assumes c++, has a bad symbol test, results in unused var + warnings, and doesn't work with preprocessor-wrapped symbols + coming from system headers. former versions of + CHECK_SYMBOL_EXISTS() almost did exactly what we need (a simple + (void)symbol; test just like AC_CHECK_DECL) but was bastardized + in recent versions so it now spews an error too (it's busted and + has been reported). -2012-06-16 11:58 tbrowder2 +2013-06-04 04:27 phoenixyjll - * [r51187] doc/docbook/system/man1/en/asc2dsp.xml: - add note about easy ascii creation, reference to tac(1) + * [r55653] src/libbrep/PullbackCurve.cpp, + src/libbrep/libbrep_brep_tools.cpp, + src/libbrep/libbrep_brep_tools.h, src/libbrep/opennurbs_ext.cpp, + src/libbrep/opennurbs_fit.cpp: + run ws.sh on src/libbrep -2012-06-16 08:00 starseeker +2013-06-04 04:21 brlcad - * [r51186] src/tclscripts/lib/RtImage.tcl, - src/tclscripts/rtwizard/rtwizard.tcl: - Reverse pid archer work + * [r55652] misc/CMake/BRLCAD_CompilerFlags.cmake: + two more warnings to aspire to -2012-06-16 07:59 starseeker +2013-06-04 04:20 brlcad - * [r51185] src/tclscripts/lib/RtImage.tcl, - src/tclscripts/rtwizard/rtwizard.tcl: - Checkpointing work to make rtwizard pids available for Archer to - abort when abort button is pressed. Will immediately revert, as - this won't be ready in time for release + * [r55651] misc/CMake/CompilerFlags.cmake: + the gnu1x line was leftover, remove -2012-06-16 07:00 crdueck +2013-06-04 04:02 brlcad - * [r51184] src/libged/analyze.c: - updated analyze_arb to use the new volume callback + * [r55650] misc/CMake/CompilerFlags.cmake: + separate the comments so it's more obvious that we intentionally + use two different standards during compilation testing. -2012-06-16 06:18 crdueck +2013-06-04 03:56 brlcad - * [r51183] src/libged/analyze.c: - cleaned up formatting in analyze_tgc + * [r55649] misc/CMake/CompilerFlags.cmake: + revert r54119 by caen23 that made debug compilation also use + gnu99 instead of gnu89. as noted in the preceding comment, we + intentionally compile with both to provoke more warnings. need + more info on the clang failures. -2012-06-16 06:16 crdueck +2013-06-04 03:38 brlcad - * [r51182] src/libged/analyze.c: - cleaned up formatting for bu_vls_printf in analyze_ell and - analyze_tor, planning on using this format throughout analyze.c - for consistency + * [r55648] src/libbu/units.c: + the ctype functions technically take an 'int' derived from an + unsigned char, so netbsd is appropriately warning about the + danger passing a signed char. we know these are strings, so + casting to unsigned char is sufficient to quell. -2012-06-16 05:32 starseeker +2013-06-04 03:24 brlcad - * [r51181] src/libged/simulate/simrt.c, - src/libged/simulate/simulate.c, src/libged/simulate/simutils.c, - src/libged/simulate/simutils.h: - simulate kill code was interfering with other uses of kill - add - a prefix to avoid collision until details can be sorted out. + * [r55647] src/libbu/backtrace.c: + hook off of the configure tests so we don't get duplciate + declarations when the posix kill() and fileno() functions are + available. -2012-06-16 04:43 brlcad +2013-06-04 03:16 brlcad - * [r51180] src/librt/primitives/arb8/arb8.c: - DIST_PT_PLANE() takes a point first, plane second. detected - during compilation since it causes an array to read out of - bounds. + * [r55646] include/config_win_cmake.h.in: + ditto, we have fileno() -2012-06-15 21:35 bob1961 +2013-06-04 03:12 brlcad - * [r51179] include/bu.h, src/libbu/hook.c, src/libbu/log.c, - src/libged/wdb_obj.c: - Added functions for save_all, delete_all and restore_all hooks - and log_hooks. Used by wdb_cmd to eliminate blather when a - command is not found in wdb_newcmds. + * [r55645] include/config_win.h: + windows has fileno() (because we define it to _fileno()), and + there aren't c99 declaration issues because msvc doesn't give a + hoot about it. -2012-06-15 20:13 erikgreenwald +2013-06-04 03:10 brlcad - * [r51178] src/librt/primitives/nmg/nmg_tri_mc.c: - remove unnecessary blather + * [r55644] src/libbn/plane.c: + need stdlib.h for modf() and nextafter() but remove the long + double support since it requires build system infrastructure. + several relatively common platforms (some not so common, some + common) don't support long doubles. (gnulib quotes FreeBSD 6.0, + NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, HP-UX 11, IRIX 6.5, Solaris + 9, Cygwin, Interix 3.5) moreover, we'd need other changes to make + fastf_t be more than single or double precision. -2012-06-15 19:26 brlcad +2013-06-04 02:38 brlcad - * [r51177] src/other/libregex/engine.c: - partial revert of r51054. passing ssize_t to %ld is not portable - nor follows the documented type. + * [r55643] CMakeLists.txt: + test for fileno() since the function disappears in c99 pedantic + mode (it's a posix function). instead, check for kill() and + fileno() being declared. -2012-06-15 19:22 anrgmrty +2013-06-03 19:07 brlcad - * [r51176] src/conv/g-voxel.c: - EQUAL used for equality of two floating pt. numbers instead of - roundabout way using ZERO + * [r55642] include/brep.h: + more comment conversion for the new PP PC functions // -> /* */ + and eliminate tons of trailing ws. -2012-06-15 19:19 brlcad +2013-06-03 19:06 carlmoore - * [r51175] src/libged/red.c: - revert r51012. it's unclear how the comment is true, improving - reliability on Windows, because the casts are not right. they - describe an array of character pointers (char*[]), but then - that's repeatedly used as a 'char *' with casts forced - everywhere. needing casts pervasively like that is a sign - something is fundamentally wrong. casts should be rare. + * [r55641] src/util/dsp_add.c: + clean up the handling of h and ? as help -2012-06-15 19:11 brlcad +2013-06-03 18:10 carlmoore - * [r51174] src/libged/brep.c: - ws + * [r55640] src/liboptical/sh_treetherm.c: + provide solid_name in fixing warning messages -2012-06-15 18:31 starseeker +2013-06-03 17:08 brlcad - * [r51173] doc/docbook/system/man1/en/rtwizard.xml: - Add some examples to rtwizard man page - could probably stand to - have some more, given the number of options available + * [r55639] src/librt/primitives/brep/brep.cpp: + remove unused var -2012-06-15 18:30 brlcad +2013-06-03 13:57 phoenixyjll - * [r51172] src/libbu/vls_internals.h: - mark them with BU_EXPORT so they'll dllexport/dllimport - correctly, but keep them in this internal header so they're not - published + * [r55638] src/libbrep/CMakeLists.txt, src/libbrep/Makefile.am, + src/libbrep/px_event.cpp: + Oops, forget to add px_event.cpp to the CMakeList and Makefile. -2012-06-15 18:24 starseeker +2013-06-03 13:48 phoenixyjll - * [r51171] src/fb/fblabel.c: - fblabel needs to use bu_setprogname, since it relies on - bu_brlcad_data to find vfont. + * [r55637] src/libbrep/intersect.cpp: + remove the unused variable names to quell compiler warnings. -2012-06-15 18:09 brlcad +2013-06-03 13:43 phoenixyjll - * [r51170] src/libbu/vls_internals.h: - declare extern + * [r55636] include/brep.h: + remove the comma at end of enumerator list. -2012-06-15 18:08 brlcad +2013-06-03 13:34 phoenixyjll - * [r51169] include/bu.h, src/libbu/vls_internals.h: - revert r50816 and 50817. cannot just move declarations into - public headers as it pollutes the public API. moreover, it's not - necessary (and doesn't address the real problem) + * [r55635] include/brep.h, src/libbrep/intersect.cpp, + src/libbrep/px_event.cpp: + Begin to add P/P, P/C and P/S support. Implement ON_PX_EVENT for + reporting the intersections. -2012-06-15 18:01 bob1961 +2013-06-02 03:01 brlcad - * [r51168] src/tclscripts/archer/Archer.tcl, - src/tclscripts/archer/ArcherCore.tcl: - This fixes some of the issues that were encountered using the - rtwizard interface in Archer. The fix was to compute the eye_pt - (i.e. a call to get_eyemodel computes this) whenever the display - changes and convert it to view coordinates before comparing to - the mSavedViewEyePt. The eye_pt with the largest Z value wins. - This value, if set, is used to override libged/rtwizard.c. + * [r55634] src/conv/3dm/3dm-g.cpp: + remove unhelpful comment -2012-06-15 17:48 brlcad +2013-06-02 02:59 brlcad - * [r51167] src/conv/g-voxel.c: - ws + * [r55633] include/brep.h: + reminded of some instanity in the C standard that has comments + parsed in phase 3 BEFORE the preprocessor (phase 4) so even #if 0 + // comments being compiled in -pedantic mode will cause gcc to + issue a warning. it's a silly unhelpful interpretation by the gcc + devs (that a warning needs to be issued in phase 3 just because + it's a comment issue even if the comment is in code hidden by the + pre-processor. at least accommodating the silly is simple. -2012-06-15 17:45 brlcad +2013-06-02 02:28 brlcad - * [r51166] src/libbu/test_ctype.c: - clean up ws & style, mark ac/av as UNUSED + * [r55632] src/librt/primitives/brep/brep.cpp: + set but unused var quellage -2012-06-15 17:43 brlcad +2013-06-02 02:23 brlcad - * [r51165] src/libbu/test_ctype.c: - typo, mime type is text/plain + * [r55631] include/brep.h: + support compiling with this header in c90 mode, no // comments in + non-c++ sections of the file -2012-06-15 17:42 brlcad +2013-06-01 04:36 brlcad - * [r51164] NEWS: - Daniel Roßberg added a new geometry importer for the 'raw' file - format, which is a simple ascii list of vertices representing a - triangle mesh, imported as a BoT + * [r55630] NEWS: + still need to quantify this change (r55618), but in theory it'll + be faster no matter what because the number of locks are reduced. + richard fixed the FIXME in the file that talks about the + excessive locking. he made it perform local book-keeping (no + contention) and then combines that all together at the end + (contention). -2012-06-15 17:34 bob1961 +2013-06-01 04:29 brlcad - * [r51163] src/tclscripts/lib/RtImage.tcl: - Put back the previous specification of occlusion objects to - rtedge. + * [r55629] src/sig/a-d.c, src/sig/butter.c, src/sig/bw-d.c, + src/sig/c-d.c, src/sig/coswin.c, src/sig/d-a.c, src/sig/d-bw.c, + src/sig/d-f.c, src/sig/d-i.c, src/sig/d-u.c, src/sig/damdf.c, + src/sig/dauto.c, src/sig/dauto2.c, src/sig/dconv.c, + src/sig/ddisp.c, src/sig/dfft.c, src/sig/dmod.c, src/sig/dsel.c, + src/sig/dstats.c, src/sig/dwin.c, src/sig/f-d.c, src/sig/f-i.c, + src/sig/fhor.c, src/sig/hamwin.c, src/sig/i-a.c, src/sig/i-d.c, + src/sig/i-f.c, src/sig/ihist.c, src/sig/imod.c, src/sig/interp.c, + src/sig/istats.c, src/sig/smod.c, src/sig/u-a.c, src/sig/u-bw.c, + src/sig/u-d.c, src/sig/u-f.c, src/sig/umod.c, src/sig/ustats.c: + ws style cleanup -2012-06-15 16:15 starseeker +2013-06-01 04:12 brlcad - * [r51162] doc/docbook/system/man1/en/rtwizard.xml, - src/tclscripts/rtwizard/rtwizard.tcl: - Fix rtwizard options to better match what they're actually doing - under the hood. + * [r55628] NEWS: + turns out the fix richard applied was never publicly visible, + isolated to either r53477 or r53495, so doesn't get announced. + however, bob's fix for the pipe primitive should be publicly + visible (looks like it's not been calculating linear segmenets at + least up to the 7.22 release) -2012-06-15 15:00 d_rossberg +2013-06-01 03:46 brlcad - * [r51161] src/conv/g-voxel.c: - another unused variable: rtip in hit() + * [r55627] NEWS: + richard identified a bug in the mged/archer autoview command + where it was calucating the view size/center dramatically wrong + for some geometry (including a pipe in our toyjeep example). the + problem was a primitive that was not properly setting it's + min/max value and the autoview command starting with + unininitalsed variables. fix was simply to init them proper to + INF/-INF. -2012-06-15 14:55 d_rossberg +2013-06-01 03:36 brlcad - * [r51160] src/conv/g-voxel.c: - removed numVoxel from hit() function because of a compiler error - "variable set but not used" + * [r55626] src/libged/nirt.c: + replace four vls calls to strcat() with one call to printf(). -2012-06-15 14:04 anrgmrty +2013-06-01 03:35 brlcad - * [r51159] src/conv/g-voxel.c: - ZERO() macro used for comparison with 0.0 instead of previously - used inefficient comparison + * [r55625] include/bu.h: + clean up api documentation on bu_vls_vprintf() and + bu_vls_printf() -2012-06-15 13:14 bob1961 +2013-06-01 03:25 brlcad - * [r51158] src/libged/wdb_obj.c: - Removed wdb_put_tcl. + * [r55624] src/util/dpix-pix.c: + main() isn't that complicated, doesn't benefit from the min/max + scope -2012-06-15 12:08 bob1961 +2013-06-01 03:22 brlcad - * [r51157] src/libged/rtwizard.c: - Quoting all arguments used to create the string for the call to - CreateProcess(). Minor cleanup. + * [r55623] src/util/dpix-pix.c: + vmath min/max macros ftw. also use a more standard definition of + infinity and eliminate those silly static globals. -2012-06-15 06:01 brlcad +2013-06-01 03:15 brlcad - * [r51156] TODO: - quick-test the build_region command in mged to make sure it works - after recent get/put/adjust changes + * [r55622] NEWS: + carl has made numerous improvements to dozens of utilities making + -h and -? consistently give a usage statement. lots of + output/usage statement cleanup along with way too. -2012-06-15 06:00 brlcad +2013-05-31 21:17 carlmoore - * [r51155] src/tclscripts/mged/build_region.tcl: - call get/put/adjust directly instead of going through the - deprecated wdb_obj db interface + * [r55621] src/sig/dsel.c: + improve the Usage message, and implement -h and -? -2012-06-15 05:59 brlcad +2013-05-31 20:42 carlmoore - * [r51154] src/libged/wdb_obj.c: - put is a new command, reference the right callback + * [r55620] src/util/dpix-pix.c: + fix comments (including changing a 'larger' to 'smaller' -2012-06-15 05:49 brlcad +2013-05-31 17:26 bob1961 - * [r51153] NEWS: - Across the board, Tom's made several dozen improvements and - corrections to various manual pages in response to issues found - by Eric Raymond's doclifter. also tidyed up some spacing and - formatting. + * [r55619] src/librt/primitives/pipe/pipe.c: + Initial min and max in pipe_elements_calculate(). Also removed + the PIPE_MM macro. -2012-06-15 05:46 brlcad +2013-05-31 16:56 r_weiss - * [r51152] NEWS: - consolidate the new manual page additions tom worked on into one - entry for all four (asc2dsp, dsp, asc2pix, and asc2g). (plus, - recommit since r51121 commit message was nondescript) + * [r55618] src/libged/gqa.c: + Improve the speed of libged 'gqa' by reducing semaphore locking + in function 'plane_worker'. -2012-06-15 05:09 crdueck +2013-05-31 16:51 starseeker - * [r51151] src/librt/primitives/table.c: - updated the rt_functab entry for arb to include the new volume - callback + * [r55617] include/ged.h, src/conv/bot_dump.c, src/conv/g-dot.c, + src/gtools/g_qa.c, src/libged/autoview.c, src/libged/bot_dump.c, + src/libged/color.c, src/libged/draw.c, src/libged/erase.c, + src/libged/ged.c, src/libged/get_autoview.c, src/libged/how.c, + src/libged/illum.c, src/libged/joint.c, src/libged/move.c, + src/libged/move_all.c, src/libged/nirt.c, src/libged/plot.c, + src/libged/png.c, src/libged/polybinout.c, src/libged/ps.c, + src/libged/report.c, src/libged/rt.c, src/libged/rtcheck.c, + src/libged/saveview.c, src/libged/select.c, + src/libged/set_transparency.c, src/libged/vdraw.c, + src/libged/who.c, src/libged/zap.c, src/libtclcad/tclcad_obj.c, + src/mged/attach.c, src/mged/buttons.c, src/mged/chgtree.c, + src/mged/chgview.c, src/mged/dodraw.c, src/mged/dozoom.c, + src/mged/edsol.c, src/mged/mater.c, src/mged/mged.c, + src/mged/overlay.c, src/mged/plot.c, src/mged/polyif.c, + src/mged/rtif.c, src/mged/set.c, src/mged/share.c, + src/mged/usepen.c: + Convert libged struct elements to pointers from inline bu_list + structures. ged_close no longer frees the top level gedp pointer + automatically, in case callers want to close stack-allocated ged + structures. -2012-06-15 03:29 crdueck +2013-05-31 16:21 carlmoore - * [r51150] src/librt/primitives/arb8/arb8.c: - added rt_arb_volume() for arb8 + * [r55616] src/util/azel.c: + remove 'Bad option' message (go with bu_getopt instead); Ch would + be '?' anyway if we got here -2012-06-15 02:53 starseeker +2013-05-31 15:54 r_weiss - * [r51149] regress/asc2dsp.sh: - Add quotes in asc2dsp test as well. + * [r55615] src/libged/draw.c: + Fixed a bug in libged 'draw.c' function + 'append_solid_to_display_list' which corrects 'autoview' in mged. -2012-06-15 02:46 starseeker +2013-05-31 13:15 starseeker - * [r51148] regress/dsp.sh: - regress-dsp failing in odd pathnames distcheck - add quotes + * [r55614] db/pinewood.asc: + Tweak the pinewood car subtractions so the faces of the + subtraction arbs aren't exactly on the faces of the solid arb - + more robust. -2012-06-14 23:01 n_reed +2013-05-30 23:17 starseeker - * [r51147] src/other/step/src/cleditor/CMakeLists.txt, - src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/cleditor/STEPfile.inline.cc, - src/other/step/src/cleditor/SdaiHeaderSchema.cc, - src/other/step/src/cleditor/SdaiHeaderSchemaAll.cc, - src/other/step/src/cleditor/SdaiHeaderSchemaInit.cc, - src/other/step/src/cleditor/SdaiSchemaInit.cc, - src/other/step/src/cleditor/cmdmgr.cc, - src/other/step/src/cleditor/dispnode.cc, - src/other/step/src/cleditor/dispnodelist.cc, - src/other/step/src/cleditor/instmgr.cc, - src/other/step/src/cleditor/mgrnode.cc, - src/other/step/src/cleditor/mgrnodearray.cc, - src/other/step/src/cleditor/mgrnodelist.cc, - src/other/step/src/cleditor/needFunc.cc: - use scl_memmgr in cleditor; SCL git 3be4220 - -2012-06-14 22:39 n_reed - - * [r51146] src/other/step/src/cldai/CMakeLists.txt, - src/other/step/src/cldai/sdaiApplication_instance_set.cc, - src/other/step/src/cldai/sdaiBinary.cc, - src/other/step/src/cldai/sdaiDaObject.cc, - src/other/step/src/cldai/sdaiEntity_extent.cc, - src/other/step/src/cldai/sdaiEntity_extent_set.cc, - src/other/step/src/cldai/sdaiEnum.cc, - src/other/step/src/cldai/sdaiModel_contents.cc, - src/other/step/src/cldai/sdaiModel_contents_list.cc, - src/other/step/src/cldai/sdaiObject.cc, - src/other/step/src/cldai/sdaiSession_instance.cc, - src/other/step/src/cldai/sdaiString.cc: - use scl_memmgr in cldai; SCL git b49d2be - -2012-06-14 21:44 n_reed - - * [r51145] src/other/step/src/clstepcore/CMakeLists.txt, - src/other/step/src/clstepcore/ExpDict.cc, - src/other/step/src/clstepcore/ExpDict.inline.cc, - src/other/step/src/clstepcore/Registry.inline.cc, - src/other/step/src/clstepcore/STEPaggregate.cc, - src/other/step/src/clstepcore/STEPattribute.cc, - src/other/step/src/clstepcore/STEPattribute.inline.cc, - src/other/step/src/clstepcore/STEPattributeList.cc, - src/other/step/src/clstepcore/STEPcomplex.cc, - src/other/step/src/clstepcore/STEPundefined.cc, - src/other/step/src/clstepcore/SingleLinkList.cc, - src/other/step/src/clstepcore/SingleLinkList.inline.cc, - src/other/step/src/clstepcore/collect.cc, - src/other/step/src/clstepcore/complexlist.cc, - src/other/step/src/clstepcore/entlist.cc, - src/other/step/src/clstepcore/entnode.cc, - src/other/step/src/clstepcore/match-ors.cc, - src/other/step/src/clstepcore/multlist.cc, - src/other/step/src/clstepcore/non-ors.cc, - src/other/step/src/clstepcore/orlist.cc, - src/other/step/src/clstepcore/print.cc, - src/other/step/src/clstepcore/read_func.cc, - src/other/step/src/clstepcore/sdai.cc, - src/other/step/src/clstepcore/trynext.cc: - use scl_memmgr in clstepcore; SCL git 245ff14 + * [r55613] doc/docbook/system/man1/en/coil.xml: + h -> H in coil per 55606 - update man page -2012-06-14 21:37 starseeker +2013-05-30 21:37 carlmoore - * [r51144] src/conv/Makefile.am: - pix2asc needs libbu too + * [r55612] src/sig/ddisp.c: + implement h,?, and Illegal option; old h became H -2012-06-14 21:13 tbrowder2 +2013-05-30 21:13 carlmoore - * [r51143] src/libbu/test_vls_vprintf.c: - remove one test for now--an internal failure + * [r55611] src/util/dbcp.c: + provide h and ? for help; all I did was eliminate illegal-option + message when one of those is detected -2012-06-14 20:49 tbrowder2 +2013-05-30 21:08 carlmoore - * [r51142] regress/CMakeLists.txt, regress/Makefile.am, - regress/asc2dsp.sh, regress/dsp/asc2dsp-new.asc, - regress/dsp/asc2dsp-old.asc: - add new regression test; turn on dsp and asc2dsp regression - tests; distcheck seems okay + * [r55610] src/sig/d-bw.c, src/sig/d-f.c, src/sig/d-i.c, + src/sig/d-u.c: + use preset of scale=1.0, like FORTRAN DATA statement (variable + can receive different values during execution -2012-06-14 20:48 n_reed +2013-05-30 18:46 carlmoore - * [r51141] src/other/step/src/clutils/CMakeLists.txt, - src/other/step/src/clutils/dirobj.cc, - src/other/step/src/clutils/errordesc.cc, - src/other/step/src/clutils/gennode.cc, - src/other/step/src/clutils/gennodearray.cc, - src/other/step/src/clutils/gennodelist.cc, - src/other/step/src/clutils/scl_hash.cc: - use scl_memmgr in clutils; SCL git 010e02b + * [r55608] src/proc-db/csgbrep.cpp: + add 'continues running (will create file' -2012-06-14 19:29 r_weiss +2013-05-30 18:36 carlmoore - * [r51140] src/libged/wdb_obj.c: - Update to file 'wdb_obj.c' to prevent the mged 'build_region' - command from incorrectly reporting that the 'put' command does - not exist. + * [r55607] src/conv/comgeom/cvt.c: + make ?,h available as help in comgeom-g -2012-06-14 19:18 anrgmrty +2013-05-30 18:26 carlmoore - * [r51139] src/conv/g-voxel.c: - g-voxel outputs voxels.txt, voxelArray stores information from - one ray at a time only instead of for entire object + * [r55606] src/shapes/coil.c: + simplify handling of h and ? for help; old h becomes H (argument + for helix angle) -2012-06-14 19:00 bob1961 +2013-05-30 16:56 carlmoore - * [r51138] src/libged/rtwizard.c: - Needed to set gedp->ged_gdp->gd_rt_cmd_len before the call to - _ged_run_rtwizard. This was needed on Windows. + * [r55605] doc/docbook/system/man1/en/cmap-fb.xml, + src/fb/cmap-fb.c: + use h,? for help; old h became H because I had no high-res + alternative available -2012-06-14 18:59 brlcad +2013-05-30 13:42 carlmoore - * [r51137] misc/CMake/FindX11.cmake: - check for the X11/Xlib.h header instead of a main X11 directory - (the directory might simply be empty) + * [r55604] src/util/pixrot.c: + implement help via h and ?; h for high-res is replaced by 's + 1024' -2012-06-14 18:58 starseeker +2013-05-30 05:33 brlcad - * [r51136] src/libged/Makefile.am: - Add rtwizard.c to libged's Makefile.am + * [r55603] include/bu.h: + make sure we don't cast away constness unnecessarily. looks like + gcc 4.4 has trouble parsing a const genptr_t but no problems with + the const type overall, so we introduce a const_genptr_t type and + use accordingly. -2012-06-14 18:03 brlcad +2013-05-30 04:39 brlcad - * [r51135] src/libbu/parallel.c: - include the sys/resource.h header conditionally on its test - result. fixes a decl warning on old gcc compilation. + * [r55602] src/conv/step/OpenNurbsInterfaces.cpp: + quell warning, false is not a pointer value -2012-06-14 18:02 brlcad +2013-05-30 00:41 starseeker - * [r51134] CMakeLists.txt: - check for the sys/resource.h header for - setpriority()/getpriority() + * [r55601] src/other/tcl/CMakeLists.txt: + Put tcl CMakeLists.txt back for now - will need more work to make + a viable tcl build on Haiku anyway. Erik found that libnetwork + has the 'listen' symbol, needed for libtcl (causing btclsh to + fail) -2012-06-14 16:04 r_weiss +2013-05-30 00:38 starseeker - * [r51133] doc/docbook/system/mann/en/gr.xml: - Update to the mged 'gr/grouper' command documentation. + * [r55600] TODO: + regress-red passes now on i386 FreeBSD, and Haiku (and + OpenIndiana) have a slew of other issues besides the regex issue. + Remove item as a release blocker. -2012-06-14 14:48 starseeker +2013-05-30 00:15 starseeker - * [r51132] src/conv/Makefile.am: - asc2dsp needs libbu - let autotools build know that + * [r55599] src/libbu/heap.c: + defines aren't public - nix BU_ prefix. -2012-06-14 14:43 bob1961 +2013-05-30 00:09 starseeker - * [r51131] src/libtclcad/tclcad_obj.c: - Bumped the maxargs for the view command from 3 to 7. + * [r55598] src/libbu/heap.c: + Actually, PAGESIZE is quite deliberately defined here - rename to + avoid conflict rather than using system definition. -2012-06-14 14:41 r_weiss +2013-05-30 00:02 starseeker - * [r51130] src/tclscripts/mged/grouper.tcl: - Update to the mged 'gr/grouper' command correcting problems with - keyboard and mouse button associations. + * [r55597] src/other/tcl/CMakeLists.txt: + The space in tcl's PACKAGE_STRING variable value is causing + problems for the Haiku command line -2012-06-14 14:08 d_rossberg +2013-05-29 23:57 starseeker - * [r51129] src/conv/asc/asc2dsp.c: - compiler error with MSVC: obviously MAXSHORT is already defined - there - now we test with UINT16_MAX if an unsigned int can be casted to - uint16_t + * [r55596] src/libbu/heap.c: + PAGESIZE is defined in Haiku's limits.h file - check to avoid a + define conflict. -2012-06-14 14:05 bob1961 +2013-05-29 23:54 starseeker - * [r51128] src/libged/rt.c: - This fixes an issue in _ged_rt_set_eye_model() where displayed - geometry was not showing up in a raytrace due to the eye_model - not getting adjusted at all or an adjustment was made - incorrectly. The first problem was that the eye_model was not - getting adjusted unless the view center was inside the bounding - box of the displayed solids. This breaks depending on the view. - If not zclipping the eye_model is now always getting adjusted. - The second problem was that the eye_model was getting adjusted by - the extent of the bounding box diagonal alone. We also need to - consider how far away the center of displayed geometry is from - the view center. + * [r55595] src/libbu/affinity.c: + Avoid a set-but-unused warning. -2012-06-14 13:59 starseeker +2013-05-29 23:23 starseeker - * [r51127] regress/CMakeLists.txt: - Add dsp.pix to regress clean list + * [r55594] src/other/libregex/regex.h: + Haiku's sys/types.h doesn't use protective wrappers around its + off_t definition, so check directly. -2012-06-14 12:47 tbrowder2 +2013-05-29 21:45 brlcad - * [r51126] regress/CMakeLists.txt: - correct name of missing prereq + * [r55593] src/anim/anim_track.c, src/anim/anim_turn.c, + src/anim/chan_add.c, src/anim/chan_mult.c, + src/anim/chan_permute.c: + usage functions should be static, top-level function scope + curlies go on their own line, and indent first level with 4 + spaces not tab. -2012-06-14 12:45 tbrowder2 +2013-05-29 21:18 carlmoore - * [r51125] regress/CMakeLists.txt: - add missing prereq + * [r55592] src/anim/chan_add.c, src/anim/chan_mult.c, + src/anim/chan_permute.c: + implement h and ? for 3 chan_* utilities -2012-06-14 12:44 tbrowder2 +2013-05-29 19:31 carlmoore - * [r51124] regress/CMakeLists.txt: - add missing file + * [r55591] src/fb/cell-fb.c: + h and ? provided for help; use '-S 1024' for high-res) -2012-06-14 12:41 tbrowder2 +2013-05-29 19:18 carlmoore - * [r51123] regress/dsp/dsp-common.sh: - add required file + * [r55590] src/mged/cad_parea.c: + move Usage to stderr; remove Output(0.0) -2012-06-14 12:07 starseeker +2013-05-29 19:05 carlmoore - * [r51122] regress/CMakeLists.txt: - Apparently need dsp-common.sh, which has not been checked in yet. + * [r55589] src/mged/cad_boundp.c: + provide for ? and h, and exit program immediately if those or an + illegal option are detected -2012-06-14 11:55 tbrowder2 +2013-05-29 18:41 starseeker - * [r51121] NEWS: - doc new things + * [r55588] src/other/libregex/regex.h: + Don't (re)define off_t unless we have to - try sys/types.h first + except in the case of Windows. -2012-06-14 11:42 erikgreenwald +2013-05-29 18:23 carlmoore - * [r51120] src/other/step/src/base/scl_memmgr.cc: - use stdlib.h instead of malloc.h + * [r55587] src/util/bwthresh.c: + implement h and ? -2012-06-14 11:30 tbrowder2 +2013-05-29 18:09 carlmoore - * [r51119] src/conv/asc/asc2dsp.c: - add comment + * [r55586] src/util/bwstat.c: + implement use of h and ? -2012-06-14 11:24 tbrowder2 +2013-05-29 18:04 carlmoore - * [r51118] doc/docbook/system/man1/en/asc2dsp.xml: - comma instead of period + * [r55585] src/util/bwshrink.c: + go with bu_getopt error messages; high res changes from 'h' to + '-s 1024'; implement h and ? for help -2012-06-14 11:22 brlcad +2013-05-29 17:52 carlmoore - * [r51117] src/conv/asc/asc2dsp.c: - include bin.h instead of arpa/inet.h directly so that we build on - windows + * [r55584] src/util/bwscale.c: + remove high-res ('-s 1024' replaces it), and add h and ? for + help) -2012-06-14 11:20 tbrowder2 +2013-05-29 17:43 carlmoore - * [r51116] doc/docbook/system/man1/en/asc2dsp.xml, - doc/docbook/system/man5/en/dsp.xml, src/conv/asc/asc2dsp.c: - expand comments and info + * [r55583] src/util/bwrot.c: + implement h,? as help; 'h' for high-res is replaced by 's 1024'; + usage statement already had h removed -2012-06-14 04:44 starseeker +2013-05-29 17:33 carlmoore - * [r51115] src/conv/asc/asc2dsp.c: - clear error building asc2dsp - not checking return value of - fwrite + * [r55582] src/util/bwmod.c: + implement h,? -2012-06-14 04:01 brlcad +2013-05-29 17:26 carlmoore - * [r51114] NEWS: - cliff worked extensively on getting rtwizard to work as a - command-line renderer (sans gui). bob integrated it into libged - and into archer with numerous fixes along the way. + * [r55581] src/util/bwhist.c: + implement h,? -2012-06-14 03:46 brlcad +2013-05-29 16:48 carlmoore - * [r51113] src/liborle/rle.c: - tis old, but not that old! + * [r55580] src/util/bwfilter.c: + implement h, ? -2012-06-14 03:41 brlcad +2013-05-29 16:25 carlmoore - * [r51112] src/libfb/if_X24.c, src/libfb/if_disk.c, - src/util/pixdsplit.c: - specify O_BINARY on a few other places that call open() for some - binary file. should behave better/correctly on windows. + * [r55579] src/proc-db/brickwall.c: + change h,H,n to n,N,B respectively in the options; h will now be + a help flag -2012-06-14 03:07 brlcad +2013-05-29 15:44 brlcad - * [r51111] NEWS: - tom browder added a new asc2dsp conversion tool which creates a - dsp unsigned short binary data file from 0-to-65536 ascii data - values + * [r55578] src/fb/fb-rle.c: + one more, don't document the past -2012-06-14 02:59 brlcad +2013-05-29 15:42 brlcad - * [r51110] HACKING: - more language tweaking, ask for testing help. + * [r55577] src/util/bw-ps.c, src/util/rle_args.c: + historic comments about the prior state of code are not + necessary. -2012-06-14 02:56 brlcad +2013-05-29 14:10 n_reed - * [r51109] HACKING: - testing almost stabilized, clean up release e-mail snippet - language + * [r55576] include/vmath.h: + fix two macros that referenced a non-existent 's' parameter -2012-06-14 02:00 tbrowder2 +2013-05-28 23:24 tbrowder2 - * [r51108] doc/docbook/system/man1/en/asc2dsp.xml, - doc/docbook/system/man5/en/dsp.xml, src/conv/asc/asc2dsp.c: - define the DSP acronym + * [r55575] TODO: + not sure if this is the right place for a wiki item, but I am + sure I'll find out if it isn't -2012-06-14 01:50 tbrowder2 +2013-05-28 19:56 carlmoore - * [r51107] doc/docbook/system/man1/en/CMakeLists.txt, - doc/docbook/system/man1/en/asc2dsp.xml, - doc/docbook/system/man5/en/CMakeLists.txt, - doc/docbook/system/man5/en/dsp.xml, src/conv/CMakeLists.txt, - src/conv/Makefile.am, src/conv/asc/asc2dsp.c: - add a new utility to ease generation of DSP binary files; add - DocBook versions of man pages for the 'asc2dsp' program and the - 'dsp' binary file format + * [r55574] TODO, include/config_win_cmake.h.in, + src/libbrep/libbrep_brep_tools.cpp, + src/libbrep/libbrep_brep_tools.h, src/libged/edarb.c, + src/tclscripts/archer/ArcherCore.tcl, src/tclscripts/lib/Ged.tcl: + remove trailing blanks/tabs -2012-06-14 01:43 tbrowder2 +2013-05-28 19:53 carlmoore - * [r51106] include/bio.h: - correct typo + * [r55573] doc/docbook/system/man1/en/bw-rle.xml, + doc/docbook/system/man1/en/pix-rle.xml, src/util/bw-rle.c, + src/util/pix-rle.c, src/util/rle_args.c: + remove -h (high-res) option so it can be used for help -2012-06-13 23:04 n_reed +2013-05-27 10:49 d_rossberg - * [r51105] src/other/step/src/exppp/CMakeLists.txt, - src/other/step/src/exppp/exppp.c, - src/other/step/src/fedex_plus/CMakeLists.txt, - src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes_misc.c, - src/other/step/src/fedex_plus/classes_wrapper.cc, - src/other/step/src/fedex_plus/collect.cc, - src/other/step/src/fedex_plus/complexlist.cc, - src/other/step/src/fedex_plus/entlist.cc, - src/other/step/src/fedex_plus/entnode.cc, - src/other/step/src/fedex_plus/expressbuild.cc, - src/other/step/src/fedex_plus/fedex_main.c, - src/other/step/src/fedex_plus/match-ors.cc, - src/other/step/src/fedex_plus/multlist.cc, - src/other/step/src/fedex_plus/multpass.c, - src/other/step/src/fedex_plus/non-ors.cc, - src/other/step/src/fedex_plus/orlist.cc, - src/other/step/src/fedex_plus/print.cc, - src/other/step/src/fedex_plus/selects.c, - src/other/step/src/fedex_plus/trynext.cc, - src/other/step/src/fedex_plus/write.cc: - use scl_memmgr in exppp and fedex_plus; SCL git 7ce8bcb and - 4e0d73d - -2012-06-13 21:13 n_reed - - * [r51104] src/other/step/CMakeLists.txt, - src/other/step/src/base/CMakeLists.txt, - src/other/step/src/express/CMakeLists.txt, - src/other/step/src/express/alg.c, - src/other/step/src/express/caseitem.c, - src/other/step/src/express/dict.c, - src/other/step/src/express/entity.c, - src/other/step/src/express/error.c, - src/other/step/src/express/expr.c, - src/other/step/src/express/express.c, - src/other/step/src/express/fedex.c, - src/other/step/src/express/hash.c, - src/other/step/src/express/lexact.c, - src/other/step/src/express/linklist.c, - src/other/step/src/express/memory.c, - src/other/step/src/express/object.c, - src/other/step/src/express/resolve.c, - src/other/step/src/express/schema.c, - src/other/step/src/express/scope.c, - src/other/step/src/express/stmt.c, - src/other/step/src/express/symbol.c, - src/other/step/src/express/type.c, - src/other/step/src/express/variable.c: - use scl_memmgr in express; SCL git 82c84e7 and 4d6d249 + * [r55572] src/other/poly2tri/CMakeLists.txt: + link p2t with zlib-static if a brlcad.dll should be build -2012-06-13 21:13 brlcad +2013-05-24 21:02 carlmoore - * [r51103] src/libbu/argv.c, src/libbu/basename.c, - src/libbu/bitv.c, src/libbu/color.c, src/libbu/ctype.c, - src/libbu/lex.c: - since the ctype API is often implemented as macros where the - parameter becomes an array index, avoid a gcc 4.1.3 warning about - using a char for the array index (auto-promoted). cast to int. + * [r55571] src/util/bw-ps.c: + -h , -? -2012-06-13 21:10 starseeker +2013-05-24 20:57 carlmoore - * [r51102] src/tclscripts/rtwizard/rtwizard.tcl: - taskkill appears to need some extra arguments to wipe out the - headless fbserv on Windows. + * [r55570] src/util/bw-png.c: + implement -h , -? -2012-06-13 20:41 starseeker +2013-05-24 18:22 carlmoore - * [r51101] src/tclscripts/rtwizard/rtwizard.tcl: - Handle port number being supplied as argument to -F + * [r55569] src/util/bw-pix.c: + implement -h and -?; also, expand 2 error messages -2012-06-13 19:33 starseeker +2013-05-24 12:33 indianlarry - * [r51100] src/tclscripts/lib/RtImage.tcl: - Only pull image from framebuffer if we have to - seems to speed - up rtimage script in simple color-only cases. + * [r55568] src/fb/fbzoom.c, src/fb/gif-fb.c, src/fb/pl-fb.c: + Sorry a few more. where space was accidently added to constant + chat "," -> ", ". Looks to have been added by ws space scripts. + Need to check and possible fix script. -2012-06-13 19:10 bob1961 +2013-05-24 12:00 indianlarry - * [r51099] src/tclscripts/lib/RtImage.tcl: - More shinola for Windows. + * [r55567] src/fb/fbcolor.c: + Space was accidently added to constant chat "," -> ", ". Looks to + have been added by ws space scripts. Need to check and possible + fix script. -2012-06-13 18:34 starseeker +2013-05-24 01:52 brlcad - * [r51098] BUGS: - Add note about metaball tessellation bug + * [r55566] src/fb/cmap-fb.c, src/fb/fb-bw.c, src/fb/fb-pix.c, + src/fb/fbanim.c, src/fb/fbcbars.c, src/fb/fbclear.c, + src/fb/fbcmap.c, src/fb/fbcmrot.c, src/fb/fbcolor.c, + src/fb/fbfade.c, src/fb/fbframe.c, src/fb/fbfree.c, + src/fb/fbgamma.c, src/fb/fbgammamod.c, src/fb/fbgrid.c, + src/fb/fbhelp.c, src/fb/fbpoint.c, src/fb/fbscanplot.c, + src/fb/fbzoom.c, src/fb/gif-fb.c, src/fb/gif2fb.c, + src/fb/orle-fb.c, src/fb/pix-fb.c, src/fb/pixautosize.c, + src/fb/pixflip-fb.c, src/fb/pl-fb.c, src/fb/png-fb.c, + src/fb/polar-fb.c, src/fb/pp-fb.c, src/fb/spm-fb.c: + ws indent style cleanup -2012-06-13 17:16 n_reed +2013-05-24 01:23 brlcad - * [r51097] src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes.h, - src/other/step/src/fedex_plus/classes_wrapper.cc: - eliminate a temp buffer; SCL git 1cc2774 + * [r55565] src/fb/bw-fb.c: + the high resolution flags can all just go away, even if they + equate to two flags (-s 1024 -S 1024) like here, so long as it's + a simple substitution. -2012-06-13 16:33 n_reed +2013-05-24 01:20 brlcad - * [r51096] src/other/step.dist, - src/other/step/src/clstepcore/ExpDict.cc, - src/other/step/src/clstepcore/ExpDict.h, - src/other/step/src/clstepcore/ExpDict.inline.cc, - src/other/step/src/clutils/CMakeLists.txt, - src/other/step/src/clutils/scl_char_str_list.cc, - src/other/step/src/clutils/scl_char_str_list.h, - src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes_wrapper.cc: - Apply SCL git 3fd2222 which removes scl_char_str_list class, but - std::vector makes a better replacement than std::deque. + * [r55564] src/fb/bw-fb.c: + ws -2012-06-13 16:27 starseeker +2013-05-24 01:16 brlcad - * [r51095] NEWS: - Bob fixed a bug in libicv that was causing pix files to be - generated with corrupted data on Windows. + * [r55563] src/util/bw-imp.c: + rarely ever need to document what the code was to developers -2012-06-13 16:13 bob1961 +2013-05-23 21:56 carlmoore - * [r51094] src/libicv/fileformat.c: - Added an O_BINARY flag to the call to open() in - icv_image_save_open(). This fixes a breakage on windows. + * [r55562] doc/docbook/system/man1/en/bw-imp.xml: + change the man page for bw-imp; old h has been removed -2012-06-13 15:15 n_reed +2013-05-23 21:52 carlmoore - * [r51093] src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes.h, - src/other/step/src/fedex_plus/classes_wrapper.cc, - src/other/step/src/fedex_plus/multpass.c: - break up generated strings; SCL git 212c114 + * [r55561] src/util/bw-imp.c: + implement h and ? as help flags; old h is replaced by '-s 1024' -2012-06-13 13:03 bob1961 +2013-05-23 20:26 carlmoore - * [r51092] src/libged/rtwizard.c: - Needs rtwizard.bat for windows. + * [r55560] src/fb/bw-fb.c: + supplied h and ? as help flags; converted old h to H because the + workaround would require BOTH s and S in place of old h -2012-06-13 13:01 starseeker +2013-05-23 20:06 carlmoore - * [r51091] src/libged/rtwizard.c: - Fix perspective handling in rtwizard.c + * [r55559] src/sig/bw-d.c: + supply 'bad argument' message for arguments other than the + prescribed ones -2012-06-13 12:45 starseeker +2013-05-23 18:37 carlmoore - * [r51090] src/tclscripts/rtwizard/rtwizard.tcl: - Fix rtwizard.tcl for case where multiple .g args are specified - (toplevel components may have a .g name) + * [r55558] src/sig/bw-d.c: + implement -h, -? -2012-06-13 11:30 tbrowder2 +2013-05-23 16:22 starseeker - * [r51089] src/anim/anim_track.1, src/conv/dbclean.1, - src/fbed/fbed.1, src/gtools/remapid.1, src/irprep/firpass.1, - src/irprep/ir-X.1, src/irprep/irdisp.1, src/irprep/pictx.1, - src/irprep/secpass.1, src/irprep/shapefact.1, - src/irprep/showtherm.1, src/nirt/showshot.1, src/remrt/remrt.1, - src/rt/reshoot.1, src/rt/rt_bot_faces.1, src/rt/rtg3.1, - src/rt/rthide.1, src/rt/rtscale.1, src/rttherm/rttherm.1, - src/util/asc-pl.1, src/util/bary.1, src/util/buffer.1, - src/util/dunnsnap.1, src/util/loop.1, src/util/pixcut.1, - src/util/pl-tek.1, src/util/plrot.1, src/util/random.1: - correct errors found by Eric Raymond's doclifter, tidy some - spacing and formats + * [r55557] src/librt/tests/CMakeLists.txt: + add arb_intersect.g to the CMAKEFILES list. -2012-06-13 11:27 tbrowder2 +2013-05-23 16:14 brlcad - * [r51088] TODO: - add list of 'bad' man pages + * [r55556] include/bu.h: + talked with some of our s2 users and we're going to go ahead with + the new INFINITY values even though they introduce/expose changes + to results. changing infinity results in slightly different bsp + cell traversal (grazing case) but the object being reported was + always on the shotline to begin with. the decision was to allow + this change since the new hits encountered are correct. -2012-06-13 01:55 brlcad +2013-05-23 15:49 brlcad - * [r51087] src/adrt/isst.bat: - consistency with the other .bat scripts, pass all arguments - instead of just the first + * [r55555] NEWS: + Aiming to finally release 7.24.0 on Monday! Good times ... r55555 + woot! -2012-06-13 01:53 brlcad +2013-05-23 15:45 brlcad - * [r51086] src/librt/primitives/bot/tie.c: - memset for simplicity and more future-proof + * [r55554] NEWS: + the idents command now skips over non-union combination members + above the region level. to quote commit r55553: these members of + a combination don't add positively to the defined regions of + space and their region ID's will not show up along a shotline + unless positively added elsewhere in the hierarchy. This was + causing headaches for users generating an association table from + our idents listing. -2012-06-13 01:44 brlcad +2013-05-23 15:22 indianlarry - * [r51085] src/archer/archer.bat: - follow suit with rtwizard.bat, pass all arguments to archer. not - just the first. + * [r55553] src/libged/tables.c: + For the 'idents' command skip over non-union combinations above + the region level, these members of a combination don't add + positively to the defined regions of space and their region ID's + will not show up along a shotline unless positively added + elsewhere in the hierarchy. This is causing headaches for users + generating an association table from our 'idents' listing. -2012-06-13 01:44 brlcad +2013-05-23 12:18 phoenixyjll - * [r51084] src/mged/mged.bat: - there is no -g option to mged any more. plus, pass all arguments - to mged if any (same as rtwizard.bat) instead of just the first - one. + * [r55552] src/librt/tests/arb_intersect.g: + Add a test geometry for SSI - surface tree approach is not so + suitable for intersection of two plane surfaces, and we need some + special handling. It includes transverse intersection curve, + tangent intersection curve, tangent intersection point, overlap + intersection and some other corner cases - a good test case to + test to find the problem in and improve the SSI routine. -2012-06-13 00:56 starseeker +2013-05-23 11:49 d_rossberg - * [r51083] src/tclscripts/rtwizard/rtwizard.bat: - More tweaks to rtwizard.bat + * [r55551] misc/win32-msvc/Dll/CMakeLists.txt, + src/libbrep/CMakeLists.txt, src/librt/CMakeLists.txt, + src/libwdb/CMakeLists.txt, src/other/openNURBS/CMakeLists.txt: + link openNURBS statically in brlcad.dll + doing so some of the Windows-DLL-import/export-flag logic can be + simplified -2012-06-12 21:48 starseeker +2013-05-23 11:29 phoenixyjll - * [r51082] src/tclscripts/rtwizard/rtwizard.bat: - Don't want to exit after running rtwizard.bat, now that there is - a viable command line mode. + * [r55550] include/brep.h, src/libbrep/intersect.cpp, + src/librt/primitives/brep/brep.cpp, + src/librt/primitives/brep/brep_debug.cpp, + src/librt/tests/test_ssi.cpp: + Fix return value of ON_Intersect (SSI) - returns the number of + intersection events (consistent with openNURBS), and add comment + to brep.h. Remove the uncessary check of OPENNURBS_PLUS_INC_, and + reduce debugging messages. -2012-06-12 21:32 tbrowder2 +2013-05-23 04:16 brlcad - * [r51081] src/fbserv/fbserv.1: - work around errors noted by doclifter + * [r55549] doc/docbook/system/man1/en/fb-rle.xml: + indent and format to look for tag errors, but looks clean -2012-06-12 21:19 starseeker +2013-05-23 04:03 brlcad - * [r51080] regress/CMakeLists.txt: - dsp-common.sh not in repository... + * [r55548] doc/docbook/system/man1/en/fb-rle.xml: + remove extended characters -2012-06-12 20:54 anrgmrty +2013-05-23 03:48 brlcad - * [r51079] src/conv/g-voxel.c: - g-voxel.c has been modified to shoot multiple rays per - voxel(raysPerVoxel), unnecessary variables removed + * [r55547] src/anim/anim_keyread.c: + anothoer time shadow -2012-06-12 20:08 n_reed +2013-05-23 03:48 brlcad - * [r51078] src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/selects.c: - Allocate aggregate members on heap. SCL git 809e1dd, 260fd55, and - e421f70. - -2012-06-12 20:03 tbrowder2 - - * [r51077] regress/CMakeLists.txt, regress/Makefile.am, - regress/dsp.sh, regress/dsp/dsp-1-1.asc, regress/dsp/dsp-1-2.asc, - regress/dsp/dsp-2-1.asc, regress/dsp/dsp-2-2.asc, - regress/dsp/dsp-2-3.asc, regress/dsp/dsp-2-4.asc, - regress/dsp/dsp-2-5.asc, regress/dsp/dsp-3-1.asc, - regress/dsp/dsp-3-2.asc, regress/dsp/dsp-3-3.asc, - regress/dsp/dsp-3-4.asc, regress/dsp/dsp-3-5.asc, - regress/dsp/dsp-3-6.asc, regress/dsp/dsp-3-7.asc, - regress/dsp/dsp-3-8.asc, regress/dsp/run-dsp-case-set-0.sh, - regress/dsp/run-dsp-case-set-1.sh, - regress/dsp/run-dsp-case-set-2.sh, - regress/dsp/run-dsp-case-set-3.sh: - fill in preliminary dsp regressions tests for 2x2 and 3x3 cases; - null case and 1x1 cases need work (if they can be done at all - with current state of mged which seems to balk at creating such - corner cases) + * [r55546] src/anim/anim_offset.c: + don't shadow time -2012-06-12 19:59 erikgreenwald +2013-05-23 03:41 brlcad - * [r51076] src/librt/primitives/bot/tie.c: - 0 out the treewalk stack + * [r55545] src/libfb/if_mem.c: + quell redefinition error for openindiana -2012-06-12 19:16 bob1961 +2013-05-23 03:33 brlcad - * [r51075] src/tclscripts/archer/Archer.tcl, - src/tclscripts/archer/ArcherCore.tcl: - Work toward not using RtControl. Also tweaked things a bit to - better control autosizing when using the rtwizard modes. + * [r55544] src/other/openNURBS/opennurbs_system.h: + also provide isfinite(), but comment out both so they can be + specifically tested -2012-06-12 18:53 n_reed +2013-05-23 03:09 brlcad - * [r51074] src/other/step/include/express/object.h, - src/other/step/include/express/type.h, - src/other/step/src/express/type.c, - src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes_misc.c, - src/other/step/src/fedex_plus/selects.c: - remove 'backwards compatibility' symbols; SCL git 1481950 and - a63ac73 + * [r55543] src/other/openNURBS/opennurbs_system.h: + quell mass of openindiana warnings for NAME_MAX not being defined -2012-06-12 18:40 bob1961 +2013-05-23 02:50 brlcad - * [r51073] src/tclscripts/lib/Accordian.tcl: - Added the -padding option. + * [r55542] src/tclscripts/ami.tcl, src/tclscripts/ampi.tcl: + fix the silent error that was causing mged to run without a slew + of commands being available. if we can't build a tclIndex, stop + hard because something went terribly wrong. sync ami.tcl and + ampi.tcl too so they basically do the same thing (might want to + merge at some point). print the actual error if there was one. -2012-06-12 18:22 n_reed +2013-05-22 21:08 carlmoore - * [r51072] src/other/step/include/express/express.h, - src/other/step/src/express/expr.c, - src/other/step/src/express/express.c: - Warn about indexing binary types instead of failing. Allows - fedex_plus to produce output for ap221 and ap235 express schemas. - SCL git 4cd7e7c. + * [r55541] src/util/bw-a.c: + implement -h and -?; run-with-no-arguments IS available already -2012-06-12 18:22 starseeker +2013-05-22 20:57 carlmoore - * [r51071] src/tclscripts/rtwizard/rtwizard.tcl: - look for libtclcad and libdm in the right place on Windows - (really need 'package require' for BRL-CAD libs...) + * [r55540] src/util/buffer.c: + implement -h and -? but not help-by-running-with-no-arguments -2012-06-12 17:56 n_reed +2013-05-22 20:27 erikgreenwald - * [r51070] src/other/step/include/express/scope.h, - src/other/step/src/express/expparse.y, - src/other/step/src/express/resolve.c, - src/other/step/src/fedex_plus/classes_wrapper.cc: - put enums in separate table; SCL git c415e49 + * [r55539] doc/docbook/system/man1/en/fb-rle.xml: + try to rebalance xml after the -h removal... -2012-06-12 17:36 n_reed +2013-05-22 19:54 carlmoore - * [r51069] src/other/step/src/cldai/sdaiDaObject.h, - src/other/step/src/fedex_plus/classes.c: - Borland-specific stuff from SCL git c0c423c and 3a9fa99. + * [r55538] src/burst/burst.c: + implement h and ?; no-argument option NOT implemented because we + go to the screen-display instead -2012-06-12 16:50 n_reed +2013-05-22 18:39 carlmoore - * [r51068] src/conv/step/MeasureValue.cpp, - src/conv/step/PCurveOrSurface.cpp, - src/other/step/src/cldai/sdaiBinary.cc, - src/other/step/src/cldai/sdaiBinary.h, - src/other/step/src/cldai/sdaiString.cc, - src/other/step/src/cldai/sdaiString.h, - src/other/step/src/clstepcore/read_func.cc, - src/other/step/src/clutils/errordesc.cc, - src/other/step/src/clutils/errordesc.h: - Have SDAI_String and SDAI_Binary wrap std::string rather than - inherit from it. SCL git 82898d7. + * [r55537] src/proc-db/brickwall.c: + implement -? and no-arguments; switch over to use of getopt's + error messages; have not yet resolved -h -2012-06-12 16:26 n_reed +2013-05-22 17:56 carlmoore - * [r51067] src/other/step/src/express/expr.c, - src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes_wrapper.cc: - ws/style from SCL git 09f3472 and d94a449 + * [r55536] doc/docbook/system/man1/en/fb-rle.xml: + remove h option -2012-06-12 16:08 n_reed +2013-05-22 17:51 brlcad - * [r51066] src/other/step/src/express/expr.c: - Warn about indexing a select with mixed base types. SCL git - 67f8897. + * [r55535] src/tclscripts/CMakeLists.txt, + src/tclscripts/archer/CMakeLists.txt, + src/tclscripts/boteditor/CMakeLists.txt, + src/tclscripts/geometree/CMakeLists.txt, + src/tclscripts/hv3/CMakeLists.txt, + src/tclscripts/igraph/CMakeLists.txt, + src/tclscripts/lib/CMakeLists.txt, + src/tclscripts/lod/CMakeLists.txt, + src/tclscripts/mged/CMakeLists.txt, + src/tclscripts/pl-dm/CMakeLists.txt, + src/tclscripts/rtwizard/CMakeLists.txt, + src/tclscripts/rtwizard/lib/CMakeLists.txt, + src/tclscripts/sdialogs/CMakeLists.txt, + src/tclscripts/sdialogs/scripts/CMakeLists.txt, + src/tclscripts/swidgets/CMakeLists.txt, + src/tclscripts/swidgets/scripts/CMakeLists.txt, + src/tclscripts/util/CMakeLists.txt: + walls of code are bad... clean up and document the pkgIndex.tcl + and tclIndex macros. eliminated the name argument since we can + generate it automatically off of the path. -2012-06-12 16:00 bob1961 +2013-05-22 16:33 bob1961 - * [r51065] src/tclscripts/archer/Archer.tcl, - src/tclscripts/archer/ArcherCore.tcl, - src/tclscripts/archer/images/CMakeLists.txt, - src/tclscripts/archer/images/rtimage.png: - Added a new interface to Archer for creating rtwizard types of - images. + * [r55534] src/libged/draw.c: + Minor cleanup of _ged_drawtrees. -2012-06-12 15:57 bob1961 +2013-05-22 16:26 bob1961 - * [r51064] src/libtclcad/tclcad_obj.c, src/tclscripts/lib/Ged.tcl: - Provided a tcl interface to the new rtwizard functionality in - libged. + * [r55533] src/libged/draw.c, src/libged/ged_private.h: + Remember the autoview setting in _ged_drawtrees by adding it to + the _ged_client_data struct. -2012-06-12 15:50 bob1961 +2013-05-22 15:49 r_weiss - * [r51063] include/ged.h, src/libged/CMakeLists.txt, - src/libged/rtwizard.c: - Added a wrapper for calling rtwizard from libged. + * [r55532] sh/cmp.sh: + Needed to also comment out "Norm" because it was dependant on + "Tied", "Diff" and "TDif" which was already commented out. -2012-06-12 15:44 bob1961 +2013-05-22 13:10 bob1961 - * [r51062] src/tclscripts/lib/Accordian.tcl: - Removed debug statement. Added a state argument indicating - whether or not a different button was pressed to the calls to the - toggle panel callbacks. + * [r55531] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl: + Archer mods to initialize a bit of tree state when a database is + loaded. This is related to Archer's rt image view mode. -2012-06-12 11:51 tbrowder2 +2013-05-22 11:56 bob1961 - * [r51061] regress/dsp: - add dir to segregate multiple dsp tests + * [r55530] src/libged/draw.c: + In _ged_drawtrees, set autoview to 1 only if doing adaptive + plotting. -2012-06-11 23:26 starseeker +2013-05-22 11:12 bob1961 - * [r51060] misc/CMake/BRLCAD_CMakeFiles.cmake: - Ignore a couple more add_library flags (should fix error Mesut is - encountering using FindQt.cmake) + * [r55529] src/tclscripts/archer/ArcherCore.tcl: + Tweaks for Archer's Rt image view mode. -2012-06-11 20:09 r_weiss +2013-05-22 03:28 brlcad - * [r51059] src/tclscripts/mged/grouper.tcl: - Updates to the mged 'gr/grouper' command. Made the listing of - selected objects optional. Fixed a bug where the script would - hang when a large number of objects (i.e. vertices) were selected. - Removed unnecessary logic. + * [r55528] src/anim/anim_time.c: + avoid shadowing time (openindiana) -2012-06-11 17:12 n_reed +2013-05-22 03:20 brlcad - * [r51058] src/other/step/include/express/type.h, - src/other/step/src/express/expr.c: - handle indexing on generics; SCL git ed76f0b + * [r55527] src/libpkg/pkg.c: + quell openindiana warning, unused onoff var -2012-06-11 16:49 n_reed +2013-05-21 21:39 carlmoore - * [r51057] src/other/step/src/express/expr.c, - src/other/step/src/fedex_plus/selects.c: - cleanup/ws from SCL git 1da31f6 and 3aee5f3 + * [r55526] src/fb/fb-rle.c: + replace -h with '-S 1024' so -h can be used for help; also, + implement -? -2012-06-11 04:28 n_reed +2013-05-21 20:57 brlcad - * [r51056] src/other/step/src/fedex_plus/classes_misc.c: - suppress return warning; SCL git f688f2a + * [r55525] TODO: + turns out at least the one instance being used with + rt_new_rti()+rt_free_rti() does result in zero leaks (so long as + you close the cloned dbip). still needs more TLC w.r.t. duplicate + geometry and usage of the rt_uniresource/global memory pools, but + no longer seems like a release barrier. -2012-06-11 04:13 n_reed +2013-05-21 20:15 brlcad - * [r51055] src/other/step/src/express/fedex.c: - add process.h for getpid on windows; SCL git 870edbf + * [r55524] src/librt/db_open.c: + behave more user-friendly gracefully if we attempt to close a + null dbip. let it mean we have nothing to do instead of halting + the application. -2012-06-10 19:17 r_weiss +2013-05-21 20:10 brlcad - * [r51054] src/other/libregex/engine.c, src/other/libregex/regex.h, - src/other/libregex/regex2.h, src/other/libregex/regexec.c: - Updates to libregex to allow the mged/archer 'red' command to - work on 64bit windows. Updated files in 'src/other/libregex/' ... - 'regex.h' 'regex2.h' 'regexec.c' and 'engine.c'. + * [r55523] src/librt/prep.c: + make rt_clean() work even if it's an rtip that no longer has a + dbip handle (instead of crashing) -2012-06-09 16:29 tbrowder2 +2013-05-21 20:09 brlcad - * [r51053] HACKING: - grammar + * [r55522] src/librt/test_bot2nurbs.cpp: + style cleanup, ws -2012-06-09 13:58 tbrowder2 +2013-05-21 20:01 brlcad - * [r51052] src/anim/anim_sort.1: - tidy spacing, correct errors found by doclifter + * [r55521] src/librt/db_anim.c: + validate our input parameters before assuming they're non-null -2012-06-09 13:57 tbrowder2 +2013-05-21 13:52 bob1961 - * [r51051] src/anim/anim_track.1: - tidy spacing, correct errors found by doclifter, correct spelling - of 'catenary' + * [r55520] src/mged/dozoom.c: + Added a call to DM_MAKE_CURRENT to mged's createDList and + freeDListsAll functions. -2012-06-09 13:56 tbrowder2 +2013-05-21 13:07 bob1961 - * [r51050] src/conv/nmg/asc-nmg.1: - tidy spacing, correct errors found by doclifter + * [r55519] src/tclscripts/archer/ArcherCore.tcl: + By default, Archer will use display lists. -2012-06-09 13:55 tbrowder2 +2013-05-21 13:02 bob1961 - * [r51049] src/conv/viewpoint-g.1: - tidy spacing, correct errors found by doclifter + * [r55518] src/libged/erase.c: + Can't assume that display lists are contiguous in gdl_headSolid. + This was the culprit/bug that was causing geometry to + mysteriously disappear from the display in MGED and Archer. -2012-06-09 13:55 tbrowder2 +2013-05-21 12:57 bob1961 - * [r51048] src/conv/fast4-g.1: - tidy spacing, correct errors found by doclifter + * [r55517] src/libtclcad/tclcad_obj.c: + Call DM_MAKE_CURRENT before calling DM_GEN_DLISTS in libtclcad. -2012-06-09 13:54 tbrowder2 +2013-05-20 20:08 n_reed - * [r51047] src/conv/dbclean.1: - tidy spacing, correct errors found by doclifter + * [r55516] src/proc-db/breplicator.cpp: + mark local functions static -2012-06-09 13:53 tbrowder2 +2013-05-20 19:20 carlmoore - * [r51046] src/fb/cell-fb.1: - tidy spacing, correct errors found by doclifter + * [r55515] src/proc-db/breplicator.cpp: + fix help and no-arguments run of breplicator -2012-06-09 13:40 tbrowder2 +2013-05-20 19:18 carlmoore - * [r51045] src/anim/anim_track.c, src/anim/cattrack.c: - typo + * [r55514] src/proc-db/brep_cube.cpp, src/proc-db/brep_simple.cpp: + supply missing right parenthesis in printusage string -2012-06-09 11:31 tbrowder2 +2013-05-20 15:51 bob1961 - * [r51044] src/conv/CMakeLists.txt, src/conv/Makefile.am, - src/conv/asc/asc2g.1: - add man page for asc2g + * [r55513] src/tclscripts/archer/ArcherCore.tcl: + Minor tweak to ArcherCore::render to reset mSavedCenter and + mSavedSize. -2012-06-09 11:27 tbrowder2 +2013-05-20 12:45 bob1961 - * [r51043] src/conv/asc/g2asc.1: - make man page references consistent with their parens, change rsh - to ssh, tidy synopsis format + * [r55512] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl: + Make setting Archer's display preferences more interactive. -2012-06-09 11:19 tbrowder2 +2013-05-19 15:23 starseeker - * [r51042] src/conv/asc/asc2pix.1, src/conv/asc/pix2asc.1: - make man page references consistent with their parens, tidy - synopsiz format + * [r55511] TODO: + More details on where we do and don't see the off_t issue -2012-06-09 00:11 tbrowder2 +2013-05-19 05:52 brlcad - * [r51041] src/anim/anim_script.1: - remove invalid markup + * [r55510] NEWS: + richard modified gqa in r52353 to report all missed regions, not + just the first missed region (so users won't have to keep + re-running gqa to get any objects further down the shotline. -2012-06-09 00:07 tbrowder2 +2013-05-19 05:17 brlcad - * [r51040] bench/benchmark.1: - remove invalid markup + * [r55509] src/libbu/getopt.c: + revert r54186 that intended to prevent confusion of negative + numbers and number options. the change introduced a bug with + parsing of numeric options that don't have a space after the + option and multi-option strings (e.g., -s128 -8abc). the comment + in the patch also incorrectly stated that options could only be + a-zA-Z0-9 (punctuation is also allowed). need a proper regression + test case that we can compare against expected behavior from + system getopt (if available) like we do for some of the other + libbu unit tests. -2012-06-08 23:08 tbrowder2 +2013-05-19 03:49 brlcad - * [r51039] src/nirt/showshot.1, src/util/bary.1, src/util/hex.1, - src/util/imgdims.1, src/util/pixborder.1, src/util/pixclump.1, - src/util/pixdsplit.1, src/util/pl-X.1, src/util/pl-pl.1, - src/util/pl-ps.1, src/util/pl-tek.1, src/util/terrain.1: - make standard man page headers + * [r55508] NEWS: + keith checked in his NURBS shaded display tessellation support in + r55067. this does not yet include water-tight tessellation, but + it is well-suited for visualization already. -2012-06-08 22:37 n_reed +2013-05-19 03:48 starseeker - * [r51038] src/other/step/include/express/express.h, - src/other/step/src/clstepcore/Registry.inline.cc, - src/other/step/src/clstepcore/STEPattribute.cc: - warning fixes from SCL git 07ed8f6, 0aa9b5d, and 2b0da3f + * [r55507] src/other/CMakeLists.txt, + src/other/libpng/CMakeLists.txt: + Haiku doesn't need or support -lm for the math library - adjust + build logic accordingly. Need to send the patch back to libpng. -2012-06-08 22:31 tbrowder2 +2013-05-19 02:18 starseeker - * [r51037] src/gtools/g_lint.1: - make standard header + * [r55506] src/libtclcad/CMakeLists.txt: + Wrap X11 libs in feature check -2012-06-08 22:29 tbrowder2 +2013-05-19 02:13 starseeker - * [r51036] src/gtools/g_diff.1: - make standard header + * [r55505] src/libdm/CMakeLists.txt: + Wrap all the X11 libraries in the X11 conditional protection. -2012-06-08 22:26 tbrowder2 +2013-05-19 00:10 starseeker - * [r51035] src/conv/vdeck/vdeck.1: - change to standard header form + * [r55504] TODO: + Add TODO item for 32bit issue with off_t on FreeBSD (at least) -2012-06-08 20:54 starseeker +2013-05-18 02:43 brlcad - * [r51034] regress/CMakeLists.txt, regress/red.sh: - Add combination with matrix to red regression testing. + * [r55503] src/proc-db/bottest.c: + static usage func -2012-06-08 19:41 tbrowder2 +2013-05-18 02:41 brlcad - * [r51033] TODO: - add suggestion + * [r55502] src/proc-db/clutter.c, src/proc-db/common.c, + src/proc-db/contours.c, src/proc-db/csgbrep.cpp, + src/proc-db/globe.c, src/proc-db/kurt.c, src/proc-db/lens.c, + src/proc-db/masonry.c, src/proc-db/metaball.c, + src/proc-db/molecule.c, src/proc-db/pipe.c, + src/proc-db/pipetest.c, src/proc-db/pix2g.c, + src/proc-db/pyramid.c, src/proc-db/rawbot.c, + src/proc-db/ringworld.c, src/proc-db/room.c, + src/proc-db/sketch.c, src/proc-db/sphflake.c, + src/proc-db/spltest.c, src/proc-db/surfaceintersect.cpp, + src/proc-db/tea.c, src/proc-db/tea_nmg.c, src/proc-db/torii.c, + src/proc-db/tube.c, src/proc-db/wavy.c, + src/proc-db/wdb_example.c: + ws -2012-06-08 19:35 crdueck +2013-05-18 02:34 brlcad - * [r51032] TODO: - note to add per-face analysis of primitives like tgc, arb to - their analyze commands in libged + * [r55501] src/proc-db/brep_cube.cpp, + src/proc-db/brepintersect.cpp, src/proc-db/breplicator.cpp, + src/proc-db/brickwall.c: + ws/indent, static usage -2012-06-08 19:29 crdueck +2013-05-18 02:25 brlcad - * [r51031] src/libged/analyze.c: - updated analyze_tgc() to use the new callbacks for tgc + * [r55500] src/proc-db/brep_simple.cpp: + ws/indent cleanup, mark usage func static -2012-06-08 19:26 crdueck +2013-05-18 02:16 brlcad - * [r51030] src/librt/primitives/tgc/tgc.c: - factored section of code which determines specific type of tgc. - added rt_tgc_surf_area(), missing cases for REC, TEC due to lack - of an exact formula + * [r55499] src/conv/intaval/glob.h, src/conv/intaval/read_dra.cpp, + src/conv/intaval/write_brl.cpp: + revert/redo r55494 because there was a reason: the logical + grouping of that data. moreover, the commit changed the semantic + of the pt field (which wasn't affiliated with the bot) data. + instead of flattening the structure, address what the clang + warning was probably about -- that (if memory serves) the c++ std + does not actually define anonymous structs (only anonymous + unions). fix is easy, just give it a name. -2012-06-08 19:19 n_reed +2013-05-18 01:37 brlcad - * [r51029] src/other/step/src/exppp/exppp.c, - src/other/step/src/express/expparse.y, - src/other/step/src/express/resolve.c, - src/other/step/src/fedex_plus/classes_misc.c, - src/other/step/src/fedex_plus/selects.c: - warning fixes from SCL git 7712b9b and 03fd892 + * [r55498] TODO: + one of our primary customers needs this asap -2012-06-08 19:19 crdueck +2013-05-18 00:12 brlcad - * [r51028] src/librt/primitives/table.c: - update table entries for tgc, rec to include new callback - functions + * [r55497] src/adrt/isst_tcltk.c, src/adrt/load_g.c, + src/conv/asc/g2asc.c, src/conv/dbupgrade.c, src/conv/dxf/g-dxf.c, + src/conv/euclid/g-euclid.c, src/conv/euclid/g-euclid1.c, + src/conv/g-acad.c, src/conv/g-egg.c, src/conv/g-nff.c, + src/conv/g-obj.c, src/conv/g-var.c, src/conv/g-vrml.c, + src/conv/g-x3d.c, src/conv/g-xxx_facets.c, src/conv/g4-g5.c, + src/conv/g5-g4.c, src/conv/iges/g-iges.c, src/conv/jack/g-jack.c, + src/conv/nmg/g-nmg.c, src/conv/nmg/nmg-bot.c, + src/conv/nmg/nmg-rib.c, src/conv/nmg/nmg-sgp.c, + src/conv/off/g-off.c, src/conv/stl/g-stl.c, + src/conv/tankill/g-tankill.c, src/conv/vdeck/parsarg.c, + src/gtools/beset/beset.c, src/gtools/beset/fitness.c, + src/gtools/beset/population.c, src/gtools/g_diff.c, + src/gtools/g_transfer.c, src/gtools/remapid.c, + src/libged/concat.c, src/libged/dup.c, src/libged/ged.c, + src/libged/keep.c, src/libged/wdb_obj.c, src/librt/db_open.c, + src/librt/dir.c, src/librt/prcomb.c, + src/librt/primitives/submodel/submodel.c, + src/librt/test_bot2nurbs.cpp, src/librt/test_nurbsfit.cpp, + src/librt/test_root3-subd.cpp, src/librt/tests/nurbs_tests.cpp, + src/librt/tests/test_ssi.cpp, src/mged/mged.c, + src/proc-db/brep_cube.cpp, src/proc-db/brep_simple.cpp, + src/proc-db/metaball.c, src/rt/viewedge.c: + utilize the new DB_OPEN_READONLY and DB_OPEN_READWRITE instead of + hard-coded constants, so we can change them down the road if + needed -2012-06-08 19:06 tbrowder2 +2013-05-17 22:25 brlcad - * [r51027] doc/docbook/system/README: - refer to another example for a user command + * [r55496] src/gtools/g_transfer.c: + no longer need to call rt_init_resource() -2012-06-08 17:11 starseeker +2013-05-17 21:49 brlcad - * [r51026] misc/CMake/BRLCAD_Targets.cmake: - Add DLL definitions to the executables using the libs. + * [r55495] include/raytrace.h, src/librt/db_open.c: + document db_open() and introduce two defines so we can get away + from the inconsistent (because it was undocumented) calls + throughout the code. kinda parallels fopen() but not really. -2012-06-08 17:11 anrgmrty +2013-05-17 20:18 starseeker - * [r51025] src/conv/g-voxel.c: - g-voxel.c - outputs file voxels.txt that gives a frame-by-frame - representation of present and absent voxels(1 means present) + * [r55494] src/conv/intaval/glob.h, src/conv/intaval/read_dra.cpp, + src/conv/intaval/write_brl.cpp: + Unless there proves to be a reason not to do it, try flattening + the nested structures in the intaval glob.h header. Avoids a + clang warning about nested anonymous types. -2012-06-08 16:10 starseeker +2013-05-17 20:16 carlmoore - * [r51024] db/CMakeLists.txt: - Oops - be more careful about string substitution when subbing - CMAKE_CFG_INTDIR + * [r55493] src/conv/asc/g2asc.c: + this SEEMS to work if .g file is read-only -2012-06-08 15:57 starseeker +2013-05-17 17:16 starseeker - * [r51023] src/librt/primitives/ell/ell.c: - Initialize variables + * [r55492] src/libged/draw_calc.cpp: + Initialize avg_curve_len (clang noticed it) -2012-06-08 15:53 starseeker +2013-05-17 16:29 bob1961 - * [r51022] src/conv/intaval/glob.h, src/conv/intaval/read_dra.cpp, - src/conv/intaval/read_dra.h, src/conv/intaval/regtab.h, - src/conv/intaval/tgf-g.cpp: - Fix intaval header inclusion order - OSX Xcode compilation - triggered. + * [r55491] include/dm-Null.h, include/dm.h, src/libdm/dm-Null.c, + src/libdm/dm-X.c, src/libdm/dm-ogl.c, src/libdm/dm-plot.c, + src/libdm/dm-ps.c, src/libdm/dm-rtgl.c, src/libdm/dm-tk.c, + src/libdm/dm-wgl.c, src/libtclcad/tclcad_obj.c, + src/mged/attach.c, src/mged/dm-generic.c, src/mged/dm-ogl.c, + src/mged/dm-wgl.c, src/mged/mged.c, src/mged/set.c: + Removed (o|w)glMakeCurrent calls from several ogl/wgl display + manager functions. When calling these functions the application + should have already set the current context. Added dm_makeCurrent + to libdm's API to allow the application to set the current + context when necessary. -2012-06-08 15:36 jimhunt +2013-05-17 12:26 bob1961 - * [r51021] src/librtserver/rtserver.c: - Changed useair from 0 to 1 for MUVES 3 + * [r55490] TODO: + Clear bu_offsetofarray issue. -2012-06-08 14:15 starseeker +2013-05-17 11:57 starseeker - * [r51020] misc/CMake/BRLCAD_Targets.cmake: - Try to improve management of DLL flags on Windows. + * [r55489] src/liboptical/sh_air.c, src/liboptical/sh_billboard.c, + src/liboptical/sh_flat.c, src/liboptical/sh_gauss.c, + src/liboptical/sh_osl.cpp, src/liboptical/sh_rtrans.c, + src/liboptical/sh_tcl.c, src/liboptical/sh_toon.c, + src/liboptical/sh_treetherm.c: + SHDR_AO doesn't seem to be used anywhere - remove it. -2012-06-08 14:14 starseeker +2013-05-17 11:47 starseeker - * [r51019] misc/CMake/BRLCAD_Targets.cmake: - Whoops, committed too many files + * [r55488] src/librt/primitives/ehy/ehy.c, + src/librt/primitives/ell/ell.c, src/librt/primitives/epa/epa.c, + src/librt/primitives/grip/grip.c, src/librt/primitives/hyp/hyp.c, + src/librt/primitives/part/part.c, + src/librt/primitives/revolve/revolve.h, + src/librt/primitives/rhc/rhc.c, src/librt/primitives/rpc/rpc.c, + src/librt/primitives/superell/superell.c, + src/librt/primitives/tgc/tgc.c, src/librt/primitives/tor/tor.c: + Looks like half was the only primitive with a non-zero multiplier + in argument 4 of bu_offsetofarray, which was why no other + behaviorial changes were introduced. Change the offset types to + fastf_t anyway. -2012-06-08 14:13 starseeker +2013-05-17 11:26 starseeker - * [r51018] misc/CMake/BRLCAD_Targets.cmake, - misc/CMake/CompilerFlags.cmake: - Check the debug flags for both C and CXX + * [r55487] src/librt/primitives/eto/eto.c: + In the eto case using point_t and vect_t in bu_offsetofarray + offsets is moot, since all are being multiplied by X (i.e. 0) but + go ahead and change the types - leaving point_t and vect_t might + be confusing, since it gives the impression that those slots need + to have those types assigned. -2012-06-08 14:11 starseeker +2013-05-16 21:24 carlmoore - * [r51017] CMakeLists.txt, sh/CMakeLists.txt: - It's COPYONLY, not COPY_ONLY + * [r55486] src/proc-db/brep_simple.cpp: + usage, -h , -? -2012-06-08 13:22 starseeker +2013-05-16 21:23 starseeker - * [r51016] bench/CMakeLists.txt: - Whoops - fix COPYONLY tag + * [r55485] TODO: + Update TODO item - specific issue fixed, but necessary to review + other primitives to check for incorrect changes. -2012-06-08 09:39 phoenixyjll +2013-05-16 21:22 carlmoore - * [r51015] src/librt/primitives/brep/brep_debug.cpp: - Skip the conversion of half when converting a comb. The implicit - primitive of half remains in the hierarchy. + * [r55484] src/proc-db/brep_cube.cpp: + add extra blank line because brep_simple.cpp has that -2012-06-08 05:28 crdueck +2013-05-16 21:00 starseeker - * [r51014] src/libged/analyze.c: - analyze_tor() now uses the new volume and surface area callbacks - for tor + * [r55483] src/librt/primitives/half/half.c: + Offset is fastf_t here, not plane_t - was causing the final value + of planes to be corrupted in a g2asc - asc2g cycle. Cause was + incorret parameters used during a switch to bu_offsetofarray from + bu_offsetof to quell compiler warnings (r54133). Need to double + check any other offset code with similar changes to make sure no + similar bugs were introduced. Sean identified the specific + problem with the bu_offsetofarray inputs. -2012-06-08 05:14 crdueck +2013-05-16 20:56 n_reed - * [r51013] src/libged/analyze.c, src/librt/primitives/ell/ell.c: - analyze_ell() now uses the new volume and surface area callbacks - for ell. fixed typo in rt_ell_surf_area() + * [r55482] src/conv/step/OpenNurbsInterfaces.cpp: + assume coincident start and end points on elliptical curves means + the curve spans 2pi radians, not 0 radians -2012-06-08 04:51 r_weiss +2013-05-16 20:28 carlmoore - * [r51012] src/libged/red.c: - Update to mged/archer 'red' command to improve reliability on - windows. Added more type casting of arrays. + * [r55481] src/proc-db/brep_cube.cpp: + implement -h , -? , run-with-no-arguments) -2012-06-08 04:39 crdueck +2013-05-16 20:01 n_reed - * [r51011] src/librt/primitives/ell/ell.c: - found math error in current rt_ell_surf_area(), applied sf - 3515075 with some modifications + * [r55480] src/librt/primitives/brep/brep.cpp: + use a smarter algorithm for LOD plotting of brep edge curves -2012-06-08 00:40 brlcad +2013-05-16 19:32 n_reed - * [r51010] include/raytrace.h: - move the bundle shooter up with the others, mark them private + * [r55479] src/libged/Makefile.am: + add draw_calc.cpp to automake sources -2012-06-07 23:55 starseeker +2013-05-16 19:27 n_reed - * [r51009] NEWS: - Added support to the brlman script for viewing html versions of - man pages, either when explicitly requested via the -g (i.e. - graphical) option or (on platforms such as Windows) no man - command is available to view the traditional man page. + * [r55478] src/libged/CMakeLists.txt, src/libged/draw.c, + src/libged/draw_calc.cpp: + Until we have something more generic working, breps need a decent + average curve length estimate for LOD plotting. Can't put C++ in + draw.c, so the calculation routine is getting its own file. -2012-06-07 23:53 starseeker +2013-05-16 19:14 starseeker - * [r51008] NEWS: - Add support to brlman script for specifying section numbers - - e.g. brlman 1 rt will show the man page for the command line rt - tool and brlman n rt will show the man page for MGED's rt - command. + * [r55477] src/proc-db/clutter.c: + fix invocation of usage statement - argc is > 0 just from the + program name itself. -2012-06-07 23:46 starseeker +2013-05-16 17:35 n_reed - * [r51007] bench/CMakeLists.txt, db/CMakeLists.txt, - doc/docbook/CMakeLists.txt, src/mged/CMakeLists.txt, - src/other/iwidgets/doc/CMakeLists.txt, - src/other/tcl/library/CMakeLists.txt, - src/other/tk/CMakeLists.txt, src/other/tktable/CMakeLists.txt: - Improve handling of file output locations in multi-configuration - situations. + * [r55476] src/libged/draw.c: + pull switch of per-primitive point spacing calculations into a + function -2012-06-07 22:59 starseeker +2013-05-16 17:29 carlmoore - * [r51006] src/brlman/brlman.bat: - Fix brlman script on Windows - works now. + * [r55475] src/proc-db/bottest.c: + -h,-?, and 'Program continues running ...' (no arguments) -2012-06-07 22:14 crdueck +2013-05-16 17:01 starseeker - * [r51005] src/librt/primitives/tor/tor.c: - fix rt_surf_area name + * [r55474] src/libged/Makefile.am: + Add facedef.c to Makefile.am -2012-06-07 22:02 n_reed +2013-05-16 14:45 bob1961 - * [r51004] src/other/step/src/exppp/exppp.c, - src/other/step/src/express/error.c, - src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/selects.c: - warning fixes from SCL git 166425a and dcdd77a + * [r55473] src/libged/CMakeLists.txt, src/libged/edarb.c, + src/libged/facedef.c, src/libged/ged_private.h, + src/libtclcad/tclcad_obj.c: + Added facedef to the list of supported edarb subcommands. -2012-06-07 21:52 starseeker +2013-05-16 09:07 d_rossberg - * [r51003] CMakeLists.txt: - Remove debugging message + * [r55472] misc/win32-msvc/Dll/CMakeLists.txt: + added the new dependencies -2012-06-07 21:51 crdueck +2013-05-16 03:52 brlcad - * [r51002] src/librt/primitives/table.c: - updated rt_functab entries for tor, tgc, ell, and sph to include - new functions + * [r55471] TODO: + clutter needs review -2012-06-07 21:47 n_reed +2013-05-15 22:07 carlmoore - * [r51001] src/other/step/include/express/hash.h, - src/other/step/src/clutils/scl_hash.cc, - src/other/step/src/express/fedex.c, - src/other/step/src/express/hash.c, - src/other/step/src/fedex_plus/fedex_main.c: - warning fixes from SCL git 2179c8a and ca4940e + * [r55470] src/conv/dxf/bot-bldxf.c: + -h ,-? -2012-06-07 21:43 crdueck +2013-05-15 21:38 starseeker - * [r51000] src/librt/primitives/ell/ell.c: - made changes to rt_ell_sfa to comply with the new rt_functab - interface, some unrelated ws changes + * [r55469] src/brlman/CMakeLists.txt: + Don't overwrite brlman.bat in src directory. -2012-06-07 21:36 crdueck +2013-05-15 21:36 starseeker - * [r50999] src/librt/primitives/table.c: - updated RT_DECLARE_INTERFACE() to include new primitive callback - functions for vol, surface area and centroid + * [r55468] src/libged/Makefile.am: + add new libged files. -2012-06-07 21:33 crdueck +2013-05-15 21:35 carlmoore - * [r50998] src/librt/primitives/tgc/tgc.c: - added general centroid function for tgc. missing case for tec, - need to confirm formula + * [r55467] src/conv/bot_shell-vtk.c: + implement -?, -h ; also remove a new line in Usage -2012-06-07 21:25 n_reed +2013-05-15 21:28 carlmoore - * [r50997] src/other/step/src/clstepcore/Registry.inline.cc, - src/other/step/src/clutils/scl_hash.cc, - src/other/step/src/clutils/scl_hash.h, - src/other/step/src/express/hash.c: - Prefix scl_hash routines with SCL_. SCL git 4740f4d and 737c53e. + * [r55466] src/conv/asc/asc2dsp.c: + fix a warning about not enough arguments -2012-06-07 21:22 n_reed +2013-05-15 21:26 carlmoore - * [r50996] src/other/step/data/CMakeLists.txt, - src/other/step/src/fedex_plus/classes_wrapper.cc: - Have fedex_plus generate dll import/export symbols. SCL git - 80208dc. + * [r55465] src/conv/bot_dump.c: + -h,-? -2012-06-07 19:52 n_reed +2013-05-15 21:13 carlmoore - * [r50995] src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/clstepcore/read_func.cc, - src/other/step/src/clstepcore/sdaiApplication_instance.cc, - src/other/step/src/clstepcore/sdaiApplication_instance.h: - support comments in entities; SCL git 4ddce86 + * [r55464] src/util/bombardier.c: + implement -h, -? -2012-06-07 19:38 starseeker +2013-05-15 21:01 brlcad - * [r50994] CMakeLists.txt: - Make CMAKE_BUILD_TYPE case insensitive for Release and Debug + * [r55463] src/shapes/bolt.c: + indent is still not right, update -2012-06-07 19:17 n_reed +2013-05-15 20:58 carlmoore - * [r50993] src/other/step/src/fedex_plus/classes_misc.c: - fix buffer overrun based on SCL git 5e9dfd7 + * [r55462] src/shapes/bolt.c: + enforce use of -, and also close up space before poundsigns in + Usage -2012-06-07 18:29 n_reed +2013-05-15 20:56 brlcad - * [r50992] src/other/step/include/express/error.h, - src/other/step/src/cleditor/CMakeLists.txt, - src/other/step/src/cleditor/STEPfile.h, - src/other/step/src/cleditor/SdaiHeaderSchema.h, - src/other/step/src/cleditor/SdaiHeaderSchemaClasses.h, - src/other/step/src/cleditor/SdaiSchemaInit.h, - src/other/step/src/cleditor/cmdmgr.h, - src/other/step/src/cleditor/dispnode.h, - src/other/step/src/cleditor/dispnodelist.h, - src/other/step/src/cleditor/instmgr.h, - src/other/step/src/cleditor/mgrnode.h, - src/other/step/src/cleditor/mgrnodearray.h, - src/other/step/src/cleditor/mgrnodelist.h, - src/other/step/src/cleditor/needFunc.h, - src/other/step/src/cleditor/seeinfodefault.h, - src/other/step/src/clstepcore/Registry.h: - add dll export symbols to cleditor; SCL git 2e01a01, c771b27, and - 0869e41. + * [r55461] src/librt/primitives/brep/brep.cpp: + all constants should be documented, not just a value that + happened to work... what's the reasoning? -2012-06-07 17:54 n_reed +2013-05-15 20:51 brlcad - * [r50991] src/other/step/src/clstepcore/CMakeLists.txt, - src/other/step/src/clstepcore/ExpDict.h, - src/other/step/src/clstepcore/Registry.h, - src/other/step/src/clstepcore/STEPaggregate.h, - src/other/step/src/clstepcore/STEPattribute.h, - src/other/step/src/clstepcore/STEPattributeList.h, - src/other/step/src/clstepcore/STEPcomplex.h, - src/other/step/src/clstepcore/STEPundefined.h, - src/other/step/src/clstepcore/SingleLinkList.h, - src/other/step/src/clstepcore/complexSupport.h, - src/other/step/src/clstepcore/read_func.h, - src/other/step/src/clstepcore/sdai.h, - src/other/step/src/clstepcore/sdaiApplication_instance.h, - src/other/step/src/clstepcore/sdaiSelect.h: - add dll export symbols to clstepcore; SCL git 0705c50 - -2012-06-07 17:16 r_weiss - - * [r50990] src/librt/primitives/nmg/nmg_fuse.c: - Update to file 'nmg_fuse.c' function 'v_ptr_comp' which is used - by qsort within function 'nmg_model_edge_fuse'. This change was - to correct a potential bug. - -2012-06-07 17:01 n_reed - - * [r50989] src/other/step/src/cldai/CMakeLists.txt, - src/other/step/src/cldai/sdaiApplication_instance_set.h, - src/other/step/src/cldai/sdaiDaObject.h, - src/other/step/src/cldai/sdaiEntity_extent.h, - src/other/step/src/cldai/sdaiEntity_extent_set.h, - src/other/step/src/cldai/sdaiEnum.h, - src/other/step/src/cldai/sdaiModel_contents.h, - src/other/step/src/cldai/sdaiModel_contents_list.h, - src/other/step/src/cldai/sdaiObject.h, - src/other/step/src/cldai/sdaiSession_instance.h, - src/other/step/src/cldai/sdaiString.h: - add dll export symbols to cldai; SCL git c409145 + * [r55460] TODO: + need null spatial partitioning method -2012-06-07 16:22 starseeker +2013-05-15 20:47 starseeker - * [r50988] CMakeLists.txt: - Try suppressing regeneration with Visual Studio. Thanks to the - 2010 IDE prompting manually to reload every target after a CMake - run, it's just not viable to re-run CMake from within Visual - Studio. + * [r55459] src/tclscripts/mged/Makefile.am: + remove references to moved files. -2012-06-07 16:13 n_reed +2013-05-15 20:45 brlcad - * [r50987] src/other/step/src/clutils/CMakeLists.txt, - src/other/step/src/clutils/Str.h, - src/other/step/src/clutils/dirobj.h, - src/other/step/src/clutils/errordesc.h, - src/other/step/src/clutils/gennode.h, - src/other/step/src/clutils/gennodearray.h, - src/other/step/src/clutils/gennodelist.h, - src/other/step/src/clutils/scl_hash.h: - add dll export symbols to clutils; SCL git 457d51e + * [r55458] src/util/ap-pix.c, src/util/asc-pl.c, src/util/azel.c, + src/util/bary.c, src/util/bw-imp.c, src/util/bw-pix.c, + src/util/bw-png.c, src/util/bw-ps.c, src/util/bwdiff.c, + src/util/bwfilter.c, src/util/bwmod.c, src/util/bwscale.c, + src/util/bwshrink.c, src/util/decimate.c, src/util/double-asc.c, + src/util/dpix-pix.c, src/util/dunncomm.c, src/util/dunnsnap.c, + src/util/imgdims.c, src/util/loop.c, src/util/lowp.c, + src/util/mac-pix.c, src/util/orle-pix.c, src/util/pix-bw.c, + src/util/pix-png.c, src/util/pix-ps.c, src/util/pix-sun.c, + src/util/pix-yuv.c, src/util/pix3filter.c, src/util/pixbgstrip.c, + src/util/pixblend.c, src/util/pixborder.c, src/util/pixbustup.c, + src/util/pixcolors.c, src/util/pixcut.c, src/util/pixdsplit.c, + src/util/pixembed.c, src/util/pixfade.c, src/util/pixfields.c, + src/util/pixfilter.c, src/util/pixhalve.c, src/util/pixhist3d.c, + src/util/pixmerge.c, src/util/pixmorph.c, src/util/pixpaste.c, + src/util/pixshrink.c, src/util/pixtile.c, src/util/pixuntile.c, + src/util/pl-X.c, src/util/pl-ps.c, src/util/png-bw.c, + src/util/png-pix.c, src/util/rle-pix.c, src/util/sun-pix.c, + src/util/texturescale.c, src/util/ttcp.c, src/util/yuv-pix.c: + ws indent cleanup -2012-06-07 15:45 n_reed +2013-05-15 20:44 carlmoore - * [r50986] src/other/step/include/xgetopt.h, - src/other/step/src/fedex_plus/xgetopt.cc: - actually add getopt sources + * [r55457] src/shapes/bolt.c: + make some more if-else stuff -2012-06-07 15:40 n_reed +2013-05-15 20:37 starseeker - * [r50985] src/other/step/include/express/basic.h, - src/other/step/include/express/dict.h, - src/other/step/src/exppp/exppp.c, - src/other/step/src/express/fedex.c, - src/other/step/src/fedex_plus/CMakeLists.txt: - Add public domain getopt implementation. SCL git c3f9ff5, - dc302ea, and 2d26da7. + * [r55456] src/tclscripts/lib/Makefile.am: + whoops, one backslash too many -2012-06-07 14:21 bob1961 +2013-05-15 20:34 starseeker - * [r50984] include/raytrace.h, src/librt/mkbundle.c, - src/rt/rtshot.c: - Move export statements for rt_shootray_bundle() and - rt_raybundle_maker() to raytrace.h. This fixes a breakage on - Windows. + * [r55455] src/tclscripts/lib/Makefile.am: + add missing files -2012-06-07 14:19 tbrowder2 +2013-05-15 20:25 carlmoore - * [r50983] src/conv/asc/pix2asc.c: - use printf for consistency + * [r55454] src/shapes/bolt.c: + -h , -? , Usage ; also set up a if-else if chain -2012-06-07 14:18 tbrowder2 +2013-05-15 20:14 starseeker - * [r50982] src/conv/asc/pix2asc.c: - expand comments a tad + * [r55453] regress/solidspix.asc: + r55337 introduced a change in the solids regression image that + appears to fix a bug - update the reference image -2012-06-07 13:52 starseeker +2013-05-15 20:02 brlcad - * [r50981] src/tclscripts/man_browser.tcl: - fix indentation + * [r55452] src/util/double-asc.c: + remove the -r 'high-resolution' option to the double-asc tool ... + precursor to eliminating that option from all utilities + (deferring announcement to hit them all at once even if + considered minimally impacting due to -s option) -2012-06-07 13:48 starseeker +2013-05-15 19:59 brlcad - * [r50980] src/brlman/brlman.tcl, src/tclscripts/man_browser.tcl: - With a little help from Bob, the brlman graphical viewer now - shows just the man page in question. Also report the section - number in the Window title. + * [r55451] src/anim/anim_keyread.c: + bio.h should be in double-quotes, it's ours -2012-06-07 12:34 brlcad +2013-05-15 19:55 brlcad - * [r50979] NEWS: - tom added a manpage for asc2pix converter + * [r55450] src/anim/anim_cascade.c, src/anim/anim_fly.c, + src/anim/anim_hardtrack.c, src/anim/anim_keyread.c, + src/anim/anim_lookat.c, src/anim/anim_offset.c, + src/anim/anim_script.c, src/anim/anim_sort.c, + src/anim/anim_time.c, src/anim/anim_track.c, + src/anim/anim_turn.c: + more ws -2012-06-07 11:38 tbrowder2 +2013-05-15 19:51 brlcad - * [r50978] src/conv/CMakeLists.txt, src/conv/Makefile.am, - src/conv/asc/asc2pix.1: - add asc2pix man page for completeness + * [r55449] src/anim/anim_cascade.c, src/anim/anim_fly.c, + src/anim/anim_hardtrack.c, src/anim/anim_keyread.c, + src/anim/anim_lookat.c, src/anim/anim_offset.c, + src/anim/anim_orient.c, src/anim/anim_script.c, + src/anim/anim_sort.c, src/anim/anim_time.c: + proper style and make static -2012-06-07 11:34 tbrowder2 +2013-05-15 19:45 brlcad - * [r50977] src/conv/asc/pix2asc.1: - add another reference + * [r55448] src/anim/anim_cascade.c, src/anim/anim_fly.c, + src/anim/anim_hardtrack.c, src/anim/anim_keyread.c, + src/anim/anim_lookat.c, src/anim/anim_offset.c, + src/anim/anim_orient.c, src/anim/anim_script.c, + src/anim/anim_sort.c, src/anim/anim_time.c, + src/anim/chan_permute.c: + ws -2012-06-07 05:37 brlcad +2013-05-15 19:44 brlcad - * [r50976] src/conv/obj-g.c: - constness doesn't affect sizeof(), so reduce + * [r55447] src/anim/anim_track.c: + ws cleanup -2012-06-07 05:32 brlcad +2013-05-15 19:39 brlcad - * [r50975] src/librt/primitives/nmg/nmg_extrude.c: - convert to EQUAL() where we were faking it with a subtraction in - ZERO() + * [r55446] src/anim/anim_track.c: + avoid defines and globals, just propagate argv[0] as needed. -2012-06-07 05:30 brlcad +2013-05-15 19:22 brlcad - * [r50974] src/librt/primitives/nmg/nmg_mk.c: - pointer address is defined to fit in a uintptr_t, use it instead - of size_t + * [r55445] TODO: + upcoming ntoh* work for windows 8 -2012-06-07 05:21 brlcad +2013-05-15 19:16 brlcad - * [r50973] src/conv/iges/g-iges.c: - reduce lines, convert to bu_file_directory() instead of directly - calling stat() + * [r55444] src/anim/anim_track.c: + call bu_log() instead of fprintf() -2012-06-07 03:26 brlcad +2013-05-15 19:12 brlcad - * [r50972] BUGS: - several hours debugging rt, but still can't find the cause of the - crash. document what I've been able to figure out so far (i.e., - not much). summary seems to be a crash using the noise shader - (turb) due to corruption in libbn noise bookkeeping or parallel - memory management while rendering our sample terra.g model. + * [r55443] src/anim/anim_track.c: + fix indentation and expand out the usage. make the one-liner + usage use proper convention to indicate optional vs required -2012-06-07 02:52 brlcad +2013-05-15 19:06 starseeker - * [r50971] src/libbn/noise.c: - convert from ZERO() to EQUAL() + * [r55442] src/other/libregex.dist: + Update libregex.dist -2012-06-07 02:35 brlcad +2013-05-15 18:44 brlcad - * [r50970] src/libbn/noise.c: - start with a bigger table size, use powers of two for better - memory alignment + * [r55441] src/anim/anim_turn.c: + static scope -2012-06-07 02:34 brlcad +2013-05-15 18:42 brlcad - * [r50969] src/conv/asc/pix2asc.c: - don't need stdio.h with bio.h + * [r55440] NEWS: + keith also fixed/improved nurbs ray tracing of objects (e.g., + EHY) defined with substantial rapid uv-domain changes. the + surface tree presently only carves up the surface based on 3d + flatness criteria, but the EHY provided a case where the surface + is substantially flat but has huge non-linear uv domain + curvature. the fix for now was to be a little more careful about + walking and trying a little harder to find the surface point + before giving up. this makes the walk slightly slower but more + robust too. long term may be to make the surface tree also (or + only) consider the uv-domain curvature. -2012-06-07 01:17 phoenixyjll +2013-05-15 18:17 phoenixyjll - * [r50968] src/librt/primitives/pipe/pipe_brep.cpp: - Duplicate the curves to avoid destruction failure. + * [r55439] include/brep.h, src/libbrep/intersect.cpp, + src/libbrep/ssx_event.cpp, src/librt/primitives/brep/brep.cpp, + src/librt/primitives/brep/brep_debug.cpp, + src/librt/tests/test_ssi.cpp, + src/other/openNURBS/opennurbs_basic.cpp, + src/other/openNURBS/opennurbs_x.cpp: + To solve the linking problem of ON_SSX_EVENT in Windows, and to + be consistent with the newest version of openNURBS (20121024), we + move the ON_SSX_EVENT implementation back to openNURBS from + libbrep, and ON_Surface::IntersectSurface(), and use non-member + functions declared in brep.h DumpSSXEvent() and an overload of + ON_Intersect() to replace ON_SSX_EVENT::Dump() and + ON_Surface::IntersectSurface(). -2012-06-06 23:03 starseeker +2013-05-15 18:15 brlcad - * [r50967] src/brlman/brlman.tcl: - Base brlman's behavior (Tk graphical or man command) on what's - actually available on the system. + * [r55438] NEWS: + keith traced down (pun intended) a problem with the 'nudge' of + librt's spatial partitioning walk where it would nudge the ray + 0.01mm into a cell with the intent to avoid floating point issues + (presumably). this was causing very subtle edge-grazing effects + where we'd miss geometry that should have resulted in a sliver of + a hit. problem encountered with axis-aligned arb8's and 35/25 + rays shooting down an edge and missing, detected during + comparisons with NURBS brep conversions of that same geometry + that was reporting a hit. their BBox is bigger, so the nudge was + (presumably) still inside. -2012-06-06 22:37 anrgmrty +2013-05-15 18:03 brlcad - * [r50966] src/conv/g-voxel.c: - multiple rays per voxel allowed and some bugs fixed + * [r55437] src/util/ap-pix.c: + should not be introducing any new globals, in fact all of these + globals are unnecessary. pass through accordingly. -2012-06-06 22:29 n_reed +2013-05-15 18:00 brlcad - * [r50965] src/other/step/include/exppp/exppp.h: - more symbols for MSVC dll import/export; SCL git f853b99 + * [r55436] src/util/asc-pl.c: + just one statement needed -2012-06-06 21:58 tbrowder2 +2013-05-15 17:58 brlcad - * [r50964] src/conv/asc/pix2asc.c: - localize var pix + * [r55435] src/conv/asc/asc2g.c: + pointless bu_exit() -2012-06-06 21:57 tbrowder2 +2013-05-15 17:56 brlcad - * [r50963] src/conv/asc/pix2asc.c: - delete unused var + * [r55434] src/util/bary.c: + put bio.h after the other system headers for consistency -2012-06-06 21:57 tbrowder2 +2013-05-15 17:55 phoenixyjll - * [r50962] src/conv/asc/pix2asc.c: - delete unused var + * [r55433] src/libbrep/intersect.cpp: + Use max_dis_2dA and max_dis_2dB for merging polylines. -2012-06-06 21:56 tbrowder2 +2013-05-15 17:38 bob1961 - * [r50961] src/conv/asc/pix2asc.c: - localize i + * [r55432] include/ged.h, src/libged/CMakeLists.txt, + src/libged/edarb.c, src/libtclcad/tclcad_obj.c, + src/tclscripts/archer/ArcherCore.tcl, src/tclscripts/lib/Ged.tcl: + Added ged_edarb to libged. Exposed to Archer as edarb. Edarb + currently has four subcommands: edgedir, extrude, mirface and + permute. -2012-06-06 21:55 tbrowder2 +2013-05-15 13:30 carlmoore - * [r50960] src/conv/asc/pix2asc.c: - delete unused var + * [r55429] src/conv/asc/asc2dsp.c: + fix warning about type -2012-06-06 21:55 tbrowder2 +2013-05-14 21:49 starseeker - * [r50959] src/conv/asc/pix2asc.c: - use simpler print statement + * [r55428] CMakeLists.txt, include/bu.h, + include/config_win_cmake.h.in, src/conv/conv-vg2g.c, + src/conv/iges/iges.c, src/conv/stl/g-stl.c, src/fb/bw-fb.c, + src/fb/pix-fb.c, src/fb/pp-fb.c, src/libanalyze/tests/density.c, + src/libbu/file.c, src/libbu/mappedfile.c, src/libfb/asize.c, + src/libfb/fb_generic.c, src/libfb/if_X24.c, src/libfb/if_disk.c, + src/libged/bot_dump.c, src/libged/gqa.c, src/libged/tables.c, + src/librt/binunif/binunif.c, src/mged/bodyio.c, src/mged/edsol.c, + src/remrt/remrt.c, src/rt/do.c, src/rt/view_bot_faces.c, + src/tab/tabsub.c, src/util/buffer.c, src/util/dpix-pix.c, + src/util/dsp_add.c, src/util/imgdims.c, src/util/pix-png.c, + src/util/pixbustup.c, src/util/pixmorph.c: + Try using macro re-definitions for all the 64 bit functions + except ftell and fseek. For those two, add function test and + tweak wrapper definitions. -2012-06-06 21:54 tbrowder2 +2013-05-14 21:36 carlmoore - * [r50958] src/conv/asc/pix2asc.c: - make the 'test' valid + * [r55427] src/util/bary.c: + implement -h and run-with-no-arguments; -? was already present -2012-06-06 21:54 tbrowder2 +2013-05-14 19:47 carlmoore - * [r50957] src/conv/asc/pix2asc.c: - make the 'test' valid + * [r55426] src/util/azel.c: + already had -?, but implemented -h, along with + run-with-no-arguments help (program continues running) -2012-06-06 21:53 tbrowder2 +2013-05-14 18:22 carlmoore - * [r50956] src/conv/asc/pix2asc.c: - remove unnecessary multiple tests; fail on the first; test is - just for Coverity + * [r55425] src/conv/asc/asc2g.c: + implment -h,-? ; also fix compiler warnings -2012-06-06 21:44 n_reed +2013-05-14 18:11 carlmoore - * [r50955] src/other/step/include/express/alg.h, - src/other/step/include/express/basic.h, - src/other/step/include/express/caseitem.h, - src/other/step/include/express/dict.h, - src/other/step/include/express/entity.h, - src/other/step/include/express/error.h, - src/other/step/include/express/expr.h, - src/other/step/include/express/express.h, - src/other/step/include/express/hash.h, - src/other/step/include/express/lexact.h, - src/other/step/include/express/linklist.h, - src/other/step/include/express/memory.h, - src/other/step/include/express/object.h, - src/other/step/include/express/resolve.h, - src/other/step/include/express/schema.h, - src/other/step/include/express/scope.h, - src/other/step/include/express/stmt.h, - src/other/step/include/express/symbol.h, - src/other/step/include/express/type.h, - src/other/step/include/express/variable.h, - src/other/step/include/scl_export.h: - start adding symbols for MSVC dll import/export; SCL git ba12196 + * [r55424] src/util/asc-pl.c: + implement -h, -? -2012-06-06 21:17 starseeker +2013-05-14 17:50 carlmoore - * [r50954] src/brlman/brlman.tcl, src/tclscripts/man_browser.tcl: - Add option to launch html man page viewer in brlman. Needs a - little more work to properly customize the gui for this - application. + * [r55423] src/conv/nmg/asc-nmg.c: + implement h,? -2012-06-06 20:39 brlcad +2013-05-14 17:26 carlmoore - * [r50953] src/libbn/noise.c: - ws comment cleanup + * [r55422] src/util/ap-pix.c: + implement h,? -2012-06-06 20:32 brlcad +2013-05-14 17:23 brlcad - * [r50952] src/libbn/noise.c: - debugging some odd corruption, index into etbl directly instead - of incrementing with the loop + * [r55421] sh/cmp.sh: + comment out the bot/tie testing too -2012-06-06 19:45 starseeker +2013-05-14 17:20 brlcad - * [r50951] src/brlman/brlman.tcl: - whoops - helps to add the tcl file + * [r55420] sh/cmp.sh: + even more coarse for testing, 256x256 -2012-06-06 19:43 tbrowder2 +2013-05-14 17:13 indianlarry - * [r50950] src/conv/asc/pix2asc.c: - add some ws, tidy for ease of reading + * [r55419] src/librt/primitives/brep/brep.cpp: + Adding bail-out when the step would walk outside the current SBV + broke other surface walks, now closer to original stepping with a + half-step backward when overstep based on UV points(after + pushback into current SBV). If doesn't find a closer root goes to + next iteration like before. -2012-06-06 19:43 brlcad +2013-05-14 16:55 carlmoore - * [r50949] HACKING: - there are too many exceptions to the rule that have never been an - issue (such as var[i+2] or for (i=1; ..), remove the space around - operators rule. the intent was and still is to avoid complex math - expressions that are error-prone to interpret without whitespace - around some of the operators that logically group together. don't - need to spend time reformatting, up to the author/editor's - discretion as long as the file is self-consistent. + * [r55418] src/anim/anim_turn.c: + h, ?, Usage -2012-06-06 19:38 tbrowder2 +2013-05-14 16:48 carlmoore - * [r50948] src/conv/asc/pix2asc.c: - ease legibility & maintenance with an intermediate var + * [r55417] src/anim/anim_track.c: + list the options for anim_track so I can move on to another file -2012-06-06 19:33 tbrowder2 +2013-05-14 15:17 bob1961 - * [r50947] src/conv/asc/asc2pix.c: - more ws, style + * [r55416] src/libged/adjust.c: + No need to call GED_CHECK_DATABASE_OPEN twice. -2012-06-06 19:30 tbrowder2 +2013-05-14 15:15 bob1961 - * [r50946] src/conv/asc/asc2pix.c: - more ws + * [r55415] src/libged/put.c: + Already checking if dbip is NULL in the call to + GED_CHECK_DATABASE_OPEN. -2012-06-06 19:28 tbrowder2 +2013-05-14 14:34 starseeker - * [r50945] src/conv/asc/asc2pix.c: - more ws, style + * [r55414] include/bu.h: + Need to restore the undef of INFINITY as well for the value + reversion to succeed. -2012-06-06 19:26 tbrowder2 +2013-05-14 12:32 bob1961 - * [r50944] src/conv/asc/asc2pix.c: - ws, style + * [r55413] src/tclscripts/mged/mged.tcl: + This fixes the problem encountered when a user calls dbclose (why + is dbclose exposed to the user?) and then tries to open a + database. -2012-06-06 19:25 tbrowder2 +2013-05-14 04:35 brlcad - * [r50943] src/conv/asc/asc2pix.c: - uppercase labels + * [r55412] include/bu.h, src/libbu/bitv.c: + promote bitv to using size_t instead of unsigned int, quells + warnings on windows -2012-06-06 19:23 tbrowder2 +2013-05-14 02:45 brlcad - * [r50942] src/conv/asc/asc2pix.c: - add some comments and white space; adjust other ws for style + * [r55411] include/bu.h, src/libbu/bitv.c: + make bu_bitv_shift() return a size_t instead of an unsigned int + in order to avoid a type downcast warning on windows -2012-06-06 19:21 brlcad +2013-05-14 02:21 brlcad - * [r50941] src/libbn/noise.c: - initialize the pointer to NULL in case we end up returning it - without setting it. + * [r55410] src/libbu/affinity.c: + try an unsigned long (might need i64 instead) literal to quell + compilation warning on win8 msvc -2012-06-06 19:21 n_reed +2013-05-14 02:04 starseeker - * [r50940] src/other/step/include/express/basic.h, - src/other/step/include/express/linklist.h, - src/other/step/src/clutils/dirobj.cc: - MSVC fixes from SCL git 6226717 and 879f509 - -2012-06-06 19:14 tbrowder2 - - * [r50939] src/conv/asc/asc2pix.c: - remove unused var - -2012-06-06 18:07 starseeker - - * [r50938] configure.ac, src/Makefile.am, - src/brlman/CMakeLists.txt, src/brlman/Makefile.am, - src/brlman/brlman.1, src/brlman/brlman.bat, - src/brlman/brlman.sh.in: - Checkpoint rework of brlman - no graphical component yet, but a - good start on the command line side. Thanks to Nick for the - minimal workaround for Tcl not being able to launch man - interactively. - -2012-06-06 17:13 tbrowder2 - - * [r50937] doc/docbook/articles/en/TEMPLATE.xml, - doc/docbook/system/mann/en/edit.xml: - correct grammar: it's => its (possessive form of 'it') - -2012-06-06 16:57 tbrowder2 - - * [r50936] TODO: - add suggested TODO - -2012-06-06 16:49 tbrowder2 - - * [r50935] src/util/png-pix.1: - correct name of program - -2012-06-06 16:40 tbrowder2 - - * [r50934] src/anim/anim_track.1, src/fb/fbpoint.1, - src/fb/fbscanplot.1, src/other/URToolkit/man/rleClock.1, - src/remrt/remrt.1, src/tab/tabinterp.1, src/util/bwmod.1, - src/util/pix-bw.1, src/util/pixinterp2x.1, src/util/png-bw.1: - correct grammar: it's => its (possessive form of 'it') - -2012-06-06 15:27 d_rossberg - - * [r50933] src/conv/intaval/regtab.cpp, src/conv/intaval/regtab.h: - the clang warning was about the 'char* = ""' as parameter, the - correct declaration is 'const char* = ""' - changed the declaration and implementation accordingly - -2012-06-06 14:08 starseeker - - * [r50932] TODO, src/Makefile.am, src/libanalyze/CMakeLists.txt, - src/libanalyze/Makefile.am, src/libbn/CMakeLists.txt, - src/libbn/Makefile.am, src/libbu/CMakeLists.txt, - src/libbu/Makefile.am, src/libcursor/CMakeLists.txt, - src/libcursor/Makefile.am, src/libdm/CMakeLists.txt, - src/libdm/Makefile.am, src/libfb/CMakeLists.txt, - src/libfb/Makefile.am, src/libfft/CMakeLists.txt, - src/libfft/Makefile.am, src/libgcv/CMakeLists.txt, - src/libgcv/Makefile.am, src/libged/CMakeLists.txt, - src/libged/Makefile.am, src/libicv/CMakeLists.txt, - src/libicv/Makefile.am, src/libmultispectral/CMakeLists.txt, - src/libmultispectral/Makefile.am, src/liboptical/CMakeLists.txt, - src/liboptical/Makefile.am, src/liborle/CMakeLists.txt, - src/liborle/Makefile.am, src/libpc/CMakeLists.txt, - src/libpc/Makefile.am, src/libpkg/CMakeLists.txt, - src/libpkg/Makefile.am, src/librt/CMakeLists.txt, - src/librt/Makefile.am, src/librtserver/Makefile.am, - src/libsysv/CMakeLists.txt, src/libsysv/Makefile.am, - src/libtclcad/CMakeLists.txt, src/libtclcad/Makefile.am, - src/libtermio/CMakeLists.txt, src/libtermio/Makefile.am, - src/libwdb/CMakeLists.txt, src/libwdb/Makefile.am, - src/vfont/CMakeLists.txt: - Bump version number on BRL-CAD libraries from 19 to 20 - -2012-06-06 13:35 brlcad - - * [r50931] src/librt/primitives/nmg/nmg_misc.c: - cleanup calling INIT_ZERO scope initializers instead of manually - initializing, for readability and a smidgen performance boost. - also add the slew of missing semicolons on vmath routines that - were pooching formatting. finally, remove the excessive logging - hyperbole!!!!! - -2012-06-06 13:08 brlcad - - * [r50930] NEWS: - richard changed some tolerances that were preventing some pipe - bends from tesselating. he changed some compares from 0.0 to - SMALL_FASTF affecting 90 degree bends (untested) and pipes with - inner/outer diameters. he also relaxed near-zero comparison of - the normal (which affects linear segments). - -2012-06-06 13:01 brlcad - - * [r50929] NEWS: - bob added a new select command to archer for picking objects via - the gui (using rects), richard then enabled the command for mged - by adding it to the command table - -2012-06-06 12:52 brlcad - - * [r50928] TODO: - make sure facetize/ev work on windows - -2012-06-06 12:50 brlcad - - * [r50927] src/librt/primitives/nmg/nmg_fuse.c: - er, they're floating point -- use EQUAL for comparison - -2012-06-06 12:48 brlcad - - * [r50926] src/librt/primitives/nmg/nmg_fuse.c: - it's a sort callback, so it should be reporting when values are - equal too with a zero-return. undoubtedly related to the bogus - sorting reported in r49898. - -2012-06-06 12:35 phoenixyjll - - * [r50925] src/librt/primitives/pipe/pipe_brep.cpp: - startedge might points to the wrong place if adding endegde - expands the capacity of the edge array, so we need to fix the - pointer. - -2012-06-06 12:34 brlcad - - * [r50924] NEWS: - keith added initial support for importing assembly hierarchies to - step-g in r49049 - -2012-06-06 12:17 brlcad - - * [r50923] src/librt/bundle.c: - reorder to avoid forward declarations, move comment - -2012-06-06 12:16 brlcad - - * [r50922] src/librt/librt_private.h: - declare rt_advance_to_next_cell and rt_plot_cell in the private - header since shoot and bundle call it, pointing out that they - shouldn't have the rt prefix - -2012-06-06 12:13 brlcad - - * [r50921] TODO: - mged is the last remaining caller to wdb_init_obj/wdb_create_cmd - needing to be converted (though it should probably convert to - libged, not libtclcad) - -2012-06-06 12:12 brlcad - - * [r50920] src/gtools/g_diff.c: - add fixme to remove wdb_get_tcl - -2012-06-06 12:10 brlcad - - * [r50919] src/gtools/Makefile.am: - g_diff doesn't use libged, ged comes before rt - -2012-06-06 12:09 brlcad - - * [r50918] src/gtools/CMakeLists.txt: - g_diff doesn't use libged - -2012-06-06 12:09 brlcad - - * [r50917] src/gtools/g_diff.c: - convert g_diff over from wdb_init_obj/wdb_create_cmd to libtclcad - using to_open_tcl. this removes one of the last remaining - vestiges on wdb_obj (there's still a wdb_get_tcl call that needs - to be removed). convert interp global to upper while we're at it - since we added an interp param. - -2012-06-06 11:00 erikgreenwald - - * [r50916] src/librt/primitives/bot/bot.c: - un-comment the 4/5 cases and add in the missing break. Related to - Cov354/490354 - -2012-06-06 01:26 starseeker - - * [r50915] doc/docbook/system/man1/en/rtwizard.xml: - Get the rtwizard man page closer to complete - still need - examples and review. - -2012-06-06 00:36 crdueck - - * [r50913] src/librt/primitives/tgc/tgc.c: - added missing break statement - -2012-06-05 23:12 crdueck - - * [r50912] src/librt/primitives/tgc/tgc.c: - added general volume function for tgc - -2012-06-05 22:43 brlcad - - * [r50911] src/proc-db/CMakeLists.txt, src/proc-db/csgbrep.cpp: - don't punt. less effort to actually fix the problem, especially - when there was already a commit showing exactly how to fix a - narrowing conversion warning. in this case, even simpler since - the cast was wrong. - -2012-06-05 22:29 n_reed - - * [r50910] src/other/step/src/fedex_plus/classes_misc.c, - src/other/step/src/fedex_plus/classes_wrapper.cc: - cleanup from SCL git 0bb182b and ed8474e - -2012-06-05 22:03 n_reed - - * [r50909] src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes.h, - src/other/step/src/fedex_plus/classes_wrapper.cc, - src/other/step/src/fedex_plus/multpass.c: - cleanup from SCL git cb35164 and 1cfb41d - -2012-06-05 21:51 starseeker - - * [r50908] doc/docbook/system/man1/en/rtwizard.xml: - More work on rtwizard man page. - -2012-06-05 21:50 starseeker - - * [r50907] src/libgcv/wfobj/CMakeLists.txt: - Strict issue with obj-g as well - -2012-06-05 21:46 brlcad - - * [r50906] src/conv/intaval/regtab.cpp, src/conv/intaval/regtab.h: - NULL is not the same thing at all as an emptry string, especially - with c++. convert to an empty std::string initializer instead. - hopefully not intentionally avoiding stl in api? - -2012-06-05 21:36 starseeker - - * [r50905] src/other/clipper/clipper.hpp: - Clear clang warning - -2012-06-05 21:34 starseeker - - * [r50904] src/conv/intaval/regtab.h: - Clear deprecated string conversion warning with clang - -2012-06-05 20:38 n_reed - - * [r50903] src/conv/step/Factory.cpp, - src/conv/step/STEPWrapper.cpp, src/conv/step/SurfaceCurve.cpp, - src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes.h, - src/other/step/src/fedex_plus/classes_misc.c, - src/other/step/src/fedex_plus/classes_wrapper.cc: - Put generated globals in a namespace. Namespace declaration - written to *Names.h. SCL git 88e9634, da0a395, and 3ed8797. - -2012-06-05 19:26 cprecup - - * [r50902] misc/CMake/FindADAPTAGRAMS.cmake: - Corrected header - -2012-06-05 19:13 starseeker - - * [r50901] src/tclscripts/rtwizard/rtwizard.tcl: - Add support for explicitly setting the view model. Also wait more - robustly for fbserv to come up before trying to raytrace, and fix - one of the -F handling cases in framebuffer type option parsing. - -2012-06-05 18:00 cprecup - - * [r50900] src/conv/CMakeLists.txt: - Uncommented harmless line for setting the source files - corresponding to libavoid - -2012-06-05 17:57 cprecup - - * [r50899] src/conv/CMakeLists.txt: - Replaced find_library for libavoid with find_package - -2012-06-05 17:56 cprecup - - * [r50898] misc/CMake/FindADAPTAGRAMS.cmake: - Added helper script FindADAPTAGRAMS.cmake to check for libavoid's - existence as a system-installed library and mark as advanced the - set variables. - -2012-06-05 17:26 starseeker - - * [r50897] src/tclscripts/rtwizard/rtwizard.tcl: - Use verbose flag - -2012-06-05 17:22 starseeker - - * [r50896] src/tclscripts/rtwizard/rtwizard.tcl: - Need to be able to specify both port and framebuffer type on - command line for rtwizard - -2012-06-05 15:34 n_reed - - * [r50895] src/other/step/src/clstepcore/STEPattribute.inline.cc: - ensure constructors receive non-null AttrDescriptor; SCL git - e547807 - -2012-06-05 15:30 starseeker - - * [r50894] src/conv/raw/CMakeLists.txt: - Grr - still getting strict issues with raw-g. Flag it for now. - -2012-06-05 15:20 n_reed - - * [r50893] src/other/step/src/clstepcore/STEPattribute.inline.cc: - Use UNKNOWN_TYPE when an attribute has no NonRefType. SCL git - 6aa4695. - -2012-06-05 15:10 n_reed - - * [r50892] src/other/step/src/fedex_plus/classes.c: - generate spaces instead of tabs; SCL git 86b9f12 - -2012-06-05 14:26 starseeker - - * [r50891] src/conv/CMakeLists.txt: - Don't print messages that will repeat every time - for message - handling, this should be turned into a FindADAPTAGRAMS.cmake file - (see misc/CMake/FindUTAHRLE.cmake for an idea of how to proceed) - -2012-06-05 14:17 starseeker - - * [r50890] src/proc-db/CMakeLists.txt: - Oops - not a mixed source exec, just use NOSTRICT - -2012-06-05 13:51 starseeker - - * [r50889] src/proc-db/CMakeLists.txt: - C++ strict issue - csgbrep.cpp:401:5: error: narrowing conversion - of '-1759248401l' from 'long int' to 'uint32_t {aka unsigned - int}' inside { } is ill-formed in C++11 [-Werror=narrowing] - - turn off CXX strict until resolved. - -2012-06-05 13:08 starseeker - - * [r50888] src/conv/CMakeLists.txt: - Add NOSTRICT to 3dm-g until we can get the warning(s) sorted out - -2012-06-05 12:18 phoenixyjll - - * [r50887] src/librt/primitives/pipe/pipe_brep.cpp: - There used to be bugs with the colinear parts. - -2012-06-05 11:18 erikgreenwald - - * [r50886] src/librt/db5_io.c: - note that >>3 is to avoid overflow on the <<=3 in the next - statement - -2012-06-05 11:05 brlcad - - * [r50885] src/proc-db/CMakeLists.txt: - interestingly enough, only two of the four opennurbs-using proc - db apps fail strict compilation due to opennurbs headerness. - still, disable strict for those two with a comment as to what the - issue is so compile may succeed (since a fix to quell the warning - was non-obvious) - -2012-06-05 10:45 brlcad - - * [r50884] src/conv/3dm/3dm-g.cpp: - avoid c++ warnings about narrowing conversion within the curly - braces. cast accordingly outside initialization. - -2012-06-05 07:59 d_rossberg - - * [r50883] src/anim/anim_hardtrack.c: - fixed a crash during build cause by typing error - -2012-06-05 04:36 brlcad - - * [r50882] src/anim/anim_hardtrack.c: - use scope initialization where we can - -2012-06-05 04:29 brlcad - - * [r50881] src/librt/db5_io.c: - use BU_EXTERNAL_INIT_ZERO scope initialization instead of - explicit init. - -2012-06-05 04:27 brlcad - - * [r50880] src/libbu/parse.c: - use %zu for size_t instead of casting through long int - -2012-06-05 04:15 brlcad - - * [r50879] src/libged/get_solid_kp.c: - re-enable the 'temporarily disabled' support for pipe - keypointing. - -2012-06-05 04:00 brlcad - - * [r50878] src/libged/view_obj.c: - VINIT_ZERO scope initialization instead of explicit VSETALL - -2012-06-05 03:59 brlcad - - * [r50877] src/libged/view_obj.c: - VINIT_ZERO instead of numeric literals - -2012-06-05 03:57 brlcad - - * [r50876] src/conv/obj-g.c: - using bu_calloc() means we don't have to check for null. coverity - was complaining because we were already checking null in one - place implying that we need to check for it in other places, but - the real fix is to simply not check for null anywhere. (cid 1757, - r48342) - -2012-06-05 03:52 brlcad - - * [r50875] src/liboptical/sh_scloud.c: - VINIT_ZERO instead of literals - -2012-06-05 03:47 brlcad - - * [r50874] src/mged/mged.c: - now that coverity quellage has fully disabled it, remove the - half-assed log_event() mged event logging interface. simplify - maintainability on a feature rarely, if ever, used and costly to - keep. - -2012-06-05 03:36 brlcad - - * [r50873] src/mged/setup.c: - cliff removed hideline.c in r48460 when it came up with a - coverity maintenance cost, but this reference to f_hidline() - lingered. upon investigating, it was commented out back in 3.1 by - phil with a note saying it doesn't work everyone, so sounds good - to finally fully kill it regardless. the command supposedly - produced a plotfile hidden line style rendering. - -2012-06-05 03:34 r_weiss - - * [r50872] src/libged/red.c: - Updated the mged/archer 'red' command. Improved editing of - matrices in Windows. - -2012-06-05 02:09 brlcad - - * [r50871] src/conv/raw/CMakeLists.txt: - nostrict no longer needed? compiles clean with gcc 4.6.3 - -2012-06-05 02:07 brlcad - - * [r50870] src/conv/raw/RegionList.h, src/conv/raw/raw-g.cpp: - give getPoint() a little more to do by passing a std::string. - make toValue() static since inline is but a hint. quells gcc - inline warnings. - -2012-06-05 01:26 starseeker - - * [r50869] src/conv/raw/CMakeLists.txt, src/conv/raw/raw-g.cpp: - Reduces (but doesn't eliminate) strict compilation failures in - raw-g - -2012-06-05 01:02 brlcad - - * [r50868] src/conv/intaval/regtab.cpp, src/conv/intaval/regtab.h: - combine constructors with default parameters and make the latter - be non-inline. gcc was unwilling to inline it anyways given the - WMEMBER_INIT() expansions are relatively lengthy. - -2012-06-05 00:45 starseeker - - * [r50867] src/conv/raw/raw-g.cpp: - Assign toValue to a variable - -2012-06-05 00:22 brlcad - - * [r50866] src/librt/bbox.c, src/librt/db5_io.c, - src/librt/db5_scan.c, src/librt/db5_types.c, - src/librt/db_fullpath.c, src/librt/db_tree.c, src/librt/dir.c, - src/librt/opennurbs_ext.cpp, src/librt/opennurbs_ext.h, - src/librt/prep.c, src/librt/primitives/arbn/arbn.c, - src/librt/primitives/ars/ars.c, src/librt/primitives/bot/bot.c, - src/librt/primitives/bot/btg.c, - src/librt/primitives/bot/g_bot_include.c, - src/librt/primitives/bot/tie_kdtree.c, + * [r55409] doc/docbook/system/man3/en/CMakeLists.txt, + doc/docbook/system/man3/en/bu_htond.xml, + doc/docbook/system/man3/en/htond.xml, include/bu.h, + src/conv/stl/g-stl.c, src/conv/stl/stl-g.c, src/fb/pl-fb.c, + src/libbn/plot3.c, src/libbu/convert.c, src/libbu/htond.c, + src/libbu/htonf.c, src/libbu/parse.c, src/libged/bot_dump.c, + src/libmultispectral/sh_temp.c, src/librt/binunif/db5_bin.c, + src/librt/comb/comb.c, src/librt/primitives/arb8/arb8.c, + src/librt/primitives/arbn/arbn.c, src/librt/primitives/ars/ars.c, + src/librt/primitives/bot/bot.c, + src/librt/primitives/bspline/bspline.cpp, src/librt/primitives/cline/cline.c, src/librt/primitives/dsp/dsp.c, src/librt/primitives/ehy/ehy.c, - src/librt/primitives/ell/ell_brep.cpp, - src/librt/primitives/epa/epa.c, src/librt/primitives/eto/eto.c, + src/librt/primitives/ell/ell.c, src/librt/primitives/epa/epa.c, + src/librt/primitives/eto/eto.c, src/librt/primitives/extrude/extrude.c, - src/librt/primitives/extrude/extrude_brep.cpp, - src/librt/primitives/hf/hf.c, src/librt/primitives/hyp/hyp.c, - src/librt/primitives/nmg/nmg_bool.c, - src/librt/primitives/nmg/nmg_ck.c, - src/librt/primitives/nmg/nmg_class.c, - src/librt/primitives/nmg/nmg_copy.c, - src/librt/primitives/nmg/nmg_extrude.c, - src/librt/primitives/nmg/nmg_fuse.c, - src/librt/primitives/nmg/nmg_index.c, - src/librt/primitives/nmg/nmg_info.c, - src/librt/primitives/nmg/nmg_inter.c, - src/librt/primitives/nmg/nmg_manif.c, - src/librt/primitives/nmg/nmg_misc.c, - src/librt/primitives/nmg/nmg_mk.c, - src/librt/primitives/nmg/nmg_mod.c, - src/librt/primitives/nmg/nmg_plot.c, - src/librt/primitives/nmg/nmg_rt_isect.c, - src/librt/primitives/nmg/nmg_tri.c, - src/librt/primitives/rec/rec.c, - src/librt/primitives/revolve/revolve_brep.cpp, - src/librt/primitives/rpc/rpc.c, + src/librt/primitives/grip/grip.c, + src/librt/primitives/half/half.c, src/librt/primitives/hyp/hyp.c, + src/librt/primitives/metaball/metaball.c, + src/librt/primitives/nmg/nmg.c, src/librt/primitives/part/part.c, + src/librt/primitives/pipe/pipe.c, + src/librt/primitives/pnts/pnts.c, + src/librt/primitives/revolve/revolve.c, + src/librt/primitives/rhc/rhc.c, src/librt/primitives/rpc/rpc.c, + src/librt/primitives/sketch/sketch.c, src/librt/primitives/superell/superell.c, - src/librt/primitives/tor/tor.c, src/librt/tree.c: - ws cleanup, mostly trailing space junk from suboptimally - configured editors. :) - -2012-06-05 00:18 cprecup - - * [r50865] src/conv/CMakeLists.txt: - added check for libavoid's existence as a system-installed - library - -2012-06-04 21:59 brlcad - - * [r50864] NEWS: - erik fixed a crash from icv_image when writing to a file failed. - (rewording r48211) - -2012-06-04 21:15 brlcad - - * [r50863] TODO: - release issue, brep spatial partitioning sadness - -2012-06-04 21:10 starseeker - - * [r50862] src/librt/CMakeLists.txt: - Add NOSTRICTCXX to librt for the moment - getting a warning when - compiled with optimization flags - -2012-06-04 21:08 starseeker - - * [r50861] regress/Makefile.am: - Update regress Makefile.am clean list - -2012-06-04 21:06 starseeker - - * [r50860] regress/solids.sh: - Try an alternative means of feeding the mged scripts - cat+sh - doesn't mix well with the odd pathnames regression test. - -2012-06-04 20:17 brlcad - - * [r50859] HACKING: - doc/docbook also has a readme - -2012-06-04 20:02 brlcad - - * [r50858] doc/docbook/README: - we don't have any hungarian docs. the hy translation is armenian. - -2012-06-04 19:57 brlcad - - * [r50857] NEWS: - minor rewording. tom fixed rtweight to handle blanks, comment - lines, malformed lines, and the modified NIST materials file; - problem was fscanf stops scanning on input at first error and - thus the infinite loop: using fgets forces each line to be read; - an extra buffer is needed in that case to handle the line input - versus the sscan buffer for reading tokens (but I didn't try - using the same buffer for both). he also improved rtweight - behavior on windows by converting to bu_fgets() now reading unix - density files properly on windows and vice versa. - -2012-06-04 19:53 brlcad - - * [r50856] src/rt/viewweight.c: - caps implies const, so convert to lower - -2012-06-04 19:32 brlcad - - * [r50855] src/libged/gqa.c, src/rt/viewweight.c: - leave a note about rtweight's density file 32k index limitation - that browder noted in r48837. also worth noting that gqa - overcomes that limitation (but could also use some reuse - improvements. - -2012-06-04 19:04 brlcad - - * [r50854] NEWS, src/libwdb/wdb.c: - fix a 7+ year old bug making 32-bit and 64-bit binary uniform - data objects (binunif). they were getting stored as 16-bit and - 32-bit respectively. coverity noticed the unreachable 128-bit - condition, but the 'fix' in r48823 didn't catch the underlying - bit-offset error in the switch statement. commenting out the - 128-bit case merely masked the problem further. fortunately, dsp - binunif and byte files (the two common use cases) are unaffected. + src/librt/primitives/tgc/tgc.c, src/librt/primitives/tor/tor.c, + src/librt/primitives/xxx/xxx.c, src/librt/vlist.c, + src/librtserver/rtserver.c, src/librtserver/rtserverTest.c, + src/rt/view.c, src/util/double-asc.c, src/util/pl-X.c, + src/util/pl-asc.c, src/util/pl-pl.c, src/util/pl-ps.c, + src/util/pl-tek.c, src/util/pldebug.c, src/util/plrot.c, + src/util/plstat.c: + Reverse merge back out the bu_ prefixing of ntohd and htond - + will probably need it later, so doing it all in one commit per + Sean's suggestion. Should do this after release, and anyway a + complete solution to the Windows API changes will be a lot more + extensive than this - while this rename lets BRL-CAD compile with + VS2012, there are runtime failures in database IO due to related + Windows API changes. + +2013-05-14 01:16 starseeker + + * [r55408] doc/docbook/system/man3/en/CMakeLists.txt, + doc/docbook/system/man3/en/bu_htond.xml, + doc/docbook/system/man3/en/htond.xml: + rename man page file to have bu prefix as well. + +2013-05-14 01:15 starseeker + + * [r55407] doc/docbook/system/man3/en/htond.xml: + Add prefix to man page too + +2013-05-14 01:13 starseeker + + * [r55406] include/bu.h, src/conv/stl/g-stl.c, + src/conv/stl/stl-g.c, src/fb/pl-fb.c, src/libbn/plot3.c, + src/libbu/convert.c, src/libbu/htond.c, src/libbu/htonf.c, + src/libbu/parse.c, src/libged/bot_dump.c, + src/libmultispectral/sh_temp.c, src/librt/binunif/db5_bin.c, + src/librt/comb/comb.c, src/librt/primitives/arb8/arb8.c, + src/librt/primitives/arbn/arbn.c, src/librt/primitives/ars/ars.c, + src/librt/primitives/bot/bot.c, + src/librt/primitives/bspline/bspline.cpp, + src/librt/primitives/cline/cline.c, + src/librt/primitives/dsp/dsp.c, src/librt/primitives/ehy/ehy.c, + src/librt/primitives/ell/ell.c, src/librt/primitives/epa/epa.c, + src/librt/primitives/eto/eto.c, + src/librt/primitives/extrude/extrude.c, + src/librt/primitives/grip/grip.c, + src/librt/primitives/half/half.c, src/librt/primitives/hyp/hyp.c, + src/librt/primitives/metaball/metaball.c, + src/librt/primitives/nmg/nmg.c, src/librt/primitives/part/part.c, + src/librt/primitives/pipe/pipe.c, + src/librt/primitives/pnts/pnts.c, + src/librt/primitives/revolve/revolve.c, + src/librt/primitives/rhc/rhc.c, src/librt/primitives/rpc/rpc.c, + src/librt/primitives/sketch/sketch.c, + src/librt/primitives/superell/superell.c, + src/librt/primitives/tgc/tgc.c, src/librt/primitives/tor/tor.c, + src/librt/primitives/xxx/xxx.c, src/librt/vlist.c, + src/librtserver/rtserver.c, src/librtserver/rtserverTest.c, + src/rt/view.c, src/util/double-asc.c, src/util/pl-X.c, + src/util/pl-asc.c, src/util/pl-pl.c, src/util/pl-ps.c, + src/util/pl-tek.c, src/util/pldebug.c, src/util/plrot.c, + src/util/plstat.c: + Add the bu_ prefix to htond, ntohd, htonf, and ntohf functions in + libbu. -2012-06-04 18:36 brlcad +2013-05-13 23:44 starseeker - * [r50853] NEWS: - bob fixed a bug in the edcodes command in r48741 where argc was - being incremented without changing av. overread detected by - coverity. would have made it hard to get help and probably caused - memory corruption. + * [r55405] misc/CMake/BRLCAD_Targets.cmake: + C project only for inline redefinition. -2012-06-04 18:17 brlcad +2013-05-13 23:40 starseeker - * [r50852] src/conv/CMakeLists.txt: - library ordering wrong, libtclcad is the highest-level lib so - should be listed first + * [r55404] src/other/tk/win/ttkWinXPTheme.c: + Backport Tk fix for VC11 from upstream -2012-06-04 18:15 brlcad +2013-05-13 23:04 starseeker - * [r50851] src/libged/preview.c: - add a readme about the static array that should become dynamic - memory + * [r55403] CMakeLists.txt, misc/CMake/BRLCAD_Targets.cmake, + src/other/libregex/CMakeLists.txt, + src/other/libregex/CheckCInline.cmake: + Start reworking CheckCInline handling with an eye towards MSVC + 2012 -2012-06-04 16:22 starseeker +2013-05-13 20:26 carlmoore - * [r50850] src/conv/step/CMakeLists.txt: - step-g is fully C++, not mixed - use the plain NOSTRICT flag + * [r55402] src/anim/anim_track.c: + implement 'progname' so 'anim_track' appears only once -2012-06-04 16:11 brlcad +2013-05-13 20:15 carlmoore - * [r50849] src/conv/step/PullbackCurve.cpp: - remove dead code instead of commenting it out. revision control - preserves what was there. + * [r55401] src/anim/anim_track.c: + Usage, h, ? ; however, Usage needs to be expanded because it now + only refers to the man page -2012-06-04 16:07 starseeker +2013-05-13 19:27 carlmoore - * [r50848] misc/CMake/BRLCAD_Targets.cmake: - Rework C++ strict logic a bit. + * [r55400] src/anim/anim_time.c: + Usage, h, ? ; also removed variable domem, and let maxlines + initial value be MAXLEN -2012-06-04 15:16 r_weiss +2013-05-13 19:17 carlmoore - * [r50847] src/conv/step/PullbackCurve.cpp: - Update to PullbackCurve.cpp to quiet build warnings. + * [r55399] src/anim/anim_sort.c: + oops, wrong Usage for anim_sort , so this is now fixed -2012-06-04 15:12 r_weiss +2013-05-13 18:20 carlmoore - * [r50846] src/conv/raw/RegionList.cpp: - Update to RegionList.cpp to fix build error. + * [r55398] src/anim/anim_sort.c: + Usage, h, ? -2012-06-04 14:28 starseeker +2013-05-13 18:05 carlmoore - * [r50845] regress/CMakeLists.txt: - Add outputs from regression to clean list + * [r55397] src/anim/anim_script.c: + implement h and ? along with Usage -2012-06-04 12:58 brlcad +2013-05-13 17:51 bob1961 - * [r50844] src/libpc/CMakeLists.txt: - libpc throws compilation warnings when building bundled boost due - to undefined symbols in their header fu + * [r55396] include/dm-Null.h, include/dm.h, src/libdm/dm-Null.c, + src/libdm/dm-ogl.c, src/libdm/dm-wgl.c, + src/libtclcad/tclcad_obj.c: + Update the loadPMatrix routines in libdm to properly restore the + projection matrix when we're not doing perspective. -2012-06-04 12:12 bob1961 +2013-05-13 15:19 carlmoore - * [r50843] src/tclscripts/lib/Accordian.tcl: - Added callbacks for when a panel is toggled open. Added a rename - command for renaming panels. + * [r55395] src/anim/anim_orient.c: + implement h and ?; for THIS routine, it needs to be done WITHOUT + the - -2012-06-04 09:42 phoenixyjll +2013-05-13 14:42 bob1961 - * [r50842] src/librt/opennurbs_ext.h, - src/librt/primitives/brep/brep_debug.cpp: - quell set-but-unused warnings. + * [r55394] src/tclscripts/archer/ArcherCore.tcl: + Update ArcherCore::rsyncTree to use the get_type command. -2012-06-04 02:23 starseeker +2013-05-13 14:27 carlmoore - * [r50841] src/libpc/CMakeLists.txt: - update TODO in libpc + * [r55393] src/anim/anim_fly.c: + move 'yaw = ...' because there is no point doing this if we then + exit -2012-06-04 02:21 starseeker +2013-05-13 12:00 bob1961 - * [r50840] CMakeLists.txt, misc/CMake/BRLCAD_CompilerFlags.cmake, - misc/CMake/BRLCAD_Targets.cmake, misc/CMake/BRLCAD_Util.cmake, - src/conv/step/CMakeLists.txt, src/libged/CMakeLists.txt: - By default, turn on STRICT for C++ as well as C files. Add a - specific option, NOSTRICTCXX, to allow targets to specifically - disable strict compilation for C++ files only (beneficial for - targets that use both C++ and C - allows the C to remain strict - enabled.) + * [r55392] src/tclscripts/archer/ArcherCore.tcl, + src/tclscripts/lib/Ged.tcl: + Expose bot_fuse in Archer. -2012-06-04 02:05 starseeker +2013-05-13 11:10 bob1961 - * [r50839] src/librt/primitives/brep/brep_debug.cpp: - default case doesn't use tmpname - fix for strict compilation + * [r55391] src/libtclcad/tclcad_obj.c, + src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl, src/tclscripts/lib/Ged.tcl: + Expose brep in Archer. -2012-06-04 00:19 cprecup +2013-05-10 20:52 carlmoore - * [r50838] src/conv/g-voxel.c: - set-but-unused warning for numVoxelX variable + * [r55390] src/anim/anim_offset.c: + implement Usage (as I go along, I am also putting in h?) -2012-06-03 22:38 starseeker +2013-05-10 20:03 carlmoore - * [r50837] regress/CMakeLists.txt: - distcheck strikes again. Add new regression files to - regress/CMakeLists.txt + * [r55389] src/anim/anim_lookat.c: + implement Usage -2012-06-03 22:30 brlcad +2013-05-10 19:42 carlmoore - * [r50836] src/conv/g-voxel.c: - quell set-but-unused warnings. coding complete means not stubbing - in variables, not adding until they're actually used. + * [r55388] src/anim/anim_keyread.c: + implement Usage -2012-06-03 22:17 brlcad +2013-05-10 19:29 carlmoore - * [r50835] src/conv/g-voxel.c: - more cleanup, match our style. spaces after intrinsic keywords - and within comments. + * [r55387] src/anim/anim_hardtrack.c: + implement Usage -2012-06-03 22:08 brlcad +2013-05-10 19:20 carlmoore - * [r50834] src/conv/g-voxel.c: - no spaces before semicolons + * [r55386] src/anim/anim_fly.c: + implement Usage -2012-06-03 22:08 brlcad +2013-05-10 19:04 carlmoore - * [r50833] src/conv/g-voxel.c: - ugh. looks like vim crapped all over the file. files should be - run through sh/ws.sh to remove trailing whitespace. + * [r55385] src/anim/anim_cascade.c: + implement Usage -2012-06-03 22:06 starseeker +2013-05-10 18:17 carlmoore - * [r50832] misc/CMake/BRLCAD_CPackOptions.cmake.in: - consistency + * [r55384] src/conv/3dm/3dm-g.cpp: + remove unneeded '==1', and go for a more standard usage + statement; notice that some options are incomplete! -2012-06-03 22:04 starseeker +2013-05-10 17:48 bob1961 - * [r50831] misc/CMake/BRLCAD_CPackOptions.cmake.in, - misc/CMake/Distcheck.cmake: - Make sure there aren't any stale source_archive_contents dirs - when creating packages + * [r55383] src/tclscripts/lib/Ged.tcl: + Typo -2012-06-03 21:56 brlcad +2013-05-10 17:00 bob1961 - * [r50830] src/libfb/tcl.c: - prevent a crash if we somehow try to configure a framebuffer that - has not yet been initialized. (crash reported by _fkr via irc - selecting Modes->Display\ Manager->Tk after opening a db) + * [r55382] include/ged.h: + Add declaration for ged_polybinout. -2012-06-03 02:10 crdueck +2013-05-10 16:55 bob1961 - * [r50829] src/librt/primitives/table.c: - updated rt_functab entries for primitives to reflect changes in - r50828 + * [r55381] src/libged/nirt.c: + We still need to quote the arguments in nirt. -2012-06-03 01:48 crdueck +2013-05-10 16:13 indianlarry - * [r50828] include/raytrace.h: - added pointers to new volume, surface area, and centroid callback - functions in functab struct. WIP + * [r55380] src/librt/primitives/brep/brep.cpp: + Walking the half-step up to 1000 iterations before bailing on the + shotline was killing BREP raytrace timing. Added bail-out when + the step would walk outside the current SBV. Also added half-step + bail-out when the current solution already within ROOT_TOL + distance of the solution. Now stopping the half-step at the 5th + step will look into why the newton iterator isn't behaving on the + EHY conversion. May actually be something in the surface + definition? -2012-06-02 23:15 tbrowder2 +2013-05-10 15:51 bob1961 - * [r50827] regress/solids.sh, regress/tgms/dsp.dat, - regress/tgms/solids-simple.mged, regress/tgms/solids.mged: - extract TGM sources to external files, extract dsp data source to - external file; intent is to ease maintenance and debugging of - solids.sh + * [r55379] src/libtclcad/tclcad_obj.c, src/tclscripts/lib/Ged.tcl: + Expose polybinout in cadwidgets::Ged. -2012-06-02 19:41 tbrowder2 +2013-05-10 15:11 bob1961 - * [r50826] src/util/gencolor.1: - correct grammar + * [r55378] src/libged/CMakeLists.txt, src/libged/polybinout.c: + Add polybinout to libged. -2012-06-02 18:29 tbrowder2 +2013-05-10 14:28 bob1961 - * [r50825] regress/solids-simplepix.asc, regress/solids.sh: - correct tgm and reference pix + * [r55377] include/ged.h: + Declare ged_memprint(). -2012-06-02 17:14 phoenixyjll +2013-05-10 14:18 bob1961 - * [r50824] src/librt/primitives/brep/brep_debug.cpp: - Fixed the wrong malloc size and free tmpname before returning. + * [r55376] src/libtclcad/tclcad_obj.c, src/tclscripts/lib/Ged.tcl: + Expose nmg_fix_normals in cadwidgets::Ged. -2012-06-02 17:04 tbrowder2 +2013-05-10 14:06 bob1961 - * [r50823] regress/solids.sh: - add a new, simple test that passses on 32-bit systems (tested on - Linux Mint LMDE 32-bit) + * [r55375] src/libged/debugmem.c, src/libtclcad/tclcad_obj.c, + src/tclscripts/lib/Ged.tcl: + Expose memprint in cadwidgets::Ged. -2012-06-02 17:03 tbrowder2 +2013-05-10 13:36 bob1961 - * [r50822] regress/solids-simplepix.asc: - add another reference pix (asc format) for a new solids.sh test + * [r55374] src/libtclcad/tclcad_obj.c, src/tclscripts/lib/Ged.tcl: + Expose joint to cadwidgets::Ged. -2012-06-02 14:55 phoenixyjll +2013-05-10 13:27 bob1961 - * [r50821] src/librt/primitives/brep/brep_debug.cpp: - Deal with empty combs. + * [r55372] src/libtclcad/tclcad_obj.c, src/tclscripts/lib/Ged.tcl: + Expose hdivide to cadwidgets::Ged. Create eye_pt alias to + ged_eye(). -2012-06-02 01:35 r_weiss +2013-05-10 13:12 bob1961 - * [r50820] src/libged/red.c: - Update to mged/archer 'red' command to improve error reporting. + * [r55371] src/libtclcad/tclcad_obj.c, src/tclscripts/lib/Ged.tcl: + Expose the following commands in cadwidgets::Ged - grid2model_lu + and grid2view_lu. -2012-06-01 22:44 tbrowder2 +2013-05-10 12:05 bob1961 - * [r50819] src/conv/asc/g2asc.c: - ws, style + * [r55370] src/libtclcad/tclcad_obj.c, src/tclscripts/lib/Ged.tcl: + Expose the following commands in cadwidgets::Ged - model2grid_lu + and model2view_lu. -2012-06-01 21:30 anrgmrty +2013-05-10 11:51 bob1961 - * [r50818] src/conv/g-voxel.c: - This program prints out the voxels which are in(1) and which are - not(0) for each ray + * [r55369] src/libtclcad/tclcad_obj.c, src/tclscripts/lib/Ged.tcl: + Expose the following commands in cadwidgets::Ged - view2grid_lu, + view2model_lu and view2model_vec. -2012-06-01 21:05 r_weiss +2013-05-10 11:20 bob1961 - * [r50817] include/bu.h: - Updated bu.h to allow test_vls_vprintf to build in visual studio - 2008. + * [r55368] src/libtclcad/tclcad_obj.c, src/tclscripts/lib/Ged.tcl: + Expose the following commands in cadwidgets::Ged - debugbu, + debugdir, debuglib, debugmem and debugnmg. -2012-06-01 21:04 r_weiss +2013-05-10 10:54 bob1961 - * [r50816] src/libbu/vls_internals.h: - Updated vls_internals.h to allow test_vls_vprintf to build in - visual studio 2008. + * [r55367] src/tclscripts/lib/Ged.tcl: + Expose the following commands in cadwidgets::Ged - + bu_units_conversion, bu_brlcad_data, bu_brlcad_dir, + bu_brlcad_root, bu_mem_barriercheck, bu_prmem, + bu_get_value_by_keyword, bu_rgb_to_hsv and bu_hsv_to_rgb. -2012-06-01 19:55 n_reed +2013-05-09 22:30 brlcad - * [r50815] src/other/step/src/express/lexact.c: - correct SCANsave_comment; SCL git c6bc7ec + * [r55366] BUGS: + keith fixed the ehy bug (confirmed). runs really slow, but does + give a correct render. -2012-06-01 19:21 n_reed +2013-05-09 21:42 starseeker - * [r50814] src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/cleditor/STEPfile.h, - src/other/step/src/cleditor/STEPfile.inline.cc, - src/other/step/src/clstepcore/STEPattribute.cc, - src/other/step/src/clstepcore/STEPattribute.h, - src/other/step/src/clstepcore/STEPcomplex.cc, - src/other/step/src/clstepcore/STEPcomplex.h, - src/other/step/src/clstepcore/sdaiApplication_instance.cc, - src/other/step/src/clstepcore/sdaiApplication_instance.h: - Add strict flag to STEPread functions; affects handling of - missing attributes. SCL git de3495d and 373d415. + * [r55365] src/libanalyze/voxels.c: + Define looping variables so MSVC can build this as a C file + (caught by Nick.) -2012-06-01 19:15 starseeker +2013-05-09 21:28 starseeker - * [r50813] regress/CMakeLists.txt: - Add more red regression outputs to clean + * [r55364] include/config_win_cmake.h.in: + Inching closer to functional win64 define logic - ftell and fseek + need stdio included up front, otherwise we get a re-definition + error when programs include stdio later. ftell is defined before + ftelli64 in stdio.h, so a premature substitution results in an + error attempting to re-define ftelli64 with its correct + definition after it has already been defined using the ftell + definition. -2012-06-01 19:06 r_weiss +2013-05-09 21:11 carlmoore - * [r50812] src/libged/kill.c: - Changed the 'ged_kill' function to not erase the ged result - string. This corrects the problem where, in some cases, error - messages were being erased. + * [r55363] src/util/double-asc.c: + change h option to r so that h is available for help; also remove + a pair of unneeded braces -2012-06-01 18:59 r_weiss +2013-05-09 20:07 n_reed - * [r50811] src/libged/red.c: - Added more error checking to mged/archer 'red' command. Fixed a - one off problem which could cause issues. + * [r55362] src/libbrep/PullbackCurve.cpp: + remove unused variable -2012-06-01 18:51 n_reed +2013-05-09 20:04 n_reed - * [r50810] src/other/step/src/clstepcore/STEPattribute.cc: - Simplify STEPread a bit. SCL git 6871bc4. + * [r55361] src/libbrep/PullbackCurve.cpp: + pull duplicated logic for handling seam points into a function -2012-06-01 15:51 starseeker +2013-05-09 18:47 bob1961 - * [r50809] src/conv/Makefile.am: - Fix src/conv Makefile.am + * [r55360] src/tclscripts/lib/Ged.tcl: + Expose the following commands in cadwidgets::Ged - vblend and + vjoin1 -2012-06-01 15:34 phoenixyjll +2013-05-09 18:37 bob1961 - * [r50808] sh/conversion.sh: - The whole elapsed time of each object is calculated, output in - %6.2f format. + * [r55359] src/tclscripts/lib/Ged.tcl: + Expose the following commands in cadwidgets::Ged - quat_mat2quat, + quat_quat2mat, quat_distance, quat_double, quat_bisect, + quat_slerp, quat_sberp, quat_make_nearest, quat_exp and quat_log. -2012-06-01 15:01 phoenixyjll +2013-05-09 18:07 bob1961 - * [r50807] src/libged/brep.c: - free memories and output duplication information correctly. + * [r55358] src/tclscripts/lib/Ged.tcl: + Expose the following commands in cadwidgets::Ged - mat_mul, + mat_inv, mat_trn, matXvec, mat4x3vec, mat4x3pnt, mat_ae, + mat_ae_vec, mat_aet_vec, mat_angles, mat_eigen2x2, mat_fromto, + mat_xrot, mat_yrot, mat_zrot, mat_lookat, mat_vec_ortho, + mat_vec_perp, mat_scale_about_pt, mat_xform_about_pt and + mat_arb_rot. -2012-06-01 14:59 phoenixyjll +2013-05-09 17:57 n_reed - * [r50806] src/librt/primitives/brep/brep_debug.cpp: - handle some exceptions. + * [r55357] src/libbrep/PullbackCurve.cpp: + split large for-loop into two parts to reduce indentation -2012-06-01 14:54 phoenixyjll +2013-05-09 17:26 carlmoore - * [r50805] sh/conversion.sh: - the unevaluated conversion for comb has been implemented, change - conversion.sh accordingly. + * [r55356] src/util/double-asc.c: + account for 'program continues running' with no arguments; add + missing colon after w in argument string to bu_getopt -2012-06-01 04:37 brlcad +2013-05-09 17:14 n_reed - * [r50804] doc/README.Windows: - minor clean up, make interface agnostic + * [r55355] src/libbrep/PullbackCurve.cpp: + style/ws -2012-06-01 04:22 brlcad +2013-05-09 15:45 bob1961 - * [r50803] src/librt/db5_types.c: - db5_is_boolean_attribute() and db_attr_add() are not public API, - don't need to be, so should be marked HIDDEN and can use a - simpler name + * [r55354] src/tclscripts/lib/Ged.tcl: + Expose the following commands in cadwidgets::Ged - + bn_dist_pt2_lseg2, bn_isect_line2_line2, bn_isect_line3_line3, + bn_noise_fbm, bn_noise_perlin, bn_noise_slice, bn_noise_turb and + bn_random. -2012-06-01 04:17 brlcad +2013-05-09 14:13 carlmoore - * [r50802] src/librt/primitives/brep/brep_debug.cpp: - quell shadow warning + * [r55353] src/conv/step/OpenNurbsInterfaces.cpp, + src/libanalyze/voxels.c, src/libbrep/ssx_event.cpp, + src/librt/tests/test_ssi.cpp: + remove trailing blanks/tabs; I also noticed that + src/libbrep/ssx_event.cpp was missing newline at end -2012-06-01 04:03 brlcad +2013-05-09 13:50 r_weiss - * [r50801] src/other/step/AUTHORS: - don't believe I have any account names as morrison with stepcode - affiliation + * [r55352] sh/cmp.sh: + Bug fix to script 'cmp.sh', 'dc' does not like scientific + notation. -2012-06-01 03:55 brlcad +2013-05-09 12:46 bob1961 - * [r50800] src/adrt/isst.h, src/adrt/isst_tcltk.c, - src/conv/g-obj.c, src/conv/g-shell-rect.c, src/conv/g4-g5.c, - src/conv/g5-g4.c, src/libicv/fileformat.c, - src/proc-db/surfaceintersect.h, src/rt/reshoot.c: - more header fixing + * [r55351] src/tclscripts/lib/Ged.tcl: + The following are mods to cadwidgets::Ged. The version method has + been renamed to dbversion. Added sv, t and viewsize methods. -2012-06-01 03:45 brlcad +2013-05-09 12:43 bob1961 - * [r50799] src/libbn/randmt.c, src/libbu/whereis.c, - src/libdm/focus.c, src/libfb/if_X24.c, - src/libgcv/wfobj/obj_grammar_decls.h, src/libged/sphgroup.c, - src/liboptical/liboslrend.cpp, src/liboptical/liboslrend.h, - src/liboptical/render_svc.cpp, src/liboptical/render_svc.h, - src/librt/primitives/arb8/arb8.c, - src/librt/primitives/metaball/metaball.c, - src/librt/primitives/metaball/metaball.h, - src/librt/primitives/metaball/metaball_tri.c, - src/librt/primitives/revolve/revolve.h, - src/librt/primitives/xxx/xxx.h, src/libwdb/extrude.c, - src/libwdb/sketch.c: - fix headers. detected with: - for file in `find src/lib* \( -name \*.c -o -name \*.h \)` ; do - a=`basename $file | tr "a-z" "A-Z"` ; b=`head -1 $file | sed - 's/[^-A-Z0-9_.]//g'` ; if test "x$a" != "x$b" ; then echo $file - \($a != $b\); fi ; done + * [r55350] src/libtclcad/tclcad_obj.c: + Add entries for orientation, sv, t and x to libtclcad's command + table. -2012-05-31 22:37 n_reed +2013-05-09 11:43 indianlarry - * [r50798] src/other/step/src/clstepcore/STEPattribute.cc, - src/other/step/src/clstepcore/STEPcomplex.cc: - better error printing; SCL git 99abb18 and 6b95067 + * [r55349] src/librt/primitives/brep/brep.cpp: + cleaned up integer variable initialized with double constant to + remove warning -2012-05-31 20:53 tbrowder2 +2013-05-09 11:37 starseeker - * [r50797] doc/README.Windows: - correct typo + * [r55348] include/config_win_cmake.h.in: + Make a stab at improving the ifdef logic for Win64 functions - + probably still needs refinement, still untested. -2012-05-31 20:38 tbrowder2 +2013-05-08 21:54 r_weiss - * [r50796] src/libbu/vls_vprintf.c: - remove spurious print statement + * [r55347] sh/cmp.sh: + Fixed a bug in the xray computations. Improved the volume + computations. -2012-05-31 19:41 n_reed +2013-05-08 21:29 starseeker - * [r50795] src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/cleditor/STEPfile.h, - src/other/step/src/clstepcore/read_func.cc, - src/other/step/src/clutils/Str.cc: - cleanup from SCL git c497168 + * [r55346] include/config_win_cmake.h.in: + Try to set up defines for stat, fstat, fseek, lseek, and ftell + that will make the libbu wrappers unnecessary - untested. Will + have to be a bit careful backing out r54713 once these are + working - a few files show conflicts. -2012-05-31 19:05 n_reed +2013-05-08 19:55 carlmoore - * [r50794] src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/cleditor/STEPfile.h, - src/other/step/src/cleditor/STEPfile.inline.cc, - src/other/step/src/clstepcore/STEPcomplex.cc, - src/other/step/src/clstepcore/STEPcomplex.h, - src/other/step/src/clstepcore/sdaiApplication_instance.cc, - src/other/step/src/clstepcore/sdaiApplication_instance.h, - src/other/step/src/express/dict.c: - Another int/bool substitution. This is SCL git b277759; r50791 - was actually SCL git 1b69382. + * [r55345] src/util/double-asc.c: + reinstate 'void', and remove single-quotes from Usage, and + provide for 'no-argument, no-redirect' case -2012-05-31 18:52 tbrowder2 +2013-05-08 19:24 carlmoore - * [r50793] regress/red.sh: - added a specific test for bug fix at rev 50521 (however, the test - may not be needed because a regression test using - src/libged/red.c at rev 50520, produced with a manual patch, - failed without the new test) + * [r55344] src/util/double-asc.c: + change (void) to (), and remove reference to case ?, because we + have the default available -2012-05-31 18:40 n_reed +2013-05-08 19:10 brlcad - * [r50792] src/other/step/src/fedex_plus/classes.c: - change return type to bool; SCL git 4dc0891 + * [r55343] src/libged/edit_metaball.c: + make last const instead of casting away const -2012-05-31 18:23 n_reed +2013-05-08 19:09 brlcad - * [r50791] src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/cleditor/STEPfile.h, - src/other/step/src/cleditor/STEPfile.inline.cc, - src/other/step/src/clstepcore/sdaiApplication_instance.cc, - src/other/step/src/clutils/dirobj.cc, - src/other/step/src/clutils/dirobj.h, - src/other/step/src/express/express.c: - Simplify filepath handling and use more std::string and bool. SCL - git 19a1bae and b277759. + * [r55342] src/librt/primitives/brep/brep.cpp: + all magic numbers should be documented. mention that this + errantcount limit check number isn't really important, but does + need to be big enough to help converge to an answer. -2012-05-31 15:20 bob1961 +2013-05-08 18:58 starseeker - * [r50790] src/libtclcad/tclcad_obj.c: - Added a few bindings for rotating the view via the arrow keys. + * [r55341] src/libbrep/libbrep_brep_tools.h: + gah - contents of, not pointer to -2012-05-31 15:01 tbrowder2 +2013-05-08 18:55 starseeker - * [r50789] TODO: - oops, fix at r50521 not yet confirmed by regression test + * [r55340] src/libbrep/libbrep_brep_tools.h: + Tweak comment -2012-05-31 15:01 anrgmrty +2013-05-08 18:31 starseeker - * [r50788] src/conv/CMakeLists.txt, src/conv/Makefile.am, - src/conv/g-voxel.c: - g-voxel.c (only a grid of rays shot right now) + * [r55339] src/libbrep/libbrep_brep_tools.cpp, + src/libbrep/libbrep_brep_tools.h: + Tweak the logic deciding when and how to split. -2012-05-31 13:43 tbrowder2 +2013-05-08 18:05 indianlarry - * [r50787] TODO: - looks like red has the requisite test which apparently works fine + * [r55338] src/librt/primitives/brep/brep.cpp: + Newton iterator wasn't converging to a solution for the EHY + primitive converted to a BREP. The inverse jacobian was causing + the iterator to jump to a solution that was farther away than the + current point. Added a better half-step of the UV deltas until a + closer solution is found. Will half-step up to 1000 iterations + before bailing on the shotline. Need to look at the surface to + see why its causing such large steps but is a fix in the near + term. This was turned up by Richard Weiss while testing 'rtarea' + results from BREP conversions of our implicits. -2012-05-31 12:25 tbrowder2 +2013-05-08 18:04 indianlarry - * [r50786] src/libbu/vls_vprintf.c: - expand error info, add back the old guess output for unknown or - obsolete conversion specifier; note bombing macro indicates bad - logic somewhere + * [r55337] src/librt/shoot.c: + The non-uniform binary space partitioning tree used to partition + solids into RPP cells within librt to speed raytracing was using + an absolute "nudge" value to walk/step the ray into the next + partition cell. In certain circumstances the "nudge" value was + causing grazing cell hits to walk over thin intersections even + when these intgersections were greater than the thinness + tolerance. This update modified this code to use our distance + tolerance instead. Now our distance tolerance default or a user + specified value can be used. This was turned up by Richard Weiss + while testing 'rtarea' results from BREP conversions of our + implicits. -2012-05-31 12:23 tbrowder2 +2013-05-08 17:15 starseeker - * [r50785] src/libbu/vls_internals.h: - VP_UNKNOWN needs a bit on for proper testing as used in - bu_vls_vprintf + * [r55336] src/libbrep/CMakeLists.txt, + src/libbrep/libbrep_brep_tools.cpp, + src/libbrep/libbrep_brep_tools.h: + Add a 'tools' file for holding useful routines, analgous to the + opennurbs_brep_tools.cpp file. Start with the sub-surface + extraction routine. -2012-05-31 12:17 tbrowder2 +2013-05-08 16:59 bob1961 - * [r50784] src/libbu/test_vls_vprintf.c: - add another test based on iges.c problem + * [r55335] src/tclscripts/lib/Ged.tcl: + Expose the "orientation" command in Archer. Fixed a typo in + Ged::keypoint. -2012-05-31 12:10 tbrowder2 +2013-05-08 16:47 bob1961 - * [r50783] src/conv/iges/iges.c: - add missing format conversion specifier 'd' after length modifier - 'z' so correct entry is '%zd' + * [r55334] src/tclscripts/lib/Ged.tcl: + Expose the "x" command in Archer. -2012-05-31 06:32 phoenixyjll +2013-05-08 16:28 carlmoore - * [r50782] src/librt/primitives/brep/brep_debug.cpp: - Fixed the bug in copying brep in r50871 + * [r55333] src/liboptical/sh_treetherm.c: + fix type warning -2012-05-31 06:28 phoenixyjll +2013-05-08 16:14 carlmoore - * [r50781] src/libged/brep.c, - src/librt/primitives/brep/brep_debug.cpp: - Extend the functionality of the brep command in MGED to deal with - comb. Unevaluated breps are generated. + * [r55332] src/libdm/dm-tk.c: + fix type warnings -2012-05-31 04:35 brlcad +2013-05-08 15:27 n_reed - * [r50780] NEWS: - fixed a bug reading v4 geometry files where it was spewing memory - free error debug messages. it was getting to the debug messages - in the first place due to a write to a null pointer dereference, - probably related to the endianness flipping (as it's the first - rt_memfree() after flipping). + * [r55331] src/other/step/src/clstepcore/ExpDict.cc: + should use delete[] to free new[] memory -2012-05-31 04:32 brlcad +2013-05-08 15:26 starseeker - * [r50779] src/librt/db_scan.c: - casting the ftell() returns through off_t propagates bad addr - values. next and prev don't need to be off_t, so just let them - match ftell's return type and simplify + * [r55330] include/brep.h, misc/Doxyfile.in, + misc/doxygen_structure: + Start setting up to add libbrep to the doxygen system -2012-05-31 04:29 brlcad +2013-05-08 15:08 bob1961 - * [r50778] src/librt/memalloc.c: - prevent memory corruption if we end up with a null pointer. - probably implies someting is wrong elsewhere in the book-keeping, - but since this is old v4 code there's minimal value hunting it - down. just avoids corruption which was leading to a bogus - rt_freemem() debug message getting printed extensively after the - endianness flip. + * [r55329] src/libtclcad/tclcad_obj.c, src/tclscripts/lib/Ged.tcl: + Expose the annotate command in Archer. -2012-05-31 04:25 brlcad +2013-05-08 15:05 bob1961 - * [r50777] src/librt/primitives/sph/sph.c: - we have the actual distance tolerance so use it during validity - testing + * [r55328] src/libged/annotate.c: + Mods to annotate command ---> Check gedp before using. Also fixed + a core dump issue caused by freeing memory twice. -2012-05-30 23:23 crdueck +2013-05-08 14:56 starseeker - * [r50774] src/libbu/lex.c: - rewrote section to improve readability and remove a goto loop, ws - changes + * [r55327] misc/CMakeLists.txt: + Add a 'doxygen' target, as well as a 'dox' target -2012-05-30 20:49 n_reed +2013-05-08 13:38 bob1961 - * [r50772] src/other/step/src/express/dict.c: - Apply SCL git f5a130a. Loosens restriction on dictionary - duplicates. + * [r55326] src/tclscripts/lib/Ged.tcl: + Expose the "ae" command in Archer. -2012-05-30 19:43 erikgreenwald +2013-05-08 13:32 carlmoore - * [r50771] sh/orbit.sh: - update ffmpeg usage for 0.11. add azimuth to animation (the - actual orbit part) + * [r55325] src/liboptical/sh_text.c: + fix type warnings -2012-05-30 19:38 n_reed +2013-05-08 13:25 phoenixyjll - * [r50770] src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes_misc.c, - src/other/step/src/fedex_plus/classes_wrapper.cc: - Remove some unneeded functions. SCL git 1faaf69 and 2d7ed17. + * [r55324] src/libged/edit_metaball.c: + MS Visual Studio returns const char * in strrchr. -2012-05-30 18:44 erikgreenwald +2013-05-08 13:21 carlmoore - * [r50769] sh/orbit.sh: - improve progress display + * [r55323] src/liboptical/sh_prj.c: + fix a warning message about type mismatch in format -2012-05-30 18:41 erikgreenwald +2013-05-08 12:11 phoenixyjll - * [r50768] sh/orbit.sh: - Write frames directly to PNG instead of pix followed by pix-png. + * [r55322] include/brep.h, src/libbrep/CMakeLists.txt, + src/libbrep/Makefile.am, src/libbrep/intersect.cpp, + src/libbrep/opennurbs_ext.cpp, src/libbrep/ssx_event.cpp, + src/librt/primitives/brep/brep.cpp, + src/librt/primitives/brep/brep_debug.cpp, + src/librt/tests/test_ssi.cpp, + src/other/openNURBS/opennurbs_basic.cpp, + src/other/openNURBS/opennurbs_x.cpp: + Use the openNURBS API ON_Surface::IntersectSurface() for SSI. + Move the ON_SSX_EVENT part from other/openNURBS to libbrep, and + extend its functionality. The original SSI function + brlcad::surface_surface_intersection() is replaced. -2012-05-30 18:36 n_reed +2013-05-08 11:21 bob1961 - * [r50767] src/other/step/src/fedex_plus/selects.c: - optimize utype_member based on SCL git 27ce560 + * [r55321] include/dm-Null.h, include/dm.h, src/libdm/dm-Null.c, + src/libdm/dm-X.c, src/libdm/dm-ogl.c, src/libdm/dm-plot.c, + src/libdm/dm-ps.c, src/libdm/dm-rtgl.c, src/libdm/dm-tk.c, + src/libdm/dm-wgl.c, src/libtclcad/tclcad_obj.c: + This fixes the lighting problem exhibited in Archer when + displaying geometry in shaded mode with perspective. The main + issue here is that the perspective matrix needs to be fed + separately to openGl's projection matrix stack instead of feeding + the modelview matrix stack a matrix that has both view and + perspective rolled into a single matrix. -2012-05-30 18:28 erikgreenwald +2013-05-08 02:59 brlcad - * [r50766] sh/orbit.sh: - fix getopt handling. allow actual execution. minor - simplification. + * [r55320] sh/cmp.sh: + the ', ' was an auto-formatting error. plus, the 100mm lower + bound is insufficient for our sample models (was set up for + vehicles), lower down one more level to 10mm. -2012-05-30 18:02 erikgreenwald +2013-05-07 20:01 n_reed - * [r50765] sh/CMakeLists.txt, sh/Makefile.am: - move orbit.sh to the installed script set + * [r55319] src/conv/step/OpenNurbsInterfaces.cpp: + swapping parameters changes traversal direction, don't do it -2012-05-30 17:51 tbrowder2 +2013-05-07 19:17 n_reed - * [r50764] src/libbu/vls_vprintf.c: - removed old test statement, added another error handler + * [r55318] src/conv/step/OpenNurbsInterfaces.cpp: + oversimplified a bit in r55303, s near zero should become 2pi -2012-05-30 17:42 tbrowder2 +2013-05-07 17:18 n_reed - * [r50763] src/libbu/test_vls_vprintf.c, src/libbu/vls_internals.h, - src/libbu/vls_vprintf.c: - This is a major change to vsl_vprintf (and related files) - incorporating a more modular approach. In general, this change - tries - to separate the parsing of the format string from the handling of - the - result, both for valid as well as for obsolete or unknown parts. - The - approach is also intended to ease maintenance and future - enhancements. + * [r55317] src/conv/step/OpenNurbsInterfaces.cpp: + need to unitize direction vector before scaling by absolute + distance to intersection - The function specification has also been modified somewhat. +2013-05-07 16:44 carlmoore - More specifically: + * [r55316] src/sig/dmod.c: + implement progname in outputs - src/libbu/vls_internals.h - ========================= +2013-05-07 16:33 carlmoore - + make VP_* bit flags available for multiple files - + expand the set of VP_* bit flags - + make the vflags_t type available for multiple files - + make three of the vls_vprintf helper functions available for - multiple files + * [r55315] src/sig/umod.c: + cosmetic changes (look like smod.c as much as possible); + implement progname in outputs (some hardwired usages had wrong + name); implement 'usage' variable; add an 'else' - src/libbu/test_vls_vprintf.c - ============================ +2013-05-07 16:26 carlmoore - + add new test function 'check_format_chars' to ensure consistent - coverage of the defined valid and obsolete format characters + * [r55314] src/sig/smod.c: + implement 'progname' in output statements, and be concerned with + cosmetic stuff (looking like umod.c as much as possible) - src/libbu/vls_vprintf.c - ======================= +2013-05-07 16:18 r_weiss - + hoist the vflags_t definition into vls_internals.h for use by - the - regression test (test_vls_vprinf.c) + * [r55313] sh/cmp.sh: + Bug fix to 'cmp.sh' script to fix 'g_qa' volume testing. - + move functions +2013-05-07 04:48 phoenixyjll - + consolidate vls_printf helper functions into four: + * [r55312] src/libbrep/opennurbs_ext.cpp: + Loop detection in 3D space and 2D space should be done + separately. - - format_part_status: uses bit flags to define, for each - character, - what category it's in and whether it's valid, obsolete, or - unknown +2013-05-07 03:46 brlcad - - handle_obsolete_format_char: contains helper info messages for - the - user of obsolete chars + * [r55311] BUGS: + richards efforts to test all of our sample geometry conversion to + nurbs uncovered a bug in rendering operators.g:ehy in brep form. - - reset flags: resets an instance of the vflags_t to known values +2013-05-06 18:25 bob1961 - - handle_format_part: consolidates handling of the different - categories of valid format characters; only turned on at the - moment for - length modifier type + * [r55310] src/tclscripts/archer/GeometryEditFrame.tcl, + src/tclscripts/archer/MetaballEditFrame.tcl: + The following statements indicate mods to the metaball edit + panel. Added components for entering method and threshold. Also + added components for activating and setting the selected point + size. Finished wiring the table. - + use the new 'handle_format_part' function to hoist handling of - the - length modifiers (LMs) out of the format parsing loop +2013-05-06 14:03 d_rossberg - + add the formerly implicit handling of the 'c' conversion - specifier (CS) - to the CS handling section + * [r55309] include/analyze.h, src/conv/g-voxel.c, + src/libanalyze/voxels.c, src/libged/voxelize.c: + refactoring of the voxelize functions + - fixed memory leaks + - filter air voxels + - catched a file error - + consolidate CS error handling in the default section of the CS - switch statement +2013-05-06 12:19 bob1961 - + do some ws and style tidying + * [r55308] include/ged.h, src/libged/CMakeLists.txt, + src/libged/edit_metaball.c, src/libged/ged_private.h, + src/libged/pset.c, src/libtclcad/tclcad_obj.c, + src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/GeometryEditFrame.tcl, + src/tclscripts/archer/MetaballEditFrame.tcl, + src/tclscripts/lib/Ged.tcl: + This includes the addtion of the pset command as well as other + mods related to supporting metaball editing in Archer. - Future changes planned - ====================== +2013-05-03 18:03 carlmoore - + turn on modular handling of other categories of format chars + * [r55307] src/sig/dmod.c: + remove a few spaces -- just a cosmetic change with smod.c in mind - + incorporate modular handling of compiler oddities such as the - 'z' - length modifier for Visual Studio C +2013-05-03 17:40 bob1961 - + improve error handling + * [r55306] src/tclscripts/archer/MetaballEditFrame.tcl: + Remove debug strings and fixed a typo in + MetaballEditFrame::moveElement. -2012-05-30 16:48 n_reed +2013-05-03 17:20 bob1961 - * [r50762] src/other/step/src/express/expparse.y: - Allow local variables to have generic types; fixes failure on - ap239 express schema. SCL git 254b5a3. + * [r55305] include/ged.h, include/tclcad.h, + src/libged/CMakeLists.txt, src/libged/edit_metaball.c, + src/libged/ged_private.h, src/libged/pscale.c, + src/libtclcad/tclcad_obj.c, src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/CMakeLists.txt, + src/tclscripts/archer/MetaballEditFrame.tcl, + src/tclscripts/lib/Ged.tcl: + This is the initial installment of metaball editing support in + Archer. More to follow... -2012-05-30 16:05 starseeker +2013-05-03 17:12 bob1961 - * [r50761] src/libbu/Makefile.am: - fix LDADD line for test_vls_vprintf + * [r55304] src/tclscripts/archer/ArcherCore.tcl, + src/tclscripts/archer/PipeEditFrame.tcl: + Minor cleanup. -2012-05-30 14:55 starseeker +2013-05-02 20:42 n_reed - * [r50760] configure.ac: - Need the makefile for raw dir + * [r55303] src/conv/step/OpenNurbsInterfaces.cpp: + add some helpers to reduce duplication and improve readability -2012-05-30 14:38 brlcad +2013-05-02 19:58 carlmoore - * [r50759] BUGS, TODO: - need to investigate/fix the mged joints command and migrate it to - libged. + * [r55302] src/sig/smod.c: + make use of 'usage' -2012-05-30 14:21 starseeker +2013-05-02 19:55 carlmoore - * [r50758] src/other/CMakeLists.txt: - Generalize the disclean rules for libpng links + * [r55301] src/sig/dmod.c: + delete a few more spaces in comparison to smod.c -2012-05-30 14:19 bob1961 +2013-05-02 19:47 carlmoore - * [r50757] src/tclscripts/lib/cursor.tcl: - Yet another Windows specific fix. + * [r55300] src/sig/smod.c: + add 2 'else's, and create the 'usage' string -2012-05-30 14:16 starseeker +2013-05-02 19:43 carlmoore - * [r50756] src/libbu/Makefile.am: - Fix header name + * [r55299] src/sig/dmod.c: + remove 2 spaces to make this look a little more like smod.c -2012-05-30 13:49 brlcad +2013-05-02 19:34 carlmoore - * [r50755] src/shapes/fence.c: - fix a memory corruption error where we incorrectly bu_free() a - pointer that was bu_calloc'd but then clobbered after set to - mk_addmember result. was causing a crash. + * [r55298] src/sig/smod.c: + add h? to option string, and change 'bwmod:' to 'smod:' -2012-05-30 12:45 d_rossberg +2013-05-02 19:31 carlmoore - * [r50754] src/libbu/CMakeLists.txt, src/libbu/Makefile.am, - src/libbu/test_ctype.c: - apply sourceforge parch 3528073 (test_ctype.patch) from anrgmrty: - "A test for ctype.c checking for printable and non-printable - strings test_ctype.c" + * [r55297] src/sig/dmod.c: + only 'cosmetic' changes to make this look more like smod.c -2012-05-30 01:12 crdueck +2013-05-02 19:26 starseeker - * [r50753] src/mged/animedit.c: - the bug with 'joint holds' is related to 'joint solve' crashing - as well, both eventually make bad calls to hold_point_location(), - edited comment and error message + * [r55296] include/vmath.h, src/librt/primitives/nmg/nmg_misc.c: + Rather than defining a VMATH macro that unitizes and returns if + there is a tolerance error, just do the test in the calling code + and use the standard UNITIZE macro. -2012-05-30 00:06 tbrowder2 +2013-05-02 18:13 carlmoore - * [r50752] regress/vls_vprintf.sh, src/libbu/test_vls_vprintf.c: - change internal file name to reflect external file name + * [r55295] src/sig/dmod.c: + define 'usage' and also allow for -h and -? -2012-05-29 23:58 tbrowder2 +2013-05-02 17:21 starseeker - * [r50751] regress/vls.sh, src/libbu/test_vls.c: - old files disappear + * [r55294] src/brlman/CMakeLists.txt: + Install brlman.bat -2012-05-29 23:57 tbrowder2 +2013-05-02 15:52 carlmoore - * [r50750] regress/CMakeLists.txt, regress/Makefile.am, - regress/vls_vprintf.sh, src/libbu/CMakeLists.txt, - src/libbu/Makefile.am, src/libbu/test_vls_vprintf.c: - rename vls regression script and test_vls to vls_vprintf and - test_vls_vprintf,respectively, to reflect true scope of this - regression test + * [r55293] src/sig/dfft.c: + simplify by letting h and ? go to 'default' -2012-05-29 23:03 crdueck +2013-05-02 15:47 carlmoore - * [r50749] src/librt/primitives/tor/tor.c: - adds centroid function to tor + * [r55292] src/librt/tests/test_ssi.cpp: + remove trailing blanks/tabs -2012-05-29 22:58 crdueck +2013-05-02 14:56 n_reed - * [r50748] src/libbu/fgets.c, src/libbu/lex.c: - accidentally added to many files in r50747 + * [r55291] src/conv/step/OpenNurbsInterfaces.cpp: + more readable variable names; don't unitize direction vectors per + bn_isect_line3_line3 documentation -2012-05-29 22:51 crdueck +2013-05-02 14:44 erikgreenwald - * [r50747] src/libbu/fgets.c, src/libbu/lex.c, - src/librt/primitives/tor/tor.c: - adds volume function to tor + * [r55290] src/other/poly2tri/poly2tri/poly2tri.h, + src/other/poly2tri/poly2tri/sweep/advancing_front.h, + src/other/poly2tri/poly2tri/sweep/sweep.h: + add newlines to end of files -2012-05-29 22:41 crdueck +2013-05-01 21:09 brlcad - * [r50746] src/librt/primitives/tor/tor.c: - adds surface area function to tor + * [r55289] NEWS: + richard improved/fixed the gqa command in r52355 so that regions + with zero hits which are in the overlap list are not reported as + having zero hits. -2012-05-29 22:24 n_reed +2013-05-01 20:53 carlmoore - * [r50745] src/other/step/src/cldai/sdaiBinary.cc, - src/other/step/src/cleditor/STEPfile.inline.cc, - src/other/step/src/clstepcore/STEPattribute.h: - Remove a few unnecessary extern declarations. SCL git aef6e73, - 5c8c5aa, 15f9c40. + * [r55288] src/sig/dfft.c: + oops, was looking for both stdin & stdout w/r to isatty; move + back to earlier location (removing a set of braces), and also fix + usage of -? -2012-05-29 22:17 crdueck +2013-05-01 20:50 carlmoore - * [r50744] src/mged/animedit.c: - 'joint holds' no longer crashes MGED, reports error message - instead. still doesnt work properly though + * [r55287] src/liboptical/sh_prj.c: + fix type warnings -2012-05-29 19:40 crdueck +2013-05-01 20:44 brlcad - * [r50743] src/mged/animedit.c: - removed references to f_jtest(), fixing r50742 + * [r55286] src/librt/primitives/nmg/nmg_rt_segs.c: + use %p to print pointers -2012-05-29 19:30 crdueck +2013-05-01 20:40 brlcad - * [r50742] src/mged/animedit.c: - removed unused 'joint test' subcommand + * [r55285] src/proc-db/csgbrep.cpp: + it's evident that it's still running, just say the output file. -2012-05-29 19:06 n_reed +2013-05-01 19:32 carlmoore - * [r50741] src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/cleditor/STEPfile.h, - src/other/step/src/cleditor/STEPfile.inline.cc: - Have STEPfile::schemaName return std::string instead of writing - char* arg. SCL git b8fc557. + * [r55284] src/conv/nmg/asc-nmg.c: + try to implement no-argument situation -2012-05-29 16:10 starseeker +2013-05-01 19:31 carlmoore - * [r50740] CMakeLists.txt: - Alter umask test to use POSIX -S output, per suggestion from - Sean. + * [r55283] src/conv/dbupgrade.c: + shift duplicate code from if-else, remove unneeded 'if (reverse + )' from an 'else', and shift logic around to avoid unnecessary + creation of output file -2012-05-29 15:29 starseeker +2013-05-01 19:14 carlmoore - * [r50739] CMakeLists.txt: - Whoops, stray line + * [r55282] src/sig/dfft.c: + use spaces, not tabs -2012-05-29 15:19 starseeker +2013-05-01 18:49 carlmoore - * [r50738] CMakeLists.txt: - Check a variety of known 'OK' umask settings - avoids invalid - matches to the regex like 0222 (thanks Sean.) + * [r55281] src/sig/dfft.c: + additions to the Usage -2012-05-29 14:56 starseeker +2013-05-01 18:43 bob1961 - * [r50737] CMakeLists.txt: - As it turns out, umask settings do have some impact on - CMake/CPack builds. While CMake's install process does not - directly make use of umask, the temporary files staged in the - build directory do. The install process in turn makes use of the - permissions set on those files. It does not appear to be possible - to set umask from the CMake build itself, so instead warnings are - generated if the umask setting looks problematic. + * [r55280] src/librt/primitives/metaball/metaball.c: + Minor tweak to rt_metaball_get. -2012-05-29 13:58 erikgreenwald +2013-05-01 18:31 carlmoore - * [r50736] NEWS: - mention rotate bug being fixed + * [r55279] src/sig/ddisp.c: + shift the isatty test further up (no point in processing the + options if this fails), and add '< inputfile' to the usage -2012-05-29 13:57 erikgreenwald +2013-05-01 18:02 carlmoore - * [r50735] src/rt/view.c: - fix call to icv writepixel where x and y were swapped. This fixes - the bug where 'just changing the size' rotated the image 90 - degrees, with -s <= 96 switching to MODE_UNBUF and touching this - line. + * [r55278] src/liboptical/material.c, src/liboptical/photonmap.c: + fix types -2012-05-29 12:48 erikgreenwald +2013-05-01 17:51 carlmoore - * [r50734] NEWS, sh/CMakeLists.txt, sh/Makefile.am, - sh/ios-icons.sh: - Add shell script to generate icons suitable for IOS (Apple - mobile) applications + * [r55277] src/libfb/fb_paged_io.c: + fix type (needed long unsigned) -2012-05-29 12:45 phoenixyjll +2013-05-01 17:45 carlmoore - * [r50733] src/librt/primitives/eto/eto_brep.cpp: - eto_endvertex_pt was set but not used before. + * [r55276] src/libfb/fb_generic.c: + fix type (need long unsigned) -2012-05-29 12:17 phoenixyjll +2013-05-01 14:57 phoenixyjll - * [r50732] src/librt/primitives/brep/brep_debug.cpp, - src/proc-db/csgbrep.cpp: - Use BN_DIST_TOL to replace the hard coded 0.0005. And set - revolve.r and revolve.ang in csgbrep.cpp. + * [r55275] src/librt/tests/test_ssi.cpp: + Use the sketch primitive to represent 2D intersection curves. -2012-05-29 12:14 phoenixyjll +2013-05-01 04:08 brlcad - * [r50731] src/libged/brep.c: - Check whether brep is converted successfully. (A failure will - return a NULL pointer like the conversion of old.s82 and old.s79 - in m35.g) + * [r55274] include/bu.h: + no longer searches share/brlcad/VERSION by default, searches + DATA_DIR and share -2012-05-29 05:15 phoenixyjll +2013-04-30 20:53 n_reed - * [r50730] sh/conversion.sh: - change the suffix brep2 to brep + * [r55273] src/conv/step/IntersectionCurve.cpp: + implement LoadONBrep for intersection curves -2012-05-29 03:55 brlcad +2013-04-30 18:14 bob1961 - * [r50729] AUTHORS: - credit mesut (aka kane) with his sf patch 3527658 (refactor and - manage libbn tolerance uses by providing an interface default - (e.g., an init macro) and making everyone use that where it is - hardcoded to 0.0005 presently). comes to brl-cad from gsoc. + * [r55272] src/libged/get_type.c: + Updated ged_get_type to recognize metaballs. -2012-05-29 02:58 brlcad +2013-04-30 18:12 bob1961 - * [r50728] AUTHORS: - credit alex taylor for his code contribution applied from sf - patch 3530033 related to his gsoc participation. note the other - recent gsoc/socis students too. + * [r55271] src/tclscripts/archer/PipeEditFrame.tcl: + Minor cleanup of PipeEditFrame::initEditState -2012-05-29 02:48 brlcad +2013-04-30 14:38 phoenixyjll - * [r50727] src/librt/primitives/sph/sph.c: - since they're not documented, remove the 0.0001 magic tolerance - values with tighter hardware-centric tolerances via EQUAL() - testing. + * [r55270] src/librt/tests/test_ssi.cpp: + Use the CVs as vertexes of the pipe, some clean up, and print + information of the intersection curves. -2012-05-29 02:44 brlcad +2013-04-30 13:58 carlmoore - * [r50726] src/librt/primitives/ell/ell.c: - remove the 0.0001 magic tolerance values. instead, use the - default tolerance used within EQUAL(), which should be near what - the hardware is capable of distinguishing. better would probably - be to use a bn_tol->dist. + * [r55269] src/liboptical/sh_light.c: + fix warning about long unsigned -2012-05-29 02:38 brlcad +2013-04-30 13:52 carlmoore - * [r50725] src/librt/primitives/revolve/revolve_brep.cpp: - the plane isn't used (or deallocated), so remove it (and quell - the compilation verbage) + * [r55268] src/librt/primitives/nmg/nmg_rt_segs.c: + fix warning about 'long int' format -2012-05-29 02:32 brlcad +2013-04-29 20:43 carlmoore - * [r50724] src/librt/primitives/ell/ell.c: - apply sf patch 3530033 from Al_Da_Best ( aldabest ) - 'Adding - centroid and surface area for ellipsoid primitive' though the - patch now only adds surface area since someone else beat him to - the centroid function. the patch was slightly modified for strict - compilation and still has a problem using fabs() and a hard-coded - 0.0001 magic tolerance value, but can't fault him too much for - that error since someone else apparently introduced that bad - practice in the bbox routine. + * [r55267] src/sig/dconv.c: + simplify the programming, and push 'N =' and 'L =' downward -2012-05-28 10:25 phoenixyjll +2013-04-29 20:33 carlmoore - * [r50723] sh/conversion.sh: - Add implicit to brep conversion to conversion.sh. + * [r55266] src/sig/dconv.c: + add 'file' because the code is looking at that argument as a file + name -2012-05-28 04:21 brlcad +2013-04-29 20:09 carlmoore - * [r50722] src/librt/primitives/ell/ell.c: - apply sf patch 3528940 from crdueck that adds an function to find - centroid of an ell (it's the v parameter) + * [r55265] src/librt/primitives/nmg/nmg_tri_mc.c: + fix warning about long unsigned -2012-05-28 04:03 brlcad +2013-04-29 17:31 bob1961 - * [r50721] AUTHORS: - credit sachin jain with his patch from last year (sf patch - 3275742 - Fix 'analyze' command output formatting) applied in - r48889 and sparking more work in that area by tom browder. + * [r55264] src/tclscripts/archer/ArcherCore.tcl: + Added aliases for blast, draw and erase (i.e. B, e and d, + respectively). -2012-05-27 20:45 tbrowder2 +2013-04-29 16:54 bob1961 - * [r50720] src/libbu/vls_vprintf.c: - modify and expand specification, remove underscore from internal - function names + * [r55263] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl, + src/tclscripts/lib/CMakeLists.txt, + src/tclscripts/lib/apply_mat.tcl, src/tclscripts/lib/pattern.tcl, + src/tclscripts/lib/pattern_gui.tcl, src/tclscripts/lib/tclIndex, + src/tclscripts/mged/CMakeLists.txt, + src/tclscripts/mged/apply_mat.tcl, + src/tclscripts/mged/pattern.tcl, + src/tclscripts/mged/pattern_gui.tcl, + src/tclscripts/mged/tclIndex: + Modified mged's pattern tool for use in Archer. Moved the + relevant files from tclscripts/mged to tclscripts/lib. -2012-05-27 20:30 tbrowder2 +2013-04-28 20:13 starseeker - * [r50719] src/libbu/vls_vprintf.c: - add target specifications for bu_vls_vprintf + * [r55262] TODO: + poly2tri needs to be more polite when fed bad input - should just + fail and move on, not bring down the application. -2012-05-27 20:09 tbrowder2 +2013-04-26 23:53 starseeker - * [r50718] src/libbu/vls_vprintf.c: - correct comment + * [r55261] src/librt/tests/test_ssi.cpp: + Per Code Conventions section in hacking, don't use straight-up + strcpy and strcat. Go with vls strings instead. To run the check + for these cases, build the 'regress-repository' target - e.g. + 'make regress-repository' -2012-05-27 20:09 tbrowder2 +2013-04-26 21:52 carlmoore - * [r50717] src/libbu/vls_vprintf.c: - move struct and its reset function to the top + * [r55260] src/sig/dconv.c: + reformat the warning -2012-05-27 19:41 tbrowder2 +2013-04-26 15:45 bob1961 - * [r50716] src/libbu/vls_vprintf.c: - move vars to file scope, change some back to macros because - initializers aren't constant + * [r55259] src/tclscripts/archer/ArcherCore.tcl: + Minor tweak to ArcherCore::make -2012-05-27 19:23 tbrowder2 +2013-04-26 15:42 bob1961 - * [r50715] src/libbu/CMakeLists.txt, src/libbu/Makefile.am, - src/libbu/vls.c, src/libbu/vls_internals.h, - src/libbu/vls_vprintf.c: - split function bu_vls_vprintf into its own src file, put common - vls data into a new internal header, modify build structure - accordingly + * [r55258] src/tclscripts/lib/Ged.tcl: + Updated GED_RAD2DEG to use the value found in vmath.h. Also added + GED_DEG2RAD. -2012-05-27 14:54 brlcad +2013-04-26 13:02 bob1961 - * [r50714] src/gtools/g_diff.c: - rename kill to killit to avoid a shadow warning on mac 10.4 - (reported by _fkr via irc) + * [r55257] src/tclscripts/mged/pattern.tcl: + Update MGED's pattern tool by fixing pattern_cyl so that it + accomodates the advertised -lr option. -2012-05-27 13:23 brlcad +2013-04-26 12:41 bob1961 - * [r50713] include/rtgeom.h: - apply the patch file from crdueck's sf patch 3528940 - (ell_centroid) that documents the ell parameters. + * [r55256] src/tclscripts/mged/pattern.tcl: + This fixes a bug in MGED's pattern tool when using the cylinder + pattern. -2012-05-27 01:10 tbrowder2 +2013-04-26 11:27 bob1961 - * [r50712] src/libbu/vls.c: - change macros to local const ints + * [r55255] src/tclscripts/vmath.tcl: + Added RAD2DEG as well as more precision to the value of DEG2RAD. + Note - adding RAD2DEG fixes a bug in the pattern tool. -2012-05-27 00:00 tbrowder2 +2013-04-26 10:03 phoenixyjll - * [r50711] doc/README.Linux: - freeglut not required based on last test with Linux Mint LMDE + * [r55254] src/librt/tests/test_ssi.cpp: + Remove the unnecessary conversion and debugging outputs. -2012-05-26 23:59 tbrowder2 +2013-04-26 09:43 phoenixyjll - * [r50710] HACKING: - fix typo + * [r55253] src/librt/tests/test_ssi.cpp: + Eliminate the compiling problems in Linux. -2012-05-26 19:17 tbrowder2 +2013-04-26 09:15 phoenixyjll - * [r50709] doc/deprecation.txt: - clarify instructions for the obsolete step + * [r55252] src/librt/tests/CMakeLists.txt, + src/librt/tests/test_ssi.cpp: + Add a test program to test the SSI functionality. + P.S. It seems there's a bug in the draw command in MGED on pipe + primitives. -2012-05-26 19:03 brlcad +2013-04-25 21:33 r_weiss - * [r50708] src/libbu/parse.c: - remove the struct parse table support for '%S' since vls was just - removed. + * [r55251] src/other/libregex/regex.h: + Bug fix to "regex.h" for the bundled "libregex" to allow it to + build on Linux 32bit. -2012-05-26 19:00 brlcad +2013-04-25 21:10 carlmoore - * [r50707] doc/deprecation.txt: - NEWS is only for (non-developer) user-visible changes. annotate - %S change to obsolete in doc/deprecation.txt + * [r55250] src/util/dbcp.c: + supply D as a possible option, because the messages which have + been furnished mention it -2012-05-26 19:00 brlcad +2013-04-25 20:20 carlmoore - * [r50706] NEWS: - NEWS is only for (non-developer) user-visible changes. annotate - %S change to obsolete in doc/deprecation.txt + * [r55249] src/sig/dauto2.c: + rearrange blank lines for closer comparison with dauto.c source + code -2012-05-26 18:27 tbrowder2 +2013-04-25 19:45 n_reed - * [r50705] NEWS: - notified users of removal of formerly deprecated and now obsolete - %S bu_vls format specifier + * [r55248] src/conv/step/SurfaceCurve.cpp: + looks like t_pcurve_or_surface is the select type, and the + underlying type should be one of pcurve or surface -2012-05-26 18:26 tbrowder2 +2013-04-25 16:51 bob1961 - * [r50704] src/libbu/test_vls.c: - commented out %S test, retained for use in soon-to-come - bu_vls_vprintf mods + * [r55247] src/tclscripts/archer/ShaderEdit.tcl: + Just a bit of cleanup. -2012-05-26 18:25 tbrowder2 +2013-04-25 16:50 bob1961 - * [r50703] src/libbu/vls.c: - removed obsolete bu_vls %S format specifier + * [r55246] src/tclscripts/lib/Ged.tcl: + Added validate2TupleNonZeroDigits and validate3TupleDoubles to + cadwidgets::Ged -2012-05-26 18:23 tbrowder2 +2013-04-25 15:08 starseeker - * [r50702] src/libbu/vls.c: - converted all flag variables in function bu_vls_vprintf to be - contained in a special struct; added a reset function for them + * [r55245] src/other/poly2tri/poly2tri/sweep/sweep_context.cc: + Don't make a zero lenght edge (i.e. the x and y points are + identical) - avoids a crash -2012-05-26 17:55 tbrowder2 +2013-04-25 14:45 n_reed - * [r50701] doc/README.Linux: - update requirements based on more testing with Linux Mint LWDE - 32-bit + * [r55244] src/conv/step/SurfaceCurve.cpp, + src/conv/step/TrimmedCurve.cpp: + Technically can't get an SDAI_Select out of a STEPaggregate, only + a SelectAggregate; fix casts to reflect reality. Also, delete + unloaded objects rather than storing them (see r55219). -2012-05-26 14:28 brlcad +2013-04-25 14:08 bob1961 - * [r50700] src/rt/rtexample.c: - apply spelling corrections from sf patch 3529931 by anuragmurty + * [r55243] src/tclscripts/archer/ShaderEdit.tcl: + Added support for the following shaders in Archer: + texture(color), texture(b/w), bump and extern. -2012-05-26 14:25 brlcad +2013-04-25 13:35 erikgreenwald - * [r50699] src/libbu/test_bitv.c: - there's not bu_strcpy() but there is bu_strlcpy(). using strcpy() - will cause regression testing to fail due to HACKING restrictions - on using unsafe libc functions. + * [r55242] TODO: + mention the togl replacement intent -2012-05-26 14:17 brlcad +2013-04-25 03:34 brlcad - * [r50698] src/libbu/test_bitv.c, src/libbu/test_booleanize.c, - src/libbu/test_quote.c, src/libbu/test_vls.c: - ws cleanup, run sh/ws.sh + * [r55241] NEWS: + Roßberg fixed a memory leak in the pipe primitive where nobody + ever implemented the rt_pipe_free() function to actually release + memory. now does the deed. -2012-05-26 11:20 tbrowder2 +2013-04-25 03:31 brlcad - * [r50697] src/libbu/test_bitv.c: - ws, style + * [r55240] NEWS: + bob fixed a bug / expanded support in r52470 to better support + multiple monitors under linux. for setups not using xinerama or + some other mechanism for treating multiple hardware displays as + one big virtual display, this fix makes it work even if X is + configured to treat them separately, returning the proper visual + for the right screen. -2012-05-26 11:11 tbrowder2 +2013-04-25 03:23 brlcad - * [r50696] src/libbu/test_bitv.c: - bu_strcpy not found, use libc version + * [r55239] src/libged/model2view.c: + browder noticed that these two can be combined, simplifies even + further. -2012-05-25 20:29 brlcad +2013-04-25 03:20 brlcad - * [r50695] AUTHORS: - add gsoc coder anurag murty for his sf patch 3527405 (Unit test - has been written for src/libbu/bitv.c) that got applied by - rossberg in r50684 + * [r55238] src/util/decimate.c: + call bu_exit() and avoid setting an expression boolean to a + variable -2012-05-25 19:03 starseeker +2013-04-25 03:10 brlcad - * [r50694] src/other/tk/CMakeLists.txt: - This might be why TK_ENABLE_XFT was incorrectly ON, but needs - testing. + * [r55237] src/util/cv.c: + if one section gets curlies, the other should too -2012-05-25 18:42 tbrowder2 +2013-04-25 03:09 brlcad - * [r50693] src/libbu/test_vls.c: - add more tests; provide for known failures during development + * [r55236] NEWS: + nick improved the step-g importer in 55219 fixing a segfault and + allowing the converter to handle more varied inputs -2012-05-25 18:17 brlcad +2013-04-24 21:56 carlmoore - * [r50692] src/libbu/vls.c: - move %S back down. it wasn't some long string format. it was like - %V is now, used everywhere in our code for printing our bu_vls - strings. + * [r55235] src/sig/dauto2.c: + provide '>outputfile' here too -2012-05-25 17:31 starseeker +2013-04-24 21:45 carlmoore - * [r50691] src/libbu/test_bitv.c: - Use bu functions - might want to run make regress-repository when - working on this file... + * [r55234] src/sig/dauto.c: + compare to damdf.c and shift one 'include'; also, add + '>outputfile' to usage -2012-05-25 16:59 tbrowder2 +2013-04-24 21:42 carlmoore - * [r50690] src/libbu/vls.c: - move S conversion specifier to more appropriate place, modify - comment to reflect correct alternative solution + * [r55233] src/sig/damdf.c: + remove a newline in damdf.c -2012-05-25 16:55 starseeker +2013-04-24 21:06 carlmoore - * [r50689] src/librt/primitives/revolve/revolve_brep.cpp: - tol is used now + * [r55232] src/sig/damdf.c: + add '>' reference because program terminates if EITHER stdout or + stdin is a tty -2012-05-25 16:51 starseeker +2013-04-24 20:19 starseeker - * [r50688] misc/CMake/BRLCAD_CheckFunctions.cmake: - remove debugging message + * [r55231] src/librt/tests/CMakeLists.txt: + Can build nurbs_tester on Windows now, turn back on. -2012-05-25 16:42 tbrowder2 +2013-04-24 19:56 starseeker - * [r50687] src/libbu/vls.c: - add two more helper functions for bu_vls_vprintf; comment out - temporarily to prevent unused warning/error + * [r55230] HACKING: + Make a stab at fixing the URLs for the svn repository in HACKING -2012-05-25 16:25 tbrowder2 +2013-04-24 19:38 starseeker - * [r50686] src/libbu/vls.c: - add local helper function for bu_vls_vprintf + * [r55229] TODO: + Independent confirmation of this as a problem would be good - the + wireframe drawing for spheres seems to have problems when the + sphere is small and not close to the origin? -2012-05-25 16:17 tbrowder2 +2013-04-24 19:28 starseeker - * [r50685] include/bu.h: - correct referenced function name + * [r55228] src/librt/tests/nurbs_surfaces.g: + Increase radius on spheres illustrating example points. -2012-05-25 15:33 d_rossberg +2013-04-24 18:58 starseeker - * [r50684] src/libbu/CMakeLists.txt, src/libbu/Makefile.am, - src/libbu/test_bitv.c: - apply sourceforge parch 3527405 (test_bitv4.patch) from anrgmrty: - "Unit test for testing of src/libbu/bitv.c has been written with - appropriate changes to CMakelists.txt and Makefile.am" + * [r55227] src/libbu/brlcad_path.c: + path variable is only used by code within the ifdef - put the + variable definition in there as well. -2012-05-25 13:18 phoenixyjll +2013-04-24 18:56 n_reed - * [r50683] src/librt/primitives/revolve/revolve_brep.cpp: - Deal with non-full revolution of revolve. Create two surfaces in - that case. - -2012-05-24 22:57 n_reed - - * [r50682] src/other/step/src/cleditor/cmdmgr.cc, - src/other/step/src/cleditor/cmdmgr.h, - src/other/step/src/cleditor/instmgr.h, - src/other/step/src/clstepcore/ExpDict.h, - src/other/step/src/clstepcore/ExpDict.inline.cc, - src/other/step/src/clstepcore/Registry.inline.cc, - src/other/step/src/clstepcore/STEPcomplex.cc, - src/other/step/src/clstepcore/collect.cc, - src/other/step/src/clstepcore/complexSupport.h, - src/other/step/src/clstepcore/complexlist.cc, - src/other/step/src/clstepcore/entlist.cc, - src/other/step/src/clstepcore/entnode.cc, - src/other/step/src/clstepcore/multlist.cc, - src/other/step/src/clstepcore/non-ors.cc, - src/other/step/src/clstepcore/orlist.cc: - apply SCL git e72ca29; remove some superfluous boolean types and - use std bool more often - -2012-05-24 21:43 tbrowder2 - - * [r50681] src/libbu/vls.c: - ws - -2012-05-24 21:40 tbrowder2 - - * [r50680] src/libbu/vls.c: - combine decl with initialization - -2012-05-24 21:36 tbrowder2 - - * [r50679] src/libbu/vls.c: - combine decl with initialization - -2012-05-24 21:31 tbrowder2 - - * [r50678] src/libbu/vls.c: - tidy one comment, move another - -2012-05-24 21:26 tbrowder2 - - * [r50677] src/libbu/vls.c: - add comment - -2012-05-24 21:24 tbrowder2 - - * [r50676] src/libbu/vls.c: - more idiomatic - -2012-05-24 21:18 tbrowder2 - - * [r50675] src/libbu/vls.c: - use a var for clarity and ease of maintenance - -2012-05-24 21:10 tbrowder2 - - * [r50674] src/libbu/vls.c: - typo in comment expansion - -2012-05-24 21:09 tbrowder2 - - * [r50673] src/libbu/vls.c: - style, ws - -2012-05-24 21:06 tbrowder2 - - * [r50672] src/libbu/vls.c: - ws - -2012-05-24 21:03 tbrowder2 - - * [r50671] src/libbu/vls.c: - expand comment for clarity - -2012-05-24 20:59 tbrowder2 - - * [r50670] src/libbu/vls.c: - add another valid char possibility - -2012-05-24 20:56 tbrowder2 - - * [r50669] src/libbu/vls.c: - eliminate unnecessary check - -2012-05-24 20:53 tbrowder2 - - * [r50668] src/libbu/vls.c: - align vars, correct spacing, clarify comment - -2012-05-24 20:50 tbrowder2 - - * [r50667] src/libbu/vls.c: - clarify comment - -2012-05-24 20:48 tbrowder2 - - * [r50666] src/libbu/vls.c: - reorder vars for ease of maintenance - -2012-05-24 20:45 tbrowder2 - - * [r50665] TODO: - 32-bit vls failure fixed with rev 50664, confirmed on 32-bit - Linux Mint LMDE - -2012-05-24 19:58 tbrowder2 - - * [r50664] src/libbu/vls.c: - don't clear length flags for 'l' or 'h' UNTIL we check for - doubling--this should fix the 32-bit failure - -2012-05-24 19:50 tbrowder2 - - * [r50663] src/libbu/vls.c: - remove spurious spaces - -2012-05-24 19:47 tbrowder2 - - * [r50662] src/libbu/vls.c: - reorder length mod defs, add new length group - -2012-05-24 19:38 tbrowder2 - - * [r50661] src/libbu/vls.c: - correct position of comment - -2012-05-24 19:34 tbrowder2 - - * [r50660] src/libbu/vls.c: - move all length modifier checks to end of format specifier parse, - add comment to that effect - -2012-05-24 19:30 tbrowder2 - - * [r50659] src/libbu/vls.c: - eliminate check for field type here (even though it's a hybrid - length modifier) - -2012-05-24 19:26 tbrowder2 - - * [r50658] src/libbu/vls.c: - add another legitimate snprintf flag charcacter - -2012-05-24 19:24 tbrowder2 - - * [r50657] src/libbu/vls.c: - reformat for ease of seeing boolean choices - -2012-05-24 19:22 tbrowder2 - - * [r50656] src/libbu/vls.c: - correct operator for combining flags - -2012-05-24 19:00 tbrowder2 - - * [r50655] src/libbu/test_vls.c: - add new tests, some format tidying - -2012-05-24 16:23 n_reed - - * [r50654] src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/cleditor/STEPfile.h, - src/other/step/src/cleditor/seeinfodefault.h: - Apply changes from SCL git 4858af2 removing code supporting step - files (N279 files) that pre-date ISO 10303-21:1994. - -2012-05-24 15:26 starseeker - - * [r50653] CMakeLists.txt, misc/CMake/BRLCAD_CheckFunctions.cmake: - This should improve the behavior and robustness of the type - checking macro in BRL-CAD. While we're at it, make the variable - names automatic and deduced from the type itself. - -2012-05-24 13:22 d_rossberg - - * [r50652] include/bn.h, src/libbn/bntester.c, src/libbn/plane.c, - src/libbn/tcl.c: - apply sourceforge parch 3527658 (libbn_refactor_tolerance.diff) - from kane_: "refactor and manage libbn tolerance uses by - providing an interface default (e.g., an init macro) and making - everyone use that where it is hardcoded to 0.0005 presently" - -2012-05-24 12:12 d_rossberg - - * [r50651] src/conv/CMakeLists.txt, src/conv/Makefile.am, - src/conv/raw, src/conv/raw/Bot.cpp, src/conv/raw/Bot.h, - src/conv/raw/CMakeLists.txt, src/conv/raw/Makefile.am, - src/conv/raw/RegionList.cpp, src/conv/raw/RegionList.h, - src/conv/raw/raw-g.cpp: - a raw (simple ASCII bag of triangles) to g geometry converter - -2012-05-24 03:39 phoenixyjll - - * [r50650] src/librt/primitives/revolve/revolve_brep.cpp, - src/librt/primitives/sketch/sketch_brep.cpp: - The old version creates a circle just on the xy plane. Now it's - created on the sketch plane. - -2012-05-24 03:15 phoenixyjll - - * [r50649] src/librt/primitives/extrude/extrude_brep.cpp: - Changed the position of the sketch in extrude according to the - parameters. - Some comment is added to make it clear. - -2012-05-23 21:06 tbrowder2 - - * [r50648] regress/vls.sh: - make more readable, add info on both log files in event of error - -2012-05-23 20:59 bob1961 - - * [r50647] src/libtclcad/tclcad_obj.c: - Calling bu_sscanf instead of sscanf. This eliminates more windows - specific problems. - -2012-05-23 20:57 bob1961 - - * [r50646] src/libbu/sscanf.c: - Special case for size_t on windows. - -2012-05-23 20:56 starseeker - - * [r50645] misc/CMake/BRLCAD_CheckFunctions.cmake: - Add _T suffix to SIZEOF vars - -2012-05-23 20:48 tbrowder2 - - * [r50644] regress/vls.sh, src/libbu/quote.c, - src/libbu/test_quote.c, src/libbu/test_vls.c, src/libbu/vls.c, - src/tclscripts/mged/openw.tcl: - undoing bad commit rev 50643 - -2012-05-23 20:10 tbrowder2 - - * [r50643] regress/vls.sh, src/libbu/quote.c, - src/libbu/test_quote.c, src/libbu/test_vls.c, src/libbu/vls.c, - src/tclscripts/mged/openw.tcl: - make more readable, add info on both log files in event of error - -2012-05-23 15:55 phoenixyjll - - * [r50642] src/librt/primitives/revolve/revolve_brep.cpp: - Changed the plane origin of the sketch. - -2012-05-23 15:10 phoenixyjll - - * [r50641] src/librt/primitives/revolve/revolve_brep.cpp: - Fixed the wrong revolution axis: the endpoint should be - v3d+axis3d. Further modifications are still needed. - -2012-05-23 15:10 starseeker - - * [r50640] src/libbu/test_booleanize.c: - distcheck failure - use of strcmp - -2012-05-23 14:22 phoenixyjll - - * [r50639] src/librt/primitives/pipe/pipe_brep.cpp: - A small change from double to fastf_t. - -2012-05-23 13:21 tbrowder2 - - * [r50638] regress/vls.sh: - make name consistency a little more robust - -2012-05-23 12:51 tbrowder2 - - * [r50637] regress/vls.sh: - correct name of error log - -2012-05-23 11:04 bob1961 - - * [r50636] src/tclscripts/lib/Ged.tcl: - Clear mLastDataIndex after data move. - -2012-05-23 03:00 tbrowder2 - - * [r50635] src/libbu/test_vls.c: - add another vls regression test - -2012-05-22 22:03 brlcad - - * [r50634] TODO: - made edits to skt_ed.tcl without testing, make sure it still - works -- particularly for the user-reported failure case: circles - -2012-05-22 21:54 tbrowder2 - - * [r50633] doc/README.Linux: - add more info on required packages for Debian-based systems - -2012-05-22 19:53 n_reed - - * [r50632] src/other/step/src/cleditor/SdaiHeaderSchemaClasses.h: - apply header guard symbol change from SCL git d1cd32b - -2012-05-22 18:52 n_reed - - * [r50631] src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes_misc.c, - src/other/step/src/fedex_plus/classes_wrapper.cc, - src/other/step/src/fedex_plus/multpass.c, - src/other/step/src/fedex_plus/selects.c: - apply rest of SCL git 290850a: change output suffix of aggregate - select types from 's' to '_agg' - -2012-05-22 17:58 n_reed - - * [r50630] src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes.h, - src/other/step/src/fedex_plus/selects.c: - apply more changes from SCL git 290850a: cleanup some multiple - inheritance code - passing around attribute list to print - routines instead of rebuilding it - -2012-05-22 15:36 bob1961 - - * [r50629] src/libtclcad/tclcad_obj.c: - Change bu_vls_printf format strings use of %llu to %zu. This - fixes a recent breakage on Windows. - -2012-05-22 05:06 phoenixyjll - - * [r50628] src/librt/primitives/pipe/pipe_brep.cpp: - Add some control to deal with special cases and add a few - comments. - -2012-05-21 23:06 starseeker - - * [r50627] regress/CMakeLists.txt, regress/rtwizard, - regress/rtwizard.sh, regress/rtwizard/rtwizard_test1_ref.asc.gz: - Put a framework for regression testing rtwizard in place. Need to - assemble more tests - just one example for now. - -2012-05-21 21:07 starseeker - - * [r50626] src/tclscripts/rtwizard/rtwizard.tcl: - Support framebuffer specifications without the space for rt - compatibility - -2012-05-21 20:53 brlcad - - * [r50625] src/librt/primitives/pipe/pipe_brep.cpp: - ran ws.sh, massive trailing ws - -2012-05-21 20:52 starseeker - - * [r50624] src/tclscripts/util/getopt.tcl: - Allow negative numbers as values instead of treating them as - flags. - -2012-05-21 20:37 starseeker - - * [r50623] src/tclscripts/rtwizard/rtwizard.tcl: - Add an option to specify the view center. Between this option, - the aet options, and zoom it should be possible to re-create most - (all?) raytracing views - -2012-05-21 20:23 starseeker - - * [r50622] src/tclscripts/rtwizard/rtwizard.tcl: - argv arguments are now being handled by getopt for rtwizard or - not at all. clear argv after processing to avoid accidental - additional processing attempts. - -2012-05-21 16:38 phoenixyjll - - * [r50621] src/librt/primitives/pipe/pipe_brep.cpp: - Deal with duplicated points. Delete duplicated points from the - linklist of pipe. - -2012-05-21 13:55 phoenixyjll - - * [r50620] src/librt/primitives/pipe/pipe_brep.cpp: - Fixed the bug of wrong id & od for pipe, by changing some prevp - to curp. - -2012-05-18 21:16 starseeker - - * [r50619] src/libbu/parse.c: - looks like a typo? - -2012-05-18 21:14 brlcad - - * [r50618] src/tclscripts/mged/skt_ed.tcl: - qualify all of the calls to the dist proc as being in the - top-level namespace. apparently if you qualify one in a proc, but - not others, some version(s) of tcl assume the non-qualified one - are for a non top-level scope even if a local one doesn't exist. - problem reported by Csanyi Pal via brlcad-users mailing list - trying to use sketch editor. - -2012-05-18 21:01 brlcad - - * [r50617] src/libbu/parse.c: - go ahead and still make the comparison case insensitive. thanks - to Stattrav (via irc) for pinpointing the cause of sphflake - failure introduced by r50582. - -2012-05-18 20:58 brlcad - - * [r50616] src/libbu/parse.c: - Revert r50582 as it was just wrong. 'shader' is the whole string, - not just the name. - -2012-05-18 20:13 brlcad - - * [r50615] src/librt/primitives/ell/ell.c: - apply sf patch 3515075 (rt_ell_surface_area) from crdueck adding - support for calculating ellipsoid surface areas. - -2012-05-18 16:07 bob1961 - - * [r50614] src/libtclcad/tclcad_obj.c: - Added calls to glPixelStorei(GL_PACK_ALIGNMENT, 1) in both - to_png() and to_pix(). - -2012-05-18 14:10 bob1961 - - * [r50613] src/libtclcad/tclcad_obj.c: - More simplification of to_png() and to_pix(). - -2012-05-18 13:57 bob1961 - - * [r50612] src/tclscripts/lib/Ged.tcl: - Added cadwidgets::Ged::pix. - -2012-05-18 13:55 bob1961 - - * [r50611] src/libtclcad/tclcad_obj.c: - Simplified to_png(). Added to_pix(). Not tested on Windows. - -2012-05-18 05:24 phoenixyjll - - * [r50610] src/librt/primitives/hyp/hyp_brep.cpp: - Fixed the direction of shearing the hyp. - -2012-05-18 03:30 brlcad - - * [r50609] NEWS: - tom added an italian translation of the intro to brl-cad. do not - know who the original author is. my records indicate it dates - back to at least sometime before july 2007 but is an unattributed - contribution. files had not identifying markers and no other - record in my logs all the way back to 2004. - -2012-05-18 03:01 starseeker - - * [r50608] src/tclscripts/rtwizard/rtwizard.tcl: - remove debugging puts statement - -2012-05-18 02:38 starseeker - - * [r50607] NEWS: - rtwizard now properly supports PNG output from all of its image - types. Bob's new tcl proc cadwidgets::RtImage is the heart of the - new features. - -2012-05-18 00:56 starseeker - - * [r50606] src/tclscripts/rtwizard/rtwizard.tcl: - Ah - just needed to crank it into the initial view setup - -2012-05-18 00:53 starseeker - - * [r50605] src/tclscripts/rtwizard/rtwizard.tcl: - Add option for perspective, although it doesn't seem to interact - well with zoom for some reason - -2012-05-18 00:45 starseeker - - * [r50604] src/tclscripts/rtwizard/lib/PictureTypeBase.itcl, - src/tclscripts/rtwizard/lib/tclIndex: - Remove some unused commands - -2012-05-18 00:40 starseeker - - * [r50603] src/tclscripts/rtwizard/lib/PictureTypeF.itcl: - And last but not least, type F images - -2012-05-18 00:38 starseeker - - * [r50602] src/tclscripts/rtwizard/lib/PictureTypeD.itcl: - Fix background color for type D picture - -2012-05-18 00:29 starseeker - - * [r50601] src/tclscripts/rtwizard/lib/PictureTypeE.itcl: - Picture type E converted - -2012-05-18 00:19 starseeker - - * [r50600] src/tclscripts/rtwizard/lib/PictureTypeB.itcl, - src/tclscripts/rtwizard/lib/PictureTypeC.itcl, - src/tclscripts/rtwizard/lib/PictureTypeD.itcl: - Make picture types B, C and D use rtimage - -2012-05-17 23:26 starseeker - - * [r50599] src/tclscripts/rtwizard/lib/PictureTypeA.itcl, - src/tclscripts/rtwizard/lib/PictureTypeBase.itcl: - Preview is just a smaller version of full scale, and they both - need the same rtimage calling logic. Refactor to reduce code - duplication - -2012-05-17 22:06 n_reed - - * [r50598] src/other/step/src/fedex_plus/classes.c: - Add collectAttributes function based on the one added by SCL git - 290850a. - -2012-05-17 21:57 starseeker - - * [r50597] src/tclscripts/rtwizard/lib/FbPage.itk, - src/tclscripts/rtwizard/lib/PictureTypeA.itcl, - src/tclscripts/rtwizard/lib/PictureTypeBase.itcl: - Start transitioning rtwizard pages over to using rtimage script. - There is probably some intermediate breakage while this - progresses - -2012-05-17 20:26 brlcad - - * [r50596] NEWS: - tom added an italian translation of the intro to brl-cad. not - sure if he's the original author but the commit didn't indicate - otherwise so going with that assumption. - -2012-05-17 20:23 r_weiss - - * [r50595] include/raytrace.h: - Updated "raytrace.h" to change the definition of function - "db5_sync_attr_to_comb" to pass in the directory instead of the - combination name. - -2012-05-17 20:20 r_weiss - - * [r50594] src/libged/red.c: - Updated function "build_comb" in file "libged/red.c". Changed the - call to function "db5_sync_attr_to_comb" to pass in the directory - instead of the combination name. - -2012-05-17 20:18 r_weiss - - * [r50593] src/librt/db5_types.c, src/librt/db_tree.c: - Updated function "db5_sync_attr_to_comb" in file - "librt/db5_types.c". Changed the name input to the directory - structure. This was necessary so that the directory "d_flags" - region bit could be set/unset based on the "region" attribute. - Before this change, when using the mged "red" command to - add/remove attribute "region=R", the mged "attr show" command - would not indicate the change even though the attribute - "region=R" was successfully added or removed. Updated function - "db_recurse" in file "librt/db_tree.c". Changed the call to - function "db5_sync_attr_to_comb" to pass in the directory instead - of the combination name. - -2012-05-17 20:03 brlcad - - * [r50592] NEWS: - cliff added support to rtwizard so that it'll write out a png - file from the framebuffer. if the filename indicates a png - extension, it's used and otherwise still defaults to pix. - previously, richard also added preliminary support for png output - to just the ghost image with insert (type e) output mode. - -2012-05-17 20:00 brlcad - - * [r50591] HACKING: - move the discussion about branches out of the secion on commit - access and into the sections on organization. similarly, clean up - the testing section to avoid superfluous information. - -2012-05-17 19:54 brlcad - - * [r50590] NEWS: - the archer bot selection gui lets the user pick what bot they - want to edit by displaying a combobox. the list was previously - unsorted, now sorted. r49182 - -2012-05-17 19:52 brlcad - - * [r50589] NEWS: - tom browder expanded the bb command help for mged, filling in - synopsis, options, and more. r48146 - -2012-05-17 18:44 starseeker - - * [r50588] src/tclscripts/rtwizard/RaytraceWizard.tcl, - src/tclscripts/rtwizard/rtwizard.tcl: - rtwizard.tcl is doing the sanity insurance for dbFile - -2012-05-17 18:39 bob1961 - - * [r50587] src/libtclcad/tclcad_obj.c: - The previous fix to call glReadPixels with GL_RGB instead of - GL_RGBA was flawed. This fixes the problem that was seen in - to_png(). - -2012-05-17 18:31 starseeker - - * [r50586] src/tclscripts/rtwizard/rtwizard.tcl: - Do something slightly more intelligent about fbserv ports - also, - have a use for a verbose flag now... - -2012-05-17 18:07 brlcad - - * [r50585] BUGS: - out of date dm bugs seem to be no longer an issue - -2012-05-17 16:58 n_reed - - * [r50584] src/other/step/src/cldai/sdaiString.cc, - src/other/step/src/clstepcore/read_func.cc, - src/other/step/src/clstepcore/sdaiApplication_instance.cc, - src/other/step/src/clutils/Str.cc, - src/other/step/src/clutils/Str.h: - Apply changes based on SCL git 6e9b5a7. Creates GetLiteralStr - function to implement and extend functionality common to - SDAI_String::STEPread and PushPastString. - -2012-05-17 16:12 cprecup - - * [r50583] src/libbu/test_booleanize.c: - Fixed the style and formatting - -2012-05-17 15:24 brlcad - - * [r50582] src/libbu/parse.c: - use BU_STR_EQUIV for case-insensitive checking when a shader - string includes stack or envmap. - -2012-05-17 15:21 brlcad - - * [r50581] NEWS: - nick added support in r47659 for braces around shader parameters, - e.g. "plastic {sp .5 di .5}" as well as "plastic sp=.5 di=.5" to - help improve usability and interaction with the mater command. - -2012-05-17 15:16 brlcad - - * [r50580] NEWS: - nick improved the obj-g importer making it more robustly handle - bad geometry. more specifically, if faceuse creation fails, it'll - now propagate that failure and skip those faces (instead of - propagating bad geometry). fixed in r48312. - -2012-05-17 15:13 brlcad - - * [r50579] NEWS: - numerous enhancements were made to NMG processing during the - coverity defect fixing including book-keeping fixes (incrementing - pointer instead of value), memory allocation problems, logic - problems, and more. - -2012-05-17 15:07 brlcad - - * [r50578] NEWS: - tom browder fixed memory leaks in the comgeom-g importer. nick - also fixed a couple memory leak errors detected by coverity. as a - single-use-then-exit tool, the impact of the memory leaks is - minor, but potentially user-visible if there are lots of geometry - import failures (for whatever reason). - -2012-05-17 15:03 brlcad - - * [r50577] NEWS: - nick fixed a bug in the conversion of ascii hyp objects into .g - format where it would fall-through and try to create an eto of - the same name. this undoubtedly resulted in either a crash, - (likely) error message saying it couldn't make the eto, or eto - replacing the hyp. fixed due to coverity cid 335, in r48532. - -2012-05-17 14:59 brlcad - - * [r50576] NEWS: - nick fixed a bug in the keypoint selection of extrude geometry - while fixing a coverity-detected invalid array index (cid 426) - -2012-05-17 13:45 brlcad - - * [r50575] configure.ac: - need libz even if we build opennurbs ourselves - -2012-05-17 11:50 bob1961 - - * [r50574] src/tclscripts/lib/Ged.tcl: - Added cadwidgets::Ged::perspective_all - -2012-05-17 11:48 bob1961 - - * [r50573] src/tclscripts/archer/Archer.tcl, - src/tclscripts/archer/ArcherCore.tcl: - Added a perspective angle preference. - -2012-05-16 18:08 starseeker - - * [r50572] src/tclscripts/rtwizard/rtwizard.tcl: - Add a perspective slot to the rtimage call - zero for now, but - need to add the perspective option to rtwizard command line. - -2012-05-16 17:56 starseeker - - * [r50571] src/librt/primitives/eto/eto_brep.cpp: - Apply patch 3526551 from Wu Jianbang fixing eto implicit to brep - conversion behavior. - -2012-05-16 16:45 bob1961 - - * [r50570] src/libged/perspective.c, src/libtclcad/tclcad_obj.c: - Don't need to compute the perspective matrix in - tclcad_obj.c/go_draw() (i.e. use the previously computed - gv_pmodel2view). Mod ged_perspective() to calculate gv_pmat if - gv_perspective is greater than 0. - -2012-05-16 16:05 bob1961 - - * [r50569] src/tclscripts/lib/RtImage.tcl: - Missed a perspective usage. Call fb-pix at the end of the color - object section. - -2012-05-16 13:08 bob1961 - - * [r50568] src/tclscripts/lib/Ged.tcl: - Minor mod to cadwidgets::get::make_image_local (i.e. need to call - perspective with a view). - -2012-05-16 11:55 bob1961 - - * [r50567] src/tclscripts/lib/Ged.tcl, - src/tclscripts/lib/RtImage.tcl: - Added a perspective parameter to cadwidgets::Ged::make_image, - cadwidgets::Ged::make_image_local and cadwidgets::rtimage. Also - added an extra rtedge call for color objects that are edged in - cadwidgets::rtimage. - -2012-05-16 11:51 erikgreenwald - - * [r50566] src/libbu/CMakeLists.txt, src/libbu/Makefile.am, - src/libbu/booleanize.c, src/libbu/test_booleanize.c: - Apply patch for tracker ID 3519874. Adds a test program for - booleanize as well as fixing a bug in the implementation of - booleanize. - https://sourceforge.net/tracker/index.php?func=detail&aid=3519874&group_id=105292&atid=640804 - -2012-05-16 04:44 brlcad - - * [r50565] NEWS: - nick fixed a bug in the anim_keyread and anim_orient animation - tools in r49407 fixing a coverity-detected swapped argument bug. - looks like the bug should be evident if one tried to set an xyz - /ypr view. also affects anim_lookat. - -2012-05-16 04:35 brlcad - - * [r50564] NEWS: - the same swapped arguments bug seen in some of the animation - tools is also true in libged/mged commands such as this one, ypr. - detected by coverity, fixed by nick. - -2012-05-16 04:24 brlcad - - * [r50563] NEWS: - nick fixed a bug in the anim_keyread and anim_orient animation - tools in r49407 fixing a coverity-detected swapped argument bug. - looks like the bug should be evident if one tried to set an xyz - view angle. - -2012-05-16 02:56 brlcad - - * [r50562] NEWS: - nick fixed a bug in the make_pnts command where the input - datafile wasn't being released. this is particularly problematic - on windows and other platforms that do not relinquish the file. - r49409. - -2012-05-15 22:04 n_reed - - * [r50561] src/other/step/src/clstepcore/STEPaggregate.cc, - src/other/step/src/clstepcore/read_func.cc, - src/other/step/src/clstepcore/sdai.h, - src/other/step/src/clutils/Str.h: - consolidate definitions of STRING_DELIM - -2012-05-15 21:34 brlcad - - * [r50560] AUTHORS: - credit cristina precup for her booleanize patch #3519874 (unit - test for the file src/libbu/booleanize.c) partially applied in - r50558 - -2012-05-15 21:16 brlcad - - * [r50559] src/libpkg/tpkg.c: - use TPKG_BUFSIZE here too - -2012-05-15 20:58 erikgreenwald - - * [r50558] src/libbu/booleanize.c: - Apply fix to '0' test from sf tracker patch 3519874 (cprecup's - test_booleanize). - -2012-05-15 19:40 n_reed - - * [r50557] src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/clstepcore/sdaiApplication_instance.cc, - src/other/step/src/clstepcore/sdaiSelect.cc, - src/other/step/src/clstepcore/sdaiSelect.h, - src/other/step/src/clutils/errordesc.cc, - src/other/step/src/clutils/errordesc.h, - src/other/step/src/fedex_plus/classes_wrapper.cc: - Apply changes from SCL git 1016b07. Use std::string more - frequently and move ErrorDescriptor message strings to stack to - simplify things. - -2012-05-15 19:05 starseeker - - * [r50556] src/other/lemon/lemon.c: - While we're at it, pull the latest lemon.c file - -2012-05-15 19:03 starseeker - - * [r50555] src/other/lemon/lempar.c: - if yyRuleName isn't defined, don't try to sizeof it. - -2012-05-15 19:00 brlcad - - * [r50554] src/fbserv/server.c: - restructure to avoid forward declarations. make all of the - callback functions static. - -2012-05-15 13:34 erikgreenwald - - * [r50553] src/adrt/isst_tcltk.c: - Isst_Init() is the name used by FreeBSD, Linux and MacOSX. Add a - comment breadcrumb mentioning that Issttcltk_Init() might be - required for certain platforms. - -2012-05-15 13:20 erikgreenwald - - * [r50552] src/adrt/CMakeLists.txt: - put library in lib/ instead of lib/isst0.1/ so require can find - it - -2012-05-15 12:59 brlcad - - * [r50551] AUTHORS: - credit ksenija silvko (ksuzee) with her sf code reduction - patches, one recently applied to isst/adrt with others pending. - -2012-05-15 12:56 brlcad - - * [r50550] AUTHORS: - chris and wu made code contributions, attribute correctly - -2012-05-15 12:52 brlcad - - * [r50549] src/adrt/isst_tcltk.c: - apply Ksenija Slivko's ( ksuzee ) sf patch 3526862 removing the - duplicitous Isst_Init() function. Issttcltk_Init() is identical - and actually called. - -2012-05-15 11:52 erikgreenwald - - * [r50548] TODO: - mention VLS %lld regress failure - -2012-05-15 04:32 brlcad - - * [r50547] NEWS: - add a line item for the conversion of implicit geometry into - boundary representation format now that they are predominantly - all implemented and seem to be working well (as seen by csgbrep - conversion testing and brep mged command). 95+% all cliff with - some support from wu on fixing up ehy, ell, hyp and 'brep' - command. also, a smidgen from yours truly fixing various memory - management bugs and stabbing in the initial solid bspline->brep - conversion. - -2012-05-15 00:37 starseeker - - * [r50546] src/librt/primitives/ehy/ehy_brep.cpp, - src/librt/primitives/ell/ell_brep.cpp, - src/librt/primitives/hyp/hyp_brep.cpp: - Apply brep patches from 3513288 - slight alteration to the hyp - patch which seems to result in correct raytracing of the hyp, - although it probably needs a bit more checking to make sure all - the surfaces are facing the right way. - -2012-05-14 21:23 brlcad - - * [r50545] NEWS: - keith fixed a surprising bug in the relatively new BoT mesh TIE - rendering bug where segments were being lost during - rt_bot_makesegs. it was using a hit_vpriv array that TIE was - never filling in, used for cleaning up odd hits, exiting before - entrance, and dangling entrace cases. this consequently was - related to another issue where hit segments were off by 1.01 - units. - -2012-05-14 21:17 brlcad - - * [r50544] NEWS: - keith fixed a surprising bug in the relatively new BoT mesh TIE - rendering bug where segments were being lost during - rt_bot_makesegs. it was using a hit_vpriv array that TIE was - never filling in, used for cleaning up odd hits, exiting before - entrance, and dangling entrace cases. - -2012-05-14 21:13 brlcad - - * [r50543] NEWS: - keith improved nurbs raytracing (fixing the segment lists being - returned to analysis codes) when we're shooting from inside nurbs - geometry. before, it was ignoring hits from behind. r50167 makes - them look at those too so the negative hit point is properly - returned. - -2012-05-14 21:10 brlcad - - * [r50542] TODO: - need to bump (most, but probably not all) libs version number .. - for any whose headers have changed - -2012-05-14 20:59 brlcad - - * [r50541] TODO: - red has failed too many times. new failures such as r50521 - necessitate a regression test. - -2012-05-14 20:57 brlcad - - * [r50540] src/libged/red.c: - shouldn't muddle our own terminology with redundancy. regions and - groups are combinations. (plus the serial comma was missing and - the usage implied an option null set) - -2012-05-14 20:54 brlcad - - * [r50539] NEWS: - richard fixed a region demotion bug in the mged 'red' command - (really, another bug? regression should test/catch this...) where - a region was being having the region-flag unset. - -2012-05-14 20:41 brlcad - - * [r50538] NEWS: - cliff added support to rtwizard so that (at least in command-line - mode) it'll write out a png file from the framebuffer. if the - filename indicates a png extension, it's used and otherwise still - defaults to pix. - -2012-05-14 20:36 brlcad - - * [r50537] NEWS: - credit wu jianbang (aka phoenix) with an initial code - contribution that added support to the brep command for - converting existing primitives to brep form. (sf patch 3515194 - applied slightly tweaked in r50529 by starseeker). gsoc2012. - -2012-05-14 20:33 brlcad - - * [r50536] AUTHORS: - credit wu jianbang (aka phoenix) with an initial code - contribution that added support to the brep command for - converting existing primitives to brep form. (sf patch 3515194 - applied in r50529 by starseeker). thanks wu! - -2012-05-14 19:31 starseeker - - * [r50535] src/tclscripts/rtwizard/rtwizard.tcl: - Want to pop up the GUI if all we have is the .g file specified - -2012-05-14 19:04 starseeker - - * [r50534] doc/docbook/system/man1/en/rtwizard.xml: - Make some updates to the rtwizard man page. - -2012-05-14 16:43 starseeker - - * [r50533] src/tclscripts/rtwizard/rtwizard.tcl: - If an output file is specified but doesn't have a pix or png - extension, assume pix - -2012-05-14 13:46 starseeker - - * [r50532] src/tclscripts/rtwizard/rtwizard.tcl: - rename a few variables - -2012-05-14 12:56 starseeker - - * [r50531] src/tclscripts/rtwizard/rtwizard.tcl: - Use 'C' for color - -2012-05-14 12:49 starseeker - - * [r50530] src/tclscripts/rtwizard/rtwizard.tcl: - Make RtWizard namespace more explicitly toplevel, add extra check - to make sure we have a proposed output file before doing the file - exists test. - -2012-05-13 00:14 starseeker - - * [r50529] src/libged/brep.c, - src/librt/primitives/brep/brep_debug.cpp: - Apply a slight tweak of patch 3515194 from Wu Jianbang (phoenix) - to add support to the brep command for converting existing - primitives to brep form. - -2012-05-12 15:55 starseeker - - * [r50528] doc/docbook/system/mann/en/CMakeLists.txt, - doc/docbook/system/mann/en/rtwizard.xml: - rtwizard isn't an MGED command line command - -2012-05-12 13:45 starseeker - - * [r50527] src/tclscripts/rtwizard/rtwizard.tcl: - If we aren't going to be able to create the out file we need, - bail early instead of wiping out during raytracing. - -2012-05-12 12:21 starseeker - - * [r50526] src/tclscripts/rtwizard/rtwizard.tcl: - Add png ouput support, make the option handling a bit smarter - - can spot .g, .pix and .png file specifiers without needing -i and - -o options (although setting input and output files with the - options overrules no-option specifiers) and treats any remaining - unknown args as full color specifiers. Net result is rtwizard - feels a bit more like rt until you start adding on extra options, - although -F/dev/X still needs to be -F /dev/X with rtwizard for - now. - -2012-05-12 11:42 starseeker - - * [r50525] src/tclscripts/rtwizard/rtwizard.tcl: - Fully specify RtWizard namespace as a child of the toplevel - namespace in getopt variables - -2012-05-11 20:30 starseeker - - * [r50523] src/tclscripts/rtwizard/rtwizard.tcl: - The real beginning of rtwizard command line support. Can specify - a variety of options on the command line, although this may not - be the final form of all the options and the man page will need - to be synced with the actual options. Currently none of the - command line options can be used to initialize GUI options, but - that level of integration should be possible. - -2012-05-11 20:30 r_weiss - - * [r50522] src/libged/editit.c: - Fixed a bug in function '_ged_editit' in file 'editit.c'. There - was an array which was not initialized causing intermittent - errors and seg-faults. - -2012-05-11 20:26 r_weiss - - * [r50521] src/libged/red.c: - Updated function 'ged_red' in file 'red.c'. Fixed a bug where - regions were incorrectly being automatically converted to - combinations when editied with the mged 'red' command. Fixed bugs - in the mged 'red' command input parameter error checking. - Improved some of the error messages in the mged and archer 'red' - command. - -2012-05-11 20:06 r_weiss - - * [r50520] src/mged/utility1.c: - Updated function 'f_red' in file 'utility1.c'. This change fixes - a bug where error messages were not displayed from the mged 'red' - command. - -2012-05-11 19:33 brlcad - - * [r50519] NEWS: - richard expanded mged's 'l' list command documentation with - details on the -t (terse) and -r (recursive) options. also the - same for the listeval command (where -t also means terse output) - -2012-05-11 19:30 brlcad - - * [r50518] NEWS: - richard expanded mged's 'l' list command documentation with - details on the -t (terse) and -r (recursive) options. - -2012-05-11 19:16 brlcad - - * [r50517] TODO: - suprising this hasn't been provided by now, but add an option for - reading angles as radians or degrees. most of our tools take - degree angles but could just as easily take both. avoid 'R' since - it implies radius, but perhaps a 'rad' and 'deg' suffix would - help. probably best implemented as a libbn function. - -2012-05-11 18:59 bob1961 - - * [r50516] src/tclscripts/archer/ArcherCore.tcl: - Update ArcherCore::attr to not set the saveflag when calling the - "get" or "show" subcommands. - -2012-05-11 18:36 brlcad - - * [r50515] NEWS: - richard added a new -m1 option to mged for drawing BoTs in shaded - mode if OpenGL support is enabled (along with lighting and - z-buffering), including user documentation. - -2012-05-11 18:31 brlcad - - * [r50514] NEWS: - cliff added new command-line support to rtwizard including added - new manual page documentation. included are a variety of options - that provide a way to avoid the need for graphically picking - components. not yet fully non-graphical, but moving in support of - that end for regression testing. - -2012-05-11 17:36 brlcad - - * [r50513] HACKING: - prompted by browder's mailing list inquiry and linux release - naming disconformity, include a new section on patching a - release. includes details on version numbering. uses the - versiontriplet-count convention in order to match the existing - linux binary release files and to avoid ambiguity, especially - since we already have a 'PATCH' version number that increments - sequentially. - -2012-05-11 16:28 brlcad - - * [r50512] HACKING: - summarize the release process more clearly with the underlying - rationale. the emphasis isn't monthly iteration, so make the - steps clear on requirements for sync/tag and announcing release - intentions. include a copy-pasteable mail notification and - improve some of the other steps so they can similarly be - copy-pasted. get the last release rev and set MAJOR/MINOR/PATCH - for tagging. - -2012-05-11 15:12 starseeker - - * [r50511] src/tclscripts/rtwizard/RaytraceWizard.tcl, - src/tclscripts/rtwizard/rtwizard.tcl, - src/tclscripts/util/getopt.tcl: - Make a couple things into package requireable packages and add a - couple other tweaks to make pkg_mkIndex happy - hopefully this - eliminates the error being reported trying to source getopt.tcl - -2012-05-11 14:09 bob1961 - - * [r50510] src/tclscripts/lib/CMakeLists.txt, - src/tclscripts/lib/Ged.tcl, src/tclscripts/lib/RtImage.tcl, - src/tclscripts/lib/pkgIndex.tcl: - Split out the guts of cadwidgets::Ged::make_image into - cadwidgets::rtimage. - -2012-05-11 02:20 brlcad - - * [r50509] NEWS: - tom browder fixed a bug in the comgeom-g importer that was - causing a problem due to improper memory deallocation after - mk_ars(). - -2012-05-11 02:10 brlcad - - * [r50508] NEWS: - cliff fixed a bug in rtedge where it was giving a permission - denied error due to a double-open call. the double-open was - somehow fine before the conversion to bu_image/icv_image but was - now giving an "open: Permission denied" error. fix was to - eliminate the second open call. - -2012-05-10 23:43 starseeker - - * [r50507] src/rt/viewedge.c: - icv_image_save_open is already called by do.c:795, resulting in a - failure to open the file when viewedge.c attempts to call it - again. Difference looks to be ICV_IMAGE_AUTO_NO_PIX vs - ICV_IMAGE_AUTO between the two calls - looking at - fileformat.c:278 the only difference is the icv_image_save_open - command will not default to returning a pix file if it doesn't - recognize the image format via extension. Unless there is a good - reason for rtedge to be a special case, this behavior should - probably be consistent across the rt commands one way or the - other. - -2012-05-10 21:06 n_reed - - * [r50506] src/other/step/src/clstepcore/ExpDict.cc, - src/other/step/src/clstepcore/ExpDict.inline.cc, - src/other/step/src/clstepcore/Registry.h, - src/other/step/src/clstepcore/Registry.inline.cc, - src/other/step/src/clstepcore/STEPaggregate.cc, - src/other/step/src/clstepcore/STEPaggregate.h, - src/other/step/src/clstepcore/STEPattribute.cc, - src/other/step/src/clstepcore/STEPattribute.h, - src/other/step/src/clstepcore/STEPattribute.inline.cc, - src/other/step/src/clstepcore/STEPcomplex.h, - src/other/step/src/clstepcore/collect.cc, - src/other/step/src/clstepcore/complexSupport.h, - src/other/step/src/clstepcore/complexlist.cc, - src/other/step/src/clstepcore/entlist.cc, - src/other/step/src/clstepcore/entnode.cc, - src/other/step/src/clstepcore/match-ors.cc, - src/other/step/src/clstepcore/multlist.cc, - src/other/step/src/clstepcore/non-ors.cc, - src/other/step/src/clstepcore/orlist.cc, - src/other/step/src/clstepcore/print.cc, - src/other/step/src/clstepcore/read_func.cc, - src/other/step/src/clstepcore/read_func.h, - src/other/step/src/clstepcore/sdai.cc, - src/other/step/src/clstepcore/trynext.cc: - Cleanup in clstepcore. SCL git 239ce49 and f9b9383. - -2012-05-10 21:06 brlcad - - * [r50505] NEWS: - tom browder fixed memory leaks in the comgeom-g importer. as a - single-use tool, the impact is minor, but potentially - user-visible if there are lots of geometry import failures (for - whatever reason). - -2012-05-10 21:00 brlcad - - * [r50504] src/rt/viewedge.c: - revert r50298 that just commented out the file open call. the - file is still conditionally written to so this very likely broke - the -o output option and/or will cause a crash. regardless, - creating new dead code without a documented reason/explanation is - wrong too. - -2012-05-10 20:45 brlcad - - * [r50503] HACKING: - it's been a while since one has been introduced, so expand - details on using global variables. be clear that we should not be - adding new globals to libraries and discourage use within - applications. note two dominant alternative solutions. - -2012-05-10 20:31 brlcad - - * [r50502] src/libtclcad/tclcad.c, src/libtclcad/tclcad_obj.c, - src/libtclcad/tclcad_private.h: - rename tclcad_initialized() to library_initialized() since it is - not public API. add doxy comments and fix new file copyright - year. - -2012-05-10 20:26 brlcad - - * [r50501] src/libtclcad/tclcad.c, src/libtclcad/tclcad_obj.c: - don't mark the library as initialized until after we're done - initializing (in case anyone ever tries to use the library from a - multithreaded context) - -2012-05-10 20:24 brlcad - - * [r50500] src/libtclcad/tclcad.c, src/libtclcad/tclcad_obj.c, - src/libtclcad/tclcad_private.h: - we should not be introducing new globals in libraries. their cost - is far too great, are exceptionally error-prone, inherently - unsafe, and they pollute the API. convert to an initialization - function holding the flag instead. - -2012-05-10 20:09 brlcad - - * [r50499] NEWS: - keith made some improvements to the flatness testing (for grazing - hits) that should improve performance, give better curve - estimates, and handle joined trimmed edges better. a little - slower, but more robust with less speckling. - -2012-05-10 20:02 brlcad - - * [r50498] NEWS: - bob fixed a bug in libfb ogl/wgl framebuffers where overlay - renderings were failing to be shown. notably seen with - rtedge/rtwizard rendering where the back buffer of the - double-buffered context wasn't being drawn during overlay. - -2012-05-10 19:57 brlcad - - * [r50497] NEWS: - richard added an mged script command 'lc' for listing sets of - codes (attributes) of regions within a combination. attributes - listed include region_id, materia-id, los, and the region name. - unset is reported as '--' and is default sorted by region id with - options for sorting by any column. command is a tcl script. - -2012-05-10 19:37 brlcad - - * [r50496] NEWS: - bob fixed a bug in mged's matrix edit mode where there appears to - have been an off-by-one error selecing a reference index that was - equal to the number of references. - -2012-05-10 19:13 indianlarry - - * [r50494] src/librt/primitives/brep/brep.cpp: - Added UV pushback routine that keeps the newton iterate method - from walking out of the UV domain of the SBV versus the current - version that keeps it within the surface UV. Also added code to - make sure iterate does not step back past previous point along - iteration. - -2012-05-10 18:16 brlcad - - * [r50493] NEWS: - keith made some improvements to the flatness testing (for grazing - hits) that should improve performance, give better curve - estimates, and handle joined trimmed edges better. - -2012-05-10 18:08 n_reed - - * [r50492] src/other/step/include/express/alg.h, - src/other/step/include/express/error.h, - src/other/step/include/express/object.h, - src/other/step/include/express/symbol.h, - src/other/step/src/exppp/exppp.c, - src/other/step/src/express/alg.c, - src/other/step/src/express/caseitem.c, - src/other/step/src/express/dict.c, - src/other/step/src/express/entity.c, - src/other/step/src/express/error.c, - src/other/step/src/express/expr.c, - src/other/step/src/express/express.c, - src/other/step/src/express/object.c, - src/other/step/src/express/resolve.c, - src/other/step/src/express/schema.c, - src/other/step/src/express/scope.c, - src/other/step/src/express/stmt.c, - src/other/step/src/express/symbol.c, - src/other/step/src/express/type.c, - src/other/step/src/express/variable.c, - src/other/step/src/fedex_plus/classes.c: - Fix and doxify comments, plus misc cleanup. SCL git 3e8c116, - 5dc0439, 5d36b32, and 65791a2. - -2012-05-10 17:52 indianlarry - - * [r50490] src/librt/opennurbs_ext.cpp, src/librt/opennurbs_ext.h: - Changed flatness test back to to running product of the normal - vector of the frenet frame projected onto each other normal in - the frame set. Also added early bail once flatness criteria - fails. Added straightness test in a similar manner using the - tangent from the frenet frame. Changed - getCurveEstimateOfV()/getCurveEstimateOfU() to solve using - subdivision. Added tolerence value of BREP_EDGE_MISS_TOLERANCE so - we can get NEAR misses from isTrimmed(). - -2012-05-10 17:40 bob1961 - - * [r50489] src/libtclcad/tclcad_obj.c: - Added specific bindings for releasing button-1 while in an - override mode. This eliminates events bleeding through to the - current mode. - -2012-05-10 16:06 starseeker - - * [r50486] src/tclscripts/util/Makefile.am: - sync Makefile.am - -2012-05-10 14:23 bob1961 - - * [r50484] src/tclscripts/lib/TkTable.tcl: - Added TkTable::unselectRow. - -2012-05-10 14:06 erikgreenwald - - * [r50483] src/librt/primitives/bot/tie_kdtree.c: - return the split value instead of filling a pointer and returning - void - -2012-05-10 13:03 starseeker - - * [r50482] src/libfb/CMakeLists.txt: - Opps - partial conversions don't help much. - -2012-05-10 12:47 starseeker - - * [r50481] src/libfb/CMakeLists.txt: - Whoops - use the new variable scheme for libfb too - -2012-05-10 05:24 brlcad - - * [r50480] misc/CMake/FindSTL.cmake: - the test was always failing due to i never being used. use ac/av - instead and put them to 'use' so we always return 0. - -2012-05-10 00:02 starseeker - - * [r50479] doc/docbook/system/mann/en/CMakeLists.txt, - misc/CMake/DocBook.cmake, misc/CMake/xsltproc.cmake.in: - The workaround for xsltproc's failure to place man output in the - correct location when odd pathnames are used is needed for ALL - outputs generated - was failing in the multi-file output case. - Scrap the extra macro, and instead make the extra outputs source - file properties in CMake. The standard macros then check for and - use the contents of those properties. Somewhat cleaner and should - be more robust. For the first time in a while, distcheck-full - passes on Linux with CMake. - -2012-05-09 19:20 n_reed - - * [r50478] src/other/step/src/clstepcore/ExpDict.cc: - remove some commented code - -2012-05-09 19:14 n_reed - - * [r50477] src/other/step/src/exppp/exppp.c: - SCL git de55c37, remove unused variables - -2012-05-09 15:42 starseeker - - * [r50476] misc/CMake/DocBook.cmake: - Add some quotes to DOCBOOK_EXTRA_OUTPUT - -2012-05-09 13:28 bob1961 - - * [r50475] src/tclscripts/lib/Ged.tcl: - Added the make_image (makes rtwizard types of images), - make_image_local (calls make_image with view parameters from the - local display window) and win_size (returns the width and height - of the local display window) methods. - -2012-05-09 02:32 brlcad - - * [r50474] BUGS, TODO: - crdueck tested and could not reproduce the 'attach X' bug - crashing console-mode mged. perhaps fixed during coverity cleanup - or some other patch. still warrants a quick check prior to - release, but hopefully fixed. - -2012-05-09 01:16 brlcad - - * [r50473] BUGS: - expand with additional details about the invocation bug - -2012-05-08 22:17 n_reed - - * [r50472] src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/clstepcore/STEPcomplex.cc, - src/other/step/src/clstepcore/sdaiApplication_instance.cc, - src/other/step/src/clstepcore/sdaiApplication_instance.h: - Remove P21CommentRep() and move p21Comment string to stack to - simplify things. SCL git 219957d. - -2012-05-08 20:17 starseeker - - * [r50471] regress/Makefile.am: - Try to add new outputs to Makefile.am for regression - -2012-05-08 20:14 n_reed - - * [r50470] src/other/step/src/clutils/scl_hash.cc, - src/other/step/src/clutils/scl_hash.h: - Make HASHsearch item param const. SCL git defe0dd. - -2012-05-08 20:12 starseeker - - * [r50469] regress/CMakeLists.txt, regress/g-nff.sh, - regress/iges.sh: - Odd pathname distcheck smoked out some weaknesses in the new - regression scripts. Address those, also have build logic clear - out iges test outputs. - -2012-05-08 19:53 n_reed - - * [r50468] src/other/step/src/express/resolve.c: - apply SCL git 0d9c16d, which fixes fedex_plus failure on ap203e2 - schema - -2012-05-08 19:20 n_reed - - * [r50467] src/other/step/src/clstepcore/read_func.cc: - Rewrite PushPastString to avoid two consecutive get/putback as - identified by SCL git abb3add. Also if first char on stream isn't - string delimiter, don't take it off the stream. - -2012-05-08 18:36 starseeker - - * [r50466] regress/CMakeLists.txt: - regress-quote is not ready to be added to the main regress - target. - -2012-05-08 18:13 starseeker - - * [r50465] regress/CMakeLists.txt, regress/comgeom.sh, - regress/g-nff.sh: - Make clearing out the files the responsibility of the build - logic, in keeping with other tests. Update file output names to - respect the existing convention. - -2012-05-08 17:52 starseeker - - * [r50464] regress/comgeom.sh, regress/g-nff.sh: - Ah hah. Use distinct filenames for the g-nff and comgeom tests, - so they play nice when regress in run in parallel. - -2012-05-08 14:42 starseeker - - * [r50463] misc/CMake/BRLCAD_Targets.cmake, - misc/CMake/BRLCAD_Util.cmake, src/libdm/CMakeLists.txt, - src/librt/CMakeLists.txt, src/libwdb/CMakeLists.txt, - src/mged/CMakeLists.txt: - Reorganize some functionality to reduce logic duplication, few - tweaks. Will need to test this on Windows. - -2012-05-08 12:55 starseeker - - * [r50462] misc/CMake/BRLCAD_Targets.cmake: - Ah, now I remember. Even REGEX substitution of non-alpha-numeric - characters isn't good enough - what if two paths differ only by - having different non-alpha-numeric characters? Use the IS_SUBPATH - macro created for the distcheck routines that have to deal with - similar issues. - -2012-05-08 12:17 starseeker - - * [r50461] misc/CMake/BRLCAD_Targets.cmake: - Don't use REGEX if we don't need to - -2012-05-08 10:59 starseeker - - * [r50460] misc/CMake/BRLCAD_Targets.cmake: - Sean called me on it, and he's right. Try getting the 'strip the - non-regex-friendly-chars-out-of-the-path' behavior to be more - robust... - -2012-05-08 01:23 brlcad - - * [r50459] NEWS: - bob made a change to the way libbu parses argv array elements to - allow escaping of quoted strings. this fixes a problem one would - encounter if you used rtwizard and it tried to feed multiple - occlusion objects to rtwizard. now they parse and occlude - correctly. - -2012-05-07 21:41 brlcad - - * [r50458] NEWS: - richard added new manpage documentation on the previously added - make_pnts command - -2012-05-07 21:12 r_weiss - - * [r50457] doc/docbook/system/mann/en/CMakeLists.txt: - Updated file 'CMakeLists.txt' to add documentation for mged - command 'make_pnts'. - -2012-05-07 21:08 r_weiss - - * [r50456] doc/docbook/system/mann/en/make_pnts.xml: - Added documentation for mged command 'make_pnts". Added file - 'make_pnts.xml'. - -2012-05-07 19:03 starseeker - - * [r50455] doc/docbook/system/mann/en/CMakeLists.txt, - misc/CMake/DocBook.cmake: - Hmm - more than one command ina man page means more than one - output file (with CMake not knowing in advance about the extras.) - Add a mechanism to tell CMake what to do with the extra output. - -2012-05-07 16:22 r_weiss - - * [r50454] doc/docbook/system/mann/en/CMakeLists.txt: - Updated file 'CMakeLists.txt' to add the documentation for the mged - command 'lc'. - -2012-05-07 16:21 r_weiss - - * [r50453] doc/docbook/system/mann/en/lc.xml: - Added documentation for the new mged command 'lc'. Added file - 'lc.xml'. - -2012-05-07 15:36 brlcad - - * [r50452] NEWS: - richard fixed a bug in gqa that was causing it to crash if the - requested object(s) did not exist. if rt_gettree() failed, it - continued processing and ended up crashing. now properly halts - after the error message. - -2012-05-07 14:52 r_weiss - - * [r50451] src/libged/gqa.c: - Updated the mged 'gqa' command to exit with an error message if - the object specified does not exist. This change prevents a - seg-fault. - -2012-05-05 14:30 starseeker - - * [r50450] src/other/CMakeLists.txt: - Use ON instead of 1 - -2012-05-05 11:41 starseeker - - * [r50449] src/other/CMakeLists.txt: - Make sure M_LIBRARY is tagged as advanced. - -2012-05-04 23:16 starseeker - - * [r50448] src/mged/edsol.c: - Initialize new_pt instances in edsol.c - -2012-05-04 18:40 bob1961 - - * [r50447] src/tclscripts/rtwizard/lib/PictureTypeBase.itcl: - PictureTypeBase::rtedgeCmd needs backslashes and double quotes - around the occlusion objects being passed in to rtedge. - -2012-05-04 18:37 bob1961 - - * [r50446] src/tclscripts/rtwizard/lib/FbPage.itk: - Rtwizard mods to use /dev/oglsp and /dev/wglsp (i.e. single - buffering and private memory). - -2012-05-04 18:32 bob1961 - - * [r50445] src/libbu/argv.c: - Added support for escaping double quotes in - bu_argv_from_string(). This is necessary for feeding strings to - bu_struct_parse() and fixes rtedge (i.e. couldn't specify more - than one occlusion object). - -2012-05-04 16:55 starseeker - - * [r50444] regress/comgeom.sh: - Need to quote paths in comgeom regression - -2012-05-04 02:31 starseeker - - * [r50443] src/libged/simulate/simutils.c: - Initialize to VINIT_ZERO - -2012-05-04 01:43 starseeker - - * [r50442] misc/CMake/BRLCAD_Targets.cmake: - If we're using MATCHES (and we need to here) make sure + - chracters don't cause issues. - -2012-05-03 22:15 brlcad - - * [r50441] misc/CMake/FindSTL.cmake, src/libpc/CMakeLists.txt, - src/librt/CMakeLists.txt, src/other/perplex/CMakeLists.txt, - src/other/re2c/CMakeLists.txt, - src/other/step/cmake/SCL_Utils.cmake: - rename STDCXX_LINKLIB to STDCXX_LIBRARIES to comply with cmake's - documented convention (and it can require multiple libraries like - -lm and -lc, too) - -2012-05-03 22:02 brlcad - - * [r50440] src/other/perplex/CMakeLists.txt, - src/other/re2c/CMakeLists.txt: - the conditional wasn't working, but shouldn't even be necessarily - since it's empty/unset when not found. - -2012-05-03 21:33 brlcad - - * [r50439] src/libged/rt.c: - leave a comment explaining why we use this particular magic - number. - -2012-05-03 21:31 n_reed - - * [r50438] src/other/step/src/fedex_plus/classes.h, - src/other/step/src/fedex_plus/classes_wrapper.cc: - Apply SCL git 900d94d. fedex_plus no longer generates make_schema - file. - -2012-05-03 21:28 brlcad - - * [r50437] src/libged/rt.c: - Investigating off-by-many errors in the solids regression test, - Keith noticed view script differences. Compared to Linux, Mac - viewscripts differed in the last/15th place after the decimal - point. Cliff observed calculations from cos() differing on the - 16th digit prior to being written out, undoubtedly due to subtle - implementation differences (round vs truncate) as "real" value - was nearly halfway between cos() values being calculated for - Linux and Mac. Double-precision IEEE floating point only - guarantees 15-17 digits of precision, depending on the - calculation, so using a .15 precision specifier makes our printed - value dip into unreliable territory (1+15 significant digits). By - pulling the value up to .14, we get 15 digits of precision, - identical view scripts, and the solids test passes without - differences. Looking through our history, this seems to be safe - as the value prior to printing quaternions was %.9e. Anything - from 9->14 should be safe. - -2012-05-03 21:08 n_reed - - * [r50436] src/other/step/src/clutils/scl_hash.cc, - src/other/step/src/fedex_plus/classes.c: - remove some goto statements based on SCL git a13ba21 and ecd400c - -2012-05-03 21:06 brlcad - - * [r50435] src/libged/rt.c: - sort functions in order - -2012-05-03 21:02 starseeker - - * [r50434] src/util/CMakeLists.txt: - Remove debug message - -2012-05-03 20:45 starseeker - - * [r50433] misc/CMake/BRLCAD_Targets.cmake, - src/util/CMakeLists.txt: - Fix routine for sorting include dirs, and use it for util - directory. Seems to address issue on mac with using wrong png - lib/headers. - -2012-05-03 20:28 n_reed - - * [r50432] src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/cleditor/STEPfile.h, - src/other/step/src/cleditor/STEPfile.inline.cc, - src/other/step/src/cleditor/instmgr.cc, - src/other/step/src/cleditor/instmgr.h, - src/other/step/src/clstepcore/Registry.h, - src/other/step/src/clstepcore/STEPaggregate.cc, - src/other/step/src/clstepcore/STEPattribute.h, - src/other/step/src/clstepcore/STEPattribute.inline.cc, - src/other/step/src/clstepcore/STEPcomplex.h, - src/other/step/src/clstepcore/sdaiApplication_instance.h, - src/other/step/src/clstepcore/sdaiSelect.h, - src/other/step/src/clutils/scl_hash.cc, - src/other/step/src/clutils/scl_hash.h: - ws and old comment removal from SCL git 657a283 - -2012-05-03 20:23 n_reed - - * [r50431] src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/clstepcore/ExpDict.cc, - src/other/step/src/clstepcore/STEPcomplex.cc, - src/other/step/src/clstepcore/STEPundefined.cc: - Using std::string c_str() too much and empty() not enough. SCL - git 2295e71 and b759a0e. - -2012-05-03 20:00 starseeker - - * [r50430] misc/CMake/FindSTL.cmake, src/libpc/CMakeLists.txt, - src/librt/CMakeLists.txt: - Switch to STDCXX_LINKLIB variable - -2012-05-03 19:28 starseeker - - * [r50429] configure.ac, src/other/Makefile.am: - After discussion, concensus is to require a working libpng on the - system for autotools distcheck process. Putting forth the - resources required to get libpng's autotools logic working with - our distcheck (it still doesn't as of this commit) isn't - justified give the deprecated status of BRL-CAD's autools build. - -2012-05-03 19:03 starseeker - - * [r50428] src/other/libpng/Makefile.am: - Don't worry about pngvalid with autotools build - -2012-05-03 18:11 brlcad - - * [r50427] TODO: - add some fbserv/libfb items after talking with parker on a - variety of rtwizard and rendering issues. looks like the - long-standing ogl slowness was due to double-buffering being - absurdly slow compared to the render time for small models. - -2012-05-03 17:41 starseeker - - * [r50426] CMakeLists.txt, src/other/perplex/CMakeLists.txt, - src/other/re2c/CMakeLists.txt, - src/other/step/cmake/SCL_Utils.cmake: - Try to make the stdc++ usage a matter of detection instead of - hardcoding. Untested on systems which would show the issue. - -2012-05-03 17:27 starseeker - - * [r50425] doc/README.Linux: - List some of the more commonly missing devel packages on typical - Redhat/Fedora installs that are needed for BRL-CAD building. - -2012-05-03 17:22 brlcad - - * [r50424] src/libpc/CMakeLists.txt, src/librt/CMakeLists.txt: - two of our C libs use C++ libraries, so specify the stl - dependency on their linker line in case we're going through - ccache, a C compiler, or some other configuration where we need - to explicitly link that library. needs to be abstracted in order - to support stlport, but completes a ccache build for now. - -2012-05-03 17:16 brlcad - - * [r50423] src/libpkg/pkg.c: - somehow this passed compilation earlier but pkg needs the same - compatibility fix as the rest of brl-cad for the FD_SET - __extension__ keyword causing 'asm' compilation errors - -2012-05-03 16:32 n_reed - - * [r50422] src/other/step/src/clstepcore/Registry.inline.cc, - src/other/step/src/clstepcore/STEPcomplex.cc, - src/other/step/src/clstepcore/complexSupport.h, - src/other/step/src/fedex_plus/complexSupport.h: - cpp initialization warning fixes from SCL git f727293, b6bebbb, - and 3156ea7 - -2012-05-03 15:28 n_reed - - * [r50421] src/other/step/src/clutils/scl_hash.cc, - src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes_wrapper.cc: - signed/unsigned comparison changes based on SCL git f479cf4 and - 402225e - -2012-05-03 15:27 brlcad - - * [r50420] src/other/perplex/CMakeLists.txt, - src/other/step/cmake/SCL_Utils.cmake: - more stl linkages for external deps compiling through cache or - different compilers - -2012-05-03 14:58 starseeker - - * [r50419] configure.ac, src/other/Makefile.am: - Turn libpng build back on in autotools - -2012-05-03 14:52 brlcad - - * [r50418] src/other/re2c/CMakeLists.txt: - need to specify a c++ library for the stl if we happen to be - compiling under an environment that does not automatically - include it (e.g., ccache, gcc, others). - -2012-05-03 01:29 starseeker - - * [r50417] regress/Makefile.am: - More files to clean in regress (autotools) - -2012-05-03 00:28 starseeker - - * [r50416] src/libtclcad/Makefile.am: - add tclcad_private.h header to autotools extradist - -2012-05-03 00:06 starseeker - - * [r50415] configure.ac: - Oops - couple more step items in autotools - -2012-05-02 21:25 starseeker - - * [r50414] configure.ac, src/conv/Makefile.am, - src/other/Makefile.am: - Turn off step - Nick's improvements have now made the new step-g - build process too different from the original to be worth - re-implementing in autotools - -2012-05-02 21:03 bob1961 - - * [r50413] src/mged/chgview.c: - This fixes an issue in MGED where matrix edit was broken. - -2012-05-02 20:29 starseeker - - * [r50412] src/libgcv/wfobj/CMakeLists.txt: - update wfobj CMakeLists.txt - -2012-05-02 20:17 starseeker - - * [r50411] src/libgcv/Makefile.am, src/libgcv/wfobj/Makefile.am: - finish commenting out wfobj for autotools - -2012-05-02 20:05 starseeker - - * [r50410] configure.ac: - No wfobj with autotools - -2012-05-02 19:49 starseeker - - * [r50409] src/other/libutahrle/Makefile.am, - src/other/tcl/Makefile.am, src/other/tk/Makefile.am, - src/other/tkhtml/Makefile.am, src/other/tkpng/Makefile.am: - Switch other src/other Makefile.am files to just straight-up - ignore CMake dir - -2012-05-02 15:54 n_reed - - * [r50408] src/other/step/src/clstepcore/ExpDict.cc, - src/other/step/src/clstepcore/ExpDict.h, - src/other/step/src/fedex_plus/classes.c: - apply cleanup changes from SCL git 9f83ece, 5e6ebb0, and ca50d53 - -2012-05-02 15:26 r_weiss - - * [r50407] src/tclscripts/mged/CMakeLists.txt, - src/tclscripts/mged/Makefile.am: - Updated files 'CMakeLists.txt' and 'Makefile.am' to add the tcl - script 'lc.tcl' to mged. This adds a new command called 'lc' to - mged which lists the codes (i.e. attributes) of regions within a - group. - -2012-05-02 15:18 r_weiss - - * [r50406] src/tclscripts/mged/lc.tcl: - Added tcl script 'lc.tcl' for a new mged command 'lc' to list the - region codes (i.e. attributes) within a group. - -2012-05-02 03:55 starseeker - - * [r50405] src/other/libz/Makefile.am: - zconf.h.in is no more - -2012-05-02 03:37 starseeker - - * [r50404] CMakeLists.txt: - Add a note about the FIND_LIBRARY_USE_LIB32_PATHS bug, so we know - where to look if/when the issue comes up. - -2012-05-02 03:34 starseeker - - * [r50403] src/other/incrTcl/itcl/Makefile.am, - src/other/incrTcl/itk/Makefile.am: - Just ignore all of CMake - -2012-05-02 03:32 starseeker - - * [r50402] CMakeLists.txt, misc/CMake/distcheck_autotools.cmake.in: - This looks like it might be a viable way of regularly checking - the Autotools distcheck target (at least to the extent of making - sure it doesn't error out). Right now it looks like trunk - Autotools distcheck is not happy, so this breaks distcheck-full - until that gets sorted out. - -2012-05-02 03:17 brlcad - - * [r50401] doc/deprecation.txt: - per IRC discussion in the aftermath of an autotools removal - revert, tighten up the deprecation language to specify two minor - release needing to include the deprecation notice. include an - example so it's even more explicit and not subject to - interpretation. strictly speaking, this reduces our deprecation - window by a minor but makes the policy about as tight as it can - get without being reckless or non-existent. - -2012-05-02 03:14 starseeker - - * [r50400] autogen.sh, configure.ac, misc/Makefile.am, - src/other/Makefile.am: - Fix typos in deprecation messages, more Makefile.am changes - (untested in the misc case) - -2012-05-02 02:53 starseeker - - * [r50399] Makefile.am: - Well, that's one issue already spotted - let Makefile.am know - there are no more .cmake toplevel doc files. - -2012-05-02 02:05 brlcad - - * [r50398] CMakeLists.txt, Makefile.am, autogen.sh, - bench/CMakeLists.txt, bench/Makefile.am, configure, configure.ac, - configure.cmake.sh, db/CMakeLists.txt, db/Makefile.am, - db/include/Makefile.am, doc/CMakeLists.txt, doc/Makefile.am, - doc/html/CMakeLists.txt, doc/html/Makefile.am, - doc/html/ReleaseNotes/Makefile.am, - doc/html/ReleaseNotes/Rel5.0/Makefile.am, - doc/html/ReleaseNotes/Rel5.0/Summary/Makefile.am, - doc/html/ReleaseNotes/Rel6.0/Makefile.am, - doc/html/manuals/Anim_Tutorial/Makefile.am, - doc/html/manuals/Makefile.am, - doc/html/manuals/cadwidgets/Makefile.am, - doc/html/manuals/libbu/Makefile.am, - doc/html/manuals/libdm/Makefile.am, - doc/html/manuals/librt/Makefile.am, - doc/html/manuals/mged/Makefile.am, - doc/html/manuals/mged/animmate/Makefile.am, - doc/html/manuals/shaders/Makefile.am, doc/legal/CMakeLists.txt, - doc/legal/Makefile.am, include/CMakeLists.txt, - include/Makefile.am, include/conf/Makefile.am, m4, - m4/Makefile.am, m4/args.m4, m4/ax_boost_base.m4, m4/cache.m4, - m4/compiler.m4, m4/epsilon.m4, m4/mkdirp.m4, m4/patch.m4, - m4/prefix.m4, m4/search.m4, m4/stage.m4, - misc/CMake/configure_prefix.sh, misc/CMakeLists.txt, - misc/Makefile.am, misc/enigma/CMakeLists.txt, - misc/enigma/Makefile.am, misc/libtool.m4, - misc/macosx/Makefile.am, misc/macosx/Resources/Makefile.am, - misc/macosx/Resources/ReadMe.rtfd/Makefile.am, - misc/macosx/Resources/Welcome.rtfd/Makefile.am, - misc/pkgconfig/CMakeLists.txt, misc/pkgconfig/Makefile.am, - pix/CMakeLists.txt, pix/Makefile.am, regress/CMakeLists.txt, - regress/Makefile.am, regress/mged/Makefile.am, sh/CMakeLists.txt, - sh/Makefile.am, src/CMakeLists.txt, src/Makefile.am, - src/adrt/CMakeLists.txt, src/adrt/Makefile.am, - src/anim/CMakeLists.txt, src/anim/Makefile.am, - src/archer/CMakeLists.txt, src/archer/Makefile.am, - src/archer/plugins/Commands/Makefile.am, - src/archer/plugins/Core/Makefile.am, - src/archer/plugins/Makefile.am, - src/archer/plugins/Utility/Makefile.am, - src/archer/plugins/Utility/attrGroupsDisplayUtilityP/Makefile.am, - src/archer/plugins/Utility/botUtilityP/Makefile.am, - src/archer/plugins/Wizards/Makefile.am, - src/archer/plugins/Wizards/humanwizard/Makefile.am, - src/archer/plugins/Wizards/tankwizard/Makefile.am, - src/archer/plugins/Wizards/tankwizard/images/Makefile.am, - src/archer/plugins/Wizards/tirewizard/Makefile.am, - src/brlman/CMakeLists.txt, src/brlman/Makefile.am, - src/burst/CMakeLists.txt, src/burst/Makefile.am, - src/bwish/CMakeLists.txt, src/bwish/Makefile.am, - src/canon/CMakeLists.txt, src/canon/Makefile.am, - src/conv/CMakeLists.txt, src/conv/Makefile.am, - src/conv/iges/CMakeLists.txt, src/conv/iges/Makefile.am, - src/conv/intaval/CMakeLists.txt, src/conv/intaval/Makefile.am, - src/conv/step/CMakeLists.txt, src/conv/step/Makefile.am, - src/conv/vdeck/CMakeLists.txt, src/conv/vdeck/Makefile.am, - src/external/Cubit/Makefile.am, src/external/Makefile.am, - src/external/ProEngineer/Makefile.am, - src/external/Unigraphics/Makefile.am, src/fb/CMakeLists.txt, - src/fb/Makefile.am, src/fbed/CMakeLists.txt, - src/fbed/Makefile.am, src/fbserv/CMakeLists.txt, - src/fbserv/Makefile.am, src/gtools/CMakeLists.txt, - src/gtools/Makefile.am, src/gtools/beset/Makefile.am, - src/halftone/CMakeLists.txt, src/halftone/Makefile.am, - src/irprep/CMakeLists.txt, src/irprep/Makefile.am, - src/lgt/CMakeLists.txt, src/lgt/Makefile.am, - src/libanalyze/CMakeLists.txt, src/libanalyze/Makefile.am, - src/libbn/CMakeLists.txt, src/libbn/Makefile.am, - src/libbu/CMakeLists.txt, src/libbu/Makefile.am, - src/libcursor/CMakeLists.txt, src/libcursor/Makefile.am, - src/libdm/CMakeLists.txt, src/libdm/Makefile.am, - src/libfb/CMakeLists.txt, src/libfb/Makefile.am, - src/libfft/CMakeLists.txt, src/libfft/Makefile.am, - src/libgcv/CMakeLists.txt, src/libgcv/Makefile.am, - src/libgcv/wfobj/CMakeLists.txt, src/libgcv/wfobj/Makefile.am, - src/libged/CMakeLists.txt, src/libged/Makefile.am, - src/libicv/CMakeLists.txt, src/libicv/Makefile.am, - src/libmultispectral/CMakeLists.txt, - src/libmultispectral/Makefile.am, src/liboptical/CMakeLists.txt, - src/liboptical/Makefile.am, src/liborle/CMakeLists.txt, - src/liborle/Makefile.am, src/libpc/CMakeLists.txt, - src/libpc/Makefile.am, src/libpkg/CMakeLists.txt, - src/libpkg/Makefile.am, src/librt/CMakeLists.txt, - src/librt/Makefile.am, src/librtserver/CMakeLists.txt, - src/librtserver/Makefile.am, src/libsysv/CMakeLists.txt, - src/libsysv/Makefile.am, src/libtclcad/CMakeLists.txt, - src/libtclcad/Makefile.am, src/libtermio/CMakeLists.txt, - src/libtermio/Makefile.am, src/libwdb/CMakeLists.txt, - src/libwdb/Makefile.am, src/mged/CMakeLists.txt, - src/mged/Makefile.am, src/mged/points/CMakeLists.txt, - src/mged/points/Makefile.am, src/nirt/CMakeLists.txt, - src/nirt/Makefile.am, src/nirt/sfiles/Makefile.am, - src/other/CMakeLists.txt, src/other/Makefile.am, - src/other/libpng/Makefile.am, src/proc-db/CMakeLists.txt, - src/proc-db/Makefile.am, src/remrt/CMakeLists.txt, - src/remrt/Makefile.am, src/rt/CMakeLists.txt, src/rt/Makefile.am, - src/rttherm/CMakeLists.txt, src/rttherm/Makefile.am, - src/shapes/CMakeLists.txt, src/shapes/Makefile.am, - src/sig/CMakeLists.txt, src/sig/Makefile.am, - src/tab/CMakeLists.txt, src/tab/Makefile.am, - src/tclscripts/CMakeLists.txt, src/tclscripts/Makefile.am, - src/tclscripts/archer/CMakeLists.txt, - src/tclscripts/archer/Makefile.am, - src/tclscripts/archer/images/CMakeLists.txt, - src/tclscripts/archer/images/Makefile.am, - src/tclscripts/boteditor/CMakeLists.txt, - src/tclscripts/boteditor/Makefile.am, - src/tclscripts/geometree/CMakeLists.txt, - src/tclscripts/geometree/Makefile.am, - src/tclscripts/hv3/CMakeLists.txt, - src/tclscripts/hv3/Makefile.am, - src/tclscripts/lib/CMakeLists.txt, - src/tclscripts/lib/Makefile.am, - src/tclscripts/mged/CMakeLists.txt, - src/tclscripts/mged/Makefile.am, - src/tclscripts/pl-dm/CMakeLists.txt, - src/tclscripts/pl-dm/Makefile.am, - src/tclscripts/rtwizard/CMakeLists.txt, - src/tclscripts/rtwizard/Makefile.am, - src/tclscripts/rtwizard/examples/Makefile.am, - src/tclscripts/rtwizard/examples/PictureTypeA/Makefile.am, - src/tclscripts/rtwizard/examples/PictureTypeB/Makefile.am, - src/tclscripts/rtwizard/examples/PictureTypeC/Makefile.am, - src/tclscripts/rtwizard/examples/PictureTypeD/Makefile.am, - src/tclscripts/rtwizard/examples/PictureTypeE/Makefile.am, - src/tclscripts/rtwizard/examples/PictureTypeF/Makefile.am, - src/tclscripts/rtwizard/lib/CMakeLists.txt, - src/tclscripts/rtwizard/lib/Makefile.am, - src/tclscripts/sdialogs/CMakeLists.txt, - src/tclscripts/sdialogs/Makefile.am, - src/tclscripts/sdialogs/scripts/CMakeLists.txt, - src/tclscripts/sdialogs/scripts/Makefile.am, - src/tclscripts/swidgets/CMakeLists.txt, - src/tclscripts/swidgets/Makefile.am, - src/tclscripts/swidgets/images/CMakeLists.txt, - src/tclscripts/swidgets/images/Makefile.am, - src/tclscripts/swidgets/scripts/CMakeLists.txt, - src/tclscripts/swidgets/scripts/Makefile.am, - src/tclscripts/util/CMakeLists.txt, - src/tclscripts/util/Makefile.am, src/util/CMakeLists.txt, - src/util/Makefile.am, src/vfont/CMakeLists.txt, - src/vfont/Makefile.am: - revert r50386,50391-50393 as removal of prior build system is - very premature. it was just deprecated in 7.20.0 and is supposed - to exist deprecated across three minor releases. implies 7.24.0 - would be the soonest (or 7.26.0 if interpreted strictly), and - we're not even to 7.22.0 yet. - -2012-05-02 01:48 brlcad - - * [r50397] src/rt/viewedge.c: - note why this block is commented out for now until a fix can be - made. should always annotate an #if0 block, otherwise it's a real - pain in the ass to review later. - -2012-05-02 01:45 brlcad - - * [r50396] include/raytrace.h, src/librt/db5_scan.c: - move the doxygen comments from source to header - -2012-05-02 01:44 brlcad - - * [r50395] TODO: - make sure we can call db_dirbuild() multiple times without - creating duplicate entries. - -2012-05-01 23:06 n_reed - - * [r50394] src/other/step/src/clstepcore/STEPattributeList.cc, - src/other/step/src/exppp/exppp.c, - src/other/step/src/express/expparse.y, - src/other/step/src/express/express.c, - src/other/step/src/express/hash.c, - src/other/step/src/express/object.c, - src/other/step/src/express/resolve.c, - src/other/step/src/express/variable.c, - src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes.h, - src/other/step/src/fedex_plus/classes_misc.c, - src/other/step/src/fedex_plus/multpass.c, - src/other/step/src/fedex_plus/selects.c: - fix missing types, prototypes, and returns based on SCL git - 562f4de, 6e6b8ca, 2dc4e7e, fd1d32c, 99407fb, and b5238df - -2012-05-01 22:07 starseeker - - * [r50393] src/other/libpng/Makefile.am: - Revert libpng Makefile.am to vanilla - -2012-05-01 22:01 starseeker - - * [r50392] configure, misc/CMake/configure_prefix.sh: - Tweak the header on the configure script - -2012-05-01 21:59 starseeker - - * [r50391] CMakeLists.txt, configure, configure.cmake.sh: - Rename configure.cmake.sh to configure - -2012-05-01 21:30 starseeker - - * [r50390] misc/CMake/FindX11.cmake: - Consolidate the X11 lib checks - -2012-05-01 21:16 n_reed - - * [r50389] src/other/step/src/cleditor/STEPfile.cc: - reject SCL git df8f8d5 and replace temp array with vector - -2012-05-01 21:11 starseeker - - * [r50388] misc/CMake/FindX11.cmake: - If we don't have multilib systems, assume /usr/lib is legit for - the word size specified - -2012-05-01 19:52 n_reed - - * [r50387] src/other/step/src/clstepcore/STEPcomplex.cc: - use stringstream to correctly print file id, SCL git 71b3a28 - -2012-05-01 18:26 erikgreenwald - - * [r50386] CMakeLists.txt, Makefile.am, autogen.sh, - bench/CMakeLists.txt, bench/Makefile.am, configure.ac, - db/CMakeLists.txt, db/Makefile.am, db/include/Makefile.am, - doc/CMakeLists.txt, doc/Makefile.am, doc/html/CMakeLists.txt, - doc/html/Makefile.am, doc/html/ReleaseNotes/Makefile.am, - doc/html/ReleaseNotes/Rel5.0/Makefile.am, - doc/html/ReleaseNotes/Rel5.0/Summary/Makefile.am, - doc/html/ReleaseNotes/Rel6.0/Makefile.am, - doc/html/manuals/Anim_Tutorial/Makefile.am, - doc/html/manuals/Makefile.am, - doc/html/manuals/cadwidgets/Makefile.am, - doc/html/manuals/libbu/Makefile.am, - doc/html/manuals/libdm/Makefile.am, - doc/html/manuals/librt/Makefile.am, - doc/html/manuals/mged/Makefile.am, - doc/html/manuals/mged/animmate/Makefile.am, - doc/html/manuals/shaders/Makefile.am, doc/legal/CMakeLists.txt, - doc/legal/Makefile.am, include/CMakeLists.txt, - include/Makefile.am, include/conf/Makefile.am, m4, - misc/CMakeLists.txt, misc/Makefile.am, - misc/enigma/CMakeLists.txt, misc/enigma/Makefile.am, - misc/libtool.m4, misc/macosx/Makefile.am, - misc/macosx/Resources/Makefile.am, - misc/macosx/Resources/ReadMe.rtfd/Makefile.am, - misc/macosx/Resources/Welcome.rtfd/Makefile.am, - misc/pkgconfig/CMakeLists.txt, misc/pkgconfig/Makefile.am, - pix/CMakeLists.txt, pix/Makefile.am, regress/CMakeLists.txt, - regress/Makefile.am, regress/mged/Makefile.am, sh/CMakeLists.txt, - sh/Makefile.am, src/CMakeLists.txt, src/Makefile.am, - src/adrt/CMakeLists.txt, src/adrt/Makefile.am, - src/anim/CMakeLists.txt, src/anim/Makefile.am, - src/archer/CMakeLists.txt, src/archer/Makefile.am, - src/archer/plugins/Commands/Makefile.am, - src/archer/plugins/Core/Makefile.am, - src/archer/plugins/Makefile.am, - src/archer/plugins/Utility/Makefile.am, - src/archer/plugins/Utility/attrGroupsDisplayUtilityP/Makefile.am, - src/archer/plugins/Utility/botUtilityP/Makefile.am, - src/archer/plugins/Wizards/Makefile.am, - src/archer/plugins/Wizards/humanwizard/Makefile.am, - src/archer/plugins/Wizards/tankwizard/Makefile.am, - src/archer/plugins/Wizards/tankwizard/images/Makefile.am, - src/archer/plugins/Wizards/tirewizard/Makefile.am, - src/brlman/CMakeLists.txt, src/brlman/Makefile.am, - src/burst/CMakeLists.txt, src/burst/Makefile.am, - src/bwish/CMakeLists.txt, src/bwish/Makefile.am, - src/canon/CMakeLists.txt, src/canon/Makefile.am, - src/conv/CMakeLists.txt, src/conv/Makefile.am, - src/conv/iges/CMakeLists.txt, src/conv/iges/Makefile.am, - src/conv/intaval/CMakeLists.txt, src/conv/intaval/Makefile.am, - src/conv/step/CMakeLists.txt, src/conv/step/Makefile.am, - src/conv/vdeck/CMakeLists.txt, src/conv/vdeck/Makefile.am, - src/external/Cubit/Makefile.am, src/external/Makefile.am, - src/external/ProEngineer/Makefile.am, - src/external/Unigraphics/Makefile.am, src/fb/CMakeLists.txt, - src/fb/Makefile.am, src/fbed/CMakeLists.txt, - src/fbed/Makefile.am, src/fbserv/CMakeLists.txt, - src/fbserv/Makefile.am, src/gtools/CMakeLists.txt, - src/gtools/Makefile.am, src/gtools/beset/Makefile.am, - src/halftone/CMakeLists.txt, src/halftone/Makefile.am, - src/irprep/CMakeLists.txt, src/irprep/Makefile.am, - src/lgt/CMakeLists.txt, src/lgt/Makefile.am, - src/libanalyze/CMakeLists.txt, src/libanalyze/Makefile.am, - src/libbn/CMakeLists.txt, src/libbn/Makefile.am, - src/libbu/CMakeLists.txt, src/libbu/Makefile.am, - src/libcursor/CMakeLists.txt, src/libcursor/Makefile.am, - src/libdm/CMakeLists.txt, src/libdm/Makefile.am, - src/libfb/CMakeLists.txt, src/libfb/Makefile.am, - src/libfft/CMakeLists.txt, src/libfft/Makefile.am, - src/libgcv/CMakeLists.txt, src/libgcv/Makefile.am, - src/libgcv/wfobj/CMakeLists.txt, src/libgcv/wfobj/Makefile.am, - src/libged/CMakeLists.txt, src/libged/Makefile.am, - src/libicv/CMakeLists.txt, src/libicv/Makefile.am, - src/libmultispectral/CMakeLists.txt, - src/libmultispectral/Makefile.am, src/liboptical/CMakeLists.txt, - src/liboptical/Makefile.am, src/liborle/CMakeLists.txt, - src/liborle/Makefile.am, src/libpc/CMakeLists.txt, - src/libpc/Makefile.am, src/libpkg/CMakeLists.txt, - src/libpkg/Makefile.am, src/librt/CMakeLists.txt, - src/librt/Makefile.am, src/librtserver/CMakeLists.txt, - src/librtserver/Makefile.am, src/libsysv/CMakeLists.txt, - src/libsysv/Makefile.am, src/libtclcad/CMakeLists.txt, - src/libtclcad/Makefile.am, src/libtermio/CMakeLists.txt, - src/libtermio/Makefile.am, src/libwdb/CMakeLists.txt, - src/libwdb/Makefile.am, src/mged/CMakeLists.txt, - src/mged/Makefile.am, src/mged/points/CMakeLists.txt, - src/mged/points/Makefile.am, src/nirt/CMakeLists.txt, - src/nirt/Makefile.am, src/nirt/sfiles/Makefile.am, - src/other/CMakeLists.txt, src/other/Makefile.am, - src/proc-db/CMakeLists.txt, src/proc-db/Makefile.am, - src/remrt/CMakeLists.txt, src/remrt/Makefile.am, - src/rt/CMakeLists.txt, src/rt/Makefile.am, - src/rttherm/CMakeLists.txt, src/rttherm/Makefile.am, - src/shapes/CMakeLists.txt, src/shapes/Makefile.am, - src/sig/CMakeLists.txt, src/sig/Makefile.am, - src/tab/CMakeLists.txt, src/tab/Makefile.am, - src/tclscripts/CMakeLists.txt, src/tclscripts/Makefile.am, - src/tclscripts/archer/CMakeLists.txt, - src/tclscripts/archer/Makefile.am, - src/tclscripts/archer/images/CMakeLists.txt, - src/tclscripts/archer/images/Makefile.am, - src/tclscripts/boteditor/CMakeLists.txt, - src/tclscripts/boteditor/Makefile.am, - src/tclscripts/geometree/CMakeLists.txt, - src/tclscripts/geometree/Makefile.am, - src/tclscripts/hv3/CMakeLists.txt, - src/tclscripts/hv3/Makefile.am, - src/tclscripts/lib/CMakeLists.txt, - src/tclscripts/lib/Makefile.am, - src/tclscripts/mged/CMakeLists.txt, - src/tclscripts/mged/Makefile.am, - src/tclscripts/pl-dm/CMakeLists.txt, - src/tclscripts/pl-dm/Makefile.am, - src/tclscripts/rtwizard/CMakeLists.txt, - src/tclscripts/rtwizard/Makefile.am, - src/tclscripts/rtwizard/examples/Makefile.am, - src/tclscripts/rtwizard/examples/PictureTypeA/Makefile.am, - src/tclscripts/rtwizard/examples/PictureTypeB/Makefile.am, - src/tclscripts/rtwizard/examples/PictureTypeC/Makefile.am, - src/tclscripts/rtwizard/examples/PictureTypeD/Makefile.am, - src/tclscripts/rtwizard/examples/PictureTypeE/Makefile.am, - src/tclscripts/rtwizard/examples/PictureTypeF/Makefile.am, - src/tclscripts/rtwizard/lib/CMakeLists.txt, - src/tclscripts/rtwizard/lib/Makefile.am, - src/tclscripts/sdialogs/CMakeLists.txt, - src/tclscripts/sdialogs/Makefile.am, - src/tclscripts/sdialogs/scripts/CMakeLists.txt, - src/tclscripts/sdialogs/scripts/Makefile.am, - src/tclscripts/swidgets/CMakeLists.txt, - src/tclscripts/swidgets/Makefile.am, - src/tclscripts/swidgets/images/CMakeLists.txt, - src/tclscripts/swidgets/images/Makefile.am, - src/tclscripts/swidgets/scripts/CMakeLists.txt, - src/tclscripts/swidgets/scripts/Makefile.am, - src/tclscripts/util/CMakeLists.txt, - src/tclscripts/util/Makefile.am, src/util/CMakeLists.txt, - src/util/Makefile.am, src/vfont/CMakeLists.txt, - src/vfont/Makefile.am: - 11 months and a minor, time to purge the autotools build system - -2012-05-01 18:22 n_reed - - * [r50385] src/other/step/include/express/basic.h, - src/other/step/src/clutils/Str.cc, - src/other/step/src/clutils/errordesc.cc, - src/other/step/src/express/entity.c, - src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes.h: - minor string comparison improvements from SCL git 1ad14e1, - 70a8382, 7a6ba24, c316f21, and 572e9ad - -2012-05-01 17:36 brlcad - - * [r50384] CMakeLists.txt: - irix is gone now too, so remove unused libgen library check - -2012-05-01 17:35 brlcad - - * [r50383] CMakeLists.txt: - the SGI graphics library is no more. no longer used, so no point - checking for it either. - -2012-05-01 17:18 brlcad - - * [r50382] CMakeLists.txt: - unclear what this lib check is for too. seems to be unused. - -2012-05-01 17:08 brlcad - - * [r50381] CMakeLists.txt: - move the opengl header check out of the lib stage into the header - stage - -2012-05-01 17:05 brlcad - - * [r50380] CMakeLists.txt: - m library doesn't exist on windows. test should just fail, no? - -2012-05-01 17:03 brlcad - - * [r50379] src/util/CMakeLists.txt: - ttcp intentionally does not use libbu. link to socket/nsl/network - instead. remote, untested. - -2012-05-01 16:58 brlcad - - * [r50378] CMakeLists.txt: - rename library variable to just the name of the library for - consistency. might want a common prefix or suffix, but would need - to review all libs. rename NS to NSL and NETWORK_SOCKET to just - NETWORK. - -2012-05-01 16:46 brlcad - - * [r50377] CMakeLists.txt: - MX is not used, remove it. what is libds? remove it too. rename - DLOPEN to DL since it's related to libdl. looks like it's also - unused, but it should be for all the dynamic libbu support .. - which has probably all just unfortunately gotten left disabled - since the conversion to cmake. - -2012-05-01 16:02 bob1961 - - * [r50376] src/rt/viewedge.c: - Don't need the call to db_dirbuild() in viewedge.c/view_init() - because the db_open()'s here and in main.c are using mapped - files. So the previous call to rt_dirbuild() in main.c has - already called db_dirbuild(). This avoids the db_dircheck: - Duplicate of ... error messages. - -2012-05-01 14:29 brlcad - - * [r50375] src/fbserv/fbserv.c: - restructure to avoid forward declarations. also don't need/want - win32 protections around the openlog() calls, they should have - just been wrapped in a HAVE_SYSLOG_H feature check. - -2012-04-30 18:50 starseeker - - * [r50372] misc/CMake/FindX11.cmake: - Note that archlinux prompted the tweak to X11 search paths. - -2012-04-30 18:00 starseeker - - * [r50371] misc/CMake/FindX11.cmake: - Tweak search paths for X11 - -2012-04-29 02:10 starseeker - - * [r50366] src/libbu/bitv.c, src/libbu/endian.c, - src/libbu/fnmatch.c, src/librt/primitives/metaball/metaball.c: - Put the inline additions back - will need to find some other - approach to avoid strict issues with clang. Not a big deal since - we have other issues with clang (offsetof related) - -2012-04-28 22:24 starseeker - - * [r50365] src/tab/tabinterp.c: - hopefully the last of the quellage errors - looks like we may be - down to offsetof and other offset-type issues with gnu89 - -2012-04-28 22:18 starseeker - - * [r50364] src/lgt/lgt.c, src/lgt/reflect.c: - More quellage fun - -2012-04-28 21:56 starseeker - - * [r50363] src/libpkg/example/client.c, - src/librt/primitives/metaball/metaball.c: - Couple more clang strict c89 issues - -2012-04-28 21:36 starseeker - - * [r50362] src/fbed/empty.c: - Another quellage we can't get away with in clang. - -2012-04-28 21:22 starseeker - - * [r50361] src/libpkg/example/server.c: - clang doesn't let us get away with this style of quellage - add - the UNUSED wrapper. - -2012-04-28 21:20 starseeker - - * [r50360] src/libbu/bitv.c, src/libbu/endian.c, - src/libbu/fnmatch.c: - These uses of inline cause a strict failure with clang 3.0 in c89 - mode (note that they do work with c99) - -2012-04-28 19:57 starseeker - - * [r50359] src/other/incrTcl/itcl/CMake/tcl.cmake, - src/other/incrTcl/itk/CMake/tcl.cmake, - src/other/sqlite3/tcl/CMake/tcl.cmake, - src/other/tk/CMake/tcl.cmake: - keep all the tcl.cmake copies the same to avoid surprises - -2012-04-28 19:48 starseeker - - * [r50358] misc/CMake/DocBook.cmake: - Try to make input paths more 'DocBook friendly' - -2012-04-28 18:26 starseeker - - * [r50357] src/other/tcl/CMake/tcl.cmake, - src/other/tcl/CMakeLists.txt: - Hmm - ieee lib link needs more study. Explicitly add the math - library to the list of libs for tcl. - -2012-04-28 18:05 starseeker - - * [r50356] src/other/tk/CMakeLists.txt: - Use the right FONTCONFIG variable... - -2012-04-28 17:51 starseeker - - * [r50355] misc/CMake/FindFontconfig.cmake, - src/other/tk/CMake/FindFontconfig.cmake, - src/other/tk/CMakeLists.txt: - Try explicitly calling out fontconfig in addition to freetype. - -2012-04-28 13:33 starseeker - - * [r50353] misc/CMake/distclean.cmake.in, - src/archer/CMakeLists.txt, src/conv/step/CMakeLists.txt, - src/tclscripts/rtwizard/CMakeLists.txt: - Beef up distclean rule - -2012-04-27 22:41 bob1961 - - * [r50352] src/tclscripts/rtwizard/lib/FbPage.itk: - Rtwizard should be using /dev/ogl instead of /dev/X. This mod and - the previous fix in libfb/if_ogl.c and libfb/if_wgl.c fixes the - issue with rtedge overlays failing to show up in the framebuffer. - -2012-04-27 22:39 bob1961 - - * [r50351] src/libfb/if_wgl.c: - Need this for windows too ---- this fix resolves the issue where - an rtedge overlay fails to show up in the framebuffer window. - -2012-04-27 22:24 bob1961 - - * [r50350] src/libfb/if_ogl.c: - This fix resolves the issue where an rtedge overlay fails to show - up in the framebuffer window. - -2012-04-27 15:35 starseeker - - * [r50344] misc/CMake/BRLCAD_Targets.cmake: - Remove debugging messages - -2012-04-27 05:20 indianlarry - - * [r50343] src/librt/opennurbs_ext.cpp, src/librt/opennurbs_ext.h: - Had to fix flatness criteria for surface subdivision. Flatness - was calculated by multiplying a series of Surface normal Dot - products at select points on the surface. Hit a case where small - cylindrical surface had even numbered negative vdots and were - canceling their signs. Simplified to look at each vdot - individually. - -2012-04-27 05:06 indianlarry - - * [r50342] src/librt/primitives/brep/brep_debug.cpp: - Extended 'brep' debugging command to take an index range. You can - now enter a dash("1-5") to plot ranges of indexes of - surfaces,faces or edges. - -2012-04-27 04:36 starseeker - - * [r50341] misc/CMake/BRLCAD_Targets.cmake: - Apply the new flags to executables too, if applicable - so far it - looks as though only obj-g even mixes C and C++ at the exec - target level. Need to check more closely - do I need to apply all - the flags to the static library builds? Make a stab at doing so, - but need to make sure what the Right Thing is. - -2012-04-27 04:35 starseeker - - * [r50340] src/libged/CMakeLists.txt: - Presumably we don't actually want to build the headers... - -2012-04-27 02:24 starseeker - - * [r50339] misc/CMake/BRLCAD_Targets.cmake: - Abstract out the flag appliation logic - may need it in more - places than just shared libraries. - -2012-04-27 01:56 starseeker - - * [r50338] misc/CMake/BRLCAD_Targets.cmake, - src/libdm/CMakeLists.txt, src/libfb/CMakeLists.txt: - Generalize the mechanism for passing flags from libraries up to - other libraries automatically - had been assuming we could apply - all flags to all targets, but libged's polycurve.cpp triggered a - build error with clang (and had been warning with gcc) when the - std=gnu99 flag got applied. Only a problem with libged currently, - but potentially could apply to any mixed C/C++ library. Approach - now is more granular - can define C and CXX variables - independently to pass up, and BRLCAD_ADDLIB will only apply C - flags to C files and CXX flags to C++ files. - -2012-04-27 01:40 starseeker - - * [r50337] src/mged/points/CMakeLists.txt: - Probably shouldn't be compiling the header here... - -2012-04-26 22:18 n_reed - - * [r50335] src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/cleditor/instmgr.cc, - src/other/step/src/clstepcore/ExpDict.cc, - src/other/step/src/clstepcore/Registry.inline.cc, - src/other/step/src/clstepcore/STEPaggregate.cc, - src/other/step/src/clstepcore/sdaiApplication_instance.cc, - src/other/step/src/express/expparse.y, - src/other/step/src/fedex_plus/classes.c: - apply changes from SCL git f678f0b, but extract assignments used - as truth values for benefit of windows - -2012-04-26 21:41 bob1961 - - * [r50334] src/tclscripts/rtwizard/lib/PictureTypeBase.itcl, - src/tclscripts/rtwizard/lib/PictureTypeF.itcl: - Needed to split out into otype and fbout. - -2012-04-26 20:26 n_reed - - * [r50331] src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/cleditor/STEPfile.h, - src/other/step/src/clstepcore/STEPcomplex.cc, - src/other/step/src/express/type.c, - src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes_misc.c, - src/other/step/src/fedex_plus/selects.c: - add default switch cases as in SCL git b10a697, but avoid using - abort if the error can be logged and/or returned - -2012-04-26 20:24 tbrowder2 - - * [r50330] src/conv/nmg/g-nmg.c: - add comment - -2012-04-26 19:45 tbrowder2 - - * [r50328] src/conv/nmg/g-nmg.c: - ws, style - -2012-04-26 15:56 n_reed - - * [r50322] src/other/step/src/clstepcore/STEPattribute.cc, - src/other/step/src/clstepcore/sdaiApplication_instance.cc, - src/other/step/src/express/alg.c, - src/other/step/src/express/caseitem.c, - src/other/step/src/express/dict.c, - src/other/step/src/express/entity.c, - src/other/step/src/express/error.c, - src/other/step/src/express/expparse.y, - src/other/step/src/express/expr.c, - src/other/step/src/express/express.c, - src/other/step/src/express/expscan.l, - src/other/step/src/express/fedex.c, - src/other/step/src/express/hash.c, - src/other/step/src/express/lexact.c, - src/other/step/src/express/linklist.c, - src/other/step/src/express/object.c, - src/other/step/src/express/schema.c, - src/other/step/src/express/scope.c, - src/other/step/src/express/stmt.c, - src/other/step/src/express/symbol.c, - src/other/step/src/express/type.c, - src/other/step/src/express/variable.c, - src/other/step/src/fedex_plus/classes_wrapper.cc: - Remove rcsid strings from sources and don't generate Id comments. - SCL git 922a795 and 9367823. - -2012-04-26 15:19 bob1961 - - * [r50321] src/libtclcad/CMakeLists.txt, src/libtclcad/tclcad.c, - src/libtclcad/tclcad_obj.c, src/libtclcad/tclcad_private.h: - Added the tclcad_initialized flag to insure that libtclcad - doesn't get initialized more than once. This case turned up after - an rtwizard enhancement. - -2012-04-26 13:49 starseeker - - * [r50319] NEWS, src/other/libpng.dist, src/other/libpng/ANNOUNCE, - src/other/libpng/CHANGES, src/other/libpng/CMakeLists.txt, - src/other/libpng/LICENSE, src/other/libpng/Makefile.am, - src/other/libpng/README, src/other/libpng/configure.ac, - src/other/libpng/example.c, src/other/libpng/libpng-manual.txt, - src/other/libpng/libpng.3, src/other/libpng/libpngpf.3, - src/other/libpng/png.5, src/other/libpng/png.c, - src/other/libpng/png.h, src/other/libpng/pngconf.h, - src/other/libpng/pngpread.c, src/other/libpng/pngpriv.h, - src/other/libpng/pngread.c, src/other/libpng/pngrtran.c, - src/other/libpng/pngrutil.c, src/other/libpng/pngset.c, - src/other/libpng/pngstruct.h, src/other/libpng/pngtest.c, - src/other/libpng/pngtrans.c, src/other/libpng/pngusr.dfa, - src/other/libpng/pngwrite.c, src/other/libpng/pngwutil.c, - src/other/libpng/projects/vstudio/readme.txt, - src/other/libpng/projects/vstudio/zlib.props, - src/other/libpng/scripts/README.txt, - src/other/libpng/scripts/libpng-config-head.in, - src/other/libpng/scripts/libpng.pc.in, - src/other/libpng/scripts/makefile.cegcc, - src/other/libpng/scripts/makefile.linux, - src/other/libpng/scripts/makefile.ne12bsd, - src/other/libpng/scripts/makefile.netbsd, - src/other/libpng/scripts/makefile.openbsd, - src/other/libpng/scripts/options.awk, - src/other/libpng/scripts/pnglibconf.dfa, - src/other/libpng/scripts/pnglibconf.h.prebuilt, - src/other/libpng/scripts/symbols.def: - Upgrade libpng to 1.5.10 - -2012-04-26 12:57 brlcad - - * [r50318] src/conv/ply-g.c: - looks like another fastf_t confusion. cid 325 was marked false - positive, but a double cast should do the trick. - -2012-04-26 12:50 starseeker - - * [r50317] CMakeLists.txt: - Start straightening out Java and rtserver enablement now that - we're not trying to link Java libs unnecessarily - -2012-04-26 12:49 brlcad - - * [r50316] src/liboptical/sh_toyota.c: - looks like coverity thinks fastf_t is not a floating point type. - cast through double. should finally fix cid 328 false positive. - -2012-04-26 03:56 brlcad - - * [r50315] src/liboptical/sh_toyota.c: - rename the lambda member to wavelength, remove the unuseful sign - bit testing, cast through double to try and head fake cid 328 - -2012-04-26 03:22 brlcad - - * [r50314] src/util/bwcrop.c: - turn the pixel count variables into integral types. done with - attempting to quell 1496. seems to be false positive, but not - clear how to make it go away. cid 1496. - -2012-04-26 01:05 tbrowder2 - - * [r50313] src/librt/comb/comb.c: - ws - -2012-04-25 21:48 tbrowder2 - - * [r50309] src/librt/comb/comb.c: - ws - -2012-04-25 21:47 tbrowder2 - - * [r50308] regress/iges.sh: - tidy tests, add -f option to make last g-iges test pass - -2012-04-25 21:23 n_reed - - * [r50307] src/other/step/src/fedex_plus/multpass.c: - remove another unused variable (LISTdo already creates one) - identified in SCL git 0153f15 - -2012-04-25 21:13 n_reed - - * [r50306] src/other/step/src/fedex_plus/classes_wrapper.cc: - apply SCL git db70465 removing more unused variables - -2012-04-25 20:49 tbrowder2 - - * [r50304] src/conv/iges/g-iges.c: - typo - -2012-04-25 20:48 n_reed - - * [r50303] src/other/step/src/clstepcore/STEPaggregate.cc, - src/other/step/src/clstepcore/STEPaggregate.h, - src/other/step/src/clutils/gennodearray.cc, - src/other/step/src/express/entity.c, - src/other/step/src/express/lexact.c, - src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes.h, - src/other/step/src/fedex_plus/classes_wrapper.cc, - src/other/step/src/fedex_plus/complexSupport.h, - src/other/step/src/fedex_plus/multpass.c, - src/other/step/src/fedex_plus/selects.c: - apply more commented code removal from SCL git c0b2b05, 37bbfd3, - 9324acc, d7410be, 62304a7, and 0dccb8b - -2012-04-25 20:36 bob1961 - - * [r50302] src/libdm/dm-generic.c, src/libtclcad/tclcad_obj.c: - Added support for creating a nu display manager in libtclcad. - -2012-04-25 19:45 jimhunt - - * [r50301] src/librtserver/CMakeLists.txt: - Incrementing the SO version since the serialization of RayResult - has changed. - -2012-04-25 19:21 jimhunt - - * [r50300] src/librtserver/rtserver.c: - Added MUVEStoORCA translation matrix to RayResult stream - -2012-04-25 19:02 tbrowder2 - - * [r50299] src/librt/comb/comb.c: - wrap long arg line, correct typo, ws - -2012-04-25 18:57 starseeker - - * [r50298] src/rt/viewedge.c: - Hmm. icv_image_save_open is causing issues in rtedge at the - moment... - -2012-04-25 18:30 starseeker - - * [r50296] src/librtserver/CMakeLists.txt: - Apparently we don't need to explicitly link these (why did I - initially??) - -2012-04-25 18:11 n_reed - - * [r50295] src/other/step/src/fedex_plus/classes.c: - ignore spaces in generate_attribute_name. SCL git 1ebee6d - -2012-04-25 17:50 n_reed - - * [r50294] src/other/step/include/express/alg.h, - src/other/step/include/express/hash.h, - src/other/step/include/express/symbol.h, - src/other/step/src/clutils/scl_hash.cc, - src/other/step/src/clutils/scl_hash.h: - replace shorts with ints along the lines of SCL git d2baec0, but - be more judicious in using unsigned versus signed - -2012-04-25 17:28 tbrowder2 - - * [r50293] regress/iges.sh: - add known failure to regression check for g-iges; fix unknown at - the moment - -2012-04-25 10:59 tbrowder2 - - * [r50292] src/conv/step/OpenNurbsInterfaces.cpp: - correct parens (gcc warning pointed to it) - -2012-04-25 02:53 brlcad - - * [r50291] src/liboptical/sh_toyota.c: - now just reporting as a limited truncation/underflow case, so - check for case. should always be high/low, but should handle the - sign regardless of values. cid 328. - -2012-04-25 02:42 brlcad - - * [r50290] src/util/bwcrop.c: - try a different approach, clamp at upper and lower instead of - just testing within range. cid 1496, tainted_scalar. - -2012-04-25 02:35 brlcad - - * [r50289] src/libbu/convert.c: - almost there. looks like the previous range checks worked to - untaint, just have to account for the other loop. cid 1500, - tainted_scalar. - -2012-04-25 02:19 brlcad - - * [r50288] src/librt/search.c: - db5_get_attributes may fail. plan for it. coverity noticed this - was the 1/15 times where we didn't check. cid 2116, - CHECKED_RETURN. - -2012-04-25 02:17 brlcad - - * [r50287] src/liboptical/refract.c: - similar problem with ms_transmit_color, need to allocate it. use - spectrum as the base instead of background fro ms_reflect color. - cid 2117-2119. - -2012-04-25 01:39 brlcad - - * [r50286] src/liboptical/refract.c: - allocate ms_reflect_color tabdata. coverity correctly noticed - badness since were never allocating it, finding a path to dead - and forward null code. cid 2117, 2119. - -2012-04-25 01:35 tbrowder2 - - * [r50285] regress/CMakeLists.txt: - add new tgms to list - -2012-04-25 01:30 tbrowder2 - - * [r50284] regress/comgeom.sh: - add a regression test for reading a comgeom GIFT V4 tgm format - -2012-04-25 01:29 tbrowder2 - - * [r50283] src/conv/comgeom/read.c: - ws - -2012-04-25 01:28 tbrowder2 - - * [r50282] regress/tgms/comgeom-tgt-1-v4-documented.cg, - regress/tgms/comgeom-tgt-1-v4.cg: - add test target for comgeom GIFT V4 format - -2012-04-25 01:27 tbrowder2 - - * [r50281] src/conv/comgeom/solid.c: - correct field width for V4 GIFT solid format - -2012-04-25 01:24 tbrowder2 - - * [r50280] src/conv/comgeom/solid.c: - free name memory on early error returns - -2012-04-24 22:17 n_reed - - * [r50279] src/other/step/src/clstepcore/ExpDict.h, - src/other/step/src/fedex_plus/complexSupport.h, - src/other/step/src/fedex_plus/write.cc, - src/other/step/src/test/p21read/p21read.cc: - some const char corrections including remaining changes from SCL - git 4cf16d7 - -2012-04-24 21:54 n_reed - - * [r50278] src/other/step/src/cldai/sdaiString.cc, - src/other/step/src/clstepcore/ExpDict.h, - src/other/step/src/clstepcore/STEPattribute.cc, - src/other/step/src/clstepcore/STEPattribute.h, - src/other/step/src/clstepcore/STEPattributeList.cc: - changes based on SCL git d35f73f and 696d8e3 - -2012-04-24 19:35 tbrowder2 - - * [r50277] TODO: - add enhancements needed for vdeck/comgeom-g - -2012-04-24 19:34 tbrowder2 - - * [r50276] regress/comgeom.sh: - make comgeom-g regression check more robust by adding a test for - failed conversions - -2012-04-24 19:32 tbrowder2 - - * [r50275] regress/tgms/cgtest.cg: - make comgeom-g test target use only recognized GIFT primitives - that should successfully convert to .g format - -2012-04-24 15:38 brlcad - - * [r50271] src/liboptical/sh_toyota.c: - calculate the ratio first. probably still insufficient for cid328 - (INTEGER_OVERFLOW) - -2012-04-24 15:33 brlcad - - * [r50270] src/util/sun-pix.c: - different range check, smaller limit for cid 332 - (INTEGER_OVERFLOW) - -2012-04-24 15:25 brlcad - - * [r50269] src/librt/opennurbs_ext.cpp: - free the parent, revengences of leaked memory. cid 488. - -2012-04-24 15:12 brlcad - - * [r50268] src/rt/rtshot.c: - more tainted data checks, trying to be a little more explicit. - cid 1488 - -2012-04-24 15:03 brlcad - - * [r50267] src/util/bwcrop.c: - do the scanf case too. looks like many of the scanf return counts - were wrong anyways. fixed. - -2012-04-24 14:58 brlcad - - * [r50266] src/util/bwcrop.c: - more tainted data crap. hopefully last attempt at cid 1496. - -2012-04-24 14:57 brlcad - - * [r50265] src/libgcv/bottess.c: - couple more unused args now with the block commented out - -2012-04-24 14:55 brlcad - - * [r50264] src/util/sun-pix.c: - typo - -2012-04-24 14:40 brlcad - - * [r50263] src/util/bwmod.c: - check the lower bounds too, cid 1498 - -2012-04-24 14:35 brlcad - - * [r50262] src/libbu/convert.c: - sans p - -2012-04-24 14:35 brlcad - - * [r50261] src/libbu/convert.c: - another attempt at making sure we don't seem to use tainted data - as an index in the isdigit() call. - -2012-04-24 14:23 brlcad - - * [r50260] src/util/loop.c: - range check argv[1][1] for cid 1506 too - -2012-04-24 14:18 brlcad - - * [r50259] src/util/loop.c: - reserve the last possible value so we can bounds check cid 1506 - -2012-04-24 14:13 brlcad - - * [r50258] src/util/sun-pix.c: - more TAINTED_SCALAR insanity, hopefully the last of it. cid 1512 - caugh more loops for ras_maplength show check those too (along - with all the other header fields) - -2012-04-24 13:50 brlcad - - * [r50257] src/libgcv/bottess.c: - ah, that's why coverity is barking. there's a return statement - exiting the function early. cid 2115. - -2012-04-24 12:06 tbrowder2 - - * [r50256] src/conv/comgeom/solid.c: - ws, remove debugging statement - -2012-04-24 11:56 tbrowder2 - - * [r50255] src/conv/comgeom/solid.c: - ws - -2012-04-24 11:38 starseeker - - * [r50254] src/tclscripts/rtwizard/lib/PictureTypeBase.itcl: - Use bu_brlcad_root to find rtedge. The quotes seem to be - interfering with the oo definition, so remove them. - -2012-04-24 10:08 brlcad - - * [r50253] src/liboptical/photonmap.c: - check the upper bounds too, cid 1483 tainted_scalar... that - finishes up run 11. - -2012-04-24 10:03 brlcad - - * [r50252] src/mged/mged.c: - add some explicit sanitization for cid 1485, TAINTED_SCALAR - -2012-04-24 09:59 brlcad - - * [r50251] src/rt/rtshot.c: - consolidate the input sanitization before use so hopefully it's - more clear that inputs are clean. responding to cid 1488 - (tainted_scalar). - -2012-04-24 09:50 brlcad - - * [r50250] src/shapes/wire.c: - take crazy measures to make it clear we're sanitizing the - user-provided input. might end up with a dead-code condition now - since the loop should catch them, or the definite scanf - separation might do the trick.. - -2012-04-24 09:49 brlcad - - * [r50249] src/util/cv.c: - need string.h for strlen() - -2012-04-24 09:37 brlcad - - * [r50248] src/sig/smod.c: - more range checking for tainted_scalar gunk. cid 1493. - -2012-04-24 09:32 brlcad - - * [r50247] src/util/bwcrop.c: - check the range of xnum/ynum image bounds for TAINTED_SCALAR loop - detected by cid 1496. - -2012-04-24 09:17 brlcad - - * [r50246] src/libbu/convert.c, src/util/cv.c: - looks benign, but go ahead and add some extra sanitization on the - input/output patterns to cv in response to cid 15000 - (TAINTED_SCALAR). - -2012-04-24 09:06 brlcad - - * [r50245] src/util/decimate.c: - don't forget to check nbytes too, cid 1502 TAINTED_SCALR - -2012-04-24 09:04 brlcad - - * [r50244] src/util/decimate.c: - bounds check the input sizes along with the output sizes - -2012-04-24 08:58 brlcad - - * [r50243] src/util/imgdims.c: - more realpath cleansing. cid 1505 TAINTED_SCALAR. - -2012-04-24 08:51 brlcad - - * [r50242] src/util/pixhist3d.c: - sanitize the rgb color values even if we do expect the entire - range. hopefully quell cid 1511 TAINTED_SCALAR with explicit - effectively no-op range checks. - -2012-04-24 08:40 brlcad - - * [r50241] src/util/ttcp.c: - avoid calling exit even if cid 1513 looks like a false positive. - -2012-04-24 08:34 brlcad - - * [r50240] src/nirt/command.c: - more tainted_string sanitization through bu_realpath() for cid - 1560. - -2012-04-24 08:31 brlcad - - * [r50239] src/rttherm/ssamp-bw.c: - do the same for ssamp-bw, sanitizing through bu_realpath() and - releasing our now-copied memory. - -2012-04-24 08:28 brlcad - - * [r50238] src/rttherm/ssampview.c: - er, dead if statement?? init datafile_basename to zero so we - don't try to free static memory - -2012-04-24 08:26 brlcad - - * [r50237] src/rttherm/ssampview.c: - call bu_realpath() to sanitize path - -2012-04-24 08:25 brlcad - - * [r50236] src/vfont/getfont.c: - take the address of font so we can do the right thing. - -2012-04-24 08:14 brlcad - - * [r50235] src/conv/iges/g-iges.c: - use libbu instead of directly calling access() to hopefully hide - the innocuous TOCTOU issue detected in cid 1588. - -2012-04-24 08:03 brlcad - - * [r50234] src/util/dsp_add.c: - avoid a time-of-call time-of-use race condition (TOCTOU cid 1592) - detected by coverity by calling fstat() instead of stat() after - the fopen() calls. - -2012-04-24 07:56 brlcad - - * [r50233] src/vfont/getfont.c: - initialize the vfont to zero. cid 1613, UNINIT - -2012-04-24 07:54 brlcad - - * [r50232] src/irprep/firpass.c: - initialize curvature. cid 1615, UNINIT. - -2012-04-24 07:51 brlcad - - * [r50231] src/libged/vdraw.c: - typos ftl - -2012-04-24 07:50 brlcad - - * [r50230] src/conv/intaval/regtab.h: - initialize material member in constructors. cid 1647 UNINIT_CTOR. - -2012-04-24 07:44 brlcad - - * [r50229] src/libpc/pcNetwork.cpp: - initialize v and e in constructor per cid 1656 UNINIT_CTOR - -2012-04-24 07:41 brlcad - - * [r50228] src/libpc/pcVariable.cpp: - initialize all of the Variable constructor members. cid 1659, - UNINIT_CTOR. - -2012-04-24 07:38 brlcad - - * [r50227] src/libged/vdraw.c: - simplify vlist subcommand argument processing a little to avoid - deadcode condition, cid 1737 - -2012-04-24 07:22 brlcad - - * [r50226] src/conv/euclid/euclid-g.c: - avoid bu_exit() so we can avoid coverity false positive (doesn't - know bu_bomb() doesn't return), cid 1766 TAINTED_SCALAR. return a - return code.conv - -2012-04-24 07:13 brlcad - - * [r50225] src/other/lemon/lempar.c: - er, not size-1 here because we're testing whether yyruleno is - less. avoid infinite loop. - -2012-04-24 06:55 brlcad - - * [r50224] src/other/lemon/lempar.c: - cid 1860 OVERRUN_STATIC. make sure we don't exceed the size of - the yyRuleInfo array. - -2012-04-24 06:40 brlcad - - * [r50223] src/other/lemon/lempar.c, src/other/sqlite3/sqlite3.c: - checking it for negative implies it might be negative, so change - the order of the yytos usage to not set the yytos variable until - after we check it. - -2012-04-24 06:36 brlcad - - * [r50222] src/other/step/src/clstepcore/ExpDict.h: - initialize all of the class members. cid 2014 UNINIT_CTOR. - -2012-04-24 06:32 brlcad - - * [r50221] src/fb/gif2fb.c: - make sure our line index doesn't exceed the buffer size. assume - dumbly clamping it is sufficient. cid 2059 overrun_static. - -2012-04-24 06:24 brlcad - - * [r50220] src/libged/dg_obj.c: - make sure we don't try to close a null fd. cid 2073 forward_null. - -2012-04-24 06:22 brlcad - - * [r50219] src/librt/vshoot.c: - HeadSeg cannot be null. cid 2104 deadcode. - -2012-04-24 06:19 brlcad - - * [r50218] src/libtclcad/tclcad_obj.c: - coverity is right, deadcode on the found_top test since we just - tested it and the loop doesn't proceed. - -2012-04-24 06:07 brlcad - - * [r50217] src/librt/db_tree.c: - same as cid 2108 in r50215. forward_null in cid 2107. use the - uniresource, luke. - -2012-04-24 06:04 brlcad - - * [r50216] src/conv/vdeck/vdeck.c: - wrong var. check the offset, not the file pointer. - -2012-04-24 06:01 brlcad - - * [r50215] src/librt/db_tree.c: - use rt_uniresource regardless if ncpu is 1 or rtip is null. cid - 2108 forward_null. - -2012-04-24 05:57 brlcad - - * [r50214] src/conv/iges/iges.c: - if it's null, avoid crashing. cid 2109 forward_null. - -2012-04-24 05:55 brlcad - - * [r50213] src/libbn/msr.c: - few more cases. cid 2110 forward_null check. - -2012-04-24 05:52 brlcad - - * [r50212] src/libbn/msr.c: - do what the function comment says should happen if null is - passed, return 1. addresses cid 2111 forward_null check. - -2012-04-24 05:48 brlcad - - * [r50211] src/conv/vdeck/vdeck.c: - make sure ftell doesn't fail before we later use it in an fseek. - cid 2112, negative_returns. - -2012-04-24 05:41 brlcad - - * [r50210] src/sig/imod.c: - INT_MAX-1 isn't the upper bound. stop when we get to the max size - of the buffer. cid 2113, OVERRUN_STATIC. - -2012-04-24 05:33 brlcad - - * [r50209] src/librt/primitives/sketch/sketch.c: - make sure we don't dereference null. cid 2114, reverse_inull - -2012-04-24 05:26 brlcad - - * [r50208] src/libgcv/bottess.c: - the for loop already catches the case where nfaces==0 so - eliminate the wrapping conditional. let the optimizer figure out - that i isn't used. should fix UNREACHABLE cid 2115. - -2012-04-24 04:58 brlcad - - * [r50207] src/libbu/mappedfile.c: - looks like r48552 introduced a bug causing mapped files to not - get reused. if we find a match, return it instead of opening - another one. - -2012-04-24 04:47 brlcad - - * [r50206] src/rt/viewedge.c: - if the database is fresh, we have to build the directory before - we can find any objects. this bug was uncovered by a change in - libbu that caused mapped files to not get reused. rtedge was - previously working only because it was reopening the (previously - dirbuilt) database - -2012-04-23 23:59 tbrowder2 - - * [r50205] src/conv/comgeom/solid.c: - ws - -2012-04-23 21:41 tbrowder2 - - * [r50204] regress/CMakeLists.txt, regress/comgeom.sh, - regress/tgms/ars.cg, regress/tgms/cgtest.cg: - replace ars.cg with a comgeom tgm that has all primitives - recognized by vdeck for a more robust comgeom-g conversion test - -2012-04-23 16:53 tbrowder2 - - * [r50203] src/conv/comgeom/solid.c: - do not release ars curve memory memory unless there has been a - mk_ars failure - -2012-04-23 16:52 tbrowder2 - - * [r50202] regress/comgeom.sh: - modify comgeom-g test to use new tgm for a known target ars - failure - -2012-04-23 16:50 tbrowder2 - - * [r50201] regress/tgms/ars.cg: - add a new comgeom target to test a specific comgeom-g failure - discovered by a user - -2012-04-23 13:50 tbrowder2 - - * [r50199] TODO: - correction, mged in for ars does work on trunk - -2012-04-23 13:42 tbrowder2 - - * [r50198] TODO: - mged ars solid generation command not working; also didn't work - in last release - -2012-04-20 17:59 starseeker - - * [r50197] src/tclscripts/rtwizard/RaytraceWizard.tcl, - src/tclscripts/rtwizard/lib/DbPage.itk, - src/tclscripts/rtwizard/lib/PictureTypeBase.itcl, - src/tclscripts/rtwizard/rtwizard.tcl: - Use an associative array, and populate variables in the RtWizard - namespace. - -2012-04-20 17:26 bob1961 - - * [r50196] src/tclscripts/lib/Ged.tcl: - Fleshed out begin_data_poly_###. - -2012-04-20 16:52 bob1961 - - * [r50195] src/tclscripts/lib/Ged.tcl: - Added "begin" callbacks for data polygons. Changed a few method - and variable names for consistency. - -2012-04-20 15:04 bob1961 - - * [r50194] src/tclscripts/lib/Ged.tcl: - Removed a few old/unused methods. - -2012-04-20 14:28 bob1961 - - * [r50193] src/tclscripts/lib/Ged.tcl: - Updated cadwidgets::Ged::init_poly_rect to accommodate the - enhanced poly_rect_mode command (i.e. can also draw squares). - -2012-04-20 14:24 bob1961 - - * [r50192] include/tclcad.h, src/libtclcad/tclcad_obj.c: - Added TCLCAD_POLY_SQUARE_MODE. Updated - libtclcad/tclcad_obj.c/to_poly_rect_mode() and - to_mouse_poly_rect() to also be used for drawing squares. - -2012-04-20 04:53 starseeker - - * [r50191] CMakeLists.txt, misc/CMake/BRLCAD_Targets.cmake: - Couple tweaks for the subbuild case - need to make sure we avoid - names like liblibbu, and distcheck is disabled when we're a - subbuild. - -2012-04-20 03:54 starseeker - - * [r50190] src/conv/step/CMakeLists.txt: - Whoops, wrong schema. Switch it back, especially since it's - looking like our change may be a valid one. - -2012-04-20 02:23 starseeker - - * [r50189] doc/docbook/system/man1/en/CMakeLists.txt, - doc/docbook/system/man1/en/rtwizard.xml, - src/tclscripts/rtwizard/CMakeLists.txt, - src/tclscripts/rtwizard/rtwizard.tcl, - src/tclscripts/util/CMakeLists.txt, - src/tclscripts/util/getopt.tcl: - Start teaching rtwizard to take inputs from the command line - (will provide a way to avoid the need for graphically picking - components, and eventually will allow for complete non-graphical - rtwizard image generation - useful for regression testing.) At - this stage, should just preserve old behavior. - -2012-04-20 02:20 starseeker - - * [r50188] src/archer/CMakeLists.txt: - Remove WIN32 from the Archer build logic. - -2012-04-20 00:05 starseeker - - * [r50187] src/tclscripts/rtwizard/lib/MGEDpage.itk: - explicitly specify the iwidgets namespace in a few places for - MGEDpage.itk - -2012-04-19 22:22 tbrowder2 - - * [r50186] src/librt/db_tree.c: - reset special magic to normal magic before leaving the function - -2012-04-19 21:13 tbrowder2 - - * [r50185] src/librt/db_tree.c: - ws - -2012-04-19 21:10 tbrowder2 - - * [r50184] src/librt/db_tree.c: - ws - -2012-04-19 20:08 tbrowder2 - - * [r50183] src/conv/dxf/g-dxf.c: - ws, style - -2012-04-19 20:05 tbrowder2 - - * [r50182] src/conv/g-shell-rect.c: - ws, style, semicolons after macros - -2012-04-19 19:29 tbrowder2 - - * [r50181] src/conv/g-dot.c: - ws - -2012-04-19 16:43 brlcad - - * [r50180] misc/CMake/BRLCAD_CompilerFlags.cmake: - add checks for -Wno-variadic-macros to quell compilation warnings - about newer Xorg headers using the c99/c++11-only feature when - we're compiling in c90/c++ mode. regroup the rest for - consistency. - -2012-04-18 21:34 n_reed - - * [r50179] src/other/step/src/cldai/sdaiBinary.cc, - src/other/step/src/cldai/sdaiBinary.h, - src/other/step/src/cldai/sdaiEnum.cc, - src/other/step/src/cldai/sdaiEnum.h, - src/other/step/src/cldai/sdaiString.cc, - src/other/step/src/clstepcore/ExpDict.h, - src/other/step/src/clstepcore/ExpDict.inline.cc, - src/other/step/src/clstepcore/STEPaggregate.cc, - src/other/step/src/clstepcore/STEPaggregate.h, - src/other/step/src/clstepcore/STEPattribute.cc, - src/other/step/src/clstepcore/dictdefs.h, - src/other/step/src/clstepcore/sdaiApplication_instance.h, - src/other/step/src/clstepcore/sdaiSelect.cc, - src/other/step/src/clstepcore/sdaiSelect.h, - src/other/step/src/express/expparse.y: - apply changes from SCL git d6da40c and 275977d (commented code - removal/style) - -2012-04-18 21:06 r_weiss - - * [r50178] doc/docbook/system/mann/en/draw.xml: - Updated the documentation for the mged 'draw' command. Added the - '-m1' option. - -2012-04-18 20:59 r_weiss - - * [r50177] doc/docbook/system/mann/en/e_command.xml: - Updated the mged 'e' command documentation, added the '-m1' - option. - -2012-04-18 19:10 r_weiss - - * [r50176] doc/docbook/system/mann/en/CMakeLists.txt: - Update to 'CMakeLists.txt' to add documentation for the mged 'gr' - (ie grouper) command. - -2012-04-18 19:08 r_weiss - - * [r50175] doc/docbook/system/mann/en/gr.xml: - Add documentation for mged 'gr' (ie grouper) command. - -2012-04-18 17:49 r_weiss - - * [r50174] doc/docbook/system/mann/en/l.xml: - Updated the documentation for the mged 'l' (lowercase L) command. - Added the '-t' option to the description. - -2012-04-18 17:02 r_weiss - - * [r50173] src/libged/pathsum.c: - Updated the mged command 'paths', removing the '-t' option which - has no effect for this command. - -2012-04-18 17:01 r_weiss - - * [r50172] doc/docbook/system/mann/en/listeval.xml: - Updated the documentation for the mged 'listeval' command. Added - the '-t' option to the description. - -2012-04-18 16:29 n_reed - - * [r50171] src/other/step/src/clprobe-ui/stepenteditor.cc, - src/other/step/src/clstepcore/STEPaggregate.cc, - src/other/step/src/express/expparse.y, - src/other/step/src/express/expscan.l, - src/other/step/src/express/resolve.c, - src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/fedex_main.c: - remove unused variables and functions identified in SCL git - 8ce79ec, 73cc97f, e98d00f, 63295f1, and 2a0ee4e - -2012-04-18 14:55 r_weiss - - * [r50169] src/libged/pathsum.c, src/libged/trace.c: - Updated libged functions 'ged_pathsum' (ie mged commands 'paths' - and 'listeval') and '_ged_trace'. These were within files - 'pathsum.c' and 'trace.c'. Improved error checking. - -2012-04-18 11:57 tbrowder2 - - * [r50168] src/conv/iges/iges.c: - eliminate K&R-style function args - -2012-04-18 11:41 indianlarry - - * [r50167] src/librt/opennurbs_ext.h: - Commented out early bail out of BREP bounding-box intersect - routine to also include bounding-boxes behind the ray origin. - Lets the calling application handle cases where ray starts inside - of a solid. We were getting an odd number of hits when rays were - being started on the backside but just inside of an existing - component messing up the segment in/out logic. Could have - injected an "in hit" at the ray origin but most solids would have - returned the calculated "in hit" at a negative distance from the - origin. - -2012-04-18 11:28 erikgreenwald - - * [r50166] src/librt/primitives/bot/btg.c: - use VSUB2 instead of VCOMB2 for readability. Handle - non-normalized direction vectors. - -2012-04-18 11:10 tbrowder2 - - * [r50165] src/util/loop.c: - correct keyword typo - -2012-04-18 11:06 indianlarry - - * [r50164] src/librt/primitives/bot/btg.c: - BOT hits were disappearing from the segment when using TIE. TIE - was determining correct hits on tri's but was losing these when - creating the hit segments in rt_bot_makesegs_(). The - rt_bot_makesegs_() function uses the hit_vpriv[] from the hit - structure to clean up odd hits, exit before entrance, or dangling - entrance hits but this was not being set in TIE. Added code in - TIE hitfunc() to populate these variables similar to what is done - in non-TIE BOT code. - -2012-04-18 10:49 indianlarry - - * [r50163] src/util/loop.c: - typo - -2012-04-18 06:43 brlcad - - * [r50162] src/util/sun-pix.c: - more conversion of bu_exit() to return statements. related to cid - 1512. - -2012-04-18 06:36 brlcad - - * [r50161] src/util/loop.c: - convert bu_exit() calls to bu_log+return calls for those - functions. - -2012-04-18 06:30 brlcad - - * [r50160] src/util/pixbustup.c: - validate upper and lower bounds. avoid bu_exit() when - tainted_scalar data is involved. cid 1508. - -2012-04-18 06:17 brlcad - - * [r50159] src/util/pixcolors.c: - try to quell cid 1509 another way, use temporaries and honorably - check data ranges. innocuous TAINTED_SCALAR issue. - -2012-04-17 22:53 n_reed - - * [r50158] src/conv/step/AdvancedBrepShapeRepresentation.cpp, - src/conv/step/AdvancedBrepShapeRepresentation.h, - src/conv/step/AdvancedFace.cpp, src/conv/step/AdvancedFace.h, - src/conv/step/AmountOfSubstanceContextDependentUnit.cpp, - src/conv/step/AmountOfSubstanceContextDependentUnit.h, - src/conv/step/AmountOfSubstanceConversionBasedUnit.cpp, - src/conv/step/AmountOfSubstanceConversionBasedUnit.h, - src/conv/step/AmountOfSubstanceSiUnit.cpp, - src/conv/step/AmountOfSubstanceSiUnit.h, - src/conv/step/AmountOfSubstanceUnit.cpp, - src/conv/step/AmountOfSubstanceUnit.h, - src/conv/step/ApplicationContext.cpp, - src/conv/step/ApplicationContext.h, - src/conv/step/ApplicationContextElement.cpp, - src/conv/step/ApplicationContextElement.h, - src/conv/step/AreaContextDependentUnit.cpp, - src/conv/step/AreaContextDependentUnit.h, - src/conv/step/AreaConversionBasedUnit.cpp, - src/conv/step/AreaConversionBasedUnit.h, - src/conv/step/AreaSiUnit.cpp, src/conv/step/AreaSiUnit.h, - src/conv/step/AreaUnit.cpp, src/conv/step/AreaUnit.h, - src/conv/step/Axis1Placement.cpp, src/conv/step/Axis1Placement.h, - src/conv/step/Axis2Placement.cpp, src/conv/step/Axis2Placement.h, - src/conv/step/Axis2Placement2D.cpp, - src/conv/step/Axis2Placement2D.h, - src/conv/step/Axis2Placement3D.cpp, - src/conv/step/Axis2Placement3D.h, src/conv/step/BSplineCurve.cpp, - src/conv/step/BSplineCurve.h, - src/conv/step/BSplineCurveWithKnots.cpp, - src/conv/step/BSplineCurveWithKnots.h, - src/conv/step/BSplineSurface.cpp, src/conv/step/BSplineSurface.h, - src/conv/step/BSplineSurfaceWithKnots.cpp, - src/conv/step/BSplineSurfaceWithKnots.h, - src/conv/step/BezierCurve.cpp, src/conv/step/BezierCurve.h, - src/conv/step/BezierSurface.cpp, src/conv/step/BezierSurface.h, - src/conv/step/BoundaryCurve.cpp, src/conv/step/BoundaryCurve.h, - src/conv/step/BoundedCurve.cpp, src/conv/step/BoundedCurve.h, - src/conv/step/BoundedPCurve.cpp, src/conv/step/BoundedPCurve.h, - src/conv/step/BoundedSurface.cpp, src/conv/step/BoundedSurface.h, - src/conv/step/BoundedSurfaceCurve.cpp, - src/conv/step/BoundedSurfaceCurve.h, - src/conv/step/BrepWithVoids.cpp, src/conv/step/BrepWithVoids.h, - src/conv/step/CartesianPoint.cpp, src/conv/step/CartesianPoint.h, - src/conv/step/CartesianTransformationOperator.cpp, - src/conv/step/CartesianTransformationOperator.h, - src/conv/step/CartesianTransformationOperator2D.cpp, - src/conv/step/CartesianTransformationOperator2D.h, - src/conv/step/CartesianTransformationOperator3D.cpp, - src/conv/step/CartesianTransformationOperator3D.h, - src/conv/step/Circle.cpp, src/conv/step/Circle.h, - src/conv/step/ClosedShell.cpp, src/conv/step/ClosedShell.h, - src/conv/step/CompositeCurve.cpp, src/conv/step/CompositeCurve.h, - src/conv/step/CompositeCurveOnSurface.cpp, - src/conv/step/CompositeCurveOnSurface.h, - src/conv/step/CompositeCurveSegment.cpp, - src/conv/step/CompositeCurveSegment.h, src/conv/step/Conic.cpp, - src/conv/step/Conic.h, src/conv/step/ConicalSurface.cpp, - src/conv/step/ConicalSurface.h, - src/conv/step/ConnectedFaceSet.cpp, - src/conv/step/ConnectedFaceSet.h, - src/conv/step/ContextDependentShapeRepresentation.cpp, - src/conv/step/ContextDependentShapeRepresentation.h, - src/conv/step/ContextDependentUnit.cpp, - src/conv/step/ContextDependentUnit.h, - src/conv/step/ConversionBasedUnit.cpp, - src/conv/step/ConversionBasedUnit.h, src/conv/step/Curve.cpp, - src/conv/step/Curve.h, src/conv/step/CurveBoundedSurface.cpp, - src/conv/step/CurveBoundedSurface.h, - src/conv/step/CurveReplica.cpp, src/conv/step/CurveReplica.h, - src/conv/step/CylindricalSurface.cpp, - src/conv/step/CylindricalSurface.h, - src/conv/step/DefinitionalRepresentation.cpp, - src/conv/step/DefinitionalRepresentation.h, - src/conv/step/DerivedUnit.cpp, src/conv/step/DerivedUnit.h, - src/conv/step/DerivedUnitElement.cpp, - src/conv/step/DerivedUnitElement.h, - src/conv/step/DesignContext.cpp, src/conv/step/DesignContext.h, - src/conv/step/DimensionalExponents.cpp, - src/conv/step/DimensionalExponents.h, - src/conv/step/Direction.cpp, src/conv/step/Direction.h, - src/conv/step/Edge.cpp, src/conv/step/Edge.h, - src/conv/step/EdgeCurve.cpp, src/conv/step/EdgeCurve.h, - src/conv/step/EdgeLoop.cpp, src/conv/step/EdgeLoop.h, - src/conv/step/ElectricCurrentContextDependentUnit.cpp, - src/conv/step/ElectricCurrentContextDependentUnit.h, - src/conv/step/ElectricCurrentConversionBasedUnit.cpp, - src/conv/step/ElectricCurrentConversionBasedUnit.h, - src/conv/step/ElectricCurrentSiUnit.cpp, - src/conv/step/ElectricCurrentSiUnit.h, - src/conv/step/ElectricCurrentUnit.cpp, - src/conv/step/ElectricCurrentUnit.h, - src/conv/step/ElementarySurface.cpp, - src/conv/step/ElementarySurface.h, src/conv/step/Ellipse.cpp, - src/conv/step/Ellipse.h, src/conv/step/Face.cpp, - src/conv/step/Face.h, src/conv/step/FaceBound.cpp, - src/conv/step/FaceBound.h, src/conv/step/FaceOuterBound.cpp, - src/conv/step/FaceOuterBound.h, src/conv/step/FaceSurface.cpp, - src/conv/step/FaceSurface.h, src/conv/step/Factory.cpp, - src/conv/step/Factory.h, src/conv/step/FoundedItem.cpp, - src/conv/step/FoundedItem.h, - src/conv/step/FunctionallyDefinedTransformation.cpp, - src/conv/step/FunctionallyDefinedTransformation.h, - src/conv/step/GeometricRepresentationContext.cpp, - src/conv/step/GeometricRepresentationContext.h, - src/conv/step/GeometricRepresentationItem.cpp, - src/conv/step/GeometricRepresentationItem.h, - src/conv/step/GlobalUncertaintyAssignedContext.cpp, - src/conv/step/GlobalUncertaintyAssignedContext.h, - src/conv/step/GlobalUnitAssignedContext.cpp, - src/conv/step/GlobalUnitAssignedContext.h, - src/conv/step/Hyperbola.cpp, src/conv/step/Hyperbola.h, - src/conv/step/IntersectionCurve.cpp, - src/conv/step/IntersectionCurve.h, - src/conv/step/ItemDefinedTransformation.cpp, - src/conv/step/ItemDefinedTransformation.h, - src/conv/step/LengthContextDependentUnit.cpp, - src/conv/step/LengthContextDependentUnit.h, - src/conv/step/LengthConversionBasedUnit.cpp, - src/conv/step/LengthConversionBasedUnit.h, - src/conv/step/LengthMeasureWithUnit.cpp, - src/conv/step/LengthMeasureWithUnit.h, - src/conv/step/LengthSiUnit.cpp, src/conv/step/LengthSiUnit.h, - src/conv/step/LengthUnit.cpp, src/conv/step/LengthUnit.h, - src/conv/step/Line.cpp, src/conv/step/Line.h, - src/conv/step/Loop.cpp, src/conv/step/Loop.h, - src/conv/step/LuminousIntensityContextDependentUnit.cpp, - src/conv/step/LuminousIntensityContextDependentUnit.h, - src/conv/step/LuminousIntensityConversionBasedUnit.cpp, - src/conv/step/LuminousIntensityConversionBasedUnit.h, - src/conv/step/LuminousIntensitySiUnit.cpp, - src/conv/step/LuminousIntensitySiUnit.h, - src/conv/step/LuminousIntensityUnit.cpp, - src/conv/step/LuminousIntensityUnit.h, - src/conv/step/ManifoldSolidBrep.cpp, - src/conv/step/ManifoldSolidBrep.h, - src/conv/step/MassContextDependentUnit.cpp, - src/conv/step/MassContextDependentUnit.h, - src/conv/step/MassConversionBasedUnit.cpp, - src/conv/step/MassConversionBasedUnit.h, - src/conv/step/MassSiUnit.cpp, src/conv/step/MassSiUnit.h, - src/conv/step/MassUnit.cpp, src/conv/step/MassUnit.h, - src/conv/step/MeasureValue.cpp, src/conv/step/MeasureValue.h, - src/conv/step/MeasureWithUnit.cpp, - src/conv/step/MeasureWithUnit.h, - src/conv/step/MechanicalContext.cpp, - src/conv/step/MechanicalContext.h, src/conv/step/NamedUnit.cpp, - src/conv/step/NamedUnit.h, src/conv/step/OffsetCurve2D.cpp, - src/conv/step/OffsetCurve2D.h, src/conv/step/OffsetCurve3D.cpp, - src/conv/step/OffsetCurve3D.h, src/conv/step/OffsetSurface.cpp, - src/conv/step/OffsetSurface.h, - src/conv/step/OpenNurbsInterfaces.cpp, - src/conv/step/OrientedClosedShell.cpp, - src/conv/step/OrientedClosedShell.h, - src/conv/step/OrientedEdge.cpp, src/conv/step/OrientedEdge.h, - src/conv/step/PCurve.cpp, src/conv/step/PCurve.h, - src/conv/step/PCurveOrSurface.cpp, - src/conv/step/PCurveOrSurface.h, src/conv/step/Parabola.cpp, - src/conv/step/Parabola.h, - src/conv/step/ParametricRepresentationContext.cpp, - src/conv/step/ParametricRepresentationContext.h, - src/conv/step/Path.cpp, src/conv/step/Path.h, - src/conv/step/Placement.cpp, src/conv/step/Placement.h, - src/conv/step/Plane.cpp, src/conv/step/Plane.h, - src/conv/step/PlaneAngleContextDependentUnit.cpp, - src/conv/step/PlaneAngleContextDependentUnit.h, - src/conv/step/PlaneAngleConversionBasedUnit.cpp, - src/conv/step/PlaneAngleConversionBasedUnit.h, - src/conv/step/PlaneAngleMeasureWithUnit.cpp, - src/conv/step/PlaneAngleMeasureWithUnit.h, - src/conv/step/PlaneAngleSiUnit.cpp, - src/conv/step/PlaneAngleSiUnit.h, - src/conv/step/PlaneAngleUnit.cpp, src/conv/step/PlaneAngleUnit.h, - src/conv/step/Point.cpp, src/conv/step/Point.h, - src/conv/step/Polyline.cpp, src/conv/step/Polyline.h, - src/conv/step/Product.cpp, src/conv/step/Product.h, - src/conv/step/ProductCategory.cpp, - src/conv/step/ProductCategory.h, - src/conv/step/ProductContext.cpp, src/conv/step/ProductContext.h, - src/conv/step/ProductDefinition.cpp, - src/conv/step/ProductDefinition.h, - src/conv/step/ProductDefinitionContext.cpp, - src/conv/step/ProductDefinitionContext.h, - src/conv/step/ProductDefinitionContextAssociation.cpp, - src/conv/step/ProductDefinitionContextAssociation.h, - src/conv/step/ProductDefinitionContextRole.cpp, - src/conv/step/ProductDefinitionContextRole.h, - src/conv/step/ProductDefinitionFormation.cpp, - src/conv/step/ProductDefinitionFormation.h, - src/conv/step/ProductDefinitionFormationWithSpecifiedSource.cpp, - src/conv/step/ProductDefinitionFormationWithSpecifiedSource.h, - src/conv/step/ProductDefinitionShape.cpp, - src/conv/step/ProductDefinitionShape.h, - src/conv/step/ProductRelatedProductCategory.cpp, - src/conv/step/ProductRelatedProductCategory.h, - src/conv/step/PropertyDefinition.cpp, - src/conv/step/PropertyDefinition.h, - src/conv/step/QuasiUniformCurve.cpp, - src/conv/step/QuasiUniformCurve.h, - src/conv/step/QuasiUniformSurface.cpp, - src/conv/step/QuasiUniformSurface.h, - src/conv/step/RatioContextDependentUnit.cpp, - src/conv/step/RatioContextDependentUnit.h, - src/conv/step/RatioConversionBasedUnit.cpp, - src/conv/step/RatioConversionBasedUnit.h, - src/conv/step/RatioSiUnit.cpp, src/conv/step/RatioSiUnit.h, - src/conv/step/RatioUnit.cpp, src/conv/step/RatioUnit.h, - src/conv/step/RationalBSplineCurve.cpp, - src/conv/step/RationalBSplineCurve.h, - src/conv/step/RationalBSplineCurveWithKnots.cpp, - src/conv/step/RationalBSplineCurveWithKnots.h, - src/conv/step/RationalBSplineSurface.cpp, - src/conv/step/RationalBSplineSurface.h, - src/conv/step/RationalBSplineSurfaceWithKnots.cpp, - src/conv/step/RationalBSplineSurfaceWithKnots.h, - src/conv/step/RationalBezierCurve.cpp, - src/conv/step/RationalBezierCurve.h, - src/conv/step/RationalBezierSurface.cpp, - src/conv/step/RationalBezierSurface.h, - src/conv/step/RationalQuasiUniformCurve.cpp, - src/conv/step/RationalQuasiUniformCurve.h, - src/conv/step/RationalQuasiUniformSurface.cpp, - src/conv/step/RationalQuasiUniformSurface.h, - src/conv/step/RationalUniformCurve.cpp, - src/conv/step/RationalUniformCurve.h, - src/conv/step/RationalUniformSurface.cpp, - src/conv/step/RationalUniformSurface.h, - src/conv/step/RectangularCompositeSurface.cpp, - src/conv/step/RectangularCompositeSurface.h, - src/conv/step/RectangularTrimmedSurface.cpp, - src/conv/step/RectangularTrimmedSurface.h, - src/conv/step/Representation.cpp, src/conv/step/Representation.h, - src/conv/step/RepresentationContext.cpp, - src/conv/step/RepresentationContext.h, - src/conv/step/RepresentationItem.cpp, - src/conv/step/RepresentationItem.h, - src/conv/step/RepresentationRelationship.cpp, - src/conv/step/RepresentationRelationship.h, - src/conv/step/RepresentationRelationshipWithTransformation.cpp, - src/conv/step/RepresentationRelationshipWithTransformation.h, - src/conv/step/STEPWrapper.cpp, src/conv/step/STEPWrapper.h, - src/conv/step/SeamCurve.cpp, src/conv/step/SeamCurve.h, - src/conv/step/ShapeRepresentation.cpp, - src/conv/step/ShapeRepresentation.h, - src/conv/step/ShapeRepresentationRelationship.cpp, - src/conv/step/ShapeRepresentationRelationship.h, - src/conv/step/SiUnit.cpp, src/conv/step/SiUnit.h, - src/conv/step/SolidAngleContextDependentUnit.cpp, - src/conv/step/SolidAngleContextDependentUnit.h, - src/conv/step/SolidAngleConversionBasedUnit.cpp, - src/conv/step/SolidAngleConversionBasedUnit.h, - src/conv/step/SolidAngleSiUnit.cpp, - src/conv/step/SolidAngleSiUnit.h, - src/conv/step/SolidAngleUnit.cpp, src/conv/step/SolidAngleUnit.h, - src/conv/step/SolidModel.cpp, src/conv/step/SolidModel.h, - src/conv/step/SphericalSurface.cpp, - src/conv/step/SphericalSurface.h, src/conv/step/Surface.cpp, - src/conv/step/Surface.h, src/conv/step/SurfaceCurve.cpp, - src/conv/step/SurfaceCurve.h, - src/conv/step/SurfaceOfLinearExtrusion.cpp, - src/conv/step/SurfaceOfLinearExtrusion.h, - src/conv/step/SurfaceOfRevolution.cpp, - src/conv/step/SurfaceOfRevolution.h, - src/conv/step/SurfacePatch.cpp, src/conv/step/SurfacePatch.h, - src/conv/step/SurfaceReplica.cpp, src/conv/step/SurfaceReplica.h, - src/conv/step/SweptSurface.cpp, src/conv/step/SweptSurface.h, - src/conv/step/ThermodynamicTemperatureContextDependentUnit.cpp, - src/conv/step/ThermodynamicTemperatureContextDependentUnit.h, - src/conv/step/ThermodynamicTemperatureConversionBasedUnit.cpp, - src/conv/step/ThermodynamicTemperatureConversionBasedUnit.h, - src/conv/step/ThermodynamicTemperatureSiUnit.cpp, - src/conv/step/ThermodynamicTemperatureSiUnit.h, - src/conv/step/ThermodynamicTemperatureUnit.cpp, - src/conv/step/ThermodynamicTemperatureUnit.h, - src/conv/step/TimeContextDependentUnit.cpp, - src/conv/step/TimeContextDependentUnit.h, - src/conv/step/TimeConversionBasedUnit.cpp, - src/conv/step/TimeConversionBasedUnit.h, - src/conv/step/TimeSiUnit.cpp, src/conv/step/TimeSiUnit.h, - src/conv/step/TimeUnit.cpp, src/conv/step/TimeUnit.h, - src/conv/step/TopologicalRepresentationItem.cpp, - src/conv/step/TopologicalRepresentationItem.h, - src/conv/step/ToroidalSurface.cpp, - src/conv/step/ToroidalSurface.h, - src/conv/step/Transformation.cpp, src/conv/step/Transformation.h, - src/conv/step/TrimmedCurve.cpp, src/conv/step/TrimmedCurve.h, - src/conv/step/TrimmingSelect.cpp, src/conv/step/TrimmingSelect.h, - src/conv/step/UncertaintyMeasureWithUnit.cpp, - src/conv/step/UncertaintyMeasureWithUnit.h, - src/conv/step/UniformCurve.cpp, src/conv/step/UniformCurve.h, - src/conv/step/UniformSurface.cpp, src/conv/step/UniformSurface.h, - src/conv/step/Unit.cpp, src/conv/step/Unit.h, - src/conv/step/Vector.cpp, src/conv/step/Vector.h, - src/conv/step/Vertex.cpp, src/conv/step/Vertex.h, - src/conv/step/VertexLoop.cpp, src/conv/step/VertexLoop.h, - src/conv/step/VertexPoint.cpp, src/conv/step/VertexPoint.h, - src/conv/step/VolumeContextDependentUnit.cpp, - src/conv/step/VolumeContextDependentUnit.h, - src/conv/step/VolumeConversionBasedUnit.cpp, - src/conv/step/VolumeConversionBasedUnit.h, - src/conv/step/VolumeSiUnit.cpp, src/conv/step/VolumeSiUnit.h, - src/conv/step/VolumeUnit.cpp, src/conv/step/VolumeUnit.h, - src/other/step/NEWS, src/other/step/include/CMakeLists.txt, - src/other/step/include/sclprefixes.h, - src/other/step/src/clSchemas/example/SdaiEXAMPLE_SCHEMA.cc, - src/other/step/src/clSchemas/example/SdaiEXAMPLE_SCHEMA.h, - src/other/step/src/clSchemas/example/Sdaiclasses.h, - src/other/step/src/clSchemas/example/schema.cc, - src/other/step/src/clSchemas/example/schema.h, - src/other/step/src/cldai/CMakeLists.txt, - src/other/step/src/cldai/sdaiApplication_instance_set.cc, - src/other/step/src/cldai/sdaiApplication_instance_set.h, - src/other/step/src/cldai/sdaiBinary.cc, - src/other/step/src/cldai/sdaiBinary.h, - src/other/step/src/cldai/sdaiDaObject.cc, - src/other/step/src/cldai/sdaiDaObject.h, - src/other/step/src/cldai/sdaiEntity_extent.cc, - src/other/step/src/cldai/sdaiEntity_extent.h, - src/other/step/src/cldai/sdaiEntity_extent_set.cc, - src/other/step/src/cldai/sdaiEntity_extent_set.h, - src/other/step/src/cldai/sdaiEnum.cc, - src/other/step/src/cldai/sdaiEnum.h, - src/other/step/src/cldai/sdaiModel_contents.cc, - src/other/step/src/cldai/sdaiModel_contents.h, - src/other/step/src/cldai/sdaiModel_contents_list.cc, - src/other/step/src/cldai/sdaiModel_contents_list.h, - src/other/step/src/cldai/sdaiObject.cc, - src/other/step/src/cldai/sdaiObject.h, - src/other/step/src/cldai/sdaiSession_instance.cc, - src/other/step/src/cldai/sdaiSession_instance.h, - src/other/step/src/cldai/sdaiString.cc, - src/other/step/src/cldai/sdaiString.h, - src/other/step/src/cleditor/CMakeLists.txt, - src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/cleditor/STEPfile.h, - src/other/step/src/cleditor/SdaiHeaderSchemaClasses.h, - src/other/step/src/cleditor/instmgr.cc, - src/other/step/src/cleditor/instmgr.h, - src/other/step/src/cleditor/mgrnode.cc, - src/other/step/src/cleditor/mgrnode.h, - src/other/step/src/cleditor/seeinfodefault.h, - src/other/step/src/clprobe-ui/probe.cc, - src/other/step/src/clstepcore/CMakeLists.txt, - src/other/step/src/clstepcore/ExpDict.cc, - src/other/step/src/clstepcore/ExpDict.h, - src/other/step/src/clstepcore/ExpDict.inline.cc, - src/other/step/src/clstepcore/Registry.h, - src/other/step/src/clstepcore/Registry.inline.cc, - src/other/step/src/clstepcore/STEPaggregate.cc, - src/other/step/src/clstepcore/STEPaggregate.h, - src/other/step/src/clstepcore/STEPattribute.cc, - src/other/step/src/clstepcore/STEPattribute.h, - src/other/step/src/clstepcore/STEPattribute.inline.cc, - src/other/step/src/clstepcore/STEPcomplex.cc, - src/other/step/src/clstepcore/STEPcomplex.h, - src/other/step/src/clstepcore/read_func.cc, - src/other/step/src/clstepcore/read_func.h, - src/other/step/src/clstepcore/sdai.cc, - src/other/step/src/clstepcore/sdai.h, - src/other/step/src/clstepcore/sdaiApplication_instance.cc, - src/other/step/src/clstepcore/sdaiApplication_instance.h, - src/other/step/src/clstepcore/sdaiSelect.cc, - src/other/step/src/clstepcore/sdaiSelect.h, - src/other/step/src/clutils/CMakeLists.txt, - src/other/step/src/clutils/dirobj.cc, - src/other/step/src/clutils/gennodearray.cc, - src/other/step/src/clutils/scl_char_str_list.cc, - src/other/step/src/exppp/CMakeLists.txt, - src/other/step/src/express/CMakeLists.txt, - src/other/step/src/fedex_plus/CMakeLists.txt, - src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes_misc.c, - src/other/step/src/fedex_plus/classes_wrapper.cc, - src/other/step/src/fedex_plus/selects.c, - src/other/step/src/fedex_python/src/classes_python.c, - src/other/step/src/fedex_python/src/classes_wrapper_python.cc, - src/other/step/src/fedex_python/src/selects_python.c, - src/other/step/src/test/scl2html/scl2html.cc: - Apply SCL git d6d7c48 changes. SCLP23 macros replaced with simple - SDAI_ prefix. - -2012-04-17 22:29 brlcad - - * [r50157] src/bwish/input.c: - increase the range so the check isn't always true where char are - unsigned - -2012-04-17 22:13 brlcad - - * [r50156] src/fb/gif2fb.c: - we're in main() so just return when we're preceded by a printing - statement. should quell cid 1475. - -2012-04-17 22:08 brlcad - - * [r50155] src/fb/fbanim.c: - quell coverity cid 1473, since it doesn't seem to notice that - bu_exit() never returns. - -2012-04-17 22:04 brlcad - - * [r50154] src/conv/ply-g.c: - bounds-check vcount since it's tainted. cid 1471 - -2012-04-17 21:43 brlcad - - * [r50153] src/bwish/input.c: - Try a different way to validated the tainted buffer from read(). - check the bounds being used. cid 1461. - -2012-04-17 21:17 brlcad - - * [r50152] src/mged/animedit.c: - another wrong malloc sizeof() detected, cid 1271 - -2012-04-17 21:15 brlcad - - * [r50151] src/conv/jack/g-jack.c: - write alloc size. int not pointer. SIZEOF_MISMATCH cid 1264 - -2012-04-17 21:13 brlcad - - * [r50150] src/libfb/fbserv_obj.c: - check for null buffer since we use it. REVERSE_INULL check cid - 545. - -2012-04-17 21:08 brlcad - - * [r50149] src/libged/tree.c: - if multiple -o arguments are given, it'll clobber the existing - fdout. detected by RESOURCE_LEAK check, cid 498. - -2012-04-17 20:48 brlcad - - * [r50148] src/librt/opennurbs_ext.cpp: - fix a couple memory leaks detected by coverity, cid 488. - -2012-04-17 20:45 brlcad - - * [r50147] src/libged/vdraw.c: - do the same to the non-wdb version of vdraw. note that this looks - like it was a bonefide vlist off-by-one issue since it was - shifting cmd values down from +1 and +1 could exceed - BN_VLIST_CHUNK. perhaps related to some of the wireframe - instability. - -2012-04-17 20:39 brlcad - - * [r50146] src/libged/wdb_vdraw.c: - oops, list is decreasing, so leave off the check - -2012-04-17 20:37 brlcad - - * [r50145] src/libged/wdb_vdraw.c: - be explicit with the check to make sure we don't exceed - BN_VLIST_CHUNK, responding to cid 420 OVERRUN_STATIC check. note - cmd[i+1] so we have to stop one less than the capacity. - -2012-04-17 20:22 brlcad - - * [r50144] src/librt/primitives/arb8/arb8.c: - try to quell the warning by using a temporary - -2012-04-17 20:20 brlcad - - * [r50143] src/librt/primitives/arb8/arb8.c: - subtract using the first arb symbol, not by the current value of - that symbol hardcoded - -2012-04-17 20:12 brlcad - - * [r50142] src/librt/comb/comb.c: - cast and set to temp outside of the function call to quell - false-positive negative_retursn warning (cid 384) - -2012-04-17 18:34 brlcad - - * [r50141] src/util/sun-pix.c: - non-lib private functions should be static - -2012-04-17 18:18 brlcad - - * [r50140] src/librt/db_scan.c: - make sure we don't try to fseek to a negative address if ftell() - fails. just assume rewind worked and scan from position 0. - -2012-04-17 18:13 brlcad - - * [r50139] src/util/sun-pix.c: - looks like cid 332 is caused by use of unsigned long instead of - the implicit uint32_t type it's using it as. change getlong() to - return 32-bit type so we hopefully avoid all truncation - propagation. - -2012-04-17 18:08 brlcad - - * [r50138] NEWS, src/sig/CMakeLists.txt, src/sig/Makefile.am, - src/sig/syn.c: - the 'syn' sine synthesis tool is incurring a maintenance cost - with no expressed benefit, remove it as obsolete. - overflow/underflow issues in coverity, crashes on simple testing, - tainted inputs, and more - -2012-04-17 17:48 brlcad - - * [r50137] src/liboptical/sh_toyota.c: - probably wont fix the overflow issues but should pinpoint how - many coverity is detecting. - -2012-04-17 17:36 brlcad - - * [r50136] src/conv/ply-g.c: - already quelled cid 325 (integer_overflow), but can we fake it - out? it's not an integer, so maybe using a double temp might make - that clear. - -2012-04-17 17:20 brlcad - - * [r50135] include/raytrace.h, src/librt/db5_io.c: - change some of the sanity/bounds checks during object reads to - ensure we don't overflow/underflow (cid 322). change - db5_decode_length() to return a size_t since the value is always - a sizeof size. - -2012-04-17 17:09 starseeker - - * [r50134] src/vfont/getfont.c: - Make a stab at resolving CID 1613 - -2012-04-17 16:57 starseeker - - * [r50133] src/rt/rtexample.c: - initialize cur with RT_CURVATURE_INIT_ZERO - hopefully will - address CID 1615 - -2012-04-17 16:39 brlcad - - * [r50132] src/librt/search.c: - vastly simplify the logic by just checking what we need - piecewise. reduces about 50 lines to 15. hopefully addresses the - deadcode condition being reported in cid 212 due to the - now-singular path through the if/else cases. - -2012-04-17 16:20 brlcad - - * [r50131] src/irprep/secpass.c: - massive ws style cleanup, eliminate dead comment code, remove - authorship and editing history comments. - -2012-04-17 16:11 brlcad - - * [r50130] src/irprep/secpass.c: - join the second typeout comparison with an if/else since both - can't be true. add some bounds tests on the tainted input too. - cid 180. - -2012-04-17 16:06 brlcad - - * [r50129] src/librt/primitives/nmg/nmg_inter.c: - hit_v cannot be null here, revert 49986. (cid 169) - -2012-04-17 15:51 brlcad - - * [r50128] src/librt/shoot.c: - yet another attempt at quelling cid 98, array_vs_singleton. since - the other assertion is that lastcell is a nugridnode, test for it - before blindly using it for cutp iteration. - -2012-04-17 14:36 starseeker - - * [r50127] src/util/CMakeLists.txt: - make pc_test logic more robust - -2012-04-17 08:04 brlcad - - * [r50126] src/sig/umod.c: - add some range checks to quell cid 1495. - -2012-04-17 07:47 brlcad - - * [r50125] src/sig/syn.c: - more bounds checking - -2012-04-17 07:43 brlcad - - * [r50124] src/sig/syn.c: - check the upper bounds too. hopefully clears tainted_scalar cid - 1494. - -2012-04-17 07:34 brlcad - - * [r50123] src/sig/smod.c: - range check the iobuf index. cov cid 1493. - -2012-04-17 07:20 brlcad - - * [r50122] src/sig/imod.c: - check range of tainted array index before use. cov cid 1492. - -2012-04-17 07:10 brlcad - - * [r50121] src/sig/ihist.c: - initialize memory and range check zerop index. cov cid 1491. - -2012-04-17 06:58 brlcad - - * [r50120] src/sig/fhor.c: - check the range of inputs after atoi, should address - tainted_scalar from cid 1490. - -2012-04-17 06:56 brlcad - - * [r50119] src/irprep/irdisp.c: - check the range of inputs after scanf, should address - tainted_scalar from cid 1479. - -2012-04-17 06:33 brlcad - - * [r50118] src/halftone/sharpen.c: - another set of tainted_scalar issues, cid 1477. - -2012-04-17 06:16 brlcad - - * [r50117] src/halftone/sharpen.c: - stash the buffer value before using it as an index so we can - range check it. should quell tainted_scalar report, cid 1477. - -2012-04-17 06:10 brlcad - - * [r50116] src/gtools/remapid.c: - range-check the last component value to quell a tainted_scalar - coverity check, cid 1476. - -2012-04-17 05:50 brlcad - - * [r50115] src/fb/gif-fb.c: - another tainted_scalar, cid 1474, for background. - -2012-04-17 05:48 brlcad - - * [r50114] src/fb/gif-fb.c: - check a range in order to 'untaint' the parsed input data. should - fix coverity tainted_scalar cid 1474. - -2012-04-17 05:26 brlcad - - * [r50113] src/fb/gif-fb.c: - convert to libbu memory management, tidy up - -2012-04-17 05:03 brlcad - - * [r50112] src/anim/anim_track.c: - same issue as anim_hardtrack (looks to be a functional code - merge). init to -1 is problematic. untested, but go back to zero. - cid 371. - -2012-04-17 04:57 brlcad - - * [r50111] src/anim/anim_hardtrack.c: - carl didn't document why he made num_wheels initialize to -1 but - it will result in a negative memory allocation if the stream scan - fails. reported by negative_returns coverity check, cid 370 - -2012-04-17 04:41 brlcad - - * [r50110] src/conv/intaval/write_brl.cpp: - style consistency - -2012-04-17 04:32 brlcad - - * [r50109] src/conv/intaval/write_brl.cpp: - add missing semi-colons. - -2012-04-17 04:31 brlcad - - * [r50108] TODO: - fixed an overflow and underflow issue that 'should' preserve - existing behavior but warrants testing (anyone have a tgf handy?) - since it's prime for an off-by-one error. cid 323. - -2012-04-17 04:22 brlcad - - * [r50107] src/conv/intaval/write_brl.cpp: - convert the array index into an explicit case where we manually - wrap around. this should overflow and underflow reports from - coverity and makes the intent hopefully a little more clear that - this is some sort of wrapping convolution. 'should' preserve - existing behavior but warrants testing (anyone have a tgf handy?) - since it's prime for an off-by-one error. cid 323. - -2012-04-17 03:02 brlcad - - * [r50106] NEWS: - the vegitation memory corruption should be user visible. detected - by coverity and fixed by initializing the right pointer. - -2012-04-17 02:48 brlcad - - * [r50105] src/proc-db/vegetation.c: - looks like coverity caught another memory management bug. we were - wiping out the plant structure when the code was supposed to be - initializing this point. should fix coverity forward_null cid 316 - issue. - -2012-04-17 02:22 brlcad - - * [r50104] src/proc-db/vegetation.c: - make my old code match current project style conventions - -2012-04-17 02:17 brlcad - - * [r50103] include/bu.h: - if we cast the pointer and the head pointer, we will avoid a - pointer-type mismatch if someone happens to use a non bu_list - type. arguably an error, but there's nothing that technically - requires the head pointer actually be a bu_list struct. that - change lets us fix BU_LIST_FOR_CIRC() which was being used in nmg - code with non-bu types. - -2012-04-17 01:51 brlcad - - * [r50102] src/librt/vshoot.c: - make sure HeadSeg isn't null before we go dereferencing it to - free segments. can't push the check up into RT_FREE_SEG_LIST() - because not all list heads are pointers (which would provoke a - warning that a check is always true). fixes a coverity - forward_null defect, cid 308. - -2012-04-17 01:38 n_reed - - * [r50101] regress/CMakeLists.txt, src/other/perplex.dist: - ignore some files - -2012-04-17 01:08 brlcad - - * [r50100] src/librt/primitives/pipe/pipe.c: - make sure we don't dereference a null pp3 pointer if we're near - the end of the point list. check if we're on the last segment - before skipping to the next point. should fix coverity cid 305 - forward_null defect. - -2012-04-17 01:02 brlcad - - * [r50099] src/librt/primitives/pipe/pipe.c: - big ws messy cleanup. - -2012-04-17 00:57 brlcad - - * [r50098] src/librt/primitives/nmg/nmg.c: - unclear what it means to have a null shell at this point, so just - make sure we don't dereference one instead of returning error. - should fix coverity forward_null defect, cid 304. - -2012-04-17 00:52 brlcad - - * [r50097] src/librt/primitives/extrude/extrude.c: - make sure we don't dereference a null outer_loop pointer. - detected by coverity forward_null check, cid 302. - -2012-04-17 00:44 brlcad - - * [r50096] src/libged/put_comb.c: - make sure we don't dereference a null directory pointer. should - fix forward_null defect from cid 298. - -2012-04-17 00:36 brlcad - - * [r50095] src/librt/primitives/nmg/nmg_inter.c: - check fu1 and fu2 for null to quell CID 249. false-positive, but - good to handle make explicit anyways. - -2012-04-17 00:11 brlcad - - * [r50094] src/libbu/badmagic.c: - refactor a few lines so there's just one call to bu_bomb() - -2012-04-16 21:39 r_weiss - - * [r50093] src/mged/utility1.c: - Updated file 'src/mged/utility1.c' changing all references to - function 'db_tree_funcleaf' to include a fourth generic user - pointer. - -2012-04-16 21:37 r_weiss - - * [r50092] src/librt/db_match.c, src/librt/db_tree.c: - Updated files 'src/librt/db_match.c', 'src/librt/db_tree.c' - changing all references to function 'db_tree_funcleaf' to include - a fourth generic user pointer. - -2012-04-16 21:32 r_weiss - - * [r50091] src/conv/iges/g-iges.c: - Updated file 'g-iges.c' changing all references to function - 'db_tree_funcleaf' to include a fourth generic user pointer. - -2012-04-16 21:27 r_weiss - - * [r50090] include/raytrace.h: - Updated header file 'raytrace.h'. Changed the definition of - function 'db_tree_funcleaf' by adding a fourth generic user - pointer. - -2012-04-16 21:25 r_weiss - - * [r50089] src/libged/copyeval.c, src/libged/edcodes.c, - src/libged/find.c, src/libged/ged_private.h, - src/libged/get_obj_bounds.c, src/libged/list.c, - src/libged/pathsum.c, src/libged/prefix.c, src/libged/push.c, - src/libged/showmats.c, src/libged/trace.c, src/libged/wcodes.c, - src/libged/wdb_obj.c, src/libged/xpush.c: - Updated files xpush.c list.c copyeval.c showmats.c find.c - pathsum.c wcodes.c wdb_obj.c trace.c ged_private.h push.c - get_obj_bounds.c prefix.c and edcodes.c within the libged - library. Changed functions 'ged_list' (ie mged 'l' command, - lowercase L) and ged_pathsum (ie mged 'paths' command) to accept - an addition parameter '-t' meaning terse to reduce the amount of - information displayed when using these commands. This is useful - when you want to use the 'l' command on a very large bot and do - not want to see all full listing of millions of vertices and - faces. Within function 'ged_pathsum' removed the call to clear - 'ged_result_str' since in some cases we want to keep the - information already in this string when entering this function. - We just want to append to the 'ged_result_str'. Also initialized - the '_ged_trace_data' structure as a sanity check. Fixed a - seg-fault then the pattern string is just '/'. - -2012-04-16 21:18 tbrowder2 - - * [r50088] regress/quote.sh: - add missing script for vls_encode/decode test - -2012-04-16 19:33 n_reed - - * [r50087] regress/CMakeLists.txt: - can ignore quote.sh once it's been commited - -2012-04-16 17:24 tbrowder2 - - * [r50086] src/libbu/test_quote.c: - explain hack - -2012-04-16 17:23 tbrowder2 - - * [r50085] src/libbu/test_quote.c: - improve and correct test_quote function - -2012-04-16 15:55 brlcad - - * [r50084] src/librt/primitives/nmg/nmg_misc.c: - make sure when duplicating a shell that we don't assume a face - has a loop (crash). detected by coverity forward_null cid 244. - -2012-04-16 15:46 brlcad - - * [r50083] src/libbu/bitv.c: - prevent a null dereference if we pass a null bitvector around. - however, return an empty bitvector from new() so we never - propagate a null. should fix coverity forward_null cid 242. - -2012-04-16 15:37 brlcad - - * [r50082] src/mged/tedit.c: - editor is set to jove as a fallback so it can't be null. just use - it. cid 220. - -2012-04-16 15:13 brlcad - - * [r50081] src/mged/share.c: - prevent a deadcode condition detected by coverity by only calling - SHARE_RESOURCE once outside the uflag if/else conditional. cid - 219. - -2012-04-16 15:02 brlcad - - * [r50080] src/mged/share.c: - ws indent cleanup now that there are semicolons - -2012-04-16 15:01 brlcad - - * [r50079] src/mged/share.c: - turn SHARE_RESOURCE macro into a do/while loop so we can always - include a trailing semicolon so code looks like valid code. - -2012-04-16 14:56 brlcad - - * [r50078] src/mged/polyif.c: - since the original implementation commit in 1991, manually - calculating normals for export has been disabled, so remove the - code for it. fixes the deadcode issue reported in cid 218. - -2012-04-16 14:47 brlcad - - * [r50077] src/mged/chgview.c: - quell a deadcode defect detected by coverity (cid 217) by - cleaning up the logic to match the messages being printed. if it - introduces a bug, then the message being printed is - wrong/misleading. - -2012-04-16 14:36 brlcad - - * [r50076] src/mged/animedit.c: - looks like coverity deadcode defect CID 214 is a false positive, - complaining about curfound being always true, but try to be - explicit anyways for code clarity. move the initial false case - init out to the loop so it's clear that it starts false. - -2012-04-16 14:20 brlcad - - * [r50075] src/mged/animedit.c: - accfound is never set to true, so conditional is always true. - eliminate the var, even though it looks like it implies bad - logic.. - -2012-04-16 13:35 brlcad - - * [r50074] src/librt/opennurbs_ext.h, - src/librt/primitives/brep/brep.cpp, - src/librt/primitives/brep/brep_debug.cpp: - looks like BVNode::isTrimmed() is trying to set a pointer, so - we need a pointer to it for it to persist back to the caller. - this fixes a deadcode condition detected by coverity (CID 209), - which looks like a bonefide bug in the trimming code where it was - keeping track of an adjacent trimmed face id (where it would - always get set to -99). - -2012-04-16 13:21 brlcad - - * [r50073] src/librt/primitives/brep/brep.cpp: - ws, indent, style cleanup - -2012-04-16 11:56 tbrowder2 - - * [r50072] regress/CMakeLists.txt: - add regression test for 'quote' (actually bu_vls_encode/decode) - -2012-04-16 11:55 tbrowder2 - - * [r50071] src/libbu/test_quote.c: - make test_quote work and report failures - -2012-04-16 05:44 brlcad - - * [r50070] src/librt/primitives/brep/brep.cpp: - fix coverity deadcode detection (cid 208) - -2012-04-16 05:37 brlcad - - * [r50069] src/liborle/rle.c: - unlikely to fix cid 405 (OVERRUN_STATIC), but it looks like false - positive. simplify the pointer a bit to see if it has an effect - on the detected defect. - -2012-04-16 05:26 brlcad - - * [r50068] src/liborle/rle.c: - just what are the parens supposed to be doing here - -2012-04-16 05:01 brlcad - - * [r50067] src/libged/wdb_obj.c: - fix three different deadcode coverity detections (cid 205, 206, - 207), two of which are obvious, but the third not so much.. it - looks like the arb8 block was completely replicated but not kept - in sync. remove the seemingly weaker second version matching the - non-wdb_obj version. - -2012-04-16 04:38 brlcad - - * [r50066] src/librt/primitives/nmg/nmg_misc.c: - little tricky to see it, but coverity seems to have correctly - identified a deadcode condition where the loop never iterated - more than once (found_face gets set to true on first pass). cid - 175. converted to an if-clause in order to preserve existing - behavior while allowing for code simplification. - -2012-04-16 04:06 brlcad - - * [r50065] src/librt/primitives/nmg/nmg_misc.c: - quell dead code issue for the always-false block by commenting it - out since that's what the true-setting block is commented out. - cid 174. - -2012-04-16 04:03 brlcad - - * [r50064] src/conv/g-var.c: - default case is unreachable, so join it up with the first case. - should resolve cid 173. - -2012-04-16 03:55 brlcad - - * [r50063] src/librt/primitives/nmg/nmg_class.c: - convert the goto retry logic into a do/while loop. this is in - response to coverity cid 168 even though it looks like it was a - bonefide false positive. - -2012-04-15 23:52 tbrowder2 - - * [r50062] src/conv/g-nff.c: - ws - -2012-04-15 23:49 tbrowder2 - - * [r50061] src/librt/db_tree.c: - ws - -2012-04-15 23:44 tbrowder2 - - * [r50060] src/liboptical/sh_gauss.c: - eliminate uninitialized error - -2012-04-15 22:15 tbrowder2 - - * [r50059] src/librt/primitives/nmg/nmg_bool.c: - ws - -2012-04-15 19:04 tbrowder2 - - * [r50058] src/conv/g-var.c: - typo, make size arg in fwrite explicit - -2012-04-15 18:54 tbrowder2 - - * [r50057] src/conv/g-var.c: - use correct type - -2012-04-15 18:54 tbrowder2 - - * [r50056] src/conv/g-var.c: - use correct type - -2012-04-15 18:44 tbrowder2 - - * [r50055] src/conv/g-var.c: - correct type for defined var - -2012-04-15 18:39 tbrowder2 - - * [r50054] src/conv/g-var.c: - ws, style - -2012-04-15 18:33 tbrowder2 - - * [r50053] src/conv/g-var.c: - correct usage to show the .g input file - -2012-04-15 12:27 tbrowder2 - - * [r50052] TODO: - add task to look into lack of stack trace in log - -2012-04-15 12:24 tbrowder2 - - * [r50051] src/conv/euclid/euclid-g.c, src/conv/euclid/g-euclid.c, - src/conv/euclid/g-euclid1.c, src/conv/iges/g-iges.c, - src/conv/iges/main.c, src/conv/jack/g-jack.c, - src/conv/nmg/asc-nmg.c, src/conv/nmg/g-nmg.c, - src/conv/off/g-off.c, src/conv/off/off-g.c, - src/conv/tankill/g-tankill.c, src/conv/tankill/tankill-g.c: - add progname for debugging dumps - -2012-04-15 12:18 tbrowder2 - - * [r50050] src/conv/jack/jack-g.c: - ws - -2012-04-15 12:16 tbrowder2 - - * [r50049] src/conv/jack/g-jack.c: - ws - -2012-04-15 11:35 tbrowder2 - - * [r50048] src/conv/dem-g.c: - correct for unconventional av (instead of argv) - -2012-04-15 11:32 tbrowder2 - - * [r50047] src/conv/g-dot.c: - correct for unconventional av (instead of argv) - -2012-04-15 11:31 tbrowder2 - - * [r50046] src/conv/bot_dump.c, src/conv/bot_shell-vtk.c, - src/conv/conv-vg2g.c, src/conv/cy-g.c, src/conv/dbupgrade.c, - src/conv/dem-g.c, src/conv/enf-g.c, src/conv/fast4-g.c, - src/conv/g-acad.c, src/conv/g-dot.c, src/conv/g-egg.c, - src/conv/g-nff.c, src/conv/g-obj.c, src/conv/g-shell-rect.c, - src/conv/g-var.c, src/conv/g-x3d.c, src/conv/g-xxx.c, - src/conv/g-xxx_facets.c, src/conv/g4-g5.c, src/conv/g5-g4.c, - src/conv/nastran-g.c, src/conv/obj-g.c, src/conv/ply-g.c, - src/conv/poly-bot.c, src/conv/proe-g.c, src/conv/viewpoint-g.c: - add progname for debugging dumps - -2012-04-15 11:29 tbrowder2 - - * [r50045] src/conv/g-xxx_facets.c: - ws, style - -2012-04-15 11:26 tbrowder2 - - * [r50044] src/conv/g-vrml.c: - ws, style - -2012-04-15 11:22 tbrowder2 - - * [r50043] src/conv/g-egg.c: - ws - -2012-04-15 11:21 tbrowder2 - - * [r50042] src/conv/fast4-g.c: - ws - -2012-04-15 11:19 tbrowder2 - - * [r50041] src/conv/enf-g.c: - ws - -2012-04-15 11:16 tbrowder2 - - * [r50040] src/conv/bot_shell-vtk.c: - ws, style - -2012-04-15 11:08 tbrowder2 - - * [r50039] src/conv/proe-g.c: - typo - -2012-04-15 11:04 tbrowder2 - - * [r50038] src/conv/walk_example.c: - typo, ws - -2012-04-15 05:05 brlcad - - * [r50037] src/librt/primitives/dsp/dsp.c: - addresses several CHECKED_RETURN issues reported by coverity (cid - 142), not checking return value of nmg_kill_cracks(). - -2012-04-15 04:58 brlcad - - * [r50036] src/liboptical/sh_tcl.c: - apply change for CHECKED_RETURN detected by cov cid 139. - -2012-04-15 04:56 brlcad - - * [r50035] src/liboptical/sh_gauss.c: - make sure rt_db_get_internal() succeeds (cov cid 137) - -2012-04-15 04:50 brlcad - - * [r50034] src/librt/search.c: - make sure we turn the string into a path. coverity noticed we - usually check the return value (20/23 times) and rightly needed. - skip string if it fails. (cid 133) - -2012-04-15 04:36 brlcad - - * [r50033] src/librt/primitives/pipe/pipe_brep.cpp: - looks like coverity correctly detected a bad pointer dereference - in the pipe brep routine where we were incrementing a pointer and - then dereferencing an address. woulda probably been very nasty to - debug.. should address coverity ARRAY_VS_SINGLETON (cid 99 and - 100) - -2012-04-15 04:26 brlcad - - * [r50032] src/librt/shoot.c: - after hours of trying to follow the logic, take a stab at a - simple sanity check solution to an ARRAY_VS_SINGLETON issue being - detected by coverity (cid 98). it reports some path through the - code resulting in the original head node getting incremented. fix - is to make sure we're not incrementing what we started with - (since if it's a nugrid node, it should have been set to - something else on the first pass). - -2012-04-15 00:23 tbrowder2 - - * [r50031] TODO: - typo - -2012-04-15 00:20 tbrowder2 - - * [r50030] TODO: - add details on g-nff and friends problems; add new item for later - -2012-04-15 00:19 tbrowder2 - - * [r50029] src/libbu/quote.c: - typo - -2012-04-14 18:07 brlcad - - * [r50028] src/libgcv/bottess.c: - return the return tree. fixes set-but-unused compilation failure. - -2012-04-14 14:28 tbrowder2 - - * [r50027] TODO: - add item to check bu_vls functions - -2012-04-14 13:56 tbrowder2 - - * [r50026] TODO: - g-dot no longer outputting garbage - -2012-04-14 13:53 tbrowder2 - - * [r50025] src/conv/g-dot.c: - dot format now seems correct ('dot' doesn't complain) - -2012-04-14 13:43 tbrowder2 - - * [r50024] src/conv/g-dot.c: - now runs without abort, but label info is not correct format, - problem seems to be bu_vls_dequote function - -2012-04-14 12:28 tbrowder2 - - * [r50023] regress/CMakeLists.txt: - add another temp file - -2012-04-14 12:26 tbrowder2 - - * [r50022] regress/Makefile.am: - add new regression tests - -2012-04-14 12:20 tbrowder2 - - * [r50021] src/conv/Makefile.am: - remove deleted file - -2012-04-14 12:12 tbrowder2 - - * [r50020] regress/comgeom, regress/tgms/m35.asc.gz, - regress/tgms/m35.cg.gz: - rename dir to hold tgms - -2012-04-14 12:12 tbrowder2 - - * [r50019] regress/g-dot.sh: - use more descriptive name for list of temp files - -2012-04-14 12:11 tbrowder2 - - * [r50018] regress/comgeom.sh, regress/g-nff.sh: - use new tgms dir; tidy scripts - -2012-04-14 12:09 tbrowder2 - - * [r50017] regress/CMakeLists.txt: - add comment; keep names sorted - -2012-04-14 12:07 tbrowder2 - - * [r50016] regress/CMakeLists.txt: - keep names sorted - -2012-04-14 12:06 tbrowder2 - - * [r50015] regress/CMakeLists.txt: - change tgm dir name - -2012-04-14 12:05 tbrowder2 - - * [r50014] regress/CMakeLists.txt: - keep names sorted - -2012-04-14 12:04 tbrowder2 - - * [r50013] regress/CMakeLists.txt: - correct generated file name - -2012-04-14 11:48 tbrowder2 - - * [r50012] regress/tgms: - add directory to store tgms for testing - -2012-04-14 01:45 tbrowder2 - - * [r50011] regress/red.sh: - typo - -2012-04-14 01:32 tbrowder2 - - * [r50010] regress/g-nff.sh: - tidying test but need to trap bu_bomb - -2012-04-14 01:18 tbrowder2 - - * [r50009] regress/g-nff.sh: - add a known test failure for current trunk - -2012-04-14 01:03 tbrowder2 - - * [r50008] regress/g-dot.sh, regress/g-nff.sh: - tidy regress scripts - -2012-04-14 00:52 tbrowder2 - - * [r50007] regress/CMakeLists.txt, regress/g-dot.sh, - regress/g-nff.sh: - add start of regression tests for g-nff and g-dot - -2012-04-13 23:28 tbrowder2 - - * [r50006] src/conv/g-nff.c: - ws, style - -2012-04-13 20:28 erikgreenwald - - * [r50005] src/librt/shoot.c: - initialize c to avoid the uninitialized warning on older gccs - -2012-04-13 18:45 starseeker - - * [r50004] CMakeLists.txt: - fix it so the documentation summary line doesn't lie when we're - only building libraries - -2012-04-13 18:42 erikgreenwald - - * [r50003] src/librt/shoot.c: - add some more copy bits to the shootray_simple hit func - -2012-04-13 18:32 starseeker - - * [r50002] CMakeLists.txt, misc/enigma/CMakeLists.txt, - src/CMakeLists.txt, src/conv/step/CMakeLists.txt, - src/other/CMakeLists.txt: - Per user request, at a way to indicate to CMake that it should - build either a) just what is needed for librt b) just what is - needed for the libraries sans executables or c) everything - (default) via the BRLCAD_ENABLE_TARGETS variable - -2012-04-13 18:31 erikgreenwald - - * [r50001] src/librt/shoot.c: - malloc->bu_malloc. Mention that it adds malloc syscalls, so is - not fast. - -2012-04-13 18:23 erikgreenwald - - * [r50000] TODO: - bump bottie fixes out of this release cycle, they shouldn't be in - any critical paths just yet - -2012-04-13 18:23 erikgreenwald - - * [r49999] src/librt/shoot.c: - start filling in a little bit of the rt_shootray_simple hit func - -2012-04-13 16:16 tbrowder2 - - * [r49998] include/bu.h: - fix typo in quote - -2012-04-13 11:59 tbrowder2 - - * [r49997] TODO: - add need for checking red-black tree implementation - -2012-04-13 11:58 tbrowder2 - - * [r49996] include/bu.h: - expand note further highlighting possible errors in implementation - -2012-04-13 11:42 tbrowder2 - - * [r49995] include/bu.h: - expand note - -2012-04-13 11:39 tbrowder2 - - * [r49994] include/bu.h: - update citation: expand author's first names, correct title, add - note on availability of 3rd ed. - -2012-04-13 00:43 tbrowder2 - - * [r49990] regress/CMakeLists.txt, regress/comgeom.sh, - regress/comgeom/m35.g.gift5.txt: - tidy regress-comgeom test; remove old and now unused input test - file - -2012-04-12 23:52 tbrowder2 - - * [r49989] regress/comgeom/m35.cg.gz: - a compressed file to replace m35.g.gift5.txt - -2012-04-12 21:32 n_reed - - * [r49988] src/librt/primitives/nmg/nmg_inter.c: - Remove unused total_splits variable (previously captured func - return, should've been removed in r8791). CID 170. - -2012-04-12 20:39 starseeker - - * [r49987] regress/CMakeLists.txt, regress/nurbs, - regress/nurbs/brep-3dm.tar.bz2: - Add the abstract brep shape used during the development of NURBS - raytracing support - very simple shape that still has enough - interesting aspects to serve as a reasonable test case for a - variety of raytracing situations. Also a good candidate file for - 3dm-g regression testing. - -2012-04-12 20:03 n_reed - - * [r49986] src/librt/primitives/nmg/nmg_inter.c: - Tweak branching to avoid an unnecessary test on hit_v. CID 169. - -2012-04-12 19:29 brlcad - - * [r49985] NEWS, TODO: - cliff fixed a bug in ARS prep where the new bounding box routine - being calculated is way too big. (r49979) reverted to using the - BoT results. issue was reported by s2 folks where an overlap case - was resulting in different ordering of objects (resulting in a - different normal). - -2012-04-12 19:12 brlcad - - * [r49984] NEWS: - nick fixed a bug in the fast4-g importer while fixing coverity - cid 171 (r49982). looks like there was bad logic handling - hole/wall geometry. fixed by resetting the variable after the - split. - -2012-04-12 17:14 n_reed - - * [r49983] src/conv/patch/patch-g.c: - Remove redundant null check. CID 176. - -2012-04-12 17:05 n_reed - - * [r49982] src/conv/fast4-g.c: - On split, forgot to reset hole-list pointer to subtract holes in - second region. CID 171. - -2012-04-11 22:07 n_reed - - * [r49981] src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes.h, - src/other/step/src/fedex_plus/classes_misc.c: - missing function prototypes causing bad compilation on Mac 10.6 - -2012-04-11 19:57 starseeker - - * [r49979] src/librt/primitives/ars/ars.c: - Gah - ARS bbox routine appears to have the same issue (whatever - that issue is) as the BoT bbox routine. Do what we did for BoT - and comment out the ARS bbox routine usage until it gets - resolved. - -2012-04-11 15:57 tbrowder2 - - * [r49978] regress/CMakeLists.txt, regress/Makefile.am, - regress/comgeom, regress/comgeom.sh, regress/vdeck-comgeom-g, - regress/vdeck-comgeom-g.sh: - renaming vdeck/comgeom-g test files to simplify reference to the - pair - -2012-04-11 15:49 tbrowder2 - - * [r49977] regress/library.sh: - add search path for vdeck - -2012-04-11 15:45 tbrowder2 - - * [r49976] src/mged/points/Makefile.am: - don't delete cmake src files - -2012-04-11 15:36 tbrowder2 - - * [r49975] regress/Makefile.am: - add some more regress product files to be cleaned - -2012-04-11 15:27 tbrowder2 - - * [r49974] regress/Makefile.am: - turning off flawfinder check until it's ready - -2012-04-11 05:20 n_reed - - * [r49973] src/other/step/src/fedex_plus/complexSupport.h, - src/other/step/src/fedex_plus/expressbuild.cc: - Ah, I see now. g++ warning was from conversion when calling - default constructor EntNode(char *nm = (const char[])""). Git - 8e256d7 suppressed warning by calling with (char*)"". Real - solution is to make the parameter const. - -2012-04-11 00:14 starseeker - - * [r49972] regress/CMakeLists.txt: - Add new regression files to clean rule. distcheck-full succeeds - on Linux. - -2012-04-10 22:27 n_reed - - * [r49971] src/other/step/src/fedex_plus/expressbuild.cc: - might as well match git formatting - -2012-04-10 22:18 n_reed - - * [r49970] src/other/step/src/fedex_plus/expressbuild.cc: - EntNode doesn't have a no-parameter constructor; construct from - empty string. SCL git 8e256d7. - -2012-04-10 22:02 n_reed - - * [r49969] src/other/step/src/clstepcore/complexlist.cc, - src/other/step/src/fedex_plus/classes.c: - variable initializations informed by SCL git cc155a8 and b9156ad - -2012-04-10 21:09 n_reed - - * [r49968] src/other/step/src/clstepcore/STEPaggregate.cc, - src/other/step/src/clstepcore/STEPattribute.cc, - src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes_misc.c, - src/other/step/src/fedex_plus/expressbuild.cc, - src/other/step/src/fedex_plus/multpass.c, - src/other/step/src/fedex_plus/selects.c, - src/other/step/src/fedex_plus/write.cc: - Remove unused variables as identified by SCL git 89237b8, - 860bd45, 90de2d7, d56117f, f3e2eaf, and 7a68580. - -2012-04-10 21:05 bob1961 - - * [r49967] src/mged/mged.c: - This fixes the shaded geometry display problem when the embedded - framebuffer is active. - -2012-04-10 20:52 brlcad - - * [r49966] src/sig/dfft.c: - simplify the bounds checking. just use the one larger MAXFFT - global for everything including the outputs, even though they - only use half the space. avoids off-by-one issues and simplifies - the code. Keep the convolution at 1024 by default. - -2012-04-10 20:34 brlcad - - * [r49965] misc/brlcad.spec.in: - include some basic dependency requirements, generic build root, - proper description, and updated/simplified build steps - -2012-04-10 19:20 starseeker - - * [r49964] src/mged/CMakeLists.txt, src/tab/CMakeLists.txt: - Couple things to ignore for distcheck if lex and yacc aren't - around - -2012-04-10 19:02 n_reed - - * [r49963] src/other/step/src/fedex_plus/complexSupport.h, - src/other/step/src/fedex_plus/multlist.cc, - src/other/step/src/fedex_plus/write.cc: - Address unused variable warnings first quelled in r41173. Rather - than creating 30 named pointer vars, create a pointer array and - use a cleaned-up version of SCL git c1b5743 to choose a good size - for it. - -2012-04-10 12:39 brlcad - - * [r49962] NEWS: - cliff fixed a bug in the benchmark suite where it wasn't using - the right filename pattern during the 'clobber' action causing - log files to remain. fixed the pattern. - -2012-04-10 12:00 erikgreenwald - - * [r49961] include/vmath.h: - set _USE_MATH_DEFINES for msvc ( - http://msdn.microsoft.com/en-us/library/4hwaceh6%28v=vs.80%29.aspx - ) - -2012-04-10 11:54 brlcad - - * [r49960] NEWS: - The original problem was a result of the getint and getdouble - functions using the actual field input size when parsing an input - line - and the bu_strlcpy macros in those two functions promptly chopped - off - the last character as they are supposed to do. I replaced the - macros - with the bu_vls_strncpy functions so the parsing is more - intuitive in - that actual field size is entered and the last character is not - chopped - - The problem prevented successful conversion on any input deck, - and - with the fix it now works on a complex TGM input file. - - A successful round trip was also made with the same TGM. Note - that - "success" is within the constraints of the vdeck <-=> comgeom-g - converters where the solid, region, and group names are used - differently so one has to track the objects carefully to ensure - the - trip was made correctly. - - {above is from Tom Browder e-mail to brlcad-devel on 7 April - 2012} - -2012-04-10 04:40 starseeker - - * [r49959] CMakeLists.txt, misc/CMake/BRLCAD_CMakeFiles.cmake, - misc/CMake/distcheck_repo_verify.cmake.in, - src/other/iwidgets/doc/CMakeLists.txt: - Don't hit the disk more than we need to - build the file and - directory lists using global properties, then write them out to - files at the end for later use. May help configure time a bit, - especially on MSVC, but not tested there yet. - -2012-04-10 04:39 starseeker - - * [r49958] misc/CMake/distclean.cmake.in: - typo - -2012-04-10 04:34 starseeker - - * [r49957] src/bwish/CMakeLists.txt: - Try to reorganize the bwish/btclsh logic a bit - wonder how much - of this can be pushed down into source code and compile - definitions? Still need to figure out why package require Itcl - and package require Itk won't do what's needed here. - -2012-04-09 23:25 starseeker - - * [r49956] regress/CMakeLists.txt: - fix distcheck - -2012-04-09 20:19 starseeker - - * [r49955] misc/CMake/FindTCL.cmake, - src/other/tkhtml/CMake/FindTCL.cmake, - src/other/tkpng/CMake/FindTCL.cmake, - src/other/tktable/CMake/FindTCL.cmake, - src/other/togl/CMake/FindTCL.cmake: - Correct old type in FindTCL.cmake, update other copies in - src/other - -2012-04-09 14:10 erikgreenwald - - * [r49954] include/raytrace.h, src/librt/shoot.c: - start of a super simple (and inefficient) ffi friendly shootray - func - -2012-04-09 14:09 erikgreenwald - - * [r49953] src/libgcv/bottess.c: - add some (temporary) debugging noise - -2012-04-09 11:42 erikgreenwald - - * [r49952] TODO: - indianlarry observed hit points being 1 unit closer to ray origin - when switching to bottie - -2012-04-08 20:38 starseeker - - * [r49951] CMakeLists.txt, bench/CMakeLists.txt, db/CMakeLists.txt, - doc/CMakeLists.txt, doc/docbook/CMakeLists.txt, - doc/docbook/articles/CMakeLists.txt, - doc/docbook/articles/en/CMakeLists.txt, - doc/docbook/articles/hy/CMakeLists.txt, - doc/docbook/articles/it/CMakeLists.txt, - doc/docbook/articles/ru/CMakeLists.txt, - doc/docbook/books/CMakeLists.txt, - doc/docbook/books/en/CMakeLists.txt, - doc/docbook/lessons/CMakeLists.txt, - doc/docbook/lessons/en/CMakeLists.txt, - doc/docbook/lessons/es/CMakeLists.txt, - doc/docbook/presentations/CMakeLists.txt, - doc/docbook/presentations/en/CMakeLists.txt, - doc/docbook/specifications/CMakeLists.txt, - doc/docbook/specifications/en/CMakeLists.txt, - doc/docbook/system/CMakeLists.txt, - doc/docbook/system/man1/CMakeLists.txt, - doc/docbook/system/man1/en/CMakeLists.txt, - doc/docbook/system/man3/CMakeLists.txt, - doc/docbook/system/man3/en/CMakeLists.txt, - doc/docbook/system/man5/CMakeLists.txt, - doc/docbook/system/man5/en/CMakeLists.txt, - doc/docbook/system/mann/CMakeLists.txt, - doc/docbook/system/mann/en/CMakeLists.txt, - doc/html/CMakeLists.txt, doc/legal/CMakeLists.txt, - include/CMakeLists.txt, include/conf/CMakeLists.txt, - misc/CMake/BRLCAD_CMakeFiles.cmake, - misc/CMake/BRLCAD_CPackOptions.cmake.in, - misc/CMake/CheckCInline.cmake, misc/CMake/CheckCSourceRuns.cmake, - misc/CMake/Distcheck.cmake, misc/CMake/DocBook.cmake, - misc/CMake/FindLEX.cmake, misc/CMake/NSIS.template.in, - misc/CMake/RE2C_Util.cmake, - misc/CMake/distcheck_in_src_dir.cmake.in, - misc/CMake/distcheck_repo_verify.cmake.in, - misc/CMake/distcheck_target.cmake.in, - misc/CMake/distclean.cmake.in, misc/CMake/fop.cmake.in, - misc/CMake/msv.cmake.in, - misc/CMake/multiconfig_path_clean.cmake.in, - misc/CMake/multiconfig_path_read.cmake.in, - misc/CMake/rnv.cmake.in, misc/CMake/xmllint.cmake.in, - misc/CMake/xsltproc.cmake.in, misc/CMakeLists.txt, - misc/enigma/CMakeLists.txt, misc/pkgconfig/CMakeLists.txt, - misc/win32-msvc/CMakeLists.txt, - misc/win32-msvc/Dll/CMakeLists.txt, pix/CMakeLists.txt, - regress/CMakeLists.txt, regress/gcv/CMakeLists.txt, - regress/mged/CMakeLists.txt, src/CMakeLists.txt, - src/adrt/CMakeLists.txt, src/anim/CMakeLists.txt, - src/archer/CMakeLists.txt, src/brlman/CMakeLists.txt, - src/burst/CMakeLists.txt, src/bwish/CMakeLists.txt, - src/canon/CMakeLists.txt, src/conv/CMakeLists.txt, - src/conv/iges/CMakeLists.txt, src/conv/intaval/CMakeLists.txt, - src/conv/step/CMakeLists.txt, src/conv/vdeck/CMakeLists.txt, - src/fb/CMakeLists.txt, src/fbed/CMakeLists.txt, - src/fbserv/CMakeLists.txt, src/gtools/CMakeLists.txt, - src/halftone/CMakeLists.txt, src/irprep/CMakeLists.txt, - src/lgt/CMakeLists.txt, src/libanalyze/CMakeLists.txt, - src/libbn/CMakeLists.txt, src/libbu/CMakeLists.txt, - src/libcursor/CMakeLists.txt, src/libdm/CMakeLists.txt, - src/libfb/CMakeLists.txt, src/libfft/CMakeLists.txt, - src/libgcv/CMakeLists.txt, src/libgcv/wfobj/CMakeLists.txt, - src/libged/CMakeLists.txt, src/libicv/CMakeLists.txt, - src/libmultispectral/CMakeLists.txt, - src/liboptical/CMakeLists.txt, src/liborle/CMakeLists.txt, - src/libpc/CMakeLists.txt, src/libpkg/CMakeLists.txt, - src/libpkg/example/CMakeLists.txt, src/librt/CMakeLists.txt, - src/librtserver/CMakeLists.txt, src/libsysv/CMakeLists.txt, - src/libtclcad/CMakeLists.txt, src/libtermio/CMakeLists.txt, - src/libwdb/CMakeLists.txt, src/mged/CMakeLists.txt, - src/mged/points/CMakeLists.txt, src/nirt/CMakeLists.txt, - src/proc-db/CMakeLists.txt, src/remrt/CMakeLists.txt, - src/rt/CMakeLists.txt, src/rttherm/CMakeLists.txt, - src/shapes/CMakeLists.txt, src/sig/CMakeLists.txt, - src/tab/CMakeLists.txt, src/tclscripts/CMakeLists.txt, - src/tclscripts/archer/CMakeLists.txt, - src/tclscripts/archer/images/CMakeLists.txt, - src/tclscripts/boteditor/CMakeLists.txt, - src/tclscripts/geometree/CMakeLists.txt, - src/tclscripts/hv3/CMakeLists.txt, - src/tclscripts/lib/CMakeLists.txt, - src/tclscripts/mged/CMakeLists.txt, - src/tclscripts/pl-dm/CMakeLists.txt, - src/tclscripts/rtwizard/CMakeLists.txt, - src/tclscripts/rtwizard/lib/CMakeLists.txt, - src/tclscripts/sdialogs/CMakeLists.txt, - src/tclscripts/sdialogs/scripts/CMakeLists.txt, - src/tclscripts/swidgets/CMakeLists.txt, - src/tclscripts/swidgets/images/CMakeLists.txt, - src/tclscripts/swidgets/scripts/CMakeLists.txt, - src/tclscripts/util/CMakeLists.txt, src/util/CMakeLists.txt, - src/vfont/CMakeLists.txt: - Update/add footers and add a few headers in misc/CMake via sh - scripts - -2012-04-08 20:33 starseeker - - * [r49950] sh/CMakeLists.txt, sh/footer.sh: - Teach footer about a few more CMake cases - -2012-04-08 16:38 tbrowder2 - - * [r49949] regress/Makefile.am: - added vdeck regression test; don't delete CMakeLists.txt with - autotools - -2012-04-07 21:08 tbrowder2 - - * [r49948] NEWS: - made month of next release current (fingers crossed) - -2012-04-07 21:03 tbrowder2 - - * [r49947] regress/CMakeLists.txt: - keep items sorted - -2012-04-07 20:59 tbrowder2 - - * [r49946] regress/CMakeLists.txt: - activate vdeck/comgeom-g regression test - -2012-04-07 20:58 tbrowder2 - - * [r49945] regress/vdeck-comgeom-g.sh: - complete simple 2nd test of comgeom-g - -2012-04-07 18:15 tbrowder2 - - * [r49944] regress/vdeck-comgeom-g, - regress/vdeck-comgeom-g/m35.asc.gz, - regress/vdeck-comgeom-g/m35.g.gift5.txt: - add dir and files to suppport vdeck regression test - -2012-04-07 16:52 tbrowder2 - - * [r49943] regress/vdeck-comgeom-g.sh: - add start of a new regression test - -2012-04-07 00:30 tbrowder2 - - * [r49942] src/conv/CMakeLists.txt, src/conv/Makefile.am, - src/conv/comgeom/3d.h: - remove unused header file - -2012-04-07 00:28 tbrowder2 - - * [r49941] src/conv/comgeom/read.c: - replace bu_strlcpy with bu_vls_strncpy in getint and getdeouble - functions to avoid chopping the end char and invalidating the int - read for fields of the input string - -2012-04-06 23:55 starseeker - - * [r49940] misc/CMake/distcheck_in_src_dir.cmake.in, - misc/CMake/distcheck_target.cmake.in, - misc/CMake/distclean.cmake.in: - Needs more verification, but this seems to fix the issues the - distclean and distcheck targets were having with the odd - pathnames test. As a bonus, distclean is now portable, simpler, - and faster than the old approach. - -2012-04-06 23:42 tbrowder2 - - * [r49939] src/conv/comgeom/region.c: - ws - -2012-04-06 22:58 starseeker - - * [r49938] misc/CMake/multiconfig_path_read.cmake.in: - Simplify this logic a bit, since we don't care about comparing - the old path to the new one in an if statement - -2012-04-06 22:13 tbrowder2 - - * [r49937] src/conv/comgeom/region.c: - fix typo - -2012-04-06 20:37 starseeker - - * [r49936] misc/CMake/multiconfig_path_read.cmake.in: - Need to run this, regardless of the install path, for all - multiconfig setups now since we need fully qualified build paths - in the install scripts for copying generated files. - -2012-04-06 19:08 brlcad - - * [r49935] regress/bots.sh, regress/fastgen.sh, regress/library.sh, - regress/mged.sh, regress/repository.sh: - bunch of script file missing their invocation line to ensure we - get /bin/sh instead of the user's shell - -2012-04-06 19:06 starseeker - - * [r49934] misc/CMake/multiconfig_path_read.cmake.in: - Reworking of tclscript copying seems to have broken multiconfig - - try a simple fix. - -2012-04-06 14:17 tbrowder2 - - * [r49933] configure.ac, src/Makefile.am, src/conv/Makefile.am: - modify autotools build system for vdeck move; build and install - confirmed vdeck bin and man page installed and working - -2012-04-06 11:41 tbrowder2 - - * [r49932] src/conv/Makefile.am: - add missing continuation backslash - -2012-04-06 05:58 starseeker - - * [r49931] CMakeLists.txt, bench/run.sh, - misc/CMake/BRLCAD_CPackOptions.cmake.in, - misc/CMake/Distcheck.cmake, - misc/CMake/distcheck_in_src_dir.cmake.in, - misc/CMake/distcheck_target.cmake.in, - misc/CMake/distclean.cmake.in: - Checkpoint - working to make odd pathname case functional again, - probably still more to do. - -2012-04-06 02:54 starseeker - - * [r49930] regress/CMakeLists.txt: - Well, flawfinder is running now alright. Complaining about chmod - use in libbu's fchmod.c, but we're already using fchmod whenever - we can - chmod is for Windows situations where nothing better(?) - is available. Don't want to halt regression on that, so remove - flawfinder regression from the overall list but leave the target - defined in case it's needed. - -2012-04-05 22:47 starseeker - - * [r49929] regress/flawfinder.sh: - Um... previous tests weren't passing when I tried to run the - flawfinder script, despite python being present... is this right? - -2012-04-05 18:47 starseeker - - * [r49928] misc/CMake/distcheck_in_src_dir.cmake.in, - misc/CMake/distcheck_target.cmake.in, - misc/CMake/distclean.cmake.in: - Don't have distcheck nuke the summary file - too much potential - for data loss. For situations where we do want it gone (distcheck - builds) remove it explicitly - -2012-04-05 17:58 starseeker - - * [r49927] misc/CMake/Distcheck.cmake: - set dirs as variables for configure_file - -2012-04-05 17:45 starseeker - - * [r49926] misc/CMake/Distcheck.cmake: - fix standard disttarget defs to match new convention - -2012-04-05 17:42 starseeker - - * [r49925] src/other/step/cmake/SCL_Utils.cmake: - Need quotes for this comparison... - -2012-04-05 17:38 starseeker - - * [r49924] src/other/step/cmake/SCL_Utils.cmake: - libs->libslist, per 49867 - -2012-04-05 17:32 starseeker - - * [r49923] CMakeLists.txt, misc/CMake/Distcheck.cmake: - provide the paths we want for each test - -2012-04-05 17:07 starseeker - - * [r49922] misc/CMake/Distcheck.cmake: - Whoops - right, this should be a macro. - -2012-04-05 16:59 starseeker - - * [r49921] CMakeLists.txt, misc/CMake/Distcheck.cmake, - misc/CMake/distcheck_in_src_dir.cmake.in, - misc/CMake/distcheck_target.cmake.in: - Make defining distcheck targets a bit more flexible. Add a test - for pathnames with odd characters. - -2012-04-05 16:34 starseeker - - * [r49920] regress/bots.sh, regress/dsp.sh, regress/fastgen.sh, - regress/gqa.sh, regress/iges.sh, regress/library.sh, - regress/lights.sh, regress/mged.sh, regress/mged_test.sh, - regress/moss.sh, regress/nirt.sh, regress/red.sh, - regress/shaders.sh, regress/solids.sh, regress/spdi.sh, - regress/vls.sh, regress/weight.sh, src/libged/saveview.c: - Regression testing was failing when using quirky file paths. Need - to quote the file path in the saveview output too. - -2012-04-05 14:27 tbrowder2 - - * [r49919] src/CMakeLists.txt, src/README, src/conv/CMakeLists.txt, - src/conv/Formats.csv, src/conv/vdeck, src/vdeck: - moved vdeck GIFT converion tool under conv dir where it belongs, - tested a cmake out of src dir build okay (bin and man page); - added ComGeom details to Formats.csv - -2012-04-05 12:32 starseeker - - * [r49918] misc/CMake/distclean.cmake.in: - Only run benchmark clobber during distclean if we actually need - it. - -2012-04-05 12:16 brlcad - - * [r49917] src/sig/dfft.c: - revert 49350 since it introduces an off-by-one error on the - nyquist calc. looks like MAXOUT is defined wrong off-by-one, but - need to investigate the impact and test - -2012-04-05 11:48 starseeker - - * [r49916] CMakeLists.txt, misc/CMake/Distcheck.cmake, - misc/CMake/distcheck_in_src_dir.cmake.in, - misc/CMake/distcheck_target.cmake.in: - Use parallel make in more places than just the main builds - -2012-04-05 02:42 starseeker - - * [r49915] misc/CMake/Distcheck.cmake: - Don't need the debug message now... - -2012-04-05 02:33 starseeker - - * [r49914] CMakeLists.txt, misc/CMake/BRLCAD_CPackOptions.cmake.in, - misc/CMake/Distcheck.cmake, - misc/CMake/distcheck_in_src_dir.cmake.in, - misc/CMake/distcheck_repo_verify.cmake.in, - misc/CMake/distcheck_target.cmake.in, - misc/CMake/distclean.cmake.in: - Expand the power of distcheck again. Add support for testing - in-source-directory building, as well as adding checks of the - distclean rule to all builds - again, including the - in-source-directory test. Define a couple more configurations for - the 'distcheck-full' target. Switch CPack source archive building - from 'exclude what we don't want' to 'copy what we do want to a - directory in the build dir and use that to generate the archive' - - avoids having to worry whether CPack has the right list of - things to ignore. Everything now appears to pass, at least on - Linux - there, distcheck-full succeeded. What will happen with a - multi-configuration tool like Xcode is untested as yet. - -2012-04-04 16:57 n_reed - - * [r49913] src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/express/expr.c, - src/other/step/src/express/express.c, - src/other/step/src/express/resolve.c, - src/other/step/src/express/type.c, - src/other/step/src/express/variable.c: - remove unused variables as seen in SCL git 1492641 and 2b31086 - -2012-04-04 15:49 brlcad - - * [r49912] src/librt/primitives/metaball/metaball.c: - get a const address before calling rt_metaball_point_value() so - we can avoid a bug in older versions of gcc where it doesn't pick - up on the const cast. - -2012-04-04 15:48 brlcad - - * [r49911] src/librt/primitives/brep/brep.cpp: - removed unused dir var - -2012-04-04 15:45 starseeker - - * [r49910] regress/CMakeLists.txt: - Teach the regress build target how to clean up after itself - -2012-04-04 15:24 starseeker - - * [r49909] bench/run.sh, misc/CMake/distclean.cmake.in: - sweep up the benchmark outputs too when doing distclean - -2012-04-04 14:36 starseeker - - * [r49908] misc/CMake/BRLCAD_Util.cmake: - move definition of BRLCAD_TARGET_NAME - -2012-04-04 13:19 starseeker - - * [r49907] CMakeLists.txt, misc/CMake/LEMON_Util.cmake, - misc/CMake/RE2C_Util.cmake: - Couple cleanups - -2012-04-04 13:13 starseeker - - * [r49906] bench/CMakeLists.txt, pix/CMakeLists.txt: - collapse more custom logic into a call to BRLCAD_ADDDATA - -2012-04-04 05:30 starseeker - - * [r49905] CMakeLists.txt, src/other/iwidgets/CMakeLists.txt, - src/other/step/CMakeLists.txt, src/other/tcl/doc/CMakeLists.txt, - src/other/tk/doc/CMakeLists.txt: - Take a stab at making configure_file cmakefiles appending more - robust - -2012-04-03 22:43 n_reed - - * [r49904] src/other/step/src/clstepcore/SingleLinkList.cc, - src/other/step/src/clstepcore/SingleLinkList.inline.cc: - match SCL git style - -2012-04-03 21:56 n_reed - - * [r49903] src/other/step/include/scl_cf_cmake.h.in: - sync with SCL git 993167e - -2012-04-03 21:47 starseeker - - * [r49902] src/libfb/Makefile.am: - Oh yeah, better let the Makefile.am know... - -2012-04-03 21:45 starseeker - - * [r49901] src/libfb/CMakeLists.txt, src/libfb/libfb.3: - Ah! Using the symlinks for man pages shows us what was hidden - - libfb man3 man page was converted to DocBook, but the old one - wasn't removed. Was just being copied over by the DocBook build - with the old setup, but using symlinks for the non-DocBook man - pages the changes actually got written back to the old libfb.3 - man page and showed up in Subversion. Actually a handy way to - make sure we don't have strays left over after a DocBook - conversion. - -2012-04-03 21:36 starseeker - - * [r49900] CMakeLists.txt, misc/CMake/LEMON_Util.cmake, - misc/CMake/RE2C_Util.cmake: - Add a few more files to distclean - -2012-04-03 21:19 n_reed - - * [r49899] src/other/step/src/clstepcore/STEPaggregate.cc, - src/other/step/src/exppp/exppp.c, - src/other/step/src/express/dict.c, - src/other/step/src/express/error.c, - src/other/step/src/express/express.c, - src/other/step/src/express/memory.c, - src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/selects.c: - Fix printf format errors. Informed by SCL git c075554, 0366706, - af7d90d, ec41f80, d33d4c5, and e52c290. - -2012-04-03 19:47 r_weiss - - * [r49898] src/librt/primitives/nmg/nmg_fuse.c: - Updated functions 'x_comp' and 'v_ptr_comp' which are compare - functions for qsort called from within functions 'nmg_ptbl_vfuse' - and 'nmg_model_edge_fuse' in file 'nmg-fuse.c'. When the compare - function returns zero (ie equal), the behavior of qsort using - 'Visual Studio' versus 'GNU C' is different. This difference was - preventing qsort from sorting as expected on Windows which was - breaking the MGED 'facetize' and 'ev' commands. This also - impacted converters on Windows which must facetize the geometry - before export. - -2012-04-03 18:01 n_reed - - * [r49897] src/other/step/cmake/scl_version_string.cmake: - sync comment changes from 7b54e23 - -2012-04-03 17:57 starseeker - - * [r49896] CMakeLists.txt, src/conv/step/CMakeLists.txt, - src/other/CMakeLists.txt: - Few tweaks for distclean - -2012-04-03 17:39 starseeker - - * [r49895] misc/CMake/BRLCAD_Targets.cmake: - remove debug message - -2012-04-03 17:31 starseeker - - * [r49894] src/libfb/libfb.3: - Uh, what? didn't mean to change libfb.3 - -2012-04-03 17:26 starseeker - - * [r49893] CMakeLists.txt, misc/CMake/BRLCAD_Targets.cmake, - src/libfb/libfb.3, src/other/CMakeLists.txt: - Variety of cleanups and simplifications - in particular, - ADD_MAN_PAGES is now just a wrapper for BRLCAD_ADDDATA that - handles the MAN_DIR setting - we need a MAN_DIR variable that - includes the DATA_DIR for generic man page installation from - other build systems, but since BRLCAD_ADDDATA assumes it just - rework MAN_DIR to be appropriate for BRLCAD_ADDDATA and pass it - through ftw. - -2012-04-03 16:42 bob1961 - - * [r49892] src/tclscripts/lib/Ged.tcl: - Modify cadwidgets::Ged::end_data_move to save the current "draw" - setting. Use the saved value to restore the "draw" setting. - -2012-04-03 16:01 starseeker - - * [r49891] misc/CMake/BRLCAD_Targets.cmake: - rework comment - -2012-04-03 14:53 brlcad - - * [r49890] AUTHORS: - tom applied chris' sf patch 3514350 (fixed some typos) so credit - him with special thanks - -2012-04-03 14:47 tbrowder2 - - * [r49889] include/db.h: - typo - -2012-04-03 14:44 tbrowder2 - - * [r49888] include/db.h: - fixed typo from tracker patch ID 3514350 reported by crudeck - -2012-04-03 03:09 starseeker - - * [r49887] src/other/libz/CMakeLists.txt: - Work around zlib CMake issue with static libraries and MSVC 2010 - - see http://public.kitware.com/Bug/view.php?id=11240 - -2012-04-03 02:27 starseeker - - * [r49886] misc/CMake/BRLCAD_Targets.cmake, - src/tclscripts/CMakeLists.txt: - typo, overly aggressive quoting - -2012-04-03 02:22 starseeker - - * [r49885] misc/CMake/BRLCAD_Targets.cmake, - misc/CMake/BRLCAD_Util.cmake: - simplify normalize macro - no need for hard coded tmp names, just - change the assumptions being made by calling scripts - -2012-04-03 01:49 starseeker - - * [r49884] misc/CMake/TCL_PKGINDEX.cmake: - More quoting for tcl pkgindex generation - -2012-04-03 01:47 starseeker - - * [r49883] misc/CMake/BRLCAD_Targets.cmake, - misc/CMake/BRLCAD_Util.cmake: - Simplify normalize macro + * [r55226] src/conv/step/AdvancedBrepShapeRepresentation.cpp, + src/conv/step/AdvancedBrepShapeRepresentation.h, + src/conv/step/AdvancedFace.cpp, src/conv/step/AdvancedFace.h, + src/conv/step/AmountOfSubstanceContextDependentUnit.cpp, + src/conv/step/AmountOfSubstanceContextDependentUnit.h, + src/conv/step/AmountOfSubstanceConversionBasedUnit.cpp, + src/conv/step/AmountOfSubstanceConversionBasedUnit.h, + src/conv/step/AmountOfSubstanceSiUnit.cpp, + src/conv/step/AmountOfSubstanceSiUnit.h, + src/conv/step/AmountOfSubstanceUnit.cpp, + src/conv/step/AmountOfSubstanceUnit.h, + src/conv/step/ApplicationContext.cpp, + src/conv/step/ApplicationContext.h, + src/conv/step/ApplicationContextElement.cpp, + src/conv/step/ApplicationContextElement.h, + src/conv/step/AreaContextDependentUnit.cpp, + src/conv/step/AreaContextDependentUnit.h, + src/conv/step/AreaConversionBasedUnit.cpp, + src/conv/step/AreaConversionBasedUnit.h, + src/conv/step/AreaSiUnit.cpp, src/conv/step/AreaSiUnit.h, + src/conv/step/AreaUnit.cpp, src/conv/step/AreaUnit.h, + src/conv/step/Axis1Placement.cpp, src/conv/step/Axis1Placement.h, + src/conv/step/Axis2Placement.cpp, src/conv/step/Axis2Placement.h, + src/conv/step/Axis2Placement2D.cpp, + src/conv/step/Axis2Placement2D.h, + src/conv/step/Axis2Placement3D.cpp, + src/conv/step/Axis2Placement3D.h, + src/conv/step/BRLCADWrapper.cpp, src/conv/step/BRLCADWrapper.h, + src/conv/step/BSplineCurve.cpp, src/conv/step/BSplineCurve.h, + src/conv/step/BSplineCurveWithKnots.cpp, + src/conv/step/BSplineCurveWithKnots.h, + src/conv/step/BSplineSurface.cpp, src/conv/step/BSplineSurface.h, + src/conv/step/BSplineSurfaceWithKnots.cpp, + src/conv/step/BSplineSurfaceWithKnots.h, + src/conv/step/BezierCurve.cpp, src/conv/step/BezierCurve.h, + src/conv/step/BezierSurface.cpp, src/conv/step/BezierSurface.h, + src/conv/step/BoundaryCurve.cpp, src/conv/step/BoundaryCurve.h, + src/conv/step/BoundedCurve.cpp, src/conv/step/BoundedCurve.h, + src/conv/step/BoundedPCurve.cpp, src/conv/step/BoundedPCurve.h, + src/conv/step/BoundedSurface.cpp, src/conv/step/BoundedSurface.h, + src/conv/step/BoundedSurfaceCurve.cpp, + src/conv/step/BoundedSurfaceCurve.h, + src/conv/step/BrepWithVoids.cpp, src/conv/step/BrepWithVoids.h, + src/conv/step/CartesianPoint.cpp, src/conv/step/CartesianPoint.h, + src/conv/step/CartesianTransformationOperator.cpp, + src/conv/step/CartesianTransformationOperator.h, + src/conv/step/CartesianTransformationOperator2D.cpp, + src/conv/step/CartesianTransformationOperator2D.h, + src/conv/step/CartesianTransformationOperator3D.cpp, + src/conv/step/CartesianTransformationOperator3D.h, + src/conv/step/Circle.cpp, src/conv/step/Circle.h, + src/conv/step/ClosedShell.cpp, src/conv/step/ClosedShell.h, + src/conv/step/CompositeCurve.cpp, src/conv/step/CompositeCurve.h, + src/conv/step/CompositeCurveOnSurface.cpp, + src/conv/step/CompositeCurveOnSurface.h, + src/conv/step/CompositeCurveSegment.cpp, + src/conv/step/CompositeCurveSegment.h, src/conv/step/Conic.cpp, + src/conv/step/Conic.h, src/conv/step/ConicalSurface.cpp, + src/conv/step/ConicalSurface.h, + src/conv/step/ConnectedFaceSet.cpp, + src/conv/step/ConnectedFaceSet.h, + src/conv/step/ContextDependentShapeRepresentation.cpp, + src/conv/step/ContextDependentShapeRepresentation.h, + src/conv/step/ContextDependentUnit.cpp, + src/conv/step/ContextDependentUnit.h, + src/conv/step/ConversionBasedUnit.cpp, + src/conv/step/ConversionBasedUnit.h, src/conv/step/Curve.cpp, + src/conv/step/Curve.h, src/conv/step/CurveBoundedSurface.cpp, + src/conv/step/CurveBoundedSurface.h, + src/conv/step/CurveReplica.cpp, src/conv/step/CurveReplica.h, + src/conv/step/CylindricalSurface.cpp, + src/conv/step/CylindricalSurface.h, + src/conv/step/DefinitionalRepresentation.cpp, + src/conv/step/DefinitionalRepresentation.h, + src/conv/step/DerivedUnit.cpp, src/conv/step/DerivedUnit.h, + src/conv/step/DerivedUnitElement.cpp, + src/conv/step/DerivedUnitElement.h, + src/conv/step/DesignContext.cpp, src/conv/step/DesignContext.h, + src/conv/step/DimensionalExponents.cpp, + src/conv/step/DimensionalExponents.h, + src/conv/step/Direction.cpp, src/conv/step/Direction.h, + src/conv/step/Edge.cpp, src/conv/step/Edge.h, + src/conv/step/EdgeCurve.cpp, src/conv/step/EdgeCurve.h, + src/conv/step/EdgeLoop.cpp, src/conv/step/EdgeLoop.h, + src/conv/step/ElectricCurrentContextDependentUnit.cpp, + src/conv/step/ElectricCurrentContextDependentUnit.h, + src/conv/step/ElectricCurrentConversionBasedUnit.cpp, + src/conv/step/ElectricCurrentConversionBasedUnit.h, + src/conv/step/ElectricCurrentSiUnit.cpp, + src/conv/step/ElectricCurrentSiUnit.h, + src/conv/step/ElectricCurrentUnit.cpp, + src/conv/step/ElectricCurrentUnit.h, + src/conv/step/ElementarySurface.cpp, + src/conv/step/ElementarySurface.h, src/conv/step/Ellipse.cpp, + src/conv/step/Ellipse.h, src/conv/step/Face.cpp, + src/conv/step/Face.h, src/conv/step/FaceBound.cpp, + src/conv/step/FaceBound.h, src/conv/step/FaceOuterBound.cpp, + src/conv/step/FaceOuterBound.h, src/conv/step/FaceSurface.cpp, + src/conv/step/FaceSurface.h, src/conv/step/Factory.cpp, + src/conv/step/Factory.h, src/conv/step/FoundedItem.cpp, + src/conv/step/FoundedItem.h, + src/conv/step/FunctionallyDefinedTransformation.cpp, + src/conv/step/FunctionallyDefinedTransformation.h, + src/conv/step/GeometricRepresentationContext.cpp, + src/conv/step/GeometricRepresentationContext.h, + src/conv/step/GeometricRepresentationItem.cpp, + src/conv/step/GeometricRepresentationItem.h, + src/conv/step/GlobalUncertaintyAssignedContext.cpp, + src/conv/step/GlobalUncertaintyAssignedContext.h, + src/conv/step/GlobalUnitAssignedContext.cpp, + src/conv/step/GlobalUnitAssignedContext.h, + src/conv/step/Hyperbola.cpp, src/conv/step/Hyperbola.h, + src/conv/step/IntersectionCurve.cpp, + src/conv/step/IntersectionCurve.h, + src/conv/step/ItemDefinedTransformation.cpp, + src/conv/step/ItemDefinedTransformation.h, + src/conv/step/LengthContextDependentUnit.cpp, + src/conv/step/LengthContextDependentUnit.h, + src/conv/step/LengthConversionBasedUnit.cpp, + src/conv/step/LengthConversionBasedUnit.h, + src/conv/step/LengthMeasureWithUnit.cpp, + src/conv/step/LengthMeasureWithUnit.h, + src/conv/step/LengthSiUnit.cpp, src/conv/step/LengthSiUnit.h, + src/conv/step/LengthUnit.cpp, src/conv/step/LengthUnit.h, + src/conv/step/Line.cpp, src/conv/step/Line.h, + src/conv/step/LocalUnits.cpp, src/conv/step/LocalUnits.h, + src/conv/step/Loop.cpp, src/conv/step/Loop.h, + src/conv/step/LuminousIntensityContextDependentUnit.cpp, + src/conv/step/LuminousIntensityContextDependentUnit.h, + src/conv/step/LuminousIntensityConversionBasedUnit.cpp, + src/conv/step/LuminousIntensityConversionBasedUnit.h, + src/conv/step/LuminousIntensitySiUnit.cpp, + src/conv/step/LuminousIntensitySiUnit.h, + src/conv/step/LuminousIntensityUnit.cpp, + src/conv/step/LuminousIntensityUnit.h, + src/conv/step/ManifoldSolidBrep.cpp, + src/conv/step/ManifoldSolidBrep.h, + src/conv/step/MassContextDependentUnit.cpp, + src/conv/step/MassContextDependentUnit.h, + src/conv/step/MassConversionBasedUnit.cpp, + src/conv/step/MassConversionBasedUnit.h, + src/conv/step/MassSiUnit.cpp, src/conv/step/MassSiUnit.h, + src/conv/step/MassUnit.cpp, src/conv/step/MassUnit.h, + src/conv/step/MeasureValue.cpp, src/conv/step/MeasureValue.h, + src/conv/step/MeasureWithUnit.cpp, + src/conv/step/MeasureWithUnit.h, + src/conv/step/MechanicalContext.cpp, + src/conv/step/MechanicalContext.h, src/conv/step/NamedUnit.cpp, + src/conv/step/NamedUnit.h, src/conv/step/OffsetCurve2D.cpp, + src/conv/step/OffsetCurve2D.h, src/conv/step/OffsetCurve3D.cpp, + src/conv/step/OffsetCurve3D.h, src/conv/step/OffsetSurface.cpp, + src/conv/step/OffsetSurface.h, + src/conv/step/OpenNurbsInterfaces.cpp, + src/conv/step/OrientedClosedShell.cpp, + src/conv/step/OrientedClosedShell.h, + src/conv/step/OrientedEdge.cpp, src/conv/step/OrientedEdge.h, + src/conv/step/PCurve.cpp, src/conv/step/PCurve.h, + src/conv/step/PCurveOrSurface.cpp, + src/conv/step/PCurveOrSurface.h, src/conv/step/Parabola.cpp, + src/conv/step/Parabola.h, + src/conv/step/ParametricRepresentationContext.cpp, + src/conv/step/ParametricRepresentationContext.h, + src/conv/step/Path.cpp, src/conv/step/Path.h, + src/conv/step/Placement.cpp, src/conv/step/Placement.h, + src/conv/step/Plane.cpp, src/conv/step/Plane.h, + src/conv/step/PlaneAngleContextDependentUnit.cpp, + src/conv/step/PlaneAngleContextDependentUnit.h, + src/conv/step/PlaneAngleConversionBasedUnit.cpp, + src/conv/step/PlaneAngleConversionBasedUnit.h, + src/conv/step/PlaneAngleMeasureWithUnit.cpp, + src/conv/step/PlaneAngleMeasureWithUnit.h, + src/conv/step/PlaneAngleSiUnit.cpp, + src/conv/step/PlaneAngleSiUnit.h, + src/conv/step/PlaneAngleUnit.cpp, src/conv/step/PlaneAngleUnit.h, + src/conv/step/Point.cpp, src/conv/step/Point.h, + src/conv/step/Polyline.cpp, src/conv/step/Polyline.h, + src/conv/step/Product.cpp, src/conv/step/Product.h, + src/conv/step/ProductCategory.cpp, + src/conv/step/ProductCategory.h, + src/conv/step/ProductContext.cpp, src/conv/step/ProductContext.h, + src/conv/step/ProductDefinition.cpp, + src/conv/step/ProductDefinition.h, + src/conv/step/ProductDefinitionContext.cpp, + src/conv/step/ProductDefinitionContext.h, + src/conv/step/ProductDefinitionContextAssociation.cpp, + src/conv/step/ProductDefinitionContextAssociation.h, + src/conv/step/ProductDefinitionContextRole.cpp, + src/conv/step/ProductDefinitionContextRole.h, + src/conv/step/ProductDefinitionFormation.cpp, + src/conv/step/ProductDefinitionFormation.h, + src/conv/step/ProductDefinitionFormationWithSpecifiedSource.cpp, + src/conv/step/ProductDefinitionFormationWithSpecifiedSource.h, + src/conv/step/ProductDefinitionShape.cpp, + src/conv/step/ProductDefinitionShape.h, + src/conv/step/ProductRelatedProductCategory.cpp, + src/conv/step/ProductRelatedProductCategory.h, + src/conv/step/PropertyDefinition.cpp, + src/conv/step/PropertyDefinition.h, + src/conv/step/QuasiUniformCurve.cpp, + src/conv/step/QuasiUniformCurve.h, + src/conv/step/QuasiUniformSurface.cpp, + src/conv/step/QuasiUniformSurface.h, + src/conv/step/RatioContextDependentUnit.cpp, + src/conv/step/RatioContextDependentUnit.h, + src/conv/step/RatioConversionBasedUnit.cpp, + src/conv/step/RatioConversionBasedUnit.h, + src/conv/step/RatioSiUnit.cpp, src/conv/step/RatioSiUnit.h, + src/conv/step/RatioUnit.cpp, src/conv/step/RatioUnit.h, + src/conv/step/RationalBSplineCurve.cpp, + src/conv/step/RationalBSplineCurve.h, + src/conv/step/RationalBSplineCurveWithKnots.cpp, + src/conv/step/RationalBSplineCurveWithKnots.h, + src/conv/step/RationalBSplineSurface.cpp, + src/conv/step/RationalBSplineSurface.h, + src/conv/step/RationalBSplineSurfaceWithKnots.cpp, + src/conv/step/RationalBSplineSurfaceWithKnots.h, + src/conv/step/RationalBezierCurve.cpp, + src/conv/step/RationalBezierCurve.h, + src/conv/step/RationalBezierSurface.cpp, + src/conv/step/RationalBezierSurface.h, + src/conv/step/RationalQuasiUniformCurve.cpp, + src/conv/step/RationalQuasiUniformCurve.h, + src/conv/step/RationalQuasiUniformSurface.cpp, + src/conv/step/RationalQuasiUniformSurface.h, + src/conv/step/RationalUniformCurve.cpp, + src/conv/step/RationalUniformCurve.h, + src/conv/step/RationalUniformSurface.cpp, + src/conv/step/RationalUniformSurface.h, + src/conv/step/RectangularCompositeSurface.cpp, + src/conv/step/RectangularCompositeSurface.h, + src/conv/step/RectangularTrimmedSurface.cpp, + src/conv/step/RectangularTrimmedSurface.h, + src/conv/step/Representation.cpp, + src/conv/step/RepresentationContext.cpp, + src/conv/step/RepresentationContext.h, + src/conv/step/RepresentationItem.cpp, + src/conv/step/RepresentationItem.h, + src/conv/step/RepresentationRelationship.cpp, + src/conv/step/RepresentationRelationship.h, + src/conv/step/RepresentationRelationshipWithTransformation.cpp, + src/conv/step/RepresentationRelationshipWithTransformation.h, + src/conv/step/STEPEntity.cpp, src/conv/step/STEPEntity.h, + src/conv/step/STEPWrapper.cpp, src/conv/step/STEPWrapper.h, + src/conv/step/SeamCurve.cpp, src/conv/step/SeamCurve.h, + src/conv/step/ShapeRepresentation.cpp, + src/conv/step/ShapeRepresentation.h, + src/conv/step/ShapeRepresentationRelationship.cpp, + src/conv/step/ShapeRepresentationRelationship.h, + src/conv/step/SiUnit.cpp, src/conv/step/SiUnit.h, + src/conv/step/SolidAngleContextDependentUnit.cpp, + src/conv/step/SolidAngleContextDependentUnit.h, + src/conv/step/SolidAngleConversionBasedUnit.cpp, + src/conv/step/SolidAngleConversionBasedUnit.h, + src/conv/step/SolidAngleSiUnit.cpp, + src/conv/step/SolidAngleSiUnit.h, + src/conv/step/SolidAngleUnit.cpp, src/conv/step/SolidAngleUnit.h, + src/conv/step/SolidModel.cpp, src/conv/step/SolidModel.h, + src/conv/step/SphericalSurface.cpp, + src/conv/step/SphericalSurface.h, src/conv/step/Surface.cpp, + src/conv/step/Surface.h, src/conv/step/SurfaceCurve.cpp, + src/conv/step/SurfaceCurve.h, + src/conv/step/SurfaceOfLinearExtrusion.cpp, + src/conv/step/SurfaceOfLinearExtrusion.h, + src/conv/step/SurfaceOfRevolution.cpp, + src/conv/step/SurfaceOfRevolution.h, + src/conv/step/SurfacePatch.cpp, src/conv/step/SurfacePatch.h, + src/conv/step/SurfaceReplica.cpp, src/conv/step/SurfaceReplica.h, + src/conv/step/SweptSurface.cpp, src/conv/step/SweptSurface.h, + src/conv/step/ThermodynamicTemperatureContextDependentUnit.cpp, + src/conv/step/ThermodynamicTemperatureContextDependentUnit.h, + src/conv/step/ThermodynamicTemperatureConversionBasedUnit.cpp, + src/conv/step/ThermodynamicTemperatureConversionBasedUnit.h, + src/conv/step/ThermodynamicTemperatureSiUnit.cpp, + src/conv/step/ThermodynamicTemperatureSiUnit.h, + src/conv/step/ThermodynamicTemperatureUnit.cpp, + src/conv/step/ThermodynamicTemperatureUnit.h, + src/conv/step/TimeContextDependentUnit.cpp, + src/conv/step/TimeContextDependentUnit.h, + src/conv/step/TimeConversionBasedUnit.cpp, + src/conv/step/TimeConversionBasedUnit.h, + src/conv/step/TimeSiUnit.cpp, src/conv/step/TimeSiUnit.h, + src/conv/step/TimeUnit.cpp, src/conv/step/TimeUnit.h, + src/conv/step/TopologicalRepresentationItem.cpp, + src/conv/step/TopologicalRepresentationItem.h, + src/conv/step/ToroidalSurface.cpp, + src/conv/step/ToroidalSurface.h, + src/conv/step/Transformation.cpp, src/conv/step/Transformation.h, + src/conv/step/TrimmedCurve.cpp, src/conv/step/TrimmedCurve.h, + src/conv/step/TrimmingSelect.cpp, src/conv/step/TrimmingSelect.h, + src/conv/step/UncertaintyMeasureWithUnit.cpp, + src/conv/step/UncertaintyMeasureWithUnit.h, + src/conv/step/UniformCurve.cpp, src/conv/step/UniformCurve.h, + src/conv/step/UniformSurface.cpp, src/conv/step/UniformSurface.h, + src/conv/step/Unit.cpp, src/conv/step/Unit.h, + src/conv/step/Vector.cpp, src/conv/step/Vector.h, + src/conv/step/Vertex.cpp, src/conv/step/Vertex.h, + src/conv/step/VertexLoop.cpp, src/conv/step/VertexLoop.h, + src/conv/step/VertexPoint.cpp, src/conv/step/VertexPoint.h, + src/conv/step/VolumeContextDependentUnit.cpp, + src/conv/step/VolumeContextDependentUnit.h, + src/conv/step/VolumeConversionBasedUnit.cpp, + src/conv/step/VolumeConversionBasedUnit.h, + src/conv/step/VolumeSiUnit.cpp, src/conv/step/VolumeSiUnit.h, + src/conv/step/VolumeUnit.cpp, src/conv/step/VolumeUnit.h, + src/conv/step/step-g.cpp: + style/ws -2012-04-03 01:06 starseeker +2013-04-24 17:01 brlcad - * [r49882] CMakeLists.txt, misc/CMake/BRLCAD_Targets.cmake, - misc/CMake/BRLCAD_Util.cmake, src/tclscripts/CMakeLists.txt: - Make a stab at avoiding conflicts between files and build target - names in MSVC + * [r55225] TODO: + quick test and arbn looked okay. memory usage was reportedly a + red herring. the other two issues will get fixed after release. -2012-04-02 23:36 starseeker +2013-04-24 16:54 brlcad - * [r49881] misc/CMake/CompilerFlags.cmake: - fix for OSX debug flag logic + * [r55224] TODO, include/bu.h: + it's strongly looking like the INIFINTY change uncovered a bug in + our spatial partioning code, but revert it for now with a TODO in + order to get a new release pushed out. -2012-04-02 23:34 starseeker +2013-04-24 16:36 n_reed - * [r49880] src/other/tcl/CMakeLists.txt: - quote some OSX tcl path logic + * [r55223] src/conv/step/Path.cpp: + don't add NULL edges to edge_list to avoid segfault when + dereferencing elements -2012-04-02 21:02 starseeker +2013-04-24 16:23 n_reed - * [r49879] misc/CMake/BRLCAD_Summary.cmake: - For multiconfig builds, optimization isn't determined at - configure time anymore. + * [r55222] src/conv/step/STEPEntity.h: + STEPEntity::Load must be virtual so that STEPEntity::CreateEntity + uses the correct Load at run-time. -2012-04-02 18:34 starseeker +2013-04-24 16:17 brlcad - * [r49878] doc/docbook/books/en/CMakeLists.txt: - Hmm. Looks like the classpath setting failure may have been a bug - in the way the Gentoo java script was working - FOP is running OK - on a different system. Now that it DOES run, exposes a problem - with the cover templates related to the other space-in-path - problems xsltproc exhibited. Fix it. + * [r55221] NEWS, src/librt/search.c: + fixed the search command that was bombing if ran on a v4 database + file. needed to call rt_db_get_internal() instead of + rt_db_get_internal5(). -2012-04-02 17:46 r_weiss +2013-04-24 16:05 bob1961 - * [r49877] src/other/xmltools/libxslt/config.h.in: - Updated file "config.h.in" in directory - "/src/other/xmltools/libxslt" to allow libxslt to compile with - Visual Studio 2008. This fix is related to differences in how - function "vsnprintf" is defined in versions of Visual Studio - previous to Visual Studio 2010. + * [r55220] src/tclscripts/archer/ArcherCore.tcl: + init_shoot_ray has moved to Ged.tcl -2012-04-02 17:43 r_weiss +2013-04-24 15:35 n_reed - * [r49876] src/other/xmltools/libxml/config.h.in: - Updated file "config.h.in" in directory - "/src/other/xmltools/libxml" to allow libxml to compile with - Visual Studio 2008. This fix is related to differences in how - function "vsnprintf" is defined in versions of Visual Studio - previous to Visual Studio 2010. + * [r55219] src/conv/step/AdvancedBrepShapeRepresentation.cpp, + src/conv/step/AdvancedBrepShapeRepresentation.h, + src/conv/step/AdvancedFace.cpp, src/conv/step/AdvancedFace.h, + src/conv/step/AmountOfSubstanceContextDependentUnit.cpp, + src/conv/step/AmountOfSubstanceContextDependentUnit.h, + src/conv/step/AmountOfSubstanceConversionBasedUnit.cpp, + src/conv/step/AmountOfSubstanceConversionBasedUnit.h, + src/conv/step/AmountOfSubstanceSiUnit.cpp, + src/conv/step/AmountOfSubstanceSiUnit.h, + src/conv/step/AmountOfSubstanceUnit.cpp, + src/conv/step/AmountOfSubstanceUnit.h, + src/conv/step/ApplicationContext.cpp, + src/conv/step/ApplicationContext.h, + src/conv/step/ApplicationContextElement.cpp, + src/conv/step/ApplicationContextElement.h, + src/conv/step/AreaContextDependentUnit.cpp, + src/conv/step/AreaContextDependentUnit.h, + src/conv/step/AreaConversionBasedUnit.cpp, + src/conv/step/AreaConversionBasedUnit.h, + src/conv/step/AreaSiUnit.cpp, src/conv/step/AreaSiUnit.h, + src/conv/step/AreaUnit.cpp, src/conv/step/AreaUnit.h, + src/conv/step/Axis1Placement.cpp, src/conv/step/Axis1Placement.h, + src/conv/step/Axis2Placement.cpp, src/conv/step/Axis2Placement.h, + src/conv/step/Axis2Placement2D.cpp, + src/conv/step/Axis2Placement2D.h, + src/conv/step/Axis2Placement3D.cpp, + src/conv/step/Axis2Placement3D.h, src/conv/step/BSplineCurve.cpp, + src/conv/step/BSplineCurve.h, + src/conv/step/BSplineCurveWithKnots.cpp, + src/conv/step/BSplineCurveWithKnots.h, + src/conv/step/BSplineSurface.cpp, src/conv/step/BSplineSurface.h, + src/conv/step/BSplineSurfaceWithKnots.cpp, + src/conv/step/BSplineSurfaceWithKnots.h, + src/conv/step/BezierCurve.cpp, src/conv/step/BezierCurve.h, + src/conv/step/BezierSurface.cpp, src/conv/step/BezierSurface.h, + src/conv/step/BoundaryCurve.cpp, src/conv/step/BoundaryCurve.h, + src/conv/step/BoundedCurve.cpp, src/conv/step/BoundedCurve.h, + src/conv/step/BoundedPCurve.cpp, src/conv/step/BoundedPCurve.h, + src/conv/step/BoundedSurface.cpp, src/conv/step/BoundedSurface.h, + src/conv/step/BoundedSurfaceCurve.cpp, + src/conv/step/BoundedSurfaceCurve.h, + src/conv/step/BrepWithVoids.cpp, src/conv/step/BrepWithVoids.h, + src/conv/step/CartesianPoint.cpp, src/conv/step/CartesianPoint.h, + src/conv/step/CartesianTransformationOperator.cpp, + src/conv/step/CartesianTransformationOperator.h, + src/conv/step/CartesianTransformationOperator2D.cpp, + src/conv/step/CartesianTransformationOperator2D.h, + src/conv/step/CartesianTransformationOperator3D.cpp, + src/conv/step/CartesianTransformationOperator3D.h, + src/conv/step/Circle.cpp, src/conv/step/Circle.h, + src/conv/step/ClosedShell.cpp, src/conv/step/ClosedShell.h, + src/conv/step/CompositeCurve.cpp, src/conv/step/CompositeCurve.h, + src/conv/step/CompositeCurveOnSurface.cpp, + src/conv/step/CompositeCurveOnSurface.h, + src/conv/step/CompositeCurveSegment.cpp, + src/conv/step/CompositeCurveSegment.h, src/conv/step/Conic.cpp, + src/conv/step/Conic.h, src/conv/step/ConicalSurface.cpp, + src/conv/step/ConicalSurface.h, + src/conv/step/ConnectedFaceSet.cpp, + src/conv/step/ConnectedFaceSet.h, + src/conv/step/ContextDependentShapeRepresentation.cpp, + src/conv/step/ContextDependentShapeRepresentation.h, + src/conv/step/ContextDependentUnit.cpp, + src/conv/step/ContextDependentUnit.h, + src/conv/step/ConversionBasedUnit.cpp, + src/conv/step/ConversionBasedUnit.h, src/conv/step/Curve.cpp, + src/conv/step/Curve.h, src/conv/step/CurveBoundedSurface.cpp, + src/conv/step/CurveBoundedSurface.h, + src/conv/step/CurveReplica.cpp, src/conv/step/CurveReplica.h, + src/conv/step/CylindricalSurface.cpp, + src/conv/step/CylindricalSurface.h, + src/conv/step/DefinitionalRepresentation.cpp, + src/conv/step/DefinitionalRepresentation.h, + src/conv/step/DerivedUnit.cpp, src/conv/step/DerivedUnit.h, + src/conv/step/DerivedUnitElement.cpp, + src/conv/step/DerivedUnitElement.h, + src/conv/step/DesignContext.cpp, src/conv/step/DesignContext.h, + src/conv/step/DimensionalExponents.cpp, + src/conv/step/DimensionalExponents.h, + src/conv/step/Direction.cpp, src/conv/step/Direction.h, + src/conv/step/Edge.cpp, src/conv/step/Edge.h, + src/conv/step/EdgeCurve.cpp, src/conv/step/EdgeCurve.h, + src/conv/step/EdgeLoop.cpp, src/conv/step/EdgeLoop.h, + src/conv/step/ElectricCurrentContextDependentUnit.cpp, + src/conv/step/ElectricCurrentContextDependentUnit.h, + src/conv/step/ElectricCurrentConversionBasedUnit.cpp, + src/conv/step/ElectricCurrentConversionBasedUnit.h, + src/conv/step/ElectricCurrentSiUnit.cpp, + src/conv/step/ElectricCurrentSiUnit.h, + src/conv/step/ElectricCurrentUnit.h, + src/conv/step/ElementarySurface.cpp, + src/conv/step/ElementarySurface.h, src/conv/step/Ellipse.cpp, + src/conv/step/Ellipse.h, src/conv/step/Face.cpp, + src/conv/step/Face.h, src/conv/step/FaceBound.cpp, + src/conv/step/FaceBound.h, src/conv/step/FaceOuterBound.cpp, + src/conv/step/FaceOuterBound.h, src/conv/step/FaceSurface.cpp, + src/conv/step/FaceSurface.h, src/conv/step/FoundedItem.cpp, + src/conv/step/FoundedItem.h, + src/conv/step/FunctionallyDefinedTransformation.cpp, + src/conv/step/FunctionallyDefinedTransformation.h, + src/conv/step/GeometricRepresentationContext.cpp, + src/conv/step/GeometricRepresentationContext.h, + src/conv/step/GeometricRepresentationItem.cpp, + src/conv/step/GeometricRepresentationItem.h, + src/conv/step/GlobalUncertaintyAssignedContext.cpp, + src/conv/step/GlobalUncertaintyAssignedContext.h, + src/conv/step/GlobalUnitAssignedContext.cpp, + src/conv/step/GlobalUnitAssignedContext.h, + src/conv/step/Hyperbola.cpp, src/conv/step/Hyperbola.h, + src/conv/step/IntersectionCurve.cpp, + src/conv/step/IntersectionCurve.h, + src/conv/step/ItemDefinedTransformation.cpp, + src/conv/step/ItemDefinedTransformation.h, + src/conv/step/LengthContextDependentUnit.cpp, + src/conv/step/LengthContextDependentUnit.h, + src/conv/step/LengthConversionBasedUnit.cpp, + src/conv/step/LengthConversionBasedUnit.h, + src/conv/step/LengthMeasureWithUnit.cpp, + src/conv/step/LengthMeasureWithUnit.h, + src/conv/step/LengthSiUnit.cpp, src/conv/step/LengthSiUnit.h, + src/conv/step/LengthUnit.cpp, src/conv/step/LengthUnit.h, + src/conv/step/Line.cpp, src/conv/step/Line.h, + src/conv/step/Loop.cpp, src/conv/step/Loop.h, + src/conv/step/LuminousIntensityContextDependentUnit.cpp, + src/conv/step/LuminousIntensityContextDependentUnit.h, + src/conv/step/LuminousIntensityConversionBasedUnit.cpp, + src/conv/step/LuminousIntensityConversionBasedUnit.h, + src/conv/step/LuminousIntensitySiUnit.cpp, + src/conv/step/LuminousIntensitySiUnit.h, + src/conv/step/LuminousIntensityUnit.cpp, + src/conv/step/LuminousIntensityUnit.h, + src/conv/step/ManifoldSolidBrep.cpp, + src/conv/step/ManifoldSolidBrep.h, + src/conv/step/MassContextDependentUnit.cpp, + src/conv/step/MassContextDependentUnit.h, + src/conv/step/MassConversionBasedUnit.cpp, + src/conv/step/MassConversionBasedUnit.h, + src/conv/step/MassSiUnit.cpp, src/conv/step/MassSiUnit.h, + src/conv/step/MassUnit.cpp, src/conv/step/MassUnit.h, + src/conv/step/MeasureValue.cpp, src/conv/step/MeasureValue.h, + src/conv/step/MeasureWithUnit.cpp, + src/conv/step/MeasureWithUnit.h, + src/conv/step/MechanicalContext.cpp, + src/conv/step/MechanicalContext.h, src/conv/step/NamedUnit.cpp, + src/conv/step/NamedUnit.h, src/conv/step/OffsetCurve2D.cpp, + src/conv/step/OffsetCurve2D.h, src/conv/step/OffsetCurve3D.cpp, + src/conv/step/OffsetCurve3D.h, src/conv/step/OffsetSurface.cpp, + src/conv/step/OffsetSurface.h, + src/conv/step/OrientedClosedShell.cpp, + src/conv/step/OrientedClosedShell.h, + src/conv/step/OrientedEdge.cpp, src/conv/step/OrientedEdge.h, + src/conv/step/PCurve.cpp, src/conv/step/PCurve.h, + src/conv/step/PCurveOrSurface.cpp, + src/conv/step/PCurveOrSurface.h, src/conv/step/Parabola.cpp, + src/conv/step/Parabola.h, + src/conv/step/ParametricRepresentationContext.cpp, + src/conv/step/ParametricRepresentationContext.h, + src/conv/step/Path.cpp, src/conv/step/Path.h, + src/conv/step/Placement.cpp, src/conv/step/Placement.h, + src/conv/step/Plane.cpp, src/conv/step/Plane.h, + src/conv/step/PlaneAngleContextDependentUnit.cpp, + src/conv/step/PlaneAngleContextDependentUnit.h, + src/conv/step/PlaneAngleConversionBasedUnit.cpp, + src/conv/step/PlaneAngleConversionBasedUnit.h, + src/conv/step/PlaneAngleMeasureWithUnit.cpp, + src/conv/step/PlaneAngleMeasureWithUnit.h, + src/conv/step/PlaneAngleSiUnit.cpp, + src/conv/step/PlaneAngleSiUnit.h, + src/conv/step/PlaneAngleUnit.cpp, src/conv/step/PlaneAngleUnit.h, + src/conv/step/Point.cpp, src/conv/step/Point.h, + src/conv/step/Polyline.cpp, src/conv/step/Polyline.h, + src/conv/step/Product.cpp, src/conv/step/Product.h, + src/conv/step/ProductCategory.cpp, + src/conv/step/ProductCategory.h, + src/conv/step/ProductContext.cpp, src/conv/step/ProductContext.h, + src/conv/step/ProductDefinition.cpp, + src/conv/step/ProductDefinition.h, + src/conv/step/ProductDefinitionContext.cpp, + src/conv/step/ProductDefinitionContext.h, + src/conv/step/ProductDefinitionContextAssociation.cpp, + src/conv/step/ProductDefinitionContextAssociation.h, + src/conv/step/ProductDefinitionContextRole.cpp, + src/conv/step/ProductDefinitionContextRole.h, + src/conv/step/ProductDefinitionFormation.cpp, + src/conv/step/ProductDefinitionFormation.h, + src/conv/step/ProductDefinitionFormationWithSpecifiedSource.cpp, + src/conv/step/ProductDefinitionFormationWithSpecifiedSource.h, + src/conv/step/ProductDefinitionShape.cpp, + src/conv/step/ProductDefinitionShape.h, + src/conv/step/ProductRelatedProductCategory.cpp, + src/conv/step/ProductRelatedProductCategory.h, + src/conv/step/PropertyDefinition.cpp, + src/conv/step/PropertyDefinition.h, + src/conv/step/QuasiUniformCurve.cpp, + src/conv/step/QuasiUniformCurve.h, + src/conv/step/QuasiUniformSurface.cpp, + src/conv/step/QuasiUniformSurface.h, + src/conv/step/RatioContextDependentUnit.cpp, + src/conv/step/RatioContextDependentUnit.h, + src/conv/step/RatioConversionBasedUnit.cpp, + src/conv/step/RatioConversionBasedUnit.h, + src/conv/step/RatioSiUnit.cpp, src/conv/step/RatioSiUnit.h, + src/conv/step/RatioUnit.cpp, src/conv/step/RatioUnit.h, + src/conv/step/RationalBSplineCurve.cpp, + src/conv/step/RationalBSplineCurve.h, + src/conv/step/RationalBSplineCurveWithKnots.cpp, + src/conv/step/RationalBSplineCurveWithKnots.h, + src/conv/step/RationalBSplineSurface.cpp, + src/conv/step/RationalBSplineSurface.h, + src/conv/step/RationalBSplineSurfaceWithKnots.cpp, + src/conv/step/RationalBSplineSurfaceWithKnots.h, + src/conv/step/RationalBezierCurve.cpp, + src/conv/step/RationalBezierCurve.h, + src/conv/step/RationalBezierSurface.cpp, + src/conv/step/RationalBezierSurface.h, + src/conv/step/RationalQuasiUniformCurve.cpp, + src/conv/step/RationalQuasiUniformCurve.h, + src/conv/step/RationalQuasiUniformSurface.cpp, + src/conv/step/RationalQuasiUniformSurface.h, + src/conv/step/RationalUniformCurve.cpp, + src/conv/step/RationalUniformCurve.h, + src/conv/step/RationalUniformSurface.cpp, + src/conv/step/RationalUniformSurface.h, + src/conv/step/RectangularCompositeSurface.cpp, + src/conv/step/RectangularCompositeSurface.h, + src/conv/step/RectangularTrimmedSurface.cpp, + src/conv/step/RectangularTrimmedSurface.h, + src/conv/step/Representation.cpp, src/conv/step/Representation.h, + src/conv/step/RepresentationContext.cpp, + src/conv/step/RepresentationContext.h, + src/conv/step/RepresentationItem.cpp, + src/conv/step/RepresentationItem.h, + src/conv/step/RepresentationRelationship.cpp, + src/conv/step/RepresentationRelationship.h, + src/conv/step/RepresentationRelationshipWithTransformation.cpp, + src/conv/step/RepresentationRelationshipWithTransformation.h, + src/conv/step/STEPEntity.cpp, src/conv/step/STEPEntity.h, + src/conv/step/SeamCurve.cpp, src/conv/step/SeamCurve.h, + src/conv/step/ShapeRepresentation.cpp, + src/conv/step/ShapeRepresentation.h, + src/conv/step/ShapeRepresentationRelationship.cpp, + src/conv/step/ShapeRepresentationRelationship.h, + src/conv/step/SiUnit.cpp, src/conv/step/SiUnit.h, + src/conv/step/SolidAngleContextDependentUnit.cpp, + src/conv/step/SolidAngleContextDependentUnit.h, + src/conv/step/SolidAngleConversionBasedUnit.cpp, + src/conv/step/SolidAngleConversionBasedUnit.h, + src/conv/step/SolidAngleSiUnit.cpp, + src/conv/step/SolidAngleSiUnit.h, + src/conv/step/SolidAngleUnit.cpp, src/conv/step/SolidAngleUnit.h, + src/conv/step/SolidModel.cpp, src/conv/step/SolidModel.h, + src/conv/step/SphericalSurface.cpp, + src/conv/step/SphericalSurface.h, src/conv/step/Surface.cpp, + src/conv/step/Surface.h, src/conv/step/SurfaceCurve.cpp, + src/conv/step/SurfaceCurve.h, + src/conv/step/SurfaceOfLinearExtrusion.cpp, + src/conv/step/SurfaceOfLinearExtrusion.h, + src/conv/step/SurfaceOfRevolution.cpp, + src/conv/step/SurfaceOfRevolution.h, + src/conv/step/SurfacePatch.cpp, src/conv/step/SurfacePatch.h, + src/conv/step/SurfaceReplica.cpp, src/conv/step/SurfaceReplica.h, + src/conv/step/SweptSurface.cpp, src/conv/step/SweptSurface.h, + src/conv/step/ThermodynamicTemperatureContextDependentUnit.cpp, + src/conv/step/ThermodynamicTemperatureContextDependentUnit.h, + src/conv/step/ThermodynamicTemperatureConversionBasedUnit.cpp, + src/conv/step/ThermodynamicTemperatureConversionBasedUnit.h, + src/conv/step/ThermodynamicTemperatureSiUnit.cpp, + src/conv/step/ThermodynamicTemperatureSiUnit.h, + src/conv/step/ThermodynamicTemperatureUnit.cpp, + src/conv/step/ThermodynamicTemperatureUnit.h, + src/conv/step/TimeContextDependentUnit.cpp, + src/conv/step/TimeContextDependentUnit.h, + src/conv/step/TimeConversionBasedUnit.cpp, + src/conv/step/TimeConversionBasedUnit.h, + src/conv/step/TimeSiUnit.cpp, src/conv/step/TimeSiUnit.h, + src/conv/step/TimeUnit.cpp, src/conv/step/TimeUnit.h, + src/conv/step/TopologicalRepresentationItem.cpp, + src/conv/step/TopologicalRepresentationItem.h, + src/conv/step/ToroidalSurface.cpp, + src/conv/step/ToroidalSurface.h, + src/conv/step/Transformation.cpp, src/conv/step/Transformation.h, + src/conv/step/TrimmedCurve.cpp, src/conv/step/TrimmedCurve.h, + src/conv/step/TrimmingSelect.cpp, src/conv/step/TrimmingSelect.h, + src/conv/step/UncertaintyMeasureWithUnit.cpp, + src/conv/step/UncertaintyMeasureWithUnit.h, + src/conv/step/UniformCurve.cpp, src/conv/step/UniformCurve.h, + src/conv/step/UniformSurface.cpp, src/conv/step/UniformSurface.h, + src/conv/step/Unit.cpp, src/conv/step/Unit.h, + src/conv/step/Vector.cpp, src/conv/step/Vector.h, + src/conv/step/Vertex.cpp, src/conv/step/Vertex.h, + src/conv/step/VertexLoop.cpp, src/conv/step/VertexLoop.h, + src/conv/step/VertexPoint.cpp, src/conv/step/VertexPoint.h, + src/conv/step/VolumeContextDependentUnit.cpp, + src/conv/step/VolumeContextDependentUnit.h, + src/conv/step/VolumeConversionBasedUnit.cpp, + src/conv/step/VolumeConversionBasedUnit.h, + src/conv/step/VolumeSiUnit.cpp, src/conv/step/VolumeSiUnit.h, + src/conv/step/VolumeUnit.cpp, src/conv/step/VolumeUnit.h: + Copy-pasted bodies of Create member functions added a heap object + to a map, and then deleted the object if loading failed. + Supposing the object was deleted, later reference to it via the + map caused a segfault. The simple fix was complicated by the + number of instances that had to be fixed, so the duplicated logic + has been pulled into a static member of the parent STEPEntity + class, and the subclass Create members now just call that + function, passing the variable elements, namely their class name + and a newly added GetInstance function that returns a new + instance of the class. -2012-04-02 03:26 starseeker +2013-04-23 10:55 tbrowder2 - * [r49875] misc/CMake/xsltproc.cmake.in: - Do the easy test first before we hit the filesystem + * [r55218] t.c: + final test -2012-04-02 03:01 starseeker +2013-04-23 10:54 tbrowder2 - * [r49874] misc/CMake/xsltproc.cmake.in: - Only move xsltproc's output if it isn't where it is intended to - be + * [r55217] t.c: + update -2012-04-02 02:10 starseeker +2013-04-23 10:47 tbrowder2 - * [r49873] misc/CMake/xsltproc.cmake.in: - explain why the second check for xsltproc + * [r55216] t.txt: + test -2012-04-02 01:41 starseeker +2013-04-23 10:47 tbrowder2 - * [r49872] src/archer/archer: - Archer wasn't liking spaces in paths on start-up - do some - quoting + * [r55215] t.txt: + test -2012-04-02 01:20 starseeker +2013-04-23 10:46 tbrowder2 - * [r49871] misc/CMake/TCL_PKGINDEX.cmake: - Add quotes to the paths in pkgIndex.tcl files + * [r55214] t.txt: + test -2012-04-02 01:16 starseeker +2013-04-23 10:46 tbrowder2 - * [r49870] misc/CMake/xsltproc.cmake.in: - Hmm - not respecting the output location for some reason with man - pages when names have spaces in paths. Add some back-up logic to - catch output in the wrong place and relocate it + * [r55213] t.txt: + test -2012-04-02 00:47 starseeker +2013-04-23 01:27 n_reed - * [r49869] doc/docbook/CMakeLists.txt, - doc/docbook/resources/brlcad/brlcad-fo-stylesheet.xsl.in, - doc/docbook/resources/brlcad/brlcad-man-stylesheet.xsl.in, - doc/docbook/resources/brlcad/brlcad-xhtml-stylesheet.xsl.in, - doc/docbook/resources/brlcad/tutorial-cover-template.xsl.in, - doc/docbook/resources/brlcad/tutorial-template.xsl.in: - xsltproc doesn't like literal spaces in the template paths + * [r55212] include/dm.h, src/mged/attach.c: + Make dm func decls C++ friendly. Specifying the dm_processOptions + params revealed mged_attach needs to dup its argv since the + former doesn't make the same const promise (presumably because it + wraps bu_getopt, which imitates getopt's signature). -2012-04-02 00:45 starseeker +2013-04-23 01:07 starseeker - * [r49868] CMakeLists.txt: - want this to happen before the timestamp, not after... + * [r55211] TODO: + Have enough info in src/other/README to remove TODO item. -2012-04-02 00:25 starseeker +2013-04-23 00:42 tbrowder2 - * [r49867] misc/CMake/BRLCAD_CMakeFiles.cmake, - misc/CMake/BRLCAD_Targets.cmake, misc/CMake/fop.cmake.in, - misc/CMake/msv.cmake.in, misc/CMake/rnv.cmake.in, - misc/CMake/xmllint.cmake.in, misc/CMake/xsltproc.cmake.in, - src/anim/CMakeLists.txt, src/burst/CMakeLists.txt, - src/bwish/CMakeLists.txt, src/canon/CMakeLists.txt, - src/conv/CMakeLists.txt, src/conv/iges/CMakeLists.txt, - src/conv/intaval/CMakeLists.txt, src/conv/step/CMakeLists.txt, - src/fb/CMakeLists.txt, src/fbed/CMakeLists.txt, - src/fbserv/CMakeLists.txt, src/gtools/CMakeLists.txt, - src/halftone/CMakeLists.txt, src/irprep/CMakeLists.txt, - src/lgt/CMakeLists.txt, src/libanalyze/CMakeLists.txt, - src/libbn/CMakeLists.txt, src/libbu/CMakeLists.txt, - src/libdm/CMakeLists.txt, src/libfb/CMakeLists.txt, - src/libgcv/CMakeLists.txt, src/libgcv/wfobj/CMakeLists.txt, - src/libged/CMakeLists.txt, src/libicv/CMakeLists.txt, - src/libmultispectral/CMakeLists.txt, - src/liboptical/CMakeLists.txt, src/liborle/CMakeLists.txt, - src/libpc/CMakeLists.txt, src/libpkg/example/CMakeLists.txt, - src/librt/CMakeLists.txt, src/librtserver/CMakeLists.txt, - src/libtclcad/CMakeLists.txt, src/libwdb/CMakeLists.txt, - src/mged/CMakeLists.txt, src/nirt/CMakeLists.txt, - src/other/perplex/CMakeLists.txt, - src/other/step/cmake/SCL_Utils.cmake, - src/other/step/src/clstepcore/CMakeLists.txt, - src/other/step/src/exppp/CMakeLists.txt, - src/other/step/src/fedex_plus/CMakeLists.txt, - src/other/step/src/fedex_python/CMakeLists.txt, - src/other/togl/CMakeLists.txt, src/proc-db/CMakeLists.txt, - src/remrt/CMakeLists.txt, src/rt/CMakeLists.txt, - src/rttherm/CMakeLists.txt, src/shapes/CMakeLists.txt, - src/sig/CMakeLists.txt, src/tab/CMakeLists.txt, - src/util/CMakeLists.txt, src/vdeck/CMakeLists.txt: - Finally bite the bullet and start reworking the build logic to be - robust to weirder source and build directory names. This is not - everything needed, but it's a step in the right direction. - -2012-04-01 18:54 starseeker - - * [r49866] CMakeLists.txt, misc/CMake/BRLCAD_CMakeFiles.cmake, - misc/CMake/BRLCAD_Targets.cmake, misc/CMake/BRLCAD_Util.cmake, - misc/CMake/ThirdParty.cmake: - Paths that trigger CMake's regex rules break the CMake logic - - shouldn't be using regex based comparisons for such paths anyway, - so fix some comparisons and add a subpath checker that doesn't - need regex. Reported on the email list by Aurélien Marion + * [r55210] t.txt: + remove test file -2012-04-01 05:28 starseeker +2013-04-23 00:42 tbrowder2 - * [r49865] CMakeLists.txt: - tweak + * [r55209] t.txt: + test -2012-04-01 05:08 starseeker +2013-04-23 00:29 brlcad - * [r49864] CMakeLists.txt: - ws + * [r55208] README: + first commit to the new repo. shorten some irerelevant and + redundant detail. -2012-04-01 05:02 starseeker +2013-04-22 18:00 starseeker - * [r49863] CMakeLists.txt: - Use LIB_DIR instead of hardcoding lib in the ignore path logic + * [r55207] src/other/libregex/regex.h: + __APPLE__ isn't defined if we're not on Apple -2012-04-01 04:52 starseeker +2013-04-22 17:52 carlmoore - * [r49862] CMakeLists.txt: - Don't need to manually specify the full CMake version - just use - CMAKE_VERSION + * [r55206] src/tclscripts/archer/ShaderEdit.tcl: + fix spelling of 'light' -2012-04-01 04:48 starseeker +2013-04-22 16:18 r_weiss - * [r49861] CMakeLists.txt: - Use BRLCAD_ADDDATA - seems to work for this after rework + * [r55205] src/other/libregex/regex.h: + For "libregex", added comment on ordering of headers to define + type "off_t" for Windows. -2012-04-01 04:47 starseeker +2013-04-22 16:06 erikgreenwald - * [r49860] src/other/step/doc/CMakeLists.txt: - let the toplevel build tell us where to put scl man pages + * [r55204] src/other/libregex/regex.h: + move order back, this is apparently important for win64 -2012-04-01 04:46 starseeker +2013-04-22 15:57 erikgreenwald - * [r49859] src/other/step/doc/CMakeLists.txt: - add newline + * [r55203] src/other/libregex/regex.h: + Shuffle order of defines and includes. Add an __APPLE__ test on + the off_t check. -2012-04-01 03:50 starseeker +2013-04-22 14:34 r_weiss - * [r49858] CMakeLists.txt: - Simplify management of the COUNT file - no need for the cache - entry or running cmake commands + * [r55202] src/libged/red.c: + Bug fix in mged 'red' command to fix a double 'fclose'. -2012-03-31 21:17 tbrowder2 +2013-04-22 14:09 starseeker - * [r49857] src/conv/comgeom/3d.h, src/conv/comgeom/solid.c, - src/conv/comgeom/tools.c: - ws + * [r55201] src/other/libregex/regex.h: + copy/paste error? -2012-03-31 21:06 tbrowder2 +2013-04-19 21:43 r_weiss - * [r49856] src/vdeck/vdeck.c: - ws + * [r55200] src/other/libregex/regcomp.c, + src/other/libregex/regerror.c, src/other/libregex/regex.h, + src/other/libregex/regexec.c, src/other/libregex/regfree.c: + Update to libregex library, for Windows 64bit, to fix issues with + type "long" versus "ptrdiff_t" and "ssize_t". Reorganized the + headers for libregex to use the "_WIN64" definition and build + without dependencies on BRL-CAD headers. More testing is needed + with these changes. -2012-03-31 20:39 tbrowder2 +2013-04-19 21:38 r_weiss - * [r49855] src/vdeck/vdeck.c: - ws, style + * [r55199] src/libged/red.c: + Bug fix for mged "red" command which was preventing the temp file + to be opened in the native text editor on Windows 64bit. -2012-03-31 20:38 tbrowder2 +2013-04-19 21:35 r_weiss - * [r49854] src/vdeck/cgarbs.c: - update K&R to ANSII C function arg style + * [r55198] src/librt/tests/CMakeLists.txt: + Changed cmake build logic to turn off the build of nurbs_tester + to allow Windows 64bit to build. -2012-03-31 20:26 tbrowder2 +2013-04-19 21:32 r_weiss - * [r49853] src/vdeck/cgarbs.c, src/vdeck/std.h: - ws, align code chunks + * [r55197] CMakeLists.txt: + Change to cmake build logic to add the "_WIN64" definition for + Windows 64bit using Visual Studio 2010. -2012-03-31 18:58 starseeker +2013-04-19 21:17 carlmoore - * [r49852] src/other/CMakeLists.txt: - Mark the SCL variables as advanced + * [r55196] src/sig/d-u.c: + Presumably this program was modified from d-i.c . Changed 2 + references which were 'd-i', and also brought in modified warning + from d-i.c . -2012-03-31 01:59 tbrowder2 +2013-04-19 21:11 carlmoore - * [r49851] src/conv/comgeom/cvt.c, src/conv/comgeom/f2a.c, - src/conv/comgeom/mat.c, src/conv/comgeom/read.c, - src/conv/comgeom/region.c, src/conv/comgeom/solid.c: - ws, style + * [r55195] src/sig/d-i.c: + insert program name into warning message -2012-03-31 01:28 tbrowder2 +2013-04-19 20:54 carlmoore - * [r49850] src/conv/comgeom/comgeom-g.1: - correct example for current usage + * [r55194] src/sig/d-f.c: + shorten the logic in the setting of 'scale', and rearrange an + if-else thru removal of '!' -2012-03-31 01:27 tbrowder2 +2013-04-19 20:52 carlmoore - * [r49849] src/conv/comgeom/comgeom-g.1: - correct typo + * [r55193] src/librt/tests/nurbs_tests.cpp: + remove trailing blanks/tabs -2012-03-31 00:06 tbrowder2 +2013-04-19 19:56 starseeker - * [r49848] src/vdeck/cgarbs.c, src/vdeck/match.c, - src/vdeck/parsarg.c: - ws, style + * [r55192] include/brep.h: + Looks like we need the dll logic for get_closest_point for the + NURBS test program on Windows. -2012-03-30 23:57 tbrowder2 +2013-04-19 18:28 bob1961 - * [r49847] src/vdeck/vdeck.c: - ws, style + * [r55191] src/tclscripts/archer/ShaderEdit.tcl: + Added support in Archer for the fakestar and testmap shaders. -2012-03-30 21:30 starseeker +2013-04-19 16:08 bob1961 - * [r49846] misc/CMake/BRLCAD_Targets.cmake: - fix comment + * [r55190] src/tclscripts/archer/ShaderEdit.tcl: + Added support in Archer for the projection shader. -2012-03-30 21:24 starseeker +2013-04-19 14:36 bob1961 - * [r49845] misc/CMake/BRLCAD_Targets.cmake, - misc/CMake/BRLCAD_Util.cmake, src/tclscripts/CMakeLists.txt: - Do a bit of rework on the BRLCAD_ADDDATA target - instead of - WIN32 vs everything else, actually test whether the symlink - mechanism works and base the macro behavior on those results. + * [r55189] src/tclscripts/archer/ShaderEdit.tcl: + Added support in Archer for the air shader. -2012-03-30 20:48 tbrowder2 +2013-04-19 12:48 bob1961 - * [r49844] src/vdeck/vdeck.1: - correct typo + * [r55188] src/tclscripts/archer/ShaderEdit.tcl: + Added Archer support for the envmap and unlisted/unknown shaders. -2012-03-30 12:34 starseeker +2013-04-18 21:24 carlmoore - * [r49843] CMakeLists.txt: - The build type isn't enough to tell us whether we've got a build - with debugging enabled - use the debug flags variable. + * [r55187] src/conv/cy-g.c: + fix a word in a comment -2012-03-30 02:10 starseeker +2013-04-18 21:17 carlmoore - * [r49842] misc/CMake/BRLCAD_CMakeFiles.cmake: - Fix header + * [r55186] src/conv/cy-g.c: + implement the utility name in 2 error messages -2012-03-30 02:09 starseeker +2013-04-18 20:59 starseeker - * [r49841] CMakeLists.txt, misc/CMake/BRLCAD_CMakeFiles.cmake, - misc/CMake/CMakeFiles.cmake: - CMakeFiles is specific to BRL-CAD, rename it accordingly + * [r55185] src/librt/Makefile.am: + Update Makefile.am -2012-03-30 02:04 starseeker +2013-04-18 20:57 starseeker - * [r49840] CMakeLists.txt, misc/CMake/CMakeFiles.cmake, - misc/CMake/ThirdParty.cmake, misc/CMake/ThirdParty_TCL.cmake, - src/CMakeLists.txt, src/other/CMakeLists.txt, - src/other/step/src/exppp/CMakeLists.txt, - src/other/step/src/fedex_plus/CMakeLists.txt: - Significant simplification of the distcheck logic - reduce it to - two macros, one of which calls the other. Add documentation, - improve behavior in some corner cases, enforce a convention we - already pretty much followed by default of using relative paths - to specify source files in the source tree (this is a robust way - to spot generated files in build target definitions, since - support for an out of directory build requires that they be - specified with their full CMAKE_BINARY_DIR output path.) - -2012-03-30 00:02 starseeker - - * [r49839] CMakeLists.txt, misc/CMake/BRLCAD_Targets.cmake, - misc/CMake/BRLCAD_Util.cmake: - Break the BRL-CAD target definition macros out into their own - file, leave actual Utility macros in Util - -2012-03-29 23:53 starseeker - - * [r49838] misc/CMake/BRLCAD_Util.cmake, src/adrt/CMakeLists.txt, - src/bwish/CMakeLists.txt, src/conv/CMakeLists.txt, - src/gtools/CMakeLists.txt, src/libanalyze/CMakeLists.txt, - src/libbn/CMakeLists.txt, src/libbu/CMakeLists.txt, - src/libdm/CMakeLists.txt, src/libgcv/CMakeLists.txt, - src/libpc/CMakeLists.txt, src/libpkg/example/CMakeLists.txt, - src/librtserver/CMakeLists.txt, src/rt/CMakeLists.txt, - src/util/CMakeLists.txt: - Instead of using lots of extra macros and commands to fake the - BRLCAD_ADDEXEC functionality for exectuablesthat aren't intended - to be installed, simply enhance BRLCAD_ADDEXEC to support a - NO_INSTALL flag. Remove macros we don't need anymore, simplify - non-installed exec build logic. - -2012-03-29 23:06 n_reed - - * [r49837] src/other/step/src/exppp/exppp.c, - src/other/step/src/express/memory.c, - src/other/step/src/fedex_plus/classes.c: - apply warning fixes from SCL git 19e501a - -2012-03-29 22:27 n_reed - - * [r49836] src/other/step/include/exppp/exppp.h, - src/other/step/include/express/basic.h, - src/other/step/include/express/entity.h, - src/other/step/include/express/error.h, - src/other/step/include/express/expr.h, - src/other/step/include/express/express.h, - src/other/step/include/express/lexact.h, - src/other/step/include/express/type.h, - src/other/step/include/scl_stdbool.h, - src/other/step/src/exppp/exppp-main.c, - src/other/step/src/exppp/exppp.c, - src/other/step/src/express/entity.c, - src/other/step/src/express/error.c, - src/other/step/src/express/expparse.y, - src/other/step/src/express/express.c, - src/other/step/src/express/expscan.l, - src/other/step/src/express/fedex.c, - src/other/step/src/express/lexact.c, - src/other/step/src/express/resolve.c, - src/other/step/src/express/token_type.h, - src/other/step/src/express/type.c, - src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes_misc.c: - Replaced basic.h's Boolean/True/False with bool/true/false via - stdbool.h or else scl_stdbool.h. Includes changes from SCL git - e40cbca and 71bd7b2. Honest attempts made to ensure all affected - symbols were actually being used as real booleans (as opposed to - sdaiEnum.h's trinary Boolean type). - -2012-03-29 22:13 starseeker - - * [r49835] misc/CMake/BRLCAD_CheckFunctions.cmake, - misc/CMake/BRLCAD_Dependent_Options.cmake, - misc/CMake/CheckPrototypeExists.cmake, - misc/CMake/Distclean.cmake, - src/other/incrTcl/itcl/CMake/CheckPrototypeExists.cmake, - src/other/incrTcl/itk/CMake/CheckPrototypeExists.cmake, - src/other/sqlite3/tcl/CMake/CheckPrototypeExists.cmake, - src/other/tcl/CMake/CheckPrototypeExists.cmake, - src/other/tk/CMake/CheckPrototypeExists.cmake, - src/other/togl/CMake/CheckPrototypeExists.cmake: - Various misc. cleanups of CMake logic - -2012-03-29 03:10 starseeker - - * [r49834] misc/CMake/BRLCAD_Util.cmake, misc/CMakeLists.txt, - misc/enigma/CMakeLists.txt, src/canon/CMakeLists.txt, - src/fbed/CMakeLists.txt, src/fbserv/CMakeLists.txt, - src/halftone/CMakeLists.txt, src/lgt/CMakeLists.txt, - src/libbn/CMakeLists.txt, src/libcursor/CMakeLists.txt, - src/libfb/CMakeLists.txt, src/liborle/CMakeLists.txt, - src/libwdb/CMakeLists.txt, src/nirt/CMakeLists.txt, - src/remrt/CMakeLists.txt, src/vdeck/CMakeLists.txt: - fold ADD_MAN_PAGE into ADD_MAN_PAGES - -2012-03-28 23:53 starseeker - - * [r49833] db/CMakeLists.txt, doc/html/CMakeLists.txt, - misc/CMake/BRLCAD_Util.cmake, misc/CMakeLists.txt, - src/archer/CMakeLists.txt, src/conv/CMakeLists.txt, - src/gtools/CMakeLists.txt, src/libpkg/CMakeLists.txt, - src/librt/CMakeLists.txt, src/rt/CMakeLists.txt, - src/util/CMakeLists.txt, src/vfont/CMakeLists.txt: - Don't need both BRLCAD_ADDFILE and BRLCAD_ADDDATA - make - BRLCAD_ADDDATA capable of handling multiple input types and nuke - BRLCAD_ADDFILE. While we're at it, make the target name - generation for copy rules involving long file strings more robust - by falling back on the md5 sum of the string. + * [r55184] src/librt/CMakeLists.txt, src/librt/test_dvec.cpp, + src/librt/tests/CMakeLists.txt, src/librt/tests/test_dvec.cpp: + Move dvec test into tests subdirectory -2012-03-28 19:31 bob1961 +2013-04-18 20:51 starseeker - * [r49832] src/tclscripts/archer/ArcherCore.tcl: - Fixed a typo in ArcherCore::pushZClipSettings. + * [r55183] src/librt/CMakeLists.txt, src/librt/tests, + src/librt/tests/CMakeLists.txt, src/librt/tests/nurbs_surfaces.g, + src/librt/tests/nurbs_tests.cpp: + Add test case for get_closest_point, using an isolated surface + and two 3D inputs that are unexpectedly returning the same 2D + pullback result. -2012-03-28 17:59 jordisayol +2013-04-18 19:41 carlmoore - * [r49831] misc/debian/rules: - override dpkg-buildflags flags on deb package building + * [r55182] src/util/cv.c: + insert 2 else's because if I get the 'huc' or 'nuc' strings, I + know the strlen must be 3 so I don't need to test for strlen >4 + || strlen <1 -2012-03-28 15:48 n_reed +2013-04-18 19:28 carlmoore - * [r49830] src/other/step/src/clutils/README: - remove references to non-existent dir.h and SCLString to match - SCL git a0353bc version + * [r55181] src/util/cv.c: + shift in_cookie , out_cookie to later (after file issues are + checked out), and use argc == 5 because argc >5 was already + elminated by earlier code -2012-03-28 14:30 starseeker +2013-04-18 15:32 starseeker - * [r49829] CMakeLists.txt, misc/CMake/BRLCAD_Options.cmake: - tweak handling of configuration-aware options + * [r55180] src/other/poly2tri/poly2tri/common/shapes.h: + Need much tigher tolerances in the EQ macro - FLT_EPSILON was + causing segfaults. Go with DBL_MIN to get as close as possible to + the original (working) exact comparisions without triggering + compiler warnings. -2012-03-28 03:50 starseeker +2013-04-18 14:47 carlmoore - * [r49828] misc/CMake/BRLCAD_Summary.cmake: - Might as well quote the string... + * [r55179] src/util/cv.c: + clarify the pattern -2012-03-27 23:03 n_reed +2013-04-18 01:53 starseeker - * [r49827] src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/cleditor/mgrnodearray.cc, - src/other/step/src/clstepcore/collect.cc, - src/other/step/src/clstepcore/match-ors.cc, - src/other/step/src/clstepcore/multlist.cc, - src/other/step/src/clstepcore/print.cc, - src/other/step/src/exppp/exppp.c, - src/other/step/src/express/resolve.c, - src/other/step/src/fedex_plus/collect.cc, - src/other/step/src/fedex_plus/complexlist.cc, - src/other/step/src/fedex_plus/expressbuild.cc, - src/other/step/src/fedex_plus/match-ors.cc, - src/other/step/src/fedex_plus/multlist.cc, - src/other/step/src/fedex_plus/print.cc: - initialize some uninitialize variables; SCL git b9156ad - -2012-03-27 22:34 n_reed - - * [r49826] src/other/step/src/fedex_plus/orlist.cc: - remove unused variable; SCL git 47b4963 - -2012-03-27 22:19 n_reed - - * [r49825] src/other/step/src/express/stack.h: - restore STACKempty macro that was removed in r47243 for no - particular reason - -2012-03-27 21:31 n_reed - - * [r49824] src/other/step/include/sclprefixes.h, - src/other/step/src/cldai/sdaiDaObject.cc, - src/other/step/src/cldai/sdaiDaObject.h, - src/other/step/src/cldai/sdaiEnum.h, - src/other/step/src/cldai/sdaiObject.cc, - src/other/step/src/cldai/sdaiObject.h, - src/other/step/src/clstepcore/STEPaggregate.h, - src/other/step/src/clstepcore/sdai.h, - src/other/step/src/clstepcore/sdaiApplication_instance.cc, - src/other/step/src/clstepcore/sdaiApplication_instance.h, - src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes_wrapper.cc: - Removed references to PART26/CORBA and ODI_OSSG. Corresponds - primarily to SCL git e99240a, d6aa13f, and 4c5a8e0. - -2012-03-27 17:56 n_reed - - * [r49822] - src/other/step/src/clSchemas/example/SdaiEXAMPLE_SCHEMA.cc, - src/other/step/src/clSchemas/example/SdaiEXAMPLE_SCHEMA.h, - src/other/step/src/clSchemas/example/schema.h, - src/other/step/src/cldai/sdaiEnum.h, - src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/cleditor/STEPfile.h, - src/other/step/src/cleditor/STEPfile.inline.cc, - src/other/step/src/cleditor/cmdmgr.h, - src/other/step/src/cleditor/dispnode.h, - src/other/step/src/cleditor/dispnodelist.h, - src/other/step/src/cleditor/instmgr.h, - src/other/step/src/cleditor/mgrnode.h, - src/other/step/src/cleditor/mgrnodearray.h, - src/other/step/src/cleditor/mgrnodelist.h, - src/other/step/src/cleditor/needFunc.h, - src/other/step/src/cleditor/seeinfodefault.h, - src/other/step/src/clprobe-ui/headerdisp.cc, - src/other/step/src/clprobe-ui/instcmdbufdisp.cc, - src/other/step/src/clprobe-ui/probe.cc, - src/other/step/src/clprobe-ui/probemain.cc, - src/other/step/src/clprobe-ui/sclfilechooser.cc, - src/other/step/src/clprobe-ui/seestreditors.cc, - src/other/step/src/clprobe-ui/seinstdisp.cc, - src/other/step/src/clprobe-ui/setypedisp.cc, - src/other/step/src/clprobe-ui/stepentdescriptor.cc, - src/other/step/src/clprobe-ui/stepenteditor.cc, - src/other/step/src/clstepcore/ExpDict.h, - src/other/step/src/clstepcore/ExpDict.inline.cc, - src/other/step/src/clstepcore/STEPaggregate.h, - src/other/step/src/clstepcore/STEPattribute.h, - src/other/step/src/clstepcore/STEPattributeList.h, - src/other/step/src/clstepcore/STEPundefined.h, - src/other/step/src/clstepcore/SingleLinkList.h, - src/other/step/src/clstepcore/baseType.h, - src/other/step/src/clstepcore/read_func.cc, - src/other/step/src/clstepcore/sdai.h, - src/other/step/src/clstepcore/sdaiApplication_instance.h, - src/other/step/src/clutils/Str.h, - src/other/step/src/clutils/dirobj.cc, - src/other/step/src/clutils/dirobj.h, - src/other/step/src/clutils/errordesc.h, - src/other/step/src/clutils/gennode.cc, - src/other/step/src/clutils/gennode.h, - src/other/step/src/clutils/gennodearray.h, - src/other/step/src/clutils/gennodelist.h, - src/other/step/src/clutils/scl_hash.cc, - src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes_wrapper.cc, - src/other/step/src/test/needFunc.h, - src/other/step/src/test/p21read/p21read.cc, - src/other/step/src/test/tests.h: - remove references to OODB/O3DB as in mpictor git repo ca0824d and - d067534 - -2012-03-27 17:07 n_reed - - * [r49821] src/other/step/include/exppp/exppp.h, - src/other/step/include/express/alg.h, - src/other/step/include/express/basic.h, - src/other/step/include/express/caseitem.h, - src/other/step/include/express/dict.h, - src/other/step/include/express/entity.h, - src/other/step/include/express/error.h, - src/other/step/include/express/expbasic.h, - src/other/step/include/express/expr.h, - src/other/step/include/express/express.h, - src/other/step/include/express/hash.h, - src/other/step/include/express/lexact.h, - src/other/step/include/express/linklist.h, - src/other/step/include/express/memory.h, - src/other/step/include/express/object.h, - src/other/step/include/express/resolve.h, - src/other/step/include/express/schema.h, - src/other/step/include/express/scope.h, - src/other/step/include/express/stmt.h, - src/other/step/include/express/symbol.h, - src/other/step/include/express/type.h, - src/other/step/include/express/variable.h, - src/other/step/include/sclprefixes.h, - src/other/step/src/base/scl_memmgr.cc, - src/other/step/src/base/scl_memmgr.h, - src/other/step/src/clSchemas/example/SdaiAll.cc, - src/other/step/src/clSchemas/example/SdaiEXAMPLE_SCHEMA.cc, - src/other/step/src/clSchemas/example/SdaiEXAMPLE_SCHEMA.h, - src/other/step/src/clSchemas/example/SdaiEXAMPLE_SCHEMA.init.cc, - src/other/step/src/clSchemas/example/Sdaiclasses.h, - src/other/step/src/clSchemas/example/compstructs.cc, - src/other/step/src/clSchemas/example/schema.cc, - src/other/step/src/clSchemas/example/schema.h, - src/other/step/src/cldai/sdaiApplication_instance_set.cc, - src/other/step/src/cldai/sdaiApplication_instance_set.h, - src/other/step/src/cldai/sdaiBinary.cc, - src/other/step/src/cldai/sdaiBinary.h, - src/other/step/src/cldai/sdaiDaObject.cc, - src/other/step/src/cldai/sdaiDaObject.h, - src/other/step/src/cldai/sdaiEntity_extent.cc, - src/other/step/src/cldai/sdaiEntity_extent.h, - src/other/step/src/cldai/sdaiEntity_extent_set.cc, - src/other/step/src/cldai/sdaiEntity_extent_set.h, - src/other/step/src/cldai/sdaiEnum.cc, - src/other/step/src/cldai/sdaiEnum.h, - src/other/step/src/cldai/sdaiModel_contents.cc, - src/other/step/src/cldai/sdaiModel_contents.h, - src/other/step/src/cldai/sdaiModel_contents_list.cc, - src/other/step/src/cldai/sdaiModel_contents_list.h, - src/other/step/src/cldai/sdaiObject.cc, - src/other/step/src/cldai/sdaiObject.h, - src/other/step/src/cldai/sdaiSession_instance.cc, - src/other/step/src/cldai/sdaiSession_instance.h, - src/other/step/src/cldai/sdaiString.cc, - src/other/step/src/cldai/sdaiString.h, - src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/cleditor/STEPfile.h, - src/other/step/src/cleditor/STEPfile.inline.cc, - src/other/step/src/cleditor/SdaiHeaderSchemaClasses.h, - src/other/step/src/cleditor/cmdmgr.cc, - src/other/step/src/cleditor/cmdmgr.h, - src/other/step/src/cleditor/dispnode.cc, - src/other/step/src/cleditor/dispnode.h, - src/other/step/src/cleditor/dispnodelist.cc, - src/other/step/src/cleditor/dispnodelist.h, - src/other/step/src/cleditor/editordefines.h, - src/other/step/src/cleditor/instmgr.cc, - src/other/step/src/cleditor/instmgr.h, - src/other/step/src/cleditor/mgrnode.cc, - src/other/step/src/cleditor/mgrnode.h, - src/other/step/src/cleditor/mgrnodearray.cc, - src/other/step/src/cleditor/mgrnodearray.h, - src/other/step/src/cleditor/mgrnodelist.cc, - src/other/step/src/cleditor/mgrnodelist.h, - src/other/step/src/cleditor/needFunc.cc, - src/other/step/src/cleditor/needFunc.h, - src/other/step/src/cleditor/seeinfodefault.h, - src/other/step/src/clprobe-ui/dpmenuitem.cc, - src/other/step/src/clprobe-ui/dpmenuitem.h, - src/other/step/src/clprobe-ui/headerdisp.cc, - src/other/step/src/clprobe-ui/headerdisp.h, - src/other/step/src/clprobe-ui/instcmdbufdisp.cc, - src/other/step/src/clprobe-ui/instcmdbufdisp.h, - src/other/step/src/clprobe-ui/probe.cc, - src/other/step/src/clprobe-ui/probe.h, - src/other/step/src/clprobe-ui/probemain.cc, - src/other/step/src/clprobe-ui/sclfilechooser.cc, - src/other/step/src/clprobe-ui/sclfilechooser.h, - src/other/step/src/clprobe-ui/seedefines.h, - src/other/step/src/clprobe-ui/seestreditors.cc, - src/other/step/src/clprobe-ui/seestreditors.h, - src/other/step/src/clprobe-ui/seinstdisp.cc, - src/other/step/src/clprobe-ui/seinstdisp.h, - src/other/step/src/clprobe-ui/setypedisp.cc, - src/other/step/src/clprobe-ui/setypedisp.h, - src/other/step/src/clprobe-ui/stepentdescriptor.cc, - src/other/step/src/clprobe-ui/stepentdescriptor.h, - src/other/step/src/clprobe-ui/stepenteditor.cc, - src/other/step/src/clprobe-ui/stepenteditor.h, - src/other/step/src/clstepcore/ExpDict.cc, - src/other/step/src/clstepcore/ExpDict.h, - src/other/step/src/clstepcore/ExpDict.inline.cc, - src/other/step/src/clstepcore/Registry.h, - src/other/step/src/clstepcore/Registry.inline.cc, - src/other/step/src/clstepcore/STEPaggregate.cc, - src/other/step/src/clstepcore/STEPaggregate.h, - src/other/step/src/clstepcore/STEPattribute.cc, - src/other/step/src/clstepcore/STEPattribute.h, - src/other/step/src/clstepcore/STEPattribute.inline.cc, - src/other/step/src/clstepcore/STEPattributeList.cc, - src/other/step/src/clstepcore/STEPattributeList.h, - src/other/step/src/clstepcore/STEPcomplex.cc, - src/other/step/src/clstepcore/STEPcomplex.h, - src/other/step/src/clstepcore/STEPundefined.cc, - src/other/step/src/clstepcore/STEPundefined.h, - src/other/step/src/clstepcore/SingleLinkList.cc, - src/other/step/src/clstepcore/SingleLinkList.h, - src/other/step/src/clstepcore/SingleLinkList.inline.cc, - src/other/step/src/clstepcore/baseType.h, - src/other/step/src/clstepcore/collect.cc, - src/other/step/src/clstepcore/complexSupport.h, - src/other/step/src/clstepcore/complexlist.cc, - src/other/step/src/clstepcore/dictdefs.h, - src/other/step/src/clstepcore/entlist.cc, - src/other/step/src/clstepcore/entnode.cc, - src/other/step/src/clstepcore/match-ors.cc, - src/other/step/src/clstepcore/multlist.cc, - src/other/step/src/clstepcore/non-ors.cc, - src/other/step/src/clstepcore/orlist.cc, - src/other/step/src/clstepcore/print.cc, - src/other/step/src/clstepcore/read_func.cc, - src/other/step/src/clstepcore/read_func.h, - src/other/step/src/clstepcore/sdai.cc, - src/other/step/src/clstepcore/sdai.h, - src/other/step/src/clstepcore/sdaiApplication_instance.cc, - src/other/step/src/clstepcore/sdaiApplication_instance.h, - src/other/step/src/clstepcore/sdaiSelect.cc, - src/other/step/src/clstepcore/sdaiSelect.h, - src/other/step/src/clstepcore/trynext.cc, - src/other/step/src/clutils/Str.cc, - src/other/step/src/clutils/Str.h, - src/other/step/src/clutils/dirobj.cc, - src/other/step/src/clutils/dirobj.h, - src/other/step/src/clutils/errordesc.cc, - src/other/step/src/clutils/errordesc.h, - src/other/step/src/clutils/gennode.cc, - src/other/step/src/clutils/gennode.h, - src/other/step/src/clutils/gennodearray.cc, - src/other/step/src/clutils/gennodearray.h, - src/other/step/src/clutils/gennodelist.cc, - src/other/step/src/clutils/gennodelist.h, - src/other/step/src/clutils/scl_char_str_list.cc, - src/other/step/src/clutils/scl_char_str_list.h, - src/other/step/src/clutils/scl_hash.cc, - src/other/step/src/clutils/scl_hash.h, - src/other/step/src/exppp/exppp-main.c, - src/other/step/src/exppp/exppp.c, - src/other/step/src/express/alg.c, - src/other/step/src/express/caseitem.c, - src/other/step/src/express/dict.c, - src/other/step/src/express/entity.c, - src/other/step/src/express/error.c, - src/other/step/src/express/expr.c, - src/other/step/src/express/express.c, - src/other/step/src/express/exptoks.h, - src/other/step/src/express/fedex.c, - src/other/step/src/express/hash.c, - src/other/step/src/express/inithook.c, - src/other/step/src/express/lexact.c, - src/other/step/src/express/linklist.c, - src/other/step/src/express/memory.c, - src/other/step/src/express/object.c, - src/other/step/src/express/resolve.c, - src/other/step/src/express/schema.c, - src/other/step/src/express/scope.c, - src/other/step/src/express/stack.h, - src/other/step/src/express/stmt.c, - src/other/step/src/express/symbol.c, - src/other/step/src/express/token_type.h, - src/other/step/src/express/type.c, - src/other/step/src/express/variable.c, - src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes.h, - src/other/step/src/fedex_plus/classes_misc.c, - src/other/step/src/fedex_plus/classes_wrapper.cc, - src/other/step/src/fedex_plus/collect.cc, - src/other/step/src/fedex_plus/complexSupport.h, - src/other/step/src/fedex_plus/complexlist.cc, - src/other/step/src/fedex_plus/entlist.cc, - src/other/step/src/fedex_plus/entnode.cc, - src/other/step/src/fedex_plus/expressbuild.cc, - src/other/step/src/fedex_plus/fedex_main.c, - src/other/step/src/fedex_plus/match-ors.cc, - src/other/step/src/fedex_plus/multlist.cc, - src/other/step/src/fedex_plus/multpass.c, - src/other/step/src/fedex_plus/non-ors.cc, - src/other/step/src/fedex_plus/orlist.cc, - src/other/step/src/fedex_plus/print.cc, - src/other/step/src/fedex_plus/selects.c, - src/other/step/src/fedex_plus/trynext.cc, - src/other/step/src/fedex_plus/write.cc, - src/other/step/src/fedex_python/src/classes_python.c, - src/other/step/src/fedex_python/src/classes_wrapper_python.cc, - src/other/step/src/fedex_python/src/multpass_python.c, - src/other/step/src/fedex_python/src/selects_python.c, - src/other/step/src/test/SEarritr.h, - src/other/step/src/test/generate_express/generate_express.cc, - src/other/step/src/test/needFunc.cc, - src/other/step/src/test/needFunc.h, - src/other/step/src/test/p21read/p21read.cc, - src/other/step/src/test/scl2html/scl2html.cc, - src/other/step/src/test/tests.h, - src/other/step/src/test/tio/tio.cc, - src/other/step/src/test/treg/treg.cc, - src/other/step/src/test/tstatic/tstatic.cc: - run astyle on SCL sources with misc/astyle.cfg options + * [r55178] misc/CMake/FindX11.cmake, + src/other/incrTcl/itk/CMake/FindX11.cmake, + src/other/tk/CMake/FindX11.cmake, + src/other/tkhtml/CMake/FindX11.cmake, + src/other/tkpng/CMake/FindX11.cmake, + src/other/tktable/CMake/FindX11.cmake: + Try to tighten up the reporting when we have mixed paths - + 'MATCHES' appears to be too loose. For some reason on Linux Mint + libXpm is in /usr/lib rather than /usr/lib/x86_64-linux-gnu - + that's fine, but the path difference triggers the reporting + notice since it looks similar to cases on Mac OSX that are + trouble - try not to say more than we need to. While we're at it, + sync the src/other copies. -2012-03-27 15:24 d_rossberg +2013-04-17 21:01 starseeker - * [r49820] src/other/openNURBS/CMakeLists.txt: - fixed the test if zlib was really build locally: variable has - changed to BRLCAD_ZLIB_BUILD + * [r55177] TODO, src/other/CMakeLists.txt, src/other/Makefile.am, + src/other/README: + Add beginnings of a README for src/other -2012-03-27 03:23 starseeker +2013-04-17 19:25 carlmoore - * [r49819] CMakeLists.txt: - Add the appropriate lines for the Ninja generator + * [r55176] src/proc-db/csgbrep.cpp: + add DEFAULT_FILENAME to warn user that the file is indeed to be + output, and also add 'arguments ignored' if any arguments are + detected -2012-03-26 20:35 jordisayol +2013-04-17 19:14 brlcad - * [r49817] misc/debian/rules: - disable strip on deb package building + * [r55175] TODO: + someone should write up what all those do -2012-03-26 20:07 starseeker +2013-04-17 19:10 starseeker - * [r49816] src/other/CMakeLists.txt: - Ah hah! SCL interfering by CACHE FORCE of the build type - dodge - the issue by telling SCL to use whatever build type we've set, - but still - need to fix the SCL approach + * [r55174] src/other/CMakeLists.txt: + libvds and poly2tri are needed by the core library set. -2012-03-26 19:52 r_weiss +2013-04-17 19:01 starseeker - * [r49815] src/tclscripts/mged/grouper.tcl: - Updated TCL script 'grouper.tcl' for MGED commands 'gr', - 'grouper', 'dg' and 'done_grouper'. Added ability to select - primitives either partially or completely within the selection - box. Added documentation and did code cleanup. + * [r55173] src/other/poly2tri/CMakeLists.txt: + That macro came from the stepcode cmake logic, which isn't + guaranteed to be available. -2012-03-26 19:43 starseeker +2013-04-17 18:53 brlcad - * [r49814] misc/CMake/CompilerFlags.cmake: - Use both g and ggdb3, if available + * [r55172] include/bu.h: + similarly, try maxdouble before float. this will probably warrant + some TLC to get single precision clean again. -2012-03-26 09:26 jordisayol +2013-04-17 18:51 brlcad - * [r49812] misc/debian/rules, sh/make_rpm.sh: - update cmake optimization argument for deb/rpm building + * [r55171] include/bu.h: + unlikely to have HUGE_VALF and not HUGE_VAL so go with the bigger + infinity first -2012-03-24 16:33 jordisayol +2013-04-17 17:25 bob1961 - * [r49811] misc/debian/rules, sh/make_rpm.sh: - update cmake arguments for deb/rpm building + * [r55170] src/librt/primitives/arb8/arb8.c: + This fixes a bug in rt_arb_centroid() (.e.g, "*cent[0] = x_avg;" + becomes "(*cent)[0] = x_avg;", notice that [] binds tighter than + *). -2012-03-23 22:48 brlcad +2013-04-17 17:20 erikgreenwald - * [r49810] include/bselect.h: - the __extension__ keyword does not exist in gcc 4.1 and given the - FD_SET() warning (so far) only affects gcc 4.6, make the - work-around very unfeature specific. this is only kosher given - this is a b*.h system header wrapper, which aren't supposed to - use cmake/configure feature test results. this fixes an obscure - build failure that was being observed on older systems that - failed in backtrace.c with an error: expected expression before - 'asm' + * [r55169] src/libged/simulate/simrt.c: + add missing * from xrayp pointer declaration? -2012-03-23 21:17 bob1961 +2013-04-17 17:19 erikgreenwald - * [r49809] src/tclscripts/archer/ArcherCore.tcl: - Tweak ArcherCore::compSelectGroupAdd, compSelectGroupRemove and - compSelectGroupCommon a bit. + * [r55168] src/libged/simulate/simphysics.cpp, + src/libged/simulate/simulate.c: + add missing semicolons -2012-03-23 21:00 r_weiss +2013-04-16 21:54 starseeker - * [r49808] src/mged/setup.c: - Updated file 'setup.c' for mged. Added the ability to use the - libged function 'ged_select' from mged. + * [r55167] src/other/poly2tri/poly2tri/common/shapes.h: + MSVC didn't define __FLT_EPSILON__ - use FLT_EPSILON instead -2012-03-23 20:58 r_weiss +2013-04-16 19:17 carlmoore - * [r49807] src/tclscripts/mged/grouper.tcl: - Updated to TCL script 'grouper.tcl' commands 'gr' and 'dg'. To - improve performance, changed logic to use libged function - 'ged_select'. Also script now highlights in yellow objects in the - current group. + * [r55166] src/conv/conv-vg2g.c: + make reference to prompts that may be needed -2012-03-23 18:34 bob1961 +2013-04-16 16:17 carlmoore - * [r49806] src/tclscripts/archer/Archer.tcl, - src/tclscripts/archer/ArcherCore.tcl: - Use COMP_SELECT_MODE_NAMES throughout the GUI. + * [r55165] src/conv/comgeom/cvt.c: + add version number when printing out requirements per verbose + mode -2012-03-23 17:40 bob1961 +2013-04-16 16:09 carlmoore - * [r49805] src/libged/erase.c: - Modified libged/erase.c/eraseAllSubpathsFromSolidList() to remove - display lists only when the corresponding solid is removed from - the display. + * [r55164] src/librt/db_io.c: + fix warning about expecting long unsigned int -2012-03-23 17:04 bob1961 +2013-04-15 21:20 carlmoore - * [r49804] src/tclscripts/archer/Archer.tcl, - src/tclscripts/archer/ArcherCore.tcl: - Added more selection modes (i.e. "List (Partial)", "Group Add - (Partial)" and "Group Remove (Partial)". + * [r55163] src/conv/comgeom/cvt.c: + add comment about versions 1, 4 -2012-03-23 17:01 bob1961 +2013-04-15 15:57 bob1961 - * [r49803] src/tclscripts/lib/Ged.tcl: - Mods to support selecting components even if only partially - contained within the specified area. + * [r55162] src/tclscripts/archer/Archer.tcl: + This fixes a bug (i.e. the various object panels no longer appear + when an object is selected) that shows up when a database is + opened when in "Rt Image View" mode. -2012-03-23 14:20 bob1961 +2013-04-15 11:40 bob1961 - * [r49802] src/libged/select.c: - Modified the select and rselect commands to optionally select - components that are partially contained in the specified area. + * [r55161] src/tclscripts/archer/ShaderEdit.tcl: + Added support for the stack shader to Archer's comb edit panel. -2012-03-22 21:53 bob1961 +2013-04-14 00:37 starseeker - * [r49801] src/tclscripts/archer/ArcherCore.tcl: - Modified ArcherCore::initCompSelect to call doSelectGroup if not - in COMP_SELECT_LIST_MODE + * [r55160] src/other/tk/CMakeLists.txt: + add m library to tk library linkage -2012-03-22 21:38 bob1961 +2013-04-14 00:35 starseeker - * [r49800] src/tclscripts/archer/Archer.tcl, - src/tclscripts/archer/ArcherCore.tcl: - Extended the component selection mechanism to have more than one - mode. A mode was added to add components to a group. Another mode - was added to remove components from a group. Currently, the - components being referred to here are expected to be primitives, - so this behaves like MGED'S grouper. - -2012-03-22 20:45 n_reed - - * [r49799] src/other/step/src/fedex_plus/CMakeLists.txt, - src/other/step/src/fedex_plus/fedex_idl.c: - remove fedex_idl program; removed from mpictor git repo in - dbbf4b9 - -2012-03-22 18:59 starseeker - - * [r49798] CMakeLists.txt: - It's rare to want any configuration besided BUNDLED with MSVC, - and the time overhead of a second configure step on Windows can - be quite high - go with BUNDLED for the default on MSVC - -2012-03-22 18:52 n_reed - - * [r49797] src/other/step/src/express/CMakeLists.txt, - src/other/step/src/express/symlink.c: - remove symlink program; removed from mpictor git repo in 23cf6a5 - -2012-03-22 18:08 n_reed - - * [r49796] src/other/step.dist: - whoops, ignoring non-existent file - -2012-03-22 18:04 starseeker - - * [r49795] src/other/CMakeLists.txt, src/other/step/CMakeLists.txt, - src/other/step/cmake/scl_version_string.cmake: - don't use a generic IS_SUBBUILD variable - bad idea. - -2012-03-22 18:02 n_reed - - * [r49794] src/other/step/src/cleditor/CMakeLists.txt, - src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/cleditor/STEPfile.inline.cc, - src/other/step/src/cleditor/SdaiHeaderSchema.cc, - src/other/step/src/cleditor/SdaiHeaderSchema.h, - src/other/step/src/cleditor/SdaiHeaderSchemaAll.cc, - src/other/step/src/cleditor/SdaiHeaderSchemaClasses.h, - src/other/step/src/cleditor/SdaiHeaderSchemaInit.cc, - src/other/step/src/cleditor/SdaiSchemaInit.cc, - src/other/step/src/cleditor/SdaiSchemaInit.h, - src/other/step/src/cleditor/s_HEADER_SCHEMA.cc, - src/other/step/src/cleditor/s_HEADER_SCHEMA.h, - src/other/step/src/cleditor/s_HEADER_SCHEMA.init.cc: - Replaced generated cleditor sources with tweaked copies of the - 388901d versions from the mpictor git repo. These were apparently - generated by running fedex_plus on the Ed 2 header schema - (http://www.steptools.com/sc4/archive/imp-methods/10303-21-header.exp). - -2012-03-22 17:58 starseeker - - * [r49793] src/other/step.dist, src/other/step/data/203wseds, - src/other/step/data/203wseds.exp, - src/other/step/data/203wseds/203wseds.exp, - src/other/step/data/203wseds/README, - src/other/step/data/203wseds/cube1.p21, - src/other/step/data/203wseds/cube2.p21, - src/other/step/data/203wseds/g_r_assembly1.p21, - src/other/step/data/203wseds/gasket1.p21, - src/other/step/data/203wseds/gasket2.p21, - src/other/step/data/203wseds/gasket3.p21, - src/other/step/data/203wseds/hex_prism1.p21, - src/other/step/data/203wseds/rod_aspect1.p21, - src/other/step/data/203wseds/star1.p21, - src/other/step/data/CMakeLists.txt, src/other/step/data/ISO15926, - src/other/step/data/ISO15926/15926-0002-lifecycle_integration.exp, - src/other/step/data/README, src/other/step/data/ap201.exp, - src/other/step/data/ap202.exp, src/other/step/data/ap203, - src/other/step/data/ap203e2, - src/other/step/data/ap203e2/ap203e2_mim_lf.exp, - src/other/step/data/ap210e2, - src/other/step/data/ap210e2/Cable_db.stp, - src/other/step/data/ap210e2/FlasherThruHole.stp, - src/other/step/data/ap210e2/PDES-181.stp, - src/other/step/data/ap210e2/SurfaceMountFlasher.stp, - src/other/step/data/ap210e2/ap210e2_v1_40_mim_lf.exp, - src/other/step/data/ap214e3, - src/other/step/data/ap214e3/AP214E3_2010.exp, - src/other/step/data/ap214e3/as1-oc-214.stp, - src/other/step/data/ap214e3/dm1-id-214.stp, - src/other/step/data/ap214e3/io1-cm-214.stp, - src/other/step/data/ap214e3/s1-c5-214, - src/other/step/data/ap214e3/s1-c5-214/FOOT.stp, - src/other/step/data/ap214e3/s1-c5-214/FOOT.stp.log, - src/other/step/data/ap214e3/s1-c5-214/FOOT_BACK_000.stp, - src/other/step/data/ap214e3/s1-c5-214/FOOT_BACK_000.stp.log, - src/other/step/data/ap214e3/s1-c5-214/FOOT_FRONT_000.stp, - src/other/step/data/ap214e3/s1-c5-214/FOOT_FRONT_000.stp.log, - src/other/step/data/ap214e3/s1-c5-214/HEAD.stp, - src/other/step/data/ap214e3/s1-c5-214/HEAD.stp.log, - src/other/step/data/ap214e3/s1-c5-214/HEAD_BACK.stp, - src/other/step/data/ap214e3/s1-c5-214/HEAD_BACK.stp.log, - src/other/step/data/ap214e3/s1-c5-214/HEAD_FRONT.stp, - src/other/step/data/ap214e3/s1-c5-214/HEAD_FRONT.stp.log, - src/other/step/data/ap214e3/s1-c5-214/MAINBODY.stp, - src/other/step/data/ap214e3/s1-c5-214/MAINBODY.stp.log, - src/other/step/data/ap214e3/s1-c5-214/MAINBODY_BACK.stp, - src/other/step/data/ap214e3/s1-c5-214/MAINBODY_BACK.stp.log, - src/other/step/data/ap214e3/s1-c5-214/MAINBODY_FRONT.stp, - src/other/step/data/ap214e3/s1-c5-214/MAINBODY_FRONT.stp.log, - src/other/step/data/ap214e3/s1-c5-214/TAIL.stp, - src/other/step/data/ap214e3/s1-c5-214/TAIL.stp.log, - src/other/step/data/ap214e3/s1-c5-214/TAIL_MIDDLE_PART.stp, - src/other/step/data/ap214e3/s1-c5-214/TAIL_MIDDLE_PART.stp.log, - src/other/step/data/ap214e3/s1-c5-214/TAIL_TURBINE.stp, - src/other/step/data/ap214e3/s1-c5-214/TAIL_TURBINE.stp.log, - src/other/step/data/ap214e3/s1-c5-214/s1-c5-214.stp, - src/other/step/data/ap214e3/s1-c5-214/s1-c5-214.stp.log, - src/other/step/data/ap214e3/sg1-c5-214.stp, - src/other/step/data/ap219, - src/other/step/data/ap219/10303-219-AIM-long.exp, - src/other/step/data/ap225.exp, src/other/step/data/ap227.exp, - src/other/step/data/ap227/ap227.exp, src/other/step/data/ap235, - src/other/step/data/ap235/AP235_TC_engineering_properties_schema_20110222.exp, - src/other/step/data/ap239, - src/other/step/data/ap239/ap239_arm_lf.exp, - src/other/step/data/ap240, - src/other/step/data/ap240/AP240_aim_lf.exp, - src/other/step/data/cd209, - src/other/step/data/cd209/part409cdts_wg3n2617mim_lf.exp, - src/other/step/data/cd242, - src/other/step/data/cd242/242_n2813_mim_lf.exp, - src/other/step/data/example, src/other/step/data/ifc2x3, - src/other/step/data/ifc2x3/Bien-Zenker_Jasmin-Sun-AC14-V2.ifc, - src/other/step/data/ifc2x3/IFC2X3_TC1.exp, - src/other/step/data/ifc2x3/PlayersTheater.stp, - src/other/step/data/ifc2x4, - src/other/step/data/ifc2x4/IFC2X4_RC3.exp, - src/other/step/data/pdmnet.exp, src/other/step/data/select.exp, - src/other/step/data/wg3n1063_ap232.exp, - src/other/step/data/wg3n1342_ap218.exp, - src/other/step/data/wg3n1469_ap240.exp, - src/other/step/data/wg3n1568_ap239.exp, - src/other/step/data/wg3n1598_ap221.exp, - src/other/step/data/wg3n1941_ap224e3.exp, - src/other/step/data/wg3n2097_ap238.exp, - src/other/step/data/wg3n2188_ap236.exp, - src/other/step/data/wg3n2253_ap219_lf.exp, - src/other/step/data/wg3n2366_ap216tc1_aim_lf.exp, - src/other/step/data/wg3n2392_ap215tc1_aim_lf.exp, - src/other/step/data/wg3n2405_ap227e2tc1_aim_lf.exp, - src/other/step/data/wg3n2408_ap223_aim_lf.exp, - src/other/step/data/wg3n2545_ap235_aim_lf.exp, - src/other/step/data/wg3n2601_ap210e2_aim_lf.exp, - src/other/step/data/wg3n2628_ap214e3.exp, - src/other/step/data/wg3n2635_ap203e2_aim_lf.exp, - src/other/step/data/wg3n916_ap203.exp, - src/other/step/data/wg3n972_ap209.exp, - src/other/step/data/wip210e3, - src/other/step/data/wip210e3/210e3_wip_v1_41_mim_lf.exp: - Make a stab at syncing with the github data dir - we need to keep - ap203edit.exp, since that's the one that works with our step-g - converter. - -2012-03-22 17:35 starseeker - - * [r49792] CMakeLists.txt, misc/CMake/CMakeFiles.cmake, - misc/CMake/Distcheck.cmake: - Need to be more specific about the SUBBUILD flag. - -2012-03-22 17:05 starseeker - - * [r49791] src/other/step/CMakeLists.txt, - src/other/step/cmake/scl_version_string.cmake: - Don't need the messages when SCL is a subbuild. - -2012-03-22 16:57 starseeker - - * [r49790] src/other/step/CMakeLists.txt, - src/other/step/ctest_matrix.cmake, - src/other/step/run_ctest.cmake: - Grab some minor changes from github - -2012-03-22 16:05 starseeker - - * [r49788] - src/other/step/doc/A_structural_express_editor_-_kramer92.pdf, - src/other/step/doc/Architecture_for_the_VTS_Software_-_morris92.pdf, - src/other/step/doc/CMakeLists.txt, - src/other/step/doc/Data_Probe_Users_Guide_-_sauder93.pdf, - src/other/step/doc/Design_of_SCL_-_sauder95.pdf, - src/other/step/doc/Doxyfile, - src/other/step/doc/EXPTK_-_Design_And_Implementation_Libes93B.pdf, - src/other/step/doc/EXPTK_-_Introduction_And_Overview_Libes93G.pdf, - src/other/step/doc/EXPTK_-_Lessons_Learned_Libes92B.pdf, - src/other/step/doc/EXPTK_-_Requirements_For_Improvement_Libes93F.pdf, - src/other/step/doc/EXPTK_-_Updating_Existing_Applications_Libes.pdf, - src/other/step/doc/EXPTK_-_Using_Applications_Libes93E.pdf, - src/other/step/doc/EXPTK_-_Working_Form_Clark92C.pdf, - src/other/step/doc/Fed-X_The_NIST_EXPRESS_Translator_clark90g.pdf, - src/other/step/doc/Specifications_for_an_Application_Protocol_Development_Environment_clark93b.pdf, - src/other/step/doc/VTS_-_Reusable_Software_Component_Design_-_morris91.pdf, - src/other/step/doc/VTS_Requirements_-_morris91b.pdf, - src/other/step/doc/Validating_STEP_Application_Models_-_morris93.pdf, - src/other/step/doc/data_probe_-_a_tool_for_express-based_data_-_morris93b.pdf, - src/other/step/doc/doxyassist.xml, - src/other/step/doc/doxygen_custom_header.html, - src/other/step/doc/iso-10303-11--1994.bnf, - src/other/step/doc/iso-10303-11--2004.bnf, - src/other/step/doc/iso-10303-21--1994.bnf, - src/other/step/doc/iso-10303-21--2002.bnf, - src/other/step/doc/sclnotes.pdf: - Sync step doc dir to github, except convert postscript files to - pdf and fix page ordering of Fed-X document + * [r55159] src/other/togl/src/CMakeLists.txt: + Copy/paste strikes again. -2012-03-22 13:14 indianlarry +2013-04-13 03:35 brlcad - * [r49784] src/nirt/command.c, src/nirt/if.c, src/nirt/parse_fmt.c: - Replaced self assignment statements used to quell warning - messages for unused parameters by wrapping parameter with UNUSED - macro. Done to quell self assignment blather from IDE. + * [r55158] src/librt/primitives/brep/brep.cpp: + remove dead code, the original utah-baed ray tracing method is + now no longer used. -2012-03-22 12:45 jordisayol +2013-04-13 03:13 brlcad - * [r49783] misc/debian/brlcad-doc-animation.desktop, - misc/debian/brlcad-doc-mged.desktop, - misc/debian/brlcad-doc.desktop: - update debian html menu links - -2012-03-22 11:44 indianlarry - - * [r49782] src/librt/primitives/brep/brep.cpp: - The brep intersect routine was only looking forward of the ray - origin so modified to include both positive and negative hit - distances along the shotline(The calling rt application decides - what to do with hits behind the ray origin). Also now storing - 'dist' in the 'brep_hit' class to keep from recalculating - distance for hit ordering(change original brep_hit constructor to - now take an 'rt_ray', also added new constructor that also takes - 'dist'). This fixes error found during VL comparison to BOTS when - generating spall. - -2012-03-22 11:30 erikgreenwald - - * [r49781] src/rt/viewxray.c: - update to use mangled icv_guess_file_format name - -2012-03-22 11:25 erikgreenwald - - * [r49780] include/icv.h, src/libicv/fileformat.c: - if guess_file_format is going to be public, prefix it with the - library name - -2012-03-22 11:20 indianlarry - - * [r49779] src/rt/viewxray.c: - 'rtxray' now uses libicv except when using the alternate - "lighting model"(-l 1). If a known image type is return from - ICV's guess_file_format() function when using the alternate - "lighting model" a ".los" extension is added to the output - filename and libicv is not used. - -2012-03-22 11:04 indianlarry - - * [r49778] include/icv.h, src/libicv/fileformat.c: - Added ICV_IMAGE_UNKNOWN to ICV enum image types and now return - this from guess_file_format() when image type not recognized. - Made guess_file_format() public. function icv_image_save_open() - still defaults to PIX format for unknown image types using - ICV_IMAGE_AUTO. - -2012-03-22 00:46 starseeker - - * [r49777] src/other/step/cmake/cmake_uninstall.cmake.in, - src/other/step/misc/astyle.cfg, - src/other/step/misc/kate-syntax-highlighting-express.xml, - src/other/step/misc/notepad++-syntax-highlighting-express.xml, - src/other/step/misc/wiki-scripts, - src/other/step/misc/wiki-scripts/build_all.sh, - src/other/step/misc/wiki-scripts/update-matrix.py, - src/other/step/src/clSchemas/example/make_schema, - src/other/step/test, src/other/step/test/CMakeLists.txt, - src/other/step/test/buggy, - src/other/step/test/buggy/bad_line_nums.exp, - src/other/step/test/buggy/expr-src-aggregate.exp, - src/other/step/test/buggy/spaces_in_fct.exp, - src/other/step/test/misc, src/other/step/test/misc/example.exp, - src/other/step/test/misc/pdmnet.exp, - src/other/step/test/misc/select.exp, src/other/step/test/p21, - src/other/step/test/p21/CMakeLists.txt, - src/other/step/test/p21/comments.p21, - src/other/step/test/p21/missing_and_required.p21, - src/other/step/test/unitary_schemas, - src/other/step/test/unitary_schemas/aggregate_array.exp, - src/other/step/test/unitary_schemas/aggregate_index_attr.exp, - src/other/step/test/unitary_schemas/array_bounds_expr.exp, - src/other/step/test/unitary_schemas/array_of_simple_types.exp, - src/other/step/test/unitary_schemas/derived_attribute.exp, - src/other/step/test/unitary_schemas/enum_entity_name.exp, - src/other/step/test/unitary_schemas/enums_same_name.exp, - src/other/step/test/unitary_schemas/gcc_incomplete_type.exp, - src/other/step/test/unitary_schemas/multiple_inheritance.exp, - src/other/step/test/unitary_schemas/multiple_rep.exp, - src/other/step/test/unitary_schemas/named_type.exp, - src/other/step/test/unitary_schemas/select_data_type.exp, - src/other/step/test/unitary_schemas/single_inheritance.exp, - src/other/step/test/unitary_schemas/single_inheritance_multi_level.exp: - More syncing with github tree - -2012-03-22 00:24 starseeker - - * [r49776] src/other/CMakeLists.txt, src/other/step.dist, - src/other/step/CMakeLists.txt, - src/other/step/cmake/CheckCSourceRuns.cmake, - src/other/step/cmake/FindLEX.cmake, - src/other/step/cmake/SCL_Utils.cmake, - src/other/step/cmake/scl_version_string.cmake, - src/other/step/src/base, src/other/step/src/base/CMakeLists.txt, - src/other/step/src/base/scl_memmgr.cc, - src/other/step/src/base/scl_memmgr.h, - src/other/step/src/fedex_python, - src/other/step/src/fedex_python/CMakeLists.txt, - src/other/step/src/fedex_python/REAMDE.md, - src/other/step/src/fedex_python/examples, - src/other/step/src/fedex_python/examples/unitary_schemas, - src/other/step/src/fedex_python/examples/unitary_schemas/gcc_incomplete_type.py, - src/other/step/src/fedex_python/examples/unitary_schemas/generate_schemas_modules.py, - src/other/step/src/fedex_python/examples/unitary_schemas/index_attribute.py, - src/other/step/src/fedex_python/examples/unitary_schemas/multiple_rep.py, - src/other/step/src/fedex_python/examples/unitary_schemas/test_array.py, - src/other/step/src/fedex_python/examples/unitary_schemas/test_array_of_simple_types.py, - src/other/step/src/fedex_python/examples/unitary_schemas/test_derived_attribute.py, - src/other/step/src/fedex_python/examples/unitary_schemas/test_enum_entity_name.py, - src/other/step/src/fedex_python/examples/unitary_schemas/test_enums_same_name.py, - src/other/step/src/fedex_python/examples/unitary_schemas/test_multiple_inheritance.py, - src/other/step/src/fedex_python/examples/unitary_schemas/test_named_type.py, - src/other/step/src/fedex_python/examples/unitary_schemas/test_select_data_type.py, - src/other/step/src/fedex_python/examples/unitary_schemas/test_single_inheritance.py, - src/other/step/src/fedex_python/examples/unitary_schemas/test_single_inheritance_multi_level.py, - src/other/step/src/fedex_python/python, - src/other/step/src/fedex_python/python/SCL, - src/other/step/src/fedex_python/python/SCL/AggregationDataTypes.py, - src/other/step/src/fedex_python/python/SCL/ConstructedDataTypes.py, - src/other/step/src/fedex_python/python/SCL/Expr.py, - src/other/step/src/fedex_python/python/SCL/Model.py, - src/other/step/src/fedex_python/python/SCL/Part21.py, - src/other/step/src/fedex_python/python/SCL/SCLBase.py, - src/other/step/src/fedex_python/python/SCL/SimpleDataTypes.py, - src/other/step/src/fedex_python/python/SCL/TypeChecker.py, - src/other/step/src/fedex_python/python/SCL/Utils.py, - src/other/step/src/fedex_python/python/SCL/__init__.py, - src/other/step/src/fedex_python/python/SCL/essa_par.py, - src/other/step/src/fedex_python/python/SCL_unittest.py, - src/other/step/src/fedex_python/python/setup.py, - src/other/step/src/fedex_python/src, - src/other/step/src/fedex_python/src/classes_misc_python.c, - src/other/step/src/fedex_python/src/classes_python.c, - src/other/step/src/fedex_python/src/classes_wrapper_python.cc, - src/other/step/src/fedex_python/src/fedex_main_python.c, - src/other/step/src/fedex_python/src/multpass_python.c, - src/other/step/src/fedex_python/src/selects_python.c: - Edge our CMakeLists.txt file and tree a little closer to the - github tree. base and fedex_python are turned off and ignored for - the moment. + * [r55157] NEWS: + GCI participant chris dueck implemented and exposed support for + reporting EPA surface areas and volume to the mged/archer analyze + command -2012-03-21 23:38 starseeker +2013-04-13 03:10 brlcad - * [r49775] CMakeLists.txt: + * [r55156] src/libged/Makefile.am, src/libged/dag.cpp, + src/libged/draw.c, src/libged/editit.c, + src/libged/simulate/simphysics.cpp: ws -2012-03-21 23:25 n_reed - - * [r49774] src/other/step.dist, src/other/step/src/clivfasd: - remove SCL clivfasd; deemed obsolete and removed from mpictor git - repo in a0353bc - -2012-03-21 23:21 starseeker - - * [r49773] src/other/step.dist, src/other/step/CTestConfig.cmake, - src/other/step/SCL_VERSION.txt, - src/other/step/ctest_matrix.cmake, - src/other/step/run_ctest.cmake: - Add other toplevel files, update step.dist - -2012-03-21 23:13 starseeker - - * [r49772] src/other/step/AUTHORS, src/other/step/COPYING, - src/other/step/ChangeLog, src/other/step/INSTALL, - src/other/step/NEWS, src/other/step/README, src/other/step/TODO: - Go ahead and sync the toplevel files from - https://github.com/mpictor/StepClassLibrary - not all of them - apply to our branch as yet, but the idea is to sync the two trees - so get these out of the diff. Eventually we'll have a patch to - submit back to the github project, so updates to these files for - things like re2c/lemon will be part of that. - -2012-03-21 23:03 starseeker - - * [r49771] src/other/step/CMake, src/other/step/CMakeLists.txt, - src/other/step/cmake: - go with the mpictor github capitalization - -2012-03-21 22:11 starseeker - - * [r49770] misc/CMake/multiconfig_path_read.cmake.in: - don't need the wildcard here... - -2012-03-21 21:58 bob1961 - - * [r49769] src/tclscripts/archer/Archer.tcl, - src/tclscripts/archer/ArcherCore.tcl: - Mods to center the various help dialogs over the main - application. - -2012-03-21 21:21 bob1961 - - * [r49768] src/other/tktable/generic/tkTable.h: - Change the default background and foreground settings on windows. - -2012-03-21 19:58 starseeker - - * [r49767] src/conv/step/CMakeLists.txt, src/other/CMakeLists.txt: - Make sure fedex output depends on fedex_plus build target - -2012-03-21 19:41 r_weiss - - * [r49766] src/libged/wdb_obj.c: - Updated file 'wdb_obj.c' adding 'get' into the command list. This - change fixes a bug which incorrectly showed that 'get' is not one - of the possible parameters to 'db'. - -2012-03-21 19:41 n_reed - - * [r49765] src/other/step.dist, src/other/step/config: - remove unused config/* +2013-04-13 03:07 brlcad -2012-03-21 17:42 starseeker + * [r55155] NEWS: + GCI participant chris dueck implemented and exposed support for + reporting EPA surface areas, centroid, and volume to the + mged/archer analyze command - * [r49764] CMakeLists.txt: - update description +2013-04-13 03:03 brlcad -2012-03-21 17:20 starseeker + * [r55154] NEWS: + GCI participant chris dueck implemented and exposed support for + reporting ARBN surface areas and volume to the mged/archer + analyze command - * [r49763] CMakeLists.txt, misc/CMake/BRLCAD_CheckFunctions.cmake, - misc/CMake/FindLEX.cmake, src/other/CMakeLists.txt, - src/other/incrTcl/itcl/CMake/CheckSystemFunctionality.cmake, - src/other/incrTcl/itk/CMake/CheckSystemFunctionality.cmake, - src/other/step/CMake/FindLEX.cmake, - src/other/step/CMakeLists.txt, - src/other/tcl/CMake/CheckSystemFunctionality.cmake, - src/other/tk/CMake/CheckSystemFunctionality.cmake: - Rework handling of config.h files, with an eye towards hitting - the disk less - seems to shave a couple seconds off the configure - process on Linux. +2013-04-13 03:02 brlcad -2012-03-21 15:59 starseeker + * [r55153] NEWS: + GCI participant chris dueck implemented and exposed support for + reporting ETO surface areas and volume to the mged/archer analyze + command - * [r49762] src/other/CMakeLists.txt: - Downcase some CMake macros... +2013-04-13 03:01 brlcad -2012-03-21 15:50 starseeker + * [r55152] NEWS: + GCI participant chris dueck implemented and exposed support for + reporting ETO surface areas to the mged/archer analyze command - * [r49761] CMakeLists.txt, INSTALL: - Fix description of debug option - no longer conditional, we're - using 'em all the time unless explicitly told not to. +2013-04-12 21:35 brlcad -2012-03-21 13:53 erikgreenwald + * [r55151] include/raytrace.h: + wipe out the magic number for good measure since this is no + longer a valid usable tree pointer after we give it back. - * [r49760] src/libicv/fileformat.c: - use _DEFAULT png flags instead of _BASE +2013-04-12 21:35 brlcad -2012-03-21 01:58 starseeker + * [r55150] src/librt/db_tree.c: + if this does anything, it merely masks some other memory + corruption issue. the magic gets reset during RT_GET_TREE() + when/if it's reused. - * [r49759] misc/CMake/multiconfig_path_read.cmake.in: - More than just the install prefix to handle here... +2013-04-12 21:30 erikgreenwald -2012-03-21 01:34 starseeker + * [r55149] include/bu.h: + __clang__ should be downcased - * [r49758] CMakeLists.txt, - misc/CMake/multiconfig_path_read.cmake.in: - Get the actual install process with multiconfig tools to use dev - and rel install locations +2013-04-12 19:44 brlcad -2012-03-20 22:49 n_reed + * [r55148] CMakeLists.txt: + BRLCAD_DATA_SUBPATH is redundant and no longer used - * [r49757] src/other/step.dist, src/other/step/Makefile.am, - src/other/step/configure.ac, src/other/step/data/Makefile.am, - src/other/step/data/ap203/Makefile.am, - src/other/step/data/ap227/Makefile.am, - src/other/step/data/example/Makefile.am, - src/other/step/doc/Makefile.am, - src/other/step/doc/man/Makefile.am, - src/other/step/doc/man/man1/Makefile.am, - src/other/step/include/Makefile.am, - src/other/step/include/exppp/Makefile.am, - src/other/step/include/express/Makefile.am, src/other/step/m4, - src/other/step/misc/Makefile.am, - src/other/step/misc/Makefile.defs, - src/other/step/misc/libtool.m4, src/other/step/src/Makefile.am, - src/other/step/src/cldai/Makefile.am, - src/other/step/src/cleditor/Makefile.am, - src/other/step/src/clivfasd/Makefile, - src/other/step/src/clprobe-ui/Makefile, - src/other/step/src/clstepcore/Makefile.am, - src/other/step/src/clutils/Makefile.am, - src/other/step/src/exppp/Makefile.am, - src/other/step/src/express/Makefile.am, - src/other/step/src/fedex_plus/Makefile.am, - src/other/step/src/test/Makefile, - src/other/step/src/test/p21read/Makefile, - src/other/step/src/test/scl2html/Makefile, - src/other/step/src/test/tio/Makefile, - src/other/step/src/test/treg/Makefile, - src/other/step/src/test/tstatic/Makefile: - remove step autotools files +2013-04-12 19:38 brlcad -2012-03-20 22:20 starseeker - - * [r49756] CMakeLists.txt, misc/CMake/BRLCAD_CompilerFlags.cmake, - misc/CMake/BRLCAD_Summary.cmake, misc/CMake/CompilerFlags.cmake, - misc/CMake/multiconfig_path_read.cmake.in: - We only want Debug and Release builds for BRL-CAD. Always want - Debug flags, even when doing optimized release builds, unless - explicitly turned off. Try and correct logic to reflect that - - untested on multiconfig. - -2012-03-20 19:35 starseeker - - * [r49755] CMakeLists.txt: - whoops - don't need 'Windows' in the exe name - -2012-03-20 18:04 n_reed - - * [r49754] src/other/step.dist, - src/other/step/src/cldai/CMakeLists.txt, - src/other/step/src/cldai/Makefile.am, - src/other/step/src/cldai/sdaiBinary.cc, - src/other/step/src/cldai/sdaiBinary.h, - src/other/step/src/cldai/sdaiEnum.cc, - src/other/step/src/cldai/sdaiEnum.h, - src/other/step/src/cldai/sdaiString.cc, - src/other/step/src/cldai/sdaiString.h, - src/other/step/src/clstepcore/CMakeLists.txt, - src/other/step/src/clstepcore/Makefile.am, - src/other/step/src/clstepcore/sdaiBinary.cc, - src/other/step/src/clstepcore/sdaiBinary.h, - src/other/step/src/clstepcore/sdaiEnum.cc, - src/other/step/src/clstepcore/sdaiEnum.h, - src/other/step/src/clstepcore/sdaiString.cc, - src/other/step/src/clstepcore/sdaiString.h: - move some sdai sources from clstepcore to cldai + * [r55147] src/libbu/brlcad_path.c: + don't need to use BRLCAD_DATA_SUBPATH since we already have + BRLCAD_DATA_DIR defined. remove the hard-coded + share/brlcad/version directory searching while we're at it since + those are no longer the default. -2012-03-20 17:23 erikgreenwald +2013-04-12 17:27 erikgreenwald - * [r49753] src/libicv/fileformat.c: - add parens so the averaging works correctly + * [r55146] include/bu.h: + add clang to the "special needs" set for bu_byteoffset(). Clang + seems to do constant folding after placing static initializers, + so the subtraction method results in a compile error. -2012-03-20 17:16 starseeker +2013-04-12 16:47 brlcad - * [r49752] CMakeLists.txt, src/libbu/brlcad_path.c: - Gah. We were getting away with checking a series of hard-coded - subpaths for the data subdirectory in bu_brlcad_data. Have CMake - tell us what the right value is via brlcad_config.h. Leave the - hard-coded paths as a fall-back. + * [r55145] src/librt/primitives/nmg/nmg_pt_fu.c: + resolve a dead code condition introduced by the if 0 <= check. if + the case is <, it looks like it represents a failure earlier in + the nmg processing. -2012-03-20 16:42 starseeker +2013-04-12 16:03 brlcad - * [r49751] CMakeLists.txt, doc/CMakeLists.txt, - doc/docbook/CMakeLists.txt, - doc/docbook/articles/en/CMakeLists.txt, - doc/docbook/articles/it/CMakeLists.txt, - doc/docbook/books/en/CMakeLists.txt, - doc/docbook/lessons/en/CMakeLists.txt, - doc/docbook/lessons/es/CMakeLists.txt, - doc/docbook/presentations/en/CMakeLists.txt, - doc/html/CMakeLists.txt, doc/legal/CMakeLists.txt, - misc/CMake/BRLCAD_Summary.cmake, misc/CMake/DocBook.cmake, - src/tclscripts/archer/Archer.tcl, src/tclscripts/man_browser.tcl: - Put documentation output in the doc subdirectory of the data - directory - -2012-03-20 15:13 starseeker - - * [r49750] CMakeLists.txt, misc/CMake/LoadMacros.cmake, - src/other/CMakeLists.txt, src/other/re2c/CMake/FindLEMON.cmake, - src/other/re2c/CMakeLists.txt, - src/other/step/CMake/FindLEMON.cmake, - src/other/step/CMakeLists.txt: - Nevermind the LoadMacros hack - just prevent the re2c/lemon macro - definitions from being overwritten if they're already defined - using Alexander Neundorf's tip from - http://www.cmake.org/pipermail/cmake/2008-February/019776.html. - BRL-CAD defines 'em first, so the src/other copies won't get - loaded (makes sure older versions of macro files that might - linger in src/other don't stomp misc/CMake versions) but - stand-alone builds will use the local copies. Properly set up - search ordering with CMAKE_MODULE_PATH should take care of this - for the find_package commands, but the utility macros are - separate and so must be handled differently. - -2012-03-20 14:29 starseeker - - * [r49749] CMakeLists.txt: - use BRLCAD_CMAKE_DIR once it's defined - -2012-03-20 01:42 starseeker - - * [r49748] CMakeLists.txt, - misc/CMake/test_srcs/builddelta_end.c.in: - Install instructions at the end of builddelta need to be aware of - what was used to build BRL-CAD - 'make install' won't do very - much when you are using xcodebuild, for example. - -2012-03-20 01:39 starseeker - - * [r49747] CMakeLists.txt, - misc/CMake/multiconfig_path_clean.cmake.in, - misc/CMake/multiconfig_path_read.cmake.in: - Problem with MGED not being able to work with the version - variable was due to brlcad_ident output containing the variable - path - apparently Tcl didn't like the dollar-sign and curly - brackets. Seeing as that's also not the right path if someone - does do an install, teach BRL-CAD how to get the actual path - corresponding to a particular configuration in the case where the - installation path is based on the build configuration. Could have - punted and required a fixed path for all configurations, but this - lets make install tests for different configs proceed without - stomping each other. - -2012-03-19 22:59 starseeker - - * [r49746] misc/CMake/TCL_PKGINDEX.cmake: - Fix TCL_PKGINDEX in multi-config cases. Gets archer working from - install - mged still can't read 'version' variable. - -2012-03-19 22:34 starseeker - - * [r49745] misc/CMakeLists.txt, - src/other/libtermlib/CMakeLists.txt: - Stray changes needed for Multi-configuration build tool - installation rules. Xcode now successfully installs a build of - BRL-CAD. Still doesn't run from that installed directory, looks - like something wrong with Tcl index file generation... + * [r55144] sh/conversion.sh: + backticks aren't needed here -2012-03-19 21:23 starseeker +2013-04-12 13:36 starseeker - * [r49744] CMakeLists.txt, doc/docbook/books/en/CMakeLists.txt, - misc/CMake/DocBook.cmake: - Hrm. CMAKE_CFG_INTDIR doesn't work for the install command, - apparently - http://www.cmake.org/Bug/view.php?id=5747 - start - experimenting... + * [r55143] src/other/libvds/CMakeLists.txt: + Have vds use the math library, if present -2012-03-19 17:34 starseeker +2013-04-12 13:30 starseeker - * [r49743] CMakeLists.txt: - Don't want to change the configure script generated just because - we're doing a multi-configuration build... + * [r55142] src/adrt/CMakeLists.txt: + Add lib version info for librender -2012-03-19 13:49 brlcad +2013-04-12 13:29 starseeker - * [r49741] BUGS, TODO: - report of a bug in the idents command output where the first - column region counter is printing wrong. + * [r55141] src/other/libvds/CMakeLists.txt, + src/other/poly2tri/CMakeLists.txt, + src/other/togl/src/CMakeLists.txt: + Add some more version properties to libraries -2012-03-19 00:55 starseeker +2013-04-12 13:24 starseeker - * [r49740] misc/CMake/BRLCAD_Summary.cmake: - extra line return + * [r55140] src/other/poly2tri/CMakeLists.txt: + ws, downcase -2012-03-19 00:40 starseeker +2013-04-12 12:44 erikgreenwald - * [r49739] CMakeLists.txt, misc/CMake/BRLCAD_Summary.cmake: - move the rest of the summary logic to BRLCAD_Summary.cmake, - organize, clean-up, header and footer, etc. + * [r55139] src/libbrep/Makefile.am: + include the common Makefile.defs at the end -2012-03-18 23:33 starseeker +2013-04-12 12:42 erikgreenwald - * [r49738] TODO: - it was tkhtml3 + * [r55138] src/libbu/affinity.c: + jiggle cpu on the fall-through to avoid an unused parameter + warning -2012-03-18 18:20 starseeker +2013-04-12 04:17 brlcad - * [r49737] misc/CMake/Distcheck.cmake, - misc/CMake/distcheck_repo_verify.cmake.in: - Few minor tweaks to distcheck + * [r55137] src/librt/primitives/brep/brep.cpp, + src/librt/primitives/brep/brep_debug.cpp: + ws indent cleanup -2012-03-18 16:47 starseeker +2013-04-12 04:09 brlcad - * [r49736] misc/CMake/distcheck_repo_verify.cmake.in: - Add a note suggesting enabling all bundled libs for distcheck, if - that has not already been done. + * [r55136] AUTHORS: + credit Csaba Nagy for his code contribution cleaning up the pipe + primitive. refactored bbox calcs into one place with more + anticipated to implement volume and surface area. -2012-03-18 16:22 starseeker +2013-04-12 04:05 brlcad - * [r49735] misc/CMake/BRLCAD_Summary.cmake: - add spacer + * [r55135] src/librt/primitives/pipe/pipe.c: + ws style cleanup -2012-03-18 16:16 starseeker +2013-04-12 04:01 brlcad - * [r49734] misc/CMake/CompilerFlags.cmake: - We're not doing anything specifically with MinSizeRel as yet, so - don't wipe CMake's version. + * [r55134] src/librt/primitives/pipe/pipe.c: + apply sf patch 3610098 (Refactor pipe element calculation in + pipe.c) from ncsaba unmodified. the change cleans up pipe element + iteration reducing 85 lines by refactoring the bbox iteration + into one function called by prep and bbox. -2012-03-18 16:14 starseeker +2013-04-12 03:16 brlcad - * [r49733] CMakeLists.txt, misc/CMake/BRLCAD_CompilerFlags.cmake: - Tweak optimization flag handling. + * [r55133] src/other/poly2tri/poly2tri/common/shapes.h: + quell shadow and == warnings, provide an EQ macro that does a + tight comparison -2012-03-18 01:06 starseeker +2013-04-12 03:12 brlcad - * [r49732] misc/CMake/BRLCAD_CompilerFlags.cmake: - whoops - stray macro name holdout + * [r55132] src/librt/primitives/brep/brep.cpp: + quell warnings on uninitialized value and empty for loop -2012-03-18 00:48 starseeker +2013-04-12 02:43 brlcad - * [r49731] misc/CMake/CompilerFlags.cmake: - Tweak Debug flag handling + * [r55131] CMakeLists.txt: + we technically do not need 2.8.7, only the sub-cmake needs it. + cmake figures out the subdependency version requirement + correctly. -2012-03-18 00:19 starseeker +2013-04-12 00:12 starseeker - * [r49730] misc/CMake/BRLCAD_CompilerFlags.cmake: - copy/paste strikes again + * [r55130] src/mged/points/CMakeLists.txt, + src/other/clipper/CMakeLists.txt, + src/other/libregex/CMakeLists.txt, + src/other/libtermlib/CMakeLists.txt: + Add versions to some of the libraries built by BRL-CAD. -2012-03-18 00:17 starseeker +2013-04-11 23:10 brlcad - * [r49729] misc/CMake/CompilerFlags.cmake: - Restructure - try not to run tests we don't need to run (if we've - already go the 64 bit flag, don't need to test the rest. + * [r55129] src/shapes/coil.c: + ws -2012-03-18 00:06 starseeker +2013-04-11 23:08 brlcad - * [r49728] misc/CMake/CompilerFlags.cmake: - Whoops - not appending here. + * [r55128] src/shapes/coil.c: + ws indent cleanup. want space after commas in function argument + lists. -2012-03-17 23:45 starseeker +2013-04-11 23:05 brlcad - * [r49727] misc/CMake/BRLCAD_CheckFunctions.cmake, - misc/CMake/BRLCAD_CompilerFlags.cmake, - misc/CMake/BRLCAD_Summary.cmake, misc/CMake/CompilerFlags.cmake, - src/mged/points/CMakeLists.txt: - Make a stab at getting compiler flags working for both single and - multi configuration build tools. Still shouldn't turn this on for - MSVC, as our compiler flag logic doesn't (yet) check MSVC flags. + * [r55127] NEWS: + Bob fixed a z-clipping bug introduced a while ago, related to + changes made for more elaborate clipping support in Archer. Fixed + in commit r55119. (aiming to consistently lowercase mged (and + other tools) in bullets and uppercase them in the prose + write-ups.) -2012-03-16 21:24 r_weiss +2013-04-11 23:00 brlcad - * [r49726] src/tclscripts/mged/Makefile.am: - Added 'grouper.tcl' to 'Makefile.am'. + * [r55126] src/mged/dm-X.c, src/mged/dm-rtgl.c, src/mged/dm-tk.c: + shouldn't the others need the same change too? -2012-03-16 21:23 r_weiss +2013-04-11 20:45 carlmoore - * [r49725] src/tclscripts/mged/CMakeLists.txt: - Added 'grouper.tcl' script to 'CMakeLists.txt'. + * [r55125] src/shapes/coil.c: + use the defaults if no arguments at all or if there is ONLY the + -? argument -2012-03-16 21:22 r_weiss +2013-04-11 20:32 carlmoore - * [r49724] src/tclscripts/mged/grouper.tcl: - Added new tcl scripts 'gr' and 'dg' for grouping geometry in - mged. This is a work in progress and needs alot of cleanup. + * [r55124] src/shapes/coil.c: + use av[0]; provide for no-argument case (program continues + running) and -?; shift 'make sure..' comment; reverse sense of + '!bu_file_exists (looked stupid before the change -2012-03-16 19:04 starseeker +2013-04-11 19:31 carlmoore - * [r49720] misc/CMake/BRLCAD_Summary.cmake: - tweak, ws + * [r55123] src/conv/stl/stl-g.c: + Provide 'Usage:'; arrange explanations in the order the options + appear in Usage line; add comment that -h and -? are not needed + ('default' takes care of them) -2012-03-16 19:02 starseeker +2013-04-11 15:50 indianlarry - * [r49719] CMakeLists.txt, misc/CMake/BRLCAD_Summary.cmake: - Make a stab at a compiler flags report that is - multi-configuration aware. Add line wrapping if we have a lot of - compiler flags. Preliminary to moving all the summary logic to - its own file. + * [r55122] src/other/poly2tri/Makefile.am: + Added additional header files to install and nested header + directory structure in include directory. -2012-03-16 09:47 d_rossberg +2013-04-11 13:30 starseeker - * [r49716] misc/win32-msvc/Dll/CMakeLists.txt: - another MSVC library for a libbu feature + * [r55121] NEWS: + Bob fixed a z-clipping bug introduced a while ago, related to + changes made for more elaborate clipping support in Archer. Fixed + in commit r55119 -2012-03-16 03:40 starseeker +2013-04-11 13:09 indianlarry - * [r49714] CMakeLists.txt: - make cfg pathsetting logic more compact + * [r55120] src/other/poly2tri/CMakeLists.txt: + Cleaned up poly2tri cmake to remove unneeded variables, build + static library based off of BUILD_STATIC_LIBS, no longer need + util.h installed public. -2012-03-16 01:00 starseeker +2013-04-11 12:43 bob1961 - * [r49713] CMakeLists.txt, misc/CMake/DocBook.cmake: - Watch out for a case where CMAKE_CFG_INTDIR is degenerate - in - that case, 'fully qualified based on configuration name' is - wrong. + * [r55119] src/mged/dm-ogl.c, src/mged/dm-wgl.c: + This fixes zclipping in MGED. -2012-03-16 00:28 starseeker +2013-04-10 22:45 r_weiss - * [r49712] CMakeLists.txt: - Start cleaning up a little bit with respect to - multi-configuration setups - still need to properly populate the - Debug flags in the right configuration variables. + * [r55118] src/libbu/mappedfile.c: + Fixed compile error in function bu_open_mapped_file. -2012-03-15 21:26 r_weiss +2013-04-10 22:37 r_weiss - * [r49711] src/libged/model2view.c: - Updated function 'ged_model2view' in file 'model2view.c'. Added - the ability to pass in a model coordinate in mm and return the - screen coordinate. This change was added for backwards - compatibility. + * [r55117] include/bu.h: + Update to struct bu_mapped_file, changing the datatype of modtime + from long to time_t. -2012-03-15 20:14 n_reed +2013-04-10 22:30 r_weiss - * [r49710] src/other/step/src/fedex_plus/classes.c: - ensure null termination as well + * [r55116] src/libbu/mappedfile.c: + Update to function bu_open_mapped_file to allow Windows 64bit to + better support dot-g files over 2 GB in size. -2012-03-15 18:29 n_reed +2013-04-10 21:47 carlmoore - * [r49709] src/other/step/src/fedex_plus/classes.c: - incorrect copy loops were indexing past end of source strings + * [r55115] src/proc-db/contours.c: + work argv[0] into error messages, and eliminate 'if (npts <0) + npts=0', because negative npts was already spotted by program -2012-03-15 14:49 starseeker +2013-04-10 19:39 carlmoore - * [r49708] CMakeLists.txt: - set the right name for the 64bit NSIS file. + * [r55114] src/util/pix-png.c: + shorten the error messages -2012-03-15 00:06 starseeker +2013-04-10 17:46 brlcad - * [r49707] misc/CMake/DocBook.cmake: - Flesh out logic for generating fully qualified cmake scripts - while still using configuration-flexible paths for build targets - when doing DocBook building. + * [r55113] src/conv/stl/g-stl.c: + don't print hex, it should be a size_t -2012-03-15 00:04 starseeker +2013-04-10 17:41 brlcad - * [r49706] src/other/CMakeLists.txt: - Use ON/OFF instead of 1/0 here + * [r55112] src/libbu/affinity.c: + document which is which. it was getting to the right one by + default but probably not including the header. -2012-03-14 21:43 n_reed +2013-04-10 17:28 brlcad - * [r49705] src/other/step.dist, - src/other/step/src/cldai/CMakeLists.txt, - src/other/step/src/cldai/ErrorMap.cc, - src/other/step/src/cldai/ErrorMap.hh, - src/other/step/src/cldai/ErrorRpt.cc, - src/other/step/src/cldai/ErrorRpt.hh, - src/other/step/src/cldai/Makefile.am, - src/other/step/src/cldai/StrUtil.cc, - src/other/step/src/cldai/StrUtil.hh, - src/other/step/src/cldai/impconv.hh, - src/other/step/src/cldai/imptypes.hh, - src/other/step/src/clstepcore/CMakeLists.txt, - src/other/step/src/clstepcore/ExpDict.h.s, - src/other/step/src/clstepcore/Makefile.am, - src/other/step/src/clstepcore/Select.h, - src/other/step/src/clstepcore/scl_osschema.h, - src/other/step/src/clutils/CMakeLists.txt, - src/other/step/src/clutils/Makefile.am, - src/other/step/src/clutils/README, - src/other/step/src/clutils/dirobj.h, - src/other/step/src/clutils/scldir.h, - src/other/step/src/clutils/stat.h, - src/other/step/src/clutils/str_list.h, - src/other/step/src/express/CMakeLists.txt, - src/other/step/src/express/Makefile.am, - src/other/step/src/express/conf.h, - src/other/step/src/express/error.c, - src/other/step/src/express/express.c, - src/other/step/src/express/y.tok.h, - src/other/step/src/express/yyvars.c, - src/other/step/src/fedex_plus/CMakeLists.txt, - src/other/step/src/fedex_plus/Makefile.am, - src/other/step/src/fedex_plus/classes_wrapper.cc, - src/other/step/src/fedex_plus/fedex_os.c: - remove miscellaneous unused files + * [r55111] src/libbu/thread.cpp: + fix a race condition adding new values to the cleanup list. need + to semaphore-protect the additions. the destructor should be + save, but protect there as well for consistency. -2012-03-14 20:27 starseeker +2013-04-10 17:26 brlcad - * [r49704] doc/docbook/books/en/CMakeLists.txt, - misc/CMake/DocBook.cmake, misc/CMake/fop.cmake.in, - misc/CMake/util-clean.cmake.in, misc/CMake/xmllint.cmake.in, - misc/CMake/xsltproc.cmake.in, src/other/CMakeLists.txt: - Rework the DocBook mechanisms to try and be more CMAKE_CFG_INTDIR - friendly + * [r55110] include/bu.h: + threading needs a unique semaphore -2012-03-14 04:38 starseeker +2013-04-10 16:05 carlmoore - * [r49702] src/other/lemon/CMakeLists.txt: - see if we can simplify the lempar.c logic... + * [r55109] src/proc-db/contours.c: + reduce back to 1 line regarding Usage, with one extra newline + retained -2012-03-14 04:18 starseeker +2013-04-10 15:11 starseeker - * [r49701] doc/docbook/books/en/CMakeLists.txt, - misc/CMake/DocBook.cmake, misc/CMake/fop.cmake.in, - misc/CMake/xmllint.cmake.in, misc/CMake/xsltproc.cmake.in: - Make a stab at broader use of the CMAKE_CFG_INTDIR mechanism - a - preliminary test with MSVC appeared to be successful, in which - case this is the way to go. + * [r55108] configure.ac: + Need the __thread check for new threading code. -2012-03-14 01:44 tbrowder2 +2013-04-10 14:24 carlmoore - * [r49700] doc/docbook/README: - add more info on availability of doclifter program; correct typo + * [r55107] src/libfb/if_tk.c: + remove trailing blank -2012-03-14 01:37 tbrowder2 +2013-04-10 14:22 carlmoore - * [r49699] doc/docbook/README: - add info on converting man format to DocBook + * [r55106] src/conv/stl/g-stl.c: + use argv[0] to avoid hardwiring of a program name -2012-03-14 01:14 starseeker +2013-04-09 23:08 brlcad - * [r49698] misc/CMake/xsltproc.cmake.in, src/other/CMakeLists.txt: - tweaks + * [r55105] TODO: + spatial processing during boolean evaluation of meshes. this + would make a good gsoc project. -2012-03-14 01:06 starseeker +2013-04-09 22:50 brlcad - * [r49697] misc/CMake/ThirdParty.cmake, - misc/CMake/util-clean.cmake.in, misc/CMake/xsltproc.cmake.in, - src/other/CMakeLists.txt, src/other/lemon/CMakeLists.txt: - Make one last stab at trying to use multiconfig util executables - 'in-place' without the ackwardness of the util dir. Untested. + * [r55104] NEWS: + chris dueck fixed a memory leak in r52117 for the bot_condense + command. wasn't releasing the vertices, but now is. -2012-03-14 00:28 tbrowder2 +2013-04-09 22:46 brlcad - * [r49696] src/conv/iges/convassem.c, src/conv/iges/convinst.c, - src/conv/iges/evalxform.c, src/conv/iges/getcurve.c, - src/conv/iges/iges_struct.h, src/conv/iges/matmult.c: - make temporary, local provisions for replacing local function - Matmult with libbn equivalents and testing results for comparison + * [r55103] src/libbu/affinity.c: + ws -2012-03-14 00:24 tbrowder2 +2013-04-09 21:20 r_weiss - * [r49695] src/conv/iges/usage.c: - remind casual visitor what this usage statement goes with + * [r55102] include/config_win.h, include/config_win_cmake.h.in: + For the windows build, added the headers "fcntl.h" and "errno.h" + which are needed for the symbol "_O_TEXT" used in the definition + of "pipe". -2012-03-13 23:53 starseeker +2013-04-09 20:21 carlmoore - * [r49694] src/other/CMakeLists.txt: - Manage the util directory in such a way that the executables (and - dlls) in the util dir always correspond to the current - configuration in MSVC. As a bonus, the same mechanism that tells - the build target whether util is in sync with the current - configuration also serves to identify at a glance to the user - which configuration util currently holds. + * [r55101] src/proc-db/contours.c: + provided extra newlines so the Usage statement won't be obscured -2012-03-13 23:28 tbrowder2 +2013-04-09 20:20 starseeker - * [r49693] regress/iges.sh: - add exec lines for a more robust test + * [r55100] src/other/libpng/Makefile.am: + More libpng build tweaks -2012-03-13 23:27 tbrowder2 +2013-04-09 20:05 carlmoore - * [r49692] src/libbn/mat.c: - correct typo + * [r55099] src/conv/stl/g-stl.c: + use 'g-stl:' in error messages, and supply new message about + missing .g file and object(s) -2012-03-13 23:26 tbrowder2 +2013-04-09 19:56 brlcad - * [r49691] src/conv/iges/g-iges.1: - add missing '-P' option to description + * [r55098] src/conv/iges/findp.c, src/conv/iges/iges_struct.h, + src/conv/iges/main.c, src/conv/iges/readrec.c: + for some reason, this change breaks our iges regression test. + reverting. -2012-03-13 23:25 tbrowder2 +2013-04-09 19:35 carlmoore - * [r49690] src/conv/iges/g-iges.c: - align option order and usage descriptions; add correct definition - of '-P' option; add missing '-P' option to usage line + * [r55097] src/conv/stl/g-stl.c: + fix warning about expecting long unsigned int but getting + unsigned int -2012-03-13 23:22 starseeker +2013-04-09 18:53 starseeker - * [r49689] misc/CMake/util-clean.cmake.in: - experimental script + * [r55096] src/libfb/CMakeLists.txt: + Conditionalize addition of tk lib -2012-03-13 22:20 tbrowder2 +2013-04-09 18:52 starseeker - * [r49688] src/conv/iges/iges-g.1: - delete description of obsolete '-b' option + * [r55095] src/libfb/CMakeLists.txt: + Add TK library to libfb -2012-03-13 21:28 n_reed +2013-04-09 18:17 starseeker - * [r49687] src/other/step/src/fedex_plus/classes.c: - Address warnings about non-explicit base class initialization by - adding initialization list to generated copy constructors. + * [r55094] src/other/poly2tri.dist: + Makefile.am is now in poly2tri -2012-03-13 21:03 starseeker +2013-04-09 17:52 starseeker - * [r49686] src/other/lemon/CMakeLists.txt: - add dependency + * [r55093] src/other/libpng/Makefile.am: + Strip more stuff out of libpng. Getting as far as running + benchmark before failures now. -2012-03-13 20:43 starseeker +2013-04-09 17:31 starseeker - * [r49685] src/other/lemon/CMakeLists.txt: - Make lempar.c a build-time copy, not configure time. May need - this to support some other changes. + * [r55092] src/libfb/CMakeLists.txt, src/libfb/if_tk.c: + Add if_tk.c back in, fix compilation. -2012-03-13 20:42 starseeker +2013-04-09 17:20 starseeker - * [r49684] CMakeLists.txt: - Don't print a message about this every time - do it only when - someone has tried to specify a preferences file + * [r55091] configure.ac, src/librt/Makefile.am, + src/other/Makefile.am, src/other/poly2tri/Makefile.am: + Need autotools build for poly2tri -2012-03-13 19:17 n_reed +2013-04-09 15:24 starseeker - * [r49683] src/other/step/src/clstepcore/STEPaggregate.h, - src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes_wrapper.cc, - src/other/step/src/fedex_plus/multpass.c, - src/other/step/src/fedex_plus/selects.c: - Generated step sources raising return-type qualifier warnings - from improper use of const. - Implement intended behavior by returning const versions of - typedef'ed reference types. - Related to r49068. + * [r55090] configure.ac: + LIBSTDCXX is needed in libbu now -2012-03-13 19:11 starseeker +2013-04-09 14:57 starseeker - * [r49682] src/other/CMakeLists.txt, src/other/libz/CMakeLists.txt: - Get closer to working multi-config build of utils. + * [r55089] src/libbu/Makefile.am: + Ah, need to add thread.cpp to the Makefile.am -2012-03-13 18:46 brlcad +2013-04-09 14:51 starseeker - * [r49681] TODO: - like the idea, but not as 'cp' command since that would diverge - from unix command behavior + * [r55088] configure.ac, src/other/libpng/Makefile.am: + Try something a little more drastic for libpng. This seems to get + further - distcheck in autotools is now failing due to issues + with thread libs (probably related to the new affinity work - had + to add in a new AC_CHECK_TYPES for cpu_set_t -2012-03-13 16:20 tbrowder2 +2013-04-09 03:08 starseeker - * [r49680] src/conv/iges/add_face.c, src/conv/iges/add_face.cpp, - src/conv/iges/add_inner_shell.c, src/conv/iges/arrange.c, - src/conv/iges/b-spline.c, src/conv/iges/block2.c, - src/conv/iges/brep.c, src/conv/iges/brep.cpp, - src/conv/iges/bubbleup.c, src/conv/iges/check_names.c, - src/conv/iges/cone.c, src/conv/iges/conv_drawings.c, - src/conv/iges/convassem.c, src/conv/iges/convinst.c, - src/conv/iges/convsolids.c, src/conv/iges/convsurf.c, - src/conv/iges/convtree.c, src/conv/iges/cyl.c, - src/conv/iges/do_subfigs.c, src/conv/iges/docolor.c, - src/conv/iges/ell.c, src/conv/iges/evalxform.c, - src/conv/iges/findp.c, src/conv/iges/g-iges.c, - src/conv/iges/get_att.c, src/conv/iges/get_cnurb_curve.c, - src/conv/iges/get_iges_vertex.c, src/conv/iges/get_outer_shell.c, - src/conv/iges/get_outer_shell.cpp, src/conv/iges/getcurve.c, - src/conv/iges/iges.c, src/conv/iges/iges_types.c, - src/conv/iges/main.c, src/conv/iges/make_face.c, - src/conv/iges/make_nurb_face.c, src/conv/iges/makedir.c, - src/conv/iges/makegroup.c, src/conv/iges/makemembers.c, - src/conv/iges/matmult.c, src/conv/iges/n_iges.cpp, - src/conv/iges/orient_loops.c, src/conv/iges/planar_nurb.c, - src/conv/iges/read_edge_list.c, src/conv/iges/readcnv.c, - src/conv/iges/readcols.c, src/conv/iges/readdbl.c, - src/conv/iges/readflt.c, src/conv/iges/readglobal.c, - src/conv/iges/readint.c, src/conv/iges/readmatrix.c, - src/conv/iges/readname.c, src/conv/iges/readrec.c, - src/conv/iges/readstart.c, src/conv/iges/readstrg.c, - src/conv/iges/readtime.c, src/conv/iges/readtree.c, - src/conv/iges/recsize.c, src/conv/iges/revolve.c, - src/conv/iges/showtree.c, src/conv/iges/sphere.c, - src/conv/iges/spline.c, src/conv/iges/splinef.c, - src/conv/iges/stack.c, src/conv/iges/tor.c, - src/conv/iges/trimsurf.c, src/conv/iges/wedge.c: - ws cleanup + * [r55087] NEWS, src/other/libpng.dist, src/other/libpng/ANNOUNCE, + src/other/libpng/CHANGES, src/other/libpng/CMakeLists.txt, + src/other/libpng/INSTALL, src/other/libpng/LICENSE, + src/other/libpng/Makefile.am, src/other/libpng/README, + src/other/libpng/arm/arm_init.c, + src/other/libpng/arm/filter_neon.S, src/other/libpng/autogen.sh, + src/other/libpng/config.h.in, src/other/libpng/configure.ac, + src/other/libpng/contrib/examples, + src/other/libpng/contrib/gregbook/Makefile.sgi, + src/other/libpng/contrib/gregbook/Makefile.unx, + src/other/libpng/contrib/gregbook/readpng2.c, + src/other/libpng/contrib/libtests/fakepng.c, + src/other/libpng/contrib/libtests/gentests.sh, + src/other/libpng/contrib/libtests/makepng.c, + src/other/libpng/contrib/libtests/pngstest.c, + src/other/libpng/contrib/libtests/pngunknown.c, + src/other/libpng/contrib/libtests/pngvalid.c, + src/other/libpng/contrib/libtests/readpng.c, + src/other/libpng/contrib/libtests/tarith.c, + src/other/libpng/contrib/libtests/test-pngstest.sh, + src/other/libpng/contrib/libtests/test-pngunknown.sh, + src/other/libpng/contrib/libtests/test-pngvalid-full.sh, + src/other/libpng/contrib/libtests/test-pngvalid-simple.sh, + src/other/libpng/contrib/libtests/timepng.c, + src/other/libpng/contrib/pngminim/README, + src/other/libpng/contrib/pngminim/decoder/makefile, + src/other/libpng/contrib/pngminim/decoder/pngusr.dfa, + src/other/libpng/contrib/pngminim/decoder/pngusr.h, + src/other/libpng/contrib/pngminim/encoder/README, + src/other/libpng/contrib/pngminim/encoder/makefile, + src/other/libpng/contrib/pngminim/encoder/pngusr.dfa, + src/other/libpng/contrib/pngminim/encoder/pngusr.h, + src/other/libpng/contrib/pngminim/preader/makefile, + src/other/libpng/contrib/pngminim/preader/pngusr.dfa, + src/other/libpng/contrib/pngminim/preader/pngusr.h, + src/other/libpng/contrib/pngminus/makefile.std, + src/other/libpng/contrib/pngminus/png2pnm.c, + src/other/libpng/contrib/pngminus/pnm2png.c, + src/other/libpng/contrib/tools, + src/other/libpng/contrib/visupng/PngFile.h, + src/other/libpng/example.c, src/other/libpng/libpng-manual.txt, + src/other/libpng/libpng.3, src/other/libpng/libpngpf.3, + src/other/libpng/png.5, src/other/libpng/png.c, + src/other/libpng/png.h, src/other/libpng/pngconf.h, + src/other/libpng/pngerror.c, src/other/libpng/pngget.c, + src/other/libpng/pnginfo.h, src/other/libpng/pngmem.c, + src/other/libpng/pngpread.c, src/other/libpng/pngpriv.h, + src/other/libpng/pngread.c, src/other/libpng/pngrio.c, + src/other/libpng/pngrtran.c, src/other/libpng/pngrutil.c, + src/other/libpng/pngset.c, src/other/libpng/pngstruct.h, + src/other/libpng/pngtest.c, src/other/libpng/pngtest.png, + src/other/libpng/pngtrans.c, src/other/libpng/pngwio.c, + src/other/libpng/pngwrite.c, src/other/libpng/pngwtran.c, + src/other/libpng/pngwutil.c, + src/other/libpng/projects/owatcom/libpng.wpj, + src/other/libpng/projects/owatcom/pngstest.tgt, + src/other/libpng/projects/visualc71/README.txt, + src/other/libpng/projects/visualc71/libpng.vcproj, + src/other/libpng/projects/visualc71/pngtest.vcproj, + src/other/libpng/projects/vstudio/WARNING, + src/other/libpng/projects/vstudio/libpng/libpng.vcxproj, + src/other/libpng/projects/vstudio/pnglibconf/pnglibconf.vcxproj, + src/other/libpng/projects/vstudio/pngstest, + src/other/libpng/projects/vstudio/pngtest/pngtest.vcxproj, + src/other/libpng/projects/vstudio/pngunknown, + src/other/libpng/projects/vstudio/pngvalid/pngvalid.vcxproj, + src/other/libpng/projects/vstudio/readme.txt, + src/other/libpng/projects/vstudio/vstudio.sln, + src/other/libpng/projects/vstudio/zlib.props, + src/other/libpng/projects/vstudio/zlib/zlib.vcxproj, + src/other/libpng/scripts/README.txt, + src/other/libpng/scripts/checksym.awk, + src/other/libpng/scripts/chkfmt, + src/other/libpng/scripts/def.dfn, + src/other/libpng/scripts/descrip.mms, + src/other/libpng/scripts/intprefix.dfn, + src/other/libpng/scripts/libpng-config-head.in, + src/other/libpng/scripts/libpng.pc.in, + src/other/libpng/scripts/macro.lst, + src/other/libpng/scripts/makefile.32sunu, + src/other/libpng/scripts/makefile.64sunu, + src/other/libpng/scripts/makefile.aix, + src/other/libpng/scripts/makefile.bc32, + src/other/libpng/scripts/makefile.beos, + src/other/libpng/scripts/makefile.bor, + src/other/libpng/scripts/makefile.cegcc, + src/other/libpng/scripts/makefile.darwin, + src/other/libpng/scripts/makefile.dec, + src/other/libpng/scripts/makefile.dj2, + src/other/libpng/scripts/makefile.elf, + src/other/libpng/scripts/makefile.freebsd, + src/other/libpng/scripts/makefile.gcc, + src/other/libpng/scripts/makefile.hp64, + src/other/libpng/scripts/makefile.hpgcc, + src/other/libpng/scripts/makefile.hpux, + src/other/libpng/scripts/makefile.ibmc, + src/other/libpng/scripts/makefile.intel, + src/other/libpng/scripts/makefile.knr, + src/other/libpng/scripts/makefile.linux, + src/other/libpng/scripts/makefile.mips, + src/other/libpng/scripts/makefile.msc, + src/other/libpng/scripts/makefile.msys, + src/other/libpng/scripts/makefile.ne12bsd, + src/other/libpng/scripts/makefile.netbsd, + src/other/libpng/scripts/makefile.openbsd, + src/other/libpng/scripts/makefile.sco, + src/other/libpng/scripts/makefile.sggcc, + src/other/libpng/scripts/makefile.sgi, + src/other/libpng/scripts/makefile.so9, + src/other/libpng/scripts/makefile.solaris, + src/other/libpng/scripts/makefile.solaris-x86, + src/other/libpng/scripts/makefile.std, + src/other/libpng/scripts/makefile.sunos, + src/other/libpng/scripts/makefile.tc3, + src/other/libpng/scripts/makefile.vcwin32, + src/other/libpng/scripts/makevms.com, + src/other/libpng/scripts/options.awk, + src/other/libpng/scripts/pnglibconf.dfa, + src/other/libpng/scripts/pnglibconf.h.prebuilt, + src/other/libpng/scripts/pnglibconf.mak, + src/other/libpng/scripts/prefix.dfn, + src/other/libpng/scripts/symbols.def, + src/other/libpng/test-pngvalid-full.sh, + src/other/libpng/test-pngvalid-simple.sh: + Roll back upgrade to libpng 1.6.0 - it's breaking the autotools + build and isn't providing critical updates. Has to wait for + either more autotools resources or the removal of the autotools + build. -2012-03-13 15:42 tbrowder2 +2013-04-08 20:33 starseeker - * [r49679] src/conv/iges/matmult.c: - ws; add brackets for clarity + * [r55086] src/other/CMakeLists.txt: + Mark some variables as advanced -2012-03-13 15:39 tbrowder2 +2013-04-08 19:56 starseeker - * [r49678] src/conv/iges/summary.c: - ws; code style + * [r55085] src/other/libpng/configure.ac: + More libpng autotools tweaking. -2012-03-13 12:27 tbrowder2 +2013-04-08 19:17 starseeker - * [r49677] src/conv/iges/main.c, src/conv/iges/read_vertex_list.c: - ws + * [r55084] src/other/libpng/configure.ac: + Yow - whole lot of stuff in the new libpng configure.ac that + doesn't work for us. -2012-03-13 11:34 tbrowder2 +2013-04-08 18:49 starseeker - * [r49676] doc/docbook/resources/brlcad/images/logo-vm-gears.png, - doc/docbook/resources/brlcad/images/logo-vm.svg: - new logos for BRL-CAD web site + * [r55083] src/other/step/CMakeLists.txt: + Same deal for SCL (which is where MD5 is actually used) - need + the option in the CMake STRING command, so require at least 2.8.7 -2012-03-12 19:04 tbrowder2 +2013-04-08 18:48 starseeker - * [r49675] TODO: - add a more explicit DocBook TODO item + * [r55082] CMakeLists.txt: + Need MD5 option to STRING command, which wasn't introduced until + CMake 2.8.7 -2012-03-10 00:05 tbrowder2 +2013-04-08 16:09 starseeker - * [r49673] CMakeLists.txt: - make 'Found' message look similar to others + * [r55081] CMakeLists.txt: + Reset BRLCAD_LIBS list to make sure items don't linger after + being turned off in a configure pass. -2012-03-09 03:17 tbrowder2 +2013-04-08 15:37 starseeker - * [r49671] BRL-CAD-VM-file-system: - remove--in wrong place + * [r55080] include/CMakeLists.txt: + Use the INCLUDE_DIR variable -2012-03-09 01:56 starseeker +2013-04-08 15:28 starseeker - * [r49670] src/tclscripts/CMakeLists.txt: - Do need the toplevel target... something may be not quite right - here, needs more experimentation/testing. + * [r55079] CMakeLists.txt: + CMAKE_INSTALL_PREFIX is a path, not just a string -2012-03-09 00:41 starseeker +2013-04-08 15:10 starseeker - * [r49669] src/other/CMakeLists.txt: - gah - typo + * [r55078] include/CMakeLists.txt: + correct headers CMAKEFILES lines -2012-03-08 23:48 tbrowder2 +2013-04-08 13:37 starseeker - * [r49668] BRL-CAD-VM-file-system: - add a directory to keep GSoC VM configuration files + * [r55077] src/other/step/cmake/Generated_Source_Utils.cmake: + Testing a file in Linux that was converted to dos line endings, + it looks like the previous regex was the right one. -2012-03-08 21:16 n_reed +2013-04-08 13:31 starseeker - * [r49667] src/other/step/src/fedex_plus/selects.c: - suppress unused variable warnings + * [r55076] src/other/step/cmake/Generated_Source_Utils.cmake: + Nevermind the file nonsense - the STRING command in CMake also + exposes MD5 functionality -2012-03-08 19:07 bob1961 +2013-04-08 13:00 indianlarry - * [r49666] src/libtclcad/tclcad_obj.c: - Modified to_png to use GL_RGB instead of GL_RGBA. + * [r55075] src/other/poly2tri/poly2tri/common/shapes.h, + src/other/poly2tri/poly2tri/sweep/cdt.h: + Added dllexport/dllimport definitions to P2T functions for proper + export library building under windows. This was causing librt to + fail under windows builds. -2012-03-08 19:06 n_reed +2013-04-08 00:18 jordisayol - * [r49665] src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/clstepcore/ExpDict.cc, - src/other/step/src/clstepcore/STEPaggregate.cc, - src/other/step/src/clstepcore/STEPattribute.cc, - src/other/step/src/clstepcore/STEPcomplex.cc, - src/other/step/src/clstepcore/orlist.cc, - src/other/step/src/clstepcore/read_func.cc, - src/other/step/src/clstepcore/sdaiApplication_instance.cc, - src/other/step/src/clstepcore/sdaiEnum.cc, - src/other/step/src/clutils/dirobj.cc, - src/other/step/src/clutils/gennodearray.cc: - remove unused variables + * [r55074] misc/debian/brlcad.postinst, misc/debian/brlcad.sh, + sh/make_rpm.sh: + Properly update the environment variable $MANPATH on deb and rpm + packages. -2012-03-08 16:30 tbrowder2 +2013-04-06 21:55 jordisayol - * [r49664] INSTALL: - tell users how to defined a user-build-preference file + * [r55073] misc/debian/brlcad.sh: + Fix boot problem on Debian/Ubuntu -2012-03-08 16:15 tbrowder2 +2013-04-06 00:17 jordisayol - * [r49663] CMakeLists.txt: - allow user several options, including an environment variable - BRLCAD_USER_GLOBAL_CONFIG_FILE=filename, to define default user - preferences + * [r55072] sh/make_rpm.sh: + Make /usr/brlcad and sub-directories to be owned by the rpm + package. + If the rpm package don't owns these directories, yum will not + remove them when uninstalling. -2012-03-08 13:58 tbrowder2 +2013-04-05 22:16 jordisayol - * [r49662] CMakeLists.txt: - make it easier to see where the INSTALL file is being treated + * [r55071] misc/debian/brlcad.sh: + Verify if $BRLCAD_PATH and $BRLCAD_MANPATH are already in $PATH + and $MANPATH environment variables (deb and rpm packages). -2012-03-08 13:57 tbrowder2 +2013-04-05 20:26 carlmoore - * [r49661] INSTALL: - tad bit better grammar + * [r55070] src/fb/cmap-fb.c: + implement Usage & continue-running for no-argument/no-pipe + situation; allow use of -?, omitting -h because that's in use for + something else -2012-03-08 13:56 tbrowder2 +2013-04-05 19:31 jordisayol - * [r49660] HACKING: - tad bit better grammar + * [r55069] misc/debian/brlcad.install, sh/make_deb.sh, + sh/make_rpm.sh: + Add "/usr/brlcad/version" file on deb/rpm packages. -2012-03-08 12:38 tbrowder2 +2013-04-05 17:56 starseeker - * [r49659] misc/CMake/fop.cmake.in: - correct typo, use proper string prefix, cures fop error message - 'SEVERE: Couldn't find hyphenation pattern en' + * [r55068] include/CMakeLists.txt: + Re-indent and simplify header CMakeLists.txt -2012-03-07 21:38 brlcad +2013-04-05 16:29 indianlarry - * [r49658] src/util/bwhisteq.c: - make sure we're within array abounds for cov cid 1497 - TAINTED_SCALAR sanity + * [r55067] include/raytrace.h, src/libged/brep.c, + src/libged/draw.c, src/librt/CMakeLists.txt, + src/librt/primitives/brep/brep.cpp, + src/librt/primitives/brep/brep_debug.cpp: + Initial checkin of shaded displays for BREP NURBS. Ese the + poly2tri software to generate CDT triangulations. Water tight + edges to follow. Uses "rel","abs" and "norm" tolerance values + when determining facet resolution(WIP). Also updated "brep" mged + command with features for CDT debugging. -2012-03-07 21:22 brlcad +2013-04-05 14:57 brlcad - * [r49657] src/util/dbcp.c: - add an upper bounds check for cov cid 1501 TAINTED_SCALAR + * [r55066] NEWS: + with bob and keiths help, we finally figured out what was wrong + in lesson 15. it's a four-year old bug with a 30-year legacy. see + previous commit log message for all the nitty gritty detais. + basically had to update the ordering now that they match the + change in 7.14.6 to make the rpp vertices match arb8. -2012-03-07 21:08 brlcad +2013-04-05 14:51 brlcad - * [r49656] doc/docbook/articles/it/images/image008.png: - somehow missed image008, delete + * [r55065] doc/docbook/lessons/en/mged15_creating_a_toy_truck.xml: + update the inside command parameters to match the new rpp vertex + behavior that was made to match the ordering of an arb8 in 7.14.6 + (r33973). the "right" parameters were ironically the ones already + documented in a note when the lessons were written up in 2001 as + having changed. tracing back through the commit history, it looks + like this however was entirely unintentional (i.e., it was a bug) + that was documented here instead of getting fixed. + + what had happened: circa 1985 (r373) 'in' command directly + implemented rpp (matching arb8), circa 1987 (r1518) wdb rpp + routine added (with "natural origin" but not matching arb8), + circa 2000 (r18885) 'in' command updated to use libwdb + (inadvertently changing the order), circa 2009 (r33973) wdb + routine finally fixed to match arb8, and now the doc finally gets + fixed to match. so there ya have it, took three devs scratching + heads for a day to figure this all out. + + left a note on how to verify the right values ('l' command so as + to not rely on graphical inspection) and the old command so the + docs will still work with older releases. -2012-03-07 20:43 starseeker +2013-04-05 14:29 carlmoore - * [r49655] src/other/CMakeLists.txt: - Get this rule closer to working... + * [r55063] src/conv/dem-g.c: + remove trailing blanks I accidentally put it; put in note about + cannot use stdin; remove (redundant) 'Exiting.' -2012-03-07 20:40 brlcad +2013-04-05 14:22 brlcad - * [r49654] doc/docbook/articles/it/CMakeLists.txt: - add missing bc2.gif and sflogo.png images to dist + * [r55061] src/libged/inside.c: + be consistent, follow the face winding -2012-03-07 20:39 brlcad +2013-04-05 12:59 jordisayol - * [r49653] doc/docbook/articles/it/images/README.images_map, - doc/docbook/articles/it/images/image010.jpg, - doc/docbook/articles/it/images/image012.jpg, - doc/docbook/articles/it/images/image014.jpg, - doc/docbook/articles/it/images/image016.jpg, - doc/docbook/articles/it/images/image018.jpg, - doc/docbook/articles/it/images/image020.jpg: - remove the former image names. no value in keeping them around if - nothing uses them. + * [r55060] misc/debian/brlcad.sh: + Properly add/modify the environment variables PATH and MANPATH on + deb and rpm packages. -2012-03-07 19:58 starseeker +2013-04-05 12:50 bob1961 - * [r49652] src/other/CMakeLists.txt: - try an experiment + * [r55059] src/tclscripts/archer/ShaderEdit.tcl: + Added support for the camo shader in Archer's comb edit panel. -2012-03-07 18:14 starseeker +2013-04-05 05:37 brlcad - * [r49651] misc/CMake/CheckCInline.cmake: - Repeated runs of CMake were resulting in no build logic being - output - try this approach to the CHECK_C_INLINE macro. + * [r55058] src/libbu/heap.c: + because it's awesome when structure elements all line up + perfectly with the same length -2012-03-07 18:03 erikgreenwald +2013-04-05 05:29 brlcad - * [r49650] src/libbu/parallel.c: - updates for openbsd + * [r55057] src/libbu/heap.c: + rewicker the terminology so that it might actually make some + sense to someone else too -2012-03-07 17:35 starseeker +2013-04-05 05:17 brlcad - * [r49649] doc/docbook/CMakeLists.txt: - Need the fonts xsl file even if we aren't doing pdf + * [r55056] src/libbu/heap.c: + save a few more instructions and reduce per-real-allocation + overhead slightly by not tracking per page usage. just keep track + of the last page being filled since we know the rest are full. -2012-03-07 15:36 brlcad +2013-04-05 04:20 brlcad - * [r49648] src/librtserver/CMakeLists.txt: - needs zlib? link fail + * [r55055] src/libbu/heap.c: + update the comments to reflect the new structure layout which + also helps simplify the explanations. remove the old containers + (assumes we'll get better cache coherence grouping them together, + but that still needs to be tested). -2012-03-07 06:24 brlcad +2013-04-05 03:52 brlcad - * [r49647] misc/CMake/CheckCInline.cmake: - no longer returns a define, leaves it up to caller. update docs + * [r55054] src/libbu/heap.c: + few comments, still need to track and reuse freed memory -2012-03-07 06:11 brlcad +2013-04-05 03:51 brlcad - * [r49646] misc/CMake/CheckCInline.cmake: - include a common usage example in the header comments and props - to burly + * [r55053] src/libbu/malloc.c: + ws cleanup -2012-03-07 06:06 brlcad +2013-04-05 03:48 brlcad - * [r49645] CMakeLists.txt, misc/CMake/CheckCInline.cmake: - overhaul the new CHECK_C_INLINE macro to fix a substantial bug - (it wasn't actually testing different inline keywords...), but - also to make it a much better macro citizen. let the caller pass - a variable in to get the inline value back, if any, no longer - auto-adding to the global definitions. support caching so we - don't run the compile tests more than necessary. finally, improve - iteration and conditionals so we're more efficient and rename - variables for clarity. + * [r55052] src/libbu/heap.c: + the printing function need not be made public api, tighten the + scope. also make sure it only prints once since it can + conceivably get registered multiple times -2012-03-07 05:09 starseeker +2013-04-05 03:41 brlcad - * [r49644] src/other/lemon/CMakeLists.txt: - Fix lemon template configure + * [r55051] src/libbu/heap.c: + duh, race condition on initializing the per-cpu structure + dynamically. statically allocate for the compile-time maximum + number of cpus. wastefully consumes 32MB (32KB per cpu with 1024 + bins), but avoids a runtime branch and fixes the problem of how + to release the dynamic memory so not all bad. -2012-03-07 05:03 starseeker +2013-04-04 22:33 r_weiss - * [r49643] src/other/CMakeLists.txt: - expand on comments, remove debug message + * [r55050] src/librt/primitives/nmg/nmg_inter.c: + Bug fix for function "nmg_isect_fu_jra" in file "nmg_inter.c". + The number of edgeuse in the loopuse changes as the loopuse is + processed which can cause an infinite loop. This change fixes the + infinite loop. This problem can occasionally be seen using the + mged "ev" command. -2012-03-07 03:57 starseeker +2013-04-04 21:44 carlmoore - * [r49642] CMakeLists.txt: - Put the output vars back as well - CMAKE_CFG_INTDIR isn't the - answer for us. + * [r55049] src/conv/dem-g.c: + no programming change, but add comment about 3 file names based + on the filename provided (I don't know what dem file is) -2012-03-07 03:56 starseeker +2013-04-04 19:37 carlmoore - * [r49641] misc/CMake/ThirdParty.cmake, src/other/CMakeLists.txt: - CMAKE_CFG_INTDIR doesn't work for our purposes, as we need to - generate cmake scripts with the final path in place - CMake - doesn't know what Configuration means. + * [r55048] src/conv/dem-g.c: + move lines ahead of a slew of value-setting lines, which would be + meaningless if 'Exiting' was invoked -2012-03-07 03:43 starseeker +2013-04-04 14:35 carlmoore - * [r49640] CMakeLists.txt: - Careful... can't use the variable path when we need specific - paths. May need to make some fixes to the variables being used to - place files. + * [r55047] src/util/decimate.c: + improve error reporting in decimate command -2012-03-07 03:36 starseeker +2013-04-04 13:35 starseeker - * [r49639] CMakeLists.txt: - Might help to use the right variable name... + * [r55046] src/libbn/tests/CMakeLists.txt, + src/libbn/tests/bn_coplanar_tri_tri_isect.c, + src/libbn/tests/bn_tri_tri_isect_coplanar.c: + Rename file for bn_tri_tri_isect_coplanar test and update test + names -2012-03-07 02:39 starseeker +2013-04-04 13:31 starseeker - * [r49638] src/archer/CMakeLists.txt, - src/tclscripts/CMakeLists.txt: - wrap the add_custom_commands - MSVC doesn't seem to like it - as-is. + * [r55045] include/bn.h, + src/libbn/tests/bn_coplanar_tri_tri_isect.c, src/libbn/tri_tri.c, + src/librt/test_bot2nurbs.cpp: + Rename function bn_coplanar_tri_tri_isect to + bn_tri_tri_isect_coplanar -2012-03-07 01:07 starseeker +2013-04-04 12:23 bob1961 - * [r49637] misc/CMake/DocBook.cmake: - Don't need the mannum there + * [r55044] src/tclscripts/archer/ShaderEdit.tcl: + Added support for the checker shader. -2012-03-06 23:17 n_reed +2013-04-04 12:22 bob1961 - * [r49636] src/conv/step/CMakeLists.txt, - src/other/step/data/203wseds.exp, - src/other/step/data/CMakeLists.txt, src/other/step/data/README, - src/other/step/data/ap201.exp, src/other/step/data/ap202.exp, - src/other/step/data/ap203/203wseds.exp, - src/other/step/data/ap203/README, - src/other/step/data/ap203/ap203edit.exp, - src/other/step/data/ap203edit.exp, src/other/step/data/ap225.exp, - src/other/step/data/ap227.exp, - src/other/step/data/ap227/ap227.exp, - src/other/step/data/wg3n1063_ap232.exp, - src/other/step/data/wg3n1342_ap218.exp, - src/other/step/data/wg3n1469_ap240.exp, - src/other/step/data/wg3n1568_ap239.exp, - src/other/step/data/wg3n1598_ap221.exp, - src/other/step/data/wg3n1941_ap224e3.exp, - src/other/step/data/wg3n2097_ap238.exp, - src/other/step/data/wg3n2188_ap236.exp, - src/other/step/data/wg3n2253_ap219_lf.exp, - src/other/step/data/wg3n2366_ap216tc1_aim_lf.exp, - src/other/step/data/wg3n2392_ap215tc1_aim_lf.exp, - src/other/step/data/wg3n2405_ap227e2tc1_aim_lf.exp, - src/other/step/data/wg3n2408_ap223_aim_lf.exp, - src/other/step/data/wg3n2545_ap235_aim_lf.exp, - src/other/step/data/wg3n2601_ap210e2_aim_lf.exp, - src/other/step/data/wg3n2628_ap214e3.exp, - src/other/step/data/wg3n2635_ap203e2_aim_lf.exp, - src/other/step/data/wg3n916_ap203.exp, - src/other/step/data/wg3n972_ap209.exp: - added the steptools ap express schemas - -2012-03-06 23:09 starseeker - - * [r49635] CMakeLists.txt, misc/CMake/ThirdParty.cmake, - src/other/CMakeLists.txt: - Give CFG_TYPE_INTDIR a try - recommended by David Cole: - http://www.cmake.org/pipermail/cmake/2012-March/049525.html + * [r55043] src/tclscripts/lib/Ged.tcl: + Added cadwidgets::Ged::validateRgb -2012-03-06 22:55 starseeker +2013-04-04 05:12 brlcad - * [r49634] src/other/CMakeLists.txt: - remove debug message + * [r55042] NEWS: + bob fixed a bug in pipe editing ('p' command in mged, mouse + edits, etc) in r51883 when trying to move a pipe point in a + database that has the units set to something other than mm. -2012-03-06 22:43 tbrowder2 +2013-04-04 05:05 brlcad - * [r49633] doc/docbook/CMakeLists.txt: - tidy comments for PDF + * [r55041] NEWS: + bob added a new way to edit matrices in archer that mged does not + support in r51689, namely the ability to edit the matrix above + some member of a combination. to quote: Previously, mouse + interactions resulted in edits getting pushed into the selected + object. That is if the selected object was a combination, the + edits wound up as matrices above all members in the combination. + And if the selected object was a primitive, the edits were pushed + into the primitive. Archer has another mode button in the toolbar + for deciding how mouse interactions are applied to the select + object. + +2013-04-04 04:22 brlcad + + * [r55040] src/libged/analyze.c: + it's a fastf_t array, awkward to set integer literals + +2013-04-04 04:18 brlcad + + * [r55039] NEWS: + tom browder made a sweeping update to all of the existing manual + pages (fortunately before the were all converted to doxygen) in + r51302 where he corrected and updated missing + author/copyright/bugreport sections, eliminated references to our + old cadbug.sh script, and (yowsa) actually made the copyright + year reflect the dates of editing based on earliest svn log entry + (including parent for changed paths). impressive. + +2013-04-04 04:13 brlcad + + * [r55038] NEWS: + richard added several new man pages for mged commands reid, + bot_sync, bot_flip, bot_split, and rtarea. the latter already + existed, but was updated with mged-specific information (we need + a way to consolidate/reuse these nuggets). the rest were merely + knowledge passed through the generations... so nice rounding out + of docs to have them added. + +2013-04-04 03:44 brlcad + + * [r55037] include/vmath.h: + document the JOIN1 macros + +2013-04-04 03:32 brlcad + + * [r55036] TODO: + make fbserv's device argument optional and specifiable for both + +2013-04-04 03:18 brlcad + + * [r55035] src/libged/model2view.c: + ironically fewer lines of code without the goto even though we + duplicate the usage statement. cleanup. + +2013-04-04 03:13 brlcad + + * [r55034] src/libbu/parallel.c: + ws indent cleanup + +2013-04-04 03:10 brlcad + + * [r55033] src/libbu/parallel.c: + leave a tiny hint of the old alliant vestige where register + variables were whacked after threads invoked. see include/bu.h + prior to r55032. + +2013-04-04 03:05 brlcad + + * [r55032] include/bu.h: + document the updates to bu_parallel() including the + LIBBU_AFFINITY flag that disables cpu affinity locking. remove + the note about using registers on the alliant. register keyword + behavior might not be covered under posix with threading, but the + comment is still irrelevant to the API and this header. + +2013-04-04 02:56 brlcad + + * [r55031] src/libbu/parallel.c: + provide a LIBBU_AFFINITY environment variable to allow run-time + disabling of cpu affinity since it defaults to always on for all + bu_parallel() threads. check the environment variable from the + parent thread (where we can, most modern platforms) + +2013-04-03 15:33 starseeker + + * [r55030] NEWS, src/other/CMakeLists.txt, + src/other/tcl/CMakeLists.txt, src/other/tcl/ChangeLog, + src/other/tcl/ChangeLog.2000, src/other/tcl/ChangeLog.2001, + src/other/tcl/ChangeLog.2003, src/other/tcl/README, + src/other/tcl/changes, src/other/tcl/compat/README, + src/other/tcl/compat/dirent.h, src/other/tcl/compat/dirent2.h, + src/other/tcl/compat/dlfcn.h, src/other/tcl/compat/fixstrtod.c, + src/other/tcl/compat/float.h, src/other/tcl/compat/gettod.c, + src/other/tcl/compat/limits.h, src/other/tcl/compat/memcmp.c, + src/other/tcl/compat/opendir.c, src/other/tcl/compat/stdlib.h, + src/other/tcl/compat/string.h, + src/other/tcl/compat/strncasecmp.c, + src/other/tcl/compat/strstr.c, src/other/tcl/compat/strtod.c, + src/other/tcl/compat/strtol.c, src/other/tcl/compat/strtoul.c, + src/other/tcl/compat/unistd.h, src/other/tcl/compat/waitpid.c, + src/other/tcl/doc/Access.3, src/other/tcl/doc/AddErrInfo.3, + src/other/tcl/doc/Alloc.3, src/other/tcl/doc/AllowExc.3, + src/other/tcl/doc/AppInit.3, src/other/tcl/doc/AssocData.3, + src/other/tcl/doc/Async.3, src/other/tcl/doc/BackgdErr.3, + src/other/tcl/doc/Backslash.3, src/other/tcl/doc/BoolObj.3, + src/other/tcl/doc/ByteArrObj.3, src/other/tcl/doc/CallDel.3, + src/other/tcl/doc/ChnlStack.3, src/other/tcl/doc/CmdCmplt.3, + src/other/tcl/doc/Concat.3, src/other/tcl/doc/CrtChannel.3, + src/other/tcl/doc/CrtChnlHdlr.3, + src/other/tcl/doc/CrtCloseHdlr.3, src/other/tcl/doc/CrtCommand.3, + src/other/tcl/doc/CrtFileHdlr.3, src/other/tcl/doc/CrtInterp.3, + src/other/tcl/doc/CrtMathFnc.3, src/other/tcl/doc/CrtObjCmd.3, + src/other/tcl/doc/CrtSlave.3, src/other/tcl/doc/CrtTimerHdlr.3, + src/other/tcl/doc/CrtTrace.3, src/other/tcl/doc/DString.3, + src/other/tcl/doc/DetachPids.3, src/other/tcl/doc/DictObj.3, + src/other/tcl/doc/DoOneEvent.3, src/other/tcl/doc/DoWhenIdle.3, + src/other/tcl/doc/DoubleObj.3, + src/other/tcl/doc/DumpActiveMemory.3, + src/other/tcl/doc/Encoding.3, src/other/tcl/doc/Ensemble.3, + src/other/tcl/doc/Environment.3, src/other/tcl/doc/Eval.3, + src/other/tcl/doc/Exit.3, src/other/tcl/doc/ExprLong.3, + src/other/tcl/doc/ExprLongObj.3, src/other/tcl/doc/FileSystem.3, + src/other/tcl/doc/FindExec.3, src/other/tcl/doc/GetCwd.3, + src/other/tcl/doc/GetHostName.3, src/other/tcl/doc/GetIndex.3, + src/other/tcl/doc/GetInt.3, src/other/tcl/doc/GetOpnFl.3, + src/other/tcl/doc/GetStdChan.3, src/other/tcl/doc/GetTime.3, + src/other/tcl/doc/GetVersion.3, src/other/tcl/doc/Hash.3, + src/other/tcl/doc/Init.3, src/other/tcl/doc/InitStubs.3, + src/other/tcl/doc/IntObj.3, src/other/tcl/doc/Interp.3, + src/other/tcl/doc/Limit.3, src/other/tcl/doc/LinkVar.3, + src/other/tcl/doc/ListObj.3, src/other/tcl/doc/Namespace.3, + src/other/tcl/doc/Notifier.3, src/other/tcl/doc/Object.3, + src/other/tcl/doc/ObjectType.3, src/other/tcl/doc/OpenFileChnl.3, + src/other/tcl/doc/OpenTcp.3, src/other/tcl/doc/Panic.3, + src/other/tcl/doc/ParseCmd.3, src/other/tcl/doc/PkgRequire.3, + src/other/tcl/doc/Preserve.3, src/other/tcl/doc/PrintDbl.3, + src/other/tcl/doc/RecEvalObj.3, src/other/tcl/doc/RecordEval.3, + src/other/tcl/doc/RegConfig.3, src/other/tcl/doc/RegExp.3, + src/other/tcl/doc/SaveResult.3, src/other/tcl/doc/SetChanErr.3, + src/other/tcl/doc/SetErrno.3, src/other/tcl/doc/SetRecLmt.3, + src/other/tcl/doc/SetResult.3, src/other/tcl/doc/SetVar.3, + src/other/tcl/doc/Signal.3, src/other/tcl/doc/Sleep.3, + src/other/tcl/doc/SourceRCFile.3, src/other/tcl/doc/SplitList.3, + src/other/tcl/doc/SplitPath.3, src/other/tcl/doc/StaticPkg.3, + src/other/tcl/doc/StdChannels.3, src/other/tcl/doc/StrMatch.3, + src/other/tcl/doc/StringObj.3, src/other/tcl/doc/SubstObj.3, + src/other/tcl/doc/TCL_MEM_DEBUG.3, src/other/tcl/doc/Tcl.n, + src/other/tcl/doc/Tcl_Main.3, src/other/tcl/doc/Thread.3, + src/other/tcl/doc/ToUpper.3, src/other/tcl/doc/TraceCmd.3, + src/other/tcl/doc/TraceVar.3, src/other/tcl/doc/Translate.3, + src/other/tcl/doc/UniCharIsAlpha.3, src/other/tcl/doc/UpVar.3, + src/other/tcl/doc/Utf.3, src/other/tcl/doc/WrongNumArgs.3, + src/other/tcl/doc/after.n, src/other/tcl/doc/append.n, + src/other/tcl/doc/array.n, src/other/tcl/doc/bgerror.n, + src/other/tcl/doc/binary.n, src/other/tcl/doc/break.n, + src/other/tcl/doc/case.n, src/other/tcl/doc/catch.n, + src/other/tcl/doc/cd.n, src/other/tcl/doc/chan.n, + src/other/tcl/doc/close.n, src/other/tcl/doc/concat.n, + src/other/tcl/doc/continue.n, src/other/tcl/doc/dde.n, + src/other/tcl/doc/dict.n, src/other/tcl/doc/encoding.n, + src/other/tcl/doc/eof.n, src/other/tcl/doc/error.n, + src/other/tcl/doc/eval.n, src/other/tcl/doc/exec.n, + src/other/tcl/doc/exit.n, src/other/tcl/doc/expr.n, + src/other/tcl/doc/fblocked.n, src/other/tcl/doc/fconfigure.n, + src/other/tcl/doc/fcopy.n, src/other/tcl/doc/file.n, + src/other/tcl/doc/fileevent.n, src/other/tcl/doc/filename.n, + src/other/tcl/doc/flush.n, src/other/tcl/doc/for.n, + src/other/tcl/doc/foreach.n, src/other/tcl/doc/format.n, + src/other/tcl/doc/gets.n, src/other/tcl/doc/glob.n, + src/other/tcl/doc/global.n, src/other/tcl/doc/history.n, + src/other/tcl/doc/http.n, src/other/tcl/doc/if.n, + src/other/tcl/doc/incr.n, src/other/tcl/doc/info.n, + src/other/tcl/doc/interp.n, src/other/tcl/doc/join.n, + src/other/tcl/doc/lappend.n, src/other/tcl/doc/lassign.n, + src/other/tcl/doc/library.n, src/other/tcl/doc/lindex.n, + src/other/tcl/doc/linsert.n, src/other/tcl/doc/list.n, + src/other/tcl/doc/llength.n, src/other/tcl/doc/load.n, + src/other/tcl/doc/lrange.n, src/other/tcl/doc/lrepeat.n, + src/other/tcl/doc/lreplace.n, src/other/tcl/doc/lreverse.n, + src/other/tcl/doc/lsearch.n, src/other/tcl/doc/lset.n, + src/other/tcl/doc/lsort.n, src/other/tcl/doc/man.macros, + src/other/tcl/doc/mathfunc.n, src/other/tcl/doc/mathop.n, + src/other/tcl/doc/memory.n, src/other/tcl/doc/msgcat.n, + src/other/tcl/doc/namespace.n, src/other/tcl/doc/open.n, + src/other/tcl/doc/package.n, src/other/tcl/doc/packagens.n, + src/other/tcl/doc/pid.n, src/other/tcl/doc/pkgMkIndex.n, + src/other/tcl/doc/platform.n, src/other/tcl/doc/platform_shell.n, + src/other/tcl/doc/proc.n, src/other/tcl/doc/puts.n, + src/other/tcl/doc/pwd.n, src/other/tcl/doc/re_syntax.n, + src/other/tcl/doc/read.n, src/other/tcl/doc/refchan.n, + src/other/tcl/doc/regexp.n, src/other/tcl/doc/registry.n, + src/other/tcl/doc/regsub.n, src/other/tcl/doc/rename.n, + src/other/tcl/doc/return.n, src/other/tcl/doc/safe.n, + src/other/tcl/doc/scan.n, src/other/tcl/doc/seek.n, + src/other/tcl/doc/set.n, src/other/tcl/doc/socket.n, + src/other/tcl/doc/source.n, src/other/tcl/doc/split.n, + src/other/tcl/doc/string.n, src/other/tcl/doc/subst.n, + src/other/tcl/doc/switch.n, src/other/tcl/doc/tclsh.1, + src/other/tcl/doc/tcltest.n, src/other/tcl/doc/tclvars.n, + src/other/tcl/doc/tell.n, src/other/tcl/doc/time.n, + src/other/tcl/doc/tm.n, src/other/tcl/doc/trace.n, + src/other/tcl/doc/unknown.n, src/other/tcl/doc/unload.n, + src/other/tcl/doc/unset.n, src/other/tcl/doc/update.n, + src/other/tcl/doc/uplevel.n, src/other/tcl/doc/upvar.n, + src/other/tcl/doc/variable.n, src/other/tcl/doc/vwait.n, + src/other/tcl/doc/while.n, src/other/tcl/generic/README, + src/other/tcl/generic/regc_lex.c, + src/other/tcl/generic/regc_locale.c, + src/other/tcl/generic/regcomp.c, + src/other/tcl/generic/regcustom.h, + src/other/tcl/generic/regerror.c, + src/other/tcl/generic/tcl.decls, src/other/tcl/generic/tcl.h, + src/other/tcl/generic/tclAlloc.c, + src/other/tcl/generic/tclAsync.c, + src/other/tcl/generic/tclBasic.c, + src/other/tcl/generic/tclBinary.c, + src/other/tcl/generic/tclCkalloc.c, + src/other/tcl/generic/tclClock.c, + src/other/tcl/generic/tclCmdAH.c, + src/other/tcl/generic/tclCmdIL.c, + src/other/tcl/generic/tclCmdMZ.c, + src/other/tcl/generic/tclCompCmds.c, + src/other/tcl/generic/tclCompExpr.c, + src/other/tcl/generic/tclCompile.c, + src/other/tcl/generic/tclCompile.h, + src/other/tcl/generic/tclConfig.c, + src/other/tcl/generic/tclDTrace.d, + src/other/tcl/generic/tclDate.c, + src/other/tcl/generic/tclDecls.h, + src/other/tcl/generic/tclDictObj.c, + src/other/tcl/generic/tclEncoding.c, + src/other/tcl/generic/tclEnv.c, src/other/tcl/generic/tclEvent.c, + src/other/tcl/generic/tclExecute.c, + src/other/tcl/generic/tclFCmd.c, + src/other/tcl/generic/tclFileName.c, + src/other/tcl/generic/tclFileSystem.h, + src/other/tcl/generic/tclGet.c, + src/other/tcl/generic/tclGetDate.y, + src/other/tcl/generic/tclHash.c, + src/other/tcl/generic/tclHistory.c, + src/other/tcl/generic/tclIO.c, src/other/tcl/generic/tclIO.h, + src/other/tcl/generic/tclIOCmd.c, + src/other/tcl/generic/tclIOGT.c, + src/other/tcl/generic/tclIORChan.c, + src/other/tcl/generic/tclIOSock.c, + src/other/tcl/generic/tclIOUtil.c, + src/other/tcl/generic/tclIndexObj.c, + src/other/tcl/generic/tclInt.decls, + src/other/tcl/generic/tclInt.h, + src/other/tcl/generic/tclIntDecls.h, + src/other/tcl/generic/tclIntPlatDecls.h, + src/other/tcl/generic/tclInterp.c, + src/other/tcl/generic/tclLink.c, + src/other/tcl/generic/tclListObj.c, + src/other/tcl/generic/tclLiteral.c, + src/other/tcl/generic/tclLoad.c, + src/other/tcl/generic/tclLoadNone.c, + src/other/tcl/generic/tclMain.c, + src/other/tcl/generic/tclNamesp.c, + src/other/tcl/generic/tclNotify.c, + src/other/tcl/generic/tclObj.c, src/other/tcl/generic/tclPanic.c, + src/other/tcl/generic/tclParse.c, + src/other/tcl/generic/tclPathObj.c, + src/other/tcl/generic/tclPipe.c, src/other/tcl/generic/tclPkg.c, + src/other/tcl/generic/tclPkgConfig.c, + src/other/tcl/generic/tclPlatDecls.h, + src/other/tcl/generic/tclPort.h, + src/other/tcl/generic/tclPosixStr.c, + src/other/tcl/generic/tclPreserve.c, + src/other/tcl/generic/tclProc.c, + src/other/tcl/generic/tclRegexp.c, + src/other/tcl/generic/tclRegexp.h, + src/other/tcl/generic/tclResolve.c, + src/other/tcl/generic/tclResult.c, + src/other/tcl/generic/tclScan.c, + src/other/tcl/generic/tclStrToD.c, + src/other/tcl/generic/tclStringObj.c, + src/other/tcl/generic/tclStubInit.c, + src/other/tcl/generic/tclStubLib.c, + src/other/tcl/generic/tclTest.c, + src/other/tcl/generic/tclTestObj.c, + src/other/tcl/generic/tclTestProcBodyObj.c, + src/other/tcl/generic/tclThread.c, + src/other/tcl/generic/tclThreadAlloc.c, + src/other/tcl/generic/tclThreadJoin.c, + src/other/tcl/generic/tclThreadStorage.c, + src/other/tcl/generic/tclThreadTest.c, + src/other/tcl/generic/tclTimer.c, + src/other/tcl/generic/tclTomMath.decls, + src/other/tcl/generic/tclTomMath.h, + src/other/tcl/generic/tclTomMathDecls.h, + src/other/tcl/generic/tclTomMathInterface.c, + src/other/tcl/generic/tclTrace.c, + src/other/tcl/generic/tclUniData.c, + src/other/tcl/generic/tclUtf.c, src/other/tcl/generic/tclUtil.c, + src/other/tcl/generic/tclVar.c, + src/other/tcl/library/CMakeLists.txt, + src/other/tcl/library/auto.tcl, src/other/tcl/library/clock.tcl, + src/other/tcl/library/dde/pkgIndex.tcl, + src/other/tcl/library/history.tcl, + src/other/tcl/library/http/http.tcl, + src/other/tcl/library/http/pkgIndex.tcl, + src/other/tcl/library/http1.0/http.tcl, + src/other/tcl/library/init.tcl, + src/other/tcl/library/msgcat/msgcat.tcl, + src/other/tcl/library/msgcat/pkgIndex.tcl, + src/other/tcl/library/msgs/uk.msg, + src/other/tcl/library/opt/optparse.tcl, + src/other/tcl/library/package.tcl, + src/other/tcl/library/parray.tcl, + src/other/tcl/library/platform/pkgIndex.tcl, + src/other/tcl/library/platform/platform.tcl, + src/other/tcl/library/platform/shell.tcl, + src/other/tcl/library/reg/pkgIndex.tcl, + src/other/tcl/library/safe.tcl, + src/other/tcl/library/tcltest/pkgIndex.tcl, + src/other/tcl/library/tcltest/tcltest.tcl, + src/other/tcl/library/tzdata/Africa/Cairo, + src/other/tcl/library/tzdata/Africa/Casablanca, + src/other/tcl/library/tzdata/Africa/Dar_es_Salaam, + src/other/tcl/library/tzdata/Africa/Juba, + src/other/tcl/library/tzdata/Africa/Kampala, + src/other/tcl/library/tzdata/Africa/Nairobi, + src/other/tcl/library/tzdata/America/Araguaina, + src/other/tcl/library/tzdata/America/Atikokan, + src/other/tcl/library/tzdata/America/Bahia, + src/other/tcl/library/tzdata/America/Blanc-Sablon, + src/other/tcl/library/tzdata/America/Creston, + src/other/tcl/library/tzdata/America/Dawson_Creek, + src/other/tcl/library/tzdata/America/Edmonton, + src/other/tcl/library/tzdata/America/Glace_Bay, + src/other/tcl/library/tzdata/America/Goose_Bay, + src/other/tcl/library/tzdata/America/Halifax, + src/other/tcl/library/tzdata/America/Havana, + src/other/tcl/library/tzdata/America/Juneau, + src/other/tcl/library/tzdata/America/Kralendijk, + src/other/tcl/library/tzdata/America/Lower_Princes, + src/other/tcl/library/tzdata/America/Metlakatla, + src/other/tcl/library/tzdata/America/Moncton, + src/other/tcl/library/tzdata/America/Montreal, + src/other/tcl/library/tzdata/America/Nipigon, + src/other/tcl/library/tzdata/America/North_Dakota/Beulah, + src/other/tcl/library/tzdata/America/Port-au-Prince, + src/other/tcl/library/tzdata/America/Rainy_River, + src/other/tcl/library/tzdata/America/Regina, + src/other/tcl/library/tzdata/America/Resolute, + src/other/tcl/library/tzdata/America/Santiago, + src/other/tcl/library/tzdata/America/Sitka, + src/other/tcl/library/tzdata/America/St_Johns, + src/other/tcl/library/tzdata/America/Swift_Current, + src/other/tcl/library/tzdata/America/Toronto, + src/other/tcl/library/tzdata/America/Vancouver, + src/other/tcl/library/tzdata/America/Winnipeg, + src/other/tcl/library/tzdata/Antarctica/Casey, + src/other/tcl/library/tzdata/Antarctica/Davis, + src/other/tcl/library/tzdata/Antarctica/Palmer, + src/other/tcl/library/tzdata/Asia/Amman, + src/other/tcl/library/tzdata/Asia/Anadyr, + src/other/tcl/library/tzdata/Asia/Damascus, + src/other/tcl/library/tzdata/Asia/Gaza, + src/other/tcl/library/tzdata/Asia/Hebron, + src/other/tcl/library/tzdata/Asia/Hong_Kong, + src/other/tcl/library/tzdata/Asia/Irkutsk, + src/other/tcl/library/tzdata/Asia/Jerusalem, + src/other/tcl/library/tzdata/Asia/Kamchatka, + src/other/tcl/library/tzdata/Asia/Krasnoyarsk, + src/other/tcl/library/tzdata/Asia/Magadan, + src/other/tcl/library/tzdata/Asia/Novokuznetsk, + src/other/tcl/library/tzdata/Asia/Novosibirsk, + src/other/tcl/library/tzdata/Asia/Omsk, + src/other/tcl/library/tzdata/Asia/Sakhalin, + src/other/tcl/library/tzdata/Asia/Vladivostok, + src/other/tcl/library/tzdata/Asia/Yakutsk, + src/other/tcl/library/tzdata/Asia/Yekaterinburg, + src/other/tcl/library/tzdata/Asia/Yerevan, + src/other/tcl/library/tzdata/Atlantic/Stanley, + src/other/tcl/library/tzdata/Europe/Istanbul, + src/other/tcl/library/tzdata/Europe/Kaliningrad, + src/other/tcl/library/tzdata/Europe/Minsk, + src/other/tcl/library/tzdata/Europe/Moscow, + src/other/tcl/library/tzdata/Europe/Samara, + src/other/tcl/library/tzdata/Europe/Volgograd, + src/other/tcl/library/tzdata/Pacific/Apia, + src/other/tcl/library/tzdata/Pacific/Easter, + src/other/tcl/library/tzdata/Pacific/Fakaofo, + src/other/tcl/library/tzdata/Pacific/Fiji, + src/other/tcl/library/tzdata/Pacific/Honolulu, + src/other/tcl/library/word.tcl, + src/other/tcl/libtommath/bn_fast_s_mp_mul_digs.c, + src/other/tcl/libtommath/bn_fast_s_mp_sqr.c, + src/other/tcl/libtommath/bn_mp_add.c, + src/other/tcl/libtommath/bn_mp_add_d.c, + src/other/tcl/libtommath/bn_mp_and.c, + src/other/tcl/libtommath/bn_mp_clamp.c, + src/other/tcl/libtommath/bn_mp_clear.c, + src/other/tcl/libtommath/bn_mp_clear_multi.c, + src/other/tcl/libtommath/bn_mp_cmp.c, + src/other/tcl/libtommath/bn_mp_cmp_d.c, + src/other/tcl/libtommath/bn_mp_cmp_mag.c, + src/other/tcl/libtommath/bn_mp_cnt_lsb.c, + src/other/tcl/libtommath/bn_mp_copy.c, + src/other/tcl/libtommath/bn_mp_count_bits.c, + src/other/tcl/libtommath/bn_mp_div.c, + src/other/tcl/libtommath/bn_mp_div_2.c, + src/other/tcl/libtommath/bn_mp_div_2d.c, + src/other/tcl/libtommath/bn_mp_div_3.c, + src/other/tcl/libtommath/bn_mp_div_d.c, + src/other/tcl/libtommath/bn_mp_exch.c, + src/other/tcl/libtommath/bn_mp_expt_d.c, + src/other/tcl/libtommath/bn_mp_grow.c, + src/other/tcl/libtommath/bn_mp_init.c, + src/other/tcl/libtommath/bn_mp_init_copy.c, + src/other/tcl/libtommath/bn_mp_init_multi.c, + src/other/tcl/libtommath/bn_mp_init_set.c, + src/other/tcl/libtommath/bn_mp_init_set_int.c, + src/other/tcl/libtommath/bn_mp_init_size.c, + src/other/tcl/libtommath/bn_mp_karatsuba_mul.c, + src/other/tcl/libtommath/bn_mp_karatsuba_sqr.c, + src/other/tcl/libtommath/bn_mp_lshd.c, + src/other/tcl/libtommath/bn_mp_mod.c, + src/other/tcl/libtommath/bn_mp_mod_2d.c, + src/other/tcl/libtommath/bn_mp_mul.c, + src/other/tcl/libtommath/bn_mp_mul_2.c, + src/other/tcl/libtommath/bn_mp_mul_2d.c, + src/other/tcl/libtommath/bn_mp_mul_d.c, + src/other/tcl/libtommath/bn_mp_neg.c, + src/other/tcl/libtommath/bn_mp_or.c, + src/other/tcl/libtommath/bn_mp_radix_size.c, + src/other/tcl/libtommath/bn_mp_radix_smap.c, + src/other/tcl/libtommath/bn_mp_read_radix.c, + src/other/tcl/libtommath/bn_mp_rshd.c, + src/other/tcl/libtommath/bn_mp_set.c, + src/other/tcl/libtommath/bn_mp_set_int.c, + src/other/tcl/libtommath/bn_mp_shrink.c, + src/other/tcl/libtommath/bn_mp_sqr.c, + src/other/tcl/libtommath/bn_mp_sqrt.c, + src/other/tcl/libtommath/bn_mp_sub.c, + src/other/tcl/libtommath/bn_mp_sub_d.c, + src/other/tcl/libtommath/bn_mp_to_unsigned_bin.c, + src/other/tcl/libtommath/bn_mp_to_unsigned_bin_n.c, + src/other/tcl/libtommath/bn_mp_toom_mul.c, + src/other/tcl/libtommath/bn_mp_toom_sqr.c, + src/other/tcl/libtommath/bn_mp_toradix_n.c, + src/other/tcl/libtommath/bn_mp_unsigned_bin_size.c, + src/other/tcl/libtommath/bn_mp_xor.c, + src/other/tcl/libtommath/bn_mp_zero.c, + src/other/tcl/libtommath/bn_reverse.c, + src/other/tcl/libtommath/bn_s_mp_add.c, + src/other/tcl/libtommath/bn_s_mp_mul_digs.c, + src/other/tcl/libtommath/bn_s_mp_sqr.c, + src/other/tcl/libtommath/bn_s_mp_sub.c, + src/other/tcl/libtommath/bncore.c, + src/other/tcl/libtommath/tommath.h, + src/other/tcl/libtommath/tommath_class.h, + src/other/tcl/libtommath/tommath_superclass.h, + src/other/tcl/macosx/GNUmakefile, src/other/tcl/macosx/README, + src/other/tcl/macosx/Tcl-Common.xcconfig, + src/other/tcl/macosx/Tcl-Debug.xcconfig, + src/other/tcl/macosx/Tcl-Info.plist.in, + src/other/tcl/macosx/Tcl-Release.xcconfig, + src/other/tcl/macosx/Tcl.xcode/project.pbxproj, + src/other/tcl/macosx/Tcl.xcodeproj/project.pbxproj, + src/other/tcl/macosx/Tclsh-Info.plist.in, + src/other/tcl/macosx/configure, + src/other/tcl/macosx/configure.ac, + src/other/tcl/macosx/tclMacOSXBundle.c, + src/other/tcl/macosx/tclMacOSXFCmd.c, + src/other/tcl/macosx/tclMacOSXNotify.c, + src/other/tcl/tests/README, src/other/tcl/tests/all.tcl, + src/other/tcl/tests/append.test, + src/other/tcl/tests/appendComp.test, + src/other/tcl/tests/apply.test, src/other/tcl/tests/assocd.test, + src/other/tcl/tests/async.test, + src/other/tcl/tests/autoMkindex.test, + src/other/tcl/tests/basic.test, src/other/tcl/tests/binary.test, + src/other/tcl/tests/case.test, src/other/tcl/tests/chan.test, + src/other/tcl/tests/chanio.test, src/other/tcl/tests/clock.test, + src/other/tcl/tests/cmdAH.test, src/other/tcl/tests/cmdIL.test, + src/other/tcl/tests/cmdInfo.test, src/other/tcl/tests/cmdMZ.test, + src/other/tcl/tests/compExpr-old.test, + src/other/tcl/tests/compExpr.test, + src/other/tcl/tests/compile.test, + src/other/tcl/tests/concat.test, src/other/tcl/tests/config.test, + src/other/tcl/tests/dcall.test, src/other/tcl/tests/dict.test, + src/other/tcl/tests/dstring.test, + src/other/tcl/tests/encoding.test, src/other/tcl/tests/env.test, + src/other/tcl/tests/error.test, src/other/tcl/tests/eval.test, + src/other/tcl/tests/event.test, src/other/tcl/tests/exec.test, + src/other/tcl/tests/execute.test, + src/other/tcl/tests/expr-old.test, src/other/tcl/tests/expr.test, + src/other/tcl/tests/fCmd.test, src/other/tcl/tests/fileName.test, + src/other/tcl/tests/fileSystem.test, + src/other/tcl/tests/for-old.test, src/other/tcl/tests/for.test, + src/other/tcl/tests/foreach.test, + src/other/tcl/tests/format.test, src/other/tcl/tests/get.test, + src/other/tcl/tests/history.test, src/other/tcl/tests/http.test, + src/other/tcl/tests/httpd, src/other/tcl/tests/httpold.test, + src/other/tcl/tests/if-old.test, src/other/tcl/tests/if.test, + src/other/tcl/tests/incr-old.test, src/other/tcl/tests/incr.test, + src/other/tcl/tests/indexObj.test, src/other/tcl/tests/info.test, + src/other/tcl/tests/init.test, src/other/tcl/tests/interp.test, + src/other/tcl/tests/io.test, src/other/tcl/tests/ioCmd.test, + src/other/tcl/tests/ioUtil.test, src/other/tcl/tests/iogt.test, + src/other/tcl/tests/join.test, src/other/tcl/tests/lindex.test, + src/other/tcl/tests/link.test, src/other/tcl/tests/linsert.test, + src/other/tcl/tests/list.test, src/other/tcl/tests/listObj.test, + src/other/tcl/tests/llength.test, src/other/tcl/tests/load.test, + src/other/tcl/tests/lrange.test, + src/other/tcl/tests/lrepeat.test, + src/other/tcl/tests/lreplace.test, + src/other/tcl/tests/lsearch.test, src/other/tcl/tests/lset.test, + src/other/tcl/tests/lsetComp.test, + src/other/tcl/tests/macOSXFCmd.test, + src/other/tcl/tests/macOSXLoad.test, + src/other/tcl/tests/main.test, src/other/tcl/tests/mathop.test, + src/other/tcl/tests/misc.test, src/other/tcl/tests/msgcat.test, + src/other/tcl/tests/namespace-old.test, + src/other/tcl/tests/namespace.test, + src/other/tcl/tests/notify.test, src/other/tcl/tests/obj.test, + src/other/tcl/tests/opt.test, src/other/tcl/tests/package.test, + src/other/tcl/tests/parse.test, + src/other/tcl/tests/parseExpr.test, + src/other/tcl/tests/parseOld.test, src/other/tcl/tests/pid.test, + src/other/tcl/tests/pkg.test, + src/other/tcl/tests/pkgMkIndex.test, + src/other/tcl/tests/platform.test, + src/other/tcl/tests/proc-old.test, src/other/tcl/tests/proc.test, + src/other/tcl/tests/pwd.test, src/other/tcl/tests/reg.test, + src/other/tcl/tests/regexp.test, + src/other/tcl/tests/regexpComp.test, + src/other/tcl/tests/registry.test, + src/other/tcl/tests/remote.tcl, src/other/tcl/tests/rename.test, + src/other/tcl/tests/result.test, src/other/tcl/tests/safe.test, + src/other/tcl/tests/scan.test, src/other/tcl/tests/security.test, + src/other/tcl/tests/set-old.test, src/other/tcl/tests/set.test, + src/other/tcl/tests/socket.test, src/other/tcl/tests/source.test, + src/other/tcl/tests/split.test, src/other/tcl/tests/stack.test, + src/other/tcl/tests/string.test, + src/other/tcl/tests/stringComp.test, + src/other/tcl/tests/stringObj.test, + src/other/tcl/tests/subst.test, src/other/tcl/tests/switch.test, + src/other/tcl/tests/tcltest.test, + src/other/tcl/tests/thread.test, src/other/tcl/tests/timer.test, + src/other/tcl/tests/tm.test, src/other/tcl/tests/trace.test, + src/other/tcl/tests/unixFCmd.test, + src/other/tcl/tests/unixFile.test, + src/other/tcl/tests/unixInit.test, + src/other/tcl/tests/unixNotfy.test, + src/other/tcl/tests/unknown.test, + src/other/tcl/tests/unload.test, + src/other/tcl/tests/uplevel.test, src/other/tcl/tests/upvar.test, + src/other/tcl/tests/utf.test, src/other/tcl/tests/util.test, + src/other/tcl/tests/var.test, src/other/tcl/tests/while-old.test, + src/other/tcl/tests/while.test, + src/other/tcl/tests/winConsole.test, + src/other/tcl/tests/winDde.test, + src/other/tcl/tests/winFCmd.test, + src/other/tcl/tests/winFile.test, + src/other/tcl/tests/winNotify.test, + src/other/tcl/tests/winPipe.test, + src/other/tcl/tests/winTime.test, + src/other/tcl/tools/Makefile.in, + src/other/tcl/tools/checkLibraryDoc.tcl, + src/other/tcl/tools/configure, src/other/tcl/tools/configure.in, + src/other/tcl/tools/findBadExternals.tcl, + src/other/tcl/tools/fix_tommath_h.tcl, + src/other/tcl/tools/genStubs.tcl, src/other/tcl/tools/index.tcl, + src/other/tcl/tools/installData.tcl, + src/other/tcl/tools/loadICU.tcl, + src/other/tcl/tools/man2help.tcl, + src/other/tcl/tools/man2help2.tcl, + src/other/tcl/tools/man2html.tcl, + src/other/tcl/tools/man2html1.tcl, + src/other/tcl/tools/man2html2.tcl, src/other/tcl/tools/man2tcl.c, + src/other/tcl/tools/mkdepend.tcl, + src/other/tcl/tools/regexpTestLib.tcl, + src/other/tcl/tools/tcl.wse.in, src/other/tcl/tools/tclZIC.tcl, + src/other/tcl/tools/tcltk-man2html.tcl, + src/other/tcl/tools/uniClass.tcl, + src/other/tcl/tools/uniParse.tcl, src/other/tcl/unix/Makefile.in, + src/other/tcl/unix/README, src/other/tcl/unix/configure.in, + src/other/tcl/unix/dltest/Makefile.in, + src/other/tcl/unix/dltest/README, + src/other/tcl/unix/dltest/pkga.c, + src/other/tcl/unix/dltest/pkgb.c, + src/other/tcl/unix/dltest/pkgc.c, + src/other/tcl/unix/dltest/pkgd.c, + src/other/tcl/unix/dltest/pkge.c, + src/other/tcl/unix/dltest/pkgua.c, src/other/tcl/unix/install-sh, + src/other/tcl/unix/ldAix, src/other/tcl/unix/tcl.m4, + src/other/tcl/unix/tclAppInit.c, + src/other/tcl/unix/tclConfig.h.in, + src/other/tcl/unix/tclConfig.sh.in, + src/other/tcl/unix/tclLoadAix.c, src/other/tcl/unix/tclLoadDl.c, + src/other/tcl/unix/tclLoadDyld.c, + src/other/tcl/unix/tclLoadNext.c, + src/other/tcl/unix/tclLoadOSF.c, src/other/tcl/unix/tclLoadShl.c, + src/other/tcl/unix/tclUnixChan.c, + src/other/tcl/unix/tclUnixCompat.c, + src/other/tcl/unix/tclUnixEvent.c, + src/other/tcl/unix/tclUnixFCmd.c, + src/other/tcl/unix/tclUnixFile.c, + src/other/tcl/unix/tclUnixInit.c, + src/other/tcl/unix/tclUnixNotfy.c, + src/other/tcl/unix/tclUnixPipe.c, + src/other/tcl/unix/tclUnixPort.h, + src/other/tcl/unix/tclUnixSock.c, + src/other/tcl/unix/tclUnixTest.c, + src/other/tcl/unix/tclUnixThrd.c, + src/other/tcl/unix/tclUnixThrd.h, + src/other/tcl/unix/tclUnixTime.c, + src/other/tcl/unix/tclXtNotify.c, src/other/tcl/unix/tclXtTest.c, + src/other/tcl/win/Makefile.in, src/other/tcl/win/README, + src/other/tcl/win/buildall.vc.bat, src/other/tcl/win/cat.c, + src/other/tcl/win/coffbase.txt, src/other/tcl/win/configure, + src/other/tcl/win/configure.in, src/other/tcl/win/makefile.bc, + src/other/tcl/win/makefile.vc, src/other/tcl/win/nmakehlp.c, + src/other/tcl/win/rules.vc, src/other/tcl/win/stub16.c, + src/other/tcl/win/tcl.m4, src/other/tcl/win/tcl.rc, + src/other/tcl/win/tclAppInit.c, + src/other/tcl/win/tclConfig.sh.in, + src/other/tcl/win/tclWin32Dll.c, src/other/tcl/win/tclWinChan.c, + src/other/tcl/win/tclWinConsole.c, src/other/tcl/win/tclWinDde.c, + src/other/tcl/win/tclWinError.c, src/other/tcl/win/tclWinFCmd.c, + src/other/tcl/win/tclWinFile.c, src/other/tcl/win/tclWinInit.c, + src/other/tcl/win/tclWinInt.h, src/other/tcl/win/tclWinLoad.c, + src/other/tcl/win/tclWinNotify.c, src/other/tcl/win/tclWinPipe.c, + src/other/tcl/win/tclWinPort.h, src/other/tcl/win/tclWinReg.c, + src/other/tcl/win/tclWinSerial.c, src/other/tcl/win/tclWinSock.c, + src/other/tcl/win/tclWinTest.c, src/other/tcl/win/tclWinThrd.c, + src/other/tcl/win/tclWinThrd.h, src/other/tcl/win/tclWinTime.c, + src/other/tcl/win/tclsh.rc, src/other/tk.dist, + src/other/tk/CMakeLists.txt, src/other/tk/ChangeLog, + src/other/tk/ChangeLog.2004, src/other/tk/README, + src/other/tk/changes, src/other/tk/compat/license.terms, + src/other/tk/compat/limits.h, src/other/tk/compat/stdlib.h, + src/other/tk/compat/unistd.h, src/other/tk/doc/3DBorder.3, + src/other/tk/doc/AddOption.3, src/other/tk/doc/BindTable.3, + src/other/tk/doc/CanvPsY.3, src/other/tk/doc/CanvTkwin.3, + src/other/tk/doc/CanvTxtInfo.3, src/other/tk/doc/Clipboard.3, + src/other/tk/doc/ClrSelect.3, src/other/tk/doc/ConfigWidg.3, + src/other/tk/doc/ConfigWind.3, src/other/tk/doc/CoordToWin.3, + src/other/tk/doc/CrtCmHdlr.3, src/other/tk/doc/CrtConsoleChan.3, + src/other/tk/doc/CrtErrHdlr.3, src/other/tk/doc/CrtGenHdlr.3, + src/other/tk/doc/CrtImgType.3, src/other/tk/doc/CrtItemType.3, + src/other/tk/doc/CrtPhImgFmt.3, src/other/tk/doc/CrtSelHdlr.3, + src/other/tk/doc/CrtWindow.3, src/other/tk/doc/DeleteImg.3, + src/other/tk/doc/DrawFocHlt.3, src/other/tk/doc/EventHndlr.3, + src/other/tk/doc/FindPhoto.3, src/other/tk/doc/FontId.3, + src/other/tk/doc/FreeXId.3, src/other/tk/doc/GeomReq.3, + src/other/tk/doc/GetAnchor.3, src/other/tk/doc/GetBitmap.3, + src/other/tk/doc/GetCapStyl.3, src/other/tk/doc/GetClrmap.3, + src/other/tk/doc/GetColor.3, src/other/tk/doc/GetCursor.3, + src/other/tk/doc/GetDash.3, src/other/tk/doc/GetFont.3, + src/other/tk/doc/GetGC.3, src/other/tk/doc/GetHINSTANCE.3, + src/other/tk/doc/GetHWND.3, src/other/tk/doc/GetImage.3, + src/other/tk/doc/GetJoinStl.3, src/other/tk/doc/GetJustify.3, + src/other/tk/doc/GetOption.3, src/other/tk/doc/GetPixels.3, + src/other/tk/doc/GetPixmap.3, src/other/tk/doc/GetRelief.3, + src/other/tk/doc/GetRootCrd.3, src/other/tk/doc/GetScroll.3, + src/other/tk/doc/GetSelect.3, src/other/tk/doc/GetUid.3, + src/other/tk/doc/GetVRoot.3, src/other/tk/doc/GetVisual.3, + src/other/tk/doc/Grab.3, src/other/tk/doc/HWNDToWindow.3, + src/other/tk/doc/HandleEvent.3, src/other/tk/doc/IdToWindow.3, + src/other/tk/doc/ImgChanged.3, src/other/tk/doc/Inactive.3, + src/other/tk/doc/InternAtom.3, src/other/tk/doc/MainLoop.3, + src/other/tk/doc/MainWin.3, src/other/tk/doc/MaintGeom.3, + src/other/tk/doc/ManageGeom.3, src/other/tk/doc/MapWindow.3, + src/other/tk/doc/MeasureChar.3, src/other/tk/doc/MoveToplev.3, + src/other/tk/doc/Name.3, src/other/tk/doc/NameOfImg.3, + src/other/tk/doc/OwnSelect.3, src/other/tk/doc/ParseArgv.3, + src/other/tk/doc/QWinEvent.3, src/other/tk/doc/Restack.3, + src/other/tk/doc/RestrictEv.3, src/other/tk/doc/SetAppName.3, + src/other/tk/doc/SetCaret.3, src/other/tk/doc/SetClass.3, + src/other/tk/doc/SetClassProcs.3, src/other/tk/doc/SetGrid.3, + src/other/tk/doc/SetOptions.3, src/other/tk/doc/SetVisual.3, + src/other/tk/doc/StrictMotif.3, src/other/tk/doc/TextLayout.3, + src/other/tk/doc/TkInitStubs.3, src/other/tk/doc/Tk_Init.3, + src/other/tk/doc/Tk_Main.3, src/other/tk/doc/WindowId.3, + src/other/tk/doc/bell.n, src/other/tk/doc/bind.n, + src/other/tk/doc/bindtags.n, src/other/tk/doc/bitmap.n, + src/other/tk/doc/button.n, src/other/tk/doc/canvas.n, + src/other/tk/doc/checkbutton.n, src/other/tk/doc/chooseColor.n, + src/other/tk/doc/chooseDirectory.n, src/other/tk/doc/clipboard.n, + src/other/tk/doc/colors.n, src/other/tk/doc/console.n, + src/other/tk/doc/cursors.n, src/other/tk/doc/destroy.n, + src/other/tk/doc/dialog.n, src/other/tk/doc/entry.n, + src/other/tk/doc/event.n, src/other/tk/doc/focus.n, + src/other/tk/doc/focusNext.n, src/other/tk/doc/font.n, + src/other/tk/doc/frame.n, src/other/tk/doc/getOpenFile.n, + src/other/tk/doc/grab.n, src/other/tk/doc/grid.n, + src/other/tk/doc/image.n, src/other/tk/doc/keysyms.n, + src/other/tk/doc/label.n, src/other/tk/doc/labelframe.n, + src/other/tk/doc/license.terms, src/other/tk/doc/listbox.n, + src/other/tk/doc/loadTk.n, src/other/tk/doc/lower.n, + src/other/tk/doc/man.macros, src/other/tk/doc/menu.n, + src/other/tk/doc/menubar.n, src/other/tk/doc/menubutton.n, + src/other/tk/doc/message.n, src/other/tk/doc/messageBox.n, + src/other/tk/doc/option.n, src/other/tk/doc/optionMenu.n, + src/other/tk/doc/options.n, src/other/tk/doc/pack-old.n, + src/other/tk/doc/pack.n, src/other/tk/doc/palette.n, + src/other/tk/doc/panedwindow.n, src/other/tk/doc/photo.n, + src/other/tk/doc/place.n, src/other/tk/doc/popup.n, + src/other/tk/doc/radiobutton.n, src/other/tk/doc/raise.n, + src/other/tk/doc/scale.n, src/other/tk/doc/scrollbar.n, + src/other/tk/doc/selection.n, src/other/tk/doc/send.n, + src/other/tk/doc/spinbox.n, src/other/tk/doc/text.n, + src/other/tk/doc/tk.n, src/other/tk/doc/tkerror.n, + src/other/tk/doc/tkvars.n, src/other/tk/doc/tkwait.n, + src/other/tk/doc/toplevel.n, src/other/tk/doc/ttk_Geometry.3, + src/other/tk/doc/ttk_Theme.3, src/other/tk/doc/ttk_button.n, + src/other/tk/doc/ttk_checkbutton.n, + src/other/tk/doc/ttk_combobox.n, src/other/tk/doc/ttk_entry.n, + src/other/tk/doc/ttk_frame.n, src/other/tk/doc/ttk_image.n, + src/other/tk/doc/ttk_intro.n, src/other/tk/doc/ttk_label.n, + src/other/tk/doc/ttk_labelframe.n, + src/other/tk/doc/ttk_menubutton.n, + src/other/tk/doc/ttk_notebook.n, + src/other/tk/doc/ttk_panedwindow.n, + src/other/tk/doc/ttk_progressbar.n, + src/other/tk/doc/ttk_radiobutton.n, src/other/tk/doc/ttk_scale.n, + src/other/tk/doc/ttk_scrollbar.n, + src/other/tk/doc/ttk_separator.n, + src/other/tk/doc/ttk_sizegrip.n, src/other/tk/doc/ttk_spinbox.n, + src/other/tk/doc/ttk_style.n, src/other/tk/doc/ttk_treeview.n, + src/other/tk/doc/ttk_vsapi.n, src/other/tk/doc/ttk_widget.n, + src/other/tk/doc/winfo.n, src/other/tk/doc/wish.1, + src/other/tk/doc/wm.n, src/other/tk/generic/README, + src/other/tk/generic/default.h, src/other/tk/generic/ks_names.h, + src/other/tk/generic/prolog.ps, src/other/tk/generic/tk.decls, + src/other/tk/generic/tk.h, src/other/tk/generic/tk3d.c, + src/other/tk/generic/tk3d.h, src/other/tk/generic/tkArgv.c, + src/other/tk/generic/tkAtom.c, src/other/tk/generic/tkBind.c, + src/other/tk/generic/tkBitmap.c, src/other/tk/generic/tkButton.c, + src/other/tk/generic/tkButton.h, + src/other/tk/generic/tkCanvArc.c, + src/other/tk/generic/tkCanvBmap.c, + src/other/tk/generic/tkCanvImg.c, + src/other/tk/generic/tkCanvLine.c, + src/other/tk/generic/tkCanvPoly.c, + src/other/tk/generic/tkCanvPs.c, + src/other/tk/generic/tkCanvText.c, + src/other/tk/generic/tkCanvUtil.c, + src/other/tk/generic/tkCanvWind.c, + src/other/tk/generic/tkCanvas.c, src/other/tk/generic/tkCanvas.h, + src/other/tk/generic/tkClipboard.c, + src/other/tk/generic/tkCmds.c, src/other/tk/generic/tkColor.c, + src/other/tk/generic/tkColor.h, src/other/tk/generic/tkConfig.c, + src/other/tk/generic/tkConsole.c, + src/other/tk/generic/tkCursor.c, src/other/tk/generic/tkDecls.h, + src/other/tk/generic/tkEntry.c, src/other/tk/generic/tkError.c, + src/other/tk/generic/tkEvent.c, + src/other/tk/generic/tkFileFilter.c, + src/other/tk/generic/tkFileFilter.h, + src/other/tk/generic/tkFocus.c, src/other/tk/generic/tkFont.c, + src/other/tk/generic/tkFont.h, src/other/tk/generic/tkFrame.c, + src/other/tk/generic/tkGC.c, src/other/tk/generic/tkGeometry.c, + src/other/tk/generic/tkGet.c, src/other/tk/generic/tkGrab.c, + src/other/tk/generic/tkGrid.c, src/other/tk/generic/tkImage.c, + src/other/tk/generic/tkImgBmap.c, + src/other/tk/generic/tkImgGIF.c, src/other/tk/generic/tkImgPPM.c, + src/other/tk/generic/tkImgPhoto.c, + src/other/tk/generic/tkImgUtil.c, + src/other/tk/generic/tkInt.decls, src/other/tk/generic/tkInt.h, + src/other/tk/generic/tkIntDecls.h, + src/other/tk/generic/tkIntPlatDecls.h, + src/other/tk/generic/tkIntXlibDecls.h, + src/other/tk/generic/tkListbox.c, + src/other/tk/generic/tkMacWinMenu.c, + src/other/tk/generic/tkMain.c, src/other/tk/generic/tkMenu.c, + src/other/tk/generic/tkMenu.h, src/other/tk/generic/tkMenuDraw.c, + src/other/tk/generic/tkMenubutton.c, + src/other/tk/generic/tkMenubutton.h, + src/other/tk/generic/tkMessage.c, src/other/tk/generic/tkObj.c, + src/other/tk/generic/tkOldConfig.c, + src/other/tk/generic/tkOldTest.c, + src/other/tk/generic/tkOption.c, src/other/tk/generic/tkPack.c, + src/other/tk/generic/tkPanedWindow.c, + src/other/tk/generic/tkPlace.c, + src/other/tk/generic/tkPlatDecls.h, + src/other/tk/generic/tkPointer.c, src/other/tk/generic/tkPort.h, + src/other/tk/generic/tkRectOval.c, + src/other/tk/generic/tkScale.c, src/other/tk/generic/tkScale.h, + src/other/tk/generic/tkScrollbar.c, + src/other/tk/generic/tkScrollbar.h, + src/other/tk/generic/tkSelect.c, src/other/tk/generic/tkSelect.h, + src/other/tk/generic/tkSquare.c, + src/other/tk/generic/tkStubInit.c, + src/other/tk/generic/tkStubLib.c, src/other/tk/generic/tkStyle.c, + src/other/tk/generic/tkTest.c, src/other/tk/generic/tkText.c, + src/other/tk/generic/tkText.h, + src/other/tk/generic/tkTextBTree.c, + src/other/tk/generic/tkTextDisp.c, + src/other/tk/generic/tkTextImage.c, + src/other/tk/generic/tkTextIndex.c, + src/other/tk/generic/tkTextMark.c, + src/other/tk/generic/tkTextTag.c, + src/other/tk/generic/tkTextWind.c, src/other/tk/generic/tkTrig.c, + src/other/tk/generic/tkUndo.c, src/other/tk/generic/tkUndo.h, + src/other/tk/generic/tkUtil.c, src/other/tk/generic/tkVisual.c, + src/other/tk/generic/tkWindow.c, + src/other/tk/generic/ttk/ttk.decls, + src/other/tk/generic/ttk/ttkBlink.c, + src/other/tk/generic/ttk/ttkButton.c, + src/other/tk/generic/ttk/ttkCache.c, + src/other/tk/generic/ttk/ttkClamTheme.c, + src/other/tk/generic/ttk/ttkClassicTheme.c, + src/other/tk/generic/ttk/ttkDecls.h, + src/other/tk/generic/ttk/ttkDefaultTheme.c, + src/other/tk/generic/ttk/ttkElements.c, + src/other/tk/generic/ttk/ttkEntry.c, + src/other/tk/generic/ttk/ttkFrame.c, + src/other/tk/generic/ttk/ttkGenStubs.tcl, + src/other/tk/generic/ttk/ttkImage.c, + src/other/tk/generic/ttk/ttkInit.c, + src/other/tk/generic/ttk/ttkLabel.c, + src/other/tk/generic/ttk/ttkLayout.c, + src/other/tk/generic/ttk/ttkManager.c, + src/other/tk/generic/ttk/ttkManager.h, + src/other/tk/generic/ttk/ttkNotebook.c, + src/other/tk/generic/ttk/ttkPanedwindow.c, + src/other/tk/generic/ttk/ttkProgress.c, + src/other/tk/generic/ttk/ttkScale.c, + src/other/tk/generic/ttk/ttkScroll.c, + src/other/tk/generic/ttk/ttkScrollbar.c, + src/other/tk/generic/ttk/ttkSeparator.c, + src/other/tk/generic/ttk/ttkSquare.c, + src/other/tk/generic/ttk/ttkState.c, + src/other/tk/generic/ttk/ttkStubInit.c, + src/other/tk/generic/ttk/ttkStubLib.c, + src/other/tk/generic/ttk/ttkTagSet.c, + src/other/tk/generic/ttk/ttkTheme.c, + src/other/tk/generic/ttk/ttkTheme.h, + src/other/tk/generic/ttk/ttkThemeInt.h, + src/other/tk/generic/ttk/ttkTrace.c, + src/other/tk/generic/ttk/ttkTrack.c, + src/other/tk/generic/ttk/ttkTreeview.c, + src/other/tk/generic/ttk/ttkWidget.c, + src/other/tk/generic/ttk/ttkWidget.h, + src/other/tk/library/bgerror.tcl, + src/other/tk/library/button.tcl, + src/other/tk/library/choosedir.tcl, + src/other/tk/library/clrpick.tcl, + src/other/tk/library/comdlg.tcl, + src/other/tk/library/console.tcl, + src/other/tk/library/demos/README, + src/other/tk/library/demos/anilabel.tcl, + src/other/tk/library/demos/aniwave.tcl, + src/other/tk/library/demos/arrow.tcl, + src/other/tk/library/demos/bind.tcl, + src/other/tk/library/demos/bitmap.tcl, + src/other/tk/library/demos/browse, + src/other/tk/library/demos/button.tcl, + src/other/tk/library/demos/check.tcl, + src/other/tk/library/demos/clrpick.tcl, + src/other/tk/library/demos/colors.tcl, + src/other/tk/library/demos/combo.tcl, + src/other/tk/library/demos/cscroll.tcl, + src/other/tk/library/demos/ctext.tcl, + src/other/tk/library/demos/dialog1.tcl, + src/other/tk/library/demos/dialog2.tcl, + src/other/tk/library/demos/entry1.tcl, + src/other/tk/library/demos/entry2.tcl, + src/other/tk/library/demos/entry3.tcl, + src/other/tk/library/demos/filebox.tcl, + src/other/tk/library/demos/floor.tcl, + src/other/tk/library/demos/form.tcl, + src/other/tk/library/demos/hello, + src/other/tk/library/demos/hscale.tcl, + src/other/tk/library/demos/icon.tcl, + src/other/tk/library/demos/image1.tcl, + src/other/tk/library/demos/image2.tcl, + src/other/tk/library/demos/items.tcl, + src/other/tk/library/demos/ixset, + src/other/tk/library/demos/label.tcl, + src/other/tk/library/demos/labelframe.tcl, + src/other/tk/library/demos/license.terms, + src/other/tk/library/demos/mclist.tcl, + src/other/tk/library/demos/menu.tcl, + src/other/tk/library/demos/menubu.tcl, + src/other/tk/library/demos/msgbox.tcl, + src/other/tk/library/demos/paned1.tcl, + src/other/tk/library/demos/paned2.tcl, + src/other/tk/library/demos/pendulum.tcl, + src/other/tk/library/demos/plot.tcl, + src/other/tk/library/demos/puzzle.tcl, + src/other/tk/library/demos/radio.tcl, + src/other/tk/library/demos/rmt, + src/other/tk/library/demos/rolodex, + src/other/tk/library/demos/ruler.tcl, + src/other/tk/library/demos/sayings.tcl, + src/other/tk/library/demos/search.tcl, + src/other/tk/library/demos/spin.tcl, + src/other/tk/library/demos/square, + src/other/tk/library/demos/states.tcl, + src/other/tk/library/demos/style.tcl, + src/other/tk/library/demos/tcolor, + src/other/tk/library/demos/text.tcl, + src/other/tk/library/demos/textpeer.tcl, + src/other/tk/library/demos/timer, + src/other/tk/library/demos/toolbar.tcl, + src/other/tk/library/demos/tree.tcl, + src/other/tk/library/demos/ttkbut.tcl, + src/other/tk/library/demos/ttkmenu.tcl, + src/other/tk/library/demos/ttknote.tcl, + src/other/tk/library/demos/ttkpane.tcl, + src/other/tk/library/demos/ttkprogress.tcl, + src/other/tk/library/demos/ttkscale.tcl, + src/other/tk/library/demos/twind.tcl, + src/other/tk/library/demos/unicodeout.tcl, + src/other/tk/library/demos/vscale.tcl, + src/other/tk/library/demos/widget, + src/other/tk/library/dialog.tcl, src/other/tk/library/entry.tcl, + src/other/tk/library/focus.tcl, + src/other/tk/library/images/README, + src/other/tk/library/license.terms, + src/other/tk/library/listbox.tcl, src/other/tk/library/menu.tcl, + src/other/tk/library/mkpsenc.tcl, + src/other/tk/library/msgbox.tcl, + src/other/tk/library/msgs/de.msg, + src/other/tk/library/obsolete.tcl, + src/other/tk/library/optMenu.tcl, + src/other/tk/library/palette.tcl, + src/other/tk/library/panedwindow.tcl, + src/other/tk/library/safetk.tcl, src/other/tk/library/scale.tcl, + src/other/tk/library/scrlbar.tcl, + src/other/tk/library/spinbox.tcl, + src/other/tk/library/tearoff.tcl, src/other/tk/library/text.tcl, + src/other/tk/library/tk.tcl, src/other/tk/library/tkfbox.tcl, + src/other/tk/library/ttk/altTheme.tcl, + src/other/tk/library/ttk/aquaTheme.tcl, + src/other/tk/library/ttk/button.tcl, + src/other/tk/library/ttk/clamTheme.tcl, + src/other/tk/library/ttk/classicTheme.tcl, + src/other/tk/library/ttk/combobox.tcl, + src/other/tk/library/ttk/cursors.tcl, + src/other/tk/library/ttk/defaults.tcl, + src/other/tk/library/ttk/entry.tcl, + src/other/tk/library/ttk/fonts.tcl, + src/other/tk/library/ttk/menubutton.tcl, + src/other/tk/library/ttk/notebook.tcl, + src/other/tk/library/ttk/panedwindow.tcl, + src/other/tk/library/ttk/progress.tcl, + src/other/tk/library/ttk/scale.tcl, + src/other/tk/library/ttk/scrollbar.tcl, + src/other/tk/library/ttk/sizegrip.tcl, + src/other/tk/library/ttk/spinbox.tcl, + src/other/tk/library/ttk/treeview.tcl, + src/other/tk/library/ttk/ttk.tcl, + src/other/tk/library/ttk/utils.tcl, + src/other/tk/library/ttk/vistaTheme.tcl, + src/other/tk/library/ttk/winTheme.tcl, + src/other/tk/library/ttk/xpTheme.tcl, + src/other/tk/library/unsupported.tcl, + src/other/tk/library/xmfbox.tcl, src/other/tk/license.terms, + src/other/tk/macosx/GNUmakefile, src/other/tk/macosx/README, + src/other/tk/macosx/Tk-Info.plist.in, + src/other/tk/macosx/Tk.icns, src/other/tk/macosx/Tk.tiff, + src/other/tk/macosx/Wish-Common.xcconfig, + src/other/tk/macosx/Wish-Debug.xcconfig, + src/other/tk/macosx/Wish-Info.plist.in, + src/other/tk/macosx/Wish-Release.xcconfig, + src/other/tk/macosx/Wish.icns, + src/other/tk/macosx/Wish.pbproj/default.pbxuser, + src/other/tk/macosx/Wish.pbproj/jingham.pbxuser, + src/other/tk/macosx/Wish.pbproj/project.pbxproj, + src/other/tk/macosx/Wish.sdef, + src/other/tk/macosx/Wish.xcode/default.pbxuser, + src/other/tk/macosx/Wish.xcode/project.pbxproj, + src/other/tk/macosx/Wish.xcodeproj/default.pbxuser, + src/other/tk/macosx/Wish.xcodeproj/project.pbxproj, + src/other/tk/macosx/configure, src/other/tk/macosx/configure.ac, + src/other/tk/macosx/license.terms, + src/other/tk/macosx/tkAboutDlg.r, src/other/tk/macosx/tkMacOSX.h, + src/other/tk/macosx/tkMacOSXAETE.r, + src/other/tk/macosx/tkMacOSXBitmap.c, + src/other/tk/macosx/tkMacOSXButton.c, + src/other/tk/macosx/tkMacOSXCarbonEvents.c, + src/other/tk/macosx/tkMacOSXClipboard.c, + src/other/tk/macosx/tkMacOSXColor.c, + src/other/tk/macosx/tkMacOSXConfig.c, + src/other/tk/macosx/tkMacOSXCursor.c, + src/other/tk/macosx/tkMacOSXCursors.h, + src/other/tk/macosx/tkMacOSXCursors.r, + src/other/tk/macosx/tkMacOSXDebug.c, + src/other/tk/macosx/tkMacOSXDebug.h, + src/other/tk/macosx/tkMacOSXDefault.h, + src/other/tk/macosx/tkMacOSXDialog.c, + src/other/tk/macosx/tkMacOSXDraw.c, + src/other/tk/macosx/tkMacOSXEmbed.c, + src/other/tk/macosx/tkMacOSXEntry.c, + src/other/tk/macosx/tkMacOSXEvent.c, + src/other/tk/macosx/tkMacOSXEvent.h, + src/other/tk/macosx/tkMacOSXFont.c, + src/other/tk/macosx/tkMacOSXFont.h, + src/other/tk/macosx/tkMacOSXHLEvents.c, + src/other/tk/macosx/tkMacOSXInit.c, + src/other/tk/macosx/tkMacOSXInt.h, + src/other/tk/macosx/tkMacOSXKeyEvent.c, + src/other/tk/macosx/tkMacOSXKeyboard.c, + src/other/tk/macosx/tkMacOSXMenu.c, + src/other/tk/macosx/tkMacOSXMenubutton.c, + src/other/tk/macosx/tkMacOSXMenus.c, + src/other/tk/macosx/tkMacOSXMouseEvent.c, + src/other/tk/macosx/tkMacOSXNotify.c, + src/other/tk/macosx/tkMacOSXPort.h, + src/other/tk/macosx/tkMacOSXPrivate.h, + src/other/tk/macosx/tkMacOSXRegion.c, + src/other/tk/macosx/tkMacOSXScale.c, + src/other/tk/macosx/tkMacOSXScrlbr.c, + src/other/tk/macosx/tkMacOSXSend.c, + src/other/tk/macosx/tkMacOSXSubwindows.c, + src/other/tk/macosx/tkMacOSXTest.c, + src/other/tk/macosx/tkMacOSXWindowEvent.c, + src/other/tk/macosx/tkMacOSXWm.c, + src/other/tk/macosx/tkMacOSXWm.h, + src/other/tk/macosx/tkMacOSXXCursors.h, + src/other/tk/macosx/tkMacOSXXCursors.r, + src/other/tk/macosx/tkMacOSXXStubs.c, + src/other/tk/macosx/ttkMacOSXTheme.c, src/other/tk/tests/README, + src/other/tk/tests/all.tcl, src/other/tk/tests/arc.tcl, + src/other/tk/tests/bell.test, src/other/tk/tests/bevel.tcl, + src/other/tk/tests/bgerror.test, src/other/tk/tests/bind.test, + src/other/tk/tests/bitmap.test, src/other/tk/tests/border.test, + src/other/tk/tests/bugs.tcl, src/other/tk/tests/butGeom.tcl, + src/other/tk/tests/butGeom2.tcl, src/other/tk/tests/button.test, + src/other/tk/tests/canvImg.test, src/other/tk/tests/canvPs.test, + src/other/tk/tests/canvPsArc.tcl, + src/other/tk/tests/canvPsBmap.tcl, + src/other/tk/tests/canvPsGrph.tcl, + src/other/tk/tests/canvPsImg.tcl, + src/other/tk/tests/canvPsText.tcl, + src/other/tk/tests/canvRect.test, + src/other/tk/tests/canvText.test, + src/other/tk/tests/canvWind.test, src/other/tk/tests/canvas.test, + src/other/tk/tests/choosedir.test, + src/other/tk/tests/clipboard.test, + src/other/tk/tests/clrpick.test, src/other/tk/tests/cmap.tcl, + src/other/tk/tests/cmds.test, src/other/tk/tests/color.test, + src/other/tk/tests/config.test, + src/other/tk/tests/constraints.tcl, + src/other/tk/tests/cursor.test, src/other/tk/tests/dialog.test, + src/other/tk/tests/embed.test, src/other/tk/tests/entry.test, + src/other/tk/tests/event.test, src/other/tk/tests/filebox.test, + src/other/tk/tests/focus.test, src/other/tk/tests/focusTcl.test, + src/other/tk/tests/font.test, src/other/tk/tests/frame.test, + src/other/tk/tests/geometry.test, src/other/tk/tests/get.test, + src/other/tk/tests/grab.test, src/other/tk/tests/grid.test, + src/other/tk/tests/id.test, src/other/tk/tests/image.test, + src/other/tk/tests/imgBmap.test, src/other/tk/tests/imgPPM.test, + src/other/tk/tests/imgPhoto.test, + src/other/tk/tests/license.terms, + src/other/tk/tests/listbox.test, src/other/tk/tests/main.test, + src/other/tk/tests/menu.test, src/other/tk/tests/menuDraw.test, + src/other/tk/tests/menubut.test, src/other/tk/tests/message.test, + src/other/tk/tests/msgbox.test, src/other/tk/tests/obj.test, + src/other/tk/tests/oldpack.test, src/other/tk/tests/option.test, + src/other/tk/tests/pack.test, + src/other/tk/tests/panedwindow.test, + src/other/tk/tests/place.test, src/other/tk/tests/raise.test, + src/other/tk/tests/safe.test, src/other/tk/tests/scale.test, + src/other/tk/tests/scrollbar.test, + src/other/tk/tests/select.test, src/other/tk/tests/send.test, + src/other/tk/tests/spinbox.test, src/other/tk/tests/text.test, + src/other/tk/tests/textBTree.test, + src/other/tk/tests/textDisp.test, + src/other/tk/tests/textImage.test, + src/other/tk/tests/textIndex.test, + src/other/tk/tests/textMark.test, + src/other/tk/tests/textTag.test, + src/other/tk/tests/textWind.test, src/other/tk/tests/tk.test, + src/other/tk/tests/ttk/all.tcl, + src/other/tk/tests/ttk/checkbutton.test, + src/other/tk/tests/ttk/image.test, + src/other/tk/tests/ttk/labelframe.test, + src/other/tk/tests/ttk/layout.test, + src/other/tk/tests/ttk/notebook.test, + src/other/tk/tests/ttk/panedwindow.test, + src/other/tk/tests/ttk/progressbar.test, + src/other/tk/tests/ttk/radiobutton.test, + src/other/tk/tests/ttk/scrollbar.test, + src/other/tk/tests/ttk/treetags.test, + src/other/tk/tests/ttk/treeview.test, + src/other/tk/tests/ttk/ttk.test, + src/other/tk/tests/ttk/vsapi.test, + src/other/tk/tests/unixButton.test, + src/other/tk/tests/unixEmbed.test, + src/other/tk/tests/unixFont.test, + src/other/tk/tests/unixMenu.test, + src/other/tk/tests/unixSelect.test, + src/other/tk/tests/unixWm.test, src/other/tk/tests/util.test, + src/other/tk/tests/visual.test, + src/other/tk/tests/visual_bb.test, + src/other/tk/tests/winButton.test, + src/other/tk/tests/winClipboard.test, + src/other/tk/tests/winDialog.test, + src/other/tk/tests/winFont.test, src/other/tk/tests/winMenu.test, + src/other/tk/tests/winMsgbox.test, + src/other/tk/tests/winSend.test, src/other/tk/tests/winWm.test, + src/other/tk/tests/window.test, src/other/tk/tests/winfo.test, + src/other/tk/tests/wm.test, src/other/tk/tests/xmfbox.test, + src/other/tk/unix/Makefile.in, src/other/tk/unix/README, + src/other/tk/unix/configure.in, src/other/tk/unix/install-sh, + src/other/tk/unix/license.terms, src/other/tk/unix/tcl.m4, + src/other/tk/unix/tkAppInit.c, src/other/tk/unix/tkConfig.h.in, + src/other/tk/unix/tkConfig.sh.in, src/other/tk/unix/tkUnix.c, + src/other/tk/unix/tkUnix3d.c, src/other/tk/unix/tkUnixButton.c, + src/other/tk/unix/tkUnixColor.c, + src/other/tk/unix/tkUnixConfig.c, + src/other/tk/unix/tkUnixCursor.c, + src/other/tk/unix/tkUnixDefault.h, + src/other/tk/unix/tkUnixDialog.c, src/other/tk/unix/tkUnixDraw.c, + src/other/tk/unix/tkUnixEmbed.c, src/other/tk/unix/tkUnixEvent.c, + src/other/tk/unix/tkUnixFocus.c, src/other/tk/unix/tkUnixFont.c, + src/other/tk/unix/tkUnixInit.c, src/other/tk/unix/tkUnixInt.h, + src/other/tk/unix/tkUnixKey.c, src/other/tk/unix/tkUnixMenu.c, + src/other/tk/unix/tkUnixMenubu.c, src/other/tk/unix/tkUnixPort.h, + src/other/tk/unix/tkUnixRFont.c, src/other/tk/unix/tkUnixScale.c, + src/other/tk/unix/tkUnixScrlbr.c, + src/other/tk/unix/tkUnixSelect.c, src/other/tk/unix/tkUnixSend.c, + src/other/tk/unix/tkUnixWm.c, src/other/tk/unix/tkUnixXId.c, + src/other/tk/win/Makefile.in, src/other/tk/win/README, + src/other/tk/win/buildall.vc.bat, src/other/tk/win/configure, + src/other/tk/win/configure.in, src/other/tk/win/license.terms, + src/other/tk/win/makefile.bc, src/other/tk/win/makefile.vc, + src/other/tk/win/mkd.bat, src/other/tk/win/nmakehlp.c, + src/other/tk/win/rc/tk.rc, src/other/tk/win/rc/tk_base.rc, + src/other/tk/win/rc/wish.rc, src/other/tk/win/rmd.bat, + src/other/tk/win/rules.vc, src/other/tk/win/stubs.c, + src/other/tk/win/tcl.m4, src/other/tk/win/tkConfig.sh.in, + src/other/tk/win/tkWin.h, src/other/tk/win/tkWin32Dll.c, + src/other/tk/win/tkWin3d.c, src/other/tk/win/tkWinButton.c, + src/other/tk/win/tkWinClipboard.c, src/other/tk/win/tkWinColor.c, + src/other/tk/win/tkWinConfig.c, src/other/tk/win/tkWinCursor.c, + src/other/tk/win/tkWinDefault.h, src/other/tk/win/tkWinDialog.c, + src/other/tk/win/tkWinDraw.c, src/other/tk/win/tkWinEmbed.c, + src/other/tk/win/tkWinFont.c, src/other/tk/win/tkWinImage.c, + src/other/tk/win/tkWinInit.c, src/other/tk/win/tkWinInt.h, + src/other/tk/win/tkWinKey.c, src/other/tk/win/tkWinMenu.c, + src/other/tk/win/tkWinPixmap.c, src/other/tk/win/tkWinPointer.c, + src/other/tk/win/tkWinPort.h, src/other/tk/win/tkWinRegion.c, + src/other/tk/win/tkWinScrlbr.c, src/other/tk/win/tkWinSend.c, + src/other/tk/win/tkWinSendCom.c, src/other/tk/win/tkWinSendCom.h, + src/other/tk/win/tkWinTest.c, src/other/tk/win/tkWinWindow.c, + src/other/tk/win/tkWinWm.c, src/other/tk/win/tkWinX.c, + src/other/tk/win/ttkWinMonitor.c, src/other/tk/win/ttkWinTheme.c, + src/other/tk/win/ttkWinXPTheme.c, src/other/tk/win/winMain.c, + src/other/tk/xlib/X11/X.h, src/other/tk/xlib/X11/Xfuncproto.h, + src/other/tk/xlib/X11/Xlib.h, src/other/tk/xlib/X11/Xutil.h, + src/other/tk/xlib/X11/keysym.h, + src/other/tk/xlib/X11/license.terms, + src/other/tk/xlib/license.terms, src/other/tk/xlib/xbytes.h, + src/other/tk/xlib/xcolors.c, src/other/tk/xlib/xdraw.c, + src/other/tk/xlib/xgc.c, src/other/tk/xlib/ximage.c, + src/other/tk/xlib/xutil.c: + Revert Tcl/Tk upgrade - causing problems on 32 bit Windows. + +2013-04-03 15:20 brlcad + + * [r55029] src/libbu/thread.cpp: + need to be careful to not dereference the specific value for + single-threaded contexts. initialize to cpu 0 so we can always + return asane. valueue in bu_parallel_id(). + +2013-04-03 14:02 carlmoore + + * [r55028] src/anim/chan_add.c, src/anim/chan_mult.c: + stdio.h removed because of bio.h + +2013-04-03 11:41 bob1961 + + * [r55027] src/tclscripts/archer/ArcherCore.tcl: + Modify ArcherCore::cp to draw and select the new object. + +2013-04-03 06:42 brlcad + + * [r55026] src/libbu/thread.cpp: + pthread shouldn't take priority over the intrinsic methods, let + it be a fallback + +2013-04-03 06:24 brlcad + + * [r55025] src/libbu/thread.cpp: + use the better new names for detected TLS support + +2013-04-03 06:24 brlcad + + * [r55024] CMakeLists.txt: + BRLCAD_TYPE_SIZE() and the built-in CMAKE_CHECK_TYPE() macros are + no good for this purpose since they try to sizeof(). instead, + just try compiling a small custom snippet. + +2013-04-03 06:04 brlcad + + * [r55023] CMakeLists.txt: + initial attempt at testing for TLS type specifiers + +2013-04-03 05:54 brlcad + + * [r55022] src/libbu/thread.cpp: + use cmake-set type names + +2013-04-03 05:36 brlcad + + * [r55021] src/libbu/thread.cpp: + if we can rely on __declspec(thread), then the ThreadLocal + template won't need to be conditionalized to anything else + anytime soon + +2013-04-03 05:27 brlcad + + * [r55020] src/libbu/thread.cpp: + add initial support for getting/setting the cpu number via thread + local storage (TLS) for pthreads + +2013-04-03 05:14 brlcad + + * [r55019] src/adrt/librender/camera.c: + plan is to turn thread affinity on for all bu_parallel()-invoked + threads, so no need to request it explicitly -2012-03-06 22:40 starseeker +2013-04-03 05:11 brlcad - * [r49632] misc/CMake/ThirdParty.cmake, src/other/CMakeLists.txt: - Explain why we need to handle utility executables specially when - it comes to path, improves xmltools in that regard. + * [r55018] src/libbu/affinity.c, src/libbu/parallel.h: + pass our cpu number to parallel_set_affinity() since there's no + reason to incur a lookup cost here (we know the number) and it + keeps open the possibility of reassignment later. -2012-03-06 22:30 tbrowder2 +2013-04-03 05:10 brlcad - * [r49631] doc/docbook/resources/brlcad/brlcad-fonts.xsl.in: - remove extra 'of'; align xml comment closer + * [r55017] src/libbu/parallel.c: + only need to set affinity once, but record our cpu number before + doing anything -2012-03-06 22:28 tbrowder2 +2013-04-02 21:40 carlmoore - * [r49630] doc/docbook/fop.xconf.in: - move format info ahead of font data it applies to + * [r55016] src/anim/chan_add.c: + minimum number of arguments (including the function name) is 4, + and remove a blank line to compare to chan_mult.c -2012-03-06 21:52 starseeker +2013-04-02 21:31 carlmoore - * [r49629] - doc/docbook/resources/brlcad/brlcad-fo-stylesheet.xsl.in, - doc/docbook/resources/brlcad/brlcad-man-stylesheet.xsl.in, - doc/docbook/resources/brlcad/brlcad-xhtml-stylesheet.xsl.in, - doc/docbook/resources/brlcad/tutorial-template.xsl.in: - We're using templates now, so need to look in the binary - directory. + * [r55015] src/anim/chan_mult.c: + add reference to stdio.h for uniformity with chan_add.c -2012-03-06 21:44 starseeker +2013-04-02 21:22 n_reed - * [r49628] doc/docbook/CMakeLists.txt: - Group all PDF specific configure_file calls together + * [r55014] src/librt/primitives/brep/brep.cpp, + src/librt/primitives/table.c: + Add adaptive plot routine for brep based on the existing plot + routine. Only adaptively plotting curves for now. -2012-03-06 21:38 tbrowder2 +2013-04-02 20:52 starseeker - * [r49627] doc/docbook/CMakeLists.txt, - doc/docbook/resources/brlcad/brlcad-fo-stylesheet.xsl.in: - add a common stylesheet for all DocBook products + * [r55013] src/mged/cad_parea.c: + Do we need bio.h in cad_parea.c for isatty? -2012-03-06 21:30 tbrowder2 +2013-04-02 19:54 carlmoore - * [r49626] doc/docbook/resources/brlcad/brlcad-common.xsl, - doc/docbook/resources/brlcad/brlcad-common.xsl.in, - doc/docbook/resources/brlcad/brlcad-fonts.xsl, - doc/docbook/resources/brlcad/brlcad-fonts.xsl.in: - rename xsl files to be generated in build process + * [r55012] src/mged/cad_parea.c: + use ttyin,ttyout as I did in pix-png ; but there is a warning + about implicit declaration of isatty -2012-03-06 21:07 tbrowder2 +2013-04-02 19:03 carlmoore - * [r49625] doc/docbook/CMakeLists.txt, - doc/docbook/resources/brlcad/brlcad-fo-stylesheet.xsl.in: - add master fo customization layer stylesheet + * [r55011] src/mged/cad_parea.c: + h,? were left out of valid-argument string -2012-03-06 20:15 starseeker +2013-04-02 18:23 carlmoore - * [r49624] src/conv/step/CMakeLists.txt, src/conv/step/SdaiAll.cc, - src/conv/step/SdaiCONFIG_CONTROL_DESIGN.cc, - src/conv/step/SdaiCONFIG_CONTROL_DESIGN.h, - src/conv/step/SdaiCONFIG_CONTROL_DESIGN.init.cc, - src/conv/step/Sdaiclasses.h, src/conv/step/compstructs.cc, - src/conv/step/schema.cc, src/conv/step/schema.h: - Remove the generated sources and turn on the fedex generation. + * [r55010] src/mged/cad_parea.c: + touch up 3 messages, and add -h flag per pix-png discussion -2012-03-06 19:25 starseeker +2013-04-02 17:55 bob1961 - * [r49623] CMakeLists.txt: - typo + * [r55009] src/tclscripts/archer/ShaderEdit.tcl, + src/tclscripts/archer/images/CMakeLists.txt, + src/tclscripts/archer/images/l_i0_v0_s0.gif, + src/tclscripts/archer/images/l_i0_v0_s1.gif, + src/tclscripts/archer/images/l_i0_v0_s2.gif, + src/tclscripts/archer/images/l_i0_v0_s3.gif, + src/tclscripts/archer/images/l_i0_v0_s4.gif, + src/tclscripts/archer/images/l_i0_v0_s5.gif, + src/tclscripts/archer/images/l_i0_v0_s6.gif, + src/tclscripts/archer/images/l_i0_v0_s7.gif, + src/tclscripts/archer/images/l_i0_v0_s8.gif, + src/tclscripts/archer/images/l_i0_v0_s9.gif, + src/tclscripts/archer/images/l_i0_v1_s0.gif, + src/tclscripts/archer/images/l_i0_v1_s1.gif, + src/tclscripts/archer/images/l_i0_v1_s2.gif, + src/tclscripts/archer/images/l_i0_v1_s3.gif, + src/tclscripts/archer/images/l_i0_v1_s4.gif, + src/tclscripts/archer/images/l_i0_v1_s5.gif, + src/tclscripts/archer/images/l_i0_v1_s6.gif, + src/tclscripts/archer/images/l_i0_v1_s7.gif, + src/tclscripts/archer/images/l_i0_v1_s8.gif, + src/tclscripts/archer/images/l_i0_v1_s9.gif, + src/tclscripts/archer/images/l_i1_v0_s0.gif, + src/tclscripts/archer/images/l_i1_v0_s1.gif, + src/tclscripts/archer/images/l_i1_v0_s2.gif, + src/tclscripts/archer/images/l_i1_v0_s3.gif, + src/tclscripts/archer/images/l_i1_v0_s4.gif, + src/tclscripts/archer/images/l_i1_v0_s5.gif, + src/tclscripts/archer/images/l_i1_v0_s6.gif, + src/tclscripts/archer/images/l_i1_v0_s7.gif, + src/tclscripts/archer/images/l_i1_v0_s8.gif, + src/tclscripts/archer/images/l_i1_v0_s9.gif, + src/tclscripts/archer/images/l_i1_v1_s0.gif, + src/tclscripts/archer/images/l_i1_v1_s1.gif, + src/tclscripts/archer/images/l_i1_v1_s2.gif, + src/tclscripts/archer/images/l_i1_v1_s3.gif, + src/tclscripts/archer/images/l_i1_v1_s4.gif, + src/tclscripts/archer/images/l_i1_v1_s5.gif, + src/tclscripts/archer/images/l_i1_v1_s6.gif, + src/tclscripts/archer/images/l_i1_v1_s7.gif, + src/tclscripts/archer/images/l_i1_v1_s8.gif, + src/tclscripts/archer/images/l_i1_v1_s9.gif: + Add images for Archer's light shader. + +2013-04-02 17:37 bob1961 + + * [r55008] src/tclscripts/archer/ShaderEdit.tcl: + Added support for the cloud and light shaders in Archer's + combination editor. + +2013-04-02 17:19 carlmoore + + * [r55007] src/mged/cad_boundp.c: + insert indentations and newlines for debugging output to be + easier to read + +2013-04-02 15:54 n_reed + + * [r55006] src/libged/draw.c: + first initialize solid s_vlen, then we can test it to skip + previously draw solids + +2013-04-02 15:42 n_reed + + * [r55005] src/libged/draw.c: + whoops, revert r55004, breaks more than it fixes + +2013-04-02 15:31 n_reed + + * [r55004] src/libged/draw.c: + need to skip solids that are already drawn + +2013-04-02 13:06 carlmoore + + * [r55003] src/tclscripts/archer/ArcherCore.tcl: + remove trailing blanks + +2013-04-01 21:41 n_reed + + * [r55002] src/other/step/src/express/expparse.y, + src/other/step/src/express/generated/expparse.c, + src/other/step/src/express/generated/verification_info.cmake: + call ERRORreport_with_symbol on syntax error + +2013-04-01 18:00 erikgreenwald + + * [r55001] src/adrt/librender/camera.c: + don't try binding thread to proc on windows, func isn't exported + from libbu yet + +2013-04-01 15:14 erikgreenwald + + * [r55000] src/adrt/librender/camera.c: + try new processor affinity stuff + +2013-04-01 14:29 bob1961 + + * [r54999] src/tclscripts/archer/ArcherCore.tcl: + Automatically select newly created objects in Archer. This mod + covers c, g, comb, r and make. + +2013-04-01 12:40 bob1961 + + * [r54998] src/tclscripts/archer/Archer.tcl: + Removed a call to clearEditState from Archer::beginObjRotate. + +2013-04-01 12:06 bob1961 + + * [r54997] src/tclscripts/archer/ArcherCore.tcl: + ArcherCore::selectTreePath doesn't need to set mSelectedObj and + mSelectedObjPath. These variables will be set in handleTreeSelect + via a callback from the treeview widget. -2012-03-06 17:43 n_reed +2013-04-01 06:05 brlcad - * [r49622] src/other/step/src/fedex_plus/classes.c: - Copy changes to the commited SdaiCONFIG_CONTROL_DESIGN.cc, which - disables adding of certain parent-class attributes on object - creation, to the corresponding generation code. + * [r54996] src/fb/fbcbars.c, src/fb/fbcolor.c, src/fb/fbgammamod.c, + src/libdm/dm-plot.c, src/libdm/dm-ps.c, src/libged/analyze.c, + src/libged/dg_obj.c, src/libged/inside.c, + src/liboptical/sh_air.c, src/liboptical/sh_fire.c, + src/liboptical/sh_spm.c, src/liboptical/sh_toyota.c, + src/mged/dodraw.c, src/rt/sh_tcl.c, src/util/pixbackgnd.c: + yet more explicit indication of floating point, put a zero after + the decimal point. -2012-03-06 16:06 tbrowder2 +2013-04-01 05:52 brlcad - * [r49621] doc/docbook/README: - correct typo + * [r54995] src/irprep/all_sf.c, src/irprep/firpass.c, + src/irprep/ir-X.c, src/irprep/secpass.c, src/irprep/shapefact.c, + src/irprep/showtherm.c: + more floating point constant expansions to show a value after the + decimal -2012-03-06 16:03 tbrowder2 +2013-04-01 05:48 brlcad - * [r49620] - doc/docbook/books/en/BRL-CAD_Tutorial_Series-VolumeI.xml: - widen graphic for html + * [r54994] src/shapes/bolt.c, src/shapes/gastank.c, + src/shapes/handle.c, src/shapes/window.c, + src/shapes/window_frame.c: + more explicit .0 expansions to indicate type intent better -2012-03-06 16:01 tbrowder2 +2013-04-01 05:40 brlcad - * [r49619] doc/docbook/README.DB_authors_notes: - add info on centering mediaobjects for html + * [r54993] src/shapes/coil.c: + don't make floating point subtle, put the zero -2012-03-06 15:49 starseeker +2013-03-30 23:41 tbrowder2 - * [r49618] CMakeLists.txt: - We print this information when it is detected during configure - - need to keep the summary brief + * [r54992] src/libged/dag.cpp: + add code to use latest adaptagrams code (its API changed last + summer); note that the current version of adaptagrams may not + work without changes (my changes will be sent to the upstream + author) -2012-03-06 13:30 erikgreenwald +2013-03-30 03:12 brlcad - * [r49617] src/librt/primitives/metaball/metaball.c: - indianlarry noticed an extra 4 bytes being allocated for the - external buffer that aren't used, so tighten the allocation a - little bit. Previous files should still be OK, the extra - 'garbage' data is at the end, therefore ignored. + * [r54991] src/librt/primitives/ebm/ebm.c: + F or file -2012-03-06 03:04 starseeker +2013-03-30 03:09 brlcad - * [r49616] src/libfb/fbserv_obj.c, src/mged/fbserv.c: - Fix problem with raytracing on Win64 - error was stack - corruption, looks like pointer was too big for fd when it was an - int. With these changes both Archer and MGED are raytracing - again. + * [r54990] NEWS: + jordi fixed a problem uninstalling on Fedora 18 related to temp + directories listed in the brlcad.spec -2012-03-06 02:21 starseeker +2013-03-30 03:06 brlcad - * [r49615] CMakeLists.txt, bench/CMakeLists.txt, - doc/docbook/CMakeLists.txt, misc/CMake/BRLCAD_Util.cmake, - misc/CMake/DocBook.cmake, misc/CMake/TCL_PKGINDEX.cmake, - misc/CMake/ThirdParty.cmake, misc/CMakeLists.txt, - pix/CMakeLists.txt, sh/CMakeLists.txt, src/adrt/CMakeLists.txt, - src/archer/CMakeLists.txt, src/brlman/CMakeLists.txt, - src/libdm/CMakeLists.txt, src/libfb/CMakeLists.txt, - src/other/incrTcl/itcl/CMakeLists.txt, - src/other/incrTcl/itk/CMakeLists.txt, - src/other/iwidgets/CMakeLists.txt, - src/other/iwidgets/doc/CMakeLists.txt, - src/other/lemon/CMakeLists.txt, - src/other/libtermlib/CMakeLists.txt, - src/other/re2c/CMakeLists.txt, src/other/tcl/doc/CMakeLists.txt, - src/other/tcl/library/CMakeLists.txt, - src/other/tk/CMakeLists.txt, src/other/tk/doc/CMakeLists.txt, - src/other/tk/library/CMakeLists.txt, - src/other/tktable/CMakeLists.txt, src/tclscripts/CMakeLists.txt: - First stage in properly supporting multi-config build tools like - MSVC and Xcode. This doesn't get either the right C_FLAGS - settings (that will require some macro modifications to - CompileFlags and friends) or build settings (if you're oing to - get build-time profiles, it probably makes sense to have those - handle a few things) but it does seem to place most of the files - correctly for Xcode building. Almost certainly breaks the Windows - build (yet again) as it's untested there. - -2012-03-05 23:14 starseeker - - * [r49614] src/tclscripts/archer/Archer.tcl, - src/tclscripts/archer/ArcherCore.tcl: - try turning help back on in 64bit MSVC - -2012-03-05 23:11 starseeker - - * [r49613] src/other/tkhtml/src/css.c: - Apply a fix found by Dan Kennedy - - http://groups.google.com/group/tkhtml3/browse_thread/thread/fcee715c54fae86f - - this may be the show-stopper for 64 bit windows, although I'm - pretty sure it's not the only potential issue based on the W4 - results... - -2012-03-05 22:12 r_weiss - - * [r49612] src/mged/mged.c: - Fixed a bug in function 'std_out_or_err' file 'mged.c'. The - 'line' array was being written one byte past its size when line - length is RT_MAXLINE. This was causing an intermittent seg fault. - -2012-03-05 21:40 starseeker - - * [r49611] src/other/tkhtml/src/css.c, - src/other/tkhtml/src/cssparser.c, - src/other/tkhtml/src/cssprop.tcl, - src/other/tkhtml/src/htmldecode.c: - Take a stab at fixing a few of the compiler warnings on Linux... - -2012-03-05 21:05 starseeker - - * [r49610] src/other/lemon/lemon.c, src/other/lemon/lempar.c: - Update to the latest lemon sources. + * [r54989] NEWS: + Akshay Kashyap's GCI patch that implemented thread affinity for + pthread linux systems is now integrated. it's showing a 5%-250% + performance improvement in testing depending on how many cores + and system activity. overall a nice boon to ray tracing + performance. -2012-03-05 20:41 starseeker - - * [r49609] src/other/tkhtml/src/htmltcl.c, - src/other/tkhtml/src/htmltext.c, src/other/tkhtml/src/htmltree.c, - src/other/tkhtml/src/htmlutil.c, src/other/tkhtml/src/restrack.c: - More old-style declarator updates - -2012-03-05 19:56 starseeker - - * [r49608] src/other/tkhtml/src/htmlhash.c, - src/other/tkhtml/src/htmlimage.c, - src/other/tkhtml/src/htmllayout.c, - src/other/tkhtml/src/htmlparse.c, - src/other/tkhtml/src/htmlprop.c, - src/other/tkhtml/src/htmlstyle.c, - src/other/tkhtml/src/htmltable.c, - src/other/tkhtml/src/htmltagdb.c: - More old-style declarations - -2012-03-05 19:36 starseeker - - * [r49607] src/other/tkhtml/src/css.c, - src/other/tkhtml/src/cssdynamic.c, - src/other/tkhtml/src/cssparser.c, - src/other/tkhtml/src/csssearch.c, - src/other/tkhtml/src/htmldecode.c, - src/other/tkhtml/src/htmldraw.c, - src/other/tkhtml/src/htmlfloat.c: - More old-style declarations - -2012-03-05 19:06 r_weiss - - * [r49606] src/librt/primitives/nmg/nmg_pt_fu.c: - Updated function 'bn_distsq_pt3_lseg3' in file 'nmg_pt_fu.c'. - Fixed a float 0.0 compare and did some code cleanup. - -2012-03-05 19:05 starseeker - - * [r49605] src/other/tkhtml/CMakeLists.txt: - cssprop.c depends on cssprop.tcl - -2012-03-05 19:03 starseeker - - * [r49604] src/other/tkhtml/src/cssprop.tcl: - One more old-style declarator in the template - -2012-03-05 19:01 r_weiss - - * [r49603] src/libbn/mat.c, src/libbn/plane.c: - Updated libbn functions bn_angle_measure, bn_dist_pt3_lseg3, - bn_distsq_line3_pt3, bn_isect_line3_line3, bn_isect_line3_plane, - bn_isect_line_lseg, bn_isect_lseg3_lseg3, bn_isect_pt_lseg, - bn_mat_fromto, bn_vec_ortho, bn_dist_pt3_line3. Performed code - cleanup, fixed float 0.0 compares and added the 'unlikely' macro - to improve performance. Updated files 'plane.c' and 'mat.c'. - -2012-03-05 18:49 starseeker - - * [r49602] src/other/tkhtml/src/css.c, - src/other/tkhtml/src/cssdynamic.c, - src/other/tkhtml/src/cssparser.c, - src/other/tkhtml/src/csssearch.c, - src/other/tkhtml/src/htmldecode.c, - src/other/tkhtml/src/htmldraw.c, - src/other/tkhtml/src/htmlfloat.c, - src/other/tkhtml/src/htmlimage.c, - src/other/tkhtml/src/htmlinline.c, - src/other/tkhtml/src/htmllayout.c, - src/other/tkhtml/src/htmllayout.h, - src/other/tkhtml/src/htmlparse.c, - src/other/tkhtml/src/htmlprop.c, - src/other/tkhtml/src/htmlstyle.c, - src/other/tkhtml/src/htmltable.c, - src/other/tkhtml/src/htmltagdb.c, src/other/tkhtml/src/htmltcl.c, - src/other/tkhtml/src/htmltext.c, src/other/tkhtml/src/htmltree.c, - src/other/tkhtml/src/htmlutil.c, src/other/tkhtml/src/main.c, - src/other/tkhtml/src/restrack.c, src/other/tkhtml/src/swproc.c: - W4 warning level on MSVC complains about old style definitions - - use cproto to auto-update most of them (may be a few it couldn't - parse...) - -2012-03-05 18:39 starseeker - - * [r49601] src/bwish/tcl.c: - Make a stab at playing nice with the tty when doing an xcode - build, per - http://stackoverflow.com/questions/1594251/how-to-check-if-stdin-is-still-opened-without-blocking - -2012-03-05 01:34 starseeker - - * [r49600] src/other/tkhtml/src/cssprop.tcl: - Generate modern functions, not old style... - -2012-03-05 00:13 starseeker +2013-03-30 03:06 brlcad - * [r49599] src/other/tkhtml/src/htmldecode.c: - quiet a warning... - -2012-03-04 22:21 tbrowder2 - - * [r49598] doc/docbook/articles/it/about_it.xml, - doc/docbook/books/en/BRL-CAD_Tutorial_Series-VolumeI.xml, - doc/docbook/css/brlcad.css: - use css to align graphic objects in html (div.mediaobject { - text-align: center; } + * [r54988] NEWS: + implemented cpu affinity for mac, bsd, and windows systems. + testing of linux showed a 5-250% performance improvement. mac and + windows aren't likely to be that high but maybe (BSD likely). + warrants performance testing on big smp configuration -2012-03-04 22:03 tbrowder2 +2013-03-30 03:03 brlcad - * [r49597] doc/docbook/articles/it/about_it.xml, - doc/docbook/books/en/BRL-CAD_Tutorial_Series-VolumeI.xml: - tidy html out for picture sizes, centering + * [r54987] NEWS: + Akshay Kashyap's GCI patch that implemented thread affinity for + pthread linux systems is now integrated. it's showing a 5%-250% + performance improvement in testing depending on how many cores + and system activity. overall a nice boon to ray tracing + performance. -2012-03-04 12:47 tbrowder2 +2013-03-30 02:19 brlcad - * [r49596] doc/docbook/articles/it/about_it.xml: - included images for pdf need indirect relative path to be found - due to no catalog + * [r54986] src/librt/db_lookup.c: + size_t makes more sense, ptrdiff_t semantically means something + else. -2012-03-04 12:45 tbrowder2 +2013-03-30 02:18 brlcad - * [r49595] - doc/docbook/books/en/BRL-CAD_Tutorial_Series-VolumeI.xml: - fit pdf pics; remove frames in 6-image table for improved - appearance + * [r54985] src/libtclcad/tclcad_obj.c: + quellage, set gpp fully so we don't access uninitialized elements -2012-03-04 11:34 tbrowder2 +2013-03-30 02:09 brlcad - * [r49594] doc/docbook/README: - update for current file tree structure + * [r54984] NEWS: + richard fixed a nirt failure on windows (r54503) where it would + fail if there was a very large number of objects being displayed. + problem was due to fixed string array length which was truncating + large object name lists -2012-03-04 11:33 tbrowder2 +2013-03-30 02:03 brlcad - * [r49593] doc/docbook/CMakeLists.txt: - correct typo + * [r54983] TODO: + rework the database hash (but profile performance for impact) -2012-03-03 18:50 tbrowder2 +2013-03-30 02:00 brlcad - * [r49592] CMakeLists.txt: - tweak to avoid dup message + * [r54982] CHANGES, include/raytrace.h: + bump RT_DBNHASH up to the next power of two instead of 5120 and + document the heck out of it as a deprecated interface. include + memory usage calculations (64kb). the increase from 1024 should + slow down all of the callers that manually iterate over the hash + (prep, search, db open/lookup, push, tops, ls, ...) but probably + not noticeably so -- more likely to slow lookups down iterating + down bigger linked lists with big geometry (need to + profile/test/compare). -2012-03-03 18:02 tbrowder2 +2013-03-30 01:37 brlcad - * [r49591] CMakeLists.txt: - add a bit more info for pdf generation + * [r54981] NEWS: + richard fixed it up so you can run bot_merge on a plate-mode BoT + (and presumably preserve the plate thickness and face mode) -2012-03-03 14:08 tbrowder2 +2013-03-29 20:50 r_weiss - * [r49590] doc/docbook/system/man1/en/obj-g.xml: - inform user of current max verbosity levels + * [r54980] src/other/step/cmake/Generated_Source_Utils.cmake: + Change to cmake build logic for md5 express. This change appears + to work for both the linux and windows build. More testing is + needed. -2012-03-03 14:07 tbrowder2 +2013-03-29 17:47 r_weiss - * [r49589] src/conv/obj-g.c: - correct typo; inform user of current max verbosity levels + * [r54979] src/other/step/cmake/Generated_Source_Utils.cmake: + Fix to windows built, again. -2012-03-03 00:05 tbrowder2 +2013-03-29 17:35 r_weiss - * [r49588] doc/docbook/system/man1/en/obj-g.xml: - corrected option letter for face orientation + * [r54978] src/other/step/cmake/Generated_Source_Utils.cmake: + Fix a break in the Windows build. -2012-03-02 20:25 starseeker +2013-03-29 17:23 n_reed - * [r49587] CMakeLists.txt: - Set RPM system arch. + * [r54977] src/libged/draw.c: + save pointers to the display lists that we want to draw so we + don't have to search for them later -2012-03-02 12:33 bob1961 +2013-03-29 16:57 brlcad - * [r49586] src/libdm/axes.c: - Let's not forget about windows. + * [r54976] src/libbu/affinity.c: + remove the unused/unnecessary variables -2012-03-02 03:40 starseeker +2013-03-29 16:54 brlcad - * [r49585] CMakeLists.txt: - don't mix case + * [r54975] src/libbu/affinity.c: + need to test this theory, but we shouldn't need to look up the + current affinity mask to set a cpu preference. bu_parallel_id() + modded with the number of avail cpus should set all threads with + the appropriate affinity mask. -2012-03-02 00:02 starseeker +2013-03-29 16:46 brlcad - * [r49584] CMakeLists.txt: - fix endif + * [r54974] src/libbu/affinity.c: + take a stab at implementing thread affinity for windows as well + (hah, in advance of windows threading). using bu_parallel_id() to + set the cpu number. earned fewest line count badge (albeit + untested) -2012-03-01 16:32 starseeker +2013-03-29 16:45 brlcad - * [r49583] doc/docbook/CMakeLists.txt, misc/CMake/fop.cmake.in: - Call out the log4j configuration file specifically for fop + * [r54973] src/libbu/heap.c: + no longer indexing from 1 -2012-03-01 12:21 tbrowder2 +2013-03-29 16:39 bob1961 - * [r49582] doc/docbook/articles/it/about_it.xml: - trying to improve pdf output + * [r54972] src/tclscripts/lib/Command.tcl: + A few minor tweaks to the Command widget. Updated + Command::print_more_args_prompt to make the insertion point + visible. Updated Command::invoke to print the prompt string + whether we have a more-args interruption or not. -2012-03-01 00:55 n_reed +2013-03-29 16:23 brlcad - * [r49581] src/other/step/src/clutils/Str.cc: - logic looked a hair off (trying recovery even if bad bit set). - rewrite for readability. + * [r54971] src/libbu/affinity.c: + fix style -2012-03-01 00:54 starseeker +2013-03-29 16:17 brlcad - * [r49580] src/other/lemon/lempar.c: - MSVC still didn't like the previous changes - re2c bootstrap - scanner hung in infinite loop. + * [r54970] src/libbu/affinity.c: + document the mac interface since it's substantially different + than the pthread api -2012-02-29 23:42 tbrowder2 +2013-03-29 15:51 brlcad - * [r49579] - doc/docbook/articles/it/images/brlcad-overview-benchmark-Bldg_391.jpg, - doc/docbook/articles/it/images/brlcad-overview-benchmark-M35.jpg, - doc/docbook/articles/it/images/brlcad-overview-benchmark-Moss.jpg, - doc/docbook/articles/it/images/brlcad-overview-benchmark-Sphflake.jpg, - doc/docbook/articles/it/images/brlcad-overview-benchmark-Star.jpg, - doc/docbook/articles/it/images/brlcad-overview-benchmark-World.jpg: - run images through gimp for use in pdf + * [r54969] src/libbu/affinity.c: + stub in an implementation of thread affinity for mac os x, to the + extent that mac supports the notion. they don't really do + affinity, but will let you group/ungroup threads to + help/discourage cache sharing. here we put every thread into + their own group so the default affinity scheduling should help + minimize cpu movement. -2012-02-29 22:23 erikgreenwald +2013-03-29 15:47 bob1961 - * [r49578] src/rttherm/CMakeLists.txt: - swap order of libged and libfb, ubuntu seems to care + * [r54968] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl, + src/tclscripts/lib/Command.tcl: + Update the Command widgets invoke method to store the actual + command the was executed (i.e., this command may be one that gets + built up by the more-args mechanism that prompts the user for + input). Also added a cmd_history_callback so that the application + can be notified of the actual command that was executed. -2012-02-28 23:52 starseeker +2013-03-29 15:42 bob1961 - * [r49577] doc/docbook/CMakeLists.txt: - Don't add the doc build target unless there is are some DocBook - targets to add + * [r54967] src/libtclcad/tclcad_obj.c: + Update libtclcad's to_more_args_func() to protect any special + characters that may be in the prompt strings. -2012-02-28 23:44 starseeker +2013-03-29 15:19 brlcad - * [r49576] doc/docbook/articles/en/CMakeLists.txt, - doc/docbook/articles/hy/CMakeLists.txt, - doc/docbook/articles/it/CMakeLists.txt, - doc/docbook/articles/ru/CMakeLists.txt, - doc/docbook/books/en/CMakeLists.txt, - doc/docbook/lessons/en/CMakeLists.txt, - doc/docbook/lessons/es/CMakeLists.txt, - doc/docbook/presentations/en/CMakeLists.txt, - doc/docbook/specifications/en/CMakeLists.txt, - doc/docbook/system/man1/en/CMakeLists.txt, - doc/docbook/system/man3/en/CMakeLists.txt, - doc/docbook/system/man5/en/CMakeLists.txt, - doc/docbook/system/mann/en/CMakeLists.txt, - misc/CMake/DocBook.cmake: - Individual targets highlight the need for dependencies on the - image copying targets - add them where appropriate. + * [r54966] CMakeLists.txt: + check for the mach kernel thread_policy header -2012-02-28 23:24 starseeker +2013-03-29 13:00 bob1961 - * [r49575] doc/docbook/CMakeLists.txt, - doc/docbook/books/en/CMakeLists.txt, misc/CMake/DocBook.cmake: - Add convenience targets for DocBook documentation building - doc, - html, man and pdf + * [r54965] src/libged/mater.c: + Putting back the double-quotes around "light invisible=1" so that + the example is once again correct. Will fix the double-quote + issue on the Tcl side. -2012-02-28 23:12 n_reed +2013-03-29 05:53 brlcad - * [r49574] src/libdm/axes.c: - condition opengl calls on having opengl + * [r54964] src/libged/tables.c: + fastf_t arrays need a little more const persuasion -2012-02-28 22:56 starseeker +2013-03-29 05:51 brlcad - * [r49573] src/other/incrTcl/itk/CMake/FindX11.cmake, - src/other/tk/CMake/FindX11.cmake, - src/other/tkhtml/CMake/FindX11.cmake, - src/other/tkpng/CMake/FindX11.cmake, - src/other/tktable/CMake/FindX11.cmake: - Sync other copies of FindX11.cmake + * [r54963] src/libged/tables.c: + pass const -2012-02-28 22:30 r_weiss +2013-03-29 05:49 brlcad - * [r49572] src/tclscripts/rtwizard/lib/PictureTypeE.itcl: - Updated tcl script 'PictureTypeE.itcl' for the 'rtwizard'. This - change was for the "Ghost Image with Insert" type. Fixed some - logic bugs, added support for pix to png conversion and added the - removal of tmp files. This code change works but the changes may - not be the best solution. + * [r54962] src/libbu/affinity.c: + just because we have pthreads doesn't mean we have the cpuset + macros, e.g., mac os x. -2012-02-28 22:04 n_reed +2013-03-29 05:26 brlcad - * [r49571] src/other/step/src/clstepcore/Registry.inline.cc, - src/other/step/src/clutils/scl_hash.h: - remove references to non-existent function + * [r54961] src/libbu/affinity.c: + expand support to freebsd, just a few changes needed -2012-02-28 22:03 n_reed +2013-03-29 05:22 brlcad - * [r49570] src/other/step/src/clstepcore/STEPattribute.cc: - fix bad int- and float-to-string conversions + * [r54960] CMakeLists.txt: + need to check for a few headers to support thread affinity on + bsd. check for pthread_np.h and sys/cpuset.h headers along with + the cpu_set_t type (which is linux, bsd is cpuset_t but allegedly + may switch to match). -2012-02-28 17:32 erikgreenwald +2013-03-29 04:56 brlcad - * [r49569] misc/CMake/FindX11.cmake: - Add /usr/lib/i386-linux-gnu/ to the search path for 32b, - mirroring the x86_64-linux-gnu path. Fixes Ubuntu. + * [r54959] src/libged/tables.c: + quellage, go through libbu and a vls to print size_t values to + file. -2012-02-28 16:07 bob1961 +2013-03-29 04:54 brlcad - * [r49568] src/tclscripts/archer/ArcherCore.tcl: - Added rtcntrl method to allow control of the ArcherCore's - raytrace control panel from other widgets. + * [r54958] src/libbu/affinity.c: + need to explore the portability of this, but go ahead and locally + override the _GNU_SOURCE setting so that we can enable processor + affinity for pthread systems. after much headache, figured out + that _GNU_SOURCE needs to be defined before the common.h header. + common includes some system headers and the features.h header is + only going to get read once to set the necessary __USE_GNU define + and declaring the CPU_* macros and pthread affinity funcs the + implementation uses. this is going to jack up linux benchmarks, + but it's a nice 5-50% improvement on even small smp systems. -2012-02-28 15:06 erikgreenwald +2013-03-29 03:28 brlcad - * [r49567] HACKING: - typo + * [r54957] src/librt/primitives/nmg/nmg.c: + quell warning about preserving constness to a matp_t parameter by + casting _before_ passing. -2012-02-28 01:33 n_reed +2013-03-29 03:21 brlcad - * [r49566] src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/cleditor/STEPfile.h, - src/other/step/src/cleditor/cmdmgr.h, - src/other/step/src/cleditor/s_HEADER_SCHEMA.h, - src/other/step/src/clstepcore/STEPaggregate.cc, - src/other/step/src/clstepcore/sdaiEnum.cc, - src/other/step/src/clstepcore/sdaiEnum.h: - address some constant string warnings + * [r54956] src/librt/primitives/nmg/nmg.c: + rt_nmg_import4_fastf takes a const matp_t -2012-02-28 01:10 n_reed +2013-03-29 03:16 brlcad - * [r49565] src/libdm/dm-ogl.c: - print pointer with %p instead of %llu. suppresses compiler - warning. + * [r54955] src/librt/primitives/arb8/arb8.c: + ws indent style cleanup -2012-02-27 23:47 brlcad +2013-03-29 03:14 brlcad - * [r49564] HACKING: - joab no longer works for GCN (works at IDG), so remove him as a - point-of-contact for announcements. + * [r54954] src/librt/primitives/arb8/arb8.c: + quell gcc false positive due to the parameter getting set within + the expression. initialize explicitly for good measure anyways. -2012-02-27 19:56 bob1961 +2013-03-29 02:47 brlcad - * [r49563] include/dm.h, src/libdm/axes.c, src/libdm/dm-Null.c, - src/libdm/dm-X.c, src/libdm/dm-ogl.c, src/libdm/dm-plot.c, - src/libdm/dm-ps.c, src/libdm/dm-rtgl.c, src/libdm/dm-tk.c, - src/libdm/dm-wgl.c: - Added dm_drawPoint3D and dm_drawPoints3D. + * [r54953] src/util/bwcrop.c: + need signed comparison now to match buflines -2012-02-27 19:51 bob1961 +2013-03-29 02:35 brlcad - * [r49562] src/libtclcad/tclcad_obj.c: - Mods to to_data_axes() to allow gdas_draw to have 3 values (i.e. - no draw, draw axes, draw points). + * [r54952] src/librt/primitives/bot/tie_kdtree.c: + bu_log supports %zu for size_t -2012-02-27 05:34 starseeker +2013-03-28 20:20 carlmoore - * [r49561] CMakeLists.txt, INSTALL: - Copy/paste error, looks like... + * [r54951] src/librt/primitives/bot/tie_kdtree.c: + fix warning about format designator -2012-02-27 03:18 tbrowder2 +2013-03-28 19:59 carlmoore - * [r49560] doc/docbook/articles/it/about_it.xml: - use meaningful image file names + * [r54950] src/mged/cad_boundp.c: + provide Usage based on the man page, but the program is allowed + to continue running -2012-02-27 03:17 tbrowder2 +2013-03-28 19:48 carlmoore - * [r49559] doc/docbook/articles/it/CMakeLists.txt: - update with correct file info + * [r54949] src/anim/chan_permute.c: + oops, also put in the correct command name in these error + messages -2012-02-27 03:16 tbrowder2 +2013-03-28 19:45 carlmoore - * [r49558] src/libgcv/wfobj/obj_parser_state.h: - typo + * [r54948] src/anim/chan_permute.c: + modify messages for can't open -2012-02-27 03:15 tbrowder2 +2013-03-28 18:04 brlcad - * [r49557] CMakeLists.txt: - document more options + * [r54947] misc/CMake/BRLCAD_CompilerFlags.cmake: + there are far too many unquellable false-positive inline warnings + with more recent versions of gcc (4.7ish) where it warns about + not being able to inline default constructors and desctructors + that it created and that we cannot quell with the given inline + hooks. so turn them all off (for C++) for now -2012-02-27 03:15 tbrowder2 +2013-03-28 17:49 brlcad - * [r49556] src/rt/viewedge.c: - ws + * [r54946] src/other/CMakeLists.txt: + revert back to ignoring the boost subdir -2012-02-27 00:33 starseeker +2013-03-28 17:49 brlcad - * [r49555] CMakeLists.txt: - Tweaks to Apache fop env check, version message, DocBook options. + * [r54945] src/libbu/CMakeLists.txt, src/libbu/thread.cpp: + upon closer inspection, it looks like boost just did exactly what + I had originally planned to do anyways, namely calling the + pthread and win32 TLS api, so strip out the boost hooks. it's not + worth having the additional compilation complexity to get + boost_thread compiling cleanly and the major third-party dep it + would be adding to libbu. we can just do our own thing here in + far far fewer lines of code, far less integration complexity. -2012-02-27 00:27 starseeker +2013-03-28 17:45 brlcad - * [r49554] misc/CMake/CheckCInline.cmake: - don't want the inline test printing each time cmake is run. + * [r54944] src/libpc/CMakeLists.txt: + since we can't seem to do a damn thing about the inline warnings, + turn them off outright -2012-02-26 23:59 starseeker +2013-03-28 17:37 brlcad - * [r49553] CMakeLists.txt, INSTALL: - Add the change to the option documentation in CMakeLists.txt, - rather than INSTALL - that part of the docs is autogenerated. + * [r54943] src/libbu/parallel.c: + hindsight consideration, don't pretend we'd ever be able to talk + to 'thread' 0 since it's going to be sitting there waiting for + the invoked threads to finish. kinda like execl. so number them 0 + to ncpu-1 -2012-02-26 21:51 tbrowder2 +2013-03-28 17:34 bob1961 - * [r49552] INSTALL: - document the APACHE_FOP environment variable used by the cmake - build system + * [r54942] src/libged/mater.c: + Get rid of "" and [] from the mater commands prompt array. This + breaks things when sending back to Tcl land. -2012-02-26 21:47 tbrowder2 +2013-03-28 17:34 brlcad - * [r49551] CMakeLists.txt: - add recognition of an APACHE_FOP env var to point to a user's - fop; correct sense of cmake dependent option tests for pdf + * [r54941] src/libbu/parallel.c: + hook up to the thread local storage so bu_parallel_id() can track + our thread number, fix record keeping that keeps track of how + many started/finished -2012-02-26 19:08 tbrowder2 +2013-03-28 15:47 bob1961 - * [r49550] doc/docbook/books/en/tutorial_series_authors.xml: - make utf-8 explicit + * [r54940] src/tclscripts/archer/ArcherCore.tcl: + This fixes an issue where geometry doesn't show up in the newly + visible display windows that are exposed when going to multi-pane + mode AND display-lists are enabled. -2012-02-26 19:08 tbrowder2 +2013-03-28 13:50 bob1961 - * [r49549] doc/docbook/README: - note new language in translated docs + * [r54939] src/tclscripts/archer/ArcherCore.tcl: + Added ArcherCore::freezeGUI. -2012-02-26 18:27 tbrowder2 +2013-03-28 05:44 brlcad - * [r49548] INSTALL: - add a tad more specificity since PDF is not mentioned in any of - the option names + * [r54938] src/libbu/ispar.c: + remove the no longer compiled ispar.c, merged into parallel.c so + we could eliminate a global -2012-02-26 17:10 tbrowder2 +2013-03-28 05:39 brlcad - * [r49547] doc/docbook/articles/it/CMakeLists.txt: - add CMake data for Italian translation + * [r54937] src/libbu/heap.c: + we now have a bu_parallel_id() that works, shift from 1-to-ncpu + to 0-to-ncpu-1 -2012-02-26 17:00 tbrowder2 +2013-03-28 05:36 brlcad - * [r49546] doc/docbook/articles/CMakeLists.txt: - add Italian translation + * [r54936] src/libbu/CMakeLists.txt: + we're using it now, so compile thread.cpp and link against + boost_thread -2012-02-26 15:52 tbrowder2 +2013-03-28 05:33 brlcad - * [r49545] doc/docbook/articles/it, - doc/docbook/articles/it/about_it.xml, - doc/docbook/articles/it/images, - doc/docbook/articles/it/images/README.images_map, - doc/docbook/articles/it/images/bc2.gif, - doc/docbook/articles/it/images/brlcad-overview-benchmark-Bldg_391.jpg, - doc/docbook/articles/it/images/brlcad-overview-benchmark-M35.jpg, - doc/docbook/articles/it/images/brlcad-overview-benchmark-Moss.jpg, - doc/docbook/articles/it/images/brlcad-overview-benchmark-Sphflake.jpg, - doc/docbook/articles/it/images/brlcad-overview-benchmark-Star.jpg, - doc/docbook/articles/it/images/brlcad-overview-benchmark-World.jpg, - doc/docbook/articles/it/images/brlcad-overview-data-flow.png, - doc/docbook/articles/it/images/image008.png, - doc/docbook/articles/it/images/image010.jpg, - doc/docbook/articles/it/images/image012.jpg, - doc/docbook/articles/it/images/image014.jpg, - doc/docbook/articles/it/images/image016.jpg, - doc/docbook/articles/it/images/image018.jpg, - doc/docbook/articles/it/images/image020.jpg, - doc/docbook/articles/it/images/sflogo.png: - add Italian translation - -2012-02-24 20:39 brlcad - - * [r49544] misc/CMake/CompilerFlags.cmake: - mtune=generic wasn't the cause of the illegal instruction - problem, so remove it. cause was sse. - -2012-02-24 20:36 brlcad - - * [r49543] TODO: - need to improve sse support big-time. been bitten by distribution - bugs at least twice now. also metaball adjusting seems to be - hosed. - -2012-02-24 20:36 starseeker - - * [r49542] misc/CMake/CheckCInline.cmake: - The MSVC build fails when trying to link openNURBS when we run - this macro - avoid it on MSVC until the correct solution is - determined. - -2012-02-24 19:57 brlcad - - * [r49541] misc/CMake/CompilerFlags.cmake: - go ahead and enable sse for debug builds, but make an emphatic - plea to not enable sse for release builds since we don't have the - right run-time infrastructure in place to avoid run-time illegal - instructions on systems that don't have sse. - -2012-02-24 19:53 brlcad - - * [r49540] misc/CMake/CompilerFlags.cmake: - GAH, revert the msse3 addition from r46520 as it invariably - caused days of mysterious debugging for the exact same reason it - was disabled in the first place. you can't just turn on sse for - binaries that are distributed since you'll end up with illegal - instructions (crashes) at runtime. debugged issue encountered on - debian with jordi sayol and user notius, who was running .deb - installs on a Pentium M system. - -2012-02-24 18:08 starseeker - - * [r49539] src/other/lemon/lempar.c: - Take a different approach to the issue seen with r49253 - -2012-02-24 06:04 brlcad - - * [r49538] NEWS: - reword for prb. tom browder fixed a bug affecting the regions and - solids commands where they were dumping core if run due to bogus - type coercion. reported and fixed by tom in sf bug report - 3392558, fixed in r48037. - -2012-02-24 06:00 brlcad - - * [r49537] NEWS: - reword for prb tracking since the commit messages are extracted. - tom browder fixed a bug in mged where the relatively new - BotEditor GUI was no longer functional. breakage was reported in - sf bug report 3392650, fixed in r48073 by tom. gui now displays - correctly. + * [r54935] src/libbu/thread.cpp: + fix header, thread.cpp -2012-02-24 05:54 brlcad +2013-03-28 05:32 brlcad - * [r49536] NEWS: - Bob fixed a bug in Archer's tree view - the tree view wasn't - highlighting the correct objects when the option was set to - highlight objects that would be impacted by editing the currently - selected object. (reword to expand name) + * [r54934] src/libbu/parallel.h, src/libbu/thread.cpp: + provide an initial implementation of two functions to get/set the + current cpu number in thread-local-storage (TLS). this + preliminarily uses boost threads, but will probably change to + minimize the complexity where we have support for intrinsic + compiler TLS. -2012-02-24 05:51 brlcad +2013-03-28 05:27 brlcad - * [r49535] NEWS: - Make sure the attributes and comb are always on the same page, - and that we don't miss color if someone works with rgb. - (expanding name so it'll be easier to tabulate and group down the - road, need to fix others after next PRB) + * [r54933] include/bu.h: + declare the new bu_parallel_id() function for returning the + current bu_parallel's cpu number (1 to ncpu) -2012-02-24 05:49 brlcad +2013-03-28 05:23 brlcad - * [r49534] NEWS: - Apply alphabetical sorting to the toplevel objects list in - rtwizard. (edit due to inconsistent case) + * [r54932] src/libpc/CMakeLists.txt: + don't turn off all warnings, just make them not be errors -2012-02-24 05:47 brlcad +2013-03-28 05:21 brlcad - * [r49533] NEWS: - slew of code fixes and slight build system tweaks in support of - the intel compiler, significant enough to note since it's - fundamental portability infrastructure. + * [r54931] src/other/CMakeLists.txt: + build the boost_thread compiled library (although this is + probably temporary) -2012-02-24 05:41 brlcad +2013-03-28 05:20 brlcad - * [r49532] src/util/bwmod.c: - make sure the index doesn't exceep the mapbuf buffer + * [r54930] src/other/boost/libs/thread/CMakeLists.txt: + the library name is supposed to be boost_thread -2012-02-24 05:36 brlcad +2013-03-28 04:40 brlcad - * [r49531] src/other/lemon/lempar.c: - apparently yyRuleName is only used during debug compilation - according to icc + * [r54929] src/other/boost/CMakeLists.txt: + smart_ptr doesn't actually have a CMakeLists.txt file to describe + the build -2012-02-24 04:49 brlcad +2013-03-27 22:19 r_weiss - * [r49530] CMakeLists.txt: - call the new CHECK_C_INLINE macro for improved portability + * [r54928] src/conv/iges/findp.c, src/conv/iges/iges_struct.h, + src/conv/iges/main.c, src/conv/iges/readrec.c: + Updates to iges converter, changing some data types to "size_t" + and "off_t" to support function "bu_ftell". -2012-02-24 04:48 brlcad +2013-03-27 21:56 r_weiss - * [r49529] misc/CMake/CheckCInline.cmake: - add an initial implementation of a new CHECK_C_INLINE() macro for - detecting legacy forms of specifying inlining. this impl is - loosely based off a snippet from Jack Kelly on the cmake mailing - list except it avoids writing out a source file and only defines - inline to something else if we need to. alas, this implementation - does cop-out and sets a global definition instead of letting the - caller decide by passing in a variable, but it should work well - enough for those legacy systems and compilation modes (like - default icc compilation) that need it. + * [r54927] src/util/plrot.c: + Change to print format for return value of bu_ftell. -2012-02-24 03:57 starseeker +2013-03-27 21:43 r_weiss - * [r49528] misc/CMake/BRLCAD_Util.cmake, src/libdm/CMakeLists.txt, - src/libged/CMakeLists.txt, src/librt/CMakeLists.txt, - src/libtclcad/CMakeLists.txt, src/libwdb/CMakeLists.txt: - Take a different approach to per-target defines management - use - global properties instead of cached values. This should have - better behavior when configure options are changed. + * [r54926] src/util/pixbustup.c: + Update to "pixbustup.c" changing type for "bu_lseek" to "off_t". -2012-02-23 22:29 n_reed +2013-03-27 21:35 r_weiss - * [r49527] src/libged/CMakeLists.txt: - initialize GED defines + * [r54925] src/fb/pp-fb.c: + Update to "pp-fb.c", changing types for "bu_lseek" from "long" to + "off_t". -2012-02-23 22:19 starseeker +2013-03-27 21:26 r_weiss - * [r49526] src/librt/CMakeLists.txt, src/libwdb/CMakeLists.txt: - few more initializations + * [r54924] src/libfb/if_X24.c: + Update to file "if_X24.c" to support "bu_lseek" on Windows 64bit. -2012-02-23 21:44 starseeker +2013-03-27 21:19 r_weiss - * [r49525] src/adrt/CMakeLists.txt, src/libtclcad/CMakeLists.txt: - Couple more tweaks for turning opengl on/off + * [r54923] include/fbio.h: + Update to "fbio.h" changing the return for "_write" and "_read" + to "ssize_t". -2012-02-23 21:27 starseeker +2013-03-27 21:17 r_weiss - * [r49524] src/librt/db_alloc.c: - Doubtful this gets to the heart of the matter, but when - investigating an xpush crash valgrind reports memory being called - uninitialized in the xpush free routines at xpush.c:90 is - initially allocated by db_alloc_directory_block. Somehow the - dp->d_use_hd entry in question has a 'used' pointer pointing to - uninitialized memory. Should have it in the first place, but if - we use bu_calloc in db_alloc_directory_block instead of bu_malloc - we at least don't crash. + * [r54922] src/libfb/if_X.c, src/libfb/if_X24.c, + src/libfb/if_debug.c, src/libfb/if_disk.c, src/libfb/if_mem.c, + src/libfb/if_null.c, src/libfb/if_ogl.c, src/libfb/if_remote.c, + src/libfb/if_stack.c: + Updates to libfb to support bu_lseek and improve Windows 64bit. + Changed many "long" and "int" to "off_t", "size_t" or "ssize_t". + +2013-03-27 19:43 r_weiss + + * [r54921] src/libged/tables.c: + Update to ged_tables to support bu_lseek on Windows 64bit. + +2013-03-27 18:33 bob1961 + + * [r54920] src/tclscripts/lib/Command.tcl: + This fixes the Command::invoke method's mishandling of double + quotes in nested commands. + +2013-03-27 18:23 bob1961 + + * [r54919] src/tclscripts/archer/ArcherCore.tcl: + Minor tweak to ArcherCore::getTreeMembers. + +2013-03-27 18:22 carlmoore + + * [r54918] src/util/pix-png.c: + program works the same but the source code has been slightly + shortened + +2013-03-27 16:30 starseeker + + * [r54917] INSTALL, configure.cmake.sh, src/other/CMakeLists.txt, + src/other/tkdnd, src/other/tkdnd.dist, src/other/tktreectrl, + src/other/tktreectrl.dist: + revert 54916 + +2013-03-27 16:28 starseeker + + * [r54916] INSTALL, configure.cmake.sh, src/other/CMakeLists.txt, + src/other/tkdnd, src/other/tkdnd.dist, + src/other/tkdnd/CMakeLists.txt, src/other/tkdnd/Changelog, + src/other/tkdnd/cmake, src/other/tkdnd/cmake/FindTCL.cmake, + src/other/tkdnd/cmake/FindX11.cmake, + src/other/tkdnd/configure.in, src/other/tkdnd/demos, + src/other/tkdnd/demos/basic.tcl, + src/other/tkdnd/demos/dndSpy.tcl, src/other/tkdnd/doc, + src/other/tkdnd/doc/tkDND.htm, src/other/tkdnd/doc/tkDND.n, + src/other/tkdnd/library, src/other/tkdnd/library/tkdnd.tcl, + src/other/tkdnd/library/tkdnd_compat.tcl, + src/other/tkdnd/library/tkdnd_macosx.tcl, + src/other/tkdnd/library/tkdnd_unix.tcl, + src/other/tkdnd/library/tkdnd_windows.tcl, + src/other/tkdnd/license.terms, src/other/tkdnd/macosx, + src/other/tkdnd/macosx/macdnd.m, src/other/tkdnd/pkgIndex.tcl.in, + src/other/tkdnd/tclconfig, src/other/tkdnd/tclconfig/ChangeLog, + src/other/tkdnd/tclconfig/README.txt, + src/other/tkdnd/tclconfig/install-sh, + src/other/tkdnd/tclconfig/tcl.m4, src/other/tkdnd/unix, + src/other/tkdnd/unix/Cursors.c, + src/other/tkdnd/unix/TkDND_XDND.c, + src/other/tkdnd/unix/tkUnixSelect.c, src/other/tkdnd/win, + src/other/tkdnd/win/OleDND.h, + src/other/tkdnd/win/TkDND_OleDND.cpp, src/other/tktreectrl, + src/other/tktreectrl.dist, src/other/tktreectrl/CMake, + src/other/tktreectrl/CMake/FindTCL.cmake, + src/other/tktreectrl/CMake/FindX11.cmake, + src/other/tktreectrl/CMakeLists.txt, + src/other/tktreectrl/ChangeLog, src/other/tktreectrl/aclocal.m4, + src/other/tktreectrl/config.h.in, src/other/tktreectrl/configure, + src/other/tktreectrl/configure.ac, src/other/tktreectrl/demos, + src/other/tktreectrl/demos/biglist.tcl, + src/other/tktreectrl/demos/bitmaps.tcl, + src/other/tktreectrl/demos/column-lock.tcl, + src/other/tktreectrl/demos/demo.tcl, + src/other/tktreectrl/demos/explorer.tcl, + src/other/tktreectrl/demos/firefox.tcl, + src/other/tktreectrl/demos/gradients.tcl, + src/other/tktreectrl/demos/gradients2.tcl, + src/other/tktreectrl/demos/gradients3.tcl, + src/other/tktreectrl/demos/headers.tcl, + src/other/tktreectrl/demos/help.tcl, + src/other/tktreectrl/demos/imovie.tcl, + src/other/tktreectrl/demos/inspector.tcl, + src/other/tktreectrl/demos/layout.tcl, + src/other/tktreectrl/demos/mailwasher.tcl, + src/other/tktreectrl/demos/mycomputer.tcl, + src/other/tktreectrl/demos/outlook-folders.tcl, + src/other/tktreectrl/demos/outlook-newgroup.tcl, + src/other/tktreectrl/demos/pics, + src/other/tktreectrl/demos/pics/big-dll.gif, + src/other/tktreectrl/demos/pics/big-exe.gif, + src/other/tktreectrl/demos/pics/big-file.gif, + src/other/tktreectrl/demos/pics/big-folder.gif, + src/other/tktreectrl/demos/pics/big-txt.gif, + src/other/tktreectrl/demos/pics/checked.gif, + src/other/tktreectrl/demos/pics/feather.gif, + src/other/tktreectrl/demos/pics/file.gif, + src/other/tktreectrl/demos/pics/folder-closed.gif, + src/other/tktreectrl/demos/pics/folder-open.gif, + src/other/tktreectrl/demos/pics/help-book-closed.gif, + src/other/tktreectrl/demos/pics/help-book-open.gif, + src/other/tktreectrl/demos/pics/help-page.gif, + src/other/tktreectrl/demos/pics/imovie-01.gif, + src/other/tktreectrl/demos/pics/imovie-02.gif, + src/other/tktreectrl/demos/pics/imovie-03.gif, + src/other/tktreectrl/demos/pics/imovie-04.gif, + src/other/tktreectrl/demos/pics/imovie-05.gif, + src/other/tktreectrl/demos/pics/imovie-06.gif, + src/other/tktreectrl/demos/pics/imovie-07.gif, + src/other/tktreectrl/demos/pics/internet-check-off.gif, + src/other/tktreectrl/demos/pics/internet-check-on.gif, + src/other/tktreectrl/demos/pics/internet-print.gif, + src/other/tktreectrl/demos/pics/internet-radio-off.gif, + src/other/tktreectrl/demos/pics/internet-radio-on.gif, + src/other/tktreectrl/demos/pics/internet-search.gif, + src/other/tktreectrl/demos/pics/internet-security.gif, + src/other/tktreectrl/demos/pics/mac-collapse.gif, + src/other/tktreectrl/demos/pics/mac-expand.gif, + src/other/tktreectrl/demos/pics/outlook-arrow.gif, + src/other/tktreectrl/demos/pics/outlook-clip.gif, + src/other/tktreectrl/demos/pics/outlook-deleted.gif, + src/other/tktreectrl/demos/pics/outlook-draft.gif, + src/other/tktreectrl/demos/pics/outlook-folder.gif, + src/other/tktreectrl/demos/pics/outlook-group.gif, + src/other/tktreectrl/demos/pics/outlook-inbox.gif, + src/other/tktreectrl/demos/pics/outlook-local.gif, + src/other/tktreectrl/demos/pics/outlook-main.gif, + src/other/tktreectrl/demos/pics/outlook-outbox.gif, + src/other/tktreectrl/demos/pics/outlook-read-2.gif, + src/other/tktreectrl/demos/pics/outlook-read.gif, + src/other/tktreectrl/demos/pics/outlook-sent.gif, + src/other/tktreectrl/demos/pics/outlook-server.gif, + src/other/tktreectrl/demos/pics/outlook-unread.gif, + src/other/tktreectrl/demos/pics/outlook-watch.gif, + src/other/tktreectrl/demos/pics/sky.gif, + src/other/tktreectrl/demos/pics/small-dll.gif, + src/other/tktreectrl/demos/pics/small-exe.gif, + src/other/tktreectrl/demos/pics/small-file.gif, + src/other/tktreectrl/demos/pics/small-folder.gif, + src/other/tktreectrl/demos/pics/small-txt.gif, + src/other/tktreectrl/demos/pics/unchecked.gif, + src/other/tktreectrl/demos/random.tcl, + src/other/tktreectrl/demos/span.tcl, + src/other/tktreectrl/demos/style-editor.tcl, + src/other/tktreectrl/demos/table.tcl, + src/other/tktreectrl/demos/textvariable.tcl, + src/other/tktreectrl/demos/www-options.tcl, + src/other/tktreectrl/doc, + src/other/tktreectrl/doc/What-is-New-in-TkTreeCtrl.html, + src/other/tktreectrl/doc/man.macros, + src/other/tktreectrl/doc/manual.txt, + src/other/tktreectrl/doc/treectrl.html, + src/other/tktreectrl/doc/treectrl.man, + src/other/tktreectrl/doc/treectrl.n, + src/other/tktreectrl/generic, + src/other/tktreectrl/generic/qebind.c, + src/other/tktreectrl/generic/qebind.h, + src/other/tktreectrl/generic/tkTreeColumn.c, + src/other/tktreectrl/generic/tkTreeCtrl.c, + src/other/tktreectrl/generic/tkTreeCtrl.h, + src/other/tktreectrl/generic/tkTreeDisplay.c, + src/other/tktreectrl/generic/tkTreeDrag.c, + src/other/tktreectrl/generic/tkTreeElem.c, + src/other/tktreectrl/generic/tkTreeElem.h, + src/other/tktreectrl/generic/tkTreeHeader.c, + src/other/tktreectrl/generic/tkTreeItem.c, + src/other/tktreectrl/generic/tkTreeMarquee.c, + src/other/tktreectrl/generic/tkTreeNotify.c, + src/other/tktreectrl/generic/tkTreeStyle.c, + src/other/tktreectrl/generic/tkTreeTheme.c, + src/other/tktreectrl/generic/tkTreeUtils.c, + src/other/tktreectrl/library, + src/other/tktreectrl/library/filelist-bindings.tcl, + src/other/tktreectrl/library/treectrl.tcl, + src/other/tktreectrl/license.terms, src/other/tktreectrl/macosx, + src/other/tktreectrl/macosx/tkMacOSXTree.c, + src/other/tktreectrl/pkg.m4, src/other/tktreectrl/shellicon, + src/other/tktreectrl/shellicon/configure, + src/other/tktreectrl/shellicon/configure.ac, + src/other/tktreectrl/shellicon/shellicon.c, + src/other/tktreectrl/shellicon/shellicon.dll.manifest.in, + src/other/tktreectrl/shellicon/shellicon.rc, + src/other/tktreectrl/shellicon/tclconfig, + src/other/tktreectrl/shellicon/tclconfig/README.txt, + src/other/tktreectrl/shellicon/tclconfig/install-sh, + src/other/tktreectrl/shellicon/tclconfig/tcl.m4, + src/other/tktreectrl/tclconfig, + src/other/tktreectrl/tclconfig/README.txt, + src/other/tktreectrl/tclconfig/install-sh, + src/other/tktreectrl/tclconfig/tcl.m4, + src/other/tktreectrl/tests, src/other/tktreectrl/tests/all.tcl, + src/other/tktreectrl/tests/column.test, + src/other/tktreectrl/tests/display.test, + src/other/tktreectrl/tests/element.test, + src/other/tktreectrl/tests/header.test, + src/other/tktreectrl/tests/item.test, + src/other/tktreectrl/tests/itemdesc.test, + src/other/tktreectrl/tests/notify-old.test, + src/other/tktreectrl/tests/notify.test, + src/other/tktreectrl/tests/style.test, + src/other/tktreectrl/tests/treectrl.test, + src/other/tktreectrl/treectrl.dll.manifest.in, + src/other/tktreectrl/treectrl.rc, src/other/tktreectrl/unix, + src/other/tktreectrl/unix/tkUnixTree.c, src/other/tktreectrl/win, + src/other/tktreectrl/win/tkWinTree.c, + src/other/tktreectrl/winrc.m4: + OK, make a better stab at this - a single commit that makes both + tktreectrl and tkdnd packages available in BRL-CAD. Not clear yet + if tkdnd is the right thing to use for tree element manipulation, + but it will allow for support for things like dragging and + dropping a .g file onto Archer to open it. + +2013-03-27 15:17 bob1961 + + * [r54915] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl: + Added a preference for the max number of members displayed in + Archer's tree for a combination. This prevents the GUI from + locking when some user wants a few hundred thousand members in a + single group (ttk::treeview doesn't handle this well). Also warn + the user when all members are not visible. -2012-02-23 21:24 starseeker +2013-03-27 15:06 brlcad - * [r49523] src/libdm/CMakeLists.txt: - clear previous definitions in case something (like opengl - settings) changed. + * [r54914] TODO: + chan_ tools belong in util, not anim. terrible names too. -2012-02-23 20:10 starseeker +2013-03-27 14:15 bob1961 - * [r49520] NEWS, src/tclscripts/rtwizard/lib/MGEDpage.itk: - Apply alphabetical sorting to the toplevel objects list in - rtwizard. + * [r54913] src/other/tk/library/panedwindow.tcl: + Apply previous fixes to ::tk::panedwindow::Motion and + ::tk::panedwindow::MarkSash. -2012-02-23 18:53 brlcad +2013-03-27 13:41 brlcad - * [r49519] src/liboptical/photonmap.c: - avoid division by zero + * [r54912] src/remrt/rtsrv.c: + another cpulimit removal -2012-02-23 18:50 brlcad +2013-03-27 13:19 brlcad - * [r49518] src/conv/dem-g.c, src/libtclcad/tclcad_obj.c: - cast int to enum type to appease icc + * [r54911] TODO: + temp colors and temp matrices during ray tracing -2012-02-23 18:42 brlcad +2013-03-27 13:10 brlcad - * [r49517] src/liboptical/sh_text.c: - fill out the callback functions that do nothing just to appease - pedantic compilation. uncovered the need for a second mlib_void() - due to the different signature. + * [r54910] src/rt/do.c: + remove the old cray cpulimit call, didn't do anything useful + anywhere else and the func is now gone -2012-02-23 18:40 brlcad +2013-03-27 04:53 brlcad - * [r49516] src/librt/primitives/revolve/revolve.c: - bonefide bug detected by icc, the sketch verts array are 2d - entities so we should be calling V2MOVE() instead of VMOVE() and - V2JOIN1() instead of VJOIN1(). + * [r54909] src/libbu/parallel.c: + bu_get_public_cpus() went bye bye -2012-02-23 18:37 brlcad +2013-03-27 04:51 brlcad - * [r49515] src/vdeck/vdeck.c: - init op to obuf so it's not potentially used before init. + * [r54908] src/libbu/parallel.c: + make sure windows is consistent with stashing cpu ids from 1 to + ncpu too -2012-02-23 18:35 brlcad +2013-03-27 04:50 brlcad - * [r49514] src/librt/primitives/pnts/pnts.c: - cast int to enum to make icc happy + * [r54907] src/libbu/parallel.c: + clean up some of the failure logging and pass the thread cpu id + numbers indexed from 1 to ncpu (inclusive). that way we can + reserve cpu 0 for the parent process/thread that is creating all + of the threads. stub in an initial bu_parallel_id() function to + get the cpu id, but just checkpointing the work in progress + because __thread is apparently unavailable on Mac OS X. -2012-02-23 18:34 brlcad +2013-03-27 04:18 brlcad - * [r49513] src/mged/mged.c: - mged_notify() is used as an void(*)(int) pointer, so give it an - unused int param + * [r54906] CHANGES, include/bu.h, src/libbu/parallel.c: + remove bu_cpulimit_get() and bu_cpulimit_set() as a minimally + impacting change since they've also pretty much done nothing for + a couple decades. -2012-02-23 18:32 brlcad +2013-03-27 04:14 brlcad - * [r49512] src/util/fix_polysolids.c: - init at least the first union field to zero. + * [r54905] CHANGES, include/bu.h: + deprecated to obsolete: remove declarations for bu_fopen_uniq() + and bu_get_public_cpus() -2012-02-23 18:31 brlcad +2013-03-27 04:01 brlcad - * [r49511] src/librt/search.c: - init to one of the enum types, not an int + * [r54904] src/libbu/CMakeLists.txt, src/libbu/Makefile.am, + src/libbu/fopen_uniq.c: + deprecated to obsolete: remove bu_fopen_uniq() -2012-02-23 18:26 brlcad +2013-03-27 04:01 brlcad - * [r49510] src/libged/attr.c: - name is already the right type for bu_strcmp() + * [r54903] src/libbu/parallel.c: + removed bu_get_load_average and bu_set_realtime. the latter is + technically minimally impacting since the implementation has done + nothing for a couple decades now. -2012-02-23 17:51 brlcad +2013-03-27 03:58 brlcad - * [r49509] src/libged/exists.c, src/libged/typein.c: - icc does not like code that implicitly pretends enums are ints. - cast accordingly to make the intent explicit. + * [r54902] CHANGES, include/bu.h: + deprecated to obsolete: remove bu_get_load_average() and + bu_set_realtime() -2012-02-23 17:44 brlcad +2013-03-27 02:34 brlcad - * [r49508] src/libged/edit.c, src/libged/tables.c: - icc portability, undo over-constification decls + * [r54901] include/rtgeom.h, src/libbu/semaphore.c, + src/librt/roots.c, src/librt/timer42.c, src/rt/do.c, + src/util/ttcp.c: + remove support for platforms that are no longer even remotely + accessible (sgi arguably is, but we should still compile there + with gcc). remove accommodations and references to cray, + sgi/irix, and alliant -2012-02-23 17:37 brlcad +2013-03-27 02:30 brlcad - * [r49507] src/proc-db/menger.c: - capture the mask values in an int before assigning to the mask to - appease icc + * [r54900] include/bu.h: + remove support for cray, irix/sgi, convex, and ultrix. highly + dependent on the compiler and makes the define seem to be much + more complicated than it really is. -2012-02-23 16:54 brlcad +2013-03-27 02:29 brlcad - * [r49506] sh/footer.sh: - use cmake-mode instead of sh-mode now that it works, even though - users have to install it manually + * [r54899] include/orle.h: + convex is long gone -2012-02-23 07:02 brlcad +2013-03-27 02:11 brlcad - * [r49505] AUTHORS, NEWS, doc/docbook/articles/CMakeLists.txt, - doc/docbook/articles/ru, doc/docbook/articles/ru/CMakeLists.txt, - doc/docbook/articles/ru/about_ru.xml: - include an even older translation of the about page to russian by - Ilya in 2008. don't have many details on this contributor but - again the translation seems sane. + * [r54898] include/bu.h: + declare the new bu_semaphore.free() function. -2012-02-23 06:30 brlcad +2013-03-27 02:11 brlcad - * [r49504] AUTHORS, NEWS, doc/docbook/articles/CMakeLists.txt, - doc/docbook/articles/hy, doc/docbook/articles/hy/CMakeLists.txt, - doc/docbook/articles/hy/about_hy.xml: - include a recent translation of the about page by Karen Mgebrova - of armenia. the armenian (hy) translation is a solid utf-8 - monolith, but google translate confirms that it seems to be a - good translation. thanks karen! credit her in NEWS and AUTHORS - accordingly. originally tried to name the file մասին.xml and - everything worked fine in our toolchain except for the pre-commit - hook on the sf.net side of the fence. + * [r54897] src/libbu/semaphore.c: + do the same for semaphore support, remove the antiquated + platforms (sgi, ardent, alliant, convex, cray, n16). make + bu_semaphore_free() a thing too, instead of just an idea for + releasing memory. -2012-02-23 05:24 brlcad +2013-03-27 02:03 brlcad - * [r49503] doc/docbook/articles/en/CMakeLists.txt, - doc/docbook/articles/en/about.xml: - add the original about page from the website as a docbook - article. we've gotten a lot of mileage out of that text since I - pulled it all together 8+ years ago, long overdue some basic - revision control. + * [r54896] src/libbu/parallel.c: + since the interface is getting updates, same obsolescence holds + true for our old cray, alliant, convex, ardent, and encore + multimax -2012-02-23 00:12 starseeker +2013-03-27 01:58 brlcad - * [r49502] CMakeLists.txt: - Default RTSERVER to OFF until we figure out what to do about the - zlib issue - if someone needs it on and the need to use a java - compiled against an older zlib, they'll need to set - -DBRLCAD_ZLIB=OFF and -DBRLCAD_ENABLE_RTSERVER=ON. + * [r54895] src/libbu/parallel.c: + remove parallel support for SGI IRIX since it's a gone platform + and keeping it here has become a maintenance burden (having to + maintain and needing to improve/change a threading impl that + cannot be tested) -2012-02-22 22:40 bob1961 +2013-03-27 01:45 brlcad - * [r49501] src/tclscripts/archer/ArcherCore.tcl: - Make ArcherCore::updateTreeDrawLists public. + * [r54894] src/libbu/parallel.c: + consistency, use arrow instead of parendotting -2012-02-22 21:34 jordisayol +2013-03-27 01:28 brlcad - * [r49500] sh/make_deb.sh: - revert to erikgreenwald changes + * [r54893] src/libbu/parallel.c: + rename bu_pid_of_initiating_thread to not have the bu_ prefix + since it's not a published global. make it static too to limit + scope. -2012-02-22 20:58 brlcad +2013-03-27 01:22 brlcad - * [r49499] TODO: - it's specifically the 'keyword' file format + * [r54892] src/libbu/CMakeLists.txt, src/libbu/Makefile.am, + src/libbu/globals.c, src/libbu/parallel.c: + collapse ispar.c into parallel.c even though we want to prefer + smaller files. ispar was a bad non-descript name to begin with + and the two functions it provides are weak. more importantly, the + access a global that we can make static if we consolidate it to + parallel.c -2012-02-22 20:57 brlcad +2013-03-26 20:42 brlcad - * [r49498] TODO: - ls-dyna importer would be cool. + * [r54891] src/libbu/parallel.c: + clean up the array indexing, inconsistently unconventional -2012-02-22 20:36 brlcad +2013-03-26 20:38 brlcad - * [r49497] src/conv/ply-g.c: - revert r49396 since that comparison is always true (and newer - versions of gcc are able to figure that out). not a workable fix - for tainted data. + * [r54890] include/bu.h, src/libbu/CMakeLists.txt, + src/libbu/Makefile.am, src/libbu/affinity.c, + src/libbu/parallel.c, src/libbu/parallel.h: + bu_set_affinity() doesn't need to be public API if we call it on + all bu_parallel() threads for the user. it becomes an + implementation detail. rename to parallel_set_affinity(), update + accordingly to depublish, and add to old build. -2012-02-22 19:40 starseeker +2013-03-26 20:26 brlcad - * [r49495] CMakeLists.txt, misc/CMake/BRLCAD_CheckFunctions.cmake: - bite the bullet - we need to be able to specify additional - directories in some cases when looking for headers, so add that - ability to BRLCAD_INCLUDE_FILE. + * [r54889] include/bu.h, src/libbu/affinity.c: + move comments from source to header, remove unhelpful file + comment, include common.h before system headers -2012-02-21 22:54 brlcad +2013-03-26 20:24 brlcad - * [r49494] BUGS: - the yacc parsers are failing on non-bison platforms due to - differences in behavior. it'll be at least a few months before - all are converted to lemon, so note the bug in the meantime. the - fix looks pretty simple (FindYACC.cmake), but needs testing. + * [r54888] src/libbu/affinity.c: + ws style comment cleanup -2012-02-21 22:27 bob1961 +2013-03-26 20:18 brlcad - * [r49493] src/tclscripts/lib/TkTable.tcl: - Update cadwidgets::TkTable::handleKey to potentially call the - dataCallback when a cell in column 0 receives a keypress. + * [r54887] include/bu.h, src/libbu/CMakeLists.txt, + src/libbu/affinity.c, src/libbu/parallel.c: + apply skriptkid's (akshay kashyap's) gci patch + (http://www.google-melange.com/gci/task/view/google/gci2012/8070202) + that implements cpu thread affinity. initial testing showed a + HUGE impact on massively parallel systems with one 64-core ibm + power7 system showing a benchmark performance improvement around + 50% (VGR increase from 120k to 180k). currently only implemented + for pthread systems, but should be easily extended to other + platforms and gives bu_parallel() some initial infrastructure so + bu_parallel threads can know their CPU id. very cool. -2012-02-21 20:57 brlcad +2013-03-26 19:25 brlcad - * [r49492] TODO: - benchmark needs to include compiler details too. + * [r54886] src/libbu/heap.c: + implement a per-cpu data structure so that we can support + multithreaded memory requests without pooching our data and + without needing to acquire a performance-killer semaphore lock. + restructure the bin data into a single struct container which + should give better data coherence as well (but need to verify). -2012-02-21 20:05 brlcad +2013-03-26 18:59 carlmoore - * [r49491] TODO: - svg is in the same boat as pdf conversion export + * [r54885] src/util/pixfilter.c: + touchup so that pixfilter.c resembles, as close as possible, + bwfilter.c . -2012-02-21 17:55 starseeker +2013-03-26 17:36 bob1961 - * [r49487] src/librtserver/CMakeLists.txt: - Get librtserver closer to building properly. + * [r54884] src/tclscripts/archer/ArcherCore.tcl: + ArcherCore::getTreeMembers is no longer recursive. -2012-02-21 15:00 jordisayol +2013-03-26 16:26 r_weiss - * [r49486] misc/debian/rules: - remove unneeded flags on deb building process. + * [r54883] src/proc-db/molecule.c: + Fix a windows build error. -2012-02-21 14:09 starseeker +2013-03-26 16:04 brlcad - * [r49485] src/other/libpng/projects/vstudio/pngstest: - pngstest is still empty (r49239) + * [r54882] + src/other/step/src/express/generated/verification_info.cmake: + missing a 9, typo apparently -2012-02-21 14:07 starseeker +2013-03-26 15:44 brlcad - * [r49484] src/other/libpng/CMakeLists.txt: - Go with 'lib' for all instances of CMAKE_LIBRARY_OUTPUT_DIRECTORY - (r49115) + * [r54881] src/other/step/cmake/Generated_Source_Utils.cmake, + src/other/step/src/express/generated/verification_info.cmake: + if we only strip evil carriage returns, we can use md5sum on the + file directly to verify and update them. -2012-02-21 14:04 starseeker +2013-03-26 15:16 brlcad - * [r49483] src/other/libpng/Makefile.am: - re-add the changes to Makefile.am from 46025 + * [r54880] src/other/lemon/lempar.c: + set the initial dynamic allocation to 256 for better memory + alignment and doubling in powers of two -2012-02-21 14:01 starseeker +2013-03-26 15:15 brlcad - * [r49482] src/other/libpng/ANNOUNCE, src/other/libpng/CHANGES, - src/other/libpng/CMakeLists.txt, src/other/libpng/LICENSE, - src/other/libpng/Makefile.am, src/other/libpng/README, - src/other/libpng/configure.ac, - src/other/libpng/contrib/libtests/pngvalid.c, - src/other/libpng/libpng-manual.txt, src/other/libpng/libpng.3, - src/other/libpng/libpngpf.3, src/other/libpng/png.5, - src/other/libpng/png.c, src/other/libpng/png.h, - src/other/libpng/pngconf.h, src/other/libpng/pngerror.c, - src/other/libpng/pngpread.c, src/other/libpng/pngrutil.c, - src/other/libpng/pngstruct.h, src/other/libpng/pngtest.c, - src/other/libpng/projects/vstudio/pngstest, - src/other/libpng/projects/vstudio/readme.txt, - src/other/libpng/projects/vstudio/zlib.props, - src/other/libpng/scripts/README.txt, - src/other/libpng/scripts/def.dfn, - src/other/libpng/scripts/libpng-config-head.in, - src/other/libpng/scripts/libpng.pc.in, - src/other/libpng/scripts/makefile.cegcc, - src/other/libpng/scripts/makefile.linux, - src/other/libpng/scripts/makefile.ne12bsd, - src/other/libpng/scripts/makefile.netbsd, - src/other/libpng/scripts/makefile.openbsd, - src/other/libpng/scripts/pnglibconf.h.prebuilt, - src/other/libpng/scripts/symbols.def: - Update libpng to 1.5.9 + * [r54879] src/other/step/src/express/expparse.y, + src/other/step/src/express/generated/expparse.c: + looks like a stack size of 0 means grow dynamically on the heap + instead of static allocation. array is going to be faster, but + it's more critical to not hit a compile-time limit. by default, + grow the dynamic allocation from 256 in powers of two. -2012-02-21 01:11 brlcad +2013-03-26 15:01 n_reed - * [r49481] misc/CMake/CompilerFlags.cmake: - add -mtune=generic to release builds in order to help ensure that - -O3 compilations are still portable for a given target - architecture. this may or may not be the issue reported in sf - support request # 3464421 but give it a try. also, only set - -std=gnu89 if we're a debug build. that way you can specify NONE - for the build type and avoid both std flags. + * [r54878] src/other/step/src/fedex_plus/classes.c: + put attrFlags declarations in preprocessor conditionals to match + wrapped uses; avoids unused variable warnings -2012-02-19 20:34 jordisayol +2013-03-26 14:58 r_weiss - * [r49480] misc/debian/rules: - Update cmake settings on debian building process. + * [r54877] src/other/tk/win/wish.exe.manifest: + This file is needed for windows to build. -2012-02-19 19:46 jordisayol +2013-03-26 14:51 n_reed - * [r49479] misc/debian/rules: - Make 32-bit deb packages more compatible. + * [r54876] src/other/step/src/clstepcore/STEPaggregate.h, + src/other/step/src/fedex_plus/classes.c, + src/other/step/src/fedex_plus/classes_wrapper.cc, + src/other/step/src/fedex_plus/multpass.c, + src/other/step/src/fedex_plus/selects.c: + Facilitate merge work by removing the const_ typedef return types + introducded in r49683. It's not clear that returned values need + const qualification, or that they are assigned to lvalues that + preserve that qualification, so these const_ types are presently + an elaborate way to accomplish nothing, and moreover have caused + issues parsing some express inputs. Until someone can + authoritatively determine what values should and should-not be + considered read-only, we'll take a much simpler approach to + suppressing misued qualifier warnings by just omitting the + erroneous application of const to generated return types. -2012-02-18 00:24 n_reed +2013-03-26 14:22 brlcad - * [r49478] src/other/step/src/fedex_plus/classes_wrapper.cc: - don't output unused variable + * [r54875] src/util/pix-png.c: + undo apparent accidental inclusion of pix-png.c in r54858. it + made help options not work (and incorrectly spits an error about + not outputting to a tty). -2012-02-17 22:53 n_reed +2013-03-26 14:13 n_reed - * [r49477] src/other/step/src/cleditor/STEPfile.cc, - src/other/step/src/cleditor/STEPfile.inline.cc, - src/other/step/src/clstepcore/ExpDict.cc, - src/other/step/src/clstepcore/STEPaggregate.cc, - src/other/step/src/clstepcore/STEPattribute.cc, - src/other/step/src/clstepcore/read_func.cc, - src/other/step/src/clstepcore/sdaiApplication_instance.cc, - src/other/step/src/clstepcore/sdaiEnum.cc, - src/other/step/src/clutils/errordesc.cc: - remove some dead code - -2012-02-17 22:25 n_reed - - * [r49476] src/other/step/src/clprobe-ui/probe.cc, - src/other/step/src/clprobe-ui/stepentdescriptor.cc, - src/other/step/src/clprobe-ui/stepenteditor.cc, - src/other/step/src/clstepcore/STEPcomplex.cc, - src/other/step/src/clstepcore/Select.h, - src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/selects.c, - src/other/step/src/test/generate_express/generate_express.cc: - try to fix strings changed to std::string that still called - non-existent chars member function + * [r54874] src/libged/draw.c: + fix leaked path memory in ged_redraw + +2013-03-26 13:53 carlmoore -2012-02-17 19:53 bob1961 + * [r54873] src/mged/mged.c: + fix spelling in a comment - * [r49474] src/tclscripts/archer/ArcherCore.tcl: - Added doFlipView. Also fixed typo when adding history in doAe. +2013-03-26 13:08 starseeker -2012-02-17 15:16 bob1961 + * [r54872] src/other/libpng.dist: + Add config.h.in to png dist file. - * [r49473] src/util/imgdims.c: - The second parameter to bu_file_exists() should be NULL in this - case. +2013-03-26 03:54 brlcad -2012-02-17 06:09 brlcad + * [r54871] include/bu.h: + rt_avail_cpus() was renamed to bu_avail_cpus() a long time ago, + update comment along with bu_hist_range() - * [r49472] src/util/cv.c: - make sure the format cookies aren't null, sanity related to cid - 1500: TAINTED_SCALAR +2013-03-26 03:31 brlcad -2012-02-17 05:58 brlcad + * [r54870] include/conf/PATCH: + significant third-party updates, bump patch to keep track - * [r49471] misc/enigma/enigma.c: - coverity detects potential overflow or truncation so add some - sanity checking, cid 321: INTEGER_OVERFLOW +2013-03-26 03:04 brlcad -2012-02-17 05:45 brlcad + * [r54869] src/libbu/heap.c: + support a wider range of allocation request sizes (1-1024) but + keep page sizes at 1MB per size. add the ability to bomb on + out-of-range requests so they can be traced. - * [r49470] src/util/gencolor.c, src/util/hex.c, src/util/imgdims.c, - src/util/pixhist3d-pl.c: - bunch of bounds checks related to coverity TAINTED_SCALAR - detections. cid 1503, 1504, 1505, 1510 +2013-03-26 02:49 brlcad -2012-02-17 05:42 brlcad + * [r54868] src/liboptical/sh_light.c: + not just rare but unlikely that there are thousands of light + sources, so let them be allocated on the system heap. pretty big + struct (295 bytes) - * [r49469] src/rttherm/ssamp-bw.c, src/rttherm/ssampview.c: - see if the specified input files exist. relates to cid 1568,1569: - TAINTED_STRING +2013-03-26 02:16 brlcad -2012-02-17 05:38 brlcad + * [r54867] src/libbu/heap.c: + make the debug printing conditional on bu_debug being set to + something - * [r49468] src/proc-db/contours.c, src/proc-db/molecule.c, - src/proc-db/pipe.c: - more bounds checks +2013-03-26 01:40 brlcad -2012-02-17 05:35 brlcad + * [r54866] src/mged/mged.c: + restore stdout and stderr when we're done with the GUI by + capturing them with a dup() call and then later restoring back + with dup2(). this fixes a problem where an atexit() callback + couldn't write out anything during shutdown (SIGPIPE) because Tcl + had destroyed the channel we set up. document and descope a + couple of the globals while we're at it. untested, but this + should work fine on windows as well because dup/dup2 are c89 and + msdn-supported. begging for some _WIN32 cleanup consolidation + (the duplication seems unnecessary). - * [r49467] src/proc-db/vegetation.c: - check some bounds related to coverity cid 2092, TAINTED_SCALAR +2013-03-26 00:22 brlcad -2012-02-17 05:33 brlcad + * [r54865] src/mged/mged.c: + slow commit, wasn't supposed to get this yet - * [r49466] src/util/dbcp.c: - use libbu memory management +2013-03-26 00:21 brlcad -2012-02-17 02:22 starseeker + * [r54864] src/mged/mged.c: + looks like LOGFILE is no longer used, which is good because this + looks like a total non-portable hack - * [r49465] sh/distcheck_screen.sh: - Tweak tail commands +2013-03-26 00:19 brlcad -2012-02-16 23:43 starseeker + * [r54863] src/mged/cmd.c: + moved gui_setup to mged.h so no longer need to declare here - * [r49464] sh/distcheck_screen.sh: - Add a couple more names +2013-03-26 00:18 brlcad -2012-02-16 23:39 starseeker + * [r54862] src/mged/mged.h: + declare gui_output - * [r49463] sh/distcheck_screen.sh: - Put the titles on the right windows +2013-03-26 00:11 brlcad -2012-02-16 21:44 starseeker + * [r54861] src/mged/mged.c: + remove the debug printing to the non-portable /tmp/stdout file, + makes several bogus assumptions. also be sure to remove our + bu_log hook that redirects output to the GUI when we're closing + the application. there may be other calls to bu_log() that will + crash after Tcl is shut down. - * [r49462] misc/CMake/CompilerFlags.cmake: - We aren't using ExternalProject... +2013-03-25 21:41 carlmoore -2012-02-16 21:43 starseeker + * [r54860] src/util/bw-rle.c: + changed 'pix' to 'bw' (this does NOT affect 'pixel') - * [r49461] misc/CMake/CompilerFlags.cmake: - Checking the STD_C99_FLAGS variable in Autotools build logic that - served a similar purpose, it is using gnu99 - probably to avoid - issues c99 is causing on Linux. Go with that. +2013-03-25 17:16 n_reed -2012-02-16 21:14 bob1961 + * [r54859] src/other/step/src/express/expparse.y, + src/other/step/src/express/generated/expparse.c, + src/other/step/src/express/generated/verification_info.cmake: + Parsing 242_n2813_mim_lf.exp exceeds lemon's max stack depth. The + quick fix is to double the stack size to 200, which incidentally + is bison's initial stack size. - * [r49460] src/libtclcad/tclcad_obj.c: - Initialize top_z using -MAX_FASTF. +2013-03-25 13:47 carlmoore -2012-02-16 20:21 starseeker + * [r54858] src/libged/Makefile.am, src/util/Makefile.am, + src/util/pix-png.c: + remove trailing blanks & tabs - * [r49459] CMakeLists.txt, misc/CMake/Distcheck.cmake: - Ah, right - turning on all the libs is now the responsibility of - the macro defining the test, not hardcoding it. +2013-03-25 11:48 starseeker -2012-02-16 19:49 bob1961 + * [r54857] src/other/libpng/Makefile.am: + Re-add some of the changes from r46025 - CPPFLAGS handling seems + to have changed in 1.6.0 - * [r49458] src/tclscripts/archer/ArcherCore.tcl: - Fixed ArcherCore::packTree. If the first line contained a matrix, - the matrix was not getting enclosed in braces. +2013-03-25 04:53 starseeker -2012-02-16 19:44 bob1961 + * [r54856] NEWS, TODO, src/other/libpng.dist, + src/other/libpng/ANNOUNCE, src/other/libpng/CHANGES, + src/other/libpng/CMakeLists.txt, src/other/libpng/INSTALL, + src/other/libpng/LICENSE, src/other/libpng/Makefile.am, + src/other/libpng/README, src/other/libpng/arm/arm_init.c, + src/other/libpng/arm/filter_neon.S, src/other/libpng/autogen.sh, + src/other/libpng/config.h.in, src/other/libpng/configure.ac, + src/other/libpng/contrib/examples, + src/other/libpng/contrib/examples/README.txt, + src/other/libpng/contrib/examples/iccfrompng.c, + src/other/libpng/contrib/examples/pngpixel.c, + src/other/libpng/contrib/examples/pngtopng.c, + src/other/libpng/contrib/gregbook/Makefile.sgi, + src/other/libpng/contrib/gregbook/Makefile.unx, + src/other/libpng/contrib/gregbook/readpng2.c, + src/other/libpng/contrib/libtests/fakepng.c, + src/other/libpng/contrib/libtests/gentests.sh, + src/other/libpng/contrib/libtests/makepng.c, + src/other/libpng/contrib/libtests/pngstest.c, + src/other/libpng/contrib/libtests/pngunknown.c, + src/other/libpng/contrib/libtests/pngvalid.c, + src/other/libpng/contrib/libtests/readpng.c, + src/other/libpng/contrib/libtests/tarith.c, + src/other/libpng/contrib/libtests/test-pngstest.sh, + src/other/libpng/contrib/libtests/test-pngunknown.sh, + src/other/libpng/contrib/libtests/test-pngvalid-full.sh, + src/other/libpng/contrib/libtests/test-pngvalid-simple.sh, + src/other/libpng/contrib/libtests/timepng.c, + src/other/libpng/contrib/pngminim/README, + src/other/libpng/contrib/pngminim/decoder/makefile, + src/other/libpng/contrib/pngminim/decoder/pngusr.dfa, + src/other/libpng/contrib/pngminim/decoder/pngusr.h, + src/other/libpng/contrib/pngminim/encoder/README, + src/other/libpng/contrib/pngminim/encoder/makefile, + src/other/libpng/contrib/pngminim/encoder/pngusr.dfa, + src/other/libpng/contrib/pngminim/encoder/pngusr.h, + src/other/libpng/contrib/pngminim/preader/makefile, + src/other/libpng/contrib/pngminim/preader/pngusr.dfa, + src/other/libpng/contrib/pngminim/preader/pngusr.h, + src/other/libpng/contrib/pngminus/makefile.std, + src/other/libpng/contrib/pngminus/png2pnm.c, + src/other/libpng/contrib/pngminus/pnm2png.c, + src/other/libpng/contrib/tools, + src/other/libpng/contrib/tools/README.txt, + src/other/libpng/contrib/tools/checksum-icc.c, + src/other/libpng/contrib/tools/chkfmt, + src/other/libpng/contrib/tools/cvtcolor.c, + src/other/libpng/contrib/tools/intgamma.sh, + src/other/libpng/contrib/tools/makesRGB.c, + src/other/libpng/contrib/tools/sRGB.h, + src/other/libpng/contrib/visupng/PngFile.h, + src/other/libpng/example.c, src/other/libpng/libpng-manual.txt, + src/other/libpng/libpng.3, src/other/libpng/libpngpf.3, + src/other/libpng/png.5, src/other/libpng/png.c, + src/other/libpng/png.h, src/other/libpng/pngconf.h, + src/other/libpng/pngerror.c, src/other/libpng/pngget.c, + src/other/libpng/pnginfo.h, src/other/libpng/pngmem.c, + src/other/libpng/pngpread.c, src/other/libpng/pngpriv.h, + src/other/libpng/pngread.c, src/other/libpng/pngrio.c, + src/other/libpng/pngrtran.c, src/other/libpng/pngrutil.c, + src/other/libpng/pngset.c, src/other/libpng/pngstruct.h, + src/other/libpng/pngtest.c, src/other/libpng/pngtest.png, + src/other/libpng/pngtrans.c, src/other/libpng/pngwio.c, + src/other/libpng/pngwrite.c, src/other/libpng/pngwtran.c, + src/other/libpng/pngwutil.c, + src/other/libpng/projects/owatcom/libpng.wpj, + src/other/libpng/projects/owatcom/pngstest.tgt, + src/other/libpng/projects/visualc71/README.txt, + src/other/libpng/projects/visualc71/libpng.vcproj, + src/other/libpng/projects/visualc71/pngtest.vcproj, + src/other/libpng/projects/vstudio/WARNING, + src/other/libpng/projects/vstudio/libpng/libpng.vcxproj, + src/other/libpng/projects/vstudio/pnglibconf/pnglibconf.vcxproj, + src/other/libpng/projects/vstudio/pngstest, + src/other/libpng/projects/vstudio/pngstest/pngstest.vcxproj, + src/other/libpng/projects/vstudio/pngtest/pngtest.vcxproj, + src/other/libpng/projects/vstudio/pngunknown, + src/other/libpng/projects/vstudio/pngunknown/pngunknown.vcxproj, + src/other/libpng/projects/vstudio/pngvalid/pngvalid.vcxproj, + src/other/libpng/projects/vstudio/readme.txt, + src/other/libpng/projects/vstudio/vstudio.sln, + src/other/libpng/projects/vstudio/zlib.props, + src/other/libpng/projects/vstudio/zlib/zlib.vcxproj, + src/other/libpng/scripts/README.txt, + src/other/libpng/scripts/checksym.awk, + src/other/libpng/scripts/chkfmt, + src/other/libpng/scripts/def.dfn, + src/other/libpng/scripts/descrip.mms, + src/other/libpng/scripts/intprefix.dfn, + src/other/libpng/scripts/libpng-config-head.in, + src/other/libpng/scripts/libpng.pc.in, + src/other/libpng/scripts/macro.lst, + src/other/libpng/scripts/makefile.32sunu, + src/other/libpng/scripts/makefile.64sunu, + src/other/libpng/scripts/makefile.aix, + src/other/libpng/scripts/makefile.bc32, + src/other/libpng/scripts/makefile.beos, + src/other/libpng/scripts/makefile.bor, + src/other/libpng/scripts/makefile.cegcc, + src/other/libpng/scripts/makefile.darwin, + src/other/libpng/scripts/makefile.dec, + src/other/libpng/scripts/makefile.dj2, + src/other/libpng/scripts/makefile.elf, + src/other/libpng/scripts/makefile.freebsd, + src/other/libpng/scripts/makefile.gcc, + src/other/libpng/scripts/makefile.hp64, + src/other/libpng/scripts/makefile.hpgcc, + src/other/libpng/scripts/makefile.hpux, + src/other/libpng/scripts/makefile.ibmc, + src/other/libpng/scripts/makefile.intel, + src/other/libpng/scripts/makefile.knr, + src/other/libpng/scripts/makefile.linux, + src/other/libpng/scripts/makefile.mips, + src/other/libpng/scripts/makefile.msc, + src/other/libpng/scripts/makefile.msys, + src/other/libpng/scripts/makefile.ne12bsd, + src/other/libpng/scripts/makefile.netbsd, + src/other/libpng/scripts/makefile.openbsd, + src/other/libpng/scripts/makefile.sco, + src/other/libpng/scripts/makefile.sggcc, + src/other/libpng/scripts/makefile.sgi, + src/other/libpng/scripts/makefile.so9, + src/other/libpng/scripts/makefile.solaris, + src/other/libpng/scripts/makefile.solaris-x86, + src/other/libpng/scripts/makefile.std, + src/other/libpng/scripts/makefile.sunos, + src/other/libpng/scripts/makefile.tc3, + src/other/libpng/scripts/makefile.vcwin32, + src/other/libpng/scripts/makevms.com, + src/other/libpng/scripts/options.awk, + src/other/libpng/scripts/pnglibconf.dfa, + src/other/libpng/scripts/pnglibconf.h.prebuilt, + src/other/libpng/scripts/pnglibconf.mak, + src/other/libpng/scripts/prefix.dfn, + src/other/libpng/scripts/symbols.def, + src/other/libpng/test-pngvalid-full.sh, + src/other/libpng/test-pngvalid-simple.sh: + Upgrade libpng to 1.6.0 - * [r49457] src/librt/db_tree.c: - Update error message from db_tree_parse. +2013-03-25 02:39 starseeker -2012-02-16 19:42 starseeker + * [r54855] src/other/libpng/Makefile.am: + re-add the changes to Makefile.am from 46025 - * [r49456] sh/CMakeLists.txt, sh/distcheck_screen.sh: - Fun with GNU screen (well, the development version anyway) - set - up a convenient set of windows for monitoring the parallel - distcheck build. +2013-03-25 02:33 starseeker -2012-02-16 17:34 starseeker + * [r54854] NEWS: + Add news item about upgrading Tcl/Tk to 8.5.13 - * [r49455] misc/CMake/distcheck_target.cmake.in: - Fix invocation of benchmark with option... +2013-03-23 18:43 starseeker -2012-02-16 16:35 brlcad + * [r54853] src/other/tcl/CMakeLists.txt, + src/other/tk/CMakeLists.txt: + Update CMake's variables for Tcl/Tk versions - * [r49454] src/shapes/bolt.c, src/shapes/gastank.c, - src/shapes/window.c, src/shapes/window_frame.c, - src/shapes/wire.c: - test min/max bounds for most of the parameters where we need - something sane to proceed, the rest +2013-03-23 04:29 brlcad -2012-02-16 16:27 brlcad + * [r54852] TODO: + push second iteration tasks further back since we're way off + track and release is the priority. richard noticed massive memory + leakage in mged blowing out bu_malloc when drawing large + geometry, so need to sort that out asap. push the rest back. - * [r49453] src/shapes/handle.c: - test min/max bounds for most of the parameters where we need - something sane to proceed +2013-03-23 04:01 brlcad -2012-02-16 16:18 starseeker + * [r54851] regress/solidspix.asc, src/libbn/poly.c: + restore the increased M_SQRT3 precision change that carl had made + to the polynomial root solver, which broke the solids regression + test. walking the math through the debugger showed that a + slightly different root was being returned causing a ray to + intersect the massively distorted eto in the solids regression at + enough of a delta to cause different light computations. this + resulted in a single pixel off-by-many, which we also update in + the reference image so that it reflects the new more accurate + answer. while we're at it, increase the precision of 1/3 and + 1/27th by computing them during static init. - * [r49452] misc/CMake/Distcheck.cmake: - Make log filename match target name +2013-03-22 23:05 starseeker -2012-02-16 16:09 brlcad + * [r54850] src/other/tk/Makefile.am: + try to get rid of all the ttk man pages. - * [r49451] src/shapes/bolt.c, src/shapes/gastank.c, - src/shapes/handle.c, src/shapes/window.c, - src/shapes/window_frame.c, src/shapes/wire.c: - don't allow potentially tainted or unset data to propagate if - scanf fails. coverity TAINTED_SCALAR reports: cids 2093-2096 +2013-03-22 22:43 starseeker -2012-02-16 16:06 starseeker + * [r54849] src/burst/Makefile.am, src/bwish/Makefile.am, + src/conv/Makefile.am, src/conv/iges/Makefile.am, + src/conv/vdeck/Makefile.am, src/fb/Makefile.am, + src/gtools/Makefile.am, src/gtools/beset/Makefile.am, + src/halftone/Makefile.am, src/irprep/Makefile.am, + src/lgt/Makefile.am, src/libanalyze/Makefile.am, + src/libgcv/Makefile.am, src/libged/Makefile.am, + src/libmultispectral/Makefile.am, src/liboptical/Makefile.am, + src/librt/Makefile.am, src/libwdb/Makefile.am, + src/mged/Makefile.am, src/nirt/Makefile.am, + src/proc-db/Makefile.am, src/remrt/Makefile.am, + src/rt/Makefile.am, src/rttherm/Makefile.am, + src/shapes/Makefile.am, src/util/Makefile.am: + Distcheck still not working in autotools, but this at least gets + things compiling again... - * [r49450] CMakeLists.txt, misc/CMake/Distcheck.cmake: - Clean-up and polish - distcheck target can now be pointed to - distcheck-full or distcheck-std per user arg, don't re-create - targets if CREATE_DISTCHECK is called multiple times with the - same name, ws, other minor tweaks. +2013-03-22 22:35 starseeker -2012-02-16 15:59 brlcad + * [r54848] src/other/openNURBS/Makefile.am: + Still need to build these openNURBS files. - * [r49449] misc/CMake/CompilerFlags.cmake: - libfb uses C99_FLAG to try and mimic autoconf's accommodation for - the c89-busted gl.h in Mac OS X's OpenGL framework, so we need to - test and set it (but not persist it across the entire build tree) +2013-03-22 21:22 n_reed -2012-02-16 08:04 starseeker + * [r54847] src/other/step/src/fedex_plus/classes.c: + move variable definition outside of loops to avoid multiple + declaration errors in generated sources - * [r49448] misc/CMake/Distcheck.cmake, - misc/CMake/distcheck_repo_verify.cmake.in, - misc/CMake/distcheck_target.cmake.in: - 'Anything worth doing is worth applying insane overengineering - to, or something like that... This takes the CMake distcheck - architecture to the next level. It modularizes the distcheck - process into repository verification, source generation, and - build/regress testing components, with appropriate dependencies. - In addition to the advantage of being able to run 'only what you - need' if, say, you want to check repo verification status this - actually makes distribution testing of multiple build/configure - settings independent. So if distcheck needs to test both Debug - and Release CMAKE_BUILD_TYPE settings (which looks like a good - idea) a make -j9 distcheck will do the repo verification, build - the source archives and launch multiple builds of BRL-CAD in - parallel. On massively parallel machines this means not only C - source compilations in parallel but multiple CMake configures - running in parallel as well. The logging by default is much - quieter now, althought there is a variable override if needed... - to monitor the progress of individual configurations' builds you - can now tail -f the distcheck_.log files in the build - directory - so even for parallel testing of multiple - configurations the logging is organized automatically. The - standard distcheck target will do Debug and Release, but there is - also a distcheck-full target that will run ALL defined - configurations. Right now there aren't any more, but there are - some obvious candidates like a non-Tk build, and they can be added - to distcheck-full with a single definition line in - Distcheck.cmake - -2012-02-16 06:18 starseeker - - * [r49447] misc/CMake/distcheck_repo_verify.cmake.in: - Need to rework handling of final message using this method. - -2012-02-16 05:56 starseeker - - * [r49446] misc/CMake/distcheck_target.cmake.in: - Tweak the distcheck rules. - -2012-02-16 05:26 starseeker - - * [r49445] src/libtclcad/tclcad_obj.c: - More initializations - -2012-02-16 05:16 starseeker - - * [r49444] src/vdeck/vdeck.c: - The Release build in distcheck proves its worth. Initialize the - op pointer. - -2012-02-16 03:13 starseeker - - * [r49443] misc/CMake/distcheck_target.cmake.in: - If we're good, remove the compilation log - -2012-02-16 03:05 starseeker - - * [r49442] misc/CMake/Distcheck.cmake, - misc/CMake/distcheck_buildsys.cmake.in, - misc/CMake/distcheck_repo_verify.cmake.in, - misc/CMake/distcheck_target.cmake.in: - make the script name a bit more descriptive. +2013-03-22 21:13 brlcad -2012-02-16 03:01 starseeker + * [r54846] include/vmath.h: + add an M_PI_3 constant even though it's not common, just because + we need it in at least one place - * [r49441] misc/CMake/Distcheck.cmake, - misc/CMake/distcheck_target.cmake.in: - Be quieter about a few things during distcheck... +2013-03-22 21:02 brlcad -2012-02-16 02:30 starseeker + * [r54845] include/vmath.h: + increase the precision of all our vmath math constants to 36 + digits. in the process, found an error in M_PI_4 but it was below + double-precision. - * [r49440] CMakeLists.txt, misc/CMake/Distcheck.cmake, - misc/CMake/distcheck_buildsys.cmake.in, - misc/CMake/distcheck_message.in, - misc/CMake/distcheck_target.cmake.in: - Make a stab at cleaning up the distcheck logic a bit, or at least - reducing the line count of the logic needed to define it... +2013-03-22 20:12 brlcad -2012-02-16 02:20 starseeker + * [r54844] src/libbn/poly.c: + this temporarily reverts r54495 because it introduced regression + failures in the solids test (due to subtle graze/hit changes). + need to update the regression test to match and propagate other + improvements - * [r49439] CMakeLists.txt: - Try making distcheck do both Debug and Release builds... +2013-03-22 20:03 carlmoore -2012-02-16 00:40 starseeker + * [r54843] src/anim/chan_permute.c: + fix a comment and a Usage statement which had 'channel' instead + of 'chan_permute' - * [r49437] misc/CMake/distcheck_buildsys.cmake.in: - One other possible line to remove from svn info output for - distcheck... +2013-03-22 19:41 n_reed -2012-02-15 22:12 bob1961 + * [r54842] src/other/step/src/express/expparse.y, + src/other/step/src/express/generated/expparse.c, + src/other/step/src/express/generated/verification_info.cmake: + correct a mistake in r51070, which apparently wasn't a perfect + application of SCL git c415e49 - * [r49436] src/tclscripts/archer/Archer.tcl, - src/tclscripts/archer/ArcherCore.tcl: - Make Archer's notion of top/bottom the same as MGED's. +2013-03-22 19:36 carlmoore -2012-02-15 21:58 bob1961 + * [r54841] src/util/png-pix.c: + add 'png-pix: ' to error messages, and eliminate newline in + middle of Usage - * [r49435] src/libtclcad/tclcad_obj.c: - Tweak to_data_pick() to pick the top data point. +2013-03-22 19:29 carlmoore -2012-02-15 21:54 n_reed + * [r54840] src/fb/png-fb.c: + put 'png-fb' name into messages - * [r49434] src/other/step/src/express/expscan.l: - another missed ignore +2013-03-22 19:17 carlmoore -2012-02-15 21:10 bob1961 + * [r54839] src/util/pix-png.c: + just the Usage message if run with no arguments AND no file pipes - * [r49433] src/conv/asc/asc2g.c: - Need to add "find" separately instead of "dbfind". +2013-03-22 18:16 starseeker -2012-02-15 19:41 n_reed + * [r54838] include/brep.h: + whoops, need the extern C++ - * [r49432] src/other/step/src/express/expscan.l: - looks like we forgot to ignore a token +2013-03-22 18:08 starseeker -2012-02-15 18:52 n_reed + * [r54837] include/brep.h: + Shouldn't have to use C style comments here - why isn't the + #ifdef __cplusplus conditional protecting the C++ code? - * [r49431] include/bu.h: - expand bu_sscanf comment with behavioral details +2013-03-22 17:27 carlmoore -2012-02-15 18:48 n_reed + * [r54836] INSTALL, misc/jove.emacs, src/libged/editit.c, + src/mged/tedit.c: + remove trailing blanks/tabs - * [r49430] src/libbu/sscanf.c: - zero width should be okay for c conversion too +2013-03-22 17:22 bob1961 -2012-02-15 17:24 starseeker + * [r54835] src/tclscripts/archer/ArcherCore.tcl: + Arrange to sync the hierarchy tree in Archer after a call to + xpush. - * [r49429] TODO: - Add some initial notes on libbu option handling - nothing - definitive. +2013-03-22 16:56 brlcad -2012-02-15 17:18 bob1961 + * [r54834] NEWS: + jove is no more. cliff did it, blame him. ;) - * [r49428] src/tclscripts/archer/Archer.tcl, - src/tclscripts/archer/ArcherCore.tcl: - Added a slider for selecting object transparency. +2013-03-22 16:49 starseeker + + * [r54833] configure.ac, include/brep.h, src/librt/Makefile.am, + src/librt/primitives/bot/bot.c: + More tweaks to try and get autotools working - something is going + wrong with librt and openNURBS + +2013-03-22 16:43 n_reed + + * [r54832] src/libged/editit.c, + src/librt/primitives/brep/brep_debug.cpp: + remove unused variables + +2013-03-22 16:35 n_reed + + * [r54831] src/mged/tedit.c: + remove extra argument to bu_which + +2013-03-22 16:08 brlcad + + * [r54830] src/liboptical/sh_cloud.c: + move the NUMSINES define closer to the use since it's localized + to this one function, and document what it means + +2013-03-22 14:59 brlcad + + * [r54829] src/liboptical/sh_cloud.c: + go for a compromise. use M_SQRT1_2, but truncate it to 0.707 with + an explanation for why this matters. done as a static const so we + only compute the truncation once, even though the performance + impact is probably insignificant. -2012-02-15 17:01 starseeker +2013-03-22 14:46 starseeker - * [r49427] TODO: - Another search feature in place. + * [r54828] src/other/openNURBS/Makefile.am: + More files changed in openNURBS -2012-02-15 16:59 starseeker +2013-03-22 14:44 starseeker - * [r49426] TODO: - search allows all of these usages now - remove from TODO + * [r54827] CHANGES, CMakeLists.txt, INSTALL, configure.ac, + src/libged/editit.c, src/libged/joint.c, src/mged/tedit.c, + src/other/CMakeLists.txt, src/other/Makefile.am, src/other/jove, + src/other/jove.dist: + Remove the long-deprecated jove editor in src/other. -2012-02-15 15:06 bob1961 +2013-03-22 14:36 r_weiss - * [r49425] src/tclscripts/archer/ArcherCore.tcl: - Added Cyan to the list of colors available in the tree popup - menu. + * [r54826] src/conv/vdeck/vextern.h: + Another data type change from "long" to "off_t" to allow the + function "bu_fseek" to work on Windows 64bit. -2012-02-14 22:17 brlcad +2013-03-22 14:16 brlcad - * [r49424] src/shapes/wire.c: - don't just loudly ignore the scanf failure. set the variables to - something in order to avoid tainted or uninitialized data getting - read and used. increase max segments to 100 too while we're at - it. cid 1489. + * [r54825] regress/moss.sh: + since -n depends on the shell mode and echo impl, don't rely on + it. looks bad in the output. just write a label. -2012-02-14 22:16 n_reed +2013-03-22 14:13 starseeker - * [r49423] src/libbu/sscanf.c, src/libbu/test_sscanf.c: - Support the C99 z, t, and hh modifiers on Windows. Add related - tests. + * [r54824] misc/CMakeLists.txt, misc/Makefile.am, misc/jove.emacs: + Add a stripped down version of the jove.emacs Emacs configuration + file intended to help Emacs emulate the jove editing experience + ('stripped down' means removed things in the original file that + didn't load in modern Emacs and/or code that didn't seem + especially relevant to jove emulation.) Add to misc, in + preparation for removal of src/other/jove. This needs to be + tested by experienced jove users, but it is a starting point. -2012-02-14 21:01 erikgreenwald +2013-03-22 13:56 starseeker + + * [r54823] configure.ac, src/other/openNURBS/Makefile.am, + src/other/tcl/unix/Makefile.in: + More autotools fixes + +2013-03-22 13:50 brlcad + + * [r54822] include/vmath.h: + document the reason for the do while construct + +2013-03-22 13:39 brlcad + + * [r54821] include/vmath.h: + convert all of the vmath block macros to do {} while (0) form so + that a semicolon becomes required. only a really stupid compiler + would actually output an always-false branch test, so it should + have no impact on performance. moreover, testing (mac, linux, + gcc, clang) showed no impact. + +2013-03-22 13:22 brlcad + + * [r54820] src/liboptical/sh_cloud.c: + revert 54485 since the added precision introduces lots of + benchmark result off-by-many changes. the low precision .707 + value has been there since Version 2 of RT (commit 395 in Aug + 1985). a case for updating the benchmarks could be made, but the + sensitivity possibly introduced by the double-precision value is + concerning (will single-precision fastf_t give same values?) + +2013-03-22 03:13 brlcad + + * [r54819] src/burst/grid.c, src/conv/fast4-g.c, src/conv/g-x3d.c, + src/conv/iges/trimsurf.c, src/conv/patch/patch-g.c, + src/conv/proe-g.c, src/libdm/labels.c, src/libgcv/test_bottess.c, + src/libgcv/tri_intersect.c, src/libged/track.c, + src/libged/wdb_bigE.c, src/libged/wdb_importFg4Section.c, + src/liboptical/sh_brdf.c, src/liboptical/sh_plastic.c, + src/librt/primitives/extrude/extrude.c, + src/librt/primitives/nmg/nmg_copy.c, + src/librt/primitives/nmg/nmg_extrude.c, + src/librt/primitives/nmg/nmg_fuse.c, + src/librt/primitives/nmg/nmg_inter.c, + src/librt/primitives/nmg/nmg_misc.c, + src/librt/primitives/nmg/nmg_rt_isect.c, + src/librt/primitives/nmg/nmg_tri.c, + src/librt/primitives/part/part.c, + src/librt/primitives/pipe/pipe.c, + src/librt/primitives/sketch/sketch.c, + src/librt/primitives/tgc/tgc.c, src/mged/dm-generic.c, + src/mged/edarb.c, src/mged/edpipe.c, src/mged/edsol.c, + src/mged/track.c: + fix the remainder of vmath calls that were missing semicolons. + wow, few more than expected. + +2013-03-21 22:19 starseeker + + * [r54818] INSTALL, src/other/CMakeLists.txt: + Oops - correct variable names in Tcl/Tk enable/disable docs. + +2013-03-21 22:07 starseeker + + * [r54817] src/other/tktreectrl: + Now back out the TkTreeCtrl merge until it's needed. + +2013-03-21 22:05 starseeker + + * [r54816] src/other/tktreectrl/CMake, + src/other/tktreectrl/CMake/FindTCL.cmake, + src/other/tktreectrl/CMake/FindX11.cmake, + src/other/tktreectrl/CMakeLists.txt, + src/other/tktreectrl/config.h.in, + src/other/tktreectrl/demos/demo.tcl, + src/other/tktreectrl/generic/tkTreeCtrl.h: + Tweaks and build files for TkTreeCtrl CMake build. Code changes + were including the config.h header and fixing the panel code in + the demo so that it didn't end up trying to use Itk panels in + bwish. + +2013-03-21 22:01 starseeker + + * [r54815] src/other/tktreectrl, src/other/tktreectrl/ChangeLog, + src/other/tktreectrl/aclocal.m4, src/other/tktreectrl/configure, + src/other/tktreectrl/configure.ac, src/other/tktreectrl/demos, + src/other/tktreectrl/demos/biglist.tcl, + src/other/tktreectrl/demos/bitmaps.tcl, + src/other/tktreectrl/demos/column-lock.tcl, + src/other/tktreectrl/demos/demo.tcl, + src/other/tktreectrl/demos/explorer.tcl, + src/other/tktreectrl/demos/firefox.tcl, + src/other/tktreectrl/demos/gradients.tcl, + src/other/tktreectrl/demos/gradients2.tcl, + src/other/tktreectrl/demos/gradients3.tcl, + src/other/tktreectrl/demos/headers.tcl, + src/other/tktreectrl/demos/help.tcl, + src/other/tktreectrl/demos/imovie.tcl, + src/other/tktreectrl/demos/inspector.tcl, + src/other/tktreectrl/demos/layout.tcl, + src/other/tktreectrl/demos/mailwasher.tcl, + src/other/tktreectrl/demos/mycomputer.tcl, + src/other/tktreectrl/demos/outlook-folders.tcl, + src/other/tktreectrl/demos/outlook-newgroup.tcl, + src/other/tktreectrl/demos/pics, + src/other/tktreectrl/demos/pics/big-dll.gif, + src/other/tktreectrl/demos/pics/big-exe.gif, + src/other/tktreectrl/demos/pics/big-file.gif, + src/other/tktreectrl/demos/pics/big-folder.gif, + src/other/tktreectrl/demos/pics/big-txt.gif, + src/other/tktreectrl/demos/pics/checked.gif, + src/other/tktreectrl/demos/pics/feather.gif, + src/other/tktreectrl/demos/pics/file.gif, + src/other/tktreectrl/demos/pics/folder-closed.gif, + src/other/tktreectrl/demos/pics/folder-open.gif, + src/other/tktreectrl/demos/pics/help-book-closed.gif, + src/other/tktreectrl/demos/pics/help-book-open.gif, + src/other/tktreectrl/demos/pics/help-page.gif, + src/other/tktreectrl/demos/pics/imovie-01.gif, + src/other/tktreectrl/demos/pics/imovie-02.gif, + src/other/tktreectrl/demos/pics/imovie-03.gif, + src/other/tktreectrl/demos/pics/imovie-04.gif, + src/other/tktreectrl/demos/pics/imovie-05.gif, + src/other/tktreectrl/demos/pics/imovie-06.gif, + src/other/tktreectrl/demos/pics/imovie-07.gif, + src/other/tktreectrl/demos/pics/internet-check-off.gif, + src/other/tktreectrl/demos/pics/internet-check-on.gif, + src/other/tktreectrl/demos/pics/internet-print.gif, + src/other/tktreectrl/demos/pics/internet-radio-off.gif, + src/other/tktreectrl/demos/pics/internet-radio-on.gif, + src/other/tktreectrl/demos/pics/internet-search.gif, + src/other/tktreectrl/demos/pics/internet-security.gif, + src/other/tktreectrl/demos/pics/mac-collapse.gif, + src/other/tktreectrl/demos/pics/mac-expand.gif, + src/other/tktreectrl/demos/pics/outlook-arrow.gif, + src/other/tktreectrl/demos/pics/outlook-clip.gif, + src/other/tktreectrl/demos/pics/outlook-deleted.gif, + src/other/tktreectrl/demos/pics/outlook-draft.gif, + src/other/tktreectrl/demos/pics/outlook-folder.gif, + src/other/tktreectrl/demos/pics/outlook-group.gif, + src/other/tktreectrl/demos/pics/outlook-inbox.gif, + src/other/tktreectrl/demos/pics/outlook-local.gif, + src/other/tktreectrl/demos/pics/outlook-main.gif, + src/other/tktreectrl/demos/pics/outlook-outbox.gif, + src/other/tktreectrl/demos/pics/outlook-read-2.gif, + src/other/tktreectrl/demos/pics/outlook-read.gif, + src/other/tktreectrl/demos/pics/outlook-sent.gif, + src/other/tktreectrl/demos/pics/outlook-server.gif, + src/other/tktreectrl/demos/pics/outlook-unread.gif, + src/other/tktreectrl/demos/pics/outlook-watch.gif, + src/other/tktreectrl/demos/pics/sky.gif, + src/other/tktreectrl/demos/pics/small-dll.gif, + src/other/tktreectrl/demos/pics/small-exe.gif, + src/other/tktreectrl/demos/pics/small-file.gif, + src/other/tktreectrl/demos/pics/small-folder.gif, + src/other/tktreectrl/demos/pics/small-txt.gif, + src/other/tktreectrl/demos/pics/unchecked.gif, + src/other/tktreectrl/demos/random.tcl, + src/other/tktreectrl/demos/span.tcl, + src/other/tktreectrl/demos/style-editor.tcl, + src/other/tktreectrl/demos/table.tcl, + src/other/tktreectrl/demos/textvariable.tcl, + src/other/tktreectrl/demos/www-options.tcl, + src/other/tktreectrl/doc, + src/other/tktreectrl/doc/What-is-New-in-TkTreeCtrl.html, + src/other/tktreectrl/doc/man.macros, + src/other/tktreectrl/doc/manual.txt, + src/other/tktreectrl/doc/treectrl.html, + src/other/tktreectrl/doc/treectrl.man, + src/other/tktreectrl/doc/treectrl.n, + src/other/tktreectrl/generic, + src/other/tktreectrl/generic/qebind.c, + src/other/tktreectrl/generic/qebind.h, + src/other/tktreectrl/generic/tkTreeColumn.c, + src/other/tktreectrl/generic/tkTreeCtrl.c, + src/other/tktreectrl/generic/tkTreeCtrl.h, + src/other/tktreectrl/generic/tkTreeDisplay.c, + src/other/tktreectrl/generic/tkTreeDrag.c, + src/other/tktreectrl/generic/tkTreeElem.c, + src/other/tktreectrl/generic/tkTreeElem.h, + src/other/tktreectrl/generic/tkTreeHeader.c, + src/other/tktreectrl/generic/tkTreeItem.c, + src/other/tktreectrl/generic/tkTreeMarquee.c, + src/other/tktreectrl/generic/tkTreeNotify.c, + src/other/tktreectrl/generic/tkTreeStyle.c, + src/other/tktreectrl/generic/tkTreeTheme.c, + src/other/tktreectrl/generic/tkTreeUtils.c, + src/other/tktreectrl/library, + src/other/tktreectrl/library/filelist-bindings.tcl, + src/other/tktreectrl/library/treectrl.tcl, + src/other/tktreectrl/license.terms, src/other/tktreectrl/macosx, + src/other/tktreectrl/macosx/tkMacOSXTree.c, + src/other/tktreectrl/pkg.m4, src/other/tktreectrl/shellicon, + src/other/tktreectrl/shellicon/configure, + src/other/tktreectrl/shellicon/configure.ac, + src/other/tktreectrl/shellicon/shellicon.c, + src/other/tktreectrl/shellicon/shellicon.dll.manifest.in, + src/other/tktreectrl/shellicon/shellicon.rc, + src/other/tktreectrl/shellicon/tclconfig, + src/other/tktreectrl/shellicon/tclconfig/README.txt, + src/other/tktreectrl/shellicon/tclconfig/install-sh, + src/other/tktreectrl/shellicon/tclconfig/tcl.m4, + src/other/tktreectrl/tclconfig, + src/other/tktreectrl/tclconfig/README.txt, + src/other/tktreectrl/tclconfig/install-sh, + src/other/tktreectrl/tclconfig/tcl.m4, + src/other/tktreectrl/tests, src/other/tktreectrl/tests/all.tcl, + src/other/tktreectrl/tests/column.test, + src/other/tktreectrl/tests/display.test, + src/other/tktreectrl/tests/element.test, + src/other/tktreectrl/tests/header.test, + src/other/tktreectrl/tests/item.test, + src/other/tktreectrl/tests/itemdesc.test, + src/other/tktreectrl/tests/notify-old.test, + src/other/tktreectrl/tests/notify.test, + src/other/tktreectrl/tests/style.test, + src/other/tktreectrl/tests/treectrl.test, + src/other/tktreectrl/treectrl.dll.manifest.in, + src/other/tktreectrl/treectrl.rc, src/other/tktreectrl/unix, + src/other/tktreectrl/unix/tkUnixTree.c, src/other/tktreectrl/win, + src/other/tktreectrl/win/tkWinTree.c, + src/other/tktreectrl/winrc.m4: + TkTreeCtrl (http://tktreectrl.sourceforge.net) is a better, more + powerful tree widget than the default ttk widget - there's a + decent chance Archer will be making use of this, so checkpointing + the CMake build for it. Will revert until there is a need, but + don't want to lose the working CMake build. As a first step, + commit the vanilla sources for a diffing baseline. + +2013-03-21 21:39 starseeker + + * [r54814] src/other/CMakeLists.txt, src/other/tcl/CMakeLists.txt, + src/other/tcl/ChangeLog, src/other/tcl/ChangeLog.2000, + src/other/tcl/ChangeLog.2001, src/other/tcl/ChangeLog.2003, + src/other/tcl/README, src/other/tcl/changes, + src/other/tcl/compat/README, src/other/tcl/compat/dirent.h, + src/other/tcl/compat/dirent2.h, src/other/tcl/compat/dlfcn.h, + src/other/tcl/compat/fixstrtod.c, src/other/tcl/compat/float.h, + src/other/tcl/compat/gettod.c, src/other/tcl/compat/limits.h, + src/other/tcl/compat/memcmp.c, src/other/tcl/compat/opendir.c, + src/other/tcl/compat/stdlib.h, src/other/tcl/compat/string.h, + src/other/tcl/compat/strncasecmp.c, + src/other/tcl/compat/strstr.c, src/other/tcl/compat/strtod.c, + src/other/tcl/compat/strtol.c, src/other/tcl/compat/strtoul.c, + src/other/tcl/compat/unistd.h, src/other/tcl/compat/waitpid.c, + src/other/tcl/doc/Access.3, src/other/tcl/doc/AddErrInfo.3, + src/other/tcl/doc/Alloc.3, src/other/tcl/doc/AllowExc.3, + src/other/tcl/doc/AppInit.3, src/other/tcl/doc/AssocData.3, + src/other/tcl/doc/Async.3, src/other/tcl/doc/BackgdErr.3, + src/other/tcl/doc/Backslash.3, src/other/tcl/doc/BoolObj.3, + src/other/tcl/doc/ByteArrObj.3, src/other/tcl/doc/CallDel.3, + src/other/tcl/doc/ChnlStack.3, src/other/tcl/doc/CmdCmplt.3, + src/other/tcl/doc/Concat.3, src/other/tcl/doc/CrtChannel.3, + src/other/tcl/doc/CrtChnlHdlr.3, + src/other/tcl/doc/CrtCloseHdlr.3, src/other/tcl/doc/CrtCommand.3, + src/other/tcl/doc/CrtFileHdlr.3, src/other/tcl/doc/CrtInterp.3, + src/other/tcl/doc/CrtMathFnc.3, src/other/tcl/doc/CrtObjCmd.3, + src/other/tcl/doc/CrtSlave.3, src/other/tcl/doc/CrtTimerHdlr.3, + src/other/tcl/doc/CrtTrace.3, src/other/tcl/doc/DString.3, + src/other/tcl/doc/DetachPids.3, src/other/tcl/doc/DictObj.3, + src/other/tcl/doc/DoOneEvent.3, src/other/tcl/doc/DoWhenIdle.3, + src/other/tcl/doc/DoubleObj.3, + src/other/tcl/doc/DumpActiveMemory.3, + src/other/tcl/doc/Encoding.3, src/other/tcl/doc/Ensemble.3, + src/other/tcl/doc/Environment.3, src/other/tcl/doc/Eval.3, + src/other/tcl/doc/Exit.3, src/other/tcl/doc/ExprLong.3, + src/other/tcl/doc/ExprLongObj.3, src/other/tcl/doc/FileSystem.3, + src/other/tcl/doc/FindExec.3, src/other/tcl/doc/GetCwd.3, + src/other/tcl/doc/GetHostName.3, src/other/tcl/doc/GetIndex.3, + src/other/tcl/doc/GetInt.3, src/other/tcl/doc/GetOpnFl.3, + src/other/tcl/doc/GetStdChan.3, src/other/tcl/doc/GetTime.3, + src/other/tcl/doc/GetVersion.3, src/other/tcl/doc/Hash.3, + src/other/tcl/doc/Init.3, src/other/tcl/doc/InitStubs.3, + src/other/tcl/doc/IntObj.3, src/other/tcl/doc/Interp.3, + src/other/tcl/doc/Limit.3, src/other/tcl/doc/LinkVar.3, + src/other/tcl/doc/ListObj.3, src/other/tcl/doc/Namespace.3, + src/other/tcl/doc/Notifier.3, src/other/tcl/doc/Object.3, + src/other/tcl/doc/ObjectType.3, src/other/tcl/doc/OpenFileChnl.3, + src/other/tcl/doc/OpenTcp.3, src/other/tcl/doc/Panic.3, + src/other/tcl/doc/ParseCmd.3, src/other/tcl/doc/PkgRequire.3, + src/other/tcl/doc/Preserve.3, src/other/tcl/doc/PrintDbl.3, + src/other/tcl/doc/RecEvalObj.3, src/other/tcl/doc/RecordEval.3, + src/other/tcl/doc/RegConfig.3, src/other/tcl/doc/RegExp.3, + src/other/tcl/doc/SaveResult.3, src/other/tcl/doc/SetChanErr.3, + src/other/tcl/doc/SetErrno.3, src/other/tcl/doc/SetRecLmt.3, + src/other/tcl/doc/SetResult.3, src/other/tcl/doc/SetVar.3, + src/other/tcl/doc/Signal.3, src/other/tcl/doc/Sleep.3, + src/other/tcl/doc/SourceRCFile.3, src/other/tcl/doc/SplitList.3, + src/other/tcl/doc/SplitPath.3, src/other/tcl/doc/StaticPkg.3, + src/other/tcl/doc/StdChannels.3, src/other/tcl/doc/StrMatch.3, + src/other/tcl/doc/StringObj.3, src/other/tcl/doc/SubstObj.3, + src/other/tcl/doc/TCL_MEM_DEBUG.3, src/other/tcl/doc/Tcl.n, + src/other/tcl/doc/Tcl_Main.3, src/other/tcl/doc/Thread.3, + src/other/tcl/doc/ToUpper.3, src/other/tcl/doc/TraceCmd.3, + src/other/tcl/doc/TraceVar.3, src/other/tcl/doc/Translate.3, + src/other/tcl/doc/UniCharIsAlpha.3, src/other/tcl/doc/UpVar.3, + src/other/tcl/doc/Utf.3, src/other/tcl/doc/WrongNumArgs.3, + src/other/tcl/doc/after.n, src/other/tcl/doc/append.n, + src/other/tcl/doc/array.n, src/other/tcl/doc/bgerror.n, + src/other/tcl/doc/binary.n, src/other/tcl/doc/break.n, + src/other/tcl/doc/case.n, src/other/tcl/doc/catch.n, + src/other/tcl/doc/cd.n, src/other/tcl/doc/chan.n, + src/other/tcl/doc/close.n, src/other/tcl/doc/concat.n, + src/other/tcl/doc/continue.n, src/other/tcl/doc/dde.n, + src/other/tcl/doc/dict.n, src/other/tcl/doc/encoding.n, + src/other/tcl/doc/eof.n, src/other/tcl/doc/error.n, + src/other/tcl/doc/eval.n, src/other/tcl/doc/exec.n, + src/other/tcl/doc/exit.n, src/other/tcl/doc/expr.n, + src/other/tcl/doc/fblocked.n, src/other/tcl/doc/fconfigure.n, + src/other/tcl/doc/fcopy.n, src/other/tcl/doc/file.n, + src/other/tcl/doc/fileevent.n, src/other/tcl/doc/filename.n, + src/other/tcl/doc/flush.n, src/other/tcl/doc/for.n, + src/other/tcl/doc/foreach.n, src/other/tcl/doc/format.n, + src/other/tcl/doc/gets.n, src/other/tcl/doc/glob.n, + src/other/tcl/doc/global.n, src/other/tcl/doc/history.n, + src/other/tcl/doc/http.n, src/other/tcl/doc/if.n, + src/other/tcl/doc/incr.n, src/other/tcl/doc/info.n, + src/other/tcl/doc/interp.n, src/other/tcl/doc/join.n, + src/other/tcl/doc/lappend.n, src/other/tcl/doc/lassign.n, + src/other/tcl/doc/library.n, src/other/tcl/doc/lindex.n, + src/other/tcl/doc/linsert.n, src/other/tcl/doc/list.n, + src/other/tcl/doc/llength.n, src/other/tcl/doc/load.n, + src/other/tcl/doc/lrange.n, src/other/tcl/doc/lrepeat.n, + src/other/tcl/doc/lreplace.n, src/other/tcl/doc/lreverse.n, + src/other/tcl/doc/lsearch.n, src/other/tcl/doc/lset.n, + src/other/tcl/doc/lsort.n, src/other/tcl/doc/man.macros, + src/other/tcl/doc/mathfunc.n, src/other/tcl/doc/mathop.n, + src/other/tcl/doc/memory.n, src/other/tcl/doc/msgcat.n, + src/other/tcl/doc/namespace.n, src/other/tcl/doc/open.n, + src/other/tcl/doc/package.n, src/other/tcl/doc/packagens.n, + src/other/tcl/doc/pid.n, src/other/tcl/doc/pkgMkIndex.n, + src/other/tcl/doc/platform.n, src/other/tcl/doc/platform_shell.n, + src/other/tcl/doc/proc.n, src/other/tcl/doc/puts.n, + src/other/tcl/doc/pwd.n, src/other/tcl/doc/re_syntax.n, + src/other/tcl/doc/read.n, src/other/tcl/doc/refchan.n, + src/other/tcl/doc/regexp.n, src/other/tcl/doc/registry.n, + src/other/tcl/doc/regsub.n, src/other/tcl/doc/rename.n, + src/other/tcl/doc/return.n, src/other/tcl/doc/safe.n, + src/other/tcl/doc/scan.n, src/other/tcl/doc/seek.n, + src/other/tcl/doc/set.n, src/other/tcl/doc/socket.n, + src/other/tcl/doc/source.n, src/other/tcl/doc/split.n, + src/other/tcl/doc/string.n, src/other/tcl/doc/subst.n, + src/other/tcl/doc/switch.n, src/other/tcl/doc/tclsh.1, + src/other/tcl/doc/tcltest.n, src/other/tcl/doc/tclvars.n, + src/other/tcl/doc/tell.n, src/other/tcl/doc/time.n, + src/other/tcl/doc/tm.n, src/other/tcl/doc/trace.n, + src/other/tcl/doc/unknown.n, src/other/tcl/doc/unload.n, + src/other/tcl/doc/unset.n, src/other/tcl/doc/update.n, + src/other/tcl/doc/uplevel.n, src/other/tcl/doc/upvar.n, + src/other/tcl/doc/variable.n, src/other/tcl/doc/vwait.n, + src/other/tcl/doc/while.n, src/other/tcl/generic/README, + src/other/tcl/generic/regc_lex.c, + src/other/tcl/generic/regc_locale.c, + src/other/tcl/generic/regcomp.c, + src/other/tcl/generic/regcustom.h, + src/other/tcl/generic/regerror.c, + src/other/tcl/generic/tcl.decls, src/other/tcl/generic/tcl.h, + src/other/tcl/generic/tclAlloc.c, + src/other/tcl/generic/tclAsync.c, + src/other/tcl/generic/tclBasic.c, + src/other/tcl/generic/tclBinary.c, + src/other/tcl/generic/tclCkalloc.c, + src/other/tcl/generic/tclClock.c, + src/other/tcl/generic/tclCmdAH.c, + src/other/tcl/generic/tclCmdIL.c, + src/other/tcl/generic/tclCmdMZ.c, + src/other/tcl/generic/tclCompCmds.c, + src/other/tcl/generic/tclCompExpr.c, + src/other/tcl/generic/tclCompile.c, + src/other/tcl/generic/tclCompile.h, + src/other/tcl/generic/tclConfig.c, + src/other/tcl/generic/tclDTrace.d, + src/other/tcl/generic/tclDate.c, + src/other/tcl/generic/tclDecls.h, + src/other/tcl/generic/tclDictObj.c, + src/other/tcl/generic/tclEncoding.c, + src/other/tcl/generic/tclEnv.c, src/other/tcl/generic/tclEvent.c, + src/other/tcl/generic/tclExecute.c, + src/other/tcl/generic/tclFCmd.c, + src/other/tcl/generic/tclFileName.c, + src/other/tcl/generic/tclFileSystem.h, + src/other/tcl/generic/tclGet.c, + src/other/tcl/generic/tclGetDate.y, + src/other/tcl/generic/tclHash.c, + src/other/tcl/generic/tclHistory.c, + src/other/tcl/generic/tclIO.c, src/other/tcl/generic/tclIO.h, + src/other/tcl/generic/tclIOCmd.c, + src/other/tcl/generic/tclIOGT.c, + src/other/tcl/generic/tclIORChan.c, + src/other/tcl/generic/tclIOSock.c, + src/other/tcl/generic/tclIOUtil.c, + src/other/tcl/generic/tclIndexObj.c, + src/other/tcl/generic/tclInt.decls, + src/other/tcl/generic/tclInt.h, + src/other/tcl/generic/tclIntDecls.h, + src/other/tcl/generic/tclIntPlatDecls.h, + src/other/tcl/generic/tclInterp.c, + src/other/tcl/generic/tclLink.c, + src/other/tcl/generic/tclListObj.c, + src/other/tcl/generic/tclLiteral.c, + src/other/tcl/generic/tclLoad.c, + src/other/tcl/generic/tclLoadNone.c, + src/other/tcl/generic/tclMain.c, + src/other/tcl/generic/tclNamesp.c, + src/other/tcl/generic/tclNotify.c, + src/other/tcl/generic/tclObj.c, src/other/tcl/generic/tclPanic.c, + src/other/tcl/generic/tclParse.c, + src/other/tcl/generic/tclPathObj.c, + src/other/tcl/generic/tclPipe.c, src/other/tcl/generic/tclPkg.c, + src/other/tcl/generic/tclPkgConfig.c, + src/other/tcl/generic/tclPlatDecls.h, + src/other/tcl/generic/tclPort.h, + src/other/tcl/generic/tclPosixStr.c, + src/other/tcl/generic/tclPreserve.c, + src/other/tcl/generic/tclProc.c, + src/other/tcl/generic/tclRegexp.c, + src/other/tcl/generic/tclRegexp.h, + src/other/tcl/generic/tclResolve.c, + src/other/tcl/generic/tclResult.c, + src/other/tcl/generic/tclScan.c, + src/other/tcl/generic/tclStrToD.c, + src/other/tcl/generic/tclStringObj.c, + src/other/tcl/generic/tclStubInit.c, + src/other/tcl/generic/tclStubLib.c, + src/other/tcl/generic/tclTest.c, + src/other/tcl/generic/tclTestObj.c, + src/other/tcl/generic/tclTestProcBodyObj.c, + src/other/tcl/generic/tclThread.c, + src/other/tcl/generic/tclThreadAlloc.c, + src/other/tcl/generic/tclThreadJoin.c, + src/other/tcl/generic/tclThreadStorage.c, + src/other/tcl/generic/tclThreadTest.c, + src/other/tcl/generic/tclTimer.c, + src/other/tcl/generic/tclTomMath.decls, + src/other/tcl/generic/tclTomMath.h, + src/other/tcl/generic/tclTomMathDecls.h, + src/other/tcl/generic/tclTomMathInterface.c, + src/other/tcl/generic/tclTrace.c, + src/other/tcl/generic/tclUniData.c, + src/other/tcl/generic/tclUtf.c, src/other/tcl/generic/tclUtil.c, + src/other/tcl/generic/tclVar.c, + src/other/tcl/library/CMakeLists.txt, + src/other/tcl/library/auto.tcl, src/other/tcl/library/clock.tcl, + src/other/tcl/library/dde/pkgIndex.tcl, + src/other/tcl/library/history.tcl, + src/other/tcl/library/http/http.tcl, + src/other/tcl/library/http/pkgIndex.tcl, + src/other/tcl/library/http1.0/http.tcl, + src/other/tcl/library/init.tcl, + src/other/tcl/library/msgcat/msgcat.tcl, + src/other/tcl/library/msgcat/pkgIndex.tcl, + src/other/tcl/library/msgs/uk.msg, + src/other/tcl/library/opt/optparse.tcl, + src/other/tcl/library/package.tcl, + src/other/tcl/library/parray.tcl, + src/other/tcl/library/platform/pkgIndex.tcl, + src/other/tcl/library/platform/platform.tcl, + src/other/tcl/library/platform/shell.tcl, + src/other/tcl/library/reg/pkgIndex.tcl, + src/other/tcl/library/safe.tcl, + src/other/tcl/library/tcltest/pkgIndex.tcl, + src/other/tcl/library/tcltest/tcltest.tcl, + src/other/tcl/library/tzdata/Africa/Cairo, + src/other/tcl/library/tzdata/Africa/Casablanca, + src/other/tcl/library/tzdata/Africa/Dar_es_Salaam, + src/other/tcl/library/tzdata/Africa/Juba, + src/other/tcl/library/tzdata/Africa/Kampala, + src/other/tcl/library/tzdata/Africa/Nairobi, + src/other/tcl/library/tzdata/America/Araguaina, + src/other/tcl/library/tzdata/America/Atikokan, + src/other/tcl/library/tzdata/America/Bahia, + src/other/tcl/library/tzdata/America/Blanc-Sablon, + src/other/tcl/library/tzdata/America/Creston, + src/other/tcl/library/tzdata/America/Dawson_Creek, + src/other/tcl/library/tzdata/America/Edmonton, + src/other/tcl/library/tzdata/America/Glace_Bay, + src/other/tcl/library/tzdata/America/Goose_Bay, + src/other/tcl/library/tzdata/America/Halifax, + src/other/tcl/library/tzdata/America/Havana, + src/other/tcl/library/tzdata/America/Juneau, + src/other/tcl/library/tzdata/America/Kralendijk, + src/other/tcl/library/tzdata/America/Lower_Princes, + src/other/tcl/library/tzdata/America/Metlakatla, + src/other/tcl/library/tzdata/America/Moncton, + src/other/tcl/library/tzdata/America/Montreal, + src/other/tcl/library/tzdata/America/Nipigon, + src/other/tcl/library/tzdata/America/North_Dakota/Beulah, + src/other/tcl/library/tzdata/America/Port-au-Prince, + src/other/tcl/library/tzdata/America/Rainy_River, + src/other/tcl/library/tzdata/America/Regina, + src/other/tcl/library/tzdata/America/Resolute, + src/other/tcl/library/tzdata/America/Santiago, + src/other/tcl/library/tzdata/America/Sitka, + src/other/tcl/library/tzdata/America/St_Johns, + src/other/tcl/library/tzdata/America/Swift_Current, + src/other/tcl/library/tzdata/America/Toronto, + src/other/tcl/library/tzdata/America/Vancouver, + src/other/tcl/library/tzdata/America/Winnipeg, + src/other/tcl/library/tzdata/Antarctica/Casey, + src/other/tcl/library/tzdata/Antarctica/Davis, + src/other/tcl/library/tzdata/Antarctica/Palmer, + src/other/tcl/library/tzdata/Asia/Amman, + src/other/tcl/library/tzdata/Asia/Anadyr, + src/other/tcl/library/tzdata/Asia/Damascus, + src/other/tcl/library/tzdata/Asia/Gaza, + src/other/tcl/library/tzdata/Asia/Hebron, + src/other/tcl/library/tzdata/Asia/Hong_Kong, + src/other/tcl/library/tzdata/Asia/Irkutsk, + src/other/tcl/library/tzdata/Asia/Jerusalem, + src/other/tcl/library/tzdata/Asia/Kamchatka, + src/other/tcl/library/tzdata/Asia/Krasnoyarsk, + src/other/tcl/library/tzdata/Asia/Magadan, + src/other/tcl/library/tzdata/Asia/Novokuznetsk, + src/other/tcl/library/tzdata/Asia/Novosibirsk, + src/other/tcl/library/tzdata/Asia/Omsk, + src/other/tcl/library/tzdata/Asia/Sakhalin, + src/other/tcl/library/tzdata/Asia/Vladivostok, + src/other/tcl/library/tzdata/Asia/Yakutsk, + src/other/tcl/library/tzdata/Asia/Yekaterinburg, + src/other/tcl/library/tzdata/Asia/Yerevan, + src/other/tcl/library/tzdata/Atlantic/Stanley, + src/other/tcl/library/tzdata/Europe/Istanbul, + src/other/tcl/library/tzdata/Europe/Kaliningrad, + src/other/tcl/library/tzdata/Europe/Minsk, + src/other/tcl/library/tzdata/Europe/Moscow, + src/other/tcl/library/tzdata/Europe/Samara, + src/other/tcl/library/tzdata/Europe/Volgograd, + src/other/tcl/library/tzdata/Pacific/Apia, + src/other/tcl/library/tzdata/Pacific/Easter, + src/other/tcl/library/tzdata/Pacific/Fakaofo, + src/other/tcl/library/tzdata/Pacific/Fiji, + src/other/tcl/library/tzdata/Pacific/Honolulu, + src/other/tcl/library/word.tcl, + src/other/tcl/libtommath/bn_fast_s_mp_mul_digs.c, + src/other/tcl/libtommath/bn_fast_s_mp_sqr.c, + src/other/tcl/libtommath/bn_mp_add.c, + src/other/tcl/libtommath/bn_mp_add_d.c, + src/other/tcl/libtommath/bn_mp_and.c, + src/other/tcl/libtommath/bn_mp_clamp.c, + src/other/tcl/libtommath/bn_mp_clear.c, + src/other/tcl/libtommath/bn_mp_clear_multi.c, + src/other/tcl/libtommath/bn_mp_cmp.c, + src/other/tcl/libtommath/bn_mp_cmp_d.c, + src/other/tcl/libtommath/bn_mp_cmp_mag.c, + src/other/tcl/libtommath/bn_mp_cnt_lsb.c, + src/other/tcl/libtommath/bn_mp_copy.c, + src/other/tcl/libtommath/bn_mp_count_bits.c, + src/other/tcl/libtommath/bn_mp_div.c, + src/other/tcl/libtommath/bn_mp_div_2.c, + src/other/tcl/libtommath/bn_mp_div_2d.c, + src/other/tcl/libtommath/bn_mp_div_3.c, + src/other/tcl/libtommath/bn_mp_div_d.c, + src/other/tcl/libtommath/bn_mp_exch.c, + src/other/tcl/libtommath/bn_mp_expt_d.c, + src/other/tcl/libtommath/bn_mp_grow.c, + src/other/tcl/libtommath/bn_mp_init.c, + src/other/tcl/libtommath/bn_mp_init_copy.c, + src/other/tcl/libtommath/bn_mp_init_multi.c, + src/other/tcl/libtommath/bn_mp_init_set.c, + src/other/tcl/libtommath/bn_mp_init_set_int.c, + src/other/tcl/libtommath/bn_mp_init_size.c, + src/other/tcl/libtommath/bn_mp_karatsuba_mul.c, + src/other/tcl/libtommath/bn_mp_karatsuba_sqr.c, + src/other/tcl/libtommath/bn_mp_lshd.c, + src/other/tcl/libtommath/bn_mp_mod.c, + src/other/tcl/libtommath/bn_mp_mod_2d.c, + src/other/tcl/libtommath/bn_mp_mul.c, + src/other/tcl/libtommath/bn_mp_mul_2.c, + src/other/tcl/libtommath/bn_mp_mul_2d.c, + src/other/tcl/libtommath/bn_mp_mul_d.c, + src/other/tcl/libtommath/bn_mp_neg.c, + src/other/tcl/libtommath/bn_mp_or.c, + src/other/tcl/libtommath/bn_mp_radix_size.c, + src/other/tcl/libtommath/bn_mp_radix_smap.c, + src/other/tcl/libtommath/bn_mp_read_radix.c, + src/other/tcl/libtommath/bn_mp_rshd.c, + src/other/tcl/libtommath/bn_mp_set.c, + src/other/tcl/libtommath/bn_mp_set_int.c, + src/other/tcl/libtommath/bn_mp_shrink.c, + src/other/tcl/libtommath/bn_mp_sqr.c, + src/other/tcl/libtommath/bn_mp_sqrt.c, + src/other/tcl/libtommath/bn_mp_sub.c, + src/other/tcl/libtommath/bn_mp_sub_d.c, + src/other/tcl/libtommath/bn_mp_to_unsigned_bin.c, + src/other/tcl/libtommath/bn_mp_to_unsigned_bin_n.c, + src/other/tcl/libtommath/bn_mp_toom_mul.c, + src/other/tcl/libtommath/bn_mp_toom_sqr.c, + src/other/tcl/libtommath/bn_mp_toradix_n.c, + src/other/tcl/libtommath/bn_mp_unsigned_bin_size.c, + src/other/tcl/libtommath/bn_mp_xor.c, + src/other/tcl/libtommath/bn_mp_zero.c, + src/other/tcl/libtommath/bn_reverse.c, + src/other/tcl/libtommath/bn_s_mp_add.c, + src/other/tcl/libtommath/bn_s_mp_mul_digs.c, + src/other/tcl/libtommath/bn_s_mp_sqr.c, + src/other/tcl/libtommath/bn_s_mp_sub.c, + src/other/tcl/libtommath/bncore.c, + src/other/tcl/libtommath/tommath.h, + src/other/tcl/libtommath/tommath_class.h, + src/other/tcl/libtommath/tommath_superclass.h, + src/other/tcl/macosx/GNUmakefile, src/other/tcl/macosx/README, + src/other/tcl/macosx/Tcl-Common.xcconfig, + src/other/tcl/macosx/Tcl-Debug.xcconfig, + src/other/tcl/macosx/Tcl-Info.plist.in, + src/other/tcl/macosx/Tcl-Release.xcconfig, + src/other/tcl/macosx/Tcl.xcode/project.pbxproj, + src/other/tcl/macosx/Tcl.xcodeproj/project.pbxproj, + src/other/tcl/macosx/Tclsh-Info.plist.in, + src/other/tcl/macosx/configure, + src/other/tcl/macosx/configure.ac, + src/other/tcl/macosx/tclMacOSXBundle.c, + src/other/tcl/macosx/tclMacOSXFCmd.c, + src/other/tcl/macosx/tclMacOSXNotify.c, + src/other/tcl/tests/README, src/other/tcl/tests/all.tcl, + src/other/tcl/tests/append.test, + src/other/tcl/tests/appendComp.test, + src/other/tcl/tests/apply.test, src/other/tcl/tests/assocd.test, + src/other/tcl/tests/async.test, + src/other/tcl/tests/autoMkindex.test, + src/other/tcl/tests/basic.test, src/other/tcl/tests/binary.test, + src/other/tcl/tests/case.test, src/other/tcl/tests/chan.test, + src/other/tcl/tests/chanio.test, src/other/tcl/tests/clock.test, + src/other/tcl/tests/cmdAH.test, src/other/tcl/tests/cmdIL.test, + src/other/tcl/tests/cmdInfo.test, src/other/tcl/tests/cmdMZ.test, + src/other/tcl/tests/compExpr-old.test, + src/other/tcl/tests/compExpr.test, + src/other/tcl/tests/compile.test, + src/other/tcl/tests/concat.test, src/other/tcl/tests/config.test, + src/other/tcl/tests/dcall.test, src/other/tcl/tests/dict.test, + src/other/tcl/tests/dstring.test, + src/other/tcl/tests/encoding.test, src/other/tcl/tests/env.test, + src/other/tcl/tests/error.test, src/other/tcl/tests/eval.test, + src/other/tcl/tests/event.test, src/other/tcl/tests/exec.test, + src/other/tcl/tests/execute.test, + src/other/tcl/tests/expr-old.test, src/other/tcl/tests/expr.test, + src/other/tcl/tests/fCmd.test, src/other/tcl/tests/fileName.test, + src/other/tcl/tests/fileSystem.test, + src/other/tcl/tests/for-old.test, src/other/tcl/tests/for.test, + src/other/tcl/tests/foreach.test, + src/other/tcl/tests/format.test, src/other/tcl/tests/get.test, + src/other/tcl/tests/history.test, src/other/tcl/tests/http.test, + src/other/tcl/tests/httpd, src/other/tcl/tests/httpold.test, + src/other/tcl/tests/if-old.test, src/other/tcl/tests/if.test, + src/other/tcl/tests/incr-old.test, src/other/tcl/tests/incr.test, + src/other/tcl/tests/indexObj.test, src/other/tcl/tests/info.test, + src/other/tcl/tests/init.test, src/other/tcl/tests/interp.test, + src/other/tcl/tests/io.test, src/other/tcl/tests/ioCmd.test, + src/other/tcl/tests/ioUtil.test, src/other/tcl/tests/iogt.test, + src/other/tcl/tests/join.test, src/other/tcl/tests/lindex.test, + src/other/tcl/tests/link.test, src/other/tcl/tests/linsert.test, + src/other/tcl/tests/list.test, src/other/tcl/tests/listObj.test, + src/other/tcl/tests/llength.test, src/other/tcl/tests/load.test, + src/other/tcl/tests/lrange.test, + src/other/tcl/tests/lrepeat.test, + src/other/tcl/tests/lreplace.test, + src/other/tcl/tests/lsearch.test, src/other/tcl/tests/lset.test, + src/other/tcl/tests/lsetComp.test, + src/other/tcl/tests/macOSXFCmd.test, + src/other/tcl/tests/macOSXLoad.test, + src/other/tcl/tests/main.test, src/other/tcl/tests/mathop.test, + src/other/tcl/tests/misc.test, src/other/tcl/tests/msgcat.test, + src/other/tcl/tests/namespace-old.test, + src/other/tcl/tests/namespace.test, + src/other/tcl/tests/notify.test, src/other/tcl/tests/obj.test, + src/other/tcl/tests/opt.test, src/other/tcl/tests/package.test, + src/other/tcl/tests/parse.test, + src/other/tcl/tests/parseExpr.test, + src/other/tcl/tests/parseOld.test, src/other/tcl/tests/pid.test, + src/other/tcl/tests/pkg.test, + src/other/tcl/tests/pkgMkIndex.test, + src/other/tcl/tests/platform.test, + src/other/tcl/tests/proc-old.test, src/other/tcl/tests/proc.test, + src/other/tcl/tests/pwd.test, src/other/tcl/tests/reg.test, + src/other/tcl/tests/regexp.test, + src/other/tcl/tests/regexpComp.test, + src/other/tcl/tests/registry.test, + src/other/tcl/tests/remote.tcl, src/other/tcl/tests/rename.test, + src/other/tcl/tests/result.test, src/other/tcl/tests/safe.test, + src/other/tcl/tests/scan.test, src/other/tcl/tests/security.test, + src/other/tcl/tests/set-old.test, src/other/tcl/tests/set.test, + src/other/tcl/tests/socket.test, src/other/tcl/tests/source.test, + src/other/tcl/tests/split.test, src/other/tcl/tests/stack.test, + src/other/tcl/tests/string.test, + src/other/tcl/tests/stringComp.test, + src/other/tcl/tests/stringObj.test, + src/other/tcl/tests/subst.test, src/other/tcl/tests/switch.test, + src/other/tcl/tests/tcltest.test, + src/other/tcl/tests/thread.test, src/other/tcl/tests/timer.test, + src/other/tcl/tests/tm.test, src/other/tcl/tests/trace.test, + src/other/tcl/tests/unixFCmd.test, + src/other/tcl/tests/unixFile.test, + src/other/tcl/tests/unixInit.test, + src/other/tcl/tests/unixNotfy.test, + src/other/tcl/tests/unknown.test, + src/other/tcl/tests/unload.test, + src/other/tcl/tests/uplevel.test, src/other/tcl/tests/upvar.test, + src/other/tcl/tests/utf.test, src/other/tcl/tests/util.test, + src/other/tcl/tests/var.test, src/other/tcl/tests/while-old.test, + src/other/tcl/tests/while.test, + src/other/tcl/tests/winConsole.test, + src/other/tcl/tests/winDde.test, + src/other/tcl/tests/winFCmd.test, + src/other/tcl/tests/winFile.test, + src/other/tcl/tests/winNotify.test, + src/other/tcl/tests/winPipe.test, + src/other/tcl/tests/winTime.test, + src/other/tcl/tools/Makefile.in, + src/other/tcl/tools/checkLibraryDoc.tcl, + src/other/tcl/tools/configure, src/other/tcl/tools/configure.in, + src/other/tcl/tools/findBadExternals.tcl, + src/other/tcl/tools/fix_tommath_h.tcl, + src/other/tcl/tools/genStubs.tcl, src/other/tcl/tools/index.tcl, + src/other/tcl/tools/installData.tcl, + src/other/tcl/tools/loadICU.tcl, + src/other/tcl/tools/man2help.tcl, + src/other/tcl/tools/man2help2.tcl, + src/other/tcl/tools/man2html.tcl, + src/other/tcl/tools/man2html1.tcl, + src/other/tcl/tools/man2html2.tcl, src/other/tcl/tools/man2tcl.c, + src/other/tcl/tools/mkdepend.tcl, + src/other/tcl/tools/regexpTestLib.tcl, + src/other/tcl/tools/tcl.wse.in, src/other/tcl/tools/tclZIC.tcl, + src/other/tcl/tools/tcltk-man2html.tcl, + src/other/tcl/tools/uniClass.tcl, + src/other/tcl/tools/uniParse.tcl, src/other/tcl/unix/Makefile.in, + src/other/tcl/unix/README, src/other/tcl/unix/configure.in, + src/other/tcl/unix/dltest/Makefile.in, + src/other/tcl/unix/dltest/README, + src/other/tcl/unix/dltest/pkga.c, + src/other/tcl/unix/dltest/pkgb.c, + src/other/tcl/unix/dltest/pkgc.c, + src/other/tcl/unix/dltest/pkgd.c, + src/other/tcl/unix/dltest/pkge.c, + src/other/tcl/unix/dltest/pkgua.c, src/other/tcl/unix/install-sh, + src/other/tcl/unix/ldAix, src/other/tcl/unix/tcl.m4, + src/other/tcl/unix/tclAppInit.c, + src/other/tcl/unix/tclConfig.h.in, + src/other/tcl/unix/tclConfig.sh.in, + src/other/tcl/unix/tclLoadAix.c, src/other/tcl/unix/tclLoadDl.c, + src/other/tcl/unix/tclLoadDyld.c, + src/other/tcl/unix/tclLoadNext.c, + src/other/tcl/unix/tclLoadOSF.c, src/other/tcl/unix/tclLoadShl.c, + src/other/tcl/unix/tclUnixChan.c, + src/other/tcl/unix/tclUnixCompat.c, + src/other/tcl/unix/tclUnixEvent.c, + src/other/tcl/unix/tclUnixFCmd.c, + src/other/tcl/unix/tclUnixFile.c, + src/other/tcl/unix/tclUnixInit.c, + src/other/tcl/unix/tclUnixNotfy.c, + src/other/tcl/unix/tclUnixPipe.c, + src/other/tcl/unix/tclUnixPort.h, + src/other/tcl/unix/tclUnixSock.c, + src/other/tcl/unix/tclUnixTest.c, + src/other/tcl/unix/tclUnixThrd.c, + src/other/tcl/unix/tclUnixThrd.h, + src/other/tcl/unix/tclUnixTime.c, + src/other/tcl/unix/tclXtNotify.c, src/other/tcl/unix/tclXtTest.c, + src/other/tcl/win/Makefile.in, src/other/tcl/win/README, + src/other/tcl/win/buildall.vc.bat, src/other/tcl/win/cat.c, + src/other/tcl/win/coffbase.txt, src/other/tcl/win/configure, + src/other/tcl/win/configure.in, src/other/tcl/win/makefile.bc, + src/other/tcl/win/makefile.vc, src/other/tcl/win/nmakehlp.c, + src/other/tcl/win/rules.vc, src/other/tcl/win/stub16.c, + src/other/tcl/win/tcl.m4, src/other/tcl/win/tcl.rc, + src/other/tcl/win/tclAppInit.c, + src/other/tcl/win/tclConfig.sh.in, + src/other/tcl/win/tclWin32Dll.c, src/other/tcl/win/tclWinChan.c, + src/other/tcl/win/tclWinConsole.c, src/other/tcl/win/tclWinDde.c, + src/other/tcl/win/tclWinError.c, src/other/tcl/win/tclWinFCmd.c, + src/other/tcl/win/tclWinFile.c, src/other/tcl/win/tclWinInit.c, + src/other/tcl/win/tclWinInt.h, src/other/tcl/win/tclWinLoad.c, + src/other/tcl/win/tclWinNotify.c, src/other/tcl/win/tclWinPipe.c, + src/other/tcl/win/tclWinPort.h, src/other/tcl/win/tclWinReg.c, + src/other/tcl/win/tclWinSerial.c, src/other/tcl/win/tclWinSock.c, + src/other/tcl/win/tclWinTest.c, src/other/tcl/win/tclWinThrd.c, + src/other/tcl/win/tclWinThrd.h, src/other/tcl/win/tclWinTime.c, + src/other/tcl/win/tclsh.rc, src/other/tk.dist, + src/other/tk/CMakeLists.txt, src/other/tk/ChangeLog, + src/other/tk/ChangeLog.2004, src/other/tk/README, + src/other/tk/changes, src/other/tk/compat/license.terms, + src/other/tk/compat/limits.h, src/other/tk/compat/stdlib.h, + src/other/tk/compat/unistd.h, src/other/tk/doc/3DBorder.3, + src/other/tk/doc/AddOption.3, src/other/tk/doc/BindTable.3, + src/other/tk/doc/CanvPsY.3, src/other/tk/doc/CanvTkwin.3, + src/other/tk/doc/CanvTxtInfo.3, src/other/tk/doc/Clipboard.3, + src/other/tk/doc/ClrSelect.3, src/other/tk/doc/ConfigWidg.3, + src/other/tk/doc/ConfigWind.3, src/other/tk/doc/CoordToWin.3, + src/other/tk/doc/CrtCmHdlr.3, src/other/tk/doc/CrtConsoleChan.3, + src/other/tk/doc/CrtErrHdlr.3, src/other/tk/doc/CrtGenHdlr.3, + src/other/tk/doc/CrtImgType.3, src/other/tk/doc/CrtItemType.3, + src/other/tk/doc/CrtPhImgFmt.3, src/other/tk/doc/CrtSelHdlr.3, + src/other/tk/doc/CrtWindow.3, src/other/tk/doc/DeleteImg.3, + src/other/tk/doc/DrawFocHlt.3, src/other/tk/doc/EventHndlr.3, + src/other/tk/doc/FindPhoto.3, src/other/tk/doc/FontId.3, + src/other/tk/doc/FreeXId.3, src/other/tk/doc/GeomReq.3, + src/other/tk/doc/GetAnchor.3, src/other/tk/doc/GetBitmap.3, + src/other/tk/doc/GetCapStyl.3, src/other/tk/doc/GetClrmap.3, + src/other/tk/doc/GetColor.3, src/other/tk/doc/GetCursor.3, + src/other/tk/doc/GetDash.3, src/other/tk/doc/GetFont.3, + src/other/tk/doc/GetGC.3, src/other/tk/doc/GetHINSTANCE.3, + src/other/tk/doc/GetHWND.3, src/other/tk/doc/GetImage.3, + src/other/tk/doc/GetJoinStl.3, src/other/tk/doc/GetJustify.3, + src/other/tk/doc/GetOption.3, src/other/tk/doc/GetPixels.3, + src/other/tk/doc/GetPixmap.3, src/other/tk/doc/GetRelief.3, + src/other/tk/doc/GetRootCrd.3, src/other/tk/doc/GetScroll.3, + src/other/tk/doc/GetSelect.3, src/other/tk/doc/GetUid.3, + src/other/tk/doc/GetVRoot.3, src/other/tk/doc/GetVisual.3, + src/other/tk/doc/Grab.3, src/other/tk/doc/HWNDToWindow.3, + src/other/tk/doc/HandleEvent.3, src/other/tk/doc/IdToWindow.3, + src/other/tk/doc/ImgChanged.3, src/other/tk/doc/Inactive.3, + src/other/tk/doc/InternAtom.3, src/other/tk/doc/MainLoop.3, + src/other/tk/doc/MainWin.3, src/other/tk/doc/MaintGeom.3, + src/other/tk/doc/ManageGeom.3, src/other/tk/doc/MapWindow.3, + src/other/tk/doc/MeasureChar.3, src/other/tk/doc/MoveToplev.3, + src/other/tk/doc/Name.3, src/other/tk/doc/NameOfImg.3, + src/other/tk/doc/OwnSelect.3, src/other/tk/doc/ParseArgv.3, + src/other/tk/doc/QWinEvent.3, src/other/tk/doc/Restack.3, + src/other/tk/doc/RestrictEv.3, src/other/tk/doc/SetAppName.3, + src/other/tk/doc/SetCaret.3, src/other/tk/doc/SetClass.3, + src/other/tk/doc/SetClassProcs.3, src/other/tk/doc/SetGrid.3, + src/other/tk/doc/SetOptions.3, src/other/tk/doc/SetVisual.3, + src/other/tk/doc/StrictMotif.3, src/other/tk/doc/TextLayout.3, + src/other/tk/doc/TkInitStubs.3, src/other/tk/doc/Tk_Init.3, + src/other/tk/doc/Tk_Main.3, src/other/tk/doc/WindowId.3, + src/other/tk/doc/bell.n, src/other/tk/doc/bind.n, + src/other/tk/doc/bindtags.n, src/other/tk/doc/bitmap.n, + src/other/tk/doc/button.n, src/other/tk/doc/canvas.n, + src/other/tk/doc/checkbutton.n, src/other/tk/doc/chooseColor.n, + src/other/tk/doc/chooseDirectory.n, src/other/tk/doc/clipboard.n, + src/other/tk/doc/colors.n, src/other/tk/doc/console.n, + src/other/tk/doc/cursors.n, src/other/tk/doc/destroy.n, + src/other/tk/doc/dialog.n, src/other/tk/doc/entry.n, + src/other/tk/doc/event.n, src/other/tk/doc/focus.n, + src/other/tk/doc/focusNext.n, src/other/tk/doc/font.n, + src/other/tk/doc/frame.n, src/other/tk/doc/getOpenFile.n, + src/other/tk/doc/grab.n, src/other/tk/doc/grid.n, + src/other/tk/doc/image.n, src/other/tk/doc/keysyms.n, + src/other/tk/doc/label.n, src/other/tk/doc/labelframe.n, + src/other/tk/doc/license.terms, src/other/tk/doc/listbox.n, + src/other/tk/doc/loadTk.n, src/other/tk/doc/lower.n, + src/other/tk/doc/man.macros, src/other/tk/doc/menu.n, + src/other/tk/doc/menubar.n, src/other/tk/doc/menubutton.n, + src/other/tk/doc/message.n, src/other/tk/doc/messageBox.n, + src/other/tk/doc/option.n, src/other/tk/doc/optionMenu.n, + src/other/tk/doc/options.n, src/other/tk/doc/pack-old.n, + src/other/tk/doc/pack.n, src/other/tk/doc/palette.n, + src/other/tk/doc/panedwindow.n, src/other/tk/doc/photo.n, + src/other/tk/doc/place.n, src/other/tk/doc/popup.n, + src/other/tk/doc/radiobutton.n, src/other/tk/doc/raise.n, + src/other/tk/doc/scale.n, src/other/tk/doc/scrollbar.n, + src/other/tk/doc/selection.n, src/other/tk/doc/send.n, + src/other/tk/doc/spinbox.n, src/other/tk/doc/text.n, + src/other/tk/doc/tk.n, src/other/tk/doc/tkerror.n, + src/other/tk/doc/tkvars.n, src/other/tk/doc/tkwait.n, + src/other/tk/doc/toplevel.n, src/other/tk/doc/ttk_Geometry.3, + src/other/tk/doc/ttk_Theme.3, src/other/tk/doc/ttk_button.n, + src/other/tk/doc/ttk_checkbutton.n, + src/other/tk/doc/ttk_combobox.n, src/other/tk/doc/ttk_entry.n, + src/other/tk/doc/ttk_frame.n, src/other/tk/doc/ttk_image.n, + src/other/tk/doc/ttk_intro.n, src/other/tk/doc/ttk_label.n, + src/other/tk/doc/ttk_labelframe.n, + src/other/tk/doc/ttk_menubutton.n, + src/other/tk/doc/ttk_notebook.n, + src/other/tk/doc/ttk_panedwindow.n, + src/other/tk/doc/ttk_progressbar.n, + src/other/tk/doc/ttk_radiobutton.n, src/other/tk/doc/ttk_scale.n, + src/other/tk/doc/ttk_scrollbar.n, + src/other/tk/doc/ttk_separator.n, + src/other/tk/doc/ttk_sizegrip.n, src/other/tk/doc/ttk_spinbox.n, + src/other/tk/doc/ttk_style.n, src/other/tk/doc/ttk_treeview.n, + src/other/tk/doc/ttk_vsapi.n, src/other/tk/doc/ttk_widget.n, + src/other/tk/doc/winfo.n, src/other/tk/doc/wish.1, + src/other/tk/doc/wm.n, src/other/tk/generic/README, + src/other/tk/generic/default.h, src/other/tk/generic/ks_names.h, + src/other/tk/generic/prolog.ps, src/other/tk/generic/tk.decls, + src/other/tk/generic/tk.h, src/other/tk/generic/tk3d.c, + src/other/tk/generic/tk3d.h, src/other/tk/generic/tkArgv.c, + src/other/tk/generic/tkAtom.c, src/other/tk/generic/tkBind.c, + src/other/tk/generic/tkBitmap.c, src/other/tk/generic/tkButton.c, + src/other/tk/generic/tkButton.h, + src/other/tk/generic/tkCanvArc.c, + src/other/tk/generic/tkCanvBmap.c, + src/other/tk/generic/tkCanvImg.c, + src/other/tk/generic/tkCanvLine.c, + src/other/tk/generic/tkCanvPoly.c, + src/other/tk/generic/tkCanvPs.c, + src/other/tk/generic/tkCanvText.c, + src/other/tk/generic/tkCanvUtil.c, + src/other/tk/generic/tkCanvWind.c, + src/other/tk/generic/tkCanvas.c, src/other/tk/generic/tkCanvas.h, + src/other/tk/generic/tkClipboard.c, + src/other/tk/generic/tkCmds.c, src/other/tk/generic/tkColor.c, + src/other/tk/generic/tkColor.h, src/other/tk/generic/tkConfig.c, + src/other/tk/generic/tkConsole.c, + src/other/tk/generic/tkCursor.c, src/other/tk/generic/tkDecls.h, + src/other/tk/generic/tkEntry.c, src/other/tk/generic/tkError.c, + src/other/tk/generic/tkEvent.c, + src/other/tk/generic/tkFileFilter.c, + src/other/tk/generic/tkFileFilter.h, + src/other/tk/generic/tkFocus.c, src/other/tk/generic/tkFont.c, + src/other/tk/generic/tkFont.h, src/other/tk/generic/tkFrame.c, + src/other/tk/generic/tkGC.c, src/other/tk/generic/tkGeometry.c, + src/other/tk/generic/tkGet.c, src/other/tk/generic/tkGrab.c, + src/other/tk/generic/tkGrid.c, src/other/tk/generic/tkImage.c, + src/other/tk/generic/tkImgBmap.c, + src/other/tk/generic/tkImgGIF.c, src/other/tk/generic/tkImgPPM.c, + src/other/tk/generic/tkImgPhoto.c, + src/other/tk/generic/tkImgUtil.c, + src/other/tk/generic/tkInt.decls, src/other/tk/generic/tkInt.h, + src/other/tk/generic/tkIntDecls.h, + src/other/tk/generic/tkIntPlatDecls.h, + src/other/tk/generic/tkIntXlibDecls.h, + src/other/tk/generic/tkListbox.c, + src/other/tk/generic/tkMacWinMenu.c, + src/other/tk/generic/tkMain.c, src/other/tk/generic/tkMenu.c, + src/other/tk/generic/tkMenu.h, src/other/tk/generic/tkMenuDraw.c, + src/other/tk/generic/tkMenubutton.c, + src/other/tk/generic/tkMenubutton.h, + src/other/tk/generic/tkMessage.c, src/other/tk/generic/tkObj.c, + src/other/tk/generic/tkOldConfig.c, + src/other/tk/generic/tkOldTest.c, + src/other/tk/generic/tkOption.c, src/other/tk/generic/tkPack.c, + src/other/tk/generic/tkPanedWindow.c, + src/other/tk/generic/tkPlace.c, + src/other/tk/generic/tkPlatDecls.h, + src/other/tk/generic/tkPointer.c, src/other/tk/generic/tkPort.h, + src/other/tk/generic/tkRectOval.c, + src/other/tk/generic/tkScale.c, src/other/tk/generic/tkScale.h, + src/other/tk/generic/tkScrollbar.c, + src/other/tk/generic/tkScrollbar.h, + src/other/tk/generic/tkSelect.c, src/other/tk/generic/tkSelect.h, + src/other/tk/generic/tkSquare.c, + src/other/tk/generic/tkStubInit.c, + src/other/tk/generic/tkStubLib.c, src/other/tk/generic/tkStyle.c, + src/other/tk/generic/tkTest.c, src/other/tk/generic/tkText.c, + src/other/tk/generic/tkText.h, + src/other/tk/generic/tkTextBTree.c, + src/other/tk/generic/tkTextDisp.c, + src/other/tk/generic/tkTextImage.c, + src/other/tk/generic/tkTextIndex.c, + src/other/tk/generic/tkTextMark.c, + src/other/tk/generic/tkTextTag.c, + src/other/tk/generic/tkTextWind.c, src/other/tk/generic/tkTrig.c, + src/other/tk/generic/tkUndo.c, src/other/tk/generic/tkUndo.h, + src/other/tk/generic/tkUtil.c, src/other/tk/generic/tkVisual.c, + src/other/tk/generic/tkWindow.c, + src/other/tk/generic/ttk/ttk.decls, + src/other/tk/generic/ttk/ttkBlink.c, + src/other/tk/generic/ttk/ttkButton.c, + src/other/tk/generic/ttk/ttkCache.c, + src/other/tk/generic/ttk/ttkClamTheme.c, + src/other/tk/generic/ttk/ttkClassicTheme.c, + src/other/tk/generic/ttk/ttkDecls.h, + src/other/tk/generic/ttk/ttkDefaultTheme.c, + src/other/tk/generic/ttk/ttkElements.c, + src/other/tk/generic/ttk/ttkEntry.c, + src/other/tk/generic/ttk/ttkFrame.c, + src/other/tk/generic/ttk/ttkGenStubs.tcl, + src/other/tk/generic/ttk/ttkImage.c, + src/other/tk/generic/ttk/ttkInit.c, + src/other/tk/generic/ttk/ttkLabel.c, + src/other/tk/generic/ttk/ttkLayout.c, + src/other/tk/generic/ttk/ttkManager.c, + src/other/tk/generic/ttk/ttkManager.h, + src/other/tk/generic/ttk/ttkNotebook.c, + src/other/tk/generic/ttk/ttkPanedwindow.c, + src/other/tk/generic/ttk/ttkProgress.c, + src/other/tk/generic/ttk/ttkScale.c, + src/other/tk/generic/ttk/ttkScroll.c, + src/other/tk/generic/ttk/ttkScrollbar.c, + src/other/tk/generic/ttk/ttkSeparator.c, + src/other/tk/generic/ttk/ttkSquare.c, + src/other/tk/generic/ttk/ttkState.c, + src/other/tk/generic/ttk/ttkStubInit.c, + src/other/tk/generic/ttk/ttkStubLib.c, + src/other/tk/generic/ttk/ttkTagSet.c, + src/other/tk/generic/ttk/ttkTheme.c, + src/other/tk/generic/ttk/ttkTheme.h, + src/other/tk/generic/ttk/ttkThemeInt.h, + src/other/tk/generic/ttk/ttkTrace.c, + src/other/tk/generic/ttk/ttkTrack.c, + src/other/tk/generic/ttk/ttkTreeview.c, + src/other/tk/generic/ttk/ttkWidget.c, + src/other/tk/generic/ttk/ttkWidget.h, + src/other/tk/library/bgerror.tcl, + src/other/tk/library/button.tcl, + src/other/tk/library/choosedir.tcl, + src/other/tk/library/clrpick.tcl, + src/other/tk/library/comdlg.tcl, + src/other/tk/library/console.tcl, + src/other/tk/library/demos/README, + src/other/tk/library/demos/anilabel.tcl, + src/other/tk/library/demos/aniwave.tcl, + src/other/tk/library/demos/arrow.tcl, + src/other/tk/library/demos/bind.tcl, + src/other/tk/library/demos/bitmap.tcl, + src/other/tk/library/demos/browse, + src/other/tk/library/demos/button.tcl, + src/other/tk/library/demos/check.tcl, + src/other/tk/library/demos/clrpick.tcl, + src/other/tk/library/demos/colors.tcl, + src/other/tk/library/demos/combo.tcl, + src/other/tk/library/demos/cscroll.tcl, + src/other/tk/library/demos/ctext.tcl, + src/other/tk/library/demos/dialog1.tcl, + src/other/tk/library/demos/dialog2.tcl, + src/other/tk/library/demos/entry1.tcl, + src/other/tk/library/demos/entry2.tcl, + src/other/tk/library/demos/entry3.tcl, + src/other/tk/library/demos/filebox.tcl, + src/other/tk/library/demos/floor.tcl, + src/other/tk/library/demos/form.tcl, + src/other/tk/library/demos/hello, + src/other/tk/library/demos/hscale.tcl, + src/other/tk/library/demos/icon.tcl, + src/other/tk/library/demos/image1.tcl, + src/other/tk/library/demos/image2.tcl, + src/other/tk/library/demos/items.tcl, + src/other/tk/library/demos/ixset, + src/other/tk/library/demos/label.tcl, + src/other/tk/library/demos/labelframe.tcl, + src/other/tk/library/demos/license.terms, + src/other/tk/library/demos/mclist.tcl, + src/other/tk/library/demos/menu.tcl, + src/other/tk/library/demos/menubu.tcl, + src/other/tk/library/demos/msgbox.tcl, + src/other/tk/library/demos/paned1.tcl, + src/other/tk/library/demos/paned2.tcl, + src/other/tk/library/demos/pendulum.tcl, + src/other/tk/library/demos/plot.tcl, + src/other/tk/library/demos/puzzle.tcl, + src/other/tk/library/demos/radio.tcl, + src/other/tk/library/demos/rmt, + src/other/tk/library/demos/rolodex, + src/other/tk/library/demos/ruler.tcl, + src/other/tk/library/demos/sayings.tcl, + src/other/tk/library/demos/search.tcl, + src/other/tk/library/demos/spin.tcl, + src/other/tk/library/demos/square, + src/other/tk/library/demos/states.tcl, + src/other/tk/library/demos/style.tcl, + src/other/tk/library/demos/tcolor, + src/other/tk/library/demos/text.tcl, + src/other/tk/library/demos/textpeer.tcl, + src/other/tk/library/demos/timer, + src/other/tk/library/demos/toolbar.tcl, + src/other/tk/library/demos/tree.tcl, + src/other/tk/library/demos/ttkbut.tcl, + src/other/tk/library/demos/ttkmenu.tcl, + src/other/tk/library/demos/ttknote.tcl, + src/other/tk/library/demos/ttkpane.tcl, + src/other/tk/library/demos/ttkprogress.tcl, + src/other/tk/library/demos/ttkscale.tcl, + src/other/tk/library/demos/twind.tcl, + src/other/tk/library/demos/unicodeout.tcl, + src/other/tk/library/demos/vscale.tcl, + src/other/tk/library/demos/widget, + src/other/tk/library/dialog.tcl, src/other/tk/library/entry.tcl, + src/other/tk/library/focus.tcl, + src/other/tk/library/images/README, + src/other/tk/library/license.terms, + src/other/tk/library/listbox.tcl, src/other/tk/library/menu.tcl, + src/other/tk/library/mkpsenc.tcl, + src/other/tk/library/msgbox.tcl, + src/other/tk/library/msgs/de.msg, + src/other/tk/library/obsolete.tcl, + src/other/tk/library/optMenu.tcl, + src/other/tk/library/palette.tcl, + src/other/tk/library/panedwindow.tcl, + src/other/tk/library/safetk.tcl, src/other/tk/library/scale.tcl, + src/other/tk/library/scrlbar.tcl, + src/other/tk/library/spinbox.tcl, + src/other/tk/library/tearoff.tcl, src/other/tk/library/text.tcl, + src/other/tk/library/tk.tcl, src/other/tk/library/tkfbox.tcl, + src/other/tk/library/ttk/altTheme.tcl, + src/other/tk/library/ttk/aquaTheme.tcl, + src/other/tk/library/ttk/button.tcl, + src/other/tk/library/ttk/clamTheme.tcl, + src/other/tk/library/ttk/classicTheme.tcl, + src/other/tk/library/ttk/combobox.tcl, + src/other/tk/library/ttk/cursors.tcl, + src/other/tk/library/ttk/defaults.tcl, + src/other/tk/library/ttk/entry.tcl, + src/other/tk/library/ttk/fonts.tcl, + src/other/tk/library/ttk/menubutton.tcl, + src/other/tk/library/ttk/notebook.tcl, + src/other/tk/library/ttk/panedwindow.tcl, + src/other/tk/library/ttk/progress.tcl, + src/other/tk/library/ttk/scale.tcl, + src/other/tk/library/ttk/scrollbar.tcl, + src/other/tk/library/ttk/sizegrip.tcl, + src/other/tk/library/ttk/spinbox.tcl, + src/other/tk/library/ttk/treeview.tcl, + src/other/tk/library/ttk/ttk.tcl, + src/other/tk/library/ttk/utils.tcl, + src/other/tk/library/ttk/vistaTheme.tcl, + src/other/tk/library/ttk/winTheme.tcl, + src/other/tk/library/ttk/xpTheme.tcl, + src/other/tk/library/unsupported.tcl, + src/other/tk/library/xmfbox.tcl, src/other/tk/license.terms, + src/other/tk/macosx/GNUmakefile, src/other/tk/macosx/README, + src/other/tk/macosx/Tk-Info.plist.in, + src/other/tk/macosx/Tk.icns, src/other/tk/macosx/Tk.tiff, + src/other/tk/macosx/Wish-Common.xcconfig, + src/other/tk/macosx/Wish-Debug.xcconfig, + src/other/tk/macosx/Wish-Info.plist.in, + src/other/tk/macosx/Wish-Release.xcconfig, + src/other/tk/macosx/Wish.icns, + src/other/tk/macosx/Wish.pbproj/default.pbxuser, + src/other/tk/macosx/Wish.pbproj/jingham.pbxuser, + src/other/tk/macosx/Wish.pbproj/project.pbxproj, + src/other/tk/macosx/Wish.sdef, + src/other/tk/macosx/Wish.xcode/default.pbxuser, + src/other/tk/macosx/Wish.xcode/project.pbxproj, + src/other/tk/macosx/Wish.xcodeproj/default.pbxuser, + src/other/tk/macosx/Wish.xcodeproj/project.pbxproj, + src/other/tk/macosx/configure, src/other/tk/macosx/configure.ac, + src/other/tk/macosx/license.terms, + src/other/tk/macosx/tkAboutDlg.r, src/other/tk/macosx/tkMacOSX.h, + src/other/tk/macosx/tkMacOSXAETE.r, + src/other/tk/macosx/tkMacOSXBitmap.c, + src/other/tk/macosx/tkMacOSXButton.c, + src/other/tk/macosx/tkMacOSXCarbonEvents.c, + src/other/tk/macosx/tkMacOSXClipboard.c, + src/other/tk/macosx/tkMacOSXColor.c, + src/other/tk/macosx/tkMacOSXConfig.c, + src/other/tk/macosx/tkMacOSXCursor.c, + src/other/tk/macosx/tkMacOSXCursors.h, + src/other/tk/macosx/tkMacOSXCursors.r, + src/other/tk/macosx/tkMacOSXDebug.c, + src/other/tk/macosx/tkMacOSXDebug.h, + src/other/tk/macosx/tkMacOSXDefault.h, + src/other/tk/macosx/tkMacOSXDialog.c, + src/other/tk/macosx/tkMacOSXDraw.c, + src/other/tk/macosx/tkMacOSXEmbed.c, + src/other/tk/macosx/tkMacOSXEntry.c, + src/other/tk/macosx/tkMacOSXEvent.c, + src/other/tk/macosx/tkMacOSXEvent.h, + src/other/tk/macosx/tkMacOSXFont.c, + src/other/tk/macosx/tkMacOSXFont.h, + src/other/tk/macosx/tkMacOSXHLEvents.c, + src/other/tk/macosx/tkMacOSXInit.c, + src/other/tk/macosx/tkMacOSXInt.h, + src/other/tk/macosx/tkMacOSXKeyEvent.c, + src/other/tk/macosx/tkMacOSXKeyboard.c, + src/other/tk/macosx/tkMacOSXMenu.c, + src/other/tk/macosx/tkMacOSXMenubutton.c, + src/other/tk/macosx/tkMacOSXMenus.c, + src/other/tk/macosx/tkMacOSXMouseEvent.c, + src/other/tk/macosx/tkMacOSXNotify.c, + src/other/tk/macosx/tkMacOSXPort.h, + src/other/tk/macosx/tkMacOSXPrivate.h, + src/other/tk/macosx/tkMacOSXRegion.c, + src/other/tk/macosx/tkMacOSXScale.c, + src/other/tk/macosx/tkMacOSXScrlbr.c, + src/other/tk/macosx/tkMacOSXSend.c, + src/other/tk/macosx/tkMacOSXSubwindows.c, + src/other/tk/macosx/tkMacOSXTest.c, + src/other/tk/macosx/tkMacOSXWindowEvent.c, + src/other/tk/macosx/tkMacOSXWm.c, + src/other/tk/macosx/tkMacOSXWm.h, + src/other/tk/macosx/tkMacOSXXCursors.h, + src/other/tk/macosx/tkMacOSXXCursors.r, + src/other/tk/macosx/tkMacOSXXStubs.c, + src/other/tk/macosx/ttkMacOSXTheme.c, src/other/tk/tests/README, + src/other/tk/tests/all.tcl, src/other/tk/tests/arc.tcl, + src/other/tk/tests/bell.test, src/other/tk/tests/bevel.tcl, + src/other/tk/tests/bgerror.test, src/other/tk/tests/bind.test, + src/other/tk/tests/bitmap.test, src/other/tk/tests/border.test, + src/other/tk/tests/bugs.tcl, src/other/tk/tests/butGeom.tcl, + src/other/tk/tests/butGeom2.tcl, src/other/tk/tests/button.test, + src/other/tk/tests/canvImg.test, src/other/tk/tests/canvPs.test, + src/other/tk/tests/canvPsArc.tcl, + src/other/tk/tests/canvPsBmap.tcl, + src/other/tk/tests/canvPsGrph.tcl, + src/other/tk/tests/canvPsImg.tcl, + src/other/tk/tests/canvPsText.tcl, + src/other/tk/tests/canvRect.test, + src/other/tk/tests/canvText.test, + src/other/tk/tests/canvWind.test, src/other/tk/tests/canvas.test, + src/other/tk/tests/choosedir.test, + src/other/tk/tests/clipboard.test, + src/other/tk/tests/clrpick.test, src/other/tk/tests/cmap.tcl, + src/other/tk/tests/cmds.test, src/other/tk/tests/color.test, + src/other/tk/tests/config.test, + src/other/tk/tests/constraints.tcl, + src/other/tk/tests/cursor.test, src/other/tk/tests/dialog.test, + src/other/tk/tests/embed.test, src/other/tk/tests/entry.test, + src/other/tk/tests/event.test, src/other/tk/tests/filebox.test, + src/other/tk/tests/focus.test, src/other/tk/tests/focusTcl.test, + src/other/tk/tests/font.test, src/other/tk/tests/frame.test, + src/other/tk/tests/geometry.test, src/other/tk/tests/get.test, + src/other/tk/tests/grab.test, src/other/tk/tests/grid.test, + src/other/tk/tests/id.test, src/other/tk/tests/image.test, + src/other/tk/tests/imgBmap.test, src/other/tk/tests/imgPPM.test, + src/other/tk/tests/imgPhoto.test, + src/other/tk/tests/license.terms, + src/other/tk/tests/listbox.test, src/other/tk/tests/main.test, + src/other/tk/tests/menu.test, src/other/tk/tests/menuDraw.test, + src/other/tk/tests/menubut.test, src/other/tk/tests/message.test, + src/other/tk/tests/msgbox.test, src/other/tk/tests/obj.test, + src/other/tk/tests/oldpack.test, src/other/tk/tests/option.test, + src/other/tk/tests/pack.test, + src/other/tk/tests/panedwindow.test, + src/other/tk/tests/place.test, src/other/tk/tests/raise.test, + src/other/tk/tests/safe.test, src/other/tk/tests/scale.test, + src/other/tk/tests/scrollbar.test, + src/other/tk/tests/select.test, src/other/tk/tests/send.test, + src/other/tk/tests/spinbox.test, src/other/tk/tests/text.test, + src/other/tk/tests/textBTree.test, + src/other/tk/tests/textDisp.test, + src/other/tk/tests/textImage.test, + src/other/tk/tests/textIndex.test, + src/other/tk/tests/textMark.test, + src/other/tk/tests/textTag.test, + src/other/tk/tests/textWind.test, src/other/tk/tests/tk.test, + src/other/tk/tests/ttk/all.tcl, + src/other/tk/tests/ttk/checkbutton.test, + src/other/tk/tests/ttk/image.test, + src/other/tk/tests/ttk/labelframe.test, + src/other/tk/tests/ttk/layout.test, + src/other/tk/tests/ttk/notebook.test, + src/other/tk/tests/ttk/panedwindow.test, + src/other/tk/tests/ttk/progressbar.test, + src/other/tk/tests/ttk/radiobutton.test, + src/other/tk/tests/ttk/scrollbar.test, + src/other/tk/tests/ttk/treetags.test, + src/other/tk/tests/ttk/treeview.test, + src/other/tk/tests/ttk/ttk.test, + src/other/tk/tests/ttk/vsapi.test, + src/other/tk/tests/unixButton.test, + src/other/tk/tests/unixEmbed.test, + src/other/tk/tests/unixFont.test, + src/other/tk/tests/unixMenu.test, + src/other/tk/tests/unixSelect.test, + src/other/tk/tests/unixWm.test, src/other/tk/tests/util.test, + src/other/tk/tests/visual.test, + src/other/tk/tests/visual_bb.test, + src/other/tk/tests/winButton.test, + src/other/tk/tests/winClipboard.test, + src/other/tk/tests/winDialog.test, + src/other/tk/tests/winFont.test, src/other/tk/tests/winMenu.test, + src/other/tk/tests/winMsgbox.test, + src/other/tk/tests/winSend.test, src/other/tk/tests/winWm.test, + src/other/tk/tests/window.test, src/other/tk/tests/winfo.test, + src/other/tk/tests/wm.test, src/other/tk/tests/xmfbox.test, + src/other/tk/unix/Makefile.in, src/other/tk/unix/README, + src/other/tk/unix/configure.in, src/other/tk/unix/install-sh, + src/other/tk/unix/license.terms, src/other/tk/unix/tcl.m4, + src/other/tk/unix/tkAppInit.c, src/other/tk/unix/tkConfig.h.in, + src/other/tk/unix/tkConfig.sh.in, src/other/tk/unix/tkUnix.c, + src/other/tk/unix/tkUnix3d.c, src/other/tk/unix/tkUnixButton.c, + src/other/tk/unix/tkUnixColor.c, + src/other/tk/unix/tkUnixConfig.c, + src/other/tk/unix/tkUnixCursor.c, + src/other/tk/unix/tkUnixDefault.h, + src/other/tk/unix/tkUnixDialog.c, src/other/tk/unix/tkUnixDraw.c, + src/other/tk/unix/tkUnixEmbed.c, src/other/tk/unix/tkUnixEvent.c, + src/other/tk/unix/tkUnixFocus.c, src/other/tk/unix/tkUnixFont.c, + src/other/tk/unix/tkUnixInit.c, src/other/tk/unix/tkUnixInt.h, + src/other/tk/unix/tkUnixKey.c, src/other/tk/unix/tkUnixMenu.c, + src/other/tk/unix/tkUnixMenubu.c, src/other/tk/unix/tkUnixPort.h, + src/other/tk/unix/tkUnixRFont.c, src/other/tk/unix/tkUnixScale.c, + src/other/tk/unix/tkUnixScrlbr.c, + src/other/tk/unix/tkUnixSelect.c, src/other/tk/unix/tkUnixSend.c, + src/other/tk/unix/tkUnixWm.c, src/other/tk/unix/tkUnixXId.c, + src/other/tk/win/Makefile.in, src/other/tk/win/README, + src/other/tk/win/buildall.vc.bat, src/other/tk/win/configure, + src/other/tk/win/configure.in, src/other/tk/win/license.terms, + src/other/tk/win/makefile.bc, src/other/tk/win/makefile.vc, + src/other/tk/win/mkd.bat, src/other/tk/win/nmakehlp.c, + src/other/tk/win/rc/tk.rc, src/other/tk/win/rc/tk_base.rc, + src/other/tk/win/rc/wish.rc, src/other/tk/win/rmd.bat, + src/other/tk/win/rules.vc, src/other/tk/win/stubs.c, + src/other/tk/win/tcl.m4, src/other/tk/win/tkConfig.sh.in, + src/other/tk/win/tkWin.h, src/other/tk/win/tkWin32Dll.c, + src/other/tk/win/tkWin3d.c, src/other/tk/win/tkWinButton.c, + src/other/tk/win/tkWinClipboard.c, src/other/tk/win/tkWinColor.c, + src/other/tk/win/tkWinConfig.c, src/other/tk/win/tkWinCursor.c, + src/other/tk/win/tkWinDefault.h, src/other/tk/win/tkWinDialog.c, + src/other/tk/win/tkWinDraw.c, src/other/tk/win/tkWinEmbed.c, + src/other/tk/win/tkWinFont.c, src/other/tk/win/tkWinImage.c, + src/other/tk/win/tkWinInit.c, src/other/tk/win/tkWinInt.h, + src/other/tk/win/tkWinKey.c, src/other/tk/win/tkWinMenu.c, + src/other/tk/win/tkWinPixmap.c, src/other/tk/win/tkWinPointer.c, + src/other/tk/win/tkWinPort.h, src/other/tk/win/tkWinRegion.c, + src/other/tk/win/tkWinScrlbr.c, src/other/tk/win/tkWinSend.c, + src/other/tk/win/tkWinSendCom.c, src/other/tk/win/tkWinSendCom.h, + src/other/tk/win/tkWinTest.c, src/other/tk/win/tkWinWindow.c, + src/other/tk/win/tkWinWm.c, src/other/tk/win/tkWinX.c, + src/other/tk/win/ttkWinMonitor.c, src/other/tk/win/ttkWinTheme.c, + src/other/tk/win/ttkWinXPTheme.c, src/other/tk/win/winMain.c, + src/other/tk/win/wish.exe.manifest, src/other/tk/xlib/X11/X.h, + src/other/tk/xlib/X11/Xfuncproto.h, src/other/tk/xlib/X11/Xlib.h, + src/other/tk/xlib/X11/Xutil.h, src/other/tk/xlib/X11/keysym.h, + src/other/tk/xlib/X11/license.terms, + src/other/tk/xlib/license.terms, src/other/tk/xlib/xbytes.h, + src/other/tk/xlib/xcolors.c, src/other/tk/xlib/xdraw.c, + src/other/tk/xlib/xgc.c, src/other/tk/xlib/ximage.c, + src/other/tk/xlib/xutil.c: + No clear need as yet to take the Tcl/Tk 8.6 upgrade plunge, but + go ahead and pull in the latest 8.5.13 patch release of 8.5 - the + change logs list a few bug fixes which may be of interest. + +2013-03-21 20:46 carlmoore + + * [r54813] src/util/pix-png.c: + reverted r54804 because we need to accept piped input too + +2013-03-21 20:31 brlcad + + * [r54812] src/librt/primitives/bspline/nurb_ray.c, + src/librt/primitives/ell/ell.c: + and more missing semicolons, clean up resulting indent failures + +2013-03-21 20:29 starseeker + + * [r54811] configure.ac: + Add lodUtilityP Makefile to configure.ac + +2013-03-21 20:29 brlcad + + * [r54810] src/conv/euclid/euclid_unformat.c, + src/librt/primitives/arb8/arb8.c: + more semicolons missing from vmath macros + +2013-03-21 20:14 starseeker + + * [r54809] misc/CMake/distcheck_repo_verify.cmake.in: + Fix a couple bugs in the repository verification - build files + reporting in ignored directories wasn't respecting the SVN + deleted flag, and the REGEX for stripping the deleted marker from + an svn report line was too aggressive. + +2013-03-21 20:09 brlcad + + * [r54808] src/libbn/tcl.c: + missing semi + +2013-03-21 19:39 brlcad + + * [r54807] include/vmath.h: + implement macros for swapping vectors and matrices. use a single + temporary float for the vectors, but a full temp matrix for the + matrix swap. while the single fastf_t temp is fewer read/write + instructions, it may be more coherent (faster) to use a full + vector. warrants testing if put into critical code. implemented + in do{}while(0) fashion so a semicolon becomes necessary + +2013-03-21 19:21 brlcad + + * [r54806] src/librt/primitives/tgc/tgc.c: + bah, pay attention to our order. don't use before we declare. + make two of the globals static to limit scope + +2013-03-21 19:17 brlcad + + * [r54805] src/librt/primitives/tgc/tgc.c: + move definitions and globals around, push them to the top of the + file and group together + +2013-03-21 19:15 carlmoore + + * [r54804] src/util/pix-png.c: + and I added this so we can have the run-with-no-arguments + construct without extra error (cannot input from tty) + +2013-03-21 18:53 brlcad - * [r49422] src/util/decimate.c: - test output size. Cov1502 + * [r54803] src/liboptical/sh_toyota.c: + comment cleanup -2012-02-14 20:20 brlcad +2013-03-21 18:49 starseeker - * [r49421] src/shapes/window_frame.c: - if the scanf fails, don't just perror and keep processing with - the potentially 'tainted' scalar. set it to something sane (in - leu of aborting). cid 2097, run 10. + * [r54802] src/other/CMakeLists.txt: + Add the tk unix path to the list of internal header paths used to + build tcl/tk extensions. This may fix the togl build failure with + tcl/tk 8.5.13, but is untested - see + http://lists.freebsd.org/pipermail/svn-ports-all/2012-September/003483.html -2012-02-14 19:43 bob1961 +2013-03-21 18:37 carlmoore - * [r49420] src/libged/get_obj_bounds.c: - Now need to initialize stp->st_meth in _ged_get_obj_bounds2() - before calling ft_prep(). This is because of a change to all of - the rt_XXX_prep routines (i.e. they now call - stp->st_meth->ft_bbox). This eliminates the resulting - segmentation fault whenever _ged_get_obj_bounds2() is called. + * [r54801] src/util/pix-png.c: + Usage statement was missing reference to -g gamma -2012-02-14 19:10 bob1961 +2013-03-21 18:09 brlcad - * [r49419] src/tclscripts/archer/Archer.tcl: - The mouse position needs to be computed from the object's center - before calling handleObjCenter. + * [r54800] include/bu.h: + document that the new stat/seek functions should not yet be + considered new API since there may be a less intrusive option. + don't want to be considered published. -2012-02-14 18:53 bob1961 +2013-03-21 16:43 jordisayol - * [r49418] src/librt/primitives/nmg/nmg_bool.c: - Cast bu_ptbl_rm's second arg to long *. + * [r54799] misc/debian/changelog: + update Debian changelog to next release -2012-02-14 17:35 erikgreenwald +2013-03-21 14:51 brlcad - * [r49417] src/proc-db/metaball.c: - do not attempt to look up a null entity, skip it instead. Cov314 + * [r54798] src/external/ProEngineer/Makefile.am: + include msvc10 in autotools dist -2012-02-14 16:26 brlcad +2013-03-21 14:28 brlcad - * [r49416] src/librt/primitives/nmg/nmg_bool.c: - nothing valid to print since the second shell is freed during the - boolean eval. detected by coverity, cid 2103 (run 10). + * [r54797] NEWS: + richard added a new -q option to gqa for suppressing messages + about regions not hit -2012-02-14 16:17 brlcad +2013-03-21 04:17 brlcad - * [r49415] src/librt/primitives/nmg/nmg_bool.c: - remove the loopuse pointers from the loops table prior to killing - them so we're not passing around free'd pointers to functions. - it's fine for bu_ptbl since it references them by value, but - smells funny and could be misleading down the road. - (USE_AFTER_FREE false positive, cov cid 2101) + * [r54796] src/util/hex.c: + llx expects long long so give it long long -2012-02-14 16:05 starseeker +2013-03-20 22:23 brlcad - * [r49414] NEWS, src/librt/comb/comb.c: - Make sure the attributes and comb are always on the same page, - and that we don't miss color if someone works with rgb. + * [r54795] include/brep.h, include/raytrace.h, include/vmath.h, + include/wdb.h, src/libanalyze/voxels.c, + src/libbn/tests/bn_list.c, src/libdm/labels.c, src/libged/draw.c, + src/libged/edbot.c, src/libged/joint.c, src/libged/scale.c, + src/libged/simulate/simulate.c, src/liboptical/sh_light.c, + src/librt/bbox.c, src/librt/db5_alloc.c, + src/librt/primitives/arb8/arb8.c, src/librt/primitives/bot/bot.c, + src/librt/primitives/dsp/dsp.c, + src/librt/primitives/nmg/nmg_bool.c, + src/librt/primitives/nmg/nmg_misc.c, + src/librt/primitives/nmg/nmg_tri.c, + src/librt/primitives/rhc/rhc.c, src/librt/primitives/rpc/rpc.c, + src/librt/regionfix.c, src/librt/roots.c, src/librt/search.c, + src/librt/shoot.c, src/librt/tcl.c, src/librt/timer-nt.c, + src/librt/timer42.c, src/librt/timerhep.c, src/librt/timerunix.c, + src/librt/transform.c, src/librt/tree.c, src/librt/vers.c, + src/librt/vlist.c, src/librt/wdb.c, src/shapes/coil.c, + src/util/bwshrink.c, src/util/bwthresh.c, src/util/pix-orle.c, + src/util/pixmorph.c, src/util/pixshrink.c, src/util/plrot.c, + src/util/rle_args.h: + more ws cleanup, been a little while + +2013-03-20 22:02 brlcad + + * [r54794] src/anim/chan_permute.c: + indent -2012-02-13 21:50 n_reed +2013-03-20 22:01 brlcad - * [r49413] src/libbu/sscanf.c: - Always use 'f' for float conversions. Using vls to build the - piecewise format strings during parsing makes things much easier. + * [r54793] src/libbu/hook.c: + ws -2012-02-13 19:06 r_weiss +2013-03-20 21:55 brlcad - * [r49412] src/librt/primitives/nmg/nmg_fuse.c: - Updated function 'nmg_model_vertex_fuse' in file 'nmg_fuse.c'. - Added test so that if there are no vertex, do nothing, just exit. + * [r54792] include/bu.h: + make the heap pool version match to avoid confusion, cleanup docs -2012-02-11 02:21 n_reed +2013-03-20 21:50 brlcad - * [r49411] src/librt/primitives/nmg/nmg_inter.c: - Testing fu == NULL after dereferencing. Appears fu is never NULL, - so remove test. CID 514. + * [r54791] include/bu.h: + using the type in an rvalue is a bad idea since it conflicts with + type punned pointers. use in lvalue cast instead in what should + be a safe way. -2012-02-11 01:59 n_reed +2013-03-20 21:41 brlcad - * [r49410] src/librt/primitives/nmg/nmg_extrude.c: - Testing shell == NULL after dereferencing. Appears shell is never - NULL, so remove test. Cleanup and comment to clarify logic. CID - 516. + * [r54790] include/bu.h: + intentionally but innocuosly use the type so we can catch errors -2012-02-10 23:24 n_reed +2013-03-20 21:27 brlcad - * [r49409] src/libged/make_pnts.c: - Unclosed fd. CID 495. + * [r54789] src/liboptical/sh_stxt.c: + type typo, stxt_specific -2012-02-10 23:13 n_reed +2013-03-20 21:26 brlcad - * [r49408] src/libged/red.c: - Remove fallthrough from default case. CID 352. + * [r54788] src/librt/primitives/nmg/nmg_fuse.c: + BU_GET() the nmg_radial structs since we found the pairing -2012-02-10 22:04 n_reed +2013-03-20 21:20 brlcad - * [r49407] src/anim/anim_keyread.c, src/anim/anim_orient.c: - Swapped arguments. CID 401, 403. + * [r54787] src/librt/primitives/nmg/nmg_mk.c: + call NMG_GETSTRUCT() since we don't directly call BU_GET() on a + model -2012-02-10 21:57 n_reed +2013-03-20 21:17 brlcad - * [r49406] src/sig/dconv.c: - Unclear what max sizes/indices *should* be. For now, just - increase array size to prevent overrun. CID 428. + * [r54786] src/librt/primitives/pipe/pipe.c: + linear_pipe should be lin_pipe too -2012-02-10 19:33 starseeker +2013-03-20 21:17 brlcad - * [r49405] src/rt/opt.c: - RT_PART_NUGRID is causing regression failures in the lights - regression test. + * [r54785] src/libged/push.c: + there is no ged_push -2012-02-10 14:35 starseeker +2013-03-20 21:16 brlcad - * [r49404] TODO: - Add a note to look into liboptical/libmultispectral 'someday' + * [r54784] src/librt/cut.c: + no longer BU_GET()ing union cutter objects, release normally via + bu_free() -2012-02-10 14:08 starseeker +2013-03-20 20:54 brlcad - * [r49403] misc/CMake/BRLCAD_Util.cmake, regress/CMakeLists.txt: - fixes for distcheck + * [r54783] src/libged/brep.c, src/libged/cc.c, + src/libged/comb_std.c, src/libged/dag.cpp, src/libged/edit.c, + src/libged/joint.c, src/libged/make.c, src/libged/make_bb.c, + src/libged/make_pnts.c, src/libged/polyclip.cpp, + src/libged/push.c, src/libged/rfarb.c, src/libged/search.c, + src/libged/simulate/simulate.c, src/libged/tire.c, + src/libged/typein.c, src/libged/wdb_bigE.c, + src/libged/wdb_comb_std.c, src/libged/wdb_obj.c, + src/libged/xpush.c, src/libicv/fileformat.c, + src/liboptical/photonmap.c, src/liboptical/sh_points.c, + src/liboptical/sh_prj.c, src/liboptical/sh_text.c, + src/librt/bezier_2d_isect.c, src/librt/binunif/db5_bin.c, + src/librt/bundle.c, src/librt/comb/comb.c, src/librt/db_lookup.c, + src/librt/memalloc.c, src/librt/mkbundle.c, src/librt/prep.c, + src/librt/primitives/arb8/arb8.c, + src/librt/primitives/arb8/arb8_brep.cpp, + src/librt/primitives/arbn/arbn.c, + src/librt/primitives/arbn/arbn_brep.cpp, + src/librt/primitives/ars/ars.c, + src/librt/primitives/ars/ars_brep.cpp, + src/librt/primitives/bot/bot.c, + src/librt/primitives/bot/bot_brep.cpp, + src/librt/primitives/bot/btg.c, src/librt/primitives/bot/btgf.c, + src/librt/primitives/brep/brep.cpp, + src/librt/primitives/brep/brep_debug.cpp, + src/librt/primitives/bspline/bspline.cpp, + src/librt/primitives/bspline/nurb_poly.c, + src/librt/primitives/cline/cline.c, + src/librt/primitives/cline/cline_brep.cpp, + src/librt/primitives/dsp/dsp.c, src/librt/primitives/ebm/ebm.c, + src/librt/primitives/ebm/ebm_brep.cpp, + src/librt/primitives/ehy/ehy.c, src/librt/primitives/ell/ell.c, + src/librt/primitives/epa/epa.c, src/librt/primitives/eto/eto.c, + src/librt/primitives/extrude/extrude.c, + src/librt/primitives/extrude/extrude_brep.cpp, + src/librt/primitives/grip/grip.c, + src/librt/primitives/half/half.c, src/librt/primitives/hf/hf.c, + src/librt/primitives/hyp/hyp.c, + src/librt/primitives/metaball/metaball.c, + src/librt/primitives/nmg/nmg_extrude.c, + src/librt/primitives/nmg/nmg_fcut.c, + src/librt/primitives/nmg/nmg_fuse.c, + src/librt/primitives/nmg/nmg_misc.c, + src/librt/primitives/nmg/nmg_mod.c, + src/librt/primitives/nmg/nmg_pt_fu.c, + src/librt/primitives/nmg/nmg_rt_isect.c, + src/librt/primitives/nmg/nmg_rt_segs.c, + src/librt/primitives/nmg/nmg_tri.c, + src/librt/primitives/part/part.c, + src/librt/primitives/pipe/pipe.c, + src/librt/primitives/pnts/pnts.c, + src/librt/primitives/poly/poly.c, + src/librt/primitives/poly/poly_brep.cpp, + src/librt/primitives/primitive_util.c, + src/librt/primitives/revolve/revolve.c, + src/librt/primitives/revolve/revolve_brep.cpp, + src/librt/primitives/rhc/rhc.c, src/librt/primitives/rpc/rpc.c, + src/librt/primitives/sketch/sketch.c, + src/librt/primitives/submodel/submodel.c, + src/librt/primitives/superell/superell.c, + src/librt/primitives/tgc/tgc.c, src/librt/primitives/tor/tor.c, + src/librt/primitives/vol/vol.c, + src/librt/primitives/vol/vol_brep.cpp, + src/librt/primitives/xxx/xxx.c, src/librt/shoot.c, + src/librt/tree.c, src/librtserver/rtserver.c, + src/libtclcad/tclcad_obj.c, src/mged/arbs.c, src/mged/bodyio.c, + src/mged/history.c, src/mged/muves.c, src/mged/points/count.c, + src/mged/points/process.c, src/mged/solids_on_ray.c, + src/nirt/if.c, src/nirt/nirt.c, src/nirt/parse_fmt.c, + src/proc-db/masonry.c, src/proc-db/molecule.c, + src/proc-db/pipe.c, src/proc-db/spltest.c, + src/proc-db/vegetation.c, src/rt/reshoot.c, src/rt/view.c, + src/rt/view_bot_faces.c, src/rt/viewarea.c, src/rt/viewcheck.c, + src/rt/viewedge.c, src/rt/viewhide.c, src/rt/viewrange.c, + src/rt/viewsil.c, src/rt/viewweight.c, src/shapes/coil.c, + src/tab/scriptsort.c, src/util/bary.c, src/util/pixcount.c: + mass conversion of nearly all the 2277 instances of bu_malloc() + and bu_calloc() where there were single structure allocations to + BU_ALLOC(). this has the main benefit of brevity, helping with + maintainability and readability. it reduced 20k chars and + eliminated over 1.5 lines (same # statements, they just tended to + span multiple lines because they were so wordy). about 500 + instances are converted. the one logical change is that + BU_ALLOC() ensures zero-initialization via bu_calloc() and that + should generally be a good thing for structures, maybe even fix + an obscure bug or two. -2012-02-10 13:28 brlcad +2013-03-20 20:13 brlcad - * [r49402] src/liboptical/CMakeLists.txt: - the rtms static lib wasn't the right approach, but is now also no - longer needed + * [r54782] src/mged/points/count.c, src/mged/points/count.h, + src/mged/points/main.c, src/mged/points/points_parse.y, + src/mged/points/process.c, src/mged/points/process.h: + remove authorship from source files, revision control holds the + history -2012-02-10 13:27 brlcad +2013-03-20 20:11 brlcad - * [r49401] src/rttherm/CMakeLists.txt: - linking liboptical works only in the sense that it resolves the - compile symbols but will result in a runtime crash since the - datatypes mismatch. link libmultispectral instead (and only it) + * [r54781] src/mged/points/count.c: + BU_ALLOC for brevity -2012-02-10 13:26 brlcad +2013-03-20 20:03 brlcad - * [r49400] src/libmultispectral/CMakeLists.txt: - re-add all of sources back to libmultispectral. the rtms static - lib isn't needed any longer but the sources are, otherwise the - ms-applications will crash (they should NOT link liboptical...) + * [r54780] src/librt/shoot.c: + another calloc count then size fix -2012-02-10 13:19 starseeker +2013-03-20 19:35 brlcad - * [r49399] src/libmultispectral/CMakeLists.txt, - src/liboptical/CMakeLists.txt, src/rttherm/CMakeLists.txt: - not the right fix... + * [r54779] src/librt/primitives/nmg/nmg_ck.c: + good catch nick, it was already countsize. make explicit with + sizeof(char). -2012-02-10 01:47 starseeker +2013-03-20 19:25 brlcad - * [r49398] src/libmultispectral/CMakeLists.txt, - src/liboptical/CMakeLists.txt, src/rttherm/CMakeLists.txt: - Remove rtms from CMake build. + * [r54778] src/librt/primitives/nmg/nmg_ck.c: + calloc is count then size -2012-02-10 01:38 starseeker +2013-03-20 19:20 brlcad - * [r49397] src/fb/fbanim.c: - Sanity check on results of atoi - CID 1473 + * [r54777] src/librt/primitives/generic.c: + calloc is count then size -2012-02-10 00:35 starseeker +2013-03-20 19:17 brlcad - * [r49396] src/conv/ply-g.c: - Is this what it wants for validating buf2? CID 1471 + * [r54776] src/librt/primitives/bot/tie_kdtree.c: + call BU_ALLOC() where we can (single struct allocation) and use + libbu memory management consistency (bu_malloc() instead of + malloc()) -2012-02-10 00:14 starseeker +2013-03-20 18:09 brlcad - * [r49395] src/conv/asc/pix2asc.c: - Try at input validation to resolve tainted scalar report - CID - 1463 + * [r54775] src/librt/cut.c: + BU_ALLOC() in a couple places, and swap calloc for count then + size -2012-02-09 23:46 starseeker +2013-03-20 17:42 brlcad - * [r49394] src/bwish/input.c: - Make a stab a validating the contents of buf - CID 1461 + * [r54772] src/libged/gqa.c: + calloc is count then size -2012-02-09 23:44 n_reed +2013-03-20 17:38 brlcad - * [r49393] src/lgt/prnt.c: - Forgot to dereference char* before comparing to '\0'; try again. - CID 389. + * [r54771] src/libged/combmem.c: + allocate a mat_t, not 16 fastf_t -2012-02-09 23:00 n_reed +2013-03-20 17:29 brlcad - * [r49392] src/remrt/remrt.c: - Closing invalid fd. CID 386. + * [r54770] src/libged/brep.c: + gah my fingers and their auto-saving habit. commit the rest that + removes the allocation of a brep *pointer* on the stack. doesn't + seem to be a reason for that other than brep_conversion() needing + the address of the pointer so that it can set its value. we can + do that without a double-pointer here. -2012-02-09 22:58 starseeker +2013-03-20 17:21 brlcad - * [r49391] src/librt/primitives/nmg/nmg_fuse.c: - Still need the change from r49312 + * [r54769] src/libged/bot_merge.c: + revert, wasn't supposed to be committed -2012-02-09 22:33 n_reed +2013-03-20 17:17 brlcad - * [r49390] src/conv/fast4-g.c: - Missed an unchecked return from ftell. CID 373. + * [r54768] src/conv/comgeom/solid.c, src/conv/g-x3d.c, + src/conv/iges/arrange.c, src/conv/iges/b-spline.c, + src/conv/iges/bubbleup.c, src/conv/iges/check_names.c, + src/conv/iges/conv_drawings.c, src/conv/iges/convinst.c, + src/conv/iges/copytree.c, src/conv/iges/do_subfigs.c, + src/conv/iges/evalxform.c, src/conv/iges/findp.c, + src/conv/iges/getcurve.c, src/conv/iges/main.c, + src/conv/iges/make_face.c, src/conv/iges/make_nurb_face.c, + src/conv/iges/makedir.c, src/conv/iges/orient_loops.c, + src/conv/iges/read_edge_list.c, src/conv/iges/read_vertex_list.c, + src/conv/iges/revolve.c, src/conv/iges/trimsurf.c, + src/conv/obj-g.c, src/conv/ply-g.c, src/conv/proe-g.c, + src/conv/shp/shp-g.c, src/conv/tankill/tankill-g.c, + src/conv/vdeck/vdeck.c, src/external/ProEngineer/proe-brl.c, + src/external/Unigraphics/ug-g.c, src/fb/cell-fb.c, + src/fb/tests/fbthreadtest.c, src/gtools/beset/fitness.c, + src/gtools/beset/population.c, src/gtools/g_lint.c, + src/gtools/remapid.c, src/lgt/texture.c, + src/libanalyze/overlaps.c, src/libanalyze/voxels.c, + src/libbn/msr.c, src/libbn/multipoly.c, src/libbn/randmt.c, + src/libbn/sphmap.c, src/libbn/vert_tree.c, src/libbu/cmdhist.c, + src/libbu/rb_create.c, src/libbu/rb_insert.c, + src/libbu/tests/bu_sscanf.c, src/libbu/vfont.c, src/libbu/vls.c, + src/libdm/dm-X.c, src/libdm/dm-ogl.c, src/libdm/dm-ps.c, + src/libdm/dm-rtgl.c, src/libdm/dm-tk.c, src/libdm/dm-wgl.c, + src/libgcv/bottess.c, src/libgcv/test_bottess.c, + src/libged/3ptarb.c, src/libged/bb.c, src/libged/bigE.c, + src/libged/bot_merge.c, src/libged/brep.c: + big conversion of single structure allocations to BU_ALLOC(). + doesn't change behavior (except zero-init in some cases) but does + improve readability and brevity. this is about a third of them. -2012-02-09 22:16 n_reed +2013-03-20 17:02 brlcad - * [r49389] src/conv/euclid/euclid-g.c: - Logic to kill cracks in shells looks okay but is confusing. See - if pulling it into a function makes any difference. CID 2100. + * [r54767] src/conv/iges/readtree.c: + another type mismatch, make it the equivalent pointer type + instead of the typedef. maybe matp_t should die. -2012-02-09 21:54 r_weiss +2013-03-20 16:42 brlcad - * [r49388] src/librt/primitives/nmg/nmg_fuse.c: - These changes significantly improve the performance of edge - fusing. I have profiled this change which shows the improvement. - If the code is unclear I can add more documentation. + * [r54766] include/raytrace.h: + typo, missing paren -2012-02-09 21:14 erikgreenwald +2013-03-20 16:41 brlcad - * [r49387] NEWS, include/CMakeLists.txt, include/Makefile.am, - include/brlcad.i: - add initial SWIG file. + * [r54765] src/libbn/mat.c: + type consistency, unhappy converting a mat_t* to a matp_t without + explicit cast, so add it. use MAT_COPY while we're at it instead + of memcpy in case the representation ever changes. -2012-02-09 20:15 brlcad +2013-03-20 16:39 brlcad - * [r49386] src/librt/shoot.c: - readability cleanup + * [r54764] src/libged/bot_merge.c: + calloc params should count then size -2012-02-09 20:14 brlcad +2013-03-20 16:29 brlcad - * [r49385] src/libmultispectral/CMakeLists.txt, - src/libmultispectral/Makefile.am, src/libmultispectral/init.c, - src/rttherm/viewtherm.c: - with the recent init restructuring, multispectral no longer needs - it's own init function. just call optical_shader_init (from - libmultispectral). + * [r54763] src/libdm/dm-plot.c: + reallocation leak, remove calloc -2012-02-09 20:09 brlcad +2013-03-20 16:20 brlcad - * [r49384] src/libmultispectral/CMakeLists.txt, - src/libmultispectral/init.c, src/liboptical/CMakeLists.txt, - src/liboptical/init.c, src/liboptical/sh_text.c, - src/rttherm/CMakeLists.txt: - fix rttherm. demessify libmultispectral/liboptical pollution that - got translated into bad cmake build logic. move towards proper - file/symbol separation so multispectral applications do not link - liboptical. this includes moving the env_region global from - sh_text to init and not registering or linking non-multispectral - shaders. + * [r54762] include/nurb.h: + missing comma -2012-02-09 19:42 erikgreenwald +2013-03-20 15:53 brlcad - * [r49383] src/libbu/rb_create.c, src/libbu/rb_delete.c, - src/libbu/rb_diag.c, src/libbu/rb_extreme.c, src/libbu/rb_free.c, - src/libbu/rb_insert.c, src/libbu/rb_internals.h, - src/libbu/rb_order_stats.c, src/libbu/rb_rotate.c, - src/libbu/rb_search.c, src/libbu/rb_walk.c: - upcase red/black tree #defines + * [r54761] include/bn.h, include/bu.h, include/nurb.h, + include/raytrace.h, include/solid.h: + simplify, allocate via BU_ALLOC(). update docs to reflect that + option too. -2012-02-09 18:58 n_reed +2013-03-20 15:49 brlcad - * [r49382] src/mged/muves.c: - Unclosed fd. CID 2091. + * [r54760] src/bwish/cmd.c, src/conv/asc/asc2g.c, + src/conv/comgeom/solid.c, src/conv/dxf/dxf-g.c, src/conv/enf-g.c, + src/conv/fast4-g.c, src/conv/g-var.c, src/conv/g-vrml.c: + more BU_ALLOC() conversions where we only allocate a single + structure. -2012-02-09 18:51 n_reed +2013-03-20 15:27 brlcad - * [r49381] src/libbu/mappedfile.c: - Don't close invalid fd. CID 2083. + * [r54759] src/conv/g-shell-rect.c: + switch to BU_ALLOC() instead of the local complexity -2012-02-09 18:43 n_reed +2013-03-20 15:20 brlcad - * [r49380] src/libbn/tabdata.c: - If line count is less than two, indices count-1 and count-2 will - be invalid. CID 2082. + * [r54758] src/adrt/librender/spall.c, src/adrt/librender/surfel.c, + src/adrt/librender/texture_blend.c, + src/adrt/librender/texture_bump.c, + src/adrt/librender/texture_camo.c, + src/adrt/librender/texture_checker.c, + src/adrt/librender/texture_clouds.c, + src/adrt/librender/texture_gradient.c, + src/adrt/librender/texture_image.c, + src/adrt/librender/texture_mix.c, + src/adrt/librender/texture_stack.c, src/adrt/load_g.c, + src/adrt/master/master.c, src/adrt/master/tienet_master.c: + more BU_ALLOC() conversions. will be interesting to see if + zero-init has any impact. -2012-02-09 18:23 n_reed +2013-03-20 15:04 brlcad - * [r49379] src/libbn/tabdata.c: - ws + * [r54757] src/adrt/isst_tcltk.c, src/adrt/librender/camera.c, + src/adrt/librender/cut.c, src/adrt/librender/flos.c, + src/adrt/librender/path.c: + allocate single structures with BU_ALLOC(). get rid of + unnecessary null checks since libbu guarantees that won't happen. -2012-02-09 18:04 n_reed +2013-03-20 14:50 brlcad - * [r49378] src/libbn/bntester.c: - Returning exit failure on eof instead of breaking from loop as - intended. CID 2077. + * [r54756] src/libtclcad/tclcad_obj.c, + src/libwdb/dynamic_geometry.c, src/libwdb/pipe.c, + src/libwdb/reg.c, src/mged/attach.c, src/mged/chgview.c, + src/mged/edpipe.c, src/mged/mged.c, src/mged/setup.c, + src/mged/share.c, src/proc-db/menger.c, src/proc-db/wavy.c, + src/remrt/ihost.c, src/remrt/remrt.c, src/rt/viewarea.c, + src/util/bombardier.c, src/util/pl-dm.c: + looks like the remainder all convert to BU_ALLOC() for myriad + reasons -2012-02-09 17:26 n_reed +2013-03-20 14:41 brlcad - * [r49377] src/libbu/test_sscanf.c: - Near-identical switches on same value meant default case in - second switch could never be reached. Merged switches. CID 2078. + * [r54755] src/remrt/rtsrv.c: + looks like the pkg_queue are isolated here, and can be released + with BU_PUT -2012-02-09 14:58 erikgreenwald +2013-03-20 14:33 bob1961 - * [r49376] src/libged/red.c: - warn if attribute update filed. Cov2076 + * [r54754] src/tclscripts/archer/Archer.tcl: + Modify Archer's "p" command to call editMotionDeltaCallback or + handleObjCenter. Also altered Archer::handleObjCenter to take two + more args (i.e. _dosnap and _viewz). -2012-02-09 14:56 erikgreenwald +2013-03-20 14:23 brlcad - * [r49375] src/librt/primitives/bot/bot.c: - consider a bot with NULL for faces or vertices to be a bad import - and immediately return. Cov2080, Cov2081 + * [r54753] src/libtclcad/cmdhist_obj.c: + save to BU_PUT() here because nobody else peeks at the + bu_cmdhist_obj objects, unlike the bu_cmdhist objects -2012-02-09 14:49 erikgreenwald +2013-03-20 14:08 brlcad - * [r49374] src/anim/anim_hardtrack.c: - initialize p3. Cov 2099 + * [r54749] src/util/hex.c: + print a big number -2012-02-09 14:48 erikgreenwald +2013-03-20 14:06 brlcad - * [r49373] src/anim/anim_hardtrack.c: - initialize p2. Cov 2098 + * [r54748] src/conv/vdeck/vextern.h: + conflicting savsol type declarations (off_t vs long), so remove + the apparantly unnecessary vextern.h one and keep the vdeck.c one -2012-02-09 14:42 erikgreenwald +2013-03-20 14:04 brlcad - * [r49372] src/librt/db5_io.c: - Initialize attribute set in db5_get_attributes, even if no - attributes exist for the object (better to have a valid empty - attr set than garbage). Cov1603 + * [r54747] src/librt/shoot.c, src/librt/tol.c, src/librt/tree.c, + src/librt/vlist.c, src/librt/vshoot.c: + returned to caller or otherwised released elsewhere, so call + BU_ALLOC() -2012-02-09 14:33 indianlarry +2013-03-20 14:01 brlcad - * [r49371] src/librt/primitives/table.c: - Added "annotation" primitive stub to rt_functab[] to fix static - array overrun possibilities. Relates to Run 10 CID - 2086,2087,2088. + * [r54746] src/librt/search.c: + memory allocation cleanup. allocate the db_path_t objects with + BU_GET/PUT, but not the rest since they are returned to caller. -2012-02-09 13:59 indianlarry +2013-03-20 03:39 brlcad - * [r49370] src/util/loop.c: - Removed "-n" option wasn't being used, cleaned up 'incr' checks, - changed types and boundary checks on input scalars trying to get - rid of tainted scalar warnings from coverity but not sure it's - sufficient. Relates to Run 10 CID 1506. + * [r54745] src/librt/primitives/submodel/submodel.c: + have to BU_ALLOC() our resource structs, but we can call BU_PUT() + on the specific -2012-02-09 13:33 indianlarry +2013-03-20 03:38 brlcad - * [r49369] src/conv/step/ContextDependentShapeRepresentation.cpp, - src/conv/step/OrientedClosedShell.cpp: - Added NULL return check on dynamic cast and getEntityAttribute(). - Relates to Run 10 CID 2079 and 2084. + * [r54744] src/librt/primitives/hyp/hyp.c: + more memory allocation cleanup. another struct heap removal and + BU_PUT'ing of the _specific. -2012-02-09 13:21 indianlarry +2013-03-20 03:37 brlcad - * [r49368] src/conv/step/PullbackCurve.cpp: - Cleaned up and bounded variables used as array indexes, added - return checks on all calls to toUV(), other little cleanups. - Relates to Run 10 CID 2074, 2075 and 2085. + * [r54743] src/librt/primitives/vol/vol.c: + comment on the pointer stealing, but add some checks anyways. + also BU_PUT() the rt_vol_specific -2012-02-09 13:12 indianlarry +2013-03-20 03:36 brlcad - * [r49367] src/conv/step/Product.cpp, - src/conv/step/ProductRelatedProductCategory.cpp: - Fixed resource leak. Similar case where needed to free up list on - error exit. Relates to Run 10 CID 2089 and 2090. + * [r54742] src/librt/primitives/pipe/pipe.c: + lil bit of everything. convert allocations of individual structs + to BU_GET() and call BU_PUT accordingly to release. same for + *_specific. warrants testing. -2012-02-09 01:15 bob1961 +2013-03-20 03:34 brlcad - * [r49366] src/tclscripts/archer/Archer.tcl, - src/tclscripts/archer/ArcherCore.tcl: - Added "Do Rtedge", "Do Rtedge Overlay" and "FB Overlay Color" - preferences to Archer + * [r54741] src/librt/primitives/dsp/dsp.c: + another case where we can undo having a dsp_specific be allcoated + on the heap for calculating the bounding box. put it on the stack + and BU_PUT() the specific -2012-02-09 00:31 bob1961 +2013-03-20 03:33 brlcad - * [r49365] src/tclscripts/lib/RtControl.tcl: - Added an rtedge capability to RtControl. + * [r54740] src/librt/primitives/bot/g_bot_include.c: + follow form, BU_PUT() our bot_specific data. this really begs for + extending BU_GET() support to arrays since normals are prime + candidates for fast bucket allocations. -2012-02-08 23:10 brlcad +2013-03-20 03:30 brlcad - * [r49364] src/librt/primitives/nmg/nmg_misc.c: - jra modified nmg_find_top_face to look in more than just the z - direction in 1995, presumably lets us eliminate the 'bottommost' - cases that flip testing since it was always false. + * [r54739] src/librt/primitives/bot/bot.c: + BU_ALLOC() all of the rt_bot_list structures since they seem to + be accessed elsewhere. -2012-02-08 22:59 brlcad +2013-03-20 03:29 brlcad - * [r49363] src/rt/opt.c: - wow. the "new" nugrid spatial partitioning method actually works - and is looking to be about 10% faster for some renderings. guess - the code might actually be worth keeping around a lil while - longer afterall. + * [r54738] src/librt/primitives/nmg/nmg_fuse.c: + not destroyed locally, call BU_ALLOC() -2012-02-08 22:53 brlcad +2013-03-20 03:28 brlcad - * [r49362] src/librt/cut.c: - call bu_calloc() instead of bu_malloc() since there are several - places in the code that just access the memory assuming - zero-initialization. the nugrid spatial partitioning was getting - non-null piecelist counts due to this, fixed and working with - zero'd memory. any time impact should be negligible and during - prep + * [r54737] src/librt/primitives/nmg/nmg_tri.c: + unclear where this memory is getting or should be released, so + call BU_ALLOC() accoridngly -2012-02-08 22:15 n_reed +2013-03-20 03:27 brlcad - * [r49361] src/libbu/sscanf.c: - make lack of support for wchar_t* clear by returning error for - %lc %ls %l[ + * [r54736] src/librt/primitives/bspline/bspline.cpp, + src/librt/primitives/ebm/ebm.c, src/librt/primitives/ell/ell.c, + src/librt/primitives/epa/epa.c, src/librt/primitives/grip/grip.c, + src/librt/primitives/half/half.c, src/librt/primitives/hf/hf.c, + src/librt/primitives/metaball/metaball.c, + src/librt/primitives/nmg/nmg.c, src/librt/primitives/part/part.c, + src/librt/primitives/rec/rec.c, src/librt/primitives/rhc/rhc.c, + src/librt/primitives/superell/superell.c, + src/librt/primitives/tgc/tgc.c, src/librt/primitives/tor/tor.c: + BU_PUT() the *_specific structs since they are created/destroyed + locally behind API. -2012-02-08 22:12 brlcad +2013-03-20 03:22 brlcad - * [r49360] src/librt/cut.c: - remove dead code, no longer in sync + * [r54735] src/librt/primitives/cline/cline.c: + put the cline_specific but alloc the wdb_pipepts -2012-02-08 22:06 n_reed +2013-03-20 03:12 brlcad - * [r49359] src/libbu/sscanf.c: - Return error for C/S/q conversions, which are neither standard - nor portable. + * [r54734] src/librt/primitives/ehy/ehy.c, + src/librt/primitives/eto/eto.c, src/librt/primitives/poly/poly.c, + src/librt/primitives/revolve/revolve.c, + src/librt/primitives/rpc/rpc.c, src/librt/primitives/sph/sph.c: + BU_PUT() the *_specific structs since they are created/destroyed + locally behind API. + +2013-03-20 03:09 brlcad + + * [r54733] src/librt/primitives/extrude/extrude.c: + warrants manual testing but there's no reason to allocate a + specific structure on the heap, put on the stack and update calls + accordingly. BU_PUT() the real extrude_specific struct. + +2013-03-20 02:47 brlcad + + * [r54732] src/conv/dbupgrade.c, src/conv/intaval-g.py, + src/conv/obj-g.c, src/gtools/beset/fitness.c, + src/mged/cad_boundp.c, src/mged/cad_parea.c, + src/tclscripts/hv3/combobox.tcl, src/tclscripts/mged/lgt_mat.tcl, + src/tclscripts/vmath.tcl, src/util/bwstat.c, + src/util/dunncolor.c, src/util/gencolor.c, src/util/pix-bw3.c, + src/util/pix-spm.c, src/util/pixhist.c, src/util/pixhist3d-pl.c, + src/util/pixhist3d.c, src/util/pixmorph.c, src/util/pixstat.c: + Usage consistency + +2013-03-20 01:43 brlcad + + * [r54731] src/util/plrot.c: + convert fprintf(stderr) calls to bu_log(), use %zd for off_t (%jd + is a better fit, but untested) + +2013-03-20 01:37 brlcad + + * [r54730] NEWS: + nick added level-of-detail support to mged and archer's wireframe + infrastructure. it dynamically adjusts the wireframe detail based + on the pixel dimensions and quality parameters (samples per curve + and curve density). there's a new configuration panel to adjust + the values. + +2013-03-19 20:30 r_weiss + + * [r54729] bench/pixcmp.c, src/anim/anim_sort.c, + src/conv/asc/asc2g.c, src/conv/dxf/dxf-g.c, src/conv/fast4-g.c, + src/conv/iges/readrec.c, src/conv/nastran-g.c, + src/conv/vdeck/vdeck.c, src/fbed/char.c, src/lgt/char.c, + src/lgt/octree.c, src/libbu/parallel.c, src/libicv/rot.c, + src/librt/db_io.c, src/librt/db_scan.c, src/util/bwcrop.c, + src/util/bwrect.c, src/util/bwrot.c, src/util/bwscale.c, + src/util/hex.c, src/util/pixrect.c, src/util/pixrot.c, + src/util/pixscale.c, src/vfont/vfont.h: + Changed many data types from "long" to "off_t" to allow the + function "bu_fseek" to work correctly on Windows 64bit. + +2013-03-19 18:56 carlmoore + + * [r54728] doc/docbook/system/man1/en/bwscale.xml: + missing a > sign in the SYNOPSIS line -- do you understand what I + want to do? + +2013-03-19 18:16 n_reed + + * [r54727] src/tclscripts/lod/LODDialog.tcl, + src/tclscripts/mged/CMakeLists.txt, + src/tclscripts/mged/Makefile.am, src/tclscripts/mged/help.tcl, + src/tclscripts/mged/lodconfig.tcl, src/tclscripts/mged/openw.tcl, + src/tclscripts/mged/tclIndex: + make lod configuration dialog available from mged tool menu -2012-02-08 22:04 brlcad +2013-03-19 11:21 bob1961 - * [r49358] src/librt/cut.c: - looks like a bcopy->memcpy bug introduced in 28321. the third had - the args flipped correctly, but not the first two for some - reason. + * [r54726] src/external/ProEngineer/proe_brl.res: + New default settings for the proe-brl converter -2012-02-08 21:41 brlcad +2013-03-19 04:21 brlcad - * [r49357] src/proc-db/brepintersect.cpp: - the Triangulate() function doesn't seem to be used or very useful - in its current state. remove outright. + * [r54725] src/librt/namegen.c: + don't see a reason for having these two formatting_style structs + be on the heap. putting it on the stack takes care of the + (trivial) memory leak -2012-02-08 21:33 brlcad +2013-03-19 04:18 brlcad - * [r49356] src/proc-db/brepintersect.cpp: - looks like another & != && snafu. (cid 223) + * [r54724] src/librt/prep.c: + rtip is returned to caller, allocate with BU_ALLOC instead of + BU_GET -2012-02-08 21:32 brlcad +2013-03-19 04:15 brlcad - * [r49355] src/proc-db/spltest.c: - deadcode quellage. add some interior points (cid 224) + * [r54723] src/librt/mater.c: + alloc and free mater structs with BU_ALLOC instead of BU_GET -2012-02-08 21:30 brlcad +2013-03-19 04:14 brlcad - * [r49354] src/proc-db/surfaceintersect.cpp: - what? looks like meant &, not &&. deadcode detected cov cid 225. + * [r54722] src/librt/db_anim.c, src/librt/db_inmem.c, + src/librt/db_open.c, src/librt/db_tree.c: + pointers returned to the caller should be allocated via + BU_ALLOC/bu_*alloc so we can define consistent API, change from + BU_GET -2012-02-08 21:28 brlcad +2013-03-19 04:11 brlcad - * [r49353] src/rt/opt.c: - eliminate dead code. cannot reach EOF here because we're - while-looping until EOF. (cid 226) + * [r54721] src/librt/columnparse.c: + col_properties struct doesn't need to be on the heap -2012-02-08 21:24 brlcad +2013-03-19 04:09 brlcad - * [r49352] src/shapes/wire.c: - ahh, there are more of these buggers. simplify for cov cid 228 - and 229 DEADCODE + * [r54720] src/librt/bundle.c: + not immediately obvious where this is released, but doesn't + appear to be local -2012-02-08 21:21 brlcad +2013-03-18 19:57 r_weiss - * [r49351] src/shapes/wire.c: - looks like bad logic? should intended an '&&' but simpler to just - check the next range + * [r54719] CMakeLists.txt, include/config_win.h, + include/config_win_cmake.h.in: + Updates to cmake configuration and changes to data types to allow + the wrapper functions for functions "fseek", "lseek", "ftell", + "fstat" and "stat" to build on Windows 64bit using MSVS 2010. -2012-02-08 21:08 brlcad +2013-03-18 18:29 n_reed - * [r49350] src/sig/dfft.c: - calculate the window size based on the data buffer instead of - relying on them to sync. remove dead code detected by cov cid - 229. + * [r54718] src/tclscripts/lod/LODDialog.tcl: + make a few minor usability improvements -2012-02-08 20:58 brlcad +2013-03-18 17:11 carlmoore - * [r49349] src/tab/tabinterp.c: - looks like i>=1 was intended given the test for i==1 inside the - conditional. fixes cov cid 230. + * [r54717] src/util/bwshrink.c, src/util/pixshrink.c: + provide indentation (and, for bwshrink, change 2 occurrences of + 'pix' to 'bw' -2012-02-08 20:54 bob1961 +2013-03-18 17:10 carlmoore - * [r49348] include/tclcad.h, src/libtclcad/tclcad_obj.c: - This fixes the problem with using the framebuffer while drawing - things in shaded mode. + * [r54716] doc/docbook/system/man1/en/bwshrink.xml, + doc/docbook/system/man1/en/pixshrink.xml: + remove 'by' (had fixed 'bizarre' spelling earlier) -2012-02-08 20:53 bob1961 +2013-03-18 17:01 n_reed - * [r49347] src/libdm/dm-ogl.c, src/libdm/dm-wgl.c: - Disable GL_BLEND before leaving drawVList. + * [r54715] src/util/plrot.c: + if off_t is 64 bits then %ld is the wrong format -2012-02-08 20:52 brlcad +2013-03-18 15:15 carlmoore - * [r49346] src/vdeck/vdeck.c: - same for ell, deadcode default switch case. (cid 232) + * [r54714] src/libbu/file.c, src/util/bwrot.c: + remove trailing blanks -2012-02-08 20:49 brlcad +2013-03-15 22:26 r_weiss - * [r49345] src/vdeck/vdeck.c: - TGC is the default case and cgtype can't be anything else so - eliminate the insanity case. (cov DEADCODE cid 233) + * [r54713] bench/pixcmp.c, include/bu.h, src/anim/anim_sort.c, + src/conv/asc/asc2g.c, src/conv/conv-vg2g.c, src/conv/dxf/dxf-g.c, + src/conv/fast4-g.c, src/conv/g-acad.c, src/conv/iges/findp.c, + src/conv/iges/g-iges.c, src/conv/iges/iges.c, + src/conv/iges/readrec.c, src/conv/iges/recsize.c, + src/conv/nastran-g.c, src/conv/stl/g-stl.c, + src/conv/vdeck/vdeck.c, src/fb/bw-fb.c, src/fb/pix-fb.c, + src/fb/pp-fb.c, src/fbed/char.c, src/lgt/char.c, src/lgt/ir.c, + src/lgt/octree.c, src/libanalyze/tests/density.c, + src/libbu/file.c, src/libbu/mappedfile.c, src/libbu/parallel.c, + src/libfb/asize.c, src/libfb/fb_generic.c, src/libfb/if_X24.c, + src/libfb/if_disk.c, src/libged/bot_dump.c, src/libged/gqa.c, + src/libged/tables.c, src/libicv/rot.c, + src/librt/binunif/binunif.c, src/librt/db5_scan.c, + src/librt/db_corrupt.c, src/librt/db_io.c, src/librt/db_scan.c, + src/mged/bodyio.c, src/mged/edsol.c, src/other/jove/jove.h, + src/other/jove/jove_io.c, src/remrt/remrt.c, src/rt/do.c, + src/rt/view.c, src/rt/view_bot_faces.c, src/rttherm/viewtherm.c, + src/tab/tabsub.c, src/util/ap-pix.c, src/util/buffer.c, + src/util/bwcrop.c, src/util/bwhisteq.c, src/util/bwrect.c, + src/util/bwrot.c, src/util/bwscale.c, src/util/dpix-pix.c, + src/util/dsp_add.c, src/util/hex.c, src/util/imgdims.c, + src/util/pix-png.c, src/util/pixbustup.c, src/util/pixmorph.c, + src/util/pixrect.c, src/util/pixrot.c, src/util/pixscale.c, + src/util/plrot.c, src/vfont/getfont.c: + Created libbu wrapper functions for functions "fseek", "lseek", + "ftell", "fstat" and "stat". Made the name changes in most of the + code. I did not change the names of the functions in c++ code and + code which was not already using the libbu library. The purpose + of these wrapper functions is that these functions are very + platform specific especially for windows 64bit. These changes + build on linux. More changes and testing is needed. -2012-02-08 20:18 n_reed +2013-03-15 19:45 n_reed - * [r49344] src/libbu/sscanf.c, src/libbu/test_sscanf.c: - Changed supported vls conversions; new syntax and semantics. - Updated related tests. + * [r54712] src/libged/lod.c, src/tclscripts/archer/LODUtility.tcl, + src/tclscripts/lod/LODDialog.tcl: + initialize lod dialog with current state -2012-02-08 19:51 brlcad +2013-03-15 16:04 n_reed - * [r49343] src/libged/analyze.c, src/libged/autoview.c, - src/libged/bot_dump.c, src/libged/dg_obj.c, src/libged/draw.c, - src/libged/edit.c, src/libged/edpipe.c, src/libged/exists.c, - src/libged/importFg4Section.c, src/libged/loadview.c, - src/libged/ls.c, src/libged/nmg_simplify.c, src/libged/plot.c, - src/libged/png.c, src/libged/ps.c, src/libged/rcodes.c, - src/libged/report.c, src/libged/saveview.c, src/libged/tree.c, - src/libged/wdb_obj.c: - eliminate trailing ws, empty lines + * [r54711] src/libtclcad/tclcad_obj.c: + update view dimension info on zoom -2012-02-08 19:49 brlcad +2013-03-15 15:54 n_reed - * [r49342] src/libged/nmg_simplify.c: - remove the hack since it's a non-fix when a feature gets removed. - otherwise, r48606 should get reverted. (cov DEADCODE cid 2067) + * [r54710] src/tclscripts/lod/LODDialog.tcl: + forgot to initialize variable -2012-02-08 19:29 brlcad +2013-03-15 15:06 carlmoore - * [r49341] src/fbed/fbed.c: - looks like a false positive, assuming the default case is - reasonable for EOF, but it's still probably quellable. fix for - CHECKED_RETURN cid 2071. + * [r54709] src/libged/tire.c: + use a capital U -2012-02-08 19:17 bob1961 +2013-03-14 23:10 brlcad - * [r49340] src/librt/globals.c: - Add more commands to rt_vlist_cmd_descriptions[] + * [r54708] src/liboptical/sh_treetherm.c: + save then commit, BU_PUT -2012-02-08 19:17 brlcad +2013-03-14 21:28 brlcad - * [r49339] src/libgcv/wfobj/obj_grammar.yy, - src/libgcv/wfobj/obj_parser.cpp, src/libgcv/wfobj/obj_parser.h, - src/libgcv/wfobj/obj_parser_state.h, - src/libgcv/wfobj/obj_rules.h, src/libgcv/wfobj/tri_face.c: - eliminate trailing ws + * [r54707] src/libpc/pc_main.c: + use libbu for memory management and call BU_PUT() accordingly for + BU_GET() items. -2012-02-08 19:15 brlcad +2013-03-14 21:21 n_reed - * [r49338] src/libgcv/wfobj/obj_grammar.yy, - src/libgcv/wfobj/obj_parser.cpp, - src/libgcv/wfobj/obj_parser_state.h, - src/libgcv/wfobj/obj_rules.h, src/libgcv/wfobj/obj_rules.l: - rename the arl::obj_parser::detail namespaces to cad::gcv::obj - for better generality, simplicity, and (hopefully) improved - clarity + * [r54706] src/tclscripts/lod/LODDialog.tcl: + add a checkbutton for toggling live update -2012-02-08 18:47 n_reed +2013-03-14 20:57 n_reed - * [r49337] src/libgcv/wfobj/obj_parser.cpp: - wrap bu_malloc and bu_free so lemon can use them + * [r54705] src/libtclcad/tclcad_obj.c: + extend archer support for lod 'redraw on zoom' to zoom command + (affects +/- key zoom and scrollwheel zoom) -2012-02-08 14:57 erikgreenwald +2013-03-14 20:28 n_reed - * [r49336] src/libbn/bntester.c: - Change usage to #define to prevent "format not a string literal - and no format arguments" warning. + * [r54704] src/tclscripts/archer/LODUtility.tcl, + src/tclscripts/lod/LODDialog.tcl: + implement lod dialog widget callbacks -2012-02-08 14:54 erikgreenwald +2013-03-14 20:15 carlmoore - * [r49335] src/libbn/mat.c: - change mat.clf to mat.cg on bad input info bu_logs (%lf is not - c90) + * [r54703] doc/docbook/system/man1/en/bwmod.xml, src/util/bwrect.c: + change capital T to small t (part of longer sentence) and try NOT + to underscore a period -2012-02-08 14:51 erikgreenwald +2013-03-14 19:09 brlcad - * [r49334] src/libbu/parse.c, src/libbu/ptbl.c, - src/libbu/rb_delete.c, src/libbu/rb_diag.c, - src/libbu/rb_insert.c, src/libbu/rb_order_stats.c, - src/libbu/rb_rotate.c: - quell format warnings + * [r54702] src/liboptical/photonmap.c, src/liboptical/sh_air.c, + src/liboptical/sh_billboard.c, src/liboptical/sh_brdf.c, + src/liboptical/sh_camo.c, src/liboptical/sh_cloud.c, + src/liboptical/sh_cook.c, src/liboptical/sh_fbm.c, + src/liboptical/sh_fire.c, src/liboptical/sh_flat.c, + src/liboptical/sh_gauss.c, src/liboptical/sh_grass.c, + src/liboptical/sh_light.c, src/liboptical/sh_noise.c, + src/liboptical/sh_osl.cpp, src/liboptical/sh_plastic.c, + src/liboptical/sh_points.c, src/liboptical/sh_prj.c, + src/liboptical/sh_rtrans.c, src/liboptical/sh_scloud.c, + src/liboptical/sh_spm.c, src/liboptical/sh_stack.c, + src/liboptical/sh_stxt.c, src/liboptical/sh_tcl.c, + src/liboptical/sh_text.c, src/liboptical/sh_toon.c, + src/liboptical/sh_toyota.c, src/liboptical/sh_wood.c, + src/liboptical/sh_xxx.c: + looks like we can cleanly pool all of the shader specific + allocations, so convert their releases to BU_PUT(). curious to + see if this makes any blip on prep performance when there are + lots of objects/shaders. + +2013-03-14 18:42 brlcad + + * [r54701] src/libmultispectral/sh_temp.c: + convert freeing of the specific to BU_PUT() and clean up + formatting -2012-02-08 13:41 erikgreenwald +2013-03-14 18:41 brlcad - * [r49333] src/liboptical/sh_toyota.c: - add missing parameter to bu_log. Clean up air_mass() a little. + * [r54700] src/libged/track.c, src/libged/vdraw.c, + src/libged/view_obj.c, src/libged/wdb_bigE.c, + src/libged/wdb_nirt.c, src/libged/wdb_obj.c, + src/libged/wdb_track.c, src/libged/wdb_vdraw.c, + src/libged/which.c: + convert to BU_PUT() where we call BU_GET(), except punt on the + old wdb_ routines where this just convert them to BU_ALLOC(). -2012-02-08 13:38 erikgreenwald +2013-03-14 18:30 brlcad - * [r49332] src/liboptical/sh_toyota.c: - test for double overflow, return DBL_MAX if coeff does overflow. - Cov328 + * [r54699] src/libged/simulate/simrt.c: + ws indent style cleanup -2012-02-08 13:32 erikgreenwald +2013-03-14 18:29 n_reed - * [r49331] src/conv/ply-g.c: - massage double through floor() and cast instead of blindly - assigning to int. Cov326 (I hope) + * [r54698] src/archer/CMakeLists.txt, + src/archer/plugins/Utility/Makefile.am, + src/archer/plugins/Utility/lodUtilityP, + src/archer/plugins/Utility/lodUtilityP.tcl, + src/archer/plugins/Utility/lodUtilityP/LODUtilityP.tcl, + src/archer/plugins/Utility/lodUtilityP/Makefile.am, + src/libtclcad/tclcadAutoPath.c, src/tclscripts/CMakeLists.txt, + src/tclscripts/Makefile.am, src/tclscripts/archer/CMakeLists.txt, + src/tclscripts/archer/LODUtility.tcl, + src/tclscripts/archer/Makefile.am, + src/tclscripts/archer/tclIndex, src/tclscripts/lod, + src/tclscripts/lod/CMakeLists.txt, + src/tclscripts/lod/LODDialog.tcl, src/tclscripts/lod/Makefile.am, + src/tclscripts/lod/tclIndex: + add an LOD configuration dialog (hooks not yet implemented) and + plug it in as an Archer utility -2012-02-08 13:27 erikgreenwald +2013-03-14 18:24 brlcad - * [r49330] src/conv/ply-g.c: - test for overflow, return DBL_MAX if an overflow on double - occurs. Cov325 + * [r54697] src/libged/search.c: + these are released within the depths of librt so call BU_ALLOC() -2012-02-08 13:02 erikgreenwald +2013-03-14 18:22 brlcad - * [r49329] src/libged/wdb_obj.c: - check return value of db_delete. Cov2072 + * [r54696] src/libged/rtwizard.c: + no benefit to the explicit init since they go out of scope, call + BU_VLS_INIT_ZERO -2012-02-08 12:57 erikgreenwald +2013-03-14 18:16 brlcad - * [r49328] src/libged/xpush.c: - check return value of db_delete. Cov2072 + * [r54695] src/libged/rmap.c, src/libged/rt.c, + src/libged/rtcheck.c, src/libged/rtwizard.c: + pair BU_PUT() with BU_GET() calls where we can -2012-02-08 12:54 erikgreenwald +2013-03-14 17:22 brlcad - * [r49327] src/libged/dg_obj.c: - only close fdout if it's been opened. Cov2073 + * [r54694] NEWS: + helped a navy user (roles) with a fastgen patch file conversion + that uncovered a variety of issues that have been improved upon + in patch-g. the tool would cryptically fail if the file wasn't + (unnecessarily) read/write. it also had numerous hard-coded + limits (like 500 materials, 1500 of this, 1000 of that) that + would cause memory corruption and cascading bad behavior. limits + increased nearly two orders of magnitude, but still hard-coded + for now since that requires a lot more data and testing to + implement safely. -2012-02-08 07:45 brlcad +2013-03-14 17:15 brlcad - * [r49326] regress/repository.sh: - now that they're all fixed or accounted for, go ahead and make - any future additions that are supposed to be avoided fail - regression + * [r54693] src/conv/patch/patch-g.c, src/conv/patch/patch-g.h: + convert the two remaining affarys to heap allocations and + document roughly how much memory we're allocating as a hard-coded + limit. -2012-02-08 07:43 brlcad +2013-03-14 16:45 brlcad - * [r49325] src/libbu/parse.c: - replace call to strncpy() with call to bu_vls_strncpy(). - simplifies the code some since we can just let the bu func do the - nul-termination and heap copy for us. + * [r54692] src/conv/patch/patch-g.c, src/conv/patch/patch-g.h: + change several of the arrays from being global allocations to + getting allocated dynamically on the heap. not the best, but + slightly better memory-management and debugging properties. also + make usage dynamic and give the user some feedback that the tool + did anything. -2012-02-08 07:33 brlcad +2013-03-14 16:09 brlcad - * [r49324] src/libbu/vls.c: - use a bu_vls string instead of a fixed-size buffer for the format - string. this allows us to simplify the code some since we don't - need to nul-terminate the string (due to bu_vls_strncpy()) and we - don't have to worry about the buffer limit. + * [r54691] src/conv/patch/patch-g.c, src/conv/patch/patch-g.h, + src/conv/patch/pull_comp.sh, src/conv/patch/rpatch.c: + source style ws consistency cleanup -2012-02-08 07:30 brlcad +2013-03-14 16:01 brlcad - * [r49323] regress/repository.sh: - db.h uses strncpy() in NAMEMOVE() and memcpy() is usually slower - so leave it be for now. also vls.c uses strncpy as an alternative - to strlcpy() for platforms that don't provide it. + * [r54690] src/conv/patch/patch-g.c: + comment on at least two places where the tool is assuming unix + line endings -2012-02-08 07:05 brlcad +2013-03-14 16:00 brlcad - * [r49322] src/libged/putmat.c: - replace fixed-size name1/name2 char buffers to be bu_vls strings. - avoids the direct stncpy() command and has better bounds checking - and nul termination. + * [r54689] TODO: + patch-g was observed to be misbehaving on windows when given + files with unexpected line endings. should be going through + bu_fgets() consistently to be portable/flexible. -2012-02-07 23:56 starseeker +2013-03-14 15:43 brlcad - * [r49321] src/other/incrTcl/itk/CMakeLists.txt, - src/other/libregex/CMakeLists.txt, - src/other/libtermlib/CMakeLists.txt, - src/other/libutahrle/CMakeLists.txt, - src/other/openNURBS/CMakeLists.txt, - src/other/sqlite3/tcl/CMakeLists.txt, - src/other/step/CMake/SCL_Utils.cmake, - src/other/tcl/CMakeLists.txt, src/other/tk/CMakeLists.txt, - src/other/tkhtml/CMakeLists.txt, src/other/tkpng/CMakeLists.txt, - src/other/tktable/CMakeLists.txt, src/other/togl/CMakeLists.txt, - src/other/togl/src/CMakeLists.txt: - Hopefully this will get things cleaned up on Windows again. - Untested. - -2012-02-07 21:58 starseeker - - * [r49320] misc/CMake/TCL_PKGINDEX.cmake, src/adrt/CMakeLists.txt, - src/liboptical/CMakeLists.txt, src/mged/points/CMakeLists.txt, - src/other/CMakeLists.txt, src/other/clipper/CMakeLists.txt, - src/other/incrTcl/itcl/CMakeLists.txt: - Thank you Windows for tremendously complicating life. The - add_library command puts out two files on Windows - a .dll and a - .lib - the dll goes into the executable directory and the lib - goes in the library directory. That means on Windows and only on - Windows, the pkgIndex.tcl scripts are going to have to know to - look in a different path. This was hidden earlier by setting - LIB_DIR to bin, but since we don't want to do that any more we - can no longer ignore the problem. Will take a fair bit of work to - get this right - all the src/other logic dealing with Tcl will - have to be updated. - -2012-02-07 20:54 starseeker - - * [r49319] misc/CMake/BRLCAD_Util.cmake: - We may need all three specific options to install to do the - 'right thing' with MSVC and libraries - per - http://www.cmake.org/Wiki/CMake:Install_Commands - -2012-02-07 20:25 bob1961 - - * [r49318] include/tclcad.h: - Change the signature of cho_open_tcl to match what's in - libtclcad. + * [r54688] src/conv/patch/patch-g.c: + fix a bug where we try to open the patch file with read/write + perms for ug and read perms for o. this caused a cryptic unable + to open patchfile message when a file was clearly readable. -2012-02-07 20:24 bob1961 +2013-03-14 15:42 brlcad - * [r49317] src/libtclcad/cmdhist_obj.c: - Need to include tclcad.h. + * [r54687] src/conv/patch/patch-g.h: + very easy to blow out 16 characters when we put object and + grouping counts into the name. jack it up to 256 (10 times what + was recently encountered). -2012-02-07 20:01 n_reed +2013-03-14 15:31 brlcad - * [r49316] src/libbu/test_sscanf.c: - Using too many macros. Replace some with equivalent functions. + * [r54686] src/conv/patch/patch-g.c, src/conv/patch/patch-g.h: + increase the processing limits on FASTGEN patch files + substantially. a large file was encountered that exceeded several + of these lame hard limits. simplify their setting and the moment + by just making them all be bigger than they were (20k) and so + there's only a single limit we need to concern ourselves with. -2012-02-07 19:28 n_reed +2013-03-14 15:27 brlcad - * [r49315] src/libbu/test_sscanf.c: - remember to free vls memory + * [r54685] include/bu.h: + compelled to be consistent with the API. if we provide an alloc + wrapper, we should provide a counterpart free wrapper. unlike + bu_free(), has the nice property of being able to set the pointer + to NULL. -2012-02-07 19:20 n_reed +2013-03-14 14:59 brlcad - * [r49314] src/libbu/sscanf.c: - simplify/optimize read loop for vls conversions + * [r54684] include/vmath.h: + simplify, a define shouldn't be harmful/recognized on non-WIN32 + and we don't want platform checks anyways -2012-02-07 17:10 brlcad +2013-03-14 14:22 bob1961 - * [r49313] src/librt/primitives/nmg/nmg_fuse.c: - since ending up with zero edges during fuse implies something - else is wrong upstream in the logic, revert r48049 that was - supposed to just be a performance enhancement. since performance - wasn't quantified, it's not worth investigating without knowing - more details on the structure of this change. + * [r54683] include/brep.h: + Change NURBS_DLL_EXPORTS to BREP_DLL_EXPORTS. -2012-02-07 16:30 brlcad +2013-03-14 13:49 bob1961 - * [r49312] src/librt/primitives/nmg/nmg_fuse.c: - if there are zero edges, don't alloc an edge list for it. implies - something else is wrong upstream. + * [r54682] src/libtclcad/tclcad_obj.c: + Add MouseWheel bindings for display window zoom. -2012-02-07 09:59 brlcad +2013-03-14 13:14 starseeker - * [r49311] regress/nirt.sh: - sometimes for parallel builds, regress-nirt is often ending up - running in silent mode causing regression differences and - failure. adding the -v flag should override the tty and input - detection in case it's some fs timing issue. + * [r54681] include/brep.h: + Export keys off of library name. -2012-02-07 09:47 brlcad +2013-03-14 12:40 indianlarry - * [r49310] src/libbu/vls.c: - looks like an instance that will convert cleanly to bu_strlcpy() - from strncpy() since we know the buffer size + * [r54680] src/other/poly2tri/poly2tri/common/utils.cc, + src/other/poly2tri/poly2tri/sweep/sweep.cc: + Added "_USE_MATH_DEFINES" define to get M_PI definition from + math.h under visual studio. Also added missing copyright to + utils.cc. -2012-02-07 09:45 brlcad +2013-03-14 05:38 brlcad - * [r49309] src/mged/mged.c: - bu_strlcpy() instead of strncpy()+null since strlcpy always - ensures null-terminations + * [r54679] src/libged/typein.c, src/librt/primitives/pnts/pnts.c: + allocate point containers consistently with BU_ALLOC -2012-02-07 09:45 brlcad +2013-03-14 05:29 brlcad - * [r49308] include/db.h: - precede comment with warning, not after it + * [r54678] src/libged/make.c, src/libged/make_pnts.c, + src/libged/nirt.c, src/libged/push.c, src/libged/put_comb.c: + more conversions to BU_ALLOC() or BU_PUT() where feasible -2012-02-07 09:43 brlcad +2013-03-14 05:28 brlcad - * [r49307] src/adrt/load_g.c, src/adrt/master/master.c, - src/adrt/master/tienet_master.c, src/adrt/slave/slave.c, - src/conv/3dm/3dm-g.cpp: - convert strncpy() to bu_strlcpy() for safety/consistency + * [r54677] src/libbu/list.c: + damn type aliasing. looks like some elements are released through + an aliased type so we cannot rely on BU_PUT for deallocation. -2012-02-07 09:40 brlcad +2013-03-14 05:00 brlcad - * [r49306] src/conv/dem-g.c: - use the buffer size, not the string size, remove unnecessary - comment + * [r54676] src/libged/joint.c: + sync BU_PUT with respective BU_GET calls, except for animate + structs since they get added to directory pointers and may be + released by librt. convert bu_vls off the heap, put on the stack + (should unleak memory too) -2012-02-07 09:39 brlcad +2013-03-14 04:59 brlcad - * [r49305] regress/repository.sh: - libcursor is dependency-free too, so ignore its use + * [r54675] src/libged/ged.c: + dbip are returned to callers, so be consistent with librt and + allocate via BU_ALLOC -2012-02-07 09:29 brlcad +2013-03-13 20:28 n_reed - * [r49304] src/libbn/bntester.c: - make the input and output file names be bu_vls strings, call - bu_strlcpy() on the format buffer + * [r54674] src/libtclcad/tclcad_obj.c, + src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl, src/tclscripts/lib/Ged.tcl: + make lod command available in archer -2012-02-07 09:24 brlcad +2013-03-13 18:57 n_reed - * [r49303] src/librt/primitives/ell/ell.c: - commented out, but it looks like it's a vls now + * [r54673] src/mged/chgview.c, src/mged/dm-generic.c, + src/mged/mged_dm.h, src/mged/set.c, src/mged/setup.c: + use lod in mged via lod command rather than mged variable -2012-02-07 09:23 brlcad +2013-03-13 18:37 n_reed - * [r49302] src/nirt/nirt.c: - they can both be bu_strlcpy() + * [r54672] src/libtclcad/tclcad_obj.c, src/mged/attach.c: + initialize lod scale factors -2012-02-07 09:23 brlcad +2013-03-13 18:15 n_reed - * [r49301] src/librt/comb/db_comb.c: - another strncpy()-to-memcpy() conversion since we're dealing with - a memory buffer instead of a string. + * [r54671] src/tclscripts/archer/Archer.tcl: + need to make sure wflag always exists if we're going to test it -2012-02-07 09:21 brlcad +2013-03-13 18:12 carlmoore - * [r49300] regress/repository.sh: - ttcp is standalone, so is exempt + * [r54670] src/util/bwhist.c: + capital U -2012-02-07 09:07 brlcad +2013-03-13 17:35 n_reed - * [r49299] src/librt/comb/db_comb.c: - rewicker logic to avoid strncpy()/strncat() altogether. it's a - memory buffer being read from, so just call memcpy. also, there - was no apparent reason for a buffer size of 94, so increase it to - an 'even' 128. this is nearly double what is needed (32+32+2) so - there should be plenty of nul termination trailing. + * [r54669] src/libged/lod.c: + don't return error when no arguments are given -2012-02-07 09:02 brlcad +2013-03-13 16:43 n_reed - * [r49298] regress/repository.sh: - ignore bu.h altogether since it's where all of these functions - are wrapped/replaced and commented on. + * [r54668] src/librt/primitives/arb8/arb8.c, + src/librt/primitives/table.c: + declare rt_arb_adaptive_plot a failed experiment and remove it -2012-02-07 08:52 brlcad +2013-03-13 16:21 n_reed - * [r49297] src/nirt/if.c: - fix typo + * [r54667] include/ged.h, src/libged/CMakeLists.txt, + src/libged/Makefile.am, src/libged/draw.c, src/libged/lod.c: + add lod command for controlling lod drawing behavior -2012-02-07 08:51 brlcad +2013-03-13 16:15 bob1961 - * [r49296] src/nirt/if.c: - we're looping over partitions so we do need to add in - bu_vls_trunc() calls that were implied with the prior - bu_vls_init() calls. regression detected badness, lick skippy. + * [r54666] src/tclscripts/archer/CombEditFrame.tcl: + Archer's comb edit panel now updates the tree after an edit. -2012-02-07 08:20 brlcad +2013-03-13 16:12 bob1961 - * [r49295] src/libged/nirt.c: - trunc is unnecessary before strcpy + * [r54665] src/librt/db_tree.c: + Update db_tree_parse() to allow the use of '+' in addition to 'n' + when indicating intersection. -2012-02-07 08:03 brlcad +2013-03-13 15:01 bob1961 - * [r49294] src/libged/red.c: - looks like the code merely got lucky before if the edit name got - wiped out. empty string doesn't mean edit the original, it's - ill-defined, so it should fall through and do nothing. + * [r54664] src/tclscripts/archer/CombEditFrame.tcl: + Removed a bit of old code. -2012-02-07 07:27 brlcad +2013-03-13 14:53 brlcad - * [r49293] src/libbu/test_vls.c: - exercise bu_vls_strlen() too, compare with strlen() + * [r54663] src/libged/wdb_bigE.c: + a variable named 'str' should be a zinger red flag that it's + probably not an int. function had wrong type arg. -2012-02-07 06:42 brlcad +2013-03-13 14:49 bob1961 - * [r49292] src/libged/analyze.c: - bu_strlcat() instead of strcat() for safety + * [r54662] src/tclscripts/archer/CombEditFrame.tcl: + Updated CombEditFrame::validateTableEntry to be more flexible in + its recognition of doubles. Also, removed menu entries for + deleting and creating members. -2012-02-07 06:41 brlcad +2013-03-13 14:47 brlcad - * [r49291] src/conv/dem-g.c: - no need for the filepaths to be heap-allocated. make them vls - strings on the stack instead with just one fall-through cleanup - section for improved maintainability. + * [r54661] src/libbu/heap.c: + we can use %zd for size_t's if we go through bu_log() -2012-02-07 05:00 brlcad +2013-03-13 14:21 brlcad - * [r49290] src/conv/step/schema.cc: - interclass interface headers always come first in c++, include - bu.h after schema.h (this file will get reverted later when scl - sources are updated) + * [r54660] src/util/bwdiff.c: + the need to redirect output should be in the usage synopsis, not + explained -2012-02-07 04:59 brlcad +2013-03-13 12:39 bob1961 - * [r49289] src/adrt/master/master.c, src/adrt/slave/slave.c: - use bu_getopt() instead of getopt() since ours is a portable - re-entrant version + * [r54659] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl: + If the LOD setting changes in Archer, redraw everything. -2012-02-07 04:56 brlcad +2013-03-13 12:27 bob1961 - * [r49288] src/external/Cubit/g-sat.cpp: - use libbu option parsing API for portability + * [r54658] src/tclscripts/archer/Arb4EditFrame.tcl, + src/tclscripts/archer/Arb5EditFrame.tcl, + src/tclscripts/archer/Arb6EditFrame.tcl, + src/tclscripts/archer/Arb7EditFrame.tcl, + src/tclscripts/archer/Arb8EditFrame.tcl, + src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl, + src/tclscripts/archer/BotEditFrame.tcl, + src/tclscripts/archer/EhyEditFrame.tcl, + src/tclscripts/archer/EllEditFrame.tcl, + src/tclscripts/archer/EpaEditFrame.tcl, + src/tclscripts/archer/EtoEditFrame.tcl, + src/tclscripts/archer/ExtrudeEditFrame.tcl, + src/tclscripts/archer/GeometryEditFrame.tcl, + src/tclscripts/archer/HypEditFrame.tcl, + src/tclscripts/archer/PartEditFrame.tcl, + src/tclscripts/archer/PipeEditFrame.tcl, + src/tclscripts/archer/RhcEditFrame.tcl, + src/tclscripts/archer/RpcEditFrame.tcl, + src/tclscripts/archer/SketchEditFrame.tcl, + src/tclscripts/archer/TgcEditFrame.tcl, + src/tclscripts/archer/TorusEditFrame.tcl: + Updates to initEditState for the primitive edit panels to + initialize bits of edit state when the edit mode is null. -2012-02-07 04:56 brlcad +2013-03-13 03:36 brlcad - * [r49287] regress/repository.sh: - sort, ignore dirname in bu.h too + * [r54656] src/libged/get_obj_bounds.c: + looks like soltab should work just fine on the stack -2012-02-07 04:50 brlcad +2013-03-13 03:32 brlcad - * [r49286] src/libgcv/wfobj/obj_parser.cpp: - call bu_bomb() instead of directly calling abort() for all of - this generic exception handling. reasonable to not expose callers - to c++ exceptions, but there should be some way to recover on - such errors. + * [r54655] src/libged/draw.c, src/libged/edit.c: + convert allocations to BU_ALLOC -2012-02-07 04:43 brlcad +2013-03-13 03:31 brlcad - * [r49285] src/conv/dxf/bot-bldxf.c: - exit instead of dump. + * [r54654] src/libged/edpipe.c: + looks like it's safe to call BU_GET() here, so convert free to + BU_PUT(). -2012-02-07 04:42 brlcad +2013-03-13 03:21 brlcad - * [r49284] src/remrt/rtsrv.c: - stupid bu_bomb() override .. must die, but for now kill the - abort(). + * [r54653] src/libged/draw.c: + doesn't seem necessary for struct _ged_client_data to be on the + heap here. put it on the stack. -2012-02-07 04:41 brlcad +2013-03-13 03:21 brlcad - * [r49283] src/external/Cubit/g-sat.cpp: - if I recall correctly, the abort was added in leu of fixing an - uninspected crash-on-exit bug. take out the hack. + * [r54652] src/libged/dg_obj.c: + BU_ALLOC instead of BU_GET -2012-02-07 04:40 brlcad +2013-03-13 03:11 brlcad - * [r49282] src/conv/asc/asc2g.c, src/lgt/error.c, - src/util/bwscale.c: - no clear reason why a potential core dump is warranted or useful - here. just exit. + * [r54651] src/libged/copymat.c: + not clear what struct animate is being used for here, but also + looks like a memory leak and unnecessarily on the heap. put it on + the stack. -2012-02-07 04:39 brlcad +2013-03-13 02:50 brlcad - * [r49281] src/fb/pl-fb.c, src/remrt/remrt.c: - BU_CKMAG instead of the duplicitious CHECK_IT/CK_STROKE macros. - consistency. + * [r54650] src/libged/bot_merge.c, src/libged/importFg4Section.c, + src/libged/make.c, src/libged/nmg_simplify.c, + src/libged/put_comb.c, src/libged/red.c, src/libged/track.c, + src/libged/typein.c, src/libged/wdb_bigE.c, + src/libged/wdb_comb_std.c, src/libged/wdb_importFg4Section.c, + src/libged/wdb_obj.c, src/libged/wdb_track.c, + src/liboptical/sh_gauss.c, src/librt/bbox.c, + src/librt/binunif/binunif.c, src/librt/comb/db_comb.c, + src/librt/primitives/bot/bot.c, + src/librt/primitives/brep/brep_debug.cpp, + src/librt/primitives/dsp/dsp.c, src/librt/primitives/hf/hf.c, + src/librt/primitives/poly/poly.c, + src/librt/primitives/superell/superell_brep.cpp, + src/libwdb/arbn.c, src/libwdb/ars.c, src/libwdb/bot.c, + src/libwdb/brep.cpp, src/libwdb/cline.c, src/libwdb/constraint.c, + src/libwdb/dsp.c, src/libwdb/ebm.c, src/libwdb/extrude.c, + src/libwdb/nurb.c, src/libwdb/pipe.c, src/libwdb/reg.c, + src/libwdb/submodel.c, src/libwdb/vol.c, src/libwdb/wdb.c, + src/mged/track.c, src/proc-db/metaball.c: + convert all of the rt_*internal allocations to BU_ALLOC() since + they're nearly all released during wdb_export() or otherwise + destined for bu_free() -2012-02-07 04:33 brlcad +2013-03-13 02:43 brlcad - * [r49280] src/tab/scriptsort.c: - BU_CKMAG for magic number checking consistency + * [r54648] src/libged/arb.c, src/libged/bigE.c, src/libged/brep.c, + src/libged/color.c, src/libged/comb.c, src/libged/comb_std.c, + src/libged/wdb_track.c: + call BU_ALLOC where the memory release is not nearby/obvious/here -2012-02-07 04:31 brlcad +2013-03-13 02:35 brlcad - * [r49279] src/libbn/noise.c: - unreachable code since bu memory guarantees non-null return + * [r54647] src/libged/bot_dump.c: + put _ged_bot_dump_client_data on the stack so we don't have to + heap-allocate -2012-02-07 04:21 brlcad +2013-03-13 02:15 brlcad - * [r49278] src/librt/CMakeLists.txt, src/librt/Makefile.am, - src/librt/pmalloc.c: - remove the antiquated princeton memory allocater. this was a - multithreading-optimized/customized (by jra) version that used - the resource structure for managing allocations. while a nice - optimization, the code has not been in production use for nearly - two decades (ever?) and a maintenance cost has reared head. + * [r54646] src/libbu/temp.c: + wrong BU_PUT syntax, takes the type -2012-02-07 04:19 brlcad +2013-03-13 02:04 brlcad - * [r49277] src/librt/dspline.c: - don't call abort(). it's not library's responsibility to bring - down the application. make case insensitive while we're at it. + * [r54645] src/conv/dxf/dxf-g.c: + ws cleanup plus one vls get/put conversion -2012-02-07 04:18 brlcad +2013-03-13 02:00 brlcad - * [r49276] src/fbed/fbed.c: - call bu_bomb() instead of abort() so it can be a catchable event - with a potential debug trace. + * [r54644] include/bu.h: + similar do/while syntax to avoid having stray semicolons -2012-02-07 04:12 brlcad +2013-03-13 01:41 brlcad - * [r49275] src/librt/primitives/nmg/nmg_tri.c: - don't call abort(). it's not library's responsibility to bring - down the application. + * [r54643] src/libfb/fb_obj.c, src/libgcv/region_end.c, + src/libged/bev.c, src/libged/bigE.c, src/libged/comb_std.c, + src/libged/combmem.c, src/libged/facetize.c, src/libged/joint.c, + src/libged/put_comb.c, src/libged/red.c, src/libged/track.c, + src/libged/wdb_bigE.c, src/libged/wdb_comb_std.c, + src/libged/wdb_obj.c, src/libged/wdb_track.c, src/librt/cut.c, + src/librt/primitives/brep/brep_debug.cpp, + src/libwdb/dynamic_geometry.c, src/libwdb/reg.c, + src/mged/dodraw.c: + convert all the calls to BU_GET() a union tree to BU_ALLOC() + calls since they are free'd variably by the caller. -2012-02-07 04:11 brlcad +2013-03-12 19:26 carlmoore - * [r49274] regress/repository.sh: - match file names more carefully on the exemption list + * [r54641] src/util/bwfilter.c: + switch 2 items in 'Possible arguments' message -2012-02-07 04:08 brlcad +2013-03-12 18:58 carlmoore - * [r49273] include/fb.h, include/fbio.h: - get rid of FB_CKMAG. since bu is an fb dep, we can just use - BU_CKMAG. + * [r54640] src/libbu/heap.c, src/libbu/parse.c, + src/libged/wdb_bigE.c, src/liboptical/sh_grass.c: + fix format specifications to remove warnings -2012-02-07 04:00 brlcad +2013-03-12 18:57 carlmoore - * [r49272] include/fb.h: - the complexity is just not worth it for magic number checking. - pass FB_CKMAG through to BU_CKMAG. + * [r54639] src/liboptical/sh_treetherm.c: + fix warnings by adding a comma -2012-02-07 03:56 brlcad +2013-03-12 18:02 carlmoore - * [r49271] src/conv/iges/n_iges.cpp, src/conv/intaval/regtab.cpp, - src/libbn/bntester.c: - update calls to fgets() to bu_fgets(), which has proper cr/nl - awareness important for portable file reading + * [r54638] src/util/bwdiff.c: + add note about needing to capture stdout in a file -2012-02-07 03:52 brlcad +2013-03-12 16:58 brlcad - * [r49270] src/adrt/librender/camera.c, src/anim/anim_sort.c, - src/anim/chan_permute.c, src/conv/asc/asc2g.c, - src/conv/asc/g2asc.c, src/conv/comgeom/solid.c, - src/conv/dxf/dxf-g.c, src/conv/enf-g.c, src/conv/fast4-g.c, - src/conv/g-vrml.c, src/conv/g-x3d.c, src/conv/iges/g-iges.c, - src/conv/iges/get_att.c, src/conv/iges/iges.c, - src/conv/nastran-g.c, src/conv/ply-g.c, src/conv/proe-g.c, - src/conv/stl/stl-g.c, src/external/Unigraphics/ug-g.c, - src/fb/fbpoint.c, src/fb/gif-fb.c, src/fb/pp-fb.c, - src/gtools/g_diff.c, src/lgt/lgt.h, src/lgt/mat_db.c, - src/lgt/reflect.c, src/libbu/backtrace.c, src/libbu/parallel.c, - src/libbu/parse.c, src/libbu/vls.c, src/libdm/dm-rtgl.c, - src/libfb/fb_generic.c, src/libfb/if_X.c, src/libfb/if_X24.c, - src/libfb/if_mem.c, src/libfb/if_ogl.c, src/libfb/if_stack.c, - src/libfb/if_wgl.c, src/libfb/tcl.c, src/libged/bot.c, - src/libged/get_obj_bounds.c, src/libged/gqa.c, - src/libged/importFg4Section.c, src/libged/keep.c, - src/libged/loadview.c, src/libged/mater.c, - src/libged/nmg_simplify.c, src/libged/preview.c, - src/libged/saveview.c, src/libged/typein.c, src/libged/vdraw.c, - src/libged/wdb_importFg4Section.c, src/libged/wdb_obj.c, - src/libged/wdb_vdraw.c, src/libicv/fileformat.c, - src/liboptical/sh_prj.c, src/liboptical/sh_text.c, - src/liboptical/sh_toyota.c, src/librt/dspline.c, - src/librt/primitives/bot/bot.c, - src/librt/primitives/metaball/metaball.c, src/librt/tcl.c, - src/mged/attach.c, src/mged/edarb.c, src/mged/rtif.c, - src/mged/update.c, src/nirt/command.c, src/nirt/interact.c, - src/nirt/nirt.c, src/nirt/parse_fmt.c, src/nirt/read_mat.c, - src/proc-db/sphflake.c, src/proc-db/tube.c, src/remrt/remrt.c, - src/rt/do.c, src/rt/view_bot_faces.c, src/util/bombardier.c, - src/util/bwfilter.c, src/util/gencolor.c, src/util/pix3filter.c, - src/util/pixfilter.c: - replace calls to strncmp() with calls to bu_strncmp(). exact same - behavior -- in fact, a pass-through -- for non-null pointers. for - null pointers, we should get stable behavior instead of crashing - inside the depths of a strlen or strncmp() itself. + * [r54637] src/libdm/dm-X.c, src/libdm/dm-generic.c, + src/libdm/dm-ogl.c, src/libdm/dm-plot.c, src/libdm/dm-ps.c, + src/libdm/dm-rtgl.c, src/libdm/dm-tk.c, src/libdm/dm-wgl.c, + src/libdm/dm_obj.c: + BU_ALLOC is more appropriate since we return to the caller, but + it will never be NULL -2012-02-07 01:56 bob1961 +2013-03-12 16:55 brlcad - * [r49269] src/tclscripts/archer/Archer.tcl: - Added a line to disable the fb_mode in - Archer::updateRaytraceButtons. + * [r54636] src/libgcv/wfobj/obj_parser.cpp: + pair with BU_PUT since we manage this internally -2012-02-07 01:50 bob1961 +2013-03-12 16:49 brlcad - * [r49268] src/tclscripts/archer/Archer.tcl: - Revert the previous commit (i.e. re-enable Quad View). + * [r54635] src/libbu/units.c: + caller release, so need BU_ALLOC -2012-02-07 01:14 bob1961 +2013-03-12 16:49 brlcad - * [r49267] src/tclscripts/archer/Archer.tcl: - Disable quad view temporarily. + * [r54634] src/libbu/list.c, src/libbu/observer.c: + more BU_PUT pairing goodness -2012-02-07 00:02 brlcad +2013-03-12 16:46 brlcad - * [r49266] HACKING: - calloc/reallc and strncmp/strncasecmp are on the 'should not use' - list too. + * [r54633] src/libbu/heap.c: + Expand docs and provide some diagrams on how the fast page + allocator works including notes on how these magic numbers were + arrived at and what values might be useful. -2012-02-06 22:58 brlcad +2013-03-12 16:42 brlcad - * [r49265] regress/repository.sh: - add the beginnings of a new regression test for API usage to make - sure that common functions that libbu provides or wrapped are - being used instead of their non-libbu counterparts. we include - exemptions for the implementation files that wrap functions and - tester applications that compare them to the libbu version. since - there are so many matches, though, don't let the test halt - regression until they're all taken care of. + * [r54632] src/libbu/mappedfile.c, src/libbu/temp.c: + more BU_PUT pairings -2012-02-06 22:48 brlcad +2013-03-12 16:15 brlcad - * [r49264] src/libged/red.c: - no, 49225 didn't go far enough. there is no reason for - target_name to be allocated on the heap. put the caller on the - stack and pass in a pointer in so we just print to it. simplifies - the cleanup too. + * [r54631] src/libged/analyze.c: + avoid having stray semi-colons in the code where we call ADD_PT -2012-02-06 22:46 n_reed +2013-03-12 16:10 brlcad - * [r49263] src/libbu/sscanf.c: - fix branching on unitialized value + * [r54630] src/conv/dxf/dxf-g.c, src/conv/euclid/g-euclid.c, + src/conv/euclid/g-euclid1.c, src/conv/fast4-g.c, + src/conv/g-acad.c, src/conv/g-nff.c, src/conv/g-obj.c, + src/conv/g-vrml.c, src/conv/g-x3d.c, src/conv/g-xxx_facets.c, + src/conv/iges/convtree.c, src/conv/iges/g-iges.c, + src/conv/iges/readtree.c, src/conv/jack/g-jack.c, + src/conv/nastran-g.c, src/conv/nmg/g-nmg.c, src/conv/off/g-off.c, + src/conv/tankill/g-tankill.c, src/conv/vdeck/vdeck.c, + src/libbu/avs.c: + change BU_GET calls to BU_ALLOC where someone/somewhere else is + freeing the memory (or it's not being released at all...) -2012-02-06 21:43 starseeker +2013-03-12 16:08 brlcad - * [r49262] src/librt/db5_types.c: - Initialize endptr to NULL (Lee Butler) + * [r54629] src/libbu/hook.c: + BU_PUT pairs well here with BU_GET -2012-02-06 21:15 starseeker +2013-03-12 16:07 brlcad - * [r49261] CMakeLists.txt: - Don't squack about librtserver unless it was actually on to start - with... + * [r54628] src/librt/primitives/arb8/arb8.c: + validate the centroid parameters -2012-02-06 20:48 starseeker +2013-03-12 15:58 brlcad - * [r49260] src/conv/step/schema.cc: - need bu.h here for BU_STR_EQUAL + * [r54627] src/adrt/load_g.c: + allocate data not released with BU_ALLOC -2012-02-06 20:35 brlcad +2013-03-12 15:57 brlcad - * [r49259] src/conv/iges/check_names.c, - src/conv/step/STEPWrapper.cpp, src/conv/step/schema.cc, - src/libged/simulate/simphysics.cpp, src/liboptical/sh_osl.cpp: - BU_STR_EQUAL() propagation + * [r54626] src/conv/asc/asc2g.c: + wdb_export() frees them, so call BU_ALLOC instead of BU_GET -2012-02-06 20:35 erikgreenwald +2013-03-12 15:57 brlcad - * [r49258] src/libged/red.c: - Add bu_vls_init() to dynamically allocated vls. 49225 messed up - by going a bit too wide. + * [r54625] src/conv/asc/g2asc.c: + pair BU_PUT with BU_GET -2012-02-06 20:32 brlcad +2013-03-12 15:56 brlcad - * [r49257] src/libged/simulate/simulate.c: - eliminate dead commented-out code + * [r54624] include/raytrace.h: + these are never released and do their own efficient thing, so + call BU_ALLOC instead of BU_GET -2012-02-06 20:28 brlcad +2013-03-12 15:22 r_weiss - * [r49256] regress/repository.sh: - restructure so that we only walk the source hierarchy with find - once. check for the other newer non-public headers (bin/bselect). - stub in a new test for API usage. + * [r54623] src/libged/inside.c: + Quiet a valgrind complaint of using an uninitialized variable. -2012-02-06 20:22 starseeker +2013-03-12 15:14 brlcad - * [r49255] NEWS: - Bob fixed a bug in Archer's tree view - the tree view wasn't - highlighting the correct objects when the option was set to - highlight objects that would be impacted by editing the currently - selected object. + * [r54622] src/librt/primitives/brep/brep.cpp: + private/local files are designated with ./ -2012-02-06 20:02 bob1961 +2013-03-12 14:11 bob1961 - * [r49254] src/tclscripts/archer/ArcherCore.tcl: - Fixed a bug in handleTreeSelect. Affected nodes not always - getting highlighted when in this mode. + * [r54621] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl, + src/tclscripts/archer/GeometryEditFrame.tcl: + Added an escape mechanism to Archer's display window. -2012-02-06 20:01 starseeker +2013-03-12 14:11 brlcad - * [r49253] src/other/lemon/lempar.c: - Bug in lemon parser template on Windows - we still need - yyRuleName even when NDEBUG is defined. + * [r54620] include/config_win.h: + stub in some of the 64bit funcs, wip -2012-02-06 19:19 n_reed +2013-03-12 14:01 bob1961 - * [r49252] include/bu.h, src/librt/opennurbs_ext.h: - bu_sscanf should use scanf (not printf) syntax check. Substituted - remaining instances of __BU* with _BU*. + * [r54619] src/tclscripts/lib/Ged.tcl: + Added Ged::pane_bind. -2012-02-06 19:11 brlcad +2013-03-12 13:37 brlcad - * [r49251] src/libged/exists.c, src/libged/nirt.c, src/librt/cmd.c, - src/librt/primitives/table.c, src/libtclcad/tclcad_obj.c, - src/rt/viewweight.c: - use BU_STR_EQUAL() and bu_strcmp/bu_strncmp instead of - strcmp/strncmp for more consistent and clear string comparison - behavior + * [r54618] NEWS, README, include/conf/MINOR, include/conf/PATCH: + far exceeded patch-level release, anticipating the next release + will be another minor update (7.24.0), so bumping up to 7.23.0 -2012-02-06 19:09 brlcad +2013-03-12 13:32 brlcad - * [r49250] src/librt/search.c, src/rt/read-rtlog.c: - tweak comments regarding string comparisons + * [r54617] include/Makefile.am: + nurbs.h is no more -2012-02-06 19:08 brlcad +2013-03-12 04:42 brlcad - * [r49249] src/fb/fbstretch.c: - comment not useful + * [r54611] TODO: + not true, dbupgrade works just fine from within a read-only + because it works on the file directly, external to mged -2012-02-06 19:07 brlcad +2013-03-12 04:41 brlcad - * [r49248] src/libged/edit.c: - comment tweak + * [r54610] src/librt/Makefile.am: + another to ignore -2012-02-06 18:28 brlcad +2013-03-12 04:39 brlcad - * [r49247] src/conv/cy-g.c: - convert instances of strncasecmp with bu_strncasecmp + * [r54609] TODO: + cliff made sure dbupgrade from within mged still works after the + windows fixes were made -2012-02-06 18:10 brlcad +2013-03-12 04:38 brlcad - * [r49246] src/libbu/str.c: - hard to call bu_strncasecmp() if it doesn't exist. fix typo. + * [r54608] src/librt/CMakeLists.txt: + distcheck fix, ignore new brep_local.h header -2012-02-06 18:04 brlcad +2013-03-12 03:25 brlcad - * [r49245] include/bu.h: - save the file, then commit + * [r54607] src/librt/primitives/brep/brep_local.h: + ws -2012-02-06 18:03 brlcad +2013-03-11 19:33 carlmoore - * [r49244] include/bu.h: - eep, update the macros calls to bu_strcmpm() to bu_strcmp() + * [r54606] src/util/bwdiff.c: + remove a redundant 'return' -2012-02-06 17:33 brlcad +2013-03-11 18:57 carlmoore - * [r49243] doc/deprecation.txt, include/bu.h, src/libbu/str.c: - header says null is a perfectly valid parameter to bu_strcmp() so - there's no need to print it. so get rid of the label parameter - since it's otherwise unused. that means the function can take on - the macro name and the macro can go away. round out the offering - with implementations for strncmp() and strncasecmp() too. + * [r54605] src/util/bwdiff.c: + make same change in Usage as I did for bw3-pix -2012-02-06 16:50 starseeker +2013-03-11 15:32 bob1961 - * [r49242] src/other/CMakeLists.txt: - INSTALL.new on CMake is different because we're not running the - THIRD_PARTY macro for SCL on Windows. Try a different approach to - disabling SCL with MSVC that should let the THIRD_PARTY macro - run. This will be moot once we get SCL working with MSVC, and can - go away then. + * [r54604] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl, + src/tclscripts/archer/BotEditFrame.tcl: + Improvements to the double-click mechanism in Archer and to the + BOT edit panel (i.e. fewer bot table updates) -2012-02-06 16:41 starseeker +2013-03-11 12:13 bob1961 - * [r49241] misc/CMake/BRLCAD_Util.cmake, - src/other/iwidgets/doc/CMakeLists.txt: - Need to take some extra care with the iwidgets manpages since - CMake is prefixing them. + * [r54603] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl: + Added a default display mode preference and the ability to + double-click objects in Archer's tree to display. -2012-02-04 18:28 starseeker +2013-03-11 12:08 bob1961 - * [r49240] CMakeLists.txt, - doc/docbook/resources/other/expand.cmake, - misc/CMake/distclean.cmake.in: - Turn on the distclean rule. This should be a real distclean, - working both in and out of the source directory. Needs more - testing. Currently is only likely to work with systems using - Makefiles + * [r54602] src/libged/ged_private.h, src/libged/how.c: + Update ged_how to accomodate objects drawn as hidden line. -2012-02-04 18:10 starseeker +2013-03-09 16:32 n_reed - * [r49239] src/other/libpng/projects/vstudio/pngstest: - empty directory + * [r54599] src/libged/draw.c: + use smarter point spacing calculation for tgcs -2012-02-04 17:44 starseeker +2013-03-09 06:25 brlcad - * [r49238] doc/docbook/resources/other/docbook-schema, - doc/docbook/resources/other/standard/svg, - doc/docbook/resources/other/standard/xsl: - Remove empty dirs + * [r54598] src/other/openNURBS.dist, + src/other/openNURBS/CMakeLists.txt, + src/other/openNURBS/Makefile.am, + src/other/openNURBS/build_opennurbs_vs2010.sln, + src/other/openNURBS/build_opennurbs_xcode.xcworkspace, + src/other/openNURBS/build_opennurbs_xcode.xcworkspace/contents.xcworkspacedata, + src/other/openNURBS/example_brep/example_brep.cpp, + src/other/openNURBS/example_brep/example_brep.vcproj, + src/other/openNURBS/example_brep/example_brep.vcxproj, + src/other/openNURBS/example_brep/example_brep.vcxproj.filters, + src/other/openNURBS/example_brep/example_brep.xcodeproj, + src/other/openNURBS/example_brep/example_brep.xcodeproj/project.pbxproj, + src/other/openNURBS/example_brep/example_brep.xcodeproj/project.xcworkspace, + src/other/openNURBS/example_brep/example_brep.xcodeproj/project.xcworkspace/contents.xcworkspacedata, + src/other/openNURBS/example_dump, + src/other/openNURBS/example_gl/example_gl.cpp, + src/other/openNURBS/example_gl/example_gl.vcproj, + src/other/openNURBS/example_read/example_read.cpp, + src/other/openNURBS/example_read/example_read.vcproj, + src/other/openNURBS/example_read/example_read.vcxproj, + src/other/openNURBS/example_read/example_read.vcxproj.filters, + src/other/openNURBS/example_read/example_read.xcodeproj, + src/other/openNURBS/example_read/example_read.xcodeproj/project.pbxproj, + src/other/openNURBS/example_read/example_read.xcodeproj/project.xcworkspace, + src/other/openNURBS/example_read/example_read.xcodeproj/project.xcworkspace/contents.xcworkspacedata, + src/other/openNURBS/example_roundtrip/example_roundtrip.cpp, + src/other/openNURBS/example_roundtrip/example_roundtrip.vcproj, + src/other/openNURBS/example_roundtrip/example_roundtrip.vcxproj, + src/other/openNURBS/example_roundtrip/example_roundtrip.vcxproj.filters, + src/other/openNURBS/example_roundtrip/example_roundtrip.xcodeproj, + src/other/openNURBS/example_roundtrip/example_roundtrip.xcodeproj/project.pbxproj, + src/other/openNURBS/example_roundtrip/example_roundtrip.xcodeproj/project.xcworkspace, + src/other/openNURBS/example_roundtrip/example_roundtrip.xcodeproj/project.xcworkspace/contents.xcworkspacedata, + src/other/openNURBS/example_userdata/example_ud.cpp, + src/other/openNURBS/example_userdata/example_userdata.cpp, + src/other/openNURBS/example_userdata/example_userdata.vcproj, + src/other/openNURBS/example_userdata/example_userdata.vcxproj, + src/other/openNURBS/example_userdata/example_userdata.vcxproj.filters, + src/other/openNURBS/example_userdata/example_userdata.xcodeproj, + src/other/openNURBS/example_userdata/example_userdata.xcodeproj/project.pbxproj, + src/other/openNURBS/example_userdata/example_userdata.xcodeproj/project.xcworkspace, + src/other/openNURBS/example_userdata/example_userdata.xcodeproj/project.xcworkspace/contents.xcworkspacedata, + src/other/openNURBS/example_userdata/example_userdata_vc60.dsp, + src/other/openNURBS/example_write/example_write.cpp, + src/other/openNURBS/example_write/example_write.vcproj, + src/other/openNURBS/example_write/example_write.vcxproj, + src/other/openNURBS/example_write/example_write.vcxproj.filters, + src/other/openNURBS/example_write/example_write.xcodeproj, + src/other/openNURBS/example_write/example_write.xcodeproj/project.pbxproj, + src/other/openNURBS/example_write/example_write.xcodeproj/project.xcworkspace, + src/other/openNURBS/example_write/example_write.xcodeproj/project.xcworkspace/contents.xcworkspacedata, + src/other/openNURBS/opennurbs.vcxproj, + src/other/openNURBS/opennurbs.vcxproj.filters, + src/other/openNURBS/opennurbs_brep.cpp, + src/other/openNURBS/opennurbs_brep.h, + src/other/openNURBS/opennurbs_brep_changesrf.cpp, + src/other/openNURBS/opennurbs_brep_kinky.cpp, + src/other/openNURBS/opennurbs_staticlib.vcxproj, + src/other/openNURBS/opennurbs_staticlib.vcxproj.filters: + redo the merging of additional updates, adding in some overlooked + changes from the previous v5.0 update, without all the mess. adds + back the deleted opennurbs_brep_kinky.cpp and + opennurbs_brep_changesrf.cpp for reference since they seem highly + relevant to our needs (along with code in opennurbs_brep so + they'll compile). remerges r54573 (partial), r54576 (partial), + r54577, r54580, and r54589. + +2013-03-09 01:47 brlcad + + * [r54597] src/other/openNURBS.dist, + src/other/openNURBS/CMakeLists.txt, + src/other/openNURBS/Makefile.am, + src/other/openNURBS/build_opennurbs_vs2010.sln, + src/other/openNURBS/build_opennurbs_xcode.xcworkspace, + src/other/openNURBS/example_brep/example_brep.cpp, + src/other/openNURBS/example_brep/example_brep.vcproj, + src/other/openNURBS/example_brep/example_brep.vcxproj, + src/other/openNURBS/example_brep/example_brep.vcxproj.filters, + src/other/openNURBS/example_brep/example_brep.xcodeproj, + src/other/openNURBS/example_dump, + src/other/openNURBS/example_dump/example_dump.cpp, + src/other/openNURBS/example_dump/example_dump.vcproj, + src/other/openNURBS/example_gl/example_gl.cpp, + src/other/openNURBS/example_gl/example_gl.vcproj, + src/other/openNURBS/example_read/example_read.cpp, + src/other/openNURBS/example_read/example_read.vcproj, + src/other/openNURBS/example_read/example_read.vcxproj, + src/other/openNURBS/example_read/example_read.vcxproj.filters, + src/other/openNURBS/example_read/example_read.xcodeproj, + src/other/openNURBS/example_roundtrip/example_roundtrip.cpp, + src/other/openNURBS/example_roundtrip/example_roundtrip.vcproj, + src/other/openNURBS/example_roundtrip/example_roundtrip.vcxproj, + src/other/openNURBS/example_roundtrip/example_roundtrip.vcxproj.filters, + src/other/openNURBS/example_roundtrip/example_roundtrip.xcodeproj, + src/other/openNURBS/example_userdata/example_ud.cpp, + src/other/openNURBS/example_userdata/example_userdata.cpp, + src/other/openNURBS/example_userdata/example_userdata.vcproj, + src/other/openNURBS/example_userdata/example_userdata.vcxproj, + src/other/openNURBS/example_userdata/example_userdata.vcxproj.filters, + src/other/openNURBS/example_userdata/example_userdata.xcodeproj, + src/other/openNURBS/example_userdata/example_userdata_vc60.dsp, + src/other/openNURBS/example_write/example_write.cpp, + src/other/openNURBS/example_write/example_write.vcproj, + src/other/openNURBS/example_write/example_write.vcxproj, + src/other/openNURBS/example_write/example_write.vcxproj.filters, + src/other/openNURBS/example_write/example_write.xcodeproj, + src/other/openNURBS/opennurbs.h, + src/other/openNURBS/opennurbs.vcxproj, + src/other/openNURBS/opennurbs.vcxproj.filters, + src/other/openNURBS/opennurbs_brep_changesrf.cpp, + src/other/openNURBS/opennurbs_brep_kinky.cpp, + src/other/openNURBS/opennurbs_massprop.cpp, + src/other/openNURBS/opennurbs_massprop.h, + src/other/openNURBS/opennurbs_staticlib.vcxproj, + src/other/openNURBS/opennurbs_staticlib.vcxproj.filters: + re-re-revert to r54338 before I started causing damage. + apparently two different versions of opennurbs came out one month + after the other, both labeled as v5.0 and the latter removing + substantial functionality (3 functions) that we utilize. there + are some files to get a closer sync with the latest sources, but + we'll need to either keep a *much* bigger patch set or implement + even more functionality in our libraries going forward. + +2013-03-09 01:27 starseeker + + * [r54596] configure.ac, misc/win32-msvc/Dll/CMakeLists.txt, + src/Makefile.am, src/libbrep/Makefile.am, src/librt/Makefile.am: + Tell autotools and Dll about name change too. + +2013-03-08 22:42 starseeker + + * [r54595] src/libbrep, src/libnurbs: + Now move the directory + +2013-03-08 22:39 starseeker + + * [r54594] src/CMakeLists.txt, src/conv/step/CMakeLists.txt, + src/libnurbs/CMakeLists.txt, src/librt/CMakeLists.txt: + Make the library name match the header (all except the mv, which + is done separately to avoid upsetting subversion) + +2013-03-08 22:26 brlcad + + * [r54593] src/other/openNURBS/CMakeLists.txt: + last two, the opennurbs_x files are no longer compiled either, + yet kept for reference + +2013-03-08 22:20 n_reed + + * [r54592] include/solid.h, src/libged/draw.c: + if we stash the tsp mat in the solids we create, we can + draw/redraw them later without doing a tree walk + +2013-03-08 22:19 starseeker + + * [r54591] include/brep.h, src/libged/brep.c, + src/librt/primitives/brep/brep.cpp, + src/librt/primitives/brep/brep_debug.cpp, + src/librt/primitives/brep/brep_local.h: + Move brep_specific down into librt - not part of the public api. + Will need to look into the libged brep command and see what needs + encapsulating -2012-02-04 17:42 starseeker +2013-03-08 22:06 brlcad - * [r49237] doc/docbook/resources/other/README.schema, - doc/docbook/resources/other/docbook-5.0.tar.bz2, - doc/docbook/resources/other/docbook-schema/README.schema, - doc/docbook/resources/other/docbook-schema/docbook-5.0.tar.bz2, - doc/docbook/resources/other/docbook-schema/docbookxi.nvdl, - doc/docbook/resources/other/docbookxi.nvdl, - doc/docbook/resources/other/expand.cmake, - doc/docbook/resources/other/offo/README, - doc/docbook/resources/other/offo/README.offo, - doc/docbook/resources/other/standard/README.svg, - doc/docbook/resources/other/standard/README.xsl, - doc/docbook/resources/other/standard/docbook-xsl-ns.tar.bz2, - doc/docbook/resources/other/standard/met-fonts.xsl, - doc/docbook/resources/other/standard/svg/README, - doc/docbook/resources/other/standard/svg/met-fonts.xsl, - doc/docbook/resources/other/standard/svg/w3_svg_dtd.tar.bz2, - doc/docbook/resources/other/standard/w3_svg_dtd.tar.bz2, - doc/docbook/resources/other/standard/xsl/README.xsl, - doc/docbook/resources/other/standard/xsl/docbook-xsl-ns.tar.bz2: - Move some docbook stuff around + * [r54590] src/other/openNURBS/CMakeLists.txt, + src/other/openNURBS/Makefile.am: + opennurbs_basic.cpp isn't supposed to be compiled any more, just + for reference -2012-02-04 17:17 starseeker +2013-03-08 22:02 brlcad - * [r49236] - doc/docbook/resources/other/docbook-schema/docbook-5.0.tar.bz2: - Another change-before-move commit + * [r54589] src/other/openNURBS/Makefile.am: + example_dump is no more -2012-02-04 17:11 starseeker +2013-03-08 21:52 carlmoore - * [r49235] - doc/docbook/resources/other/standard/svg/w3_svg_dtd.tar.bz2, - doc/docbook/resources/other/standard/xsl/README.xsl, - doc/docbook/resources/other/standard/xsl/docbook-xsl-ns.tar.bz2: - Will need some tweaks to the docbook resources setup. This will - break things temporarily, but need to change files then move - them. + * [r54588] src/util/bw3-pix.c: + shorten the code in filename check, and clarify the Usage message -2012-02-04 15:48 starseeker +2013-03-08 21:52 starseeker - * [r49234] src/other/CMakeLists.txt: - whoops, get the lib dir symlinks too. + * [r54587] include/CMakeLists.txt: + Sync CMakeLists.txt file -2012-02-04 14:37 brlcad +2013-03-08 21:50 starseeker - * [r49233] src/remrt/remrt.c: - straggler bu_vls_init() to = BU_VLS_INIT_ZERO conversion + * [r54586] include/brep.h, include/nurbs.h, + src/conv/step/OpenNurbsInterfaces.cpp, + src/libnurbs/PullbackCurve.cpp, src/libnurbs/opennurbs_ext.cpp, + src/librt/primitives/brep/brep.cpp, + src/librt/primitives/brep/brep_debug.h, + src/librt/primitives/sketch/sketch_tess.cpp, + src/librt/test_bot2nurbs.cpp: + Consolidate nurbs.h into brep.h - better not to put another + toplevel nurbs related header file in when there is already an + obvious candidate. + +2013-03-08 21:46 starseeker + + * [r54585] include/dvec.h: + dvec.h doesn't need all of raytrace.h - include just what it need + and make a note. + +2013-03-08 21:35 n_reed + + * [r54584] src/libged/draw.c: + simplify ged_redraw by forgoing unnecessary non-wireframe + replotting which was implemented for semantic as opposed to + practical reasons + +2013-03-08 20:46 brlcad + + * [r54583] src/other/openNURBS/opennurbs.h: + opennurbs_x.h was also removed + +2013-03-08 20:35 brlcad + + * [r54582] src/other/openNURBS/opennurbs.h: + massprop was removed + +2013-03-08 20:30 starseeker + + * [r54581] src/other/libvds.dist, src/other/openNURBS.dist, + src/other/poly2tri.dist: + Update dist files for src/other archives. + +2013-03-08 19:59 brlcad + + * [r54580] src/other/openNURBS/CMakeLists.txt, + src/other/openNURBS/Makefile.am: + document the files that we intentionally retained for reference + but do not compile (along with others) + +2013-03-08 19:32 n_reed + + * [r54579] src/libged/draw.c: + pull view calculations into separate functions + +2013-03-08 19:25 brlcad + + * [r54578] src/other/openNURBS/CMakeLists.txt, + src/other/openNURBS/Makefile.am: + massprop went away + +2013-03-08 18:11 brlcad + + * [r54577] src/other/openNURBS/example_brep/example_brep.cpp, + src/other/openNURBS/example_gl/example_gl.cpp, + src/other/openNURBS/example_read/example_read.cpp, + src/other/openNURBS/example_roundtrip/example_roundtrip.cpp, + src/other/openNURBS/example_userdata/example_ud.cpp, + src/other/openNURBS/example_userdata/example_userdata.cpp, + src/other/openNURBS/example_write/example_write.cpp: + update examples to their latest sources + +2013-03-08 18:03 brlcad + + * [r54576] src/other/openNURBS/build_opennurbs_vs2010.sln, + src/other/openNURBS/build_opennurbs_xcode.xcworkspace, + src/other/openNURBS/build_opennurbs_xcode.xcworkspace/contents.xcworkspacedata, + src/other/openNURBS/example_brep/example_brep.vcproj, + src/other/openNURBS/example_brep/example_brep.vcxproj, + src/other/openNURBS/example_brep/example_brep.vcxproj.filters, + src/other/openNURBS/example_brep/example_brep.xcodeproj, + src/other/openNURBS/example_brep/example_brep.xcodeproj/project.pbxproj, + src/other/openNURBS/example_brep/example_brep.xcodeproj/project.xcworkspace, + src/other/openNURBS/example_brep/example_brep.xcodeproj/project.xcworkspace/contents.xcworkspacedata, + src/other/openNURBS/example_dump, + src/other/openNURBS/example_gl/example_gl.vcproj, + src/other/openNURBS/example_read/example_read.vcproj, + src/other/openNURBS/example_read/example_read.vcxproj, + src/other/openNURBS/example_read/example_read.vcxproj.filters, + src/other/openNURBS/example_read/example_read.xcodeproj, + src/other/openNURBS/example_read/example_read.xcodeproj/project.pbxproj, + src/other/openNURBS/example_read/example_read.xcodeproj/project.xcworkspace, + src/other/openNURBS/example_read/example_read.xcodeproj/project.xcworkspace/contents.xcworkspacedata, + src/other/openNURBS/example_roundtrip/example_roundtrip.vcproj, + src/other/openNURBS/example_roundtrip/example_roundtrip.vcxproj, + src/other/openNURBS/example_roundtrip/example_roundtrip.vcxproj.filters, + src/other/openNURBS/example_roundtrip/example_roundtrip.xcodeproj, + src/other/openNURBS/example_roundtrip/example_roundtrip.xcodeproj/project.pbxproj, + src/other/openNURBS/example_roundtrip/example_roundtrip.xcodeproj/project.xcworkspace, + src/other/openNURBS/example_roundtrip/example_roundtrip.xcodeproj/project.xcworkspace/contents.xcworkspacedata, + src/other/openNURBS/example_userdata/example_userdata.vcproj, + src/other/openNURBS/example_userdata/example_userdata.vcxproj, + src/other/openNURBS/example_userdata/example_userdata.vcxproj.filters, + src/other/openNURBS/example_userdata/example_userdata.xcodeproj, + src/other/openNURBS/example_userdata/example_userdata.xcodeproj/project.pbxproj, + src/other/openNURBS/example_userdata/example_userdata.xcodeproj/project.xcworkspace, + src/other/openNURBS/example_userdata/example_userdata.xcodeproj/project.xcworkspace/contents.xcworkspacedata, + src/other/openNURBS/example_userdata/example_userdata_vc60.dsp, + src/other/openNURBS/example_write/example_write.vcproj, + src/other/openNURBS/example_write/example_write.vcxproj, + src/other/openNURBS/example_write/example_write.vcxproj.filters, + src/other/openNURBS/example_write/example_write.xcodeproj, + src/other/openNURBS/example_write/example_write.xcodeproj/project.pbxproj, + src/other/openNURBS/example_write/example_write.xcodeproj/project.xcworkspace, + src/other/openNURBS/example_write/example_write.xcodeproj/project.xcworkspace/contents.xcworkspacedata, + src/other/openNURBS/opennurbs.sln, + src/other/openNURBS/opennurbs.vcproj, + src/other/openNURBS/opennurbs.vcxproj, + src/other/openNURBS/opennurbs.vcxproj.filters, + src/other/openNURBS/opennurbs_crashtest.h, + src/other/openNURBS/opennurbs_massprop.cpp, + src/other/openNURBS/opennurbs_massprop.h, + src/other/openNURBS/opennurbs_memory_new.cpp, + src/other/openNURBS/opennurbs_staticlib.vcproj, + src/other/openNURBS/opennurbs_staticlib.vcxproj, + src/other/openNURBS/opennurbs_staticlib.vcxproj.filters: + turns out r54203 was removing files that opennurbs removed, so I + was wrong about them needing to be added to the build logic + (something fishy, they were in my earlier version of + 2012-10-24...). there were other unsyncd files to be added and + removed, though, and this gets them in sync. notably updates + their msvc and xcode build files (which we do not use), removes + example_dump and their massprop code. intentionally keeps the + now-deleted opennurbs_x (surface surface intersection!), + openurbs_brep_kinky (surface cleanup), opennurbs_brep_changesrf + (surface conversion), and opennurbs_based (succinctly identifies + RhinoSDK removals!). + +2013-03-08 17:20 bob1961 + + * [r54575] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl: + Added "Save as png ..." menu items to the display menus. -2012-02-04 13:53 brlcad +2013-03-08 17:03 brlcad - * [r49232] src/mged/chgview.c, src/mged/sedit.h: - what? eliminate evil unused global strings + * [r54574] include/bu.h: + gah, need to wrap the multi-statement form of BU_PUT in curlies + or unwrapped if(null) tests will still run the free -2012-02-04 13:45 brlcad +2013-03-08 16:16 brlcad - * [r49231] src/conv/cy-g.c, src/conv/g-x3d.c, - src/external/Unigraphics/ug-g.c, src/fbed/fbed.c, - src/libbn/multipoly.c, src/libbn/tabdata.c, src/libbu/parallel.c, - src/libfb/if_X24.c, src/libged/edpipe.c, src/libged/png.c, - src/libged/ps.c, src/librt/primitives/cline/cline.c, - src/librt/primitives/eto/eto.c, - src/librt/primitives/extrude/extrude.c, - src/librt/primitives/nmg/nmg_mod.c, - src/librt/primitives/nmg/nmg_tri.c, - src/librt/primitives/rhc/rhc.c, src/librt/primitives/rpc/rpc.c, - src/librt/primitives/sketch/sketch.c, src/librtserver/rtserver.c, - src/libtclcad/tclcad_obj.c, src/libwdb/pipe.c, src/mged/dozoom.c, - src/mged/edpipe.c, src/rt/do.c, src/rttherm/spectrum.c, - src/rttherm/ssampview.c, src/tab/scriptsort.c: - since 'new' is a reserved c++ keyword, avoid using it throughout - our code. one step closer to being able to compile everything as - c++ sources. - -2012-02-04 06:23 brlcad - - * [r49230] HACKING: - bu_strcasecmp() and BU_STR_EQUIV() instead of - stricmp()/strcasecmp() - -2012-02-04 06:22 brlcad - - * [r49229] src/conv/cy-g.c, src/libfb/fb_generic.c, - src/libfb/fb_obj.c, src/libfb/tcl.c, src/libged/typein.c: - propagate BU_STR_EQUIV() where strcasecmp() was being used - -2012-02-04 06:20 brlcad - - * [r49228] include/bu.h: - rename to BU_STR_EQUIV for equivalence since it's slightly less - ambiguous (but shortened to match BU_STR_EQUAL length). - -2012-02-04 05:46 brlcad - - * [r49227] include/bu.h: - add a BU_STR_SIMILAR() macro for converting the return value from - bu_strcasecmp() into a boolean. future version may wrap a - different function if it's expanded to disconsider insignificant - whitespace too. - -2012-02-04 05:40 brlcad - - * [r49226] include/bu.h, src/libbu/str.c: - add a bu_strcasecmp companion for bu_strcmp. - -2012-02-04 02:25 brlcad - - * [r49225] src/bwish/cmd.c, src/bwish/input.c, src/conv/g-dot.c, - src/fb/ioutil.c, src/gtools/g_diff.c, src/libdm/dm_obj.c, - src/libfb/fbserv_obj.c, src/libfb/tcl.c, src/libged/annotate.c, - src/libged/attr.c, src/libged/bot_dump.c, src/libged/bot_split.c, - src/libged/color.c, src/libged/concat.c, src/libged/copymat.c, - src/libged/decompose.c, src/libged/dg_obj.c, src/libged/draw.c, - src/libged/dup.c, src/libged/eac.c, src/libged/editit.c, - src/libged/erase.c, src/libged/exists.c, src/libged/ged.c, - src/libged/glob.c, src/libged/gqa.c, src/libged/how.c, - src/libged/human.c, src/libged/inside.c, src/libged/keep.c, - src/libged/lt.c, src/libged/make_name.c, src/libged/make_pnts.c, - src/libged/mater.c, src/libged/move.c, src/libged/move_all.c, - src/libged/nirt.c, src/libged/plot.c, src/libged/prefix.c, - src/libged/preview.c, src/libged/ps.c, src/libged/put_comb.c, - src/libged/rect.c, src/libged/red.c, src/libged/remove.c, - src/libged/rt.c, src/libged/search.c, src/libged/shells.c, - src/libged/tables.c, src/libged/tire.c, src/libged/title.c, - src/libged/track.c, src/libged/typein.c, src/libged/wdb_bigE.c, - src/libged/wdb_comb_std.c, src/libged/wdb_nirt.c, - src/libged/wdb_qray.c, src/libged/wdb_track.c, - src/libged/wdb_vdraw.c, src/libged/xpush.c, - src/libtclcad/tclcad_obj.c, src/mged/adc.c, src/mged/animedit.c, - src/mged/arbs.c, src/mged/attach.c, src/mged/bodyio.c, - src/mged/bool_rewrite.c, src/mged/buttons.c, src/mged/chgmodel.c, - src/mged/chgtree.c, src/mged/chgview.c, src/mged/cmd.c, - src/mged/color_scheme.c, src/mged/dir.c, src/mged/dm-X.c, - src/mged/dm-generic.c, src/mged/dm-ogl.c, src/mged/dm-rtgl.c, - src/mged/dm-tk.c, src/mged/dm-wgl.c, src/mged/dodraw.c, - src/mged/doevent.c, src/mged/edarb.c, src/mged/edsol.c, - src/mged/facedef.c, src/mged/grid.c, src/mged/history.c, - src/mged/menu.c, src/mged/mged.c, src/mged/muves.c, - src/mged/overlay.c, src/mged/plot.c, src/mged/points/process.c, - src/mged/polyif.c, src/mged/rect.c, src/mged/red.c, - src/mged/rtif.c, src/mged/scroll.c, src/mged/set.c, - src/mged/setup.c, src/mged/share.c, src/mged/solids_on_ray.c, - src/mged/tedit.c, src/mged/titles.c, src/mged/track.c, - src/mged/update.c, src/mged/usepen.c, src/mged/utility1.c, - src/mged/vparse.c, src/mged/vrlink.c, src/nirt/if.c, - src/nirt/nirt.c, src/rt/viewedge.c: - replace 580 calls to bu_vls_init() with static initialization via - BU_VLS_INIT_ZERO. this eliminated the need for more than 100 - conditionalized inits, which in turn eliminates the risk that a - vls might get used prior to initialization (whereby it crashes). - this improves memory management as well eliminating the function - call and memory allocation should the vls not actually be needed; - and it eliminates a memory leak if a vls were initialized but not - freed during an error condition. overall, improved - maintainability. - -2012-02-04 02:16 brlcad - - * [r49224] src/libged/ls.c: - and another unused vls masked by a bu_vls_init() - -2012-02-04 02:13 brlcad - - * [r49223] src/libged/trace.c: - another unused vls - -2012-02-03 22:56 brlcad - - * [r49222] src/shapes/coil.c: - conversion to using BU_VLS_INIT_ZERO instead of bu_vls_init() - where there's simple local use. detected another unused vls - (coil_type). - -2012-02-03 22:49 brlcad - - * [r49221] src/libged/get_comb.c: - a benefit of using BU_VLS_INIT_ZERO instead of bu_vls_init() is - that the compiler can actually detect an unused vls such as this - one - -2012-02-03 22:08 starseeker - - * [r49220] CMakeLists.txt, misc/CMake/BRLCAD_Util.cmake, - misc/CMakeLists.txt, pix/CMakeLists.txt, src/adrt/CMakeLists.txt, - src/archer/CMakeLists.txt, src/brlman/CMakeLists.txt, - src/gtools/CMakeLists.txt, src/other/CMakeLists.txt, - src/other/tcl/doc/CMakeLists.txt, - src/other/tk/doc/CMakeLists.txt: - Getting closer - this leaves bin, lib and share in place but they - should be nothing but a collection of empty directories for a - bare configure. Just need to teach distclean to check them for - empty dirs and recursively remove any empty dirs until we've - whittled it down to the minimum (for a pure configure with no - build step on a clean checkout, back to the checkout - configuration.) - -2012-02-03 21:16 bob1961 - - * [r49219] src/tclscripts/archer/Archer.tcl, - src/tclscripts/archer/ArcherCore.tcl: - Added a preference for display lists. + * [r54573] src/other/openNURBS.dist, + src/other/openNURBS/opennurbs.sln, + src/other/openNURBS/opennurbs.vcproj, + src/other/openNURBS/opennurbs_brep_changesrf.cpp, + src/other/openNURBS/opennurbs_brep_kinky.cpp, + src/other/openNURBS/opennurbs_crashtest.h, + src/other/openNURBS/opennurbs_memory_new.cpp, + src/other/openNURBS/opennurbs_staticlib.vcproj: + revert r54203 from r_weiss on 2013-01-25 as that removes new + files that were added to opennurbs instead of adding them to our + build logic. fix to build and distcheck coming up next. -2012-02-03 16:54 starseeker +2013-03-08 16:06 brlcad - * [r49218] CMakeLists.txt, - doc/docbook/resources/other/expand.cmake, pix/CMakeLists.txt, - regress/mged/CMakeLists.txt, src/adrt/CMakeLists.txt, - src/libgcv/CMakeLists.txt, src/other/CMakeLists.txt, - src/other/togl/demo/CMakeLists.txt: - Make a stab at logic to clean out all files generated by CMake. - This is currently a bit too aggressive in that it will completely - nuke the bin, lib, and share output directories, but it's a step - in the right direction and seems to be able to restore a checkout - to clean status after an in-src-dir CMake configure (although - that's only tested on one platform and isn't yet portable - - assumes Makefiles, for example.) Not hooked into the build proper - yet - it generates a distclean.sh file in the toplevel build - directory that can be run manually. + * [r54572] NEWS: + richard updated openNURBS from the 2010 sources to the newest + 2012-10-24 release (still v5.0). -2012-02-03 16:41 starseeker +2013-03-08 15:51 brlcad - * [r49217] src/other/re2c.dist: - sync re2c.dist + * [r54571] include/bu.h, src/libbu/CMakeLists.txt, + src/libbu/Makefile.am, src/libbu/pool.c: + undeclare and remove the bu_pool routines -2012-02-03 16:39 starseeker +2013-03-08 15:47 brlcad - * [r49216] src/other/libz.dist: - sync libz.dist + * [r54570] include/bu.h: + stub in calls to the new bu_heap get/put API underneath + BU_GET/BU_PUT, but do not enable for the time being because all + of the existing BU_GET calls need to be reviewed to be either + paired with BU_PUT or converted to BU_ALLOC. -2012-02-03 16:38 starseeker +2013-03-08 15:44 brlcad - * [r49215] src/other/libz/CMakeLists.txt, src/other/libz/zconf.h, - src/other/libz/zconf.h.in: - Enough of the zconf.h.in nonsense. We've already had to modify - zlib anyway. + * [r54569] include/nmg.h: + remove the bu_pool hooks now in dead #if 0 sections. also + simplify NMG_FREESTRUCT() .. BU_PUT() already zero's the data and + pointer. -2012-02-03 16:35 starseeker +2013-03-08 15:38 brlcad - * [r49214] src/other/re2c/README: - If we're using the template for the re2c README file (maybe - worthwhile, maybe not...) don't stash the generated output in the - src tree. Would need a mechanism like that used for our INSTALL - and configure scripts to make that work 'properly' + * [r54568] include/nmg.h, src/librt/primitives/nmg/nmg_copy.c: + undo the usage of richard's pooling memory interface underneath + NMG. direct profiling of the implementation showed it to be an + order of magnitude slower than bu_malloc/calloc, 50M allocations + went from 5s to 70s-90s. -2012-02-03 05:13 starseeker +2013-03-08 15:32 brlcad - * [r49213] misc/CMake/BRLCAD_Util.cmake: - Gah - how did that slip through the cracks? Using just a toplevel - cmakefiles.cmake now + * [r54567] src/libbu/heap.c: + increase the range of supported allocations from 1-256 and + 1MB-sized pages. minor overhead to support an even bigger range, + but pagesize should probably not exceed 1MB. report additional + stats on the number of hits (allocations in range) and misses + (out of range size). -2012-02-03 04:48 starseeker +2013-03-08 14:57 bob1961 - * [r49212] regress/mged/CMakeLists.txt, - src/other/re2c/CMakeLists.txt: - Couple clean-ups for in-src-dir configuration. + * [r54566] src/archer/archer, src/libtclcad/tclcad_obj.c: + Dynamically set the brlcad version in Archer's title bar. -2012-02-03 00:44 n_reed +2013-03-08 14:25 bob1961 - * [r49211] src/libbu/sscanf.c: - s/bu_exit/bu_bomb; accept 0 as a valid width for string - conversions + * [r54565] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl: + Added Copy/Paste/Kill/Killall/Rename functionality to Archer's + tree menu. -2012-02-02 23:34 brlcad +2013-03-08 04:56 brlcad - * [r49210] misc/CMake/CompilerFlags.cmake: - make the CHECK_C_FLAG macro a little more robust. the autonaming - feature is nice, but it needs to account for all possible - characters that aren't valid variable names. (e.g., --std=c++98) - also, the build type comparison is wrong as mixed case for this - variable. + * [r54562] include/bu.h: + declare and document the new bu_heap_get() and bu_heap_put() + functions. -2012-02-02 23:25 brlcad +2013-03-07 22:43 starseeker - * [r49209] src/mged/Makefile.am: - hideline.c is no more + * [r54560] src/librt/primitives/bot/bot.c: + Introduce bbox information into the adaptive plot logic. -2012-02-02 22:08 starseeker +2013-03-07 19:01 brlcad - * [r49208] misc/CMake/CompilerFlags.cmake: - Oh, I see now. gnu99 when doing a Release build, but gnu90 when - developing (normally done in Debug mode) + * [r54559] src/librt/cut.c: + pair BU_PUT with BU_GET for cut nodes -2012-02-02 22:03 starseeker +2013-03-07 18:35 n_reed - * [r49207] misc/CMake/LEMON_Util.cmake, - src/other/re2c/CMake/LEMON_Util.cmake, - src/other/step/CMake/LEMON_Util.cmake: - remove debug message + * [r54558] src/librt/primitives/tgc/tgc.c: + handle recs specially to reduce calls to cos/sin -2012-02-02 22:02 starseeker +2013-03-07 18:31 n_reed - * [r49206] misc/CMake/CompilerFlags.cmake: - Hmm... make test match comment - was checking for gnu90 on debug, - gnu99 on release - check for both if doing release. How come - these checks are release only? + * [r54557] src/other/libvds/build.c: + disable calculation of node bounds -2012-02-02 22:00 starseeker +2013-03-07 17:55 r_weiss - * [r49205] CMakeLists.txt, misc/CMake/LEMON_Util.cmake, - misc/CMake/LoadMacros.cmake, src/other/CMakeLists.txt, - src/other/libutahrle/CMakeLists.txt, - src/other/re2c/CMake/LEMON_Util.cmake, - src/other/re2c/CMakeLists.txt, - src/other/sqlite3/tcl/CMakeLists.txt, - src/other/step/CMake/LEMON_Util.cmake, - src/other/step/CMakeLists.txt, src/other/tcl/CMakeLists.txt, - src/other/tk/CMakeLists.txt, src/other/tkhtml/CMakeLists.txt, - src/other/tkpng/CMakeLists.txt, src/other/tktable/CMakeLists.txt, - src/other/togl/CMakeLists.txt: - Try to be better about using misc/CMake .cmake files by default. - Tweak the listing of additional files to clean from lemon output. + * [r54556] src/libged/analyze.c: + Fixed ADD_PT macro in libged "analyze.c". This prevents a seg + fault when running analyze on an ARB8. -2012-02-02 21:02 starseeker +2013-03-07 06:27 brlcad - * [r49204] src/other/URToolkit/CMakeLists.txt, - src/other/clipper/CMakeLists.txt, src/other/hv3/CMakeLists.txt, - src/other/incrTcl/itcl/CMakeLists.txt, - src/other/incrTcl/itk/CMakeLists.txt, - src/other/iwidgets/CMakeLists.txt, src/other/jove/CMakeLists.txt, - src/other/lemon/CMakeLists.txt, - src/other/libregex/CMakeLists.txt, - src/other/libtermlib/CMakeLists.txt, - src/other/libutahrle/CMakeLists.txt, - src/other/openNURBS/CMakeLists.txt, - src/other/perplex/CMakeLists.txt, src/other/re2c/CMakeLists.txt, - src/other/sqlite3/CMakeLists.txt, - src/other/sqlite3/tcl/CMakeLists.txt, - src/other/step/CMakeLists.txt, src/other/tcl/CMakeLists.txt, - src/other/tk/CMakeLists.txt, src/other/tkhtml/CMakeLists.txt, - src/other/tkpng/CMakeLists.txt, src/other/tktable/CMakeLists.txt, - src/other/togl/CMakeLists.txt, src/other/xmltools/CMakeLists.txt, - src/other/xmltools/libexslt/CMakeLists.txt, - src/other/xmltools/libxml/CMakeLists.txt, - src/other/xmltools/libxslt/CMakeLists.txt: - Clean up some ws in src/other + * [r54555] misc/CMake/distcheck_autotools.cmake.in: + ditto, add enable-png-build to distcheck-all target since it's no + longer default -2012-02-02 20:45 brlcad +2013-03-07 06:27 brlcad - * [r49203] misc/CMake/CompilerFlags.cmake: - toggle whether we're aiming for c89 or c99 based on the build - configuration, just so we get more portability coverage. as long - as we're compliant, might as well stay that way for as long as we - can bear. + * [r54554] Makefile.am: + enable the png build all the time for distcheck since it's now + off even with enable-all -2012-02-02 20:35 brlcad +2013-03-07 05:36 brlcad - * [r49202] src/libged/combmem.c: - gcc correctly detects an array overrun read where a vect_t was - being passed as a hvect_t with the H component getting used. - looks like at least a couple mistakes were made, fixed by just - making them hvect_t's. + * [r54553] src/adrt/load_g.c: + gah, fix trailing quote comment typo -2012-02-02 20:24 starseeker +2013-03-07 05:22 brlcad - * [r49201] src/other/re2c/CMake/LEMON_Util.cmake, - src/other/step/CMake/LEMON_Util.cmake: - Sync src/other copies of LEMON_Util.cmake + * [r54552] src/librt/wdb.c: + call BU_ALLOC() instead of BU_GET() since this is a pretty + big/infrequently allocated structure -2012-02-02 20:22 starseeker +2013-03-07 05:18 brlcad - * [r49200] src/libgcv/wfobj/CMakeLists.txt: - Gah - remove debug message + * [r54551] include/bu.h: + expand docs on how BU_GET()+BU_PUT() are supposed to be used, add + new BU_ALLOC() convenience macro that basically is the same as + the old BU_GETSTRUCT() macro without being specific to structs -- + it just saves some of the typing repetition when allocating a + single struct. most of the existing BU_GET() calls will get + converted to BU_ALLOC() unless a BU_PUT() pairing is + obvious/trivial or if it's performance-critical code. -2012-02-02 20:21 starseeker +2013-03-07 03:05 brlcad - * [r49199] misc/CMake/LEMON_Util.cmake, - src/libgcv/wfobj/CMakeLists.txt: - Make case labeling consistent. + * [r54550] src/librt/primitives/nmg/nmg_fuse.c: + NMG allocations are wrapped in get/put allocations, so release + with put, not with bu_free -2012-02-02 20:13 brlcad +2013-03-07 02:56 brlcad - * [r49198] CMakeLists.txt: - use the CheckTypeSize module's CHECK_TYPE_SIZE() macro for - explicitly evaluating the size of a pointer instead of assuming - cmake will figure it out for us. this takes care of the problems - assuming 32-bit on a 64-bit platform when the size can be - determined. unclear how cmake (repeatedly) got into states where - the CMAKE_SIZEOF_VOID_P ends up unset, but since it's a built-in - test, likely just some bug internal to cmake. + * [r54549] src/librt/comb/comb.c: + call malloc instead of get for now since the latter needs to be + paired with BU_PUT calls -2012-02-02 19:29 brlcad +2013-03-07 02:53 brlcad - * [r49197] misc/CMake/LEMON_Util.cmake: - also try to clean up the lemoninput file we copied. i may be - doing something wrong here, though.. because it's not evident - that this section of code is getting called. + * [r54548] src/adrt/load_g.c: + note that this memory doesn't seem(?) to be released -2012-02-02 18:24 brlcad +2013-03-07 00:54 brlcad - * [r49196] misc/CMake/LEMON_Util.cmake: - delete out lemon output files during make clean + * [r54547] include/solid.h: + call bu_calloc() instead of BU_GET() since the caller doesn't + know. -2012-02-02 18:11 n_reed +2013-03-06 22:37 brlcad - * [r49195] src/libbu/sscanf.c, src/libbu/test_sscanf.c: - make maximum field width mandatory for %s and %[...] conversions + * [r54546] CHANGES: + deprecate RT_GET_TREE() and RT_FREE_TREE(). probably minimally + impacting, but needs some review/testing so just scheduled -2012-02-02 17:33 brlcad +2013-03-06 22:32 brlcad - * [r49194] misc/CMake/Distclean.cmake: - add a distclean target so we can wipe out common cmake turds and - other built system entities without wiping out an entire build - tree. derived from distclean code by Jan Woetzel with some minor - tweaks for other compiler product dirs and more clear wording. + * [r54545] include/raytrace.h: + the motivation for RT_GET_TREE()/RT_FREE_TREE() and keeping a + free list in the resource structure may be moot or at least + unnecessary now, but warrants performance testing -2012-02-02 17:26 brlcad +2013-03-06 22:27 brlcad - * [r49193] src/other/step/src/fedex_plus/classes.c, - src/other/step/src/fedex_plus/classes_misc.c, - src/other/step/src/fedex_plus/fedex_idl.c: - more static_inline propagation so we support strict c89 mode + * [r54544] src/libbu/CMakeLists.txt, src/libbu/Makefile.am: + add new heap.c for compilation -2012-02-02 17:26 brlcad +2013-03-06 22:24 brlcad - * [r49192] src/other/step/src/express/fedex.c: - include getopt.h directly in case we're compiling in strict c89 - mode + * [r54543] src/libbu/heap.c: + stub in an initial implementation of a really fast heap-based + memory allocation capability for small allocation sizes. it + allocates size-designated blocks of memory ('pages') in order to + substantially reduce calls to system malloc. it has a nice + property of being O(1) on alloc and profiles substantially faster + than system malloc. from half to several orders of magnitude in + testing (making the call cost near-zero). presently only + implemented for byte sizes 1 through 64 (trivial to extend). + implementation of free is stubbed empty, but intend to reuse free + cells and reclaim memory on-demand. made to match BU_GET/BU_PUT + so it can serve as the back-end implementation. -2012-02-02 17:10 brlcad +2013-03-06 22:02 brlcad - * [r49191] src/libged/analyze.c: - no // comments in C files for portability + * [r54542] include/nmg.h: + cast makes for an invalid lvalue, remove it -2012-02-02 17:09 brlcad +2013-03-06 22:02 brlcad - * [r49190] src/conv/obj-g.c, src/shapes/coil.c: - break up the long string literal for c89 compliance + * [r54541] include/nurb.h: + call bu_calloc instead of BU_GET since we don't call the + corresponding BU_PUT -2012-02-02 17:08 brlcad +2013-03-06 21:47 carlmoore - * [r49189] src/libbu/Makefile.am: - realpath missing + * [r54540] src/util/bw3-pix.c: + use capital U -2012-02-02 17:08 brlcad +2013-03-06 20:57 brlcad - * [r49188] src/libpkg/example/server.c: - c89-style comments + * [r54539] src/libged/ged.c: + match BU_PUT() to BU_GET() allocation -2012-02-02 17:08 brlcad +2013-03-06 20:49 brlcad - * [r49187] src/libicv/Makefile.am: - use PNG_CPPFLAGS instead of hard-coding them so that we don't get - a conflict if png is disabled + * [r54538] include/nmg.h: + BU_PUT() to match BU_GET() -2012-02-02 17:07 brlcad +2013-03-06 20:47 brlcad - * [r49186] src/other/step/src/express/expr.c, - src/other/step/src/express/expscan.l: - use static_inline instead of 'static inline' so that we're - consistent with other uses and expand correctly to the right - symbols for this compilation + * [r54537] include/bu.h: + examples should do what the api docs say, if we call BU_GET() + then we should call BU_PUT() ... not bu_free(). -2012-02-02 17:06 brlcad +2013-03-06 19:54 brlcad - * [r49185] src/other/step/include/express/basic.h: - use __inline__ instead of inline for c89 compilation + * [r54536] src/librt/db5_io.c, src/librt/db5_scan.c: + remove the pooling on geometry objects at the IO layer. testing + of the pooling calls indicated performance was substantially + slower than system malloc/free (by an order of magnitude). -2012-02-01 23:29 n_reed +2013-03-06 17:33 carlmoore - * [r49184] src/libbu/test_sscanf.c: - add some vls conversion tests + * [r54535] src/fb/bw-fb.c: + insert space before a left parenthesis -2012-02-01 23:16 n_reed +2013-03-06 16:51 brlcad - * [r49183] src/libbu/sscanf.c: - need to skip input whitespace for %Vc and %V[...] iff conversion - format is preceded by whitespace + * [r54534] src/other/tcl/CMakeLists.txt: + shouldn't be compiling tclAppInit into libtcl -- it contains a + main() intended for front end clients like tclsh -2012-02-01 23:09 bob1961 +2013-03-05 18:32 n_reed - * [r49182] src/tclscripts/archer/BotUtility.tcl: - Sort the list of bots + * [r54533] src/libtclcad/tclcad_obj.c: + have archer redraw after interactive zoom when doing adaptive + plotting -2012-02-01 22:58 bob1961 +2013-03-05 15:44 n_reed - * [r49181] src/tclscripts/archer/ArcherCore.tcl: - After initiating a bot_split while in COMP_PICK_BOT_SPLIT_MODE, - remove the old/original bot from the display. + * [r54532] src/libged/draw.c: + fix leaked path memory -2012-02-01 22:26 bob1961 +2013-03-05 14:28 bob1961 - * [r49180] src/tclscripts/archer/ArcherCore.tcl: - Indicate to the user when a bot_split initiated in - COMP_PICK_BOT_SPLIT_MODE is complete. + * [r54531] src/tclscripts/archer/BotEditFrame.tcl: + Tweak BotEditFrame::loadTables. -2012-02-01 22:21 bob1961 +2013-03-05 11:25 indianlarry - * [r49179] src/tclscripts/archer/ArcherCore.tcl: - This updates the COMP_PICK_BOT_SPLIT_MODE to work with the - previously updated bot_split2 method that was modified in - Oct-2011. + * [r54530] src/other/poly2tri/poly2tri/sweep/advancing_front.h, + src/other/poly2tri/poly2tri/sweep/sweep.cc, + src/other/poly2tri/poly2tri/sweep/sweep.h: + Determine circumcircle during sweep adding event to close points + when height of circumcircle is reached. Current methodology was + solely using angles between neighbors on the advancing front + occasionally causing non-conforming triangles to be formed. -2012-02-01 22:05 starseeker +2013-03-04 22:30 carlmoore - * [r49178] CMakeLists.txt: - We aren't currently using ExternalProject_Add, but add in a - little more of what would be needed if we did add a use of that - macro with a note on what else would be necessary. + * [r54529] src/anim/chan_permute.c: + avoid error messages and *bomb.log file, and instead print Usage + if no arguments are found -2012-02-01 21:49 n_reed +2013-03-04 17:28 indianlarry - * [r49177] src/libbu/sscanf.c: - still need to match literal sequence even if it ends with null + * [r54528] src/other/poly2tri/poly2tri/sweep/sweep_context.cc, + src/other/poly2tri/poly2tri/sweep/sweep_context.h: + Added function AddPointCheckForDuplicates() to class SweepContext + to extend the package to check for duplicates in both the + constrained polygon inputs (SweepContext(std::vector + &polyline) constructor, AddOuterLoop() and AddHole() functions) + or from the new AddPointCheckForDuplicatees(). -2012-02-01 21:35 n_reed +2013-03-04 17:06 indianlarry - * [r49176] src/libbu/sscanf.c: - fix typo + * [r54527] src/other/poly2tri/poly2tri/sweep/sweep_context.cc: + Need to assign triangle for advancing front tail pointer at front + initialization. -2012-02-01 21:08 n_reed +2013-03-04 16:10 indianlarry - * [r49175] src/libbu/sscanf.c: - make returns more uniform + * [r54526] src/other/poly2tri/poly2tri/sweep/cdt.cc, + src/other/poly2tri/poly2tri/sweep/cdt.h, + src/other/poly2tri/poly2tri/sweep/sweep.cc, + src/other/poly2tri/poly2tri/sweep/sweep.h, + src/other/poly2tri/poly2tri/sweep/sweep_context.cc, + src/other/poly2tri/poly2tri/sweep/sweep_context.h: + Added default constructor, AddOuterLoop() and GetPoints() + functions for classes CDT and SweepContext. Added parameters + 'finalize(bool)' and 'num_points' to Triangulate() function for + class CDT and Sweep to be able to stop sweep at any point for + debugging. Also added 'num_points' parameter to SweepPoints() + function. -2012-02-01 21:05 starseeker +2013-03-04 12:23 bob1961 - * [r49174] CMakeLists.txt: - typo? don't see how custtarget is defined here + * [r54525] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl: + Expose rt_bot_mintie in Archer via the preferences panel. -2012-02-01 20:22 n_reed +2013-03-01 22:08 r_weiss - * [r49173] src/libbu/sscanf.c: - add a %Vs format for writing a string to a vls + * [r54524] doc/docbook/system/mann/en/lc.xml: + Fix an error in the mged 'lc' command documentation. -2012-02-01 18:20 n_reed +2013-03-01 21:58 r_weiss - * [r49172] src/libbu/sscanf.c: - add a %V[...] format for writing characters of a given character - class to a vls + * [r54523] doc/docbook/system/mann/en/gr.xml: + Update to the mged 'gr' command documentation. -2012-02-01 17:51 n_reed +2013-03-01 21:22 r_weiss - * [r49171] src/libbu/sscanf.c: - add a %Vc format for writing chars to a vls + * [r54522] doc/docbook/system/mann/en/lc.xml: + Update to mged 'lc' command documentation. -2012-02-01 17:51 starseeker +2013-03-01 21:03 r_weiss - * [r49170] src/CMakeLists.txt, src/adrt/CMakeLists.txt, - src/anim/CMakeLists.txt, src/brlman/CMakeLists.txt, - src/burst/CMakeLists.txt, src/bwish/CMakeLists.txt, - src/canon/CMakeLists.txt, src/conv/iges/CMakeLists.txt, - src/conv/intaval/CMakeLists.txt, src/fb/CMakeLists.txt, - src/fbed/CMakeLists.txt, src/fbserv/CMakeLists.txt, - src/halftone/CMakeLists.txt, src/irprep/CMakeLists.txt, - src/lgt/CMakeLists.txt, src/mged/CMakeLists.txt, - src/mged/points/CMakeLists.txt, src/nirt/CMakeLists.txt, - src/proc-db/CMakeLists.txt, src/remrt/CMakeLists.txt, - src/rt/CMakeLists.txt, src/rttherm/CMakeLists.txt, - src/shapes/CMakeLists.txt, src/sig/CMakeLists.txt, - src/tab/CMakeLists.txt, src/tclscripts/CMakeLists.txt, - src/tclscripts/archer/CMakeLists.txt, - src/tclscripts/archer/images/CMakeLists.txt, - src/tclscripts/boteditor/CMakeLists.txt, - src/tclscripts/geometree/CMakeLists.txt, - src/tclscripts/hv3/CMakeLists.txt, - src/tclscripts/mged/CMakeLists.txt, - src/tclscripts/pl-dm/CMakeLists.txt, - src/tclscripts/rtwizard/CMakeLists.txt, - src/tclscripts/sdialogs/CMakeLists.txt, - src/tclscripts/swidgets/CMakeLists.txt, - src/tclscripts/swidgets/images/CMakeLists.txt, - src/tclscripts/swidgets/scripts/CMakeLists.txt, - src/tclscripts/util/CMakeLists.txt, src/util/CMakeLists.txt, - src/vdeck/CMakeLists.txt: - ws + * [r54521] doc/docbook/system/man1/en/gqa.xml, + doc/docbook/system/mann/en/gqa.xml: + Updated "gqa" documentation adding the "-q" option. -2012-02-01 17:51 bob1961 +2013-03-01 20:54 carlmoore - * [r49169] include/dm.h, src/libdm/dm-Null.c, src/libdm/dm-X.c, - src/libdm/dm-ogl.c, src/libdm/dm-plot.c, src/libdm/dm-ps.c, - src/libdm/dm-rtgl.c, src/libdm/dm-tk.c, src/libdm/dm-wgl.c, - src/libged/draw.c, src/libtclcad/tclcad_obj.c, src/mged/dodraw.c, - src/mged/dozoom.c, src/mged/mged.c, src/mged/mged.h: - Added dm_genDLists to struct dm. Changed dm_drawDList to return - void. Set sp->s_dlist with a call to DM_GEN_DLISTS and use - directly in openGL calls (i.e. no longer adding an offset). Also - updated MGED's use of display lists (i.e. things are now being - colored correctly. Also display lists were not always getting - built). - -2012-02-01 17:30 starseeker - - * [r49168] doc/CMakeLists.txt, doc/docbook/CMakeLists.txt, - doc/docbook/articles/en/CMakeLists.txt, - doc/docbook/books/en/CMakeLists.txt, - doc/docbook/lessons/en/CMakeLists.txt, - doc/docbook/lessons/es/CMakeLists.txt, - doc/docbook/presentations/en/CMakeLists.txt, - doc/docbook/specifications/en/CMakeLists.txt, - doc/docbook/system/man1/en/CMakeLists.txt, - doc/docbook/system/man3/en/CMakeLists.txt, - doc/docbook/system/man5/en/CMakeLists.txt, - doc/docbook/system/mann/en/CMakeLists.txt, - doc/html/CMakeLists.txt, doc/legal/CMakeLists.txt, - misc/CMakeLists.txt, misc/enigma/CMakeLists.txt, - misc/pkgconfig/CMakeLists.txt, - misc/win32-msvc/Dll/CMakeLists.txt, regress/CMakeLists.txt, - regress/gcv/CMakeLists.txt, regress/mged/CMakeLists.txt, - src/archer/CMakeLists.txt, src/gtools/CMakeLists.txt: - more whitespace cleanup + * [r54520] src/fb/cell-fb.c: + for cell-fb, add 'cell-fb: ' to error messages, fold 2 lines into + 1, fix options-list spacing, shorten usage statement -2012-02-01 17:22 starseeker +2013-03-01 20:32 r_weiss - * [r49167] db/CMakeLists.txt, doc/html/CMakeLists.txt, - misc/CMake/BRLCAD_Util.cmake, misc/CMakeLists.txt, - src/archer/CMakeLists.txt, src/conv/CMakeLists.txt, - src/gtools/CMakeLists.txt, src/libanalyze/CMakeLists.txt, - src/libbn/CMakeLists.txt, src/libbu/CMakeLists.txt, - src/libcursor/CMakeLists.txt, src/libdm/CMakeLists.txt, - src/libfb/CMakeLists.txt, src/libfft/CMakeLists.txt, - src/libgcv/CMakeLists.txt, src/libged/CMakeLists.txt, - src/libicv/CMakeLists.txt, src/libmultispectral/CMakeLists.txt, - src/liboptical/CMakeLists.txt, src/liborle/CMakeLists.txt, - src/libpc/CMakeLists.txt, src/libpkg/CMakeLists.txt, - src/librt/CMakeLists.txt, src/librtserver/CMakeLists.txt, - src/libsysv/CMakeLists.txt, src/libtclcad/CMakeLists.txt, - src/libtermio/CMakeLists.txt, src/libwdb/CMakeLists.txt, - src/rt/CMakeLists.txt, src/util/CMakeLists.txt, - src/vfont/CMakeLists.txt: - BRLCAD_INCLUDE_DIRS is not as general as that name implies - - rename to BRLCAD_LIB_INCLUDE_DIRS and remove some 'magic' - variable name assumptions. While we're at it, clean up whitespace - and capitalization - -2012-02-01 16:40 starseeker - - * [r49166] CMakeLists.txt: - Add a few more links to RPATH handling docs - -2012-02-01 14:54 tbrowder2 - - * [r49165] README: - mention minimum required version of CMake so user isn't surprised - later - -2012-02-01 00:29 starseeker - - * [r49164] misc/CMake/CheckCSourceRuns.cmake, - src/other/incrTcl/itcl/CMake/CheckCSourceRuns.cmake, - src/other/incrTcl/itk/CMake/CheckCSourceRuns.cmake, - src/other/sqlite3/CMake/CheckCSourceRuns.cmake, - src/other/step/CMake/CheckCSourceRuns.cmake, - src/other/tcl/CMake/CheckCSourceRuns.cmake, - src/other/tk/CMake/CheckCSourceRuns.cmake, - src/other/togl/CMake/CheckCSourceRuns.cmake: - Quote SOURCE in case of spaces in pathnames... - -2012-02-01 00:19 starseeker - - * [r49163] misc/CMake/BRLCAD_CheckFunctions.cmake, - misc/CMake/CheckCFileRuns.cmake, - misc/CMake/CheckCSourceRuns.cmake, misc/CMake/FindLEX.cmake, - misc/CMake/FindTERMLIB.cmake, - src/other/incrTcl/itcl/CMake/CheckCFileRuns.cmake, - src/other/incrTcl/itcl/CMake/CheckCSourceRuns.cmake, - src/other/incrTcl/itcl/CMake/ac_std_funcs.cmake, - src/other/incrTcl/itcl/CMake/tcl.cmake, - src/other/incrTcl/itk/CMake/CheckCFileRuns.cmake, - src/other/incrTcl/itk/CMake/CheckCSourceRuns.cmake, - src/other/incrTcl/itk/CMake/ac_std_funcs.cmake, - src/other/incrTcl/itk/CMake/tcl.cmake, - src/other/sqlite3/CMake/CheckCSourceRuns.cmake, - src/other/sqlite3/tcl/CMake/CheckCFileRuns.cmake, - src/other/sqlite3/tcl/CMake/CheckCSourceRuns.cmake, - src/other/sqlite3/tcl/CMake/ac_std_funcs.cmake, - src/other/sqlite3/tcl/CMake/tcl.cmake, - src/other/step/CMake/CheckCFileRuns.cmake, - src/other/step/CMake/CheckCSourceRuns.cmake, - src/other/step/CMake/FindLEX.cmake, - src/other/tcl/CMake/CheckCFileRuns.cmake, - src/other/tcl/CMake/CheckCSourceRuns.cmake, - src/other/tcl/CMake/ac_std_funcs.cmake, - src/other/tcl/CMake/tcl.cmake, - src/other/tk/CMake/CheckCFileRuns.cmake, - src/other/tk/CMake/CheckCSourceRuns.cmake, - src/other/tk/CMake/ac_std_funcs.cmake, - src/other/tk/CMake/tcl.cmake, - src/other/togl/CMake/CheckCFileRuns.cmake, - src/other/togl/CMake/CheckCSourceRuns.cmake, - src/other/togl/CMake/CheckFunctions.cmake: - Dispose of the one-off CHECK_C_FILE_RUNS and instead enhance - CHECK_C_SOURCE_RUNS. Will try to contribute the change upstream. - -2012-01-31 23:47 n_reed - - * [r49162] src/libbu/sscanf.c: - build accepted character table for character class - -2012-01-31 23:42 starseeker - - * [r49161] misc/CMake/BRLCAD_CheckFunctions.cmake, - misc/CMake/BRLCAD_CompilerFlags.cmake, - misc/CMake/BRLCAD_Dependent_Options.cmake, - misc/CMake/BRLCAD_Options.cmake, misc/CMake/BRLCAD_Util.cmake, - misc/CMake/CheckCFileRuns.cmake, misc/CMake/CompilerFlags.cmake, - misc/CMake/DiffCache.cmake, misc/CMake/FindGL.cmake, - misc/CMake/FindLEMON.cmake, misc/CMake/FindOIIO.cmake, - misc/CMake/FindOPENNURBS.cmake, misc/CMake/FindOSL.cmake, - misc/CMake/FindOpenEXR.cmake, misc/CMake/FindPERPLEX.cmake, - misc/CMake/FindPkgMacros.cmake, misc/CMake/FindRE2C.cmake, - misc/CMake/FindREGEX.cmake, misc/CMake/FindSCL.cmake, - misc/CMake/FindShellDeps.cmake, misc/CMake/FindTBB.cmake, - misc/CMake/FindTCL.cmake, misc/CMake/FindTERMLIB.cmake, - misc/CMake/FindUTAHRLE.cmake, misc/CMake/FindX11.cmake, - misc/CMake/FindXMLLINT.cmake, misc/CMake/FindXSLTPROC.cmake, - misc/CMake/FindYACC.cmake, misc/CMake/FindZLIB.cmake, - misc/CMake/LEMON_Util.cmake, misc/CMake/PERPLEX_Util.cmake, - misc/CMake/RE2C_Util.cmake, misc/CMake/ResetCache.cmake, - misc/CMake/ResolveCompilerPaths.cmake, - misc/CMake/ThirdParty.cmake, misc/CMake/ThirdParty_TCL.cmake, - src/other/incrTcl/itk/CMake/FindX11.cmake, - src/other/re2c/CMake/FindLEMON.cmake, - src/other/re2c/CMake/LEMON_Util.cmake, - src/other/step/CMake/FindLEMON.cmake, - src/other/step/CMake/LEMON_Util.cmake, - src/other/tk/CMake/FindX11.cmake, - src/other/tkhtml/CMake/FindX11.cmake, - src/other/tkpng/CMake/FindX11.cmake, - src/other/tktable/CMake/FindX11.cmake, - src/other/xmltools/CMake/ResolveCompilerPaths.cmake: - Fix shiftwidth for vim in .cmake files + * [r54519] src/libged/gqa.c: + Added a "-q" option to the "gqa" command. This quiets + (suppresses) the "was not hit" reporting. -2012-01-31 23:36 starseeker +2013-03-01 18:59 bob1961 - * [r49160] src/conv/CMakeLists.txt: - ws + * [r54518] src/external/ProEngineer/msvc10, + src/external/ProEngineer/msvc10/proe, + src/external/ProEngineer/msvc10/proe-brl-creo-2.0, + src/external/ProEngineer/msvc10/proe-brl-creo-2.0/proe-brl-creo-2.0.vcxproj, + src/external/ProEngineer/msvc10/proe/proe.sln: + Added windows build files for Creo Parametric 2.0. -2012-01-31 23:35 starseeker +2013-03-01 18:58 indianlarry - * [r49159] src/conv/step/CMakeLists.txt: - ws + * [r54517] src/other/poly2tri/poly2tri/common/shapes.cc, + src/other/poly2tri/poly2tri/common/shapes.h, + src/other/poly2tri/poly2tri/sweep/sweep.cc, + src/other/poly2tri/poly2tri/sweep/sweep.h: + Added FindInternalTriangle() function with supporting details to + more reliably find an initial triangle within the trimming + constrained edges. -2012-01-31 23:34 starseeker +2013-03-01 18:06 indianlarry - * [r49158] src/conv/step/CMakeLists.txt: - Slight clean-up of the fedex generating CMake logic, even though - it's not active yet. + * [r54516] src/other/poly2tri/poly2tri/sweep/cdt.cc, + src/other/poly2tri/poly2tri/sweep/cdt.h, + src/other/poly2tri/poly2tri/sweep/sweep_context.cc, + src/other/poly2tri/poly2tri/sweep/sweep_context.h: + Cleaned up several functions to pass parameters as references. + Added points collection cleanup in destructor ~sweep_context(). -2012-01-31 22:48 bob1961 +2013-03-01 17:31 bob1961 - * [r49157] include/bn.h, src/libdm/dm-X.c, src/libdm/dm-ogl.c, - src/libdm/dm-plot.c, src/libdm/dm-ps.c, src/libdm/dm-tk.c, - src/libdm/dm-wgl.c, src/libged/draw.c, src/libged/plot.c, - src/libged/png.c, src/libged/ps.c, src/libged/select.c, - src/librt/primitives/bot/bot.c, - src/librt/primitives/nmg/nmg_misc.c, src/librt/vlist.c, - src/mged/dodraw.c, src/mged/plot.c, src/mged/polyif.c, - src/mged/rtif.c, src/util/pl-dm.c: - Added new vlist commands to support triangles. This allows the - display managers that care to do something better/faster if they - know they have triangles as opposed to polygons. + * [r54515] src/external/ProEngineer/INSTALL.txt, + src/external/ProEngineer/proe-brl.c: + Updates for Creo Parametric 2.0 -2012-01-31 20:46 starseeker +2013-03-01 17:24 indianlarry - * [r49156] NEWS: - Review of Coverity issue 2069, commit r48706 - fix looks good. - Clean up handling of input read failure case in burst. + * [r54514] src/other/poly2tri/poly2tri/common/shapes.cc, + src/other/poly2tri/poly2tri/common/shapes.h, + src/other/poly2tri/poly2tri/sweep/sweep.cc: + Updated function NeighborAcross() to return pointer to triangle + consistent with NeighborCW() and NeighborCCW() functions. Cleaned + up several functions to pass parameters as references. -2012-01-31 20:39 starseeker +2013-03-01 00:29 n_reed - * [r49155] NEWS: - Review of Coverity issue 2070 - fix looks good. double-free error - potentially visible in shp-g. + * [r54513] src/other/libvds/notes.txt: + add some dev notes on libvds -2012-01-31 20:35 n_reed +2013-02-28 20:51 r_weiss - * [r49154] src/libbu/sscanf.c: - flags variable should be long int type given how many flags are - being used + * [r54512] src/libged/bot_merge.c: + Added plate mode bot support in the mged bot_merge command. -2012-01-31 18:14 n_reed +2013-02-28 18:46 carlmoore - * [r49153] src/libbu/test_sscanf.c: - consistently print src and fmt strings + * [r54511] src/util/bwthresh.c: + if i is 0, do we proceed in that && construct to use i-1 + subscript? -2012-01-31 17:54 starseeker +2013-02-28 18:35 carlmoore - * [r49152] CMakeLists.txt: - When doing a delta, start the clock closer to the beginning... - probably not terribly significant since most of the time is taken - up in tests, but makes more sense if you're going looking for it - in the code. + * [r54510] src/util/bwthresh.c: + minor format changes to messages -2012-01-31 17:41 n_reed +2013-02-28 17:57 carlmoore - * [r49151] src/libbu/test_sscanf.c: - add some simple tests of error behavior + * [r54509] src/util/bwfilter.c: + insert indentation and a 'Possible arguments ...' line -2012-01-31 14:30 bob1961 +2013-02-28 17:02 carlmoore - * [r49150] src/libtclcad/tclcad_obj.c: - If scale is NULL, the passed in argc should be 1. + * [r54508] src/util/bwcrop.c: + change error messages as yesterday, but 'bwcrop:' is already + present + +2013-02-27 22:46 carlmoore + + * [r54507] src/util/bwrect.c: + oops, needed to refer to bwrect, not to pixrect + +2013-02-27 22:45 carlmoore + + * [r54506] src/util/bwrect.c: + clarify error messages, and fix wrong argv member in one of them + +2013-02-27 20:45 r_weiss + + * [r54505] include/raytrace.h: + Increased size of librt db hash table. Improves performance of + some operations when the model has a large number of objects (ie + > 40k). + +2013-02-27 20:05 r_weiss + + * [r54504] src/libged/nirt.c: + More updates to function ged_nirt. + +2013-02-27 19:07 r_weiss + + * [r54503] src/libged/nirt.c: + Fixed a bug in the mged nirt command when running on windows. + Changed an array to variable length. When a large number of + objects is displayed, the array length would be exceeded causing + nirt to fail with a message that an object could not be found. + +2013-02-27 17:16 indianlarry + + * [r54502] src/other/CMakeLists.txt, src/other/poly2tri.dist, + src/other/poly2tri/CMakeLists.txt, + src/other/poly2tri/poly2tri/common/utils.cc, + src/other/poly2tri/poly2tri/common/utils.h: + Split 'utils' class into declaration and definition files utils.h + and utils.cc. Also added cmake changes for integration into + BRL-CAD build. -2012-01-30 23:54 bob1961 +2013-02-27 16:31 d_rossberg - * [r49149] include/tclcad.h, src/libtclcad/tclcad_obj.c, - src/tclscripts/lib/Ged.tcl: - Expose display list capability via libtclcad and - tclscripts/lib/Ged.tcl + * [r54501] src/libbu/semaphore.c: + corrected test for failed mutex locking in Windows -2012-01-30 23:02 bob1961 +2013-02-27 16:28 d_rossberg - * [r49148] src/libged/bigE.c, src/libged/draw.c, - src/libged/erase.c, src/libged/preview.c, - src/libged/set_transparency.c, src/libged/zap.c: - Initial code to send notification via callback when vlists are - created or freed. + * [r54500] AUTHORS, src/libbu/semaphore.c: + apply patch from Arjun Govindjee + (http://www.google-melange.com/gci/task/view/google/gci2012/7999206) + implement mutex locking for windows -2012-01-30 22:57 bob1961 +2013-02-27 15:48 indianlarry - * [r49147] include/ged.h, include/obj.h, include/tclcad.h: - Moved struct ged_dm_view and struct ged_obj to tclcad.h. Moved - declaration of go_refresh() and go_refresh_draw() to tclcad.h. - Added ged_create_dlist_callback and ged_free_dlist_callback to - struct ged. + * [r54499] src/other/poly2tri, src/other/poly2tri/AUTHORS, + src/other/poly2tri/LICENSE, src/other/poly2tri/README.md, + src/other/poly2tri/poly2tri, src/other/poly2tri/poly2tri/common, + src/other/poly2tri/poly2tri/common/shapes.cc, + src/other/poly2tri/poly2tri/common/shapes.h, + src/other/poly2tri/poly2tri/common/utils.h, + src/other/poly2tri/poly2tri/poly2tri.h, + src/other/poly2tri/poly2tri/sweep, + src/other/poly2tri/poly2tri/sweep/advancing_front.cc, + src/other/poly2tri/poly2tri/sweep/advancing_front.h, + src/other/poly2tri/poly2tri/sweep/cdt.cc, + src/other/poly2tri/poly2tri/sweep/cdt.h, + src/other/poly2tri/poly2tri/sweep/sweep.cc, + src/other/poly2tri/poly2tri/sweep/sweep.h, + src/other/poly2tri/poly2tri/sweep/sweep_context.cc, + src/other/poly2tri/poly2tri/sweep/sweep_context.h, + src/other/poly2tri/readme.txt, src/other/poly2tri/testbed, + src/other/poly2tri/testbed/data, + src/other/poly2tri/testbed/data/2.dat, + src/other/poly2tri/testbed/data/bird.dat, + src/other/poly2tri/testbed/data/custom.dat, + src/other/poly2tri/testbed/data/debug.dat, + src/other/poly2tri/testbed/data/debug2.dat, + src/other/poly2tri/testbed/data/diamond.dat, + src/other/poly2tri/testbed/data/dude.dat, + src/other/poly2tri/testbed/data/funny.dat, + src/other/poly2tri/testbed/data/kzer-za.dat, + src/other/poly2tri/testbed/data/nazca_heron.dat, + src/other/poly2tri/testbed/data/nazca_monkey.dat, + src/other/poly2tri/testbed/data/polygon.dae, + src/other/poly2tri/testbed/data/sketchup.dat, + src/other/poly2tri/testbed/data/star.dat, + src/other/poly2tri/testbed/data/strange.dat, + src/other/poly2tri/testbed/data/tank.dat, + src/other/poly2tri/testbed/data/test.dat, + src/other/poly2tri/testbed/main.cc, src/other/poly2tri/waf, + src/other/poly2tri/wscript: + Initial checkin of the 'poly2tri' C++ library for creating a + constrained Delaunay triangulation (CDT) of a polygon using a + sweep-line algorithm. This package will be used during the + generation of facet meshes for BRL-CAD NURBS. This version of + 'poly2tri' was obtained from github at + 'git://github.com/jhasse/poly2tri.git' and based of a google code + project of the same name. The methodology implemented is based on + the paper "Sweep-line algorithm for constrained Delaunay + triangulation" by V. Domiter and and B. Zalik. This checkin is a + snapshot of the initial repository code before being integrated + into the BRL-CAD build system. -2012-01-30 22:37 n_reed +2013-02-27 15:37 carlmoore - * [r49146] src/libbu/test_sscanf.c: - consistently exit on failure + * [r54498] src/libged/draw.c: + fix spelling -2012-01-30 22:21 n_reed +2013-02-27 15:20 n_reed - * [r49145] src/libbu/test_sscanf.c: - duplication reduction + * [r54497] src/tclscripts/lib/Ged.tcl: + remove duplicate pane_scale_mode method body -2012-01-30 21:02 starseeker +2013-02-26 23:21 n_reed - * [r49144] CMakeLists.txt: - clean up indentation (thanks emacs mode) + * [r54496] src/mged/chgview.c, src/mged/dm-generic.c, + src/mged/dodraw.c, src/mged/mged.h: + have mged redraw after zoom events when adaptive plotting is + enabled -2012-01-30 20:55 starseeker +2013-02-26 20:22 carlmoore - * [r49143] CMakeLists.txt: - stray upper->lower conversions + * [r54495] src/libbn/poly.c: + use M_SQRT3 for square root of 3 -2012-01-30 18:29 n_reed +2013-02-26 20:22 n_reed - * [r49142] src/libbu/test_sscanf.c: - Add tests for correct max field width behavior for common types. + * [r54494] include/ged.h, src/libged/draw.c: + add ged_redraw to recalculate vlists without changing display + state -2012-01-30 16:18 d_rossberg +2013-02-26 20:16 carlmoore - * [r49141] include/pstdint.h: - MSVS 2008 has an uintptr_t but no UINTPTR_MAX defined - therefore, if there is a MSVS with uintptr_t but no UINTPTR_MAX - defined => define the UINTPTR_MAX here + * [r54493] src/remrt/rtsrv.c, src/rt/opt.c, src/rt/viewrad.c, + src/rt/viewscat.c: + make use of M_SQRT2 and M_SQRT1/2 (the latter is sqrt(2.)/2) -2012-01-29 11:41 jordisayol +2013-02-26 20:09 n_reed - * [r49140] misc/debian/control: - Update debian sources building dependencies. + * [r54492] src/proc-db/tube.c: + remove broken comment -2012-01-29 11:30 jordisayol +2013-02-26 20:04 carlmoore - * [r49139] sh/make_deb.sh, sh/make_rpm.sh: - Update deb/rpm building dependencies. + * [r54491] src/conv/g-shell-rect.c: + use square root of 2 -2012-01-29 06:13 brlcad +2013-02-26 19:41 carlmoore - * [r49138] src/libtclcad/tclcad_obj.c: - enable support for the new autoview option to archer as well. - looks like spaghetti tentacles run deep as it's not a simple call - through to ged_autoview, but should do the trick + * [r54490] src/proc-db/tube.c: + use M_SQRT1_2 -2012-01-29 06:12 brlcad +2013-02-26 19:25 carlmoore - * [r49137] src/libged/autoview.c: - clarity, model scale and view factor + * [r54489] src/librt/primitives/tgc/tgc.c: + make use of M_SQRT1_2 -2012-01-29 06:04 brlcad +2013-02-26 19:23 carlmoore - * [r49136] src/mged/chgview.c: - bah, stupid. need to update the mged hook function to allow and - pass the new scale option too. + * [r54488] src/librt/primitives/superell/superell.c: + use M_SQRT1_2, and clarify some comments about use of degrees, + not radians -2012-01-29 05:55 brlcad +2013-02-26 18:43 carlmoore - * [r49135] NEWS: - after mailing list discussion prompted by tom browder, added an - optional scaling parameter to the autoview command so that you - can display geometry presized with respect to the view. default - is still what it was fitting the model bounding sphere to half - the view, i.e., scale of 0.5 + * [r54487] src/librt/primitives/nmg/nmg_inter.c: + make use of M_SQRT1_2 -2012-01-29 05:49 brlcad +2013-02-26 18:40 carlmoore - * [r49134] src/libged/autoview.c: - add an optional scaling parameter to the autoview command. this - lets users override the default behavior, which is to scale the - view to twice the model bounding sphere. parameter is implemented - as the model scale with respect to the view size so that .9 will - give 90% view, 2.0 will give a model twice the size of the view, - etc. + * [r54486] src/librt/primitives/ell/ell.c: + use M_SQRT1_2 , and clarify some remarks about use of degrees, + not radians -2012-01-28 02:54 starseeker +2013-02-26 18:16 carlmoore - * [r49133] CMakeLists.txt: - For now, take out the dll relocation - if someone wants to do - testing or we put it back in 'live', all that should be needed is - a reverse merge on this commit. Until we're ready, leave Windows - in a working state. + * [r54485] src/liboptical/sh_cloud.c: + make use of sqrt(1/2) -2012-01-27 20:43 starseeker +2013-02-26 13:33 bob1961 - * [r49132] CMakeLists.txt: - Looks like we need to set target properties for multiple - configurations, in order to re-direct appropriately. + * [r54484] src/libged/comb.c: + More simplification of _ged_combadd2(). -2012-01-27 19:46 n_reed +2013-02-26 13:28 bob1961 - * [r49131] src/libbu/test_sscanf.c: - ensure float constants are printable + * [r54483] src/libged/comb.c: + More simplification of _ged_combadd2(). -2012-01-27 19:19 n_reed +2013-02-26 13:08 indianlarry - * [r49130] src/libbu/test_sscanf.c: - add tests for string termination behavior and support of literal - ']' and '-' in character classes + * [r54482] src/librt/primitives/brep/brep_debug.cpp: + Added “KN2d” option to “brep” command to display surface knots in + 2d UV space. -2012-01-27 16:28 erikgreenwald +2013-02-26 12:54 bob1961 - * [r49129] src/libgcv/test_bottess.c: - add more compose tests + * [r54481] src/libged/comb.c: + Simplify the code a bit in _ged_combadd2(). -2012-01-27 16:27 erikgreenwald +2013-02-26 12:30 indianlarry - * [r49128] src/libgcv/bottess.c: - fix bug, wrong faces being removed and kept. + * [r54480] src/librt/primitives/brep/brep_debug.cpp: + Fixed occurrences where face index was being checked to see if it + were less than the total number of surfaces, it should be checked + to the total number of faces instead. In openNURBS you can have + more than one face per surface leading to the number of faces + greater than the number of surfaces. -2012-01-27 16:15 erikgreenwald +2013-02-25 23:08 r_weiss - * [r49127] src/libgcv/bottess.c: - fix off by one error in bulk face removal + * [r54479] include/raytrace.h: + Update to prevent problems with 64bit windows since 'sum' can be + a value as large as a pointer value. -2012-01-27 15:58 erikgreenwald +2013-02-25 23:05 r_weiss - * [r49126] src/libgcv/test_bottess.c: - makr foo. test nfaces. init bn_tol. + * [r54478] src/librt/db_lookup.c: + Update to db_lookup to prevent problems with 64bit windows since + 'long int' is not the same size as a pointer. -2012-01-27 14:43 erikgreenwald +2013-02-25 22:38 r_weiss - * [r49125] src/libgcv/test_bottess.c: - start filling in the "all deleted" compose condition + * [r54477] src/libged/comb.c: + Corrects a bu_bomb error "db_tree_counter: bad op xxxxxxx" on + Windows 64-bit when adding objects to + groups/combinations/regions. -2012-01-27 05:34 brlcad +2013-02-25 14:11 jordisayol - * [r49124] misc/win32-msvc/bootstrap.cpp: - not the ib directory + * [r54476] sh/make_rpm.sh: + fix uninstallable Linux rpm package on Fedora 18 -2012-01-27 05:03 brlcad +2013-02-25 13:53 bob1961 - * [r49123] misc/win32-msvc/bootstrap.cpp: - double-whammy, give the dll an apientry so there's at least one - symbol to call + * [r54475] src/tclscripts/archer/Archer.tcl: + Fixed a redraw issue in Archer::editMotionDeltaCallback. -2012-01-27 03:10 brlcad +2013-02-25 13:15 bob1961 - * [r49122] misc/win32-msvc/bootstrap.cpp: - begs explanation, so detail what's going on here. also need - common.h for BRLCAD_ROOT. + * [r54474] src/tclscripts/archer/ArcherCore.tcl: + Update ArcherCore::adjust and ArcherCore::rsyncTree to better + accommodate dsp, ebm, extrude, revolve and vol primitives. -2012-01-27 03:02 brlcad +2013-02-22 18:39 carlmoore - * [r49121] misc/win32-msvc/CMakeLists.txt, - misc/win32-msvc/bootstrap.cpp: - stub in an initial bootstrap 'library' so that all of our - application binaries on Windows can call SetDllDirectory(). this - is avoid having to require users to set a PATH yet still keeping - libraries in lib and applications in bin like we do on all other - platforms. + * [r54473] src/tclscripts/mged/pattern.tcl: + oops, had to put in RAD2DEG too -2012-01-26 23:27 n_reed +2013-02-22 18:33 carlmoore - * [r49120] src/libbu/test_sscanf.c: - stick related tests in their own routines + * [r54472] src/tclscripts/mged/pattern.tcl: + include DEG2RAD in a global declaration -2012-01-26 22:28 starseeker +2013-02-22 17:12 brlcad - * [r49119] CMakeLists.txt: - set version, THEN define DATA_DIR... + * [r54471] configure.ac: + need to check for sys/resource.h -2012-01-26 22:19 starseeker +2013-02-22 17:12 brlcad - * [r49118] CMakeLists.txt: - whoops, typo + * [r54470] src/libbu/parallel.c: + header cleanup, make sys/time.h inclusion not platform-centric + but coupled to header test. our headers come after. -2012-01-26 22:18 n_reed +2013-02-22 13:46 bob1961 - * [r49117] src/libbu/test_sscanf.c: - condensed tests of numeric-constant conversions + * [r54469] src/tclscripts/archer/ArcherCore.tcl: + Update ArcherCore::handleTreePopup to better accommodate dsp, + ebm, extrude, revolve and vol. -2012-01-26 22:18 starseeker +2013-02-22 12:28 bob1961 - * [r49116] CMakeLists.txt: - Here we go... set RUNTIME_OUTPUT_DIRECTORY to LIB_DIR - DLLs - should now end up on lib on Windows. This will probably break - stuff. Also make better use of BIN_DIR and LIB_DIR in the - toplevel file... + * [r54468] src/tclscripts/archer/ArcherCore.tcl: + Upgrade Archer's tree view to accommodate the hierarchy + associated with the dsp, ebm, extrude, revolve and vol + primitives. -2012-01-26 22:09 starseeker +2013-02-22 11:32 bob1961 - * [r49115] src/other/incrTcl/itcl/CMakeLists.txt, - src/other/incrTcl/itk/CMakeLists.txt, - src/other/libpng/CMakeLists.txt, src/other/step/CMakeLists.txt, - src/other/tcl/CMakeLists.txt, src/other/tk/CMakeLists.txt: - Go with 'lib' for all instances of CMAKE_LIBRARY_OUTPUT_DIRECTORY + * [r54467] src/librt/primitives/extrude/extrude.c: + Update the "get" and "adjust" commands for extrude to accept the + use of "sk_name" in place of the "S" attribute name. -2012-01-26 22:01 starseeker +2013-02-22 11:28 bob1961 - * [r49114] CMakeLists.txt: - Same deal with the cfg_type case + * [r54466] src/librt/primitives/ebm/ebm.c: + Update the "get" and "adjust" commands for ebm to accept the use + of "file" in place of the "F" attribute name. -2012-01-26 22:00 starseeker +2013-02-21 22:21 r_weiss - * [r49113] CMakeLists.txt: - Misunderstood what CMAKE_LIBRARY_OUTPUT_DIRECTORY controls... + * [r54465] src/tclscripts/mged/lc.tcl: + Update to mged 'lc' command to prevent the display from hanging + for large lists. -2012-01-26 19:55 bob1961 +2013-02-21 20:22 erikgreenwald - * [r49112] src/tclscripts/archer/Archer.tcl, - src/tclscripts/archer/ArcherCore.tcl: - Temporarily disable tkhtml when on 64-bit windows platforms. + * [r54464] misc/Doxyfile, misc/Doxyfile.in: + enable LaTeX generation. Strip CMAKE_SOURCE_DIR from paths. -2012-01-26 19:45 n_reed +2013-02-21 20:11 r_weiss - * [r49111] src/libbu/test_sscanf.c: - Constant suffixes are bad syntax, lose them. Test %n %% and %* - formats. + * [r54463] src/tclscripts/mged/grouper.tcl: + Refactored mged grouper (i.e. gr) command to resolve namespace + issues. -2012-01-26 19:17 erikgreenwald +2013-02-21 19:22 erikgreenwald - * [r49110] src/libgcv/test_bottess.c: - fix format string + * [r54462] misc/CMakeLists.txt: + remove BRLCAD_BUILD_DOXYGEN_DOCS, dox target will be available if + doxygen is. -2012-01-26 19:05 erikgreenwald +2013-02-21 17:43 brlcad - * [r49109] src/libgcv/test_bottess.c: - macro-ize prep of trees for multiple tests + * [r54461] NEWS: + bob has been working on improving the Bot editing controls within + archer. lots of highlight and point selection updates. -2012-01-26 18:53 brlcad +2013-02-21 17:12 bob1961 - * [r49108] NEWS: - good one, bob fixed a bug in the extrude objects where an entire - extrude would disappear if you rendered it ever so slightly - off-angle but nearly dead-on. problem was due to tolerancing. - fixed in r49092. + * [r54460] src/libtclcad/tclcad_obj.c: + Update libtclcad's to_autoview_func() to handle the -R case. -2012-01-26 18:42 n_reed +2013-02-21 16:39 n_reed - * [r49107] src/libbu/sscanf.c: - don't give pointer argument if assignment is suppressed + * [r54459] src/libged/draw.c: + restore draw behavior of only autoviewing when starting with an + empty display -2012-01-26 18:42 starseeker +2013-02-21 15:50 bob1961 - * [r49106] TODO, misc/CMake/FindX11.cmake, - src/other/incrTcl/itk/CMake/FindX11.cmake, - src/other/tk/CMake/FindX11.cmake, - src/other/tkhtml/CMake/FindX11.cmake, - src/other/tkpng/CMake/FindX11.cmake, - src/other/tktable/CMake/FindX11.cmake: - Rework FindX11.cmake to be aware if results are coming back from - multiple directories, and report that fact. Too complicated to - have it sort out multiple X11 installations - this will at least - help the user's awareness that there might be a problem. + * [r54458] src/tclscripts/archer/SketchEditFrame.tcl: + Removed a bit of old code. -2012-01-26 18:38 starseeker +2013-02-21 14:50 carlmoore - * [r49105] misc/CMake/Fink_MacPorts.cmake: - Reorganize Fink_Macports logic, add more comments + * [r54457] src/tclscripts/mged/grouper.tcl: + remove trailing blanks -2012-01-26 18:35 brlcad +2013-02-21 14:44 n_reed - * [r49104] NEWS: - comment tense was right: Fixed a crash condition in coil where - the combination of the -S and -l options would result in an - attempt to dereference a NULL variable. CID 318 + * [r54456] src/libtclcad/tclcadAutoPath.c: + boteditor was inadvertently omitted from last set of paths -2012-01-26 18:33 brlcad +2013-02-21 14:20 bob1961 - * [r49103] NEWS: - s/#/*/ and reword while at it for past tense and more detail. - Attribute printing was haywire in nirt, printing ALL attributes - and ignoring the list. Now printing only specified attributes. - Cliff fixed it. + * [r54455] src/tclscripts/archer/BotEditFrame.tcl: + When moving a bot point, highlight the selected point before + moving it. -2012-01-26 18:32 erikgreenwald +2013-02-21 14:07 bob1961 - * [r49102] src/libgcv/test_bottess.c: - do allocs for right tree, as compose does free()s + * [r54454] src/tclscripts/archer/PipeEditFrame.tcl: + Minor tweak to PipeEditFrame::highlightCurrentPipePoint. -2012-01-26 18:29 brlcad +2013-02-21 14:02 bob1961 - * [r49101] NEWS: - wrong char retry. cliff said: Add -h option to nirt to suppress - header, couple other tweaks + * [r54453] src/tclscripts/archer/PipeEditFrame.tcl: + Highlight the selected pipe point if the pipe is being displayed. -2012-01-26 18:26 erikgreenwald +2013-02-21 14:01 bob1961 - * [r49100] src/libgcv/bottess.c: - guard against empty face sets + * [r54452] src/tclscripts/archer/BotEditFrame.tcl: + Highlight the selected bot point if the bot is being displayed. -2012-01-26 18:21 erikgreenwald +2013-02-21 13:46 bob1961 - * [r49099] src/libgcv/test_bottess.c: - start filling in test for compose() + * [r54451] src/tclscripts/archer/Archer.tcl: + Write out the values of GeometryEditFrame::mHighlightPoints and + GeometryEditFrame::mHighlightPointSize to the preferences file. -2012-01-26 18:17 erikgreenwald +2013-02-21 13:45 bob1961 - * [r49098] src/libgcv/soup.h: - add funcs for testing + * [r54450] src/tclscripts/archer/GeometryEditFrame.tcl, + src/tclscripts/archer/SketchEditFrame.tcl: + Remove mHighlightPointColor from Archer's edit panels. -2012-01-26 18:15 erikgreenwald +2013-02-21 12:33 bob1961 - * [r49097] src/libgcv/bottess.c: - eliminate HIDDEN to allow function testing + * [r54449] src/tclscripts/archer/BotEditFrame.tcl, + src/tclscripts/archer/GeometryEditFrame.tcl, + src/tclscripts/archer/PipeEditFrame.tcl, + src/tclscripts/archer/SketchEditFrame.tcl: + Push a few variables and methods back into the GeometryEditFrame + class (i.e. mHighlightPoints, mHighlightPointSize, + mHighlightPointColor, clearAllTables, updatePointSize and + validatePointSize). Update the pipe edit panel to highlight the + current pipe point. -2012-01-26 18:06 bob1961 +2013-02-21 02:21 n_reed - * [r49096] src/archer/archer: - Need to normalize check_root_dir. check_bin_dir doesn't need to - get normalized twice. + * [r54448] src/libtclcad/tclcadAutoPath.c, + src/tclscripts/archer/BotUtility.tcl, + src/tclscripts/boteditor/CMakeLists.txt, + src/tclscripts/boteditor/Makefile.am, + src/tclscripts/boteditor/botEditor.tcl, + src/tclscripts/boteditor/tclIndex, + src/tclscripts/mged/botedit.tcl: + add a tclIndex for boteditor and remove manual dependency + sourcing -2012-01-26 18:03 bob1961 +2013-02-21 01:09 n_reed - * [r49095] src/tclscripts/archer/BotUtility.tcl: - Need to look in the bin directory for shared libs on windows. + * [r54447] src/libtclcad/tclcadAutoPath.c: + make tk vls string creation dependent on having tk; remember to + free on return -2012-01-26 17:49 n_reed +2013-02-21 00:54 n_reed - * [r49094] src/libbu/sscanf.c: - don't check for assignment when none is expected + * [r54446] src/libtclcad/tclcadAutoPath.c: + add a helper for adding paths so we can be a bit more readable -2012-01-26 17:13 n_reed +2013-02-20 21:23 r_weiss - * [r49093] src/libbu/test_sscanf.c: - add test of %% format + * [r54445] src/tclscripts/mged/grouper.tcl: + Update to mged grouper (i.e. gr) command. Forced the model + orientation to remain static when the group, which you are adding + to or subtracting from, is erased and redrawn. -2012-01-26 16:43 bob1961 +2013-02-20 19:51 r_weiss - * [r49092] src/librt/primitives/extrude/extrude.c: - Using a bigger tolerance when checking dir_dot_z. This fixes the - cases where dir_dot_z was very close to 1.0, but not close enough - to switch to using u vector as the ray direction and yet still - close enough to cause a miss when there should have been a hit. + * [r54444] src/tclscripts/mged/grouper.tcl: + Update to mged grouper command (i.e. gr). Added a "-p" option to + collect the parent of the selected primitives, instead of the + primitives. -2012-01-26 16:29 n_reed +2013-02-20 16:10 n_reed - * [r49091] src/libbu/test_sscanf.c: - add a few pointer conversion tests + * [r54443] src/mged/chgview.c: + remove mged_tran; unused and duplicates knob_tran logic -2012-01-26 16:19 n_reed +2013-02-20 13:04 bob1961 - * [r49090] src/libbu/sscanf.c: - set pointer conversion flag but forgot to check for it + * [r54442] src/tclscripts/lib/Ged.tcl: + Variables need to be dereferenced in Tcl. Besides, RAD2DEG does + not exist in this context. Define and use GED_RAD2DEG. -2012-01-26 15:22 erikgreenwald +2013-02-20 12:18 bob1961 - * [r49089] src/libgcv/test_bottess.c: - stub in other test suites + * [r54441] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl: + Archer mod - need to clear displayed data when doing a database + load. -2012-01-25 22:34 brlcad +2013-02-20 05:18 brlcad - * [r49088] doc/docbook/articles/en/CMakeLists.txt, - doc/docbook/articles/en/TEMPLATE.xml: - add an initial template that demonstrates some of the basic - docbook/xml elements for adding new articles. + * [r54440] CMakeLists.txt: + make statements match -2012-01-25 22:21 starseeker +2013-02-20 05:15 brlcad - * [r49087] TODO, regress/CMakeLists.txt, regress/nirt.sh: - Add regression testing for nirt based on the nirt DocBook manual. + * [r54439] src/libged/copyeval.c: + gcc 4.7.2 rightly detected the possibility of a negative array + index path if endpos ends up still at zero when we begin + processing. looks like that could happen if we find a slash, but + fail to tokenize on it for whatever reason. adding a sanity check + does the trick. -2012-01-25 22:15 starseeker +2013-02-20 05:07 brlcad - * [r49086] NEWS, src/nirt/nirt.c, src/nirt/nirt.h: - Add -h option to nirt to suppress header, couple other tweaks. + * [r54438] src/conv/obj-g.c: + quell a linux compilation failure warning about verts being + potentially clobbered after a longjmp. move the calloc/memset to + after the BU_SETJUMP call and check for null before freeing + verts. -2012-01-25 22:14 n_reed +2013-02-20 04:58 brlcad - * [r49085] src/libbu/test_sscanf.c: - Add some string-type tests now that character-class conversion is - debugged. + * [r54437] src/other/togl/include/CMakeLists.txt, + src/other/togl/include/GL/glu.h: + bundle a glu.h similar to glew.h so that we can compile even when + there's not a system glu.h available. doesn't seem to actually + require any symbols, but not extensively tested (linux). header + is the old bsd-licensed one from sgi. fixes a compilation error + on linux. -2012-01-25 22:10 starseeker +2013-02-20 04:16 brlcad - * [r49084] src/nirt/command.c: - err -> stdout for nirt default units reporting. + * [r54436] CMakeLists.txt: + latest glibc-1.6 changed _FORTIFY_SOURCE to spew a warning if not + compiling optimized. change our build to match, adding the flag + only when building optimized (not debug like we want). -2012-01-25 21:52 starseeker +2013-02-20 04:15 brlcad - * [r49083] NEWS, src/nirt/if.c: - Attribute printing was haywire in nirt, printing ALL attributes - and ignoring the list. Now printing only specified attributes. + * [r54435] configure.ac: + glibc-1.6 is being warningtarded, so just turn off the flag on + the old build. -2012-01-25 21:48 n_reed +2013-02-19 21:39 carlmoore - * [r49082] src/libbu/sscanf.c: - Doh! Accidentally overwrote conversion type var before switching on - it. + * [r54434] src/tclscripts/vmath.tcl: + use DEG2RAD to simplify expressions; is the 'global' OK? -2012-01-25 21:01 starseeker +2013-02-19 17:52 bob1961 - * [r49081] src/nirt/sfiles/csv-gap.nrt: - Stray commas in csv-gap formatting were causing error when - specifying -f csv-gap in a nirt run. + * [r54433] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl, + src/tclscripts/archer/BotEditFrame.tcl, + src/tclscripts/archer/GeometryEditFrame.tcl: + Refactored a bit of code related to the various edit panels. Also + added code to clear data associated with highlighting the + primitives being edited. -2012-01-25 20:52 n_reed +2013-02-16 04:00 brlcad - * [r49080] src/libbu/sscanf.c: - Forgot that we need to search for closing brace of character - classes. Was causing truncated conversion specification. + * [r54431] TODO: + new libpng release is out -2012-01-25 20:36 brlcad +2013-02-15 22:46 carlmoore - * [r49079] src/libbu/badmagic.c: - not clear what is exactly being checked but the magic number - alignment checking looks to be incorrect now that we're using - uint32_t's everywhere. getting misalignment on big-endian 64-bit - system in shaders regression, fixed by checking our magic type. + * [r54430] src/tclscripts/mged/pattern.tcl: + use DEG2RAD and RAD2DEG; do they need to be added to a global + declaration WITHIN that file -2012-01-25 20:32 brlcad +2013-02-15 22:03 carlmoore - * [r49078] src/libbn/noise.c: - clean up the magic number handling to be consistent with our - uint32_t magic type. expand the size of the hash table from - shorts to that as well and do some minor refactoring so that the - table size (4096) is defined in just one place and everything - keys off of it. + * [r54429] src/liboptical/sh_toyota.c: + make use of defined constants -2012-01-25 20:30 brlcad +2013-02-15 21:52 caen23 - * [r49077] AUTHORS: - credit pavel jansa (pawleeq) with his numerous brl-cad tutorial - articles (in czech): http://www.abclinuxu.cz/autori/pavel-jansa + * [r54428] src/mged/cmd.c: + Fix warning about variable used uninitialized -2012-01-25 18:49 starseeker +2013-02-15 21:51 carlmoore - * [r49076] src/nirt/command.c: - another stdout fprintf change... + * [r54427] src/irprep/all_sf.c, src/irprep/shapefact.c: + pi/2 usage -2012-01-25 18:43 starseeker +2013-02-15 21:45 carlmoore - * [r49075] src/nirt/command.c: - Send the default coordinate printouts to stdout - really should - be handled like 'normal' nirt reporting... + * [r54426] src/conv/intaval/write_brl.cpp: + pi/4 available as a constant -2012-01-25 18:20 n_reed +2013-02-15 21:40 carlmoore - * [r49074] src/libbu/test_sscanf.c: - Using macros to condense numeric conversion tests, now in their - own routine. Moving on to more exotic conversions. + * [r54425] src/conv/g-var.c: + we do have pi/2 available as a constant -2012-01-25 18:00 starseeker +2013-02-15 21:27 carlmoore - * [r49073] src/other/libpng/CMakeLists.txt: - ws + * [r54424] src/tclscripts/vmath.tcl: + use longer constants from elsewhere in the brlcad routines -2012-01-25 17:57 starseeker +2013-02-15 16:40 bob1961 - * [r49072] src/other/libpng/CMakeLists.txt: - If we're conditionalizing the non-WIN32 files on generation, need - to also conditionalize the related install rules. + * [r54423] src/tclscripts/archer/images/half.png, + src/tclscripts/archer/images/half_intersect.png, + src/tclscripts/archer/images/half_labeled.png, + src/tclscripts/archer/images/half_subtract.png, + src/tclscripts/archer/images/half_union.png: + Darken up the icons associated with the half space. -2012-01-25 17:22 brlcad +2013-02-15 15:03 bob1961 - * [r49071] src/other/step/src/clstepcore/STEPattribute.h, - src/other/step/src/clstepcore/read_func.cc, - src/other/step/src/clstepcore/read_func.h, - src/other/step/src/clstepcore/sdai.h, - src/other/step/src/clstepcore/sdaiApplication_instance.cc, - src/other/step/src/clstepcore/sdaiApplication_instance.h, - src/other/step/src/clstepcore/sdaiSelect.cc, - src/other/step/src/clstepcore/sdaiSelect.h: - might make merging a bit more difficult or (more likely) repeats - work already done in the github tree, but helps ease our sanity - in the meantime. eliminate a slew of gcc warnings about string - literals being passed as char* parameters when they should be - treated immutable. mark them all const. - -2012-01-25 17:12 bob1961 - - * [r49070] src/mged/polyif.c: - Variable declarations need to be at the top of the code block. - -2012-01-25 17:10 brlcad - - * [r49069] src/other/step/src/clstepcore/ExpDict.h: - more warning quellage. shouldn't pass string constants to char* - parameters as they should be considered immutable/const. make - SelectTypeDescriptor() constructor take a const char* instead, - fortunately TypeDescriptor's constructor is correct. - -2012-01-25 17:08 brlcad - - * [r49068] src/conv/step/SdaiCONFIG_CONTROL_DESIGN.cc, - src/conv/step/SdaiCONFIG_CONTROL_DESIGN.h, - src/other/step/src/cldai/sdaiEntity_extent.cc, - src/other/step/src/cldai/sdaiEntity_extent.h, - src/other/step/src/cldai/sdaiModel_contents.cc, - src/other/step/src/cldai/sdaiModel_contents.h, - src/other/step/src/clstepcore/ExpDict.cc, - src/other/step/src/clstepcore/ExpDict.h, - src/other/step/src/clstepcore/STEPattribute.h, - src/other/step/src/clstepcore/STEPattribute.inline.cc, - src/other/step/src/clstepcore/sdaiEnum.h, - src/other/step/src/clstepcore/sdaiSelect.cc, - src/other/step/src/clstepcore/sdaiSelect.h: - Can't take it any longer. Doggy bag all the gcc vomit about SCL's - qualified type errors. Reduces the build log by about 16MB, 78k - warning lines, approx 765 unique instances. - Quell them all with a teeny little one-liner bit of scripting - based on the build log output: - for match in `grep qualifiers build.log | sort | uniq | cut -d: - -f1,2` ; do export file="`echo $match | cut -d: -f1`" ; export - line="`echo $match | cut -d: -f2`" ; export pline="`expr $line - - 1`" ; if test "x`sed -n ${pline}p - $file |grep const`" = "x" ; then sed -n ${line}p $file ; sed - "${line}s/\([[:space:]]*\)const \(.*\)/\1\2/" < $file > $file.sed - ; mv $file.sed $file ; else sed -n ${pline}p $file ; sed - "${pline}s/\([[:space:]]*\)const \(.*\)/\1\2/" < $file > - $file.sed ; mv $file.sed $file ; fi ; done - As to the issue at hand, there is no such thing as returning a - "const int". It's just a value (same goes for all the non-pointer - return types). Old SGI compiler was one of the first to be - pedantic about that mistake, but gcc wised up a few - years ago and warns about it now too. - -2012-01-25 05:43 brlcad - - * [r49067] BUGS, NEWS, TODO: - fixed the database corruption bug being seen on 64-bit big-endian - systems (sparc, power7, etc). looks like the size mismatch was - limited to the ebm, dsp, vol, and hf (deprecated) primitives. - issue caused by trying to serialize a 64-bit value into 32-bits - without taking the input type into account (code assumes it's - 32-bit) via bu_vls_struct_print('%d') serialization. - -2012-01-25 05:37 brlcad - - * [r49066] include/rtgeom.h: - fix a major db5 portability bug introduced around 7.18.2 reading - and writing ebm, dsp, vol, and hf primitives. changing their - dimension parameters to size_t didn't account for them being - converted typeless via libbu's bu_vls_struct_print('%d') during - export via int coercion into 32-bit data. thus, 64-bit size_t's - on a big-endian platform were writing out as zero (unless they - happened to have a value that exceeded 32-bits) which ends up - 'corrupting' the .g file. fix is to make sure we stick to a - 32-bit type so it'll export correctly. as such, convert to - uint32_t and document the issue. - -2012-01-25 05:03 brlcad - - * [r49065] src/conv/intaval/read_dra.cpp: - gcc complains about not initializing the remainder of the struct - members if we're going to perform static initialization this way. - a memset() might be more appropriate, but this does the trick with - no runtime overhead. - -2012-01-24 23:41 starseeker - - * [r49064] regress/mged/CMakeLists.txt, regress/mged/clone.mged: - Ah hah! That looks a lot closer to what it should look like. - -2012-01-24 23:35 bob1961 - - * [r49063] src/rt/viewweight.c: - Moved variable declaration to top of code block. - -2012-01-24 23:33 bob1961 - - * [r49062] include/raytrace.h: - Fixed a typo. + * [r54422] src/tclscripts/archer/ArcherCore.tcl: + Update ArcherCore's render and erase methods to clear the + -primitiveLabels value if necessary. -2012-01-24 23:20 n_reed +2013-02-15 14:55 bob1961 - * [r49061] src/libbu/test_sscanf.c: - prefix local constants to avoid name collisions + * [r54421] src/tclscripts/archer/BotEditFrame.tcl: + This adds a threshold for displaying bot data in tables within + BotEditFrame. -2012-01-24 23:12 starseeker +2013-02-15 14:17 brlcad - * [r49060] regress/mged/CMakeLists.txt: - Make a stab at CMake logic to trigger the mged cmd regressions. - These need a fair bit of work - lots of invalid uses of globbing. + * [r54420] src/libged/edpipe.c: + document where the rflag is encoded as a negative, clean up + formatting -2012-01-24 22:43 bob1961 +2013-02-15 14:09 brlcad - * [r49059] src/other/xmltools/xsltproc.c: - Include winsock2.h if _WINSOCKAPI_ is not defined. This avoids - redefinition of things like struct timeval. + * [r54419] src/libged/edpipe.c: + document the curious scale behavior where positive multiplies and + negative sets a value, refactor all of the uses into one place + for some nice reduction too. -2012-01-24 22:29 n_reed +2013-02-14 22:05 carlmoore - * [r49058] src/libbu/test_sscanf.c: - add more tests of basic conversion specifications + * [r54418] src/fb/polar-fb.c, src/irprep/showtherm.c, + src/irprep/subroutines.c, src/libged/bot_smooth.c, + src/proc-db/clutter.c, src/proc-db/room.c: + use DEG2RAD in various places -2012-01-24 22:17 jordisayol +2013-02-14 21:46 carlmoore - * [r49057] misc/debian/changelog, sh/make_deb.sh, sh/make_rpm.sh: - Update debian/changelog version - Change multijob on deb/rpm builfing scripts - Remove binary checking on debian building script + * [r54417] src/external/Unigraphics/ug-g.c: + use DEG2RAD and RAD2DEG -2012-01-24 22:03 starseeker +2013-02-14 21:41 carlmoore - * [r49056] regress/mged/clone.mged: - Can't use glob expansion in this environment - go with db_glob - and a foreach loop + * [r54416] src/conv/dxf/dxf-g.c: + use RAD2DEG , DEG2RAD -2012-01-24 21:29 erikgreenwald +2013-02-14 21:38 carlmoore - * [r49055] regress/CMakeLists.txt: - add analyze.asc to "extra_dist" type var + * [r54415] include/vmath.h, src/tclscripts/lib/Ged.tcl, + src/tclscripts/mged/anim.tcl: + make use of M_PI , DEG2RAD , RAD2DEG -2012-01-24 21:28 erikgreenwald +2013-02-14 20:31 carlmoore - * [r49054] src/conv/step/CMakeLists.txt: - change header entry from .cpp to .h + * [r54414] src/proc-db/tube.c: + enforce a uniform value of pi by bringing in M_PI -2012-01-24 21:28 brlcad +2013-02-14 20:25 carlmoore - * [r49053] BUGS, NEWS, TODO: - document the now better-understood big-endian ebm/dsp export bug. - writing out a size_t as a 32-bit type is bad. this one will have - to be fixed before any new release distributions are posted. no - way to fix, review, and v&v by the end of jan. + * [r54413] src/libged/vutil.c, src/mged/dozoom.c, + src/proc-db/pyramid.c: + remove no-longer-needed comments -2012-01-24 21:20 starseeker +2013-02-14 20:08 brlcad - * [r49052] misc/CMake/distcheck_buildsys.cmake.in: - Add some more comments to the buildsys component of CMake - distcheck logic. + * [r54412] src/libbu/parse.c: + don't use the BU_ prefix for non-public API, use a file-local + prefix instead. -2012-01-24 21:17 erikgreenwald +2013-02-14 19:57 brlcad - * [r49051] src/libbu/test_sscanf.c: - quell uninitialized var warning + * [r54411] src/mged/cmd.c: + all of these can be null, so make sure they're not. encountered + crash on null ged_view when sourcing a script. -2012-01-24 21:05 tbrowder2 +2013-02-14 19:42 brlcad - * [r49050] HACKING: - change target weight-regress to regress-weight per new naming - convention + * [r54410] src/libbu/parse.c: + add a slew of argument and return value validation tests. try to + help ensure we don't ever dereference NULL. -2012-01-24 21:00 indianlarry +2013-02-14 18:59 brlcad - * [r49049] src/conv/step/ApplicationContext.cpp, - src/conv/step/ApplicationContext.h, - src/conv/step/ApplicationContextElement.cpp, - src/conv/step/ApplicationContextElement.h, - src/conv/step/BrepWithVoids.cpp, src/conv/step/BrepWithVoids.h, - src/conv/step/CMakeLists.txt, - src/conv/step/ContextDependentShapeRepresentation.cpp, - src/conv/step/ContextDependentShapeRepresentation.h, - src/conv/step/DesignContext.cpp, src/conv/step/DesignContext.h, - src/conv/step/Factory.cpp, src/conv/step/Factory.h, - src/conv/step/FunctionallyDefinedTransformation.cpp, - src/conv/step/FunctionallyDefinedTransformation.h, - src/conv/step/ItemDefinedTransformation.cpp, - src/conv/step/ItemDefinedTransformation.h, - src/conv/step/MechanicalContext.cpp, - src/conv/step/MechanicalContext.h, - src/conv/step/OpenNurbsInterfaces.cpp, - src/conv/step/OrientedClosedShell.cpp, - src/conv/step/OrientedClosedShell.h, src/conv/step/Product.cpp, - src/conv/step/Product.h, src/conv/step/ProductCategory.cpp, - src/conv/step/ProductCategory.h, - src/conv/step/ProductContext.cpp, src/conv/step/ProductContext.h, - src/conv/step/ProductDefinition.cpp, - src/conv/step/ProductDefinition.h, - src/conv/step/ProductDefinitionContext.cpp, - src/conv/step/ProductDefinitionContext.h, - src/conv/step/ProductDefinitionContextAssociation.cpp, - src/conv/step/ProductDefinitionContextAssociation.h, - src/conv/step/ProductDefinitionContextRole.cpp, - src/conv/step/ProductDefinitionContextRole.h, - src/conv/step/ProductDefinitionFormation.cpp, - src/conv/step/ProductDefinitionFormation.h, - src/conv/step/ProductDefinitionFormationWithSpecifiedSource.cpp, - src/conv/step/ProductDefinitionFormationWithSpecifiedSource.h, - src/conv/step/ProductDefinitionShape.cpp, - src/conv/step/ProductDefinitionShape.h, - src/conv/step/ProductRelatedProductCategory.cpp, - src/conv/step/ProductRelatedProductCategory.h, - src/conv/step/PropertyDefinition.cpp, - src/conv/step/PropertyDefinition.h, - src/conv/step/PullbackCurve.cpp, - src/conv/step/RepresentationRelationship.cpp, - src/conv/step/RepresentationRelationship.h, - src/conv/step/RepresentationRelationshipWithTransformation.cpp, - src/conv/step/RepresentationRelationshipWithTransformation.h, - src/conv/step/STEPWrapper.cpp, - src/conv/step/ShapeRepresentationRelationship.cpp, - src/conv/step/ShapeRepresentationRelationship.h, - src/conv/step/Transformation.cpp, src/conv/step/Transformation.h: - initial class additions and modifications to support assemblies - in STEP + * [r54409] include/bu.h: + document the structparse API a little better, note the flow of + data since the API is inconsistent. -2012-01-24 20:46 starseeker +2013-02-14 18:25 brlcad - * [r49048] src/conv/CMakeLists.txt, src/other/CMakeLists.txt: - Turn off the step stuff for now on MSVC - we're a ways away from - being able to build there. + * [r54408] src/anim/anim_hardtrack.c: + remove dead code, leave a note -2012-01-24 20:26 brlcad +2013-02-14 18:23 brlcad - * [r49047] TODO: - regress-solids is failing + * [r54407] src/proc-db/clutter.c: + halt if there are any arguments. doesn't match the usage. remove + some unused vars too. -2012-01-24 20:25 n_reed +2013-02-14 18:20 brlcad - * [r49046] src/libbu/test_sscanf.c: - Removed use of vsscanf and re-wrote test to be simpler, more - readable, and more portable. + * [r54406] src/shapes/coil.c: + heavy cleanup initially to fix indentation and usage messages, + but refactor the object/file reporting while we're at it so that + the messages are more consistent with other tools. -2012-01-24 20:22 brlcad +2013-02-14 18:15 carlmoore - * [r49045] regress/CMakeLists.txt: - rename all of the individual regression tests to regress-[TEST] - so they all follow a common convention of increasing target - specificity. also change the 'regress' target to merely depend on - all of the other regress targets so we can test in parallel. + * [r54405] src/libged/draw.c: + fix spellings -2012-01-24 19:57 starseeker +2013-02-14 18:11 carlmoore - * [r49044] regress/library.sh: - Don't print all the search verbosity by default. Can uncomment - the echo if we need it, but it's a distraction from the actual - regress output. + * [r54404] src/libged/vutil.c, src/mged/dozoom.c, + src/proc-db/pyramid.c, src/proc-db/sphflake.c: + make use of DEG2RAD; sin60 expression again has '60.0' in it as + result -2012-01-24 18:45 erikgreenwald +2013-02-14 18:02 brlcad - * [r49043] src/libbu/test_vls.c: - remove test_vls.cLu, it's not portable + * [r54403] NEWS: + bob added support for drawing the labels of hyperboloid objects + in r54387 -2012-01-24 18:33 erikgreenwald +2013-02-14 18:01 brlcad - * [r49042] src/libgcv/soup.h, src/libgcv/tri_intersect.c: - use GCV_EXPORT instead of local custom name. + * [r54402] src/libged/view_obj.c: + remove dead code -2012-01-24 18:28 indianlarry +2013-02-14 17:08 carlmoore - * [r49041] src/conv/step/step-g.cpp: - little more verbosity to file overwrite error message + * [r54401] src/libged/view_obj.c: + use DEG2RAD instead of having to recompute it -2012-01-24 18:25 erikgreenwald +2013-02-14 16:43 carlmoore - * [r49040] src/libgcv/test_bottess.c: - Block around decls. Hoist decls to beginning of blocks. + * [r54400] src/librt/test_root3-subd.cpp: + refined M_PI value -2012-01-24 17:49 erikgreenwald +2013-02-14 15:40 n_reed - * [r49039] src/libgcv/test_bottess.c: - test triangle foo values. add ansi color codes to summary and - macroize a bit. + * [r54399] src/libged/draw.c: + change computation for the adaptive plot point spacing parameter + to avoid oversampling plotted curves -2012-01-24 16:49 n_reed +2013-02-13 17:35 bob1961 - * [r49038] src/libbu/test_sscanf.c: - Still need vsscanf for test routine. For now, require it to run - test. + * [r54398] src/libged/comb.c, src/libged/ged_private.h, + src/libged/group.c: + Added _ged_combadd2 for the purpose of building up a comb tree + from possibly more than one member before writing things out to + the database. This was added for use by ged_group to reduce + database fragmentation when adding many members (i.e. perhaps + 100,000 or more). Note - _ged_combadd2 could use an upgrade to + handle an array of relation operators so that functions like + ged_comb could also benefit. -2012-01-24 16:23 brlcad +2013-02-13 16:06 n_reed - * [r49037] src/conv/step/STEPWrapper.cpp: - error message cleanup for clarity since it's likely to be - invalid. review of r48313, cid 1836. + * [r54397] include/ged.h, src/libged/draw.c, + src/libtclcad/tclcad_obj.c, src/mged/cmd.c: + have mged and archer pass view info to libged so we can compute + view-specific inputs to adaptive plot routines -2012-01-24 16:20 brlcad +2013-02-12 20:40 n_reed - * [r49036] NEWS: - looks like r49031 from keith fixes a memory management issue in - scl that was causing a delete memory error. that plus the slew of - virtual inheritance tweaks qualitatively amount to improved - step-g memory management (visible to user in terms of memory - consumption, maybe preventing crashes for some usage cases) + * [r54396] NEWS, src/libged/screengrab.c, + src/libtclcad/tclcad_obj.c: + fix screengrab crash in archer; need to initialize all the ged dm + members so that screengrab doesn't get garbage -2012-01-24 16:12 brlcad +2013-02-12 19:49 carlmoore - * [r49035] src/libbu/timer.c: - try another approach, include the higher-level windows.h instead - of mmsystem.h for the Windows-specific QueryPerformanceCounter() - method. + * [r54395] doc/docbook/system/mann/en/dbupgrade.xml: + remove trailing blanks/tabs -2012-01-24 16:10 brlcad +2013-02-12 19:45 bob1961 - * [r49034] CMakeLists.txt: - try another approach, test for windows.h bahamamama instead of - the subling mmsystem.h since it should also get use - QueryPerformanceCounter() + * [r54394] src/tclscripts/archer/ArcherCore.tcl: + Modify Archer's behavior to select an object in the tree when the + object is being drawn from the tree. -2012-01-24 16:09 brlcad +2013-02-12 18:20 n_reed - * [r49033] CMakeLists.txt: - looks like regex gone wild? - s/BRLCAD_INCLUDE_file/BRLCAD_INCLUDE_FILE/g + * [r54393] src/libtclcad/tclcad_obj.c, + src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl, src/tclscripts/lib/Ged.tcl: + r54330 equivalent for archer. Make it possible to run adaptive + plot routines for basic testing via display preferences checkbox. -2012-01-24 16:06 brlcad +2013-02-12 17:19 bob1961 - * [r49032] include/bin.h, include/bio.h: - better explain why we intentionally avoid using HAVE_* defines or - common.h in these headers. tempting, but they're meant to be - completely stand-alone files. + * [r54392] src/tclscripts/archer/Archer.tcl: + Updated a few image references in Archer for the arbn and part + primitives. -2012-01-24 16:01 indianlarry +2013-02-12 15:54 brlcad - * [r49031] src/other/step/src/cleditor/instmgr.cc: - make sure to ClearEntries() when array instances not owned by - MgrNodeArray otherwise parent class GenNodeArray will try and - delete memory error + * [r54391] src/tclscripts/mged/help.tcl: + fix status command help alignment -2012-01-24 15:53 indianlarry +2013-02-11 19:41 carlmoore - * [r49030] src/other/step/src/clutils/gennodearray.cc: - fix size in memset() initialization when growing buffer + * [r54390] src/shapes/fence.c: + remove 'Format' and a newline to make it look more 'standard' -2012-01-24 15:41 erikgreenwald +2013-02-11 19:23 bob1961 - * [r49029] src/libbu/timer.c: - Wrap non-standard #warning to prevent build failure on msvc. + * [r54389] src/tclscripts/archer/Archer.tcl: + Fixed a typo in Archer::updatePrimaryToolbar -2012-01-24 15:13 brlcad +2013-02-11 19:20 bob1961 - * [r49028] regress/CMakeLists.txt, regress/Makefile.am: - ignore new dsp.sh file for now + * [r54388] src/tclscripts/archer/EhyEditFrame.tcl: + Tighten up the display of radiobuttons in EhyEditFrame's lower + panel. -2012-01-24 15:12 brlcad +2013-02-11 18:52 bob1961 - * [r49027] regress/dsp.sh: - stub in a new dsp primitive regression test + * [r54387] src/libdm/labels.c: + Added label drawing code to dm_label_primitive() for hyp. -2012-01-24 11:28 indianlarry +2013-02-11 17:53 bob1961 - * [r49026] src/conv/step/ClosedShell.cpp, - src/conv/step/ClosedShell.h, src/conv/step/ConnectedFaceSet.cpp, - src/conv/step/ConnectedFaceSet.h: - Add face set reversing flags and functions + * [r54386] src/tclscripts/archer/HypEditFrame.tcl, + src/tclscripts/archer/PartEditFrame.tcl: + Tighten up the display of radiobuttons in the HypEditFrame and + PartEditFrame's lower panel. -2012-01-24 11:10 indianlarry +2013-02-11 17:18 carlmoore - * [r49025] src/conv/step/Face.cpp, src/conv/step/Face.h: - Add face reversing flag and function + * [r54385] doc/docbook/system/man1/en/dbupgrade.xml: + remove trailing blanks/tabs -2012-01-24 10:38 indianlarry +2013-02-11 17:16 carlmoore - * [r49024] src/conv/step/RepresentationItem.cpp: - correct "CLASSNAME" definition from "RepresentationContext" to - "RepresentationItem" + * [r54384] src/libbu/parse.c: + remove trailing blanks/tabs -2012-01-24 08:43 brlcad +2013-02-11 17:15 bob1961 - * [r49023] NEWS: - tom put a lot of effort into 'fixing' and enhancing the - mged/archer analyze command. the table formatting had become - extensively hosed, misaligned. extensively overhauled the faces - and volume tables. (reword of r48904 for descriptiveness since - the commit messages are what go through configuration control - review for a given user-visible change) + * [r54383] src/tclscripts/archer/EtoEditFrame.tcl, + src/tclscripts/archer/TorusEditFrame.tcl: + Tighten up the display of radiobuttons in the EtoEditFrame and + TorusEditFrame's lower panel. -2012-01-24 08:35 brlcad +2013-02-11 16:59 bob1961 - * [r49022] NEWS: - Tom fixed a pervasive, albeit minor string processing memory leak - by releasing the padded and tmpstr vls in r48968. affects most - libbu-logging/printing applications. + * [r54382] src/libged/pscale.c: + Update ged_pscale to handle spheres. -2012-01-24 08:15 brlcad +2013-02-11 16:58 bob1961 - * [r49021] src/libbu/test_vls.c: - getting vls test failure on fedora16 (power7, big endian) where - libbu returns zero but printf is returning a massive positive - number + * [r54381] src/tclscripts/archer/SphereEditFrame.tcl: + Constrain sphere attribute edits to set a, b and c the same in + Archer. -2012-01-24 07:45 brlcad +2013-02-11 16:09 bob1961 - * [r49020] src/libged/nirt.c, src/libged/wdb_nirt.c: - looks like the remaining '%*s' assumptions that the size is a max - ala strncpy, not a minimum. fixed by manually running strncpy and - printing that vls. + * [r54380] src/tclscripts/archer/EllEditFrame.tcl: + Tighten up the display of radiobuttons in EllEditFrame's lower + panel. -2012-01-24 07:38 brlcad +2013-02-11 15:17 bob1961 - * [r49019] src/bwish/input.c: - more of the same, even identical code to mged, assumptions of - '%*s' acting like strncpy and being a minimum. keep doing the - explicit copy regardless of the need to preserve behavior until - more direct testing can occur. + * [r54379] src/tclscripts/archer/EpaEditFrame.tcl: + Tighten up the display of radiobuttons in EpaEditFrame's lower + panel. -2012-01-24 07:36 brlcad +2013-02-11 15:11 bob1961 - * [r49018] src/mged/mged.c: - replace a slew of bu_vls_init() calls with static initializers. + * [r54378] src/tclscripts/archer/TgcEditFrame.tcl: + TgcEditFrame::createGeometry now uses a better initial value for + "C" and "D". -2012-01-24 07:22 brlcad +2013-02-11 15:09 bob1961 - * [r49017] src/mged/mged.c: - handle a slew of '%*s' bu_loggers that seemed to assume strncpy - behavior with the size being a max (it's a min). probably all - benign (possibly even unnecessary code) given they all merely - blank out some portion of the input prompt, but preserves - behavior until more extensive testing can occur. + * [r54377] src/tclscripts/archer/RpcEditFrame.tcl: + Tighten up the display of radiobuttons in RpcEditFrame's lower + panel. -2012-01-24 07:04 brlcad +2013-02-11 14:54 bob1961 - * [r49016] NEWS: - improved tab-completion behavior for mged and archer. now once - you have a match, it will auto-append a space after the command - so you're ready for the next argument. also, hitting tab on an - empty line will return all registered commands instead of - silently doing nothing. untested for archer (non-gui atm) + * [r54376] src/tclscripts/archer/RhcEditFrame.tcl: + Tightened up the display of radiobuttons in the lower panel of + the RhcEditFrame. Also added back in the -validatecommand option + the somehow fell out. -2012-01-24 06:12 brlcad +2013-02-11 14:14 bob1961 - * [r49015] src/tclscripts/lib/Command.tcl: - apply similar usability enhancement to archer as was done for - mged. if there's only one match remaining, then add a space after - our match so the user is saved a keystroke. + * [r54375] src/tclscripts/archer/ArcherCore.tcl: + Minor tweak to ArcherCore::doLighting. -2012-01-24 06:06 brlcad +2013-02-11 05:06 brlcad - * [r49014] src/tclscripts/lib/Command.tcl: - do the same for archer. looks like entirely duplicate code - fortunately/unfortunately so same fix applies to make an empty - tab-expansion return all registered commands. + * [r54374] NEWS: + fixed a few bugs related to handling of empty revolve objects + (non-existent or empty sketch). this was encountered with asc2g + and mged's 'in' command (bu_vls, bbox). -2012-01-24 06:02 brlcad +2013-02-11 04:59 brlcad - * [r49013] NEWS: - improved tab-completion behavior in mged. now once you have a - match, it will auto-append a space after the command so you're - ready for the next argument. also, hitting tab on an empty line - will return all registered commands instead of silently doing - nothing. + * [r54373] src/librt/primitives/revolve/revolve.c, + src/librt/primitives/table.c: + prevent empty revolve objects from crashing out mged. one crash + was due to rt_generic_make not initializing a bu_vls, which asc2g + needed. another was crash during 'in' command if/when sketch + object doesn't (yet) exist. -2012-01-24 05:59 brlcad +2013-02-09 18:01 n_reed - * [r49012] src/tclscripts/mged/text.tcl: - even if line is empty, let tab-completion still do its job. - return all registered commands. improved usability consistent - with unix command prompt behavior. + * [r54372] src/other/URToolkit/tools/clock/Makefile.am: + makeFont script is broken; do what cmake does and use the + committed pre-generated font.c -2012-01-24 04:38 starseeker +2013-02-09 17:56 n_reed - * [r49011] CMakeLists.txt, bench/CMakeLists.txt, db/CMakeLists.txt, - doc/CMakeLists.txt, doc/docbook/CMakeLists.txt, - doc/docbook/articles/CMakeLists.txt, - doc/docbook/books/CMakeLists.txt, - doc/docbook/books/en/CMakeLists.txt, - doc/docbook/lessons/CMakeLists.txt, - doc/docbook/presentations/CMakeLists.txt, - doc/docbook/specifications/CMakeLists.txt, - doc/docbook/system/CMakeLists.txt, - doc/docbook/system/man1/CMakeLists.txt, - doc/docbook/system/man3/CMakeLists.txt, - doc/docbook/system/man5/CMakeLists.txt, - doc/docbook/system/mann/CMakeLists.txt, misc/CMakeLists.txt, - regress/CMakeLists.txt, regress/gcv/CMakeLists.txt, - src/CMakeLists.txt, src/archer/CMakeLists.txt, - src/conv/CMakeLists.txt, src/conv/step/CMakeLists.txt, - src/libfft/CMakeLists.txt, src/libgcv/CMakeLists.txt, - src/libged/CMakeLists.txt, src/libpkg/CMakeLists.txt, - src/mged/CMakeLists.txt, src/tclscripts/CMakeLists.txt, - src/tclscripts/archer/CMakeLists.txt, - src/tclscripts/rtwizard/CMakeLists.txt, - src/tclscripts/sdialogs/CMakeLists.txt, - src/tclscripts/swidgets/CMakeLists.txt: - few more upper->lower conversions + * [r54371] configure.ac: + mirror r50180 cmake addition of -Wno-variadic-macros to quell + warnings in newer Xorg headers -2012-01-24 04:30 brlcad +2013-02-09 17:50 n_reed - * [r49010] src/mged/mged.c: - wow, and all that for nothing. the input string is wiped out, but - a call to bu_vls_trunc() does it even better and is already being - called. maybe a vestige holdover from when it was a buffer - instead of a vls and nobody noticed. something a little fishy but - looks like it's working nicely. + * [r54370] src/other/libvds/Makefile.am: + forgot to escape newlines in file lists -2012-01-24 04:14 starseeker +2013-02-09 17:05 n_reed - * [r49009] CMakeLists.txt, bench/CMakeLists.txt, db/CMakeLists.txt, - doc/CMakeLists.txt, doc/docbook/CMakeLists.txt, - doc/docbook/articles/en/CMakeLists.txt, - doc/docbook/books/CMakeLists.txt, - doc/docbook/books/en/CMakeLists.txt, - doc/docbook/lessons/en/CMakeLists.txt, - doc/docbook/lessons/es/CMakeLists.txt, - doc/docbook/presentations/en/CMakeLists.txt, - doc/docbook/specifications/en/CMakeLists.txt, - doc/docbook/system/man1/en/CMakeLists.txt, - doc/docbook/system/man3/en/CMakeLists.txt, - doc/docbook/system/man5/en/CMakeLists.txt, - doc/docbook/system/mann/en/CMakeLists.txt, - doc/html/CMakeLists.txt, include/CMakeLists.txt, - misc/CMakeLists.txt, misc/enigma/CMakeLists.txt, - misc/pkgconfig/CMakeLists.txt, pix/CMakeLists.txt, - regress/CMakeLists.txt, sh/CMakeLists.txt, src/CMakeLists.txt, - src/adrt/CMakeLists.txt, src/anim/CMakeLists.txt, - src/archer/CMakeLists.txt, src/brlman/CMakeLists.txt, - src/burst/CMakeLists.txt, src/bwish/CMakeLists.txt, - src/conv/CMakeLists.txt, src/conv/iges/CMakeLists.txt, - src/conv/intaval/CMakeLists.txt, src/conv/step/CMakeLists.txt, - src/fb/CMakeLists.txt, src/fbed/CMakeLists.txt, - src/gtools/CMakeLists.txt, src/halftone/CMakeLists.txt, - src/irprep/CMakeLists.txt, src/lgt/CMakeLists.txt, - src/libanalyze/CMakeLists.txt, src/libbn/CMakeLists.txt, - src/libbu/CMakeLists.txt, src/libcursor/CMakeLists.txt, - src/libdm/CMakeLists.txt, src/libfb/CMakeLists.txt, - src/libfft/CMakeLists.txt, src/libgcv/CMakeLists.txt, - src/libgcv/wfobj/CMakeLists.txt, src/libged/CMakeLists.txt, - src/libicv/CMakeLists.txt, src/libmultispectral/CMakeLists.txt, - src/liboptical/CMakeLists.txt, src/liborle/CMakeLists.txt, - src/libpc/CMakeLists.txt, src/libpkg/CMakeLists.txt, - src/libpkg/example/CMakeLists.txt, src/librt/CMakeLists.txt, - src/librtserver/CMakeLists.txt, src/libsysv/CMakeLists.txt, - src/libtclcad/CMakeLists.txt, src/libtermio/CMakeLists.txt, - src/libwdb/CMakeLists.txt, src/mged/CMakeLists.txt, - src/mged/points/CMakeLists.txt, src/nirt/CMakeLists.txt, - src/proc-db/CMakeLists.txt, src/remrt/CMakeLists.txt, - src/rt/CMakeLists.txt, src/rttherm/CMakeLists.txt, - src/shapes/CMakeLists.txt, src/sig/CMakeLists.txt, - src/tab/CMakeLists.txt, src/tclscripts/CMakeLists.txt, - src/tclscripts/archer/CMakeLists.txt, - src/tclscripts/archer/images/CMakeLists.txt, - src/tclscripts/boteditor/CMakeLists.txt, - src/tclscripts/geometree/CMakeLists.txt, - src/tclscripts/hv3/CMakeLists.txt, - src/tclscripts/lib/CMakeLists.txt, - src/tclscripts/mged/CMakeLists.txt, - src/tclscripts/pl-dm/CMakeLists.txt, - src/tclscripts/rtwizard/CMakeLists.txt, - src/tclscripts/rtwizard/lib/CMakeLists.txt, - src/tclscripts/sdialogs/CMakeLists.txt, - src/tclscripts/sdialogs/scripts/CMakeLists.txt, - src/tclscripts/swidgets/CMakeLists.txt, - src/tclscripts/swidgets/images/CMakeLists.txt, - src/tclscripts/swidgets/scripts/CMakeLists.txt, - src/tclscripts/util/CMakeLists.txt, src/util/CMakeLists.txt, - src/vfont/CMakeLists.txt: - Take a stab at the CMakeLists.txt files (probably not complete) + * [r54369] src/libged/gqa.c: + bu.h's INFINITY should suffice for min/max testing; no need to + conditionally define a local constant -2012-01-24 04:00 starseeker +2013-02-09 03:06 n_reed - * [r49008] misc/CMake/BRLCAD_CPackOptions.cmake.in, - misc/CMake/BRLCAD_CheckFunctions.cmake, - misc/CMake/BRLCAD_CompilerFlags.cmake, - misc/CMake/BRLCAD_Dependent_Options.cmake, - misc/CMake/BRLCAD_Options.cmake, misc/CMake/BRLCAD_Util.cmake, - misc/CMake/CMakeFiles.cmake, misc/CMake/CheckCFileRuns.cmake, - misc/CMake/CheckPrototypeExists.cmake, - misc/CMake/CompilerFlags.cmake, misc/CMake/DiffCache.cmake, - misc/CMake/DocBook.cmake, misc/CMake/FindGL.cmake, - misc/CMake/FindLEMON.cmake, misc/CMake/FindLEX.cmake, - misc/CMake/FindOPENNURBS.cmake, misc/CMake/FindOSL.cmake, - misc/CMake/FindPERPLEX.cmake, misc/CMake/FindPkgMacros.cmake, - misc/CMake/FindRE2C.cmake, misc/CMake/FindREGEX.cmake, - misc/CMake/FindSCL.cmake, misc/CMake/FindShellDeps.cmake, - misc/CMake/FindTCL.cmake, misc/CMake/FindTERMLIB.cmake, - misc/CMake/FindUTAHRLE.cmake, misc/CMake/FindX11.cmake, - misc/CMake/FindXMLLINT.cmake, misc/CMake/FindXSLTPROC.cmake, - misc/CMake/FindYACC.cmake, misc/CMake/FindZLIB.cmake, - misc/CMake/Fink_MacPorts.cmake, misc/CMake/LEMON_Util.cmake, - misc/CMake/PERPLEX_Util.cmake, misc/CMake/RE2C_Util.cmake, - misc/CMake/ResetCache.cmake, misc/CMake/ThirdParty.cmake, - misc/CMake/ThirdParty_TCL.cmake, - misc/CMake/distcheck_buildsys.cmake.in, misc/CMake/fop.cmake.in, - misc/CMake/msv.cmake.in, misc/CMake/rnv.cmake.in, - misc/CMake/xmllint.cmake.in, misc/CMake/xsltproc.cmake.in: - Have a go at standardizing the case of built-in CMake function - calls in our .cmake files, for readability improvement. Not - hitting the CMakeLists.txt files yet. + * [r54368] src/other/libvds.dist: + ignore libvds Makefile.am -2012-01-24 04:00 brlcad +2013-02-09 02:56 n_reed - * [r49007] src/mged/mged.c: - feature LONG time in the making. improve tab expansion padding a - trailing space if we get down to only one match remaining. - improved usability ftw. + * [r54367] configure.ac, src/librt/Makefile.am, + src/other/Makefile.am, src/other/libvds/Makefile.am: + add automake logic for libvds -2012-01-24 03:57 brlcad +2013-02-09 02:11 n_reed - * [r49006] src/mged/mged.c: - looks like console tab-completion in mged also relied on '%*s' - strncat behavior, though not critically so (wipes out the - previous command line) + * [r54366] src/other/libvds/util.c: + need stdlib.h for free -2012-01-24 02:39 brlcad +2013-02-08 22:36 starseeker - * [r49005] src/mged/mged.c: - simplify, pull the free up to after Tcl_Eval() since we're done - with it + * [r54365] doc/docbook/system/man1/en/dbupgrade.xml: + Update man page for dbupgrade command line utility. -2012-01-24 02:25 brlcad +2013-02-08 22:26 starseeker - * [r49004] src/mged/cmd.c: - looks like a case where '%*s' is being used incorrectly. it's not - strncpy, so use a vls to get that intended result. + * [r54364] doc/docbook/system/mann/en/CMakeLists.txt, + doc/docbook/system/mann/en/dbupgrade.xml: + Add MGED man page for dbupgrade, with a binary-incompatible v4 + example. -2012-01-24 01:45 starseeker +2013-02-08 21:46 carlmoore - * [r49003] CMakeLists.txt: - obsolete comment + * [r54363] src/shapes/coil.c: + and now we provide the Usage if coil is run with no arguments -2012-01-24 01:27 n_reed +2013-02-08 21:17 brlcad - * [r49002] src/libbu/test_sscanf.c: - add more float-type tests + * [r54362] src/shapes/coil.c: + indent and reword the comment to say why optopt is better than c -2012-01-23 23:29 n_reed +2013-02-08 21:08 n_reed - * [r49001] src/libbu/test_sscanf.c: - Added other integer type tests. Building the source strings to - include min/max values. + * [r54361] INSTALL: + r54352 changed generated INSTALL file -2012-01-23 23:01 brlcad +2013-02-08 20:56 carlmoore - * [r49000] src/libbu/test_vls.c: - my test cases for the %* bug were already added, so don't need. - also, tidy output some now that there are a lot more complex - tests, align the PASS/FAIL for easy scanning. + * [r54360] src/proc-db/clutter.c: + explain that arguments are ignored and that the command (still) + proceeds -2012-01-23 22:24 tbrowder2 +2013-02-08 20:54 n_reed - * [r48999] src/libbu/test_vls.c: - add Sean's tests + * [r54359] src/libged/draw.c: + Need to check before dereferencing gvp. ged_view may not exist, + e.g. if we're running without a display attached. -2012-01-23 22:05 brlcad +2013-02-08 20:34 starseeker - * [r48998] src/libbu/test_vls.c: - add a couple more width test cases, shows that the old - bu_vls_printf() implementation was wrong treating the length as a - max instead of as a min with left space padding. + * [r54358] src/shapes/coil.c: + Fix comment syntax -2012-01-23 21:16 indianlarry +2013-02-08 20:30 carlmoore - * [r48997] src/conv/step/DerivedUnit.cpp, - src/conv/step/DerivedUnitElement.cpp, - src/conv/step/GlobalUncertaintyAssignedContext.cpp, - src/conv/step/GlobalUnitAssignedContext.cpp, - src/conv/step/MeasureWithUnit.cpp, src/conv/step/PCurve.cpp, - src/conv/step/Representation.cpp: - cast using dynamic_cast<> + * [r54357] src/anim/anim_hardtrack.c: + improve the comment for anim_hardtrack.c -2012-01-23 21:14 indianlarry +2013-02-08 20:26 carlmoore - * [r48996] src/conv/step/CompositeCurve.cpp: - cast using dynamic_cast<> + * [r54356] src/anim/anim_hardtrack.c: + commented off line in accordance with the comment I furnished in + the change -2012-01-23 20:53 starseeker +2013-02-08 20:16 carlmoore - * [r48995] CMakeLists.txt: - Make a stab at fixing indenting in toplevel CMakeLists.txt file + * [r54355] src/shapes/coil.c: + oops, thought I should comment about the change, too -2012-01-23 20:24 indianlarry +2013-02-08 20:14 carlmoore - * [r48994] src/conv/step/DerivedUnitElement.h, - src/conv/step/DimensionalExponents.h, - src/conv/step/FoundedItem.h, src/conv/step/MeasureValue.h, - src/conv/step/MeasureWithUnit.h, src/conv/step/PCurveOrSurface.h, - src/conv/step/Representation.h, - src/conv/step/RepresentationContext.h, - src/conv/step/TrimmingSelect.h, src/conv/step/Unit.h: - virtually inherit STEPEntity; we only want one of these in any - multiple inheritance situation + * [r54354] src/shapes/coil.c: + use bu_optopt, which is available as a global, instead of c, + which here only output a '?' -2012-01-23 20:21 tbrowder2 +2013-02-08 18:40 brlcad - * [r48993] src/libged/human.c: - correct overzealous ws formatting (a macro gone wild with a - zoned-out human) + * [r54353] NEWS: + annotate the user-visible change to pix-png I made in r54172 + where the gama chunk warning was quelled. patterning some other + tools, it now simply defaults to not writing the chunk unless + user-specified. -2012-01-23 19:59 indianlarry +2013-02-08 18:34 brlcad - * [r48992] src/conv/step/Axis2Placement.h: - virtually inherit STEPEntity; we only want one of these in any - multiple inheritance situation + * [r54352] src/other/CMakeLists.txt: + minor spelling typo plus slew of formatting consistency (to + column 70 like everywhere else) -2012-01-23 19:38 indianlarry +2013-02-08 17:36 n_reed - * [r48991] src/libged/track.c, src/libged/typein.c, - src/libged/wdb_track.c: - spaces where spaces shouldn't be; might be a formatter gone awry? + * [r54351] include/bio.h, src/other/CMakeLists.txt: + rename regex functions when we need to prevent local libregex + symbols from conflicting with libc regex symbols -2012-01-23 19:34 indianlarry +2013-02-08 17:11 bob1961 - * [r48990] src/libdm/dm-X.c, src/libdm/dm-ogl.c, - src/libdm/dm-rtgl.c, src/libdm/dm-tk.c, src/libdm/dm-wgl.c: - using bu_vls_strncpy() to get parent window name from vls string. - looks to be some changes to bu_vls_printf() where the "%*s" - format specifier is concerned. can revert when later is fixed + * [r54350] src/tclscripts/archer/PipeEditFrame.tcl: + Limit the display of numeric precision in the pipe edit panel to + 6 places. -2012-01-23 19:11 n_reed +2013-02-08 17:02 starseeker - * [r48989] src/libbu/sscanf.c: - remove unused base var for now (holdover from vfscanf), but may - want it later... + * [r54349] src/tclscripts/mged/dbupgrade.tcl: + Wrap catches inside if statements in brackets per example from + http://www.tcl.tk/man/tcl8.5/TclCmd/catch.htm -2012-01-23 19:00 tbrowder2 +2013-02-08 16:21 d_rossberg - * [r48988] TODO: - add .density file and density database code refactoring task + * [r54348] misc/win32-msvc/Dll/CMakeLists.txt: + librt requires libvds now -2012-01-23 18:58 starseeker +2013-02-08 16:20 d_rossberg - * [r48987] misc/CMake/BRLCAD_CPackOptions.cmake.in, - misc/CMake/BRLCAD_CompilerFlags.cmake, - misc/CMake/BRLCAD_Options.cmake, misc/CMake/BRLCAD_Util.cmake, - misc/CMake/CMakeFiles.cmake, misc/CMake/CheckCFileRuns.cmake, - misc/CMake/CheckPrototypeExists.cmake, - misc/CMake/CompilerFlags.cmake, misc/CMake/DiffCache.cmake, - misc/CMake/DocBook.cmake, misc/CMake/FindGL.cmake, - misc/CMake/FindLEMON.cmake, misc/CMake/FindLEX.cmake, - misc/CMake/FindOIIO.cmake, misc/CMake/FindOPENNURBS.cmake, - misc/CMake/FindOSL.cmake, misc/CMake/FindOpenEXR.cmake, - misc/CMake/FindPkgMacros.cmake, misc/CMake/FindREGEX.cmake, - misc/CMake/FindTBB.cmake, misc/CMake/FindTCL.cmake, - misc/CMake/FindTERMLIB.cmake, misc/CMake/FindUTAHRLE.cmake, - misc/CMake/FindX11.cmake, misc/CMake/FindYACC.cmake, - misc/CMake/Fink_MacPorts.cmake, misc/CMake/LEMON_Util.cmake, - misc/CMake/PERPLEX_Util.cmake, misc/CMake/ResetCache.cmake, - misc/CMake/ThirdParty.cmake, misc/CMake/ThirdParty_TCL.cmake, - misc/CMake/distcheck_buildsys.cmake.in, misc/CMake/msv.cmake.in, - misc/CMake/rnv.cmake.in, misc/CMake/xmllint.cmake.in, - misc/CMake/xsltproc.cmake.in: - Go with the Emacs mode indentation style for CMake files + * [r54347] src/librt/CMakeLists.txt, + src/other/libvds/CMakeLists.txt: + tweaked the dllexport/dllimport declaration logic on Windows a + little bit -2012-01-23 18:57 tbrowder2 +2013-02-08 16:15 bob1961 - * [r48986] src/libanalyze/density.c, src/libanalyze/test_density.c: - ws, style + * [r54346] src/libged/edpipe.c: + Tweak pipe_scale_od() -2012-01-23 18:28 starseeker +2013-02-08 16:13 bob1961 - * [r48985] misc/CMake/BRLCAD_CompilerFlags.cmake, - misc/CMake/BRLCAD_Dependent_Options.cmake, - misc/CMake/BRLCAD_Options.cmake, misc/CMake/BRLCAD_Util.cmake, - misc/CMake/CheckCFileRuns.cmake, misc/CMake/CompilerFlags.cmake, - misc/CMake/DiffCache.cmake, misc/CMake/FindGL.cmake, - misc/CMake/FindLEMON.cmake, misc/CMake/FindOIIO.cmake, - misc/CMake/FindOPENNURBS.cmake, misc/CMake/FindOSL.cmake, - misc/CMake/FindOpenEXR.cmake, misc/CMake/FindPERPLEX.cmake, - misc/CMake/FindPkgMacros.cmake, misc/CMake/FindRE2C.cmake, - misc/CMake/FindREGEX.cmake, misc/CMake/FindSCL.cmake, - misc/CMake/FindShellDeps.cmake, misc/CMake/FindTBB.cmake, - misc/CMake/FindTCL.cmake, misc/CMake/FindTERMLIB.cmake, - misc/CMake/FindUTAHRLE.cmake, misc/CMake/FindX11.cmake, - misc/CMake/FindXMLLINT.cmake, misc/CMake/FindXSLTPROC.cmake, - misc/CMake/FindYACC.cmake, misc/CMake/FindZLIB.cmake, - misc/CMake/Fink_MacPorts.cmake, misc/CMake/LEMON_Util.cmake, - misc/CMake/PERPLEX_Util.cmake, misc/CMake/RE2C_Util.cmake, - misc/CMake/ResetCache.cmake, - misc/CMake/ResolveCompilerPaths.cmake, - misc/CMake/ThirdParty.cmake, misc/CMake/ThirdParty_TCL.cmake: - cmake files are not sh files + * [r54345] src/tclscripts/archer/PipeEditFrame.tcl: + Flesh out the pipe primitive edit panel's "p" method. -2012-01-23 18:20 tbrowder2 +2013-02-08 15:08 starseeker - * [r48984] TODO: - wrapped some long lines for ease of perusal + * [r54344] NEWS: + Binary incompatible v4 file upgrade by dbupgrade resulted in + shader contents that caused parse_list_elem to fail in + bu_shader_to_key_eq - add sanity checks to make sure we've got + something valid before proceeding. Definitely user visible - + update NEWS. -2012-01-23 18:08 starseeker +2013-02-08 15:05 starseeker - * [r48983] doc/docbook/books/en/CMakeLists.txt: - whoops - too aggressive with the xsl dependencies. + * [r54343] src/libbu/parse.c: + Binary incompatible v4 file upgrade by dbupgrade resulted in + shader contents that caused parse_list_elem to fail in + bu_shader_to_key_eq - add sanity checks to make sure we've got + something valid before proceeding. Doesn't address why the shader + string was garbled, but does prevent MGED from crashing when + trying to draw the geometry. -2012-01-23 18:07 starseeker +2013-02-08 14:19 bob1961 - * [r48982] misc/CMake/msv.cmake.in, misc/CMake/rnv.cmake.in, - misc/CMake/xmllint.cmake.in: - Update the validate scripts for the new setup + * [r54342] src/libged/edpipe.c, src/libtclcad/tclcad_obj.c: + Update _ged_append_pipept_common to expect the incoming point to + be in view coordinates. Also, use the view Z calculated from the + previous point to replace the view Z of the incoming/new point. -2012-01-23 18:01 brlcad +2013-02-08 13:24 bob1961 - * [r48981] misc/CMake/BRLCAD_CheckFunctions.cmake: - missed one + * [r54341] src/tclscripts/archer/PipeEditFrame.tcl: + Added a moveElement override function to PipeEditFrame. This + preserves view z for the pipe point being moved. -2012-01-23 17:57 brlcad +2013-02-07 22:23 bob1961 - * [r48980] misc/CMake/BRLCAD_CheckFunctions.cmake: - fix header funk + * [r54340] src/tclscripts/archer/PipeEditFrame.tcl: + Update the pipe primitives edit routines to activate the main + GUI's save button when points are added or deleted. -2012-01-23 17:57 brlcad +2013-02-07 17:32 bob1961 - * [r48979] misc/CMake/BRLCAD_CheckFunctions.cmake: - this is in-part why these are so unnecessarily difficult to - read... three different indentation styles and two upper/lower - case conventions being used. out-of-place headers beg for an - explanation. set mode to cmake so emacs can fix some of the file - for us. + * [r54339] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/PipeEditFrame.tcl, + src/tclscripts/lib/Ged.tcl: + Updated the "Move Point" edit mode for pipes to be more + interactive (i.e. selecting and moving are combined into a single + action). -2012-01-23 17:51 tbrowder2 +2013-02-07 14:45 d_rossberg - * [r48978] src/libged/3ptarb.c, src/libged/arb.c, - src/libged/attr.c, src/libged/bigE.c, src/libged/bot_dump.c, - src/libged/bot_face_sort.c, src/libged/bot_flip.c, - src/libged/bot_merge.c, src/libged/bot_split.c, - src/libged/bot_sync.c, src/libged/clip.c, src/libged/clone.c, - src/libged/comb_std.c, src/libged/combmem.c, - src/libged/copyeval.c, src/libged/dg_obj.c, src/libged/draw.c, - src/libged/eac.c, src/libged/echo.c, src/libged/edcodes.c, - src/libged/erase.c, src/libged/exists.c, src/libged/find.c, - src/libged/fracture.c, src/libged/get_comb.c, - src/libged/get_obj_bounds.c, src/libged/get_solid_kp.c, - src/libged/gqa.c, src/libged/hide.c, src/libged/human.c, - src/libged/importFg4Section.c, src/libged/inside.c, - src/libged/killrefs.c, src/libged/killtree.c, - src/libged/loadview.c, src/libged/lt.c, src/libged/make.c, - src/libged/nirt.c, src/libged/pathsum.c, src/libged/prefix.c, - src/libged/put_comb.c, src/libged/putmat.c, src/libged/red.c, - src/libged/rfarb.c, src/libged/rmater.c, - src/libged/rotate_arb_face.c, src/libged/rrt.c, src/libged/rt.c, - src/libged/rtcheck.c, src/libged/savekey.c, - src/libged/saveview.c, src/libged/search.c, - src/libged/showmats.c, src/libged/tire.c, src/libged/trace.c, - src/libged/track.c, src/libged/typein.c, src/libged/unhide.c, - src/libged/vdraw.c, src/libged/wcodes.c, src/libged/wdb_bigE.c, - src/libged/wdb_comb_std.c, src/libged/wdb_importFg4Section.c, - src/libged/wdb_nirt.c, src/libged/wdb_track.c, - src/libged/wdb_vdraw.c, src/libged/which.c, - src/libged/which_shader.c, src/libged/xpush.c: - ws, style + * [r54338] misc/win32-msvc/Dll/brlcad.def: + added two symbols for memory debugging -2012-01-23 17:40 brlcad +2013-02-07 14:29 d_rossberg - * [r48977] misc/CMake/BRLCAD_CheckFunctions.cmake: - document the majority of macros saying what their side-effects - are where it's obvious. pass BRLCAD_TYPE_SIZE's header as a list - in case it's more than one. + * [r54337] src/other/openNURBS/opennurbs_zlib.cpp: + the quest for the zlib is a matter of the CMakeLists.txt + this MSVC-#pragma-magic here interferes with the settings in + CMakeLists.txt -2012-01-23 17:34 n_reed +2013-02-07 14:20 d_rossberg - * [r48976] include/bu.h, src/libbu/sscanf.c, - src/libbu/test_sscanf.c: - Implemented bu_vsscanf in terms of sscanf (loses vsscanf - dependency) with much help from BSD vfscanf.c (now using BSD - license). Needs testing. + * [r54336] src/other/libvds/CMakeLists.txt: + build static versions of libvds and stdvds ... if requested -2012-01-23 17:15 brlcad +2013-02-07 08:50 d_rossberg - * [r48975] misc/CMake/BRLCAD_CheckFunctions.cmake: - simplify, looks like CHECK_INCLUDE_FILES will work for checking - all header files. lamely prints var instead of the header, but - does the right/same check anyways. quotes necessary per cmake - macro list expansion rules + * [r54335] src/librt/primitives/pipe/pipe.c: + fixed memory leak: free pipe's st_specific in rt_pipe_free() -2012-01-23 16:58 tbrowder2 +2013-02-07 01:44 starseeker - * [r48974] src/libged/ged.c: - ws style + * [r54334] src/librt/CMakeLists.txt, + src/other/libvds/CMakeLists.txt, src/other/libvds/vds.h: + Take a stab at getting the libvds additions building on Windows. + Functionality is untested as yet, but this seems to get the build + working again. -2012-01-23 16:57 tbrowder2 +2013-02-07 00:33 starseeker - * [r48973] src/libged/ls.c: - ws style + * [r54333] src/other/libvds/stdvds.c: + Add _USE_MATH_DEFINES for definition of M_PI on Windows -2012-01-23 16:11 starseeker +2013-02-06 23:16 brlcad - * [r48972] doc/docbook/CMakeLists.txt, - doc/docbook/books/en/CMakeLists.txt, misc/CMake/DocBook.cmake: - Make each type of DocBook output depend on the XSL stylesheet - used to generate that type of output, so it gets automatically - regenerated if the stylesheets are changed. Note that we don't - depend on the .xsl.in file but the generated .xsl file in the - build directory - this is OK because the .xsl.in files are - tracked by CMake, and CMake will be re-run if they change. If the - xsl.in file is different, it will change the generated .xsl file - and trigger the build rule. + * [r54332] TODO: + csv export support, plus more converter task consolidation -2012-01-23 15:46 starseeker +2013-02-06 23:04 carlmoore - * [r48971] CMakeLists.txt, misc/CMake/BRLCAD_CheckFunctions.cmake: - Alter BRLCAD_INCLUDE_FILE to support optionally supplying a list - of headers, instead of just one. + * [r54331] src/anim/anim_hardtrack.c: + add newline -2012-01-23 13:31 tbrowder2 +2013-02-06 22:40 n_reed - * [r48970] src/libged/wdb_obj.c: - ws style + * [r54330] include/ged.h, src/libged/draw.c, src/mged/attach.c, + src/mged/mged_dm.h, src/mged/set.c: + Make it possible to run adaptive plot routines from mged for + rudimentary testing purposes. Running 'rset var adaptive_plot 1' + causes adaptive routines to be called when calculating plots. -2012-01-23 11:48 tbrowder2 +2013-02-06 22:31 carlmoore - * [r48969] regress/vls.sh: - tweak handling of expected fails + * [r54329] src/librt/primitives/bot/bot.c: + change lu to d to fix format warnings -2012-01-23 11:44 tbrowder2 +2013-02-06 22:31 carlmoore - * [r48968] src/libbu/vls.c: - delete vls structs after use + * [r54328] src/shapes/coil.c: + add a Usage: statement when an illegal option is detected -2012-01-23 11:41 tbrowder2 +2013-02-06 22:21 n_reed - * [r48967] src/libbu/vls.c: - eliminate old if/def code block + * [r54327] src/other/libvds/cluster.c: + remove a noisy info message -2012-01-23 02:52 tbrowder2 +2013-02-06 17:19 brlcad - * [r48966] src/libbu/test_vls.c: - removed unused signal handler + * [r54326] NEWS: + reported by user josh baker, fix a problem with the dbupgrade + mged tcl command. it was never tested on windows so there were + several problems, most notably a 'file attributes' -permissions + error that prevented the upgrade from starting. there was also no + accommodation for spaces in file names and it was using a + windows-problematic \R4 file name suffix. -2012-01-23 02:36 tbrowder2 +2013-02-06 17:16 brlcad - * [r48965] src/libbn/complex.c: - move doxygen description of complex number functions from - implementation file to bu library header file (see patches - tracker ID 3376910) + * [r54325] src/tclscripts/mged/dbupgrade.tcl: + no point stashing the result if we don't use it -2012-01-23 02:36 tbrowder2 +2013-02-06 17:15 brlcad - * [r48964] include/bn.h: - move doxygen description of complex number functions from - implementation file to bu library header file (see patches - tracker ID 3376910) + * [r54324] src/tclscripts/mged/dbupgrade.tcl: + shame on me for using a platform check. unnecessary since we can + just catch the error and try again. lil bit shorter even. -2012-01-23 02:21 tbrowder2 +2013-02-06 17:03 brlcad - * [r48963] regress/vls.sh: - Added a test for expected failures and variation of output - success based on actual test results of unexpected failures, - expected failures, and surprise pass of expected failures. - Tell user to look at the output log file if all is not perfect. - Removes alloutput products if no problems. + * [r54323] TODO: + must test dbupgrade -2012-01-23 02:16 tbrowder2 +2013-02-06 17:02 brlcad - * [r48962] src/libbu/vls.c: - Fixed so no current regression tests fail (but no guarantees). - Found some missing flags, precision wasn't handled properly - for strings (absolutely constrains string length [but not field - width]). - Added new bit flags for special format cases, added FIXMEs where - more looks are needed (more tests need to be added). - Added bit flag categories of modifiers and category bit-clearing - flags - Added comments to help trace the control flow. - Added curly braces to help decode and clarify if/else paths. - Added provision for "expected fail" cases (none at the moment). - Tests need to be added to handle more cases. - Review and critique solicited. + * [r54322] src/tclscripts/mged/dbupgrade.tcl: + users are trying to run dbupgrade on windows and were running + into a -permissions error from tcl. turns out that's not a valid + 'file attributes' option on windows. instead use the -readonly + option. also quote the file names all over the place and don't + use a \R4 suffix just in case there are spaces or other special + characters in the original file name or we're on windows. -2012-01-23 02:16 tbrowder2 +2013-02-06 15:47 carlmoore - * [r48961] src/libbu/test_vls.c: - Added and rearranged tests. - Added separate handling of expected failures (none at the - moment). - Output number of expected failures to stderr and unexpected - failures - to the exit code. - Modified format of test_vls function to more readily see the - input - being tested. - Added some printf statements to help explain test output. + * [r54321] src/librt/primitives/bot/bot.c: + remove trailing blanks -2012-01-21 14:14 tbrowder2 +2013-02-06 15:08 brlcad - * [r48960] src/libbu/test_vls.c: - document a little better, move newly fixed test out of expected - failure category + * [r54320] TODO: + need to fix dbupgrade from within mged, now that v4 are made + read-only when flipped -2012-01-21 13:50 tbrowder2 +2013-02-06 14:21 bob1961 - * [r48959] regress/vls.sh: - updated expected failures for current state + * [r54319] src/tclscripts/archer/PipeEditFrame.tcl: + Tighten up the display of edit options for the pipe edit panel. -2012-01-21 13:00 tbrowder2 +2013-02-06 13:25 bob1961 - * [r48958] src/libbu/vls.c: - resetting flags and other variable for each new fmt specifier - fixes the last bug reported (3475562); now there are only two - test failures (the same two that have been there for a while) + * [r54318] src/tclscripts/archer/Arb5EditFrame.tcl, + src/tclscripts/archer/Arb6EditFrame.tcl, + src/tclscripts/archer/Arb7EditFrame.tcl, + src/tclscripts/archer/Arb8EditFrame.tcl: + Updated the moveElement methods for moving ARB edges (i.e. use a + view_z calculated using edge vertices instead of from the arb's + center). -2012-01-21 05:39 brlcad +2013-02-05 21:13 carlmoore - * [r48957] src/rt/viewweight.c: - s/FIX ME/FIXME/ for consistency and for external tools that key - off the common comment tags (FIXME, TODO, XXX, NOTE) + * [r54317] doc/html/manuals/mged/animmate/anim_track.html, + misc/libtool.m4, src/libbu/mappedfile.c, + src/tclscripts/geometree/GeometryBrowser.tcl, + src/tclscripts/hv3/hv3_form.tcl, + src/tclscripts/hv3/hv3_request.tcl, src/tclscripts/lib/Ged.tcl, + src/tclscripts/mged/shaders.tcl: + remove apostrophes + +2013-02-05 21:12 carlmoore + + * [r54316] src/proc-db/surfaceintersect.cpp: + add semicolon and remove comma + +2013-02-05 21:10 carlmoore + + * [r54315] src/tclscripts/archer/GeometryEditFrame.tcl: + remove 2 apostrophes and add 2 occurrences of 'is' + +2013-02-05 21:05 carlmoore + + * [r54314] src/librt/primitives/nmg/nmg_ck.c: + use capitalized 'OK' + +2013-02-05 21:02 brlcad + + * [r54313] NEWS, src/liboptical/sh_light.c: + fixed an infinite loop. turns out if you subtract your only light + source from the scene, the tracer thinks it's there but can't + shoot visibility rays at it. there was a retry loop based on the + assumption that we might need to retry since the light + radius/angle is random number generated. that seems to be an + unnecessary bias, though, and is clearly unhelpful when there is + no light to be hit. + +2013-02-05 20:49 carlmoore + + * [r54312] TODO, configure.ac, + doc/docbook/system/man1/en/asc2g.xml, + doc/docbook/system/man1/en/g2asc.xml, + doc/html/manuals/Anim_Tutorial/chapt9.html, + doc/html/manuals/cadwidgets/Display.html, + doc/html/manuals/libdm/dm_obj.html, + doc/html/manuals/librt/view_obj.html, + doc/html/manuals/librt/wdb_obj.html, + doc/html/manuals/mged/animmate/object_tut.html, + doc/html/manuals/mged/animmate/tabinterp.html, + doc/html/manuals/mged/animmate/view_tut.html, + doc/html/manuals/mged/ged.html, doc/html/manuals/mged/ged.tex, + doc/html/manuals/mged/mged.html, + doc/html/manuals/mged/mged1.html, doc/mged/a.tex, doc/mged/g.tex, + doc/mged/h.tex, misc/macosx/Resources/License.rtf, sh/show.sh, + src/external/Cubit/g-sat.cpp, + src/librt/primitives/primitive_util.c, + src/tclscripts/hv3/combobox.tcl, src/tclscripts/hv3/hv3.man, + src/tclscripts/hv3/hv3.tcl: + remove apostrophe from 'it's' if it is found that 'its' is called + for + +2013-02-05 20:44 carlmoore + + * [r54311] src/libbu/convert.c: + add 's' to comment + +2013-02-05 20:12 carlmoore + + * [r54310] doc/html/manuals/mged/animmate/animate.html, + doc/html/manuals/mged/animmate/tscript_doc.html: + remove apostrophe from 'its' + +2013-02-05 20:01 bob1961 + + * [r54309] src/tclscripts/archer/Arb4EditFrame.tcl, + src/tclscripts/archer/Arb5EditFrame.tcl, + src/tclscripts/archer/Arb6EditFrame.tcl, + src/tclscripts/archer/Arb7EditFrame.tcl, + src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/BotEditFrame.tcl, + src/tclscripts/archer/GeometryEditFrame.tcl, + src/tclscripts/archer/TgcEditFrame.tcl: + Pushed a bit of the primitive specific logic out of + Archer::handleObjCenter and into GeometryEditFrame and its + subclasses. -2012-01-21 05:32 brlcad +2013-02-05 20:00 carlmoore - * [r48956] src/libbu/fchmod.c: - shouldn't need the fileno() decl any more (windows uses _fileno() - now as of 2005 anyways) + * [r54308] doc/brep.txt: + add apostrophe -2012-01-21 05:30 brlcad +2013-02-05 18:57 carlmoore - * [r48955] include/bu.h, src/fb/fb-pix.c, src/fb/fb-png.c, - src/libbu/fchmod.c, src/libbu/parallel.c, src/libged/fb2pix.c, - src/libged/saveview.c, src/rt/do.c: - fixing bu_fchmod() to be an fchmod() signature-matching function - was a good and sufficient fix. don't really need two functions - that do the same thing when fileno() gives the fd (even on - windows via _fileno()) + * [r54307] src/libfb/if_X24.c: + provide for long unsigned int -2012-01-21 05:27 starseeker +2013-02-05 18:17 n_reed - * [r48954] doc/docbook/resources/other/fonts/y14.5_COPYING.txt: - fix line length + * [r54306] src/librt/primitives/bot/bot.c: + implement adaptive plot routine for bot using libvds -2012-01-21 05:14 brlcad +2013-02-05 17:32 n_reed - * [r48953] doc/docbook/resources/other/fonts/y14.5_COPYING, - doc/docbook/resources/other/fonts/y14.5_COPYING.txt: - naming consistency + * [r54305] src/other/libvds/dynamic.c, src/other/libvds/render.c, + src/other/libvds/vds.h: + allow some of the vds callbacks to take user data -2012-01-21 05:08 brlcad +2013-02-05 16:08 bob1961 - * [r48952] HACKING: - vls.sh, trivial reword sans parens + * [r54304] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/TgcEditFrame.tcl: + Fixed tgc editing of H and HR. The previous code wasn't + accounting for the view_z location of V. That is, it was using a + view_z computed using the object's center. -2012-01-21 04:37 starseeker +2013-02-05 15:21 carlmoore - * [r48951] misc/CMake/ThirdParty.cmake: - Whoops - put this inside the if condition... + * [r54303] src/librt/test_bot2nurbs.cpp: + remove trailing blank or tab -2012-01-20 22:30 starseeker +2013-02-05 15:05 bob1961 - * [r48950] misc/astyle.opt: - Allow deeper indenting + * [r54302] src/libged/draw.c: + The ged_display_list pointer needs to be updated before calling + db_walk_tree in _ged_drawtrees/ -2012-01-20 22:27 starseeker +2013-02-05 14:12 indianlarry - * [r48949] misc/astyle.opt: - don't want extra default indentation of conditionals + * [r54301] src/other/libvds/CMakeLists.txt: + Added install target for VDS libraries. These were missing + causing upstream test to fail. -2012-01-20 22:23 starseeker +2013-02-04 22:25 carlmoore - * [r48948] misc/astyle.opt: - Ah hah - we want to indent the cases of a switch statement + * [r54299] src/librt/primitives/nmg/nmg_inter.c: + fix formatting -2012-01-20 22:22 starseeker +2013-02-04 21:50 starseeker - * [r48947] misc/CMake/ThirdParty.cmake: - Warn if a NOSYS library is turned off - Bad Things expected. + * [r54298] src/librt/test_bot2nurbs.cpp: + For some reason, leaving this array uncommented is causing a + performance issue in the fitting. -2012-01-20 21:44 erikgreenwald +2013-02-04 21:22 carlmoore - * [r48946] CMakeLists.txt: - Bump required CMake version to 2.8.4. osX couldn't find - dependencies (namely xsl-expand while building docbook articles) - even though the dep worked as a target on 2.8.3. + * [r54297] src/conv/iges/conv_drawings.c, + src/librt/primitives/rpc/rpc.c: + simplify computations -2012-01-20 20:41 starseeker +2013-02-04 21:05 carlmoore - * [r48945] include/rtgeom.h: - Need to start way simpler here... + * [r54296] src/libfb/fb_obj.c: + try to fix 'too many arguments' warning -2012-01-20 20:28 starseeker +2013-02-04 20:27 carlmoore - * [r48944] misc/astyle.opt: - Tweak the astyle opt file - for the moment, remove align-pointer - since it's changing some stuff in if conditionals (for example, - avs.c line 45) that look like maybe they shouldn't be changed. - Sean fixed astyle, so turn on kr styling. The pad-oper setting - appears to work as advertised, the question is whether we want to - apply it globally... + * [r54295] src/libged/wdb_obj.c: + fix format mismatch -2012-01-20 20:26 starseeker +2013-02-04 20:03 starseeker - * [r48943] misc/CMake/ThirdParty.cmake: - Swap the order of checks 2 and 3 - if we're explicitly turning - something off, even NOSYS isn't enough to save it - this was true - anyway, so make the ordering clearer. + * [r54294] src/librt/test_bot2nurbs.cpp: + Add debugging code that makes a brep for each face. -2012-01-20 18:19 brlcad +2013-02-01 22:50 carlmoore - * [r48942] CMakeLists.txt, misc/CMake/BRLCAD_CheckFunctions.cmake: - didn't get the commit e-mail, and missed the new - BRLCAD_INCLUDE_FILE_WINDOWS() macro. looks like - BRLCAD_INCLUDE_FILE does just pass it though, so the - windows-specific macro shouldn't be needed. awaiting windows - build verification. + * [r54293] src/lgt/do_options.c: + simplify an if/then/else block (some code moved to before the + 'if') -2012-01-20 18:02 brlcad +2013-02-01 22:06 carlmoore - * [r48941] CMakeLists.txt: - looks like cmake has a mechanism for checking headers that - require other headers (at least CHECK_INCLUDE_FILES() does). list - them before the header, separated with semicolons. should fix the - issue prompted by r48886. + * [r54292] src/libged/tables.c, src/libged/wdb_comb_std.c, + src/libged/wdb_obj.c, src/libged/whatid.c, + src/liboptical/sh_grass.c, src/librt/primitives/nmg/nmg_index.c, + src/librt/primitives/nmg/nmg_inter.c, + src/librt/primitives/nmg/nmg_mod.c, + src/librt/primitives/nmg/nmg_plot.c, src/librt/regionfix.c, + src/librt/tree.c: + change d to ld in formatting -2012-01-20 17:59 brlcad +2013-02-01 21:07 carlmoore - * [r48940] regress/mged.sh: - don't pop up a window on commands that want to try, set display - to null. also, delete output file(s) before writing them + * [r54291] src/util/pixbustup.c: + switch to long int format -2012-01-20 15:17 erikgreenwald +2013-02-01 20:48 carlmoore - * [r48939] src/libgcv/test_bottess.c: - macro up face detection + * [r54290] INSTALL: + remove trailing blanks -2012-01-20 13:47 erikgreenwald +2013-02-01 20:34 bob1961 - * [r48938] src/libged/analyze.c: - quell uninitialized var warning + * [r54289] src/librt/primitives/arb8/arb8.c: + Fix for the local_arb4_edge_vertex_mapping array (i.e. arb4's use + index 4 for point 4). -2012-01-20 13:44 erikgreenwald +2013-02-01 20:20 bob1961 - * [r48937] src/libfb/tcl.c: - erm, argv[0] is not a static string and this is not tcl, redo the - bu_log string for proper format/varargs handling + * [r54288] include/raytrace.h, src/libged/move_arb_face.c, + src/librt/primitives/arb8/arb8.c: + Added rt_arb_check_points (used by rt_arb_calc_points and + rt_arb_edit to prevent zero length edges). -2012-01-20 13:13 tbrowder2 +2013-02-01 18:43 bob1961 - * [r48936] regress/mged.sh: - correct test to remove only if not FAILED + * [r54287] src/libtclcad/tclcad_obj.c: + This fixes an issue that appears in Archer when editing an object + that has been drawn as part of a combination. -2012-01-20 13:12 starseeker +2013-02-01 18:28 starseeker - * [r48935] regress/red.sh: - try not to use bash specific syntax... + * [r54286] TODO: + Add a note to investigate what it would take to make search aware + of boolean ops -2012-01-20 05:34 brlcad +2013-02-01 17:11 bob1961 - * [r48934] src/conv/asc/pix2asc.c: - revert r48777 that maybe quelled a TAINTED_SCALAR coverity - warning since it causes a compilation warning (it's always true). - cleanup. + * [r54285] src/tclscripts/archer/Arb5EditFrame.tcl, + src/tclscripts/archer/Arb7EditFrame.tcl, + src/tclscripts/archer/ArcherCore.tcl: + Minor cleanup -2012-01-20 03:41 tbrowder2 +2013-02-01 14:03 bob1961 - * [r48933] regress/vls.sh: - add some more robustness: report if all expected failure pass + * [r54284] src/libged/draw.c: + Drawing combinations using the shaded mode options was no longer + working. This fixes the problem. -2012-01-19 23:52 tbrowder2 +2013-01-31 23:00 carlmoore - * [r48932] src/libged/analyze.c: - declaration at top, but set value where it's used + * [r54283] src/liboptical/sh_gauss.c, + src/liboptical/sh_treetherm.c: + insert 2 more uses of 'ld' in lieu of 'd' -2012-01-19 23:34 bob1961 +2013-01-31 22:16 n_reed - * [r48931] src/other/lemon/lempar.c: - Move variable declarations to top of code block. + * [r54282] src/librt/CMakeLists.txt, src/other/CMakeLists.txt, + src/other/libvds/CMakeLists.txt: + make libvds routines available in librt -2012-01-19 23:22 bob1961 +2013-01-31 21:59 n_reed - * [r48930] src/libged/analyze.c: - Move variable declarations to top of code block. + * [r54281] src/librt/primitives/bot/bot.c, + src/librt/primitives/table.c: + stub in rt_bot_adaptive_plot -2012-01-19 23:18 bob1961 +2013-01-31 21:18 n_reed - * [r48929] src/libfb/if_mem.c: - Move variable declarations to top of code block. + * [r54280] src/other/libvds/cluster.c, src/other/libvds/vds.h: + rename clustering routine and expose in vds.h -2012-01-19 23:13 bob1961 +2013-01-31 21:13 n_reed - * [r48928] src/libbu/magic.c: - Needs bu.h + * [r54279] INSTALL, src/other/libvds.dist, + src/other/libvds/cluster.c, src/other/libvds/geom.h: + Remove geom.h; holdover from polyview. We have no use for it or + the one function that uses need it. -2012-01-19 22:55 bob1961 +2013-01-31 19:35 starseeker - * [r48927] src/libpkg/pkg.c: - Move "if" statement after variable declarations. + * [r54278] src/other/CMakeLists.txt: + Fix root cause of spaces removed in commit 54275 -2012-01-19 20:17 brlcad +2013-01-31 19:35 carlmoore - * [r48926] NEWS, TODO: - might miss the january release if the coverity defect code - reviewing takes too long or problems are encountered, but going - to try to hit that mark for 7.22.0 anyways. lots of testing and - commit review help needed. + * [r54277] src/conv/g-shell-rect.c, src/mged/menu.c: + supply ld instead of d format -2012-01-19 20:12 tbrowder2 +2013-01-31 19:26 carlmoore - * [r48925] src/libged/analyze.c: - leave the note for future reference, please + * [r54276] src/librt/primitives/bot/bot.c, + src/librt/primitives/nmg/nmg_inter.c: + resolve d <--> ld discrepancies -2012-01-19 18:43 brlcad +2013-01-31 19:09 carlmoore - * [r48924] src/libged/analyze.c: - quell compilation failure for 'field' being unused. mark the - sprintf workarounds as FIXME items since bu_vls_printf() is - apparently lacking. + * [r54275] INSTALL: + remove trailing blanks -- no other changes -2012-01-19 17:33 starseeker +2013-01-31 18:28 n_reed - * [r48923] regress/red.sh: - Looks like we need to export the EDITOR variable here - without - this export, an actual text editor kept getting launched during - the red-regress tests. + * [r54274] src/util/pixcut.c: + check fread return value -2012-01-19 17:28 tbrowder2 +2013-01-31 18:10 bob1961 - * [r48922] regress/mged.sh: - this is a valid change for debugging failed tests + * [r54273] src/tclscripts/archer/ArcherCore.tcl: + More tweaks for updating the -primitiveLabels option. -2012-01-19 17:21 starseeker +2013-01-31 18:07 n_reed - * [r48921] regress/mged.sh: - As far as I know, we haven't deliberately removed opendb + * [r54272] src/other/libvds/build.c: + Fix buffer overrun. Insufficient memory was being allocated; need + one id per node to access ids array by node index. -2012-01-19 16:58 tbrowder2 +2013-01-31 18:03 n_reed - * [r48920] regress/mged.sh: - opendb disappeared (forever?); had to substitute mged command to - get regression test to work (other tests may be affected by the - loss of opendb) + * [r54271] src/other/libvds/build.c: + last revision pulled in other work without comment; removing it + temporarily -2012-01-19 16:08 tbrowder2 +2013-01-31 17:59 n_reed - * [r48919] regress/CMakeLists.txt: - vls test files are now checked in (sorry about that) + * [r54270] src/other/libvds/CMakeLists.txt, + src/other/libvds/build.c, src/other/libvds/geom.h, + src/other/libvds/stdrender.c: + remove unneeded GL-specific code -2012-01-19 16:02 tbrowder2 +2013-01-31 17:38 n_reed - * [r48918] regress/vls.sh: - distinguish expected from unexpected failures; no overall failure - for expected failures (and decrease on expected failures is also - reported) + * [r54269] src/irprep/pictx.c: + fix program name in error message -2012-01-19 16:00 tbrowder2 +2013-01-31 17:32 n_reed - * [r48917] src/libbu/test_vls.c: - distinguish expected failures from unexpected failure; send - number of expected failures to stdout for regression tests; - status reflects number of unexpected test failures + * [r54268] src/irprep/CMakeLists.txt, src/irprep/pictx.c: + check scanf and system returns -2012-01-19 15:51 starseeker +2013-01-31 17:29 carlmoore - * [r48916] regress/CMakeLists.txt: - comment out the vls.sh regression until the file is actually - present in the repository. + * [r54267] src/libfb/if_disk.c, src/librt/db5_types.c, + src/librt/db_lookup.c, src/librt/db_tree.c, src/librt/pr.c, + src/librt/prep.c, src/librt/primitives/bot/g_bot_include.c, + src/librt/primitives/nmg/nmg.c, + src/librt/primitives/nmg/nmg_index.c: + fix d <--> ld format mismatches -2012-01-19 14:56 bob1961 +2013-01-31 17:08 starseeker - * [r48915] src/libtclcad/tclcad_obj.c: - Need to initialize the view params in to_data_polygons. + * [r54266] doc/docbook/system/man1/en/CMakeLists.txt, + doc/docbook/system/man3/en/CMakeLists.txt: + Need to flag extra outputs from DocBook man pages for CMake. -2012-01-19 14:41 tbrowder2 +2013-01-31 16:59 n_reed - * [r48914] src/libbu/test_vls.c: - add new tests, track number of test failures and send to exit - status + * [r54265] src/other/libvds/vds.h: + remove use of bit field with vdsNodeStatus; bit field support for + enum types is compiler specific -2012-01-19 14:38 tbrowder2 +2013-01-31 16:49 n_reed - * [r48913] regress/CMakeLists.txt: - add regression test for the bu_vls_printf function + * [r54264] src/other/libvds/build.c, src/other/libvds/file.c, + src/other/libvds/util.c: + remove uses of malloc.h -2012-01-19 14:37 tbrowder2 +2013-01-31 16:47 n_reed - * [r48912] HACKING: - add a bit more info for newbie testers + * [r54263] src/other/libvds/build.c, src/other/libvds/cluster.c, + src/other/libvds/dynamic.c, src/other/libvds/file.c, + src/other/libvds/geom.h, src/other/libvds/path.h, + src/other/libvds/render.c, src/other/libvds/stdfold.c, + src/other/libvds/stdrender.c, src/other/libvds/stdvds.c, + src/other/libvds/stdvis.c, src/other/libvds/util.c, + src/other/libvds/vds.h, src/other/libvds/vdsprivate.h, + src/other/libvds/vector.h: + ws/style -2012-01-19 13:59 d_rossberg +2013-01-31 16:46 bob1961 - * [r48911] CMakeLists.txt, misc/CMake/BRLCAD_CheckFunctions.cmake, - src/libbu/timer.c: - added an include file check for MS Windows includes (they require - windows.h to be included before) - - reverted changes in revision 48886 - - used the new check for mmsystem.h + * [r54262] src/tclscripts/archer/ArcherCore.tcl: + Removed the call to clear the primitiveLabels in + ArcherCore::gedWrapper -2012-01-19 13:36 tbrowder2 +2013-01-31 16:36 bob1961 - * [r48910] src/libbu/test_vls.c: - add test for bug no. 3475562 + * [r54261] src/tclscripts/lib/Ged.tcl: + The call to libtclcad's edit_motion_delta_callback requires a + view parameter. -2012-01-19 03:06 tbrowder2 +2013-01-31 16:15 brlcad - * [r48909] src/libged/analyze.c: - add some strategic newlines + * [r54260] src/util/bombardier.c: + recent change fails c90, need to get cmake build testing that at + some point too -2012-01-19 02:51 tbrowder2 +2013-01-31 16:14 starseeker - * [r48908] src/libged/analyze.c: - add a newline to tgc output + * [r54259] src/other/libvds.dist: + Add in the distcheck list for libvds -2012-01-19 02:47 tbrowder2 +2013-01-31 16:13 brlcad - * [r48907] src/libged/analyze.c: - add pretty print of torus volume table + * [r54258] src/fb/Makefile.am, src/other/openNURBS/Makefile.am: + update for files that no longer exist -2012-01-19 02:21 tbrowder2 +2013-01-31 16:07 starseeker - * [r48906] HACKING: - add a bit more info on regression tests + * [r54257] INSTALL, configure.cmake.sh, misc/CMake/FindVDS.cmake, + src/other/CMakeLists.txt: + Add in the logic to hook vds into BRL-CAD's overall build system. + +2013-01-31 15:52 starseeker + + * [r54256] src/other/libvds/docs, src/other/libvds/docs/fold.png, + src/other/libvds/docs/intro.html: + Add at least the basic overview page and its image for + documentation. + +2013-01-31 15:44 starseeker + + * [r54255] src/other/libvds/README: + Rework the README a bit. + +2013-01-31 15:37 starseeker + + * [r54254] src/other/libvds/CMakeLists.txt, + src/other/libvds/polyview: + Remove the remainder of polyview - revision control has it if we + need it + +2013-01-31 15:36 starseeker + + * [r54253] src/other/libvds/geom.h, + src/other/libvds/polyview/geom.h: + cluster needs geom.h + +2013-01-31 15:33 starseeker + + * [r54252] src/other/libvds/CMakeLists.txt: + Clean up CMakeLists.txt file a bit. + +2013-01-31 15:32 brlcad + + * [r54251] include/nurbs.h: + propagate a few LIKELY/UNLIKELY hints for the null sanity checks + +2013-01-31 15:30 starseeker + + * [r54250] src/other/libvds/cluster.c, + src/other/libvds/polyview/cluster.cxx: + cluster looks to be generally useful, so move it out of polyview + +2013-01-31 15:29 starseeker + + * [r54249] src/other/libvds/CMakeLists.txt, + src/other/libvds/COPYING, src/other/libvds/Makefile, + src/other/libvds/README, src/other/libvds/build.c, + src/other/libvds/debian, + src/other/libvds/polyview/CMakeLists.txt, + src/other/libvds/polyview/Makefile, + src/other/libvds/polyview/cluster.c, + src/other/libvds/polyview/cluster.cxx, + src/other/libvds/polyview/geom.c, + src/other/libvds/polyview/geom.cxx, + src/other/libvds/polyview/invmatrix.c, + src/other/libvds/polyview/invmatrix.cxx, + src/other/libvds/polyview/poly.c, + src/other/libvds/polyview/poly.cxx, + src/other/libvds/polyview/polytest.c, + src/other/libvds/polyview/polytest.cxx, + src/other/libvds/polyview/polyview.c, + src/other/libvds/polyview/polyview.cxx, + src/other/libvds/polyview/polyviewctrl.c, + src/other/libvds/polyview/polyviewctrl.cxx, + src/other/libvds/polyview/trackball.c, + src/other/libvds/polyview/trackball.cxx: + Add initial CMake build files, tweaks for compilation, move some + docs to more standard filenames. + +2013-01-31 15:24 starseeker + + * [r54248] src/other/libvds/Makefile, src/other/libvds/debian, + src/other/libvds/debian/README.Debian, + src/other/libvds/debian/changelog, + src/other/libvds/debian/control, + src/other/libvds/debian/copyright, + src/other/libvds/debian/ex.doc-base.package, + src/other/libvds/debian/libvds-dev.menu, + src/other/libvds/debian/rules, + src/other/libvds/polyview/Makefile, + src/other/libvds/polyview/invmatrix.c, + src/other/libvds/polyview/poly.c, + src/other/libvds/polyview/poly.h, + src/other/libvds/polyview/polyview.1, + src/other/libvds/polyview/polyview.c, + src/other/libvds/polyview/polyviewctrl.c, + src/other/libvds/stdvds.h, src/other/libvds/vds.h, + src/other/libvds/vdsprivate.h, src/other/libvds/vector.h: + Apply debian patch file vdslib_0.9-6.1.diff + +2013-01-31 15:22 starseeker + + * [r54247] src/other/libvds/Makefile, + src/other/libvds/polyview/Makefile: + Add original Makefiles, since they're not autogenerated at this + stage. + +2013-01-31 15:16 starseeker + + * [r54246] src/other/libvds, src/other/libvds/build.c, + src/other/libvds/dynamic.c, src/other/libvds/file.c, + src/other/libvds/path.h, src/other/libvds/polyview, + src/other/libvds/polyview/cat.poly, + src/other/libvds/polyview/cluster.c, + src/other/libvds/polyview/geom.c, + src/other/libvds/polyview/geom.h, + src/other/libvds/polyview/invmatrix.c, + src/other/libvds/polyview/poly.c, + src/other/libvds/polyview/poly.h, + src/other/libvds/polyview/polylex.l, + src/other/libvds/polyview/polytest.c, + src/other/libvds/polyview/polytok.h, + src/other/libvds/polyview/polyview.c, + src/other/libvds/polyview/polyviewctrl.c, + src/other/libvds/polyview/polyviewctrl.fd, + src/other/libvds/polyview/polyviewctrl.h, + src/other/libvds/polyview/trackball.c, + src/other/libvds/polyview/trackball.h, src/other/libvds/render.c, + src/other/libvds/stdfold.c, src/other/libvds/stdrender.c, + src/other/libvds/stdvds.c, src/other/libvds/stdvds.h, + src/other/libvds/stdvis.c, src/other/libvds/util.c, + src/other/libvds/vds.h, src/other/libvds/vdsprivate.h, + src/other/libvds/vector.h: + Adding vdslib 0.9 to src/other. To preserve history, start with + the original vdslib_0.9.orig.tar.gz contents from the Debian + source package (the original website no longer has the source + code - contacted the author to see if 1.0 was available, but + apparently it hasn't survivied - in any case 0.9 is the version + with a license that works for us.) + +2013-01-31 14:39 bob1961 + + * [r54245] src/libdm/labels.c, src/libtclcad/tclcad_obj.c: + Let dm_draw_labels handle checking for the existence of a + geometric object. This fixes the problem where primitive labels + were not getting drawn for objects specified using a path. + +2013-01-31 13:05 bob1961 + + * [r54244] src/librt/primitives/bot/bot.c: + rt_bot_find_e_nearest_pt1() has been updated to push p1 and p2 + into the same plane before using in the call to + bn_dist_pt2_lseg2() + +2013-01-30 23:15 starseeker + + * [r54243] src/libnurbs/CMakeLists.txt, + src/libnurbs/libnurbs_curvetree.cpp, + src/libnurbs/libnurbs_curvetree.h, + src/libnurbs/libnurbs_surfacetree.cpp, + src/libnurbs/libnurbs_surfacetree.h, + src/libnurbs/libnurbs_surfacetreeutil.cpp, + src/libnurbs/libnurbs_surfacetreeutil.h: + Reverse 54242 + +2013-01-30 23:14 starseeker + + * [r54242] src/libnurbs/CMakeLists.txt, + src/libnurbs/libnurbs_curvetree.cpp, + src/libnurbs/libnurbs_curvetree.h, + src/libnurbs/libnurbs_surfacetree.cpp, + src/libnurbs/libnurbs_surfacetree.h, + src/libnurbs/libnurbs_surfacetreeutil.cpp, + src/libnurbs/libnurbs_surfacetreeutil.h: + Checkpoint some work on reducing the memory footprint of the + NURBS surface tree (at the same time trying to reorganize the + code to be a little more easily understood.) Not in a working + state right now, will remove after this check-in - performing + checking so files can be retrieved if they are otherwise lost. + +2013-01-30 23:06 starseeker + + * [r54241] src/librt/CMakeLists.txt, src/librt/test_bot2nurbs.cpp, + src/librt/test_root3-subd.cpp: + Add more headers to test files + +2013-01-30 23:02 starseeker + + * [r54240] src/librt/test_bot2nurbs.cpp, + src/librt/test_botpatches.cpp, src/librt/test_root3-subd.cpp, + src/librt/test_subdivision.cpp: + Rename some test files + +2013-01-30 23:00 starseeker + + * [r54239] src/librt/test_nurbsfit.cpp: + Add standard header for test_nurbsfit.cpp + +2013-01-30 19:35 carlmoore + + * [r54238] src/lgt/do_options.c: + simplify x_translate , y_translate ('if' block to be simplified + later) + +2013-01-30 19:30 bob1961 + + * [r54237] src/tclscripts/archer/Arb4EditFrame.tcl, + src/tclscripts/archer/Arb5EditFrame.tcl, + src/tclscripts/archer/Arb6EditFrame.tcl, + src/tclscripts/archer/Arb7EditFrame.tcl, + src/tclscripts/archer/Arb8EditFrame.tcl, + src/tclscripts/archer/Archer.tcl: + Enhanced Archer's move-arb-edge editing ability by allowing the + edge being edited to be changed via the mouse while in translate + mode. This provides a more straight forward way to move arb + edges. -2012-01-19 02:13 tbrowder2 +2013-01-30 19:24 bob1961 - * [r48905] HACKING: - add a bit for more detail on adding regression tests + * [r54236] include/ged.h, src/libged/move_arb_edge.c, + src/libtclcad/tclcad_obj.c, src/tclscripts/lib/Ged.tcl: + Create "C" and Tcl interfaces to the code for finding/selecting + arb edges. -2012-01-19 00:28 tbrowder2 +2013-01-30 18:50 carlmoore - * [r48904] NEWS: - update for analyze format fixes + * [r54235] src/librt/comb/db_comb.c, src/librt/db5_types.c: + use %ld to fix warnings about expecting int but getting long int -2012-01-19 00:27 tbrowder2 +2013-01-30 18:10 bob1961 - * [r48903] TODO: - update for analyze format fixes + * [r54234] include/raytrace.h, src/librt/primitives/arb8/arb8.c: + Added code for selecting arb edges (i.e. + rt_arb_find_e_nearest_pt2()). -2012-01-19 00:24 tbrowder2 +2013-01-30 16:38 carlmoore - * [r48902] regress/analyze.asc: - tgm to use for mged analyze testing; has all arbs except arbn at - the moment + * [r54233] src/tclscripts/mged/lc.tcl: + remove trailing blanks/tabs -2012-01-19 00:21 tbrowder2 +2013-01-29 22:38 carlmoore - * [r48901] src/libged/analyze.c: - changes to get pretty printing for mged analyze (arbs for this - first go); this has been tested on a tgm (analyze.asc) soon to be - newly placed in the ./regress directory + * [r54232] src/conv/shp/shapelib/shpopen.c: + simplify what I take to be integer-mode calculations -2012-01-19 00:08 tbrowder2 +2013-01-29 21:36 carlmoore - * [r48900] src/libged/analyze.c: - start to tidy analyze output formatting: add some global values - and subroutines for handling dynamic table creation + * [r54231] src/conv/iges/extrudcon.c: + simplify computation of q1 -2012-01-18 23:41 starseeker +2013-01-29 21:30 carlmoore - * [r48899] doc/docbook/resources/other/fonts/y14.5.tar.bz2, - doc/docbook/resources/other/fonts/y14.5_COPYING: - Add public domain geometric dimensioning and tolerancing (gdt) - fonts from Peter Kanold, with an eye towards their being useful - in the new annotation primitive. + * [r54230] src/shapes/coil.c: + add decimal points although this should already compute in + floating point mode -2012-01-18 22:08 starseeker +2013-01-29 21:19 carlmoore - * [r48898] include/rtgeom.h: - Will need some way to specify head styles for points in - leaders... + * [r54229] src/shapes/coil.c: + remove commented-off code because of the simplicity of the + replacement -2012-01-18 22:04 starseeker +2013-01-29 21:06 brlcad - * [r48897] include/db5.h, include/magic.h, include/raytrace.h, - include/rtgeom.h: - Start working out how to represent annotations in librt. Mostly - just initial thought, defining magic, etc. + * [r54228] src/other/openNURBS/opennurbs_array.h, + src/other/openNURBS/opennurbs_layer.h: + revert 54226 and 54225 since they cause vtable symbol failures + when linking against the lib (declaring them apparently also + implied don't define the default. -2012-01-18 21:01 n_reed +2013-01-29 20:50 carlmoore - * [r48896] CMakeLists.txt, include/bu.h, src/libbu/CMakeLists.txt, - src/libbu/Makefile.am, src/libbu/sscanf.c, - src/libbu/test_sscanf.c: - Add bu_sscanf and bu_vsscanf routines and associated test - program. Just wrappers for now; won't build without C99 vsscanf - routine. + * [r54227] src/shapes/coil.c: + simplify 2 more derivations of coil_radius -2012-01-18 17:29 bob1961 +2013-01-29 20:35 brlcad - * [r48895] src/tclscripts/archer/AttrGroupsDisplayUtility.tcl: - wrap the open for read statements with a catch + * [r54226] src/other/openNURBS/opennurbs_layer.h: + more inline warnings/errors due to the compiler attempting to + inline default functions. declaring them quells via intent. -2012-01-18 10:02 d_rossberg +2013-01-29 20:13 brlcad - * [r48894] include/bu.h, include/config_win.h, - include/config_win_cmake.h.in, src/fb/fb-pix.c, src/fb/fb-png.c, - src/libbu/fchmod.c, src/libbu/file.c, src/libbu/parallel.c, - src/libged/fb2pix.c, src/libged/saveview.c, src/rt/do.c: - - removed the wrong fchmod() <--> chmod() correspondence in - Windows (sorry for this) - - changed the bu_fchmod() parameter from stream to descriptor (as - in fchmod()) and created a new bu_fchmod_stream() with stream - parameter (i.e. same behavior as the old bu_fchmod()) - => bu_fchmod() should be an adequate wrapper (if fchmod() is - present) or replacement for fchmod() by now (I hope) + * [r54225] src/other/openNURBS/opennurbs_array.h: + gcc 4.4.6 warns about being unable to inline the (implicit) + destructor. declaring the destructor implies to not inline, + making the warnings/errors go away. performance should be moot, + destructor is ON_SimpleArray's virtual. -2012-01-18 02:50 starseeker +2013-01-29 20:03 n_reed - * [r48893] NEWS, TODO, src/other/libpng.dist: - Upgraded libpng to 1.5.7 - hopefully this will address issues on - ppc64, but it also means we should be able to use the vanilla - CMakeLists.txt file, since our changes were incorporated - upstream. Re-applied Makefile.am changes. + * [r54224] src/librt/librt_private.h, + src/librt/primitives/pipe/pipe.c, + src/librt/primitives/primitive_util.c: + replace pipe draw routine struct parameters & returns with + pointer parameters to avoid struct copies -2012-01-18 02:41 starseeker +2013-01-29 19:55 brlcad - * [r48892] src/other/libpng/Makefile.am: - re-add the changes to Makefile.am from 46025 + * [r54223] AUTHORS: + credit burroughs (maths22) for his awesome work getting most of + our website infrastructure migrated to newer hardware and + fixing/improving numerous website features (upgrades, search, + unified login, spam filtering, more). came in under GCI but + interested in taking over website ops. -2012-01-18 02:38 starseeker +2013-01-29 19:31 r_weiss - * [r48891] src/other/libpng/ANNOUNCE, src/other/libpng/CHANGES, - src/other/libpng/CMakeLists.txt, src/other/libpng/INSTALL, - src/other/libpng/LICENSE, src/other/libpng/Makefile.am, - src/other/libpng/README, src/other/libpng/arm, - src/other/libpng/arm/filter_neon.S, - src/other/libpng/configure.ac, - src/other/libpng/contrib/README.txt, - src/other/libpng/contrib/gregbook/rpng2-win.c, - src/other/libpng/contrib/gregbook/rpng2-x.c, - src/other/libpng/contrib/libtests, - src/other/libpng/contrib/libtests/pngvalid.c, - src/other/libpng/contrib/pngminim/decoder/pngusr.h, - src/other/libpng/contrib/pngminim/encoder/pngusr.h, - src/other/libpng/contrib/pngminim/preader/pngusr.h, - src/other/libpng/contrib/pngminus/makefile.std, - src/other/libpng/contrib/visupng/PngFile.c, - src/other/libpng/contrib/visupng/PngFile.h, - src/other/libpng/contrib/visupng/VisualPng.c, - src/other/libpng/example.c, src/other/libpng/libpng-manual.txt, - src/other/libpng/libpng.3, src/other/libpng/libpngpf.3, - src/other/libpng/png.5, src/other/libpng/png.c, - src/other/libpng/png.h, src/other/libpng/pngconf.h, - src/other/libpng/pngerror.c, src/other/libpng/pngget.c, - src/other/libpng/pngmem.c, src/other/libpng/pngpread.c, - src/other/libpng/pngpriv.h, src/other/libpng/pngread.c, - src/other/libpng/pngrtran.c, src/other/libpng/pngrutil.c, - src/other/libpng/pngset.c, src/other/libpng/pngstruct.h, - src/other/libpng/pngtest.c, src/other/libpng/pngvalid.c, - src/other/libpng/pngwrite.c, src/other/libpng/pngwtran.c, - src/other/libpng/pngwutil.c, - src/other/libpng/projects/owatcom/libpng.wpj, - src/other/libpng/projects/owatcom/pngconfig.mak, - src/other/libpng/projects/owatcom/pngvalid.tgt, - src/other/libpng/projects/visualc6, - src/other/libpng/projects/vstudio/libpng/libpng.vcxproj, - src/other/libpng/projects/vstudio/pngstest, - src/other/libpng/projects/vstudio/pngvalid/pngvalid.vcxproj, - src/other/libpng/projects/vstudio/readme.txt, - src/other/libpng/projects/vstudio/vstudio.sln, - src/other/libpng/projects/vstudio/zlib.props, - src/other/libpng/projects/vstudio/zlib/zlib.vcxproj, - src/other/libpng/projects/xcode, - src/other/libpng/scripts/README.txt, - src/other/libpng/scripts/def.dfn, - src/other/libpng/scripts/libpng-config-head.in, - src/other/libpng/scripts/libpng.pc.in, - src/other/libpng/scripts/makefile.cegcc, - src/other/libpng/scripts/makefile.darwin, - src/other/libpng/scripts/makefile.linux, - src/other/libpng/scripts/makefile.ne12bsd, - src/other/libpng/scripts/makefile.netbsd, - src/other/libpng/scripts/makefile.openbsd, - src/other/libpng/scripts/makefile.std, - src/other/libpng/scripts/options.awk, - src/other/libpng/scripts/pnglibconf.dfa, - src/other/libpng/scripts/pnglibconf.h.prebuilt, - src/other/libpng/scripts/pnglibconf.mak, - src/other/libpng/scripts/sym.dfn, - src/other/libpng/scripts/symbols.def, - src/other/libpng/scripts/vers.dfn, - src/other/libpng/test-pngtest.sh, - src/other/libpng/test-pngvalid-full.sh, - src/other/libpng/test-pngvalid-simple.sh: - Upgrade to libpng 1.5.7 - this is a vanilla checkin, still need - to add the Makefile.am tweaks + * [r54222] src/tclscripts/mged/lc.tcl: + Update to the mged "lc" command adding the "-r" option to skip + listing regions which their parent is a region and the child is + subtracted within the parent. Also added the 'los' test to the + "-s" option. + +2013-01-29 18:45 tbrowder2 + + * [r54221] doc/docbook/resources/brlcad/images/logo-vm-gears.png, + doc/docbook/resources/brlcad/images/logo-vm-gears.svg: + change to 128x128 per web site -2012-01-17 21:18 erikgreenwald +2013-01-29 18:38 tbrowder2 - * [r48890] CMakeLists.txt, COPYING, Makefile.am, autogen.sh, - bench/benchmark.1, bench/lgt.sh, bench/pixcmp.1, bench/pixcmp.c, - bench/run.sh, bench/try.sh, bench/viewdiff.sh, configure.ac, - db/db.php, doc/bw.5, doc/cmap.5, + * [r54220] doc/docbook/resources/brlcad/images/logo-vm-gears.svg, + doc/docbook/resources/brlcad/images/logo-vm.svg: + rename file to match that used on the site + +2013-01-29 18:31 brlcad + + * [r54219] src/other/boost/boost/detail/container_fwd.hpp, + src/other/boost/boost/mpl/has_xxx.hpp: + apply boost patch regarding error: + "BOOST_MPL_HAS_XXX_NO_EXPLICIT_TEST_FUNCTION" is not defined + along with a handful of other defines not defined. see + https://svn.boost.org/trac/boost/ticket/6142 for some relevance. + +2013-01-29 17:16 brlcad + + * [r54218] src/other/tk/CMakeLists.txt: + also need to account for a non-existent fontconfig + +2013-01-29 07:21 brlcad + + * [r54217] CMakeLists.txt, COPYING, Makefile.am, autogen.sh, + bench/lgt.sh, bench/pixcmp.c, bench/run.sh, bench/try.sh, + bench/viewdiff.sh, configure.ac, db/db.php, + doc/docbook/system/man1/en/anim_script.xml, + doc/docbook/system/man1/en/anim_sort.xml, + doc/docbook/system/man1/en/anim_time.xml, + doc/docbook/system/man1/en/anim_track.xml, + doc/docbook/system/man1/en/anim_turn.xml, + doc/docbook/system/man1/en/ap-pix.xml, + doc/docbook/system/man1/en/asc-nmg.xml, + doc/docbook/system/man1/en/asc-pl.xml, + doc/docbook/system/man1/en/asc2dsp.xml, + doc/docbook/system/man1/en/asc2g.xml, + doc/docbook/system/man1/en/azel.xml, + doc/docbook/system/man1/en/bary.xml, + doc/docbook/system/man1/en/benchmark.xml, + doc/docbook/system/man1/en/bot_dump.xml, + doc/docbook/system/man1/en/bot_shell-vtk.xml, + doc/docbook/system/man1/en/brlcad-config.xml, + doc/docbook/system/man1/en/brlcad.xml, + doc/docbook/system/man1/en/buffer.xml, + doc/docbook/system/man1/en/bw-fb.xml, + doc/docbook/system/man1/en/bw-imp.xml, + doc/docbook/system/man1/en/bw-pix.xml, + doc/docbook/system/man1/en/bw-png.xml, + doc/docbook/system/man1/en/bw-ps.xml, + doc/docbook/system/man1/en/bw-rle.xml, + doc/docbook/system/man1/en/bw3-pix.xml, + doc/docbook/system/man1/en/bwcrop.xml, + doc/docbook/system/man1/en/bwdiff.xml, + doc/docbook/system/man1/en/bwfilter.xml, + doc/docbook/system/man1/en/bwhist.xml, + doc/docbook/system/man1/en/bwhisteq.xml, + doc/docbook/system/man1/en/bwmod.xml, + doc/docbook/system/man1/en/bwrect.xml, + doc/docbook/system/man1/en/bwrot.xml, + doc/docbook/system/man1/en/bwshrink.xml, + doc/docbook/system/man1/en/bwstat.xml, + doc/docbook/system/man1/en/bwthresh.xml, + doc/docbook/system/man1/en/cad_boundp.xml, + doc/docbook/system/man1/en/cad_parea.xml, + doc/docbook/system/man1/en/canonize.xml, + doc/docbook/system/man1/en/cell-fb.xml, + doc/docbook/system/man1/en/chan_mult.xml, + doc/docbook/system/man1/en/chan_permute.xml, + doc/docbook/system/man1/en/cmap-fb.xml, doc/docbook/system/man1/en/coil.xml, + doc/docbook/system/man1/en/comgeom-g.xml, + doc/docbook/system/man1/en/conv-vg2g.xml, + doc/docbook/system/man1/en/cv.xml, + doc/docbook/system/man1/en/cy-g.xml, + doc/docbook/system/man1/en/dbclean.xml, + doc/docbook/system/man1/en/dbcp.xml, + doc/docbook/system/man1/en/dbupgrade.xml, + doc/docbook/system/man1/en/decimate.xml, + doc/docbook/system/man1/en/dpix-pix.xml, + doc/docbook/system/man1/en/dunncolor.xml, + doc/docbook/system/man1/en/dunnsnap.xml, + doc/docbook/system/man1/en/dxf-g.xml, + doc/docbook/system/man1/en/enf-g.xml, + doc/docbook/system/man1/en/euclid-g.xml, + doc/docbook/system/man1/en/fast4-g.xml, + doc/docbook/system/man1/en/fb-bw.xml, + doc/docbook/system/man1/en/fb-cmap.xml, + doc/docbook/system/man1/en/fb-fb.xml, + doc/docbook/system/man1/en/fb-orle.xml, + doc/docbook/system/man1/en/fb-pix.xml, + doc/docbook/system/man1/en/fb-png.xml, + doc/docbook/system/man1/en/fb-rle.xml, + doc/docbook/system/man1/en/fbanim.xml, + doc/docbook/system/man1/en/fbcbars.xml, + doc/docbook/system/man1/en/fbclear.xml, + doc/docbook/system/man1/en/fbcmap.xml, + doc/docbook/system/man1/en/fbcmrot.xml, + doc/docbook/system/man1/en/fbcolor.xml, + doc/docbook/system/man1/en/fbed.xml, + doc/docbook/system/man1/en/fbfade.xml, + doc/docbook/system/man1/en/fbframe.xml, + doc/docbook/system/man1/en/fbfree.xml, + doc/docbook/system/man1/en/fbgamma.xml, + doc/docbook/system/man1/en/fbgrid.xml, + doc/docbook/system/man1/en/fbhelp.xml, + doc/docbook/system/man1/en/fblabel.xml, + doc/docbook/system/man1/en/fbline.xml, + doc/docbook/system/man1/en/fbpoint.xml, + doc/docbook/system/man1/en/fbscanplot.xml, + doc/docbook/system/man1/en/fbserv.xml, + doc/docbook/system/man1/en/fbstretch.xml, + doc/docbook/system/man1/en/fbzoom.xml, + doc/docbook/system/man1/en/firpass.xml, + doc/docbook/system/man1/en/g-acad.xml, + doc/docbook/system/man1/en/g-dxf.xml, + doc/docbook/system/man1/en/g-egg.xml, + doc/docbook/system/man1/en/g-euclid.xml, + doc/docbook/system/man1/en/g-iges.xml, + doc/docbook/system/man1/en/g-nff.xml, + doc/docbook/system/man1/en/g-nmg.xml, + doc/docbook/system/man1/en/g-obj.xml, + doc/docbook/system/man1/en/g-shell-rect.xml, + doc/docbook/system/man1/en/g-stl.xml, + doc/docbook/system/man1/en/g-tankill.xml, + doc/docbook/system/man1/en/g-var.xml, + doc/docbook/system/man1/en/g-vrml.xml, + doc/docbook/system/man1/en/g-x3d.xml, + doc/docbook/system/man1/en/g2asc.xml, + doc/docbook/system/man1/en/g_diff.xml, + doc/docbook/system/man1/en/g_lint.xml, + doc/docbook/system/man1/en/gencolor.xml, + doc/docbook/system/man1/en/gif-fb.xml, + doc/docbook/system/man1/en/gif2fb.xml, + doc/docbook/system/man1/en/halftone.xml, + doc/docbook/system/man1/en/hex.xml, + doc/docbook/system/man1/en/iges-g.xml, + doc/docbook/system/man1/en/imgdims.xml, + doc/docbook/system/man1/en/ir-X.xml, + doc/docbook/system/man1/en/irdisp.xml, + doc/docbook/system/man1/en/lgt.xml, + doc/docbook/system/man1/en/loop.xml, + doc/docbook/system/man1/en/mac-pix.xml, + doc/docbook/system/man1/en/morphedit.xml, + doc/docbook/system/man1/en/nastran-g.xml, + doc/docbook/system/man1/en/nmg-bot.xml, + doc/docbook/system/man1/en/nmg-rib.xml, doc/docbook/system/man1/en/obj-g.xml, + doc/docbook/system/man1/en/orle-fb.xml, + doc/docbook/system/man1/en/orle-pix.xml, + doc/docbook/system/man1/en/patch-g.xml, + doc/docbook/system/man1/en/pictx.xml, + doc/docbook/system/man1/en/pix-alias.xml, + doc/docbook/system/man1/en/pix-bw.xml, + doc/docbook/system/man1/en/pix-bw3.xml, + doc/docbook/system/man1/en/pix-fb.xml, + doc/docbook/system/man1/en/pix-orle.xml, + doc/docbook/system/man1/en/pix-png.xml, + doc/docbook/system/man1/en/pix-ppm.xml, + doc/docbook/system/man1/en/pix-ps.xml, + doc/docbook/system/man1/en/pix-rle.xml, + doc/docbook/system/man1/en/pix-sun.xml, + doc/docbook/system/man1/en/pix2asc.xml, + doc/docbook/system/man1/en/pixautosize.xml, + doc/docbook/system/man1/en/pixbackgnd.xml, + doc/docbook/system/man1/en/pixbgstrip.xml, + doc/docbook/system/man1/en/pixblend.xml, + doc/docbook/system/man1/en/pixborder.xml, + doc/docbook/system/man1/en/pixbustup.xml, + doc/docbook/system/man1/en/pixclump.xml, + doc/docbook/system/man1/en/pixcmp.xml, + doc/docbook/system/man1/en/pixcolors.xml, + doc/docbook/system/man1/en/pixcut.xml, + doc/docbook/system/man1/en/pixdiff.xml, + doc/docbook/system/man1/en/pixdsplit.xml, + doc/docbook/system/man1/en/pixfade.xml, + doc/docbook/system/man1/en/pixfilter.xml, + doc/docbook/system/man1/en/pixhalve.xml, + doc/docbook/system/man1/en/pixhist.xml, + doc/docbook/system/man1/en/pixhist3d-pl.xml, + doc/docbook/system/man1/en/pixhist3d.xml, + doc/docbook/system/man1/en/pixinterp2x.xml, + doc/docbook/system/man1/en/pixmatte.xml, + doc/docbook/system/man1/en/pixmerge.xml, + doc/docbook/system/man1/en/pixmorph.xml, + doc/docbook/system/man1/en/pixrect.xml, + doc/docbook/system/man1/en/pixrot.xml, + doc/docbook/system/man1/en/pixsaturate.xml, + doc/docbook/system/man1/en/pixscale.xml, + doc/docbook/system/man1/en/pixshrink.xml, + doc/docbook/system/man1/en/pixstat.xml, + doc/docbook/system/man1/en/pixsubst.xml, + doc/docbook/system/man1/en/pixtile.xml, + doc/docbook/system/man1/en/pixuntile.xml, + doc/docbook/system/man1/en/pl-X.xml, + doc/docbook/system/man1/en/pl-asc.xml, + doc/docbook/system/man1/en/pl-fb.xml, + doc/docbook/system/man1/en/pl-hpgl.xml, + doc/docbook/system/man1/en/pl-pl.xml, + doc/docbook/system/man1/en/pl-ps.xml, + doc/docbook/system/man1/en/pl-tek.xml, + doc/docbook/system/man1/en/plcolor.xml, + doc/docbook/system/man1/en/pldebug.xml, + doc/docbook/system/man1/en/plgetframe.xml, + doc/docbook/system/man1/en/plline2.xml, + doc/docbook/system/man1/en/plrot.xml, + doc/docbook/system/man1/en/ply-g.xml, + doc/docbook/system/man1/en/png-bw.xml, + doc/docbook/system/man1/en/png-fb.xml, + doc/docbook/system/man1/en/png-pix.xml, + doc/docbook/system/man1/en/png_info.xml, + doc/docbook/system/man1/en/polar-fb.xml, + doc/docbook/system/man1/en/poly-bot.xml, + doc/docbook/system/man1/en/pp-fb.xml, + doc/docbook/system/man1/en/proe-g.xml, + doc/docbook/system/man1/en/random.xml, + doc/docbook/system/man1/en/remapid.xml, + doc/docbook/system/man1/en/remrt.xml, + doc/docbook/system/man1/en/reshoot.xml, + doc/docbook/system/man1/en/rle-fb.xml, + doc/docbook/system/man1/en/rle-pix.xml, + doc/docbook/system/man1/en/rpatch.xml, doc/docbook/system/man1/en/rt.xml, + doc/docbook/system/man1/en/rt_bot_faces.xml, doc/docbook/system/man1/en/rtarea.xml, doc/docbook/system/man1/en/rtcheck.xml, doc/docbook/system/man1/en/rtedge.xml, + doc/docbook/system/man1/en/rtg3.xml, + doc/docbook/system/man1/en/rthide.xml, + doc/docbook/system/man1/en/rtpp.xml, + doc/docbook/system/man1/en/rtrange.xml, + doc/docbook/system/man1/en/rtray.xml, + doc/docbook/system/man1/en/rtregis.xml, + doc/docbook/system/man1/en/rtscale.xml, + doc/docbook/system/man1/en/rtshot.xml, + doc/docbook/system/man1/en/rttherm.xml, + doc/docbook/system/man1/en/rtwalk.xml, + doc/docbook/system/man1/en/rtweight.xml, + doc/docbook/system/man1/en/rtwizard.xml, + doc/docbook/system/man1/en/rtxray.xml, + doc/docbook/system/man1/en/scriptsort.xml, + doc/docbook/system/man1/en/secpass.xml, + doc/docbook/system/man1/en/shapefact.xml, + doc/docbook/system/man1/en/showshot.xml, + doc/docbook/system/man1/en/showtherm.xml, + doc/docbook/system/man1/en/ssamp-bw.xml, + doc/docbook/system/man1/en/stl-g.xml, + doc/docbook/system/man1/en/sun-pix.xml, + doc/docbook/system/man1/en/tabinterp.xml, + doc/docbook/system/man1/en/tabsub.xml, + doc/docbook/system/man1/en/tankill-g.xml, + doc/docbook/system/man1/en/terrain.xml, doc/docbook/system/man1/en/tire.xml, + doc/docbook/system/man1/en/vdeck.xml, + doc/docbook/system/man1/en/viewpoint-g.xml, + doc/docbook/system/man1/en/wavelet.xml, + doc/docbook/system/man3/en/htond.xml, + doc/docbook/system/man3/en/libcursor.xml, + doc/docbook/system/man3/en/liborle.xml, + doc/docbook/system/man3/en/libplot3.xml, + doc/docbook/system/man3/en/librt.xml, + doc/docbook/system/man3/en/libwdb.xml, + doc/docbook/system/man3/en/redblack.xml, + doc/docbook/system/man5/en/bw.xml, + doc/docbook/system/man5/en/cmap.xml, + doc/docbook/system/man5/en/dsp.xml, + doc/docbook/system/man5/en/pix.xml, + doc/docbook/system/man5/en/plot3.xml, doc/docbook/system/mann/en/anim_cascade.xml, doc/docbook/system/mann/en/anim_fly.xml, doc/docbook/system/mann/en/anim_hardtrack.xml, @@ -17738,13 +13801,14 @@ doc/docbook/system/mann/en/gastank.xml, doc/docbook/system/mann/en/handle.xml, doc/docbook/system/mann/en/picket_fence.xml, + doc/docbook/system/mann/en/rtarea.xml, doc/docbook/system/mann/en/search.xml, doc/docbook/system/mann/en/window.xml, doc/docbook/system/mann/en/window_frame.xml, doc/docbook/system/mann/en/wire.xml, doc/ecosystem.dot, - doc/html/manuals/mged/animmate/rt.html, doc/pix.5, doc/plot3.5, - include/analyze.h, include/anim.h, include/bin.h, include/bio.h, - include/bn.h, include/bot.h, include/brep.h, include/brlcad.h, + doc/html/manuals/mged/animmate/rt.html, include/analyze.h, + include/anim.h, include/bin.h, include/bio.h, include/bn.h, + include/bot.h, include/brep.h, include/brlcad.h, include/brlcad_version.h, include/bselect.h, include/bu.h, include/cmd.h, include/common.h, include/conf.h, include/conf/BrlcadConfig.tmpl, include/conf/make.vbs, @@ -17758,28 +13822,33 @@ include/fbserv_obj.h, include/fft.h, include/gcv.h, include/ged.h, include/icv.h, include/libtermio.h, include/light.h, include/magic.h, include/mater.h, include/nmg.h, - include/nurb.h, include/obj.h, include/optical.h, include/pc.h, - include/photonmap.h, include/pkg.h, include/plastic.h, - include/plot3.h, include/raytrace.h, include/redblack.h, - include/rt/defines.h, include/rtfunc.h, include/rtgeom.h, - include/rtserver.h, include/shadefuncs.h, include/shadework.h, - include/solid.h, include/spectrum.h, include/spm.h, - include/sysv.h, include/tclcad.h, include/tie.h, include/tol.h, + include/nurb.h, include/nurbs.h, include/obj.h, + include/optical.h, include/pc.h, include/photonmap.h, + include/pkg.h, include/plastic.h, include/plot3.h, + include/raytrace.h, include/redblack.h, include/rt/defines.h, + include/rtfunc.h, include/rtgeom.h, include/rtserver.h, + include/shadefuncs.h, include/shadework.h, include/solid.h, + include/spectrum.h, include/spm.h, include/sysv.h, + include/tclcad.h, include/tie.h, include/tol.h, include/vectfont.h, include/vector_fpu.h, include/vector_x86.h, include/vfont-if.h, include/vmath.h, include/wdb.h, m4/args.m4, m4/cache.m4, m4/compiler.m4, m4/epsilon.m4, m4/patch.m4, m4/prefix.m4, m4/search.m4, m4/stage.m4, + misc/CMake/BRLCAD_CMakeFiles.cmake, + misc/CMake/BRLCAD_CPackOptions.cmake.in, + misc/CMake/BRLCAD_CheckFunctions.cmake, misc/CMake/BRLCAD_CompilerFlags.cmake, - misc/CMake/BRLCAD_Dependent_Options.cmake, - misc/CMake/BRLCAD_Options.cmake, misc/CMake/BRLCAD_Util.cmake, - misc/CMake/CMakeFiles.cmake, misc/CMake/CompilerFlags.cmake, - misc/CMake/DiffCache.cmake, misc/CMake/DocBook.cmake, + misc/CMake/BRLCAD_Options.cmake, misc/CMake/BRLCAD_Summary.cmake, + misc/CMake/BRLCAD_Targets.cmake, misc/CMake/BRLCAD_Util.cmake, + misc/CMake/CheckCInline.cmake, misc/CMake/CompilerFlags.cmake, + misc/CMake/DiffCache.cmake, misc/CMake/Distcheck.cmake, + misc/CMake/DocBook.cmake, misc/CMake/FindADAPTAGRAMS.cmake, misc/CMake/FindGL.cmake, misc/CMake/FindLEMON.cmake, misc/CMake/FindLEX.cmake, misc/CMake/FindOIIO.cmake, misc/CMake/FindOPENNURBS.cmake, misc/CMake/FindOSL.cmake, misc/CMake/FindOpenEXR.cmake, misc/CMake/FindPERPLEX.cmake, - misc/CMake/FindPkgMacros.cmake, misc/CMake/FindRE2C.cmake, - misc/CMake/FindREGEX.cmake, misc/CMake/FindSCL.cmake, + misc/CMake/FindPkgMacros.cmake, misc/CMake/FindREGEX.cmake, + misc/CMake/FindSCL.cmake, misc/CMake/FindSTL.cmake, misc/CMake/FindShellDeps.cmake, misc/CMake/FindTBB.cmake, misc/CMake/FindTCL.cmake, misc/CMake/FindTERMLIB.cmake, misc/CMake/FindUTAHRLE.cmake, misc/CMake/FindX11.cmake, @@ -17787,34 +13856,44 @@ misc/CMake/FindYACC.cmake, misc/CMake/FindZLIB.cmake, misc/CMake/Fink_MacPorts.cmake, misc/CMake/LEMON_Util.cmake, misc/CMake/PERPLEX_Util.cmake, misc/CMake/RE2C_Util.cmake, - misc/CMake/ResetCache.cmake, misc/CMake/ThirdParty.cmake, - misc/CMake/ThirdParty_TCL.cmake, - misc/CMake/distcheck_buildsys.cmake.in, - misc/archlinux/brlcad.install, misc/brlcad-config.1, + misc/CMake/ResetCache.cmake, misc/CMake/TCL_PKGINDEX.cmake, + misc/CMake/ThirdParty.cmake, misc/CMake/ThirdParty_TCL.cmake, + misc/CMake/distcheck_autotools.cmake.in, + misc/CMake/distcheck_in_src_dir.cmake.in, + misc/CMake/distcheck_repo_verify.cmake.in, + misc/CMake/distcheck_target.cmake.in, + misc/CMake/distclean.cmake.in, misc/CMake/fop.cmake.in, + misc/CMake/msv.cmake.in, + misc/CMake/multiconfig_path_clean.cmake.in, + misc/CMake/multiconfig_path_read.cmake.in, + misc/CMake/rnv.cmake.in, misc/CMake/xmllint.cmake.in, + misc/CMake/xsltproc.cmake.in, misc/archlinux/brlcad.install, misc/brlcad-config.in, misc/brlcad.spec.in, misc/debian/copyright, misc/macosx/Resources/License.rtf, misc/nsis/updateVersion.tcl, misc/win32-msvc/Dll/BrlcadCore.rc, misc/win32-msvc/Dll/TclDummies.c, misc/win32-msvc/Dll/brlcad.rc, - pix/cube.rt, regress/bots.sh, regress/fastgen.sh, - regress/flawfinder.sh, regress/gcv/dem/hawaii-c-control.tar.bz2, - regress/gcv/dem/hawaii-c.tar.bz2, regress/gqa.sh, - regress/iges.sh, regress/library.sh, regress/lights.sh, - regress/main.sh, regress/master_fetch.sh, regress/master_prep.sh, - regress/mged.sh, regress/mged/mged.tcl, regress/mged/run_test, - regress/mged_test.sh, regress/moss.sh, regress/nightly.sh, - regress/red.sh, regress/repository.sh, regress/shaders.sh, - regress/slave_build.sh, regress/solids.sh, regress/spdi.sh, - regress/testlib.c, regress/weight.sh, sh/any-png.sh, - sh/cadbug.sh, sh/cmakecheck.sh, sh/cmp.sh, sh/conversion.sh, - sh/copyright.sh, sh/cray.sh, sh/elapsed.sh, sh/enumerate.sh, - sh/facetall.sh, sh/footer.sh, sh/header.sh, sh/indent.sh, - sh/linkroot.sh, sh/make_bz2.sh, sh/make_deb.sh, sh/make_dmg.sh, - sh/make_pkg.sh, sh/make_rpm.sh, sh/make_tar.sh, sh/make_tgz.sh, - sh/make_zip.sh, sh/news2tracker.sh, sh/orbit.sh, sh/pixinfo.sh, - sh/pixread.sh, sh/pixwrite.sh, sh/sgisnap.sh, sh/show.sh, - sh/template.sh, sh/tracker.sh, sh/trimconfig.sh, sh/ws.sh, - src/adrt/adrt.h, src/adrt/adrt_struct.h, src/adrt/isst, - src/adrt/isst.bat, src/adrt/isst.h, src/adrt/isst_tcltk.c, + pix/cube.rt, regress/asc2dsp.sh, regress/bots.sh, + regress/comgeom.sh, regress/dsp.sh, regress/fastgen.sh, + regress/flawfinder.sh, regress/g-dot.sh, regress/g-nff.sh, + regress/gqa.sh, regress/iges.sh, regress/library.sh, + regress/lights.sh, regress/main.sh, regress/master_fetch.sh, + regress/master_prep.sh, regress/mged.sh, regress/mged/mged.tcl, + regress/mged/run_test, regress/mged_test.sh, regress/moss.sh, + regress/nightly.sh, regress/nirt.sh, regress/quote.sh, + regress/red.sh, regress/repository.sh, regress/rtwizard.sh, + regress/shaders.sh, regress/slave_build.sh, regress/solids.sh, + regress/spdi.sh, regress/testlib.c, regress/vls_vprintf.sh, + regress/weight.sh, sh/any-png.sh, sh/cadbug.sh, sh/cmakecheck.sh, + sh/cmp.sh, sh/conversion.sh, sh/cray.sh, sh/distcheck_screen.sh, + sh/elapsed.sh, sh/enumerate.sh, sh/facetall.sh, sh/footer.sh, + sh/header.sh, sh/indent.sh, sh/ios-icons.sh, sh/linkroot.sh, + sh/make_bz2.sh, sh/make_deb.sh, sh/make_dmg.sh, sh/make_pkg.sh, + sh/make_rpm.sh, sh/make_tar.sh, sh/make_tgz.sh, sh/make_zip.sh, + sh/news2tracker.sh, sh/orbit.sh, sh/pixinfo.sh, sh/pixread.sh, + sh/pixwrite.sh, sh/sgisnap.sh, sh/show.sh, sh/tracker.sh, + sh/trimconfig.sh, sh/ws.sh, src/adrt/adrt.h, + src/adrt/adrt_struct.h, src/adrt/isst, src/adrt/isst.bat, + src/adrt/isst.h, src/adrt/isst_tcltk.c, src/adrt/librender/camera.c, src/adrt/librender/camera.h, src/adrt/librender/component.c, src/adrt/librender/cut.c, src/adrt/librender/depth.c, src/adrt/librender/flat.c, @@ -17847,13 +13926,10 @@ src/anim/anim_cascade.c, src/anim/anim_fly.c, src/anim/anim_hardtrack.c, src/anim/anim_keyread.c, src/anim/anim_lookat.c, src/anim/anim_offset.c, - src/anim/anim_orient.c, src/anim/anim_script.1, - src/anim/anim_script.c, src/anim/anim_sort.1, - src/anim/anim_sort.c, src/anim/anim_time.1, src/anim/anim_time.c, - src/anim/anim_track.1, src/anim/anim_track.c, - src/anim/anim_turn.1, src/anim/anim_turn.c, src/anim/cattrack.c, - src/anim/cattrack.h, src/anim/chan_add.c, src/anim/chan_mult.1, - src/anim/chan_mult.c, src/anim/chan_permute.1, + src/anim/anim_orient.c, src/anim/anim_script.c, + src/anim/anim_sort.c, src/anim/anim_time.c, + src/anim/anim_track.c, src/anim/anim_turn.c, src/anim/cattrack.c, + src/anim/cattrack.h, src/anim/chan_add.c, src/anim/chan_mult.c, src/anim/chan_permute.c, src/archer/archer, src/archer/archer.bat, src/archer/plugins/Utility/attrGroupsDisplayUtilityP.tcl, @@ -17866,44 +13942,36 @@ src/archer/plugins/Wizards/tankwizard/TankWizard.tcl, src/archer/plugins/Wizards/tirewizard.tcl, src/archer/plugins/Wizards/tirewizard/TireWizard.tcl, - src/brlman/brlman.1, src/brlman/brlman.sh.in, src/burst/Hm.c, - src/burst/Hm.h, src/burst/HmGetc.c, src/burst/HmGlob.c, - src/burst/Mm.h, src/burst/Sc.c, src/burst/Sc.h, - src/burst/ascii.h, src/burst/burst.c, src/burst/burst.h, - src/burst/error.c, src/burst/extern.h, src/burst/fb.c, - src/burst/glob.c, src/burst/grid.c, src/burst/gridrotate.c, - src/burst/idents.c, src/burst/paint.c, src/burst/plot.c, - src/burst/prnt.c, src/burst/trie.c, src/burst/trie.h, - src/burst/ui.c, src/bwish/cadAppInit.c, src/bwish/cmd.c, - src/bwish/input.c, src/bwish/main.c, src/bwish/tcl.c, - src/bwish/unixMain.c, src/bwish/winMain.c, src/canon/canon.h, - src/canon/canonize.1, src/canon/canonize.c, src/canon/canonlib.c, - src/canon/chore.h, src/conv/3dm/3dm-g.cpp, src/conv/asc/asc2g.c, - src/conv/asc/asc2pix.c, src/conv/asc/g2asc.1, - src/conv/asc/g2asc.c, src/conv/asc/pix2asc.1, - src/conv/asc/pix2asc.c, src/conv/bot_dump.1, src/conv/bot_dump.c, - src/conv/bot_shell-vtk.1, src/conv/bot_shell-vtk.c, - src/conv/comgeom/3d.h, src/conv/comgeom/comgeom-g.1, - src/conv/comgeom/cvt.c, src/conv/comgeom/f2a.c, - src/conv/comgeom/mat.c, src/conv/comgeom/read.c, - src/conv/comgeom/region.c, src/conv/comgeom/solid.c, - src/conv/comgeom/tools.c, src/conv/comgeom/try.sh, - src/conv/conv-vg2g.1, src/conv/conv-vg2g.c, src/conv/cy-g.1, - src/conv/cy-g.c, src/conv/dbclean.1, src/conv/dbclean.sh, - src/conv/dbupgrade.1, src/conv/dbupgrade.c, src/conv/dem-g.c, - src/conv/dxf/bot-bldxf.c, src/conv/dxf/dxf-g.1, - src/conv/dxf/dxf-g.c, src/conv/dxf/dxf.h, src/conv/dxf/g-dxf.1, - src/conv/dxf/g-dxf.c, src/conv/enf-g.1, src/conv/enf-g.c, - src/conv/euclid/euclid-g.1, src/conv/euclid/euclid-g.c, - src/conv/euclid/euclid_format.c, - src/conv/euclid/euclid_unformat.c, src/conv/euclid/g-euclid.1, - src/conv/euclid/g-euclid.c, src/conv/euclid/g-euclid1.c, - src/conv/fast4-g.1, src/conv/fast4-g.c, src/conv/g-acad.1, - src/conv/g-acad.c, src/conv/g-dot.c, src/conv/g-egg.1, - src/conv/g-egg.c, src/conv/g-nff.1, src/conv/g-nff.c, - src/conv/g-obj.1, src/conv/g-obj.c, src/conv/g-shell-rect.1, - src/conv/g-shell-rect.c, src/conv/g-var.1, src/conv/g-var.c, - src/conv/g-vrml.1, src/conv/g-vrml.c, src/conv/g-x3d.1, + src/brlman/brlman.bat, src/brlman/brlman.sh.in, + src/brlman/brlman.tcl.in, src/burst/Hm.c, src/burst/Hm.h, + src/burst/HmGetc.c, src/burst/HmGlob.c, src/burst/Mm.h, + src/burst/Sc.c, src/burst/Sc.h, src/burst/ascii.h, + src/burst/burst.c, src/burst/burst.h, src/burst/error.c, + src/burst/extern.h, src/burst/fb.c, src/burst/glob.c, + src/burst/grid.c, src/burst/gridrotate.c, src/burst/idents.c, + src/burst/paint.c, src/burst/plot.c, src/burst/prnt.c, + src/burst/trie.c, src/burst/trie.h, src/burst/ui.c, + src/bwish/cadAppInit.c, src/bwish/cmd.c, src/bwish/input.c, + src/bwish/main.c, src/bwish/tcl.c, src/bwish/unixMain.c, + src/bwish/winMain.c, src/canon/canon.h, src/canon/canonize.c, + src/canon/canonlib.c, src/canon/chore.h, src/conv/3dm/3dm-g.cpp, + src/conv/asc/asc2dsp.c, src/conv/asc/asc2g.c, + src/conv/asc/asc2pix.c, src/conv/asc/g2asc.c, + src/conv/asc/pix2asc.c, src/conv/bot_dump.c, + src/conv/bot_shell-vtk.c, src/conv/comgeom/cvt.c, + src/conv/comgeom/f2a.c, src/conv/comgeom/mat.c, + src/conv/comgeom/read.c, src/conv/comgeom/region.c, + src/conv/comgeom/solid.c, src/conv/comgeom/tools.c, + src/conv/comgeom/try.sh, src/conv/conv-vg2g.c, src/conv/cy-g.c, + src/conv/dbclean.sh, src/conv/dbupgrade.c, src/conv/dem-g.c, + src/conv/dxf/bot-bldxf.c, src/conv/dxf/dxf-g.c, + src/conv/dxf/dxf.h, src/conv/dxf/g-dxf.c, src/conv/enf-g.c, + src/conv/euclid/euclid-g.c, src/conv/euclid/euclid_format.c, + src/conv/euclid/euclid_unformat.c, src/conv/euclid/g-euclid.c, + src/conv/euclid/g-euclid1.c, src/conv/fast4-g.c, + src/conv/g-acad.c, src/conv/g-dot.c, src/conv/g-egg.c, + src/conv/g-nff.c, src/conv/g-obj.c, src/conv/g-shell-rect.c, + src/conv/g-var.c, src/conv/g-voxel.c, src/conv/g-vrml.c, src/conv/g-x3d.c, src/conv/g-xxx.c, src/conv/g-xxx_facets.c, src/conv/g4-g5.c, src/conv/g5-g4.c, src/conv/iges/BrepHandler.cpp, src/conv/iges/PullbackCurve.cpp, @@ -17923,54 +13991,51 @@ src/conv/iges/ell.c, src/conv/iges/evalxform.c, src/conv/iges/extrudcirc.c, src/conv/iges/extrudcon.c, src/conv/iges/extrude.c, src/conv/iges/findp.c, - src/conv/iges/freetree.c, src/conv/iges/g-iges.1, - src/conv/iges/g-iges.c, src/conv/iges/get_att.c, - src/conv/iges/get_cnurb_curve.c, src/conv/iges/get_edge_list.c, - src/conv/iges/get_iges_vertex.c, src/conv/iges/get_outer_shell.c, + src/conv/iges/freetree.c, src/conv/iges/g-iges.c, + src/conv/iges/get_att.c, src/conv/iges/get_cnurb_curve.c, + src/conv/iges/get_edge_list.c, src/conv/iges/get_iges_vertex.c, + src/conv/iges/get_outer_shell.c, src/conv/iges/get_outer_shell.cpp, src/conv/iges/get_vertex.c, src/conv/iges/get_vertex_list.c, src/conv/iges/getcurve.c, - src/conv/iges/iges-g.1, src/conv/iges/iges.c, - src/conv/iges/iges.h, src/conv/iges/iges_extern.h, - src/conv/iges/iges_struct.h, src/conv/iges/iges_types.c, - src/conv/iges/iges_types.h, src/conv/iges/main.c, - src/conv/iges/make_face.c, src/conv/iges/make_nurb_face.c, - src/conv/iges/makedir.c, src/conv/iges/makegroup.c, - src/conv/iges/makemembers.c, src/conv/iges/matmult.c, - src/conv/iges/n_iges.cpp, src/conv/iges/n_iges.hpp, - src/conv/iges/n_main.cpp, src/conv/iges/orient_loops.c, - src/conv/iges/planar_nurb.c, src/conv/iges/read_att.c, - src/conv/iges/read_edge_list.c, src/conv/iges/read_vertex_list.c, - src/conv/iges/readcnv.c, src/conv/iges/readcols.c, - src/conv/iges/readdbl.c, src/conv/iges/readflt.c, - src/conv/iges/readglobal.c, src/conv/iges/readint.c, - src/conv/iges/readmatrix.c, src/conv/iges/readname.c, - src/conv/iges/readrec.c, src/conv/iges/readstart.c, - src/conv/iges/readstrg.c, src/conv/iges/readtime.c, - src/conv/iges/readtree.c, src/conv/iges/recsize.c, - src/conv/iges/revolve.c, src/conv/iges/showtree.c, - src/conv/iges/sphere.c, src/conv/iges/spline.c, - src/conv/iges/splinef.c, src/conv/iges/stack.c, - src/conv/iges/summary.c, src/conv/iges/tor.c, - src/conv/iges/treecheck.c, src/conv/iges/trimsurf.c, - src/conv/iges/usage.c, src/conv/iges/wedge.c, - src/conv/intaval/glob.h, src/conv/intaval/read_dra.cpp, - src/conv/intaval/read_dra.h, src/conv/intaval/regtab.cpp, - src/conv/intaval/regtab.h, src/conv/intaval/tgf-g.cpp, - src/conv/intaval/write_brl.cpp, src/conv/intaval/write_brl.h, - src/conv/jack/g-jack.c, src/conv/jack/jack-g.c, - src/conv/nastran-g.1, src/conv/nastran-g.c, - src/conv/nmg/asc-nmg.1, src/conv/nmg/asc-nmg.c, - src/conv/nmg/g-nmg.1, src/conv/nmg/g-nmg.c, - src/conv/nmg/nmg-bot.1, src/conv/nmg/nmg-bot.c, - src/conv/nmg/nmg-rib.1, src/conv/nmg/nmg-rib.c, + src/conv/iges/iges.c, src/conv/iges/iges.h, + src/conv/iges/iges_extern.h, src/conv/iges/iges_struct.h, + src/conv/iges/iges_types.c, src/conv/iges/iges_types.h, + src/conv/iges/main.c, src/conv/iges/make_face.c, + src/conv/iges/make_nurb_face.c, src/conv/iges/makedir.c, + src/conv/iges/makegroup.c, src/conv/iges/makemembers.c, + src/conv/iges/matmult.c, src/conv/iges/n_iges.cpp, + src/conv/iges/n_iges.hpp, src/conv/iges/n_main.cpp, + src/conv/iges/orient_loops.c, src/conv/iges/planar_nurb.c, + src/conv/iges/read_att.c, src/conv/iges/read_edge_list.c, + src/conv/iges/read_vertex_list.c, src/conv/iges/readcnv.c, + src/conv/iges/readcols.c, src/conv/iges/readdbl.c, + src/conv/iges/readflt.c, src/conv/iges/readglobal.c, + src/conv/iges/readint.c, src/conv/iges/readmatrix.c, + src/conv/iges/readname.c, src/conv/iges/readrec.c, + src/conv/iges/readstart.c, src/conv/iges/readstrg.c, + src/conv/iges/readtime.c, src/conv/iges/readtree.c, + src/conv/iges/recsize.c, src/conv/iges/revolve.c, + src/conv/iges/showtree.c, src/conv/iges/sphere.c, + src/conv/iges/spline.c, src/conv/iges/splinef.c, + src/conv/iges/stack.c, src/conv/iges/summary.c, + src/conv/iges/tor.c, src/conv/iges/treecheck.c, + src/conv/iges/trimsurf.c, src/conv/iges/usage.c, + src/conv/iges/wedge.c, src/conv/intaval/glob.h, + src/conv/intaval/read_dra.cpp, src/conv/intaval/read_dra.h, + src/conv/intaval/regtab.cpp, src/conv/intaval/regtab.h, + src/conv/intaval/tgf-g.cpp, src/conv/intaval/write_brl.cpp, + src/conv/intaval/write_brl.h, src/conv/jack/g-jack.c, + src/conv/jack/jack-g.c, src/conv/nastran-g.c, + src/conv/nmg/asc-nmg.c, src/conv/nmg/g-nmg.c, + src/conv/nmg/nmg-bot.c, src/conv/nmg/nmg-rib.c, src/conv/nmg/nmg-sgp.c, src/conv/obj-g.c, src/conv/off/g-off.c, - src/conv/off/off-g.c, src/conv/patch/patch-g.1, - src/conv/patch/patch-g.c, src/conv/patch/patch-g.h, - src/conv/patch/pull_comp.sh, src/conv/patch/pull_solidsub.sh, - src/conv/patch/rpatch.1, src/conv/patch/rpatch.c, - src/conv/ply-g.1, src/conv/ply-g.c, src/conv/poly-bot.1, - src/conv/poly-bot.c, src/conv/proe-g.1, src/conv/proe-g.c, - src/conv/shp/shp-g.c, + src/conv/off/off-g.c, src/conv/patch/patch-g.c, + src/conv/patch/patch-g.h, src/conv/patch/pull_comp.sh, + src/conv/patch/pull_solidsub.sh, src/conv/patch/rpatch.c, + src/conv/ply-g.c, src/conv/poly-bot.c, src/conv/proe-g.c, + src/conv/raw/Bot.cpp, src/conv/raw/Bot.h, + src/conv/raw/RegionList.cpp, src/conv/raw/RegionList.h, + src/conv/raw/raw-g.cpp, src/conv/shp/shp-g.c, src/conv/step/AdvancedBrepShapeRepresentation.cpp, src/conv/step/AdvancedBrepShapeRepresentation.h, src/conv/step/AdvancedFace.cpp, src/conv/step/AdvancedFace.h, @@ -17982,6 +14047,10 @@ src/conv/step/AmountOfSubstanceSiUnit.h, src/conv/step/AmountOfSubstanceUnit.cpp, src/conv/step/AmountOfSubstanceUnit.h, + src/conv/step/ApplicationContext.cpp, + src/conv/step/ApplicationContext.h, + src/conv/step/ApplicationContextElement.cpp, + src/conv/step/ApplicationContextElement.h, src/conv/step/AreaContextDependentUnit.cpp, src/conv/step/AreaContextDependentUnit.h, src/conv/step/AreaConversionBasedUnit.cpp, @@ -18009,6 +14078,7 @@ src/conv/step/BoundedSurface.cpp, src/conv/step/BoundedSurface.h, src/conv/step/BoundedSurfaceCurve.cpp, src/conv/step/BoundedSurfaceCurve.h, + src/conv/step/BrepWithVoids.cpp, src/conv/step/BrepWithVoids.h, src/conv/step/CartesianPoint.cpp, src/conv/step/CartesianPoint.h, src/conv/step/CartesianTransformationOperator.cpp, src/conv/step/CartesianTransformationOperator.h, @@ -18027,6 +14097,8 @@ src/conv/step/ConicalSurface.h, src/conv/step/ConnectedFaceSet.cpp, src/conv/step/ConnectedFaceSet.h, + src/conv/step/ContextDependentShapeRepresentation.cpp, + src/conv/step/ContextDependentShapeRepresentation.h, src/conv/step/ContextDependentUnit.cpp, src/conv/step/ContextDependentUnit.h, src/conv/step/ConversionBasedUnit.cpp, @@ -18039,6 +14111,7 @@ src/conv/step/DefinitionalRepresentation.cpp, src/conv/step/DefinitionalRepresentation.h, src/conv/step/DerivedUnit.cpp, src/conv/step/DerivedUnit.h, + src/conv/step/DesignContext.cpp, src/conv/step/DesignContext.h, src/conv/step/Direction.cpp, src/conv/step/Direction.h, src/conv/step/Edge.cpp, src/conv/step/Edge.h, src/conv/step/EdgeCurve.cpp, src/conv/step/EdgeCurve.h, @@ -18073,6 +14146,8 @@ src/conv/step/Hyperbola.cpp, src/conv/step/Hyperbola.h, src/conv/step/IntersectionCurve.cpp, src/conv/step/IntersectionCurve.h, + src/conv/step/ItemDefinedTransformation.cpp, + src/conv/step/ItemDefinedTransformation.h, src/conv/step/LengthContextDependentUnit.cpp, src/conv/step/LengthContextDependentUnit.h, src/conv/step/LengthConversionBasedUnit.cpp, @@ -18102,12 +14177,16 @@ src/conv/step/MassUnit.cpp, src/conv/step/MassUnit.h, src/conv/step/MeasureValue.cpp, src/conv/step/MeasureValue.h, src/conv/step/MeasureWithUnit.cpp, - src/conv/step/MeasureWithUnit.h, src/conv/step/NamedUnit.cpp, + src/conv/step/MeasureWithUnit.h, + src/conv/step/MechanicalContext.cpp, + src/conv/step/MechanicalContext.h, src/conv/step/NamedUnit.cpp, src/conv/step/NamedUnit.h, src/conv/step/OffsetCurve2D.cpp, src/conv/step/OffsetCurve2D.h, src/conv/step/OffsetCurve3D.cpp, src/conv/step/OffsetCurve3D.h, src/conv/step/OffsetSurface.cpp, src/conv/step/OffsetSurface.h, src/conv/step/OpenNurbsInterfaces.cpp, + src/conv/step/OrientedClosedShell.cpp, + src/conv/step/OrientedClosedShell.h, src/conv/step/OrientedEdge.cpp, src/conv/step/OrientedEdge.h, src/conv/step/PCurve.cpp, src/conv/step/PCurve.h, src/conv/step/PCurveOrSurface.cpp, @@ -18129,7 +14208,28 @@ src/conv/step/PlaneAngleUnit.cpp, src/conv/step/PlaneAngleUnit.h, src/conv/step/Point.cpp, src/conv/step/Point.h, src/conv/step/Polyline.cpp, src/conv/step/Polyline.h, - src/conv/step/PullbackCurve.cpp, src/conv/step/PullbackCurve.h, + src/conv/step/Product.cpp, src/conv/step/Product.h, + src/conv/step/ProductCategory.cpp, + src/conv/step/ProductCategory.h, + src/conv/step/ProductContext.cpp, src/conv/step/ProductContext.h, + src/conv/step/ProductDefinition.cpp, + src/conv/step/ProductDefinition.h, + src/conv/step/ProductDefinitionContext.cpp, + src/conv/step/ProductDefinitionContext.h, + src/conv/step/ProductDefinitionContextAssociation.cpp, + src/conv/step/ProductDefinitionContextAssociation.h, + src/conv/step/ProductDefinitionContextRole.cpp, + src/conv/step/ProductDefinitionContextRole.h, + src/conv/step/ProductDefinitionFormation.cpp, + src/conv/step/ProductDefinitionFormation.h, + src/conv/step/ProductDefinitionFormationWithSpecifiedSource.cpp, + src/conv/step/ProductDefinitionFormationWithSpecifiedSource.h, + src/conv/step/ProductDefinitionShape.cpp, + src/conv/step/ProductDefinitionShape.h, + src/conv/step/ProductRelatedProductCategory.cpp, + src/conv/step/ProductRelatedProductCategory.h, + src/conv/step/PropertyDefinition.cpp, + src/conv/step/PropertyDefinition.h, src/conv/step/QuasiUniformCurve.cpp, src/conv/step/QuasiUniformCurve.h, src/conv/step/QuasiUniformSurface.cpp, @@ -18168,12 +14268,19 @@ src/conv/step/RepresentationContext.cpp, src/conv/step/RepresentationContext.h, src/conv/step/RepresentationItem.cpp, - src/conv/step/RepresentationItem.h, src/conv/step/STEPEntity.cpp, - src/conv/step/STEPEntity.h, src/conv/step/STEPWrapper.cpp, - src/conv/step/STEPWrapper.h, src/conv/step/SeamCurve.cpp, - src/conv/step/SeamCurve.h, src/conv/step/ShapeRepresentation.cpp, - src/conv/step/ShapeRepresentation.h, src/conv/step/SiUnit.cpp, - src/conv/step/SiUnit.h, + src/conv/step/RepresentationItem.h, + src/conv/step/RepresentationRelationship.cpp, + src/conv/step/RepresentationRelationship.h, + src/conv/step/RepresentationRelationshipWithTransformation.cpp, + src/conv/step/RepresentationRelationshipWithTransformation.h, + src/conv/step/STEPEntity.cpp, src/conv/step/STEPEntity.h, + src/conv/step/STEPWrapper.cpp, src/conv/step/STEPWrapper.h, + src/conv/step/SeamCurve.cpp, src/conv/step/SeamCurve.h, + src/conv/step/ShapeRepresentation.cpp, + src/conv/step/ShapeRepresentation.h, + src/conv/step/ShapeRepresentationRelationship.cpp, + src/conv/step/ShapeRepresentationRelationship.h, + src/conv/step/SiUnit.cpp, src/conv/step/SiUnit.h, src/conv/step/SolidAngleContextDependentUnit.cpp, src/conv/step/SolidAngleContextDependentUnit.h, src/conv/step/SolidAngleConversionBasedUnit.cpp, @@ -18210,9 +14317,10 @@ src/conv/step/TopologicalRepresentationItem.cpp, src/conv/step/TopologicalRepresentationItem.h, src/conv/step/ToroidalSurface.cpp, - src/conv/step/ToroidalSurface.h, src/conv/step/TrimmedCurve.cpp, - src/conv/step/TrimmedCurve.h, src/conv/step/TrimmingSelect.cpp, - src/conv/step/TrimmingSelect.h, + src/conv/step/ToroidalSurface.h, + src/conv/step/Transformation.cpp, src/conv/step/Transformation.h, + src/conv/step/TrimmedCurve.cpp, src/conv/step/TrimmedCurve.h, + src/conv/step/TrimmingSelect.cpp, src/conv/step/TrimmingSelect.h, src/conv/step/UncertaintyMeasureWithUnit.cpp, src/conv/step/UncertaintyMeasureWithUnit.h, src/conv/step/UniformCurve.cpp, src/conv/step/UniformCurve.h, @@ -18228,86 +14336,71 @@ src/conv/step/VolumeConversionBasedUnit.h, src/conv/step/VolumeSiUnit.cpp, src/conv/step/VolumeSiUnit.h, src/conv/step/VolumeUnit.cpp, src/conv/step/VolumeUnit.h, - src/conv/step/step-g.cpp, src/conv/stl/g-stl.1, - src/conv/stl/g-stl.c, src/conv/stl/stl-g.1, src/conv/stl/stl-g.c, - src/conv/tankill/g-tankill.1, src/conv/tankill/g-tankill.c, - src/conv/tankill/tankill-g.1, src/conv/tankill/tankill-g.c, - src/conv/viewpoint-g.1, src/conv/viewpoint-g.c, + src/conv/step/step-g.cpp, src/conv/stl/g-stl.c, + src/conv/stl/stl-g.c, src/conv/tankill/g-tankill.c, + src/conv/tankill/tankill-g.c, src/conv/vdeck/cgarbs.c, + src/conv/vdeck/match.c, src/conv/vdeck/parsarg.c, + src/conv/vdeck/std.h, src/conv/vdeck/vdeck.c, + src/conv/vdeck/vextern.h, src/conv/viewpoint-g.c, src/conv/walk_example.c, src/external/Cubit/g-sat.cpp, src/external/ProEngineer/proe-brl.c, src/external/Unigraphics/conv.h, src/external/Unigraphics/log.h, src/external/Unigraphics/ug-g.1, src/external/Unigraphics/ug-g.c, src/external/Unigraphics/ug_misc.c, - src/external/Unigraphics/ug_misc.h, src/fb/bw-fb.1, - src/fb/bw-fb.c, src/fb/cell-fb.1, src/fb/cell-fb.c, - src/fb/cmap-crunch.c, src/fb/cmap-fb.1, src/fb/cmap-fb.c, - src/fb/fb-bw.1, src/fb/fb-bw.c, src/fb/fb-cmap.1, - src/fb/fb-cmap.c, src/fb/fb-fb.1, src/fb/fb-fb.c, - src/fb/fb-orle.1, src/fb/fb-orle.c, src/fb/fb-pix.1, - src/fb/fb-pix.c, src/fb/fb-png.1, src/fb/fb-png.c, - src/fb/fb-rle.1, src/fb/fb-rle.c, src/fb/fbanim.1, - src/fb/fbanim.c, src/fb/fbcbars.1, src/fb/fbcbars.c, - src/fb/fbclear.1, src/fb/fbclear.c, src/fb/fbcmap.1, - src/fb/fbcmap.c, src/fb/fbcmrot.1, src/fb/fbcmrot.c, - src/fb/fbcolor.1, src/fb/fbcolor.c, src/fb/fbfade.1, - src/fb/fbfade.c, src/fb/fbframe.1, src/fb/fbframe.c, - src/fb/fbfree.1, src/fb/fbfree.c, src/fb/fbgamma.1, - src/fb/fbgamma.c, src/fb/fbgammamod.c, src/fb/fbgrid.1, - src/fb/fbgrid.c, src/fb/fbhelp.1, src/fb/fbhelp.c, - src/fb/fblabel.1, src/fb/fblabel.c, src/fb/fbline.1, - src/fb/fbline.c, src/fb/fbpoint.1, src/fb/fbpoint.c, - src/fb/fbscanplot.1, src/fb/fbscanplot.c, src/fb/fbstretch.1, - src/fb/fbstretch.c, src/fb/fbthreadtest.c, src/fb/fbzoom.1, - src/fb/fbzoom.c, src/fb/gif-fb.1, src/fb/gif-fb.c, - src/fb/gif2fb.1, src/fb/gif2fb.c, src/fb/ioutil.c, - src/fb/orle-fb.1, src/fb/orle-fb.c, src/fb/pix-fb.1, - src/fb/pix-fb.c, src/fb/pixautosize.1, src/fb/pixautosize.c, - src/fb/pixflip-fb.c, src/fb/pl-fb.1, src/fb/pl-fb.c, - src/fb/png-fb.1, src/fb/png-fb.c, src/fb/polar-fb.1, - src/fb/polar-fb.c, src/fb/pp-fb.1, src/fb/pp-fb.c, - src/fb/rle-fb.1, src/fb/rle-fb.c, src/fb/spm-fb.c, - src/fbed/ascii.h, src/fbed/char.c, src/fbed/cursorbits.h, - src/fbed/empty.c, src/fbed/execshell.c, src/fbed/extern.h, - src/fbed/fb_ik.h, src/fbed/fbed.1, src/fbed/fbed.c, + src/external/Unigraphics/ug_misc.h, src/fb/bw-fb.c, + src/fb/cell-fb.c, src/fb/cmap-crunch.c, src/fb/cmap-fb.c, + src/fb/fb-bw.c, src/fb/fb-cmap.c, src/fb/fb-fb.c, + src/fb/fb-orle.c, src/fb/fb-pix.c, src/fb/fb-png.c, + src/fb/fb-rle.c, src/fb/fbanim.c, src/fb/fbcbars.c, + src/fb/fbclear.c, src/fb/fbcmap.c, src/fb/fbcmrot.c, + src/fb/fbcolor.c, src/fb/fbfade.c, src/fb/fbframe.c, + src/fb/fbfree.c, src/fb/fbgamma.c, src/fb/fbgammamod.c, + src/fb/fbgrid.c, src/fb/fbhelp.c, src/fb/fblabel.c, + src/fb/fbline.c, src/fb/fbpoint.c, src/fb/fbscanplot.c, + src/fb/fbstretch.c, src/fb/fbzoom.c, src/fb/gif-fb.c, + src/fb/gif2fb.c, src/fb/ioutil.c, src/fb/orle-fb.c, + src/fb/pix-fb.c, src/fb/pixautosize.c, src/fb/pixflip-fb.c, + src/fb/pl-fb.c, src/fb/png-fb.c, src/fb/polar-fb.c, + src/fb/pp-fb.c, src/fb/rle-fb.c, src/fb/spm-fb.c, + src/fb/tests/fbthreadtest.c, src/fbed/ascii.h, src/fbed/char.c, + src/fbed/cursorbits.h, src/fbed/empty.c, src/fbed/execshell.c, + src/fbed/extern.h, src/fbed/fb_ik.h, src/fbed/fbed.c, src/fbed/fill_buf.c, src/fbed/getinput.c, src/fbed/glob.c, src/fbed/popup.h, src/fbed/pos_pad.c, src/fbed/prnt.c, src/fbed/squash.c, src/fbed/std.h, src/fbed/try.c, - src/fbed/try.h, src/fbserv/fbserv.1, src/fbserv/fbserv.c, - src/fbserv/server.c, src/gtools/beset/beset.c, - src/gtools/beset/beset.h, src/gtools/beset/fitness.c, - src/gtools/beset/fitness.h, src/gtools/beset/population.c, - src/gtools/beset/population.h, src/gtools/g_diff.1, - src/gtools/g_diff.c, src/gtools/g_lint.1, src/gtools/g_lint.c, - src/gtools/g_qa.c, src/gtools/g_transfer.c, src/gtools/remapid.1, - src/gtools/remapid.c, src/halftone/halftone.1, + src/fbed/try.h, src/fbserv/fbserv.c, src/fbserv/server.c, + src/gtools/beset/beset.c, src/gtools/beset/beset.h, + src/gtools/beset/fitness.c, src/gtools/beset/fitness.h, + src/gtools/beset/population.c, src/gtools/beset/population.h, + src/gtools/g_diff.c, src/gtools/g_lint.c, src/gtools/g_qa.c, + src/gtools/g_transfer.c, src/gtools/remapid.c, src/halftone/main.c, src/halftone/sharpen.c, src/halftone/tone_classic.c, src/halftone/tone_floyd.c, src/halftone/tone_folly.c, src/halftone/tone_simple.c, src/halftone/tonescale.c, src/irprep/all_sf.c, - src/irprep/firpass.1, src/irprep/firpass.c, src/irprep/ir-X.1, - src/irprep/ir-X.c, src/irprep/irdisp.1, src/irprep/irdisp.c, - src/irprep/pictx.1, src/irprep/pictx.c, src/irprep/secpass.1, - src/irprep/secpass.c, src/irprep/shapefact.1, - src/irprep/shapefact.c, src/irprep/showtherm.1, + src/irprep/firpass.c, src/irprep/ir-X.c, src/irprep/irdisp.c, + src/irprep/pictx.c, src/irprep/secpass.c, src/irprep/shapefact.c, src/irprep/showtherm.c, src/irprep/subroutines.c, src/lgt/ascii.h, src/lgt/char.c, src/lgt/cursors.h, src/lgt/do_options.c, src/lgt/error.c, src/lgt/execshell.c, src/lgt/extern.h, src/lgt/fb.c, src/lgt/glob.c, src/lgt/grid_rotate.c, src/lgt/hmenu.c, src/lgt/hmenu.h, - src/lgt/ir.c, src/lgt/lgt.1, src/lgt/lgt.c, src/lgt/lgt.h, - src/lgt/lgt_db.c, src/lgt/mat_db.c, src/lgt/mat_db.h, - src/lgt/octree.c, src/lgt/prnt.c, src/lgt/reflect.c, - src/lgt/screen.h, src/lgt/texture.c, src/lgt/texture.h, - src/lgt/tree.h, src/lgt/trie.c, src/libanalyze/density.c, - src/libanalyze/overlaps.c, src/libanalyze/test_density.c, - src/libbn/anim.c, src/libbn/axis.c, src/libbn/bntester.c, - src/libbn/complex.c, src/libbn/font.c, src/libbn/fortran.c, - src/libbn/globals.c, src/libbn/libplot3.3, src/libbn/list.c, - src/libbn/marker.c, src/libbn/mat.c, src/libbn/msr.c, - src/libbn/multipoly.c, src/libbn/noise.c, src/libbn/plane.c, - src/libbn/plot3.c, src/libbn/poly.c, src/libbn/qmath.c, - src/libbn/rand.c, src/libbn/scale.c, src/libbn/sphmap.c, - src/libbn/symbol.c, src/libbn/tabdata.c, src/libbn/tcl.c, + src/lgt/ir.c, src/lgt/lgt.c, src/lgt/lgt.h, src/lgt/lgt_db.c, + src/lgt/mat_db.c, src/lgt/mat_db.h, src/lgt/octree.c, + src/lgt/prnt.c, src/lgt/reflect.c, src/lgt/screen.h, + src/lgt/texture.c, src/lgt/texture.h, src/lgt/tree.h, + src/lgt/trie.c, src/libanalyze/density.c, + src/libanalyze/overlaps.c, src/libanalyze/tests/density.c, + src/libanalyze/voxels.c, src/libbn/anim.c, src/libbn/axis.c, + src/libbn/bntester.c, src/libbn/complex.c, src/libbn/font.c, + src/libbn/globals.c, src/libbn/list.c, src/libbn/marker.c, + src/libbn/mat.c, src/libbn/msr.c, src/libbn/multipoly.c, + src/libbn/noise.c, src/libbn/plane.c, src/libbn/plot3.c, + src/libbn/poly.c, src/libbn/qmath.c, src/libbn/rand.c, + src/libbn/scale.c, src/libbn/sphmap.c, src/libbn/symbol.c, + src/libbn/tabdata.c, src/libbn/tcl.c, + src/libbn/tests/bn_coplanar_tri_tri_isect.c, + src/libbn/tests/bn_list.c, src/libbn/tests/bn_tri_tri_isect.c, src/libbn/tplot.c, src/libbn/ulp.c, src/libbn/vectfont.c, src/libbn/vector.c, src/libbn/vers.c, src/libbn/vert_tree.c, src/libbn/wavelet.c, src/libbu/argv.c, src/libbu/avs.c, @@ -18319,9 +14412,9 @@ src/libbu/dirname.c, src/libbu/dlfcn.c, src/libbu/endian.c, src/libbu/escape.c, src/libbu/fchmod.c, src/libbu/fgets.c, src/libbu/file.c, src/libbu/fnmatch.c, src/libbu/fopen_uniq.c, - src/libbu/getcwd.c, src/libbu/getopt.c, src/libbu/globals.c, - src/libbu/hash.c, src/libbu/hist.c, src/libbu/hook.c, - src/libbu/htond.3, src/libbu/htond.c, src/libbu/htonf.c, + src/libbu/getcwd.c, src/libbu/gethostname.c, src/libbu/getopt.c, + src/libbu/globals.c, src/libbu/hash.c, src/libbu/hist.c, + src/libbu/hook.c, src/libbu/htond.c, src/libbu/htonf.c, src/libbu/interrupt.c, src/libbu/ispar.c, src/libbu/kill.c, src/libbu/lex.c, src/libbu/linebuf.c, src/libbu/list.c, src/libbu/log.c, src/libbu/magic.c, src/libbu/malloc.c, @@ -18334,40 +14427,45 @@ src/libbu/rb_insert.c, src/libbu/rb_internals.h, src/libbu/rb_order_stats.c, src/libbu/rb_rotate.c, src/libbu/rb_search.c, src/libbu/rb_walk.c, src/libbu/realpath.c, - src/libbu/redblack.3, src/libbu/semaphore.c, src/libbu/simd.c, + src/libbu/semaphore.c, src/libbu/simd.c, src/libbu/sscanf.c, src/libbu/str.c, src/libbu/tcl.c, src/libbu/temp.c, - src/libbu/test_basename.c, src/libbu/test_dirname.c, - src/libbu/test_escape.c, src/libbu/test_progname.c, - src/libbu/test_quote.c, src/libbu/test_timer.c, - src/libbu/test_vls.c, src/libbu/timer.c, src/libbu/units.c, - src/libbu/vers.c, src/libbu/vfont.c, src/libbu/vlb.c, - src/libbu/vls.c, src/libbu/whereis.c, src/libbu/which.c, - src/libbu/xdr.c, src/libcursor/cursor.c, - src/libcursor/libcursor.3, src/libdm/adc.c, src/libdm/axes.c, + src/libbu/tests/bu_basename.c, src/libbu/tests/bu_bitv_and.c, + src/libbu/tests/bu_bitv_or.c, src/libbu/tests/bu_bitv_shift.c, + src/libbu/tests/bu_bitv_to_hex.c, src/libbu/tests/bu_bitv_vls.c, + src/libbu/tests/bu_booleanize.c, src/libbu/tests/bu_dirname.c, + src/libbu/tests/bu_escape.c, src/libbu/tests/bu_gethostname.c, + src/libbu/tests/bu_hex_to_bitv.c, src/libbu/tests/bu_progname.c, + src/libbu/tests/bu_quote.c, src/libbu/tests/bu_redblack.c, + src/libbu/tests/bu_sscanf.c, src/libbu/tests/bu_str_isprint.c, + src/libbu/tests/bu_timer.c, src/libbu/tests/bu_vls_vprintf.c, + src/libbu/timer.c, src/libbu/units.c, src/libbu/vers.c, + src/libbu/vfont.c, src/libbu/vlb.c, src/libbu/vls.c, + src/libbu/vls_internals.h, src/libbu/vls_vprintf.c, + src/libbu/whereis.c, src/libbu/which.c, src/libbu/xdr.c, + src/libcursor/cursor.c, src/libdm/adc.c, src/libdm/axes.c, src/libdm/clip.c, src/libdm/color.c, src/libdm/dm-Null.c, src/libdm/dm-X.c, src/libdm/dm-generic.c, src/libdm/dm-ogl.c, src/libdm/dm-plot.c, src/libdm/dm-ps.c, src/libdm/dm-rtgl.c, src/libdm/dm-tk.c, src/libdm/dm-wgl.c, src/libdm/dm_obj.c, - src/libdm/focus.c, src/libdm/grid.c, src/libdm/knob.c, - src/libdm/labels.c, src/libdm/options.c, src/libdm/query.c, - src/libdm/rect.c, src/libdm/scale.c, src/libdm/tcl.c, - src/libdm/vers.c, src/libfb/asize.c, src/libfb/dmdfb.h, - src/libfb/fb_generic.c, src/libfb/fb_log.c, src/libfb/fb_obj.c, - src/libfb/fb_paged_io.c, src/libfb/fb_rect.c, - src/libfb/fb_util.c, src/libfb/fbserv_obj.c, + src/libdm/dm_util.c, src/libdm/dm_util.h, src/libdm/focus.c, + src/libdm/grid.c, src/libdm/knob.c, src/libdm/labels.c, + src/libdm/options.c, src/libdm/query.c, src/libdm/rect.c, + src/libdm/scale.c, src/libdm/tcl.c, src/libdm/vers.c, + src/libfb/asize.c, src/libfb/dmdfb.h, src/libfb/fb_generic.c, + src/libfb/fb_log.c, src/libfb/fb_obj.c, src/libfb/fb_paged_io.c, + src/libfb/fb_rect.c, src/libfb/fb_util.c, src/libfb/fbserv_obj.c, src/libfb/if_TEMPLATE.c, src/libfb/if_X.c, src/libfb/if_debug.c, src/libfb/if_disk.c, src/libfb/if_mem.c, src/libfb/if_null.c, src/libfb/if_ogl.c, src/libfb/if_remote.c, src/libfb/if_stack.c, - src/libfb/if_tk.c, src/libfb/if_wgl.c, src/libfb/libfb.3, - src/libfb/nilcursor.h, src/libfb/oglcursor.h, src/libfb/tcl.c, - src/libfb/vers.c, src/libfft/ditsplit.c, src/libfft/ditsplitc.c, - src/libfft/fftc.c, src/libfft/fftest.c, src/libfft/fftfast.c, - src/libfft/ifftc.c, src/libfft/splitdit.c, - src/libfft/splitditc.c, src/libgcv/bottess.c, - src/libgcv/region_end.c, src/libgcv/region_end_mc.c, - src/libgcv/soup.h, src/libgcv/test_bottess.c, - src/libgcv/tri_intersect.c, src/libgcv/tri_intersect.h, - src/libgcv/wfobj/obj_grammar.yy, + src/libfb/if_tk.c, src/libfb/if_wgl.c, src/libfb/nilcursor.h, + src/libfb/oglcursor.h, src/libfb/tcl.c, src/libfb/vers.c, + src/libfft/ditsplit.c, src/libfft/ditsplitc.c, src/libfft/fftc.c, + src/libfft/fftest.c, src/libfft/fftfast.c, src/libfft/ifftc.c, + src/libfft/splitdit.c, src/libfft/splitditc.c, + src/libgcv/bottess.c, src/libgcv/region_end.c, + src/libgcv/region_end_mc.c, src/libgcv/soup.h, + src/libgcv/test_bottess.c, src/libgcv/tri_intersect.c, + src/libgcv/tri_intersect.h, src/libgcv/wfobj/obj_grammar.yy, src/libgcv/wfobj/obj_grammar_decls.h, src/libgcv/wfobj/obj_parser.cpp, src/libgcv/wfobj/obj_parser.h, src/libgcv/wfobj/obj_parser_state.h, @@ -18382,20 +14480,22 @@ src/libged/bo.c, src/libged/bot.c, src/libged/bot_condense.c, src/libged/bot_decimate.c, src/libged/bot_dump.c, src/libged/bot_face_fuse.c, src/libged/bot_face_sort.c, - src/libged/bot_flip.c, src/libged/bot_merge.c, - src/libged/bot_smooth.c, src/libged/bot_split.c, - src/libged/bot_sync.c, src/libged/bot_vertex_fuse.c, - src/libged/brep.c, src/libged/cat.c, src/libged/cc.c, - src/libged/center.c, src/libged/clip.c, src/libged/clone.c, - src/libged/color.c, src/libged/comb.c, src/libged/comb_color.c, + src/libged/bot_flip.c, src/libged/bot_fuse.c, + src/libged/bot_merge.c, src/libged/bot_smooth.c, + src/libged/bot_split.c, src/libged/bot_sync.c, + src/libged/bot_vertex_fuse.c, src/libged/brep.c, + src/libged/cat.c, src/libged/cc.c, src/libged/center.c, + src/libged/clip.c, src/libged/clone.c, src/libged/color.c, + src/libged/columns.c, src/libged/comb.c, src/libged/comb_color.c, src/libged/comb_std.c, src/libged/combmem.c, src/libged/concat.c, src/libged/copy.c, src/libged/copyeval.c, src/libged/copymat.c, - src/libged/cpi.c, src/libged/dbip.c, src/libged/debugbu.c, - src/libged/debugdir.c, src/libged/debuglib.c, - src/libged/debugmem.c, src/libged/debugnmg.c, - src/libged/decompose.c, src/libged/delay.c, src/libged/dg_obj.c, - src/libged/dir2ae.c, src/libged/draw.c, src/libged/dump.c, - src/libged/dup.c, src/libged/eac.c, src/libged/echo.c, + src/libged/cpi.c, src/libged/dag.cpp, src/libged/dbip.c, + src/libged/debugbu.c, src/libged/debugdir.c, + src/libged/debuglib.c, src/libged/debugmem.c, + src/libged/debugnmg.c, src/libged/decompose.c, + src/libged/delay.c, src/libged/dg_obj.c, src/libged/dir2ae.c, + src/libged/draw.c, src/libged/dump.c, src/libged/dup.c, + src/libged/eac.c, src/libged/echo.c, src/libged/edbot.c, src/libged/edcodes.c, src/libged/edcomb.c, src/libged/edit.c, src/libged/editit.c, src/libged/edmater.c, src/libged/edpipe.c, src/libged/erase.c, src/libged/exists.c, src/libged/expand.c, @@ -18412,25 +14512,26 @@ src/libged/how.c, src/libged/human.c, src/libged/illum.c, src/libged/importFg4Section.c, src/libged/inside.c, src/libged/instance.c, src/libged/isize.c, src/libged/item.c, - src/libged/keep.c, src/libged/keypoint.c, src/libged/kill.c, - src/libged/killall.c, src/libged/killrefs.c, - src/libged/killtree.c, src/libged/label.c, src/libged/list.c, - src/libged/loadview.c, src/libged/log.c, src/libged/lookat.c, - src/libged/ls.c, src/libged/lt.c, src/libged/m2v_point.c, - src/libged/make.c, src/libged/make_bb.c, src/libged/make_name.c, - src/libged/make_pnts.c, src/libged/match.c, src/libged/mater.c, - src/libged/mirror.c, src/libged/model2grid_lu.c, - src/libged/model2view.c, src/libged/model2view_lu.c, - src/libged/move.c, src/libged/move_all.c, - src/libged/move_arb_edge.c, src/libged/move_arb_face.c, - src/libged/mrot.c, src/libged/nirt.c, src/libged/nmg_collapse.c, - src/libged/nmg_fix_normals.c, src/libged/nmg_simplify.c, - src/libged/ocenter.c, src/libged/open.c, src/libged/orient.c, - src/libged/orotate.c, src/libged/oscale.c, - src/libged/otranslate.c, src/libged/overlay.c, src/libged/path.c, - src/libged/pathlist.c, src/libged/pathsum.c, - src/libged/perspective.c, src/libged/pix2fb.c, src/libged/plot.c, - src/libged/pmat.c, src/libged/pmodel2view.c, src/libged/png.c, + src/libged/joint.c, src/libged/joint.h, src/libged/keep.c, + src/libged/keypoint.c, src/libged/kill.c, src/libged/killall.c, + src/libged/killrefs.c, src/libged/killtree.c, src/libged/label.c, + src/libged/list.c, src/libged/loadview.c, src/libged/log.c, + src/libged/lookat.c, src/libged/ls.c, src/libged/lt.c, + src/libged/m2v_point.c, src/libged/make.c, src/libged/make_bb.c, + src/libged/make_name.c, src/libged/make_pnts.c, + src/libged/match.c, src/libged/mater.c, src/libged/mirror.c, + src/libged/model2grid_lu.c, src/libged/model2view.c, + src/libged/model2view_lu.c, src/libged/move.c, + src/libged/move_all.c, src/libged/move_arb_edge.c, + src/libged/move_arb_face.c, src/libged/mrot.c, src/libged/nirt.c, + src/libged/nmg_collapse.c, src/libged/nmg_fix_normals.c, + src/libged/nmg_simplify.c, src/libged/ocenter.c, + src/libged/open.c, src/libged/orient.c, src/libged/orotate.c, + src/libged/oscale.c, src/libged/otranslate.c, + src/libged/overlay.c, src/libged/path.c, src/libged/pathlist.c, + src/libged/pathsum.c, src/libged/perspective.c, + src/libged/pix2fb.c, src/libged/plot.c, src/libged/pmat.c, + src/libged/pmodel2view.c, src/libged/png.c, src/libged/polyclip.cpp, src/libged/pov.c, src/libged/prcolor.c, src/libged/prefix.c, src/libged/preview.c, src/libged/protate.c, src/libged/ps.c, src/libged/pscale.c, src/libged/ptranslate.c, @@ -18445,8 +14546,8 @@ src/libged/rotate_eto.c, src/libged/rotate_extrude.c, src/libged/rotate_hyp.c, src/libged/rotate_tgc.c, src/libged/rrt.c, src/libged/rt.c, src/libged/rtabort.c, - src/libged/rtcheck.c, src/libged/savekey.c, - src/libged/saveview.c, src/libged/scale.c, + src/libged/rtcheck.c, src/libged/rtwizard.c, + src/libged/savekey.c, src/libged/saveview.c, src/libged/scale.c, src/libged/scale_ehy.c, src/libged/scale_ell.c, src/libged/scale_epa.c, src/libged/scale_eto.c, src/libged/scale_extrude.c, src/libged/scale_hyp.c, @@ -18475,8 +14576,9 @@ src/libged/version.c, src/libged/view.c, src/libged/view2grid_lu.c, src/libged/view2model.c, src/libged/view2model_lu.c, src/libged/view2model_vec.c, - src/libged/view_obj.c, src/libged/viewdir.c, src/libged/vrot.c, - src/libged/vutil.c, src/libged/wcodes.c, src/libged/wdb_bigE.c, + src/libged/view_obj.c, src/libged/viewdir.c, + src/libged/voxelize.c, src/libged/vrot.c, src/libged/vutil.c, + src/libged/wcodes.c, src/libged/wdb_bigE.c, src/libged/wdb_comb_std.c, src/libged/wdb_importFg4Section.c, src/libged/wdb_nirt.c, src/libged/wdb_obj.c, src/libged/wdb_qray.c, src/libged/wdb_qray.h, @@ -18485,11 +14587,13 @@ src/libged/which_shader.c, src/libged/who.c, src/libged/wmater.c, src/libged/xpush.c, src/libged/ypr.c, src/libged/zap.c, src/libged/zoom/zoom.c, src/libicv/fileformat.c, - src/libicv/rot.c, src/libmultispectral/init.c, - src/libmultispectral/sh_temp.c, src/liboptical/init.c, + src/libicv/rot.c, src/libmultispectral/sh_temp.c, + src/libnurbs/PullbackCurve.cpp, src/libnurbs/PullbackCurve.h, + src/libnurbs/opennurbs_ext.cpp, src/liboptical/init.c, src/liboptical/liboslrend.cpp, src/liboptical/liboslrend.h, src/liboptical/material.c, src/liboptical/photonmap.c, - src/liboptical/refract.c, src/liboptical/sh_air.c, + src/liboptical/refract.c, src/liboptical/render_svc.cpp, + src/liboptical/render_svc.h, src/liboptical/sh_air.c, src/liboptical/sh_billboard.c, src/liboptical/sh_brdf.c, src/liboptical/sh_camo.c, src/liboptical/sh_cloud.c, src/liboptical/sh_cook.c, src/liboptical/sh_fbm.c, @@ -18505,16 +14609,16 @@ src/liboptical/sh_toon.c, src/liboptical/sh_toyota.c, src/liboptical/sh_treetherm.c, src/liboptical/sh_xxx.c, src/liboptical/shade.c, src/liboptical/vers.c, - src/liboptical/wray.c, src/liborle/liborle.3, src/liborle/rle.c, - src/libpc/pcBasic.h, src/libpc/pcConstraint.cpp, - src/libpc/pcConstraint.h, src/libpc/pcGenerator.cpp, - src/libpc/pcGenerator.h, src/libpc/pcInterval.h, - src/libpc/pcMathGrammar.h, src/libpc/pcMathLF.h, - src/libpc/pcMathVM.cpp, src/libpc/pcMathVM.h, - src/libpc/pcNetwork.cpp, src/libpc/pcNetwork.h, - src/libpc/pcParameter.cpp, src/libpc/pcParameter.h, - src/libpc/pcParser.cpp, src/libpc/pcParser.h, - src/libpc/pcSolver.h, src/libpc/pcVCSet.cpp, src/libpc/pcVCSet.h, + src/liboptical/wray.c, src/liborle/rle.c, src/libpc/pcBasic.h, + src/libpc/pcConstraint.cpp, src/libpc/pcConstraint.h, + src/libpc/pcGenerator.cpp, src/libpc/pcGenerator.h, + src/libpc/pcInterval.h, src/libpc/pcMathGrammar.h, + src/libpc/pcMathLF.h, src/libpc/pcMathVM.cpp, + src/libpc/pcMathVM.h, src/libpc/pcNetwork.cpp, + src/libpc/pcNetwork.h, src/libpc/pcParameter.cpp, + src/libpc/pcParameter.h, src/libpc/pcParser.cpp, + src/libpc/pcParser.h, src/libpc/pcSolver.h, + src/libpc/pcVCSet.cpp, src/libpc/pcVCSet.h, src/libpc/pcVariable.cpp, src/libpc/pcVariable.h, src/libpc/pc_constraints.c, src/libpc/pc_main.c, src/libpc/solver_test.cpp, src/libpc/vm_test.cpp, @@ -18523,8 +14627,8 @@ src/libpkg/tpkg.c, src/libpkg/vers.c, src/librt/attributes.c, src/librt/bbox.c, src/librt/bezier_2d_isect.c, src/librt/binunif/binunif.c, src/librt/binunif/db5_bin.c, - src/librt/bool.c, src/librt/brep_test.cpp, src/librt/bundle.c, - src/librt/cmd.c, src/librt/columnparse.c, src/librt/comb/comb.c, + src/librt/bool.c, src/librt/bundle.c, src/librt/cmd.c, + src/librt/columnparse.c, src/librt/comb/comb.c, src/librt/comb/comb_mirror.c, src/librt/comb/db_comb.c, src/librt/constraint.c, src/librt/cut.c, src/librt/db5_alloc.c, src/librt/db5_io.c, src/librt/db5_scan.c, src/librt/db5_types.c, @@ -18535,10646 +14639,23322 @@ src/librt/db_match.c, src/librt/db_open.c, src/librt/db_path.c, src/librt/db_scan.c, src/librt/db_tree.c, src/librt/db_walk.c, src/librt/dir.c, src/librt/dspline.c, src/librt/fortray.c, - src/librt/globals.c, src/librt/htbl.c, src/librt/librt.3, - src/librt/librt_private.h, src/librt/many.c, src/librt/mater.c, - src/librt/memalloc.c, src/librt/mkbundle.c, src/librt/namegen.c, - src/librt/nurb_example.c, src/librt/opennurbs_ext.cpp, - src/librt/opennurbs_ext.h, src/librt/oslo_calc.c, - src/librt/oslo_map.c, src/librt/pmalloc.c, src/librt/pr.c, - src/librt/prcomb.c, src/librt/prep.c, + src/librt/globals.c, src/librt/htbl.c, src/librt/librt_private.h, + src/librt/many.c, src/librt/mater.c, src/librt/memalloc.c, + src/librt/mkbundle.c, src/librt/namegen.c, + src/librt/nurb_example.c, src/librt/oslo_calc.c, + src/librt/oslo_map.c, src/librt/pr.c, src/librt/prcomb.c, + src/librt/prep.c, src/librt/primitives/arb8/arb8.c, + src/librt/primitives/arb8/arb8_brep.cpp, + src/librt/primitives/arb8/arb8_mirror.c, + src/librt/primitives/arbn/arbn.c, + src/librt/primitives/arbn/arbn_brep.cpp, + src/librt/primitives/arbn/arbn_mirror.c, + src/librt/primitives/ars/ars.c, + src/librt/primitives/ars/ars_brep.cpp, + src/librt/primitives/ars/ars_mirror.c, + src/librt/primitives/bot/bot.c, + src/librt/primitives/bot/bot_brep.cpp, + src/librt/primitives/bot/bot_mirror.c, + src/librt/primitives/bot/btg.c, src/librt/primitives/bot/btg.h, + src/librt/primitives/bot/btgf.c, + src/librt/primitives/bot/g_bot_include.c, + src/librt/primitives/bot/tie.c, + src/librt/primitives/bot/tie_kdtree.c, + src/librt/primitives/bot/tieprivate.h, + src/librt/primitives/brep/brep.cpp, + src/librt/primitives/brep/brep_debug.cpp, + src/librt/primitives/brep/brep_debug.h, + src/librt/primitives/bspline/bspline.cpp, + src/librt/primitives/bspline/bspline_mirror.c, + src/librt/primitives/bspline/nurb_basis.c, + src/librt/primitives/bspline/nurb_bezier.c, + src/librt/primitives/bspline/nurb_bound.c, + src/librt/primitives/bspline/nurb_brep.cpp, + src/librt/primitives/bspline/nurb_c2.c, + src/librt/primitives/bspline/nurb_copy.c, + src/librt/primitives/bspline/nurb_diff.c, + src/librt/primitives/bspline/nurb_eval.c, + src/librt/primitives/bspline/nurb_flat.c, + src/librt/primitives/bspline/nurb_interp.c, + src/librt/primitives/bspline/nurb_knot.c, + src/librt/primitives/bspline/nurb_norm.c, + src/librt/primitives/bspline/nurb_plot.c, + src/librt/primitives/bspline/nurb_poly.c, + src/librt/primitives/bspline/nurb_ray.c, + src/librt/primitives/bspline/nurb_refine.c, + src/librt/primitives/bspline/nurb_reverse.c, + src/librt/primitives/bspline/nurb_solve.c, + src/librt/primitives/bspline/nurb_split.c, + src/librt/primitives/bspline/nurb_tess.c, + src/librt/primitives/bspline/nurb_trim.c, + src/librt/primitives/bspline/nurb_trim_util.c, + src/librt/primitives/bspline/nurb_util.c, + src/librt/primitives/bspline/nurb_xsplit.c, + src/librt/primitives/cline/cline.c, + src/librt/primitives/cline/cline_brep.cpp, + src/librt/primitives/dsp/dsp.c, src/librt/primitives/dsp/dsp.h, + src/librt/primitives/dsp/dsp_brep.cpp, + src/librt/primitives/dsp/dsp_mirror.c, + src/librt/primitives/ebm/ebm.c, + src/librt/primitives/ebm/ebm_brep.cpp, + src/librt/primitives/ebm/ebm_mirror.c, + src/librt/primitives/ehy/ehy.c, + src/librt/primitives/ehy/ehy_brep.cpp, + src/librt/primitives/ell/ell.c, + src/librt/primitives/ell/ell_brep.cpp, + src/librt/primitives/ell/ell_mirror.c, + src/librt/primitives/epa/epa.c, + src/librt/primitives/epa/epa_brep.cpp, + src/librt/primitives/epa/epa_mirror.c, + src/librt/primitives/eto/eto.c, + src/librt/primitives/eto/eto_brep.cpp, + src/librt/primitives/eto/eto_mirror.c, + src/librt/primitives/extrude/extrude.c, + src/librt/primitives/extrude/extrude_brep.cpp, + src/librt/primitives/fixpt.h, src/librt/primitives/generic.c, + src/librt/primitives/grip/grip.c, + src/librt/primitives/grip/grip_brep.cpp, + src/librt/primitives/grip/grip_mirror.c, + src/librt/primitives/half/half.c, + src/librt/primitives/half/half_brep.cpp, + src/librt/primitives/half/half_mirror.c, + src/librt/primitives/hf/hf.c, + src/librt/primitives/hf/hf_brep.cpp, + src/librt/primitives/hyp/hyp.c, + src/librt/primitives/hyp/hyp_brep.cpp, + src/librt/primitives/hyp/hyp_mirror.c, + src/librt/primitives/metaball/metaball.c, + src/librt/primitives/metaball/metaball.h, + src/librt/primitives/metaball/metaball_tri.c, + src/librt/primitives/mirror.c, src/librt/primitives/nmg/nmg.c, + src/librt/primitives/nmg/nmg_bool.c, + src/librt/primitives/nmg/nmg_brep.cpp, + src/librt/primitives/nmg/nmg_ck.c, + src/librt/primitives/nmg/nmg_class.c, + src/librt/primitives/nmg/nmg_copy.c, + src/librt/primitives/nmg/nmg_eval.c, + src/librt/primitives/nmg/nmg_extrude.c, + src/librt/primitives/nmg/nmg_fcut.c, + src/librt/primitives/nmg/nmg_fuse.c, + src/librt/primitives/nmg/nmg_index.c, + src/librt/primitives/nmg/nmg_info.c, + src/librt/primitives/nmg/nmg_inter.c, + src/librt/primitives/nmg/nmg_junk.c, + src/librt/primitives/nmg/nmg_manif.c, + src/librt/primitives/nmg/nmg_mesh.c, + src/librt/primitives/nmg/nmg_mirror.c, + src/librt/primitives/nmg/nmg_misc.c, + src/librt/primitives/nmg/nmg_mk.c, + src/librt/primitives/nmg/nmg_mod.c, + src/librt/primitives/nmg/nmg_plot.c, + src/librt/primitives/nmg/nmg_pr.c, + src/librt/primitives/nmg/nmg_pt_fu.c, + src/librt/primitives/nmg/nmg_rt_isect.c, + src/librt/primitives/nmg/nmg_rt_segs.c, + src/librt/primitives/nmg/nmg_tri.c, + src/librt/primitives/nmg/nmg_tri_mc.c, + src/librt/primitives/nmg/nmg_visit.c, + src/librt/primitives/obj_adjust.c, + src/librt/primitives/obj_curve.c, + src/librt/primitives/obj_describe.c, + src/librt/primitives/obj_export.c, + src/librt/primitives/obj_free.c, src/librt/primitives/obj_get.c, + src/librt/primitives/obj_ifree.c, + src/librt/primitives/obj_import.c, + src/librt/primitives/obj_make.c, + src/librt/primitives/obj_mirror.c, + src/librt/primitives/obj_norm.c, + src/librt/primitives/obj_params.c, + src/librt/primitives/obj_plot.c, src/librt/primitives/obj_prep.c, + src/librt/primitives/obj_print.c, + src/librt/primitives/obj_shot.c, src/librt/primitives/obj_tess.c, + src/librt/primitives/obj_tnurb.c, src/librt/primitives/obj_uv.c, + src/librt/primitives/obj_vshot.c, + src/librt/primitives/obj_xform.c, + src/librt/primitives/part/part.c, + src/librt/primitives/part/part_brep.cpp, + src/librt/primitives/part/part_mirror.c, + src/librt/primitives/pipe/pipe.c, + src/librt/primitives/pipe/pipe_brep.cpp, + src/librt/primitives/pipe/pipe_mirror.c, + src/librt/primitives/pnts/pnts.c, + src/librt/primitives/pnts/pnts_brep.cpp, + src/librt/primitives/poly/poly.c, + src/librt/primitives/poly/poly_brep.cpp, + src/librt/primitives/poly/poly_mirror.c, + src/librt/primitives/primitive_util.c, + src/librt/primitives/rec/rec.c, + src/librt/primitives/revolve/revolve.c, + src/librt/primitives/revolve/revolve.h, + src/librt/primitives/revolve/revolve_brep.cpp, + src/librt/primitives/rhc/rhc.c, + src/librt/primitives/rhc/rhc_brep.cpp, + src/librt/primitives/rhc/rhc_mirror.c, + src/librt/primitives/rpc/rpc.c, + src/librt/primitives/rpc/rpc_brep.cpp, + src/librt/primitives/rpc/rpc_mirror.c, + src/librt/primitives/sketch/sketch.c, + src/librt/primitives/sketch/sketch_brep.cpp, + src/librt/primitives/sketch/sketch_tess.cpp, + src/librt/primitives/sph/sph.c, + src/librt/primitives/sph/sph_brep.cpp, + src/librt/primitives/submodel/submodel.c, + src/librt/primitives/superell/superell.c, + src/librt/primitives/superell/superell_brep.cpp, + src/librt/primitives/superell/superell_mirror.c, + src/librt/primitives/table.c, src/librt/primitives/tgc/tgc.c, + src/librt/primitives/tgc/tgc_brep.cpp, + src/librt/primitives/tgc/tgc_mirror.c, + src/librt/primitives/tor/tor.c, + src/librt/primitives/tor/tor_brep.cpp, + src/librt/primitives/tor/tor_mirror.c, + src/librt/primitives/vol/vol.c, + src/librt/primitives/vol/vol_brep.cpp, + src/librt/primitives/vol/vol_mirror.c, + src/librt/primitives/xxx/xxx.c, src/librt/primitives/xxx/xxx.h, + src/librt/raydebug.tcl, src/librt/regionfix.c, src/librt/roots.c, + src/librt/search.c, src/librt/search.h, src/librt/shoot.c, + src/librt/spectrum.c, src/librt/tcl.c, src/librt/test_dvec.cpp, + src/librt/timer-nt.c, src/librt/timer42.c, src/librt/timerhep.c, + src/librt/timerunix.c, src/librt/tol.c, src/librt/transform.c, + src/librt/tree.c, src/librt/uvpoints.cpp, src/librt/vers.c, + src/librt/vlist.c, src/librt/vshoot.c, src/librt/wdb.c, + src/librtserver/rtserver.c, src/librtserver/rtserverTest.c, + src/libsysv/memset.c, src/libsysv/strdup.c, + src/libtclcad/cmdhist_obj.c, src/libtclcad/tclcad.c, + src/libtclcad/tclcadAutoPath.c, src/libtclcad/tclcad_obj.c, + src/libtclcad/tclcad_private.h, src/libtclcad/tkImgFmtPIX.c, + src/libtermio/termio.c, src/libtermio/termio_win32.c, + src/libwdb/arbn.c, src/libwdb/ars.c, src/libwdb/bot.c, + src/libwdb/brep.cpp, src/libwdb/cline.c, src/libwdb/constraint.c, + src/libwdb/dsp.c, src/libwdb/dynamic_geometry.c, + src/libwdb/ebm.c, src/libwdb/export.c, src/libwdb/extrude.c, + src/libwdb/id.c, src/libwdb/mater.c, src/libwdb/nmg.c, + src/libwdb/nurb.c, src/libwdb/pipe.c, src/libwdb/reg.c, + src/libwdb/sketch.c, src/libwdb/submodel.c, src/libwdb/units.c, + src/libwdb/vol.c, src/libwdb/wdb.c, src/mged/adc.c, + src/mged/arbs.c, src/mged/attach.c, src/mged/axes.c, + src/mged/bodyio.c, src/mged/bool_rewrite.c, src/mged/buttons.c, + src/mged/cad_boundp.c, src/mged/cad_parea.c, src/mged/chgmodel.c, + src/mged/chgtree.c, src/mged/chgview.c, src/mged/clone.c, + src/mged/cmd.c, src/mged/cmd.h, src/mged/color_scheme.c, + src/mged/columns.c, src/mged/comb_bool.h, + src/mged/comb_bool_parse.y, src/mged/comb_bool_scan.l, + src/mged/dir.c, src/mged/dm-X.c, src/mged/dm-generic.c, + src/mged/dm-ogl.c, src/mged/dm-plot.c, src/mged/dm-ps.c, + src/mged/dm-rtgl.c, src/mged/dm-tk.c, src/mged/dm-wgl.c, + src/mged/dodraw.c, src/mged/doevent.c, src/mged/dozoom.c, + src/mged/edarb.c, src/mged/edars.c, src/mged/edpipe.c, + src/mged/edsol.c, src/mged/facedef.c, src/mged/fbserv.c, + src/mged/fbserv.h, src/mged/grid.c, src/mged/history.c, + src/mged/htmlLibraryUi.h, src/mged/mater.c, src/mged/menu.c, + src/mged/menu.h, src/mged/mgdev.h, src/mged/mged.bat, + src/mged/mged.c, src/mged/mged.h, src/mged/mged_dm.h, + src/mged/mover.c, src/mged/muves.c, src/mged/overlay.c, + src/mged/plot.c, src/mged/points/count.c, + src/mged/points/count.h, src/mged/points/main.c, + src/mged/points/points_parse.y, src/mged/points/points_scan.l, + src/mged/points/process.c, src/mged/points/process.h, + src/mged/polyif.c, src/mged/predictor.c, src/mged/qray.h, + src/mged/rect.c, src/mged/red.c, src/mged/rtif.c, + src/mged/scroll.c, src/mged/scroll.h, src/mged/sedit.h, + src/mged/set.c, src/mged/setup.c, src/mged/share.c, + src/mged/solids_on_ray.c, src/mged/tedit.c, src/mged/titles.c, + src/mged/titles.h, src/mged/track.c, src/mged/update.c, + src/mged/usepen.c, src/mged/utility1.c, src/mged/vparse.c, + src/nirt/bsphere.c, src/nirt/command.c, src/nirt/conversion.c, + src/nirt/if.c, src/nirt/interact.c, src/nirt/nirt.c, + src/nirt/nirt.h, src/nirt/parse_fmt.c, src/nirt/read_mat.c, + src/nirt/showshot.c, src/nirt/str_manip.c, src/nirt/usrfmt.h, + src/proc-db/bottest.c, src/proc-db/brep_cube.cpp, + src/proc-db/brep_simple.cpp, src/proc-db/brepintersect.cpp, + src/proc-db/brepintersect.h, src/proc-db/breplicator.cpp, + src/proc-db/brickwall.c, src/proc-db/clutter.c, + src/proc-db/common.c, src/proc-db/contours.c, + src/proc-db/csgbrep.cpp, src/proc-db/globe.c, src/proc-db/kurt.c, + src/proc-db/lens.c, src/proc-db/makebuilding/makebuilding.c, + src/proc-db/masonry.c, src/proc-db/menger.c, + src/proc-db/metaball.c, src/proc-db/mkbuilding.c, + src/proc-db/mkbuilding.h, src/proc-db/molecule.c, + src/proc-db/nmgmodel.c, src/proc-db/pdb-g.c, src/proc-db/pipe.c, + src/proc-db/pipetest.c, src/proc-db/pix2g.c, + src/proc-db/pyramid.c, src/proc-db/rawbot.c, + src/proc-db/ringworld.c, src/proc-db/room.c, + src/proc-db/sketch.c, src/proc-db/sphflake.c, + src/proc-db/spltest.c, src/proc-db/surfaceintersect.cpp, + src/proc-db/surfaceintersect.h, src/proc-db/tea.c, + src/proc-db/tea.h, src/proc-db/tea_nmg.c, src/proc-db/torii.c, + src/proc-db/tube.c, src/proc-db/vegetation.c, + src/proc-db/vegetation.h, src/proc-db/wavy.c, + src/proc-db/wdb_example.c, src/remrt/ihost.c, src/remrt/ihost.h, + src/remrt/protocol.h, src/remrt/remrt.c, src/remrt/rtsrv.c, + src/rt/do.c, src/rt/ext.h, src/rt/heatgraph.c, + src/rt/libfb-dummy.c, src/rt/main.c, src/rt/opt.c, src/rt/rad.h, + src/rt/read-rtlog.c, src/rt/reshoot.c, src/rt/rtexample.c, + src/rt/rtregis.c, src/rt/rtscale.c, src/rt/rtshot.c, + src/rt/rtuif.h, src/rt/rtwalk.c, src/rt/scanline.c, + src/rt/scanline.h, src/rt/sh_tcl.c, src/rt/view.c, + src/rt/view_bot_faces.c, src/rt/viewarea.c, src/rt/viewcell.c, + src/rt/viewcheck.c, src/rt/viewdir.c, src/rt/viewdummy.c, + src/rt/viewedge.c, src/rt/viewfrac.c, src/rt/viewg3.c, + src/rt/viewhide.c, src/rt/viewpp.c, src/rt/viewrad.c, + src/rt/viewrange.c, src/rt/viewray.c, src/rt/viewscat.c, + src/rt/viewsil.c, src/rt/viewweight.c, src/rt/viewxray.c, + src/rt/worker.c, src/rttherm/pixtest.c, src/rttherm/spectrum.c, + src/rttherm/ssamp-bw.c, src/rttherm/ssampview.c, + src/rttherm/ssampview.tcl, src/rttherm/test.sh, + src/rttherm/viewtherm.c, src/shapes/bolt.c, src/shapes/coil.c, + src/shapes/fence.c, src/shapes/fence.h, src/shapes/gastank.c, + src/shapes/handle.c, src/shapes/human.c, + src/shapes/picket_fence.c, src/shapes/tire.c, + src/shapes/window.c, src/shapes/window_frame.c, + src/shapes/wire.c, src/sig/a-d.c, src/sig/butter.c, + src/sig/bw-d.c, src/sig/c-d.c, src/sig/coswin.c, src/sig/d-a.c, + src/sig/d-bw.c, src/sig/d-f.c, src/sig/d-i.c, src/sig/d-u.c, + src/sig/d2-c.c, src/sig/damdf.c, src/sig/dauto.c, + src/sig/dauto2.c, src/sig/dconv.c, src/sig/ddisp.c, + src/sig/dfft.c, src/sig/dmod.c, src/sig/dpeak.c, src/sig/dsel.c, + src/sig/dstats.c, src/sig/dwin.c, src/sig/f-d.c, src/sig/f-i.c, + src/sig/fhor.c, src/sig/hamwin.c, src/sig/i-a.c, src/sig/i-d.c, + src/sig/i-f.c, src/sig/ihist.c, src/sig/imod.c, src/sig/interp.c, + src/sig/istats.c, src/sig/smod.c, src/sig/u-a.c, src/sig/u-bw.c, + src/sig/u-d.c, src/sig/u-f.c, src/sig/umod.c, src/sig/ustats.c, + src/tab/script-tab.c, src/tab/script.l, src/tab/tabinterp.c, + src/tab/tabsub.c, src/tab/tokens.h, src/tclscripts/ami.tcl, + src/tclscripts/ampi.tcl, src/tclscripts/archer/Arb4EditFrame.tcl, + src/tclscripts/archer/Arb5EditFrame.tcl, + src/tclscripts/archer/Arb6EditFrame.tcl, + src/tclscripts/archer/Arb7EditFrame.tcl, + src/tclscripts/archer/Arb8EditFrame.tcl, + src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl, + src/tclscripts/archer/AttrGroupsDisplayUtility.tcl, + src/tclscripts/archer/BotEditFrame.tcl, + src/tclscripts/archer/BotUtility.tcl, + src/tclscripts/archer/CombEditFrame.tcl, + src/tclscripts/archer/DataUtils.tcl, + src/tclscripts/archer/EhyEditFrame.tcl, + src/tclscripts/archer/EllEditFrame.tcl, + src/tclscripts/archer/EpaEditFrame.tcl, + src/tclscripts/archer/EtoEditFrame.tcl, + src/tclscripts/archer/ExtrudeEditFrame.tcl, + src/tclscripts/archer/GeometryEditFrame.tcl, + src/tclscripts/archer/GripEditFrame.tcl, + src/tclscripts/archer/HalfEditFrame.tcl, + src/tclscripts/archer/HypEditFrame.tcl, + src/tclscripts/archer/LoadArcherLibs.tcl, + src/tclscripts/archer/PartEditFrame.tcl, + src/tclscripts/archer/PipeEditFrame.tcl, + src/tclscripts/archer/Plugin.tcl, + src/tclscripts/archer/RhcEditFrame.tcl, + src/tclscripts/archer/RpcEditFrame.tcl, + src/tclscripts/archer/ShaderEdit.tcl, + src/tclscripts/archer/SketchEditFrame.tcl, + src/tclscripts/archer/SphereEditFrame.tcl, + src/tclscripts/archer/SuperellEditFrame.tcl, + src/tclscripts/archer/TgcEditFrame.tcl, + src/tclscripts/archer/TorusEditFrame.tcl, + src/tclscripts/archer/Utility.tcl, + src/tclscripts/archer/Wizard.tcl, + src/tclscripts/archer/bgerror.tcl, + src/tclscripts/archer/tabwindow.itk, + src/tclscripts/cad_dialog.tcl, src/tclscripts/chkexterns.tcl, + src/tclscripts/fs_dialog.tk, + src/tclscripts/geometree/GeometryBrowser.tcl, + src/tclscripts/geometree/geometree.tcl, + src/tclscripts/helpcomm.tcl, src/tclscripts/helplib.tcl, + src/tclscripts/hoc.tcl, src/tclscripts/igraph/GraphEditor.tcl, + src/tclscripts/igraph/igraph.tcl, + src/tclscripts/lib/Accordian.tcl, + src/tclscripts/lib/CellPlot.tcl, + src/tclscripts/lib/ColorEntry.tcl, + src/tclscripts/lib/ComboBox.tcl, src/tclscripts/lib/Command.tcl, + src/tclscripts/lib/Database.tcl, src/tclscripts/lib/Db.tcl, + src/tclscripts/lib/Display.tcl, src/tclscripts/lib/Dm.tcl, + src/tclscripts/lib/Drawable.tcl, src/tclscripts/lib/Ged.tcl, + src/tclscripts/lib/Help.tcl, src/tclscripts/lib/Legend.tcl, + src/tclscripts/lib/Mged.tcl, + src/tclscripts/lib/ModelAxesControl.tcl, + src/tclscripts/lib/QuadDisplay.tcl, + src/tclscripts/lib/RtControl.tcl, src/tclscripts/lib/RtImage.tcl, + src/tclscripts/lib/Splash.tcl, src/tclscripts/lib/Table.tcl, + src/tclscripts/lib/TableView.tcl, src/tclscripts/lib/TkTable.tcl, + src/tclscripts/lib/View.tcl, + src/tclscripts/lib/ViewAxesControl.tcl, + src/tclscripts/lib/cursor.tcl, src/tclscripts/libdm.tcl, + src/tclscripts/man_browser.tcl, src/tclscripts/menu_override.tcl, + src/tclscripts/mged/accel.tcl, src/tclscripts/mged/adc.tcl, + src/tclscripts/mged/anim.tcl, src/tclscripts/mged/apply.tcl, + src/tclscripts/mged/apply_mat.tcl, src/tclscripts/mged/asc2g.tcl, + src/tclscripts/mged/attr_edit.tcl, + src/tclscripts/mged/bindings.tcl, + src/tclscripts/mged/bot_face_select.tcl, + src/tclscripts/mged/bot_vertex_fuse_all.tcl, + src/tclscripts/mged/bots.tcl, + src/tclscripts/mged/build_region.tcl, + src/tclscripts/mged/calipers.tcl, + src/tclscripts/mged/callbacks.tcl, src/tclscripts/mged/clear.tcl, + src/tclscripts/mged/collaborate.tcl, + src/tclscripts/mged/color.tcl, + src/tclscripts/mged/color_scheme.tcl, + src/tclscripts/mged/comb.tcl, src/tclscripts/mged/combmenu.tcl, + src/tclscripts/mged/cycle.tcl, + src/tclscripts/mged/dbfindtree.tcl, + src/tclscripts/mged/dbupgrade.tcl, + src/tclscripts/mged/dmtype.tcl, src/tclscripts/mged/e_id.tcl, + src/tclscripts/mged/edit_menu.tcl, + src/tclscripts/mged/edit_solid.tcl, + src/tclscripts/mged/edit_solid_int.tcl, + src/tclscripts/mged/editmenu.tcl, + src/tclscripts/mged/editobj.tcl, + src/tclscripts/mged/eobjmenu.tcl, + src/tclscripts/mged/expand_comb.tcl, + src/tclscripts/mged/extract.tcl, + src/tclscripts/mged/facetize_all_regions.tcl, + src/tclscripts/mged/font.tcl, src/tclscripts/mged/g2asc.tcl, + src/tclscripts/mged/garbage_collect.tcl, + src/tclscripts/mged/get_regions.tcl, + src/tclscripts/mged/grid.tcl, src/tclscripts/mged/grouper.tcl, + src/tclscripts/mged/help.tcl, src/tclscripts/mged/helpdevel.tcl, + src/tclscripts/mged/icreate.tcl, src/tclscripts/mged/illum.tcl, + src/tclscripts/mged/lc.tcl, src/tclscripts/mged/lgt_mat.tcl, + src/tclscripts/mged/list.tcl, src/tclscripts/mged/make_solid.tcl, + src/tclscripts/mged/man.tcl, src/tclscripts/mged/menu.tcl, + src/tclscripts/mged/mged.tcl, src/tclscripts/mged/mgedrc.tcl, + src/tclscripts/mged/mike.tcl, src/tclscripts/mged/mouse.tcl, + src/tclscripts/mged/muves.tcl, src/tclscripts/mged/mview.tcl, + src/tclscripts/mged/openw.tcl, src/tclscripts/mged/overlap.tcl, + src/tclscripts/mged/pattern.tcl, + src/tclscripts/mged/pattern_gui.tcl, + src/tclscripts/mged/plot.tcl, src/tclscripts/mged/points.tcl, + src/tclscripts/mged/prj_add.tcl, src/tclscripts/mged/ps.tcl, + src/tclscripts/mged/qray.tcl, src/tclscripts/mged/ray.tcl, + src/tclscripts/mged/raypick.tcl, src/tclscripts/mged/reid.tcl, + src/tclscripts/mged/relos.tcl, + src/tclscripts/mged/remap_mater.tcl, + src/tclscripts/mged/remat.tcl, src/tclscripts/mged/rrmb.tcl, + src/tclscripts/mged/rt.tcl, src/tclscripts/mged/rt_script.tcl, + src/tclscripts/mged/sample.tcl, src/tclscripts/mged/shaders.tcl, + src/tclscripts/mged/skt_ed.tcl, src/tclscripts/mged/solclick.tcl, + src/tclscripts/mged/solcreate.tcl, src/tclscripts/mged/solid.tcl, + src/tclscripts/mged/text.tcl, src/tclscripts/mged/titles.tcl, + src/tclscripts/mged/tree.tcl, src/tclscripts/mged/xclone.tcl, + src/tclscripts/mouse.tcl, src/tclscripts/pl-dm/bindings.tcl, + src/tclscripts/pl-dm/help.tcl, src/tclscripts/pl-dm/menu.tcl, + src/tclscripts/rtwizard/RaytraceWizard.tcl, + src/tclscripts/rtwizard/lib/DbPage.itk, + src/tclscripts/rtwizard/lib/ExamplePage.itk, + src/tclscripts/rtwizard/lib/FbPage.itk, + src/tclscripts/rtwizard/lib/FeedbackDialog.itk, + src/tclscripts/rtwizard/lib/FrameBufferDialog.itk, + src/tclscripts/rtwizard/lib/FullColorPage.itk, + src/tclscripts/rtwizard/lib/GhostPage.itk, + src/tclscripts/rtwizard/lib/HelpPage.itk, + src/tclscripts/rtwizard/lib/HighlightedPage.itk, + src/tclscripts/rtwizard/lib/IntroPage.itk, + src/tclscripts/rtwizard/lib/LinePage.itk, + src/tclscripts/rtwizard/lib/MGEDpage.itk, + src/tclscripts/rtwizard/lib/PictureTypeA.itcl, + src/tclscripts/rtwizard/lib/PictureTypeB.itcl, + src/tclscripts/rtwizard/lib/PictureTypeBase.itcl, + src/tclscripts/rtwizard/lib/PictureTypeC.itcl, + src/tclscripts/rtwizard/lib/PictureTypeD.itcl, + src/tclscripts/rtwizard/lib/PictureTypeE.itcl, + src/tclscripts/rtwizard/lib/PictureTypeF.itcl, + src/tclscripts/rtwizard/lib/Wizard.itk, + src/tclscripts/rtwizard/rtwizard.bat, + src/tclscripts/rtwizard/rtwizard.tcl, + src/tclscripts/sdialogs/scripts/entrydialog.itk, + src/tclscripts/sdialogs/scripts/listdialog.itk, + src/tclscripts/sdialogs/scripts/stddlgs.tcl, + src/tclscripts/sdialogs/sdialogs.tcl, + src/tclscripts/swidgets/scripts/selectlists.itk, + src/tclscripts/swidgets/scripts/tkgetdir.itk, + src/tclscripts/swidgets/scripts/togglearrow.itk, + src/tclscripts/swidgets/scripts/tooltip.itk, + src/tclscripts/swidgets/scripts/tree.itk, + src/tclscripts/swidgets/swidgets.tcl, + src/tclscripts/util/expand_int_ranges.tcl, + src/tclscripts/util/getopt.tcl, src/tclscripts/util/luniq.tcl, + src/tclscripts/vmath.tcl, src/util/alias-pix.c, + src/util/ap-pix.c, src/util/asc-pl.c, src/util/azel.c, + src/util/bary.c, src/util/bombardier.c, src/util/bombardier.h, + src/util/buffer.c, src/util/bw-a.c, src/util/bw-imp.c, + src/util/bw-pix.c, src/util/bw-png.c, src/util/bw-ps.c, + src/util/bw-rle.c, src/util/bw3-pix.c, src/util/bwcrop.c, + src/util/bwdiff.c, src/util/bwfilter.c, src/util/bwhist.c, + src/util/bwhisteq.c, src/util/bwmod.c, src/util/bwrect.c, + src/util/bwrot.c, src/util/bwscale.c, src/util/bwshrink.c, + src/util/bwstat.c, src/util/bwthresh.c, src/util/cv.c, + src/util/dbcp.c, src/util/decimate.c, src/util/double-asc.c, + src/util/dpix-pix.c, src/util/dsp_add.c, src/util/dunncolor.c, + src/util/dunncomm.c, src/util/dunnsnap.c, + src/util/fix_polysolids.c, src/util/gencolor.c, src/util/hex.c, + src/util/imgdims.c, src/util/loop.c, src/util/lowp.c, + src/util/mac-pix.c, src/util/morphedit.tcl, src/util/orle-pix.c, + src/util/pc_test.c, src/util/pix-alias.c, src/util/pix-bw.c, + src/util/pix-bw3.c, src/util/pix-orle.c, src/util/pix-png.c, + src/util/pix-ppm.c, src/util/pix-ps.c, src/util/pix-rle.c, + src/util/pix-spm.c, src/util/pix-sun.c, src/util/pix-yuv.c, + src/util/pix3filter.c, src/util/pixbackgnd.c, + src/util/pixbgstrip.c, src/util/pixblend.c, src/util/pixborder.c, + src/util/pixbustup.c, src/util/pixclump.c, src/util/pixcolors.c, + src/util/pixcount.c, src/util/pixcut.c, src/util/pixdiff.c, + src/util/pixdsplit.c, src/util/pixelswap.c, src/util/pixembed.c, + src/util/pixfade.c, src/util/pixfields.c, src/util/pixfieldsep.c, + src/util/pixfilter.c, src/util/pixhalve.c, src/util/pixhist.c, + src/util/pixhist3d-pl.c, src/util/pixhist3d.c, + src/util/pixinterp2x.c, src/util/pixmatte.c, src/util/pixmerge.c, + src/util/pixmorph.c, src/util/pixpaste.c, src/util/pixrect.c, + src/util/pixrot.c, src/util/pixsaturate.c, src/util/pixscale.c, + src/util/pixshrink.c, src/util/pixstat.c, src/util/pixsubst.c, + src/util/pixtile.c, src/util/pixuntile.c, src/util/pl-X.c, + src/util/pl-asc.c, src/util/pl-dm.c, src/util/pl-hpgl.c, + src/util/pl-pl.c, src/util/pl-ps.c, src/util/pl-tek.c, + src/util/plcolor.c, src/util/pldebug.c, src/util/plgetframe.c, + src/util/plline2.c, src/util/plrot.c, src/util/plstat.c, + src/util/png-bw.c, src/util/png-pix.c, src/util/png_info.c, + src/util/random.c, src/util/rle-pix.c, src/util/rle_args.c, + src/util/rle_args.h, src/util/roots_example.c, + src/util/sun-pix.c, src/util/terrain.c, src/util/texturescale.c, + src/util/ttcp.c, src/util/wavelet.c, src/util/xyz-pl.c, + src/util/yuv-pix.c, src/vfont/getfont.c, src/vfont/vfont.h: + update copyright for 2013 welcoming our files to the year of + slithering slathering serpent subjects + +2013-01-29 06:28 brlcad + + * [r54216] sh/copyright.sh: + ignore cmake build directories and svn dirs. + +2013-01-29 06:26 brlcad + + * [r54215] src/libsysv/tcl.c: + add missing header, remove per-file authorship per dev guide + +2013-01-29 06:23 brlcad + + * [r54214] src/tclscripts/archer/itk_redefines.tcl: + missing header/footer added + +2013-01-29 06:19 brlcad + + * [r54213] src/tclscripts/boteditor/botEditor.tcl, + src/tclscripts/boteditor/botPropertyBox.tcl, + src/tclscripts/boteditor/botTools.tcl: + add missing headers and footers + +2013-01-29 06:14 brlcad + + * [r54212] sh/template.sh: + if /bin/sh isn't a bash shell, footer.sh will fail (due to the + array usages). make sure we're using bash. clean up backup + recovery outputs too. + +2013-01-29 06:12 brlcad + + * [r54211] src/tclscripts/mged/botedit.tcl: + add missing header and footer + +2013-01-29 05:43 brlcad + + * [r54210] src/conv/step/DerivedUnitElement.cpp, + src/conv/step/DerivedUnitElement.h, + src/conv/step/DimensionalExponents.cpp, + src/conv/step/DimensionalExponents.h: + fixed bad header. looks like 'United' regex gone mad. + +2013-01-28 23:08 carlmoore + + * [r54209] src/shapes/coil.c: + simplify computation, in float mode + +2013-01-28 16:41 carlmoore + + * [r54208] src/tclscripts/mged/lc.tcl: + remove trailing blanks + +2013-01-25 22:08 r_weiss + + * [r54207] src/tclscripts/mged/lc.tcl: + Fixed a bug and added features to the mged "lc" (list codes) + command. Fix a bug which caused some duplicates to not be + reported. Added an option to not list duplicates which all have + the same parent and material_id. Also added region parent to the + list. + +2013-01-25 21:08 n_reed + + * [r54206] src/libged/draw.c: + Have to count the vlists' commands before appending them, or else + s_vlen is always 0. Interestingly, this doesn't change any + behavior because none of our code seems to read s_vlen. + +2013-01-25 20:37 r_weiss + + * [r54205] src/other/openNURBS/Makefile.am: + Update to "Makefile.am" for openNURBS version 2012-10-24. + +2013-01-25 20:31 n_reed + + * [r54204] src/libged/draw.c: + first item won't always exist, don't assume it does + +2013-01-25 19:34 r_weiss + + * [r54203] src/other/openNURBS.dist, + src/other/openNURBS/opennurbs.sln, + src/other/openNURBS/opennurbs.vcproj, + src/other/openNURBS/opennurbs_brep_changesrf.cpp, + src/other/openNURBS/opennurbs_brep_kinky.cpp, + src/other/openNURBS/opennurbs_crashtest.h, + src/other/openNURBS/opennurbs_memory_new.cpp, + src/other/openNURBS/opennurbs_staticlib.vcproj: + Updated openNURBS file "openNURBS.dist" and removed files + "opennurbs_brep_changesrf.cpp", "opennurbs_brep_kinky.cpp", + "opennurbs_crashtest.h", "opennurbs_memory_new.cpp", + "opennurbs.sln", "opennurbs.vcproj" and + "opennurbs_staticlib.vcproj". These changes remove files not used + by BRL-CAD and are not part of the 2012-10-24 version of + openNURBS. In addition this corrects an error "Files listed in + subversion but not accounted for in build logic", related to + openNURBS, when running "make distcheck-full". + +2013-01-25 14:05 bob1961 + + * [r54202] src/libged/draw.c: + Fixed a bug in _ged_drawtrees that was causing vlists for + previously drawn objects to be created each time anything was + drawn, causing the vlists to grow larger for the redrawn objects + (i.e. the created vlists were added to the previously created + vlists for the redrawn objects). + +2013-01-24 21:40 carlmoore + + * [r54201] src/libfft/fftest.c: + simplify 2 expressions by carrying out division of constants + +2013-01-24 21:16 carlmoore + + * [r54200] src/proc-db/clutter.c, src/proc-db/pyramid.c, + src/proc-db/room.c: + simplify the expression for sine of 60 degrees; would pyramid.g + be able to spot M_PI ? + +2013-01-24 13:53 bob1961 + + * [r54199] src/tclscripts/archer/Arb4EditFrame.tcl, + src/tclscripts/archer/Arb5EditFrame.tcl, + src/tclscripts/archer/Arb6EditFrame.tcl, + src/tclscripts/archer/Arb7EditFrame.tcl, + src/tclscripts/archer/Arb8EditFrame.tcl, + src/tclscripts/archer/Archer.tcl, src/tclscripts/lib/Ged.tcl: + Enhanced Archer's move-arb-face editing ability by allowing the + face being edited to be changed via the mouse while in translate + mode. This makes it simpler and faster to move arb faces by + reducing the user's interaction with the GUI. + +2013-01-23 22:31 brlcad + + * [r54198] src/util/bombardier.c: + clean up the wording a little bit + +2013-01-22 20:45 r_weiss + + * [r54197] src/librt/search.c: + Fixed a bug in librt file "search.c". Corrected the sort order of + the "options" array. This corrects a problem on Windows when + using the "-break" option within the mged "search" command. The + error was "-below: unknown option passed to find_create". + +2013-01-19 14:20 tbrowder2 + + * [r54196] TODO: + clarify intent of using different image sizing markup for html + and pdf output when appropriate + +2013-01-18 20:12 carlmoore + + * [r54195] src/fb/fbzoom.c: + fix spelling in a comment + +2013-01-18 19:06 bob1961 + + * [r54194] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl: + Added the ability to fire rays to get nirt-like results by using + the mouse to pick shot locations while in "Measuring Tool" mode. + For speed, the raytracer is prepped only if the display items + change. Also added preferences for setting colors for the ray + partitions. + +2013-01-18 18:58 bob1961 + + * [r54193] src/tclscripts/lib/Ged.tcl: + Updates for cadwidgets::Ged. Added the following options: + -drawRayOdd, -drawRayEven and -drawRayVoid. Also added draw_ray, + erase_ray and color_to_tk. + +2013-01-18 18:22 carlmoore + + * [r54192] doc/docbook/system/mann/en/handle.xml: + fix 2 consecutive words 'for the' + +2013-01-18 18:10 carlmoore + + * [r54191] TODO: + change 'and fo' to 'for' (assuming that is the intended meaning) + +2013-01-17 22:42 carlmoore + + * [r54190] src/util/bw-a.c: + fix 2 words in a comment + +2013-01-17 22:24 carlmoore + + * [r54189] src/util/bw-a.c: + fix some obvious mistakes in bw-a.c program, including inserting + a missing hyphen.?\127 + +2013-01-17 20:57 r_weiss + + * [r54188] src/other/openNURBS/opennurbs_zlib.cpp: + Update to file "opennurbs_zlib.cpp" to allow a 32-bit build with + Visual Studio 2010. + +2013-01-17 16:40 carlmoore + + * [r54187] TODO: + add missing parenthesis + +2013-01-16 18:57 r_weiss + + * [r54186] src/libbu/getopt.c: + Fixed a bug in function "bu_getopt" in file "getopt.c". The + function would confuse a negative number with an number option + (i.e. -0 -1 ... -9). + +2013-01-16 18:06 bob1961 + + * [r54185] src/tclscripts/archer/SketchEditFrame.tcl: + Minor tweaks to the hints label used by Archer's sketch editor. + +2013-01-16 17:47 bob1961 + + * [r54184] src/tclscripts/archer/SketchEditFrame.tcl: + More tweaks to Archer's sketch editor. Added more bindings for + the creation modes. Added hints for using key and button presses + to change the mode or the sketch canvas view. + +2013-01-16 15:48 carlmoore + + * [r54183] src/librt/test_botpatches.cpp: + remove trailing blanks + +2013-01-16 00:12 n_reed + + * [r54182] src/librt/primitives/sketch/sketch_tess.cpp: + fix usage of 3D point macros on 2D points + +2013-01-15 22:04 carlmoore + + * [r54181] src/tclscripts/archer/SketchEditFrame.tcl: + remove trailing blank + +2013-01-15 22:03 carlmoore + + * [r54180] src/proc-db/brickwall.c: + add 'horizontal'; change vert_bricks computation; remove blank + line (need only 1 blank line at start of mged input) + +2013-01-15 18:15 bob1961 + + * [r54179] src/tclscripts/archer/ArcherCore.tcl: + Fixed a few issues related to primitive labels not being drawn. + +2013-01-15 17:47 starseeker + + * [r54178] src/librt/test_botpatches.cpp: + Try to push the surface edges away from the trimming curves, to + avoid uv pullback failures. + +2013-01-15 17:28 brlcad + + * [r54177] TODO: + add option to have rtedge also show interior/back-facing edges + +2013-01-15 17:28 bob1961 + + * [r54176] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl: + Minor tweak to restore the graphical display after deleting the + currently selected sketch. + +2013-01-15 14:45 bob1961 + + * [r54175] src/tclscripts/archer/SketchEditFrame.tcl: + More tweaks for Archer's sketch editor. Update the + handle_configure method to redraw the grid after receiving a + window configure event. Whether we're in detail mode or not, the + segments need to be created in the canvas. + +2013-01-14 23:49 starseeker + + * [r54174] src/librt/test_botpatches.cpp: + Add a function for testing whether a bot patch is planar + +2013-01-14 22:44 brlcad + + * [r54173] src/fb/fb-png.c: + zero is also not valid, so go ahead and check if gama chunk is + positive. + +2013-01-14 22:43 brlcad + + * [r54172] src/util/pix-png.c: + don't set the gAMA chunk if gamma is negative/unset, quells + warnings on default use + +2013-01-14 20:35 bob1961 + + * [r54171] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/SketchEditFrame.tcl: + The following tweaks are for Archer's sketch editor. Update the + sketch panel when the units are changed. Use bboxVerts to get the + bounding box instead of calling the canvas' bbox method. This + results in a better initial scale factor for the sketch view. + Hook the edit panel entries to non-array variables. Other minor + tweaks. + +2013-01-14 20:21 bob1961 + + * [r54170] src/tclscripts/archer/GeometryEditFrame.tcl: + Stub in a configbody for units and valueUnits + +2013-01-14 17:10 carlmoore + + * [r54169] src/tclscripts/archer/SketchEditFrame.tcl: + remove trailing blanks/tabs + +2013-01-12 18:25 caen23 + + * [r54168] src/other/xmltools/libxml/CMakeLists.txt: + In some cases (e.g. OS X), CMAKE_THREAD_LIBS_INIT is set to "" + when threads are available, causing IF(CMAKE_THREAD_LIBS_INIT) to + fail even if threads are available. This, in turn, causes + compilation of libxml/src/threads.c to fail. We now check if + Threads_FOUND is true, which should be more portable + +2013-01-11 20:42 bob1961 + + * [r54167] src/tclscripts/archer/SketchEditFrame.tcl: + Fixed an issue related to the units being something other than + mm. There are a couple more that still need fixing. + +2013-01-11 20:40 starseeker + + * [r54166] src/librt/CMakeLists.txt: + whoops - don't uncomment yet. + +2013-01-11 20:38 starseeker + + * [r54165] src/librt/CMakeLists.txt, src/librt/test_botpatches.cpp: + interpolation of points to create a 3d curve doesn't work so well + when there are only two of them. + +2013-01-11 19:59 brlcad + + * [r54164] src/libfb/tcl.c: + deconditionalize the function declarations and validate all + parameters. avoids undocumented need for checking if w or h are + less than zero, which is unclear what that would even mean + anyways. + +2013-01-11 19:37 carlmoore + + * [r54163] src/proc-db/brickwall.c: + oops, remove some debugging stuff which was not to be committed + +2013-01-11 19:25 brlcad + + * [r54162] HACKING: + mention our implicit guidelines around line length. consistency + is king, but we're not yet pedants on line length. + +2013-01-11 18:39 brlcad + + * [r54161] src/libbn/tests/bn_list.c: + quellage. check fread() return value. + +2013-01-11 18:07 bob1961 + + * [r54160] src/tclscripts/archer/SketchEditFrame.tcl: + Tweak the ruler placement a bit. + +2013-01-11 17:22 bob1961 + + * [r54159] src/tclscripts/archer/SketchEditFrame.tcl: + Added a ruler to Archer's sketcher. + +2013-01-11 17:10 caen23 + + * [r54158] src/other/xmltools/CMakeLists.txt: + Add /usr/local/include to xmltools/CMakeLists.txt as well + +2013-01-11 16:40 caen23 + + * [r54157] src/other/xmltools/libexslt/CMakeLists.txt: + Fix include path error on FreeBSD + +2013-01-11 15:47 carlmoore + + * [r54156] src/librt/primitives/brep/brep_debug.cpp, + src/librt/test_botpatches.cpp, src/proc-db/brickwall.c: + remove trailing blanks/tabs, detected by the overnight job I ran + +2013-01-11 12:33 bob1961 + + * [r54155] src/tclscripts/archer/SketchEditFrame.tcl: + Added a snap-to-grid capability to Archer's sketcher. + +2013-01-11 03:55 starseeker + + * [r54154] src/librt/primitives/brep/brep.cpp, + src/librt/primitives/brep/brep_debug.cpp: + Need to be able to run brep on invalid geometry, for debugging - + don't bail if it isn't valid, just print the message. + +2013-01-11 03:27 starseeker + + * [r54153] src/librt/test_botpatches.cpp: + Rework trimming loop assembly to make sure loops are closed - + somewhat better results, but that clearly wasn't the only issue. + +2013-01-10 04:26 starseeker + + * [r54152] misc/CMake/BRLCAD_Summary.cmake: + Die typo die\! + +2013-01-09 22:32 carlmoore + + * [r54151] src/proc-db/brickwall.c: + remove reference to help (would be replaced by a man page), and + add an 'if' construct to avoid division by 0 + +2013-01-09 05:22 brlcad + + * [r54150] AUTHORS: + daBeast is Amit Saxena + +2013-01-08 21:31 carlmoore + + * [r54149] src/proc-db/brickwall.c: + clarify defaults regarding units + +2013-01-08 20:09 brlcad + + * [r54148] src/librt/primitives/rhc/rhc.c: + remove a level of indentation, return if null + +2013-01-08 20:06 brlcad + + * [r54147] src/librt/primitives/rhc/rhc.c: + ws cleanup + +2013-01-08 20:05 carlmoore + + * [r54146] src/proc-db/brickwall.c: + add \n in 2 places + +2013-01-08 19:47 brlcad + + * [r54145] src/librt/primitives/rhc/rhc.c, + src/librt/primitives/table.c: + apply another patch from aaron keesing + (http://www.google-melange.com/gci/task/view/google/gci2012/7982218) + that implements a surface area function for rhc + +2013-01-08 18:48 brlcad + + * [r54144] AUTHORS: + credit amit.daBeast with special thanks for his gci spelling fix + contribution + +2013-01-08 18:47 brlcad + + * [r54143] misc/nsis/brlcad.nsi, src/burst/grid.c, + src/conv/g-egg.c, src/conv/g-shell-rect.c, src/conv/g-var.c, + src/conv/g-vrml.c, src/conv/g-x3d.c, src/conv/g-xxx.c, + src/conv/g-xxx_facets.c, src/conv/walk_example.c, + src/libged/joint.c, src/librt/bundle.c: + apply patch from amit.daBeast + (http://www.google-melange.com/gci/task/view/google/gci2012/8103205) + fixing some spelling mistakes + +2013-01-08 03:49 caen23 + + * [r54142] include/rtgeom.h, src/libbu/bitv.c, + src/librt/primitives/eto/eto.c: + Convert floor_ilog2 and count_ones32 to macros and revert eto_V + to point + +2013-01-07 19:06 tbrowder2 + + * [r54141] doc/docbook/resources/brlcad/images/logo-vm-gears.png, + doc/docbook/resources/brlcad/images/logo-vm.svg: + unlock gears + +2013-01-06 12:58 starseeker + + * [r54140] CMakeLists.txt: + No longer need crypt library, without enigma + +2013-01-06 06:54 popescuandrei + + * [r54139] include/pkg.h, src/gtools/g_transfer.c: + removed globals from gtools/g_transfer + +2013-01-05 22:00 caen23 + + * [r54138] include/rtgeom.h, src/librt/primitives/eto/eto.c: + Make eto_V a vect_t + +2013-01-05 05:28 n_reed + + * [r54137] include/nurbs.h, src/conv/g-nff.c, src/conv/proe-g.c, + src/external/Cubit/g-sat.cpp, src/libged/bb.c, src/libged/bigE.c, + src/libged/get_obj_bounds.c, src/libged/sphgroup.c, + src/libged/wdb_bigE.c, src/libnurbs/opennurbs_ext.cpp, src/librt/primitives/arb8/arb8.c, - src/librt/primitives/arb8/arb8_brep.cpp, - src/librt/primitives/arb8/arb8_mirror.c, - src/librt/primitives/arbn/arbn.c, - src/librt/primitives/arbn/arbn_brep.cpp, - src/librt/primitives/arbn/arbn_mirror.c, - src/librt/primitives/ars/ars.c, - src/librt/primitives/ars/ars_mirror.c, + src/librt/primitives/arbn/arbn.c, src/librt/primitives/ars/ars.c, src/librt/primitives/bot/bot.c, - src/librt/primitives/bot/bot_brep.cpp, - src/librt/primitives/bot/bot_mirror.c, - src/librt/primitives/bot/btg.c, src/librt/primitives/bot/btg.h, - src/librt/primitives/bot/btgf.c, - src/librt/primitives/bot/g_bot_include.c, - src/librt/primitives/bot/tie.c, - src/librt/primitives/bot/tie_kdtree.c, - src/librt/primitives/bot/tieprivate.h, - src/librt/primitives/brep/brep.cpp, - src/librt/primitives/brep/brep_debug.cpp, - src/librt/primitives/brep/brep_debug.h, src/librt/primitives/bspline/bspline.cpp, - src/librt/primitives/bspline/bspline_mirror.c, - src/librt/primitives/bspline/nurb_basis.c, - src/librt/primitives/bspline/nurb_bezier.c, src/librt/primitives/bspline/nurb_bound.c, - src/librt/primitives/bspline/nurb_brep.cpp, - src/librt/primitives/bspline/nurb_c2.c, - src/librt/primitives/bspline/nurb_copy.c, - src/librt/primitives/bspline/nurb_diff.c, - src/librt/primitives/bspline/nurb_eval.c, - src/librt/primitives/bspline/nurb_flat.c, - src/librt/primitives/bspline/nurb_interp.c, - src/librt/primitives/bspline/nurb_knot.c, - src/librt/primitives/bspline/nurb_norm.c, - src/librt/primitives/bspline/nurb_plot.c, - src/librt/primitives/bspline/nurb_poly.c, - src/librt/primitives/bspline/nurb_ray.c, - src/librt/primitives/bspline/nurb_refine.c, - src/librt/primitives/bspline/nurb_reverse.c, - src/librt/primitives/bspline/nurb_solve.c, - src/librt/primitives/bspline/nurb_split.c, - src/librt/primitives/bspline/nurb_tess.c, - src/librt/primitives/bspline/nurb_trim.c, - src/librt/primitives/bspline/nurb_trim_util.c, - src/librt/primitives/bspline/nurb_util.c, - src/librt/primitives/bspline/nurb_xsplit.c, src/librt/primitives/cline/cline.c, - src/librt/primitives/dsp/dsp.c, src/librt/primitives/dsp/dsp.h, - src/librt/primitives/dsp/dsp_brep.cpp, - src/librt/primitives/dsp/dsp_mirror.c, - src/librt/primitives/ebm/ebm.c, - src/librt/primitives/ebm/ebm_brep.cpp, - src/librt/primitives/ebm/ebm_mirror.c, - src/librt/primitives/ehy/ehy.c, - src/librt/primitives/ehy/ehy_brep.cpp, - src/librt/primitives/ell/ell.c, - src/librt/primitives/ell/ell_brep.cpp, - src/librt/primitives/ell/ell_mirror.c, - src/librt/primitives/epa/epa.c, - src/librt/primitives/epa/epa_brep.cpp, - src/librt/primitives/epa/epa_mirror.c, - src/librt/primitives/eto/eto.c, - src/librt/primitives/eto/eto_brep.cpp, - src/librt/primitives/eto/eto_mirror.c, - src/librt/primitives/extrude/extrude.c, - src/librt/primitives/extrude/extrude_brep.cpp, - src/librt/primitives/fixpt.h, src/librt/primitives/generic.c, - src/librt/primitives/grip/grip.c, - src/librt/primitives/grip/grip_mirror.c, - src/librt/primitives/half/half.c, - src/librt/primitives/half/half_mirror.c, - src/librt/primitives/hf/hf.c, src/librt/primitives/hyp/hyp.c, - src/librt/primitives/hyp/hyp_brep.cpp, - src/librt/primitives/hyp/hyp_mirror.c, - src/librt/primitives/metaball/metaball.c, - src/librt/primitives/metaball/metaball.h, + src/librt/primitives/dsp/dsp.c, src/librt/primitives/ehy/ehy.c, + src/librt/primitives/epa/epa.c, + src/librt/primitives/extrude/extrude.c, + src/librt/primitives/hyp/hyp.c, + src/librt/primitives/nmg/nmg_tri.c, + src/librt/primitives/pipe/pipe.c, + src/librt/primitives/pnts/pnts.c, + src/librt/primitives/poly/poly.c, src/librt/primitives/rhc/rhc.c, + src/librt/primitives/rpc/rpc.c, src/librt/primitives/tgc/tgc.c, + src/librtserver/rtserver.c: + Fix several instances of VMINMAX being used without first + initializing its min/max arguments. Also, consistently use + INFINITY/-INFINITY rather than MAX_FASTF/-MAX_FASTF when + initializing. That way if INFINITY/-INFINITY appears in any of + the tested points it ends up in min/max rather than being + replaced by MAX_FASTF/-MAX_FASTF. That faithful propagation could + encourage bug discovery since INFINITY/-INFINITY are likely the + result of an unintended divide by 0 or overflow condition. + +2013-01-04 19:46 caen23 + + * [r54136] src/libbu/bitv.c, src/libged/scale.c: + Small changes to enable compilation with LLVM 3.2 + +2013-01-04 17:44 carlmoore + + * [r54135] src/tclscripts/archer/SketchEditFrame.tcl: + remove trailing blanks/tabs + +2013-01-04 13:18 bob1961 + + * [r54134] src/tclscripts/archer/SketchEditFrame.tcl: + Added the ability to scale and translate the view in Archer's + sketcher. + +2013-01-04 10:19 caen23 + + * [r54133] include/rtgeom.h, misc/CMake/CompilerFlags.cmake, + src/conv/g-vrml.c, src/conv/g-x3d.c, + src/libmultispectral/sh_temp.c, src/liboptical/sh_camo.c, + src/liboptical/sh_fbm.c, src/liboptical/sh_fire.c, + src/liboptical/sh_grass.c, src/liboptical/sh_light.c, + src/liboptical/sh_noise.c, src/liboptical/sh_points.c, + src/liboptical/sh_prj.c, src/liboptical/sh_scloud.c, + src/liboptical/sh_spm.c, src/liboptical/sh_stxt.c, + src/liboptical/sh_text.c, src/liboptical/sh_toyota.c, + src/liboptical/sh_wood.c, src/liboptical/sh_xxx.c, + src/librt/primitives/arb8/arb8.c, src/librt/primitives/dsp/dsp.c, + src/librt/primitives/ebm/ebm.c, src/librt/primitives/ehy/ehy.c, + src/librt/primitives/ell/ell.c, src/librt/primitives/epa/epa.c, + src/librt/primitives/eto/eto.c, src/librt/primitives/grip/grip.c, + src/librt/primitives/half/half.c, src/librt/primitives/hf/hf.c, + src/librt/primitives/hyp/hyp.c, src/librt/primitives/part/part.c, + src/librt/primitives/revolve/revolve.h, + src/librt/primitives/rhc/rhc.c, src/librt/primitives/rpc/rpc.c, + src/librt/primitives/superell/superell.c, + src/librt/primitives/tgc/tgc.c, src/librt/primitives/tor/tor.c, + src/librt/primitives/vol/vol.c, src/mged/axes.c, + src/mged/color_scheme.c, src/mged/grid.c, src/mged/polyif.c, + src/mged/rect.c, src/mged/set.c, src/rt/reshoot.c: + Fix extended offsetof errors when compiling with llvm + +2013-01-04 10:15 caen23 + + * [r54132] include/bu.h, include/pkg.h, src/gtools/g_transfer.c, + src/libbu/htonf.c, src/libbu/tests/CMakeLists.txt, + src/libbu/vlb.c: + Revert to r54130, some files were wrongly committed + +2013-01-04 08:33 popescuandrei + + * [r54131] include/bu.h, include/pkg.h, src/gtools/g_transfer.c, + src/libbu/htonf.c, src/libbu/tests/CMakeLists.txt, + src/libbu/vlb.c: + added Arjun Govindjee's bu_vlb unit test + +2013-01-03 22:15 starseeker + + * [r54130] CMakeLists.txt: + Windows uses neither X11 nor Aqua, but still needs OpenGL and + enables Tk. + +2013-01-03 21:41 starseeker + + * [r54129] src/librt/test_botpatches.cpp, + src/librt/test_subdivision.cpp: + Fix compilation with newer opennurbs + +2013-01-03 17:35 carlmoore + + * [r54128] src/librt/primitives/brep/brep.cpp: + remove trailing blanks/tabs + +2013-01-02 21:52 r_weiss + + * [r54127] src/librt/primitives/brep/brep.cpp: + Update to file "brep.cpp" to prevent a name conflict with the + Windows macros "max" and "min". + +2013-01-02 21:49 r_weiss + + * [r54126] src/other/tnt/jama_lu.h: + Update to file "jama_lu.h" to allow the tnt library to compile + with Visual Studio 2010. + +2013-01-02 20:02 carlmoore + + * [r54125] doc/docbook/system/man1/en/asc2g.xml, + doc/docbook/system/man1/en/g2asc.xml: + remove trailing blanks/tabs & fix spelling + +2012-12-29 00:10 caen23 + + * [r54124] src/other/togl/src/CMakeLists.txt: + Avoid duplication + +2012-12-28 20:47 caen23 + + * [r54123] include/bu.h, misc/CMake/CompilerFlags.cmake: + Remove #pragma directive and add a warning suppression flag when + compiling with Clang. #pragma caused GCC to fail + +2012-12-28 18:41 caen23 + + * [r54121] include/bu.h: + Suppress Clang warnings regarding offsetof + +2012-12-27 18:46 caen23 + + * [r54119] include/bu.h, misc/CMake/CompilerFlags.cmake, + src/liboptical/sh_light.c: + Enable compilation with LLVM 3.1/Clang 4.1 + +2012-12-26 19:17 caen23 + + * [r54118] src/libbn/anim.c, src/libbn/plane.c, src/libbn/poly.c, + src/libbn/tcl.c, src/libbn/tri_tri.c, src/libbu/color.c, + src/libbu/fnmatch.c, src/libbu/hash.c, src/libbu/mappedfile.c, + src/util/asc-pl.c, src/util/bary.c, src/util/bwmod.c, + src/util/bwscale.c, src/util/bwshrink.c, src/util/imgdims.c, + src/util/pix-alias.c, src/util/pix-orle.c, src/util/pixbackgnd.c, + src/util/pixclump.c, src/util/pixcount.c, src/util/pixcut.c, + src/util/pixdsplit.c, src/util/pixfields.c, + src/util/pixinterp2x.c, src/util/pixmorph.c, src/util/pixscale.c, + src/util/pixshrink.c, src/util/pixtile.c, src/util/plrot.c, + src/util/sun-pix.c, src/util/ttcp.c: + Fix Clang static analysis defects (GCI: + http://www.google-melange.com/gci/task/view/google/gci2012/7987232) + +2012-12-26 17:07 erikgreenwald + + * [r54117] src/libbu/progname.c: + Test if program name is empty as well as null. *BSD systems + return an empty string if there is no valid program name. (fixes + 'make test' failure on fbsd and macosX) + +2012-12-26 12:56 erikgreenwald + + * [r54116] src/other/openNURBS/opennurbs_system.h: + malloc.h has been replaced by stdlib.h + +2012-12-24 13:39 starseeker + + * [r54115] doc/docbook/system/man1/en/asc2g.xml, + doc/docbook/system/man1/en/g2asc.xml: + Fix asc2g and g2asc for xml strict validation. + +2012-12-22 14:12 erikgreenwald + + * [r54114] doc/docbook/system/man1/en/CMakeLists.txt, + doc/docbook/system/man1/en/asc2g.xml, + doc/docbook/system/man1/en/g2asc.xml: + Apply patch by Yatharth Agarwal from + http://www.google-melange.com/gci/task/view/google/gci2012/8126204. + Modified AUTHORS clause to reflect original program developers. + +2012-12-22 07:51 jordisayol + + * [r54113] misc/debian/archer.desktop, misc/debian/mged.desktop, + misc/debian/rtwizard.desktop: + Add mimetypes on Linux ".desktop" files + +2012-12-21 22:06 carlmoore + + * [r54112] src/conv/dxf/bot-bldxf.c: + remove h option, and combine Usage statements + +2012-12-21 21:24 r_weiss + + * [r54111] src/other/openNURBS/CMakeLists.txt: + Bug fix in "CMakeLists.txt" for the update to openNURBS 20121024. + Changed setting to not build "opennurbs_precompiledheader.cpp". + This should fix/improve building on Windows. + +2012-12-21 20:56 r_weiss + + * [r54110] src/other/openNURBS/opennurbs_system.h: + Bug fix in file "opennurbs_system.h" for the update to openNURBS + 20121024. There was a problem when the update patch was applied. + This should fix/improve building on Windows. + +2012-12-21 18:55 bob1961 + + * [r54109] src/tclscripts/archer/SketchEditFrame.tcl: + Added the ability to toggle between detailed sketch edit mode and + general sketch edit mode (Archer). + +2012-12-21 13:22 bob1961 + + * [r54108] src/tclscripts/archer/SketchEditFrame.tcl: + Move the cursor configure commands from + SketchEditFrame::initEditState to their respective mode setting + methods. + +2012-12-21 13:07 bob1961 + + * [r54107] src/tclscripts/archer/SketchEditFrame.tcl: + Collapsed the "Move Arbitrary", "Move Selected", "Select Points" + and "Select Segments" modes into a single "Move" mode. + +2012-12-21 11:50 caen23 + + * [r54106] src/fb/CMakeLists.txt, src/fb/fbthreadtest.c, + src/fb/tests, src/fb/tests/CMakeLists.txt, + src/fb/tests/fbthreadtest.c: + Enable fbthreadtest for compilation (GCI: + http://www.google-melange.com/gci/task/view/google/gci2012/7994227) + +2012-12-20 23:02 r_weiss + + * [r54105] src/other/openNURBS.dist, + src/other/openNURBS/CMakeLists.txt, + src/other/openNURBS/examples_linking_pragmas.h, + src/other/openNURBS/faq.txt, src/other/openNURBS/license.txt, + src/other/openNURBS/opennurbs.h, + src/other/openNURBS/opennurbs.rc, + src/other/openNURBS/opennurbs_3dm.h, + src/other/openNURBS/opennurbs_3dm_attributes.cpp, + src/other/openNURBS/opennurbs_3dm_attributes.h, + src/other/openNURBS/opennurbs_3dm_properties.cpp, + src/other/openNURBS/opennurbs_3dm_properties.h, + src/other/openNURBS/opennurbs_3dm_settings.cpp, + src/other/openNURBS/opennurbs_3dm_settings.h, + src/other/openNURBS/opennurbs_annotation.cpp, + src/other/openNURBS/opennurbs_annotation.h, + src/other/openNURBS/opennurbs_annotation2.cpp, + src/other/openNURBS/opennurbs_annotation2.h, + src/other/openNURBS/opennurbs_arc.cpp, + src/other/openNURBS/opennurbs_arc.h, + src/other/openNURBS/opennurbs_arccurve.cpp, + src/other/openNURBS/opennurbs_arccurve.h, + src/other/openNURBS/opennurbs_archive.cpp, + src/other/openNURBS/opennurbs_archive.h, + src/other/openNURBS/opennurbs_array.cpp, + src/other/openNURBS/opennurbs_array.h, + src/other/openNURBS/opennurbs_array_defs.h, + src/other/openNURBS/opennurbs_base32.cpp, + src/other/openNURBS/opennurbs_base32.h, + src/other/openNURBS/opennurbs_base64.cpp, + src/other/openNURBS/opennurbs_base64.h, + src/other/openNURBS/opennurbs_basic.cpp, + src/other/openNURBS/opennurbs_beam.cpp, + src/other/openNURBS/opennurbs_beam.h, + src/other/openNURBS/opennurbs_bezier.cpp, + src/other/openNURBS/opennurbs_bezier.h, + src/other/openNURBS/opennurbs_beziervolume.cpp, + src/other/openNURBS/opennurbs_bitmap.cpp, + src/other/openNURBS/opennurbs_bitmap.h, + src/other/openNURBS/opennurbs_bounding_box.cpp, + src/other/openNURBS/opennurbs_bounding_box.h, + src/other/openNURBS/opennurbs_box.h, + src/other/openNURBS/opennurbs_brep.cpp, + src/other/openNURBS/opennurbs_brep.h, + src/other/openNURBS/opennurbs_brep_extrude.cpp, + src/other/openNURBS/opennurbs_brep_io.cpp, + src/other/openNURBS/opennurbs_brep_isvalid.cpp, + src/other/openNURBS/opennurbs_brep_region.cpp, + src/other/openNURBS/opennurbs_brep_tools.cpp, + src/other/openNURBS/opennurbs_brep_v2valid.cpp, + src/other/openNURBS/opennurbs_circle.cpp, + src/other/openNURBS/opennurbs_circle.h, + src/other/openNURBS/opennurbs_color.cpp, + src/other/openNURBS/opennurbs_color.h, + src/other/openNURBS/opennurbs_compress.cpp, + src/other/openNURBS/opennurbs_compress.h, + src/other/openNURBS/opennurbs_cone.cpp, + src/other/openNURBS/opennurbs_cone.h, + src/other/openNURBS/opennurbs_crc.cpp, + src/other/openNURBS/opennurbs_crc.h, + src/other/openNURBS/opennurbs_curve.cpp, + src/other/openNURBS/opennurbs_curve.h, + src/other/openNURBS/opennurbs_curveonsurface.cpp, + src/other/openNURBS/opennurbs_curveonsurface.h, + src/other/openNURBS/opennurbs_curveproxy.cpp, + src/other/openNURBS/opennurbs_curveproxy.h, + src/other/openNURBS/opennurbs_cylinder.cpp, + src/other/openNURBS/opennurbs_cylinder.h, + src/other/openNURBS/opennurbs_defines.cpp, + src/other/openNURBS/opennurbs_defines.h, + src/other/openNURBS/opennurbs_detail.cpp, + src/other/openNURBS/opennurbs_detail.h, + src/other/openNURBS/opennurbs_dimstyle.cpp, + src/other/openNURBS/opennurbs_dimstyle.h, + src/other/openNURBS/opennurbs_dll.cpp, + src/other/openNURBS/opennurbs_ellipse.cpp, + src/other/openNURBS/opennurbs_ellipse.h, + src/other/openNURBS/opennurbs_embedded_file.cpp, + src/other/openNURBS/opennurbs_error.cpp, + src/other/openNURBS/opennurbs_error.h, + src/other/openNURBS/opennurbs_error_message.cpp, + src/other/openNURBS/opennurbs_evaluate_nurbs.cpp, + src/other/openNURBS/opennurbs_evaluate_nurbs.h, + src/other/openNURBS/opennurbs_extensions.cpp, + src/other/openNURBS/opennurbs_extensions.h, + src/other/openNURBS/opennurbs_font.cpp, + src/other/openNURBS/opennurbs_font.h, + src/other/openNURBS/opennurbs_fpoint.h, + src/other/openNURBS/opennurbs_fsp.cpp, + src/other/openNURBS/opennurbs_fsp.h, + src/other/openNURBS/opennurbs_fsp_defs.h, + src/other/openNURBS/opennurbs_geometry.cpp, + src/other/openNURBS/opennurbs_geometry.h, + src/other/openNURBS/opennurbs_gl.cpp, + src/other/openNURBS/opennurbs_gl.h, + src/other/openNURBS/opennurbs_group.cpp, + src/other/openNURBS/opennurbs_group.h, + src/other/openNURBS/opennurbs_hatch.cpp, + src/other/openNURBS/opennurbs_hatch.h, + src/other/openNURBS/opennurbs_hsort_template.h, + src/other/openNURBS/opennurbs_instance.cpp, + src/other/openNURBS/opennurbs_instance.h, + src/other/openNURBS/opennurbs_intersect.cpp, + src/other/openNURBS/opennurbs_intersect.h, + src/other/openNURBS/opennurbs_knot.cpp, + src/other/openNURBS/opennurbs_knot.h, + src/other/openNURBS/opennurbs_layer.cpp, + src/other/openNURBS/opennurbs_layer.h, + src/other/openNURBS/opennurbs_light.cpp, + src/other/openNURBS/opennurbs_light.h, + src/other/openNURBS/opennurbs_line.cpp, + src/other/openNURBS/opennurbs_line.h, + src/other/openNURBS/opennurbs_linecurve.cpp, + src/other/openNURBS/opennurbs_linecurve.h, + src/other/openNURBS/opennurbs_linestyle.h, + src/other/openNURBS/opennurbs_linetype.cpp, + src/other/openNURBS/opennurbs_linetype.h, + src/other/openNURBS/opennurbs_lookup.cpp, + src/other/openNURBS/opennurbs_lookup.h, + src/other/openNURBS/opennurbs_mapchan.h, + src/other/openNURBS/opennurbs_material.cpp, + src/other/openNURBS/opennurbs_material.h, + src/other/openNURBS/opennurbs_math.cpp, + src/other/openNURBS/opennurbs_math.h, + src/other/openNURBS/opennurbs_matrix.cpp, + src/other/openNURBS/opennurbs_matrix.h, + src/other/openNURBS/opennurbs_memory.c, + src/other/openNURBS/opennurbs_memory.h, + src/other/openNURBS/opennurbs_memory_util.c, + src/other/openNURBS/opennurbs_mesh.cpp, + src/other/openNURBS/opennurbs_mesh.h, + src/other/openNURBS/opennurbs_mesh_ngon.cpp, + src/other/openNURBS/opennurbs_mesh_tools.cpp, + src/other/openNURBS/opennurbs_morph.cpp, + src/other/openNURBS/opennurbs_nurbscurve.cpp, + src/other/openNURBS/opennurbs_nurbscurve.h, + src/other/openNURBS/opennurbs_nurbssurface.cpp, + src/other/openNURBS/opennurbs_nurbssurface.h, + src/other/openNURBS/opennurbs_nurbsvolume.cpp, + src/other/openNURBS/opennurbs_object.cpp, + src/other/openNURBS/opennurbs_object.h, + src/other/openNURBS/opennurbs_object_history.cpp, + src/other/openNURBS/opennurbs_object_history.h, + src/other/openNURBS/opennurbs_objref.cpp, + src/other/openNURBS/opennurbs_objref.h, + src/other/openNURBS/opennurbs_offsetsurface.cpp, + src/other/openNURBS/opennurbs_offsetsurface.h, + src/other/openNURBS/opennurbs_optimize.cpp, + src/other/openNURBS/opennurbs_optimize.h, + src/other/openNURBS/opennurbs_plane.cpp, + src/other/openNURBS/opennurbs_plane.h, + src/other/openNURBS/opennurbs_planesurface.cpp, + src/other/openNURBS/opennurbs_planesurface.h, + src/other/openNURBS/opennurbs_pluginlist.cpp, + src/other/openNURBS/opennurbs_pluginlist.h, + src/other/openNURBS/opennurbs_point.cpp, + src/other/openNURBS/opennurbs_point.h, + src/other/openNURBS/opennurbs_pointcloud.cpp, + src/other/openNURBS/opennurbs_pointcloud.h, + src/other/openNURBS/opennurbs_pointgeometry.cpp, + src/other/openNURBS/opennurbs_pointgeometry.h, + src/other/openNURBS/opennurbs_pointgrid.cpp, + src/other/openNURBS/opennurbs_pointgrid.h, + src/other/openNURBS/opennurbs_polycurve.cpp, + src/other/openNURBS/opennurbs_polycurve.h, + src/other/openNURBS/opennurbs_polyedgecurve.cpp, + src/other/openNURBS/opennurbs_polyedgecurve.h, + src/other/openNURBS/opennurbs_polyline.cpp, + src/other/openNURBS/opennurbs_polyline.h, + src/other/openNURBS/opennurbs_polylinecurve.cpp, + src/other/openNURBS/opennurbs_polylinecurve.h, + src/other/openNURBS/opennurbs_precompiledheader.cpp, + src/other/openNURBS/opennurbs_qsort_template.h, + src/other/openNURBS/opennurbs_quaternion.cpp, + src/other/openNURBS/opennurbs_quaternion.h, + src/other/openNURBS/opennurbs_rand.cpp, + src/other/openNURBS/opennurbs_rand.h, + src/other/openNURBS/opennurbs_rendering.h, + src/other/openNURBS/opennurbs_revsurface.cpp, + src/other/openNURBS/opennurbs_revsurface.h, + src/other/openNURBS/opennurbs_rtree.cpp, + src/other/openNURBS/opennurbs_rtree.h, + src/other/openNURBS/opennurbs_sort.cpp, + src/other/openNURBS/opennurbs_sphere.cpp, + src/other/openNURBS/opennurbs_sphere.h, + src/other/openNURBS/opennurbs_staticlib_linking_pragmas.h, + src/other/openNURBS/opennurbs_string.cpp, + src/other/openNURBS/opennurbs_string.h, + src/other/openNURBS/opennurbs_sum.cpp, + src/other/openNURBS/opennurbs_sumsurface.cpp, + src/other/openNURBS/opennurbs_sumsurface.h, + src/other/openNURBS/opennurbs_surface.cpp, + src/other/openNURBS/opennurbs_surface.h, + src/other/openNURBS/opennurbs_surfaceproxy.cpp, + src/other/openNURBS/opennurbs_surfaceproxy.h, + src/other/openNURBS/opennurbs_system.h, + src/other/openNURBS/opennurbs_textlog.cpp, + src/other/openNURBS/opennurbs_textlog.h, + src/other/openNURBS/opennurbs_texture.h, + src/other/openNURBS/opennurbs_texture_mapping.h, + src/other/openNURBS/opennurbs_torus.cpp, + src/other/openNURBS/opennurbs_torus.h, + src/other/openNURBS/opennurbs_unicode.cpp, + src/other/openNURBS/opennurbs_unicode.h, + src/other/openNURBS/opennurbs_userdata.cpp, + src/other/openNURBS/opennurbs_userdata.h, + src/other/openNURBS/opennurbs_uuid.cpp, + src/other/openNURBS/opennurbs_uuid.h, + src/other/openNURBS/opennurbs_version.h, + src/other/openNURBS/opennurbs_viewport.cpp, + src/other/openNURBS/opennurbs_viewport.h, + src/other/openNURBS/opennurbs_workspace.cpp, + src/other/openNURBS/opennurbs_workspace.h, + src/other/openNURBS/opennurbs_wstring.cpp, + src/other/openNURBS/opennurbs_xform.cpp, + src/other/openNURBS/opennurbs_xform.h, + src/other/openNURBS/opennurbs_zlib.cpp, + src/other/openNURBS/opennurbs_zlib.h, + src/other/openNURBS/opennurbs_zlib_memory.cpp, + src/other/openNURBS/readme.txt: + Updated openNURBS to release 20121024. More work needs to be + done. The files "Makefile.am" and "BRL-CAD_changes.txt" need to + be updated and building on Windows needs to be tested. + +2012-12-20 21:24 brlcad + + * [r54104] CHANGES, CMakeLists.txt, HACKING, Makefile.am, NEWS, + TODO, autogen.sh, configure.ac, doc/CMakeLists.txt, + doc/Makefile.am, doc/deprecation.txt: + rename and move doc/deprecation.txt to a new top-level CHANGES + file. that name was selected after reviewing a number of other + projects with similar deprecation announcement requirements and + it seems to be a reasonable evolution. more clearly announcing + changes to developer users is just as important (if not more so) + as the non-developer 'user-visible' NEWS items. It has also been + a repeat topic of discussion, a repeat issue (devs not + remembering it's in doc/), and one of the most frequently + revisited docs. That's compelling support for introducing a new + top-level file. Introducing it into include/ was considered, but + it also covers commands. + +2012-12-20 18:56 caen23 + + * [r54103] src/other/xmltools/libxslt/CMakeLists.txt: + Search /usr/local/include/ for headers + +2012-12-20 18:32 carlmoore + + * [r54102] src/tclscripts/archer/SketchEditFrame.tcl: + remove trailing blank or tab + +2012-12-20 15:15 brlcad + + * [r54101] src/other/xmltools/libxml/CMakeLists.txt: + smells wrong, but we need to search /usr/local/include and our + top-level setting isn't propagating to here + +2012-12-20 14:09 caen23 + + * [r54100] src/other/togl/src/CMakeLists.txt: + Compile GLEW only if X11 is available (GCI: + http://www.google-melange.com/gci/task/view/google/gci2012/7999218) + +2012-12-20 12:41 bob1961 + + * [r54099] src/tclscripts/archer/SketchEditFrame.tcl: + This mod will allow a vertex to be combined with another if + dropped in close proximity. + +2012-12-20 08:22 d_rossberg + + * [r54098] src/mged/set.c: + added the correct const qualifiers (linked with rev. 54093) + +2012-12-20 02:43 caen23 + + * [r54097] include/dvec.h: + Put back float overloadings + +2012-12-20 01:33 caen23 + + * [r54096] src/other/togl/include/GL/glew.h, + src/other/togl/include/GL/glxew.h, + src/other/togl/include/GL/wglew.h, + src/other/togl/src/glew/glew.c: + Update GLEW to 1.9.0, which seems to solve present buildbot + errors + +2012-12-20 00:50 caen23 + + * [r54095] CMakeLists.txt: + Fix previous commit which removed some lines, causing a build + failure with X11 enabled + +2012-12-19 23:47 caen23 + + * [r54094] CMakeLists.txt, src/libfb/tcl.c: + X11 is available if the required files in both include/ and lib/ + can be found (GCI: + http://www.google-melange.com/gci/task/view/google/gci2012/7999218) + +2012-12-19 23:25 brlcad + + * [r54093] include/bu.h, include/raytrace.h: + gcc notices en masse that we assign string literals to non-const + struct elements. fixed by adding const qualifier. undoubtedly + will need to propagate constness elsewhere too. + +2012-12-19 20:36 brlcad + + * [r54092] doc/html/manuals/mged/animmate/anim_orient.html, + doc/html/manuals/mged/animmate/animate.html, + doc/html/manuals/mged/animmate/combine_doc.html, + doc/html/manuals/mged/animmate/tabinterp.html, + doc/html/manuals/mged/animmate/track_tut.html, + doc/html/manuals/mged/animmate/vcurve_doc.html, + misc/NIST_DENSITIES, src/mged/dozoom.c, src/mged/edsol.c: + apply another set of spelling corrections from An Ha, GCI task + http://www.google-melange.com/gci/task/view/google/gci2012/7959223 + +2012-12-19 20:33 brlcad + + * [r54091] AUTHORS: + technically, the spelling corrections from ha and singh are edits + to code, but they're not logic and not exactly documentation, so + move then under special thanks + +2012-12-19 20:29 brlcad + + * [r54090] AUTHORS, ChangeLog, doc/TODO.BREP, + doc/bison_to_lemon.txt, doc/docbook/books/README, + doc/docbook/specifications/en/BRL_CAD_g_format_V5.xml, + doc/docbook/system/man1/en/anim_script.xml, doc/history.txt, + doc/html/ReleaseNotes/Rel5.0/new_cmds.html, + doc/html/manuals/Anim_Tutorial/chapt3.html, src/conv/dbclean.sh, + src/conv/iges/orient_loops.c, src/conv/obj-g.c, + src/external/ProEngineer/proe_brl.res: + fix a slew of spelling mistake corrections from Gauravjeet Singh + (http://www.google-melange.com/gci/task/view/google/gci2012/8033204), + 20+ in 5+ files + +2012-12-19 14:15 brlcad + + * [r54089] TODO: + making push stop at various levels rears its head once again. + +2012-12-19 13:14 bob1961 + + * [r54088] src/tclscripts/archer/GeometryEditFrame.tcl: + Added a class variable to the GeometryEditFrame class (i.e., + mPrevEditMode). + +2012-12-19 13:12 bob1961 + + * [r54087] src/tclscripts/archer/SketchEditFrame.tcl: + Copious mods to streamline the workflow in Archer's sketch + editor. More to follow. + +2012-12-18 21:06 carlmoore + + * [r54086] doc/docbook/lessons/es/mged02_opciones_vistas.xml, + doc/docbook/lessons/es/mged07_prop_materiales_copa.xml, + doc/docbook/lessons/es/mged15_crear_camion_de_juguete.xml, + doc/html/manuals/mged/mged_cmd_index.html, src/conv/g4-g5.c, + src/conv/walk_example.c: + fix spellings (includes English in a Spanish text, Spanish, and, + at the end of a LONG line, 'database') + +2012-12-18 16:47 carlmoore + + * [r54085] src/librt/primitives/dsp/dsp.c: + revision to avoid hardwiring of separator '/' + +2012-12-18 15:15 carlmoore + + * [r54084] src/librt/primitives/dsp/dsp.c: + improve the error message -- it now shows the directory & file + name attempted + +2012-12-18 04:00 jordisayol + + * [r54083] misc/debian/rules: + Don't generate "shlibs" file for Linux deb packages + +2012-12-17 20:39 brlcad + + * [r54082] src/proc-db/CMakeLists.txt, src/proc-db/pdb-g.c: + apply a work-in-progress patch submitted by brendon jackson via + e-mail, part of an independent study to create molecular + geometry. this stubs main. + +2012-12-17 20:20 caen23 + + * [r54081] src/libanalyze/tests/density.c: + Main returns 0 + +2012-12-17 20:20 caen23 + + * [r54080] include/dvec.h, include/vector_x86.h: + Overloading functions to accept float arguments is no longer + necessary + +2012-12-17 20:07 caen23 + + * [r54079] src/libanalyze/CMakeLists.txt: + Remove reference to old test_denisty.c, now tests/denisty.c + +2012-12-17 19:41 brlcad + + * [r54078] doc/docbook/system/man1/en/CMakeLists.txt: + enable pictx.xml for compilation and sort the list for + readability + +2012-12-17 19:39 brlcad + + * [r54077] configure.ac, doc/docbook/system/man1/en/CMakeLists.txt, + doc/docbook/system/man1/en/enigma.xml, misc/CMakeLists.txt, + misc/Makefile.am, misc/enigma: + eliminate enigma from our distribution. *sniff* it's a + maintenance cost that recently reared its head once again, which + isn't acceptable for an interface we're not using. it's even more + obsoleted as time goes by as a public domain replacement for + 'crypt' considering some desktop systems can bruteforce crack + them in mere seconds. if we need to encrypt something, we can + look to modern methods. doesn't go through our deprecation + process because it's back-end infrastructure, not a tool we've + provided (hence why it's always been in misc) + +2012-12-17 18:57 caen23 + + * [r54076] src/libanalyze/CMakeLists.txt, + src/libanalyze/test_density.c, src/libanalyze/tests, + src/libanalyze/tests/CMakeLists.txt, + src/libanalyze/tests/density.c: + Move test_density.c into a tests/ directory (GCI: + http://www.google-melange.com/gci/task/view/google/gci2012/7986225) + +2012-12-17 18:46 brlcad + + * [r54075] include/bu.h: + reapply the comment change that was intended in r54067. fclose() + after bu_temp_file() shouldn't be optional. + +2012-12-17 18:44 brlcad + + * [r54074] include/bu.h: + revert the fastf_t change to float introduced after r54057, that + was not intentional with the comment change on fclose(). + +2012-12-17 17:18 bob1961 + + * [r54073] src/tclscripts/archer/SketchEditFrame.tcl: + Updated SketchEditFrame::pick_vertex to take an optional tag + argument that gets passed to the canvas' "find" command. Changed + the units for mPickTol to pixels. Also changed the line creation + mode to assume connected line segments until the user press + Escape. This gets rid of the modifier. + +2012-12-16 23:03 jordisayol + + * [r54072] misc/debian/brlcad.postrm, sh/make_rpm.sh: + update Linux deb/rpm remove scrips + +2012-12-16 21:35 caen23 + + * [r54071] include/vector_x86.h: + _mm_store_pd stores 2 doubles, while _mm_store_ps stores 4 + floats, so update code accordingly + +2012-12-16 21:26 caen23 + + * [r54070] include/vector_x86.h: + Overload a_store() to work with float* arguments, too. This + enables compilation on the Mac + +2012-12-16 21:01 caen23 + + * [r54069] include/dvec.h: + Remove buggy cast from float* to double* + +2012-12-16 15:58 caen23 + + * [r54068] include/dvec.h: + Explicitly casting the arguments passed to a_store() to (double + *) solves compilation errors on x86_64 + +2012-12-14 19:30 brlcad + + * [r54067] include/bu.h: + the fclose() isn't particularly optional on windows as the + program will still have a file handle open + +2012-12-14 18:59 carlmoore + + * [r54066] src/librt/primitives/hyp/hyp.c: + remove trailing blanks/tabs + +2012-12-14 18:18 carlmoore + + * [r54065] src/librt/primitives/dsp/dsp.c: + add an 's' + +2012-12-14 17:28 brlcad + + * [r54064] NEWS: + credit the gci contribution from aaron keesing that implements + support for centroids and volumes for the hyp primitive, exposed + via mged's analyze command + +2012-12-14 17:23 brlcad + + * [r54063] AUTHORS: + thanks to aaron keesing for his gci enhancements to the HYP + primitive, implementing centroid and volume support, and hooking + into the analyze command. + +2012-12-14 14:08 d_rossberg + + * [r54062] src/libged/analyze.c, src/librt/primitives/hyp/hyp.c, + src/librt/primitives/table.c: + applied changes according to Google Code-in tasks + - IMPLEMENT A PRIMITIVE CENTROID FUNCTION ... FOR HYPERBOLOIDS OF + ONE SHEET (HYP) + (http://google-melange.appspot.com/gci/task/view/google/gci2012/8030210) + - IMPLEMENT A PRIMITIVE VOLUME FUNCTION ... FOR HYPERBOLOIDS OF + ONE SHEET (HYP) + (http://google-melange.appspot.com/gci/task/view/google/gci2012/7987216) + performed by Aaron Keesing. Added rt_hyp_surf_area() stub to + enable analyze in mged. The new functions (HYP centroid and + volume) may now be tested via mged. + +2012-12-13 23:38 bob1961 + + * [r54061] src/tclscripts/archer/SketchEditFrame.tcl: + Updated SketchEditFrame::end_bezier to write back to the + database. + +2012-12-13 23:09 bob1961 + + * [r54060] src/tclscripts/archer/SketchEditFrame.tcl: + Added the functionality to create bezier curves. + +2012-12-13 22:24 caen23 + + * [r54059] src/conv/CMakeLists.txt: + Enable walk_example for compilation (GCI: + http://www.google-melange.com/gci/task/view/google/gci2012/7966233) + +2012-12-13 20:20 bob1961 + + * [r54058] src/tclscripts/archer/SketchEditFrame.tcl: + Added the functionality to create arcs. + +2012-12-13 19:20 caen23 + + * [r54057] include/bu.h, src/libbu/CMakeLists.txt, + src/libbu/gethostname.c, src/libbu/tests/CMakeLists.txt, + src/libbu/tests/bu_gethostname.c: + Implement portable bu_gethostname() function (GCI: + http://www.google-melange.com/gci/task/view/google/gci2012/7992229) + +2012-12-13 14:46 bob1961 + + * [r54056] src/tclscripts/archer/SketchEditFrame.tcl: + Updated SketchEditFrame::continue_circle_pick to handle the case + where index1 and index2 are the same after successfully picking a + vertex. + +2012-12-13 13:54 bob1961 + + * [r54055] src/tclscripts/archer/SketchEditFrame.tcl: + Fixed a problem where instances of SketchLine were not getting + deleted in SketchEditFrame::continue_circle. + +2012-12-13 13:45 bob1961 + + * [r54054] src/tclscripts/archer/SketchEditFrame.tcl: + Minor cleanup. + +2012-12-13 13:38 bob1961 + + * [r54053] src/tclscripts/archer/SketchEditFrame.tcl: + Added the functionality to create circles. + +2012-12-12 21:52 n_reed + + * [r54052] src/libged/draw.c: + Fix draw color selection. r53495 inadvertently changed behavior + by failing to set solid region id before attempting material + color lookup. + +2012-12-12 21:06 carlmoore + + * [r54051] src/conv/stl/stl-g.c: + fix spelling of routine name in 'bu_' comments + +2012-12-12 20:03 carlmoore + + * [r54050] src/librt/test_subdivision.cpp: + remove trailing blanks + +2012-12-12 19:56 starseeker + + * [r54049] src/librt/test_subdivision.cpp: + checkpoint + +2012-12-11 23:04 brlcad + + * [r54048] NEWS, src/libbn/randmt.c: + ran into an rt crash when I enabled randmt on a highly-parallel + system. the global_state static was uninitialized leading to the + conclusion that we either have a memory corruption issue or, more + likely, a problem with initialization order. c++ guarantees the + order will be in the order declared, but I can't find any + reference of that guarantee for C. Still, the intermediate + variable seems unnecessary since we can just get rid of the + pointer. + +2012-12-11 22:33 starseeker + + * [r54047] src/librt/CMakeLists.txt, src/librt/subd_test_bot.asc, + src/librt/test_subdivision.cpp: + Add a relatively simple test bot for subdivision - will use later + for regression testing. + +2012-12-11 21:26 starseeker + + * [r54046] src/librt/test_subdivision.cpp: + checkpoint + +2012-12-11 21:23 starseeker + + * [r54045] db/pinewood.asc: + Pure black is a poor color for visibility - bump it up a bit. + +2012-12-11 20:47 brlcad + + * [r54044] src/libdm/dm-ogl.c: + one line too many, put the curlie back + +2012-12-11 19:06 brlcad + + * [r54043] TODO: + note the graphics window crash as a release-stopper + +2012-12-11 19:05 brlcad + + * [r54042] src/libbn/randmt.c: + bn_rand_mt_state_set_global() isn't used and has an inconsistent + name, so bye bye it goes. + +2012-12-11 17:51 bob1961 + + * [r54041] src/tclscripts/archer/SketchEditFrame.tcl: + Clean up the canvas bindings a bit in Archer's sketch editor. + +2012-12-11 17:04 bob1961 + + * [r54040] src/tclscripts/archer/SketchEditFrame.tcl: + This allows the multi-line segment creation mode to use existing + points. Stub in a few methods for creating arcs, circles and + bezier curves. + +2012-12-11 16:03 brlcad + + * [r54039] src/libdm/dm-ogl.c: + remove debug code + +2012-12-11 15:38 brlcad + + * [r54038] src/mged/dm-ogl.c: + don't try to make a glx context current for non-expose events. + the context might not even exist (like when the graphics window + is closed). + +2012-12-11 14:31 brlcad + + * [r54037] src/libbn/tests/bn_list.c: + strnlen() is a gnu extension, so not okay to use. fortunately, + not needed. + +2012-12-11 02:20 starseeker + + * [r54036] src/librt/test_subdivision.cpp: + Something not quite right - probably need to revisit bookkeeping + scheme - but take a step towards boundary handling. + +2012-12-10 21:50 bob1961 + + * [r54035] src/tclscripts/archer/SketchEditFrame.tcl: + More updates for Archer's sketch editor. This adds functionality + to delete points and segments. + +2012-12-10 17:53 carlmoore + + * [r54034] misc/CMake/CompilerFlags.cmake: + remove trailing blanks/tabs + +2012-12-10 13:12 bob1961 + + * [r54033] src/tclscripts/archer/SketchEditFrame.tcl: + Added code to save things back to the database. Added line + creation to Archer's sketch editor. More mods to come. + +2012-12-09 20:56 brlcad + + * [r54032] CMakeLists.txt: + x11 is available on windows, so don't make it impossible to use + it. we can just let the checks fall through after looking for it + and testing whether aqua is enabled. this allows a slew of + simlifications eliminating several of the win32 and apple + platform checks, which are bad smells anyways. + +2012-12-09 20:50 caen23 + + * [r54031] src/tclscripts/mged/openw.tcl: + The command window can now be reopened. MGED no longer closes + after closing the graphics window. On OpenGL, trying to reopen + the graphics window crashes the app. On X11, everything works + fine. + +2012-12-09 20:48 caen23 + + * [r54030] src/irprep/CMakeLists.txt, src/irprep/pictx.c: + Enable pictx for compilation (GCI: + http://www.google-melange.com/gci/task/view/google/gci2012/7958220) + +2012-12-07 22:58 starseeker + + * [r54029] misc/CMake/BRLCAD_CompilerFlags.cmake, + misc/CMake/CompilerFlags.cmake: + Needs more testing, but use CMakeParseArguments macro to simplify + the CompilerFlags logic. Consolidate the C and CXX macros into a + single macro. + +2012-12-07 20:08 carlmoore + + * [r54028] include/bn.h, src/libbn/vectfont.c: + Henrikson spelling + +2012-12-07 20:02 carlmoore + + * [r54027] src/libpc/Makefile.am: + fix spelling (that is LTLIBRARIES, right?) + +2012-12-07 19:45 carlmoore + + * [r54026] doc/html/manuals/cadwidgets/Command.html: + fix spelling + +2012-12-07 19:34 carlmoore + + * [r54025] misc/CMake/DocBook.cmake: + remove trailing blank/tab, and fix spelling + +2012-12-07 18:30 carlmoore + + * [r54024] + doc/docbook/lessons/es/mged09_esfera_en_caja_exhibidora.xml, + include/raytrace.h, src/conv/iges/getcurve.c, + src/libged/simulate/simrt.h, src/tclscripts/lib/Ged.tcl: + fix spellings, including one in Spanish + +2012-12-07 16:33 starseeker + + * [r54023] CMakeLists.txt: + Move FindX11 up in the logic, don't enable by default if it isn't + found. + +2012-12-07 15:58 starseeker + + * [r54022] CMakeLists.txt, misc/CMake/DocBook.cmake, + misc/CMake/msv.cmake.in, misc/CMake/rnv.cmake.in, + misc/CMake/xmllint.cmake.in: + Try a non-build-target based approach to the XML validation. + +2012-12-07 05:51 brlcad + + * [r54021] AUTHORS, src/libbu/parallel.c: + accept gci task + http://www.google-melange.com/gci/task/view/google/gci2012/8030203 + from Adrián Arroyo Calle that reportedly (untested) implements + for creating threads on windows. this is the first of two + critical pieces that get us closer to SMP on windows. + +2012-12-07 03:18 jordisayol + + * [r54020] misc/debian/control: + Add "xterm" dependency on Debian packages. + +2012-12-07 03:17 jordisayol + + * [r54019] misc/debian/brlcad.postinst, misc/debian/brlcad.postrm: + Use "mimeapps.list" instead "defaults.list" on Debian install and + remove scripts + +2012-12-07 03:14 jordisayol + + * [r54018] misc/debian/archer.desktop, + misc/debian/brlcad-db.desktop, + misc/debian/brlcad-doc-animation.desktop, + misc/debian/brlcad-doc-mged.desktop, + misc/debian/brlcad-doc.desktop, misc/debian/mged.desktop, + misc/debian/rtwizard.desktop: + simplify Linux "desktop" files + +2012-12-07 03:12 jordisayol + + * [r54017] sh/make_rpm.sh: + Improve rpm install and remove scripts + +2012-12-07 03:08 brlcad + + * [r54016] AUTHORS: + confirmed after a bit of research that NRTC was indeed the + northrOp research and technology center of the northrop + corportation, prior to being merged into northrop grumman (1994), + not northrup. tracing back through ancient usenet and arpanet + postings also confirms that Willson (two ell's) is indeed correct + too. + +2012-12-06 22:40 carlmoore + + * [r54015] src/adrt/master/master.c, src/adrt/slave/slave.c, + src/conv/dxf/bot-bldxf.c, src/irprep/firpass.c, + src/irprep/secpass.c, src/irprep/shapefact.c, + src/irprep/showtherm.c, src/libged/human.c, src/util/ap-pix.c: + use capital U in 'Usage:' + +2012-12-06 22:28 starseeker + + * [r54014] misc/CMakeLists.txt: + Old ignore of man page left from early CMake work. + +2012-12-06 22:24 starseeker + + * [r54013] bench/CMakeLists.txt, bench/Makefile.am, + bench/benchmark.1, bench/pixcmp.1, doc/CMakeLists.txt, + doc/Makefile.am, doc/bw.5, doc/cmap.5, doc/pix.5, doc/plot3.5, + misc/CMakeLists.txt, misc/Makefile.am, misc/brlcad-config.1, + misc/enigma/CMakeLists.txt, misc/enigma/Makefile.am, + misc/enigma/enigma.1: + Remove old man pages. + +2012-12-06 22:17 carlmoore + + * [r54012] doc/docbook/resources/brlcad/center-table-print.xsl: + fix spelling in a reference title + +2012-12-06 22:08 carlmoore + + * [r54011] doc/docbook/lessons/es/mged05_expresiones_booleanas.xml, + doc/docbook/lessons/es/mged06_crear_una_copa.xml: + fix spelling of (Spanish) Booleanas + +2012-12-06 20:29 starseeker + + * [r54010] doc/docbook/system/man1/en/sqlite3.xml: + Whoops - sqlite3 man page was one of the src/other pages. + +2012-12-06 14:04 d_rossberg + + * [r54009] src/librt/primitives/rhc/rhc.c, + src/librt/primitives/rpc/rpc.c: + quell variable set but not used warnings (i.e. errors) + +2012-12-06 00:10 n_reed + + * [r54008] src/librt/primitives/rpc/rpc.c: + space connecting lines evenly + +2012-12-05 23:40 n_reed + + * [r54007] src/librt/primitives/rhc/rhc.c: + space connecting lines evenly + +2012-12-05 22:45 carlmoore + + * [r54006] doc/docbook/articles/it/about_it.xml: + fix a spelling in Italian + +2012-12-05 22:31 brlcad + + * [r54005] AUTHORS: + full name is 'an tuan ha', thanks + +2012-12-05 17:22 carlmoore + + * [r54004] src/libbu/sscanf.c: + fix spelling and remove trailing blanks/tabs + +2012-12-05 17:03 carlmoore + + * [r54003] + doc/docbook/lessons/es/mged09_esfera_en_caja_exhibidora.xml, + include/bn.h, src/conv/iges/trimsurf.c, + src/libbn/tests/bn_list.c, src/libgcv/test_bottess.c, + src/libged/dg_obj.c, src/libged/get_autoview.c, src/libged/gqa.c, + src/libged/importFg4Section.c, src/libged/wdb_importFg4Section.c, + src/proc-db/surfaceintersect.cpp, src/remrt/remrt.c, + src/tclscripts/hv3/hv3.tcl, src/tclscripts/mged/cycle.tcl, + src/tclscripts/mged/garbage_collect.tcl, src/util/pl-dm.c: + fix spellings (including Sproull and personalizados [latter in + Spanish]) + +2012-12-05 16:03 caen23 + + * [r54002] doc/docbook/system/man1/en/anim_script.xml, + doc/docbook/system/man1/en/anim_sort.xml, + doc/docbook/system/man1/en/anim_time.xml, + doc/docbook/system/man1/en/anim_track.xml, + doc/docbook/system/man1/en/anim_turn.xml, + doc/docbook/system/man1/en/ap-pix.xml, + doc/docbook/system/man1/en/asc-nmg.xml, + doc/docbook/system/man1/en/asc-pl.xml, + doc/docbook/system/man1/en/asc2dsp.xml, + doc/docbook/system/man1/en/azel.xml, + doc/docbook/system/man1/en/bary.xml, + doc/docbook/system/man1/en/benchmark.xml, + doc/docbook/system/man1/en/bot_dump.xml, + doc/docbook/system/man1/en/bot_shell-vtk.xml, + doc/docbook/system/man1/en/brlcad-config.xml, + doc/docbook/system/man1/en/brlcad.xml, + doc/docbook/system/man1/en/buffer.xml, + doc/docbook/system/man1/en/bw-fb.xml, + doc/docbook/system/man1/en/bw-imp.xml, + doc/docbook/system/man1/en/bw-pix.xml, + doc/docbook/system/man1/en/bw-png.xml, + doc/docbook/system/man1/en/bw-ps.xml, + doc/docbook/system/man1/en/bw-rle.xml, + doc/docbook/system/man1/en/bw3-pix.xml, + doc/docbook/system/man1/en/bwcrop.xml, + doc/docbook/system/man1/en/bwdiff.xml, + doc/docbook/system/man1/en/bwfilter.xml, + doc/docbook/system/man1/en/bwhist.xml, + doc/docbook/system/man1/en/bwhisteq.xml, + doc/docbook/system/man1/en/bwmod.xml, + doc/docbook/system/man1/en/bwrect.xml, + doc/docbook/system/man1/en/bwrot.xml, + doc/docbook/system/man1/en/bwscale.xml, + doc/docbook/system/man1/en/bwshrink.xml, + doc/docbook/system/man1/en/bwstat.xml, + doc/docbook/system/man1/en/bwthresh.xml, + doc/docbook/system/man1/en/cad_boundp.xml, + doc/docbook/system/man1/en/cad_parea.xml, + doc/docbook/system/man1/en/canonize.xml, + doc/docbook/system/man1/en/cell-fb.xml, + doc/docbook/system/man1/en/chan_mult.xml, + doc/docbook/system/man1/en/chan_permute.xml, + doc/docbook/system/man1/en/cmap-fb.xml, + doc/docbook/system/man1/en/coil.xml, + doc/docbook/system/man1/en/comgeom-g.xml, + doc/docbook/system/man1/en/conv-vg2g.xml, + doc/docbook/system/man1/en/cv.xml, + doc/docbook/system/man1/en/cy-g.xml, + doc/docbook/system/man1/en/db.xml, + doc/docbook/system/man1/en/dbclean.xml, + doc/docbook/system/man1/en/dbcp.xml, + doc/docbook/system/man1/en/dbupgrade.xml, + doc/docbook/system/man1/en/decimate.xml, + doc/docbook/system/man1/en/dpix-pix.xml, + doc/docbook/system/man1/en/dunncolor.xml, + doc/docbook/system/man1/en/dunnsnap.xml, + doc/docbook/system/man1/en/dxf-g.xml, + doc/docbook/system/man1/en/enf-g.xml, + doc/docbook/system/man1/en/enigma.xml, + doc/docbook/system/man1/en/euclid-g.xml, + doc/docbook/system/man1/en/fast4-g.xml, + doc/docbook/system/man1/en/fb-bw.xml, + doc/docbook/system/man1/en/fb-cmap.xml, + doc/docbook/system/man1/en/fb-fb.xml, + doc/docbook/system/man1/en/fb-orle.xml, + doc/docbook/system/man1/en/fb-pix.xml, + doc/docbook/system/man1/en/fb-png.xml, + doc/docbook/system/man1/en/fb-rle.xml, + doc/docbook/system/man1/en/fbanim.xml, + doc/docbook/system/man1/en/fbcbars.xml, + doc/docbook/system/man1/en/fbclear.xml, + doc/docbook/system/man1/en/fbcmap.xml, + doc/docbook/system/man1/en/fbcmrot.xml, + doc/docbook/system/man1/en/fbcolor.xml, + doc/docbook/system/man1/en/fbed.xml, + doc/docbook/system/man1/en/fbfade.xml, + doc/docbook/system/man1/en/fbframe.xml, + doc/docbook/system/man1/en/fbfree.xml, + doc/docbook/system/man1/en/fbgamma.xml, + doc/docbook/system/man1/en/fbgrid.xml, + doc/docbook/system/man1/en/fbhelp.xml, + doc/docbook/system/man1/en/fblabel.xml, + doc/docbook/system/man1/en/fbline.xml, + doc/docbook/system/man1/en/fbpoint.xml, + doc/docbook/system/man1/en/fbscanplot.xml, + doc/docbook/system/man1/en/fbserv.xml, + doc/docbook/system/man1/en/fbstretch.xml, + doc/docbook/system/man1/en/fbzoom.xml, + doc/docbook/system/man1/en/firpass.xml, + doc/docbook/system/man1/en/g-acad.xml, + doc/docbook/system/man1/en/g-dxf.xml, + doc/docbook/system/man1/en/g-egg.xml, + doc/docbook/system/man1/en/g-euclid.xml, + doc/docbook/system/man1/en/g-iges.xml, + doc/docbook/system/man1/en/g-nff.xml, + doc/docbook/system/man1/en/g-nmg.xml, + doc/docbook/system/man1/en/g-obj.xml, + doc/docbook/system/man1/en/g-shell-rect.xml, + doc/docbook/system/man1/en/g-stl.xml, + doc/docbook/system/man1/en/g-tankill.xml, + doc/docbook/system/man1/en/g-var.xml, + doc/docbook/system/man1/en/g-vrml.xml, + doc/docbook/system/man1/en/g-x3d.xml, + doc/docbook/system/man1/en/g2asc.xml, + doc/docbook/system/man1/en/g_diff.xml, + doc/docbook/system/man1/en/g_lint.xml, + doc/docbook/system/man1/en/gencolor.xml, + doc/docbook/system/man1/en/gif-fb.xml, + doc/docbook/system/man1/en/gif2fb.xml, + doc/docbook/system/man1/en/gqa.xml, + doc/docbook/system/man1/en/halftone.xml, + doc/docbook/system/man1/en/hex.xml, + doc/docbook/system/man1/en/iges-g.xml, + doc/docbook/system/man1/en/imgdims.xml, + doc/docbook/system/man1/en/ir-X.xml, + doc/docbook/system/man1/en/irdisp.xml, + doc/docbook/system/man1/en/lgt.xml, + doc/docbook/system/man1/en/loop.xml, + doc/docbook/system/man1/en/mac-pix.xml, + doc/docbook/system/man1/en/mged.xml, + doc/docbook/system/man1/en/morphedit.xml, + doc/docbook/system/man1/en/nastran-g.xml, + doc/docbook/system/man1/en/nirt.xml, + doc/docbook/system/man1/en/nmg-bot.xml, + doc/docbook/system/man1/en/nmg-rib.xml, + doc/docbook/system/man1/en/obj-g.xml, + doc/docbook/system/man1/en/orle-fb.xml, + doc/docbook/system/man1/en/orle-pix.xml, + doc/docbook/system/man1/en/patch-g.xml, + doc/docbook/system/man1/en/pictx.xml, + doc/docbook/system/man1/en/pix-alias.xml, + doc/docbook/system/man1/en/pix-bw.xml, + doc/docbook/system/man1/en/pix-bw3.xml, + doc/docbook/system/man1/en/pix-fb.xml, + doc/docbook/system/man1/en/pix-orle.xml, + doc/docbook/system/man1/en/pix-png.xml, + doc/docbook/system/man1/en/pix-ppm.xml, + doc/docbook/system/man1/en/pix-ps.xml, + doc/docbook/system/man1/en/pix-rle.xml, + doc/docbook/system/man1/en/pix-sun.xml, + doc/docbook/system/man1/en/pix2asc.xml, + doc/docbook/system/man1/en/pixautosize.xml, + doc/docbook/system/man1/en/pixbackgnd.xml, + doc/docbook/system/man1/en/pixbgstrip.xml, + doc/docbook/system/man1/en/pixblend.xml, + doc/docbook/system/man1/en/pixborder.xml, + doc/docbook/system/man1/en/pixbustup.xml, + doc/docbook/system/man1/en/pixclump.xml, + doc/docbook/system/man1/en/pixcmp.xml, + doc/docbook/system/man1/en/pixcolors.xml, + doc/docbook/system/man1/en/pixcut.xml, + doc/docbook/system/man1/en/pixdiff.xml, + doc/docbook/system/man1/en/pixdsplit.xml, + doc/docbook/system/man1/en/pixfade.xml, + doc/docbook/system/man1/en/pixfilter.xml, + doc/docbook/system/man1/en/pixhalve.xml, + doc/docbook/system/man1/en/pixhist.xml, + doc/docbook/system/man1/en/pixhist3d-pl.xml, + doc/docbook/system/man1/en/pixhist3d.xml, + doc/docbook/system/man1/en/pixinterp2x.xml, + doc/docbook/system/man1/en/pixmatte.xml, + doc/docbook/system/man1/en/pixmerge.xml, + doc/docbook/system/man1/en/pixmorph.xml, + doc/docbook/system/man1/en/pixrect.xml, + doc/docbook/system/man1/en/pixrot.xml, + doc/docbook/system/man1/en/pixsaturate.xml, + doc/docbook/system/man1/en/pixscale.xml, + doc/docbook/system/man1/en/pixshrink.xml, + doc/docbook/system/man1/en/pixstat.xml, + doc/docbook/system/man1/en/pixsubst.xml, + doc/docbook/system/man1/en/pixtile.xml, + doc/docbook/system/man1/en/pixuntile.xml, + doc/docbook/system/man1/en/pl-X.xml, + doc/docbook/system/man1/en/pl-asc.xml, + doc/docbook/system/man1/en/pl-fb.xml, + doc/docbook/system/man1/en/pl-hpgl.xml, + doc/docbook/system/man1/en/pl-pl.xml, + doc/docbook/system/man1/en/pl-ps.xml, + doc/docbook/system/man1/en/pl-tek.xml, + doc/docbook/system/man1/en/plcolor.xml, + doc/docbook/system/man1/en/pldebug.xml, + doc/docbook/system/man1/en/plgetframe.xml, + doc/docbook/system/man1/en/plline2.xml, + doc/docbook/system/man1/en/plrot.xml, + doc/docbook/system/man1/en/ply-g.xml, + doc/docbook/system/man1/en/png-bw.xml, + doc/docbook/system/man1/en/png-fb.xml, + doc/docbook/system/man1/en/png-pix.xml, + doc/docbook/system/man1/en/png_info.xml, + doc/docbook/system/man1/en/polar-fb.xml, + doc/docbook/system/man1/en/poly-bot.xml, + doc/docbook/system/man1/en/pp-fb.xml, + doc/docbook/system/man1/en/proe-g.xml, + doc/docbook/system/man1/en/random.xml, + doc/docbook/system/man1/en/remapid.xml, + doc/docbook/system/man1/en/remrt.xml, + doc/docbook/system/man1/en/reshoot.xml, + doc/docbook/system/man1/en/rle-fb.xml, + doc/docbook/system/man1/en/rle-pix.xml, + doc/docbook/system/man1/en/rpatch.xml, + doc/docbook/system/man1/en/rt.xml, + doc/docbook/system/man1/en/rt_bot_faces.xml, + doc/docbook/system/man1/en/rtarea.xml, + doc/docbook/system/man1/en/rtcheck.xml, + doc/docbook/system/man1/en/rtedge.xml, + doc/docbook/system/man1/en/rtg3.xml, + doc/docbook/system/man1/en/rthide.xml, + doc/docbook/system/man1/en/rtpp.xml, + doc/docbook/system/man1/en/rtrange.xml, + doc/docbook/system/man1/en/rtray.xml, + doc/docbook/system/man1/en/rtregis.xml, + doc/docbook/system/man1/en/rtscale.xml, + doc/docbook/system/man1/en/rtshot.xml, + doc/docbook/system/man1/en/rttherm.xml, + doc/docbook/system/man1/en/rtwalk.xml, + doc/docbook/system/man1/en/rtweight.xml, + doc/docbook/system/man1/en/rtwizard.xml, + doc/docbook/system/man1/en/rtxray.xml, + doc/docbook/system/man1/en/scriptsort.xml, + doc/docbook/system/man1/en/secpass.xml, + doc/docbook/system/man1/en/shapefact.xml, + doc/docbook/system/man1/en/showshot.xml, + doc/docbook/system/man1/en/showtherm.xml, + doc/docbook/system/man1/en/sqlite3.xml, + doc/docbook/system/man1/en/ssamp-bw.xml, + doc/docbook/system/man1/en/stl-g.xml, + doc/docbook/system/man1/en/sun-pix.xml, + doc/docbook/system/man1/en/tabinterp.xml, + doc/docbook/system/man1/en/tabsub.xml, + doc/docbook/system/man1/en/tankill-g.xml, + doc/docbook/system/man1/en/terrain.xml, + doc/docbook/system/man1/en/tire.xml, + doc/docbook/system/man1/en/ug-g.xml, + doc/docbook/system/man1/en/vdeck.xml, + doc/docbook/system/man1/en/viewpoint-g.xml, + doc/docbook/system/man1/en/wavelet.xml, + doc/docbook/system/man3/en/htond.xml, + doc/docbook/system/man3/en/libcursor.xml, + doc/docbook/system/man3/en/libfb.xml, + doc/docbook/system/man3/en/liborle.xml, + doc/docbook/system/man3/en/libplot3.xml, + doc/docbook/system/man3/en/librt.xml, + doc/docbook/system/man3/en/libwdb.xml, + doc/docbook/system/man3/en/redblack.xml, + doc/docbook/system/man5/en/bw.xml, + doc/docbook/system/man5/en/cmap.xml, + doc/docbook/system/man5/en/dsp.xml, + doc/docbook/system/man5/en/gattributes.xml, + doc/docbook/system/man5/en/pix.xml, + doc/docbook/system/man5/en/plot3.xml: + XML DocBook should now validate properly on both Windows and + Linux systems + +2012-12-05 15:49 brlcad + + * [r54001] AUTHORS: + that's twice I've made the mistake of pulling the top name + instead of the bottom one. stanev didn't provide the spelling + fixes, 'An' did. + +2012-12-05 15:27 brlcad + + * [r54000] AUTHORS, BUGS, doc/cvs.txt, + doc/docbook/system/man1/en/g-acad.xml, + doc/docbook/system/man1/en/g-egg.xml, + doc/docbook/system/man1/en/g-euclid.xml, + doc/docbook/system/man1/en/g-iges.xml, + doc/docbook/system/man1/en/g-nff.xml, + doc/docbook/system/man1/en/g-nmg.xml, + doc/docbook/system/man1/en/g-obj.xml, + doc/docbook/system/man1/en/g-stl.xml, + doc/docbook/system/man1/en/g-tankill.xml, + doc/html/ReleaseNotes/email4.0.html, + doc/html/ReleaseNotes/email4.4.html, + doc/html/ReleaseNotes/email5.0.html, + doc/html/manuals/librt/dg_obj.html, + doc/html/manuals/librt/wdb_obj.html, + doc/html/manuals/mged/mged.html, + doc/html/manuals/mged/mged1.html, + doc/html/manuals/mged/shaders.html, + doc/html/manuals/shaders/camo.html, src/adrt/librender/spall.c, + src/adrt/load_g.c, src/conv/dxf/g-dxf.c, src/conv/g-acad.c, + src/conv/g-egg.c, src/conv/g-nff.c, src/conv/g-vrml.c, + src/conv/g-xxx_facets.c, src/conv/stl/g-stl.c, + src/conv/tankill/g-tankill.c, src/external/Cubit/g-sat.cpp, + src/external/ProEngineer/proe_brl.res, + src/external/Unigraphics/ug-g.c, src/libged/tol.c, + src/libged/wdb_obj.c, src/librt/primitives/ars/ars.c, + src/librt/primitives/brep/brep.cpp, src/librt/primitives/metaball/metaball_tri.c, - src/librt/primitives/mirror.c, src/librt/primitives/nmg/nmg.c, src/librt/primitives/nmg/nmg_bool.c, - src/librt/primitives/nmg/nmg_brep.cpp, - src/librt/primitives/nmg/nmg_ck.c, - src/librt/primitives/nmg/nmg_class.c, - src/librt/primitives/nmg/nmg_copy.c, - src/librt/primitives/nmg/nmg_eval.c, - src/librt/primitives/nmg/nmg_extrude.c, - src/librt/primitives/nmg/nmg_fcut.c, - src/librt/primitives/nmg/nmg_fuse.c, - src/librt/primitives/nmg/nmg_index.c, - src/librt/primitives/nmg/nmg_info.c, - src/librt/primitives/nmg/nmg_inter.c, - src/librt/primitives/nmg/nmg_junk.c, - src/librt/primitives/nmg/nmg_manif.c, - src/librt/primitives/nmg/nmg_mesh.c, - src/librt/primitives/nmg/nmg_mirror.c, - src/librt/primitives/nmg/nmg_misc.c, - src/librt/primitives/nmg/nmg_mk.c, - src/librt/primitives/nmg/nmg_mod.c, - src/librt/primitives/nmg/nmg_plot.c, - src/librt/primitives/nmg/nmg_pr.c, - src/librt/primitives/nmg/nmg_pt_fu.c, - src/librt/primitives/nmg/nmg_rt_isect.c, - src/librt/primitives/nmg/nmg_rt_segs.c, - src/librt/primitives/nmg/nmg_tri.c, - src/librt/primitives/nmg/nmg_tri_mc.c, - src/librt/primitives/nmg/nmg_visit.c, - src/librt/primitives/obj_adjust.c, - src/librt/primitives/obj_curve.c, - src/librt/primitives/obj_describe.c, - src/librt/primitives/obj_export.c, - src/librt/primitives/obj_free.c, src/librt/primitives/obj_get.c, - src/librt/primitives/obj_ifree.c, - src/librt/primitives/obj_import.c, - src/librt/primitives/obj_make.c, - src/librt/primitives/obj_mirror.c, - src/librt/primitives/obj_norm.c, - src/librt/primitives/obj_params.c, - src/librt/primitives/obj_plot.c, src/librt/primitives/obj_prep.c, - src/librt/primitives/obj_print.c, - src/librt/primitives/obj_shot.c, src/librt/primitives/obj_tess.c, - src/librt/primitives/obj_tnurb.c, src/librt/primitives/obj_uv.c, - src/librt/primitives/obj_vshot.c, - src/librt/primitives/obj_xform.c, - src/librt/primitives/part/part.c, - src/librt/primitives/part/part_mirror.c, - src/librt/primitives/pipe/pipe.c, - src/librt/primitives/pipe/pipe_brep.cpp, - src/librt/primitives/pipe/pipe_mirror.c, - src/librt/primitives/pnts/pnts.c, - src/librt/primitives/poly/poly.c, - src/librt/primitives/poly/poly_brep.cpp, - src/librt/primitives/poly/poly_mirror.c, - src/librt/primitives/rec/rec.c, - src/librt/primitives/revolve/revolve.c, - src/librt/primitives/revolve/revolve_brep.cpp, - src/librt/primitives/rhc/rhc.c, - src/librt/primitives/rhc/rhc_brep.cpp, - src/librt/primitives/rhc/rhc_mirror.c, - src/librt/primitives/rpc/rpc.c, - src/librt/primitives/rpc/rpc_brep.cpp, - src/librt/primitives/rpc/rpc_mirror.c, - src/librt/primitives/sketch/sketch.c, - src/librt/primitives/sketch/sketch_brep.cpp, - src/librt/primitives/sph/sph.c, - src/librt/primitives/sph/sph_brep.cpp, - src/librt/primitives/submodel/submodel.c, - src/librt/primitives/superell/superell.c, - src/librt/primitives/superell/superell_mirror.c, - src/librt/primitives/table.c, src/librt/primitives/tgc/tgc.c, - src/librt/primitives/tgc/tgc_brep.cpp, - src/librt/primitives/tgc/tgc_mirror.c, - src/librt/primitives/tor/tor.c, - src/librt/primitives/tor/tor_brep.cpp, - src/librt/primitives/tor/tor_mirror.c, - src/librt/primitives/vol/vol.c, - src/librt/primitives/vol/vol_brep.cpp, - src/librt/primitives/vol/vol_mirror.c, - src/librt/primitives/xxx/xxx.c, src/librt/raydebug.tcl, - src/librt/regionfix.c, src/librt/roots.c, src/librt/search.c, - src/librt/search.h, src/librt/shoot.c, src/librt/spectrum.c, - src/librt/tcl.c, src/librt/timer-nt.c, src/librt/timer42.c, - src/librt/timerhep.c, src/librt/timerunix.c, src/librt/tol.c, - src/librt/transform.c, src/librt/tree.c, src/librt/uvpoints.cpp, - src/librt/vers.c, src/librt/vlist.c, src/librt/vshoot.c, - src/librt/wdb.c, src/librtserver/rtserver.c, - src/librtserver/rtserverTest.c, src/libsysv/memset.c, - src/libsysv/strdup.c, src/libtclcad/cmdhist_obj.c, - src/libtclcad/tclcad.c, src/libtclcad/tclcadAutoPath.c, - src/libtclcad/tclcad_obj.c, src/libtclcad/tkImgFmtPIX.c, - src/libtermio/termio.c, src/libtermio/termio_win32.c, - src/libwdb/arbn.c, src/libwdb/ars.c, src/libwdb/bot.c, - src/libwdb/brep.cpp, src/libwdb/cline.c, src/libwdb/constraint.c, - src/libwdb/dsp.c, src/libwdb/dynamic_geometry.c, - src/libwdb/ebm.c, src/libwdb/export.c, src/libwdb/extrude.c, - src/libwdb/id.c, src/libwdb/libwdb.3, src/libwdb/mater.c, - src/libwdb/nmg.c, src/libwdb/nurb.c, src/libwdb/pipe.c, - src/libwdb/reg.c, src/libwdb/sketch.c, src/libwdb/submodel.c, - src/libwdb/units.c, src/libwdb/vol.c, src/libwdb/wdb.c, - src/mged/adc.c, src/mged/animedit.c, src/mged/arbs.c, - src/mged/attach.c, src/mged/axes.c, src/mged/bodyio.c, - src/mged/bool_rewrite.c, src/mged/buttons.c, - src/mged/cad_boundp.1, src/mged/cad_boundp.c, - src/mged/cad_parea.1, src/mged/cad_parea.c, src/mged/chgmodel.c, - src/mged/chgtree.c, src/mged/chgview.c, src/mged/clone.c, - src/mged/cmd.c, src/mged/cmd.h, src/mged/color_scheme.c, - src/mged/columns.c, src/mged/comb_bool.h, - src/mged/comb_bool_parse.y, src/mged/comb_bool_scan.l, - src/mged/dir.c, src/mged/dm-X.c, src/mged/dm-generic.c, - src/mged/dm-ogl.c, src/mged/dm-plot.c, src/mged/dm-ps.c, + src/librt/primitives/nmg/nmg_tri_mc.c, + src/librt/primitives/tgc/tgc.c: + apply a patch from peter stanev (GCI: + http://www.google-melange.com/gci/task/view/google/gci2012/7999212) + that fixes 5+ spelling mistakes in 40+ files. + +2012-12-05 15:11 n_reed + + * [r53999] src/librt/primitives/epa/epa.c: + space curves evenly + +2012-12-05 15:03 n_reed + + * [r53998] src/librt/primitives/epa/epa.c: + choose curve points based on estimated curve length + +2012-12-05 14:21 bob1961 + + * [r53997] src/libbu/vls_vprintf.c: + Fixed a typo. + +2012-12-05 00:38 starseeker + + * [r53996] CMakeLists.txt: + Typo + +2012-12-05 00:31 starseeker + + * [r53995] CMakeLists.txt: + More informative comment for DocBook validation issue on MSVC - + note it's 2010, not 2012 + +2012-12-05 00:28 starseeker + + * [r53994] CMakeLists.txt: + Visual Studio 2012 seems to be pushed beyond its limits when + validation targets are added - pushes the build target count over + 1800. Disable validation if we are on MSVC. + +2012-12-05 00:11 starseeker + + * [r53993] CMakeLists.txt: + Turn off strict again until the info thing is fixed in the man + pages. + +2012-12-05 00:07 starseeker + + * [r53992] doc/docbook/system/man1/en/anim_script.xml, + doc/docbook/system/man1/en/anim_sort.xml, + doc/docbook/system/man1/en/anim_time.xml, + doc/docbook/system/man1/en/anim_track.xml, + doc/docbook/system/man1/en/anim_turn.xml, + doc/docbook/system/man1/en/ap-pix.xml, + doc/docbook/system/man1/en/asc2dsp.xml: + Start shifting the author block to pass validation. More to do. + +2012-12-04 21:50 n_reed + + * [r53991] src/librt/primitives/ehy/ehy.c: + choose curve points based on estimated curve length + +2012-12-04 21:34 n_reed + + * [r53990] src/librt/primitives/ehy/ehy.c: + space curves evenly + +2012-12-04 21:13 carlmoore + + * [r53989] src/tclscripts/rtwizard/lib/FbPage.itk: + fix spelling of 'height' -- OK there, RIGHT?? + +2012-12-04 21:03 carlmoore + + * [r53988] src/librt/primitives/pipe/pipe_brep.cpp: + fix sentence (removing 's' and fixing 'endedge' -- notice it is + only a comment) + +2012-12-04 20:57 n_reed + + * [r53987] src/librt/primitives/tgc/tgc.c: + use a more accurate dimension estimate when choosing number of + connecting lines to plot + +2012-12-04 19:13 n_reed + + * [r53986] src/librt/primitives/arb8/arb8.c: + replace macro and avoid extra magnitude calculation + +2012-12-04 17:48 brlcad + + * [r53985] AUTHORS: + arb8 primtive centroid was NOT contributed by ashwin lokkur, it + was from silvrous (Ungureanu, Silviu) who is already credited for + a previous contribution. + +2012-12-04 17:45 n_reed + + * [r53984] src/librt/primitives/pipe/pipe.c, + src/librt/primitives/tgc/tgc.c: + change minimum curve counts + +2012-12-04 17:37 n_reed + + * [r53983] src/libbu/vls_vprintf.c: + handle z and t width specifiers the same way + +2012-12-04 17:20 n_reed + + * [r53982] src/libbu/sscanf.c: + typo + +2012-12-04 17:16 n_reed + + * [r53981] src/libbu/sscanf.c: + at least since .NET 2003 (v7.1) no width specifier is needed for + size_t or ptrdiff_t + +2012-12-04 16:54 carlmoore + + * [r53980] src/librt/primitives/arb8/arb8.c: + fix spelling in a comment + +2012-12-04 16:36 carlmoore + + * [r53979] bench/benchmark.1, bench/pixcmp.1, doc/bw.5, doc/cmap.5, + doc/pix.5, doc/plot3.5, include/raytrace.h, misc/brlcad-config.1, + misc/enigma/enigma.1, src/libbn/tests/CMakeLists.txt, + src/libbn/tests/bn_list.c, src/librt/primitives/arb8/arb8.c: + remove trailing blanks/tabs (understood to exclude files like + nirt.sh) + +2012-12-04 15:49 brlcad + + * [r53978] src/libbu/sscanf.c: + we don't have puts, use strcat + +2012-12-04 15:47 brlcad + + * [r53977] src/libbu/sscanf.c: + windows is being royal. apparently we need I64 with newer + versions of MSVC to get properly sized size_t/ptrdirr_t types. + +2012-12-04 13:12 bob1961 + + * [r53976] src/tclscripts/lib/Ged.tcl: + Update cadwidgets::Ged::end_data_poly_move to call the clip + routine regardless of the presence of overlaps. This lets the + clip routine identify holes. + +2012-12-04 12:29 jordisayol + + * [r53975] misc/debian/brlcad.postinst, misc/debian/brlcad.postrm, + sh/make_rpm.sh: + Improve Linux install/remove scripts to set mged as Gnome default + app. + +2012-12-04 12:13 jordisayol + + * [r53974] misc/debian/archer.desktop, misc/debian/mged.desktop, + misc/debian/rtwizard.desktop: + Set mged as kde default + +2012-12-04 06:56 brlcad + + * [r53973] AUTHORS, include/raytrace.h, src/libged/analyze.c, + src/libged/inside.c, src/librt/primitives/arb8/arb8.c, + src/librt/primitives/table.c: + apply the arb8 centroid patch from GCI student Ashwin Lokkur + (http://www.google-melange.com/gci/task/view/google/gci2012/7959221), + untested. + +2012-12-04 04:07 brlcad + + * [r53972] NEWS: + repost to fix comment, bob parker added preliminary support for + interactive editing of sketch objects in archer + +2012-12-04 04:04 brlcad + + * [r53971] AUTHORS: + credit phillips lachlan with his work contributing a libbn unit + test + +2012-12-03 21:09 carlmoore + + * [r53970] doc/docbook/lessons/es/mged16_mod_tech_struct.xml, + doc/html/manuals/mged/mged_cmd_index.html, + src/libbu/tests/bu_sscanf.c, src/libged/tire.c, + src/liboptical/sh_scloud.c: + fix spellings ('xlate','substraiga', right? Also, 'from' in a + long line) + +2012-12-03 20:04 bob1961 + + * [r53969] src/libged/polyclip.cpp: + ret needs to be initialized in ged_polygons_overlap(). + +2012-12-03 19:25 carlmoore + + * [r53968] doc/docbook/system/man1/en/pixmatte.xml, + doc/docbook/system/man1/en/pixmerge.xml, + doc/docbook/system/man1/en/sun-pix.xml: + change ie to i.e. -- should show up on 'man' pages + +2012-12-03 19:10 popescuandrei + + * [r53967] src/libbn/tests/CMakeLists.txt, + src/libbn/tests/bn_list.c: + added Lachlan's unit test and CMake logic(GCI task) + +2012-12-03 18:38 carlmoore + + * [r53966] doc/docbook/system/man1/en/anim_script.xml, + doc/docbook/system/man1/en/anim_sort.xml, + doc/docbook/system/man1/en/anim_time.xml, + doc/docbook/system/man1/en/ap-pix.xml, + doc/docbook/system/man1/en/asc-pl.xml, + doc/docbook/system/man1/en/brlcad-config.xml, + doc/docbook/system/man1/en/buffer.xml, + doc/docbook/system/man1/en/bw-fb.xml, + doc/docbook/system/man1/en/bw-imp.xml, + doc/docbook/system/man1/en/bw-pix.xml, + doc/docbook/system/man1/en/bw-png.xml, + doc/docbook/system/man1/en/bw-ps.xml, + doc/docbook/system/man1/en/bw-rle.xml, + doc/docbook/system/man1/en/bw3-pix.xml, + doc/docbook/system/man1/en/bwcrop.xml, + doc/docbook/system/man1/en/bwdiff.xml, + doc/docbook/system/man1/en/bwfilter.xml, + doc/docbook/system/man1/en/bwhist.xml, + doc/docbook/system/man1/en/bwhisteq.xml, + doc/docbook/system/man1/en/bwmod.xml, + doc/docbook/system/man1/en/bwrect.xml, + doc/docbook/system/man1/en/bwrot.xml, + doc/docbook/system/man1/en/bwshrink.xml, + doc/docbook/system/man1/en/bwstat.xml, + doc/docbook/system/man1/en/bwthresh.xml, + doc/docbook/system/man1/en/cad_boundp.xml, + doc/docbook/system/man1/en/cad_parea.xml, + doc/docbook/system/man1/en/canonize.xml, + doc/docbook/system/man1/en/cell-fb.xml, + doc/docbook/system/man1/en/chan_permute.xml, + doc/docbook/system/man1/en/cmap-fb.xml, + doc/docbook/system/man1/en/cv.xml, + doc/docbook/system/man1/en/dbcp.xml, + doc/docbook/system/man1/en/decimate.xml, + doc/docbook/system/man1/en/dpix-pix.xml, + doc/docbook/system/man1/en/dunncolor.xml, + doc/docbook/system/man1/en/dunnsnap.xml, + doc/docbook/system/man1/en/enigma.xml, + doc/docbook/system/man1/en/fb-bw.xml, + doc/docbook/system/man1/en/fb-cmap.xml, + doc/docbook/system/man1/en/fb-fb.xml, + doc/docbook/system/man1/en/fb-orle.xml, + doc/docbook/system/man1/en/fb-pix.xml, + doc/docbook/system/man1/en/fb-png.xml, + doc/docbook/system/man1/en/fb-rle.xml, + doc/docbook/system/man1/en/fbanim.xml, + doc/docbook/system/man1/en/fbcbars.xml, + doc/docbook/system/man1/en/fbclear.xml, + doc/docbook/system/man1/en/fbcmap.xml, + doc/docbook/system/man1/en/fbcmrot.xml, + doc/docbook/system/man1/en/fbcolor.xml, + doc/docbook/system/man1/en/fbed.xml, + doc/docbook/system/man1/en/fbfade.xml, + doc/docbook/system/man1/en/fbframe.xml, + doc/docbook/system/man1/en/fbfree.xml, + doc/docbook/system/man1/en/fbgamma.xml, + doc/docbook/system/man1/en/fbgrid.xml, + doc/docbook/system/man1/en/fbhelp.xml, + doc/docbook/system/man1/en/fblabel.xml, + doc/docbook/system/man1/en/fbline.xml, + doc/docbook/system/man1/en/fbpoint.xml, + doc/docbook/system/man1/en/fbscanplot.xml, + doc/docbook/system/man1/en/fbserv.xml, + doc/docbook/system/man1/en/fbstretch.xml, + doc/docbook/system/man1/en/fbzoom.xml, + doc/docbook/system/man1/en/firpass.xml, + doc/docbook/system/man1/en/g_lint.xml, + doc/docbook/system/man1/en/gencolor.xml, + doc/docbook/system/man1/en/gif-fb.xml, + doc/docbook/system/man1/en/gif2fb.xml, + doc/docbook/system/man1/en/halftone.xml, + doc/docbook/system/man1/en/hex.xml, + doc/docbook/system/man1/en/imgdims.xml, + doc/docbook/system/man1/en/ir-X.xml, + doc/docbook/system/man1/en/irdisp.xml, + doc/docbook/system/man1/en/lgt.xml, + doc/docbook/system/man1/en/loop.xml, + doc/docbook/system/man1/en/mac-pix.xml, + doc/docbook/system/man1/en/morphedit.xml, + doc/docbook/system/man1/en/orle-fb.xml, + doc/docbook/system/man1/en/orle-pix.xml, + doc/docbook/system/man1/en/pictx.xml, + doc/docbook/system/man1/en/pix-alias.xml, + doc/docbook/system/man1/en/pix-bw.xml, + doc/docbook/system/man1/en/pix-bw3.xml, + doc/docbook/system/man1/en/pix-fb.xml, + doc/docbook/system/man1/en/pix-orle.xml, + doc/docbook/system/man1/en/pix-png.xml, + doc/docbook/system/man1/en/pix-ppm.xml, + doc/docbook/system/man1/en/pix-ps.xml, + doc/docbook/system/man1/en/pix-rle.xml, + doc/docbook/system/man1/en/pix-sun.xml, + doc/docbook/system/man1/en/pixautosize.xml, + doc/docbook/system/man1/en/pixbackgnd.xml, + doc/docbook/system/man1/en/pixbgstrip.xml, + doc/docbook/system/man1/en/pixblend.xml, + doc/docbook/system/man1/en/pixborder.xml, + doc/docbook/system/man1/en/pixbustup.xml, + doc/docbook/system/man1/en/pixclump.xml, + doc/docbook/system/man1/en/pixcmp.xml, + doc/docbook/system/man1/en/pixcolors.xml, + doc/docbook/system/man1/en/pixcut.xml, + doc/docbook/system/man1/en/pixdiff.xml, + doc/docbook/system/man1/en/pixfade.xml, + doc/docbook/system/man1/en/pixfilter.xml, + doc/docbook/system/man1/en/pixhalve.xml, + doc/docbook/system/man1/en/pixhist.xml, + doc/docbook/system/man1/en/pixhist3d-pl.xml, + doc/docbook/system/man1/en/pixhist3d.xml, + doc/docbook/system/man1/en/pixinterp2x.xml, + doc/docbook/system/man1/en/pixmatte.xml, + doc/docbook/system/man1/en/pixmerge.xml, + doc/docbook/system/man1/en/pixmorph.xml, + doc/docbook/system/man1/en/pixrect.xml, + doc/docbook/system/man1/en/pixrot.xml, + doc/docbook/system/man1/en/pixsaturate.xml, + doc/docbook/system/man1/en/pixscale.xml, + doc/docbook/system/man1/en/pixshrink.xml, + doc/docbook/system/man1/en/pixstat.xml, + doc/docbook/system/man1/en/pixsubst.xml, + doc/docbook/system/man1/en/pixtile.xml, + doc/docbook/system/man1/en/pixuntile.xml, + doc/docbook/system/man1/en/pl-X.xml, + doc/docbook/system/man1/en/pl-asc.xml, + doc/docbook/system/man1/en/pl-fb.xml, + doc/docbook/system/man1/en/pl-hpgl.xml, + doc/docbook/system/man1/en/pl-pl.xml, + doc/docbook/system/man1/en/pl-ps.xml, + doc/docbook/system/man1/en/pl-tek.xml, + doc/docbook/system/man1/en/plcolor.xml, + doc/docbook/system/man1/en/pldebug.xml, + doc/docbook/system/man1/en/plgetframe.xml, + doc/docbook/system/man1/en/plrot.xml, + doc/docbook/system/man1/en/png-bw.xml, + doc/docbook/system/man1/en/png-fb.xml, + doc/docbook/system/man1/en/png-pix.xml, + doc/docbook/system/man1/en/png_info.xml, + doc/docbook/system/man1/en/polar-fb.xml, + doc/docbook/system/man1/en/pp-fb.xml, + doc/docbook/system/man1/en/random.xml, + doc/docbook/system/man1/en/remapid.xml, + doc/docbook/system/man1/en/remrt.xml, + doc/docbook/system/man1/en/reshoot.xml, + doc/docbook/system/man1/en/rle-fb.xml, + doc/docbook/system/man1/en/rle-pix.xml, + doc/docbook/system/man1/en/rt_bot_faces.xml, + doc/docbook/system/man1/en/rtg3.xml, + doc/docbook/system/man1/en/rthide.xml, + doc/docbook/system/man1/en/rtpp.xml, + doc/docbook/system/man1/en/rtrange.xml, + doc/docbook/system/man1/en/rtray.xml, + doc/docbook/system/man1/en/rtregis.xml, + doc/docbook/system/man1/en/rtscale.xml, + doc/docbook/system/man1/en/rtshot.xml, + doc/docbook/system/man1/en/rttherm.xml, + doc/docbook/system/man1/en/rtwalk.xml, + doc/docbook/system/man1/en/rtweight.xml, + doc/docbook/system/man1/en/rtxray.xml, + doc/docbook/system/man1/en/scriptsort.xml, + doc/docbook/system/man1/en/secpass.xml, + doc/docbook/system/man1/en/shapefact.xml, + doc/docbook/system/man1/en/showtherm.xml, + doc/docbook/system/man1/en/sqlite3.xml, + doc/docbook/system/man1/en/ssamp-bw.xml, + doc/docbook/system/man1/en/sun-pix.xml, + doc/docbook/system/man1/en/tabinterp.xml, + doc/docbook/system/man1/en/tabsub.xml, + doc/docbook/system/man1/en/terrain.xml, + doc/docbook/system/man1/en/ug-g.xml, + doc/docbook/system/man1/en/wavelet.xml, include/raytrace.h, + include/wdb.h: + remove trailing blanks/tabs (long list) + +2012-12-03 18:20 carlmoore + + * [r53965] NEWS: + fix spelling + +2012-12-03 17:07 caen23 + + * [r53964] doc/docbook/system/man1/en/anim_script.xml, + doc/docbook/system/man1/en/anim_sort.xml, + doc/docbook/system/man1/en/anim_time.xml, + doc/docbook/system/man1/en/anim_track.xml, + doc/docbook/system/man1/en/anim_turn.xml, + doc/docbook/system/man1/en/ap-pix.xml, + doc/docbook/system/man1/en/asc-nmg.xml, + doc/docbook/system/man1/en/asc-pl.xml, + doc/docbook/system/man1/en/asc2dsp.xml, + doc/docbook/system/man1/en/azel.xml, + doc/docbook/system/man1/en/bary.xml, + doc/docbook/system/man1/en/benchmark.xml, + doc/docbook/system/man1/en/bot_dump.xml, + doc/docbook/system/man1/en/bot_shell-vtk.xml, + doc/docbook/system/man1/en/brlcad-config.xml, + doc/docbook/system/man1/en/brlcad.xml, + doc/docbook/system/man1/en/buffer.xml, + doc/docbook/system/man1/en/bw-fb.xml, + doc/docbook/system/man1/en/bw-imp.xml, + doc/docbook/system/man1/en/bw-pix.xml, + doc/docbook/system/man1/en/bw-png.xml, + doc/docbook/system/man1/en/bw-ps.xml, + doc/docbook/system/man1/en/bw-rle.xml, + doc/docbook/system/man1/en/bw3-pix.xml, + doc/docbook/system/man1/en/bwcrop.xml, + doc/docbook/system/man1/en/bwdiff.xml, + doc/docbook/system/man1/en/bwfilter.xml, + doc/docbook/system/man1/en/bwhist.xml, + doc/docbook/system/man1/en/bwhisteq.xml, + doc/docbook/system/man1/en/bwmod.xml, + doc/docbook/system/man1/en/bwrect.xml, + doc/docbook/system/man1/en/bwrot.xml, + doc/docbook/system/man1/en/bwscale.xml, + doc/docbook/system/man1/en/bwshrink.xml, + doc/docbook/system/man1/en/bwstat.xml, + doc/docbook/system/man1/en/bwthresh.xml, + doc/docbook/system/man1/en/cad_boundp.xml, + doc/docbook/system/man1/en/cad_parea.xml, + doc/docbook/system/man1/en/canonize.xml, + doc/docbook/system/man1/en/cell-fb.xml, + doc/docbook/system/man1/en/chan_mult.xml, + doc/docbook/system/man1/en/chan_permute.xml, + doc/docbook/system/man1/en/cmap-fb.xml, + doc/docbook/system/man1/en/coil.xml, + doc/docbook/system/man1/en/comgeom-g.xml, + doc/docbook/system/man1/en/conv-vg2g.xml, + doc/docbook/system/man1/en/cv.xml, + doc/docbook/system/man1/en/cy-g.xml, + doc/docbook/system/man1/en/db.xml, + doc/docbook/system/man1/en/dbclean.xml, + doc/docbook/system/man1/en/dbcp.xml, + doc/docbook/system/man1/en/dbupgrade.xml, + doc/docbook/system/man1/en/decimate.xml, + doc/docbook/system/man1/en/dpix-pix.xml, + doc/docbook/system/man1/en/dunncolor.xml, + doc/docbook/system/man1/en/dunnsnap.xml, + doc/docbook/system/man1/en/dxf-g.xml, + doc/docbook/system/man1/en/enf-g.xml, + doc/docbook/system/man1/en/euclid-g.xml, + doc/docbook/system/man1/en/fast4-g.xml, + doc/docbook/system/man1/en/fb-bw.xml, + doc/docbook/system/man1/en/fb-cmap.xml, + doc/docbook/system/man1/en/fb-fb.xml, + doc/docbook/system/man1/en/fb-orle.xml, + doc/docbook/system/man1/en/fb-pix.xml, + doc/docbook/system/man1/en/fb-png.xml, + doc/docbook/system/man1/en/fb-rle.xml, + doc/docbook/system/man1/en/fbanim.xml, + doc/docbook/system/man1/en/fbcbars.xml, + doc/docbook/system/man1/en/fbclear.xml, + doc/docbook/system/man1/en/fbcmap.xml, + doc/docbook/system/man1/en/fbcmrot.xml, + doc/docbook/system/man1/en/fbcolor.xml, + doc/docbook/system/man1/en/fbed.xml, + doc/docbook/system/man1/en/fbfade.xml, + doc/docbook/system/man1/en/fbframe.xml, + doc/docbook/system/man1/en/fbfree.xml, + doc/docbook/system/man1/en/fbgamma.xml, + doc/docbook/system/man1/en/fbgrid.xml, + doc/docbook/system/man1/en/fbhelp.xml, + doc/docbook/system/man1/en/fblabel.xml, + doc/docbook/system/man1/en/fbline.xml, + doc/docbook/system/man1/en/fbpoint.xml, + doc/docbook/system/man1/en/fbscanplot.xml, + doc/docbook/system/man1/en/fbserv.xml, + doc/docbook/system/man1/en/fbstretch.xml, + doc/docbook/system/man1/en/fbzoom.xml, + doc/docbook/system/man1/en/firpass.xml, + doc/docbook/system/man1/en/g-acad.xml, + doc/docbook/system/man1/en/g-dxf.xml, + doc/docbook/system/man1/en/g-egg.xml, + doc/docbook/system/man1/en/g-euclid.xml, + doc/docbook/system/man1/en/g-iges.xml, + doc/docbook/system/man1/en/g-nff.xml, + doc/docbook/system/man1/en/g-nmg.xml, + doc/docbook/system/man1/en/g-obj.xml, + doc/docbook/system/man1/en/g-shell-rect.xml, + doc/docbook/system/man1/en/g-stl.xml, + doc/docbook/system/man1/en/g-tankill.xml, + doc/docbook/system/man1/en/g-var.xml, + doc/docbook/system/man1/en/g-vrml.xml, + doc/docbook/system/man1/en/g-x3d.xml, + doc/docbook/system/man1/en/g2asc.xml, + doc/docbook/system/man1/en/g_diff.xml, + doc/docbook/system/man1/en/g_lint.xml, + doc/docbook/system/man1/en/gencolor.xml, + doc/docbook/system/man1/en/gif-fb.xml, + doc/docbook/system/man1/en/gif2fb.xml, + doc/docbook/system/man1/en/gqa.xml, + doc/docbook/system/man1/en/halftone.xml, + doc/docbook/system/man1/en/hex.xml, + doc/docbook/system/man1/en/iges-g.xml, + doc/docbook/system/man1/en/imgdims.xml, + doc/docbook/system/man1/en/ir-X.xml, + doc/docbook/system/man1/en/irdisp.xml, + doc/docbook/system/man1/en/lgt.xml, + doc/docbook/system/man1/en/loop.xml, + doc/docbook/system/man1/en/mac-pix.xml, + doc/docbook/system/man1/en/mged.xml, + doc/docbook/system/man1/en/morphedit.xml, + doc/docbook/system/man1/en/nastran-g.xml, + doc/docbook/system/man1/en/nirt.xml, + doc/docbook/system/man1/en/nmg-bot.xml, + doc/docbook/system/man1/en/nmg-rib.xml, + doc/docbook/system/man1/en/obj-g.xml, + doc/docbook/system/man1/en/orle-fb.xml, + doc/docbook/system/man1/en/orle-pix.xml, + doc/docbook/system/man1/en/patch-g.xml, + doc/docbook/system/man1/en/pictx.xml, + doc/docbook/system/man1/en/pix-alias.xml, + doc/docbook/system/man1/en/pix-bw.xml, + doc/docbook/system/man1/en/pix-bw3.xml, + doc/docbook/system/man1/en/pix-fb.xml, + doc/docbook/system/man1/en/pix-orle.xml, + doc/docbook/system/man1/en/pix-png.xml, + doc/docbook/system/man1/en/pix-ppm.xml, + doc/docbook/system/man1/en/pix-ps.xml, + doc/docbook/system/man1/en/pix-rle.xml, + doc/docbook/system/man1/en/pix-sun.xml, + doc/docbook/system/man1/en/pix2asc.xml, + doc/docbook/system/man1/en/pixautosize.xml, + doc/docbook/system/man1/en/pixbackgnd.xml, + doc/docbook/system/man1/en/pixbgstrip.xml, + doc/docbook/system/man1/en/pixblend.xml, + doc/docbook/system/man1/en/pixborder.xml, + doc/docbook/system/man1/en/pixbustup.xml, + doc/docbook/system/man1/en/pixclump.xml, + doc/docbook/system/man1/en/pixcmp.xml, + doc/docbook/system/man1/en/pixcolors.xml, + doc/docbook/system/man1/en/pixcut.xml, + doc/docbook/system/man1/en/pixdiff.xml, + doc/docbook/system/man1/en/pixdsplit.xml, + doc/docbook/system/man1/en/pixfade.xml, + doc/docbook/system/man1/en/pixfilter.xml, + doc/docbook/system/man1/en/pixhalve.xml, + doc/docbook/system/man1/en/pixhist.xml, + doc/docbook/system/man1/en/pixhist3d-pl.xml, + doc/docbook/system/man1/en/pixhist3d.xml, + doc/docbook/system/man1/en/pixinterp2x.xml, + doc/docbook/system/man1/en/pixmatte.xml, + doc/docbook/system/man1/en/pixmerge.xml, + doc/docbook/system/man1/en/pixmorph.xml, + doc/docbook/system/man1/en/pixrect.xml, + doc/docbook/system/man1/en/pixrot.xml, + doc/docbook/system/man1/en/pixsaturate.xml, + doc/docbook/system/man1/en/pixscale.xml, + doc/docbook/system/man1/en/pixshrink.xml, + doc/docbook/system/man1/en/pixstat.xml, + doc/docbook/system/man1/en/pixsubst.xml, + doc/docbook/system/man1/en/pixtile.xml, + doc/docbook/system/man1/en/pixuntile.xml, + doc/docbook/system/man1/en/pl-X.xml, + doc/docbook/system/man1/en/pl-asc.xml, + doc/docbook/system/man1/en/pl-fb.xml, + doc/docbook/system/man1/en/pl-hpgl.xml, + doc/docbook/system/man1/en/pl-pl.xml, + doc/docbook/system/man1/en/pl-ps.xml, + doc/docbook/system/man1/en/pl-tek.xml, + doc/docbook/system/man1/en/plcolor.xml, + doc/docbook/system/man1/en/pldebug.xml, + doc/docbook/system/man1/en/plgetframe.xml, + doc/docbook/system/man1/en/plline2.xml, + doc/docbook/system/man1/en/plrot.xml, + doc/docbook/system/man1/en/ply-g.xml, + doc/docbook/system/man1/en/png-bw.xml, + doc/docbook/system/man1/en/png-fb.xml, + doc/docbook/system/man1/en/png-pix.xml, + doc/docbook/system/man1/en/png_info.xml, + doc/docbook/system/man1/en/polar-fb.xml, + doc/docbook/system/man1/en/poly-bot.xml, + doc/docbook/system/man1/en/pp-fb.xml, + doc/docbook/system/man1/en/proe-g.xml, + doc/docbook/system/man1/en/random.xml, + doc/docbook/system/man1/en/remapid.xml, + doc/docbook/system/man1/en/remrt.xml, + doc/docbook/system/man1/en/reshoot.xml, + doc/docbook/system/man1/en/rle-fb.xml, + doc/docbook/system/man1/en/rle-pix.xml, + doc/docbook/system/man1/en/rpatch.xml, + doc/docbook/system/man1/en/rt.xml, + doc/docbook/system/man1/en/rt_bot_faces.xml, + doc/docbook/system/man1/en/rtarea.xml, + doc/docbook/system/man1/en/rtcheck.xml, + doc/docbook/system/man1/en/rtedge.xml, + doc/docbook/system/man1/en/rtg3.xml, + doc/docbook/system/man1/en/rthide.xml, + doc/docbook/system/man1/en/rtpp.xml, + doc/docbook/system/man1/en/rtrange.xml, + doc/docbook/system/man1/en/rtray.xml, + doc/docbook/system/man1/en/rtregis.xml, + doc/docbook/system/man1/en/rtscale.xml, + doc/docbook/system/man1/en/rtshot.xml, + doc/docbook/system/man1/en/rttherm.xml, + doc/docbook/system/man1/en/rtwalk.xml, + doc/docbook/system/man1/en/rtweight.xml, + doc/docbook/system/man1/en/rtwizard.xml, + doc/docbook/system/man1/en/rtxray.xml, + doc/docbook/system/man1/en/scriptsort.xml, + doc/docbook/system/man1/en/secpass.xml, + doc/docbook/system/man1/en/shapefact.xml, + doc/docbook/system/man1/en/showshot.xml, + doc/docbook/system/man1/en/showtherm.xml, + doc/docbook/system/man1/en/sqlite3.xml, + doc/docbook/system/man1/en/ssamp-bw.xml, + doc/docbook/system/man1/en/stl-g.xml, + doc/docbook/system/man1/en/sun-pix.xml, + doc/docbook/system/man1/en/tabinterp.xml, + doc/docbook/system/man1/en/tabsub.xml, + doc/docbook/system/man1/en/tankill-g.xml, + doc/docbook/system/man1/en/terrain.xml, + doc/docbook/system/man1/en/tire.xml, + doc/docbook/system/man1/en/ug-g.xml, + doc/docbook/system/man1/en/vdeck.xml, + doc/docbook/system/man1/en/viewpoint-g.xml, + doc/docbook/system/man1/en/wavelet.xml, + doc/docbook/system/man3/en/htond.xml, + doc/docbook/system/man3/en/libcursor.xml, + doc/docbook/system/man3/en/libfb.xml, + doc/docbook/system/man3/en/liborle.xml, + doc/docbook/system/man3/en/libplot3.xml, + doc/docbook/system/man3/en/librt.xml, + doc/docbook/system/man3/en/libwdb.xml, + doc/docbook/system/man3/en/redblack.xml, + doc/docbook/system/man5/en/bw.xml, + doc/docbook/system/man5/en/cmap.xml, + doc/docbook/system/man5/en/dsp.xml, + doc/docbook/system/man5/en/gattributes.xml, + doc/docbook/system/man5/en/pix.xml, + doc/docbook/system/man5/en/plot3.xml: + Remove the tag where the author is an organization + (GCI: + http://www.google-melange.com/gci/task/view/google/gci2012/7959236) + +2012-12-03 16:41 brlcad + + * [r53963] AUTHORS: + credit reikaze with his (negative) contribution removing (void) + from a slew of function calls that don't really need it. + +2012-12-03 16:11 brlcad + + * [r53962] NEWS: + bob parker added initial sketch support to archer. + +2012-12-03 14:51 caen23 + + * [r53961] doc/docbook/system/man1/en/anim_script.xml, + doc/docbook/system/man1/en/anim_sort.xml, + doc/docbook/system/man1/en/anim_time.xml, + doc/docbook/system/man1/en/anim_track.xml, + doc/docbook/system/man1/en/anim_turn.xml, + doc/docbook/system/man1/en/ap-pix.xml, + doc/docbook/system/man1/en/asc-nmg.xml, + doc/docbook/system/man1/en/asc-pl.xml, + doc/docbook/system/man1/en/asc2dsp.xml, + doc/docbook/system/man1/en/azel.xml, + doc/docbook/system/man1/en/bary.xml, + doc/docbook/system/man1/en/benchmark.xml, + doc/docbook/system/man1/en/bot_dump.xml, + doc/docbook/system/man1/en/bot_shell-vtk.xml, + doc/docbook/system/man1/en/brlcad-config.xml, + doc/docbook/system/man1/en/brlcad.xml, + doc/docbook/system/man1/en/buffer.xml, + doc/docbook/system/man1/en/bw-fb.xml, + doc/docbook/system/man1/en/bw-imp.xml, + doc/docbook/system/man1/en/bw-pix.xml, + doc/docbook/system/man1/en/bw-png.xml, + doc/docbook/system/man1/en/bw-ps.xml, + doc/docbook/system/man1/en/bw-rle.xml, + doc/docbook/system/man1/en/bw3-pix.xml, + doc/docbook/system/man1/en/bwcrop.xml, + doc/docbook/system/man1/en/bwdiff.xml, + doc/docbook/system/man1/en/bwfilter.xml, + doc/docbook/system/man1/en/bwhist.xml, + doc/docbook/system/man1/en/bwhisteq.xml, + doc/docbook/system/man1/en/bwmod.xml, + doc/docbook/system/man1/en/bwrect.xml, + doc/docbook/system/man1/en/bwrot.xml, + doc/docbook/system/man1/en/bwscale.xml, + doc/docbook/system/man1/en/bwshrink.xml, + doc/docbook/system/man1/en/bwstat.xml, + doc/docbook/system/man1/en/bwthresh.xml, + doc/docbook/system/man1/en/cad_boundp.xml, + doc/docbook/system/man1/en/cad_parea.xml, + doc/docbook/system/man1/en/canonize.xml, + doc/docbook/system/man1/en/cell-fb.xml, + doc/docbook/system/man1/en/chan_mult.xml, + doc/docbook/system/man1/en/chan_permute.xml, + doc/docbook/system/man1/en/cmap-fb.xml, + doc/docbook/system/man1/en/coil.xml, + doc/docbook/system/man1/en/comgeom-g.xml, + doc/docbook/system/man1/en/conv-vg2g.xml, + doc/docbook/system/man1/en/cv.xml, + doc/docbook/system/man1/en/cy-g.xml, + doc/docbook/system/man1/en/db.xml, + doc/docbook/system/man1/en/dbclean.xml, + doc/docbook/system/man1/en/dbcp.xml, + doc/docbook/system/man1/en/dbupgrade.xml, + doc/docbook/system/man1/en/decimate.xml, + doc/docbook/system/man1/en/dpix-pix.xml, + doc/docbook/system/man1/en/dunncolor.xml, + doc/docbook/system/man1/en/dunnsnap.xml, + doc/docbook/system/man1/en/dxf-g.xml, + doc/docbook/system/man1/en/enf-g.xml, + doc/docbook/system/man1/en/enigma.xml, + doc/docbook/system/man1/en/euclid-g.xml, + doc/docbook/system/man1/en/fast4-g.xml, + doc/docbook/system/man1/en/fb-bw.xml, + doc/docbook/system/man1/en/fb-cmap.xml, + doc/docbook/system/man1/en/fb-fb.xml, + doc/docbook/system/man1/en/fb-orle.xml, + doc/docbook/system/man1/en/fb-pix.xml, + doc/docbook/system/man1/en/fb-png.xml, + doc/docbook/system/man1/en/fb-rle.xml, + doc/docbook/system/man1/en/fbanim.xml, + doc/docbook/system/man1/en/fbcbars.xml, + doc/docbook/system/man1/en/fbclear.xml, + doc/docbook/system/man1/en/fbcmap.xml, + doc/docbook/system/man1/en/fbcmrot.xml, + doc/docbook/system/man1/en/fbcolor.xml, + doc/docbook/system/man1/en/fbed.xml, + doc/docbook/system/man1/en/fbfade.xml, + doc/docbook/system/man1/en/fbframe.xml, + doc/docbook/system/man1/en/fbfree.xml, + doc/docbook/system/man1/en/fbgamma.xml, + doc/docbook/system/man1/en/fbgrid.xml, + doc/docbook/system/man1/en/fbhelp.xml, + doc/docbook/system/man1/en/fblabel.xml, + doc/docbook/system/man1/en/fbline.xml, + doc/docbook/system/man1/en/fbpoint.xml, + doc/docbook/system/man1/en/fbscanplot.xml, + doc/docbook/system/man1/en/fbserv.xml, + doc/docbook/system/man1/en/fbstretch.xml, + doc/docbook/system/man1/en/fbzoom.xml, + doc/docbook/system/man1/en/firpass.xml, + doc/docbook/system/man1/en/g-acad.xml, + doc/docbook/system/man1/en/g-dxf.xml, + doc/docbook/system/man1/en/g-egg.xml, + doc/docbook/system/man1/en/g-euclid.xml, + doc/docbook/system/man1/en/g-iges.xml, + doc/docbook/system/man1/en/g-nff.xml, + doc/docbook/system/man1/en/g-nmg.xml, + doc/docbook/system/man1/en/g-obj.xml, + doc/docbook/system/man1/en/g-shell-rect.xml, + doc/docbook/system/man1/en/g-stl.xml, + doc/docbook/system/man1/en/g-tankill.xml, + doc/docbook/system/man1/en/g-var.xml, + doc/docbook/system/man1/en/g-vrml.xml, + doc/docbook/system/man1/en/g-x3d.xml, + doc/docbook/system/man1/en/g2asc.xml, + doc/docbook/system/man1/en/g_diff.xml, + doc/docbook/system/man1/en/g_lint.xml, + doc/docbook/system/man1/en/gencolor.xml, + doc/docbook/system/man1/en/gif-fb.xml, + doc/docbook/system/man1/en/gif2fb.xml, + doc/docbook/system/man1/en/gqa.xml, + doc/docbook/system/man1/en/halftone.xml, + doc/docbook/system/man1/en/hex.xml, + doc/docbook/system/man1/en/iges-g.xml, + doc/docbook/system/man1/en/imgdims.xml, + doc/docbook/system/man1/en/ir-X.xml, + doc/docbook/system/man1/en/irdisp.xml, + doc/docbook/system/man1/en/lgt.xml, + doc/docbook/system/man1/en/loop.xml, + doc/docbook/system/man1/en/mac-pix.xml, + doc/docbook/system/man1/en/mged.xml, + doc/docbook/system/man1/en/morphedit.xml, + doc/docbook/system/man1/en/nastran-g.xml, + doc/docbook/system/man1/en/nirt.xml, + doc/docbook/system/man1/en/nmg-bot.xml, + doc/docbook/system/man1/en/nmg-rib.xml, + doc/docbook/system/man1/en/obj-g.xml, + doc/docbook/system/man1/en/orle-fb.xml, + doc/docbook/system/man1/en/orle-pix.xml, + doc/docbook/system/man1/en/patch-g.xml, + doc/docbook/system/man1/en/pictx.xml, + doc/docbook/system/man1/en/pix-alias.xml, + doc/docbook/system/man1/en/pix-bw.xml, + doc/docbook/system/man1/en/pix-bw3.xml, + doc/docbook/system/man1/en/pix-fb.xml, + doc/docbook/system/man1/en/pix-orle.xml, + doc/docbook/system/man1/en/pix-png.xml, + doc/docbook/system/man1/en/pix-ppm.xml, + doc/docbook/system/man1/en/pix-ps.xml, + doc/docbook/system/man1/en/pix-rle.xml, + doc/docbook/system/man1/en/pix-sun.xml, + doc/docbook/system/man1/en/pix2asc.xml, + doc/docbook/system/man1/en/pixautosize.xml, + doc/docbook/system/man1/en/pixbackgnd.xml, + doc/docbook/system/man1/en/pixbgstrip.xml, + doc/docbook/system/man1/en/pixblend.xml, + doc/docbook/system/man1/en/pixborder.xml, + doc/docbook/system/man1/en/pixbustup.xml, + doc/docbook/system/man1/en/pixclump.xml, + doc/docbook/system/man1/en/pixcmp.xml, + doc/docbook/system/man1/en/pixcolors.xml, + doc/docbook/system/man1/en/pixcut.xml, + doc/docbook/system/man1/en/pixdiff.xml, + doc/docbook/system/man1/en/pixdsplit.xml, + doc/docbook/system/man1/en/pixfade.xml, + doc/docbook/system/man1/en/pixfilter.xml, + doc/docbook/system/man1/en/pixhalve.xml, + doc/docbook/system/man1/en/pixhist.xml, + doc/docbook/system/man1/en/pixhist3d-pl.xml, + doc/docbook/system/man1/en/pixhist3d.xml, + doc/docbook/system/man1/en/pixinterp2x.xml, + doc/docbook/system/man1/en/pixmatte.xml, + doc/docbook/system/man1/en/pixmerge.xml, + doc/docbook/system/man1/en/pixmorph.xml, + doc/docbook/system/man1/en/pixrect.xml, + doc/docbook/system/man1/en/pixrot.xml, + doc/docbook/system/man1/en/pixsaturate.xml, + doc/docbook/system/man1/en/pixscale.xml, + doc/docbook/system/man1/en/pixshrink.xml, + doc/docbook/system/man1/en/pixstat.xml, + doc/docbook/system/man1/en/pixsubst.xml, + doc/docbook/system/man1/en/pixtile.xml, + doc/docbook/system/man1/en/pixuntile.xml, + doc/docbook/system/man1/en/pl-X.xml, + doc/docbook/system/man1/en/pl-asc.xml, + doc/docbook/system/man1/en/pl-fb.xml, + doc/docbook/system/man1/en/pl-hpgl.xml, + doc/docbook/system/man1/en/pl-pl.xml, + doc/docbook/system/man1/en/pl-ps.xml, + doc/docbook/system/man1/en/pl-tek.xml, + doc/docbook/system/man1/en/plcolor.xml, + doc/docbook/system/man1/en/pldebug.xml, + doc/docbook/system/man1/en/plgetframe.xml, + doc/docbook/system/man1/en/plline2.xml, + doc/docbook/system/man1/en/plrot.xml, + doc/docbook/system/man1/en/ply-g.xml, + doc/docbook/system/man1/en/png-bw.xml, + doc/docbook/system/man1/en/png-fb.xml, + doc/docbook/system/man1/en/png-pix.xml, + doc/docbook/system/man1/en/png_info.xml, + doc/docbook/system/man1/en/polar-fb.xml, + doc/docbook/system/man1/en/poly-bot.xml, + doc/docbook/system/man1/en/pp-fb.xml, + doc/docbook/system/man1/en/proe-g.xml, + doc/docbook/system/man1/en/random.xml, + doc/docbook/system/man1/en/remapid.xml, + doc/docbook/system/man1/en/remrt.xml, + doc/docbook/system/man1/en/reshoot.xml, + doc/docbook/system/man1/en/rle-fb.xml, + doc/docbook/system/man1/en/rle-pix.xml, + doc/docbook/system/man1/en/rpatch.xml, + doc/docbook/system/man1/en/rt.xml, + doc/docbook/system/man1/en/rt_bot_faces.xml, + doc/docbook/system/man1/en/rtarea.xml, + doc/docbook/system/man1/en/rtcheck.xml, + doc/docbook/system/man1/en/rtedge.xml, + doc/docbook/system/man1/en/rtg3.xml, + doc/docbook/system/man1/en/rthide.xml, + doc/docbook/system/man1/en/rtpp.xml, + doc/docbook/system/man1/en/rtrange.xml, + doc/docbook/system/man1/en/rtray.xml, + doc/docbook/system/man1/en/rtregis.xml, + doc/docbook/system/man1/en/rtscale.xml, + doc/docbook/system/man1/en/rtshot.xml, + doc/docbook/system/man1/en/rttherm.xml, + doc/docbook/system/man1/en/rtwalk.xml, + doc/docbook/system/man1/en/rtweight.xml, + doc/docbook/system/man1/en/rtwizard.xml, + doc/docbook/system/man1/en/rtxray.xml, + doc/docbook/system/man1/en/scriptsort.xml, + doc/docbook/system/man1/en/secpass.xml, + doc/docbook/system/man1/en/shapefact.xml, + doc/docbook/system/man1/en/showshot.xml, + doc/docbook/system/man1/en/showtherm.xml, + doc/docbook/system/man1/en/sqlite3.xml, + doc/docbook/system/man1/en/ssamp-bw.xml, + doc/docbook/system/man1/en/stl-g.xml, + doc/docbook/system/man1/en/sun-pix.xml, + doc/docbook/system/man1/en/tabinterp.xml, + doc/docbook/system/man1/en/tabsub.xml, + doc/docbook/system/man1/en/tankill-g.xml, + doc/docbook/system/man1/en/terrain.xml, + doc/docbook/system/man1/en/tire.xml, + doc/docbook/system/man1/en/ug-g.xml, + doc/docbook/system/man1/en/vdeck.xml, + doc/docbook/system/man1/en/viewpoint-g.xml, + doc/docbook/system/man1/en/wavelet.xml, + doc/docbook/system/man3/en/htond.xml, + doc/docbook/system/man3/en/libcursor.xml, + doc/docbook/system/man3/en/libfb.xml, + doc/docbook/system/man3/en/liborle.xml, + doc/docbook/system/man3/en/libplot3.xml, + doc/docbook/system/man3/en/librt.xml, + doc/docbook/system/man3/en/libwdb.xml, + doc/docbook/system/man3/en/redblack.xml, + doc/docbook/system/man5/en/bw.xml, + doc/docbook/system/man5/en/cmap.xml, + doc/docbook/system/man5/en/dsp.xml, + doc/docbook/system/man5/en/gattributes.xml, + doc/docbook/system/man5/en/pix.xml, + doc/docbook/system/man5/en/plot3.xml: + XML files now pass validation without generating warnings (GCI: + http://www.google-melange.com/gci/task/view/google/gci2012/7959236) + +2012-12-03 10:30 d_rossberg + + * [r53960] include/vmath.h, src/conv/asc/asc2g.c, + src/conv/asc/g2asc.c, src/conv/comgeom/cvt.c, + src/conv/conv-vg2g.c, src/conv/vdeck/vdeck.c, src/fb/bw-fb.c, + src/fb/fb-bw.c, src/fb/fb-fb.c, src/fb/fb-pix.c, + src/fb/fbcbars.c, src/fb/fbcmrot.c, src/fb/fbfree.c, + src/fb/fbgrid.c, src/fb/fbhelp.c, src/fb/fblabel.c, + src/fb/fbline.c, src/fb/fbthreadtest.c, src/fb/gif2fb.c, + src/fb/pix-fb.c, src/fb/pixautosize.c, src/fb/pixflip-fb.c, + src/fb/pl-fb.c, src/fb/png-fb.c, src/fb/spm-fb.c, + src/irprep/all_sf.c, src/irprep/firpass.c, src/irprep/ir-X.c, + src/irprep/irdisp.c, src/irprep/pictx.c, src/irprep/secpass.c, + src/irprep/shapefact.c, src/irprep/showtherm.c, + src/irprep/subroutines.c, src/libbn/bntester.c, + src/libged/color.c, src/libged/dg_obj.c, src/libged/fb2pix.c, + src/libged/pix2fb.c, src/libged/rt.c, src/libged/savekey.c, + src/libged/saveview.c, src/libged/tables.c, src/liborle/rle.c, + src/librt/mater.c, src/librt/primitives/nmg/nmg_tri.c, + src/mged/cad_parea.c, src/mged/edsol.c, src/mged/mged.h, + src/mged/tedit.c, src/other/libpng/pngtest.c, + src/proc-db/brickwall.c, src/proc-db/masonry.c, + src/proc-db/tea_nmg.c, src/rt/main.c, src/shapes/bolt.c, + src/shapes/gastank.c, src/shapes/handle.c, src/shapes/window.c, + src/shapes/window_frame.c, src/shapes/wire.c, src/sig/dmod.c, + src/sig/imod.c, src/sig/istats.c, src/sig/smod.c, src/sig/u-bw.c, + src/sig/umod.c, src/sig/ustats.c, src/util/bw-imp.c, + src/util/bw-png.c, src/util/bw-ps.c, src/util/bwfilter.c, + src/util/bwmod.c, src/util/bwscale.c, src/util/bwshrink.c, + src/util/dunnsnap.c, src/util/mac-pix.c, src/util/orle-pix.c, + src/util/pix-alias.c, src/util/pix-ps.c, src/util/pix-sun.c, + src/util/pix-yuv.c, src/util/pix3filter.c, src/util/pixbgstrip.c, + src/util/pixblend.c, src/util/pixcolors.c, src/util/pixcut.c, + src/util/pixembed.c, src/util/pixfade.c, src/util/pixfields.c, + src/util/pixfieldsep.c, src/util/pixfilter.c, + src/util/pixhalve.c, src/util/pixmerge.c, src/util/pixpaste.c, + src/util/pixshrink.c, src/util/pixtile.c, src/util/pl-ps.c, + src/util/png-pix.c, src/util/sun-pix.c, src/util/yuv-pix.c: + Remove (void) before sscanf/scanf/fprintf/printf/bu_log function + calls (GCI: + http://google-melange.appspot.com/gci/task/view/google/gci2012/7985235) + applied patch provided by reikaze + +2012-12-03 07:11 jordisayol + + * [r53959] misc/Makefile.am, misc/debian/archer.desktop, + misc/debian/brlcad-archer.desktop, misc/debian/brlcad-db.desktop, + misc/debian/brlcad-doc-animation.desktop, + misc/debian/brlcad-doc-mged.desktop, + misc/debian/brlcad-doc.desktop, misc/debian/brlcad-mged.desktop, + misc/debian/brlcad-rtwizard.desktop, + misc/debian/brlcad.directory, misc/debian/brlcad.install, + misc/debian/brlcad.postinst, + misc/debian/icons/128x128/archer.png, + misc/debian/icons/128x128/brlcad-archer.png, + misc/debian/icons/128x128/brlcad-mged.png, + misc/debian/icons/128x128/brlcad.png, + misc/debian/icons/128x128/mged.png, + misc/debian/icons/128x128/rtwizard.png, + misc/debian/icons/16x16/archer.png, + misc/debian/icons/16x16/brlcad-archer.png, + misc/debian/icons/16x16/brlcad-mged.png, + misc/debian/icons/16x16/brlcad.png, + misc/debian/icons/16x16/mged.png, + misc/debian/icons/16x16/rtwizard.png, + misc/debian/icons/24x24/archer.png, + misc/debian/icons/24x24/brlcad-archer.png, + misc/debian/icons/24x24/brlcad-mged.png, + misc/debian/icons/24x24/brlcad.png, + misc/debian/icons/24x24/mged.png, + misc/debian/icons/24x24/rtwizard.png, + misc/debian/icons/256x256/archer.png, + misc/debian/icons/256x256/brlcad-archer.png, + misc/debian/icons/256x256/brlcad-mged.png, + misc/debian/icons/256x256/brlcad.png, + misc/debian/icons/256x256/mged.png, + misc/debian/icons/256x256/rtwizard.png, + misc/debian/icons/36x36/archer.png, + misc/debian/icons/36x36/brlcad-archer.png, + misc/debian/icons/36x36/brlcad-mged.png, + misc/debian/icons/36x36/brlcad.png, + misc/debian/icons/36x36/mged.png, + misc/debian/icons/36x36/rtwizard.png, + misc/debian/icons/48x48/archer.png, + misc/debian/icons/48x48/brlcad-archer.png, + misc/debian/icons/48x48/brlcad-mged.png, + misc/debian/icons/48x48/brlcad.png, + misc/debian/icons/48x48/mged.png, + misc/debian/icons/48x48/rtwizard.png, + misc/debian/icons/64x64/archer.png, + misc/debian/icons/64x64/brlcad-archer.png, + misc/debian/icons/64x64/brlcad-mged.png, + misc/debian/icons/64x64/brlcad.png, + misc/debian/icons/64x64/mged.png, + misc/debian/icons/64x64/rtwizard.png, + misc/debian/icons/96x96/archer.png, + misc/debian/icons/96x96/brlcad-archer.png, + misc/debian/icons/96x96/brlcad-mged.png, + misc/debian/icons/96x96/brlcad.png, + misc/debian/icons/96x96/mged.png, + misc/debian/icons/96x96/rtwizard.png, misc/debian/mged.desktop, + misc/debian/rtwizard.desktop, + misc/debian/source/include-binaries, sh/make_rpm.sh: + Add Linux brlcad and rtwizard icons. + Rename some Linux desktop menu config and icon files, to make it + clear. + +2012-12-03 02:39 brlcad + + * [r53958] AUTHORS: + Ed retired and is no longer the designated ARL POC. That is now + Cliff. + +2012-12-03 01:34 caen23 + + * [r53957] doc/docbook/system/man1/en/CMakeLists.txt, + doc/docbook/system/man1/en/benchmark.xml, + doc/docbook/system/man1/en/brlcad-config.xml, + doc/docbook/system/man1/en/enigma.xml, + doc/docbook/system/man1/en/pixcmp.xml, + doc/docbook/system/man5/en/CMakeLists.txt, + doc/docbook/system/man5/en/bw.xml, + doc/docbook/system/man5/en/cmap.xml, + doc/docbook/system/man5/en/pix.xml, + doc/docbook/system/man5/en/plot3.xml: + These should be the final manpage to docbook conversions (GCI: + http://www.google-melange.com/gci/task/view/google/gci2012/7959236) + +2012-12-02 20:55 starseeker + + * [r53956] CMakeLists.txt: + DocBook conversion just about complete, thanks to awesome GCI + work. Turn strict XML validation back on by default. + +2012-12-02 20:53 brlcad + + * [r53955] AUTHORS: + credit Alex Perez for his GCI work writing a tutorial on + generating an XCode project for BRL-CAD. + +2012-12-02 20:47 starseeker + + * [r53954] doc/docbook/system/man3/en/libcursor.xml: + libcursor man page strict tweak + +2012-12-02 20:45 starseeker + + * [r53953] doc/docbook/system/man1/en/CMakeLists.txt, + src/irprep/CMakeLists.txt, src/irprep/Makefile.am, + src/irprep/pictx.1: + pictx was converted - since it's supposed to be commented out, do + so at the xml level. + +2012-12-02 20:44 starseeker + + * [r53952] doc/docbook/system/man1/en/ug-g.xml: + ug-g strict tweak. + +2012-12-02 20:41 starseeker + + * [r53951] doc/docbook/system/man1/en/lgt.xml: + Tweak lgt man page to pass strict. + +2012-12-02 20:39 starseeker + + * [r53950] doc/docbook/system/man1/en/fbed.xml: + tweak for strict XML with fbed man page. + +2012-12-02 20:27 starseeker + + * [r53949] src/librt/CMakeLists.txt: + Oh, right - don't ignore librt.3 anymore either. + +2012-12-02 20:21 starseeker + + * [r53948] src/librt/CMakeLists.txt, src/librt/Makefile.am, + src/librt/librt.3: + Caught a leftover .3 file that has an xml file - remove. + +2012-12-02 19:48 starseeker + + * [r53947] src/anim/CMakeLists.txt, src/anim/Makefile.am, + src/anim/anim_script.1, src/anim/anim_sort.1, + src/anim/anim_time.1, src/anim/anim_track.1, + src/anim/anim_turn.1, src/anim/chan_mult.1, + src/anim/chan_permute.1, src/canon/CMakeLists.txt, + src/canon/Makefile.am, src/canon/canonize.1, + src/fbed/CMakeLists.txt, src/fbed/Makefile.am, src/fbed/fbed.1, + src/fbserv/CMakeLists.txt, src/fbserv/Makefile.am, + src/fbserv/fbserv.1, src/gtools/CMakeLists.txt, + src/gtools/Makefile.am, src/gtools/g_diff.1, src/gtools/g_lint.1, + src/gtools/remapid.1, src/halftone/CMakeLists.txt, + src/halftone/Makefile.am, src/halftone/halftone.1, + src/irprep/CMakeLists.txt, src/irprep/Makefile.am, + src/irprep/firpass.1, src/irprep/ir-X.1, src/irprep/irdisp.1, + src/irprep/secpass.1, src/irprep/shapefact.1, + src/irprep/showtherm.1, src/lgt/CMakeLists.txt, + src/lgt/Makefile.am, src/lgt/lgt.1, src/libbn/CMakeLists.txt, + src/libbn/Makefile.am, src/libbn/libplot3.3, + src/libbu/CMakeLists.txt, src/libbu/Makefile.am, + src/libbu/htond.3, src/libbu/redblack.3, + src/libcursor/CMakeLists.txt, src/libcursor/Makefile.am, + src/libcursor/libcursor.3, src/liborle/CMakeLists.txt, + src/liborle/Makefile.am, src/liborle/liborle.3, + src/libwdb/CMakeLists.txt, src/libwdb/Makefile.am, + src/libwdb/libwdb.3, src/mged/CMakeLists.txt, + src/mged/Makefile.am, src/mged/cad_boundp.1, + src/mged/cad_parea.1, src/nirt/CMakeLists.txt, + src/nirt/Makefile.am, src/nirt/showshot.1, + src/remrt/CMakeLists.txt, src/remrt/Makefile.am, + src/remrt/remrt.1, src/rt/CMakeLists.txt, src/rt/Makefile.am, + src/rt/reshoot.1, src/rt/rt_bot_faces.1, src/rt/rtg3.1, + src/rt/rthide.1, src/rt/rtpp.1, src/rt/rtrange.1, src/rt/rtray.1, + src/rt/rtregis.1, src/rt/rtscale.1, src/rt/rtshot.1, + src/rt/rtwalk.1, src/rt/rtweight.1, src/rt/rtxray.1, + src/rttherm/CMakeLists.txt, src/rttherm/Makefile.am, + src/rttherm/rttherm.1, src/rttherm/ssamp-bw.1, + src/tab/CMakeLists.txt, src/tab/Makefile.am, + src/tab/scriptsort.1, src/tab/tabinterp.1, src/tab/tabsub.1: + Whoosh - remove the man pages converted to xml. + +2012-12-02 19:40 popescuandrei + + * [r53946] include/vmath.h: + Moved mat_t description from mat.c to vmath.h + +2012-12-02 19:20 starseeker + + * [r53945] doc/docbook/system/man1/en/CMakeLists.txt, + doc/docbook/system/man1/en/aliastorle.xml, + doc/docbook/system/man1/en/applymap.xml, + doc/docbook/system/man1/en/avg4.xml, + doc/docbook/system/man1/en/crop.xml, + doc/docbook/system/man1/en/cubitorle.xml, + doc/docbook/system/man1/en/dataprobe.xml, + doc/docbook/system/man1/en/dvirle.xml, + doc/docbook/system/man1/en/fant.xml, + doc/docbook/system/man1/en/fedex.xml, + doc/docbook/system/man1/en/fedex_plus.xml, + doc/docbook/system/man1/en/get4d.xml, + doc/docbook/system/man1/en/get_orion.xml, + doc/docbook/system/man1/en/getami.xml, + doc/docbook/system/man1/en/getap.xml, + doc/docbook/system/man1/en/getbob.xml, + doc/docbook/system/man1/en/getcx3d.xml, + doc/docbook/system/man1/en/getfb.xml, + doc/docbook/system/man1/en/getgmr.xml, + doc/docbook/system/man1/en/getiris.xml, + doc/docbook/system/man1/en/getmac.xml, + doc/docbook/system/man1/en/getmex.xml, + doc/docbook/system/man1/en/getqcr.xml, + doc/docbook/system/man1/en/getren.xml, + doc/docbook/system/man1/en/getsun.xml, + doc/docbook/system/man1/en/gettaac.xml, + doc/docbook/system/man1/en/getx10.xml, + doc/docbook/system/man1/en/getx11.xml, + doc/docbook/system/man1/en/giftorle.xml, + doc/docbook/system/man1/en/graytorle.xml, + doc/docbook/system/man1/en/into.xml, + doc/docbook/system/man1/en/jove.xml, + doc/docbook/system/man1/en/mcut.xml, + doc/docbook/system/man1/en/mergechan.xml, + doc/docbook/system/man1/en/mkProbe.xml, + doc/docbook/system/man1/en/painttorle.xml, + doc/docbook/system/man1/en/pgmtorle.xml, + doc/docbook/system/man1/en/ppmtorle.xml, + doc/docbook/system/man1/en/pyrmask.xml, + doc/docbook/system/man1/en/rastorle.xml, + doc/docbook/system/man1/en/rawtorle.xml, + doc/docbook/system/man1/en/read98721.xml, + doc/docbook/system/man1/en/repos.xml, + doc/docbook/system/man1/en/rlatorle.xml, + doc/docbook/system/man1/en/rleClock.xml, + doc/docbook/system/man1/en/rleaddcom.xml, + doc/docbook/system/man1/en/rleaddeof.xml, + doc/docbook/system/man1/en/rlebg.xml, + doc/docbook/system/man1/en/rlebox.xml, + doc/docbook/system/man1/en/rlecat.xml, + doc/docbook/system/man1/en/rleccube.xml, + doc/docbook/system/man1/en/rlecomp.xml, + doc/docbook/system/man1/en/rledither.xml, + doc/docbook/system/man1/en/rleflip.xml, + doc/docbook/system/man1/en/rlegrid.xml, + doc/docbook/system/man1/en/rlehdr.xml, + doc/docbook/system/man1/en/rlehisto.xml, + doc/docbook/system/man1/en/rleinterp.xml, + doc/docbook/system/man1/en/rleldmap.xml, + doc/docbook/system/man1/en/rlemandl.xml, + doc/docbook/system/man1/en/rlenoise.xml, + doc/docbook/system/man1/en/rlepatch.xml, + doc/docbook/system/man1/en/rleprint.xml, + doc/docbook/system/man1/en/rlequant.xml, + doc/docbook/system/man1/en/rlescale.xml, + doc/docbook/system/man1/en/rleselect.xml, + doc/docbook/system/man1/en/rlesetbg.xml, + doc/docbook/system/man1/en/rleskel.xml, + doc/docbook/system/man1/en/rlespiff.xml, + doc/docbook/system/man1/en/rlesplice.xml, + doc/docbook/system/man1/en/rlesplit.xml, + doc/docbook/system/man1/en/rlestereo.xml, + doc/docbook/system/man1/en/rleswap.xml, + doc/docbook/system/man1/en/rletoabA60.xml, + doc/docbook/system/man1/en/rletoabA62.xml, + doc/docbook/system/man1/en/rletoalias.xml, + doc/docbook/system/man1/en/rletoascii.xml, + doc/docbook/system/man1/en/rletocgm.xml, + doc/docbook/system/man1/en/rletogif.xml, + doc/docbook/system/man1/en/rletogray.xml, + doc/docbook/system/man1/en/rletopaint.xml, + doc/docbook/system/man1/en/rletoppm.xml, + doc/docbook/system/man1/en/rletops.xml, + doc/docbook/system/man1/en/rletorast.xml, + doc/docbook/system/man1/en/rletoraw.xml, + doc/docbook/system/man1/en/rletorla.xml, + doc/docbook/system/man1/en/rletotarga.xml, + doc/docbook/system/man1/en/rletotiff.xml, + doc/docbook/system/man1/en/rlezoom.xml, + doc/docbook/system/man1/en/show3.xml, + doc/docbook/system/man1/en/smush.xml, + doc/docbook/system/man1/en/targatorle.xml, + doc/docbook/system/man1/en/tclsh.xml, + doc/docbook/system/man1/en/template.xml, + doc/docbook/system/man1/en/tifftorle.xml, + doc/docbook/system/man1/en/to8.xml, + doc/docbook/system/man1/en/tobw.xml, + doc/docbook/system/man1/en/unexp.xml, + doc/docbook/system/man1/en/unslice.xml, + doc/docbook/system/man1/en/urt.xml, + doc/docbook/system/man1/en/wasatchrle.xml, + doc/docbook/system/man1/en/wish.xml, + doc/docbook/system/man3/en/3DBorder.xml, + doc/docbook/system/man3/en/Access.xml, + doc/docbook/system/man3/en/AddErrInfo.xml, + doc/docbook/system/man3/en/AddOption.xml, + doc/docbook/system/man3/en/Alloc.xml, + doc/docbook/system/man3/en/AllowExc.xml, + doc/docbook/system/man3/en/AppInit.xml, + doc/docbook/system/man3/en/AssocData.xml, + doc/docbook/system/man3/en/Async.xml, + doc/docbook/system/man3/en/BackgdErr.xml, + doc/docbook/system/man3/en/Backslash.xml, + doc/docbook/system/man3/en/BindTable.xml, + doc/docbook/system/man3/en/BoolObj.xml, + doc/docbook/system/man3/en/ByteArrObj.xml, + doc/docbook/system/man3/en/CMakeLists.txt, + doc/docbook/system/man3/en/CallDel.xml, + doc/docbook/system/man3/en/CanvPsY.xml, + doc/docbook/system/man3/en/CanvTkwin.xml, + doc/docbook/system/man3/en/CanvTxtInfo.xml, + doc/docbook/system/man3/en/ChnlStack.xml, + doc/docbook/system/man3/en/Class.xml, + doc/docbook/system/man3/en/Clipboard.xml, + doc/docbook/system/man3/en/ClrSelect.xml, + doc/docbook/system/man3/en/CmdCmplt.xml, + doc/docbook/system/man3/en/Concat.xml, + doc/docbook/system/man3/en/ConfigWidg.xml, + doc/docbook/system/man3/en/ConfigWind.xml, + doc/docbook/system/man3/en/CoordToWin.xml, + doc/docbook/system/man3/en/CrtChannel.xml, + doc/docbook/system/man3/en/CrtChnlHdlr.xml, + doc/docbook/system/man3/en/CrtCloseHdlr.xml, + doc/docbook/system/man3/en/CrtCmHdlr.xml, + doc/docbook/system/man3/en/CrtCommand.xml, + doc/docbook/system/man3/en/CrtConsoleChan.xml, + doc/docbook/system/man3/en/CrtErrHdlr.xml, + doc/docbook/system/man3/en/CrtFileHdlr.xml, + doc/docbook/system/man3/en/CrtGenHdlr.xml, + doc/docbook/system/man3/en/CrtImgType.xml, + doc/docbook/system/man3/en/CrtInterp.xml, + doc/docbook/system/man3/en/CrtItemType.xml, + doc/docbook/system/man3/en/CrtMathFnc.xml, + doc/docbook/system/man3/en/CrtObjCmd.xml, + doc/docbook/system/man3/en/CrtPhImgFmt.xml, + doc/docbook/system/man3/en/CrtSelHdlr.xml, + doc/docbook/system/man3/en/CrtSlave.xml, + doc/docbook/system/man3/en/CrtTimerHdlr.xml, + doc/docbook/system/man3/en/CrtTrace.xml, + doc/docbook/system/man3/en/CrtWindow.xml, + doc/docbook/system/man3/en/DString.xml, + doc/docbook/system/man3/en/DeleteImg.xml, + doc/docbook/system/man3/en/DetachPids.xml, + doc/docbook/system/man3/en/DictObj.xml, + doc/docbook/system/man3/en/DoOneEvent.xml, + doc/docbook/system/man3/en/DoWhenIdle.xml, + doc/docbook/system/man3/en/DoubleObj.xml, + doc/docbook/system/man3/en/DrawFocHlt.xml, + doc/docbook/system/man3/en/DumpActiveMemory.xml, + doc/docbook/system/man3/en/Encoding.xml, + doc/docbook/system/man3/en/Ensemble.xml, + doc/docbook/system/man3/en/Environment.xml, + doc/docbook/system/man3/en/Eval.xml, + doc/docbook/system/man3/en/EventHndlr.xml, + doc/docbook/system/man3/en/Exit.xml, + doc/docbook/system/man3/en/ExprLong.xml, + doc/docbook/system/man3/en/ExprLongObj.xml, + doc/docbook/system/man3/en/FileSystem.xml, + doc/docbook/system/man3/en/FindExec.xml, + doc/docbook/system/man3/en/FindPhoto.xml, + doc/docbook/system/man3/en/FontId.xml, + doc/docbook/system/man3/en/FreeXId.xml, + doc/docbook/system/man3/en/GeomReq.xml, + doc/docbook/system/man3/en/GetAnchor.xml, + doc/docbook/system/man3/en/GetBitmap.xml, + doc/docbook/system/man3/en/GetCapStyl.xml, + doc/docbook/system/man3/en/GetClrmap.xml, + doc/docbook/system/man3/en/GetColor.xml, + doc/docbook/system/man3/en/GetCursor.xml, + doc/docbook/system/man3/en/GetCwd.xml, + doc/docbook/system/man3/en/GetDash.xml, + doc/docbook/system/man3/en/GetFont.xml, + doc/docbook/system/man3/en/GetGC.xml, + doc/docbook/system/man3/en/GetHINSTANCE.xml, + doc/docbook/system/man3/en/GetHWND.xml, + doc/docbook/system/man3/en/GetHostName.xml, + doc/docbook/system/man3/en/GetImage.xml, + doc/docbook/system/man3/en/GetIndex.xml, + doc/docbook/system/man3/en/GetInt.xml, + doc/docbook/system/man3/en/GetJoinStl.xml, + doc/docbook/system/man3/en/GetJustify.xml, + doc/docbook/system/man3/en/GetOpnFl.xml, + doc/docbook/system/man3/en/GetOption.xml, + doc/docbook/system/man3/en/GetPixels.xml, + doc/docbook/system/man3/en/GetPixmap.xml, + doc/docbook/system/man3/en/GetRelief.xml, + doc/docbook/system/man3/en/GetRootCrd.xml, + doc/docbook/system/man3/en/GetScroll.xml, + doc/docbook/system/man3/en/GetSelect.xml, + doc/docbook/system/man3/en/GetStdChan.xml, + doc/docbook/system/man3/en/GetTime.xml, + doc/docbook/system/man3/en/GetUid.xml, + doc/docbook/system/man3/en/GetVRoot.xml, + doc/docbook/system/man3/en/GetVersion.xml, + doc/docbook/system/man3/en/GetVisual.xml, + doc/docbook/system/man3/en/Grab.xml, + doc/docbook/system/man3/en/HWNDToWindow.xml, + doc/docbook/system/man3/en/HandleEvent.xml, + doc/docbook/system/man3/en/Hash.xml, + doc/docbook/system/man3/en/IdToWindow.xml, + doc/docbook/system/man3/en/ImgChanged.xml, + doc/docbook/system/man3/en/Inactive.xml, + doc/docbook/system/man3/en/Init.xml, + doc/docbook/system/man3/en/InitStubs.xml, + doc/docbook/system/man3/en/IntObj.xml, + doc/docbook/system/man3/en/InternAtom.xml, + doc/docbook/system/man3/en/Interp.xml, + doc/docbook/system/man3/en/Limit.xml, + doc/docbook/system/man3/en/LinkVar.xml, + doc/docbook/system/man3/en/List.xml, + doc/docbook/system/man3/en/ListObj.xml, + doc/docbook/system/man3/en/MainLoop.xml, + doc/docbook/system/man3/en/MainWin.xml, + doc/docbook/system/man3/en/MaintGeom.xml, + doc/docbook/system/man3/en/ManageGeom.xml, + doc/docbook/system/man3/en/MapWindow.xml, + doc/docbook/system/man3/en/MeasureChar.xml, + doc/docbook/system/man3/en/MoveToplev.xml, + doc/docbook/system/man3/en/Name.xml, + doc/docbook/system/man3/en/NameOfImg.xml, + doc/docbook/system/man3/en/Namespace.xml, + doc/docbook/system/man3/en/Notifier.xml, + doc/docbook/system/man3/en/Object.xml, + doc/docbook/system/man3/en/ObjectType.xml, + doc/docbook/system/man3/en/OpenFileChnl.xml, + doc/docbook/system/man3/en/OpenTcp.xml, + doc/docbook/system/man3/en/OwnSelect.xml, + doc/docbook/system/man3/en/Panic.xml, + doc/docbook/system/man3/en/ParseArgv.xml, + doc/docbook/system/man3/en/ParseCmd.xml, + doc/docbook/system/man3/en/PkgRequire.xml, + doc/docbook/system/man3/en/Preserve.xml, + doc/docbook/system/man3/en/PrintDbl.xml, + doc/docbook/system/man3/en/QWinEvent.xml, + doc/docbook/system/man3/en/RecEvalObj.xml, + doc/docbook/system/man3/en/RecordEval.xml, + doc/docbook/system/man3/en/RegConfig.xml, + doc/docbook/system/man3/en/RegExp.xml, + doc/docbook/system/man3/en/RegisterC.xml, + doc/docbook/system/man3/en/Restack.xml, + doc/docbook/system/man3/en/RestrictEv.xml, + doc/docbook/system/man3/en/SaveResult.xml, + doc/docbook/system/man3/en/SetAppName.xml, + doc/docbook/system/man3/en/SetCaret.xml, + doc/docbook/system/man3/en/SetChanErr.xml, + doc/docbook/system/man3/en/SetClass.xml, + doc/docbook/system/man3/en/SetClassProcs.xml, + doc/docbook/system/man3/en/SetErrno.xml, + doc/docbook/system/man3/en/SetGrid.xml, + doc/docbook/system/man3/en/SetOptions.xml, + doc/docbook/system/man3/en/SetRecLmt.xml, + doc/docbook/system/man3/en/SetResult.xml, + doc/docbook/system/man3/en/SetVar.xml, + doc/docbook/system/man3/en/SetVisual.xml, + doc/docbook/system/man3/en/Signal.xml, + doc/docbook/system/man3/en/Sleep.xml, + doc/docbook/system/man3/en/SourceRCFile.xml, + doc/docbook/system/man3/en/SplitList.xml, + doc/docbook/system/man3/en/SplitPath.xml, + doc/docbook/system/man3/en/Stack.xml, + doc/docbook/system/man3/en/StaticPkg.xml, + doc/docbook/system/man3/en/StdChannels.xml, + doc/docbook/system/man3/en/StrMatch.xml, + doc/docbook/system/man3/en/StrictMotif.xml, + doc/docbook/system/man3/en/StringObj.xml, + doc/docbook/system/man3/en/SubstObj.xml, + doc/docbook/system/man3/en/TCL_MEM_DEBUG.xml, + doc/docbook/system/man3/en/Tcl_Main.xml, + doc/docbook/system/man3/en/TextLayout.xml, + doc/docbook/system/man3/en/Thread.xml, + doc/docbook/system/man3/en/TkInitStubs.xml, + doc/docbook/system/man3/en/Tk_Init.xml, + doc/docbook/system/man3/en/Tk_Main.xml, + doc/docbook/system/man3/en/ToUpper.xml, + doc/docbook/system/man3/en/TraceCmd.xml, + doc/docbook/system/man3/en/TraceVar.xml, + doc/docbook/system/man3/en/Translate.xml, + doc/docbook/system/man3/en/UniCharIsAlpha.xml, + doc/docbook/system/man3/en/UpVar.xml, + doc/docbook/system/man3/en/Utf.xml, + doc/docbook/system/man3/en/WindowId.xml, + doc/docbook/system/man3/en/WrongNumArgs.xml, + doc/docbook/system/man3/en/buildmap.xml, + doc/docbook/system/man3/en/colorquant.xml, + doc/docbook/system/man3/en/dither.xml, + doc/docbook/system/man3/en/float_to_exp.xml, + doc/docbook/system/man3/en/hilbert.xml, + doc/docbook/system/man3/en/inv_cmap.xml, + doc/docbook/system/man3/en/libpng.xml, + doc/docbook/system/man3/en/libpngpf.xml, + doc/docbook/system/man3/en/librle.xml, + doc/docbook/system/man3/en/libutahrle.xml, + doc/docbook/system/man3/en/rgb_to_bw.xml, + doc/docbook/system/man3/en/rle_addhist.xml, + doc/docbook/system/man3/en/rle_cp.xml, + doc/docbook/system/man3/en/rle_get_set.xml, + doc/docbook/system/man3/en/rle_getraw.xml, + doc/docbook/system/man3/en/rle_getrow.xml, + doc/docbook/system/man3/en/rle_getskip.xml, + doc/docbook/system/man3/en/rle_hdr.xml, + doc/docbook/system/man3/en/rle_op.xml, + doc/docbook/system/man3/en/rle_open_f.xml, + doc/docbook/system/man3/en/rle_put_init.xml, + doc/docbook/system/man3/en/rle_putcom.xml, + doc/docbook/system/man3/en/rle_puteof.xml, + doc/docbook/system/man3/en/rle_putraw.xml, + doc/docbook/system/man3/en/rle_putrow.xml, + doc/docbook/system/man3/en/rle_raw_free.xml, + doc/docbook/system/man3/en/rle_rawtorow.xml, + doc/docbook/system/man3/en/rle_row_free.xml, + doc/docbook/system/man3/en/rle_skiprow.xml, + doc/docbook/system/man3/en/scanargs.xml, + doc/docbook/system/man3/en/ttk_Geometry.xml, + doc/docbook/system/man3/en/ttk_Theme.xml, + doc/docbook/system/man3/en/zlib.xml, + doc/docbook/system/man5/en/CMakeLists.txt, + doc/docbook/system/man5/en/png.xml, + doc/docbook/system/man5/en/rle.xml: + Remove src/other man pages from DocBook conversion - while the + utahrle and step man page conversions are potentially useful, + src/other contains separate projects so they'll need to be set up + as separate builds in their respective projects. Revision control + will hold the conversions until we're ready for them + +2012-12-02 18:47 caen23 + + * [r53944] doc/docbook/system/man1/en/CMakeLists.txt, + doc/docbook/system/man1/en/aliastorle.xml, + doc/docbook/system/man1/en/anim_script.xml, + doc/docbook/system/man1/en/anim_sort.xml, + doc/docbook/system/man1/en/anim_time.xml, + doc/docbook/system/man1/en/anim_track.xml, + doc/docbook/system/man1/en/anim_turn.xml, + doc/docbook/system/man1/en/applymap.xml, + doc/docbook/system/man1/en/avg4.xml, + doc/docbook/system/man1/en/cad_boundp.xml, + doc/docbook/system/man1/en/cad_parea.xml, + doc/docbook/system/man1/en/canonize.xml, + doc/docbook/system/man1/en/chan_mult.xml, + doc/docbook/system/man1/en/chan_permute.xml, + doc/docbook/system/man1/en/crop.xml, + doc/docbook/system/man1/en/cubitorle.xml, + doc/docbook/system/man1/en/dataprobe.xml, + doc/docbook/system/man1/en/dvirle.xml, + doc/docbook/system/man1/en/fant.xml, + doc/docbook/system/man1/en/fbed.xml, + doc/docbook/system/man1/en/fbserv.xml, + doc/docbook/system/man1/en/fedex.xml, + doc/docbook/system/man1/en/fedex_plus.xml, + doc/docbook/system/man1/en/firpass.xml, + doc/docbook/system/man1/en/g_diff.xml, + doc/docbook/system/man1/en/g_lint.xml, + doc/docbook/system/man1/en/get4d.xml, + doc/docbook/system/man1/en/get_orion.xml, + doc/docbook/system/man1/en/getami.xml, + doc/docbook/system/man1/en/getap.xml, + doc/docbook/system/man1/en/getbob.xml, + doc/docbook/system/man1/en/getcx3d.xml, + doc/docbook/system/man1/en/getfb.xml, + doc/docbook/system/man1/en/getgmr.xml, + doc/docbook/system/man1/en/getiris.xml, + doc/docbook/system/man1/en/getmac.xml, + doc/docbook/system/man1/en/getmex.xml, + doc/docbook/system/man1/en/getqcr.xml, + doc/docbook/system/man1/en/getren.xml, + doc/docbook/system/man1/en/getsun.xml, + doc/docbook/system/man1/en/gettaac.xml, + doc/docbook/system/man1/en/getx10.xml, + doc/docbook/system/man1/en/getx11.xml, + doc/docbook/system/man1/en/giftorle.xml, + doc/docbook/system/man1/en/graytorle.xml, + doc/docbook/system/man1/en/halftone.xml, + doc/docbook/system/man1/en/into.xml, + doc/docbook/system/man1/en/ir-X.xml, + doc/docbook/system/man1/en/irdisp.xml, + doc/docbook/system/man1/en/jove.xml, + doc/docbook/system/man1/en/lgt.xml, + doc/docbook/system/man1/en/mcut.xml, + doc/docbook/system/man1/en/mergechan.xml, + doc/docbook/system/man1/en/mkProbe.xml, + doc/docbook/system/man1/en/painttorle.xml, + doc/docbook/system/man1/en/pgmtorle.xml, + doc/docbook/system/man1/en/pictx.xml, + doc/docbook/system/man1/en/ppmtorle.xml, + doc/docbook/system/man1/en/pyrmask.xml, + doc/docbook/system/man1/en/rastorle.xml, + doc/docbook/system/man1/en/rawtorle.xml, + doc/docbook/system/man1/en/read98721.xml, + doc/docbook/system/man1/en/remapid.xml, + doc/docbook/system/man1/en/remrt.xml, + doc/docbook/system/man1/en/repos.xml, + doc/docbook/system/man1/en/reshoot.xml, + doc/docbook/system/man1/en/rlatorle.xml, + doc/docbook/system/man1/en/rleClock.xml, + doc/docbook/system/man1/en/rleaddcom.xml, + doc/docbook/system/man1/en/rleaddeof.xml, + doc/docbook/system/man1/en/rlebg.xml, + doc/docbook/system/man1/en/rlebox.xml, + doc/docbook/system/man1/en/rlecat.xml, + doc/docbook/system/man1/en/rleccube.xml, + doc/docbook/system/man1/en/rlecomp.xml, + doc/docbook/system/man1/en/rledither.xml, + doc/docbook/system/man1/en/rleflip.xml, + doc/docbook/system/man1/en/rlegrid.xml, + doc/docbook/system/man1/en/rlehdr.xml, + doc/docbook/system/man1/en/rlehisto.xml, + doc/docbook/system/man1/en/rleinterp.xml, + doc/docbook/system/man1/en/rleldmap.xml, + doc/docbook/system/man1/en/rlemandl.xml, + doc/docbook/system/man1/en/rlenoise.xml, + doc/docbook/system/man1/en/rlepatch.xml, + doc/docbook/system/man1/en/rleprint.xml, + doc/docbook/system/man1/en/rlequant.xml, + doc/docbook/system/man1/en/rlescale.xml, + doc/docbook/system/man1/en/rleselect.xml, + doc/docbook/system/man1/en/rlesetbg.xml, + doc/docbook/system/man1/en/rleskel.xml, + doc/docbook/system/man1/en/rlespiff.xml, + doc/docbook/system/man1/en/rlesplice.xml, + doc/docbook/system/man1/en/rlesplit.xml, + doc/docbook/system/man1/en/rlestereo.xml, + doc/docbook/system/man1/en/rleswap.xml, + doc/docbook/system/man1/en/rletoabA60.xml, + doc/docbook/system/man1/en/rletoabA62.xml, + doc/docbook/system/man1/en/rletoalias.xml, + doc/docbook/system/man1/en/rletoascii.xml, + doc/docbook/system/man1/en/rletocgm.xml, + doc/docbook/system/man1/en/rletogif.xml, + doc/docbook/system/man1/en/rletogray.xml, + doc/docbook/system/man1/en/rletopaint.xml, + doc/docbook/system/man1/en/rletoppm.xml, + doc/docbook/system/man1/en/rletops.xml, + doc/docbook/system/man1/en/rletorast.xml, + doc/docbook/system/man1/en/rletoraw.xml, + doc/docbook/system/man1/en/rletorla.xml, + doc/docbook/system/man1/en/rletotarga.xml, + doc/docbook/system/man1/en/rletotiff.xml, + doc/docbook/system/man1/en/rlezoom.xml, + doc/docbook/system/man1/en/rt_bot_faces.xml, + doc/docbook/system/man1/en/rtg3.xml, + doc/docbook/system/man1/en/rthide.xml, + doc/docbook/system/man1/en/rtpp.xml, + doc/docbook/system/man1/en/rtrange.xml, + doc/docbook/system/man1/en/rtray.xml, + doc/docbook/system/man1/en/rtregis.xml, + doc/docbook/system/man1/en/rtscale.xml, + doc/docbook/system/man1/en/rtshot.xml, + doc/docbook/system/man1/en/rttherm.xml, + doc/docbook/system/man1/en/rtwalk.xml, + doc/docbook/system/man1/en/rtweight.xml, + doc/docbook/system/man1/en/rtxray.xml, + doc/docbook/system/man1/en/scriptsort.xml, + doc/docbook/system/man1/en/secpass.xml, + doc/docbook/system/man1/en/shapefact.xml, + doc/docbook/system/man1/en/show3.xml, + doc/docbook/system/man1/en/showshot.xml, + doc/docbook/system/man1/en/showtherm.xml, + doc/docbook/system/man1/en/smush.xml, + doc/docbook/system/man1/en/sqlite3.xml, + doc/docbook/system/man1/en/ssamp-bw.xml, + doc/docbook/system/man1/en/tabinterp.xml, + doc/docbook/system/man1/en/tabsub.xml, + doc/docbook/system/man1/en/targatorle.xml, + doc/docbook/system/man1/en/tclsh.xml, + doc/docbook/system/man1/en/template.xml, + doc/docbook/system/man1/en/tifftorle.xml, + doc/docbook/system/man1/en/to8.xml, + doc/docbook/system/man1/en/tobw.xml, + doc/docbook/system/man1/en/ug-g.xml, + doc/docbook/system/man1/en/unexp.xml, + doc/docbook/system/man1/en/unslice.xml, + doc/docbook/system/man1/en/urt.xml, + doc/docbook/system/man1/en/wasatchrle.xml, + doc/docbook/system/man1/en/wish.xml, + doc/docbook/system/man3/en/3DBorder.xml, + doc/docbook/system/man3/en/Access.xml, + doc/docbook/system/man3/en/AddErrInfo.xml, + doc/docbook/system/man3/en/AddOption.xml, + doc/docbook/system/man3/en/Alloc.xml, + doc/docbook/system/man3/en/AllowExc.xml, + doc/docbook/system/man3/en/AppInit.xml, + doc/docbook/system/man3/en/AssocData.xml, + doc/docbook/system/man3/en/Async.xml, + doc/docbook/system/man3/en/BackgdErr.xml, + doc/docbook/system/man3/en/Backslash.xml, + doc/docbook/system/man3/en/BindTable.xml, + doc/docbook/system/man3/en/BoolObj.xml, + doc/docbook/system/man3/en/ByteArrObj.xml, + doc/docbook/system/man3/en/CMakeLists.txt, + doc/docbook/system/man3/en/CallDel.xml, + doc/docbook/system/man3/en/CanvPsY.xml, + doc/docbook/system/man3/en/CanvTkwin.xml, + doc/docbook/system/man3/en/CanvTxtInfo.xml, + doc/docbook/system/man3/en/ChnlStack.xml, + doc/docbook/system/man3/en/Class.xml, + doc/docbook/system/man3/en/Clipboard.xml, + doc/docbook/system/man3/en/ClrSelect.xml, + doc/docbook/system/man3/en/CmdCmplt.xml, + doc/docbook/system/man3/en/Concat.xml, + doc/docbook/system/man3/en/ConfigWidg.xml, + doc/docbook/system/man3/en/ConfigWind.xml, + doc/docbook/system/man3/en/CoordToWin.xml, + doc/docbook/system/man3/en/CrtChannel.xml, + doc/docbook/system/man3/en/CrtChnlHdlr.xml, + doc/docbook/system/man3/en/CrtCloseHdlr.xml, + doc/docbook/system/man3/en/CrtCmHdlr.xml, + doc/docbook/system/man3/en/CrtCommand.xml, + doc/docbook/system/man3/en/CrtConsoleChan.xml, + doc/docbook/system/man3/en/CrtErrHdlr.xml, + doc/docbook/system/man3/en/CrtFileHdlr.xml, + doc/docbook/system/man3/en/CrtGenHdlr.xml, + doc/docbook/system/man3/en/CrtImgType.xml, + doc/docbook/system/man3/en/CrtInterp.xml, + doc/docbook/system/man3/en/CrtItemType.xml, + doc/docbook/system/man3/en/CrtMathFnc.xml, + doc/docbook/system/man3/en/CrtObjCmd.xml, + doc/docbook/system/man3/en/CrtPhImgFmt.xml, + doc/docbook/system/man3/en/CrtSelHdlr.xml, + doc/docbook/system/man3/en/CrtSlave.xml, + doc/docbook/system/man3/en/CrtTimerHdlr.xml, + doc/docbook/system/man3/en/CrtTrace.xml, + doc/docbook/system/man3/en/CrtWindow.xml, + doc/docbook/system/man3/en/DString.xml, + doc/docbook/system/man3/en/DeleteImg.xml, + doc/docbook/system/man3/en/DetachPids.xml, + doc/docbook/system/man3/en/DictObj.xml, + doc/docbook/system/man3/en/DoOneEvent.xml, + doc/docbook/system/man3/en/DoWhenIdle.xml, + doc/docbook/system/man3/en/DoubleObj.xml, + doc/docbook/system/man3/en/DrawFocHlt.xml, + doc/docbook/system/man3/en/DumpActiveMemory.xml, + doc/docbook/system/man3/en/Encoding.xml, + doc/docbook/system/man3/en/Ensemble.xml, + doc/docbook/system/man3/en/Environment.xml, + doc/docbook/system/man3/en/Eval.xml, + doc/docbook/system/man3/en/EventHndlr.xml, + doc/docbook/system/man3/en/Exit.xml, + doc/docbook/system/man3/en/ExprLong.xml, + doc/docbook/system/man3/en/ExprLongObj.xml, + doc/docbook/system/man3/en/FileSystem.xml, + doc/docbook/system/man3/en/FindExec.xml, + doc/docbook/system/man3/en/FindPhoto.xml, + doc/docbook/system/man3/en/FontId.xml, + doc/docbook/system/man3/en/FreeXId.xml, + doc/docbook/system/man3/en/GeomReq.xml, + doc/docbook/system/man3/en/GetAnchor.xml, + doc/docbook/system/man3/en/GetBitmap.xml, + doc/docbook/system/man3/en/GetCapStyl.xml, + doc/docbook/system/man3/en/GetClrmap.xml, + doc/docbook/system/man3/en/GetColor.xml, + doc/docbook/system/man3/en/GetCursor.xml, + doc/docbook/system/man3/en/GetCwd.xml, + doc/docbook/system/man3/en/GetDash.xml, + doc/docbook/system/man3/en/GetFont.xml, + doc/docbook/system/man3/en/GetGC.xml, + doc/docbook/system/man3/en/GetHINSTANCE.xml, + doc/docbook/system/man3/en/GetHWND.xml, + doc/docbook/system/man3/en/GetHostName.xml, + doc/docbook/system/man3/en/GetImage.xml, + doc/docbook/system/man3/en/GetIndex.xml, + doc/docbook/system/man3/en/GetInt.xml, + doc/docbook/system/man3/en/GetJoinStl.xml, + doc/docbook/system/man3/en/GetJustify.xml, + doc/docbook/system/man3/en/GetOpnFl.xml, + doc/docbook/system/man3/en/GetOption.xml, + doc/docbook/system/man3/en/GetPixels.xml, + doc/docbook/system/man3/en/GetPixmap.xml, + doc/docbook/system/man3/en/GetRelief.xml, + doc/docbook/system/man3/en/GetRootCrd.xml, + doc/docbook/system/man3/en/GetScroll.xml, + doc/docbook/system/man3/en/GetSelect.xml, + doc/docbook/system/man3/en/GetStdChan.xml, + doc/docbook/system/man3/en/GetTime.xml, + doc/docbook/system/man3/en/GetUid.xml, + doc/docbook/system/man3/en/GetVRoot.xml, + doc/docbook/system/man3/en/GetVersion.xml, + doc/docbook/system/man3/en/GetVisual.xml, + doc/docbook/system/man3/en/Grab.xml, + doc/docbook/system/man3/en/HWNDToWindow.xml, + doc/docbook/system/man3/en/HandleEvent.xml, + doc/docbook/system/man3/en/Hash.xml, + doc/docbook/system/man3/en/IdToWindow.xml, + doc/docbook/system/man3/en/ImgChanged.xml, + doc/docbook/system/man3/en/Inactive.xml, + doc/docbook/system/man3/en/Init.xml, + doc/docbook/system/man3/en/InitStubs.xml, + doc/docbook/system/man3/en/IntObj.xml, + doc/docbook/system/man3/en/InternAtom.xml, + doc/docbook/system/man3/en/Interp.xml, + doc/docbook/system/man3/en/Limit.xml, + doc/docbook/system/man3/en/LinkVar.xml, + doc/docbook/system/man3/en/List.xml, + doc/docbook/system/man3/en/ListObj.xml, + doc/docbook/system/man3/en/MainLoop.xml, + doc/docbook/system/man3/en/MainWin.xml, + doc/docbook/system/man3/en/MaintGeom.xml, + doc/docbook/system/man3/en/ManageGeom.xml, + doc/docbook/system/man3/en/MapWindow.xml, + doc/docbook/system/man3/en/MeasureChar.xml, + doc/docbook/system/man3/en/MoveToplev.xml, + doc/docbook/system/man3/en/Name.xml, + doc/docbook/system/man3/en/NameOfImg.xml, + doc/docbook/system/man3/en/Namespace.xml, + doc/docbook/system/man3/en/Notifier.xml, + doc/docbook/system/man3/en/Object.xml, + doc/docbook/system/man3/en/ObjectType.xml, + doc/docbook/system/man3/en/OpenFileChnl.xml, + doc/docbook/system/man3/en/OpenTcp.xml, + doc/docbook/system/man3/en/OwnSelect.xml, + doc/docbook/system/man3/en/Panic.xml, + doc/docbook/system/man3/en/ParseArgv.xml, + doc/docbook/system/man3/en/ParseCmd.xml, + doc/docbook/system/man3/en/PkgRequire.xml, + doc/docbook/system/man3/en/Preserve.xml, + doc/docbook/system/man3/en/PrintDbl.xml, + doc/docbook/system/man3/en/QWinEvent.xml, + doc/docbook/system/man3/en/RecEvalObj.xml, + doc/docbook/system/man3/en/RecordEval.xml, + doc/docbook/system/man3/en/RegConfig.xml, + doc/docbook/system/man3/en/RegExp.xml, + doc/docbook/system/man3/en/RegisterC.xml, + doc/docbook/system/man3/en/Restack.xml, + doc/docbook/system/man3/en/RestrictEv.xml, + doc/docbook/system/man3/en/SaveResult.xml, + doc/docbook/system/man3/en/SetAppName.xml, + doc/docbook/system/man3/en/SetCaret.xml, + doc/docbook/system/man3/en/SetChanErr.xml, + doc/docbook/system/man3/en/SetClass.xml, + doc/docbook/system/man3/en/SetClassProcs.xml, + doc/docbook/system/man3/en/SetErrno.xml, + doc/docbook/system/man3/en/SetGrid.xml, + doc/docbook/system/man3/en/SetOptions.xml, + doc/docbook/system/man3/en/SetRecLmt.xml, + doc/docbook/system/man3/en/SetResult.xml, + doc/docbook/system/man3/en/SetVar.xml, + doc/docbook/system/man3/en/SetVisual.xml, + doc/docbook/system/man3/en/Signal.xml, + doc/docbook/system/man3/en/Sleep.xml, + doc/docbook/system/man3/en/SourceRCFile.xml, + doc/docbook/system/man3/en/SplitList.xml, + doc/docbook/system/man3/en/SplitPath.xml, + doc/docbook/system/man3/en/Stack.xml, + doc/docbook/system/man3/en/StaticPkg.xml, + doc/docbook/system/man3/en/StdChannels.xml, + doc/docbook/system/man3/en/StrMatch.xml, + doc/docbook/system/man3/en/StrictMotif.xml, + doc/docbook/system/man3/en/StringObj.xml, + doc/docbook/system/man3/en/SubstObj.xml, + doc/docbook/system/man3/en/TCL_MEM_DEBUG.xml, + doc/docbook/system/man3/en/Tcl_Main.xml, + doc/docbook/system/man3/en/TextLayout.xml, + doc/docbook/system/man3/en/Thread.xml, + doc/docbook/system/man3/en/TkInitStubs.xml, + doc/docbook/system/man3/en/Tk_Init.xml, + doc/docbook/system/man3/en/Tk_Main.xml, + doc/docbook/system/man3/en/ToUpper.xml, + doc/docbook/system/man3/en/TraceCmd.xml, + doc/docbook/system/man3/en/TraceVar.xml, + doc/docbook/system/man3/en/Translate.xml, + doc/docbook/system/man3/en/UniCharIsAlpha.xml, + doc/docbook/system/man3/en/UpVar.xml, + doc/docbook/system/man3/en/Utf.xml, + doc/docbook/system/man3/en/WindowId.xml, + doc/docbook/system/man3/en/WrongNumArgs.xml, + doc/docbook/system/man3/en/buildmap.xml, + doc/docbook/system/man3/en/colorquant.xml, + doc/docbook/system/man3/en/dither.xml, + doc/docbook/system/man3/en/float_to_exp.xml, + doc/docbook/system/man3/en/hilbert.xml, + doc/docbook/system/man3/en/htond.xml, + doc/docbook/system/man3/en/inv_cmap.xml, + doc/docbook/system/man3/en/libcursor.xml, + doc/docbook/system/man3/en/liborle.xml, + doc/docbook/system/man3/en/libplot3.xml, + doc/docbook/system/man3/en/libpng.xml, + doc/docbook/system/man3/en/libpngpf.xml, + doc/docbook/system/man3/en/librle.xml, + doc/docbook/system/man3/en/librt.xml, + doc/docbook/system/man3/en/libutahrle.xml, + doc/docbook/system/man3/en/libwdb.xml, + doc/docbook/system/man3/en/redblack.xml, + doc/docbook/system/man3/en/rgb_to_bw.xml, + doc/docbook/system/man3/en/rle_addhist.xml, + doc/docbook/system/man3/en/rle_cp.xml, + doc/docbook/system/man3/en/rle_get_set.xml, + doc/docbook/system/man3/en/rle_getraw.xml, + doc/docbook/system/man3/en/rle_getrow.xml, + doc/docbook/system/man3/en/rle_getskip.xml, + doc/docbook/system/man3/en/rle_hdr.xml, + doc/docbook/system/man3/en/rle_op.xml, + doc/docbook/system/man3/en/rle_open_f.xml, + doc/docbook/system/man3/en/rle_put_init.xml, + doc/docbook/system/man3/en/rle_putcom.xml, + doc/docbook/system/man3/en/rle_puteof.xml, + doc/docbook/system/man3/en/rle_putraw.xml, + doc/docbook/system/man3/en/rle_putrow.xml, + doc/docbook/system/man3/en/rle_raw_free.xml, + doc/docbook/system/man3/en/rle_rawtorow.xml, + doc/docbook/system/man3/en/rle_row_free.xml, + doc/docbook/system/man3/en/rle_skiprow.xml, + doc/docbook/system/man3/en/scanargs.xml, + doc/docbook/system/man3/en/ttk_Geometry.xml, + doc/docbook/system/man3/en/ttk_Theme.xml, + doc/docbook/system/man3/en/zlib.xml, + doc/docbook/system/man5/en/CMakeLists.txt, + doc/docbook/system/man5/en/png.xml, + doc/docbook/system/man5/en/rle.xml: + Convert remaining man pages to DocBook XML (GCI: + http://www.google-melange.com/gci/task/view/google/gci2012/7960234) + +2012-12-02 18:39 starseeker + + * [r53943] src/librt/primitives/dsp/dsp.c: + Initialize vars to quell warning in release build mode with gcc + 4.5.4 on gentoo linux. + +2012-12-02 18:27 popescuandrei + + * [r53942] src/libbn/mat.c: + /* V M A T H . H + * BRL-CAD + * + * Copyright (c) 2004-2012 United States Government as represented + by + * the U.S. Army Research Laboratory. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + License + * version 2.1 as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General + Public + * License along with this file; see the file named COPYING for + more + * information. + */ + /** @addtogroup mat */ + /** @{ */ + /** @file vmath.h + * + * @brief vector/matrix math + * + * This header file defines many commonly used 3D vector math + macros, + * and operates on vect_t, point_t, mat_t, and quat_t objects. + * + * @brief matrix representation + * 4 x 4 Matrix manipulation functions... + * + * Matrix array elements have the following positions in the + matrix: + @code + * | 0 1 2 3 | | 0 | + * [ 0 1 2 3 ] | 4 5 6 7 | | 1 | + * | 8 9 10 11 | | 2 | + * | 12 13 14 15 | | 3 | + * + * preVector (vect_t) Matrix (mat_t) postVector (vect_t) + @endcode + * + * Note that while many people in the computer graphics field use + * post-multiplication with row vectors (i.e., vector * matrix * + matrix + * ...) the BRL-CAD system uses the more traditional + representation + * of column vectors (i.e., ... matrix * matrix * vector). (The + * matrices in these two representations are the transposes of + each + * other). Therefore, when transforming a vector by a matrix, + * pre-multiplication is used, i.e.: + * + * view_vec = model2view_mat * model_vec + * + * Furthermore, additional transformations are multiplied on the + left, + * i.e.: + * + @code + * vec' = T1 * vec + * vec'' = T2 * T1 * vec = T2 * vec' + @endcode + * + * The most notable implication of this is the location of the + "delta" + * (translation) values in the matrix, i.e.: + * + @code + * x' (R0 R1 R2 Dx) x + * y' = (R4 R5 R6 Dy) * y + * z' (R8 R9 R10 Dz) z + * w' (0 0 0 1/s) w + @endcode + * + * Note - + *@n vect_t objects are 3-tuples + *@n hvect_t objects are 4-tuples + * + * Most of these macros require that the result be in separate + * storage, distinct from the input parameters, except where + noted. + * + * When writing macros like this, it is very important that any + * variables which are declared within code blocks inside a macro + * start with an underscore. This (hopefully) minimizes any name + * conflicts with user-provided parameters. For example: + * + * { register double _f; stuff; } + * + */ + + #ifndef __VMATH_H__ + #define __VMATH_H__ + + #include "common.h" + + /* for sqrt(), sin(), cos(), rint(), etc. */ + #ifdef WIN32 + # define _USE_MATH_DEFINES + #endif + #include + + /* for floating point tolerances and other math constants */ + #include + + /* for fastf_t */ + #include "bu.h" + + + __BEGIN_DECLS + + #ifndef M_ + # define M_ XXX /**< */ + #endif + + #ifndef M_1_PI + # define M_1_PI 0.31830988618379067153776752675 /**< 1/pi */ + #endif + #ifndef M_2_PI + # define M_2_PI 0.63661977236758134307553505349 /**< 2/pi */ + #endif + #ifndef M_2_SQRTPI + # define M_2_SQRTPI 1.12837916709551257389615890312 /**< + 2/sqrt(pi) */ + #endif + #ifndef M_E + # define M_E 2.71828182845904523536028747135 /**< e */ + #endif + #ifndef M_EULER + # define M_EULER 0.57721566490153286060651209008 /**< Euler's + constant */ + #endif + #ifndef M_LOG2E + # define M_LOG2E 1.44269504088896340735992468100 /**< log_2(e) */ + #endif + #ifndef M_LOG10E + # define M_LOG10E 0.43429448190325182765112891892 /**< log_10(e) + */ + #endif + #ifndef M_LN10 + # define M_LN10 2.30258509299404568401799145468 /**< log_e(10) */ + #endif + #ifndef M_LN2 + # define M_LN2 0.69314718055994530941723212146 /**< log_e(2) */ + #endif + #ifndef M_LNPI + # define M_LNPI 1.14472988584940017414342735135 /**< log_e(pi) */ + #endif + #ifndef M_PI + # define M_PI 3.14159265358979323846264338328 /**< pi */ + #endif + #ifndef M_PI_2 + # define M_PI_2 1.57079632679489661923132169164 /**< pi/2 */ + #endif + #ifndef M_PI_4 + # define M_PI_4 0.78539816339744830966156608458 /**< pi/4 */ + #endif + #ifndef M_SQRT1_2 + # define M_SQRT1_2 0.70710678118654752440084436210 /**< sqrt(1/2) + */ + #endif + #ifndef M_SQRT2 + # define M_SQRT2 1.41421356237309504880168872421 /**< sqrt(2) */ + #endif + #ifndef M_SQRT3 + # define M_SQRT3 1.73205080756887729352744634151 /**< sqrt(3) */ + #endif + #ifndef M_SQRTPI + # define M_SQRTPI 1.77245385090551602729816748334 /**< sqrt(pi) + */ + #endif + + #ifndef DEG2RAD + # define DEG2RAD 0.017453292519943295769236907684 /**< pi/180 */ + #endif + #ifndef RAD2DEG + # define RAD2DEG 57.295779513082320876798154814105 /**< 180/pi */ + #endif + + + /* minimum computation tolerances */ + #ifdef vax + # define VDIVIDE_TOL (1.0e-10) + # define VUNITIZE_TOL (1.0e-7) + #else + # ifdef DBL_EPSILON + # define VDIVIDE_TOL (DBL_EPSILON) + # else + # define VDIVIDE_TOL (1.0e-20) + # endif + # ifdef FLT_EPSILON + # define VUNITIZE_TOL (FLT_EPSILON) + # else + # define VUNITIZE_TOL (1.0e-15) + # endif + #endif + + /** @brief # of fastf_t's per vect2d_t */ + #define ELEMENTS_PER_VECT2D 2 + + /** @brief # of fastf_t's per point2d_t */ + #define ELEMENTS_PER_POINT2D 2 + + /** @brief # of fastf_t's per vect_t */ + #define ELEMENTS_PER_VECT 3 + + /** @brief # of fastf_t's per point_t */ + #define ELEMENTS_PER_POINT 3 + + /** @brief # of fastf_t's per hvect_t (homogeneous vector) */ + #define ELEMENTS_PER_HVECT 4 + + /** @brief # of fastf_t's per hpt_t (homogeneous point) */ + #define ELEMENTS_PER_HPOINT 4 + + /** @brief # of fastf_t's per plane_t */ + #define ELEMENTS_PER_PLANE 4 + + /** @brief # of fastf_t's per mat_t */ + #define ELEMENTS_PER_MAT (ELEMENTS_PER_PLANE*ELEMENTS_PER_PLANE) + + /* + * Types for matrices and vectors. + */ + + /** @brief 2-tuple vector */ + typedef fastf_t vect2d_t[ELEMENTS_PER_VECT2D]; + + /** @brief pointer to a 2-tuple vector */ + typedef fastf_t *vect2dp_t; + + /** @brief 2-tuple point */ + typedef fastf_t point2d_t[ELEMENTS_PER_POINT2D]; + + /** @brief pointer to a 2-tuple point */ + typedef fastf_t *point2dp_t; + + /** @brief 3-tuple vector */ + typedef fastf_t vect_t[ELEMENTS_PER_VECT]; + + /** @brief pointer to a 3-tuple vector */ + typedef fastf_t *vectp_t; + + /** @brief 3-tuple point */ + typedef fastf_t point_t[ELEMENTS_PER_POINT]; + + /** @brief pointer to a 3-tuple point */ + typedef fastf_t *pointp_t; + + /** @brief 4-tuple vector */ + typedef fastf_t hvect_t[ELEMENTS_PER_HVECT]; + + /** @brief 4-element quaternion */ + typedef hvect_t quat_t; + + /** @brief 4-tuple point */ + typedef fastf_t hpoint_t[ELEMENTS_PER_HPOINT]; + + /** @brief 4x4 matrix */ + typedef fastf_t mat_t[ELEMENTS_PER_MAT]; + + /** @brief pointer to a 4x4 matrix */ + typedef fastf_t *matp_t; + + /** Vector component names for homogeneous (4-tuple) vectors */ + typedef enum bn_vector_component_ { + X = 0, + Y = 1, + Z = 2, + H = 3, + W = H + } bn_vector_component; + + /** + * Locations of deltas (MD*) and scaling values (MS*) in a 4x4 + * Homogeneous Transform matrix + */ + typedef enum bn_matrix_component_ { + MSX = 0, + MDX = 3, + MSY = 5, + MDY = 7, + MSZ = 10, + MDZ = 11, + MSA = 15 + } bn_matrix_component; + + /** + * @brief Definition of a plane equation + * + * A plane is defined by a unit-length outward pointing normal + vector + * (N), and the perpendicular (shortest) distance from the origin + to + * the plane (in element N[W]). + * + * The plane consists of all points P=(x, y, z) such that + *@n VDOT(P, N) - N[W] == 0 + *@n that is, + *@n N[X]*x + N[Y]*y + N[Z]*z - N[W] == 0 + * + * The inside of the halfspace bounded by the plane + * consists of all points P such that + *@n VDOT(P, N) - N[W] <= 0 + * + * A ray with direction D is classified w.r.t. the plane by + * + *@n VDOT(D, N) < 0 ray enters halfspace defined by plane + *@n VDOT(D, N) == 0 ray is parallel to plane + *@n VDOT(D, N) > 0 ray exits halfspace defined by plane + */ + typedef fastf_t plane_t[ELEMENTS_PER_PLANE]; + + + /** + * Return truthfully whether a value is within a specified epsilon + * distance from zero. + */ + #define NEAR_ZERO(val, epsilon) (((val) > -epsilon) && ((val) < + epsilon)) + + /** + * Return truthfully whether all elements of a given vector are + within + * a specified epsilon distance from zero. + */ + #define VNEAR_ZERO(v, tol) \ + (NEAR_ZERO(v[X], tol) \ + && NEAR_ZERO(v[Y], tol) \ + && NEAR_ZERO(v[Z], tol)) + + /** + * Test for all elements of `v' being smaller than `tol'. + * Version for degree 2 vectors. + */ + #define V2NEAR_ZERO(v, tol) (NEAR_ZERO(v[X], tol) && + NEAR_ZERO(v[Y], tol)) + + /** + * Test for all elements of `v' being smaller than `tol'. + * Version for degree 2 vectors. + */ + #define HNEAR_ZERO(v, tol) \ + (NEAR_ZERO(v[X], tol) \ + && NEAR_ZERO(v[Y], tol) \ + && NEAR_ZERO(v[Z], tol) \ + && NEAR_ZERO(h[W], tol)) + + + /** + * Return truthfully whether a value is within a minimum + * representation tolerance from zero. + * + * Use not recommended due to compilation-variant tolerance. + */ + #define ZERO(_a) NEAR_ZERO((_a), SMALL_FASTF) + + /** + * Return truthfully whether a vector is within a minimum + * representation tolerance from zero. + * + * Use not recommended due to compilation-variant tolerance. + */ + #define VZERO(_a) VNEAR_ZERO((_a), SMALL_FASTF) + + /** + * Return truthfully whether a 2d vector is within a minimum + * representation tolerance from zero. + * + * Use not recommended due to compilation-variant tolerance. + */ + #define V2ZERO(_a) V2NEAR_ZERO((_a), SMALL_FASTF) + + /** + * Return truthfully whether a homogenized 4-element vector is + within + * a minimum representation tolerance from zero. + * + * Use not recommended due to compilation-variant tolerance. + */ + #define HZERO(_a) HNEAR_ZERO((_a), SMALL_FASTF) + + + /** + * Return truthfully whether two values are within a specified + epsilon + * distance from each other. + */ + #define NEAR_EQUAL(_a, _b, _tol) NEAR_ZERO((_a) - (_b), (_tol)) + + /** + * Return truthfully whether two 3D vectors are approximately + equal, + * within a specified absolute tolerance. + */ + #define VNEAR_EQUAL(_a, _b, _tol) \ + (NEAR_EQUAL((_a)[X], (_b)[X], (_tol)) \ + && NEAR_EQUAL((_a)[Y], (_b)[Y], (_tol)) \ + && NEAR_EQUAL((_a)[Z], (_b)[Z], (_tol))) + + /** + * Return truthfully whether two 2D vectors are approximately + equal, + * within a specified absolute tolerance. + */ + #define V2NEAR_EQUAL(a, b, tol) \ + (NEAR_EQUAL((a)[X], (b)[X], tol) \ + && NEAR_EQUAL((a)[Y], (b)[Y], tol)) + + /** + * Return truthfully whether two 4D vectors are approximately + equal, + * within a specified absolute tolerance. + */ + #define HNEAR_EQUAL(_a, _b, _tol) \ + (NEAR_EQUAL((_a)[X], (_b)[X], (_tol)) \ + && NEAR_EQUAL((_a)[Y], (_b)[Y], (_tol)) \ + && NEAR_EQUAL((_a)[Z], (_b)[Z], (_tol)) \ + && NEAR_EQUAL((_a)[W], (_b)[W], (_tol))) + + /** + * Return truthfully whether two values are within a minimum + * representation tolerance from each other. + * + * Use not recommended due to compilation-variant tolerance. + */ + #define EQUAL(_a, _b) NEAR_EQUAL((_a), (_b), SMALL_FASTF) + + + /** + * Return truthfully whether two vectors are equal within a + minimum + * representation tolerance. + * + * Use not recommended due to compilation-variant tolerance. + */ + #define VEQUAL(_a, _b) VNEAR_EQUAL((_a), (_b), SMALL_FASTF) + + /** + * @brief Return truthfully whether two 2D vectors are equal + within + * a minimum representation tolerance. + */ + #define V2EQUAL(_a, _b) V2NEAR_EQUAL((_a), (_b), SMALL_FASTF) + + /** + * @brief Return truthfully whether two higher degree vectors are + * equal within a minimum representation tolerance. + */ + #define HEQUAL(_a, _b) HNEAR_EQUAL((_a), (_b), SMALL_FASTF) + + + /** + * clamp a value to a low/high number. + */ + #define CLAMP(_v, _l, _h) if ((_v) < (_l)) _v = _l; else if ((_v) + > (_h)) _v = _h + + + /** Clamp a 3D vector to zero if within tolerance of zero. */ + #define VCLAMP(a) { \ + if (ZERO((a)[X])) (a)[X] = 0.0; \ + if (ZERO((a)[Y])) (a)[Y] = 0.0; \ + if (ZERO((a)[Z])) (a)[Z] = 0.0; \ + } + + + /** Clamp a 4D vector to zero if within tolerance of zero. */ + #define HCLAMP(a) { \ + if (ZERO((a)[X])) (a)[X] = 0.0; \ + if (ZERO((a)[Y])) (a)[Y] = 0.0; \ + if (ZERO((a)[Z])) (a)[Z] = 0.0; \ + if (ZERO((a)[H])) (a)[H] = 0.0; \ + } + + + /** @brief Compute distance from a point to a plane. */ + #define DIST_PT_PLANE(_pt, _pl) (VDOT(_pt, _pl) - (_pl)[W]) + + /** @brief Compute distance between two points. */ + #define DIST_PT_PT_SQ(_a, _b) \ + ((_a)[X]-(_b)[X])*((_a)[X]-(_b)[X]) + \ + ((_a)[Y]-(_b)[Y])*((_a)[Y]-(_b)[Y]) + \ + ((_a)[Z]-(_b)[Z])*((_a)[Z]-(_b)[Z]) + #define DIST_PT_PT(_a, _b) sqrt(DIST_PT_PT_SQ(_a, _b)) + + /** @brief set translation values of 4x4 matrix with x, y, z + values. */ + #define MAT_DELTAS(_m, _x, _y, _z) { \ + (_m)[MDX] = (_x); \ + (_m)[MDY] = (_y); \ + (_m)[MDZ] = (_z); \ + } + + /** @brief set translation values of 4x4 matrix from a vector. */ + #define MAT_DELTAS_VEC(_m, _v) \ + MAT_DELTAS(_m, (_v)[X], (_v)[Y], (_v)[Z]) + + /** + * @brief set translation values of 4x4 matrix from a reversed + * vector. + */ + #define MAT_DELTAS_VEC_NEG(_m, _v) \ + MAT_DELTAS(_m, -(_v)[X], -(_v)[Y], -(_v)[Z]) + + /** @brief get translation values of 4x4 matrix to a vector. */ + #define MAT_DELTAS_GET(_v, _m) { \ + (_v)[X] = (_m)[MDX]; \ + (_v)[Y] = (_m)[MDY]; \ + (_v)[Z] = (_m)[MDZ]; \ + } + + /** + * @brief get translation values of 4x4 matrix to a vector, + * reversed. + */ + #define MAT_DELTAS_GET_NEG(_v, _m) { \ + (_v)[X] = -(_m)[MDX]; \ + (_v)[Y] = -(_m)[MDY]; \ + (_v)[Z] = -(_m)[MDZ]; \ + } + + /** + * @brief increment translation elements in a 4x4 matrix with x, + y, z + * values. + */ + #define MAT_DELTAS_ADD(_m, _x, _y, _z) { \ + (_m)[MDX] += (_x); \ + (_m)[MDY] += (_y); \ + (_m)[MDZ] += (_z); \ + } + + /** + * @brief increment translation elements in a 4x4 matrix from a + * vector. + */ + #define MAT_DELTAS_ADD_VEC(_m, _v) { \ + (_m)[MDX] += (_v)[X]; \ + (_m)[MDY] += (_v)[Y]; \ + (_m)[MDZ] += (_v)[Z]; \ + } + + /** + * @brief decrement translation elements in a 4x4 matrix with x, + y, z + * values. + */ + #define MAT_DELTAS_SUB(_m, _x, _y, _z) { \ + (_m)[MDX] -= (_x); \ + (_m)[MDY] -= (_y); \ + (_m)[MDZ] -= (_z); \ + } + + /** + * @brief decrement translation elements in a 4x4 matrix from a + * vector. + */ + #define MAT_DELTAS_SUB_VEC(_m, _v) { \ + (_m)[MDX] -= (_v)[X]; \ + (_m)[MDY] -= (_v)[Y]; \ + (_m)[MDZ] -= (_v)[Z]; \ + } + + /** + * @brief decrement translation elements in a 4x4 matrix with x, + y, z + * values. + */ + #define MAT_DELTAS_MUL(_m, _x, _y, _z) { \ + (_m)[MDX] *= (_x); \ + (_m)[MDY] *= (_y); \ + (_m)[MDZ] *= (_z); \ + } + + /** + * @brief decrement translation elements in a 4x4 matrix from a + * vector. + */ + #define MAT_DELTAS_MUL_VEC(_m, _v) { \ + (_m)[MDX] *= (_v)[X]; \ + (_m)[MDY] *= (_v)[Y]; \ + (_m)[MDZ] *= (_v)[Z]; \ + } + + /** @brief set scale of 4x4 matrix from xyz. */ + #define MAT_SCALE(_m, _x, _y, _z) { \ + (_m)[MSX] = _x; \ + (_m)[MSY] = _y; \ + (_m)[MSZ] = _z; \ + } + + /** @brief set scale of 4x4 matrix from vector. */ + #define MAT_SCALE_VEC(_m, _v) { \ + (_m)[MSX] = (_v)[X]; \ + (_m)[MSY] = (_v)[Y]; \ + (_m)[MSZ] = (_v)[Z]; \ + } + + /** @brief set uniform scale of 4x4 matrix from scalar. */ + #define MAT_SCALE_ALL(_m, _s) (_m)[MSA] = (_s) + + /** @brief add to scaling elements in a 4x4 matrix from xyz. */ + #define MAT_SCALE_ADD(_m, _x, _y, _z) { \ + (_m)[MSX] += _x; \ + (_m)[MSY] += _y; \ + (_m)[MSZ] += _z; \ + } + + /** @brief add to scaling elements in a 4x4 matrix from vector. + */ + #define MAT_SCALE_ADD_VEC(_m, _v) { \ + (_m)[MSX] += (_v)[X]; \ + (_m)[MSY] += (_v)[Y]; \ + (_m)[MSZ] += (_v)[Z]; \ + } + + /** @brief subtract from scaling elements in a 4x4 matrix from + xyz. */ + #define MAT_SCALE_SUB(_m, _x, _y, _z) { \ + (_m)[MSX] -= _x; \ + (_m)[MSY] -= _y; \ + (_m)[MSZ] -= _z; \ + } + + /** + * @brief subtract from scaling elements in a 4x4 matrix from + * vector. + */ + #define MAT_SCALE_SUB_VEC(_m, _v) { \ + (_m)[MSX] -= (_v)[X]; \ + (_m)[MSY] -= (_v)[Y]; \ + (_m)[MSZ] -= (_v)[Z]; \ + } + + /** @brief multiply scaling elements in a 4x4 matrix from xyz. */ + #define MAT_SCALE_MUL(_m, _x, _y, _z) { \ + (_m)[MSX] *= _x; \ + (_m)[MSY] *= _y; \ + (_m)[MSZ] *= _z; \ + } + + /** @brief multiply scaling elements in a 4x4 matrix from vector. + */ + #define MAT_SCALE_MUL_VEC(_m, _v) { \ + (_m)[MSX] *= (_v)[X]; \ + (_m)[MSY] *= (_v)[Y]; \ + (_m)[MSZ] *= (_v)[Z]; \ + } + + + /** + * In following are macro versions of librt/mat.c functions for + when + * speed really matters. + */ + + + /** @brief Zero a matrix. */ + #define MAT_ZERO(m) { \ + (m)[0] = (m)[1] = (m)[2] = (m)[3] = \ + (m)[4] = (m)[5] = (m)[6] = (m)[7] = \ + (m)[8] = (m)[9] = (m)[10] = (m)[11] = \ + (m)[12] = (m)[13] = (m)[14] = (m)[15] = 0.0; \ + } + + /** @brief Set matrix to identity. */ + #define MAT_IDN(m) { \ + (m)[1] = (m)[2] = (m)[3] = (m)[4] = \ + (m)[6] = (m)[7] = (m)[8] = (m)[9] = \ + (m)[11] = (m)[12] = (m)[13] = (m)[14] = 0.0; \ + (m)[0] = (m)[5] = (m)[10] = (m)[15] = 1.0; \ + } + + /** @brief set t to the transpose of matrix m */ + #define MAT_TRANSPOSE(t, m) { \ + (t)[0] = (m)[0]; \ + (t)[4] = (m)[1]; \ + (t)[8] = (m)[2]; \ + (t)[12] = (m)[3]; \ + (t)[1] = (m)[4]; \ + (t)[5] = (m)[5]; \ + (t)[9] = (m)[6]; \ + (t)[13] = (m)[7]; \ + (t)[2] = (m)[8]; \ + (t)[6] = (m)[9]; \ + (t)[10] = (m)[10]; \ + (t)[14] = (m)[11]; \ + (t)[3] = (m)[12]; \ + (t)[7] = (m)[13]; \ + (t)[11] = (m)[14]; \ + (t)[15] = (m)[15]; \ + } + + /** @brief Copy a matrix. */ + #define MAT_COPY(d, s) { \ + (d)[0] = (s)[0]; \ + (d)[1] = (s)[1]; \ + (d)[2] = (s)[2]; \ + (d)[3] = (s)[3]; \ + (d)[4] = (s)[4]; \ + (d)[5] = (s)[5]; \ + (d)[6] = (s)[6]; \ + (d)[7] = (s)[7]; \ + (d)[8] = (s)[8]; \ + (d)[9] = (s)[9]; \ + (d)[10] = (s)[10]; \ + (d)[11] = (s)[11]; \ + (d)[12] = (s)[12]; \ + (d)[13] = (s)[13]; \ + (d)[14] = (s)[14]; \ + (d)[15] = (s)[15]; \ + } + + /** @brief Set 3D vector at `a' to have coordinates `b', `c', and + `d'. */ + #define VSET(a, b, c, d) { \ + (a)[X] = (b); \ + (a)[Y] = (c); \ + (a)[Z] = (d); \ + } + + /** @brief Set 2D vector at `a' to have coordinates `b' and `c'. + */ + #define V2SET(a, b, c) { \ + (a)[X] = (b); \ + (a)[Y] = (c); \ + } + + /** @brief Set 4D vector at `a' to homogeneous coordinates `b', + `c', `d', and `e'. */ + #define HSET(a, b, c, d, e) { \ + (a)[X] = (b); \ + (a)[Y] = (c); \ + (a)[Z] = (d); \ + (a)[H] = (e); \ + } + + + /** @brief Set all elements of 3D vector to same scalar value. */ + #define VSETALL(a, s) { \ + (a)[X] = (a)[Y] = (a)[Z] = (s); \ + } + + /** @brief Set 2D vector elements to same scalar value. */ + #define V2SETALL(a, s) { \ + (a)[X] = (a)[Y] = (s); \ + } + + /** @brief Set 4D vector elements to same scalar value. */ + #define HSETALL(a, s) { \ + (a)[X] = (a)[Y] = (a)[Z] = (a)[H] = (s); \ + } + + + /** @brief Set all elements of N-vector to same scalar value. */ + #define VSETALLN(v, s, n) { \ + register int _j; \ + for (_j=0; _j + SQRT_SMALL_FASTF) { \ + (_inv)[X]=1.0/(_dir)[X]; \ + } else { \ + (_dir)[X] = 0.0; \ + (_inv)[X] = INFINITY; \ + } \ + if ((_dir)[Y] < -SQRT_SMALL_FASTF || (_dir)[Y] > + SQRT_SMALL_FASTF) { \ + (_inv)[Y]=1.0/(_dir)[Y]; \ + } else { \ + (_dir)[Y] = 0.0; \ + (_inv)[Y] = INFINITY; \ + } \ + if ((_dir)[Z] < -SQRT_SMALL_FASTF || (_dir)[Z] > + SQRT_SMALL_FASTF) { \ + (_inv)[Z]=1.0/(_dir)[Z]; \ + } else { \ + (_dir)[Z] = 0.0; \ + (_inv)[Z] = INFINITY; \ + } \ + } + + /** + * @brief Apply the 3x3 part of a mat_t to a 3-tuple. This rotates + a + * vector without scaling it (changing its length). + */ + #define MAT3X3VEC(o, mat, vec) { \ + (o)[X] = (mat)[X]*(vec)[X]+(mat)[Y]*(vec)[Y] + (mat)[ + 2]*(vec)[Z]; \ + (o)[Y] = (mat)[4]*(vec)[X]+(mat)[5]*(vec)[Y] + (mat)[ + 6]*(vec)[Z]; \ + (o)[Z] = (mat)[8]*(vec)[X]+(mat)[9]*(vec)[Y] + + (mat)[10]*(vec)[Z]; \ + } + + /** @brief Multiply a 3-tuple by the 3x3 part of a mat_t. */ + #define VEC3X3MAT(o, i, m) { \ + (o)[X] = (i)[X]*(m)[X] + (i)[Y]*(m)[4] + (i)[Z]*(m)[8]; \ + (o)[Y] = (i)[X]*(m)[1] + (i)[Y]*(m)[5] + (i)[Z]*(m)[9]; \ + (o)[Z] = (i)[X]*(m)[2] + (i)[Y]*(m)[6] + (i)[Z]*(m)[10]; \ + } + + /** @brief Apply the 3x3 part of a mat_t to a 2-tuple (Z part=0). + */ + #define MAT3X2VEC(o, mat, vec) { \ + (o)[X] = (mat)[0]*(vec)[X] + (mat)[Y]*(vec)[Y]; \ + (o)[Y] = (mat)[4]*(vec)[X] + (mat)[5]*(vec)[Y]; \ + (o)[Z] = (mat)[8]*(vec)[X] + (mat)[9]*(vec)[Y]; \ + } + + /** @brief Multiply a 2-tuple (Z=0) by the 3x3 part of a mat_t. + */ + #define VEC2X3MAT(o, i, m) { \ + (o)[X] = (i)[X]*(m)[0] + (i)[Y]*(m)[4]; \ + (o)[Y] = (i)[X]*(m)[1] + (i)[Y]*(m)[5]; \ + (o)[Z] = (i)[X]*(m)[2] + (i)[Y]*(m)[6]; \ + } + + /** + * @brief Apply a 4x4 matrix to a 3-tuple which is an absolute + Point + * in space. Output and input points should be separate arrays. + */ + #define MAT4X3PNT(o, m, i) { \ + register double _f; \ + _f = 1.0/((m)[12]*(i)[X] + (m)[13]*(i)[Y] + (m)[14]*(i)[Z] + + (m)[15]); \ + (o)[X]=((m)[0]*(i)[X] + (m)[1]*(i)[Y] + (m)[ 2]*(i)[Z] + (m)[3]) + * _f; \ + (o)[Y]=((m)[4]*(i)[X] + (m)[5]*(i)[Y] + (m)[ 6]*(i)[Z] + (m)[7]) + * _f; \ + (o)[Z]=((m)[8]*(i)[X] + (m)[9]*(i)[Y] + (m)[10]*(i)[Z] + + (m)[11])* _f; \ + } + + /** + * @brief Multiply an Absolute 3-Point by a full 4x4 matrix. + Output + * and input points should be separate arrays. + */ + #define PNT3X4MAT(o, i, m) { \ + register double _f; \ + _f = 1.0/((i)[X]*(m)[3] + (i)[Y]*(m)[7] + (i)[Z]*(m)[11] + + (m)[15]); \ + (o)[X]=((i)[X]*(m)[0] + (i)[Y]*(m)[4] + (i)[Z]*(m)[8] + (m)[12]) + * _f; \ + (o)[Y]=((i)[X]*(m)[1] + (i)[Y]*(m)[5] + (i)[Z]*(m)[9] + (m)[13]) + * _f; \ + (o)[Z]=((i)[X]*(m)[2] + (i)[Y]*(m)[6] + (i)[Z]*(m)[10] + + (m)[14])* _f; \ + } + + /** + * @brief Multiply an Absolute hvect_t 4-Point by a full 4x4 + matrix. + * Output and input points should be separate arrays. + */ + #define MAT4X4PNT(o, m, i) { \ + (o)[X]=(m)[ 0]*(i)[X] + (m)[ 1]*(i)[Y] + (m)[ 2]*(i)[Z] + (m)[ + 3]*(i)[H]; \ + (o)[Y]=(m)[ 4]*(i)[X] + (m)[ 5]*(i)[Y] + (m)[ 6]*(i)[Z] + (m)[ + 7]*(i)[H]; \ + (o)[Z]=(m)[ 8]*(i)[X] + (m)[ 9]*(i)[Y] + (m)[10]*(i)[Z] + + (m)[11]*(i)[H]; \ + (o)[H]=(m)[12]*(i)[X] + (m)[13]*(i)[Y] + (m)[14]*(i)[Z] + + (m)[15]*(i)[H]; \ + } + + /** + * @brief Apply a 4x4 matrix to a 3-tuple which is a relative + Vector + * in space. This macro can scale the length of the vector if [15] + != + * 1.0. Output and input vectors should be separate arrays. + */ + #define MAT4X3VEC(o, m, i) { \ + register double _f; \ + _f = 1.0/((m)[15]); \ + (o)[X] = ((m)[0]*(i)[X] + (m)[1]*(i)[Y] + (m)[ 2]*(i)[Z]) * _f; \ + (o)[Y] = ((m)[4]*(i)[X] + (m)[5]*(i)[Y] + (m)[ 6]*(i)[Z]) * _f; \ + (o)[Z] = ((m)[8]*(i)[X] + (m)[9]*(i)[Y] + (m)[10]*(i)[Z]) * _f; \ + } + + #define MAT4XSCALOR(o, m, i) { \ + (o) = (i) / (m)[15]; \ + } + + /** + * @brief Multiply a Relative 3-Vector by most of a 4x4 matrix. + * Output and input vectors should be separate arrays. + */ + #define VEC3X4MAT(o, i, m) { \ + register double _f; \ + _f = 1.0/((m)[15]); \ + (o)[X] = ((i)[X]*(m)[0] + (i)[Y]*(m)[4] + (i)[Z]*(m)[8]) * _f; \ + (o)[Y] = ((i)[X]*(m)[1] + (i)[Y]*(m)[5] + (i)[Z]*(m)[9]) * _f; \ + (o)[Z] = ((i)[X]*(m)[2] + (i)[Y]*(m)[6] + (i)[Z]*(m)[10]) * _f; \ + } + + /** @brief Multiply a Relative 2-Vector by most of a 4x4 matrix. + */ + #define VEC2X4MAT(o, i, m) { \ + register double _f; \ + _f = 1.0/((m)[15]); \ + (o)[X] = ((i)[X]*(m)[0] + (i)[Y]*(m)[4]) * _f; \ + (o)[Y] = ((i)[X]*(m)[1] + (i)[Y]*(m)[5]) * _f; \ + (o)[Z] = ((i)[X]*(m)[2] + (i)[Y]*(m)[6]) * _f; \ + } + + /** @brief Test a vector for non-unit length. */ + #define BN_VEC_NON_UNIT_LEN(_vec) \ + (fabs(MAGSQ(_vec)) < 0.0001 || fabs(fabs(MAGSQ(_vec))-1) > + 0.0001) + + /** + * @brief Included below are macros to update min and max X, Y, Z + * values to contain a point + */ + + #define V_MIN(r, s) if ((r) > (s)) r = (s) + + #define V_MAX(r, s) if ((r) < (s)) r = (s) + + #define VMIN(r, s) { \ + V_MIN((r)[X], (s)[X]); V_MIN((r)[Y], (s)[Y]); V_MIN((r)[Z], + (s)[Z]); \ + } + + #define VMAX(r, s) { \ + V_MAX((r)[X], (s)[X]); V_MAX((r)[Y], (s)[Y]); V_MAX((r)[Z], + (s)[Z]); \ + } + + #define VMINMAX(min, max, pt) { \ + VMIN((min), (pt)); VMAX((max), (pt)); \ + } + + /** + * @brief Divide out homogeneous parameter from hvect_t, creating + * vect_t. + */ + #define HDIVIDE(a, b) { \ + (a)[X] = (b)[X] / (b)[H]; \ + (a)[Y] = (b)[Y] / (b)[H]; \ + (a)[Z] = (b)[Z] / (b)[H]; \ + } + + /** + * @brief Some 2-D versions of the 3-D macros given above. + * + * A better naming convention is V2MOVE() rather than VMOVE_2D(). + * + * DEPRECATED: These xxx_2D names are slated to go away, use the + * others. + * + * THESE ARE ALL DEPRECATED. + */ + #define VADD2_2D(a, b, c) V2ADD2(a, b, c) + #define VSUB2_2D(a, b, c) V2SUB2(a, b, c) + #define MAGSQ_2D(a) MAG2SQ(a) + #define VDOT_2D(a, b) V2DOT(a, b) + #define VMOVE_2D(a, b) V2MOVE(a, b) + #define VSCALE_2D(a, b, c) V2SCALE(a, b, c) + #define VJOIN1_2D(a, b, c, d) V2JOIN1(a, b, c, d) + + + /** + * @brief Quaternion math definitions. + * + * Note that the [W] component will be put in the last (i.e., + third) + * place rather than the first [X] (i.e., [0]) place, so that the + X, + * Y, and Z elements will be compatible with vectors. Only + * QUAT_FROM_VROT macros depend on component locations, however. + */ + + /** + * @brief Create Quaternion from Vector and Rotation about vector. + * + * To produce a quaternion representing a rotation by PI radians + about + * X-axis: + * + * VSET(axis, 1, 0, 0); + * QUAT_FROM_VROT(quat, M_PI, axis); + * or + * QUAT_FROM_ROT(quat, M_PI, 1.0, 0.0, 0.0, 0.0); + * + * Alternatively, in degrees: + * QUAT_FROM_ROT_DEG(quat, 180.0, 1.0, 0.0, 0.0, 0.0); + */ + #define QUAT_FROM_ROT(q, r, x, y, z) { \ + register fastf_t _rot = (r) * 0.5; \ + QSET(q, x, y, z, cos(_rot)); \ + VUNITIZE(q); \ + _rot = sin(_rot); /* _rot is really just a temp variable now */ \ + VSCALE(q, q, _rot); \ + } + + #define QUAT_FROM_VROT(q, r, v) { \ + register fastf_t _rot = (r) * 0.5; \ + VMOVE(q, v); \ + VUNITIZE(q); \ + (q)[W] = cos(_rot); \ + _rot = sin(_rot); /* _rot is really just a temp variable now */ \ + VSCALE(q, q, _rot); \ + } + + #define QUAT_FROM_VROT_DEG(q, r, v) \ + QUAT_FROM_VROT(q, ((r)*(M_PI/180.0)), v) + + #define QUAT_FROM_ROT_DEG(q, r, x, y, z) \ + QUAT_FROM_ROT(q, ((r)*(M_PI/180.0)), x, y, z) + + + /** + * @brief Set quaternion at `a' to have coordinates `b', `c', `d', + and + * `e'. + */ + #define QSET(a, b, c, d, e) { \ + (a)[X] = (b); \ + (a)[Y] = (c); \ + (a)[Z] = (d); \ + (a)[W] = (e); \ + } + + /** @brief Transfer quaternion at `b' to quaternion at `a'. */ + #define QMOVE(a, b) { \ + (a)[X] = (b)[X]; \ + (a)[Y] = (b)[Y]; \ + (a)[Z] = (b)[Z]; \ + (a)[W] = (b)[W]; \ + } + + /** @brief Add quaternions at `b' and `c', store result at `a'. + */ + #define QADD2(a, b, c) { \ + (a)[X] = (b)[X] + (c)[X]; \ + (a)[Y] = (b)[Y] + (c)[Y]; \ + (a)[Z] = (b)[Z] + (c)[Z]; \ + (a)[W] = (b)[W] + (c)[W]; \ + } + + /** + * @brief Subtract quaternion at `c' from quaternion at `b', store + * result at `a'. + */ + #define QSUB2(a, b, c) { \ + (a)[X] = (b)[X] - (c)[X]; \ + (a)[Y] = (b)[Y] - (c)[Y]; \ + (a)[Z] = (b)[Z] - (c)[Z]; \ + (a)[W] = (b)[W] - (c)[W]; \ + } + + /** + * @brief Scale quaternion at `b' by scalar `c', store result at + * `a'. + */ + #define QSCALE(a, b, c) { \ + (a)[X] = (b)[X] * (c); \ + (a)[Y] = (b)[Y] * (c); \ + (a)[Z] = (b)[Z] * (c); \ + (a)[W] = (b)[W] * (c); \ + } + + /** @brief Normalize quaternion 'a' to be a unit quaternion. */ + #define QUNITIZE(a) { \ + register double _f; \ + _f = QMAGNITUDE(a); \ + if (_f < VDIVIDE_TOL) _f = 0.0; else _f = 1.0/_f; \ + (a)[X] *= _f; (a)[Y] *= _f; (a)[Z] *= _f; (a)[W] *= _f; \ + } + + /** @brief Return scalar magnitude squared of quaternion at `a'. + */ + #define QMAGSQ(a) \ + ((a)[X]*(a)[X] + (a)[Y]*(a)[Y] \ + + (a)[Z]*(a)[Z] + (a)[W]*(a)[W]) + + /** @brief Return scalar magnitude of quaternion at `a'. */ + #define QMAGNITUDE(a) sqrt(QMAGSQ(a)) + + /** @brief Compute dot product of quaternions at `a' and `b'. */ + #define QDOT(a, b) \ + ((a)[X]*(b)[X] + (a)[Y]*(b)[Y] \ + + (a)[Z]*(b)[Z] + (a)[W]*(b)[W]) + + /** + * @brief Compute quaternion product a = b * c + * + * a[W] = b[W]*c[W] - VDOT(b, c); + * VCROSS(temp, b, c); + * VJOIN2(a, temp, b[W], c, c[W], b); + */ + #define QMUL(a, b, c) { \ + (a)[W] = (b)[W]*(c)[W] - (b)[X]*(c)[X] - (b)[Y]*(c)[Y] - + (b)[Z]*(c)[Z]; \ + (a)[X] = (b)[W]*(c)[X] + (b)[X]*(c)[W] + (b)[Y]*(c)[Z] - + (b)[Z]*(c)[Y]; \ + (a)[Y] = (b)[W]*(c)[Y] + (b)[Y]*(c)[W] + (b)[Z]*(c)[X] - + (b)[X]*(c)[Z]; \ + (a)[Z] = (b)[W]*(c)[Z] + (b)[Z]*(c)[W] + (b)[X]*(c)[Y] - + (b)[Y]*(c)[X]; \ + } + + /** @brief Conjugate quaternion */ + #define QCONJUGATE(a, b) { \ + (a)[X] = -(b)[X]; \ + (a)[Y] = -(b)[Y]; \ + (a)[Z] = -(b)[Z]; \ + (a)[W] = (b)[W]; \ + } + + /** @brief Multiplicative inverse quaternion */ + #define QINVERSE(a, b) { \ + register double _f = QMAGSQ(b); \ + if (_f < VDIVIDE_TOL) _f = 0.0; else _f = 1.0/_f; \ + (a)[X] = -(b)[X] * _f; \ + (a)[Y] = -(b)[Y] * _f; \ + (a)[Z] = -(b)[Z] * _f; \ + (a)[W] = (b)[W] * _f; \ + } + + /** + * @brief Blend into quaternion `a' + * + * scalar `b' times quaternion at `c' plus + * scalar `d' times quaternion at `e' + */ + #define QBLEND2(a, b, c, d, e) { \ + (a)[X] = (b) * (c)[X] + (d) * (e)[X]; \ + (a)[Y] = (b) * (c)[Y] + (d) * (e)[Y]; \ + (a)[Z] = (b) * (c)[Z] + (d) * (e)[Z]; \ + (a)[W] = (b) * (c)[W] + (d) * (e)[W]; \ + } + + /** + * Macros for dealing with 3-D "extents", aka bounding boxes, that + are + * represented as axis-aligned right parallelepipeds (RPPs). This + is + * stored as two points: a min point, and a max point. RPP 1 is + * defined by lo1, hi1, RPP 2 by lo2, hi2. + */ + + /** + * Compare two bounding boxes and return true if they are + disjoint. + */ + #define V3RPP_DISJOINT(_l1, _h1, _l2, _h2) \ + ((_l1)[X] > (_h2)[X] || (_l1)[Y] > (_h2)[Y] || (_l1)[Z] > + (_h2)[Z] || \ + (_l2)[X] > (_h1)[X] || (_l2)[Y] > (_h1)[Y] || (_l2)[Z] > + (_h1)[Z]) + + /** + * Compare two bounding boxes and return true if they are disjoint + * by at least distance tolerance. + */ + #define V3RPP_DISJOINT_TOL(_l1, _h1, _l2, _h2, _t) \ + ((_l1)[X] > (_h2)[X] + (_t) || \ + (_l1)[Y] > (_h2)[Y] + (_t) || \ + (_l1)[Z] > (_h2)[Z] + (_t) || \ + (_l2)[X] > (_h1)[X] + (_t) || \ + (_l2)[Y] > (_h1)[Y] + (_t) || \ + (_l2)[Z] > (_h1)[Z] + (_t)) + + /** Compare two bounding boxes and return true If they overlap. + */ + #define V3RPP_OVERLAP(_l1, _h1, _l2, _h2) \ + (! ((_l1)[X] > (_h2)[X] || (_l1)[Y] > (_h2)[Y] || (_l1)[Z] > + (_h2)[Z] || \ + (_l2)[X] > (_h1)[X] || (_l2)[Y] > (_h1)[Y] || (_l2)[Z] > + (_h1)[Z])) + + /** + * @brief If two extents overlap within distance tolerance, return + * true. + */ + #define V3RPP_OVERLAP_TOL(_l1, _h1, _l2, _h2, _t) \ + (! ((_l1)[X] > (_h2)[X] + (_t) || \ + (_l1)[Y] > (_h2)[Y] + (_t) || \ + (_l1)[Z] > (_h2)[Z] + (_t) || \ + (_l2)[X] > (_h1)[X] + (_t) || \ + (_l2)[Y] > (_h1)[Y] + (_t) || \ + (_l2)[Z] > (_h1)[Z] + (_t))) + + /** + * @brief Is the point within or on the boundary of the RPP? + * + * FIXME: should not be using >= <=, '=' case is unreliable + */ + #define V3PT_IN_RPP(_pt, _lo, _hi) (\ + (_pt)[X] >= (_lo)[X] && (_pt)[X] <= (_hi)[X] && \ + (_pt)[Y] >= (_lo)[Y] && (_pt)[Y] <= (_hi)[Y] && \ + (_pt)[Z] >= (_lo)[Z] && (_pt)[Z] <= (_hi)[Z]) + + /** + * @brief Within the distance tolerance, is the point within the + RPP? + * + * FIXME: should not be using >= <=, '=' case is unreliable + */ + #define V3PT_IN_RPP_TOL(_pt, _lo, _hi, _t) (\ + (_pt)[X] >= (_lo)[X]-(_t) && (_pt)[X] <= (_hi)[X]+(_t) && \ + (_pt)[Y] >= (_lo)[Y]-(_t) && (_pt)[Y] <= (_hi)[Y]+(_t) && \ + (_pt)[Z] >= (_lo)[Z]-(_t) && (_pt)[Z] <= (_hi)[Z]+(_t)) + + /** + * @brief Is the point outside the RPP by at least the distance + tolerance? + * This will not return true if the point is on the RPP. + */ + #define V3PT_OUT_RPP_TOL(_pt, _lo, _hi, _t) (\ + (_pt)[X] < (_lo)[X]-(_t) || (_pt)[X] > (_hi)[X]+(_t) || \ + (_pt)[Y] < (_lo)[Y]-(_t) || (_pt)[Y] > (_hi)[Y]+(_t) || \ + (_pt)[Z] < (_lo)[Z]-(_t) || (_pt)[Z] > (_hi)[Z]+(_t)) + + /** + * @brief Determine if one bounding box is within another. Also + * returns true if the boxes are the same. + * + * FIXME: should not be using >= <=, '=' case is unreliable + */ + #define V3RPP1_IN_RPP2(_lo1, _hi1, _lo2, _hi2) (\ + (_lo1)[X] >= (_lo2)[X] && (_hi1)[X] <= (_hi2)[X] && \ + (_lo1)[Y] >= (_lo2)[Y] && (_hi1)[Y] <= (_hi2)[Y] && \ + (_lo1)[Z] >= (_lo2)[Z] && (_hi1)[Z] <= (_hi2)[Z]) + + /** Convert an azimuth/elevation to a direction vector. */ + #define V3DIR_FROM_AZEL(_d, _a, _e) { \ + register fastf_t _c_e = cos(_e); \ + (_d)[X] = cos(_a) * _c_e; \ + (_d)[Y] = sin(_a) * _c_e; \ + (_d)[Z] = sin(_e); \ + } + + /** Convert a direction vector to azimuth/elevation (in radians). + */ + #define AZEL_FROM_V3DIR(_a, _e, _d) { \ + (_a) = ((NEAR_ZERO((_d)[X], SMALL_FASTF)) && (NEAR_ZERO((_d)[Y], + SMALL_FASTF))) ? 0.0 : atan2(-((_d)[Y]), -((_d)[X])) * -RAD2DEG; + \ + (_e) = atan2(-((_d)[Z]), sqrt((_d)[X]*(_d)[X] + (_d)[Y]*(_d)[Y])) + * -RAD2DEG; \ + } + + /*** Macros suitable for declaration statement initialization. + ***/ + + /** + * 3D vector macro suitable for declaration statement + initialization. + * this sets all vector elements to the specified value similar to + * VSETALL() but as an initializer array declaration instead of as + a + * statement. + */ + #define VINITALL(_v) {(_v), (_v), (_v)} + + /** + * 2D vector macro suitable for declaration statement + initialization. + * this sets all vector elements to the specified value similar to + * VSETALLN(hvect_t,val,2) but as an initializer array declaration + * instead of as a statement. + */ + #define V2INITALL(_v) {(_v), (_v), (_v)} + + /** + * 4D homogeneous vector macro suitable for declaration statement + * initialization. this sets all vector elements to the specified + * value similar to VSETALLN(hvect_t,val,4) but as an initializer + * array declaration instead of as a statement. + */ + #define HINITALL(_v) {(_v), (_v), (_v), (_v)} + + /** + * 3D vector macro suitable for declaration statement + initialization. + * this sets all vector elements to zero similar to calling + * VSETALL(0.0) but as an initializer array declaration instead of + as + * a statement. + */ + #define VINIT_ZERO {0.0, 0.0, 0.0} + + /** + * 2D vector macro suitable for declaration statement + initialization. + * this sets all vector elements to zero similar to calling + * V2SETALL(0.0) but as an initializer array declaration instead + of as + * a statement. + */ + #define V2INIT_ZERO {0.0, 0.0} + + /** + * 4D homogeneous vector macro suitable for declaration statement + * initialization. this sets all vector elements to zero similar + to + * calling VSETALLN(hvect_t,0.0,4) but as an initializer array + * declaration instead of as a statement. + */ + #define HINIT_ZERO {0.0, 0.0, 0.0, 0.0} + + /** + * matrix macro suitable for declaration statement initialization. + * this sets up an identity matrix similar to calling MAT_IDN but + as + * an initializer array declaration instead of as a statement. + */ + #define MAT_INIT_IDN {1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, + 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0} + + /** + * matrix macro suitable for declaration statement initialization. + * this sets up a zero matrix similar to calling MAT_ZERO but as + an + * initializer array declaration instead of as a statement. + */ + #define MAT_INIT_ZERO {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, + 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0} + + __END_DECLS + + #endif /* __VMATH_H__ */ + + /** @} */ + /* + * Local Variables: + * mode: C + * tab-width: 8 + * indent-tabs-mode: t + * c-file-style: "stroustrup" + * End: + * ex: shiftwidth=4 tabstop=8 + */ + +2012-12-02 06:26 starseeker + + * [r53941] doc/docbook/system/man1/en/CMakeLists.txt: + fix indenting + +2012-12-02 05:55 caen23 + + * [r53940] doc/docbook/system/man1/en/CMakeLists.txt, + doc/docbook/system/man1/en/ap-pix.xml, + doc/docbook/system/man1/en/asc-pl.xml, + doc/docbook/system/man1/en/azel.xml, + doc/docbook/system/man1/en/bary.xml, + doc/docbook/system/man1/en/brlcad.xml, + doc/docbook/system/man1/en/buffer.xml, + doc/docbook/system/man1/en/bw-imp.xml, + doc/docbook/system/man1/en/bw-pix.xml, + doc/docbook/system/man1/en/bw-png.xml, + doc/docbook/system/man1/en/bw-ps.xml, + doc/docbook/system/man1/en/bw-rle.xml, + doc/docbook/system/man1/en/bw3-pix.xml, + doc/docbook/system/man1/en/bwcrop.xml, + doc/docbook/system/man1/en/bwdiff.xml, + doc/docbook/system/man1/en/bwfilter.xml, + doc/docbook/system/man1/en/bwhist.xml, + doc/docbook/system/man1/en/bwhisteq.xml, + doc/docbook/system/man1/en/bwmod.xml, + doc/docbook/system/man1/en/bwrect.xml, + doc/docbook/system/man1/en/bwrot.xml, + doc/docbook/system/man1/en/bwshrink.xml, + doc/docbook/system/man1/en/bwstat.xml, + doc/docbook/system/man1/en/bwthresh.xml, + doc/docbook/system/man1/en/cv.xml, + doc/docbook/system/man1/en/dbcp.xml, + doc/docbook/system/man1/en/decimate.xml, + doc/docbook/system/man1/en/dpix-pix.xml, + doc/docbook/system/man1/en/dunncolor.xml, + doc/docbook/system/man1/en/dunnsnap.xml, + doc/docbook/system/man1/en/gencolor.xml, + doc/docbook/system/man1/en/hex.xml, + doc/docbook/system/man1/en/imgdims.xml, + doc/docbook/system/man1/en/loop.xml, + doc/docbook/system/man1/en/mac-pix.xml, + doc/docbook/system/man1/en/morphedit.xml, + doc/docbook/system/man1/en/orle-pix.xml, + doc/docbook/system/man1/en/pix-alias.xml, + doc/docbook/system/man1/en/pix-bw.xml, + doc/docbook/system/man1/en/pix-bw3.xml, + doc/docbook/system/man1/en/pix-orle.xml, + doc/docbook/system/man1/en/pix-png.xml, + doc/docbook/system/man1/en/pix-ppm.xml, + doc/docbook/system/man1/en/pix-ps.xml, + doc/docbook/system/man1/en/pix-rle.xml, + doc/docbook/system/man1/en/pix-sun.xml, + doc/docbook/system/man1/en/pixbackgnd.xml, + doc/docbook/system/man1/en/pixbgstrip.xml, + doc/docbook/system/man1/en/pixblend.xml, + doc/docbook/system/man1/en/pixborder.xml, + doc/docbook/system/man1/en/pixbustup.xml, + doc/docbook/system/man1/en/pixclump.xml, + doc/docbook/system/man1/en/pixcolors.xml, + doc/docbook/system/man1/en/pixcut.xml, + doc/docbook/system/man1/en/pixdiff.xml, + doc/docbook/system/man1/en/pixdsplit.xml, + doc/docbook/system/man1/en/pixfade.xml, + doc/docbook/system/man1/en/pixfilter.xml, + doc/docbook/system/man1/en/pixhalve.xml, + doc/docbook/system/man1/en/pixhist.xml, + doc/docbook/system/man1/en/pixhist3d-pl.xml, + doc/docbook/system/man1/en/pixhist3d.xml, + doc/docbook/system/man1/en/pixinterp2x.xml, + doc/docbook/system/man1/en/pixmatte.xml, + doc/docbook/system/man1/en/pixmerge.xml, + doc/docbook/system/man1/en/pixmorph.xml, + doc/docbook/system/man1/en/pixrect.xml, + doc/docbook/system/man1/en/pixrot.xml, + doc/docbook/system/man1/en/pixsaturate.xml, + doc/docbook/system/man1/en/pixscale.xml, + doc/docbook/system/man1/en/pixshrink.xml, + doc/docbook/system/man1/en/pixstat.xml, + doc/docbook/system/man1/en/pixsubst.xml, + doc/docbook/system/man1/en/pixtile.xml, + doc/docbook/system/man1/en/pixuntile.xml, + doc/docbook/system/man1/en/pl-X.xml, + doc/docbook/system/man1/en/pl-asc.xml, + doc/docbook/system/man1/en/pl-hpgl.xml, + doc/docbook/system/man1/en/pl-pl.xml, + doc/docbook/system/man1/en/pl-ps.xml, + doc/docbook/system/man1/en/pl-tek.xml, + doc/docbook/system/man1/en/plcolor.xml, + doc/docbook/system/man1/en/pldebug.xml, + doc/docbook/system/man1/en/plgetframe.xml, + doc/docbook/system/man1/en/plline2.xml, + doc/docbook/system/man1/en/plrot.xml, + doc/docbook/system/man1/en/png-bw.xml, + doc/docbook/system/man1/en/png-pix.xml, + doc/docbook/system/man1/en/png_info.xml, + doc/docbook/system/man1/en/random.xml, + doc/docbook/system/man1/en/rle-pix.xml, + doc/docbook/system/man1/en/sun-pix.xml, + doc/docbook/system/man1/en/terrain.xml, + doc/docbook/system/man1/en/wavelet.xml, src/util/CMakeLists.txt, + src/util/Makefile.am, src/util/ap-pix.1, src/util/asc-pl.1, + src/util/azel.1, src/util/bary.1, src/util/brlcad.1, + src/util/buffer.1, src/util/bw-imp.1, src/util/bw-pix.1, + src/util/bw-png.1, src/util/bw-ps.1, src/util/bw-rle.1, + src/util/bw3-pix.1, src/util/bwcrop.1, src/util/bwdiff.1, + src/util/bwfilter.1, src/util/bwhist.1, src/util/bwhisteq.1, + src/util/bwmod.1, src/util/bwrect.1, src/util/bwrot.1, + src/util/bwshrink.1, src/util/bwstat.1, src/util/bwthresh.1, + src/util/cv.1, src/util/dbcp.1, src/util/decimate.1, + src/util/dpix-pix.1, src/util/dunncolor.1, src/util/dunnsnap.1, + src/util/gencolor.1, src/util/hex.1, src/util/imgdims.1, + src/util/loop.1, src/util/mac-pix.1, src/util/morphedit.1, + src/util/orle-pix.1, src/util/pix-alias.1, src/util/pix-bw.1, + src/util/pix-bw3.1, src/util/pix-orle.1, src/util/pix-png.1, + src/util/pix-ppm.1, src/util/pix-ps.1, src/util/pix-rle.1, + src/util/pix-sun.1, src/util/pixbackgnd.1, src/util/pixbgstrip.1, + src/util/pixblend.1, src/util/pixborder.1, src/util/pixbustup.1, + src/util/pixclump.1, src/util/pixcolors.1, src/util/pixcut.1, + src/util/pixdiff.1, src/util/pixdsplit.1, src/util/pixfade.1, + src/util/pixfilter.1, src/util/pixhalve.1, src/util/pixhist.1, + src/util/pixhist3d-pl.1, src/util/pixhist3d.1, + src/util/pixinterp2x.1, src/util/pixmatte.1, src/util/pixmerge.1, + src/util/pixmorph.1, src/util/pixrect.1, src/util/pixrot.1, + src/util/pixsaturate.1, src/util/pixscale.1, + src/util/pixshrink.1, src/util/pixstat.1, src/util/pixsubst.1, + src/util/pixtile.1, src/util/pixuntile.1, src/util/pl-X.1, + src/util/pl-asc.1, src/util/pl-hpgl.1, src/util/pl-pl.1, + src/util/pl-ps.1, src/util/pl-tek.1, src/util/plcolor.1, + src/util/pldebug.1, src/util/plgetframe.1, src/util/plline2.1, + src/util/plrot.1, src/util/png-bw.1, src/util/png-pix.1, + src/util/png_info.1, src/util/random.1, src/util/rle-pix.1, + src/util/sun-pix.1, src/util/terrain.1, src/util/wavelet.1: + Convert src/util man pages to DocBook XML (GCI: + http://www.google-melange.com/gci/task/view/google/gci2012/7970249) + +2012-12-02 05:11 starseeker + + * [r53939] CMakeLists.txt: + Back off on strict XML until we're done with GCI conversion of + man pages, to allow for task breakout of conversion and strict + fixes. + +2012-12-02 05:07 starseeker + + * [r53938] INSTALL: + minor INSTALL tweak + +2012-12-02 05:02 starseeker + + * [r53937] doc/docbook/system/man1/en/cell-fb.xml, + doc/docbook/system/man1/en/cmap-fb.xml, + doc/docbook/system/man1/en/fb-bw.xml, + doc/docbook/system/man1/en/fb-cmap.xml, + doc/docbook/system/man1/en/fb-fb.xml, + doc/docbook/system/man1/en/fb-orle.xml, + doc/docbook/system/man1/en/fb-pix.xml, + doc/docbook/system/man1/en/fb-png.xml, + doc/docbook/system/man1/en/fb-rle.xml, + doc/docbook/system/man1/en/fbanim.xml, + doc/docbook/system/man1/en/fbcbars.xml, + doc/docbook/system/man1/en/fbclear.xml, + doc/docbook/system/man1/en/fbcmap.xml, + doc/docbook/system/man1/en/fbcmrot.xml, + doc/docbook/system/man1/en/fbcolor.xml, + doc/docbook/system/man1/en/fbfade.xml, + doc/docbook/system/man1/en/fbframe.xml, + doc/docbook/system/man1/en/fbfree.xml, + doc/docbook/system/man1/en/fbgamma.xml, + doc/docbook/system/man1/en/fbgrid.xml, + doc/docbook/system/man1/en/fbhelp.xml, + doc/docbook/system/man1/en/fblabel.xml, + doc/docbook/system/man1/en/fbline.xml, + doc/docbook/system/man1/en/fbpoint.xml, + doc/docbook/system/man1/en/fbscanplot.xml, + doc/docbook/system/man1/en/fbstretch.xml, + doc/docbook/system/man1/en/fbzoom.xml, + doc/docbook/system/man1/en/gif-fb.xml, + doc/docbook/system/man1/en/gif2fb.xml, + doc/docbook/system/man1/en/orle-fb.xml, + doc/docbook/system/man1/en/pix-fb.xml, + doc/docbook/system/man1/en/pixautosize.xml, + doc/docbook/system/man1/en/pl-fb.xml, + doc/docbook/system/man1/en/png-fb.xml, + doc/docbook/system/man1/en/polar-fb.xml, + doc/docbook/system/man1/en/pp-fb.xml, + doc/docbook/system/man1/en/rle-fb.xml: + Use same header as src/conv conversions. + +2012-12-02 04:40 starseeker + + * [r53936] doc/docbook/system/man1/en/bw-fb.xml, + doc/docbook/system/man1/en/cell-fb.xml, + doc/docbook/system/man1/en/cmap-fb.xml, + doc/docbook/system/man1/en/fb-bw.xml, + doc/docbook/system/man1/en/fb-cmap.xml, + doc/docbook/system/man1/en/fb-fb.xml, + doc/docbook/system/man1/en/fb-orle.xml, + doc/docbook/system/man1/en/fb-pix.xml, + doc/docbook/system/man1/en/fb-png.xml, + doc/docbook/system/man1/en/fb-rle.xml, + doc/docbook/system/man1/en/fbanim.xml, + doc/docbook/system/man1/en/fbcbars.xml, + doc/docbook/system/man1/en/fbclear.xml, + doc/docbook/system/man1/en/fbcmap.xml, + doc/docbook/system/man1/en/fbcmrot.xml, + doc/docbook/system/man1/en/fbcolor.xml, + doc/docbook/system/man1/en/fbfade.xml, + doc/docbook/system/man1/en/fbframe.xml, + doc/docbook/system/man1/en/fbfree.xml, + doc/docbook/system/man1/en/fbgamma.xml, + doc/docbook/system/man1/en/fbgrid.xml, + doc/docbook/system/man1/en/fbhelp.xml, + doc/docbook/system/man1/en/fblabel.xml, + doc/docbook/system/man1/en/fbline.xml, + doc/docbook/system/man1/en/fbpoint.xml, + doc/docbook/system/man1/en/fbscanplot.xml, + doc/docbook/system/man1/en/fbstretch.xml, + doc/docbook/system/man1/en/fbzoom.xml, + doc/docbook/system/man1/en/gif-fb.xml, + doc/docbook/system/man1/en/gif2fb.xml, + doc/docbook/system/man1/en/orle-fb.xml, + doc/docbook/system/man1/en/pix-fb.xml, + doc/docbook/system/man1/en/pixautosize.xml, + doc/docbook/system/man1/en/pl-fb.xml, + doc/docbook/system/man1/en/png-fb.xml, + doc/docbook/system/man1/en/polar-fb.xml, + doc/docbook/system/man1/en/pp-fb.xml, + doc/docbook/system/man1/en/rle-fb.xml: + GCI commits didn't pass strict for fb - fixing. + +2012-12-02 04:06 starseeker + + * [r53935] doc/docbook/system/man1/en/bw-fb.xml, + doc/docbook/system/man1/en/cell-fb.xml, + doc/docbook/system/man1/en/cmap-fb.xml, + doc/docbook/system/man1/en/fb-bw.xml, + doc/docbook/system/man1/en/fb-fb.xml, + doc/docbook/system/man1/en/fb-orle.xml, + doc/docbook/system/man1/en/fb-pix.xml, + doc/docbook/system/man1/en/fb-png.xml, + doc/docbook/system/man1/en/fb-rle.xml, + doc/docbook/system/man1/en/fbanim.xml, + doc/docbook/system/man1/en/fbcbars.xml, + doc/docbook/system/man1/en/fbclear.xml, + doc/docbook/system/man1/en/fbcmap.xml, + doc/docbook/system/man1/en/fbcmrot.xml, + doc/docbook/system/man1/en/fbcolor.xml, + doc/docbook/system/man1/en/fbfade.xml, + doc/docbook/system/man1/en/fbframe.xml, + doc/docbook/system/man1/en/fbfree.xml, + doc/docbook/system/man1/en/fbgamma.xml, + doc/docbook/system/man1/en/fbgrid.xml, + doc/docbook/system/man1/en/fbhelp.xml, + doc/docbook/system/man1/en/fblabel.xml, + doc/docbook/system/man1/en/fbline.xml, + doc/docbook/system/man1/en/fbpoint.xml, + doc/docbook/system/man1/en/fbscanplot.xml, + doc/docbook/system/man1/en/fbstretch.xml, + doc/docbook/system/man1/en/fbzoom.xml, + doc/docbook/system/man1/en/gif-fb.xml, + doc/docbook/system/man1/en/gif2fb.xml, + doc/docbook/system/man1/en/orle-fb.xml, + doc/docbook/system/man1/en/pix-fb.xml, + doc/docbook/system/man1/en/pixautosize.xml, + doc/docbook/system/man1/en/pl-fb.xml, + doc/docbook/system/man1/en/png-fb.xml, + doc/docbook/system/man1/en/polar-fb.xml, + doc/docbook/system/man1/en/pp-fb.xml, + doc/docbook/system/man1/en/rle-fb.xml: + Ah, crud - gummed up the patch application. Try again. + +2012-12-02 03:56 starseeker + + * [r53934] doc/docbook/system/man1/en/CMakeLists.txt, + doc/docbook/system/man1/en/fb-cmap.xml: + Add fb-cmap.xml - appears to have been missed in initial + conversion. + +2012-12-02 03:51 starseeker + + * [r53933] doc/docbook/system/man1/en/bw-fb.xml, + doc/docbook/system/man1/en/cell-fb.xml, + doc/docbook/system/man1/en/cmap-fb.xml, + doc/docbook/system/man1/en/fb-bw.xml, + doc/docbook/system/man1/en/fb-fb.xml, + doc/docbook/system/man1/en/fb-orle.xml, + doc/docbook/system/man1/en/fb-pix.xml, + doc/docbook/system/man1/en/fb-png.xml, + doc/docbook/system/man1/en/fb-rle.xml, + doc/docbook/system/man1/en/fbanim.xml, + doc/docbook/system/man1/en/fbcbars.xml, + doc/docbook/system/man1/en/fbclear.xml, + doc/docbook/system/man1/en/fbcmap.xml, + doc/docbook/system/man1/en/fbcmrot.xml, + doc/docbook/system/man1/en/fbcolor.xml, + doc/docbook/system/man1/en/fbfade.xml, + doc/docbook/system/man1/en/fbframe.xml, + doc/docbook/system/man1/en/fbfree.xml, + doc/docbook/system/man1/en/fbgamma.xml, + doc/docbook/system/man1/en/fbgrid.xml, + doc/docbook/system/man1/en/fbhelp.xml, + doc/docbook/system/man1/en/fblabel.xml, + doc/docbook/system/man1/en/fbline.xml, + doc/docbook/system/man1/en/fbpoint.xml, + doc/docbook/system/man1/en/fbscanplot.xml, + doc/docbook/system/man1/en/fbstretch.xml, + doc/docbook/system/man1/en/fbzoom.xml, + doc/docbook/system/man1/en/gif-fb.xml, + doc/docbook/system/man1/en/gif2fb.xml, + doc/docbook/system/man1/en/orle-fb.xml, + doc/docbook/system/man1/en/pix-fb.xml, + doc/docbook/system/man1/en/pixautosize.xml, + doc/docbook/system/man1/en/pl-fb.xml, + doc/docbook/system/man1/en/png-fb.xml, + doc/docbook/system/man1/en/polar-fb.xml, + doc/docbook/system/man1/en/pp-fb.xml, + doc/docbook/system/man1/en/rle-fb.xml: + Add man1 xml files from fb. + +2012-12-02 02:30 brlcad + + * [r53932] AUTHORS: + double-billing, credit cezar for his work fixing code now + (libged/libdm decoupling) in addition to the doc work. + +2012-12-02 02:29 brlcad + + * [r53931] include/ged.h, src/libged/adc.c, src/libged/clip.c, + src/libged/png.c, src/libged/rect.c, src/libged/screengrab.c, + src/mged/cmd.c, src/mged/mged.h: + really impressive -- apply cezar's gci patch + (http://www.google-melange.com/gci/task/view/google/gci2012/8017204) + that decouples libged from libdm. + +2012-12-02 02:12 brlcad + + * [r53930] AUTHORS: + credit stefi.stoyanova for contributions migrating fb manual + pages to docbook. + +2012-12-02 02:09 brlcad + + * [r53929] doc/docbook/system/man1/en/CMakeLists.txt, + src/fb/CMakeLists.txt, src/fb/Makefile.am, src/fb/bw-fb.1, + src/fb/cell-fb.1, src/fb/cmap-fb.1, src/fb/fb-bw.1, + src/fb/fb-cmap.1, src/fb/fb-fb.1, src/fb/fb-orle.1, + src/fb/fb-pix.1, src/fb/fb-png.1, src/fb/fb-rle.1, + src/fb/fbanim.1, src/fb/fbcbars.1, src/fb/fbclear.1, + src/fb/fbcmap.1, src/fb/fbcmrot.1, src/fb/fbcolor.1, + src/fb/fbfade.1, src/fb/fbframe.1, src/fb/fbfree.1, + src/fb/fbgamma.1, src/fb/fbgrid.1, src/fb/fbhelp.1, + src/fb/fblabel.1, src/fb/fbline.1, src/fb/fbpoint.1, + src/fb/fbscanplot.1, src/fb/fbstretch.1, src/fb/fbzoom.1, + src/fb/gif-fb.1, src/fb/gif2fb.1, src/fb/orle-fb.1, + src/fb/pix-fb.1, src/fb/pixautosize.1, src/fb/pl-fb.1, + src/fb/png-fb.1, src/fb/polar-fb.1, src/fb/pp-fb.1, + src/fb/rle-fb.1: + apply gci patch + (http://www.google-melange.com/gci/task/view/google/gci2012/8030204) + from stefi.stoyanova that converts the libfb manual pages to + docbook xml format. untested, but did remove the old manual pages + while applying the patch. + +2012-12-01 16:58 starseeker + + * [r53928] misc/CMakeLists.txt, misc/Doxyfile.in: + Tweak doxygen files for CMake building. + +2012-11-30 22:54 carlmoore + + * [r53927] doc/docbook/lessons/es/mged05_expresiones_booleanas.xml: + Spanish word 'substraccion' + +2012-11-30 22:50 carlmoore + + * [r53926] doc/docbook/lessons/es/mged05_expresiones_booleanas.xml: + fix spelling in English and Spanish + +2012-11-30 21:25 jordisayol + + * [r53925] misc/debian/brlcad.postinst, misc/debian/brlcad.postrm: + Delete unneeded process when install/remove deb packages. + +2012-11-30 21:21 jordisayol + + * [r53924] sh/make_rpm.sh: + Linux rpm properly clean system when removing + +2012-11-30 19:44 carlmoore + + * [r53923] doc/anim.txt, + doc/docbook/lessons/es/mged03_utilizar_comando_in.xml, + doc/html/manuals/mged/mged1.html: + fix spellings including one in Spanish + +2012-11-30 19:41 carlmoore + + * [r53922] doc/html/manuals/mged/ged.html, + doc/html/manuals/mged/ged.tex, doc/mged/e.tex: + fix spacing and fix spelling of 'restore' + +2012-11-30 19:38 carlmoore + + * [r53921] doc/html/manuals/Anim_Tutorial/chapt8.html, + doc/html/manuals/Anim_Tutorial/foot_graphics.html, + doc/html/manuals/Install.html: + fix spellings including Sproull + +2012-11-30 19:35 carlmoore + + * [r53920] misc/Doxyfile, misc/Doxyfile.in, src/fbed/try.c, + src/fbserv/server.c, src/libbu/convert.c, src/libbu/hist.c, + src/liborle/rle.c, src/librt/primitives/nmg/nmg_mesh.c, + src/rt/do.c, src/util/morphedit.1: + fix spellings + +2012-11-30 19:30 n_reed + + * [r53919] src/librt/primitives/pipe/pipe.c: + fix incorrect test allowing drawing with negative diameter + +2012-11-30 19:25 carlmoore + + * [r53918] src/halftone/halftone.1, src/halftone/main.c, + src/mged/arbs.c, src/proc-db/masonry.c, + src/tclscripts/hv3/hv3_form.tcl: + fix spellings (including Sproull and Steinberg) + +2012-11-30 19:22 carlmoore + + * [r53917] src/libged/bigE.c, src/libged/bot_decimate.c, + src/libged/get_obj_bounds.c, src/libged/human.c, + src/libged/loadview.c, src/libged/preview.c, + src/libged/wdb_bigE.c, src/libged/wdb_vdraw.c, + src/proc-db/brepintersect.cpp, src/rttherm/ssamp-bw.c: + fix spellings + +2012-11-30 18:28 brlcad + + * [r53916] AUTHORS: + credit ambar pal for his work moving librt comments from source + to header for the 'd' files + +2012-11-30 17:43 n_reed + + * [r53915] include/raytrace.h, src/librt/db_scan.c, + src/librt/dir.c: + r53914 patch accidently copied a couple function return types + with the comments + +2012-11-30 17:28 brlcad + + * [r53914] include/raytrace.h, src/librt/db5_alloc.c, + src/librt/db5_io.c, src/librt/db5_scan.c, src/librt/db_anim.c, + src/librt/db_flags.c, src/librt/db_fullpath.c, + src/librt/db_inmem.c, src/librt/db_io.c, src/librt/db_lookup.c, + src/librt/db_match.c, src/librt/db_open.c, src/librt/db_scan.c, + src/librt/db_tree.c, src/librt/db_walk.c, src/librt/dir.c, + src/librt/dspline.c: + apply patch from ambar pal for gci task + http://www.google-melange.com/gci/task/view/google/gci2012/8001215 + that moves the remaining librt doxygen comments from source to + header files. beat jackson to it. + +2012-11-30 16:23 brlcad + + * [r53913] include/wdb.h, src/libwdb/bot.c, src/libwdb/brep.cpp, + src/libwdb/cline.c, src/libwdb/export.c, src/libwdb/extrude.c, + src/libwdb/mater.c, src/libwdb/nmg.c, src/libwdb/nurb.c, + src/libwdb/pipe.c, src/libwdb/sketch.c, src/libwdb/wdb.c: + apply skriptkid patch from GCI task + http://www.google-melange.com/gci/task/view/google/gci2012/8025209 + that moves libwdb comments from source to header while cleaning + up along the way. thanks! + +2012-11-30 16:20 carlmoore + + * [r53912] doc/docbook/system/mann/en/Introduction.xml, + doc/docbook/system/mann/en/edit_translate.xml, + doc/docbook/system/mann/en/handle.xml: + remove trailing blanks/tabs + +2012-11-30 16:18 brlcad + + * [r53911] src/liboptical/sh_light.c: + clean up logic for readability, remove empty if/else + +2012-11-30 15:53 carlmoore + + * [r53910] src/archer/TODO: + add that extra 'm' to what apparently should be AnimMate + +2012-11-30 14:59 d_rossberg + + * [r53909] src/librt/primitives/pipe/pipe.c: + quell some "variable ‘xyz’ set but not used" errors + +2012-11-30 14:07 bob1961 + + * [r53908] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl, + src/tclscripts/archer/BotEditFrame.tcl, + src/tclscripts/archer/CMakeLists.txt, + src/tclscripts/archer/SketchEditFrame.tcl: + This is the initial code to edit sketches in Archer. Still more + to do. Checking in for safety. + +2012-11-30 13:34 bob1961 + + * [r53907] src/tclscripts/archer/BotEditFrame.tcl: + Minor update to add the bot name to the upper panel. + +2012-11-30 07:20 brlcad + + * [r53906] AUTHORS: + credit Dimitar with his GCI task contribution moving code + comments from source to header files for librt q-z files + (http://www.google-melange.com/gci/task/view/google/gci2012/8026204 + and sf patch 3591089) + +2012-11-30 05:42 jordisayol + + * [r53905] misc/debian/icons/128x128/brlcad-mged.png, + misc/debian/icons/16x16/brlcad-mged.png, + misc/debian/icons/24x24/brlcad-mged.png, + misc/debian/icons/256x256/brlcad-mged.png, + misc/debian/icons/36x36/brlcad-mged.png, + misc/debian/icons/48x48/brlcad-mged.png, + misc/debian/icons/64x64/brlcad-mged.png, + misc/debian/icons/96x96/brlcad-mged.png: + Update Linux icons + +2012-11-30 03:56 starseeker + + * [r53904] misc/CMake/test_srcs/termlib.c.in: + Interesting - clang static analysis saw the unused result + assignment in the CMake test, when CMake was run using + scan-build. + +2012-11-29 23:28 r_weiss + + * [r53903] src/librt/primitives/nmg/nmg_pt_fu.c: + Fixed a bug in function "bn_distsq_pt3_lseg3" in file + "nmg_pt_fu.c". Added test for when PCA is at A. + +2012-11-29 22:00 r_weiss + + * [r53902] src/libbn/plane.c: + Updated test function "bn_distsq_pt3_lseg3_v2" in file "plane.c". + Changed computations to use magnitude squared. + +2012-11-29 21:17 n_reed + + * [r53901] src/librt/primitives/pipe/pipe.c: + scale number of connecting arcs + +2012-11-29 20:42 carlmoore + + * [r53900] doc/docbook/articles/en/TEMPLATE.xml, + doc/docbook/system/man1/en/asc-nmg.xml, + doc/docbook/system/man1/en/comgeom-g.xml, + doc/docbook/system/man1/en/conv-vg2g.xml, + doc/docbook/system/man1/en/cy-g.xml, + doc/docbook/system/man1/en/dbclean.xml, + doc/docbook/system/man1/en/dbupgrade.xml, + doc/docbook/system/man1/en/dxf-g.xml, + doc/docbook/system/man1/en/enf-g.xml, + doc/docbook/system/man1/en/euclid-g.xml, + doc/docbook/system/man1/en/fast4-g.xml, + doc/docbook/system/man1/en/g-iges.xml, + doc/docbook/system/man1/en/g-nmg.xml, + doc/docbook/system/man1/en/g-shell-rect.xml, + doc/docbook/system/man1/en/g-tankill.xml, + doc/docbook/system/man1/en/g-var.xml, + doc/docbook/system/man1/en/g-vrml.xml, + doc/docbook/system/man1/en/g-x3d.xml, + doc/docbook/system/man1/en/g2asc.xml, + doc/docbook/system/man1/en/iges-g.xml, + doc/docbook/system/man1/en/nastran-g.xml, + doc/docbook/system/man1/en/nmg-bot.xml, + doc/docbook/system/man1/en/nmg-rib.xml, + doc/docbook/system/man1/en/pix2asc.xml, + doc/docbook/system/man1/en/ply-g.xml, + doc/docbook/system/man1/en/poly-bot.xml, + doc/docbook/system/man1/en/proe-g.xml, + doc/docbook/system/man1/en/rpatch.xml, + doc/docbook/system/man1/en/stl-g.xml, + doc/docbook/system/man1/en/tankill-g.xml, + doc/docbook/system/man1/en/vdeck.xml, + doc/docbook/system/man1/en/viewpoint-g.xml, + src/librt/primitives/pipe/pipe.c: + remove trailing blanks/tabs + +2012-11-29 20:15 n_reed + + * [r53899] src/librt/primitives/pipe/pipe.c: + make number of connecting arcs a parameter rather than a constant + +2012-11-29 19:46 n_reed + + * [r53898] src/librt/primitives/pipe/pipe.c: + scale number of segments used for bends + +2012-11-29 19:12 n_reed + + * [r53897] src/librt/primitives/pipe/pipe.c: + put pipe bend parameters in a struct + +2012-11-29 18:37 carlmoore + + * [r53896] src/librt/primitives/pipe/pipe.c: + remove trailing blanks/tabs + +2012-11-29 18:33 carlmoore + + * [r53895] configure.cmake.sh: + remove trailing blanks/tabs + +2012-11-29 18:31 carlmoore + + * [r53894] src/libbn/plane.c: + remove trailing blank/tab (s) + +2012-11-29 18:27 carlmoore + + * [r53893] include/raytrace.h: + fix spellings; add missing periods; remove trailing blanks/tabs + +2012-11-29 17:12 n_reed + + * [r53892] src/librt/primitives/pipe/pipe.c: + initial lod plot implementation scaling pipe ends + +2012-11-29 16:58 starseeker + + * [r53891] doc/docbook/system/mann/en/gr.xml: + tweak gr mann page. + +2012-11-29 16:43 n_reed + + * [r53890] src/librt/primitives/pipe/pipe.c: + ws/style + +2012-11-29 16:20 n_reed + + * [r53889] src/librt/primitives/pipe/pipe.c: + further decomposed pipe draw routines + +2012-11-29 16:07 brlcad + + * [r53888] include/raytrace.h, src/librt/regionfix.c, + src/librt/roots.c, src/librt/search.c, src/librt/shoot.c, + src/librt/tcl.c, src/librt/timer-nt.c, src/librt/timer42.c, + src/librt/timerhep.c, src/librt/timerunix.c, + src/librt/transform.c, src/librt/tree.c, src/librt/vers.c, + src/librt/vlist.c, src/librt/wdb.c: + accept a patch moving doxygen comments from source files to + header files for librt q-z files, from Dimitar Borisov, + http://www.google-melange.com/gci/task/view/google/gci2012/8026204 + and + https://sourceforge.net/tracker/?func=detail&aid=3591089&group_id=105292&atid=640804 + (GCI). + +2012-11-29 07:49 jordisayol + + * [r53887] sh/make_rpm.sh: + Include new Linux icons on rpm packages + +2012-11-29 07:48 jordisayol + + * [r53886] misc/Makefile.am: + Update removed unneeded Linux icons list + +2012-11-29 02:59 jordisayol + + * [r53885] misc/debian/brlcad.install, misc/debian/icons/scalable, + misc/debian/source/include-binaries: + Remove unneeded Linux icons + +2012-11-29 01:23 starseeker + + * [r53884] CMakeLists.txt: + Now that DocBook documentation does pass xmllint validation + thanks to Cezar's work, turn on validation whenever BRL-CAD's + strict build setting is enabled (i.e. most of the time.) xmllint + validation is the DocBook analogue to our C/C++ strict flags, so + it makes sense to enable both when we're being 'strict' - forces + us to keep the sources in a clean state. + +2012-11-29 00:30 caen23 + + * [r53883] + doc/docbook/books/en/BRL-CAD_Tutorial_Series-VolumeIV.xml: + books/en/BRL-CAD_Tutorial_Series-VolumeIV now passes XML + validation (GCI Task: + http://www.google-melange.com/gci/task/view/google/gci2012/7994222) + +2012-11-28 23:39 caen23 + + * [r53882] + doc/docbook/lessons/es/mged01_crear_figuras_primitivas.xml, + doc/docbook/lessons/es/mged02_opciones_vistas.xml, + doc/docbook/lessons/es/mged03_utilizar_comando_in.xml, + doc/docbook/lessons/es/mged08_prop_materiales_copa2.xml, + doc/docbook/lessons/es/mged11_refinar_taza.xml: + lessons/es is now XML valid (GCI Task) + +2012-11-28 22:34 brlcad + + * [r53881] NEWS, src/tclscripts/archer/ArcherCore.tcl: + fix the deprecation error reported by hsrai on the brlcad-users + mailing list where he noticed a deprecation error when he + selected File->New and created a new database. it was using the + old Db interface. make it use the new ged interface. + +2012-11-28 22:06 carlmoore + + * [r53880] src/proc-db/pyramid.c: + fix Glassner spelling + +2012-11-28 21:04 caen23 + + * [r53879] doc/docbook/system/mann/en/3ptarb.xml, + doc/docbook/system/mann/en/B.xml, + doc/docbook/system/mann/en/E.xml, + doc/docbook/system/mann/en/Introduction.xml, + doc/docbook/system/mann/en/M.xml, + doc/docbook/system/mann/en/Z.xml, + doc/docbook/system/mann/en/adc.xml, + doc/docbook/system/mann/en/ae.xml, + doc/docbook/system/mann/en/alias-pix.xml, + doc/docbook/system/mann/en/all_sf.xml, + doc/docbook/system/mann/en/analyze.xml, + doc/docbook/system/mann/en/anim_cascade.xml, + doc/docbook/system/mann/en/anim_fly.xml, + doc/docbook/system/mann/en/anim_hardtrack.xml, + doc/docbook/system/mann/en/anim_keyread.xml, + doc/docbook/system/mann/en/anim_lookat.xml, + doc/docbook/system/mann/en/anim_offset.xml, + doc/docbook/system/mann/en/anim_orient.xml, + doc/docbook/system/mann/en/animmate.xml, + doc/docbook/system/mann/en/apropos.xml, + doc/docbook/system/mann/en/aproposdevel.xml, + doc/docbook/system/mann/en/aproposlib.xml, + doc/docbook/system/mann/en/arb.xml, + doc/docbook/system/mann/en/arced.xml, + doc/docbook/system/mann/en/area.xml, + doc/docbook/system/mann/en/arot.xml, + doc/docbook/system/mann/en/attach.xml, + doc/docbook/system/mann/en/attr.xml, + doc/docbook/system/mann/en/autoview.xml, + doc/docbook/system/mann/en/bb.xml, + doc/docbook/system/mann/en/bev.xml, + doc/docbook/system/mann/en/bo.xml, + doc/docbook/system/mann/en/bolt.xml, + doc/docbook/system/mann/en/bot_condense.xml, + doc/docbook/system/mann/en/bot_decimate.xml, + doc/docbook/system/mann/en/bot_face_fuse.xml, + doc/docbook/system/mann/en/bot_face_sort.xml, + doc/docbook/system/mann/en/bot_flip.xml, + doc/docbook/system/mann/en/bot_split.xml, + doc/docbook/system/mann/en/bot_sync.xml, + doc/docbook/system/mann/en/bot_vertex_fuse.xml, + doc/docbook/system/mann/en/build_region.xml, + doc/docbook/system/mann/en/c.xml, + doc/docbook/system/mann/en/cat.xml, + doc/docbook/system/mann/en/center.xml, + doc/docbook/system/mann/en/color.xml, + doc/docbook/system/mann/en/comb_color.xml, + doc/docbook/system/mann/en/copyeval.xml, + doc/docbook/system/mann/en/copymat.xml, + doc/docbook/system/mann/en/cp.xml, + doc/docbook/system/mann/en/cpi.xml, + doc/docbook/system/mann/en/d.xml, + doc/docbook/system/mann/en/dall.xml, + doc/docbook/system/mann/en/db.xml, + doc/docbook/system/mann/en/db_glob.xml, + doc/docbook/system/mann/en/dbconcat.xml, + doc/docbook/system/mann/en/debugbu.xml, + doc/docbook/system/mann/en/debugdir.xml, + doc/docbook/system/mann/en/debuglib.xml, + doc/docbook/system/mann/en/debugmem.xml, + doc/docbook/system/mann/en/debugnmg.xml, + doc/docbook/system/mann/en/decompose.xml, + doc/docbook/system/mann/en/delay.xml, + doc/docbook/system/mann/en/dm.xml, + doc/docbook/system/mann/en/draw.xml, + doc/docbook/system/mann/en/dup.xml, + doc/docbook/system/mann/en/e_command.xml, + doc/docbook/system/mann/en/e_muves.xml, + doc/docbook/system/mann/en/eac.xml, + doc/docbook/system/mann/en/echo.xml, + doc/docbook/system/mann/en/edcodes.xml, + doc/docbook/system/mann/en/edcolor.xml, + doc/docbook/system/mann/en/edcomb.xml, + doc/docbook/system/mann/en/edgedir.xml, + doc/docbook/system/mann/en/edit.xml, + doc/docbook/system/mann/en/edit_translate.xml, + doc/docbook/system/mann/en/edmater.xml, + doc/docbook/system/mann/en/em.xml, + doc/docbook/system/mann/en/eqn.xml, + doc/docbook/system/mann/en/erase.xml, + doc/docbook/system/mann/en/erase_all.xml, + doc/docbook/system/mann/en/ev.xml, + doc/docbook/system/mann/en/exists.xml, + doc/docbook/system/mann/en/exit.xml, + doc/docbook/system/mann/en/expand.xml, + doc/docbook/system/mann/en/export_body.xml, + doc/docbook/system/mann/en/extrude.xml, + doc/docbook/system/mann/en/eye_pt.xml, + doc/docbook/system/mann/en/facedef.xml, + doc/docbook/system/mann/en/facetize.xml, + doc/docbook/system/mann/en/find.xml, + doc/docbook/system/mann/en/fracture.xml, + doc/docbook/system/mann/en/g.xml, + doc/docbook/system/mann/en/garbage_collect.xml, + doc/docbook/system/mann/en/gastank.xml, + doc/docbook/system/mann/en/gqa.xml, + doc/docbook/system/mann/en/gr.xml, + doc/docbook/system/mann/en/graph.xml, + doc/docbook/system/mann/en/gui.xml, + doc/docbook/system/mann/en/handle.xml, + doc/docbook/system/mann/en/help.xml, + doc/docbook/system/mann/en/helpdevel.xml, + doc/docbook/system/mann/en/helplib.xml, + doc/docbook/system/mann/en/hide.xml, + doc/docbook/system/mann/en/history.xml, + doc/docbook/system/mann/en/i.xml, + doc/docbook/system/mann/en/idents.xml, + doc/docbook/system/mann/en/igraph.xml, + doc/docbook/system/mann/en/ill.xml, + doc/docbook/system/mann/en/in.xml, + doc/docbook/system/mann/en/inside.xml, + doc/docbook/system/mann/en/item.xml, + doc/docbook/system/mann/en/journal.xml, + doc/docbook/system/mann/en/keep.xml, + doc/docbook/system/mann/en/keypoint.xml, + doc/docbook/system/mann/en/kill.xml, + doc/docbook/system/mann/en/killall.xml, + doc/docbook/system/mann/en/killtree.xml, + doc/docbook/system/mann/en/knob.xml, + doc/docbook/system/mann/en/l.xml, + doc/docbook/system/mann/en/l_muves.xml, + doc/docbook/system/mann/en/labelvert.xml, + doc/docbook/system/mann/en/lc.xml, + doc/docbook/system/mann/en/listeval.xml, + doc/docbook/system/mann/en/lm.xml, + doc/docbook/system/mann/en/loadtk.xml, + doc/docbook/system/mann/en/lookat.xml, + doc/docbook/system/mann/en/ls.xml, + doc/docbook/system/mann/en/make.xml, + doc/docbook/system/mann/en/make_bb.xml, + doc/docbook/system/mann/en/make_pnts.xml, + doc/docbook/system/mann/en/mater.xml, + doc/docbook/system/mann/en/matpick.xml, + doc/docbook/system/mann/en/memprint.xml, + doc/docbook/system/mann/en/mirface.xml, + doc/docbook/system/mann/en/mrot.xml, + doc/docbook/system/mann/en/mv.xml, + doc/docbook/system/mann/en/mvall.xml, + doc/docbook/system/mann/en/nirt.xml, + doc/docbook/system/mann/en/nmg_collapse.xml, + doc/docbook/system/mann/en/nmg_simplify.xml, + doc/docbook/system/mann/en/oed.xml, + doc/docbook/system/mann/en/opendb.xml, + doc/docbook/system/mann/en/orientation.xml, + doc/docbook/system/mann/en/orot.xml, + doc/docbook/system/mann/en/oscale.xml, + doc/docbook/system/mann/en/overlay.xml, + doc/docbook/system/mann/en/p.xml, + doc/docbook/system/mann/en/pathlist.xml, + doc/docbook/system/mann/en/paths.xml, + doc/docbook/system/mann/en/permute.xml, + doc/docbook/system/mann/en/picket_fence.xml, + doc/docbook/system/mann/en/plot.xml, + doc/docbook/system/mann/en/prcolor.xml, + doc/docbook/system/mann/en/prefix.xml, + doc/docbook/system/mann/en/press.xml, + doc/docbook/system/mann/en/preview.xml, + doc/docbook/system/mann/en/prj_add.xml, + doc/docbook/system/mann/en/ps.xml, + doc/docbook/system/mann/en/push.xml, + doc/docbook/system/mann/en/put_comb.xml, + doc/docbook/system/mann/en/putmat.xml, + doc/docbook/system/mann/en/q.xml, + doc/docbook/system/mann/en/qorot.xml, + doc/docbook/system/mann/en/qray.xml, + doc/docbook/system/mann/en/query_ray.xml, + doc/docbook/system/mann/en/quit.xml, + doc/docbook/system/mann/en/qvrot.xml, + doc/docbook/system/mann/en/r.xml, + doc/docbook/system/mann/en/rcc-blend.xml, + doc/docbook/system/mann/en/rcc-cap.xml, + doc/docbook/system/mann/en/rcc-tgc.xml, + doc/docbook/system/mann/en/rcc-tor.xml, + doc/docbook/system/mann/en/rcodes.xml, + doc/docbook/system/mann/en/read_muves.xml, + doc/docbook/system/mann/en/red.xml, + doc/docbook/system/mann/en/redraw_vlist.xml, + doc/docbook/system/mann/en/refresh.xml, + doc/docbook/system/mann/en/regdebug.xml, + doc/docbook/system/mann/en/regdef.xml, + doc/docbook/system/mann/en/regions.xml, + doc/docbook/system/mann/en/reid.xml, + doc/docbook/system/mann/en/release.xml, + doc/docbook/system/mann/en/rfarb.xml, + doc/docbook/system/mann/en/rm.xml, + doc/docbook/system/mann/en/rmater.xml, + doc/docbook/system/mann/en/rmats.xml, + doc/docbook/system/mann/en/rot.xml, + doc/docbook/system/mann/en/rotobj.xml, + doc/docbook/system/mann/en/rpp-arch.xml, + doc/docbook/system/mann/en/rpp-cap.xml, + doc/docbook/system/mann/en/rrt.xml, + doc/docbook/system/mann/en/rt.xml, + doc/docbook/system/mann/en/rtarea.xml, + doc/docbook/system/mann/en/rtcheck.xml, + doc/docbook/system/mann/en/savekey.xml, + doc/docbook/system/mann/en/saveview.xml, + doc/docbook/system/mann/en/sca.xml, + doc/docbook/system/mann/en/search.xml, + doc/docbook/system/mann/en/sed.xml, + doc/docbook/system/mann/en/setview.xml, + doc/docbook/system/mann/en/shader.xml, + doc/docbook/system/mann/en/shell.xml, + doc/docbook/system/mann/en/showmats.xml, + doc/docbook/system/mann/en/size.xml, + doc/docbook/system/mann/en/solids.xml, + doc/docbook/system/mann/en/sph-part.xml, + doc/docbook/system/mann/en/status.xml, + doc/docbook/system/mann/en/summary.xml, + doc/docbook/system/mann/en/sv.xml, + doc/docbook/system/mann/en/sync.xml, + doc/docbook/system/mann/en/t.xml, + doc/docbook/system/mann/en/t_muves.xml, + doc/docbook/system/mann/en/ted.xml, + doc/docbook/system/mann/en/title.xml, + doc/docbook/system/mann/en/tol.xml, + doc/docbook/system/mann/en/tops.xml, + doc/docbook/system/mann/en/tor-rcc.xml, + doc/docbook/system/mann/en/tra.xml, + doc/docbook/system/mann/en/track.xml, + doc/docbook/system/mann/en/translate.xml, + doc/docbook/system/mann/en/tree.xml, + doc/docbook/system/mann/en/units.xml, + doc/docbook/system/mann/en/vars.xml, + doc/docbook/system/mann/en/vdraw.xml, + doc/docbook/system/mann/en/view.xml, + doc/docbook/system/mann/en/viewsize.xml, + doc/docbook/system/mann/en/vnirt.xml, + doc/docbook/system/mann/en/voxelize.xml, + doc/docbook/system/mann/en/vquery_ray.xml, + doc/docbook/system/mann/en/vrmgr.xml, + doc/docbook/system/mann/en/vrot.xml, + doc/docbook/system/mann/en/wcodes.xml, + doc/docbook/system/mann/en/whatid.xml, + doc/docbook/system/mann/en/which_shader.xml, + doc/docbook/system/mann/en/whichair.xml, + doc/docbook/system/mann/en/whichid.xml, + doc/docbook/system/mann/en/who.xml, + doc/docbook/system/mann/en/window.xml, + doc/docbook/system/mann/en/window_frame.xml, + doc/docbook/system/mann/en/wire.xml, + doc/docbook/system/mann/en/wmater.xml, + doc/docbook/system/mann/en/x.xml, + doc/docbook/system/mann/en/xpush.xml, + doc/docbook/system/mann/en/zoom.xml: + mann now passes XML validation + +2012-11-28 20:55 brlcad + + * [r53878] src/tclscripts/lib/tclIndex: + missing accordian files + +2012-11-28 20:55 brlcad + + * [r53877] src/tclscripts/archer/images/Makefile.am: + missing a few files + +2012-11-28 20:49 starseeker + + * [r53876] doc/docbook/system/man1/en/CMakeLists.txt, + doc/docbook/system/man1/en/asc2g.xml, + doc/docbook/system/man1/en/asc2pix.xml, + doc/docbook/system/man1/en/g2asc.xml, + doc/docbook/system/man1/en/pix2asc.xml: + Had a couple man pages which output to two names - fix build + logic. + +2012-11-28 20:29 carlmoore + + * [r53875] include/bn.h: + remove trailing blanks/tabs + +2012-11-28 20:11 carlmoore + + * [r53874] src/librt/prep.c, src/librt/timer42.c, + src/librt/timerunix.c: + fix spelling of Compatibility + +2012-11-28 20:04 brlcad + + * [r53873] include/bn.h, src/libbn/mat.c, src/libbn/msr.c, + src/libbn/multipoly.c, src/libbn/noise.c, src/libbn/plane.c, + src/libbn/poly.c, src/libbn/qmath.c, src/libbn/rand.c, + src/libbn/tabdata.c, src/libbn/tcl.c, src/libbn/vectfont.c, + src/libbn/vert_tree.c, src/libbn/wavelet.c: + accept gci task + http://www.google-melange.com/gci/task/view/google/gci2012/8008208 + from Skriptkid (Akshay Kashyap) which migrates comments from + libbn sources to the bn.h header. per his notes, he moved not + only the function comments but also some of the file header + comments. nice. + +2012-11-28 20:03 brlcad + + * [r53872] AUTHORS: + credit Akshay Kashyap (skriptkid) with his gci contribution that + moved libbn comments from source to header files + +2012-11-28 19:48 carlmoore + + * [r53871] misc/CMake/FindADAPTAGRAMS.cmake: + fix spelling of ADAPTAGRAMS + +2012-11-28 19:47 carlmoore + + * [r53870] doc/html/manuals/index.html, + doc/html/manuals/mged/mged1.html, + doc/html/manuals/mged/shaders.html: + fix spellings + +2012-11-28 19:45 carlmoore + + * [r53869] doc/docbook/specifications/en/BRL_CAD_g_format_V5.xml, + doc/html/ReleaseNotes/Rel6.0/index.html, + src/librt/bezier_2d_isect.c, src/librt/cut.c, + src/librt/timer42.c: + fix spellings including Glassner + +2012-11-28 19:41 carlmoore + + * [r53868] src/libbn/mat.c, src/libbn/tplot.c, + src/libfft/splitdit.c, src/libfft/splitditc.c, + src/liboptical/CMakeLists.txt, + src/librt/primitives/nmg/nmg_rt_isect.c: + fix spellings including Glassner + +2012-11-28 19:33 carlmoore + + * [r53867] src/liboptical/sh_toyota.c, src/mged/chgtree.c, + src/mged/comb_bool_parse.y, src/mged/comb_bool_scan.l, + src/mged/edarb.c, src/mged/red.c: + fix spellings + +2012-11-28 19:31 brlcad + + * [r53866] NEWS: + jordi beefed up the desktop icons for files and our apps on linux + +2012-11-28 19:27 carlmoore + + * [r53865] src/conv/iges/conv_drawings.c, src/conv/iges/revolve.c, + src/conv/step/SiUnit.cpp, src/conv/vdeck/vdeck.c, + src/libgcv/wfobj/obj_parser_state.h: + fix spellings + +2012-11-28 19:25 carlmoore + + * [r53864] src/conv/dxf/g-dxf.c, src/conv/patch/patch-g.c, + src/irprep/showtherm.c: + fix spellings and fix apostrophe + +2012-11-28 19:23 carlmoore + + * [r53863] src/tclscripts/mged/skt_ed.tcl: + change capital I to small i + +2012-11-28 19:22 carlmoore + + * [r53862] src/tclscripts/mged/comb.tcl, + src/tclscripts/mged/openw.tcl: + fix spellings + +2012-11-28 19:20 carlmoore + + * [r53861] src/tclscripts/hv3/hv3_form.tcl, + src/tclscripts/mged/text.tcl, + src/tclscripts/swidgets/scripts/tree.itk: + fix spellings + +2012-11-28 19:18 carlmoore + + * [r53860] src/fb/bw-fb.c, src/fb/fb-orle.c, src/fb/polar-fb.c, + src/proc-db/brepintersect.cpp: + fix spellings + +2012-11-28 19:16 carlmoore + + * [r53859] include/bot.h, include/dm.h, include/raytrace.h: + fix spellings + +2012-11-28 19:14 brlcad + + * [r53858] AUTHORS: + credit Cezar Elnazli for all his work on the documentation + system, converting our old manual pages to docbook xml, and + cleaning up existing xml docs (lint validation) + +2012-11-28 18:59 jordisayol + + * [r53857] misc/Makefile.am, misc/debian/brlcad-archer.png, + misc/debian/brlcad-db.png, misc/debian/brlcad-doc.png, + misc/debian/brlcad-mged.png, misc/debian/brlcad-v4.png, + misc/debian/brlcad-v5.png, misc/debian/brlcad.install, + misc/debian/icons, misc/debian/icons/128x128, + misc/debian/icons/128x128/brlcad-archer.png, + misc/debian/icons/128x128/brlcad-db.png, + misc/debian/icons/128x128/brlcad-doc.png, + misc/debian/icons/128x128/brlcad-mged.png, + misc/debian/icons/128x128/brlcad-v4.png, + misc/debian/icons/128x128/brlcad-v5.png, + misc/debian/icons/128x128/brlcad-v6.png, misc/debian/icons/16x16, + misc/debian/icons/16x16/brlcad-archer.png, + misc/debian/icons/16x16/brlcad-db.png, + misc/debian/icons/16x16/brlcad-doc.png, + misc/debian/icons/16x16/brlcad-mged.png, + misc/debian/icons/16x16/brlcad-v4.png, + misc/debian/icons/16x16/brlcad-v5.png, + misc/debian/icons/16x16/brlcad-v6.png, misc/debian/icons/24x24, + misc/debian/icons/24x24/brlcad-archer.png, + misc/debian/icons/24x24/brlcad-db.png, + misc/debian/icons/24x24/brlcad-doc.png, + misc/debian/icons/24x24/brlcad-mged.png, + misc/debian/icons/24x24/brlcad-v4.png, + misc/debian/icons/24x24/brlcad-v5.png, + misc/debian/icons/24x24/brlcad-v6.png, misc/debian/icons/256x256, + misc/debian/icons/256x256/brlcad-archer.png, + misc/debian/icons/256x256/brlcad-db.png, + misc/debian/icons/256x256/brlcad-doc.png, + misc/debian/icons/256x256/brlcad-mged.png, + misc/debian/icons/256x256/brlcad-v4.png, + misc/debian/icons/256x256/brlcad-v5.png, + misc/debian/icons/256x256/brlcad-v6.png, misc/debian/icons/36x36, + misc/debian/icons/36x36/brlcad-archer.png, + misc/debian/icons/36x36/brlcad-db.png, + misc/debian/icons/36x36/brlcad-doc.png, + misc/debian/icons/36x36/brlcad-mged.png, + misc/debian/icons/36x36/brlcad-v4.png, + misc/debian/icons/36x36/brlcad-v5.png, + misc/debian/icons/36x36/brlcad-v6.png, misc/debian/icons/48x48, + misc/debian/icons/48x48/brlcad-archer.png, + misc/debian/icons/48x48/brlcad-db.png, + misc/debian/icons/48x48/brlcad-doc.png, + misc/debian/icons/48x48/brlcad-mged.png, + misc/debian/icons/48x48/brlcad-v4.png, + misc/debian/icons/48x48/brlcad-v5.png, + misc/debian/icons/48x48/brlcad-v6.png, misc/debian/icons/64x64, + misc/debian/icons/64x64/brlcad-archer.png, + misc/debian/icons/64x64/brlcad-db.png, + misc/debian/icons/64x64/brlcad-doc.png, + misc/debian/icons/64x64/brlcad-mged.png, + misc/debian/icons/64x64/brlcad-v4.png, + misc/debian/icons/64x64/brlcad-v5.png, + misc/debian/icons/64x64/brlcad-v6.png, misc/debian/icons/96x96, + misc/debian/icons/96x96/brlcad-archer.png, + misc/debian/icons/96x96/brlcad-db.png, + misc/debian/icons/96x96/brlcad-doc.png, + misc/debian/icons/96x96/brlcad-mged.png, + misc/debian/icons/96x96/brlcad-v4.png, + misc/debian/icons/96x96/brlcad-v5.png, + misc/debian/icons/96x96/brlcad-v6.png, + misc/debian/icons/scalable, + misc/debian/icons/scalable/brlcad-archer.svg, + misc/debian/icons/scalable/brlcad-db.svg, + misc/debian/icons/scalable/brlcad-doc.svg, + misc/debian/icons/scalable/brlcad-mged.svg, + misc/debian/icons/scalable/brlcad-v4.svg, + misc/debian/icons/scalable/brlcad-v5.svg, + misc/debian/icons/scalable/brlcad-v6.svg, + misc/debian/source/include-binaries: + Improve Linux icons quality + +2012-11-28 18:21 n_reed + + * [r53856] src/librt/primitives/pipe/pipe.c: + tweak collinearity test - dist should never be nan but could be + infinite + +2012-11-28 16:39 starseeker + + * [r53855] src/libbn/plane.c: + initialize AtoP - getting warnings about possible uninitialized + use in release build configurations. + +2012-11-28 16:07 starseeker + + * [r53854] src/conv/Makefile.am, src/conv/iges/Makefile.am, + src/conv/vdeck/CMakeLists.txt, src/conv/vdeck/Makefile.am: + Remove references to .1 man pages that are converted to docbook + +2012-11-28 15:57 starseeker + + * [r53853] doc/docbook/system/man5/en/dsp.xml, + doc/docbook/system/man5/en/gattributes.xml: + Commit man5 Docbook patch from GCI task + http://www.google-melange.com/gci/task/view/google/gci2012/7950213 + by Cezar. + +2012-11-28 15:51 starseeker + + * [r53852] doc/docbook/system/man3/en/libfb.xml: + Commit man3 Docbook patch from GCI task + http://www.google-melange.com/gci/task/view/google/gci2012/7950213 + by Cezar. + +2012-11-28 15:46 starseeker + + * [r53851] doc/docbook/system/man1/en/asc-nmg.xml, + doc/docbook/system/man1/en/asc2dsp.xml, + doc/docbook/system/man1/en/bot_dump.xml, + doc/docbook/system/man1/en/bot_shell-vtk.xml, + doc/docbook/system/man1/en/bwscale.xml, + doc/docbook/system/man1/en/coil.xml, + doc/docbook/system/man1/en/cy-g.xml, + doc/docbook/system/man1/en/db.xml, + doc/docbook/system/man1/en/dxf-g.xml, + doc/docbook/system/man1/en/enf-g.xml, + doc/docbook/system/man1/en/euclid-g.xml, + doc/docbook/system/man1/en/fast4-g.xml, + doc/docbook/system/man1/en/g-acad.xml, + doc/docbook/system/man1/en/g-dxf.xml, + doc/docbook/system/man1/en/g-egg.xml, + doc/docbook/system/man1/en/g-euclid.xml, + doc/docbook/system/man1/en/g-nff.xml, + doc/docbook/system/man1/en/g-nmg.xml, + doc/docbook/system/man1/en/g-obj.xml, + doc/docbook/system/man1/en/g-shell-rect.xml, + doc/docbook/system/man1/en/g-stl.xml, + doc/docbook/system/man1/en/g-tankill.xml, + doc/docbook/system/man1/en/g-var.xml, + doc/docbook/system/man1/en/g-vrml.xml, + doc/docbook/system/man1/en/g-x3d.xml, + doc/docbook/system/man1/en/gqa.xml, + doc/docbook/system/man1/en/iges-g.xml, + doc/docbook/system/man1/en/mged.xml, + doc/docbook/system/man1/en/nastran-g.xml, + doc/docbook/system/man1/en/nirt.xml, + doc/docbook/system/man1/en/nmg-bot.xml, + doc/docbook/system/man1/en/obj-g.xml, + doc/docbook/system/man1/en/ply-g.xml, + doc/docbook/system/man1/en/poly-bot.xml, + doc/docbook/system/man1/en/proe-g.xml, + doc/docbook/system/man1/en/rt.xml, + doc/docbook/system/man1/en/rtarea.xml, + doc/docbook/system/man1/en/rtcheck.xml, + doc/docbook/system/man1/en/rtedge.xml, + doc/docbook/system/man1/en/rtwizard.xml, + doc/docbook/system/man1/en/stl-g.xml, + doc/docbook/system/man1/en/tankill-g.xml, + doc/docbook/system/man1/en/tire.xml, + doc/docbook/system/man1/en/viewpoint-g.xml: + Commit man1 Docbook patch from GCI task + http://www.google-melange.com/gci/task/view/google/gci2012/7950213 + by Cezar. + +2012-11-28 15:24 starseeker + + * [r53850] doc/docbook/articles/en/TEMPLATE.xml: + Try to improve xml readability a bit in TEMPLATE.xml + +2012-11-28 14:22 starseeker + + * [r53849] doc/docbook/articles/en/TEMPLATE.xml, + doc/docbook/articles/en/about.xml, + doc/docbook/articles/hy/about_hy.xml, + doc/docbook/articles/it/about_it.xml, + doc/docbook/articles/ru/about_ru.xml: + Commit articles Docbook patch from GCI task + http://www.google-melange.com/gci/task/view/google/gci2012/7950213 + by Cezar. + +2012-11-28 05:13 brlcad + + * [r53848] AUTHORS: + full name is Silviu Ungureanu + +2012-11-28 04:20 brlcad + + * [r53847] TODO: + two more cmake tasks, global flags and disabling IF_X + +2012-11-28 04:08 starseeker + + * [r53846] doc/docbook/system/man1/en/CMakeLists.txt, + doc/docbook/system/man1/en/asc-nmg.xml, + doc/docbook/system/man1/en/asc2g.xml, + doc/docbook/system/man1/en/asc2pix.xml, + doc/docbook/system/man1/en/bot_dump.xml, + doc/docbook/system/man1/en/bot_shell-vtk.xml, + doc/docbook/system/man1/en/comgeom-g.xml, + doc/docbook/system/man1/en/conv-vg2g.xml, + doc/docbook/system/man1/en/cy-g.xml, + doc/docbook/system/man1/en/dbclean.xml, + doc/docbook/system/man1/en/dbupgrade.xml, + doc/docbook/system/man1/en/dxf-g.xml, + doc/docbook/system/man1/en/enf-g.xml, + doc/docbook/system/man1/en/euclid-g.xml, + doc/docbook/system/man1/en/fast4-g.xml, + doc/docbook/system/man1/en/g-acad.xml, + doc/docbook/system/man1/en/g-dxf.xml, + doc/docbook/system/man1/en/g-egg.xml, + doc/docbook/system/man1/en/g-euclid.xml, + doc/docbook/system/man1/en/g-iges.xml, + doc/docbook/system/man1/en/g-nff.xml, + doc/docbook/system/man1/en/g-nmg.xml, + doc/docbook/system/man1/en/g-obj.xml, + doc/docbook/system/man1/en/g-shell-rect.xml, + doc/docbook/system/man1/en/g-stl.xml, + doc/docbook/system/man1/en/g-tankill.xml, + doc/docbook/system/man1/en/g-var.xml, + doc/docbook/system/man1/en/g-vrml.xml, + doc/docbook/system/man1/en/g-x3d.xml, + doc/docbook/system/man1/en/g2asc.xml, + doc/docbook/system/man1/en/iges-g.xml, + doc/docbook/system/man1/en/nastran-g.xml, + doc/docbook/system/man1/en/nmg-bot.xml, + doc/docbook/system/man1/en/nmg-rib.xml, + doc/docbook/system/man1/en/patch-g.xml, + doc/docbook/system/man1/en/pix2asc.xml, + doc/docbook/system/man1/en/ply-g.xml, + doc/docbook/system/man1/en/poly-bot.xml, + doc/docbook/system/man1/en/proe-g.xml, + doc/docbook/system/man1/en/rpatch.xml, + doc/docbook/system/man1/en/stl-g.xml, + doc/docbook/system/man1/en/tankill-g.xml, + doc/docbook/system/man1/en/vdeck.xml, + doc/docbook/system/man1/en/viewpoint-g.xml, + src/conv/CMakeLists.txt, src/conv/asc/asc2g.1, + src/conv/asc/asc2pix.1, src/conv/asc/g2asc.1, + src/conv/asc/pix2asc.1, src/conv/bot_dump.1, + src/conv/bot_shell-vtk.1, src/conv/comgeom/comgeom-g.1, + src/conv/conv-vg2g.1, src/conv/cy-g.1, src/conv/dbclean.1, + src/conv/dbupgrade.1, src/conv/dxf/dxf-g.1, src/conv/dxf/g-dxf.1, + src/conv/enf-g.1, src/conv/euclid/euclid-g.1, + src/conv/euclid/g-euclid.1, src/conv/fast4-g.1, + src/conv/g-acad.1, src/conv/g-egg.1, src/conv/g-nff.1, + src/conv/g-obj.1, src/conv/g-shell-rect.1, src/conv/g-var.1, + src/conv/g-vrml.1, src/conv/g-x3d.1, + src/conv/iges/CMakeLists.txt, src/conv/iges/g-iges.1, + src/conv/iges/iges-g.1, src/conv/nastran-g.1, + src/conv/nmg/asc-nmg.1, src/conv/nmg/g-nmg.1, + src/conv/nmg/nmg-bot.1, src/conv/nmg/nmg-rib.1, + src/conv/patch/patch-g.1, src/conv/patch/rpatch.1, + src/conv/ply-g.1, src/conv/poly-bot.1, src/conv/proe-g.1, + src/conv/stl/g-stl.1, src/conv/stl/stl-g.1, + src/conv/tankill/g-tankill.1, src/conv/tankill/tankill-g.1, + src/conv/vdeck/vdeck.1, src/conv/viewpoint-g.1: + Apply conversion by Cezar of src/conv man pages to DocBook XML - + GCI + http://www.google-melange.com/gci/task/view/google/gci2012/8027203 + +2012-11-28 03:16 brlcad + + * [r53845] AUTHORS: + credit silvrous for his code contributions (r53844) moving some + librt comments from source to header files. + +2012-11-28 00:47 erikgreenwald + + * [r53844] include/raytrace.h, src/librt/attributes.c, + src/librt/bbox.c, src/librt/binunif/db5_bin.c, src/librt/bool.c, + src/librt/bundle.c, src/librt/cmd.c, src/librt/comb/comb.c, + src/librt/comb/db_comb.c, src/librt/cut.c, src/librt/globals.c, + src/librt/htbl.c, src/librt/memalloc.c, src/librt/mkbundle.c: + Apply the comment migration by SkriptKid for the GCI project. + http://www.google-melange.com/gci/task/view/google/gci2012/7975238 + +2012-11-28 00:19 brlcad + + * [r53843] include/vector_x86.h: + pull the comment closer to the statement that assumes 16-byte + alignment + +2012-11-27 23:22 starseeker + + * [r53842] doc/docbook/articles/en/TEMPLATE.xml: + Make TEMPLATE.xml pass DocBook5 xmllint validation. + +2012-11-27 23:14 starseeker + + * [r53841] misc/CMake/DocBook.cmake: + Grr - ordering issues with script generation in DocBook targets. + +2012-11-27 21:53 carlmoore + + * [r53840] src/conv/iges/iges.c, src/libged/rfarb.c, + src/libtclcad/tclcad_obj.c, src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl, src/util/pixbgstrip.c: + fix spellings and insert some missing blanks + +2012-11-27 21:29 r_weiss + + * [r53839] src/libbn/plane.c: + Updated test function "bn_distsq_pt3_lseg3_v2" in file "plane.c". + Added test for when dot product is undefined. + +2012-11-27 20:57 n_reed + + * [r53838] src/librt/primitives/pipe/pipe.c, + src/librt/primitives/table.c: + stub pipe lod plot routine + +2012-11-27 20:29 n_reed + + * [r53837] src/librt/primitives/pipe/pipe.c: + pull handling of inner and outer diameters into separate + functions + +2012-11-27 20:06 carlmoore + + * [r53836] doc/BRL-CAD.bib: + fix spelling + +2012-11-27 18:47 n_reed + + * [r53835] src/librt/primitives/pipe/pipe.c: + calculate bend normal locally instead of passing it as an + argument + +2012-11-27 17:37 n_reed + + * [r53834] src/librt/primitives/pipe/pipe.c: + generalize bend drawing to an arbitrary number of connecting + lines + +2012-11-27 16:47 starseeker + + * [r53833] misc/CMake/DocBook.cmake: + Fix DB_VALIDATE_TARGET calls. + +2012-11-27 16:22 n_reed + + * [r53832] src/librt/primitives/pipe/pipe.c: + clarify bend drawing algorithm + +2012-11-27 14:49 starseeker + + * [r53831] src/librt/test_subdivision.cpp: + Not doing the right thing with edges yet, but at least recognize + them. + +2012-11-27 14:19 starseeker + + * [r53830] src/librt/test_subdivision.cpp: + Remove unused variable assignment. + +2012-11-27 02:04 starseeker + + * [r53829] include/vector_x86.h: + Probably not fully correct adaptations to vector_x86.h, but this + does get things building when using the newer dvec.h + +2012-11-27 01:55 starseeker + + * [r53828] include/dvec.h: + Put back Sean's version of dvec.h + +2012-11-27 00:21 n_reed + + * [r53827] src/librt/primitives/pipe/pipe.c: + more parameter reduction and descriptive renaming + +2012-11-26 22:37 brlcad + + * [r53826] src/libged/simulate/simulate.c: + c++ comments are no-no + +2012-11-26 22:30 starseeker + + * [r53825] include/dvec.h, include/vector_x86.h: + Back up changes to vector_x86.h and dvec.h - causing build + failures on linux. Wasn't showing up in CMake build because the + header test that triggered it wasn't in brlcad_config.h + +2012-11-26 22:29 starseeker + + * [r53824] CMakeLists.txt: + Couple header tests that autotools was recording in + brlcad_config.h but CMake wasn't. + +2012-11-26 21:27 r_weiss + + * [r53823] src/libbn/plane.c: + Updated the test function "bn_distsq_pt3_lseg3_v2" in file + "plane.c". Simplified the logic, added more comments and did some + cleanup. + +2012-11-26 20:42 n_reed + + * [r53822] src/librt/primitives/pipe/pipe.c: + reduce some excessively long parameter lists with structs + +2012-11-26 20:01 starseeker + + * [r53821] src/libnurbs/opennurbs_fit.h: + Turn off inline failure warnings for Eigen as well. + +2012-11-26 19:46 starseeker + + * [r53820] src/libged/edit.c: + Bump coords_used from 6 to 7 to avoid implicit truncation warning + from clang. + +2012-11-26 19:27 starseeker + + * [r53819] src/librt/test_botpatches.cpp: + And thats why we want to see the non-Eigen warnings. Rename + shadowed vars in test_botpatches + +2012-11-26 19:23 starseeker + + * [r53818] src/libnurbs/opennurbs_fit.h: + Add appropriate pragmas for clang as well. + +2012-11-26 18:53 starseeker + + * [r53817] src/libnurbs/opennurbs_fit.h: + Handle GCC pragmas more carefully - if we're at 4.6 or better, + suppress the warnings only for the Eigen headers themselves. + Else, fall back to the simpler behavior. If GCC is too old, don't + try pragma at all. + +2012-11-26 16:30 starseeker + + * [r53816] src/libnurbs/CMakeLists.txt, + src/libnurbs/opennurbs_fit.h, src/librt/CMakeLists.txt: + Since it's the Eigen headers introducing the shadow warnings, use + pragmas to shush them. + +2012-11-26 15:37 bob1961 + + * [r53815] src/libged/translate_tgc.c: + Now handling hr instead of hh. + +2012-11-26 15:27 bob1961 + + * [r53814] src/tclscripts/archer/TgcEditFrame.tcl: + Minor mods. + +2012-11-26 07:47 brlcad + + * [r53813] CMakeLists.txt: + quote the strings. if they're empty, cmake dumps an error. + +2012-11-25 05:26 brlcad + + * [r53812] src/librt/primitives/half/half.c: + comment the peculiarity I had to research. ensures segment is + valid, equiv to >inf || <-inf + +2012-11-24 17:19 brlcad + + * [r53811] src/librt/CMakeLists.txt: + enable the test for make test + +2012-11-24 17:19 brlcad + + * [r53810] src/librt/test_dvec.cpp: + return failure only if no time elapsed + +2012-11-24 17:06 brlcad + + * [r53809] src/librt/CMakeLists.txt: + enable test_dvec for compilation (always) so that the sources + stay in sync. all tests should get to a similar state (always + compiling, code complete) so there's never a question whether + it's dead code, *especially* works in progress + +2012-11-24 16:55 brlcad + + * [r53808] src/librt/Makefile.am: + dvec should conditionally use the cpu, so it can/should always + compile + +2012-11-24 16:48 brlcad + + * [r53807] src/librt/test_dvec.cpp: + reduce to just 1M iterations so it takes just a couple seconds on + 2011 hardware + +2012-11-24 16:47 brlcad + + * [r53806] src/librt/test_dvec.cpp: + update header name to match new file name + +2012-11-24 16:46 brlcad + + * [r53805] src/librt/CMakeLists.txt, src/librt/Makefile.am, + src/librt/brep_test.cpp, src/librt/test_dvec.cpp: + rename brep_test to test_dvec + +2012-11-24 16:42 brlcad + + * [r53804] src/librt/brep_test.cpp: + aligned value no longer provided, and they're all true so we're + good. + +2012-11-24 16:41 brlcad + + * [r53803] include/vector_x86.h: + the header does not declare an aligned boolean and could be + accommodated in other ways internally (copy to an aligned array). + just document the assertion. + +2012-11-24 16:35 brlcad + + * [r53802] src/librt/Makefile.am: + add missing primitives/primitive_util.c + +2012-11-21 18:21 n_reed + + * [r53801] src/librt/primitives/pipe/pipe.c: + expand comments, rename variables, and rearrange statements for + clarity + +2012-11-21 16:52 carlmoore + + * [r53800] src/libbu/tests/bu_dirname.c: + insert colon + +2012-11-21 16:51 carlmoore + + * [r53799] src/fb/fbcmap.c: + remove a blank after 'Usage' + +2012-11-21 16:49 carlmoore + + * [r53798] src/brlman/brlman.tcl.in: + standardize on use of 'Usage:' + +2012-11-21 16:44 carlmoore + + * [r53797] NEWS: + fix spelling of a name + +2012-11-21 16:25 bob1961 + + * [r53796] src/libged/translate_tgc.c: + Update _ged_translate_tgc() to move H while maintaining + perpendicularity among H, A and B without the random flipping of + vectors. + +2012-11-21 14:31 erikgreenwald + + * [r53795] include/config_win.h, include/config_win_cmake.h.in: + add nextafter[lf]? compatibility macros for msvc + +2012-11-21 14:19 bob1961 + + * [r53794] src/libged/translate_extrude.c: + Tidy up a bit. + +2012-11-21 13:56 bob1961 + + * [r53793] src/libged/translate_extrude.c, + src/tclscripts/archer/ExtrudeEditFrame.tcl: + Updated the extrude edit panel by getting rid of "Rotate H" and + adding "Move End HR". Also added code to _ged_translate_extrude() + to move H while maintaining perpendicularity among H, U and V + without the random flipping of vectors as seen in tgc (fixing + this next). + +2012-11-21 05:06 brlcad + + * [r53792] include/bu.h: + document the INFINITY magic number for the fall-back case + +2012-11-21 04:55 brlcad + + * [r53791] include/bu.h: + rearrange the ancient INFINITY constants to use available + platform-defined limits that usually represent infinity. fall + back to what we were doing if all else fails, but it should + increase our modeling range to the extent available for fastf_t. + +2012-11-21 04:42 brlcad + + * [r53790] include/bu.h, include/raytrace.h: + move the INFINITY define from raytrace.h over to bu.h with the + other fastf_t/numeric limits. not specific to librt and vmath + uses the symbol. + +2012-11-21 00:44 brlcad + + * [r53789] src/libbn/plane.c: + unpublished functions get marked static + +2012-11-20 23:26 r_weiss + + * [r53788] src/libbn/plane.c: + Updated test functions "bn_distsq_pt3_lseg3_v2" and "are_equal". + Fixed some computation bugs in "bn_distsq_pt3_lseg3_v2". Changed + "are_equal" to deal with different possible underlying data types + for "fastf_t". + +2012-11-20 22:18 carlmoore + + * [r53787] src/librt/primitives/bot/tie_kdtree.c: + fix spelling + +2012-11-20 21:40 brlcad + + * [r53786] TODO: + after talking with bowers, apparently some problem calling + rt_dirbuild() multiple times (same db, different trees). begs + investigating. + +2012-11-20 21:38 carlmoore + + * [r53785] src/libbn/plane.c: + fix spelling and remove a trailing tab + +2012-11-20 20:49 erikgreenwald + + * [r53784] src/libbn/ulp.c: + use the isnan and isinf from config_win.h + +2012-11-20 20:49 erikgreenwald + + * [r53783] include/config_win.h, include/config_win_cmake.h.in: + add isinf() for msvc + +2012-11-20 18:02 carlmoore + + * [r53782] src/tclscripts/rtwizard/lib/MGEDpage.itk, + src/tclscripts/rtwizard/lib/Wizard.itk, src/util/brlcad.1, + src/util/pix3filter.c, src/util/pl-pl.1: + fix spellings + +2012-11-20 17:54 carlmoore + + * [r53781] src/tclscripts/swidgets/scripts/togglearrow.itk: + fix 2 occurrences of 'Disabled___' + +2012-11-20 16:58 erikgreenwald + + * [r53780] src/libbn/ulp.c: + Define isinf() and isnan() for msvc. + +2012-11-20 16:07 n_reed + + * [r53779] src/librt/primitives/pipe/pipe.c: + clean up draw loop to remove goto + +2012-11-20 02:54 brlcad + + * [r53778] NEWS: + fix an old interactive edit keypoint bug seen by most new users + that go through the commercial brl-cad training, but that we + couldn't ever seem to reproduce. turns out there was a bug + related to interactive mouse translations/rotations if a keypoint + was manually set. fixed in r53727 by parker. + +2012-11-20 00:56 n_reed + + * [r53777] src/librt/primitives/pipe/pipe.c: + document draw_linear_seg routine and give it a more flexible + implementation + +2012-11-19 23:20 r_weiss + + * [r53776] include/bn.h: + Updated "bn.h" adding function "bn_distsq_pt3_lseg3_v2" which is + a test version of "bn_distsq_pt3_lseg3". At some point this test + function and the original will be consolidated. + +2012-11-19 23:18 r_weiss + + * [r53775] src/libbn/plane.c: + Added two new functions to libbn in file "plane.c". Added + "bn_distsq_pt3_lseg3_v2" which a test version of + "bn_distsq_pt3_lseg3" and "bn_are_equal" which is a support + function for this new test function. At some point this test + function and the original will be consolidated. + +2012-11-19 22:05 carlmoore + + * [r53774] src/tclscripts/mged/help.tcl: + fix spelling + +2012-11-19 22:04 carlmoore + + * [r53773] src/tclscripts/mged/overlap.tcl: + fix spellings INCLUDING 'string compare' missing trailing e + +2012-11-19 22:02 carlmoore + + * [r53772] src/tclscripts/mged/build_region.tcl: + fix spellings + +2012-11-19 21:58 carlmoore + + * [r53771] src/tclscripts/mged/make_solid.tcl: + fix spellings + +2012-11-19 21:56 carlmoore + + * [r53770] src/tclscripts/mged/shaders.tcl: + fix spellings + +2012-11-19 21:33 carlmoore + + * [r53769] src/tclscripts/mged/expand_comb.tcl: + fix spelling + +2012-11-19 21:21 brlcad + + * [r53768] src/libbu/bitv.c: + manually initialize instead of relying on calloc. slightly faster + alloc and probably slower albeit more explicit init. + +2012-11-19 21:14 carlmoore + + * [r53767] src/tclscripts/mged/pattern.tcl: + fix spellings + +2012-11-19 21:12 carlmoore + + * [r53766] src/tclscripts/mged/xclone.tcl: + add s and an apostrophe, and fix a spelling + +2012-11-19 21:10 carlmoore + + * [r53765] src/tclscripts/mged/apply_mat.tcl: + fix spelling + +2012-11-19 21:01 brlcad + + * [r53764] src/librt/prep.c: + document the function and allow for a null resource pointer + +2012-11-19 20:52 brlcad + + * [r53763] src/librt/bundle.c, src/librt/shoot.c, + src/librt/vshoot.c: + no longer need to manually clear the bitv, rt_get_solidbitv() + does it for us + +2012-11-19 20:48 brlcad + + * [r53762] src/librt/prep.c: + this is why the bitv had stuff in it. rt_get_solidbitv() needs to + clear the bitv that we're reusing before returning it. + +2012-11-19 20:30 carlmoore + + * [r53761] src/tclscripts/mged/pattern_gui.tcl: + fix spelling + +2012-11-19 20:28 carlmoore + + * [r53760] src/tclscripts/mged/mgedrc.tcl: + fix spellings + +2012-11-19 20:27 carlmoore + + * [r53759] src/tclscripts/mged/openw.tcl: + fix spellings + +2012-11-19 20:25 carlmoore + + * [r53758] src/tclscripts/mged/text.tcl: + fix spellings (NOTICE search_char) and switch period & + parenthesis) + +2012-11-19 20:22 carlmoore + + * [r53757] src/tclscripts/mged/attr_edit.tcl: + fix spelling and fix double negative (changing 'nor' to 'or') + +2012-11-19 20:21 carlmoore + + * [r53756] src/tclscripts/mged/points.tcl: + fix spellings (NOTICE INCLUSION OF pipe_number.pl) + +2012-11-19 19:29 carlmoore + + * [r53755] src/tclscripts/lib/CellPlot.tcl, + src/tclscripts/lib/Ged.tcl: + fix spellings + +2012-11-19 19:27 carlmoore + + * [r53754] src/tclscripts/lib/Command.tcl: + fix spelling as just explained in an email + +2012-11-19 19:16 carlmoore + + * [r53753] src/proc-db/wavy.c, src/rt/heatgraph.c, + src/shapes/fence.h, src/sig/dconv.c, + src/tclscripts/geometree/GeometryBrowser.tcl, + src/tclscripts/html_library.tcl: + fix spellings + +2012-11-19 19:07 erikgreenwald + + * [r53752] doc/deprecation.txt, include/raytrace.h, + src/librt/primitives/nmg/nmg_fuse.c: + Re-add nmg_model_break_e_on_v as wrapper for nmg_break_e_on_v and + mark deprecated. + +2012-11-19 18:09 brlcad + + * [r53751] src/librt/bool.c: + fix up the comment, was called rt_fdiff(). expand a note that + sensitivity testing is needed but using distance tolerance is + probably warranted here. + +2012-11-19 18:08 r_weiss + + * [r53750] src/librt/primitives/nmg/nmg_bool.c: + Fixed a bug in function "nmg_bool" in file "nmg_bool.c". Changed + when classlist is allocated to after all changes to the model are + complete. The reason is these changes increase the number of + objects in the model and the allocated size of classlist needs to + be large enough for all the objects. Also changed when function + "nmg_classify_shared_edges_verts" is called to after all changes + to the model are complete. + +2012-11-19 17:45 r_weiss + + * [r53749] include/raytrace.h, src/conv/euclid/euclid-g.c, + src/conv/jack/jack-g.c, src/libged/bot_fuse.c, + src/librt/primitives/nmg/nmg_bool.c, + src/librt/primitives/nmg/nmg_fuse.c: + Renamed function "nmg_model_break_e_on_v" to "nmg_break_e_on_v" + and changed the function to process any NMG object, not just an + model structure. Changed all references to this function. Updated + files "raytrace.h", "bot_fuse.c", "euclid-g.c", "jack-g.c", + "nmg_fuse.c" and "nmg_bool.c". + +2012-11-19 17:35 carlmoore + + * [r53748] src/librt/primitives/tgc/tgc.c, src/libwdb/wdb.c, + src/mged/mgdev.h, src/mged/set.c: + fix spellings + +2012-11-19 16:34 brlcad + + * [r53747] src/librt/bool.c: + remove a hard-coded 0.001 constant that has been in here since + 1989 (mike, r3900). the intent seems to be to discard partitions + that are behind the ray start point implying the constant was + attempting to capture near-zero or negative partitions. this + should be something below SMALL_FASTF but the 'large' value + implies it may be accommodating compound math model-space values + so go with the more dynamic distance tolerance (0.0005) which + makes this only slightly tighter than it was. regression + tested/passed on osx. + +2012-11-19 16:07 erikgreenwald + + * [r53746] src/libbn/ulp.c: + isfinite() is a c99 macro, so use the old isinf() + +2012-11-19 16:01 erikgreenwald + + * [r53745] src/libbn/ulp.c: + double/float min funcs are in bn, not bu + +2012-11-18 21:52 starseeker + + * [r53744] misc/CMake/ThirdParty.cmake: + downcase add_subdirectory. + +2012-11-18 21:50 starseeker + + * [r53743] CMakeLists.txt: + Add note to investigate whether if(TARGET ) test will replace + pulling and checking for target properites manually... could + simplify the logic for this quite a bit. + +2012-11-17 05:57 brlcad + + * [r53742] src/conv/g-vrml.c, src/conv/g-x3d.c, + src/liboptical/sh_air.c, src/liboptical/sh_billboard.c, + src/liboptical/sh_brdf.c, src/liboptical/sh_camo.c, + src/liboptical/sh_cook.c, src/liboptical/sh_fbm.c, + src/liboptical/sh_fire.c, src/liboptical/sh_gauss.c, + src/liboptical/sh_grass.c, src/liboptical/sh_noise.c, + src/liboptical/sh_plastic.c, src/liboptical/sh_rtrans.c, + src/liboptical/sh_scloud.c, src/liboptical/sh_text.c, + src/liboptical/sh_xxx.c, src/mged/dm-X.c, src/mged/dm-ogl.c, src/mged/dm-rtgl.c, src/mged/dm-tk.c, src/mged/dm-wgl.c, - src/mged/dodraw.c, src/mged/doevent.c, src/mged/dozoom.c, - src/mged/edarb.c, src/mged/edars.c, src/mged/edpipe.c, - src/mged/edsol.c, src/mged/facedef.c, src/mged/fbserv.c, - src/mged/fbserv.h, src/mged/grid.c, src/mged/history.c, - src/mged/htmlLibraryUi.h, src/mged/joints.h, src/mged/mater.c, - src/mged/menu.c, src/mged/menu.h, src/mged/mgdev.h, - src/mged/mged.bat, src/mged/mged.c, src/mged/mged.h, - src/mged/mged_dm.h, src/mged/mover.c, src/mged/muves.c, - src/mged/overlay.c, src/mged/plot.c, src/mged/points/count.c, - src/mged/points/count.h, src/mged/points/main.c, - src/mged/points/points_parse.y, src/mged/points/points_scan.l, - src/mged/points/process.c, src/mged/points/process.h, - src/mged/polyif.c, src/mged/predictor.c, src/mged/qray.h, - src/mged/rect.c, src/mged/red.c, src/mged/rtif.c, - src/mged/scroll.c, src/mged/scroll.h, src/mged/sedit.h, - src/mged/set.c, src/mged/setup.c, src/mged/share.c, - src/mged/solids_on_ray.c, src/mged/tedit.c, src/mged/titles.c, - src/mged/titles.h, src/mged/track.c, src/mged/update.c, - src/mged/usepen.c, src/mged/utility1.c, src/mged/vparse.c, - src/mged/vrlink.c, src/nirt/bsphere.c, src/nirt/command.c, - src/nirt/conversion.c, src/nirt/if.c, src/nirt/interact.c, - src/nirt/nirt.c, src/nirt/nirt.h, src/nirt/parse_fmt.c, - src/nirt/read_mat.c, src/nirt/showshot.1, src/nirt/showshot.c, - src/nirt/str_manip.c, src/nirt/usrfmt.h, src/proc-db/bottest.c, - src/proc-db/brep_cube.cpp, src/proc-db/brep_simple.cpp, - src/proc-db/brepintersect.cpp, src/proc-db/brepintersect.h, - src/proc-db/breplicator.cpp, src/proc-db/brickwall.c, - src/proc-db/clutter.c, src/proc-db/common.c, - src/proc-db/contours.c, src/proc-db/csgbrep.cpp, - src/proc-db/globe.c, src/proc-db/kurt.c, src/proc-db/lens.c, - src/proc-db/makebuilding/makebuilding.c, src/proc-db/masonry.c, - src/proc-db/menger.c, src/proc-db/metaball.c, - src/proc-db/mkbuilding.c, src/proc-db/mkbuilding.h, - src/proc-db/molecule.c, src/proc-db/nmgmodel.c, - src/proc-db/pipe.c, src/proc-db/pipetest.c, src/proc-db/pix2g.c, - src/proc-db/pyramid.c, src/proc-db/rawbot.c, - src/proc-db/ringworld.c, src/proc-db/room.c, - src/proc-db/sketch.c, src/proc-db/sphflake.c, - src/proc-db/spltest.c, src/proc-db/surfaceintersect.cpp, - src/proc-db/surfaceintersect.h, src/proc-db/tea.c, - src/proc-db/tea.h, src/proc-db/tea_nmg.c, src/proc-db/torii.c, - src/proc-db/tube.c, src/proc-db/vegetation.c, - src/proc-db/vegetation.h, src/proc-db/wavy.c, - src/proc-db/wdb_example.c, src/remrt/ihost.c, src/remrt/ihost.h, - src/remrt/protocol.h, src/remrt/remrt.1, src/remrt/remrt.c, - src/remrt/rtsrv.c, src/rt/do.c, src/rt/ext.h, src/rt/heatgraph.c, - src/rt/libfb-dummy.c, src/rt/main.c, src/rt/opt.c, src/rt/rad.h, - src/rt/read-rtlog.c, src/rt/reshoot.1, src/rt/reshoot.c, - src/rt/rt_bot_faces.1, src/rt/rtexample.c, src/rt/rtg3.1, - src/rt/rthide.1, src/rt/rtpp.1, src/rt/rtrange.1, src/rt/rtray.1, - src/rt/rtregis.1, src/rt/rtregis.c, src/rt/rtscale.1, - src/rt/rtscale.c, src/rt/rtshot.1, src/rt/rtshot.c, - src/rt/rtuif.h, src/rt/rtwalk.1, src/rt/rtwalk.c, - src/rt/rtweight.1, src/rt/rtxray.1, src/rt/scanline.c, - src/rt/scanline.h, src/rt/sh_tcl.c, src/rt/view.c, - src/rt/view_bot_faces.c, src/rt/viewarea.c, src/rt/viewcell.c, - src/rt/viewcheck.c, src/rt/viewdir.c, src/rt/viewdummy.c, - src/rt/viewedge.c, src/rt/viewfrac.c, src/rt/viewg3.c, - src/rt/viewhide.c, src/rt/viewpp.c, src/rt/viewrad.c, - src/rt/viewrange.c, src/rt/viewray.c, src/rt/viewscat.c, - src/rt/viewsil.c, src/rt/viewweight.c, src/rt/viewxray.c, - src/rt/worker.c, src/rttherm/pixtest.c, src/rttherm/rttherm.1, - src/rttherm/spectrum.c, src/rttherm/ssamp-bw.1, - src/rttherm/ssamp-bw.c, src/rttherm/ssampview.c, - src/rttherm/ssampview.tcl, src/rttherm/test.sh, - src/rttherm/viewtherm.c, src/shapes/bolt.c, src/shapes/coil.c, - src/shapes/fence.c, src/shapes/fence.h, src/shapes/gastank.c, - src/shapes/handle.c, src/shapes/human.c, - src/shapes/picket_fence.c, src/shapes/tire.c, - src/shapes/window.c, src/shapes/window_frame.c, - src/shapes/wire.c, src/sig/a-d.c, src/sig/butter.c, - src/sig/bw-d.c, src/sig/c-d.c, src/sig/coswin.c, src/sig/d-a.c, - src/sig/d-bw.c, src/sig/d-f.c, src/sig/d-i.c, src/sig/d-u.c, - src/sig/d2-c.c, src/sig/damdf.c, src/sig/dauto.c, - src/sig/dauto2.c, src/sig/dconv.c, src/sig/ddisp.c, - src/sig/dfft.c, src/sig/dmod.c, src/sig/dpeak.c, src/sig/dsel.c, - src/sig/dstats.c, src/sig/dwin.c, src/sig/f-d.c, src/sig/f-i.c, - src/sig/fhor.c, src/sig/hamwin.c, src/sig/i-a.c, src/sig/i-d.c, - src/sig/i-f.c, src/sig/ihist.c, src/sig/imod.c, src/sig/interp.c, - src/sig/istats.c, src/sig/smod.c, src/sig/syn.c, src/sig/u-a.c, - src/sig/u-bw.c, src/sig/u-d.c, src/sig/u-f.c, src/sig/umod.c, - src/sig/ustats.c, src/tab/script-tab.c, src/tab/script.l, - src/tab/tabinterp.1, src/tab/tabinterp.c, src/tab/tabsub.1, - src/tab/tabsub.c, src/tab/tokens.h, src/tclscripts/ami.tcl, - src/tclscripts/ampi.tcl, src/tclscripts/archer/Arb4EditFrame.tcl, - src/tclscripts/archer/Arb5EditFrame.tcl, - src/tclscripts/archer/Arb6EditFrame.tcl, - src/tclscripts/archer/Arb7EditFrame.tcl, - src/tclscripts/archer/Arb8EditFrame.tcl, - src/tclscripts/archer/Archer.tcl, + src/mged/set.c, src/remrt/protocol.h, src/rt/reshoot.c, + src/rt/view.c: + found the cause of solids regression failure. more structparse + tables existed in need of using %g for doubles. + +2012-11-16 22:53 carlmoore + + * [r53741] src/librt/primitives/nmg/nmg_pr.c: + use capital E + +2012-11-16 22:53 carlmoore + + * [r53740] src/librt/primitives/hyp/hyp_brep.cpp: + fix spelling and add a period + +2012-11-16 22:52 carlmoore + + * [r53739] src/librt/primitives/nmg/nmg.c, + src/librt/primitives/nmg/nmg_misc.c: + fix spellings + +2012-11-16 22:51 carlmoore + + * [r53738] src/librt/primitives/extrude/extrude.c, + src/librt/primitives/half/half.c, + src/librt/primitives/nmg/nmg_fuse.c: + fix spellings + +2012-11-16 21:21 carlmoore + + * [r53737] src/librt/primitives/bspline/bspline.cpp, + src/librt/primitives/bspline/bspline_mirror.c: + fix spellings of 'allocate' + +2012-11-16 20:38 n_reed + + * [r53736] src/librt/primitives/pipe/pipe.c: + make arc drawing logic clearer + +2012-11-16 19:57 carlmoore + + * [r53735] src/librt/primitives/bot/tie_kdtree.c: + fix spellings and punctuation + +2012-11-16 19:55 n_reed + + * [r53734] src/librt/primitives/pipe/pipe.c: + turn one function that does two things into two functions that do + one thing + +2012-11-16 19:38 bob1961 + + * [r53733] src/librt/primitives/bot/bot.c: + Minor mod. + +2012-11-16 19:01 carlmoore + + * [r53732] src/libpc/pc_main.c, src/librt/prep.c: + fix spellings + +2012-11-16 18:52 carlmoore + + * [r53731] src/liboptical/sh_light.c, src/liboptical/sh_prj.c: + fix spellings + +2012-11-16 18:13 brlcad + + * [r53730] src/liboptical/sh_prj.c: + init to char 0 instead of value 0 since that's what it checks + +2012-11-16 18:02 carlmoore + + * [r53729] src/libged/human.c, src/libicv/rot.c: + fix spellings ('anthro', right?) + +2012-11-16 17:19 carlmoore + + * [r53728] src/libbn/multipoly.c, src/libged/facetize.c, + src/libged/gqa.c, src/libged/put_comb.c: + fix spellings, including that of multipoly + +2012-11-16 13:30 bob1961 + + * [r53727] src/mged/chgview.c, src/mged/sedit.h: + Reset the keypoint if using the mouse to drag/translate a + primitive. This fixes the teleportation problem seen when + translating a primitive after having set the keypoint. + +2012-11-16 03:26 brlcad + + * [r53726] src/proc-db/brepintersect.cpp: + assert.h is a system header, wrap in <> + +2012-11-15 22:03 carlmoore + + * [r53725] src/libbu/uce-dirent.h, src/libdm/dm-plot.c: + fix spellings + +2012-11-15 21:53 carlmoore + + * [r53724] src/libbn/bntester.c, src/libbn/rand.c: + fix spellings (2 files being submitted here) + +2012-11-15 21:51 carlmoore + + * [r53723] src/libbn/mat.c: + fix spelling and add 2 missing periods + +2012-11-15 21:49 carlmoore + + * [r53722] src/libbn/noise.c: + fix spelling + +2012-11-15 21:48 carlmoore + + * [r53721] src/libbn/tri_tri.c: + fix spelling, and I had to find Franklin Antonio in a web search + +2012-11-15 21:45 carlmoore + + * [r53720] src/libbn/wavelet.c: + fix spelling + +2012-11-15 21:44 carlmoore + + * [r53719] src/libbn/symbol.c, src/libbn/vectfont.c: + fix spelling + +2012-11-15 21:43 carlmoore + + * [r53718] src/libbn/msr.c: + fix spellings (notice several occurrences of 'gauss') + +2012-11-15 21:39 carlmoore + + * [r53717] src/libbn/tabdata.c: + fix spellings + +2012-11-15 21:23 starseeker + + * [r53716] src/librt/test_botpatches.cpp: + Add TODO note. + +2012-11-15 20:08 carlmoore + + * [r53715] src/gtools/g_lint.c: + fix spelling + +2012-11-15 20:06 carlmoore + + * [r53714] src/fbserv/fbserv.c: + fix spelling + +2012-11-15 20:05 carlmoore + + * [r53713] src/fbserv/server.c: + fix spelling + +2012-11-15 20:00 carlmoore + + * [r53712] src/fb/gif2fb.c: + fix 2 misspellings of the same word + +2012-11-15 19:57 n_reed + + * [r53711] src/librt/primitives/pipe/pipe.c: + ws/style + +2012-11-15 19:42 carlmoore + + * [r53710] src/external/Unigraphics/ug-g.c: + and use singular, right? + +2012-11-15 19:40 carlmoore + + * [r53709] src/external/ProEngineer/proe-brl.c: + fix spelling + +2012-11-15 19:39 carlmoore + + * [r53708] src/external/Unigraphics/ug-g.c: + fix spelling -- 'particles', right? + +2012-11-15 19:38 carlmoore + + * [r53707] src/conv/tankill/tankill-g.c: + fix spelling in an error message + +2012-11-15 18:15 n_reed + + * [r53706] src/librt/primitives/arb8/arb8.c: + implement stub + +2012-11-15 16:11 starseeker + + * [r53705] src/libbn/ulp.c: + Missing semicolon + +2012-11-15 16:07 carlmoore + + * [r53704] src/conv/patch/patch-g.c: + fix spelling and use a capital, not small, E + +2012-11-15 16:06 carlmoore + + * [r53703] src/conv/vdeck/cgarbs.c: + fix spelling + +2012-11-15 15:39 erikgreenwald + + * [r53702] src/libbn/ulp.c: + tweak bu_dbl_max and bu_flt_max to compiled on win32/msvc. + +2012-11-15 14:24 n_reed + + * [r53701] src/librt/primitives/arb8/arb8.c, + src/librt/primitives/table.c: + stub arb8 lod plot routine + +2012-11-14 21:36 carlmoore + + * [r53700] src/conv/dxf/dxf-g.c: + fix spelling + +2012-11-14 21:34 carlmoore + + * [r53699] src/archer/plugins/Wizards/humanwizard/HumanWizard.tcl: + fix spelling + +2012-11-14 21:31 carlmoore + + * [r53698] src/tclscripts/archer/BotEditFrame.tcl: + remove trailing blanks + +2012-11-14 20:39 carlmoore + + * [r53697] sh/footer.sh: + fix spelling + +2012-11-14 19:58 n_reed + + * [r53696] src/libged/draw.c: + implement fallback to set solid bounds for primitives without a + bbox routine + +2012-11-14 19:44 brlcad + + * [r53695] src/libged/edbot.c: + my bad, add comment for consistency + +2012-11-14 19:41 carlmoore + + * [r53694] misc/libtool.m4: + fix spellings + +2012-11-14 19:40 carlmoore + + * [r53693] m4/compiler.m4: + fix spelling + +2012-11-14 18:52 carlmoore + + * [r53692] doc/old-mged.tr: + fix spelling + +2012-11-14 18:51 carlmoore + + * [r53691] doc/BRL-CAD.bib: + fix spellings of Leonard and Grammar + +2012-11-14 18:36 carlmoore + + * [r53690] doc/html/manuals/shaders/camo.html: + fix spelling + +2012-11-14 18:28 carlmoore + + * [r53689] doc/html/manuals/mged/shaders.html: + fix spelling of 21 occurrences of 'Abbreviation' + +2012-11-14 18:27 carlmoore + + * [r53688] doc/html/manuals/mged/mged_cmd_index.html: + change 'underlayed' to 'underlaid' + +2012-11-14 18:25 carlmoore + + * [r53687] doc/html/manuals/mged/mged.html: + fix spelling and move a comma + +2012-11-14 18:19 bob1961 + + * [r53686] src/libged/edbot.c: + Fixed some fallout related to the previous scan updates (i.e. + need to copy the scanned vector to its fastf_t variant). + +2012-11-14 18:16 carlmoore + + * [r53685] doc/html/manuals/Anim_Tutorial/chapt8.html, + doc/html/manuals/Anim_Tutorial/foot_graphics.html: + add period + +2012-11-14 18:15 carlmoore + + * [r53684] doc/html/manuals/Install.html: + fix spellings + +2012-11-14 18:06 bob1961 + + * [r53683] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/BotEditFrame.tcl: + This reduces errors when using snap-to-grid for moving bot + points. + +2012-11-14 17:45 n_reed + + * [r53682] include/raytrace.h: + describe intended meaning of spacing parameters + +2012-11-14 17:40 brlcad + + * [r53681] TODO: + export menu for mged/archer and convert teapot to nurbs. + +2012-11-14 17:37 brlcad + + * [r53680] TODO: + guts to rt_mirror should be in the functab. no need to be aware + of entity types. + +2012-11-14 17:04 n_reed + + * [r53679] src/librt/primitives/tor/tor.c: + use spacing parameters to choose number of points/curves to plot + +2012-11-14 16:50 carlmoore + + * [r53678] doc/docbook/system/mann/en/prj_add.xml: + fix spelling + +2012-11-14 16:48 n_reed + + * [r53677] src/librt/primitives/rpc/rpc.c: + use spacing parameters to choose number of points/curves to plot + +2012-11-14 16:45 carlmoore + + * [r53676] doc/docbook/system/man1/en/gqa.xml: + fix spelling + +2012-11-14 16:38 n_reed + + * [r53675] src/librt/primitives/rhc/rhc.c: + use spacing parameters to choose number of points/curves to plot + +2012-11-14 15:57 n_reed + + * [r53674] src/librt/primitives/eto/eto.c: + use spacing parameters to choose number of points/curves to plot + +2012-11-14 15:24 n_reed + + * [r53673] src/librt/primitives/epa/epa.c: + use spacing parameters to choose number of points/curves to plot + +2012-11-14 15:04 n_reed + + * [r53672] src/librt/primitives/ehy/ehy.c: + try to satisfy spacing requirements + +2012-11-14 14:28 n_reed + + * [r53671] src/librt/primitives/tgc/tgc.c: + try to satisfy spacing requirements + +2012-11-14 06:06 brlcad + + * [r53670] src/liboptical/sh_prj.c: + fixed one bug in the structparse table where it was reading a + fastf_t as a char for the i_perspective field. add some sanity + checks to make sure we don't dereference into bad memory via the + img_sp->i_img[] array. + +2012-11-14 06:03 brlcad + + * [r53669] misc/CMake/CompilerFlags.cmake: + this needs more investigating still, but 10.6 is not liking + -gstabs+ at all. -ggdb seems to work just fine, though. + +2012-11-14 06:02 brlcad + + * [r53668] src/libbu/parallel.c: + call pthread_attr_destroy() when we're done with threads to + ensure memory is released. + +2012-11-13 21:52 n_reed + + * [r53667] src/librt/primitives/ell/ell.c: + attempt to satisfy spacing requests + +2012-11-13 21:42 n_reed + + * [r53666] src/librt/librt_private.h, + src/librt/primitives/primitive_util.c: + add primitive routine for calculating a curve count based on bbox + dimensions and curve spacing parameter + +2012-11-13 21:35 n_reed + + * [r53665] include/raytrace.h, src/librt/primitives/ell/ell.c, + src/librt/primitives/primitive_util.c, + src/librt/primitives/tgc/tgc.c: + will try to parameterize lod functions in terms of distance + between points and curves + +2012-11-13 20:38 carlmoore + + * [r53664] doc/docbook/system/man1/en/rtwizard.xml: + fix spellings + +2012-11-13 20:26 bob1961 + + * [r53663] src/tclscripts/archer/Archer.tcl: + Also need to clear itk_component(ged)'s -primitiveLabels option. + +2012-11-13 20:20 bob1961 + + * [r53662] src/libtclcad/tclcad_obj.c: + Update libtclcad's go_draw_other() function to check if a + primitive exists before drawing its labels. + +2012-11-13 19:30 carlmoore + + * [r53661] + doc/docbook/books/en/BRL-CAD_Tutorial_Series-VolumeIV.xml: + fix spelling of '.iges' filename ending in documentation + +2012-11-13 17:39 carlmoore + + * [r53660] doc/BRL-CAD.bib: + fix spelling in a title + +2012-11-13 17:28 carlmoore + + * [r53659] NEWS: + fix spelling + +2012-11-13 16:45 n_reed + + * [r53658] include/raytrace.h: + add parameters for independently scaling quality and quantity of + plotted curves + +2012-11-13 15:54 n_reed + + * [r53657] include/raytrace.h, src/librt/primitives/ell/ell.c, + src/librt/primitives/primitive_util.c, + src/librt/primitives/tgc/tgc.c: + pass lod plot routines a precomputed sample spacing (i.e. pixel + width) + +2012-11-13 15:39 bob1961 + + * [r53656] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl: + Update ArcherCore::gedWrapper to call checkIfSelectedObjExists. + This method is overridden in Archer and calls initDbAttrView if + the currently selected object no longer exists. + +2012-11-13 06:02 brlcad + + * [r53655] HACKING: + clean up the notifications list formatting, add cad-linux-dev + back in. + +2012-11-11 06:04 brlcad + + * [r53654] src/librt/db_tree.c, src/librt/tree.c: + stop two memory leaks reported by valgrind. free what we + initialized. + +2012-11-11 06:03 brlcad + + * [r53653] src/librt/attributes.c: + the non-AVS_ADD version no longer compiles, is longer, and the + performance claim is unproven so just stay with the simpler form + until it's an observed problem. + +2012-11-11 06:02 brlcad + + * [r53652] src/librt/db_fullpath.c: + ws + +2012-11-09 21:54 carlmoore + + * [r53651] doc/html/manuals/mged/mged_cmd_index.html: + fix spellings (including Transrom --> Transform, right?) but + please carefully examine the very long lines + +2012-11-09 21:45 carlmoore + + * [r53650] src/mged/track.c: + fix spelling + +2012-11-09 21:44 carlmoore + + * [r53649] src/mged/fbserv.c: + fix spelling + +2012-11-09 21:42 carlmoore + + * [r53648] src/tclscripts/mged/font.tcl: + fix spelling + +2012-11-09 21:41 carlmoore + + * [r53647] src/tclscripts/mged/helpdevel.tcl: + fix spelling + +2012-11-09 21:30 carlmoore + + * [r53646] src/tclscripts/mged/bindings.tcl: + fix spellings + +2012-11-09 21:28 carlmoore + + * [r53645] doc/html/manuals/mged/mged_gui.html: + fix spellings + +2012-11-09 21:25 carlmoore + + * [r53644] doc/html/manuals/libdm/api.html: + fix spelling, and notice that possessive form of 'it' takes NO + apostrophe to avoid confusion with 'it is' + +2012-11-09 21:22 carlmoore + + * [r53643] + doc/docbook/books/en/BRL-CAD_Tutorial_Series-VolumeIII.xml: + fix spelling, and put space between filename and ending period + +2012-11-09 20:25 bob1961 + + * [r53642] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/BotEditFrame.tcl, + src/tclscripts/archer/GeometryEditFrame.tcl: + Added highlighting of points, edges and faces when editing bots. + +2012-11-09 19:49 carlmoore + + * [r53641] src/tclscripts/mged/skt_ed.tcl: + fix spelling + +2012-11-09 19:45 carlmoore + + * [r53640] src/librt/primitives/ell/ell.c: + fix spelling + +2012-11-09 19:36 carlmoore + + * [r53639] src/tclscripts/rtwizard/examples/PictureTypeB/intro.txt: + use 'effect', not 'affect' here + +2012-11-09 19:34 carlmoore + + * [r53638] src/tclscripts/mged/rt.tcl: + fix spellings, and needed 'no effect' in place of 'no affect' in + a long line + +2012-11-09 19:22 carlmoore + + * [r53637] src/conv/viewpoint-g.c: + fix spelling + +2012-11-09 19:21 carlmoore + + * [r53636] src/conv/proe-g.c: + fix spelling + +2012-11-09 19:19 carlmoore + + * [r53635] src/tclscripts/archer/Archer.tcl: + fix spelling + +2012-11-09 19:17 carlmoore + + * [r53634] src/tclscripts/lib/Ged.tcl: + fix spelling + +2012-11-09 19:10 carlmoore + + * [r53633] include/bu.h: + change 'a' to 'an' + +2012-11-09 18:43 carlmoore + + * [r53632] src/libdm/clip.c: + fix spelling + +2012-11-09 18:37 carlmoore + + * [r53631] src/irprep/showtherm.c: + fix spelling of etc + +2012-11-09 18:08 n_reed + + * [r53630] src/libdm/dm-ogl.c: + No particular reason to draw points with 5 pixels, especially + without resetting point size afterwards (affects subsequent + drawing of the view center point). Drawing with 1 pixel will be + consistent with dm-X. + +2012-11-09 17:32 brlcad + + * [r53629] src/libged/edbot.c, src/libtclcad/tclcad_obj.c: + few more scanf precision conversions that went uncaught due to + them being wrapped in our own stdard bu_sscanf function. + +2012-11-09 17:23 carlmoore + + * [r53628] src/tclscripts/hv3/combobox.tcl: + add period + +2012-11-09 17:18 brlcad + + * [r53627] src/libfb/if_stack.c: + odd convention, just ... + +2012-11-09 17:17 brlcad + + * [r53626] BUGS, TODO, doc/html/manuals/mged/mged_cmd_index.html, + doc/mged/c.tex, doc/mged/e.tex, include/raytrace.h, + src/conv/iges/conv_drawings.c, src/librt/primitives/nmg/nmg.c: + stave off a half-dozen + +2012-11-09 17:14 carlmoore + + * [r53625] doc/html/manuals/mged/animmate/rt.html: + add period + +2012-11-09 17:13 carlmoore + + * [r53624] doc/html/manuals/mged/ged.tex: + add 2 periods + +2012-11-09 17:11 carlmoore + + * [r53623] doc/html/manuals/mged/ged.html: + add 2 periods + +2012-11-09 17:09 carlmoore + + * [r53622] doc/html/manuals/librt/wdb_obj.html: + add period + +2012-11-09 17:05 carlmoore + + * [r53621] src/libfb/if_stack.c: + add periods + +2012-11-09 17:00 carlmoore + + * [r53620] src/libfb/if_remote.c: + add period + +2012-11-09 16:59 carlmoore + + * [r53619] src/libfb/fbserv_obj.c: + add period + +2012-11-09 16:56 carlmoore + + * [r53618] src/util/loop.1: + add period (different place from one that was very recently + added) + +2012-11-09 16:54 carlmoore + + * [r53617] src/libged/annotate.c: + add period + +2012-11-09 16:53 carlmoore + + * [r53616] src/libged/simulate/simrt.h: + add SPACE + +2012-11-09 16:52 brlcad + + * [r53615] TODO: + all fastf_t/double conversions are checked and fixed for + ntohd/htond. + +2012-11-09 16:51 carlmoore + + * [r53614] src/libged/simulate/simphysics.cpp: + add period + +2012-11-09 16:48 carlmoore + + * [r53613] src/libged/dg_obj.c: + add period + +2012-11-09 16:46 carlmoore + + * [r53612] src/liboptical/sh_flat.c: + add period + +2012-11-09 16:44 carlmoore + + * [r53611] src/libgcv/wfobj/obj_parser_state.h: + add period + +2012-11-09 16:43 carlmoore + + * [r53610] src/remrt/remrt.c: + fix spelling of 'whack', and add periods + +2012-11-09 16:41 carlmoore + + * [r53609] src/libpkg/pkg.c: + add period + +2012-11-09 16:39 carlmoore + + * [r53608] src/rt/do.c: + add period + +2012-11-09 16:37 carlmoore + + * [r53607] src/rt/viewg3.c: + add period + +2012-11-09 16:35 carlmoore + + * [r53606] src/rt/main.c: + add period + +2012-11-09 16:34 carlmoore + + * [r53605] src/mged/titles.c: + add period + +2012-11-09 16:32 carlmoore + + * [r53604] src/mged/fbserv.c: + add period + +2012-11-09 16:30 carlmoore + + * [r53603] src/mged/dodraw.c: + add period + +2012-11-09 16:28 carlmoore + + * [r53602] src/mged/edsol.c: + add period + +2012-11-09 16:24 carlmoore + + * [r53601] src/conv/g-vrml.c: + add period + +2012-11-09 16:23 carlmoore + + * [r53600] src/conv/iges/conv_drawings.c: + add periods, and fix spellings (including ect --> etc) + +2012-11-09 16:20 carlmoore + + * [r53599] src/conv/g-x3d.c: + add period + +2012-11-09 16:16 carlmoore + + * [r53598] src/librt/primitives/arb8/arb8.c: + add period + +2012-11-09 16:14 carlmoore + + * [r53597] src/librt/primitives/nmg/nmg_eval.c: + add period + +2012-11-09 16:12 carlmoore + + * [r53596] src/librt/primitives/nmg/nmg.c: + add a period + +2012-11-09 16:10 carlmoore + + * [r53595] src/librt/primitives/nmg/nmg_pt_fu.c: + add a period -- as is usual, I checked spelling to see if any + other changes were to be made + +2012-11-08 22:44 carlmoore + + * [r53594] src/librt/primitives/nmg/nmg_fcut.c: + add period + +2012-11-08 22:41 carlmoore + + * [r53593] src/librt/primitives/nmg/nmg_plot.c: + add period and fix 2 occurrences of 'verts' + +2012-11-08 22:38 carlmoore + + * [r53592] src/anim/anim_script.c: + add period + +2012-11-08 22:37 carlmoore + + * [r53591] src/libanalyze/voxels.c: + fix spelling and add a period + +2012-11-08 22:35 carlmoore + + * [r53590] src/tclscripts/mged/comb.tcl: + add 2 periods and fix spellings + +2012-11-08 22:27 carlmoore + + * [r53589] src/tclscripts/mged/attr_edit.tcl: + fix spellings + +2012-11-08 22:24 carlmoore + + * [r53588] src/external/ProEngineer/proe-brl.c: + add 2 periods + +2012-11-08 22:20 carlmoore + + * [r53587] doc/regions.txt: + add 2 periods and a space + +2012-11-08 22:15 carlmoore + + * [r53586] include/vmath.h: + add a period + +2012-11-08 22:03 carlmoore + + * [r53585] include/bu.h: + add periods, and in 2 COMMENTS changed BU_SETJMP to BU_SETJUMP + (right?) + +2012-11-08 21:51 carlmoore + + * [r53584] src/fb/fbscanplot.1: + 'etc' now has a period (right)?, but I found a spelling to fix + +2012-11-08 21:15 brlcad + + * [r53583] bench/pixcmp.1, doc/bw.5, doc/cmap.5, + doc/deprecation.txt, doc/ecosystem.dot, + doc/html/manuals/libdm/dm_obj.html, doc/legal/bdl.txt, doc/pix.5, + doc/plot3.5, misc/macosx/Resources/ReadMe.rtfd/TXT.rtf, + src/README, src/canon/canonize.1, src/conv/asc/asc2g.1, + src/conv/asc/asc2pix.1, src/conv/asc/g2asc.1, + src/conv/asc/pix2asc.1, src/conv/bot_dump.1, + src/conv/bot_shell-vtk.1, src/conv/comgeom/comgeom-g.1, + src/conv/conv-vg2g.1, src/conv/cy-g.1, src/conv/dbclean.1, + src/conv/dbupgrade.1, src/conv/dxf/dxf-g.1, src/conv/dxf/g-dxf.1, + src/conv/enf-g.1, src/conv/euclid/euclid-g.1, + src/conv/euclid/g-euclid.1, src/conv/fast4-g.1, + src/conv/g-acad.1, src/conv/g-egg.1, src/conv/g-nff.1, + src/conv/g-obj.1, src/conv/g-shell-rect.1, src/conv/g-var.1, + src/conv/g-vrml.1, src/conv/g-x3d.1, src/conv/iges/g-iges.1, + src/conv/iges/iges-g.1, src/conv/nastran-g.1, + src/conv/nmg/asc-nmg.1, src/conv/nmg/g-nmg.1, + src/conv/nmg/nmg-bot.1, src/conv/nmg/nmg-rib.1, + src/conv/patch/patch-g.1, src/conv/patch/rpatch.1, + src/conv/ply-g.1, src/conv/poly-bot.1, src/conv/proe-g.1, + src/conv/stl/g-stl.1, src/conv/stl/stl-g.1, + src/conv/tankill/g-tankill.1, src/conv/tankill/tankill-g.1, + src/conv/vdeck/vdeck.1, src/conv/viewpoint-g.1, src/fb/bw-fb.1, + src/fb/cell-fb.1, src/fb/fb-bw.1, src/fb/fb-cmap.1, + src/fb/fb-png.1, src/fb/fb-rle.1, src/fb/fbanim.1, + src/fb/fbcbars.1, src/fb/fbclear.1, src/fb/fbcmap.1, + src/fb/fbcmrot.1, src/fb/fbframe.1, src/fb/fbgamma.1, + src/fb/fblabel.1, src/fb/fbscanplot.1, src/fb/gif2fb.1, + src/fb/png-fb.1, src/fb/polar-fb.1, src/fb/pp-fb.1, + src/fb/rle-fb.1, src/fbed/fbed.1, src/gtools/g_diff.1, + src/gtools/g_lint.1, src/gtools/remapid.1, + src/halftone/halftone.1, src/irprep/firpass.1, src/irprep/ir-X.1, + src/irprep/irdisp.1, src/irprep/pictx.1, src/irprep/secpass.1, + src/irprep/shapefact.1, src/irprep/showtherm.1, src/lgt/lgt.1, + src/libbu/htond.3, src/libbu/redblack.3, src/libged/human.c, + src/libged/loadview.c, src/libged/simulate/simrt.h, + src/liborle/liborle.3, src/librt/db_lookup.c, src/librt/librt.3, + src/librt/prep.c, src/librt/primitives/bot/bot.c, + src/librt/primitives/poly/poly.c, src/libwdb/libwdb.3, + src/mged/cad_boundp.1, src/mged/cad_parea.1, src/nirt/showshot.1, + src/proc-db/pipe.c, src/remrt/remrt.1, src/rt/do.c, src/rt/opt.c, + src/rt/reshoot.1, src/rt/rt_bot_faces.1, src/rt/rtg3.1, + src/rt/rthide.1, src/rt/rtpp.1, src/rt/rtrange.1, src/rt/rtray.1, + src/rt/rtregis.1, src/rt/rtscale.1, src/rt/rtshot.1, + src/rt/rtwalk.1, src/rt/rtweight.1, src/rt/rtxray.1, + src/rt/viewdir.c, src/rt/viewhide.c, src/rt/viewrange.c, + src/rttherm/rttherm.1, src/rttherm/ssamp-bw.1, + src/tab/scriptsort.1, src/tab/tabinterp.1, src/tab/tabsub.1, + src/util/ap-pix.1, src/util/asc-pl.1, src/util/azel.1, + src/util/bary.1, src/util/brlcad.1, src/util/buffer.1, + src/util/bw-imp.1, src/util/bw-pix.1, src/util/bw-png.1, + src/util/bw-ps.1, src/util/bw-rle.1, src/util/bw3-pix.1, + src/util/bwcrop.1, src/util/bwdiff.1, src/util/bwfilter.1, + src/util/bwhist.1, src/util/bwhisteq.1, src/util/bwmod.1, + src/util/bwrect.1, src/util/bwrot.1, src/util/bwshrink.1, + src/util/bwstat.1, src/util/bwthresh.1, src/util/cv.1, + src/util/dbcp.1, src/util/decimate.1, src/util/dpix-pix.1, + src/util/dunncolor.1, src/util/dunnsnap.1, src/util/gencolor.1, + src/util/hex.1, src/util/imgdims.1, src/util/loop.1, + src/util/mac-pix.1, src/util/morphedit.1, src/util/orle-pix.1, + src/util/pix-alias.1, src/util/pix-bw.1, src/util/pix-bw3.1, + src/util/pix-orle.1, src/util/pix-png.1, src/util/pix-ppm.1, + src/util/pix-ps.1, src/util/pix-rle.1, src/util/pix-sun.1, + src/util/pixbackgnd.1, src/util/pixbgstrip.1, + src/util/pixblend.1, src/util/pixborder.1, src/util/pixbustup.1, + src/util/pixclump.1, src/util/pixcolors.1, src/util/pixcut.1, + src/util/pixdiff.1, src/util/pixdsplit.1, src/util/pixfade.1, + src/util/pixfilter.1, src/util/pixhalve.1, src/util/pixhist.1, + src/util/pixhist3d-pl.1, src/util/pixhist3d.1, + src/util/pixinterp2x.1, src/util/pixmatte.1, src/util/pixmerge.1, + src/util/pixmorph.1, src/util/pixrect.1, src/util/pixrot.1, + src/util/pixsaturate.1, src/util/pixscale.1, + src/util/pixshrink.1, src/util/pixstat.1, src/util/pixsubst.1, + src/util/pixtile.1, src/util/pixuntile.1, src/util/pl-X.1, + src/util/pl-asc.1, src/util/pl-hpgl.1, src/util/pl-pl.1, + src/util/pl-ps.1, src/util/pl-tek.1, src/util/plcolor.1, + src/util/pldebug.1, src/util/plgetframe.1, src/util/plline2.1, + src/util/plrot.1, src/util/png-bw.1, src/util/png-pix.1, + src/util/png_info.1, src/util/random.1, src/util/rle-pix.1, + src/util/sun-pix.1, src/util/terrain.1, src/util/wavelet.1: + STAHP\! do all the "etc." at once. + +2012-11-08 21:06 carlmoore + + * [r53582] src/fb/fbfree.1: + add period + +2012-11-08 20:49 carlmoore + + * [r53581] src/fb/fbline.1: + add period + +2012-11-08 20:32 carlmoore + + * [r53580] src/fb/fb-fb.1: + add period + +2012-11-08 20:29 carlmoore + + * [r53579] src/fb/fbstretch.1: + add period + +2012-11-08 20:24 carlmoore + + * [r53578] src/fb/pixautosize.1: + add period + +2012-11-08 20:22 n_reed + + * [r53577] src/librt/primitives/ell/ell.c: + draw small ells as points + +2012-11-08 20:14 carlmoore + + * [r53576] src/fb/fbfade.1: + add period + +2012-11-08 20:10 carlmoore + + * [r53575] src/fb/fbhelp.1: + add period + +2012-11-08 20:06 carlmoore + + * [r53574] src/fb/fbzoom.1: + add period + +2012-11-08 20:03 carlmoore + + * [r53573] src/fb/fbcolor.1: + add period + +2012-11-08 19:53 carlmoore + + * [r53572] src/fb/pl-fb.1: + add period + +2012-11-08 19:51 carlmoore + + * [r53571] src/fb/cmap-fb.1: + add period + +2012-11-08 19:41 carlmoore + + * [r53570] src/fb/fbgrid.1: + add period + +2012-11-08 19:40 n_reed + + * [r53569] src/libdm/dm-X.c: + implement BN_VLIST_POINT_DRAW command + +2012-11-08 19:38 carlmoore + + * [r53568] src/fb/pix-fb.1: + add period + +2012-11-08 19:37 carlmoore + + * [r53567] src/fb/fbpoint.1: + add period + +2012-11-08 19:37 carlmoore + + * [r53566] src/fb/gif-fb.1: + add period + +2012-11-08 19:36 carlmoore + + * [r53565] bench/benchmark.1: + add period + +2012-11-08 17:42 n_reed + + * [r53564] src/libged/draw.c: + Break wireframe plotting into two phases. Create all the solid + structures first, then calculate the plot for each solid. + +2012-11-08 16:28 carlmoore + + * [r53563] src/fb/orle-fb.1: + add a period + +2012-11-08 16:22 carlmoore + + * [r53562] src/fb/fb-pix.1: + add period + +2012-11-08 16:18 carlmoore + + * [r53561] src/anim/anim_script.1: + add period + +2012-11-08 14:21 n_reed + + * [r53560] src/libged/draw.c: + init display list nodes before insertion + +2012-11-08 13:44 bob1961 + + * [r53559] src/tclscripts/lib/Ged.tcl: + cadwidgets::Ged::pane_mouse_find_bot_edge needs to clear + mBotFaceCallback before calling pane_mouse_find_bot_face. + +2012-11-08 03:31 brlcad + + * [r53558] TODO: + add a few topics -- couple good sample files for .g and .fast4 + geometry, and a bb option for loose boxes defaulting to tight. + +2012-11-07 23:35 brlcad + + * [r53557] src/liboptical/sh_wood.c: + carl missed one + +2012-11-07 23:03 carlmoore + + * [r53556] src/anim/anim_sort.1: + add period + +2012-11-07 23:00 carlmoore + + * [r53555] src/anim/anim_time.1: + add period + +2012-11-07 22:58 carlmoore + + * [r53554] src/anim/anim_turn.1: + add period + +2012-11-07 22:52 carlmoore + + * [r53553] src/anim/chan_mult.1: + add period + +2012-11-07 22:51 carlmoore + + * [r53552] src/anim/anim_track.1: + add period + +2012-11-07 22:48 carlmoore + + * [r53551] src/anim/chan_permute.1: + add period + +2012-11-07 22:47 carlmoore + + * [r53550] src/libdm/dm-rtgl.c: + add period + +2012-11-07 22:44 carlmoore + + * [r53549] src/libbn/libplot3.3: + add period + +2012-11-07 22:42 carlmoore + + * [r53548] src/external/Unigraphics/ug-g.1: + add period + +2012-11-07 22:38 carlmoore + + * [r53547] src/fbserv/fbserv.1: + add period + +2012-11-07 22:36 carlmoore + + * [r53546] src/libcursor/libcursor.3: + add period + +2012-11-07 22:25 carlmoore + + * [r53545] HACKING: + add missing periods + +2012-11-07 22:23 carlmoore + + * [r53544] sh/header.sh: + add missing period, and fix spellings + +2012-11-07 22:15 carlmoore + + * [r53543] misc/brlcad-config.1: + add missing period + +2012-11-07 21:54 carlmoore + + * [r53542] TODO: + add period to etc + +2012-11-07 21:46 carlmoore + + * [r53541] src/fb/fb-orle.1: + add missing period, and fix spelling + +2012-11-07 21:41 carlmoore + + * [r53540] src/util/pixhalve.c: + fix spelling + +2012-11-07 21:40 carlmoore + + * [r53539] src/remrt/remrt.c: + and commit this a 2nd time because I fixed another spelling + +2012-11-07 21:38 carlmoore + + * [r53538] src/remrt/remrt.c: + fix spelling + +2012-11-07 21:36 carlmoore + + * [r53537] src/rttherm/ssampview.c: + fix spellings + +2012-11-07 21:06 carlmoore + + * [r53536] doc/html/manuals/mged/ged.tex: + change eg to e.g. + +2012-11-07 21:04 carlmoore + + * [r53535] doc/html/manuals/mged/shaders.html: + insert missing periods in e.g. + +2012-11-07 21:02 carlmoore + + * [r53534] doc/html/manuals/mged/ged.html: + insert missing periods in e.g. + +2012-11-07 20:58 carlmoore + + * [r53533] doc/html/manuals/Install.html: + insert missing periods + +2012-11-07 20:55 carlmoore + + * [r53532] doc/README.Linux: + supply 1 missing period in e.g. + +2012-11-07 20:52 carlmoore + + * [r53531] src/libged/ged.c: + change eg to e.g. + +2012-11-07 20:49 carlmoore + + * [r53530] src/libged/wdb_obj.c: + change eg to e.g. + +2012-11-07 20:46 carlmoore + + * [r53529] src/libged/clip.c: + change ie to i.e. + +2012-11-07 20:45 carlmoore + + * [r53528] src/libged/human.c: + add missing periods + +2012-11-07 20:41 carlmoore + + * [r53527] src/mged/mged.h: + fix spelling and change ie to i.e. + +2012-11-07 20:38 carlmoore + + * [r53526] src/mged/mater.c: + change ie to i.e., and fix spelling + +2012-11-07 20:33 carlmoore + + * [r53525] src/librt/primitives/poly/poly.c: + change eg to e.g. + +2012-11-07 20:30 carlmoore + + * [r53524] src/librt/primitives/bot/bot.c: + change eg to e.g. + +2012-11-07 20:17 carlmoore + + * [r53523] regress/nightly.sh: + fix spelling + +2012-11-07 20:14 carlmoore + + * [r53522] doc/html/manuals/mged/animmate/prep_tut.html: + supply 1 missing period in e.g. + +2012-11-07 20:11 carlmoore + + * [r53521] doc/mged/a.tex: + change eg to e.g. + +2012-11-07 20:10 carlmoore + + * [r53520] doc/tube.txt: + change eg to e.g. + +2012-11-07 20:08 carlmoore + + * [r53519] doc/old-mged.tr: + insert missing period in e.g. + +2012-11-07 20:06 carlmoore + + * [r53518] doc/regions.txt: + change ie to i.e., and use plural 'parentheses' + +2012-11-07 19:31 carlmoore + + * [r53517] src/librt/primitives/nmg/nmg_plot.c: + fix spellings + +2012-11-07 19:22 carlmoore + + * [r53516] src/librt/primitives/nmg/nmg_mk.c: + fix spelling of 'vertexuse' in an error message + +2012-11-07 19:21 carlmoore + + * [r53515] src/fb/rle-fb.1: + change eg to e.g., and fix spellings + +2012-11-07 19:20 carlmoore + + * [r53514] include/icv.h: + fix spelling + +2012-11-07 19:08 carlmoore + + * [r53513] src/librt/primitives/eto/eto.c: + change eg to e.g. + +2012-11-07 19:03 carlmoore + + * [r53512] src/librt/primitives/tor/tor.c: + change eg to e.g. + +2012-11-07 19:01 carlmoore + + * [r53511] src/librt/primitives/tgc/tgc.c: + change 2 occurrences of eg to e.g. -- OMITTING use of 'eg' as + variable name! + +2012-11-07 18:55 carlmoore + + * [r53510] src/librt/primitives/dsp/dsp.c: + change eg to e.g. + +2012-11-07 18:50 carlmoore + + * [r53509] src/librt/primitives/sketch/sketch_tess.cpp: + add 1 period to what should be e.g. + +2012-11-07 18:47 carlmoore + + * [r53508] src/fb/fb-rle.1: + change eg to e.g., and fix spellings + +2012-11-07 18:38 carlmoore + + * [r53507] src/fb/pl-fb.c: + change eg to e.g., and fix a spelling + +2012-11-07 18:36 carlmoore + + * [r53506] src/libdm/dm-X.c: + oops, commit again -- this time fix a spelling in a different + comment + +2012-11-07 18:34 carlmoore + + * [r53505] src/libdm/dm-X.c: + supply 3 missing periods (2 of them in i.e.) + +2012-11-07 18:32 carlmoore + + * [r53504] src/libdm/dm-tk.c: + supply 3 missing periods (2 of them in i.e.) + +2012-11-07 18:30 carlmoore + + * [r53503] src/libdm/dm-wgl.c: + supply 3 missing periods (2 of them in i.e.) + +2012-11-07 18:27 carlmoore + + * [r53502] src/libdm/dm-plot.c: + change ie to i.e., and supply one other missing period + +2012-11-07 18:20 carlmoore + + * [r53501] src/libdm/dm-ogl.c: + change ie to i.e., and add another missing period + +2012-11-07 18:18 carlmoore + + * [r53500] src/libdm/dm-ps.c: + change ie to i.e., and add one other missing period + +2012-11-07 18:15 carlmoore + + * [r53499] src/libbn/plane.c: + change ie to i.e., and fix 1 spelling + +2012-11-07 18:01 carlmoore + + * [r53498] src/tclscripts/mged/anim.tcl: + supply missing periods in e.g. + +2012-11-07 17:58 carlmoore + + * [r53497] src/tclscripts/mged/lc.tcl: + change ie to i.e., and fix a spelling + +2012-11-07 17:56 carlmoore + + * [r53496] src/tclscripts/hv3/snit.tcl: + change eg. to e.g. (not sure of meaning) and add a missing right + parenthesis + +2012-11-07 17:51 n_reed + + * [r53495] src/libged/draw.c: + group all the solid initialization together so we can do all the + prep work up-front before creating the actual plot vlists + +2012-11-07 17:40 carlmoore + + * [r53494] include/common.h: + fix spellings + +2012-11-07 17:39 carlmoore + + * [r53493] include/raytrace.h: + change eg to e.g. + +2012-11-07 17:37 carlmoore + + * [r53492] include/spectrum.h: + fix spellings + +2012-11-07 17:29 carlmoore + + * [r53491] include/rtfunc.h: + fix spelling + +2012-11-07 17:26 carlmoore + + * [r53490] include/bn.h: + change ie to i.e., and fix spelling + +2012-11-07 17:16 carlmoore + + * [r53489] include/ged.h: + fix spelling + +2012-11-07 17:15 carlmoore + + * [r53488] include/rtgeom.h: + fix spelling + +2012-11-07 15:18 n_reed + + * [r53487] src/libged/draw.c: + clean up _ged_drawH_part2 + +2012-11-07 05:41 brlcad + + * [r53485] BUGS: + rossberg reported that using our libs in a multithreaded + application on windows no longer seems to work (no firm isolation + when the problem started, but reportedly used to wrok just fine). + said the crash was due to a global memory-data map, which I + presume to be the memory debug queues. + +2012-11-07 04:18 brlcad + + * [r53484] src/libbn/CMakeLists.txt: + enable ulp.c for compilation so we can get any compile kinks + worked out (verified working on two plats) + +2012-11-07 04:16 brlcad + + * [r53483] src/libbn/ulp.c: + fix routines for calculating the square root, missing bn_ prefix. + remove register keyword since we take the variable's address. fix + the equality comparison, testing for >val instead. + +2012-11-07 03:13 brlcad + + * [r53482] src/libbn/ulp.c: + implement routines to also calculate the sqrt() of the min/max + for floats and doubles. + +2012-11-07 02:55 brlcad + + * [r53481] TODO: + remove some of the completed items, clarify others. turns out + rtg3 and burst aren't deprecatable just yet, tom added a dsp + tutorial to the wiki, librt technically has a kdtree, level of + detail wireframes are in the works, and implicit to nurbs is + done. + +2012-11-06 22:29 carlmoore + + * [r53480] include/optical.h: + fix spelling + +2012-11-06 22:26 carlmoore + + * [r53479] include/vfont-if.h: + fix spelling + +2012-11-06 22:02 carlmoore + + * [r53478] include/tie.h: + fix spelling + +2012-11-06 21:28 n_reed + + * [r53477] src/libged/draw.c: + update solid's vlist length at the same time as its vlist rather + than waiting for it to be a side-effect of the bounding routine + +2012-11-06 18:37 carlmoore + + * [r53476] include/nmg.h: + fix spellings + +2012-11-06 18:18 carlmoore + + * [r53475] include/bio.h: + fix spelling + +2012-11-06 15:49 carlmoore + + * [r53474] include/bu.h: + change eg to e.g., and fix spellings + +2012-11-06 15:21 erikgreenwald + + * [r53473] src/libfb/if_wgl.c: + cast to fix signed/unsigned warning + +2012-11-06 15:14 brlcad + + * [r53472] TODO: + depromote to backlog and update as completed + +2012-11-06 15:07 erikgreenwald + + * [r53471] src/libfb/if_wgl.c: + cast to fix signed/unsigned warning + +2012-11-06 15:02 erikgreenwald + + * [r53470] src/libfb/if_wgl.c: + cast to fix signed/unsigned warning + +2012-11-06 14:01 erikgreenwald + + * [r53469] TODO: + remove the tie "1 unit closer" issue, indianlarry fixed it in + 50164 + +2012-11-06 03:18 starseeker + + * [r53468] src/other/Eigen/Eigen/Core, + src/other/Eigen/Eigen/Eigenvalues, + src/other/Eigen/Eigen/OrderingMethods, + src/other/Eigen/Eigen/src/Cholesky/LDLT.h, + src/other/Eigen/Eigen/src/CholmodSupport/CholmodSupport.h, + src/other/Eigen/Eigen/src/Core/Array.h, + src/other/Eigen/Eigen/src/Core/ArrayWrapper.h, + src/other/Eigen/Eigen/src/Core/Assign_MKL.h, + src/other/Eigen/Eigen/src/Core/Block.h, + src/other/Eigen/Eigen/src/Core/CwiseBinaryOp.h, + src/other/Eigen/Eigen/src/Core/CwiseNullaryOp.h, + src/other/Eigen/Eigen/src/Core/CwiseUnaryOp.h, + src/other/Eigen/Eigen/src/Core/DenseBase.h, + src/other/Eigen/Eigen/src/Core/DenseCoeffsBase.h, + src/other/Eigen/Eigen/src/Core/DenseStorage.h, + src/other/Eigen/Eigen/src/Core/Diagonal.h, + src/other/Eigen/Eigen/src/Core/DiagonalMatrix.h, + src/other/Eigen/Eigen/src/Core/DiagonalProduct.h, + src/other/Eigen/Eigen/src/Core/Dot.h, + src/other/Eigen/Eigen/src/Core/Functors.h, + src/other/Eigen/Eigen/src/Core/Fuzzy.h, + src/other/Eigen/Eigen/src/Core/GeneralProduct.h, + src/other/Eigen/Eigen/src/Core/Map.h, + src/other/Eigen/Eigen/src/Core/MapBase.h, + src/other/Eigen/Eigen/src/Core/MathFunctions.h, + src/other/Eigen/Eigen/src/Core/MatrixBase.h, + src/other/Eigen/Eigen/src/Core/NoAlias.h, + src/other/Eigen/Eigen/src/Core/PermutationMatrix.h, + src/other/Eigen/Eigen/src/Core/PlainObjectBase.h, + src/other/Eigen/Eigen/src/Core/Product.h, + src/other/Eigen/Eigen/src/Core/ProductBase.h, + src/other/Eigen/Eigen/src/Core/Random.h, + src/other/Eigen/Eigen/src/Core/Replicate.h, + src/other/Eigen/Eigen/src/Core/Select.h, + src/other/Eigen/Eigen/src/Core/Swap.h, + src/other/Eigen/Eigen/src/Core/Transpose.h, + src/other/Eigen/Eigen/src/Core/Transpositions.h, + src/other/Eigen/Eigen/src/Core/TriangularMatrix.h, + src/other/Eigen/Eigen/src/Core/VectorBlock.h, + src/other/Eigen/Eigen/src/Core/Visitor.h, + src/other/Eigen/Eigen/src/Core/arch/NEON/PacketMath.h, + src/other/Eigen/Eigen/src/Core/arch/SSE/MathFunctions.h, + src/other/Eigen/Eigen/src/Core/arch/SSE/PacketMath.h, + src/other/Eigen/Eigen/src/Core/products/GeneralBlockPanelKernel.h, + src/other/Eigen/Eigen/src/Core/products/GeneralMatrixVector.h, + src/other/Eigen/Eigen/src/Core/util/Constants.h, + src/other/Eigen/Eigen/src/Core/util/ForwardDeclarations.h, + src/other/Eigen/Eigen/src/Core/util/Macros.h, + src/other/Eigen/Eigen/src/Core/util/Memory.h, + src/other/Eigen/Eigen/src/Core/util/StaticAssert.h, + src/other/Eigen/Eigen/src/Core/util/XprHelper.h, + src/other/Eigen/Eigen/src/Eigen2Support/Geometry/AlignedBox.h, + src/other/Eigen/Eigen/src/Eigen2Support/Geometry/AngleAxis.h, + src/other/Eigen/Eigen/src/Eigen2Support/Geometry/Hyperplane.h, + src/other/Eigen/Eigen/src/Eigen2Support/Geometry/ParametrizedLine.h, + src/other/Eigen/Eigen/src/Eigen2Support/Geometry/Quaternion.h, + src/other/Eigen/Eigen/src/Eigen2Support/Geometry/Rotation2D.h, + src/other/Eigen/Eigen/src/Eigen2Support/Geometry/RotationBase.h, + src/other/Eigen/Eigen/src/Eigen2Support/Geometry/Scaling.h, + src/other/Eigen/Eigen/src/Eigen2Support/Geometry/Transform.h, + src/other/Eigen/Eigen/src/Eigen2Support/Geometry/Translation.h, + src/other/Eigen/Eigen/src/Eigen2Support/LeastSquares.h, + src/other/Eigen/Eigen/src/Eigen2Support/SVD.h, + src/other/Eigen/Eigen/src/Eigenvalues/ComplexEigenSolver.h, + src/other/Eigen/Eigen/src/Eigenvalues/ComplexSchur.h, + src/other/Eigen/Eigen/src/Eigenvalues/EigenSolver.h, + src/other/Eigen/Eigen/src/Eigenvalues/RealSchur.h, + src/other/Eigen/Eigen/src/Geometry/AlignedBox.h, + src/other/Eigen/Eigen/src/Geometry/AngleAxis.h, + src/other/Eigen/Eigen/src/Geometry/Hyperplane.h, + src/other/Eigen/Eigen/src/Geometry/ParametrizedLine.h, + src/other/Eigen/Eigen/src/Geometry/Quaternion.h, + src/other/Eigen/Eigen/src/Geometry/Rotation2D.h, + src/other/Eigen/Eigen/src/Geometry/Scaling.h, + src/other/Eigen/Eigen/src/Geometry/Transform.h, + src/other/Eigen/Eigen/src/Geometry/Umeyama.h, + src/other/Eigen/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h, + src/other/Eigen/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h, + src/other/Eigen/Eigen/src/Jacobi/Jacobi.h, + src/other/Eigen/Eigen/src/PardisoSupport/PardisoSupport.h, + src/other/Eigen/Eigen/src/QR/HouseholderQR.h, + src/other/Eigen/Eigen/src/SVD/JacobiSVD.h, + src/other/Eigen/Eigen/src/SparseCore/CompressedStorage.h, + src/other/Eigen/Eigen/src/SparseCore/SparseDenseProduct.h, + src/other/Eigen/Eigen/src/SparseCore/SparseMatrix.h, + src/other/Eigen/Eigen/src/SparseCore/SparseMatrixBase.h, + src/other/Eigen/Eigen/src/SparseCore/SparseProduct.h, + src/other/Eigen/Eigen/src/SparseCore/SparseSelfAdjointView.h, + src/other/Eigen/Eigen/src/SparseCore/SparseSparseProductWithPruning.h, + src/other/Eigen/Eigen/src/SparseCore/SparseTranspose.h, + src/other/Eigen/Eigen/src/SparseCore/SparseVector.h, + src/other/Eigen/Eigen/src/SparseCore/SparseView.h, + src/other/Eigen/Eigen/src/SuperLUSupport/SuperLUSupport.h, + src/other/Eigen/VERSION: + Update Eigen to 3.1.2 + +2012-11-06 03:04 n_reed + + * [r53467] src/proc-db/tube.c: + remove ret now that it's unused + +2012-11-06 02:38 brlcad + + * [r53466] doc/docbook/system/man1/en/nirt.xml, src/nirt/command.c, + src/nirt/nirt.c, src/nirt/nirt.h: + remove the '\!' command from nirt. It's considered rather evil + security-endangering bad practice and is highly dubiously + appropriate for this tool to offer anyways. + +2012-11-06 02:32 brlcad + + * [r53465] src/remrt/remrt.c: + remove the ability to invoke a shell script at the end of a frame + since it's not portable and is implemented using system(). + removes the 'EOFrame' remrt command. + +2012-11-06 02:28 brlcad + + * [r53464] src/proc-db/tube.c: + there is no reason to write a .g to stdout, especially via + system() (it's not even the right file) + +2012-11-05 22:27 carlmoore + + * [r53463] include/orle.h: + fix spelling + +2012-11-05 22:05 carlmoore + + * [r53462] include/vmath.h: + fix spelling + +2012-11-05 21:47 carlmoore + + * [r53461] include/rtserver.h: + fix spelling + +2012-11-05 21:44 carlmoore + + * [r53460] include/wdb.h: + fix spelling + +2012-11-05 20:17 carlmoore + + * [r53459] include/nurb.h: + fix spelling + +2012-11-05 19:14 carlmoore + + * [r53458] include/plot3.h: + change ie to i.e. + +2012-11-05 18:43 carlmoore + + * [r53457] src/tclscripts/archer/BotEditFrame.tcl: + remove trailing blank + +2012-11-05 18:34 carlmoore + + * [r53456] src/libfb/CMakeLists.txt: + fix spelling + +2012-11-05 18:30 carlmoore + + * [r53455] src/libfb/if_X24.c: + fix spellings + +2012-11-05 18:12 brlcad + + * [r53454] src/libbu/tests/bu_redblack.c: + get rid of the two diagnosis types and just print both. eliminate + the interactive input code. + +2012-11-05 17:59 carlmoore + + * [r53453] TODO: + remove trailing blank + +2012-11-05 17:54 erikgreenwald + + * [r53452] src/libbu/tests/bu_redblack.c: + disable scanf() input, as it doesn't agree with ctest + +2012-11-05 17:50 carlmoore + + * [r53451] src/libfb/if_X.c: + fix spellings + +2012-11-05 17:47 brlcad + + * [r53450] src/libbu/tests/bu_redblack.c: + cleanup + +2012-11-05 04:05 brlcad + + * [r53449] src/conv/step/CMakeLists.txt: + parallel builds consistently fail. document the little of what is + known. + +2012-11-04 07:21 brlcad + + * [r53448] TODO, src/libfb/if_ogl.c: + revert r52479 that converted if_ogl to libbu memory management. + this caused a semaphore deadlock for rt where it had already + acquired a BU_SEM_SYSCALL semaphore prior to the fb_open() call. + this is the second time a conversion to libbu caused a race -- + need to adjust the locking api to avoid this recurring problem + (and need to rework libfb to allow internal locks). + +2012-11-04 05:58 brlcad + + * [r53447] TODO: + need to rework libbu semaphore initialization if libfb and other + libs are going to play nicely. needs some usability love too, + predefined region for library use. + +2012-11-04 05:18 brlcad + + * [r53446] TODO: + make plot3.c parallel-safe + +2012-11-02 21:33 carlmoore + + * [r53445] src/libfb/tcl.c: + fix spellings + +2012-11-02 21:32 carlmoore + + * [r53444] src/libfb/fbserv_obj.c: + fix spelling + +2012-11-02 21:30 carlmoore + + * [r53443] src/libfb/fb_obj.c: + fix spelling + +2012-11-02 21:12 carlmoore + + * [r53442] src/libfb/if_wgl.c: + change ie to i.e. + +2012-11-02 21:10 carlmoore + + * [r53441] src/libfb/if_ogl.c: + fix spelling and change ie to i.e. + +2012-11-02 18:14 r_weiss + + * [r53440] include/raytrace.h, + src/librt/primitives/nmg/nmg_rt_isect.c, + src/librt/primitives/nmg/nmg_rt_segs.c: + Made changes to files "raytrace.h", "nmg_rt_segs.c" and + "nmg_rt_isect.c" for functions "unresolved", "check_hitstate", + "nmg_rt_print_hitlist", "hit_ins", "isect_ray_vertexuse" and + "nmg_isect_ray_model". Did some code cleanup to help avoid + confusion between the head of a "hitmiss" bu_list and elements in + the bu_list. Fixed a bug in function "check_hitstate" causing NMG + raytracing to fail. + +2012-11-02 04:55 brlcad + + * [r53439] bench/run.sh: + fix a bug where the pixcmp results were being displayed but not + written to the log file. need to capture the output. + +2012-11-02 04:48 brlcad + + * [r53438] src/libged/select.c: + must init botip to null if we're going to compare it to null + everywhere + +2012-11-01 20:28 carlmoore + + * [r53437] src/libfft/fftfast.c: + fix spellings + +2012-11-01 20:19 carlmoore + + * [r53436] src/util/pix-alias.c: + fix spelling + +2012-11-01 20:13 carlmoore + + * [r53435] src/util/bwrot.c: + fix spellings including 'outbyte' + +2012-11-01 20:11 carlmoore + + * [r53434] src/util/pixfilter.1: + fix spelling + +2012-11-01 20:10 carlmoore + + * [r53433] src/util/bwstat.1: + fix spelling + +2012-11-01 20:08 carlmoore + + * [r53432] src/util/random.c: + fix spelling and move a parenthesis + +2012-11-01 20:06 carlmoore + + * [r53431] src/util/bw-imp.1: + fix spellings of 'halftone' + +2012-11-01 20:04 carlmoore + + * [r53430] src/util/pixmorph.c: + fix spellings + +2012-11-01 20:03 carlmoore + + * [r53429] src/util/pixclump.c: + fix spelling + +2012-11-01 19:59 carlmoore + + * [r53428] src/util/pixmatte.c: + fix spelling + +2012-11-01 19:21 carlmoore + + * [r53427] src/util/pixcut.1: + fix spellings + +2012-11-01 19:17 carlmoore + + * [r53426] src/util/pix-sun.1: + fix spelling + +2012-11-01 19:13 carlmoore + + * [r53425] src/util/bwfilter.c: + fix spelling + +2012-11-01 18:56 carlmoore + + * [r53424] src/util/random.1: + fix spelling + +2012-11-01 18:52 carlmoore + + * [r53423] src/util/pixtile.1: + fix spelling + +2012-11-01 18:51 carlmoore + + * [r53422] src/util/bwhisteq.c: + fix spelling + +2012-11-01 18:32 carlmoore + + * [r53421] src/util/pixmorph.1: + fix spelling + +2012-11-01 16:56 carlmoore + + * [r53420] src/util/pixcolors.c: + fix spelling + +2012-11-01 16:39 carlmoore + + * [r53419] src/util/pixborder.1: + fix spellings + +2012-11-01 15:29 carlmoore + + * [r53418] src/util/ttcp.c: + fix spelling + +2012-11-01 15:12 carlmoore + + * [r53417] src/util/pixmatte.1: + fix spellings + +2012-11-01 14:42 n_reed + + * [r53416] src/mged/chgview.c: + ws/style + +2012-11-01 14:40 bob1961 + + * [r53415] src/tclscripts/lib/Ged.tcl: + Mod for cadwidgets::Ged::pane_mouse_find_botpt. Needed to clear + mBotFaceCallback before calling pane_mouse_find_bot_face. + +2012-11-01 14:36 carlmoore + + * [r53414] src/util/loop.c: + fix spelling + +2012-11-01 14:01 n_reed + + * [r53413] src/librt/primitives/eto/eto.c: + plot routines are expected to return < 0 on error + +2012-11-01 11:30 bob1961 + + * [r53412] src/tclscripts/archer/Archer.tcl, src/tclscripts/archer/ArcherCore.tcl, - src/tclscripts/archer/AttrGroupsDisplayUtility.tcl, - src/tclscripts/archer/BotUtility.tcl, - src/tclscripts/archer/CombEditFrame.tcl, - src/tclscripts/archer/DataUtils.tcl, - src/tclscripts/archer/EhyEditFrame.tcl, - src/tclscripts/archer/EllEditFrame.tcl, - src/tclscripts/archer/EpaEditFrame.tcl, - src/tclscripts/archer/EtoEditFrame.tcl, - src/tclscripts/archer/ExtrudeEditFrame.tcl, - src/tclscripts/archer/GeometryEditFrame.tcl, - src/tclscripts/archer/GripEditFrame.tcl, - src/tclscripts/archer/HalfEditFrame.tcl, - src/tclscripts/archer/HypEditFrame.tcl, - src/tclscripts/archer/LoadArcherLibs.tcl, - src/tclscripts/archer/PartEditFrame.tcl, - src/tclscripts/archer/PipeEditFrame.tcl, - src/tclscripts/archer/Plugin.tcl, - src/tclscripts/archer/RhcEditFrame.tcl, - src/tclscripts/archer/RpcEditFrame.tcl, - src/tclscripts/archer/ShaderEdit.tcl, - src/tclscripts/archer/SphereEditFrame.tcl, - src/tclscripts/archer/SuperellEditFrame.tcl, - src/tclscripts/archer/TgcEditFrame.tcl, - src/tclscripts/archer/TorusEditFrame.tcl, - src/tclscripts/archer/Utility.tcl, - src/tclscripts/archer/Wizard.tcl, - src/tclscripts/archer/bgerror.tcl, - src/tclscripts/archer/tabwindow.itk, - src/tclscripts/cad_dialog.tcl, src/tclscripts/chkexterns.tcl, - src/tclscripts/fs_dialog.tk, - src/tclscripts/geometree/GeometryBrowser.tcl, - src/tclscripts/geometree/geometree.tcl, - src/tclscripts/helpcomm.tcl, src/tclscripts/helplib.tcl, - src/tclscripts/hoc.tcl, src/tclscripts/lib/Accordian.tcl, - src/tclscripts/lib/CellPlot.tcl, - src/tclscripts/lib/ColorEntry.tcl, - src/tclscripts/lib/ComboBox.tcl, src/tclscripts/lib/Command.tcl, - src/tclscripts/lib/Database.tcl, src/tclscripts/lib/Db.tcl, - src/tclscripts/lib/Display.tcl, src/tclscripts/lib/Dm.tcl, - src/tclscripts/lib/Drawable.tcl, src/tclscripts/lib/Ged.tcl, - src/tclscripts/lib/Help.tcl, src/tclscripts/lib/Legend.tcl, - src/tclscripts/lib/Mged.tcl, - src/tclscripts/lib/ModelAxesControl.tcl, - src/tclscripts/lib/QuadDisplay.tcl, - src/tclscripts/lib/RtControl.tcl, src/tclscripts/lib/Splash.tcl, - src/tclscripts/lib/Table.tcl, src/tclscripts/lib/TableView.tcl, - src/tclscripts/lib/TkTable.tcl, src/tclscripts/lib/View.tcl, - src/tclscripts/lib/ViewAxesControl.tcl, - src/tclscripts/lib/cursor.tcl, src/tclscripts/libdm.tcl, - src/tclscripts/man_browser.tcl, src/tclscripts/menu_override.tcl, - src/tclscripts/mged/accel.tcl, src/tclscripts/mged/adc.tcl, - src/tclscripts/mged/anim.tcl, src/tclscripts/mged/apply.tcl, - src/tclscripts/mged/apply_mat.tcl, src/tclscripts/mged/asc2g.tcl, - src/tclscripts/mged/attr_edit.tcl, - src/tclscripts/mged/bindings.tcl, - src/tclscripts/mged/bot_face_select.tcl, - src/tclscripts/mged/bots.tcl, - src/tclscripts/mged/build_region.tcl, - src/tclscripts/mged/calipers.tcl, - src/tclscripts/mged/callbacks.tcl, src/tclscripts/mged/clear.tcl, - src/tclscripts/mged/collaborate.tcl, - src/tclscripts/mged/color.tcl, - src/tclscripts/mged/color_scheme.tcl, - src/tclscripts/mged/comb.tcl, src/tclscripts/mged/combmenu.tcl, - src/tclscripts/mged/cycle.tcl, - src/tclscripts/mged/dbfindtree.tcl, - src/tclscripts/mged/dbupgrade.tcl, - src/tclscripts/mged/dmtype.tcl, src/tclscripts/mged/e_id.tcl, - src/tclscripts/mged/edit_menu.tcl, - src/tclscripts/mged/edit_solid.tcl, - src/tclscripts/mged/edit_solid_int.tcl, - src/tclscripts/mged/editmenu.tcl, - src/tclscripts/mged/editobj.tcl, - src/tclscripts/mged/eobjmenu.tcl, - src/tclscripts/mged/expand_comb.tcl, - src/tclscripts/mged/extract.tcl, - src/tclscripts/mged/facetize_all_regions.tcl, - src/tclscripts/mged/font.tcl, src/tclscripts/mged/g2asc.tcl, - src/tclscripts/mged/garbage_collect.tcl, - src/tclscripts/mged/get_regions.tcl, - src/tclscripts/mged/grid.tcl, src/tclscripts/mged/help.tcl, - src/tclscripts/mged/helpdevel.tcl, - src/tclscripts/mged/icreate.tcl, src/tclscripts/mged/illum.tcl, - src/tclscripts/mged/lgt_mat.tcl, src/tclscripts/mged/list.tcl, - src/tclscripts/mged/make_solid.tcl, src/tclscripts/mged/man.tcl, - src/tclscripts/mged/menu.tcl, src/tclscripts/mged/mged.tcl, - src/tclscripts/mged/mgedrc.tcl, src/tclscripts/mged/mike.tcl, - src/tclscripts/mged/mouse.tcl, src/tclscripts/mged/muves.tcl, - src/tclscripts/mged/mview.tcl, src/tclscripts/mged/openw.tcl, - src/tclscripts/mged/overlap.tcl, src/tclscripts/mged/pattern.tcl, - src/tclscripts/mged/pattern_gui.tcl, - src/tclscripts/mged/plot.tcl, src/tclscripts/mged/points.tcl, - src/tclscripts/mged/prj_add.tcl, src/tclscripts/mged/ps.tcl, - src/tclscripts/mged/qray.tcl, src/tclscripts/mged/ray.tcl, - src/tclscripts/mged/raypick.tcl, src/tclscripts/mged/reid.tcl, - src/tclscripts/mged/relos.tcl, - src/tclscripts/mged/remap_mater.tcl, - src/tclscripts/mged/remat.tcl, src/tclscripts/mged/rrmb.tcl, - src/tclscripts/mged/rt.tcl, src/tclscripts/mged/rt_script.tcl, - src/tclscripts/mged/sample.tcl, src/tclscripts/mged/shaders.tcl, - src/tclscripts/mged/skt_ed.tcl, src/tclscripts/mged/solclick.tcl, - src/tclscripts/mged/solcreate.tcl, src/tclscripts/mged/solid.tcl, - src/tclscripts/mged/text.tcl, src/tclscripts/mged/titles.tcl, - src/tclscripts/mged/tree.tcl, src/tclscripts/mged/xclone.tcl, - src/tclscripts/mouse.tcl, src/tclscripts/pl-dm/bindings.tcl, - src/tclscripts/pl-dm/help.tcl, src/tclscripts/pl-dm/menu.tcl, - src/tclscripts/rtwizard/RaytraceWizard.tcl, - src/tclscripts/rtwizard/lib/DbPage.itk, - src/tclscripts/rtwizard/lib/ExamplePage.itk, - src/tclscripts/rtwizard/lib/FbPage.itk, - src/tclscripts/rtwizard/lib/FeedbackDialog.itk, - src/tclscripts/rtwizard/lib/FrameBufferDialog.itk, - src/tclscripts/rtwizard/lib/FullColorPage.itk, - src/tclscripts/rtwizard/lib/GhostPage.itk, - src/tclscripts/rtwizard/lib/HelpPage.itk, - src/tclscripts/rtwizard/lib/HighlightedPage.itk, - src/tclscripts/rtwizard/lib/IntroPage.itk, - src/tclscripts/rtwizard/lib/LinePage.itk, - src/tclscripts/rtwizard/lib/MGEDpage.itk, - src/tclscripts/rtwizard/lib/PictureTypeA.itcl, - src/tclscripts/rtwizard/lib/PictureTypeB.itcl, - src/tclscripts/rtwizard/lib/PictureTypeBase.itcl, - src/tclscripts/rtwizard/lib/PictureTypeC.itcl, - src/tclscripts/rtwizard/lib/PictureTypeD.itcl, - src/tclscripts/rtwizard/lib/PictureTypeE.itcl, - src/tclscripts/rtwizard/lib/PictureTypeF.itcl, - src/tclscripts/rtwizard/lib/Wizard.itk, - src/tclscripts/rtwizard/rtwizard.bat, - src/tclscripts/rtwizard/rtwizard.tcl, - src/tclscripts/sdialogs/scripts/entrydialog.itk, - src/tclscripts/sdialogs/scripts/listdialog.itk, - src/tclscripts/sdialogs/scripts/stddlgs.tcl, - src/tclscripts/sdialogs/sdialogs.tcl, - src/tclscripts/swidgets/scripts/selectlists.itk, - src/tclscripts/swidgets/scripts/tkgetdir.itk, - src/tclscripts/swidgets/scripts/togglearrow.itk, - src/tclscripts/swidgets/scripts/tooltip.itk, - src/tclscripts/swidgets/scripts/tree.itk, - src/tclscripts/swidgets/swidgets.tcl, - src/tclscripts/util/expand_int_ranges.tcl, - src/tclscripts/util/luniq.tcl, src/tclscripts/vmath.tcl, - src/util/alias-pix.c, src/util/ap-pix.1, src/util/ap-pix.c, - src/util/asc-pl.1, src/util/asc-pl.c, src/util/azel.1, - src/util/azel.c, src/util/bary.1, src/util/bary.c, - src/util/bombardier.c, src/util/bombardier.h, src/util/brlcad.1, - src/util/buffer.1, src/util/buffer.c, src/util/bw-a.c, - src/util/bw-imp.1, src/util/bw-imp.c, src/util/bw-pix.1, - src/util/bw-pix.c, src/util/bw-png.1, src/util/bw-png.c, - src/util/bw-ps.1, src/util/bw-ps.c, src/util/bw-rle.1, - src/util/bw-rle.c, src/util/bw3-pix.1, src/util/bw3-pix.c, - src/util/bwcrop.1, src/util/bwcrop.c, src/util/bwdiff.1, - src/util/bwdiff.c, src/util/bwfilter.1, src/util/bwfilter.c, - src/util/bwhist.1, src/util/bwhist.c, src/util/bwhisteq.1, - src/util/bwhisteq.c, src/util/bwmod.1, src/util/bwmod.c, - src/util/bwrect.1, src/util/bwrect.c, src/util/bwrot.1, - src/util/bwrot.c, src/util/bwscale.c, src/util/bwshrink.1, - src/util/bwshrink.c, src/util/bwstat.1, src/util/bwstat.c, - src/util/bwthresh.1, src/util/bwthresh.c, src/util/cv.1, - src/util/cv.c, src/util/dbcp.1, src/util/dbcp.c, - src/util/decimate.1, src/util/decimate.c, src/util/double-asc.c, - src/util/dpix-pix.1, src/util/dpix-pix.c, src/util/dsp_add.c, - src/util/dunncolor.1, src/util/dunncolor.c, src/util/dunncomm.c, - src/util/dunnsnap.1, src/util/dunnsnap.c, - src/util/fix_polysolids.c, src/util/gencolor.1, - src/util/gencolor.c, src/util/hex.1, src/util/hex.c, - src/util/imgdims.1, src/util/imgdims.c, src/util/loop.1, - src/util/loop.c, src/util/lowp.c, src/util/mac-pix.1, - src/util/mac-pix.c, src/util/morphedit.1, src/util/morphedit.tcl, - src/util/orle-pix.1, src/util/orle-pix.c, src/util/pc_test.c, - src/util/pix-alias.1, src/util/pix-alias.c, src/util/pix-bw.1, - src/util/pix-bw.c, src/util/pix-bw3.1, src/util/pix-bw3.c, - src/util/pix-orle.1, src/util/pix-orle.c, src/util/pix-png.1, - src/util/pix-png.c, src/util/pix-ppm.1, src/util/pix-ppm.c, - src/util/pix-ps.1, src/util/pix-ps.c, src/util/pix-rle.1, - src/util/pix-rle.c, src/util/pix-spm.c, src/util/pix-sun.1, - src/util/pix-sun.c, src/util/pix-yuv.c, src/util/pix3filter.c, - src/util/pixbackgnd.1, src/util/pixbackgnd.c, - src/util/pixbgstrip.1, src/util/pixbgstrip.c, - src/util/pixblend.1, src/util/pixblend.c, src/util/pixborder.1, - src/util/pixborder.c, src/util/pixbustup.1, src/util/pixbustup.c, - src/util/pixclump.1, src/util/pixclump.c, src/util/pixcolors.1, - src/util/pixcolors.c, src/util/pixcount.c, src/util/pixcut.1, - src/util/pixcut.c, src/util/pixdiff.1, src/util/pixdiff.c, - src/util/pixdsplit.1, src/util/pixdsplit.c, src/util/pixelswap.c, - src/util/pixembed.c, src/util/pixfade.1, src/util/pixfade.c, - src/util/pixfields.c, src/util/pixfieldsep.c, - src/util/pixfilter.1, src/util/pixfilter.c, src/util/pixhalve.1, - src/util/pixhalve.c, src/util/pixhist.1, src/util/pixhist.c, - src/util/pixhist3d-pl.1, src/util/pixhist3d-pl.c, - src/util/pixhist3d.1, src/util/pixhist3d.c, - src/util/pixinterp2x.1, src/util/pixinterp2x.c, - src/util/pixmatte.1, src/util/pixmatte.c, src/util/pixmerge.1, - src/util/pixmerge.c, src/util/pixmorph.1, src/util/pixmorph.c, - src/util/pixpaste.c, src/util/pixrect.1, src/util/pixrect.c, - src/util/pixrot.1, src/util/pixrot.c, src/util/pixsaturate.1, - src/util/pixsaturate.c, src/util/pixscale.1, src/util/pixscale.c, - src/util/pixshrink.1, src/util/pixshrink.c, src/util/pixstat.1, - src/util/pixstat.c, src/util/pixsubst.1, src/util/pixsubst.c, - src/util/pixtile.1, src/util/pixtile.c, src/util/pixuntile.1, - src/util/pixuntile.c, src/util/pl-X.1, src/util/pl-X.c, - src/util/pl-asc.1, src/util/pl-asc.c, src/util/pl-dm.c, - src/util/pl-hpgl.1, src/util/pl-hpgl.c, src/util/pl-pl.1, - src/util/pl-pl.c, src/util/pl-ps.1, src/util/pl-ps.c, - src/util/pl-tek.1, src/util/pl-tek.c, src/util/plcolor.1, - src/util/plcolor.c, src/util/pldebug.1, src/util/pldebug.c, - src/util/plgetframe.1, src/util/plgetframe.c, src/util/plline2.1, - src/util/plline2.c, src/util/plrot.1, src/util/plrot.c, - src/util/plstat.c, src/util/png-bw.1, src/util/png-bw.c, - src/util/png-pix.1, src/util/png-pix.c, src/util/png_info.1, - src/util/png_info.c, src/util/random.1, src/util/random.c, - src/util/rle-pix.1, src/util/rle-pix.c, src/util/roots_example.c, - src/util/sun-pix.1, src/util/sun-pix.c, src/util/terrain.1, - src/util/terrain.c, src/util/texturescale.c, src/util/ttcp.c, - src/util/wavelet.1, src/util/wavelet.c, src/util/xyz-pl.c, - src/util/yuv-pix.c, src/vdeck/cgarbs.c, src/vdeck/match.c, - src/vdeck/parsarg.c, src/vdeck/std.h, src/vdeck/vdeck.1, - src/vdeck/vdeck.c, src/vdeck/vextern.h, src/vfont/getfont.c, - src/vfont/vfont.h: - Enter the Dragon. Welcome, 2012! - -2012-01-17 20:16 tbrowder2 - - * [r48889] src/libged/analyze.c: - starting on cleaning up analyze table formatting; some ws and - style fixes, too - -2012-01-17 19:40 brlcad - - * [r48888] TODO: - Apparently the latest libpng might resolve the ld failure - encountered on FC16, ppc64. - -2012-01-17 17:45 tbrowder2 - - * [r48887] src/rt/viewweight.c: - improve comment; realign code with correct spacing after edits - -2012-01-17 16:28 d_rossberg - - * [r48886] src/libbu/timer.c: - there is no preprocessor directive #warning in MSVC 2008 - there is an equivalent preprocessor directive but then we need an - additional compiler switch ... - -2012-01-17 16:20 d_rossberg - - * [r48885] include/config_win.h, include/config_win_cmake.h.in: - two additional Windows symbol equivalences (fchmod(), mode_t) - -2012-01-17 15:54 tbrowder2 - - * [r48884] regress/weight.sh: - modify test 2 output to reflect removal of all comments from the - density file before further processing - -2012-01-17 15:53 tbrowder2 - - * [r48883] src/rt/viewweight.c: - remove comments before further processing of an input line - -2012-01-17 15:31 tbrowder2 - - * [r48882] regress/weight.sh: - add another bit of complexity to the second test (inline - comments)--current trunk still passes this test - -2012-01-17 12:51 tbrowder2 - - * [r48881] src/rt/viewweight.c: - oops, free resources at the right place - -2012-01-17 12:42 tbrowder2 - - * [r48880] src/rt/viewweight.c: - realign std spaces after editing; add some FIX ME notes and - questions for more experienced heads; free resources - -2012-01-17 00:24 tbrowder2 - - * [r48879] src/rt/viewweight.c: - a slight optimization - -2012-01-16 23:26 tbrowder2 - - * [r48878] src/rt/viewweight.c: - give more info on missing material info--name the region affected - -2012-01-16 22:08 tbrowder2 - - * [r48877] src/rt/viewweight.c: - moved WEIGHT BY REGION NAME outside the first region collection - loop, then used - the new array on the print out - ran the current regression test (./regress/weight.sh) 100 times - with NO - failures - next step will be a bit of optimization on the inner read loop of - the - two main print loops + src/tclscripts/archer/BotEditFrame.tcl: + Updated Archer to be able to select bot points using a rubberband + rectangle. + +2012-11-01 11:23 bob1961 + + * [r53411] src/tclscripts/lib/Ged.tcl: + Update init_view_rect and end_view_rect to accomodate selecting + the points within a bot. + +2012-11-01 11:20 bob1961 + + * [r53410] src/libged/select.c: + Updated ged_select() and ged_rselect() to also select the points + within a bot. + +2012-11-01 11:18 bob1961 + + * [r53409] src/libged/edbot.c, src/libged/ged_private.h: + Added _ged_select_botpts() for selecting the bot points within a + rectangle or circle. + +2012-10-31 20:22 carlmoore + + * [r53408] src/util/wavelet.c: + change eg to e.g. + +2012-10-31 20:16 carlmoore + + * [r53407] src/util/pixhist.1: + fix spelling + +2012-10-31 20:15 carlmoore + + * [r53406] src/util/png_info.c: + fix spellings + +2012-10-31 20:13 carlmoore + + * [r53405] src/util/bwfilter.1: + fix spelling + +2012-10-31 19:36 starseeker + + * [r53404] misc/CMake/Distcheck.cmake: + Looks like some of the output we want to log isn't being + caught... this is distcheck, everything should be in the log. + +2012-10-31 17:46 starseeker + + * [r53403] src/rt/read-rtlog.c: + Initialize some variables. + +2012-10-30 15:21 n_reed + + * [r53402] src/librt/primitives/ehy/ehy.c, + src/librt/primitives/epa/epa.c: + dereferencing null + +2012-10-30 02:12 brlcad + + * [r53401] src/librt/binunif/db5_bin.c, src/librt/comb/comb.c, + src/librt/db_match.c, src/librt/primitives/arb8/arb8.c, + src/librt/primitives/arbn/arbn.c, src/librt/primitives/ars/ars.c, + src/librt/primitives/bot/bot.c, + src/librt/primitives/bspline/bspline.cpp, + src/librt/primitives/cline/cline.c, + src/librt/primitives/dsp/dsp.c, src/librt/primitives/ehy/ehy.c, + src/librt/primitives/ell/ell.c, src/librt/primitives/epa/epa.c, + src/librt/primitives/eto/eto.c, + src/librt/primitives/extrude/extrude.c, + src/librt/primitives/grip/grip.c, + src/librt/primitives/half/half.c, src/librt/primitives/hyp/hyp.c, + src/librt/primitives/metaball/metaball.c, + src/librt/primitives/nmg/nmg.c, src/librt/primitives/part/part.c, + src/librt/primitives/pipe/pipe.c, + src/librt/primitives/pnts/pnts.c, + src/librt/primitives/revolve/revolve.c, + src/librt/primitives/rhc/rhc.c, src/librt/primitives/rpc/rpc.c, + src/librt/primitives/sketch/sketch.c, + src/librt/primitives/tgc/tgc.c, src/librt/primitives/tor/tor.c, + src/librt/primitives/xxx/xxx.c, src/librt/vlist.c: + big whoosh repair of the assumption that fastf_t are doubles. + critically, all import/export routines CANNOT be fastf_t since + that's intended to be a variadic type (that's why there's a + typedef). we have to convert fastf_t to double before export and + after import. use the ELEMENTS_PER_* defines to convey the type + where appropiate and helpful for documenting intent. + +2012-10-30 01:52 brlcad + + * [r53400] src/librt/primitives/superell/superell.c: + this is the one place that must change from %f to %g for the two + double n/e power fields. everything else is a fastf_t. make the + vec buffers double for import/export since they must be, not + fastf_t. + +2012-10-30 01:50 brlcad + + * [r53399] src/libbu/parse.c: + implement support for differentiating between fastf_t and double + structparse entries. this fixes the assumption that they are the + same and allows all of the existing callers to remain unaffected + (they're fastf_t getting passed to %f. they should now serialize + correctly even if they are single-precision. + +2012-10-30 01:48 brlcad + + * [r53398] include/bu.h: + set the stage for distinguishing between a double-precision + structparse and a fastf_t, which may be single or double + precision. almost without exception, most of the existing callers + use %f for fastf_t so add %g for doubles. + +2012-10-30 01:44 brlcad + + * [r53397] doc/deprecation.txt: + deprecated bu_parse_mm(). looks like it's not actually used + anywhere, but it is publicly declared and has been for some time. + +2012-10-29 12:41 d_rossberg + + * [r53396] misc/win32-msvc/Dll/CMakeLists.txt: + opennurbs extensions were moved out of librt to libnurbs: added + libnurbs to the brlcad.dll configuration + +2012-10-29 04:24 brlcad + + * [r53395] src/librt/primitives/table.c: + indent cleanup + +2012-10-26 20:04 carlmoore + + * [r53394] src/util/bary.1: + fix spelling + +2012-10-26 19:51 carlmoore + + * [r53393] src/util/pix-ps.1: + fix spelling + +2012-10-26 19:50 carlmoore + + * [r53392] src/util/pixshrink.1: + fix spelling + +2012-10-26 17:33 carlmoore + + * [r53391] src/util/hex.c: + fix spellings + +2012-10-26 16:57 carlmoore + + * [r53390] src/util/pixbustup.1: + fix spelling + +2012-10-26 16:38 d_rossberg + + * [r53389] src/libanalyze/voxels.c: + ups, forgot to save a result + +2012-10-26 16:35 d_rossberg + + * [r53388] include/analyze.h, src/libanalyze/voxels.c: + started to revise the voxelize() function + mainly put traversing the list in an own sub-function + +2012-10-26 16:08 carlmoore + + * [r53387] src/util/pixmerge.c: + fix spelling + +2012-10-26 05:26 brlcad + + * [r53386] src/librt/primitives/ell/ell.c: + remove var that's set but not used + +2012-10-26 05:17 brlcad + + * [r53385] NEWS: + richard fixed a bug exporting/tessellating pipe objects in r53375 + where the edges were not being properly fused. this impacted + booleans and raytracing. + +2012-10-25 21:46 carlmoore + + * [r53384] src/util/plrot.1: + fix spelling + +2012-10-25 21:45 carlmoore + + * [r53383] src/util/mac-pix.1: + fix spelling + +2012-10-25 21:44 carlmoore + + * [r53382] src/util/buffer.c: + fix spelling + +2012-10-25 21:43 carlmoore + + * [r53381] src/util/dpix-pix.c: + fix spellings + +2012-10-25 21:40 carlmoore + + * [r53380] src/util/pixrot.c: + fix spellings + +2012-10-25 21:38 carlmoore + + * [r53379] src/util/bwhist.1: + fix spelling + +2012-10-25 21:37 carlmoore + + * [r53378] src/util/pixstat.1: + fix spelling + +2012-10-25 21:36 carlmoore + + * [r53377] src/util/hex.1: + fix spellings + +2012-10-25 21:34 carlmoore + + * [r53376] src/util/pixmerge.1: + fix spelling + +2012-10-25 21:31 r_weiss + + * [r53375] src/librt/primitives/pipe/pipe.c: + Added a call to function "nmg_edge_fuse" at the end of function + "rt_pipe_tess" in file "pipe.c". This is required because if a + pipe is facetized to an NMG object, the resulting NMG can not be + properly raytraced without the edges being fused. This also + impacts NMG boolean operations since raytracing is sometimes + necessary to determine if an NMG object is in/out/on another NMG + object. + +2012-10-25 21:29 carlmoore + + * [r53374] src/util/pix-bw3.c: + fix spelling + +2012-10-25 21:28 carlmoore + + * [r53373] src/util/pixbackgnd.1: + change ie to i.e. + +2012-10-25 21:26 carlmoore + + * [r53372] src/util/alias-pix.c: + fix spelling + +2012-10-25 21:16 carlmoore + + * [r53371] src/util/bwmod.1: + fix spelling + +2012-10-25 21:16 carlmoore + + * [r53370] src/util/pix-orle.1: + fix spelling + +2012-10-25 21:14 carlmoore + + * [r53369] src/util/pixhist3d-pl.1: + fix spelling + +2012-10-25 20:55 carlmoore + + * [r53368] src/util/pixfilter.c: + fix spelling + +2012-10-25 20:53 carlmoore + + * [r53367] src/util/bw-ps.1: + fix spellings + +2012-10-25 20:51 carlmoore + + * [r53366] src/util/bwshrink.1: + fix spelling + +2012-10-25 20:43 carlmoore + + * [r53365] src/util/brlcad.1: + fix spellings + +2012-10-25 20:38 carlmoore + + * [r53364] src/util/orle-pix.c: + fix spelling + +2012-10-25 20:31 carlmoore + + * [r53363] src/util/pixfade.c: + fix spellings + +2012-10-25 19:56 carlmoore + + * [r53362] src/util/pixrect.c: + fix spellings (notice sdtin --> stdin) + +2012-10-25 19:16 carlmoore + + * [r53361] src/util/pixcut.c: + fix spellings + +2012-10-25 18:16 carlmoore + + * [r53360] src/util/pixscale.c: + fix spelling + +2012-10-25 17:59 brlcad + + * [r53359] TODO: + add a section for windows binaries still needing to be ported. + list compiled by yapp. + +2012-10-25 17:56 bob1961 + + * [r53358] src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/BotEditFrame.tcl, + src/tclscripts/archer/GeometryEditFrame.tcl: + Added the flexibility to pick BOT points and edges along the full + depth of the BOT or only from the front of the BOT. + +2012-10-25 17:25 n_reed + + * [r53357] src/librt/primitives/tgc/tgc.c: + be smarter at picking number of sample points + +2012-10-25 16:55 n_reed + + * [r53356] src/librt/primitives/ell/ell.c: + be smarter at picking number of sample points + +2012-10-25 15:57 carlmoore + + * [r53355] src/util/dunnsnap.1: + fix spellings + +2012-10-25 15:17 bob1961 + + * [r53354] src/tclscripts/lib/Ged.tcl: + Added cadwidgets::Ged::pane_find_bot_edge_in_face and + cadwidgets::Ged::pane_find_botpt_in_face. Updated + cadwidgets::Ged::pane_mouse_find_bot_edge and + cadwidgets::Ged::pane_mouse_find_botpt to call the new functions. + +2012-10-25 14:46 carlmoore + + * [r53353] src/util/pix-sun.c: + fix spellings + +2012-10-25 13:52 brlcad + + * [r53352] doc/deprecation.txt: + some folks would like librtserver to be an external project and + I'm inclined to oblige. this will allow us to eliminate all + references to java and a common point of misunderstanding from + users + +2012-10-25 12:17 brlcad + + * [r53351] src/conv/comgeom/solid.c, src/lgt/do_options.c, + src/lgt/extern.h, src/lgt/lgt.h, src/lgt/reflect.c, + src/mged/clone.c, src/nirt/read_mat.c, src/proc-db/pipe.c, + src/proc-db/sphflake.c, src/remrt/remrt.c, src/rt/read-rtlog.c, + src/shapes/fence.c: + more fastf_t / double consistency conversions to support single + and double precision. + +2012-10-25 12:15 bob1961 + + * [r53350] src/libbn/tcl.c: + Added a tcl interface to bn_dist_pt2_lseg2. + +2012-10-25 03:46 brlcad + + * [r53349] include/nurbs.h: + annotate the end of the namespace + +2012-10-25 03:43 brlcad + + * [r53348] src/librt/primitives/epa/epa.c, + src/librt/primitives/eto/eto.c, src/librt/primitives/rhc/rhc.c, + src/librt/primitives/rpc/rpc.c: + eliminate a bunch of set-but-unused vars + +2012-10-25 03:36 brlcad + + * [r53347] src/librt/primitives/ell/ell.c: + set but unused + +2012-10-24 21:16 carlmoore + + * [r53346] src/libged/simulate/simphysics.cpp: + supply a missing blank + +2012-10-24 21:10 carlmoore + + * [r53345] src/liboptical/sh_stxt.c: + change ie to i.e. + +2012-10-24 21:09 carlmoore + + * [r53344] src/liboptical/sh_treetherm.c: + fix spelling + +2012-10-24 21:08 carlmoore + + * [r53343] src/liboptical/sh_plastic.c: + fix spellings + +2012-10-24 21:06 carlmoore + + * [r53342] src/liboptical/refract.c: + oops, also needed to change eg to e.g. + +2012-10-24 21:05 carlmoore + + * [r53341] src/liboptical/refract.c: + fix spelling and change ie to i.e. + +2012-10-24 21:03 carlmoore + + * [r53340] src/liboptical/sh_camo.c: + fix spellings + +2012-10-24 21:02 carlmoore + + * [r53339] src/liboptical/sh_noise.c: + fix spelling + +2012-10-24 20:55 carlmoore + + * [r53338] src/liboptical/sh_brdf.c: + fix spellings + +2012-10-24 20:49 carlmoore + + * [r53337] src/liboptical/sh_air.c: + fix spelling + +2012-10-24 20:48 carlmoore + + * [r53336] src/liboptical/sh_osl.cpp: + fix spelling + +2012-10-24 20:47 carlmoore + + * [r53335] src/liboptical/sh_prj.c: + fix spelling + +2012-10-24 20:46 carlmoore + + * [r53334] src/liboptical/shade.c: + fix spellings + +2012-10-24 20:45 carlmoore + + * [r53333] src/liboptical/wray.c: + change ie to i.e., and fix spelling + +2012-10-24 20:44 carlmoore + + * [r53332] src/liboptical/sh_flat.c: + fix spelling + +2012-10-24 20:42 carlmoore + + * [r53331] src/liboptical/sh_text.c: + fix spellings + +2012-10-24 20:41 carlmoore + + * [r53330] src/liboptical/sh_toyota.c: + fix spellings + +2012-10-24 20:36 carlmoore + + * [r53329] src/liboptical/sh_grass.c: + fix spellings + +2012-10-24 20:34 carlmoore + + * [r53328] src/liboptical/init.c: + fix spelling + +2012-10-24 20:33 carlmoore + + * [r53327] src/liboptical/sh_wood.c: + fix spellings and remove an 's' + +2012-10-24 20:31 carlmoore + + * [r53326] src/liboptical/sh_light.c: + fix spellings + +2012-10-24 20:21 carlmoore + + * [r53325] src/liboptical/oslexec_pvt.h: + fix spelling + +2012-10-24 20:20 carlmoore + + * [r53324] src/irprep/irdisp.c: + fix spelling + +2012-10-24 20:19 carlmoore + + * [r53323] src/irprep/pictx.c: + fix spelling + +2012-10-24 20:14 carlmoore + + * [r53322] src/irprep/showtherm.c: + fix spellings + +2012-10-24 20:13 carlmoore + + * [r53321] src/irprep/ir-X.c: + insert a blank, and fix spellings + +2012-10-24 20:02 carlmoore + + * [r53320] src/irprep/firpass.c: + fix spellings + +2012-10-24 19:22 carlmoore + + * [r53319] src/irprep/shapefact.c: + fix spellings + +2012-10-24 19:18 carlmoore + + * [r53318] src/libged/human.c: + add apostrophe and fix spellings + +2012-10-24 18:06 carlmoore + + * [r53317] src/libged/wdb_bigE.c: + fix spellings + +2012-10-24 17:38 carlmoore + + * [r53316] src/libged/shells.c: + fix spelling + +2012-10-24 17:37 carlmoore + + * [r53315] src/libged/dag.cpp: + fix spelling + +2012-10-24 17:24 carlmoore + + * [r53314] src/libged/push.c: + fix spelling + +2012-10-24 17:20 carlmoore + + * [r53313] src/libged/gqa.c: + fix spellings + +2012-10-24 17:18 carlmoore + + * [r53312] src/libged/dg_obj.c: + fix spellings + +2012-10-24 17:16 carlmoore + + * [r53311] src/libged/bigE.c: + fix spellings + +2012-10-24 17:14 carlmoore + + * [r53310] src/libged/rfarb.c: + fix spellings + +2012-10-24 17:10 carlmoore + + * [r53309] src/libged/rmater.c: + fix spelling + +2012-10-24 17:09 carlmoore + + * [r53308] src/libged/make_pnts.c: + fix spelling + +2012-10-24 17:08 carlmoore + + * [r53307] src/libged/cpi.c: + fix spelling + +2012-10-24 16:38 carlmoore + + * [r53306] src/libged/wdb_obj.c: + fix spellings + +2012-10-24 11:34 bob1961 + + * [r53305] src/tclscripts/archer/BotEditFrame.tcl: + This provides enhancements to BotEditFrame::botEdgeSplitCallback + and BotEditFrame::botFaceSplitCallback to update the BOT tables. + Also, rewrite BotEditFrame::syncTablesWrtFaces. + +2012-10-24 04:58 brlcad + + * [r53304] include/plot3.h: + also document tp_3list() with comment about being a good + candidate + +2012-10-24 04:49 brlcad + + * [r53303] include/bn.h, include/plot3.h, src/libbn/globals.c, + src/libbn/list.c: + move doxygen comments from source to header + +2012-10-24 04:36 brlcad + + * [r53302] src/libbn/CMakeLists.txt, src/libbn/Makefile.am, + src/libbn/fortran.c: + the fortran bindings to libbn's 'libplot3' API do not look to be + actually published or used, no reference anywhere, so remove + them. distraction to current priorities and a maintenance burden. + +2012-10-24 04:25 brlcad + + * [r53301] src/libbn/fortran.c: + rename pl_strncpy since it doesn't need to be public (and doesn't + seem to be published) + +2012-10-24 03:56 brlcad + + * [r53300] include/bn.h, src/libbn/complex.c, src/libbn/font.c: + comment cleanup, move from source to header + +2012-10-24 03:44 brlcad + + * [r53299] src/libbn/bntester.c: + stray @} + +2012-10-24 03:42 brlcad + + * [r53298] include/plot3.h, src/libbn/axis.c: + move comments from source to header + +2012-10-24 03:28 brlcad + + * [r53297] src/conv/comgeom/solid.c: + allocate fastf_t arrays instead of double + +2012-10-23 22:05 carlmoore + + * [r53296] src/libged/clip.c: + fix spelling + +2012-10-23 22:03 carlmoore + + * [r53295] src/libged/track.c: + fix spelling + +2012-10-23 22:02 carlmoore + + * [r53294] src/libged/tire.c: + fix spellings (notice dztread appeared only in comments) + +2012-10-23 21:57 carlmoore + + * [r53293] src/libged/wdb_track.c: + fix spelling + +2012-10-23 21:55 carlmoore + + * [r53292] src/libged/rt.c: + fix spellings + +2012-10-23 21:53 carlmoore + + * [r53291] src/libged/tables.c: + fix spelling + +2012-10-23 21:45 carlmoore + + * [r53290] src/libged/rcodes.c: + fix spelling + +2012-10-23 21:41 carlmoore + + * [r53289] src/libged/simulate/simutils.c: + change eg to e.g. + +2012-10-23 21:40 carlmoore + + * [r53288] src/libged/typein.c: + fix spllings + +2012-10-23 21:38 carlmoore + + * [r53287] src/libged/decompose.c: + fix spelling + +2012-10-23 21:36 starseeker + + * [r53286] src/librt/CMakeLists.txt: + Leave commented, but otherwise sync up current test code build + logic. + +2012-10-23 21:34 carlmoore + + * [r53285] src/libged/copyeval.c: + fix spelling + +2012-10-23 21:33 carlmoore + + * [r53284] src/libged/qray.c: + change S to s, and remove p from voidpcolor in a message + +2012-10-23 21:32 starseeker + + * [r53283] include/nurbs.h, src/libnurbs/opennurbs_ext.cpp: + Initialize SurfaceTree entries. + +2012-10-23 21:31 starseeker + + * [r53282] src/libnurbs/PullbackCurve.cpp: + Add a couple more null surf checks, even though these really + shouldn't happen... + +2012-10-23 21:29 carlmoore + + * [r53281] src/libged/inside.c: + fix spellings + +2012-10-23 21:28 carlmoore + + * [r53280] src/libged/xpush.c: + fix spellings + +2012-10-23 21:24 carlmoore + + * [r53279] src/libged/CMakeLists.txt: + this is the ADAP(T)AGRAMS fix + +2012-10-23 21:19 starseeker + + * [r53278] src/other/CMakeLists.txt, src/other/Eigen, + src/other/Eigen/COPYING.BSD, src/other/Eigen/COPYING.LGPL, + src/other/Eigen/COPYING.MINPACK, src/other/Eigen/COPYING.MPL2, + src/other/Eigen/COPYING.README, src/other/Eigen/Eigen, + src/other/Eigen/Eigen/Array, + src/other/Eigen/Eigen/CMakeLists.txt, + src/other/Eigen/Eigen/Cholesky, + src/other/Eigen/Eigen/CholmodSupport, src/other/Eigen/Eigen/Core, + src/other/Eigen/Eigen/Dense, src/other/Eigen/Eigen/Eigen, + src/other/Eigen/Eigen/Eigen2Support, + src/other/Eigen/Eigen/Eigenvalues, + src/other/Eigen/Eigen/Geometry, + src/other/Eigen/Eigen/Householder, + src/other/Eigen/Eigen/IterativeLinearSolvers, + src/other/Eigen/Eigen/Jacobi, src/other/Eigen/Eigen/LU, + src/other/Eigen/Eigen/LeastSquares, + src/other/Eigen/Eigen/MetisSupport, + src/other/Eigen/Eigen/OrderingMethods, + src/other/Eigen/Eigen/PaStiXSupport, + src/other/Eigen/Eigen/PardisoSupport, src/other/Eigen/Eigen/QR, + src/other/Eigen/Eigen/QtAlignedMalloc, src/other/Eigen/Eigen/SVD, + src/other/Eigen/Eigen/Sparse, + src/other/Eigen/Eigen/SparseCholesky, + src/other/Eigen/Eigen/SparseCore, src/other/Eigen/Eigen/SparseLU, + src/other/Eigen/Eigen/StdDeque, src/other/Eigen/Eigen/StdList, + src/other/Eigen/Eigen/StdVector, + src/other/Eigen/Eigen/SuperLUSupport, + src/other/Eigen/Eigen/UmfPackSupport, src/other/Eigen/Eigen/src, + src/other/Eigen/Eigen/src/CMakeLists.txt, + src/other/Eigen/Eigen/src/Cholesky, + src/other/Eigen/Eigen/src/Cholesky/CMakeLists.txt, + src/other/Eigen/Eigen/src/Cholesky/LDLT.h, + src/other/Eigen/Eigen/src/Cholesky/LLT.h, + src/other/Eigen/Eigen/src/Cholesky/LLT_MKL.h, + src/other/Eigen/Eigen/src/CholmodSupport, + src/other/Eigen/Eigen/src/CholmodSupport/CMakeLists.txt, + src/other/Eigen/Eigen/src/CholmodSupport/CholmodSupport.h, + src/other/Eigen/Eigen/src/Core, + src/other/Eigen/Eigen/src/Core/Array.h, + src/other/Eigen/Eigen/src/Core/ArrayBase.h, + src/other/Eigen/Eigen/src/Core/ArrayWrapper.h, + src/other/Eigen/Eigen/src/Core/Assign.h, + src/other/Eigen/Eigen/src/Core/AssignEvaluator.h, + src/other/Eigen/Eigen/src/Core/Assign_MKL.h, + src/other/Eigen/Eigen/src/Core/BandMatrix.h, + src/other/Eigen/Eigen/src/Core/Block.h, + src/other/Eigen/Eigen/src/Core/BooleanRedux.h, + src/other/Eigen/Eigen/src/Core/CMakeLists.txt, + src/other/Eigen/Eigen/src/Core/CommaInitializer.h, + src/other/Eigen/Eigen/src/Core/CoreEvaluators.h, + src/other/Eigen/Eigen/src/Core/CwiseBinaryOp.h, + src/other/Eigen/Eigen/src/Core/CwiseNullaryOp.h, + src/other/Eigen/Eigen/src/Core/CwiseUnaryOp.h, + src/other/Eigen/Eigen/src/Core/CwiseUnaryView.h, + src/other/Eigen/Eigen/src/Core/DenseBase.h, + src/other/Eigen/Eigen/src/Core/DenseCoeffsBase.h, + src/other/Eigen/Eigen/src/Core/DenseStorage.h, + src/other/Eigen/Eigen/src/Core/Diagonal.h, + src/other/Eigen/Eigen/src/Core/DiagonalMatrix.h, + src/other/Eigen/Eigen/src/Core/DiagonalProduct.h, + src/other/Eigen/Eigen/src/Core/Dot.h, + src/other/Eigen/Eigen/src/Core/EigenBase.h, + src/other/Eigen/Eigen/src/Core/Flagged.h, + src/other/Eigen/Eigen/src/Core/ForceAlignedAccess.h, + src/other/Eigen/Eigen/src/Core/Functors.h, + src/other/Eigen/Eigen/src/Core/Fuzzy.h, + src/other/Eigen/Eigen/src/Core/GeneralProduct.h, + src/other/Eigen/Eigen/src/Core/GenericPacketMath.h, + src/other/Eigen/Eigen/src/Core/GlobalFunctions.h, + src/other/Eigen/Eigen/src/Core/IO.h, + src/other/Eigen/Eigen/src/Core/Map.h, + src/other/Eigen/Eigen/src/Core/MapBase.h, + src/other/Eigen/Eigen/src/Core/MathFunctions.h, + src/other/Eigen/Eigen/src/Core/Matrix.h, + src/other/Eigen/Eigen/src/Core/MatrixBase.h, + src/other/Eigen/Eigen/src/Core/NestByValue.h, + src/other/Eigen/Eigen/src/Core/NoAlias.h, + src/other/Eigen/Eigen/src/Core/NumTraits.h, + src/other/Eigen/Eigen/src/Core/PermutationMatrix.h, + src/other/Eigen/Eigen/src/Core/PlainObjectBase.h, + src/other/Eigen/Eigen/src/Core/Product.h, + src/other/Eigen/Eigen/src/Core/ProductBase.h, + src/other/Eigen/Eigen/src/Core/ProductEvaluators.h, + src/other/Eigen/Eigen/src/Core/Random.h, + src/other/Eigen/Eigen/src/Core/Redux.h, + src/other/Eigen/Eigen/src/Core/Ref.h, + src/other/Eigen/Eigen/src/Core/Replicate.h, + src/other/Eigen/Eigen/src/Core/ReturnByValue.h, + src/other/Eigen/Eigen/src/Core/Reverse.h, + src/other/Eigen/Eigen/src/Core/Select.h, + src/other/Eigen/Eigen/src/Core/SelfAdjointView.h, + src/other/Eigen/Eigen/src/Core/SelfCwiseBinaryOp.h, + src/other/Eigen/Eigen/src/Core/SolveTriangular.h, + src/other/Eigen/Eigen/src/Core/StableNorm.h, + src/other/Eigen/Eigen/src/Core/Stride.h, + src/other/Eigen/Eigen/src/Core/Swap.h, + src/other/Eigen/Eigen/src/Core/Transpose.h, + src/other/Eigen/Eigen/src/Core/Transpositions.h, + src/other/Eigen/Eigen/src/Core/TriangularMatrix.h, + src/other/Eigen/Eigen/src/Core/VectorBlock.h, + src/other/Eigen/Eigen/src/Core/VectorwiseOp.h, + src/other/Eigen/Eigen/src/Core/Visitor.h, + src/other/Eigen/Eigen/src/Core/arch, + src/other/Eigen/Eigen/src/Core/arch/AltiVec, + src/other/Eigen/Eigen/src/Core/arch/AltiVec/CMakeLists.txt, + src/other/Eigen/Eigen/src/Core/arch/AltiVec/Complex.h, + src/other/Eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h, + src/other/Eigen/Eigen/src/Core/arch/CMakeLists.txt, + src/other/Eigen/Eigen/src/Core/arch/Default, + src/other/Eigen/Eigen/src/Core/arch/Default/CMakeLists.txt, + src/other/Eigen/Eigen/src/Core/arch/Default/Settings.h, + src/other/Eigen/Eigen/src/Core/arch/NEON, + src/other/Eigen/Eigen/src/Core/arch/NEON/CMakeLists.txt, + src/other/Eigen/Eigen/src/Core/arch/NEON/Complex.h, + src/other/Eigen/Eigen/src/Core/arch/NEON/PacketMath.h, + src/other/Eigen/Eigen/src/Core/arch/SSE, + src/other/Eigen/Eigen/src/Core/arch/SSE/CMakeLists.txt, + src/other/Eigen/Eigen/src/Core/arch/SSE/Complex.h, + src/other/Eigen/Eigen/src/Core/arch/SSE/MathFunctions.h, + src/other/Eigen/Eigen/src/Core/arch/SSE/PacketMath.h, + src/other/Eigen/Eigen/src/Core/products, + src/other/Eigen/Eigen/src/Core/products/CMakeLists.txt, + src/other/Eigen/Eigen/src/Core/products/CoeffBasedProduct.h, + src/other/Eigen/Eigen/src/Core/products/GeneralBlockPanelKernel.h, + src/other/Eigen/Eigen/src/Core/products/GeneralMatrixMatrix.h, + src/other/Eigen/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h, + src/other/Eigen/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_MKL.h, + src/other/Eigen/Eigen/src/Core/products/GeneralMatrixMatrix_MKL.h, + src/other/Eigen/Eigen/src/Core/products/GeneralMatrixVector.h, + src/other/Eigen/Eigen/src/Core/products/GeneralMatrixVector_MKL.h, + src/other/Eigen/Eigen/src/Core/products/Parallelizer.h, + src/other/Eigen/Eigen/src/Core/products/SelfadjointMatrixMatrix.h, + src/other/Eigen/Eigen/src/Core/products/SelfadjointMatrixMatrix_MKL.h, + src/other/Eigen/Eigen/src/Core/products/SelfadjointMatrixVector.h, + src/other/Eigen/Eigen/src/Core/products/SelfadjointMatrixVector_MKL.h, + src/other/Eigen/Eigen/src/Core/products/SelfadjointProduct.h, + src/other/Eigen/Eigen/src/Core/products/SelfadjointRank2Update.h, + src/other/Eigen/Eigen/src/Core/products/TriangularMatrixMatrix.h, + src/other/Eigen/Eigen/src/Core/products/TriangularMatrixMatrix_MKL.h, + src/other/Eigen/Eigen/src/Core/products/TriangularMatrixVector.h, + src/other/Eigen/Eigen/src/Core/products/TriangularMatrixVector_MKL.h, + src/other/Eigen/Eigen/src/Core/products/TriangularSolverMatrix.h, + src/other/Eigen/Eigen/src/Core/products/TriangularSolverMatrix_MKL.h, + src/other/Eigen/Eigen/src/Core/products/TriangularSolverVector.h, + src/other/Eigen/Eigen/src/Core/util, + src/other/Eigen/Eigen/src/Core/util/BlasUtil.h, + src/other/Eigen/Eigen/src/Core/util/CMakeLists.txt, + src/other/Eigen/Eigen/src/Core/util/Constants.h, + src/other/Eigen/Eigen/src/Core/util/DisableStupidWarnings.h, + src/other/Eigen/Eigen/src/Core/util/ForwardDeclarations.h, + src/other/Eigen/Eigen/src/Core/util/MKL_support.h, + src/other/Eigen/Eigen/src/Core/util/Macros.h, + src/other/Eigen/Eigen/src/Core/util/Memory.h, + src/other/Eigen/Eigen/src/Core/util/Meta.h, + src/other/Eigen/Eigen/src/Core/util/NonMPL2.h, + src/other/Eigen/Eigen/src/Core/util/ReenableStupidWarnings.h, + src/other/Eigen/Eigen/src/Core/util/StaticAssert.h, + src/other/Eigen/Eigen/src/Core/util/XprHelper.h, + src/other/Eigen/Eigen/src/Eigen2Support, + src/other/Eigen/Eigen/src/Eigen2Support/Block.h, + src/other/Eigen/Eigen/src/Eigen2Support/CMakeLists.txt, + src/other/Eigen/Eigen/src/Eigen2Support/Cwise.h, + src/other/Eigen/Eigen/src/Eigen2Support/CwiseOperators.h, + src/other/Eigen/Eigen/src/Eigen2Support/Geometry, + src/other/Eigen/Eigen/src/Eigen2Support/Geometry/AlignedBox.h, + src/other/Eigen/Eigen/src/Eigen2Support/Geometry/All.h, + src/other/Eigen/Eigen/src/Eigen2Support/Geometry/AngleAxis.h, + src/other/Eigen/Eigen/src/Eigen2Support/Geometry/CMakeLists.txt, + src/other/Eigen/Eigen/src/Eigen2Support/Geometry/Hyperplane.h, + src/other/Eigen/Eigen/src/Eigen2Support/Geometry/ParametrizedLine.h, + src/other/Eigen/Eigen/src/Eigen2Support/Geometry/Quaternion.h, + src/other/Eigen/Eigen/src/Eigen2Support/Geometry/Rotation2D.h, + src/other/Eigen/Eigen/src/Eigen2Support/Geometry/RotationBase.h, + src/other/Eigen/Eigen/src/Eigen2Support/Geometry/Scaling.h, + src/other/Eigen/Eigen/src/Eigen2Support/Geometry/Transform.h, + src/other/Eigen/Eigen/src/Eigen2Support/Geometry/Translation.h, + src/other/Eigen/Eigen/src/Eigen2Support/LU.h, + src/other/Eigen/Eigen/src/Eigen2Support/Lazy.h, + src/other/Eigen/Eigen/src/Eigen2Support/LeastSquares.h, + src/other/Eigen/Eigen/src/Eigen2Support/Macros.h, + src/other/Eigen/Eigen/src/Eigen2Support/MathFunctions.h, + src/other/Eigen/Eigen/src/Eigen2Support/Memory.h, + src/other/Eigen/Eigen/src/Eigen2Support/Meta.h, + src/other/Eigen/Eigen/src/Eigen2Support/Minor.h, + src/other/Eigen/Eigen/src/Eigen2Support/QR.h, + src/other/Eigen/Eigen/src/Eigen2Support/SVD.h, + src/other/Eigen/Eigen/src/Eigen2Support/TriangularSolver.h, + src/other/Eigen/Eigen/src/Eigen2Support/VectorBlock.h, + src/other/Eigen/Eigen/src/Eigenvalues, + src/other/Eigen/Eigen/src/Eigenvalues/CMakeLists.txt, + src/other/Eigen/Eigen/src/Eigenvalues/ComplexEigenSolver.h, + src/other/Eigen/Eigen/src/Eigenvalues/ComplexSchur.h, + src/other/Eigen/Eigen/src/Eigenvalues/ComplexSchur_MKL.h, + src/other/Eigen/Eigen/src/Eigenvalues/EigenSolver.h, + src/other/Eigen/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h, + src/other/Eigen/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h, + src/other/Eigen/Eigen/src/Eigenvalues/HessenbergDecomposition.h, + src/other/Eigen/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h, + src/other/Eigen/Eigen/src/Eigenvalues/RealQZ.h, + src/other/Eigen/Eigen/src/Eigenvalues/RealSchur.h, + src/other/Eigen/Eigen/src/Eigenvalues/RealSchur_MKL.h, + src/other/Eigen/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h, + src/other/Eigen/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_MKL.h, + src/other/Eigen/Eigen/src/Eigenvalues/Tridiagonalization.h, + src/other/Eigen/Eigen/src/Geometry, + src/other/Eigen/Eigen/src/Geometry/AlignedBox.h, + src/other/Eigen/Eigen/src/Geometry/AngleAxis.h, + src/other/Eigen/Eigen/src/Geometry/CMakeLists.txt, + src/other/Eigen/Eigen/src/Geometry/EulerAngles.h, + src/other/Eigen/Eigen/src/Geometry/Homogeneous.h, + src/other/Eigen/Eigen/src/Geometry/Hyperplane.h, + src/other/Eigen/Eigen/src/Geometry/OrthoMethods.h, + src/other/Eigen/Eigen/src/Geometry/ParametrizedLine.h, + src/other/Eigen/Eigen/src/Geometry/Quaternion.h, + src/other/Eigen/Eigen/src/Geometry/Rotation2D.h, + src/other/Eigen/Eigen/src/Geometry/RotationBase.h, + src/other/Eigen/Eigen/src/Geometry/Scaling.h, + src/other/Eigen/Eigen/src/Geometry/Transform.h, + src/other/Eigen/Eigen/src/Geometry/Translation.h, + src/other/Eigen/Eigen/src/Geometry/Umeyama.h, + src/other/Eigen/Eigen/src/Geometry/arch, + src/other/Eigen/Eigen/src/Geometry/arch/CMakeLists.txt, + src/other/Eigen/Eigen/src/Geometry/arch/Geometry_SSE.h, + src/other/Eigen/Eigen/src/Householder, + src/other/Eigen/Eigen/src/Householder/BlockHouseholder.h, + src/other/Eigen/Eigen/src/Householder/CMakeLists.txt, + src/other/Eigen/Eigen/src/Householder/Householder.h, + src/other/Eigen/Eigen/src/Householder/HouseholderSequence.h, + src/other/Eigen/Eigen/src/IterativeLinearSolvers, + src/other/Eigen/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h, + src/other/Eigen/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h, + src/other/Eigen/Eigen/src/IterativeLinearSolvers/CMakeLists.txt, + src/other/Eigen/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h, + src/other/Eigen/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h, + src/other/Eigen/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h, + src/other/Eigen/Eigen/src/Jacobi, + src/other/Eigen/Eigen/src/Jacobi/CMakeLists.txt, + src/other/Eigen/Eigen/src/Jacobi/Jacobi.h, + src/other/Eigen/Eigen/src/LU, + src/other/Eigen/Eigen/src/LU/CMakeLists.txt, + src/other/Eigen/Eigen/src/LU/Determinant.h, + src/other/Eigen/Eigen/src/LU/FullPivLU.h, + src/other/Eigen/Eigen/src/LU/Inverse.h, + src/other/Eigen/Eigen/src/LU/PartialPivLU.h, + src/other/Eigen/Eigen/src/LU/PartialPivLU_MKL.h, + src/other/Eigen/Eigen/src/LU/arch, + src/other/Eigen/Eigen/src/LU/arch/CMakeLists.txt, + src/other/Eigen/Eigen/src/LU/arch/Inverse_SSE.h, + src/other/Eigen/Eigen/src/MetisSupport, + src/other/Eigen/Eigen/src/MetisSupport/CMakeLists.txt, + src/other/Eigen/Eigen/src/MetisSupport/MetisSupport.h, + src/other/Eigen/Eigen/src/OrderingMethods, + src/other/Eigen/Eigen/src/OrderingMethods/Amd.h, + src/other/Eigen/Eigen/src/OrderingMethods/CMakeLists.txt, + src/other/Eigen/Eigen/src/OrderingMethods/Eigen_Colamd.h, + src/other/Eigen/Eigen/src/OrderingMethods/Ordering.h, + src/other/Eigen/Eigen/src/PaStiXSupport, + src/other/Eigen/Eigen/src/PaStiXSupport/CMakeLists.txt, + src/other/Eigen/Eigen/src/PaStiXSupport/PaStiXSupport.h, + src/other/Eigen/Eigen/src/PardisoSupport, + src/other/Eigen/Eigen/src/PardisoSupport/CMakeLists.txt, + src/other/Eigen/Eigen/src/PardisoSupport/PardisoSupport.h, + src/other/Eigen/Eigen/src/QR, + src/other/Eigen/Eigen/src/QR/CMakeLists.txt, + src/other/Eigen/Eigen/src/QR/ColPivHouseholderQR.h, + src/other/Eigen/Eigen/src/QR/ColPivHouseholderQR_MKL.h, + src/other/Eigen/Eigen/src/QR/FullPivHouseholderQR.h, + src/other/Eigen/Eigen/src/QR/HouseholderQR.h, + src/other/Eigen/Eigen/src/QR/HouseholderQR_MKL.h, + src/other/Eigen/Eigen/src/SVD, + src/other/Eigen/Eigen/src/SVD/CMakeLists.txt, + src/other/Eigen/Eigen/src/SVD/JacobiSVD.h, + src/other/Eigen/Eigen/src/SVD/JacobiSVD_MKL.h, + src/other/Eigen/Eigen/src/SVD/UpperBidiagonalization.h, + src/other/Eigen/Eigen/src/SparseCholesky, + src/other/Eigen/Eigen/src/SparseCholesky/CMakeLists.txt, + src/other/Eigen/Eigen/src/SparseCholesky/SimplicialCholesky.h, + src/other/Eigen/Eigen/src/SparseCore, + src/other/Eigen/Eigen/src/SparseCore/AmbiVector.h, + src/other/Eigen/Eigen/src/SparseCore/CMakeLists.txt, + src/other/Eigen/Eigen/src/SparseCore/CompressedStorage.h, + src/other/Eigen/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h, + src/other/Eigen/Eigen/src/SparseCore/CoreIterators.h, + src/other/Eigen/Eigen/src/SparseCore/MappedSparseMatrix.h, + src/other/Eigen/Eigen/src/SparseCore/SparseAssign.h, + src/other/Eigen/Eigen/src/SparseCore/SparseBlock.h, + src/other/Eigen/Eigen/src/SparseCore/SparseCwiseBinaryOp.h, + src/other/Eigen/Eigen/src/SparseCore/SparseCwiseUnaryOp.h, + src/other/Eigen/Eigen/src/SparseCore/SparseDenseProduct.h, + src/other/Eigen/Eigen/src/SparseCore/SparseDiagonalProduct.h, + src/other/Eigen/Eigen/src/SparseCore/SparseDot.h, + src/other/Eigen/Eigen/src/SparseCore/SparseFuzzy.h, + src/other/Eigen/Eigen/src/SparseCore/SparseMatrix.h, + src/other/Eigen/Eigen/src/SparseCore/SparseMatrixBase.h, + src/other/Eigen/Eigen/src/SparseCore/SparsePermutation.h, + src/other/Eigen/Eigen/src/SparseCore/SparseProduct.h, + src/other/Eigen/Eigen/src/SparseCore/SparseRedux.h, + src/other/Eigen/Eigen/src/SparseCore/SparseSelfAdjointView.h, + src/other/Eigen/Eigen/src/SparseCore/SparseSparseProductWithPruning.h, + src/other/Eigen/Eigen/src/SparseCore/SparseTranspose.h, + src/other/Eigen/Eigen/src/SparseCore/SparseTriangularView.h, + src/other/Eigen/Eigen/src/SparseCore/SparseUtil.h, + src/other/Eigen/Eigen/src/SparseCore/SparseVector.h, + src/other/Eigen/Eigen/src/SparseCore/SparseView.h, + src/other/Eigen/Eigen/src/SparseCore/TriangularSolver.h, + src/other/Eigen/Eigen/src/SparseLU, + src/other/Eigen/Eigen/src/SparseLU/CMakeLists.txt, + src/other/Eigen/Eigen/src/SparseLU/SparseLU.h, + src/other/Eigen/Eigen/src/SparseLU/SparseLUBase.h, + src/other/Eigen/Eigen/src/SparseLU/SparseLU_Coletree.h, + src/other/Eigen/Eigen/src/SparseLU/SparseLU_Matrix.h, + src/other/Eigen/Eigen/src/SparseLU/SparseLU_Memory.h, + src/other/Eigen/Eigen/src/SparseLU/SparseLU_Structs.h, + src/other/Eigen/Eigen/src/SparseLU/SparseLU_Utils.h, + src/other/Eigen/Eigen/src/SparseLU/SparseLU_column_bmod.h, + src/other/Eigen/Eigen/src/SparseLU/SparseLU_column_dfs.h, + src/other/Eigen/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h, + src/other/Eigen/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h, + src/other/Eigen/Eigen/src/SparseLU/SparseLU_kernel_bmod.h, + src/other/Eigen/Eigen/src/SparseLU/SparseLU_panel_bmod.h, + src/other/Eigen/Eigen/src/SparseLU/SparseLU_panel_dfs.h, + src/other/Eigen/Eigen/src/SparseLU/SparseLU_pivotL.h, + src/other/Eigen/Eigen/src/SparseLU/SparseLU_pruneL.h, + src/other/Eigen/Eigen/src/SparseLU/SparseLU_relax_snode.h, + src/other/Eigen/Eigen/src/SparseLU/SparseLU_snode_bmod.h, + src/other/Eigen/Eigen/src/SparseLU/SparseLU_snode_dfs.h, + src/other/Eigen/Eigen/src/StlSupport, + src/other/Eigen/Eigen/src/StlSupport/CMakeLists.txt, + src/other/Eigen/Eigen/src/StlSupport/StdDeque.h, + src/other/Eigen/Eigen/src/StlSupport/StdList.h, + src/other/Eigen/Eigen/src/StlSupport/StdVector.h, + src/other/Eigen/Eigen/src/StlSupport/details.h, + src/other/Eigen/Eigen/src/SuperLUSupport, + src/other/Eigen/Eigen/src/SuperLUSupport/CMakeLists.txt, + src/other/Eigen/Eigen/src/SuperLUSupport/SuperLUSupport.h, + src/other/Eigen/Eigen/src/UmfPackSupport, + src/other/Eigen/Eigen/src/UmfPackSupport/CMakeLists.txt, + src/other/Eigen/Eigen/src/UmfPackSupport/UmfPackSupport.h, + src/other/Eigen/Eigen/src/misc, + src/other/Eigen/Eigen/src/misc/CMakeLists.txt, + src/other/Eigen/Eigen/src/misc/Image.h, + src/other/Eigen/Eigen/src/misc/Kernel.h, + src/other/Eigen/Eigen/src/misc/Solve.h, + src/other/Eigen/Eigen/src/misc/SparseSolve.h, + src/other/Eigen/Eigen/src/misc/blas.h, + src/other/Eigen/Eigen/src/plugins, + src/other/Eigen/Eigen/src/plugins/ArrayCwiseBinaryOps.h, + src/other/Eigen/Eigen/src/plugins/ArrayCwiseUnaryOps.h, + src/other/Eigen/Eigen/src/plugins/BlockMethods.h, + src/other/Eigen/Eigen/src/plugins/CMakeLists.txt, + src/other/Eigen/Eigen/src/plugins/CommonCwiseBinaryOps.h, + src/other/Eigen/Eigen/src/plugins/CommonCwiseUnaryOps.h, + src/other/Eigen/Eigen/src/plugins/MatrixCwiseBinaryOps.h, + src/other/Eigen/Eigen/src/plugins/MatrixCwiseUnaryOps.h, + src/other/Eigen/INSTALL, src/other/Eigen/VERSION, + src/other/Makefile.am: + Add Eigen linear algebra header library from eigen.tuxfamily.org + - needed for openNURBS fitting code. Will eventually replace + jama/tnt. + +2012-10-23 21:05 carlmoore + + * [r53277] src/libged/clone.c: + fix spellings + +2012-10-23 21:02 carlmoore + + * [r53276] src/libged/summary.c: + oops, another change: change eg to e.g.) + +2012-10-23 21:01 carlmoore + + * [r53275] src/libged/summary.c: + fix spelling + +2012-10-23 20:58 carlmoore + + * [r53274] src/libged/joint.c: + oops, found ft_parms declared in another file, so revert + ft_params + +2012-10-23 20:56 carlmoore + + * [r53273] src/libged/joint.h: + fix spelling + +2012-10-23 20:54 carlmoore + + * [r53272] src/libged/joint.c: + change Ok to OK and parms to params (OK?) + +2012-10-23 20:50 carlmoore + + * [r53271] src/liboptical/sh_cook.c: + fix spellings + +2012-10-22 21:04 carlmoore + + * [r53270] src/proc-db/metaballs.pl: + fix spelling + +2012-10-22 21:03 bob1961 + + * [r53269] src/tclscripts/archer/BotEditFrame.tcl: + This is the next installment of Bot editing functionality in + Archer. Added the following methods: botEdgesSelectCallback, + botFacesSelectCallback, botPointsSelectCallback, + multiEdgeSelectCallback, multiFaceSelectCallback, + multiPointSelectCallback, selectCurrentBotPoints, + syncTablesWrtPoints, syncTablesWrtEdges and syncTablesWrtFaces. + +2012-10-22 21:03 carlmoore + + * [r53268] src/proc-db/metaball.c: + fix spelling + +2012-10-22 21:01 carlmoore + + * [r53267] src/proc-db/surfaceintersect.cpp: + fix spellings + +2012-10-22 20:59 carlmoore + + * [r53266] src/proc-db/pipetest.c: + fix spelling + +2012-10-22 20:57 carlmoore + + * [r53265] src/proc-db/masonry.c: + fix spellings + +2012-10-22 20:55 carlmoore + + * [r53264] src/proc-db/surfaceintersect.h: + fix spelling + +2012-10-22 20:54 carlmoore + + * [r53263] src/proc-db/vegetation.h: + fix spellings + +2012-10-22 20:52 carlmoore + + * [r53262] src/proc-db/vegetation.c: + fix spellings + +2012-10-22 20:00 carlmoore + + * [r53261] src/libicv/rot.c: + fix spellings (including 'outbyte' in bu_log references) + +2012-10-22 19:50 carlmoore + + * [r53260] src/libsysv/strtok.c: + fix spelling + +2012-10-22 19:49 carlmoore + + * [r53259] src/tab/scriptsort.1: + fix spelling + +2012-10-22 16:27 carlmoore + + * [r53258] src/tab/tabinterp.c: + fix spellings + +2012-10-22 16:26 carlmoore + + * [r53257] src/tab/script-tab.c: + fix spelling + +2012-10-22 16:24 carlmoore + + * [r53256] src/tab/tabinterp.1: + fix spellings + +2012-10-19 21:30 carlmoore + + * [r53255] src/liborle/liborle.3: + fix spelling + +2012-10-19 21:25 carlmoore + + * [r53254] src/libgcv/wfobj/tri_face.c: + fix spelling + +2012-10-19 21:24 carlmoore + + * [r53253] src/libgcv/wfobj/obj_parser_state.h: + fix spelling + +2012-10-19 21:22 carlmoore + + * [r53252] src/libgcv/wfobj/obj_parser.h: + fix spellings + +2012-10-19 21:19 carlmoore + + * [r53251] src/libgcv/wfobj/obj_grammar.yy: + fix spelling + +2012-10-19 20:19 carlmoore + + * [r53250] src/remrt/remrt.1: + fix spelling + +2012-10-19 20:18 carlmoore + + * [r53249] src/remrt/ihost.c: + fix spelling + +2012-10-19 20:16 carlmoore + + * [r53248] src/remrt/rtsrv.c: + fix spelling and change eg to e.g. + +2012-10-19 19:48 carlmoore + + * [r53247] src/archer/plugins/Wizards/tankwizard/TankWizard.tcl: + fix spelling + +2012-10-19 19:39 carlmoore + + * [r53246] src/bwish/CMakeLists.txt: + fix spelling + +2012-10-19 19:28 carlmoore + + * [r53245] src/rttherm/viewtherm.c: + change eg to e.g., and fix a spelling + +2012-10-19 19:27 carlmoore + + * [r53244] src/rttherm/ssampview.c: + fix spelling + +2012-10-19 15:51 carlmoore + + * [r53243] src/sig/interp.c: + fix spelling + +2012-10-19 15:21 carlmoore + + * [r53242] src/gtools/beset/Makefile.am: + fix FLAGS spelling + +2012-10-19 15:18 carlmoore + + * [r53241] src/libwdb/pipe.c: + fix a spelling, and change ie & eg to i.e. and e.g. + +2012-10-19 15:15 carlmoore + + * [r53240] src/libwdb/libwdb.3: + fix spelling, and change ie & eg to i.e. & e.g. + +2012-10-19 15:12 carlmoore + + * [r53239] src/libwdb/wdb.c: + change eg to e.g., and fix spellings + +2012-10-19 15:10 carlmoore + + * [r53238] src/libwdb/ebm.c: + fix spelling + +2012-10-19 15:09 carlmoore + + * [r53237] src/libwdb/vol.c: + fix spelling + +2012-10-19 14:58 carlmoore + + * [r53236] src/libwdb/dynamic_geometry.c: + oops, fixed an overlooked spelling + +2012-10-19 14:57 carlmoore + + * [r53235] src/libwdb/dynamic_geometry.c: + fix spellings + +2012-10-19 14:41 brlcad + + * [r53234] BUGS: + report from Gurmeet Singh of g-iges crashing + +2012-10-19 10:59 bob1961 + + * [r53233] src/tclscripts/lib/TkTable.tcl: + Updates for TkTable. Added the following methods: + getSelectedRows, selectRow, unselectAllRows. Added a + -multiSelectCallback option. + +2012-10-18 21:32 n_reed + + * [r53232] src/librt/primitives/tgc/tgc.c: + change method for choosing number of plot points + +2012-10-18 21:26 carlmoore + + * [r53231] src/librtserver/rtserver.c: + fix spelling + +2012-10-18 21:21 carlmoore + + * [r53230] src/gtools/beset/population.c: + fix spellings + +2012-10-18 21:16 carlmoore + + * [r53229] src/librtserver/rtserver.c: + fix spelling, and change c to C in a comment + +2012-10-18 21:04 carlmoore + + * [r53228] src/gtools/g_transfer.c: + fix spelling + +2012-10-18 21:03 carlmoore + + * [r53227] src/gtools/beset/beset.c: + fix spelling + +2012-10-18 20:56 carlmoore + + * [r53226] src/libdm/dm-rtgl.c: + remove extra H from THRESHHOLD + +2012-10-18 19:30 carlmoore + + * [r53225] src/libdm/dm-rtgl.c: + change ie to i.e. + +2012-10-18 19:29 carlmoore + + * [r53224] src/gtools/remapid.c: + fix spelling + +2012-10-18 19:28 carlmoore + + * [r53223] src/gtools/g_diff.c: + fix 'table entries' + +2012-10-18 19:21 carlmoore + + * [r53222] src/tclscripts/mged/edit_menu.tcl: + fix spelling of 'threshold' + +2012-10-18 17:59 carlmoore + + * [r53221] src/gtools/beset/fitness.c: + fix spellings + +2012-10-18 17:46 n_reed + + * [r53220] src/rt/view.c: + remove noisy print statement (ostensibly for debugging) showing + up during rt diffuse-only rendering + +2012-10-18 15:57 carlmoore + + * [r53219] src/shapes/fence.h: + startpostion --> startposition + +2012-10-18 15:21 carlmoore + + * [r53218] src/rt/viewdummy.c: + fix spellings + +2012-10-18 15:20 carlmoore + + * [r53217] src/rt/main.c: + fix spelling + +2012-10-18 15:19 carlmoore + + * [r53216] src/rt/rtshot.c: + fix spelling and did not overlook the \t + +2012-10-18 15:18 carlmoore + + * [r53215] src/rt/viewsil.c: + fix spellings + +2012-10-18 15:17 carlmoore + + * [r53214] src/rt/rtray.1: + fix spelling and change ie to i.e. + +2012-10-18 15:16 carlmoore + + * [r53213] src/rt/view.c: + change eg to e.g., and fix spellings + +2012-10-18 15:14 carlmoore + + * [r53212] src/rt/worker.c: + fix spelling + +2012-10-18 15:12 carlmoore + + * [r53211] src/rt/viewcheck.c: + fix spelling + +2012-10-18 15:11 carlmoore + + * [r53210] src/rt/viewfrac.c: + fix spellings + +2012-10-18 15:07 carlmoore + + * [r53209] src/rt/viewg3.c: + fix spellings (etc.), and change ie to i.e. + +2012-10-18 15:03 carlmoore + + * [r53208] src/rt/heatgraph.c: + fix spelling + +2012-10-18 15:02 carlmoore + + * [r53207] src/rt/do.c: + change ie to i.e. + +2012-10-18 15:00 carlmoore + + * [r53206] src/rt/reshoot.1: + fix spellings and add blank in 'at the' + +2012-10-18 14:59 carlmoore + + * [r53205] src/rt/read-rtlog.c: + fix spellings + +2012-10-18 14:58 carlmoore + + * [r53204] src/rt/rtuif.h: + oops, 2nd commit due to fixing another spelling + +2012-10-18 14:57 carlmoore + + * [r53203] src/rt/rtuif.h: + fix spellings + +2012-10-18 14:55 carlmoore + + * [r53202] src/rt/rthide.1: + fix spellings + +2012-10-18 14:54 carlmoore + + * [r53201] src/rt/rtregis.1: + fix spelling + +2012-10-18 14:53 carlmoore + + * [r53200] src/rt/rtscale.c: + fix spellings and remove an extra blank + +2012-10-18 14:51 carlmoore + + * [r53199] src/rt/viewrange.c: + fix spellings + +2012-10-18 14:50 carlmoore + + * [r53198] src/rt/viewscat.c: + fix spelling and comment off 'cemant' declaration + +2012-10-17 21:48 carlmoore + + * [r53197] src/rt/reshoot.c: + fix spellings + +2012-10-17 21:47 carlmoore + + * [r53196] src/rt/rtwalk.1: + change eg to e.g. + +2012-10-17 21:46 carlmoore + + * [r53195] src/rt/rtrange.1: + fix spelling + +2012-10-17 21:45 carlmoore + + * [r53194] src/rt/rtregis.c: + fix spellings and change ie to i.e. + +2012-10-17 21:42 carlmoore + + * [r53193] src/rt/rtweight.1: + fix spellings + +2012-10-17 21:41 carlmoore + + * [r53192] src/rt/viewhide.c: + fix spelling, change i(stance) to i(nstance), and remove trailing + d from 'calculated' + +2012-10-17 21:19 carlmoore + + * [r53191] src/rt/viewarea.c: + fix spelling + +2012-10-17 21:08 n_reed + + * [r53190] src/librt/primitives/eto/eto.c: + plot circular contour curves + +2012-10-17 20:57 carlmoore + + * [r53189] src/rt/rtshot.1: + fix spelling + +2012-10-17 20:57 carlmoore + + * [r53188] src/rt/viewedge.c: + fix spelling + +2012-10-17 20:57 brlcad + + * [r53187] src/libbu/units.c: + document the units_name_matches() function and make the unit + tables static + +2012-10-17 20:48 brlcad + + * [r53186] src/libbu/units.c: + move the 'optimization' up into units_name_matches() but make it + still be consistent by comparing lowercase and skipping (leading) + spaces + +2012-10-17 20:44 brlcad + + * [r53185] src/libbu/units.c: + no longer need to trim the 's' here since units_name_matches() + does it for us + +2012-10-17 20:42 brlcad + + * [r53184] src/libbu/units.c: + trim any trailing 's' so we can match regardless of input + plurality + +2012-10-17 20:17 brlcad + + * [r53183] src/libbu/units.c: + no lnoger need to compare entries that merely differ by interior + whitespace + +2012-10-17 20:10 brlcad + + * [r53182] src/libbu/units.c: + no longer need to convert to lowercase here since + units_name_matches() does it for us. + +2012-10-17 20:07 brlcad + + * [r53181] src/libbu/units.c: + convert the inputs to lowercase with no spaces for comparison + +2012-10-17 19:32 brlcad + + * [r53180] src/libbu/units.c: + create a units_name_matches() function so we can get a little + better at name matching and do so in one place + +2012-10-17 19:06 n_reed + + * [r53179] src/librt/primitives/eto/eto.c: + add plotting of elliptical cross sections to eto based on tor + +2012-10-17 18:25 carlmoore + + * [r53178] src/shapes/fence.h: + fix spellings + +2012-10-17 18:22 carlmoore + + * [r53177] src/shapes/fence.c: + fix spelling (and add a missing period) + +2012-10-17 18:19 carlmoore + + * [r53176] src/shapes/picket_fence.c: + fix spelling + +2012-10-17 18:17 carlmoore + + * [r53175] src/mged/bodyio.c: + fix spelling + +2012-10-17 18:16 carlmoore + + * [r53174] src/mged/cad_boundp.c: + fix spelling + +2012-10-17 18:13 carlmoore + + * [r53173] src/mged/buttons.c: + change eg to e.g. + +2012-10-17 18:12 carlmoore + + * [r53172] src/mged/dodraw.c: + fix spelling + +2012-10-17 18:09 carlmoore + + * [r53171] src/mged/menu.h: + fix spelling + +2012-10-17 18:07 carlmoore + + * [r53170] src/mged/rtif.c: + fix spellings + +2012-10-17 18:00 carlmoore + + * [r53169] src/librt/primitives/tor/tor.c: + remove trailing blanks, and fix 'standard' + +2012-10-17 16:07 carlmoore + + * [r53168] src/libbu/htond.3: + change ie to i.e., and fix spelling + +2012-10-17 16:06 carlmoore + + * [r53167] src/libbu/parallel.c: + fix spelling and change eg to e.g. + +2012-10-17 16:05 carlmoore + + * [r53166] src/libbu/rb_extreme.c: + fix spelling + +2012-10-17 16:04 carlmoore + + * [r53165] src/libbu/parse.c: + fix spelling + +2012-10-17 16:04 carlmoore + + * [r53164] src/libbu/mappedfile.c: + fix spellings + +2012-10-17 16:03 carlmoore + + * [r53163] src/libbu/semaphore.c: + fix spelling + +2012-10-17 16:01 carlmoore + + * [r53162] src/libbu/tests/bu_redblack.c: + change AN INEXISTENT to A NONEXISTENT (right?) + +2012-10-17 16:00 carlmoore + + * [r53161] src/libbu/tests/bu_sscanf.c: + fix spellings + +2012-10-17 15:59 carlmoore + + * [r53160] src/libbu/sscanf.c: + fix spelling + +2012-10-17 15:58 carlmoore + + * [r53159] src/libbu/vls_vprintf.c: + fix spellings + +2012-10-17 15:56 carlmoore + + * [r53158] src/libbu/rb_order_stats.c: + fix spelling + +2012-10-17 15:54 carlmoore + + * [r53157] src/libbu/uce-dirent.h: + fix spellings (including refering-->referencing, and + rewinndir-->rewinddir in comment) + +2012-10-17 15:51 carlmoore + + * [r53156] src/libbu/units.c: + fix spellings + +2012-10-17 15:49 carlmoore + + * [r53155] src/libbu/argv.c: + fix 'at least' + +2012-10-17 15:48 carlmoore + + * [r53154] src/libbu/pool.c: + fix spelling + +2012-10-17 15:46 carlmoore + + * [r53153] src/libbu/hist.c: + fix spelling + +2012-10-17 15:42 carlmoore + + * [r53152] src/libbu/rb_internals.h: + fix spelling + +2012-10-17 15:30 carlmoore + + * [r53151] src/libbu/hash.c: + fix spelling + +2012-10-17 15:05 n_reed + + * [r53150] src/librt/primitives/eto/eto.c, + src/librt/primitives/table.c: + stub eto adaptive plot routine + +2012-10-16 21:50 carlmoore + + * [r53149] src/lgt/lgt.h: + fix spelling + +2012-10-16 21:48 carlmoore + + * [r53148] src/lgt/hmenu.h: + fix spelling + +2012-10-16 21:42 carlmoore + + * [r53147] src/lgt/do_options.c: + put in space in 'at least' + +2012-10-16 21:18 carlmoore + + * [r53146] src/halftone/main.c: + oops, fix another spelling + +2012-10-16 21:16 carlmoore + + * [r53145] src/halftone/tonescale.c: + fix spellings (the 1st one is 'intensities', right?) + +2012-10-16 21:15 carlmoore + + * [r53144] src/halftone/tone_classic.c: + fix spelling + +2012-10-16 21:13 carlmoore + + * [r53143] src/halftone/main.c: + fix spellings (that's Steinburg and pixture-->picture, right?) + +2012-10-16 21:11 carlmoore + + * [r53142] src/halftone/sharpen.c: + fix spellings (2 on 1 line) + +2012-10-16 21:08 carlmoore + + * [r53141] src/halftone/tone_simple.c: + fix spelling + +2012-10-16 21:08 n_reed + + * [r53140] src/librt/primitives/eto/eto.c: + wrap eto validity checks and make more consistent (e.g. use one + length tolerance instead of three) + +2012-10-16 21:07 carlmoore + + * [r53139] src/halftone/halftone.1: + fix spellings and add a comma + +2012-10-16 20:48 carlmoore + + * [r53138] doc/deprecation.txt: + fix spelling + +2012-10-16 20:44 carlmoore + + * [r53137] src/conv/g-acad.1: + fix spelling + +2012-10-16 20:42 carlmoore + + * [r53136] src/conv/g-obj.1: + fix spelling + +2012-10-16 20:41 carlmoore + + * [r53135] src/conv/g-nff.1: + fix spelling + +2012-10-16 20:36 carlmoore + + * [r53134] src/libnurbs/opennurbs_ext.cpp: + fix spelling + +2012-10-16 20:32 carlmoore + + * [r53133] src/conv/step/SolidModel.cpp: + fix spelling + +2012-10-16 20:32 carlmoore + + * [r53132] src/conv/step/STEPWrapper.cpp: + fix spellings + +2012-10-16 20:31 carlmoore + + * [r53131] src/conv/step/Representation.cpp: + fix spelling + +2012-10-16 20:30 carlmoore + + * [r53130] src/conv/g-x3d.c: + fix spellings + +2012-10-16 20:30 carlmoore + + * [r53129] src/conv/tankill/g-tankill.1: + fix spelling + +2012-10-16 20:29 carlmoore + + * [r53128] src/conv/walk_example.c: + fix spelling + +2012-10-16 20:28 carlmoore + + * [r53127] src/conv/proe-g.1: + fix spelling + +2012-10-16 20:28 carlmoore + + * [r53126] src/conv/iges/getcurve.c: + fix spelling + +2012-10-16 20:27 carlmoore + + * [r53125] src/conv/iges/add_face.c: + fix spelling + +2012-10-16 20:27 carlmoore + + * [r53124] src/conv/iges/cone.c: + fix spelling + +2012-10-16 20:25 carlmoore + + * [r53123] src/conv/iges/iges_extern.h: + fix spelling + +2012-10-16 20:24 carlmoore + + * [r53122] src/conv/iges/makedir.c: + fix spellings + +2012-10-16 20:22 carlmoore + + * [r53121] src/conv/iges/add_face.cpp: + fix spelling + +2012-10-16 20:21 carlmoore + + * [r53120] src/conv/iges/iges_struct.h: + fix spellings + +2012-10-16 20:21 n_reed + + * [r53119] src/librt/primitives/tor/tor.c: + info parameter should be const + +2012-10-16 20:17 carlmoore + + * [r53118] src/conv/iges/iges.c: + fix spelling + +2012-10-16 20:16 carlmoore + + * [r53117] src/conv/iges/get_outer_shell.c: + fix spelling + +2012-10-16 20:15 carlmoore + + * [r53116] src/conv/iges/g-iges.c: + fix spellings + +2012-10-16 20:12 carlmoore + + * [r53115] src/conv/iges/do_subfigs.c: + fix spelling + +2012-10-16 20:11 carlmoore + + * [r53114] src/conv/iges/get_outer_shell.cpp: + fix spelling + +2012-10-16 20:11 carlmoore + + * [r53113] src/conv/iges/readcnv.c: + fix spelling + +2012-10-16 20:03 carlmoore + + * [r53112] src/conv/iges/revolve.c: + fix spelling + +2012-10-16 20:00 carlmoore + + * [r53111] src/conv/iges/trimsurf.c: + fix spellings (that is to be 'destroyed', right?) + +2012-10-16 19:59 carlmoore + + * [r53110] src/conv/iges/extrudcon.c: + fix spellings + +2012-10-16 19:58 carlmoore + + * [r53109] src/conv/iges/add_inner_shell.c: + fix spelling + +2012-10-16 19:57 carlmoore + + * [r53108] src/conv/nmg/nmg-bot.1: + fix spelling + +2012-10-16 19:55 carlmoore + + * [r53107] src/conv/dem-g.c: + fix spellings ('milimeters' fixed in COMMENTS only!) + +2012-10-16 19:52 carlmoore + + * [r53106] src/conv/asc/asc2g.c: + fix spellings + +2012-10-16 19:49 carlmoore + + * [r53105] src/conv/euclid/euclid-g.c: + fix spelling + +2012-10-16 19:47 n_reed + + * [r53104] src/librt/primitives/tor/tor.c: + fix macro expansion and translation errors + +2012-10-16 19:46 carlmoore + + * [r53103] src/conv/euclid/g-euclid.1: + fix spellings + +2012-10-16 19:38 carlmoore + + * [r53102] src/conv/euclid/euclid_unformat.c: + fix spelling + +2012-10-16 19:36 carlmoore + + * [r53101] src/conv/patch/patch-g.c: + fix spellings + +2012-10-16 19:33 carlmoore + + * [r53100] src/conv/patch/rpatch.c: + fix spellings + +2012-10-16 19:32 carlmoore + + * [r53099] src/conv/patch/patch-g.1: + fix spelling + +2012-10-16 19:31 carlmoore + + * [r53098] src/conv/comgeom/solid.c: + fix spelling + +2012-10-16 19:23 carlmoore + + * [r53097] src/conv/comgeom/region.c: + fix spelling + +2012-10-16 19:22 carlmoore + + * [r53096] src/conv/comgeom/mat.c: + fix spellings + +2012-10-16 19:21 carlmoore + + * [r53095] src/conv/dxf/dxf-g.c: + fix spelling + +2012-10-16 19:13 carlmoore + + * [r53094] src/conv/dxf/dxf-g.1: + fix spellings + +2012-10-16 19:11 carlmoore + + * [r53093] src/conv/cy-g.c: + fix spelling + +2012-10-16 18:08 carlmoore + + * [r53092] src/conv/obj-g.c: + fix spellings + +2012-10-16 18:07 carlmoore + + * [r53091] src/conv/g-nff.c: + fix spelling + +2012-10-16 17:52 carlmoore + + * [r53090] src/conv/enf-g.c: + fix spelling + +2012-10-16 17:46 carlmoore + + * [r53089] src/conv/nastran-g.c: + fix spelling + +2012-10-16 17:39 carlmoore + + * [r53088] src/conv/off/off-g.c: + fix spellings + +2012-10-16 17:38 carlmoore + + * [r53087] src/conv/bot_shell-vtk.c: + fix dirbuild spelling in error message + +2012-10-16 17:37 carlmoore + + * [r53086] src/conv/vdeck/vdeck.c: + fix spellings + +2012-10-16 17:36 carlmoore + + * [r53085] src/conv/vdeck/cgarbs.c: + fix spelling + +2012-10-16 17:27 n_reed + + * [r53084] src/librt/primitives/tor/tor.c: + plot radial cross sections + +2012-10-16 16:55 n_reed + + * [r53083] src/librt/primitives/tor/tor.c: + stash some calculations to clean things up + +2012-10-16 16:43 carlmoore + + * [r53082] src/conv/g-xxx.c: + fix spelling + +2012-10-16 16:25 carlmoore + + * [r53081] src/conv/g-dot.c: + fix spelling of Graphviz in a comment + +2012-10-16 16:24 carlmoore + + * [r53080] src/librt/primitives/nmg/nmg_inter.c: + remove trailing blank or tab + +2012-10-16 16:22 carlmoore + + * [r53079] src/librt/test_subdivision.cpp: + remove trailing blanks/tabs + +2012-10-16 16:13 carlmoore + + * [r53078] src/conv/g-vrml.c: + fix spellings + +2012-10-16 16:12 carlmoore + + * [r53077] src/conv/g-egg.1: + fix spelling + +2012-10-16 16:11 carlmoore + + * [r53076] src/conv/g-acad.1: + fix spelling + +2012-10-16 16:00 carlmoore + + * [r53075] src/conv/proe-g.c: + fix spellings (notice Convet --> Convert) + +2012-10-16 15:58 carlmoore + + * [r53074] src/conv/g-shell-rect.c: + fix spelling of 'dirbuild' in an error message + +2012-10-16 15:57 carlmoore + + * [r53073] src/conv/stl/stl-g.c: + fix spellings + +2012-10-16 15:56 carlmoore + + * [r53072] src/conv/stl/g-stl.1: + fix spelling + +2012-10-16 15:53 carlmoore + + * [r53071] src/conv/g-obj.1: + fix spelling + +2012-10-16 15:50 n_reed + + * [r53070] src/librt/primitives/tor/tor.c: + draw parallel bounding curves + +2012-10-16 15:48 carlmoore + + * [r53069] src/conv/g-nff.1: + fix spelling + +2012-10-16 15:40 carlmoore + + * [r53068] src/conv/enf-g.1: + fix spelling + +2012-10-16 15:31 carlmoore + + * [r53067] src/conv/shp/shapelib/shpopen.c: + fix spellings + +2012-10-16 15:30 carlmoore + + * [r53066] src/librt/primitives/rhc/rhc.c: + change ie to i.e. + +2012-10-16 15:29 carlmoore + + * [r53065] src/conv/shp/shapelib/shapefil.h: + fix spelling + +2012-10-16 15:20 carlmoore + + * [r53064] src/conv/conv-vg2g.c: + fix spellings + +2012-10-16 15:07 n_reed + + * [r53063] src/librt/primitives/tor/tor.c: + plot some circular contours + +2012-10-16 14:53 carlmoore + + * [r53062] src/conv/fast4-g.c: + fix spellings (notice inclusion of COMPSPLT) + +2012-10-16 14:27 n_reed + + * [r53061] src/librt/primitives/table.c, + src/librt/primitives/tor/tor.c: + stub tor adaptive plot routine + +2012-10-16 14:24 n_reed + + * [r53060] src/librt/primitives/ehy/ehy.c: + have ehy use generic ellipse plotting + +2012-10-16 14:19 n_reed + + * [r53059] src/librt/primitives/epa/epa.c: + have epa use generic ellipse plotting + +2012-10-16 14:13 n_reed + + * [r53058] src/librt/primitives/tgc/tgc.c: + have tgc use generic ellipse plotting + +2012-10-16 14:11 n_reed + + * [r53057] src/librt/librt_private.h, + src/librt/primitives/primitive_util.c: + expose helper routine and rename parameters + +2012-10-16 13:53 n_reed + + * [r53056] src/librt/primitives/ell/ell.c: + have ell use generic ellipse plotting + +2012-10-16 13:48 n_reed + + * [r53055] src/librt/librt_private.h, + src/librt/primitives/primitive_util.c: + add general ellipse plotting routine + +2012-10-16 13:21 n_reed + + * [r53054] src/librt/cut.c: + comment a comment to avoid syntax warning + +2012-10-15 22:21 bob1961 + + * [r53053] src/tclscripts/archer/BotEditFrame.tcl, + src/tclscripts/lib/Ged.tcl: + Added a "Select Edge" edit mode and a "Bot Edges" table to the + Bot edit panel. + +2012-10-15 22:17 bob1961 + + * [r53052] src/librt/primitives/bot/bot.c: + Added rt_bot_get_edge_list() and ged_get_bot_edges(). Expose via + libtclcad. + +2012-10-15 22:16 bob1961 + + * [r53051] include/ged.h, include/raytrace.h, src/libged/edbot.c, + src/libtclcad/tclcad_obj.c: + Added rt_bot_get_edge_list() and ged_get_bot_edges(). Expose via + libtclcad. + +2012-10-15 18:09 carlmoore + + * [r53050] src/librt/primitives/ebm/ebm.c: + fix spelling + +2012-10-15 18:08 carlmoore + + * [r53049] src/librt/primitives/dsp/dsp_brep.cpp: + fix spelling + +2012-10-15 18:07 carlmoore + + * [r53048] src/librt/primitives/sketch/sketch_brep.cpp: + fix spelling + +2012-10-15 18:06 carlmoore + + * [r53047] src/librt/primitives/sketch/sketch_tess.cpp: + change ie to i.e. + +2012-10-15 18:05 carlmoore + + * [r53046] src/librt/primitives/nmg/nmg_tri.c: + fix spellings + +2012-10-15 18:03 carlmoore + + * [r53045] src/librt/primitives/tgc/tgc.c: + fix spelling + +2012-10-15 18:02 carlmoore + + * [r53044] src/librt/primitives/arb8/arb8.c: + change ie to i.e. + +2012-10-15 18:01 carlmoore + + * [r53043] src/librt/primitives/superell/superell.c: + supply missing period in i.e. + +2012-10-15 18:00 carlmoore + + * [r53042] src/librt/primitives/cline/cline.c: + fix spelling + +2012-10-15 17:58 carlmoore + + * [r53041] src/librt/primitives/sph/sph.c: + fix spellings + +2012-10-15 17:56 carlmoore + + * [r53040] src/librt/primitives/eto/eto.c: + change ie to i.e. + +2012-10-15 17:08 n_reed + + * [r53039] src/librt/primitives/rhc/rhc.c, + src/librt/primitives/table.c: + add rhc adaptive plot routine based on rpc and ehy + implementations + +2012-10-15 16:56 n_reed + + * [r53038] src/librt/primitives/rhc/rhc.c: + wrap rhc validity checks + +2012-10-15 16:42 carlmoore + + * [r53037] src/librt/comb/comb.c: + fix spellings (including nmatrices in a comment) + +2012-10-15 16:33 carlmoore + + * [r53036] src/librt/cut.c: + insert apostrophe and fix spellings + +2012-10-15 16:31 carlmoore + + * [r53035] src/librt/db_open.c: + fix spellings + +2012-10-15 16:29 carlmoore + + * [r53034] src/librt/prep.c: + fix spellings and change eg to e.g. + +2012-10-15 16:27 carlmoore + + * [r53033] src/librt/search.c: + fix spellings + +2012-10-15 16:26 carlmoore + + * [r53032] src/librt/cmd.c: + fix spelling + +2012-10-15 16:12 carlmoore + + * [r53031] src/librt/dspline.c: + fix spelling + +2012-10-15 16:10 carlmoore + + * [r53030] src/librt/bool.c: + change Eg to E.g., and fix spellings + +2012-10-15 16:09 carlmoore + + * [r53029] src/librt/bbox.c: + fix spelling + +2012-10-15 13:49 starseeker + + * [r53028] src/librt/test_subdivision.cpp: + Move plotting debug code outside of main iterate function + +2012-10-13 00:04 n_reed + + * [r53027] src/librt/primitives/rpc/rpc.c: + plot rectangular face of rpc + +2012-10-12 21:54 carlmoore + + * [r53026] src/librt/nurb_example.c: + fix spelling + +2012-10-12 21:49 carlmoore + + * [r53025] src/librt/bundle.c: + change ie to i.e., and fix spellings + +2012-10-12 21:47 carlmoore + + * [r53024] src/librt/db_tree.c: + fix spellings + +2012-10-12 21:41 carlmoore + + * [r53023] src/librt/db_corrupt.c: + fix spelling + +2012-10-12 21:37 carlmoore + + * [r53022] src/librt/db5_io.c: + change 'initted' to 'inited' for consistency with another file's + comments + +2012-10-12 21:36 carlmoore + + * [r53021] src/librt/memalloc.c: + fix spellings + +2012-10-12 21:33 carlmoore + + * [r53020] src/librt/uvpoints.cpp: + fix spelling + +2012-10-12 21:32 carlmoore + + * [r53019] src/librt/tcl.c: + fix spellings + +2012-10-12 21:27 carlmoore + + * [r53018] src/librt/mater.c: + change ie to i.e., and fix spellings + +2012-10-12 21:25 carlmoore + + * [r53017] src/librt/roots.c: + fix spelling + +2012-10-12 21:23 carlmoore + + * [r53016] src/librt/db_match.c: + fix spelling + +2012-10-12 21:18 carlmoore + + * [r53015] src/librt/tree.c: + fix spellings + +2012-10-12 21:16 carlmoore + + * [r53014] src/librt/librt.3: + fix spellings + +2012-10-12 21:16 starseeker + + * [r53013] src/librt/test_subdivision.cpp: + Use the limit points to construct the final BoT when subdividing. + +2012-10-12 21:14 carlmoore + + * [r53012] src/librt/fortray.c: + change eg to e.g. + +2012-10-12 21:12 carlmoore + + * [r53011] src/librt/db_fullpath.c: + fix spelling + +2012-10-12 21:11 carlmoore + + * [r53010] src/librt/vshoot.c: + fix spellings + +2012-10-12 21:10 carlmoore + + * [r53009] src/librt/librt_private.h: + fix spelling + +2012-10-12 21:09 carlmoore + + * [r53008] src/librt/oslo_map.c: + fix spellings (notice olso --> oslo) + +2012-10-12 21:04 carlmoore + + * [r53007] src/librt/db5_types.c: + fix spellings + +2012-10-12 20:59 starseeker + + * [r53006] src/librt/test_subdivision.cpp: + Add some bu_free calls + +2012-10-12 18:43 bob1961 + + * [r53005] src/tclscripts/archer/BotEditFrame.tcl: + When a table row is selected in the BOT edit panel, make sure the + user can see it. + +2012-10-12 16:12 n_reed + + * [r53004] src/librt/primitives/rpc/rpc.c: + draw connections between opposing rpc faces + +2012-10-12 15:24 bob1961 + + * [r53003] src/libdm/dm-wgl.c: + Include dm-Null.h (i.e. need declaration of null_getDisplayImage) + +2012-10-12 13:10 bob1961 + + * [r53002] include/dm-Null.h: + Removed extra declaration of null_getDisplayImage() + +2012-10-12 13:05 bob1961 + + * [r53001] src/libged/polyclip.cpp: + More tweaks to ged_polygons_overlap() to short circuit the + process a bit when points are found on a contour. + +2012-10-11 23:51 r_weiss + + * [r53000] src/librt/primitives/nmg/nmg_inter.c: + Updated function "nmg_isect_two_face2p_jra" in file + "nmg_inter.c". Did code cleanup. Added UNLIKELY macro to improve + performance. + +2012-10-11 23:27 starseeker + + * [r52999] src/librt/test_subdivision.cpp: + Switch to using the limit point (now that it's being calculated + correctly), add comments mapping functions to formulas in + Kobbelt's paper, use bu_vls for the output bot name. + +2012-10-11 23:22 r_weiss + + * [r52998] src/librt/primitives/nmg/nmg_fuse.c: + Update to function "nmg_break_all_es_on_v" in file "nmg_fuse.c". + Added tests for zero length edgese and added logic to skip hits + on edge ends. + +2012-10-11 22:24 r_weiss + + * [r52997] src/librt/primitives/nmg/nmg_tri.c: + Updated function "nmg_plot_fu" in file "nmg_tri.c". The code now + skips plotting loops which contain no edges. + +2012-10-11 22:16 r_weiss + + * [r52996] src/librt/primitives/nmg/nmg_info.c: + Updated functions "nmg_find_pt_in_lu" and "nmg_find_pt_in_shell" + in file "nmg_info.c". Changed these functions to use function + "bn_pt3_pt3_equal" instead of them doing their own computations. + +2012-10-11 21:28 n_reed + + * [r52995] src/librt/primitives/rpc/rpc.c: + draw parabola for both of the opposing rpc faces + +2012-10-11 21:22 carlmoore + + * [r52994] src/librt/bezier_2d_isect.c: + fix spelling + +2012-10-11 20:38 n_reed + + * [r52993] src/librt/primitives/rpc/rpc.c, + src/librt/primitives/table.c: + initial rpc adaptive plot implementation + +2012-10-11 19:23 n_reed + + * [r52992] src/librt/primitives/rpc/rpc.c: + wrap duplicate rpc validity checks + +2012-10-11 18:51 n_reed + + * [r52991] src/librt/primitives/epa/epa.c: + wrap duplicate epa validity checks + +2012-10-11 18:25 n_reed + + * [r52990] src/librt/primitives/ehy/ehy.c: + forgot to remove old tolerance routine + +2012-10-11 18:10 n_reed + + * [r52989] src/librt/librt_private.h, + src/librt/primitives/ehy/ehy.c, src/librt/primitives/epa/epa.c, + src/librt/primitives/primitive_util.c: + move routines that are going to be reused + +2012-10-11 17:36 n_reed + + * [r52988] src/librt/primitives/rpc/rpc.c: + remove matrix math to make algorithm clearer and avoid + unnecessary computation + +2012-10-11 16:13 r_weiss + + * [r52987] src/librt/primitives/nmg/nmg_inter.c: + Update to function "nmg_crackshells" in file "nmg_inter.c". + Changed the for-loop for isecting faces shell-vs-shell to use a + static bu_ptbl list of faces instead of a bu_list which can + change during the cutting process. Also did code cleanup. + +2012-10-11 16:00 n_reed + + * [r52986] src/librt/primitives/rpc/rpc.c: + remove dead/non-functional rpc plot code + +2012-10-11 15:28 n_reed + + * [r52985] src/librt/primitives/ehy/ehy.c: + fix some copy-paste typos, fix translation error in curve + approximation, and plot hyperbolas + +2012-10-11 02:15 brlcad + + * [r52984] NEWS, src/conv/g-var.c: + fix voluminous 'fwrite: Success' messages output during + conversion due to only checking if one object was written. can + fill up a console with thousands of messages (one per face + + more). reported by James Michael DuPont via sf bug report # + 3576127 (g-var is very noisy). + +2012-10-11 01:10 starseeker + + * [r52983] src/librt/test_subdivision.cpp: + Scale the surface back out after subdivision, based on the + average of the point deltas of the original mesh vertices. + +2012-10-10 20:32 carlmoore + + * [r52982] src/librt/binunif/db5_bin.c: + fix spelling + +2012-10-10 20:30 carlmoore + + * [r52981] src/librt/binunif/binunif.c: + fix spelling + +2012-10-10 20:28 carlmoore + + * [r52980] src/librt/primitives/poly/poly.c: + fix spellings and change ie to i.e. + +2012-10-10 20:24 carlmoore + + * [r52979] src/librt/primitives/extrude/extrude.c: + fix spelling + +2012-10-10 20:17 carlmoore + + * [r52978] src/librt/primitives/bot/tie.c: + change ie to i.e., and fix spellings + +2012-10-10 20:14 carlmoore + + * [r52977] src/librt/primitives/bot/g_bot_include.c: + fix spellings and add some periods + +2012-10-10 20:07 carlmoore + + * [r52976] src/librt/primitives/bot/tie_kdtree.c: + fix spelling + +2012-10-10 20:06 starseeker + + * [r52975] src/librt/test_subdivision.cpp: + Write out subdivided faces as a new bot. + +2012-10-10 19:55 carlmoore + + * [r52974] src/librt/primitives/bot/bot.c: + fix spellings + +2012-10-10 19:50 carlmoore + + * [r52973] src/librt/primitives/brep/brep.cpp: + fix spellings + +2012-10-10 19:46 carlmoore + + * [r52972] src/librt/primitives/arb8/arb8.c: + fix spellings + +2012-10-10 19:42 carlmoore + + * [r52971] src/librt/primitives/obj_vshot.c: + fix spelling + +2012-10-10 17:21 carlmoore + + * [r52970] src/librt/primitives/nmg/nmg_mesh.c: + fix spelling and insert apostrophe + +2012-10-10 17:20 carlmoore + + * [r52969] src/librt/primitives/nmg/nmg_misc.c: + fix spellings (including changing 'facuse' to 'faceuse') + +2012-10-10 17:19 carlmoore + + * [r52968] src/librt/primitives/nmg/nmg_bool.c: + fix spellings + +2012-10-10 17:18 carlmoore + + * [r52967] src/librt/primitives/nmg/nmg_info.c: + fix spellings + +2012-10-10 17:17 carlmoore + + * [r52966] src/librt/primitives/nmg/nmg_manif.c: + change ie to i.e. + +2012-10-10 17:15 carlmoore + + * [r52965] src/librt/primitives/nmg/nmg_inter.c: + change ie to i.e. + +2012-10-10 17:14 carlmoore + + * [r52964] src/librt/primitives/nmg/nmg.c: + fix spellings + +2012-10-10 17:13 carlmoore + + * [r52963] src/librt/primitives/nmg/nmg_extrude.c: + fix spellings, including 'loopuses' + +2012-10-10 17:11 carlmoore + + * [r52962] src/librt/primitives/nmg/nmg_mod.c: + insert apostrophes for 'isn't', and fix spellings + +2012-10-10 17:10 carlmoore + + * [r52961] src/librt/primitives/nmg/nmg_pt_fu.c: + fix spellings + +2012-10-10 17:09 carlmoore + + * [r52960] src/librt/primitives/nmg/nmg_tri_mc.c: + fix spelling + +2012-10-10 17:07 carlmoore + + * [r52959] src/librt/primitives/nmg/nmg_rt_isect.c: + fix spellings (including 'BIZARRE') + +2012-10-10 17:06 carlmoore + + * [r52958] src/librt/primitives/nmg/nmg_junk.c: + fix spellings + +2012-10-10 17:05 carlmoore + + * [r52957] src/librt/primitives/nmg/nmg_mk.c: + change ie to i.e., and fix spellings + +2012-10-10 17:04 carlmoore + + * [r52956] src/librt/primitives/nmg/nmg_rt_segs.c: + fix spelling + +2012-10-10 17:02 carlmoore + + * [r52955] src/librt/primitives/nmg/nmg_fuse.c: + insert a blank, remove 1st s from loopuses's, and fix spellings + +2012-10-10 17:00 carlmoore + + * [r52954] src/librt/primitives/nmg/nmg_tri.c: + fix spellings + +2012-10-10 16:56 carlmoore + + * [r52953] src/librt/primitives/nmg/nmg_visit.c: + fix spelling + +2012-10-10 16:51 carlmoore + + * [r52952] src/librt/primitives/nmg/nmg_ck.c: + fix spellings + +2012-10-10 15:40 carlmoore + + * [r52951] src/librt/primitives/hf/hf.c: + fix spelling + +2012-10-10 15:35 carlmoore + + * [r52950] src/librt/primitives/xxx/xxx.h: + fix spelling I just did in a previous file + +2012-10-10 15:33 carlmoore + + * [r52949] src/librt/primitives/xxx/xxx.c: + fix spelling (that is 'precomputed', right?) + +2012-10-10 15:26 carlmoore + + * [r52948] src/librt/primitives/rpc/rpc_brep.cpp: + fix spelling + +2012-10-10 15:25 carlmoore + + * [r52947] src/librt/primitives/rpc/rpc.c: + change ie to i.e., and fix a spelling + +2012-10-10 15:07 carlmoore + + * [r52946] src/librt/primitives/ehy/ehy.c: + change ie to i.e. + +2012-10-10 15:04 carlmoore + + * [r52945] src/librt/primitives/ehy/ehy_brep.cpp: + fix spelling + +2012-10-10 15:01 carlmoore + + * [r52944] src/librt/primitives/eto/eto.c: + fix spellings + +2012-10-10 14:46 carlmoore + + * [r52943] src/librt/primitives/ebm/ebm.c: + fix spelling + +2012-10-10 14:43 carlmoore + + * [r52942] src/librt/primitives/submodel/submodel.c: + fix spellings + +2012-10-10 14:41 carlmoore + + * [r52941] src/librt/primitives/superell/superell.c: + fix spellings and capitalize a 't' + +2012-10-10 14:23 starseeker + + * [r52940] src/librt/CMakeLists.txt, + src/librt/test_subdivision.cpp: + Try implementing root-3 subdivision based on Leif Kobbelt's + paper. Does not (unfortunately) interpolate the original points + the way the modified butterfly scheme does, but butterfly seems + to run the risk of introducing kinks. Just experimenting at this + point, not hooked in to anything. + +2012-10-10 14:14 carlmoore + + * [r52939] src/librt/primitives/grip/grip.c: + fix spellings + +2012-10-10 13:13 brlcad + + * [r52938] NEWS: + fixed the step-g importer crashing while processing an AP214 + file. technically numerous crashes, but all related to the + unknown entities being skipped. more work is needed, but the + fixes prevent step-g from halting gracelessly. + +2012-10-10 07:54 brlcad + + * [r52937] src/libnurbs/PullbackCurve.cpp: + handle null data propagating through the surface tree if we + happen to parse a mixture of unexpected data. this is the final + piece that allows the (ap214) opensourceecology data to import + via step-g without crashing. + +2012-10-10 07:07 brlcad + + * [r52936] src/other/step/src/cldai/sdaiString.cc, + src/other/step/src/cldai/sdaiString.h: + avoid throwing exceptions due to max() being bigger than actually + supported. seems like an stl exception bug given it throws a + length_error exception and the parameter is supposed to default + to the value we're setting, but work around it anyways. we just + set npos and avoid specifying a constructor limit if the value is + npos. + +2012-10-10 07:04 brlcad + + * [r52935] + src/other/step/src/clstepcore/sdaiApplication_instance.cc: + prevent a crash parsing entities intended for a different schema + (e.g., ap204 data fed to ap203e2 schema parser). eDesc was not + being initialized causing random data crash/corruption. even + initialized, it ends up being null due to the schema entity + mismatch for unrecognized entities, so have to prevent against + dereferencing null elsewhere. + +2012-10-10 07:01 brlcad + + * [r52934] src/other/step/src/cleditor/STEPfile.inline.cc: + bump the arbitrary limit to 100k since 5k is trivially reached + with the AP schemas and halting early causes subsequent valid + entities to not get parsed. + +2012-10-10 06:59 brlcad + + * [r52933] include/nurbs.h, src/libnurbs/opennurbs_ext.cpp: + propagate constness, don't need to edit the face pointers being + stashed in the surface tree. + +2012-10-10 06:44 brlcad + + * [r52932] src/conv/step/Factory.cpp: + the entityname can be NULL if we're parsing entities not + supported by our parser's schema (e.g., reading a 214 with a + 203), so protect against trying to create a NULL std::string + (throws exception) and bail early. + +2012-10-10 05:40 brlcad + + * [r52931] src/conv/step/Factory.cpp: + explicitly turn the const char* into a std::string + +2012-10-10 02:36 brlcad + + * [r52930] src/other/openNURBS/opennurbs_beziervolume.cpp: + looks like they should have used X,Y,Z indices. looks like an + index off-by-one bug. + +2012-10-10 00:39 brlcad + + * [r52929] src/other/openNURBS/opennurbs_box.cpp: + looks like a bug. bounding box center was using the wrong + midpoint for the xval. + +2012-10-09 22:02 brlcad + + * [r52928] src/conv/3dm/3dm-g.cpp: + refactor multiple instances of the string constant to a define. + +2012-10-09 21:58 brlcad + + * [r52927] NEWS: + cleaned up the output to 3dm-g. gives clear entity count now with + an indication of progress and no longer declares object names for + entities that are not being imported as objects (giving false + impression). also made it use opennurbs Audit() interface to + repair invalid geometry if needed. + +2012-10-09 21:54 brlcad + + * [r52926] src/rt/do.c: + objtab just maybe maybe might be null, so don't try to index into + it if it is. + +2012-10-09 21:50 carlmoore + + * [r52925] src/librt/primitives/tor/tor.c: + fix spellings, and change ie to i.e. + +2012-10-09 21:48 brlcad + + * [r52924] TODO: + need support for ON_InstanceRef entities in the 3dm-g importer. + quite important. + +2012-10-09 21:46 carlmoore + + * [r52923] src/librt/primitives/rhc/rhc_brep.cpp: + fix spelling + +2012-10-09 21:43 carlmoore + + * [r52922] src/librt/primitives/metaball/metaball.c: + fix spellings + +2012-10-09 21:21 n_reed + + * [r52921] src/librt/primitives/ehy/ehy.c, + src/librt/primitives/table.c: + add initial ehy adaptive plot routine closely based on epa + +2012-10-09 21:13 carlmoore + + * [r52920] doc/html/manuals/mged/ged.tex: + remove duplicate 'the' and fix spelling + +2012-10-09 21:00 carlmoore + + * [r52919] doc/html/manuals/mged/ged.html: + fix spelling + +2012-10-09 20:59 carlmoore + + * [r52918] src/tclscripts/mged/icreate.tcl: + fix spelling + +2012-10-09 20:56 carlmoore + + * [r52917] include/bn.h: + fix spelling and remove 2 duplicate 'the's + +2012-10-09 20:54 brlcad + + * [r52916] src/conv/3dm/3dm-g.cpp: + clean up function definitions to match our style + +2012-10-09 20:53 carlmoore + + * [r52915] include/bu.h: + remove duplicate 'the' and fix spellings + +2012-10-09 20:52 brlcad + + * [r52914] src/conv/3dm/3dm-g.cpp: + remove the period for disambiguity + +2012-10-09 20:50 brlcad + + * [r52913] src/conv/3dm/3dm-g.cpp: + indent ws cleanup and remove the old file open method that + manually passed processing through ON_BinaryFile instead of just + calling Read() with the filename. + +2012-10-09 20:48 brlcad + + * [r52912] src/conv/3dm/3dm-g.cpp: + clean up the output a fair bit and don't print out object names + for the non-brep entities that don't actually get written out. + add code to support importing non-valid geometry by passing them + through the opennurbs Audit() routine. + +2012-10-09 20:46 carlmoore + + * [r52911] doc/tube.txt: + add 2 periods, and remove a duplicate 'the' + +2012-10-09 20:43 carlmoore + + * [r52910] doc/mged/f.tex: + remove 3 duplicate 'the's + +2012-10-09 20:40 carlmoore + + * [r52909] doc/mged/k.tex: + remove duplicate 'the' + +2012-10-09 20:37 carlmoore + + * [r52908] doc/mged/t1.tex: + remove 2 duplicate 'the's + +2012-10-09 20:36 carlmoore + + * [r52907] doc/html/manuals/mged/animmate/animate.html: + remove trailing 'the' + +2012-10-09 20:34 carlmoore + + * [r52906] doc/html/manuals/mged/animmate/track.txt: + remove duplicate 'the' + +2012-10-09 20:33 carlmoore + + * [r52905] src/librt/primitives/arbn/arbn.c: + fix spellings + +2012-10-09 20:30 carlmoore + + * [r52904] doc/html/manuals/mged/animmate/track_tut.html: + remove duplicate 'the' + +2012-10-09 20:27 carlmoore + + * [r52903] doc/html/manuals/mged/ged.tex: + oops, remove 2 more duplicate 'the's + +2012-10-09 20:18 carlmoore + + * [r52902] doc/html/manuals/mged/ged.tex: + fix spellings and remove duplicate 'the' + +2012-10-09 19:49 carlmoore -2012-01-16 21:45 tbrowder2 + * [r52901] doc/html/manuals/mged/brlcad_glossary.html: + remove duplicate 'the' - * [r48876] src/rt/viewweight.c: - removed macro guards - moved second block ["if (rpt_overlap)"] into the first - rearrange some block variables as a result - fill new region array - increment MAX_ITEM by 2 to create an "end ID" for conventional - loop idiom use - use new array for WEIGHT BY REGION ID sort - use new id variable to emphasize index on region ID +2012-10-09 19:47 carlmoore -2012-01-16 20:32 tbrowder2 + * [r52900] doc/html/manuals/mged/ged.html: + fix spellings and remove duplicate 'the's - * [r48875] src/rt/viewweight.c: - oops, forgot to replace integer with the variable name +2012-10-09 19:43 carlmoore -2012-01-16 20:29 tbrowder2 + * [r52899] doc/html/manuals/Install.html: + remove duplicate 'the' and fix spellings - * [r48874] src/rt/viewweight.c: - use variables instead of error-prone integer literals to define - format field widths +2012-10-09 18:39 carlmoore -2012-01-16 20:22 tbrowder2 + * [r52898] src/libfb/fb_generic.c: + remove duplicate 'the' - * [r48873] src/rt/viewweight.c: - remove 'always true test' +2012-10-09 17:10 carlmoore -2012-01-16 20:20 tbrowder2 + * [r52897] src/util/pixhist3d.1: + change 'the the' to 'to the' - * [r48872] src/rt/viewweight.c: - turn off array version for now +2012-10-09 17:07 carlmoore -2012-01-16 20:19 tbrowder2 + * [r52896] src/libged/edit.c: + remove duplicate 'the' - * [r48871] src/rt/viewweight.c: - add macro guards to maintain two versions during development +2012-10-09 16:57 carlmoore -2012-01-16 20:17 tbrowder2 + * [r52895] src/librt/primitives/tgc/tgc.c: + fix spellings - * [r48870] src/rt/viewweight.c: - add variables for a region array +2012-10-09 16:49 carlmoore -2012-01-16 20:15 tbrowder2 + * [r52894] src/libged/joint.c: + add 'ed' to 'Unexpect', and remove a duplicate 'the' - * [r48869] src/rt/viewweight.c: - add a qsort comp function for future use +2012-10-09 16:43 carlmoore -2012-01-16 20:02 tbrowder2 + * [r52893] src/liboptical/sh_treetherm.c: + fix spelling and add missing period to comment - * [r48868] src/rt/viewweight.c: - reverting most of the file--need to revisit the big picture - before optimizing; still have problems of periodic region list - variation; will add the array fix for that WITHOUT the other loop - changes +2012-10-09 16:36 carlmoore -2012-01-16 17:49 tbrowder2 + * [r52892] src/irprep/secpass.c: + fix spellings - * [r48867] src/rt/viewweight.c: - a tad of formatting +2012-10-09 16:33 brlcad -2012-01-16 17:47 tbrowder2 + * [r52891] src/lgt/do_options.c, src/lgt/extern.h: + more ws cleanup along with single-precision fastf_t + accommodations. restructure the terrible logic flow, guess on the + undocumented intent while mostly preserving existing logic. - * [r48866] src/rt/viewweight.c: - add a sort comparison function for a region array; add variables - for array handling and hoisting loops upward +2012-10-09 16:33 carlmoore -2012-01-16 17:45 tbrowder2 + * [r52890] src/irprep/firpass.1: + remove duplicate 'the' - * [r48865] src/rt/viewweight.c: - use bu_fgets instead of fgets +2012-10-09 15:43 carlmoore -2012-01-16 17:04 tbrowder2 + * [r52889] src/proc-db/vegetation.c: + fix a spelling and remove a duplicate 'the' - * [r48864] regress/weight.sh: - slight simplification +2012-10-09 15:42 brlcad -2012-01-16 12:30 d_rossberg + * [r52888] src/conv/patch/patch-g.c: + just reuse scan, same purpose - * [r48863] src/conv/intaval/read_dra.cpp: - do not set a form's id here, it's only a flag saying "same form - but different place" i.e. translated - initialized form in its declaration to calm Coverity +2012-10-09 15:39 carlmoore -2012-01-15 20:49 tbrowder2 + * [r52887] src/tab/scriptsort.c: + fix a spelling, and remove a duplicate 'the' - * [r48862] include/bu.h: - correct typo +2012-10-09 15:08 n_reed -2012-01-15 19:46 tbrowder2 + * [r52886] src/librt/primitives/tgc/tgc.c: + make sure connecting lines match up with ellipses - * [r48861] include/raytrace.h: - correct typo +2012-10-09 14:25 n_reed -2012-01-15 18:46 tbrowder2 + * [r52885] src/conv/patch/patch-g.c: + shadowed global, said VSET meant VMOVE - * [r48860] regress/weight.sh, src/rt/viewweight.c: - tidy format of weight output; ease maintenance of viewweight.c - formatting +2012-10-09 14:16 n_reed -2012-01-15 18:05 tbrowder2 - - * [r48859] src/rt/viewweight.c: - allow up to 5-digit material codes and region IDs; change 'item' - to 'region ID' - -2012-01-15 13:36 tbrowder2 - - * [r48858] regress/weight.sh: - make the weight test slightly more robust - -2012-01-15 13:32 tbrowder2 - - * [r48857] regress/weight.sh: - make the weight test slightly more robust - -2012-01-15 12:46 tbrowder2 - - * [r48856] src/rt/viewweight.c: - leave notes for wiser heads - -2012-01-15 12:31 tbrowder2 - - * [r48855] src/rt/viewweight.c: - put listing loop under rpt_overlap test as is done for the - 'weight by item' block following - -2012-01-15 12:24 tbrowder2 - - * [r48854] src/rt/viewweight.c: - reduce eye strain by changing variable 'l' (ell) to a more - legible token - -2012-01-15 12:19 tbrowder2 - - * [r48853] src/rt/viewweight.c: - working on subtle problem with output for regression tests - -2012-01-15 06:30 starseeker - - * [r48852] misc/astyle.opt: - Reported a bug to AStyle dev with k&r formatting of functions - using return types with spaces (i.e. a function returning 'void' - will format correctly, but one returning 'struct bn_table *' - won't) but otherwise results are looking fairly good - still only - tested a few files though, may be more bugs lurking. - -2012-01-15 02:55 starseeker - - * [r48851] misc/CMakeLists.txt, misc/astyle.opt: - Start working out an astyle option file for formatting BRL-CAD - files. - -2012-01-14 18:23 starseeker - - * [r48850] doc/docbook/CMakeLists.txt, - doc/docbook/books/en/CMakeLists.txt, doc/docbook/fop.xconf.in, - doc/docbook/resources/brlcad/brlcad-man-stylesheet.xsl.in, - doc/docbook/resources/brlcad/brlcad-xhtml-stylesheet.xsl.in, - doc/docbook/resources/brlcad/tutorial-template.xsl.in, - doc/docbook/resources/other/docbook-schema/ChangeLog, - doc/docbook/resources/other/docbook-schema/README, - doc/docbook/resources/other/docbook-schema/README.schema, - doc/docbook/resources/other/docbook-schema/VERSION, - doc/docbook/resources/other/docbook-schema/catalog.xml, - doc/docbook/resources/other/docbook-schema/docbook-5.0.tar.bz2, - doc/docbook/resources/other/docbook-schema/docbook.nvdl, - doc/docbook/resources/other/docbook-schema/docs, - doc/docbook/resources/other/docbook-schema/dtd, - doc/docbook/resources/other/docbook-schema/rng, - doc/docbook/resources/other/docbook-schema/sch, - doc/docbook/resources/other/docbook-schema/tools, - doc/docbook/resources/other/docbook-schema/xsd, - doc/docbook/resources/other/expand.cmake, - doc/docbook/resources/other/fonts/README, - doc/docbook/resources/other/fonts/dejavu-lgc, - doc/docbook/resources/other/fonts/dejavu-lgc-fonts.tar.bz2, - doc/docbook/resources/other/fonts/dejavu_COPYING.txt, - doc/docbook/resources/other/fonts/stix, - doc/docbook/resources/other/fonts/stix-fonts.tar.bz2, - doc/docbook/resources/other/fonts/stix_COPYING.txt, - doc/docbook/resources/other/offo/README, - doc/docbook/resources/other/offo/binary, - doc/docbook/resources/other/offo/licenses.txt, - doc/docbook/resources/other/offo/offo-2.0.tar.bz2, - doc/docbook/resources/other/offo/source, - doc/docbook/resources/other/standard/svg/README, - doc/docbook/resources/other/standard/svg/svg-animation.mod, - doc/docbook/resources/other/standard/svg/svg-animevents-attrib.mod, - doc/docbook/resources/other/standard/svg/svg-basic-clip.mod, - doc/docbook/resources/other/standard/svg/svg-basic-color.mod, - doc/docbook/resources/other/standard/svg/svg-basic-filter.mod, - doc/docbook/resources/other/standard/svg/svg-basic-font.mod, - doc/docbook/resources/other/standard/svg/svg-basic-graphics-attrib.mod, - doc/docbook/resources/other/standard/svg/svg-basic-paint-attrib.mod, - doc/docbook/resources/other/standard/svg/svg-basic-structure.mod, - doc/docbook/resources/other/standard/svg/svg-basic-text.mod, - doc/docbook/resources/other/standard/svg/svg-clip.mod, - doc/docbook/resources/other/standard/svg/svg-color.mod, - doc/docbook/resources/other/standard/svg/svg-conditional.mod, - doc/docbook/resources/other/standard/svg/svg-container-attrib.mod, - doc/docbook/resources/other/standard/svg/svg-core-attrib.mod, - doc/docbook/resources/other/standard/svg/svg-cursor.mod, - doc/docbook/resources/other/standard/svg/svg-datatypes.mod, - doc/docbook/resources/other/standard/svg/svg-docevents-attrib.mod, - doc/docbook/resources/other/standard/svg/svg-extensibility.mod, - doc/docbook/resources/other/standard/svg/svg-extresources-attrib.mod, - doc/docbook/resources/other/standard/svg/svg-filter.mod, - doc/docbook/resources/other/standard/svg/svg-font.mod, - doc/docbook/resources/other/standard/svg/svg-framework.mod, - doc/docbook/resources/other/standard/svg/svg-gradient.mod, - doc/docbook/resources/other/standard/svg/svg-graphevents-attrib.mod, - doc/docbook/resources/other/standard/svg/svg-graphics-attrib.mod, - doc/docbook/resources/other/standard/svg/svg-hyperlink.mod, - doc/docbook/resources/other/standard/svg/svg-image.mod, - doc/docbook/resources/other/standard/svg/svg-marker.mod, - doc/docbook/resources/other/standard/svg/svg-mask.mod, - doc/docbook/resources/other/standard/svg/svg-opacity-attrib.mod, - doc/docbook/resources/other/standard/svg/svg-paint-attrib.mod, - doc/docbook/resources/other/standard/svg/svg-pattern.mod, - doc/docbook/resources/other/standard/svg/svg-profile.mod, - doc/docbook/resources/other/standard/svg/svg-qname.mod, - doc/docbook/resources/other/standard/svg/svg-script.mod, - doc/docbook/resources/other/standard/svg/svg-shape.mod, - doc/docbook/resources/other/standard/svg/svg-structure.mod, - doc/docbook/resources/other/standard/svg/svg-style.mod, - doc/docbook/resources/other/standard/svg/svg-text.mod, - doc/docbook/resources/other/standard/svg/svg-view.mod, - doc/docbook/resources/other/standard/svg/svg-viewport-attrib.mod, - doc/docbook/resources/other/standard/svg/svg-xlink-attrib.mod, - doc/docbook/resources/other/standard/svg/svg10.dtd, - doc/docbook/resources/other/standard/svg/svg11-attribs.mod, - doc/docbook/resources/other/standard/svg/svg11-basic-attribs.mod, - doc/docbook/resources/other/standard/svg/svg11-basic-flat.dtd, - doc/docbook/resources/other/standard/svg/svg11-basic-model.mod, - doc/docbook/resources/other/standard/svg/svg11-basic.dtd, - doc/docbook/resources/other/standard/svg/svg11-flat.dtd, - doc/docbook/resources/other/standard/svg/svg11-model.mod, - doc/docbook/resources/other/standard/svg/svg11-tiny-attribs.mod, - doc/docbook/resources/other/standard/svg/svg11-tiny-flat.dtd, - doc/docbook/resources/other/standard/svg/svg11-tiny-model.mod, - doc/docbook/resources/other/standard/svg/svg11-tiny.dtd, - doc/docbook/resources/other/standard/svg/svg11.dtd, - doc/docbook/resources/other/standard/svg/w3_svg_dtd.tar.bz2, - doc/docbook/resources/other/standard/xsl/AUTHORS, - doc/docbook/resources/other/standard/xsl/BUGS, - doc/docbook/resources/other/standard/xsl/COPYING, - doc/docbook/resources/other/standard/xsl/INSTALL, - doc/docbook/resources/other/standard/xsl/NEWS, - doc/docbook/resources/other/standard/xsl/NEWS.html, - doc/docbook/resources/other/standard/xsl/NEWS.xml, - doc/docbook/resources/other/standard/xsl/README, - doc/docbook/resources/other/standard/xsl/README.xsl, - doc/docbook/resources/other/standard/xsl/RELEASE-NOTES.html, - doc/docbook/resources/other/standard/xsl/RELEASE-NOTES.txt, - doc/docbook/resources/other/standard/xsl/RELEASE-NOTES.xml, - doc/docbook/resources/other/standard/xsl/TODO, - doc/docbook/resources/other/standard/xsl/VERSION, - doc/docbook/resources/other/standard/xsl/catalog.xml, - doc/docbook/resources/other/standard/xsl/common, - doc/docbook/resources/other/standard/xsl/docbook-xsl-ns.tar.bz2, - doc/docbook/resources/other/standard/xsl/docsrc, - doc/docbook/resources/other/standard/xsl/eclipse, - doc/docbook/resources/other/standard/xsl/extensions, - doc/docbook/resources/other/standard/xsl/fo, - doc/docbook/resources/other/standard/xsl/highlighting, - doc/docbook/resources/other/standard/xsl/html, - doc/docbook/resources/other/standard/xsl/htmlhelp, - doc/docbook/resources/other/standard/xsl/images, - doc/docbook/resources/other/standard/xsl/javahelp, - doc/docbook/resources/other/standard/xsl/lib, - doc/docbook/resources/other/standard/xsl/manpages, - doc/docbook/resources/other/standard/xsl/params, - doc/docbook/resources/other/standard/xsl/profiling, - doc/docbook/resources/other/standard/xsl/roundtrip, - doc/docbook/resources/other/standard/xsl/slides, - doc/docbook/resources/other/standard/xsl/template, - doc/docbook/resources/other/standard/xsl/tests, - doc/docbook/resources/other/standard/xsl/website, - doc/docbook/resources/other/standard/xsl/xhtml, - doc/docbook/resources/other/standard/xsl/xhtml-1_1, - misc/CMake/DocBook.cmake, misc/CMake/fop.cmake.in: - Rework handling of 3rd party resources in doc/docbook - teach - CMake to de-compress archives of the files in question, instead - of checking in the full (verbose) xsl files and uncompressed - fonts. On-disk size of doc/docbook/resources shrinks from 43 Megs - to 17 - i.e. 26 Megs less to download per BRL-CAD svn checkout. - File count in doc/docbook/resources goes from 1604 to 47. - -2012-01-14 16:29 tbrowder2 - - * [r48849] doc/docbook/resources/other/offo/README: - add location of offo source - -2012-01-14 16:25 tbrowder2 - - * [r48848] doc/docbook/resources/other/fonts/stix/README: - add STIX license - -2012-01-14 16:15 tbrowder2 - - * [r48847] doc/docbook/resources/other/fonts/stix/README: - slight correction - -2012-01-14 16:12 tbrowder2 - - * [r48846] doc/docbook/resources/other/fonts/stix/README: - document the parentage and conversion of the STIX TrueType fonts - -2012-01-14 16:00 tbrowder2 - - * [r48845] regress/weight.sh: - tidy test file; rtweight now passes both simple and complex - density file regression test (which is turned on for release - testing) - -2012-01-14 15:32 tbrowder2 - - * [r48844] NEWS, TODO, regress/weight.sh, src/rt/viewweight.c: - fixed rtweight to handle blanks, comment lines, malformed lines, - and the modified NIST materials file; problem was fscanf stops - scanning on input at first error and thus the infinite loop: - using fgets forces each line to be read; an extra buffer is - needed in that case to handle the line input versus the sscan - buffer for reading tokens (but I didn't try using the same buffer - for both) - -2012-01-14 14:51 tbrowder2 - - * [r48843] src/rt/viewweight.c: - put bu_free of density file name in proper place - -2012-01-14 13:26 tbrowder2 - - * [r48842] src/rt/viewweight.c: - squelch memory leak - -2012-01-14 13:24 tbrowder2 - - * [r48841] src/rt/viewweight.c: - ws + * [r52884] src/librt/primitives/epa/epa.c: + a few more epa comments + +2012-10-09 04:20 brlcad + + * [r52883] src/conv/comgeom/solid.c, src/conv/jack/jack-g.c, + src/conv/nmg/asc-nmg.c, src/conv/off/off-g.c, + src/conv/patch/patch-g.c, src/gtools/g_lint.c: + more fastf_t/double conversions + +2012-10-09 04:19 brlcad + + * [r52882] include/wdb.h, src/libwdb/wdb.c: + mk_half() should take a fastf_t for consistency + +2012-10-09 04:18 brlcad + + * [r52881] src/lgt/do_options.c: + style indent ws cleanup + +2012-10-08 15:14 brlcad + + * [r52880] AUTHORS: + credit max wang with his small patch that moved a comment from a + source file to a header + +2012-10-08 15:11 brlcad + + * [r52879] include/bn.h, src/libbn/rand.c: + apply sf patch 3575361 (Moved comments from rand.c to bn.h) from + Max ( wmaanxg ). + +2012-10-05 20:30 carlmoore + + * [r52878] src/libbu/redblack.3: + remove duplicate 'the' + +2012-10-05 20:11 carlmoore + + * [r52877] src/librt/primitives/rec/rec.c: + fix spellings and change ie to i.e. + +2012-10-05 20:09 carlmoore + + * [r52876] src/librt/primitives/ell/ell.c: + change ie to i.e. + +2012-10-05 20:03 carlmoore + + * [r52875] src/conv/bot_shell-vtk.1: + remove duplicate 'the' + +2012-10-05 20:02 carlmoore + + * [r52874] src/conv/off/off-g.c: + remove duplicate 'the', and fix a spelling + +2012-10-05 20:00 carlmoore + + * [r52873] src/librt/primitives/bot/tie_kdtree.c: + fix spellings, remove duplicate 'the', and change 'the' to 'that' + +2012-10-05 19:56 carlmoore + + * [r52872] src/librt/primitives/part/part.c: + fix spellings (including hit_point in a comment), remove + duplicate 'the', change ie to i.e.) + +2012-10-05 19:50 carlmoore + + * [r52871] src/librt/primitives/nmg/nmg_inter.c: + fix spellings and remove a duplicate 'the' + +2012-10-05 19:44 carlmoore + + * [r52870] src/librt/primitives/nmg/nmg_mk.c: + remove duplicate 'the' and fix spellings + +2012-10-05 19:35 carlmoore + + * [r52869] src/librt/primitives/nmg/nmg_class.c: + fix spellings + +2012-10-05 19:32 carlmoore + + * [r52868] src/librt/primitives/nmg/nmg_class.c: + change 'the' to 'as' and fix spellings + +2012-10-05 19:28 carlmoore + + * [r52867] src/librt/primitives/hf/hf.c: + remove duplicate 'the', change 'Three' to 'There', and fix + spelling + +2012-10-05 19:24 carlmoore + + * [r52866] src/librt/primitives/ell/ell.c: + remove duplicate 'the' and change ie to i.e. + +2012-10-05 19:22 carlmoore + + * [r52865] src/librt/shoot.c: + remove duplicate 'the' + +2012-10-05 19:20 carlmoore + + * [r52864] src/fb/fbgamma.1: + change 'the the' to 'to the' + +2012-10-05 19:18 carlmoore + + * [r52863] src/anim/anim_track.1: + remove duplicate 'the' + +2012-10-05 19:15 carlmoore + + * [r52862] src/tclscripts/rtwizard/lib/FullColorPage.itk: + remove duplicate 'the' + +2012-10-05 19:09 carlmoore + + * [r52861] src/fbserv/fbserv.c: + remove duplicate 'the' + +2012-10-05 19:07 carlmoore + + * [r52860] HACKING: + remove duplicate 'the' + +2012-10-05 19:04 carlmoore + + * [r52859] m4/stage.m4: + remove duplicate 'the' + +2012-10-05 19:03 carlmoore + + * [r52858] TODO: + remove duplicate 'the' + +2012-10-05 18:57 carlmoore + + * [r52857] src/librt/primitives/bspline/nurb_bound.c: + fix spellings of 'pointer' and 'INFINITY' + +2012-10-05 18:54 carlmoore + + * [r52856] src/librt/primitives/bspline/bspline.cpp: + remove duplicate 'the', and fix a spelling + +2012-10-05 18:53 carlmoore + + * [r52855] src/librt/primitives/bspline/nurb_interp.c: + fix spellings + +2012-10-05 18:52 carlmoore + + * [r52854] src/librt/primitives/bspline/bspline_mirror.c: + fix spellings + +2012-10-05 18:50 carlmoore + + * [r52853] src/librt/primitives/bspline/nurb_ray.c: + fix spelling + +2012-10-05 18:49 carlmoore + + * [r52852] src/librt/primitives/bspline/nurb_solve.c: + fix (mostly spellings) + +2012-10-05 18:47 carlmoore + + * [r52851] src/librt/primitives/bspline/nurb_eval.c: + fix spelling + +2012-10-05 18:46 carlmoore + + * [r52850] src/librt/primitives/bspline/nurb_poly.c: + fix spelling + +2012-10-05 18:44 carlmoore + + * [r52849] src/librt/primitives/bspline/nurb_tess.c: + fix spellings and more + +2012-10-05 18:43 carlmoore + + * [r52848] src/librt/primitives/bspline/nurb_plot.c: + fix spelling + +2012-10-05 18:42 carlmoore + + * [r52847] src/librt/primitives/bspline/nurb_trim.c: + change 'than' to 'then' but cannot figure out was intended for + 'prossed' + +2012-10-05 18:40 carlmoore + + * [r52846] src/librt/primitives/bspline/nurb_trim.c: + fix spellings and much more + +2012-10-05 18:24 carlmoore + + * [r52845] src/librt/primitives/bspline/nurb_norm.c: + fix spelling + +2012-10-05 18:23 carlmoore + + * [r52844] src/librt/primitives/bspline/nurb_trim_util.c: + fix spelling (including 'wonders' to 'wanders') and change 'is' + to 'it' and add missing period) + +2012-10-05 16:27 carlmoore + + * [r52843] src/librt/primitives/table.c: + fix spelling + +2012-10-05 16:26 carlmoore + + * [r52842] src/librt/primitives/dsp/dsp.c: + fix spellings, including, in a comment, rt_dsp_internal + +2012-10-05 16:19 carlmoore + + * [r52841] src/librt/primitives/dsp/dsp_brep.cpp: + fix spelling + +2012-10-05 16:17 carlmoore + + * [r52840] src/librt/primitives/pipe/pipe.c: + fix spellings + +2012-10-05 16:14 carlmoore + + * [r52839] src/librt/primitives/sketch/sketch.c: + change 'segement' to 'segment' (right?) + +2012-10-05 15:49 carlmoore + + * [r52838] src/librt/primitives/hyp/hyp.c: + fix spelling of 'Hunit' in a COMMENT + +2012-10-05 13:36 carlmoore + + * [r52837] src/librt/shoot.c: + oops, 'upto' needed to change to 'up to' + +2012-10-05 13:34 carlmoore + + * [r52836] src/librt/shoot.c: + fix spellings and change ie to i.e. + +2012-10-05 13:32 carlmoore + + * [r52835] src/librt/primitives/epa/epa.c: + change ie to i.e., remove trailing blank/tab, fix spellings + +2012-10-05 05:35 brlcad + + * [r52834] src/burst/extern.h, src/burst/grid.c, src/burst/prnt.c, + src/conv/asc/asc2g.c, src/conv/patch/patch-g.c, + src/conv/shp/shp-g.c, src/conv/step/BRLCADWrapper.cpp, + src/fb/cell-fb.c, src/nirt/showshot.c, src/rt/do.c, src/rt/ext.h, + src/rt/opt.c, src/util/bary.c, src/util/terrain.c, + src/util/xyz-pl.c: + lots more fastf_t cleanup in support of single-precision + compilation. scan into double, copy into fastf_t. + +2012-10-05 05:03 brlcad + + * [r52833] src/conv/iges/trimsurf.c: + fix slew of vmath macro mess with wrong indentation due to + missing semicolon. change instances of Readcnv to Readdbl where a + double is being passed (functions are identical) + +2012-10-05 05:01 brlcad + + * [r52832] src/anim/anim_orient.c, src/anim/anim_time.c, + src/anim/anim_track.c, src/anim/anim_turn.c: + scan into doubles, copy into fastf_t + +2012-10-05 05:00 brlcad + + * [r52831] src/librt/primitives/epa/epa.c: + epa_V is unused, removing + +2012-10-05 04:44 brlcad + + * [r52830] src/conv/iges/getcurve.c, src/conv/iges/spline.c: + scan into doubles + +2012-10-04 22:01 carlmoore + + * [r52829] src/librt/fortray.c: + fix spelling + +2012-10-04 21:55 carlmoore + + * [r52828] src/nirt/usrfmt.h: + fix spelling + +2012-10-04 21:54 carlmoore + + * [r52827] src/nirt/parse_fmt.c: + fix spellings ('uoutspec' fix is in a COMMENT) + +2012-10-04 21:47 carlmoore + + * [r52826] src/fb/fbcmrot.c: + fix spelling + +2012-10-04 21:45 carlmoore + + * [r52825] src/fb/rle-fb.1: + change ie to i.e. and fix spellings + +2012-10-04 21:44 carlmoore + + * [r52824] src/fb/fb-rle.1: + change ie to i.e. + +2012-10-04 21:43 carlmoore + + * [r52823] src/fb/orle-fb.1: + fix spelling + +2012-10-04 21:42 carlmoore + + * [r52822] src/fb/fb-orle.1: + fix spelling + +2012-10-04 21:41 carlmoore + + * [r52821] src/fb/pl-fb.c: + fix spelling -2012-01-14 13:00 tbrowder2 +2012-10-04 21:40 carlmoore - * [r48840] src/rt/viewweight.c: - feof returns true for eof, not EOF + * [r52820] src/fb/gif2fb.c: + fix spellings -2012-01-14 12:58 tbrowder2 +2012-10-04 21:39 r_weiss - * [r48839] src/rt/viewweight.c: - ws, format + * [r52819] src/librt/primitives/nmg/nmg_pt_fu.c: + Updated function "nmg_class_pt_euvu" in file "nmg_pt_fu.c". Added + the "UNLIKELY" macro to improve performance. -2012-01-14 12:38 tbrowder2 +2012-10-04 21:39 carlmoore - * [r48838] src/rt/viewweight.c: - ws, style, format + * [r52818] src/fb/fblabel.c: + fix spellings on one line -2012-01-14 12:21 tbrowder2 +2012-10-04 21:34 carlmoore - * [r48837] misc/NIST_DENSITIES: - adjust 6-digit material codes so they will fit in the materials - array (we drop the leading 1) + * [r52817] src/fb/fbline.1: + change ie to i.e. -2012-01-13 23:51 starseeker +2012-10-04 21:33 carlmoore - * [r48836] misc/CMake/ThirdParty.cmake, - misc/CMake/ThirdParty_TCL.cmake: - String normalization FAIL for third party build logic. Let's try - that again... + * [r52816] src/fb/fbzoom.c: + fix spelling -2012-01-13 22:13 brlcad +2012-10-04 21:32 carlmoore - * [r48835] NEWS: - nick's 48742 fix to anim_cascade fixed a clear-cut crasher. - params to anim_mat2ypr() were flipped. + * [r52815] src/fb/fbanim.c: + fix spellings -2012-01-13 22:00 brlcad +2012-10-04 21:32 carlmoore - * [r48834] src/other/step/src/clstepcore/complexSupport.h: - initialize all of the class fields. fixes report from coverity - UNINIT_CTOR check. (cid 2034) + * [r52814] src/fb/fbcolor.c: + fix spelling -2012-01-13 21:50 brlcad +2012-10-04 21:31 starseeker - * [r48833] src/other/step/src/clstepcore/ExpDict.h: - initialize all of the class fields. fixes report from coverity - UNINIT_CTOR check. (cid 2014) + * [r52813] src/libged/simulate/simrt.c, + src/libged/simulate/simutils.c: + Need some more bullet ifdef protections. -2012-01-13 21:44 brlcad +2012-10-04 21:30 carlmoore - * [r48832] src/proc-db/surfaceintersect.cpp: - initialize all of the class fields. fixes report from coverity - UNINIT_CTOR check. (cid 1666) + * [r52812] src/fb/pl-fb.1: + fix spelling -2012-01-13 21:35 n_reed +2012-10-04 21:29 carlmoore - * [r48831] src/util/pixhist3d.c: - unchecked indexes. CID 1511 + * [r52811] src/fb/fbgamma.1: + fix spelling (that's OK for that string, right?) -2012-01-13 21:35 starseeker +2012-10-04 21:28 carlmoore - * [r48830] regress/CMakeLists.txt, regress/gcv, - regress/gcv/CMakeLists.txt, regress/gcv/README, regress/gcv/dem, - regress/gcv/dem/README, regress/gcv/dem/dem-regress.cmake.in, - regress/gcv/dem/hawaii-c-control.tar.bz2, - regress/gcv/dem/hawaii-c.tar.bz2: - Add a regression test for dem-g - working out general techniques - for geometry conversion regression. This appears to work, but at - the moment it's a stand-alone dem-regress build target. + * [r52810] src/fb/fbpoint.c: + fix spelling + +2012-10-04 21:27 carlmoore + + * [r52809] src/fb/fbframe.1: + fix spelling + +2012-10-04 21:25 carlmoore + + * [r52808] src/fb/fbzoom.1: + fix spellings + +2012-10-04 21:22 carlmoore + + * [r52807] src/fb/fbanim.1: + change ie to i.e., and fix spelling + +2012-10-04 21:21 carlmoore + + * [r52806] src/fb/cell-fb.c: + fix spelling + +2012-10-04 21:20 r_weiss + + * [r52805] src/librt/primitives/nmg/nmg_pt_fu.c: + Updated function "compute_loop_class" in file "nmg_pt_fu.c". + Added the "UNLIKELY" macro to improve performance. + +2012-10-04 21:08 r_weiss + + * [r52804] src/librt/primitives/nmg/nmg_pt_fu.c: + Updated function "make_near_list" in file "nmg_pt_fu.c". Changed + a "double" to "fastf_t" and added the "UNLIKELY" macro to improve + performance. + +2012-10-04 20:59 r_weiss + + * [r52803] src/librt/primitives/nmg/nmg_pt_fu.c: + Updated function "Quadrant" in file "nmg_pt_fu.c". Removed 0.0 + float compares. + +2012-10-04 20:53 carlmoore + + * [r52802] src/anim/anim_keyread.c: + remove s at end of Eulers + +2012-10-04 20:52 carlmoore + + * [r52801] src/anim/anim_track.1: + change ie to i.e. + +2012-10-04 20:51 carlmoore + + * [r52800] src/anim/chan_mult.c: + fix spelling (after consulting the man page) + +2012-10-04 20:50 carlmoore + + * [r52799] src/anim/cattrack.h: + fix spellings + +2012-10-04 20:44 r_weiss + + * [r52798] src/librt/primitives/nmg/nmg_rt_isect.c: + Updated function "edge_hit_ray_state" in file "nmg_rt_isect.c". + Added the "UNLIKELY" macro to improve performance. + +2012-10-04 20:37 carlmoore + + * [r52797] src/libpc/pcMathVM.h: + fix spelling + +2012-10-04 20:36 carlmoore + + * [r52796] src/libpc/pcBasic.h: + fix spelling + +2012-10-04 20:28 carlmoore + + * [r52795] src/libpc/TODO: + fix spelling of 'BinaryNetwork' [right?] in a comment + +2012-10-04 20:28 r_weiss + + * [r52794] src/librt/bbox.c: + Updated function "rt_in_rpp" in file "librt/bbox.c". Changed + INFINITY to MAX_FASTF. Removed float 0.0 compares. + +2012-10-04 20:19 carlmoore + + * [r52793] src/libdm/CMakeLists.txt: + fix spelling + +2012-10-04 20:18 carlmoore + + * [r52792] src/libdm/dm_obj.c: + fix spelling (assuming that is 'gracefully') + +2012-10-04 20:16 r_weiss + + * [r52791] src/librt/primitives/nmg/nmg_rt_isect.c: + Fixed a bug in function "isect_ray_planar_face" in file + "nmg_rt_isect.c". Points were not being detected in the negative + direction from the plane which were more than distance tolerance + away. Also added the "UNLIKELY" macro to improve performance. + +2012-10-04 20:10 carlmoore + + * [r52790] src/libdm/dm-plot.c: + fix spelling + +2012-10-04 20:09 carlmoore + + * [r52789] src/libdm/axes.c: + fix spelling + +2012-10-04 20:00 r_weiss + + * [r52788] src/librt/primitives/nmg/nmg_inter.c: + Updated function "nmg_isect_eu_fu" in file "nmg_inter.c". Did + code cleanup and added the "UNLIKELY" macro to improve + performance. + +2012-10-04 19:50 brlcad + + * [r52787] src/util/pl-dm.c: + fixes sf bug 3574531 reporting compilation error due to type + mismatch. setWindowBounds takes an array of fastf_t, not ints. + surprising if it previously even worked. + +2012-10-04 19:46 brlcad + + * [r52786] src/adrt/librender/flos.c, src/adrt/librender/spall.c, + src/anim/anim_cascade.c, src/anim/anim_fly.c, + src/anim/anim_hardtrack.c, src/anim/anim_keyread.c, + src/anim/anim_lookat.c, src/anim/anim_offset.c, + src/anim/anim_script.c: + more fastf_t conversion support reading into doubles and copying + as needed. + +2012-10-04 19:23 n_reed + + * [r52785] src/librt/primitives/epa/epa.c: + explain some of the math + +2012-10-04 17:43 carlmoore + + * [r52784] src/adrt/isst_tcltk.c: + fix spelling + +2012-10-04 17:04 carlmoore + + * [r52783] src/adrt/master/tienet_master.c: + fix spellings + +2012-10-04 17:03 n_reed + + * [r52782] src/librt/primitives/epa/epa.c: + free point lists + +2012-10-04 16:28 n_reed + + * [r52781] src/librt/librt_private.h, + src/librt/primitives/ell/ell.c, src/librt/primitives/epa/epa.c, + src/librt/primitives/primitive_util.c, + src/librt/primitives/tgc/tgc.c: + tweak logic for determining number of curve samples in adaptive + plot routines + +2012-10-04 16:23 carlmoore + + * [r52780] src/adrt/librender/camera.c: + fix spelling + +2012-10-04 15:43 carlmoore + + * [r52779] src/adrt/librender/texture_camo.c: + fix spelling + +2012-10-04 15:36 carlmoore + + * [r52778] src/adrt/slave/tienet_slave.c: + fix spelling + +2012-10-04 15:35 carlmoore + + * [r52777] src/burst/grid.c: + change ie to i.e. + +2012-10-04 15:28 carlmoore + + * [r52776] src/tclscripts/rtwizard/lib/ExamplePage.itk: + fix spelling + +2012-10-04 15:27 carlmoore + + * [r52775] src/tclscripts/rtwizard/lib/PictureTypeF.itcl: + fix spellings + +2012-10-04 15:22 carlmoore + + * [r52774] src/tclscripts/rtwizard/lib/PictureTypeE.itcl: + fix spelling + +2012-10-04 15:21 carlmoore + + * [r52773] src/tclscripts/rtwizard/lib/HelpPage.itk: + fix spelling of 'hierarchy' + +2012-10-04 15:20 carlmoore + + * [r52772] src/tclscripts/rtwizard/lib/PictureTypeC.itcl: + fix spelling + +2012-10-04 15:19 carlmoore + + * [r52771] src/tclscripts/rtwizard/lib/PictureTypeB.itcl: + fix spelling + +2012-10-04 15:16 carlmoore + + * [r52770] src/tclscripts/rtwizard/lib/MGEDpage.itk: + fix spellings + +2012-10-04 15:15 carlmoore + + * [r52769] src/tclscripts/rtwizard/lib/Wizard.itk: + fix spellings + +2012-10-04 14:48 n_reed + + * [r52768] include/dm-Null.h, src/mged/mged.c, src/mged/mged_dm.h, + src/util/pl-dm.c: + Some fixes related to recent dm changes: incorrect argument type, + need dm.h for export symbol, dm_Null recently renamed to dm_null. + +2012-10-04 14:40 carlmoore + + * [r52767] src/tclscripts/rtwizard/lib/PictureTypeD.itcl: + fix spelling + +2012-10-04 14:38 carlmoore + + * [r52766] src/tclscripts/rtwizard/lib/PictureTypeA.itcl: + fix spelling + +2012-10-04 14:37 carlmoore + + * [r52765] src/tclscripts/rtwizard/lib/HelpPage.itk: + fix spelling (change 'imbedded' to 'embedded') + +2012-10-04 14:35 carlmoore + + * [r52764] src/tclscripts/rtwizard/lib/PictureTypeE.itcl: + fix spelling + +2012-10-04 14:29 carlmoore + + * [r52763] src/tclscripts/util/luniq.tcl: + fix spelling + +2012-10-04 13:50 n_reed + + * [r52762] src/conv/step/OpenNurbsInterfaces.cpp: + remove another set but unused + +2012-10-04 13:00 bob1961 + + * [r52761] src/libged/polyclip.cpp: + Better overlap handling of polygons with more than one contour. + +2012-10-04 12:18 brlcad + + * [r52760] src/libdm/dm_util.c: + need to do the same for GLdouble data, convert from fastf_t + +2012-10-04 12:18 brlcad + + * [r52759] src/libdm/dm_obj.c: + scan into doubles, copy into fastf_t + +2012-10-04 05:29 brlcad + + * [r52758] include/dm.h, src/libdm/dm-X.c, src/libdm/dm-generic.c, + src/libdm/dm-ogl.c, src/libdm/dm-plot.c, src/libdm/dm-ps.c, + src/libdm/dm-rtgl.c, src/libdm/dm-tk.c, src/libdm/dm-wgl.c: + Nu_int0 and Nu_void begone. utilize the new null interface + functions which have properly expanded signatures for better type + checking. new functions are all prefixed with null_ + +2012-10-04 05:26 brlcad + + * [r52757] src/libdm/dm-Null.c: + implement empty stubs for all of the null interface functions + +2012-10-04 05:25 brlcad + + * [r52756] include/dm-Null.h: + flesh out declarations for all of the null interface callbacks so + that they may be usable by the other manager interfaces + +2012-10-04 05:23 brlcad + + * [r52755] include/plot3.h, src/libbn/plot3.c: + make pl_linmod() and pl_label() take constant strings + +2012-10-04 04:15 brlcad + + * [r52754] src/libdm/dm-ogl.c: + convert fastf_t to GLdouble before passing to GL calls + +2012-10-03 23:33 brlcad + + * [r52753] src/liboptical/sh_billboard.c, src/liboptical/sh_fire.c, + src/liboptical/sh_grass.c, src/liboptical/sh_toyota.c: + more double/fastf_t cleanup + +2012-10-03 23:23 brlcad + + * [r52752] src/libged/aet.c, src/libged/center.c, + src/libged/dir2ae.c, src/libged/edpipe.c, src/libged/eye.c, + src/libged/eye_pos.c, src/libged/grid.c, + src/libged/grid2model_lu.c, src/libged/grid2view_lu.c, + src/libged/human.c, src/libged/joint.c, src/libged/keypoint.c, + src/libged/lookat.c, src/libged/m2v_point.c, src/libged/make.c, + src/libged/mirror.c, src/libged/model2grid_lu.c, + src/libged/model2view.c, src/libged/model2view_lu.c, + src/libged/move_arb_edge.c, src/libged/move_arb_face.c, + src/libged/nirt.c, src/libged/ocenter.c, src/libged/orient.c, + src/libged/orotate.c, src/libged/oscale.c, + src/libged/otranslate.c, src/libged/perspective.c, + src/libged/pov.c, src/libged/protate.c, src/libged/ps.c, + src/libged/pscale.c, src/libged/ptranslate.c, src/libged/quat.c, + src/libged/rect.c, src/libged/rfarb.c, src/libged/rot.c, + src/libged/rot_point.c, src/libged/rotate_arb_face.c, + src/libged/scale.c, src/libged/select.c, + src/libged/set_transparency.c, src/libged/setview.c, + src/libged/size.c, src/libged/slew.c, src/libged/tra.c, + src/libged/v2m_point.c, src/libged/view2grid_lu.c, + src/libged/view2model_lu.c, src/libged/view2model_vec.c, + src/libged/view_obj.c, src/libged/voxelize.c, + src/libged/wdb_nirt.c, src/libged/wdb_obj.c, src/libged/ypr.c, + src/libged/zoom/zoom.c: + swooping update to support fastf_t type variability. scan into + doubles and copy into fastf_t accordingly. -2012-01-13 21:33 bob1961 +2012-10-03 23:21 brlcad - * [r48829] src/mged/edsol.c: - run 8, CID 216, DEADCODE. + * [r52751] include/dg.h: + fill our the dgo_invent_solid() parameter list. even unveiled an + incorrect caller, should have crashed/corrupted. -2012-01-13 21:28 tbrowder2 +2012-10-03 23:08 brlcad - * [r48828] src/util/pixcolors.c: - eliminated 'always false' statement (due to array type) + * [r52750] src/libged/wdb_vdraw.c: + huh? why isn't this a problem in other places? too many + parameters to dgo_invent_solid(). -2012-01-13 21:25 tbrowder2 +2012-10-03 21:19 carlmoore - * [r48827] src/util/pixcolors.c: - ws, style + * [r52749] src/tclscripts/html_library.tcl: + fix spelling -2012-01-13 21:17 tbrowder2 +2012-10-03 21:18 carlmoore - * [r48826] src/librt/comb/db_comb.c: - fix array overrun error; same problem as in commit at revision - 48780: Fixed coverity error 'overrun static'. CID 2068 + * [r52748] src/tclscripts/hv3_man_browser_test.tcl: + fix spelling -2012-01-13 21:15 r_weiss +2012-10-03 21:13 carlmoore - * [r48825] src/librt/comb/comb.c: - Updated file comb.c function rt_comb_v5_serialize. Fixed a - coverity error 'negative returns'. CID 384. + * [r52747] src/tclscripts/geometree/GeometryBrowser.tcl: + fix spellings -2012-01-13 21:11 n_reed +2012-10-03 21:12 carlmoore - * [r48824] src/util/pixbustup.c: - unchecked cl argument. CID 1508 + * [r52746] src/tclscripts/archer/Archer.tcl: + fix spelling -2012-01-13 21:08 bob1961 +2012-10-03 21:11 carlmoore - * [r48823] src/libwdb/wdb.c: - run 8, CID 213, DEADCODE. + * [r52745] src/tclscripts/archer/bgerror.tcl: + fix spelling -2012-01-13 21:07 tbrowder2 +2012-10-03 20:50 carlmoore - * [r48822] src/libged/editit.c: - quell uninitialized variable warning + * [r52744] src/tclscripts/html_library.tcl: + fix spelling -2012-01-13 21:05 tbrowder2 +2012-10-03 20:49 carlmoore - * [r48821] src/libgcv/test_bottess.c: - quell uninitialized variable warning + * [r52743] src/tclscripts/swidgets/scripts/tkgetdir.itk: + fix spelling -2012-01-13 20:56 n_reed +2012-10-03 20:42 n_reed - * [r48820] src/util/sun-pix.c: - unchecked index variable. CID 1512 + * [r52742] src/librt/primitives/epa/epa.c: + fix parabola plotting for arbitrary vectors -2012-01-13 20:54 bob1961 +2012-10-03 19:37 carlmoore - * [r48819] src/irprep/secpass.c: - run 8, CID 180, DEADCODE. + * [r52741] src/tclscripts/mged/text.tcl: + fix spellings -2012-01-13 20:52 indianlarry +2012-10-03 19:07 carlmoore - * [r48818] src/sig/syn.c: - casted to force expected(?) branching and index wrap. addresses - coverity run 8 CID 330 + * [r52740] src/tclscripts/html_library.tcl: + fix spelling -2012-01-13 20:48 tbrowder2 +2012-10-03 19:01 carlmoore - * [r48817] src/libgcv/test_bottess.c: - unwrap macros so we can see what is happening + * [r52739] doc/mged/h.tex: + fix spellings -2012-01-13 20:29 tbrowder2 +2012-10-03 19:00 carlmoore - * [r48816] src/librt/primitives/nmg/nmg_tri.c: - quell uninitialized variable warning + * [r52738] doc/mged/m.tex: + change eg to e.g. -2012-01-13 20:28 tbrowder2 +2012-10-03 18:59 carlmoore - * [r48815] src/librt/primitives/nmg/nmg_misc.c: - quell uninitialized variable warning + * [r52737] doc/mged/k.tex: + supply periods for i.e., and fix spellings -2012-01-13 20:09 erikgreenwald +2012-10-03 18:57 carlmoore - * [r48814] src/mged/mged.c: - verify non-0 length buffers first element is not zero. Cov1485 + * [r52736] doc/mged/g.tex: + supply the periods for ie and eg -2012-01-13 20:04 bob1961 +2012-10-03 18:56 carlmoore - * [r48813] src/conv/stl/stl-g.c: - run 8, CID 178-179, DEADCODE. + * [r52735] doc/mged/e.tex: + change eg to e.g., and remove 1st s from 'users's' -2012-01-13 20:02 erikgreenwald +2012-10-03 18:54 carlmoore - * [r48812] src/util/pixcolors.c: - verify unsigned char is [0,255]. Cov1509 + * [r52734] doc/mged/a.tex: + fix spelling -2012-01-13 19:58 bob1961 +2012-10-03 18:54 carlmoore - * [r48811] src/conv/proe-g.c: - run 8, CID 177, DEADCODE. + * [r52733] doc/mged/t1.tex: + fix spelling -2012-01-13 19:58 brlcad +2012-10-03 18:33 n_reed - * [r48810] src/proc-db/brepintersect.cpp: - initialize all of the class fields. fixes report from coverity - UNINIT_CTOR check. (cid 1665) + * [r52732] src/librt/primitives/epa/epa.c: + plot axis parabolas -2012-01-13 19:57 erikgreenwald +2012-10-03 17:59 carlmoore - * [r48809] src/util/buffer.c: - verify bu_temp_file returned a valid handle before using it. - Cov571 + * [r52731] doc/html/manuals/mged/mged.html: + fix spellings -2012-01-13 19:55 erikgreenwald +2012-10-03 17:55 carlmoore - * [r48808] src/mged/vrlink.c: - verify buf is not null. Cov568 + * [r52730] doc/mged/e.tex: + fix spellings and remove an embedded blank -2012-01-13 19:54 n_reed +2012-10-03 16:53 carlmoore - * [r48807] src/sig/dconv.c: - potentially indexing one past last. CID 428 + * [r52729] doc/mged/b.tex: + fix spelling -2012-01-13 19:54 erikgreenwald +2012-10-03 16:50 carlmoore - * [r48806] src/mged/mged.c: - verify dm entry is not null before shutting it down. Cov553 + * [r52728] doc/html/manuals/shaders/camo.html: + fix spellings -2012-01-13 19:54 brlcad +2012-10-03 16:48 carlmoore - * [r48805] src/librt/primitives/brep/brep.cpp: - initialize all of the class fields. fixes report from coverity - UNINIT_CTOR check. (cid 1663) + * [r52727] doc/html/manuals/mged/shaders.html: + and fix spelling of 'Abbreviation' -2012-01-13 19:51 erikgreenwald +2012-10-03 16:43 carlmoore - * [r48804] src/mged/chgview.c: - verify output of path_parse is not null. Cov552 + * [r52726] doc/html/manuals/mged/shaders.html: + oops, fix another spelling -2012-01-13 19:51 r_weiss +2012-10-03 16:42 carlmoore - * [r48803] src/librt/comb/comb.c: - Updated comb.c. fixed overrun static errors. + * [r52725] doc/html/manuals/mged/shaders.html: + fix spellings -2012-01-13 19:51 indianlarry +2012-10-03 16:40 carlmoore - * [r48802] src/sig/smod.c: - increase static size of clip_l[] and clip_h[] to match mapbuf[] - since initialized together. Fixes coverity Run 8 CID 429 + * [r52724] doc/html/manuals/mged/outline: + fix spelling of (Mm)atrices -2012-01-13 19:50 bob1961 +2012-10-03 16:38 carlmoore - * [r48801] src/lgt/reflect.c: - run 8, CID 181-185, DEADCODE. It is impossible for failure to be - set to PT_BEHIND or PT_EYE in the Get_Partition macro. If it gets - into this section it will always be set to PT_GRID. + * [r52723] src/tclscripts/igraph/GraphEditor.tcl: + fix spelling -2012-01-13 19:47 brlcad +2012-10-03 16:36 carlmoore - * [r48800] src/libpc/pcVariable.cpp: - UNINIT_CTOR, cid 1659. initialize all class fields in - constructors. + * [r52722] src/tclscripts/helplib.tcl: + fix spellings -2012-01-13 19:44 brlcad +2012-10-03 16:15 n_reed - * [r48799] src/libpc/pcParser.cpp: - UNINIT_CTOR, cid 1658. initialize all class fields in - constructors. + * [r52721] src/librt/primitives/epa/epa.c: + add drawing of elliptical cross sections to new plot code -2012-01-13 19:39 r_weiss +2012-10-03 14:36 carlmoore - * [r48798] src/libfb/fbserv_obj.c: - Update file fbserv_obj.c functions fbs_rfbzoom fbs_rfbwriterect - fbs_rfbwrite fbs_rfbwindow fbs_rfbview fbs_rfbsetcursor - fbs_rfbscursor fbs_rfbreadrect fbs_rfbreadrect fbs_rfbread - fbs_rfbread fbs_rfbhelp fbs_rfbcursor fbs_rfbclear - fbs_rfbbwwriterect fbs_rfbbwreadrect fbs_rfbbwreadrectw. Did code - cleanup and worked on coverity error 'reverse inull' for these - functions. Coverity CIDs 535-548. + * [r52720] doc/html/manuals/mged/mged_gui.html: + fix spellings (including those of 'listbox' and 'globbing') -2012-01-13 19:39 brlcad +2012-10-03 14:33 carlmoore - * [r48797] src/libpc/pcParameter.cpp: - UNINIT_CTOR, cid 1657. initialize all class fields in - constructors. + * [r52719] doc/html/manuals/mged/mged_cmd_index.html: + fix a spelling but I don't know about 'Transrom' being correct + (so had to leave it as is) -2012-01-13 19:35 brlcad +2012-10-03 14:31 bob1961 - * [r48796] src/libpc/pcNetwork.cpp: - init v and e (cid 1656) + * [r52718] src/libged/polyclip.cpp: + More tweaks to ged_polygons_overlap() to handle more cases. -2012-01-13 19:26 erikgreenwald +2012-10-03 14:30 carlmoore - * [r48795] src/libged/put_comb.c: - test comb after BU_GET. Cov549 + * [r52717] doc/html/manuals/mged/mged3.html: + fix spellings (notice 'camouflage' was fixed in a quoted string) -2012-01-13 19:23 brlcad +2012-10-03 14:25 carlmoore - * [r48794] src/libpc/pcConstraint.cpp: - initialize all class members, UNINIT_CTOR (cid 1652) + * [r52716] src/tclscripts/lib/TableView.tcl: + fix spelling and add a missing blank -2012-01-13 19:23 erikgreenwald +2012-10-03 13:46 n_reed - * [r48793] src/conv/shp/shapelib/shpopen.c: - test mallocs before dereferencing. Cov518 + * [r52715] src/librt/primitives/epa/epa.c: + check arguments to increase confidence that point is properly set -2012-01-13 19:22 indianlarry +2012-10-03 12:13 brlcad - * [r48792] src/mged/track.c: - wrong variable being initialized, fixes coverity run 8 CID 427 + * [r52714] src/libged/dg_obj.c, src/libged/dir2ae.c: + more scan into double, copy into fastf_t -2012-01-13 19:19 starseeker +2012-10-03 12:09 brlcad - * [r48791] src/conv/intaval/read_dra.cpp: - Check form.npts - CID 1465 + * [r52713] src/libged/center.c, src/libged/combmem.c: + scan into double, copy into fastf_t -2012-01-13 19:19 erikgreenwald +2012-10-03 10:54 erikgreenwald - * [r48790] src/librt/primitives/nmg/nmg_misc.c: - test i_fus before dereferencing. Cov517 + * [r52712] src/librt/primitives/epa/epa.c: + quell uninitialized variable warning -2012-01-13 19:14 brlcad +2012-10-03 05:44 brlcad - * [r48789] src/conv/intaval/regtab.h: - initialize all of the wmember entities in the constructor. this - addresses an UNINIT_CTOR check being reported by coverity due to - three uninitialized fields (addHead.wm_name, excludeHead.wm_name, - head.wm_name). doesn't seem to be critical, but for general - safety. (cid 1647) + * [r52711] src/libged/adc.c, src/libged/ae2dir.c, src/libged/aet.c, + src/libged/arb.c, src/libged/arot.c: + more scanning into doubles instead of fastf_t and other fastf_t + cleanup -2012-01-13 19:13 starseeker +2012-10-03 05:34 brlcad - * [r48788] src/conv/dem-g.c: - Use realpath to validate av[1] - CID 1464 + * [r52710] src/libgcv/wfobj/tri_face.c: + we're looking for the point by value, so we can set the values + into an array instead of using a pointer (for + getPointReference()). -2012-01-13 19:13 brlcad +2012-10-03 05:28 brlcad - * [r48787] include/wdb.h: - add a WMEMBER_INIT_ZERO static initializer and a WMEMBER_INIT() - macro for initializing wmember structs. + * [r52709] src/libbn/bntester.c: + use fastf_t where needed -2012-01-13 19:12 erikgreenwald +2012-10-03 05:25 brlcad - * [r48786] src/librt/primitives/hf/hf.c: - test stp before dereferencing it. Cov551 + * [r52708] src/librt/primitives/pnts/pnts.c: + clean up packing and unpacking of pnt primitive data. cannot use + fastf_t types for serialization, need double containers. -2012-01-13 19:09 erikgreenwald +2012-10-03 05:24 brlcad - * [r48785] src/conv/iges/getcurve.c: - test splroot for NULL early. Cov515 + * [r52707] src/librt/vlist.c: + scan into doubles, not fastf_t -2012-01-13 19:05 n_reed +2012-10-03 05:21 brlcad - * [r48784] src/mged/edsol.c: - bad constant index (typo). CID 426 + * [r52706] include/bn.h: + make the bn_poly_t coefficients be fastf_t instead of double. the + root solver might need doubles for roots to converge properly, + but there's no indication of that limitation since the fields + were originally added in r12507 (1996). making them be fastf_t + helps maintain type consistency with callers using other bn types -2012-01-13 19:04 indianlarry +2012-10-03 04:51 brlcad - * [r48783] src/libged/wdb_vdraw.c: - Added static bounds check for bn_vlist arrays cmd[BN_VLIST_CHUNK] - and pt[BN_VLIST_CHUNK]. Coverity run 8 CIDs 420 and 421 + * [r52705] src/librt/primitives/nmg/nmg_rt_isect.c: + more double-to-fastf_t conversion for consistency -2012-01-13 18:53 erikgreenwald +2012-10-03 04:49 brlcad - * [r48782] src/libfb/fbserv_obj.c: - test buf before accessing. + * [r52704] src/librt/primitives/epa/epa.c: + v isn't used in the new plot routine, get rid of it -2012-01-13 18:50 n_reed +2012-10-03 04:47 brlcad - * [r48781] src/librt/primitives/hf/hf.c: - unchecked index. CID 425 + * [r52703] src/librt/primitives/nmg/nmg_pt_fu.c: + change dist to a fastf_t to match the parameter usage and be + type-consistent with the other bn types -2012-01-13 18:45 r_weiss +2012-10-03 04:43 brlcad - * [r48780] src/librt/comb/db_comb.c: - Updated file db-comb.c function db_wrap_v4_external. Fixed - coverity error 'overrun static'. CID 2068. + * [r52702] src/librt/primitives/metaball/metaball.c: + shouldn't scan into fastf_t, use doubles instead -2012-01-13 18:42 erikgreenwald +2012-10-02 21:44 carlmoore - * [r48779] src/mged/fbserv.c: - test buf before accessing. + * [r52701] doc/html/manuals/mged/mged1.html: + fix spellings -2012-01-13 18:36 n_reed +2012-10-02 21:21 carlmoore - * [r48778] src/anim/anim_orient.c, src/libged/ypr.c: - more swapped args to anim_mat2ypr. CID 417 + * [r52700] doc/html/manuals/mged/ged.tex: + remove embedded blank, change ie to i.e. and eg to e.g., fix + spellings -2012-01-13 18:35 starseeker +2012-10-02 20:55 carlmoore - * [r48777] src/conv/asc/pix2asc.c: - Try to check the pix characters... little surprised this is - giving a TAINTED_SCALAR warning... CID 1463 + * [r52699] doc/html/manuals/mged/ged.html: + fix spellings, remove 1 embedded blank, change ie to i.e., change + eg to e.g.) + -2012-01-13 18:35 erikgreenwald +2012-10-02 20:38 carlmoore - * [r48776] src/mged/fbserv.c: - test buf for null. Cov561 + * [r52698] src/tclscripts/lib/Command.tcl: + fix spellings -2012-01-13 18:34 erikgreenwald +2012-10-02 19:58 carlmoore - * [r48775] src/mged/fbserv.c: - test buf for null. Cov559 + * [r52697] src/tclscripts/lib/View.tcl: + fix spelling -2012-01-13 18:33 erikgreenwald +2012-10-02 18:11 n_reed - * [r48774] src/mged/fbserv.c: - test buf for null. Cov558 + * [r52696] src/librt/primitives/epa/epa.c, + src/librt/primitives/table.c: + beginnings of adaptive plot routine for epa -2012-01-13 18:32 erikgreenwald +2012-10-02 17:10 carlmoore - * [r48773] src/mged/fbserv.c: - test buf for null. Cov557 + * [r52695] doc/html/manuals/mged/brlcad_glossary.html: + fix spelling -2012-01-13 18:29 r_weiss +2012-10-02 16:59 carlmoore - * [r48772] src/libged/get_solid_kp.c: - Updated file ged_solid_kp.c function _ged_get_solid_keypoint. - Fixed a coverity 'overrun static' error. CID 1750. + * [r52694] doc/html/manuals/mged/animmate/viewget.html: + fix spelling -2012-01-13 18:29 erikgreenwald +2012-10-02 16:53 carlmoore - * [r48771] src/mged/fbserv.c: - test buf for null. Cov556 + * [r52693] doc/cmap.5: + fix spelling -2012-01-13 18:24 erikgreenwald +2012-10-02 16:50 carlmoore - * [r48770] src/mged/fbserv.c: - test buf for null. Cov565 + * [r52692] src/other/iwidgets/generic/entryfield.itk: + fix spellings except do not change 'hexidecimal' if it's in a + program statement -2012-01-13 18:22 erikgreenwald +2012-10-02 16:45 carlmoore - * [r48769] src/mged/fbserv.c: - test buf for null. Cov566 + * [r52691] src/other/iwidgets/demos/html/entryfield.n.html: + fix spellings -2012-01-13 18:20 erikgreenwald +2012-10-02 16:41 carlmoore - * [r48768] src/mged/fbserv.c: - test buf for null. Cov567 + * [r52690] src/other/tcl/win/coffbase.txt: + fix spelling -2012-01-13 18:19 brlcad +2012-10-02 16:35 carlmoore - * [r48767] src/conv/intaval/regtab.h: - the Region forward decl is unnecessary. the class is declared in - here and nothing uses it between this decl and the class decl. + * [r52689] src/lgt/lgt.1: + fix spelling -2012-01-13 18:17 n_reed +2012-10-02 16:31 carlmoore - * [r48766] src/libged/move_arb_face.c: - insufficient index checking. CID 413 + * [r52688] src/lgt/prnt.c: + fix spelling -2012-01-13 18:17 erikgreenwald +2012-10-02 16:29 carlmoore - * [r48765] src/mged/fbserv.c: - test buf for null. Cov555 + * [r52687] doc/html/manuals/mged/animmate/view_tut.html: + fix spellings -2012-01-13 18:15 erikgreenwald +2012-10-02 16:26 carlmoore - * [r48764] src/mged/fbserv.c: - test buf for null. Cov554 + * [r52686] doc/html/manuals/mged/animmate/vdraw.html: + fix spelling -2012-01-13 18:14 brlcad +2012-10-02 16:15 carlmoore - * [r48763] src/mged/update.c: - mark the 'done' variable as volatile since it's updated via Tk, - possibly asynchronously. should quell coverity INFINITE_LOOP - report (cid 320). + * [r52685] doc/html/manuals/mged/animmate/tscript_doc.html: + fix spelling and change a 'to' to 'too' -2012-01-13 18:14 erikgreenwald +2012-10-02 16:01 carlmoore - * [r48762] src/mged/fbserv.c: - test buf for null. Cov560 + * [r52684] doc/html/manuals/mged/animmate/track_tut.html: + fix spellings -2012-01-13 18:09 tbrowder2 +2012-10-02 15:57 carlmoore - * [r48761] TODO: - add reference to more items to do for STEP code + * [r52683] doc/html/manuals/mged/animmate/table_doc.html: + fix spellings, remove a blank, and change ie to i.e.) -2012-01-13 18:07 brlcad +2012-10-02 15:55 carlmoore - * [r48760] src/mged/clone.c: - prevent a bonefide infinite loop bug introduced when bu_getopt() - was pulled out of an option parsing loop. coverity detected via - INFINITE_LOOP check (cid 319). + * [r52682] doc/html/manuals/mged/animmate/tabinterp.html: + fix spellings -2012-01-13 18:01 erikgreenwald +2012-10-02 15:53 carlmoore - * [r48759] src/util/bwcrop.c: - verify xval before using as loop bound. Cov1496 + * [r52681] doc/html/manuals/mged/animmate/rt.html: + fix spelling -2012-01-13 17:51 indianlarry +2012-10-02 15:43 brlcad - * [r48758] src/librt/comb/comb.c: - Check for overrunning static array buffer Run 8 CID 422,423 + * [r52680] TODO: + looks like v5 database I/O isn't geared to read/write fastf_t + correctly -2012-01-13 17:50 brlcad +2012-10-02 15:16 brlcad - * [r48757] src/librt/primitives/nmg/nmg_fcut.c: - looks like the section of code immediately preceding handles the - WEDGE2_IDENTICAL case, and was intentionally added back in r7584 - by mike to test for TOUCHing wedges first. so can remove the - prior stale case detected by coverity DEADCODE check (cid 210). + * [r52679] src/librt/primitives/dsp/dsp.c: + convert most (but not all) instances of double to fastf_t -2012-01-13 17:50 n_reed +2012-10-02 15:11 brlcad - * [r48756] src/irprep/ir-X.c: - comparing index against wrong constant. CID 406 + * [r52678] src/librt/primitives/brep/brep.cpp, + src/librt/primitives/brep/brep_debug.cpp: + mass conversion from using double to fastf_t. this along with + removing several decostifying bogus casts should help the + compiler avoid type conversions -2012-01-13 17:50 erikgreenwald +2012-10-02 15:07 brlcad - * [r48755] src/fb/gif2fb.c: - hoist width/height expansion and verify values. Cov1475 + * [r52677] include/nurbs.h: + constness propagation. there were several casts being used in the + implementation simply to de-const a variable! the functions + should have been marked const in the first place. change the + closesttrim parameter from fastf_t to double to quell promotion + warning. -2012-01-13 17:44 starseeker +2012-10-02 14:41 carlmoore - * [r48754] src/conv/asc/asc2pix.c: - Check both lower bound as well - CID 1462 + * [r52676] doc/html/manuals/mged/animmate/pixtile.html: + fix spelling -2012-01-13 17:38 erikgreenwald +2012-10-02 14:39 carlmoore - * [r48753] src/vdeck/vdeck.c: - explicitly track remaining buffer and use that for dirname copy - bound. Cov1272 + * [r52675] src/librt/primitives/nmg/nmg_mod.c: + remove trailing blank/tab, fix spellings (including 'statement' + in a comment by JRA) -2012-01-13 17:36 starseeker +2012-10-02 14:30 carlmoore - * [r48752] src/conv/patch/patch-g.c: - check num ranges - CID 1470 + * [r52674] include/vmath.h: + remove a trailing blank/tab and change ie to i.e. -2012-01-13 17:34 brlcad +2012-10-02 14:27 carlmoore - * [r48751] src/librt/primitives/nmg/nmg_fcut.c: - if it's an unknown wedge class type, then the code falls through - and probably does bad things, but it at least logs a message now. - relates to coverity MISSING_BREAK cid 357 from erik and cid 358 - too. + * [r52673] src/tclscripts/vmath.tcl: + fix spelling -2012-01-13 17:34 bob1961 +2012-10-02 14:24 carlmoore - * [r48750] src/libged/editit.c: - Modified _ged_editit() to do some kind of last ditch check for an - editor if editstring is NULL. This gets edcodes etc. working with - archer. Not tested on windows. + * [r52672] src/tclscripts/lib/Db.tcl: + fix spelling -2012-01-13 17:30 r_weiss +2012-10-02 14:14 carlmoore - * [r48749] src/librt/primitives/arb8/arb8.c: - Updated file 'arb8.c' and 'struct arb_specific'. This change was - to correct a coverity error 'overrun static' in function - 'rt_arb_vshot'. CID 424. + * [r52671] doc/html/manuals/mged/animmate/oscript_doc.html: + fix spellings -2012-01-13 17:27 erikgreenwald +2012-10-02 14:13 carlmoore - * [r48748] src/vdeck/vdeck.c: - copy directory entry length + * [r52670] doc/html/manuals/mged/animmate/object_tut.html: + change ie to i.e., and fix spelling -2012-01-13 17:23 brlcad +2012-10-02 14:11 carlmoore - * [r48747] src/libged/make_name.c: - looks like the fallthrough to the Usage statement was - intentional, but make it explicit anyways. coverity reported a - MISSING_BREAK due to the ambiguity. + * [r52669] doc/html/manuals/mged/animmate/fbanim.html: + fix spelling and change ie to i.e. -2012-01-13 17:18 n_reed +2012-10-02 14:09 carlmoore - * [r48746] src/anim/anim_keyread.c, src/anim/anim_lookat.c, - src/anim/anim_orient.c: - swapped arguments to anim_mat2ypr. CID 401, 402, 403 + * [r52668] doc/html/manuals/mged/animmate/chan_mult.html: + fix spelling -2012-01-13 17:12 erikgreenwald +2012-10-02 14:08 carlmoore - * [r48745] src/bwish/input.c: - verify read character is not 0. Cov1461 + * [r52667] doc/html/manuals/mged/animmate/animate.html: + fix spellings -2012-01-13 17:12 brlcad +2012-10-02 14:04 carlmoore - * [r48744] src/fb/pl-fb.c: - at a glance, looks like the two MISSING_BREAK detections from - coverity (cid 342,343) are intentional fall-through cases so - document them as such to quell the warning. + * [r52666] doc/html/manuals/mged/animmate/anim_turn.html: + fix spellings -2012-01-13 17:09 bob1961 +2012-10-02 14:03 carlmoore - * [r48743] src/libged/edcodes.c: - run 8, CID 198, DEADCODE. + * [r52665] doc/html/manuals/mged/animmate/anim_track.html: + fix spellings (dictionary did have 'catenary') and change ie to + i.e. -2012-01-13 17:09 n_reed +2012-10-02 13:55 carlmoore - * [r48742] src/anim/anim_cascade.c: - misordered arguments. CID 400 + * [r52664] doc/html/manuals/mged/animmate/anim_sort.html: + fix spellings -2012-01-13 17:07 bob1961 +2012-10-02 13:53 carlmoore - * [r48741] src/mged/utility1.c: - Fixed a bug. Shouldn't be adding 1 to argc in call to - ged_edcodes. + * [r52663] doc/html/manuals/mged/animmate/anim_script.html: + oops, fix more spellings -2012-01-13 17:07 erikgreenwald +2012-10-02 13:51 carlmoore - * [r48740] src/rt/rtshot.c: - test number of rings for a legit value. Cov1488 + * [r52662] doc/html/manuals/mged/animmate/anim_script.html: + fix spellings -2012-01-13 17:00 n_reed +2012-10-02 13:49 carlmoore - * [r48739] src/conv/iges/trimsurf.c: - Static string can't have NULL address. Do empty check instead. - CID 392 + * [r52661] doc/html/manuals/mged/animmate/anim_orient.html: + fix spelling -2012-01-13 16:55 n_reed +2012-10-02 13:48 carlmoore - * [r48738] src/conv/iges/convsurf.c: - Static string can't have NULL address. Do empty check instead. - CID 391 + * [r52660] doc/html/manuals/mged/animmate/anim_keyread.html: + fix spelling and remove a trailing 's' -2012-01-13 16:49 r_weiss +2012-10-02 13:47 carlmoore - * [r48737] src/libged/put.c: - Updated file put.c function ged_put. Fixed coverity error - 'overrun static'. CID 414. + * [r52659] doc/html/manuals/mged/animmate/anim_fly.html: + fix spellings -2012-01-13 16:48 n_reed +2012-10-02 13:07 erikgreenwald - * [r48736] src/conv/dxf/dxf-g.c: - Static string can't have NULL address. Do empty check instead. - CID 390 + * [r52658] src/libbn/tcl.c: + woops, need all declarations before code -2012-01-13 16:46 erikgreenwald +2012-10-02 12:24 erikgreenwald - * [r48735] src/util/pl-pl.c: - collapse logic, removing a variable. Explicitly cast to short on - return. Cov331 + * [r52657] src/libbn/tcl.c: + quell uninitialized variable warnings -2012-01-13 16:45 brlcad +2012-10-02 12:20 erikgreenwald - * [r48734] src/libged/inside.c: - idb_type just might be negative if an object is initialized with - RT_DB_INTERNAL_INIT() and never filled in with internal details. - prevents a potential (albeit unlikely) crash, detected by - NEGATIVE_RETURNS coverity check (cid 383) + * [r52656] src/librt/primitives/revolve/revolve.c: + quell uninitialized variable warnings -2012-01-13 16:42 r_weiss +2012-10-02 04:44 brlcad - * [r48733] src/libged/wdb_obj.c: - Updated file wdb_obj.c function wdb_put_cmd. Fixed a coverity - error 'overrun static'. CID 419. + * [r52655] src/librt/primitives/brep/brep.cpp: + remove double-included nurbs.h header -2012-01-13 16:31 brlcad +2012-10-02 04:36 brlcad - * [r48732] src/lgt/do_options.c: - another unclosed file pointer. coverity RESOURCE_LEAK check (cid - 474) + * [r52654] include/dvec.h, include/nurbs.h, include/vector_fpu.h, + src/libnurbs/PullbackCurve.cpp, src/libnurbs/opennurbs_ext.cpp: + don't assume fastf_t is a double, be consistent with usage. + overload functions with float/double types where warranted too. -2012-01-13 16:31 n_reed +2012-10-02 04:34 brlcad - * [r48731] src/lgt/prnt.c: - said NULL, meant '\0'. CID 389 + * [r52653] src/librt/primitives/brep/brep.cpp: + opennurbs GetBBox routine does require double parameters, so need + to capture the values in an ON_3dPoint before giving them back to + the caller as point_t -2012-01-13 16:29 starseeker +2012-10-02 04:20 brlcad - * [r48730] src/util/ttcp.c: - Do some input validation for ttcp - CID 1513 + * [r52652] TODO, src/librt/primitives/arbn/arbn.c: + plane equations should be being written out always as doubles for + size consistency. when reading them back in, don't assume + anything -- read them as doubles. this warrants some manual + testing to make sure i didn't fluxxor the indices. -2012-01-13 16:23 brlcad +2012-10-02 03:29 brlcad - * [r48729] src/lgt/do_options.c: - free the file pointer we just opened. RESOURCE_LEAK coverity - check (cid 475) + * [r52651] src/libbn/tcl.c: + scan into the correct container and convert as needed -2012-01-13 16:22 erikgreenwald +2012-10-02 03:28 brlcad - * [r48728] src/util/sun-pix.c: - test image size in double space for possible overflow. Cov332 + * [r52650] src/libbn/tabdata.c: + don't assume fastf_t == double, scan appropriately -2012-01-13 16:21 brlcad +2012-10-02 02:56 brlcad - * [r48727] src/lgt/lgt.c: - ws, indent, style + * [r52649] src/libbu/tcl.c: + hsv is fastf_t while scanf is configured for doubles. read into a + temp array and copy results after. -2012-01-13 16:20 n_reed +2012-10-02 02:51 brlcad - * [r48726] src/util/dunncomm.c: - closing an fd known to be invalid. CID 388 + * [r52648] include/bn.h: + the math constants are fastf_t, not doubles -2012-01-13 16:20 brlcad +2012-10-02 01:32 n_reed - * [r48725] src/lgt/do_options.c: - memory fail. not only not using bu_malloc() but not stashing the - pointer so we can't free it. switch it to default line buffering - for simplicity, untested. detected by coverity RESOURCE_LEAK - check (cid 476) + * [r52647] src/librt/CMakeLists.txt, src/librt/librt_private.h, + src/librt/primitives/bspline/bspline.cpp, + src/librt/primitives/ehy/ehy.c, src/librt/primitives/ell/ell.c, + src/librt/primitives/epa/epa.c, src/librt/primitives/eto/eto.c, + src/librt/primitives/hyp/hyp.c, src/librt/primitives/part/part.c, + src/librt/primitives/primitive_util.c, + src/librt/primitives/rhc/rhc.c, src/librt/primitives/rpc/rpc.c, + src/librt/primitives/tor/tor.c: + Added source file for primitive utility routines. Added routine + to replace duplicated tolerance logic. -2012-01-13 16:17 erikgreenwald +2012-10-01 23:06 brlcad - * [r48724] src/proc-db/tube.c: - test number of samples for extrapolation to avoid buffer - underrun. Cov329 + * [r52646] NEWS: + fixed a crash creating/using revolve primitives that refer to an + empty sketch (e.g., the default from 'make'). was blindly calling + allocation/dallocation routines leading to a bomb. -2012-01-13 16:15 n_reed +2012-10-01 23:06 brlcad - * [r48723] src/remrt/remrt.c: - handle invalid fd rather than passing it down. CID 386 + * [r52645] src/librt/primitives/revolve/revolve.c: + looks like there's a few other places we were blindly using + potentially empty sketches -2012-01-13 16:13 r_weiss +2012-10-01 22:51 brlcad - * [r48722] src/lgt/do_options.c: - Updated file do_options.c function f_Batch. Fixed coverity error - 'resource leak'. CID 472. + * [r52644] src/librt/primitives/revolve/revolve.c: + prevent a crash if we're presented with an empty sketch -2012-01-13 16:11 brlcad +2012-10-01 21:18 r_weiss - * [r48721] src/other/tnt/tnt_array1d.h: - fix a leak detected by coverity (cid 157) via CTOR_DTOR_LEAK - check. all of the constructors initialize data_, but the - destructor wasn't releasing it + * [r52643] src/librt/primitives/nmg/nmg_fuse.c, + src/librt/primitives/nmg/nmg_inter.c: + Within file "nmg_inter.c" updated function + "nmg_coplanar_face_vertex_fuse" to use function "nmg_vertex_fuse" + instead of its own fusing code. Updated function + "nmg_vertex_fuse" within file "nmg_fuse.c" to also accept a + bu_ptbl structure as input. -2012-01-13 16:07 bob1961 +2012-10-01 20:59 carlmoore - * [r48720] src/libged/wdb_comb_std.c: - run 8, CID 204, DEADCODE. + * [r52642] doc/html/manuals/librt/wdb_obj.html: + fix spellings -2012-01-13 16:06 brlcad +2012-10-01 20:56 carlmoore - * [r48719] src/libpkg/pkg.c: - address a race condition time-of-call, time-of-use issue detected - by coverity TOCTOU check (cid 1589) whereby the file we stat - might not be the file we open. swap the order so we still get our - stat data but reusing the file that was opened. + * [r52641] doc/html/manuals/librt/dg_obj.html: + fix spellings; remove last letter from 'with and' -2012-01-13 16:04 erikgreenwald +2012-10-01 19:45 carlmoore - * [r48718] src/conv/nmg/asc-nmg.c: - verify vertex number. Cov1468 and 324 + * [r52640] doc/html/manuals/libdm/api.html: + fix spelling -2012-01-13 16:01 brlcad +2012-10-01 19:43 carlmoore - * [r48717] src/mged/bodyio.c: - ws/indent. previous commit (r48712) message to bodyio.c should - have also said that it fixed a time-of-call, time-of-use race - condition detected by coverity TOCTOU check. (cid 1590) + * [r52639] doc/html/manuals/cadwidgets/skeleton.html: + fix spelling -2012-01-13 15:59 bob1961 +2012-10-01 19:29 r_weiss - * [r48716] src/libged/wdb_comb_std.c: - run 8, CID 203, DEADCODE. + * [r52638] include/vmath.h, src/librt/primitives/nmg/nmg_bool.c, + src/librt/primitives/nmg/nmg_class.c, + src/librt/primitives/nmg/nmg_fuse.c, + src/librt/primitives/nmg/nmg_inter.c, + src/librt/primitives/nmg/nmg_mod.c: + Updated files "vmath.h", "nmg_fuse.c", "nmg_class.c", + "nmg_mod.c", "nmg_inter.c" and "nmg_bool.c". Corrected a bug in + macro "V3RPP_DISJOINT_TOL". Updated functions + "nmg_two_face_fuse", "class_eu_vs_s", + "nmg_shell_coplanar_face_merge", "nmg_isect_eu_eu" and "nmg_bool" + to use the "V3RPP_DISJOINT_TOL" macro instead of + "V3RPP_OVERLAP_TOL". This change corrects a problem where + bounding boxes which were less than distance tolerance apart, but + not overlapping, were being skipped. -2012-01-13 15:58 starseeker +2012-10-01 19:28 carlmoore - * [r48715] src/conv/euclid/euclid-g.c: - Bounds check reg_id (somewhat more liberal than the function - itself on allowable region id values - something to look into - later.) CID 1766 + * [r52637] doc/html/manuals/cadwidgets/View.html: + fix spelling -2012-01-13 15:58 erikgreenwald +2012-10-01 18:53 carlmoore - * [r48714] src/vdeck/vdeck.c: - cast sizeof() to size_t? Cov1272 + * [r52636] doc/html/manuals/Overview.html: + fix spelling -2012-01-13 15:57 bob1961 +2012-10-01 18:47 carlmoore - * [r48713] src/libged/plot.c: - run 8, CID 200, DEADCODE. + * [r52635] src/tclscripts/boteditor/botTools.tcl: + fix spelling -2012-01-13 15:56 brlcad +2012-10-01 18:44 carlmoore - * [r48712] src/mged/bodyio.c: - it's a function, not a macro + * [r52634] doc/html/manuals/Install.html: + change ie to i.e., and fix spelling -2012-01-13 15:56 erikgreenwald +2012-10-01 18:23 brlcad - * [r48711] src/gtools/beset/population.c: - char* -> char in sizeof. Cov1266 + * [r52633] doc/html/ReleaseNotes/email2.0.html: + revert r52630 since we shouldn't be fixing old emails -2012-01-13 15:55 erikgreenwald +2012-10-01 18:23 carlmoore - * [r48710] src/gtools/beset/population.c: - char** -> char* in sizeof. Cov1265 + * [r52632] doc/html/manuals/Anim_Tutorial/chapt9.html: + fix spellings -2012-01-13 15:55 brlcad +2012-10-01 18:10 carlmoore - * [r48709] src/conv/iges/trimsurf.c: - the vertex use ends up being used too, remove it. looks like - copy-paste from another function. + * [r52631] doc/html/manuals/Anim_Tutorial/chapt4.html: + fix spellings -2012-01-13 15:54 erikgreenwald +2012-10-01 18:07 carlmoore - * [r48708] src/conv/cy-g.c: - fastf_t** -> fastf_t* in sizeof. Cov1263 + * [r52630] doc/html/ReleaseNotes/email2.0.html: + fix spellings -2012-01-13 15:49 erikgreenwald +2012-10-01 18:04 carlmoore - * [r48707] src/proc-db/contours.c: - pull npts check outside of for loop. Add upper limit test. + * [r52629] doc/html/ReleaseNotes/Rel6.0/index.html: + fix a spelling, and remove an embedded blank -2012-01-13 15:46 brlcad +2012-10-01 17:42 carlmoore - * [r48706] src/burst/ui.c: - if reading input fails, then cmdfp will be unset and passed to - fclose(). fixed. detected by coverity UNINIT check + * [r52628] doc/docbook/system/mann/en/exists.xml: + change Reexists to Research -- already committed a version of + this file today -2012-01-13 15:43 erikgreenwald +2012-10-01 17:38 carlmoore - * [r48705] src/mged/animedit.c: - minor casting fixes + * [r52627] doc/docbook/system/mann/en/make_pnts.xml: + change ie to i.e. -2012-01-13 15:41 erikgreenwald +2012-10-01 17:36 carlmoore - * [r48704] src/mged/animedit.c: - type size fix (struct directory*, not struct directory**). - Cov1270 + * [r52626] doc/docbook/system/mann/en/listeval.xml: + change ie to i.e. -2012-01-13 15:41 starseeker +2012-10-01 17:33 carlmoore - * [r48703] src/fb/fbgammamod.c: - Several memory issues in fbgammamod - CID 465-466 + * [r52625] doc/docbook/system/mann/en/lc.xml: + change ie to i.e. -2012-01-13 15:41 n_reed +2012-10-01 17:09 carlmoore - * [r48702] src/lgt/octree.c: - unchecked return from ftell. CID 380 + * [r52624] doc/docbook/system/mann/en/bot_sync.xml: + change ie to i.e. -2012-01-13 15:41 indianlarry +2012-10-01 17:04 carlmoore - * [r48701] src/librt/opennurbs_ext.cpp, src/librt/opennurbs_ext.h: - remaining constructor initialization issues turned up by - coverity. Run 8 CIDs: 1648-51,1662 + * [r52623] doc/docbook/system/mann/en/gqa.xml: + fix spelling -2012-01-13 15:40 erikgreenwald +2012-10-01 17:02 carlmoore - * [r48700] src/mged/animedit.c: - type size fix (struct directory*, not struct directory**). - Cov1271 + * [r52622] doc/docbook/system/mann/en/bot_vertex_fuse.xml: + fix spelling, and change 'form' to 'from' -2012-01-13 15:40 bob1961 +2012-10-01 16:58 carlmoore - * [r48699] src/libged/eac.c: - run 8, CID 197, DEADCODE. + * [r52621] doc/docbook/system/mann/en/anim_keyread.xml: + remove a trailing 's' and fix a spelling -2012-01-13 15:39 brlcad +2012-10-01 16:54 brlcad - * [r48698] src/librt/primitives/nmg/nmg_brep.cpp: - no need to make a model, not used (cid 1706). + * [r52620] src/conv/step/OpenNurbsInterfaces.cpp: + variables set but not used, take them out. -2012-01-13 15:38 erikgreenwald +2012-10-01 16:49 erikgreenwald - * [r48697] src/conv/off/g-off.c: - type size fix (int, not int*). Cov1264 + * [r52619] src/libtclcad/tclcad_obj.c: + initialize vars -2012-01-13 15:38 brlcad +2012-10-01 16:47 carlmoore - * [r48696] src/fb/cmap-fb.c: - the last one isn't used. UNUSED_VALUE reported from coverity (cid - 1694) + * [r52618] doc/docbook/system/mann/en/anim_orient.xml: + fix spelling -2012-01-13 15:38 bob1961 +2012-10-01 16:45 carlmoore - * [r48695] src/librt/binunif/binunif.c: - run 8, CID 193, DEADCODE. + * [r52617] doc/docbook/system/mann/en/exists.xml: + fix spelling; remove trailing 's'; add a space before trailing + period -2012-01-13 15:36 starseeker +2012-10-01 16:38 carlmoore - * [r48694] src/fb/spm-fb.c: - Free scanline - CID 467 + * [r52616] doc/docbook/system/mann/en/center.xml: + fix spelling -2012-01-13 15:36 n_reed +2012-10-01 16:37 carlmoore - * [r48693] src/gtools/remapid.c: - unhandled EOF returns. CID 378, 379 + * [r52615] doc/docbook/system/mann/en/facetize.xml: + fix spelling of 'specify' and add a missing right parenthesis -2012-01-13 15:35 brlcad +2012-10-01 16:30 carlmoore - * [r48692] src/conv/tankill/tankill-g.c: - attempt to quell UNUSED_VALUE detected by coverity (cid 1693) + * [r52614] doc/docbook/system/mann/en/search.xml: + fix spelling and remove a trailing 's' -2012-01-13 15:32 bob1961 +2012-10-01 16:27 carlmoore - * [r48691] src/libged/get_obj_bounds.c: - run 8, CID 192, DEADCODE. + * [r52613] doc/docbook/system/mann/en/edcomb.xml: + fix spelling of 'supplied', and assume that 'meged' should be + 'mged' -2012-01-13 15:30 starseeker +2012-10-01 16:18 carlmoore - * [r48690] src/fbed/fbed.c: - close file pointer - CID 468 + * [r52612] doc/docbook/system/mann/en/anim_fly.xml: + fix spelling -2012-01-13 15:28 starseeker +2012-10-01 16:17 carlmoore - * [r48689] src/fbed/fbed.c: - close file pointer - CID 469 + * [r52611] doc/docbook/system/mann/en/copyeval.xml: + fix spelling -2012-01-13 15:24 starseeker +2012-10-01 16:16 carlmoore - * [r48688] src/gtools/remapid.c: - close the file pointer - CID 471 + * [r52610] doc/docbook/system/mann/en/edit_translate.xml: + fix spelling -2012-01-13 15:22 starseeker +2012-10-01 16:15 carlmoore - * [r48687] src/lgt/texture.c: - close iconfp on error - CID 477 + * [r52609] doc/docbook/system/mann/en/edit.xml: + fix spellings -2012-01-13 15:19 starseeker +2012-10-01 16:15 brlcad - * [r48686] src/libfb/fb_generic.c: - Free memory - CID 481 + * [r52608] src/other/step/src/cldai/sdaiString.h: + turns out, c++ doesn't define the SIZE_MAX c99 constant. instead + of adding a (size_t)-1 define manually, do it the c++y-way. use + numeric_limits. -2012-01-13 15:17 bob1961 +2012-10-01 15:33 brlcad - * [r48685] src/libged/analyze.c: - run 8, CID 191, DEADCODE. + * [r52607] src/other/step/src/cldai/sdaiString.h: + should be enough to include stdint.h (if not, #define SIZE_MAX + ((size_t)-1)) -2012-01-13 15:14 n_reed +2012-10-01 15:19 carlmoore - * [r48684] src/fbed/fbed.c: - avoid using negative index. CID 377 + * [r52606] doc/docbook/system/mann/en/gqa.xml: + fix spelling -2012-01-13 15:03 r_weiss +2012-10-01 15:18 carlmoore - * [r48683] src/rt/viewarea.c: - Updated file viewarea.c function increment_assembly_counter. - Fixed a coverity 'reverse inull' error. CID 570. + * [r52605] doc/docbook/system/mann/en/anim_orient.xml: + fix spelling -2012-01-13 14:59 brlcad +2012-10-01 15:18 erikgreenwald - * [r48682] src/conv/nmg/asc-nmg.c: - faceuse is never used, fixes UNUSED_VALUE coverity issue (cid - 1692) + * [r52604] src/other/step/src/cldai/sdaiString.h: + SIZE_MAX isn't defined in a way we trigger on FBSD and Linux, but + SSIZE_MAX is, so try to use it. Hopefully that one bit isn't + important for this use... -2012-01-13 14:59 n_reed +2012-10-01 15:17 carlmoore - * [r48681] src/fbed/fbed.c: - unchecked EOF return. CID 376 + * [r52603] doc/docbook/system/mann/en/arced.xml: + fix spelling -2012-01-13 14:56 brlcad +2012-10-01 15:16 carlmoore - * [r48680] src/conv/nastran-g.c: - the first ptr is obviously not reused (strtok() is stateful), so - quell the UNUSED_VALUE coverity report by not staching the value. - (cid 1691) + * [r52602] doc/docbook/system/mann/en/picket_fence.xml: + fix spelling -2012-01-13 14:54 brlcad +2012-10-01 15:16 carlmoore - * [r48679] src/conv/iges/makegroup.c: - UNUSED_VALUE detected by coverity. returned matrix isn't used. - (cid 1690) + * [r52601] doc/docbook/system/mann/en/ev.xml: + fix spelling -2012-01-13 14:51 brlcad +2012-10-01 15:14 carlmoore - * [r48678] src/conv/iges/trimsurf.c: - unused edgeuse, reported by Coverity in UNUSED_VALUE check (cid - 1689) + * [r52600] doc/docbook/system/mann/en/edit_translate.xml: + fix spelling -2012-01-13 14:49 r_weiss +2012-10-01 02:19 brlcad - * [r48677] src/librt/primitives/ars/ars.c: - Updated file ars.c function rt_ars_import4. Fixed a coverity - 'sizeof mismatch' error. CID 1269. + * [r52599] src/other/step/src/cldai/sdaiString.cc, + src/other/step/src/cldai/sdaiString.h: + defaulting to zero truncates, so do what std::string() does and + default to max size_t -2012-01-13 14:49 bob1961 +2012-09-28 21:49 carlmoore - * [r48676] src/libged/edit.c: - run 8, CID 1727, CONSTANT EXPRESSION RESULT, part 2 + * [r52598] doc/docbook/system/man3/en/libfb.xml: + fix spellings -2012-01-13 14:47 brlcad +2012-09-28 21:47 carlmoore - * [r48675] src/rttherm/ssampview.c: - remove dead code + * [r52597] doc/docbook/system/man1/en/nirt.xml: + fix spellings -2012-01-13 14:46 bob1961 +2012-09-28 21:46 carlmoore - * [r48674] src/libged/edit.c: - run 8, CID 1727, CONSTANT EXPRESSION RESULT. + * [r52596] doc/docbook/system/man1/en/mged.xml: + fix spellings -2012-01-13 14:44 n_reed +2012-09-28 21:46 carlmoore - * [r48673] src/fb/gif2fb.c: - unchecked error return. CID 375 + * [r52595] doc/docbook/system/man1/en/rtedge.xml: + fix spellings -2012-01-13 14:41 erikgreenwald +2012-09-28 21:46 carlmoore - * [r48672] src/rttherm/ssampview.c: - comment out useless assign until tcl arg is fixed. Cov1714 + * [r52594] doc/docbook/system/man1/en/rtwizard.xml: + fix spellings -2012-01-13 14:40 erikgreenwald +2012-09-28 21:45 carlmoore - * [r48671] src/rttherm/ssampview.c: - comment out useless assign until tcl arg is fixed. Cov1713 + * [r52593] doc/docbook/system/man1/en/rt.xml: + fix spellings -2012-01-13 14:39 brlcad +2012-09-28 21:44 carlmoore - * [r48670] src/libbu/parse.c: - looks like there are a few more SIGN_EXTENSION defects being - reported by coverity. same problem, where we were loosing range - on buffer values greater than 0x7FFFFFFF (which probably would - have led to instability on crazy-large structures (approaching - 32-bit limit). unlikely an issue, but real bug nonetheless. + * [r52592] doc/old-mged.tr: + change ie to i.e. -2012-01-13 14:37 erikgreenwald +2012-09-28 21:29 carlmoore - * [r48669] src/conv/shp/shapelib/shpopen.c: - remove double-frees. Cov2070 + * [r52591] doc/docbook/specifications/en/BRL_CAD_g_format_V5.xml: + oops, some more spelling fixes -2012-01-13 14:35 indianlarry +2012-09-28 21:26 carlmoore - * [r48668] src/libpc/pcVariable.h: - Didn't interpret coverity issue last time submitted. Actually - needed to add check for list::end() before using after the the - loop to std::list:erase() elements. Relates to Run 8 CID 333. + * [r52590] doc/docbook/specifications/en/BRL_CAD_g_format_V5.xml: + fix spellings -2012-01-13 14:35 erikgreenwald +2012-09-28 20:57 carlmoore - * [r48667] src/librt/primitives/nmg/nmg_fcut.c: - log what should be an unreachable point and add a break at the - end of the case. Cov358 + * [r52589] doc/docbook/lessons/es/mged02_opciones_vistas.xml: + fix spelling of what apparently should be Spanish 'acimut' for + 'azimuth' -2012-01-13 14:34 r_weiss +2012-09-28 20:49 carlmoore - * [r48666] src/librt/primitives/nmg/nmg_mk.c: - Updated file nmg_mk.c functions nmg_kvu nmg_kfu nmg_klu nmg_ks - nmg_kr nmg_km nmg_jv nmg_keu. Removed coverity 'use after free' - errors. CIDs 1823-1832. + * [r52588] doc/docbook/lessons/es/mged05_expresiones_booleanas.xml: + fix spelling of a spanish word (presumably should end in -mente) -2012-01-13 14:32 bob1961 +2012-09-28 20:45 carlmoore - * [r48665] src/libged/analyze.c: - run 8, CID 1733, DEADCODE. + * [r52587] + doc/docbook/lessons/es/mged15_crear_camion_de_juguete.xml: + fix spelling of 'Dismiss' in this Spanish-language file -2012-01-13 14:31 n_reed +2012-09-28 19:03 carlmoore - * [r48664] src/conv/stl/g-stl.c: - using fd after open fails. CID 374 + * [r52586] + doc/docbook/lessons/es/mged09_esfera_en_caja_exhibidora.xml: + oops, I think 'Nommbre' is a misspelling too -2012-01-13 14:31 starseeker +2012-09-28 18:59 carlmoore - * [r48663] src/libfb/if_X.c: - free what has been successfully calloced on error - CID 483 + * [r52585] + doc/docbook/lessons/es/mged09_esfera_en_caja_exhibidora.xml: + fix spelling -- detected although the article is in Spanish -2012-01-13 14:30 indianlarry +2012-09-28 18:53 carlmoore - * [r48662] src/conv/step/MeasureValue.cpp: - Added initializers accidentally skipped in initial fix. Relates to - Run 8 CIDs 1987 1989 + * [r52584] doc/docbook/lessons/en/mged04_assign_mat_prop_rt.xml: + supply missing blank -2012-01-13 14:30 bob1961 +2012-09-28 18:50 carlmoore - * [r48661] src/libged/analyze.c: - run 8, CID 1734, DEADCODE. + * [r52583] + doc/docbook/lessons/en/mged02_learning_viewing_options.xml: + supply missing space -2012-01-13 14:27 starseeker +2012-09-28 17:39 bob1961 - * [r48660] src/libfb/tcl.c: - Free before return - CID 486 + * [r52582] src/tclscripts/lib/Ged.tcl: + Update cadwidgets::Ged::end_data_poly_move to apply clipping if + necessary (i.e. a contour is being moved and its final resting + place overlaps with another contour in the polygon). -2012-01-13 14:25 bob1961 +2012-09-28 17:23 carlmoore - * [r48659] src/libged/comb_std.c: - run 8, CID 1735, DEADCODE. + * [r52581] doc/docbook/lessons/en/mged03_using_insert_command.xml: + fix spelling -2012-01-13 14:18 n_reed +2012-09-28 17:22 carlmoore - * [r48658] src/conv/fast4-g.c: - unchecked return from ftell CID 373 + * [r52580] src/tclscripts/hv3/hv3.tcl: + fix spelling -2012-01-13 14:16 starseeker +2012-09-28 17:20 carlmoore - * [r48657] src/libged/bot_dump.c: - remember to fclose when erroring out - CID 487 + * [r52579] src/tclscripts/hv3/tkhtml.n: + fix spellings -2012-01-13 14:12 bob1961 +2012-09-28 17:17 carlmoore - * [r48656] src/libged/get_solid_kp.c: - run 8, CID 1736, DEADCODE. + * [r52578] src/tclscripts/hv3/hv3_encodings.tcl: + fix spelling -2012-01-13 14:08 starseeker +2012-09-28 17:15 carlmoore - * [r48655] src/librt/opennurbs_ext.cpp: - Free parent when erroring out - CID 488 + * [r52577] src/tclscripts/hv3/snit.tcl: + fix spelling -2012-01-13 14:07 brlcad +2012-09-28 17:13 carlmoore - * [r48654] NEWS, src/fb/gif2fb.c: - looks like there's an off-by-one error in gif2fb, reported by - coverity OVERRUN_STATIC check (cid 2059), that should result in a - segfault if we attempted to convert a tall non-interlaced image. + * [r52576] src/tclscripts/hv3/hv3_form.tcl: + fix spelling -2012-01-13 14:05 bob1961 +2012-09-27 21:59 carlmoore - * [r48653] src/libged/vdraw.c: - run 8, CID 1751, OVERRUN STATIC. + * [r52575] doc/docbook/articles/en/tire.xml: + fix spelling -2012-01-13 14:04 starseeker +2012-09-27 21:45 carlmoore - * [r48652] src/libged/dg_obj.c: - Don't try to fopen an output file if fdout is already non-NULL - (presumably this happens if multiple -o options are passed...) - - CID 490 + * [r52574] src/external/ProEngineer/INSTALL.txt: + fix spelling -2012-01-13 14:04 n_reed +2012-09-27 21:12 carlmoore - * [r48651] src/util/dbcp.c: - missing break. CID 367 + * [r52573] src/external/Cubit/g-sat.cpp: + fix spelling -2012-01-13 14:01 n_reed +2012-09-27 21:10 carlmoore - * [r48650] src/util/azel.c: - remove fall-through from break, CID 366 + * [r52572] src/external/Unigraphics/ug-g.c: + fix spellings (includes 'flooe' to 'floor', a guess on my part) -2012-01-13 13:58 starseeker +2012-09-27 21:06 carlmoore - * [r48649] src/libged/dg_obj.c: - remember to fclose when erroring out - CID 490 + * [r52571] doc/docbook/articles/en/TEMPLATE.xml: + fix spelling -2012-01-13 13:55 starseeker +2012-09-27 21:01 carlmoore - * [r48648] src/libged/rcodes.c: - Close fp - CID 491 + * [r52570] src/fbserv/fbserv.c: + fix spelling -2012-01-13 13:54 bob1961 +2012-09-27 04:47 brlcad - * [r48647] src/libged/vdraw.c: - run 8, CID 1737, DEADCODE. + * [r52569] src/other/openNURBS/opennurbs_point.cpp: + exact floating point comparisons are bad, but the patch included + one too. moreover, looks like the mod should be altogether + unnecessary since we can just call Length(). looks like the + change messes with the header's documented notion of a singleton. + probably worth discussing with rhino folks if we need to clean it + up since there are other exact comparisons. -2012-01-13 13:52 starseeker +2012-09-27 04:42 brlcad - * [r48646] src/libged/edcodes.c: - Close, then handle errors - CID 492 + * [r52568] src/libnurbs/opennurbs_ext.cpp: + should achieve the same effect to call Length() instead of + IsSingleton() and with considerably less computation. also allows + ON_Interval to remain unmodified. -2012-01-13 13:50 starseeker +2012-09-26 21:56 carlmoore - * [r48645] src/libged/edmater.c: - Close, then handle errors - CID 493 + * [r52567] src/libcursor/cursor.c: + fix spelling -2012-01-13 13:47 starseeker +2012-09-26 21:54 carlmoore - * [r48644] src/libged/loadview.c: - remember to fclose when erroring out - CID 494 + * [r52566] configure.ac: + fix spelling -- and did I commit a previous version TODAY? -2012-01-13 13:44 starseeker +2012-09-26 20:52 starseeker - * [r48643] src/libged/saveview.c: - remember to fclose when erroring out - CID 497 + * [r52565] src/libnurbs/opennurbs_ext.cpp: + If we've got a singleton interval, don't try going deeper with it + - leads to crashing. -2012-01-13 13:40 starseeker +2012-09-26 20:51 starseeker - * [r48642] src/libged/tree.c: - remember to fclose when erroring out - CID 498 + * [r52564] src/other/openNURBS/opennurbs_point.cpp: + Exact floating point comparisons strike again. -2012-01-13 13:36 starseeker +2012-09-26 20:28 carlmoore - * [r48641] src/libicv/rot.c: - remember to fclose - CID 499 + * [r52563] configure.ac: + fix spellings -2012-01-13 13:29 starseeker +2012-09-26 19:21 carlmoore - * [r48640] src/mged/clone.c: - remember to fclose when erroring out - CID 502 + * [r52562] sh/conversion.sh: + fix spelling -2012-01-13 13:26 starseeker +2012-09-26 19:13 carlmoore - * [r48639] src/mged/history.c: - remember to fclose when erroring out - CID 503 + * [r52561] sh/footer.sh: + fix spelling -2012-01-13 13:24 starseeker +2012-09-26 19:09 carlmoore - * [r48638] src/mged/tedit.c: - remember to fclose when erroring out - CID 504 + * [r52560] sh/sgisnap.sh: + fix spelling -2012-01-13 13:22 starseeker +2012-09-26 18:59 carlmoore - * [r48637] src/remrt/remrt.c: - remember to fclose - CID 506 + * [r52559] src/librt/primitives/nmg/nmg_bool.c: + remove trailing blank -2012-01-13 13:19 starseeker +2012-09-26 18:57 carlmoore - * [r48636] src/remrt/remrt.c: - remember to fclose - CID 507 + * [r52558] src/librt/test_botpatches.cpp: + remove trailing blanks/tabs -2012-01-13 13:17 starseeker +2012-09-26 18:55 carlmoore - * [r48635] src/rt/read-rtlog.c: - Make sure we fclose the file before returning with an error - condition - CID 508 + * [r52557] src/libged/polyclip.cpp: + remove trailing blanks/tabs -2012-01-13 13:06 starseeker +2012-09-26 18:54 carlmoore - * [r48634] src/tab/tabinterp.c: - make sure goto out also closes the fp. CID 509 + * [r52556] src/libged/bot_fuse.c: + remove a trailing blank or tab -2012-01-13 13:02 brlcad +2012-09-26 17:00 carlmoore - * [r48633] src/rt/do.c: - quell unused warning + * [r52555] misc/libtool.m4: + fix spelling -2012-01-13 12:59 starseeker +2012-09-26 16:56 carlmoore - * [r48632] src/util/pix-alias.c: - We malloced it - free it. CID 510 + * [r52554] doc/mged/f.tex: + fix spelling and change eg to e.g. -2012-01-13 12:54 starseeker +2012-09-26 16:53 carlmoore - * [r48631] src/util/pix3filter.c: - Free working_name on error cases. CID 511 + * [r52553] doc/mged/m.tex: + fix spelling, change ie to i.e., and remove space in 'over write' -2012-01-13 12:48 starseeker +2012-09-26 16:16 carlmoore - * [r48630] src/util/pixclump.c: - Close fp before it goes out of scope - CID 512 + * [r52552] doc/TODO.BREP: + fix spelling -2012-01-13 12:02 indianlarry +2012-09-26 16:14 carlmoore - * [r48629] src/conv/conv-vg2g.c, src/fb/bw-fb.c, src/fb/pix-fb.c, - src/fb/pixflip-fb.c, src/halftone/main.c, src/sig/imod.c, - src/sig/istats.c, src/sig/smod.c, src/sig/umod.c, - src/sig/ustats.c, src/util/bwmod.c, src/util/bwshrink.c, - src/util/double-asc.c, src/util/dpix-pix.c, src/util/lowp.c, - src/util/pix-yuv.c, src/util/pixbustup.c, src/util/pixdsplit.c, - src/util/pixshrink.c, src/util/pixtile.c, src/util/yuv-pix.c: - Fix to remaining tainted strings. Relates to Run 8 CIDs - 1517,1545-7,1553,1560,1570-85 + * [r52551] doc/tube.txt: + fix spellings -2012-01-13 03:02 starseeker +2012-09-26 16:10 carlmoore - * [r48628] src/liboptical/photonmap.c: - Yow. Whole lotta places we can lose FH - add fclose calls. CID - 2065 + * [r52550] doc/docbook/system/man1/en/rtedge.xml: + fix spelling -2012-01-13 02:57 starseeker +2012-09-26 14:43 carlmoore - * [r48627] src/conv/shp/shapelib/shpopen.c: - Free malloced memory if we're erroring out - CID 464 + * [r52549] doc/cvs.txt: + fix spelling of 'committed' -2012-01-13 02:30 starseeker +2012-09-26 14:37 carlmoore - * [r48626] src/anim/anim_cascade.c: - initialize vect_t variables - CID 1598 + * [r52548] doc/docbook/system/mann/en/rtarea.xml: + fix spelling -2012-01-13 02:29 starseeker +2012-09-26 14:35 carlmoore - * [r48625] src/anim/anim_keyread.c: - initialize variables = CID 1599 + * [r52547] doc/docbook/system/man1/en/rtarea.xml: + fix spelling -2012-01-13 02:26 starseeker +2012-09-26 02:17 starseeker - * [r48624] src/anim/anim_lookat.c: - Initialize vect_t variables - CID 1600 + * [r52546] src/librt/test_botpatches.cpp: + Add an untrimmed representation of the brep so we can compare + surfaces and patches. -2012-01-13 02:24 starseeker +2012-09-25 21:56 carlmoore - * [r48623] src/burst/ui.c: - Don't use cmdfile uninitialized. CID 1601 + * [r52545] doc/BRL-CAD.bib: + fix 2 spellings -2012-01-13 02:22 starseeker +2012-09-25 21:50 carlmoore - * [r48622] src/burst/ui.c: - Don't use cmdfile uninitialized. CID 1602 + * [r52544] doc/flex_to_re2c.txt: + fix spelling -2012-01-13 02:18 starseeker +2012-09-25 21:34 carlmoore - * [r48621] src/librt/primitives/nmg/nmg_misc.c: - initialize pt1 and pt2 - CID 1604 + * [r52543] doc/history.txt: + fix 'Chrysler' spelling, but this messes up the paragraph + alignment in right margin -2012-01-13 02:16 starseeker +2012-09-25 20:00 brlcad - * [r48620] src/librt/primitives/nmg/nmg_misc.c: - initialize pt1 and pt2 - CID 1608 + * [r52542] src/libged/polyclip.cpp: + if there are no contours, then winding will get used + uninitialized. fix. -2012-01-13 02:14 starseeker +2012-09-25 16:58 brlcad - * [r48619] src/conv/iges/recsize.c: - Initialize length array - CID 1609 + * [r52541] src/libged/bot_fuse.c: + bad try/catch block. have to unset the jump when you're done. + mark out_type volatile to try and quell setjmp() warning. -2012-01-13 02:12 starseeker +2012-09-25 16:57 brlcad - * [r48618] src/conv/proe-g.c: - Initialize tmp_face - CID 1611 + * [r52540] misc/CMake/FindLEX.cmake, misc/CMake/PERPLEX_Util.cmake, + src/other/perplex/CMake/RE2C_Util.cmake, + src/other/step/cmake/PERPLEX_Util.cmake: + typos carl noticed, but looks like they're all benign -2012-01-13 02:10 starseeker +2012-09-25 16:36 carlmoore - * [r48617] src/conv/stl/stl-g.c: - initialize tmp_face - CID 1612 + * [r52539] misc/CMake/DocBook.cmake: + fix spelling -2012-01-13 02:08 starseeker +2012-09-25 16:35 carlmoore - * [r48616] src/vfont/getfont.c: - Initialize width and height, but this is actually a complex - structure... curious, why not have getfont return a pointer that - can be checked for NULL, instead of the entire struct? Need - second option on what to do about initializing this 'properly'... - CID 1613 + * [r52538] misc/CMake/BRLCAD_Targets.cmake: + fix spelling -2012-01-13 01:59 starseeker +2012-09-25 16:32 carlmoore - * [r48615] src/fbserv/fbserv.c: - initialize namelen - CID 1614 + * [r52537] misc/CMake/distcheck_repo_verify.cmake.in: + fix spelling -2012-01-13 01:57 starseeker +2012-09-25 16:31 carlmoore - * [r48614] src/rt/rtshot.c: - initialize cur - CID 1615 + * [r52536] misc/CMake/RE2C_Util.cmake: + fix spelling -- apparently a variable name BUT IS IN A COMMENT -2012-01-13 01:53 starseeker +2012-09-25 16:23 carlmoore - * [r48613] src/librt/primitives/nmg/nmg_misc.c: - initialize top_pl - CID 1618 + * [r52535] misc/CMake/BRLCAD_Summary.cmake: + fix spelling -2012-01-13 01:51 starseeker +2012-09-25 16:22 carlmoore - * [r48612] src/mged/edarb.c: - use VSETALL. + * [r52534] misc/CMake/FindOSL.cmake: + fix spelling -2012-01-13 01:38 r_weiss +2012-09-25 16:20 carlmoore - * [r48611] src/libged/move_arb_edge.c, src/libged/wdb_obj.c: - Updated functions 'wdb_move_arb_edge_cmd' and - 'ged_move_arb_edge'. Coverity CID 411, 412 and 418. + * [r52533] misc/CMake/fop.cmake.in: + fix 2 spellings -2012-01-13 01:36 starseeker +2012-09-25 16:14 carlmoore - * [r48610] src/libged/ypr.c: - initialize pt CID 1620 + * [r52532] misc/CMake/distcheck_target.cmake.in: + fix spelling -2012-01-13 01:35 starseeker +2012-09-25 16:13 brlcad - * [r48609] src/mged/edarb.c: - instead of just continuing, initialize any tarb.pt entries that - aren't set by the primary permutation entries. CID 1628 + * [r52531] db/Makefile.am, regress/mged.sh, + regress/mged/Makefile.am, src/other/hv3/Makefile.am, + src/tclscripts/Makefile.am, src/tclscripts/archer/Makefile.am, + src/tclscripts/geometree/Makefile.am, + src/tclscripts/hv3/Makefile.am, + src/tclscripts/igraph/Makefile.am, + src/tclscripts/lib/Makefile.am, src/tclscripts/mged/Makefile.am, + src/tclscripts/pl-dm/Makefile.am, + src/tclscripts/rtwizard/Makefile.am, + src/tclscripts/rtwizard/lib/Makefile.am, + src/tclscripts/sdialogs/Makefile.am, + src/tclscripts/sdialogs/scripts/Makefile.am, + src/tclscripts/swidgets/Makefile.am, + src/tclscripts/swidgets/scripts/Makefile.am, + src/tclscripts/util/Makefile.am: + categorically fix a top_buildir/top_builddir typo carl noticed. + explains some of the prior issues running from a build dir on + mac. -2012-01-13 01:20 starseeker +2012-09-25 16:12 carlmoore - * [r48608] src/mged/edsol.c: - Initialize vectors - CID 1629 + * [r52530] misc/CMake/FindTCL.cmake: + fix spelling -2012-01-13 01:17 starseeker +2012-09-25 16:10 carlmoore - * [r48607] src/mged/polyif.c: - Initialize the point count variable - CID 156 + * [r52529] misc/CMake/distcheck_autotools.cmake.in: + fix spelling in a quoted string -2012-01-12 21:54 r_weiss +2012-09-25 16:09 carlmoore - * [r48606] src/libged/nmg_simplify.c: - Update to function 'ged_nmg_simplify'. Improved success of ARB - and TGC simplification. + * [r52528] misc/CMake/Distcheck.cmake: + fix 2 spellings -2012-01-12 21:40 brlcad +2012-09-25 16:01 brlcad - * [r48605] src/rt/do.c: - whoa nelly, fix them errors on the right side + * [r52527] src/libged/bot_fuse.c: + quell may be used uninitialized -2012-01-12 21:38 n_reed +2012-09-25 15:19 starseeker - * [r48604] src/util/asc-pl.c: - missing breaks. CID 364 + * [r52526] src/librt/CMakeLists.txt: + Not ready to turn these on generally. -2012-01-12 21:34 brlcad +2012-09-25 15:18 starseeker - * [r48603] src/rt/do.c: - rewrite the snippet of code in rt that detects a partial result - in order to avoid a time-of-call, time-of-use race condition. - (cov 1591) + * [r52525] src/librt/CMakeLists.txt, src/librt/test_botpatches.cpp: + Fix face to patch mappings... still getting some invalid + pullbacks. -2012-01-12 21:32 n_reed +2012-09-25 02:36 starseeker - * [r48602] src/mged/edsol.c: - missing break. CID 363 + * [r52524] src/librt/test_botpatches.cpp: + Tweak uv getclosestpoint logic. -2012-01-12 21:27 n_reed +2012-09-25 02:01 starseeker - * [r48601] src/libtclcad/tclcad_obj.c: - missing breaks. CID 361, CID 362 + * [r52523] src/librt/test_botpatches.cpp: + Make sure to include the zero point... -2012-01-12 21:17 starseeker +2012-09-24 21:46 starseeker - * [r48600] src/rt/rtscale.c: - initialize new_min and new_max - CID 1631, 1632 + * [r52522] src/librt/test_botpatches.cpp: + Sample curves to tighten edges - looks promising, but not fully + working. -2012-01-12 21:17 n_reed +2012-09-24 14:38 Abhi2011 - * [r48599] src/libtclcad/tclcad_obj.c: - missing breaks. CID 359 + * [r52521] src/libged/simulate/simphysics.cpp, + src/libged/simulate/simulate.c: + Removed all the logging lines. -2012-01-12 21:15 bob1961 +2012-09-24 14:20 starseeker - * [r48598] src/libged/move_arb_edge.c: - run 6, CID 412, OVERRUN STATIC. + * [r52520] src/libnurbs/opennurbs_fit.cpp: + Remove some debugging output. -2012-01-12 21:08 starseeker +2012-09-23 16:59 Abhi2011 - * [r48597] src/libbn/vert_tree.c, src/libgcv/test_bottess.c, - src/liboptical/sh_light.c, src/librt/primitives/nmg/nmg_tri.c, - src/mged/chgview.c, src/mged/rtif.c, src/mged/titles.c, - src/rt/rtwalk.c, src/rt/view.c, src/util/pixborder.c: - Use the VINIT_ZERO define and friends. + * [r52519] src/libged/simulate/simulate.c: + Removed all scaling stuff. The modeling units for the simulate + command is mm. Meters wont work. -2012-01-12 21:08 r_weiss +2012-09-23 16:24 Abhi2011 - * [r48596] src/libged/nmg_simplify.c: - Rewrote function 'ged_nmg_simplify'. Coverity CID 199. + * [r52518] src/libged/simulate/simulate.c: + Added scaling for the bullet->mged transform as well. All this + scaling should not be needed. We should try testing with another + scene where we create the geometry in mm. -2012-01-12 21:06 starseeker +2012-09-23 15:17 Abhi2011 - * [r48595] src/mged/mged.c: - Turn of the variables - we aren't using them. + * [r52517] src/libged/simulate/simulate.c: + More fixes. Scaled the mged supplied AABB bounds by 0.0001 to + bring it into meters before feeding into bullet. -2012-01-12 20:59 indianlarry +2012-09-23 14:51 Abhi2011 - * [r48594] src/libpc/pcVariable.h: - std::list:erase() returns next iterator or list::end() so removed - increment on erase parameter and assigned instead. Relates to Run - 6 CID 333. + * [r52516] src/libged/simulate/simphysics.cpp, + src/libged/simulate/simulate.c, src/libged/simulate/simutils.c: + Fixing the simulate function. There are a number of debugging + lines still present. These will be removed soon. -2012-01-12 20:58 starseeker +2012-09-21 19:10 starseeker - * [r48593] src/conv/intaval/read_dra.cpp: - Make sure form.id doesn't end up uninitialized - CID 1610 + * [r52515] src/librt/test_botpatches.cpp: + Try building inner loops. Not generating totally valid breps yet. -2012-01-12 20:56 erikgreenwald +2012-09-21 18:53 starseeker - * [r48592] src/librt/primitives/nmg/nmg_tri_mc.c: - bomb on bad face calc. Cov1835 + * [r52514] src/librt/test_botpatches.cpp: + Move loop building logic into function in preparation for + building multiple loops (inner and outer) per patch. -2012-01-12 20:52 n_reed +2012-09-21 16:09 bob1961 - * [r48591] misc/enigma/enigma.c: - typo + * [r52513] src/libged/polyclip.cpp: + More tweaks to ged_polygons_overlap. -2012-01-12 20:50 erikgreenwald +2012-09-21 16:04 bob1961 - * [r48590] src/libged/get_solid_kp.c: - comment out unused vars + * [r52512] src/libtclcad/tclcad_obj.c: + A hole flag is now expected to be included with each polygon + contour. -2012-01-12 20:48 erikgreenwald +2012-09-20 22:33 r_weiss - * [r48589] src/librt/comb/db_comb.c: - set terminators on strings after NAMEMOVE + * [r52511] src/librt/primitives/nmg/nmg_inter.c: + Updates to functions "nmg_crackshells" and + "nmg_isect_two_generic_faces" within file "nmg_inter.c". Changed + the macro comparing the face bounding boxes so that the face + bounding boxes must be at least distance tolerance apart to be + excluded from further testing instead of not overlapping by at + least distance tolerance. This prevents missing intersections of + faces where they are axis aligned and the face bounding boxes are + less than distance tolerance apart. -2012-01-12 20:45 bob1961 +2012-09-20 21:59 starseeker - * [r48588] src/libfft/fftc.c: - run 6, CID 1768, TAINTED SCALAR. + * [r52510] src/librt/test_botpatches.cpp: + Successfully trim the fitted brep. Outer loops only so far, still + some problem situations, and the fitted results aren't so great, + but never-the-less a milestone. -2012-01-12 20:45 brlcad +2012-09-20 18:12 brlcad - * [r48587] misc/enigma/enigma.c: - crypt() manpage says it will return 13 or 30 bytes plus nul - terminator, so make the buffers bigger. + * [r52509] TODO: + long thought that gqa should be calulating overlap volumes so + cleanup work can be better prioritized. plus, it'd remove a + source of confusion. reminded of the issue by banealis via help + forum discussion. -2012-01-12 20:44 bob1961 +2012-09-20 01:57 starseeker - * [r48586] src/libfft/ifftc.c: - run 6, CID 1769, TAINTED SCALAR. + * [r52508] src/librt/test_botpatches.cpp: + try to improve flip determination logic in trim building - + something still not right, brep is invalid. -2012-01-12 20:40 n_reed +2012-09-20 01:48 brlcad - * [r48585] src/libged/wdb_obj.c: - remove fall-through from default case. CID 353 + * [r52507] src/libged/bot_fuse.c: + make show_dangling_edges() static, not public API. eliminate the + bot_fuse_option* globals, pull into local scope and mark static + const. -2012-01-12 20:38 brlcad +2012-09-20 00:19 r_weiss - * [r48584] misc/enigma/enigma.c: - fix coverity reported BUFFER_SIZE_WARNING complaining about - strncpy being used without ensuring nul termination. terminate - and done. (cid 106) + * [r52506] src/librt/primitives/ehy/ehy.c: + Update to file "ehy.c" to fix "unused variable" compile error. -2012-01-12 20:37 starseeker +2012-09-19 21:41 r_weiss - * [r48583] src/rt/viewray.c: - Initialize some vect_t variables. CID 1634 + * [r52505] src/libged/bot_fuse.c: + Updated functions "ged_bot_fuse", renamed function + "_ged_show_dangling_edges" to "show_dangling_edges". Added the + ability of the mged command "bot_fuse" to be passed a "-p" to + create a plot file of the open edges or "-s" to show the open + edges on the display. The number of open edges is counted and + reported. -2012-01-12 20:32 n_reed +2012-09-19 14:38 bob1961 - * [r48582] src/libged/put_comb.c: - remove fall-through from default case CID 351 + * [r52504] src/libged/polyclip.cpp: + A few mods for ged_polygons_overlap(). -2012-01-12 20:32 erikgreenwald +2012-09-19 02:19 starseeker - * [r48581] include/raytrace.h, src/librt/comb/db_comb.c, - src/librt/db_io.c: - undo the const dropping + * [r52503] src/librt/test_botpatches.cpp: + Start trying to add trims - pullback_curve is crashing, not sure + what I'm doing wrong... -2012-01-12 20:28 starseeker +2012-09-19 00:12 starseeker - * [r48580] src/shapes/handle.c: - Initialize some varibles in handle - CID 1635-1639 + * [r52502] src/librt/test_botpatches.cpp: + Use interpolateLocalCubicCurve for the patch edge fitting. -2012-01-12 20:26 n_reed +2012-09-19 00:01 starseeker - * [r48579] src/libged/combmem.c: - missing breaks. CID 349, CID 350 + * [r52501] include/nurbs.h, src/libnurbs/PullbackCurve.cpp: + Expose Keith's 3d curve interpolation fitting function. -2012-01-12 20:24 brlcad +2012-09-18 22:26 starseeker - * [r48578] src/libbu/parse.c: - we're setting the 32-bit or'd buffer value into a size_t so have - to be careful about implicit sign extension going from unsigned - char to int for the shift to size_t (unsigned). cast to size_t - before the shift to keep it unsigned. detected by coverity - SIGN_EXTENSION check (cid 1259,1260,1261,1262). + * [r52500] src/librt/test_botpatches.cpp: + If a patch splits topologically when removing triangles, make new + patches out of the results. -2012-01-12 20:22 starseeker +2012-09-18 21:22 r_weiss - * [r48577] src/shapes/window.c: - Initialize some variables - CID 1640-1644 + * [r52499] src/librt/primitives/nmg/nmg_bool.c: + Created a new function "nmg_plot_open_edges" within file + "nmg_bool.c". This function finds open edges within an NMG object + and creates a UNIX plot file containing these edges. Updated + function "nmg_bool" to call this new function when a boolean + operation fails due to dangling faces. -2012-01-12 20:21 n_reed +2012-09-18 19:57 n_reed - * [r48576] src/libged/comb.c: - remove fall-through from default case CID 348 + * [r52498] src/librt/primitives/rhc/rhc.c: + ws/style -2012-01-12 20:19 erikgreenwald +2012-09-18 18:31 n_reed - * [r48575] include/raytrace.h, src/librt/db_io.c: - alter db_fwrite_external to remove const name + * [r52497] include/bu.h: + can't assign to lvalue cast to int -2012-01-12 20:18 n_reed +2012-09-18 18:04 r_weiss - * [r48574] src/libged/clone.c: - intentional fall-through, see if adding comment quiets issue CID - 348 + * [r52496] src/librt/primitives/nmg/nmg_inter.c: + Updated function "nmg_isect_2faceuse" in file "nmg_inter.c". + Fixed bug computing average distance to plane. Also simplified + the code by using the VCLAMP macro. -2012-01-12 20:16 starseeker +2012-09-18 17:21 n_reed - * [r48573] src/util/pixuntile.c: - Initialize FILE array. CID 1646 + * [r52495] src/librt/primitives/ehy/ehy.c: + clean up tolerance calculations and validity checks -2012-01-12 20:13 brlcad +2012-09-18 17:04 bob1961 - * [r48572] src/libbu/convert.c: - cast value to unsigned long before shift to avoid implicit sign - extension. detected by converity SIGN_EXTENSION check (cid 1258). + * [r52494] include/ged.h, src/libged/polyclip.cpp, + src/libtclcad/tclcad_obj.c, src/tclscripts/lib/Ged.tcl: + Added functionality for detecting polygon overlaps. -2012-01-12 20:11 erikgreenwald +2012-09-18 15:46 starseeker - * [r48571] include/raytrace.h, src/librt/comb/db_comb.c: - drop const since it's edited + * [r52493] src/librt/test_botpatches.cpp: + minor tweaks to plotting code. -2012-01-12 20:10 starseeker +2012-09-18 15:22 n_reed - * [r48570] src/shapes/window_frame.c: - Initialize some variables in window_frame.c CID 1814-1816 + * [r52492] src/librt/primitives/ehy/ehy.c: + clean up ehy validity checks in rt_ehy_plot -2012-01-12 20:07 erikgreenwald +2012-09-18 14:59 brlcad - * [r48569] src/librt/comb/db_comb.c: - oops, s/namebuf/name/ + * [r52491] src/other/togl/demo/CMakeLists.txt: + need X11 include dirs -2012-01-12 20:03 erikgreenwald +2012-09-18 14:59 brlcad - * [r48568] src/mged/mged.c: - if0 logging code out until it's re-enabled with optimized. - Cov1670 + * [r52490] src/canon/canonlib.c: + one more straggler ctype fix -2012-01-12 19:59 erikgreenwald +2012-09-18 14:51 r_weiss - * [r48567] src/rttherm/ssampview.c: - remove unreachable colorspace checking code. Cov1671 + * [r52489] src/librt/primitives/nmg/nmg_fcut.c: + Update to function "nmg_face_rs_init" in file "nmg_fcut.c". Fixed + a bug where the entire "nmg_ray_state" structure was not being + initialized. -2012-01-12 19:58 erikgreenwald +2012-09-18 14:42 r_weiss - * [r48566] src/libged/get_solid_kp.c: - if0 unreachable code out until pipe origin setting fixed. Cov78 + * [r52488] src/librt/primitives/nmg/nmg_inter.c: + Update to function "nmg_isect_two_face2p_jra" in file + "nmg_inter.c". Code cleanup, used newer, easier to read macros + for float compares. -2012-01-12 19:56 erikgreenwald +2012-09-18 14:11 starseeker - * [r48565] src/lgt/do_options.c: - bump args by one to handle "! cmd" case. Stash the args ptr in - case args is advanced and free it on exit. Cov399 + * [r52487] src/librt/test_botpatches.cpp: + Add pointer to Soderkvist's handy course notes documenting the + planar SVD fitting algorithm. -2012-01-12 19:48 erikgreenwald +2012-09-18 12:10 brlcad - * [r48564] src/conv/g-acad.c: - remove unreachable chunk (longjmp) Cov1668 + * [r52486] src/bwish/input.c, src/conv/asc/asc2g.c, + src/conv/asc/g2asc.c, src/conv/comgeom/cvt.c, + src/conv/comgeom/region.c, src/conv/comgeom/solid.c, + src/conv/cy-g.c, src/conv/dem-g.c, src/conv/dxf/dxf-g.c, + src/conv/enf-g.c, src/conv/fast4-g.c, + src/conv/iges/check_names.c, src/conv/iges/iges.c, + src/conv/nastran-g.c, src/conv/patch/rpatch.c, src/conv/ply-g.c, + src/conv/proe-g.c, src/conv/stl/g-stl.c, src/conv/stl/stl-g.c, + src/fb/cmap-fb.c, src/fb/pl-fb.c, src/gtools/g_diff.c, + src/halftone/main.c, src/libbu/parse.c, src/libbu/sscanf.c, + src/libbu/vls.c, src/libfb/if_X.c, src/libfb/if_X24.c, + src/libfb/if_debug.c, src/libfb/if_mem.c, src/libfb/if_ogl.c, + src/libged/bot_dump.c, src/libged/edit.c, src/libged/put.c, + src/libged/put_comb.c, src/libged/typein.c, src/libged/wdb_obj.c, + src/librt/comb/comb.c, src/librt/db_tree.c, + src/librt/primitives/arbn/arbn.c, src/librt/primitives/ars/ars.c, + src/librt/primitives/bot/bot.c, src/librt/primitives/pipe/pipe.c, + src/librt/primitives/sketch/sketch.c, src/librt/regionfix.c, + src/librt/search.c, src/mged/mged.c, src/mged/muves.c, + src/nirt/command.c, src/nirt/parse_fmt.c, src/nirt/showshot.c, + src/nirt/str_manip.c, src/remrt/ihost.c, src/remrt/remrt.c, + src/remrt/rtsrv.c, src/rt/do.c, src/rt/rtshot.c, + src/rt/view_bot_faces.c, src/tab/tabsub.c, src/util/bombardier.c, + src/util/imgdims.c: + swooping update to support platforms where the ctype API is + implemented as a set of macros indexing into arrays instead of + functions. we cast into int accordingly. supports netbsd 5.1 (gcc + 4.1.3) compilation. -2012-01-12 19:47 erikgreenwald +2012-09-18 12:03 brlcad - * [r48563] src/conv/asc/asc2g.c: - remove unreachable line Cov1667 + * [r52485] src/librt/primitives/sketch/sketch_tess.cpp, + src/librt/primitives/superell/superell_brep.cpp: + initialize vars before use quellage -2012-01-12 19:38 erikgreenwald +2012-09-18 12:01 brlcad - * [r48562] src/librt/comb/db_comb.c: - set string terminator Cov107 + * [r52484] src/libbu/vls_vprintf.c: + put the char into an int to quell upcasting warning -2012-01-12 19:37 erikgreenwald +2012-09-18 05:50 brlcad - * [r48561] src/librt/comb/db_comb.c: - set string terminator Cov111 + * [r52483] src/other/togl/src/CMakeLists.txt: + need the X11 include dirs... -2012-01-12 19:31 erikgreenwald +2012-09-18 05:08 brlcad - * [r48560] src/librt/primitives/nmg/nmg.c: - add test to verify that count > 0. Cov572 + * [r52482] NEWS, src/libfb/if_ogl.c, src/libfb/if_wgl.c: + revert r52256 and r52268 that defaulted the opengl interfaces to + single-buffering. provokes some bugs that seem to be related to + inconsistent state management. in particular, not painting the + background until after a couple (additional) expose events. -2012-01-12 19:28 erikgreenwald +2012-09-18 04:50 brlcad - * [r48559] src/libged/edit.c: - coverity says this necessarily passes, so if0 it out. Cov1727 + * [r52481] src/nirt/nirt.h: + remove the antiquated __NetBSD__ section and authorship + commentary -2012-01-12 18:52 starseeker +2012-09-18 04:36 brlcad - * [r48558] src/other/lemon/lempar.c: - Make sure yyruleno is sane - CID 1860 + * [r52480] src/tab/script.l: + don't need yy_flex_strlen -2012-01-12 18:50 n_reed +2012-09-18 04:31 brlcad - * [r48557] src/fb/pp-fb.c: - remove unnecessary quit flag to get pure fall-through. CID 344 + * [r52479] src/libfb/if_ogl.c: + convert to libbu memory management -2012-01-12 18:50 erikgreenwald +2012-09-18 04:30 brlcad - * [r48556] src/librt/primitives/bot/bot.c: - change logical op to bitwise op for setting bit flags. Cov153 + * [r52478] src/tab/script.l: + quellage, need missing headers -- particularly unistd.h for + isatty() in generated sources on netbsd -2012-01-12 18:45 indianlarry +2012-09-18 04:21 brlcad - * [r48555] src/libged/make.c, src/libged/typein.c: - Fixed case where sizeof(fastf_t **)should be sizeof(fastf_t *) as - picked up by coverity. Resolves Run 6 CIDs: 1267-8. + * [r52477] src/tab/script.l: + tokens.h is in the same dir -2012-01-12 18:39 bob1961 +2012-09-18 02:26 brlcad - * [r48554] src/libged/vdraw.c: - run 6, CID 1752, OVERRUN STATIC. + * [r52476] CMakeLists.txt: + helps to set a cmake variable if we're going to stash it as a + #cmakedefine -2012-01-12 18:39 brlcad +2012-09-18 02:23 starseeker - * [r48553] src/libbu/mappedfile.c: - twice as long, but should be much more readable than the - convoluted mess it was. still room for improvement and several - bits of replication but it should be equivalent. consequently - fixes a TOCTOU issue reported by coverity due to the stat that - was followed by a later open call. (cid 1587) + * [r52475] src/librt/test_botpatches.cpp: + start setting up to handle cases where the split results in two + or more distinct patches. -2012-01-12 18:37 starseeker +2012-09-18 02:12 brlcad - * [r48552] src/librt/opennurbs_ext.cpp: - Free before returning null - CID 1873 + * [r52474] CMakeLists.txt: + turns out that BRLCAD_INCLUDE_FILE is only searching in system + include dirs (and the appended /usr/local/include required dir) + but not any of the X11 include paths. regardless, we don't need + to retry the search since we found it or not during FindX11 + checking. Just add our config file entry accordingly. -2012-01-12 18:26 n_reed +2012-09-18 01:39 brlcad - * [r48551] src/fb/fbzoom.c: - fall-through from default case CID 341 + * [r52473] misc/CMake/BRLCAD_CheckFunctions.cmake: + unclear why strequal doesn't seem to be comparing strings. add + some comments and spacing for readability. -2012-01-12 18:26 erikgreenwald +2012-09-18 01:11 starseeker - * [r48550] src/util/dsp_add.c: - stat after the open, hopefully avoiding the race condition. - Cov1592 + * [r52472] src/librt/test_botpatches.cpp: + Use SVD to get the 'correct' plane for a given patch. -2012-01-12 18:23 erikgreenwald +2012-09-17 21:48 brlcad - * [r48549] src/util/pixdsplit.c: - NULL -> '\0' + * [r52471] BUGS: + looks like it may be private memory with the transparency problem -2012-01-12 18:23 starseeker +2012-09-17 19:28 bob1961 - * [r48548] misc/CMake/LEMON_Util.cmake, - src/other/re2c/CMake/LEMON_Util.cmake, - src/other/step/CMake/LEMON_Util.cmake: - Go ahead and depend on the template file when running lemon - - it's usually static, but we just had a case where it WAS changed, - so check in the future. + * [r52470] src/libdm/dm-X.c, src/libdm/dm-ogl.c, + src/libdm/dm-rtgl.c: + Modified the _choose_visual routines to return a visual that is + on the screen of interest. Applied to dm-ogl.c, dm-X.c and + dm-rtgl.c. Still need to look at dm-wgl.c -2012-01-12 18:22 erikgreenwald +2012-09-17 18:00 carlmoore - * [r48547] src/util/pixdsplit.c: - test argv before trying to open Cov1582 + * [r52469] src/librt/test_botpatches.cpp: + remove trailing blanks/tabs -2012-01-12 18:20 starseeker +2012-09-17 17:31 brlcad - * [r48546] src/other/lemon/lempar.c: - do the check before using the index value, to avoid a possible - negative index value - CID 1883 + * [r52468] TODO: + regress failure, new command halting distcheck when adaptagrams + is not available -2012-01-12 18:20 erikgreenwald +2012-09-17 16:24 brlcad - * [r48545] src/librt/primitives/dsp/dsp.c: - add missing break Cov355 + * [r52467] misc/CMake/CompilerFlags.cmake: + wasn't pulling the environment variable correctly, uses curlies. + expand the other remaining piece, the ability to set the + compiler/linker options for the various versions of the mac sdk. + change default to 10.3 just because it seems to work, though I'd + entirely expect X11 incompatibilities going that far back. -2012-01-12 18:19 erikgreenwald +2012-09-17 15:41 brlcad - * [r48544] src/librt/primitives/dsp/dsp.c: - add missing break Cov356 + * [r52466] regress/repository.sh: + remove the CPPFLAGS check. build system is deprecated and libpng + was updated. -2012-01-12 18:18 n_reed +2012-09-17 14:53 brlcad - * [r48543] src/conv/patch/rpatch.c: - fall-through from default case CID 340 + * [r52465] CMakeLists.txt, misc/CMake/CompilerFlags.cmake: + move it over to the other compilation flags, wrap to vendor -2012-01-12 18:04 n_reed +2012-09-17 14:50 brlcad - * [r48542] src/conv/nmg/g-nmg.c: - missing break CID 339 + * [r52464] CMakeLists.txt: + one of two steps needed to support 10.5+ compilation by default -2012-01-12 18:01 bob1961 +2012-09-17 14:40 brlcad - * [r48541] src/libged/color.c: - run 6, CID 1753, RESOURCE LEAK. + * [r52463] src/librt/primitives/ell/ell.c: + ensure initialized before use (compiler warned) -2012-01-12 18:00 erikgreenwald +2012-09-17 14:37 brlcad - * [r48540] src/librt/primitives/bot/bot.c: - comment out unused variables + * [r52462] src/librt/primitives/brep/brep.cpp: + looks like we're intentionally casting the double to int as a + quickly sortable 't' parameter, so cast accordingly -2012-01-12 17:58 erikgreenwald +2012-09-17 14:14 brlcad - * [r48539] src/librt/primitives/bot/bot.c: - bn_dist_pt2_lseg2 returns [-2,3], so cases 4 and 5 can never be - reached. Comment them out for now. Cov354 + * [r52461] src/librt/binunif/db5_bin.c: + isdigit takes an int, upcast -2012-01-12 17:58 starseeker +2012-09-17 13:55 brlcad - * [r48538] src/libgcv/wfobj/obj_parser_state.h: - initialize the parser - CID 1933 + * [r52460] src/libnurbs/opennurbs_ext.cpp: + init var -2012-01-12 17:55 bob1961 +2012-09-17 13:54 brlcad - * [r48537] src/liboptical/material.c: - run 6, CID 1754, RESOURCE LEAK. + * [r52459] src/libnurbs/opennurbs_ext.cpp: + underscores are reserved for compiler use. fixes compilation + failure with gcc 4.1.3 -2012-01-12 17:54 indianlarry +2012-09-17 13:18 brlcad - * [r48536] src/libbu/mappedfile.c, src/libbu/realpath.c: - Attempt to fix most of the TAINTED_STRING issues. Currently only - testing call to bu_realpath() in bu_open_mapped_file(). + * [r52458] BUGS: + ogl display manager is creating windows with a transparent + background. first reported by elf_ and todayman via IRC. -2012-01-12 17:50 erikgreenwald +2012-09-17 12:54 n_reed - * [r48535] src/librt/primitives/revolve/revolve.c: - remove test to see if nhits > MAX_HITS, as nhits is set to 0 - before. Cov211 + * [r52457] src/libbu/tests/bu_redblack.c: + check scanf return value -2012-01-12 17:47 n_reed +2012-09-16 00:48 starseeker - * [r48534] src/conv/nastran-g.c: - missing break CID 338 + * [r52456] src/librt/test_botpatches.cpp: + Add some more notes on things that need to be done. -2012-01-12 17:40 n_reed +2012-09-16 00:28 starseeker - * [r48533] src/conv/iges/iges.c: - replace multi-case switch with single if. CID 337 + * [r52455] src/librt/test_botpatches.cpp: + Need a patch integrity verification after triangle removal is + done - we may have more than one topological patch due to + splitting via triangle removals. -2012-01-12 17:26 n_reed +2012-09-16 00:17 starseeker - * [r48532] src/conv/asc/asc2g.c: - missing break, CID 335 + * [r52454] src/librt/test_botpatches.cpp: + Have outer loops - almost ready to try generating ON_BrepTrims. + Saw potential fitting problem case when nurbs curves + approximating edges overlap in projection. Need to consider + mitigation approaches. -2012-01-12 17:25 bob1961 +2012-09-15 22:31 starseeker - * [r48531] src/conv/g-vrml.c: - run 6, CID 1762,3,4. SIZEOF_MISMATCH. + * [r52453] src/librt/test_botpatches.cpp: + Move the surface fitting code into its own function, add in some + edge points from the nurbs curves to the fit, change the face + generation to not automatically create loops for the surfaces. + This currently produces an invalid brep with a 'has no loops' + error, but that's expected - we now need to generate our own + trimming loops using the surface/loop/edge information and + pullback_curve. -2012-01-12 17:23 starseeker +2012-09-15 21:54 starseeker - * [r48530] src/irprep/shapefact.c: - scanf failures are bad - if we aren't giving them another chance - to enter info, exit instead of just printing an error. + * [r52452] src/librt/test_botpatches.cpp: + Generate loops - not doing anything with them yet, as we need to + generate faces and surfaces first, but restore basic loop + building logic with BrepEdge input. Still need to rework outer + loop detection. -2012-01-12 17:13 bob1961 +2012-09-15 21:00 starseeker - * [r48529] src/irprep/shapefact.c: - clamp loops to UINT32_MAX. + * [r52451] src/librt/test_botpatches.cpp: + Generate brep edges, not just nurbs curves. -2012-01-12 17:13 erikgreenwald +2012-09-15 19:14 starseeker - * [r48528] src/librt/db_lookup.c: - minor cleanup for readability. Explicitly cast char to long for - hash (Cov1257) + * [r52450] src/librt/test_botpatches.cpp: + Don't expose the internal patch processing in the final patch + numbers assigned. -2012-01-12 17:06 erikgreenwald +2012-09-15 17:51 starseeker - * [r48527] src/liboptical/photonmap.c: - test I1 values. Cov1483 + * [r52449] src/other/libpng/ANNOUNCE, src/other/libpng/CHANGES, + src/other/libpng/CMakeLists.txt, src/other/libpng/LICENSE, + src/other/libpng/Makefile.am, src/other/libpng/README, + src/other/libpng/configure.ac, + src/other/libpng/contrib/gregbook/readpng.c, + src/other/libpng/contrib/gregbook/writepng.c, + src/other/libpng/contrib/libtests/pngvalid.c, + src/other/libpng/contrib/pngsuite/README, + src/other/libpng/contrib/pngsuite/ftbbn0g01.png, + src/other/libpng/contrib/pngsuite/ftbbn0g02.png, + src/other/libpng/contrib/pngsuite/ftbbn0g04.png, + src/other/libpng/contrib/pngsuite/ftbbn1g04.png, + src/other/libpng/contrib/pngsuite/ftbwn0g16.png, + src/other/libpng/contrib/pngsuite/ftbwn1g16.png, + src/other/libpng/contrib/pngsuite/ftp0n0g08.png, + src/other/libpng/contrib/pngsuite/ftp0n1g08.png, + src/other/libpng/contrib/visupng/PngFile.c, + src/other/libpng/contrib/visupng/VisualPng.c, + src/other/libpng/libpng-manual.txt, src/other/libpng/libpng.3, + src/other/libpng/libpngpf.3, src/other/libpng/png.5, + src/other/libpng/png.c, src/other/libpng/png.h, + src/other/libpng/pngconf.h, src/other/libpng/pngerror.c, + src/other/libpng/pngpread.c, src/other/libpng/pngpriv.h, + src/other/libpng/pngrtran.c, src/other/libpng/pngset.c, + src/other/libpng/pngstruct.h, src/other/libpng/pngtest.c, + src/other/libpng/pngtrans.c, src/other/libpng/pngwrite.c, + src/other/libpng/projects/vstudio/readme.txt, + src/other/libpng/projects/vstudio/zlib.props, + src/other/libpng/scripts/README.txt, + src/other/libpng/scripts/libpng-config-head.in, + src/other/libpng/scripts/libpng.pc.in, + src/other/libpng/scripts/makefile.cegcc, + src/other/libpng/scripts/makefile.darwin, + src/other/libpng/scripts/makefile.freebsd, + src/other/libpng/scripts/makefile.linux, + src/other/libpng/scripts/makefile.ne12bsd, + src/other/libpng/scripts/makefile.netbsd, + src/other/libpng/scripts/makefile.openbsd, + src/other/libpng/scripts/pnglibconf.dfa, + src/other/libpng/scripts/pnglibconf.h.prebuilt, + src/other/libpng/scripts/symbols.def: + Update libpng to 1.5.12 - CVE-2012-3386 -2012-01-12 16:58 erikgreenwald +2012-09-14 19:13 carlmoore - * [r48526] src/liboptical/photonmap.c: - actually return on failed irradiance cache read instead of just - reporting failure and attempting to continue... + * [r52448] src/librt/test_botpatches.cpp: + remove trailing blanks/tabs; fix 1 spelling -2012-01-12 16:54 bob1961 +2012-09-14 16:18 starseeker - * [r48525] src/librt/bool.c: - run 6, CID 1804/5, UNINIT. + * [r52447] src/librt/test_botpatches.cpp: + Instead of worrying about whether the patch and patch_edges maps + are in sync, just build the edge set on the fly. Have to do that + in many places anyway. -2012-01-12 16:53 erikgreenwald +2012-09-14 15:39 starseeker - * [r48524] src/librt/db_scan.c: - check return value of ftell. Cov369 + * [r52446] src/librt/test_botpatches.cpp: + Remove unused plotting code. -2012-01-12 16:50 erikgreenwald +2012-09-14 15:32 starseeker - * [r48523] src/librt/db5_io.c: - fix up handling of length reading. Cov1459. + * [r52445] src/librt/test_botpatches.cpp: + Move bot pointer inside the info struct - no reason for it to be + separate. -2012-01-12 16:48 n_reed +2012-09-14 14:42 starseeker - * [r48522] src/librt/primitives/nmg/nmg_rt_isect.c: - bad control logic, CID 167 + * [r52444] src/librt/test_botpatches.cpp: + Quiet the plotting output by default. -2012-01-12 16:46 bob1961 +2012-09-14 04:56 brlcad - * [r48521] src/rt/rtshot.c: - run 6, CID 1806, UNINIT. + * [r52443] TODO: + comment on nirt's trailing spaces, probaly a good newbie quickie -2012-01-12 16:45 bob1961 +2012-09-14 04:30 brlcad - * [r48520] include/raytrace.h: - Added RT_CURVATURE_INIT_ZERO. + * [r52442] BUGS: + looks like new autoview scale option isn't working right (at + least on mac). updates status bar scale, but not the wireframe. -2012-01-12 16:37 starseeker +2012-09-13 20:24 n_reed - * [r48519] src/shapes/coil.c: - Same deal - is_start is either true or false, so one of the two - if conditions will return. CID 1673 + * [r52441] src/librt/primitives/table.c, + src/librt/primitives/tgc/tgc.c: + add view-dependent plot routine for tgc+rec -2012-01-12 16:36 starseeker +2012-09-13 18:02 carlmoore - * [r48518] src/shapes/coil.c: - Dead code - is_start is either true or it isn't. CID 1672 + * [r52440] src/librt/primitives/ell/ell.c: + remove trailing blanks/tabs; fix spelling -2012-01-12 16:35 erikgreenwald +2012-09-13 17:57 carlmoore - * [r48517] src/librt/db5_io.c: - force addr/phony to unsigned explicitly to avoid coverity - warning about a possible negative later. CID 368 + * [r52439] src/librt/test_botpatches.cpp: + remove trailing blanks/tabs -2012-01-12 16:29 erikgreenwald +2012-09-13 17:11 n_reed - * [r48516] src/librt/db5_io.c: - test for possible overflow on pointer advance. Cov322 + * [r52438] include/raytrace.h, src/librt/primitives/ell/ell.c, + src/librt/primitives/table.c: + add rt_functab entry for a view-dependent plot routine and set + the ell+sph entries -2012-01-12 16:26 bob1961 +2012-09-13 12:45 starseeker - * [r48515] src/shapes/gastank.c: - run 6, CID 1809, UNINIT. + * [r52437] src/librt/test_botpatches.cpp: + Identify outer patches -2012-01-12 16:22 bob1961 +2012-09-12 21:20 starseeker - * [r48514] src/shapes/gastank.c: - run 6, CID 1810, UNINIT. + * [r52436] src/librt/test_botpatches.cpp: + Re-activate the NURBS curve logic. -2012-01-12 16:18 erikgreenwald +2012-09-12 21:03 starseeker - * [r48513] src/librt/db5_io.c: - test lenbuf after fread to verify an actual number is there - before decoding the length. Cov1459 + * [r52435] src/librt/test_botpatches.cpp: + Add more edge points as inputs to fitting routine. Will probably + want to feed 'real' edge points from the curves, but this is a + start. -2012-01-12 16:16 bob1961 +2012-09-12 20:00 starseeker - * [r48512] src/shapes/gastank.c: - run 6, CID 1811, UNINIT. + * [r52434] src/librt/test_botpatches.cpp: + Back to single triangle patches for now on the removals. -2012-01-12 16:12 bob1961 +2012-09-12 15:27 starseeker - * [r48511] src/shapes/window_frame.c: - run 6, CID 1812, UNINIT. + * [r52433] src/librt/test_botpatches.cpp: + Get loops plotting. The overlapping triangle logic is messing + with the categorization - need to revisit how that's doing what + its doing. -2012-01-12 16:01 n_reed +2012-09-12 14:25 carlmoore - * [r48510] src/conv/comgeom/solid.c: - prevent leak, remove dead free, CID 165 + * [r52432] src/librt/test_botpatches.cpp: + remove trailing blanks, and change 'haulting' to 'halting' -2012-01-12 15:58 bob1961 +2012-09-12 00:12 starseeker - * [r48509] src/libdm/query.c: - run 6, CID 1818, unreachable. + * [r52431] src/librt/test_botpatches.cpp: + Start working on loop assembly -2012-01-12 15:53 brlcad +2012-09-11 20:21 starseeker - * [r48508] src/libbu/CMakeLists.txt, src/libbu/Makefile.am, - src/libbu/test_htond.c: - remove test_htond since it has a coverity issue and usage is not - obvious given it requires some specific input fed via stdin. + * [r52430] src/librt/test_botpatches.cpp: + build patch polycurve maps -2012-01-12 15:50 starseeker +2012-09-11 19:57 starseeker - * [r48507] include/bu.h, src/libbu/CMakeLists.txt, - src/libbu/brlcad_path.c, src/libbu/file.c, src/libbu/realpath.c: - rename to bu_realpath. + * [r52429] src/librt/test_botpatches.cpp: + start and end as keys may pose a problem - just count 'em -2012-01-12 15:48 bob1961 +2012-09-11 19:33 carlmoore - * [r48506] src/librt/primitives/obj_vshot.c: - run 6, CID 1850, infinite loop. + * [r52428] src/librt/primitives/nmg/nmg_tri.c: + remove a trailing blank/tab; fix spellings -2012-01-12 15:44 n_reed +2012-09-11 19:32 carlmoore - * [r48505] src/librt/primitives/nmg/nmg_ck.c: - remove unnecessary null check, CID 163 + * [r52427] src/librt/primitives/nmg/nmg_misc.c: + remove trailing blanks/tabs, fix spellings ('edgeuse' spelling + fix should be only in comments) -2012-01-12 15:37 bob1961 +2012-09-11 19:23 starseeker - * [r48504] src/irprep/shapefact.c: - run 6, CID 1926, tainted scalar. Check upper and lower bound of - loops. Also change loops and r to size_t instead of double. + * [r52426] src/librt/test_botpatches.cpp: + Plot polycurves -2012-01-12 15:35 erikgreenwald +2012-09-11 19:18 carlmoore - * [r48503] src/librt/bundle.c: - include string for memset + * [r52425] src/tclscripts/lib/Ged.tcl: + remove a trailing blank or tab, and fix 2 spellings -2012-01-12 15:25 n_reed +2012-09-11 19:01 carlmoore - * [r48502] src/fb/gif-fb.c: - s/==/=, CID 154 + * [r52424] src/libnurbs/opennurbs_fit.cpp: + remove trailing blanks/tabs -2012-01-12 15:22 erikgreenwald +2012-09-11 18:59 carlmoore - * [r48501] src/librt/vlist.c: - Pull magic values out to ../src/librt/bundle.cdefines. Zero out - all carg/carg memory. Cov1617 + * [r52423] src/libged/joint.c: + remove trailing blanks/tabs & fix spellings but do NOT change + 'Artic' or 'artic' -2012-01-12 15:22 starseeker +2012-09-11 18:55 starseeker - * [r48500] include/bu.h, src/libbu/brlcad_path.c, src/libbu/file.c: - Wrap realpath/GetFullPathName logic into a bu routine for re-use - in other locations - move it out of brlcad_path.c + * [r52422] src/librt/test_botpatches.cpp: + Assemble points in edge order -2012-01-12 15:22 brlcad +2012-09-11 18:45 carlmoore - * [r48499] src/libbu/test_htond.c: - 48475 didn't fix it, revert + * [r52421] src/libged/CMakeLists.txt: + remove trailing blanks/tabs -2012-01-12 15:16 erikgreenwald +2012-09-11 18:44 carlmoore - * [r48498] src/librt/bundle.c: - zero out shootray status memory. Cov1624 + * [r52420] misc/CMake/BRLCAD_CMakeFiles.cmake: + remove trailing blanks/tabs -2012-01-12 15:14 erikgreenwald +2012-09-11 18:42 carlmoore - * [r48497] src/librt/primitives/dsp/dsp.c: - zero out hit structs. Cov1626 + * [r52419] src/CMakeLists.txt: + remove trailing blanks/tabs -2012-01-12 15:12 erikgreenwald +2012-09-11 18:41 carlmoore - * [r48496] src/librt/shoot.c: - zero out shootray status memory. Cov1627 + * [r52418] include/ged.h: + remove a trailing blank/tab, and remove an extra blank -2012-01-12 15:08 erikgreenwald +2012-09-11 18:00 starseeker - * [r48495] src/libged/view_obj.c: - initialize var. CID1621 + * [r52417] src/librt/test_botpatches.cpp: + Find start and end points, or recognize closed curve -2012-01-12 15:05 erikgreenwald +2012-09-11 15:12 starseeker - * [r48494] src/libged/view_obj.c: - set default view pt. CID 1622 + * [r52416] src/librt/test_botpatches.cpp: + More work on curve assembly -2012-01-12 15:04 n_reed +2012-09-10 20:13 starseeker - * [r48493] src/vdeck/vdeck.c: - check getchar return for EOF, and ensure dest string is not - overrun, CID 118 + * [r52415] src/librt/test_botpatches.cpp: + Continue rebuilding curve assembly functionality. -2012-01-12 14:52 bob1961 +2012-09-10 14:39 starseeker - * [r48492] src/conv/intaval/tgf-g.cpp: - Undo the last two commits because they didn't satisfy covarity. - We have another lower level fix that should suffice. + * [r52414] src/librt/test_botpatches.cpp: + Simplify the patch building a bit - the 'correct' way to do this + is probably proper feature detection as the first step, followed + by flatness if needed. -2012-01-12 14:23 erikgreenwald +2012-09-10 14:13 starseeker - * [r48491] src/conv/fast4-g.c: - close file after reading colors. Cov463 + * [r52413] src/librt/test_botpatches.cpp: + Write the brep before starting the SSI testing. -2012-01-12 14:21 erikgreenwald +2012-09-10 03:00 brlcad - * [r48490] src/burst/ui.c: - close colorfile after reading it (resource leak Cov462) + * [r52412] src/other/step/include: + don't ignore generated source, should be in bin dir -2012-01-12 14:21 starseeker +2012-09-10 02:58 brlcad - * [r48489] src/fb/gif2fb.c: - Do the NULL check. CID 397 + * [r52411] src/other/step/include/CMakeLists.txt: + bah, it's not actually a repo file -- something is writing to the + src tree -2012-01-12 14:14 n_reed +2012-09-10 02:57 brlcad - * [r48488] src/util/sun-pix.c: - need to compare getc returns to EOF, CID 117 + * [r52410] src/other/step/include/CMakeLists.txt: + ignore/inclue the scl_cf.h.in header template -2012-01-12 14:09 starseeker +2012-09-10 00:06 brlcad - * [r48487] src/libged/edit.c: - Make sure we have kp_v before we de-reference it - CID 1846 + * [r52409] include/Makefile.am: + missing nurbs.h -2012-01-12 14:04 r_weiss +2012-09-09 23:09 brlcad - * [r48486] src/conv/obj-g.c: - Updated file 'obj-g.c' to remove potential of dereferencing a - null pointer. Coverity CID 1739. + * [r52408] src/libnurbs/Makefile.am: + need tcl cppflags for libbu -2012-01-12 14:02 erikgreenwald +2012-09-09 21:46 brlcad - * [r48485] src/conv/g-egg.c: - move the argv test to after the advance. Cov1524 + * [r52407] src/mged/dm-generic.c: + set the size values into the dmp, not just indirectly via tk + (since we may not have tk) -2012-01-12 13:51 starseeker +2012-09-09 02:47 brlcad - * [r48484] src/libged/bigE.c: - Checking is pointless - eptr is always null in this case - CID - 2062 + * [r52406] src/libged/CMakeLists.txt: + ignore simulate.h header -2012-01-12 13:46 starseeker +2012-09-08 17:50 starseeker - * [r48483] src/libged/wdb_bigE.c: - Checking is pointless - eptr is always null in this case - CID - 2063 + * [r52405] src/librt/test_botpatches.cpp: + Start with the largest face in a group. -2012-01-12 13:45 n_reed +2012-09-08 15:03 starseeker - * [r48482] src/fb/pp-fb.c: - need to compare getchar return to EOF, CID 113 + * [r52404] src/librt/test_botpatches.cpp: + Don't group faces in the same patch with an area difference of + more than an order of magnitude. -2012-01-12 11:22 indianlarry +2012-09-08 14:24 starseeker - * [r48481] src/conv/step/BSplineCurve.cpp, - src/conv/step/CompositeCurve.cpp, - src/conv/step/ConnectedFaceSet.cpp, - src/conv/step/CurveBoundedSurface.cpp, src/conv/step/Face.cpp, - src/conv/step/GlobalUncertaintyAssignedContext.cpp, - src/conv/step/Path.cpp, src/conv/step/Polyline.cpp, - src/conv/step/PullbackCurve.cpp, - src/conv/step/Representation.cpp, src/conv/step/STEPWrapper.cpp: - Cleaned up coverity identified memory leaks. These relate to Run - 6 CIDs: 1865-76. + * [r52403] src/librt/test_botpatches.cpp: + No point in doing double the work - only calculate each patch + intersection once -2012-01-12 02:06 brlcad +2012-09-08 13:58 starseeker - * [r48480] src/shapes/fence.c: - fixes for coverity FORWARD_NULL and RESOURCE_LEAK defects (cid - 1848,1849,1878) where we kept processing if a db operation - failed. memory leak was a malloc() that snuck past libbu memory - allocation conversion reviews somehow. + * [r52402] CMakeLists.txt, misc/CMake/FindADAPTAGRAMS.cmake, + src/libged/CMakeLists.txt, src/mged/setup.c, + src/other/CMakeLists.txt: + The libged per-command build logic was premature - until we have + a real need for per-command handling, it's just a useless + distraction. -2012-01-12 01:54 starseeker +2012-09-08 05:29 brlcad - * [r48479] src/rt/heatgraph.c: - Check fbp for NULL - CID 1745 + * [r52401] src/librt/primitives/brep/brep.cpp: + zero-init to avoid use-before-set issue -2012-01-12 01:51 starseeker +2012-09-08 05:26 brlcad - * [r48478] src/libged/ps.c: - more pt_prev checks - CID 1743 + * [r52400] src/librt/primitives/nmg/nmg_rt_segs.c: + as the compiler notes, the call is unlikely and the benefit it + insignificant. remove the inline hint and just let it be like the + others. -2012-01-12 01:49 starseeker +2012-09-07 21:49 starseeker - * [r48477] src/libged/png.c: - more pt_prev checks - CID 1742 + * [r52399] src/librt/test_botpatches.cpp: + Try the surface_surface_intersection function on the NURBS + patches generated by the fitting routine. Looks promising -2012-01-12 01:46 starseeker +2012-09-07 20:01 starseeker - * [r48476] src/libged/edit.c: - Correct test for subcmd.cmd - CID 1741 + * [r52398] src/librt/test_botpatches.cpp: + Checkpoint - may not need this at all if surf-surf intersection + works. -2012-01-12 01:36 brlcad +2012-09-07 19:03 starseeker - * [r48475] src/libbu/test_htond.c: - try a trivial quellage for coverity TAINTED_SCALAR issue. given - the unit test is not standalone, though, it could use some - improvement love or get removed. (cid 1767) + * [r52397] misc/CMake/BRLCAD_Targets.cmake: + Fix macro behavior for pure CXX libs -2012-01-12 01:26 brlcad +2012-09-07 18:20 brlcad - * [r48474] src/libbu/temp.c: - dereferencing the popped list value without actually checking if - it's null (although the loop iterator does this for us, so not - technically an issue). simplify the logic. should fix coverity - REVERSE_INULL issue. (cov cid 1758) + * [r52396] include/ged.h: + oops, include the new ged_joint declaration (was part of the + patch) -2012-01-12 01:25 starseeker +2012-09-07 18:19 brlcad - * [r48473] src/libged/wdb_obj.c: - Can't report that wdbp is null to the interpreter when the data - structure containing the pointer to the interpreter (wdbp) is - null - just return TCL_ERROR. CID 1740 + * [r52395] TODO: + applied oana's patch so the joint command is moved. need to + figure out a libged issue, but one step closer regardless. -2012-01-12 01:22 brlcad +2012-09-07 18:19 brlcad - * [r48472] src/libbu/vls.c: - what's a few more bytes amongst friends + * [r52394] src/libged/CMakeLists.txt, src/libged/Makefile.am, + src/libged/columns.c, src/libged/joint.c, src/libged/joint.h, + src/mged/CMakeLists.txt, src/mged/Makefile.am, + src/mged/animedit.c, src/mged/joints.h, src/mged/setup.c: + apply sf patch 3565411 (The joint command from the libged + library) from Niculaescu Oana ( elf11 ) moving the animedit/joint + command from mged to libged. this leaves one todo action for + figuring out how to transition 'ghost' wireframe elements without + carrying over the hack that mged used, but it's forward progress + regardless. -2012-01-12 01:21 brlcad +2012-09-07 03:05 brlcad - * [r48471] src/libbu/vls.c: - fix for an off-by-one strncpy() error reported by coverity via - OVERRUN_STATIC check. my own bad even after numerous terrible - refactorings. it was writing one byte too many after the fbuf - format buffer for long format strings. few more iterations and - might get it right eventually. (cid 1747) + * [r52393] src/mged/CMakeLists.txt, src/mged/Makefile.am, + src/mged/cmd.h, src/mged/setup.c, src/mged/vrlink.c, + src/tclscripts/mged/help.tcl: + remove the old vrmgr 'Virtual Reality manager' interface to mged. + it provided a libpkg network interface to mged whereby you could + feed mged commands remotely. aside from being a gaping security + hole riddled with problems due to a lack of sandboxing, it is no + longer being used. ironically, it's more of a geometry service + than that 'other' effort ever became, but it's still not worth + keeping. the code needs updates and is accessing some functions + that it shouldn't, so reduce becomes best. -2012-01-12 01:19 starseeker +2012-09-07 02:58 brlcad - * [r48470] NEWS, src/shapes/coil.c: - Fixed a crash condition in coil where the combination of the -S - and -l options would result in an attempt to dereference a NULL - variable. CID 318 + * [r52392] src/mged/dodraw.c: + minor -2012-01-12 01:03 starseeker +2012-09-07 02:38 brlcad - * [r48469] src/remrt/remrt.c: - only try things with fp if it's not NULL - CID 317 + * [r52391] src/mged/chgview.c, src/mged/dodraw.c, + src/mged/dozoom.c, src/mged/mged.c: + more cleanup, isolate globals, descope to static where possible, + reorder to avoid decls -2012-01-12 00:59 brlcad +2012-09-07 02:25 brlcad - * [r48468] src/libbu/test_htond.c: - try a lil harder, make len volatile + * [r52390] src/mged/dodraw.c: + comment cleanup, make more globals static scope -2012-01-12 00:59 starseeker +2012-09-07 02:10 brlcad - * [r48467] src/proc-db/pipe.c: - Don't call Make_name if we've got a sphere - CID 315 + * [r52389] src/libnurbs/CMakeLists.txt: + ignore Makefile.am -2012-01-12 00:53 starseeker +2012-09-07 01:47 starseeker - * [r48466] src/nirt/command.c: - properly mark buffer and ctp as unused + * [r52388] src/librt/test_botpatches.cpp: + Try to build larger patches with the reject bots, instead of + accepting a single face by default - in many cases we still end + up with one face per patch, but we do get a few larger patches. -2012-01-12 00:52 brlcad +2012-09-06 23:54 starseeker - * [r48465] src/libbu/test_htond.c: - naive attempt to quell coverity DEADCODE warning (cid 1731). the - sizeof() constant is expectedly causing unreachable code. + * [r52387] src/librt/test_botpatches.cpp: + Build the structure maps when we actually know what the structure + is... -2012-01-12 00:51 starseeker +2012-09-06 23:36 starseeker - * [r48464] src/nirt/command.c: - No rtip, no shoot - CID 313 + * [r52386] src/librt/test_botpatches.cpp: + Clean up the face and border plotting -2012-01-12 00:36 starseeker +2012-09-06 21:36 starseeker - * [r48463] src/mged/setup.c: - If interpreter is NULL, that's a Bad Thing - warn and return - without trying anything fancy. CID 312 + * [r52385] src/librt/test_botpatches.cpp: + Move a few things around for clarity - time to start rewiring the + curve building code. -2012-01-12 00:35 brlcad +2012-09-06 21:15 starseeker - * [r48462] src/libbu/timer.c: - Restructure and cleanup. conditionalize on feature instead of - platform and pull the logging statement into a fall-back case so - we'll know at compile-time if we end up in an undefined state. - handles coverity UNREACHABLE issue (cid 1669). + * [r52384] src/CMakeLists.txt: + Document the rough form of what will need to happen (eventually) + for libbrlcad - main purpose is to document which of BRL-CAD's + libraries make up 'libbrlcad'. -2012-01-12 00:32 brlcad +2012-09-06 21:07 starseeker - * [r48461] CMakeLists.txt: - test for the mmsystem.h windows header so we can conditionalize - on feature instead of platform. + * [r52383] misc/CMake/BRLCAD_CMakeFiles.cmake: + Prepare CMAKEFILES macro for add_library(targetname OBJECT ...) + form of add_library function. -2012-01-12 00:30 starseeker +2012-09-06 20:13 brlcad - * [r48460] src/mged/CMakeLists.txt, src/mged/hideline.c: - Remove hideline.c - function within it flagged by Coverity, no - use of any code in file - CID 311 + * [r52382] src/Makefile.am: + add new libnurbs for compilation -2012-01-12 00:20 starseeker +2012-09-06 20:13 brlcad - * [r48459] src/mged/dodraw.c: - Another check the tsp first case - CID 310 + * [r52381] configure.ac: + enable new libnurbs for compilation since it's still under + deprecation -2012-01-12 00:13 starseeker +2012-09-06 20:11 brlcad - * [r48458] src/mged/animedit.c: - for good measure, check second usage. + * [r52380] src/librt/Makefile.am: + opennurbs_ext.cpp was moved to libnurbs, add libnurbs to linkage -2012-01-12 00:12 brlcad +2012-09-06 20:11 brlcad - * [r48457] src/libbu/fnmatch.c: - initialize the checkfun callback even though we don't use it for - sanity. coverity UNINIT (cid 1616). + * [r52379] src/tclscripts/igraph/Makefile.am: + graph.tcl renamed to igraph.tcl -2012-01-12 00:10 starseeker +2012-09-06 20:09 brlcad - * [r48456] src/mged/animedit.c: - Coverity found a path that gets to this point in animedit with - test_hold null - check for the null, but may be symptomatic of - deeper issue. CID 309 + * [r52378] src/libged/Makefile.am: + always compile dag (has #ifdef protections) and add the new + edbot.c source to libged -2012-01-12 00:02 starseeker +2012-09-06 20:09 brlcad - * [r48455] src/librt/tree.c: - No tsp, no use tsp. CID 307 + * [r52377] src/libnurbs/Makefile.am: + add a build file for the new libnurbs library -2012-01-11 23:59 starseeker +2012-09-06 19:38 starseeker - * [r48454] src/librt/primitives/revolve/revolve_brep.cpp: - Reworking of polycurve handling in revolve_brep.cpp - CID 306 + * [r52376] src/librt/test_botpatches.cpp: + Make a note that some better approach would be nice for the + projection overlap triangle handling. -2012-01-11 23:51 brlcad +2012-09-06 19:34 r_weiss - * [r48453] NEWS, TODO, doc/deprecation.txt, include/bu.h, - src/conv/intaval/Makefile.am, src/conv/intaval/tgf-g.cpp, - src/libbu/Makefile.am, src/libbu/dirent.c, src/nirt/nirt.c: - refactor bu_list_path() and bu_count_path() into a new - bu_dir_list() function that performs both. returns the count now - and optionally takes a pattern (instead of a suffix) and - conditionally handles all of the memory allocation for the caller - automatically. fixed a memory leak and off-by-one bug. documented - the new function and one caller in nirt accordingly. initiated in - response to RESOURCE_LEAK reported by coverity (cov cid 478). + * [r52375] include/nurbs.h, src/libnurbs/PullbackCurve.h: + Updated files "include/nurbs.h" and + "src/libnurbs/PullbackCurve.h". Moved the definition of + "check_pullback_singularity_bridge", "interpolateCurve", + "check_pullback_data" and "pullback_samples" to + "include/nurbs.h". This corrects a problem preventing a build + with MS Visual Studio 2008. -2012-01-11 23:36 brlcad +2012-09-06 19:23 brlcad - * [r48452] src/nirt/nirt.h: - make nirt prompt only have one space after the prompt + * [r52374] src/libged/CMakeLists.txt: + undocumented, is there a reason we disable strict if bullet is + found? -2012-01-11 23:16 starseeker +2012-09-06 19:21 starseeker - * [r48451] src/libbu/parse.c: - Check parsetab before using it - CID 301 + * [r52373] src/librt/test_botpatches.cpp: + Loop until there don't seem to be anymore overlaps - this one we + have to reach completion on, since these overlaps will interfere + with the surface fitting -2012-01-11 23:11 starseeker +2012-09-06 19:20 brlcad - * [r48450] src/librt/prep.c: - Make sure of tsp before we do something with it. CID 300 + * [r52372] src/libged/edbot.c: + call bu_sscanf instead of sscanf so we can handle %zu without + warnings -2012-01-11 22:40 bob1961 +2012-09-06 19:00 brlcad - * [r48449] src/libbu/ctype.c: - Tweak bu_str_isprint to return 0 for empty strings. + * [r52371] include/nurbs.h, src/librt/primitives/brep/brep.cpp: + the old build system scores another point detecting duplicate + symbols when it tried pulling libbrlcad together. utah_ray_planes + is provided by libnurbs now via the pullback file, so we can + eliminate the function in librt's brep implementation. -2012-01-11 22:39 bob1961 +2012-09-06 18:39 starseeker - * [r48448] src/conv/intaval/tgf-g.cpp: - run 5, CID 1927, tainted string. Atleast check to make sure the - string is not NULL and consists of printable characters. + * [r52370] src/librt/test_botpatches.cpp: + Make a stab at handling triangles causing projection edge + overlaps. -2012-01-11 22:19 bob1961 +2012-09-06 18:14 starseeker - * [r48447] include/bu.h, src/libbu/CMakeLists.txt, - src/libbu/ctype.c: - Added bu_str_isprint. + * [r52369] src/libnurbs/CMakeLists.txt: + Add back in libnurbs flags, commented out by default, with + explanatory comment. -2012-01-11 22:08 bob1961 +2012-09-06 17:16 brlcad - * [r48446] src/libged/glob.c: - Need to check gedp for NULL up front. If a database has not been - opened return without complaint. Note - the command and it's args - are in ged_result_str. + * [r52368] src/other/tkhtml/Makefile.am: + search /usr/X11/lib too since we're looking for the X11 lib. -2012-01-11 22:05 n_reed +2012-09-06 17:10 brlcad - * [r48445] src/liborle/rle.c: - always check returns from getc, CID 112, 115, 116 + * [r52367] autogen.sh, configure.ac: + fix the echo -n output during configure, be a tad more snarky + about continuing -2012-01-11 21:23 n_reed +2012-09-06 15:41 brlcad - * [r48444] src/libpkg/pkg.c: - terminate possibly unterminated strings, CID 109, CID 110 + * [r52366] src/libnurbs/CMakeLists.txt: + dead code without comment -2012-01-11 21:11 starseeker +2012-09-06 15:41 starseeker - * [r48443] src/libged/wdb_obj.c: - Make sure type isn't null before calling strlen - CID 299 + * [r52365] src/librt/test_botpatches.cpp: + Turn projection edge overlap testing back on. -2012-01-11 21:10 n_reed +2012-09-06 14:56 starseeker - * [r48442] src/libcursor/cursor.c: - terminate potentially unterminated string, CID 108 + * [r52364] src/librt/test_botpatches.cpp: + Clean up edge printing, few other output tweaks. -2012-01-11 21:10 indianlarry +2012-09-06 14:49 r_weiss - * [r48441] src/conv/step/NamedUnit.cpp: - Added coverity suggested work-around for double-free of virtual - base class memory in destructor by setting freed member to NULL. - Relates to CIDs: 2042-53 + * [r52363] src/libnurbs/CMakeLists.txt: + Made a change to "CMakeLists.txt" within "libnurbs" to fix a + build error with MS Visual Studio 2008. -2012-01-11 21:08 starseeker +2012-09-06 14:01 brlcad - * [r48440] src/librt/primitives/nmg/nmg_misc.c: - Check fu_base before using it - Coverity thinks there's a path to - get there that can have fu_base NULL. CID 295 + * [r52362] configure.ac: + directory is igraph, not graph -2012-01-11 20:57 starseeker +2012-09-06 03:53 brlcad - * [r48439] src/libged/ls.c: - Make sure we have type before we call strlen - CID 294 + * [r52361] src/libnurbs/PullbackCurve.cpp, + src/libnurbs/opennurbs_ext.cpp: + convert from structs to classes in order to begin addressing + compiler inline issues raised by the automatic + constructor/destructor -2012-01-11 20:54 starseeker +2012-09-06 00:53 starseeker - * [r48438] src/libged/dg_obj.c: - Don't do the tsp assignment unless we actually have tsp - CID 293 + * [r52360] src/librt/test_botpatches.cpp: + typo -2012-01-11 20:54 indianlarry +2012-09-06 00:48 starseeker - * [r48437] src/conv/step/Axis1Placement.cpp, - src/conv/step/Axis2Placement2D.cpp, - src/conv/step/Axis2Placement3D.cpp, - src/conv/step/BSplineCurve.cpp, src/conv/step/BoundaryCurve.cpp, - src/conv/step/BoundedCurve.cpp, src/conv/step/BoundedPCurve.cpp, - src/conv/step/BoundedSurface.cpp, - src/conv/step/BoundedSurfaceCurve.cpp, - src/conv/step/CartesianTransformationOperator.cpp, - src/conv/step/CartesianTransformationOperator2D.cpp, - src/conv/step/CartesianTransformationOperator3D.cpp, - src/conv/step/CompositeCurveOnSurface.cpp, - src/conv/step/Conic.cpp, src/conv/step/Curve.cpp, - src/conv/step/CurveBoundedSurface.cpp, - src/conv/step/CurveReplica.cpp, src/conv/step/Direction.cpp, - src/conv/step/Edge.cpp, src/conv/step/ElementarySurface.cpp, - src/conv/step/GeometricRepresentationItem.cpp, - src/conv/step/IntersectionCurve.cpp, src/conv/step/Loop.cpp, - src/conv/step/OffsetSurface.cpp, - src/conv/step/OpenNurbsInterfaces.cpp, - src/conv/step/RectangularCompositeSurface.cpp, - src/conv/step/RectangularTrimmedSurface.cpp, - src/conv/step/RepresentationItem.cpp, - src/conv/step/SeamCurve.cpp, src/conv/step/SolidModel.cpp, - src/conv/step/SurfacePatch.cpp, src/conv/step/SurfaceReplica.cpp, - src/conv/step/TopologicalRepresentationItem.cpp: - Reset stream "sticky" setting of std::Hex back to std::dec. - Related to CIDs: 1884-1924. + * [r52359] src/librt/test_botpatches.cpp: + While I'm moving values into the struct, take care of the + parallel-to-projection-plane threshold. -2012-01-11 20:35 starseeker +2012-09-06 00:26 starseeker - * [r48436] src/libged/wdb_bigE.c: - Check eptr before we use it. CID 292 + * [r52358] src/librt/test_botpatches.cpp: + Work harder at removing patches with three or fewer triangles, + make the thresholds for when to start looking at neighbor + flatness paramaters in the info struct. -2012-01-11 20:34 bob1961 +2012-09-05 23:03 brlcad - * [r48435] src/librt/primitives/nmg/nmg_misc.c: - run 5, CID 1929. Initialize a variable before it gets used (for - covarity). + * [r52357] src/libnurbs/opennurbs_ext.cpp: + if newton iteration fails, then new_uv could be accessed prior to + initialization. explicitly initialize it to zero, but also handle + failed iteration by simply nudging down the uv diagnoal. -2012-01-11 20:32 starseeker +2012-09-05 20:06 starseeker - * [r48434] src/libdm/dm-ps.c: - Make sure pt_prev isn't NULL before trying to use it - CID 267 + * [r52356] src/librt/test_botpatches.cpp: + As patches are built and cross a threshold of holding 1/100th of + the total bot count in the mesh, add additional flatness + constraints. Should probably be a post processing step to break + up larger patches to ensure consistent behavior. -2012-01-11 20:29 r_weiss +2012-09-05 16:16 r_weiss - * [r48433] src/conv/obj-g.c: - Updated file 'obj-g.c' to correct a bug where a null pointer - could be dereferenced. Coverity CID 1739. + * [r52355] src/libged/gqa.c: + Updated function "summary_reports" in file "gqa.c" for mged + command "gqa". Changed the report so that, regions with zero hits + which are in the overlap list, are not reported as having zero + hits. -2012-01-11 20:13 indianlarry +2012-09-05 14:18 starseeker - * [r48432] src/conv/step/PullbackCurve.cpp: - Now getting last element in Std::List by using - "data.segments.back()" (after check to make sure list is not - empty) instead of misusing iterator "data.segments.end()" walking - past the end of its container. Relates to Run 5 CID 1851. + * [r52354] src/librt/test_botpatches.cpp: + Move vectors into structure, make threshold for patch merging a + parameter. There are indications that large patches may need to + be broken up for the sake of feature preservation, possibly based + on mesh density... need to read up on the problem. -2012-01-11 20:00 r_weiss +2012-09-04 20:50 r_weiss - * [r48431] src/conv/obj-g.c: - Updated file 'obj-g.c' file to correct type errors. Coverity CID - 1765. + * [r52353] src/libged/gqa.c: + Updated function "summary_reports" in file "gqa.c". This change + forces the "gqa" command to report all missed regions, not just + the first missed region. -2012-01-11 19:55 bob1961 +2012-09-04 20:47 r_weiss - * [r48430] src/librt/primitives/nmg/nmg_eval.c: - run 5, CID 2041. Removed the offending debug statement. + * [r52352] src/librt/primitives/tgc/tgc.c: + Updated function "rt_tgc_shot" in file "tgc.c". Temporarily + disabled some warning messages which were causing a segmentation + fault running on 64bit Linux using the "gqa" commnand. It appears + for be related to multiple threads, writing to stderr, at the + same time. -2012-01-11 19:33 bob1961 +2012-09-04 20:39 r_weiss - * [r48429] src/libged/glob.c, src/libged/qray.c: - To appease MGED when it doesn't have a database open, GED_OK - needs to be returned when the qray or glob commands are called. + * [r52351] src/librt/primitives/rec/rec.c: + Updated function "rt_rec_shot" in file "rec.c". Initialized the + "hits" array to quiet a complaint from valgrind about using + uninitialized variables. -2012-01-11 19:27 starseeker +2012-09-04 20:16 starseeker - * [r48428] src/other/perplex/scanner_template.c: - Make sure we have buf before we void out buf->elts. Scanner - template fix will impact all users of perplex - CID 1839 + * [r52350] src/librt/test_botpatches.cpp: + Turn back on NURBS surface generation -2012-01-11 19:21 starseeker +2012-09-04 19:34 starseeker - * [r48427] misc/CMake/PERPLEX_Util.cmake: - If the perplex template changes, we want to do a rebuild of the - tools that use it. + * [r52349] src/librt/test_botpatches.cpp: + Do a little more tweaking to patch edge shaver - probably 'close + enough' to proceed -2012-01-11 19:19 indianlarry +2012-09-04 19:25 starseeker - * [r48426] src/conv/step/PullbackCurve.cpp: - Removed unused debug code causing coverity CID 2037. + * [r52348] src/librt/test_botpatches.cpp: + checkpoint -2012-01-11 19:04 starseeker +2012-09-04 16:34 starseeker - * [r48425] src/librt/primitives/brep/brep_debug.cpp: - Wrap the brep uses inside the null checks. CID 277-291 + * [r52347] src/librt/test_botpatches.cpp: + make a stab at trimming the edges to get smoother transitions + between patches -2012-01-11 18:52 brlcad +2012-09-04 16:06 starseeker - * [r48424] src/libbu/parse.c: - missing break statement on unimplemented switch case. fixes - coverity MISSING_BREAK defect (cov cid 345). + * [r52346] src/librt/test_botpatches.cpp: + checkpoint -2012-01-11 18:50 starseeker +2012-09-04 15:13 starseeker - * [r48423] src/libged/bot_split.c: - Put the rt_db_put_internal call using dp inside the check for the - NULL condition - safer. CID 276 + * [r52345] src/librt/test_botpatches.cpp: + checkpoint -2012-01-11 18:45 starseeker +2012-09-04 13:45 starseeker - * [r48422] src/libged/bot_dump.c: - Do some sanity checking on fp in data_dump. CID 275 + * [r52344] src/librt/test_botpatches.cpp: + Pack the relational maps into a struct to make function parameter + lists shorter. -2012-01-11 18:37 starseeker +2012-09-04 02:08 starseeker - * [r48421] src/libged/draw.c: - Add a check for tsp not being NULL - CID 274 + * [r52343] src/librt/test_botpatches.cpp: + May want to make this a parameter - essentially, it's the + tradeoff between smaller, flatter patches and bigger, less flat + patches. -2012-01-11 18:31 starseeker +2012-09-04 00:58 starseeker - * [r48420] src/libged/bigE.c: - Make sure we have eptr before trying to use it in the LEAF case. - CID 273 + * [r52342] misc/CMake/RE2C_Util.cmake: + RE2C_Util.cmake had incorrect name at the top. -2012-01-11 18:21 brlcad +2012-08-31 22:27 starseeker - * [r48419] src/libbu/convert.c: - eliminate a DEADCODE condition reported by coverity since the - logic will never be CV_D at this point in the code. (cov cid 162) + * [r52341] src/librt/test_botpatches.cpp: + Find edge segments again. -2012-01-11 18:09 starseeker +2012-08-31 22:26 starseeker - * [r48418] src/libpkg/pkg.c: - Don't do the PKC_ERROR cast - not correct. + * [r52340] BUGS: + Note weirdness with overlay command when the file is named + edges.pl -2012-01-11 18:03 r_weiss +2012-08-31 21:50 starseeker - * [r48417] src/conv/obj-g.c: - Updated file 'obj-g.c' function 'main'. Coverity CID 1777. - Changed the file name string to use vls strings instead of - pointing back to the input arg list string. + * [r52339] src/librt/test_botpatches.cpp: + Move debugging plot for faces to main routine. -2012-01-11 18:00 starseeker +2012-08-31 21:02 carlmoore - * [r48416] src/libfb/if_mem.c: - Check if file is NULL up front. CID 272 + * [r52338] src/mged/animedit.c: + fix spellings (notice 'thise --> this' change) -2012-01-11 17:56 n_reed +2012-08-31 20:56 carlmoore - * [r48415] src/librt/primitives/nmg/nmg_misc.c: - forgot to dereference counter pointer before increment, CID 97 + * [r52337] src/mged/mged.c: + fix 2 spellings -2012-01-11 17:53 starseeker +2012-08-31 20:35 carlmoore - * [r48414] src/libfb/if_X.c: - is_linear means we don't have a cmp - in that case, don't try to - use it. CID 271 + * [r52336] src/mged/buttons.c: + fix 3 spellings -2012-01-11 17:48 brlcad +2012-08-31 20:01 r_weiss - * [r48413] src/libbu/convert.c: - eh, reduce. Endian isn't used other than to check if we're big - endian so just eliminate the static altogether (which was a - multithreading issue anyways). (cov cid 161) + * [r52335] include/bn.h, include/vmath.h, src/libbn/mat.c, + src/librt/primitives/nmg/nmg_misc.c: + Update to function "nmg_loop_plane_area2" in file "nmg_misc.c". + This change was for code cleanup and improve floating point + precision. Added two new macros to file "vmath.h" named "VCLAMP" + and "HCLAMP" which clamps values near zero to zero within a 3D or + 4D vector. Also changed files "bn.h" and "mat.c" to change the + parameter types for function "bn_mat_fromto". -2012-01-11 17:47 starseeker +2012-08-31 19:37 starseeker - * [r48412] src/libfb/if_X.c: - If we're going to check for ifp, don't do anything that might - require ifp without the OK. Not entirely clear if there should be - some failure case here, of the 'silently ignore' behavior is - preferred... CID 270 + * [r52334] src/librt/test_botpatches.cpp: + refactor logic to functions -2012-01-11 17:44 indianlarry +2012-08-31 19:07 starseeker - * [r48411] src/conv/step/CompositeCurveSegment.cpp, - src/conv/step/CurveReplica.cpp, - src/conv/step/DerivedUnitElement.cpp, - src/conv/step/EdgeCurve.cpp, src/conv/step/Line.cpp, - src/conv/step/Representation.cpp, src/conv/step/SurfacePatch.cpp: - Added checks on known NULL returning functions to quell - NULL_RETURNS issues from coverity. Relates to coverity CIDs Run 5 - :1853-9 + * [r52333] src/librt/test_botpatches.cpp: + more tweaks to initial partitioning - still results in some + small-triangle-count patches, but it may be simpler to deal with + those later in the process. -2012-01-11 17:41 starseeker +2012-08-31 18:44 carlmoore - * [r48410] src/libfb/fb_obj.c: - If we get FBIO_NULL, return an error. CID 269 + * [r52332] bench/run.sh: + change ie to i.e. -2012-01-11 17:41 brlcad +2012-08-31 18:36 carlmoore - * [r48409] src/libbu/convert.c: - convert from manually trying to test the platform endian to using - bu_byteorder(). this should take care of a coverity DEADCODE - issue since it's not based on sizeof(). (cov cid 161) + * [r52331] bench/benchmark.1: + oops, fix another spelling -2012-01-11 17:38 starseeker +2012-08-31 18:35 carlmoore - * [r48408] src/libdm/dm-tk.c: - Make sure we have pt_prev before proceeding to use it - CID 267 + * [r52330] bench/benchmark.1: + fix 1 spelling -2012-01-11 17:32 starseeker +2012-08-31 16:29 carlmoore - * [r48407] src/libdm/dm-plot.c: - Make sure we have pt_prev before proceeding to use it - CID 266 + * [r52329] sh/cray.sh: + fix spelling and delete a space before closing # -2012-01-11 17:29 starseeker +2012-08-31 16:26 carlmoore - * [r48406] src/libdm/dm-X.c: - Make sure we have pt_prev before proceeding to use it - CID 265 + * [r52328] sh/make_rpm.sh: + fix 1 spelling -2012-01-11 17:20 starseeker +2012-08-31 16:23 carlmoore - * [r48405] src/lgt/reflect.c: - Check for NULL lgt_entry. CID 264 + * [r52327] sh/shtool: + fix spelling in 2 places -2012-01-11 17:12 starseeker +2012-08-31 16:20 carlmoore - * [r48404] src/lgt/do_options.c: - Check for null svkey_fp - CID 263 + * [r52326] sh/conversion.sh: + fix 1 spelling -2012-01-11 17:05 r_weiss +2012-08-31 16:15 carlmoore - * [r48403] src/librt/primitives/nmg/nmg_tri.c: - Updated funtion 'nmg_plot_fu' in file 'nmg_tri.c'. Removed an - unused variable which was giving a coverity error of - uninitialized. + * [r52325] regress/bots.sh: + fix spelling -2012-01-11 16:58 r_weiss +2012-08-31 16:01 carlmoore - * [r48402] src/librt/primitives/nmg/nmg_bool.c: - Updated file 'nmg_bool.c' function 'nmg_booltree_leaf_tess'. - Removed potential of referencing an uninitialized pointer. + * [r52324] src/gtools/g_diff.1: + fix a spelling -2012-01-11 16:58 starseeker +2012-08-31 02:32 starseeker - * [r48401] src/lgt/do_options.c: - Check for NULL args case, log and return appropriately. CID 262 + * [r52323] src/librt/test_botpatches.cpp: + Start significant re-organization of bot->nurbs code - this will + result in functionality reduction for a while. -2012-01-11 16:54 starseeker +2012-08-31 00:18 r_weiss - * [r48400] src/lgt/do_options.c: - Check for NULL args case, log and return appropriately. CID 261 + * [r52322] src/libnurbs/PullbackCurve.cpp: + Fixed compile errors due to unused variables. -2012-01-11 16:51 r_weiss +2012-08-30 22:45 starseeker - * [r48399] src/librt/primitives/nmg/nmg_mk.c: - Updated file 'nmg_mk.c' function 'nmg_demote_eu'. Removed - potential of referencing an element after it is freed. + * [r52321] src/librt/test_botpatches.cpp: + Make edge set building code more compact. -2012-01-11 16:43 r_weiss +2012-08-30 22:10 r_weiss - * [r48398] src/librt/primitives/nmg/nmg_extrude.c: - Updated file 'nmg_extrude.c' function 'nmg_break_crossed_loops'. - Removed potential use of 'pt' before it is initialized. Presently - 'nmg_break_crossed_loops' is not being called. + * [r52320] src/librt/primitives/nmg/nmg_misc.c: + Update to function "nmg_loop_plane_area2" in file "nmg_misc.c". + This is a work in progress. These changes are to correct floating + point problems computing the plane of very small polygons. -2012-01-11 16:43 n_reed +2012-08-30 22:05 carlmoore - * [r48397] src/conv/step/PCurveOrSurface.cpp: - removed extra semicolons + * [r52319] src/util/pixbackgnd.c: + fix 2 spellings -2012-01-11 16:41 starseeker +2012-08-30 22:03 carlmoore - * [r48396] src/lgt/do_options.c: - Check for NULL args case, log and return appropriately. CID 260 + * [r52318] src/util/wavelet.1: + fix spelling -2012-01-11 16:27 starseeker +2012-08-30 21:46 carlmoore - * [r48395] src/irprep/ir-X.c: - Don't fool around with this - if scanf fails and we have no file - pointer, exit. CID 259 + * [r52317] src/anim/Makefile.am: + per Sean Morrison, fix a 'hardtrack' spelling -2012-01-11 16:12 starseeker +2012-08-30 21:42 carlmoore - * [r48394] src/libpkg/pkg.c: - Check for null pc->pkc_buf - CID 258 + * [r52316] src/external/ProEngineer/proe-brl.c: + fix spelling in 4 places -2012-01-11 16:08 r_weiss +2012-08-30 21:36 carlmoore - * [r48393] src/librt/primitives/nmg/nmg_mk.c: - Updated file 'nmg_mk.c' function 'nmg_demote_lu'. Fixed error - when debug enabled when an element is referenced after freed. + * [r52315] src/burst/grid.c: + fix spelling -2012-01-11 16:08 indianlarry +2012-08-30 21:34 carlmoore - * [r48392] src/conv/step/PullbackCurve.cpp: - Preprocessed out "dead_code", eventually remove but offers - alternative to curve fitting method used for pullback. Should - quell coverity scan CID 1838 + * [r52314] src/burst/trie.c: + fix 1 spelling -2012-01-11 16:04 starseeker +2012-08-30 21:32 carlmoore - * [r48391] src/libpkg/pkg.c: - service shouldn't be null with pkg_permserver - just check for it - up front. CID 257 + * [r52313] src/burst/prnt.c: + fix spelling -2012-01-11 15:46 indianlarry +2012-08-30 21:30 carlmoore - * [r48390] src/conv/step/EdgeCurve.cpp, - src/conv/step/OrientedEdge.cpp: - Added check for NULL before using entiry field to resolve - FORWARD_NULL issue from coverity. Relates to CIDs: 1844-5 + * [r52312] src/burst/Hm.h: + fix 3 spellings -2012-01-11 15:37 n_reed +2012-08-30 21:27 carlmoore - * [r48389] src/librt/primitives/nmg/nmg_rt_isect.c: - remove duplicated if test, CID 2055 + * [r52311] src/anim/anim_hardtrack.c: + fix 1 spelling -2012-01-11 15:30 r_weiss +2012-08-30 21:25 carlmoore - * [r48388] src/conv/iges/check_names.c, src/conv/iges/g-iges.c: - Cleanup of iges-g and g-iges converters. Removed a possible race - condition by using the 'access' function instead of 'stat'. - Cleanup of logic for creating unique brlcad names. + * [r52310] src/anim/anim_sort.1: + fix 2 spellings -2012-01-11 15:13 brlcad +2012-08-30 21:17 carlmoore - * [r48387] src/conv/g-nff.c: - wow, k&r main() but not the rest. + * [r52309] src/anim/anim_turn.1: + fix 2 spellings -2012-01-11 15:13 brlcad +2012-08-30 21:15 carlmoore - * [r48386] src/conv/g-nff.c: - ws, style + * [r52308] src/anim/anim_track.1: + fix spellings -2012-01-11 15:09 brlcad +2012-08-30 21:12 carlmoore - * [r48385] src/libbu/parallel.c: - don't set ncpu to 1 if the method of detecting cpus fails. there - may be alternate/additional methods available that can succeed. - this prevents a DEADCODE condition reported by coerity (cov cid - 160) + * [r52307] src/anim/chan_mult.1: + fix 2 spellings -2012-01-11 14:49 starseeker +2012-08-30 21:11 carlmoore - * [r48384] src/libged/bot_dump.c: - Go ahead and check the fp before calling the write functions for - bot_dump... CID 243 + * [r52306] src/anim/anim_script.1: + fix 7 spellings -2012-01-11 14:33 starseeker +2012-08-30 21:07 carlmoore - * [r48383] src/fb/pl-fb.c: - Stray return left over from CID 127 cleanup. CID 2061 + * [r52305] src/brlman/brlman.sh.in: + fix 1 spelling -2012-01-11 14:29 starseeker +2012-08-30 21:05 carlmoore - * [r48382] src/libged/red.c: - Ah, right, goto means we could be skipping fclose. Don't want to - do that. CID 2060 + * [r52304] src/fbed/fb_ik.h: + fix 1 spelling -2012-01-11 14:23 starseeker +2012-08-30 21:02 carlmoore - * [r48381] src/fb/gif2fb.c: - magic is bigger than Header.GH_Magic - we only want to memcpy the - length of Header.GH_Magic. CID 2059 + * [r52303] src/canon/canonize.1: + fix 1 spelling -2012-01-11 14:09 starseeker +2012-08-30 21:00 carlmoore - * [r48380] src/conv/obj-g.c: - Only try the nmg_km if we have fu - move the call inside the - protection of the null check. CID 2058 + * [r52302] src/lgt/lgt.1: + fix 2 spellings -2012-01-11 14:05 starseeker +2012-08-30 20:57 carlmoore - * [r48379] src/libged/comb.c: - Don't appear to need this lookup in the first place. CID 1702, - 2056 + * [r52301] src/lgt/cursors.h: + fix 1 spelling -2012-01-11 14:01 starseeker +2012-08-30 20:55 carlmoore - * [r48378] src/conv/comgeom/cvt.c: - We actually want to return if argv is NULL, not if it's true. CID - 1771, 2057 + * [r52300] src/conv/poly-bot.c: + fix misspelling in error message -2012-01-11 13:53 starseeker +2012-08-30 20:53 carlmoore - * [r48377] src/librt/primitives/nmg/nmg_rt_isect.c: - By this point in the code logic, myhit is actually completely - moot - shouldn't be trying to log it at all. CID 245, 2055 + * [r52299] src/lgt/glob.c: + fix 1 spelling -2012-01-11 12:04 indianlarry +2012-08-30 20:51 carlmoore - * [r48376] src/conv/step/Factory.cpp: - Added check for NULL before calling method pointer resolving - FORWARD_NULL issue from coverity. Relates to CIDs: 1840-43 + * [r52298] src/lgt/trie.c: + fix 1 spelling -2012-01-11 11:09 indianlarry +2012-08-30 20:50 carlmoore - * [r48375] src/conv/step/SphericalSurface.cpp, - src/conv/step/SurfacePatch.cpp, src/conv/step/SweptSurface.cpp, - src/conv/step/ToroidalSurface.cpp, - src/conv/step/TrimmedCurve.cpp, src/conv/step/TrimmingSelect.cpp, - src/conv/step/TrimmingSelect.h, src/conv/step/UniformSurface.h, - src/conv/step/Vector.cpp: - Added initialization for all class fields in constructor to take - care of coverity UNINIT_CTOR. Relates to Run 5 CID 2008, 2011, - 2019-20, 2022-33 + * [r52297] src/lgt/prnt.c: + fix 1 spelling -2012-01-11 10:55 indianlarry +2012-08-30 20:48 carlmoore - * [r48374] src/conv/step/Parabola.cpp, - src/conv/step/QuasiUniformSurface.h, - src/conv/step/RationalBezierSurface.h, - src/conv/step/RationalQuasiUniformSurface.h, - src/conv/step/RationalUniformSurface.h, - src/conv/step/RectangularTrimmedSurface.cpp, - src/conv/step/RectangularTrimmedSurface.h: - Added initialization for all class fields in constructor to take - care of coverity UNINIT_CTOR. Relates to Run 5 CID - 1999,2000,2002-7,2009-10,2012-13 + * [r52296] src/lgt/error.c: + fix 1 spelling -2012-01-11 10:38 indianlarry +2012-08-30 20:46 carlmoore - * [r48373] src/conv/step/PCurveOrSurface.cpp, - src/conv/step/PCurveOrSurface.h, src/conv/step/Path.cpp, - src/conv/step/SiUnit.cpp, src/conv/step/SurfaceCurve.cpp: - Added initialization for all class fields in constructor to take - care of coverity UNINIT_CTOR. Relates to Run 5 CID - 1937,1955,1956,1978 + * [r52295] src/lgt/hmenu.c: + fix 1 spelling -2012-01-11 10:24 indianlarry +2012-08-30 20:44 carlmoore - * [r48372] src/conv/step/GeometricRepresentationContext.cpp, - src/conv/step/Hyperbola.cpp, src/conv/step/Loop.cpp, - src/conv/step/MeasureValue.cpp, src/conv/step/MeasureValue.h, - src/conv/step/OffsetCurve2D.cpp, src/conv/step/OffsetCurve3D.cpp, - src/conv/step/OffsetSurface.cpp, src/conv/step/OffsetSurface.h, - src/conv/step/OrientedEdge.cpp, src/conv/step/OrientedEdge.h: - Added initialization for all class fields in constructor to take - care of coverity UNINIT_CTOR. Relates to Run 5 CID 1934, 1977, - 1984-97 + * [r52294] src/lgt/grid_rotate.c: + fix 1 spelling -2012-01-11 09:51 indianlarry +2012-08-30 20:43 carlmoore - * [r48371] src/conv/step/EdgeCurve.cpp, src/conv/step/EdgeCurve.h, - src/conv/step/Ellipse.cpp: - Added initialization for all class fields in constructor. Relates - to Run 5 CID 1975,1976,1979,1980. + * [r52293] src/lgt/char.c: + fix spelling -2012-01-11 09:48 indianlarry +2012-08-30 20:41 carlmoore - * [r48370] src/libged/make_pnts.c, src/libged/wdb_obj.c: - Additional cleanup of cases where assignment made in 'if' - conditional but variable never used. Relates to Coverity Run 5 - CID 1704, 1705 + * [r52292] src/lgt/reflect.c: + fix 5 spellings -2012-01-11 00:21 starseeker +2012-08-30 20:35 carlmoore - * [r48369] src/conv/proe-g.c: - Check for wmem before we start playing with matrices - if we - don't have it, warn and ignore. CID 256 + * [r52291] misc/NIST_DENSITIES: + as advised, fix spelling of 'Dichlorobenzene' -2012-01-10 23:57 starseeker +2012-08-30 20:32 carlmoore - * [r48368] src/librt/primitives/nmg/nmg_misc.c: - This one's a bit more interesting. Coverity doesn't think the - tol->dist comparison with the -1 settings of dist1 and dist2 is - enough to guarantee a continue in the bad case, and if that's so - then next_fus->vp being check for NULL earlier and then being - used may imply a problem. I doubt we're getting negative - tolerances, but since the tol type is double it's not forbidden. - Rather than depend on the -1 comparison, set a control variable - that will trigger a continue and then set that to 1 instead of - setting dist1/2 to -1 - then it won't matter what the tol value - is. CID 254 + * [r52290] misc/CMake/FindTCL.cmake: + fix spelling of a variable as advised -2012-01-10 23:42 starseeker +2012-08-30 20:24 carlmoore - * [r48367] src/conv/iges/showtree.c: - Make sure we've got ptr->parent - may want to revisit and see if - we really need to verify it earlier... CID 252 + * [r52289] src/conv/g-shell-rect.1: + fix 2 spellings -2012-01-10 23:38 starseeker +2012-08-30 20:21 carlmoore - * [r48366] src/conv/iges/revolve.c: - Check for the NULL case first - CID 251 + * [r52288] src/conv/fast4-g.c: + and fix another spelling -2012-01-10 23:35 starseeker +2012-08-30 20:21 carlmoore - * [r48365] src/conv/g-vrml.c: - If we have no path, we're done here - return. CID 250 + * [r52287] src/conv/fast4-g.c: + fix 1 spelling -2012-01-10 23:32 starseeker +2012-08-30 20:12 carlmoore - * [r48364] src/librt/primitives/nmg/nmg_inter.c: - Make sure we have this before we try bu_logging it. CID 248 + * [r52286] NEWS: + fix 1 spelling -2012-01-10 23:28 starseeker +2012-08-30 20:12 carlmoore - * [r48363] src/librt/primitives/nmg/nmg_plot.c: - Don't do something that needs to check fp if fp has been NULLed - out. CID 247 + * [r52285] TODO: + fix 1 spelling -2012-01-10 23:24 starseeker +2012-08-30 19:57 carlmoore - * [r48362] src/librt/primitives/nmg/nmg_rt_isect.c: - Check for the null myhit case - CID 245 + * [r52284] autogen.sh: + fix spellings in 3 places -2012-01-10 23:07 starseeker +2012-08-30 19:49 carlmoore - * [r48361] src/libged/bot_dump.c: - Check if we have a binary file type and don't have STL as the - type - in that case, we won't have a valid fp and continuing on - to the switch statement is a Bad Idea - instead, inform the user - we have a binary+non-STL situation and return. CID 243 + * [r52283] misc/fortran_example.f: + fix 1 spelling -2012-01-10 21:34 indianlarry +2012-08-30 19:42 carlmoore - * [r48360] src/conv/step/Axis1Placement.cpp, - src/conv/step/Axis2Placement.cpp, src/conv/step/Axis2Placement.h, - src/conv/step/BSplineCurve.cpp, src/conv/step/BSplineCurve.h, - src/conv/step/BSplineCurveWithKnots.cpp, - src/conv/step/BSplineCurveWithKnots.h, - src/conv/step/BSplineSurface.cpp, src/conv/step/BSplineSurface.h, - src/conv/step/BSplineSurfaceWithKnots.cpp, - src/conv/step/BSplineSurfaceWithKnots.h, - src/conv/step/BezierSurface.h, src/conv/step/CartesianPoint.cpp, - src/conv/step/Circle.cpp, src/conv/step/CompositeCurve.cpp, - src/conv/step/CompositeCurveSegment.cpp, - src/conv/step/ConicalSurface.cpp, src/conv/step/Curve.cpp, - src/conv/step/CurveBoundedSurface.cpp, - src/conv/step/CurveBoundedSurface.h, - src/conv/step/CylindricalSurface.cpp, - src/conv/step/DerivedUnitElement.cpp, - src/conv/step/DimensionalExponents.cpp, - src/conv/step/Direction.cpp, src/conv/step/FaceBound.cpp, - src/conv/step/FaceBound.h, src/conv/step/FaceSurface.cpp, - src/conv/step/FaceSurface.h: - Added initialization for all class fields in constructor to take - care of UNINIT_CTOR for CIDS: - 1935,1939,1938,1941,1940,1944,1943,1946,1945,1949,1948,1951,1950,1953,1952,1957,1947,1959,1958,1960,1954,1962,1961,1964,1963,1965,1942,1967,1966,1969,1968,1971,1970,1972,1936,1974,1973,1976,1975,1980,1979,1982,1981,1983 + * [r52282] misc/Doxyfile.in: + fix 1 spelling -2012-01-10 21:33 starseeker +2012-08-30 19:40 carlmoore - * [r48359] src/librt/shoot.c: - No fp, no function calling - Bad Things likely if we do. CID 241 + * [r52281] misc/Doxyfile: + fix 2 spellings -2012-01-10 21:32 brlcad +2012-08-30 13:53 starseeker - * [r48358] TODO: - g-dot seems to be having trouble too + * [r52280] src/librt/test_botpatches.cpp: + cleanup, simplify (slightly) -2012-01-10 21:28 starseeker +2012-08-30 13:23 starseeker - * [r48357] src/libfb/fb_util.c: - Coverity wants us to do something about the NULL case if we're - testing for it - the fb_ functions always seem to return 0 - just - do that if ifp is NULL, rather than calling other functions. CID - 239, 240 + * [r52279] src/librt/test_botpatches.cpp: + just use ON_3dPoint - no point in custom point type here. -2012-01-10 21:27 brlcad +2012-08-30 01:20 starseeker - * [r48356] TODO: - g-nff crashes + * [r52278] src/librt/test_botpatches.cpp: + simplify some code a bit using mk_edge -2012-01-10 21:20 starseeker +2012-08-29 16:57 brlcad - * [r48355] src/burst/prnt.c: - Whoops - NULL -> NUL + * [r52277] src/libtclcad/tclcad_obj.c: + if cmd is going to get set, might as well use it. -2012-01-10 21:19 starseeker +2012-08-29 15:28 n_reed - * [r48354] src/burst/prnt.c: - Protect p assignment from the case where p is NULL. CID 238 + * [r52276] src/other/step/src/exppp/exppp.c: + Use stdarg.h unconditionally and avoid undefined behavior by + remembering to call va_end. Appears to fix fedex_plus crash seen + when doing a Windows release build. -2012-01-10 21:17 brlcad +2012-08-29 14:50 starseeker - * [r48353] src/libbu/progname.c: - default prefix on crash logs files with (BRL-CAD) instead of - (unknown) so it's clear where they came from even when we don't - know the application's name. + * [r52275] src/librt/test_botpatches.cpp: + disable debugging messages for point converter. -2012-01-10 21:11 n_reed +2012-08-29 14:12 n_reed - * [r48352] src/conv/comgeom/cvt.c: - more checking of user-supplied filenames before using them, CID - 1771 + * [r52274] src/librt/primitives/ell/ell.c: + decompose alternate plot code into functions -2012-01-10 21:07 brlcad +2012-08-29 13:10 starseeker - * [r48351] src/libbu/file.c: - fix a TOCTOU time-of-check, time-of-use race condition reported - by coverity now that we can capture a fild descriptor from - bu_file_exists(). with that, now all of the stat calls will act - on the same file. might still call remove() on a different path, - but there's no way to unlink a file descriptor. (cov cid 1800) + * [r52273] src/librt/test_botpatches.cpp: + Turn the surface creation back on in botpatches test. -2012-01-10 21:06 starseeker +2012-08-29 12:42 starseeker - * [r48350] src/librt/primitives/nmg/nmg_tri.c: - Don't try to print keep_eu if it's NULL - just print a log - message that it is NULL. Debugging case only. CID 237 + * [r52272] src/conv/step/CMakeLists.txt, + src/conv/step/PullbackCurve.cpp, src/conv/step/PullbackCurve.h, + src/libnurbs/CMakeLists.txt, src/libnurbs/PullbackCurve.cpp, + src/libnurbs/PullbackCurve.h: + Move PullbackCurve into libnurbs -2012-01-10 20:55 erikgreenwald +2012-08-29 12:41 starseeker - * [r48349] src/proc-db/menger.c: - fix bit test logic to actually test. Cov1729 + * [r52271] src/librt/test_nurbsfit.cpp: + comment out debugging printing -2012-01-10 20:52 erikgreenwald +2012-08-29 12:27 brlcad - * [r48348] src/proc-db/menger.c: - fix bit test logic to actually test. Cov1728 + * [r52270] src/conv/patch/patch-g.c: + init pl to avoid warning -2012-01-10 20:51 starseeker +2012-08-28 22:45 brlcad - * [r48347] src/librt/primitives/bot/tie_kdtree.c: - split is passed in as a pointer, and all other code seems to be - working with the value pointed to, not the pointer held by split - itself - assume the goal here was not to squash the pointer - value. CID 235. + * [r52269] NEWS: + applied patches from Oana Niculaescu that switch the opengl + framebuffers (ogl/wgl) from double to single buffering by + default. this should greatly improve performance of the + framebuffer, particularly for very large contexts. the + performance problems were reported by several TMT modelers some + time ago. -2012-01-10 20:40 erikgreenwald +2012-08-28 22:42 brlcad - * [r48346] src/proc-db/contours.c: - test npts to verify a valid positive number for looping. Cov1486 + * [r52268] src/libfb/if_wgl.c: + apply sf patch 3562423 (if_wgl.c gets to be single buffer by + default) from Niculaescu Oana ( elf11 ) so that it matches the + ogl framebuffer. now defaults to single-buffering in order to + avoid massive performance degredation when rendering to large + framebuffer windows (reported by several TMT users) -2012-01-10 20:37 erikgreenwald +2012-08-28 19:06 r_weiss - * [r48345] src/proc-db/molecule.c: - test atom value before using as index in array. Cov1487 + * [r52267] src/libbn/plane.c: + Fixed a tolerance bug in function "bn_isect_line3_line3". Did + code cleanup in this function and "bn_isect_lseg3_lseg3". These + updates were in file "plane.c". -2012-01-10 20:29 erikgreenwald +2012-08-28 19:04 r_weiss - * [r48344] src/proc-db/vegetation.c: - test segList before deref. Cov569 + * [r52266] src/librt/primitives/nmg/nmg_info.c, + src/librt/primitives/nmg/nmg_misc.c: + Updated functions "nmg_loop_is_ccw" and "nmg_loop_plane_area2" in + files "nmg_misc.c" and "nmg_info.c". Changed one of the input + paramters for "nmg_loop_plane_area2" from "fastf_t *" to + "plane_t". Also initialized the plane variable in + "nmg_loop_is_ccw". Did code cleanup. -2012-01-10 20:12 erikgreenwald +2012-08-28 18:47 n_reed - * [r48343] src/conv/obj-g.c: - verify nmg model is generated. Cov1756 + * [r52265] src/other/step/src/fedex_plus/classes.h: + add missing header guard -2012-01-10 20:10 erikgreenwald +2012-08-28 17:37 carlmoore - * [r48342] src/conv/obj-g.c: - test to make sure vert allocation succeeded. Cov1757 + * [r52264] AUTHORS: + fix a spelling of 'Northrup' -2012-01-10 20:08 brlcad +2012-08-28 17:23 n_reed - * [r48341] src/librt/primitives/half/half.c, - src/librt/primitives/hf/hf.c: - bah, add deprecation statements to hf.c .. not half.c + * [r52263] src/librt/primitives/ell/ell.c: + remove dynamic allocation and fix translation error in alternate + plot code -2012-01-10 20:04 brlcad +2012-08-27 23:37 starseeker - * [r48340] src/libged/human.c: - pass the dude around as a pointer instead of a copy. might have - intended a copy so still need to regression test this one, but - should address coverity PASS_BY_VALUE check (cov cid 430). + * [r52262] src/libnurbs/CMakeLists.txt, + src/libnurbs/opennurbs_fit.cpp, src/libnurbs/opennurbs_fit.h: + Substitute the SimplicialLDLT solver from Eigen into the + opennurbs fit code - reduces the surface fitting time from hours + to around five seconds. -2012-01-10 19:57 erikgreenwald +2012-08-27 20:46 starseeker - * [r48339] src/liboptical/sh_stack.c: - add return value + * [r52261] src/libnurbs/CMakeLists.txt: + Squash shadow and float-equal warnings from eigen files. -2012-01-10 19:56 erikgreenwald +2012-08-27 19:36 r_weiss - * [r48338] src/liboptical/sh_stack.c: - test sp for null before dereferencing. Cov1761 + * [r52260] src/librt/primitives/nmg/nmg_misc.c: + Fixed a tolerance bug in function "nmg_loop_plane_area2" in file + "nmg_misc.c". -2012-01-10 19:56 erikgreenwald +2012-08-27 19:34 r_weiss - * [r48337] src/liboptical/sh_stack.c: - test sp for null before dereferencing. Cov1760 + * [r52259] src/librt/primitives/nmg/nmg_tri.c: + Changed the name of function "nmg_isect_lseg3_eu" to + "nmg_isect_potcut_fu" which better describes its purpose. Also + the first two input parameters were changed from vertexuse to + edgeuse. Updated function "nmg_triangulate_rm_holes" to call + "nmg_isect_potcut_fu". These changes were in file "nmg_tri.c" and + correct bugs with nmg triangulation. -2012-01-10 19:55 brlcad +2012-08-27 17:59 brlcad - * [r48336] src/fbed/fbed.c: - remove argsused comment + * [r52258] AUTHORS: + Oana is first name, not surname -2012-01-10 19:55 erikgreenwald +2012-08-27 17:50 brlcad - * [r48335] src/liboptical/sh_stack.c: - test sp for null before dereferencing. Cov1759 + * [r52257] AUTHORS, NEWS, TODO: + document code contribution from Niculaescu Oana for his patch + that switches the opengl framebuffer from double to single + buffering by default. this should greatly improve performance of + the framebuffer, particularly for very large contexts. -2012-01-10 19:53 brlcad +2012-08-27 17:34 brlcad - * [r48334] src/fbed/fbed.c: - leave room for a terminating nul char in the length calculations, - and always terminate at the end of our fread memory instead of - just at the end of the buffer. this fixes a coverity STRING_NULL - defect (cov cid 1458). + * [r52256] src/libfb/if_ogl.c: + apply sf patch 3562134 (IF_OGL framebuffer interface + single-buffer by default) from Niculaescu Oana ( elf11 ). + switches the ogl framebuffer from double to single buffering by + default and adds a new 'S' option for specifying double-buffering + (d/D was taken). -2012-01-10 19:52 erikgreenwald +2012-08-27 16:01 n_reed - * [r48333] src/liboptical/photonmap.c: - verify irradiance cache info on read. Cov1483 + * [r52255] include/nurbs.h: + try and address FIXMEs by providing plausible implementations for + stubs -2012-01-10 19:49 erikgreenwald +2012-08-26 23:43 r_weiss - * [r48332] src/liboptical/photonmap.c: - Push and Pop do not seem to be used, so eliminate them. Also - happens to fix Cov431. + * [r52254] src/librt/primitives/nmg/nmg_tri.c: + Reverted functions "is_convex", "nmg_flatten_face" and + "cut_unimonotone" back to rev 50866. These were within file + "nmg_tri.c". This restores nmg triangulation to better working + code. -2012-01-10 19:43 erikgreenwald +2012-08-25 06:25 brlcad - * [r48331] src/liboptical/sh_toyota.c: - close file handle on exit. Cov500 + * [r52253] src/conv/step/STEPEntity.h: + if you're going to have a getter, should have a setter -2012-01-10 19:42 brlcad +2012-08-25 05:44 brlcad - * [r48330] src/fb/gif2fb.c: - if the gif header is short and we're in a verbose debug mode, the - magic number gets printed. the character array isn't - null-terminated, though, so copy it to a string buffer for - clarity (even in spite of using %.6s). should quell cov cid 1457. + * [r52252] src/other/step/src/fedex_plus/classes.c: + quell warning on unused var since it won't necessarily get used + given its use is in conditional code -2012-01-10 19:34 n_reed +2012-08-25 05:34 brlcad - * [r48329] src/libgcv/wfobj/obj_rules.l, - src/other/perplex/parser.y, src/other/perplex/perplex.cpp, - src/other/perplex/perplex.h, - src/other/step/src/express/expscan.l: - default code was being appended to rule code to prevent - fall-through; now requiring a cl flag to avoid generating - unreachable code + * [r52251] src/other/step/src/clstepcore/ExpDict.cc, + src/other/step/src/clstepcore/ExpDict.h: + fix for a gcc internal compiler error due to inlining. make + AssignAggrCreator() be defined in a compilation unit. -2012-01-10 19:34 erikgreenwald +2012-08-25 05:32 brlcad - * [r48328] src/liboptical/sh_scloud.c: - set incident light to 0,0,0 (Cov1623) + * [r52250] src/other/step/src/fedex_plus/classes.c: + save a few bytes, eliminate generated trailing ws -2012-01-10 19:21 brlcad +2012-08-25 04:22 brlcad - * [r48327] src/other/step/src/clstepcore/complexSupport.h: - strcpy() is unsafe to use given the 'n' argument is a parameter - to the function. use strncpy() instead so we can always - null-terminate the result. issue detected in brl-cad coverity - scan (cov cid 1925) + * [r52249] src/libgcv/wfobj/obj_grammar.yy: + avoid stringstreams here as they're causing an 'internal compiler + error: output_operand: invalid expression as operand'. it's an + issue fixed in later versions of gcc, but go with portability for + now. also quell tons of inlining warnings by unmarking this + index_check() function. -2012-01-10 19:19 erikgreenwald +2012-08-25 02:44 brlcad - * [r48326] src/libged/comb.c: - test value of dp to quell unused value warning from Cov1702 + * [r52248] src/librt/primitives/nmg/nmg_plot.c: + and more potentially uninitialized variables -2012-01-10 19:14 erikgreenwald +2012-08-25 02:41 brlcad - * [r48325] src/libged/fracture.c: - eliminate unused assign. Cov1703 + * [r52247] src/librt/primitives/nmg/nmg_plot.c: + more potentially uninitialized variables being used -2012-01-10 19:08 brlcad +2012-08-25 02:38 brlcad - * [r48324] src/libbu/temp.c: - secure the temp file with only user read-write permissions so we - don't let snooping eyes see what we're doing or get access if - umask is nefarious. fixed in response to coverity scan (cov cid - 1255) SECURE_TEMP check. + * [r52246] src/librt/primitives/nmg/nmg_misc.c: + quell issue introduced in the new nmg_loop_plane_area2() + function, test to make sure fu is not null before using it in + case it was never set -2012-01-10 18:58 erikgreenwald +2012-08-25 02:34 brlcad - * [r48323] src/liboptical/sh_plastic.c: - test for pp==NULL early to avoid forward null issue. Cov1744 + * [r52245] src/librt/primitives/dsp/dsp.c: + variable potentially used before getting set was detected by the + compiler. it looks like bbmin/bbmax is supposed to be the dsp's + bb and would have been zero or random before, so this should be a + behavior change. hopefully for the better, even though it's been + unset data for years behind the debug test. -2012-01-10 18:23 starseeker +2012-08-25 01:54 brlcad - * [r48322] src/libged/gqa.c: - fclose before returning error - CID 470 + * [r52244] misc/CMake/BRLCAD_CompilerFlags.cmake: + quell compilation inline warnings from gcc 4.2 by increasing the + inline limit to 300% per compilation unit. this is an issue that + is addressed better in later versions of the compile, but is + exasperated by our file that has so much inlining and classes in + one unit (opennurbs_ext.c). intentionally grouping with the other + gcc inline flag because they interrelate (and will be easier to + find/update/keep together) -2012-01-10 18:20 starseeker +2012-08-25 00:51 brlcad - * [r48321] src/libged/ged.c: - Check if filename is NULL - CID 1551 + * [r52243] NEWS: + fixed two bugs when shooting rays at a plate-mode bot, one being + that it would outright crash (code assumed prep filled in + per-face thickness information). fixed to not crash, then support + added to correctly initialize so LOS thickness get calculated + correctly. this was found investigating a 'bot tessellation + failure' rtcmp issue reported recently by survice. -2012-01-10 18:14 starseeker +2012-08-25 00:45 brlcad - * [r48320] src/libged/red.c: - close fp before returning - CID 496 + * [r52242] src/librt/primitives/bot/g_bot_include.c: + shouldn't make a noticable difference, but add hints anyways + given the unliklihood they'll be null -2012-01-10 18:10 starseeker +2012-08-25 00:41 brlcad - * [r48319] src/libged/red.c: - Check the value of dp to see if it is RT_DIR_NULL (also add some - missing frees for a vls that has been inited when calling return - in several places.) CID 398 + * [r52241] src/librt/primitives/bot/btg.c: + we have to initialize the thickness and facemode arrays in the + bot_specific otherwise we will not be able to correctly calculate + platemode hits -2012-01-10 17:55 starseeker +2012-08-24 22:56 brlcad - * [r48318] src/librt/search.c: - Make sure we've got something initializing all the fields of - OPTION - CID 1619 + * [r52240] src/librt/primitives/bot/g_bot_include.c: + similarly, make sure bot_facemode is not null before using it -2012-01-10 17:47 brlcad +2012-08-24 22:53 brlcad - * [r48317] src/lgt/reflect.c: - ws, style, indent overhaul to conform with package conventions + * [r52239] src/librt/primitives/bot/g_bot_include.c: + prevent crash if bot_thickness was never initialized -2012-01-10 17:44 erikgreenwald +2012-08-24 22:27 brlcad - * [r48316] src/librt/vlist.c: - fill in cargs in case rt_uplot_get_*args does not fill. Cov1928 + * [r52238] NEWS: + technically user visible, g_diff return code is now non-zero -- + like it should have always been -- when two geometry database + files have differences -2012-01-10 17:38 erikgreenwald +2012-08-24 22:24 brlcad - * [r48315] src/librt/primitives/ars/ars.c: - set min/max to quell coverity (even though the next line sets - them via a func). Cov1930 + * [r52237] src/gtools/g_diff.1: + document the return value -2012-01-10 17:38 starseeker +2012-08-24 22:17 brlcad - * [r48314] src/mged/setup.c: - Check Bu_Init return - CID 1726 + * [r52236] src/gtools/g_diff.c: + make g_diff actually return a non-zero value if the files are + different so that the tool can be used in scripts (like + regress/fastgen.sh) -2012-01-10 17:34 starseeker +2012-08-24 21:16 brlcad - * [r48313] src/conv/step/STEPWrapper.cpp: - Check return of brep validity test - CID 1836 + * [r52235] TODO: + unable to reproduce illuminate+Z bug -2012-01-10 17:31 n_reed +2012-08-24 17:38 brlcad - * [r48312] src/conv/obj-g.c, src/libgcv/wfobj/tri_face.c: - propagate faceuse creation failure and skip faces that don't - yield a faceuse + * [r52234] src/libbu/rb_internals.h, src/libbu/tests/bu_redblack.c: + the problem is that the unit test shouldn't be calling a private + function, no need to export. might be useful to make it part of + the public api, but not really necessary to use it as a + container. -2012-01-10 17:12 starseeker +2012-08-24 17:21 bob1961 - * [r48311] src/libged/search.c: - Check return of db_string_to_path - don't do anything unless we - get a sane result from the path conversion. CID 1725 + * [r52233] include/bu.h, src/libbu/rb_internals.h: + I found the declarations for rb_rot_left() and rb_rot_right() in + rb_internals.h. Remove from bu.h and properly export in + rb_internals.h. -2012-01-10 17:12 n_reed +2012-08-24 17:00 bob1961 - * [r48310] src/fb/pl-fb.c: - return void from BuildStr rather than always returning true, CID - 127 + * [r52232] include/bu.h: + Oops! Really need to export rb_rot_left() and rb_rot_right(). -2012-01-10 17:11 indianlarry +2012-08-24 16:45 bob1961 - * [r48309] src/conv/step/OpenNurbsInterfaces.cpp, - src/proc-db/csgbrep.cpp: - Added NULL checks prior to usage to resolve REVERSE_NULL checks - for CID 1879, 1880, 1881, 1882 + * [r52231] include/bu.h: + Need to export bu_rb_left() and bu_rb_right(). -2012-01-10 17:04 erikgreenwald +2012-08-24 16:38 bob1961 - * [r48308] src/libbn/tcl.c: - disable noise_type def + * [r52230] src/libbu/tests/bu_redblack.c: + It doesn't look like sys/time.h is needed in bu_redblack.c -2012-01-10 17:01 brlcad +2012-08-24 16:36 starseeker - * [r48307] src/proc-db/menger.c: - ah, it put the NULL, but wrong place + * [r52229] TODO: + Add a note about the ngPlant libraries. -2012-01-10 17:01 erikgreenwald +2012-08-24 14:12 brlcad - * [r48306] src/libbn/tcl.c: - comment out unreachable noise code pending further review. Cov186 + * [r52228] NEWS: + correct jesica's last name, found by carl -2012-01-10 17:00 starseeker +2012-08-23 21:45 carlmoore - * [r48305] src/libdm/labels.c: - Check rt_db_get_internal - CID 1723 + * [r52227] NEWS: + fix another spelling -2012-01-10 16:56 brlcad +2012-08-23 21:41 carlmoore - * [r48304] src/proc-db/menger.c: - missing NULL + * [r52226] ChangeLog: + fix spelling -2012-01-10 16:52 r_weiss +2012-08-23 18:37 carlmoore - * [r48303] src/mged/dodraw.c: - Updated file 'dodraw.c' function 'mged_nmg_region_start'. Changed - test for an identity matrix from a null pointer test to testing - the contents of the matrix. + * [r52225] doc/docbook/resources/other/standard/met-fonts.xsl: + remove trailing blanks/tabs -2012-01-10 16:39 starseeker +2012-08-23 18:36 carlmoore - * [r48302] src/conv/step/step-g.cpp: - missing NULL param + * [r52224] doc/docbook/resources/other/standard/README.xsl: + remove trailing blanks and fix spelling -2012-01-10 16:39 r_weiss +2012-08-23 18:35 carlmoore - * [r48301] src/libged/dg_obj.c: - Updated file 'dg_obj.c' function 'dgo_nmg_region_start'. Changed - a test for an identity matrix from a null pointer test to testing - the contents of the matrix. + * [r52223] doc/docbook/resources/other/standard/README.svg: + remove trailing blanks/tabs -2012-01-10 16:32 erikgreenwald +2012-08-23 18:34 carlmoore - * [r48300] src/libbn/tabdata.c: - no need to close a file descriptor that didn't open. Cov381 + * [r52222] doc/docbook/resources/other/offo/licenses.txt: + remove trailing blanks/tabs -2012-01-10 16:31 r_weiss +2012-08-23 18:32 carlmoore - * [r48299] src/libged/draw.c: - Updated function 'draw_nmg_region_start' in file 'draw.c'. - Changed a test for an identity matrix from a null pointer test to - testing the contents of the matrix. + * [r52221] doc/docbook/resources/other/offo/README.offo: + remove trailing blanks/tabs -2012-01-10 16:28 starseeker +2012-08-23 18:32 carlmoore - * [r48298] src/libgcv/bottess.c: - might as well identify the parent function. + * [r52220] doc/docbook/resources/other/fonts/y14.5_COPYING.txt: + remove trailing blank -2012-01-10 16:27 erikgreenwald +2012-08-23 18:29 carlmoore - * [r48297] src/libbn/tabdata.c: - close file pointer on bad line read to prevent fd leak. Cov1877 + * [r52219] doc/docbook/resources/other/fonts/stix_COPYING.txt: + remove trailing blanks/tabs -2012-01-10 16:26 brlcad +2012-08-23 18:28 carlmoore - * [r48296] src/lgt/reflect.c: - fix defect detected by coverity (cid 513). was taking the address - of a local and then using it out-of-scope. + * [r52218] doc/docbook/resources/other/fonts/dejavu_COPYING.txt: + remove trailing blanks/tabs -2012-01-10 16:07 brlcad +2012-08-23 18:25 carlmoore - * [r48295] src/libbu/ptbl.c: - usually taking size of pointer variables is suspecious, but here - we actually mean it. still, use the type instead of the pointer. - cov cid 105 + * [r52217] doc/docbook/resources/other/fonts/README: + remove trailing blank -2012-01-10 15:57 starseeker +2012-08-23 18:24 carlmoore - * [r48294] src/rt/reshoot.c: - Issue warnings for bu_struct_parse in src/rt/reshoot.c - CID 152 + * [r52216] doc/docbook/resources/brlcad/images/logo-vm.svg: + remove trailing blanks/tabs -2012-01-10 15:54 brlcad +2012-08-23 18:21 carlmoore - * [r48293] doc/deprecation.txt, include/bu.h, src/burst/ui.c, - src/conv/g-dot.c, src/fb/fb-orle.c, src/fb/fb-rle.c, - src/fbed/fbed.c, src/gtools/g_diff.c, src/gtools/g_transfer.c, - src/lgt/do_options.c, src/libbu/bomb.c, src/libbu/brlcad_path.c, - src/libbu/file.c, src/libbu/getcwd.c, src/libbu/progname.c, - src/libbu/whereis.c, src/libbu/which.c, src/libged/ged.c, - src/libged/loadview.c, src/libged/saveview.c, - src/libged/wdb_obj.c, src/libpkg/example/client.c, - src/libpkg/tpkg.c, src/libtclcad/tclcadAutoPath.c, - src/mged/mged.c, src/mged/tedit.c, src/nirt/parse_fmt.c, - src/proc-db/lens.c, src/proc-db/menger.c, src/proc-db/metaball.c, - src/proc-db/ringworld.c, src/remrt/remrt.c, src/shapes/coil.c, - src/shapes/tire.c, src/util/bombardier.c, src/util/bw-rle.c, - src/util/pix-orle.c, src/util/pix-rle.c, src/util/rle-pix.c: - adding a new parameter to bu_file_exists() so we can capture a - file descriptor at the same time as stat'ing whether a file - exists to prevent time-of-check vs time-of-use vulnerabilities. - right now, ignorantly assuming read-only access is sufficient and - that an fd is better than an fp (without reason). + * [r52215] src/conv/shp/shapelib/license.html: + remove trailing blanks/tabs and fix a spelling -2012-01-10 15:50 erikgreenwald +2012-08-23 18:20 carlmoore - * [r48292] src/libgcv/bottess.c: - test return value of db_walk_tree and log on failure. Cov1724 + * [r52214] src/conv/shp/shapelib/LICENSE.LGPL: + provide 2 periods in the address -2012-01-10 15:48 starseeker +2012-08-23 18:19 carlmoore - * [r48291] src/mged/vparse.c: - Check return of bu_struct_parse - CID 148 + * [r52213] src/conv/shp/shapelib/LICENSE.LGPL: + remove trailing blanks/tabs -2012-01-10 15:43 starseeker +2012-08-23 18:18 carlmoore - * [r48290] src/mged/dm-ogl.c: - Check bu_struct_parse return for Ogl_dm. CID 146 + * [r52212] doc/docbook/resources/other/README.schema: + remove trailing blanks/tabs -2012-01-10 15:42 erikgreenwald +2012-08-23 18:16 carlmoore - * [r48289] src/libgcv/bottess.c: - remove untriggerable error checking. Cov1732 + * [r52211] doc/docbook/resources/brlcad/brlcad-fonts.xsl.in: + remove trailing blanks/tabs -2012-01-10 15:40 starseeker +2012-08-23 18:15 carlmoore - * [r48288] src/mged/dm-X.c: - Be a little better about freeing memory when returning TCL_ERROR + * [r52210] + doc/docbook/resources/brlcad/brlcad-fo-stylesheet.xsl.in: + remove trailing blanks/tabs -2012-01-10 15:31 starseeker +2012-08-23 18:14 n_reed - * [r48287] src/mged/dm-X.c: - Check return value of bu_struct_parse - CID 145 + * [r52209] src/librt/primitives/ell/ell.c: + add some disabled experimental plot code -2012-01-10 15:26 erikgreenwald +2012-08-23 17:03 carlmoore - * [r48286] src/libgcv/bottess.c: - ack, +1, not +11 ! Cov1748 + * [r52208] src/other/hv3/hv3_dom3.tcl: + remove trailing blanks/tabs -2012-01-10 15:24 starseeker +2012-08-23 16:59 carlmoore - * [r48285] src/liboptical/sh_light.c: - Check the return value of rt_bound_tree - CID 138 + * [r52207] src/other/hv3/hv3_dom2.tcl: + remove trailing blanks/tabs, and fix a spelling -2012-01-10 15:13 n_reed +2012-08-23 16:27 carlmoore - * [r48284] src/conv/jack/jack-g.c: - notify user if empty model isn't written, CID 124 + * [r52206] src/other/hv3/hv3_dom.tcl: + fix spelling and remove trailing blanks/tabs -2012-01-10 15:10 erikgreenwald +2012-08-23 16:25 carlmoore - * [r48283] src/libgcv/test_bottess.c: - extend urf array one entry (hopefully all compilers do static - partial evaluation). Cov1861 + * [r52205] src/other/hv3/hv3_debug.tcl: + remove trailing blanks/tabs -2012-01-10 15:07 erikgreenwald +2012-08-23 16:11 carlmoore - * [r48282] src/libgcv/test_bottess.c: - simplify passing of intersect line segment ends, hopefully - clearing up cov1749. + * [r52204] src/other/hv3/hv3_db.tcl: + remove trailing blanks/tabs -2012-01-10 15:06 starseeker +2012-08-23 15:50 carlmoore - * [r48281] src/liboptical/photonmap.c: - Check return values on bu_struct_parse in photonmap.c - CID 136 + * [r52203] src/other/hv3/hv3_common.tcl: + remove trailing blank -2012-01-10 14:57 starseeker +2012-08-23 15:49 carlmoore - * [r48280] src/libged/wdb_obj.c, src/libged/xpush.c: - Check returns of db_dirdelete. CID 135 (wdb_obj.c case highlights - the need for cleanup in libged to remove duplicate code...) + * [r52202] src/other/hv3/hv3_bugreport.tcl: + remove trailing blanks/tabs and fix spelling -2012-01-10 14:50 erikgreenwald +2012-08-23 15:16 carlmoore - * [r48279] src/conv/g-egg.c: - dup bu_exit to quell missing break warning. Cov336 + * [r52201] src/other/hv3/hv3_browser.tcl: + remove trailing blanks/tabs -2012-01-10 14:48 erikgreenwald +2012-08-23 15:15 carlmoore - * [r48278] src/librt/primitives/metaball/metaball_tri.c: - fix null check out model struct. Cov1847 + * [r52200] src/other/hv3/hv3_bookmarks.tcl: + remove trailing blanks/tabs -2012-01-10 14:47 starseeker +2012-08-23 15:13 carlmoore - * [r48277] src/libged/sphgroup.c: - Check return of rt_db_get_internal - CID 134 + * [r52199] src/other/hv3/hv3.tcl: + fix 1 spelling -2012-01-10 14:42 erikgreenwald +2012-08-23 15:11 carlmoore - * [r48276] src/conv/g-egg.c: - check file and object name existence. Cov1524 + * [r52198] src/other/hv3/hv3.tcl: + remove trailing blanks/tabs, and NOW will check spellings! -2012-01-10 14:42 starseeker +2012-08-23 15:10 carlmoore - * [r48275] src/lgt/do_options.c: - Add check on return of ready_Output_Device - CID 129 + * [r52197] src/other/hv3/hv.tcl: + remove trailing blanks/tabs, and fix spelling of 'argument' -2012-01-10 14:35 starseeker +2012-08-23 15:08 carlmoore - * [r48274] src/gtools/beset/population.c: - Add check for rt_db_put_internal return in beset - CID 128 + * [r52196] src/other/hv3/bugreport.html: + remove trailing blanks/tabs and fix 1 spelling -2012-01-10 14:29 starseeker +2012-08-23 15:07 carlmoore - * [r48273] src/fb/pl-fb.c: - Check return of BuildStr in pl-fb, print warning. CID 127 + * [r52195] src/other/hv3/bookmarks.html: + remove trailing blanks/tabs -2012-01-10 14:20 starseeker +2012-08-23 15:06 carlmoore - * [r48272] src/conv/jack/jack-g.c: - More checking for empty_model cases using return of - nmg_kill_zero_length_edgeuses - CID 125 + * [r52194] src/other/clipper/clipper.cpp: + remove trailing blanks/tabs, fix 'precede' spelling, but leave + 'artefacts' as is -2012-01-10 14:16 indianlarry +2012-08-23 14:57 carlmoore - * [r48271] src/fb/cell-fb.c, src/fb/fbgrid.c, src/libged/edpipe.c, - src/librt/primitives/nmg/nmg_tri.c, src/librt/wdb.c, - src/shapes/fence.c, src/util/pc_test.c, src/util/pl-dm.c: - Cleanup of cases where assignment made in 'if' conditional but - variable never used. Felt more readable leaving variable - assignment so simply moved assignment outside of 'if'. Relates to - CID 1681, 1695, 1705, 1705, 1715, 1716, 1717, 1820, 1822 + * [r52193] src/other/clipper/README: + fix spelling, remove trailing blanks/tabs, add periods to what + should be 'i.e.', and add missing newline at end -2012-01-10 14:11 starseeker +2012-08-23 14:54 carlmoore - * [r48270] src/conv/jack/jack-g.c: - Check return of nmg_kill_zero_length_edgeuses - CID 124 + * [r52192] src/other/clipper/License.txt: + remove trailing blanks -2012-01-10 14:04 starseeker +2012-08-23 14:53 carlmoore - * [r48269] src/conv/intaval/write_brl.cpp: - Check return of rt_db_put_internal - CID 123 + * [r52191] src/other/clipper/CMakeLists.txt: + remove trailing blank -2012-01-10 14:01 n_reed +2012-08-23 14:52 carlmoore - * [r48268] src/fbserv/server.c: - check pointers before dereferencing, CID 521 + * [r52190] src/nirt/sfiles/csv.nrt: + remove a trailing blank -2012-01-10 13:50 starseeker +2012-08-23 14:40 carlmoore - * [r48267] src/conv/dxf/bot-bldxf.c: - Check return value of db_walk_tree - CID 120 + * [r52189] src/nirt/sfiles/csv-gap.nrt: + remove trailing blank -2012-01-10 13:43 starseeker +2012-08-23 14:40 carlmoore - * [r48266] src/librt/db_tree.c: - Check return value on bn_mat_ck - being in a debug conditional - does not excuse us. CID 119 + * [r52188] misc/CMake/test_srcs/timedelta_end.c.in: + remove trailing blanks/tabs -2012-01-09 22:26 brlcad +2012-08-23 14:37 carlmoore - * [r48265] src/libged/edit.c: - if we're not going to test the memchr() result, then there's no - reason to even call it. related to cov run 3 cid 1821, r48256. + * [r52187] misc/CMake/test_srcs/termlib.c.in: + remove a trailing blank -2012-01-09 22:26 starseeker +2012-08-23 11:56 bob1961 - * [r48264] src/librt/search.c: - Check return value of db5_get_attributes. Run 3 CID 143 + * [r52186] include/ged.h, include/tclcad.h, src/libged/edbot.c, + src/libtclcad/tclcad_obj.c, src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/BotEditFrame.tcl, + src/tclscripts/lib/Ged.tcl: + This update provides the initial functionality for moving bot + faces and edges in Archer. -2012-01-09 22:20 starseeker +2012-08-23 04:46 brlcad - * [r48263] src/librt/search.c: - Check return of rt_db_get_internal - just return if we don't get - anything and move on. Run 3 CID 144. + * [r52185] BUGS: + step-g crashing for me on two model conversion attempts, same + issue -- may be build system related -2012-01-09 22:16 brlcad +2012-08-23 04:22 brlcad - * [r48262] bench/pixcmp.c: - if skip2 is null but skip1 is not, don't dereference and segfault - (cov run 3 cid 1738) + * [r52184] NEWS: + carl has now fixed numerous typos and spelling mistakes in a + variety of tool usage statements, debug messages, and docs -2012-01-09 22:14 starseeker +2012-08-23 04:17 brlcad - * [r48261] src/librt/search.c: - Analysis indicates by this point we're definitely BRLCAD_OK, so - don't bother with the check Run 3 CID 201 + * [r52183] src/mged/edsol.c: + hyperboloid. make menu consistent with the others, use HYP -2012-01-09 21:55 starseeker +2012-08-23 04:10 brlcad - * [r48260] src/librt/search.c: - Initialize tmp.flags - Run 3 CID 1619 + * [r52182] src/libnurbs/opennurbs_fit.cpp, + src/libnurbs/opennurbs_fit.h: + restore Thomas Mörwald's real name, set coding to utf-8 -2012-01-09 21:36 starseeker +2012-08-23 04:05 brlcad - * [r48259] src/fbserv/server.c: - While we're at it, check pcp + * [r52181] src/libgcv/tri_intersect.c, src/libgcv/tri_intersect.h: + restore real name, set coding to utf-8 for the unicode character -2012-01-09 21:26 bob1961 +2012-08-23 03:45 brlcad - * [r48258] src/libged/comb_std.c: - run 3, CID 196. dp is tested in several places after being set to - RT_DIR_NULL. Removed code that can never be reached. + * [r52180] sh/ws.sh: + NOTES is another -2012-01-09 21:20 starseeker +2012-08-22 22:09 carlmoore - * [r48257] src/fbserv/server.c: - Add a series of checks for null buffers in fbserv + * [r52179] src/util/Makefile.am: + remove trailing blank -2012-01-09 21:17 erikgreenwald +2012-08-22 22:05 carlmoore - * [r48256] src/libged/edit.c: - remove unused assign. Cov3-1821 + * [r52178] src/rt/viewedge.c: + fix spellings -2012-01-09 21:14 erikgreenwald +2012-08-22 22:03 carlmoore - * [r48255] src/librt/primitives/nmg/nmg_misc.c: - remove unused assign. Cov3-1687 + * [r52177] src/rt/rtshot.c: + fix spelling in a bu_log argument -2012-01-09 21:12 erikgreenwald +2012-08-22 21:59 carlmoore - * [r48254] src/librt/db5_io.c: - remove unused assign. Cov3-1680 + * [r52176] src/rt/do.c: + fix 'e.g.','i.e.', and spellings -2012-01-09 21:10 erikgreenwald +2012-08-22 21:54 carlmoore - * [r48253] src/conv/asc/asc2g.c: - remove double alloc. Cov3-1683 + * [r52175] src/remrt/remrt.c: + fix 'i.e.' and spellings -2012-01-09 21:09 erikgreenwald +2012-08-22 21:49 carlmoore - * [r48252] src/conv/asc/asc2g.c: - eliminate unused assignment. Cov3-1682 + * [r52174] src/other/Makefile.am: + remove a trailing blank -2012-01-09 21:06 erikgreenwald +2012-08-22 21:47 carlmoore - * [r48251] src/librt/db5_io.c: - eliminate unused assign. Cov3-1679 + * [r52173] src/mged/muves.c: + fix spellings -2012-01-09 21:06 starseeker +2012-08-22 21:44 carlmoore - * [r48250] src/librt/db_open.c, src/librt/wdb.c: - Add some null checks (attempt at addressing Run3 CID 1771) + * [r52172] src/mged/edsol.c: + fix spellings (that's 'hyperbolid', right?) -2012-01-09 21:05 erikgreenwald +2012-08-22 21:39 carlmoore - * [r48249] src/librt/db5_io.c: - eliminate unused assign. Cov3-1678 + * [r52171] src/mged/cmd.c: + fix spelling -2012-01-09 21:02 bob1961 +2012-08-22 21:36 carlmoore - * [r48248] src/libged/cat.c: - run3, CID 194. Removed unnecessary check or argc. + * [r52170] src/mged/clone.c: + fix spellings -2012-01-09 20:59 bob1961 +2012-08-22 21:33 carlmoore - * [r48247] src/conv/g-egg.c: - Removed unused variables. + * [r52169] src/mged/attach.c: + fix spellings -2012-01-09 20:38 erikgreenwald +2012-08-22 21:28 carlmoore - * [r48246] src/libicv/fileformat.c: - fclose the freopened descriptors? Cov3-480 + * [r52168] src/libpkg/pkg.c: + fix a spelling -2012-01-09 20:35 erikgreenwald +2012-08-22 21:26 carlmoore - * [r48245] src/libicv/fileformat.c: - fclose the freopened descriptors? Cov3-479 + * [r52167] src/libpc/pc_main.c: + fix spelling -2012-01-09 20:34 r_weiss +2012-08-22 21:06 carlmoore - * [r48244] src/librt/primitives/nmg/nmg_mk.c: - Updated 'nmg_demote_lu' in file 'nmg_mk.c'. Fixed a possible 'use - after free' error. + * [r52166] src/libpc/pcMathGrammar.h: + fix spelling -2012-01-09 20:31 erikgreenwald +2012-08-22 21:03 carlmoore - * [r48243] src/adrt/isst_tcltk.c: - set buf[0] to 0. Cov3-1801 + * [r52165] src/liboptical/sh_light.c: + fix spellings -2012-01-09 20:30 bob1961 +2012-08-22 20:58 carlmoore - * [r48242] src/libged/glob.c, src/libged/qray.c: - run 3, CID 155, 156. Calling GED_INITIALIZED within - GED_CHECK_DATABASE_OPEN is bad (i.e. gedp could be NULL). + * [r52164] src/liboptical/photonmap.c: + fix spellings -2012-01-09 20:28 erikgreenwald +2012-08-22 20:55 carlmoore - * [r48241] src/adrt/isst_tcltk.c: - fix paren placement problem, strlen(str+1) != strlen(str)+1. - Cov3-1721 + * [r52163] src/liboptical/oslexec_pvt.h: + fix spellings -2012-01-09 20:27 n_reed +2012-08-22 20:53 carlmoore - * [r48240] include/bu.h, include/fb.h: - rename __BU_ATTR_FORMAT* to _BU_ATTR_PRINTF* and _BU_ATTR_SCANF* - to support scan scanf checks + * [r52162] src/liboptical/liboslrend.h: + fix spellings -2012-01-09 20:24 erikgreenwald +2012-08-22 20:51 carlmoore - * [r48239] src/librt/primitives/metaball/metaball_tri.c: - fix region null testing. Cov2-303 + * [r52161] src/libnurbs/opennurbs_fit.h: + repair 'Moerwald' -2012-01-09 20:11 erikgreenwald +2012-08-22 20:43 carlmoore - * [r48238] src/conv/g-egg.c: - regions_tried is never updated, so eliminate code looking for - that info. Cov2-172 + * [r52160] src/libgcv/tri_intersect.h: + use Moller spelling -2012-01-09 20:10 starseeker +2012-08-22 20:42 carlmoore - * [r48237] src/conv/comgeom/cvt.c: - Check returns on sscanf - test to see if Coverity will accept - sscanf if we both have length specifications on all our - percent-type format items and check the return type - patch-g.c - was the only case previously where both of those things were - true. Run 2 CID 633, but has much broader implications. + * [r52159] src/libgcv/tri_intersect.c: + fix a spelling, and (after a web search) use 'Moller' spelling -2012-01-09 20:03 erikgreenwald +2012-08-22 20:37 carlmoore - * [r48236] src/rt/do.c: - flip conditions to allow >512*512 to trigger (dead code fix, - cov2-227) + * [r52158] src/libgcv/bottess.c: + fix a spelling -2012-01-09 20:00 erikgreenwald +2012-08-22 20:35 carlmoore - * [r48235] src/util/random.c: - Remove 'cleverness' that caused dead code paths. Cov2-231 + * [r52157] src/libgcv/NOTES: + remove trailing blank -2012-01-09 19:53 r_weiss +2012-08-22 20:29 carlmoore - * [r48234] src/librt/primitives/nmg/nmg_misc.c: - Updated file 'nmg_misc.c' functions 'nmg_make_faces_within_tol' - and 'nmg_calc_face_plane'. Initialized variables, did some code - cleanup and fixed a float compare to '0.0'. + * [r52156] src/libfb/fb_generic.c: + insert periods in 'i.e.' -2012-01-09 19:22 erikgreenwald +2012-08-22 20:27 carlmoore - * [r48233] NEWS, src/sig/d2-c.c: - For the first time ever, handle imaginary component correctly. - (coverity 2-1645) + * [r52155] src/libbu/parse.c: + fix spelling -2012-01-09 19:08 starseeker +2012-08-22 20:22 carlmoore - * [r48232] misc/CMake/ThirdParty.cmake, - misc/CMake/ThirdParty_TCL.cmake: - Restore the CMake gui dropdown behavior - may have fixed some - other behavior issues, needs more testing. + * [r52154] src/libbu/convert.c: + fix spellings -2012-01-09 18:56 bob1961 +2012-08-22 20:21 carlmoore - * [r48231] src/librt/vlist.c: - run 2, CID 114. Put the return of getc() into an int and check - for EOF. + * [r52153] src/libbn/plane.c: + fix spellings, add apostrophe to 'Cramers', but do not fix + 'colinear' -2012-01-09 18:45 erikgreenwald +2012-08-22 20:07 carlmoore - * [r48230] src/vdeck/vdeck.c: - minor tweak to make slightly more readable + * [r52152] src/lgt/do_options.c: + fix a spelling -2012-01-09 18:44 indianlarry +2012-08-22 19:46 carlmoore - * [r48229] src/librt/primitives/pipe/pipe_brep.cpp: - Added 'void' cast call of non-void returning function, avoids - possible compiler warnings about caused unused return values. - Extends Run 2 CID 1710 + * [r52151] src/conv/obj-g.c: + fix spellings -- understood to be in comments only -2012-01-09 18:27 erikgreenwald +2012-08-22 19:46 brlcad - * [r48228] src/librt/primitives/brep/brep.cpp: - indent + * [r52150] sh/ws.sh: + .py files too -2012-01-09 17:46 erikgreenwald +2012-08-22 19:38 carlmoore - * [r48227] src/librt/primitives/bot/tie.c: - fill in uninitialized struct (coverity 2-1596 and 2-1625) + * [r52149] src/conv/intaval-g.py: + remove trailing blanks/tabs -2012-01-09 17:36 erikgreenwald +2012-08-22 18:22 r_weiss - * [r48226] src/libbn/tabdata.c: - test return value of bu_vls_gets() (coverity 2-130) + * [r52148] include/raytrace.h, src/conv/g-shell-rect.c, + src/conv/g-x3d.c, src/conv/nmg/nmg-sgp.c, + src/libgcv/wfobj/tri_face.c, src/librt/primitives/nmg/nmg_misc.c, + src/librt/primitives/nmg/nmg_tri.c: + Updated functions "nmg_triangulate_rm_degen_loopuse", + "nmg_triangulate_fu" and "nmg_triangulate_shell" to gracefully + remove empty faceuse. Also updated all functions calling + "nmg_triangulate_fu" to gracefully remove empty faceuse. Files + changed include "raytrace.h", "g-shell-rect.c", "nmg-sgp.c", + "g-x3d.c", "tri_face.c", "nmg_tri.c" and "nmg_misc.c". -2012-01-09 17:14 indianlarry +2012-08-22 05:32 brlcad - * [r48225] src/librt/primitives/brep/brep.cpp: - Restructured 'if' statement to pull embedded assignment from - conditional. Run 2 CID 1707 + * [r52147] src/libbu/tests/bu_redblack.c: + ws indent style cleanup, add ac/av. -2012-01-09 16:48 erikgreenwald +2012-08-22 05:30 brlcad - * [r48224] src/adrt/load_g.c: - Check db_lookup return value for NULL (bad .g file) (coverity - 2-396) + * [r52146] src/libbu/tests/CMakeLists.txt: + add the new redblack test to the test bucket -2012-01-09 16:42 erikgreenwald +2012-08-22 05:27 brlcad - * [r48223] src/adrt/librender/path.c: - initialize variable (coverity 2-1597) + * [r52145] src/libbu/test_rbtree.c, src/libbu/tests/bu_redblack.c: + rename to bu_redblack.c in the tests dir -2012-01-09 16:39 erikgreenwald +2012-08-22 05:26 brlcad - * [r48222] src/adrt/librender/surfel.c: - remove unused variable (coverity 2-1677) + * [r52144] src/libbu/test_rbtree.c: + apply sf patch 3510515 (Testing unit for /libbu/ Red-Black tree + API) from Andrei Popescu ( popescuandrei ) adding a unit test for + libbu's redblack tree api. doesn't seem to be comprehensive but + is one of the best examples for how to use the API. -2012-01-09 16:35 erikgreenwald +2012-08-22 02:58 brlcad - * [r48221] src/adrt/librender/grid.c: - remove unused variable (coverity 2-1676) + * [r52143] src/util/rle_args.c, src/util/rle_args.h: + cleanup. common.h always before system headers, eliminate outfp + define, declare function extern, and eliminate curious + (void)file_height -2012-01-09 16:29 starseeker +2012-08-22 02:52 brlcad - * [r48220] src/vdeck/vdeck.c: - sprint->snprintf Run 2 CID 1254 + * [r52142] src/util/CMakeLists.txt, src/util/Makefile.am, + src/util/bw-rle.c, src/util/pix-rle.c, src/util/rle_args.c, + src/util/rle_args.h: + apply a modified/fixed version of sf patch 3533010 (Refactoring + in util) from Ksenija Slivko ( ksuzee ). her patch introduced a + couple bugs due to pointer mistakes, which is fixed in this + version with the outfp and background variables converted to + pointers too. -2012-01-09 16:29 erikgreenwald +2012-08-21 19:37 starseeker - * [r48219] src/adrt/librender/flos.c: - remove unused variable (coverity 2-1675) + * [r52141] src/librt/test_nurbsfit.cpp: + Change 3d type in test -2012-01-09 16:27 erikgreenwald +2012-08-21 14:10 starseeker - * [r48218] src/adrt/librender/depth.c: - remove unused variable (coverity 2-1674) + * [r52140] src/other/tnt/jama_eig.h: + Add some namespace prefixes. -2012-01-09 16:25 bob1961 +2012-08-21 05:01 n_reed - * [r48217] src/gtools/g_diff.c: - run 2, CID 1696, uninspected variable. Now only using the return - value of db_lookup() to compare to RT_DIR_NULL (i.e. no longer - assigning return of db_lookup to a variable) + * [r52139] src/conv/CMakeLists.txt, src/other/CMakeLists.txt: + build step-g on windows -2012-01-09 16:13 starseeker +2012-08-21 03:39 brlcad - * [r48216] src/libanalyze/CMakeLists.txt, - src/libanalyze/test_density.c: - Go ahead and stuff in the test_density.c file, but add it to - CMAKEFILES since it's not in a working state. + * [r52138] src/util/pixbackgnd.c: + make the helper functions static scope -2012-01-09 16:08 erikgreenwald +2012-08-21 03:36 brlcad - * [r48215] src/adrt/librender/camera.c: - explicitly promote time sizes (unsigned shorts) to unsigned int - (coverity 2-1256) + * [r52137] src/util/pixbackgnd.c: + apply sf patch 3518875 (Deleting of copy-pastes) from Ksenija + Slivko ( ksuzee ). turns an inner loop into a function + eliminating an instance of duplication. -2012-01-09 16:05 starseeker +2012-08-21 03:29 brlcad - * [r48214] src/librt/primitives/nmg/nmg_fcut.c: - prev_lu isn't used - remove not only assignment but lookup if - it's not being used. Run 2 CID 1708 + * [r52136] HACKING, NEWS, README, TODO, autogen.sh, + bench/Makefile.am, configure.ac, configure.cmake.sh, + include/CMakeLists.txt, include/bn.h, include/bu.h, + include/common.h, include/gcv.h, include/nurbs.h, include/obj.h, + include/pc.h, include/raytrace.h, include/tol.h, + m4/ax_boost_base.m4, m4/patch.m4, m4/prefix.m4, + misc/CMake/configure_suffix.sh, + misc/CMake/test_srcs/alloca_header_test.c, + misc/CMake/test_srcs/alloca_test.c, + misc/CMake/test_srcs/ctypes_test.c, + misc/CMake/test_srcs/sys_wait_test.c, misc/enigma/enigma.c, + misc/win32-msvc/bootstrap.cpp, regress/Makefile.am, + regress/comgeom.sh, regress/dsp/run-dsp-case-set-0.sh, + regress/dsp/run-dsp-case-set-1.sh, + regress/dsp/run-dsp-case-set-2.sh, + regress/dsp/run-dsp-case-set-3.sh, regress/gcv/dem/README, + regress/mged.sh, regress/mged/Makefile.am, regress/mged/mged.tcl, + regress/mged/regression_resources.tcl, regress/mged_test.sh, + regress/quote.sh, regress/rtwizard.sh, regress/vls_vprintf.sh, + regress/weight.sh, sh/cmp.sh, sh/conversion.sh, + sh/distcheck_screen.sh, sh/header.sh, sh/make_deb.sh, + sh/make_dmg.sh, sh/make_rpm.sh, sh/tracker.sh, src/adrt/adrt.h, + src/adrt/isst_tcltk.c, src/adrt/librender/spall.c, + src/adrt/librender/texture.h, src/adrt/load_g.c, + src/adrt/master/master.c, src/adrt/master/tienet_master.c, + src/adrt/slave/tienet_slave.c, src/anim/anim_script.c, + src/archer/CMakeLists.txt, src/archer/TODO, + src/archer/plugins/Wizards/humanwizard/HumanWizard.tcl, + src/burst/Hm.h, src/burst/prnt.c, src/conv/Makefile.am, + src/conv/asc/asc2dsp.c, src/conv/asc/asc2pix.c, + src/conv/asc/pix2asc.c, src/conv/comgeom/cvt.c, + src/conv/comgeom/f2a.c, src/conv/comgeom/solid.c, + src/conv/dxf/g-dxf.c, src/conv/g-shell-rect.c, src/conv/g-vrml.c, + src/conv/iges/check_names.c, src/conv/iges/convassem.c, + src/conv/iges/convinst.c, src/conv/iges/evalxform.c, + src/conv/iges/g-iges.c, src/conv/iges/getcurve.c, + src/conv/iges/iges.c, src/conv/iges/spline.c, + src/conv/intaval/read_dra.cpp, src/conv/intaval/write_brl.cpp, + src/conv/jack/jack-g.c, src/conv/nmg/g-nmg.c, src/conv/obj-g.c, + src/conv/patch/rpatch.f, src/conv/proe-g.c, + src/conv/shp/shapelib/safileio.c, + src/conv/shp/shapelib/shapefil.h, + src/conv/shp/shapelib/shpopen.c, + src/conv/step/AdvancedBrepShapeRepresentation.h, + src/conv/step/CMakeLists.txt, src/conv/step/CompositeCurve.cpp, + src/conv/step/ConnectedFaceSet.cpp, + src/conv/step/DerivedUnitElement.cpp, src/conv/step/Factory.h, + src/conv/step/MeasureValue.h, + src/conv/step/OpenNurbsInterfaces.cpp, + src/conv/step/PCurveOrSurface.h, + src/conv/step/ProductDefinitionFormationWithSpecifiedSource.cpp, + src/conv/step/Representation.h, + src/conv/step/RepresentationRelationshipWithTransformation.cpp, + src/conv/vdeck/cgarbs.c, src/conv/vdeck/vdeck.1, + src/conv/vdeck/vdeck.c, src/external/Cubit/g-sat.cpp, + src/external/ProEngineer/proe-brl-notes.txt, src/fb/fbgamma.1, + src/fb/fbgammamod.c, src/fb/fbstretch.c, src/fb/fbthreadtest.c, + src/fb/gif2fb.c, src/fb/ioutil.c, src/gtools/beset/beset.c, + src/gtools/beset/fitness.c, src/gtools/beset/population.c, + src/gtools/beset/population.h, src/gtools/remapid.c, + src/irprep/firpass.c, src/irprep/secpass.c, src/lgt/do_options.c, + src/lgt/reflect.c, src/lgt/texture.c, src/libanalyze/density.c, + src/libanalyze/overlaps.c, src/libanalyze/test_density.c, + src/libanalyze/voxels.c, src/libbn/plane.c, + src/libbn/tests/CMakeLists.txt, src/libbu/brlcad_path.c, + src/libbu/convert.c, src/libbu/lex.c, src/libbu/parse.c, + src/libbu/realpath.c, src/libbu/sscanf.c, + src/libbu/tests/CMakeLists.txt, src/libbu/vls_vprintf.c, + src/libdm/Makefile.am, src/libdm/TODO, src/libdm/dm-X.c, + src/libdm/dm-ogl.c, src/libdm/dm-plot.c, src/libdm/dm-ps.c, + src/libdm/dm-tk.c, src/libdm/labels.c, src/libfb/asize.c, + src/libfb/fb_generic.c, src/libfb/fbserv_obj.c, src/libfb/if_X.c, + src/libfb/if_tk.c, src/libfb/if_wgl.c, src/libgcv/bottess.c, + src/libgcv/test_bottess.c, src/libgcv/tri_intersect.c, + src/libgcv/tri_intersect.h, src/libged/CMakeLists.txt, + src/libged/Makefile.am, src/libged/analyze.c, + src/libged/bot_fuse.c, src/libged/dag.cpp, src/libged/edbot.c, + src/libged/model2view.c, src/libged/pathsum.c, + src/libged/polyclip.cpp, + src/libged/simulate/simcollisionalgo.cpp, + src/libged/simulate/simphysics.cpp, src/libged/simulate/simrt.c, + src/libged/simulate/simrt.h, src/libged/simulate/simulate.c, + src/libged/simulate/simulate.h, src/libged/simulate/simutils.c, + src/libged/trace.c, src/libged/zoom/zoom.c, + src/libnurbs/opennurbs_ext.cpp, src/libnurbs/opennurbs_fit.cpp, + src/libnurbs/opennurbs_fit.h, src/liboptical/constantpool.h, + src/liboptical/init.c, src/liboptical/liboslrend.h, + src/liboptical/oslexec_pvt.h, src/liboptical/photonmap.c, + src/liboptical/refract.c, src/liboptical/render_svc.cpp, + src/liboptical/render_svc.h, src/liboptical/sh_light.c, + src/liboptical/sh_noise.c, src/liboptical/sh_osl.cpp, + src/liboptical/sh_spm.c, src/liboptical/sh_text.c, + src/liboptical/sh_toon.c, src/liboptical/sh_toyota.c, + src/libpc/TODO, src/libpc/pcConstraint.cpp, + src/libpc/pcConstraint.h, src/libpc/pcInterval.h, + src/libpc/pcMathGrammar.h, src/libpc/pcMathLF.h, + src/libpc/pcMathVM.cpp, src/libpc/pcMathVM.h, + src/libpc/pcNetwork.h, src/libpc/pcParameter.cpp, + src/libpc/pcParser.cpp, src/libpc/pcParser.h, + src/libpc/pcSolver.h, src/libpc/pcVCSet.cpp, src/libpc/pcVCSet.h, + src/libpc/pcVariable.h, src/libpc/pc_constraints.c, + src/libpc/pc_main.c, src/libpc/solver_test.cpp, + src/libpc/vm_test.cpp, src/libpkg/example/client.c, + src/libpkg/example/server.c, src/libpkg/pkg.c, + src/librt/comb/comb.c, src/librt/primitives/arb8/arb8.c, + src/librt/primitives/arbn/arbn.c, src/librt/primitives/bot/bot.c, + src/librt/primitives/brep/brep.cpp, + src/librt/primitives/brep/brep_debug.cpp, + src/librt/primitives/cline/cline.c, + src/librt/primitives/ell/ell.c, + src/librt/primitives/nmg/nmg_fuse.c, + src/librt/primitives/nmg/nmg_misc.c, + src/librt/primitives/nmg/nmg_tri.c, + src/librt/primitives/part/part.c, src/librt/primitives/rpc/rpc.c, + src/librt/primitives/sketch/sketch_tess.cpp, + src/librt/primitives/superell/superell_brep.cpp, + src/librt/primitives/tgc/tgc.c, src/librt/test_botpatches.cpp, + src/librt/test_nurbsfit.cpp, src/librtserver/rtserverTest.c, + src/libtclcad/tclcadAutoPath.c, src/libtclcad/tclcad_obj.c, + src/mged/animedit.c, src/mged/attach.c, src/mged/chgview.c, + src/mged/clone.c, src/mged/cmd.c, src/mged/dm-X.c, + src/mged/dozoom.c, src/mged/edarb.c, src/mged/edsol.c, + src/mged/facedef.c, src/mged/fbserv.c, src/mged/history.c, + src/mged/mged.c, src/mged/muves.c, src/mged/plot.c, + src/mged/points/process.c, src/mged/tedit.c, src/mged/utility1.c, + src/nirt/command.c, src/nirt/if.c, + src/proc-db/makebuilding/makebuilding.c, + src/proc-db/metaballs.pl, src/proc-db/spiral.pl, + src/remrt/remrt.c, src/remrt/rtsrv.c, src/rt/do.c, + src/rt/heatgraph.c, src/rt/opt.c, src/rt/read-rtlog.c, + src/rt/rtshot.c, src/rt/scanline.c, src/rt/view.c, + src/rt/viewarea.c, src/rt/viewedge.c, src/rt/viewweight.c, + src/rt/worker.c, src/shapes/coil.c, src/tclscripts/Makefile.am, + src/tclscripts/archer/Arb4EditFrame.tcl, + src/tclscripts/archer/Arb8EditFrame.tcl, + src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl, + src/tclscripts/archer/AttrGroupsDisplayUtility.tcl, + src/tclscripts/archer/BotUtility.tcl, + src/tclscripts/archer/CombEditFrame.tcl, + src/tclscripts/archer/DataUtils.tcl, + src/tclscripts/archer/ExtrudeEditFrame.tcl, + src/tclscripts/archer/itk_redefines.tcl, + src/tclscripts/boteditor/botEditor.tcl, + src/tclscripts/boteditor/botPropertyBox.tcl, + src/tclscripts/boteditor/botTools.tcl, + src/tclscripts/hv3/combobox.tcl, + src/tclscripts/hv3/demo/viewpage.tcl, src/tclscripts/hv3/hv3.tcl, + src/tclscripts/hv3/hv3_encodings.tcl, + src/tclscripts/hv3/hv3_form.tcl, + src/tclscripts/hv3/hv3_request.tcl, + src/tclscripts/hv3/hv3_util.tcl, src/tclscripts/hv3/license.txt, + src/tclscripts/hv3/license_snit.txt, src/tclscripts/hv3/snit.tcl, + src/tclscripts/hv3/tkhtml.n, + src/tclscripts/hv3_man_browser_test.tcl, + src/tclscripts/igraph/GraphEditor.tcl, + src/tclscripts/igraph/Makefile.am, + src/tclscripts/igraph/igraph.tcl, + src/tclscripts/lib/Accordian.tcl, src/tclscripts/lib/Command.tcl, + src/tclscripts/lib/Ged.tcl, src/tclscripts/lib/RtControl.tcl, + src/tclscripts/lib/RtImage.tcl, src/tclscripts/lib/TkTable.tcl, + src/tclscripts/man_browser.tcl, src/tclscripts/mged/anim.tcl, + src/tclscripts/mged/bindings.tcl, + src/tclscripts/mged/bot_vertex_fuse_all.tcl, + src/tclscripts/mged/botedit.tcl, src/tclscripts/mged/clear.tcl, + src/tclscripts/mged/dmtype.tcl, src/tclscripts/mged/g2asc.tcl, + src/tclscripts/mged/grouper.tcl, src/tclscripts/mged/help.tcl, + src/tclscripts/mged/lc.tcl, src/tclscripts/mged/make_solid.tcl, + src/tclscripts/mged/mged.tcl, src/tclscripts/mged/mview.tcl, + src/tclscripts/mged/openw.tcl, src/tclscripts/mged/pkgIndex.tcl, + src/tclscripts/mged/qray.tcl, src/tclscripts/mged/text.tcl, + src/tclscripts/mged/tree.tcl, src/tclscripts/mouse.tcl, + src/tclscripts/pl-dm/pkgIndex.tcl, + src/tclscripts/rtwizard/CMakeLists.txt, + src/tclscripts/rtwizard/lib/DbPage.itk, + src/tclscripts/rtwizard/lib/FbPage.itk, + src/tclscripts/rtwizard/lib/PictureTypeA.itcl, + src/tclscripts/rtwizard/lib/PictureTypeB.itcl, + src/tclscripts/rtwizard/lib/PictureTypeC.itcl, + src/tclscripts/rtwizard/lib/PictureTypeD.itcl, + src/tclscripts/rtwizard/lib/PictureTypeE.itcl, + src/tclscripts/rtwizard/lib/PictureTypeF.itcl, + src/tclscripts/rtwizard/lib/Wizard.itk, + src/tclscripts/rtwizard/pkgIndex.tcl, + src/tclscripts/rtwizard/rtwizard.tcl, + src/tclscripts/swidgets/scripts/tkgetdir.itk, + src/tclscripts/util/getopt.tcl, src/tclscripts/util/pkgIndex.tcl, + src/util/bw-rle.c, src/util/bwmod.c, src/util/hex.c, + src/util/pix-alias.c, src/util/pix-sun.c, src/util/pix3filter.c, + src/util/pixclump.c, src/util/pixcolors.c, src/util/pixhist3d.c, + src/util/pixtile.c, src/util/pl-dm.c: + big swooping trailing ws, leading ws, successive blank line, and + eof newline cleanup. running sh/ws.sh automatically eliminates + 164 blank lines and 67KB of trailing whitespace junk. + +2012-08-21 03:11 brlcad + + * [r52135] sh/ws.sh: + dsp files are binary, don't process them + +2012-08-21 02:59 brlcad + + * [r52134] doc/README.IRIX, doc/README.Linux, doc/README.Windows, + doc/TODO.BREP, doc/bison_to_lemon.txt, doc/cvs.txt, + doc/deprecation.txt, doc/docbook/README, + doc/docbook/README.DB_authors_notes, + doc/docbook/articles/en/TEMPLATE.xml, + doc/docbook/articles/en/about.xml, + doc/docbook/articles/en/build_pattern.xml, + doc/docbook/articles/en/build_region.xml, + doc/docbook/articles/en/ebm_primitive.xml, + doc/docbook/articles/en/mgedrc.xml, + doc/docbook/articles/en/nirt.xml, + doc/docbook/articles/en/oed.xml, + doc/docbook/articles/en/pipes.xml, + doc/docbook/articles/en/projection_shader.xml, + doc/docbook/articles/en/tire.xml, + doc/docbook/articles/hy/about_hy.xml, + doc/docbook/articles/it/about_it.xml, + doc/docbook/articles/ru/about_ru.xml, doc/docbook/books/README, + doc/docbook/books/en/BRL-CAD_Tutorial_Series-VolumeI.xml, + doc/docbook/books/en/BRL-CAD_Tutorial_Series-VolumeII.xml, + doc/docbook/books/en/BRL-CAD_Tutorial_Series-VolumeIII.xml, + doc/docbook/books/en/BRL-CAD_Tutorial_Series-VolumeIV.xml, + doc/docbook/books/en/CMakeLists.txt, + doc/docbook/books/en/tutorial_series_authors.xml, + doc/docbook/lessons/en/mged01_creating_primitive_shapes.xml, + doc/docbook/lessons/en/mged02_learning_viewing_options.xml, + doc/docbook/lessons/en/mged03_using_insert_command.xml, + doc/docbook/lessons/en/mged04_assign_mat_prop_rt.xml, + doc/docbook/lessons/en/mged05_learning_boolean_expressions.xml, + doc/docbook/lessons/en/mged06_creating_a_goblet.xml, + doc/docbook/lessons/en/mged07_goblet_material_properties.xml, + doc/docbook/lessons/en/mged08_goblet_material_properties2.xml, + doc/docbook/lessons/en/mged09_globe_in_display_box.xml, + doc/docbook/lessons/en/mged10_creating_mug.xml, + doc/docbook/lessons/en/mged11_refining_mug.xml, + doc/docbook/lessons/en/mged12_mug_through_gui.xml, + doc/docbook/lessons/en/mged13_placing_shapes_in_3d.xml, + doc/docbook/lessons/en/mged14_placing_shapes_in_3d_2.xml, + doc/docbook/lessons/en/mged15_creating_a_toy_truck.xml, + doc/docbook/lessons/en/mged16_mod_tech_struct.xml, + doc/docbook/lessons/es/mged01_crear_figuras_primitivas.xml, + doc/docbook/lessons/es/mged02_opciones_vistas.xml, + doc/docbook/lessons/es/mged03_utilizar_comando_in.xml, + doc/docbook/lessons/es/mged04_prop_materiales.xml, + doc/docbook/lessons/es/mged05_expresiones_booleanas.xml, + doc/docbook/lessons/es/mged06_crear_una_copa.xml, + doc/docbook/lessons/es/mged07_prop_materiales_copa.xml, + doc/docbook/lessons/es/mged08_prop_materiales_copa2.xml, + doc/docbook/lessons/es/mged09_esfera_en_caja_exhibidora.xml, + doc/docbook/lessons/es/mged10_crear_taza.xml, + doc/docbook/lessons/es/mged11_refinar_taza.xml, + doc/docbook/lessons/es/mged12_taza_desde_gui.xml, + doc/docbook/lessons/es/mged13_ubicar_figuras_en_3d.xml, + doc/docbook/lessons/es/mged14_ubicar_figuras_en_3d_2.xml, + doc/docbook/lessons/es/mged15_crear_camion_de_juguete.xml, + doc/docbook/lessons/es/mged16_mod_tech_struct.xml, + doc/docbook/presentations/en/intro-to-tcltk.xml, + doc/docbook/specifications/en/BRL_CAD_g_format_V5.xml, + doc/docbook/system/README, + doc/docbook/system/man1/en/asc2dsp.xml, + doc/docbook/system/man1/en/bwscale.xml, + doc/docbook/system/man1/en/coil.xml, + doc/docbook/system/man1/en/db.xml, + doc/docbook/system/man1/en/gqa.xml, + doc/docbook/system/man1/en/mged.xml, + doc/docbook/system/man1/en/nirt.xml, + doc/docbook/system/man1/en/obj-g.xml, + doc/docbook/system/man1/en/rt.xml, + doc/docbook/system/man1/en/rtarea.xml, + doc/docbook/system/man1/en/rtcheck.xml, + doc/docbook/system/man1/en/rtedge.xml, + doc/docbook/system/man1/en/rtwizard.xml, + doc/docbook/system/man1/en/tire.xml, + doc/docbook/system/man3/en/libfb.xml, + doc/docbook/system/man5/en/dsp.xml, + doc/docbook/system/man5/en/gattributes.xml, + doc/docbook/system/mann/en/3ptarb.xml, + doc/docbook/system/mann/en/B.xml, + doc/docbook/system/mann/en/E.xml, + doc/docbook/system/mann/en/Introduction.xml, + doc/docbook/system/mann/en/M.xml, + doc/docbook/system/mann/en/Z.xml, + doc/docbook/system/mann/en/adc.xml, + doc/docbook/system/mann/en/ae.xml, + doc/docbook/system/mann/en/alias-pix.xml, + doc/docbook/system/mann/en/all_sf.xml, + doc/docbook/system/mann/en/analyze.xml, + doc/docbook/system/mann/en/anim_cascade.xml, + doc/docbook/system/mann/en/anim_fly.xml, + doc/docbook/system/mann/en/anim_hardtrack.xml, + doc/docbook/system/mann/en/anim_keyread.xml, + doc/docbook/system/mann/en/anim_lookat.xml, + doc/docbook/system/mann/en/anim_offset.xml, + doc/docbook/system/mann/en/anim_orient.xml, + doc/docbook/system/mann/en/animmate.xml, + doc/docbook/system/mann/en/apropos.xml, + doc/docbook/system/mann/en/aproposdevel.xml, + doc/docbook/system/mann/en/aproposlib.xml, + doc/docbook/system/mann/en/arb.xml, + doc/docbook/system/mann/en/arced.xml, + doc/docbook/system/mann/en/area.xml, + doc/docbook/system/mann/en/arot.xml, + doc/docbook/system/mann/en/attach.xml, + doc/docbook/system/mann/en/attr.xml, + doc/docbook/system/mann/en/autoview.xml, + doc/docbook/system/mann/en/bb.xml, + doc/docbook/system/mann/en/bev.xml, + doc/docbook/system/mann/en/bo.xml, + doc/docbook/system/mann/en/bolt.xml, + doc/docbook/system/mann/en/bot_condense.xml, + doc/docbook/system/mann/en/bot_decimate.xml, + doc/docbook/system/mann/en/bot_face_fuse.xml, + doc/docbook/system/mann/en/bot_face_sort.xml, + doc/docbook/system/mann/en/bot_flip.xml, + doc/docbook/system/mann/en/bot_split.xml, + doc/docbook/system/mann/en/bot_sync.xml, + doc/docbook/system/mann/en/bot_vertex_fuse.xml, + doc/docbook/system/mann/en/build_region.xml, + doc/docbook/system/mann/en/c.xml, + doc/docbook/system/mann/en/cat.xml, + doc/docbook/system/mann/en/center.xml, + doc/docbook/system/mann/en/color.xml, + doc/docbook/system/mann/en/comb_color.xml, + doc/docbook/system/mann/en/copyeval.xml, + doc/docbook/system/mann/en/copymat.xml, + doc/docbook/system/mann/en/cp.xml, + doc/docbook/system/mann/en/cpi.xml, + doc/docbook/system/mann/en/d.xml, + doc/docbook/system/mann/en/dall.xml, + doc/docbook/system/mann/en/db.xml, + doc/docbook/system/mann/en/db_glob.xml, + doc/docbook/system/mann/en/dbconcat.xml, + doc/docbook/system/mann/en/debugbu.xml, + doc/docbook/system/mann/en/debugdir.xml, + doc/docbook/system/mann/en/debuglib.xml, + doc/docbook/system/mann/en/debugmem.xml, + doc/docbook/system/mann/en/debugnmg.xml, + doc/docbook/system/mann/en/decompose.xml, + doc/docbook/system/mann/en/delay.xml, + doc/docbook/system/mann/en/dm.xml, + doc/docbook/system/mann/en/draw.xml, + doc/docbook/system/mann/en/dup.xml, + doc/docbook/system/mann/en/e_command.xml, + doc/docbook/system/mann/en/e_muves.xml, + doc/docbook/system/mann/en/eac.xml, + doc/docbook/system/mann/en/echo.xml, + doc/docbook/system/mann/en/edcodes.xml, + doc/docbook/system/mann/en/edcolor.xml, + doc/docbook/system/mann/en/edcomb.xml, + doc/docbook/system/mann/en/edgedir.xml, + doc/docbook/system/mann/en/edit.xml, + doc/docbook/system/mann/en/edit_translate.xml, + doc/docbook/system/mann/en/edmater.xml, + doc/docbook/system/mann/en/em.xml, + doc/docbook/system/mann/en/eqn.xml, + doc/docbook/system/mann/en/erase.xml, + doc/docbook/system/mann/en/erase_all.xml, + doc/docbook/system/mann/en/ev.xml, + doc/docbook/system/mann/en/exists.xml, + doc/docbook/system/mann/en/exit.xml, + doc/docbook/system/mann/en/expand.xml, + doc/docbook/system/mann/en/export_body.xml, + doc/docbook/system/mann/en/extrude.xml, + doc/docbook/system/mann/en/eye_pt.xml, + doc/docbook/system/mann/en/facedef.xml, + doc/docbook/system/mann/en/facetize.xml, + doc/docbook/system/mann/en/find.xml, + doc/docbook/system/mann/en/fracture.xml, + doc/docbook/system/mann/en/g.xml, + doc/docbook/system/mann/en/garbage_collect.xml, + doc/docbook/system/mann/en/gastank.xml, + doc/docbook/system/mann/en/gqa.xml, + doc/docbook/system/mann/en/gr.xml, + doc/docbook/system/mann/en/graph.xml, + doc/docbook/system/mann/en/gui.xml, + doc/docbook/system/mann/en/handle.xml, + doc/docbook/system/mann/en/help.xml, + doc/docbook/system/mann/en/helpdevel.xml, + doc/docbook/system/mann/en/helplib.xml, + doc/docbook/system/mann/en/hide.xml, + doc/docbook/system/mann/en/history.xml, + doc/docbook/system/mann/en/i.xml, + doc/docbook/system/mann/en/idents.xml, + doc/docbook/system/mann/en/igraph.xml, + doc/docbook/system/mann/en/ill.xml, + doc/docbook/system/mann/en/in.xml, + doc/docbook/system/mann/en/inside.xml, + doc/docbook/system/mann/en/item.xml, + doc/docbook/system/mann/en/journal.xml, + doc/docbook/system/mann/en/keep.xml, + doc/docbook/system/mann/en/keypoint.xml, + doc/docbook/system/mann/en/kill.xml, + doc/docbook/system/mann/en/killall.xml, + doc/docbook/system/mann/en/killtree.xml, + doc/docbook/system/mann/en/knob.xml, + doc/docbook/system/mann/en/l.xml, + doc/docbook/system/mann/en/l_muves.xml, + doc/docbook/system/mann/en/labelvert.xml, + doc/docbook/system/mann/en/lc.xml, + doc/docbook/system/mann/en/listeval.xml, + doc/docbook/system/mann/en/lm.xml, + doc/docbook/system/mann/en/loadtk.xml, + doc/docbook/system/mann/en/lookat.xml, + doc/docbook/system/mann/en/ls.xml, + doc/docbook/system/mann/en/make.xml, + doc/docbook/system/mann/en/make_bb.xml, + doc/docbook/system/mann/en/make_pnts.xml, + doc/docbook/system/mann/en/mater.xml, + doc/docbook/system/mann/en/matpick.xml, + doc/docbook/system/mann/en/memprint.xml, + doc/docbook/system/mann/en/mirface.xml, + doc/docbook/system/mann/en/mrot.xml, + doc/docbook/system/mann/en/mv.xml, + doc/docbook/system/mann/en/mvall.xml, + doc/docbook/system/mann/en/nirt.xml, + doc/docbook/system/mann/en/nmg_collapse.xml, + doc/docbook/system/mann/en/nmg_simplify.xml, + doc/docbook/system/mann/en/oed.xml, + doc/docbook/system/mann/en/opendb.xml, + doc/docbook/system/mann/en/orientation.xml, + doc/docbook/system/mann/en/orot.xml, + doc/docbook/system/mann/en/oscale.xml, + doc/docbook/system/mann/en/overlay.xml, + doc/docbook/system/mann/en/p.xml, + doc/docbook/system/mann/en/pathlist.xml, + doc/docbook/system/mann/en/paths.xml, + doc/docbook/system/mann/en/permute.xml, + doc/docbook/system/mann/en/picket_fence.xml, + doc/docbook/system/mann/en/plot.xml, + doc/docbook/system/mann/en/prcolor.xml, + doc/docbook/system/mann/en/prefix.xml, + doc/docbook/system/mann/en/press.xml, + doc/docbook/system/mann/en/preview.xml, + doc/docbook/system/mann/en/prj_add.xml, + doc/docbook/system/mann/en/ps.xml, + doc/docbook/system/mann/en/push.xml, + doc/docbook/system/mann/en/put_comb.xml, + doc/docbook/system/mann/en/putmat.xml, + doc/docbook/system/mann/en/q.xml, + doc/docbook/system/mann/en/qorot.xml, + doc/docbook/system/mann/en/qray.xml, + doc/docbook/system/mann/en/query_ray.xml, + doc/docbook/system/mann/en/quit.xml, + doc/docbook/system/mann/en/qvrot.xml, + doc/docbook/system/mann/en/r.xml, + doc/docbook/system/mann/en/rcc-blend.xml, + doc/docbook/system/mann/en/rcc-cap.xml, + doc/docbook/system/mann/en/rcc-tgc.xml, + doc/docbook/system/mann/en/rcc-tor.xml, + doc/docbook/system/mann/en/rcodes.xml, + doc/docbook/system/mann/en/read_muves.xml, + doc/docbook/system/mann/en/red.xml, + doc/docbook/system/mann/en/redraw_vlist.xml, + doc/docbook/system/mann/en/refresh.xml, + doc/docbook/system/mann/en/regdebug.xml, + doc/docbook/system/mann/en/regdef.xml, + doc/docbook/system/mann/en/regions.xml, + doc/docbook/system/mann/en/reid.xml, + doc/docbook/system/mann/en/release.xml, + doc/docbook/system/mann/en/rfarb.xml, + doc/docbook/system/mann/en/rm.xml, + doc/docbook/system/mann/en/rmater.xml, + doc/docbook/system/mann/en/rmats.xml, + doc/docbook/system/mann/en/rot.xml, + doc/docbook/system/mann/en/rotobj.xml, + doc/docbook/system/mann/en/rpp-arch.xml, + doc/docbook/system/mann/en/rpp-cap.xml, + doc/docbook/system/mann/en/rrt.xml, + doc/docbook/system/mann/en/rt.xml, + doc/docbook/system/mann/en/rtarea.xml, + doc/docbook/system/mann/en/rtcheck.xml, + doc/docbook/system/mann/en/savekey.xml, + doc/docbook/system/mann/en/saveview.xml, + doc/docbook/system/mann/en/sca.xml, + doc/docbook/system/mann/en/search.xml, + doc/docbook/system/mann/en/sed.xml, + doc/docbook/system/mann/en/setview.xml, + doc/docbook/system/mann/en/shader.xml, + doc/docbook/system/mann/en/shell.xml, + doc/docbook/system/mann/en/showmats.xml, + doc/docbook/system/mann/en/size.xml, + doc/docbook/system/mann/en/solids.xml, + doc/docbook/system/mann/en/sph-part.xml, + doc/docbook/system/mann/en/status.xml, + doc/docbook/system/mann/en/summary.xml, + doc/docbook/system/mann/en/sv.xml, + doc/docbook/system/mann/en/sync.xml, + doc/docbook/system/mann/en/t.xml, + doc/docbook/system/mann/en/t_muves.xml, + doc/docbook/system/mann/en/ted.xml, + doc/docbook/system/mann/en/title.xml, + doc/docbook/system/mann/en/tol.xml, + doc/docbook/system/mann/en/tops.xml, + doc/docbook/system/mann/en/tor-rcc.xml, + doc/docbook/system/mann/en/tra.xml, + doc/docbook/system/mann/en/track.xml, + doc/docbook/system/mann/en/translate.xml, + doc/docbook/system/mann/en/tree.xml, + doc/docbook/system/mann/en/units.xml, + doc/docbook/system/mann/en/vars.xml, + doc/docbook/system/mann/en/vdraw.xml, + doc/docbook/system/mann/en/view.xml, + doc/docbook/system/mann/en/viewsize.xml, + doc/docbook/system/mann/en/vnirt.xml, + doc/docbook/system/mann/en/voxelize.xml, + doc/docbook/system/mann/en/vquery_ray.xml, + doc/docbook/system/mann/en/vrmgr.xml, + doc/docbook/system/mann/en/vrot.xml, + doc/docbook/system/mann/en/wcodes.xml, + doc/docbook/system/mann/en/whatid.xml, + doc/docbook/system/mann/en/which_shader.xml, + doc/docbook/system/mann/en/whichair.xml, + doc/docbook/system/mann/en/whichid.xml, + doc/docbook/system/mann/en/who.xml, + doc/docbook/system/mann/en/window.xml, + doc/docbook/system/mann/en/window_frame.xml, + doc/docbook/system/mann/en/wire.xml, + doc/docbook/system/mann/en/wmater.xml, + doc/docbook/system/mann/en/x.xml, + doc/docbook/system/mann/en/xpush.xml, + doc/docbook/system/mann/en/zoom.xml, + doc/docbook/system/mann/mged_cmd_template.xml, + doc/flex_to_re2c.txt: + save carl some effort. trailing ws, blank lines, eof newlines, + leading ws. -2012-01-09 16:05 erikgreenwald +2012-08-21 02:35 brlcad - * [r48213] src/adrt/librender/camera.c: - dlclose on bad plugin lookup (coverity 2-461) + * [r52133] sh/ws.sh: + ignore all .dotdirs and process our xml doc files -2012-01-09 16:04 bob1961 +2012-08-20 21:56 carlmoore - * [r48212] src/libdm/dm-X.c, src/libdm/dm-plot.c, - src/libdm/dm-ps.c, src/libdm/dm-tk.c: - run 2, CID #'s (1697, 1699, 1700, 1701), uninspected variable. - void the return of callback_funtion(). + * [r52132] src/conv/CMakeLists.txt: + remove trailing blanks -2012-01-09 15:54 erikgreenwald +2012-08-20 21:54 carlmoore - * [r48211] NEWS: - mention crash fix from icv_image write on bad file + * [r52131] src/bwish/tcl.c: + remove trailing blank -2012-01-09 15:54 starseeker +2012-08-20 21:42 carlmoore - * [r48210] src/librt/primitives/pipe/pipe_brep.cpp: - Don't need to assign to face - Run 2 CID 1710 + * [r52130] src/util/bwscale.c: + remove trailing blanks/tabs, and fix spelling -2012-01-09 15:48 starseeker +2012-08-20 21:40 carlmoore - * [r48209] src/libwdb/dynamic_geometry.c: - Don't assign to dp_tmp - not used. Run 2 CID 1711 + * [r52129] src/burst/gridrotate.c: + remove trailing blanks/tabs; fix spelling -2012-01-09 15:45 bob1961 +2012-08-20 21:39 carlmoore - * [r48208] src/libdm/dm-ogl.c: - run 2, CID 1698, uninspected variable. void the return of - callback_funtion(). + * [r52128] src/burst/Hm.c: + fix spelling of 'visible' -2012-01-09 15:45 starseeker +2012-08-20 21:38 carlmoore - * [r48207] src/libwdb/dynamic_geometry.c: - Don't assign to dp when we don't need to (while we're at it, pull - the other dp assignment out of the if statement). Run 2 CID 1712 + * [r52127] src/burst/Hm.c: + remove trailing blanks/tabs -2012-01-09 15:41 starseeker +2012-08-20 21:37 carlmoore - * [r48206] doc/README.Linux: - Add g++ explicitly for Ubuntu (it's apparently a separately - installed package) + * [r52126] src/brlman/brlman.tcl.in: + remove trailing blanks/tabs, and fix spelling -2012-01-09 15:26 erikgreenwald +2012-08-20 21:36 carlmoore - * [r48205] src/libanalyze/CMakeLists.txt: - test_analyze.c doesn't exist. Comment out for now. + * [r52125] src/brlman/CMakeLists.txt: + remove trailing blanks/tabs -2012-01-09 15:01 starseeker +2012-08-20 21:35 carlmoore - * [r48204] include/bu.h, include/magic.h, - src/libanalyze/CMakeLists.txt, src/libbu/badmagic.c: - Minor header restructuring to avoid recursive inclusion of bu.h - in magic.h - Run 2, CIT 438 + * [r52124] src/archer/archer: + fix a spelling and remove trailing blanks/tabs -2012-01-09 14:32 erikgreenwald +2012-08-20 21:34 carlmoore - * [r48203] src/libicv/fileformat.c: - free filename in bif to avoid memory leak. Print filename before - freeing. (coverity 1718). + * [r52123] src/archer/TODO: + fix a spelling -2012-01-09 02:31 starseeker +2012-08-20 20:33 carlmoore - * [r48202] misc/CMake/DiffCache.cmake, src/libged/CMakeLists.txt: - Couple more fixes to ensure re-running cmake doesn't result in - rebuild without an actual change. + * [r52122] src/archer/TODO: + remove trailing blanks, and fix spelling -2012-01-09 01:41 starseeker +2012-08-20 20:31 crdueck - * [r48201] src/other/xmltools/libxml/CMakeLists.txt: - Add a couple tests to libxml so the conf.h file doesn't change as - a consequences of subsequent libxslt tests on re-configure - (triggers a large rebuild of xmltools and docs.) These tests - should probably be common to the toplevel of xmltools for all the - libs. + * [r52121] src/libged/analyze.c: + minor changes -2012-01-08 22:47 starseeker +2012-08-20 19:10 cprecup - * [r48200] CMakeLists.txt: - Document where the hint on configuration path setting came from - and why we need it. + * [r52120] doc/docbook/system/mann/en/igraph.xml: + Ups. Forgot to close the tag. -2012-01-06 22:11 n_reed +2012-08-20 19:00 cprecup - * [r48199] src/libbn/plane.c: - generalize bn_mkpoint_3planes for non-unitized direction vectors + * [r52119] doc/docbook/system/mann/en/CMakeLists.txt, + doc/docbook/system/mann/en/graph.xml, + doc/docbook/system/mann/en/igraph.xml: + Added brlman documentation for the 'igraph' command. Adjusted the + documentation for the 'graph' command -2012-01-06 03:43 starseeker +2012-08-20 04:23 cprecup - * [r48198] TODO: - These two DocBook items are addressed - other DocBook TODOs need - review - in particular, many formatting elements have at least - some examples of improved formatting, and need to be reworked - comprehensively through the DocBook books + * [r52118] include/ged.h, src/libged/dag.cpp, + src/libtclcad/tclcad_obj.c, src/mged/setup.c, + src/tclscripts/CMakeLists.txt, src/tclscripts/Makefile.am, + src/tclscripts/archer/ArcherCore.tcl, + src/tclscripts/archer/tclIndex, src/tclscripts/graph, + src/tclscripts/igraph, src/tclscripts/igraph/CMakeLists.txt, + src/tclscripts/igraph/GraphEditor.tcl, + src/tclscripts/igraph/graph.tcl, + src/tclscripts/igraph/igraph.tcl, src/tclscripts/igraph/tclIndex, + src/tclscripts/lib/Ged.tcl, src/tclscripts/lib/tclIndex, + src/tclscripts/mged/help.tcl: + Added two subcommands for the 'graph' command: 'show' and + 'positions'. Removed the previous 'graph_objects_positions' and + 'graph_structure' commands. Renamed the previously named Tcl + 'graph' procedure into 'igraph' - this command launches the + interactive graph; along with this procedure, the + src/tclscripts/graph was renamed into src/tclscripts/igraph, and + the file src/tclscripts/graph/graph.tcl was renamed into + src/tclscripts/igraph/igraph.tcl. The 'igraph' command works in + MGED; when launched in Archer, an error message in outputted + saying that the command is not available yet. + +2012-08-18 04:48 crdueck + + * [r52117] src/librt/primitives/bot/bot.c: + fixed memory leak, some other minor changes + +2012-08-17 23:58 n_reed + + * [r52116] include/nurbs.h: + add import/export symbols + +2012-08-17 22:01 carlmoore + + * [r52115] src/adrt/isst_tcltk.c: + remove trailing blanks + +2012-08-17 21:03 r_weiss + + * [r52114] include/bn.h, include/raytrace.h, src/libbn/mat.c, + src/libbn/tcl.c, src/libged/loadview.c, + src/librt/primitives/arb8/arb8.c, + src/librt/primitives/arbn/arbn.c, src/librt/primitives/ars/ars.c, + src/librt/primitives/bot/bot.c, + src/librt/primitives/cline/cline.c, + src/librt/primitives/dsp/dsp.c, src/librt/primitives/ebm/ebm.c, + src/librt/primitives/ehy/ehy.c, src/librt/primitives/ell/ell.c, + src/librt/primitives/epa/epa.c, src/librt/primitives/eto/eto.c, + src/librt/primitives/extrude/extrude.c, + src/librt/primitives/hf/hf.c, src/librt/primitives/hyp/hyp.c, + src/librt/primitives/metaball/metaball.c, + src/librt/primitives/metaball/metaball.h, + src/librt/primitives/metaball/metaball_tri.c, + src/librt/primitives/nmg/nmg.c, + src/librt/primitives/nmg/nmg_inter.c, + src/librt/primitives/nmg/nmg_misc.c, + src/librt/primitives/nmg/nmg_tri.c, + src/librt/primitives/part/part.c, + src/librt/primitives/pipe/pipe.c, + src/librt/primitives/pnts/pnts.c, + src/librt/primitives/poly/poly.c, src/librt/primitives/rec/rec.c, + src/librt/primitives/revolve/revolve.c, + src/librt/primitives/rhc/rhc.c, src/librt/primitives/rpc/rpc.c, + src/librt/primitives/sph/sph.c, + src/librt/primitives/superell/superell.c, + src/librt/primitives/table.c, src/librt/primitives/tgc/tgc.c, + src/librt/primitives/tor/tor.c, src/librt/primitives/vol/vol.c, + src/proc-db/common.c, src/proc-db/kurt.c, src/proc-db/tube.c, + src/tab/tabsub.c: + Changed all the ft_bbox (i.e. rt_bot_bbox etc.) functions so that + a bn_tol tolerance could be passed in. I also changed all the + functions which reference the ft_bbox functions to pass in the + tolerance. Updated the bn_mat_fromto to use the tolerance. Also + make some changes to function "bn_mat_fromto" to better handle + the special case when the to and from vectors are nearly + parallel. The following headers were updated "bn.h", "raytrace.h" + and "metaball.h". The following files have been updated + "loadview.c", "tube.c", "kurt.c", "common.c", "tabsub.c", + "mat.c", "tcl.c". In addition to these, all the primitives have + been updated. + +2012-08-17 20:23 starseeker + + * [r52113] misc/CMake/FindX11.cmake: + fix copyright date + +2012-08-17 20:15 starseeker + + * [r52112] src/libnurbs/opennurbs_fit.cpp, + src/libnurbs/opennurbs_fit.h: + Before getting too aggerssive, make sure things still work with + just the required Eigen bits. Need to test. + +2012-08-17 19:58 bob1961 + + * [r52111] include/ged.h, src/libged/edbot.c, + src/libtclcad/tclcad_obj.c, src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/BotEditFrame.tcl, + src/tclscripts/lib/Ged.tcl: + Added a bot edge split functionality to Archer's bot editing + capability. -2012-01-06 03:41 starseeker +2012-08-17 19:27 carlmoore - * [r48197] TODO: - Add a reminder to expand documentation on building BRL-CAD to - other tools CMake opens up support for. Low priority. + * [r52110] src/adrt/isst.bat: + remove trailing blanks -2012-01-05 18:52 n_reed +2012-08-17 19:15 carlmoore - * [r48196] src/librt/opennurbs_ext.cpp: - sanity + * [r52109] src/adrt/isst: + remove trailing blanks -2012-01-05 02:21 brlcad +2012-08-17 19:13 carlmoore - * [r48195] src/tclscripts/mged/anim.tcl: - quote the animation commands being piped via open(n) since - filepaths with spaces look like the command name. this is in - response to sf bug 3466818 from nephesh (hwangbo) (how to solve - the edit animation curve) where a common install of BRL-CAD into - the usual Program Files directory was problematic. + * [r52108] src/adrt/CMakeLists.txt: + remove a trailing blank -2012-01-04 15:28 erikgreenwald +2012-08-17 19:12 carlmoore - * [r48194] src/libgcv/CMakeLists.txt, src/libgcv/soup.h, - src/libgcv/test_bottess.c: - fix symbol export to try to be windows friendly + * [r52107] regress/mged/run_test: + remove trailing blanks -2012-01-04 00:29 n_reed +2012-08-17 19:10 carlmoore - * [r48193] src/other/step/src/fedex_plus/multpass.c: - don't generate unused variables, per r41173 + * [r52106] regress/mged/rot_edit.mged: + remove trailing blanks -2012-01-03 23:18 n_reed +2012-08-17 19:09 carlmoore - * [r48192] src/other/step/src/fedex_plus/classes_wrapper.cc: - need to generate default return statement per fix in r41174 + * [r52105] regress/mged/regression_resources.tcl: + remove trailing blanks -2012-01-03 21:45 erikgreenwald +2012-08-17 19:08 carlmoore - * [r48191] src/libgcv/test_bottess.c: - add basic test for split_face() + * [r52104] src/libged/select.c: + remove trailing blanks/tabs -2012-01-03 20:31 erikgreenwald +2012-08-17 19:07 carlmoore - * [r48190] src/libgcv/test_bottess.c: - flesh out single face split test stuff some more + * [r52103] src/libged/voxelize.c: + remove trailing blanks/tabs -2012-01-03 20:14 erikgreenwald +2012-08-17 19:06 carlmoore - * [r48189] src/libgcv/bottess.c: - be a little noisier + * [r52102] src/libged/brep.c: + remove trailing tab -2012-01-03 19:30 n_reed +2012-08-17 16:02 carlmoore - * [r48188] src/other/step/data/CMakeLists.txt, - src/other/step/data/ap203/ap203edit.exp: - adding a modified ap203 express file that fedex_plus doesn't fail - on + * [r52101] regress/mged/mged.tcl: + remove trailing blanks/tabs -2012-01-03 19:20 erikgreenwald +2012-08-17 16:01 carlmoore - * [r48187] src/libgcv/test_bottess.c: - fix an err in macro parm shadowing that caused sigill + * [r52100] regress/mged/make_bb.mged: + remove a trailing blank -2012-01-03 18:00 erikgreenwald +2012-08-17 15:59 carlmoore - * [r48186] src/libgcv/test_bottess.c: - Macroize a bunch of recurrent test shtuff. add a test for a split - laying on the edge. + * [r52099] regress/mged/make.mged: + remove trailing blank -2012-01-03 16:54 erikgreenwald +2012-08-17 15:41 bob1961 - * [r48185] src/libgcv/test_bottess.c: - search for expected results in split triangle set instead of - presenting them for visual verification + * [r52098] src/libged/edbot.c: + Don't need the full path for the bot face split operation. -2012-01-03 16:53 erikgreenwald +2012-08-17 15:31 carlmoore - * [r48184] src/libgcv/bottess.c: - remove resize msg + * [r52097] regress/mged/killall.mged: + remove a trailing blank or tab -2012-01-03 16:00 erikgreenwald +2012-08-17 15:30 carlmoore - * [r48183] src/libgcv/test_bottess.c: - add some stuff for face splitting (making me miss junit and an - ide) + * [r52096] regress/mged/keypoint.mged: + remove trailing blanks/tabs -2012-01-03 15:14 brlcad +2012-08-17 15:29 carlmoore - * [r48182] TODO: - deprecation message added + * [r52095] regress/mged/cp.mged: + remove a trailing blank or tab -2012-01-03 15:14 brlcad +2012-08-17 14:57 bob1961 - * [r48181] src/librt/primitives/bspline/bspline.cpp, - src/librt/primitives/half/half.c, - src/librt/primitives/poly/poly.c: - add deprecation messages to poly, bspline, and half primitive - objects that get exported. slated for removal in v6 (rel8). + * [r52094] include/ged.h, src/libged/edbot.c, + src/libtclcad/tclcad_obj.c, src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl, + src/tclscripts/archer/BotEditFrame.tcl, + src/tclscripts/lib/Ged.tcl: + Added bot_face_split functionality to Archer's bot editing + capability. -2011-12-30 19:55 n_reed +2012-08-17 14:24 carlmoore - * [r48180] src/other/step/include/CMakeLists.txt, - src/other/step/include/express/expprint.h, - src/other/step/src/express/express.c: - remove old debug header + * [r52093] regress/mged/clone.mged: + remove a trailing blank or tab -2011-12-30 18:47 n_reed +2012-08-17 14:23 carlmoore - * [r48179] src/other/CMakeLists.txt: - condition SCL build on perplex/lemon rather than lex/yacc + * [r52092] regress/mged/CMakeLists.txt: + remove a trailing blank or tab -2011-12-29 23:32 n_reed +2012-08-17 03:46 cprecup - * [r48178] include/dm.h: - update drawLines3D macro prototype to agree with r47494 + * [r52091] include/ged.h, src/libged/dag.cpp, + src/tclscripts/archer/tclIndex: + A little code cleanup: respect the alphabetical order: move the + code lines; add reference to 'graph' method in ArcherCore class; + switch from plural 'edges' to singular 'edge' in dag.cpp -2011-12-29 17:33 n_reed +2012-08-17 03:39 cprecup - * [r48177] src/libgcv/wfobj/obj_grammar.yy, - src/libgcv/wfobj/obj_rules.h, src/libgcv/wfobj/obj_rules.l, - src/other/perplex/README.txt, - src/other/perplex/scanner_template.c: - handle app data more opaquely + * [r52090] src/tclscripts/graph/GraphEditor.tcl, + src/tclscripts/graph/graph.tcl: + Display an error message in MGED if the graph command isn't + available because the Adaptagrams library cannot be found. -2011-12-28 22:07 n_reed +2012-08-17 01:14 starseeker - * [r48176] src/tclscripts/boteditor/botEditor.tcl, - src/tclscripts/boteditor/botPropertyBox.tcl: - allow setting bot mode and orientation from gui + * [r52089] src/libnurbs/opennurbs_fit.cpp: + Uncomment some more code -2011-12-28 18:32 n_reed +2012-08-17 00:53 crdueck - * [r48175] src/tclscripts/boteditor/botTools.tcl: - rename some labels to increase clarity + * [r52088] src/libged/analyze.c: + fix uninitialized value -2011-12-27 22:43 n_reed +2012-08-17 00:28 starseeker - * [r48174] src/libgcv/wfobj/obj_grammar.yy: - Per-vertex colors are a non-standard extension, but may be found - in Meshlab OBJ exports. Accept but ignore them. + * [r52087] src/libnurbs/opennurbs_fit.cpp: + Starting to zoom in on actual Eigen functionality that will need + replacing... -2011-12-27 20:41 n_reed +2012-08-17 00:16 starseeker - * [r48173] src/other/perplex/README.txt: - initial documentation + * [r52086] src/libnurbs/opennurbs_fit.cpp, + src/libnurbs/opennurbs_fit.h: + More work on de-Eigenification of nurbs fit code -2011-12-27 20:22 n_reed +2012-08-16 22:03 carlmoore - * [r48172] src/other/perplex/parser.y, - src/other/perplex/token_type.h: - add header and footer + * [r52085] regress/gcv/CMakeLists.txt: + remove a trailing blank or tab -2011-12-27 20:22 n_reed +2012-08-16 21:51 carlmoore - * [r48171] src/other/perplex/scanner.re: - typo + * [r52084] misc/CMake/xsltproc.cmake.in: + remove a trailing blank or tab -2011-12-27 17:15 erikgreenwald +2012-08-16 21:50 carlmoore - * [r48170] src/libgcv/CMakeLists.txt: - disable test prog on win32 (dll export/import issue) + * [r52083] misc/CMake/multiconfig_path_read.cmake.in: + remove trailing blanks/tabs -2011-12-27 16:41 n_reed +2012-08-16 21:49 carlmoore - * [r48169] src/other/perplex/perplex.h, - src/other/perplex/scanner.re: - remove unused member from scanner data struct + * [r52082] misc/CMake/distclean.cmake.in: + remove trailing blanks/tabs -2011-12-23 22:50 n_reed +2012-08-16 21:47 carlmoore - * [r48168] src/libgcv/wfobj/obj_token_type.h: - avoid comparison between bool and unsigned char + * [r52081] misc/CMake/distcheck_repo_verify.cmake.in: + remove trailing blanks/tabs, and fix a spelling -2011-12-23 22:02 n_reed +2012-08-16 21:46 carlmoore - * [r48167] src/libbu/escape.c: - don't declare variable in for's init expression + * [r52080] misc/CMake/distcheck_in_src_dir.cmake.in: + remove a trailing blank or tab, and fix a spelling -2011-12-23 19:51 n_reed +2012-08-16 21:44 carlmoore - * [r48166] src/other/perplex/parser.y, - src/other/perplex/perplex.cpp: - initialize conditions string, close output file, and free - special-op strings + * [r52079] misc/CMake/ThirdParty.cmake: + remove trailing blanks/tabs -2011-12-23 19:36 n_reed +2012-08-16 21:43 carlmoore - * [r48165] src/libgcv/wfobj/obj_grammar.yy, - src/libgcv/wfobj/obj_parser.cpp, src/libgcv/wfobj/obj_rules.h, - src/libgcv/wfobj/obj_rules.l: - Renaming to distinguish extra type and state type. Remember to - free extra. + * [r52078] misc/CMake/TCL_PKGINDEX.cmake: + remove trailing blanks/tabs -2011-12-23 19:12 n_reed +2012-08-16 21:40 carlmoore - * [r48164] src/libgcv/wfobj/CMakeLists.txt, - src/libgcv/wfobj/Makefile.sample: - remove unused makefile + * [r52077] misc/CMake/ResolveCompilerPaths.cmake: + remove trailing blanks/tabs and fix spelling -2011-12-23 18:04 erikgreenwald +2012-08-16 21:37 carlmoore - * [r48163] src/libgcv/test_bottess.c: - macro up the test harness for simple triangle intersection - (obfuscate to clarify) + * [r52076] misc/CMake/RE2C_Util.cmake: + remove trailing blanks/tabs -2011-12-23 04:18 starseeker +2012-08-16 21:02 carlmoore - * [r48162] CMakeLists.txt, src/other/CMakeLists.txt: - go for consistency + * [r52075] bench/Makefile.am: + change buildir to builddir -2011-12-23 04:09 starseeker +2012-08-16 21:00 carlmoore - * [r48161] doc/docbook/CMakeLists.txt, misc/CMake/DocBook.cmake, - misc/CMake/Docbook.cmake: - Might as well match the spelling for DocBook that docbook.org is - using. + * [r52074] src/util/pc_test.c: + remove trailing blanks/tabs -2011-12-23 04:07 starseeker +2012-08-16 20:59 carlmoore - * [r48160] misc/CMake/Docbook.cmake: - Docbook.cmake is logic (one of the reasons for breaking it out - here) so put the header on it. + * [r52073] src/util/pix-bw.c: + remove trailing blanks/tabs -2011-12-22 23:35 starseeker +2012-08-16 20:58 carlmoore - * [r48159] misc/CMake/Docbook.cmake: - copy-paste fix in error messages for Docbook tools + * [r52072] misc/CMake/PERPLEX_Util.cmake: + remove trailing blanks/tabs, and fix a spelling -2011-12-22 22:21 tbrowder2 +2012-08-16 20:26 starseeker - * [r48158] src/libged/bb.c: - remove extra blank line + * [r52071] src/libnurbs/CMakeLists.txt, + src/libnurbs/opennurbs_fit.cpp, src/libnurbs/opennurbs_fit.h, + src/librt/CMakeLists.txt, src/other/CMakeLists.txt: + Start the process of subbing openNURBS types in for Eigen types. + We don't want to depend on Eigen - ideally, openNURBs natives + types will be used as far as possible (i.e. up to the point of + calling the actual solvers.) Once this process is complete and + the solver is verified to be still working, can start swapping in + other solvers to see how they perform. -2011-12-22 22:18 tbrowder2 +2012-08-16 20:08 carlmoore - * [r48157] src/libged/analyze.c: - fix typo + * [r52070] misc/CMake/LEMON_Util.cmake: + remove trailing blanks/tabs -2011-12-22 22:14 tbrowder2 +2012-08-16 20:07 carlmoore - * [r48156] regress/mged.sh: - redfine 'tgms' + * [r52069] misc/CMake/Fink_MacPorts.cmake: + remove trailing blanks/tabs, and fix capital P in MacPorts in a + quoted string -2011-12-22 22:07 starseeker +2012-08-16 17:35 anrgmrty - * [r48155] CMakeLists.txt: - Oops - put the DATA_DIR prefix in the MAN_DIR variable + * [r52068] doc/docbook/system/mann/en/CMakeLists.txt, + doc/docbook/system/mann/en/voxelize.xml: + MGED help for voxelize -2011-12-22 21:59 starseeker +2012-08-16 17:16 r_weiss - * [r48154] t.c: - clear stray file from ssh testing... + * [r52067] src/librt/primitives/nmg/nmg_tri.c: + Updated functions "nmg_flatten_face" and "nmg_triangulate_fu" + within file "nmg_tri.c". A tolerance is now passed into function + "nmg_flatten_face" and this function better handles the special + cases when the face is already flat. -2011-12-22 20:26 brlcad +2012-08-16 16:54 carlmoore - * [r48153] src/libbu/test_escape.c: - Add some not-cases to the testing + * [r52066] misc/CMake/FindZLIB.cmake: + remove trailing blanks/tabs -2011-12-22 20:26 brlcad +2012-08-16 16:49 r_weiss - * [r48152] src/libbu/escape.c: - fix/add support for negative expressions specified with ^ where - we needed to iterate over all chars to make sure none match - before escaping + * [r52065] src/librt/primitives/nmg/nmg_fuse.c: + Changed function "nmg_edge_g_fuse" in file "nmg_fuse.c". Removed + the rotation of the vertices until more testing with this can be + done. -2011-12-22 20:09 brlcad +2012-08-16 16:31 bob1961 - * [r48151] src/libbu/vls.c: - prevent crashing after bu_vls_strgrab() if the vls was never - initialized. bu_vls_addr() will return the address to a static - buffer if it's empty, so care must be taken to not return that as - the char* from bu_vls_strgrab(). + * [r52064] src/libged/edbot.c: + Minor cleanup. -2011-12-22 19:08 brlcad +2012-08-16 10:37 anrgmrty - * [r48150] src/libbu/escape.c: - add support for negative expressions (start with circumflex/carat - '^'). + * [r52063] src/libged/voxelize.c: + sizeVoxel values are given by the user in his choice of units but + need to be converted to mm -2011-12-22 19:08 brlcad +2012-08-16 05:58 phoenixyjll - * [r48149] src/libbu/test_escape.c: - some clarify on the escape test output + * [r52062] src/libged/brep.c: + Some clean up, add comments. -2011-12-22 18:58 tbrowder2 +2012-08-16 05:49 phoenixyjll - * [r48148] doc/docbook/system/mann/en/bb.xml: - correct typo + * [r52061] src/librt/primitives/part/part_brep.cpp, + src/librt/primitives/pipe/pipe_brep.cpp, + src/librt/primitives/revolve/revolve_brep.cpp, + src/librt/primitives/rhc/rhc_brep.cpp, + src/librt/primitives/rpc/rpc_brep.cpp, + src/librt/primitives/sketch/sketch_brep.cpp, + src/librt/primitives/tgc/tgc_brep.cpp: + Eliminate memory leak. -2011-12-22 18:57 n_reed +2012-08-16 05:48 phoenixyjll - * [r48147] src/other/step/src/express/expparse.y, - src/other/step/src/express/expscan.l: - fixed a few typos + * [r52060] src/librt/primitives/hyp/hyp_brep.cpp: + Eliminate memory leak. -2011-12-22 18:27 tbrowder2 +2012-08-16 00:30 cprecup - * [r48146] src/tclscripts/mged/help.tcl: - add mged 'bb' command help + * [r52059] doc/docbook/system/mann/en/CMakeLists.txt, + doc/docbook/system/mann/en/graph.xml: + Basic brlman documentation for the graph command and its current + subcommands. -2011-12-22 18:05 starseeker +2012-08-15 21:29 carlmoore - * [r48145] misc/CMake/ThirdParty.cmake: - we want full path for this binary... + * [r52058] misc/CMake/FindXSLTPROC.cmake: + remove trailing blank or tab -2011-12-22 18:00 brlcad +2012-08-15 21:10 crdueck - * [r48144] src/libbu/escape.c: - stub in initial function for expanding the previous 'chars' input - into an expanded list of chars to match + * [r52057] src/librt/primitives/nmg/nmg_misc.c: + use appropriate VUNITIZE_RET macro -2011-12-22 17:55 brlcad +2012-08-15 21:06 crdueck - * [r48143] include/bu.h: - document the extensively expanded support being added to - bu_str_escape() to make the previous 'chars' parameter actually - represent a full-fledged regular bracket expression. this - includes support for negative (^) expressions and named character - classes. + * [r52056] src/librt/primitives/arbn/arbn.c: + use the more descriptive DIST_PT_PT_SQ macro -2011-12-22 16:19 tbrowder2 +2012-08-15 21:03 crdueck - * [r48142] t.c: - testing ssh access + * [r52055] src/librt/primitives/ars/ars.c: + fixed typo -2011-12-22 16:16 tbrowder2 +2012-08-15 19:44 carlmoore - * [r48141] t.c: - testing ssh access + * [r52054] misc/CMake/FindXMLLINT.cmake: + remove a trailing blank or tab -2011-12-22 16:15 tbrowder2 +2012-08-15 19:39 carlmoore - * [r48140] t.c: - test ssh access + * [r52053] misc/CMake/FindX11.cmake: + fix a spelling and remove trailing blanks/tabs -2011-12-22 16:12 bob1961 +2012-08-15 19:37 carlmoore - * [r48139] src/tclscripts/lib/Ged.tcl: - Tweak cadwidgets::Ged::pane_mouse_3dpoint to also use polygon - points. + * [r52052] misc/CMake/FindTERMLIB.cmake: + remove trailing blanks/tabs -2011-12-22 15:54 tbrowder2 +2012-08-15 19:07 carlmoore - * [r48138] t.c: - testing ssh access + * [r52051] misc/CMake/FindShellDeps.cmake: + remove a trailing blank or tab -2011-12-22 15:53 tbrowder2 +2012-08-15 19:01 starseeker - * [r48137] t.c: - test ssh access + * [r52050] regress/nirt.sh: + Whitespace changes should not be made to the regression data in + nirt.sh without also updating the NIRT output itself to also not + generate eol spaces -2011-12-22 15:50 tbrowder2 +2012-08-15 18:26 carlmoore - * [r48136] t.c: - test ssh access + * [r52049] misc/CMake/FindSTL.cmake: + remove a trailing blank or tab -2011-12-22 15:37 tbrowder2 +2012-08-15 18:24 carlmoore - * [r48135] t.c: - modding temp file to check ssh access + * [r52048] misc/CMake/FindREGEX.cmake: + remove trailing blanks/tabs -2011-12-22 15:24 tbrowder2 +2012-08-15 18:23 carlmoore - * [r48134] t.c: - modding temp file to test ssh access + * [r52047] misc/CMake/FindPkgMacros.cmake: + remove a trailing blank or tab -2011-12-22 15:23 tbrowder2 +2012-08-15 18:22 carlmoore - * [r48133] t.c: - modding temp file to test ssh access + * [r52046] misc/CMake/FindPERPLEX.cmake: + remove trailing blanks/tabs -2011-12-22 15:16 tbrowder2 +2012-08-15 18:12 carlmoore - * [r48132] t.c: - modding temp file to test ssh access + * [r52045] src/util/pix-orle.c: + remove trailing blanks/tabs -2011-12-22 15:15 tbrowder2 +2012-08-15 18:11 carlmoore - * [r48131] t.c: - modding temp file to test ssh access + * [r52044] misc/CMake/FindOSL.cmake: + remove trailing blanks/tabs -2011-12-22 15:03 tbrowder2 +2012-08-15 18:10 carlmoore - * [r48130] t.c: - modding temp file to test ssh access + * [r52043] misc/CMake/FindLEX.cmake: + remove trailing blanks/tabs, fix spelling, and change a word -2011-12-22 15:02 tbrowder2 +2012-08-15 18:07 carlmoore - * [r48129] t.c: - adding temp file to test ssh access + * [r52042] src/util/pix-rle.c: + remove trailing blank or tab -2011-12-22 13:52 tbrowder2 +2012-08-15 18:06 carlmoore - * [r48128] INSTALL: - correct typo + * [r52041] src/util/rle-pix.c: + remove a trailing blank or tab -2011-12-22 13:52 tbrowder2 +2012-08-15 18:02 carlmoore - * [r48127] regress/main.sh: - correct typo + * [r52040] misc/CMake/FindLEMON.cmake: + remove trailing blanks/tabs -2011-12-22 13:50 tbrowder2 +2012-08-15 18:00 carlmoore - * [r48126] src/libged/bb.c: - correct file name in intro comment + * [r52039] misc/CMake/FindGL.cmake: + remove trailing blanks/tabs -2011-12-22 13:31 tbrowder2 +2012-08-15 17:59 carlmoore - * [r48125] TODO: - expand list of missing man pages so it can be easily viewed + * [r52038] misc/CMake/FindFontconfig.cmake: + remove trailing blanks/tabs -2011-12-22 02:16 tbrowder2 +2012-08-15 17:58 carlmoore - * [r48124] src/librt/primitives/bot/g_bot_include.c: - ws format + * [r52037] misc/CMake/DocBook.cmake: + remove trailing blanks/tabs -2011-12-22 00:53 tbrowder2 +2012-08-15 17:55 carlmoore - * [r48123] src/librt/primitives/bot/bot.c: - ws cleanup + * [r52036] misc/CMake/CompilerFlags.cmake: + fix spelling and remove trailing blanks/tabs -2011-12-21 23:26 starseeker +2012-08-15 17:54 carlmoore - * [r48122] TODO: - Add note to work on rtweight/density file parsing. + * [r52035] misc/CMake/CheckCSourceRuns.cmake: + fix spelling and remove trailing blanks/tabs -2011-12-21 22:52 n_reed +2012-08-15 17:50 carlmoore - * [r48121] src/other/step.dist, - src/other/step/include/express/lexact.h, - src/other/step/src/express/CMakeLists.txt, - src/other/step/src/express/expparse.y, - src/other/step/src/express/express.c, - src/other/step/src/express/expscan.l, - src/other/step/src/express/expscan.re, - src/other/step/src/express/lexact.c, - src/other/step/src/express/parse_data.h, - src/other/step/src/express/yyvars.c: - initial build of step express parser using perplex scanner + * [r52034] misc/CMake/BRLCAD_Util.cmake: + remove trailing blanks/tabs -2011-12-21 22:14 bob1961 +2012-08-15 17:48 carlmoore - * [r48120] src/libtclcad/tclcad_obj.c: - Added functionality to get/set the polygon list in view - coordinates. + * [r52033] doc/docbook/README.DB_authors_notes: + fix a spelling and remove trailing blanks/tabs -2011-12-21 22:12 bob1961 +2012-08-15 17:46 carlmoore - * [r48119] src/tclscripts/lib/Ged.tcl: - Modified the signature of the polygon callback. Added calls to - polygon callback in end_poly_move. + * [r52032] doc/docbook/CMakeLists.txt: + remove trailing blanks/tabs -2011-12-21 21:06 brlcad +2012-08-15 17:44 carlmoore - * [r48118] src/libicv/Makefile.am: - manually include the png dirs + * [r52031] misc/CMake/BRLCAD_Targets.cmake: + remove trailing blanks/tabs, and fix a spelling -2011-12-21 21:00 brlcad +2012-08-15 17:41 carlmoore - * [r48117] src/librt/prcomb.c: - file is unused + * [r52030] regress/nirt.sh: + remove trailing blanks/tabs -2011-12-21 20:42 starseeker +2012-08-15 17:37 carlmoore - * [r48116] regress/weight.sh: - Add a (commented out, for now) additional test for rtweight that - feeds it a more... quirky density file. As rtweight's parsing of - density files is currently set up, this will infinite loop (and - fill up your hard drive) but after rtweight is improved enable - this test (will need to replace the current 'results text' for - weight2 with the correct output. + * [r52029] INSTALL: + fix spelling of 'utility' -2011-12-21 20:28 brlcad +2012-08-15 16:47 carlmoore - * [r48115] src/other/perplex/parser.y, - src/other/perplex/perplex.cpp, src/other/perplex/scanner.re, - src/other/perplex/scanner_template.c: - fgetc() returns an int, not a char so capture the EOF return - value being cast through unsigned char as an int instead of a - char (255) + * [r52028] CMakeLists.txt: + remove trailing blanks/tabs and fix spelling -2011-12-21 20:27 brlcad +2012-08-15 14:04 bob1961 - * [r48114] src/other/perplex/mbo_getopt.cpp: - make the mbo_getopt replacement func return -1 like getopt(3), - not EOF + * [r52027] src/tclscripts/lib/TkTable.tcl: + Added code to cadwidgets::TkTable::handleKey to enforce a single + selection mode if the -singleSelectCallback option is set. -2011-12-21 19:24 brlcad +2012-08-15 12:57 bob1961 - * [r48113] src/librt/primitives/nmg/nmg_info.c: - magic number checking overhaul. remove most of the interior loop - and interior logic magic number checking. it's important to - perform magic number checks as part of input validation (akin to - assert()) but need not be part of ongoing calculations. checking - inputs insures that we'll at least narrow in on memory corruption - to a function scope, which is usually good enough. technically, - this may introduce a logic change if there is some nasty code - relying on a bu_bomb() hook getting called, but that would be bad - anyways. + * [r52026] include/ged.h, include/tclcad.h, + src/libged/CMakeLists.txt, src/libged/edbot.c, + src/libtclcad/tclcad_obj.c, src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/BotEditFrame.tcl, + src/tclscripts/archer/CMakeLists.txt, src/tclscripts/lib/Ged.tcl: + This is the initial installment of code to support bot editing in + Archer. Also a few tweaks for editing pipes in Archer. -2011-12-21 18:57 brlcad +2012-08-15 09:26 anrgmrty - * [r48112] regress/mged.sh: - readd an even simpler test that makes sure mged will run and exit - before we start piping in commands + * [r52025] src/tclscripts/mged/help.tcl: + help for voxelize -2011-12-21 18:48 n_reed +2012-08-15 05:20 phoenixyjll - * [r48111] src/other/perplex/scanner_template.c: - add missing prototype + * [r52024] src/libnurbs/opennurbs_ext.cpp: + The SSI function is quite reasonable now. Remove the "WIP" + comment. -2011-12-21 17:03 n_reed +2012-08-15 05:15 phoenixyjll - * [r48110] src/other/perplex/scanner_template.c: - added an unput routine similar to lex unput + * [r52023] src/librt/primitives/extrude/extrude_brep.cpp: + free the memory of extrudepath. -2011-12-21 16:48 tbrowder2 +2012-08-15 05:14 phoenixyjll - * [r48109] regress/mged.sh: - only one test tgm now + * [r52022] src/librt/primitives/eto/eto_brep.cpp: + Eliminate memory leak. -2011-12-21 16:45 r_weiss +2012-08-15 05:13 phoenixyjll - * [r48108] src/librt/primitives/nmg/nmg_info.c: - Updated function 'nmg_find_pt_in_face' in file 'nmg_info.c'. Made - changes to improve performance. + * [r52021] src/librt/primitives/epa/epa_brep.cpp: + Eliminate memory leak. -2011-12-21 16:42 n_reed +2012-08-15 05:13 phoenixyjll - * [r48107] src/other/perplex/scanner_template.c: - avoid mixing code and declarations + * [r52020] src/librt/primitives/ehy/ehy_brep.cpp: + Eliminate memory leak. -2011-12-21 16:39 r_weiss +2012-08-15 05:11 phoenixyjll - * [r48106] src/librt/primitives/nmg/nmg_info.c: - Updated function 'nmg_find_pt_in_lu' in file 'nmg_info.c'. Made - changes to improve performance. + * [r52019] src/librt/primitives/cline/cline_brep.cpp: + free the pipe internal. -2011-12-21 16:37 brlcad +2012-08-14 23:22 r_weiss - * [r48105] regress/mged.sh: - don't need two tests just to make sure mged will receive - commands. keep the more complex example since it creates - geometry. + * [r52018] src/librt/primitives/nmg/nmg_tri.c: + Update to "cut_unimonotone" in file "nmg_tri.c" to fix some + compile errors. -2011-12-21 16:37 n_reed +2012-08-14 21:45 r_weiss - * [r48104] src/other/perplex/scanner_template.c: - copy input string to buffer so it can be modified if necessary + * [r52017] src/librt/primitives/nmg/nmg_tri.c: + Added new function "nmg_isect_pt_facet" to file "nmg_tri.c". This + function handles more special cases when testing if a point is + within a facet. Changed function "cut_unimonotone" to use this + new function. This is a work in process. -2011-12-21 16:17 n_reed +2012-08-14 19:22 anrgmrty - * [r48103] src/other/perplex/scanner_template.c: - better to create string scanner from pointer and length + * [r52016] src/tclscripts/lib/Ged.tcl: + position of method voxelize changed so it is in alphabetical + order -2011-12-21 15:55 starseeker +2012-08-14 19:13 anrgmrty - * [r48102] misc/CMake/LEMON_Util.cmake, - src/other/re2c/CMake/LEMON_Util.cmake, - src/other/step/CMake/LEMON_Util.cmake: - Do a little rework on the lemon target macro - saw an error: - Error renaming from 'expparse.c' to 'expparse.c': No such file or - directory - this might happen if lemon does something wrong, but - it could also mean lemon isn't done and the copy command tries to - proceed anyway, so split out the steps to make intermediate file - dependencies explicit - may help. + * [r52015] src/tclscripts/lib/Db.tcl, src/tclscripts/lib/Mged.tcl: + position of method voxelize changed so it is in alphabetical + order -2011-12-21 15:49 starseeker +2012-08-14 19:09 anrgmrty - * [r48101] src/other/step/src/express/CMakeLists.txt, - src/other/step/src/express/expprint.c: - Nick says he created this for debugging purposes and it can go. + * [r52014] src/tclscripts/lib/tclIndex: + position of voxelize changed so it is in alphabetical order -2011-12-21 06:31 starseeker +2012-08-14 18:30 carlmoore - * [r48100] CMakeLists.txt: - Disable opengl like we mean it if the required criteria aren't - met + * [r52013] include/raytrace.h: + fix spellings -2011-12-21 06:07 starseeker +2012-08-14 18:23 anrgmrty - * [r48099] CMakeLists.txt, src/libfb/tcl.c, src/mged/doevent.c: - These tweaks get things building without X11 headers on Gentoo - linux... + * [r52012] src/libged/voxelize.c: + voxelize with command line options, regions defined -2011-12-21 05:38 starseeker +2012-08-14 18:08 carlmoore - * [r48098] misc/CMake/BRLCAD_Options.cmake: - If it walks like a bool and quacks like a bool, call it a bool + * [r52011] include/vmath.h: + fix spellings -2011-12-21 05:25 starseeker +2012-08-14 18:04 carlmoore - * [r48097] src/other/CMakeLists.txt: - only look for tk.h if we actually want Tk... + * [r52010] include/nurbs.h: + remove trailing blank and fix spellings -2011-12-21 01:07 brlcad +2012-08-14 17:09 carlmoore - * [r48096] src/libbu/test_escape.c: - a few more enhanced tests to check for round-trip behavior + * [r52009] ChangeLog: + fix spelling of 'reported' -2011-12-21 01:06 brlcad +2012-08-14 17:06 carlmoore - * [r48095] src/libbu/escape.c: - yay for unit testing doing its job. if there's a slash at the - end, we might run past the buffer end so make sure we don't. + * [r52008] ChangeLog: + fix spellings -2011-12-21 00:46 starseeker +2012-08-14 16:57 starseeker - * [r48094] regress/repository.sh: - remove the INSTALL check, doesn't apply in this form and its - breaking distcheck. Leave the Makefile.am check until there - aren't any more Makefile.am files... + * [r52007] CMakeLists.txt: + sp -2011-12-21 00:32 brlcad +2012-08-14 15:55 starseeker - * [r48093] src/libbu/test_escape.c: - add escape test cases + * [r52006] CMakeLists.txt, + src/other/step/cmake/sync_generated.cmake.in: + Update documentation on handling of INSTALL.new, configure.new, + and perplex/re2c/lemon cached files. -2011-12-21 00:16 brlcad +2012-08-14 15:35 starseeker - * [r48092] src/libbu/test_escape.c: - simplify testing, generalizing for bu_str_escape() cases + * [r52005] CMakeLists.txt, INSTALL, misc/CMake/configure_suffix.sh, + src/other/CMakeLists.txt: + INSTALL and configure.cmake.sh are (partially) autogenerated - + clean up the ws in the source contents, rather than the generated + output. -2011-12-20 23:49 brlcad +2012-08-14 15:34 carlmoore - * [r48091] src/libbu/CMakeLists.txt, src/libbu/Makefile.am: - hook test_escape into the build + * [r52004] TODO: + fix spelling -2011-12-20 23:49 brlcad +2012-08-14 15:20 starseeker - * [r48090] src/libbu/test_escape.c: - add an initial stab at a unit test for the new escape/unescape - routines + * [r52003] regress/red.sh: + red now rejects unsafe color - update regression test. -2011-12-20 23:39 brlcad +2012-08-14 15:19 carlmoore - * [r48089] src/libbu/escape.c: - don't call strlen() before we know whether input is NULL + * [r52002] INSTALL: + remove trailing blanks/tabs and fix a spelling -2011-12-20 23:17 tbrowder2 +2012-08-14 15:17 carlmoore - * [r48088] regress/mged.sh: - document reason for new special tests + * [r52001] configure.cmake.sh: + remove trailing blank -2011-12-20 23:16 brlcad +2012-08-14 15:12 starseeker - * [r48087] src/libbu/test_quote.c: - doesn't actually use stdarg or stdlib + * [r52000] regress/nirt.sh: + Don't strip spaces from the NIRT sample output unless/until nirt + output also strips all spaces. -2011-12-20 23:06 n_reed +2012-08-14 13:17 brlcad - * [r48086] src/other/perplex/CMakeLists.txt, - src/other/perplex/scanner_template.c: - lose libm dependency + * [r51999] src/librt/primitives/nmg/nmg_rt_segs.c: + apply sf patch 3549356 from ksuzee (Reduction in + src/librt/primitives/nmg/nmg_rt_segs.c). the body of functions + state5() and state6() were united, put into a common 'state5and6' + (slightly patch mod) function. -2011-12-20 22:55 brlcad +2012-08-14 05:55 phoenixyjll - * [r48085] include/bu.h, src/libbu/escape.c: - add a new bu_str_unescape() function for removing backslash - characters from strings. simpler to implement since the output is - always less than or equal in size to the input. otherwise,similar - to bu_str_escape() in that it supports static and dynamic memory - models as well as overlapping or same input/output buffers and - should be threadsafe and re-entrant as long as the inputs are. - make sure we null-terminate. + * [r51998] include/nurbs.h: + Add comment before surface_surface_intersection() to describe the + algorithm used in SSI. -2011-12-20 22:15 brlcad +2012-08-14 05:25 phoenixyjll - * [r48084] include/bu.h, src/libbu/CMakeLists.txt, - src/libbu/Makefile.am, src/libbu/escape.c: - add a new bu_str_escape() function for escaping string characters - with backslashes. supports static and dynamic memory models as - well as overlapping or same input/output buffers. should be - threadsafe and re-entrant as long as the inputs are. + * [r51997] src/librt/primitives/dsp/dsp_brep.cpp: + Some clean up: modify comments, rename a variable with typo, + eliminate the debug output, and reduce using dynamic allocated + pointers. -2011-12-20 21:32 brlcad +2012-08-14 05:08 phoenixyjll - * [r48083] src/libbu/str.c: - mark a few more of the expressions that result in logging as - UNLIKELY + * [r51996] src/librt/primitives/brep/brep.cpp: + Try the ON_Surface::Pushup() method first. -2011-12-20 20:59 erikgreenwald +2012-08-14 04:26 brlcad - * [r48082] src/libgcv/test_bottess.c: - add some meat + * [r51995] src/libbu/tests/bu_basename.c: + this should but doesn't halt on failure -2011-12-20 20:15 bob1961 +2012-08-14 04:19 brlcad - * [r48081] include/tclcad.h, src/libtclcad/tclcad_obj.c, - src/tclscripts/lib/Ged.tcl: - Added the ability to move a data object (i.e. line, arrow, - polygon) or point. Previously only data points could be moved. + * [r51994] src/libbn/tri_tri.c: + ws -2011-12-20 19:35 n_reed +2012-08-14 04:06 brlcad - * [r48080] src/other/perplex/scanner.re: - need to update scope flag at end of condition scope + * [r51993] src/librt/primitives/brep/brep.cpp: + declare nurbs.h functions for us -2011-12-20 19:26 tbrowder2 +2012-08-14 04:04 brlcad - * [r48079] regress/mged.sh: - add more detailed regression tests for the mged solids and - regions commands + * [r51992] TODO: + looks like g-nff is in sync now -2011-12-20 18:46 n_reed +2012-08-14 04:03 brlcad - * [r48078] src/other/perplex/scanner.re: - fixed patterns that sometimes skipped quote characters, causing - bad parsing of quoted text + * [r51991] src/conv/g-nff.1: + v and i are separate options. be consistent with usage. -2011-12-20 18:28 starseeker +2012-08-14 04:02 brlcad - * [r48077] src/libbu/simd.c: - asm -> __asm__ + * [r51990] src/conv/g-nff.c: + reorder to avoid forward decls -2011-12-20 16:56 starseeker +2012-08-14 04:00 brlcad - * [r48076] src/other/step/src/express/expprint.c: - Not really sure what's going on with printScope here... + * [r51989] include/brep.h: + heh, NRUBS! Non-uniform, not non-rational -2011-12-20 12:07 tbrowder2 +2012-08-14 03:59 brlcad - * [r48075] NEWS: - shameless credit for two bug fixes + * [r51988] include/nurbs.h: + header cleanup, remove unnecessary forward decl -2011-12-20 11:58 tbrowder2 +2012-08-14 01:33 starseeker - * [r48074] src/tclscripts/boteditor/botTools.tcl: - correct typo in menu + * [r51987] src/libtclcad/tclcadAutoPath.c, + src/tclscripts/archer/ArcherCore.tcl: + Put bare bones of Archer graph command in place. -2011-12-20 11:50 tbrowder2 +2012-08-14 00:09 starseeker - * [r48073] src/tclscripts/mged/botedit.tcl: - need manual dependency to define BotEditor' this fixes bug number - 3392650 + * [r51986] include/CMakeLists.txt: + Add nurbs.h to distcheck logic. -2011-12-20 04:32 starseeker +2012-08-14 00:03 starseeker - * [r48072] src/tclscripts/archer/BotUtility.tcl: - use bu_brlcad_root to find libbu. - wasn't working from - build directory + * [r51985] include/nurbs.h, src/conv/step/PullbackCurve.cpp, + src/libnurbs/opennurbs_ext.cpp, + src/librt/primitives/brep/brep.cpp: + Move some more functions/functionality into libnurbs. This is + just to deal with compilation issues - needs some serious API + consideration. -2011-12-20 02:15 starseeker +2012-08-13 21:48 r_weiss - * [r48071] CMakeLists.txt, INSTALL, configure.cmake.sh, - misc/CMake/BRLCAD_Options.cmake, misc/CMake/ThirdParty.cmake, - misc/CMake/ThirdParty_TCL.cmake, misc/CMake/configure_prefix.sh, - misc/CMake/configure_suffix.sh: - Woo hoo! autogenerate the guts of the configure rosetta script - right along with the docs. + * [r51984] src/librt/primitives/nmg/nmg_tri.c: + Updated function "is_convex" in file "nmg_tri.c" to compute its + normal instead of assuming the z-axis. -2011-12-20 01:07 starseeker +2012-08-13 21:45 r_weiss - * [r48070] - doc/docbook/books/en/BRL-CAD_Tutorial_Series-VolumeI.xml: - fix xmllint error + * [r51983] src/libbn/plane.c: + Updated function "bn_isect_line3_line3" in file "plane.c" to use + function "bn_lseg3_lseg3_parallel" and to better handle special + cases. -2011-12-20 01:04 starseeker +2012-08-13 21:42 r_weiss - * [r48069] misc/CMake/ThirdParty.cmake: - in fact, the exe var setting is only conditional on the build - setting. + * [r51982] src/librt/primitives/nmg/nmg_info.c: + Updated function "nmg_loop_is_ccw" in file "nmg_info.c" to use + function "nmg_loop_plane_area2". -2011-12-20 01:02 starseeker +2012-08-13 21:31 r_weiss - * [r48068] misc/CMake/ThirdParty.cmake: - Oops - just because we've already added the subdirectory, that - doesn't mean we don't need to set the executable variable for the - second executable... + * [r51981] include/raytrace.h, src/librt/primitives/nmg/nmg_misc.c: + Added a second version of function "nmg_loop_plane_area" to file + "nmg_misc.c". The new version is named "nmg_loop_plane_area2". + This is for testing, at some point the two versions will be + consolidated. Also updated "raytrace.h". -2011-12-20 00:56 starseeker +2012-08-13 20:15 carlmoore - * [r48067] misc/CMake/xsltproc.cmake.in: - Note why it's important to make the directory first when running - xsltproc + * [r51980] src/tclscripts/hv3/hv3.man: + remove trailing blanks/tabs and fix spellings -2011-12-20 00:52 starseeker +2012-08-13 20:13 carlmoore - * [r48066] misc/CMake/ThirdParty.cmake, - misc/CMake/ThirdParty_TCL.cmake: - Don't show disabled 3rd party opts, and make sure to show them if - they become enabled. + * [r51979] src/tclscripts/mged/grouper.tcl: + remove trailing blanks/tabs -2011-12-20 00:38 starseeker +2012-08-13 20:12 carlmoore - * [r48065] misc/CMake/ThirdParty_TCL.cmake: - No need to double warn + * [r51978] src/tclscripts/hv3/combobox.tcl: + remove trailing blanks/tabs, fix spelling, put periods in i.e. + and e.g. -2011-12-20 00:34 starseeker +2012-08-13 20:05 carlmoore - * [r48064] misc/CMake/ThirdParty_TCL.cmake, - src/other/CMakeLists.txt: - Few more tweaks for that annoying 'system only even though - there's nothing installed on it that I need' case... + * [r51977] src/tclscripts/boteditor/botEditor.tcl: + remove trailing blanks/tabs and fix spellings -2011-12-20 00:15 starseeker +2012-08-13 20:01 carlmoore - * [r48063] misc/CMake/ThirdParty.cmake: - oops - zigging when we need to zag. no turning things on when we - have SYSTEM settings. + * [r51976] src/tclscripts/archer/BotUtility.tcl: + remove trailing blanks/tabs -2011-12-19 23:56 starseeker +2012-08-13 19:59 carlmoore - * [r48062] src/librt/db_tree.c: - Um... why are we bu_bombing when we call this? asc2g isn't happy - when building the db targets... + * [r51975] src/tclscripts/archer/AttrGroupsDisplayUtility.tcl: + remove trailing blanks/tabs -2011-12-19 23:54 brlcad +2012-08-13 19:58 carlmoore - * [r48061] src/libbu/str.c: - file name changed + * [r51974] src/tclscripts/archer/ArcherCore.tcl: + fix spellings -2011-12-19 23:34 starseeker +2012-08-13 19:44 carlmoore - * [r48060] INSTALL: - Add tweak to documentation string. + * [r51973] src/tclscripts/archer/ArcherCore.tcl: + remove trailing blanks/tabs and fix spelling -2011-12-19 23:27 starseeker +2012-08-13 19:04 carlmoore - * [r48059] misc/CMake/BRLCAD_Options.cmake, - misc/CMake/FindLEMON.cmake, misc/CMake/FindPERPLEX.cmake, - misc/CMake/FindRE2C.cmake, misc/CMake/LEMON_Util.cmake, - misc/CMake/PERPLEX_Util.cmake, misc/CMake/RE2C_Util.cmake, - misc/CMake/ThirdParty.cmake, misc/CMake/ThirdParty_TCL.cmake, - src/other/CMakeLists.txt, src/other/re2c/CMake/FindLEMON.cmake, - src/other/re2c/CMake/LEMON_Util.cmake, - src/other/re2c/CMakeLists.txt, - src/other/step/CMake/FindLEMON.cmake, - src/other/step/CMake/LEMON_Util.cmake, - src/other/step/CMakeLists.txt: - Rework the non-tcl 3rd party logic as well. Split the build - target macros for code generators into their own files, so we - don't have to load the Find*.cmake files in all situations. - -2011-12-19 23:11 n_reed - - * [r48058] src/libgcv/wfobj/CMakeLists.txt, - src/libgcv/wfobj/obj_grammar.yy, - src/libgcv/wfobj/obj_grammar_decls.h, - src/libgcv/wfobj/obj_grammar_decls.h.in, - src/libgcv/wfobj/obj_parser.cpp, src/libgcv/wfobj/obj_rules.h, - src/libgcv/wfobj/obj_rules.l, src/libgcv/wfobj/obj_rules.re, - src/libgcv/wfobj/re2c_utils.c, src/libgcv/wfobj/re2c_utils.h: - replaced obj re2c scanner with perplex scanner - -2011-12-19 23:10 r_weiss - - * [r48057] src/librt/primitives/nmg/nmg_tri.c: - Updated function 'nmg_triangulate_rm_degen_loopuse' in file - 'nmg_tri.c'. Changed the logic for the status messages so that - debug must be enabled for the messages to be displayed. The - reason is the messages are not useful to the user and clutter the - display during triangulation of nmg objects. - -2011-12-19 23:01 n_reed - - * [r48056] src/other/perplex/perplex.cpp, - src/other/perplex/scanner.re: - remove debug output - -2011-12-19 22:57 r_weiss - - * [r48055] src/librt/primitives/nmg/nmg_inter.c: - Updated functions 'nmg_isect_two_face2p_jra' and - 'nmg_isect_eu_fu' in file 'nmg_inter.c'. Reduced the number of - edges to process when calling the function - 'nmg_break_all_es_on_v'. These changes were to improve - performance. + * [r51972] src/tclscripts/archer/Archer.tcl: + commit'd a 2nd time because 2 cases of 'its' needed apostrophe -2011-12-19 22:55 r_weiss +2012-08-13 19:02 carlmoore - * [r48054] src/librt/primitives/nmg/nmg_fuse.c: - Updated function 'nmg_break_all_es_on_v' in file 'nmg_fuse.c'. - Removed unnecessary logic and removed magic checks. These changes - were to improve performance. + * [r51971] src/tclscripts/archer/Archer.tcl: + remove trailing blanks/tabs and fix spelling -2011-12-19 20:21 brlcad +2012-08-13 18:43 carlmoore - * [r48053] src/librt/comb/comb.c, src/librt/db_tree.c, - src/librt/search.c, src/librt/vlist.c: - 'new' is a terrible non-descript name for a variable and causes - compilation problems for c++ compilers. rename. + * [r51970] src/other/openNURBS/opennurbs_archive.cpp: + remove trailing blanks/tabs and fix MANY spellings -2011-12-19 20:13 brlcad +2012-08-13 18:33 carlmoore - * [r48052] src/librt/comb/comb.c: - increase buffer to 1024 to minimize risk of (bogus or valid) - user-input encountering the limit. don't perform an isupper() - test .. tolower() already has to. + * [r51969] src/other/openNURBS/opennurbs_arccurve.h: + remove trailing blanks/tabs and fix spelling -2011-12-19 19:47 brlcad +2012-08-13 18:29 carlmoore - * [r48051] src/libgcv/wfobj/obj_rules.re: - looks like the memset parameters are transposed. was setting 0 - bytes. + * [r51968] src/other/openNURBS/opennurbs_arccurve.cpp: + remove trailing blanks/tabs, and fix spelling -2011-12-19 18:51 r_weiss +2012-08-13 18:09 carlmoore - * [r48050] src/librt/primitives/nmg/nmg_mesh.c: - Updated function 'nmg_mesh_two_faces' in file 'nmg_mesh.c'. - Removed magic tests to improve performance. + * [r51967] src/other/openNURBS/opennurbs_arccurve.cpp: + remove trailing blanks/tabs and fix a spelling -2011-12-19 17:58 r_weiss +2012-08-13 18:05 carlmoore - * [r48049] src/librt/primitives/nmg/nmg_fuse.c: - Rewrote function 'nmg_model_edge_fuse' and added function - 'v_ptr_comp' to file 'nmg_fuse.c'. These changes were to improve - the performance of edge fusing for nmg objects. This change - reduces the time to perform nmg boolean operations. + * [r51966] src/other/openNURBS/opennurbs_arc.h: + remove trailing blanks/tabs and fix a spelling -2011-12-19 17:54 r_weiss +2012-08-13 18:01 carlmoore - * [r48048] src/librt/primitives/nmg/nmg_mod.c: - Updated function 'nmg_gluefaces' in file 'nmg_mod.c'. Removed - magic checks to improve performance. Changed a variable to a - register variable to improve performance. + * [r51965] src/rt/main.c: + fix a spell per C. Sean Morrison -2011-12-19 17:49 r_weiss +2012-08-13 17:54 starseeker - * [r48047] src/librt/primitives/nmg/nmg_rt_isect.c: - Updated function 'nmg_class_ray_vs_shell' in file - 'nmg_rt_isect.c'. Corrected a bug with the manifolds creating and - freeing. Added some comments. + * [r51964] src/nirt/if.c: + Correct formula for obliquity in nirt - this will only be visable + if the normal vector isn't unitized. Bob caught this. -2011-12-19 17:48 n_reed +2012-08-13 17:37 starseeker - * [r48046] src/other/perplex/scanner.re, - src/other/perplex/scanner_template.c: - more type corrections + * [r51963] CMakeLists.txt: + Do for the automatically maintained files what we're doing in the + SCL case - unless explicitly told the source directory is totally + locked, go ahead and do the sync operations. -2011-12-19 17:47 tbrowder2 +2012-08-13 14:56 starseeker - * [r48045] doc/docbook/presentations/en/intro-to-tcltk.xml: - correct error in result of 'lindex' command; amplify lead-in text + * [r51962] src/tclscripts/archer/images/framebuffer.png, + src/tclscripts/archer/images/framebuffer_off.png: + Try to improve the framebuffer toggle icons. -2011-12-19 16:51 n_reed +2012-08-13 14:46 starseeker - * [r48044] src/other/perplex/scanner_template.c: - typo + * [r51961] src/tclscripts/archer/Archer.tcl: + Make fb on/off toggle be consistent with state toggle - icon + reflects current state. -2011-12-19 16:41 n_reed +2012-08-13 14:35 phoenixyjll - * [r48043] src/other/perplex/scanner.re, - src/other/perplex/scanner_template.c: - need array notation to quell const char warning + * [r51960] src/librt/primitives/brep/brep.cpp: + rename the variable 'face' to 'new_face' to avoid compiler's + shadow warning. -2011-12-19 16:32 n_reed +2012-08-13 14:32 starseeker - * [r48042] src/other/perplex/scanner.re, - src/other/perplex/scanner_template.c: - add missing malloc casts + * [r51959] src/tclscripts/archer/images/raytrace.png, + src/tclscripts/archer/images/raytrace_abort.png: + Improve raytracing camera icons - use + http://openclipart.org/detail/34423/tango-camera-photo-by-warszawianka + and http://openclipart.org/detail/28689/no-sign-by-skotan -2011-12-19 03:47 starseeker +2012-08-13 14:19 starseeker - * [r48041] misc/CMake/ThirdParty.cmake: - tweak for generic ThirdParty macro to fix handling of cached - build targets... + * [r51958] INSTALL, configure.cmake.sh: + ws from other changes -2011-12-19 03:39 starseeker +2012-08-13 12:39 cprecup - * [r48040] misc/CMake/ThirdParty_TCL.cmake: - Stray debug print statement + * [r51957] src/tclscripts/lib/Ged.tcl: + Fixed the error in Archer pointed out by starseeker: 'function + 'graph_objects_positions' is not defined in class + '::cadwidgets::Ged'. Unexpected error encountered while running + Archer. Aborting.' A space character was missing. -2011-12-19 03:33 starseeker +2012-08-13 12:22 starseeker - * [r48039] misc/CMake/ThirdParty_TCL.cmake: - try a little harder to reset the library variable for proper - searching. also ended up reindenting. + * [r51956] src/tclscripts/archer/images/framebuffer_clear.png: + Use a better clear icon (from + http://openclipart.org/detail/32329/tango-edit-clear-by-warszawianka) -2011-12-18 19:23 tbrowder2 +2012-08-13 09:35 phoenixyjll - * [r48038] src/libged/tables.c: - fixed some ws formatting + * [r51955] src/librt/primitives/brep/brep.cpp: + Some clean up and fix some bugs, move the common parts into a + separate function. -2011-12-18 19:18 tbrowder2 +2012-08-13 09:32 phoenixyjll - * [r48037] src/libged/tables.c: - correcting type coercion on matrices fixes bug 3392558 (soilds - and regions commands cause core dump) + * [r51954] src/libnurbs/opennurbs_ext.cpp: + Remove the TODO comment. -2011-12-18 17:16 starseeker +2012-08-13 02:35 cprecup - * [r48036] CMakeLists.txt, misc/CMake/ThirdParty_TCL.cmake, - misc/CMake/ThirdParty_TCL2.cmake, misc/CMake/tcltest.tcl.in, - src/other/CMakeLists.txt: - Swap in the new Tcl macro system. Needs debugging, but this will - hopefully be a more organized framework within which to find the - bugs. Also added one additional feature to the summary - if a - component is disabled that is to be reported in the summary, and - a system version was NOT found, put an exclamation point after - the OFF to indicate potential trouble. + * [r51953] src/libged/dag.cpp, + src/tclscripts/graph/GraphEditor.tcl: + Added routines for positioning the nodes and setting the layout + of the graph. Along with the name, type, and positions of the + objects, the coordinates of the connection points between the + nodes are provided as well to the Tcl script. The outputted graph + has now an organized structure, polyline connections and arrows + at each end of an edge. -2011-12-18 15:45 starseeker +2012-08-12 00:53 crdueck - * [r48035] misc/CMake/ThirdParty_TCL2.cmake: - More work on the Tcl/Tk 3rd party macro rewrite + * [r51952] src/librt/primitives/sketch/sketch_tess.cpp: + some minor cleanup and improvements, added a TODO list -2011-12-18 05:26 starseeker +2012-08-11 21:44 anrgmrty - * [r48034] misc/CMake/BRLCAD_Options.cmake: - Add a disabled option to BUNDLED_OPTIONS + * [r51951] include/analyze.h: + analyze.h call back name changed for voxelize function -2011-12-17 05:37 starseeker +2012-08-11 21:40 anrgmrty - * [r48033] src/other/re2c/CMake/FindLEMON.cmake, - src/other/step/CMake/FindLEMON.cmake: - Update the other FindLEMON files + * [r51950] src/libanalyze/voxels.c: + printFunction renamed to create_boxes -2011-12-17 05:32 starseeker +2012-08-11 21:36 anrgmrty - * [r48032] misc/CMake/ThirdParty_TCL2.cmake, - misc/CMake/tcltest.tcl.in: - Checkpoint a work-in-progress rewrite of the Tcl 3rd party - extension macro. Not working yet, but far enough along I'd hate - to lose it so get what is written into the tree. + * [r51949] src/conv/g-voxel.c: + g-voxel extraneous comments removed -2011-12-17 00:26 n_reed +2012-08-11 21:35 anrgmrty - * [r48031] src/libgcv/wfobj/tri_face.c: - Use the NMG macros instead of bu_pool_get. NMG memory scheme may - change, but allocation macros should always be compatible with - nmg_k* routines. + * [r51948] src/libged/voxelize.c: + create_boxes callback function -2011-12-17 00:06 starseeker +2012-08-10 23:49 r_weiss - * [r48030] misc/CMake/FindPERPLEX.cmake: - remove FindPERPLEX template logic - as an integral part of - BRL-CAD we don't need it, and if it becomes more general later we - can plug in a variation of the updated TEMPLATE variable setting - just added to FindLEMON. + * [r51947] src/libged/bot_fuse.c: + Code cleanup to fix compile errors. -2011-12-16 22:46 n_reed +2012-08-10 21:27 r_weiss - * [r48029] src/libgcv/wfobj/tri_face.c: - s/BU_GET/bu_pool_get/ so that freeing with standard nmg routines - doesn't cause bomb. + * [r51946] src/libged/bot_fuse.c: + Added function "_ged_show_dangling_edges" to file "bot_fuse.c" + within libged. This function will display open edges within NMG + objects. -2011-12-16 21:50 n_reed +2012-08-10 21:21 carlmoore - * [r48028] misc/CMake/FindPERPLEX.cmake: - Corrected perplex and re2c options. Basing re2c intermediate name - on output name, not output path. + * [r51945] src/other/openNURBS/opennurbs_arc.cpp: + remove trailing blanks/tabs and fix spelling -2011-12-16 19:45 bob1961 +2012-08-10 21:20 r_weiss - * [r48027] src/tclscripts/lib/Ged.tcl: - Add callbacks for polygon creation. + * [r51944] include/bn.h, src/libbn/plane.c: + Added a new function to libbn called "bn_lseg3_lseg3_parallel". + This function tests for parallel line segments without using the + dot product. -2011-12-16 19:39 bob1961 +2012-08-10 21:20 carlmoore - * [r48026] src/libtclcad/tclcad_obj.c: - Allow empty polygons. + * [r51943] src/other/openNURBS/opennurbs_annotation2.h: + remove trailing blanks/tabs & fix spellings -2011-12-16 18:18 starseeker +2012-08-10 21:18 carlmoore - * [r48025] misc/CMake/ThirdParty_TCL.cmake: - Add a note about another refactor needed to allow local enabling - - right now can't set SYSTEM and then turn on just Tkhtml + * [r51942] src/other/openNURBS/opennurbs_annotation2.cpp: + remove trailing blanks/tabs and fix spelling and remove a period -2011-12-16 18:03 starseeker +2012-08-10 21:15 carlmoore - * [r48024] src/other/CMakeLists.txt: - Rework explanatory text for lemon + * [r51941] src/other/openNURBS/opennurbs_annotation.h: + remove trailing blanks/tabs and fix spellings -2011-12-16 17:52 starseeker +2012-08-10 21:14 carlmoore - * [r48023] misc/CMake/FindLEMON.cmake, src/other/CMakeLists.txt: - Redo the handling of lemon a bit, since there does exist at least - one working path for a viable system lemon installation. + * [r51940] src/other/openNURBS/opennurbs_annotation.cpp: + remove trailing blanks/tabs and fix a spelling -2011-12-16 17:37 n_reed +2012-08-10 21:04 carlmoore - * [r48022] src/other/perplex/scanner.re, - src/other/perplex/scanner_template.c: - cleanup + * [r51939] src/other/openNURBS/opennurbs_3dm_settings.h: + remove trailing blanks/tabs & fix spelling -2011-12-16 17:22 starseeker +2012-08-10 21:02 carlmoore - * [r48021] src/libged/simulate/simrt.c: - shadowed variable warning... + * [r51938] src/other/openNURBS/opennurbs_3dm_settings.cpp: + remove trailing blanks/tabs and fix spelling -2011-12-16 17:19 starseeker +2012-08-10 21:00 carlmoore - * [r48020] misc/CMake/ThirdParty.cmake, src/other/CMakeLists.txt: - Extend the NOSYS mechanism to tools as well. Perplex is our own - tool, so even a SYSTEM install isn't going to have it available - (it's our own code, just being treated as a separate project) and - trying to use a system version of lemon is... problematic, to say - the very least. lempar.c isn't likely to be present, and even - when our copy is placed in /usr/bin problems occurred. lemon - isn't packaged by itself, so it's hard to know what to do about - that... suggest upgrading sqlite? probably better to use our - local copy for now... + * [r51937] src/other/openNURBS/opennurbs_3dm_properties.h: + remove trailing blanks/tabs and fix spelling -2011-12-16 16:59 starseeker +2012-08-10 20:58 carlmoore - * [r48019] src/other/CMakeLists.txt: - We need the ITCL version set for find_library... since we aren't - testing for it when we're going whole-hog system, set it to 3.4 - if it's not defined. + * [r51936] src/other/openNURBS/opennurbs_3dm_properties.cpp: + remove trailing blanks/tabs, and fix spelling -2011-12-16 16:22 starseeker +2012-08-10 20:57 carlmoore - * [r48018] src/other/CMakeLists.txt: - Needing the C library from a Tcl/Tk package is complicating - things... however, a bit of a pattern is emerging... + * [r51935] src/other/openNURBS/opennurbs_3dm_attributes.h: + remove trailing blanks/tabs, fix spelling -2011-12-16 06:12 starseeker +2012-08-10 20:51 carlmoore - * [r48017] INSTALL: - Doing Tk as a Tcl extension, so docs are generated for it - add - 'em. + * [r51934] src/other/openNURBS/opennurbs_3dm_attributes.cpp: + remove trailing blanks/tabs, fix spelling -2011-12-16 06:11 starseeker +2012-08-10 20:50 carlmoore - * [r48016] CMakeLists.txt, misc/CMake/ThirdParty_TCL.cmake, - src/other/CMakeLists.txt: - Do more work to make BRLCAD_BUNDLED_LIBS=System do what it claims - to do. Also make Tcl packages respect it, unless BRLCAD_TCL is - overridden locally - then respect the local Tcl setting rather - than BUNDLED_LIBS. Still needs some testing - not a terribly - useful setting for us, but the Linux distributions will probably - want it so we should shake it out and make it behave. + * [r51933] src/other/openNURBS/opennurbs_3dm.h: + remove trailing blanks/tabs, fix spellings -2011-12-16 04:43 starseeker +2012-08-10 20:49 carlmoore - * [r48015] misc/CMake/ThirdParty.cmake, - misc/CMake/ThirdParty_TCL.cmake: - Er, right, macros. Reset a conditional variable before using it - again... + * [r51932] src/other/openNURBS/opennurbs.h: + remove trailing blanks & tabs, and fix spellings -2011-12-16 03:19 starseeker +2012-08-10 20:47 carlmoore - * [r48014] misc/CMake/ThirdParty.cmake: - Correct a few gross errors in ThirdParty.cmake, but still not - clear how disabling opengl is messing with everything. + * [r51931] src/other/iwidgets/ChangeLog: + remove trailing blanks/tabs and fix spellings including changing + '-oritent' to '-orient' -2011-12-16 02:33 starseeker +2012-08-10 20:43 carlmoore - * [r48013] configure.cmake.sh: - Add a bunch more of the options to the configure script. Looking - more like it will be possible to simply autogenerate the verbose - part of this. Also points out there are a few toplevel options - that still need docs. + * [r51930] src/other/iwidgets/CHANGES: + remove trailing blanks/tabs & fix spelling including that of + 'disabledforeground' in comments -2011-12-16 02:23 starseeker +2012-08-10 20:37 carlmoore - * [r48012] INSTALL, src/other/CMakeLists.txt: - Copy/paste strikes again + * [r51929] src/other/incrTcl/ChangeLog: + remove trailing blanks/tabs; fix spellings (make sure I changed + no comments' meanings) -2011-12-16 02:13 starseeker +2012-08-10 20:33 carlmoore - * [r48011] CMakeLists.txt, HACKING, HACKING.cmake, INSTALL, - INSTALL.cmake, README, README.cmake, TODO.cmake: - Move the CMake versions of doc files into place. + * [r51928] src/other/hv3/combobox.tcl: + remove trailing blanks/tabs & change ie to i.e. & fix spelling -2011-12-16 02:07 starseeker +2012-08-10 20:30 carlmoore - * [r48010] doc/README.Windows: - Start reworking the Windows docs for CMake. + * [r51927] src/external/ProEngineer/proe-brl.c: + remove trailing blanks/tabs and fix spelling -2011-12-16 01:55 starseeker +2012-08-10 20:26 carlmoore - * [r48009] INSTALL.cmake, README.cmake, TODO, doc/README.AIX, - doc/README.BSD, doc/README.IRIX, doc/README.Linux, - doc/README.MacOSX, doc/README.Solaris, doc/README.VAX: - Slew of documentation updates. Not claiming final form yet, but - closer. + * [r51926] src/conv/intaval/write_brl.cpp: + remove trailing tab -2011-12-16 00:37 n_reed +2012-08-10 20:26 carlmoore - * [r48008] src/other/perplex/scanner.re, - src/other/perplex/scanner_template.c: - need to update input markers if input buffer is reallocated + * [r51925] doc/docbook/books/README: + remove trailing blanks/tabs -2011-12-16 00:09 n_reed +2012-08-10 20:24 carlmoore - * [r48007] src/other/perplex/scanner.re, - src/other/perplex/scanner_template.c: - Comparing disparate pointers is undefined. Don't do it. + * [r51924] src/util/pix-png.c: + remove trailing blanks/tabs -2011-12-16 00:08 starseeker +2012-08-10 20:23 carlmoore - * [r48006] CMakeLists.txt: - Need to do the 32/64 bit check earlier in the game, before we try - to find anything at all. + * [r51923] src/tclscripts/man_browser.tcl: + remove trailing blanks/tabs -2011-12-15 23:22 starseeker +2012-08-10 20:21 carlmoore - * [r48005] HACKING.cmake: - Sync HACKING.cmake with HACKING, make a few updates. + * [r51922] src/shapes/coil.c: + remove trailing blanks/tabs, and fix 1 spelling -2011-12-15 22:50 starseeker +2012-08-10 20:20 carlmoore - * [r48004] CMakeLists.txt: - Print the summary unless told not to - let a parent build turn it - off if it doesn't want it, but the default is on. + * [r51921] src/rt/worker.c: + remove trailing blanks/tabs and fix spelling -2011-12-15 21:36 brlcad +2012-08-10 20:19 carlmoore - * [r48003] src/adrt/isst_tcltk.c, src/conv/asc/asc2g.c, - src/conv/asc/g2asc.c, src/conv/dbupgrade.c, src/conv/dxf/dxf-g.c, - src/conv/enf-g.c, src/conv/fast4-g.c, src/conv/g-vrml.c, - src/conv/g-x3d.c, src/conv/g-xxx.c, src/conv/iges/iges.c, - src/conv/jack/g-jack.c, src/conv/nmg/g-nmg.c, - src/conv/nmg/nmg-rib.c, src/conv/obj-g.c, src/conv/off/g-off.c, - src/conv/proe-g.c, src/conv/shp/shp-g.c, src/conv/stl/g-stl.c, - src/conv/stl/stl-g.c, src/external/Cubit/g-sat.cpp, - src/external/ProEngineer/proe-brl.c, - src/external/Unigraphics/ug-g.c, src/libbn/poly.c, - src/libbn/tabdata.c, src/libbn/tcl.c, src/libbu/bitv.c, - src/libbu/bomb.c, src/libbu/booleanize.c, - src/libbu/brlcad_path.c, src/libbu/cmdhist.c, - src/libbu/fnmatch.c, src/libbu/log.c, src/libbu/mappedfile.c, - src/libbu/observer.c, src/libbu/parse.c, src/libbu/printb.c, - src/libbu/quote.c, src/libbu/tcl.c, src/libbu/vlb.c, - src/libbu/vls.c, src/libdm/dm-Null.c, src/libdm/dm-X.c, - src/libdm/dm-ogl.c, src/libdm/dm-plot.c, src/libdm/dm-ps.c, - src/libdm/dm-rtgl.c, src/libdm/dm-tk.c, src/libdm/dm-wgl.c, - src/libdm/dm_obj.c, src/libdm/scale.c, src/libdm/tcl.c, - src/liboptical/material.c, src/liboptical/photonmap.c, - src/liboptical/refract.c, src/liboptical/sh_billboard.c, - src/liboptical/sh_osl.cpp, src/liboptical/sh_prj.c, - src/liboptical/sh_stack.c, src/liboptical/sh_tcl.c, - src/liboptical/sh_text.c, src/librt/attributes.c, - src/librt/bool.c, src/librt/comb/comb.c, - src/librt/comb/db_comb.c, src/librt/constraint.c, - src/librt/db5_io.c, src/librt/db5_scan.c, src/librt/db5_types.c, - src/librt/db_anim.c, src/librt/db_inmem.c, src/librt/db_lookup.c, - src/librt/db_open.c, src/librt/db_tree.c, src/librt/namegen.c, - src/librt/pr.c, src/librt/prcomb.c, - src/librt/primitives/bot/bot.c, src/librt/primitives/dsp/dsp.c, - src/librt/primitives/ebm/ebm.c, src/librt/primitives/generic.c, - src/librt/primitives/hf/hf.c, - src/librt/primitives/metaball/metaball_tri.c, - src/librt/primitives/nmg/nmg_ck.c, - src/librt/primitives/nmg/nmg_fcut.c, - src/librt/primitives/nmg/nmg_index.c, - src/librt/primitives/nmg/nmg_tri.c, - src/librt/primitives/submodel/submodel.c, - src/librt/primitives/vol/vol.c, src/librt/regionfix.c, - src/librt/search.c, src/librt/tcl.c, src/librt/timer-nt.c, - src/librt/timer42.c, src/librt/timerunix.c, src/librt/tree.c, - src/libtclcad/cmdhist_obj.c, src/libtclcad/tclcadAutoPath.c, - src/libwdb/dynamic_geometry.c, src/libwdb/reg.c, - src/proc-db/lens.c, src/rt/do.c, src/rt/main.c, src/rt/reshoot.c, - src/rt/sh_tcl.c, src/rt/viewg3.c, src/rttherm/ssampview.c, - src/rttherm/viewtherm.c, src/tab/tabinterp.c, - src/util/bombardier.c, src/util/pixclump.c, src/util/pl-dm.c, - src/vdeck/vdeck.c: - conversion from bu_vls_init() to BU_VLS_INIT_ZERO initialization. - this performance tune avoids a function call and memory - allocation if the string is never used but, more importantly, - simplifies the code and makes it less error-prone in the - situations where we only conditionally initialized or initialized - much later in the logic. this commit covers approximately 45% of - the bu_vls_init() calls. woot: +366 -718. - -2011-12-15 21:16 brlcad - - * [r48002] src/librt/primitives/nmg/nmg_fuse.c: - looks like 'm'odel is set but not used, so eliminate it. presumes - nmg_find_model() has no side effects - -2011-12-15 21:05 starseeker - - * [r48001] CMakeLists.txt, INSTALL.cmake: - And now, the final piece of the configuration options - documentation. Automatically update the INSTALL file (currently - pulling INSTALL.cmake, but that will change later) with changes - in BRL-CAD options and aliases. In keeping with the principle of - not touching the source directory the original INSTALL file is - not altered - instead, a new file is generated (INSTALL.new) and - a warning is printed at the end of the configure process - notifying the developer of the changed file. It is then up to the - developer to review the new INSTALL.new and copy it manually into - the source tree. The major benefit of this method is the - autogeneration of the alias lists - the same lists used by the - logic actually defining the aliases in CMake are also used to - generate the docs. - -2011-12-15 20:16 brlcad - - * [r48000] src/librt/columnparse.c: - looks like struct attr_obj isn't used anywhere, so get rid of it. - convert to BU_VLS_INIT_ZERO - -2011-12-15 20:09 starseeker - - * [r47999] misc/CMake/ThirdParty.cmake, src/other/CMakeLists.txt: - add the required vars mechanism to THIRD_PARTY, update - src/other/CMakeLists.txt - -2011-12-15 19:57 starseeker - - * [r47998] misc/CMake/ThirdParty_TCL.cmake, - src/other/CMakeLists.txt: - Add documentation and aliases for Tcl/Tk packages. Most of the - way there (although the documentation blurbs undoubtedly need - work) - remaining issues are options that can be completely - conditionalized away (termlib, scl) - need to make sure the - options are called to generate the doc strings, may need to - extend the 'required vars' mechanism in used for Tcl/Tk packages - to THIRD_PARTY itself. + * [r51920] src/rt/view.c: + remove trailing blanks/tabs and fix spelling -2011-12-15 19:26 starseeker +2012-08-10 20:10 carlmoore - * [r47997] misc/CMake/ThirdParty_TCL.cmake, - src/other/CMakeLists.txt: - Make the 'don't build this tcl/tk extension because of X - mechanism a bit more general. Also, try to handle Togl a bit more - like the other Tcl/Tk packages. + * [r51919] src/rt/main.c: + remove trailing tab -2011-12-15 19:06 brlcad +2012-08-10 20:09 carlmoore - * [r47996] src/libbu/parse.c, src/liboptical/sh_billboard.c, - src/liboptical/sh_fire.c, src/liboptical/sh_gauss.c, - src/liboptical/sh_grass.c, src/liboptical/sh_noise.c, - src/liboptical/sh_prj.c, src/liboptical/sh_tcl.c, - src/liboptical/sh_toon.c, src/liboptical/sh_xxx.c, src/rt/do.c: - structparse refactoring to fix a couple long outstanding issues. - structparse tables chained together via %p no longer stash the - address in sp_count, instead using sp_offset just like everything - else. update all callers accordingly. also, update the %V bu_vls - handlers to not do their own thing merely because callers weren't - initializing their vls before calling a structparse function. - require init and make all callers initialize beforehand (e.g., - via BU_VLS_INIT_ZERO) + * [r51918] src/mged/tedit.c: + remove trailing blanks/tabs and fix spelling -2011-12-15 19:03 brlcad +2012-08-10 20:08 carlmoore - * [r47995] src/rt/viewedge.c: - always init bu_vls, especially if they're going to be used in a - structparse table. + * [r51917] src/mged/chgview.c: + remove trailing tab -2011-12-15 19:01 brlcad +2012-08-10 20:06 carlmoore - * [r47994] src/rt/reshoot.c: - always initialize vls members + * [r51916] src/libtclcad/tclcad_obj.c: + remove trailing blanks/tabs and fix spellings -2011-12-15 18:55 brlcad +2012-08-10 19:51 carlmoore - * [r47993] src/libwdb/constraint.c: - always init the vls + * [r51915] include/raytrace.h, + misc/CMake/BRLCAD_CPackOptions.cmake.in, src/libpc/pcVariable.h: + remove trailing blanks/tabs and fix spelling -2011-12-15 18:53 starseeker +2012-08-10 19:49 carlmoore - * [r47992] misc/CMake/FindPERPLEX.cmake: - Make a stab at macros for perplex targets + * [r51914] src/libpc/pcSolver.h: + remove trailing blanks/tabs -2011-12-15 18:51 brlcad +2012-08-10 19:48 carlmoore - * [r47991] src/librt/constraint.c: - BU_VLS_IS_INITIALIZED() is evil, avoid. don't need the - structparse table to be public too. + * [r51913] src/libpc/pcMathVM.h: + remove trailing blanks/tabs and fix spellings -2011-12-15 18:46 n_reed +2012-08-10 19:46 carlmoore - * [r47990] src/other/perplex/scanner_template.c: - need to provide default macro definition + * [r51912] src/libpc/pcMathVM.cpp: + remove trailing blanks/tabs, and fix a spelling -2011-12-15 17:26 r_weiss +2012-08-10 19:45 carlmoore - * [r47989] src/librt/primitives/nmg/nmg_mod.c: - Updated function 'nmg_shell_coplanar_face_merge' in file - 'nmg_mod.c'. Removed magic tests which were reducing performance. - Modified logic to improve performance. Did code cleanup. + * [r51911] src/libpc/pcConstraint.cpp: + remove trailing blanks/tabs -2011-12-15 17:22 r_weiss +2012-08-10 19:44 carlmoore - * [r47988] src/librt/primitives/nmg/nmg_bool.c: - Updated functions 'nmg_bool' and 'nmg_kill_anti_loops' in file - 'nmg_bool.c'. Removed magic checks reducing performance. Removed - the input parameter 'tol' from function 'nmg_kill_anti_loops' - since it was unused. Changed many variable to register variables - in function 'nmg_kill_anti_loops'. + * [r51910] src/liborle/rle.c: + remove trailing blanks/tabs and fix a spelling -2011-12-15 17:18 r_weiss +2012-08-10 19:42 carlmoore - * [r47987] src/librt/primitives/nmg/nmg_extrude.c: - Updated function 'nmg_find_vertex_in_lu' in file 'nmg_extrude.c'. - Removed magic checks reducing performance. Changed 'eu' to a - register variable. + * [r51909] src/tclscripts/rtwizard/rtwizard.tcl: + remove trailing blanks/tabs, and fix a spelling -2011-12-15 17:15 r_weiss +2012-08-10 19:41 carlmoore - * [r47986] src/librt/primitives/nmg/nmg_fuse.c: - Updated functions 'nmg_two_face_fuse', 'nmg_model_face_fuse' and - 'nmg_edge_g_fuse' in file 'nmg_fuse.c'. Removed magic checks - reducing performance. Also simplified/changed logic to improve - performance. + * [r51908] src/liboptical/sh_osl.cpp: + remove trailing blanks/tabs, and fix 1 spelling in a comment -2011-12-15 16:03 brlcad +2012-08-10 19:39 carlmoore - * [r47985] src/libbu/backtrace.c: - waiting for 60 seconds for a debugger to attach seems a little - too long. needs to be just long enough to run top/ps and gdb - --attach. reduce wait to 45 seconds. + * [r51907] src/liboptical/liboslrend.cpp: + remove trailing blanks/tabs -2011-12-15 15:49 brlcad +2012-08-10 19:37 carlmoore - * [r47984] include/bu.h: - update the bu_hook_* decls + * [r51906] src/libged/brep.c: + remove trailing blanks/tabs and fix 'doesnt' remarks -2011-12-15 15:23 starseeker +2012-08-10 19:34 carlmoore - * [r47983] include/bu.h: - Whoops, didn't mean to commit that - wait for Sean's solution. + * [r51905] src/libfb/if_remote.c: + remove trailing blanks/tabs -2011-12-15 15:00 starseeker +2012-08-10 19:33 carlmoore - * [r47982] include/bu.h, src/other/CMakeLists.txt: - Don't double-call THIRD_PARTY_TCL_PACKAGE - getting set to add - documentation to this macro + * [r51904] src/libbu/sscanf.c: + remove trailing blanks/tabs and fix spellings -2011-12-15 14:40 d_rossberg +2012-08-10 19:30 carlmoore - * [r47981] src/librt/primitives/nmg/nmg_rt_isect.c: - just a thought (probable a typing error) + * [r51903] src/fbed/fbed.c: + remove trailing blanks/tabs -2011-12-15 04:58 starseeker +2012-08-10 19:29 carlmoore - * [r47980] misc/CMake/ThirdParty_TCL.cmake, - src/other/CMakeLists.txt: - Have the THIRD_PARTY_TCL_PACKAGE macro handle the question of - what to do when Tk is required and disabled - we're going to want - the option defined regardless so we get the documentation, once - we turn those features on. Still need to rework the itcl/itk - logic so it doesn't have to double-call the macro. + * [r51902] src/adrt/load_g.c: + remove trailing blanks/tabs -2011-12-15 04:04 starseeker +2012-08-10 19:27 carlmoore - * [r47979] misc/CMake/BRLCAD_Options.cmake, - misc/CMake/ThirdParty.cmake, src/other/CMakeLists.txt: - Add documentation and aliases for the third party executables. - Last up, the tcl libs... + * [r51901] misc/CMake/ThirdParty_TCL.cmake: + remove trailing blanks/tabs, and fix 1 spelling -2011-12-15 03:52 starseeker +2012-08-10 19:26 carlmoore - * [r47978] doc/docbook/README, misc/CMake/msv.cmake.in: - Add an msv example for docbook validation with CMake (the - original recommended tool - it just uses java, so not available - by default...) also, correct the documentation configuration - example. + * [r51900] misc/CMake/NSIS.template.in: + remove trailing blanks/tabs, and fix spellings -2011-12-15 00:39 starseeker +2012-08-10 19:23 carlmoore - * [r47977] doc/docbook/README: - Call out necessary config options for rnv usage. + * [r51899] misc/CMake/FindYACC.cmake: + remove trailing blanks/tabs -2011-12-15 00:36 starseeker +2012-08-10 19:21 carlmoore - * [r47976] doc/docbook/CMakeLists.txt, doc/docbook/ElNode.pm, - doc/docbook/README, doc/docbook/validate.pl: - Perl is no longer needed in doc/docbook. Should test out xslt - tools other than xsltproc - if they work, provide example(s) for - those too, not just rnv validation tool. + * [r51898] misc/CMake/FindTCL.cmake: + remove trailing blanks/tabs, and fix 2 spellings -2011-12-15 00:28 starseeker +2012-08-10 19:19 carlmoore - * [r47975] doc/docbook/books/en/CMakeLists.txt, - misc/CMake/Docbook.cmake: - Oops - fix couple of issues that crept into docbook pdf logic. + * [r51897] misc/CMake/BRLCAD_Options.cmake: + remove trailing blanks/tabs -2011-12-15 00:12 starseeker +2012-08-10 19:18 carlmoore - * [r47974] misc/CMake/BRLCAD_Options.cmake, - misc/CMake/ThirdParty.cmake, src/other/CMakeLists.txt: - At long last, begin integrating the option documentation - mechanism into the 3rd party macro system. This handles only the - libraries at the moment, not the executables and tcl/tk packages. + * [r51896] sh/ws.sh: + remove trailing tabs -- the omitted 'f' STAYS omitted! -2011-12-14 23:29 brlcad +2012-08-10 19:13 carlmoore - * [r47973] src/libbu/parse.c: - prevent a segfault if we encounter an uninitialized - bu_structparse table entry. it implies there is an outright bug - in that table's entry definition/setup. bomb so we can get a - stacktrace to fix it. + * [r51895] sh/trimconfig.sh: + remove trailing blanks/tabs -2011-12-14 23:29 starseeker +2012-08-10 19:12 carlmoore - * [r47972] CMakeLists.txt, misc/CMake/BRLCAD_Options.cmake, - misc/CMake/ThirdParty.cmake: - Do some more option macro reworking. + * [r51894] sh/orbit.sh: + remove trailing tab -2011-12-14 23:16 brlcad +2012-08-10 19:11 carlmoore - * [r47971] src/rt/view.c: - fix a structparse crash in rt if you tried to set ambSlow=1. the - offset was off-by-one indexing the wrong parse entry so ambSlow's - field was never initialized (causing a NULL dereference). + * [r51893] m4/ax_boost_base.m4: + remove trailing blanks/tabs -2011-12-14 23:10 starseeker +2012-08-10 19:08 carlmoore - * [r47970] CMakeLists.txt, misc/CMake/BRLCAD_Options.cmake, - misc/CMake/BRLCAD_Util.cmake: - Split the option macros into their own file - BRLCAD_Util is too - long. Need to organize better. + * [r51892] misc/macosx/openUp.c: + remove trailing blanks -2011-12-14 23:09 brlcad +2012-08-10 15:07 bob1961 - * [r47969] src/libged/wdb_obj.c: - register a bu_log() hook with the wdb command object so we don't - get libbu blather about not finding a valid command. this fixes - obtuse misleading output from g_diff since it unfortunately uses - the wdb object interface to get/compare attributes. + * [r51891] src/tclscripts/archer/Archer.tcl: + Fixed a problem that occurs when moving pipe points in Archer. -2011-12-14 23:03 starseeker +2012-08-10 14:02 carlmoore - * [r47968] CMakeLists.txt, misc/CMake/CMakeFiles.cmake: - There's no particular reason the subbuild logic or distcheck - macros need to be BRL-CAD specific. + * [r51890] doc/docbook/fop.xconf.in: + remove trailing blanks -2011-12-14 22:59 starseeker +2012-08-10 14:00 carlmoore - * [r47967] CMakeLists.txt, doc/docbook/CMakeLists.txt, - misc/CMake/BRLCAD_Util.cmake, misc/CMake/CMakeFiles.cmake, - src/other/xmltools.dist: - Group distcheck file ignoring macros, fix a couple distcheck - items. + * [r51889] doc/docbook/README: + remove trailing blanks -2011-12-14 22:56 brlcad +2012-08-10 13:59 carlmoore - * [r47966] doc/deprecation.txt, src/libbu/bomb.c, src/libbu/hook.c, - src/libbu/log.c: - rename the hook function callbacks to be consistent with other - parts of libbu api using bu_hook_ as the function prefix. - minimally impacting change. + * [r51888] misc/CMake/tcltest.tcl.in: + remove trailing blank -2011-12-14 22:49 brlcad +2012-08-10 13:56 carlmoore - * [r47965] include/bu.h, src/libbu/bomb.c, src/libbu/globals.c, - src/mged/mged.c: - add a new bu_bomb_add_hook_list() function similar to - bu_log_add_hook_list() so that we can eliminate the - bu_bomb_hook_list from global API visibility/use. since mged is - sole use, presently no means to remove or inspect hooks is being - added. + * [r51887] misc/nsis/brlcad.nsi: + remove trailing blanks -2011-12-14 22:40 brlcad +2012-08-10 13:49 carlmoore - * [r47964] src/libbu/log.c: - simplify, consistency. rename the static variables sans bu_ - prefix since they're not public api. + * [r51886] sh/ws.sh: + remove 'f' because of the preceding comment -- undoing mistaken + change I made -2011-12-14 22:37 brlcad +2012-08-10 13:16 bob1961 - * [r47963] src/libbu/globals.c, src/libbu/log.c: - bu_log_hook_list doesn't need to be global as accessor functions - exist. move it into log.c and make it static. + * [r51885] src/tclscripts/archer/ArcherCore.tcl: + Fixed typo in ArcherCore::shootRay. -2011-12-14 22:20 brlcad +2012-08-10 12:24 bob1961 - * [r47962] doc/deprecation.txt, include/bu.h, src/libbu/parse.c, - src/libged/mater.c, src/libged/track.c, src/libged/wdb_track.c, - src/librt/comb/db_comb.c, src/libwdb/reg.c: - renaming bu_shader_to_tcl_list() to bu_shader_to_list() as the - function applies to any list in {} form, tcl or otherwise. part - of making libbu be entirely tcl-agnostic. + * [r51884] src/libged/edpipe.c: + ged_move_pipept was using the wrong argv item for the "bad pipe + segment index" error message. -2011-12-14 22:03 brlcad +2012-08-10 11:58 bob1961 - * [r47961] src/libbu/parse.c: - parse_tcl_list_length() is not a public function, rename to - parse_list_length() + * [r51883] src/libged/edpipe.c: + ged_move_pipept() now expects the passed in point to be in local + units. This fixes an error in Archer that shows up when trying to + move a pipe point in a database that has the units set to + something other than mm. -2011-12-14 22:01 brlcad +2012-08-10 09:19 phoenixyjll - * [r47960] src/libbu/cmd.c, src/libbu/observer.c: - these files no longer require tcl.h + * [r51882] src/librt/primitives/brep/brep.cpp: + Add trims, vertices, edges, etc. to the b-rep structure and check + its validity. -2011-12-14 21:59 brlcad +2012-08-09 22:04 carlmoore - * [r47959] src/libbu/hist.c, src/libbu/log.c, src/libbu/malloc.c, - src/libbu/parallel.c, src/libbu/tcl.c: - remove _ B U _ from comments too, update names + * [r51881] src/CMakeLists.txt: + remove trailing blanks -2011-12-14 21:55 brlcad +2012-08-09 22:02 carlmoore - * [r47958] src/libbu/bomb.c, src/libbu/brlcad_path.c, - src/libbu/hist.c, src/libbu/interrupt.c, src/libbu/lex.c, - src/libbu/log.c, src/libbu/malloc.c, src/libbu/parallel.c, - src/libbu/progname.c, src/libbu/semaphore.c, src/libbu/temp.c: - _bu_ prefix on statics was a bad idea. use filename/group as - prefix instead. in most cases, simplifies names and improves - readability. + * [r51880] include/rtgeom.h: + remove trailing blanks and fix spellings -2011-12-14 21:20 r_weiss +2012-08-09 21:58 carlmoore - * [r47957] src/librt/primitives/nmg/nmg_fuse.c: - Updated file 'nmg_fuse.c' function 'nmg_ptbl_vfuse' and added - function 'x_comp'. Improved the performance of vertex fusing - during nmg boolean operations. The new function 'x_comp' supports - the 'nmg_ptbl_vfuse' function. + * [r51879] src/burst/ui.c: + remove trailing blanks -2011-12-14 20:57 brlcad +2012-08-09 21:41 carlmoore - * [r47956] src/librt/primitives/nmg/nmg_rt_isect.c: - hitmiss is local data, so no sanity offered by nulling; but - rt.manifolds is misleading as the actual pointer is in rd.rd_m - that we want to free and unset. + * [r51878] regress/testlib.c: + remove trailing blanks -2011-12-14 20:53 brlcad +2012-08-09 21:05 carlmoore - * [r47955] src/librt/primitives/nmg/nmg.c: - rename 'new' variable to 'newdata' so it won't conflict with c++ - compilation. also null out our stp->st_specific after releasing - it for good measure. + * [r51877] sh/ws.sh: + supply f, missing letter of alphabet -2011-12-14 20:47 starseeker +2012-08-09 21:03 carlmoore - * [r47954] doc/ecosystem.dot: - graphviz, not docbook + * [r51876] sh/sgisnap.sh: + remove trailing blanks -2011-12-14 20:46 brlcad +2012-08-09 21:02 carlmoore - * [r47953] src/librt/primitives/nmg/nmg_rt_isect.c: - NULL for sanity + * [r51875] sh/news2tracker.sh: + remove trailing blanks -2011-12-14 20:45 r_weiss +2012-08-09 21:01 carlmoore - * [r47952] src/librt/primitives/nmg/nmg_index.c: - Update to file 'nmg_index.c' function 'nmg_merge_models' to - support the addition of the 'manifolds' pointer to the model - structure. When models are merged, any manifold lists will be - invalid so free them. + * [r51874] sh/make_deb.sh: + remove trailing blanks -2011-12-14 20:42 r_weiss +2012-08-09 20:59 carlmoore - * [r47951] src/librt/primitives/nmg/nmg_rt_isect.c: - Updated file 'nmg_rt_isect.c' function 'nmg_class_ray_vs_shell' - so that it will use an existing manifold list, if one is - available. Also to not free the manifold list if it was not - created in this function. + * [r51873] sh/distcheck_screen.sh: + remove trailing blanks and fix spelling -2011-12-14 20:37 r_weiss +2012-08-09 20:57 carlmoore - * [r47950] src/librt/primitives/nmg/nmg_bool.c: - Update to file 'nmg_bool.c' function 'nmg_bool'. Moved the - execution of function 'nmg_manifolds' (which creates the - manifolds list) from a lower level to 'nmg_bool' so it is only - executed once per boolean operation. Previously is was executed - for every ray that was shot during the classification of the nmg - objects. + * [r51872] regress/CMakeLists.txt: + remove trailing blanks -2011-12-14 20:32 r_weiss +2012-08-09 20:56 carlmoore - * [r47949] src/librt/primitives/nmg/nmg_mk.c: - Update to file 'nmg_mk.c' modifying functions 'nmg_mm' (nmg make - model) and 'nmg_km' (nmg kill model) to support the addition of - the 'manifolds' pointer to the model structure. + * [r51871] regress/nirt.sh: + removed trailing blanks -2011-12-14 20:26 r_weiss +2012-08-09 20:53 carlmoore - * [r47948] include/nmg.h: - Update to file 'nmg.h' to add a pointer to a manifolds list - within the nmg 'model' structure. This is necessary to globally - track the current manifolds in the nmg model. + * [r51870] regress/repository.sh: + fix spelling and remove trailing blanks -2011-12-14 19:29 n_reed +2012-08-09 20:50 carlmoore - * [r47947] src/other/perplex/scanner_template.c: - add macro at scanner entrance for user entrance code + * [r51869] src/conv/asc/g2asc.c: + fix spellings -2011-12-14 18:22 n_reed +2012-08-09 20:46 carlmoore - * [r47946] src/other/perplex/scanner_template.c: - sync scanner buffer routine changes to template + * [r51868] src/conv/bot_shell-vtk.c: + fix spelling -2011-12-14 18:19 n_reed +2012-08-09 20:43 carlmoore - * [r47945] src/other/perplex/scanner.re: - address compiler warnings + * [r51867] src/shapes/bolt.c: + fix spellings -2011-12-14 18:13 starseeker +2012-08-09 20:37 carlmoore - * [r47944] misc/CMake/Docbook.cmake: - Make the generation targets depend on the validation targets for - docbook, if they are enabled. + * [r51866] src/conv/asc/asc2g.c: + fix comment spellings -2011-12-14 18:05 n_reed +2012-08-09 20:30 carlmoore - * [r47943] src/other/perplex/scanner.re: - need to include null element when copying buffer + * [r51865] src/util/ap-pix.c: + fix spelling -2011-12-14 17:53 starseeker +2012-08-09 20:26 carlmoore - * [r47942] CMakeLists.txt: - Comment tweaks + * [r51864] src/anim/anim_turn.c: + fix spelling -2011-12-14 17:47 starseeker +2012-08-09 20:22 carlmoore - * [r47941] src/other/CMakeLists.txt: - CMake can be run multiple times... + * [r51863] src/anim/anim_track.c: + use small a from command name -2011-12-14 17:39 starseeker +2012-08-09 20:20 carlmoore - * [r47940] misc/CMake/Docbook.cmake, misc/CMake/FindXMLLINT.cmake, - misc/CMake/ThirdParty.cmake, src/other/CMakeLists.txt, - src/other/xmltools, src/other/xmltools.dist, src/other/xsltproc, - src/other/xsltproc.dist: - Make a stab at supporting multiple executables in one subdir with - THIRD_PARTY_EXECUTABLE. Move xsltproc dir to xmltools since it is - no longer just about xsltproc. Validation xml targets should now - properly depend on the xmllint target. + * [r51862] src/anim/anim_time.c: + fix spelling -2011-12-14 16:55 n_reed +2012-08-09 20:20 r_weiss - * [r47939] src/other/perplex/parser.y, - src/other/perplex/perplex.cpp, src/other/perplex/scanner.re: - make named definitions look like rules to simplify grammar and - avoid confusing parser + * [r51861] src/librt/primitives/nmg/nmg_mod.c: + Changed function "nmg_gluefaces" to perform edge fusing using + "nmg_edge_fuse". -2011-12-14 16:32 starseeker +2012-08-09 20:19 carlmoore - * [r47938] doc/docbook/CMakeLists.txt, doc/docbook/fop.cmake.in, - doc/docbook/xmllint.cmake.in, doc/docbook/xsltproc.cmake.in, - misc/CMake/Docbook.cmake, misc/CMake/fop.cmake.in, - misc/CMake/rnv.cmake.in, misc/CMake/xmllint.cmake.in, - misc/CMake/xsltproc.cmake.in: - Modularize the DocBook processing - can now specify custom tools, - so long as a misc/CMake/tool.cmake.in file is written to tell - CMake how to run the tool. Add rnv as a validation example. + * [r51860] src/anim/anim_sort.c: + fix a spelling -2011-12-14 15:34 starseeker +2012-08-09 20:18 carlmoore - * [r47937] doc/docbook/CMakeLists.txt, misc/CMake/Docbook.cmake: - Move the Docbook target macros to Docbook.cmake + * [r51859] src/anim/anim_script.c: + add missing 1st period in 'i.e.' comment -2011-12-14 15:19 starseeker +2012-08-09 20:12 carlmoore - * [r47936] doc/docbook/Makefile.am, - doc/docbook/articles/en/CMakeLists.txt, - doc/docbook/articles/en/Makefile.am, - doc/docbook/books/en/CMakeLists.txt, - doc/docbook/books/en/Makefile.am, - doc/docbook/lessons/en/CMakeLists.txt, - doc/docbook/lessons/en/Makefile.am, - doc/docbook/lessons/es/CMakeLists.txt, - doc/docbook/lessons/es/Makefile.am, - doc/docbook/presentations/en/CMakeLists.txt, - doc/docbook/presentations/en/Makefile.am, - doc/docbook/specifications/en/CMakeLists.txt, - doc/docbook/specifications/en/Makefile.am, - doc/docbook/system/man1/en/CMakeLists.txt, - doc/docbook/system/man1/en/Makefile.am, - doc/docbook/system/man3/en/CMakeLists.txt, - doc/docbook/system/man3/en/Makefile.am, - doc/docbook/system/man5/en/CMakeLists.txt, - doc/docbook/system/man5/en/Makefile.am, - doc/docbook/system/mann/en/CMakeLists.txt, - doc/docbook/system/mann/en/Makefile.am: - Docbook is off in autotools, so the Makefile.am files aren't - needed anymore. Scrub. + * [r51858] src/anim/anim_keyread.c: + add \n -2011-12-14 15:17 starseeker +2012-08-09 20:10 carlmoore - * [r47935] doc/docbook/CMakeLists.txt, - doc/docbook/DB_VALIDATE.cmake, doc/docbook/fop.cmake.in, - doc/docbook/xsltproc.cmake.in, misc/CMake/Docbook.cmake: - Reorganize Docbook build logic - try to keep command-specific - stuff in the command files. + * [r51857] src/anim/anim_hardtrack.c: + use small a to match command name -2011-12-14 14:44 starseeker +2012-08-09 20:08 carlmoore - * [r47934] - doc/docbook/books/en/BRL-CAD_Tutorial_Series-VolumeII.xml, - doc/docbook/books/en/BRL-CAD_Tutorial_Series-VolumeIII.xml: - Some tweaks to the book files - volume IV looks like a bit more - work... + * [r51856] src/anim/anim_fly.c: + fix spelling, remove trailing blanks, add \n -2011-12-14 14:39 starseeker +2012-08-09 20:06 r_weiss - * [r47933] - doc/docbook/lessons/en/mged01_creating_primitive_shapes.xml, - doc/docbook/lessons/en/mged02_learning_viewing_options.xml, - doc/docbook/lessons/en/mged03_using_insert_command.xml, - doc/docbook/lessons/en/mged11_refining_mug.xml: - Few tweaks to lesson files from xmllint testing... undoubtedly - more needed in the various docbook files. - -2011-12-14 14:37 starseeker - - * [r47932] doc/docbook/DB_VALIDATE.cmake, - doc/docbook/xmllint.cmake.in: - Don't use the rng schema with xmllint, per advice from the libxml - list - fortunately, we can also use a more standard schema. Also, - rather than defining the flags somewhere other than the 'command' - file, make it self contained - in principle, that should make - swapping in a different validator as simple as defining a - .cmake.in file for that command and setting a toplevel setting. - Need to experiment a little. - -2011-12-14 03:08 starseeker - - * [r47931] CMakeLists.txt, doc/docbook/BRLCAD_DB_VALIDATION.pm, - doc/docbook/BRLCAD_DOC.pm, doc/docbook/CMakeLists.txt, - doc/docbook/DBPATH.pm.in, doc/docbook/DB_VALIDATE.cmake, - doc/docbook/create-book-covers.pl, doc/docbook/create-index.pl, - doc/docbook/create-xml-catalogs.pl, doc/docbook/dummy.xml, - doc/docbook/find-db-files.pl, doc/docbook/make-svg.sh, - doc/docbook/read-db-xml.pl, doc/docbook/xmllint.cmake.in, - src/other/xsltproc.dist, src/other/xsltproc/CMakeLists.txt, - src/other/xsltproc/README, - src/other/xsltproc/libexslt/src/date.c, - src/other/xsltproc/libexslt/src/exslt.c, - src/other/xsltproc/libxml/CMakeLists.txt, - src/other/xsltproc/libxml/include/acconfig.h, - src/other/xsltproc/libxml/include/libxml.h, - src/other/xsltproc/libxml/include/libxml/HTMLparser.h, - src/other/xsltproc/libxml/include/libxml/parser.h, - src/other/xsltproc/libxml/include/libxml/xmlversion.h.in, - src/other/xsltproc/libxml/include/libxml/xmlwin32version.h.in, - src/other/xsltproc/libxml/include/libxml/xpath.h, - src/other/xsltproc/libxml/include/win32config.h, - src/other/xsltproc/libxml/include/wsockcompat.h, - src/other/xsltproc/libxml/src/HTMLparser.c, - src/other/xsltproc/libxml/src/HTMLtree.c, - src/other/xsltproc/libxml/src/encoding.c, - src/other/xsltproc/libxml/src/error.c, - src/other/xsltproc/libxml/src/parser.c, - src/other/xsltproc/libxml/src/relaxng.c, - src/other/xsltproc/libxml/src/valid.c, - src/other/xsltproc/libxml/src/xmlIO.c, - src/other/xsltproc/libxml/src/xmlmemory.c, - src/other/xsltproc/libxml/src/xmlschemas.c, - src/other/xsltproc/libxml/src/xmlschemastypes.c, - src/other/xsltproc/libxml/src/xpath.c, - src/other/xsltproc/libxml/src/xpointer.c, - src/other/xsltproc/libxml/xmlversion.h.in, - src/other/xsltproc/libxslt/CMakeLists.txt, - src/other/xsltproc/libxslt/config.h.in, - src/other/xsltproc/libxslt/include/libxslt/numbersInternals.h, - src/other/xsltproc/libxslt/include/libxslt/xsltInternals.h, - src/other/xsltproc/libxslt/include/libxslt/xsltlocale.h, - src/other/xsltproc/libxslt/src/extensions.c, - src/other/xsltproc/libxslt/src/functions.c, - src/other/xsltproc/libxslt/src/namespaces.c, - src/other/xsltproc/libxslt/src/numbers.c, - src/other/xsltproc/libxslt/src/pattern.c, - src/other/xsltproc/libxslt/src/preproc.c, - src/other/xsltproc/libxslt/src/templates.c, - src/other/xsltproc/libxslt/src/transform.c, - src/other/xsltproc/libxslt/src/variables.c, - src/other/xsltproc/libxslt/src/xslt.c, - src/other/xsltproc/libxslt/src/xsltlocale.c, - src/other/xsltproc/libxslt/src/xsltutils.c, - src/other/xsltproc/xmllint.c: - Make a stab at adding an xml validation step to the build. Looks - like xml/xslt upgrades are needed, and even then the results - are... a little confusing. - -2011-12-14 01:13 n_reed - - * [r47930] src/other/perplex/scanner.re: - cleanup of buffering routines - -2011-12-13 23:26 n_reed - - * [r47929] src/other/perplex/parser.y, - src/other/perplex/perplex.cpp, src/other/perplex/perplex.h, - src/other/perplex/scanner.re: - improvements to named definition matching and input buffering - -2011-12-13 21:46 r_weiss - - * [r47928] src/librt/primitives/nmg/nmg_info.c: - Updated function 'nmg_2edgeuse_g_coincident' in file - 'nmg_info.c'. Removed unnecessary tests to improve performance. - -2011-12-13 20:44 starseeker - - * [r47927] src/Makefile.am, src/remrt/Makefile.am: - Couple more icv tweaks - -2011-12-13 20:36 starseeker - - * [r47926] src/rt/Makefile.am: - Add ICV to rt Makefile.am - -2011-12-13 19:16 starseeker - - * [r47925] src/other/xsltproc.dist, src/other/xsltproc/README, - src/other/xsltproc/libexslt/Copyright, - src/other/xsltproc/libxml/Copyright, - src/other/xsltproc/libxslt/Copyright, - src/other/xsltproc/xsltproc.c: - Add the license information and a brief README to xsltproc - -2011-12-13 17:10 n_reed - - * [r47924] src/other/perplex/parser.y, - src/other/perplex/perplex.cpp, src/other/perplex/scanner.re: - change matching of named definitions to not conflict with - matching of condition changes - -2011-12-13 01:19 starseeker - - * [r47923] configure.ac, doc/Makefile.am, src/Makefile.am, - src/other/Makefile.am, src/tclscripts/mged/Makefile.am: - I *think* this turns off the Docbook building for Autotools, - which is no longer expected to be fully working... getting icv - errors when building rt, so can't so a full distcheck yet. + * [r51855] src/librt/primitives/nmg/nmg_fuse.c: + Updated function "nmg_edge_fuse" in file "nmg_fuse.c". Added + vertex fusing based on type of object. -2011-12-13 01:16 r_weiss +2012-08-09 20:05 carlmoore - * [r47922] src/librt/primitives/nmg/nmg_inter.c: - Updated functions 'nmg_crackshells' and - 'nmg_isect_two_generic_faces'. Added function - 'nmg_no_isect_fu_pl' which compares a face to a plane and - determines if there is no intersection. + * [r51854] src/anim/anim_cascade.c: + added \n to an error message -2011-12-13 00:26 n_reed +2012-08-09 20:02 carlmoore - * [r47921] src/other/perplex/parser.y, - src/other/perplex/perplex.cpp, src/other/perplex/perplex.h, - src/other/perplex/scanner.re: - should only look for named definitions outside of rule actions + * [r51853] src/irprep/all_sf.c: + use capital U in Usage, and fix a spelling -2011-12-13 00:01 starseeker +2012-08-09 19:59 carlmoore - * [r47920] misc/Makefile.am: - Hmm, another Makefile.am list out of date... + * [r51852] src/conv/3dm/3dm-g.cpp: + fix spelling -2011-12-12 23:51 starseeker +2012-08-09 18:45 r_weiss - * [r47919] src/libbu/Makefile.am: - uce-dirent.h is back in libbu - let autotools know about it. + * [r51851] include/raytrace.h, src/librt/primitives/nmg/nmg_info.c: + Added new function "nmg_find_shell" which finds the shell that an + NMG object is within. Changes were made to files "nmg_infoc." and + "raytrace.h". -2011-12-12 23:14 starseeker +2012-08-09 18:39 carlmoore - * [r47918] src/other/Makefile.am: - Add xsltproc dir and dist file to Makefile.am EXTRA_DIST + * [r51850] include/pstdint.h: + remove trailing blanks -2011-12-12 21:49 r_weiss +2012-08-09 18:38 carlmoore - * [r47917] src/librt/primitives/nmg/nmg_info.c: - Updated function 'nmg_2edgeuse_g_coincident' in file - 'nmg_info.c'. Removed an unnecessary parallel test and excessive - magic tests. These changes were to improve performance. + * [r51849] include/pkg.h: + remove trailing blank -2011-12-12 21:13 n_reed +2012-08-09 18:37 carlmoore - * [r47916] src/other/perplex/parser.y, - src/other/perplex/scanner.re: - put support for re2c-style named definitions back in + * [r51848] include/pc.h: + remove trailing blanks -2011-12-12 20:52 n_reed +2012-08-09 18:35 carlmoore - * [r47915] src/other/perplex/scanner.re: - fix pattern for matching condition list + * [r51847] include/bn.h: + remove trailing blanks and fix spellings -2011-12-12 20:51 r_weiss +2012-08-09 18:32 r_weiss - * [r47914] src/librt/primitives/nmg/nmg_inter.c: - Update to function 'nmg_isect_eu_eu' in file 'nmg_inter.c'. Added - bounding box testing, removed excessive magic checks, fixed some - float zero compares. The bounding box and magic check changes - were to improve performance. + * [r51846] src/librt/primitives/nmg/nmg_fuse.c: + Update to function "nmg_edge_g_fuse" within file "nmg_fuse.c". + The change was to correct a problem with the sort ordering and to + improve performance. -2011-12-12 20:31 r_weiss +2012-08-09 18:31 carlmoore - * [r47913] src/librt/primitives/nmg/nmg_fuse.c: - Updated function 'nmg_model_break_e_on_v' in file 'nmg_fuse.c'. - Added bounding box testing to improve performance. + * [r51845] include/db.h: + changed a word to what is now 'Superquadratic' in a comment -2011-12-12 20:12 r_weiss +2012-08-09 18:27 carlmoore - * [r47912] src/libbn/plane.c: - Update to the libbn function 'bn_pt3_pt3_equal' in file - 'plane.c'. This change was to improve performance. + * [r51844] misc/CMake/BRLCAD_Summary.cmake: + remove trailing blanks -2011-12-12 20:01 n_reed +2012-08-09 17:52 carlmoore - * [r47911] src/other/perplex/parser.y, - src/other/perplex/perplex.cpp, src/other/perplex/perplex.h, - src/other/perplex/scanner.re: - put support for condition scopes back in + * [r51843] misc/CMake/BRLCAD_Options.cmake: + remove trailing blank, and (in a comment) remove dup. 'we' and + add comma -2011-12-12 17:46 abhi2011 +2012-08-09 17:50 carlmoore - * [r47910] src/libged/simulate/simrt.c: - Corrected crash during air gap calculations due to a wrong index - being used. + * [r51842] misc/CMake/BRLCAD_CompilerFlags.cmake: + remove trailing blank -2011-12-12 16:29 n_reed +2012-08-09 15:45 carlmoore - * [r47909] src/other/perplex/parser.y: - fix typo causing segfault when using empty condition + * [r51841] INSTALL: + fix spellings and remove trailing blanks -2011-12-12 16:24 n_reed +2012-08-09 15:42 carlmoore - * [r47908] src/other/perplex/perplex.cpp: - reformat error string + * [r51840] misc/CMake/BRLCAD_CheckFunctions.cmake: + remove trailing blank -2011-12-12 15:18 abhi2011 +2012-08-09 09:28 phoenixyjll - * [r47907] src/mged/setup.c: - Added a line to create the Tcl command for wdb_open. + * [r51839] src/libged/brep.c, src/librt/primitives/brep/brep.cpp: + Add an option to the brep command in MGED to test boolean + evaluations (currently only "union"). The evaluations are still + WIP. -2011-12-12 13:19 d_rossberg +2012-08-09 02:13 cprecup - * [r47906] src/other/xsltproc/libexslt/src/exslt.c, - src/other/xsltproc/libxml/include/libxml.h, - src/other/xsltproc/xsltproc.c: - MSVC-build: the _vsnprintf declaring stdio.h has to be included - before the config.h whith its vsnprintf define + * [r51838] src/libged/dag.cpp, + src/tclscripts/graph/GraphEditor.tcl: + Added *decorate_object* routine that adds an entry into a hash + table depending on the object's type + (primitive/combination/something else). Used this in the View + part - differently coloured nodes correspond to different types. + Added text with the object's name within each rectangle of a + node. -2011-12-10 00:32 n_reed +2012-08-08 20:10 carlmoore - * [r47905] src/other/perplex/parser.y: - generate default code for rules that specify none + * [r51837] misc/CMake/BRLCAD_CMakeFiles.cmake: + remove trailing blanks/tabs and fix a spelling -2011-12-10 00:14 n_reed +2012-08-08 20:06 carlmoore - * [r47904] src/other/perplex/parser.y, - src/other/perplex/perplex.cpp, src/other/perplex/perplex.h, - src/other/perplex/scanner.re: - redesigning parser to address readability and robustness + * [r51836] misc/libtool.m4: + fixed a spelling -2011-12-09 23:30 starseeker +2012-08-08 20:04 carlmoore - * [r47903] misc/CMake/ThirdParty.cmake: - Don't cache the build target path. + * [r51835] misc/astyle.opt: + removed trailing blank -2011-12-09 23:05 starseeker +2012-08-08 19:25 carlmoore - * [r47902] CMakeLists.txt: - add spacer + * [r51834] misc/flawfinder: + remove trailing blanks, and fix spelling assuming 'poertable' + should be 'portable' -2011-12-09 22:13 starseeker +2012-08-08 19:21 carlmoore - * [r47901] src/util/lowp.c: - Add bio.h to lowp.c + * [r51833] misc/doxygen_structure: + remove trailing blank -2011-12-09 21:35 starseeker +2012-08-08 19:13 carlmoore - * [r47900] src/other/re2c/CMakeLists.txt: - make sure re2c depends on the lemon build target, if there is - one. + * [r51832] misc/NIST_DENSITIES: + remove trailing blanks/tabs -2011-12-09 21:25 brlcad +2012-08-08 19:11 carlmoore - * [r47899] src/libbu/tcl.c: - don't print a message if we can't find the object in a list, let - the error return take over + * [r51831] misc/Doxyfile.in: + fix 2 spellings, and remove trailing blanks/tabs -2011-12-09 21:22 starseeker +2012-08-08 19:07 carlmoore - * [r47898] doc/docbook/CMakeLists.txt: - Make sure we've got the cmake.in files listed + * [r51830] misc/Doxyfile: + remove trailing blanks/tabs, and fix a spelling -2011-12-09 21:18 brlcad +2012-08-08 17:15 r_weiss - * [r47897] src/libbu/tcl.c: - Tcl_SplitList() returns TCL_OK/TCL_ERROR, not BRLCAD_OK... not - equivalent + * [r51829] src/librt/primitives/nmg/nmg_fuse.c: + Updated function "nmg_edge_g_fuse" in file "nmg_fuse.c". Made + some changes to help performance and improve readability. -2011-12-09 21:07 starseeker +2012-08-08 16:29 carlmoore - * [r47896] src/libdm/CMakeLists.txt, src/libdm/dm-generic.c, - src/libdm/dm_obj.c, src/libdm/focus.c, src/libdm/query.c, - src/libtclcad/tclcadAutoPath.c, src/libtclcad/tclcad_obj.c, - src/mged/CMakeLists.txt, src/mged/attach.c, - src/mged/dm-generic.c, src/mged/mged.c, src/mged/update.c, - src/other/CMakeLists.txt: - Tweaks to get things building with the (admittedly rare) case of - disabling Tk. + * [r51828] include/bu.h: + fix spellings; remove trailing blanks/tabs; change 'ie' to 'i.e.' -2011-12-09 21:05 starseeker +2012-08-08 16:11 carlmoore - * [r47895] CMakeLists.txt, doc/docbook/CMakeLists.txt, - doc/docbook/presentations/en/CMakeLists.txt: - Add some more options to the Docbook building, and improve - reporting for Itcl/Itk building. + * [r51827] doc/tube.txt: + changed 'Eg' to 'E.g.' -2011-12-09 20:58 brlcad +2012-08-08 16:09 brlcad - * [r47894] src/libtclcad/cmdhist_obj.c: - capture the command set by libbu as the curr/prev/next command - and feed it to Tcl_AppendResult so archer can do something with - the strings. better than having the command sent to stderr... + * [r51826] doc/rounding.txt: + undoubtedly meant the reciprocal division method -2011-12-09 20:56 brlcad +2012-08-08 16:07 carlmoore - * [r47893] src/libbu/cmdhist.c: - printing the commands via bu_log is kinda pointless since they - need to be passed back as values. rely on the fact that they're - set in chop->cho_curr, so no need to print them (except for the - 'history' case + * [r51825] doc/rounding.txt: + fix spellings but could not quite figure out 'repirocal' -2011-12-09 19:10 starseeker +2012-08-08 16:05 carlmoore - * [r47892] misc/CMake/ThirdParty.cmake: - (hopefully) fix some third_party_executable issues + * [r51824] doc/regions.txt: + fix spelling; also removed duplicate 'list definition.' -2011-12-09 19:07 bob1961 +2012-08-08 16:02 carlmoore - * [r47891] src/bwish/main.c: - Call Cho_Init(). + * [r51823] doc/plot3.5: + fix a spelling -2011-12-09 19:07 bob1961 +2012-08-08 15:54 carlmoore - * [r47890] include/tclcad.h: - Declare Cho_Init(). + * [r51822] doc/pkg.tr: + fix spellings -2011-12-09 19:05 bob1961 +2012-08-08 15:52 carlmoore - * [r47889] src/libtclcad/tclcad_obj.c: - Remove temporary code. + * [r51821] doc/pad_file.xml.in: + fix spelling of 'disseminate' -2011-12-09 17:24 bob1961 +2012-08-08 15:50 carlmoore - * [r47888] src/librt/wdb.c: - Needs \!dp_curr instead of dp_curr. + * [r51820] doc/old-mged.tr: + fix spellings -2011-12-09 04:13 starseeker +2012-08-08 15:49 carlmoore - * [r47887] src/other/openNURBS/CMakeLists.txt: - Do as the parent does when building static/shared libraries, - opennurbs + * [r51819] doc/ecosystem.dot: + oops, did not remove trailint tabs -- now done! -2011-12-09 02:01 starseeker +2012-08-08 15:44 carlmoore - * [r47886] CMakeLists.txt: - Slightly alter the pdf options logic, to avoid unexpected - behavior. By default, when enabling PDF building, ALL pdfs are - now built. The PDF_MAN option still appears after PDF is enabled, - but it defaults to on rather than off to avoid surprises - avoids - the 'why didn't the man page pdfs get built even though I enabled - pdf?' question. + * [r51818] doc/history.txt: + fix spellings -2011-12-09 01:47 starseeker +2012-08-08 15:40 carlmoore - * [r47885] misc/CMake/ThirdParty.cmake: - whoops - mark as advanced + * [r51817] doc/flex_to_re2c.txt: + fix a spelling -2011-12-09 01:28 starseeker +2012-08-08 15:38 carlmoore - * [r47884] src/archer/archer: - Tweak wording + * [r51816] doc/deprecation.txt: + remove trailing/blanks/tabs and fix spellings -2011-12-09 01:16 starseeker +2012-08-08 15:35 carlmoore - * [r47883] src/libged/dg_obj.c: - argc is int and i is size_t... + * [r51815] doc/cvs.txt: + fix spellings -2011-12-09 00:50 starseeker +2012-08-08 15:21 carlmoore - * [r47882] doc/docbook/CMakeLists.txt, - doc/docbook/books/en/CMakeLists.txt, misc/CMake/FindLEMON.cmake, - misc/CMake/FindRE2C.cmake, misc/CMake/ThirdParty.cmake, - src/other/re2c/CMake/FindLEMON.cmake, - src/other/step/CMake/FindLEMON.cmake: - Make another stab at reworking the third party executable logic - - idea is to support specifying the full path to an executable from - the command line and have 'the right thing' happen. + * [r51814] doc/brep.txt: + fix spelling -2011-12-08 23:18 brlcad +2012-08-08 15:19 carlmoore - * [r47881] src/libdm/dm-rtgl.c: - crash reported by Peter Machon ( muhala ) via sf bu report - 3454338 that detected a bad magic failure on segs from rtgl's hit - callback (finding a bu_list instead of a seg). it's not used so - just don't perform that check. + * [r51813] doc/bison_to_lemon.txt: + remove trailing blank and fix spelling -2011-12-08 22:56 brlcad +2012-08-08 15:13 carlmoore - * [r47880] doc/deprecation.txt, include/cmd.h, src/bwish/cmd.c, - src/libbu/observer.c, src/libged/wdb_obj.c, - src/librt/primitives/nmg/nmg_mk.c, src/libtclcad/cmdhist_obj.c: - prefix the cmd.h defines with BU_ since they are part of the - libbu api + * [r51812] doc/TODO.BREP: + remove trailing blanks/tabs, added ending newline, fixe spelling -2011-12-08 22:27 starseeker +2012-08-08 15:09 carlmoore - * [r47879] src/other/perplex/CMakeLists.txt: - Don't assume the math library - bad assumption on Windows + * [r51811] doc/README.Windows: + add a missing space -2011-12-08 22:22 brlcad +2012-08-08 15:08 carlmoore - * [r47878] include/bu.h, src/libbu/CMakeLists.txt, - src/libbu/Makefile.am, src/libbu/libbu.3: - remove the obsolete libbu.3 manual page that has fallen - significantly out of sync with the library API. migrate the - (still useful) documentation bits into the bu.h header as doxygen - comments for future doc purposing. + * [r51810] doc/README.VAX: + remove trailing blanks/tabs, fix spelling, add a period -2011-12-08 22:03 bob1961 +2012-08-08 15:05 carlmoore - * [r47877] src/libbu/tcl.c: - Changed free() back to Tcl_Free(). + * [r51809] doc/README.Solaris: + remove trailing blanks/tabs -2011-12-08 22:00 starseeker +2012-08-08 15:04 carlmoore - * [r47876] src/libged/dg_obj.c: - Fix some stuff in ifdef win32 code related to the bu tcl changes + * [r51808] doc/README.MacOSX: + remove trailing blanks/tabs -2011-12-08 21:41 starseeker +2012-08-08 15:03 carlmoore - * [r47875] doc/docbook/CMakeLists.txt, - doc/docbook/books/en/CMakeLists.txt, doc/docbook/fop.cmake.in, - doc/docbook/resources/README, doc/docbook/xsltproc.cmake.in: - Take the 'write a cmake script file' to its logical conclusion - and have a template that is configured for each target. - Simplifies the 'in CMakeLists.txt' logic and avoids duplication, - and if we need more tweakage on running xsltproc or fop it's a - lot simpler. + * [r51807] doc/README.Linux: + remove trailing blanks/tabs -2011-12-08 21:25 brlcad +2012-08-08 15:02 carlmoore - * [r47874] doc/deprecation.txt, include/bu.h: - replacement of BU_GETSTRUCT/UNION/TYPE with BU_GET are all - minimally impacting, so go ahead and remove them now + * [r51806] doc/README.IRIX: + remove trailing blanks/tabs -2011-12-08 21:24 brlcad +2012-08-08 15:00 carlmoore - * [r47873] src/remrt/remrt.c: - BU_GETSTRUCT->BU_GET + * [r51805] doc/README.BSD: + remove trailing blanks -2011-12-08 21:20 starseeker +2012-08-08 14:58 carlmoore - * [r47872] src/other/xsltproc/libxml/CMakeLists.txt, - src/other/xsltproc/libxslt/CMakeLists.txt: - Modules aren't behaving well on Windows for some reason, and we - don't seem to need them anyway - disable + * [r51804] doc/README.AIX: + fix a misspelled word in text -2011-12-08 20:40 r_weiss +2012-08-08 09:41 phoenixyjll - * [r47871] src/librt/primitives/nmg/nmg_bool.c: - Updated function 'nmg_bool' in file 'nmg_bool.c'. Removed - unnecessary checking for dangling faces. This will improve the - speed of nmg boolean operations. + * [r51803] src/librt/primitives/brep/brep.cpp: + Partitioning a surface. Modifications for special cases and tests + are needed. -2011-12-08 20:02 starseeker +2012-08-08 05:36 phoenixyjll - * [r47870] - doc/docbook/resources/brlcad/brlcad-man-stylesheet.xsl.in: - fully qualify center-table-print path + * [r51802] src/libnurbs/opennurbs_ext.cpp: + int was used by mistake. Use double instead. -2011-12-08 19:50 r_weiss +2012-08-08 04:28 starseeker - * [r47869] src/librt/primitives/nmg/nmg_inter.c: - Update to function 'nmg_crackshells' in file 'nmg_inter.c' to - quiet compiler warnings of signed/unsighed compares. + * [r51801] INSTALL: + Sync INSTALL -2011-12-08 19:35 starseeker +2012-08-07 22:03 carlmoore - * [r47868] - doc/docbook/resources/brlcad/brlcad-man-stylesheet.xsl.in, - doc/docbook/resources/brlcad/brlcad-xhtml-stylesheet.xsl.in, - doc/docbook/resources/brlcad/tutorial-template.xsl.in: - go from file:// to file:/// in xsl files, per suggestion from - xml/xslt devs - unix doesn't seem to care, but on Windows it - appears to matter... reindent as well + * [r51800] doc/BRL-CAD.bib: + remove trailing blanks/tabs and fix spellings -2011-12-08 19:29 brlcad +2012-08-07 21:27 carlmoore - * [r47867] src/libgcv/wfobj/obj_parser.cpp, - src/librt/primitives/bot/g_bot_include.c: - last one, only a couple BU_GETTYPE() callers + * [r51799] bench/benchmark.1: + fix a misspelled word -2011-12-08 19:22 brlcad +2012-08-07 21:00 r_weiss - * [r47866] include/raytrace.h, src/conv/euclid/g-euclid.c, - src/conv/euclid/g-euclid1.c, src/conv/g-acad.c, src/conv/g-nff.c, - src/conv/g-obj.c, src/conv/g-vrml.c, src/conv/g-x3d.c, - src/conv/g-xxx_facets.c, src/conv/iges/g-iges.c, - src/conv/iges/readtree.c, src/conv/jack/g-jack.c, - src/conv/nmg/g-nmg.c, src/conv/off/g-off.c, - src/conv/tankill/g-tankill.c, src/libgcv/region_end.c, - src/libged/bev.c, src/libged/bigE.c, src/libged/comb_std.c, - src/libged/combmem.c, src/libged/facetize.c, - src/libged/put_comb.c, src/libged/red.c, src/libged/track.c, - src/libged/wdb_bigE.c, src/libged/wdb_comb_std.c, - src/libged/wdb_obj.c, src/libged/wdb_track.c, src/librt/cut.c, - src/libwdb/dynamic_geometry.c, src/libwdb/reg.c, - src/mged/animedit.c, src/mged/dodraw.c, src/vdeck/vdeck.c: - convert instances of the ol' BU_GETUNION() macro over to the new - BU_GET() macro. callers now have to specify the full type which - should help reduce obfuscation for new devs. - -2011-12-08 19:11 brlcad - - * [r47865] doc/deprecation.txt, include/bu.h, include/nmg.h, - include/nurb.h, include/solid.h, src/adrt/load_g.c, - src/conv/asc/asc2g.c, src/conv/asc/g2asc.c, src/conv/dxf/dxf-g.c, - src/conv/fast4-g.c, src/conv/iges/convtree.c, - src/conv/nastran-g.c, src/libbu/avs.c, src/libbu/hook.c, - src/libbu/list.c, src/libbu/mappedfile.c, src/libbu/observer.c, - src/libbu/temp.c, src/libbu/units.c, src/libdm/dm-X.c, - src/libdm/dm-ogl.c, src/libdm/dm-plot.c, src/libdm/dm-ps.c, - src/libdm/dm-rtgl.c, src/libdm/dm-tk.c, src/libdm/dm-wgl.c, - src/libdm/dm_obj.c, src/libfb/fb_obj.c, - src/libgcv/wfobj/re2c_utils.c, src/libgcv/wfobj/re2c_utils.h, - src/libgcv/wfobj/tri_face.c, src/libged/arb.c, src/libged/bigE.c, - src/libged/bot_dump.c, src/libged/bot_merge.c, src/libged/brep.c, - src/libged/color.c, src/libged/comb.c, src/libged/comb_std.c, - src/libged/copymat.c, src/libged/dg_obj.c, src/libged/draw.c, - src/libged/edit.c, src/libged/edpipe.c, src/libged/ged.c, - src/libged/get_obj_bounds.c, src/libged/importFg4Section.c, - src/libged/make.c, src/libged/make_pnts.c, src/libged/nirt.c, - src/libged/nmg_simplify.c, src/libged/push.c, - src/libged/put_comb.c, src/libged/red.c, src/libged/rmap.c, - src/libged/rt.c, src/libged/rtcheck.c, src/libged/search.c, - src/libged/simulate/simrt.c, src/libged/track.c, - src/libged/typein.c, src/libged/vdraw.c, src/libged/view_obj.c, - src/libged/wdb_bigE.c, src/libged/wdb_comb_std.c, - src/libged/wdb_importFg4Section.c, src/libged/wdb_nirt.c, - src/libged/wdb_obj.c, src/libged/wdb_track.c, - src/libged/wdb_vdraw.c, src/libged/which.c, - src/libmultispectral/sh_temp.c, src/liboptical/photonmap.c, - src/liboptical/sh_air.c, src/liboptical/sh_billboard.c, - src/liboptical/sh_brdf.c, src/liboptical/sh_camo.c, - src/liboptical/sh_cloud.c, src/liboptical/sh_cook.c, - src/liboptical/sh_fbm.c, src/liboptical/sh_fire.c, - src/liboptical/sh_flat.c, src/liboptical/sh_gauss.c, - src/liboptical/sh_grass.c, src/liboptical/sh_light.c, - src/liboptical/sh_noise.c, src/liboptical/sh_osl.cpp, - src/liboptical/sh_plastic.c, src/liboptical/sh_points.c, - src/liboptical/sh_prj.c, src/liboptical/sh_rtrans.c, - src/liboptical/sh_scloud.c, src/liboptical/sh_spm.c, - src/liboptical/sh_stack.c, src/liboptical/sh_stxt.c, - src/liboptical/sh_tcl.c, src/liboptical/sh_text.c, - src/liboptical/sh_toon.c, src/liboptical/sh_toyota.c, - src/liboptical/sh_treetherm.c, src/liboptical/sh_wood.c, - src/liboptical/sh_xxx.c, src/libpc/pc_main.c, src/librt/bbox.c, - src/librt/binunif/binunif.c, src/librt/bundle.c, - src/librt/columnparse.c, src/librt/comb/comb.c, - src/librt/comb/db_comb.c, src/librt/db_anim.c, - src/librt/db_inmem.c, src/librt/db_open.c, src/librt/db_tree.c, - src/librt/mater.c, src/librt/namegen.c, src/librt/prep.c, - src/librt/primitives/bot/bot.c, src/librt/primitives/bot/btg.c, - src/librt/primitives/bot/g_bot_include.c, - src/librt/primitives/bspline/bspline.cpp, - src/librt/primitives/cline/cline.c, - src/librt/primitives/dsp/dsp.c, src/librt/primitives/ebm/ebm.c, - src/librt/primitives/ehy/ehy.c, src/librt/primitives/ell/ell.c, - src/librt/primitives/epa/epa.c, src/librt/primitives/eto/eto.c, - src/librt/primitives/extrude/extrude.c, - src/librt/primitives/grip/grip.c, - src/librt/primitives/half/half.c, src/librt/primitives/hf/hf.c, - src/librt/primitives/hyp/hyp.c, - src/librt/primitives/metaball/metaball.c, - src/librt/primitives/nmg/nmg.c, - src/librt/primitives/nmg/nmg_fuse.c, - src/librt/primitives/nmg/nmg_mk.c, - src/librt/primitives/nmg/nmg_tri.c, - src/librt/primitives/part/part.c, - src/librt/primitives/pipe/pipe.c, - src/librt/primitives/pnts/pnts.c, - src/librt/primitives/poly/poly.c, src/librt/primitives/rec/rec.c, - src/librt/primitives/revolve/revolve.c, - src/librt/primitives/rhc/rhc.c, src/librt/primitives/rpc/rpc.c, - src/librt/primitives/sph/sph.c, - src/librt/primitives/submodel/submodel.c, - src/librt/primitives/superell/superell.c, - src/librt/primitives/tgc/tgc.c, src/librt/primitives/tor/tor.c, - src/librt/primitives/vol/vol.c, src/librt/search.c, - src/librt/shoot.c, src/librt/tol.c, src/librt/tree.c, - src/librt/vlist.c, src/librt/vshoot.c, src/librt/wdb.c, - src/libtclcad/cmdhist_obj.c, src/libtclcad/tclcad_obj.c, - src/libwdb/arbn.c, src/libwdb/ars.c, src/libwdb/bot.c, - src/libwdb/brep.cpp, src/libwdb/cline.c, src/libwdb/constraint.c, - src/libwdb/dsp.c, src/libwdb/dynamic_geometry.c, - src/libwdb/ebm.c, src/libwdb/extrude.c, src/libwdb/nurb.c, - src/libwdb/pipe.c, src/libwdb/reg.c, src/libwdb/submodel.c, - src/libwdb/vol.c, src/libwdb/wdb.c, src/mged/animedit.c, - src/mged/attach.c, src/mged/chgview.c, src/mged/edpipe.c, - src/mged/mged.c, src/mged/setup.c, src/mged/share.c, - src/mged/track.c, src/mged/vrlink.c, src/proc-db/menger.c, - src/proc-db/metaball.c, src/proc-db/wavy.c, src/remrt/ihost.c, - src/remrt/rtsrv.c, src/rt/viewarea.c, src/util/bombardier.c, - src/util/pl-dm.c, src/vdeck/vdeck.c: - convert instances of the ol' BU_GETSTRUCT() macro over to the new - BU_GET() macro. callers now have to specify the full type (gasp, - have to type struct .. which they still had to type with - bu_getSTRUCT...) which should help reduce obfuscation for new - devs (and reduces 3 API macros to 1). - -2011-12-08 18:53 r_weiss - - * [r47864] src/librt/primitives/nmg/nmg_inter.c: - Update to function 'nmg_crackshells' to be consistent with macro - changes. - -2011-12-08 18:14 r_weiss - - * [r47863] src/librt/primitives/nmg/nmg_inter.c: - Cleanup of function 'nmg_crackshells' in file 'nmg_inter.c'. - -2011-12-08 16:38 starseeker - - * [r47862] - doc/docbook/resources/brlcad/book-covers-fo-template.xsl, - doc/docbook/resources/brlcad/brlcad-fo-stylesheet-covers-v1.xsl, - doc/docbook/resources/brlcad/brlcad-fo-stylesheet-covers-v2.xsl, - doc/docbook/resources/brlcad/brlcad-fo-stylesheet-covers-v3.xsl, - doc/docbook/resources/brlcad/brlcad-fo-stylesheet-covers-v4.xsl, - doc/docbook/resources/brlcad/brlcad-fo-stylesheet.xsl, - doc/docbook/resources/brlcad/brlcad-man-stylesheet.xsl, - doc/docbook/resources/brlcad/brlcad-xhtml-stylesheet.xsl, - doc/docbook/resources/brlcad/brlcad-xml-catalog.xml.in: - Clear out files not needed by the CMake build (may have to put - 'em back for autotools, so doing this as a separate commit to be - easily reverted if need be.) - -2011-12-08 16:36 starseeker - - * [r47861] doc/docbook/CMakeLists.txt, - doc/docbook/resources/brlcad/brlcad-man-stylesheet.xsl.in, - doc/docbook/resources/brlcad/brlcad-xhtml-stylesheet.xsl.in, - doc/docbook/resources/brlcad/tutorial-cover-template.xsl.in, - doc/docbook/resources/brlcad/tutorial-template.xsl.in: - Rework the docbook logic again, to not use the catalog file - as - near as I can tell, it's just using the catalog file to all - 'abbreviated' paths in a couple other style files. Rather than do - that, we can just make them .in files and have CMake fill in the - paths directly. Hopefully will put less strain on xsltproc... - -2011-12-08 16:13 brlcad - - * [r47860] include/bu.h: - implement more generalized BU_GET() and BU_PUT() macros intended - to replace BU_GETSTRUCT(), BU_GETUNION(), and BU_GETTYPE(). these - versions should provided added application security by - guaranteeing zero-init and sanity cleanup when released/put. used - appropriately, they become convenient places to hook in a pool - allocator given the allocations are intrinsically small and - defined as dynamic. - -2011-12-08 07:04 brlcad - - * [r47859] include/bu.h, include/nmg.h, src/libbu/pool.c, - src/librt/db5_io.c, src/librt/db5_scan.c: - rename the new libbu pool routines to be consistent with the - existing libbu api. groups functions are bu_GROUP prefix, so - rename bu_get_elem_from_pool() to bu_pool_get() and - bu_free_elem_pool() to bu_pool_put() respectively. rename all of - the non-public implementation functions with a non-'bu_' and - simpler 'pool_' prefix. update existing callers accordingly. - added notes on a few show-stopper issues in the implementation, - namely semaphore locking issues and not building on existing - libbu memory management (probably due to locking issues). also, - seems considerably overcomplicated. reasoning is evident, but - begs for drastic simplification (allocate a single big buffer, - increment a size_t as bytes are requested). - -2011-12-08 06:31 brlcad - - * [r47858] src/libbu/pool.c: - ws indent consistency cleanup - -2011-12-08 06:22 brlcad - - * [r47857] include/bu.h: - create corollary macros for BU_GETSTRUCT(), BU_GETUNION(), and - BU_GETTYPE() named BU_PUTSTRUCT(), BU_PUTUNION(), and - BU_PUTTYPE() respectively. regardless, deprecate at least the - struct/union macros in favor of the single type-agnostic macro - (though a better name might be simply BU_GET() and BU_PUT() to - avoid the klunky TT-name) - -2011-12-08 02:22 starseeker - - * [r47856] doc/docbook/CMakeLists.txt, - doc/docbook/books/en/CMakeLists.txt: - Well, the downloadable Windows xsltproc isn't succeeding either, - and at least some of the failure signature looks similar. Time to - figure out why. Also, need some fixes to executable calls - quite - in docbook logic to allow for spaces in pathnames (there'll - probably be a lot more of this needed later on...) Still need to - rework the third party exec macro somewhat to allow for manual - specification of the executable path. - -2011-12-08 01:09 brlcad - - * [r47855] src/libgcv/CMakeLists.txt: - soup.h and tri_intersect.h missing from decls - -2011-12-08 01:05 brlcad - - * [r47854] src/libbu/Makefile.am: - image.c is no more here, he go home now - -2011-12-08 01:04 brlcad - - * [r47853] doc/deprecation.txt: - V3*_TOL() macros in vmath used to assume a structure with a - ->dist element, which is kinda silly from an API standpoint. made - them be a simple tolerance value. - -2011-12-08 00:55 brlcad - - * [r47852] src/libfb/fb_obj.c: - oops, libfb dir slipped through the cracks. apply bu_cmd() - signature change. - -2011-12-08 00:50 brlcad - - * [r47851] include/vmath.h, src/libged/bigE.c, - src/libged/wdb_bigE.c, src/librt/cut.c, - src/librt/primitives/nmg/nmg_bool.c, - src/librt/primitives/nmg/nmg_class.c, - src/librt/primitives/nmg/nmg_fuse.c, - src/librt/primitives/nmg/nmg_inter.c, - src/librt/primitives/nmg/nmg_misc.c, - src/librt/primitives/nmg/nmg_mod.c, - src/librt/primitives/nmg/nmg_pt_fu.c, - src/librt/primitives/nmg/nmg_rt_isect.c, - src/librt/primitives/nmg/nmg_tri.c: - avoid the assumption that tol is a bn_tol. since they all just - call the distance tolerance, leave it up to the caller to provide - the value so as an API call, it only needs to be a tolerance - value instead of a struct. propagate accordingly throughout nmg. - also leave FIXME notes for three macros that are apparently using - >= and <= comparisons with floating point values where the '=' - case is not guaranteed to give stable behavior. the testing - interval must be an open interval. - -2011-12-08 00:18 r_weiss - - * [r47850] include/vmath.h: - Updated include file 'vmath.h' adding the macro - 'V3RPP_DISJOINT_TOL'. - -2011-12-08 00:15 r_weiss - - * [r47849] src/librt/primitives/nmg/nmg_inter.c: - Update to function nmg_crackshells in file 'nmg_inter.c'. - Improved bounding box checking to determine which faces will be - intersected. This improves the speed of boolean operations on nmg - objects. + * [r51798] src/librt/primitives/nmg/nmg_fuse.c: + Changed function "nmg_edge_fuse" to accept as input a pointer to + either an NMG object or bu_ptbl structure. Changed file + "nmg_fuse.c". -2011-12-07 23:52 brlcad +2012-08-07 20:41 carlmoore - * [r47848] src/libged/dg_obj.c: - potential crasher due to bad decl. wdb_print_node() no longer - takes an interp. + * [r51797] bench/run.sh: + remove trailing blanks/tabs , and fix spellings -2011-12-07 23:49 brlcad +2012-08-07 20:37 r_weiss - * [r47847] doc/deprecation.txt: - document the minimally impacting change to bu_cmd() and - (hopefully, untested) fix several other minimally impacting - regexes that escaped ()'s incorrectly. perl captures matches with - () and matches literals with \(\). logic was reversed. + * [r51796] include/raytrace.h, src/conv/euclid/euclid-g.c, + src/conv/jack/jack-g.c, src/libged/bot_fuse.c, + src/libged/wdb_obj.c, src/librt/primitives/nmg/nmg_bool.c, + src/librt/primitives/nmg/nmg_fuse.c: + Change function "nmg_model_edge_fuse" to "nmg_edge_fuse" and + changed the 1st parameter from an NMG model pointer to an NMG + object magic number. This allows any NMG object type to be fused + instead of just NMG models. Changed files "include/raytrace.h", + "src/libged/bot_fuse.c", "src/libged/wdb_obj.c", + "src/conv/euclid/euclid-g.c", "src/conv/jack/jack-g.c", + "src/librt/primitives/nmg/nmg_fuse.c" and + "src/librt/primitives/nmg/nmg_bool.c". -2011-12-07 23:46 brlcad +2012-08-07 20:31 carlmoore - * [r47846] include/cmd.h, src/libbu/cmd.c, src/libbu/observer.c, - src/libdm/dm_obj.c, src/libged/dg_obj.c, src/libged/vdraw.c, - src/libged/view_obj.c, src/libged/wdb_obj.c, - src/libged/wdb_vdraw.c, src/libtclcad/cmdhist_obj.c: - make a minimally impacting change to bu_cmd()'s signature - swapping the arguments so they are inputs followed by outputs - convention. add a new result parameter so we can distinguish - between commands that don't exist and commands that fail. the - return value now indicates existence only while the result - parameter will contain the command's return value. this allows us - to fix a few caller instances that needed to distinguish the two. + * [r51795] configure.ac: + fix spellings (CAN NOT TOUCH PROGRAM VARIABLES' NAMES, ETC.) -2011-12-07 21:06 starseeker +2012-08-07 20:19 carlmoore - * [r47845] src/other/xsltproc/libxslt/CMakeLists.txt: - no default path for win32 platforms + * [r51794] configure.cmake.sh: + remove trailing blanks -2011-12-07 20:39 brlcad +2012-08-07 20:18 carlmoore - * [r47844] src/libbu/tcl.c: - fix the first of hopefully few bugs injected with the de-tcl'ing - of libbu. in order for these script callbacks to return a tcl - value, they need to be set as the result. noticed the '?' command - no longer working in mged due to bu_brlcad_data printing but not - returning the path. + * [r51793] CMakeLists.txt: + remove trailing blanks and fix spellings -2011-12-07 20:31 brlcad +2012-08-07 20:12 carlmoore - * [r47843] src/libbu/tcl.c: - bu_cmdtab callbacks take a void* + * [r51792] ChangeLog: + removed trailing blanks but made NO spelling fixes due to + people's messages -2011-12-07 19:36 erikgreenwald +2012-08-07 20:09 carlmoore - * [r47842] src/libbu/CMakeLists.txt: - add math lib + * [r51791] AUTHORS: + remove trailing blank(s), and I think I recall 'Merritt' spelling -2011-12-07 19:31 erikgreenwald +2012-08-07 20:07 carlmoore - * [r47841] src/fb/CMakeLists.txt, src/util/CMakeLists.txt: - add PNG_LIBRARY to programs needs libpng (was getting it from - libbu before) + * [r51790] INSTALL: + remove trailing blanks and fix spellings -2011-12-07 19:08 erikgreenwald +2012-08-07 20:05 carlmoore - * [r47840] src/libicv/CMakeLists.txt: - Fix link error. Apparently cmake uses arg ordering, not the duck - method. + * [r51789] HACKING: + remove trailing blanks and fix spelling of 'visible' -2011-12-07 18:48 brlcad +2012-08-07 20:02 carlmoore - * [r47839] TODO: - the radius 'R' has come before the value since 1982. get it - right. + * [r51788] TODO: + remove trailing blanks and fix spellings -2011-12-07 18:44 erikgreenwald +2012-08-07 19:57 carlmoore - * [r47838] doc/deprecation.txt, include/bu.h, - src/libbu/CMakeLists.txt, src/libbu/image.c: - eradicate bu_image. s/bu_image/icv_image/g;s/BU_IMAGE/ICV_IMAGE/g - (and link libicv) to migrate. + * [r51787] NEWS: + fix spelling -2011-12-07 18:42 brlcad +2012-08-07 19:56 r_weiss - * [r47837] TODO: - others may work on annotations, so dump core. provide all the - nitty gritty details for what is needed from a GD&T perspective. - focus is fully generalized compact binary on-disk form specified - via user-friendly command-line interface. include references as - there are standard conventions (iso and asme) expected on how - they're presented. initial stab implementation should focus on - text and leader annotations.. + * [r51786] include/ged.h, include/raytrace.h, + src/libged/CMakeLists.txt, src/libged/Makefile.am, + src/libged/bot_fuse.c, src/librt/primitives/bot/bot_brep.cpp, + src/libtclcad/tclcad_obj.c, src/mged/setup.c: + Added a new mged command "bot_fuse". Add a new file + "src/libged/bot_fuse.c" and updated files "include/ged.h", + "include/raytrace.h", "src/libged/Makefile.am", + "src/libged/CMakeLists.txt", "src/mged/setup.c", + "src/libtclcad/tclcad_obj.c" and + "src/librt/primitives/bot/bot_brep.cpp". This new command is a + work in progress. This command attempts to repair BOTs using NMG + fuse functions. -2011-12-07 18:31 erikgreenwald +2012-08-07 19:50 carlmoore - * [r47836] src/libgcv/CMakeLists.txt, src/libgcv/Makefile.am, - src/libgcv/bottess.c, src/libgcv/soup.h, - src/libgcv/tri_intersect.c, src/libgcv/tri_intersect.h: - break moller triangle intersection stuff out into separate file + * [r51785] BUGS: + remove trailing blanks and fix spellings -2011-12-07 17:57 erikgreenwald +2012-08-07 19:45 carlmoore - * [r47835] src/libged/CMakeLists.txt, src/libged/screengrab.c, - src/remrt/CMakeLists.txt, src/remrt/rtsrv.c, - src/rt/CMakeLists.txt, src/rt/do.c, src/rt/ext.h, src/rt/main.c, - src/rt/view.c, src/rt/viewedge.c: - bu_image -> icv_image + * [r51784] NEWS: + removed trailing blank -2011-12-07 17:33 erikgreenwald +2012-08-07 18:03 r_weiss - * [r47834] doc/deprecation.txt, src/libbu/image.c: - list bu_image_* as deprecated + * [r51783] src/librt/primitives/nmg/nmg_fuse.c: + Update to function "nmg_edge_g_fuse" in file "nmg_fuse.c". After + additional testing, the previous version of this function was not + working as well as expected. This new version does not rely on + the dot product for determining if edges are parallel. -2011-12-07 17:28 erikgreenwald +2012-08-07 17:24 carlmoore - * [r47833] include/icv.h, include/magic.h, - src/libicv/CMakeLists.txt, src/libicv/Makefile.am, - src/libicv/fileformat.c: - copy bu_image stuff into icv + * [r51782] autogen.sh: + removed a trailing tab, too -2011-12-07 17:23 starseeker +2012-08-07 16:51 carlmoore - * [r47832] src/other/xsltproc/CMakeLists.txt, - src/other/xsltproc/libxml/CMakeLists.txt, - src/other/xsltproc/libxml/src/xmlIO.c: - Tweaks to try improving build on Windows... + * [r51781] src/conv/dxf/bot-bldxf.c: + fix 'vertices' spelling in comments and in one output string -2011-12-07 17:20 starseeker +2012-08-07 16:12 carlmoore - * [r47831] misc/CMake/BRLCAD_Util.cmake: - Don't automatically flag a BRLCAD_OPTION as advanced... + * [r51780] autogen.sh: + removed trailing blank(s) -2011-12-07 17:14 erikgreenwald +2012-08-07 16:08 carlmoore - * [r47830] include/CMakeLists.txt, include/Makefile.am, - include/icv.h: - add icv.h + * [r51779] README: + removed trailing blanks and fixed spelling of 'dependent' -2011-12-07 04:00 starseeker +2012-08-07 16:03 carlmoore - * [r47829] CMakeLists.txt, doc/docbook/CMakeLists.txt, - doc/docbook/books/en/CMakeLists.txt, - misc/CMake/FindXSLTPROC.cmake, src/other/CMakeLists.txt, - src/other/xsltproc, src/other/xsltproc.dist, - src/other/xsltproc/CMake, - src/other/xsltproc/CMake/ResolveCompilerPaths.cmake, - src/other/xsltproc/CMakeLists.txt, src/other/xsltproc/libexslt, - src/other/xsltproc/libexslt/CMakeLists.txt, - src/other/xsltproc/libexslt/exsltconfig.h.in, - src/other/xsltproc/libexslt/include, - src/other/xsltproc/libexslt/include/libexslt, - src/other/xsltproc/libexslt/include/libexslt/exslt.h, - src/other/xsltproc/libexslt/include/libexslt/exsltexports.h, - src/other/xsltproc/libexslt/include/libexslt/libexslt.h, - src/other/xsltproc/libexslt/src, - src/other/xsltproc/libexslt/src/common.c, - src/other/xsltproc/libexslt/src/crypto.c, - src/other/xsltproc/libexslt/src/date.c, - src/other/xsltproc/libexslt/src/dynamic.c, - src/other/xsltproc/libexslt/src/exslt.c, - src/other/xsltproc/libexslt/src/functions.c, - src/other/xsltproc/libexslt/src/math.c, - src/other/xsltproc/libexslt/src/saxon.c, - src/other/xsltproc/libexslt/src/sets.c, - src/other/xsltproc/libexslt/src/strings.c, - src/other/xsltproc/libxml, - src/other/xsltproc/libxml/CMakeLists.txt, - src/other/xsltproc/libxml/config.h.in, - src/other/xsltproc/libxml/include, - src/other/xsltproc/libxml/include/acconfig.h, - src/other/xsltproc/libxml/include/elfgcchack.h, - src/other/xsltproc/libxml/include/libxml, - src/other/xsltproc/libxml/include/libxml.h, - src/other/xsltproc/libxml/include/libxml/DOCBparser.h, - src/other/xsltproc/libxml/include/libxml/HTMLparser.h, - src/other/xsltproc/libxml/include/libxml/HTMLtree.h, - src/other/xsltproc/libxml/include/libxml/SAX.h, - src/other/xsltproc/libxml/include/libxml/SAX2.h, - src/other/xsltproc/libxml/include/libxml/c14n.h, - src/other/xsltproc/libxml/include/libxml/catalog.h, - src/other/xsltproc/libxml/include/libxml/chvalid.h, - src/other/xsltproc/libxml/include/libxml/debugXML.h, - src/other/xsltproc/libxml/include/libxml/dict.h, - src/other/xsltproc/libxml/include/libxml/encoding.h, - src/other/xsltproc/libxml/include/libxml/entities.h, - src/other/xsltproc/libxml/include/libxml/globals.h, - src/other/xsltproc/libxml/include/libxml/hash.h, - src/other/xsltproc/libxml/include/libxml/list.h, - src/other/xsltproc/libxml/include/libxml/nanoftp.h, - src/other/xsltproc/libxml/include/libxml/nanohttp.h, - src/other/xsltproc/libxml/include/libxml/parser.h, - src/other/xsltproc/libxml/include/libxml/parserInternals.h, - src/other/xsltproc/libxml/include/libxml/pattern.h, - src/other/xsltproc/libxml/include/libxml/relaxng.h, - src/other/xsltproc/libxml/include/libxml/schemasInternals.h, - src/other/xsltproc/libxml/include/libxml/schematron.h, - src/other/xsltproc/libxml/include/libxml/threads.h, - src/other/xsltproc/libxml/include/libxml/tree.h, - src/other/xsltproc/libxml/include/libxml/uri.h, - src/other/xsltproc/libxml/include/libxml/valid.h, - src/other/xsltproc/libxml/include/libxml/xinclude.h, - src/other/xsltproc/libxml/include/libxml/xlink.h, - src/other/xsltproc/libxml/include/libxml/xmlIO.h, - src/other/xsltproc/libxml/include/libxml/xmlautomata.h, - src/other/xsltproc/libxml/include/libxml/xmlerror.h, - src/other/xsltproc/libxml/include/libxml/xmlexports.h, - src/other/xsltproc/libxml/include/libxml/xmlmemory.h, - src/other/xsltproc/libxml/include/libxml/xmlmodule.h, - src/other/xsltproc/libxml/include/libxml/xmlreader.h, - src/other/xsltproc/libxml/include/libxml/xmlregexp.h, - src/other/xsltproc/libxml/include/libxml/xmlsave.h, - src/other/xsltproc/libxml/include/libxml/xmlschemas.h, - src/other/xsltproc/libxml/include/libxml/xmlschemastypes.h, - src/other/xsltproc/libxml/include/libxml/xmlstring.h, - src/other/xsltproc/libxml/include/libxml/xmlunicode.h, - src/other/xsltproc/libxml/include/libxml/xmlwriter.h, - src/other/xsltproc/libxml/include/libxml/xpath.h, - src/other/xsltproc/libxml/include/libxml/xpathInternals.h, - src/other/xsltproc/libxml/include/libxml/xpointer.h, - src/other/xsltproc/libxml/include/trio.h, - src/other/xsltproc/libxml/include/triodef.h, - src/other/xsltproc/libxml/include/trionan.h, - src/other/xsltproc/libxml/include/triop.h, - src/other/xsltproc/libxml/include/triostr.h, - src/other/xsltproc/libxml/src, - src/other/xsltproc/libxml/src/DOCBparser.c, - src/other/xsltproc/libxml/src/HTMLparser.c, - src/other/xsltproc/libxml/src/HTMLtree.c, - src/other/xsltproc/libxml/src/SAX.c, - src/other/xsltproc/libxml/src/SAX2.c, - src/other/xsltproc/libxml/src/c14n.c, - src/other/xsltproc/libxml/src/catalog.c, - src/other/xsltproc/libxml/src/chvalid.c, - src/other/xsltproc/libxml/src/debugXML.c, - src/other/xsltproc/libxml/src/dict.c, - src/other/xsltproc/libxml/src/encoding.c, - src/other/xsltproc/libxml/src/entities.c, - src/other/xsltproc/libxml/src/error.c, - src/other/xsltproc/libxml/src/globals.c, - src/other/xsltproc/libxml/src/hash.c, - src/other/xsltproc/libxml/src/list.c, - src/other/xsltproc/libxml/src/parser.c, - src/other/xsltproc/libxml/src/parserInternals.c, - src/other/xsltproc/libxml/src/pattern.c, - src/other/xsltproc/libxml/src/relaxng.c, - src/other/xsltproc/libxml/src/schematron.c, - src/other/xsltproc/libxml/src/threads.c, - src/other/xsltproc/libxml/src/tree.c, - src/other/xsltproc/libxml/src/trio.c, - src/other/xsltproc/libxml/src/trionan.c, - src/other/xsltproc/libxml/src/triostr.c, - src/other/xsltproc/libxml/src/uri.c, - src/other/xsltproc/libxml/src/valid.c, - src/other/xsltproc/libxml/src/xinclude.c, - src/other/xsltproc/libxml/src/xlink.c, - src/other/xsltproc/libxml/src/xmlIO.c, - src/other/xsltproc/libxml/src/xmlmemory.c, - src/other/xsltproc/libxml/src/xmlmodule.c, - src/other/xsltproc/libxml/src/xmlreader.c, - src/other/xsltproc/libxml/src/xmlregexp.c, - src/other/xsltproc/libxml/src/xmlsave.c, - src/other/xsltproc/libxml/src/xmlschemas.c, - src/other/xsltproc/libxml/src/xmlschemastypes.c, - src/other/xsltproc/libxml/src/xmlstring.c, - src/other/xsltproc/libxml/src/xmlunicode.c, - src/other/xsltproc/libxml/src/xmlwriter.c, - src/other/xsltproc/libxml/src/xpath.c, - src/other/xsltproc/libxml/src/xpointer.c, - src/other/xsltproc/libxml/xmlversion.h.in, - src/other/xsltproc/libxslt, - src/other/xsltproc/libxslt/CMakeLists.txt, - src/other/xsltproc/libxslt/config.h.in, - src/other/xsltproc/libxslt/include, - src/other/xsltproc/libxslt/include/libxslt, - src/other/xsltproc/libxslt/include/libxslt/attributes.h, - src/other/xsltproc/libxslt/include/libxslt/documents.h, - src/other/xsltproc/libxslt/include/libxslt/extensions.h, - src/other/xsltproc/libxslt/include/libxslt/extra.h, - src/other/xsltproc/libxslt/include/libxslt/functions.h, - src/other/xsltproc/libxslt/include/libxslt/imports.h, - src/other/xsltproc/libxslt/include/libxslt/keys.h, - src/other/xsltproc/libxslt/include/libxslt/libxslt.h, - src/other/xsltproc/libxslt/include/libxslt/namespaces.h, - src/other/xsltproc/libxslt/include/libxslt/numbersInternals.h, - src/other/xsltproc/libxslt/include/libxslt/pattern.h, - src/other/xsltproc/libxslt/include/libxslt/preproc.h, - src/other/xsltproc/libxslt/include/libxslt/security.h, - src/other/xsltproc/libxslt/include/libxslt/templates.h, - src/other/xsltproc/libxslt/include/libxslt/transform.h, - src/other/xsltproc/libxslt/include/libxslt/trio.h, - src/other/xsltproc/libxslt/include/libxslt/triodef.h, - src/other/xsltproc/libxslt/include/libxslt/variables.h, - src/other/xsltproc/libxslt/include/libxslt/win32config.h, - src/other/xsltproc/libxslt/include/libxslt/xslt.h, - src/other/xsltproc/libxslt/include/libxslt/xsltInternals.h, - src/other/xsltproc/libxslt/include/libxslt/xsltexports.h, - src/other/xsltproc/libxslt/include/libxslt/xsltlocale.h, - src/other/xsltproc/libxslt/include/libxslt/xsltutils.h, - src/other/xsltproc/libxslt/include/libxslt/xsltwin32config.h, - src/other/xsltproc/libxslt/src, - src/other/xsltproc/libxslt/src/attributes.c, - src/other/xsltproc/libxslt/src/attrvt.c, - src/other/xsltproc/libxslt/src/documents.c, - src/other/xsltproc/libxslt/src/extensions.c, - src/other/xsltproc/libxslt/src/extra.c, - src/other/xsltproc/libxslt/src/functions.c, - src/other/xsltproc/libxslt/src/imports.c, - src/other/xsltproc/libxslt/src/keys.c, - src/other/xsltproc/libxslt/src/namespaces.c, - src/other/xsltproc/libxslt/src/numbers.c, - src/other/xsltproc/libxslt/src/pattern.c, - src/other/xsltproc/libxslt/src/preproc.c, - src/other/xsltproc/libxslt/src/security.c, - src/other/xsltproc/libxslt/src/templates.c, - src/other/xsltproc/libxslt/src/transform.c, - src/other/xsltproc/libxslt/src/variables.c, - src/other/xsltproc/libxslt/src/xslt.c, - src/other/xsltproc/libxslt/src/xsltlocale.c, - src/other/xsltproc/libxslt/src/xsltutils.c, - src/other/xsltproc/libxslt/xsltconfig.h.in, - src/other/xsltproc/xsltproc.c: - Coming very close to building xsltproc cross-platform for - guaranteed docbook->html documentation generation. Only known - problem is on Windows, and that seems to be primarily related to - the new catalog usage with the advanced Docbook formatting (to - the best of my knowledge, the new Docbook formatting logic has - never been tested on Windows before.) Setting environment - variables in the CMake COMMAND lines didn't go over well on - Windows, so have shifted to a new approach - for each docbook - target, write a small CMake script that contains all the proper - environment variable foo and commands for that target. Then the - custom command, rather than defining and running the command, - calls -P to execute the script file. That approach *does* seem to - do the right thing on Windows, besides having the nifty side - effect of making Docbook build debugging simpler by having a - fully expanded build command immediately available. Last step is - to figure out what the right voodo is for Windows - the path - rewrite logic isn't doing something right with the windows paths, - may need to dig into how that's being done and whether there are - build flags for Windows path handling in the xml code... - -2011-12-07 02:34 brlcad - - * [r47828] include/bu.h, include/cmd.h, include/dg.h, include/dm.h, - include/ged.h, include/obj.h, src/bwish/cmd.c, - src/gtools/g_diff.c, src/libbu/cmd.c, src/libbu/cmdhist.c, - src/libbu/observer.c, src/libbu/tcl.c, src/libdm/dm_obj.c, - src/libdm/labels.c, src/libdm/tcl.c, src/libfb/fb_obj.c, - src/libfb/tcl.c, src/libged/dg_obj.c, src/libged/vdraw.c, - src/libged/view_obj.c, src/libged/wdb_bigE.c, - src/libged/wdb_importFg4Section.c, src/libged/wdb_nirt.c, - src/libged/wdb_obj.c, src/libged/wdb_qray.c, - src/libged/wdb_track.c, src/libged/wdb_vdraw.c, - src/libtclcad/cmdhist_obj.c, src/libtclcad/tclcad_obj.c, - src/mged/clone.c, src/mged/cmd.c, src/mged/mged.c: - De-tcl two rather intertwined libbu functions, bu_observer_cmd() - and bu_cmd(), along with all of the command history functions. - Define bu_cmdtab callback signature so we get proper type - checking, but instead of clientdata+tclinterp, make it a void* - and make argv const. Those changes end up impacting nearly 8k - lines of caller code where we have to update the - (mostly-but-not-all-deprecated) various "tcl object" codes to - pass their data around within the new observer and cmd callbacks - without being explicit function parameters. Remove most of the - deprecated/obsolete object API declarations while we're at it so - further use isn't encouraged. + * [r51778] doc/docbook/system/mann/en/anim_hardtrack.xml: + add d to 'design to be use' - While moderately equivalent to the prior behavior, this patch - does change numerous command outputs from going to the Tcl - channel to instead getting output through bu_log. Of course, even - through most of the caller code is deprecated, more testing is - warranted (particularly for archer). +2012-08-07 14:13 anrgmrty - This involved approximately 26 hours of continuous effort. My - pinky is tired. + * [r51777] src/libtclcad/tclcad_obj.c, + src/tclscripts/mged/help.tcl: + changes for enabling autocomplete -2011-12-07 01:28 brlcad +2012-08-07 13:19 indianlarry - * [r47827] src/libdm/dm_obj.c: - reorder to eliminate forward decls. move command table into - function scope. staticness of data shouldn't be marked with - HIDDEN. + * [r51776] src/libnurbs/opennurbs_ext.cpp: + Added explicit cast of double -> int within TriagleIntersection + routine to allow strict compile. Please check 'phoenixyjll' to + see if this was intentional. -2011-12-07 01:27 starseeker +2012-08-07 13:04 anrgmrty - * [r47826] src/archer/CMakeLists.txt: - Er, right - iwidgets isn't a build target... + * [r51775] src/tclscripts/lib/tclIndex: + changes for autocomplete -2011-12-07 01:22 brlcad +2012-08-07 12:37 bob1961 - * [r47825] NEWS: - given this is a minor bump and we're a week deep, release should - be stabilized by the end of dec. + * [r51774] src/bwish/cadAppInit.c: + This fix gets command history working again in Archer on Windows. -2011-12-07 01:20 brlcad +2012-08-07 10:17 phoenixyjll - * [r47824] TODO: - deprecation statements added, progress underway to rework rtarea. + * [r51773] src/librt/primitives/brep/brep.cpp: + Use a new method for partitioning a surface. (WIP) -2011-12-07 00:40 brlcad +2012-08-06 20:29 crdueck - * [r47823] include/raytrace.h, src/librt/primitives/bot/bot.c: - make rt_bot_smooth() bot name be const + * [r51772] src/libged/analyze.c: + revert r51767, HEQUAL now uses the HNEAR_EQUAL macro -2011-12-06 22:49 brlcad +2012-08-06 20:22 crdueck - * [r47822] include/obj.h: - give the obj structures a tcl_index stash-point so their funcs - don't need to pass it explicitly + * [r51771] include/vmath.h: + update HEQUAL and V2EQUAL to use the HNEAR_EQUAL and V2NEAR_EQUAL + macros respectively -2011-12-06 22:32 n_reed +2012-08-06 19:57 carlmoore - * [r47821] src/other/perplex/parser.y, src/other/perplex/perplex.h, - src/other/perplex/scanner.re: - fixed support of re2c state transition syntax, broken by r47796 + * [r51770] src/conv/bot_shell-vtk.1: + correct spelling of what was 'ancountered','outout' -2011-12-06 22:28 brlcad +2012-08-06 14:57 anrgmrty - * [r47820] src/gtools/g_diff.c: - looks like wdb objects are used here by g_diff.. need to remove - dependency since code is going away. + * [r51769] src/tclscripts/lib/Db.tcl, src/tclscripts/lib/Ged.tcl, + src/tclscripts/lib/Mged.tcl, src/tclscripts/lib/tclIndex: + scripts changed for autocomplete -2011-12-06 22:27 starseeker +2012-08-06 14:55 bob1961 - * [r47819] misc/CMake/FindLEMON.cmake, misc/CMake/FindRE2C.cmake, - src/other/re2c/CMake/FindLEMON.cmake, - src/other/step/CMake/FindLEMON.cmake: - Make sure the executables are present before we try doing - anything with them. + * [r51768] src/tclscripts/archer/Archer.tcl: + Remove the "List View" preference. -2011-12-06 22:24 brlcad +2012-08-06 14:34 erikgreenwald - * [r47818] include/dg.h, src/libged/bot_dump.c, - src/libged/view_obj.c, src/libged/wdb_obj.c: - propagate obj.h where necessary + * [r51767] src/libged/analyze.c: + use HNEAR_EQUAL instead of HEQUAL for plane equivalency checks -2011-12-06 22:22 brlcad +2012-08-06 10:30 phoenixyjll - * [r47817] include/ged.h: - need fbserv_obj.h for structure decls. another dependency that - should be decoupled.. + * [r51766] src/librt/primitives/brep/brep.cpp: + continue working on dividing trimmed surfaces. -2011-12-06 22:20 brlcad +2012-08-06 01:20 cprecup - * [r47816] include/CMakeLists.txt, include/Makefile.am, - include/ged.h, include/obj.h: - add new obj.h header with the remaining view_obj and ged_obj - structures that are in ged.h; don't want or need them, especially - for libged. + * [r51765] src/libged/dag.cpp, + src/tclscripts/graph/GraphEditor.tcl: + The *ged_graph_objects_positions* routine now passes objects' + names as well as their positions within the graph to the Tcl + field. This command is ran in the GraphEditor.tcl file and draws + the objects at the specified positions using a Tk Canvas widget. -2011-12-06 21:55 brlcad +2012-08-05 03:19 cprecup - * [r47815] src/libged/view_obj.c: - indent + * [r51764] include/ged.h, src/libged/dag.cpp, + src/libtclcad/tclcad_obj.c, src/mged/setup.c, + src/tclscripts/lib/Ged.tcl, src/tclscripts/lib/tclIndex: + Changed the definition of the *ged_graph_objects_positions* + routine; integrated it as a command. Made sure that the commands + *graph_objects_positions*, and *graph_structure* always exist so + that the user is not misinformed that they are invalid commands, + provided that the Adaptagrams library isn't available. -2011-12-06 21:54 brlcad +2012-08-04 07:02 anrgmrty - * [r47814] src/libged/view_obj.c: - reorder to eliminate forward decls + * [r51763] src/libanalyze/voxels.c: + changed a very roundabout way to bu_vls_strcpy -2011-12-06 21:45 n_reed +2012-08-04 02:06 brlcad - * [r47813] src/other/perplex/scanner_template.c: - sync r47808 changes to template + * [r51762] src/conv/step/CMakeLists.txt: + declare libs in link order (good practice even if cmake doesn't + care) -2011-12-06 20:42 r_weiss +2012-08-04 02:02 brlcad - * [r47812] src/librt/db5_scan.c: - Update to file "db5_scan.c" for function "db5_scan" within librt - to enable the new libbu memory pooling. + * [r51761] src/conv/Makefile.am: + analyze sits on top of librt, analyze gets ordered first -2011-12-06 20:40 r_weiss +2012-08-04 01:59 brlcad - * [r47811] src/librt/db5_io.c: - Update to file "db5_io.c" for function "db5_get_raw_internal_fp" - within librt to enable new libbu memory pooling. + * [r51760] include/common.h, src/libged/analyze.c: + HIDDEN only applies to functions, not variables -2011-12-06 20:27 r_weiss +2012-08-04 01:56 crdueck - * [r47810] include/nmg.h: - Update to "nmg.h" to enable the new libbu memory pooling for nmg - structures. + * [r51759] src/libged/analyze.c: + update the table interface to allow for variable amounts of rows, + some primitives can have an arbitrary number of faces -2011-12-06 20:24 n_reed +2012-08-03 21:48 crdueck - * [r47809] src/other/perplex/perplex.h, - src/other/perplex/scanner.re, - src/other/perplex/scanner_template.c: - have caller specify end of string input rather than testing for - null + * [r51758] src/libged/analyze.c: + minor change, count table.nrows properly -2011-12-06 19:56 n_reed +2012-08-03 12:20 phoenixyjll - * [r47808] src/other/perplex/scanner.re: - Testing cursor position to detect exhaustion of buffered input, - so don't append null at EOI, which caused parsing failure in some - cases, and put restrictions on patterns. + * [r51757] src/librt/primitives/brep/brep.cpp: + Generate new trimmed faces with intersection curves. -2011-12-06 19:37 brlcad +2012-08-03 05:31 crdueck - * [r47807] src/conv/step/AdvancedFace.cpp, - src/conv/step/AmountOfSubstanceContextDependentUnit.cpp, - src/conv/step/AmountOfSubstanceConversionBasedUnit.cpp, - src/conv/step/AmountOfSubstanceSiUnit.cpp, - src/conv/step/AmountOfSubstanceUnit.cpp, - src/conv/step/AreaContextDependentUnit.cpp, - src/conv/step/AreaConversionBasedUnit.cpp, - src/conv/step/AreaSiUnit.cpp, src/conv/step/AreaUnit.cpp, - src/conv/step/Axis1Placement.cpp, - src/conv/step/Axis2Placement.cpp, - src/conv/step/Axis2Placement2D.cpp, - src/conv/step/Axis2Placement3D.cpp, - src/conv/step/BSplineCurve.cpp, - src/conv/step/BSplineCurveWithKnots.cpp, - src/conv/step/BSplineSurface.cpp, - src/conv/step/BSplineSurfaceWithKnots.cpp, - src/conv/step/BezierCurve.cpp, src/conv/step/BezierSurface.cpp, - src/conv/step/BoundaryCurve.cpp, src/conv/step/BoundedCurve.cpp, - src/conv/step/BoundedPCurve.cpp, - src/conv/step/BoundedSurface.cpp, - src/conv/step/BoundedSurfaceCurve.cpp, - src/conv/step/CartesianPoint.cpp, - src/conv/step/CartesianTransformationOperator.cpp, - src/conv/step/CartesianTransformationOperator2D.cpp, - src/conv/step/CartesianTransformationOperator3D.cpp, - src/conv/step/Circle.cpp, src/conv/step/ClosedShell.cpp, - src/conv/step/CompositeCurve.cpp, - src/conv/step/CompositeCurveOnSurface.cpp, - src/conv/step/CompositeCurveSegment.cpp, src/conv/step/Conic.cpp, - src/conv/step/ConicalSurface.cpp, - src/conv/step/ConnectedFaceSet.cpp, - src/conv/step/ContextDependentUnit.cpp, - src/conv/step/ConversionBasedUnit.cpp, src/conv/step/Curve.cpp, - src/conv/step/CurveBoundedSurface.cpp, - src/conv/step/CurveReplica.cpp, - src/conv/step/CylindricalSurface.cpp, - src/conv/step/DefinitionalRepresentation.cpp, - src/conv/step/DerivedUnit.cpp, - src/conv/step/DerivedUnitElement.cpp, - src/conv/step/DimensionalExponents.cpp, - src/conv/step/Direction.cpp, src/conv/step/Edge.cpp, - src/conv/step/EdgeCurve.cpp, src/conv/step/EdgeLoop.cpp, - src/conv/step/ElectricCurrentContextDependentUnit.cpp, - src/conv/step/ElectricCurrentConversionBasedUnit.cpp, - src/conv/step/ElectricCurrentSiUnit.cpp, - src/conv/step/ElectricCurrentUnit.cpp, - src/conv/step/ElementarySurface.cpp, src/conv/step/Ellipse.cpp, - src/conv/step/Face.cpp, src/conv/step/FaceBound.cpp, - src/conv/step/FaceOuterBound.cpp, src/conv/step/FaceSurface.cpp, - src/conv/step/Factory.cpp, src/conv/step/FoundedItem.cpp, - src/conv/step/FunctionallyDefinedTransformation.cpp, - src/conv/step/GeometricRepresentationContext.cpp, - src/conv/step/GeometricRepresentationItem.cpp, - src/conv/step/GlobalUncertaintyAssignedContext.cpp, - src/conv/step/GlobalUnitAssignedContext.cpp, - src/conv/step/Hyperbola.cpp, src/conv/step/IntersectionCurve.cpp, - src/conv/step/LengthContextDependentUnit.cpp, - src/conv/step/LengthConversionBasedUnit.cpp, - src/conv/step/LengthMeasureWithUnit.cpp, - src/conv/step/LengthSiUnit.cpp, src/conv/step/LengthUnit.cpp, - src/conv/step/Line.cpp, src/conv/step/Loop.cpp, - src/conv/step/LuminousIntensityContextDependentUnit.cpp, - src/conv/step/LuminousIntensityConversionBasedUnit.cpp, - src/conv/step/LuminousIntensitySiUnit.cpp, - src/conv/step/LuminousIntensityUnit.cpp, - src/conv/step/ManifoldSolidBrep.cpp, - src/conv/step/MassContextDependentUnit.cpp, - src/conv/step/MassConversionBasedUnit.cpp, - src/conv/step/MassSiUnit.cpp, src/conv/step/MassUnit.cpp, - src/conv/step/MeasureValue.cpp, - src/conv/step/MeasureWithUnit.cpp, src/conv/step/NamedUnit.cpp, - src/conv/step/OffsetCurve2D.cpp, src/conv/step/OffsetCurve3D.cpp, - src/conv/step/OffsetSurface.cpp, - src/conv/step/OpenNurbsInterfaces.cpp, - src/conv/step/OrientedEdge.cpp, src/conv/step/PCurve.cpp, - src/conv/step/PCurveOrSurface.cpp, src/conv/step/Parabola.cpp, - src/conv/step/ParametricRepresentationContext.cpp, - src/conv/step/Path.cpp, src/conv/step/Placement.cpp, - src/conv/step/Plane.cpp, - src/conv/step/PlaneAngleContextDependentUnit.cpp, - src/conv/step/PlaneAngleConversionBasedUnit.cpp, - src/conv/step/PlaneAngleMeasureWithUnit.cpp, - src/conv/step/PlaneAngleSiUnit.cpp, - src/conv/step/PlaneAngleUnit.cpp, src/conv/step/Point.cpp, - src/conv/step/Polyline.cpp, src/conv/step/PullbackCurve.cpp, - src/conv/step/QuasiUniformCurve.cpp, - src/conv/step/QuasiUniformSurface.cpp, - src/conv/step/RatioContextDependentUnit.cpp, - src/conv/step/RatioConversionBasedUnit.cpp, - src/conv/step/RatioSiUnit.cpp, src/conv/step/RatioUnit.cpp, - src/conv/step/RationalBSplineCurve.cpp, - src/conv/step/RationalBSplineCurveWithKnots.cpp, - src/conv/step/RationalBSplineSurface.cpp, - src/conv/step/RationalBSplineSurfaceWithKnots.cpp, - src/conv/step/RationalBezierCurve.cpp, - src/conv/step/RationalBezierSurface.cpp, - src/conv/step/RationalQuasiUniformCurve.cpp, - src/conv/step/RationalQuasiUniformSurface.cpp, - src/conv/step/RationalUniformCurve.cpp, - src/conv/step/RationalUniformSurface.cpp, - src/conv/step/RectangularCompositeSurface.cpp, - src/conv/step/RectangularTrimmedSurface.cpp, - src/conv/step/RepresentationContext.cpp, - src/conv/step/RepresentationItem.cpp, - src/conv/step/STEPEntity.cpp, src/conv/step/SeamCurve.cpp, - src/conv/step/ShapeRepresentation.cpp, src/conv/step/SiUnit.cpp, - src/conv/step/SolidAngleContextDependentUnit.cpp, - src/conv/step/SolidAngleConversionBasedUnit.cpp, - src/conv/step/SolidAngleSiUnit.cpp, - src/conv/step/SolidAngleUnit.cpp, src/conv/step/SolidModel.cpp, - src/conv/step/SphericalSurface.cpp, src/conv/step/Surface.cpp, - src/conv/step/SurfaceCurve.cpp, - src/conv/step/SurfaceOfLinearExtrusion.cpp, - src/conv/step/SurfaceOfRevolution.cpp, - src/conv/step/SurfacePatch.cpp, src/conv/step/SurfaceReplica.cpp, - src/conv/step/SweptSurface.cpp, - src/conv/step/ThermodynamicTemperatureContextDependentUnit.cpp, - src/conv/step/ThermodynamicTemperatureConversionBasedUnit.cpp, - src/conv/step/ThermodynamicTemperatureSiUnit.cpp, - src/conv/step/ThermodynamicTemperatureUnit.cpp, - src/conv/step/TimeContextDependentUnit.cpp, - src/conv/step/TimeConversionBasedUnit.cpp, - src/conv/step/TimeSiUnit.cpp, src/conv/step/TimeUnit.cpp, - src/conv/step/TopologicalRepresentationItem.cpp, - src/conv/step/ToroidalSurface.cpp, - src/conv/step/TrimmedCurve.cpp, src/conv/step/TrimmingSelect.cpp, - src/conv/step/UncertaintyMeasureWithUnit.cpp, - src/conv/step/UniformCurve.cpp, src/conv/step/UniformSurface.cpp, - src/conv/step/Unit.cpp, src/conv/step/Vector.cpp, - src/conv/step/Vertex.cpp, src/conv/step/VertexLoop.cpp, - src/conv/step/VertexPoint.cpp, - src/conv/step/VolumeContextDependentUnit.cpp, - src/conv/step/VolumeConversionBasedUnit.cpp, - src/conv/step/VolumeSiUnit.cpp, src/conv/step/VolumeUnit.cpp: - indent + * [r51756] src/libged/analyze.c: + use snprintf() instead of sprintf(), initialize poly_face structs + to be all 0/NULL, and always sort points into ccw order in + analyze_poly_face() + +2012-08-02 18:50 carlmoore + + * [r51755] doc/html/manuals/mged/animmate/anim_hardtrack.html: + add 'd' to 'designed to be use' -2011-12-06 19:37 n_reed +2012-08-02 18:41 carlmoore - * [r47806] src/other/perplex/parser.y: - remove debug output + * [r51754] src/conv/3dm/3dm-g.cpp: + added 'input' to message about being unable to open file -2011-12-06 19:32 r_weiss +2012-08-02 17:41 starseeker - * [r47805] include/bu.h: - Update to include file "bu.h", adding definitions for memory pool - functions "bu_get_elem_from_pool" and "bu_free_elem_pool". + * [r51753] include/nurbs.h, src/conv/step/OpenNurbsInterfaces.cpp, + src/conv/step/PullbackCurve.cpp, src/libnurbs/CMakeLists.txt, + src/libnurbs/opennurbs_ext.cpp, src/libnurbs/opennurbs_ext.h, + src/librt/primitives/brep/brep_debug.h, + src/librt/primitives/sketch/sketch_tess.cpp: + move opennurbs_ext.h to include/nurbs.h - we need to untangle + this into parts that should remain internal and parts that are + exposed as the API, but at least this gets the other parts of the + code pointing to the right place. -2011-12-06 19:26 brlcad +2012-08-02 17:21 starseeker - * [r47804] src/conv/step/Axis2Placement3D.cpp: - possibly unitialized, init with VINIT_ZERO + * [r51752] src/CMakeLists.txt, src/conv/step/CMakeLists.txt, + src/conv/step/OpenNurbsInterfaces.cpp, + src/conv/step/PullbackCurve.cpp, src/libnurbs/CMakeLists.txt, + src/libnurbs/opennurbs_ext.cpp, src/libnurbs/opennurbs_ext.h, + src/libnurbs/opennurbs_fit.cpp, src/libnurbs/opennurbs_fit.h, + src/librt/CMakeLists.txt, src/librt/opennurbs_ext.cpp, + src/librt/opennurbs_ext.h, src/librt/opennurbs_fit.cpp, + src/librt/opennurbs_fit.h, + src/librt/primitives/brep/brep_debug.h, + src/librt/primitives/sketch/sketch_tess.cpp: + Start moving files into libnurbs. -2011-12-06 19:18 r_weiss +2012-08-02 16:58 starseeker - * [r47803] src/libbu/CMakeLists.txt: - Update to file "CMakeLists.txt" to add file "pool.c" to libbu. + * [r51751] src/CMakeLists.txt, src/libnurbs: + Add a libnurbs dir in preparation for moving opennurbs extensions + out of librt -2011-12-06 19:17 r_weiss +2012-08-02 08:59 phoenixyjll - * [r47802] src/libbu/Makefile.am: - Update to "Makefile.am" to add file "pool.c" to libbu. + * [r51750] src/librt/primitives/brep/brep.cpp: + Add a function to deal with curve-curve intersection. -2011-12-06 19:13 r_weiss +2012-08-02 08:57 phoenixyjll - * [r47801] src/libbu/pool.c: - New code for memory pooling within libbu. This is a work is - progress. Adding file "pool.c". + * [r51749] src/librt/opennurbs_ext.cpp: + Avoid using operator == on floating points. -2011-12-06 18:35 n_reed +2012-08-01 23:21 starseeker - * [r47800] src/other/perplex/parser.y: - reduce code duplication + * [r51748] src/libbn/tests/CMakeLists.txt: + Add a note to add more sensitive tests to the coplanar tri tests. -2011-12-06 18:08 starseeker +2012-08-01 23:13 starseeker - * [r47799] misc/CMake/ThirdParty.cmake: - go full path on src/other executables, since if we're trying to - build bundled and there is a system version of the exec present - in path, the target name will end up calling the system binary - when it trys to run. + * [r51747] src/libged/analyze.c: + Make a stab at fixing label string printing. -2011-12-06 17:54 brlcad +2012-08-01 21:37 starseeker - * [r47798] src/libged/wdb_obj.c: - more massive reordering to eliminate forward decls + * [r51746] TODO: + Add note about potential bu_locate function to TODO. -2011-12-06 17:44 brlcad +2012-08-01 19:57 crdueck - * [r47797] src/libged/dg_obj.c, src/libged/wdb_nirt.c: - massive reordering to eliminate forward declarations. moved - dgo_pr_wait_status to nirt as pr_wait_status since that's the - only place it's used. + * [r51745] src/libged/analyze.c: + minor changes, rename macros for consistency -2011-12-06 17:33 n_reed +2012-08-01 19:02 bob1961 - * [r47796] src/other/perplex/parser.y, src/other/perplex/perplex.h, - src/other/perplex/scanner.re: - add support for re2c named-definitions syntax + * [r51744] CMakeLists.txt: + change the way CPACK_DATA_DIR is set -2011-12-06 17:23 brlcad +2012-08-01 17:35 starseeker - * [r47795] src/libged/dg_obj.c: - move the static command table into the function that uses it + * [r51743] src/libdm/dm_util.c: + Windows doesn't like the inline -2011-12-06 17:21 brlcad +2012-08-01 14:52 starseeker - * [r47794] src/libged/vdraw.c, src/libged/view_obj.c, - src/libged/wdb_vdraw.c: - move the static command tables into the functions that use them + * [r51742] src/libdm/CMakeLists.txt, src/libdm/Makefile.am, + src/libdm/dm-X.c, src/libdm/dm-ogl.c, src/libdm/dm-plot.c, + src/libdm/dm-ps.c, src/libdm/dm-rtgl.c, src/libdm/dm-wgl.c, + src/libdm/dm_util.c, src/libdm/dm_util.h: + Re-apply latest version of patch 3512039 from Ksenija Slivko + (ksuzee) - in addition to refactoring, needed to add ifdef + wrapper for OpenGL specific code in dm_util.c, so it doesn't + break compilation if OpenGL is off. -2011-12-06 16:39 n_reed +2012-08-01 14:50 starseeker - * [r47793] src/other/perplex/perplex.h, - src/other/perplex/scanner.re: - allow C comments in rules section + * [r51741] misc/CMake/FindSTL.cmake, src/other/CMakeLists.txt: + Mark a few more variables as advanced. -2011-12-06 16:03 n_reed +2012-08-01 13:55 starseeker - * [r47792] src/other/perplex/scanner_template.c: - readability + * [r51740] CMakeLists.txt: + don't hardcode the data path on Windows, that won't work... -2011-12-06 12:23 indianlarry +2012-08-01 13:54 starseeker - * [r47791] src/other/step/src/clstepcore/STEPattribute.cc: - Looks like possible debugging code left in during the scl_string - -> std::string rework breaking STEPattribute::is_null() for - STRING_TYPE and BINARY_TYPE, commented out for now. + * [r51739] doc/CMakeLists.txt: + fix pad_file.xml locations -2011-12-06 12:14 indianlarry +2012-08-01 13:12 bob1961 - * [r47790] src/other/step/src/clstepcore/sdaiString.h: - Fixed asStr(), was broken in the scl_string -> std::string - rework. + * [r51738] src/librt/db5_types.c: + This fixes a bug in the "adjust" command where an rgb attribute + could not be removed. db5_sync_comb_to_attr() was missing code to + remove an invalid rgb. rt_comb_adjust() depends on the rgb + getting removed when marked as invalid (i.e. when "invalid" or + "none" is specified). -2011-12-06 07:40 brlcad +2012-08-01 08:47 phoenixyjll - * [r47789] src/libfb/if_X24.c, src/libfb/if_ogl.c, - src/libfb/if_wgl.c: - propagate const to all of the argv of the various open_existing() - functions + * [r51737] src/librt/primitives/brep/brep.cpp: + The first step of manipulating booleans on NURBS b-rep objects. + (WIP) -2011-12-06 07:25 brlcad +2012-07-31 21:18 crdueck - * [r47788] src/libtclcad/tclcad.c: - remove extra semi + * [r51736] src/libged/analyze.c: + free bu_vls tmpstr in analyze_ars() -2011-12-06 07:24 brlcad +2012-07-31 20:44 crdueck - * [r47787] include/tclcad.h: - declare/export the new tclcad_register_cmds() function so we can - eliminate bu_register_cmds(). + * [r51735] src/libged/analyze.c: + added new analyze_ars(), uses technique similar to rt_ars_tess() + to find triangular faces -2011-12-06 07:21 brlcad +2012-07-31 20:38 starseeker - * [r47786] src/libtclcad/tclcad.c: - provide an alternative to bu_register_cmds() so we can make - remove the bu func as a minimally impacting API change. to do - this, we need to wrap the bu_cmdtab functions since they're - similarly undergoing a signature change to eliminate the tcl - binding. + * [r51734] src/other/step/cmake/manage_generated.cmake.in: + harden managed sources file against weird pathnames -2011-12-06 06:07 brlcad +2012-07-31 19:58 r_weiss - * [r47785] src/libfb/tcl.c: - reorder to avoid forward decls, make cmdtab private to init func. + * [r51733] src/librt/primitives/nmg/nmg_fuse.c: + Updated function nmg_edge_g_fuse and added functions ex_comp + ey_comp and ez_comp which are used by the updated nmg_edge_g_fuse + function. These changes are in file "nmg_fuse.c". These changes + were to improve the performance of the nmg_edge_g_fuse function. + This change effects the mged facetize and ev commands along with + most of the geometry export tools. The performance improvement is + most noticed when the number of facets in the model is roughly + over 50,000. -2011-12-06 05:55 brlcad +2012-07-31 19:38 r_weiss - * [r47784] include/fb.h, include/fbio.h, src/libfb/fb_generic.c, - src/libfb/if_TEMPLATE.c, src/libfb/if_X.c, src/libfb/if_X24.c, - src/libfb/if_debug.c, src/libfb/if_disk.c, src/libfb/if_mem.c, - src/libfb/if_null.c, src/libfb/if_ogl.c, src/libfb/if_remote.c, - src/libfb/if_stack.c, src/libfb/if_tk.c, src/libfb/if_wgl.c: - make the file argument to if_open() const. + * [r51732] include/raytrace.h, src/conv/euclid/euclid-g.c, + src/conv/iges/trimsurf.c, src/conv/jack/jack-g.c, + src/conv/obj-g.c, src/conv/patch/patch-g.c, + src/conv/viewpoint-g.c, src/librt/primitives/nmg/nmg_bool.c, + src/librt/primitives/nmg/nmg_fuse.c, src/util/fix_polysolids.c: + Changed function nmg_model_vertex_fuse to nmg_vertex_fuse. This + allows this function to fuse vertices within nmg objects other + than just models. Files updated were raytrace.h viewpoint-g.c + obj-g.c patch-g.c euclid-g.c trimsurf.c jack-g.c nmg_fuse.c + nmg_bool.c fix_polysolids.c -2011-12-06 01:48 starseeker +2012-07-31 18:32 starseeker - * [r47783] misc/CMake/BRLCAD_Util.cmake: - begone debug printout + * [r51731] src/conv/Makefile.am: + g-voxel needs ANALYZE -2011-12-06 01:45 starseeker +2012-07-31 18:11 starseeker - * [r47782] CMakeLists.txt: - Nevermind - we have a different variable, so don't emulate the - old system for 64 bit. + * [r51730] src/libged/analyze.c: + C89 doesn't provide z in printf - this is masked in cmake by + inheriting the C99 flag from libfb, which requires it on the Mac. + Autotools doesn't propagate the flags the same way. Use + bu_vls_printf, which does provide support for z -2011-12-05 23:53 starseeker +2012-07-31 17:55 starseeker - * [r47781] CMakeLists.txt: - Add docs for 32/64 bit BRLCAD_WORD_SIZE + * [r51729] CMakeLists.txt, misc/CMakeLists.txt: + distcheck cleanups -2011-12-05 23:52 starseeker +2012-07-31 16:59 n_reed - * [r47780] misc/CMake/BRLCAD_Util.cmake: - build the disable options list in a different way. + * [r51728] src/conv/step/CMakeLists.txt: + need brl-cad lib dll imports too -2011-12-05 23:46 brlcad +2012-07-31 15:08 erikgreenwald - * [r47779] src/libfb/fb_obj.c: - reorder to avoid the need for forward declarations. make the - command table internal to the function (yet still static so it - persists). + * [r51727] src/libbn/tri_tri.c: + remove inlines to fix link error on mac (llvmgcc, release mode) -2011-12-05 23:28 starseeker +2012-07-31 09:50 phoenixyjll - * [r47778] CMakeLists.txt: - Add some aliases for the strict flags. + * [r51726] src/librt/primitives/brep/brep_debug.cpp: + Some rearrangement of the logic. -2011-12-05 23:27 starseeker +2012-07-31 03:27 n_reed - * [r47777] src/tclscripts/CMakeLists.txt: - mind the advanced markings... + * [r51725] src/conv/step/step-g.cpp: + replace prototype with the header that contains it -2011-12-05 22:39 starseeker +2012-07-31 03:19 n_reed - * [r47776] src/archer/CMakeLists.txt: - Archer needs some more dependencies called out (mostly tcl/tk - packages it uses). 'make archer' now does more or less what you - expect - the only exception being the Docbook man pages. Not sure - whether to make those dependencies... + * [r51724] src/conv/step/CMakeLists.txt: + add required step dll import symbol definitions -2011-12-05 22:25 starseeker +2012-07-30 20:29 n_reed - * [r47775] src/CMakeLists.txt: - checking clean configure - need tclscripts target lists defined - before archer and mged targets are defined so a one-shot - configure gets the right information. + * [r51723] src/other/step/src/base/scl_memmgr.h: + don't use scl_memmgr.h definitions if mem checks aren't enabled -2011-12-05 22:20 starseeker +2012-07-30 19:40 n_reed - * [r47774] src/archer/CMakeLists.txt: - Now that we have an archer target, hang the tclscript - dependencies off of it. + * [r51722] src/conv/step/STEPWrapper.h: + remove reference to c99 __func__ -2011-12-05 22:16 starseeker +2012-07-30 19:22 crdueck - * [r47773] src/archer/CMakeLists.txt: - Make a stab at switching archer over to a real live build target - instead of just a configure-time copy. Untested on Windows. + * [r51721] src/libged/analyze.c: + minor changes, use HREVERSE instead of HSCALE to reverse a plane -2011-12-05 22:04 starseeker +2012-07-30 18:19 n_reed - * [r47772] src/mged/CMakeLists.txt, src/tclscripts/CMakeLists.txt: - Make mged depend on all pkgIndex/tclIndex targets. Probably - should do the same for archer... + * [r51720] src/other/step.dist, + src/other/step/src/cleditor/CMakeLists.txt, + src/other/step/src/cleditor/README, + src/other/step/src/cleditor/dispnode.cc, + src/other/step/src/cleditor/dispnode.h, + src/other/step/src/cleditor/dispnodelist.cc, + src/other/step/src/cleditor/dispnodelist.h, + src/other/step/src/cleditor/instmgr.cc, + src/other/step/src/cleditor/instmgr.h, + src/other/step/src/cleditor/mgrnode.cc, + src/other/step/src/cleditor/mgrnode.h, + src/other/step/src/cleditor/mgrnodearray.cc, + src/other/step/src/cleditor/mgrnodearray.h, + src/other/step/src/cleditor/mgrnodelist.cc, + src/other/step/src/cleditor/mgrnodelist.h, + src/other/step/src/cleditor/needFunc.cc, + src/other/step/src/cleditor/needFunc.h, + src/other/step/src/clstepcore/CMakeLists.txt, + src/other/step/src/clstepcore/README, + src/other/step/src/clstepcore/dispnode.cc, + src/other/step/src/clstepcore/dispnode.h, + src/other/step/src/clstepcore/dispnodelist.cc, + src/other/step/src/clstepcore/dispnodelist.h, + src/other/step/src/clstepcore/instmgr.cc, + src/other/step/src/clstepcore/instmgr.h, + src/other/step/src/clstepcore/mgrnode.cc, + src/other/step/src/clstepcore/mgrnode.h, + src/other/step/src/clstepcore/mgrnodearray.cc, + src/other/step/src/clstepcore/mgrnodearray.h, + src/other/step/src/clstepcore/mgrnodelist.cc, + src/other/step/src/clstepcore/mgrnodelist.h, + src/other/step/src/clstepcore/needFunc.cc, + src/other/step/src/clstepcore/needFunc.h: + move classes to break cyclic dependency and document in + clstepcore/README + +2012-07-30 18:04 erikgreenwald + + * [r51719] src/librt/primitives/dsp/dsp_brep.cpp: + add missing (const int) from previous commit... + +2012-07-30 18:03 erikgreenwald + + * [r51718] src/librt/primitives/dsp/dsp_brep.cpp: + Cast index ints to const int to help msvc pick a method for the + overloaded [] operator (fixes errors on 32b MSVC8) + +2012-07-30 12:47 starseeker + + * [r51717] src/libbn/Makefile.am, src/libbu/Makefile.am: + More Makefile.am updates + +2012-07-30 12:46 starseeker + + * [r51716] src/other/step/cmake/SCL_Utils.cmake, + src/other/step/data/CMakeLists.txt, + src/other/step/src/cldai/CMakeLists.txt, + src/other/step/src/cleditor/CMakeLists.txt, + src/other/step/src/clstepcore/CMakeLists.txt, + src/other/step/src/exppp/CMakeLists.txt, + src/other/step/src/express/CMakeLists.txt, + src/other/step/src/fedex_plus/CMakeLists.txt, + src/other/step/src/fedex_python/CMakeLists.txt: + Use semicolons in lists for SCL_ADD macros as well. -2011-12-05 22:03 n_reed +2012-07-30 12:41 starseeker - * [r47771] src/other/perplex/scanner_template.c: - allow name of lexer routine and app data parameter to be - specified with defines + * [r51715] misc/Makefile.am: + Update Makefile.am -2011-12-05 17:47 n_reed +2012-07-30 12:26 starseeker - * [r47770] src/libbu/parse.c: - revert to previous revision + * [r51714] src/librt/Makefile.am: + typo -2011-12-05 17:38 n_reed +2012-07-30 12:12 starseeker - * [r47769] regress/solidspix.asc: - changed solids-regress reference image to agree with change in - output-pix caused by fix in r47659 + * [r51712] src/libdm/CMakeLists.txt, src/libdm/Makefile.am, + src/libdm/dm-X.c, src/libdm/dm-ogl.c, src/libdm/dm-plot.c, + src/libdm/dm-ps.c, src/libdm/dm-rtgl.c, src/libdm/dm-wgl.c, + src/libdm/dm_util.c, src/libdm/dm_util.h: + Revert r51707 - the OpenGL type in dm_util.c is causing problems. -2011-12-05 06:06 brlcad +2012-07-30 12:06 starseeker - * [r47768] src/tclscripts/mged/CMakeLists.txt: - ws + * [r51711] src/libbu/tests/CMakeLists.txt: + fix distcheck for bitv tests. -2011-12-05 05:58 brlcad +2012-07-30 12:02 starseeker - * [r47767] src/mged/CMakeLists.txt: - apparently doing something wrong, so document the FIXME - accordingly mged needs to depend on the tclscripts or it won't - work for non default and make install target builds (e.g., make - regress) + * [r51710] CMakeLists.txt: + Add unset build type to distcheck-full, since that's going to be + the new default. -2011-12-02 22:39 n_reed +2012-07-30 08:15 phoenixyjll - * [r47766] misc/CMake/FindPERPLEX.cmake, src/other/CMakeLists.txt, - src/other/perplex.dist, src/other/perplex/CMakeLists.txt, - src/other/perplex/Makefile.local, src/other/perplex/perplex.cpp: - initial cmake build logic for perplex + * [r51709] src/librt/primitives/brep/brep_debug.cpp: + Plot the 2D trimming polyline curves better. -2011-12-02 17:11 bob1961 +2012-07-29 23:52 cprecup - * [r47765] src/libtclcad/tclcad_obj.c: - Update to_data_polygons() import sub-command to set the polygon - color, line-width and line-style. + * [r51708] src/libged/dag.cpp: + Created a first version of the *ged_graph_objects_positions* + routine that returns objects' positions from a database. This + will be used by GUI components to draw objects in the graph + editor's window. -2011-12-02 17:09 bob1961 +2012-07-29 20:58 starseeker - * [r47764] src/libged/polyclip.cpp: - Fix ged_export_polygon() and ged_import_polygon() to handle - multiple contours. + * [r51707] src/libdm/CMakeLists.txt, src/libdm/Makefile.am, + src/libdm/dm-X.c, src/libdm/dm-ogl.c, src/libdm/dm-plot.c, + src/libdm/dm-ps.c, src/libdm/dm-rtgl.c, src/libdm/dm-wgl.c, + src/libdm/dm_util.c, src/libdm/dm_util.h: + Apply patch 3512039 from Ksenija Slivko (ksuzee) refactoring some + libdm code. -2011-12-02 14:53 erikgreenwald +2012-07-29 20:48 starseeker - * [r47763] src/libtclcad/cmdhist_obj.c: - Move Cho_Init() to the end to avoid undefined function errors - (prototypes were removed). + * [r51706] src/libbu/progname.c: + make sure bu_progname is reset before we write the new name to it -2011-12-02 04:16 brlcad +2012-07-29 19:52 starseeker - * [r47762] doc/deprecation.txt: - ws and 3 months should be necessary, not sufficient + * [r51705] src/libbu/tests/bu_progname.c: + Turn off these two progname tests until it is clear what the + expected behavior should be. -2011-12-02 04:16 brlcad +2012-07-29 19:49 starseeker - * [r47761] TODO: - break cyclic dependency between libdm and libged + * [r51704] src/libbu/quote.c: + Escape the escapes - this fixes all the quoting unit tests. -2011-12-02 03:56 brlcad +2012-07-29 18:58 starseeker - * [r47760] include/cmd.h, include/tclcad.h, - src/libbu/CMakeLists.txt, src/libbu/Makefile.am, - src/libbu/cmdhist_obj.c, src/libbu/tcl.c, - src/libtclcad/CMakeLists.txt, src/libtclcad/Makefile.am, - src/libtclcad/cmdhist_obj.c, src/libtclcad/tclcad.c: - move command history tcl objects from libbu to libtclcad, - changing them from init during loading of libbu to loading of - libtclcad. this should keep things working for archer and get - libbu one step closer to tcliberation. + * [r51703] src/libbu/tests/bu_progname.c: + if I'm not mistaken, (BRL-CAD) is the expected result here, not + (null)... -2011-12-02 03:42 brlcad +2012-07-29 18:17 starseeker - * [r47759] src/libbu/cmdhist_obj.c: - unfortunately not so simple to remove/move the tcl side of the - command history implementation from libbu since it involves - non-deprecated tclscripts api. + * [r51702] src/libbu/tests/CMakeLists.txt: + Wrap the bitv tests in a variable - those need some attention to + determine what their correct behavior should be and how we want + to go about implementing it -2011-12-02 03:35 brlcad +2012-07-29 17:36 starseeker - * [r47758] include/bu.h, src/libbu/tcl.c: - change Bu_Init() to take a void* since dynamic loading should - still work just fine without knowing the type. helps decouple the - header from needing tcl.h + * [r51701] src/libbu/tests/bu_dirname.c: + dirname is modifying the input string on some platforms (and the + man page mentions this might happen) so make a separate copy of + the input specifically to feed to the system dirname. Fixes the + dirname tests on Linux -2011-12-02 03:30 brlcad +2012-07-29 00:47 cprecup - * [r47757] src/libbu/cmdhist.c: - _bu_ prefix was a bad idea, use the file name as the prefix + * [r51700] configure.ac, src/libtclcad/tclcadAutoPath.c, + src/tclscripts/CMakeLists.txt, src/tclscripts/Makefile.am, + src/tclscripts/graph, src/tclscripts/graph/CMakeLists.txt, + src/tclscripts/graph/GraphEditor.tcl, + src/tclscripts/graph/Makefile.am, src/tclscripts/graph/graph.tcl, + src/tclscripts/graph/pkgIndex.tcl, src/tclscripts/graph/tclIndex: + Implemented the graph MGED command. So far, when it is called it + pops up a new window. -2011-12-02 02:56 brlcad +2012-07-29 00:39 cprecup - * [r47756] src/libbu/observer.c: - _bu_ prefix was a bad idea + * [r51699] include/ged.h, src/libged/dag.cpp, + src/libtclcad/tclcad_obj.c, src/mged/setup.c: + Added the graph_structure command that, so far, can be used to + traverse the database and define its corresponding graph. -2011-12-02 01:40 brlcad +2012-07-28 17:42 starseeker - * [r47755] doc/deprecation.txt, include/bn.h, include/magic.h, - include/raytrace.h, src/libbu/tcl.c, src/libdm/dm_obj.c, - src/libged/wdb_obj.c, src/librt/tcl.c, src/rt/sh_tcl.c: - removed bu_badmagic_tcl() and all of the tcl-specific badmagic - macros like BU_CKMAG_TCL and the various bn and rt macros that - wrapped it (like RT_CK_AP_TCL, RT_CK_RTI_TCL, BN_CK_VLIST, etc). - one step closer to decoupling libbu from tcl + * [r51698] regress/CMakeLists.txt: + whoops - remove the target from the dep list too. -2011-12-02 01:33 starseeker +2012-07-28 17:33 starseeker - * [r47754] CMakeLists.txt, misc/CMake/BRLCAD_Util.cmake: - Handle setting of default option in BRLCAD_OPTION + * [r51697] regress/CMakeLists.txt: + The vls and quote tests have been radically reworked - these two + scripts probably can go away, but they will definitely break + regress so comment out for now. -2011-12-02 01:29 brlcad +2012-07-28 17:30 starseeker - * [r47753] misc/CMake/ThirdParty.cmake: - a bug? do what the comment says it is supposed to be doing. + * [r51696] src/other/perplex.dist: + perplex is a third party build, so we need to add its ignore + items in the perplex.dist file.Add CMake directory - was added as + part of the 'make perplex a stand-alone build' effort. -2011-12-02 01:28 brlcad +2012-07-28 04:25 phoenixyjll - * [r47752] TODO.cmake: - added the deprecation warning to the old build system + * [r51695] src/librt/opennurbs_ext.cpp, src/librt/opennurbs_ext.h, + src/librt/primitives/brep/brep_debug.cpp: + Calculate the intersection curves in UV parameter spaces, and + test them with the brep command. -2011-12-02 01:28 brlcad +2012-07-27 23:54 crdueck - * [r47751] sh/footer.sh, sh/header.sh: - add support for adding header/footers to .cmake files, using - sh-mode + * [r51694] src/libged/analyze.c: + moved common code in analyze_bot_face(), analyze_arbn_face(), and + analyze_face() to new function analyze_poly_face() -2011-12-02 01:27 brlcad +2012-07-27 21:18 r_weiss - * [r47750] sh/template.sh: - don't just delete the header/footer file before aborting. we - might have been running adding a header/footer to a file that - already existed. instead restore the backup. + * [r51693] src/librt/primitives/bot/tie.c: + Added the macro UNLIKELY to function "tie_tri_prep" in file + "tie.c". -2011-12-02 01:21 starseeker +2012-07-27 21:11 r_weiss - * [r47749] src/libbu/parse.c: - Try to undo r47659 without ruining the subsequent commits... this - was breaking the solids shader regression test, so needs more - checking into. + * [r51692] src/librt/primitives/bot/tie.c: + Updated file "tie.c" functions "tie_tri_prep" and "tie_work". + Removed the test for a too small of denominator in function + "tie_work" and added code to function "tie_tri_prep" to prevent + normals of (0,0,0) which was causing a zero denominator in + function "tie_work". -2011-12-02 00:00 brlcad +2012-07-27 16:57 bob1961 - * [r47748] include/bu.h, src/libbu/tcl.c, src/mged/edsol.c: - do the same with bu_tcl_structparse_argv(). it was only used in - one place, so eliminate it by just making the caller code call - bu_structparse_argv() directly. + * [r51691] src/tclscripts/archer/Archer.tcl: + Updated Archer::raytracePlus to double-quote rtwizname and dbname + when dumping to a batch script. -2011-12-01 23:38 brlcad +2012-07-27 13:47 bob1961 - * [r47747] doc/deprecation.txt, include/bu.h, src/libbu/tcl.c: - remove bu_tcl_setup() in favor of equivalent Bu_Init() + * [r51690] src/tclscripts/archer/ArcherCore.tcl: + Modified ArcherCore::handleTreeOpen to check if mPNode2CList() + exists before trying to open. -2011-12-01 23:34 brlcad +2012-07-27 12:04 bob1961 - * [r47746] src/rttherm/ssampview.c: - replace the call to bu_tcl_setup() and rt_tcl_setup() with the - same initialization call used by bwish and mged, calling - Bu_Init() and Rt_Init() respectively. allows bu_tcl_setup() to go - away. + * [r51689] include/tclcad.h, src/libtclcad/tclcad_obj.c, + src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl, + src/tclscripts/archer/images/CMakeLists.txt, + src/tclscripts/archer/images/matrixModeAbove.png, + src/tclscripts/archer/images/matrixModeBelow.png, + src/tclscripts/lib/Ged.tcl: + Added a mechanism for using mouse interactions to edit the matrix + above some member of a combination. Previously, mouse + interactions resulted in edits getting pushed into the selected + object. That is if the selected object was a combination, the + edits wound up as matrices above all members in the combination. + And if the selected object was a primitive, the edits were pushed + into the primitive. Archer has another mode button in the toolbar + for deciding how mouse interactions are applied to the select + object. -2011-12-01 23:31 brlcad +2012-07-27 02:44 brlcad - * [r47745] src/libbu/tcl.c: - removed the only call to bu_get_all_keyword_values from tcl code - so its binding can go away. another 100 lines. + * [r51688] NEWS: + richard fix a TIE BoT mesh evaluation problem where raytracing a + BoT reports the warning 'rt_boolweave: Defective ID_BOT segment' + and produces holes in the resulting geometry. I applied a minor + change to halt prior to the division by zero for slightly more + robust behavior. -2011-12-01 23:28 brlcad +2012-07-27 02:37 brlcad - * [r47744] src/rttherm/ssampview.tcl: - replace bu_get_all_keyword_values with calls to - bu_get_value_by_keyword. this was the only use with ill-defined - side effects, so reduce. + * [r51687] src/librt/primitives/bot/tie.c: + instead of calling isnan(), prevent the division by zero + altogether. division by zero can crash on non-ieee systems and be + configured to throw an exception even on modern systems (which + will abort the application). the intent is to just skip + perpedicular faces, so using RT_DOT_TOL should give more + consistent repeatable behavior. -2011-12-01 23:22 brlcad +2012-07-26 21:51 r_weiss - * [r47743] src/libbu/parse.c: - the _bu_ prefix convention on static functions was a bad idea. - use a prefix based on the group/file these functions belong to, - i.e., parse_ + * [r51686] src/librt/primitives/bot/tie.c: + Updated file "tie.c" fixing a problem where, under certain + conditions, raytracing a BOT reports the warning "rt_boolweave: + Defective ID_BOT segment" and holes result in the BOT. -2011-12-01 23:14 brlcad +2012-07-26 19:05 starseeker - * [r47742] src/libbu/tcl.c: - eliminate 7 seemingly minimal-value bu tcl commands that also - seem to be completely unused within our code: bu_ck_malloc_ptr, - bu_malloc_len_roundup, bu_printb, bu_key_eq_to_key_val, - bu_shader_to_tcl_list, bu_key_val_to_key_eq, bu_shader_to_key_eq. - 200 line reduction. + * [r51685] src/other/openNURBS/opennurbs_nurbssurface.cpp, + src/other/openNURBS/opennurbs_xform.cpp: + Apply a couple of fixes from PCL's openNURBS - r6510 -2011-12-01 22:12 starseeker +2012-07-26 18:41 crdueck - * [r47741] CMakeLists.txt: - Nevermind the BRLCAD_ prefix on the aliases - if we need that it - can be automated at the macro level + * [r51684] src/libged/analyze.c: + begin cleaning up the primitive specific structs in analyze.c by + combining bot_face and arbn_face into poly_face. replace + arbn_point with a global variable -2011-12-01 22:09 starseeker +2012-07-26 15:41 phoenixyjll - * [r47740] CMakeLists.txt, misc/CMake/BRLCAD_Util.cmake: - Add a second 'BRLCAD_OPTION' to test the setup. Need to think - about how to handle this for third party cases - may need an - option to go with either BRLCAD_OPTION or just a regular option. + * [r51683] src/librt/opennurbs_ext.cpp: + Change the variable name to avoid shadow warning. -2011-12-01 22:06 brlcad +2012-07-26 15:32 phoenixyjll - * [r47739] doc/deprecation.txt: - oops, fix the regex to use both matched patterns. + * [r51682] src/librt/opennurbs_ext.cpp: + Fix the memory leak introduced by r51681. -2011-12-01 22:03 brlcad +2012-07-26 10:46 phoenixyjll - * [r47738] doc/deprecation.txt: - all of the bu_tcl_* functions are no longer public API. + * [r51681] src/librt/opennurbs_ext.cpp: + Do not copy the node as its child - just pass it to the next + iteration -2011-12-01 21:58 brlcad +2012-07-26 02:59 brlcad - * [r47737] src/libbu/tcl.c: - mark the bu_cmdtab functions as HIDDEN as they don't need to be - public API. change their function prefix from bu_tcl_ to tcl_bu_ - so they merely prefix the bu function name they wrap. + * [r51680] sh/header.sh: + need a trailing newline so wrapping quotes are indented properly -2011-12-01 21:47 n_reed +2012-07-26 02:55 brlcad - * [r47736] src/other/perplex/parser.y, - src/other/perplex/scanner_template.c: - adding required re2c configuration options for condition support - to output + * [r51679] src/libbn/tri_tri.c: + pd header, not lgpl -2011-12-01 21:45 starseeker +2012-07-26 01:25 brlcad - * [r47735] CMakeLists.txt, misc/CMake/BRLCAD_Util.cmake: - Tweak the BRLCAD_OPTION macro - try for supporting DISABLE_ forms - of ENABLE_ vars + * [r51678] src/libbn/bntester.c, src/libbn/plane.c, + src/libbn/tests/bn_coplanar_tri_tri_isect.c, + src/libbn/tests/bn_tri_tri_isect.c, + src/libbu/tests/bu_basename.c, src/libbu/tests/bu_bitv_or.c, + src/libbu/tests/bu_booleanize.c, src/libbu/tests/bu_dirname.c, + src/libbu/tests/bu_escape.c, src/libbu/tests/bu_progname.c, + src/libbu/tests/bu_str_isprint.c, + src/libbu/tests/bu_vls_vprintf.c: + ws -2011-12-01 20:55 n_reed +2012-07-26 01:17 brlcad - * [r47734] src/other/perplex/perplex.h, - src/other/perplex/scanner.re: - improved parsing of patterns + * [r51677] src/libbn/tri_tri.c: + style, indent update -2011-12-01 20:53 brlcad +2012-07-26 01:11 brlcad - * [r47733] include/bu.h, src/libbu/tcl.c: - remove declaration of bu_tcl*() functions that are not used - outside of src/libbu/tcl.c, part of gradual elimination of tcl - from libbu. looks like two are directly used - (bu_tcl_structparse_argv() by edsol.c and bu_tcl_setup() by - ssampview) and four others indirectly used through tclscripts. + * [r51676] src/libbn/tri_tri.c: + missing header and footer (should be a distcheck or even commit + failure) -2011-12-01 19:41 starseeker +2012-07-26 01:09 brlcad - * [r47732] src/fb/CMakeLists.txt: - Ah, right - even though it's not a library, we need to sort - includes for at least some of the binaries. Do so for the fb - directory. + * [r51675] src/libbn/tri_tri.c: + ws -2011-12-01 18:55 erikgreenwald +2012-07-26 01:07 brlcad - * [r47731] src/librt/primitives/pipe/pipe.c: - split assignments to avoid incompatible pointer error + * [r51674] src/libbn/tri_tri.c: + should be some equivalent simplifications -2011-12-01 17:36 bob1961 +2012-07-26 00:31 crdueck - * [r47730] include/ged.h, src/libtclcad/tclcad_obj.c, - src/tclscripts/lib/Ged.tcl: - Added color, line width and line style at the polygon level. + * [r51673] src/libged/analyze.c: + removed lots of duplications from analyze.c by making an + analyze_general() function for primitives that can be analyzed + using callbacks from the rt_functab -2011-12-01 16:45 tbrowder2 +2012-07-25 21:31 starseeker - * [r47729] include/brlcad.h: - correct typo + * [r51672] src/librt/CMakeLists.txt: + Whoops - don't uncomment the fit/bottest stuff yet -2011-12-01 16:34 n_reed +2012-07-25 21:03 starseeker - * [r47728] src/other/perplex/parser.y, - src/other/perplex/scanner.re, - src/other/perplex/scanner_template.c: - minor changes to macro names + * [r51671] src/librt/CMakeLists.txt, src/librt/test_botpatches.cpp: + Add triangles to edge set based on overlap activity. -2011-12-01 15:56 n_reed +2012-07-25 20:06 starseeker - * [r47727] src/other/perplex/parser.y, - src/other/perplex/perplex.cpp, src/other/perplex/perplex.h, - src/other/perplex/scanner_template.c: - add option for toggling definition of condition routines + * [r51670] src/librt/test_botpatches.cpp: + Crude logic for patch building (just yank overlapping face and + create a patch out of it) but take the first steps to dealing + with problematic edge triangles overlapping with other edges. + Probably not fully correct or optimal yet. -2011-12-01 15:53 brlcad +2012-07-25 19:58 starseeker - * [r47726] NEWS: - nick fixed a bug affecting the combination editor where it wasn't - preserving the color value set. tcl script was preserving the - original color, so needed to not do that. + * [r51669] src/libbn/tri_tri.c: + Avoid floating point fuzz issues in coplanar test requiring + non-zero area. -2011-12-01 15:44 brlcad +2012-07-25 14:47 starseeker - * [r47725] src/libbu/parse.c, src/libbu/tcl.c: - ws + * [r51668] src/librt/test_botpatches.cpp: + Try to consolidate some functionality that's getting used in + multiple places -2011-12-01 15:16 brlcad +2012-07-25 09:12 phoenixyjll - * [r47724] src/librt/primitives/pipe/pipe.c: - cleanup + * [r51667] src/librt/opennurbs_ext.cpp: + Do not generate the whole surface tree - only a small useful + subset is generated simultaneously with the intersection process. + Much faster. -2011-12-01 15:01 brlcad +2012-07-25 02:05 starseeker - * [r47723] src/librt/primitives/pipe/pipe.c: - prevent a pipe tesselation double-free, detected by the - conversion script and verbose blather on linux + * [r51666] src/fb/pl-fb.c: + Whoops - back out 51665 - not sure this preserves functionality -2011-12-01 14:43 brlcad +2012-07-25 02:02 starseeker - * [r47722] AUTHORS: - developers already have the prestige badge and will - invariably/usually have all contributed to docs in some fashion - by the time they get that designation (100+ features), so avoid - double-listing any dev. also, expand docs to include the website - so we can credit robert leverginton for his work redesigning the - main site back in 2007. responded to my sf posting in june 2007, - unveiled new unified theme drupal+mediawiki+gallery2 site in - march 2008. + * [r51665] src/fb/pl-fb.c: + Apply patch pl-fb.patch from 3534954 by Ksenija Slivko (ksuzee) -2011-12-01 14:16 brlcad +2012-07-25 01:53 starseeker - * [r47721] NEWS: - bob fixed a bug in rt where it'd crash if the ae command was - called during -c (before rtip was initialized). fixed by delaying - the do_ae() processing until after all args are processed. + * [r51664] src/rt/viewarea.c, src/util/lowp.c: + Apply patches lowp.patch and viewarea.patch by Ksenija Slivko + (ksuzee) from 3529861 -2011-12-01 14:13 brlcad +2012-07-25 01:04 crdueck - * [r47720] src/libgcv/test_bottess.c: - fix header file name and copyright year (starts with file) + * [r51663] src/libged/analyze.c: + analyze_arbn_face and analyze_bot_face dont need a face centroid + to compute volume, just any point on the face. use a vertice + instead -2011-12-01 14:00 erikgreenwald +2012-07-25 00:01 starseeker - * [r47719] src/libgcv/CMakeLists.txt, src/libgcv/Makefile.am, - src/libgcv/test_bottess.c: - stub in unit testing for bottess + * [r51662] src/librt/test_botpatches.cpp: + bit of optimization -2011-12-01 02:52 starseeker +2012-07-24 23:45 starseeker - * [r47718] src/libged/CMakeLists.txt: - Put FB back in alphabetical order - hopefully the sorting logic - will handle the situation, if not the 'correct' approach will - have to be to disable macports. + * [r51661] src/librt/test_botpatches.cpp: + Start setting up a test for edge triangle overlaps in the + projection of patches. Quite a bit more to do here. -2011-12-01 02:46 starseeker +2012-07-24 21:31 crdueck - * [r47717] misc/CMake/DiffCache.cmake: - The new _DEFINES showed some holes in the cache diffing routine. - This should be more robust and cleaner. + * [r51660] src/libged/analyze.c: + code clean up -2011-11-30 23:29 starseeker +2012-07-24 19:57 starseeker - * [r47716] misc/CMake/BRLCAD_Util.cmake, src/libbu/CMakeLists.txt, - src/libdm/CMakeLists.txt, src/libfft/CMakeLists.txt, - src/libged/CMakeLists.txt, src/libmultispectral/CMakeLists.txt, - src/liborle/CMakeLists.txt, src/libpc/CMakeLists.txt, - src/libpkg/example/CMakeLists.txt, src/librt/CMakeLists.txt, - src/librtserver/CMakeLists.txt, src/libsysv/CMakeLists.txt, - src/libtclcad/CMakeLists.txt, src/libtermio/CMakeLists.txt, - src/vfont/CMakeLists.txt: - Add a scheme for sorting include directories for BRL-CAD - libraries, with an eye towards favoring local includes over - system directories. Not tested in any of the problem cases as - yet. + * [r51659] CMakeLists.txt, misc/CMake/BRLCAD_Options.cmake, + misc/CMake/BRLCAD_Summary.cmake, misc/CMake/CompilerFlags.cmake: + Try to get things working without an explicit build type being + set - i.e. don't force the user to use a build type so manually + specifying everything for release builds works without CMake + barking about conflicts due to the build type being automatically + set to debug. -2011-11-30 22:31 n_reed +2012-07-24 19:52 starseeker - * [r47715] src/other/perplex/parser.y, src/other/perplex/perplex.h, - src/other/perplex/scanner.re: - added basic support for start condition scopes + * [r51658] misc/CMake/FindSTL.cmake: + If we find we don't need the stdc++ link line per FindSTL, don't + do the search at all (it reports not-found, which is incorrect) -2011-11-30 21:16 brlcad +2012-07-24 16:38 n_reed - * [r47714] src/conv/iges/iges.c, src/lgt/do_options.c, - src/proc-db/csgbrep.cpp: - more strict quellage. + * [r51657] src/conv/step/OpenNurbsInterfaces.cpp: + s/MAX/FMAX -2011-11-30 21:05 bob1961 +2012-07-24 16:10 r_weiss - * [r47713] include/ged.h, src/libtclcad/tclcad_obj.c, - src/tclscripts/lib/Ged.tcl: - Provide a way to select the target polygon. + * [r51656] src/conv/g-acad.c: + Update to file "g-acad.c" which is the brlcad to acad (not + AutoCAD) converter. Fixed a bug where a union tree was being + freed and it should not have been. This corrects a segmentation + fault in the converter. -2011-11-30 19:31 starseeker +2012-07-24 13:32 starseeker - * [r47712] src/other/CMakeLists.txt: - Ah, right - was setting the wrong thing for the toplevel - mechanism. This is tested and works on Win32 + * [r51655] src/other/step/src/base/scl_memmgr.h: + revert 51651 - breaks build on Linux -2011-11-30 19:11 starseeker +2012-07-24 13:23 starseeker - * [r47711] src/other/CMakeLists.txt: - Mark BUILD_SCL as advanced + * [r51654] CMakeLists.txt: + Restore build type vs. installation directory check, but just + print a warning instead of overriding. -2011-11-30 18:58 starseeker +2012-07-24 08:43 phoenixyjll - * [r47710] src/other/CMakeLists.txt: - If we're not able to build SCL, set the build var to off so it - gets reported that way... + * [r51653] src/librt/opennurbs_ext.cpp: + Calculate the coordinates of the intersection points in UV + parameter spaces. -2011-11-30 16:36 n_reed +2012-07-24 04:31 brlcad - * [r47709] src/other/perplex/perplex.h, - src/other/perplex/scanner.re: - added support for single quote strings and comments inside - actions + * [r51652] CMakeLists.txt: + given the preceeding logic, the only way for there to be a + mismatch is if the user specifically requested a different path. + moreover, the build type will default to Debug without any user + action making the claim doubly wrong. silently 'fixing' + user-specified input is also just bad practice... -2011-11-30 16:01 n_reed +2012-07-24 04:14 n_reed - * [r47708] src/other/perplex/parser.y, src/other/perplex/perplex.h, - src/other/perplex/scanner.re: - added support for braces and strings inside actions + * [r51651] src/other/step/src/base/scl_memmgr.h: + remove exception specifications -2011-11-30 15:24 erikgreenwald +2012-07-24 04:11 brlcad - * [r47707] src/libgcv/bottess.c: - disable function level static declarations. fix debugging output - parameters. + * [r51650] CMakeLists.txt: + BRL-CAD, not BRLCAD -2011-11-30 00:53 starseeker +2012-07-24 04:07 n_reed - * [r47706] CMakeLists.txt: - with any luck, we don't need to separately call out tcl and tk - build deps... + * [r51649] src/conv/step/MassUnit.cpp, src/conv/step/STEPWrapper.h: + need a more specific macro name to avoid a conflict -2011-11-29 23:08 brlcad +2012-07-24 03:51 brlcad - * [r47705] src/librt/primitives/extrude/extrude.c: - reworking more variables since compilation is halting on bugs - that gcc 4.6.2 detected where we're calling V3ARGS on point2d_t - variables being passed around. make isect_line2_ellipse() take 2d - entities and promote the rest to 3d for now. + * [r51648] misc/CMake/test_srcs/builddelta_end.c.in: + cleanup -2011-11-29 22:42 brlcad +2012-07-24 03:47 brlcad - * [r47704] src/fb/fbanim.c, src/fb/fbcmrot.c, src/fb/pixflip-fb.c, - src/remrt/remrt.c, src/remrt/rtsrv.c, src/util/dunncomm.c: - few more select() caller stragglers that didn't include - sys/select.h directly. include bselect.h ftw. + * [r51647] misc/CMake/test_srcs/builddelta_end.c.in: + ugh, global variables suck. pita to find where the periods were + coming from. pass the 'lines' unadulterated so as not to get + mixed up with the install path -2011-11-29 22:36 brlcad +2012-07-23 20:53 carlmoore - * [r47703] src/conv/enf-g.c: - initialize variables before use. atof may fail. + * [r51646] src/util/asc-pl.c: + added usage statement when user is kicked off for sending output + to tty -2011-11-29 22:32 brlcad +2012-07-23 19:37 starseeker - * [r47702] src/fbserv/fbserv.c, src/fbserv/server.c, - src/libbu/backtrace.c, src/libged/delay.c, src/libged/preview.c, - src/libpkg/pkg.c, src/mged/mged.c: - replace includes of sys/select with the new bselect.h header so - we can avoid a gcc 4.6.2 'ISO C forbids braced-groups within - expressions' -O3 -pedantic error. looks like the - '-Werror=edantic' problem is already reported. + * [r51645] src/libbn/tri_tri.c: + init some variables -2011-11-29 22:28 brlcad +2012-07-23 18:11 starseeker - * [r47701] include/CMakeLists.txt, include/Makefile.am, - include/bselect.h: - add a new header for wrapping the logic and functionality - necessary for protecting against a bug in gcc 4.6.2 where the - FD_*() macros aren't marked as extensions causing gcc to emit a - warning during -O3 compilation about ISO C forbidding - braced-groups within expressions. this may need some more - precautions to ensure we only perform this workaround when - absolutely necessary, but it seems to work well for the platform - (linux) exhibiting the error. + * [r51644] src/libbu/tests/CMakeLists.txt: + 57, not 53 -2011-11-29 22:23 brlcad +2012-07-23 18:09 starseeker - * [r47700] src/libged/polyclip.cpp: - curr_lsg won't be initialized if the list is empty. make sure we - don't dereference. + * [r51643] src/libbu/tests/CMakeLists.txt, + src/libbu/tests/bu_vls_vprintf.c: + Add vls_vprintf tests -2011-11-29 21:53 erikgreenwald +2012-07-23 17:39 starseeker - * [r47699] misc/CMake/Fink_MacPorts.cmake: - add include dirs to remove command + * [r51642] src/libbu/tests/CMakeLists.txt: + Add bu_gettime test -2011-11-29 21:50 bob1961 +2012-07-23 15:32 starseeker - * [r47698] src/librt/primitives/extrude/extrude.c: - When using "put" to create an extrude primitive it's possible to - get a segmentation fault if the sketch name is not specified. - This updates rt_extrude_adjust() to check if sketch_name is NULL. + * [r51641] src/libbu/tests/CMakeLists.txt, + src/libbu/tests/bu_quote.c: + Add quote tests - failures match previous failures. -2011-11-29 21:28 n_reed +2012-07-23 15:13 starseeker - * [r47697] src/other/perplex/parser.y, - src/other/perplex/scanner.re, - src/other/perplex/scanner_template.c: - address compiler warnings + * [r51640] src/libbu/tests/CMakeLists.txt, + src/libbu/tests/bu_progname.c: + Add bu_progname test. Failures are the same as before. -2011-11-29 21:14 starseeker +2012-07-23 14:54 starseeker - * [r47696] misc/CMake/BRLCAD_Util.cmake: - Just remove duplicates regardless + * [r51639] src/libbu/tests/CMakeLists.txt: + add comments -2011-11-29 21:05 bob1961 +2012-07-23 14:45 starseeker - * [r47695] src/tclscripts/lib/Ged.tcl: - ae2dir doesn't take a view parameter + * [r51638] src/libbu/tests/CMakeLists.txt, + src/libbu/tests/bu_escape.c: + Add escape tests -2011-11-29 20:17 erikgreenwald +2012-07-23 14:16 starseeker - * [r47694] src/libged/CMakeLists.txt: - Move FB includes to end to try to shuffle macports include dir - out... + * [r51637] src/libbu/tests/CMakeLists.txt, + src/libbu/tests/bu_dirname.c: + Add bu_dirname tests - failing set seems to match the failures + seen in previous testing -2011-11-29 20:05 n_reed +2012-07-23 13:55 starseeker - * [r47693] src/other/perplex/parser.y, - src/other/perplex/perplex.cpp, src/other/perplex/perplex.h, - src/other/perplex/scanner.re, - src/other/perplex/scanner_template.c: - add ability to generate a header file + * [r51636] src/libbu/tests/bu_str_isprint.c: + reorder -2011-11-29 20:04 starseeker +2012-07-23 13:54 starseeker - * [r47692] src/librt/CMakeLists.txt: - just BUILD_STATIC_LIBS + * [r51635] src/libbu/tests/CMakeLists.txt, + src/libbu/tests/bu_str_isprint.c: + Add bu_str_isprint tests -2011-11-29 19:59 starseeker +2012-07-23 13:18 starseeker - * [r47691] src/libdm/CMakeLists.txt: - the libdm static build does need some defines - add those. + * [r51634] src/libbu/tests/CMakeLists.txt, + src/libbu/tests/bu_ctype.c, src/libbu/tests/bu_str_isprint.c: + rename bu_ctype.c -2011-11-29 19:43 erikgreenwald +2012-07-23 13:14 starseeker - * [r47690] src/librt/CMakeLists.txt: - Set OBJ_BREP on all statics, not just windows + * [r51633] src/libbu/tests/CMakeLists.txt, + src/libbu/tests/bu_booleanize.c: + add booleanize tests -2011-11-29 19:34 starseeker +2012-07-23 12:57 starseeker - * [r47689] CMakeLists.txt, src/other/tcl/CMakeLists.txt, - src/other/tk/CMakeLists.txt: - Clean up the OSX framework detection + * [r51632] src/libbu/tests/CMakeLists.txt, + src/libbu/tests/bu_bitv.c: + reorganize libbu tests -2011-11-29 19:33 erikgreenwald +2012-07-23 09:05 phoenixyjll - * [r47688] src/libtclcad/tclcad_obj.c: - remove uninitialized (and basically unused) ret variable + * [r51631] src/librt/opennurbs_ext.cpp: + Output more debug information and deal with BBNodes with no + children within the max depth - copy itself as its child. -2011-11-29 19:22 bob1961 +2012-07-23 04:14 brlcad - * [r47687] src/rt/do.c: - Check rtip for NULL before trying to use withing do_ae(). + * [r51630] src/other/boost/boost/graph/graphviz.hpp: + avoid an 'internal compiler error: output_operand: invalid + expression as operand' error from gcc 4.2.1 when compiling + optimized. apparently something goes horribly wrong with the + implicit promotion of the c-strings to std::strings, so construct + them explicitly. all better. -2011-11-29 19:12 bob1961 +2012-07-22 12:31 brlcad - * [r47686] src/rt/do.c: - Revert the previous commit. + * [r51629] src/libged/edit.c: + coerce the const type more forcibly for gcc 4.2.1 -2011-11-29 18:11 n_reed +2012-07-21 12:26 phoenixyjll - * [r47685] src/other/perplex/parser.y, - src/other/perplex/perplex.cpp, src/other/perplex/perplex.h, - src/other/perplex/scanner_template.c: - added option for specifying output file + * [r51628] src/libged/brep.c, src/librt/opennurbs_ext.cpp, + src/librt/opennurbs_ext.h, + src/librt/primitives/brep/brep_debug.cpp: + The max_dis value can be inputted manually within the command for + testing. -2011-11-29 18:06 starseeker +2012-07-20 21:15 r_weiss - * [r47684] src/other/libutahrle/CMakeLists.txt: - Hmm, must have had a stale libutahrle lib file around. Tweak MSVC - build flags. + * [r51627] src/tclscripts/mged/CMakeLists.txt, + src/tclscripts/mged/Makefile.am, + src/tclscripts/mged/bot_vertex_fuse_all.tcl: + Updated files "mged/Makefile.am", "mged/CMakeLists.txt" and added + file "mged/bot_vertex_fuse_all.tcl". This adds a new command to + mged called "bot_vertex_fuse_all" which will run + "bot_vertex_fuse" on all BOTs in the model. + +2012-07-20 21:04 r_weiss + + * [r51626] include/raytrace.h, src/conv/fast4-g.c, + src/libged/bot_vertex_fuse.c, src/libged/importFg4Section.c, + src/libged/wdb_importFg4Section.c, + src/librt/primitives/bot/bot.c, src/librt/primitives/poly/poly.c: + Updated files "raytrace.h", "importFg4Section.c", + "bot_vertex_fuse.c", "wdb_importFg4Section.c", "fast4-g.c", + "poly.c" and "bot.c" to allow the mged command "bot_vertex_fuse" + (ie function ged_bot_vertex_fuse) to use the current distance + tolerance. + +2012-07-20 19:45 n_reed + + * [r51625] misc/CMake/FindSTL.cmake: + Attempt to fix test causing stdc++ to be linked even when it + doesn't exist; was generating hundreds of warning lines in Visual + Studio. -2011-11-29 17:50 bob1961 +2012-07-20 16:07 starseeker - * [r47683] include/ged.h, src/libged/polyclip.cpp, - src/libtclcad/tclcad_obj.c, src/tclscripts/lib/Ged.tcl: - Added a data_polygons subcommand for saving a polygon as a - sketch. Also added one for importing polygon data from a sketch. + * [r51624] src/libbu/tests/CMakeLists.txt, + src/libbu/tests/bu_bitv_shift.c: + Add bu_bitv_shift test -2011-11-29 17:22 starseeker +2012-07-20 16:01 r_weiss - * [r47682] CMakeLists.txt: - Do a little more to disable librtserver - may have to eventually - do an actual compile test on this, but hopefully this will avoid - some issues. + * [r51623] src/libged/red.c: + Update to file "red.c" functions "_ged_find_matrix" and + "ged_red". Fixed a problem with the regular expression reading a + matrix and added code to save error messages deleted by functions + "ged_kill" and "ged_move". -2011-11-29 17:22 n_reed +2012-07-20 16:00 starseeker - * [r47681] src/other/perplex/Makefile.local, - src/other/perplex/mbo_getopt.cpp, src/other/perplex/mbo_getopt.h, - src/other/perplex/parser.y, src/other/perplex/perplex.c, - src/other/perplex/perplex.cpp, src/other/perplex/perplex.h, - src/other/perplex/scanner.re, - src/other/perplex/scanner_template.c: - borrowing re2c's option parser + * [r51622] src/libbu/tests/CMakeLists.txt, + src/libbu/tests/bu_bitv_vls.c: + add bu_bitv_vls tests -2011-11-29 16:42 bob1961 +2012-07-20 15:48 starseeker - * [r47680] src/rt/do.c: - Remove call to do_ae() from within cm_ae(). This causes a - segmentation fault. Besides, do_ae() gets called later in main.c - if necessary. + * [r51621] src/libbu/tests/CMakeLists.txt, + src/libbu/tests/bu_bitv_to_hex.c: + Add bu_bitv_to_hex tests (these fail when run with bu_bitv too) -2011-11-29 16:17 brlcad +2012-07-20 15:37 starseeker - * [r47679] src/adrt/isst_tcltk.c: - TIE_EXPORT is dead + * [r51620] src/libbu/tests/CMakeLists.txt, + src/libbu/tests/bu_bitv_or.c: + add bu_bitv_or tests -2011-11-29 15:54 brlcad +2012-07-20 15:26 starseeker - * [r47678] src/tclscripts/rtwizard/examples/PictureTypeA/intro.txt, - src/tclscripts/rtwizard/examples/PictureTypeB/intro.txt, - src/tclscripts/rtwizard/examples/PictureTypeC/intro.txt, - src/tclscripts/rtwizard/examples/PictureTypeE/intro.txt, - src/tclscripts/rtwizard/examples/PictureTypeF/intro.txt: - various additional corrections from carl for rtwizard. + * [r51619] src/libbu/tests/CMakeLists.txt, + src/libbu/tests/bu_basename.c: + tweak basename test -2011-11-29 15:46 brlcad +2012-07-20 15:19 starseeker - * [r47677] src/rt/viewedge.c: - carl reported a typo + * [r51618] misc/CMake/CompilerFlags.cmake, + misc/CMake/LEMON_Util.cmake, misc/CMake/PERPLEX_Util.cmake, + misc/CMake/RE2C_Util.cmake: + Add some comments as reminders - need to make proper use of + CMakeParseArguments to simplify the logic in these macros -2011-11-29 14:27 d_rossberg +2012-07-20 14:32 phoenixyjll - * [r47675] src/librt/CMakeLists.txt, src/libwdb/CMakeLists.txt: - the brlcad.dll needs an openNURBS.dll: setting the compiler - switches + * [r51617] src/librt/opennurbs_ext.cpp: + Calculate the threshold according to the size of bounding-box. -2011-11-29 02:14 starseeker +2012-07-20 02:33 starseeker - * [r47674] src/conv/CMakeLists.txt, src/fb/CMakeLists.txt, - src/libbn/CMakeLists.txt, src/libpkg/example/CMakeLists.txt, - src/libpkg/example/client.c, src/nirt/CMakeLists.txt, - src/other/libutahrle/include/rle.h, src/util/CMakeLists.txt: - Make a stab at dealing with more MSVC build issues with new - setup. Not tested yet. + * [r51616] src/libbu/tests/CMakeLists.txt, + src/libbu/tests/bu_bitv_and.c: + Add bu_bitv_and tests -2011-11-29 01:05 starseeker +2012-07-20 02:21 starseeker - * [r47673] include/db5.h, include/tie.h, src/librt/CMakeLists.txt: - DB5 and TIE export prefixes switched to RT + * [r51615] src/libbu/tests/CMakeLists.txt, + src/libbu/tests/bu_hex_to_bitv.c: + Add bu_hex_to_bitv tests -2011-11-29 00:53 starseeker +2012-07-20 01:46 crdueck - * [r47672] src/librt/CMakeLists.txt: - Because librt is using so many different DLL_IMPORTS/EXPORTS - flags, we're going to have to handle a few things manually. Any - reason not to roll TIE_DLL and DB5_DLL into RT_DLL? + * [r51614] src/librt/primitives/sketch/sketch_tess.cpp: + seperate poly_area and carc_area calculations in + rt_sketch_surf_area -2011-11-28 23:45 starseeker +2012-07-20 01:45 starseeker - * [r47671] src/libdm/CMakeLists.txt: - dm-tk still has issues on Windows. + * [r51613] src/libbu/CMakeLists.txt, src/libbu/test, + src/libbu/tests: + be consistent with libbn -2011-11-28 23:32 starseeker +2012-07-20 01:42 starseeker - * [r47670] src/CMakeLists.txt: - remove __WIN32__ - compiler define, and in any case it didn't - have the desired result. + * [r51612] regress/repository.sh, src/libbu/test/CMakeLists.txt, + src/libbu/test/basename.c, src/libbu/test/bitv.c, + src/libbu/test/booleanize.c, src/libbu/test/bu_basename.c, + src/libbu/test/bu_bitv.c, src/libbu/test/bu_booleanize.c, + src/libbu/test/bu_ctype.c, src/libbu/test/bu_dirname.c, + src/libbu/test/bu_escape.c, src/libbu/test/bu_progname.c, + src/libbu/test/bu_quote.c, src/libbu/test/bu_sscanf.c, + src/libbu/test/bu_timer.c, src/libbu/test/bu_vls_vprintf.c, + src/libbu/test/ctype.c, src/libbu/test/dirname.c, + src/libbu/test/escape.c, src/libbu/test/progname.c, + src/libbu/test/quote.c, src/libbu/test/sscanf.c, + src/libbu/test/timer.c, src/libbu/test/vls_vprintf.c: + fix API regression check -2011-11-28 22:03 n_reed +2012-07-19 23:52 cprecup - * [r47669] src/other/perplex/perplex.c, - src/other/perplex/scanner_template.c, - src/other/perplex/template.c: - renamed scanner template + * [r51611] src/libged/dag.cpp: + Implemented the put_me_in_a_bucket routine that figures out the + type of an object, constructs its shape in the graph and adds it + to the list of names. -2011-11-28 21:20 n_reed +2012-07-19 21:51 starseeker - * [r47668] src/other/perplex/parser.y, src/other/perplex/perplex.c: - allow empty code section + * [r51610] src/libbu/test/basename.c: + The expected outcome for the basename test on a platform without + basename is that the test is not run. -2011-11-28 21:12 starseeker +2012-07-19 21:36 starseeker - * [r47667] src/CMakeLists.txt: - Add the __WIN32__ definition - may need it for some headers. + * [r51609] src/libbu/test/CMakeLists.txt: + fix name -2011-11-28 20:32 starseeker +2012-07-19 21:36 starseeker - * [r47666] src/librt/CMakeLists.txt: - Try tweaking the DLL variables for librt - working on unbreaking - Windows... + * [r51608] src/libbu/test/CMakeLists.txt: + fix quoting -2011-11-28 20:23 n_reed +2012-07-19 21:30 starseeker - * [r47665] src/other/perplex/perplex.h, - src/other/perplex/scanner.re, src/other/perplex/template.c: - fix scanning from string + * [r51607] src/libbu/test/CMakeLists.txt, + src/libbu/test/basename.c: + Add basename tests to ctest -2011-11-28 19:26 n_reed +2012-07-19 20:53 starseeker - * [r47664] src/other/perplex/parser.y, src/other/perplex/perplex.c, - src/other/perplex/scanner.re, src/other/perplex/template.c: - addressing some compiler warnings + * [r51606] src/libbu/test/CMakeLists.txt: + Make libbu test programs local -2011-11-28 18:57 starseeker +2012-07-19 20:52 starseeker - * [r47663] misc/CMake/FindGL.cmake: - Whoops, broke the GL logic for MSVC - try again... + * [r51605] src/libbu/test/CMakeLists.txt, + src/libbu/test/basename.c, src/libbu/test/bitv.c, + src/libbu/test/booleanize.c, src/libbu/test/ctype.c, + src/libbu/test/dirname.c, src/libbu/test/escape.c, + src/libbu/test/progname.c, src/libbu/test/quote.c, + src/libbu/test/sscanf.c, src/libbu/test/test_basename.c, + src/libbu/test/test_bitv.c, src/libbu/test/test_booleanize.c, + src/libbu/test/test_ctype.c, src/libbu/test/test_dirname.c, + src/libbu/test/test_escape.c, src/libbu/test/test_progname.c, + src/libbu/test/test_quote.c, src/libbu/test/test_sscanf.c, + src/libbu/test/test_timer.c, src/libbu/test/test_vls_vprintf.c, + src/libbu/test/timer.c, src/libbu/test/vls_vprintf.c: + remove test_ prefix -2011-11-28 18:34 starseeker +2012-07-19 20:44 starseeker - * [r47662] src/other/CMakeLists.txt: - Mark as advanced + * [r51604] src/libbu/CMakeLists.txt, src/libbu/test/CMakeLists.txt, + src/libbu/test/test_basename.c, src/libbu/test/test_bitv.c, + src/libbu/test/test_booleanize.c, src/libbu/test/test_ctype.c, + src/libbu/test/test_dirname.c, src/libbu/test/test_escape.c, + src/libbu/test/test_progname.c, src/libbu/test/test_quote.c, + src/libbu/test/test_sscanf.c, src/libbu/test/test_timer.c, + src/libbu/test/test_vls_vprintf.c, src/libbu/test_basename.c, + src/libbu/test_bitv.c, src/libbu/test_booleanize.c, + src/libbu/test_ctype.c, src/libbu/test_dirname.c, + src/libbu/test_escape.c, src/libbu/test_progname.c, + src/libbu/test_quote.c, src/libbu/test_sscanf.c, + src/libbu/test_timer.c, src/libbu/test_vls_vprintf.c: + Move libbu tests to subdirectory -2011-11-28 18:33 starseeker +2012-07-19 20:41 starseeker - * [r47661] src/libpkg/example/client.c, - src/libpkg/example/server.c: - Start trying to figure out how to properly shuffle a file back - and forth between client and server. Ideally, want to have the - server send the file to the client, have the client reconstitute - the file, and then fire the file back at the server, which - reconstitutes it in turn and maybe compares it to the original - buffer. Not immediately clear how to achieve this yet. + * [r51603] src/libbu/test: + add test subdir to libbu -2011-11-28 17:32 starseeker +2012-07-19 20:26 starseeker - * [r47660] src/other/re2c.dist, src/other/re2c/CMakeLists.txt, - src/other/re2c/actions.cc, src/other/re2c/bootstrap/scanner.cc, - src/other/re2c/code.cc, src/other/re2c/main.cc, - src/other/re2c/parser.h, src/other/re2c/parser.yy, - src/other/re2c/re2c_parser.h, src/other/re2c/scanner.re: - move parser.h to re2c_parser.h - renaming the lemon generated - parser.h file after generation to avoid conflict only works when - src dir != build dir. If doing an in src build, lemon will still - stomp parser.h on its way to generating parser_tokens.h + * [r51602] src/libbn/tests/CMakeLists.txt: + whoops - need unique test names -2011-11-26 01:44 n_reed +2012-07-19 20:22 starseeker - * [r47659] src/libbu/parse.c: - allow braces around shader parameters, e.g. "plastic {sp .5 di - .5}" as well as "plastic sp=.5 di=.5", in bu_shader_to_tcl_list - (used by mater) + * [r51601] CMakeLists.txt, src/libbn/CMakeLists.txt, + src/libbn/tests, src/libbn/tests/CMakeLists.txt, + src/libbn/tests/bn_coplanar_tri_tri_isect.c, + src/libbn/tests/bn_tri_tri_isect.c: + Start adding some tests for tri_tri routines. -2011-11-25 22:15 n_reed +2012-07-19 20:20 starseeker - * [r47658] src/libbu/parse.c: - removed is_stack bool from bu_shader_to_tcl_list; was always - false, and would cause bad output if true + * [r51600] include/bn.h, src/libbn/tri_tri.c: + Want the ability to test for triangle intersection that requires + non-zero overlap area - that doesn't fit well with the API of the + other funtions, so make a special coplanar routine that add the + coplanar specific logic. -2011-11-25 21:59 n_reed +2012-07-19 19:20 crdueck - * [r47657] src/libbu/parse.c: - only treat shader string as stack or envmap if shader name - matches exactly + * [r51599] src/librt/primitives/sketch/sketch_tess.cpp: + added NOTE explaining reasoning behind MINSTEP and MAXSTEP values -2011-11-25 17:02 n_reed +2012-07-19 19:07 n_reed - * [r47656] src/tclscripts/mged/comb.tcl: - Don't save existing color attribute. It overrides comb color set - in gui. + * [r51598] src/other/step/src/express/CMakeLists.txt: + have check-express compile its own EXPRESSinit_init definition + like all the other programs that use fedex.c so we don't need to + conditionally override an express dll definition on windows -2011-11-25 03:46 starseeker +2012-07-19 18:37 bob1961 - * [r47655] misc/CMake/BRLCAD_Util.cmake, - misc/CMake/ThirdParty.cmake, misc/CMake/ThirdParty_TCL.cmake: - Make a stab at consolidating TCL_BUNDLE_OPTION and BUNDLE_OPTION, - mark the _DEFINES vars as advanced. + * [r51597] src/tclscripts/archer/ArcherCore.tcl: + Update ArcherCore::redrawObj to redraw all displayed instances of + obj. -2011-11-25 02:05 starseeker +2012-07-19 18:35 bob1961 - * [r47654] CMakeLists.txt: - not using the contents of the VARIABLES setting - remove this - macro and calls + * [r51596] src/tclscripts/archer/Archer.tcl: + Minor cleanup. -2011-11-25 02:01 starseeker +2012-07-19 16:38 starseeker - * [r47653] CMakeLists.txt, misc/CMake/CMakeFiles.cmake: - Move macro out of toplevel CMakeLists.txt file + * [r51595] misc/CMake/BRLCAD_Targets.cmake: + Add a flag to BRLCAD_ADDEXEC, wrap some common logic into a macro -2011-11-24 05:00 starseeker +2012-07-19 15:49 n_reed - * [r47652] src/libged/simulate/simrt.c: - Hmm - gentoo build didn't like TRUE and FALSE... + * [r51594] src/other/step/src/cldai/CMakeLists.txt, + src/other/step/src/cleditor/CMakeLists.txt, + src/other/step/src/clstepcore/CMakeLists.txt, + src/other/step/src/fedex_plus/CMakeLists.txt, + src/other/step/src/fedex_python/CMakeLists.txt: + consistently use spaces rather than semicolons in list arguments -2011-11-24 03:43 louipc +2012-07-19 15:37 n_reed - * [r47651] misc/archlinux/PKGBUILD: - Update PKGBUILD... - Uses package function - Update dependencies - Use cmake for configuration. - Trim comments. + * [r51593] src/other/step/src/exppp/CMakeLists.txt: + exppp needs base lib for getopt -2011-11-24 02:49 starseeker +2012-07-19 14:01 starseeker - * [r47650] misc/CMake/BRLCAD_Util.cmake, src/gtools/CMakeLists.txt, - src/libpkg/example/CMakeLists.txt: - rename, add a utility macro for easer testing/assignment of - defines without lists... + * [r51592] include/bn.h, src/libbn/tri_tri.c: + nevermind exposing the coplanar subroutine - do that only if it + looks like the standard routine is a significant performance + overhead (doubtful) -2011-11-24 02:38 starseeker +2012-07-19 11:02 anrgmrty - * [r47649] misc/CMake/BRLCAD_Util.cmake, src/conv/CMakeLists.txt, - src/librt/CMakeLists.txt, src/libwdb/CMakeLists.txt, - src/proc-db/CMakeLists.txt: - Do a little more reworking of local defines - also make the - ADD_DEFS routines more robust/cleaner. + * [r51591] src/libanalyze/voxels.c: + callback functions hidden, hit function renamed -2011-11-24 02:08 starseeker +2012-07-19 11:01 anrgmrty - * [r47648] misc/CMake/BRLCAD_Util.cmake, src/libdm/CMakeLists.txt, - src/libtclcad/CMakeLists.txt, src/mged/CMakeLists.txt, - src/mged/attach.c: - Get the build working again. Interestingly, the new approach to - defines appears to actually have beneficial DRY consequences even - beyond MSVC - the display manager definitions needed for libdm - had been required in libtclcad and mged as well, but now they - automatically inherit libdm's settings. Which means we can't - cheat by defining something for a library and then defining that - same flag differently when compiling an app that uses that - library, but on the whole an interesting result. + * [r51590] src/mged/setup.c: + added voxelize command -2011-11-24 00:26 starseeker +2012-07-19 11:00 anrgmrty - * [r47647] misc/CMake/BRLCAD_Util.cmake, - misc/CMake/util_macros.cmake: - Not only is it not ours, it doesn't apper to be used anywhere. - Just clear it until there's a clear need. + * [r51589] src/conv/g-voxel.c: + static callback functions -2011-11-24 00:24 starseeker +2012-07-19 10:59 anrgmrty - * [r47646] misc/CMake/ResolveCompilerPaths.cmake: - Not our file - revert copyright statement + * [r51588] src/libged/voxelize.c: + static callback functions -2011-11-24 00:20 starseeker +2012-07-19 10:48 anrgmrty - * [r47645] misc/CMake/distcheck_buildsys.cmake.in: - Add header and footer to core distcheck file checking logic + * [r51587] include/ged.h: + ged.h changed to have ged_voxelize function -2011-11-24 00:15 starseeker +2012-07-19 07:25 crdueck - * [r47644] misc/CMake/CheckCFileRuns.cmake: - Tweak CheckCFileRuns.cmake + * [r51586] src/librt/primitives/sketch/sketch_tess.cpp: + fix some errors in the calculations for area -2011-11-23 23:46 starseeker +2012-07-19 06:42 crdueck - * [r47643] misc/CMake/ThirdParty.cmake: - LIBRARY->EXECUTABLE + * [r51585] src/librt/primitives/sketch/sketch_tess.cpp: + approx_bezier interval step size now varies with curvature. Step + size is small when curvature is large (more likely to deviate + from approximation arc). updated minimum step size for + approx_bezier and bezier_inflection to a more reasonable 0.001 + instead of RT_LEN_TOL -2011-11-23 23:16 brlcad +2012-07-19 04:53 phoenixyjll - * [r47642] src/other/re2c/CMake/FindLEMON.cmake, - src/other/step/CMake/FindLEMON.cmake: - sync top-level cmake file + * [r51584] src/librt/primitives/brep/brep_debug.cpp: + Use bigger plotres. -2011-11-23 22:52 brlcad +2012-07-19 04:52 phoenixyjll - * [r47641] misc/CMake/BRLCAD_Util.cmake: - mark BRLCAD_LIBS as advanced + * [r51583] src/librt/opennurbs_ext.cpp: + Avoid bu_malloc(0) failure. -2011-11-23 22:47 brlcad +2012-07-18 23:18 cprecup - * [r47640] misc/CMake/ThirdParty.cmake: - if BRLCAD_BUNDLED_LIBS is set to SYSTEM and system-installed libs - aren't available, it's not our problem -- let them proceed as if - it was installed and found since that's what they asked for. - perhaps useful for distribution debugging. + * [r51582] src/libged/dag.cpp: + The output structure now contains three vectors (instead of hash + tables) with names of objects. Created a new master hash table + called objects with the names and IDs of all the objects. -2011-11-23 22:35 brlcad +2012-07-18 20:56 n_reed - * [r47639] misc/CMake/ThirdParty.cmake: - this seems to get things back to working for the parent - BRLCAD_BUNDLED_LIBS option. wasn't accounting for a stray - STREQUAL in the parent logic and wasn't setting the ON/OFF - variable consistently with the statements being printed + * [r51581] src/other/step/src/fedex_plus/classes.c: + s/snprintf/sprintf in absence of snprintf wrapper. sprintf is + pretty safe for this usage; SCL git 910faf0 -2011-11-23 21:58 brlcad +2012-07-18 20:54 starseeker - * [r47638] misc/CMake/ThirdParty.cmake: - getting a feel for how the aggregate BRLCAD_BUNDLED_LIBS was - implemented. this makes ccmake report proper propagation of the - parent BUNDLED (AUTO) setting (but still keying off AUTO at - higher precedence than BUNDLED). + * [r51580] include/bn.h, src/libbn/CMakeLists.txt, + src/libbn/tri_tri.c: + Start putting the tri-tri intersect logic into libbn. Eventually + this will replace the libgcv verison. Untested as yet - did the + vmath macro conversion and other tweaks, but won't know its right + until tested. This begs for local unit testing. -2011-11-23 21:42 bob1961 +2012-07-18 18:53 n_reed - * [r47637] include/ged.h: - Added gdps_scale to ged_data_polygon_state. + * [r51579] src/other/step/src/exppp/exppp-main.c, + src/other/step/src/express/inithook.c, + src/other/step/src/fedex_plus/fedex_main.c, + src/other/step/src/fedex_python/src/fedex_main_python.c: + strictly match EXPRESSinit_init defs to the express.h declaration -2011-11-23 21:02 starseeker +2012-07-18 17:52 n_reed - * [r47636] bench/CMakeLists.txt, include/rt/defines.h, - misc/CMake/BRLCAD_Util.cmake, misc/win32-msvc/Dll/CMakeLists.txt, - src/adrt/CMakeLists.txt, src/adrt/librender/render_internal.h, - src/gtools/CMakeLists.txt, src/libbu/CMakeLists.txt, - src/libpkg/example/CMakeLists.txt: - This should get the build working again on non Windows - platforms... also, start the process of clearing out BRLCAD_DLL + * [r51578] src/other/step/data/CMakeLists.txt, + src/other/step/src/express/CMakeLists.txt: + Rename fedex program to check-express. Need to link it against + base lib; SCL git a42a448 -2011-11-23 21:02 brlcad +2012-07-18 15:55 n_reed - * [r47635] src/rt/view.c: - reduce the code duplication in ambient occlusion. pulling the - branch out of both loops is inconsequential to performance in the - long term. + * [r51577] src/other/step/src/express/fedex.c: + don't bother making practically useless fedex -z debug flag + portable; just remove it -2011-11-23 20:57 brlcad +2012-07-18 15:24 starseeker - * [r47634] src/rt/view.c: - can't compile due to cmake errors, but add an ambOffset parameter - so you can control how far we pull away from a surface before - shooting ambient rays. this is intended to help 'smooth out' - shots against polygonal models where you get artifacts from - hitting nearby/neighboring polygons. + * [r51576] src/other/step/cmake/Generated_Source_Utils.cmake, + src/other/step/src/express/generated/verification_info.cmake: + Thanks Keith for reminding me of the potential problem - strip + newlines out of md5 calculations so Windows can't toss in a + monkey wrench. -2011-11-23 20:23 brlcad +2012-07-18 15:22 starseeker - * [r47633] Makefile.am: - last one, repeat the deprecation warning when they run autotools - make too. + * [r51575] src/other/step/src/express/generated/expscan.c: + Sync generated source file. -2011-11-23 20:18 brlcad +2012-07-18 10:36 phoenixyjll - * [r47632] configure.ac: - put a deprecation notice in the summary too since most people - actually read it. + * [r51574] src/librt/opennurbs_ext.cpp, + src/librt/primitives/brep/brep_debug.cpp: + Some minor changes to avoid compiler warnings. -2011-11-23 20:15 brlcad +2012-07-18 06:33 phoenixyjll - * [r47631] configure.ac: - add a similar massive deprecation notice with an annoying pause - to configure. + * [r51573] src/libged/brep.c, + src/librt/primitives/brep/brep_debug.cpp: + Add an option to the brep command in MGED to test surface-surface + intersection. -2011-11-23 20:08 starseeker +2012-07-18 06:31 phoenixyjll - * [r47630] misc/CMake/FindGL.cmake, misc/CMake/FindX11.cmake, - misc/CMake/FindZLIB.cmake: - Add the rest of the 'full' licenses for the Kitware stuff - was - hoping to commit these changes back to Kitware, but either way - we'll have to hang on to these until we can require a modern - enough CMake with the changes. + * [r51572] src/librt/opennurbs_ext.cpp: + Free the allocated ON_Brep object. -2011-11-23 20:03 starseeker +2012-07-18 03:45 phoenixyjll - * [r47629] misc/CMake/FindLEX.cmake: - FindLEX.cmake is basically FindFLEX.cmake slightly generalized, - and we already had ourselves listed in the 'standard' CMake BSD - license. We may not even need this at all once the - perplex/re2c/lemon work is complete... + * [r51571] src/librt/opennurbs_ext.cpp, src/librt/opennurbs_ext.h: + Use pointer to avoid copy-time crashing. -2011-11-23 20:00 starseeker +2012-07-18 00:04 crdueck - * [r47628] misc/CMake/FindLEMON.cmake: - FindLEMON was originally based on FindBISON - note that fact. - Trying to stay close to the formatting of 'standard' CMake - modules for those that we might have a hope of getting accepted - into CMake proper at some point. + * [r51570] src/librt/primitives/sketch/sketch_tess.cpp: + use the scalar curvature value to decrease step size when + curvature is low (close to an inflection point) in + bezier_inflection() -2011-11-23 19:59 brlcad +2012-07-17 21:10 starseeker - * [r47627] autogen.sh: - move the deprecation section down so we're more sure echo -n - work. still before anything is printed. + * [r51569] src/libpkg/tpkg.c: + this style of quellage doesn't work with clang - need UNUSED -2011-11-23 19:54 starseeker +2012-07-17 21:03 starseeker - * [r47626] misc/CMake/CheckPrototypeExists.cmake: - CheckPrototypeExists.cmake is from KDE, flesh out their BSD - license and add a link to the file origin + * [r51568] src/other/step/cmake/SCL_Utils.cmake: + fix SCL cmake logic -2011-11-23 19:47 starseeker +2012-07-17 20:51 starseeker - * [r47625] misc/CMake/BRLCAD_Util.cmake, - misc/CMake/CheckCFileRuns.cmake: - Add the full license text for ChechCFileRuns.cmake - need to fix - up the rest of the Kitware-based files to have the full BSD - license txt. + * [r51567] misc/CMake/FindPERPLEX.cmake, src/other/CMakeLists.txt, + src/other/perplex/CMakeLists.txt, + src/other/step/cmake/FindPERPLEX.cmake: + Tweak handling of perplex template -2011-11-23 19:38 brlcad +2012-07-17 19:25 n_reed - * [r47624] autogen.sh: - given the magnitude of impact, add a massive deprecation notice - to begin our requisite deprecation notification process. refer - them to the INSTALL file for now since there's not (yet?) an - equivalent step + * [r51566] src/other/step/cmake/SCL_Utils.cmake, + src/other/step/data/CMakeLists.txt, + src/other/step/src/cldai/CMakeLists.txt, + src/other/step/src/cleditor/CMakeLists.txt, + src/other/step/src/clstepcore/CMakeLists.txt, + src/other/step/src/clutils/CMakeLists.txt, + src/other/step/src/exppp/CMakeLists.txt, + src/other/step/src/fedex_plus/CMakeLists.txt, + src/other/step/src/fedex_python/CMakeLists.txt: + update dll export macros and remove local definitions; SCL git + 7be54f3 -2011-11-23 19:15 brlcad +2012-07-17 18:58 n_reed - * [r47623] misc/CMake/BRLCAD_CheckFunctions.cmake, - misc/CMake/BRLCAD_CompilerFlags.cmake, - misc/CMake/BRLCAD_Dependent_Options.cmake, - misc/CMake/BRLCAD_Util.cmake, misc/CMake/CheckCFileRuns.cmake, - misc/CMake/CheckPrototypeExists.cmake, - misc/CMake/CompilerFlags.cmake, misc/CMake/DiffCache.cmake, - misc/CMake/FindGL.cmake, misc/CMake/FindLEMON.cmake, - misc/CMake/FindLEX.cmake, misc/CMake/FindOIIO.cmake, - misc/CMake/FindOPENNURBS.cmake, misc/CMake/FindOSL.cmake, - misc/CMake/FindOpenEXR.cmake, misc/CMake/FindPkgMacros.cmake, - misc/CMake/FindRE2C.cmake, misc/CMake/FindREGEX.cmake, - misc/CMake/FindSCL.cmake, misc/CMake/FindShellDeps.cmake, - misc/CMake/FindTBB.cmake, misc/CMake/FindTCL.cmake, - misc/CMake/FindTERMLIB.cmake, misc/CMake/FindUTAHRLE.cmake, - misc/CMake/FindX11.cmake, misc/CMake/FindYACC.cmake, - misc/CMake/FindZLIB.cmake, misc/CMake/Fink_MacPorts.cmake, - misc/CMake/ResetCache.cmake, - misc/CMake/ResolveCompilerPaths.cmake, - misc/CMake/ThirdParty.cmake, misc/CMake/ThirdParty_TCL.cmake, - misc/CMake/util_macros.cmake: - as these are build system infrastructure and not actual build - rules, they should include the requisite license headers and - footers like any other source file. CMakeLists.txt don't need the - wrapping, but macro files should + * [r51565] src/librt/primitives/sketch/sketch_tess.cpp: + s/loop/bez_to_carcs_loop/ to match other renamed labels -2011-11-23 19:09 starseeker +2012-07-17 17:42 crdueck - * [r47622] include/analyze.h, include/bn.h, include/bu.h, - include/db5.h, include/dm.h, include/fbio.h, include/fft.h, - include/gcv.h, include/ged.h, include/light.h, include/mater.h, - include/optical.h, include/orle.h, include/pc.h, include/pkg.h, - include/raytrace.h, include/shadefuncs.h, include/spm.h, - include/sysv.h, include/tclcad.h, include/tie.h, include/wdb.h: - Convert all the include headers to the _DLL_IMPORTS format + * [r51564] src/librt/primitives/sketch/sketch_tess.cpp: + use signed curvature to find inflection point in + bezier_inflection(), change test condition for approx_bezier(), + fix some errors -2011-11-23 19:00 brlcad +2012-07-17 16:43 n_reed - * [r47621] misc/CMake/BRLCAD_Util.cmake: - sync up with the same that was done for ThirdParty_Tcl.cmake - using consistent printing statements (e.g., they might not be - libs), relax to substring matching and reduced logic where we - can. inject blank lines, separators, and comments for improved - readability. + * [r51563] src/other/step/data/CMakeLists.txt, + src/other/step/include/xgetopt.h, + src/other/step/src/base/CMakeLists.txt, + src/other/step/src/base/sc_getopt.cc, + src/other/step/src/base/sc_getopt.h, + src/other/step/src/express/fedex.c, + src/other/step/src/fedex_plus/CMakeLists.txt, + src/other/step/src/fedex_plus/xgetopt.cc, + src/other/step/src/fedex_python/CMakeLists.txt: + rename getopt to sc_getopt and include it as part of base lib; + SCL git 1a60cf9 and dd93a96 -2011-11-23 18:52 starseeker +2012-07-17 14:55 n_reed - * [r47620] misc/CMake/ThirdParty.cmake: - stray duplicate comment line + * [r51562] src/other/step/src/cleditor/instmgr.h: + remove conflicting EntityClassName declaration -2011-11-23 18:48 brlcad +2012-07-17 12:52 n_reed - * [r47619] misc/CMake/ThirdParty.cmake: - big restructuring in support of better reporting for whether - bundled or sys libs are being used (and why). few cases weren't - being handled and the string STREQUAL testing was causing cmake - to report warnings. simplify string comparisons to substrings - where applicable, reduce/reorder logic for clarity, and reword - messages for consistency. + * [r51561] src/other/perplex/perplex_template.c: + finish incomplete substitution from r51480 -2011-11-23 18:48 starseeker +2012-07-17 12:28 n_reed - * [r47618] misc/CMake/BRLCAD_Util.cmake: - remove debug prints for now. + * [r51560] src/other/clipper/clipper.hpp: + need to export non-member functions -2011-11-23 18:42 starseeker +2012-07-17 11:39 n_reed - * [r47617] misc/CMake/BRLCAD_Util.cmake: - Make an initial stab at support for library-wide usage of - _DLL_IMPORTS approach to building with MSVC. This is just - hte macro logic and (for the moment, until the rest of this is - worked out) the Windows build is almost certainly well and truly - busted. + * [r51559] src/librt/primitives/sketch/sketch_tess.cpp: + change label name to appease MSVC -2011-11-23 18:40 brlcad +2012-07-17 05:41 phoenixyjll - * [r47616] misc/CMake/ThirdParty_TCL.cmake: - more logic simplification. reorder IF/ELSE to avoid needing NOT, - eliminate need for multiple comparisons by using substring - comparison. reword cache string to indicate what action is being - taken. + * [r51558] src/librt/opennurbs_ext.cpp, src/librt/opennurbs_ext.h: + Fit the points into NURBS curves using polyline approximation. + (WIP) -2011-11-23 18:29 brlcad +2012-07-17 03:38 starseeker - * [r47615] misc/CMake/ThirdParty_TCL.cmake: - simplify logic with relaxed substring searching + * [r51557] misc/CMake/BRLCAD_Summary.cmake: + Show LIB_DIR as well. -2011-11-23 18:18 brlcad +2012-07-17 03:35 starseeker - * [r47614] misc/CMake/ThirdParty_TCL.cmake: - trying to make some sense of the logic, add ws for readability + * [r51556] CMakeLists.txt: + reject full paths for BIN_DIR, LIB_DIR and friends. -2011-11-23 18:14 brlcad +2012-07-17 02:07 starseeker - * [r47613] CMakeLists.txt: - similar, relax string comparisons. makes the unknown value test a - little more robust + * [r51555] src/other/step/src/express/CMakeLists.txt: + hmm - exppp tried to build before fedex, and didn't have + version_string. Make the version string dependency trigger on + expres build -2011-11-23 18:12 brlcad +2012-07-17 01:36 starseeker - * [r47612] misc/CMake/BRLCAD_CompilerFlags.cmake, - misc/CMake/CompilerFlags.cmake: - relax the comparisons to substring matches + * [r51554] CMakeLists.txt: + Stray variable left over from early days. -2011-11-23 16:59 brlcad +2012-07-17 01:34 starseeker - * [r47611] HACKING: - gentoo folks moved brl-cad from sci-misc to media-gfx + * [r51553] src/other/libtermlib/CMakeLists.txt: + termap goes in CONF_DIR, not DATA_DIR/etc -2011-11-23 11:50 erikgreenwald +2012-07-17 01:28 starseeker - * [r47610] include/bu.h: - add missing #endif + * [r51552] CMakeLists.txt, src/other/CMakeLists.txt: + Strip out attempt at LFS specific prefix settings + +2012-07-17 01:19 starseeker + + * [r51551] CMakeLists.txt, doc/CMakeLists.txt, + doc/docbook/CMakeLists.txt, + doc/docbook/articles/en/CMakeLists.txt, + doc/docbook/articles/it/CMakeLists.txt, + doc/docbook/books/en/CMakeLists.txt, + doc/docbook/lessons/en/CMakeLists.txt, + doc/docbook/lessons/es/CMakeLists.txt, + doc/docbook/presentations/en/CMakeLists.txt, + doc/html/CMakeLists.txt, doc/legal/CMakeLists.txt, + misc/CMake/BRLCAD_Targets.cmake, misc/CMake/DocBook.cmake: + Take the DATA_DIR assumption out of DOC_DIR targets - DOC_DIR + output still defaults to using DATA_DIR, but is no longer forced + to. -2011-11-23 04:13 brlcad +2012-07-17 01:04 brlcad - * [r47609] NEWS: - nick added a new -r orientation option for the obj-g importer so - you can specify 1/2/3 as values for unoriented, ccw, and cw - orientation. + * [r51550] misc/brlcad-config.in: + eliminate authorship from file -2011-11-23 01:53 starseeker +2012-07-16 22:44 starseeker - * [r47608] src/other/clipper/clipper.hpp: - Upgrade the export macro logic for clipper (hopefully)... + * [r51549] CMakeLists.txt, include/bu.h, src/archer/archer, + src/libbu/brlcad_path.c, src/libbu/tcl.c, + src/other/CMakeLists.txt, src/tclscripts/archer/BotUtility.tcl, + src/tclscripts/rtwizard/rtwizard.tcl: + Do some experimentation with altering LIB_DIR. Need some + introspective ability to know the relative library path, so add a + command that can give us that. DOC_DIR needs some work - should + be more like MAN_DIR and not necessarily assume DATA_DIR is the + final destination. Looks like the main problem with moving things + out of lib is (surprise) the Tcl/Tk initialization process and + packages. -2011-11-23 01:53 brlcad +2012-07-16 22:39 starseeker - * [r47607] include/bu.h: - starseeker right on both counts, need the empty BU_EXPORT so - preprocessor makes the symbol go away and the error case needs to - be tested first + * [r51548] misc/CMakeLists.txt: + brlcad-config is executable -2011-11-23 01:45 starseeker +2012-07-16 22:04 crdueck - * [r47606] src/other/clipper/CMakeLists.txt: - tweak clipper dll CMake logic. + * [r51547] src/librt/primitives/sketch/sketch_tess.cpp: + added HIDDEN to declaration of auxillary functions. new algorithm + for approx_bezier() to split at the point of maximum deviation, + produces far less carc_segs for the same tolerance. some code + cleanup -2011-11-23 01:44 brlcad +2012-07-16 19:35 starseeker - * [r47605] include/bu.h: - make sure BU_EXPORT isn't already defined (so callers have some - means to override), and error out if caller tries to import and - export simultaneously. + * [r51546] CMakeLists.txt, db/CMakeLists.txt, doc/CMakeLists.txt, + doc/docbook/articles/en/CMakeLists.txt, + doc/docbook/articles/it/CMakeLists.txt, + doc/docbook/books/en/CMakeLists.txt, + doc/docbook/lessons/en/CMakeLists.txt, + doc/docbook/lessons/es/CMakeLists.txt, + doc/docbook/presentations/en/CMakeLists.txt, + doc/html/CMakeLists.txt, doc/legal/CMakeLists.txt, + misc/CMake/BRLCAD_Targets.cmake, misc/CMakeLists.txt, + pix/CMakeLists.txt, src/archer/CMakeLists.txt, + src/conv/CMakeLists.txt, src/gtools/CMakeLists.txt, + src/libpkg/CMakeLists.txt, src/librt/CMakeLists.txt, + src/nirt/CMakeLists.txt, src/rt/CMakeLists.txt, + src/tclscripts/CMakeLists.txt, + src/tclscripts/archer/CMakeLists.txt, + src/tclscripts/archer/images/CMakeLists.txt, + src/tclscripts/boteditor/CMakeLists.txt, + src/tclscripts/geometree/CMakeLists.txt, + src/tclscripts/hv3/CMakeLists.txt, + src/tclscripts/lib/CMakeLists.txt, + src/tclscripts/mged/CMakeLists.txt, + src/tclscripts/pl-dm/CMakeLists.txt, + src/tclscripts/rtwizard/CMakeLists.txt, + src/tclscripts/rtwizard/lib/CMakeLists.txt, + src/tclscripts/sdialogs/CMakeLists.txt, + src/tclscripts/sdialogs/scripts/CMakeLists.txt, + src/tclscripts/swidgets/CMakeLists.txt, + src/tclscripts/swidgets/images/CMakeLists.txt, + src/tclscripts/swidgets/scripts/CMakeLists.txt, + src/tclscripts/util/CMakeLists.txt, src/util/CMakeLists.txt, + src/vfont/CMakeLists.txt: + Fix so we don't need to use DATA_DIR everywhere - put MAN_DIR + back to the DATA_DIR by default, until we figure out what we want + to do as a standard behavior. -2011-11-22 21:14 starseeker +2012-07-16 18:36 bob1961 - * [r47604] src/libged/CMakeLists.txt, - src/other/clipper/clipper.hpp: - Try a localized test with libged and clipper... + * [r51545] src/tclscripts/archer/Archer.tcl: + Removed a debug statement. -2011-11-22 21:05 starseeker +2012-07-16 18:34 crdueck - * [r47603] CMakeLists.txt, misc/CMake/BRLCAD_Util.cmake, - misc/CMake/CompilerFlags.cmake: - Start preparing to use some kind of test for the declspec - import/export flags - sub in a variable instead of MSVC platform - conditional. + * [r51544] src/librt/opennurbs_ext.h: + Ray intersection using ON_Intersect() was producing strange + results, the simple formula used originally works much better -2011-11-22 20:57 starseeker +2012-07-16 18:06 anrgmrty - * [r47602] include/bu.h: - Stub in an example for how the new declspec ifdef will look... + * [r51543] src/libanalyze/voxels.c: + rt_prep function added into voxelize function of voxels.c, + callback removed -2011-11-22 20:29 bob1961 +2012-07-16 18:01 anrgmrty - * [r47601] src/libtclcad/tclcad_obj.c: - The number of segments calculations for circles and ellipses - needs to be scaled by gv_scale because "r" is in view - coordinates. Also set a minimum for the number of segments. + * [r51542] src/conv/g-voxel.c: + callback functions for printing voxel data, rt_prep_parallel + moved to voxels.c -2011-11-22 20:17 bob1961 +2012-07-16 17:58 anrgmrty - * [r47600] include/ged.h, src/libtclcad/tclcad_obj.c: - Change matp_t members of ged_data_polygon_state to mat_t. Added - gdps_rotation and gdps_origin to ged_data_polygon_state. Getting - ready to export ged_polygons to sketches. + * [r51541] src/libged/voxelize.c: + callback functions removed from analyze.h and included here -2011-11-22 19:23 starseeker +2012-07-16 17:57 anrgmrty - * [r47599] src/libpkg/tpkg.c: - tpkg should be checking for SIGPIPE too... + * [r51540] include/analyze.h: + analyze.h unused functions for voxelize removed -2011-11-22 19:22 starseeker +2012-07-16 14:37 starseeker - * [r47598] src/libpkg/example/server.c: - put SIGPIPE ignore back in, wrapping it this time for platforms - that don't define it (Windows) + * [r51539] src/other/perplex/perplex.cpp: + Humph. Compiler is still looking for certain warnings even when + #if 0 is in play, for some reason - make this a real comment. -2011-11-22 19:22 bob1961 +2012-07-16 14:30 starseeker - * [r47597] src/libtclcad/tclcad_obj.c: - Update bindings for the top and bottom views to match MGED. + * [r51538] src/other/perplex/CMakeLists.txt, + src/other/perplex/mbo_getopt.cpp, src/other/perplex/mbo_getopt.h: + Add header to perplex CMakeLists.txt file, tweak mbo info + comments -2011-11-22 19:05 indianlarry +2012-07-16 14:22 starseeker - * [r47596] include/rtgeom.h: - magic for solid type 'uint32_t ' not 'unsigned long', 'brep' - debug command was broken where long not 32bit + * [r51537] src/other/perplex/CMakeLists.txt: + ws -2011-11-22 18:26 starseeker +2012-07-16 14:22 starseeker - * [r47595] CMakeLists.txt, misc/CMake/BRLCAD_Util.cmake: - Ah - the '-' to '_' conversion ended up with BRLCAD_BUNDLED_LIBS - being listed in its own alias list. That exposes two problems - - one it doesn't need to list itself as an alias, and two the macro - shouldn't be treating it as an alias when it's the actual - variable (Bad Things happen.) + * [r51536] src/other/re2c/CMakeLists.txt: + ws, downcase -2011-11-22 18:07 bob1961 +2012-07-16 14:20 starseeker - * [r47594] src/libtclcad/tclcad_obj.c: - Change the number of segments calculation to reflect the fact - that "r" is the radius. + * [r51535] src/other/lemon/CMakeLists.txt: + ws -2011-11-22 17:59 bob1961 +2012-07-16 14:16 starseeker - * [r47593] include/ged.h, include/tclcad.h, - src/libtclcad/tclcad_obj.c, src/tclscripts/lib/Ged.tcl: - Add polygon contour mode for specifying arbitrary polygonal - contours. + * [r51534] src/other/lemon/CMakeLists.txt, + src/other/perplex/CMakeLists.txt, src/other/re2c/CMakeLists.txt: + Add install logic for re2c and lemon. For all three, add a 'skip + install' flag that can be set. By default, the installed BRL-CAD + tree will now be able to supply a working perplex/re2c/lemon + stack. -2011-11-22 17:54 n_reed +2012-07-16 13:41 starseeker - * [r47592] doc/docbook/system/man1/en/obj-g.xml, src/conv/obj-g.c: - add r option to obj-g for setting orientation on imported bots + * [r51533] misc/CMake/FindPERPLEX.cmake, + src/other/step/cmake/FindPERPLEX.cmake: + Upgrade template searching logic a bit, in light of new perplex + build logic. In the 'standard' case, builds using perplex now + stand a chance of 'just working' without requiring manual + template specification. -2011-11-22 17:42 bob1961 +2012-07-16 13:33 starseeker - * [r47591] src/libdm/dm-ogl.c, src/libdm/dm-wgl.c: - Ignore if less than 2 points. + * [r51532] src/other/CMakeLists.txt: + Let perplex have its own share directory, since it's a separate + tool. -2011-11-22 17:07 brlcad +2012-07-16 13:32 starseeker - * [r47590] TODO: - uv callback missing for BoT, NMG, and BREP + * [r51531] src/other/perplex/CMakeLists.txt: + Do with perplex's template what we do with lemon's template. -2011-11-22 17:01 brlcad +2012-07-16 13:25 starseeker - * [r47589] TODO: - looks like twist is also not an option, so make sure we can set - the size and rotation + * [r51530] src/other/perplex/CMakeLists.txt: + ws -2011-11-22 15:49 indianlarry +2012-07-16 13:23 starseeker - * [r47588] src/conv/CMakeLists.txt: - Wrapped ON_DLL_IMPORTS definition for MSVC only. + * [r51529] src/other/perplex/CMakeLists.txt: + Add install logic for perplex -2011-11-21 20:13 n_reed +2012-07-16 13:09 starseeker - * [r47587] src/other/perplex/Makefile.local, - src/other/perplex/perplex.h, src/other/perplex/scanner.re, - src/other/perplex/template.c: - fixed start condition initialization; removed requirement for EOF - rule in input + * [r51528] src/other/step/src/express/CMakeLists.txt: + Fix dependencies for verification targets. -2011-11-21 18:04 n_reed +2012-07-16 12:59 starseeker - * [r47586] src/other/perplex/parser.y, - src/other/perplex/scanner.re: - fix separator pattern; properly close output scanner + * [r51527] src/other/step/src/express/CMakeLists.txt: + ws -2011-11-21 17:45 n_reed +2012-07-16 12:14 bob1961 - * [r47585] src/other/perplex/scanner.re, - src/other/perplex/template.c: - don't allocate new token string without freeing existing string + * [r51526] include/ged.h, src/libged/polyclip.cpp, + src/libtclcad/tclcad_obj.c, src/tclscripts/lib/Ged.tcl: + Expose clipper's ability to calculate the area of a polygon. -2011-11-21 17:43 n_reed +2012-07-16 03:13 phoenixyjll - * [r47584] doc/bison_to_lemon.txt: - more on assigning types to symbols + * [r51525] src/librt/opennurbs_ext.cpp: + Need not push_back the node pairs when we arrive at the bottom of + the trees. -2011-11-21 16:40 brlcad +2012-07-16 03:04 phoenixyjll - * [r47583] NEWS: - butler added an initial stab and providing ambient occlusion to - rt. this is presently disabled by default and enabled with the - ambSamples and ambRadius rt variables. more work is needed on - controlling the sample pattern and noise. + * [r51524] src/librt/opennurbs_ext.cpp: + m_u and m_v is updated when building surface bounding boxes. Fix + small bugs in the surface-surface intersection function. (WIP) -2011-11-21 15:23 brlcad +2012-07-16 02:37 brlcad - * [r47582] src/libbu/vls.c: - it was an interesting idea, but not a great one. did a quick test - to see how much time might be gained if we skipped the initial - vls allocation. looked to be about 25% for bu_vls_printf() which - is marginally interesting at best. probably not worth the - complexity and long-term maintenance (error-prone), at least for - now. + * [r51523] src/librt/primitives/sketch/sketch_tess.cpp: + use the new V2CROSS() macro (consequently adds parens which could + have mattered down the road in a rather hard-to-detect way) -2011-11-20 00:01 tbrowder2 +2012-07-16 02:31 brlcad - * [r47581] doc/README.Linux: - add info on Debian packages and Fedora rpms + * [r51522] include/vmath.h: + stub in the analog of a cross product for 2d vectors consistent + with vmath API adding a new V2CROSS() macro. since the analog + doesn't result in a vector, return the scalar instead of setting + it to a provided variable. stub in HCROSS while we're at it. -2011-11-19 23:59 tbrowder2 +2012-07-16 01:57 crdueck - * [r47580] HACKING.cmake: - add references to Debian packages and Fedora rpms + * [r51521] src/librt/primitives/sketch/sketch_tess.cpp: + reduce long lines with a short macro -2011-11-19 22:40 brlcad +2012-07-16 01:47 crdueck - * [r47579] TODO.cmake: - add two items. eliminate MSVC from non-top-level CMakeLists.txt - files and add deprecation warnings. + * [r51520] src/librt/primitives/sketch/sketch_tess.cpp: + calculate area along edges as they're found, instead of + accumulating the edges and calculating them all at the end -2011-11-19 21:01 brlcad +2012-07-16 00:08 crdueck - * [r47578] src/adrt/CMakeLists.txt, src/conv/CMakeLists.txt, - src/gtools/CMakeLists.txt, src/libbn/CMakeLists.txt, - src/libbu/CMakeLists.txt, src/other/libregex/CMakeLists.txt: - more removal of unnecessary MSVC conditionalization for Windows. - all of the MSVC sections outside of the very top-level - CMakeLists.txt do not belong there, low-hanging poisoned fruit - that should be gotten rid of. + * [r51519] src/libged/analyze.c: + added brief analyze_sketch function for testing, removed part + from TODO list -2011-11-19 20:51 brlcad +2012-07-16 00:06 crdueck - * [r47577] bench/CMakeLists.txt: - more unnecessary conditionalization of preprocessor flags + * [r51518] src/librt/primitives/table.c: + added rt_sketch_surf_area() to the rt_functab entry for sketch -2011-11-19 20:49 brlcad +2012-07-16 00:05 crdueck - * [r47576] src/libpkg/example/CMakeLists.txt: - there's no point in conditionalizing the BRLCAD_DLL compile flag. - it's only used on Windows already. + * [r51517] src/librt/primitives/sketch/sketch_tess.cpp: + cleaned up functions, removed intersect_2dRay() (now an ON_Ray + method), added comments. WIP -2011-11-19 16:11 starseeker +2012-07-16 00:04 crdueck - * [r47575] src/libpkg/example/server.c: - Windows doesn't like the SIGPIPE stuff. + * [r51516] src/librt/opennurbs_ext.h: + moved intersect_2dRay() from librt/primitives/sketch_tess.cpp + into a method for the ON_Ray class -2011-11-19 15:50 abhi2011 +2012-07-15 18:37 crdueck - * [r47574] src/libged/simulate/simrt.c, - src/libged/simulate/simrt.h: - Committing the logic for airgaps in case I need to use it later, - before switching to the proper one using a_onehit = 0 + * [r51515] src/librt/primitives/ell/ell.c: + fixed error in rt_ell_surf_area() -2011-11-19 13:31 abhi2011 +2012-07-15 08:16 phoenixyjll - * [r47573] src/libged/simulate/simrt.c, - src/libged/simulate/simrt.h, src/libged/simulate/simulate.c: - Added initial code to detect and show air gaps. + * [r51514] src/librt/opennurbs_ext.cpp: + just some clean up - remove unused and shadowed variables to + avoid compiler warnings. (still WIP) -2011-11-19 06:58 abhi2011 +2012-07-15 00:49 starseeker - * [r47572] src/libged/simulate/simrt.c, - src/libged/simulate/simulate.c: - Trying to convert the air regions to hit regions, so they are - inserted in the hit regions list. + * [r51513] src/other/perplex/CMake, + src/other/perplex/CMake/FindLEMON.cmake, + src/other/perplex/CMake/FindRE2C.cmake, + src/other/perplex/CMake/LEMON_Util.cmake, + src/other/perplex/CMake/RE2C_Util.cmake, + src/other/perplex/CMakeLists.txt: + Get perplex closer to supporting a 'proper' stand-alone build. To + get all the way there, it needs to support at least source + package generation and make install. -2011-11-19 05:05 brlcad +2012-07-15 00:47 starseeker - * [r47571] src/libtclcad/tclcad_obj.c: - there were two places a chord length was being calculated, one - circular and one elliptical. looks like the diameter in this - second section is the greater of the x or y delta. + * [r51512] src/other/perplex/parser.y: + Quell a couple compilation warnings in perplex -2011-11-19 04:53 abhi2011 +2012-07-14 22:46 starseeker - * [r47570] src/libged/simulate/simrt.c, - src/libged/simulate/simrt.h: - Started adding air gap detection code. + * [r51511] misc/CMake/PERPLEX_Util.cmake: + sync PERPLEX_Util.cmake -2011-11-19 03:31 brlcad +2012-07-14 22:45 starseeker - * [r47569] src/libtclcad/tclcad_obj.c: - basing the number of segments off of a chord length that's 5% of - the view width will still create chunkly segments (50px long for - a 1024 display) for large circles and sub-pixel chords for small - circles (less than 20px). instead, try basing the size off of the - circle's circumference in terms of pixels. this uses a chord - length of 4px so the circles are always relatively smooth - regardless of size. assumes from glancing through the logic that - 'r' is actually the diameter (hopefully). + * [r51510] src/other/step/cmake/PERPLEX_Util.cmake, + src/other/step/cmake/manage_generated.cmake.in, + src/other/step/cmake/sync_generated.cmake.in: + Use DEBUGGING_GENERATED_SOURCES to allow re2c debugging + information to appear in re2c intermediate output. Disable normal + behavior while doing so, so the debug-enabled output won't poison + the MD5 management mechanism. -2011-11-18 22:54 starseeker +2012-07-14 20:55 starseeker - * [r47568] src/libpkg/example/client.c, - src/libpkg/example/server.c: - Back to basics - don't worry about the file, just dirt simple - back-and-forth. + * [r51509] src/other/step/cmake/Generated_Source_Utils.cmake, + src/other/step/cmake/manage_generated.cmake.in, + src/other/step/cmake/sync_generated.cmake.in, + src/other/step/src/express/CMakeLists.txt: + Add management routines for syncing info back into the generated + source tree. -2011-11-18 22:48 bob1961 +2012-07-14 20:51 starseeker - * [r47567] src/libtclcad/tclcad_obj.c: - Dynamically calculate the number of segments used to approximate - circles and ellipses using the window size. + * [r51508] src/other/step/src/express/generated/README, + src/other/step/src/express/generated/verification_info.cmake: + Fix README and add header comment to verification info -2011-11-18 22:42 n_reed +2012-07-14 20:11 starseeker - * [r47566] src/other/perplex/perplex.h, - src/other/perplex/scanner.re, src/other/perplex/template.c: - changed token text allocation scheme to be leak resistant + * [r51507] src/other/step/cmake/PERPLEX_Util.cmake: + Add necessary re2c flag -2011-11-18 22:35 tbrowder2 +2012-07-14 20:11 starseeker - * [r47565] INSTALL.cmake: - give a tad bit of help for a novice cmake builder; indent the - configuration args to cmake; eliminate the old autotools stuff to - eliminate confusion; show as a work in progress + * [r51506] src/other/step/src/express/generated/expscan.c, + src/other/step/src/express/generated/verification_info.cmake: + Can't include debugging lines if we're going to manage the + generated sources this way. -2011-11-18 22:29 brlcad +2012-07-14 06:13 crdueck - * [r47564] CMakeLists.txt, HACKING.cmake, INSTALL.cmake, - configure.cmake.sh, db/CMakeLists.txt, include/CMakeLists.txt, - misc/CMake/BRLCAD_CompilerFlags.cmake, - misc/CMake/BRLCAD_Util.cmake, misc/CMake/CompilerFlags.cmake, - misc/CMakeLists.txt, misc/debian/rules, sh/make_rpm.sh, - src/CMakeLists.txt, src/bwish/CMakeLists.txt, - src/fb/CMakeLists.txt, src/irprep/CMakeLists.txt, - src/libdm/CMakeLists.txt, src/libfb/CMakeLists.txt, - src/liboptical/CMakeLists.txt, src/libtclcad/CMakeLists.txt, - src/mged/CMakeLists.txt, src/other/CMakeLists.txt, - src/other/openNURBS/CMakeLists.txt, src/rttherm/CMakeLists.txt, - src/util/CMakeLists.txt: - rename all of the BRLCAD- cmake variables to BRLCAD_ so we can - consistently only use underscores everywhere. should help improve - simplicity of docs and use. - -2011-11-18 22:19 bob1961 - - * [r47563] src/libtclcad/tclcad_obj.c: - Removed junk that was mistakenly included with the previous - commit. - -2011-11-18 22:13 bob1961 - - * [r47562] include/tclcad.h, src/libtclcad/tclcad_obj.c, - src/tclscripts/lib/Ged.tcl: - Added the mechanism for sketching out elliptical shaped polygons. + * [r51505] src/librt/primitives/sketch/sketch_tess.cpp: + updated intersect_2dRay() to use ON_Ray instead of a bare point + and direction vector, added rt_sketch_surf_area() and + carc_area(). WIP -2011-11-18 21:29 starseeker +2012-07-13 21:26 starseeker - * [r47561] src/libpkg/example/client.c, - src/libpkg/example/server.c: - Hmm... trying to send a message back to the client from the - server. Doing something wrong... + * [r51504] src/other/step/src/express/generated/README: + Add a README file for the generated sources explaining how this + will work... -2011-11-18 21:25 brlcad +2012-07-13 21:04 crdueck - * [r47560] CMakeLists.txt, misc/CMake/CompilerFlags.cmake, - src/other/incrTcl/itcl/CMake/tcl.cmake, - src/other/incrTcl/itk/CMake/tcl.cmake, - src/other/sqlite3/tcl/CMake/tcl.cmake, - src/other/tcl/CMake/tcl.cmake, src/other/tcl/CMakeLists.txt, - src/other/tk/CMake/tcl.cmake, src/other/tk/CMakeLists.txt: - rename BRLCAD-CPU_TYPE and CMAKE_CPU_TYPE to BRLCAD-WORD_SIZE and - CMAKE_WORD_SIZE respectively so as not to imply chip type or - architecture. CPU may be multimode as could the compiler, so it's - not a good moniker. also consistently use either ##BIT or ##-bit - styles when referring to the size in text. + * [r51503] src/librt/primitives/sketch/sketch_tess.cpp: + added bezier_to_carcs() function to approximate a bezier curve to + tolerance by a set of circular arcs. WIP -2011-11-18 21:17 n_reed +2012-07-13 21:00 starseeker - * [r47559] src/other/perplex/scanner.re, - src/other/perplex/template.c: - use re2c syntax for setting conditions + * [r51502] src/other/step/cmake/Generated_Source_Utils.cmake, + src/other/step/cmake/manage_generated.cmake.in, + src/other/step/src/express/CMakeLists.txt: + Be noisy for now so it's clear what's actually going on, fix + copy-paste error. -2011-11-18 21:10 starseeker +2012-07-13 20:42 starseeker - * [r47558] src/libpkg/example/CMakeLists.txt: - Ah, right - need special compile flags for MSVC... (ugh) + * [r51501] misc/CMake/PERPLEX_Util.cmake: + Sync PERPLEX_Util.cmake -2011-11-18 21:09 brlcad +2012-07-13 20:41 starseeker - * [r47557] src/librtserver/rtserverTest.c: - remove/comment out unused code. removes -a option since use_air - isn't used. + * [r51500] src/other/step/CMakeLists.txt, + src/other/step/cmake/Generated_Source_Utils.cmake, + src/other/step/cmake/PERPLEX_Util.cmake, + src/other/step/cmake/RE2C_Util.cmake, + src/other/step/cmake/manage_generated.cmake.in, + src/other/step/cmake/verify_generated.cmake.in, + src/other/step/src/express/CMakeLists.txt, + src/other/step/src/express/generated/expscan.c, + src/other/step/src/express/generated/verification_info.cmake: + More tweaks and added logic to generated source verification + +2012-07-13 19:15 starseeker + + * [r51499] src/other/step/src/express/generated/expparse.c, + src/other/step/src/express/generated/expscan.c, + src/other/step/src/express/generated/expscan.h, + src/other/step/src/express/generated/verification_info.cmake: + Update generated sources to actually match the current inputs - + this will eventually be automated but that part's not in place + yet. -2011-11-18 21:04 brlcad +2012-07-13 18:43 starseeker - * [r47556] src/rt/view.c: - retStatus is unused + * [r51498] src/other/step/CMakeLists.txt, + src/other/step/cmake/Generated_Source_Utils.cmake, + src/other/step/cmake/manage_generated.cmake.in, + src/other/step/cmake/verify_generated.cmake.in, + src/other/step/src/express/CMakeLists.txt, + src/other/step/src/express/generated/verification_info.cmake: + Checkpoint some more work on generated src management. -2011-11-18 20:53 n_reed +2012-07-13 16:01 starseeker - * [r47555] src/other/perplex/parser.y, src/other/perplex/perplex.c, - src/other/perplex/perplex.h, src/other/perplex/scanner.re, - src/other/perplex/template.c: - pass app data to lemon parser; first try at embellishing input + * [r51497] src/other/step/cmake/Generated_Source_Utils.cmake, + src/other/step/cmake/verify_generated.cmake.in, + src/other/step/src/express/CMakeLists.txt, + src/other/step/src/express/generated/verification_info.cmake: + Start working on the easier verification case - verifying + generated sources haven't been monkeyed with. -2011-11-18 18:32 bob1961 +2012-07-13 14:27 starseeker - * [r47554] src/libtclcad/tclcad_obj.c, src/tclscripts/lib/Ged.tcl: - These mods add the functionality to apply snap-to-grid to data - polygon editing. + * [r51496] src/other/step/CMakeLists.txt, + src/other/step/src/express/CMakeLists.txt: + Get a proper AUTO/ON/OFF toplevel configuration variable in place + to control the use of perplex/re2c/lemon in SCL. -2011-11-18 17:24 n_reed +2012-07-13 09:13 phoenixyjll - * [r47553] doc/bison_to_lemon.txt: - update on alias substitution + * [r51495] src/librt/opennurbs_ext.cpp: + A draft of the second step - estimating the surface intersection + points by trigonal approximation. (WIP) -2011-11-18 17:22 starseeker +2012-07-13 03:55 brlcad - * [r47552] misc/CMake/BRLCAD_Util.cmake, - misc/CMake/ThirdParty.cmake, misc/CMake/ThirdParty_TCL.cmake: - Tweaks and corrections to new CMake labeling. + * [r51494] src/liboptical/sh_camo.c: + remove trailing ws and mark setup() as HIDDEN. -2011-11-18 15:23 starseeker +2012-07-13 03:47 brlcad - * [r47551] src/libpkg/example/CMakeLists.txt: - Add libbu to the link lines... + * [r51493] src/liboptical/sh_camo.c: + apply sf patch 3541567 (Reduction in liboptical/sh_camo.c) from + Ksenija Slivko ( ksuzee ). reduces ~54 lines. -2011-11-18 03:18 starseeker +2012-07-13 02:42 starseeker - * [r47550] CMakeLists.txt: - Hmm, that one is easier to change than I thought. Static libs, - not the whole thing static + * [r51492] src/other/perplex/perplex_template.c: + fix filename in comments -2011-11-18 03:16 starseeker +2012-07-13 02:39 brlcad - * [r47549] CMakeLists.txt, src/other/CMakeLists.txt: - Fix some of the stray variables that should be advanced + * [r51491] AUTHORS: + credit Laijiren for his first applied contribution, adding + support for a control point plotting subcommand to the brep + command and point drawing support to libdm. (sf patch 3531833) -2011-11-18 03:06 starseeker +2012-07-13 02:15 brlcad - * [r47548] CMakeLists.txt, misc/CMake/BRLCAD_Util.cmake: - Wait - not handling things quite right with the macro. FORCE - shouldn't be needed for that var in the GLOBAL file. + * [r51490] src/libdm/dm-ogl.c, + src/librt/primitives/brep/brep_debug.cpp: + ws, style, indent consistency cleanup -2011-11-18 02:57 starseeker +2012-07-13 02:09 brlcad - * [r47547] CMakeLists.txt: - correct global example + * [r51489] src/libdm/dm-ogl.c, + src/librt/primitives/brep/brep_debug.cpp: + apply sf patch 3531833 (implement drawing a point of command + 'brep' .) from Laijiren ( plussai2008 ). this adds a 'plot SCV' + subcommand for drawing the control point net with the 'brep' + command including support for drawing points to libdm. -2011-11-18 02:54 starseeker +2012-07-13 02:05 brlcad - * [r47546] misc/CMake/BRLCAD_Util.cmake: - tweak + * [r51488] src/libbu/test_vls_vprintf.c: + ws -2011-11-18 02:49 starseeker +2012-07-13 02:03 brlcad - * [r47545] CMakeLists.txt, misc/CMake/BRLCAD_Util.cmake: - Proof-of-concept implementation of a BRLCAD_OPTION macro that - supports aliases for an option and appends documentation to a txt - file. + * [r51487] HACKING: + need to make sure the sender's address matches the subscription + address, else the mail will go into a black hole. -2011-11-18 01:27 starseeker +2012-07-12 22:42 n_reed - * [r47544] TODO.cmake: - add a todo item for the alias mechanism + * [r51486] src/other/step/src/clstepcore/ExpDict.cc, + src/other/step/src/clstepcore/ExpDict.h, + src/other/step/src/clstepcore/collect.cc, + src/other/step/src/clstepcore/complexlist.cc, + src/other/step/src/clstepcore/entlist.cc, + src/other/step/src/clstepcore/entnode.cc, + src/other/step/src/clstepcore/read_func.cc: + missed ws and doxification changes from SCL git f9b9383 -2011-11-18 01:23 starseeker +2012-07-12 21:24 n_reed - * [r47543] CMakeLists.txt: - Be more informative about what's going on with the CPU type, too + * [r51485] src/other/step/src/express/expparse.y, + src/other/step/src/express/token_type.h: + use generated lemon variables to avoid unused warnings -2011-11-18 01:17 starseeker +2012-07-12 21:00 starseeker - * [r47542] misc/CMake/BRLCAD_Util.cmake: - AUTO isn't always in the front with new labels + * [r51484] src/other/perplex/perplex.cpp: + Fix tabbing on perplex usage -2011-11-18 01:12 starseeker +2012-07-12 20:54 starseeker - * [r47541] TODO.cmake, misc/CMake/BRLCAD_Util.cmake: - Get the on/off toggles with auto option displaying their actual - state, not just 'AUTO' + * [r51483] src/other/perplex/perplex.cpp: + Teach perplex to output a version number. -2011-11-18 00:50 starseeker +2012-07-12 20:32 starseeker - * [r47540] misc/CMake/BRLCAD_Util.cmake, - misc/CMake/ThirdParty.cmake, misc/CMake/ThirdParty_TCL.cmake: - Make the third party options a bit more informative + * [r51482] misc/CMake/PERPLEX_Util.cmake, + src/other/step/cmake/PERPLEX_Util.cmake: + Try to be a little more helpful with the template error message. -2011-11-17 23:10 lbutler +2012-07-12 20:22 starseeker - * [r47539] src/rt/view.c: - get two partitions by default. Shouldn't need more. + * [r51481] misc/CMake/FindPERPLEX.cmake, + misc/CMake/PERPLEX_Util.cmake, src/other/CMakeLists.txt, + src/other/perplex.dist, src/other/perplex/README.txt, + src/other/perplex/perplex.cpp, + src/other/perplex/perplex_template.c, + src/other/perplex/scanner_template.c, + src/other/step/cmake/FindPERPLEX.cmake, + src/other/step/cmake/PERPLEX_Util.cmake: + Don't want a BRL-CAD path hardcoded into the perplex CMake + macros, now that the prospect of them being used elsewhere is + real. -2011-11-17 23:07 starseeker +2012-07-12 20:10 n_reed - * [r47538] src/libged/CMakeLists.txt, - src/other/clipper/clipper.hpp: - More clipper tweaks + * [r51480] src/other/perplex/scanner_template.c: + remove var 'abs' to avoid shadowing a global symbol of the same + name -2011-11-17 22:50 n_reed +2012-07-12 20:01 starseeker - * [r47537] src/other/perplex/Makefile.local, - src/other/perplex/parser.y, src/other/perplex/perplex.c, - src/other/perplex/perplex.h, src/other/perplex/scanner.re, - src/other/perplex/token_type.h: - adding lemon parser; moving towards useful conversion of input + * [r51479] src/other/perplex/perplex.cpp: + Add missing newline -2011-11-17 22:39 bob1961 +2012-07-12 19:56 starseeker - * [r47536] src/libtclcad/tclcad_obj.c: - Incorporate snap-to-grid with polygon rectangle/circle creation. - Update to_data_pick() and to_data_move() to work with data - polygons. Change data_polys to data_polygons. + * [r51478] misc/CMake/FindLEMON.cmake, + misc/CMake/FindPERPLEX.cmake, misc/CMake/FindRE2C.cmake, + misc/CMake/LEMON_Util.cmake, misc/CMake/RE2C_Util.cmake: + Sync the Find and Util scripts for perplex/lemon/re2c. -2011-11-17 22:29 lbutler +2012-07-12 19:55 starseeker - * [r47535] src/rt/view.c: - ambient occlusion computations included. set ambSamples non-zero - to get sampling of ambient occlusion. set ambRadius non-zero to - bound the distance considered "occluding". + * [r51477] src/brlman/CMakeLists.txt, src/brlman/brlman.tcl, + src/brlman/brlman.tcl.in: + Generalize the brlman script - need to deal with potentially + arbitrary man dir locations. -2011-11-17 21:58 lbutler +2012-07-12 19:41 starseeker - * [r47534] src/rt/view.c: - a quick hack to add ambient occlusion + * [r51476] src/other/step/cmake/FindLEMON.cmake, + src/other/step/cmake/FindPERPLEX.cmake, + src/other/step/cmake/FindRE2C.cmake, + src/other/step/cmake/LEMON_Util.cmake, + src/other/step/cmake/PERPLEX_Util.cmake, + src/other/step/cmake/RE2C_Util.cmake, + src/other/step/src/express/CMakeLists.txt, + src/other/step/src/express/generated, + src/other/step/src/express/generated/expparse.c, + src/other/step/src/express/generated/expparse.h, + src/other/step/src/express/generated/expscan.c, + src/other/step/src/express/generated/expscan.h: + Start building towards an SCL build that can work with or without + perplex/re2c/lemon. Fair bit more work to do - these are just the + fundamental essentials. -2011-11-17 21:56 brlcad +2012-07-12 19:36 r_weiss - * [r47533] BUGS: - more info on TIE bug, return value seems wrong + * [r51475] src/libged/analyze.c: + Update to "analyze.c" to allow building on Windows with Visual + Studio 2008. -2011-11-17 21:43 brlcad +2012-07-12 19:35 r_weiss - * [r47532] BUGS: - critical TIE bug encountered. seems to be corrupting the - application structure. maybe related to or be known 32-bit bug. + * [r51474] include/analyze.h: + Update to "analyze.h" to allow "analyze.c" to build on Windows + with Visual Studio 2008. -2011-11-17 21:34 brlcad +2012-07-12 18:12 n_reed - * [r47531] doc/deprecation.txt, src/mged/chgview.c, src/mged/cmd.c, - src/mged/muves.c, src/tclscripts/mged/help.tcl: - formally mark all of the muves-specific commands as DEPRECATED, - making them report a deprecation warning if they're used. this - includes em, e_muves, l_muves, lm, read_muves, and t_muves. - rationale is that those are domain-specific extensions that don't - really belong in brl-cad (they belong with muves). they would - make for a potentially suitable set of plugins to a - plugin-oriented libged, but not something we maintain and bundle. + * [r51473] + src/other/step/src/fedex_python/examples/unitary_schemas/gcc_incomplete_type.py, + src/other/step/src/fedex_python/examples/unitary_schemas/index_attribute.py, + src/other/step/src/fedex_python/examples/unitary_schemas/multiple_rep.py, + src/other/step/src/fedex_python/examples/unitary_schemas/test_array.py, + src/other/step/src/fedex_python/examples/unitary_schemas/test_array_of_simple_types.py, + src/other/step/src/fedex_python/examples/unitary_schemas/test_derived_attribute.py, + src/other/step/src/fedex_python/examples/unitary_schemas/test_enum_entity_name.py, + src/other/step/src/fedex_python/examples/unitary_schemas/test_enums_same_name.py, + src/other/step/src/fedex_python/examples/unitary_schemas/test_multiple_inheritance.py, + src/other/step/src/fedex_python/examples/unitary_schemas/test_named_type.py, + src/other/step/src/fedex_python/examples/unitary_schemas/test_select_data_type.py, + src/other/step/src/fedex_python/examples/unitary_schemas/test_single_inheritance.py, + src/other/step/src/fedex_python/examples/unitary_schemas/test_single_inheritance_multi_level.py, + src/other/step/src/fedex_python/python/SCL/AggregationDataTypes.py, + src/other/step/src/fedex_python/python/SCL/ConstructedDataTypes.py, + src/other/step/src/fedex_python/python/SCL/SimpleDataTypes.py, + src/other/step/src/fedex_python/python/SCL/TypeChecker.py: + update python scripts to SCL git ee13526 versions -2011-11-17 20:15 brlcad +2012-07-12 17:51 n_reed - * [r47530] include/bn.h: - document what range of values are returned from bn_randmt() + * [r51472] src/other/step/include/express/scope.h, + src/other/step/include/express/type.h, + src/other/step/src/express/scope.c, + src/other/step/src/fedex_plus/classes.h, + src/other/step/src/fedex_python/python/SCL/Rules.py: + apply changes for fedex_python from SCL git 10999e7 and 2dcfaed -2011-11-17 20:12 n_reed +2012-07-12 17:35 n_reed - * [r47529] src/other/perplex/Makefile.local, - src/other/perplex/perplex.c, src/other/perplex/perplex.h, - src/other/perplex/scanner.re, src/other/perplex/template.c: - make scanner input buffer dynamic + * [r51471] + src/other/step/src/fedex_python/src/classes_misc_python.c, + src/other/step/src/fedex_python/src/classes_python.c, + src/other/step/src/fedex_python/src/classes_wrapper_python.cc, + src/other/step/src/fedex_python/src/multpass_python.c, + src/other/step/src/fedex_python/src/selects_python.c: + update fedex_python sources to SCL git 7ffbb73 versions, but use + the classes.h declaration of the FundamentalType func for + consistency -2011-11-17 20:00 starseeker +2012-07-12 16:55 n_reed - * [r47528] src/adrt/CMakeLists.txt, src/other/CMakeLists.txt: - Togl isn't behaving well yet under non-X11 builds - turn it off - unless we are X11 + * [r51470] src/other/step.dist, src/other/step/CMakeLists.txt, + src/other/step/src/fedex_python/CMakeLists.txt: + Include fedex_python subdir to make it easier to build + fedex_python for testing. Make paths relative to avoid CMAKEFILES + warning. -2011-11-17 19:41 starseeker +2012-07-12 16:47 n_reed - * [r47527] src/other/clipper/CMakeLists.txt, - src/other/clipper/clipper.hpp: - Make a stab at getting clipper to act like a library in Windows - - untested. + * [r51469] src/adrt/CMakeLists.txt, src/mged/CMakeLists.txt: + ignore some files -2011-11-17 19:30 brlcad +2012-07-12 16:04 starseeker - * [r47526] HACKING: - add bu_file_delete to the use-this-instead-of-that function list + * [r51468] CMakeLists.txt, db/CMakeLists.txt, doc/CMakeLists.txt, + doc/docbook/articles/en/CMakeLists.txt, + doc/docbook/articles/it/CMakeLists.txt, + doc/docbook/books/en/CMakeLists.txt, + doc/docbook/lessons/en/CMakeLists.txt, + doc/docbook/lessons/es/CMakeLists.txt, + doc/docbook/presentations/en/CMakeLists.txt, + doc/docbook/system/man1/en/CMakeLists.txt, + doc/docbook/system/man3/en/CMakeLists.txt, + doc/docbook/system/man5/en/CMakeLists.txt, + doc/docbook/system/mann/en/CMakeLists.txt, + doc/html/CMakeLists.txt, doc/legal/CMakeLists.txt, + misc/CMake/BRLCAD_Targets.cmake, misc/CMake/DocBook.cmake, + misc/CMakeLists.txt, pix/CMakeLists.txt, + src/archer/CMakeLists.txt, src/conv/CMakeLists.txt, + src/gtools/CMakeLists.txt, src/libpkg/CMakeLists.txt, + src/librt/CMakeLists.txt, src/nirt/CMakeLists.txt, + src/other/tkhtml/CMakeLists.txt, src/rt/CMakeLists.txt, + src/tclscripts/CMakeLists.txt, + src/tclscripts/archer/CMakeLists.txt, + src/tclscripts/archer/images/CMakeLists.txt, + src/tclscripts/boteditor/CMakeLists.txt, + src/tclscripts/geometree/CMakeLists.txt, + src/tclscripts/hv3/CMakeLists.txt, + src/tclscripts/lib/CMakeLists.txt, + src/tclscripts/mged/CMakeLists.txt, + src/tclscripts/pl-dm/CMakeLists.txt, + src/tclscripts/rtwizard/CMakeLists.txt, + src/tclscripts/rtwizard/lib/CMakeLists.txt, + src/tclscripts/sdialogs/CMakeLists.txt, + src/tclscripts/sdialogs/scripts/CMakeLists.txt, + src/tclscripts/swidgets/CMakeLists.txt, + src/tclscripts/swidgets/images/CMakeLists.txt, + src/tclscripts/swidgets/scripts/CMakeLists.txt, + src/tclscripts/util/CMakeLists.txt, src/util/CMakeLists.txt, + src/vfont/CMakeLists.txt: + Get MAN_DIR working with both DocBook and regular man pages, and + put both in man instead of down in the data directory. -2011-11-17 19:20 brlcad +2012-07-12 14:19 anrgmrty - * [r47525] src/burst/burst.c, src/fbed/fbed.c, - src/lgt/do_options.c, src/libbu/parallel.c, src/libbu/temp.c, - src/libfb/if_X.c, src/libfb/if_X24.c, src/libfb/if_disk.c, - src/libged/color.c, src/libged/edcodes.c, src/libged/edmater.c, - src/libged/put_comb.c, src/libged/red.c, src/libged/tables.c, - src/mged/tedit.c, src/remrt/remrt.c, src/shapes/human.c, - src/shapes/tire.c, src/util/buffer.c: - replace all calls to unlink() and remove() with calls to - bu_file_delete() so we can get more consistent and portable - behavior. + * [r51467] src/libged/Makefile.am: + Makefile.am including the voxelize file -2011-11-17 19:16 starseeker +2012-07-12 14:18 anrgmrty - * [r47524] src/libpkg/CMakeLists.txt, src/libpkg/Makefile.am, - src/libpkg/example, src/libpkg/example/CMakeLists.txt, - src/libpkg/example/client.c, src/libpkg/example/ntp.h, - src/libpkg/example/server.c: - Add separate client and server examples based on tpkg.c for - libpkg. Use localhost by default if client doesn't specify a host - for simplicity. + * [r51466] src/libged/CMakeLists.txt: + CMakelist including the voxelize file -2011-11-17 19:08 bharder +2012-07-12 14:18 anrgmrty - * [r47523] README: - ws test commit + * [r51465] src/libged/voxelize.c: + voxelize.c for voxelize command -2011-11-17 16:33 bob1961 +2012-07-12 11:27 brlcad - * [r47522] src/tclscripts/lib/Ged.tcl: - Added functions to expose the current poly modes. + * [r51464] src/librt/opennurbs_ext.cpp: + extern is practically meaningless on the function definition, + it's for prototype declarations prior to definitions or other + compilation units. consistency, return type goes on separate line + too. -2011-11-17 15:46 bob1961 +2012-07-12 08:52 phoenixyjll - * [r47519] src/libtclcad/tclcad_obj.c: - Use clipper's weird upper limit as a scale factor for the call to - ged_clip_polgon(). + * [r51463] src/librt/opennurbs_ext.cpp, src/librt/opennurbs_ext.h: + Add a surface-surface intersection function (WIP). Surface trees + are generated and intersections of bounding boxes are calculated. -2011-11-17 15:44 bob1961 +2012-07-12 01:24 cprecup - * [r47518] src/libged/polyclip.cpp: - Added a try catch block around a call to clipper's AddPolygon - method. + * [r51462] src/libged/dag.cpp: + Don't allocate space for the *value* field inside the + bu_hash_entry. Instead, use a copy of a pointer for the outside + allocated memory. Added a method that frees the space allocated + for the *value* field. -2011-11-17 00:03 bob1961 +2012-07-11 22:57 n_reed - * [r47515] src/libtclcad/tclcad_obj.c: - Updated to_data_polys() to call ged_clip_polygon() with a scale - factor of LONG_MAX. + * [r51461] src/other/step/include/express/linklist.h, + src/other/step/src/express/linklist.c, + src/other/step/src/fedex_plus/classes.c, + src/other/step/src/fedex_plus/classes_misc.c: + combine multiple definitions of LISTempty -2011-11-16 23:58 bob1961 +2012-07-11 18:29 starseeker - * [r47514] src/libtclcad/tclcad_obj.c: - Fixed to_mouse_poly_rect to work in an arbitrary plane. + * [r51460] CMakeLists.txt: + Tweak package naming a bit. -2011-11-16 23:23 bob1961 +2012-07-11 18:17 starseeker - * [r47513] include/ged.h, src/libged/polyclip.cpp, - src/libtclcad/tclcad_obj.c: - Added more parameters (i.e. scale factors and matrices for - transforming to/from model/view) to ged_clip_polygon, - ged_clip_polygons, load_polygon, load_polygons and extract. + * [r51459] src/other/step/doc/CMakeLists.txt: + Don't use absolte path for install directory. -2011-11-16 22:55 n_reed +2012-07-11 16:52 cprecup - * [r47512] src/other/perplex/Makefile.local, - src/other/perplex/perplex.c, src/other/perplex/perplex.h, - src/other/perplex/scanner.re, src/other/perplex/template.c: - borrowing flex's dynamic buffers to implement yytext string + * [r51458] src/libged/dag.cpp: + Use connection pins for each link between two shapes -2011-11-16 22:28 brlcad +2012-07-11 13:46 phoenixyjll - * [r47511] src/libged/polyclip.cpp: - non-API functions shouldn't have ged_ prefix and should be made - static when possible. + * [r51457] src/librt/primitives/brep/brep.cpp: + This file contains several different approaches of ray tracing. + Some functions are not currently used, so mark them to make + things clear. -2011-11-16 22:25 brlcad +2012-07-11 12:55 phoenixyjll - * [r47510] src/libged/polyclip.cpp: - update function names to match new file name. common.h before sys - header too. + * [r51456] src/librt/primitives/hf/hf_brep.cpp: + Put tmp_internal to the stack instead of using dynamic memory + allocation. -2011-11-16 22:19 brlcad +2012-07-11 12:16 phoenixyjll - * [r47509] src/libged/CMakeLists.txt, src/libged/Makefile.am, - src/libged/clipper.cpp, src/libged/polyclip.cpp: - rename clipper.cpp to polyclip.cpp so as to not conflict with the - same-named clipper.cpp in src/other. this was path of least - resistance since it's not worth the effort to add autotools build - logic for clipper or conditionalize compilation. + * [r51455] src/librt/primitives/hf/hf_brep.cpp: + Initialize tmp_internal. -2011-11-16 22:14 brlcad +2012-07-11 05:36 crdueck - * [r47508] src/libged/clipper.cpp: - update header + * [r51454] src/librt/primitives/sketch/sketch_tess.cpp: + change biarc() to use ON_BezierCurve instead of bezier_seg and + rt_sketch_internal -2011-11-16 22:06 brlcad +2012-07-11 05:27 crdueck - * [r47507] src/libged/Makefile.am: - tclcad uses clipper so have to enable it for autotools - compilation. include src/other/clipper as header search dir too. + * [r51453] src/librt/Makefile.am: + added sketch_tess.cpp to librt/Makefile.am -2011-11-16 22:00 brlcad +2012-07-11 05:15 brlcad - * [r47506] src/libtclcad/tclcad_obj.c: - copy paste error. ret isn't actually set/used, so shouldn't - conditionalize on it. + * [r51452] src/librt/primitives/sketch/sketch_tess.cpp: + new files don't get copyrights into the past unless their + contents are derivatives or copies. they begin now. -2011-11-16 21:45 brlcad +2012-07-11 05:05 crdueck - * [r47505] src/librt/primitives/nmg/nmg_class.c: - bah, still issues with quellage. expand the vmove to avoid the - parens. make the nmg_good_dirs container size be consistently - checked too. + * [r51451] src/librt/CMakeLists.txt: + added sketch_tess.cpp to librt CMakeLists -2011-11-16 21:37 brlcad +2012-07-11 05:04 crdueck - * [r47504] src/librt/primitives/nmg/nmg_copy.c: - convert //-style comments to /**/ + * [r51450] src/librt/primitives/sketch/sketch_tess.cpp: + added new sketch_tess.cpp file which will contain functions used + to tesselate a sketch primitive. WIP -2011-11-16 21:13 bob1961 +2012-07-11 03:04 cprecup - * [r47503] include/ged.h, src/libtclcad/tclcad_obj.c: - Added the gdps_prev_point and gdps_curr_polygon members to struct - ged_data_polygon_state. + * [r51449] src/libged/dag.cpp: + Removed entries from the solids hash table whenever a object is + discovered to be a region or a group. Switched to working with + pointers for bu_hash_tbl structures. Freed memory for each + allocation. -2011-11-16 21:02 brlcad +2012-07-10 02:14 crdueck - * [r47502] TODO: - added dwayne's idea to wrong section, promote up a few easy tasks - for this upcoming minor + * [r51448] src/libbu/malloc.c: + fix are/our typo -2011-11-16 20:44 bob1961 +2012-07-10 01:53 cprecup - * [r47501] include/tclcad.h, src/libtclcad/tclcad_obj.c: - Added code to utilize src/other/clipper. Needs more work --- - checking in for safety. + * [r51447] src/libged/dag.cpp: + Don't allocate memory for bu_hash_entry structures because they + are used for having access to memory zones allocated for + structures returned by the bu_hash_add_entry and + bu_find_hash_entry functions. -2011-11-16 20:43 brlcad +2012-07-09 03:50 phoenixyjll - * [r47500] src/tclscripts/archer/BotUtility.tcl: - include requisite dependency packages as well as loading libbu so - we can find botEditor.tcl and quell failure message during build. + * [r51446] src/librt/primitives/dsp/dsp_brep.cpp: + Add tolerance value to control the max error. -2011-11-16 20:40 brlcad +2012-07-08 08:47 phoenixyjll - * [r47499] TODO: - they already have the init funcs, need pkgIndex.tcl file for our - core libs + * [r51445] src/librt/CMakeLists.txt, src/librt/Makefile.am, + src/librt/primitives/hf/hf_brep.cpp, + src/librt/primitives/table.c: + Add b-rep conversion function to hf: hf -> dsp -> brep. -2011-11-16 20:31 bob1961 +2012-07-08 00:20 cprecup - * [r47498] include/ged.h, src/libged/CMakeLists.txt, - src/libged/clipper.cpp: - Added code to interface with src/other/clipper. More work to do - here --- checking in for safety. + * [r51444] src/libged/dag.cpp: + Replaced the bu_ptbl tables with bu_hash_tables for the solid, + group and region types of objects in a database. Added id's to + each object and shapes of the router. All these were used for + avoiding node duplications within the representation of a + database as a graph. -2011-11-16 20:27 erikgreenwald +2012-07-07 20:40 louipc - * [r47497] src/libtclcad/tclcad_obj.c: - pass 0 to new sflags field + * [r51443] misc/archlinux/brlcad.install: + archlinux: Clean up old ld.so.conf, new configuration provided in + separate file. -2011-11-16 20:25 erikgreenwald +2012-07-07 20:31 louipc - * [r47496] src/libtclcad/tclcad_obj.c: - reflect change from ged_view to ged_view_func in table + * [r51442] misc/archlinux/brlcad.sh: + archlinux: Remove path setting script, as it's generated in the + PKGBUILD. -2011-11-16 20:16 bob1961 +2012-07-07 18:52 brlcad - * [r47495] include/ged.h, src/libged/view.c, src/mged/setup.c: - Changed the ged_view function to ged_view_func so that it's - different from struct ged_view. This eliminates a problem that - appears when including ged.h in a C++ file. + * [r51441] TODO: + looks like the rendering of part may be wrong when the pill + squishes in on itself. -2011-11-16 19:46 bob1961 +2012-07-06 10:55 phoenixyjll - * [r47494] include/dm.h, src/libdm/axes.c, src/libdm/dm-X.c, - src/libdm/dm-ogl.c, src/libdm/dm-plot.c, src/libdm/dm-ps.c, - src/libdm/dm-rtgl.c, src/libdm/dm-tk.c, src/libdm/dm-wgl.c: - Added a flag to the drawLines3D functions for optionally drawing - line strips instead of lines. + * [r51440] src/librt/primitives/dsp/dsp_brep.cpp: + Implement degree reduction to Bezier curves to simplify the + representation of the dsp top surface. But still a long way to + go. -2011-11-16 17:50 starseeker +2012-07-06 00:30 starseeker - * [r47493] src/libged/CMakeLists.txt, src/other/CMakeLists.txt, - src/other/clipper.dist, src/other/clipper/CMakeLists.txt: - Turn on clipper library for Bob's stuff + * [r51439] src/librt/test_botpatches.cpp: + Add a little more flexibility to loop pl output. -2011-11-16 16:27 brlcad +2012-07-06 00:11 crdueck - * [r47492] src/librt/primitives/nmg/nmg_class.c: - remove the pointer indirection since that messes with array - indexing and causes a compiler warning on some platform - somewhere. + * [r51438] src/libged/analyze.c: + added new analyze_part function -2011-11-15 23:10 n_reed +2012-07-06 00:10 crdueck - * [r47490] src/other/CMakeLists.txt, src/other/Makefile.am, - src/other/perplex, src/other/perplex.dist, - src/other/perplex/Makefile.local, src/other/perplex/perplex.c, - src/other/perplex/perplex.h, src/other/perplex/scanner.re, - src/other/perplex/template.c: - adding sources for an experimental scanner-generator + * [r51437] src/librt/primitives/table.c: + updated rt_functab entry for part to include the new callbacks -2011-11-15 21:10 brlcad +2012-07-06 00:09 crdueck - * [r47489] AUTHORS: - browder now belongs up in the code contributions section given - all of the recent documentation efforts. + * [r51436] src/librt/primitives/part/part.c: + added rt_part_volume() and rt_part_surf_area() -2011-11-15 21:08 brlcad +2012-07-05 22:35 n_reed - * [r47488] AUTHORS: - special thanks to chris pitts for his efforts to report, - diagnose, and even help pinpoint where in the source code a - problem was occurring. helped with v4 raytracing and obj export - issue. + * [r51435] src/conv/step/CMakeLists.txt, src/other/step/data/ap203, + src/other/step/data/ap203/ap203.exp, + src/other/step/data/ap203edit.exp, src/other/step/data/ap238, + src/other/step/data/ap238/ap238-aim-long.exp, + src/other/step/data/ifc2x3/PlayersTheater.stp, + src/other/step/data/pdm, + src/other/step/data/pdm/pdm_schema_12.exp: + Add/remove files to match github data directory. Will use their + copy of the edited ap203.exp to generate step-g sources. -2011-11-15 21:02 brlcad +2012-07-05 21:30 starseeker - * [r47487] NEWS: - bob added the 'l'ist command to archer, which improves/fixes the - 'g' grouping command + * [r51434] src/librt/test_botpatches.cpp: + get better at plotting loops -2011-11-15 20:55 brlcad +2012-07-05 21:10 starseeker - * [r47486] NEWS: - daniel applied a fix in r47473 for a bug that was preventing the - detection of V4 regions during raytrace. it looks like this is - the same bug reported by chris pitts a couple weeks ago, which - he'd traced down to db5_sync_attr_to_comb() wiping out the comb - structure. + * [r51433] src/librt/test_botpatches.cpp: + Cleanup, fix loop logic -2011-11-15 20:20 brlcad +2012-07-05 20:12 starseeker - * [r47485] TODO: - document dwayne's detailed feature request for a geometry prep - lintian command + * [r51432] src/librt/test_botpatches.cpp: + Need better plotting - start setting up routines. -2011-11-15 20:13 brlcad +2012-07-05 19:42 starseeker - * [r47484] NEWS, src/tclscripts/mged/reid.tcl, - src/tclscripts/mged/relos.tcl, src/tclscripts/mged/remat.tcl: - apply another tclscript update from carl g moore jr that reports - what the input object names are that weren't combs and makes reid - report the highest value set. + * [r51431] src/librt/test_botpatches.cpp: + Make a stab at turning back on the loop checking. -2011-11-15 19:59 brlcad +2012-07-05 19:10 crdueck - * [r47483] NEWS, src/adrt/isst.bat, src/archer/archer.bat, - src/mged/mged.bat, src/tclscripts/rtwizard/rtwizard.bat: - make the invoking wrapper batch scripts all set the PATH before - running mged/archer/bwish/rtwizard so that tools invoked by - commands can be found. untested, but should do the trick without - requiring the user to have admin/profile rights to modify the - PATH permanently. this is in response to a feature request from - the dwayne kregel. + * [r51430] src/librt/primitives/table.c: + updated entry for bot in table.c to include the new + rt_bot_centroid function -2011-11-15 04:32 starseeker +2012-07-05 19:05 crdueck - * [r47480] NEWS: - obj export was producing facets that all shared the same number - instead of pointing to the correct points - problem was very - precisely identified by Christopher Pitts (down to the incorrect - variable in the source file), so he gets credit for the fix - - thanks\! + * [r51429] src/librt/primitives/bot/bot.c, + src/librt/primitives/tgc/tgc.c: + r51428 accidently included changes to bot.c and tgc.c, those + changes were: refactored a section of rt_bot_tess into a new + rt_bot_centroid function, and added a missing break statement in + rt_tgc_surf_area -2011-11-15 04:31 brlcad +2012-07-05 18:59 crdueck - * [r47479] src/librt/primitives/extrude/extrude.c: - attempt a fix for a variety of gcc 4.6.2 strict compilation - failures reported by louipc (irc). compiler was clever enough to - figure out that 2d-arrays were getting passed around as pointers - and getting later treated as 3d-arrays. + * [r51428] src/libged/analyze.c, src/librt/primitives/bot/bot.c, + src/librt/primitives/tgc/tgc.c: + removed pointless functions, default case in analyze_do() already + covers primitives without analyze commands. added TODO for + remaining primitives -2011-11-14 12:45 d_rossberg +2012-07-05 18:07 n_reed - * [r47478] misc/win32-msvc/Dll/CMakeLists.txt: - included NonManifoldGeometry in the brlcad.dll build + * [r51427] src/other/step/src/express/error.c, + src/other/step/src/express/expr.c, + src/other/step/src/express/resolve.c, + src/other/step/src/express/schema.c: + remove unportable/unnecessary calls to unistd.h pause used after + certain errors to allow attaching debugger -2011-11-14 12:25 d_rossberg +2012-07-05 15:44 starseeker - * [r47476] src/librt/primitives/nmg/nmg_copy.c: - the mate's parent was the parent's mate + * [r51426] src/librt/test_botpatches.cpp: + more function breakup -2011-11-13 05:19 starseeker +2012-07-05 15:27 starseeker - * [r47475] src/libged/simulate/simrt.c: - remove unused var + * [r51425] src/librt/test_botpatches.cpp: + Start chopping the big function into little functions -2011-11-13 05:08 starseeker +2012-07-05 10:49 phoenixyjll - * [r47474] INSTALL.cmake: - Change a few of the now wildly incorrect sections of - INSTALL.cmake - more work to do here, if the current setup is in - fact the final configuration. + * [r51424] src/librt/CMakeLists.txt, src/librt/Makefile.am, + src/librt/primitives/grip/grip_brep.cpp, + src/librt/primitives/table.c: + grip is a pseudo solid and cannot be converted to b-rep. -2011-11-11 11:54 d_rossberg +2012-07-05 10:44 phoenixyjll - * [r47473] src/librt/dir.c: - removed a bug (at least) in versions 7.20.2 and 7.20.4 which - prevents the detection of V4 database's regions in ray-trace - this is more a work-around than a real bug-fix, I couldn't find - the place where the detection was changed from region-flag to - -attribute + * [r51423] src/librt/primitives/half/half_brep.cpp, + src/librt/primitives/pnts/pnts_brep.cpp: + Fix wrong file headers. -2011-11-10 20:50 starseeker +2012-07-05 10:41 phoenixyjll - * [r47472] src/other/CMakeLists.txt: - handle lemon before re2c, since re2c is using lemon now + * [r51422] src/librt/primitives/brep/brep_debug.cpp: + A minor change to the log message when a conversion is skipped. -2011-11-10 16:13 n_reed +2012-07-05 05:08 brlcad - * [r47470] misc/CMake/FindLEMON.cmake: - updated example usage comment + * [r51421] NEWS: + daniel applied a fix in r47473 for a bug that was preventing the + detection of V4 regions during raytrace. it looks like this is + the same bug reported by chris pitts a couple weeks ago, which + he'd traced down to db5_sync_attr_to_comb() wiping out the comb + structure. recommit to fix name consistency. -2011-11-10 00:59 n_reed +2012-07-05 05:06 brlcad - * [r47469] src/other/re2c.dist, src/other/re2c/bootstrap/parser.cc, - src/other/re2c/bootstrap/parser.hh, - src/other/re2c/bootstrap/y.tab.h, src/other/re2c/parser.y: - remove old re2c bison sources + * [r51420] NEWS: + keith fixed a surprising bug in the relatively new BoT mesh TIE + rendering bug where segments were being lost during + rt_bot_makesegs. it was using a hit_vpriv array that TIE was + never filling in, used for cleaning up odd hits, exiting before + entrance, and dangling entrace cases. this consequently was + related to another issue where hit segments were off by 1.01 + units. recommit to remove errant space. -2011-11-10 00:36 starseeker +2012-07-05 05:03 brlcad - * [r47468] src/other/step/src/express/CMakeLists.txt: - quiet messages for now + * [r51419] NEWS: + cliff added new command-line support to rtwizard including added + new manual page documentation. inclued are a variety of options + that provide a way to avoid the need for graphically picking + components. not yet fully non-graphical, but moving in support of + that end for regression testing. recommit to remove errant extra + space. -2011-11-10 00:25 starseeker +2012-07-04 21:08 anrgmrty - * [r47467] src/other/re2c/CMakeLists.txt, src/other/re2c/parser.yy: - Couple more tweaks - re2c builds now + * [r51418] include/analyze.h: + analyze.h with modified function prototypes -2011-11-10 00:17 starseeker +2012-07-04 21:07 anrgmrty - * [r47466] src/other/re2c/CMakeLists.txt: - need the lemon bootstrap before doing the re2c bootstrap + * [r51417] src/conv/g-voxel.c: + g-voxel.c changed according to new voxelize function -2011-11-09 23:58 n_reed +2012-07-04 21:06 anrgmrty - * [r47465] src/other/step/CMake/FindYACC.cmake, - src/other/step/CMakeLists.txt: - FindYACC no longer used; removed + * [r51416] src/libanalyze/voxels.c: + voxels.c functions modified to accommodate callback data -2011-11-09 23:53 n_reed +2012-07-04 16:12 tbrowder2 - * [r47464] src/other/re2c/CMakeLists.txt, - src/other/re2c/bootstrap/scanner.cc, src/other/re2c/parser.h, - src/other/re2c/parser.y.lemon, src/other/re2c/parser.yy, - src/other/re2c/scanner.re: - switched re2c yacc parser with lemon parser + * [r51415] TODO: + modify to reflect current task for man pages -2011-11-09 23:41 starseeker +2012-07-04 03:29 phoenixyjll - * [r47463] misc/CMake/FindLEMON.cmake, - src/other/re2c/CMake/FindLEMON.cmake, - src/other/step/CMake/FindLEMON.cmake, - src/other/step/src/express/CMakeLists.txt: - Get the FindLEMON logic working with the new paradigm (specifying - the target header file) + * [r51414] src/librt/primitives/superell/superell_brep.cpp: + Fixed the wrong weight when the center (origin) is set to be + control points. -2011-11-09 22:58 n_reed +2012-07-04 02:50 starseeker - * [r47462] src/libgcv/wfobj/CMakeLists.txt, - src/other/step/src/express/CMakeLists.txt: - modified CMakeLists for alt lemon macro + * [r51413] src/librt/test_botpatches.cpp: + No point in coloring whole loops until we break out the pl lines + into per-patch files. -2011-11-09 22:53 n_reed +2012-07-03 20:02 starseeker - * [r47461] src/other/step/CMake/FindLEMON.cmake: - add modified lemon_target macro + * [r51412] src/librt/test_botpatches.cpp: + some rework -2011-11-09 22:17 n_reed +2012-07-03 17:58 bob1961 - * [r47460] doc/bison_to_lemon.txt: - minor update on aliases + * [r51411] src/libged/kill.c: + Putting back the code to initialize the result string. -2011-11-09 19:13 bob1961 +2012-07-03 16:55 crdueck - * [r47459] src/tclscripts/archer/ArcherCore.tcl: - Added a method for "l". The "g" command will now expand it's - argument list. + * [r51410] src/libged/analyze.c: + consistent ws, edited a comment -2011-11-09 18:32 starseeker +2012-07-03 16:37 crdueck - * [r47458] src/conv/g-obj.c: - Faces were all using the same value due to variable i not being - changed in the loop... report from Christopher Pitts, bug tracker - #3435642 + * [r51409] src/libged/analyze.c: + analyze_bot() and analyze_arbn() now use print_faces_table() to + display per face information -2011-11-09 17:37 bob1961 +2012-07-03 12:22 phoenixyjll - * [r47457] src/tclscripts/mged/skt_ed.tcl: - Update calls to dist and find_arc_center to reflect the fact that - they are no longer in the Sketch_editor namespace. + * [r51408] src/librt/primitives/half/half_brep.cpp, + src/librt/primitives/part/part_brep.cpp, + src/librt/primitives/pnts/pnts_brep.cpp: + Remove unused variables in case of the compiler warning. -2011-11-09 15:20 bob1961 +2012-07-03 10:51 phoenixyjll - * [r47456] src/other/clipper/clipper.cpp, - src/other/clipper/clipper.hpp: - Updates from Angus. + * [r51407] src/librt/primitives/superell/superell_brep.cpp: + Remove set but unused variables. -2011-11-09 09:02 abhi2011 +2012-07-03 04:31 crdueck - * [r47455] src/libged/simulate/simrt.c, - src/libged/simulate/simulate.c: - Switched to summing of normals approach to generate contact - pairs. Added a #define to switch back to velocity based - generation quickly if needed. + * [r51406] src/libged/analyze.c: + print_volume_table() displays 'COULD NOT DETERMINE' if volume or + surface area values are negative (could not be determined by + analysis functions). all primitives now use print_volume_table() + to display info -2011-11-09 04:10 abhi2011 +2012-07-03 04:31 phoenixyjll - * [r47454] src/libged/simulate/simrt.c, - src/libged/simulate/simulate.c: - Now the proper working code with all debugging stuff removed. + * [r51405] src/librt/primitives/superell/superell_brep.cpp: + Generate multiple surfaces for superells with e or n > 2. -2011-11-09 04:01 abhi2011 +2012-07-03 03:12 crdueck - * [r47453] src/libged/simulate/simrt.c, - src/libged/simulate/simulate.c: - Committing the code used to debug errors in generating manifolds - using rt, in case I need to get back to it again quickly later. + * [r51404] src/librt/primitives/arb8/arb8.c: + use better algorithm to determine base area in rt_arb_volume() -2011-11-08 21:24 n_reed +2012-07-03 02:28 crdueck - * [r47452] src/other/re2c/parser.y.lemon: - type corrections and casting; yyparse calls lemon parser + * [r51403] src/librt/primitives/arb8/arb8.c: + added comments, restructured if/else logic for readability, made + ws consistent -2011-11-08 18:42 indianlarry +2012-07-03 00:48 cprecup - * [r47451] src/tclscripts/mged/anim.tcl: - CAD object not used when processing "view" script so don't test - existence in "view" case. + * [r51402] src/libged/dag.cpp: + Added the function dag_comb that processes a comb node by linking + it with the nodes of its subtree. The nodes are positioned + linearly, by the order that they are read from the directory - + this needs to be redone in a cleverer way -2011-11-08 18:36 indianlarry +2012-07-03 00:39 crdueck - * [r47450] src/anim/anim_script.c: - End condition for reading file buggered up, added count of needed - fields for scanf() based on program options. + * [r51401] src/libged/analyze.c: + better names for variables -2011-11-08 10:07 d_rossberg +2012-07-03 00:33 crdueck - * [r47449] src/librt/primitives/nmg/nmg_copy.c: - quell gcc warnings/errors: 1st iteration + * [r51400] src/libged/analyze.c: + unrolled short for loop, changed some variable names to be more + relevant -2011-11-08 07:52 d_rossberg +2012-07-02 23:52 n_reed - * [r47448] include/raytrace.h, src/librt/CMakeLists.txt, - src/librt/Makefile.am, src/librt/primitives/nmg/nmg_copy.c: - deep copy of the NMG model structure + * [r51399] src/libanalyze/CMakeLists.txt: + need librt for rt_shootray -2011-11-08 04:12 abhi2011 +2012-07-02 23:51 starseeker - * [r47447] src/libged/simulate/simphysics.cpp, - src/libged/simulate/simrt.c, src/libged/simulate/simrt.h, - src/libged/simulate/simulate.c: - Changed the location of raytrace initialization to the main - simulate file in an attempt to eliminate as many function calls - as possible and get to the bottom of why objects appear to be in - a different location in the rt_i as compared to the one shown by - mged. + * [r51398] src/librt/test_botpatches.cpp: + Need to take a step back and verify some steps are working + properly. -2011-11-07 22:05 n_reed +2012-07-02 23:37 n_reed - * [r47446] src/other/re2c/parser.y.lemon: - suppress errors by using precedence information to make default - conflict resolution explicit + * [r51397] src/other/step/src/fedex_plus/CMakeLists.txt: + missing semicolon -2011-11-07 20:40 n_reed +2012-07-02 22:42 anrgmrty - * [r47445] src/other/re2c/parser.y.lemon: - finished bison to lemon syntax conversion + * [r51396] src/conv/g-voxel.c: + a new g-voxel.c that includes analyze.h -2011-11-07 18:13 starseeker +2012-07-02 22:41 anrgmrty - * [r47444] src/other/incrTcl/itk/CMake/FindX11.cmake, - src/other/tk/CMake/FindX11.cmake, - src/other/tkhtml/CMake/FindX11.cmake, - src/other/tkpng/CMake/FindX11.cmake, - src/other/tktable/CMake/FindX11.cmake: - Keep all the FindX11.cmake files consistent. + * [r51395] src/conv/CMakeLists.txt: + CMakeLists.txt changed for g-voxel.c to include libanalyze also -2011-11-07 16:07 d_rossberg +2012-07-02 22:38 anrgmrty - * [r47443] misc/CMake/FindX11.cmake: - added Debian wheezy 64bit library search path + * [r51394] include/analyze.h: + modified to include functions for voxelize -2011-11-07 14:51 starseeker +2012-07-02 22:37 anrgmrty - * [r47440] src/archer/archer: - 3 sec is too long... + * [r51393] src/libanalyze/Makefile.am: + modified to include voxels.c -2011-11-05 07:44 abhi2011 +2012-07-02 22:37 anrgmrty - * [r47439] src/libged/simulate/simrt.c, - src/libged/simulate/simrt.h, src/libged/simulate/simulate.c, - src/libged/simulate/simulate.h: - Fixing some bugs in the contact generation logic. + * [r51392] src/libanalyze/CMakeLists.txt: + modified to include voxels.c -2011-11-05 05:29 abhi2011 +2012-07-02 22:36 anrgmrty - * [r47438] src/libged/simulate/simrt.c, - src/libged/simulate/simrt.h, src/libged/simulate/simulate.c, - src/libged/simulate/simulate.h: - Cleaned up some redundant code and completed contact point - generation logic. + * [r51391] src/libanalyze/voxels.c: + functions for voxelize -2011-11-04 23:00 abhi2011 +2012-07-02 17:24 n_reed - * [r47437] src/libged/simulate/simrt.c, - src/libged/simulate/simrt.h: - Got the contact points, removed some unnecessary older code, now - they need to inserted correctly in Bullet. Need to check if the - area of the contact points need to be maximized. + * [r51390] src/other/openNURBS/opennurbs_annotation.cpp, + src/other/openNURBS/opennurbs_annotation.h, + src/other/openNURBS/opennurbs_annotation2.h, + src/other/openNURBS/opennurbs_brep.h: + Quell -Woverloaded-virtual warnings (included by clang in -Wall) + in openNURBS headers to fix strict compilation failure in sources + that include them. -2011-11-04 21:42 n_reed +2012-07-02 16:13 n_reed - * [r47436] src/other/re2c/CMake/FindLEMON.cmake, - src/other/re2c/parser.y.lemon: - working on lemon input to replace re2c's yacc input + * [r51389] include/common.h: + Some system headers use __STDC_VERSION__ without checking if it's + defined. Define it ourselves so we don't get -Wundef warnings + every time we include one of them. -2011-11-04 20:19 abhi2011 +2012-07-02 15:35 starseeker - * [r47435] src/libged/simulate/simrt.c: - Circular bunch of rays are being generated correctly, time to - shoot 'em. + * [r51388] src/librt/test_botpatches.cpp: + Try usinging bezier curves for some of the edges. -2011-11-04 19:40 abhi2011 +2012-07-02 12:06 erikgreenwald - * [r47434] src/libged/simulate/simrt.c: - woops, must free the list too. + * [r51387] src/librt/primitives/cline/cline.c: + rename pipe to avoid shadow warning -2011-11-04 19:39 abhi2011 +2012-07-02 05:24 phoenixyjll - * [r47433] src/libged/simulate/simrt.c: - Generating a circular bundle of rays to shoot in the direction of - the resultant normal by calling rt_gen_circular_grid() through a - BU_LIST + * [r51386] src/librt/CMakeLists.txt, src/librt/Makefile.am, + src/librt/primitives/cline/cline.c, + src/librt/primitives/cline/cline_brep.cpp, + src/librt/primitives/table.c: + Convert cline to an implicit pipe, and then convert the pipe to + b-rep. -2011-11-04 19:08 brlcad +2012-07-01 18:37 crdueck - * [r47432] src/adrt/CMakeLists.txt: - do the same hack that libfb uses, specify the .lib file for - opengl explicitly, even though it should be added by the - OPENGL_LIBRARIES var + * [r51385] src/libged/analyze.c: + move surface area and volume calculations into the same for loop + in analyze_bot() and analyze_arbn() -2011-11-04 18:15 starseeker +2012-07-01 18:07 crdueck - * [r47431] src/libbn/plane.c: - we're in libbn, so used the same debug triggers as other bn - functions... + * [r51384] src/libged/analyze.c: + initialize vol/area variables in analyze_bot and analyze_arbn -2011-11-04 18:12 starseeker +2012-07-01 17:46 crdueck - * [r47430] include/bn.h: - need semicolon here + * [r51383] src/libged/analyze.c: + factored part of analyze_bot into a seperate analyze_bot_face + function -2011-11-04 18:00 brlcad +2012-07-01 06:46 crdueck - * [r47429] doc/deprecation.txt, include/bn.h, include/raytrace.h, - src/libbn/plane.c, src/liboptical/sh_grass.c, - src/librt/primitives/nmg/nmg_inter.c, - src/librt/primitives/nmg/nmg_misc.c: - also migrate the remaining two API smells from librt to libbn: - rt_dist_line3_line3 and rt_dist_line3_lseg3. minimally impacting. + * [r51382] src/libged/analyze.c: + checkpoint very rough analyze_bot command, correctly computes + surface area and volume -2011-11-04 17:55 starseeker +2012-07-01 05:42 starseeker - * [r47428] include/bn.h: - Should be BN_EXPORT here + * [r51381] src/librt/test_botpatches.cpp: + pick outer loop - generally seems to look OK, but will need some + per-patch verification -2011-11-04 17:48 brlcad +2012-07-01 04:09 phoenixyjll - * [r47427] src/libbn/README: - renamed to bn_dist_pt3_line3 + * [r51380] src/librt/primitives/superell/superell_brep.cpp: + Fix header. -2011-11-04 17:37 brlcad +2012-07-01 02:25 starseeker - * [r47426] doc/deprecation.txt, include/bn.h, include/raytrace.h, - src/libbn/plane.c, src/librt/primitives/nmg/nmg_inter.c, - src/librt/primitives/nmg/nmg_misc.c: - move and remove rt_dist_pt3_line3 from librt's nmg_misc.c to - libbn's plane.c where it's in better/related company. minimally - impacting change for the upcoming minor release. + * [r51379] src/librt/test_botpatches.cpp: + Don't just need loops, need to know which loop is the outer loop. + Could cheat since we're using xyz planes at the moment, but since + this should be more general need to project edge points onto a + common plane for bbox comparison. Start preparing needed pieces. + For now, turn off NURBS components - not ready for them yet. -2011-11-04 17:19 brlcad +2012-06-30 20:50 crdueck - * [r47425] src/libbn/CMakeLists.txt, src/libbn/Makefile.am, - src/libbn/README: - add a basic readme for libbn so I can document the list of core - functions heavily used during tessellation identified by richard. + * [r51378] src/libged/analyze.c: + added new analyze_epa command, ws changes -2011-11-04 12:53 bob1961 +2012-06-30 20:45 crdueck - * [r47424] src/other/clipper/clipper.cpp, - src/other/clipper/clipper.hpp: - Added methods to overload the AddPolygon and AddPolygons methods - for adding ExPolygons. + * [r51377] src/librt/primitives/ell/ell.c: + some systems have major/minor defined as macros, added #undef's + to rt_ell_surf_area(), ws changes -2011-11-04 12:21 bob1961 +2012-06-30 20:28 crdueck - * [r47423] src/other/clipper/clipper.cpp, - src/other/clipper/clipper.hpp: - Eliminate using == and != to compare doubles. Now using - CLIPPER_NEAR_ZERO and CLIPPER_NEAR_EQUAL. Also fixed a few syntax - errors. + * [r51376] src/libged/analyze.c: + cleaned up analyze_arbn(), ws changes in ged_analyze() -2011-11-03 22:49 brlcad +2012-06-30 19:18 crdueck - * [r47422] NEWS: - cliff expanded the manpage on how the -l/-L parameter works + * [r51375] src/librt/primitives/table.c: + updated rt_functab entry for epa to use the new callback + functions -2011-11-03 22:12 starseeker +2012-06-30 19:17 crdueck - * [r47421] src/other/CMakeLists.txt, src/other/Makefile.am, - src/other/clipper, src/other/clipper/License.txt, - src/other/clipper/README, src/other/clipper/clipper.cpp, - src/other/clipper/clipper.hpp: - Add a vanilla check-in of clipper 4.6 - Bob needs to track some - tweaks he is making to it. Extra dist it until it goes live. + * [r51374] src/librt/primitives/epa/epa.c: + added volume, centroid and surface area functions for epa -2011-11-03 21:48 brlcad +2012-06-30 00:13 crdueck - * [r47420] src/librt/primitives/dsp/dsp.c: - still have to init the vls, otherwise we can't print it even if - it's empty. + * [r51373] src/libged/analyze.c: + print_volume_table() now prints a newline before the table. every + calling function in analyze.c was already doing this anyways -2011-11-03 21:47 brlcad +2012-06-29 21:25 n_reed - * [r47419] include/rtgeom.h: - add a TODO. dsp_name should probably be a pointer so we know when - it's been initialized and so the dsp struct itself will consume - less memory. + * [r51372] src/other/step/src/express/CMakeLists.txt: + scl_version_string.h needs to be generated before fedex.c is + compiled -2011-11-03 21:41 brlcad +2012-06-29 12:33 d_rossberg - * [r47418] src/librt/primitives/dsp/dsp.c: - vls might be null, so don't try to get the address. allow 1x1 dsp - without warning. fix y-axis warning. + * [r51371] src/librt/primitives/nmg/nmg_copy.c: + there was a change in the memory management of the NMG primitive: + we have to use the same memory manager (bu_pool) here too -2011-11-03 21:27 brlcad +2012-06-29 09:13 anrgmrty - * [r47417] src/librt/primitives/dsp/dsp.c: - do what was done for v4, validate the dsp dimensions are non-zero + * [r51370] src/conv/g-voxel.c: + implemented callback for output of voxel program -2011-11-03 21:21 brlcad +2012-06-29 01:50 crdueck - * [r47416] src/librt/primitives/dsp/dsp.c: - don't fake the alloc. sizes might be null and we'll just bomb. + * [r51369] src/libged/analyze.c: + added analyze_arbn function. WIP, but currently returns volume, + surface area information -2011-11-03 20:23 brlcad +2012-06-29 01:39 crdueck - * [r47415] include/fb.h: - dumbass. else if. + * [r51368] src/libged/analyze.c: + added new analyze_eto function, some ws changes -2011-11-03 20:20 brlcad +2012-06-29 01:32 crdueck - * [r47414] include/fb.h: - fix abort on 64-bit power7 (big endian) due to bad magic number - checking. the cast through intptr_t was causing a zero-value to - result, failing the magic number test. change the macro to just - treat the ifp pointer as a pointer to a uint32_t and we should - get the number we were looking for. + * [r51367] src/librt/primitives/tgc/tgc.c: + updated rt_tgc_surf_area() to calculate approximate surface area + for rec -2011-11-03 20:18 brlcad +2012-06-29 01:29 crdueck - * [r47413] include/magic.h: - match BU_CKMAG() + * [r51366] src/librt/primitives/table.c: + update rt_functab entry for eto to use new callbacks -2011-11-03 20:10 abhi2011 +2012-06-29 01:27 crdueck - * [r47412] src/libged/simulate/simrt.c: - Trying to fix a bug related to generating a circular grid of rays - along a specific direction. + * [r51365] src/librt/primitives/eto/eto.c: + added volume, surface area (approximation) and centroid callbacks + for eto. -2011-11-03 19:33 starseeker +2012-06-29 01:26 crdueck - * [r47410] doc/docbook/system/man1/en/coil.xml: - fix coil man page + * [r51364] src/librt/librt_private.h: + added a macro to approximate the surface area of an ellipse, will + be needed by a few primitives. is this the best place for it? -2011-11-03 17:15 abhi2011 +2012-06-29 01:23 crdueck - * [r47409] src/libged/simulate/simphysics.cpp, - src/libged/simulate/simrt.c, src/libged/simulate/simrt.h: - Started shooting for getting the depth and points on surface of - object B + * [r51363] src/librt/primitives/rpc/rpc.c: + minor change to order of declaration for some variables -2011-11-03 05:27 abhi2011 +2012-06-29 00:02 starseeker - * [r47408] src/libged/simulate/simrt.c, - src/libged/simulate/simutils.c, src/libged/simulate/simutils.h: - Normals already encountered, were not being added to the list of - normals, fixed that. There are situations where summing the - normals in the overlapping surface alone will not give the exact - direction from which a body is hitting another body. But simply - using the velocity also does not work for all cases to find this - direction. Somewhere these 2 ways need to be merged or chosen - from , based upon criteria. + * [r51362] src/librt/test_botpatches.cpp: + Add untrimmed fitting of patches. Veeeeerrrry slow but aside from + some flipped normals and obviously needing trimming curves the + fit itself looks pretty good. -2011-11-03 00:34 starseeker +2012-06-28 12:00 phoenixyjll - * [r47407] src/libged/simulate/simrt.c: - Need unused on these parameters for now to allow strict build to - succeed + * [r51361] src/librt/CMakeLists.txt, src/librt/Makefile.am, + src/librt/primitives/superell/superell_brep.cpp, + src/librt/primitives/table.c: + Add a brep conversion function to superell. -2011-11-02 22:04 starseeker +2012-06-27 21:25 starseeker - * [r47406] misc/CMake/BRLCAD_Util.cmake, - misc/CMake/ThirdParty_TCL.cmake: - Check for on and off in the optname, not the default + * [r51360] src/librt/test_botpatches.cpp: + Ah - had plotting commands at the wrong point. -2011-11-02 21:39 starseeker +2012-06-27 21:21 starseeker - * [r47405] CMakeLists.txt, misc/CMake/BRLCAD_Util.cmake, - misc/CMake/ThirdParty_TCL.cmake: - Try a cute trick - override the message command to enhance - logging. CMakeFiles/CMakeOutput.log should now have almost all - messages from the cmake configure process - possible exceptions - are those written out without using the MESSAGE command. Also - make a stab at accepting ON and OFF for the AUTO/BUNDLED/SYSTEM - vars + * [r51359] src/librt/test_botpatches.cpp: + Not quite there yet, but start to build curve sets from edge + loops. -2011-11-02 21:30 abhi2011 +2012-06-27 18:38 n_reed - * [r47404] src/libged/simulate/simrt.c: - Corrected the initialization of the number of normals. + * [r51358] src/other/step/CMakeLists.txt, + src/other/step/SCL_VERSION.txt, src/other/step/doc/Doxyfile, + src/other/step/doc/doxyassist.xml, + src/other/step/doc/doxygen_custom_header.html, + src/other/step/src/clstepcore/sdai.cc, + src/other/step/src/express/fedex.c, + src/other/step/src/fedex_plus/CMakeLists.txt, + src/other/step/src/fedex_plus/classes_misc.c, + src/other/step/src/fedex_plus/fedex_main.c: + Update version strings in fedex, fedex_plus, generated code, and + documentation. SCL git 6851b27, fa615a1, dc30ee2, d190a1e, + a33cba8, 698b9e0. -2011-11-02 21:27 abhi2011 +2012-06-27 14:15 r_weiss - * [r47403] src/libged/simulate/simrt.c, - src/libged/simulate/simrt.h, src/libged/simulate/simutils.c: - Need to keep track of normals encountered so far, for a ray - passing through rigid_body B, otherwise the same normals added - twice will skew the resultant normal direction. + * [r51357] src/tclscripts/mged/grouper.tcl: + Update to mged gr/grouper command. Improved the speed of + processing, added more error checking. Changed the output of + selected objects so 200 or less are listed on a single line, + greater than 200 each object is listed on its own line. This is a + temporary hack to prevent script lockup on windows. -2011-11-02 21:23 brlcad +2012-06-27 14:09 starseeker - * [r47402] src/conv/bot_dump.c, src/conv/g-vrml.c, - src/conv/obj-g.c, src/gtools/g_qa.c, src/libged/bot_dump.c, - src/libged/combmem.c, src/libged/exists.c, src/libged/human.c, - src/libged/move_all.c, src/librt/primitives/nmg/nmg_tri.c, - src/libtclcad/tclcad_obj.c, src/vdeck/vdeck.c: - gcc continues to get smarter. apply fixes for issues detected by - gcc 2.6.1, vars set but unused, unsigned 'char' that need to be - int, and other type corrections. + * [r51356] src/librt/test_botpatches.cpp: + Instead of building a vertex->face map and postprocessing, build + an edge->face map and work directly with that. -2011-11-02 20:46 bob1961 +2012-06-27 13:40 starseeker - * [r47401] src/tclscripts/mged/openw.tcl: - Check the display manager type before setting the zbuffer state - in "proc gui" + * [r51355] src/librt/test_botpatches.cpp: + helps to use the right type -2011-11-02 20:22 starseeker +2012-06-27 12:18 phoenixyjll - * [r47400] src/other/CMakeLists.txt: - If we turn off opengl, turn off togl too + * [r51354] src/librt/primitives/dsp/dsp_brep.cpp: + Use the dsp_stom matrix to do the transformation, instead of + using the magic number 1000. -2011-11-02 20:22 abhi2011 +2012-06-27 09:43 phoenixyjll - * [r47399] src/libged/simulate/simrt.c: - Some bug fixes to ray shots, now the normals for rigid body B are - summed correctly when there are overlapping objects : rigid body - A and rigid body B. Next is shooting a bunch of rays in the - direction opposite to this normal, to measure the depth of - penetration of B into A and finally calculate the bunch of - contact points on the surface of B which lies inside A(due to the - penetration). Then we have all the required info to inject into - Bullet + * [r51353] src/librt/primitives/dsp/dsp_brep.cpp: + Fixed the wrong variable name and remove the magic number. -2011-11-02 19:47 starseeker +2012-06-27 08:22 d_rossberg - * [r47398] CMakeLists.txt, misc/CMake/FindGL.cmake, - src/other/togl/CMake/FindGL.cmake: - Tweak the OpenGL find routines to care more if the headers are - found. + * [r51352] src/librt/opennurbs_ext.cpp: + "parent" is a C++ object in librt context here, so free it + accordingly -2011-11-02 17:56 abhi2011 +2012-06-27 04:15 starseeker - * [r47397] src/libged/simulate/simrt.c, - src/libged/simulate/simrt.h: - Added code for shooting z rays and analyzing normals. + * [r51351] src/librt/test_botpatches.cpp: + Needs debugging, but this looks promising as a way to break down + meshes faster than rt_bot_split -2011-11-02 16:31 abhi2011 +2012-06-26 22:37 anrgmrty - * [r47396] src/libged/simulate/simrt.c: - Shooting rays in y direction now and analyzing the normals - generated. + * [r51350] src/conv/g-voxel.c: + voxelize removed from main() and made part of a function in + g-voxel.c, miss() removed -2011-11-02 15:52 brlcad +2012-06-26 21:22 starseeker - * [r47395] src/fb/fb-png.c, src/fb/png-fb.c: - more header cleanup. png/zlib are system headers. use bin.h - instead of directly including winsock.h + * [r51349] src/librt/test_botpatches.cpp: + more experimentation -2011-11-02 15:50 brlcad +2012-06-26 20:47 starseeker - * [r47394] src/libged/png.c: - they're system headers, so use brackets instead of quotes and - pull them up into the right section. + * [r51348] src/librt/CMakeLists.txt: + Gah, didn't mean to uncomment test -2011-11-02 15:47 brlcad +2012-06-26 20:46 starseeker - * [r47393] src/util/bw-png.c, src/util/pix-png.c, - src/util/png-bw.c, src/util/png-pix.c, src/util/png_info.c: - zlib.h needs to be included before png.h in case compression - flags are used. also, they're system headers, so use brackets - instead of quotes and pull them up into the right section. + * [r51347] src/librt/CMakeLists.txt, src/librt/test_botpatches.cpp: + More experiments - something a bit off... -2011-11-02 14:57 brlcad +2012-06-26 20:32 n_reed - * [r47392] HACKING: - add a regex one-liner awesomeness for automatically extracting - the latest NEWS section into a release notes README-#-#-#.txt - file. also fix the release steps so that binary platform - maintainers are notified before public release announcements are - posted (so they can have a chance to get started on binary - builds) + * [r51346] src/other/step/src/cleditor/CMakeLists.txt: + add missing lib dependencies; SCL git d0293fd -2011-11-02 13:34 brlcad +2012-06-26 19:35 n_reed - * [r47391] HACKING: - freshmeat change their name to freecode + * [r51345] src/other/step/src/clstepcore/STEPaggregate.cc, + src/other/step/src/clstepcore/read_func.cc, + src/other/step/src/clstepcore/read_func.h: + simplify function prototype; SCL git 07d8791 -2011-11-02 11:21 starseeker +2012-06-26 18:59 n_reed - * [r47390] src/libbu/CMakeLists.txt: - Whoops, ignoring wrong file + * [r51344] src/other/step/src/clutils/CMakeLists.txt, + src/other/step/src/clutils/dirobj.cc: + need shlwapi for Windows path handling routines; SCL git 02feb6f -2011-11-02 07:00 abhi2011 +2012-06-26 17:34 n_reed - * [r47389] src/libged/simulate/simutils.c: - Corrected a bug in the primitive lookup code for a comb + * [r51343] src/other/step/src/cleditor/instmgr.cc, + src/other/step/src/clstepcore/STEPattribute.cc, + src/other/step/src/clstepcore/sdai.h: + Some unapplied changes from SCL git a362210, 696d8e3, and + 2b46efb, mostly fixing STEPattribute::is_null. -2011-11-01 22:11 starseeker +2012-06-26 17:33 r_weiss - * [r47388] src/libbu/CMakeLists.txt, src/libbu/Makefile.am, - src/other/CMakeLists.txt, src/other/Makefile.am, - src/other/uce-dirent: - Clean up the rest of the uce stuff + * [r51342] src/tclscripts/mged/grouper.tcl: + Update to gr/grouper mged command to fix a memory leak. -2011-11-01 22:08 starseeker +2012-06-26 15:56 n_reed - * [r47387] src/libbu/CMakeLists.txt, src/libbu/uce-dirent.h, - src/other/uce-dirent/uce-dirent.h: - Shouldn't have moved this, used only internally in libbu and it's - one file. + * [r51341] src/other/step/include/express/object.h, + src/other/step/src/express/object.c: + Address warning about indexing with char type values based on + ASCII characters (same problem as in r51103). Unlikely to be a + problem in this case so just quell by casting to int. SCL git + 512968e and 425a9c3. -2011-11-01 20:55 abhi2011 +2012-06-26 15:05 phoenixyjll - * [r47386] src/libged/simulate/simrt.c, - src/libged/simulate/simrt.h, src/libged/simulate/simutils.c, - src/libged/simulate/simutils.h: - Now the entry and exit solids of a ray passing through an overlap - region are checked to see if they belong to the comb of rigid - body B + * [r51340] src/librt/primitives/ehy/ehy_brep.cpp, + src/librt/primitives/epa/epa_brep.cpp: + Fix comment. -2011-11-01 20:45 starseeker +2012-06-26 13:50 phoenixyjll - * [r47384] doc/docbook/resources/brlcad/brlcad-xml-catalog.xml.in: - I don't think this variable needs to be specific to BRL-CAD in - this case... + * [r51339] src/librt/primitives/brep/brep_debug.cpp: + Another approach: copy all data from the old tree first. -2011-11-01 19:54 bob1961 +2012-06-26 13:38 phoenixyjll - * [r47383] src/tclscripts/archer/ArcherCore.tcl: - When opening a database also change the current working directory - to the directory where the database lives. + * [r51338] src/librt/primitives/brep/brep_debug.cpp: + Copy the transformation matrix. -2011-11-01 19:16 abhi2011 +2012-06-26 02:00 starseeker - * [r47382] src/libged/simulate/simrt.c: - More supporting code to test if the normals are being recorded - correctly during the ray trace + * [r51336] src/librt/test_botpatches.cpp: + Experiment with different ways to structure bot probing. -2011-11-01 18:54 abhi2011 +2012-06-25 23:52 starseeker - * [r47381] src/libged/simulate/simrt.c: - Added code for normals + * [r51335] src/librt/CMakeLists.txt: + Fix ignore list -2011-11-01 18:52 abhi2011 +2012-06-25 22:34 anrgmrty - * [r47380] src/libged/simulate/simrt.c, - src/libged/simulate/simrt.h, src/libged/simulate/simulate.h: + * [r51334] src/conv/g-voxel.c: + bug in g-voxel.c program regarding typecasting to integer removed +2012-06-25 21:08 cprecup -2011-11-01 16:42 abhi2011 + * [r51333] src/libged/CMakeLists.txt: + Added special cases for when the Adaptagrams library is found or + not found. Don't add dag.cpp to ged_ignore_files if the library + is not found; i.e., always compile it. - * [r47379] src/libged/simulate/simutils.c, - src/libged/simulate/simutils.h: - Added a function to check if a solid is present in a comb, - required for checking which rigid body(a comb), a particular - solid belongs to , while raytracing. +2012-06-25 21:05 cprecup -2011-11-01 15:19 abhi2011 + * [r51332] src/libged/dag.cpp: + Use the #define HAVE_ADAPTAGRAMS in the src/libged/dag.cpp file + in order to be compiled regardless of the fact that libavoid + exists or no. Fixed indentation. - * [r47378] src/libged/simulate/simcollisionalgo.cpp, - src/libged/simulate/simcollisionalgo.h, - src/libged/simulate/simphysics.cpp, src/libged/simulate/simrt.c, - src/libged/simulate/simrt.h, src/libged/simulate/simulate.c, - src/libged/simulate/simulate.h, src/libged/simulate/simutils.c, - src/libged/simulate/simutils.h: +2012-06-25 21:01 cprecup + * [r51331] CMakeLists.txt: + Added a compile-time preprocessor #define HAVE_ADAPTAGRAMGS -2011-10-31 14:54 erikgreenwald +2012-06-25 20:42 starseeker - * [r47377] src/libgcv/bottess.c: - change double ptrs to explicit point_t ptrs. + * [r51330] src/librt/CMakeLists.txt, src/librt/test_botpatches.c, + src/librt/test_botpatches.cpp: + Find edge vertices of bot patches. -2011-10-31 12:44 indianlarry +2012-06-25 18:10 jordisayol - * [r47376] src/conv/iges/treecheck.c: - Change Treecheck() return from void to int + * [r51329] misc/debian/changelog: + Update debian/changelog version -2011-10-31 05:26 starseeker +2012-06-25 18:09 bob1961 - * [r47374] misc/CMake/FindX11.cmake, - src/other/incrTcl/itk/CMake/FindX11.cmake, - src/other/tk/CMake/FindX11.cmake, - src/other/tkhtml/CMake/FindX11.cmake, - src/other/tkpng/CMake/FindX11.cmake, - src/other/tktable/CMake/FindX11.cmake: - Tweak FindX11.cmake for Mac OSX 10.6 + * [r51328] src/tclscripts/archer/Arb4EditFrame.tcl, + src/tclscripts/archer/Arb5EditFrame.tcl, + src/tclscripts/archer/Arb6EditFrame.tcl, + src/tclscripts/archer/Arb7EditFrame.tcl, + src/tclscripts/archer/Arb8EditFrame.tcl, + src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl, + src/tclscripts/archer/CombEditFrame.tcl, + src/tclscripts/archer/EhyEditFrame.tcl, + src/tclscripts/archer/EllEditFrame.tcl, + src/tclscripts/archer/EpaEditFrame.tcl, + src/tclscripts/archer/EtoEditFrame.tcl, + src/tclscripts/archer/ExtrudeEditFrame.tcl, + src/tclscripts/archer/GripEditFrame.tcl, + src/tclscripts/archer/HalfEditFrame.tcl, + src/tclscripts/archer/HypEditFrame.tcl, + src/tclscripts/archer/PartEditFrame.tcl, + src/tclscripts/archer/PipeEditFrame.tcl, + src/tclscripts/archer/RhcEditFrame.tcl, + src/tclscripts/archer/RpcEditFrame.tcl, + src/tclscripts/archer/ShaderEdit.tcl, + src/tclscripts/archer/SuperellEditFrame.tcl, + src/tclscripts/archer/TgcEditFrame.tcl, + src/tclscripts/archer/TorusEditFrame.tcl: + Oops. Should be ::cadwidgets::Ged::validate instead of + ::cadwidgets::validate -2011-10-31 05:02 brlcad +2012-06-25 17:08 r_weiss - * [r47373] CMakeLists.txt: - match the original autotools logic, detect all the way back to - 8-bit architectures so we might have a prayer's chance of working - out of the box on an embedded platform. + * [r51327] src/librt/db5_io.c: + Fixed a bug in function "db5_decode_signed" in file "db5_io.c" + where under certain conditions, on Windows 64bit VS2008, a + BU_ASSERT_SIZE_T failure occurs in function "rt_comb_import5" + line 547. -2011-10-31 05:00 brlcad +2012-06-25 16:16 r_weiss - * [r47372] src/librt/CMakeLists.txt: - shouldn't be any reason to disable strict mode on librt. change - the code, not the messenger. + * [r51326] src/libged/analyze.c: + Fixes a compile error in Windows VS2008. -2011-10-30 15:50 brlcad +2012-06-25 15:48 bob1961 - * [r47369] doc/docbook/Makefile.am: - update CatalogManager.properties file for autotools dist, in - builddir, not srcdir + * [r51325] src/tclscripts/archer/Arb4EditFrame.tcl, + src/tclscripts/archer/Arb5EditFrame.tcl, + src/tclscripts/archer/Arb6EditFrame.tcl, + src/tclscripts/archer/Arb7EditFrame.tcl, + src/tclscripts/archer/Arb8EditFrame.tcl, + src/tclscripts/archer/Archer.tcl, + src/tclscripts/archer/ArcherCore.tcl, + src/tclscripts/archer/CombEditFrame.tcl, + src/tclscripts/archer/EhyEditFrame.tcl, + src/tclscripts/archer/EllEditFrame.tcl, + src/tclscripts/archer/EpaEditFrame.tcl, + src/tclscripts/archer/EtoEditFrame.tcl, + src/tclscripts/archer/ExtrudeEditFrame.tcl, + src/tclscripts/archer/GeometryEditFrame.tcl, + src/tclscripts/archer/GripEditFrame.tcl, + src/tclscripts/archer/HalfEditFrame.tcl, + src/tclscripts/archer/HypEditFrame.tcl, + src/tclscripts/archer/PartEditFrame.tcl, + src/tclscripts/archer/PipeEditFrame.tcl, + src/tclscripts/archer/RhcEditFrame.tcl, + src/tclscripts/archer/RpcEditFrame.tcl, + src/tclscripts/archer/ShaderEdit.tcl, + src/tclscripts/archer/SuperellEditFrame.tcl, + src/tclscripts/archer/TgcEditFrame.tcl, + src/tclscripts/archer/TorusEditFrame.tcl: + Using cadwidgets::validateDouble. -2011-10-30 15:27 brlcad +2012-06-25 15:45 bob1961 - * [r47367] NEWS: - getting much closer, should be today if this last pass succeeds + * [r51324] src/tclscripts/lib/Ged.tcl: + Added validation methods for digit and double. -2011-10-30 14:03 brlcad +2012-06-25 14:40 starseeker - * [r47366] include/CMakeLists.txt, include/Makefile.am: - add the new rt/defines.h header for install/dist + * [r51323] include/conf/MINOR: + 7.22.1 is now the trunk version number -2011-10-30 14:01 brlcad +2012-06-25 13:31 starseeker - * [r47365] include/rt/defines.h: - not yet used, but add the start of a common definitions file for - librt just so this directory isn't empty + * [r51322] src/librt/test_botpatches.c: + Split into surface patch bots -2011-10-30 02:02 brlcad +2012-06-25 03:29 brlcad - * [r47364] src/conv/3dm/3dm-g.cpp, src/conv/asc/asc2g.c, - src/conv/asc/g2asc.c, src/conv/dem-g.c, src/conv/dxf/dxf-g.c, - src/conv/g-dot.c, src/conv/g-egg.c, src/conv/g-vrml.c, - src/conv/g-xxx_facets.c, src/conv/iges/brep.c, - src/conv/iges/docolor.c, src/conv/iges/readdbl.c, - src/conv/iges/readmatrix.c, src/conv/iges/spline.c, - src/conv/intaval/glob.h, src/conv/intaval/read_dra.cpp, - src/conv/intaval/regtab.cpp, src/conv/intaval/regtab.h, - src/conv/intaval/tgf-g.cpp, src/conv/intaval/write_brl.cpp, - src/conv/jack/jack-g.c, src/conv/patch/patch-g.h, - src/conv/step/Axis2Placement3D.cpp, - src/conv/step/BRLCADWrapper.cpp, - src/conv/step/BSplineCurveWithKnots.cpp, - src/conv/step/BSplineSurfaceWithKnots.cpp, - src/conv/step/Factory.cpp, src/conv/step/ManifoldSolidBrep.cpp, - src/conv/step/PullbackCurve.cpp, src/conv/step/PullbackCurve.h, - src/conv/step/STEPWrapper.cpp, - src/conv/step/SdaiCONFIG_CONTROL_DESIGN.h, - src/conv/step/Sdaiclasses.h, src/conv/step/schema.h, - src/conv/tankill/tankill-g.c, src/conv/walk_example.c: - ws + * [r51321] NEWS, README, include/conf/PATCH: + update to 7.22.1 in anticipation of 7.22.2 in a few weeks. From 962735c0f0db64ab80a772e3dfabad26ed7b458e Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Thu, 13 Jun 2013 16:28:27 +0000 Subject: [PATCH 144/149] commit the change log svn:revision:55750 svn:branch:trunk svn:account:brlcad --- HACKING | 1 + 1 file changed, 1 insertion(+) diff --git a/HACKING b/HACKING index 0e33cbabbd5..263ca38c43a 100644 --- a/HACKING +++ b/HACKING @@ -1167,6 +1167,7 @@ Get the date from the NEWS file. LAST=`grep -E "\--- [0-9]{4}-[0-9]{2}-[0-9]{2}" NEWS | head -n 2 | tail -n 1 | awk '{print $2}'` echo "LAST=$LAST" svn2cl --break-before-msg --include-rev --stdout -r HEAD:{$LAST} > ChangeLog + svn commit -m "update log with commits through $LAST" ChangeLog 4) Verify a successful build and distcheck on at least two platforms. Passing regression tests, benchmark, and two build configurations are From a614b5227f3834678f59bf03148487b6d077a1d6 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Thu, 13 Jun 2013 16:38:48 +0000 Subject: [PATCH 145/149] remove assumptions about source path, make steps copy-pasteable, fix typo in cmake line and make it also test release compilation. svn:revision:55751 svn:branch:trunk svn:account:brlcad --- HACKING | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/HACKING b/HACKING index 263ca38c43a..2335e12a63d 100644 --- a/HACKING +++ b/HACKING @@ -1173,8 +1173,9 @@ Get the date from the NEWS file. Passing regression tests, benchmark, and two build configurations are critically required. Manually test mged and archer. - cmake ../brlcad && make distcheck - cmake ../brlcad -BRLCAD_BUNDLED_LIBS=ON && make distcheck + mkdir -p .release && cd .release + cmake .. && make distcheck && rm -rf ../.release/* + cmake .. -DBRLCAD_BUNDLED_LIBS=ON -DCMAKE_BUILD_TYPE=Release && make distcheck 5) Sync trunk with the STABLE branch. Make sure all changes since the previous sync are included and that STABLE matches trunk. From fbadb0407b99950be10ad620a533ce02c7bdf4f7 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Thu, 13 Jun 2013 16:49:45 +0000 Subject: [PATCH 146/149] autotools is no more, provide cmake distcheck step svn:revision:55752 svn:branch:trunk svn:account:brlcad --- HACKING | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HACKING b/HACKING index 2335e12a63d..363faa5402f 100644 --- a/HACKING +++ b/HACKING @@ -1190,7 +1190,7 @@ previous sync are included and that STABLE matches trunk. # merge that range of changes into STABLE and make sure it works svn co https://svn.code.sourceforge.net/p/brlcad/code/brlcad/branches/STABLE brlcad.STABLE && cd brlcad.STABLE svn merge https://svn.code.sourceforge.net/p/brlcad/code/brlcad/trunk@$PREV https://svn.code.sourceforge.net/p/brlcad/code/brlcad/trunk@HEAD . - sh autogen.sh && ./configure --enable-all && make distcheck + mkdir .release && cd .release && cmake .. -DBRLCAD_BUNDLED_LIBS=ON -DCMAKE_BUILD_TYPE=Release && make distcheck export CURR=`svn log --xml https://svn.code.sourceforge.net/p/brlcad/code/brlcad/trunk | grep 'revision=' | head -n 1 | sed 's/.*="\([0-9][0-9]*\)".*/\1/g'` echo "CURR=$CURR" svn commit -m "merging trunk to STABLE from r$PREV to HEAD r$CURR" From 85f9bfac63801f0e7f057708d3998d35e2d09153 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Thu, 13 Jun 2013 16:52:56 +0000 Subject: [PATCH 147/149] use sf.net shorthand instead of sourceforge.net for all except e-mail svn:revision:55753 svn:branch:trunk svn:account:brlcad --- HACKING | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/HACKING b/HACKING index 363faa5402f..6e31528668f 100644 --- a/HACKING +++ b/HACKING @@ -1181,17 +1181,17 @@ critically required. Manually test mged and archer. previous sync are included and that STABLE matches trunk. # review the log and obtain the last trunk merge revision number from comments - svn log --stop-on-copy https://svn.code.sourceforge.net/p/brlcad/code/brlcad/branches/STABLE . | more + svn log --stop-on-copy https://svn.code.sf.net/p/brlcad/code/brlcad/branches/STABLE . | more export PREV=[[last_trunk_rev]] *** OR *** - export PREV=`svn log --xml --stop-on-copy https://svn.code.sourceforge.net/p/brlcad/code/brlcad/branches/STABLE | grep 'revision=' | head -n 1 | sed 's/.*revision="\([0-9][0-9]*\)".*/\1/g'` + export PREV=`svn log --xml --stop-on-copy https://svn.code.sf.net/p/brlcad/code/brlcad/branches/STABLE | grep 'revision=' | head -n 1 | sed 's/.*revision="\([0-9][0-9]*\)".*/\1/g'` echo "PREV=$PREV" # merge that range of changes into STABLE and make sure it works - svn co https://svn.code.sourceforge.net/p/brlcad/code/brlcad/branches/STABLE brlcad.STABLE && cd brlcad.STABLE - svn merge https://svn.code.sourceforge.net/p/brlcad/code/brlcad/trunk@$PREV https://svn.code.sourceforge.net/p/brlcad/code/brlcad/trunk@HEAD . + svn co https://svn.code.sf.net/p/brlcad/code/brlcad/branches/STABLE brlcad.STABLE && cd brlcad.STABLE + svn merge https://svn.code.sf.net/p/brlcad/code/brlcad/trunk@$PREV https://svn.code.sf.net/p/brlcad/code/brlcad/trunk@HEAD . mkdir .release && cd .release && cmake .. -DBRLCAD_BUNDLED_LIBS=ON -DCMAKE_BUILD_TYPE=Release && make distcheck - export CURR=`svn log --xml https://svn.code.sourceforge.net/p/brlcad/code/brlcad/trunk | grep 'revision=' | head -n 1 | sed 's/.*="\([0-9][0-9]*\)".*/\1/g'` + export CURR=`svn log --xml https://svn.code.sf.net/p/brlcad/code/brlcad/trunk | grep 'revision=' | head -n 1 | sed 's/.*="\([0-9][0-9]*\)".*/\1/g'` echo "CURR=$CURR" svn commit -m "merging trunk to STABLE from r$PREV to HEAD r$CURR" @@ -1201,12 +1201,12 @@ previous sync are included and that STABLE matches trunk. MINOR=`awk '{print $1}' include/conf/MINOR` PATCH=`awk '{print $1}' include/conf/PATCH` echo "Tagging rel-$MAJOR-$MINOR-$PATCH" - svn cp https://svn.code.sourceforge.net/p/brlcad/code/brlcad/branches/STABLE https://svn.code.sourceforge.net/p/brlcad/code/brlcad/tags/rel-$MAJOR-$MINOR-$PATCH + svn cp https://svn.code.sf.net/p/brlcad/code/brlcad/branches/STABLE https://svn.code.sf.net/p/brlcad/code/brlcad/tags/rel-$MAJOR-$MINOR-$PATCH 7) Obtain a tagged version of the sources from the repository (required to ensure the tagging and source distribution is correct): - svn checkout https://svn.code.sourceforge.net/p/brlcad/code/brlcad/tags/rel-$MAJOR-$MINOR-$PATCH brlcad-$MAJOR.$MINOR.$PATCH + svn checkout https://svn.code.sf.net/p/brlcad/code/brlcad/tags/rel-$MAJOR-$MINOR-$PATCH brlcad-$MAJOR.$MINOR.$PATCH 8) Perform another "make distcheck" on the exported/updated sources to generate distributable compressed source tarballs. @@ -1226,16 +1226,16 @@ SourceForge and then select them on the sf.net File Release System: SFUSERNAME=`ls ~/.subversion/auth/svn.simple/* | xargs -n 1 grep -A4 sourceforge | tail -1` echo "SFUSERNAME=$SFUSERNAME MAJOR=$MAJOR MINOR=$MINOR PATCH=$PATCH" -ssh -v $SFUSERNAME,brlcad@shell.sourceforge.net create -ssh -v $SFUSERNAME,brlcad@shell.sourceforge.net mkdir "/home/frs/project/b/br/brlcad/BRL-CAD\ Source/$MAJOR.$MINOR.$PATCH" -scp brlcad-$MAJOR.$MINOR.$PATCH* "$SFUSERNAME,brlcad@shell.sourceforge.net:/home/frs/project/b/br/brlcad/BRL-CAD\ Source/$MAJOR.$MINOR.$PATCH/." +ssh -v $SFUSERNAME,brlcad@shell.sf.net create +ssh -v $SFUSERNAME,brlcad@shell.sf.net mkdir "/home/frs/project/b/br/brlcad/BRL-CAD\ Source/$MAJOR.$MINOR.$PATCH" +scp brlcad-$MAJOR.$MINOR.$PATCH* "$SFUSERNAME,brlcad@shell.sf.net:/home/frs/project/b/br/brlcad/BRL-CAD\ Source/$MAJOR.$MINOR.$PATCH/." This can all be done through the sf.net project web interface too. Extract and upload the release notes: cat NEWS | tr '\n' '$' | perl -pi -e 's/.*(\$--*\$---[[:space:]]*[0-9-]*[[:space:]]*Release[[:space:]]*7.20.4[[:space:]]*---\$-*\$.*?)\$---.*/\1/g' | tr '$' '\n' > README-$MAJOR-$MINOR-$PATCH.txt -scp README-$MAJOR-$MINOR-$PATCH.txt "$SFUSERNAME,brlcad@shell.sourceforge.net:/home/frs/project/b/br/brlcad/BRL-CAD\ Source/$MAJOR.$MINOR.$PATCH/." -ssh -v $SFUSERNAME,brlcad@shell.sourceforge.net shutdown +scp README-$MAJOR-$MINOR-$PATCH.txt "$SFUSERNAME,brlcad@shell.sf.net:/home/frs/project/b/br/brlcad/BRL-CAD\ Source/$MAJOR.$MINOR.$PATCH/." +ssh -v $SFUSERNAME,brlcad@shell.sf.net shutdown 11) Increment and commit the next BRL-CAD release numbers to SVN; update the include/conf/(MAJOR|MINOR|PATCH) version files immediately From 80fc6d78a93a66683338ace6b0faceaf6f283799 Mon Sep 17 00:00:00 2001 From: Carl Moore Date: Thu, 13 Jun 2013 17:02:11 +0000 Subject: [PATCH 148/149] implement h,?,run-with-no-arguments help; remove old h svn:revision:55754 svn:branch:trunk svn:account:carlmoore --- src/fb/fbcmap.c | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/src/fb/fbcmap.c b/src/fb/fbcmap.c index 2fb9edb1f71..22a420a0aff 100644 --- a/src/fb/fbcmap.c +++ b/src/fb/fbcmap.c @@ -591,11 +591,8 @@ pars_Argv(int argc, char **argv) { int c; - while ((c = bu_getopt(argc, argv, "hF:s:S:w:W:n:N:")) != -1) { + while ((c = bu_getopt(argc, argv, "F:s:S:w:W:n:N:h?")) != -1) { switch (c) { - case 'h' : - scr_width = scr_height = 1024; - break; case 'F': framebuffer = bu_optarg; break; @@ -612,7 +609,7 @@ pars_Argv(int argc, char **argv) case 'N': scr_height = atoi(bu_optarg); break; - case '?' : + default : return 0; } } @@ -625,7 +622,7 @@ pars_Argv(int argc, char **argv) static void usage() { - (void) fprintf(stderr, "Usage: fbcmap [-h] [-F framebuffer]\n"); + (void) fprintf(stderr, "Usage: fbcmap [-F framebuffer]\n"); (void) fprintf(stderr, " [-{sS} squarescrsize] [-{wW} scr_width] [-{nN} scr_height]\n"); (void) fprintf(stderr, " [map_number]\n"); (void) fprintf(stderr, @@ -646,9 +643,9 @@ usage() (void) fprintf(stderr, "Color map #10, solid black.\n"); (void) fprintf(stderr, "Color map #11, solid white.\n"); (void) fprintf(stderr, "Color map #12, 18%% neutral grey.\n"); + bu_exit(1, NULL); } - int main(int argc, char **argv) { @@ -658,10 +655,10 @@ main(int argc, char **argv) ColorMap *cp = &cmap; FBIO *fbp; - if (! pars_Argv(argc, argv)) { + if (argc == 1 && isatty(fileno(stdin)) && isatty(fileno(stdout))) + usage(); + if (! pars_Argv(argc, argv)) usage(); - return 1; - } if ((fbp = fb_open(framebuffer, scr_width, scr_height)) == NULL) return 1; From d3e60a67edb93647dd039f2804d9e549214029af Mon Sep 17 00:00:00 2001 From: Keith Boman Date: Thu, 13 Jun 2013 17:40:16 +0000 Subject: [PATCH 149/149] The newton solver iterates until it gets within a program specified closeness tolerance to the ray under consideration. The UV parameters are then checked to determine if they are within the current surface subdivision bounding (SSB) box under evaluation. For rays close to the UV border the solver occasionally fails because it jumps slightly out of its current UV but within the ray closeness tolerance. These rays are usually picked up when evaluating the adjacent SSB but not always. To make sure these valid hit points aren't dropped I've added a slight tolerance (VUNITIZE_TOL) to the UV check. This fix is related to speckling picked up on raytraced images of implicit geometries converted to a BREP. svn:revision:55755 svn:branch:trunk svn:account:indianlarry --- src/librt/primitives/brep/brep.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/librt/primitives/brep/brep.cpp b/src/librt/primitives/brep/brep.cpp index e8c59aed75b..919232eb4b9 100644 --- a/src/librt/primitives/brep/brep.cpp +++ b/src/librt/primitives/brep/brep.cpp @@ -788,10 +788,13 @@ utah_newton_solver(const BBNode* sbv, const ON_Surface* surf, const ON_Ray& r, O } if (rootdist < ROOT_TOL) { - if (sbv->m_u.Includes(uv.x) && sbv->m_v.Includes(uv.y)) { + int ulow = (sbv->m_u.m_t[0] <= sbv->m_u.m_t[1]) ? 0 : 1; + int vlow = (sbv->m_v.m_t[0] <= sbv->m_v.m_t[1]) ? 0 : 1; + if ((sbv->m_u.m_t[ulow]-VUNITIZE_TOL < uv.x && uv.x < sbv->m_u.m_t[1-ulow]+VUNITIZE_TOL) && + (sbv->m_v.m_t[vlow]-VUNITIZE_TOL < uv.y && uv.y < sbv->m_v.m_t[1-vlow]-VUNITIZE_TOL)) { bool new_point = true; for (int j=0;j