Rev 517 | Rev 529 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 517 | Rev 522 | ||
---|---|---|---|
Line 131... | Line 131... | ||
131 | push app_path |
131 | push app_path |
132 | call [ini.enum_keys] |
132 | call [ini.enum_keys] |
133 | .skip_assoc: |
133 | .skip_assoc: |
134 | xor ebp, ebp |
134 | xor ebp, ebp |
135 | xor esi, esi |
135 | xor esi, esi |
- | 136 | .shortcut_loop: |
|
136 | mov edi, saved_file_name |
137 | mov edi, saved_file_name |
137 | push dword nullstr |
138 | push dword nullstr |
138 | push 512 |
139 | push 512 |
139 | push edi |
140 | push edi |
140 | push dword aShortcut |
141 | push dword aShortcut |
Line 167... | Line 168... | ||
167 | mov edx, ebp |
168 | mov edx, ebp |
168 | mov ecx, esi |
169 | mov ecx, esi |
169 | call xpgrealloc |
170 | call xpgrealloc |
170 | test eax, eax |
171 | test eax, eax |
171 | jnz @f |
172 | jnz @f |
- | 173 | pop esi |
|
172 | mov edi, FolderShortcuts |
174 | mov edi, FolderShortcuts |
173 | mov ecx, 10 |
175 | mov ecx, 10 |
174 | rep stosd |
176 | rep stosd |
175 | jmp .skip_shortcuts |
177 | jmp .skip_shortcuts |
176 | @@: |
178 | @@: |
Line 186... | Line 188... | ||
186 | test al, al |
188 | test al, al |
187 | jnz @b |
189 | jnz @b |
188 | .shortcut_cont: |
190 | .shortcut_cont: |
189 | inc [aShortcut.d] |
191 | inc [aShortcut.d] |
190 | cmp [aShortcut.d], '9' |
192 | cmp [aShortcut.d], '9' |
191 | jbe .skip_assoc |
193 | jbe .shortcut_loop |
192 | mov esi, FolderShortcuts |
194 | mov esi, FolderShortcuts |
193 | mov ecx, 10 |
195 | mov ecx, 10 |
194 | dec ebp |
196 | dec ebp |
195 | .l3: |
197 | .l3: |
196 | lodsd |
198 | lodsd |
Line 1683... | Line 1685... | ||
1683 | pop eax |
1685 | pop eax |
1684 | mov ebx, attrinfo |
1686 | mov ebx, attrinfo |
1685 | int 0x40 |
1687 | int 0x40 |
1686 | test eax, eax |
1688 | test eax, eax |
1687 | pop eax |
1689 | pop eax |
- | 1690 | mov byte [edi], dl |
|
1688 | jnz .createupcont1 |
1691 | jnz .createupcont1 |
1689 | test byte [attrinfo.attr], 10h |
1692 | test byte [attrinfo.attr], 10h |
1690 | jnz .createupdone1 |
1693 | jnz .createupdone1 |
1691 | ; the item required to be a folder, but is file |
1694 | ; the item required to be a folder, but is file |
1692 | push aNotFolder |
1695 | push aNotFolder |
Line 1703... | Line 1706... | ||
1703 | pop eax |
1706 | pop eax |
1704 | pop eax |
1707 | pop eax |
1705 | .ret3: |
1708 | .ret3: |
1706 | ret |
1709 | ret |
1707 | .createupcont1: |
1710 | .createupcont1: |
1708 | mov [edi], dl |
- | |
1709 | dec eax |
1711 | dec eax |
1710 | @@: |
1712 | @@: |
1711 | dec edi |
1713 | dec edi |
1712 | cmp byte [edi], '/' |
1714 | cmp byte [edi], '/' |
1713 | jnz @b |
1715 | jnz @b |
Line 1727... | Line 1729... | ||
1727 | mov byte [edi], 0 |
1729 | mov byte [edi], 0 |
1728 | push eax |
1730 | push eax |
1729 | push RetryOrCancelBtn |
1731 | push RetryOrCancelBtn |
1730 | push 2 |
1732 | push 2 |
1731 | call makedir |
1733 | call makedir |
- | 1734 | mov byte [edi], dl |
|
1732 | mov [bNeedRestoreName], 1 |
1735 | mov [bNeedRestoreName], 1 |
1733 | pop eax |
1736 | pop eax |
1734 | jnz .ret3 |
1737 | jnz .ret3 |
1735 | inc eax |
1738 | inc eax |
1736 | jmp .createupdone1 |
1739 | jmp .createupdone1 |
Line 1864... | Line 1867... | ||
1864 | call delete_file |
1867 | call delete_file |
1865 | ja .f8_multiple_cancel |
1868 | ja .f8_multiple_cancel |
1866 | @@: |
1869 | @@: |
1867 | loop .f8_loop |
1870 | loop .f8_loop |
1868 | .f8_multiple_cancel: |
1871 | .f8_multiple_cancel: |
1869 | jmp .ctrl_r |
1872 | jmp .copydone |
1870 | .f8: |
1873 | .f8: |
1871 | cmp [ebp + panel1_selected_num - panel1_data], 0 |
1874 | cmp [ebp + panel1_selected_num - panel1_data], 0 |
1872 | jnz .f8_has_selected |
1875 | jnz .f8_has_selected |
1873 | call get_curfile_folder_entry |
1876 | call get_curfile_folder_entry |
1874 | cmp [bConfirmDelete], 0 |
1877 | cmp [bConfirmDelete], 0 |
Line 1908... | Line 1911... | ||
1908 | ret |
1911 | ret |
1909 | .f8_allowed: |
1912 | .f8_allowed: |
1910 | mov [del_bSkipAll], 0 |
1913 | mov [del_bSkipAll], 0 |
1911 | mov eax, ecx |
1914 | mov eax, ecx |
1912 | call delete_file |
1915 | call delete_file |
- | 1916 | jmp .copydone |
|
1913 | .ctrl_r: |
1917 | .ctrl_r: |
1914 | ; Rescan panel |
1918 | ; Rescan panel |
1915 | ; call read_folder |
1919 | ; call read_folder |
1916 | ; jmp .done_redraw |
1920 | ; jmp .done_redraw |
1917 | mov eax, [ebp + panel1_index - panel1_data] |
1921 | mov eax, [ebp + panel1_index - panel1_data] |
Line 5267... | Line 5271... | ||
5267 | stc |
5271 | stc |
5268 | .found: |
5272 | .found: |
5269 | pop esi |
5273 | pop esi |
5270 | ret |
5274 | ret |
Line 5271... | Line 5275... | ||
5271 | 5275 | ||
Line 5272... | Line 5276... | ||
5272 | header db 'Kolibri Far 0.34',0 |
5276 | header db 'Kolibri Far 0.35',0 |
5273 | 5277 | ||
Line 5274... | Line 5278... | ||
5274 | nomem_draw db 'No memory for redraw.',0 |
5278 | nomem_draw db 'No memory for redraw.',0 |