Bug#777241: dbus-java-bin: CreateInterface failes to parse DBus type signature

2015-06-17 Thread Michael Stapelberg
Hi Ronny,

Ronny Standtke ronny.stand...@fhnw.ch writes:
 This reproducibly failes with the following output:
 /* File: org/freedesktop/UDisks2/Block.java */
 package org.freedesktop.UDisks2;
 ERROR: Failed to parse DBus type signature: h (h).
Attached you can find a patch which interprets UNIX_FD types (DBus char
h) as an uint32, which is not an entirely satisfactory solution, but
makes the tool work for most of the use-cases.

-- 
Best regards,
Michael
From 9531c9cb746ec67a57fc2c8d213ecd4679c93335 Mon Sep 17 00:00:00 2001
From: Michael Stapelberg stapelb...@debian.org
Date: Wed, 17 Jun 2015 13:49:55 +0200
Subject: [PATCH] quick and dirty fix to make CreateInterface work with
 interfaces containing UNIX_FD

---
 org/freedesktop/dbus/Marshalling.java | 5 +
 1 file changed, 5 insertions(+)

diff --git a/org/freedesktop/dbus/Marshalling.java b/org/freedesktop/dbus/Marshalling.java
index 06c9a8c..eec1e49 100644
--- a/org/freedesktop/dbus/Marshalling.java
+++ b/org/freedesktop/dbus/Marshalling.java
@@ -334,6 +334,11 @@ public class Marshalling
   c = getJavaType(dbus.substring(i+1), contained, 2);
   i+=c+1;
   break;
+   case 'h':
+  // TODO: Expose the additional fds that the UNIX_FD type
+  // provides.
+  rv.add(UInt32.class);
+  break;
default:
   throw new DBusException(MessageFormat.format(_(Failed to parse DBus type signature: {0} ({1}).), new Object[] { dbus, dbus.charAt(i) }));
 }
-- 
2.1.0

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#682069: yui-compressor: Can't find bundle for base name org.mozilla.javascript.resources.Messages, locale en_US

2013-03-08 Thread Michael Stapelberg
Hi Mathieu,

Mathieu Malaterre ma...@debian.org writes:
 $ wget https://raw.github.com/thatcher/openseadragon/master/openseadragon.js
 $ yui-compressor -o test.js openseadragon.js
I am not sure why yui-compressor in Debian does not print out useful
error messages. Anyway, the javascript file you refer to is invalid, as
you can see when you try to compress it via this online tool (also using
yui-compressor, but with proper error reporting):

http://refresh-sf.com/yui/

I suppose this bug should be retitled “yui-compressor’s error reporting
does not work in Debian”. Do you agree?

-- 
Best regards,
Michael

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#682069: yui-compressor: Can't find bundle for base name org.mozilla.javascript.resources.Messages, locale en_US

2013-03-08 Thread Michael Stapelberg
Hi Mathieu,

Mathieu Malaterre ma...@debian.org writes:
 yui-compressor could definitely prints out some message whether or not
 the js is valid or not. But fundamentally it should not throw an error
 like this, at least it should catch it's own exception.
 gcc catch it's own ICE and report them nicely.
I absolutely agree. It seems that yui-compressor _tries_ to print out an
error message and crashes while doing that.

-- 
Best regards,
Michael

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#684604: eclipse-rcp: eclipse 3.8 hangs on splash screen with Loading Workbench after update from 3.7.2

2012-12-02 Thread Michael Stapelberg
On Sat, 25 Aug 2012 20:27:35 +0200
Felix Natter fnat...@gmx.net wrote:
 http://www2.inf.fh-brs.de/~fnatte2s/testRefactoring-sample-workspace.tar.bz2
This file is no longer online. Could you re-upload please?


On Mon, 24 Sep 2012 21:55:56 +0200
Ulrich Van Den Hekke ulrich@shadoware.org wrote:
 I have the same problem. I start eclipse configure some project,
 install ADT plugin to work, after a few restart, i have this bug
 (splash screen hang on Loading Workbench). Removing .eclipse resolve
 the problem, but i need to reinstall plugin, and configuration, until
 the next hang.
Could you provide a sample workspace with which eclipse crashes please?

-- 
Best regards,
Michael

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.