lp:~asabil/+junk/mx

Created by Ali Sabil and last modified
Get this branch:
bzr branch lp:~asabil/+junk/mx
Only Ali Sabil can upload to this branch. If you are Ali Sabil please log in for upload directions.

Related bugs

Related blueprints

Branch information

Owner:
Ali Sabil
Status:
Development

Recent revisions

1181. By Ali Sabil

[css/style] Added a ranking system to resolve selector ties in

1180. By Thomas Wood <email address hidden>

Fix documentation warnings from gtk-doc

1179. By Thomas Wood <email address hidden>

Update NEWS and version number for 0.4.0

1178. By Thomas Wood <email address hidden>

[application] add a new class to manage application configuration

The MxApplication class adds infrastructure to manage application
configuration. Some features are not yet implemented.

1177. By Rob Bradford <email address hidden>

[types] Always free split string

==17203== 38,304 (3,900 direct, 34,404 indirect) bytes in 60 blocks are
definitely lost in loss record 311 of 340
==17203== at 0x4C2391E: malloc (vg_replace_malloc.c:207)
==17203== by 0xB6A7552: g_malloc (gmem.c:131)
==17203== by 0xB6C0E14: g_strsplit_set (gstrfuncs.c:2532)
==17203== by 0x70543C7: mx_border_image_set_from_string (mx-types.c:151)
==17203== by 0x7048D82: mx_style_transform_css_value (mx-style.c:285)
==17203== by 0x704903B: mx_style_get_valist (mx-style.c:416)
==17203== by 0x7047C93: mx_stylable_get (mx-stylable.c:515)
==17203== by 0x7056AE0: mx_widget_style_changed (mx-widget.c:460)
==17203== by 0xB2293EC: g_closure_invoke (gclosure.c:767)
==17203== by 0xB23C5EB: signal_emit_unlocked_R (gsignal.c:3177)
==17203== by 0xB23E081: g_signal_emit_valist (gsignal.c:2980)
==17203== by 0xB23E3B9: g_signal_emit_by_name (gsignal.c:3074)

1176. By Rob Bradford <email address hidden>

[private] Free the font name after setting it

==11460== 55,067 (19,575 direct, 35,492 indirect) bytes in 950 blocks are
definitely lost in loss record 312 of 341
==11460== at 0x4C2391E: malloc (vg_replace_malloc.c:207)
==11460== by 0xB6A7552: g_malloc (gmem.c:131)
==11460== by 0xB6BF01D: g_strdup (gstrfuncs.c:102)
==11460== by 0xB24EB5C: value_lcopy_string (gvaluetypes.c:313)
==11460== by 0x704913A: mx_style_get_valist (mx-style.c:418)
==11460== by 0x7047CE3: mx_stylable_get (mx-stylable.c:515)
==11460== by 0x7058756: _mx_widget_set_clutter_text_attributes
(mx-private.c:125)
==11460== by 0xB2293EC: g_closure_invoke (gclosure.c:767)
==11460== by 0xB23CCDA: signal_emit_unlocked_R (gsignal.c:3247)
==11460== by 0xB23E081: g_signal_emit_valist (gsignal.c:2980)
==11460== by 0xB23E3B9: g_signal_emit_by_name (gsignal.c:3074)
==11460== by 0x7056A5A: mx_widget_stylable_changed (mx-widget.c:613)

1175. By Rob Bradford <email address hidden>

[widget] Always free the MxBorderImage

Original code path only freed when there was a URI on the border-image: .

==6930== 3,520 bytes in 44 blocks are definitely lost in loss record 259 of
339
==6930== at 0x4C23A51: realloc (vg_replace_malloc.c:429)
==6930== by 0xB6A747D: g_realloc (gmem.c:170)
==6930== by 0xB6C1353: g_string_maybe_expand (gstring.c:361)
==6930== by 0xB6C1FB2: g_string_insert_len (gstring.c:696)
==6930== by 0xB68E958: g_build_path_va (gfileutils.c:1459)
==6930== by 0xB68EBF8: g_build_filename (gfileutils.c:1729)
==6930== by 0x705446E: mx_border_image_set_from_string (mx-types.c:178)
==6930== by 0x7048DD2: mx_style_transform_css_value (mx-style.c:285)
==6930== by 0x704908B: mx_style_get_valist (mx-style.c:416)
==6930== by 0x7047CE3: mx_stylable_get (mx-stylable.c:515)
==6930== by 0x7056B30: mx_widget_style_changed (mx-widget.c:460)
==6930== by 0xB2293EC: g_closure_invoke (gclosure.c:767)

1174. By Rob Bradford <email address hidden>

[css/style] Fix leak of properties hash table

==6930== 91,235 (18,575 direct, 72,660 indirect) bytes in 395 blocks are
definitely lost in loss record 323 of 339
==6930== at 0x4C2391E: malloc (vg_replace_malloc.c:207)
==6930== by 0xB6A7552: g_malloc (gmem.c:131)
==6930== by 0xB6BD3C7: g_slice_alloc (gslice.c:824)
==6930== by 0xB690C72: g_hash_table_new_full (ghash.c:512)
==6930== by 0x703212F: mx_style_sheet_get_properties (mx-css.c:733)
==6930== by 0x7049008: mx_style_get_valist (mx-style.c:398)
==6930== by 0x7047CE3: mx_stylable_get (mx-stylable.c:515)
==6930== by 0x7056B30: mx_widget_style_changed (mx-widget.c:460)
==6930== by 0xB2293EC: g_closure_invoke (gclosure.c:767)
==6930== by 0xB23C5EB: signal_emit_unlocked_R (gsignal.c:3177)
==6930== by 0xB23E081: g_signal_emit_valist (gsignal.c:2980)
==6930== by 0xB23E3B9: g_signal_emit_by_name (gsignal.c:3074)

1173. By Thomas Wood <email address hidden>

[toolbar] close the window when the close button is clicked

Destroy the stage when the toolbar close button is clicked if there is no
default handler, rather than just quit the application.

1172. By Thomas Wood <email address hidden>

[toolbar] set a name on the close button

Set a name on the close button to identify it in the style

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.

Subscribers