lp://staging/glib/2.30

Created by Registry Administrators and last modified
Get this branch:
bzr branch lp://staging/glib/2.30

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Registry Administrators
Project:
GLib
Status:
Development

Import details

Import Status: Suspended

This branch is an import of the HEAD branch of the Git repository at git://git.gnome.org/glib.git,branch=glib-2-30.

Last successful import was .

Import started on russkaya and finished taking 20 seconds — see the log
Import started on pear and finished taking 15 seconds — see the log
Import started on russkaya and finished taking 25 seconds — see the log
Import started on pear and finished taking 15 seconds — see the log

Recent revisions

10527. By Cédric VALMARY (Tot en òc)

Update Occitan translation

10526. By OKANO Takayoshi

[l10n] Update Japanese translation

10525. By Will Thompson

gdbus: test case for 673612

When presented with an array of empty arrays of 8-byte-aligned types,
GDBus would incorrectly apply the 8-byte alignment when reading back.

https://bugzilla.gnome.org/show_bug.cgi?id=673612

Signed-off-by: David Zeuthen <email address hidden>

10524. By Will Thompson

GDBusMessage: do not align for grandchildren of empty arrays.

D-Bus arrays are serialized as follows:

1. align to a 4-byte boundary (for the length)
2. uint32: the length of the serialized body in bytes
3. padding for the alignment of the body type (not included in the length)
4. the body.

Note that 3. is a no-op unless the body type is an 8-byte aligned type
(uint64, int64, double, struct, dict_entry), since you are always on a
4-byte boundary from aligning and writing the length.

So, an empty aax (that is, an array containing zero arrays of int64)
is serialized as follows:

1. align to a 4-byte boundary
2. length of the contents of this (empty) array, in bytes (0)
3. align to a 4-byte boundary (the child array's alignment requirement)
4. there is no body.

But previously, GDBus would recurse in step three to align not just for
the type of the child array, but for the nonexistent child array's
contents. This only affects the algorithm when the grandchild type has
8-byte alignment and the reader happened to not already be on an 8-byte
boundary, in which case 4 bytes were spuriously skipped.

https://bugzilla.gnome.org/show_bug.cgi?id=673612

Signed-off-by: David Zeuthen <email address hidden>

10523. By Will Thompson

GDBusMessage: print more debug info about alignment

Signed-off-by: David Zeuthen <email address hidden>

10522. By Rajesh Ranjan <email address hidden>

hindi translation by Chandan Kumar

10521. By Matthias Clasen <email address hidden>

Bump version

10520. By Matthias Clasen <email address hidden>

2.30.3

10519. By Matthias Clasen <email address hidden>

Fix distcheck

10518. By Matthias Clasen <email address hidden>

Don't rely on /bin/sh

Another Fedora UsrMove victim !

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.