Commit Graph

9065 Commits

Author SHA1 Message Date
Slava Zanko
9f038952b0 Ticket #1618: menu.sr installed in wrong place
Bugreport:

When doing "make install" with default paths, "mc.menu" gets istalled into
{prefix}/etc/mc, but "mc.menu.sr" get installed into {prefix}/share/mc

Fix issue: Now mc.menu.sr will copyed into same place as mc.menu

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-21 10:36:27 +03:00
Ilia Maslakov
91be46a861 Ticket #1726 (AI_ADDRCONFIG fix)
fixed undeclared AI_ADDRCONFIG under uclibc <0.9.29

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-10-20 18:13:20 +00:00
Slava Zanko
a1f9ceb99e Merge branch '1729_copying_into_arhive'
* 1729_copying_into_arhive:
  Ticket #1729: extfs: fail copying into arhive
2009-10-20 14:13:52 +03:00
Slava Zanko
f589410ced Ticket #1729: extfs: fail copying into arhive
Test case:
 * create any zip-archive (or take exists)
 * run mc
 * enter into archive
 * try to copy any files inside archive.

Fix issue: Try to open temporarry file twice: with O_CREATE flag; and without O_CREATE and with O_TRUNC flag
Also, created extfs_chown() function for avoid chown-related warnings.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-20 13:04:30 +03:00
Slava Zanko
a1a2164170 Merge branch '1690_patch_for_djvu'
* 1690_patch_for_djvu:
  Ticket #1690: mc.ext entry for .djvu
2009-10-20 10:47:22 +03:00
Andrey Rahmatullin
0daf01d7c2 Ticket #1690: mc.ext entry for .djvu
Opening .djvu with djview

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-20 02:01:34 +03:00
Slava Zanko
890f268bf0 Merge branch '213_busy_shell'
* 213_busy_shell:
  Ticket #213 [mc-ru-fork] patch for fix bug 'The shell is already running a command'
2009-10-16 15:29:09 +03:00
Slava Zanko
4db3447eed Ticket #213 [mc-ru-fork] patch for fix bug 'The shell is already running a command'
Test case:

- run mc
- press CTRL+o (hide panels)
- press 'space' key
- press 'backspace' key
- press CTRL+o (show panels)
- type 'ls' and press 'enter' key

Fix issue: Now 'busy shell' status toggle on if user will press 'Enter' key.
Old behavior: User was press any key into subshell and 'busy shell' status toggle on.

Also, patch will enter new behavior:
 * run mc
 * press ctrl+o (hide panels)
 * type 'cat ' and don't press 'Enter' key
 * press ctrl+o (show panels)
 * type 'ls' and press enter

You'll see:
cat: ls: File not found.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-16 14:47:27 +03:00
Andrew Borodin
b48b53729f Merge branch '1705_copy_dialog'
* 1705_copy_dialog:
  Adjust width of Copy/Move dialog depending on initial screen width.
  Fixed calculation of Copy/Move dialog width.
  Use local buffers instead of global cmd_buf one.
  Ticket #1705: fix show of Copy/Move dialog.
2009-10-16 13:09:22 +04:00
Andrew Borodin
d3735c6c10 Adjust width of Copy/Move dialog depending on initial screen width.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-16 13:07:30 +04:00
Andrew Borodin
6cd26f8385 Fixed calculation of Copy/Move dialog width.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-16 13:07:30 +04:00
Andrew Borodin
42ba60cebe Use local buffers instead of global cmd_buf one.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-16 13:07:30 +04:00
Andrew Borodin
998001a22e Ticket #1705: fix show of Copy/Move dialog.
Inital step: minor refactoring of src/file.c file.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-16 13:07:30 +04:00
Andrew Borodin
db11ade9d8 Merge branch '1704_quick_search'
* 1704_quick_search:
  Ticket #1704: fixed quick search show.
2009-10-15 20:46:17 +04:00
Andrew Borodin
10e8d008d7 Ticket #1704: fixed quick search show.
If "show Mini status" option is off, the quick search box
is shown incorrect. In this case the quick seach box
must be invisible, because this is common MC behavior.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-15 20:45:24 +04:00
Slava Zanko
fac2020acf Merge branch '1532_escape_learn_keys'
* 1532_escape_learn_keys:
  Ticket #1532: Key configuration doesn't save properly
2009-10-15 14:59:07 +03:00
Slava Zanko
87979e779b Ticket #1532: Key configuration doesn't save properly
Problem: need to escape ';' char (as '\;'), but mc_config_set_string function
escape this to '\\;'

Solution: Added mc_config_direct_set_string() function. Also, into src/learn.c
characters '\' and ';' is escaped manually.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-15 14:58:47 +03:00
Slava Zanko
b4b3b80b4f Merge branch '1716_featured_skin'
* 1716_featured_skin:
  Cosmetic changes of panel interfase (relative to history list):
  Relative to Ticket #1643: restore patch 'Mouse support in first line when menu is hidden'
  Fix showing widget elements with 'mc -a' option.
  Ticket #1716: Adding fully featured skin
2009-10-15 14:53:15 +03:00
Slava Zanko
8fe4dc26c2 Cosmetic changes of panel interfase (relative to history list):
* Panel widget: History list button  changed  from v to [^]
 * Change drawing of history control elements for panel. Now if panel is active, show in reverse color just panel path.
 * Add reaction on mouse click on [] chars at top of panel
 * Added call of repaint_screen() function for correctly show panels content after click by mouse on 'hidden files' indicator.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-15 14:51:30 +03:00
Slava Zanko
bd29603b41 Relative to Ticket #1643: restore patch 'Mouse support in first line when menu is hidden'
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-15 14:51:24 +03:00
Slava Zanko
ff5dd64c6b Fix showing widget elements with 'mc -a' option.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-15 14:51:24 +03:00
Slava Zanko
d11de35343 Ticket #1716: Adding fully featured skin
As David Martin proposed, this skin support all newest features
May be used as modern skin, but with some restrictions (must be UTF-8 system codepage)

Also, changed src/screen.c for demonstrate skin features :)

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-15 14:51:16 +03:00
Andrew Borodin
5287f9c088 Merge branch '1451_panel_choose_codepage_dlg_position'
* 1451_panel_choose_codepage_dlg_position:
  Place choose panel codepage dialog at the centre of the screen.
  Ticket #1451: fixed placement of choose encoding dialog window.
2009-10-15 11:41:31 +04:00
Andrew Borodin
2328baf7a3 Place choose panel codepage dialog at the centre of the screen. 2009-10-15 11:40:30 +04:00
Andrew Borodin
47c4744347 Ticket #1451: fixed placement of choose encoding dialog window.
The "Choose codepage" dialog (for file panel) is centered
over the according panel.

Renamed create_listbox_window_delta() function to
create_listbox_window_centered(). Now this function takes in
coordinates of dialog center.
Changed argumets order to unified dialogs API.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-15 11:40:30 +04:00
Slava Zanko
5f3447a66c Merge branch '1712_vfs_fix_for_mc'
* 1712_vfs_fix_for_mc:
  Ticket #1712: VFS fix for mc.
2009-10-15 09:39:41 +03:00
Slava Zanko
91248f05bd Ticket #1712: VFS fix for mc.
Fix segfaults in various cases while browsing various VFSs.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-15 09:39:26 +03:00
Slava Zanko
c96d4b3be0 Merge branch '1607_undel_fs'
* 1607_undel_fs:
  Ticket #1607: undelfs check broken in configure.ac
2009-10-15 09:35:00 +03:00
Slava Zanko
3b05057818 Ticket #1607: undelfs check broken in configure.ac
Fix running onfigure with '--disable-vfs-undelfs' option.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-15 09:34:29 +03:00
Slava Zanko
94f30d0905 Merge branch '1714_context_for_indicator'
* 1714_context_for_indicator:
  Ticket #1714: Sort types: use context for indicator translations.
2009-10-13 15:19:57 +03:00
David Martin
415c10e880 Ticket #1714: Sort types: use context for indicator translations.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-13 15:04:36 +03:00
Ilia Maslakov
1e8c3f6789 Ticket #1706
fixed tty_print_anychar, trouble with drawing utf-8 chars in 8-bit locales (ncurses)

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-10-13 11:34:05 +00:00
Slava Zanko
c492abe28c Merge branch '1700_space_in_color_name'
* 1700_space_in_color_name:
  Ticket #1700: fixed skin color parser.
2009-10-13 12:03:00 +03:00
Andrew Borodin
1e608044af Ticket #1700: fixed skin color parser.
Strip leading and trailing spaces in color names read from skin ini
file.

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

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-13 12:02:14 +03:00
Ilia Maslakov
db419a27c1 Ticket #1706
fixed tty_print_anychar, replaced addch to addstr when MC build with ncurses library.

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-10-13 07:08:00 +00:00
Slava Zanko
080b639d47 Merge branch '1617_editor_filepos'
* 1617_editor_filepos:
  Ticket #1617: Current editing position of files don't save.
2009-10-12 09:34:29 +03:00
Slava Zanko
1b91f29cbb Ticket #1617: Current editing position of files don't save.
Fixed bug.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-12 09:34:08 +03:00
Slava Zanko
07b9ae3a26 Merge branch '370_fix_init_struct'
* 370_fix_init_struct:
  Ticket #397: Fix initialization of structure.
2009-10-12 09:30:11 +03:00
Slava Zanko
55fe1bb86e Ticket #397: Fix initialization of structure.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-12 09:09:41 +03:00
Andrew Borodin
e2e549d4bc Fixed po/ru.po.
Fixed choose encoding shortcut (M-e instead of ó-t).
Removed extra quote symbol in 2684 line.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-11 08:47:56 +04:00
Ilia Maslakov
4cd93228d4 Ticket #1683
add command EditToggleSyntax for toggle syntax highlight

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-10-10 15:50:58 +00:00
Slava Zanko
46d9b9c800 Merge branch '1630_ico_files_support'
* 1630_ico_files_support:
  Ticket #1630: add ico files support
2009-10-09 13:42:00 +03:00
Denis Briand
91378afbfb Ticket #1630: add ico files support
This is a trivial patch to add *.ico files support into mc.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-09 13:34:20 +03:00
Yury V. Zaytsev
f0c69e9819 Fix typos in Belorussian & Russian team names in PO-files
Also, fixed team names and formatting of strings in other translations.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-09 13:20:48 +03:00
Slava Zanko
de72a6f98f Fresh all translations. Update Russian translate.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-09 09:56:42 +03:00
Slava Zanko
11ec996333 Merge branch '397_i18n_sort_indicator'
* 397_i18n_sort_indicator:
  Ticket #397: i18n for  sort indicator
2009-10-09 09:49:25 +03:00
Slava Zanko
0fdb3488e5 Ticket #397: i18n for sort indicator
Fixed translations of sort indicator. Now it separate string for better translate.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-09 09:48:38 +03:00
Ilia Maslakov
9bec191b25 Merge branch '256_widget_backward_kill_word_fix'
* 256_widget_backward_kill_word_fix:
  Some fixies for optimization.
  Ticket #256
2009-10-07 13:30:43 +00:00
Slava Zanko
19493b9518 Some fixies for optimization.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-07 11:57:19 +00:00
Egmont Koblinger
51771e0092 Ticket #256
fix: Alt+Backspace (kill word) behaviour in command line

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-10-07 11:57:18 +00:00