Andrew Borodin
f3730bdc41
Initial step to move TTY layer of MC to separate library.
2009-08-12 21:19:20 +04:00
Slava Zanko
3eeeb35e53
Merge branch '1496_search_backwards_broken'
...
* 1496_search_backwards_broken:
Changed types in structure 'mc_search_struct' from 'gsize' to 'otff_t'
Ticket #1496 (Search backwards is broken)
2009-08-12 15:04:55 +03:00
Slava Zanko
0dc26a14d4
Changed types in structure 'mc_search_struct' from 'gsize' to 'otff_t'
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-12 15:04:37 +03:00
Daniel Borca
2a586710b7
Ticket #1496 (Search backwards is broken)
...
fix: file edit/editcmd.c backward search is broken
2009-08-12 15:04:37 +03:00
Slava Zanko
646b11a7ce
Merge branch '1520_Uninitialized_event_x'
...
* 1520_Uninitialized_event_x:
Ticket #1520 : Uninitialized event.x in find.c#check_find_events()
2009-08-12 15:02:01 +03:00
dborca
02132ecaea
Ticket #1520 : Uninitialized event.x in find.c#check_find_events()
...
Fixed uninitialised member of structure.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-12 15:01:51 +03:00
Slava Zanko
1104a6db38
Merge branch '1521_ctrl_z_does_not_work'
...
* 1521_ctrl_z_does_not_work:
Ticket #1521 : ctrl-z (aka suspend) does not work
2009-08-12 14:58:50 +03:00
dborca
688d80cdb1
Ticket #1521 : ctrl-z (aka suspend) does not work
...
Fix issue:
execute.c is missing #include <signal.h> and therefore #ifdef SIGTSTP fails miserably.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-12 14:37:22 +03:00
Sergei Trofimovich
5f1ad860b7
Ticket #1527 : heap corruption detected on large filenames
...
Fix bug, introduced in 27fbf91c28
commit. Really allocate 'dirent + NAME_MAX + 1', instead of
sizeof(void*) + NAME_MAX + 1.
Signed-off-by: Sergei Trofimovich <st@anti-virus.by>
2009-08-12 12:37:32 +03:00
Andrew Borodin
3b37c6cd4e
Merge branch '330_show_menu_screen_resize'
...
* 330_show_menu_screen_resize:
Ticket #330 : show dropped down menu is screen has been resized.
2009-08-10 15:31:08 +04:00
Andrew Borodin
8a1c364ff0
Ticket #330 : show dropped down menu is screen has been resized.
...
Now works for both values of "menuBar visible" option.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-10 15:30:29 +04:00
Patrick Winnertz
c313396a45
Ticket #1501
...
* place every operation into a if clause, so that every failure of the
operations is reported.
* Place chown/chmod into if conditions to check if the commands where
successfull or not on fish.
* Added one more argument to the #CHOWN line
Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-08-10 07:10:42 +00:00
Sergei Trofimovich
65771004c4
Ticket #82 (savannah: "save as" retains mode) patch by imdagger
...
Consider following scenario:
$ touch /tmp/foo_file
$ chmod 0444 /tmp/foo_file # readonly for owner
$ mcedit /tmp/foo_file
> 1. edit
> 2. try to save, fail. choose another name: /tmp/foo_file2
> 3. edit
> 4. try to save, fail again!
This patch adds owner write permissions for files, created in
step 2.
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-08-09 19:24:42 +03:00
Stan. S. Krupoderov
96c0dc08d8
Ticket #1485 : iso9660 extfs does not handle certain isos
...
extfs/iso9660.in: add suport UCS l1, and fix ageinst new isoinfo
Original author: dborca
Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-08-09 16:27:27 +04:00
Daniel Borca
556089fc9f
Ticket #1478 (kill word)
...
add: "kill word" (M-d) shortcut in editor;
2009-08-08 12:48:24 +00:00
Andrew Borodin
7a98a302be
Merge branch '1457_findfile_first_entry_fix'
...
* 1457_findfile_first_entry_fix:
Find file: fixed missing runtime i18n of "First Hit" label.
Find file: fixed search for first hit.
Find file: refactoring.
2009-08-08 15:51:51 +04:00
Andrew Borodin
54b6991a9c
Find file: fixed missing runtime i18n of "First Hit" label.
...
Thanks to David Martin <dmartina at excite dot com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-08 15:51:27 +04:00
Andrew Borodin
ef699b94be
Find file: fixed search for first hit.
...
Stop search file content if first hit found.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-08 15:51:27 +04:00
Andrew Borodin
fbd042889a
Find file: refactoring.
...
Type accuracy.
Used gboolean instead of int for some dual-value variables.
Used static buffer for search result instead of dynamically
allocaled and freed memory.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-08 15:51:27 +04:00
Igor Zhuravlov
5cddf032f0
Ticket #1492 : j.syntax
...
j.syntax: add syntax file
Syntax: enable j syntax
Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-08-08 15:37:54 +04:00
Daniel Borca
670d11fc73
Ticket #1499 (mcview: Search backwards is broken)
...
fix: src/view.c backward searck is broken
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-08-08 08:42:50 +00:00
Sergei Trofimovich
b56f55fc83
(Ticket #1476 ) Revert * lib/mc.ext.in: Tar is missing a - as argument fix
...
This reverts commit f021c090f9
.
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-08-07 21:45:26 +03:00
Slava Zanko
5518e7ad58
Merge branch '414_shell_patterns_in_copy_dialog'
...
* 414_shell_patterns_in_copy_dialog:
Ticket #414 (shell patterns in copy dialog)
2009-08-07 16:07:42 +03:00
Denys Vlasenko
4586834cb9
Ticket #414 (shell patterns in copy dialog)
...
Handle asterisks into replace template string.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-07 14:47:26 +03:00
Andrew Borodin
11cc7a7009
Ticket 1461: missing line feeds in Info panel.
...
Thanks to Denis Briand.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-07 11:38:28 +04:00
Denis Briand
e03b8504f5
Ticket #1469 : strace.syntax
...
strace.syntax: add file to support strace syntax
Syntax, Makefile.am: enable strace.syntax
Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-08-07 11:18:21 +04:00
Denis Briand
d57c955cea
Ticket #1468 : html.syntax
...
html.syntax: update html syntax
Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-08-07 11:15:51 +04:00
Denis Briand
d38ce0dd27
Ticket #1471 : mail.syntax
...
syntax, mail.syntax: add new headers support, change some colors
Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-08-07 09:58:38 +04:00
Yury V. Zaytsev
324c7cecb6
Ticket #1438 : Update RPM SPEC file to fix rpmlint warnings and compilation on EL*
...
mc.spec.in:
- Fixed EL4 (and supposedly EL3) builds
- Fixed some of rpmlint warnings
Author: Yury V. Zaytsev
Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-08-06 21:04:53 +04:00
Andrew Borodin
08a98212a9
Merge branch '1458_vhdl_syntax'
...
* 1458_vhdl_syntax:
Ticket 1458: updated VHDL syntax.
2009-08-06 19:58:22 +04:00
Andrew Borodin
26235c959a
Ticket 1458: updated VHDL syntax.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-06 19:57:08 +04:00
Denis Briand
49570e9e70
Ticket #1470 (named.syntax)
...
Syntax, Makefile.am: enable named syntax
named.syntax: add syntax file
Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
Added additional keywords into named.syntax file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-06 15:53:54 +00:00
Denis Briand
6a348e9d31
Ticket #1472 : fix non FHS path into manpages examples
...
**/mc.1.in: fix path into manpages examples
Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-08-06 18:09:47 +04:00
Mikhail S. Pobolovets
1692e737c4
Ticket #1475 : warningis fix
...
view.c:3237: format not a string literal and no
format arguments
utilunix.c:171, utilunix.c:173:
assignment discards qualifiers from pointer target type
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-08-06 16:20:28 +03:00
Stan. S. Krupoderov
87f3cd1cda
Ticket #1452 : handle .tbz2 extension
...
mc.ext.in: support for tbz2, patch from ijabbott
2009-08-06 15:43:45 +04:00
Ilia Maslakov
00200124dd
Ticket #1411 (issue insertion in overwite mode)
...
fix: issue insertion in overwite mode
2009-08-06 10:18:08 +00:00
Slava Zanko
53a587ed29
Merge branch '1435_i18n_search_options'
...
* 1435_i18n_search_options:
Ticket #1435 (Editor search options i18n)
2009-08-06 10:33:26 +03:00
Slava Zanko
a525546de2
Ticket #1435 (Editor search options i18n)
...
* Fix runtime translation of search types array;
* reworked function mc_search_get_types_strings_array.
Thanks to dmartina for bugreport.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-06 10:33:04 +03:00
Ilia Maslakov
99c8f6a680
Ticket #1460 (shared search history)
...
* The sample of the containing text by file search;
* The sample of search in file mcview;
* The sample of search in mcedit (search operation);
* The substituting text in mceditor (replacement operation).
Author: Alexey Korop
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Editor: search will continue from last search string if SHIFT+F7 hotkey pressed
at first time (without pressed F7 key).
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
add const MC_HISTORY_SHARED_SEARCH into history.h
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-08-05 14:30:08 +00:00
Slava Zanko
69e6f3c7d6
Merge commit 'origin/1467_fix_bashism'
...
* commit 'origin/1467_fix_bashism':
Ticket #1467 (Portability: fix bashism in vfs/extfs/u7z)
2009-08-05 17:22:58 +03:00
Slava Zanko
c78c4a555a
Ticket #1467 (Portability: fix bashism in vfs/extfs/u7z)
...
Fixed bashism in 'mcu7zip_rm' and 'mcu7zip_rmdir' functions.
* Use 'printf' instread of 'echo -e'
* stderor redirected to /dev/null
Thanks to narcan.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-05 16:37:36 +03:00
Andrew Borodin
fca08ddc4c
Merge branch '1457_findfile_first_entry'
...
* 1457_findfile_first_entry:
Added "First hit" checkbox to "Find File" dialog.
Ticket #1457 : add "First hit" checkbox to "Find File" dialog.
2009-08-05 16:23:27 +04:00
Andrew Borodin
595c261fa8
Added "First hit" checkbox to "Find File" dialog.
...
The new "First hit" checkbox stops search in the file
if the first entry was found in that file
(thanks to Dominus (sergey.zaveruha at gmail dot com)).
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-05 16:20:58 +04:00
Andrew Borodin
958246efd2
Ticket #1457 : add "First hit" checkbox to "Find File" dialog.
...
src/find.c: code refactoring.
+ Unification of variable names.
+ Some static variables was moved out from functions to remember
find options between find sesions.
+ Do not keep i18n results if find dialog was destroyed.
+ Type accuracy.
+ Indentation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-05 16:20:58 +04:00
Mikhail S. Pobolovets
ac2edf225e
Ticket #1392 : regression in .tar support
...
Regression was introduced in lzma support
(a5ba278729
)
All the heuristics stuff has been removed, only
LZMA utils 4.32.1 and later formats are supported.
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-08-05 14:20:23 +03:00
Stan. S. Krupoderov
5894396494
Ticket #1459 : link fail with --enable-vfs-undelfs and --enable-vfs
...
configure.ac: fix autoconf for --enable-vfs-undelfs option
original author: slyfox
2009-08-04 23:34:32 +04:00
Slava Zanko
d268dcd5f3
Merge branch '1425_spaces_in_EDITOR'
...
* 1425_spaces_in_EDITOR:
Ticket #1425 (External editor won't open if there are spaces in EDITOR variable)
2009-08-04 16:09:13 +03:00
Slava Zanko
4a5f02698e
Ticket #1425 (External editor won't open if there are spaces in EDITOR variable)
...
Fix issue: in function src/utillinux.c:my_system() added code for splitting
command line by spaces, use just first token as argument to function execlp()
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-04 14:55:41 +03:00
Andrew Borodin
bd8f0f2c0b
Merge branch '1404_ctrc_kills_mc'
...
* 1404_ctrc_kills_mc:
Ticket #1404 : Ctrl-C kills mc.
2009-08-04 15:30:03 +04:00
Andrew Borodin
c6812961cc
Ticket #1404 : Ctrl-C kills mc.
...
If MC built with --without-subshell option is run with -d option,
the Ctrl-C key combination closes MC. Such behaviour was introduced
in 66332a4fb1
commit.
This commit actually restores the SIGINT signal handling which was
before 66332a4fb1
commit.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-04 15:29:37 +04:00