You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(42) |
Nov
(368) |
Dec
(248) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(2) |
Feb
(207) |
Mar
(180) |
Apr
(9) |
May
(39) |
Jun
(9) |
Jul
(22) |
Aug
(56) |
Sep
(82) |
Oct
(113) |
Nov
(236) |
Dec
(219) |
2005 |
Jan
(119) |
Feb
(81) |
Mar
(53) |
Apr
(177) |
May
(2) |
Jun
(67) |
Jul
(17) |
Aug
(5) |
Sep
(53) |
Oct
(17) |
Nov
(122) |
Dec
(77) |
2006 |
Jan
(293) |
Feb
(16) |
Mar
(32) |
Apr
(14) |
May
(29) |
Jun
(6) |
Jul
|
Aug
|
Sep
(18) |
Oct
(28) |
Nov
|
Dec
(2) |
2007 |
Jan
(8) |
Feb
(19) |
Mar
(4) |
Apr
(7) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(37) |
Oct
(1) |
Nov
(8) |
Dec
(25) |
2008 |
Jan
(1) |
Feb
(13) |
Mar
(17) |
Apr
(3) |
May
(2) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(10) |
Nov
(19) |
Dec
(16) |
2009 |
Jan
(6) |
Feb
(9) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Jim K. <jk...@us...> - 2004-05-13 06:07:17
|
Update of /cvsroot/opengtoolkit/dynamicpalette/source/resource/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16721/tests Log Message: Directory /cvsroot/opengtoolkit/dynamicpalette/source/resource/tests added to the repository |
From: Jim K. <jk...@us...> - 2004-05-13 06:07:17
|
Update of /cvsroot/opengtoolkit/dynamicpalette/source/resource/typedefs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16721/typedefs Log Message: Directory /cvsroot/opengtoolkit/dynamicpalette/source/resource/typedefs added to the repository |
From: Jim K. <jk...@us...> - 2004-05-13 06:07:16
|
Update of /cvsroot/opengtoolkit/dynamicpalette/source/resource/support In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16721/support Log Message: Directory /cvsroot/opengtoolkit/dynamicpalette/source/resource/support added to the repository |
From: Jim K. <jk...@us...> - 2004-05-13 06:07:14
|
Update of /cvsroot/opengtoolkit/dynamicpalette/source/resource/static_api In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16721/static_api Log Message: Directory /cvsroot/opengtoolkit/dynamicpalette/source/resource/static_api added to the repository |
From: Jim K. <jk...@us...> - 2004-05-13 06:07:11
|
Update of /cvsroot/opengtoolkit/dynamicpalette/source/resource/development_tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16721/development_tools Log Message: Directory /cvsroot/opengtoolkit/dynamicpalette/source/resource/development_tools added to the repository |
From: Jim K. <jk...@us...> - 2004-05-13 06:07:11
|
Update of /cvsroot/opengtoolkit/dynamicpalette/source/resource/dynamic_api In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16721/dynamic_api Log Message: Directory /cvsroot/opengtoolkit/dynamicpalette/source/resource/dynamic_api added to the repository |
From: Jim K. <jk...@us...> - 2004-05-13 06:07:10
|
Update of /cvsroot/opengtoolkit/dynamicpalette/source/resource/script_VIs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16721/script_VIs Log Message: Directory /cvsroot/opengtoolkit/dynamicpalette/source/resource/script_VIs added to the repository |
From: Jim K. <jk...@us...> - 2004-05-13 06:07:10
|
Update of /cvsroot/opengtoolkit/dynamicpalette/source/resource/high-level In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16721/high-level Log Message: Directory /cvsroot/opengtoolkit/dynamicpalette/source/resource/high-level added to the repository |
From: Jim K. <jk...@us...> - 2004-05-13 06:06:48
|
Update of /cvsroot/opengtoolkit/dynamicpalette/source/resource In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16664/resource Log Message: Directory /cvsroot/opengtoolkit/dynamicpalette/source/resource added to the repository |
From: Jim K. <jk...@us...> - 2004-05-13 06:06:47
|
Update of /cvsroot/opengtoolkit/dynamicpalette/source/7.1-win In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16664/7.1-win Log Message: Directory /cvsroot/opengtoolkit/dynamicpalette/source/7.1-win added to the repository |
From: Jim K. <jk...@us...> - 2004-05-13 06:06:47
|
Update of /cvsroot/opengtoolkit/dynamicpalette/source/7.1 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16664/7.1 Log Message: Directory /cvsroot/opengtoolkit/dynamicpalette/source/7.1 added to the repository |
From: Jim K. <jk...@us...> - 2004-04-16 03:27:41
|
Update of /cvsroot/opengtoolkit/variantconfig In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23939 Modified Files: change-log.txt variantconfig.spec Log Message: 2.2 --> 2.3 Index: variantconfig.spec =================================================================== RCS file: /cvsroot/opengtoolkit/variantconfig/variantconfig.spec,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** variantconfig.spec 27 Nov 2003 04:11:49 -0000 1.10 --- variantconfig.spec 16 Apr 2004 03:27:33 -0000 1.11 *************** *** 3,7 **** Name=oglib_variantconfig ! Version=2.2 Release=1 --- 3,7 ---- Name=oglib_variantconfig ! Version=2.3 Release=1 Index: change-log.txt =================================================================== RCS file: /cvsroot/opengtoolkit/variantconfig/change-log.txt,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** change-log.txt 27 Nov 2003 04:11:48 -0000 1.3 --- change-log.txt 16 Apr 2004 03:27:33 -0000 1.4 *************** *** 1,3 **** ! -= oglib_variantconfig-2.2-1.ogp =- --- 1,9 ---- ! -= oglib_variantconfig-2.3-1.ogp =- ! ! ! Changes from 2.2-1 --> 2.3-1 ! -------------------------------- ! 2004-04-15 ! [FIX] The float format string was not being used in arrays |
From: Jim K. <jk...@us...> - 2004-04-16 01:43:52
|
Update of /cvsroot/opengtoolkit/variantconfig/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9215/source Modified Files: Write Key (Variant).vi Log Message: fixed bug that caused float format string to not be used in arrays elements. Index: Write Key (Variant).vi =================================================================== RCS file: /cvsroot/opengtoolkit/variantconfig/source/Write Key (Variant).vi,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsrPJzJy and /tmp/cvsyXBccu differ |
From: Rolf K. <lab...@us...> - 2004-04-09 23:09:29
|
Update of /cvsroot/opengtoolkit/pipe/c_source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5276/c_source Modified Files: pipes.c pipes.dsp Added Files: pipes.rc Log Message: Made the named pipe operations work and added a very simplistic test VI, which does not yet conform to OpenG test standards --- NEW FILE: pipes.rc --- #include <windows.h> #define IDR_VERSION1 1 IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE FILEVERSION 0,9,0,0 PRODUCTVERSION 0,9,0,0 FILEFLAGSMASK VS_FFI_FILEFLAGSMASK FILEFLAGS 0 FILEOS VOS_DOS_WINDOWS32 FILETYPE VFT_DLL FILESUBTYPE 0 // not used BEGIN BLOCK "StringFileInfo" BEGIN BLOCK "040904E4" //language ID = U.S. English, char set = Windows, Multilingual BEGIN VALUE "FileDescription", "OpenG Windows Pipe support library\0" VALUE "FileVersion", "0.9.0.0\0" VALUE "InternalName", "ogpipes\0" VALUE "OriginalFilename", "ogpipes.dll\0" VALUE "ProductName", "ogpipes.dll\0" VALUE "Comments","LabVIEW support library to implement pipe operations on Windows\0" VALUE "LegalCopyright", "(C) 2004 Rolf Kalbermatter\0" END END BLOCK "VarFileInfo" BEGIN VALUE "Translation", 0x0409, 1252 END END Index: pipes.dsp =================================================================== RCS file: /cvsroot/opengtoolkit/pipe/c_source/pipes.dsp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** pipes.dsp 11 Mar 2004 23:44:05 -0000 1.2 --- pipes.dsp 9 Apr 2004 22:56:05 -0000 1.3 *************** *** 104,107 **** --- 104,111 ---- # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" + # Begin Source File + + SOURCE=.\pipes.rc + # End Source File # End Group # End Target Index: pipes.c =================================================================== RCS file: /cvsroot/opengtoolkit/pipe/c_source/pipes.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** pipes.c 1 Apr 2004 09:48:40 -0000 1.6 --- pipes.c 9 Apr 2004 22:55:51 -0000 1.7 *************** *** 70,91 **** return mgArgErr; ! if (WaitNamedPipe(name, 2000)) { switch (mode) { case kReadMode: ! dwMode = FILE_READ_DATA; break; case kWriteMode: ! dwMode = FILE_WRITE_DATA; break; case kReadWriteMode: ! dwMode = FILE_READ_DATA | FILE_WRITE_DATA; break; } /* There is a server to connect to, so connect as client */ ! handle = CreateFile(name, dwMode, 0, NULL, OPEN_EXISTING, ! 0 /* SECURITY_SQOS_PRESENT | SECURITY_IDENTIFICATION */, NULL); } else --- 70,90 ---- return mgArgErr; ! if (WaitNamedPipe(name, 1000)) { switch (mode) { case kReadMode: ! dwMode = GENERIC_READ; break; case kWriteMode: ! dwMode = GENERIC_WRITE; break; case kReadWriteMode: ! dwMode = GENERIC_READ | GENERIC_WRITE; break; } /* There is a server to connect to, so connect as client */ ! handle = CreateFile(name, dwMode, 0, NULL, OPEN_EXISTING, 0 , NULL); } else *************** *** 105,109 **** /* There is no server to connect to, so create our own server */ ! handle = CreateNamedPipe(name, dwMode, PIPE_TYPE_BYTE | PIPE_READMODE_BYTE, PIPE_UNLIMITED_INSTANCES, 1024, 1024, NMPWAIT_USE_DEFAULT_WAIT, NULL); } --- 104,108 ---- /* There is no server to connect to, so create our own server */ ! handle = CreateNamedPipe(name, dwMode, PIPE_TYPE_BYTE | PIPE_READMODE_BYTE | PIPE_NOWAIT, PIPE_UNLIMITED_INSTANCES, 1024, 1024, NMPWAIT_USE_DEFAULT_WAIT, NULL); } *************** *** 307,311 **** { MgErr err = noErr; ! uInt32 bytes = *bytesRead; #if defined(MSWin) DWORD ret; --- 306,310 ---- { MgErr err = noErr; ! uInt32 bytesReq = *bytesRead; #if defined(MSWin) DWORD ret; *************** *** 319,323 **** *eof = FALSE; ! err = NumericArrayResize(uB, 1, (UHandle*)&data, bytes); if (err) return err; --- 318,322 ---- *eof = FALSE; ! err = NumericArrayResize(uB, 1, (UHandle*)&data, bytesReq); if (err) return err; *************** *** 327,343 **** characters as it sees to be in the array into the new handle if any. */ ! LStrLen(*data) = bytes; #if defined(MSWin) ! if (!ReadFile((HANDLE)fd, LStrBuf(*data), bytes, bytesRead, NULL)) { ret = GetLastError(); ! *eof = (ret == ERROR_HANDLE_EOF); if (!*eof) err = Win32ToLVErr(ret); } #elif defined(Unix) ! ret = read((pipe_t)fd, LStrBuf(*data), bytes) if (ret < 0) { --- 326,361 ---- characters as it sees to be in the array into the new handle if any. */ ! LStrLen(*data) = bytesReq; #if defined(MSWin) ! if (!PeekNamedPipe((HANDLE)fd, NULL, 0, NULL, bytesRead, NULL)) { ret = GetLastError(); ! *eof = (ret == ERROR_HANDLE_EOF || ret == ERROR_BROKEN_PIPE); if (!*eof) err = Win32ToLVErr(ret); + *bytesRead = 0; + } + if (bytesReq < *bytesRead) + *bytesRead = bytesReq; + + if (*bytesRead) + { + if (!ReadFile((HANDLE)fd, LStrBuf(*data), *bytesRead, bytesRead, NULL)) + { + ret = GetLastError(); + *eof = (ret == ERROR_HANDLE_EOF || ret == ERROR_BROKEN_PIPE); + if (!*eof) + err = Win32ToLVErr(ret); + } + else + { + if (*bytesRead) + *eof = *bytesRead == 0; + } } #elif defined(Unix) ! ret = read((pipe_t)fd, LStrBuf(*data), *bytesRead) if (ret < 0) { *************** *** 356,362 **** ! if (!err && (bytes != *bytesRead)) { ! err = NumericArrayResize(uB, 1, &(UHandle)data, *bytesRead); LStrLen(*data) = *bytesRead; } --- 374,383 ---- ! if (bytesReq != *bytesRead) { ! if (err) ! NumericArrayResize(uB, 1, &(UHandle)data, *bytesRead); ! else ! err = NumericArrayResize(uB, 1, &(UHandle)data, *bytesRead); LStrLen(*data) = *bytesRead; } *************** *** 371,374 **** --- 392,402 ---- return mgArgErr; + /* NULL terminate the LabVIEW string so that the API functions can use + them a C strings */ + err = NumericArrayResize(uB, 1, (UHandle*)&data, LStrLen(*data) + 1); + if (err) + return err; + LStrBuf(*data)[LStrLen(*data)]; + #if defined(MSWin) if (!WriteFile((HANDLE)fd, LStrBuf(*data), LStrLen(*data), bytesWritten, NULL) ) |
From: Rolf K. <lab...@us...> - 2004-04-09 23:09:28
|
Update of /cvsroot/opengtoolkit/pipe/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5276/tests Added Files: Simple Pipe Test.vi Log Message: Made the named pipe operations work and added a very simplistic test VI, which does not yet conform to OpenG test standards --- NEW FILE: Simple Pipe Test.vi --- (This appears to be a binary file; contents omitted.) |
From: Rolf K. <lab...@us...> - 2004-04-09 23:07:36
|
Update of /cvsroot/opengtoolkit/pipe/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4969/tests Log Message: Directory /cvsroot/opengtoolkit/pipe/tests added to the repository |
From: Rolf K. <lab...@us...> - 2004-04-09 23:04:07
|
Update of /cvsroot/opengtoolkit/pipe/source/ogpipe.llb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4198/source/ogpipe.llb Modified Files: OGPIPE - VI TREE.vi OGPIPE Close Pipe.vi OGPIPE Open Pipe.vi OGPIPE Read From Pipe.vi OGPIPE Write To Pipe.vi Log Message: Made the named pipe operations work! Index: OGPIPE Open Pipe.vi =================================================================== RCS file: /cvsroot/opengtoolkit/pipe/source/ogpipe.llb/OGPIPE Open Pipe.vi,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsZirF8N and /tmp/cvs08T2lb differ Index: OGPIPE - VI TREE.vi =================================================================== RCS file: /cvsroot/opengtoolkit/pipe/source/ogpipe.llb/OGPIPE - VI TREE.vi,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs21RNUf and /tmp/cvsMkOopD differ Index: OGPIPE Read From Pipe.vi =================================================================== RCS file: /cvsroot/opengtoolkit/pipe/source/ogpipe.llb/OGPIPE Read From Pipe.vi,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsK1g0eU and /tmp/cvss02Sgi differ Index: OGPIPE Write To Pipe.vi =================================================================== RCS file: /cvsroot/opengtoolkit/pipe/source/ogpipe.llb/OGPIPE Write To Pipe.vi,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs4i7CLg and /tmp/cvsneoE0E differ Index: OGPIPE Close Pipe.vi =================================================================== RCS file: /cvsroot/opengtoolkit/pipe/source/ogpipe.llb/OGPIPE Close Pipe.vi,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs8qpxAj and /tmp/cvsL2GdTH differ |
From: Rolf K. <lab...@us...> - 2004-04-09 23:04:07
|
Update of /cvsroot/opengtoolkit/pipe/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4198/source Modified Files: pipes.dll Log Message: Made the named pipe operations work! Index: pipes.dll =================================================================== RCS file: /cvsroot/opengtoolkit/pipe/source/pipes.dll,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvsgyMtgX and /tmp/cvsTWNiml differ |
From: Rolf K. <lab...@us...> - 2004-04-01 10:00:43
|
Update of /cvsroot/opengtoolkit/pipe/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2168/source Modified Files: pipes.dll Log Message: First draft of PipeOpenCmd() function Index: pipes.dll =================================================================== RCS file: /cvsroot/opengtoolkit/pipe/source/pipes.dll,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsyXfg3d and /tmp/cvs2KVH49 differ |
From: Rolf K. <lab...@us...> - 2004-04-01 10:00:42
|
Update of /cvsroot/opengtoolkit/pipe/c_source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2168/c_source Modified Files: pipes.c Log Message: First draft of PipeOpenCmd() function Index: pipes.c =================================================================== RCS file: /cvsroot/opengtoolkit/pipe/c_source/pipes.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** pipes.c 15 Mar 2004 08:04:46 -0000 1.5 --- pipes.c 1 Apr 2004 09:48:40 -0000 1.6 *************** *** 44,48 **** MgErr LibAPI PipeOpen(CStr name, uInt8 mode, uInt32 *fd); MgErr LibAPI PipeOpenCmd(CStr name, uInt8 mode, uInt32 *fdIn, uInt32 *fdOut, ! uInt32 *fdErr, uInt32 processID); MgErr LibAPI PipeClose(uInt32 fd); MgErr LibAPI PipeRead(uInt32 fd, uInt32 *bytesRead, LStrHandle data, uInt32 *eof); --- 44,48 ---- MgErr LibAPI PipeOpen(CStr name, uInt8 mode, uInt32 *fd); MgErr LibAPI PipeOpenCmd(CStr name, uInt8 mode, uInt32 *fdIn, uInt32 *fdOut, ! uInt32 *fdErr, uInt32 *processID); MgErr LibAPI PipeClose(uInt32 fd); MgErr LibAPI PipeRead(uInt32 fd, uInt32 *bytesRead, LStrHandle data, uInt32 *eof); *************** *** 50,53 **** --- 50,54 ---- #if defined(MSWin) + static MgErr CreateChildProcess(LPSTR cmdline, HANDLE *pid); static MgErr Win32ToLVErr(DWORD error); #elif defined (Unix) *************** *** 150,161 **** } ! MgErr LibAPI PipeOpenCmd(CStr name, uInt8 mode, uInt32 *fdIn, uInt32 *fdOut, uInt32 *fdErr, uInt32 processID) { MgErr err = noErr; #if defined(MSWin) ! SECURITY_ATTRIBUTES lsa = { 0 }; ! STARTUPINFO si = { 0 }; ! PROCESS_INFORMATION pi = { 0 }; #elif defined(Unix) --- 151,279 ---- } ! MgErr LibAPI PipeOpenCmd(CStr cmd, uInt8 mode, uInt32 *fdIn, uInt32 *fdOut, uInt32 *fdErr, uInt32 *processID) { MgErr err = noErr; #if defined(MSWin) ! SECURITY_ATTRIBUTES saAttr = { 0 }; ! HANDLE hSaveStdout = 0L, hChildStdoutRd = 0L, hChildStdoutWr = 0L; ! HANDLE hSaveStdin = 0L, hChildStdinRd = 0L, hChildStdinWr = 0L; ! HANDLE hSaveStderr = 0L, hChildStderrRd = 0L, hChildStderrWr = 0L; ! BOOL bError = *fdErr != FALSE; ! ! if (mode > kReadWriteMode) ! return mgArgErr; ! ! saAttr.nLength = sizeof(SECURITY_ATTRIBUTES); ! saAttr.lpSecurityDescriptor = NULL; ! saAttr.bInheritHandle = TRUE; ! ! if (mode == kWriteMode || mode == kReadWriteMode) ! { ! /* Save the handle to the current STDOUT. */ ! hSaveStdout = GetStdHandle(STD_OUTPUT_HANDLE); ! ! /* Create a pipe for the child process's STDOUT. */ ! if (!CreatePipe(&hChildStdoutRd, &hChildStdoutWr, &saAttr, 0)) ! goto error; ! ! /* Set a write handle to the pipe to be STDOUT. */ ! if (!SetStdHandle(STD_OUTPUT_HANDLE, hChildStdoutWr)) ! goto error; ! ! /* Create noninheritable read handle and close the inheritable read handle. */ ! if (!DuplicateHandle(GetCurrentProcess(), hChildStdoutRd, ! GetCurrentProcess(), (HANDLE*)fdOut , 0, ! FALSE, ! DUPLICATE_SAME_ACCESS)) ! goto error; ! CloseHandle(hChildStdoutRd); ! hChildStdoutRd = 0; ! } ! ! if (mode == kReadMode || mode == kReadWriteMode) ! { ! /* Save the handle to the current STDIN. */ ! hSaveStdin = GetStdHandle(STD_INPUT_HANDLE); ! ! /* Create a pipe for the child process's STDIN. */ ! if (!CreatePipe(&hChildStdinRd, &hChildStdinWr, &saAttr, 0)) ! goto error; ! ! /* Set a read handle to the pipe to be STDIN. */ ! if (!SetStdHandle(STD_INPUT_HANDLE, hChildStdinRd)) ! goto error; ! ! /* Duplicate the write handle to the pipe so it is not inherited. */ ! if (!DuplicateHandle(GetCurrentProcess(), hChildStdinWr, ! GetCurrentProcess(), (HANDLE*)fdIn, 0, ! FALSE, ! DUPLICATE_SAME_ACCESS)) ! goto error; ! CloseHandle(hChildStdinWr); ! hChildStdinRd = 0; ! } ! ! if (bError) ! { ! /* Save the handle to the current STDERR. */ ! hSaveStderr = GetStdHandle(STD_ERROR_HANDLE); ! ! /* Create a pipe for the child process's STDERR. */ ! if (!CreatePipe(&hChildStderrRd, &hChildStderrWr, &saAttr, 0)) ! goto error; ! ! /* Set a read handle to the pipe to be STDERR. */ ! if (!SetStdHandle(STD_ERROR_HANDLE, hChildStderrRd)) ! goto error; ! ! /* Duplicate the write handle to the pipe so it is not inherited. */ ! if (!DuplicateHandle(GetCurrentProcess(), hChildStderrWr, ! GetCurrentProcess(), (HANDLE*)fdErr, 0, ! FALSE, ! DUPLICATE_SAME_ACCESS)) ! goto error; ! CloseHandle(hChildStderrWr); ! hChildStderrRd = 0; ! } ! ! /* Now create the child process. */ ! err = CreateChildProcess(cmd, (HANDLE*)processID); ! if (err) ! goto error; ! ! /* After process creation, restore the saved STDIN and STDOUT. */ ! if (mode == kReadMode || mode == kReadWriteMode) ! if (!SetStdHandle(STD_INPUT_HANDLE, hSaveStdin)) ! goto error; ! ! if (mode == kWriteMode || mode == kReadWriteMode) ! if (!SetStdHandle(STD_OUTPUT_HANDLE, hSaveStdout)) ! goto error; ! ! if (mode == kWriteMode || mode == kReadWriteMode) ! if (!SetStdHandle(STD_OUTPUT_HANDLE, hSaveStdout)) ! goto error; + return noErr; + error: + if (hSaveStdout) + CloseHandle(hSaveStdout); + if (hChildStdoutRd) + CloseHandle(hChildStdoutRd); + if (hChildStdoutWr) + CloseHandle(hChildStdoutWr); + if (hSaveStdin) + CloseHandle(hSaveStdin); + if (hChildStdinRd) + CloseHandle(hChildStdinRd); + if (hChildStdinWr) + CloseHandle(hChildStdinWr); + if (hSaveStderr) + CloseHandle(hSaveStderr); + if (hChildStderrRd) + CloseHandle(hChildStderrRd); + if (hChildStderrWr) + CloseHandle(hChildStderrWr); + return dvOpenErr; #elif defined(Unix) *************** *** 272,275 **** --- 390,433 ---- #if defined(MSWin) + static MgErr CreateChildProcess(LPSTR cmdline, HANDLE *pid) + { + PROCESS_INFORMATION piProcInfo; + STARTUPINFO siStartInfo; + BOOL bFuncRetn = FALSE; + + /* Set up members of the PROCESS_INFORMATION structure. */ + ZeroMemory( &piProcInfo, sizeof(PROCESS_INFORMATION) ); + + /* Set up members of the STARTUPINFO structure. */ + ZeroMemory( &siStartInfo, sizeof(STARTUPINFO) ); + siStartInfo.cb = sizeof(STARTUPINFO); + + /* Create the child process. */ + bFuncRetn = CreateProcess(NULL, + cmdline, // command line + NULL, // process security attributes + NULL, // primary thread security attributes + TRUE, // handles are inherited + 0, // creation flags + NULL, // use parent's environment + NULL, // use parent's current directory + &siStartInfo, // STARTUPINFO pointer + &piProcInfo); // receives PROCESS_INFORMATION + + if (bFuncRetn == 0) + { + return mFullErr; + } + else + { + if (pid) + *pid = piProcInfo.hProcess; + else + CloseHandle(piProcInfo.hProcess); + CloseHandle(piProcInfo.hThread); + return noErr; + } + } + struct errentry { DWORD oscode; /* OS return value */ |
From: Jim K. <jk...@us...> - 2004-03-28 03:48:47
|
Update of /cvsroot/opengtoolkit/array/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14082/source Modified Files: Conditional Auto-Indexing Tunnel.vi Added Files: Conditional Auto-Indexing Tunnel (I16).vi Conditional Auto-Indexing Tunnel (I8).vi Conditional Auto-Indexing Tunnel (SGL).vi Conditional Auto-Indexing Tunnel (U16).vi Conditional Auto-Indexing Tunnel (U32).vi Conditional Auto-Indexing Tunnel (U8).vi Log Message: added new polyVI members Index: Conditional Auto-Indexing Tunnel.vi =================================================================== RCS file: /cvsroot/opengtoolkit/array/source/Conditional Auto-Indexing Tunnel.vi,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvsvLT5US and /tmp/cvsh3Rn4e differ --- NEW FILE: Conditional Auto-Indexing Tunnel (U16).vi --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Conditional Auto-Indexing Tunnel (U8).vi --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Conditional Auto-Indexing Tunnel (I16).vi --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Conditional Auto-Indexing Tunnel (I8).vi --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Conditional Auto-Indexing Tunnel (SGL).vi --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Conditional Auto-Indexing Tunnel (U32).vi --- (This appears to be a binary file; contents omitted.) |
From: Jim K. <jk...@us...> - 2004-03-28 03:45:01
|
Update of /cvsroot/opengtoolkit/array/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13590/source Modified Files: Filter 1D Array (I16).vi Filter 1D Array (I32).vi Filter 1D Array (I8).vi Filter 1D Array (Path).vi Filter 1D Array (String).vi Filter 1D Array (U16).vi Filter 1D Array (U32).vi Filter 1D Array (U8).vi Filter 1D Array (Variant).vi Filter 1D Array.vi Log Message: Optimized by calling Conditional Auto-indexing Tunnel. Index: Filter 1D Array (String).vi =================================================================== RCS file: /cvsroot/opengtoolkit/array/source/Filter 1D Array (String).vi,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvs0ol5wr and /tmp/cvsasJyO1 differ Index: Filter 1D Array (I16).vi =================================================================== RCS file: /cvsroot/opengtoolkit/array/source/Filter 1D Array (I16).vi,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvs7jeP5t and /tmp/cvs4IAYo4 differ Index: Filter 1D Array (U32).vi =================================================================== RCS file: /cvsroot/opengtoolkit/array/source/Filter 1D Array (U32).vi,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvsIvXr3y and /tmp/cvsVdWro9 differ Index: Filter 1D Array (Path).vi =================================================================== RCS file: /cvsroot/opengtoolkit/array/source/Filter 1D Array (Path).vi,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvsCx41vB and /tmp/cvsZ7NvSb differ Index: Filter 1D Array (I32).vi =================================================================== RCS file: /cvsroot/opengtoolkit/array/source/Filter 1D Array (I32).vi,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvsdQ0dHD and /tmp/cvshzy74d differ Index: Filter 1D Array (U8).vi =================================================================== RCS file: /cvsroot/opengtoolkit/array/source/Filter 1D Array (U8).vi,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvsl4Aw1F and /tmp/cvsT9XVqg differ Index: Filter 1D Array (I8).vi =================================================================== RCS file: /cvsroot/opengtoolkit/array/source/Filter 1D Array (I8).vi,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvsI8EazI and /tmp/cvsUPBf0i differ Index: Filter 1D Array (U16).vi =================================================================== RCS file: /cvsroot/opengtoolkit/array/source/Filter 1D Array (U16).vi,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvsusNHjL and /tmp/cvsCtGCMl differ Index: Filter 1D Array.vi =================================================================== RCS file: /cvsroot/opengtoolkit/array/source/Filter 1D Array.vi,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvswzCP7L and /tmp/cvsCHQKCm differ Index: Filter 1D Array (Variant).vi =================================================================== RCS file: /cvsroot/opengtoolkit/array/source/Filter 1D Array (Variant).vi,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 Binary files /tmp/cvszTc7BO and /tmp/cvs2EsF8o differ |
From: Jim K. <jk...@us...> - 2004-03-20 20:46:26
|
Update of /cvsroot/opengtoolkit/appcontrol/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24904/source Modified Files: Fit VI window to Content.vi Log Message: update docs Index: Fit VI window to Content.vi =================================================================== RCS file: /cvsroot/opengtoolkit/appcontrol/source/Fit VI window to Content.vi,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsIljG2u and /tmp/cvsjFf7yD differ |
From: Jim K. <jk...@us...> - 2004-03-20 20:36:34
|
Update of /cvsroot/opengtoolkit/appcontrol In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23247 Modified Files: appcontrol.spec build appcontrol.vi change-log.txt Log Message: 2.3 --> 2.4 Index: build appcontrol.vi =================================================================== RCS file: /cvsroot/opengtoolkit/appcontrol/build appcontrol.vi,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvssFdHxO and /tmp/cvsqmrk5E differ Index: appcontrol.spec =================================================================== RCS file: /cvsroot/opengtoolkit/appcontrol/appcontrol.spec,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** appcontrol.spec 12 Mar 2004 23:25:55 -0000 1.5 --- appcontrol.spec 20 Mar 2004 20:26:31 -0000 1.6 *************** *** 3,7 **** Name=oglib_appcontrol ! Version=2.3 Release=1 --- 3,7 ---- Name=oglib_appcontrol ! Version=2.4 Release=1 *************** *** 58,62 **** Replace Mode=Never ! Num Files=32 File 0=dir.mnu --- 58,62 ---- Replace Mode=Never ! Num Files=38 File 0=dir.mnu *************** *** 71,95 **** File 9=appcontrol.llb/Current VIs Reference__ogtk.vi File 10=appcontrol.llb/Dist Build App from LLB (proxy)__ogtk.vi ! File 11=appcontrol.llb/Fit VI window to Largest Dec__ogtk.vi ! File 12=appcontrol.llb/Get All Control Values {Variant}__ogtk.vi ! File 13=appcontrol.llb/Get ClassID Name__ogtk.vi ! File 14=appcontrol.llb/Get Control Value {Variant}__ogtk.vi ! File 15=appcontrol.llb/Get Frontmost VI__ogtk.vi ! File 16=appcontrol.llb/Get Text Label Decs from VI__ogtk.vi ! File 17=appcontrol.llb/is OpenG__ogtk.vi ! File 18=appcontrol.llb/Is VI-LIB__ogtk.vi ! File 19=appcontrol.llb/List Open Front Panels__ogtk.vi ! File 20=appcontrol.llb/List VI Hierarchy__ogtk.vi ! File 21=appcontrol.llb/Mangle VI Name (Path)__ogtk.vi ! File 22=appcontrol.llb/Mangle VI Name (String)__ogtk.vi ! File 23=appcontrol.llb/Mangle VI Name__ogtk.vi ! File 24=appcontrol.llb/Metrics-Advanced__ogtk.vi ! File 25=appcontrol.llb/Open Untitled VI__ogtk.vi ! File 26=appcontrol.llb/Open VI Clone Reference__ogtk.vi ! File 27=appcontrol.llb/Save VI ConPane Image__ogtk.vi ! File 28=appcontrol.llb/Set Control Value {Variant}__ogtk.vi ! File 29=appcontrol.llb/UnMangle VI Name__ogtk.vi ! File 30=appcontrol.llb/Untitled.vit ! File 31=appcontrol.llb/Wait on VIs Unloaded from Memory__ogtk.vi --- 71,101 ---- File 9=appcontrol.llb/Current VIs Reference__ogtk.vi File 10=appcontrol.llb/Dist Build App from LLB (proxy)__ogtk.vi ! File 11=appcontrol.llb/Find Focus State__ogtk.ctl ! File 12=appcontrol.llb/Find VI with Focus__ogtk.vi ! File 13=appcontrol.llb/Fit VI window to Content__ogtk.vi ! File 14=appcontrol.llb/Fit VI window to Largest Dec__ogtk.vi ! File 15=appcontrol.llb/Get All Control Values {Variant}__ogtk.vi ! File 16=appcontrol.llb/Get ClassID Name__ogtk.vi ! File 17=appcontrol.llb/Get Control Value {Variant}__ogtk.vi ! File 18=appcontrol.llb/Get Frontmost VI__ogtk.vi ! File 19=appcontrol.llb/Get Text Label Decs from VI__ogtk.vi ! File 20=appcontrol.llb/Is One Frontmost__ogtk.vi ! File 21=appcontrol.llb/is OpenG__ogtk.vi ! File 22=appcontrol.llb/Is VI-LIB__ogtk.vi ! File 23=appcontrol.llb/List Open Front Panels__ogtk.vi ! File 24=appcontrol.llb/List VI Hierarchy__ogtk.vi ! File 25=appcontrol.llb/Mangle VI Name (Path)__ogtk.vi ! File 26=appcontrol.llb/Mangle VI Name (String)__ogtk.vi ! File 27=appcontrol.llb/Mangle VI Name__ogtk.vi ! File 28=appcontrol.llb/Metrics-Advanced__ogtk.vi ! File 29=appcontrol.llb/Open Untitled VI__ogtk.vi ! File 30=appcontrol.llb/Open VI Clone Reference__ogtk.vi ! File 31=appcontrol.llb/Save VI ConPane Image__ogtk.vi ! File 32=appcontrol.llb/Set Control Value {Variant}__ogtk.vi ! File 33=appcontrol.llb/UnMangle VI Name (Path)__ogtk.vi ! File 34=appcontrol.llb/UnMangle VI Name (String)__ogtk.vi ! File 35=appcontrol.llb/UnMangle VI Name__ogtk.vi ! File 36=appcontrol.llb/Untitled.vit ! File 37=appcontrol.llb/Wait on VIs Unloaded from Memory__ogtk.vi Index: change-log.txt =================================================================== RCS file: /cvsroot/opengtoolkit/appcontrol/change-log.txt,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** change-log.txt 12 Mar 2004 23:25:55 -0000 1.4 --- change-log.txt 20 Mar 2004 20:26:31 -0000 1.5 *************** *** 1,3 **** ! -= oglib_appcontrol-2.3-1.ogp =- --- 1,15 ---- ! -= oglib_appcontrol-2.4-1.ogp =- ! ! ! Changes from 2.3-2 --> 2.4-1 ! -------------------------------- ! 2004-03-19 ! [MOD] "UnMangle VI Name.vi" is now a polyVI to handle strings or paths ! [NEW] "Find VI with Focus.vi" added to package ! [NEW] "Fit VI window to Content.vi" Fits a VI's front panel window ! to its FP Contents. ! [MOD] "Fit VI window to Largest Decoration.vi" - 'border spacing' input ! changed to a signed integer to allow a negative border size. ! [MOD] 'Get Frontmost VI.vi' now implemented with 'Find VI with Focus.vi' |
From: Jim K. <jk...@us...> - 2004-03-20 20:36:34
|
Update of /cvsroot/opengtoolkit/appcontrol/Dynamic Palette MNUs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23247/Dynamic Palette MNUs Modified Files: oglib_appcontrol.mnu Log Message: 2.3 --> 2.4 Index: oglib_appcontrol.mnu =================================================================== RCS file: /cvsroot/opengtoolkit/appcontrol/Dynamic Palette MNUs/oglib_appcontrol.mnu,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs7ftn5D and /tmp/cvs5HDvuu differ |