Displaying 20 results from an estimated 10000 matches similar to: "win32-file and File.basename edge case"
2005 Aug 19
2
File.basename issue
Hi all,
After a recent ruby-talk thread I decided to go back and refactor the
File.basename method in win32-file. Sure enough, after a I added some
more tests I discovered a couple minor bugs.
After reworking it, I still can''t get one test to pass. Specifically,
multiple trailing slashes. Here''s the test that shows the issue:
assert_equal("bar",
2008 Apr 18
1
win32-api segfault
It looks like win32-api, both 1.0.5 and the latest in CVS, are
segfaulting when I build with VC++ 8 or later. Both work fine with VC++
6, though.
Thinking it might be strncpy_s, I removed that, but it didn''t help. I
installed a fresh Ruby built with VC++ 8 as well, but that didn''t help
either.
Loaded suite C:/rubyvc8/lib/ruby/site_ruby/1.8/rake/rake_test_loader
Started
2009 Apr 17
2
win32-clipboard issues and support for additional formats
Hi,
Currently the GetClipboardData() function is declared in windows-pr so that
it returns a pointer. I guess my reasoning was that I was only worried about
dealing with text at the time, so it was the easiest thing to do. But, I''d
like to support more formats beyond text, i.e. images.
However, this can cause a segfault. If you copy a jpeg image to the
clipboard first, for example, and
2007 Sep 19
1
Fwd: win32-service of win32utils
Any ideas folks?
Thanks,
Dan
---------- Forwarded message ----------
From: Kay <serphakay at hotmail.com>
Date: Sep 19, 2007 10:52 AM
Subject: win32-service of win32utils
To: djberg96 at gmail.com
I''m writing some scripts to programmatically change the user account
of running a windows service. So I downloaded one of the windows
utilities, win32-service, and wrote my scripts.
2007 Sep 21
0
win32-service of win32utils
Ah, excellent. Glad you got it figured out!
Regards,
Dan
Yuhong Liu wrote:
> Hi Dan,
>
> I think I have figured out the problem. The issue is because of the
> setting of service type. So by default the service type is set as
> Service::WIN32_OWN_PROCESS | Service::INTERACTIVE_PROCESS. This means
> the service is configured to interact with the desktop, you cannot
>
2006 Jun 28
3
[Fwd: [ruby] win32-service : RegisterServiceCtrlHandlerEx]
Thoughts?
-------------- next part --------------
An embedded message was scrubbed...
From: "Romuald du Song" <rdusong at gmail.com>
Subject: [ruby] win32-service : RegisterServiceCtrlHandlerEx
Date: Mon, 26 Jun 2006 00:02:10 +0200
Size: 2587
Url: http://rubyforge.org/pipermail/win32utils-devel/attachments/20060628/8f12e8f1/attachment-0001.mht
2006 May 30
1
has anyone compiled win32-utils under mingw?
Since the 1.8.4 One-click installer is based on VC++ 6.0 which is no
longer available, I am looking for alternative ways of building
win32-utils so as avoid segfaults. Has anyone used MingGW
successfully? When I run ruby extconf.rb from MSYS the resulting make
file assumes that I am using VC++. Do I need to build ruby under MinGW
first?
--
John-Mason Shackelford
Software Developer
Pearson
2004 Mar 09
6
win32-mmap test suite
I just tried running tc_mmap.rb and noticed that something rather curious
seems to happen. The call to Mmap.new in setup seems to cause the test
suite to just exit without ever actually running the tests.
I reduced the test suite to just this bit of code. This works, although the
final test (TypeError) does not pass - no exception in thrown.
This is 1.8.1 on Win2k.
Any ideas?
Dan
PS - I
2007 Sep 30
6
Giving folks access to Win2k
Hi all,
As fate would have it I''m giving away my old desktop to a friend who has
no computer. The upside is that means I have room to setup my old-old
desktop, which happens to have Windows 2000 on it.
It''s a dual Pentium-II 400 with 512mb of RAM. I installed the Ruby 1.8.6
one-click on it, and it already had VC++ 6 on it. Fairly zippy, actually.
What I would like to do is
2009 Aug 21
0
[ win32utils-Bugs-26975 ] Two test failures on XP virtual machine
Bugs item #26975, was opened at 2009-08-21 10:52
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=26975&group_id=85
Category: win32-sapi
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Daniel Berger (djberg96)
Assigned to: Nobody (None)
Summary: Two test failures on XP virtual machine
Initial Comment:
Ruby 1.8.6-p383
VC++ 9
2005 May 02
1
Possible win32-dir mods
Hi Zach (or anyone with VC++ 6),
I was hoping you would test a couple things for me.
The first thing I would like you to try is replacing
"#include <shlobj.h>" with "#include <shfolder.h>".
That, or try including both.
If that doesn''t do the trick, the next thing I''d like
to try is commenting out all the rb_define_const lines
that were
2006 Nov 17
2
[ win32utils-Bugs-6722 ] win32-changenotify fails on Ruby 1.8.4
Bugs item #6722, was opened at 2006-11-17 05:17
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=6722&group_id=85
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: win32-changenotify fails on Ruby 1.8.4
Initial Comment:
throws an exception when loading, roughly
2007 May 04
0
[ win32utils-Feature Requests-1316 ] Support for Win32 Remote Access API
Feature Requests item #1316, was opened at 2005-01-10 10:07
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=414&aid=1316&group_id=85
Category: Interface Improvements (example)
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
>Assigned to: Nobody (None)
Summary: Support for Win32 Remote Access API
Initial Comment:
I am
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
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
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
2006 Mar 30
3
[ win32utils-Feature Requests-3978 ] Compile files for Ruby One-Click installer
Feature Requests item #3978, was opened at 2006-03-30 05:01
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=414&aid=3978&group_id=85
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Compile files for Ruby One-Click installer
Initial Comment:
Compile the files so they work
2004 May 20
0
Latest win32-file commit
All,
I''ve committed an alpha version of a win32-file that supports a native
open, close and write. I''ve got a couple issues that I was hoping you
could help with.
First, should we overload these methods? In other words, for the open
method, if it''s 1 argument use the default Ruby method, but if it''s 5
arguments (the number of arguments that CreateFile()
2006 Dec 05
0
[ win32utils-Feature Requests-872 ] Port of Win32::Screenshot
Feature Requests item #872, was opened at 2004-09-05 20:52
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=414&aid=872&group_id=85
Category: None
Group: None
>Status: Deleted
>Resolution: Rejected
Priority: 2
Submitted By: Daniel Berger (djberg96)
>Assigned to: Nobody (None)
Summary: Port of Win32::Screenshot
Initial Comment:
I think porting Petr
2008 Jul 07
0
[ win32utils-Support Requests-11344 ] Can''t user win32-service inside of a Rails application
Support Requests item #11344, was opened at 2007-06-04 03:21
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=412&aid=11344&group_id=85
Category: win32-service
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Roberto V. A. (robo)
Assigned to: Nobody (None)
Summary: Can''t user win32-service inside of a Rails application
Initial