/programs/develop/ktcc/trunk/bin/kos32-tcc |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/x-executable |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |
Added: svn:mime-type |
+application/x-executable |
\ No newline at end of property |
/programs/develop/ktcc/trunk/source/Makefile.linux32 |
---|
0,0 → 1,13 |
CC=gcc |
NAME=kos32-tcc |
SRC=libtcc.c tcc.c |
CFLAGS= -DTCC_TARGET_MEOS_LINUX |
LFLAGS= -m32 -static |
all: |
$(CC) $(CFLAGS) $(LFLAGS) $(SRC) -o $(NAME) |
install: |
cp $(NAME) ../bin |
clean: |
rm -f $(NAME) |
/programs/develop/ktcc/trunk/source/libtcc.c |
---|
140,7 → 140,7 |
} |
#endif |
#else // _WIN32 |
#ifdef TCC_TARGET_MEOS |
#if defined TCC_TARGET_MEOS && ! TCC_TARGET_MEOS_LINUX |
/* on Kolibri host, we suppose the lib and includes are at the location of 'tcc' /lib, /include */ |
static void tcc_set_lib_path_kos(TCCState *s) |
{ |
1092,7 → 1092,7 |
#ifdef _WIN32 |
tcc_set_lib_path_w32(s); |
#else |
#ifdef TCC_TARGET_MEOS |
#if defined TCC_TARGET_MEOS && ! TCC_TARGET_MEOS_LINUX |
tcc_set_lib_path_kos(s); |
#else |
tcc_set_lib_path(s, CONFIG_TCCDIR); |
/programs/other/TinyHashView/installer/icons32.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
Property changes: |
Deleted: svn:mime-type |
-image/png |
\ No newline at end of property |
/programs/other/TinyHashView/installer/ASSOC.INI |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/x-wine-extension-ini |
Property changes: |
Deleted: svn:mime-type |
-application/x-wine-extension-ini |
\ No newline at end of property |
/programs/other/TinyHashView/installer/SETUP.SH |
---|
File deleted |
/programs/other/TinyHashView/makefile |
---|
File deleted |
Property changes: |
Deleted: svn:executable |
-* |
\ No newline at end of property |
/programs/other/TinyHashView/build_kex_kossdk.bat |
---|
File deleted |
/programs/other/TinyHashView/Makefile |
---|
0,0 → 1,18 |
KTCC_DIR=../../develop/ktcc/trunk |
NAME=thashview |
KTCC=$(KTCC_DIR)/bin/kos32-tcc |
KPACK=kpack |
SRC=thashview.c algorithms/*.c |
CFLAGS=-nostdinc -I $(KTCC_DIR)/libc/include |
LFLAGS=-nostdlib -L $(KTCC_DIR)/bin/lib $(KTCC_DIR)/bin/lib/start.o |
LIBS = -lck |
all: |
$(KTCC) $(CFLAGS) $(LFLAGS) $(SRC) $(LIBS) -o $(NAME) |
$(KPACK) $(NAME) |
clean: |
rm $(NAME) |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |
/programs/other/TinyHashView/thashview.c |
---|
13,7 → 13,7 |
#define FALSE 0; |
#define MAX_HASH_LEN 65 // ªá¨¬ «ì ï ¤«¨ áâப¨ |
#define WINDOW_W 665 |
#define VERSION "%s - thashview 2.2" |
#define VERSION "%s - thashview 2.3" |
typedef unsigned char bool; |
struct kolibri_system_colors sys_color_table; |
169,7 → 169,7 |
pos_t win_pos = get_mouse_pos(0); //®«ãç ¥¬ ¯®§¨æ¨î ªãàá®à ¬ëè¨. |
sprintf(title,VERSION, filename); // áâ ¢«¨¢ ¥¬ § £®«®¢®ª ®ª |
begin_draw(); // ç¨ ¥¬ à¨á®¢ ¨¥ ¨â¥à䥩á ) |
sys_create_window(win_pos.x, win_pos.y, WINDOW_W, 150, title, GREY, 0x14); // ®§¤ ñ¬ ®ª®. |
sys_create_window(win_pos.x, win_pos.y, WINDOW_W, 150, title, sys_color_table.work_area, 0x14); // ®§¤ ñ¬ ®ª®. |
draw_bar(10, 121, 525,20, WHITE); // ®§¤ ñ¬ ¯àאַ㣮«ì¨ª ¤«ï ¯®«ï ¢¢®¤ |
draw_text_sys(edit_box_buff,15, 125, 0, 0x90000000| edit_box_text_color); // 뢮¤¨¬ ⥪áâ ¨§ ¡ãää¥à ¢¢®¤ |
206,7 → 206,9 |
void paste_to_edit_buffer() // áâ ¢¨âì ¨§ ¡ãää¥à ®¡¬¥ |
{ |
char *temp_buff; |
char *temp_buff=NULL; |
if(kol_clip_num()>0) |
{ |
temp_buff=kol_clip_get(kol_clip_num()-1); |
memset(edit_box_buff,0,MAX_HASH_LEN); |
if(((int)*(temp_buff)>0) && ((int)*(temp_buff+4)==0) && ((int)*(temp_buff+8)==1)) |
215,9 → 217,11 |
str_pos=strlen(edit_box_buff); |
notify_show("'Pasted from clipboard!' -I"); |
edit_box_text_color=BLACK; |
} |
user_free(temp_buff); |
} |
} |
} |
void copy_to_clipboard(char *text) // ®¯¨à«¢ âì ¢ ¡ãää¥à ®¡¬¥ |
296,8 → 300,7 |
void edit_box(oskey_t key) //ãªæ¨ï ॠ«¨§ãîé ï áâப㠢¢®¤ |
{ |
edit_box_text_color=BLACK; |
edit_box_text_color=sys_color_table.frame_area; |
if(key.code==CTRL_V) // ᫨ ¦ â® Ctrl+V â® ¢áâ ¢¨âì ¨§ ¡ãä¥à ®¡¬¥ |
{ |
paste_to_edit_buffer(); |