Commit Graph

8712 Commits

Author SHA1 Message Date
Daniel Borca
8a797248b0 Ticket #1515: Bug in normal search
The pipe character | is interpreted as branch.

Fix issue: character '|' now escaped for furter regexp search.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-21 16:55:22 +03:00
Slava Zanko
948ff80b7e Merge branch '1462_fix_manpages'
* 1462_fix_manpages:
  Fixed doc/man/mcview.1.in file
  Fixed doc/man/mcedit.1.in file
  Fixed doc/man/mc.1.in file
  Fixed doc/man/sr/mc.1.in file
  Fixed doc/man/ru/mc.1.in file
  Fixed doc/man/pl/mc.1.in file
  Fixed doc/man/it/mc.1.in file
  Fixed doc/man/hu/mc.1.in file
  Ticket #1462: Fix 'hyphen' used as minus sign and fix errors from man
2009-08-21 16:52:23 +03:00
Denis Briand
d7f17e1416 Fixed doc/man/mcview.1.in file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-21 16:52:03 +03:00
Denis Briand
e2206c3a70 Fixed doc/man/mcedit.1.in file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-21 16:52:03 +03:00
Denis Briand
ab39fc0ba6 Fixed doc/man/mc.1.in file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-21 16:52:03 +03:00
Denis Briand
d3a7adbada Fixed doc/man/sr/mc.1.in file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-21 16:52:02 +03:00
Denis Briand
b153b00c86 Fixed doc/man/ru/mc.1.in file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-21 16:52:02 +03:00
Denis Briand
a3609ff758 Fixed doc/man/pl/mc.1.in file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-21 16:52:02 +03:00
Denis Briand
e1584d026e Fixed doc/man/it/mc.1.in file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-21 16:52:02 +03:00
Denis Briand
f4f10bcb2c Fixed doc/man/hu/mc.1.in file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-21 16:52:01 +03:00
Denis Briand
bb1cd93ca4 Ticket #1462: Fix 'hyphen' used as minus sign and fix errors from man
Fixed doc/man/es/mc.1.in file

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-21 16:52:01 +03:00
Ilia Maslakov
96b33bae87 Merge branch '61_rectangular_select'
* 61_rectangular_select:
  add description of editor_cursor_beyond_eol into  mcedit.1.in
  fix: incorrect move/delete block if 'Cursor beyond end of line' swiched on
  fix: mouse selection if line state swiched on.
  Ticket #61 (Misbehaving rectangular select in editor)
2009-08-21 13:43:41 +00:00
Ilia Maslakov
2893fef51a add description of editor_cursor_beyond_eol into mcedit.1.in
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-08-21 13:42:30 +00:00
Ilia Maslakov
68a6495c96 fix: incorrect move/delete block if 'Cursor beyond end of line' swiched on
fix: Enter behavior if 'Cursor beyond end of line' swiched on

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-08-21 13:42:30 +00:00
Ilia Maslakov
cdd28feca8 fix: mouse selection if line state swiched on.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-08-21 13:42:29 +00:00
Ilia Maslakov
46eccd1102 Ticket #61 (Misbehaving rectangular select in editor)
fix: incorrect draw rectangular selection if start highlight from first line.
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-08-21 13:42:29 +00:00
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