Commit Graph

6675 Commits

Author SHA1 Message Date
John Mark Bell 3d71da088b Clean up content_factory_register_handler API -- content handlers no longer use the mime type, so don't require it to be interned up front
svn path=/trunk/netsurf/; revision=12796
2011-09-15 22:31:16 +00:00
Michael Drake 50508a6e75 Ensure root bw and gui window before asking front end to remove caret.
svn path=/trunk/netsurf/; revision=12795
2011-09-15 15:06:20 +00:00
Vincent Sanders fe8a22007c fix divide by zero in stats reporting if the cache was never used
svn path=/trunk/netsurf/; revision=12794
2011-09-15 09:25:05 +00:00
Chris Young 6bd1800ef6 Partially convert to use browser_window_contextual_content
svn path=/trunk/netsurf/; revision=12793
2011-09-13 18:42:23 +00:00
Chris Young 64f0938e8b If the prefs window is already open ad Edit Prefs is called from the menu, bring the
already-opened prefs window to the front and make it active.

svn path=/trunk/netsurf/; revision=12792
2011-09-13 16:56:59 +00:00
Chris Young 715a753810 updated kb shortcuts (credit: samir)
svn path=/trunk/netsurf/; revision=12791
2011-09-13 16:42:48 +00:00
Chris Young 049a3eb80a Fix search icon disappearing when layout size bar dragged
svn path=/trunk/netsurf/; revision=12790
2011-09-12 22:38:51 +00:00
Chris Young 6a5b10c685 Convert keypresses to UCS4. Fixes issue with typing Euro symbol (¤). Probably fixes
other characters in more exotic character sets.

svn path=/trunk/netsurf/; revision=12789
2011-09-12 21:56:15 +00:00
Chris Young b2d5492b84 Correct Code2000 address
svn path=/trunk/netsurf/; revision=12788
2011-09-11 18:09:46 +00:00
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