caolan is currently certified at Master level.

Name: Caolan McNamara
Member since: 2000-02-07 09:11:47
Last Login: 2014-01-20 15:20:01

FOAF RDF Share This

Homepage: http://www.skynet.ie/~caolan

Notes:

I sometimes write stuff

Projects

Articles Posted by caolan

Recent blog entries by caolan

Syndication: RSS 2.0

ppc64le libreoffice

LibreOffice is now ported to ppc64le. make passes, testtools passes and the resulting application is capable of headlessly converting documents to pdf. There's no reason to think it's any less capable of anything else as any other port but I don't actually have a ppc64le and transatlantic ssh tunnels aren't conducive to extensive UI testing.

The tricky bit of the port as always is the uno bridge, especially because the ABI was changed for little endian

https://bugs.openjdk.java.net/browse/JDK-8035647 is handy to get the links to the original elf v2 abi change commits to gcc/libffi

https://ghc.haskell.org/trac/ghc/ticket/8965 is handy to get a friendlier translation of the change where if gcc can see that the arguments to the function to be called will fit in registers then no argument save area is created which stumped me for a while

Syndicated 2014-08-22 14:52:00 (Updated 2014-08-22 14:52:47) from Caolán McNamara

dialog conversion status, 4 to go

Converting LibreOffice dialogs to .ui format, 4 left

I should go on vacation more often. On my return I find that Palenik Mihály and Szymon Kłos, two of our GSOC2014 students, have now converted all but 4 of LibreOffice’s classic fixed widget size and position .src format elements to the GtkBuilder .ui format.

Here's the list of the last four. One (monster) whose conversion is in progress, one that should ideally be removed in favour of a duplicate dialog and two that have no known route to display them. Hacking the code temporarily to force those two to appear is probably no biggy.


Current conversion stats are:
820 .ui files currently exist
There are 3 unconverted dialogs
There are 1 unconverted tabpages
An estimated additional 4 .ui are required
We are 99% of the way through.

What's next, well *cough*, the above are all the dialogs and tabpages in the classic .src format. There are actually a host of ErrorBox, InfoBox and QueryBox that exist in the .src format as well.

These take just two pieces of information, a string to display and some bits that set what buttons to show, e.g. cancel, close, ok + cancel, etc. We want to remove them in favour of the Gtk-alike MessageDialog, but we don't want to actually convert them to .ui format, because they are so simple it makes more sense to just reduce them to strings like this sample commit demonstrates. This might even be possible to at least somewhat automate.

I've now updated count-todo-dialogs to display the count of those *Box elements that exist in src file format, but I'll elide the count of them until the last 4 true dialogs+tabpages are gone.

Syndicated 2014-08-15 15:54:00 (Updated 2014-08-15 15:54:42) from Caolán McNamara

Dialogs and Coverity, current numbers

Converting LibreOffice dialogs to .ui format, 54 conversions remaining

We've now converted all but 54 of LibreOffice’s classic fixed widget size and position .src format elements to the GtkBuilder .ui format. This is due to the much appreciated efforts of Palenik Mihály and Szymon Kłos, two of our GSOC2014 students, who are tackling the last bunch of hard to find or hard to convert ones.

Current conversion stats are:
778 .ui files currently exist
There are 20 unconverted dialogs
There are 34 unconverted tabpages
An estimated additional 54 .ui are required
We are 93% of the way through.

Coverity Defect Density: LibreOffice vs Average

According to Coverity's overview dashboard our current status is:

LibreOffice: 9,425,526 line of code and 0.09 defect density

Open Source Defect Density By Project Size

Line of Code (LOC) Defect Density
Less than 100,0000.35
100,000 to 499,9990.5
500,000 to 1 million0.7
More than 1 million0.65
Note: Defect density is measured by the number of defects per 1,000 lines of code, identified by the Coverity platform. The numbers shown above are from our 2013 Coverity Scan Report, which analyzed 250 million lines of open source code.

Syndicated 2014-07-25 12:05:00 (Updated 2014-07-25 12:05:08) from Caolán McNamara

LibreOffice Coverity Defect Density

Coverity Defect Density: LibreOffice vs Average

We run LibreOffice through Coverity approximately once a week. According to Coverity's overview dashboard our current status is:

LibreOffice: 9,500,825 line of code and 0.13 defect density

Open Source Defect Density By Project Size

Line of Code (LOC) Defect Density
Less than 100,0000.35
100,000 to 499,9990.5
500,000 to 1 million0.7
More than 1 million0.65
Note: Defect density is measured by the number of defects per 1,000 lines of code, identified by the Coverity platform. The numbers shown above are from our 2013 Coverity Scan Report, which analyzed 250 million lines of open source code.

So any crashes you might experience in 4.3 are either a figment of your imagination or a sad commentary on the limitations of static code analysis.

Syndicated 2014-07-03 10:04:00 (Updated 2014-07-03 10:04:38) from Caolán McNamara

scrolling the sidebar with the scroll-wheel

The sidebar comes with a vertical scrollbar for when content doesn't fit in the available space. But the mouse pointer has to be right over the scrollbar to use your scroll wheel, it doesn't work to hover over the content of the sidebar and move the wheel there.

Which is annoying, but on trying to fix that I realized the snag with allowing the wheel-scroll over the sidebar. If you scroll the sidebar down and a widget contained in it ends up under the mouse pointer then if it is a widget which accepts the wheel-scroll it's very easy to accidentally make a change to the widget that has scrolled under the mouse pointer. Spin Buttons for example.

As an aside, this is the exact same problem that I have in glade where I scroll down the property pane with the scroll-wheel and accidentally end up over the "Ellipsize" listbox and inadvertently change it from None to Middle. So if you find labels in LibreOffice with "..." in the middle of them for no good reason, this is why.

Anyway, I still want to scroll the sidebar, but I don't want to end up with this conflicting target-location widget wheel-scroll conflict, so my solution is to continue to send the wheel-scroll events to the previous target so long as the position of the mouse pointer is at the same place as the last wheel event and the time between events is <= the default timeout for raising help tips, i.e. 1/2 a second.

Seems to work well for me, scrolling the sidebars "just works" on master (LibreOffice 4.4) with the scroll wheel without random changes to any scroll-wheel sensitive contents but you can still use the scroll-wheel to modify those widgets on moving to them or when the little timeout completes.

Syndicated 2014-06-27 15:57:00 (Updated 2014-06-27 15:57:58) from Caolán McNamara

227 older entries...

 

caolan certified others as follows:

  • caolan certified hp as Master
  • caolan certified raph as Master
  • caolan certified alan as Master
  • caolan certified lewing as Master
  • caolan certified miguel as Master
  • caolan certified jmason as Journeyer
  • caolan certified jwz as Journeyer
  • caolan certified joey as Journeyer
  • caolan certified jab as Journeyer
  • caolan certified sterwill as Journeyer
  • caolan certified cuenca as Journeyer
  • caolan certified shaver as Master
  • caolan certified MJ as Journeyer
  • caolan certified slogan as Journeyer
  • caolan certified alecm as Master
  • caolan certified aoliva as Master
  • caolan certified btenison as Journeyer
  • caolan certified hpa as Master
  • caolan certified Marcus as Master
  • caolan certified valen as Apprentice
  • caolan certified samth as Journeyer
  • caolan certified erAck as Journeyer
  • caolan certified Malkuse as Apprentice
  • caolan certified martinicus as Journeyer
  • caolan certified sander as Journeyer
  • caolan certified cinamod as Master
  • caolan certified hub as Journeyer
  • caolan certified wlach as Master

Others have certified caolan as follows:

  • bombadil certified caolan as Journeyer
  • mjs certified caolan as Journeyer
  • alan certified caolan as Journeyer
  • jmason certified caolan as Journeyer
  • duncan certified caolan as Master
  • jab certified caolan as Journeyer
  • mblevin certified caolan as Journeyer
  • Jody certified caolan as Master
  • andrei certified caolan as Journeyer
  • bernhard certified caolan as Journeyer
  • btenison certified caolan as Master
  • billf certified caolan as Journeyer
  • camber certified caolan as Journeyer
  • jrennie certified caolan as Journeyer
  • nils certified caolan as Journeyer
  • claudio certified caolan as Journeyer
  • cenobyte certified caolan as Journeyer
  • valen certified caolan as Journeyer
  • cuenca certified caolan as Journeyer
  • samth certified caolan as Journeyer
  • ole certified caolan as Journeyer
  • jules certified caolan as Journeyer
  • thomasq certified caolan as Master
  • tja certified caolan as Journeyer
  • nixnut certified caolan as Journeyer
  • manu certified caolan as Journeyer
  • yakk certified caolan as Master
  • pixelbeat certified caolan as Journeyer
  • jelly certified caolan as Master
  • inri certified caolan as Journeyer
  • nny certified caolan as Journeyer
  • erAck certified caolan as Master
  • sander certified caolan as Journeyer
  • martinicus certified caolan as Master
  • juhtolv certified caolan as Master
  • cinamod certified caolan as Master
  • hub certified caolan as Master
  • ariya certified caolan as Master
  • AlanHorkan certified caolan as Master
  • wlach certified caolan as Master
  • lerdsuwa certified caolan as Master
  • kclayton certified caolan as Master
  • adl certified caolan as Master
  • janneke certified caolan as Journeyer
  • yosch certified caolan as Master

[ Certification disabled because you're not logged in. ]

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

X
Share this page