Commit Graph

8292 Commits

Author SHA1 Message Date
Ilia Maslakov
d8175b3e6b fix: incorrect input 2009-04-18 14:50:05 +00:00
Andrew Borodin
db26e75242 src/strutil8bit.c (str_8bit_search_first): fixed case sensitivity searching.
(str_8bit_search_last): likewise.
2009-04-18 16:38:36 +04:00
Andrew Borodin
b8184a4595 src/screen.c (set_panel_formats): use symbolic constant in message() call. 2009-04-18 12:55:48 +04:00
Andrew Borodin
438e95b110 src/strutil.c (str_printf): use g_string_append_vprintf() function if available. 2009-04-18 12:50:32 +04:00
Mikhail S. Pobolovets
4599b021b5 * syntax/Makefile.am, syntax/Syntax, syntax/f90.syntax:
Fortran 90/95 syntax (provided by NNemec)

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-04-17 23:27:23 +03:00
Mikhail S. Pobolovets
2b21e44aa1 * syntax/ml.syntax: SmallTalk syntax removed from ml.syntax
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-04-17 22:54:35 +03:00
Mikhail S. Pobolovets
04a446b237 Merge branch '324_viewing_man_w_references' 2009-04-17 21:33:18 +03:00
Sergei Trofimovich
8f181d9e42 mc.ext: man: fixed cat as fallback for zsoelim
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-04-17 21:16:17 +03:00
Slava Zanko
6568cad9df Fixies for search stuff in editor.
src/charsets.c:
 * fix error with recoding string for display
edit/editcmd.c:
 * fix core dump if search dialog calls some multiple times
 * fix memory leak
2009-04-17 18:08:51 +03:00
Slava Zanko
95e2fb90ef Fix search with 8-bit system codepage in utf-8 text codepage 2009-04-17 17:05:19 +03:00
Ilia Maslakov
9da8faa62d Merge branch 'm-utf-8' of ssh://angel_il@midnight-commander.org:2222/git/mc into m-utf-8 2009-04-17 12:04:37 +00:00
Slava Zanko
ea30fa7d88 Merge branch 'm-utf-8' of ssh://www.midnight-commander.org:2222/git/mc into m-utf-8
* 'm-utf-8' of ssh://www.midnight-commander.org:2222/git/mc:
  fix: incorrect convert_from_utf_to_current_c, convert_from_utf_to_current
2009-04-17 15:02:41 +03:00
Slava Zanko
3802929f94 edit/editcmd.c: Fixed search and replace with scanf-search 2009-04-17 15:01:25 +03:00
Ilia Maslakov
284098a073 fix: convert_from_utf_to_current_c trap on incorrect strint 2009-04-17 11:35:44 +00:00
Ilia Maslakov
137e3e7259 fix: incorrect convert_from_utf_to_current_c, convert_from_utf_to_current 2009-04-17 10:27:59 +00:00
Slava Zanko
0730efa2fc Merge branch 'm-utf-8' of ssh://www.midnight-commander.org:2222/git/mc into m-utf-8
* 'm-utf-8' of ssh://www.midnight-commander.org:2222/git/mc:
  fix by andrew_b uninitialised tool->compose.
  fix incorrect draw utf-8 text in 8-bit locale
  fix some warnings
  add convert_from_utf_to_current_c, fix little warnings
  add utf8_display global variable, if display bits select utf-8 utf8_display = 1
  add more convertion before draw text
  change charbuf to char from unsigned char
  add: convert input in utf locale to needle
  fix incorrect convertion from utf to display CP
  fix: width utf buffer
  add in core viewer codepage selection from list
  fix: editor status bar
  fix: edit_get_prev_utf segfault, add compare str with start of buf

Conflicts:
	edit/edit.h
2009-04-17 11:52:20 +03:00
Slava Zanko
1e5a201abd Temporary commit. Half-fix searching.
Not fixed search by regexp.
2009-04-17 11:46:06 +03:00
Ilia Maslakov
92dac8d7e3 fix by andrew_b uninitialised tool->compose.
Trouble detected by valgrind as "Conditional jump or move depends on uninitialised value(s)"
2009-04-17 06:25:20 +00:00
Ilia Maslakov
8767909493 fix incorrect draw utf-8 text in 8-bit locale 2009-04-17 06:17:37 +00:00
Ilia Maslakov
42eba5c18c fix some warnings 2009-04-16 21:28:02 +00:00
Ilia Maslakov
eb28a3b2b3 add convert_from_utf_to_current_c, fix little warnings 2009-04-16 21:26:08 +00:00
Ilia Maslakov
df1d805b44 add utf8_display global variable, if display bits select utf-8 utf8_display = 1 2009-04-16 21:22:52 +00:00
Ilia Maslakov
d4148989ed add more convertion before draw text 2009-04-16 21:17:58 +00:00
Ilia Maslakov
c03c4de5cc change charbuf to char from unsigned char 2009-04-16 21:14:48 +00:00
Mikhail S. Pobolovets
b20cd38d0d * lib/mc.ext.in: fix: if zsoelim is absent use cat instead
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-04-16 23:33:49 +03:00
Mikhail S. Pobolovets
121e910351 Merge branch '191_extfs_unrar' 2009-04-16 22:50:03 +03:00
Mikhail S. Pobolovets
07584c35c7 Merge branch '190_srpm_support' 2009-04-16 22:31:48 +03:00
Mikhail S. Pobolovets
e0831ebd2e * vfs/extfs/urar.in: If unrar is not aviable then use rar instead
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-04-16 20:41:25 +03:00
Ilia Maslakov
9cb41f7b43 Merge branch 'm-utf-8' of ssh://angel_il@midnight-commander.org:2222/git/mc into m-utf-8 2009-04-16 16:38:05 +00:00
Ilia Maslakov
2ce1042665 add: convert input in utf locale to needle 2009-04-16 15:12:33 +00:00
Ilia Maslakov
8529756be9 fix incorrect convertion from utf to display CP 2009-04-16 15:10:51 +00:00
Ilia Maslakov
0934b0643a fix: width utf buffer 2009-04-16 15:09:19 +00:00
Ilia Maslakov
408e75c1fa add choice encoding in panel from list ( by call do_select_codepage() ) 2009-04-16 10:32:39 +00:00
Slava Zanko
ac8ae55181 Fix conflicts after rebasing 2009-04-16 13:24:47 +03:00
Slava Zanko
6771a00b4c add in core viewer codepage selection from list
Author: Ilia Maslakov <il.smind@gmail.com>
2009-04-16 13:14:30 +03:00
Ilia Maslakov
7658246c35 fix: editor status bar 2009-04-16 13:14:30 +03:00
Ilia Maslakov
7bcb0b1930 fix: edit_get_prev_utf segfault, add compare str with start of buf 2009-04-16 13:14:29 +03:00
Ilia Maslakov
2fdb3689e2 fix: with status_string on utf-8 char 2009-04-16 13:14:29 +03:00
Andrew Borodin
dd6e11fa9c Unification of widgets API.
widget.h: chaged paremeters order of listbox_new()
and groupbox_new() functions.

widget.c: likewise.

src/achown.c: sync with modified API of WListbox and WGroupbox widgets.
src/boxes.c: likewise.
src/chown.c: likewise.
src/complete.c: likewise.
src/find.c: likewise.
src/hotlist.c: likewise.
src/layout.c: likewise.
src/listmode.c: likewise.
src/option.c: likewise.
src/panelize.c: likewise.
src/wtools.c: likewise.
edit/editcmd.c: likewise.
2009-04-16 13:14:29 +03:00
Andrew Borodin
5141e88f70 Type accuracy.
dialog.h: define values for cb_ret_t enum.

widget.c: removed trailing spaces. Formatting.
(insert_char): type accuracy for cb_ret_t.
(listbox_key): likewise.
2009-04-16 13:14:29 +03:00
Andrew Borodin
12b1081c64 Unification of panel frame painting.
myslang.h: modified definition of ACS_LTEE symbol. Added definition
of ACS_RTEE symbol.

screen.c (show_dir): paint left and right symbols of mini infor separator
as for S-Lang library as for NCurses one.
2009-04-16 13:14:29 +03:00
Slava Zanko
6ecea97973 vfs/vfs.c: Replace str_conv_t to GIConv 2009-04-16 13:14:29 +03:00
Ilia Maslakov
83b2c8406f fix move backward and backspace. 2009-04-16 13:14:29 +03:00
Slava Zanko
4af2c5b938 src/strutil.c: replace call of g_string_append_vprintf() with g_strdup_vprintf and g_string_append
Not all versions of glib2 have function g_string_append_vprintf
2009-04-16 13:14:28 +03:00
Slava Zanko
8e6a6e48b6 edit/{editcmd.c,edit.h,edit.c}: remove catstrs() and freestrs() functions
These functions fully replaced with g_strconcat ()

WARNING! This just stupid replace. Some parts of code need to usage
concat_dir_and_file() function instread of g_strconcat ()
2009-04-16 13:14:28 +03:00
Slava Zanko
2ac6b553c6 Rework strutils for usage GString
instread of self-made buffers.
2009-04-16 13:13:58 +03:00
Mikhail S. Pobolovets
1959b42fdc Merge branch '252_doxygen_desc_src'
Conflicts:

	src/file.h

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-04-16 08:26:52 +03:00
Ilia Maslakov
dbce157307 add in core viewer codepage selection from list 2009-04-15 20:23:49 +00:00
Ilia Maslakov
38c7e229d5 fix: editor status bar 2009-04-15 20:08:44 +00:00
Ilia Maslakov
4374fd4ea5 fix: edit_get_prev_utf segfault, add compare str with start of buf 2009-04-15 19:07:46 +00:00