Commit Graph

9534 Commits

Author SHA1 Message Date
Emmanuel Trillaud
adf88d6bd5 Update French translation for 4.7.0-stable.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-18 15:38:39 +02:00
Andrew Borodin
e20f28d8e9 Merge branch '1965_find_dialog_corruption'
* 1965_find_dialog_corruption:
  Ticket #1965: fixed handling of Tree in 'Find File' dialogue.
2010-01-18 16:30:17 +00:00
Andrew Borodin
c6702258de Ticket #1965: fixed handling of Tree in 'Find File' dialogue.
The Start at prompt is filled with garbage every time
the Tree option is entered in the Find dialogue.

To reproduce:
1. M-? to open Find dialogue
2. not that the Start at prompt is empty
3. press M-T or navigate to Tree button and press enter
4. you see tree view, press ESC
5. the Start at prompt is filed by garbage

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-18 16:29:52 +00:00
Denis Briand
d2f5965bd9 Documentation update: fixes for spelling errors from Debian. 2010-01-17 15:20:54 +01:00
Slava Zanko
dc5cee2452 Merge branch '1657_broken_transparency'
* 1657_broken_transparency:
  Ticket #1657: Transparency support is broken in 4.7.0-pre3
2010-01-16 15:13:02 +02:00
Slava Zanko
57a6a26be7 Ticket #1657: Transparency support is broken in 4.7.0-pre3
The latest version breaks transparency support.
If I'd change _default_ to lightgray;default in the [core] section, the panels are unreadable.
It looks like the _default_ variable interpreted as lightgray;lightgray.

Fix Issue: do not apply COLOR_WHITE as mask if color value equal to -1

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-16 15:12:35 +02:00
Enrico Weigelt, metux IT service
d9384a6518 Merge branch '1514_right_margin_fix'
* 1514_right_margin_fix:
  Ticket #1514 (incorrect draw right margin)
2010-01-15 01:29:56 +01:00
Ilia Maslakov
5f45920a32 Ticket #1514 (incorrect draw right margin)
fixed incorrect drawind right margin if option show_right_margin = 0

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-01-15 01:29:21 +01:00
Enrico Weigelt, metux IT service
ecb96b9fe4 Merge branch '1932_obsolete_termios_h_check'
* 1932_obsolete_termios_h_check:
  More HAVE_TERMIOS_H removals
  Ticket #1932: Removed obsolete checks for standard header termios.h
2010-01-15 00:59:03 +01:00
Enrico Weigelt, metux IT service
86c345cd4b More HAVE_TERMIOS_H removals 2010-01-15 00:58:50 +01:00
Enrico Weigelt, metux IT service
4a4fc37f53 Ticket #1932: Removed obsolete checks for standard header termios.h 2010-01-15 00:58:50 +01:00
Enrico Weigelt, metux IT service
99a10e86e5 Merge remote branch 'mco/1930_fix_missing_fs_h'
* mco/1930_fix_missing_fs_h:
  Ticket #1930: src/strutil8bit.c: fixed missing include of fs.h
2010-01-15 00:57:22 +01:00
Enrico Weigelt, metux IT service
e0ba3c583f Ticket #1930: src/strutil8bit.c: fixed missing include of fs.h 2010-01-15 00:56:38 +01:00
Enrico Weigelt, metux IT service
ead0a8ca5d Merge remote branch 'mco/1960_fix_missing_printf_format'
* mco/1960_fix_missing_printf_format:
  Ticket #1960: src/mcconfig/common.c: fixed missing printf format in mc_config_new_or_override_file()
2010-01-14 20:12:28 +01:00
Enrico Weigelt, metux IT service
7cb7acb14c Ticket #1960: src/mcconfig/common.c: fixed missing printf format in mc_config_new_or_override_file() 2010-01-14 20:12:06 +01:00
Andrew Borodin
581763fdd8 Merge branch '1944_empty_line_in_wrapped_line'
* 1944_empty_line_in_wrapped_line:
  Ticket #1944: incorrect draw of wrapped lines.
2010-01-14 16:29:07 +00:00
Andrew Borodin
23cd4b9cb3 Ticket #1944: incorrect draw of wrapped lines.
If viewer is in wrap mode, there is an expta empty line
in wrapped line. This bug was introduced in
8c84095ae1 commit.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-14 16:28:51 +00:00
Andrew Borodin
49c86446ac Merge branch '1931_no_vfs_fixups'
* 1931_no_vfs_fixups:
  Moved vfs_split_url() from vfs/utilvfs.c to vfs/netutil.c
  vfs: cleaned up tcp_init()
  VFS: renamed vfs/tcputil.c to vfs/netutil.c.
  VFS: renamed vfs/tcputil.h to vfs/netutil.h.
  vfs/ftpfs.c: fixed a nullptr leak in ftpfs_find_machine()
  VFS: removed obsolete src/vfsdummy.h
  VFS: moved functions from src/vfsdummy.h to vfs/vfs.h
  Ticket #1931: VFS: added missing includes of vfs/vfs.h
2010-01-13 13:20:48 +00:00
Enrico Weigelt, metux IT service
656d6ef1f2 Moved vfs_split_url() from vfs/utilvfs.c to vfs/netutil.c 2010-01-13 13:18:07 +00:00
Enrico Weigelt, metux IT service
d422e9783d vfs: cleaned up tcp_init()
tcp_init() is now called by every vfs which needs it and prevents
itself from duplicate initialization.

this is the first step to get rid of --enable-netcode and so clean
up things a bit.
2010-01-13 13:18:02 +00:00
Andrew Borodin
57c438b486 VFS: renamed vfs/tcputil.c to vfs/netutil.c.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-13 13:17:47 +00:00
Andrew Borodin
430919d4a1 VFS: renamed vfs/tcputil.h to vfs/netutil.h.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-13 13:16:57 +00:00
Enrico Weigelt, metux IT service
ddeb9bfff1 vfs/ftpfs.c: fixed a nullptr leak in ftpfs_find_machine() 2010-01-13 12:34:08 +00:00
Enrico Weigelt, metux IT service
f1cf193877 VFS: removed obsolete src/vfsdummy.h 2010-01-13 12:34:08 +00:00
Enrico Weigelt, metux IT service
cb56023b4d VFS: moved functions from src/vfsdummy.h to vfs/vfs.h 2010-01-13 12:34:07 +00:00
Enrico Weigelt, metux IT service
491b88eae9 Ticket #1931: VFS: added missing includes of vfs/vfs.h 2010-01-13 12:34:07 +00:00
Andrew Borodin
3e42f64c2a Merge branch '1954_g_array_free'
* 1954_g_array_free:
  Ticket #1954: check pointers to GArray before deletion.
2010-01-12 13:42:36 +00:00
Andrew Borodin
6123cac32b Ticket #1954: check pointers to GArray before deletion.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-12 13:42:02 +00:00
Slava Zanko
8689d6a925 Revert "Ticket #1605: Incorrect parsing FTP-string"
This reverts commit cf8ae36637.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-12 10:46:22 +02:00
Sergei Trofimovich
2c42692c7e Merge branch '1953_cppcheck_resleaks'
* 1953_cppcheck_resleaks:
  (possible error) Memory leak: host
  (error) Resource leak: f
2010-01-11 15:35:55 +02:00
Sergei Trofimovich
a8a36590f6 (possible error) Memory leak: host
Fixed memory leak on 'host == ""' case.
Thanks to cppcheck.

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2010-01-11 15:32:44 +02:00
Sergei Trofimovich
9938ee796f (error) Resource leak: f
Fixed opened file leak on certain kind of errors.
Thanks to cppcheck.

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2010-01-11 15:32:39 +02:00
Andrew Borodin
65f7b35e2f Merge branch '1905_versioning_fix'
* 1905_versioning_fix:
  Ticket #1905: fix of version calculation.
2010-01-11 09:36:54 +00:00
Andrew Borodin
ec8bab205b Ticket #1905: fix of version calculation.
configure: line 2188: 0: command not found

This error occurs due to incorrect processing of grep command output.
This commit fixed that issue.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-11 09:36:36 +00:00
Enrico Weigelt, metux IT service
103241e397 Merge branch '1943_maxnamelen'
* 1943_maxnamelen:
  Ticket #1943: MC won't compile on Solaris due to undefined constant NAME_MAX.
2010-01-07 16:23:34 +01:00
Milan Cermak
1bb8904c4e Ticket #1943: MC won't compile on Solaris due to undefined constant NAME_MAX.
The NAME_MAX constant is defined on Linux but not on Solaris.
This blocks building MC on (Open)Solaris systems.
However, there is another symbolic constant with same purpose -
MAXNAMLEN - which is defined on Linux, Solaris and BSD systems.

This commit replaces NAME_MAX constant with MAXNAMLEN one.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-07 15:22:35 +03:00
Andrew Borodin
acb051abc9 Merge branch '1942_crash_on_exit'
* 1942_crash_on_exit:
  Ticket #1942: MC crashes on exit when using C locale.
2010-01-06 18:49:22 +03:00
Milan Cermak
d80f098c11 Ticket #1942: MC crashes on exit when using C locale.
Starting mc with:
LANG=C mc
cases a crash when mc exits. No other LC_* variable was set.

The issue is in src/strutil.c module. With C locale, str_init_strings()
fails to set str_cnv_not_convert variable leaving it with value -1
(INVALID_CONV). str_uninit_strings() passes str_cnv_not_convert blindly
to g_iconv_close() which tries to dereference it.

This commit adds a check to str_uninit_strings() if str_cnv_not_convert
value is valid.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-06 18:46:09 +03:00
Egmont Koblinger
07f3009b71 Fixed "byte" doubled in Hungarian translation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-06 18:41:37 +03:00
Andrew Borodin
9e73d2f4a0 Merge branch '1918_quick_view_corruption'
* 1918_quick_view_corruption:
  Show not-printable 8-bit symbols in non-UTF-8 locales as dots.
  Minor optimization of MC viewer.
  Fixed boundaries of display text area.
  Fixed show of viewer status bar.
  MC Viewer API unification: arguments order was changed.
  Ticket #1918: viewer in QuickView mode corrupts screen.
2010-01-06 18:13:38 +03:00
Andrew Borodin
38eeaa180c Show not-printable 8-bit symbols in non-UTF-8 locales as dots.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-06 18:12:53 +03:00
Andrew Borodin
962dd4d81f Minor optimization of MC viewer.
Call mcview_compute_areas() not so often.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-06 18:12:53 +03:00
Andrew Borodin
8c84095ae1 Fixed boundaries of display text area.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-06 18:12:53 +03:00
Andrew Borodin
b330358440 Fixed show of viewer status bar.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-06 18:12:53 +03:00
Andrew Borodin
8d70916abd MC Viewer API unification: arguments order was changed.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-06 18:12:53 +03:00
Andrew Borodin
1055b85072 Ticket #1918: viewer in QuickView mode corrupts screen.
Initial step: code refactoring:
  * small code formatting;
  * type accuracy;
  * introduce new type 'panel_view_mode_t' for panel type.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-06 18:12:53 +03:00
Andrew Borodin
bea2fff1fd Merge branch '1874_save_findfile_options'
* 1874_save_findfile_options:
  Save find file options in user configuration file.
  Ticket #1874: save file find options between MC sessions.
2010-01-06 18:05:30 +03:00
Andrew Borodin
462315fe09 Save find file options in user configuration file.
The new section [FindFile] was created for find file options.
The find_ignore_dirs key in Misc section is obsolete now.
The ignore_dirs key in FindFile section is used instead.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-06 18:04:50 +03:00
Andrew Borodin
839816f3fe Ticket #1874: save file find options between MC sessions.
Initial step: code refactoring. Join find options (checkbox
values) in structure.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-01-06 18:04:50 +03:00
Andrew Borodin
e23a2df6fa Merge branch '1936_history_segfault'
* 1936_history_segfault:
  Ticket #1936: segfault in input line history.
2010-01-06 15:51:13 +03:00