Subversion Repositories Kolibri OS

Rev

Rev 1035 | Rev 1046 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1035 Rev 1045
Line 5... Line 5...
5
        dd      i_end
5
        dd      i_end
6
memsize dd      mem
6
memsize dd      mem
7
        dd      stacktop
7
        dd      stacktop
8
        dd      0, app_path
8
        dd      0, app_path
Line 9... Line 9...
9
 
9
 
10
version equ '0.62'
10
version equ '0.63'
Line 11... Line 11...
11
version_dword equ 0*10000h + 62
11
version_dword equ 0*10000h + 63
12
 
12
 
13
min_width = 54
13
min_width = 54
14
max_width = 255
14
max_width = 255
Line 202... Line 202...
202
        jb      @f
202
        jb      @f
203
        cmp     eax, 4
203
        cmp     eax, 4
204
        ja      @f
204
        ja      @f
205
        mov     [panel2_colmode], eax
205
        mov     [panel2_colmode], eax
206
@@:
206
@@:
-
 
207
        push    0
-
 
208
        push    aLeftSortMode
-
 
209
        push    aPanels
-
 
210
        push    app_path
-
 
211
        call    [ini.get_int]
-
 
212
        cmp     eax, 14
-
 
213
        jae     @f
-
 
214
        mov     [panel1_sortmode], al
-
 
215
@@:
-
 
216
        push    0
-
 
217
        push    aRightSortMode
-
 
218
        push    aPanels
-
 
219
        push    app_path
-
 
220
        call    [ini.get_int]
-
 
221
        cmp     eax, 14
-
 
222
        jae     @f
-
 
223
        mov     [panel2_sortmode], al
-
 
224
@@:
207
        push    nullstr
225
        push    nullstr
208
        push    512
226
        push    512
209
        push    saved_file_name
227
        push    saved_file_name
210
        push    aEolStyle
228
        push    aEolStyle
211
        push    aEditor
229
        push    aEditor
Line 399... Line 417...
399
        push    ecx esi
417
        push    ecx esi
400
        call    [esi+PluginInfo.unload]
418
        call    [esi+PluginInfo.unload]
401
        pop     esi ecx
419
        pop     esi ecx
402
        jmp     .unload
420
        jmp     .unload
403
.unload_done:
421
.unload_done:
404
;if 0    ; commented due to bug in libini
-
 
405
        cmp     [ini.set_int], aIniSetInt
422
        cmp     [ini.set_int], aIniSetInt
406
        jz      .nosave
423
        jz      .nosave
407
        push    [panel1_colmode]
424
        push    [panel1_colmode]
408
        push    aLeftViewMode
425
        push    aLeftViewMode
409
        push    aPanels
426
        push    aPanels
Line 412... Line 429...
412
        push    [panel2_colmode]
429
        push    [panel2_colmode]
413
        push    aRightViewMode
430
        push    aRightViewMode
414
        push    aPanels
431
        push    aPanels
415
        push    app_path
432
        push    app_path
416
        call    [ini.set_int]
433
        call    [ini.set_int]
-
 
434
        movzx   eax, [panel1_sortmode]
-
 
435
        push    eax
-
 
436
        push    aLeftSortMode
-
 
437
        push    aPanels
-
 
438
        push    app_path
-
 
439
        call    [ini.set_int]
-
 
440
        movzx   eax, [panel2_sortmode]
-
 
441
        push    eax
-
 
442
        push    aRightSortMode
-
 
443
        push    aPanels
-
 
444
        push    app_path
-
 
445
        call    [ini.set_int]
417
.nosave:
446
.nosave:
418
;end if
-
 
419
if CHECK_FOR_LEAKS
447
if CHECK_FOR_LEAKS
420
        mov     ecx, [panel1_files]
448
        mov     ecx, [panel1_files]
421
        call    pgfree
449
        call    pgfree
422
        mov     ecx, [panel2_files]
450
        mov     ecx, [panel2_files]
423
        call    pgfree
451
        call    pgfree
Line 8340... Line 8368...
8340
aConfirmDeleteIncomplete db     'DeleteIncomplete',0
8368
aConfirmDeleteIncomplete db     'DeleteIncomplete',0
Line 8341... Line 8369...
8341
 
8369
 
8342
aPanels                 db      'Panels',0
8370
aPanels                 db      'Panels',0
8343
aLeftViewMode           db      'LeftViewMode',0
8371
aLeftViewMode           db      'LeftViewMode',0
-
 
8372
aRightViewMode          db      'RightViewMode',0
-
 
8373
aLeftSortMode           db      'LeftSortMode',0
Line 8344... Line 8374...
8344
aRightViewMode          db      'RightViewMode',0
8374
aRightSortMode          db      'RightSortMode',0
8345
 
8375
 
Line 8346... Line 8376...
8346
aEditor                 db      'Editor',0
8376
aEditor                 db      'Editor',0