Главная | Actual Topics | Обратная связь | В избранное | Сделать домашней | Антиспам ;)
 System & Utilities
 Unix News
 OS Emulator
Каталог статей
Все статьи

Биллу Гейтсу тоже предлагают избавиться ...
Вымогательство в борьбе со спамом

October, 2018
Какой из этих ОС Вы отдаете большее предпочтение?

Mac OS
Windows XP
Windows 2003
Что такое ОС? :)

Другие опросы

Всего голосов: 327
Комментарии: 0

Архив Новостей
 October 2018 (5)
 September 2018 (8)
 August 2018 (8)
 July 2018 (11)
 June 2018 (13)
 May 2018 (10)
 April 2018 (14)
 March 2018 (11)
 February 2018 (13)
 January 2018 (13)
 December 2017 (14)
 November 2017 (15)
 October 2017 (19)
 September 2017 (18)
 August 2017 (13)
 February 2017 (14)
 January 2017 (19)
 December 2016 (16)
 November 2016 (16)
 October 2016 (21)
 September 2016 (18)
 August 2016 (16)
 July 2016 (16)
 June 2016 (20)
 May 2016 (18)
 April 2016 (15)
 March 2016 (22)
 February 2016 (17)
 January 2016 (15)
 December 2015 (15)
 November 2015 (22)
 October 2015 (20)
 September 2015 (17)
 August 2015 (25)
 July 2015 (20)
 June 2015 (23)
 May 2015 (21)
 April 2015 (17)
 March 2015 (19)
 February 2015 (9)
 January 2015 (23)
 December 2014 (9)
 November 2014 (13)
 October 2014 (12)
 September 2014 (18)
 August 2014 (20)
 July 2014 (10)
 June 2014 (12)
 May 2014 (12)
 April 2014 (10)
 March 2014 (22)
 February 2014 (10)
 January 2014 (8)
 December 2013 (26)
 November 2013 (53)
 October 2013 (40)
 September 2013 (48)
 August 2013 (63)
 July 2013 (56)
 June 2013 (52)
 May 2013 (49)
 April 2013 (67)
 March 2013 (74)
 February 2013 (63)
 January 2013 (62)
 December 2012 (62)
 November 2012 (66)
 October 2012 (68)
 September 2012 (48)
 August 2012 (75)
 July 2012 (60)
 June 2012 (71)
 May 2012 (69)
 April 2012 (85)
 March 2012 (86)
 February 2012 (90)
 January 2012 (81)
 December 2011 (103)
 November 2011 (118)
 October 2011 (74)
 September 2011 (2)
 June 2011 (110)
 May 2011 (118)
 April 2011 (111)
 March 2011 (112)
 February 2011 (101)
 January 2011 (119)
 December 2010 (117)
 November 2010 (118)
 October 2010 (131)
 September 2010 (117)
 August 2010 (226)
 July 2010 (351)
 June 2010 (305)
 May 2010 (319)
 April 2010 (343)
 March 2010 (329)
 February 2010 (311)
 January 2010 (312)
 December 2009 (266)
 November 2009 (156)
 July 2009 (101)
 June 2009 (279)
 May 2009 (365)
 April 2009 (348)
 March 2009 (347)
 February 2009 (323)
 January 2009 (318)
 December 2008 (237)
 November 2008 (155)
 October 2008 (334)
 September 2008 (310)
 August 2008 (343)
 July 2008 (362)
 June 2008 (322)
 May 2008 (475)
 April 2008 (1276)
 March 2008 (1658)
 February 2008 (250)
 January 2008 (6)
 November 2007 (1)
 September 2007 (1)
 June 2007 (1)
 May 2007 (1)
 March 2007 (1)
 January 2007 (2)
 December 2006 (1)
 October 2006 (2)
 September 2006 (1)
 August 2006 (2)

System & Utilities

[ Перейти на главную | Выбрать новую тему ]

Jason A. Donenfeld (zx2c4/jdonenfeld): Interfacing CGit and Gitolite

System & Utilities

As many of you know, the KDE Project is transitioning to using Git with Gitolite and CGit. As such, I thought I’d update my aging Gitweb/posix-permissions installation of git to use CGit and Gitolite, and now my public git repository is kicking away. (If you’d like commit access any place or would like to host your own repo on my server, drop me a line.)

Since Gitolite manages git repositories, it has the option of generating the necessary information for Git’s shipped gitweb. This includes making a static list of repository names that should be included in gitweb as well as optionally adding the gitweb.owner entry inside .git/config and the description file at .git/description. The static list of repository names is boring and standard and easy. The owner and description specifications are standards set by the Git project for this kind of information. Hence, Gitolite supports interfacing with them.

Meanwhile, CGit uses its own configuration format for determining the owner and description and more...

Подробнее | Разместил: Planet KDE | Дата: 30.07.2010 | Прочитано: 6137 | Комментарии

Aaron Seigo (aseigo): Plasma in KDE's Wikis

System & Utilities The Plasma team tries to care about documentation. We always fall short of our own high expectations, in part because they are high and in part because we don't have a technical writer in the project. What a difference just one technical writer as a Plasma team member would make!

Still, we have quite a bit of documentation around. This includes API docs, examples and Techbase tutorials. I'm quite proud of the comprehensive documentation we have for things like the desktop scripting, Javascript API and Theme contents (thanks to Marco for updating that one today!) as well as the growing number of examples we are adding.

We have, however, been committing two sins: we've been abusing Techbase as a project community wiki and we haven't been writing end user documentation. We're fixing that, but before I go into details I'd like to point you to Dominik's excellent reminder-by-blog regarding the mission of each of KDE's public wikis. To quote the summary from that blog more...

Подробнее | Разместил: Planet KDE | Дата: 30.07.2010 | Прочитано: 557 | Комментарии

Michael Leupold (lemma): KDE SC 4.5 Release Party in Stuttgart

System & Utilities

As blogged about by Lydia, we'll be having a release party in Stuttgart to celebrate KDE SC 4.5. Here I am with some details about the event.

  • Date and time: Saturay 7th of August, 18:00.
  • Location: Letzte Instanz, Stuttgart-Untert

Подробнее | Разместил: Planet KDE | Дата: 30.07.2010 | Прочитано: 576 | Комментарии

Marc Mutz: Gpg4win v2.0.4 released

System & Utilities

Gpg4win LogoFrom the announcement:

We are pleased to announce the availability of a new stable Gpg4win
release: Version 2.0.4.

The download is available via the usual download page:

This release contains a security fix for GPGSM.

Подробнее | Разместил: Planet KDE | Дата: 29.07.2010 | Прочитано: 680 | Комментарии

Thomas Thym (ungethym): KDE release counter

System & Utilities Dion just made new release counter for 4.5.

Just add a HTML/JavaScript gadget to your blog:

For the square banner:

<a href="" target="_blank"><img class="aligncenter" src="" alt="KDE SC 4.5 Release Counter" /></a>

KDE SC 4.5 Release Counter

For the long banner:

<a href="" target="_blank"><img class="aligncenter" src="" alt="KDE SC 4.5 Release Counter" /></a>

KDE SC 4.5 Release Counter

Подробнее | Разместил: Planet KDE | Дата: 29.07.2010 | Прочитано: 705 | Комментарии

uim 1.6.0-alpha

System & Utilities

It aims to provide a flexible development platform and useful user environment for input methods.

Подробнее | Разместил: KDE News | Дата: 29.07.2010 | Прочитано: 573 | Комментарии

Adriaan de Groot (adridg): Back in time (2)

System & Utilities

Different kind of back-in-time post, this time more like Marty McFly. I started Akregator (Kubuntu 10.4 installation) to reduce the amount of planet-surfing I do, and it comes up with a bunch of pre-configured feeds. One of them is Akregator News. It’s a fascinating time machine. I guess it’s in the default configuration and just never got changed, since it still points to the SourceForge pages. News articles about Qt 3.2, KDE 3.4 (remember that PIM skipped one minor then?). News stopped then and it moved to the blog, which culminated with KDE3-to-4 build instructions in december 2005. My. Have we been in KDE4-land (the long winding road to 4.0 and thereafter) for four and a half years already?

Подробнее | Разместил: Planet KDE | Дата: 29.07.2010 | Прочитано: 552 | Комментарии

Jason A. Donenfeld (zx2c4/jdonenfeld): KRunner Dictionary Plugin: Finally

System & Utilities

Four months ago I promised to make a dictionary KRunner plugin. I’ve finally started to write it.

It’s currently in kdereview and will hopefully be included with KDE SC 4.6.

It functions as simply as I wanted it to back in March: you hit alt+f2, type “define {your word}”, and presto, the results are there.

Unfortunately, it wasn’t as easy as it ought to have been. I utilize the same data source as the dictionary plasmoid, which is a Plasma::DataEngine, and as it turns out, DataEngine has a few issues with threading, which KRunner relies on. It’s also built around signal/slot async requests, while KRunner uses a blocking thread for computation. I ended up having to invoke a QMetaMethod to shuffle things to the right thread and use a QMutex for synchronization. What a hassle. Nevertheless, the dictionary plugin seems to work pretty well.

Anything I should add to it? Ability to choose alternative trigger words to “define”? Some kind of more...

Подробнее | Разместил: Planet KDE | Дата: 29.07.2010 | Прочитано: 613 | Комментарии

Sune Vuorela (pusling): Transport data easily to mobile phones

System & Utilities

I guess we all have the challenge of how to easily get a link or a phone number or some other strings of data from the computer to the mobile phone.

With the help of mobile barcodes and klipper, this is now possible in KDE Trunk to do easily. Place some data in clipboard, click on klipper and select Show barcode.

show barcode option in klipper menu

Mobile barcode in klipper

To read it, open the barcode app in your phone (mBarcode on n900 for example) and point it to your monitor.

Подробнее | Разместил: Planet KDE | Дата: 29.07.2010 | Прочитано: 573 | Комментарии

[Torrent] Linux Mint 9 Isadora Kde DVD i386

System & Utilities

Linux Mint 9 Isadora KDE DVD i386 Clement Lefebvre has announced the release of Linux Mint 9 "KDE" edition: "The team is proud to announce the release of Linux Mint 9 KDE.

Подробнее | Разместил: KDE News | Дата: 29.07.2010 | Прочитано: 601 | Комментарии

Stephen Kelly (steveire): Grantlee version 0.1.4 now available

System & Utilities

The Grantlee community is pleased to announce the release of Grantlee version 0.1.4.

This is the 3rd release of Grantlee in the month of July. Lets hope the development pace continues.

Grantlee now compiles almost cleanly with QT_NO_CAST_FROM_ASCII and QT_NO_CAST_TO_ASCII. I say almost because I can’t actually build Grantlee with those flags by default without breaking binary compatibility, because of some interesting design decisions. Making it compile with those flags was a good learning experience though, and a step towards full localization support in Grantlee templates through multiple APIs.

Another significant new feature in this release is that Grantlee now automatically finds its own default plugins at runtime. This is something I didn’t initially implement because I wrongly thought it was a platform issue to find plugins, even default plugins. Most new users of Grantlee hit into problems with this though, and finally Michael Jansen contributed a patch to resolve the issue. This should lower the barrier to entry to developing with Grantlee a little bit and that’s more...

Подробнее | Разместил: Planet KDE | Дата: 29.07.2010 | Прочитано: 580 | Комментарии

Jos Poortvliet: New job...

System & Utilities Hi all!

openSUSE just announced that I will be joining them. Yay, I'll be part of the masses of Free Software contributors who are doing what they love to do, full time, supported by a paycheck!

The job

Novell has hired me as the new openSUSE community manager. I've got some big shoes to fill, Joe 'Zonker' Brockmeier did a great job. I've been diving into openSUSE (way too much to grasp in a short time...) and I've read several comments from people who miss him. I'm no Zonker - different people, different ideas & habits. However, I can tell you I greatly look forward to the work and I'll put all my love and energy into it ;-)

But please be patient for a week or so, as I still have my old job...

about me

For those who don't know me, a short FOSS resume (the 'real world life' ain't that interesting): I've been a moderator on the dutch Mandrivaclub forums (which was very active about 5 years more...

Подробнее | Разместил: Planet KDE | Дата: 28.07.2010 | Прочитано: 657 | Комментарии

Reply to comment

System & Utilities

If there was any justice in this world, there would be two cars parked in my driveway.

Подробнее | Разместил: KDE News | Дата: 28.07.2010 | Прочитано: 564 | Комментарии

Rafael Fern

System & Utilities

Yeah ! It is now for real ! We have an integrated Bluetooth system with our desktop. BlueDevil (the new bluetooth stack for KDE) consists of several key features:

  • libbluedevil: a Qt-only based library to handle almost everything Bluetooth related. It contains lots of functionality. It deserves a post for itself :)
  • 2 KIOs: bluetooth and obexftp. Former for discovering devices and services. Latter for browsing and doing typical operations over a remote device.
  • 3 KCMs: Devices, Adapters and File Transfer. First one will allow you to configure everything related to your known remote devices. Second one for configuring your adapters (usually you will only have one, but having several adapters is supported here). Third one for configuring where the files being sent over bluetooth will be saved, and to globally enable/disable file transfer.
  • Monolithic application: ala KBluetooth.

It has been a pretty intense work, but it has been fun, and I am really glad of having contributed heavily to this technology. Working in UFO Coders is more...

Подробнее | Разместил: Planet KDE | Дата: 28.07.2010 | Прочитано: 479 | Комментарии

Jonathan Thomas (JontheEchidna): Whatever might this be? (Return of the Whatever)

System & Utilities

Mysteriously introducing new Plasma-based technologies…. it’s what we do. (Click shinies for bigger)

…and I’ll leave you with that.

Oh, and I’m planning the QApt/Muon 1.0 beta release for tomorrow. (Well, technically today, as it is just past midnight. Probably within twelve hours.) But I need some sleep now. I’ll also probably be nice and fill in a bit more about the mysterious contents of this blog post. ;)

Подробнее | Разместил: Planet KDE | Дата: 28.07.2010 | Прочитано: 551 | Комментарии

Volker Lanz (Torch): Sports Activity Tracking App: The Baby Needs a Name

System & Utilities

While you were all not looking I wrote a new app.

This one’s an activity and sports tracking application similar to the .NET-behemoth Sport Tracks or Garmin Training Center.

It’s not a hundred percent complete yet and has its share of rough edges, but to give you an impression of what works already, let’s see some screenshots:

Above you can see the application’s activity view. The central list shows all activities from the currently selected category (which can be seen in the panel on the left). Below the list you can see the selected activity’s details.

There’s also a basic graph at the bottom, visualizing speed over time for the activity; more visualisations are available as you can see. There’s a calendar showing the date the activity was recorded and a profile panel, with the athlete’s name, birth date, height and picture. more...

Подробнее | Разместил: Planet KDE | Дата: 28.07.2010 | Прочитано: 645 | Комментарии

Linuxables: Meet Kate, the KDE Text Editor

System & Utilities

"We conclude our whimsical jaunt down text editor lane with a look at the KDE take on that always-necessary tool - the text editor.

Подробнее | Разместил: KDE News | Дата: 28.07.2010 | Прочитано: 649 | Комментарии

Friedrich Kossebau (frinring): First release of Cagibi, prototype of cache/proxy daemon for UPnP device listening and publishing

System & Utilities

Cagibi is the prototype (in progress) of a cache/proxy daemon for SSDP (the discovery part of UPnP).
Starting with upcoming KDE SC 4.5 the network:/ kio-slave (from kdebase/runtime) will optionally use this daemon to also show UPnP devices/services in its listing of the local network: If the UPnP (root)device (e.g. a router or a media server like on the PS3) offers a web interface, the network:/ kio-slave will forward to that url on a click of the item in the listing.
(There is no build-time check for it in the network:/ kio-slave code yet, as well as no pkg-config support in Cagibi. It’s an optional run-time D-Bus dependency, if not existing just silently ignored by the network:/ kio-slave system)

Cagibi 0.1.0 tarballs can be downloaded from stable/cagibi at the KDE ftp server (please consider using one of the mirrors).

As the network:/ kio-slave so far only supported services as reported from DNS-SD/Zeroconf via the Avahi daemon on GNU/Linux (as wrapped by KDNSSD more...

Подробнее | Разместил: Planet KDE | Дата: 28.07.2010 | Прочитано: 854 | Комментарии

Friedrich Kossebau (frinring): Akademy, development catalysator

System & Utilities

While most of my fellows at Openismus are currently in The Hague for the GUADEC (after all those who are there are Gnome users and developers ;) ) I got aware that this year’s edition of the conference for users and developers of KDE software, Akademy, is already a few weeks ago again, time to complete and dump my blog entry about it. (And time to welcome next year’s joint event, so all Openismus people will be at the same place at the same time :) ).

After more than two month with almost no work on KDE stuff (due to broken backlight on old laptop, starting as employee at Openismus and for this moving to and settling temporarily in Helsinki, getting a new shiny laptop but with completely broken kernel drivers for the GPU) I was happy to be able to dedicate my full time to KDE stuff again, by rushing some development setup onto the laptop I temporarily have for work and start hacking more...

Подробнее | Разместил: Planet KDE | Дата: 28.07.2010 | Прочитано: 639 | Комментарии

Marco Martin (notmart): Developments on Plasma Mobile

System & Utilities

Sometimes we have to clone ourselves 5 or 6 times to manage to do everything. It's a kind of magic we rarely succeed, but sometimes we do :)

Between Akademy and bugfixes for the SC 4.5 release, I managed to get some work done on the Plasma Mobile front, and a quick video of it can be seen there:

OGG version

Now there is a new kind of activity for managing widgets there, a new addition to the Desktop (that you normally use on normal computers) and the newspaper (designed for netbooks and big tablets)

This one, that is called mobile desktop, is explicitly tought for very small screens (in phisical size, pixel resolution has nothing to do with size!). It's based on a big flicking scroll widget, just as the newspaper, because the main method of interaction if a touchscreen, but shows only 2 widgets per screen, (at their minimal size to still make sense)

If you scroll everything around no interaction with the widgets will happen, but if you tap one, it will get maximized, more...

Подробнее | Разместил: Planet KDE | Дата: 27.07.2010 | Прочитано: 582 | Комментарии

Diana Tiriplica (dianat): GSoC – View differences for Kate’s swap files

System & Utilities


As I stated in a previous post, the swap file feature for Kate is almost done. Back then, the view differences feature wasn’t ready, but now we have a basic implementation of it.
So now, by pressing the “View changes” button, a new KProcess is created, which receives as command line arguments the ‘diff’ program and the two files to be compared. One file is the original file on the disk, and the other one is represented by the recovered data read from the standard input. Then, Kompare launches, and there you can see the differences.
But sadly, at the moment you can’t merge the changes or some of them through Kompare, but I’m working on it. All you can do is see the differences and decide whether you want to recover the lost data or not. Close Kompare, and then press the “Recover” button or the “Discard” one, depending on what you want to do.

Подробнее | Разместил: Planet KDE | Дата: 27.07.2010 | Прочитано: 610 | Комментарии

Fathi Boudra (fabo): VLC backend for Phonon 0.2.0

System & Utilities

The VLC backend for Phonon is released!

You can download it from here:

33a1ca367989e306507ea633c99b8df5 phonon-backend-vlc-0.2.0.tar.gz

Thanks to all contributors and to the VLC developers.

Подробнее | Разместил: Planet KDE | Дата: 27.07.2010 | Прочитано: 558 | Комментарии

Lydia Pintscher (Nightrose): KDE SC 4.5 release parties – let’s get them started!

System & Utilities

I’m back from conference touring (which was awesome btw – more about that later) and Tom reminded me that the release parties for 4.5 are not planned yet. And the release is planned for August 4th, so in a bit more than a week. OMG!

Clearly it is time to fix this situation and give the world a chance to meet some cool KDE people. So go to the 4.5 release party planning page and check if there is one near you already. If there is one then sign up for it and have fun. If there is none yet it’s time to start one. Pick a date and time (preferably within 3 weeks of release) and reserve a place in a local restaurant, bar, meeting room, university, whateverelsefits. Add it to the wiki page, spread the word and then have lots of fun.

Of course it’s my pleasure to announce the first of hopefully many release parties: Stuttgart, Germany on 7th of August. Exact place and time is still to be determined. Check the wiki page more...

Подробнее | Разместил: Planet KDE | Дата: 27.07.2010 | Прочитано: 590 | Комментарии

Boudewijn Rempt (boud): Last Week in Bangalore

System & Utilities

Yeah, I know, I'm riffing on Last Week in Krita and Last Week in KOffice... Marijn and me have been in Bangalore for a week now. I think that, code-wise, we've made really good progress. I've completed most of the work to make KOffice's flake library flexible enough that a canvas widget can be implemented either as a QWidget or a QGraphicsWidget. Marijn has implemented a QGraphicsWidge-based canvas for KSpread, and I've done the same for KWord -- and now we're testing that, and that will probably mean we'll have to fix some stuff in our canvas implementations, of course. And Marijn has also been working on fixing memcheck errors and performance issues, notably a recent regression in loading speed in KSpread. Probably caused by the new text-on-shape feature.

Friday afternoon, we met with the students again. They've been doing some really good work. I've already written about a lot of it in my Last Week in KOffice blog, but this time they demoed it to us. Two new students are working on a more...

Подробнее | Разместил: Planet KDE | Дата: 26.07.2010 | Прочитано: 1026 | Комментарии

Lukas Tvrdy (lukast): Week 29: Performance and bugs

System & Utilities

This week I continued to work on fixing Krita. I started with outlines. When you fix something, you break something other sometimes. It happened this time. Duplicate brush known as clone tool in Gimp is somehow special regarding the outlines. It is showing outline even if you are not in outline mode. It is also the only brush engine, that needs to know the position of the input device (mouse/tablet) and my new API with QPainterPath did not included this information. I fixed it, changed the API and also use the position of the device for other brush engines. That resulted in more simple code in the freehand tool. Also I simplified the way you code outlines. Before you had to specify the area of the outline in separate function so that it is erased correctly when redrawing the canvas. Now I use bounding box of the QPainterPath. One bonus of my work is this one: When you wanted to duplicate some area, first you have to setup origin point with CTRL+click. This was outlined by cross. Now it is more...

Подробнее | Разместил: Planet KDE | Дата: 26.07.2010 | Прочитано: 826 | Комментарии

Colin Guthrie (coling): Speak[er Setup] Now, or Forever hold your Peace.

System & Utilities

Well it's taken me a little time to commit this work, but here it is. This is the fruits of my labour from the KDE Multimedia Sprint earlier this year.

As well as taking part in various discussions, I was able to spend some time cooking up a UI to control the configuration of PulseAudio and the various cards attached.When adding PulseAudio support to the various parts of KDE that need it (Phonon, KMix), there was an important part of the puzzle missing: a card profile selector, and a sink/source port selector. I had always intended to include this functionality somewhere, but the KMix framework didn't really allow for it neatly (I could have created a separate dialog of course but it didn't quite feel right).

The eagle eyed readers may have seen a sneak preview of this feature when looking at the KDE-specific help page I wrote up on the PulseAudio website. So I give you this: the Speaker Setup tab in System Settings.

Подробнее | Разместил: Planet KDE | Дата: 26.07.2010 | Прочитано: 620 | Комментарии

Paulo R

System & Utilities
Hi, all.

Last week I said to you that HUPnP did not recognize UPnP internet gateway devices in the network. Now I think I can say it used to not recognize. :-)

Seems like Tuomo's patch fixed the problem and now the Solid UPnP backend is able to "see" my wireless router and finally invoke the UPnP actions available on it (like to do some port redirect and toggle the internet access, for instance). I have made some tests and seems like the action invocations are working well from the HControlPoint instance in the UPnPDeviceManager. Now it's time to refine the API and add more operations, probably.

However, "the world is cruel". This week Nikhil and Bart pointed to me and Kevin some problems with the media server stuff. Besides some mistakes on the HUPnP use from my part, seems like there is more...

Подробнее | Разместил: Planet KDE | Дата: 26.07.2010 | Прочитано: 495 | Комментарии

Dominik Haumann: The Mission of KDE’s Wikis

System & Utilities

KDE has three wikis: TechBase, Community and UserBase. The separation has the following meaning according to

  • TechBase: The primary place for high quality technical information about KDE targeted at 3rd party developers, ISVs and system administrators.
  • Community: The working area for the KDE community. It provides a place for sharing information within the community and coordinating community teams.
  • UserBase: The home for KDE users and enthusiasts. It provides high quality information for end users on how to use KDE applications.

So TechBase is a source of mostly technical information. This includes step-by-step howtos for all sorts of KDE development as well as the feature plans and schedules for KDE releases and so forth. It’s mainly static content. Think of a howto for a Plasma Widget or a howto for building KDE. The content usually is valid for a long time, mostly even for years. For those of you longer in the KDE project, TechBase more...

Подробнее | Разместил: Planet KDE | Дата: 26.07.2010 | Прочитано: 595 | Комментарии

Luca Beltrame (einar77): OCS and KDE Forums – work continues

System & Utilities

With my last entry, I announced the start of the work for an OCS library for the KDE Community Forums. Today I’d like to blog again about the recent developments.

First of all, now there isn’t one, but two Python modules:

  • ocslib, a pure Python module that can be used to interface with OCS-based forum systems;
  • ocslibkde, a PyKDE4 based module that can be used to interface with OCS-based forum system in KDE applications.

Currently ocslib supports reading and posting, while ocslibkde only reading (as of now). Both can be retrieved from the kde-forum-mods repository under the ocs-client subdirectory. The Python lib needs unit-testing, then I’ll be able to push a tarball soon for people to test (but you can always check out the Git repository). With regards to the PyKDE4 library, I plan on making a proof-of-concept plasmoid soon that shows how to use the API.

Speaking of API, here are some examples using ocslib:

>>> from ocslib import service# Connect to OCS
>>> ocs_service = ocslib.service.OCService("") more...

Подробнее | Разместил: Planet KDE | Дата: 26.07.2010 | Прочитано: 464 | Комментарии

Marc Mutz: BC/SC Gotcha: reimplementing a virtual function

System & Utilities

This might surprise you: Adding a reimplementation of a base class virtual function to a derived class might be binary incompatible. Here’s why.

Assume you have the following classes in a library that maintains binary compatibility across releases:

// release 1.0
struct base { virtual f() {} };
struct derived : base {}; // doesn't reimplement base::f()

And in an application using the above library:

derived d;
d.f(); // ok, calls base::f()

Q: Is d.f() a virtual function call?
A: No. Not if your compiler is any good.

When the compiler can prove the dynamic type of an object, it will resolve the polymorphic calls at compile time. In other words: It will de-virtualise the call.

In our case, the compiler can prove that d‘s dynamic type is derived, so it just inserts the function call to base::f(). Don’t believe me? Ask your compiler:

struct base {
virtual ~base();
virtual void f() const;

struct derived : base {
//void f() const;

void foo1( derived d ) { more...

Подробнее | Разместил: Planet KDE | Дата: 25.07.2010 | Прочитано: 579 | Комментарии
Всего 7605 на 254 страницах по 30 на каждой странице
[<<] [ 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | ... | 254 ] [>>]
Google Search


Топ Новостей
1: Fedora and KDE/spin\'s treatment - Discussion
Просмотров - 2574

2: Offline Vaults for an extra layer of protection
Просмотров - 694

3: KDE\'s Kirigami 2.0 Framework for Convergent UIs Enters Beta with New Features
Просмотров - 681

4: Akonadi/KMail issues on Tumbleweed?
Просмотров - 652

5: Netrunner Desktop 16.09 "Avalon" Linux OS Is Out with Kernel 4.7, KDE Plasma 5.7
Просмотров - 631

6: KDevelop 5.0.2 released for Windows and Linux
Просмотров - 615

7: Debugging issues booting a PC in 2018
Просмотров - 566

8: Multi-screen woes in Plasma 5.7
Просмотров - 545

9: plib3.gui 0.9.9
Просмотров - 542

10: Embrace Open Source culture: the 5 common transformations.
Просмотров - 535

11: Konstruct
Просмотров - 533

12: GSoC Update 1: The Beginning
Просмотров - 528

13: Come dine with the KDE e.V. board in Berlin in October
Просмотров - 512

14: Interview with Neotheta
Просмотров - 512

15: Qt SCXML and State Chart Support in Qt Creator
Просмотров - 511

Google 120X240

Главная | Actual Topics | Статьи | Обратная связь | Guest Book
Генерация: 0.256 сек. и 41 запросов к базе данных за 0.147 сек.
Powered by SLAED CMS © 2005-2007 SLAED. All rights reserved.