KDevelop4 Beta4 (on Windows)

June 28, 2009 at 7:05 pm | In KDevelop | 4 Comments

We’ve just released the 4th Beta of KDevelop4 and its coming along quite nicely.

This one even compiles on Windows (using MSVC9 aka MS VS 2008) and also is able to load projects. I haven’t been able to try out more things, like file-parsing or code-completion. One thing that won’t work for example for sure is building any cmake project as we don’t yet have any support for nmake.

So the Windows port is not ready for public consumption (as opposed to Beta4 on linux) but it does make progress again.

Setting up Environment for running KDevelop4

June 24, 2009 at 8:35 pm | In KDevelop | 1 Comment

These are short and (hopefully) precise instructions what you need to do when you’ve built KDevelop4 from source and installed it somewhere other than your KDE libraries are (those are often from packages and then installed in /usr or /opt/kde).

I’m assuming here that you have the KDE libraries installed in /usr (i.e. from some packages) and that you’ve installed KDevelop4 into $HOME/kdevelop4 (by passing -DCMAKE_INSTALL_PREFIX=$HOME/kdevelop4 to cmake). If your paths are different just substitute them. Also I’m assuming you’re running KDevelop4 from a terminal and not via the run dialog or via a menu entry, if you want that to work you need to find out how to set environment for the whole X11 session – thats usually distro-specific.

So, first thing to do is setup the KDEDIRS magic environment variable. It tells KDE core components where to search for plugins and other data related to KDE apps and contains just a list of paths (aka prefixes) where KDE libraries and/or applications have been installed.

In my example I set KDEDIRS to point to /usr and $HOME/kdevelop4 as those are the two places where I have KDE4 apps:

export KDEDIRS=$HOME/kdevelop4:/usr

Next thing is to run a KDE tool called “kbuildsycoca4″, this reads various config files that describe which plugins are available and builds a cache from that information. This is necessary so KDevelop can find all its plugins.

And last but not least you can simply run KDevelop by typing “kdevelop” and hitting Enter.

Beta3 and Beta4

June 2, 2009 at 9:14 pm | In KDevelop | 20 Comments

Anybody who reads the dot will already know, but for those who don’t (yes I mean you): KDevelop4 has released its third beta. We’ve fixed tons of bugs, added a new launch framework, new C++ features and added a whole new way of switching the perspective from code to debug and back (KDE4.3 only).

However since the tagging on the weekend a week ago, David somehow has gone crazy on fixing all kinds of mysterious (well to me at least) crashes and locks, as well as some speed improvements. Additionally Thomas McGuire – a KDevelop fan and PIMster – sat down, digged in our complex ui-library and fixed one of the most annoying bugs ever found in this still new codebase: https://bugs.kde.org/show_bug.cgi?id=170863 (the one that resizes the mainwindow even in maximized mode when opening the find-bar from kate).

Hence we’ll shortly be releasing another beta (hopefully with some more fixes/improvements for valgrind, the debugger, launch framework and a new progresswidget). I don’t have any date yet as it depends on some administration stuff to be setup first, but you’ll notice when it happens :)

new dependency for kdevelop/gdb

May 8, 2009 at 9:23 pm | In KDE, KDevelop | 6 Comments

Apparently some people tap into this pitfall, so I’ll kinda “announce” this here. KDevelop4 from trunk requires kdebase/workspace since this week. The reason is a much improved process-selection-widget for our gdb-plugin. This allows far better attach-to-process experience than the old widget. The new widget comes from a library thats so far used by ksysguard and is installed as part of the KDE workspace. For KDE 4.4 the library will move to kdelibs and then this requirement will be lifted again, but until then the best option we have is depending on kdebase/workspace.

Also I’d like to note that right now OpenSuSE and Gentoo packages for kdebase/workspace have a bug, which prevents automatic finding of the relevant cmake modules when building KDevelop. Amilcar posted a workaround to the kdevelop mailinglists, but I’m pretty sure the distro’s will catch up soon with fixed packages.

New Launch Framework Landed

April 30, 2009 at 10:43 pm | In KDE, KDevelop | Leave a Comment

Finally, after about 3 weeks of work I’ve been able to merge back the new launch framework for KDevelop4.

The rework was needed because the existing gui and framework didn’t allow for enough flexibility for more complex cases like remote-gdb debugging, or debugging webpages. Also it forced the user to store its configurations inside a project.

I’m too tired right now to create screenshots, but there’s also not that much to see besides a new treeview in the relevant dialog that lists the configs.

If you want to try it out, just svn up. Please note that there are a few minor gui bugs that I need to fix in the next 2 days as well as dependencies not working at all. Everything else should work (oh yeah, valgrind plugin is currently not working either). If you find bugs I’d kindly ask you to report them on IRC or better the kdevelop-devel mailinglist and not yet on bugzilla so we’re not flooded with new bugs and need to do another 2 days triaging session just to find out what obvious ones we fixed already. Give me a week or two to hammer out the obvious bugs and then feel free to send all your wishes and bugs via bugzilla.

Mhm, Upgrades!

April 29, 2009 at 12:20 am | In Debian, General Linux | 1 Comment

Beware: only little to no KDE content…

Finally after about 5 and a half year since I last bought new PC hardware I got myself some “more power”. That last one was my first laptop ever and those who where with me last year in munich know how old it felt (slow, only 1 hour battery life….). In fact ever since I’ve been using computers this is my first completely-self-paid PC, all other were either the old machine(s) of my dad or uncle that they spend or I did partial upgrades…

I actually didn’t spend too much attention to the actual specs, partly because I don’t care too much – anything in the mid-range is just fine – and partly because nowadays I have little clue about what is the latest coolest . The little attention I paid to the details already got back at me, first I needed 30 minutes to figure out how to get network running under linux (Realtek r8168 chipset onboard, the r8169 driver was loaded but it doesn’t support this one, solution was using r1000), then I realized after some checks that I seem to have gotten the same 2 disks even though I wanted to get two different ones from two different vendors (you know, reducing the failure-possibility a bit). Turns out Seagate and Maxtor are the same nowadays and my two disks only differ in one number. Nothing major though, thus far.

I actually got it yesterday and spend 4 hours trying to get a barely usable windows on it. The last 3 hours were spent with choosing the bare minimum of software (and devel packages for KDE4) and some copying around of /home stuff from my other machine(s). In the next couple of hours this machine will checkout trunk/ and build it (hopefully at least), after that I’m all set basically. Thats what I call a system installation :) (I guess I need another 3 or 4 nights to get the windows partition up to speed).

Oh and for those of you interested the specs: Intel Quad Core 2.6GHz, Gigabyte board, 4G RAM, 2×500GB disks, lg dvd rom, nice-looking enermax case and an nvidia 9800 graphics card (I still hope intel will release a good one some day along with proper drivers, but so far nvidia seems at least to catch up better with problems raised by new X/KDE4 features).

Last but not least: Compared to both my old laptop and my work-laptop this baby is damn fast. Installing about 1GB of packages took 5 minutes or so (including me reading and answering a couple of debconf questions).

no app to open a tar file?

February 25, 2009 at 9:08 pm | In KDevelop | 7 Comments

Hi,

just connected a usb drive here to check whats on it, as KDE4 is so nice to show a small popup allowing me to directly open a file manager on the mounted disk I took the option. Turned out there is only 1 tar file on it. So I clicked on it and was presented with the nice “no app found for the mimetype, please select on”. After a quick run through the tree nothing showed up that would open tar files. Ok this machine has a rather limited kde4 installed (due to size constraints) so I quickly checked the trunk/KDE modules for possible archiving utilities. Found ark in kdeutils, but after building kdeutils it only presents me with rar and various zip formats.

Is this right? Don’t we have a single utility in trunk/KDE that can open up a tar archive? Or am I just blind? Can’t be that hard to use KTar from kdelibs, can it?

Well, back to my own world of a shell and the always-there “tar” utility :) Oh and off to filing a bugreport against ark of course ;)

KDevelop4 Beta1 Kubuntu Packages Problems

February 6, 2009 at 10:01 pm | In KDE, KDevelop | 13 Comments

Update: Packagers seem to have fixed the problem, updates should be available soon. Thanks for the quick fix.

Hate to do this, but there’s been about 6 or 7 people now in #kdevelop and I’m not using kubuntu hence can’t test this myself.

To make a long story short: The Kubuntu packages of KDevelop4 Beta1 are (as of now, Friday January 6th, 21:00 PM CET) useless because either somethings missing in them or installed in the wrong directory. KDevelop doesn’t find any of its plugins and hence you can’t even create a new project, apparently running kbuildsycoca4 doesn’t help (according to the users that joined #kdevelop and tried it out). So its most probably not an outdated sycoca cache, but something else.

A bugreport with ubuntu has been filed and I hope the packagers can fix this soon, so kubuntu users can enjoy KDevelop4.

And to make that clear: I’m trying not to point fingers or blame anyone, mistakes happen. I’d just like to make sure this doesn’t have a negative effect on kdevelop4’s reputation because users start it, can’t do anything with it and then never look at it again.

PS: Would be nice if someone could post a short comment here when the packages are fixed so I can update the entry, I don’t want to sign up for a ubuntu-account just for that.

KDevelop4 Beta1

February 5, 2009 at 3:59 pm | In KDE, KDevelop | 9 Comments

Yes, finally we managed to get the code into shape to do a first beta release of KDevelop4. See the dot article for some more information and where to get the source/binaries. The highlights are of course the awesome things David did for C++ support and the cmake support by Aleix.

On a side note: I’m also getting back to working on KDevelop4/win32, currently debugging some problems with DUChain. The good news is: Latest trunk already compiles and opens projects, the bad news: This is not part of the beta. I’m pretty confident though that the next beta will include win32 support.

KDevelop4 updates

January 15, 2009 at 11:56 pm | In KDevelop | 3 Comments

C++ support in KDev4 really rocks, if kdevelop doesn’t crash. Unfortunately it did so about 6 or 8 times in the last hour, luckily most of the time it was the second instance in which I tested my changes :) The main instance was only crashing when I removed the .kdevduchain from under it, to get the second instance up and running. Apparently the repository management needs a bit more safety..

Anyway, what I wanted to say is that C++ support rocks. David already blogged about the various things he did, but today was the first time since a long while that I actually used KDev4 for more than 5 minutes (well, just about 2 hours, but still). It actually saved me a handful of compile-fix cycles in that time, which I find quite valuable, especially as I get easily frustrated when there are spelling mistakes or some stupidity created by me. Obviously it doesn’t catch all problems, but if I imagine I compile my code at work only twice instead of 5 times to get a fix into it, that would already save quite some time over the day.

On other news: I’ve implemented a (currently rather simple) selection controller on the weekend and now I’ve added some code that uses it. This makes all the build-related actions in the project menu enable/disable themselves properly. And more importantly it allows to simply build the selected item(s) from the project tree. Nobody needs to figure out anymore how to use that buildset thing (which will stay as its quite usable when building multiple things).

The next step I want to do is making the initial usage of CMake projects easier by adding configure() as a dependency to build(). And then configure() will check for a builddir and if none is configured it will ask for one. This would mean that after creating a new cmake project or opening an existing one you can simply hit “build” and kdevelop will ask you for a builddir and start building afterwards. Hopefully I get that done over the weekend.

Oh and before I forget it, I revamped (yes again) the Project->Open, now its again a “plain” file selection dialog. However it now allows to select a .kdev4 file or any file that can be handled by one of the project plugins as “project file” (i.e. cmake plugin support CMakeLists.txt, QMake support .pro files and Makefile plugin supports various types of Makefiles). Along with support for opening a directory directly with just the generic importer. So I managed to integrate import+open into one dialog without any drawbacks (at least I can’t see any).

No pics, its 12am and I need my beauty sleep right now, if you want to see it: fetch kdevplatform+kdevelop from svn (and kdelibs rc1 as you’ll need that). Unfortunately nothing of the above is in the last released alpha from those modules.

Next Page »

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.