• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

k-takata / vim / 321
80%
master: 84%

Build:
Build:
LAST BUILD BRANCH: use-check-commands
DEFAULT BRANCH: master
Ran 08 May 2019 10:16AM UTC
Jobs 3
Files 89
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
321

push

travis-ci

k-takata
win32: vimdll: Some error messages are not shown on gvim.exe

Some error messages output via `mainerr()` in main.c are not shown or just
shown as informative messages when gvim is compiled with VIMDLL.

When `mainerr()` is called from `early_arg_scan()`, messages are not shown
at all.  This is because both `gui.starting` and `gui.in_use` are FALSE,
so `mch_errmsg()` tries to output the message to stderr and a dialog box
is not shown.
E.g.: `gvim --servername` shows nothing.
It is the same for the `ole_error()` in gui_w32.c.

When `mainerr()` is called from `command_line_scan()`, messages are shown
as non-error messages.  This is because `gui.starting` is set, and
`display_errors()` in os_mswin.c checks it.  When the flag is set, the
dialog box is shown as an informative dialog, not an error dialog.
E.g.: `gvim --windowid` opens an informative dialog.

To work around them, this PR sets `gui.in_use` and unsets `gui.starting`
at the top of the `mainerr()`.

This also fixes that `gvim --serverlist` opened an error dialog when
compiled without VIMDLL.  It is not an error, so it should be shown
as an informative dialog.  Set `gui.starting` earlier (before
`exec_on_server()`) on non-VIMDLL to show as an informative dialog.

Also fixes wrong conditions in messages.c.
E.g.: `gvim --servername` shows nothing because of this even without
VIMDLL.

105150 of 131757 relevant lines covered (79.81%)

558605.29 hits per line

Jobs
ID Job ID Ran Files Coverage
10 321.10 (BUILD=yes TEST="scripttests test_libvterm" COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp'") 08 May 2019 10:16AM UTC 0
81.16
Travis Job 321.10
11 321.11 (BUILD=yes TEST="scripttests test_libvterm" COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp'") 08 May 2019 10:17AM UTC 0
80.12
Travis Job 321.11
12 321.12 (BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes) 08 May 2019 10:19AM UTC 0
2.41
Travis Job 321.12
Source Files on build 321
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #321
  • bdfb20c4 on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc