Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Microsoft

Microsoft Plans to open sources for Windows Forms 29

prostoalex writes "Shawn Burke from Microsoft says they are ready to ship sources for Windows Forms for .NET Framework 2.0 and asks for specific advice on accomplishing that (specifically, a smart comment tool). Windows Forms contains .NET framework classes for building GUI applications."
This discussion has been archived. No new comments can be posted.

Microsoft Plans to open sources for Windows Forms

Comments Filter:
  • Oy vey... (Score:3, Interesting)

    by sethadam1 ( 530629 ) * <ascheinberg&gmail,com> on Monday February 07, 2005 @11:02AM (#11596318) Homepage
    Let me be the first to say that this is a GOOD thing.

    God knows, Microsoft would not be the only group to have the need to strip/edit source code comments. I believe we should try to be constructive instead of 320 comments rated 0 or 1 that trash Microsoft for having naughties in the comments. Every bit of code I've ever seen tends to have jokes, sarcastic quips, etc embedded.

    I can only imagine what the comments might be though. Maybe stuff like

    /* next 10 lines stolen directly from OpenBSD */

    or maybe

    /* add the next bit to ensure that this code will *never* work in Gecko!! Hahahaha */
  • by AndroidCat ( 229562 ) on Monday February 07, 2005 @11:05AM (#11596346) Homepage
    Does this make a difference to projects like Mono? And what's the catch? Can I use the source for anything useful without being tackled by lawyers? If I look at their source am I tainted forever?
  • Helpful maybe? (Score:3, Interesting)

    by Joey Vegetables ( 686525 ) on Monday February 07, 2005 @11:13AM (#11596423) Journal

    As a user and developer of both custom 'Doze software (by day, for $) and OSS (at night, not yet for $) . . .

    Microsoft is not likely to release these under a genuinely Free or Open Source license . . . but . . . they will be helpful to me as a 'Doze developer by helping me find and work around and/or fix implementation bugs in Windows.Forms.

    I've thus far not had a use for Mono or Dot.GNU, but I suspect that the release will help them for the same reason it will help me: they won't be able to use the source directly but it will help them to find and either fix or (if necessary) re-implement Microsoft bugs upon which software may rely.

    • Many of those source releases come with licenses that put you at legal risk if you as much as look at the code. Sun Java is an example of a serious offender there.

      Generally, unless software comes with a known, proven free or open source license, do not look at the code. Otherwise, you may find yourself in legal hot water, and you may find yourself banned from many open source projects.
      • This is probably good and indeed necessary advice in unfree countries (i.e., most of them). But I believe there still are places where such "licenses" are not enforceable, at least not against those who have not agreed to them.
        • If you ever want to distribute your project to places where such licenses are enforceable, you still face the same problem. So, unless you only want to distribute your code in Southern East West Africa, you better pay attention to those licenses.
  • by davecb ( 6526 ) * <davecb@spamcop.net> on Monday February 07, 2005 @11:13AM (#11596427) Homepage Journal
    prostoalex writes: Windows Forms contains .NET framework classes for building GUI applications.

    If you use classes which depend on .NET, your application is dependent on code that's part of a monopoly platform.

    If you expect it to run anywhere than on Windows you have to depend on MS not using license terms, embrace-and-extend and patents to make mono fail. Or they can just keep changing the implementation as fast as they can ship out updates, and wear the mono folks out retaining the existing functionality, leaving them unable to add to the framework.

    Remember how long WINE took? And how few apps ran under it for the first few years? Indeed, how few run under it even now...

    --dave

  • Evil Tricks (Score:3, Interesting)

    by FLAGGR ( 800770 ) on Monday February 07, 2005 @12:03PM (#11596965)
    Imagine MS releases source to something like their win32 API, or at least part of it. Then they sue WINE on the next feature that comes out. Sure, it may be soemthing general (They both used the word 'int' in their code :) ) but its still a setback for opensources PR, and with good lawyers and dumb judges, it can be dragged on for forever (SCO vs The World) until the EFF has no more money to give WINE.

    Microsft doesnt like open source things. If MS open sources something, they are up to no good.
  • I have a feeling this is going to begin MS's campaign to squash the open source movement. If everyone can freely see the source code to the windows forms API, then they can go after any new form API's that look anything similar to theirs.
    • That's why for example the Mono team asks you to refrain from contributing to their codebase if you have so much as downloaded and compiled Rotor (the "shared source" version of the .net CLR, which you can compile in OSX and maybe some other unices).
      But, the Mono team cannot benefit from this, since their winforms API is completely different on the inside, to be portable. MS's implementation of winforms is basically a wrapper for the MFC classes. Supposedly that will change and now it's going to be native,
  • by k98sven ( 324383 ) on Monday February 07, 2005 @12:26PM (#11597259) Journal
    It doesn't look like this is a "good thing", at all really.

    TFA:
    Now, this is not the MFC model where you'll be able to build it, etc. We're talking about just source and PDBs for debugging.

    Okaay. So they're going to let you look at the code, but not build it. With all certainty, modification and redistribution is right out. They just want you to help them with debugging, tainting yourself in the process.

    If I were a Mono or DotGNU developer, I wouldn't touch this thing with a ten-foot-pole, lest I taint myself. It's not going to be open-source. It's doesn't seem like it's even going to be buildable or readable.

    So unless you like MS so much you're willing to do their work for them for free, finding bugs in this (rather insignificant) part of .NET, it's not worth tainting yourself.

    Even Java is better than this. And it's not Open Source either.
    • First, isn't this EXACTLY what Sun did with Java? You can't alter it, you can just see the code for debugging purposes.

      Second, although Mono programmers should stay away from this source just to be safe, realistically, seeing the source to windows forms wouldn't help them much anyway. Mono isn't using win32 hooks. It's cross platform. Their implementation would be completely different.
      • First, isn't this EXACTLY what Sun did with Java? You can't alter it, you can just see the code for debugging purposes.

        Pretty much. But their code (as I understand it) was buildable and not stripped of comments. And at least the Java Community Process, flawed as it is, is somewhat more 'open' than what MS is doing.

        But yes, code-wise it's probably going to be pretty much the same.
        (Although we have yet to see Microsofts license for this stuff. Who knows?)

        Second, although Mono programmers should stay away
  • hmmm (Score:3, Insightful)

    by rnd() ( 118781 ) on Monday February 07, 2005 @12:52PM (#11597566) Homepage
    Could this be an attempt to get source code out into public view before Mono finishes its Windows.Forms implementation?

    Or was this code already available on Microsoft's website for building .net on BSD?
    • Nope, rotor (microsoft's open-source version of the .net framework, builds on windows, bsd and osx) doesn't include any windows forms.

      Also, there are substantial differences between rotor and the full ver of .net - primarily the JIT and GC.
      • so maybe my conspiracy theory is correct? Of course, mono is building their Windows.Forms api on top of gtk#, but perhaps Microsoft's lawyers consider opening the source to be a good way (as per the lessons learned from SCO) to put a stake in the ground about what is actually Microsoft intellectual property...
  • ohthankfuckinggod (Score:3, Interesting)

    by evilmousse ( 798341 ) on Monday February 07, 2005 @01:22PM (#11597892) Journal
    -stimpy- joyyyyy~~~~ -/stimpy-

    i can't tell you how many times i've wanted the source when working in .net, especially when creating custom objects to extend some common .net object like a textbox or dataset. I've wept tears for weeks trying to debug things when I KNOW looking at the source would alleviate everything. Sometimes microsoft's APIs are just WORTHLESS.

    I share some of the political concerns over the open-sourcing that I've read in here, but I think this is a bait I'll bite on regardless. I can quit saying "When in doubt.net you can't read the source.net"

    • Try out Lutz Roeder's Reflector. [aisto.com]

      Its a decompiler for .net, and it spits out very good code, complete with the original variable names as long as the code hasn't been run through an obsfcurator.

      Its very cool, load up a dll and browse the classes and decompile into vb or c# on the fly...
  • There are two major issues. One is IP (Intellectual Property) but I'm comfortable with what's in Windows Forms.
    Sounds like he is saying the "IP" issue is that he's worried that Windows Forms would infringe someone else's IP, but he's pretty comfortable with what's in Windows Forms. What about the rest of the .NET framework?
    • I think what he's saying is (as his next sentence implies) since Windows FORMS is mostly just a fancy wrapper around the Win32 controls, he doesn't feel much really gets exposed from an IP point of view.

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...