lp:~desrt/indicator-appmenu/no-zero-indicator-penalty
- Get this branch:
- bzr branch lp:~desrt/indicator-appmenu/no-zero-indicator-penalty
Branch merges
- Charles Kerr (community): Approve
-
Diff: 12 lines (+3/-0)1 file modifiedsrc/hudresult.c (+3/-0)
Branch information
Recent revisions
- 203. By Allison Karlitskaya
-
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. - 201. By Charles Kerr
-
merge lp:~desrt/indicator-appmenu/emit-unregister-signal to properly emit the WindowUnregistered signal when windows go away
- 200. By Charles Kerr
-
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
-
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
-
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
-
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
-
merge p:~charlesk/
indicator- appmenu/ lp-957417 to silence a coverity warning by removing a goto. - 195. By Charles Kerr
-
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
-
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