Displaying 20 results from an estimated 10000 matches similar to: "win32-popen3 just about ready"
2005 Jan 25
3
Change Journals
Hi,
I''ve released win32-changenotify 0.3.0 today. Take a look.
Park and I have discussed a Ruby interface to change journals a little bit:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/creating_modifying_and_deleting_a_change_journal.asp
Park, would you like to do this, or did you want me to? I wasn''t sure from
your RubyForge post.
Also, do
2005 Feb 07
7
win32-driveinfo in CVS
Hi all,
I committed win32-driveinfo 0.1.0 to CVS.
What is it?
===========
A class for getting information of drives
Synopsis
========
include Win32::DriveInfo
(sectorsPerCluster,
bytesPerSector,
numberOfFreeClusters,
totalNumberOfClusters,
freeBytesAvailableToCaller,
totalNumberOfBytes,
totalNumberOfFreeBytes) = getDriveSpace(''c'').to_a
2005 Apr 21
9
Screen capture, save to file
Is there anything in the utils to capture a screen ( or maybe just a
window) and save to a file.
I have this, but I have no idea where it came from, but it gives a
corrupted image
Paul
# -*- ruby -*-
# screen capture --
# This script runs with a Ruby/DL which is included in ruby-1.7.
require ''dl/import''
module ScreenCapture
extend DL::Importable
dlload
2004 Oct 13
4
win32-eventlog problem
Hi all,
I''ve logged a new bug for win32-eventlog based on Joey Gibson''s ruby talk
post (116528). Park, I''ve assigned it to you for now, figuring that you''re
probably the one who best knows how to fix it.
All help welcome.
Dan
2005 Feb 14
8
DONT_RESOLVE_DLL_REFERENCES info
For future reference, it looks like we should avoid
DONT_RESOLVE_DLL_REFERENCES in any extensions.
http://weblogs.asp.net/oldnewthing/archive/2005/02/14/372266.aspx
Regards,
Dan
2008 Jan 16
2
Problem with win32-open3 and net-ping
Hi all,
I''m seeing strange behavior with net-ping on Windows, which uses
win32-open3 (Open3.popen3) behind the scenes.
Download (or checkout) net-ping and run this:
ruby -Ilib test\tc_pingexternal.rb
It looks like the test suite is running twice. What''s happening?
Thanks,
Dan
This communication is the property of Qwest and may contain confidential or
privileged
2006 Feb 02
5
Fwd: win32-clipboard and Unicode zero bytes
Hi all,
I''m forwarding this message from Brian Marick. If you
run this test script and then paste the results into a
Unicode aware text editor, you''ll notice that it only
prints one character instead of three.
I tried changing the strlen to _tcslen and strcpy to
_tcscpy, but that didn''t help. I mucked around a bit
with the MultiByteToWideChar function, too, but
2006 Feb 08
2
[ win32utils-Feature Requests-3502 ] Allow win32-open3 to take a block
Feature Requests item #3502, was opened at 2006-02-08 10:29
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=414&aid=3502&group_id=85
Category: win32-open3
Group: Code
Status: Open
Resolution: None
Priority: 4
Submitted By: Daniel Berger (djberg96)
Assigned to: Park Heesob (phasis68)
Summary: Allow win32-open3 to take a block
Initial Comment:
I think we
2004 Oct 04
2
open3 for windows
Hi all,
The topic of creating a unified API for open3 for Windows came up at
RubyConf 2004 this year.
Park, I was wondering if you would mind if we modified win32_popen so that
the API matches the open3 library that ships with Ruby.
This also means deciding whether or not to leave in the open2, open4, and
posix stuff. I guess it doesn''t hurt to leave this in, although Open3.open4
2005 Aug 11
4
win32-process + ruby-breakpoint = strangebehavior
> -----Original Message-----
> From: win32utils-devel-bounces@rubyforge.org
> [mailto:win32utils-devel-bounces@rubyforge.org] On Behalf Of
> Bill Atkins
> Sent: Thursday, August 11, 2005 8:39 AM
> To: win32utils-devel@rubyforge.org
> Subject: [Win32utils-devel] win32-process + ruby-breakpoint =
> strangebehavior
>
>
> I''m getting really strange
2007 Aug 25
2
Speeding up win32-eventlog
Hi all,
I released win32-eventlog 0.4.5 today. It''s still a bit on the slow
side. The profiler (and general testing) indicates that it''s line 696
that''s the major culprit:
va_list = str.split(0.chr)[0...num]
Other than changing 0.chr to a literal "\0", does anyone have a way to
speed this up?
It''s not crucial, but I thought it might make a nice
2006 Jun 21
4
Yet another data structure + pack/unpack question (win32-service)
Hi all,
If you take a look at the service.rb file in the win32-service
repository (the new one in the toplevel repository path), I''ve got this
bit of code, which succeeds, but I can''t seem to unpack the data
structure properly. Did I pack it wrong to begin with? I should know
this but I''m spacing out.
proc_status =
2005 Feb 28
3
test/unit error report for win32-service
Dan,
I am assuming that the version in CVS is the most current one.
Report follows.
-- shanko
------------------------------------------------------
C:\win32utils\win32-service\test>ruby tc_service.rb
This test will stop and start your Clipboard service, as well as
pause and
resume your Schedule service. This is harmless unless you are actually
using these services at the moment you
2008 Apr 25
4
win32-mmap test failures
Hi all,
This is odd. It looks to me like we have all 4 variations of memcpy set
in Windows::MSVCRT::Buffer but somehow this one creeps up. I actually
noticed it in a few cases with that earlier mmap sub/replace example,
but I wasn''t sure what was happening.
Note that windows-api 0.2.3 and windows-pr-0.8.3 are the latest versions
in CVS, but this happens with windows-api-0.2.2 and
2008 May 30
1
[ win32utils-Bugs-20455 ] win32-open3: crashes after 170 popen3 operations
Bugs item #20455, was opened at 2008-05-30 16:54
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=20455&group_id=85
Category: None
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: win32-open3: crashes after 170 popen3 operations
Initial Comment:
OS: XP w/SP2
C:\Documents and
2004 Apr 29
3
win32-ipc bug?
Either I''ve been up too late, or the timeout value passed to Ipc.new isn''t
actually saved anywhere. Am I wrong?
Anyway, I''ve added docs and a test suite for win32-ipc. Feel free to take a
look and make sure there aren''t any glaring errors. Thanks.
Dan
PS - I''m hoping to release win32-event 0.2.0 and win32-ipc 0.1.0 this
weekend unless there are
2006 Jun 19
2
win32-service cvs - potential issue with Service.services
Hi all,
I''m preparing win32-service for an 0.5.1 release. I''ve made a couple
minor changes and altered the test suite a bit. It passes on my box
here, except that about half the time I get this error:
1) Error:
test_services(TC_Win32Service):
Win32::ServiceError: OpenService() call failed: The handle is invalid.
test/tc_service.rb:227:in `services''
2007 Sep 21
3
win32-file-stat bug
Heya all,
Anyone have any ideas on this one?
http://rubyforge.org/tracker/index.php?func=detail&aid=13825&group_id=85&atid=411
It''s easy enough to rescue, I''d just like to know what MRI does in this
case, so we can duplicate it.
Regards,
Dan
2009 May 06
4
[ win32utils-Feature Requests-25792 ] Create a pure Ruby win32-ole library
Feature Requests item #25792, was opened at 2009-05-05 17:29
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=414&aid=25792&group_id=85
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Daniel Berger (djberg96)
Assigned to: Nobody (None)
Summary: Create a pure Ruby win32-ole library
Initial Comment:
The current Win32OLE
2007 Aug 04
10
Need some help with pure Ruby win32-changenotify
Hi all,
I know it''s deprecated, but people seem to still be using
win32-changenotify, so I thought I''d see if I could make it pure Ruby.
Also, I thought it would be a good opportunity to test passing a custom
Win32::Event object.
I''m mostly done I think, but I''m having trouble unraveling the
FILE_NOTIFY_INFORMATION struct buffer. Please check out the