Commit Graph

6643 Commits

Author SHA1 Message Date
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
Michael Drake
1d5c6fd0ce Delete unused function.
svn path=/trunk/netsurf/; revision=12731
2011-09-05 10:54:04 +00:00
Michael Drake
a7b886181b Delete dead frames handling.
svn path=/trunk/netsurf/; revision=12730
2011-09-05 10:52:37 +00:00
Vincent Sanders
5c718b2f76 fix windows build, sorce file expansion being done too early
svn path=/trunk/netsurf/; revision=12729
2011-09-05 10:46:53 +00:00
Michael Drake
65886b3539 Don't need to attach children to scaffolding, because there aren't any.
svn path=/trunk/netsurf/; revision=12728
2011-09-05 10:35:59 +00:00
Michael Drake
0ffcfb91b5 Comment out broken copy selection to clipboard stuff and add a TODO.
svn path=/trunk/netsurf/; revision=12727
2011-09-05 10:31:21 +00:00
Michael Drake
8d957ca286 Remove unused nsbeos_gui_window_attach_child function.
svn path=/trunk/netsurf/; revision=12726
2011-09-05 10:06:42 +00:00
Michael Drake
7758677c9e Delete same from GTK code copy in BeOS code.
svn path=/trunk/netsurf/; revision=12725
2011-09-05 10:02:46 +00:00
Michael Drake
e288ed24fc Remove frames handling from gui_create_browser_window().
svn path=/trunk/netsurf/; revision=12724
2011-09-05 09:58:57 +00:00
Michael Drake
ffeb8bc389 Delete some dead frames stuff.
svn path=/trunk/netsurf/; revision=12723
2011-09-05 09:53:54 +00:00
Michael Drake
8edf1fe86f Dig out more dead frames stuff.
svn path=/trunk/netsurf/; revision=12722
2011-09-05 09:47:52 +00:00
John Mark Bell
338544df09 Squash warnings
svn path=/trunk/netsurf/; revision=12721
2011-09-05 07:19:04 +00:00
Vincent Sanders
b051cf466f Add Image cache and inegrate png and jpeg content handlers
Current periodic cache clean algorithm is poor and requires replacing with something suitable (probably a segregated LRU)
The speculative load algorithm is likewise poor and only uses the image size to make a decision.

svn path=/trunk/netsurf/; revision=12720
2011-09-04 23:50:14 +00:00
Chris Young
330227d87a Remove more checks for browser_window_type
svn path=/trunk/netsurf/; revision=12719
2011-09-04 22:35:11 +00:00
Chris Young
985bf9e191 Remove browser_window type from ami_create_menu()
Remove DrawInfo too, as only there for image menus which never worked.

svn path=/trunk/netsurf/; revision=12718
2011-09-04 22:26:24 +00:00
John Mark Bell
0cc93c221b Fix runtime warning
svn path=/trunk/netsurf/; revision=12717
2011-09-04 20:57:12 +00:00
Michael Drake
9856bc0923 Delete redundant browser_window_type test.
svn path=/trunk/netsurf/; revision=12716
2011-09-04 19:18:01 +00:00
Michael Drake
e1f20d37c5 Remove dead code.
svn path=/trunk/netsurf/; revision=12715
2011-09-04 19:00:18 +00:00
Michael Drake
235bc41941 Fix indentation.
svn path=/trunk/netsurf/; revision=12714
2011-09-04 18:53:54 +00:00
Michael Drake
202f972199 Delete a whole bunch of redundant tests for browser_window_type. Front ends now only ever have any connection to browser windows of type BROWSER_WINDOW_NORMAL. Still a couple of uses in there; ami_menu_create() shouldn't need take a browser_window_type param now.
svn path=/trunk/netsurf/; revision=12713
2011-09-04 18:50:46 +00:00
Michael Drake
e9aa4936d5 Remove dead code from gui_create_browser_window().
svn path=/trunk/netsurf/; revision=12712
2011-09-04 18:30:19 +00:00
Michael Drake
5be6bd452d Remove gui_window_position_frame() definition from core and remove all implementations from front ends.
svn path=/trunk/netsurf/; revision=12711
2011-09-04 18:20:24 +00:00
Michael Drake
bd94e21aed Purge dead code out of gui_create_browser_window().
svn path=/trunk/netsurf/; revision=12710
2011-09-04 18:05:54 +00:00
Michael Drake
19317c76ba Implement frames in the core.
svn path=/trunk/netsurf/; revision=12709
2011-09-04 17:24:45 +00:00