Commit Graph

11878 Commits

Author SHA1 Message Date
Andrew Borodin 6dedc67427 Merge branch '2898_homedir_completion'
* 2898_homedir_completion:
  Ticket #2898: fix broken path completion on paths starting with ~/.
2012-09-27 14:25:40 +04:00
Andrew Borodin f3cc7de694 Ticket #2898: fix broken path completion on paths starting with ~/.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-27 14:25:18 +04:00
Ilia Maslakov 3190504ed6 Merge branch '2660_mcedit_reset_selection'
* 2660_mcedit_reset_selection:
  Ticket #2660 (mcedit: reset selection after paste)
2012-09-25 22:28:02 +04:00
Ilia Maslakov e6111f1d99 Ticket #2660 (mcedit: reset selection after paste)
mcedit reset selection after the text pasted (only in non-persistent selection mode)

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-09-25 13:22:26 +04:00
Ilia Maslakov ee12f0c5bf Merge branch '303_mcedit_indent_fix'
* 303_mcedit_indent_fix:
  Ticket #303 (don't indent blank lines)
2012-09-17 18:44:01 +04:00
Ilya Molchanov 47f7c1478c Ticket #303 (don't indent blank lines)
don't indent blank lines.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-09-17 18:42:18 +04:00
Slava Zanko 868bdee69d Updated doc/NEWS file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-09-14 14:17:38 +03:00
Slava Zanko 2be3440ff0 Updated translations from Transifex
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-09-14 14:04:29 +03:00
Andrew Borodin 68bc12ff65 Merge branch '2873_diff_escape_dollar'
* 2873_diff_escape_dollar:
  Don't close file and pipe that were not opened.
  Ticket #2873: diffviewer cannot open file if name contains '$'.
2012-09-11 16:40:42 +04:00
Andrew Borodin d38a0e345a Don't close file and pipe that were not opened.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-11 16:39:26 +04:00
Andrew Borodin a77f15a1e4 Ticket #2873: diffviewer cannot open file if name contains '$'.
Escape '$' to avoid variable substitution in shell invoked in popen(3) call.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-11 16:39:20 +04:00
Andrew Borodin ad44cd1abb Merge branch '2881_editor_offset_after_tab'
* 2881_editor_offset_after_tab:
  Ticket #2881: (edit_move_forward3): fix two-columns extra offset of cursor
2012-09-11 12:49:06 +04:00
Andrew Borodin 28cd54da5a Ticket #2881: (edit_move_forward3): fix two-columns extra offset of cursor
...after tab character.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-11 10:14:48 +04:00
Slava Zanko b4a10d82cc code indentation
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-09-10 15:15:02 +03:00
Slava Zanko 03c11e0a16 Updated NEWS file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-09-10 15:03:36 +03:00
Slava Zanko 24fdb4728a Updated translations from Transifex
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-09-10 14:41:24 +03:00
Slava Zanko 22595e3d6a Merge branch '2876_cleanup'
* 2876_cleanup:
  Update EN and RU man pages: add missing options.
  fixed doxygen documentation
  fixed doxygen.cfg, excluded directory /tests/ from doxygen path's
  removed obsolete params from edit_push_undo_action/edit_push_redo_action
  Ticket #2861: additional error handling in edit_save_block().
  (str_utf8_normalize): ret rid of extra memory allocation.
  Use g_strndup() instead of g_strdup()
  (get_absolute_name): missing finish NULL in vfs_path_append_vpath_new() call.
  (edit_do_undo): cleanup of labeled statement usage.
  Fix mouse event handling in menu that overlaps buttonbar.
  mcdiffview: code cleanup and cosmetics.
  Reorder checks in configure.ac.
  Cleanup of screen library detection m4 code.
  Refactoring of many conditions.
  (edit_do_search): refactoring of search loop condition.
  Avoid double checks of bookmarks in editor.
  Ticket #2876: code cleanup before 4.8.6 release.
2012-09-10 14:30:19 +03:00
Andrew Borodin cbdd38405a Update EN and RU man pages: add missing options.
Reported in https://bugzilla.redhat.com/show_bug.cgi?id=854876.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-10 14:29:53 +03:00
Ilia Maslakov 55c8f041da fixed doxygen documentation
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-09-10 14:29:53 +03:00
Ilia Maslakov f7c4dfa8ab fixed doxygen.cfg, excluded directory /tests/ from doxygen path's
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-09-10 14:29:53 +03:00
Ilia Maslakov fa7a8dcbeb removed obsolete params from edit_push_undo_action/edit_push_redo_action
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-09-10 14:29:53 +03:00
Yury V. Zaytsev fbc013421c Ticket #2861: additional error handling in edit_save_block().
If edit->column_highlight is on and the disk is so full that the editor
is unable even to write the magic (r <= 0), then subsequent if (len)
check might fail, since the value of len is undefined.

The solution is to initialize len with a non-zero value, so that the
function properly returns an error value in all cases (adding an
explicit return 0; is also possible, but then one must take care of
closing file descriptors, which is less convenient).

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2012-09-10 14:29:53 +03:00
Andrew Borodin 8e224507c1 (str_utf8_normalize): ret rid of extra memory allocation.
(str_utf8_casefold_normalize): likewise.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-10 14:29:53 +03:00
Andrew Borodin 8b382756bf Use g_strndup() instead of g_strdup()
...to ret rid of extra calculation of string length.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-10 14:29:53 +03:00
Adam Young 5e1ae44eca (get_absolute_name): missing finish NULL in vfs_path_append_vpath_new() call.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-10 14:29:53 +03:00
Andrew Borodin 45a4197fa6 (edit_do_undo): cleanup of labeled statement usage.
(edit_do_redo): likewise.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-10 14:29:53 +03:00
Andrew Borodin ce0e129891 Fix mouse event handling in menu that overlaps buttonbar.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-10 14:29:53 +03:00
Andrew Borodin d7482275c3 mcdiffview: code cleanup and cosmetics.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-10 14:29:52 +03:00
Andrew Borodin c34fdcf946 Reorder checks in configure.ac.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-10 14:29:52 +03:00
Andrew Borodin d84e462b89 Cleanup of screen library detection m4 code.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-06 13:19:19 +04:00
Andrew Borodin 6c249ec0f2 Refactoring of many conditions.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-06 13:19:19 +04:00
Andrew Borodin 5bf69875dc (edit_do_search): refactoring of search loop condition.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-06 13:19:19 +04:00
Andrew Borodin 37054596f6 Avoid double checks of bookmarks in editor.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-06 13:19:19 +04:00
Ilia Maslakov 1b1071cdac Ticket #2876: code cleanup before 4.8.6 release.
mcedit: better support of --disable-charset.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-06 13:19:19 +04:00
Andrew Borodin ded2b30443 Merge branch '2874_tilde_directory'
* 2874_tilde_directory:
  Allow create directory with name '~' (tilda).
  Reimplement support of use ~ as home directory in hotlist.
  Ticket #2874: enter on directory named '~' goes to the home one.
2012-09-06 10:30:54 +04:00
Andrew Borodin 513d30e5a1 Allow create directory with name '~' (tilda).
Use escaping for that (as in shell): \~.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-06 10:30:28 +04:00
Andrew Borodin 85ed2bd331 Reimplement support of use ~ as home directory in hotlist.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-06 10:30:28 +04:00
Andrew Borodin 4a0004f6c2 Ticket #2874: enter on directory named '~' goes to the home one.
Revert "Support of use ~ as home directory in hotlist."
This partially reverts commit dd9c7516a3.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-06 10:30:28 +04:00
Slava Zanko 21b432b822 Merge branch '2832_mcedit_safe_save'
* 2832_mcedit_safe_save:
  Ticket #2832: Fixed mcedit: unable to save changes in "Safe save" mode
2012-09-05 14:40:11 +03:00
Slava Zanko e2fb1c8dd3 Ticket #2832: Fixed mcedit: unable to save changes in "Safe save" mode
If mcedit is configured to use "Safe save" I'm unable to save changes to existing file.
Same problem is for editor_option_save_mode=2 (backup mode)
Saving to new file works.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-09-05 14:39:58 +03:00
Slava Zanko 9cec25429e Merge branch '2864_uc1541'
* 2864_uc1541:
  fixes following issues:
  Ticket #2864: New implementation of uc1541 VFS
2012-09-05 14:30:32 +03:00
Roman 'gryf' Dobosz 198a10ca7d fixes following issues:
* F3/F4 on 'del' and 0-length files works, however it is impossible to change 'del'
   files (cached content can be confusing)
 * Koala files and other with non-ASCII characters are supported (implemented directory
   reading routine in pure python - for now only D64 format is supported)
 * Added workaround for filenames with space at the beginning (however, as it was stressed
   before, it is more generic issue than this script. Maybe it is good idea to use pcre
   instead of iterating and splitting?)
 * minor bugfixes and code cleanup

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-09-05 14:29:53 +03:00
Slava Zanko 43e4938a09 Ticket #2864: New implementation of uc1541 VFS
Due to date formatting, uc1541 extfs plugin is unusable, even tough the date formatting,
which is the one cause of the problem is coherent with the attached documentation (MM-DD-YYYY hh:mm).

Another problem with uc1541 script is connected rather with legal characters used in filename
rather than with script itself - in PET ASCII it is perfectly fine to use slash "/" character
in filenames, and as a side effect all files containing slash inside d64 image are represented
as directories on MC.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-09-05 14:29:53 +03:00
Andrew Borodin e6963fc3b2 Merge branch '2664_ogm_deprecated'
* 2664_ogm_deprecated:
  Ticket #2664: ogm extension was deprecated in favor of .ogv.
2012-09-05 13:51:00 +04:00
Andrew Borodin 353ed376ba Ticket #2664: ogm extension was deprecated in favor of .ogv.
Conform to http://wiki.xiph.org/MIME_Types_and_File_Extensions, .ogm
extension was deprecated in favor of .ogv (with mimetype video/ogg).

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-05 13:50:31 +04:00
Andrew Borodin 6e6303918d Update PO-files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-03 10:11:08 +04:00
Andrew Borodin 028853b567 Adjust i18n stuff in editor menu.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-09-03 10:07:30 +04:00
Ilia Maslakov 1a5dc8fe64 Merge branch '2863_mcdiff_merge_enhance'
* 2863_mcdiff_merge_enhance:
  fixed the doxygen documentation.
  Added doxygen comments
  Added diff_place_t enum.
  Added action_direction_t type
  Ticket #2863 (mcdiff bidirectional merge enhancement)
2012-08-30 17:14:27 +04:00
Ilia Maslakov 7d34775231 fixed the doxygen documentation.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com
2012-08-30 17:10:05 +04:00
Slava Zanko 405007bca1 Added doxygen comments
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-08-30 10:45:02 +04:00