Commit Graph

6666 Commits

Author SHA1 Message Date
Chris Young
f5d91344b7 Change option to get accepted languages from Locale into a checkbox so it updates at
startup

svn path=/trunk/netsurf/; revision=12787
2011-09-11 14:53:33 +00:00
Chris Young
b3bf57ed79 Stop Esc/Ctrl-[ crashing when browser_window selection is NULL
svn path=/trunk/netsurf/; revision=12786
2011-09-11 09:39:44 +00:00
Chris Young
9d952f2ae2 Setting screen signals this late doesn't work, so revert r12486 completely and return
to busy-looping (but a bit friendlier this time, waiting 1 second between attempts)

svn path=/trunk/netsurf/; revision=12785
2011-09-10 23:25:49 +00:00
Vincent Sanders
2d33a8f85a Make high level cache, low level cache and image cache all be initialised from passed parameters
Calculate all cache sizes from single memory cache size option and sanity check
have a single global struct to hold all parameters instead of several individual variables

svn path=/trunk/netsurf/; revision=12784
2011-09-10 00:55:39 +00:00
Ole Loots
cbeffd4c5f Keep Mouse tracking limited to input_window.
svn path=/trunk/netsurf/; revision=12783
2011-09-09 22:18:49 +00:00
Ole Loots
6cde3888af do not send around message for NULL dialog.
svn path=/trunk/netsurf/; revision=12782
2011-09-09 19:59:36 +00:00
John Mark Bell
46339a296b Move length calculation outside loop
svn path=/trunk/netsurf/; revision=12781
2011-09-08 21:32:07 +00:00
Chris Young
8f09c239af Initialise bitmap ptr to NULL
svn path=/trunk/netsurf/; revision=12780
2011-09-08 19:21:02 +00:00
Vincent Sanders
dec633ca8e make high level cache take a parameter structure
make hlcache have a single global container

svn path=/trunk/netsurf/; revision=12779
2011-09-08 12:04:57 +00:00
John Mark Bell
f6ac059a05 Handle zero-length documents correctly
svn path=/trunk/netsurf/; revision=12778
2011-09-08 08:26:16 +00:00
John Mark Bell
c25d7890e7 Cope with zero-length files
svn path=/trunk/netsurf/; revision=12777
2011-09-08 08:25:48 +00:00
Chris Young
8e67ad8051 Select fonts, sizes and colours for splash screen text rather than relying on system
default

svn path=/trunk/netsurf/; revision=12776
2011-09-07 23:01:53 +00:00
Chris Young
ef56ab5d80 Italian messages update (credit: Samir Hawamdeh)
svn path=/trunk/netsurf/; revision=12775
2011-09-07 21:23:47 +00:00
Michael Drake
2e012a4952 Don't try to render overflow scrollbars for the root element.
svn path=/trunk/netsurf/; revision=12774
2011-09-07 19:26:42 +00:00
Chris Young
98a0c25344 Use Michael Drake's proper splash screen
svn path=/trunk/netsurf/; revision=12773
2011-09-07 18:38:08 +00:00
Chris Young
da87e82a01 Use ISO rand() rather than BSD random() as it is more widely supported.
svn path=/trunk/netsurf/; revision=12772
2011-09-07 17:51:41 +00:00
Michael Drake
7bf7d2d745 Improve resizing frames.
svn path=/trunk/netsurf/; revision=12771
2011-09-07 12:27:37 +00:00
Vincent Sanders
69bee6fb71 move bitmap cache initialisation up a level
improve stats reporting

svn path=/trunk/netsurf/; revision=12770
2011-09-07 09:15:33 +00:00
François Revel
6814a07243 gcc 2.95 knows about named initializers... just not for C++ :(
svn path=/trunk/netsurf/; revision=12768
2011-09-06 22:22:22 +00:00
François Revel
0f4e37d496 C89.
svn path=/trunk/netsurf/; revision=12767
2011-09-06 22:21:33 +00:00
Vincent Sanders
e471efa096 make the image_cache cleaner less brain dead
svn path=/trunk/netsurf/; revision=12766
2011-09-06 22:01:47 +00:00
Chris Young
95dfffb3df Copy a non-iconv.library version of parserutils into the archive in case anybody wants
to save 1MB

svn path=/trunk/netsurf/; revision=12764
2011-09-06 21:37:58 +00:00
Chris Young
8f451932d1 Stop plugin_hack objects crashing when not embedded into a page
svn path=/trunk/netsurf/; revision=12763
2011-09-06 21:03:36 +00:00
Michael Drake
0f40fbae49 Fill out struct after creation.
svn path=/trunk/netsurf/; revision=12762
2011-09-06 21:00:10 +00:00
Chris Young
0f79ab2c19 Avoid button flicker
svn path=/trunk/netsurf/; revision=12761
2011-09-06 20:58:26 +00:00
Chris Young
d225054ecf Swap position of context menu and behaviour options
svn path=/trunk/netsurf/; revision=12760
2011-09-06 20:49:48 +00:00
Michael Drake
074cf6f162 Port cocoa front end to browser_window_get_contextual_content.
svn path=/trunk/netsurf/; revision=12759
2011-09-06 19:18:09 +00:00
Michael Drake
5af1284c73 Port RISC OS front end to browser_window_get_contextual_content. Adds support for saving link pointed to from imagemap. Fixes behaviour with frames.
svn path=/trunk/netsurf/; revision=12758
2011-09-06 19:06:04 +00:00
Michael Drake
a8a28345dd Handle scrolled (i)frames.
svn path=/trunk/netsurf/; revision=12757
2011-09-06 18:39:28 +00:00
Michael Drake
9db586ed63 Port GTK front end's context menu handling to browser_window_get_contextual_content. (Can handle various things the old code couldn't (imagemaps, (i)frames).) Fix "Save Link" menu option to save the target of the link rather than the current content.
svn path=/trunk/netsurf/; revision=12756
2011-09-06 18:15:42 +00:00
Michael Drake
57da2b3af1 Expose contextual content request API to front ends, via browser window layer.
svn path=/trunk/netsurf/; revision=12755
2011-09-06 18:11:10 +00:00
Michael Drake
6167cc8508 HTML handler for contextual content requests.
svn path=/trunk/netsurf/; revision=12754
2011-09-06 18:08:18 +00:00
Michael Drake
4075648e7a Content interface to get at contextual content at point.
svn path=/trunk/netsurf/; revision=12753
2011-09-06 18:07:30 +00:00
Michael Drake
318803d382 Pass html_content to imagemap_get, instead of hlcache_handle.
svn path=/trunk/netsurf/; revision=12752
2011-09-06 16:26:02 +00:00
Michael Drake
4ef33d143d Remove chained self-assignment.
svn path=/trunk/netsurf/; revision=12751
2011-09-06 12:32:38 +00:00
Michael Drake
f9478a4349 Remove old frame dimensions from browser_window struct.
svn path=/trunk/netsurf/; revision=12750
2011-09-06 10:44:47 +00:00
Michael Drake
33ebea90d5 Finish moving frame resizing over to new frame dimensions.
svn path=/trunk/netsurf/; revision=12749
2011-09-06 10:44:00 +00:00
Michael Drake
fb8d73567a Move to new frame dimensions. Need to avoid poking inside bw struct here.
svn path=/trunk/netsurf/; revision=12748
2011-09-06 10:27:42 +00:00
Michael Drake
cd45ca469e Move to new bw dimensions.
svn path=/trunk/netsurf/; revision=12747
2011-09-06 10:24:28 +00:00
Chris Young
fa29fc9cf4 Updated root certificates. Removes compromised DigiNotar certs (see eg.
http://www.computerworld.com/s/article/9219727/Hackers_steal_SSL_certificates_for_CIA_MI6_Mossad)

svn path=/trunk/netsurf/; revision=12745
2011-09-05 21:27:07 +00:00
Michael Drake
95a38c1274 Add more cache stats.
svn path=/trunk/netsurf/; revision=12741
2011-09-05 17:25:08 +00:00
Michael Drake
4e2a0bbc45 Count total number of images that were not rendered and log on exit.
svn path=/trunk/netsurf/; revision=12740
2011-09-05 16:14:25 +00:00
Michael Drake
dca97bc8d4 Remove unused browser_window_owner function.
svn path=/trunk/netsurf/; revision=12739
2011-09-05 15:41:35 +00:00
Michael Drake
0401d52f51 Remove gui_window_frame_resize_start() functions.
svn path=/trunk/netsurf/; revision=12738
2011-09-05 15:35:34 +00:00
Michael Drake
34fe2531f2 Remove gui_window_get_browser_window from core. Remove unused implementations from front ends. Rename the GTK front end implementation to nsgtk_get_browser_window and change the GTK front end to use that.
svn path=/trunk/netsurf/; revision=12737
2011-09-05 13:28:17 +00:00
Michael Drake
ce1ba5e351 Delete frame creation handling.
svn path=/trunk/netsurf/; revision=12736
2011-09-05 12:49:21 +00:00
Michael Drake
39e572e8e7 Delete frame creation handling.
svn path=/trunk/netsurf/; revision=12735
2011-09-05 12:38:56 +00:00
Michael Drake
77a9d997ce Delete dead handling of frame creation destruction.
svn path=/trunk/netsurf/; revision=12734
2011-09-05 12:27:06 +00:00
Michael Drake
1bb727a68b Remove various bits of dead frames handling.
svn path=/trunk/netsurf/; revision=12733
2011-09-05 11:44:11 +00:00
Michael Drake
01b2101e93 Remove frames handling from ro_msg_dataload function.
svn path=/trunk/netsurf/; revision=12732
2011-09-05 11:10:21 +00:00