1************ Changes from 1.3 to 1.4 ************ 2 33 Apr 2000 4Added Tcl_GeoLineArrayNameUsed and Tcl_GeoLineArrayAdd functions to 5tclGeoLineArray interface. 6 710 Apr 2000 8Deleted calls to GeoRdFile interface in newLatLonArrayFmXdr 9 1010 Apr 2000 11Put Tcl_GeoLineArrayAddSubCmd into command initialization loop in 12Tclgeolinearray_Init. 13 1411 Apr 2000 15Changed newLatLonArrayFmXdr to use Tcl_GeoLineArrayNameUsed and 16Tcl_GeoLineArrayAdd. 17Deleted calls to GeoRdFile interface in newLatLonArrayFmAscii. 18Deleted tclGeoRdFile.c and tclGeoRdFile.h. They are no longer used 19(the interface was a bad idea anyway). 20 2114 Apr 2000 22Replaced "geolines" with "geolinearray" in pkgIndex.tcl 23tclGeography.c: Replaced call to sscanf with Tcl_ListObjGetElements in 24SetLatLonFromAny and SetProjPtFromAny. 25 2617 Apr 2000 27Changed all functions in tclGeoLineArray to use Tcl Object interface. 28 2918 Apr 2000 30Changed all functions in tclGeoPlace to use Tcl Object interface. 31 3224 Apr 2000 33Changed geoMap.objName to geoMap.mapName in tkGeoMap.c, tkGeoMap.h, and 34tkGeoMapWdg.c 35 3625,26 Apr 2000 37Changed tkGeoMap.[ch] to use Tcl Object interface. 38 3928,29 Apr 2000 40Changed tkCanvGeoMap.[ch] to use Tcl Object interface. 41Modeled on /home/gordonc/tcl/tk8.3.0/generic/tkCanvArc.c 42Deleted USE_OLD_CANVAS definition from tkCanvGeoMap.c 43Added TK_CONFIG_OBJS flag to GeomapItemType and Tk_ConfigureWidget calls. 44 452 May 2000 46Changed "geoplace geomaplistplaces" to "geoplace geomaplist" in geoplace 47command. 48Added geomaplist subcommand to geolinearray. 49Set initial dotsize to -1 in geoMapCreatePlace. 50 517 May 2000 52Set initial dotsize to 0 in geoMapCreatePlace. 53Enlarged error messages in tclGeoPlace and tclGeoLineArray with TclMsg 54 interface. 55 568 May 2000 57Enlarged error messages in tkGeoMap with TclMsg interface. 58 599 May 2000 60Made sure dotsize becomes non-zero in TkGeoMapDrawDot. 61 6210 May 2000 63Added geolinearray descr command. 64 6514 May 2000 66Added -descrlen and -format options to geolinearray fmascii 67Made FreeGeoLine return immediately if handed a NULL. 68 6916 May 2000 70Made geolinearray fmascii read a given number of lines into a descriptor. 71If descrlen is of form i or ib, read a number of bytes into descriptor. 72If descrlen is of form il, read a number of lines into descriptor. 73Only the first 256 bytes of each line are read. 74 7517 May 2000 76Remove free(latLonArray) in error branches of fmXdr and fmAscii functions. 77It was freeing already freed memory. tsk, tsk... 78 7918 May 2000 80Cleaned up error messages in tclGeoLineArray 81 8222 May 2000 83Added toXdr to tclGeoLineArray interface. 84 8523 May 2000 86Added toList to tclGeoLineArray interface. 87 8824 May 2000 89Modified tclGeoPlace interface. Now functions get a token to a place using 90TclGeoPlaceGet, which is the argument in TclGeoPlaceAddUser, 91TclGeoPlaceDropUser, and TclGeoPlaceLoc. 92 9325 May 2000 94Added ptperln option to geolinearray toascii 95Added geolinearray tobin and frombin 96 9728 May 2000 98Changed point sequence to dot-pixmap-text instead or pixmap-dot-text so that 99dots would not obscure small pixmaps. 100Put TkGeoLineArray's into linked list so they are drawn in proper order: 101first array drawn on bottom, subsequent arrays on top. 102 10330 May 2000 104Put TkGeoMapPlace's into linked list so they are drawn in proper order: 105first place drawn on bottom, subsequent places on top. 106 1073 Jun 2000 108Replace NOWHERE comparisons in geoProj.c and geoLines.c with GeoPtIsSomewhere 109calls. 110Added "somewhere" command to tclgeography package. 111Added somewhere call to RefPointCircledProjScript in tkCanvGeoMapProcs 112Added azrng subcommand to geoplace 113 1144 Jun 2000 115Created geography.tcl, with Circle proc and proc's for converting between 116degree-minute-second and decimal representations. 117Added openChannel function to tclGeoLineArray package to consolidate code for 118opening input channels. Removed untested and probably useless '|' syntax for 119writing to pipes from toXXX subcommands. 120 12114 Jun 2000 122Cleaned up the degree-to-units conversions in geography.h 123 12415 Jun 2000 125Cleaned up DomainLon and created IDomainLon in geography.h 126 12718 Jun 2000 128geoLineArrayToProj: latLonArrayToCylProj, check whether a line is entirely 129within longitude domain of the current projection. If so, don't bother looking 130for segments that cross boundaries. 131 13223 Jun 2000 133Changed names of all GeoLines functions to either GeoLine or GeoLineArray. 134Made GeoLines and GeoLineArrays grow by 25% instead of by fixed steps. 135 1364 Jul 2000 137geoLines.c: Shortened a bunch of variable names. Changed for loops to use 138pointer walking instead of index incrementing. 139Removed scale and rotation members from GeoProj interface. 140Removed scale and rotation from tclGeoProj command. 141Added Rotation structure and functions to geography.c 142Added scale and rotation members to tkGeoMap structure, with access through 143custom options. 144Moved declarations of GeoLine and GeoLineArray structures from geoLines.c to 145geoLines.h. 146Changed projection to proj for projection member of tkGeoMap structure. 147In tkGeoMap.c, wrapped calls to LatLonToProj inside call to ScaleRotateGeoPt, 148since LatLonToProj only does projection transformation, now. 149 1507 Jul 2000 151Added rotation to geoLineArrayToProj interface, i.e. now use both projection 152and rotation when converting latLon arrays to drawing arrays. 153Combined cartographic and device scale into pxPerProjM (pixels per projection 154meter) in tkGeoMap.c 155 15611-12 Jul 2000 157Changed tkGeoMap.c to use the changed geoLineArrayToProj interface. 158 15919 Jul 2000 160Moved projId and projUserId from widget and item structs into TkGeoMap struct. 161Added rotation config option to widget. 162 16320 Jul 2000 164Corrected tkGeoMapWdg procs for map vice projection conversions. 165 16622-23 Jul 2000 167Created MapPoint. Replaced GeoPoints that referred to 2D MapPoints in all 168source files. 169 17026 Jul 2000 171georadius command now requires a unit. 172 17330 Jul 2000 174Removed TclMsg interface. 175Moved lonbtwn from tclGeoPlace to tclGeography 176Changed name of georadius man page to geography. Indicated CHANGE IN USER 177INTERFACE: default is now meters. 178 17931 Jul 2000 180Moved cross function from geolinearray command to geography package. 181 1821 Aug 2000 183Fixed some indexing and initialization bugs in inrange in tclGeoPlace. 184Made sure base place does not appear in list of near places (a place is 185not close to itself). 186 1876 Aug 2000 188In geoLineArrayToMap.c replaced several uses of DegCmp with LonCmp as follows: 189diff geoLineArrayToMap.c backup/geoLineArrayToMap.c_000806143712 190205c205 191< if (LonCmp(lon0, east) == PrMd && LonCmp(lon1, west) == PrMd) 192--- 193> if (DegCmp(lon0, east) == 0 && DegCmp(lon1, west) == 0) 194207c207 195< if (LonCmp(lon0, west) == PrMd && LonCmp(lon1, east) == PrMd) 196--- 197> if (DegCmp(lon0, west) == 0 && DegCmp(lon1, east) == 0) 198268c268 199< if (LonCmp(lon0, east) == PrMd && LonCmp(lon1, west) == PrMd) 200--- 201> if (DegCmp(lon0, east) == 0 && DegCmp(lon1, west) == 0) 202270c270 203< if (LonCmp(lon0, west) == PrMd && LonCmp(lon1, east) == PrMd) 204--- 205> if (DegCmp(lon0, west) == 0 && DegCmp(lon1, east) == 0) 206415c415 207< if (LonCmp(lon0, east) == PrMd && LonCmp(lon1, west) == PrMd) 208--- 209> if (DegCmp(lon0, east) == 0 && DegCmp(lon1, west) == 0) 210417c417 211< if (LonCmp(lon0, west) == PrMd && LonCmp(lon1, east) == PrMd) 212--- 213> if (DegCmp(lon0, west) == 0 && DegCmp(lon1, east) == 0) 214480c480 215< if (LonCmp(lon0, east) == PrMd && LonCmp(lon1, west) == PrMd) 216--- 217> if (DegCmp(lon0, east) == 0 && DegCmp(lon1, west) == 0) 218482c482 219< if (LonCmp(lon0, west) == PrMd && LonCmp(lon1, east) == PrMd) 220--- 221> if (DegCmp(lon0, west) == 0 && DegCmp(lon1, east) == 0) 222 223Made incrRefCount and decrRefCount for geoproj private to tclGeoProj.c 224Usage is now arranged by TclGeoProjUse in all cases. 225Removed fprintf(stderr,...) error message from default case in LatLonArrayToMap 226Added nMiPerDeg to geography.c static constant set. Nautical mile is 227 1852.0 meters. Does not change with radius of Earth. 228 22914 Aug 2000 230Added MapLineArrayDestroy call to TkGeoMapEraseLines. 231 23215 Aug 2000 233In geoLineArrayToMap.c, replaced lnWest <= lnEast with 234 DegCmp(lnWest, lnEast) == -1 235Changed number of degree units per degree from 1000 to 10000. 236 23728 Aug 2000 238In tkGeoMapWdg.c, changed static int initCmdTable(Tcl_Interp *interp) to 239static void initCmdTable(void) 240Added center configuration option to geomap widget. 241 24229 Aug 2000 243Changed canvas geomap item configuration from solid border to 3D. 244 24530 Aug 2000 246Moved bgBorder, bdLineWidth, and relief members and configuration from 247 canvas item and widget to shared TkGeoMap interface. 248Canvas item and widget now use Tk_GetGC and Tk_FreeGC instead of 249 XCreateGC and XFreeGC. 250Create GC for widget and canvas item are now in create function instead of 251 config function. 252 25331 Aug 2000 254Moved TkGeoMapUpdateLines and TkGeoMapUpdatePlaces calls to TkGeoMapToPixmap. 255Made -projection a CUSTOMOPTION. 256 2572 Sep 2000 258Created TkGeoMapAppendConfig function. Config specs are now set at 259 initialization in TkGeoMap.c 260Put custom configuration option structs and functions into TkGeoMap.c as static 261 locals. 262 2633 Sep 2000 264Added reference longitude to CylEqdist projection in geoProj.c and tclGeoProj.c. 265 2666 Sep 2000 267Put rotation functions from geography into their own interface in rotation.[ch] 268 2697 Sep 2000 270Put longitude and latitude comparison and domain functions into their own 271 interface in geoCmp.[ch] 272Put Earth constants into earth.[ch] 273In GeoLineArraySetAlloc, if number of lines decreases, free extra lines before 274 removing them. 275 27611 Sep 2000 277Shortened lots of variable names. 278 27912 Sep 2000 280Made GeoPtIsSomewhere, GeoPtIsNowhere, GeoPtNowhere, MapPtIsSomewhere, and 281MapPtIsNowhere macros in geography.h into functions in geography.c. 282Made GeoLineInit static local in geoLines.c. Likewise MapLineInit. 283Ensured nLines <= nLinesMax in GeoLnArrRealloc and MapLnArrRealloc and 284 npts <= nptsMax in GeoLnRealloc and MapLnRealloc. 285 28613 Sep 2000 287Deleted lambertConfConicToMap. Lambert Conformal Conic now treated as 288 cylindrical projection when projecting. 289 29019 Sep 2000 291Created lines interface. Made geoLine and mapLine interfaces clients of it. 292 29320 Sep 2000 294Removed earth.[ch]. Created global variable Rearth in geography.[ch] with some 295 macros for converting distance units. 296Reinstalled TclMsg interface for error messages. 297 29824 Sep 2000 299Removed SecantPolarStereographic 300 30125 Sep 2000 302Fixed bug in tolist: for one line array, take index 0, not 1. Tsk, tsk... 303 30426 Sep 2000 305In lnSetAlloc, if reducing allocation, reduce nPts and recompute maxima and 306minima. 307 30828 Sep 2000 309GeoLnArrayDestroy, MapLnArrDestroy, and lineArrayDestroy leave argument line 310array untouched and return false if userCnt > 0. 311Made userCnt int instead of unsigned. 312 31329 Sep 2000 314Made geoplace userCnt an int. Place cannot be deleted if its userCnt > 0. 315 3162 Oct 2000 317Removed descriptor member from struct GeoProjInfo 318 3199 Oct 2000 320In tclGeoLineArray.c removed the block: 321if (GeoLnArrNLines(geoLnArr) == 0) { 322 Tcl_AppendResult(interp, "No lines read from ", fileName, "\n", NULL); 323 goto error; } 324when reading in lines. 325 32612 Oct 2000 327Added dmstodec command to tclgeography package. 328 32915 Oct 2000 330Added dectodm, dectodms, and cartg commands to tclgeography package. 331 33216 Oct 2000 333Deleted tclGeogProgs script. 334 3352 Nov 2000 336Added scalept and rotatpt commands to tclgeography package. 337Removed -tags from item creation line in tkCanvGeoMapProcs.tcl. 338 339************ Changes from 1.4 to 1.4.1 ************ 340 3416 Nov 2000 342Changed Tcl_GetString to Tcl_GetStringFromObj. 343 3449 Nov 2000 345In tkCanvGeoMap.c, inserted old canvas commands if USE_OLD_CANVAS is defined. 346Removed TK_CONFIG_OBJS from tkGeoMapWdg.c 347Replaced Tcl_GetString with Tcl_GetStringFromObj everywhere, for compatibility 348 with older versions of Tcl. 349 35010 Nov 2000 351In tkGeoMapWdg.c, put TK_CONFIG_OBJS branch into geoMapConfigure. 352Added loaded flag to Tclgeoproj_Init. 353 354************ Changes from 1.4.1 to 1.5 ************ 355 35620 Jan 2001 357For commands dealing with places in tkGeoMap.c added geomap name to error 358message. 359Added ability to fill lines. 360 36126 Jan 2001 362Added iLonCmp and iLonBtwn functions to geoLnArrayToMap.c and used them for 363comparisons when reading in lines (makes it go 20 to 25% faster!). 364 36529 Jan 2001 366Added MapBnds function to geoLnArrToMap. 367In tkGeoMap.c, added clipping region block to TkGeoMapToPixmap and 368 TkGeoMapUpdateLines. 369 37030 Jan 2001 371Changed SetSinusoidalProj to SetSinusoidal everywhere. 372Bug fix: In lnCreate, put 'ln->type = t;' immediate after allocation. Line 373 was being missed for initialization with 0 points. 374Simplified line cutting for cylindrical projections in geoLnArrToMap.c. Now 375 use clipping region in tkGeoMap.c. 376 37731 Jan 2001 378In TkGeoMapToPixmap, put polygon fill before drawing lines, dots and bitmaps. 379 3801 Feb 2001 381Added gwchpt and gwchlon proc's to tclgeography. 382Removed all GwchLonPt and GwchLon calls in geoProj.c. Added gwchlon and 383gwchpt calls to tkCanvGeoMapProcs.tcl. 384 3852 Feb 2001 386Removed displayProc from geoMapConfigure in tkGeoMapWdg.c. 387Added rlon argument to geoLnArrToCylMap. 388Added GeoProjUseLonDomain and GeoProjIgnoreLonDomain to geoProj to toggle 389 automatic longitude domain adjustments. Modified geoProj Set and 390 conversion functions to use the useLonDmn switch. 391Bug fix: put ceqd parameters into Cylindrical Equidistant functions (it is 392 not a refPt projection). 393Added domnlon and domnlonpt functions to tclGeography. 394Removed gwchlon and gwchpt calls from tkCanvGeoMapProcs.tcl. 395 39612 Feb 2001 397latLonToLambertConfConic accepts all points except opposite pole. 398latLonToStereographic accepts all points except the one opposite refPt. 399 40013 Feb 2001 401Put GCircleX calls for calculating bndPt in latLonArrToHemisphere. 402 40314 Feb 2001 404Added geoLnArrToLambertConfConic function. It looks like the array 405transformation functions are working now. 406 40716 Feb 2001 408Fixed bugs in latLonToLambertConfConic at poles. 409 41017 Feb 2001 411Renamed libGeoMap.a as libGeography.a 412 413************ Changes from 1.5 to 1.5.1 ************ 414 41523 Feb 2001 416In TkGeoMapToPixmap, eliminated window bounds from xBndPts calculation. 417 418************ Changes from 1.5.1 to 1.5.2 ************ 419 42026 Feb 2001 421In MapBnd, added points at each degree for cylindrical projections instead of 422just at corners. In TkGeoMapToPixmap, restored window bounds in xBndPts 423calculation. 424 42527 Feb 2001 426In geoLnArrToMap.c, created bndTouch function to replace incorrect LonBtwn 427calls in geoLnArrToLambertConfConic and geoLnArrToCylMap. 428In geoProj.c, changed latLonToMercator to return MapPtNowhere if latitude 429is at north or south pole. 430In MapBnd and geoLnArrToCylMap, limited Mercator bounds to +/-80 degrees 431latitude. 432In TkGeoMapToPixmap, limited xBndPts to size of pixmap, xPts to +/- SHRT_MAX. 433 434************ Changes from 1.5.2 to 1.5.3 ************ 435 43628 Feb 2001 437Added install_hdr.sh. Invoked it in Makefile.in and Makefile.ez. 438 439************ Changes from 1.5.3 to 1.6 ************ 440 44127 Mar 2001 442Added GeoProjMatch function with proj specific functions in GeoProj.c. 443 44429 Mar 2001 445Created lnArrInit function. 446In lines.c, declared struct MapLineArr. 447 44830 Mar 2001 449Created lnArrFree function. 450 4512 Apr 2001 452In lines.c, declared struct GeoLnArr. Modified local GeoLnArr functions to 453use it instead of treating GeoLnArr as a lnArr. 454Removed lnArrCreate and lnArrDestroy functions. Not needed since GeoLnArr and 455MapLineArr have their own, special create and destroy functions. 456 4574 Apr 2001 458Added GeoLnArrGetXFn and GeoLnArrSetXFn. 459Documented GeoLnArrToMapLnArr, GeoLnArrGetXFn, and GeoLnArrSetXFn. 460Moved GeoLnArrXFn type declaration, GeoLnArrGetXFn and GeoLnArrSetXFn from 461geoLnArrToMap.h to geoLines.h. 462 46318 Apr 2001 464Added TkCanvGeoMapUpdatPlcRedrw function that updates all places but not lines. 465Arranged to call it when the geoplace database changes. 466Modified configure.in and Makefile.in so user does not need to use --with-tclinc 467if TCL_PREFIX from tclConfig.sh works. Likewise for tk. 468 46922 Apr 2001 470Added calls to Tcl_InitStubs and Tk_InitStubs to Init functions. Modified 471configure.in and Makefile.in to use stubs for Tcl/Tk version 8.1 and later. 472 47324 Apr 2001 474Added TkGeoMapDrawGeoLnArr and TkGeoMapEraseGeoLnArr. Renamed 475TkGeoMapDrawLines and TkGeoMapEraseLines as TkGeoMapDrawLnSubCmdProc and 476TkGeoMapEraseLnSubCmdProc, respectively. Made TkGeoMapDrawLnSubCmdProc, 477TkGeoMapEraseLnSubCmdProc, TkGeoMapKeyDrawLines, and TkGeoMapKeyEraseLines 478into front ends to TkGeoMapDrawGeoLnArr and TkGeoMapEraseGeoLnArr. 479 4804 May 2001 481Modified Makefile.in so that shared objects link with stubs libraries. 482Moved Tcl_InitStubs calls to top of Tkgeomapwdg_Init. 483 4845 May 2001 485Added optional bitmap background color option, in form color/bgColor, to 486geoplace drawbitmap command. 487 4889 May 2001 489Added tclgeomap target. Like tkgeomap, but without graphics. 490 49110 May 2001 492Added TclGeoLineArray structure. Modified functions in tclGeoLineArray and 493tkGeoMap to use TclGeoLineArrays instead of GeoLineArrays. 494 49511 May 2001 496Renamed TkGeoMapDrawLnSubCmdProc as TkGeoMapDrawLinesGM. 497Renamed TkGeoMapKeyDrawLines as TkGeoMapDrawLinesGLC. Adjusted it to serve 498 commands named for geolinearrays. 499Renamed TkGeoMapEraseLnSubCmdProc as TkGeoMapEraseLinesGM. 500Renamed TkGeoMapKeyEraseLines as TkGeoMapEraseLinesGLC. Adjusted it to serve 501 commands named for geolinearrays. 502 50312 May 2001 504Added namespaces to geolinearray names. 505Added interp argument to TclGeoLnArrNameUsed, TclGeoLnArrGet, and 506 TclGeoLnArrRelease. 507 50813 May 2001 509Arranged to have "geolinearray list" list arrays in global and current 510namespace only. 511 51216 May 2001 513Augmented tclgeoplace library so that new geoplaces get corresponding commands 514to access and manipulate the place. 515 51621 May 2001 517Added namespace qualifiers to geoplace names. 518Added interp argument to TclGeoPlaceGet. 519 52025 May 2001 521Adjust geoplace list nearest and inrange functions to search current namespace 522and its children for places. 523 52427 May 2001 525Made TkGeoMapListPlacesGM list only places in current namespace and children. 526Replaced tclMsg.[ch] with tclUtil.[ch]. Created TclCurrNmSpc and TclFullName 527 functions. 528Modified geolinearray list and geomaplist to list arrays in current and child 529 namespaces. 530 531CVS version numbers for release 1.6 532COPYING/1.1/Sun Mar 25 00:15:30 2001// 533ChangeLog/1.20/Mon May 28 04:47:11 2001// 534AUTHORS/1.2/Sun Jun 10 06:16:02 2001// 535TODO/1.6/Sun Jun 10 06:03:00 2001// 536NEWS/1.2/Mon Jun 11 05:18:20 2001// 537README/1.5/Mon Jun 11 05:20:50 2001// 538unix/install_man.sh/1.2/Wed Mar 28 03:19:06 2001// 539unix/install_hdr.sh/1.3/Fri Mar 30 23:11:01 2001// 540unix/configure/1.9/Fri May 4 04:51:42 2001// 541unix/configure.in/1.9/Fri May 4 04:51:06 2001// 542unix/Makefile.ez/1.7/Mon May 28 04:22:46 2001// 543unix/Makefile.in/1.18/Mon May 28 04:22:35 2001// 544unix/INSTALL/1.8/Sun Jun 10 06:15:34 2001// 545unix/README/1.2/Sun Jun 10 06:08:08 2001// 546xdr/cdefs.h/1.1/Tue Mar 27 05:13:32 2001// 547xdr/endian.h/1.1/Tue Mar 27 05:13:32 2001// 548xdr/types.h/1.1/Tue Mar 27 05:13:32 2001// 549xdr/xdr.c/1.1/Tue Mar 27 05:13:32 2001// 550xdr/xdr.h/1.1/Tue Mar 27 05:13:32 2001// 551xdr/xdr_array.c/1.1/Tue Mar 27 05:13:32 2001// 552xdr/xdr_float.c/1.1/Tue Mar 27 05:13:32 2001// 553xdr/xdr_mem.c/1.1/Tue Mar 27 05:13:32 2001// 554xdr/xdr_rec.c/1.1/Tue Mar 27 05:13:32 2001// 555xdr/xdr_reference.c/1.1/Tue Mar 27 05:13:32 2001// 556xdr/xdr_sizeof.c/1.1/Tue Mar 27 05:13:32 2001// 557xdr/xdr_stdio.c/1.1/Tue Mar 27 05:13:32 2001// 558generic/CodeNotes/1.1/Sun Mar 25 00:15:30 2001// 559generic/geoCmp.c/1.1/Sun Mar 25 00:15:30 2001// 560generic/geoCmp.h/1.1/Sun Mar 25 00:15:30 2001// 561generic/geography.c/1.1/Sun Mar 25 00:15:30 2001// 562generic/rotation.c/1.1/Sun Mar 25 00:15:30 2001// 563generic/tclGeoProj.h/1.1/Sun Mar 25 00:15:30 2001// 564generic/tkGeoMapWdg.h/1.1/Sun Mar 25 00:15:30 2001// 565generic/rotation.h/1.1/Wed Mar 28 06:03:11 2001// 566generic/geography.h/1.2/Fri Mar 30 23:10:51 2001// 567generic/mapLines.h/1.5/Thu Apr 5 04:28:31 2001// 568generic/geoLines.h/1.4/Tue Apr 10 00:04:02 2001// 569generic/geoLnArrToMap.h/1.6/Tue Apr 10 00:04:03 2001// 570generic/lines.c/1.8/Tue Apr 17 05:38:04 2001// 571generic/tkAppInit.c/1.1/Mon Apr 23 04:03:37 2001// 572generic/tkCanvGeoMap.h/1.2/Fri Apr 20 05:49:53 2001// 573generic/tclGeography.c/1.4/Wed Apr 25 07:17:18 2001// 574generic/tkCanvGeoMap.c/1.8/Fri May 4 04:47:25 2001// 575generic/tclAppInit.c/1.1/Fri May 11 05:10:42 2001// 576generic/tclGeoLineArray.h/1.6/Sun May 13 07:33:42 2001// 577generic/tclGeography.h/1.3/Wed May 16 01:13:14 2001// 578generic/tkGeoMap.h/1.9/Sat May 19 06:15:50 2001// 579generic/tclGeoPlace.h/1.5/Tue May 22 06:01:29 2001// 580generic/tclUtil.c/1.1/Mon May 28 04:48:03 2001// 581generic/tclUtil.h/1.1/Mon May 28 04:26:38 2001// 582generic/tkGeoMapWdg.c/1.12/Mon May 28 04:26:50 2001// 583generic/tkGeoMap.c/1.25/Tue Jun 5 05:24:35 2001// 584generic/geoLnArrToMap.c/1.4/Tue Jun 5 17:50:50 2001// 585generic/geoProj.c/1.3/Tue Jun 5 17:50:50 2001// 586generic/geoProj.h/1.3/Tue Jun 5 17:50:50 2001// 587generic/tclGeoProj.c/1.5/Tue Jun 5 17:50:51 2001// 588generic/tclGeoLineArray.c/1.23/Tue Jun 5 18:11:56 2001// 589generic/tclGeoPlace.c/1.19/Wed Jun 6 06:06:26 2001// 590library/pkgIndex.tcl/1.2/Wed Mar 28 06:16:08 2001// 591library/tkGeoMapWdgProcs.tcl/1.2/Wed Mar 28 06:16:16 2001// 592library/tkCanvGeoMapProcs.tcl/1.7/Tue Jun 5 17:50:51 2001// 593doc/html/geography.n.html/1.2/Wed Mar 28 06:13:47 2001// 594doc/html/GeoCmp.3.html/1.3/Thu Apr 5 06:20:47 2001// 595doc/html/GeoLn.3.html/1.3/Thu Apr 5 06:20:52 2001// 596doc/html/GeoLnArrToMap.3.html/1.4/Thu Apr 5 06:16:07 2001// 597doc/html/Geography.3.html/1.3/Thu Apr 5 06:21:11 2001// 598doc/html/MapLn.3.html/1.3/Thu Apr 5 06:21:14 2001// 599doc/html/MapLnArr.3.html/1.3/Thu Apr 5 06:21:17 2001// 600doc/html/Rotation.3.html/1.3/Thu Apr 5 06:21:20 2001// 601doc/html/TclGeoLineArray.3.html/1.3/Thu Apr 5 06:21:24 2001// 602doc/html/contents.html/1.3/Thu Apr 5 06:25:39 2001// 603doc/html/GeoLnArr.3.html/1.4/Thu May 10 06:17:13 2001// 604doc/html/TclGeoPlace.3.html/1.4/Tue May 22 06:20:14 2001// 605doc/html/geomap.n.html/1.7/Mon May 28 05:14:52 2001// 606doc/html/tkcanvgeomap.n.html/1.8/Mon May 28 05:14:23 2001// 607doc/html/geolinearray.n.html/1.7/Tue Jun 5 06:34:38 2001// 608doc/html/GeoProj.3.html/1.4/Tue Jun 5 17:50:49 2001// 609doc/html/geoproj.n.html/1.3/Tue Jun 5 17:50:49 2001// 610doc/html/geoplace.n.html/1.8/Wed Jun 6 06:14:57 2001// 611doc/man3/GeoCmp.3/1.2/Wed Mar 28 06:29:05 2001// 612doc/man3/GeoLn.3/1.2/Wed Mar 28 06:29:05 2001// 613doc/man3/Geography.3/1.2/Wed Mar 28 06:29:05 2001// 614doc/man3/MapLn.3/1.2/Wed Mar 28 06:29:05 2001// 615doc/man3/MapLnArr.3/1.2/Wed Mar 28 06:29:05 2001// 616doc/man3/Rotation.3/1.2/Wed Mar 28 06:29:05 2001// 617doc/man3/GeoLnArrToMap.3/1.4/Thu Apr 5 06:28:41 2001// 618doc/man3/install.sh/1.3/Tue Apr 24 00:00:54 2001// 619doc/man3/TclGeoLineArray.3/1.3/Wed Apr 25 02:16:10 2001// 620doc/man3/GeoLnArr.3/1.4/Thu May 10 06:53:34 2001// 621doc/man3/TclGeoPlace.3/1.3/Tue May 22 06:22:09 2001// 622doc/man3/GeoProj.3/1.3/Tue Jun 5 17:50:50 2001// 623doc/mann/install.sh/1.1/Sun Mar 25 00:29:16 2001// 624doc/mann/geography.n/1.2/Wed Mar 28 06:15:20 2001// 625doc/mann/geomap.n/1.7/Mon May 28 05:14:55 2001// 626doc/mann/tkcanvgeomap.n/1.7/Mon May 28 05:14:30 2001// 627doc/mann/geolinearray.n/1.8/Tue Jun 5 06:30:20 2001// 628doc/mann/geoproj.n/1.3/Tue Jun 5 17:50:50 2001// 629doc/mann/geoplace.n/1.7/Wed Jun 6 06:04:51 2001// 630 631************ Changes from 1.6 to 1.6.1 ************ 632 6332 Jul 2001 634Bug fix in placeName set command. 635 636************ Changes from 1.6.1 to 1.6.2 ************ 637 63819 Oct 2001 639Bug fix in geoplace inrange function (bad strcmp). 640Changed version number to 1.6.2 in makefiles. 641 642************ Changes from 1.6.2 to 1.6.3 ************ 643 6444 Nov 2001 645Modified configure to use TCL_DIR from tclConfig.sh as prefix if user does not 646use --prefix option. 647Changed version number to 1.6.3. 648 649************ Changes from 1.6.3 to 1.6.4 ************ 650 6515 Dec 2001 652Added GeoPtSet and MapPtSet 653Added tclGeography.h to headers to install. Added man pages for Tcl_LatLonObj 654and Tcl_MapPtObj. 655Changed version number to 1.6.4 656 657************ Changes from 1.6.4 to 1.6.5 ************ 658 65917 Dec 2001 660Moved line and linearray struct declarations to header files. Library users 661should still use the interface functions whenever possible. Putting the 662declarations into the headers makes the members visible to debuggers. 663Added sl_alloc.h for memory leak tracing. 664 66520 Dec 2001 666Added lines.h to install_hdr.sh. 667 6682 Jan 2002 669Added GeoPtSet and MapPtSet. 670Added REarth and SetREarth to get and set radius of Earth. 671 6723 Jan 2002 673Made lnArr in array of *ln instead of array of ln structs. 674Split geolinearray and maplinearray implementations. They are now in 675geoLines.c and mapLines.c, instead of lines.c. Functionality is similar, 676except that maplinearrays have no user count, or contain-point functions. 677Added GeoLnCreateFmPts and MapLnCreateFmPts functions. 678 6794 Jan 2002 680Modified geoLnArrToMap functions to use GeoLnArrPutGeoLn instead of 681GeoLnArrAddGeoLn. 682Fixed domain boundary calculation for Lambert Conformal Conic. 683 6845 Jan 2002 685Fixed some memory leaks in various files. 686 687************ Changes from 1.6.5 to 1.6.5.1 ************ 688 6896 Jan 2002 690Bug fix in 'geoplace set command' 691 692************ Changes from 1.6.5.1 to 1.7 ************ 693 69417 Mar 2002 695When creating geolinearray or geoplace, return error if any command by given 696name already exists. 697 69812 Apr 2002 699Added "transparent" geomap configuration option. 700 70131 May 2002 702Created TkGeoMapObj, which can be either a geolinearray or geoplace in a geomap. 703Lines and places are now in the same drawing sequence (before, lines were drawn 704first, then places). 705 7062 Jun 2002 707Replaced "break" statements when parsing options with "return TCL_ERROR." This 708might lead to partially modified objects coming from bad commands. 709Added layer member to TkGeoMapObj. It does not do anything yet. 710Updated man pages. 711 7125 Jun 2002 713Adding layer management 714 7156 Jun 2002 716Added CanvasGeoMapFrame, CanvasGeoMapCanvas, CanvasGeoMapMenu, and 717CanvasGeoMapId procs to tkCanvGeoMapProcs.tcl. 718 719************ Changes from 1.7 to 2.0 ************ 720 7213 Jul 2002 722Removed code for geomap widget - superseded by canvas geomap item. 723(POTENTIAL INCOMPATIBILITY) 724 7256 Jul 2002 726Removed "geolines" command. Now must use "geolinearray" command. 727(POTENTIAL INCOMPATIBILITY) 728Modified parsing of TkGeoMapDrawLines so that it now assumes objv contains the 729full command line and not just a chunk. 730Reduced geolinearray subcommands to "fmxdr", "fmbin", "fmascii", "fmlist", 731"rm", and "list". The rest of the geolinearray commands are subcommands 732to array commands. 733(POTENTIAL INCOMPATIBILITY) 734 7358 Jul 2002 736In tclGeoLineArray.c, separated subcommand processing for "geolinearray" command 737and lineArray commands. All tclGeoLineArray callbacks now take the entire 738command line instead of just a chunk. 739 7409 Jul 2002 741Applied new tclGeoLineArray interface in tkGeoMap.c. 742 74310 Jul 2002 744Removed tkGeoMapWdg from pkgIndex.tcl 745 74612 Jul 2002 747Deleted TclGeoLineArrayNameUsed and TclGeoLineArrayName procedures. 748TclGeoLineArrays are now identified by their Tcl commands and clientData 749structures. 750Eliminated "geolinearray rm" and its callback. Geolinearrays are now removed 751by deleting the array's Tcl command. 752(POTENTIAL INCOMPATIBILITY) 753"geolinearray list" prints names of linearrays in the current namespace only. 754(POTENTIAL INCOMPATIBILITY) 755Removed userCnt member from GeoLnArr struct and associated functions. Added 756GeoLnArrFree function. GeoLnArrDestroy now returns void. 757Added TclGeoLnArrAddDeleteCallback and TclGeoLnArrCnxDeleteCallback procedures. 758 75913 Jul 2002 760Deleted TkGeoMapCenter, TkGeoMapCenter, TkGeoMapLatLonToMap, and 761TkGeoMapMapToLatLon procedures. 762Geolinearray array commands no longer return error when asking to erase the 763array in a geomap that is not displaying it. 764(POTENTIAL INCOMPATIBILITY) 765Lines hash table of TkGeoMap structure now uses ONE_WORD_KEYS. Keys are 766pointers to TclGeoLineArray structures, values are pointers to TkGeoMapObj 767structures. 768Added calls to TclGeoLnArrAddDeleteCallback and TclGeoLnArrCnxDeleteCallback 769to geolinearray draw and erase procedures. 770"geolinearray list" and "geolinearray geomaplist" now print names of linearrays 771in current and GLOBAL namespaces. 772(POTENTIAL INCOMPATIBILITY) 773 77417 Jul 2002 775Eliminated support for "geoplace draw* placeName mapName ..." commands. Places 776are drawn only with commands of form "placeName draw* mapName ..." 777(POTENTIAL INCOMPATIBILITY) 778 77921 Jul 2002 780Removed name and userCnt members and associated functions from GeoPlace struct. 781Eliminated "geoplace rm" command. 782(POTENTIAL INCOMPATIBILITY) 783 78422 Jul 2002 785Changed "geoplace list" so that it prints place names for current namespace 786and global namespace only. 787(POTENTIAL INCOMPATIBILITY) 788Added namespace qualifier to TclGeoPlaceGet. 789(POTENTIAL INCOMPATIBILITY) 790 79124 Jul 2002 792Added enum for units so unit option is parsed with Tcl_GetIndexFromObj. 793Added enum for bearings so bearing word is parsed with Tcl_GetIndexFromObj. 794Cardinal directions should be spelled out now (at least enough for unambiguous 795abbreviation). 796(POTENTIAL INCOMPATIBILITY) 797 79825 Jul 2002 799Replaced geoplace subcommand hash table with array of TclSubCmd's. 800Added TclConcatSubCmds procedure to TclUtil and applied it in TclGeoPlace 801and TclGeoLnArr. 802Updated documentation. 803Renamed geoPlaceCmd as geoplaceCallback. 804Added placeCmdCallback function. 805Added TclGeoPlaceAddUpdateTask, TclGeoPlaceCnxUpdateTask, 806TclGeoPlaceAddDeleteTask, and TclGeoPlaceCnxDeleteTask functions. 807Eliminated ChangeNotify struct and related functions. 808 80926 Jul 2002 810Fixed functions in tkGeoMap.c to use the new TclGeoPlace interface. 811Deleted lone color option in "placeName drawbitmap mapName bitmapName color" 812Color must now be specified with option value pairs. 813(POTENTIAL INCOMPATIBILITY) 814Added updatePlace to use with TclGeoPlaceUpdateProc and deletePlace to 815use with TclGeoPlaceDeleteProc to keep geomaps up to date as geoplace move 816and go away. 817 81827 Jul 2002 819Minor formatting changes to tclGeoPlace.c and tclGeoLineArray.tcl, to bring 820them into compliance with the "Tcl/Tk Engineering Manual." 821Eliminated TclMsg interface. 822 82328 Jul 2002 824Replaced TclSubCmd struct's with separate arrays for subcommand names and 825callback procedures. Tcl_GetIndexFromObjStruct was putting garbled strings 826into error messages. Tcl_GetIndexFromObj seems to be work better with key 827arrays that grow. 828Deleted TclConcatSubCmds procedure. 829 83029 Jul 2002 831In "geolinearray fmascii", if descriptor is given as a number of lines, drop 832the final newline on the last line. 833Bug fixes for options with "fmascii" and "toascii." 834Added some tests. Copied all.tcl from tcl8.3 source to run the tests. 835 83630 Jul 2002 837Removed calls to GeoDistanceUnit in tclGeoPlace.c. Units are now handled 838with a switch after a call to Tcl_GetIndexFromObj. 839 84031 Jul 2002 841TclGeoProjDefaultId now returns the default projection identifier instead of 842copying it into char * argument. 843Removed support for OLD_CANVAS definition. 844 8451 Aug 2002 846Transfered functions from tkGeoMap.[ch] and removed tkGeoMap.[ch]. There is 847no more need for separate interfaces since there is only the canvas item 848now. 849 8502 Aug 2002 851Added TclGeoLnArrName procedure. 852Replaces TkGeoMapUpdateLines and TkGeoMapUpdatePlaces with updateGeoMap, which 853updates everything. 854Eliminated TkGeoMapFree and geoMapUpdate procedures. Their code is used only 855once, so now it is in line. 856Removed tkwin member of GeoMapItem struct. It can be obtained from the canvas. 857Removed itemPtr member of GeomapObj struct. GeoMapItem is now identified 858in parameter list when needed. 859Changed parameter lists for lnArrToPixmap and placeToPixmap to resemble 860displayGeoMap function. 861Changed parameter lists for lnArrToPostscript and placeToPostscript to resemble 862geoMapToPostscript function. 863Changed declarations of type "struct Name {};" to "typedef struct {} name;" 864 8653 Aug 2002 866Created GeoMapKey structure and makeKey and getGeoMapFromObj functions. 867 8684 Aug 2002 869Changed variable names for coordinates for consistency. Now prefix 'map' 870denotes map coordinates and 'dw' denotes drawable coordinates. Map coordinates 871refers to lat-lon's that have been projected and rotated but not scaled. In 872other words, they are coordinates on a plane, cone, cylinder, or some other 8732D figure tangent to or near the spherical Earth. 874 8756 Aug 2002 876Added canvas tags option. 877Bug fix to 'geoplace nearest' callback procedure. 878 8797 Aug 2002 880Modified drawDot procedure so that a dot is drawn whenever the command is 881called, unless explicit overridden with "-size 0". If no command line options 882are given, there is no further processing. Fields in the GeoMapPlace structure 883are left alone, where before they were set to defaults. 884(Bugfix) Changed required number of arguments for drawtext from 3 to 4. 885(Bugfix) listPlaces uses the new token keys instead of string keys. 886Added TclGeoPlaceName procedure. 887 88810 Aug 2002 889Replace TclGeoProjUse and TclGeoProjRelease with TclGeoProjAddUpdateTask and 890TclGeoProjCnxUpdateTask. Eliminated reference counts for TclGeoProj structure. 891Now a projection is said to be in use if there are update tasks assigned to it. 892 89311 Aug 2002 894Moved GeoProj struct into geoProj.h. Added prefixes to structure type names 895to prevent interference with other declarations. 896Changed proj member of TclGeoProj structure from struct GeoProj * to 897struct GeoProj (i.e. it is now a struct, not a pointer). 898(Potential incompatibility) Removed GeoProjCopy and copy callback. 899 90012 Aug 2002 901Eliminated geoProjFreeAll function. 902Eliminated cmdTable (subcommand table) from tclGeoProj.c. Subcommands are 903sought with Tcl_GetIndexFromObj. 904Replaced strcmp calls in setProj with Tcl_GetIndexFromObj search. 905In tclGeography.c, replaced SL_MALLOC and SL_FREE with calls to ckalloc and 906ckfree. 907 90813 Aug 2002 909Eliminated "REarth" Tcl variable. 910 91114 Aug 2002 912Eliminated all remaining instances of SL_MALLOC, SL_REALLOC, and SL_FREE. 913Replaced '#include "sl_alloc.h"' with '#include <tcl.h>'. 914Removed sl_alloc.h from Makefile.in and Makefile.ez. 915Added tclgeomap to default build. 916Replaced calls to Tcl_Alloc, Tcl_Realloc, and Tcl_Free with calls to ckalloc, 917ckrealloc, and ckfree for memory that is not sent to Tcl. 918(Potential incompatibility) GeoProjDescriptor now returns descriptor instead 919of copying it into argument. 920GeoProjInit now returns void. If there is a failure, program quits. 921Eliminated GeoDistance unit function. 922 92315 Aug 2002 924Eliminated opaque pointer for GeoProj. GeoProj type is now "struct GeoProj" 925instead of "struct GeoProj *". 926Eliminated opaque pointers for GeoLn and GeoLnArr. GeoLn type is now 927"struct GeoLn" instead of "struct GeoLn *" and GeoLnArr type is now 928"struct GeoLnArr" instead of "struct GeoLnArr *". 929Eliminated opaque pointers for MapLn and MapLnArr. MapLn type is now 930"struct MapLn" instead of "struct MapLn *" and MapLnArr type is now 931"struct MapLnArr" instead of "struct MapLnArr *". 932Deleted lines.h 933 93421 Aug 2002 935GeoLnSetAlloc, GeoLnAddPt, GeoLnArrSetDescr and GeoLnArrSetAlloc now return 936void. 937 93823 Aug 2002 939Moved storage of projection parameters from union to 'void *'. 940 94124 Aug 2002 942Removed distance calculation from latLonToLambrtEqArea. 943Sinusoidal procedure keeps center of map at Equator. 944Changed formats in projection descriptors. 945 94625 Aug 2002 947(Bug fix) Added calls to TclGeoPlaceCnxUpdateTask and TclGeoPlaceCnxDeleteTask 948geoMapRmPlace. 949Created tkcanvgeomap.test. 950MapLnSetAlloc, MapLnAddPt, MapLnArrSetDescr, MapLnArrSetAlloc, MapLnArrAddLine 951and MapLnArrPutLine now return void. 952 95327 Aug 2002 954Moved declaration for GeoLnArrToMapLnArr from geoLnArrToMap.h to geoLines.h. 955 95628 Aug 2002 957Removed clipping region calls from displayGeoMap procedure. Now geomap item 958is drawn into a temporary pixmap. 959 9601 Sep 2002 961When converting geolinearrays to maplinearrays, segments are now clipped and 962wrapped manually instead of with masking. 963 9642 Sep 2002 965Added offPole function. 966LambertEqArea returns undefined for point further than 90.0 degrees from 967reference point. 968Removed bndry member and references from GeoMapItem structure. 969Inserted __WIN32__ blocks from John Vidolich. 970 9713 Sep 2002 972Changed structure type and procedure names for tcl and tk packages to conform 973to the Tcl/Tk Engineering Manual. 974(Potential incompatibility) Changed the following package names: "tclgeography" 975to "geography", "tclgeoproj" to "geoproj", "tclgeolinearray" to "geolinearray", 976and "tkcanvgeomap" to "geomap". 977Renamed tclGeoLineArray.c to tclGeolinearray.c 978Renamed tclGeoLineArray.h to tclGeolinearray.h 979Renamed tclGeoPlace.c to tclGeoplace.c 980Renamed tclGeoPlace.h to tclGeoplace.h 981Renamed tclGeoProj.c to tclGeoproj.c 982Renamed tclGeoProj.h to tclGeoproj.h 983Renamed tkCanvGeoMap.c to tkGeoMap.c 984Renamed tkCanvGeoMap.h to tkGeoMap.h 985Renamed tkCanvGeoMap.h to tkGeomap.h 986Moved GC's from GeoMapItem to GeoMapLines and GeoMapPlace structures. Instead 987of modifying GC's with XChangeGC, now they are taken from Tk's GC cache. 988 9894 Sep 2002 990Changed TclNameSpace function to TclUtilNameSpace. 991Changed TclFullName function to TclUtilFullName. 992'geoplace erase' no longer returns error if asked to erase place from a 993geomap not displaying it. 994(Bug fix) Fixed parameter order in displayPlace definition. 995Added local versions of ckalloc, ckrealloc, and ckfree to geography.[ch] to 996use if compiling without Tcl. 997 9985 Sep 2002 999Added _ANSI_ARGS_ macro and K&R style declarations to generic source files. 1000Deleted unused GCircleXLatCircle function. 1001 10026 Sep 2002 1003Replaced calls to XDrawPoint with calls to XFillRectangle (for Windows 1004compatibility). 1005Deleted GeoProjUseLonDomain and GeoProjIgnoreLonDomain functions. 1006 100710 Sep 2002 1008Changed internal representation of lat's and lon's from float degrees to integer 1009microdegrees. 1010 101111 Sep 2002 1012Changed GeoStep, Azimuth, GeoDistance and SetProjection functions to always 1013take and return integer microdegree angles. 1014Bug fixes in geoLnArrToCylMap. 1015 101612 Sep 2002 1017Made Stereographic into a hemispheric projection. 1018Minor adjustments to DomainLon and GwchLon procedures. 1019 102013 Sep 2002 1021Eliminated GeoLnArrToMapLnArr function. 1022 102319 Sep 2002 1024Added -glob, -regexp, and -nocase options to 'geolinearray list' and 1025'geoplace list' commands. 1026Added calls to use XDrawPoint for one pixel dots if not WIN32. 1027Created Angle data type to represent internal storage of an angle. The Angle 1028data type declared to be an integer, for number of microdegrees. 1029Changed DegCmp function to AngleCmp. 1030 103120 Sep 2002 1032Added BadAngle, AngleIsOK, AngleIsBad functions to indicate bad angles. 1033AngleFmDeg, AngleFmRad, GeoPtSetDeg, and GeoPtSetRad return values with 1034BadAngle() if any arguments are out of range. 1035 103623 Sep 2002 1037Added DomainLat function and latdomn command. 1038Renamed tkCanvGeoMapProcs.tcl to tkGeoMap.tcl. 1039(Potential incompatibility) Renamed tkCanvGeoMapProcs package to tkGeoMap. 1040Added tclGeoMap.tcl, which provides the tclGeoMap package. 1041Put procedures in tkGeoMap.tcl into tkGeoMap namespace. 1042 104324 Sep 2002 1044Added named compass directions to allowed geomap rotation values. 1045 104625 Sep 2002 1047Added "global" or "hemispheric" qualifier to projection descriptors. 1048 104927 Sep 2002 1050Created oceanBnds procedure. 1051Spelled out option names in the man pages. 1052(Bug fix) Eliminated spurious error message when setting layer to "top" or 1053"bottom." 1054Added reference to tkcanvgeomap in tclgeolinearray and tclgeoplace man pages. 1055COPYING file acknowledges different authors and license terms in xdr directory. 1056Documented LatDomain function. 1057 105830 Sep 2002 1059Capitalized element names in actionMap params array. 1060Added macros to header files so that they can be compiled with C++. Diversified 1061names of struct's and pointers to struct's to prevent C++ error messages. 1062 10631 Oct 2002 1064Bug fixes in actionMap procedure. 1065 10662 Oct 2002 1067Added actionMapSet procedure. 1068 10693 Oct 2002 1070Added lineCoords procedure. 1071 10724 Oct 2002 1073Removed MapPtSet procedure. 1074Formatting changes in generic. 1075 10765 Oct 2002 1077Deleted unused and undocumented MapLnCreateFmPts function. 1078 10798 Oct 2002 1080Added Tclgeolinearray_Get procedure. 1081 108211 Oct 2002 1083Added custom options for GeoLnArrItem lineStyle and shape. 1084 108514 Oct 2002 1086(Bug fix) If canvas is unmapped, draw all lines in a geolinearray item. 1087 108817 Oct 2002 1089Replaced Tk_Uid's with strings in geolinearray item. 1090 109118 Oct 2002 1092Added geoLnArrToArea function. 1093(Bug fix) Lots of bug fixes in tkgeolinearray.c to manage configuration and 1094updates. 1095Adjusted compile line for tkTrig.c to use Tk and X headers. 1096Removed redundant hypot function. It seems to be part of the standard now(?). 1097(Bug fix) Moved unreachable statement in parseRefPtOption. 1098(Bug fix) Added some initializers. 1099 110019 Oct 2002 1101(Bug fix) Moved some initializers. 1102Modified cvsToLatLon and latLonToCvs proc's to use with geolinearray items. 1103Modified setProj proc to use with geolinearray items. 1104 110520 Oct 2002 1106(Bug fix) Now checking for NULL arguments in Tcl_GeoProjGet and GeoLnArrToMap. 1107 110821 Oct 2002 1109Added TK_CONFIG_NULL_OK to configuration for geoLnArrNm and projId. Adjusted 1110config function accordingly. 1111Removed actionMap and related procedures. 1112 111322 Oct 2002 1114Created geoLnArrToPostscript function. 1115Created parseGeoLnArrOption and printGeoLnArrOption to process '-geolinearray' 1116configuration option. 1117(Bug fix) Changed deleteFmToken to call canvas 'delete command', which ensure 1118the entire item is deleted. Previously, it just called the deleteProc, which 1119disabled but did not delete the item. 1120Added NULL checking to Tclgeolinearay_Name. 1121Replaced deleteFromToken with geoLnArrForget, which removes the deleted array 1122from the item, but does not delete the item. 1123Changed option names for geolinearray item to match standard Tk options, where 1124possible. 1125Simplified boundary circle management. 1126Changed cvsToLatLon and latLonToCvs to take cvs and tagOrId as arguments. 1127 112824 Oct 2002 1129Cursor becomes a watch when recomputing projection. 1130 113125 Oct 2002 1132Eliminated tkcanvgeomap item. 1133 113426 Oct 2002 1135Eliminated Tclgeoplace_Get function with namespace argument. Renamed 1136geoPlaceGet as Tclgeoplace_Get. Thus, Tclgeoplace_Get is now simpler. 1137 113830 Oct 2002 1139Eliminated Tclgeoplace_AddGeoplaceSubCmds, Tclgeoplace_AddPlcCmdSubCmds, 1140Tclgeolinearray_AddGLSubCmds and Tclgeolinearray_AddArrSubCmds 1141functions. 1142 114331 Oct 2002 1144Created geoPlaceUpdate function and arranged to call it when a geoplace moves. 1145 11462 Nov 2002 1147Simplified man pages so that they do not use so many macros. This will 1148simplify generation of html documentation. 1149Replaced tkcanvgeomap.test with tkgeolinearray.test for testing geolinearray 1150canvas item. 1151 11524 Nov 2002 1153Put all man pages into single doc directory. Rewrote install.sh as a Tcl 1154script that identifies required links automatically (assuming commands are 1155listed on one line with a '\-' in the NAMES section). 1156Changed LatLonObj type to GeoPtObj. 1157 11585 Nov 2002 1159(Potential incompatibility) Eliminated bitmap background color. Now bitmaps 1160use a clip mask set to the bitmap so that only non-zero pixels are drawn while 1161the background shows through. 1162 11636 Nov 2002 1164(Potential incompatibility) Eliminated bitmap option from geolinearray item. 1165It has more complexity than I want to deal with right now. 1166Changed package names tclGeoMap and tkGeoMap to tclgeomap and tkgeomap, 1167respectively. Made command names in these packages lower case. 1168 11697 Nov 2002 1170Added Ptr suffix to some variable names. 1171(Bug fix) When reconfiguring, save copies of string contents, not the string 1172addresses (which become invalid if string changes). 1173Eliminated unused GeoLnArrXFn member and access functions. 1174(Bug fix) Reworked updateCvs calls. 1175Deleted Sinusoidal projection. It involves a lot of bookkeeping that I will 1176deal with later. 1177 117810 Nov 2002 1179Tclgeolinearray_Add returns a TclGeoLnArr. 1180(Potential incompatibility) Tclgeolinearray_Add does not add qualifiers to its 1181array name argument. 1182(Potential incompatibility) Tclgeolinearray_Get does not add qualifiers to its 1183array name argument. 1184 118512 Nov 2002 1186Added tclgeomap::fillsegment procedure. 1187Restored automatic namespace qualifiers on new geolinearray and geoplace names. 1188 118913 Nov 2002 1190(Bug fix) Added some padding to geolinearray bounding box. 1191 11926 Jan 2003 1193Minor corrections to source documentation. 1194Renamed FreeMapPt to freeMapPt. 1195Added USE_COMPAT_CONST to reduce warnings when compiling for Tcl/Tk 8.4. 1196 119719 Jan 2003 1198(Bug fix) createPlace assumes given place name is either global or fully 1199qualified. This prevents TclUtilFullName from being called with its return 1200value as its name argument. 1201 120220 Jan 2003 1203Replaced "-style" option for geolinearray item with "-dash" and "-dashoffset" 1204using code lifted from Tk source. Some of this uses Tk struct members 1205directly, so it might require modification in future versions. 1206 120721 Jan 2003 1208(Bug fix) Added some gsave and grestore calls to geolinearray Postscript code. 1209Changed -dotsize option from TK_CONFIG_INT to TK_CONFIG_PIXELS. 1210Replaced calls to XFillRectangle with XFillArc so dots on geolinearray items 1211are circular. 1212 121322 Jan 2003 1214(Bug fix) Added calls to XFillRectangle for 1 pixel dots, because XFillArc 1215does not go down to that size. 1216Allowed negative line width or "none" to indicate no lines. 1217 121827 Jan 2003 1219(Potential incompatibility) Consolidated packages into tclgeomap and tkgeomap. 1220Renamed runtime packages as tclgeomap_procs and tkgeomap_procs. 1221 122228 Jan 2003 1223Consolidated headers into tclgeomap.h and tkgeomap.h. 1224Moved functions in tclUtil.c into tclgeomap.c. Deleted tclUtil.c. 1225 122629 Jan 2003 1227Moved functions copied from tkTrig.c and tkUtil.c in tk8.3.0 source into their 1228own files. This clarifies the copyright notices. 1229(Potential incompatibility) Renamed package commands: 1230georadius -> ::geomap::georadius 1231latlonok -> ::geomap::latlonok 1232mapptok -> ::geomap::mapptok 1233lonbtwn -> ::geomap::lonbtwn 1234gclcross -> ::geomap::gclcross 1235rotatpt -> ::geomap::rotatpt 1236scalept -> ::geomap::scalept 1237domnlonpt -> ::geomap::domnlonpt 1238domnlat -> ::geomap::domnlat 1239domnlon -> ::geomap::domnlon 1240gwchpt -> ::geomap::gwchpt 1241gwchlon -> ::geomap::gwchlon 1242dmstodec -> ::geomap::dmstodec 1243dectodm -> ::geomap::dectodm 1244dectodms -> ::geomap::dectodms 1245cartg -> ::geomap::cartg 1246geolinearray -> ::geomap::lnarr 1247geoplace -> ::geomap::place 1248geoproj -> ::geomap::projection 1249Renamed "geolinearray" item type as "geomap_lnarr" and "-geolinearray" 1250configuration option to "-lnarr". 1251Renamed "geoplace" item type as "geomap_place" and "-geoplace" 1252configuration option to "-place". 1253Namespace qualifiers are no longer added to -lnarr value. If linearray is in 1254a namespace, qualifiers must be added explicitly. 1255"geomap::place new" and "geomap::place set" command no longer automatically 1256add namespace qualifiers. 1257Eliminated TclUtilFullName function. 1258 125930 Jan 2003 1260Changed prefixes of global functions to Tclgeomap_ or Tkgeomap_. 1261Moved contents of tkgeomapTrig.c into tkgeomapUtil.c and deleted 1262tkgeomapTrig.c. Moved declarations into tkgeomapInt.h. 1263Created tkgeomapInt.h with unexported global declarations. 1264Moved functions from tkgeomapUtil.c into tkgeomap.c and deleted 1265tkgeomapUtil.c. 1266Moved functions from tclgeography.c into tclgeomap.c and deleted 1267tclgeography.c. 1268Renamed files: 1269tclgeolinearray.c -> tclgeomapLnArr.c 1270tclgeoplace.c -> tclgeomapPlace.c 1271tclgeoproj.c -> tclgeomapProj.c 1272tkgeolinearray.c -> tkgeomapLnArr.c 1273tkgeoplace.c -> tkgeomapPlace.c 1274Moved contents of geoCmp.c into geography.c and geoCmp.h into geography.h. 1275Deleted geoCmp.c and geoCmp.h. 1276Moved contents of rotation.c into geography.c and rotation.h into geography.h. 1277Deleted rotation.c and rotation.h. 1278 127931 Jan 2003 1280Added tkgeomap_procs.n man page. Moved contents of tkgeolinearray.n and 1281tkgeoplace.n into tkgeomap.n. 1282Added tclgeomap_procs.n man page. Moved contents of tclgeolinearray.n and 1283tclgeoplace.n into tclgeomap.n. 1284 12851 Feb 2003 1286Moved contents of geoCmp.3 and rotation.3 into geography.3. Deleted geoCmp.3 1287and rotation.3. 1288 12893 Feb 2003 1290Merged tclgeography.3 tclgeolinearray.3 tclgeoplace.3 tclgeoproj.3 man pages 1291into tclgeomap.3. This makes the man page hierarchy match the header file 1292hierarchy. 1293 129410 Feb 2003 1295Removed TclgeomapPlace parameter from Tclgeomap_PlaceUpdateProc and 1296Tclgeomap_PlaceDeleteProc function types. 1297 129814 Feb 2003 1299(Potential incompatibility) Eliminated Tclgeomap_DefaultProjId function. 1300(Potential incompatibility) "geomap::projection new" is gone. 1301"geomap::projection" creates a command used to access and use the projection 1302whose subcommands are "set", "info", "fmlatlon", and "tolatlon". The 1303projection is deleted by deleting its command. 1304(Potential incompatibility) Eliminated rm and list from projection 1305subcommands. 1306 130724 Feb 2003 1308Updated geomap_lnarr and geomap_place items to use the new projection interface. 1309 131027 Feb 2003 1311Renamed Tclgeomap_DeleteLnArrProc as Tclgeomap_LnArrDeleteProc. 1312 131310 Mar 2003 1314Added -stipple option to geomap_lnarr items. 1315 131615 Mar 2003 1317Added draw_lnarr, draw_place, cvs_center, setrefpoint, setscale procedures. 1318Modified setproj to automatically assume geomap tag. Added internal arrays 1319to associate canvas widgets with map configurations. 1320 132116 Mar 2003 1322Created cvs_config command to consolidate calls to setrefpoint, setscale, and 1323setproj. 1324Moved grids and oceans procedures to tclgeomap_procs.tcl. Changed their names 1325to grid_list and ocean_list. 1326 132719 Mar 2003 1328Added cvs_new command to initialize canvas map configuration. 1329Put setrefpoint, setscale, and setproj bodies into cvs_config. 1330Eliminated tagOrId argument from setproj, which now gets configuration from 1331internal variables set with cvs_config. 1332(bug fix) geoLnArrToPoint procedure assumes unfilled line is always a line, 1333never a closed polygon, even if its endpoints match. 1334 133525 Mar 2003 1336Removed the cvs_new procedure. Now the configuration is created if needed by 1337the cvs_config procedure. 1338 13391 Apr 2003 1340(Potential incompatibility) Deleted TclgeomapCurrNmSpc function. Deleted 1341functions that depend on it: 'geomap::lnarr list' and 'geomap::place list'. 1342Modified functions that might use it: 'geomap::place azrng', 'geomap::place 1343distance', 'geomap::place inrange', and 'geomap::place nearest'. 1344 13453 Apr 2003 1346Added -clip option to geomap_lnarr and geomap_place items. 1347 13488 Apr 2003 1349Replaced GeoPtSetDeg and GeoPtSetRad with GeoPtFmDeg and GeoPtFmRad functions. 1350 135110 Apr 2003 1352(Potential incompatibility) Eliminated "lnArr limits" subcommand. 1353(Potential incompatibility) Replaced GeoLnNPts, GeoLnNPtsMax, GeoLnLatMax, 1354GeoLnLatMin, GeoLnLonMax, and GeoLnLonMin with single GeoLnGetInfo function. 1355(Potential incompatibility) Replaced GeoLnArrNLines, GeoLnArrNLinesMax, 1356GeoLnArrNPts, GeoLnArrNMax, GeoLnArrLatMax, GeoLnArrLatMin, GeoLnArrLonMax, 1357and GeoLnArrLonMin with single GeoLnArrGetInfo function. 1358Replaced geomap::cvs_recenter with geomap::cvs_coords procedure. 1359(Bug fix) Check for empty text string before sending postscript. 1360(Bug fix) Added newpath directive before creating arc. 1361 136211 Apr 2003 1363(Potential incompatibility) Replaced MapLnNPts, MapLnNPtsMax, MapLnOrdMax, 1364MapLnOrdMin, MapLnAbsMax, and MapLnAbsMin with single MapLnGetInfo function. 1365(Potential incompatibility) Replaced MapLnArrNLines, MapLnArrNLinesMax, 1366MapLnArrNPts, MapLnArrNmax, MapLnArrOrdMax, MapLnArrOrdMin, MapLnArrAbsMax, 1367MapLnArrAbsMin with single MapLnArrGetInfo function. 1368 136915 Apr 2003 1370Added "center" as allowed argument for geomap::coords 1371 137216 Apr 2003 1373Deleted -clip option. 1374 137517 Apr 2003 1376(bug fix) Now take account of border when computing canvas center (when 1377stating width and height, winfo includes border, configure does not) 1378(bug fix) Added code to ensure configuration and coords are initialized when 1379calling geomap::draw_lnarr and geomap::draw_place. 1380Added geomap::LockProj variable to make it possible to avoid some spurious 1381updates. 1382 138318 Apr 2003 1384Added geomap::cget command. 1385 13861 May 2003 1387Created CanvasMap megawidget. 1388 13893 May 2003 1390Added projection and Configure bindings to CanvasMap megawidget. 1391 13927 May 2003 1393Created IGeoMap megawidget. 1394Added rotation menu to IGeoMap megawidget. 1395 13969 May 2003 1397Replaced CanvasMap component of IGeoMap megawidget with just a canvas 1398and adjusted procedures and bindings. Deleted CanvasMap megawidget. 1399Replaced margins list with individual configuration options for each 1400margin. 1401 140210 May 2003 1403Added -update option to IGeoMap megawidget. 1404Replaced draw_lnarr and draw_place megawidget commands with 'draw lnarr' and 1405'draw place'. 1406 140711 May 2003 1408Fixed some bugs getting initial size of map_canvas widget in igeomap 1409megawidget. 1410Deleted configure, cget, coords, draw_lnarr, draw_place procedures in 1411tkgeomap_procs. They have been superseded by the igeomap megawidget. 1412 141312 May 2003 1414Added xytolatlon and latlontoxy methods to igeomap megawidget. 1415 141621 May 2003 1417Added bogus geomap_place item so latlontoxy and xytolatlon will always work. 1418Added -frozen option. 1419 142025 May 2003 1421(bug fix) Removed call to hide from forgetProj. It was causing crashes during 1422shutdown. 1423Modified draw procedure so that if item for the linearray or place already 1424exists, the old item is reconfigured instead of a new one being created. 1425Changed email address to tkgeomap@users.sourceforge.net. 1426Added erase procedure. 1427 142826 May 2003 1429(bug fix) Correct fix for the bug fix of 25 May. Added call to 1430Tclgeomap_CnxProjDeleteTask when deleting place item. 1431(bug fix) Added call to hide when deleting geomap_lnarr item. 1432 143328 May 2003 1434Projection and Scale menu are hidden when empty. 1435 143629 May 2003 1437Changed procedure names latlontocvs to latlontoxy and cvstolatlon to xytolatlon. 1438 143930 May 2003 1440Added boundcirclecolor option. 1441 14422 Jun 2003 1443Divided igeomap into mapcanvas and igeomap megawidgets. The mapcanvas is much 1444simpler. 1445 14463 Jun 2003 1447Simplified the -projection option for the MapCanvas mega-widget. It no longer 1448makes bindings. Bindings for projections are now set by the -projname option 1449of the igeomap megawidget. 1450Added itemconfigure, itemcget, and itembind methods to mapcanvas mega-widget. 1451Added bind method to mapcanvas mega-widget. 1452Added Lock selection to igeomap projections menu. 1453 14544 Jun 2003 1455Added File->Postscript selection to igeomap. 1456(bug fix) Check for map point gone nowhere before generating postscript for a 1457place. 1458(bug fix) Check for no line thickness before generating postscript for a 1459lnarr. 1460Deleted borderwidth and relief option from mapcanvas. It was making it too 1461difficult to find the center of the window. Now center is always found using 1462winfo. 1463Added coords, delete, raise, lower, bbox, addtag, dtag, and find methods to 1464mapcanvas. 1465 14665 Jun 2003 1467Eliminated -frozen option to igeomap. Added -modifier option. 1468Added addmenu and deletemenu methods. 1469 14709 Jun 2003 1471Removed -projection option from MapCanvas. Now MapCanvas has -projname option 1472that gets additional parameters from refpoint. 1473 147410 Jun 2003 1475Simplified projection descriptors. 1476Coords can be specified as {x y} as well as x and y. 1477 147815 Jun 2003 1479Added configure and cget commands to transform command. 1480 148118 Jun 2003 1482Added "fmlatlon lnarr lnArrName" command to transform command. 1483 148419 Jun 2003 1485Removed transform command from package. It is too slow. 1486 148720 Jun 2003 1488Created geomap::mapcanvas procedure in tclgeomap_procs. This procedure is 1489like the geomap::mapcanvas procedure in itkgeomap_procs, except that is does 1490not require [incr tk]. 1491 149222 Jun 2003 1493Created geomap::igeomap procedure in tclgeomap_procs. This procedure is 1494like the geomap::igeomap procedure in itkgeomap_procs, except that is does 1495not require [incr tk]. 1496 149723 Jun 2003 1498In mapcanvas configuration and cget proc's, if option not known to map 1499configuration, send it to the canvas. 1500mapcanvas xytolatlon and latlontoxy procedures now accept list input. 1501Added -catch option to xytolatlon and latlontoxy. 1502 150324 Jun 2003 1504Changed rotation option so that cget::rotation returns a double value. 1505Adjusted map labels accordingly. 1506Added Postscript menu to igeomap. 1507 150825 Jun 2003 1509Man pages are now installed without links for each command. This prevents 1510geomap man pages from clobbering others. 1511 151230 Jun 2003 1513Added util directory with shape.tcl and awips_tkgm.tcl. 1514Added code for shptobin. 1515Added interstate highways to ptiger. 1516 15171 Jul 2003 1518Added usgs_gaz package. Now it generates weird but non-conflicting place 1519names. 1520 152128 Jul 2003 1522Command returned by geomap::projection is in geomap namespace, i.e. name has 1523form ::geomap::proj0, ::geomap::proj1, etc. 1524 152513 Aug 2003 1526(bug fix) Corrected type specifier in mapcanvas draw procedure. 1527 152814 Aug 2003 1529(bug fix) Removed place and lnarr tags from mapcanvas items, and adjusted later 1530searches. It was causing errors in Boolean expressions with certain place 1531names. 1532(bug fix) mapcanvas erase procedure checks for type instead of tag. 1533 1534************ Changes from 2.0 to 2.1 ************ 1535 153618 Aug 2003 1537Added Colors menu to igeomap widget. 1538 153919 Aug 2003 1540Made Colors menu a configuration option. 1541 1542************ Changes from 2.1 to 2.1.1 ************ 1543 154426 Aug 2003 1545Deleted "Apply" button from color dialog in igeomap widget. Now changes take 1546effect immediately. 1547 1548************ Changes from 2.1.1 to 2.1.2 ************ 1549 15502 Sep 2003 1551(bug fix) Ensured color button path names are always lower case. 1552 1553************ Changes from 2.1.2 to 2.1.3 ************ 1554 15554 Sep 2003 1556igeomap Colors menu Save button puts color values on a line that starts with 1557"Colors" followed by a dump of the colorval array. 1558 1559************ Changes from 2.1.3 to 2.1.4 ************ 1560 15619 Sep 2003 1562(bug fix) Added refpoint variable to mapcanvas cget procedure. 1563 1564************ Changes from 2.1.4 to 2.1.5 ************ 1565 156629 Sep 2003 1567Buttonrelease does not reset reference longitude if map has not dragged. 1568 1569************ Changes from 2.1.5 to 2.1.6 ************ 1570 157117 Oct 2003 1572Changed shared object name from libtcl to libtkgeomap in the link command. 1573 157418 Oct 2003 1575(bug fix) Added lineGC to some deletion procedures. 1576(bug fix) Check for lineColor == None before reconfiguring. 1577 1578************ Changes from 2.1.6 to 2.1.7 ************ 1579 1580(potential incompatibility) Dash option uses conventional X definition with 1581-dashes and -linestyle options instead of pillaging Tk code. 1582 1583************ Changes from 2.1.7 to 2.1.8 ************ 1584 1585Beautified the color selection dialog. 1586 1587************ Changes from 2.1.8 to 2.1.9 ************ 1588 1589Improved graphics context management for geomap_places. 1590geomap::circle procedure makes counterclockwise circle instead of clockwise. 1591 1592************ Changes from 2.1.9 to 2.1.10 ************ 1593 1594(bug fix) Corrected method of computing place coordinates and bounding box 1595when place is not in display. 1596(bug fix) Modified hide functions so that they do not affect map coordinates. 1597Now they only update the canvas coordinates. 1598 1599************ Changes from 2.1.10 to 2.2 ************ 1600 1601Moved functions from tkTrig.c into local file of same name. 1602(bug fix) Added dashes and line width to linearray postscript proc. 1603Added -smooth and -splinesteps options to geomap_lnarr items. 1604 160512 Dec 2003 1606Added dump option to coords procedure. 1607 160813 Dec 2003 1609Added version command. 1610 161114 Dec 2003 1612Switched to Apache Software License. 1613 1614************ Changes from 2.2 to 2.3 ************ 1615 161628 Dec 2003 1617Switched to GPL. 1618 1619************ Changes from 2.3 to 2.4 ************ 1620 162111 Feb 2004 1622Changed configure and build to comply with Tcl Extension Architecture. 1623 162413 Feb 2004 1625Replaced libdir/$package with pkglibdir as destination for package libraries 1626in mkIndex.tcl and Makefile. pkglibdir is now determined by configure instead 1627of Makefile. This makes it possible to add a version suffix to the package 1628library. 1629Added PACKAGE_CFLAGS to compile macro. 1630(bug fix)(?) Replaced bindir with libdir in RANLIB line for static library 1631installation. Libraries go into lib, not bin. 1632Changed installation order so that package independent libraries are copied 1633into package library directory before index is made. 1634 163514 Feb 2004 1636Changed mkIndex.tcl so that index applies only to tclgeomap package instead of 1637all packages in library directory. 1638Reversed search order for Tcl application so that configure looks for the most 1639recent version. 1640 164117 Feb 2004 1642configure.in looks for tclsh with version number taken from tclConfig.sh. 1643 164419 Feb 2004 1645Added check for tclgeomap package in configure. 1646Added call to SC_PATH_X to get location of X headers, instead of using value in tkConfig.sh. 1647Added --with-tclgeomap-includes option to configure. 1648 1649************ Changes from 2.4 to 2.5 ************ 1650 165124 Mar 2004 1652Added a script to the configure process that runs tclsh and searches the 1653auto_path directories for tclConfig.sh. 1654Added TCL_INCLUDE_SPEC substitution to configuration. 1655Added some more directories to search for tcl.h. 1656(Potential incompatibility) Eliminated superfluous structure member access 1657interfaces. 1658 165926 Mar 2004 1660In configure, forced re-evaluation of compiler variables with a call to 1661SC_CONFIG_CFLAGS. This is because tclConfig.sh sometimes sets variables to 1662values specific to Tcl instead of for the extension (specifically 1663SHARED_LIB_SUFFIX on FreeBSD). 1664Also replaced assignment to LIBOBJS with call to AC_LIBOBJ in response to a 1665warning from auto_conf. 1666Modified header installation. Now header files are placed in pkgincludedir 1667and soft linked to includedir. Thus for a default installation, the 1668header files will go to /usr/local/include/tkgeomap2.5, with soft links in 1669/usr/local/include. 1670 167127 Mar 2004 1672Added SC_PUBLIC_TCLGEOMAP_HEADERS macro. 1673Added ${prefix}/lib to tclgeomap library search. 1674Removed header file soft links from installation. The header files go to 1675/usr/local/include/tkgeomap2.5. That's it. 1676 167728 Mar 2004 1678Replaced call to SC_CONFIG_CFLAGS with a code excerpt in configure.in that just 1679sets SHARED_LIB_SUFFIX and SHLIB_SUFFIX. 1680Removed redundant search for tclgeomap headers from configure.in. The code is 1681in tcl.m4. 1682Removed calls to wish in tcl.m4. It still calls tclsh a couple of times to get 1683search information. 1684 168531 Mar 2004 1686Changed search order for some directories so configure searches private 1687directories first. 1688Rearranged configure to use TCL_PREFIX from tclConfig.sh in absence of --prefix 1689option. 1690 1691************ Changes from 2.5 to 2.5.1 ************ 1692 169314 May 2004 1694(bug fix) Replaced counter with number of segments instead of number of points. 1695 1696************ Changes from 2.5 to 2.5.1 ************ 1697 169814 Jun 2004 1699(bug fix) Replace quoted Tcl command calls with list constructions. 1700 1701************ Changes from 2.5.1 to 2.5.2 ************ 1702 1703No changes. Version advanced to keep synchronized with other packages. 1704 1705************ Changes from 2.5.2 to 2.5.3 ************ 1706 1707(bug fix) Rearranged configuration of lnarr items in mapcanvas draw procedure. 1708The old way was creating redundant graphics contexts. 1709 1710************ Changes from 2.5.3 to 2.5.4 ************ 1711 1712(bug fix) Plugged a memory leak. 1713 1714************ Changes from 2.5.4 to 2.5.5 ************ 1715 1716Made it easier to bypass Tcl allocator. 1717 1718************ Changes from 2.5.5 to 2.5.6 ************ 1719 1720Cleaned up code that makes it easier to bypass Tcl allocator. 1721 1722************ Changes from 2.5.6 to 2.6 ************ 1723 1724Replaced GPL with OSL. 1725Changed contact email to user0@tkgeomap.org. 1726 1727************ Changes from 2.6 to 2.6.1 ************ 1728 1729Moved map namespace procedure definitions into separate files. Improved 1730variable cleanup in namespace scripts. 1731 1732************ Changes from 2.6.1 to 2.6.2 ************ 1733 1734Changed titles in color selection dialogs. 1735Removed "Redo" button from color selection dialog. 1736 1737************ Changes from 2.6.2 to 2.6.3 ************ 1738 1739Changed coordinates of hidden lnarr item such that it has zero size, as 1740suggested by Julien Demaria of acri-st. 1741 1742************ Changes from 2.6.3 to 2.7 ************ 1743 1744(bug fix) Check for existence of "Colors" menu item before inserting into menu. 1745Merge mapcanvas and igeomap interfaces. 1746Added Layers dialog to igeomap. 1747(bug fix) Removed some unecessary checks when deciding whether to compute new 1748text layout. 1749(potential incompatibility) Replace -button and -modifier configuration 1750options with set_motion_bindings and get_motion_bindings procedures. 1751Added bounding box optimization from Julien Demaria of acri-st.fr 1752Moved ProjRef and ProjDomain arrays to tclgeomap_procs package. 1753 1754************ Changes from 2.7 to 2.7.1 ************ 1755 1756(bug fix) Replaced quoted tag list with list command. 1757 1758************ Changes from 2.7.1 to 2.7.2 ************ 1759 1760Adjusted computation and display of line limits. 1761 1762************ Changes from 2.7.2 to 2.7.3 ************ 1763 1764Trivial release change to keep archives synchronized. 1765 1766************ Changes from 2.7.3 to 2.7.4 ************ 1767 1768(bug fix) tar script does make distclean before archiving. 1769 1770************ Changes from 2.7.4 to 2.7.5 ************ 1771 1772(bug fix) Forced bounding box of invisible item to bogus. 1773 1774************ Changes from 2.7.5 to 2.8 ************ 1775 1776Added layer hierarchies. 1777 1778************ Changes from 2.8 to 2.9 ************ 1779 1780Added wdgeomap widget - similar to igeomap, but more object oriented. 1781 1782************ Changes from 2.9 to 2.10 ************ 1783 1784Incremented release version to stay synchronized with tclgeomap. 1785 1786************ Changes from 2.10 to 2.10.1 ************ 1787 1788Incremented release version to stay synchronized with tclgeomap. 1789 1790************ Changes from 2.10.1 to 2.10.2 ************ 1791 1792Updated build for latest Tcl Extension Architecture. Put tclgeomap 1793configuration into tclgeomap.m4 file. 1794 1795************ Changes from 2.10.2 to 2.11 ************ 1796 1797Added ability to draw arrows. 1798Added close button to colors dialog. 1799 1800************ Changes from 2.11 to 2.11.1 ************ 1801 1802(bug fix) Tried to create a window twice 1803 1804************ Changes from 2.11.1 to 2.11.2 ************ 1805 1806(bug fix) Set arrow length to double, AND INPUT FOR IT. Note to self, 1807string "1.1 1.2 1.3" to scanf("%f %d %f" ...) yields 1.1 1 .2 1808 1809************ Changes from 2.11.2 to 2.11.3 ************ 1810 1811(bug fix) Fixed some memory leaks. 1812 1813************ Changes from 2.11.3 to 2.11.4 ************ 1814 1815Updated linearray item to use maplines stored in tclgeomap_linearray 1816structures. 1817Eliminated array of bounding boxes for individual lines in the linearray item. 1818It was taking up too much memory in arrays with a lot of small lines. 1819 1820************ Changes from 2.11.4 to 2.11.5 ************ 1821 1822(bug fix) Linearray items keep their own arrays of map coordinates. This ensures 1823proper updates whent the item projection changes. 1824