2,13 → 2,13 |
; project name: TINYPAD |
; compiler: flat assembler 1.67.1 |
; memory to compile: 2.0/7.0 MBytes (without/with size optimizations) |
; version: 4.0.3 |
; last update: 2006-08-28 (Aug 28, 2006) |
; version: 4.0.4 pre |
; last update: 2006-12-30 (Dec 30, 2006) |
; minimal kernel: revision #138 (svn://kolibrios.org/kernel) |
;----------------------------------------------------------------------------- |
; originally by: Ville Michael Turjanmaa >> villemt@aton.co.jyu.fi |
; maintained by: Ivan Poddubny >> ivan-yar@bk.ru |
; Mike Semenyako >> mike.dld@gmail.com |
; maintained by: Mike Semenyako >> mike.dld@gmail.com |
; Ivan Poddubny >> ivan-yar@bk.ru |
;----------------------------------------------------------------------------- |
; TODO: |
; - optimize drawing (reduce flickering) |
19,15 → 19,22 |
; - other bugfixes and speed/size optimizations |
; |
; HISTORY: |
; 4.0.4 pre (mike.dld) |
; bug-fixes: |
; - clear statusbar text if dialog operation cancelled |
; changes: |
; - modified/saved colors now match those in MSVS |
; new features: |
; - recode tables between CP866, CP1251 and KOI8-R (suggested by Victor) |
; 4.0.3 (mike.dld) |
; bug-fixes: |
; - 1-char selection if pressing <BS> out of real line length |
; - fault in `writepos`, added call to function 9 |
; - main menu items weren't highlighted if popup opened and cursor |
; isn't in menu item's area |
; isn't in main menu item's area |
; - statusbar and textboxes drawing fixes (wrong colors) |
; - perform no redraw while pressing Shift, Ctrl, Alt keys |
; - data length from DOCPAK in string representation (fix by diamond) |
; - data length from DOCPAK in string representation (fixed by diamond) |
; changes: |
; - function 70 instead of 58 for files loading/saving |
; - clientarea-relative drawing (less code) |
142,6 → 149,8 |
|
header '01',1,@CODE,TINYPAD_END,AREA_ENDMEM,MAIN_STACK,@PARAMS,self_path |
|
APP_VERSION equ '4.0.4 pre' |
|
;include 'debug.inc' |
|
ASEPC = '-' ; separator character (char) |
175,8 → 184,8 |
RGB(255,255,255) ; RGB(224,224,224) ; RGB(255,255,255) ; background |
RGB(255,255,255) ; RGB(255,255,255) ; RGB(255,255,255) ; selection text |
RGB( 10, 36,106) ; RGB( 0, 0,128) ; RGB( 0, 64,128) ; selection background |
RGB( 0,255, 0) ; modified line marker |
RGB(255,255, 0) ; saved line marker |
RGB(255,255, 0) ; modified line marker |
RGB( 0,255, 0) ; saved line marker |
|
ins_mode db 1 |
|
493,13 → 502,14 |
|
include 'tp-draw.asm' |
include 'tp-key.asm' |
include 'tp-butto.asm' |
include 'tp-button.asm' |
include 'tp-mouse.asm' |
include 'tp-files.asm' |
include 'tp-commo.asm' |
include 'tp-dialo.asm' |
include 'tp-common.asm' |
include 'tp-dialog.asm' |
include 'tp-popup.asm' |
include 'tp-tbox.asm' |
include 'tp-recode.asm' |
|
;include 'lib-ini.asm' |
|
677,7 → 687,7 |
ru,<'SYSFUNCR.TXT',0>,\ |
en,<'SYSFUNCS.TXT',0> |
|
sz htext,'TINYPAD 4.0.3' |
sz htext,'TINYPAD ',APP_VERSION |
|
lszc help_text,b,\ |
ru,':',\ |
720,6 → 730,7 |
ru,'à ¢ª ',popup_edit ,onshow.edit ,\ |
ru,'®¨áª' ,popup_search ,onshow.search ,\ |
ru,' ¯ãáª',popup_run ,onshow.run ,\ |
ru,'®¤¨à®¢ª ',popup_recode ,onshow.recode ,\ |
ru,'¯æ¨¨' ,popup_options,onshow.options,\ |
\ |
en,'File' ,popup_file ,onshow.file ,\ |
726,6 → 737,7 |
en,'Edit' ,popup_edit ,onshow.edit ,\ |
en,'Search' ,popup_search ,onshow.search,\ |
en,'Run' ,popup_run ,onshow.run ,\ |
en,'Encoding',popup_recode ,onshow.recode ,\ |
en,'Options',popup_options,onshow.options |
|
popup_res popup_file,\ |
788,6 → 800,25 |
en,'Debug board' ,'' ,open_debug_board ,\ |
en,'System functions' ,'' ,open_sysfuncs_txt |
|
popup_res popup_recode,\ |
ru,'CP866 -> CP1251' ,'',recode.866.1251,\ |
ru,'CP1251 -> CP866' ,'',recode.1251.866,\ |
ru,'-' ,'',0,\ |
ru,'CP866 -> KOI8-R' ,'',recode.866.koi,\ |
ru,'KOI8-R -> CP866' ,'',recode.koi.866,\ |
ru,'-' ,'',0,\ |
ru,'CP1251 -> KOI8-R' ,'',recode.1251.koi,\ |
ru,'KOI8-R -> CP1251' ,'',recode.koi.1251,\ |
\ |
en,'CP866 -> CP1251' ,'',recode.866.1251,\ |
en,'CP1251 -> CP866' ,'',recode.1251.866,\ |
en,'-' ,'',0,\ |
en,'CP866 -> KOI8-R' ,'',recode.866.koi,\ |
en,'KOI8-R -> CP866' ,'',recode.koi.866,\ |
en,'-' ,'',0,\ |
en,'CP1251 -> KOI8-R' ,'',recode.1251.koi,\ |
en,'KOI8-R -> CP1251' ,'',recode.koi.1251 |
|
popup_res popup_options,\ |
ru,'¥è¨© ¢¨¤...' ,'',0,\ |
ru,'-' ,'',0,\ |