Rev 8954 | Rev 9259 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8954 | Rev 9089 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | //Copyright 2007-2020 by Veliant & Leency |
1 | //Copyright 2007-2021 by Veliant & Leency |
2 | //Asper, lev, Lrz, Barsuk, Nable, hidnplayr... |
2 | //Asper, lev, Lrz, Barsuk, Nable, hidnplayr... |
Line 3... | Line 3... | ||
3 | 3 | ||
4 | //===================================================// |
4 | //===================================================// |
5 | // // |
5 | // // |
Line 232... | Line 232... | ||
232 | if (!strchr(http.cur_url, '?')) { |
232 | if (!strchr(http.cur_url, '?')) { |
233 | cache.add(http.cur_url, http.content_pointer, http.content_received, PAGE, WB1.custom_encoding); |
233 | cache.add(http.cur_url, http.content_pointer, http.content_received, PAGE, WB1.custom_encoding); |
234 | } |
234 | } |
235 | LoadInternalPage(http.content_pointer, http.content_received); |
235 | LoadInternalPage(http.content_pointer, http.content_received); |
236 | free(http.content_pointer); |
236 | free(http.content_pointer); |
- | 237 | DrawOmnibox(); |
|
237 | } |
238 | } |
238 | else if (http_get_type==IMG) { |
239 | else if (http_get_type==IMG) { |
239 | _IMG_RES: |
240 | _IMG_RES: |
240 | if (http.status_code >= 200) && (http.status_code < 300) { |
241 | if (http.status_code >= 200) && (http.status_code < 300) { |
241 | cache.add(cur_img_url, http.content_pointer, http.content_received, IMG, NULL); |
242 | cache.add(cur_img_url, http.content_pointer, http.content_received, IMG, NULL); |
Line 424... | Line 425... | ||
424 | } |
425 | } |
Line 425... | Line 426... | ||
425 | 426 | ||
426 | void EventEditSource() |
427 | void EventEditSource() |
427 | { |
428 | { |
428 | if (check_is_the_adress_local(history.current())) { |
429 | if (check_is_the_adress_local(history.current())) { |
429 | RunProgram("/rd/1/quark", history.current()); |
430 | RunProgram("/rd/1/develop/cedit", history.current()); |
430 | } else { |
431 | } else { |
431 | CreateFile(WB1.bufsize, WB1.bufpointer, "/tmp0/1/WebView_tmp.htm"); |
432 | CreateFile(WB1.bufsize, WB1.bufpointer, "/tmp0/1/WebView_tmp.htm"); |
432 | if (!EAX) RunProgram("/rd/1/quark", "/tmp0/1/WebView_tmp.htm"); |
433 | if (!EAX) RunProgram("/rd/1/develop/cedit", "/tmp0/1/WebView_tmp.htm"); |
433 | } |
434 | } |
Line 434... | Line 435... | ||
434 | } |
435 | } |
435 | 436 |