1
1

9220 Коммитов

Автор SHA1 Сообщение Дата
kenny
0c309724a5 Ticket #1776: save flags of select/unselet file group.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-18 14:21:08 +03:00
Andrew Borodin
63f93019f5 Merge branch '1803_qansi_key_defines'
* 1803_qansi_key_defines:
  Ticket #1803: added missed esc sequencies for qansi terminals.
2009-11-18 13:27:44 +03:00
Vit Rosin
aa3f4b66d4 Ticket #1803: added missed esc sequencies for qansi terminals.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-18 13:27:20 +03:00
Ilia Maslakov
7e30a30e24 Merge commit 'origin/256_backward_word_fix'
* commit 'origin/256_backward_word_fix':
  Ticket #256 (segfault in backward_word)
2009-11-18 12:41:16 +03:00
Egmont Koblinger
ecee0cd4b9 Ticket #256 (segfault in backward_word)
fixed segfault in backward_word (widget.c)
    ...
    The for loop, whose purpose is to remove exactly 1 character
    (hence I don't get why it's a loop, but nevermind) was not UTF8-ready.
    So if the character preceding the cursor was an accented one,
    it jumped to the middle of the UTF-8 sequence, causing the rest of
    the stuff go unpredictable.

    Although it *should* never happen (which, as we all know,
    does not equal to "never happens"), in this case "p" simply jumped
    over "in->buffer". The function has a "p != in->buffer" check three times,
    it might it more robust if you replaced that with "p >= in->buffer".
    This should prevent the segfault, and just stay with a slightly buggy but
    otherwise harmless alt-backspace behavior, should there be any UTF-8 or
    similar bugs left. This change is not included in my patch.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-11-18 11:41:12 +03:00
Andrew Borodin
daac0e5a67 Merge branch '1710_edit_instert_multiline'
* 1710_edit_instert_multiline:
  Ticket #1710: newlines are lost when pasting multiline text in editor.
2009-11-16 14:46:24 +03:00
Andrew Borodin
3f19a0eeb9 Ticket #1710: newlines are lost when pasting multiline text in editor.
When pasting multiline text with shift+mouse newline characters
are lost. Pasted text is not shown before any key is pressed.

Middle-mouse pasting in mc requires shift being pressed to keep mc
from interpreting the button press itself, so it is passing on to
xterm/gpm. That has the nice side effect that the pasted enter
characters are automatically shift-enter, which was simply interpreted
as newline-without-autoindent. However, the keybinding for shift-enter
have been lost in the course of #212 - it simply does nothing,
and consequently text is pasted without newlines.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-13 12:03:33 +03:00
Andrew Borodin
d36c635d38 Merge branch '1779_syntax_files'
* 1779_syntax_files:
  Ticket #1779: some syntax files are not installable.
2009-11-12 12:19:59 +03:00
Andrew Borodin
0f58794a67 Ticket #1779: some syntax files are not installable.
Recently added syntax files were not added to Makefile.am,
therefore they won't get it to the distribution through
EXTRA_DIST and are not installed.

Now syntax/Makefile.am file contains all syntax file names
that are sorted alphabetically. Description of tt.syntax
was added to the syntax/Syntax file.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-12 12:19:36 +03:00
Slava Zanko
bbb025097e Merge branch '1708_ftp_permission'
* 1708_ftp_permission:
  Ticket #1708: ftp permissions
2009-11-12 11:07:05 +02:00
Slava Zanko
4f6c5e7811 Ticket #1708: ftp permissions
Some FTP-servers don't have chmon support (or don't able to change permissions in some cases).

This commit will add "ignore_ftp_chattr_errors" section into config file.

Now default behavior: ignore FTP errors related to chmod operations.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-12 11:06:52 +02:00
Andrew Borodin
3368438bee Merge branch '1810_edit_save_mode'
* 1810_edit_save_mode:
  Ticket #1810: fixed CK_Edit_Save_Mode command handling.
2009-11-11 13:56:25 +03:00
Andrew Borodin
354b184463 Ticket #1810: fixed CK_Edit_Save_Mode command handling.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-11 13:55:52 +03:00
Slava Zanko
398138f6dc Merge branch '1790_mc_crash'
* 1790_mc_crash:
  Makefile.am: Fixed incorrect variable name if maintainer mode is active.
  Ticket #1790: mc crashes on start
2009-11-11 11:33:41 +02:00
Slava Zanko
7bdff35062 Makefile.am: Fixed incorrect variable name if maintainer mode is active.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-11 11:33:06 +02:00
Slava Zanko
90a7ad8528 Ticket #1790: mc crashes on start
If ~/.mc/panels.ini have incorrect value of 'sort_order' key, then mc will crashed.

Fix issue: Now default sort_order for incorrect value is  'name' (sort by name)

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-11 11:33:06 +02:00
Slava Zanko
313e42d24d Revert "misc/mc.ext.in: added 3gp video"
This reverts commit 2f901ef642bd6d5cfb2d5fbd6188a6654d52fac8.

Patch is dirty. Added into repo misc/mc.ext - this is autogenerated
file and no need to store into repo.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-10 11:48:30 +02:00
Enrico Weigelt, metux IT service
de4e40dd8f Merge branch '1774_build_cleanups'
* 1774_build_cleanups:
  Fixed several missing includes
  Changed include 'glib.h' to 'global.h' because global.h file has some things for
  vfs/mcserv.c: fixed variable name clashes and missing includes
  vfs/undelfs.c: Fixed variable name clashes
  vfs/vfs-impl.h: fixed missing includes
  vfs/utilvfs.h: fixed missing includes
  src/screen.c: const char* cleanup, fixing break on -Werror
  Dropping non-strftime() support and fixing -Werror problem
  m4.include/mc-use-termcap.m4: fixed const char* issue which triggers break on -Wall
  Ticket #1774: Various build fixups (missing includes, name clashes, ...)
2009-11-09 13:50:34 +01:00
Enrico Weigelt, metux IT service
9070aa11f7 Fixed several missing includes 2009-11-09 13:49:57 +01:00
Slava Zanko
d58af17cb8 Changed include 'glib.h' to 'global.h' because global.h file has some things for
backward compatibility with glib (eg. including 'glibcompat.h')

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-09 13:49:57 +01:00
Enrico Weigelt, metux IT service
e0b3247c50 vfs/mcserv.c: fixed variable name clashes and missing includes 2009-11-09 13:49:56 +01:00
Enrico Weigelt, metux IT service
cd2f7bd24a vfs/undelfs.c: Fixed variable name clashes 2009-11-09 13:49:56 +01:00
Enrico Weigelt, metux IT service
f3370ca9e5 vfs/vfs-impl.h: fixed missing includes 2009-11-09 13:49:56 +01:00
Enrico Weigelt, metux IT service
6ca8086ab1 vfs/utilvfs.h: fixed missing includes 2009-11-09 13:49:56 +01:00
Enrico Weigelt, metux IT service
ae417890fe src/screen.c: const char* cleanup, fixing break on -Werror 2009-11-09 13:49:56 +01:00
Enrico Weigelt, metux IT service
91a5df442f Dropping non-strftime() support and fixing -Werror problem
Problem:

a) when running ./configure, strftime() and other functions cannot be
   properly detected, since autoconf generates crappy test code, which
   at least fails when warnings are treated as errors (gcc: -Werror).

b) strtime() is standard since C89, so we can simply expect it to exists
   (if there's *really* some acient box out there breaking mc build,
   it's libc/toolchain should be fixed ;-p)

Solution:

Remove the checks for strftime() and all workarounds
2009-11-09 13:49:56 +01:00
Enrico Weigelt, metux IT service
8f01c7c1f8 m4.include/mc-use-termcap.m4: fixed const char* issue which triggers break on -Wall 2009-11-09 13:49:56 +01:00
Enrico Weigelt, metux IT service
6a4a88ea68 Ticket #1774: Various build fixups (missing includes, name clashes, ...)
m4.include/ac-get-fs-info.m4: fixed const char* issue which triggers break on -Wall

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-09 13:49:40 +01:00
Andrey Rahmatullin
d740efceba misc/mc.ext.in: added mkv video 2009-11-09 12:16:13 +01:00
Andrey Rahmatullin
2f901ef642 misc/mc.ext.in: added 3gp video 2009-11-09 12:14:11 +01:00
Andrey Rahmatullin
cf113f9215 misc/mc.ext.in: Adds exif(1) output when viewing jpeg files. 2009-11-09 12:11:32 +01:00
Andrey Rahmatullin
5d87893ffe misc/mc.ext.in: Opening .chm with kchmviewer with fallback to xchm 2009-11-09 12:09:59 +01:00
Andrey Rahmatullin
c2542a9400 misc/mc.ext.in: Viewing .mo with msgunfmt 2009-11-09 12:03:04 +01:00
Andrew Borodin
cae3e29bce Merge branch '1757_dotdot_dir'
* 1757_dotdot_dir:
  Display ATime, MTime and CTime for ".." in file panel.
  Fixed display info about ".." directory in Info panel.
  Set correct stat info for ".." directory.
  Ticket #1757: set actual stat info for ".." directory in panel.
2009-11-09 13:08:52 +03:00
Andrew Borodin
dc2989d766 Display ATime, MTime and CTime for ".." in file panel.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-09 13:08:38 +03:00
Andrew Borodin
b39b23a627 Fixed display info about ".." directory in Info panel.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-09 13:08:38 +03:00
Andrew Borodin
7ce24c2f57 Set correct stat info for ".." directory.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-09 13:08:38 +03:00
Andrew Borodin
4092bf54ac Ticket #1757: set actual stat info for ".." directory in panel.
1st step: minor refacoring.
Removed call of intermediate function and changed the retun value type.
Type accuracy.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-09 13:08:38 +03:00
Martin Petricek
abd3553c91 Removed stale entry (mc.ext) from contrib/.gitignore 2009-11-08 22:18:55 +01:00
Martin Petricek
172cf43d27 Add misc/mc.ext (which is generated from misc/mc.ext.in) to .gitignore 2009-11-08 21:48:24 +01:00
Ilia Maslakov
3e2939064f Merge branch '1793_mc_aborted_by_ctrl_c'
* 1793_mc_aborted_by_ctrl_c:
  Ticket #1793 (mc aborts then press ctrl-c)
2009-11-05 12:25:45 +00:00
Ilia Maslakov
e634800048 Ticket #1793 (mc aborts then press ctrl-c)
fixed bindings for 'CmdQuietQuit'

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-11-05 11:36:52 +00:00
Slava Zanko
0356a8225d Merge branch '1749_sunstudio_compiler'
* 1749_sunstudio_compiler:
  Avoid Sun Studio compiler bug
2009-11-04 17:31:03 +02:00
Sergey Fionov
2244f5c2c5 Avoid Sun Studio compiler bug
Modify designators to avoid bug #6888373
(http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6888373)

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-04 17:30:31 +02:00
Martin Petricek
e2c53eabee Merge branch '1746_passive_mode_over_proxy'
* 1746_passive_mode_over_proxy:
  Ticket #1746: Setting "Use passive mode over proxy" is not remembered
2009-11-03 22:07:18 +01:00
Andrew Borodin
299b04b568 Merge branch '1759_insert_date_time'
* 1759_insert_date_time:
  Ticket #1759: fixed date & time insertion in editor.
2009-11-03 13:51:44 +03:00
Andrew Borodin
d870705e0b Ticket #1759: fixed date & time insertion in editor.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-03 13:51:05 +03:00
Martin Petricek
2cfed22012 Ticket #1746: Setting "Use passive mode over proxy" is not remembered
Fix: "Use passive mode over proxy" was not remembered in config

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-03 12:20:42 +02:00
Ilia Maslakov
be65c2979c Ticket #1768 (incorrect calculation utf-8 width)
fixed miscalculating of width some utf-8 characters

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-11-01 16:54:00 +00:00
Ilia Maslakov
a501ebd839 Russian translations updated.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-30 20:45:23 +02:00