Slava Zanko
f9ab791ac8
vfs/vfs.c: Replace str_conv_t to GIConv
2009-04-15 17:11:00 +03:00
Ilia Maslakov
960b1ef89d
fix move backward and backspace.
2009-04-15 13:56:19 +00:00
Slava Zanko
cada92062a
Fix forgot calls of iconv (replace with g_iconv)
2009-04-15 12:22:34 +03:00
Ilia Maslakov
3236fe285c
fix: segfault in 'edit_save_confirm_cmd', g_free non allocated memory
2009-04-14 20:41:41 +00:00
Slava Zanko
ad2eb8877b
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-14 15:56:46 +03:00
Slava Zanko
ca7427cd35
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-14 15:12:36 +03:00
Slava Zanko
dbf8dd1bc2
Rework strutils for usage GString instread of self-made buffers.
2009-04-14 13:29:01 +03:00
Ilia Maslakov
21c88729a4
fix edit_delete, edit_backspace now work with utf-8
2009-04-14 06:07:35 +00:00
Ilia Maslakov
4411af46bb
fix incorrect move cursor after left/right key pressed
2009-04-14 05:56:02 +00:00
Ilia Maslakov
b6ae0a2479
fix cursor in editor on utf-8 files
2009-04-13 15:33:21 +00:00
Ilia Maslakov
95edc18aa8
add char charbuf[], int charpoint for multibyte input
...
add edit_get_byte_ptr for get pointer to edit current position in buffer
add edit_get_buf_ptr pointer in start of edit buffer
fix edit_translate_key for multibyte input
add
2009-04-13 15:19:06 +00:00
Ilia Maslakov
13f13c1fb0
fix incorrect edit_draw_this_line, edit_get_utf.
...
utf-8 text now showed correct
2009-04-13 09:28:07 +00:00
Ilia Maslakov
f45e7d1dc6
fix: edit_draw_this_line iterators. iterators += utf8char_width
...
fix: edit.c edit_get_utf correct calculate utf8char width
2009-04-13 06:55:43 +00:00
Ilia Maslakov
d29c5d6d5f
reworked: edit_get_utf return int value is utf-8 char, char_width
2009-04-12 19:16:52 +00:00
Ilia Maslakov
7d7560deea
Change print_to_widget, edit_draw_this_line to use struct line_s line[].
...
Extract color attibutes from char to lines->style.
Add definition struct line_s:
struct line_s {
unsigned int ch; <- textchar
unsigned int style; <- color attr
};
2009-04-12 08:09:00 +00:00
Ilia Maslakov
b5c4a9ddf2
add str_isutf8 return 1 if codeset_name is utf8 or utf-8
...
add unsigned int utf8:1 to struct WEdit if utf8 then file multibute codeset
2009-04-09 14:23:08 +00:00
Ilia Maslakov
36bf010af6
add function edit_get_utf_char
2009-04-09 12:04:30 +00:00
Ilia Maslakov
b617640aab
clear trailing spaces in src/strutil.c
2009-04-09 10:29:00 +00:00
Ilia Maslakov
8725fa60a8
add to status bar source codepage
2009-04-09 08:40:59 +00:00
Ilia Maslakov
eba7d3a130
Merge branch 'm-utf-8' of ssh://angel_il@midnight-commander.org:2222/git/mc into m-utf-8
2009-04-09 08:02:43 +00:00
Ilia Maslakov
d004658a1d
add source_codepage to ini file, change mechanism (ctrl-t) of selection codepage
...
if codepage selected then this is source codepage and must be convert to utf-8
2009-04-09 07:57:40 +00:00
Andrew Borodin
6e3cc60e9e
src/screen.c (display_mini_info): don't display incorrect info about ".." directory.
2009-04-06 20:42:52 +04:00
Ilia Maslakov
f845e4b569
revert to strlen in edit_find_filter
2009-04-06 12:45:35 +00:00
Ilia Maslakov
bfa9c961ca
replace isupper to g_ascii_isupper
2009-04-06 11:04:02 +00:00
Ilia Maslakov
87a891a54c
replace islower to g_ascii_islower
...
replace tolower to g_ascii_tolower
2009-04-06 10:58:33 +00:00
Ilia Maslakov
5be16e2a0b
replace name_trunc to str_trunc
2009-04-06 10:38:35 +00:00
Ilia Maslakov
b0729f75fb
replace isalpha to g_ascii_isalpha
...
replace strlen to str_term_width1
add #include "strutil.h" if need
2009-04-06 10:31:12 +00:00
Ilia Maslakov
3b5e2c052f
Merge branch 'utf-8' into master
...
resolve conflicts:
configure.ac
src/complete.c
src/file.c
src/layout.c
src/main.c
src/menu.c
src/screen.c
src/util.c
src/widget.c
src/widget.h
2009-04-04 19:50:46 +00:00
Andrew Borodin
ecd16f7873
util.c (i18n_checktimelength): more correct conflict resolution of previous commit.
2009-04-04 11:39:00 +04:00
Ilia Maslakov
365175195f
fix: cmd.c 'set_panel_encoding' add param to encoding = input_dialog(...)
...
fix: tree.c dirty patching tree_move
fix: util.c dirty patching 'i18n_checktimelength'
fix: view.c 'view_search' bug's
fix: view.c 'view_select_encoding' add param to encoding = input_dialog(...)
fix: some trailing spaces removed
2009-04-03 12:19:09 +00:00
Andrew Borodin
19fddfa787
src/widget.c: WListbox: send DLG_ACTION message to the parent dialog.
2009-04-01 20:23:23 +04:00
Andrew Borodin
9cf728f2c2
src/dialog.h: Fixed comment for DLG_ACTION message.
...
src/widget.c: WListbox: send DLG_ACTION message to the parent dialog.
2009-04-01 20:23:04 +04:00
Ilia Maslakov
3a161f9576
fix: problem when flag Persistent selection swiched off then text not marked
...
by F3 + arrows
2009-03-31 10:39:00 +00:00
Ilia Maslakov
a8eb299506
Fix: defult value of option_persistent_selectionsis, set "yes" by default.
2009-03-28 09:46:07 +00:00
Ilia Maslakov
a443945748
replace "Persistent blocks" to "Persistent selection" in
...
edit/edit.c, edit/edit.h, edit/editoptions.c, src/setup.c
2009-03-28 00:35:25 +00:00
Slava Zanko
2390c46d06
Rename '*persistent_block*' to '*persistent_selection*' for more sence.
...
Thanks to Ossi
2009-03-27 22:48:31 +02:00
Ilia Maslakov
3cc9aac553
Add load/save option editor_persistent_block to ~/.mc/ini;
...
Add option editor_persistent_block to Options/General dialog;
Make persistent/nonpersistent blocks if mcedit;
Enlarged height of Options/General dialog from 17 to 19 lines;
2009-03-26 11:32:18 +00:00
Ilia Maslakov
f22b5d16b5
Add load/save option editor_persistent_block to ~/.mc/ini
...
Add option editor_persistent_block to Options/General dialog
enlarged Options/General dialog Height from 17 to 19 lines
2009-03-26 09:21:43 +00:00
Ilia Maslakov
687d9a40f2
add ESC seq for begPutty
2009-03-25 21:32:25 +00:00
Ilia Maslakov
f312a93332
experemental commit
2009-03-25 21:31:07 +00:00
Andrew Borodin
72d0a117b6
src/screen.c (display_mini_info): don't display incorrect info about ".." directory.
2009-03-23 19:58:35 +03:00
Mikhail S. Pobolovets
fa52c44fcd
syntax/java.syntax: def and enum are now highlighted
...
syntax/Syntax: groovy files are now processed as java files
Patch is provided by stick
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-03-23 13:03:44 +02:00
Mikhail S. Pobolovets
551e9e5153
lib/mc.ext.in: Fixed: Wrong position of .glade 'open'
...
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-03-20 11:35:51 +02:00
Slava Zanko
37ccd9ccac
Open .glade support in mc.ext
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-03-20 11:14:45 +02:00
Sergei Trofimovich
5eb39e7d9a
Merge branch 'mc-4.6'
...
* mc-4.6:
src/file.c: move_dir_dir():
fileopctx.h: set definitely values for FileProgressStatus enum type.
src/file.c: modified error messages fro warn_same_file() function.
non-relevant comment removed
little fix for show message
Denis Vlasenko posted a patch which would fix issue when no dialog for break operation. Trouble: recently i accidentally entered '.' instead of '..' in the file copy dialog on a relatively big tree ... for every file in the tree i got the <foo> and <bar> are the same file message box, without any way to escape except killing mc from the outside. Rework warn_same_file for more usage glib. ... msg = g_strdup_printf() ...
po/sk.po: translation update by Ivan Masár <helix84@centrum.sk>
mountlist: use fsblkcnt_t when available (fixes #179 )
Fixed menu painting for NCurses screen library.
Backport: syntax/spec.syntax: .spec syntax update by adamw (#189 )
lib/mc.ext.in: command line options fix by adamw (#183 )
Conflicts:
ChangeLog
po/az.po
po/be.po
po/bg.po
po/ca.po
po/cs.po
po/da.po
po/de.po
po/el.po
po/es.po
po/eu.po
po/fi.po
po/fr.po
po/hu.po
po/it.po
po/ja.po
po/ko.po
po/lt.po
po/lv.po
po/mn.po
po/nl.po
po/no.po
po/pl.po
po/pt.po
po/pt_BR.po
po/ro.po
po/ru.po
po/sk.po
po/sl.po
po/sr.po
po/sv.po
po/ta.po
po/tr.po
po/uk.po
po/vi.po
po/wa.po
po/zh_CN.po
po/zh_TW.po
src/file.c
2009-03-19 21:35:03 +02:00
Sergei Trofimovich
97496014aa
Merge commit 'origin/179_fsblkcnt_t' into mc-4.6
...
* commit 'origin/179_fsblkcnt_t':
mountlist: use fsblkcnt_t when available (fixes #179 )
2009-03-18 22:04:48 +02:00
Andrew Borodin
8353da9e8f
src/file.c: move_dir_dir():
...
* changed type of move_over variable from int to gboolean;
* fixed memory leak: destdir is not free'd when the same directory is copied;
* don't use the non-valid dbuf variable if mc_stat(d, &dbuf) returns non-zero.
2009-03-17 19:45:00 +00:00
Andrew Borodin
5df2f5aa22
fileopctx.h: set definitely values for FileProgressStatus enum type.
...
file.c file.h: fixed types for file/dir operation functions.
2009-03-17 19:41:29 +00:00
Andrew Borodin
68009d016f
src/file.c: modified error messages fro warn_same_file() function.
...
po/*.po: updated to sync with modified src/file.c file.
2009-03-17 19:40:41 +00:00
Ilia Maslakov
0ffd71949f
non-relevant comment removed
2009-03-17 16:57:22 +00:00