summaryrefslogtreecommitdiffstats
path: root/win/tclWinReg.c
Commit message (Collapse)AuthorAgeFilesLines
* [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 codebug_3362446jan.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)
* | * 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.
* * library/dde/pkgIndex.tcl: dde bumped to version 1.2.1 fordgp2003-03-031-2/+2
| | | | | | | | | * win/tclWinDde.c: bundled release with Tcl 8.4.2 * library/reg/pkgIndex.tcl: registry bumped to version 1.1.1 for * win/tclWinReg.c: bundled release with Tcl 8.4.2 * library/opt/pkgIndex.tcl: updated package index to version 0.4.4
* * win/tclWin32Dll.c (squelch_warnings): Squelchmdejong2003-01-161-5/+5
| | | | | | | | | | | | | | | | | | | | | | compiler warnings from SEH ASM code. * win/tclWinChan.c (squelch_warnings): Squelch compiler warnings from SEH ASM code. * win/tclWinDde.c: Add casts to avoid compiler warnings. Pass pointer to DWORD instead of int to avoid compiler warnings. * win/tclWinFCmd.c (squelch_warnings): Add casts and fixup decls to avoid compiler warnings. Squelch compiler warnings from SEH ASM code. * win/tclWinFile.c: Add casts and fixup decls to avoid compiler warnings. Remove unused variable. * win/tclWinNotify.c: Declare as DWORD instead of int to avoid compiler warning. * win/tclWinReg.c: Add casts to avoid compiler warning. Fix assignment in if expression bug. * win/tclWinSerial.c: Add casts to avoid compiler warnings. Remove unused variable. * win/tclWinSock.c: Add casts and fixup decls to avoid compiler warnings.
* Updated Tcl_PkgProvide() line in Registry_Init() to use "1.1" instead of "1.0"davygrvy2002-11-021-2/+2
|
* * doc/registry.n: Added support for broadcasting changes tohobbs2002-10-181-3/+76
| | | | | * tests/registry.test: the registry Environment. Noted proper code * win/tclWinReg.c: in the docs. [Patch #625453]
* * win/tclWinReg.c (regConnectRegistryProc,RecursiveDeleteKey)hobbs2002-01-291-32/+29
| | | | | (DeleteKey,GetKeyNames,GetType,GetValue,OpenSubKey,SetValue): redid the CONSTification as previous changes caused failing tests.
* * win/tclWinReg.c (OpenSubKey): corrected bug introduced inhobbs2002-01-291-4/+4
| | | | CONSTification that dropped pointer reference.
* * [Patch 505630] Updated interfaces of generic/tclBasic.cc (TIP 27).dgp2002-01-251-33/+40
| | | | | | | * [Patch 506818] Updated interfaces of generic/tclHash.c (TIP 27). * [Patch 506807] Updated interfaces of generic/tclObj.c (TIP 27). * [Patch 507304] Updated interfaces of win/tclWin32.c (TIP 27). * Update all callers.