search for: cogswel

Displaying 20 results from an estimated 24 matches for "cogswel".

Did you mean: cogswell
2011 Oct 03
5
[LLVMdev] [cfe-dev] Unicode path handling on Windows
...ote: > towlower doesn't seem to work with my test string in Cyrillic. This function does locale-specific conversion, is this what we want? > > Here's the whole thing, with all the calls to ::stat replaced with llvm::sys::fs::Stat. > > On Fri, Sep 30, 2011 at 8:04 PM, Bryce Cogswell <bryceco at gmail.com> wrote: > You can use _iswupper and _towlower instead of CharLowerBuffW. They don't require windows.h and work with /Za. > > On Sep 30, 2011, at 12:24 AM, Nikola Smiljanic wrote: > >> I tried to do the conversion to lowercase inside GetFullPath b...
2011 Oct 03
0
[LLVMdev] [cfe-dev] Unicode path handling on Windows
CharLowerW does the right thing. But I still need Windows.h to use it :) On Mon, Oct 3, 2011 at 8:43 PM, Bryce Cogswell <bryceco at gmail.com> wrote: > Locale-specific is not what we want, but I don't believe Windows exposes an > alternative API that does what we want. (Does CharLower give a different > answer than tolower?) > > However, looking over the FileManager code a little more I...
2011 Oct 03
1
[LLVMdev] [cfe-dev] Unicode path handling on Windows
On Oct 3, 2011, at 11:53 AM, Aaron Ballman wrote: > On Mon, Oct 3, 2011 at 1:43 PM, Bryce Cogswell <bryceco at gmail.com> wrote: >> However, looking over the FileManager code a little more I'm not even sure >> using the path is the best solution, it seems it would be better to use >> inode like the unix code does. Windows doesn't support inode (the s_ino >>...
2011 Oct 03
2
[LLVMdev] [cfe-dev] Unicode path handling on Windows
...y. I'm not sure what locale that would have to be, but it needs to match whatever NTFS uses for its $upcase file. On Oct 3, 2011, at 12:19 PM, Nikola Smiljanic wrote: > CharLowerW does the right thing. But I still need Windows.h to use it :) > > On Mon, Oct 3, 2011 at 8:43 PM, Bryce Cogswell <bryceco at gmail.com> wrote: > Locale-specific is not what we want, but I don't believe Windows exposes an alternative API that does what we want. (Does CharLower give a different answer than tolower?) > > However, looking over the FileManager code a little more I'm not ev...
2011 Sep 30
2
[LLVMdev] [cfe-dev] Unicode path handling on Windows
...ve is with access to CharLowerBuffW. I need Windows.h for this function but when I try to include it I get a bunch of errors because Language Extensions are disabled, /Za switch. Do I just enable them and include Windows.h inside and #ifdef section? > > On Thu, Sep 29, 2011 at 7:57 AM, Bryce Cogswell <bryceco at gmail.com> wrote: > I agree they are broken on all platforms. However, FileManager.cpp already contains an #if WIN32 conditional around the code calling LowercaseString, so you can use MultiByteToWideChar and CharLowerBuffW directly there, and not call the LowercaseString func...
2011 Oct 04
2
[LLVMdev] [cfe-dev] Unicode path handling on Windows
...ws does the same. On Oct 3, 2011, at 1:12 PM, Nikola Smiljanic wrote: > How about this: > > for (int i = 0; i != NumWChars; ++i) > absPath[i] = std::tolower(absPath[i], std::locale()); > > seems to be working just fine? > > On Mon, Oct 3, 2011 at 9:27 PM, Bryce Cogswell <bryceco at gmail.com> wrote: > Right, but maybe if you switch to using tolower_l() and pass an appropriate locale you can get it to work the same way. I'm not sure what locale that would have to be, but it needs to match whatever NTFS uses for its $upcase file. -------------- next p...
2011 Oct 03
0
[LLVMdev] [cfe-dev] Unicode path handling on Windows
towlower doesn't seem to work with my test string in Cyrillic. This function does locale-specific conversion, is this what we want? Here's the whole thing, with all the calls to ::stat replaced with llvm::sys::fs::Stat. On Fri, Sep 30, 2011 at 8:04 PM, Bryce Cogswell <bryceco at gmail.com> wrote: > You can use _iswupper and _towlower instead of CharLowerBuffW. They don't > require windows.h and work with /Za. > > On Sep 30, 2011, at 12:24 AM, Nikola Smiljanic wrote: > > I tried to do the conversion to lowercase inside GetFullPath b...
2011 Sep 30
0
[LLVMdev] [cfe-dev] Unicode path handling on Windows
Note: /Za shouldn't be used. P.S. I'd say more, but it'd only water down the message. ------------------------------ From: Nikola Smiljanic Sent: 9/30/2011 12:45 AM To: Bryce Cogswell Cc: cfe-dev; llvmdev Subject: Re: [LLVMdev] [cfe-dev] Unicode path handling on Windows I tried to do the conversion to lowercase inside GetFullPath by adding an additional bool parameter to this function. It's not perfect but seems much better than repeating the whole UTF8 to UTF16 and UTF16...
2011 Sep 30
0
[LLVMdev] [cfe-dev] Unicode path handling on Windows
...oblem I have is with access to CharLowerBuffW. I need Windows.h for this function but when I try to include it I get a bunch of errors because Language Extensions are disabled, /Za switch. Do I just enable them and include Windows.h inside and #ifdef section? On Thu, Sep 29, 2011 at 7:57 AM, Bryce Cogswell <bryceco at gmail.com> wrote: > I agree they are broken on all platforms. However, FileManager.cpp already > contains an #if WIN32 conditional around the code calling LowercaseString, > so you can use MultiByteToWideChar and CharLowerBuffW directly there, and > not call the Lowe...
2011 Oct 03
0
[LLVMdev] [cfe-dev] Unicode path handling on Windows
On Mon, Oct 3, 2011 at 1:43 PM, Bryce Cogswell <bryceco at gmail.com> wrote: > However, looking over the FileManager code a little more I'm not even sure > using the path is the best solution, it seems it would be better to use > inode like the unix code does. Windows doesn't support inode (the s_ino > field in stat),...
2011 Oct 04
0
[LLVMdev] [cfe-dev] Unicode path handling on Windows
In that case I think that this is it :) On Tue, Oct 4, 2011 at 8:24 AM, Bryce Cogswell <bryceco at gmail.com> wrote: > That should be fine. I don't believe the concern about performing a > char-by-char conversion is valid; for example the NTFS-3G driver uses a > simplistic upcase table and seems to work fine. I suspect Windows does the > same. > > ------...
2011 Sep 29
2
[LLVMdev] [cfe-dev] Unicode path handling on Windows
...oken on all platforms, not only Window, so I can't just #ifdef and use CharLowerBuffW. I need a portable way to convert from UTF8 to UTF16. There is set of functions inside clang/Basic/ConvertUTF, but LLVM can't depend on this. What do I do? > > On Tue, Sep 27, 2011 at 5:09 AM, Bryce Cogswell <bryceco at yahoo.com> wrote: > I think the assert you have for _stat64i32 is fine. It is a constant expression so should compile to nothing, and the chance of the definition changing is pretty much zero. > > LowercaseString appears to be used by ASM printers where the output is ex...
2004 Apr 08
1
Two operators, 10 rollover lines, Cisco 7960G chanisavail problem
...co2&Sip/cisco3&Sip/cisco4&Sip/cisco5) always returns cisco1. Here are the sip.conf entries: (mind you, there are entries for frontdesk1-10 and each phone logs in with 1-5 and 6-10 respectively) [frontdesk10] type=friend ;Theresa Sprocket username=frontdesk10 callerid="Cogswell's Coggs" <555> secret=asterisk host=dynamic transfer=yes canreinvite=no incominglimit=1 context=recordings Here's the dial string I'm trying to use: exten => 775,1,SetMusicOnHold(default) exten => 775,2,ChanisAvail(Sip/frontdesk1&Sip/frontdesk2&Sip/frontdesk3...
2011 Sep 29
0
[LLVMdev] [cfe-dev] Unicode path handling on Windows
...ese are broken on all platforms, not only Window, so I can't just #ifdef and use CharLowerBuffW. I need a portable way to convert from UTF8 to UTF16. There is set of functions inside clang/Basic/ConvertUTF, but LLVM can't depend on this. What do I do? On Tue, Sep 27, 2011 at 5:09 AM, Bryce Cogswell <bryceco at yahoo.com> wrote: > I think the assert you have for _stat64i32 is fine. It is a constant > expression so should compile to nothing, and the chance of the definition > changing is pretty much zero. > > LowercaseString appears to be used by ASM printers where the ou...
2011 Sep 07
0
[LLVMdev] [cfe-dev] Unicode path handling on Windows
...rything to utf8 in which case a lot of code would have to change because we'd have to convert from utf8 to utf16 whenever we call windows api functions. And note that ::wstat has different argument type than ::stat, and this structure is passed all around. On Wed, Sep 7, 2011 at 2:22 AM, Bryce Cogswell <bryceco at yahoo.com> wrote: > As was mentioned once before, the correct solution is to never use > multibyte anywhere. Any Windows functions that currently return multibyte > strings should be converted to their wide-string (unicode) equivalent, with > the result converted to...
2011 Oct 03
0
[LLVMdev] [cfe-dev] Unicode path handling on Windows
How about this: for (int i = 0; i != NumWChars; ++i) absPath[i] = std::tolower(absPath[i], std::locale()); seems to be working just fine? On Mon, Oct 3, 2011 at 9:27 PM, Bryce Cogswell <bryceco at gmail.com> wrote: > Right, but maybe if you switch to using tolower_l() and pass an appropriate > locale you can get it to work the same way. I'm not sure what locale that > would have to be, but it needs to match whatever NTFS uses for its $upcase > file. > -...
2006 Nov 20
1
Is there any R package to calcualte "Power" for ANCOVA
Dear list members: I searched the R-help for packages to calculate power for an ANCOVA problem I have. I have found power.t.test, power.anova.test. But it seems that I can not found one with ANCOVA. I have two datasetsets with variables: univariate response(one data with continous response and one with 0 and 1), treatment(two levels), covariates(x1,x2,x3). I would appreciate your help. Tony
2000 Feb 17
2
Idle time out
...this but OpenSSH seems to totally ignore this option. Can somebody tell me how to modify the c files to change this?? Or will there be support for this? Many thanks. -- "My grandpa told me to remember two things in life. Look out for Number One, and remember your number" - Orville Cogswell -- http://members.xoom.com/_XOOM/dizhao/index.html
2010 Jun 25
2
Sysinternals autorunsc.exe
...point where I have my NTFS partition mounted, I then issue the command: --- $ wine ./autorunsc -z /mnt/ntfs_mount/WINDOWS /mnt/ntfs_mount/Documents\ and\ Settings/ --- ...this happens: --- Sysinternals Autoruns v10.01 - Autostart program viewer Copyright (C) 2002-2010 Mark Russinovich and Bryce Cogswell Sysinternals - www.sysinternals.com Autoruns requires Administrator privilege to analyze an offline system --- I also tried making a symlink to a drive letter in ~/.wine/dosdevices but that didn't seem to make any difference. My various searches for ways to get around this have come to noug...
2011 Oct 04
2
[LLVMdev] [cfe-dev] Unicode path handling on Windows
On Tue, Oct 4, 2011 at 4:19 AM, Nikola Smiljanic <popizdeh at gmail.com> wrote: > In that case I think that this is it :) > > On Tue, Oct 4, 2011 at 8:24 AM, Bryce Cogswell <bryceco at gmail.com> wrote: >> >> That should be fine. I don't believe the concern about performing a >> char-by-char conversion is valid; for example the NTFS-3G driver uses a >> simplistic upcase table and seems to work fine. I suspect Windows does the >&gt...