summaryrefslogtreecommitdiffstats
path: root/win/tclWinReg.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Bump version of registry package to 1.3.dkf2010-03-301-2/+2
| | | | | | | | | FossilOrigin-Name: 977c9f9ba68c94a612ab6559d837f1c2b77afcb9
* | | 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. FossilOrigin-Name: 3606e1e39c84e93ca80cab33a8388ecfd6f11eb6
* | | * 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. FossilOrigin-Name: ab999800966a0b666e1f1f44036476255eedbc43
* | | #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. FossilOrigin-Name: 0f53c33f6377e38993f5f9cd89f7065e94f002ee
* | | Fix [Bug 2883850]: pkgIndex.tcl doesn'tnijtmans2009-11-181-1/+4
| | | | | | | | | | | | | | | | | | get created with static Tcl build FossilOrigin-Name: 39268397d9e495cccd1fe6168edc5d0eb62e8db4
* | | Eliminate various gcc warnings (in -Wextra mode)nijtmans2009-11-181-3/+3
| | | | | | | | | FossilOrigin-Name: 7dca608b0fc133532656a0567b3438276883f448
* | | const addition (pkge.c)nijtmans2009-08-161-9/+7
| | | | | | | | | | | | | | | | | | | | | Use <pthread.h> in stead of "pthread.h" Eliminate some more gcc warnings FossilOrigin-Name: 4c68b5bfd210fd561b59adf07c4330e3e1e8f304
* | | - eliminate some unnessary type castsnijtmans2009-02-031-13/+13
| | | | | | | | | | | | | | | | | | | | | - some internal const decorations - spacing FossilOrigin-Name: 4ad5e07e8ede6030f3761fe757be48b382755be1
* | | Style improvements - invoking callbacks without visual junk.dkf2008-10-261-22/+22
| | | | | | | | | FossilOrigin-Name: a1a8afc25d47810e677f42869f79723f80f3d6a6
* | | * 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: FossilOrigin-Name: ec7f443aa86627dbac9017f569b6c93e014c1eba
* | | fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-191-2/+2
| | | | | | | | | FossilOrigin-Name: 1e5261316ed076ff5ff69f2a720e8eff30fcf66e
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-38/+38
|/ / | | | | FossilOrigin-Name: 2d205c22fbe5def21ccd36bc6f7b2d3831f6122d
* | * 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: FossilOrigin-Name: de7229b0324b1e0574192eea2969969eeba38e1c
* | More type-pun warning squelchesdkf2007-05-051-14/+11
| | | | | | FossilOrigin-Name: 79c3d2e2796dd78bf58674468b38e7c984fa994a
* | * win/tclWinReg.c (GetKeyNames): Size the buffer for enumeratingkennykb2007-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. FossilOrigin-Name: c83dde5ee6bd6aa3b5261191cf1b5541d2300c11
* | * 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 FossilOrigin-Name: 2d91517735fbfc52cd1e170bbee96d4344b5f774
* | * 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 FossilOrigin-Name: 59be4670427aeee92ec545c844ba84a9004ad3bc
* | Export stubs for libtommath; fix mingw compiler warningskennykb2005-12-131-10/+17
| | | | | | FossilOrigin-Name: 3842b9c46803a8677c011078725b04cff7adff2d
* | ANSIfydkf2005-11-041-8/+8
| | | | | | FossilOrigin-Name: eeb132b4aebdf3d5feb48db72fa3c06de390531d
* | Getting more systematic about styledkf2005-07-241-180/+183
| | | | | | FossilOrigin-Name: 83d72c558cc66d1e10666e2fab0f6e87addb5c3d
* | corrected botched logic in GetValueNamesdgp2004-10-071-5/+5
| | | | | | FossilOrigin-Name: 8590dfa4ebe83ea7530df7bb6084139cba71ef43
* | typo fixdgp2004-10-071-2/+2
| | | | | | FossilOrigin-Name: c3836ffc06cab469656a644aaa2d6fa490f240e3
* | * 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 FossilOrigin-Name: be0a51bf83d10afe244073070ec115e0968c7a19
* | WIN64 correctionshobbs2004-09-011-4/+4
| | | | | | FossilOrigin-Name: 1e2c2edfd32dedfbc8819a5f3eead4195290dfa8
* | 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): FossilOrigin-Name: 2e5b18c85c944b46540edfdd6580648e32645e2b
* | Made HEAD build on Windows VC++ again.kennykb2004-03-191-2/+2
| | | | | | FossilOrigin-Name: 6610e1aa01b0cec45ed1eb774b5abf2a6b8c9b01
* | 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. FossilOrigin-Name: e9c5a8086286c9b6a683e9392246ef54f4c1a5b5
* | * 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). FossilOrigin-Name: 6176b7ad8eb2278c5c100f9141c718abb9ec5fb8
* | * 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) FossilOrigin-Name: 207b9d2fc9e24827b255b855687287c269cf6cc2
* | * win/tclWinReg.c: Incremented the version to 1.1.2.patthoyts2003-07-231-2/+2
| | | | | | | | | | | | * library/reg/pkgIndex.tcl: FossilOrigin-Name: a252124d24d0a5123838016ed7b044ea407cae35
* | * win/tclWinReg.c (OpenSubKey): Fixed bug 775976 which causes thepatthoyts2003-07-221-2/+2
|/ | | | | | registry set command to fail when built with VC7. FossilOrigin-Name: 996c008d08935767f067d57f8593514b8e99762b
* * 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 FossilOrigin-Name: 5823e9533119f5327213053216028860a2758f3c
* * 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. FossilOrigin-Name: bba93619da24b912054d7ebe92d24a0e64bf7ef7
* Updated Tcl_PkgProvide() line in Registry_Init() to use "1.1" instead of "1.0"davygrvy2002-11-021-2/+2
| | | FossilOrigin-Name: ec3c0224eb05bf037deed966ff4889de3508381d
* * 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] FossilOrigin-Name: 78431e369f4a949a65f21d8dcb253c3180e2b0e1
* * 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. FossilOrigin-Name: f8f4e1af89c1a5cce167d8398bb9a72193e66583
* * win/tclWinReg.c (OpenSubKey): corrected bug introduced inhobbs2002-01-291-4/+4
| | | | | | CONSTification that dropped pointer reference. FossilOrigin-Name: ad0f1a3f397ba7cf078126491dc3dc09eb2d734f
* * [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. FossilOrigin-Name: 375ac8d641fa53159537f27eb1f836c043495c3b
* * Overlooked callers of Tcl_GetIndexFromObjdgp2002-01-181-5/+6
| | | FossilOrigin-Name: 305121f7f544a9e68150d99f0b7c7261d747108b
* * generic/tclPlatDecls.h: Define TCHAR by includingmdejong2001-07-191-5/+1
| | | | | | | | | | | | windows.h instead of tchar.h since Cygwin does not support the tchar.h header. Include CHECK_UNICODE_CALLS logic from tclWinPort.h. * win/tclWinPort.h: Remove CHECK_UNICODE_CALLS logic. Remove include of windows.h since this now done it tclPlatDecls.h. * win/tclWinReg.c: Remove duplicate include of windows.h. FossilOrigin-Name: 750a94af1da9e3de8c5a743d05420417ebcc8e71
* * win/tclWinDde.c:ericm2000-06-131-15/+15
| | | | | | | | | | * win/tclWinInit.c: * win/tclWinNotify.c: * win/tclWinPipe.c: * win/tclWinReg.c: * win/tclWinThrd.c: Applied patch from [Bug 5794]. FossilOrigin-Name: 84806aadbad7d0804ee022df990d7f3295efbcc0
* * generic/tclInt.decls:hobbs2000-03-311-7/+2
| | | | | | | | | | | | | | | | | * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: * win/tclWin32Dll.c: removed TclWinSynchSpawn (vestige of Win32s support). * win/tclWinReg.c: made use of TclWinGetPlatformId instead of getting info again * win/tclWinPort.h: * win/Makefile.in: * win/configure.in: * win/tcl.m4: Added support for gcc/mingw on Windows [Bug: 4234] FossilOrigin-Name: 36c0007d3febaff6e2e098f6a89f9c2a8db40ce2
* * {win,mac,unix,tools,}/README:hobbs1999-10-051-4/+20
| | | | | | | | | | | | | | * win/README.binary: * win/makefile.vc: * {win,unix}/configure.in: * generic/tcl.h: * library/init.tcl: updated to 8.3a1 from 8.2.0. * win/tclWinReg.c: fixed registry command to properly 'get' HKEY_PERFORMANCE_DATA root key data. Needs more work. * win/tclWinSerial.c: changed SerialSetOptionProc to return TCL_OK by default. (patch from Rolf Schroedter) FossilOrigin-Name: 090ccd067b83f5f786ab63aa94882bef4b419cea
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-101/+319
| | | FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
* Merged stubs changes into mainline for 8.0stanton1999-03-101-43/+4
| | | FossilOrigin-Name: 19696933517612024e7dbcfee6e3c8d3b4e41772
* * win/tclWinReg.c:stanton1999-02-021-2/+3
| | | | | | | * doc/registry.n: Added support for HKEY_PERFORMANCE_DATA and HKEY_DYN_DATA keys. [Bug: 1109] FossilOrigin-Name: 297a79c7b3d2d7e8de8c1ce82318aa6bd914f457
* Replaced SCCS strings, fixed binary filescore-8-0-3stanton1998-09-141-1/+1
| | | FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
* EXPORT is now TCL_STORAGE_CLASSescoffon1998-08-041-5/+6
| | | FossilOrigin-Name: ac9bdcd0b9d3e65bc57c7fa9f6c402b376886041
* set EXPORT to DLLEXPORT unconditionally, since the declaration ofescoffon1998-07-291-0/+8
| | | | | | Registry_Init is inside the source file. FossilOrigin-Name: bba8ed34e5af0a21d069d89453568b614b5e4bb4
* use "ifdef DLL_BUILD" instead of "ifndef STATIC_BUILD"escoffon1998-07-291-14/+8
| | | FossilOrigin-Name: 5749fb7dc0d4bd5cd054af148be38676904b86ff