Commit Graph

9244 Commits

Author SHA1 Message Date
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
Slava Zanko
f220002ac3 Merge branch '1755_code_cleanup'
* 1755_code_cleanup:
  Doc cleanup: removed description of removed editor option.
  Added shortcuts for CmdInfo (C-x i) and CmdQuickView (C-x q) commands.
  Fixed Arch packages description in Syntax file.
  Cleanup of code for compile with new warnings options for compilator
  Added macros for simplest debug process (yes, gdb is a better way)
  Reorganization of src/Makefile.am
  Now possible to compile mc in different cases: as mc maintainer or as end-user.
  Added checks for compiler options.
  Ticket #1755: code cleanup before 4.7.0-pre4 release.
2009-10-30 20:37:46 +02:00
Andrew Borodin
15e7fb00c4 Doc cleanup: removed description of removed editor option.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-30 20:36:49 +02:00
Andrew Borodin
61f7d72af6 Added shortcuts for CmdInfo (C-x i) and CmdQuickView (C-x q) commands.
There is a difference between CmdInfo and CmdMenuInfo commands:
  * CmdImfo is assigned with C-x i shortcut and changes the mode
    of inactive panel with flip-flop effect.
  * CmdMenuInfo is assigned with panel according with menu: Left
    or Right. There is no flip-flop effect of this command. This command
    must be present in keymap file to show the assigned shortcut in menu.

The above-written is appropriate for CmdQuickView and CmdMenuQuickView commands.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-30 20:36:48 +02:00
Andrew Borodin
68e813db55 Fixed Arch packages description in Syntax file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-30 20:36:48 +02:00
Slava Zanko
51f10b3038 Cleanup of code for compile with new warnings options for compilator
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-30 20:36:48 +02:00
Slava Zanko
a5fa537f2e Added macros for simplest debug process (yes, gdb is a better way)
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-30 20:36:48 +02:00
Slava Zanko
5441d89264 Reorganization of src/Makefile.am
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-30 20:36:41 +02:00
Slava Zanko
2a4075d246 Now possible to compile mc in different cases: as mc maintainer or as end-user.
Some debug-related code will compile just in mainteiner mode.
Also, added new parameter for configure script: --enable-werror

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-30 20:36:15 +02:00
Slava Zanko
2ffb7c6719 Added checks for compiler options.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-30 14:41:03 +02:00
Andrew Borodin
91a4598b54 Ticket #1755: code cleanup before 4.7.0-pre4 release.
Free some variables allocated at MC startup.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-30 14:41:03 +02:00
Ilia Maslakov
7ce5e1eacb Ticket #1628 (editor CJK fix)
fix: incorrect drawing CJK character. Sometimes the CJK character gets replaced by three inverse dots.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-10-30 11:51:40 +00:00
Slava Zanko
dd89ca021f Update Spanish translation.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-30 11:08:08 +02:00
Slava Zanko
35ed8c8df4 Update all translations.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-30 11:03:50 +02:00
Slava Zanko
63b0663860 Merge branch '1753_bad_mounpoint'
* 1753_bad_mounpoint:
  Ticket #1753: panel: bad mounpoint is no longer 'red' highlighted
2009-10-29 16:50:26 +02:00
Slava Zanko
12ed4d0b45 Ticket #1753: panel: bad mounpoint is no longer 'red' highlighted
Restored behavior with stale mountpoint (now handled as stale link).

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-29 16:48:51 +02:00
Slava Zanko
f9fc03d5c5 Revert "unknown.syntax to something more useful"
This reverts commit a8d1c9be43.
2009-10-29 15:39:13 +02:00
Ilia Maslakov
478328812f Ticket #244
add shared clipboard support

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

    Fixed memory leaks. Type accuracy. Optimization.

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

    * fixed ctrl-g handler
    * change action names from InputKillSave to InputXStore and InputPaste to InputXPaste
    * update mc.keymap.default mc.keymap.emacs

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-10-29 12:18:18 +00:00
Ilia Maslakov
359c9406d1 Ticket #1489 (indent block)
added bindings for shift block 'EditShiftBlockLeft', 'EditShiftBlockRight'
    EditShiftBlockLeft, EditShiftBlockRight - force move block without option_persistent_selections checking

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-10-29 07:58:30 +00:00
Slava Zanko
5ac43584cc Merge branch '1736_multilines_paste_from_xclip'
* 1736_multilines_paste_from_xclip:
  Ticket #1736: editor: X copy/paste eats newlines
2009-10-29 09:46:43 +02:00
Ilia Maslakov
a16b37c8e7 Ticket #1736: editor: X copy/paste eats newlines
1. Open empty file (<Shift-F4>)
2. Fill with data:

1234
5678
9abc

3. Mark contents (or any multiline text in, for example, firefox) with mouse (<Shift+MouseDown???>)
4. Insert somewhere below third line (<Shift+Insert>)
5. Newlines are eaten (xterm)

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-29 09:46:20 +02:00
Ilia Maslakov
91c7dbb71c Ticket #1724 (forgotten hotkeys)
* fixed binding in mc.keymap.default and mc.keymap.emacs
    for CmdCopyCurrentTagged, CmdCopyOtherTagged,
    CmdCopyCurrentPathname, CmdCopyOtherPathname
    * fixed typo

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-10-29 06:23:51 +00:00
Slava Zanko
c0575fff3f Merge branch '1703_menubar_colorpair'
* 1703_menubar_colorpair:
  Fixed width calculation of Buttonbar widget.
  Ticket #1703: SKIN: Make own colorpairs for buttonbar widget
2009-10-29 00:03:27 +02:00
Slava Zanko
b62aece7eb Fixed width calculation of Buttonbar widget.
Also Labels on buttonbar aligned to left side.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-29 00:00:26 +02:00
Slava Zanko
742eae18d2 Ticket #1703: SKIN: Make own colorpairs for buttonbar widget
Now buttonbar have own colorpairs:

[buttonbar]
    hotkey=red;black
    button=yellow;cyan

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-28 17:50:46 +02:00
Ilia Maslakov
d98e14de49 Ticket #1600 (incorrect drawing hint)
drop "LANGUAGE" from checking locale.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-10-28 12:17:02 +00:00
Slava Zanko
09d8293043 Merge branch '1656_lack_rights'
* 1656_lack_rights:
  Fix segfault in charset confirmation dialog at start of mc.
  Code cleanup for compile with new CFLAGS value.
  Added debug options for --enable-maintainer mode
  Ticket #1656: Incorrect processing of cases the lack of rights to save preferences.
2009-10-28 13:38:18 +02:00