A followup extension, "SGR 1006" was invented by xterm, to overcome some
of the shortcomings of the previous one. It is becoming as widespread as
the previous one, and is likely to soon overtake it in popularity.
Note that most of the patch is just the removal of the huge complexity
introduced by the previous one. The previous extension didn't have a
unique prefix which made the whole parsing logic extremely complicated.
The new extension does have a unique prefix, so parsing becomes a piece
of cake. The code becomes much cleaner and much easier to maintain.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
* 55_filename_complete:
lib/widget/input_complete.c: minor refactoring and optimization.
Fix for input completions with spaces in names.
lib/widget/input_complete.c: refactoring:
Concretize the usage of autocompliting in different input fields.
Extend QUICK_INPUT and QUICK_LABELED_INPUT macros for getting completion flags via parameters instead of using hardcoded value
Ticket #55: savannah: tab completion vs. spaces and escaping
* (filename_completion_function): use GString to ret rid of hand-made
low-level memory allocation.
* (variable_completion_function): likewise.
* (hostname_completion_function): likewise.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
# By Andrew Borodin (10) and Slava Zanko (1)
# Via Slava Zanko
* 2944_cleanup:
Avoid compiler errors like: error: variable 'xxx' set but not used [-Werror=unused-but-set-variable]
Clarify check of C compiler flags.
Enable -Wunused-but-set-variable flag by default.
Clarify usage of use_internal_edit variable
Merge src/filemanager/option.[ch] to src/filemanager/boxes.[ch].
Remove irrelevant comments about file_date() function.
Avoid C++-style comments.
(mc_global_t::shell): new member to store user's shell
(subshell_prompt): changed to GString.
(read_subshell_prompt): return gboolean instead of int.
Ticket #2944: code cleanup before 4.8.8 release.
* 2076_copy_progress_width:
WHLine: allow draw text over horizontal line.
Copy/move/delete progress dialog occupies at least 2/3 of screen width.
Ticket #2076: make copy/move/delete progress dialog wider.
* (hline_set_text): new function.
* (file_progress_show_total): use hline_set_text to show processed
files counter.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Added the aspell param 'spell_language' in ini-file.
This allow set spelling language. spell_language=NONE - disable aspell support.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
* 2888_cleanup: (34 commits)
(exec_get_export_variables_ext): use g_new0() for stable test results.
Implement quick and easy disable of xdg-open usage.
Sync with gnulib 40f82767840187c20051ca99385f75a42f92de99.
Add extra checks in macro engine.
Ticket #2935: update uc1541 extfs plug-in up to version 2.5.
(del_widget): fix memory leak.
(editcmd_dialog_replace_prompt_show): fix string truncations.
Portability: rename some str_class members
Portability: ESC_CHAR is defined in /usr/include/langinfo.h in some systems
Cleanup code related to GLib < 2.12.
Portability: use g_ascii_strtoll instead of strtoll, atoll and atof.
Fix crash when user menu is called in editor with no filename.
Keep some edit window parameters during file reloading.
Fix editor crash in "Save as..." command.
Ticket #2841: adjust i18n label sizes in learn key dialog.
Disable the localized output of utilities such as - ls, git, etc..
(add_widget_autopos): don't access to NULL widget.
Parenthesis around some -1.
src/filemanager/mountlist.c: use GLib functions to allocate/free memory.
Sync with gnulib 613bcb6205cf2b64d835c19074c5a7e7c6cb99eb
...