Re: PSA: Xcode+gecko for newbies instructional video
I did the eclipse generation. It's not really meant to compile, it's only meant for writing code ATM. The challenge with Eclipse is dealing with the CDT limitations and quirks. There's part of our code base that is correct C++ that the CDT does not understand, some of which is for performance reasons. Particularly in the string code which is pretty common throughout Gecko. I've tried to submit patches to convert from the subset 'Valid C++ that the CDT doesn't like' to 'Valid C++ that the C++ does like' but those patches were rejected. Given the limitations described we can make further improvements. I still haven't investigated all the failures cases. Feel free to sync up with myself and Botond if you're interested to help. I wouldn't recommend this for newbies I'm not sure if I agree. The current eclipse project is not perfect but very functional. For people wanting to write a lot of cross-platform patches, as is a must with graphics patches, the eclipse backend is the clear choice even with its limitations. On Fri, May 22, 2015 at 2:49 PM, garvankee...@gmail.com wrote: On Friday, May 22, 2015 at 2:37:14 PM UTC-4, Mike Hoye wrote: On 2015-05-22 2:19 PM, Jet Villegas wrote: Do we have instructions for Visual Studio anywhere? Video for Visual Studio Community Edition and Eclipse would both be very much welcomed by the community. - mhoye The Eclipse project generator is a WIP/incomplete (doesn't compile fully, code-complete or navigate fully, incorrect defines causing wrong completions), which we need to make very clear if we are promoting it. I wouldn't recommend this for newbies, the current state is far too confusing. That said, I think the approach I am planning to use for Xcode (using the build backend directly to get the build commands) is what the Eclipse project needs to do. Hopefully I can help with that. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
Re: PSA: Xcode+gecko for newbies instructional video
I am interested in helping. I think if you can get it compiling, you can unlock more features of the IDE. And I think it requires a similar approach to Xcode generation, I'll follow up with you and Botond about this. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
Re: PSA: Xcode+gecko for newbies instructional video
On 2015-05-22 2:19 PM, Jet Villegas wrote: Do we have instructions for Visual Studio anywhere? Video for Visual Studio Community Edition and Eclipse would both be very much welcomed by the community. - mhoye ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
Re: PSA: Xcode+gecko for newbies instructional video
tl;dr it is in progress :) A bit of a long story actually. The current patch uses an approach of building on the python front-end (like Visual Studio does). This is guaranteed to to fail for Xcode generation. Xcode needs the _exact_ build commands per file, and that can't be generated using the method I am using. I have it working, but I added a ton of hackery to inject missing directives, move the order of include directives around (ordering is critical). I don't consider it landable using this fragile approach. The bug is currently blocked on another bug: https://bugzilla.mozilla.org/show_bug.cgi?id=904572. That one has a patch in review for the build backend that generates a single JSON file of the exact build commands for the entire project. I have a private patch ready to go that builds on that, which is not fragile and much smaller/simpler. That approach _is_ landable. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
Re: PSA: Xcode+gecko for newbies instructional video
On Friday, May 22, 2015 at 2:37:14 PM UTC-4, Mike Hoye wrote: On 2015-05-22 2:19 PM, Jet Villegas wrote: Do we have instructions for Visual Studio anywhere? Video for Visual Studio Community Edition and Eclipse would both be very much welcomed by the community. - mhoye The Eclipse project generator is a WIP/incomplete (doesn't compile fully, code-complete or navigate fully, incorrect defines causing wrong completions), which we need to make very clear if we are promoting it. I wouldn't recommend this for newbies, the current state is far too confusing. That said, I think the approach I am planning to use for Xcode (using the build backend directly to get the build commands) is what the Eclipse project needs to do. Hopefully I can help with that. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
Re: PSA: Xcode+gecko for newbies instructional video
Awesome! What's the plan for getting the patches you mention in the video into the tree? Do we have instructions for Visual Studio anywhere? --Jet On Fri, May 22, 2015 at 10:31 AM, garvankee...@gmail.com wrote: A video demo of how to get working quickly with Xcode: https://www.youtube.com/watch?v=D0qu8zNDH-M Feedback welcome. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
PSA: Xcode+gecko for newbies instructional video
A video demo of how to get working quickly with Xcode: https://www.youtube.com/watch?v=D0qu8zNDH-M Feedback welcome. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform