Re: [GSoC] Merge winecfg and Control Panel

2011-04-04 Thread Tony Zhang
OK, I was pretty busy the whole week last week, and didn't get any chance to look into anything. But I cannot agree on this: But all that aside, all changes that winecfg is doing are registry only > changes. IMHO Wine doesn't need yet another program to writes something into > registry. There are

Re: [GSoC] Merge winecfg and Control Panel

2011-03-26 Thread Vitaliy Margolen
On 03/23/2011 12:05 PM, Dan Kegel wrote: Winetricks is a simple script that adds a few mssing things to wine, e.g. it's how most people install ms dlls or .net on wine. It also provides a simple commandline way to change a few settings. For instance, winetricks vd=1024x768 sets a 1024x768 virtua

Re: [GSoC] Merge winecfg and Control Panel

2011-03-26 Thread Vitaliy Margolen
On 03/25/2011 11:12 AM, Tony Zhang wrote: If I can just build one cpl, how should I build (compile) it and let the existing wine recognize it? Yes, you can build only one dll/cpl/program: # Assuming you are in wine source directory: $ make -C dlls/inetcpl.cpl If you trying to use "existing Win

Re: [GSoC] Merge winecfg and Control Panel

2011-03-25 Thread Tony Zhang
> > When you add a new cpl, the wine build system does this for you. > > So my question is: can I just build one cpl? Or do I need to re-build the entire wine every time I want to test a particular cpl? If I can just build one cpl, how should I build (compile) it and let the existing wine recogniz

Re: [GSoC] Merge winecfg and Control Panel

2011-03-24 Thread wine . dev
Dear Tony Welcome to Wine. > > After all the searches, I still do not have an overall idea of how to > create an control panel applet. From my current understanding, if I put the > cpl (dll) file in "~/.wine/drive_c/windows/system32/", wine control will > recognize it automatically, right? When

Re: [GSoC] Merge winecfg and Control Panel

2011-03-24 Thread Vincent Povirk
You can pretty much ignore everything in the actual C source files of appwiz.c except the CPlApplet function. CPL_STARTWPARMSW is unimportant, and all CPL_DBLCLK does is create a window. The only difference from the layout of a normal Windows program is that a control panel applet does not include

Re: [GSoC] Merge winecfg and Control Panel

2011-03-24 Thread Tony Zhang
Dear Owen, > Actually creating a new control panel applet is a fairly straightforward > task. You can look at the existing control panels (appwiz.cpl, inetcpl.cpl) > to get an idea of what's involved > > After all the searches, I still do not have an overall idea of how to create an control panel

Re: [GSoC] Merge winecfg and Control Panel

2011-03-24 Thread Tony Zhang
Dear Owen, > Actually creating a new control panel applet is a fairly straightforward > task. You can look at the existing control panels (appwiz.cpl, inetcpl.cpl) > to get an idea of what's involved > > I have looked at the two existing applets, but got a little confused by the variable names an

Re: [GSoC] Merge winecfg and Control Panel

2011-03-23 Thread David Laight
On Wed, Mar 23, 2011 at 01:31:09PM -0700, Scott Ritchie wrote: > On 03/23/2011 07:15 AM, Dan Kegel wrote: > > Also... it would be nice if there were a central commandline > > way of changing wine settings, kind of like 'net' is a central > > way of manipulating networking. > > > > I've been thinki

Re: [GSoC] Merge winecfg and Control Panel

2011-03-23 Thread Scott Ritchie
On 03/23/2011 07:15 AM, Dan Kegel wrote: > Also... it would be nice if there were a central commandline > way of changing wine settings, kind of like 'net' is a central > way of manipulating networking. > > I've been thinking that winecfg should have a commandline > interface, too, and making it a

Re: [GSoC] Merge winecfg and Control Panel

2011-03-23 Thread Jerome Leclanche
Winetricks uses the registry. It creates temporary .reg files and feeds them to regedit. J. Leclanche On Wed, Mar 23, 2011 at 6:15 PM, Tony Zhang wrote: > Now I see what you meant. That really is a nice feature to do something like > "winecfg vd=1024x768". > I'll see if I can understand how w

Re: [GSoC] Merge winecfg and Control Panel

2011-03-23 Thread Tony Zhang
Now I see what you meant. That really is a nice feature to do something like "winecfg vd=1024x768". I'll see if I can understand how winetricks accomplish that. On Wed, Mar 23, 2011 at 1:05 PM, Dan Kegel wrote: > Winetricks is a simple script that adds a few mssing things to wine, e.g. > it's h

Re: [GSoC] Merge winecfg and Control Panel

2011-03-23 Thread Dan Kegel
Winetricks is a simple script that adds a few mssing things to wine, e.g. it's how most people install ms dlls or .net on wine. It also provides a simple commandline way to change a few settings. For instance, winetricks vd=1024x768 sets a 1024x768 virtual desktop... it'd be nice if one could inst

Re: [GSoC] Merge winecfg and Control Panel

2011-03-23 Thread Tony Zhang
Dear Dan, I agree that it would be nice to have a command-line interface for wine settings cause I have run into situations that I have to configure wine before going into X. So is it possible to first group/rearrange winecfg functions into certain libraries and then let the GUI (control panel) an

Re: [GSoC] Merge winecfg and Control Panel

2011-03-23 Thread Tony Zhang
Dear Owen, Thank you for pointing me to those information. I'll take a look at those and try to figure out the process of making control panel applets. Unfortunately, I have no background in Windows programming, but I do want to get some through this project. -- Tony (Chi Zhang) On Wed, Mar 23

re: [GSoC] Merge winecfg and Control Panel

2011-03-23 Thread Dan Kegel
Also... it would be nice if there were a central commandline way of changing wine settings, kind of like 'net' is a central way of manipulating networking. I've been thinking that winecfg should have a commandline interface, too, and making it accept winetricks settings directly.Something like

Re: [GSoC] Merge winecfg and Control Panel

2011-03-23 Thread Owen Rudge
Hi Tony, I have briefly walked through Owen Rudge's code of splitting out the Desktop Integration tab into its own control panel, but have no luck in getting a decent understanding of it. So I'm hoping some of you can point me to some documents that related to this task so I can have an overall

[GSoC] Merge winecfg and Control Panel

2011-03-22 Thread Tony Zhang
Hi everyone, I am a senior student double majoring in Computer Science and Math at Northern Illinois University (currently applying the CS Master Program at NIU) and I would like to participate in merging winecfg and control panel through the Google Summer of Code program. I have used wine since