Slava Zanko
91248f05bd
Ticket #1712 : VFS fix for mc.
...
Fix segfaults in various cases while browsing various VFSs.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-15 09:39:26 +03:00
Slava Zanko
c96d4b3be0
Merge branch '1607_undel_fs'
...
* 1607_undel_fs:
Ticket #1607 : undelfs check broken in configure.ac
2009-10-15 09:35:00 +03:00
Slava Zanko
3b05057818
Ticket #1607 : undelfs check broken in configure.ac
...
Fix running onfigure with '--disable-vfs-undelfs' option.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-15 09:34:29 +03:00
Slava Zanko
94f30d0905
Merge branch '1714_context_for_indicator'
...
* 1714_context_for_indicator:
Ticket #1714 : Sort types: use context for indicator translations.
2009-10-13 15:19:57 +03:00
David Martin
415c10e880
Ticket #1714 : Sort types: use context for indicator translations.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-13 15:04:36 +03:00
Ilia Maslakov
1e8c3f6789
Ticket #1706
...
fixed tty_print_anychar, trouble with drawing utf-8 chars in 8-bit locales (ncurses)
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-10-13 11:34:05 +00:00
Slava Zanko
c492abe28c
Merge branch '1700_space_in_color_name'
...
* 1700_space_in_color_name:
Ticket #1700 : fixed skin color parser.
2009-10-13 12:03:00 +03:00
Andrew Borodin
1e608044af
Ticket #1700 : fixed skin color parser.
...
Strip leading and trailing spaces in color names read from skin ini
file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-13 12:02:14 +03:00
Ilia Maslakov
db419a27c1
Ticket #1706
...
fixed tty_print_anychar, replaced addch to addstr when MC build with ncurses library.
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-10-13 07:08:00 +00:00
Slava Zanko
080b639d47
Merge branch '1617_editor_filepos'
...
* 1617_editor_filepos:
Ticket #1617 : Current editing position of files don't save.
2009-10-12 09:34:29 +03:00
Slava Zanko
1b91f29cbb
Ticket #1617 : Current editing position of files don't save.
...
Fixed bug.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-12 09:34:08 +03:00
Slava Zanko
07b9ae3a26
Merge branch '370_fix_init_struct'
...
* 370_fix_init_struct:
Ticket #397 : Fix initialization of structure.
2009-10-12 09:30:11 +03:00
Slava Zanko
55fe1bb86e
Ticket #397 : Fix initialization of structure.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-12 09:09:41 +03:00
Andrew Borodin
e2e549d4bc
Fixed po/ru.po.
...
Fixed choose encoding shortcut (M-e instead of -t).
Removed extra quote symbol in 2684 line.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-11 08:47:56 +04:00
Ilia Maslakov
4cd93228d4
Ticket #1683
...
add command EditToggleSyntax for toggle syntax highlight
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-10-10 15:50:58 +00:00
Slava Zanko
46d9b9c800
Merge branch '1630_ico_files_support'
...
* 1630_ico_files_support:
Ticket #1630 : add ico files support
2009-10-09 13:42:00 +03:00
Denis Briand
91378afbfb
Ticket #1630 : add ico files support
...
This is a trivial patch to add *.ico files support into mc.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-09 13:34:20 +03:00
Yury V. Zaytsev
f0c69e9819
Fix typos in Belorussian & Russian team names in PO-files
...
Also, fixed team names and formatting of strings in other translations.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-09 13:20:48 +03:00
Slava Zanko
de72a6f98f
Fresh all translations. Update Russian translate.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-09 09:56:42 +03:00
Slava Zanko
11ec996333
Merge branch '397_i18n_sort_indicator'
...
* 397_i18n_sort_indicator:
Ticket #397 : i18n for sort indicator
2009-10-09 09:49:25 +03:00
Slava Zanko
0fdb3488e5
Ticket #397 : i18n for sort indicator
...
Fixed translations of sort indicator. Now it separate string for better translate.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-09 09:48:38 +03:00
Ilia Maslakov
9bec191b25
Merge branch '256_widget_backward_kill_word_fix'
...
* 256_widget_backward_kill_word_fix:
Some fixies for optimization.
Ticket #256
2009-10-07 13:30:43 +00:00
Slava Zanko
19493b9518
Some fixies for optimization.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-07 11:57:19 +00:00
Egmont Koblinger
51771e0092
Ticket #256
...
fix: Alt+Backspace (kill word) behaviour in command line
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-10-07 11:57:18 +00:00
Slava Zanko
b009a7b5fa
Merge branch '1681_add_cab_support'
...
* 1681_add_cab_support:
Ticket #1681 : extfs for .cab
2009-10-07 13:15:00 +03:00
Yuri Fil
c5fd4aef8e
Ticket #1681 : extfs for .cab
...
Added ability for work with Microsoft CAB archives.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-07 13:14:24 +03:00
Slava Zanko
fc3f810330
Merge branch '1680_exit_on_non_local_vfs'
...
* 1680_exit_on_non_local_vfs:
Ticket #1680 : Allow 'exit' command on non-local filesystems.
2009-10-07 12:24:55 +03:00
Jindrich Novy
7370136f2a
Ticket #1680 : Allow 'exit' command on non-local filesystems.
...
On non-local filesystems, mc won't allow execution of commandline arguments.
This makes sense, except for the `exit' command, which might be allowed even on
non-local filesystems.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-07 12:24:40 +03:00
Slava Zanko
705acef312
Merge branch '1617_ownership_of_user_home_files'
...
* 1617_ownership_of_user_home_files:
Reorganize work with files. Fixed permissions of files in mc home dir. All file names now accumulated into src/fileloc.h
Ticket #1617 : ownership of files ~/.mc
2009-10-07 12:01:28 +03:00
Slava Zanko
14be06d050
Reorganize work with files. Fixed permissions of files in mc home dir. All file names now accumulated into src/fileloc.h
...
* Added common functions for work with backups of main config files.
* Fixed permissions of ~/.mc/ini;
* Fixed permissions of ~/.mc/filepos
* Fixed permissions of ~/.mc/hotlist
* Fixed permissions of ~/.mc/Tree
* Fixed ownership for ~/.mc/hotlist file
* Changed definitions of config files. Now used constants from src/fileloc.h
Also, added ability for change mc user home dir. Just type:
{{{
make CFLAGS='-DMC_USERCONF_DIR=\".mc2\"'
}}}
And you will have different config files (very usefull for testing or development).
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-07 12:01:05 +03:00
Slava Zanko
a931ff73cc
Ticket #1617 : ownership of files ~/.mc
...
Test case:
$ sudo bash
files in the directory ~/.mc overwritten and hence change of ownership at the root.
Later, when starting from a user, MC can not save history (the file ~/.mc/history),
because this file is not overwritten.
Fix issue: Now files will overwrite if exists (rather than remove and create new file).
* Added backup of saved files. If someone wrong in 'write config' stage, backup file still present.
* Identation of code.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-07 12:01:05 +03:00
Slava Zanko
669ac422f5
Merge branch '1679_tar_colon_in_name'
...
* 1679_tar_colon_in_name:
Ticket #1679 : Fails to view .tar file with a colon in name
2009-10-07 11:34:13 +03:00
Andrey Rahmatullin
4c5edb4647
Ticket #1679 : Fails to view .tar file with a colon in name
...
Fixed incorrent handle of .tar files with a colon in name
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-07 11:10:54 +03:00
Slava Zanko
3b0008690c
Merge branch '1620_file_hightlighting_icase'
...
* 1620_file_hightlighting_icase:
Ticket #1620 : File hightlighting based on extension is case sensitive.
2009-10-07 10:42:51 +03:00
Slava Zanko
71642b9bdb
Ticket #1620 : File hightlighting based on extension is case sensitive.
...
Added parameter extensions_case.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-07 10:42:25 +03:00
Ilia Maslakov
93f8b96b32
Ticket #1664 (Viewer: incorrect tabs alignment)
...
fix tabs alignment. Variable option_tab_spacing instead hardcoded '8' are used.
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-10-07 07:25:26 +00:00
Ilia Maslakov
1c4f8b1a0e
Ticket #1675 (hex editor regression)
...
Viewer: fixed command handling.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
add: binding for "esc", "escape"
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-10-07 07:15:04 +00:00
Andrew Borodin
9041b265fc
Merge branch '1662_find_file_empty_content'
...
* 1662_find_file_empty_content:
Ticket #1662 : keep empty 'Content:' field in 'Find File' dialog.
2009-10-06 21:20:51 +04:00
Andrew Borodin
2d1eb7bea0
Ticket #1662 : keep empty 'Content:' field in 'Find File' dialog.
...
Partially revert of 5fd7d65dca
.
If 'Content:' field is empty, keep it and don't populate it
from history.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-06 21:20:26 +04:00
Ilia Maslakov
e5abe33fc6
Ticket #1669 (autoindent not working)
...
* remove unused code;
* autoindent fixed, mcedit distinguishes CK_Enter and CK_Return commands, but terminal not.
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-10-06 13:56:17 +00:00
Slava Zanko
77896d5de1
Merge branch '397_mouse_click_column_heading'
...
* 397_mouse_click_column_heading:
Cleanup of code. Remove unused panel_field_t::use_in_gui variable
Added indicators for current sort type and sort direction.
Fixed segfault in 'Brief file list' listing mode
Added reversing sort order ability if one keybind raised multiple times.
Added keymaps for some sort types.
Remove code for reverse search direction when toggle search types.
Fixed behavior of CK_PanelSelectSortOrder event.
Remove unneded code
Added handlers for panel sort keybind actions.
Remove array of hardcoded format names from listmode.c
Some changes for better toggle sort types of panel.
Fixed length of panel header (current directory).
Ticket #397 : Mouse click on column heading sorts panel on that column
2009-10-06 10:19:23 +03:00
Slava Zanko
ba9ac667d2
Cleanup of code. Remove unused panel_field_t::use_in_gui variable
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-06 10:18:55 +03:00
Slava Zanko
08e6e1caf4
Added indicators for current sort type and sort direction.
...
Added parameters into skin-files for showing sort indicator.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-06 10:18:55 +03:00
Slava Zanko
9766359a1b
Fixed segfault in 'Brief file list' listing mode
...
Segfault was been raised after clink on header of right column.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-06 10:18:55 +03:00
Slava Zanko
13220bfc6c
Added reversing sort order ability if one keybind raised multiple times.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-06 10:18:55 +03:00
Slava Zanko
9fa3347fc1
Added keymaps for some sort types.
...
* PanelSortOrderByName
* PanelSortOrderByExt
* PanelSortOrderBySize
* PanelSortOrderByMTime
Also added 'PanelReverseSort' keymap.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-06 10:18:54 +03:00
Slava Zanko
3def4aeb0e
Remove code for reverse search direction when toggle search types.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-06 10:18:54 +03:00
Slava Zanko
fe73db4227
Fixed behavior of CK_PanelSelectSortOrder event.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-06 10:18:54 +03:00
Slava Zanko
c8857b3084
Remove unneded code
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-06 10:18:54 +03:00
Slava Zanko
7896ea84f6
Added handlers for panel sort keybind actions.
...
* PanelSelectSortOrder - show 'Sort order' dialog
* PanelToggleSortOrderPrev - toggle next sort type (or reverse sort order)
* PanelToggleSortOrderNext - toggle previous sort type (or cancel reverse)
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-06 10:18:54 +03:00