summaryrefslogtreecommitdiffstats
path: root/win/tclWinReg.c
Commit message (Collapse)AuthorAgeFilesLines
* More generation of error codes (most platform-specific parts not already usingdkf2011-04-061-0/+2
| | | Tcl_PosixError).
* Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-4/+4
| | | rest of Tcl source code. No ABI change. API change *should* be harmless.
* Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ | | | | cause more harm than good. Purged them (except in zlib files).
| * 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.
* | | Fix various gcc-4.5.2 64-bit warning messages,nijtmans2011-01-251-2/+2
| | | | | | | | | | | | e.g. by using full 64-bits for socket fd's
* | | [FRQ 2965056]: Windows build with -DUNICODEnijtmans2010-11-031-25/+3
| | | | | | | | | | | | (more clean-ups for pre-win2000 stuff)
* | | [FRQ 2965056]: Windows build with -DUNICODEnijtmans2010-10-111-172/+55
| | | | | | | | | | | | Add netapi32 to the windows link line, so we no longer have to use LoadLibrary to access those functions.
* | | [Freq 2965056]: Windows build with -DUNICODEnijtmans2010-08-301-1/+7
| | |
* | | * library/reg/pkgIndex.tcl: [TIP #362]: Fixed first round ofKevin B Kenny2010-04-021-8/+8
| | | | | | | | | | | | | | | | | | * tests/registry.test: bugs resulting from the recent commits * win/tclWinReg.c: of changes in support of the referenced TIP.
* | | Bump version of registry package to 1.3.dkf2010-03-301-2/+2
| | |
* | | TIP #362 IMPLEMENTATIONdkf2010-03-301-117/+201
| | | | | | | | | | | | | | | | | | * win/tclWinReg.c: [Patch 2960976]: Apply patch from Damon Courtney to * tests/registry.test: allow the registry command to be told to work with both 32-bit and 64-bit registries.
* | | * win/tclWinDde.c: VC++ 6.0 doesn't havenijtmans2010-01-101-12/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * win/tclWinReg.c PDWORD_PTR * win/tclWinThrd.c: Fix various minor gcc warnings. * win/tclWinTime.c * win/tclWinConsole.c Put channel type definitions * win/tclWinChan.c in static const memory * win/tclWinPipe.c * win/tclWinSerial.c * win/tclWinSock.c * generic/tclIOGT.c * generic/tclIORChan.c * generic/tclIORTrans.c * unix/tclUnixChan.c * unix/tclUnixPipe.c * unix/tclUnixSock.c * unix/configure (regenerated with autoconf 2.59) * tests/info.test: Make test independant from tcltest implementation.
* | | #undef STATIC_BUILD in tclWin(Dde|Reg).c, in order to makenijtmans2009-11-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sure that Xxxxx_Init is always exported even when Tcl is built static (otherwise we cannot create a DLL). tclThreadTest.c: Make all functions static, except TclThread_Init. fCmd.test Enable fCmd-30.1 when registry is available. tcl.m4 Fix ${SHLIB_LD_LIBS} definition, fix conflicts configure.in between static libraries and import library on windows. configure (regenerated) Makefile.in Simplifications related to tcl.m4 changes.
* | | Fix [Bug 2883850]: pkgIndex.tcl doesn'tnijtmans2009-11-181-1/+4
| | | | | | | | | | | | get created with static Tcl build
* | | Eliminate various gcc warnings (in -Wextra mode)nijtmans2009-11-181-3/+3
| | |
* | | const addition (pkge.c)nijtmans2009-08-161-9/+7
| | | | | | | | | | | | | | | Use <pthread.h> in stead of "pthread.h" Eliminate some more gcc warnings
* | | - eliminate some unnessary type castsnijtmans2009-02-031-13/+13
| | | | | | | | | | | | | | | - some internal const decorations - spacing
* | | Style improvements - invoking callbacks without visual junk.dkf2008-10-261-22/+22
| | |
* | | * win/tclWinChan.c: Fix minor compiler warnings whennijtmans2008-10-141-13/+16
| | | | | | | | | | | | | | | | | | | | | * win/tclWinDde.c: compiling wit -Wwrite-strings * win/tclWinInit.c: * win/tclWinReg.c: * win/tclWinSerial.c:
* | | fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-191-2/+2
| | |
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-38/+38
|/ /
* | * 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)
* | * win/tclWinReg.c: Incremented the version to 1.1.2.patthoyts2003-07-231-2/+2
| | | | | | | | * library/reg/pkgIndex.tcl:
* | * win/tclWinReg.c (OpenSubKey): Fixed bug 775976 which causes thepatthoyts2003-07-221-2/+2
|/ | | | registry set command to fail when built with VC7.