Ilia Maslakov
595eb7e3f0
Ticket #1809 (incorrect calculanion char width in 8-bit locales)
...
fixed: cursor placement and movements in non-ascii (cyrillic) UTF-8 files
in 8-bit (KOI8-R) locales
fixed incorrect width calculation in 7-bit codeset
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Minor optimization of edit_move_forward3() function.
Also fixed build with --disable-charset option.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-12-09 14:42:51 +03:00
Richard van der Luit
d807f95bce
Updated Dutch translation file
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-08 21:12:45 +02:00
Slava Zanko
e1a4559452
Merge branch '1450_fish_dir_load_fix'
...
* 1450_fish_dir_load_fix:
Ticket #1450 : FISH: timestamps don't show correctly
2009-12-07 17:59:56 +02:00
Slava Zanko
3a9f0024da
Ticket #1450 : FISH: timestamps don't show correctly
...
Fixed forgotten variable substitution: now substitute value of variable instread of variable name
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-07 17:59:44 +02:00
Slava Zanko
7f82f32404
Merge branch '1858_segfault_in_search'
...
* 1858_segfault_in_search:
Ticket #1858 : Segmentation fault when search in different encodings
2009-12-07 13:47:36 +02:00
Slava Zanko
2887d5c710
Ticket #1858 : Segmentation fault when search in different encodings
...
Test case:
1. Make two files with same content but with different encodings (for example, in UTF-8 and KOI8-R);
2. Open UTF-8 file for editing. Press Alt+e and set 'UTF-8' encoding;
3. Search someting
4. exit from editor and open file with 'KOI8-R' encoding;
5. You must see a dots. Now press shift+F7 (continue search);
6. Segfault here
Fix issue:
Now function mc_search__recode_str() returns newly allocated string in any case
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-07 13:45:25 +02:00
Andrew Borodin
2c7f684908
Merge branch '1844_edit_user_menu_goto_refactoring'
...
* 1844_edit_user_menu_goto_refactoring:
refresh screen any way
Ticket #1844 : refactoring of goto in editor user_menu() function.
2009-12-06 10:23:44 +03:00
Ilia Maslakov
2ae5412fb7
refresh screen any way
...
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-12-06 10:20:35 +03:00
Andrew Borodin
8eb860eb48
Ticket #1844 : refactoring of goto in editor user_menu() function.
...
Refactoring of uneeded goto in user_menu() function in editor.
Thanks to Vit Rosin for originl patch.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-12-06 10:20:35 +03:00
Ivan Masár
f574b9be4e
Updated Slovak (sk) translation
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-12-04 11:38:18 +02:00
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