Commit Graph

9303 Commits

Author SHA1 Message Date
Ilia Maslakov fa24b65893 Merge branch '1809_editor_incorrect_calc_position'
* 1809_editor_incorrect_calc_position:
  Ticket #1809 (editor: incorrect cursor positioning)
2009-12-02 18:31:46 +00:00
Ilia Maslakov 99f0e50aba Ticket #1809 (editor: incorrect cursor positioning)
fixed: cursor positioning after non-printeble char (in 8-bit encoding)
    added: char convertion for correct cursor movement

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-12-02 18:28:22 +00:00
Slava Zanko 553bef687e Merge branch '1796_FTPFS_fail_active_mode'
* 1796_FTPFS_fail_active_mode:
  Minor fix for mc_log_mark() macro.
  Ticket #1796: FTPFS does not work in active mode
2009-12-02 16:05:48 +02:00
Slava Zanko 9808eed46a Minor fix for mc_log_mark() macro.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-02 16:05:26 +02:00
Slava Zanko d712d2638e Ticket #1796: FTPFS does not work in active mode
Fixed error with active mode of ftpfs.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-02 16:05:26 +02:00
Slava Zanko 09f962f5a6 Merge branch '1798_fix_detect_lzma_files'
* 1798_fix_detect_lzma_files:
  Ticket #1798: Not enough magic read before checking for lzma files
2009-12-02 16:03:36 +02:00
Slava Zanko c9978ff155 Ticket #1798: Not enough magic read before checking for lzma files
In the function get_compression_type() in src/util.c, only 5 bytes of the
file are read into the magic array, but the test for lzma files checks the
first 6 bytes in the magic array.

Fix issue:
now reads 6 bytes for correct recognize LZMA-files.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-02 16:03:07 +02:00
Oleksandr Natalenko 9736afb521 Updated Ukrainian translation for pre4
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-02 12:01:15 +02:00
Andrew Borodin 548552ec63 Merge branch '1781_out_of_bounds'
* 1781_out_of_bounds:
  Ticket #1781: array index is out of bounds.
2009-12-02 10:01:16 +03:00
Andrew Borodin 92291381e3 Ticket #1781: array index is out of bounds.
Fixed array index in sort_key_name_conv_tab() function.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-12-02 10:01:01 +03:00
Slava Zanko ca8a009126 Merge branch '1450_fish_timestamps'
* 1450_fish_timestamps:
  Fix broken filenames and timestamps on really poor busybox devices.
  Ticket #1450: FISH: timestamps don't show correctly
2009-12-01 21:49:38 +02:00
Slava Zanko 4fc08a729e Fix broken filenames and timestamps on really poor busybox devices.
This good patch for FISH'ing to devices like my D-Link-500T :)

'busybox ls -lan'  and native 'ls -lan' is different. For example

$ busybox ls -lan /dev

drwxr-xr-x    1 0  0  0     0      0 Jan  1  1970 .
drwxrwxrwx    1 0  0  0     0      68 Dec 12  2007 ..
crw-------    1 0  0  0     0 8,   0 Jan  1  1970 .devfsd
crw-------    1 0  0  0     0 5,   1 Jan  1 12:01 console
crw-rw-rw-    1 0  0  0     0 1,   7 Jan  1  1970 full
...

and
$ ls -lan /dev
drwxr-xr-x  12 0   0     4340 Ноя 20 09:33 .
drwxr-xr-x  23 0   0     4096 Июл 29  2004 ..
crw-rw----+  1 0   0  14,  12 Июл 29  2004 adsp
crw-------   1 0   0  10, 175 Июл 29  2004 agpgart
crw-rw----+  1 0   0  14,   4 Июл 29  2004 audio

output of 'busybox ls' have two additional columns, therefore
names on filesystem shows like:
/1 12:00 proc
/1 1970 dev
/12 2007 bin
/12 2007 etc
/12 2007 lib
/12 2007 sbin
...

This patch will fix it behavior.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-01 21:49:12 +02:00
Alexander Moiseenko 11928eeff0 Ticket #1450: FISH: timestamps don't show correctly
Test case:
1) Make FISH-connect to some host;
2) sort files by modification time;
3) will see older files (from previous year) as new files

For check, connect to same host and enter in command line:

ls -lt

Thanks for bugreport to Alexander Glyzov.

Fix issue:
Because first part of FISH-ls script is Perl script.
But localtime function returns dates like:
Fri Sep 18 10:40:28 2009

But in utilvfs.c is written: So both year and time is not allowed.
This commit fixed write format of date.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-01 21:49:12 +02:00
Slava Zanko 92247810e5 Merge branch '407_ctrl_w_not_delete_line'
* 407_ctrl_w_not_delete_line:
  Ticket #407: C-w does not delete whole command line
2009-12-01 16:24:59 +02:00
Stan. S. Krupoderov c1426b90ff Ticket #407: C-w does not delete whole command line
Fix set mark on delete_region

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-01 16:24:43 +02:00
Andrew Borodin c68dd0e7bd Fixed Russian translation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-30 22:07:25 +03:00
Andrew Borodin 8610caa947 Merge branch '1848_spec'
* 1848_spec:
  Ticket #1848: Rewritten and simplified static build procedure for legacy distros.
2009-11-30 21:19:28 +03:00
Yury V. Zaytsev d8531dbbb5 Ticket #1848: Rewritten and simplified static build procedure for legacy distros.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2009-11-29 16:19:54 +03:00
Slava Zanko d97f55dec0 Merge branch '1659_darker_color_style'
* 1659_darker_color_style:
  Ticket #1659: Darker color style
2009-11-27 09:45:16 +02:00
Tomasz Pala 2e97cf7fb7 Ticket #1659: Darker color style
Some fixies for skin.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-27 09:45:01 +02:00
Sergei Trofimovich a04bf73ab9 Syntax: added '.hh' and '.hpp' file extensions as C++ sources
'.hh' are used in projects, such as blackbox
'.hpp' are quite popular everywhere

Signed-off-by: Sergei Trofimovich <st@anti-virus.by>
2009-11-26 12:16:13 +02:00
Slava Zanko 72a3b33f80 Added descriptions of M-e hotkey into help of editor and viewer.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-25 13:41:32 +02:00
Ilia Maslakov f648fbcf5f Merge branch '1839_vertical_selection_enhancement'
* 1839_vertical_selection_enhancement:
  fixed eval_marks for correct calculation of the sizes of the selected block
  Ticket #1839
2009-11-24 20:38:04 +00:00
Ilia Maslakov cfc90ab23f fixed eval_marks for correct calculation of the sizes of the selected block
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-11-24 20:35:09 +00:00
Ilia Maslakov dc9029f599 Ticket #1839
fixed vertical selection behavior.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-11-24 20:33:15 +00:00
Slava Zanko 8eaf9b549c Change descriptions of 'Ctrl-t' <-> 'Alt-e' hotkeys in man-pages
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-24 13:38:44 +02:00
Slava Zanko 1b5768e2ad Update doc/NEWS file.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-24 13:24:58 +02:00
Andrew Borodin 99c9ea9090 Merge branch '1781_little_startup_speedup'
* 1781_little_startup_speedup:
  Ticket #1781: little speedup of startup.
2009-11-24 13:48:11 +03:00
Andrew Borodin e6851b18b3 Ticket #1781: little speedup of startup.
Keys sort functions have been maken inline.
Decrease of memory usage: reimplemented
key_name_conv_tab_sorted array as array of pointers
instead of entire copy of key_name_conv_tab array.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-23 21:30:43 +03:00
Slava Zanko 4fa7b56ada Merge branch '1590_drop_srpm'
* 1590_drop_srpm:
  /vfs/extfs/rpm wrapper is totally rewritten.
  Drop srpm VFS at all. rpm VFS is used instead.
  Ticket #1590: single rpm script that also does srpm job.
2009-11-23 10:16:54 +02:00
Slava Zanko e7ed071be7 /vfs/extfs/rpm wrapper is totally rewritten.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-23 10:16:28 +02:00
Andrew Borodin d53630b800 Drop srpm VFS at all. rpm VFS is used instead.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-23 10:16:28 +02:00
Arkadiusz Miśkiewicz 03fd0a6cd0 Ticket #1590: single rpm script that also does srpm job.
Use rpm script for srpm job, too.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-23 10:16:28 +02:00
Andrew Borodin a4541a70ae Merge branch '1814_empty_values_in_history'
* 1814_empty_values_in_history:
  Ticket #1814: allow save empty value in history.
2009-11-20 19:44:46 +03:00
Andrew Borodin 35de934437 Ticket #1814: allow save empty value in history.
Problem: 'Find File' dialog doesn't save an empty "content" filed on exit.
Proposed solution: allow each history (not in content in 'Find File' dialog
only) save an empty value.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-20 19:44:14 +03:00
Ilia Maslakov a1552e9f06 Merge branch '1837_block_selection_fix'
* 1837_block_selection_fix:
  Ticket #1837 (incorrect block selection)
2009-11-20 15:36:18 +03:00
Ilia Maslakov 380504c8d9 Ticket #1837 (incorrect block selection)
fixed strange behavior of selection in editor.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-11-20 15:34:42 +03:00
Slava Zanko d8efd7de96 Merge branch '1835_fix_logic_in_get_codepage_index'
* 1835_fix_logic_in_get_codepage_index:
  Ticket #1835: Coding style fixups in src/charset.c
2009-11-20 14:13:25 +02:00
Leonid Myravyev c3279bd980 Ticket #1835: Coding style fixups in src/charset.c
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-20 14:13:12 +02:00
Andrew Borodin 4f57b7d3db Merge branch '1836_wrong_menu_shortcuts'
* 1836_wrong_menu_shortcuts:
  Ticket #1836: fixed wrong shortcuts in menu items.
2009-11-20 14:49:13 +03:00
Andrew Borodin 0d4ebe6ece Ticket #1836: fixed wrong shortcuts in menu items.
Also minor optimization of key names sort.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-20 14:48:48 +03:00
Andrew Borodin 15bfe2f86b Merge branch '1831_disable_nls'
* 1831_disable_nls:
  Ticket #1831: fixed compilation warings of --disable-nls and --disable-charset options.
2009-11-20 14:40:39 +03:00
Andrew Borodin a193e2e56f Ticket #1831: fixed compilation warings of --disable-nls and --disable-charset options.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-20 14:39:51 +03:00
Andrew Borodin 0b8b237d2b Merge branch '1732_cpio'
* 1732_cpio:
  Fixed skip of empty directories in the root of cpio archive.
  Ticket #1732: cpio VFS skips empty directories in the root of archive
2009-11-19 20:34:51 +03:00
Andrew Borodin f84917a188 Fixed skip of empty directories in the root of cpio archive.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 20:34:25 +03:00
Andrew Borodin 698385bdd0 Ticket #1732: cpio VFS skips empty directories in the root of archive
Initial step: some optimization and type accuracy.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 20:34:25 +03:00
Ilia Maslakov fd95afef23 Merge branch '1809_editor_nonprintable_fix'
* 1809_editor_nonprintable_fix:
  Ticket #1809 (invalid length of nonprintable chars)
2009-11-19 17:47:47 +03:00
Ilia Maslakov 51e7de4bb5 Ticket #1809 (invalid length of nonprintable chars)
fixed calculation of the cursor position in 'edit_move_forward3'.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-11-19 17:41:26 +03:00
Slava Zanko b2f1b0bb71 Merge branch '1613_remove_charset_confirmation'
* 1613_remove_charset_confirmation:
  Ticket #1613: remove charset confirmation on startup
2009-11-19 10:56:25 +02:00
Slava Zanko 59efad629f Ticket #1613: remove charset confirmation on startup
Since mc-4.7.0-pre1 was added charset confirmation if charset was changed.

This commit was adds automatic recognize of system charset and fix in current
config. Also, now contig file will untouched if 'Auto save setup' option is switched off.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-19 10:36:37 +02:00