Commit Graph

10165 Commits

Author SHA1 Message Date
Yury V. Zaytsev 438544291c Ticket #2097: ChangeLog in its current form does not strictly make any sense
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>
2010-05-05 16:24:14 +04:00
Yury V. Zaytsev 4ce950c225 Ticket #2127: updated file extension for "sh"
Removed spurious bash_userstuff from the regexp.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-05-05 16:24:14 +04:00
Andrew Borodin 873880edc2 vfs_timeout and use_netrc variables were moved to vfs.h file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:14 +04:00
Andrew Borodin 54b38bd381 Set maximum width of help window to 80 symbols.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:14 +04:00
Andrew Borodin dd74fc504c Minor optimization of show_version() function.
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>
2010-05-05 16:24:14 +04:00
Andrew Borodin f0f1a7c7ff Removed unused src/ecs* files and related stuff.
As a consequence, --enable-extcharset option of configure was removed.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:14 +04:00
Andrew Borodin 9ac5d5207c Minor optimization of tty_draw_box() function.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:14 +04:00
Andrew Borodin 80ceccd90d Removed uneeded extra assignment of command line complete flags.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:14 +04:00
Andrew Borodin fc43eba894 Changed function argument names.
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>
2010-05-05 16:24:14 +04:00
Andrew Borodin c0f6a3bd1d Fixed formatting after indentation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:14 +04:00
Pavel Vasilyev e88141145e Ticket #1949: complete initialization of structures in src/args.c.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:14 +04:00
Vit Rosin 2eb870c9c9 Ticket #2041: check return value of g_strdup_printf() in mc_log().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:14 +04:00
Andrew Borodin 7ada01bfa1 Ticket #2078: changed return value of init_translation_table() function.
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>
2010-05-05 16:24:14 +04:00
Vit Rosin 993d678ed9 Use EXIT_FAILURE symbolic name as return code.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:14 +04:00
Vit Rosin 1c367a41fd Removed unneeded break after return.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:14 +04:00
Andrew Borodin 9547a991cb Ticket #2119: some trivial corrections.
Trivial changes in util.h. Type cast in str_move function.

Thanks Vit Rosin for original patch.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:14 +04:00
Andrew Borodin 933aba001d Some optimizatioms in vfs.c.
Avoid some else branches. Type accuracy.

Thanks Vit Rosin for original patch.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:14 +04:00
Andrew Borodin e70db42deb Grammar.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:13 +04:00
Andrew Borodin 4cea5be1ac Ticket #2097: clean up before 4.7.2 release.
Split assignments and conditions. Type accuracy. Minor optimization.

Thanks Vit Rosin for original patch.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:23:51 +04:00
Yury V. Zaytsev bfd0b2c995 Merge branch '2126_ini_syntax'
* 2126_ini_syntax:
  Some fixies of ini.syntax (added default color)
  Ticket #2126: DOS style INI files syntax
2010-05-04 16:44:00 +02:00
Slava Zanko 1eba5407ab Some fixies of ini.syntax (added default color)
also, misc/syntax/Makefile.am changed for install ini.syntax into system

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-04 16:43:12 +02:00
Karsten Hilbert 1243fc6fd7 Ticket #2126: DOS style INI files syntax
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>
2010-05-04 16:43:12 +02:00
Slava Zanko 3b375cc2d3 Merge branch '1897_libc_respect_return_values'
* 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
2010-05-04 17:37:30 +03:00
Slava Zanko 3a1e0966ae Final Indentation of all touched files
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-04 17:34:21 +03:00
Enrico Weigelt, metux IT service db6944f619 Changes into src/consaver directory:
* src/cons.saver.c:
  * handling IO errors in send_contents()
  * ignoring errors in die()
  * handling IO errors in main()

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-04 17:34:20 +03:00
Slava Zanko 5d79a90737 Changes into src/editor directory:
* edit/editcmd.c:
  * ignore fscanf() result in edit_delete_macro()
  * ignore fscanf() result in edit_load_macro_cmd()
  * ignoring mc_chown() errors in edit_save_file()
  * handling system() call errors in edit_block_process_cmd()
 * edit/edit.c: handling read errors in edit_load_file_fast()

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-04 17:34:20 +03:00
Slava Zanko 35dae723ee Changes into src directory:
* src/background.c:
   * handling read() errors in background_attention()
   * handling IO errors in parent_call_string()
   * ignoring IO errors in background_attention()
   * ignoring write() errors in parent_call_header()
   * ignore IO errors in parent_call()
 *  src/cons.saver.c:
   * handling IO errors in show_console_contents_linux()
   * handling IO errors in handle_console_linux()
 * src/file.c: handling mc_chdir() errors in panel_operate
 * src/find.c: ignoring errors on chdir() call
 * src/main.c:
   * ignoring errors on last write()'s in main()
   * ignoring mc_chdir() errors in setup_dummy_mc()
   * ignoring mc_chdir() errors in translated_mc_chdir()
 * src/panelize.c: ignoring errors on chdir() call
 * src/screen.c:
   * ignoring mc_chdir() errors in panel_new_with_dir()
   * ignoring mc_chdir() errors in reload_panelized()
   * ignoring mc_chdir() errors in update_panels()
 * src/subshell.c: ignoring errors on chdir() call
 * src/tree.c: ignoring mc_chdir() errors in tree_rescan()
 * src/treestore.c: handling read errors in tree_store_load_from()
 * src/widget.c: handling mc_write() errors in save_text_to_clip_file

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-04 17:34:20 +03:00
Enrico Weigelt, metux IT service 303833d590 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>
2010-05-04 17:34:20 +03:00
Yury V. Zaytsev 66ff918624 Merge branch '1671_i18n_checktimelength'
* 1671_i18n_checktimelength:
  Ticket #1671: i18n_checktimelength may vary depending on the season
2010-05-04 11:27:48 +02:00
Yury V. Zaytsev 28eda66803 Ticket #1671: i18n_checktimelength may vary depending on the season
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>
2010-05-02 13:21:09 +02:00
Andrew Borodin 5ba9fde28c Merge branch '1754_show_current_syntax'
* 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.
2010-04-30 18:26:01 +04:00
Andrew Borodin 12d3ef7171 Applied MC indentation policy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-30 18:25:32 +04:00
Andrew Borodin d391813325 Optimization: rid of edit_menubar global variable.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-30 18:11:48 +04:00
Andrew Borodin 962bd6fc15 Optimization: rid of wedit and option_syntax_type global variables.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-30 18:11:48 +04:00
Andrew Borodin 1480937b17 Type accuracy. Minor optimization.
GLib function are used to manadge array of strings.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-30 18:11:48 +04:00
Andrew Borodin 469d119e12 Ticket #1754: show current syntax in 'Choose syntax highlighting' dialog.
Now current syntax scheme is highlighted in 'Choose syntax highlighting'
dialog.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-30 18:11:47 +04:00
Slava Zanko dffe717c56 Merge branch '2122_y2k_bug_in_zip'
* 2122_y2k_bug_in_zip:
  Another side of this bug, missed before
  Ticket #2122: Y2k bug in uzip vfs
2010-04-30 10:49:28 +03:00
Andrew Filonov d9ebcebdc1 Another side of this bug, missed before
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-04-30 10:49:16 +03:00
Andrew Filonov fc6cf6bf3f Ticket #2122: Y2k bug in uzip vfs
Newest version of unzip returns year of file with 4 digits.
But regexp in uzip checks only 2 digits.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-04-30 10:49:16 +03:00
Ilia Maslakov ac9b5fba09 Merge branch '1734_viewer_eol_and_bol_fix'
* 1734_viewer_eol_and_bol_fix:
  Ticket #1734 (viewer: EOL, BOL movement not work in plain mode)
2010-04-30 11:46:23 +04:00
Ilia Maslakov c8bfd2d992 Ticket #1734 (viewer: EOL, BOL movement not work in plain mode)
fixed EOL, BOL movement in plain mode.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-30 11:45:57 +04:00
Ilia Maslakov 1dce1600b9 Merge branch '2005_viewer_hex_mode_edit_fix'
* 2005_viewer_hex_mode_edit_fix:
  Ticket #2005 (viewer: Text area is not updated in hex mode)
2010-04-30 08:58:01 +04:00
Ilia Maslakov 86758ed198 Ticket #2005 (viewer: Text area is not updated in hex mode)
fixed: Text area is not updated in hex mode (in utf-8).

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-30 08:57:05 +04:00
Daniel Borca bc0ad94461 ydiff.c: minor fix for more pretty show diff.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-30 08:44:08 +04:00
Sebastian Siebert 35950d65c1 l10n: Updates to German (de) translation
New status: 1060 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-04-30 00:32:18 +00:00
Sebastian Siebert 96b6b576e6 l10n: Updates to German (de) translation
New status: 1060 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-04-29 22:56:51 +00:00
Oleksandr Natalenko b49e7d435c l10n: Updated Ukrainian (uk) translation to 100%
New status: 1060 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-04-29 14:40:56 +00:00
Yury V. Zaytsev 4d547cc263 Merge branch '2159_spec_mcdiff_update'
* 2159_spec_mcdiff_update:
  Ticket #2159: After the inclusion of mcdiff the SPEC needs an update
2010-04-29 08:58:06 +02:00
Yury V. Zaytsev 1b9da36dc3 Ticket #2159: After the inclusion of mcdiff the SPEC needs an update
Build fails with the following message:

    Installed (but unpackaged) file(s) found:
      /usr/bin/mcdiff

To fix this issue %{_bindir}/mcdiff has to be added to the list of the
packaged files.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-04-29 08:57:31 +02:00
Gergely Szabó 6fadc8f1ba l10n: Hungarian translation updated.
New status: 1039 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-04-29 06:55:04 +00:00