Commit Graph

10699 Commits

Author SHA1 Message Date
Andrew Borodin
f8a47dae4c Merge branch '2398_save_as_tilde_expand'
* 2398_save_as_tilde_expand:
  lib/lock.c: applied MC indentation policy.
  Expand tilde while locking and unlocking files.
  (edit_set_filename): expand tilde while setting file name.
  Ticket #2398: tilde is not treated as home directory in editor "Save As" dialog.
2010-11-01 13:56:10 +03:00
Andrew Borodin
8f54b9b0b5 lib/lock.c: applied MC indentation policy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-01 13:54:39 +03:00
Andrew Borodin
533567c1a7 Expand tilde while locking and unlocking files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-01 13:54:39 +03:00
Andrew Borodin
4c40d57508 (edit_set_filename): expand tilde while setting file name.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-01 13:54:39 +03:00
Andrew Borodin
8088fe9b66 Ticket #2398: tilde is not treated as home directory in editor "Save As" dialog.
(edit_get_save_file_as): return file name with expanded tilde.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-11-01 13:54:39 +03:00
Martin Zoubek
9561550d6e l10n: Updated Czech (cs) translation to 100%
New status: 1094 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-10-31 09:24:52 +00:00
Ilia Maslakov
fa5eaac162 Merge branch '2268_FISH_hide_panels_before_connect'
* 2268_FISH_hide_panels_before_connect:
  replace print_vfs_message to printf
  Declarations of use_dash() and rotate_dash() were moved form lib/util.h to src/layout.h.
  Apply code identation policy.
  fish.c: some fixups.
  Split function fish_open_archive_int() to fish_open_archive_pipeopen() and fish_open_archive_talk().
  Ticket #2268 (FISH: hide panels before connecting)
2010-10-28 13:39:23 +04:00
Ilia Maslakov
88dc2e93bd replace print_vfs_message to printf
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-10-27 18:12:02 +04:00
Andrew Borodin
8be556abc5 Declarations of use_dash() and rotate_dash() were moved form lib/util.h to src/layout.h.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-27 18:10:50 +04:00
Ilia Maslakov
8b46518619 Apply code identation policy.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-10-27 18:10:50 +04:00
Andrew Borodin
0a5f93eeb5 fish.c: some fixups.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-27 18:10:50 +04:00
Ilia Maslakov
3cef64306e Split function fish_open_archive_int() to fish_open_archive_pipeopen() and fish_open_archive_talk().
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-10-27 18:10:50 +04:00
Ilia Maslakov
3ba4abac41 Ticket #2268 (FISH: hide panels before connecting)
FISH: now hide the panel before connecting.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-27 18:10:49 +04:00
Slava Zanko
4716606c26 Merge branch '2327_cant_put_question_mark'
* 2327_cant_put_question_mark:
  Ticket #2327: Can't put ? into a new name.
2010-10-27 14:07:39 +03:00
Denys Vlasenko
12891835f4 Ticket #2327: Can't put ? into a new name.
The bug is caused by extra "continue" statement in case '*'/case '?' branch.
As a result, \ is added to converted string, but following N is not.
Example: when one renames many files using "*" to "a*z", "a*z" gets converted to "a\z" instead of correct "a\1z"

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-10-27 13:48:32 +03:00
Jake Li
1326e2768e l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 1094 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-10-26 04:53:41 +00:00
rezso
a6f571214f l10n: Updated Hungarian (hu) translation to 100%
New status: 1093 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-10-25 20:56:31 +00:00
rezso
ab61aeecf3 l10n: Updated Hungarian (hu) translation to 100%
New status: 1093 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-10-25 20:50:42 +00:00
rezso
6e75630790 l10n: Updated Hungarian (hu) translation to 100%
New status: 1093 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-10-25 18:54:22 +00:00
Andrew Borodin
ed89a340c4 Merge branch '1424_non_config_files'
* 1424_non_config_files:
  Fixed file list in RPM spec.
  Install help files into /usr/share/mc/help instead of /usr/share/mc.
  Install hint files into /usr/share/mc/hints instead of /usr/share/mc.
  Load locale-specific info (help and hints) from /usr/share/mc only.
  Reimplemened codepages storage using GPtrArray.
  Install mc.charsets into /usr/share/mc instead of /etc/mc.
  Minor optimization of [Special dirs] handling.
  Install mc.lib into /usr/share/mc instead of /etc/mc.
  Ticket #1424: install some files into /usr/share/mc instead of /etc/mc.
2010-10-19 18:37:57 +04:00
Andrew Borodin
84f8ae790f Fixed file list in RPM spec.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-19 18:25:59 +04:00
Andrew Borodin
185d5fc359 Install help files into /usr/share/mc/help instead of /usr/share/mc.
Optimisation of language-specific help file creating.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-19 18:25:59 +04:00
Andrew Borodin
280194ec15 Install hint files into /usr/share/mc/hints instead of /usr/share/mc.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-19 18:25:59 +04:00
Andrew Borodin
9636ca2583 Load locale-specific info (help and hints) from /usr/share/mc only.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-19 18:25:59 +04:00
Andrew Borodin
bfbac0c5d8 Reimplemened codepages storage using GPtrArray.
Added capability to load codepage list from /usr/share/mc/mc.charsets
and /etc/mc/mc.charsets and merge them then.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-19 18:25:53 +04:00
Andrew Borodin
245f465d6e Install mc.charsets into /usr/share/mc instead of /etc/mc.
Renamed CHARSETS_INDEX macro to CHARSETS_LIST.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-19 18:15:37 +04:00
Andrew Borodin
1c3aae85ec Minor optimization of [Special dirs] handling.
(tree_store_rescan): use g_list_foreach() to free content of list.
(process_special_dirs): get rid of extra memory allocation.
(should_skip_directory): type accuracy and variable intializations.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-19 18:15:37 +04:00
Andrew Borodin
fed3d099c3 Install mc.lib into /usr/share/mc instead of /etc/mc.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-19 18:15:37 +04:00
Andrew Borodin
51f28528f6 Ticket #1424: install some files into /usr/share/mc instead of /etc/mc.
RPMLint shows the following warnings:
mc.i586: W: conffile-without-noreplace-flag /etc/mc/Syntax
mc.i586: W: conffile-without-noreplace-flag /etc/mc/mc.lib
mc.i586: W: conffile-without-noreplace-flag /etc/mc/mc.charsets

First step: install Syntax into /usr/share/mc instead of /etc/mc.
This also fixes the impossibility of editing of system-wide Syntax file
in mcedit under root (menu Options->Syntax file->System Wide).

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-19 18:15:37 +04:00
Andrew Borodin
f581e555c1 Merge branch '2395_panel_scroll_drag'
* 2395_panel_scroll_drag:
  Ticket #2395: scroll down the panel contents by mouse dragging.
2010-10-19 13:52:39 +04:00
Egmont Koblinger
1256af2269 Ticket #2395: scroll down the panel contents by mouse dragging.
Start mc, and make sure that at least one of the two displayed
directiories contains so many files that they cannot all be displayed
at once.

Click in this panel and hold the mouse button pressed, and then move
your mouse downwards. As you pass beyond the bottom of this list, it
should start scrolling.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-18 20:45:51 +04:00
Andrew Borodin
1672d057e5 doc/NEWS: minor fixes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-18 17:46:11 +04:00
Andrew Borodin
40f2a3c310 Merge branch '2324_edit_syntax_select_fix'
* 2324_edit_syntax_select_fix:
  Ticket #2324: fix of syntax highlighting lost after manual change.
2010-10-18 15:10:59 +04:00
Andrew Borodin
e4105c1e72 Ticket #2324: fix of syntax highlighting lost after manual change.
Also some type accuracy is provided.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-18 15:10:27 +04:00
Jake Li
f18dab5f65 l10n: Updated Chinese (China) (zh_CN) translation to 99%
New status: 1091 messages complete with 3 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-10-18 03:00:47 +00:00
Andrew Borodin
bce8f71087 Fixed configure options description.
doc/INSTALL: fixed description of configure options.
maint/mc-test: fixed configure options.
maint/mctest: likewise.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-16 17:27:11 +04:00
Slava Zanko
f53ed400fb Merge branch '2170_separate_colors'
* 2170_separate_colors:
  Newly added colorpair names now described in man-page
  Ticket #2170: Color collisions
2010-10-13 13:23:25 +03:00
Slava Zanko
982c98a4d6 Newly added colorpair names now described in man-page
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-10-13 13:21:28 +03:00
Egmont Koblinger
aa9cb6d320 Ticket #2170: Color collisions
Midnight Commander's color/skin engine often reuses the same color definition for multiple elements on the UI.
This unnecessarily limits the possibilities when playing with colors.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-13 13:21:10 +03:00
Slava Zanko
8f4ccc8286 Merge branch '2177_change_cmddiff_shorcut'
* 2177_change_cmddiff_shorcut:
  Added default keybind for CK_DiffViewCmd command
  Ticket #2177: mcdiff shortcut
2010-10-12 13:16:48 +03:00
Slava Zanko
5ed7f49eee Added default keybind for CK_DiffViewCmd command
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-12 13:13:11 +03:00
Slava Zanko
1d922f3c75 Ticket #2177: mcdiff shortcut
Changed keymap for CmdDiffView command from 'ctrl-y' to 'ctrl-d'

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-10-12 13:09:48 +03:00
Andrew Borodin
936ca43d00 Fixed name of main ini section.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-11 15:18:08 +04:00
Slava Zanko
e269adf31c Merge branch '2356_view_segfault_arm'
* 2356_view_segfault_arm:
  lib/vfs/mc-vfs/smbfs.c: fixed printf() arguments.
  Fixed type mismatches in formatted output arguments in VFS.
  Fixed signed and unsigned comparisons in viewer.
  Ticket 2356: viewer segfaults on ARM platform because type mismatches of printf arguments.
2010-10-11 11:00:53 +03:00
Enrico Weigelt, metux IT service
fb05515d82 lib/vfs/mc-vfs/smbfs.c: fixed printf() arguments.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-11 11:00:29 +03:00
Andrew Borodin
9678ef3b02 Fixed type mismatches in formatted output arguments in VFS.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-11 11:00:29 +03:00
Andrew Borodin
10949329a7 Fixed signed and unsigned comparisons in viewer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-11 11:00:29 +03:00
Andrew Borodin
fe2c50cc19 Ticket 2356: viewer segfaults on ARM platform because type mismatches of printf arguments.
Fixed type mismatches of printf arguments in viewer;

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-10-11 11:00:29 +03:00
Slava Zanko
312fced081 Merge branch '2365_quick_search'
* 2365_quick_search:
  Added doxygen documentation for touched functions.
  Added  definition MC_MAXFILENAMELEN for specify maximum file lenght.
  Ticket #2365: enhancement of quick search.
2010-10-11 10:42:27 +03:00
Slava Zanko
89b905d83b Added doxygen documentation for touched functions.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-10-11 10:39:37 +03:00