Commit Graph

9058 Commits

Author SHA1 Message Date
Ilia Maslakov
e9a49c83a1 fix: not defined cp_source after autocorrect codeset
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-16 13:45:08 +00:00
Andrew Borodin
1d42004818 Merge branch '276_show_total_size_accurately'
* 276_show_total_size_accurately:
  Ticket #276: display marked files size accurately.
2009-09-16 09:27:51 +04:00
Andrew Borodin
8f5ae1983a Ticket #276: display marked files size accurately.
Centered horizontally. Removed rubbish symbols at the end
of displayed text.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-16 09:27:10 +04:00
Slava Zanko
3e4c7775e5 Merge branch '1540_tarfs_for_xz'
* 1540_tarfs_for_xz:
  Some little bugfixies for xz and lzma archives:
  Ticket #1540: tarfs for xz archives
2009-09-16 02:05:43 +03:00
Slava Zanko
bd95f71a6b Some little bugfixies for xz and lzma archives:
* Increase number of reading butes by one for better analyzation of compression type.
* Add recognize lzma archive by extention.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-16 02:05:06 +03:00
nixtrian
f5d01be72a Ticket #1540: tarfs for xz archives
Since ~beginning of August mc does not enter .tar.xz archives,
it just prints the error message:
"Hmm,... aaa.tar.xz doesn't look like a tar archive."

The version of Jul 28 works with .tar.xz archives.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-16 02:05:06 +03:00
Slava Zanko
6b8d0cdc43 Merge branch '1591_viewer_segfault'
* 1591_viewer_segfault:
  Ticket #1591 (mcview segfault)
2009-09-15 13:03:28 +03:00
Ilia Maslakov
0ce25dce74 Ticket #1591 (mcview segfault)
fix: segfault mcviev in case when the source_codepage is not equal to the display_codepage.
    refactoring: some code optimization.

Signed-off-by: Ilia Maslakov <il.smind@google.com>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-15 12:24:33 +03:00
Andrew Borodin
3f5968604b Merge branch '1552_nonstd_button_location'
* 1552_nonstd_button_location:
  Changes for lines length less than 100.
  Fixed button locations in 'Sort order' dialog.
  Refactoring of src/boxes.c.
  Fixed button locations in 'Listing mode' dialog.
  Ticked #1552: fixed non-standard button location in dialogs.
2009-09-15 11:36:37 +04:00
Slava Zanko
f3916f085f Changes for lines length less than 100.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-15 11:36:09 +04:00
Andrew Borodin
41dc87ee1f Fixed button locations in 'Sort order' dialog.
Reimplemented 'Sort order' dialog using QuickDialog engine.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-15 11:36:09 +04:00
Andrew Borodin
6fc9cf7a88 Refactoring of src/boxes.c.
Reduce of file scope variables count.
Other those variables have been renamed.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-15 11:36:09 +04:00
Andrew Borodin
a4fad45319 Fixed button locations in 'Listing mode' dialog.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-15 11:36:09 +04:00
Andrew Borodin
dad66d278b Ticked #1552: fixed non-standard button location in dialogs.
First step: refactoring of WButton widget API.
(button_len): renamed to button_get_len and made global.
(button_get_text): const argument.
Removed trailing spaces.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-15 11:36:09 +04:00
Stan. S. Krupoderov
edddd5f5d3 Ticket #1596: hidden file higlighing
remove highlight for hidden, extend templates for higlight by ext

Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-09-14 22:47:13 +04:00
Slava Zanko
32aa4c98c1 Update Spanish translation. Also, refresh all translates for web-statistic
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-14 16:36:19 +03:00
Andrew Borodin
43537b0e00 Merge branch '1564_mouse_wheel_menus_listbox'
* 1564_mouse_wheel_menus_listbox:
  Implemented mouse wheel support for WListbox widget.
  Modified mouse event handling in menu.
  Ignore mouse wheel events for inactive panel.
  Some optimization of mouse handling in editor.
  Call menu using mouse for all panel types.
  Fixed smooth scrolling of split panels.
  Modified mouse initialization.
  Mouse wheel events hack.
  Smooth scrolling in file panel.
  If menu is inactive, ignore mouse wheel events.
  Fixed mouse event boundaries in menus.
  Don't close menu by mouse wheel outside the menu area.
  Ticket #1564: mouse wheel support for menus and listboxes.
2009-09-14 15:12:26 +04:00
Andrew Borodin
1f0b05b182 Implemented mouse wheel support for WListbox widget.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-14 15:11:59 +04:00
Andrew Borodin
ae3a14ae0e Modified mouse event handling in menu.
Fixed event boundaries: menu frame is in event aria now.

Middle click is used to execute selected menu item independently
of mouse cursor position.

Minor optimization.

Indentation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-14 15:11:59 +04:00
Andrew Borodin
64f5497b67 Ignore mouse wheel events for inactive panel.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-14 15:11:59 +04:00
Andrew Borodin
2ae441dde6 Some optimization of mouse handling in editor. 2009-09-14 15:11:59 +04:00
Andrew Borodin
15354fdbb4 Call menu using mouse for all panel types.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-14 15:11:59 +04:00
Andrew Borodin
aa601f831b Fixed smooth scrolling of split panels.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-14 15:11:59 +04:00
Andrew Borodin
c6ff13821d Modified mouse initialization.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-14 15:11:59 +04:00
Andrew Borodin
62378d71d7 Mouse wheel events hack.
Don't generate 'Button up' event after wheel events.
Need for menu evemnt handling.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-14 15:11:59 +04:00
David Martin
a252136766 Smooth scrolling in file panel.
If listing panels is operated with the mouse wheel, when window is
at top or bottom of the list, then selection "jumps" to first/last item.
Now it smoother: keep window and decrease/increase selection in
single steps.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-14 15:11:59 +04:00
Andrew Borodin
07f237782b If menu is inactive, ignore mouse wheel events.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-14 15:11:59 +04:00
Andrew Borodin
a14574d037 Fixed mouse event boundaries in menus.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-14 15:11:59 +04:00
Andrew Borodin
c2f37224c5 Don't close menu by mouse wheel outside the menu area.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-14 15:11:59 +04:00
Andrew Borodin
7c5407e86e Ticket #1564: mouse wheel support for menus and listboxes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-14 15:11:59 +04:00
Slava Zanko
c66f62045d Merge branch '1597_fix_stale_link'
* 1597_fix_stale_link:
  Ticket #1597: panel: restore red hilight for broken symlinks
2009-09-14 12:49:05 +03:00
Slava Zanko
edab903a19 Ticket #1597: panel: restore red hilight for broken symlinks
Fix for restore highlighting of stale links.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-14 12:48:50 +03:00
Andrew Borodin
8c5fdee5c2 Merge branch '1575_quick_radio_i18n'
* 1575_quick_radio_i18n:
  Ticket #1575: applied i18n for radiobuttons in QuickDialog.
2009-09-14 13:26:24 +04:00
Andrew Borodin
83a0670283 Ticket #1575: applied i18n for radiobuttons in QuickDialog.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-14 13:25:28 +04:00
Andrew Borodin
3d269733b8 Merge branch '1538_overwrite_target_file_dialog'
* 1538_overwrite_target_file_dialog:
  Modified overwrite query dialog.
  Ticket #1538: redesign of overwrite query dialog.
2009-09-14 12:54:28 +04:00
Andrew Borodin
5159a50992 Modified overwrite query dialog.
Renamed function. Move rd_widgets from file scope to function one.
Fixed i18n stuff.
Updated RU translation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-14 12:53:16 +04:00
Andrew Borodin
ae313482e6 Ticket #1538: redesign of overwrite query dialog.
Modified main text in overwrite query dialog.
Trancated the target file name less.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-14 12:53:16 +04:00
Andrew Borodin
cb78d61a27 Merge branch '1583_ctrl_o_under_screen'
* 1583_ctrl_o_under_screen:
  Ticket #1583: fixed Ctrl-O handling under GNU Screen in altscreen mode.
2009-09-14 11:55:00 +04:00
Andrew Borodin
ea73b28b45 Ticket #1583: fixed Ctrl-O handling under GNU Screen in altscreen mode.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-14 11:54:30 +04:00
Sergei Trofimovich
5108664ce3 syntax/sh.syntax (part2): trivial: highlight 'unset', 'read', 'export' as keywords
Synced mentioned in 9dda06f489 keywords to other contexts.

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-09-11 23:06:21 +03:00
Sergei Trofimovich
9dda06f489 syntax/sh.syntax: trivial: highlight 'unset', 'read', 'export' as keywords
References:
  http://opengroup.org/onlinepubs/009695399/utilities/export.html
  http://opengroup.org/onlinepubs/009695399/utilities/unset.html
  http://opengroup.org/onlinepubs/009695399/utilities/read.html

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-09-11 22:42:16 +03:00
Stan. S. Krupoderov
956d356a01 Ticket #1580: mc segfaults when you try to use non-anonymous FTP
wtools.c: change widget text vaulue in case of INPUT_PASSWORD special value

Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-09-09 16:12:42 +04:00
karesmakro
f3663e0792 Ticket #1592: gzup error in mc.menu
mc.menu: fix command name

Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-09-09 15:57:31 +04:00
Stan. S. Krupoderov
e05778a4e4 Ticket #1580: mc segfaults when you try to use non-anonymous FTP
wtools.c: fix init of def_text for INPUT_PASSWORD special value

Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-09-07 18:45:15 +04:00
Ilia Maslakov
a59d6f6ff0 Merge branch '1556_findall'
* 1556_findall:
  Fixed i18n of editor search dialog.
  Ticket #1556 (editor search: button 'Find all')
2009-09-07 13:12:38 +00:00
Andrew Borodin
c00900472e Fixed i18n of editor search dialog.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-07 13:06:11 +00:00
Ilia Maslakov
9e5fb208a9 Ticket #1556 (editor search: button 'Find all')
* add new button 'Find all' into Search dialog. Bookmarks all founded entries.
    * fix: search dialog (buttons are positioned dynamically)
    * some optimisation of usability.

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-07 13:06:04 +00:00
Andrew Borodin
ebb5d71e4f Merge branch '1589_verilog'
* 1589_verilog:
  Ticket #1589: syntax highlighting for VerilogHDL.
2009-09-07 15:50:45 +04:00
Andrew Borodin
d3174044bd Ticket #1589: syntax highlighting for VerilogHDL.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-07 15:50:21 +04:00
Andrew Borodin
47bc01dea1 Merge branch '59_filesize_full_precision'
* 59_filesize_full_precision:
  Ticket #59: display file size in full precision.
2009-09-07 15:34:55 +04:00