Commit Graph

9777 Commits

Author SHA1 Message Date
Andrew Borodin
ba1d909a7a extfs.ini file is replaced to extfs.d directory.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-15 16:10:02 +00:00
Andrew Borodin
2d43ad1bb4 Reimplemented work with plugin info.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-15 16:10:02 +00:00
Andrew Borodin
6e1c61da0e Optimization of symbolic link loop protection.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-15 16:10:02 +00:00
Andrew Borodin
5b96caa5f0 Optimization of extfs_get_path_from_entry() function.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-15 16:10:02 +00:00
Andrew Borodin
ad9c1daad8 Ticket #1909: easy plugable EXTFS VFS.
Reimplemented EXTFS VFS to be friendly to package-based
systems. Currently, MC requires to edit extfs.ini file
to add new plugin to MC VFS. After upgrade, all changes
to this files will be lost.

To solve that problem, MC configuration system should
support ".d" pattern.

Initial step: refactoring of current extfs code:
cleanup, type accuracy, indentation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-15 16:10:02 +00:00
Slava Zanko
9e2768be46 Ticket #1917: again search in viewer
Added new confirm box for repeat search from begining of file

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-15 17:17:27 +02:00
Slava Zanko
111750d600 Merge branch '2029_error_in_urar.in'
* 2029_error_in_urar.in:
  urar.in: fixed work with filenames begining with spaces.
  Ticket #2029: Error in supporting rar-archives
2010-02-15 14:40:28 +02:00
Serhiy Storchaka
d45554ffad urar.in: fixed work with filenames begining with spaces.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-15 13:39:30 +02:00
Serhiy Storchaka
786e6f548e Ticket #2029: Error in supporting rar-archives
Contents of rar-archives with filenames contained / \d\d:\d\d / are not listed correctly.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-15 13:06:42 +02:00
Slava Zanko
533edd084a Merge branch '1767_custom_date_format'
* 1767_custom_date_format:
  Ticket #1767: Custom/locale-based date format
2010-02-15 12:32:42 +02:00
Martin Petricek
7c3196b60e Ticket #1767: Custom/locale-based date format
Fixed showing of datetime format in various locales (such as Polish locale)

Added new options in config file:

[Misc]
    ...
    timeformat_recent=%d.%m.%y %H:%M
    timeformat_old=%d.%m.%y %H:%M
    ...

where
    timeformat_recent - for files with mtime between now
                         and "6 moths old" (like "Nov 2 00:56")
    timeformat_old    - for other files (like "Jun 23 2007")

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-15 12:31:47 +02:00
Marco Ciampa
26d2ae5431 Updated italian translation 2010-02-12 19:03:18 +01:00
Piotr Drąg
0a91123913 Updated Polish (pl) translation for master
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-12 16:17:29 +02:00
Slava Zanko
152299febf Merge branch '1996_ViewContinueSearch_segfault'
* 1996_ViewContinueSearch_segfault:
  Ticket #1996: ViewContinueSearch segfault on empty search
2010-02-12 13:03:09 +02:00
Andrew Borodin
a394ec47f1 Merge branch '2017_missing_include'
* 2017_missing_include:
  Ticket #1017: added missing #include.
2010-02-12 11:46:33 +00:00
Slava Zanko
f9b956b483 Ticket #1996: ViewContinueSearch segfault on empty search
Steps to reproduce:
1. F7,
2. set empty search string,
3. enter
4. n
5. enter
6. n

Fix issue: set view->last_search_string to NULL after call g_free()

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-12 13:02:26 +02:00
Max Khon
35e211123b Ticket #1017: added missing #include.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-11 12:23:59 +00:00
Andrew Borodin
dbe8c287a0 Updated FISH VFS description.
Added description of FISH capability to connect
to remote server using any specified port.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-10 21:28:35 +03:00
Serhiy Storchaka
633dd8153b Ticket #1995: Indicating sort order
In "featured" skin sorting order from up to down indicated by arrow «↑» (up),
and vica verse reversed order from down to up indicated by arrow «↓» (down).
This is contrintuitive and contradicts to behavior of other programs
(file managers, mail clients, etc).

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-09 12:30:05 +02:00
Piotr Drąg
850bab3ef9 Polish translation for xnc.hlp file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-09 12:22:02 +02:00
Piotr Drąg
5ccc4b26ab Polish translation for hints
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-09 12:14:39 +02:00
Slava Zanko
915bff62fb Mass update of *.po files
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-09 12:07:29 +02:00
Piotr Drąg
925d18a7b0 Polish translation for mc
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-09 12:07:04 +02:00
Slava Zanko
ac60804870 Merge branch '1838_add_enca_support'
* 1838_add_enca_support:
  Changes into documentation.
  Ticket #1838: source_codepage autodetect with enca program.
2010-02-08 15:58:32 +02:00
Andrew Borodin
2f5838da42 Changes into documentation.
* added description of enca usage;
 * added example into mc 'man'.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-02-08 15:57:06 +02:00
Leonid Myravjev
56d955152c Ticket #1838: source_codepage autodetect with enca program.
Added support of autodetect codepages via 'enca' program.

New parameter in user configuration file (~/.mc/ini):

[Misc]
autodetect_codeset=(one of `enca --list languages | cut -d : -f1`)

Signed-off-by: Slava Zanko <slavazanko@gmail.com>

Little code cleanup.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>

Type accuracy. Added missing includes.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-08 15:56:48 +02:00
Benny Pedersen
110977b161 Ticket #2010: Missing \s in Syntax file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-07 14:12:23 +03:00
Andrew Borodin
03f4a8cd1c Merge branch '1926_ncurses_ctrl_backslash'
* 1926_ncurses_ctrl_backslash:
  Ticket #1926: Ctrl-\ key behaviour in NCurses-based MC.
2010-02-06 16:50:44 +03:00
Andrew Borodin
56bf77ae57 Ticket #1926: Ctrl-\ key behaviour in NCurses-based MC.
Generally, Ctrl-\ is a default assignment to SIGQUIT signal.
S-Lang breaks this assignment. NCurses doesn't, therefore
MC just quits when user presses the Ctrl-\ key.

This commit emulates the S-Lang way in NCurses-based MC.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-06 13:21:25 +03:00
Slava Zanko
e23b0d5a95 Merge branch '1902_mcserv_possible_security_risk'
* 1902_mcserv_possible_security_risk:
  Ticket #1902:  (reopened defect) Possible security risk in mcserv.c
2010-02-05 17:36:33 +02:00
Slava Zanko
7ea4dfb4ca Ticket #1902: (reopened defect) Possible security risk in mcserv.c
Comment by Oswald Buddenhagen:
first, you decided to ignore my advice about not
obfuscating the code with nonsense-checks, and on top of that you
broke the string comparison (just see what happens when you try a user
named "ftpmaster").

This commit contain changes for respect this critic.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-05 17:36:19 +02:00
Andrew Borodin
8a97f22f30 Revert "Ticket #1987: added Cobol syntax highlighting."
This reverts commit a8d75fce1e.

The Cobol syntax description in misc/syntax/Syntax file
breaks highlighting of other syntaxes.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-05 12:05:27 +00:00
Franz Wuerl
a8d75fce1e Ticket #1987: added Cobol syntax highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 14:35:55 +00:00
Andrew Borodin
1ebdf5df0a Merge branch '1445_remove_history_items'
* 1445_remove_history_items:
  Fixed listbox scrolling after item deletion.
  Minor optimization of listbox_key() function.
  Removed double check of panel history before show it.
  Documentation update.
  Added history cleanup capability.
  Changed i18n stuff of Confirmation dialog window.
  Preparation to history cleanup confirmation.
  Scroll list if last item have been deleted.
  History items can be deleted now using DEL key.
  Reimplemented usage of history list in history dialog.
  Added deletable member to WListbox structure.
  Added listbox_set_list() function.
  Small refactoring of history engine.
  Reimplemented WListbox to use GList.
  Ticket #1445: remove history items.
2010-02-04 13:44:32 +00:00
Andrew Borodin
36b2136391 Fixed listbox scrolling after item deletion.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 13:42:44 +00:00
Andrew Borodin
361f95a976 Minor optimization of listbox_key() function.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 13:42:44 +00:00
Andrew Borodin
081723c4e7 Removed double check of panel history before show it.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 13:42:44 +00:00
Andrew Borodin
eeaf24454c Documentation update.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 13:42:44 +00:00
Andrew Borodin
9bc2066b1f Added history cleanup capability.
New shortcuts of WListbox widget:
d or Del: remove current item of history;
D or Shift-Del: clean the history.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 13:42:44 +00:00
Andrew Borodin
2a8817b9be Changed i18n stuff of Confirmation dialog window.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 13:42:44 +00:00
Andrew Borodin
ad60c3fd8d Preparation to history cleanup confirmation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 13:42:44 +00:00
Andrew Borodin
43ca270f99 Scroll list if last item have been deleted.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 13:42:44 +00:00
Andrew Borodin
9a9e003243 History items can be deleted now using DEL key.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 13:42:44 +00:00
Andrew Borodin
5718372338 Reimplemented usage of history list in history dialog.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 13:42:44 +00:00
Andrew Borodin
1947d842a5 Added deletable member to WListbox structure.
Added deletable member to WListbox structure to enable
delete some list entries.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 13:42:44 +00:00
Andrew Borodin
1695465594 Added listbox_set_list() function.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 13:42:44 +00:00
Andrew Borodin
1d16fd3a88 Small refactoring of history engine.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 13:42:44 +00:00
Andrew Borodin
32c580ee87 Reimplemented WListbox to use GList.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 13:42:43 +00:00
Andrew Borodin
aac16c693d Ticket #1445: remove history items.
Initial step: optimizatiom of listbox_remove_current() function.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 13:42:43 +00:00
Slava Zanko
40164d039e Merge branch '1991_toggle_panels_view'
* 1991_toggle_panels_view:
  Ticket #1991: toggle panels view
2010-02-04 11:30:00 +02:00