[2574] in BarnOwl Developers

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

[barnowl/barnowl] 35a30f: Move variable declaration to top of function

daemon@ATHENA.MIT.EDU (noreply@github.com)
Mon Aug 2 23:41:45 2010

Date: Mon, 2 Aug 2010 20:40:59 -0700
To: barnowl-dev@mit.edu
From: noreply@github.com

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

Commit: 35a30f9e44e57c564925481fc17d224438122f18
    http://github.com/barnowl/barnowl/commit/35a30f9e44e57c564925481fc17d224438122f18
Author: David Benjamin <davidben@mit.edu>
Date:   2010-07-27 (Tue, 27 Jul 2010)

Changed paths:
  M tester.c

Log Message:
-----------
Move variable declaration to top of function


Commit: 6772d196541231b31f7e472856d1bd6d55c259d6
    http://github.com/barnowl/barnowl/commit/6772d196541231b31f7e472856d1bd6d55c259d6
Author: David Benjamin <davidben@mit.edu>
Date:   2010-07-31 (Sat, 31 Jul 2010)

Changed paths:
  M fmtext.c
  M tester.c

Log Message:
-----------
Add a test case for owl_fmtext with two failures

When appending text, we get the textlen wrong. We also fail to correctly
consider attributes in owl_fmtext_num_lines. This also adds tests for
owl_fmtext_truncate_cols and owl_fmtext_truncate_lines as they are
finicky.


Commit: e0e0e5a0c39110b5a61128021e2abb197834252c
    http://github.com/barnowl/barnowl/commit/e0e0e5a0c39110b5a61128021e2abb197834252c
Author: David Benjamin <davidben@mit.edu>
Date:   2010-07-31 (Sat, 31 Jul 2010)

Changed paths:
  M fmtext.c

Log Message:
-----------
Make _owl_fmtext_append_fmtext take a half-open range

Inclusive on both endpoints is weird. This also makes the usage in
owl_fmtext_append_fmtext correct. It otherwise appends an extra '\0',
causing textlen to be off. This fixes a failure in the owl_fmtext test.


Commit: c93b8b525fb521e16333f5719cb296ca5111595d
    http://github.com/barnowl/barnowl/commit/c93b8b525fb521e16333f5719cb296ca5111595d
Author: David Benjamin <davidben@mit.edu>
Date:   2010-07-31 (Sat, 31 Jul 2010)

Changed paths:
  M fmtext.c

Log Message:
-----------
Consider format characters in owl_fmtext_num_lines

This fixes the second failure in the owl_fmtext test.


Commit: 2b83ad6d859fd232d80e601abe68bcd85cf93fd7
    http://github.com/barnowl/barnowl/commit/2b83ad6d859fd232d80e601abe68bcd85cf93fd7
Author: David Benjamin <davidben@mit.edu>
Date:   2010-07-31 (Sat, 31 Jul 2010)

Changed paths:
  M fmtext.c
  M owl.h
  M tester.c
  M text.c

Log Message:
-----------
Add owl_fmtext_expand_tabs with test case


Commit: 30da4734c9467186b300a0b3d9848980cf28f8c0
    http://github.com/barnowl/barnowl/commit/30da4734c9467186b300a0b3d9848980cf28f8c0
Author: David Benjamin <davidben@mit.edu>
Date:   2010-08-02 (Mon, 02 Aug 2010)

Changed paths:
  M fmtext.c
  M style.c

Log Message:
-----------
Expand tabs before applying OWL_TAB

This is a partial fix to #90. Messages with tabs still do not correctly
tab in the default style, if the intent is to begin column counts after
the 4-space indent. But, if the style does give us tabs, BarnOwl should
correctly draw them from the style. Expanding them here both deals with
owl_fmtext_truncate_cols not understanding tabs and tabs getting
confused by the OWL_TAB indent.

A full fix should expand tabs in the style layer, taking markup into
account.


Commit: e0022d27c7ef4ceadf3a0a6531d728cc9fd62c6e
    http://github.com/barnowl/barnowl/commit/e0022d27c7ef4ceadf3a0a6531d728cc9fd62c6e
Author: David Benjamin <davidben@mit.edu>
Date:   2010-08-02 (Mon, 02 Aug 2010)

Changed paths:
  M fmtext.c
  M tester.c

Log Message:
-----------
Expand tabs first in owl_fmtext_truncate_cols

Although the previous commit already expanded tabs from messages, a
fmtext may still get tabs in it. For instance, a :pexec. So, before
truncating, we expand all tabs.

Also adds a test case with tabs for owl_fmtext_truncate_cols.


Commit: fd03b12fbdcea4f6b3ebc621c0a85c73d129b088
    http://github.com/barnowl/barnowl/commit/fd03b12fbdcea4f6b3ebc621c0a85c73d129b088
Author: David Benjamin <davidben@mit.edu>
Date:   2010-08-02 (Mon, 02 Aug 2010)

Changed paths:
  M stubgen.pl

Log Message:
-----------
Properly revert globalnotifier changes to stubgen.pl

Apparently I made some typoes and didn't do the obvious thing of
checking out the old copy when punting the experiment. Variables with
different varname and altvarname got slightly confused.


Commit: 5ca3fb78bf1064bb900b38cfd420d26a3427b23c
    http://github.com/barnowl/barnowl/commit/5ca3fb78bf1064bb900b38cfd420d26a3427b23c
Author: David Benjamin <davidben@mit.edu>
Date:   2010-08-02 (Mon, 02 Aug 2010)

Changed paths:
  M window.c

Log Message:
-----------
Correctly maintain the doubly linked list in owl_widnow

Oops. This must have only barely worked because we've been deleting
things in the right order.



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