Commit Graph

10015 Commits

Author SHA1 Message Date
Jake Li
9af5722e78 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 1039 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-04-29 03:24:38 +00:00
Ilia Maslakov
237b2245be Merge branch '2155_remove_selection_before_insert'
* 2155_remove_selection_before_insert:
  Ticket #2155 (remove selected text before input)
2010-04-28 19:21:18 +00:00
Ilia Maslakov
946715e971 Ticket #2155 (remove selected text before input)
Remove selected text before input or paste from clipboard.
    Thanks to nikk9 <dev.nul@mail.ru> for the original patch.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-28 19:12:43 +00:00
Slava Zanko
5e57bd0491 Refresh PO-files
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-04-28 16:04:29 +03:00
Emmanuel Trillaud
8e6ae472f3 l10n: Updated French (fr) translation to 97%
New status: 1011 messages complete with 14 fuzzies and 14 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-04-28 08:31:19 +00:00
Freespacer
49efad427f l10n: Updates to German (de) translation
New status: 1039 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-04-27 20:00:19 +00:00
Freespacer
f0158f1667 l10n: Updates to German (de) translation
New status: 1038 messages complete with 1 fuzzy and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-04-27 19:58:21 +00:00
Ilia Maslakov
8e33a5bef8 Merge branch '120_diff_view'
* 120_diff_view: (22 commits)
  Update panels after closing the diff viewer.
  Optimization of Diff Viewer construction and destruction.
  added diff options dialog
  added save/load diffview options.
  Modified destroying of WDiff widget.
  Repaint screen after encoding change.
  Minor clean up.
  Added usage of search engine.
  added merge mechanism
  Add new section [Diff Viewer] in man and built-in help.
  Fixes of button bar handling.
  buttonbar_call(): don't handle Fx button with non-defined command.
  little fixup and optimization
  fixed display utf-8 text in 8-bit locale
  initial step to multiple encodings support and select codeset.
  Fixed segfaults in standalone diff viewer.
  src/diffviewer/ydiff.c: use GLib functions more widely.
  diffviewer: Added libmc for build depends
  Added capability to run MC as standalone diff viewer.
  src/diffviewer/ydiff.c: code indentation & cleanup.
  ...
2010-04-27 13:34:46 +04:00
Andrew Borodin
c2b0209ec9 Update panels after closing the diff viewer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-27 12:16:05 +04:00
Andrew Borodin
744d61ba03 Optimization of Diff Viewer construction and destruction.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-27 12:16:05 +04:00
Ilia Maslakov
93247568d0 added diff options dialog
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-27 12:16:04 +04:00
Ilia Maslakov
185a6f67f7 added save/load diffview options.
little fixes in the options dialog

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-27 12:16:04 +04:00
Andrew Borodin
e045279dbc Modified destroying of WDiff widget.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-27 12:16:04 +04:00
Andrew Borodin
6c3e3715f8 Repaint screen after encoding change.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-27 12:16:03 +04:00
Andrew Borodin
29cab775c7 Minor clean up.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-27 12:16:03 +04:00
Slava Zanko
14fa0ea1e2 Added usage of search engine.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-04-27 12:16:03 +04:00
Ilia Maslakov
e5dc79a441 added merge mechanism
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-27 12:15:41 +04:00
Ilia Maslakov
7e5c75c906 Add new section [Diff Viewer] in man and built-in help.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-26 11:44:33 +04:00
Andrew Borodin
f356d83972 Fixes of button bar handling.
Implemented handling of mouse actions in button bar.
Fixed vertical size of Diff Viewer widget.
DiffHelp action was added. F1 button was assigned for it.
Fixed some key bindings.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-26 11:44:33 +04:00
Andrew Borodin
3f11aecb74 buttonbar_call(): don't handle Fx button with non-defined command.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-26 11:44:32 +04:00
Ilia Maslakov
bc03546f3a little fixup and optimization
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-26 11:44:32 +04:00
Ilia Maslakov
103e9f9613 fixed display utf-8 text in 8-bit locale
fixed display 8-bit text in utf-8 locale

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-26 11:44:32 +04:00
Ilia Maslakov
d60be3ca56 initial step to multiple encodings support and select codeset.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-26 11:44:32 +04:00
Andrew Borodin
b9bd749e23 Fixed segfaults in standalone diff viewer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-26 11:44:32 +04:00
Andrew Borodin
8e55efe547 src/diffviewer/ydiff.c: use GLib functions more widely.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-26 11:44:31 +04:00
Slava Zanko
29a1ad784f diffviewer: Added libmc for build depends
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-04-26 11:44:31 +04:00
Andrew Borodin
78032688f5 Added capability to run MC as standalone diff viewer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-26 11:44:31 +04:00
Slava Zanko
9356875400 src/diffviewer/ydiff.c: code indentation & cleanup.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-26 11:44:31 +04:00
Slava Zanko
352617d298 src/diffviewer/ydiff.c: Now used GArray type and g_array_* functions instead of self-written stuff
Signed-off-by: Slava Zanko <slavazanko@gmail.com>

fix g_array_foreach inoperability
As a result of nasty bug g_array_foreach did not call
passed callback for in-array elements

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2010-04-26 11:44:31 +04:00
Ilia Maslakov
329ef3846a Ticket #120 (View diff files)
added src/diffviewer/ydiff.[ch] into project tree
    added entry 'View diff files' into 'Command' menu
    added 'diffviewer' color pairs
    fixed Makefile and configure.am
    added new binding CmdDiffView into '[main]' section
    Big thanx to 'Daniel Borca <dborca@yahoo.com>' for ydiff

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

    Added diffviewer own library

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

    Fixed CFLAGS for diffviewer.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>

    changed skins, added section
        [diffviewer]
            added=
            changedline=
            changednew=
            changed=
            removed=
            folder=
            error=

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

Reimplementation of hardcoded shortcuts to keybindings.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-26 11:44:15 +04:00
Kang Bundo
5c5b35ae47 l10n: Updates to Korean (ko) translation
New status: 1039 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-04-25 15:33:12 +00:00
Yury V. Zaytsev
f946551dd4 Merge branch '2127_sh_ext'
* 2127_sh_ext:
  Ticket #2127: updated file extension for "sh"
2010-04-25 14:46:13 +02:00
Michelle Konzack
b3315acf55 Ticket #2127: updated file extension for "sh"
I find it realy annoying, if I put something in my BaSH configs and have
NO syntax hilighting so I have changed the line in Syntax which now
coloriser my BaSH configs nicely...

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-04-25 14:45:44 +02:00
Andrew Borodin
78ed49a78f Merge branch '2149_patchfs_single_line'
* 2149_patchfs_single_line:
  Ticket #2149: patches adding a single line are not shown correctly by patchfs.
2010-04-25 10:08:31 +04:00
David Sterba
2a465cb8b5 Ticket #2149: patches adding a single line are not shown correctly by patchfs.
The problem:

$ cat < test.diff
--- a/foo
+++ b/foo
@@ -0,0 +1 @@
+bar

$ mcview test.diff#patchfs/a/foo.diff
--- a/foo
+++ b/foo

'+bar' line is not shown.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-25 10:07:49 +04:00
Piotr Drąg
3fbb9b1c76 l10n: Updates to Polish (pl) translation
New status: 1039 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-04-25 10:01:40 +04:00
Oleksandr Natalenko
7b277716f0 l10n: Updated Ukrainian (uk) translation to 100%
New status: 1039 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-04-25 10:01:27 +04:00
Yury V. Zaytsev
2aced28060 Refresh PO-files
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-04-23 10:57:36 +02:00
Yury V. Zaytsev
0b9cddeeb7 Merge branch '2146_info_status_label'
* 2146_info_status_label:
  Ticket #2146: Misleading label "Status:" in the Info panel
2010-04-23 10:44:39 +02:00
Yury V. Zaytsev
d26ddb9178 Ticket #2146: Misleading label "Status:" in the Info panel
The info panels shows useful information about the currently selected
file (atime, mtime, ctime for instance). However, the label "Status:"
for ctime is clearly misleading. As we don't have enough space to label
it "Status changed", I suggest to go for "Changed:" instead. I think
this will make it much clearer what this date is all about, as I have
already seen users suggesting that "Status" is a weird label for
"Created", which is obviously not the case.

Also, "Changed" label is consistent with "CHange time" that we use for
column headers in the list mode elsewhere.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-04-23 10:42:38 +02:00
Andrew Borodin
6fca4b04b0 Merge branch '1660_color_keywords'
* 1660_color_keywords:
  Applied MC indentation policy.
  Ticket #1660: color keyword names unification.
2010-04-23 11:54:46 +04:00
Andrew Borodin
b266527c5f Applied MC indentation policy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-23 11:54:25 +04:00
Andrew Borodin
c0c744ba08 Ticket #1660: color keyword names unification.
Changed name of following color keywords:

menu -> menunormal
linestate -> editlinestate

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-22 16:09:52 +04:00
Andrew Borodin
3bfebaacb1 Merge branch '2050_urar_disable_user_cfg'
* 2050_urar_disable_user_cfg:
  Ticket #2050: extfs/urar: disable user/system configuration for list and copyout operations.
2010-04-22 14:00:18 +04:00
Artem S. Tashkinov
07de6670ed Ticket #2050: extfs/urar: disable user/system configuration for list and copyout operations.
My system wide .rarrc contains these switches

switches= -m5 -mdG -r -s -t -ol -tl

So whenever you list the contents of any archive or copy a file out of
it, RAR/UNRAR will traverse *all* sub directories (note -r, recursive
switch) in a current directory trying to find *all* archives with the
same name. So, the net result might be that unrar/rar will extract
the wrong file and spend a lot of time trying to find archives with
the same name.

That's why I strongly suggest disabling user/system configuration
for archive list and copyout operations (note the added -cfg switch).

I have contacted Eugene Roshal and he said that he won't disable -r switch
for extract and archive list operations, so, we can only fix this problem
on our side.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-22 10:18:46 +04:00
Andrew Borodin
3e78317ce0 Merge branch '2049_urar_localized_filenames'
* 2049_urar_localized_filenames:
  Ticket #2049: extfs/urar doesn't correctly shows localized filenames in RAR archives.
2010-04-22 10:05:22 +04:00
Artem S. Tashkinov
8bdd7bc764 Ticket #2049: extfs/urar doesn't correctly shows localized filenames in RAR archives.
There's no need to export LC_ALL.

Signee-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-20 16:56:41 +04:00
Andrew Borodin
a8096e77ff Merge branch '1648_corners_ncurses_fix'
* 1648_corners_ncurses_fix:
  Ticket #1648: fixed frame corners for NCurses screen library.
2010-04-20 15:56:33 +04:00
Andrew Borodin
7161567ea8 Ticket #1648: fixed frame corners for NCurses screen library.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-14 14:38:22 +04:00
Sergei Trofimovich
bccf55731a Merge branch '2134_am_silent_rules'
* 2134_am_silent_rules:
  Minor grammar/spelling issues.
  Ticket #2134: configure.ac: add support for AM_SILENT_RULES
2010-04-10 12:54:13 +03:00