summaryrefslogtreecommitdiffstats
path: root/win/tclWinReg.c
Commit message (Collapse)AuthorAgeFilesLines
* Update all internal tables to Unicode 13.jan.nijtmans2020-03-051-1/+1
|\ | | | | (while on it) sync tclWinDdde.c and tclWinReg.c, making it 100% identical to other branches.
| * Fix compiler warning when compiling with -DTCL_UTF_MAX=4 or 6jan.nijtmans2019-11-131-2/+2
| |
* | Make tclWinDde.c compilable with C++ compiler. dde -> 1.4.3jan.nijtmans2020-02-261-5/+5
|/ | | Make tclWinReg.c compilable with C++ compiler. registry -> 1.3.5
* Bump to dde 1.4.2 and registry 1.3.4.dgp2019-10-211-2/+2
|
* Change LSTATUS to LONG, since older SDK's don't know it.jan.nijtmans2019-10-051-2/+2
| | | core.tcl.tk -> core.tcl-lang.org and htt -> https
* Modify registry/dde such that they no longer need to be compiled with ↵jan.nijtmans2019-09-201-62/+93
| | | | | -DUNICODE. Also no longer use Tcl_WinTCharToUtf/Tcl_WinUtfToTchar but the unicode conversions functions to do WCHAR <=> UTF-8 conversions. When compiled with Tcl >= 8.7, use the TIP #548 wchar_t functions in stead for registry/dde.
* Add support for TIP #494 to registry and dde. Only effective when compiled ↵jan.nijtmans2018-10-301-2/+21
| | | | | against Tcl 9.0 headers. This way we can keep the source-code for those extensions 100% equal in all branches. Work-around for gcc warning in tclWinFile.c. Discovered by Travis CI.
* tclWinDde.c: Backport version 1.4.1 from Tcl 8.6.jan.nijtmans2018-10-271-23/+9
|
* Backport "registry" version 1.3.3, so all active branches now have the same ↵jan.nijtmans2018-10-241-346/+320
| | | | | registry version. (this commit must -eventually- be merge-marked to core-8-6-branch, since everything is there already)
* [Bug #3362446]: registry keys command fails with 8.5/8.6. Follow Microsofts ↵jan.nijtmans2012-07-111-1/+1
| | | | | example better in order to prevent problems when using HKEY_PERFORMANCE_DATA. Forgot one important '%'
* [Bug 3362446]: possible allocation error when using UNICODEjan.nijtmans2012-06-211-3/+3
|\
| * [Bug 3362446]: possible allocation error when using UNICODEjan.nijtmans2012-06-211-4/+4
| |
* | [Bug #3362446]: registry keys command fails with 8.5/8.6jan.nijtmans2012-06-211-77/+30
|\ \ | | | | | | update registry version to 1.2.2
| * | remove some unused codejan.nijtmans2012-06-201-12/+8
| | |
| * | [bug 3362446]: registry keys command fails with 8.5/8.6jan.nijtmans2012-06-191-64/+30
| | |
* | | Plug memory leak, part of [Bug #3362446]jan.nijtmans2012-06-191-0/+2
|\ \ \ | | |/ | |/|
| * | Plug memory leak, part of [Bug #3362446]jan.nijtmans2012-06-191-0/+2
| |/
* | make some more internal tables constjan.nijtmans2012-04-231-1/+1
|\ \ | |/
| * make some more internal tables constjan.nijtmans2012-04-231-1/+1
| | | | | | On cygwin, install dll's in /usr/bin, not in /usr/lib
| * Fix gcc warnings (discovered with latest mingw, based on gcc 4.6.1)jan.nijtmans2011-10-071-2/+2
| |
* | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-1/+1
|\ \ | |/
| * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-151-5/+6
| |
* | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
|\ \ | |/ | | more harm than good. Purged them.
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | more harm than good. Purged them.
| * Fix gcc-4.5.2 error: lvalue required as ...nijtmans2011-01-141-2/+4
| | | | | | | | (backported from 8.5/8.6)
| * * changes: updates for 8.4.15 release.dgp2007-05-151-2/+2
| | | | | | | | | | * win/tclWinReg.c: Bump to registry 1.1.5 to account * library/reg/pkgIndex.tcl: for [1682211] bug fix.
| * * win/tclWinReg.c (GetKeyNames): Size the buffer for enumeratingKevin B Kenny2007-03-171-23/+66
| | | | | | | | | | | | | | key names correctly, so that Unicode names exceeding 127 chars can be retrieved without crashing. [Bug 1682211] * tests/registry.test (registry-4.9): Added test case for the above bug.
| * * library/reg/pkgIndex.tcl: Long overlooked bump to registry ↵dgp2006-04-051-2/+2
| | | | | | | | | | | | package * win/tclWinReg.c: version 1.1.4 (should have been done for the Tcl 8.4.8 release!)
| * WIN64 correctionshobbs2004-09-011-4/+4
| |
| * * library/dde/pkgIndex.tcl: Added safeguards so that registrydgp2003-11-101-2/+2
| | | | | | | | | | | | * library/reg/pkgIndex.tcl: and dde packages are not offered * win/tclWinDde.c: on non-Windows platforms. Bumped to * win/tclWinReg.c: registry 1.1.3 and dde 1.2.2.
| * * win/tclWinReg.c: Incremented the version to 1.1.2.patthoyts2003-07-231-2/+2
| | | | | | | | * library/reg/pkgIndex.tcl:
| * * win/tclWinReg.c (OpenSubKey): Backported fix for bug 775976patthoyts2003-07-221-2/+2
| | | | | | | | which causes the registry set command to fail when built with VC7.
* | Various CYGWIN-related fixesnijtmans2010-01-311-15/+16
| | | | | | | | | | | | | | | | | | backported from HEAD. Still configure script not modified, so CYGWIN build is still disabled. Reason: although the build succeeds with those changes, many tests still fail.
* | * win/configure: autoconf-2.59 (FC6 fork)dgp2007-05-151-2/+2
| | | | | | | | | | | | | | * library/reg/pkgIndex.tcl: Bump to registry 1.2.1 to account for * win/configure.in: [1682211] bug fix. * win/makefile.bc: * win/tclWinReg.c:
* | More type-pun warning squelchesdkf2007-05-051-14/+11
| |
* | * win/tclWinReg.c (GetKeyNames): Size the buffer for enumeratingKevin B Kenny2007-03-171-23/+65
| | | | | | | | | | | | | | key names correctly, so that Unicode names exceeding 127 chars can be retrieved without crashing. [Bug 1682211] * tests/registry.test (registry-4.9): Added test case for the above bug.
* | * library/reg/pkgIndex.tcl: Bump to registry 1.2 becausedgp2006-04-051-2/+2
| | | | | | | | | | | | | | | | * win/tclWinReg.c: Registry_Unload() is a new public routine * win/Makefile.in: compared to the 1.1.* releases. * win/configure.in: Bump package version numbers. * win/configure: autoconf 2.59
* | * win/tclWinInit.c: More careful calls to Tcl_DStringSetLength()dgp2006-04-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * win/tclWinSock.c: to avoid creating invalid DString states. * win/tclWinDde.c: Bump to version 1.3.2. [RFE 1366195] * library/dde/pkgIndex.tcl: * library/reg/pkgIndex.tcl: Bump to registry 1.1.6 * win/tclWinReg.c: * win/configure.in: Bump package version numbers. * win/configure: autoconf 2.59
* | Export stubs for libtommath; fix mingw compiler warningsKevin B Kenny2005-12-131-10/+17
| |
* | ANSIfydkf2005-11-041-8/+8
| |
* | Getting more systematic about styledkf2005-07-241-180/+183
| |
* | corrected botched logic in GetValueNamesdgp2004-10-071-5/+5
| |
* | typo fixdgp2004-10-071-2/+2
| |
* | * generic/tclBasic.c:dgp2004-10-061-39/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclBinary.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompExpr.c: * generic/tclDictObj.c: * generic/tclEncoding.c: * generic/tclExecute.c: * generic/tclFCmd.c: * generic/tclHistory.c: * generic/tclIndexObj.c: * generic/tclInterp.c: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclPkg.c: * generic/tclResult.c: * generic/tclScan.c: * generic/tclTimer.c: * generic/tclTrace.c: * generic/tclUtil.c: * generic/tclVar.c: * unix/tclUnixFCmd.c: * unix/tclUnixPipe.c: * win/tclWinDde.c: * win/tclWinFCmd.c: * win/tclWinPipe.c: * win/tclWinReg.c: It is a poor practice to directly set or append to the value of the objResult of an interp, because that value might be shared, and in that circumstance a Tcl_Panic() will be the result. Searched for example of this practice and replaced with safer alternatives, often using the Tcl_AppendResult() routine that dkf just rehabilitated. * library/dde/pkgIndex.tcl: Bump to dde 1.3.1 * library/reg/pkgIndex.tcl: Bump to registry 1.1.5
* | WIN64 correctionshobbs2004-09-011-4/+4
| |
* | Patch 922727 committed. Implements three changes:dgp2004-04-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.h: Reworked the Tcl header files into a clean * unix/tclUnixPort.h: hierarchy where tcl.h < tclPort.h < tclInt.h * win/tclWinInt.h: and every C source file should #include * win/tclWinPort.h: at most one of those files to satisfy its declaration needs. tclWinInt.h and tclWinPort.h also better organized so that tclWinPort.h includes the Windows implementation of cross-platform declarations, while tclWinInt.h makes declarations that are available on Windows only. * generic/tclBinary.c (TCL_NO_MATH): Deleted the generic/tclMath.h * generic/tclMath.h (removed): header file. The internal Tcl * macosx/Makefile (PRIVATE_HEADERS): header, tclInt.h, has a * win/tcl.dsp: #include <math.h> directly, and file external to Tcl needing libm should do the same. * win/Makefile.in (WIN_OBJS): Deleted the win/tclWinMtherr.c file. * win/makefile.bc (TCLOBJS): It's a vestige from matherr() days * win/makefile.vc (TCLOBJS): gone by. * win/tcl.dsp: * win/tclWinMtherr.c (removed):
* | Made HEAD build on Windows VC++ again.Kevin B Kenny2004-03-191-2/+2
| |
* | Added TIP #100 support to the registry package (patch #903831)patthoyts2004-03-041-4/+81
| | | | | | | | | | This provides a Windows test of the TIP #100 mechanism and a sample to show how unloading an extension can be done.
* | * win/tclWinReg.c: Placed the requirement for advapi.libdavygrvy2004-01-151-2/+5
| | | | | | | | | | | | | | | | into the object file itself with #paragma comment (lib, ...) when built with VC++. This will simplify linking for users of the static library. * win/makefile.vc: Removed 'advapi.lib' from $(baselibs).
* | * library/dde/pkgIndex.tcl: Added safeguards so that registrydgp2003-11-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * library/reg/pkgIndex.tcl: and dde packages are not offered * win/tclWinDde.c: on non-Windows platforms. Bumped to * win/tclWinReg.c: registry 1.1.3 and dde 1.3. * win/Makefile.in: * win/configure.in: * win/makefile.bc: * win/makefile.vc: * win/configure: autoconf (2.57)