add new application attrib.exe
This fixes bug 18059. If this one is not acceptable, feel free to take it and clean it up, I am abandoning this effort from here forward. _ Windows Live: Keep your friends up to date with what you do online. http://windowslive.com/Campaign/SocialNetworking?ocid=PID23285::T:WLMTAGL:ON:WL:en-US:SI_SB_online:082009From 358bc34d6b400eef5200364cb2b6162a656c2c1a Mon Sep 17 00:00:00 2001 From: EA Durbin ead1...@hotmail.com Date: Mon, 17 Aug 2009 18:33:37 -0500 Subject: attrib.exe: add new application attrib.exe --- programs/attrib/Makefile.in | 13 +++ programs/attrib/attrib.c| 181 +++ 2 files changed, 194 insertions(+), 0 deletions(-) create mode 100644 programs/attrib/Makefile.in create mode 100644 programs/attrib/attrib.c diff --git a/programs/attrib/Makefile.in b/programs/attrib/Makefile.in new file mode 100644 index 000..3be4d21 --- /dev/null +++ b/programs/attrib/Makefile.in @@ -0,0 +1,13 @@ +TOPSRCDIR = @top_srcdir@ +TOPOBJDIR = ../.. +SRCDIR= @srcdir@ +VPATH = @srcdir@ +MODULE= attrib.exe +APPMODE = -municode +IMPORTS = kernel32 + +C_SRCS = attrib.c + +...@make_prog_rules@ + +...@dependencies@ # everything below this line is overwritten by make depend diff --git a/programs/attrib/attrib.c b/programs/attrib/attrib.c new file mode 100644 index 000..4fbdeb3 --- /dev/null +++ b/programs/attrib/attrib.c @@ -0,0 +1,181 @@ +/* + * File Attributes + * + * Copyright 2009 EA Durbin + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include config.h +#include wine/debug.h +#include stdarg.h +#include windef.h +#include winbase.h +#include winnt.h +#include winnls.h +#include stdio.h +WINE_DEFAULT_DEBUG_CHANNEL(attrib); +#define IsAttrib(x, y) ((INVALID_FILE_ATTRIBUTES != (x)) ((x) (y))) + +static void usage(void) +{ +printf(Usage: attrib [+R|-R][+A|-A][+S|-S][+H|-H][+C|-C][[drive:][path]filename] [/S][/D]...\n + + Sets an attribute\n + - Clears an attribute\n + R Read-only file attribute\n + A Archive file attribute\n + S System file attribute\n + H Hidden file attribute\n + C Compressed file attribute\n + /S Process files in all directories in the specified path.\n + /D Process folders as well.\n); +} + +void recurseattr(LPWSTR filename, DWORD clrAttr, DWORD setAttr, BOOL folders) +{ +HANDLE hFindFile = INVALID_HANDLE_VALUE; +WIN32_FIND_DATAW w32fd; +BOOL done = TRUE; +int len = lstrlenW(filename); +static const WCHAR asterisk[] = {'*',0}; +static const WCHAR dot[] = {'.',0}; +static const WCHAR dotdot[] = {'.','.',0}; +/* add wildcard */ +if (len filename[len-1] != '\\') filename[len++] = '\\'; +lstrcpyW(filename + len, asterisk); +if((hFindFile = FindFirstFileW(filename, w32fd)) != INVALID_HANDLE_VALUE) +{ +for(done = FALSE; !done; done = !FindNextFileW(hFindFile, w32fd)) +{ +WINE_TRACE(Processing: %s\n, wine_dbgstr_w(w32fd.cFileName)); +if (lstrcmpW(dot, w32fd.cFileName) != 0 +lstrcmpW(dotdot, w32fd.cFileName) != 0) +{ +lstrcpyW(filename + len, w32fd.cFileName); +if(w32fd.dwFileAttributes FILE_ATTRIBUTE_DIRECTORY) +{ +if(folders == TRUE) +{ +if(!IsAttrib(w32fd.dwFileAttributes, setAttr)) +SetFileAttributesW(filename, (w32fd.dwFileAttributes | setAttr)); +if(IsAttrib(w32fd.dwFileAttributes, clrAttr)) +SetFileAttributesW(filename, w32fd.dwFileAttributes ~clrAttr); +} +recurseattr(filename, clrAttr, setAttr, folders); +} +if(!IsAttrib(w32fd.dwFileAttributes, setAttr)) +SetFileAttributesW(filename, (w32fd.dwFileAttributes | setAttr)); +if(IsAttrib(w32fd.dwFileAttributes, clrAttr)) +SetFileAttributesW(filename, w32fd.dwFileAttributes ~clrAttr); +} +} +FindClose(hFindFile
Re: i have itunes 7.60 successfully running on f10 kde 4.2
On Mon, Apr 6, 2009 at 1:05 PM, AllenDavidNiven AllenDavidNiven at globalfone.biz wrote: who can i pay to make this on the wine that i have is $100 ok ? That's generous of you, but also humorous. I can't remember the last estimate we had of how much work it would take, but it's on the order of tens of thousands of dollars. That's assuming it's not impossible to get the ipod touch/iphone driver working in Wine. -- James Hawkins I don't know how many people I've shown linux who would convert if only it ran iTunes, I've demonstrated the operating system to dozens and it's a comon feedback I hear. Itunes is a major application and a huge inhibitor of linux adoption. But unless we get tens of thousands of dollars up front we shouldn't focus development effort on a huge attraction to the Linux operating system and lets ridicule someone when they do offer monetary support because it isn't significant enough. After all we don't want to vastly increase our potential customer base and potentially get several $70 per crossover professional license or $40 per standard license fees, but rather wait until someone writes a hefty check to port it up front. If you build it they will come. _ Quick access to your favorite MSN content and Windows Live with Internet Explorer 8. http://ie8.msn.com/microsoft/internet-explorer-8/en-us/ie8.aspx?ocid=B037MSN55C0701A
imagicos
I just saw this linux distribution on distrowatch. They claim to be able to run all microsoft products. Interesting. http://www.imagicos.com/ http://www.imagicos.com/microsoft.html _ Windows Live™: E-mail. Chat. Share. Get more ways to connect. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_allup_explore_022009
RE: imagicos
That and I can't the source code anywhere on their site. Date: Sat, 7 Feb 2009 12:16:09 +1100 Subject: Re: imagicos From: shackl...@gmail.com To: ead1...@hotmail.com CC: wine-devel@winehq.org 2009/2/7 EA Durbin ead1...@hotmail.com: I just saw this linux distribution on distrowatch. They claim to be able to run all microsoft products. Interesting. http://www.imagicos.com/ http://www.imagicos.com/microsoft.html No they don't. It says almost every on the home page and most on the Microsoft page. Assuming they're talking about Wine, someone should tell them that they're wrong anyway. quite a lot of entirely win32 applications, maybe. Almost certainly not most. Ooh, just spotted some interesting items on their tested applications list. - DirectX - DirectX 6 - DirectX 7 - DirectX 8 - DirectX 9 How about we just completely ignore these idiots? _ Windows Live™: Keep your life in sync. http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_allup_howitworks_022009
RE: gdi32: Remove unneeded check. (Coverity)
From: kai.b...@gmail.com To: robertshear...@gmail.com Subject: Re: gdi32: Remove unneeded check. (Coverity) Date: Wed, 28 Jan 2009 10:32:40 +0100 CC: wine-devel@winehq.org On Tuesday 27 January 2009 18:29:10 Rob Shearman wrote: It doesn't make much sense to leave the lcdfilter variable in the function if you're going to remove the if condition depending on it, since it only has one other use. However, It might have been the intention of the author of this code that this is setting to be changed at compile time (or runtime through a registry tweak) and have the code do the appropriate thing - in that case it would have been better to put the variable at the top of the file. I actually have no idea. This was the smallest possible fix that addressed the coverity issue, but I agree that we need to do something with the lcdfilter variable. Looking at the commits responsible for the lcdfilter assignment (028617b9) and the if check (45a081f1), I don't see anything that hints at why there's an if check with lcdfilter hardcoded. CCing the original author. Cheers, Kai -- Kai Blin WorldForge developer http://www.worldforge.org/ Wine developerhttp://wiki.winehq.org/KaiBlin Samba team member http://www.samba.org/samba/team/ -- Will code for cotton. _ Hotmail® goes where you go. On a PC, on the Web, on your phone. http://www.windowslive-hotmail.com/learnmore/versatility.aspx#mobile?ocid=TXT_TAGHM_WL_HM_versatility_121208
syncing ipod in itunes
Has there been any progress lately on achieving this task in wine? What's the status?http://www.winehq.org/pipermail/wine-devel/2008-March/063095.html _ Get 5 GB of storage with Windows Live Hotmail. http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_5gb_112008
RE: syncing ipod in itunes
Alexandre didn't like the approach. The patches (last I checked) should cleanly apply, but was slow to sync. Maarten thinks it's a COM issue. -- -Austin What's the alternative approach? _ Get 5 GB of storage with Windows Live Hotmail. http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_5gb_112008
RE: [Wine] Uninstallation of Programs
On Fri, Apr 11, 2008 at 1:12 PM, Juan Lang wrote: I agree that its certainly not necessary functionality wise, but to what extend are we going for polish and shine for 1.0 as a whole package, including bundled apps? I feel like 1.0 is as good a time as ever to try and make some of these things work. It would at least be nice to have an easy to way to get rid of some of the clutter under the wine gnome menu from installed applications when 1.0 comes out. _ Going green? See the top 12 foods to eat organic. http://green.msn.com/galleries/photos/photos.aspx?gid=164ocid=T003MSN51N1653A
RE: Appdb request: allow browsing for downloadable platinum apps
Eventually when I get more time I'd like to scrap the browse_by_rating page and browse_newest and create a dynamic query page that allows for multiple custom queries like application type, rating, age of application, etc. And I'd like to see the screenshots page with links by letter, since they are sorted alphabetically, list A B C D E 0-9, etc., or an option to sort screenshots by application type, say games so you can find them easier. Date: Tue, 18 Mar 2008 16:10:42 -0700 From: [EMAIL PROTECTED] To: wine-devel@winehq.org Subject: Appdb request: allow browsing for downloadable platinum apps The appdb has a browse by rating and a browse downloadable option, but there's no way to combine them. Can we add a 'downloadable' checkbox in the 'browse by rating' page, maybe? _ Climb to the top of the charts! Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan
FW: bug 6311 1.0 - wineserver regression
Could someone familiar with wineserver take a look at this please? I've narrowed down the cause of this regression in bugzilla within the commit itself, but I don't know the proper fix. Date: Tue, 11 Mar 2008 18:13:48 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: bug 6311 1.0 On Tue, Mar 11, 2008 at 6:10 PM, EA Durbin wrote: Can we add bug 6311 to the 1.0 bugs? 5948 was on the list but it is closed now. There was a regression recently and it's broken again. Make some noise on the list about those bugs. Being on the 1.0 list isn't really that helpful. _ Need to know the score, the latest news, or you need your Hotmail®-get your fix. http://www.msnmobilefix.com/Default.aspx
RE: GSoC project ideas
I've got a huge pile of MSDOS applications that don't work in wine yet. Winedos needs some work. I would like to rewrite ICMP.dll to wrap around the ping command for an SOC project and fix bug 8332 or work on winedos. _ Helping your favorite cause is as easy as instant messaging. You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join
windows xp x64
I'm trying to install a game (Zoo Tycoon2) for my little sisters on my Dad's PC, it's running Windows XP pro x64 edition, which gets recognized as Windows Server 2003. The install is complaining about needing Windows XP to install the game and VMWare only has 16mb of video card emulated. Can I run it in wine on Windows, or is there a cool way to spoof my Windows version under Windows? _ Helping your favorite cause is as easy as instant messaging. You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join
RE: windows xp x64
disregard , they have new .msi files on their support site From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: windows xp x64Date: Wed, 30 Jan 2008 19:03:14 -0600 I'm trying to install a game (Zoo Tycoon2) for my little sisters on my Dad's PC, it's running Windows XP pro x64 edition, which gets recognized as Windows Server 2003. The install is complaining about needing Windows XP to install the game and VMWare only has 16mb of video card emulated. Can I run it in wine on Windows, or is there a cool way to spoof my Windows version under Windows? Helping your favorite cause is as easy as instant messaging. You IM, we give. Learn more. _ Helping your favorite cause is as easy as instant messaging. You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join
RE: recent cedega contributions to wine
Date: Mon, 19 Nov 2007 08:14:11 -0500 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: recent cedega contributions to wine CC: wine-devel@winehq.org WhooHoo five patches made it into the Wine tree in three YEARS! Here is a list of patches over the past five years.. But five patches in three years is grounds for a announcement? :D The announcement on their dev report comes after 3 months of ignoring user's support tickets, it makes it look like there's been a sudden surge of collaboration with wine and several patches have been put back into the wine tree. _ Connect and share in new ways with Windows Live. http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007
RE: d3dxof: return correct value for IDirectXFileDataImpl_GetType
It is still returning the wrong value, S_FALSE is not in the possible list of return values, and this causes wine to crash. Date: Thu, 8 Nov 2007 12:40:19 +0100 From: [EMAIL PROTECTED] Subject: Re: d3dxof: return correct value for IDirectXFileDataImpl_GetType To: wine-devel@winehq.org IDirectXFileDataImpl_GetType should return DXFILEERR_BADVALUE on failure, not S_FALSEThis patch fixes bug 10355 http://msdn2.microsoft.com/en-us/library/bb174490.aspxSure this could fix that bug but it not a real fix. D3dxof.dll is mostly a stub and its real functionality (loading and parsing of .x files) is missing. This GetType function is also related to the parsing of the .x file. In short this file contains data and some 'templates' for describing the data. This function returns the guid of that template. Returning a failure is not really an option in my opion as it won't get the app working. For the time being you should a native d3dxof.dll should be used or the rest of the .x file parsing should be added. Roderick -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger _ Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct
RE: Bugzilla rights
Date: Tue, 6 Nov 2007 12:45:39 -0700 From: [EMAIL PROTECTED] To: wine-devel@winehq.org Subject: Bugzilla rights Bugzilla admin, please disallow people to add/remove e-mail addresses to/from bugs unless they've been given that right. Or at least have rights to modify any aspect of the bug. Thanks, Vitaliy. Doing this would break the ability of users to add the author of patches that cause a regression as outlined in the wiki. http://wiki.winehq.org/RegressionTesting _ Peek-a-boo FREE Tricks Treats for You! http://www.reallivemoms.com?ocid=TXT_TAGHMloc=us
RE: #winehq admin troubles
From: [EMAIL PROTECTED] To: wine-devel@winehq.org Subject: Re: #winehq admin troubles Date: Mon, 5 Nov 2007 12:09:18 +0100 CC: [EMAIL PROTECTED]; [EMAIL PROTECTED] On Monday 05 November 2007 11:49:52 Hans Leidekker wrote: On Monday 05 November 2007 10:39:32 Kai Blin wrote: Personally, I would like to see more people stepping up to help run #winehq instead of just complaining about the work of one of the very few people who actually are out there helping users. As I understand this history feba thatl tried to do exactly that: help others on our user channel... and got banned by vitamin. So if vitamin is really under stress from all these complaining users, he's not helping himself by kicking out others who try to help. -Hans No, he was just telling the user to upgrade Wine, which vitamin knew would have no effect whatsoever. The only thing that could have benefited from that advice would have been his self-image. Alexander N. Sørnes So we kick people who try to help, even though they may not know the proper answer? _ Windows Live Hotmail and Microsoft Office Outlook – together at last. Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033
RE: New Wine help and discussion forum
Subject: RE: New Wine help and discussion forum From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Tue, 30 Oct 2007 07:43:00 +0100 Hello, Le lundi 29 octobre 2007 à 20:06 -0500, EA Durbin a écrit : [...] I think phpbb is more user friendly than what we got right now. That and the amount of spam I receive in my inbox directed at the current mail lists. I'm tired of getting emails telling me I've won the lottery directed to my inbox from wine, it takes too long to clear it all out. There is no such mail in the archives so I don't know how you did get lottery mail from wine. Most of it is directed to [EMAIL PROTECTED] _ Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews
RE: New Wine help and discussion forum
From: [EMAIL PROTECTED] To: wine-devel@winehq.org Subject: Re: New Wine help and discussion forum Date: Tue, 30 Oct 2007 01:10:43 +0100 CC: [EMAIL PROTECTED]; [EMAIL PROTECTED] . I suggested to create a forum because users are familiar with phpbb, but not with mailman. Tom wasn't on wineconf this time, unless I missed him 3 days long. I think phpbb is more user friendly than what we got right now. That and the amount of spam I receive in my inbox directed at the current mail lists. I'm tired of getting emails telling me I've won the lottery directed to my inbox from wine, it takes too long to clear it all out. _ Windows Live Hotmail and Microsoft Office Outlook – together at last. Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033
RE: implement FatalExitHook()
Date: Sun, 28 Oct 2007 01:13:54 +0200 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: wine-devel@winehq.org Subject: Re: implement FatalExitHook() Hi EA, I can find absolutely no info on FatalExitHook, are you sure it's supposed to exit the process, rather then making the argument be called in case of exit? Cheers, Maarten. I couldn't find much info on it either, except it's a stub in the krn386.exe. Age of empires 2 throws up an unimplimented function krn386.exe.FatalExitHook error after it crashes due to bug 9925, and this makes that error go away. I'm not sure if it's correct due to the lack of documentation for this function. _ Help yourself to FREE treats served up daily at the Messenger Café. Stop by today. http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline
icmp states I need to be running wine as root
I tried to update the Ocean application as outlined in bug 8332 and got a message from the console stating I needed to be running as root for ICMP to work. I thought wine was not to be run as root, is this not correct? int sid=socket(AF_INET,SOCK_RAW,IPPROTO_ICMP); if (sid 0) { MESSAGE(WARNING: Trying to use ICMP (network ping) will fail unless running as root\n); SetLastError(ERROR_ACCESS_DENIED); return INVALID_HANDLE_VALUE; } _ Peek-a-boo FREE Tricks Treats for You! http://www.reallivemoms.com?ocid=TXT_TAGHMloc=us
RE: icmp states I need to be running wine as root
Date: Sun, 21 Oct 2007 14:05:15 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: icmp states I need to be running wine as root CC: wine-devel@winehq.org I thought wine was not to be run as root, is this not correct? It's not the ICMP you need to look at but SOCK_RAW. This is not supported for regular users, only superuser. So to be clear: we strongly recommend against running Wine as root. But you sometimes need to run Wine as root in order to do certain things on Linux, e.g. open raw sockets. The solution: don't run applications that want to do those things, or take it up with the Linux kernel developers. --Juan I can ping in linux without being a superuser? Isn't there another way to do this than with SOCK_RAW, or having to run wine as root? _ Peek-a-boo FREE Tricks Treats for You! http://www.reallivemoms.com?ocid=TXT_TAGHMloc=us
RE: icmp states I need to be running wine as root
Date: Sun, 21 Oct 2007 14:26:58 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: icmp states I need to be running wine as root CC: wine-devel@winehq.org I can ping in linux without being a superuser? Isn't there another way to do this than with SOCK_RAW, or having to run wine as root? I think you mean the first sentence as a statement, not a question. And yes you can, sort of: the ping executable is suid root. It runs as root, regardless of whether you are. Why can't the ping request be forwarded to the linux ping executable that I have the ability to run rather than trying to open a new raw socket which I don't have permission to do? _ Windows Live Hotmail and Microsoft Office Outlook – together at last. Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033
msi testing
I recently purchased the book The Definitive Guide to Windows Installer. I haven't really started reading it yet, but the source code and sample files are available online so I starting testing the sample .msi files in wine and windows out of curiousity . These files are relatively small and are targeted to demonstrate specific .msi functionality. They might work nicely for testing installer functionality in wine without being obscured by large amounts of other application related debug output. http://www.apress.com/book/downloadfile/1645 _ Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews
RE: msi: make the WriteEnvironmentStrings handling of [~] a bit better
The compiler complains at this line about lstrlenW being passed an incompatible pointer type +else if (lstrlenW(value) = prefix_len) should it be lstrlenW(*value) ? _ Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct
Re: imm32: Avoid spamming the debug output.
Imm is disabled by default on North American Windows installations. That's a behavior I think should be mimicked in wine. http://msdn2.microsoft.com/en-us/library/ms776161.aspx IMM is only enabled on East Asian (Chinese, Japanese, Korean) localized Windows operating systems. On these systems, the application calls GetSystemMetrics with SM_DBCSENABLED to determine if IMM is enabled. _ Peek-a-boo FREE Tricks Treats for You! http://www.reallivemoms.com?ocid=TXT_TAGHMloc=us
Wine Desktop Integration Code
Out of curiousity, where can I find the code in the wine source that handles creation of the Menu entries in Gnome and KDE. _ Peek-a-boo FREE Tricks Treats for You! http://www.reallivemoms.com?ocid=TXT_TAGHMloc=us
1.0 Bugs - Microsoft Office 2003
I was able to get around bug 9023 with a patch applied to the appdb and I did some further testing in Office 2003 today. Initially I'm prompted to activate my copy of microsoft office 2003, and both means of activating the application are broken in wine due to bugs 9943 and 9944. Then I tried to open VBA inside of Office and was prompted with a dialog stating unable to open macro storage(bug 8795). The only real reason I use Microsoft Office over Open Office is the need for VBA integration. I think we should add these bugs to the 1.0 target 9943 9944 8795 _ Peek-a-boo FREE Tricks Treats for You! http://www.reallivemoms.com?ocid=TXT_TAGHMloc=us
RE: Wine 1.0 bugs, release criteria
Date: Sat, 6 Oct 2007 04:41:43 -0700 From: [EMAIL PROTECTED] To: wine-devel@winehq.org Subject: Wine 1.0 bugs, release criteria At Wineconf 2007, I was appointed to be the guy who decides (with Alexandre's approval) what bugs are 1.0 bugs and what aren't. So I've started adjusting the Target Release fields on a few bugs in Bugzilla. Over the next month or so, I'd like Wine developers to nominate important bugs for 1.0 by setting their target release field to 1.0. Later on we'll clean up and freeze the list somehow. Also, I've put together a draft wiki page with our 1.0 release criteria; it's at http://wiki.winehq.org/WineReleaseCriteria Comments? - Dan I still have a whole slew of older applications(about 30-40 of them) that won't work because of just 3 bugs. http://bugs.winehq.org/show_bug.cgi?id=3743 http://bugs.winehq.org/show_bug.cgi?id=5948 http://bugs.winehq.org/show_bug.cgi?id=9030 And it would be nice to see the following MS Office bugs fixed by wine 1.0 http://bugs.winehq.org/show_bug.cgi?id=5163 http://bugs.winehq.org/show_bug.cgi?id=9023 _ Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct
.NET going open source(sort of)
Looks like Microsoft is making their source code available for the .NET libraries. under their reference license. http://www.whurley.com/blog/2007/10/opennet-microso.html _ Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct
Weekly Newsletter
Who maintains the weekly newsletter? I noticed it hasn't been updated since May. _ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.aspxmkt=en-us
RE: Is there a process for reviewing a bugzilla staffer?
I don't think we need to be rude and poke fun at new wine users by pointing out their mistakes to everyone. He may someday prove to be a valuable asset to the project, or may be driven off from contributing altogether because a dev/admin had to point out his errors for entertainment purposes. I don't see being rude to new users entertainment, it comes across as being kind of a bully and deters people from contributing. We're all linux/wine newbs at some point, and telling them their posts are useless information instead of trying to help them in a friendly fashion is going to end up driving them away from the project. Date: Wed, 1 Aug 2007 21:09:13 -0600 From: [EMAIL PROTECTED] To: wine-devel@winehq.org Subject: Re: Is there a process for reviewing a bugzilla staffer? Whit Blauvelt wrote: Hi,Is there a formal process for reviewing an arguably incompetent bugzilla staffer? Obviously it wouldn't be to submit their name as a bug. But is there any defined administrative layer that concerns itself with people on that level who are dragging on the project?I looked around a bit for information on this. Sorry if it's posted somewhere and I missed it.Thanks, WhitTo spare everyone time and to skip directly to an entertainment see bug 9147: http://bugs.winehq.org/show_bug.cgi?id=9147 Vitaliy. _ See what you’re getting into…before you go there. http://newlivehotmail.com
Re: problems regression testing/compiling wine
I was able to do regression testing fine until I upgraded to Ubuntu 7.04. Even the first bisect fails if I do a regression between current wine and wine-20041019. I get the following error. ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./ddraw.spec d3d_utils.o device_main.o device_opengl.o direct3d_main.o direct3d_opengl.o executebuffer.o light.o material.o opengl_utils.o texture.o vertexbuffer.o viewport.o clipper.o ddraw_hal.o ddraw_main.o ddraw_thunks.o ddraw_user.o ddraw_utils.o main.o palette_hal.o palette_main.o regsvr.o surface_dib.o surface_fakezbuffer.o surface_gamma.o surface_hal.o surface_main.o surface_thunks.o surface_user.o surface_wndproc.o version.res -Wl,--rpath,\$ORIGIN/`../../tools/relpath /usr/local/lib/wine /usr/local/lib` -o ddraw.dll.so -L../../dlls -lole32 -luser32 -lgdi32 -ladvapi32 -lkernel32 -lntdll -L../../libs -lwine -ldxguid -luuid -lSM -lICE -lXext -lX11 -L../../libs/port -lwine_port surface_dib.o: In function `create_dib': /home/eric/wine/dlls/ddraw/surface_dib.c:159: undefined reference to `DIB_CreateDIBSection' collect2: ld returned 1 exit status winegcc: gcc failed. make[2]: *** [ddraw.dll.so] Error 2 make[2]: Leaving directory `/home/eric/wine/dlls/ddraw' make[1]: *** [ddraw] Error 2 make[1]: Leaving directory `/home/eric/wine/dlls' make: *** [dlls] Error 2 From: Saulius Krasuckas [EMAIL PROTECTED] To: Louis Lenders [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: problems regression testing/compiling wine Date: Mon, 14 May 2007 10:01:19 +0300 (EEST) * On Sun, 13 May 2007, Louis Lenders wrote: * EA Durbin ead1234 at hotmail.com writes: No, that doesn't help, i've tried distclean, git clean -x, the usual make clean, and nothing works. Regression testing seems borked passed two bisects. I know I had the same problem, and somehow i got around it, but i forgot how ;( maybe rm -rf */*/*.def from wine's source tree. I tend to agree on this guess. But once regression interval starts occupying Wine versions delta = 1, usually I do: $ rm -rf dlls/; git checkout -f after every $ git bisect [bad|good] and before running ./configure . _ PC Magazines 2007 editors choice for best Web mailaward-winning Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-usocid=TXT_TAGHM_migration_HM_mini_pcmag_0507
RE: Application deletion!
Someone using Molle Bestefich's account has been attacking the AppDB. I've lost my AppDB admin privileges as well as a bunch of things are being deleted. From: James Bond [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Application deletion! Date: Wed, 23 May 2007 04:40:49 -0700 (PDT) I'm sorry, I do not know who to contact for this, but the 2 apps I've been maintaining Soldat, and Battlefield 2 have BOTH been completely deleted! At first it was Soldat, and I thought maybe since it was a small game made by a lone developer, it was removed. I e-mailed the person resposnible, toa ask why. But I just got another mass spam of e-mails this morning saying this and that were deleted from Battlefield 2, a very popular game! I think something is wrong. Molle Bestefich ([EMAIL PROTECTED]) is the one whose deleted all of that stuff. What is going on? -Brian Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. http://tv.yahoo.com/ _ More photos, more messages, more storageget 2GB with Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-usocid=TXT_TAGHM_migration_HM_mini_2G_0507
RE: FPS tool for wine
does fraps not work in wine? From: [EMAIL PROTECTED] To: wine-devel@winehq.org Subject: FPS tool for wine Date: Tue, 22 May 2007 00:13:22 +0200 The largest gaming site in Norway recently did an extensive review of gaming on Linux, but Wine was left out of the benchmark because no FPS tool exists for Wine. Surely this can't be true? _ Catch suspicious messages before you open themwith Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-usocid=TXT_TAGHM_migration_HM_mini_protection_0507
ntoskrnl.exe: Initial stub version with forwards to existing functions.
Nice! : ) _ PC Magazines 2007 editors choice for best Web mailaward-winning Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-usocid=TXT_TAGHM_migration_HM_mini_pcmag_0507
Direct X 10 game demo
The lost planet demo utilizing Direct X 10 is out, for those of you interested in developing/testing Direct X 10. http://www.fileshack.com/file.x/10513/Lost+Planet:+Extreme+Condition+Demo+-+DirectX10 _ Make every IM count. Download Messenger and join the im Initiative now. Its free. http://im.live.com/messenger/im/home/?source=TAGHM_MAY07
problems regression testing/compiling wine
I'm having problems regression testing between 0.9.15 and 0.9.37. On 3+ bisects I keep getting the following error and wine won't compile. /home/eric/wine/dlls/winex11.drv/palette.c:866: undefined reference to `GDI_ReleaseObj' palette.o:/home/eric/wine/dlls/winex11.drv/palette.c:881: more undefined references to `GDI_ReleaseObj' follow palette.o: In function `X11DRV_RealizePalette': /home/eric/wine/dlls/winex11.drv/palette.c:1251: undefined reference to `GDI_GetObjPtr' /home/eric/wine/dlls/winex11.drv/palette.c:1253: undefined reference to `GDI_ReleaseObj' collect2: ld returned 1 exit status winegcc: gcc failed. make[2]: *** [winex11.drv.so] Error 2 make[2]: Leaving directory `/home/eric/wine/dlls/winex11.drv' make[1]: *** [winex11.drv] Error 2 make[1]: Leaving directory `/home/eric/wine/dlls' make: *** [dlls] Error 2 _ More photos, more messages, more storageget 2GB with Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-usocid=TXT_TAGHM_migration_HM_mini_2G_0507
Re: problems regression testing/compiling wine
No, that doesn't help, i've tried distclean, git clean -x, the usual make clean, and nothing works. Regression testing seems borked passed two bisects. From: Louis Lenders [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: problems regression testing/compiling wine Date: Sun, 13 May 2007 14:05:42 + (UTC) E winegcc: gcc failed. make[2]: *** [winex11.drv.so] Error 2 make[2]: Leaving directory `/home/eric/wine/dlls/winex11.drv' make[1]: *** [winex11.drv] Error 2 make[1]: Leaving directory `/home/eric/wine/dlls' make: *** [dlls] Error 2 _ More photos, more messages, more storageÂget 2GB with Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-usocid=TXT_TAGHM_migration_HM_mini_2G_0507 I think git clean -x should work too _ Like the way Microsoft Office Outlook works? Youll love Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-usocid=TXT_TAGHM_migration_HM_mini_outlook_0507
Re: Any way to get the current code besides git?
I had issues with older versions of git. I think cvs still works. http://winehq.org/site/cvs _ Mortgage rates near historic lows. Refinance $200,000 loan for as low as $771/month* https://www2.nextag.com/goto.jsp?product=10035url=%2fst.jsptm=ysearch=mortgage_text_links_88_h27f8disc=yvers=689s=4056p=5117
Re: Any way to get the current code besides git?
If you use the cvs web browser interface and view for example the dll msi and sort by age you will see the recent patches that have been applied show up here with the time they were applied. It is currently showing ones applied 8 hours ago. From: [EMAIL PROTECTED] (Ben Taylor) To: EA Durbin [EMAIL PROTECTED] Subject: Re: Any way to get the current code besides git? Date: Tue, 01 May 2007 20:39:04 + -- Original message -- From: EA Durbin [EMAIL PROTECTED] I had issues with older versions of git. I think cvs still works. http://winehq.org/site/cvs Yeah, but I'm not sure it's really current. It seemed to me that the CVS code was just what was in the current release, not what is current in git. I know because some patches I had submitted and accepted to git weren't in the CVS download. Ben _ Interest Rates NEAR 39yr LOWS! $430,000 Mortgage for $1,299/mo - Calculate new payment http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-19132moid=14888
Re: WINECFG: use directory harddiskvolume1 for mapping drive C
I know it can be worked around by hand, I was just wondering what the status of fixing it was as the post was in march of 2006 at which time Alexandre stated it was being worked on. From: Hans Leidekker [EMAIL PROTECTED] To: wine-devel@winehq.org Subject: Re: WINECFG: use directory harddiskvolume1 for mapping drive C Date: Sun, 22 Apr 2007 09:42:15 +0200 On Sunday 22 April 2007 05:57:56 EA Durbin wrote: What's the status of this patch? Like Alexandre said, it needs to be solved differently, but note that you can work around this issue if you run the installer with /x and then start the embedded installer by hand. -Hans _ Get a FREE Web site, company branded e-mail and more from Microsoft Office Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/
WINECFG: use directory harddiskvolume1 for mapping drive C
What's the status of this patch? http://article.gmane.org/gmane.comp.emulators.wine.devel/40343/match=harddiskvolume1 _ Mortgage refinance is Hot. *Terms. Get a 5.375%* fix rate. Check savings https://www2.nextag.com/goto.jsp?product=10035url=%2fst.jsptm=ysearch=mortgage_text_links_88_h2bbbdisc=yvers=925s=4056p=5117
Re: Add new dll - sxs.dll
From: Michael Stefaniuc [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: wine-devel@winehq.org Subject: Re: Add new dll - sxs.dll Date: Thu, 19 Apr 2007 15:42:18 -0400 EA Durbin wrote: _ Mortgage refinance is Hot. *Terms. Get a 5.375%* fix rate. Check savings https://www2.nextag.com/goto.jsp?product=10035url=%2fst.jsptm=ysearch=mortgage_text_links_88_h2bbbdisc=yvers=925s=4056p=5117 From 8df8958bb809e856de99bdbbdfbba828b0a16359 Mon Sep 17 00:00:00 2001 From: EA Durbin [EMAIL PROTECTED] Date: Thu, 19 Apr 2007 01:03:55 -0500 Subject: Add new dll sxs.dll --- dlls/sxs/Makefile.in | 14 ++ dlls/sxs/sxs.c | 46 ++ dlls/sxs/sxs.spec|2 ++ 3 files changed, 62 insertions(+), 0 deletions(-) create mode 100644 dlls/sxs/Makefile.in create mode 100644 dlls/sxs/sxs.c create mode 100644 dlls/sxs/sxs.spec diff --git a/dlls/sxs/Makefile.in b/dlls/sxs/Makefile.in new file mode 100644 index 000..507442a --- /dev/null +++ b/dlls/sxs/Makefile.in @@ -0,0 +1,14 @@ +TOPSRCDIR = @top_srcdir@ +TOPOBJDIR = ../.. +SRCDIR= @srcdir@ +VPATH = @srcdir@ +MODULE= sxs.dll +IMPORTLIB = libsxs.$(IMPLIBEXT) +IMPORTS = kernel32 + +C_SRCS = \ + sxs.c + [EMAIL PROTECTED]@ + [EMAIL PROTECTED]@ # everything below this line is overwritten by make depend diff --git a/dlls/sxs/sxs.c b/dlls/sxs/sxs.c new file mode 100644 index 000..3e033fe --- /dev/null +++ b/dlls/sxs/sxs.c @@ -0,0 +1,46 @@ +/* + * sxs main + * + * Copyright 2007 EA Durbin + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include stdarg.h + +#include windef.h +#include winbase.h +#include winsxs.h +#include wine/debug.h + +WINE_DEFAULT_DEBUG_CHANNEL(sxs); + + +/*** + * DllMain (SXS.@) + * + */ +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +{ +switch(fdwReason) +{ +case DLL_WINE_PREATTACH: +return FALSE; /* prefer native version */ +case DLL_PROCESS_ATTACH: +DisableThreadLibraryCalls( hinstDLL ); +break; +} +return TRUE; +} diff --git a/dlls/sxs/sxs.spec b/dlls/sxs/sxs.spec new file mode 100644 index 000..47056cd --- /dev/null +++ b/dlls/sxs/sxs.spec @@ -0,0 +1,2 @@ +@ stub CreateAssemblyNameObject +@ stub CreateAsseblyCache ^^^ Typo? bye michael -- Michael Stefaniuc Tel.: +49-711-96437-199 Sr. Network EngineerFax.: +49-711-96437-111 Red Hat GmbHEmail: [EMAIL PROTECTED] Hauptstaetterstr. 58http://www.redhat.de/ D-70178 Stuttgart Yes it is a typo, I will fix it, it should be CreateAssemblyCache _ Exercise your brain! Try Flexicon. http://games.msn.com/en/flexicon/default.htm?icid=flexicon_hmemailtaglineapril07
re: clusapi.h - add states for GetNodeClusterState()
From: Dan Kegel [EMAIL PROTECTED] To: wine-devel@winehq.org wine-devel@winehq.org CC: EA Durbin [EMAIL PROTECTED] Subject: re: clusapi.h - add states for GetNodeClusterState() Date: Thu, 19 Apr 2007 10:18:19 -0700 You might have more luck getting these three patches in if you also checked in a conformance test that depended on them. And were you careful to write winsxs.h yourself as opposed to copying and pasting from a Microsoft header or web page? - Dan yes, I typed it myself _ Interest Rates NEAR 39yr LOWS! $430,000 Mortgage for $1,299/mo - Calculate new payment http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-19132moid=14888
re: clusapi.h - add states for GetNodeClusterState()
From: Dan Kegel [EMAIL PROTECTED] To: wine-devel@winehq.org wine-devel@winehq.org CC: EA Durbin [EMAIL PROTECTED] Subject: re: clusapi.h - add states for GetNodeClusterState() Date: Thu, 19 Apr 2007 10:18:19 -0700 You might have more luck getting these three patches in if you also checked in a conformance test that depended on them. And were you careful to write winsxs.h yourself as opposed to copying and pasting from a Microsoft header or web page? - Dan The .dll is a stub dll, according to the wiki developer hints page it has to be added first with only DLLMain before I can start adding any functions, or conformance tests. _ Exercise your brain! Try Flexicon. http://games.msn.com/en/flexicon/default.htm?icid=flexicon_hmemailtaglineapril07
wine-patches
Why do the patches I send to wine-patches never show up in the list? Are they being received? _ Mortgage rates near historic lows. Refinance $200,000 loan for as low as $771/month* https://www2.nextag.com/goto.jsp?product=10035url=%2fst.jsptm=ysearch=mortgage_text_links_88_h27f8disc=yvers=689s=4056p=5117
Re: wine-patches
I've checked the mailing list, they don't appear to be in the list. From: Dmitry Timoshkov [EMAIL PROTECTED] To: EA Durbin [EMAIL PROTECTED],wine-devel@winehq.org Subject: Re: wine-patches Date: Wed, 11 Apr 2007 00:43:39 +0900 EA Durbin [EMAIL PROTECTED] wrote: Why do the patches I send to wine-patches never show up in the list? Are they being received? How do you check? http://www.winehq.org/pipermail/wine-patches http://www.winehq.org/pipermail/wine-patches/2007-April/037735.html http://www.winehq.org/pipermail/wine-patches/2007-April/037785.html -- Dmitry. _ Cant afford to quit your job? Earn your AS, BS, or MS degree online in 1 year. http://www.classesusa.com/clickcount.cfm?id=866145goto=http%3A%2F%2Fwww.classesusa.com%2Ffeaturedschools%2Fonlinedegreesmp%2Fform-dyn1.html%3Fsplovr%3D866143
Re: wineprefixcreate - create symlink to cdrom drives(Try 2)
The drives are not created under dosdevices in Ubuntu/Gentoo. I always have to go in and add the drom drive manually in winecfg under both distros. From: Marcus Meissner [EMAIL PROTECTED] To: EA Durbin [EMAIL PROTECTED] CC: [EMAIL PROTECTED], wine-devel@winehq.org Subject: Re: wineprefixcreate - create symlink to cdrom drives(Try 2) Date: Tue, 3 Apr 2007 07:10:32 +0200 On Mon, Apr 02, 2007 at 06:41:09PM -0500, EA Durbin wrote: Is there anything wrong with this? We do this dynamically using hal in explorer.exe already... What OS do you use that it does not work? Also you should also symlink the :: to the cdrom devices (d:: - /dev/cdwhatever) Ciao, Marcus
Re: wineprefixcreate - create symlink to cdrom drives(Try 2)
The drives are present when you run winecfg?, I've treid on several distros and they aren't present. From: Jesse Allen [EMAIL PROTECTED] To: EA Durbin [EMAIL PROTECTED] CC: wine-devel@winehq.org, [EMAIL PROTECTED] Subject: Re: wineprefixcreate - create symlink to cdrom drives(Try 2) Date: Tue, 3 Apr 2007 10:37:47 -0600 On 4/3/07, EA Durbin [EMAIL PROTECTED] wrote: The drives are not created under dosdevices in Ubuntu/Gentoo. I always have to go in and add the drom drive manually in winecfg under both distros. When I tried last Ubuntu it worked just fine. Slackware 11 is currently the only big one that doesn't have hal. I use slackware but I don't care that there is no autodetection on slackware because I know how to add them myself ;) Slackware will have hal soon though.
wineprefixcreate - create symlink to cdrom drives(Try 2)
Is there anything wrong with this? From dd27e3eafa77b216d940538e38f0442736b67bc7 Mon Sep 17 00:00:00 2001 From: EA Durbin [EMAIL PROTECTED] Date: Mon, 2 Apr 2007 18:37:43 -0500 Subject: Create symlinks to cdrom drives --- tools/wineprefixcreate.in | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/tools/wineprefixcreate.in b/tools/wineprefixcreate.in index d5d76dd..b6bb9b3 100644 --- a/tools/wineprefixcreate.in +++ b/tools/wineprefixcreate.in @@ -145,6 +145,27 @@ then [ -d $WINEPREFIX/drive_c ] || mkdir $WINEPREFIX/drive_c ln -s ../drive_c $WINEPREFIX/dosdevices/c: ln -s / $WINEPREFIX/dosdevices/z: + +for cdrom in `awk '$2~/cdrom|dvd|cdr/{ print $2 }' /etc/fstab;`; do +cdromno=$(($cdromno + 1)) +case $cdromno in +1) +ln -s $cdrom $WINEPREFIX/dosdevices/d: +;; +2) +ln -s $cdrom $WINEPREFIX/dosdevices/e: +;; +3) +ln -s $cdrom $WINEPREFIX/dosdevices/f: +;; +4) +ln -s $cdrom $WINEPREFIX/dosdevices/g: +;; +*) +;; +esac + +done fi CROOT=$WINEPREFIX/dosdevices/c: -- 1.4.1
Re: winecfg and cdrom drives
Does anyone who is Mac saavy have ideas on the best way to accomplish cdrom detection in wineprefixcreate across Mac OSX and *nix platforms? From: Dan Kegel [EMAIL PROTECTED] To: EA Durbin [EMAIL PROTECTED] Subject: Re: winecfg and cdrom drives Date: Sun, 1 Apr 2007 08:33:37 -0700 I haven't looked at it myself... You want this to work on macosx, too, so be careful. On 4/1/07, EA Durbin [EMAIL PROTECTED] wrote: Nice, I didn't know that was performed by a bash script. What's the best way to go about detecting cdrom/dvd drives, just grep fstab? From: Dan Kegel [EMAIL PROTECTED] To: EA Durbin [EMAIL PROTECTED] Subject: Re: winecfg and cdrom drives Date: Sun, 1 Apr 2007 08:10:51 -0700 On 4/1/07, EA Durbin [EMAIL PROTECTED] wrote: Is there a reason we don't detect cdrom drives in winecfg and have to enter them manually? cd rom drives should be detected without user intervention, imho users shouldn't have to run a special gui config tool to get their drives recognized so if it needs fixing, let's fix it in e.g. wineprefixcreate -- Wine for Windows ISVs: http://kegel.com/wine/isv
Re: winecfg and cdrom drives
Aren't we doing this already? Alexander N. Sørnes cd rom drives should be detected without user intervention, imho users shouldn't have to run a special gui config tool to get their drives recognized so if it needs fixing, let's fix it in e.g. wineprefixcreate -- Wine for Windows ISVs: http://kegel.com/wine/isv No, we aren't. I have to setup the cdrom drive manually on every distro I've tried. Wineprefixcreate only sets up the C:\ and Z:\ drives, no cdrom drives are configured. # Create the drive symlinks if [ ! -d $WINEPREFIX/dosdevices ] then mkdir $WINEPREFIX/dosdevices [ -d $WINEPREFIX/drive_c ] || mkdir $WINEPREFIX/drive_c ln -s ../drive_c $WINEPREFIX/dosdevices/c: ln -s / $WINEPREFIX/dosdevices/z: fi CROOT=$WINEPREFIX/dosdevices/c:
Re: winecfg and cdrom drives
From: Vitaliy Margolen [EMAIL PROTECTED] To: EA Durbin [EMAIL PROTECTED] CC: wine-devel@winehq.org Subject: Re: winecfg and cdrom drives Date: Sun, 01 Apr 2007 11:14:55 -0600 EA Durbin wrote: Aren't we doing this already? Alexander N. Sørnes cd rom drives should be detected without user intervention, imho users shouldn't have to run a special gui config tool to get their drives recognized so if it needs fixing, let's fix it in e.g. wineprefixcreate It's not being detected from wineprefixcreate but from explorer. That's where HAL interaction is taking place. Vitaliy. Does Explorer first need the drives to be created in dosdevices with wineprefix in order to detect them properly?
RE: So long, and thanks for all the Wine!
I thought you were involved in the TiSP project? http://www.google.com/tisp/ From: Dan Kegel [EMAIL PROTECTED] To: wine-devel@winehq.org wine-devel@winehq.org Subject: So long, and thanks for all the Wine! Date: Sun, 1 Apr 2007 21:20:56 -0700 Wine was a fine dream, but come on, there's no way a bunch of volunteers could put together an emulator for a real operating system like Windows. Heck, after 14 years, Wine can't even run the average Visual Basic program! So I'm bowing to the inevitable, and have accepted a job with a popular operating system vendor working on fixing something called a start menu; I haven't heard the details yet, but it sounds very complex. They say I'll be leading a team of 50. If anyone's interested, please let me know; (I think the new start menu will be implemented in a mix of C# and VBScript for efficiency, so no C programmers need apply.) Cheers, Dan
Re: Game road to 1.0
From: Stefan Dösinger [EMAIL PROTECTED] To: Scott Ritchie [EMAIL PROTECTED] CC: Tom Wickline [EMAIL PROTECTED], wine-devel@winehq.org Subject: Re: Game road to 1.0 Date: Sun, 25 Mar 2007 18:43:06 +0200 Does anyone here know if the NVIDIA Windows drivers are still rigged with regards to the various 3DMark suite of benchmarks? There was a scandal a while back, and the company claimed to pull their special hacks out, but then they were caught again later doing the same thing. It'd be a shame if we were testing rigged Windows drivers vs unrigged Linux ones. I think the windows driver has a huge game Database with per game optimizations. I think I saw it in their control applet, you can even change the settings. (I don't have a access to a Windows nvidia machine atm). Last I knew the Linux driver allows similar tuning. And if someone wants to he can write a specialized wine patch and put a per game hack collection somewhere. I personally don't think theres anything wrong if nvidia provides me with fine-tuned per game settings. Honestly I wouldn't put hundreds of hacks into my own code, but if nvidia thinks they can manage that, ok with me :-) I haven't seen those settings in the linux driver on a per application basis. The windows driver does offer per game/application settings, mostly for how it is handled if you have a SLI enabled system, whether you want the application to be rendered by one video card, or vertical sync SLI etc. It also has options to enable/disable anti-aliasing and anisotropic filtering. As far as I know you can only specify a global SLI setting in xorg.conf under linux.
Re: AppDB performance issue
From: Tony Lambregts [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: wine-devel@winehq.com, Louis Lenders [EMAIL PROTECTED] Subject: Re: AppDB performance issue Date: Sun, 04 Mar 2007 18:49:54 -0700 Nick Law wrote: I still find appdb really slow 60 seconds to view some pages, post on the forums etc It's driving me nuts to the point I've gone back to real life for a while as it's less frustrating. BTW this problems exists on systems separated by over 100 miles (but same login account) so it not hardware at my end. I'll check back now and again to see if it's fixed. Apart from that, keep up the good work devs, wine's functionality is improving all the time but appdb needs fixing. Cheers Nick I only seem to have this problem when I am logged in. When I am not logged in it seems that there is no lag at all. I tried to do some administration and just logging in took 2 minutes. I was able to confirm a bunch of bug links and things were fine for most of them but about every 10th bug link I confirmed it would just seem to hang for a minute or two. I then tried to confirm some application submissions and every time it took at least 3 minutes to process. When I am logged in I frequently will get lags of a minute or two just viewing apps. This does not happen all the time and I have not found any reason why it should slow down at all. Visiting the same page at the same time with a not logged in account shows no slow down. -- Tony Lambregts I'm experiencing the same problems. Sometimes the AppDB doesn't come up at all, but when it does it works fine, then I really don't notice a problem until I login or try to login.
Re: appdb rating inflation
You really expect people to have to read HOWTOs? Windows users certainly don't expect to, why should Wine users? Agreed, we can't attract a serious user base and offer it as a viable alternative to Windows if it requires a howto to get working. It should just work. Windows users trying out linux for the first time expect it to just work, yet linux has its quirks and requires a somewhat technical userbase, which is what in my opinion prevents more users from switching. The lack of certain windows games,punkbuster, and copy protection working in linux is what keeps me from formatting my Windows box and switching %100. Requiring a howto is an inconvenience and a turn-off to new, less technically-inclined, potential converts from the Redmond platform.
Re: Looking for programmator to complete Direct3D 9.0c with GLSL in the Wine
From: Tomas Carnecky [EMAIL PROTECTED] To: Andreas Mohr [EMAIL PROTECTED] CC: wine-devel@winehq.org Subject: Re: Looking for programmator to complete Direct3D 9.0c with GLSL in the Wine Date: Wed, 22 Nov 2006 18:29:00 + GNOME has a 'bounties' webpage, http://www.gnome.org/bounties/ - If we start with these 'bounties', wouldn't it be nice to have such a page too? tom A pledges page would be good. Are we going to have a link to contribute to this through paypal? I'd be willing to pay a bounty for Copy protection or punkbuster support.
Re: A wine success story
Are there any windows based dvd players that will work under wine?
Re: Copy protection
What makes copy protection problematic to circumvent is not the math or the technical stuff, it is the laws protecting it :-( how does cedega do it?
Re: wined3d - fix grammatical errors
Personally, I don't think the sentences in question need to be changed though. [1] http://winehq.org/site/sending_patches -- James Hawkins The sentence is grammatically incorrect using is with by now as the phrase by now implies past tense and is grammatically incorrect. I was testing an application and saw the phrase pop up, and knew it was incorrect. The sentence should be re-structured for present tense. http://experts.about.com/q/General-Writing-Grammar-680/question-21.htm
Copy protection
So the short story is that copy protection support is the gating issue here, and it's a serious PITA. What specifically keeps most copy protection from working with wine? Why does it work in some applications, such as Star Wars Jedi Academy and not others?
wine conf group photo
The link on the winehq.org page for the photo is returning 404 not found.
wine complation fails with latest git
I'm not able to compile wine with the latest source from git. gcc-3.4 -c -I. -I. -I../../include -I../../include-Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o parser.yy.o parser.yy.c parser.l: In function `parser_lex': parser.l:129: error: `parser_lval' undeclared (first use in this function) parser.l:129: error: (Each undeclared identifier is reported only once parser.l:129: error: for each function it appears in.) parser.l: In function `kw_token': parser.l:342: error: `parser_lval' undeclared (first use in this function) make[2]: *** [parser.yy.o] Error 1 make[2]: Leaving directory `/home/eric/wine/tools/widl' make[1]: *** [widl] Error 2 make[1]: Leaving directory `/home/eric/wine/tools' make: *** [tools] Error 2
Re: wine complation fails with latest git
I did a make clean in the wine directory and it appears to be working now. From: Vijay Kiran Kamuju [EMAIL PROTECTED] To: EA Durbin [EMAIL PROTECTED] CC: wine-devel@winehq.org Subject: Re: wine complation fails with latest git Date: Wed, 13 Sep 2006 00:00:24 -0400 Please do a make clean in widl directory and do make On 9/12/06, EA Durbin [EMAIL PROTECTED] wrote: I'm not able to compile wine with the latest source from git. gcc-3.4 -c -I. -I. -I../../include -I../../include-Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o parser.yy.o parser.yy.c parser.l: In function `parser_lex': parser.l:129: error: `parser_lval' undeclared (first use in this function) parser.l:129: error: (Each undeclared identifier is reported only once parser.l:129: error: for each function it appears in.) parser.l: In function `kw_token': parser.l:342: error: `parser_lval' undeclared (first use in this function) make[2]: *** [parser.yy.o] Error 1 make[2]: Leaving directory `/home/eric/wine/tools/widl' make[1]: *** [widl] Error 2 make[1]: Leaving directory `/home/eric/wine/tools' make: *** [tools] Error 2
question about storage32.c code and while loop
I've mentioned this before but I'm no expert C programmer. Can someone explain why we do the following in storage32.c? if (cbRead 0) { cbTotalRead += cbRead; resWrite = BlockChainStream_WriteAt(bbTempChain, offset, cbRead, buffer, cbWritten); if (FAILED(resWrite)) break; cbTotalWritten += cbWritten; offset.u.LowPart += This-smallBlockSize; } } while (cbRead 0); HeapFree(GetProcessHeap(),0,buffer); if (FAILED(resRead) || FAILED(resWrite)) { ERR(conversion failed: resRead = 0x%08lx, resWrite = 0x%08lx\n, resRead, resWrite); BlockChainStream_Destroy(bbTempChain); return NULL; } in the while loop above while (cbRead 0); it appears it terminates without doing anything due to the semicolon, is this intentional or is this semicolon not supposed to be there and its supposed to execute the line below it? If it is intentional why is the empty while loop here?
RE: question about storage32.c code and while loop
disregard I see the do statement above it.
Storage32 error
I've been experiencing an error in several installers and it just appeared lately in installers that used to succeed, such as the battlefield 2 demo installer, this error is causing them to fail. Was this caused by a recent patch? err:storage:Storage32Impl_SmallBlocksToBigBlocks conversion failed: resRead = 0x8003001e, resWrite = 0x err:storage:Storage32Impl_SmallBlocksToBigBlocks conversion failed: resRead = 0x8003001e, resWrite = 0x err:storage:Storage32Impl_SmallBlocksToBigBlocks conversion failed: resRead = 0x8003001e, resWrite = 0x
RE: Setupapi [0/6] : ReactOS setupapi patches
Still one week, and I got absolutly no reaction about my patches. Is something wrong with them? Hervé If I recall you got alot of reaction to your patches about implementing ReactOS code and they wouldn't be included as ReactOS has some potentially dirty code.
F.E.A.R. - free multiplayer
Since there was a discussion about getting F.E.A.R to work with wine on wine-devel the other day I thought I'd mention this link. http://www.fileshack.com/file.x/9272/F.E.A.R.+Combat+1.07 F.E.A.R. released the multiplayer portion of their game for free, you have to register on their site for a free cd key.
winehq.org Announcements
Why is there no release announcement for the 0.9.20 release of wine on the homepage?
Re: Bugzilla statistics: whole lotta fixing going on!
These are great stats to hear! Does anyone know of an easy way to view these stats visually, ie with a bar graph over a specified time interval, pick your components/resolutions, etc? That would be really nice. You can create graphs with the GD library in php. http://www.web-max.ca/PHP/misc_7.php
Re: FEAR Combat
http://www.paradoxalpress.info/Docs/dx9_out/directx_control_panel_tool.htm The control panel has a Managed tab, which contains the names of the DirectX Assemblies that are installed. For any assembly that is installed in the Global Assembly Cache (GAC), you can find the version listed under each assembly name by right clicking on a particular assembly version and selecting Properties from the popup menu. I don't know if it affects the directx component installation in the game installer, or if it only affects the Directx SDK. From: Andreas Mohr [EMAIL PROTECTED] To: EA Durbin [EMAIL PROTECTED] CC: [EMAIL PROTECTED], wine-devel@winehq.org Subject: Re: FEAR Combat Date: Thu, 24 Aug 2006 10:04:09 +0200 Hi, On Wed, Aug 23, 2006 at 10:04:01PM -0500, EA Durbin wrote: Also I've read that managed directx .dlls are supposed to be installed in the global assembly cache folder (C:\WINDOWS\assembly\GAC), but wine doesn't implement assemblies yet (Sxs.dll) as outlined in bug 5965. What you wanted to say is that due to Wine not implementing assemblies and/or the GAC directory not existing yet possibly the game installer doesn't install these DLLs yet, right? Could someone verify whether this is the case? (does the installer package contain strings for those DirectX DLLs?) Andreas Mohr
Re: FEAR Combat
I've found an informative blog on these .dlls. This guy wrote a mini installer for them, I don't know about the legality of it... http://inky.50megs.com/blogs/2005/10/directx-updates-dll-hell-revisited.htm these aren't included in the standard direct3d package. These .dlls d3dx9_x.dll's come in the direct x redistributable package for software developers? http://www.microsoft.com/downloads/details.aspx?familyid=9226A611-62FE-4F61-ABA1-914185249413displaylang=en http://www.support.microsoft.com/kb/910813/en-us?spid=9973sid=1514 Also I've read that managed directx .dlls are supposed to be installed in the global assembly cache folder (C:\WINDOWS\assembly\GAC), but wine doesn't implement assemblies yet (Sxs.dll) as outlined in bug 5965. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sbscs/setup/side-by-side_assembly_api.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/installation_of_win32_assemblies.asp From: H. Verbeet [EMAIL PROTECTED] To: wine-devel@winehq.org Subject: Re: FEAR Combat Date: Wed, 23 Aug 2006 22:52:50 +0200 Not sure about the exact terms, but there are people distributing them, eg http://www.threelights.de/index.php?page=projects/d3dx9_xx_dll_files.php
Re: developers-hints 2 -- second try
I think the DEVELOPERS-HINTS contents should really be moved to the Wiki, it would be a lot easier to keep up to date there. Does anybody feel like doing that? -- Alexandre Julliard [EMAIL PROTECTED] That would be a good place for it. It would be easier to locate. The developer's guide, resources, etc. on winehq should be redirect you to the wiki as well as its scattered about, partially on winehq and partially on the wiki site. It would be more helpful if this was all in one centralized location and you didn't have to jump back and forth between the two. A basic tutorial on how to write a hello world windows application under wine, with a form and controls would be helpful as well, for the person who was interested in writing a soundrec32 application or other similar applications.
Re: LOSTWAGES: Replace references to CVS with Git
If CVS goes, is there another way to see what patches have been applied to the tree? The git does not seem to do that for me and cvs.winehq.org is a fairly easy lookup. Jeff You can view the [EMAIL PROTECTED] over newsreader, but I still like the web interface for CVS to view APPDB code while I'm editing it in vim. I find CVS alot easier to use, and if your not going to be submitting any patches its easier to get wine from CVS than GIT.
Re: LOSTWAGES: Replace references to CVS with Git
How is it easier to do cvs -z3 -d:pserver:[EMAIL PROTECTED]:/home/wine co -P wine than git clone git://source.winehq.org/git/wine.git wine because git doesn't seem to work on my machine, and I've never had problems with the tried and trusted CVS, I'm familiar with CVS as are the majority of linux users.
Re: KDE wineconfig module audio
Any pointers on where to start, or anybody else who wants to take this Though I haven't written much C code, I would start by reviewing the code in wine/programs and get a feel for how the other programs are written and how to add controls to forms etc. And read up on the windows API, specifically PlaySound.
Re: WineD3D: gpu detection
Can we tie the gpu detection in to supporting fake/real alpha blending? http://bugs.winehq.org/attachment.cgi?id=2936action=view http://bugs.winehq.org/show_bug.cgi?id=4050
Re: LOSTWAGES: Replace references to CVS with Git
Agreed, CVS is much easier to use in my own opinion, and the packages in the ubuntu repository for git are old and don't function properly at all with the instructions listed on the page, even when substituting git with http:. The web interface to browse the CVS repository is also easier to navigate than that of the git web interface. From: Robert Shearman [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: wine-devel@winehq.org Subject: Re: LOSTWAGES: Replace references to CVS with Git Date: Fri, 18 Aug 2006 12:09:42 +0100 Mike McCormack wrote: Index: templates/en/development.template === RCS file: /home/wine/lostwages/templates/en/development.template,v retrieving revision 1.6 diff -u -p -r1.6 development.template --- templates/en/development.template 28 Oct 2005 16:05:10 - 1.6 +++ templates/en/development.template 18 Aug 2006 01:02:06 - @@ -6,7 +6,7 @@ WineHQ hosts a number of services aiding the Wine development process. ul - lia href={$root}/site/cvsWine CVS tree/a/li + lia href={$root}/site/gitWine Git tree/a/li lia href={$root}/site/contributingContributing to Wine/a/li lia href=http://bugs.winehq.org/;Bug tracking/a/li lia href=http://appdb.winehq.org/;Application Database/a/li I think we should leave the reference to the CVS tree page (but still add a link to the Git tree). Some people find it easier to work with CVS than Git. -- Rob Shearman
Re: LOSTWAGES: Replace references to CVS with Git
Agreed, CVS is much easier to use in my own opinion, But in what way it is? For example I dislike managament of env-variables at all. That's why I didn't like CVS :-p In the way that the instructions on the wine page just worked, and for familiarity purposes, git is rather new to me, and alot of linux users are familiar with CVS. The cvs tree on the website is easier to navigate than the git tree because of the way it is layed out. and the packages in the ubuntu repository for git are old and don't function properly at all with the instructions listed on the page, Well, someone should probably report this to Ubuntu folks. What is the GIT version used now in Ubuntu? 1.0.3 is the latest version in the ubuntu repository, even after uncommenting all the #deb lines in the apt config file and updating. When trying to run git clone git://source.winehq.org/git/wine.git wine or git clone http://source.winehq.org/git/wine.git wine it says switching to local storage disk and hangs there and does nothing. What else instructions are inadequate on your box? I don't know what else is inadequate on Ubuntu, I'm in the process of switching back to gentoo atm and things are still compiling.
Punkbuster Support
Do we currently have a team working with evenbalance to test punkbuster support under wine? If not, is there anyone who would be interested in forming a team to troubleshoot/develop punkbuster compatibility under wine? According to the transgaming forums cedega is currently working with punkbuster to fix any problems that arise with punkbuster, and It would be nice if we could do the same.
RE: [Bug 5139] Americas Army will not install properly
Many thanks to all who fixed this bug. From: Wine Bugs [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Bug 5139] Americas Army will not install properly Date: Thu, 27 Jul 2006 11:39:05 -0500 http://bugs.winehq.org/show_bug.cgi?id=5139 --- Additional Comments From [EMAIL PROTECTED] 2006-27-07 11:39 --- All but the very last fix made it into wine-0.9.18. That should be enough to get you into the game. The next fix ought to be in wine-0.9.19. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You reported the bug, or are watching the reporter. You are a voter for the bug, or are watching someone who is.
RE: [Bug 5139] Americas Army will not install properly
--- Additional Comments From [EMAIL PROTECTED] 2006-27-07 11:39 --- All but the very last fix made it into wine-0.9.18. That should be enough to get you into the game. The next fix ought to be in wine-0.9.19. Congrats, you beat cedega to supporting america's army. Now if we can liason with evenbalance and get punkbuster working under wine we'll be all set.
Re: Will pay $$ for fix of Magic: The Gathering Online bug
On 6/14/06, Mike McCormack [EMAIL PROTECTED] wrote: hehe. If you're compiling Wine yourself, do I get $200 for telling you to install the latest version of Fontforge, and make sure recent freetype libraries are on your system? Which distro are you using, and is it 64 bit or 32 bit? I ran in to a similar problem on my 64 bit gentoo box. If you have 64 bit linux make sure you copy freetype over to a directory containing your 32 compatibility libraries. cp /usr/lib/libfreetype.* /emul/linux/x86/usr/lib/ ./configure --x-libraries=/emul/linux/x86/usr/lib ; make clean ; make depend ; make
Re: appdb security
Tobias Burnus wrote: Why don't you use mysql_escape_string(...)? http://de.php.net/manual/en/function.mysql-escape-string.php Why not just use PEAR::DB as recommended in the book Essential PHP Security, as it handles multiple SQL interfaces and escapes the data automatically for you, appropriately for the type of database you're using. http://www.devshed.com/c/a/PHP/Accessing-Databases-with-DB/2/
Re: appdb security
It will be a large undertaking, but I'll help change this across the board. I'm going out of town for the next 2 days and won't be near my computer, but I can start on it when I get back. From: Chris Morgan [EMAIL PROTECTED] To: wine-devel@winehq.org, EA Durbin [EMAIL PROTECTED] Subject: Re: appdb security Date: Thu, 8 Jun 2006 16:40:55 -0400 Alright. I'm sold on having to check all user input. We should make this input checking change across the board if you are up for it. $clean = array(); //array of filtered user input + +$clean['catId'] = makeSafe( $_REQUEST['catId'] ); function admin_menu() { -if(isset($_REQUEST['catId'])) $catId=$_REQUEST['catId']; -else $catId=; +$clean['catId'] = makeSafe( $_REQUEST['catId'] ); +if ( empty($clean['catId']) ) +{ +$clean['catId']=; +} Is there a reason why we don't do the if(empty()) check inside of makeSafe()? Chris On Thursday 08 June 2006 1:40 pm, EA Durbin wrote: I always use the method of filtering user input as described at the php security consortium. It makes it easier to track tainted user input vs filtered input. If all filtered variables are put in an array it makes it easier to ensure you're using the non tainted variable. http://phpsec.org/projects/guide/1.html#1.4 Then PEAR::DB to query the mysql database as PEAR::DB handles the SQL filtering. From: Jonathan Ernst [EMAIL PROTECTED] To: wine-devel@winehq.com Subject: Re: appdb security Date: Thu, 08 Jun 2006 18:12:20 +0200 Le jeudi 08 juin 2006 أ 11:42 -0400, Chris Morgan a أ�crit : Can you come up with a non-destructive working example for the appdb website(appdb.winehq.org)? ;-) I ask because I thought we went through this some time ago but I agree that what you say looks like an open issue. Chris Lately I used the following snippet in all my webapps to secure them against sql injection : http://php.net/mysql_real_escape_string under Best practice. ?php function smart_quote($value) { // Stripslashes if (get_magic_quotes_gpc()) { $value = stripslashes($value); } // Protect it if it's not an integer if (!is_numeric($value)) { $value = ' . mysql_real_escape_string($value) . '; } return $value; } // Secure query $sQuery = sprintf(SELECT * FROM users WHERE user=%s AND password=%s, smart_quote($_POST['username']), smart_quote($_POST['password'])); mysql_query($query); ? I think it is better than what we have now in AppDB (didn't check it though). If nobody looks at it, I'll check the code after my master thesis (in one month). Jonathan signature.asc
Re: appdb security
Is there a reason why we don't do the if(empty()) check inside of makeSafe()? as in put the if(empty()) inside of the function itself, or pass if( empty (makeSafe( $_REQUEST['appId'] ) ) ) when we assign it? the reason I didn't put it in the makeSafe function was because we were testing to see if the variable was isset or empty and determining on the point of the application the result was either set to or 0, you could do it inside of the makeSafe() function but returning may not always be the desired results. you could call the empty() test while you were assigning it, I just always start out assigning all of the user input variables I'm going to use at the top of the page by passing them through makeSafe. function makeSafe( $var ) { $var = trim( addslashes( $var ) ); return $var; } $clean['var1'] = makeSafe( $_REQUEST['var1'] ); $clean['var2'] = makeSafe( $_REQUEST['var2'] ); then any subsequent test called upon the variables are ensured to be clean. if your desired output of makeSafe is to be if its empty then you could put the empty() test inside of makeSafe, but further down in the app we were testing for empty and returning 0.
Re: msi: Fix some copy/paste bugs in the implementationof condition operators.
On Mon, 05 Jun 2006 10:14:50 -0600, Vitaliy Margolen wrote: So until you show us some code that verifies what you are talking about, please stay away from the e-mail clinet. He has done exactly that though not in a form we can put in the test suite, and he is not flaming anybody. I think you need to calm down a bit. thanks -mike I've decided to concentrate my efforts in another area, so I won't be looking at msi any longer. I admit I 'm no C expert, I'm a web developer by trade. Though I started to look at the C code to get away from php/perl/ruby and get aquainted with the language in my leisure time, I need no assitance with web development. As I would still like to contribute to the wine project I will be focusing my efforts on Appdb and Bugzilla. But thanks for understanding my intentions Mike.
Re: msi patch submission - cond.y
Then what are the conditional statements in cond.y used for? Though they may not be SQL errors, if IGE and ILEmeans IS Greater than or equal to, or Is Less than or Equal to then it's still and error, even if it doesn't pertain to SQL. Do these not mean IS Greater than or equal to, or Is Less than or Equal to ? From: Mike McCormack [EMAIL PROTECTED] To: wine-devel@winehq.org CC: [EMAIL PROTECTED] Subject: Re: msi patch submission - cond.y Date: Mon, 05 Jun 2006 22:43:09 +0900 EA Durbin wrote: fixed various SQL errors in COND_GetOperator() and compare_int() Unfortunately cond.y has nothing to do with SQL. Mike
re: msi: Fix some copy/paste bugs in the implementation of condition operators.
obviously my patch wasn't wrong as you so put it, as this is the same thing as the one I submitted. I just phrased the definition of it wrong assuming the conditional statements were used by SQL. From: Dan Kegel [EMAIL PROTECTED] To: wine-devel wine-devel@winehq.org, Hans Leidekker [EMAIL PROTECTED] CC: EA Durbin [EMAIL PROTECTED] Subject: re: msi: Fix some copy/paste bugs in the implementation of condition operators. Date: Mon, 5 Jun 2006 08:07:17 -0700 Hans wrote: [http://www.winehq.org/pipermail/wine-cvs/2006-June/023395.html] Fix some copy/paste bugs in the implementation of condition operators. Congratulations on getting your patch into cvs! How far does this go towards fixing America's Army (http://bugs.winehq.org/show_bug.cgi?id=5139)? Also, are you still working on a conformance test for this, or did you stop once you found the obvious problem? - Dan -- Wine for Windows ISVs: http://kegel.com/wine/isv
Re: msi: Fix some copy/paste bugs in the implementation of condition operators.
My analysis has not changed it still remains the same to this day. Case, america's army installer is working backward, not going through the media in the correct order. Upon troubleshooting this I found that this is due to the query returning the wrong results for LastSequence. I don't have an analysis for what is causing this yet. But this is what is causing the bug and I've never swayed on that. I did in fact write a test, which does prove this. Hans has a copy of it, and i think i sent it to wine-devel too. As for files.c, the query in ready_media_for_file() should be passing an unsinged integer as LastSequence must be greater than zero. http://search.msdn.microsoft.com/search/Redirect.aspx?title=Media+Table+%5bWindows+Installer%5durl=http://msdn.microsoft.com/library/en-us/msi/setup/media_table.asp less than or equal to the value in the LastSequence column, and greater than the LastSequence value of the previous disk (or greater than 0, for the first entry in the Media table). From: Mike McCormack [EMAIL PROTECTED] To: EA Durbin [EMAIL PROTECTED] CC: [EMAIL PROTECTED], wine-devel@winehq.org, [EMAIL PROTECTED] Subject: Re: msi: Fix some copy/paste bugs in the implementation of condition operators. Date: Tue, 06 Jun 2006 00:24:00 +0900 EA Durbin wrote: obviously my patch wasn't wrong as you so put it, as this is the same thing as the one I submitted. I just phrased the definition of it wrong assuming the conditional statements were used by SQL. Your patch caused the regression tests to fail, and Hans' did not. err:msi:msi_get_dialog_record query failed for dialog Lboo fixme:msi:ACTION_PerformUIAction unhandled msi action Lboo package.c:618: Test failed: wrong return val make[1]: *** [package.ok] Error 1 You seem to have a different theory of what's causing the failure every day. I'm somewhat disappointed that you refuse to write a regression test to show what you've found. It would give me confidence in what your analysis of the problem, assist me in fixing the problem, and prevent it from happening again. Mike
Re: msi: Fix some copy/paste bugs in the implementation of condition operators.
It doesn't use %d currently. It uses %i. And its not to print. It uses this value in the SQL statement. The LastSequence value of the Media table is NEVER negative as i pointed out in the MSDN link. It must always be zero or larger and this is handled by passing %u. The SELECT * FROM `Media` WHERE `LastSequence` = %i, should be The SELECT * FROM `Media` WHERE `LastSequence` = %u. In ready_media_for_files. From: Mike McCormack [EMAIL PROTECTED] To: EA Durbin [EMAIL PROTECTED] CC: [EMAIL PROTECTED], wine-devel@winehq.org, [EMAIL PROTECTED] Subject: Re: msi: Fix some copy/paste bugs in the implementation of condition operators. Date: Tue, 06 Jun 2006 00:38:16 +0900 EA Durbin wrote: I did in fact write a test, which does prove this. Hans has a copy of it, and i think i sent it to wine-devel too. I haven't seen any patch for the Wine regression test suite as yet, and that is what I have been asking you to write. As for files.c, the query in ready_media_for_file() should be passing an unsinged integer as LastSequence must be greater than zero. You patch is wrong because the value you are printing is an INT, so using %d is correct, and using %u will print the wrong thing when the INT is less than zero. Mike
Re: msi: Fix some copy/paste bugs in the implementation of condition operators.
Okay what am i misunderstanding?, explain it to me as its imperative I learn, and I'd love to learn. %u is an unsigned integer which is 0 to +32,767. %i is a signed integer 32,767 to +32,767. If the sequence number is always going to be a positive number why should we allot it the extra 32,767 value range? From: Mike McCormack [EMAIL PROTECTED] To: EA Durbin [EMAIL PROTECTED] CC: [EMAIL PROTECTED], wine-devel@winehq.org, [EMAIL PROTECTED] Subject: Re: msi: Fix some copy/paste bugs in the implementation of condition operators. Date: Tue, 06 Jun 2006 01:34:05 +0900 EA Durbin wrote: It doesn't use %d currently. It uses %i. And its not to print. It uses this value in the SQL statement. The LastSequence value of the Media table is NEVER negative as i pointed out in the MSDN link. It must always be zero or larger and this is handled by passing %u. Unfortunately your lack of understanding of C lets you down here. Mike
Re: msi: Fix some copy/paste bugs in the implementation of condition operators.
I'm not flaming, I'm trying to get assitance with the problem and sharing my findings with other developers. I openly admit im a novice C hacker, and could use some help which I thought was what the wine-devel mailing list was used for, as its for developers. As Robert Shearman stated, why give it a 4 byte value when it's using a 2 byte value. The sequence should never be a negative number, where am I mistaken on this? From: Vitaliy Margolen [EMAIL PROTECTED] Reply-To: wine-devel@winehq.org To: EA Durbin [EMAIL PROTECTED] CC: wine-devel@winehq.org Subject: Re: msi: Fix some copy/paste bugs in the implementation of condition operators. Date: Mon, 5 Jun 2006 10:14:50 -0600 Why would you add all your findings and test cases into the Wine's test suite? Until then you should stop flaming list. With all the energy you spent writing these e-mails BACKWARDS as I might add.
Re: msi: Fix some copy/paste bugs in the implementation of condition operators.
Vitaliy. PS: PLEASE PLEASE PLEASE ADD YOU COMMENTS BELOW THIS LINE NOT ABOVE. IT'S IMPOSSIBLE TO READ. By default microsoft outlook, hotmail, all add their replies above the previous message. It's the way 90% of the email I see works. Both of those depend on the type and not on what it should be. And the type is INT it's a signed int. Why must it be a signed int, the comparison is always a positive number which is an unsigned int. So if we always pass a positive number it should still work correctly. Both types are integers, only the signed int requires 2 more bytes for the sign. Aren't we wasting 2 bytes of memory by using signed int?
Re: msi: Fix some copy/paste bugs in the implementation of condition operators.
Can you 100% guarantee that documentation is correct? And that there are no broken apps that will try to pass negative number? Vitaliy. Okay, i guess I see your point, but if the broken app passes a negative number its not going to work correctly anyway, as it will read from the wrong Disk medium when it encounters the query, once that works correctly.
Re: msi patch submission - cond.y
looked up 'tilde' and MSI on Google, it looks as though COND_I* actually relates to strings, as it seems that the tilde means 'case insensitive', but I wonder if it has been inadvertently used on integer comparisons by some installers]. Coming from perl, I though the tilde was part of a regex at first. ~= being similar to COND_ILE =~ m/=/
Re: FW: RE: My 1.0 wish list
The bug is in file.c under ready_media_for_file() at the query statement. I hacked the actual wine code and ran some queries aganist actual msi installer databases. I tested a couple different queries in the actual wine installer against actual msi databases on a couple different tables to diagnose the problem, then I iterated through the results returned by the queries. Here are my findings: SELECT * FROM `MEDIA` - works fine SELECT * FROM `MEDIA` ORDER BY `LastSequence` - works fine SELECT * FROM `FILES` - works fine SELECT * FROM `FILES` ORDER BY `Sequence` - works fine SELECT * FROM `FILES` WHERE `Sequence` = 10 - upon viewing results it returns Sequences 1 through 10 - failed SELECT * FROM `Media` WHERE `LastSequence` = any number you wish - fails and returns LastSequence numbers from the table, less than the number in your comparison. This means that the bug is either in the WHERE clause, or the conditional statement immediately after the WHERE clause. I'm not sure, and I don't feel like spending another 10 hours learning how the underlying SQL code in wine works or learning how Bison parses things as the underlying code is even more confusing than what I've looked at so far, but I've narrowed down where the bug is, and what part of the query fails at in particular. I wrote a quick test in wine/dlls/msi/tests/db.c to add a 2nd row to the database that was being created, then I inserted the `id` of 8 into it and then I ran the query SELECT * FROM phone where `id` 6, and it returned the correct results with `id` of 8. But in the actual wine installer code a similar query doesn't return the correct results. I don't know if its because the wine installer is taking the query as a character array and it isn't in db.c, or if files.c is doing other things than in db.c, but I couldn't replicate it in db.c and I give up, the query is broken in the actual installer code, and when Iterating through the results it returns the wrong results from tables. From: Hans Leidekker [EMAIL PROTECTED] To: wine-devel@winehq.org CC: EA Durbin [EMAIL PROTECTED] Subject: Re: FW: RE: My 1.0 wish list Date: Sat, 3 Jun 2006 20:30:16 +0200 On Saturday 03 June 2006 18:45, EA Durbin wrote: That can't be used for a test case, for a test case I, or most likely someone elsewho has the ability and the time has to write code under dlls/msi/tests/db.c and make a program in windows to re-illustrate this bug. Do you know SQL? Could you write a few SQL statements that reproduce the exact conditions of the bug? I'm thinking of something like this: 1) create a table 2) insert a few rows 3) select a row from the table If you do, I'll have a go at writing a test case for it. -Hans