Vit Rosin
1c367a41fd
Removed unneeded break after return.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:14 +04:00
Andrew Borodin
9547a991cb
Ticket #2119 : some trivial corrections.
...
Trivial changes in util.h. Type cast in str_move function.
Thanks Vit Rosin for original patch.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:14 +04:00
Andrew Borodin
933aba001d
Some optimizatioms in vfs.c.
...
Avoid some else branches. Type accuracy.
Thanks Vit Rosin for original patch.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:14 +04:00
Andrew Borodin
e70db42deb
Grammar.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:24:13 +04:00
Andrew Borodin
4cea5be1ac
Ticket #2097 : clean up before 4.7.2 release.
...
Split assignments and conditions. Type accuracy. Minor optimization.
Thanks Vit Rosin for original patch.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-05-05 16:23:51 +04:00
Yury V. Zaytsev
bfd0b2c995
Merge branch '2126_ini_syntax'
...
* 2126_ini_syntax:
Some fixies of ini.syntax (added default color)
Ticket #2126 : DOS style INI files syntax
2010-05-04 16:44:00 +02:00
Slava Zanko
1eba5407ab
Some fixies of ini.syntax (added default color)
...
also, misc/syntax/Makefile.am changed for install ini.syntax into system
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-04 16:43:12 +02:00
Karsten Hilbert
1243fc6fd7
Ticket #2126 : DOS style INI files syntax
...
I am attaching a proposed syntax highlighting definition for
- gasp - DOS style INI files.
I'd love to set the
option
part in
option = value
to some other color, too, but didn't find the proper syntax
for that.
Karsten
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-05-04 16:43:12 +02:00
Slava Zanko
3b375cc2d3
Merge branch '1897_libc_respect_return_values'
...
* 1897_libc_respect_return_values:
Final Indentation of all touched files
Changes into src/consaver directory:
Changes into src/editor directory:
Changes into src directory:
Ticket #1897 : Build breaks on ignored return values
2010-05-04 17:37:30 +03:00
Slava Zanko
3a1e0966ae
Final Indentation of all touched files
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-04 17:34:21 +03:00
Enrico Weigelt, metux IT service
db6944f619
Changes into src/consaver directory:
...
* src/cons.saver.c:
* handling IO errors in send_contents()
* ignoring errors in die()
* handling IO errors in main()
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-04 17:34:20 +03:00
Slava Zanko
5d79a90737
Changes into src/editor directory:
...
* edit/editcmd.c:
* ignore fscanf() result in edit_delete_macro()
* ignore fscanf() result in edit_load_macro_cmd()
* ignoring mc_chown() errors in edit_save_file()
* handling system() call errors in edit_block_process_cmd()
* edit/edit.c: handling read errors in edit_load_file_fast()
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-04 17:34:20 +03:00
Slava Zanko
35dae723ee
Changes into src directory:
...
* src/background.c:
* handling read() errors in background_attention()
* handling IO errors in parent_call_string()
* ignoring IO errors in background_attention()
* ignoring write() errors in parent_call_header()
* ignore IO errors in parent_call()
* src/cons.saver.c:
* handling IO errors in show_console_contents_linux()
* handling IO errors in handle_console_linux()
* src/file.c: handling mc_chdir() errors in panel_operate
* src/find.c: ignoring errors on chdir() call
* src/main.c:
* ignoring errors on last write()'s in main()
* ignoring mc_chdir() errors in setup_dummy_mc()
* ignoring mc_chdir() errors in translated_mc_chdir()
* src/panelize.c: ignoring errors on chdir() call
* src/screen.c:
* ignoring mc_chdir() errors in panel_new_with_dir()
* ignoring mc_chdir() errors in reload_panelized()
* ignoring mc_chdir() errors in update_panels()
* src/subshell.c: ignoring errors on chdir() call
* src/tree.c: ignoring mc_chdir() errors in tree_rescan()
* src/treestore.c: handling read errors in tree_store_load_from()
* src/widget.c: handling mc_write() errors in save_text_to_clip_file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-04 17:34:20 +03:00
Enrico Weigelt, metux IT service
303833d590
Ticket #1897 : Build breaks on ignored return values
...
Changes into lib directory
* samba: handling result of system() call
* rpc: handling write errors
* ftpfs: ignoring result of fwrite() on logfile (make compiler happy ;-))
* fish: proper handling of file io calls
* ignoring result of fwrite() on logfile (make compiler happy ;-))
* lib/util.c: handling fwrite() call errors in mc_util_write_backup_content()
* lib/utilunix.c:
* handling possible error on dup() in close_error_pipe()
* handling possible error on getcwd() in mc_realpath()
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-05-04 17:34:20 +03:00
Yury V. Zaytsev
66ff918624
Merge branch '1671_i18n_checktimelength'
...
* 1671_i18n_checktimelength:
Ticket #1671 : i18n_checktimelength may vary depending on the season
2010-05-04 11:27:48 +02:00
Yury V. Zaytsev
28eda66803
Ticket #1671 : i18n_checktimelength may vary depending on the season
...
On some systems i18n_checktimelength may vary not only depending on the
locale but also on the current month. This patch introduces a cyclic
check that loops through all of the months to find out which one has the
longest name.
However, since this function is called on every pannel reload and now
makes 24 calls to str_term_width1 and strftime it makes sense to
introduce a cache for the resulting value.
Thanks to Sergey Fionov <fionov@gmail.com> for the initial patch.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-05-02 13:21:09 +02:00
Andrew Borodin
5ba9fde28c
Merge branch '1754_show_current_syntax'
...
* 1754_show_current_syntax:
Applied MC indentation policy.
Optimization: rid of edit_menubar global variable.
Optimization: rid of wedit and option_syntax_type global variables.
Type accuracy. Minor optimization.
Ticket #1754 : show current syntax in 'Choose syntax highlighting' dialog.
2010-04-30 18:26:01 +04:00
Andrew Borodin
12d3ef7171
Applied MC indentation policy.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-30 18:25:32 +04:00
Andrew Borodin
d391813325
Optimization: rid of edit_menubar global variable.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-30 18:11:48 +04:00
Andrew Borodin
962bd6fc15
Optimization: rid of wedit and option_syntax_type global variables.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-30 18:11:48 +04:00
Andrew Borodin
1480937b17
Type accuracy. Minor optimization.
...
GLib function are used to manadge array of strings.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-30 18:11:48 +04:00
Andrew Borodin
469d119e12
Ticket #1754 : show current syntax in 'Choose syntax highlighting' dialog.
...
Now current syntax scheme is highlighted in 'Choose syntax highlighting'
dialog.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-30 18:11:47 +04:00
Slava Zanko
dffe717c56
Merge branch '2122_y2k_bug_in_zip'
...
* 2122_y2k_bug_in_zip:
Another side of this bug, missed before
Ticket #2122 : Y2k bug in uzip vfs
2010-04-30 10:49:28 +03:00
Andrew Filonov
d9ebcebdc1
Another side of this bug, missed before
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-04-30 10:49:16 +03:00
Andrew Filonov
fc6cf6bf3f
Ticket #2122 : Y2k bug in uzip vfs
...
Newest version of unzip returns year of file with 4 digits.
But regexp in uzip checks only 2 digits.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-04-30 10:49:16 +03:00
Ilia Maslakov
ac9b5fba09
Merge branch '1734_viewer_eol_and_bol_fix'
...
* 1734_viewer_eol_and_bol_fix:
Ticket #1734 (viewer: EOL, BOL movement not work in plain mode)
2010-04-30 11:46:23 +04:00
Ilia Maslakov
c8bfd2d992
Ticket #1734 (viewer: EOL, BOL movement not work in plain mode)
...
fixed EOL, BOL movement in plain mode.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-30 11:45:57 +04:00
Ilia Maslakov
1dce1600b9
Merge branch '2005_viewer_hex_mode_edit_fix'
...
* 2005_viewer_hex_mode_edit_fix:
Ticket #2005 (viewer: Text area is not updated in hex mode)
2010-04-30 08:58:01 +04:00
Ilia Maslakov
86758ed198
Ticket #2005 (viewer: Text area is not updated in hex mode)
...
fixed: Text area is not updated in hex mode (in utf-8).
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-30 08:57:05 +04:00
Daniel Borca
bc0ad94461
ydiff.c: minor fix for more pretty show diff.
...
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-30 08:44:08 +04:00
Sebastian Siebert
35950d65c1
l10n: Updates to German (de) translation
...
New status: 1060 messages complete with 0 fuzzies and 0 untranslated.
Transmitted-via: Transifex (www.transifex.net).
2010-04-30 00:32:18 +00:00
Sebastian Siebert
96b6b576e6
l10n: Updates to German (de) translation
...
New status: 1060 messages complete with 0 fuzzies and 0 untranslated.
Transmitted-via: Transifex (www.transifex.net).
2010-04-29 22:56:51 +00:00
Oleksandr Natalenko
b49e7d435c
l10n: Updated Ukrainian (uk) translation to 100%
...
New status: 1060 messages complete with 0 fuzzies and 0 untranslated.
Transmitted-via: Transifex (www.transifex.net).
2010-04-29 14:40:56 +00:00
Yury V. Zaytsev
4d547cc263
Merge branch '2159_spec_mcdiff_update'
...
* 2159_spec_mcdiff_update:
Ticket #2159 : After the inclusion of mcdiff the SPEC needs an update
2010-04-29 08:58:06 +02:00
Yury V. Zaytsev
1b9da36dc3
Ticket #2159 : After the inclusion of mcdiff the SPEC needs an update
...
Build fails with the following message:
Installed (but unpackaged) file(s) found:
/usr/bin/mcdiff
To fix this issue %{_bindir}/mcdiff has to be added to the list of the
packaged files.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2010-04-29 08:57:31 +02:00
Gergely Szabó
6fadc8f1ba
l10n: Hungarian translation updated.
...
New status: 1039 messages complete with 0 fuzzies and 0 untranslated.
Transmitted-via: Transifex (www.transifex.net).
2010-04-29 06:55:04 +00:00
Jake Li
9af5722e78
l10n: Updated Chinese (China) (zh_CN) translation to 100%
...
New status: 1039 messages complete with 0 fuzzies and 0 untranslated.
Transmitted-via: Transifex (www.transifex.net).
2010-04-29 03:24:38 +00:00
Ilia Maslakov
237b2245be
Merge branch '2155_remove_selection_before_insert'
...
* 2155_remove_selection_before_insert:
Ticket #2155 (remove selected text before input)
2010-04-28 19:21:18 +00:00
Ilia Maslakov
946715e971
Ticket #2155 (remove selected text before input)
...
Remove selected text before input or paste from clipboard.
Thanks to nikk9 <dev.nul@mail.ru> for the original patch.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-28 19:12:43 +00:00
Slava Zanko
5e57bd0491
Refresh PO-files
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-04-28 16:04:29 +03:00
Emmanuel Trillaud
8e6ae472f3
l10n: Updated French (fr) translation to 97%
...
New status: 1011 messages complete with 14 fuzzies and 14 untranslated.
Transmitted-via: Transifex (www.transifex.net).
2010-04-28 08:31:19 +00:00
Freespacer
49efad427f
l10n: Updates to German (de) translation
...
New status: 1039 messages complete with 0 fuzzies and 0 untranslated.
Transmitted-via: Transifex (www.transifex.net).
2010-04-27 20:00:19 +00:00
Freespacer
f0158f1667
l10n: Updates to German (de) translation
...
New status: 1038 messages complete with 1 fuzzy and 0 untranslated.
Transmitted-via: Transifex (www.transifex.net).
2010-04-27 19:58:21 +00:00
Ilia Maslakov
8e33a5bef8
Merge branch '120_diff_view'
...
* 120_diff_view: (22 commits)
Update panels after closing the diff viewer.
Optimization of Diff Viewer construction and destruction.
added diff options dialog
added save/load diffview options.
Modified destroying of WDiff widget.
Repaint screen after encoding change.
Minor clean up.
Added usage of search engine.
added merge mechanism
Add new section [Diff Viewer] in man and built-in help.
Fixes of button bar handling.
buttonbar_call(): don't handle Fx button with non-defined command.
little fixup and optimization
fixed display utf-8 text in 8-bit locale
initial step to multiple encodings support and select codeset.
Fixed segfaults in standalone diff viewer.
src/diffviewer/ydiff.c: use GLib functions more widely.
diffviewer: Added libmc for build depends
Added capability to run MC as standalone diff viewer.
src/diffviewer/ydiff.c: code indentation & cleanup.
...
2010-04-27 13:34:46 +04:00
Andrew Borodin
c2b0209ec9
Update panels after closing the diff viewer.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-27 12:16:05 +04:00
Andrew Borodin
744d61ba03
Optimization of Diff Viewer construction and destruction.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-27 12:16:05 +04:00
Ilia Maslakov
93247568d0
added diff options dialog
...
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-04-27 12:16:04 +04:00
Ilia Maslakov
185a6f67f7
added save/load diffview options.
...
little fixes in the options dialog
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-27 12:16:04 +04:00
Andrew Borodin
e045279dbc
Modified destroying of WDiff widget.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-27 12:16:04 +04:00
Andrew Borodin
6c3e3715f8
Repaint screen after encoding change.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-04-27 12:16:03 +04:00