Commit Graph

9356 Commits

Author SHA1 Message Date
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 2f901ef642.

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
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