summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add pkgcflags, appcflags and stubscflags to reflect different compilation modes.vc-reform-tests-passapnadkarni2017-09-282-83/+133
| | | | | | | | | | Packages compile (at least) three types of objects files - the shared library extension (e.g. tk86.dll), application programs (e.g. wish) and a static stubs library (tkstub86.lib). Thus we need to construct three different sets of compilation flags accordingly. Also updated makefile header comments to reflect modern usage. FossilOrigin-Name: 796c9fe1ab27bb389adf00d26a49566a0443ea0c753282d45f98cadf1f20f391
* Include rules.vc and nmakehlp.c as part of install. apnadkarni2017-09-262-16/+82
| | | | | | | | | | Work toward not having to keep updating extensions with the latest version of rules.vc and nmakehlp. Extension makefiles can instead use the installed files instead. Also added some basic sanity checks to rules.vc to warn if extensions are being compiled with options incompatible with those used to build Tcl. FossilOrigin-Name: 1889687ba861e0870cf4bbb3abfbc12393501aea3d985476f8af96c28e3254bc
* Eliminate obsolete winhelp style documentation and fix Html Help doc buildapnadkarni2017-09-252-67/+17
| | | | | to work on 64-bit systems. FossilOrigin-Name: 5137d4fbb179cde7cc02cb5a66367be039cc2bcc035f9ad4fa162e3bdd9c54f2
* Eliminated /base option on linking as not recommended with ASLRapnadkarni2017-09-252-9/+5
| | | FossilOrigin-Name: 847eaa26c52fbe4a466a2e94d9973e58ee0db020160554a74ca5ea7450565850
* Unify build commands with MAKE{LIB,DLL,CON,GUI}CMD macrosapnadkarni2017-09-252-15/+14
| | | FossilOrigin-Name: 1e35d5e767ded7b489ba003bc3bb4fff755a3f01484b492b6f71358018efa8f9
* Move TCLSH and TCLSH_NATIVE macros to rules.vcapnadkarni2017-09-252-18/+20
| | | FossilOrigin-Name: 5be00eaab3a850451c54e1985b7bc3cdf56fdc04edb12e76b849070b41efcc98
* Added project-specific include paths and preprocessor defines.apnadkarni2017-09-252-44/+72
| | | FossilOrigin-Name: 6503da624be962a0605e56208facf3d796e220968fc3dcb0026a65887944b7fa
* Move clean target to rules.vc to avoid repetition in every extensionapnadkarni2017-09-242-30/+40
| | | FossilOrigin-Name: 60ffde8e32cee6c37e70636b2af5d7f7e938493d9d81caefcc9e568042db5d5d
* Move installation dir macros to rules.vcapnadkarni2017-09-242-29/+54
| | | FossilOrigin-Name: 8085276411e6dbed6fd6922c4d6ec40d343032fb44b2b5cc1fdb68714dc111f2
* Moved generic compiler and linker flags completely into rules.vc soapnadkarni2017-09-242-160/+197
| | | | | | | | | extensions do not have to repeat the verbage. Special case Tk as a Tcl extension and add default for locating Tcl source. Both Tcl and Tk compile with new rules. FossilOrigin-Name: 5c431028b89af334c5792001ae301cfc42d02ab645c33a3b9fe183a77d31f7ae
* More refactoring. Moved defines that are Tcl-specific to makefile.vc asapnadkarni2017-09-232-144/+188
| | | | | rules.vc is common to extensions. Reworked parsing of STATS and CHECKS. FossilOrigin-Name: 0e5cb21d0ee739409bc6c1826dab38bb76489b78bb32220b0c4b9e9afe9c2968
* First step in complete refactoring.apnadkarni2017-09-222-136/+295
| | | | | | | | Breaking up into logical sections with comments. Fix floating point option selection to be the same on debug and release. Pick up nmakehlp.c from installed Tcl if available when building extensions. Mods to allow extensions to use the same exact rules.vc file. FossilOrigin-Name: b555514410356654f1b80e3d6eee9763d83dca99ac172769a4bf90f753fbbfd8
* First cut at making application-independent compile and link flagsapnadkarni2017-09-202-88/+114
| | | | | | common to all extensions defined in a single place - rules.vc - instead of having each extension cut and paste the same code. FossilOrigin-Name: a00775326e55435c207e023c68ff35d16dc946066535cd3a6a77770534b8456a
* Disable pointer<->int warnings related to cast between different sizesapnadkarni2017-09-191-0/+7
| | | | | | | There are a gadzillion of these due to use of ClientData and clutter up compiler output increasing chance of a real warning getting lost. So disable them. Eventually some day, Tcl will be 64-bit clean. FossilOrigin-Name: efdaaeb661af7e3d3cb6cce0f992e6fab7ecddf7c76de2429d57b244d89e4bc1
* Eliminated some obsolete checks (Win98, IA64 etc.) to reduce the noise.apnadkarni2017-09-192-35/+9
| | | FossilOrigin-Name: 7267f6da0a3fa978456032ea394ec0943488fd7a6bb73d4d67df9b2eaff1e5f3
* Do not permit nothreads in OPTS as sockets, registry and dde require threading.apnadkarni2017-09-192-4/+23
| | | FossilOrigin-Name: 39dbe837aaef80872038070890d329b76d96356a66c599c3a03d79779678fdd6
* Fix mapping of VCVERSION to VCVER. The simplistic calculation no longerapnadkarni2017-09-191-0/+7
| | | | | | holds for new versions of the compiler. Instead directly use the internal compiler version for these. FossilOrigin-Name: b564ced4b61b3acb12a5d3fe710358204e6bba3a405d8991a744044952dc7e50
* Remove /Gs which enables _chkstk on *every* function call. The normal defaultapnadkarni2017-09-192-16/+22
| | | | | | | | | | | behaviour (without the option) checks only local variable space exceeds page size. This is what Microsoft recommends. Also moved -O2 to rules.vc file so as to keep all optimization flags in one location. Removed optimizations switches subsumed by -O2. FossilOrigin-Name: 04c1607a2421fcae39765336915f40ec15c99a6e3210f46f890b55241bb79e7e
* Create new branch named "vc-reform"apnadkarni2017-09-190-0/+0
| | | FossilOrigin-Name: 3f41663ec6587bb6e1fa2187eae58035986ea9cc
* Improved test http-4.16.dgp2017-08-031-4/+10
| | | FossilOrigin-Name: 26055ab3e1001aa788f63bbb5d3c730e6cc24ad9
* Fix weird hangs in macOS Sierra on some networks. Name resolution timeouts ↵dkf2017-08-023-17/+38
| | | | | not what we want to test in the http package. FossilOrigin-Name: bf3ac94fa258e2ba6c1d7097b1a2d634c8b16a15
* Fix [fb2208172c671f29d60e9ac928d9ded45d01d8b8|fb2208172c]: tclIndex varies ↵jan.nijtmans2017-07-171-2/+2
|\ | | | | | | | | across builds from auto_mkindex FossilOrigin-Name: d86807b8145b5b5305635a54b6ae4542e2e87d7d
| * Fix [fb2208172c671f29d60e9ac928d9ded45d01d8b8|fb2208172c]: tclIndex varies ↵jan.nijtmans2017-07-171-2/+2
| | | | | | | | | | across builds from auto_mkindex FossilOrigin-Name: cb7edbc60b7438001d9bb4b34c14a28a0b68f01e
* | Fix [293344d4f3]: Regression in SQLite test-suite. Long-standing bug in ↵jan.nijtmans2017-07-131-1/+1
|\ \ | |/ | | | | | | implementation of TclUtfToUniChar() macro. FossilOrigin-Name: 65f2f760e4930e88e5e97b798d9d339abe327b9f
| * Fix [293344d4f3]: Regression in SQLite test-suite. Long-standing bug in ↵jan.nijtmans2017-07-131-1/+1
| | | | | | | | | | implementation of TclUtfToUniChar() macro. FossilOrigin-Name: 66a24e04138715700328ca8bcda6d3f9325c1ae9
* | [adb198c256] Switch to an alternative fix for file join memleaks.dgp2017-07-061-41/+47
|\ \ | | | | | | FossilOrigin-Name: df20b03ff6c5bda4216cd4fc26933d6b49ff18a4
| * | Pull out of the loop a block of code that can only run in first iteration.dgp2017-07-061-18/+19
| | | | | | | | | FossilOrigin-Name: e5a3e7cba17f0c857e01f2a2073cd7053b7ca28d
| * | Alternative fix for memleaks in fs path join machinery.dgp2017-07-061-17/+16
| | | | | | | | | FossilOrigin-Name: 6ab9649e669f1423c7411892a601580ee38e10c9
* | | resolve 8.6-forksebres2017-07-032-28/+28
|\ \ \ | |/ / | | | FossilOrigin-Name: 674ec2d9ecc60ec060be0c956e98bdced1a3c201
| * | 'inline static' -> 'static inline' and 'INLINE' -> 'inline', for consistancy.jan.nijtmans2017-07-032-28/+28
| | | | | | | | | FossilOrigin-Name: 5b95f585fa464a9f76255fcdd6be8962a193d8b8
* | | tclPathObj: fixed TclJoinPath - usage of released object and object leakage.sebres2017-07-031-32/+26
|\ \ \ | |/ / |/| / | |/ | | closes [adb198c256df8c4192838cc3c1112fb2821314e9] FossilOrigin-Name: fbaf970e247d02b0d607a777619204e4148a273d
| * tclPathObj: fixed TclJoinPath (backported from 8.6) - usage of released ↵sebres2017-07-031-84/+70
| | | | | | | | | | | | | | object and object leakage. closes [adb198c256df8c4192838cc3c1112fb2821314e9] FossilOrigin-Name: 9fc5b82feb585ace037c22ca48ef8e4fb6a840d8
* | Eliminate use of (expensive) Tcl_UtfToUpper() from "format": Just generate ↵jan.nijtmans2017-06-281-10/+9
| | | | | | | | | | the expected uppercase characters right away from the start. No change in functionality, just code optimization. FossilOrigin-Name: bb9d202e4c2947e87b068ff1b895a2af97dd9c01
* | Bump to TclOO 1.1.0dgp2017-06-263-3/+3
| | | | | | FossilOrigin-Name: 417c4f636d2d5266131c148d524b48d85ac74314
* | [46f801ea5a] Make autoloader less fragile when it cannot manufacture adgp2017-06-262-22/+38
|\ \ | | | | | | | | | | | | known consistent stack trace. Value inconsistency over failure. FossilOrigin-Name: 432f9304f2e67d5e192ac08651ec735817758ea1
| * | Try to make good stack trace. Fallback to making not-so-good stack trace.dgp2017-06-262-23/+29
| | | | | | | | | | | | | | | Stop failing altogether. Test in test suite, not program fragility. FossilOrigin-Name: c67cb06977649bee0306f002c9c05083c324be92
| * | Test demonstrating autoloader fragility.dgp2017-06-261-0/+10
|/ / | | | | FossilOrigin-Name: 6fd70a102be9ea171c1f5da71f608523b936ff3d
* | Implement TIP #473: Allow a Defined Target Namespace in oo::copydkf2017-06-223-11/+78
|\ \ | | | | | | FossilOrigin-Name: e927ed1f312764aacbadb685f482669b78a0251f
| * | Documentation correction; issue pointed out by DGP.dkf2017-06-221-2/+3
| | | | | | | | | FossilOrigin-Name: b574d9d3912e5b5b90c415a4cd87c7ecd68a5318
| * | Rebase for final implementation workdkf2017-06-223-11/+77
|/ / | | | | FossilOrigin-Name: 187b146c23acf745a0a690d87ea5cd8c37cda9c5
* | Upgrade all internal character tables to Unicode 10jan.nijtmans2017-06-222-806/+831
|\ \ | |/ | | FossilOrigin-Name: f78dec2d2fed52d4269bd4f351680ec4ef87ab77
| * Upgrade all internal character tables to Unicode 10jan.nijtmans2017-06-222-807/+836
| | | | | | FossilOrigin-Name: 04efb10be6a8bb8ff15d8fbc78431b06142b87aa
* | Add test-cases, testing the legacy behavior of "format %#d"jan.nijtmans2017-06-223-4/+23
| | | | | | FossilOrigin-Name: 66e3be83acffff59531df962d72ed602ec0240be
* | Factor out chunk of non-obvious code in the guts of [oo::define] into one place.dkf2017-06-181-126/+74
| | | | | | FossilOrigin-Name: 2bcf10b88eeba289e849e07436091b9e96efbd53
* | Make panic in TclParseNumber() work when IEEE_FLOATING_POINT is not defined.jan.nijtmans2017-06-151-1/+1
| | | | | | FossilOrigin-Name: 512a5af3947e9bb3e85b0bcdeddf65f365adb50b
* | [9c058c5803e30d02] Correction to cross linking in dict(n)'s SEE ALSO section.dkf2017-06-141-1/+1
| | | | | | FossilOrigin-Name: 98b22be0c48c7903993e148ee0aa850b3845f3ae
* | Make read and write operations on Tcl_Var handles available in tclInt API.dkf2017-06-087-58/+349
|\ \ | | | | | | FossilOrigin-Name: 7d94f61c60d13596272d0854d25cf98f7024c693
| * | Expose some of the core variable access APIs.dkf2017-06-067-58/+349
| | | | | | | | | FossilOrigin-Name: c4eb84f27302177349f24b7d6b5ddd177f5974d7
* | | Revert part of [95d096e0378b460c6c5168bb55bb2ca8b2fd799e|95d096e037]: Missed ↵jan.nijtmans2017-06-081-12/+35
| | | | | | | | | | | | | | | the fact that tolower() was optimized for the ASCII case as well, so this was a mistake! FossilOrigin-Name: 9d00eb360745292e1dd284f8cf4379fa2eb35706
* | | Fix [2738427]: Tcl_NumUtfChars(...) no overflow check.jan.nijtmans2017-06-082-14/+19
|\ \ \ | | |/ | |/| FossilOrigin-Name: 6b5843fde9bbbcc4ecbf7db42131daf7c3db9c3f