append filename to path into copy/move dialog, "to:" input field
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
* 1490_multi_screens: (21 commits)
Updated EN and RU man pages.
Lock file is created and destroyed with full path.
Implemented file locking in hex editor.
Allow use file locking in various components of MC.
Ask user before exit if there are opened screens in MC.
SIGWINCH handling in suspended dialogs.
Close dialogs during MC shutdown.
Support of multiple editors and viewers.
Added code names for parentheses, brackets and braces.
MC Edit: column_highlighting flag is a member of WEdit struct.
MCView: reimplemented messages and commands handling.
Added type for MC viewer exit codes. Changed MC viewer run interface.
Added function to get dialog title.
Renamed current_dlg variable to top_dlg.
Added modal flag to the dialog structure.
Renamed dlg_id and parent fields of Widget structure.
Reimplemented widget list in dialog using GList.
Added dialog state (active, suspended, closed).
Modified dialog initialization.
Reimplemented dialogs stack using GList.
...
Renamed and moved src/editor/editloc.[ch] -> lib/lock.[ch].
Renamed lock handling functions.
Fixed library order in src/Makefile.am.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Multiscreen engine allows to run several editors and viewers
at the same time and switch between them.
Initial commit: minor refactoring: redefine dialog flags using enum.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 2174_quick_search_interrupt:
struct WPanel: changed type of searching field form int to gboolean.
Stop quick search before executing any main menu command.
Added CK_PanelStopSearch command to stop quick search.
Ticket #2175: clean quick search input line after interrupt of search.
* split m4.include/mc-with-screen.m4 file in two files: mc-with-screen-slang.m4 and mc-with-screen.m4
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Case 1: Make the terminal window 85 characters wide. Click (with the
mouse) on the right side of the "Copy" button on the bottom. See the
Move dialog appearing instead of the Copy dialog.
Case 2: Make the terminal 42 characters wide. Click on the bottom right
corner (the Re~ov button). MC invokes its menu or quits, depending on
the exact click location.
The patch that solves all these. The extra space is not assigned to the
first buttons, but distributed mostly evenly across buttons,
guaranteeing that the first five get exactly as much (or one character
less) than the second five, just as it works for the panels. Also, mouse
clicks use the exact same boundaries that were used when printing the
buttons.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
Minor code cleanup, renamed local variable to avoid shadowing of global
variable, fixed formatting.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
* 2196_editor_tab_spacing:
Applied MC indentation policy.
Declaration of option_tab_spacing variable was moved from main.h to setup.h.
Ticket #2196: editor hangup if editor_tab_spacing is equalt to 0.
Check and correct value of option_tab_spacing during options loading.
Check and correct value of option_word_wrap_line_length during options loading
and after editor options changing.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
We have several AC_TRY_RUN's in the configure/m4 stuff,
which obviously breaks crosscompiling.
This changeset contain fixies for S-Lang library. First try to search
library via 'pkg-config slang' and then try to go in old search way.
Macro AC_TRY_RUN() now replaced by AC_RUN_IFELSE()
Also, next changes was made:
* Removed AC_TRY_RUN() from gmodule checking code.
* More accuracy in grepping of SLANG_VERSION defined constant
* avoid autoconf error 'suspicious presence of an AC_DEFINE in the second argument, where no actions should be taken'
Signed-off-by: Slava Zanko <slavazanko@gmail.com>