<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-425237915521819067</id><updated>2012-01-17T19:28:36.427+01:00</updated><category term='routing'/><category term='xdebug'/><category term='qt'/><category term='css'/><category term='kdevelop php quanta'/><category term='gdb'/><category term='kdevelop'/><category term='php'/><category term='quanta'/><category term='kde'/><category term='marble'/><title type='text'>Niko's Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://nikosams.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://nikosams.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Niko Sams</name><uri>http://www.blogger.com/profile/11777805168853811867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-425237915521819067.post-7110131170712250637</id><published>2011-11-10T21:25:00.001+01:00</published><updated>2011-11-27T19:37:22.337+01:00</updated><title type='text'>Koala Framework: Open Source Web Application and CMS Framework</title><content type='html'>&lt;br /&gt;This post is not KDE related, but about Open Source - not entirely off topic on PlanetKDE.&lt;br /&gt;&lt;br /&gt;The company I work for recently decided that we release our Framework and CMS as Open Source Software. This is very exciting for all of us and especially me - as I brought that topic on the table again and again. And finally we did it :D&lt;br /&gt;&lt;br /&gt;It's a framework to create anything that runs in a browser: from a website or blog to a desktop like web application. It's built on solid grounds: Zend Framework (Php framework) and ExtJS (JavaScript framework).&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-GPlwO6Ln93I/TtDJb1S3G0I/AAAAAAAAAUU/8WnbJmdVp9E/s1600/koala-app.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="198" src="http://1.bp.blogspot.com/-GPlwO6Ln93I/TtDJb1S3G0I/AAAAAAAAAUU/8WnbJmdVp9E/s320/koala-app.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Screenshot showing an simple example web application &lt;a href="http://www.koala-framework.org/about/web_applications/screenshots" target="_blank"&gt;[more screenshots]&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-0jjyPznc58U/TtDJlOwu3QI/AAAAAAAAAUc/r3bzFm85Izw/s1600/koala-cms-screen3.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="230" src="http://3.bp.blogspot.com/-0jjyPznc58U/TtDJlOwu3QI/AAAAAAAAAUc/r3bzFm85Izw/s320/koala-cms-screen3.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Screenshot showing the CMS with a text component being edited &lt;a href="http://www.koala-framework.org/about/cms/screenshots" target="_blank"&gt;[more screenshots]&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;The current state is that the framework is used in our company for lots of different projects, but due to we just got opensource we have no community yet. We are also lacking of good documentation - but we are willing to fix that - if we succeed in building an community around it.&lt;br /&gt;&lt;br /&gt;So if you are interested in such a framework visit the &lt;a href="http://www.koala-framework.org/" target="_blank"&gt;Koala Framework website&lt;/a&gt; to get more information and &lt;a href="http://www.koala-framework.org/community/mailing_list" target="_blank"&gt;join the mailing list&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425237915521819067-7110131170712250637?l=nikosams.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nikosams.blogspot.com/feeds/7110131170712250637/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nikosams.blogspot.com/2011/11/koala-framework-open-source-web.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/7110131170712250637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/7110131170712250637'/><link rel='alternate' type='text/html' href='http://nikosams.blogspot.com/2011/11/koala-framework-open-source-web.html' title='Koala Framework: Open Source Web Application and CMS Framework'/><author><name>Niko Sams</name><uri>http://www.blogger.com/profile/11777805168853811867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-GPlwO6Ln93I/TtDJb1S3G0I/AAAAAAAAAUU/8WnbJmdVp9E/s72-c/koala-app.png' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425237915521819067.post-8969836304034598736</id><published>2011-10-22T11:07:00.000+02:00</published><updated>2011-10-22T12:49:32.711+02:00</updated><title type='text'>Marble: elevation profile for route</title><content type='html'>I want to present a new feature that got added to Marble recently: an elevation profile generated from SRTM data for calculated routes.&lt;br /&gt;I had personal interest in adding this feature: I do quite a lot of bicycling and when planning routes I need to know the total elevation I have to go up - to compare with alternative routes and to estimate the length of the ride. Additionally a graph that shows the steepest parts of the route is helpful.&lt;br /&gt;But now the obligatory Screenshots:&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-Zper2hqhixE/TqBOHywduCI/AAAAAAAAATY/hzQCFxrSI6M/s1600/elevation-profile1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="176" src="http://1.bp.blogspot.com/-Zper2hqhixE/TqBOHywduCI/AAAAAAAAATY/hzQCFxrSI6M/s320/elevation-profile1.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Viewing the elevation profile of a route&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="text-align: center;"&gt;&lt;div style="text-align: -webkit-auto;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-1MjsI-dEki0/TqKfVkMh68I/AAAAAAAAATo/HjBYu2iEr04/s1600/elevation-profile2.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="177" src="http://4.bp.blogspot.com/-1MjsI-dEki0/TqKfVkMh68I/AAAAAAAAATo/HjBYu2iEr04/s320/elevation-profile2.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Viewing a detail of the route&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;Unfortunately Florian worked on basically the same feature in paralell - because my work was "hidden" in my git clone. But we decided to join forces and took his FloatItem and my elevation loading code to have the best from both developments. So all credits of the above screenshots actually go to Florian.&lt;br /&gt;&lt;br /&gt;Some words about the elevation data:&lt;br /&gt;I converted the &lt;a href="http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/Eurasia/"&gt;NASA SRTM3&lt;/a&gt; data into png tiles which can be loaded by Marble using the standard TileLoader - so all the caching, scaling, reloading and so on could be reused. I uploaded the tiles to files.kde.org - thanks to the sysadmins for providing this server - so we don't depend on NASA for the data.&lt;br /&gt;&lt;br /&gt;On the todo list are features like showing elevation profile for opened tracks and adding more statistics about opened tracks.&lt;br /&gt;&lt;br /&gt;Oh, and Happy Birthday KDE!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425237915521819067-8969836304034598736?l=nikosams.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nikosams.blogspot.com/feeds/8969836304034598736/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nikosams.blogspot.com/2011/10/marble-elevation-profile-for-route.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/8969836304034598736'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/8969836304034598736'/><link rel='alternate' type='text/html' href='http://nikosams.blogspot.com/2011/10/marble-elevation-profile-for-route.html' title='Marble: elevation profile for route'/><author><name>Niko Sams</name><uri>http://www.blogger.com/profile/11777805168853811867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-Zper2hqhixE/TqBOHywduCI/AAAAAAAAATY/hzQCFxrSI6M/s72-c/elevation-profile1.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425237915521819067.post-5044128450649521799</id><published>2011-06-09T20:28:00.000+02:00</published><updated>2011-06-09T20:28:41.329+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='kdevelop'/><title type='text'>KDevelop: Browser Like Tabs</title><content type='html'>After the very nice week in Randa &lt;a href="http://www.proli.net/2011/06/04/kdevelops-randa-sprint-my-take/"&gt;at&lt;/a&gt; &lt;a href="http://www.proli.net/2011/06/06/the-kdevelop-bugs-file/"&gt;the&lt;/a&gt; &lt;a href="http://milianw.de/blog/kdevelop-randa-and-gsoc-2011"&gt;KDevelop&lt;/a&gt; &lt;a href="http://lpapp.blogspot.com/2011/06/news-in-gluon-world.html"&gt;sprint&lt;/a&gt; - which I enjoyed a lot (big thanks to Mario and his helpers for that) -&amp;nbsp; I'd like to present an idea for a fundamental UI change for KDevelop I had for quite some time.&lt;br /&gt;The problem I want to solve is that due to the very good code navigation features you end up with many many open files - which are displayed as tabs. And tabs just don't scale - the only thing that helps is regular closing.&lt;br /&gt;When "browsing" source code, you normally browse like with a web browser. And I think everybody would agree that opening a new tab for every clicked link would be stupid. In a web browser the user has the choice. Ctrl+Click opens a new tab, a normal click navigates to the link in the current tab. When entering an url the same - by default stay in the same tab, but the user can choose to open a new tab first.&lt;br /&gt;And exactly that I implemented for KDevelop:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&amp;nbsp;by default open in current tab&lt;/li&gt;&lt;ul&gt;&lt;li&gt;except: current file as unsaved changes&lt;/li&gt;&lt;li&gt;or: current tab is marked as "Sticky" (as in "Keep it open, I want to edit that file")&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Keyboard modifiers for actions that open files&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Code navigation in document: Ctrl+Shift+Click (instead of Ctrl+Click)&lt;/li&gt;&lt;li&gt;Ctrl+Enter in Quick Open&lt;/li&gt;&lt;li&gt;Ctrl+Click in Project View&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;If this sounds interesting for you - &lt;b&gt;give it a try&lt;/b&gt;! Checkout the "browser-like-tabs" branch in kdevplatfrom and kdevelop:&lt;br /&gt;&lt;br /&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;git clone git://anongit.kde.org/kdevplatform&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt; git checkout browser-like-tabs&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;mkdir build &amp;amp;&amp;amp; cd build &amp;amp;&amp;amp; cmake .. &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;/div&gt;&lt;br /&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;git clone git://anongit.kde.org/kdevelop&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt; git checkout browser-like-tabs&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;mkdir build &amp;amp;&amp;amp; cd build &amp;amp;&amp;amp; cmake .. &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;/div&gt;&lt;br /&gt; Activate the feature in Configuration -&amp;gt; UI Configuration -&amp;gt; Browser like tabs checkbox. (It's disabled by default) Try to get used to it, and send us your thoughts to our &lt;a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel"&gt;mailing list&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;TODO:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The history navigation is broken&lt;/li&gt;&lt;li&gt;Modifiers for Filesystem view and Grep view&lt;/li&gt;&lt;li&gt;Find solution for Ctrl+Dbl-Click in project view extends selection&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425237915521819067-5044128450649521799?l=nikosams.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nikosams.blogspot.com/feeds/5044128450649521799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nikosams.blogspot.com/2011/06/kdevelop-browser-like-tabs.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/5044128450649521799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/5044128450649521799'/><link rel='alternate' type='text/html' href='http://nikosams.blogspot.com/2011/06/kdevelop-browser-like-tabs.html' title='KDevelop: Browser Like Tabs'/><author><name>Niko Sams</name><uri>http://www.blogger.com/profile/11777805168853811867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425237915521819067.post-7110478766641194978</id><published>2010-10-12T19:21:00.000+02:00</published><updated>2010-10-12T19:21:39.155+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='routing'/><category scheme='http://www.blogger.com/atom/ns#' term='marble'/><title type='text'>Marble: configurable routing profiles</title><content type='html'>Wow, long time since the last blog entry.&lt;br /&gt;This time it won't be about KDevelop - as I found another very interesting KDE project.&lt;br /&gt;&lt;br /&gt;I started contributing to OpenStreetMap like two years ago (only local area) and got a Garmin eTrex that can load OSM maps. I use it for bicycling.&lt;br /&gt;&lt;br /&gt;The thing that needs improvement is bicycle routing. I mean in general it works, but when using it in practice it matters a lot (a) what bike you use and (b) what kind of driver you are. So it's nonsense to have a single bicycle routing profile. I want:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;MTB offroad&lt;/li&gt;&lt;li&gt;MTB shortest route&lt;/li&gt;&lt;li&gt;racing using the shortest route (traffic doesn't matter)&lt;/li&gt;&lt;li&gt;racing using the "nicest" route (cycleways, not too much traffic)&lt;/li&gt;&lt;li&gt;family (cycleways only if possible)&lt;/li&gt;&lt;/ul&gt;You see my needs are very special, and this I will never get from google maps or a garmin.&lt;br /&gt;&lt;br /&gt;What I found are a number of open source routing applications using osm data. The most promising one (for my special needs) is &lt;a href="http://www.routino.org/software/"&gt;routino&lt;/a&gt; - as you can easily create profiles using xml files.&lt;br /&gt;&lt;br /&gt;And, of course I want a proper application - nothing web based. (easier to run, faster, better usability)&lt;br /&gt;&lt;a href="http://edu.kde.org/marble/"&gt;Marble&lt;/a&gt; fits in perfectly.&lt;br /&gt;&lt;br /&gt;So I started writing a routino plugin for marble - was quite easy. The only problem was that marble had only a limited number of routing options - as it supports multiple routing backends (online and offline).&lt;br /&gt;&lt;br /&gt;The proper solution are fully configurable profiles - and I just merged this feature into trunk. (I feel very happy about that, thanks to Dennis and Torsten for their help and patience)&lt;br /&gt;&lt;br /&gt;The user can easily create new profiles or adjust them. A default set similar to the previous ones set is loaded on first startup. Just see screenshots below...&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_jyAcl9kbcpM/TLSMFYK_gmI/AAAAAAAAACQ/LyNdGb1HPyQ/s1600/routing-profiles.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="286" src="http://1.bp.blogspot.com/_jyAcl9kbcpM/TLSMFYK_gmI/AAAAAAAAACQ/LyNdGb1HPyQ/s400/routing-profiles.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_jyAcl9kbcpM/TLSMcCwNBzI/AAAAAAAAACU/kw-UUteKAJA/s1600/routing-profiles1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="310" src="http://1.bp.blogspot.com/_jyAcl9kbcpM/TLSMcCwNBzI/AAAAAAAAACU/kw-UUteKAJA/s400/routing-profiles1.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425237915521819067-7110478766641194978?l=nikosams.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nikosams.blogspot.com/feeds/7110478766641194978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nikosams.blogspot.com/2010/10/marble-configurable-routing-profiles.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/7110478766641194978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/7110478766641194978'/><link rel='alternate' type='text/html' href='http://nikosams.blogspot.com/2010/10/marble-configurable-routing-profiles.html' title='Marble: configurable routing profiles'/><author><name>Niko Sams</name><uri>http://www.blogger.com/profile/11777805168853811867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_jyAcl9kbcpM/TLSMFYK_gmI/AAAAAAAAACQ/LyNdGb1HPyQ/s72-c/routing-profiles.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425237915521819067.post-7136047241609128750</id><published>2010-02-20T14:21:00.001+01:00</published><updated>2010-02-20T14:22:40.213+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='kdevelop'/><category scheme='http://www.blogger.com/atom/ns#' term='gdb'/><title type='text'>Using KDevelop for debugging only</title><content type='html'>As you might know, KDevelop has an integrated gdb debugger. But it a bit difficult to set up the launch configuration, especially when not using KDevelop for coding.&lt;br /&gt;There is now an easy way to run the kdevelop debugger only:&lt;br /&gt;&lt;pre&gt;kdevelop --debug gdb executable --args-to-executable&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;When running that command kdevelop starts, runs the executable and breaks in main. You then can do the usual debugging.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Another thing I implemented is a resizable variable tooltip, with that you can look even at vallules like this one:&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_jyAcl9kbcpM/S3_hOukuxnI/AAAAAAAAACA/-nVG5p_eo1k/s1600-h/var1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="75" src="http://2.bp.blogspot.com/_jyAcl9kbcpM/S3_hOukuxnI/AAAAAAAAACA/-nVG5p_eo1k/s640/var1.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;pre&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425237915521819067-7136047241609128750?l=nikosams.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nikosams.blogspot.com/feeds/7136047241609128750/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nikosams.blogspot.com/2010/02/using-kdevelop-for-debugging-only.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/7136047241609128750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/7136047241609128750'/><link rel='alternate' type='text/html' href='http://nikosams.blogspot.com/2010/02/using-kdevelop-for-debugging-only.html' title='Using KDevelop for debugging only'/><author><name>Niko Sams</name><uri>http://www.blogger.com/profile/11777805168853811867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_jyAcl9kbcpM/S3_hOukuxnI/AAAAAAAAACA/-nVG5p_eo1k/s72-c/var1.png' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425237915521819067.post-7669562567353577898</id><published>2010-02-16T19:01:00.000+01:00</published><updated>2010-02-16T19:01:55.308+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='kdevelop'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>Css Language Support Update</title><content type='html'>I'm here at the KDevelop/Kate/Okteta sprint here in Berlin. Having a great time here :D&lt;br /&gt;One thing I made progress on is Css Language Support, it is now supported in style elements embedded in html. Additionally outline navigation works now as expected:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_jyAcl9kbcpM/S3rYfG30_dI/AAAAAAAAABw/CKJlXyDvVio/s1600-h/css1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_jyAcl9kbcpM/S3rYfG30_dI/AAAAAAAAABw/CKJlXyDvVio/s320/css1.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Code completion still works ofcourse:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_jyAcl9kbcpM/S3rYjIuvCtI/AAAAAAAAAB4/DPGZSd9ib54/s1600-h/css2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_jyAcl9kbcpM/S3rYjIuvCtI/AAAAAAAAAB4/DPGZSd9ib54/s320/css2.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;It's now in a pretty usable state, so you might want to &lt;a href="http://websvn.kde.org/trunk/playground/devtools/kdevelop4-extra-plugins/css/"&gt;try&lt;/a&gt; it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425237915521819067-7669562567353577898?l=nikosams.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nikosams.blogspot.com/feeds/7669562567353577898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nikosams.blogspot.com/2010/02/css-language-support-update.html#comment-form' title='16 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/7669562567353577898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/7669562567353577898'/><link rel='alternate' type='text/html' href='http://nikosams.blogspot.com/2010/02/css-language-support-update.html' title='Css Language Support Update'/><author><name>Niko Sams</name><uri>http://www.blogger.com/profile/11777805168853811867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_jyAcl9kbcpM/S3rYfG30_dI/AAAAAAAAABw/CKJlXyDvVio/s72-c/css1.png' height='72' width='72'/><thr:total>16</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425237915521819067.post-6879302359474335076</id><published>2010-02-13T21:18:00.000+01:00</published><updated>2010-02-13T21:18:48.934+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='kdevelop'/><category scheme='http://www.blogger.com/atom/ns#' term='xdebug'/><title type='text'>KDevelop XDebug (Php Debugger)</title><content type='html'>Another important part of a Web IDE is a debugger. The KDevelop XDebug Plugin is a frontend for the php debugger xdebug, and just had it's first beta release.&lt;br /&gt;I'll explain in this post how to set it up.&lt;br /&gt;&lt;h3&gt;Prerequisites:&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;Php&lt;/li&gt;&lt;li&gt;&lt;a href="http://xdebug.org/"&gt;XDebug&lt;/a&gt; extension&lt;/li&gt;&lt;li&gt;xdebug configured to accept remote connections&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;xdebug.remote_enable = 1&lt;/li&gt;&lt;li&gt;xdebug.remote_host = localhost (yourhost if on remote server)&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.kdevelop.org/mediawiki/index.php/KDevelop_4/compiling"&gt;KDevplatform, KDevelop&lt;/a&gt;&lt;/li&gt;&lt;li&gt;The following KDevelop Plugins:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;executescript&lt;/li&gt;&lt;li&gt;executebrowser&lt;/li&gt;&lt;li&gt;xdebug&lt;/li&gt;&lt;/ul&gt;&lt;a href="http://download.kde.org/unstable/kdevelop/3.9.98/src"&gt;(download here)&lt;/a&gt; &lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;Debugging a CLI Script&lt;/h3&gt;&lt;h4&gt;1. Create Launch Configuration&lt;/h4&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_jyAcl9kbcpM/S2WvojmZmgI/AAAAAAAAABQ/BzTv0ES0fN8/s1600-h/xdebug-script-config.png" imageanchor="1" style="clear: left; float: right; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="160" src="http://3.bp.blogspot.com/_jyAcl9kbcpM/S2WvojmZmgI/AAAAAAAAABQ/BzTv0ES0fN8/s200/xdebug-script-config.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Run » Configure Launches...&lt;/li&gt;&lt;li&gt;add Launch Configuration (+)&lt;/li&gt;&lt;li&gt;choose Type "Script Application"&lt;/li&gt;&lt;li&gt;enter interpreter "php"&lt;/li&gt;&lt;li&gt;enter script path&lt;/li&gt;&lt;li&gt;activate the new Launch Configuration in Run » Current Launch Config&lt;/li&gt;&lt;/ul&gt;You may test the Launch Configuration now by executing it (Run » Execute Launch)&lt;br /&gt;&lt;h4 style="clear: both;"&gt;2. Start Debugger&lt;/h4&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_jyAcl9kbcpM/S2WzWKCxpiI/AAAAAAAAABY/kHrgLpWEGaE/s1600-h/xdebug-script-debugging.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="123" src="http://1.bp.blogspot.com/_jyAcl9kbcpM/S2WzWKCxpiI/AAAAAAAAABY/kHrgLpWEGaE/s200/xdebug-script-debugging.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Set a breakpoint (Run » Toggle Breakpoint, or rightclick on icon border in editor&lt;/li&gt;&lt;li&gt;Run » Debug Launch&lt;/li&gt;&lt;li&gt;Happy Debugging :D&lt;/li&gt;&lt;/ul&gt;The debug session is stopped once the script has ended.&lt;br /&gt;&lt;ul&gt;&lt;/ul&gt;&lt;h3 style="clear: both;"&gt;Debugging a Website&lt;/h3&gt;&lt;h4&gt;1. Create Launch Configuration&lt;/h4&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_jyAcl9kbcpM/S2W0WI0xwFI/AAAAAAAAABg/OH5vLF8V9yo/s1600-h/xdebug-browser-config.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="146" src="http://1.bp.blogspot.com/_jyAcl9kbcpM/S2W0WI0xwFI/AAAAAAAAABg/OH5vLF8V9yo/s200/xdebug-browser-config.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Run » Configure Launches...&lt;/li&gt;&lt;li&gt;add Launch Configuration (+)&lt;/li&gt;&lt;li&gt;choose Type "Browser Application"&lt;/li&gt;&lt;li&gt;enter server host and path&lt;/li&gt;&lt;li&gt;activate the new Launch Configuration in Run » Current Launch Config&lt;/li&gt;&lt;/ul&gt;You may test the Launch Configuration now by executing it (Run » Execute Launch)&lt;br /&gt;&lt;h4 style="clear: both;"&gt;2. Start Debugger&lt;/h4&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_jyAcl9kbcpM/S2W1sEZe89I/AAAAAAAAABo/e0p76wzpr_w/s1600-h/xdebug-browser-debugging.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="121" src="http://2.bp.blogspot.com/_jyAcl9kbcpM/S2W1sEZe89I/AAAAAAAAABo/e0p76wzpr_w/s200/xdebug-browser-debugging.png" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Set a breakpoint (Run » Toggle Breakpoint, or rightclick on icon border in editor&lt;/li&gt;&lt;li&gt;Run » Debug Launch&lt;/li&gt;&lt;li&gt;Happy Debugging :D&lt;/li&gt;&lt;/ul&gt;The debug session continues  the script has ended, you can navigate in the browser to debug further scripts. To end the session execute Run » Stop Jobs.&lt;br /&gt;&lt;br /&gt;Remote debugging is possible too, but that is not described in this tutorial.&lt;br /&gt;&lt;br /&gt;If you have problems with configuration, or find any other problem send a mail to &lt;a href="mailto:kdevelop-devel%20_at_%20kdevelop.org"&gt;kdevelop-devel _at_ kdevelop.org&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425237915521819067-6879302359474335076?l=nikosams.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nikosams.blogspot.com/feeds/6879302359474335076/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nikosams.blogspot.com/2010/02/kdevelop-xdebug-php-debugger.html#comment-form' title='22 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/6879302359474335076'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/6879302359474335076'/><link rel='alternate' type='text/html' href='http://nikosams.blogspot.com/2010/02/kdevelop-xdebug-php-debugger.html' title='KDevelop XDebug (Php Debugger)'/><author><name>Niko Sams</name><uri>http://www.blogger.com/profile/11777805168853811867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_jyAcl9kbcpM/S2WvojmZmgI/AAAAAAAAABQ/BzTv0ES0fN8/s72-c/xdebug-script-config.png' height='72' width='72'/><thr:total>22</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425237915521819067.post-1138271260804217538</id><published>2010-02-07T15:35:00.000+01:00</published><updated>2010-02-07T15:35:29.040+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='kdevelop'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>KDevelop Php Update</title><content type='html'>I finished today the (for me) most missing feature in the KDevelop Php language plugin. It fixes parsing problems that occur when a project is initially parsed and the code makes heavy use of classes together with an autoloader. That means no include() statements for parent classes or static function calls. (Typical when using eg. Zend Framewok)&lt;br /&gt;&lt;br /&gt;Previously code completion was broken until you manually forced a reparse, now this reparsing is automatically done once a identifier is not found - the file is added to the parse queue with very low priority - and the base class will be parsed meanwhile - and found correctly in the second pass.&lt;br /&gt;&lt;br /&gt;Credits  for this should mainly go to Hamish - who implemented that more or less the same way in Java language support.&lt;br /&gt;&lt;br /&gt;As KDevelop is currently frozen for Beta8 I couldn't commit yet, until then I created a &lt;a href="http://gitorious.org/niko-kdevelop/niko-kdevelop/commits/php-resheduled-parse-jobs"&gt;temporary git repository&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425237915521819067-1138271260804217538?l=nikosams.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nikosams.blogspot.com/feeds/1138271260804217538/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nikosams.blogspot.com/2010/02/kdevelop-php-update.html#comment-form' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/1138271260804217538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/1138271260804217538'/><link rel='alternate' type='text/html' href='http://nikosams.blogspot.com/2010/02/kdevelop-php-update.html' title='KDevelop Php Update'/><author><name>Niko Sams</name><uri>http://www.blogger.com/profile/11777805168853811867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425237915521819067.post-1646739050557504062</id><published>2010-01-23T19:53:00.000+01:00</published><updated>2010-01-23T19:53:02.971+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='quanta'/><category scheme='http://www.blogger.com/atom/ns#' term='kdevelop'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>KDevelop/Quanta4 Css Language Support</title><content type='html'>I'm currently working on a important part of Quanta4, Css Language support. The only thing supported for now is code completion for standalone css files:&lt;br /&gt;&lt;div class="separator"&gt;&lt;a href="http://1.bp.blogspot.com/_jyAcl9kbcpM/S1s-fIAbxjI/AAAAAAAAABI/ajR6ObFPTRQ/s1600-h/kdevelop-css1.png" imageanchor="1" style="margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="321" src="http://1.bp.blogspot.com/_jyAcl9kbcpM/S1s-fIAbxjI/AAAAAAAAABI/ajR6ObFPTRQ/s400/kdevelop-css1.png" width="400" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;But that is the most useful feature a Web IDE can have.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Still on my todo list is:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;validation (should be easy with the existing parser)&lt;/li&gt;&lt;li&gt;Outline navigation (should be not that hard either)&lt;/li&gt;&lt;li&gt;Support &amp;lt;style&amp;gt; tags and inline styles in html files&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;A few notes on how I implemented the plugin:&lt;br /&gt;&lt;ul&gt;&lt;li&gt; I reused WebKit's flex lexer&lt;/li&gt;&lt;li&gt; then wrote a parser using kdevelop-pg-qt based on WebKits bison grammar. A major difference is that it successfully parses incomplete Css - as it is during writing in the editor.&lt;/li&gt;&lt;li&gt;The code completion parses the file on invocation and goes through the Ast (resulting from the parser) to find the correct type to show.&lt;/li&gt;&lt;li&gt;Then, using an XML file borrowed from Aptana's code assist, the shown completion items are determined.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;How to test (feedback is very welcome!)&lt;br /&gt;&lt;ul&gt;&lt;li&gt;install kdevelop&lt;/li&gt;&lt;li&gt;install trunk/playground/devtools/kdevelop4-extra-plugins/css&lt;/li&gt;&lt;/ul&gt;Ruan recently recently announced on kdevelop-devel that he will work on html/xml language support. There is hope for Quanta4!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425237915521819067-1646739050557504062?l=nikosams.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nikosams.blogspot.com/feeds/1646739050557504062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nikosams.blogspot.com/2010/01/kdevelopquanta4-css-language-support.html#comment-form' title='17 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/1646739050557504062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/1646739050557504062'/><link rel='alternate' type='text/html' href='http://nikosams.blogspot.com/2010/01/kdevelopquanta4-css-language-support.html' title='KDevelop/Quanta4 Css Language Support'/><author><name>Niko Sams</name><uri>http://www.blogger.com/profile/11777805168853811867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_jyAcl9kbcpM/S1s-fIAbxjI/AAAAAAAAABI/ajR6ObFPTRQ/s72-c/kdevelop-css1.png' height='72' width='72'/><thr:total>17</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425237915521819067.post-6431884703990227569</id><published>2010-01-23T11:58:00.001+01:00</published><updated>2011-06-02T20:35:55.562+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='qt'/><category scheme='http://www.blogger.com/atom/ns#' term='gdb'/><title type='text'>Gdb Qt pretty printers updated</title><content type='html'>I just commited an update to the Gdb Qt pretty printers, they work now for Qt 4.6. (I didn't test 4.5, but most won't work anymore I guess)&lt;br /&gt;&lt;br /&gt;The printers need to poke around in private members, that's why they depend on a specific Qt version.&lt;br /&gt;&lt;br /&gt;They are still located in the &lt;a href="http://quickgit.kde.org/?p=kdevelop.git&amp;amp;a=blob_plain&amp;amp;h=43e7be3023451410cd984de96a5c0e6445648cf4&amp;amp;hb=1d0811b4cfa15a19f1bfce983a16519a8f577fb5&amp;amp;f=debuggers/gdb/printers/qt4.py"&gt;kdevelop git&lt;/a&gt;, instructions on how to enable them see &lt;a href="http://nikosams.blogspot.com/2009/10/gdb-qt-pretty-printers.html"&gt;here&lt;/a&gt;. (the svn url changed as kdevelop is now in extragear)&lt;br /&gt;&lt;br /&gt;Unfortunately my merge request for Qt that would add them directly to Qt got rejected, so it is a bit difficult to support multiple Qt versions - for now 4.6 only is supported. Perhaps in future more people will discover this feature in Gdb and they will get added... You know where to find them.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425237915521819067-6431884703990227569?l=nikosams.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nikosams.blogspot.com/feeds/6431884703990227569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nikosams.blogspot.com/2010/01/gdb-qt-pretty-printers-updated.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/6431884703990227569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/6431884703990227569'/><link rel='alternate' type='text/html' href='http://nikosams.blogspot.com/2010/01/gdb-qt-pretty-printers-updated.html' title='Gdb Qt pretty printers updated'/><author><name>Niko Sams</name><uri>http://www.blogger.com/profile/11777805168853811867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425237915521819067.post-2746758195809677016</id><published>2009-11-04T18:19:00.000+01:00</published><updated>2009-11-04T18:19:36.142+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='kdevelop php quanta'/><title type='text'>KDevelop Php Plugin Beta1</title><content type='html'>Today KDevelop Beta6 and Php Plugin Beta1 &lt;a href="http://dot.kde.org/2009/11/04/kdevelop-beta-6-and-php-beta-1-released"&gt;released&lt;/a&gt;.&lt;br /&gt;I'm really excited about that as we have been working on it for quite some time now. Not that we are finished - it's just a first useable version. I'll try to do use it for php coding here at work.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;a href="http://download.kde.org/download.php?url=unstable/kdevelop/3.9.96/src"&gt;» Download now&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;and give us feedback.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425237915521819067-2746758195809677016?l=nikosams.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nikosams.blogspot.com/feeds/2746758195809677016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nikosams.blogspot.com/2009/11/kdevelop-php-plugin-beta1.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/2746758195809677016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/2746758195809677016'/><link rel='alternate' type='text/html' href='http://nikosams.blogspot.com/2009/11/kdevelop-php-plugin-beta1.html' title='KDevelop Php Plugin Beta1'/><author><name>Niko Sams</name><uri>http://www.blogger.com/profile/11777805168853811867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425237915521819067.post-2585126702676618972</id><published>2009-11-02T20:51:00.000+01:00</published><updated>2009-11-02T20:51:08.709+01:00</updated><title type='text'>Web Development and KDE4</title><content type='html'>KDE3 had pretty good applications for web development, the most prominent and useful Quanta3 (actually I'm still a power user of Quanta3). The KDE4 version of Quanta (Quanta4) will be a major rewrite, based on kdevplatform, the base of KDevelop4.&lt;br /&gt;While KDevelop4 just will have it's Beta6 release soon and is usable for daily work, Quanta4 is unfortunately not.&lt;br /&gt;&lt;br /&gt;Well, no problem, you might think - just use Quanta3. But for many people it's not:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Kde3 packages are considered as legacy by distributions and will be dropped sooner or later&lt;/li&gt;&lt;li&gt;some distributions don't ship all packages needed for a full featured Quanta3 (eg missing kio-slaves - no fish://)&lt;/li&gt;&lt;li&gt;a Kde3 application doesn't integrate that well - it's more like a Gtk application in a Kde4 session&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Let's look ahead to the future of Quanta4:&lt;br /&gt;As it's more or less a rewrite and not just porting the old code we have a lot of work to do. The major Quanta3 contributors Andras and Eric don't contribute anymore, so development is more or less on hold. But wait - Quanta4 is based on the same kdevplatform as KDevelop4 - right? That means any KDevelop4 plugin is a Quanta4 plugin. And a &lt;i&gt;lot&lt;/i&gt; happed for those KDevelop4 plugins:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;php language support (that one really rocks)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;php documentation (very useful)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;script executor (execute scripts within KDevelop; needed for debugger)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;browser executor (open external browser; needed for debugger)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;xdebug debugger support (upcoming plugin for debugging php)&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;So active development happens for Quanta4 - we just use all KDevelop4 for testing the plugins.&lt;br /&gt;&lt;br /&gt;If you use Quanta3 for php development, give KDevelop4 a try! The first beta release will get released together with KDevelop4 Beta6 the next days.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425237915521819067-2585126702676618972?l=nikosams.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nikosams.blogspot.com/feeds/2585126702676618972/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nikosams.blogspot.com/2009/11/web-development-and-kde4.html#comment-form' title='27 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/2585126702676618972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/2585126702676618972'/><link rel='alternate' type='text/html' href='http://nikosams.blogspot.com/2009/11/web-development-and-kde4.html' title='Web Development and KDE4'/><author><name>Niko Sams</name><uri>http://www.blogger.com/profile/11777805168853811867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>27</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425237915521819067.post-6146724036718368321</id><published>2009-10-18T20:23:00.001+02:00</published><updated>2011-06-02T20:36:15.815+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='qt'/><category scheme='http://www.blogger.com/atom/ns#' term='gdb'/><category scheme='http://www.blogger.com/atom/ns#' term='kde'/><title type='text'>Gdb Qt pretty printers</title><content type='html'>The recently released gdb 7.0 adds a really great feature: python scripting for pretty printers. It makes it really easy to write pretty printers for any class.&lt;br /&gt;Basically it's the same as &lt;a href="http://labs.trolltech.com/blogs/2009/06/22/peek-and-poke/"&gt;QtCreator&lt;/a&gt; supports, however with a few differences:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;also works in plain gdb on commandline&lt;/li&gt;&lt;li&gt;no compiled debug-helper library needed&lt;/li&gt;&lt;li&gt;a gdb-only solution&lt;/li&gt;&lt;/ul&gt;Example showing a QStringList:&lt;br /&gt;&lt;div class="separator" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_jyAcl9kbcpM/SttYYu8IQlI/AAAAAAAAAAU/ITJs8-mEVXQ/s640/gdb-qt-pretty-print1.png" /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both;"&gt;Of course everything can be combined, as seen here:&lt;/div&gt;&lt;div class="separator" style="clear: both;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_jyAcl9kbcpM/SttZCYhf_CI/AAAAAAAAAAc/fZm3MGLqoGg/s640/gdb-qt-pretty-print2.png" /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both;"&gt;Currently supported classes are: QString, QByteArray, QList, QMap, QDate, QTime, QDateTime&lt;/div&gt;&lt;br /&gt;The code can be found in &lt;a href="http://quickgit.kde.org/?p=kdevelop.git&amp;amp;a=blob_plain&amp;amp;h=43e7be3023451410cd984de96a5c0e6445648cf4&amp;amp;hb=1d0811b4cfa15a19f1bfce983a16519a8f577fb5&amp;amp;f=debuggers/gdb/printers/qt4.py"&gt;KDevelop git&lt;/a&gt; (gdb plugin uses them by default). For using in cli you need the following in ~/.gdbinit:&lt;br /&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;python&lt;br /&gt;import sys&lt;br /&gt;&lt;br /&gt;sys.path.insert(0, '/home/niko/kdesvn/kde-git/kdevelop/debuggers/gdb/printers')&lt;br /&gt;from qt4 import register_qt4_printers&lt;br /&gt;register_qt4_printers (None)&lt;br /&gt;&lt;br /&gt;end&lt;br /&gt;set print pretty 1&lt;/div&gt;&lt;br /&gt;Gdb also supports &lt;a href="http://tromey.com/blog/?p=535"&gt;autoloading&lt;/a&gt; the pretty printers - they could be included in -dev packages. The &lt;a href="http://qt.gitorious.org/qt/qt/merge_requests/699"&gt;merge request&lt;/a&gt; that would add it to qt is still pending.&lt;br /&gt;&lt;br /&gt;And now I'm off watching an episode of &lt;a href="http://en.wikipedia.org/wiki/Dexter_%28TV_series%29"&gt;dexter&lt;/a&gt; :D&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425237915521819067-6146724036718368321?l=nikosams.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nikosams.blogspot.com/feeds/6146724036718368321/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nikosams.blogspot.com/2009/10/gdb-qt-pretty-printers.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/6146724036718368321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/6146724036718368321'/><link rel='alternate' type='text/html' href='http://nikosams.blogspot.com/2009/10/gdb-qt-pretty-printers.html' title='Gdb Qt pretty printers'/><author><name>Niko Sams</name><uri>http://www.blogger.com/profile/11777805168853811867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_jyAcl9kbcpM/SttYYu8IQlI/AAAAAAAAAAU/ITJs8-mEVXQ/s72-c/gdb-qt-pretty-print1.png' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-425237915521819067.post-1947371372798573245</id><published>2009-10-11T21:07:00.030+02:00</published><updated>2009-10-11T22:21:31.273+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='quanta'/><category scheme='http://www.blogger.com/atom/ns#' term='xdebug'/><category scheme='http://www.blogger.com/atom/ns#' term='kde'/><title type='text'>Quanta4 xdebug plugin</title><content type='html'>Hi Planet,&lt;br /&gt;&lt;br /&gt;first, a short introduction: My name is Niko Sams, I'm from Austria. I have contributed to KDE for a while and ever since I planned blogging about - so here I am.&lt;br /&gt;&lt;br /&gt;As a web developer and KDE user I need a good IDE. I use the great Quanta3 for years now, but it's dead now. So I started contributing to Quanta4 - well indirectly though &lt;a href="http://websvn.kde.org/trunk/playground/devtools/kdevelop4-extra-plugins/php/"&gt;various&lt;/a&gt; &lt;a href="http://websvn.kde.org/trunk/playground/devtools/kdevelop4-extra-plugins/executescript/"&gt;kdevelop&lt;/a&gt; &lt;a href="http://websvn.kde.org/trunk/playground/devtools/kdevelop4-extra-plugins/xdebug/"&gt;plugins&lt;/a&gt; - those all will be used by Quanta4.&lt;br /&gt;Yes - Quanta4 is &lt;a href="http://lists.kde.org/?l=quanta&amp;amp;m=125516039018292&amp;amp;w=2"&gt;not dead&lt;/a&gt; - we just need time (and developers).&lt;br /&gt;&lt;br /&gt;What I've been working on recently is a &lt;a href="http://www.xdebug.org/"&gt;XDebug&lt;/a&gt; (php debugger) plugin.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_jyAcl9kbcpM/StIw5lw2X5I/AAAAAAAAAAM/4s50dryRLu4/s1600-h/xdebug-variables.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_jyAcl9kbcpM/StIw5lw2X5I/AAAAAAAAAAM/4s50dryRLu4/s400/xdebug-variables.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;I started on this quite some time ago by creating a generic debugger infrastructure for kdevplatform - and port the kdevelop gdb plugin to that. In kdevelop3 every debugger plugin had it's own set of toolbars, views and everything - you can imagine how this looks like when you have 3 debuggers installed :D&lt;br /&gt;&lt;br /&gt;For kdevplatform the common actions and views are now shared across debuggers.&lt;br /&gt;&lt;br /&gt;Another important part was the new &lt;a href="http://apaku.wordpress.com/2009/04/30/new-launch-framework-landed/"&gt;launch framework&lt;/a&gt; apaku introduced, with that we can have one Run » Launch Debug action that works for all debuggers. (Perhaps someone remembers the "Debug - Not yet working" action we had at the time of our latest KDevelop hack sprint)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You can follow the development here:&lt;br /&gt;&lt;div style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;trunk/playground/devtools/kdevelop4-extra-plugins/xdebug&lt;br /&gt;(for now only debugging local cli php scripts is supported)&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/425237915521819067-1947371372798573245?l=nikosams.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nikosams.blogspot.com/feeds/1947371372798573245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nikosams.blogspot.com/2009/10/quanta4-xdebug-plugin.html#comment-form' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/1947371372798573245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/425237915521819067/posts/default/1947371372798573245'/><link rel='alternate' type='text/html' href='http://nikosams.blogspot.com/2009/10/quanta4-xdebug-plugin.html' title='Quanta4 xdebug plugin'/><author><name>Niko Sams</name><uri>http://www.blogger.com/profile/11777805168853811867</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_jyAcl9kbcpM/StIw5lw2X5I/AAAAAAAAAAM/4s50dryRLu4/s72-c/xdebug-variables.jpg' height='72' width='72'/><thr:total>11</thr:total></entry></feed>
