[texdoc-commits] [TeX-Live/texdoc] 78cedc: improve logging functions

Takuto ASAKURA noreply at github.com
Wed Mar 20 03:19:23 CET 2019


  Branch: refs/heads/master
  Home:   https://github.com/TeX-Live/texdoc
  Commit: 78cedcb1607f979bbf4d2396b349c29f86ee0257
      https://github.com/TeX-Live/texdoc/commit/78cedcb1607f979bbf4d2396b349c29f86ee0257
  Author: Watson <wtsnjp at gmail.com>
  Date:   2019-03-19 (Tue, 19 Mar 2019)

  Changed paths:
    M script/texdoclib-confutil.tlu
    M script/texdoclib-score.tlu
    M script/texdoclib-search.tlu
    M script/texdoclib-util.tlu
    M script/texdoclib-view.tlu

  Log Message:
  -----------
  improve logging functions

Change to use string.format by default in texdoc.util.{err,dbg}_print
functions. This will improve the readability of the code. At the same time, by
using the format strings, the output difference between Lua 5.2 and 5.3 is
uniformed (see #34).


  Commit: 6b6152c6aeca3d6c2f10b2ce1515b59e2bc63405
      https://github.com/TeX-Live/texdoc/commit/6b6152c6aeca3d6c2f10b2ce1515b59e2bc63405
  Author: Watson <wtsnjp at gmail.com>
  Date:   2019-03-19 (Tue, 19 Mar 2019)

  Changed paths:
    M Rakefile
    M spec/support/helpers/texdoc.rb

  Log Message:
  -----------
  improve the test script to show outputs of failed commands


  Commit: b10d7dd56f8ed113ade63213f1c193b6657cfd33
      https://github.com/TeX-Live/texdoc/commit/b10d7dd56f8ed113ade63213f1c193b6657cfd33
  Author: Watson <wtsnjp at gmail.com>
  Date:   2019-03-20 (Wed, 20 Mar 2019)

  Changed paths:
    R spec/support/shared_contexts/unit_context.rb
    A spec/unit/search_test.lua
    R spec/unit/texdoclib_spec.rb
    M spec/unit/texdoclib_test.lua
    A spec/unit/unit_tests_spec.rb
    A spec/unit/util_test.lua

  Log Message:
  -----------
  add some unit tests


  Commit: c3a3a654e4655c459a149d3cd39d1fa95e3d6d19
      https://github.com/TeX-Live/texdoc/commit/c3a3a654e4655c459a149d3cd39d1fa95e3d6d19
  Author: Watson <wtsnjp at gmail.com>
  Date:   2019-03-20 (Wed, 20 Mar 2019)

  Changed paths:
    M script/texdoclib-util.tlu

  Log Message:
  -----------
  refactor texdoclib-util.tlu


Compare: https://github.com/TeX-Live/texdoc/compare/382a1b1e755a...c3a3a654e465


More information about the texdoc-commits mailing list