Commit Graph

11748 Commits

Author SHA1 Message Date
Andrew Borodin
9cf11516fc Ticket #2839: Fix keybindings for Quit command of mcedit.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-17 17:04:05 +04:00
Andrew Borodin
fec326f641 Tweak of select codepage code in case of --disable-charset
...in mceditor, mcviewer and mcdiffviewer.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-17 17:04:05 +04:00
Ilia Maslakov
973aae2b5e Fix of 'External panelize' dialog: update of 'Command' field content after mouse click.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-07-17 17:04:05 +04:00
Andrew Borodin
40d6e96471 Fix of f13 key handling.
ViewFile doesn't have the default key, and f13 is key for ViewRaw
which is handled in panel not.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-17 17:04:05 +04:00
Andrew Borodin
14a4eefc43 Fix typos.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-17 17:04:05 +04:00
Pavel Vasilyev
2c4562d759 Ticket #2538: mcviewer: unused result of str_term_width1().
And reduce size of buffer used to show file size.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-17 17:04:05 +04:00
Slava Zanko
16a624db07 src/filemanager/mountlist.c: apply mc code indentation policy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-17 17:04:05 +04:00
Andrew Borodin
e3b36c8b3d Ticket #2845: code cleanup before 4.8.4 release.
Sync with gnulib 06b335ade65c8fe60fee8b9e18b670bb54ed924a:

Write "Mac OS X" instead of "MacOS X".

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-17 17:04:05 +04:00
Andrew Borodin
78ab34ae9f Update po/mc.pot file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-12 22:16:21 +04:00
Andrew Borodin
527bea807b Merge branch '2788_mcedit_aspell'
* 2788_mcedit_aspell:
  Remove misc/edit.spell.rc since aspell is supported by mcedit directly.
  Ticket #2788 (aspell support)
2012-07-12 16:06:20 +04:00
Andrew Borodin
3d4ed51b7c Remove misc/edit.spell.rc since aspell is supported by mcedit directly.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-12 16:00:49 +04:00
Ilia Maslakov
1d4ca9608a Ticket #2788 (aspell support)
Add aspell support for internal editor.
The aspell library is dinamycally loaded.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-07-12 16:00:45 +04:00
Andrew Borodin
54b2b2fe67 Merge branch '2843_search_hotkey_conflict'
* 2843_search_hotkey_conflict:
  Ticket #2842: change hotkey for Normal search mode.
2012-07-10 20:59:21 +04:00
Andrew Borodin
562ef41b15 Ticket #2842: change hotkey for Normal search mode.
In Search dialog in mcedit M-n hotkey was used for normal search mode.
Therefore, M-n as HistoryPrev in the input line was in accessible.

Change hotkey for normal seach mode to M-r. Use this hotkey for normal diff
mode in mcdiffviewer to unify i18n resources.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-08 16:27:48 +04:00
Slava Zanko
04bce06ce4 Merge branch '1535_vfs_sftp_fixes'
* 1535_vfs_sftp_fixes:
  Add SFTP to the list of supported VFSes.
  SFTP connections are shown now in 'Active VFS connections' list.
  Fixed reget support in SFTP.
  Ticket #1535: configure: don't fail if 'sftp' support was not requested explicitly
2012-07-05 10:35:55 +03:00
Andrew Borodin
3786051314 Add SFTP to the list of supported VFSes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-05 10:34:30 +03:00
Slava Zanko
8f15940f50 SFTP connections are shown now in 'Active VFS connections' list.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-07-05 10:34:30 +03:00
Andrew Borodin
4841bc608a Fixed reget support in SFTP.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-05 10:34:30 +03:00
Sergei Trofimovich
bd59cea6ad Ticket #1535: configure: don't fail if 'sftp' support was not requested explicitly
Before the patch default ./configure led to configure crash:
    checking for LIBSSH... no
    configure: error: libssh2 >= 1.2.5 library not found

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2012-07-05 10:34:30 +03:00
Andrew Borodin
a343070843 Merge branch '2825_solaris_statvfs_members'
* 2825_solaris_statvfs_members:
  Ticket #2825: obtain FS name from stat info: sync with coreutils.
2012-07-02 20:50:41 +04:00
Andrew Borodin
3cf76f69bf Ticket #2825: obtain FS name from stat info: sync with coreutils.
src/filemanager/filegui.c does not compile on Solaris due to missing macros.
AVE_STRUCT_STATVFS_F_BASETYPE and HAVE_STRUCT_STATVFS_F_FSTYPENAME macros
are not set or even defined in config.h. configure scrips does not even
check for those members.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-02 20:50:19 +04:00
Slava Zanko
3e66455662 Merge branch '2820_extd_fix'
* 2820_extd_fix:
  Fixed libexec hardcoded value
  Added 'View' action to all video formats.
  Fixed the filename escaping issues.
  Ticket #2820: Typo fix 'oofice' -> ooffice
2012-06-29 13:20:08 +03:00
Slava Zanko
7e44bfb32d Fixed libexec hardcoded value
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-29 13:14:29 +03:00
Slava Zanko
40e8a0136b Added 'View' action to all video formats.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-29 13:14:29 +03:00
Slava Zanko
614d7f6a08 Fixed the filename escaping issues.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-29 13:14:29 +03:00
Slava Zanko
f2613ea2a6 Ticket #2820: Typo fix 'oofice' -> ooffice
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-29 13:14:29 +03:00
Slava Zanko
d8d2b523b9 Merge branch '2803_homedir_in_tests'
* 2803_homedir_in_tests:
  Ticket #2803: fixed bug do_panel_cd: FTBFS with --enable-tests on [kfreebsd-i386,kfreebsd-amd64,ia64,armhf]
2012-06-29 13:02:48 +03:00
Slava Zanko
6408811e18 Ticket #2803: fixed bug do_panel_cd: FTBFS with --enable-tests on [kfreebsd-i386,kfreebsd-amd64,ia64,armhf]
One of the panel tests fail if build environment doesn't contain the home user directory.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-29 13:02:30 +03:00
Slava Zanko
df98a25861 Merge branch '2834_disable_vfs'
* 2834_disable_vfs:
  Ticket #2834: Fixed bug 'FTBFS with --disable-vfs'
2012-06-29 12:46:12 +03:00
Slava Zanko
c277ac5b6f Ticket #2834: Fixed bug 'FTBFS with --disable-vfs'
Steps to reproduce:
 * ./configure --disable-vfs
 * make

Expected result: project should be builded successfully.

Actual result:
build stopped with errors:
lib/vfs/interface.c: In function 'mc_chdir':
lib/vfs/interface.c:714: error: 'struct vfs_s_super' has no member named 'path_element'
lib/vfs/interface.c:716: error: 'struct vfs_s_super' has no member named 'path_element'
lib/vfs/interface.c:717: error: 'struct vfs_s_super' has no member named 'path_element'

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-29 12:45:57 +03:00
Andrew Borodin
a7b558f4f1 Merge branch '2829_copy_to_full_partition'
* 2829_copy_to_full_partition:
  Ticket #2829: loss of data on copy to full partition.
2012-06-26 16:19:39 +04:00
Andrew Borodin
af2fe31ff3 Ticket #2829: loss of data on copy to full partition.
While copy/move file, the ENOSPC value of errno wasn't handled.

If destination file isn't comlete because of full partition, source file
is kept and destination one is removed unconditionally.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-26 16:19:22 +04:00
Andrew Borodin
33e1525eeb Merge branch '2827_tweak_without_charset'
* 2827_tweak_without_charset:
  Tests tweak and cleanup in case of --disable-charset option usage.
  Core, mceditor, mcviewer and mcdiffviewer code tweak and cleanup
  Ticket #2827: tweak and cleanup of code in case of --disable-charset option usage.
2012-06-25 17:03:03 +04:00
Andrew Borodin
af3dd96e7b Tests tweak and cleanup in case of --disable-charset option usage.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-25 17:00:02 +04:00
Andrew Borodin
e7fb3526f3 Core, mceditor, mcviewer and mcdiffviewer code tweak and cleanup
...in case of build with --disable-charset option.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-25 16:58:57 +04:00
Andrew Borodin
315c499c09 Ticket #2827: tweak and cleanup of code in case of --disable-charset option usage.
First step: tweak vfs-related code.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-25 16:56:11 +04:00
Marco Ciampa
05bfb10f16 Updated italian translation. 2012-06-23 14:17:03 +02:00
Sergei Trofimovich
b10a3995e8 ./configure: cleanup '--enable-background' option description
Before the patch ./configure --help shown:
  --enable-background     Support for background file operations [[yes]]

After the patch:
  --enable-background     Support for background file operations [yes]

Changed whitespace: converted tabs to spaces.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2012-06-22 12:51:22 +03:00
Slava Zanko
8ca27aa431 Merge branch '1535_vfs_sftp'
* 1535_vfs_sftp:
  Ticket #1535: SFTP support
2012-06-21 14:30:05 +03:00
Slava Zanko
da03697e84 Ticket #1535: SFTP support
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-06-21 14:29:32 +03:00
Andrew Borodin
7893cbf9b1 Merge branch '2261_multiedit'
* 2261_multiedit: (29 commits)
  Set fullscreen layout as previous editor look'n'feel.
  Updated documentation.
  Open several files in mc editor from command line.
  Show top opened file in screen list.
  Add icons to close window and toggle window state using mouse.
  Skin support for window frames.
  Add toggle fullscreen mode of editor windows.
  Handle CK_ShowNumbers action in dialog level instead of widget one.
  Handle CK_ShowTabTws and CK_ShowMargin actions in dialog level instead of widget one.
  Handle CK_SyntaxOnOff action in dialog level instead of widget one.
  Modify CK_Refresh command handling.
  Handle CK_Option action in dialog level instead of widget one.
  Assign button bar to the current editor.
  Switch windows using keyboard.
  Open each file in its own window.
  Add edit_add_window() function.
  Add CK_Close action to close current open file.
  Handle CK_Shell, CK_LearnKeys, CK_OptionsSaveMode and CK_SaveSetup actions in dialog level instead of widget one.
  Handle CK_Help, CK_Quit and CK_About actions in dialog level instead of widget one.
  Allow move and resize edit window using keyboard.
  ...
2012-06-20 22:33:57 +04:00
Andrew Borodin
bf1924e7ff Set fullscreen layout as previous editor look'n'feel.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:32:52 +04:00
Andrew Borodin
efb7f073cc Updated documentation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:26:11 +04:00
Andrew Borodin
84aa04fa6e Open several files in mc editor from command line.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:26:10 +04:00
Andrew Borodin
109f07465e Show top opened file in screen list.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:26:10 +04:00
Andrew Borodin
ba79784948 Add icons to close window and toggle window state using mouse.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:26:10 +04:00
Andrew Borodin
4fa4e7568d Skin support for window frames.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:26:10 +04:00
Andrew Borodin
2bb6cb2a32 Add toggle fullscreen mode of editor windows.
Initially, window is created in fullscreen mode.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:26:10 +04:00
Andrew Borodin
6038c893e4 Handle CK_ShowNumbers action in dialog level instead of widget one.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:26:10 +04:00
Andrew Borodin
85ad1fe4ce Handle CK_ShowTabTws and CK_ShowMargin actions in dialog level instead of widget one.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-06-20 22:26:10 +04:00