Commit Graph

8808 Commits

Author SHA1 Message Date
Andrew Borodin
f559aeb6b9 Ticket #59: display file size in full precision.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-07 15:34:41 +04:00
Ilia Maslakov
a301a7c8a5 Merge branch '1497_stickchars'
* 1497_stickchars:
  add info into mc.1 the man page.
  refatoring: move init of tty lines drawing onto separate function
  Ticket #1497 (stickchars)
2009-09-07 10:18:31 +00:00
Ilia Maslakov
1b9eafdb62 add info into mc.1 the man page.
Update man file, describe -s option.

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-07 10:17:28 +00:00
Slava Zanko
c1c8671370 refatoring: move init of tty lines drawing onto separate function
Refactoring: transform integer variables into list of integers.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-07 10:17:27 +00:00
Ilia Maslakov
465d4d2cc5 Ticket #1497 (stickchars)
add frm_* vars
    read frame lines from ini
[Lines]
lefttop
righttop
centertop
centerbottom
leftbottom
rightbottom
leftmiddle
rightmiddle
centermiddle
horiz
vert
thinhoriz
thinvert

    fix draw frames in stickchar mode

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-07 10:17:27 +00:00
Slava Zanko
5a8923e44d Merge branch '418_post_fixies'
* 418_post_fixies:
  Update mc.man for describe filenames highlighting.
  Remove description related to filenames highlight from command-line help
  Ticket #418. Post-fixies
2009-09-05 13:07:14 +03:00
Slava Zanko
b079cae46f Update mc.man for describe filenames highlighting.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-05 13:06:55 +03:00
Slava Zanko
462cb0bf27 Remove description related to filenames highlight from command-line help
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-05 13:06:54 +03:00
Slava Zanko
1c07f8bc9b Ticket #418. Post-fixies
Added filehighlight.ini into RPM spec-file.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-05 13:06:54 +03:00
Andrew Borodin
927a5318c3 Merge branch '1582_repaint_screen'
* 1582_repaint_screen:
  Ticket #1582: fixed screen flickering on updates.
2009-09-05 12:31:51 +04:00
Andrew Borodin
e3684f3379 Ticket #1582: fixed screen flickering on updates.
Partial revert of 4e40f6e98f.
Don't call tty_touch_screen() for each screen repaint.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-04 11:35:54 +04:00
Stan. S. Krupoderov
ee10da919d Ticket #1479: Copy/Move dialogs steal Kill Word shortcut
filegui.c: change dive into subdir shortcut, a-d - kill word

Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-09-03 14:47:27 +04:00
Slava Zanko
dff795cc77 Merge branch '418_file_coloring'
* 418_file_coloring:
  Add menu entry for editing filehighlight.ini (Rules for filenames highlighting)
  Ticket #418: File coloring
2009-09-03 13:14:26 +03:00
Ilia Maslakov
86d8c89f6a Add menu entry for editing filehighlight.ini (Rules for filenames highlighting)
Signed-off-by: Ilia Maslakov <il.smind@google.com>

Some fixies after patch of Ilia Maslakov.
* Fixed pathes to rules-highlight files.
* Added on-fly refresh of rules after editing.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-03 13:12:48 +03:00
Slava Zanko
4afc04eedc Ticket #418: File coloring
Added support of filenames highlighting in panels.

Now rules of highlighting described into external file filehighlight.ini
Number of highlight rules is unlimited (in opposite to X-Stranger patch).

Highlight will made by:
 * file type (directory, regular, symlink, special device etc.)
 * extensions of filenames (ends of filenames)
 * regular expressions

Big thanks to X-Stranger <x@linux.by> for idea
and to Alexey Kaminsky <alexeykaminsky@gmail.com> for testing.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-03 13:12:17 +03:00
Andrew Borodin
bf7b330f34 Merge branch 'DEV_quick_widget'
* DEV_quick_widget:
  Fixed segfault in editor options dialog.
  Fixed radiobutton label for Macintosh line break.
  Ticket #1562: simplfication API of QuickDialog.
2009-09-03 11:41:16 +04:00
Andrew Borodin
d6d713eb24 Fixed segfault in editor options dialog.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-03 11:39:57 +04:00
Andrew Borodin
c057b0a02a Fixed radiobutton label for Macintosh line break.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-03 11:39:57 +04:00
Andrew Borodin
f9d6bb075c Ticket #1562: simplfication API of QuickDialog.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-09-03 11:39:57 +04:00
Slava Zanko
44a094c064 Merge branch '1578_revise_translator_warnings'
* 1578_revise_translator_warnings:
  Ticket #1578: Revise */ TRANSLATORS */ warnings
2009-09-03 10:12:53 +03:00
David Martin
a4b1050804 Ticket #1578: Revise */ TRANSLATORS */ warnings
Comment by dmartina:
Please, take care not to move those comments labelled "TRANSLATORS" in order to let them show up in *.po files.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-03 10:12:10 +03:00
Slava Zanko
b8f2ecb977 Update translates for statistic 2009-09-02 23:02:43 +03:00
Slava Zanko
a34004ba2c Merge branch '390_remove_libpopt'
* 390_remove_libpopt:
  Ticket #390: remove own 'libpopt' stuff.
2009-09-02 14:33:10 +03:00
Slava Zanko
88b4ce4cbe Ticket #390: remove own 'libpopt' stuff.
We really not need for all libpopt features.
As fact, simple POSIX getopt() is enough.
But if we have glib - we must use glib for unification.

Created two files: src/args.c and src/args.h
Parce of command line options now processed in these files.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-02 14:32:32 +03:00
Ilia Maslakov
0ce827bb60 Ticket #1460 (shared search history)
fix: history for mcview (last search string geting from history)

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-08-31 14:48:54 +00:00
Andrew Borodin
de33d013be Merge branch '1561_panel_encoding_dialog_position'
* 1561_panel_encoding_dialog_position:
  Ticket #1561: fixed wrong position of select panel encoding dialog.
2009-08-31 15:43:37 +04:00
Andrew Borodin
4881dd7c90 Ticket #1561: fixed wrong position of select panel encoding dialog.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-31 15:43:19 +04:00
Andrew Borodin
17c5c22da8 Merge branch '1574_color_string_parser_error'
* 1574_color_string_parser_error:
  Ticket #1574: mc crashes while setting tty colors
2009-08-31 14:49:08 +04:00
Aleksey Lim
ce57055a3a Ticket #1574: mc crashes while setting tty colors
MC crashes if color sring containes an empty color name like following:

base_color=normal=,default:

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-31 14:17:29 +04:00
Andrew Borodin
484a076071 Merge branch '1571_save_as'
* 1571_save_as:
  Added field lb (kind of line break) into WEdit struct
  Ticket #1571: enhancement of mcedit 'Save as' action.
2009-08-31 13:21:12 +04:00
Ilia Maslakov
4eba917c0c Added field lb (kind of line break) into WEdit struct
Some cosmetic changes.
Fixed compiling warnings.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-31 13:20:49 +04:00
Andrew Borodin
f023ce440f Ticket #1571: enhancement of mcedit 'Save as' action.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-31 13:20:49 +04:00
Denys Vlasenko
e064bd60df De-inline a few functions which are large
...or not-so-large but nevertheless
contain more than one function call,
or contain loops, or contain if's and at least one
function call, or contain largish objects on stack.

In my experience, in those cases the code size
growth is big enough to not inline stuff.

I guess some of the really big functions
are defined inline because they have, or had in the past,
just one callsite.

But for a few years gcc already does it automatically,
no need to do it by hand and risk code size explosion
when later during code evolution another callsite
is created. This optimization by hand is simply
no longer needed.

Anyway, here is the code size difference:

   text    data     bss     dec     hex filename
 572337   17944  177820  768101   bb865 mc.t5/.obj/src/mc
 567697   17944  177820  763461   ba645 mc.t6/.obj/src/mc

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-08-31 07:12:59 +03:00
Andrew Borodin
d534fdfa58 po/ru.po: fixed hotkey conflict in 'Configure options' dialog window.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-29 12:28:54 +04:00
Slava Zanko
eb35e00f09 Merge branch '1550_add_forgotten_include'
* 1550_add_forgotten_include:
  code clean up
  Add forgotten '#include <stdio.h>' into src/viewer/internal.h for recognize FILE type.
2009-08-28 23:22:57 +03:00
Ilia Maslakov
d89306849c code clean up
* viewer/mcviewer.c: remove unused variable ‘enc’
    * viewer/actions_cmd.c: remove superfluous param
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-08-28 20:14:30 +00:00
Slava Zanko
8407f5fd9a Add forgotten '#include <stdio.h>' into src/viewer/internal.h for recognize FILE type.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-28 22:58:59 +03:00
Andrew Borodin
1d4e1673ff Fixed description of Alt-o and Alt-i shortcuts.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-27 21:23:31 +04:00
Ilia Maslakov
96f5e3523d More translates of doc/man/ru/mc.1.in
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-27 13:50:59 +03:00
David Martin
2778021a65 More translates of doc/man/es/mc.1.in
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-27 13:27:23 +03:00
Ilia Maslakov
f880712f8c Update ru.po
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-08-26 18:34:35 +00:00
Oleksandr Natalenko
2ad7990729 uk.po from Oleksandr Natalenko
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-26 18:11:26 +03:00
David Martin
0d56b703ea es.po from David Martin (dmartina).
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-26 18:05:28 +03:00
Slava Zanko
70848edace Update all translates after run 'make update-po' command.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-26 17:13:19 +03:00
Andrew Borodin
5da55ec14e Ticket #1565 (incorrect draw menu)
fix: now used correct color for draw menu frames

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-26 09:19:44 +00:00
Ilia Maslakov
b1546095ca Ticket #1530 (Tricky format in view.c not suitable for i18n)
fix: dialog label string

Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-08-25 12:47:51 +00:00
Slava Zanko
2cc424decc Merge branch '1548_renamed_no_po_to_nb_po'
* 1548_renamed_no_po_to_nb_po:
  Ticket #1548: no.po is Norwegian Bokmål which have 'nb' lang code
2009-08-25 13:38:23 +03:00
Arkadiusz Miśkiewicz
37fcb4e18a Ticket #1548: no.po is Norwegian Bokmål which have 'nb' lang code
Rename no.po to nb.po to reflect its content.
2009-08-25 13:20:01 +03:00
Slava Zanko
cb8f9bf122 Update all translate files. Alsom convert some files into UTF-8 charset 2009-08-25 12:58:42 +03:00
Patrick Winnertz
fd78a720b4 updated the po files with update.sh and set team mail address to the mail addresses used in debian for translations
Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-08-25 12:49:02 +03:00