Commit Graph

6562 Commits

Author SHA1 Message Date
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
Vincent Sanders 81c52ad494 Initial image content handler refactor
svn path=/trunk/netsurf/; revision=12671
2011-08-27 08:43:51 +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 ddc9964907 Don't need to set current_redraw_browser any more.
svn path=/trunk/netsurf/; revision=12659
2011-08-24 13:43:54 +00:00
Michael Drake 1eaa2a0e8e Don't need to set current_redraw_browser any more.
svn path=/trunk/netsurf/; revision=12658
2011-08-24 13:42:59 +00:00
Michael Drake c263a77d36 Don't need to set current_redraw_browser any more.
svn path=/trunk/netsurf/; revision=12657
2011-08-24 13:39:28 +00:00
Michael Drake 6291e4e398 Don't need to set current_redraw_browser any more.
svn path=/trunk/netsurf/; revision=12656
2011-08-24 13:38:09 +00:00
Michael Drake 1bcfb7500b Don't need to set current_redraw_browser any more.
svn path=/trunk/netsurf/; revision=12655
2011-08-24 13:35:27 +00:00
Michael Drake 42467f16dd Don't need to set current_redraw_browser any more.
svn path=/trunk/netsurf/; revision=12654
2011-08-24 13:33:58 +00:00
Michael Drake 6fed775565 Don't need to set current_redraw_browser any more.
svn path=/trunk/netsurf/; revision=12653
2011-08-24 13:31:03 +00:00
Michael Drake cdbed58a72 Remove last use of current_redraw_browser.
svn path=/trunk/netsurf/; revision=12652
2011-08-24 13:23:31 +00:00
Michael Drake c25692c8ae RISC OS changes for core search update (r12646).
svn path=/trunk/netsurf/; revision=12651
2011-08-24 13:14:16 +00:00
Michael Drake f3deebaa8e Amiga changes for core search update (r12646). Note: untested.
svn path=/trunk/netsurf/; revision=12650
2011-08-24 12:33:15 +00:00
Michael Drake 4adcb4277f Atari changes for core search update (r12646). Note: untested.
svn path=/trunk/netsurf/; revision=12649
2011-08-24 12:32:51 +00:00
Michael Drake 1625022882 Cocoa changes for core search update (r12646). Note: untested.
svn path=/trunk/netsurf/; revision=12648
2011-08-24 12:32:13 +00:00
Michael Drake 48917cbb82 GTK changes for core search update (r12646).
svn path=/trunk/netsurf/; revision=12647
2011-08-24 12:31:27 +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
John Mark Bell 85ec83636d Reject attempts by a stylesheet to import itself
svn path=/trunk/netsurf/; revision=12644
2011-08-23 19:59:13 +00:00
Michael Drake 92d355ed30 Replaced elements' children are not laid out, so don't look at their descendants. Fixes #3380281.
svn path=/trunk/netsurf/; revision=12642
2011-08-23 10:42:03 +00:00
John Mark Bell 664a9381ce Fix bug #3390958: forcibly discard references to any child objects if we fail to complete conversion of an HTML content
svn path=/trunk/netsurf/; revision=12641
2011-08-20 01:13:51 +00:00
Vincent Sanders 0860ac499d refactor to fix warning about out of range enums
split default image finding for toolbar and findbar
reorder to avoid forward declarations
refactor macros to be *slightly* less awful

svn path=/trunk/netsurf/; revision=12640
2011-08-13 22:02:36 +00:00
Ole Loots a8b9f0936f Convert window title to local encoding.
svn path=/trunk/netsurf/; revision=12638
2011-08-05 11:02:33 +00:00
Ole Loots cc52da39f7 Added missing position update when window got moved.
svn path=/trunk/netsurf/; revision=12637
2011-08-05 10:34:06 +00:00
Ole Loots 68b52a6023 Improved accuracy for window resize.
svn path=/trunk/netsurf/; revision=12636
2011-08-05 01:12:03 +00:00
Ole Loots 33aebf6fd1 housekeeping
svn path=/trunk/netsurf/; revision=12635
2011-08-05 01:11:03 +00:00
Ole Loots a1f7517f39 edit comments
svn path=/trunk/netsurf/; revision=12634
2011-08-05 01:10:36 +00:00
Chris Young d7d48c34e6 Redirect non-fatal errors to the NetSurf log
svn path=/trunk/netsurf/; revision=12633
2011-07-31 11:19:52 +00:00
Chris Young e0590ba4da Update from Samir
svn path=/trunk/netsurf/; revision=12632
2011-07-29 22:02:09 +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 3e1bd0d0bf Skip over credentials when lower casing host
svn path=/trunk/netsurf/; revision=12624
2011-07-24 12:11:11 +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 f75b0fca43 Fix motion event handling in GTK treeview
svn path=/trunk/netsurf/; revision=12622
2011-07-24 11:38:26 +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
Chris Young 79268e6d83 use human_friendly_bytesize
svn path=/trunk/netsurf/; revision=12619
2011-07-23 15:34:52 +00:00
Chris Young 7f6b694732 Show existing file size when file already exists on download
svn path=/trunk/netsurf/; revision=12618
2011-07-23 15:19:27 +00:00