Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 7800 → Rev 7801

/programs/fs/kfm/trunk/data.inc
266,4 → 266,9
align 4
read_folder_3_name:
rb 64
;---------------------------------------------------------------------
align 4
sysopen:
dd 7,0,start_parameter,0,0
db '/sys/@open',0
;---------------------------------------------------------------------
/programs/fs/kfm/trunk/text.inc
1,4 → 1,4
header_text db 'Kolibri File Manager v0.47k',0
header_text db 'Kolibri File Manager v0.48',0
;---------------------------------------------------------------------
fbutton_name:
.f1 db '1 Help',0
/programs/fs/kfm/trunk/tran_ini.inc
75,49 → 75,51
open_file_with_appl:
; edx - start file name
; esi - start extension
mov ebp,files_associations
;mov ebp,files_associations ;Leency
.1:
mov [extension_start],esi
call search_star_and_end_tags
cmp ebp,-1
je .end
call normalize_extension_of_file
.search_association:
cmp [end_tag],edi
jbe .end
mov esi,extension_temp_storage
mov ecx,[extension_size]
inc edi
cld
push edi
rep cmpsb
pop edi
jne .search_association
push esi
mov esi,edi
add esi,[extension_size] ;4
cmp [esi],byte ' '
je @f
pop esi
jmp .search_association
; mov [extension_start],esi ;Leency: do not get file assoc
; call search_star_and_end_tags ;from KFM.INI, use /sys/@open
; cmp ebp,-1
; je .end
; call normalize_extension_of_file
; .search_association:
; cmp [end_tag],edi
; jbe .end
; mov esi,extension_temp_storage
; mov ecx,[extension_size]
; inc edi
; cld
; push edi
; rep cmpsb
; pop edi
; jne .search_association
; push esi
; mov esi,edi
; add esi,[extension_size] ;4
; cmp [esi],byte ' '
; je @f
; pop esi
; jmp .search_association
; @@:
; add esp,4
; inc esi
; mov edi,file_name ;start_file_data.name
; xor eax,eax
; @@:
; cld
; lodsb
; stosb
; cmp al,' '
; cmp al,13
; jnz @b
; mov [edi-1],byte 0 ;'#'
; cmp [use_patch],0
; je @f
; mov [use_patch],0
 
.run_sysopen:
@@:
add esp,4
inc esi
mov edi,file_name ;start_file_data.name
xor eax,eax
@@:
cld
lodsb
stosb
cmp al,' '
cmp al,13
jnz @b
mov [edi-1],byte 0 ;'#'
cmp [use_patch],0
je @f
mov [use_patch],0
jmp .continue
@@:
cmp [select_panel_counter],0
jne @f
mov esi,read_folder_name ;read_folder.name
154,7 → 156,8
jnz @b
.continue:
mov [start_file_data.param],start_parameter
call start_appl
;call start_appl ;Leency
mcall 70,sysopen ;Leency
cmp eax,0
jge @f
mov ebx,0