Subversion Repositories Kolibri OS

Rev

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

Rev 8417 Rev 8425
Line 39... Line 39...
39
//===================================================//
39
//===================================================//
40
//                                                   //
40
//                                                   //
41
//                       DATA                        //
41
//                       DATA                        //
42
//                                                   //
42
//                                                   //
43
//===================================================//
43
//===================================================//
44
char version[]="WebView 3.04";
44
char version[]="WebView 3.06";
Line 45... Line 45...
45
 
45
 
Line 46... Line 46...
46
#define DEFAULT_URL URL_SERVICE_HOMEPAGE
46
#define DEFAULT_URL URL_SERVICE_HOMEPAGE
47
 
47
 
Line 229... Line 229...
229
				redirect_count = 0;
229
				redirect_count = 0;
230
				http.hfree();
230
				http.hfree();
231
				if (http_get_type==PAGE) {
231
				if (http_get_type==PAGE) {
232
					history.add(http.cur_url);
232
					history.add(http.cur_url);
233
					cache.add(http.cur_url, http.content_pointer, http.content_received, PAGE);
233
					cache.add(http.cur_url, http.content_pointer, http.content_received, PAGE);
-
 
234
					free(http.content_pointer);
234
					LoadInternalPage(http.content_pointer, http.content_received);
235
					LoadInternalPage(cache.current_buf, cache.current_size);
235
				}
236
				}
236
				else if (http_get_type==IMG) {
237
				else if (http_get_type==IMG) {
237
					cache.add(cur_img_url, http.content_pointer, http.content_received, IMG);
238
					cache.add(cur_img_url, http.content_pointer, http.content_received, IMG);
-
 
239
					free(http.content_pointer);
238
					GetImg(false);
240
					GetImg(false);
239
				}
241
				}
240
			}
242
			}
241
			break;
243
			break;
242
		default:
244
		default: