D22869: [Converter Runner] Support fractional units

Kai Uwe Broulik noreply at phabricator.kde.org
Thu Aug 1 08:43:05 BST 2019


broulik created this revision.
broulik added reviewers: Plasma, kossebau.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
broulik requested review of this revision.

REVISION SUMMARY
  BUG: 409216
  FIXED-IN: 5.17.0
  
  CHANGELOG: Converter runner can now convert fractional units, such as 3/8"

TEST PLAN
  Typed `3/8"`, got results for 0,375", i.e. 0.9525cm
  Typed `3/8 in, got the same results
  Typed `3/8" in cm`, got it converted to just centimeters
  Typed `3/0"`, didn't get any results
  Typed `3"`, still works 
  Can still convert units with a slash, such as "50km/h" = 31mph.
  Due to how the runner identifies numbers and units, you cannot have spaces between the slashes, i.e. `3 / 8 in` doesn't work

REPOSITORY
  R114 Plasma Addons

REVISION DETAIL
  https://phabricator.kde.org/D22869

AFFECTED FILES
  runners/converter/converterrunner.cpp

To: broulik, #plasma, kossebau
Cc: plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190801/f02bc070/attachment.html>


More information about the Plasma-devel mailing list