Commit Graph

12986 Commits

Author SHA1 Message Date
Slava Zanko
d999c44559 refactoring of mouse events in panel
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2015-04-07 10:58:22 +03:00
Slava Zanko
8e2ab3cadb Rename mc_event_raise() to mc_event_dispatch() 2015-04-06 17:08:37 +03:00
Slava Zanko
47f0dfd636 reimplemented diffviewer to use new keymap system
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2015-04-06 13:18:33 +03:00
Slava Zanko
0f89dbc39a Added documentation
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2015-04-06 13:18:33 +03:00
Slava Zanko
38b8901d49 Added new initialization method for connect buttonbar to events
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2015-04-06 13:18:33 +03:00
Slava Zanko
998d54742c Add events for help dialog
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2015-04-06 13:18:33 +03:00
Slava Zanko
f37ece5a09 Add events for filemanager.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2015-04-06 13:18:32 +03:00
Slava Zanko
ad0999f2f1 Add events for panels in filemanager.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2015-04-06 12:48:46 +03:00
Slava Zanko
785144d625 Added new keymap implementation
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2015-04-06 12:25:16 +03:00
Slava Zanko
5d8d42c239 Added events for Treeview
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2015-04-06 12:25:16 +03:00
Slava Zanko
953ef5a4a9 Add placeholder for return values from any of event handler.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2015-04-06 12:24:57 +03:00
Slava Zanko
619653620e Added events for editor
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2015-04-06 12:24:57 +03:00
Slava Zanko
bd2718e587 Move macro-related code to different files
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2015-04-06 12:03:42 +03:00
Slava Zanko
2c1396aaba Change parameters for event callback.
Add new parameter: placeholder for errors.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2015-04-06 12:03:41 +03:00
Slava Zanko
5dbb548479 Added events for diffviewer
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2015-04-06 12:03:41 +03:00
Slava Zanko
e67562edb6 Ticket #???. Reorganize event mass init process
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2015-04-06 11:41:13 +03:00
Andrew Borodin
7c3903894a Indentation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-03-29 17:20:49 +03:00
Andrew Borodin
ca18b855c0 Merge branch '3155_info_panel_align'
* 3155_info_panel_align:
  Ticket #3155: align text in Info panel.
2015-03-29 15:55:37 +03:00
Egmont Koblinger
50439cc85d Ticket #3155: align text in Info panel.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-03-29 15:47:30 +03:00
Slava Zanko
d487ed487f Updated doc/NEWS file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2015-03-20 21:07:26 +03:00
Slava Zanko
cd04e9170d Revert "Fix vertical line color if a file is marked and selected"
This reverts commit 25d554ab03.
2015-03-19 15:03:39 +03:00
Slava Zanko
a37373d4ad Updated doc/NEWS file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2015-03-19 13:56:03 +03:00
Slava Zanko
351cc26db5 Updated the hints translations from Transifex
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2015-03-19 13:19:04 +03:00
Slava Zanko
5f56f839ff Updated translations from Transifex
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2015-03-19 13:02:05 +03:00
Slava Zanko
553dd8053b Merge branch '3417_marked_selected'
* 3417_marked_selected:
  Fix vertical line color if a file is marked and selected
2015-03-19 12:16:46 +03:00
oblique
25d554ab03 Fix vertical line color if a file is marked and selected 2015-03-19 11:59:54 +03:00
Slava Zanko
ada7f97f4e Merge branch '3416_find_accents'
* 3416_find_accents:
  Ticket #3416: viewer case insensitive search doesn't find accents.
2015-03-19 11:36:08 +03:00
Egmont Koblinger
1a1496fc0d Ticket #3416: viewer case insensitive search doesn't find accents.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2015-03-19 11:16:24 +03:00
Andrew Borodin
920403884d Merge branch '3285_mcedit_full_path'
* 3285_mcedit_full_path:
  Ticket #3285: mcedit: show full path to file in the status line.
2015-03-15 07:52:45 +03:00
Andrew Borodin
be38f70704 Ticket #3285: mcedit: show full path to file in the status line.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-03-15 07:15:23 +03:00
Slava Zanko
054182b877 Merge branch '3409_user_menu_help'
* 3409_user_menu_help:
  Ticket #3409: (user_menu_cmd): fix help topic for user menu.
2015-03-14 13:37:12 +03:00
Andrew Borodin
8549dd9aa9 Ticket #3409: (user_menu_cmd): fix help topic for user menu.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-03-14 13:36:24 +03:00
Marco Ciampa
9323e47bc2 Updated Italian translation 2015-03-13 11:28:04 +01:00
Marco Ciampa
85332186c2 Added autocreated pot file to git ignored list 2015-03-13 11:27:41 +01:00
Andrew Borodin
a03fe94170 Merge branch '3265_cleanup'
* 3265_cleanup: (22 commits)
  Update po/*.po files.
  tests/lib/search/Makefile.am: fix name of variable.
  Remove code required for GLib < 2.14.0.
  Minimal version of GLib is 2.14.0
  Ticket #3405: mcview: use VIEW_SELECTED_COLOR in plain mode.
  Hints: capitalize Lynx since it is the proper noun.
  (dirsize_status_update_cb): use local variables instead of type casting.
  doc/NEWS: cosmetics.
  (input_execute_cmd): refactoring.
  * background.c (background_attention): Fix memory leak.
  g_utf8_next_char() never returns NULL. Remove redundant checks.
  diffviewer: clarify support of UTF-8 codeset.
  Ticket #3246: misc/mcedit.menu.in: better grammar.
  Ticket #3262: rename variables.
  Add IS_PATH_SEP macro and use it.
  (edit_get_match_keyword_cmd): use PATH_SEP_STR instead of G_DIR_SEPARATOR_S.
  Update copyright years.
  (mc_search_regex_prepare_replace_str): refactoring.
  lib/search/regex.c: use [] to get char in string.
  (mc_search_prepare_replace_str2): make replace_str const.
  ...
2015-02-26 09:57:46 +03:00
Andrew Borodin
96fcc449c8 Update po/*.po files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-02-26 09:47:12 +03:00
Andrew Borodin
573136ac64 tests/lib/search/Makefile.am: fix name of variable.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-02-26 09:41:09 +03:00
Andrew Borodin
8c88aa01ad Remove code required for GLib < 2.14.0.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-02-26 09:20:54 +03:00
Andrew Borodin
1fa8bd3d62 Minimal version of GLib is 2.14.0
...because of g_unichar_ismark().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-02-26 09:20:54 +03:00
Andrew Borodin
ea2e5bf0b2 Ticket #3405: mcview: use VIEW_SELECTED_COLOR in plain mode.
Thanks Andreas Mohr <and@gmx.li> for the original patch.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-02-26 09:20:54 +03:00
Andrew Borodin
aa2175c596 Hints: capitalize Lynx since it is the proper noun.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-02-26 09:20:54 +03:00
Andrew Borodin
448935fa5b (dirsize_status_update_cb): use local variables instead of type casting. 2015-02-26 09:20:54 +03:00
Andrew Borodin
6a6e4f8c81 doc/NEWS: cosmetics.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-02-26 09:20:53 +03:00
Andrew Borodin
c08c90cd1b (input_execute_cmd): refactoring.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-02-26 09:20:53 +03:00
Andrew V. Samoilov
964056fb65 * background.c (background_attention): Fix memory leak. 2015-02-26 09:17:10 +03:00
Andrew Borodin
5cbfc77d2c g_utf8_next_char() never returns NULL. Remove redundant checks.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-02-26 09:17:10 +03:00
Andrew Borodin
67f465209b diffviewer: clarify support of UTF-8 codeset.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-02-26 09:17:10 +03:00
Egmont Koblinger
da149a0ae6 Ticket #3246: misc/mcedit.menu.in: better grammar.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-02-26 09:17:10 +03:00
Andrew Borodin
6441fa0bfa Ticket #3262: rename variables.
Use 'char_length' name for variables that store the length of multi-byte
character.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-02-26 09:17:01 +03:00
Andrew Borodin
42e7e39bd8 Add IS_PATH_SEP macro and use it.
Also massive use of PATH_SEP and PATH_SEP_STR macros.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-02-26 09:13:02 +03:00