Hangup state:
viewer executes program an checks whether it emits data from stdout
or stderr and receives them via UNIX pipes. Viewer reads stdout
synchronously (fread). Inferior program tries to write large chunk
to stderr when viewer is blocked on stdout read. We get a deadlock:
* viewer is blocked reading from empty nonclosed stdout
* inferior app is blocked by full stderr pipe
To prevent this we close stderr right after first read byte from stdout.
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
add show warnind dialog if system and display or source codeset are diferent
add global option skip_check_codeset if set then warnind window not show
set display_codepage, source_codepage = system locale
version.h is dumped even when git is unavailable or broken
buildbot dislikes to fetch tags (git fetch --tags) => version.sh failure.
version.sh refused to create version.h when git is unavailable.
All those cases are hopefully fixed.
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* 383_editor_autocomplete:
Ticket #383 (Autocompletion in editor don't work)
Autocomplete in editor now works with all words, not only a-zA-Z
Fixed autocompletion in editor
Description:
Autocomplete doesn't find the word at the begin of file.
Fix issue: search words for autocomplete start with 1 byte offset (start=0 was mean start=1)
Now fixed. Also, removed forgot debug code.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* 419_broken_search_glib_less_2_14:
Now project don't compile if version of glib less than 2.14 and no have pcre library
Removed support of POSIX regexp. Now handled only glib-regexp and pcre
Ticket 419: (search broken in editor/viewer on glib <2.14)
* 260_fix_includes:
Fixed includes.
edit/edit.h: added function prototypes.
vfs/gc.c src/widget.c: removed unneeded #include's.
Fixed missed #include's after rebase to current master.
ChangeLog: added entry.
Added Changelog entry.
Removed unnecessary #include directives and USE_INTERNAL_EDIT define.
further include file fixups
fixed several missing #include's
This code seems to be working good enough to give commands with fish,
however the prompt display is somewhat broken but that happens with bash
as well.
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
This patch contains the following trivial optimizations:
* merged two identical "dest_dir_ = g_strdup (dest_dir)" ops.
* simplified check for trailing '/' (no need to strcmp 1-char string).
* since g_free (NULL) is safe, merged two separate "if empty string then bail out" code paths.
* fixed wording in a comment.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Description:
If before
make dist*
./configure
was invoked without parameters next build from resulted tarball with
./configure --enable-charset
stop on error "mc.charset not found".
"./configure --enable-charset" hack before make dist* resolve this trouble.
Fix issue: In contrib/Makefile.am EXTRA_DIST variable was contain filenames relative to --enable-charset option.
Now mc.charsets file alvays present in EXTRA_DIST variable.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>