Commit Graph

9275 Commits

Author SHA1 Message Date
Andrew Borodin
e6851b18b3 Ticket #1781: little speedup of startup.
Keys sort functions have been maken inline.
Decrease of memory usage: reimplemented
key_name_conv_tab_sorted array as array of pointers
instead of entire copy of key_name_conv_tab array.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-23 21:30:43 +03:00
Slava Zanko
4fa7b56ada Merge branch '1590_drop_srpm'
* 1590_drop_srpm:
  /vfs/extfs/rpm wrapper is totally rewritten.
  Drop srpm VFS at all. rpm VFS is used instead.
  Ticket #1590: single rpm script that also does srpm job.
2009-11-23 10:16:54 +02:00
Slava Zanko
e7ed071be7 /vfs/extfs/rpm wrapper is totally rewritten.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-23 10:16:28 +02:00
Andrew Borodin
d53630b800 Drop srpm VFS at all. rpm VFS is used instead.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-23 10:16:28 +02:00
Arkadiusz Miśkiewicz
03fd0a6cd0 Ticket #1590: single rpm script that also does srpm job.
Use rpm script for srpm job, too.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-23 10:16:28 +02:00
Andrew Borodin
a4541a70ae Merge branch '1814_empty_values_in_history'
* 1814_empty_values_in_history:
  Ticket #1814: allow save empty value in history.
2009-11-20 19:44:46 +03:00
Andrew Borodin
35de934437 Ticket #1814: allow save empty value in history.
Problem: 'Find File' dialog doesn't save an empty "content" filed on exit.
Proposed solution: allow each history (not in content in 'Find File' dialog
only) save an empty value.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-20 19:44:14 +03:00
Ilia Maslakov
a1552e9f06 Merge branch '1837_block_selection_fix'
* 1837_block_selection_fix:
  Ticket #1837 (incorrect block selection)
2009-11-20 15:36:18 +03:00
Ilia Maslakov
380504c8d9 Ticket #1837 (incorrect block selection)
fixed strange behavior of selection in editor.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-11-20 15:34:42 +03:00
Slava Zanko
d8efd7de96 Merge branch '1835_fix_logic_in_get_codepage_index'
* 1835_fix_logic_in_get_codepage_index:
  Ticket #1835: Coding style fixups in src/charset.c
2009-11-20 14:13:25 +02:00
Leonid Myravyev
c3279bd980 Ticket #1835: Coding style fixups in src/charset.c
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-20 14:13:12 +02:00
Andrew Borodin
4f57b7d3db Merge branch '1836_wrong_menu_shortcuts'
* 1836_wrong_menu_shortcuts:
  Ticket #1836: fixed wrong shortcuts in menu items.
2009-11-20 14:49:13 +03:00
Andrew Borodin
0d4ebe6ece Ticket #1836: fixed wrong shortcuts in menu items.
Also minor optimization of key names sort.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-20 14:48:48 +03:00
Andrew Borodin
15bfe2f86b Merge branch '1831_disable_nls'
* 1831_disable_nls:
  Ticket #1831: fixed compilation warings of --disable-nls and --disable-charset options.
2009-11-20 14:40:39 +03:00
Andrew Borodin
a193e2e56f Ticket #1831: fixed compilation warings of --disable-nls and --disable-charset options.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-20 14:39:51 +03:00
Andrew Borodin
0b8b237d2b Merge branch '1732_cpio'
* 1732_cpio:
  Fixed skip of empty directories in the root of cpio archive.
  Ticket #1732: cpio VFS skips empty directories in the root of archive
2009-11-19 20:34:51 +03:00
Andrew Borodin
f84917a188 Fixed skip of empty directories in the root of cpio archive.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 20:34:25 +03:00
Andrew Borodin
698385bdd0 Ticket #1732: cpio VFS skips empty directories in the root of archive
Initial step: some optimization and type accuracy.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 20:34:25 +03:00
Ilia Maslakov
fd95afef23 Merge branch '1809_editor_nonprintable_fix'
* 1809_editor_nonprintable_fix:
  Ticket #1809 (invalid length of nonprintable chars)
2009-11-19 17:47:47 +03:00
Ilia Maslakov
51e7de4bb5 Ticket #1809 (invalid length of nonprintable chars)
fixed calculation of the cursor position in 'edit_move_forward3'.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-11-19 17:41:26 +03:00
Slava Zanko
b2f1b0bb71 Merge branch '1613_remove_charset_confirmation'
* 1613_remove_charset_confirmation:
  Ticket #1613: remove charset confirmation on startup
2009-11-19 10:56:25 +02:00
Slava Zanko
59efad629f Ticket #1613: remove charset confirmation on startup
Since mc-4.7.0-pre1 was added charset confirmation if charset was changed.

This commit was adds automatic recognize of system charset and fix in current
config. Also, now contig file will untouched if 'Auto save setup' option is switched off.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-11-19 10:36:37 +02:00
Andrew Borodin
6f3b00cf16 Merge branch '212_buttonbar_commands'
* 212_buttonbar_commands: (23 commits)
  Added shortcuts to move to begin and end of text in editor.
  Fixed generation of shortcut string for menu items.
  Fixed CK_Menu command handling in editor.
  Many shortcuts were fixed.
  Ticket #1824: fixed some keybinding names
  Modified ButtonBar engine to allow bind keys to unused buttons.
  Unified some commands that differ in its behaviour when called via menu or shortcuts.
  Added Esc key to the key name table.
  Implemented keybindings engine for ButtonBar (F1-F10 keys).
  Modified menu command handling using DLG_ACTION message.
  Modified dialog callback function.
  Implemented keybindings for Help window.
  Optimization of command handling.
  Added Viewer commands and shortcuts.
  ButtonBar optimizations.
  Added missed shortcuts for ButtonBar commands.
  Type accuracy and code clean up.
  Enlarged sizes of Directory Tree dialog window.
  Implemeted keybindings for Tree widget
  Changed widget order in editor and viewer dialogs.
  ...
2009-11-19 10:08:24 +03:00
Andrew Borodin
eea8470a2d Added shortcuts to move to begin and end of text in editor.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:52 +03:00
Andrew Borodin
ed2e33574a Fixed generation of shortcut string for menu items.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:52 +03:00
Andrew Borodin
366067d0c3 Fixed CK_Menu command handling in editor.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:52 +03:00
Andrew Borodin
5e68b69020 Many shortcuts were fixed.
Ticket #1764:
  * fxed shortcuts for select/unselect/reverse selection
of file group;
  * removed 'C-x C-c' default shortcut for Quit command.

Also fixed some emacs-like keybindings for editor and viewer.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Vit Rosin
d8130a82a3 Ticket #1824: fixed some keybinding names
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin
1ed7892f8e Modified ButtonBar engine to allow bind keys to unused buttons.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin
eb2e4b0e17 Unified some commands that differ in its behaviour when called via menu or shortcuts.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin
e252488ac2 Added Esc key to the key name table.
Also some fixes of DLG_ACTION message handling in panels and viewer.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin
c2693b7212 Implemented keybindings engine for ButtonBar (F1-F10 keys).
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin
b7f367542a Modified menu command handling using DLG_ACTION message.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin
11d21f1437 Modified dialog callback function.
Added two parameters:
  * Widget *sender -- to recognize the wiget that have sent message;
  * void *data -- to pass any user-defined data to the dialog.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin
ccabd60ffc Implemented keybindings for Help window.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin
5592a472f6 Optimization of command handling. 2009-11-19 10:07:51 +03:00
Andrew Borodin
e85f6b23e3 Added Viewer commands and shortcuts.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin
8224a26cf4 ButtonBar optimizations.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin
6b71dc9f12 Added missed shortcuts for ButtonBar commands.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin
da33e767e9 Type accuracy and code clean up.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin
9760092c17 Enlarged sizes of Directory Tree dialog window.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin
efdb645468 Implemeted keybindings for Tree widget
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin
9b82c05fca Changed widget order in editor and viewer dialogs.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin
e3f85ff6d0 Refactoring of ButtonBar drawing in viewer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin
ce4334e51e Made mcview_execute_cmd() function matched with dlg_exec_fn type.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Andrew Borodin
71c9e4c668 Ticket #212: implemented keybindings for ButtonBar.
First step: renamed type of dialog command execution function.
Made execution function more flexible: added parameters for
sender and receiver widgets and user data.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-11-19 10:07:51 +03:00
Ilia Maslakov
95312660df Merge branch '1792_editor_mouse_movement'
* 1792_editor_mouse_movement:
  Ticket #1792 (incorrect mouse movement)
2009-11-18 21:55:35 +00:00
Ilia Maslakov
64bc6aa1c7 Ticket #1792 (incorrect mouse movement)
Fixed incorrect mouse movement when text scrolled to the right.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-11-18 21:53:08 +00:00
Slava Zanko
abcc78696b Merge branch '1826_fixup_without_edit'
* 1826_fixup_without_edit:
  Ticket #1826: fixing build w/o internal edit
2009-11-18 22:45:07 +02:00
Enrico Weigelt, metux IT service
d06eb6452e Ticket #1826: fixing build w/o internal edit 2009-11-18 22:44:20 +02:00