lp:~desrt/indicator-appmenu/no-zero-indicator-penalty

Created by desrt on 2012-04-11 and last modified on 2012-04-11
Get this branch:
bzr branch lp:~desrt/indicator-appmenu/no-zero-indicator-penalty
Only desrt can upload to this branch. If you are desrt please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
desrt
Project:
Application Menu Indicator
Status:
Merged

Recent revisions

203. By desrt on 2012-04-11

hud: never allow perfect match for indicators

The old scoring algorithm would assign a penalty of one for searching
for "item" and finding "Item" (due to the case). The new algorithm
ignores case.

This caused an unintended problem: the fact that we would never get
perfect matches (due to the fact that nobody ever properly capitalised
their search strings) was a good thing. The indicator penalty is
expressed as a percentage by which to increase whatever the distance
already was, and that doesn't work well with the now-common case of a
perfect match (since 0 + 50% is still 0).

We tweak this situation by never allowing a match from an indicator have
a perfect score. If the indicator penalty is requested, then the
distance must be at least 1.

202. By Charles Kerr on 2012-04-05

0.3.97

201. By Charles Kerr on 2012-04-05

merge lp:~desrt/indicator-appmenu/emit-unregister-signal to properly emit the WindowUnregistered signal when windows go away

200. By Charles Kerr on 2012-04-04

merge lp:~desrt/indicator-appmenu/no-search-tokens to check for search with no tokens before searching.

The search algorithm assumes that there will be at least one search token, so be sure not to submit any searches with zero tokens. This can happen if the user searches for " ", for example.

199. By Charles Kerr on 2012-04-04

merge lp:~charlesk/indicator-appmenu/remove-dead-file to remove a file that should have been deleted in the previous commit but was incorrectly resolved. h/t seb128

198. By Charles Kerr on 2012-04-04

merge lp:~allanlesage/indicator-appmenu/TDD to remove a dependency on gcovr, move gcov targets to their own makefile, and clean up .gcno files.

197. By Charles Kerr on 2012-04-03

merge lp:~desrt/indicator-appmenu/hud-performance to improve hud-service performance and search result quality by substantially reworking the core distance algorithm and the needle/haystack assignment algorithm.

196. By Charles Kerr on 2012-04-03

merge p:~charlesk/indicator-appmenu/lp-957417 to silence a coverity warning by removing a goto.

195. By Charles Kerr on 2012-03-29

Merge lp:~desrt/indicator-appmenu/simplify-math to perform some explicit strength reduction to clarify an algorithm. Also, use a signed integer to correct an error due to unsigned substraction.

194. By Charles Kerr on 2012-03-29

merge lp:~ken-vandine/indicator-appmenu/tests_use_builddir to use mock-json-app in the builddir instead of depending on an installed version of indicator-appmenu-tools, which caused a bootstrapping problem

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:indicator-appmenu/0.4
This branch contains Public information 
Everyone can see this information.

Subscribers