Plugin Development for Kdevelop - c++

I really love programming in kdevelop4, however it`s quite lacking in language support and other issues, so i would like to developing extension for it.
however .... i thought i would start with an easy plugin but it seems there is no actual documentation about it(not even a good in code comment)
just an example that i can seem to get working....( it compiles fine it just does appear where it should in kdevelop4)
does anyone know about good documentation on this subject?
or if you made a plugin for kdevelop can you tell me what in short need to be done ?

Check that the plugin has been installed to a path in your KDEDIRS env variable, and run kbuildsyscocoa4.

Related

Setting up the optimal IDE/Toolchain on Linux for D Language

So, I have this on again/off again relationship with D. I'm back at it again, on a new machine. First things first, setting the toolchain.
I think I'll go again with Eclipse + DDT, but last encounter didn't go that well and I may use some guidance before I install stuffs ...
First, for some reasons I'd like to stay on Linux, but I may as well move to Windows. Do you guys have an articulated opinion as to which OS is more suitable for D development ?
Second, I am not (yet) a hard-core coder, so the more integrated the development environment, the better. Is the current version of Eclipse + DDT really usable ? What about Code::Blocks ? Anything else ?
Third, debugging. I'd really appreciate a debugger that enables step-by-step through source code, that sort of niceties ... I understand GDB works nice, but would there be something more user-friendly ?
Thxxxxx
Try monodevelop with mono-d. It works ok for me. Autocompletion is almost perfect, speed is very good and debugging works too. DDT works OK too, but autocompletion is not so perfect.
I would also suggest MonoDevelop with Mono-D plugin installed.
No matter how I love Mono-D, every now and then I have a problem with MonoDevelop (Xamarin Studio). - Not because of Mono-D, but because Xamarin constantly breaks the API it seems...
DDT is a very good alternative.
Before these two, I used Code::Blocks which had pretty nice D integration. I did not check the state of it lately.
Finally, you always have VisualD as a very good option if you are a Windows user. In fact, if you use Windows, this is your best option, in my humble opinion.
+1 for Mono-D. Although the debugger is not that good, and using it with an AMD card with factory drivers may result in missing editor tab captions. Installing unstable versions help, but it may break other things like refactoring with 5.3. But it's mutch better than Eclipse by my opinion, and handles GDC and LDC toolchains flawlessly.

How to get started editing the source for Chromium?

I am a somewhat novice programmer (by which I mean I am proficient in many programming languages, but have never taken formal classes) and would like to heavily mod the Chromium web browser for my own purposes. I would need to change the UI significantly, as well as make somewhat major changes to the V8 embedded javascript engine, and I would like to know where I can start. I guess what I really need to know is:
Are there certain programming conventions I should observe to better understand how Chromium works?
Are there any guides/tutorials on how the file system used for the source works?
Are there any guides/tutorials on how to edit/interpret the Chromium source code specifically?
Should I try to mod Chromium, or should I try to build my own web browser using WebKit and V8?
I am also considering basing by browser on FireFox. Would that be easier to get started with? Since I plan on learning as I work, I would like to be able to understand the
Any help would be greatly appreciated, as well as any gems of wisdom from your own, personal experiences.
P.S.: I'm running Ubuntu 11.10, if that makes a difference at all.
The Chromium.org site has some resources :
General http://www.chromium.org/Home
Building on Ubuntu : http://code.google.com/p/chromium/wiki/LinuxBuildInstructions
Conventions : http://www.chromium.org/developers/coding-style
Contributing : http://www.chromium.org/developers/contributing-code
(Sounds RTFM-y, I know, sorry)
That said, you're probably better of tweaking an existing browser codebase rather than creating one "from scratch" - a task which I would assume to be daunting at least.

Rendering using OpenSG python bindings

Hey!! I'm looking for python bindings for opensg 1.8.. I haven't been able to find it. I have read somethin about pyopengs. Is it still available? I am working on linux platform (ubuntu). If anyone could direct me to it I would be grateful.
The homepage and source code is on google code: pyOpenSG Project
As one of the creators of pyOpenSG, I can tell you that it is definitely still alive and kicking. We use it in production software all the time. It has become so stable for us though that we don't often update the code base. The python binding generator that we use (py++) just keeps everything working between revisions.

c++ compiler for windows mobile

Well I was curious about this and searched for a while but couldn't find anything really, but maybe someone there got an answer...
I would like to compile code ON my windows mobile 6, and also probably be able to run it aftewards (note that I'm saying ON not FOR). Does something like that even exist?
I mean, 600 MHz CPU on my TOPAZ could handle this task already so maybe some fanatic developed it. I'd be glad if it could even compile some visual code (I think there isn't way to display command line on WM), but I got DOS emulator so it could handle also pretty basic code.
And just BTW if there would be(or not) something for Windows Mobile what about other devices? Something based on JAVA probably. I could emulate that maybe, but native would be prefered.
EDIT:
Well and something just came to my mind reading comments. If I am able to run something under DOS is there any reasonable compiler working in DOS? Something like old command line compiler would maybe do the trick...
And yes the reason for this. Well I'm not much into scripting languages, so this is just a try before I'll got to learn them anyway, but it would be great to create some simple and bruteforce solving programs on-air, and possibly much more use to it.
Thanks ;)
Please have a look at PowerGCC - port GCC to PocketPC platform. It's pretty complicated "quest" to install it.
http://www.mpcclub.com/wiki/index.php/CPrograms#Install_a_C_environment_on_PocketPC_.28compiler_etc..29
cke - IDE for mobile platform
http://www.animaniak.com/cke/cke_main.asp

Spell checker for comments, strings, maybe more

I am looking for a spell checker for c++ source code. Unfortunately all I can find is Visual Studio specific. I would like something which works on Linux.
Edit:
Ultimately I want to automate it in some way. I am not very proficient in spell checking, but what I am thinking of is a not-interactive console tool which prints error messages, or something like that.
Personally I use vim, but not everyone on the project does of course.
Currently we are using svn so it is possible to integrate it into the pre-commit-hook maybe?
Don't you guys do something similar?
Eclipse (Java based so will do mac, linux etc.) has spellcheckers built in. With the CDT plugin you can edit and build C++ code.
Vim also supports spell checking.
See the other question for more.
Emacs too has spell checking, flyspell-prog-mode, is the one I use, it is a (very!) personal preference which one works best for you.
The automating the spell check idea is a much trickier one. The best you can hope for is one that will tell you if there are spelling errors. That's trickier than it sounds, especially with code comments which may have all sorts of valid abbreviations which are not real words.
Having a company policy that whatever people have their EDITOR environment variable set to has a spell check enabled, should cut down on the spelling errors in commit messages, for example.
I found something!
svn co svn://anonsvn.kde.org/home/kde/trunk/quality/krazy2 krazy2
this is part of the quality management of KDE.
Besides a multitude of checks (KDE-specific, qt-specific, cpp-specific, ...) there is automated spell checking.
hope this helps
Which editors do you use? Many of them have spell checking abilities. E.g., gedit just needs to have the spellcheck plugin enabled.
You can check out some alpha code I just whipped up for a similar purpose: pyspellcode. It's Zlib licensed and uses clang and hunspell.
No idea how pyspellcode compares to what KDE does/provides but am happy to receive comparisons and will prioritize its development more if there's interest it.
At just over 200 lines, I'm guessing pyspellcode is at least lighter weight than KDE's solution though KDE's solution I imagine is way more tested.