Commit Graph

8946 Commits

Author SHA1 Message Date
Patrick Winnertz
001da1be2c Updated german translation and retranslated three strings as they were
too long for the widget.

Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-08-20 10:15:38 +02:00
Patrick Winnertz
93a95a1040 Merge branch '1540_tab_expansion_of_tilde'
* 1540_tab_expansion_of_tilde:
  Ticket #1545: Don't escape tilde on cmdline, this is not necessary.
2009-08-20 10:12:59 +02:00
Patrick Winnertz
83ad350b69 Ticket #1545: Don't escape tilde on cmdline, this is not necessary.
Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-08-19 22:10:33 +02:00
Ilia Maslakov
497af7820e Ticket #1546 (build broken for --with-screen=ncurses)
fix: inconnect value name in tty_print_anychar

    thanx jue for fix

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-08-19 19:46:28 +00:00
Patrick Winnertz
79e45c9770 Add TAGS for mcedit into .gitignore
Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-08-19 20:51:06 +02:00
Sergei Trofimovich
985f076e5f Merge commit 'origin/82_sanitize_ro_file_edition'
* commit 'origin/82_sanitize_ro_file_edition':
  Ticket #82: savannah: "save as" retains mode (take 2) provided by dborka
2009-08-19 20:54:15 +03:00
Patrick Winnertz
c080a3e2a5 Add a xterm-256color entry to mc.lib
Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-08-19 19:38:44 +02:00
Andrew Borodin
c0d802eb90 Merge branch '1547_convert_user_menu_to_utf8'
* 1547_convert_user_menu_to_utf8:
  Ticket #1547: convert SR user menu to UTF-8.
2009-08-19 15:58:03 +04:00
Andrew Borodin
9f1bb1e7ca Ticket #1547: convert SR user menu to UTF-8.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-19 15:00:41 +04:00
Slava Zanko
02bb6efe51 Merge branch '277_konsole_256color'
* 277_konsole_256color:
  Ticket #277: mc hangs if mouse support enabled on konsole-256color terminal
2009-08-19 13:19:31 +03:00
Slava Zanko
678e10a3ed Ticket #277: mc hangs if mouse support enabled on konsole-256color terminal
Added recognize for 'konsole' terminal into init_xterm_support() function.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-19 12:30:53 +03:00
Andrew Borodin
1c561adb9e Merge branch '1544_segfault_launch_info_panel'
* 1544_segfault_launch_info_panel:
  Fixed segfault during init saved Info or Tree panel.
  Ticket #1544: segfault om launch MC with saved Info or Tree panel
2009-08-19 12:50:21 +04:00
Andrew Borodin
1c7d3ca24a Fixed segfault during init saved Info or Tree panel.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-19 12:49:26 +04:00
Andrew Borodin
b98a0d4d1a Ticket #1544: segfault om launch MC with saved Info or Tree panel
First step: minor refactoring and code clean up.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-19 12:49:26 +04:00
Andrew Borodin
39c875a888 Merge branch '1531_reverse_selection_old_mode'
* 1531_reverse_selection_old_mode:
  Ticket #1531: old method of reverse selection of files.
2009-08-19 11:25:53 +04:00
Andrew Borodin
96e032b473 Ticket #1531: old method of reverse selection of files.
Now Gray-* shortcut inverts selection of directories as well as files.
This is very confusing feature especially when user is going to delete
files.

Added new variable 'reverse_files_only' allows use the old behavior
of reverse selection.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-19 11:25:25 +04:00
Andrew Borodin
bcf734f82a Merge branch '74_resize_disabled_mouse'
* 74_resize_disabled_mouse:
  Ticket #74: TUI is not resized if mouse is desabled.
2009-08-19 11:20:35 +04:00
Andrew Borodin
7c1e24525d Ticket #74: TUI is not resized if mouse is desabled.
If you run without mouse support (mc -d), mc doesn't detect resizes.

You need to press a key for mc to resize itself to new window after
window is maximized or resized (press up/down arrow, Ctrl-O, almost
anything will work).

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-19 11:20:15 +04:00
Sergei Trofimovich
c769f7fcd3 Ticket #82: savannah: "save as" retains mode (take 2) provided by dborka
Suppose you have two files, foo and bar. Both files have 444 permissions.
Now edit foo and "Save". It can't save and instead prompt you to "Save As".
Enter bar. It will chmod bar to 644. If we don't touch touch existing file
permissions for "Save", I don't see why we should for "Save As".

Patch adds S_IWUSR only if different_filename and file does not exist yet.
For consistency, it's S_IWUSR not S_IWRITE.

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-08-18 22:28:59 +03:00
Ilia Maslakov
c7001ef7cf Ticket #1484 (Editor bookmarks made visible)
fix: TWS and abnormal chars not highlighted

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-08-18 11:30:12 +00:00
Daniel Borca
9f2034d376 Ticket #1484 (show bookmark)
* add keyboard shortcuts
    * add showing bookmarks

Signed-off-by: Ilia Maslakov <il.smind@google.com>

    * show '*' for bookmarked line (if line state showed)

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-08-18 10:05:50 +00:00
Daniel Borca
ea219adec3 Ticket #1412 (vertical selection issue)
fix: vertical selection issue then line state is switch on

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-08-18 06:13:01 +00:00
Ilia Maslakov
4afee14f94 Ticket #1529 (remove search converter overhead)
* add: void tty_print_anychar (int c)
    * remove superfluous search converter in convert_from_utf_to_current_c,
      convert_from_8bit_to_utf_c add converter to WEdit struct
    * fix: init defaulf codesets
    * fix: segfault on replace if LANG=C

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-08-18 05:52:40 +00:00
Ilia Maslakov
0ff82e59c1 Merge branch '1534_cool_cooledit'
* 1534_cool_cooledit:
  add option "Cursor beyond end of line" into "Options\General..." dialog (editor_beyond_eol in ini)
  Ticket #1534 (cool cooledit)
2009-08-17 18:13:23 +00:00
Ilia Maslakov
b536c3e487 add option "Cursor beyond end of line" into "Options\General..." dialog (editor_beyond_eol in ini)
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-08-17 18:11:20 +00:00
Ilia Maslakov
f4fc6ad79d Ticket #1534 (cool cooledit)
first commit for support drag cursor after end of line

    * change mouse movement, allow place cursor after EOL
    * change vertical select
    * fix: right scroll

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-08-17 18:11:20 +00:00
Andrew Borodin
ae494fd168 Merge branch '1414-scalable-ui'
* 1414-scalable-ui:
  Ticket #1414: implemented scalable TUI.
  Ticket #1414: small refactoring before major modifications.
2009-08-17 15:55:36 +04:00
Andrew Borodin
bc09ff3888 Ticket #1414: implemented scalable TUI.
Thanks to E.L.K.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-17 15:54:39 +04:00
Andrew Borodin
f2e6817363 Ticket #1414: small refactoring before major modifications.
Fixed missed includes.
Fised widget_set_size() declaration.
Moved default widget callback (default_proc()) from dialog.[ch] to widget.[ch].

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-17 15:54:39 +04:00
Martin Petricek
3033429645 Ticket #268 (Allow using SI-based size prefixes)
* add: switching between old (default) 1024 based "binary" prefixes
           and SI (1000 based) size prefixes when displaying file sizes

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>

    Size in SI units: changed option name and description.

    * Changed option name in 'Configuration options' dialog.
    * Moved description to proper section in man page.
    * Added russian translation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-17 11:14:59 +00:00
Ilia Maslakov
2289c62c6e Ticket #267 (etags incorrect get the line number definition)
fix: etags incorrect get the line number of function definition
2009-08-15 11:36:57 +00:00
Ilia Maslakov
bf6d6bafb4 Ticket #364 (Broken keymap after external command)
fix: broken keymap after run external command (like ispell)
2009-08-15 09:09:21 +00:00
Patrick Winnertz
956f36a534 Merge branch '1533_german_date_broken'
* 1533_german_date_broken:
  Removed three unneeded variables
  Ticket #1533: Fix the date issue on german locale. Use a #define
2009-08-15 08:54:49 +02:00
Patrick Winnertz
1baf186c16 Removed three unneeded variables
Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-08-14 19:18:08 +02:00
Patrick Winnertz
21069fb83d Ticket #1533: Fix the date issue on german locale. Use a #define
for consistent translation of the date through whole util.c

Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-08-14 19:03:51 +02:00
Andrew Borodin
896045613b Merge branch '38_maxpathlen'
* 38_maxpathlen:
  Ticket #38: use MC_MAXPATHLEN insterd of MAXPATHLEN.
2009-08-14 12:07:51 +04:00
IMDagger
a57ff08d12 Ticket #38: use MC_MAXPATHLEN insterd of MAXPATHLEN.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-14 09:40:45 +04:00
Andrew Borodin
a00da670ee Merge branch '38_info_panel_return_to_wrong_dir'
* 38_info_panel_return_to_wrong_dir:
  Ticket 38: return from Info panel to wrong directory.
2009-08-13 17:01:29 +04:00
IMDagger
c17ebc96ac Ticket 38: return from Info panel to wrong directory.
When viewing two file lists, if user presses C-x i for info on
a panel's directory or file, the info pops up correctly in the
other panel. However, when the user closes the info screen, the
directory of the current panel is shown -- NOT the directory
which was being viewed before the info panel appeared.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-13 17:00:58 +04:00
Slava Zanko
8b68cce757 Merge branch '186_prompt_fixups'
* 186_prompt_fixups:
  Ticket #186: prompt fixups
2009-08-13 15:38:20 +03:00
Slava Zanko
1a3e71c03c Ticket #186: prompt fixups
TestCase:
 * Have a mc running where you have two different directories in each panel.
 * Tab, so that you are in the other panel.
 * Ctrl-O to go to subshell.
 * You see two different prompts printed next to each other.

Fix issue:
In function src/main.c:do_update_prompt(): added '\r\n' before show prompt.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-13 10:01:44 +03:00
Slava Zanko
a01eca0eee Merge branch '121_support_IPv6'
* 121_support_IPv6:
  Ticket #121 (support IPv6).
2009-08-13 00:33:06 +03:00
Jindrich Novy
b1b3be843c Ticket #121 (support IPv6).
Implemented support of IPv6 protocol in FTP connections.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-13 00:32:26 +03:00
Ilia Maslakov
9e0316c777 Ticket #1474 (fix slang include)
fix: typo in #include <slang.h> section
2009-08-12 19:32:50 +00:00
Andrew Borodin
e1cbec7be9 Ticket #1474: merge HACK_tty branch to master one.
Merge branch 'HACK_tty'

* HACK_tty: (76 commits)
  TTY: use tty_print_string() instead of printw().
  Added check for version of S-Lang. Minimal version is 2.0
  Modified the hintbar draw update.
  Fixed dialog colors definition, setup and handling.
  Revert "src/help.c: minor refactoring."
  TTY: removed slang1 related code.
  src/help.c: minor refactoring.
  src/main.c: minor refactoring
  TTY: moved SIGWINCH setup function to TTY layer.
  Panel: fixed width of second column in brief listing mode.
  Moved do_possible_cd() function from main.c to execute.c.
  Screen: moved maybe_cd() function from main.c to screen.c.
  Fix after rebase.
  VFS: removed unnedeed includes of tty/tty.h header.
  Moved panel update functions from main.c to screen.c.
  TTY: moved alternate_plus_minus variable to TTY layer.
  WListbox: some draw modifications.
  WListbox: removed widget sizes duplication.
  Listbox window: without button, listbox only.
  Listbox window: apply main menu colors to the user menu.
  ...
2009-08-12 21:27:26 +04:00
Andrew Borodin
c5490f8a13 TTY: use tty_print_string() instead of printw().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-12 21:26:02 +04:00
Slava Zanko
5b0218337f Added check for version of S-Lang. Minimal version is 2.0
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-12 21:23:55 +04:00
Andrew Borodin
e7ac83b48a Modified the hintbar draw update.
Since midnight_dlg can be invisible during screen resize,
don't update the hintbar in SIGWING signal handling function.
Now the hintbar is updated during DLG_DRAW message handling
in mignight_dlg callback.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-12 21:23:55 +04:00
Andrew Borodin
5feea4aead Fixed dialog colors definition, setup and handling.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-12 21:23:55 +04:00
Andrew Borodin
791404055b Revert "src/help.c: minor refactoring."
This reverts commit f070d94275c0e41bed4878caf60f8254473f3486.
Help is displayed incorrectly.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-12 21:23:55 +04:00