1. 09 May, 2018 7 commits
  2. 07 May, 2018 2 commits
  3. 06 May, 2018 7 commits
  4. 05 May, 2018 1 commit
  5. 04 May, 2018 2 commits
  6. 03 May, 2018 3 commits
  7. 30 Apr, 2018 2 commits
  8. 28 Apr, 2018 2 commits
  9. 26 Apr, 2018 1 commit
  10. 25 Apr, 2018 2 commits
  11. 24 Apr, 2018 4 commits
  12. 23 Apr, 2018 3 commits
  13. 22 Apr, 2018 1 commit
  14. 21 Apr, 2018 1 commit
    • Andy Holmes's avatar
      overrides: support Gtk template callbacks · bcfa6ce7
      Andy Holmes authored
      * Throw an error if template signal uses the 'object' attribute since we don't support GObject.signal_connect_object()
      * Throw an error if template signal sets the 'swapped' attribute to 'true' since we don't support GObject.signal_connect_swapped() or @user_data
      * Respect the flag for GObject.signal_connect_after()
      
      * Throw an error if template signal uses the 'object' attribute
      * Amend error messages to make it clearer they are template errors
      * call set_connect_func() on the constructor object
      bcfa6ce7
  15. 20 Apr, 2018 2 commits
    • Philip Chimento's avatar
      Merge branch 'gbsneto/weak-ref-warning' into 'master' · 1cdb06c7
      Philip Chimento authored
      object: Only weak unref if GObject is still alive
      
      See merge request GNOME/gjs!127
      1cdb06c7
    • Georges Basile Stavracas Neto's avatar
      object: Only weak unref if GObject is still alive · 8d50e2b4
      Georges Basile Stavracas Neto authored
      The function disassociate_js_gobject() is currently unconditionally
      removing the weak reference of the wrapped GObject. This is because
      we were previously assuming that there was always a toggle ref, and
      so we would never reach this code path after the wrapped GObject was
      destroyed.
      
      Turns out, with commit 0cc23474 it is now a regular case to call
      this function after the GObject is finalized. When that happens, it
      will reach wrapped_gobj_dispose_notify() and the wrapped GObject will
      be marked as finalized. disassociate_js_gobject(), however, will try
      to weak unref it, without checking if the GObject was finalized already.
      
      This commit fix that by simply checking if the wrapped GObject was
      finalized before trying to weak unref it.
      8d50e2b4