* 1423_FreeBSD_Slang_not_found:
Removed unneded check for iconv functions. MC use glib functions for
Fixed test conditions in m4 files for more compability
Add support of csh (used on FreeBSD)
Ticket #1423 (Fail to compile with option '--with-screen=slang')
Fix issue:
Added additional check for this place.
Reason: If slang installed into /usr/local path, then ./configure
script stopped with 'Slang library not found' error
Also added new two options to configure script:
--with-slang-includes=PATH
--with-slang-libs=PATH
Now libslang finds in (by order):
* --with-slang-includes and --with-slang-libs
* /usr
* /usr/local
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* 1389_code_cleanup:
little reorganisation key_name_conv_tab array
Avoid warning in src/search/regex.c about signed and unsigned types
Fixed excaping of '%' symbol in edit_complete_word_cmd() function
fixed compiler hints: -Wwrite-strings option helped a lot
file: added x_basename cast as we know the string is mutable
view: fixed compile hint: char * -> const char *
fixed warning: stray ',' at the end of enum
src/strescape.{c,h}: sanitized fn proto to keep in sync with rest of code
src/search fixed variable declaration and code mix
src/screen.c: fixed warning hint: char * -> const char *
tcc build fix: fixed c99 external constants
tcc build fix: popt: added hack for tcc's alloca()
completion: fixed multiple warnings: char * -> const char *
Fix one compiler warning in setup.c
Remove one argument for format,in order to avoid a compiler warning
Fix compiler warning about different signedness of pointers in editcmd.c
Remove unneeded vars in edit/edit.c to avoid compiler warnings
Signed-off-by: Patrick Winnertz <winnie@debian.org>
edit: cleanup: moved variable declaration to begin of block
edit: have_charset: added explicit variable declarations
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
fix not initialized variable 'cw'
fix variables 'cw', 'utf_ch', make more safety algorithm.
fix: issue in 'while'
remove 'Once' button as 'atavism'
add 'from' field in confirm dialog
Fixed layout of place confirmation dialog in mcedit.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Reason:
If some directory in fish is a read-only, then mc will crashed
Issue:
In fish_mkdir added additional check if directory was created.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
No any files was copyed into fish.
Issue:
Files was try to create with O_EXCL flag. On fish it's fail
Now for fish flag O_EXCL will dropped.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Fixed:
* Call of str_convert_to_input() now in HAVE_CHARSET block
* Fixed recoding of search string if charsets in use.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Reason:
glib ini-function works only with UTF-8 in files. Bug raised if system charset not UTF-8.
Issue:
* recode to utf-8 before saving values of ini-params and
* recode from utf-8 after reading values of ini-params
Also fixed:
* if system codepage is not UTF-8, panelize named is always in utf-8 and seems as non-sense string.
* Recode panelize command names into system codepage from utf-8
* global variable utf8_display now initialized in any case (non-relative to ENABLE_CHARSET)
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* Replace search prepare algorithm
* Added function for update search status.
* Added callback for update search status into external places
* Added new message box 'Seeking to search result' at end of search process
* Fixed search in file with different charset.
* Fixed backward search in nroff'ed text
* Added named enum for return values of callback functions for search
* Fixed wrong search with 'pcre' search engine.
* Fixed search in underlined text.
* Fixed wrong offset of nroff'ed text where text is underlined.
* Fixed calculating of next search position. Fixed double-search one text in nroff'ed area.
* Last found text stay selected if no more found.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* 1391_segfault_on_empty_codepages:
Ticket #1391: fill codepages list if mc.charsets file cannot be read.
Prevent mc from crashing when codepages is empty because of an bogus installation
* 1396_with_search_engine:
Fixed bug in calculate version code when run under FreeBSD
Ticket #1396 (need build option --with-search-engine for select regex engine)