Commit Graph

10211 Commits

Author SHA1 Message Date
David Martin
bfa02d1f75 l10n: Updated Spanish (Castilian) (es) translation to 100%
New status: 1101 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-06-27 00:13:10 +00:00
Sergei Trofimovich
4abeb610fd misc/syntax/ebuild.syntax: added EGIT_PROJECT to list of known words
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2010-06-26 17:44:58 +03:00
Andrew Borodin
b1e3cbbff1 Merge branch '2248_editor_set_codeset_fix'
* 2248_editor_set_codeset_fix:
  Ticket #2248: mcedit: don't try set codepage again after file load.
2010-06-25 20:45:57 +04:00
Andrew Borodin
9dfe1ed070 Ticket #2248: mcedit: don't try set codepage again after file load.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-25 14:39:36 +04:00
Andrew Borodin
82d67c61c5 Merge branch '1490_exit_subshell_fix'
* 1490_exit_subshell_fix:
  Ticket #1490: fix of exit from subshell handling.
2010-06-25 14:27:03 +04:00
Andrew Borodin
f86415f03e Ticket #1490: fix of exit from subshell handling.
If several screens are opened, exit from subshell is handled
icorrectly.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-25 14:26:42 +04:00
Yury V. Zaytsev
aa6e933d7c Merge branch '1446_spec_syntax'
* 1446_spec_syntax:
  Ticket #1446: Added highlighting for HTTPS URLs.
2010-06-25 10:16:21 +02:00
Igor Zubkov
bbe8e8d40e Ticket #1446: Added highlighting for HTTPS URLs.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-06-25 00:05:06 +02:00
Ilia Maslakov
856dab1d56 Merge branch '1907_filename_in_copy'
* 1907_filename_in_copy:
  Ticket #1907 (append filename to path copy/move operation)
2010-06-24 17:25:21 +04:00
nikk
9b5a8dec33 Ticket #1907 (append filename to path copy/move operation)
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>
2010-06-24 11:01:02 +04:00
Andrew Borodin
5e35fb66c7 Updated all po files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:54:11 +04:00
Andrew Borodin
9adda31a9f Merge branch '1490_multi_screens'
* 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.
  ...
2010-06-22 21:45:13 +04:00
Andrew Borodin
b97ec0fad7 Updated EN and RU man pages.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-06-22 21:44:56 +04:00
Slava Zanko
48fe4e6881 Lock file is created and destroyed with full path.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:44:53 +04:00
Andrew Borodin
0bd04ed34f Implemented file locking in hex editor.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:44:22 +04:00
Andrew Borodin
b2ee413f03 Allow use file locking in various components of MC.
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>
2010-06-22 21:44:22 +04:00
Andrew Borodin
15a7b10191 Ask user before exit if there are opened screens in MC.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:44:22 +04:00
Andrew Borodin
768f48de29 SIGWINCH handling in suspended dialogs.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:44:22 +04:00
Andrew Borodin
cf6098505c Close dialogs during MC shutdown.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:44:15 +04:00
Andrew Borodin
56bbdeb15f Support of multiple editors and viewers.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:19 +04:00
Andrew Borodin
936bb2e5f0 Added code names for parentheses, brackets and braces.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:19 +04:00
Andrew Borodin
dfe9bc887a MC Edit: column_highlighting flag is a member of WEdit struct.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:19 +04:00
Andrew Borodin
2cc2f34912 MCView: reimplemented messages and commands handling.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:19 +04:00
Andrew Borodin
8024889126 Added type for MC viewer exit codes. Changed MC viewer run interface.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:19 +04:00
Andrew Borodin
a87165824c Added function to get dialog title.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:19 +04:00
Andrew Borodin
95e4424e92 Renamed current_dlg variable to top_dlg.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:19 +04:00
Andrew Borodin
74651f2e9f Added modal flag to the dialog structure.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:19 +04:00
Andrew Borodin
5c9826a897 Renamed dlg_id and parent fields of Widget structure.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:19 +04:00
Andrew Borodin
6efe7f2216 Reimplemented widget list in dialog using GList.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:19 +04:00
Andrew Borodin
0e0f9c8ccd Added dialog state (active, suspended, closed).
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:19 +04:00
Andrew Borodin
5ab573263a Modified dialog initialization.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:18 +04:00
Andrew Borodin
62f0f101d7 Reimplemented dialogs stack using GList.
Code reorganization in src/dialog.c.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:18 +04:00
Andrew Borodin
bb7a44d3e8 Ticket #1490: implementation of multiscreen engine.
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>
2010-06-22 21:16:18 +04:00
Oleksandr Natalenko
104c2a0628 l10n: Updated Ukrainian (uk) translation to 100%
New status: 1088 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).
2010-06-22 15:19:51 +00:00
Andrew Borodin
f5bb7197e3 Merge branch '2174_quick_search_interrupt'
* 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.
2010-06-16 13:43:00 +04:00
Andrew Borodin
e793117b21 struct WPanel: changed type of searching field form int to gboolean.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-16 13:42:23 +04:00
Andrew Borodin
166fcfc15f Stop quick search before executing any main menu command.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-16 13:42:23 +04:00
Andrew Borodin
ca0dd60500 Added CK_PanelStopSearch command to stop quick search.
Also added WIDGET_COMMAND handling in panel.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-16 13:42:23 +04:00
Andrew Borodin
893c020b01 Ticket #2175: clean quick search input line after interrupt of search.
Also quick search is interrupted now by any panel command.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-16 13:42:23 +04:00
Slava Zanko
f8daba73db Merge branch '1959_postfixies'
* 1959_postfixies:
  Fixed broken compile if slang.pc file present in ${libdir}/pkgconfig
  Ticket #1959: Broken master branch after 'AC_TRY_RUN crosscompile break' patch
2010-06-16 12:16:14 +03:00
Slava Zanko
e07b5598da Fixed broken compile if slang.pc file present in ${libdir}/pkgconfig
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-06-16 10:42:56 +03:00
Slava Zanko
863291ddcd Ticket #1959: Broken master branch after 'AC_TRY_RUN crosscompile break' patch
* 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>
2010-06-16 10:42:45 +03:00
Yury V. Zaytsev
00d69af63f Merge branch '2199_button_bar_mouse'
* 2199_button_bar_mouse:
  Ticket #2199: Buttonbar mouseclicks are off
2010-06-15 09:48:28 +02:00
Egmont Koblinger
86c1e06dee Ticket #2199: Buttonbar mouseclicks are off
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>
2010-06-15 09:46:01 +02:00
Andrew Borodin
a3fc5c8082 Merge branch '2196_editor_tab_spacing'
* 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.
2010-06-14 14:04:41 +04:00
Andrew Borodin
8bcc49900b Applied MC indentation policy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-14 14:04:02 +04:00
Andrew Borodin
dce8010059 Declaration of option_tab_spacing variable was moved from main.h to setup.h.
Includes were fixed.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-14 13:53:02 +04:00
Andrew Borodin
0485ae5026 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>
2010-06-14 13:53:02 +04:00
Slava Zanko
d146ab8661 Merge branch '1959_cross_compile'
* 1959_cross_compile:
  Ticket #1959: AC_TRY_RUN crosscompile break
2010-06-14 12:45:56 +03:00
Slava Zanko
da583e5739 Ticket #1959: AC_TRY_RUN crosscompile break
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>
2010-06-14 12:44:29 +03:00