Rev 6731 | Rev 6782 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6731 | Rev 6738 | ||
---|---|---|---|
Line 6... | Line 6... | ||
6 | #ifndef AUTOBUILD |
6 | #ifndef AUTOBUILD |
7 | #include "lang.h--" |
7 | #include "lang.h--" |
8 | #endif |
8 | #endif |
Line 9... | Line 9... | ||
9 | 9 | ||
10 | //libraries |
10 | //libraries |
11 | #define MEMSIZE 4096 * 256 |
11 | #define MEMSIZE 4096 * 200 |
12 | #include "..\lib\gui.h" |
12 | #include "..\lib\gui.h" |
13 | #include "..\lib\draw_buf.h" |
13 | #include "..\lib\draw_buf.h" |
14 | #include "..\lib\list_box.h" |
14 | #include "..\lib\list_box.h" |
15 | #include "..\lib\cursor.h" |
15 | #include "..\lib\cursor.h" |
Line 28... | Line 28... | ||
28 | #include "..\lib\patterns\http_downloader.h" |
28 | #include "..\lib\patterns\http_downloader.h" |
Line 29... | Line 29... | ||
29 | 29 | ||
Line 30... | Line 30... | ||
30 | char homepage[] = FROM "html\\homepage.htm""\0"; |
30 | char homepage[] = FROM "html\\homepage.htm""\0"; |
31 | 31 | ||
32 | #ifdef LANG_RUS |
32 | #ifdef LANG_RUS |
33 | char version[]="¥ªáâ®¢ë© ¡à 㧥à 1.53"; |
33 | char version[]="¥ªáâ®¢ë© ¡à 㧥à 1.55"; |
34 | ?define IMAGES_CACHE_CLEARED "íè ª à⨮ª ®ç¨é¥" |
34 | ?define IMAGES_CACHE_CLEARED "íè ª à⨮ª ®ç¨é¥" |
35 | ?define T_LAST_SLIDE "â® ¯®á«¥¤¨© á« ©¤" |
35 | ?define T_LAST_SLIDE "â® ¯®á«¥¤¨© á« ©¤" |
36 | char loading[] = " £à㧪 áâà ¨æë... |
36 | char loading[] = " £à㧪 áâà ¨æë... |
Line 41... | Line 41... | ||
41 | ¥¤ ªâ¨à®¢ âì ¨á室¨ª |
41 | ¥¤ ªâ¨à®¢ âì ¨á室¨ª |
42 | áâ®à¨ï |
42 | áâ®à¨ï |
43 | ç¨áâ¨âì ªíè ª à⨮ª |
43 | ç¨áâ¨âì ªíè ª à⨮ª |
44 | ¥¥¤¦¥à § £à㧮ª"; |
44 | ¥¥¤¦¥à § £à㧮ª"; |
45 | #else |
45 | #else |
46 | char version[]="Text-based Browser 1.53"; |
46 | char version[]="Text-based Browser 1.55"; |
47 | ?define IMAGES_CACHE_CLEARED "Images cache cleared" |
47 | ?define IMAGES_CACHE_CLEARED "Images cache cleared" |
48 | ?define T_LAST_SLIDE "This slide is the last" |
48 | ?define T_LAST_SLIDE "This slide is the last" |
49 | char loading[] = "Loading... |
49 | char loading[] = "Loading... |
50 | char page_not_found[] = FROM "html\\page_not_found_en.htm""\0"; |
50 | char page_not_found[] = FROM "html\\page_not_found_en.htm""\0"; |
51 | char accept_language[]= "Accept-Language: en\n"; |
51 | char accept_language[]= "Accept-Language: en\n"; |
Line 210... | Line 210... | ||
210 | do { |
210 | do { |
211 | $lodsb; |
211 | $lodsb; |
212 | $stosb; |
212 | $stosb; |
213 | } while (AL != 0) && (AL != 13) && (AL != 10); |
213 | } while (AL != 0) && (AL != 13) && (AL != 10); |
214 | DSBYTE[EDI-1]='\0'; |
214 | DSBYTE[EDI-1]='\0'; |
215 | if (!strcmp(#URL,"https://")) |
215 | if (!strncmp(#URL,"https://",8)) |
216 | { |
216 | { |
217 | notify("HTTPS protocol is not supported yet"); |
217 | notify("HTTPS protocol is not supported yet"); |
218 | StopLoading(); |
218 | StopLoading(); |
- | 219 | break; |
|
219 | } |
220 | } |
220 | } |
221 | } |
221 | } |
222 | } |
222 | else |
223 | else |
223 | { |
224 | { |
Line 401... | Line 402... | ||
401 | WB1.list.count = WB1.list.first = 0; |
402 | WB1.list.count = WB1.list.first = 0; |
402 | stroka = 0; |
403 | stroka = 0; |
403 | cur_encoding = CH_NULL; |
404 | cur_encoding = CH_NULL; |
404 | if (o_bufpointer) o_bufpointer = free(o_bufpointer); |
405 | if (o_bufpointer) o_bufpointer = free(o_bufpointer); |
405 | anchor_line_num=WB1.list.first; |
406 | anchor_line_num=WB1.list.first; |
406 | anchor[0]='|'; |
407 | //anchor[0]='|'; |
- | 408 | anchor=NULL; |
|
407 | } |
409 | } |
Line 408... | Line 410... | ||
408 | 410 | ||
409 | void OpenPage() |
411 | void OpenPage() |
410 | { |
412 | { |