Commit Graph

  • 693b39f1f1 GTK 2.20 removes some widget property access macros that were deprecated in 2.18. Change uses to new function calls. Allows nsgtk to be built on Ubuntu 10.04. Rob Kendrick 2010-04-13 11:12:28 +0000
  • 250431772f Use API to invalidate content freshness information John Mark Bell 2010-04-12 22:54:51 +0000
  • 1a5b039115 Fix double free of title John Mark Bell 2010-04-12 22:39:21 +0000
  • 3c81d2a527 Ensure url bar is updated with in-progress URL and restored if stop/download occurs Daniel Silverstone 2010-04-12 10:57:41 +0000
  • 8fd3bb959a Make favourite icons part of the HTML content's active set so that we don't complete the fetch until the favicon is finished loading Daniel Silverstone 2010-04-12 10:40:55 +0000
  • 2a0b0dab5b Suppress issues with < 1x1 (i)frames for now in GTK frontend Daniel Silverstone 2010-04-12 09:48:36 +0000
  • f58fa3b2ac Revert last change. Michael Drake 2010-04-12 09:31:34 +0000
  • de6f1a2b2e Make new cache strip the fragment identifier, like fetchcache did. Michael Drake 2010-04-12 09:25:41 +0000
  • 6f8a8495c6 I don't understand the full_redraw flag, or the optimisation gained from not using it. No frontend other than RISC OS ever used it, so stop the RO frontend using it, too. John Mark Bell 2010-04-11 23:32:38 +0000
  • 952682b906 Implement draw_clone() John Mark Bell 2010-04-11 23:11:40 +0000
  • 83944723c0 Now that theme_install owns hlcache handle, ensure we clean it up. Additionally, complete port from struct content to hlcache_handle. John Mark Bell 2010-04-11 23:08:54 +0000
  • dcd33c3798 Port to hlcache-enabled core John Mark Bell 2010-04-11 23:04:06 +0000
  • 18081664eb Provide API to enable a handle's callback to be replaced John Mark Bell 2010-04-11 23:02:49 +0000
  • 11201a1cd7 Yes, ownership of the theme content is passed to theme_install John Mark Bell 2010-04-11 23:01:55 +0000
  • 9e8849c04c Take the easy way out wrt loading messages files: leave it to the RISC OS frontend to do this. John Mark Bell 2010-04-11 22:40:41 +0000
  • 4b8c720ac5 Shrink source buffer to final length on fetch completion John Mark Bell 2010-04-11 21:26:20 +0000
  • 486731e589 Release low-level cache handle when destroying contents John Mark Bell 2010-04-11 20:58:50 +0000
  • 71de3618f1 Implement hlcache_poll(), which drives the low-level cache event loop, and attempts to clean the high-level cache. Call this, instead of llcache_poll(). John Mark Bell 2010-04-11 20:21:13 +0000
  • 7dcc15cbd4 Now that we own imported stylesheets, we can get away with allocating a single blank import and registering that. John Mark Bell 2010-04-11 19:59:59 +0000
  • eb19a649e7 Fix crash in kiosk mode Chris Young 2010-04-11 19:57:06 +0000
  • 88449e3328 Pedantic line break John Mark Bell 2010-04-11 19:51:38 +0000
  • 27bd328df1 fixup windows download window Vincent Sanders 2010-04-11 18:04:31 +0000
  • cca15e14c2 Remove need to constantly type c->data.html in html_destroy(). Fix destruction of linked and inline stylesheets to ensure that the pointer is non-NULL before trying to destroy it. John Mark Bell 2010-04-11 17:20:07 +0000
  • 60d1b74099 Remove redundant todo John Mark Bell 2010-04-11 16:39:58 +0000
  • 0650096403 CSS contents may be shared John Mark Bell 2010-04-11 16:38:16 +0000
  • ff8791a3f7 Ensure content can be shared when retrieving from cache John Mark Bell 2010-04-11 16:37:39 +0000
  • 7577e2a1e6 Ensure quirks mode matches when retrieving contents from cache John Mark Bell 2010-04-11 16:34:23 +0000
  • ad89d5b263 Copy child charset, if any John Mark Bell 2010-04-11 16:23:45 +0000
  • a364888ed2 Fix preprocessor definition for svgtiny John Mark Bell 2010-04-11 15:11:32 +0000
  • 6a88eaf67a Pedantic whitespace changes John Mark Bell 2010-04-11 14:39:26 +0000
  • fe87225ccf Complete low-level cache cleaner John Mark Bell 2010-04-11 14:32:39 +0000
  • 9666787dfa Remove redundant todo John Mark Bell 2010-04-11 14:12:13 +0000
  • a70c67fa35 Support 307 redirects for GET requests John Mark Bell 2010-04-11 14:11:33 +0000
  • 863d5c77c3 Forbid redirects to file:/// URLs John Mark Bell 2010-04-11 14:06:02 +0000
  • 40bac34ffd Bail out if we're redirected to an URL we can't handle John Mark Bell 2010-04-11 14:01:11 +0000
  • 758190f37b Reintroduce redirect limit John Mark Bell 2010-04-11 13:58:12 +0000
  • 3470764041 Remove redundant todos John Mark Bell 2010-04-11 13:29:02 +0000
  • 580fa084de Fix window updates when main window is scrolled. Michael Drake 2010-04-11 12:13:53 +0000
  • 737d6ad557 Merge jmb/kill-reentrancy. r=vince John Mark Bell 2010-04-11 10:52:18 +0000
  • 2bcf632973 Freeing the local charset version once we've finished with it is a good idea too. Chris Young 2010-04-10 19:39:40 +0000
  • 704e7c8d44 Show warning messages in correct charset Chris Young 2010-04-10 19:37:13 +0000
  • e2225502e9 Avoid crash Chris Young 2010-04-10 19:36:53 +0000
  • b0f1b7b170 Improve const-correctness of fetch_start John Mark Bell 2010-04-10 17:13:53 +0000
  • 342fe780c6 Catch calls to html_clone, which is guaranteed to result in breakage, so it's safer to just die, rather than limp on. John Mark Bell 2010-04-10 12:36:21 +0000
  • 24c853281d Return cookies to the same level of working/brokenness as they had before new-cache. John Mark Bell 2010-04-10 12:24:25 +0000
  • ee2a5b40ce Use computed POST data when redirecting, instead of original. Certain redirect methods result in POST being converted to GET. John Mark Bell 2010-04-10 11:56:14 +0000
  • 0613700c5e Debug window is now black on white. Michael Drake 2010-04-09 23:26:27 +0000
  • fee9e16636 Change rendering to use plotter functions. Purge loads of magic numbers. Make the content table look prettier. Separate content table creation and rendering code from RISC OS front end code. The debug window can now trivially be moved to the core. Debug window still currently disabled as it does not work with new cache. Michael Drake 2010-04-09 23:22:30 +0000
  • b6937419e1 Fix broken event handling. Any structures attached to the window_list *must* have a struct nsObject * as their first entry, and handle events outside of gui.c. Chris Young 2010-04-09 22:38:51 +0000
  • 4a4cc0d1bc Introduce content_set_ready. Make content_convert emit events only if content is in appropriate state. Remove no-longer-relevant assertion from content_convert. John Mark Bell 2010-04-09 18:52:44 +0000
  • b2124867db Kill uninitialized warning about 'type' Daniel Silverstone 2010-04-09 09:10:23 +0000
  • 0b0044979c Fix warnings about scroll and value possibly getting used uninitialised. Michael Drake 2010-04-09 09:02:05 +0000
  • dfae5c33d2 Some more asserts to try and help spot multiple-release of llcache handles Daniel Silverstone 2010-04-09 00:06:36 +0000
  • dc3ce6372f Try to handle nonsense status bar width option settings. This is probably only mildly better than just leaving people with almost no status bar by default. Michael Drake 2010-04-08 21:27:55 +0000
  • 169e8e3f91 Status bar width now set in proportion to actual window width. Correctly retain status bar proportion as window is resized. Michael Drake 2010-04-08 20:17:57 +0000
  • ee12fb211f Slightly clearer comment. Michael Drake 2010-04-08 18:55:38 +0000
  • ce57df5bd0 Remove min status bar width limitation. Set initial status bar width when gui_window is created. Note the TODOs in gtk_window.c gui_create_browser_window(). Michael Drake 2010-04-08 18:47:51 +0000
  • 3c12281565 Remove dead special case for gtk status bar width. Michael Drake 2010-04-08 17:51:31 +0000
  • c1d0f32875 Turn on smooth scaling by default, since it doesn't make much difference to preformance and looks better. Align columns in options table. Michael Drake 2010-04-08 17:37:08 +0000
  • 9d38a66299 Make scaled bitmap plotting much faster by only scaling the portion of the bitmap we need to plot. Michael Drake 2010-04-08 17:07:49 +0000
  • 291b4480f1 Cover our backs in the charset == NULL case Daniel Silverstone 2010-04-08 15:41:36 +0000
  • 832ecb9ce3 Allow nscss to retain charset and nscss_clone to use it Daniel Silverstone 2010-04-08 15:40:17 +0000
  • 3b5dbecaf4 Increase scroll increment. Michael Drake 2010-04-08 14:59:13 +0000
  • 2dc7d37a43 GTK's source suggests scroll wheels generally get twice as much scrollypower as arrow keys Daniel Silverstone 2010-04-08 14:49:36 +0000
  • 1bbba38519 Ensure the h/v scrollbars default to 16px step increment Daniel Silverstone 2010-04-08 14:45:24 +0000
  • 2e3d7a2648 Add scroll event support Daniel Silverstone 2010-04-08 14:36:09 +0000
  • b4c3765e34 Pass an empty string as the label for the local history button. While the GTK docs say NULL is reasonable, it causes the ATK layer to produce runtime assertions. Rob Kendrick 2010-04-08 14:28:04 +0000
  • 5b1cbd9686 Update for renamed launch script. Michael Drake 2010-04-08 14:18:50 +0000
  • 64d6093631 Don't bother trying to fetch search provider icons when BMP support is disabled. This code could do with a little rearrangement to make this cleaner. Rob Kendrick 2010-04-08 14:14:27 +0000
  • 8b1cde1bb5 Some X servers set MOD2 for some reason. Limit arrow/pgup/down to 'not alt/control/shift' Daniel Silverstone 2010-04-08 14:07:41 +0000
  • c60d5113d8 Oh, and remove this. Rob Kendrick 2010-04-08 13:50:40 +0000
  • 3d714aa366 Rename nsgtk test launcher, enabled creation of core files, tee log file. Should make it obvious this script is for testing only. Rob Kendrick 2010-04-08 13:50:24 +0000
  • 2b8adb0c8a Move the removal of the retrieval context to prevent a re-entrancy race causing double-release of llcache handles Daniel Silverstone 2010-04-08 13:39:07 +0000
  • 8f1dec6f1d Add missing setting which was preventing gtk tabs from working Daniel Silverstone 2010-04-08 13:29:04 +0000
  • 19a38aa18e Manually clip for scaled plots too. Doesn't make much difference to performance because the creation of scaled bitmaps is so slow. Michael Drake 2010-04-08 13:22:32 +0000
  • 4262232956 Fix missing 'break' introduced by 10300 Daniel Silverstone 2010-04-08 13:18:50 +0000
  • 92bd0d4ce0 Add an assert to clarify a segfault I'm investigating Daniel Silverstone 2010-04-08 13:12:30 +0000
  • 5c55264217 Remove todo -- no longer appropriate Daniel Silverstone 2010-04-08 12:24:29 +0000
  • 45faa483e5 Ensure an error'd fetch's llcache object is implicitly stale so it is not reused Daniel Silverstone 2010-04-08 12:20:20 +0000
  • 6c9e4bea8e Purge FETCH_TYPE which is unused throughout NetSurf. Clearing a todo in llcachec. Daniel Silverstone 2010-04-08 12:16:52 +0000
  • 2b1146bcb3 Remove parent from fetches, clearing a todo from llcache.c Daniel Silverstone 2010-04-08 11:47:05 +0000
  • 6948496d45 Ensure that aborting or releasing hlcache handles will result in nascent retrieval contexts being cleaned up Daniel Silverstone 2010-04-08 11:21:50 +0000
  • 51b27bdf54 Manually clip bitmap area to be plotted. This speeds up rendering considerably. Currently only done for unscaled images. Michael Drake 2010-04-08 11:20:16 +0000
  • bba7fbbd9b Abort and release llcache handle on failure to process data. Make hlcache retrieval ignore erroneous contents. John Mark Bell 2010-04-08 07:09:09 +0000
  • 4682f0ccd8 When we've snapshotted an object, make sure we add the *new* object into the list of uncacheable objects, and not the old one. Otherwise, our cache chains end up being corrupted. John Mark Bell 2010-04-08 07:08:16 +0000
  • 92bf8b1a7b Partly fix tab closing. James Bursa 2010-04-07 22:28:19 +0000
  • fb8fdb4db1 More fixing for new cache. Michael Drake 2010-04-07 19:52:23 +0000
  • 26f75ad18f More fixing for new cache. Michael Drake 2010-04-07 19:40:27 +0000
  • a3977f1521 More fixing for new cache. Michael Drake 2010-04-07 19:23:53 +0000
  • 6381200226 More fixing for new cache. Michael Drake 2010-04-07 19:06:48 +0000
  • d334b18386 More fixing for new cache. Michael Drake 2010-04-07 18:54:44 +0000
  • 2fba2249ee Add function to test whether hlcache_handle's content is locked. Michael Drake 2010-04-07 18:50:18 +0000
  • 9a28ace52b Start fixing for new cache. Michael Drake 2010-04-07 18:04:55 +0000
  • b9e32a9750 Fix for new cache. Michael Drake 2010-04-07 18:01:29 +0000
  • 61fd8d1240 Fix for new cache. Michael Drake 2010-04-07 17:46:19 +0000
  • 6a55bafba8 Fix for new cache. Michael Drake 2010-04-07 17:42:21 +0000
  • ec2f35cb6f Fix for new cache. Michael Drake 2010-04-07 17:37:54 +0000
  • cffb7ea77b Fix for new cache. Michael Drake 2010-04-07 17:33:58 +0000
  • 2975e1df84 Fix for new cache. Michael Drake 2010-04-07 17:29:40 +0000
  • 95b859c2eb Fix for new cache. Michael Drake 2010-04-07 17:05:50 +0000