[3245] in BarnOwl Developers

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

[barnowl/barnowl] ab88b0: Allocate the mainwin on the heap

daemon@ATHENA.MIT.EDU (GitHub)
Mon Jan 23 17:30:52 2012

Date: Mon, 23 Jan 2012 14:30:45 -0800
From: GitHub <noreply@github.com>
Reply-To: GitHub <noreply@github.com>
To: barnowl-dev@mit.edu



----==_mimepart_4f1ddf95cf46e_46cc3fc1fbabfafc473d1
Date: Mon, 23 Jan 2012 14:30:45 -0800
Mime-Version: 1.0
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-ID: <4f1ddf95d08fc_46cc3fc1fbabfafc474af@sh1.rs.github.com.mail>

  Branch: refs/heads/master
  Home:   https://github.com/barnowl/barnowl
  Commit: ab88b053a39621697d2c5b89fcd5dfd9fbf65b04
      https://github.com/barnowl/barnowl/commit/ab88b053a39621697d2c5b89fcd5dfd9fbf65b04
  Author: Jason Gross <jgross@mit.edu>
  Date:   2012-01-23 (Mon, 23 Jan 2012)

  Changed paths:
    M global.c
  M mainwin.c
  M owl.h

  Log Message:
  -----------
  Allocate the mainwin on the heap

This lets us return NULL from owl_global_get_mainwin before the mainwin
has been initilized.

Since g has static duration, g.mw is automatically initialized to NULL.


  Commit: 219f52ca5fddec776365b3e66f4e5415d11a1d40
      https://github.com/barnowl/barnowl/commit/219f52ca5fddec776365b3e66f4e5415d11a1d40
  Author: Jason Gross <jgross@mit.edu>
  Date:   2012-01-23 (Mon, 23 Jan 2012)

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

  Log Message:
  -----------
  Allocate owl_messagelist on the heap

This lets us return NULL from owl_global_get_messagelist before the
messagelist has been initilized.

Since g has static duration, g.ml is automatically initialized to NULL.


  Commit: d126a19eb5f8a883b722fb26d21fb7b62b2aedeb
      https://github.com/barnowl/barnowl/commit/d126a19eb5f8a883b722fb26d21fb7b62b2aedeb
  Author: Jason Gross <jgross@mit.edu>
  Date:   2012-01-23 (Mon, 23 Jan 2012)

  Changed paths:
    M variable.c

  Log Message:
  -----------
  Flush the fmttext cache and redisplay on setting colorztext

This fixes trac-#147.

owl_function_calculate_topmsg should probably hang off the mainwin.
Currently, the implementation relies on the existence of the current
view and recwinlines (which relies on the existence of the global
mainpanel).  The global mainpanel is guarenteed to exist if the mainwin
has been created.  The scrollmode variable must also have already been
created (it is currently safe to assume that if the mainwin exists, then
all the variables have been created).


Compare: https://github.com/barnowl/barnowl/compare/8135737...d126a19

----==_mimepart_4f1ddf95cf46e_46cc3fc1fbabfafc473d1--

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