viernes, 27 de abril de 2007

Code Generation Panel

I have now created the code generation panel and all of its functionality except for the paths tab is implemented, here are some screenshots:



sábado, 21 de abril de 2007

Updates...

Since my last post here is what is new:
  • Code always compiles to object code, then depending on the target an executable, static library or shared object is created.
  • The compiler can be changed, defaults are of course gcc and g++, to add a new compiler in the future (this is still no implemented) one will only have to extend CBinding.CCompiler and register it with MonoDevelop (this idea was provided by Michael).
  • Created the Code Generation panel, even though it still far from finished.
  • Several other fixes.
My main challenge right now is serializing ArrayLists (for libraries, extra include paths etc.) into the configuration. Following what is said in this article isn't working :(

martes, 17 de abril de 2007

Compilation is back!

Yeah, so after some work today I got the Add-In back in shape and now its able to compile C projects again, and it no longer has the ugly bug where you could not add new files.

Several other thins were improved like generating the args to send to gcc and getting the configuration from the .mdp

lunes, 16 de abril de 2007

Changes...

Big changes today, the Add-In can no longer compile C projects :(
The reason behind this is kind of embarrassing, so let me just say I was doing it all wrong, but thanks to Michael I'm now going in the right direction.

Luckily what I did while I was doing things wrong can be mostly reused, so this past weekend's work didn't go all to waste.

domingo, 15 de abril de 2007

First succesful C project compiled


At last a C project can be successfully compiled! though I have a weird bug where I can't add new files, I can only add existing files. I'm going to concentrate on fixing that bug this week, but since I'm still in school I'm not sure how much time I'm going to have, I might have to wait until the weekend.

Right after that the goal is to create the global options panel and make the argument creation for gcc better (It's currently just rushed code that could break like a twig).

sábado, 14 de abril de 2007

Day one...

Today I started coding. My project is to create a MonoDevelop Add-In that adds support for C/C++.

My mentor, Michael James Hutchinson, is an awesome guy who helped me enormously, on my very first day of coding! he taught me in the ways of svn (I'm rather new to Linux and open source development :p) and showed me how to get my project set up and good to go in the MonoDevelop tree.

Cool trick he taught me: have two versions of MonoDevelop, one you develop in and one where you test your code in.

This was probably obvious to everyone else but me, but hey at least now I know...

Didn't get much done today, mostly learned svn and dug into source code for other Language Bindings.

As of right now, once you install my adding in MonoDevelop you can create a new, Empty C Project, and it will recognize the language as C, how exciting! >_>

Thats pretty much it for now, see you later folks!