* 2097_cleanup_master: (23 commits)
Fixed errors and warnings in compilation stage.
More accuracy of Diff Viewer conditiona compilation.
Type accuracy in feed_subshell() function.
Fixed messages of PCRE check.
Ticket #2097: ChangeLog in its current form does not strictly make any sense
Ticket #2127: updated file extension for "sh"
vfs_timeout and use_netrc variables were moved to vfs.h file.
Set maximum width of help window to 80 symbols.
Minor optimization of show_version() function.
Removed unused src/ecs* files and related stuff.
Minor optimization of tty_draw_box() function.
Removed uneeded extra assignment of command line complete flags.
Changed function argument names.
Fixed formatting after indentation.
Ticket #1949: complete initialization of structures in src/args.c.
Ticket #2041: check return value of g_strdup_printf() in mc_log().
Ticket #2078: changed return value of init_translation_table() function.
Use EXIT_FAILURE symbolic name as return code.
Removed unneeded break after return.
Ticket #2119: some trivial corrections.
...
The suggested wording makes it explicit where to look for the
traditional list of changes since the last release and how to obtain a
detailed log of changes.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
Set "Virtual File System" text item to plural form.
Applied i18n to "Data types" text item.
Added output of size_t size.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Changed function argument names to suppress compile warnings:
panel.h:143: warning: declaration of 'index' shadows a global declaration
panel.h:144: warning: declaration of 'index' shadows a global declaration
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
init_translation_table() now returnes newly-allocated string
instead of pointer to the static buffer.
Thanks Vit Rosin for original patch.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Split assignments and conditions. Type accuracy. Minor optimization.
Thanks Vit Rosin for original patch.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
I am attaching a proposed syntax highlighting definition for
- gasp - DOS style INI files.
I'd love to set the
option
part in
option = value
to some other color, too, but didn't find the proper syntax
for that.
Karsten
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
* 1897_libc_respect_return_values:
Final Indentation of all touched files
Changes into src/consaver directory:
Changes into src/editor directory:
Changes into src directory:
Ticket #1897: Build breaks on ignored return values
Changes into lib directory
* samba: handling result of system() call
* rpc: handling write errors
* ftpfs: ignoring result of fwrite() on logfile (make compiler happy ;-))
* fish: proper handling of file io calls
* ignoring result of fwrite() on logfile (make compiler happy ;-))
* lib/util.c: handling fwrite() call errors in mc_util_write_backup_content()
* lib/utilunix.c:
* handling possible error on dup() in close_error_pipe()
* handling possible error on getcwd() in mc_realpath()
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
On some systems i18n_checktimelength may vary not only depending on the
locale but also on the current month. This patch introduces a cyclic
check that loops through all of the months to find out which one has the
longest name.
However, since this function is called on every pannel reload and now
makes 24 calls to str_term_width1 and strftime it makes sense to
introduce a cache for the resulting value.
Thanks to Sergey Fionov <fionov@gmail.com> for the initial patch.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
* 1754_show_current_syntax:
Applied MC indentation policy.
Optimization: rid of edit_menubar global variable.
Optimization: rid of wedit and option_syntax_type global variables.
Type accuracy. Minor optimization.
Ticket #1754: show current syntax in 'Choose syntax highlighting' dialog.