[geany/geany] 9e7301: Fix initial back and forward items sensitivity

Colomban Wendling ban at xxxxx
Sat Dec 17 23:33:14 UTC 2011


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

  Commit: 9e7301cdef67f71ce4716ad1bce771b2c266349c
      https://github.com/geany/geany/commit/9e7301cdef67f71ce4716ad1bce771b2c266349c
  Author: Colomban Wendling <ban at herbesfolles.org>
  Date:   2011-12-17 (Sat, 17 Dec 2011)

  Changed paths:
    M src/navqueue.c
  M src/ui_utils.c

  Log Message:
  -----------
  Fix initial back and forward items sensitivity

These actions were marked as document sensitive but their sensitivity
is already managed by the navqueue, so making them document sensitive
only leads to them being wrongly updated when the document count
changes from or to 0.

So, make them initially insensitive and let the navqueue correctly
handle their later sensitiveness.


  Commit: 53a98c303f69e5e16b214b4e44ef7ebde3b67521
      https://github.com/geany/geany/commit/53a98c303f69e5e16b214b4e44ef7ebde3b67521
  Author: Colomban Wendling <ban at herbesfolles.org>
  Date:   2011-12-17 (Sat, 17 Dec 2011)

  Changed paths:
    M src/build.c

  Log Message:
  -----------
  Clear error indicators upon build start even if no document is given


  Commit: 0aea05d10d46e822316267a3a72a50672c4ba81a
      https://github.com/geany/geany/commit/0aea05d10d46e822316267a3a72a50672c4ba81a
  Author: Colomban Wendling <ban at herbesfolles.org>
  Date:   2011-12-17 (Sat, 17 Dec 2011)

  Changed paths:
    M src/about.c
  M src/build.c
  M src/build.h
  M src/dialogs.c
  M src/document.c
  M src/gb.c
  M src/geanywraplabel.c
  M src/keyfile.c
  M src/prefs.c
  M src/printing.c
  M src/project.c
  M src/socket.h
  M src/symbols.c
  M src/templates.c
  M src/toolbar.c
  M src/utils.c

  Log Message:
  -----------
  Fix various integer signedness and minor styling issues

Most noteworthy change is that all build commands IDs and groups are
now unsigned everywhere negative values aren't explicitly handled with
a special meaning.  This should not change anything in behavior, only
makes clear the index won't underflow.


  Commit: ed1fe7903b437fa233730c10d4a09ee685822f40
      https://github.com/geany/geany/commit/ed1fe7903b437fa233730c10d4a09ee685822f40
  Author: Colomban Wendling <ban at herbesfolles.org>
  Date:   2011-12-17 (Sat, 17 Dec 2011)

  Changed paths:
    M src/sciwrappers.c
  M src/sciwrappers.h

  Log Message:
  -----------
  Explicit all required casts in sciwrappers

There is still 3 signed values implicitly converted to unsigned not
fixed, but they aren't really legitimate and would require a behavior
change in some corner cases.


Compare: https://github.com/geany/geany/compare/ef3d5b8...ed1fe79



More information about the Commits mailing list