* 347_replace_profile_src:
Added check for glib version in mc_config_del_param and mc_config_del_group functions
Replace self-made code for work with ini-files to glib native code
configure.ac: Added check for minimal version of Glib2
Since Glib2-2.15 API of file-ini module was changed.
Old API:
void g_key_file_remove_key(...)
New API:
gboolean g_key_file_remove_key(...)
Therefore need to check version of Glib and fix return parameter from mc_config_del_param and mc_config_del_group for success build
Work with ini-file added in Glib2 since version 2.6, therefore in configure.ac added this check.
* 351_show_number_line:
fix hotkey menu entry "Toggle li&ne state" now highlighted "n"
add call CK_Toggle_Line_State to edit menu
show line number in left part of screen (hotkey alt-n)
* mc-4.6:
commandline: strip_escape: strip xterm OSC commands in $PS1
src/main.c (main): create MC home directory with 700 mode instead of 755 one.
src/main.c (main): create MC home directory (~/.mc) if absent.
add option editor_line_status to ini (src/setup.c)
add action CK_Toggle_Line_State (edt/editcmddef.h)
change "print_to_widget()" to show line state, if option_line_state = 1 show line num (edit/editdraw.c)
change "edit_draw_this_line()", (set line state: line num, etc)
add const LINE_STATE_WIDTH, add options: option_line_state, option_line_state_width (edit/edit.h)
add switch on/off show line number (edit/edit.c)
add CK_Toggle_Line_State to translation table command_names (bindings name is Toggle-Line-State).
add const LINE_STATE_COLOR for draw left area bar line state
add color pair "editlinestate" for set in ini
add help for keyword "editlinestate" on "mc --help-color" (src/main.c)
Correctly deal with prompts like (appear in debian/ubuntu):
PS1='\[\e]0;\u@\h: \w\a\]\u@\h:\w\$'
PS1='\[\e]0;\u@\h: \w\e\\\]\u@\h:\w\$'
Based on patch provided provided by Sergey Nizovtsev
https://bugs.launchpad.net/ubuntu/+source/mc/+bug/330633
Signed-off-by: Sergei Trofimovich <st@anti-virus.by>
Here is quote from man(3) mmap:
SUSv3 specifies that mmap() should fail if length is 0. However, in kernels before 2.6.12, mmap()
succeeded in this case: no mapping was created and the call returned addr.
Since kernel 2.6.12, mmap() fails with the error EINVAL for this case.
Thanks to snizovtsev
* 140_move_docs_and_contrib:
Change name of automake constant 'USE_MCFS' to 'ENABLE_VFS_MCFS'
Move some files from contrib into misc directory
Move all stuff from lib to contrib
Move all hints-files from lib to doc/hints
mc.qpg.in mc.spec.in pkginfo.in prototype.in: moved to contrib/dist
2009-01-10 Enrico Weigelt, metux ITS <weigelt@metux.de>
_icase_search and icase_search stuff has been removed,
because it's not used for now (it is also buggy)
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
wtools.c:347: assignment from incompatible pointer type
wtools.c:353: assignment from incompatible pointer type
wtools.c:361: assignment from incompatible pointer type
wtools.c:373: assignment from incompatible pointer type
wtools.c:377: assignment from incompatible pointer type
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
cmd.c:536: ‘c’ may be used uninitialized in this function
At the real position ‘c’ shouldn't be used
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
* doc/*: moved manpages to doc/man/
* NEWS INSTALL README: moved to doc and left a symlink in .
* FAQ HACKING INSTALL.FAST MAINTAINERS README.QNX TODO: moved to doc
edit.c:2645:
implicit declaration of function ‘edit_move_block_to_right’
edit.c:2805:
implicit declaration of function ‘edit_move_block_to_left’
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
* m-utf-8: (223 commits)
Fix wildcard pattern in file select and file find dialogs
Project builds with option --disable-charsets
Deleted build-glib1.sh because glib1 don't work with utf-8
fix building without --enable-charset
Total replacement to mc_search stuff in all places
Search engine: if found_len parameter NULL, then mc_search_run don't try to fill them
src/view.c: Reworked search stuff to usage src/search
refactoring: rename edit/editcmd_dialog.c:editcmd_dialog__get_search_types_list to
Search engine: development of hex search complete
Search engine: remove forgotten debug string and reindent file
Search engine:
configure.ac: if present glib-2.14 and higher, libpcre don't linked
Search engine: now used regexp external engines:
src/find.c: Fixed core dump if content search pattern no present
edit/editcmd_dialogs.c: fixed state of search type between dialog window calls
Find files: checkbox 'Regular expression' for content search now default unchecked
Find files: changes for usage of new search engine:
Fix copy of current/opposite path to command line: remove charset info from path
src/Makefile.am: add some header files to Make-tracking
Fixed editor menu reloading.