Andrew Borodin
0731ad5e60
Applied MC indentation policy.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-01 16:34:14 +04:00
Andrew Borodin
8468ca85c2
Dynamic formatting of MC help in run-time.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-01 16:34:07 +04:00
Andrew Borodin
49f3028764
Minor optimization of help file conversion.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-01 13:14:09 +04:00
Andrew Borodin
8cb8c7efa9
Help window width now dynamically depends on screen width.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-01 13:14:09 +04:00
Andrew Borodin
142ab7cac6
Reimplemented list area list using GSList.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-01 13:14:09 +04:00
Andrew Borodin
ca0af7de47
Ticket #1561 : help subsystem improvements.
...
Initial step: don't force break long lines. Displayed
help text should be dynamically formatted depending on
screen width.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-01 13:14:08 +04:00
Andrew Borodin
5b68413e62
Applied MC indentation policy.
...
Applied MC indentation policy to all files modified in this branch
with some simple manual modifications.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:22 +04:00
Andrew Borodin
68dcb6d65c
Ticket #2119 : Fixed memory leaks in command_completion_function() function.
...
Thanks Vit Rosin for original patch.
Type accuracy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:22 +04:00
Andrew Borodin
cc26fd2bec
Free FS info before closing panel.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:22 +04:00
Andrew Borodin
69988b0395
Fixed memory leaks in viewer.
...
Free viewer resources before quit from viewer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:21 +04:00
Andrew Borodin
63a4966a70
Destroy converter before quit from editor.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:21 +04:00
Andrew Borodin
d03a7e236b
Fixed memory leaks in edit_search_cmd().
...
Thanks Vit Rosin for the original patch.
Type accuracy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 16:21:21 +04:00
Ilia Maslakov
7d0fb092a4
Ticket #2086 (viewer: incorrect scroll down/up in wrap mode)
...
fixed: scroll down/scroll up in wrap mode.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
fixed: scroll up in wrap mode.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-30 15:32:28 +04:00
Slava Zanko
67c26ad2ab
Ticket #2001 : Broken default regexp mask in filecopy dialog
...
Default regexp mask '^\(.*\)$' looks broken. Must be '^(.*)$'
Thanks to A.M. Genaev for solution.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-03-29 11:11:26 +03:00
Andrew Borodin
c5d2662f55
Applied MC indentation policy.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-29 11:59:01 +04:00
Andrew Borodin
e30b37f522
Optimization of mcview_hexedit_save_changes() function.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-25 11:00:33 +03:00
Andrew Borodin
37f9ab495a
Type accuracy.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-25 10:44:01 +03:00
Andrew Borodin
ce259bf65c
Optimization: removed superfluous actions.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-25 10:38:47 +03:00
Andrew Borodin
79a91164c3
Ticket #2107 : viewer: enable left/right scrolling in wrap mode.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-25 10:30:57 +03:00
Francesco Cosoleto
fc3c32f66e
Ticket #2056 : Don't propose ".." as a dirname.
...
Don't propose ".." as a dirname using mkdir command with automatic name
filling enabled.
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-19 12:20:40 +03:00
Slava Zanko
5610bfbb6c
Ticket #2091 : Superfluous "Search done, Continue from begining?" dialog
...
When searching from the top of the file for something that's not there we get
"Search done, Continue from begining?" dialog before "Search string not found"
(and only if we choose "Yes" in the first one).
This should happen only if the last position>0 (either the place when search
began, or some match before).
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-03-19 11:13:57 +02:00
Andrew Borodin
14fce3b91e
Ticket #2093 : fixed mouse events handling in file panel.
...
Dont handle wheel events on 2nd line where sort indicator
and column header are located.
Type accuracy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-19 10:06:52 +03:00
Ilia Maslakov
0400e92fc5
Ticket #2022 (case sensitive quick search)
...
added new option quick_search_case_sensitive, with 3 position are: 0, 1, 2.
if "0", quick search in case insensitive
if "1", quick search in case sensitive
if "2", get from panel "case_sensitive"
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-03-19 09:15:29 +03:00
Andrew Borodin
7268c7ad39
Applied MC indentation policy.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-17 13:39:12 +00:00
Francesco Cosoleto
36771dcfa2
Ticket #2014 : don't try to make directory NULL named in mkdir_cmd().
...
As input_expand_dialog() may return a pointer to an empty string,
the function was trying to create a directory so named and thus
print a false "File exists" error message.
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-17 13:39:02 +00:00
Ilia Maslakov
4b0b9878ac
Ticket #2094 (after option "Cursor beyond end of line" switch off cursor still beyond end of line)
...
fixed position of cursor after disable option "Cursor beyond end of line" in editor options dialog.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-03-16 14:04:35 +03:00
Slava Zanko
320803812b
Fixed fileOperation dialog height for copy/move operations (with verbose mode switched off)
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-03-12 00:09:02 +02:00
Slava Zanko
3fb63c55ca
Ticket #2099 : Delete dialog broken when verbose mode is switched off
...
Test case:
1. go to Options/Configuration
2. switch Verbose operation off
3. point at a directory, press F8
You see broken delete dialog.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-03-11 17:59:08 +02:00
Ilia Maslakov
bbb9b8bafc
Ticket #1770 (compilation error)
...
fixed compilation error with tcc.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-03-10 11:21:45 +03:00
Andrew Borodin
d2a9152cec
Ticket #2087 : crash in standalone editor and viewer.
...
Don't try update file manager panels if mc runs as standalone editor or viewer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-06 11:08:18 +03:00
Mikhail S. Pobolovets
93494a6d27
edit-widget.h, syntax.c: MC indenation policy has been applied
...
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-03-04 18:55:28 +02:00
Mikhail S. Pobolovets
9537ff6fe0
Ticket #1770 : added switch 'caseinsensitive' for syntax highlighting
...
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2010-03-04 18:42:58 +02:00
Andrew Borodin
a4e508d0ac
widget.c: applied MC indenation policy.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-04 16:03:24 +00:00
Andrew Borodin
0a85086ba3
Ticket #2077 : free kill_buffer after WInput destroy.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-04 15:41:12 +00:00
Andrew Borodin
57bb9cb536
WInput: type accuracy.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-04 15:41:12 +00:00
Andrew Borodin
da81bbb9dc
Ticket #2082 : don't save input line content in history if dialog was canceled.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-03-04 15:41:12 +00:00
Andrew Borodin
0607f23691
Ticket #2067 : fixed toggle of ruler state.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-28 20:33:37 +03:00
Andrew Borodin
7b9226c5da
Ticket #2068 : fixed segfault in panelization of file find result.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-28 20:10:20 +03:00
Andrew Borodin
3587a3698d
Ticket #1701 : set help background color using skin color.
...
The value of help._default_ skin entry is used to set color
of background and title in help window.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-28 19:57:24 +03:00
Slava Zanko
5354d59337
Identation of some source files.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-26 11:26:00 +02:00
Slava Zanko
efb3042f29
avoid often memory alocation&release
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-26 10:58:49 +02:00
Slava Zanko
054c5d6f44
x86_64: Cleanup of code for master
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-26 10:58:49 +02:00
Andrew Borodin
080d8e3be5
Avoid double check some panel values before call of select_item().
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-26 10:58:49 +02:00
Slava Zanko
1b75ea27b6
Cleanup of code for master
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-26 10:58:49 +02:00
Ilia Maslakov
cf16304bf6
Ticket #1986 (not converted text in confirm dialog)
...
fixed encoding of text in 'Confirm replace' dialog.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-02-25 19:55:59 +03:00
Andrew Borodin
a78115ad8e
Fixed variable declarations and added missing includes.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-24 16:22:43 +00:00
Andrew Borodin
45073c35e7
Ticket #1992 : incorrect sturtup of MC with some special paths.
...
Problem description:
1. Run mc as
mc /#ftp:user@server
2. If FTP server asks password, MC shows the password dialog window.
3. If type the first symbol in input line, MC crashes.
Bug cause:
MC asks ftp password before initialize of input line keybindings.
Solution:
Reimplemented MC startup sequence.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-24 16:22:43 +00:00
Slava Zanko
02ae5b904e
Change param name from 'Layout.progressbar_always_left2right' to 'Layout.classic_progressbar'
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-24 10:40:40 +02:00
Slava Zanko
e1d1e9254d
Change progressbar dialog.
...
* Minimizing dialog;
* Optimizations of Copy/move progress dialog creation;
* Added enum for specify dialog type (for copy/move or for delete)
* Little optimization.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-02-24 10:40:11 +02:00
Slava Zanko
88a374a432
Added ability to show progressbars (when copy files) from right to left.
...
For activate this, need to add into ini-file:
[Layout]
progressbar_always_left2right=0
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-24 10:37:43 +02:00