Ticket #2859 (mcedit ctags fix)

How to reproduce:

    on sources: ctags -R .
    with tags in current dir open any file (needn't be C source or headers)
    Alt- (i.e. alt minus or Esc '-')

Current result: sigsegv

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Merge branch '2859_mcedit_ctags_segfault'

* 2859_mcedit_ctags_segfault:
  Ticket #2859 (mcedit ctags fix)
Ticket #2835: Fixed duplicate entities in panel with 'tree view' mode

Steps to reproduce:

 * run mc
 * go to 'F9 -> left/right panel -> Tree'

Expected result: unique directory names.

Actual result: duplicate directory names
(one name with leading slash, second directory name without leading slash).

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Merge branch '2835_treeview'

* 2835_treeview:
  Ticket #2835: Fixed duplicate entities in panel with 'tree view' mode
Ticket #2103: mc.ext enhancement

This commit makes a few improvements in default bindings:

 * use chm_http text-mode handler for CHM files;
 * play sounds only from videos in text mode;
 * use pdftotext -layout -nopgbrk switches;
 * try to use elinks before links for HTML;
 * soffice2html text-mode handler for SXW files;
 * wvHtml text-mode handler for doc files;
 * xlhtml text-mode handler for XLS files;
 * ppthtml text-mode handler for PPT/PPS files;
 * open=view+pager fallback (noX) for PostScript, PDF, OD[PST] and DVI;
 * standarized $DISPLAY checks.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Added support of SQLite database files

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
changed type of checking: used -n operator instead of -z

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Added support of viewing the compiled Java files (*.class).

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Merge branch '2103_mcext_enhancement'

* 2103_mcext_enhancement:
  Added support of viewing the compiled Java files (*.class).
  changed type of checking: used -n operator instead of -z
  Added support of SQLite database files
  Ticket #2103: mc.ext enhancement
Update PO-files

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Ticket #1977: type accuracy of WEdit members and mceditor functions.

(line_is_blank): return gboolean instead of int.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(is_in_indent): refactoring, return gboolean instead of int.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
WEdit::caches_valid: change int to gboolean.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(edit_mark_cmd): take gboolean instead of int.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(editcmd_dialog_raw_key_query): take gboolean instead of boolean.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(edit_save_block): return gboolean instead of int.

(edit_save_block_cmd): likewise.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(edit_copy_to_X_buf_cmd): return gboolean instead of int.

(edit_cut_to_X_buf_cmd): likewise.
(edit_paste_from_X_buf_cmd): return gboolean.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(edit_save_cmd): return gboolean instead of int.

(edit_save_as_cmd): likewise.
(edit_save_confirm_cmd): likewise.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(edit_find_word_start): return gboolean instead of int.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Use long for line numbers and columns.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>