similar to: Sapphire

Displaying 20 results from an estimated 7000 matches similar to: "Sapphire"

2008 Mar 06
1
Sapphire registration
Hey all, If you tried to register with the Sapphire project but were unsuccessful, please try again. I didn''t have the email settings properly set, so I wasn''t getting the approval notifications. In any case, I''ve changed the project settings so that you should be able to login immediately after registration, without having to wait for admin approval. Regards,
2008 Jun 25
3
[OT] Byacc error
Hi all, Yeah, I''m going OT here... I''m not entirely sure I understand how Ruby builds parse.y on Windows, but it works. However, when I changed all instances of "Ruby" to "Sapphire", and renamed all the source files, I suddenly started getting this error: byacc ./parse.y ''byacc'' is not recognized as an internal or external command,
2006 Dec 14
11
Tweak to win32-eventlog
All, I got a bug report from Greg Holmes where the description wasn''t being returned properly. At the moment, if there''s no event associated with the event id, then the description is empty. However, it turns out that there can still be associated information about the event. So, I propose the following tweak to the get_description private method: # If FormatMessage()
2008 May 11
3
converting a RSTRING to an OLESTR
Hi, I was going to modify the TaskScheduler#save method to take an optional file name. But, I need to convert a Ruby string to an OLE string. I thought I could use this: http://msdn.microsoft.com/en-us/library/ms692615(VS.85).aspx But, it only appears to accept literal string constants. Any other suggestions? Thanks, Dan
2008 Jan 26
2
Rice
Check this out: http://rice.rubyforge.org/ Regards, Dan
2009 Aug 21
3
File.exists?("A:") on Windows VM
Hi, I''ve got a Windows XP VM on my OS X box. Whenever I call File.exists?("A:") on it I get a system error pop-up box from Windows. The title of the window is "Windows - No Disk" and the error is "Exception Processing Message" followed by some numeric codes. It''s not a huge deal - eventually control returns to the program and it returns false
2005 Feb 26
7
Symlinks for Windows
Hi all, Dave Burt mentioned the possibility of adding symlinks to the Dir class. http://www.sysinternals.com/ntw2k/source/misc.shtml#junction There is also Autrijus Tang''s symlink Perl module at http://search.cpan.org/~autrijus/Win32-Symlink-0.04/ Looks easy enough, but it only seems to work for directories, not regular files. Should we add this to the Directory class, or simply
2007 Oct 21
2
Simulating RUBY_CRITICAL
Hi all, I''ve added some critical section methods to the Windows::Synchronize module in the windows-pr library (in CVS). Looking at the RUBY_CRITICAL macro from rubysig.h, it basically looks like this (in pure Ruby): def RUBY_CRITICAL(&block) critical_section = [0].pack(''L'') InitializeCriticalSection(critical_section)
2004 Nov 06
3
Calling CreateFile on an instance of File - possible?
Hi all, I''m going over win32-file this weekend. I''m creating instance methods for setting (or unsetting) the various file attributes. So, you can do something like: f = File.open("foo.txt") f.archive = true f.hidden = true f.close This works for the basic attributes, but it requires extra work for others. Specifically, I am having trouble trying to set the
2008 Jun 04
3
Ruby 1.8.7
Hi all, Has anyone else been able to build Ruby 1.8.7 from source on Windows? I get this when I run configure: C:\>win32\configure.bat find: =: No such file or directory Creating Makefile Creating Makefile(6) : fatal error C1085: Cannot write compiler generated file: '''': Invalid argument NMAKE : fatal error U1077: ''cl'' : return code ''0x1''
2005 May 01
3
win32-dir 0.1.0 compile problems
I tried to download/compile/install win32-dir, but I couldn''t get it to go. Over a private email Daniel Berger had me... "Curious. What platform are you on exactly? Try modifying the extconf.rb file. Add ''have_library("SHFolder")'' above ''have_library("shell32")''. If that doesn''t work, try uncommenting the other
2006 May 31
7
Getting at MakeOpenFile
Along the same lines as the last question - how can I get to functions like MakeOpenFile via Win32API? It doesn''t seem to be exported by msvcrt-ruby18. Possible? Or am I out of luck? Dan This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have
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 Dec 05
21
Fwd: win32/process problem
Any ideas? ---------- Forwarded message ---------- From: Christian Kerth <christian.ke... at dynamicmedia.at> Date: Dec 5, 8:28 am Subject: win32/process problem To: comp.lang.ruby I have an application that consists of serveral independent parts. I want to use the Windows Process API to spawn the different processes. e.g. require ''rubygems'' require
2008 May 11
4
Latest rb_win32_select patch
Hi Park, I tried your latest patch and ran the sample code: readPipe, writePipe = IO.pipe t = Thread.new{ sleep 5 while true sleep 0.1 puts "got #{readPipe.readline.length} bytes" end } i = 1 while true i += 1 sleep 1 puts "hello from main" if i > 3 writePipe.puts "a"*2048 end end t.join At the console I typed the
2008 Jul 08
12
Some more win32-security: SID.create
Hi all, How does this look as a general approach to a SID.create method: # Creates and initializes def self.create(authority, *sub_authorities) if sub_authorities.length > 8 raise ArgumentError, ''maximum of 8 subauthorities allowed'' end authorities = Array.new(8, 0) authorities.replace(sub_authorities) count = authorities.select{ |e| e > 0 }.size
2004 Nov 04
4
Attempt to build a gemspec
Hi all, I''m trying to build a gemspec for win32-ipc, using a precompiled binary. Here''s my gemspec file: #win32-ipc.gemspec require "rubygems" spec = Gem::Specification.new do |s| s.name = "win32-ipc" s.version = "0.3.1" s.platform = Gem::Platform::WIN32 s.summary = "A base class for Win32 synchronization objects."
2006 Jan 05
7
[Fwd: [win32utils-help][6822] Eventlog problem]
Dang, I thought we solved this. Any ideas? Dan PS - I realized after reading this I forgot to bump the version number for 0.3.3 - I''ve uploaded a new zip file with the correct version number. -------------- next part -------------- An embedded message was scrubbed... From: alain Fioretti <noreply at rubyforge.org> Subject: [win32utils-help][6822] Eventlog problem Date: Thu, 5
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
2007 Sep 12
2
RubyConf 2007?
Hi all, Is anyone on the list going to RubyConf this year? I don''t know yet if I''m going to go. I''m still thinking about it. Regards, Dan