Commit Graph

909 Commits

Author SHA1 Message Date
Michael Drake c98e37be1f Better caret positioning in scrolled frames.
svn path=/trunk/netsurf/; revision=12851
2011-09-21 21:11:16 +00:00
John Mark Bell f27d5a3e15 Remove gui_multitask
svn path=/trunk/netsurf/; revision=12828
2011-09-21 00:25:09 +00:00
John Mark Bell 339bed7272 Virtualise content handler finalisation calls. Remove pointless implementations.
svn path=/trunk/netsurf/; revision=12797
2011-09-15 22:47:50 +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
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
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
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
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
Michael Drake a8a28345dd Handle scrolled (i)frames.
svn path=/trunk/netsurf/; revision=12757
2011-09-06 18:39:28 +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 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 cd45ca469e Move to new bw dimensions.
svn path=/trunk/netsurf/; revision=12747
2011-09-06 10:24:28 +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 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 19317c76ba Implement frames in the core.
svn path=/trunk/netsurf/; revision=12709
2011-09-04 17:24:45 +00:00
John Mark Bell 6807fa854d Sniff content types where appropriate.
We never sniff for CSS, nor for non-page artefacts (e.g. treeview icons)

svn path=/trunk/netsurf/; revision=12707
2011-09-04 06:28:09 +00:00
Michael Drake f878fefeed Optimise out scrollbar action induced redraws with no effect.
svn path=/trunk/netsurf/; revision=12688
2011-08-31 13:04:50 +00:00
Michael Drake 525bf15f73 More robustification.
svn path=/trunk/netsurf/; revision=12678
2011-08-30 18:13:23 +00:00
Michael Drake 401072e305 Make more robust. E.g. zero length scrollbars.
svn path=/trunk/netsurf/; revision=12672
2011-08-27 09:13:23 +00:00
John Mark Bell 5f311d08ef Fix bug #3398114: only unref filename_value if we successfully obtained it
svn path=/trunk/netsurf/; revision=12670
2011-08-25 19:21:09 +00:00
Michael Drake 0794f8c4dd Fix step size for clicks on scrollbar arrow icons.
svn path=/trunk/netsurf/; revision=12669
2011-08-25 18:29:21 +00:00
Michael Drake bbf77c54b9 Fix scrollbar click coords.
svn path=/trunk/netsurf/; revision=12668
2011-08-25 13:34:48 +00:00
Michael Drake bbc06d6449 When scrollbar extents are updated, scale current offset appropriately.
svn path=/trunk/netsurf/; revision=12667
2011-08-25 09:21:41 +00:00
Michael Drake 65398660e5 When passing drag on to it's bw, we don't need to do anything if the drag is for the current bw.
svn path=/trunk/netsurf/; revision=12666
2011-08-24 21:53:58 +00:00
Michael Drake ecff5eaf83 During drags, prevent mouse interaction with other widgets.
svn path=/trunk/netsurf/; revision=12665
2011-08-24 20:44:47 +00:00
Michael Drake aa0b7ed5d7 Set up page drag start in iframes.
svn path=/trunk/netsurf/; revision=12664
2011-08-24 19:26:45 +00:00
Michael Drake a47dff15dd Improve browser window drag tracking, so that drags in internal browser windows (iframes) carry on if pointer goes outside the bw that owns the drag.
svn path=/trunk/netsurf/; revision=12663
2011-08-24 18:22:22 +00:00
Michael Drake 24110be310 Fix treeview deselection redraw issue.
svn path=/trunk/netsurf/; revision=12662
2011-08-24 15:03:02 +00:00
Michael Drake d579559f4d Remove current_redraw_browser global.
svn path=/trunk/netsurf/; revision=12661
2011-08-24 13:48:12 +00:00
Michael Drake 8103377519 Don't need to set current_redraw_browser any more.
svn path=/trunk/netsurf/; revision=12660
2011-08-24 13:45:46 +00:00
Michael Drake 63c07ee28d Core part of search improvement:
+ Split up browser window and content related elements of html & text search.
+ Associate search contexts with contents, rather than browser windows.
+ Remove highlighting of search terms dependency on current_redraw_browser.
+ Fixes issues with search contexts being applied to the wrong content.


svn path=/trunk/netsurf/; revision=12646
2011-08-24 12:29:30 +00:00
Chris Young 4364b280e7 Revert accidental change
svn path=/trunk/netsurf/; revision=12631
2011-07-28 19:29:43 +00:00
Chris Young 0979992f83 Fix memory leak
svn path=/trunk/netsurf/; revision=12630
2011-07-28 19:29:03 +00:00
John Mark Bell 63cc03a5dc Fix GCC 4.6 warnings in core
svn path=/trunk/netsurf/; revision=12629
2011-07-26 21:30:38 +00:00
Michael Drake 16b92d1613 Selection is now subordinate to html and text content types, and disassociated from browser windows. Note: search currently uses hlcache_handle_get_content() to go from bw to h to get at c for search highlighting via selection.
svn path=/trunk/netsurf/; revision=12626
2011-07-26 13:53:42 +00:00
Michael Drake d97e99b02b Remove unused hlcache_handle from search context.
svn path=/trunk/netsurf/; revision=12625
2011-07-26 10:52:26 +00:00
John Mark Bell cefcce0197 Shared URL nodes in the treeview actually want to be readonly. They certainly have no business not copying transient data.
svn path=/trunk/netsurf/; revision=12623
2011-07-24 11:40:08 +00:00
John Mark Bell b0aeeb1e78 Fix double frees on download failure
svn path=/trunk/netsurf/; revision=12621
2011-07-23 18:10:19 +00:00
John Mark Bell 35cf89594d Abort loading content when closing window
svn path=/trunk/netsurf/; revision=12620
2011-07-23 17:53:57 +00:00
Michael Drake 430b63e242 Remove assumption of gui window from search.
svn path=/trunk/netsurf/; revision=12603
2011-07-14 10:27:24 +00:00
Michael Drake 9c91893028 Fix selection for non-gui browser windows (iframes).
Selection no longer uses current_redraw_browser.
Fix long-standing selection bugs on platforms that use action on release behaviour.

svn path=/trunk/netsurf/; revision=12598
2011-07-13 13:20:26 +00:00
Michael Drake 637f726a13 Scale caret height in core
svn path=/trunk/netsurf/; revision=12596
2011-07-11 10:33:43 +00:00
John Mark Bell b34502af82 Refactor http utilities
svn path=/trunk/netsurf/; revision=12595
2011-07-08 08:38:17 +00:00
Michael Drake bc91b72c56 Clean up text input code. Now desktop/textinput.{c|h} is concerend with browser windows only. HTML content specific stuff moved to render/textinput.{c|h} and disassociated from browser windows.
svn path=/trunk/netsurf/; revision=12587
2011-07-07 17:50:04 +00:00
Michael Drake e2681caf9c Reduce forward declaration of functions.
svn path=/trunk/netsurf/; revision=12586
2011-07-07 11:50:45 +00:00
Michael Drake e4a0bebd27 Pass struct rect to browser_window_update_box(), rather than union content_msg_data.
svn path=/trunk/netsurf/; revision=12584
2011-07-06 15:34:49 +00:00