Commit Graph

9119 Commits

Author SHA1 Message Date
Gergely Szabo
8e873f741f Hungarian translation updated, not tested yet.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-01 02:42:35 +03:00
Ilia Maslakov
1936a8e266 fix: Russian translation.
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-30 13:57:27 +00:00
Slava Zanko
b0521566bb Merge branch '1649_code_cleanup'
* 1649_code_cleanup:
  Fix Makefile.am for correct run 'make dist' command
  Fix conflict of hotkeys in main menu.
  Ticket #1649: Prepare for prerelease mc-4.7.0-pre3 (code cleanup)
2009-09-30 16:44:05 +03:00
Slava Zanko
294a5ed6a1 Fix Makefile.am for correct run 'make dist' command
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-30 16:42:23 +03:00
Slava Zanko
7a137b6d18 Fix conflict of hotkeys in main menu.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-30 16:42:22 +03:00
Slava Zanko
dd94068a62 Ticket #1649: Prepare for prerelease mc-4.7.0-pre3 (code cleanup)
Try to compile with
{{{
make CFLAGS="-Wall -Werror -Wno-long-long -Wwrite-strings"
}}}

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-30 16:42:11 +03:00
Ilia Maslakov
4c64340111 Ticket #1650
fix: UNDO behavior when cursor besides EOL

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-30 12:09:10 +00:00
Ilia Maslakov
53b0f8546d Ticket #212
fixed completion in command line
    add: EditToggleTabTWS,EditFindDefinition, EditLoadPrevFile, EditLoadNextFile actions into bindings list
    add string bindings for f21..f24

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-30 12:04:17 +00:00
Slava Zanko
5128c729b0 Fix invalid translate string.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-30 12:45:33 +03:00
Slava Zanko
e5548a0b66 Fix some Russian translates
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-30 12:24:12 +03:00
Slava Zanko
088e3883a3 Fix format string in translate
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-30 11:40:18 +03:00
Slava Zanko
ac3239a422 Update Russian translate.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-30 11:35:06 +03:00
Slava Zanko
5445a2db95 Update all translates.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-30 11:17:48 +03:00
David Martin
070199259d Last minute update to git 30/9
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-30 11:17:18 +03:00
Andrew Borodin
d72b1deeca Merge branch '1643_mouse_hidden_menu'
* 1643_mouse_hidden_menu:
  Ticket #1643: menu events handling in file panel in case of invisible menu.
2009-09-30 08:46:10 +04:00
Andrew Borodin
c422f67bd3 Ticket #1643: menu events handling in file panel in case of invisible menu.
Fixed: when main menu is invisible, pressing mouse button
on the first line makes the menu display, even on panel
widgets as "<" ".v>".

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-30 08:44:53 +04:00
David Martin
1a64b2a8ff Small fixes for English help
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-30 02:32:47 +03:00
David Martin
9a87c9cedf Spanish man/help updated for 4.7.0pre3. Includes highlighting and skins stuff.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-30 02:27:46 +03:00
Ilia Maslakov
cc979394d3 Merge branch '212_redefine_hotkeys'
* 212_redefine_hotkeys: (26 commits)
  remove unused struct.
  fix: main.c keys handler
  fix: default_input_keymap, remove incorrect entry
  add alt+arrows action and descriptions into mc.keymap
  fix: movement in Lynx navigation mode
  Fix hotkey parser for handle shift+<letter> hotkeys.
  Fixed parsing of hotkeys. Now will read:
  Fix memory leak in function lookup_key()
  Added new WIDGET_COMMAND message.
  Some minor optimization.
  Add some default hotkeys
  Add some forgotten hotkeys.
  Add more event handlers for actions
  Rename widget_* functions and variables into input_* functions and variables.
  Rename Widget* events into Input* events.
  Show hotkeys as 'alt-s' instread of 'alt s'.
  add more commands into mc.keymap
  refactoring editor keybindings
  Added mc.keymap into spec file
  little cosmetic refactoring
  ...
2009-09-29 17:46:05 +00:00
Ilia Maslakov
4d4265a3f0 remove unused struct.
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-29 17:42:40 +00:00
Ilia Maslakov
87102cc7e8 fix: main.c keys handler
add more keys into mc.keymap
    fix: CK_SingleDirsizeCmd event
    add default keys (alt-'.', alt-'+') mc.keymap

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

    Added alt-shift-h hotkey
    Add some documentation about keymap file.
    Replace some symbols into names '.' to 'dot', '?' to question, etc.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:40 +00:00
Ilia Maslakov
23b81fac46 fix: default_input_keymap, remove incorrect entry
fix: parsing keymap string with "backslash"

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-29 17:42:39 +00:00
Ilia Maslakov
19bb1938f3 add alt+arrows action and descriptions into mc.keymap
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-09-29 17:42:39 +00:00
Ilia Maslakov
c893dcf1dd fix: movement in Lynx navigation mode
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-09-29 17:42:39 +00:00
Slava Zanko
13cc339018 Fix hotkey parser for handle shift+<letter> hotkeys.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:38 +00:00
Slava Zanko
3b7d4c29ec Fixed parsing of hotkeys. Now will read:
alt+p
and
alt-p

as same hotkey.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:38 +00:00
Slava Zanko
52205790b2 Fix memory leak in function lookup_key()
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:38 +00:00
Andrew Borodin
bac7bdf293 Added new WIDGET_COMMAND message.
Handle WIDGET_COMMAND message in WInput widget.
Use this message to show the command line history.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-29 17:42:37 +00:00
Andrew Borodin
100a8d02ae Some minor optimization.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-29 17:42:37 +00:00
Slava Zanko
4b48da136d Add some default hotkeys
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:37 +00:00
Slava Zanko
d1856a2268 Add some forgotten hotkeys.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:37 +00:00
Slava Zanko
77f8e57e76 Add more event handlers for actions
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:36 +00:00
Slava Zanko
5bdd17a6ec Rename widget_* functions and variables into input_* functions and variables.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:36 +00:00
Slava Zanko
3f95f87f5e Rename Widget* events into Input* events.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:36 +00:00
Slava Zanko
df59561ab0 Show hotkeys as 'alt-s' instread of 'alt s'.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:35 +00:00
Ilia Maslakov
dbdc3254c1 add more commands into mc.keymap
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-29 17:42:35 +00:00
Ilia Maslakov
592ddbf39e refactoring editor keybindings
add more keys into mc.keymap
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-09-29 17:42:35 +00:00
Slava Zanko
bf74086506 Added mc.keymap into spec file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:34 +00:00
Ilia Maslakov
8830338411 little cosmetic refactoring
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-29 17:42:34 +00:00
Slava Zanko
07777d282f Added --keymap command line option
Also, anned more pathes for found standart keymap file.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:34 +00:00
Ilia Maslakov
5a397a6b9a * add new commands into cmddef.h
* add user keybind in widgets
    * add widget keybindings

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-29 17:42:34 +00:00
Ilia Maslakov
606dce4e8b add redefine keys support in viewer
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-29 17:42:33 +00:00
Ilia Maslakov
da303d73ac * removed edit/usermap.c edit/usermap.h
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-29 17:42:33 +00:00
Ilia Maslakov
27545f1745 rework screen.c keymapping
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-29 17:42:33 +00:00
Ilia Maslakov
71b1a8bf99 Ticket #212 (User defined hotkeys)
created structs:
    struct name_key_map_t
    struct key_config_t
    global_key_map_t
    add lookup_action
    replace editor key map struct to global_key_map_t
    add main_map screen_map
    replace command CK_* to src/cmddef.h
    add mc.keymap
    fix misc/Makefile.am
    add x_keymap
    add more commands

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-29 17:42:32 +00:00
Andrew Borodin
c9f368d449 Merge branch '1560_editor_search_dlg_button_locations'
* 1560_editor_search_dlg_button_locations:
  Ticket #1560: fixed button locations in editor search dialog.
2009-09-29 20:40:38 +04:00
Andrew Borodin
a437ed5d52 Ticket #1560: fixed button locations in editor search dialog.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-29 20:40:09 +04:00
Slava Zanko
13dd762089 Update translates.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 12:39:15 +03:00
Slava Zanko
751bb69637 Merge branch '380_default_skin'
* 380_default_skin:
  Ticket #380: About colors schemes (reopened ticket)
2009-09-28 20:55:49 +03:00
Slava Zanko
197d5efa28 Ticket #380: About colors schemes (reopened ticket)
Original message:

If invalid skin name is set via command line (or config file, or environment variable),
then mc starts silently like -b -a mode. Two proposals, if required skin cannot be found:
 *. Show error message "Cannot find skin"
 *. Load the default.ini skin instead of set -a -c mode.

Fix issue:
Mc now more verbose if skin not found:
{{{
_("Unable to load '%s' skin.\nDefault skin has been loaded")
}}}
or if skin not parse:
{{{
_("Unable to parse '%s' skin.\nDefault skin has been loaded")
}}}
Translators: please, update your translates.

Also, mc will try to load 'default' skin before switch to 'b&w' scheme.

This commit adds ability to usage GError - glib error handling.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-28 20:54:20 +03:00