[3122] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[barnowl/barnowl] 6829af: Define CALLER_OWN macro

daemon@ATHENA.MIT.EDU (noreply@github.com)
Sat Jun 25 04:13:27 2011

Date: Sat, 25 Jun 2011 01:13:23 -0700
To: barnowl-dev@mit.edu
From: noreply@github.com

  Branch: refs/heads/master
  Home:   https://github.com/barnowl/barnowl

  Commit: 6829afcb7133217c6afdbd7634452d0fabdeaa4f
      https://github.com/barnowl/barnowl/commit/6829afcb7133217c6afdbd7634452d0fabdeaa4f
  Author: David Benjamin <davidben@mit.edu>
  Date:   2011-06-25 (Sat, 25 Jun 2011)

  Changed paths:
    M aim.c
  M cmd.c
  M commands.c
  M context.c
  M dict.c
  M editcontext.c
  M editwin.c
  M filter.c
  M fmtext.c
  M functions.c
  M global.c
  M keybinding.c
  M keymap.c
  M keypress.c
  M logging.c
  M message.c
  M owl.h
  M perlconfig.c
  M popwin.c
  M text.c
  M util.c
  M variable.c
  M viewwin.c
  M window.c
  M zcrypt.c
  M zephyr.c
  M zwrite.c

  Log Message:
  -----------
  Define CALLER_OWN macro

Replace our exising uses of G_GNUC_WARN_UNUSED_RESULT with it. The
old macro is just way too long. This also more clearly specifies the
intent.


  Commit: 12294d2c70ae8cdc26119132fbdc5cd0cf8aa95c
      https://github.com/barnowl/barnowl/commit/12294d2c70ae8cdc26119132fbdc5cd0cf8aa95c
  Author: David Benjamin <davidben@mit.edu>
  Date:   2011-06-25 (Sat, 25 Jun 2011)

  Changed paths:
    M owl.h
  M zephyr.c
  M zwrite.c

  Log Message:
  -----------
  Remove owl_list from owl_zwrite

Use a GPtrArray directly.


  Commit: fc8a87a009dfa6320ff6da4006791bb1b1babb7d
      https://github.com/barnowl/barnowl/commit/fc8a87a009dfa6320ff6da4006791bb1b1babb7d
  Author: David Benjamin <davidben@mit.edu>
  Date:   2011-06-25 (Sat, 25 Jun 2011)

  Changed paths:
    M messagelist.c
  M owl.h
  M view.c

  Log Message:
  -----------
  Replace owl_messagelist's internal owl_list with GPtrArray


  Commit: f9df2f0a430fa768e47ad35c87f620f1f28b7f16
      https://github.com/barnowl/barnowl/commit/f9df2f0a430fa768e47ad35c87f620f1f28b7f16
  Author: David Benjamin <davidben@mit.edu>
  Date:   2011-06-25 (Sat, 25 Jun 2011)

  Changed paths:
    M message.c
  M owl.h
  M perlconfig.c

  Log Message:
  -----------
  Replace owl_message's owl_list with a GPtrArray


  Commit: e4d7cb6418350b9038a9a115e4b16df87ef1e221
      https://github.com/barnowl/barnowl/commit/e4d7cb6418350b9038a9a115e4b16df87ef1e221
  Author: David Benjamin <davidben@mit.edu>
  Date:   2011-06-25 (Sat, 25 Jun 2011)

  Changed paths:
    M keymap.c
  M owl.h

  Log Message:
  -----------
  Replace owl_keymap's list with a GPtrArray


  Commit: d191f4518e275e0daa038f644bc699b1a49b619c
      https://github.com/barnowl/barnowl/commit/d191f4518e275e0daa038f644bc699b1a49b619c
  Author: David Benjamin <davidben@mit.edu>
  Date:   2011-06-25 (Sat, 25 Jun 2011)

  Changed paths:
    M buddylist.c
  M owl.h

  Log Message:
  -----------
  Make owl_buddylist use a GPtrArray directly


  Commit: 7ed9bc6d575891e8d9285873c0b4b8e944154bf6
      https://github.com/barnowl/barnowl/commit/7ed9bc6d575891e8d9285873c0b4b8e944154bf6
  Author: David Benjamin <davidben@mit.edu>
  Date:   2011-06-25 (Sat, 25 Jun 2011)

  Changed paths:
    M owl.h
  M zbuddylist.c

  Log Message:
  -----------
  Replace owl_zbuddlist's owl_list with GPtrArray


  Commit: eb897c60f2b0304285f23687dc1f357afaa6ca53
      https://github.com/barnowl/barnowl/commit/eb897c60f2b0304285f23687dc1f357afaa6ca53
  Author: David Benjamin <davidben@mit.edu>
  Date:   2011-06-25 (Sat, 25 Jun 2011)

  Changed paths:
    M errqueue.c
  M owl.h

  Log Message:
  -----------
  Replace owl_errqueue's owl_list with a GPtrArray


  Commit: e6d7e4ea996534cc5a8f0ce69e523114ea38486b
      https://github.com/barnowl/barnowl/commit/e6d7e4ea996534cc5a8f0ce69e523114ea38486b
  Author: David Benjamin <davidben@mit.edu>
  Date:   2011-06-25 (Sat, 25 Jun 2011)

  Changed paths:
    M commands.c
  M functions.c
  M global.c
  M owl.h

  Log Message:
  -----------
  Replace the puntlist with an GPtrArray


  Commit: ecffae6c5b3fd57d8ca74cd2ba142098748bfe7c
      https://github.com/barnowl/barnowl/commit/ecffae6c5b3fd57d8ca74cd2ba142098748bfe7c
  Author: David Benjamin <davidben@mit.edu>
  Date:   2011-06-25 (Sat, 25 Jun 2011)

  Changed paths:
    M functions.c
  M zephyr.c

  Log Message:
  -----------
  Make owl_zephyr_get_anyone_list return a GPtrArray


  Commit: e4524daa4b0830da5180011323999627be2b43b5
      https://github.com/barnowl/barnowl/commit/e4524daa4b0830da5180011323999627be2b43b5
  Author: David Benjamin <davidben@mit.edu>
  Date:   2011-06-25 (Sat, 25 Jun 2011)

  Changed paths:
    M aim.c
  M functions.c

  Log Message:
  -----------
  Make aimsearch code use GPtrArray instead of owl_list


  Commit: 3cdd6d22718b22f0f669d34777233912c1688ed6
      https://github.com/barnowl/barnowl/commit/3cdd6d22718b22f0f669d34777233912c1688ed6
  Author: David Benjamin <davidben@mit.edu>
  Date:   2011-06-25 (Sat, 25 Jun 2011)

  Changed paths:
    M buddylist.c
  M functions.c
  M keymap.c
  M util.c
  M zwrite.c

  Log Message:
  -----------
  Add owl_ptr_array_free convenience function

Unfortunately, most uses of GPtrArray here require a two-step chant
which is really annoying. Until we require glib 2.22 and get
g_ptr_array_new_with_free_func, use this helper function.


  Commit: ce68f235ae86ae86fa4398ae206bda1194d1fcda
      https://github.com/barnowl/barnowl/commit/ce68f235ae86ae86fa4398ae206bda1194d1fcda
  Author: David Benjamin <davidben@mit.edu>
  Date:   2011-06-25 (Sat, 25 Jun 2011)

  Changed paths:
    M cmd.c
  M dict.c
  M fmtext.c
  M functions.c
  M global.c
  M help.c
  M keymap.c
  M perlconfig.c
  M perlglue.xs
  M tester.c
  M variable.c

  Log Message:
  -----------
  Make owl_dict_get_keys return a GPtrArray

Almost all the remaining uses of owl_list are tightly coupled into this
one giant blob.


  Commit: c2662816286b30464feee0b8ba6ad4566b650c16
      https://github.com/barnowl/barnowl/commit/c2662816286b30464feee0b8ba6ad4566b650c16
  Author: David Benjamin <davidben@mit.edu>
  Date:   2011-06-25 (Sat, 25 Jun 2011)

  Changed paths:
    M Makefile.am
  R list.c
  M owl.h

  Log Message:
  -----------
  Remove owl_list altogether

All uses have been removed.


  Commit: 2560529186e398f85a038e8683d29058857eb7b7
      https://github.com/barnowl/barnowl/commit/2560529186e398f85a038e8683d29058857eb7b7
  Author: David Benjamin <davidben@mit.edu>
  Date:   2011-06-25 (Sat, 25 Jun 2011)

  Changed paths:
    M filter.c
  M fmtext.c
  M global.c
  M keypress.c
  M owl.h

  Log Message:
  -----------
  Consistently place function annotation at the beginning

char CALLER_OWN * doesn't make a whole lot of sense.


Compare: https://github.com/barnowl/barnowl/compare/95b52d1...2560529

home help back first fref pref prev next nref lref last post