summaryrefslogtreecommitdiff
path: root/desktop/browser.c
Commit message (Collapse)AuthorAgeFilesLines
* Tidy and update comments.Michael Drake2008-04-111-26/+37
| | | | svn path=/trunk/netsurf/; revision=4093
* Improve selection of text in floats.Michael Drake2008-04-111-92/+171
| | | | svn path=/trunk/netsurf/; revision=4092
* Improve click handling in text inputs.Michael Drake2008-04-081-1/+5
| | | | svn path=/trunk/netsurf/; revision=4087
* Various text selection improvements:Michael Drake2008-04-071-12/+14
| | | | | | | | | + Fix redraw bug where parts of old selections would get left behind + Enable selection of list marker boxes (bullet points and numbers) + Improve formatting of copied-to-clipboard or saved text selections + Select click anywhere outside current selection now clears current selection svn path=/trunk/netsurf/; revision=4079
* Make content_reset actually do what it's meant to (i.e. reset the ↵John Mark Bell2008-02-271-2/+8
| | | | | | | | appropriate members) Fix up CONTENT_MSG_REFRESH scheduled events to gracefully the refresh URL disappearing from under them. svn path=/trunk/netsurf/; revision=3870
* SignednessWarnings.squash()John Mark Bell2008-02-251-16/+26
| | | | | | Aside from a number of instances of const being cast away (mostly relating to the urldb, which is correct to only export const data) this now builds warning-free with GCC 4 on x86, which is nice. svn path=/trunk/netsurf/; revision=3868
* Add url_fragment to extract fragment from URLJohn Mark Bell2008-02-031-25/+46
| | | | | | | | Optionally allow url_compare to ignore fragments in comparison Fix handling of url_compare result in a few places Fix redirects which contain fragments in the Location header svn path=/trunk/netsurf/; revision=3826
* Rework handling of HTTP redirects -- we now count the number of redirects ↵John Mark Bell2008-01-281-18/+0
| | | | | | | | | | | | | | | | | | | | followed for a given item and abort if a fixed limit is reached. This fixes sites which have pages that redirect to themselves. Redirect handling is now transparent to clients of fetchcache. The new scheme works as follows: 1) Request content for URL (fetchcache() 2) Start fetch of content (fetchcache_go() 3) If no redirect, continue through LOADING, READY, DONE etc. states as before If redirect, receive NEWPTR for each redirect that occurs, then continue through LOADING, READY, DONE etc. states as before. The upshot of this is that redirects result in extra contents being created. It also means that, until LOADING has been received, the content (and thus the URL being fetched) may change. Therefore, fetchcache clients should expect to have to deal with transient data prior to LOADING occurring. As a necessary side-effect of this, the HTML object URLs and CSS @import URLs are no longer stored alongside the relevant contents. These URLs can be accessed by interrogating the url member of struct content anyway, so it was a rather redundant scheme before. svn path=/trunk/netsurf/; revision=3787
* Add break; (these things help, now and again)John Mark Bell2007-11-041-11/+13
| | | | | | Add ACTION_NONE case to the deferred action switch (shuts GCC up) svn path=/trunk/netsurf/; revision=3649
* Fix frame-related crash (images.google) caused by destruction of current ↵Adrian Lees2007-11-041-11/+22
| | | | | | window when clicking URL/submitting form svn path=/trunk/netsurf/; revision=3644
* Bug fixes by Franz Korntner.James Bursa2007-10-281-1/+1
| | | | svn path=/trunk/netsurf/; revision=3636
* Remove the old and crap gesture coreDaniel Silverstone2007-09-141-6/+0
| | | | svn path=/trunk/netsurf/; revision=3537
* Fix for Shift+Adjust clicks on links by Christopher Martin.Michael Drake2007-08-261-4/+5
| | | | svn path=/trunk/netsurf/; revision=3533
* Update all source code file headers to reflect GPL version 2 only and ↵Vincent Sanders2007-08-081-4/+14
| | | | | | contain appropriate licence text svn path=/trunk/netsurf/; revision=3486
* Fix division by 0 caused by uninitialised scale value.John Mark Bell2007-08-071-16/+35
| | | | | | Break out initialisation of common parts of struct browser_window into their own function. svn path=/trunk/netsurf/; revision=3481
* Move window scaling from platform-specific code to desktop/browser.c. Modify ↵James Bursa2007-08-071-1/+20
| | | | | | gtk gui to handle scaling in the same way as RO. svn path=/trunk/netsurf/; revision=3478
* Remove the netsurf/ from the include paths and rationalise use of <> vs "" ↵Daniel Silverstone2007-05-301-26/+26
| | | | | | | | | | | | | | in includes NetSurf includes are now done with ""s and other system includes with <>s as C intended. The scandeps tool has been updated to only look for ""ed includes, and to verify that the files exist in the tree before adding them to the dependency lines. The depend rule has therefore been augmented to make sure the autogenerated files are built before it is run. This is untested under self-hosted RISC OS builds. All else tested and works. svn path=/trunk/netsurf/; revision=3307
* Don't block new windows for Adjust-click on target='_blank' links.Richard Wilson2007-04-081-1/+4
| | | | svn path=/trunk/netsurf/; revision=3253
* Open window targets with a new name in a new window. Fix handling of ↵Richard Wilson2007-04-071-41/+52
| | | | | | Adjust-click on a form submit when new window opening is disabled. svn path=/trunk/netsurf/; revision=3248
* Minor tidyingJohn Mark Bell2007-03-251-9/+2
| | | | svn path=/trunk/netsurf/; revision=3224
* Content handlers should not call warn_user - they should broadcast the John Mark Bell2007-03-111-1/+5
| | | | | | | | | | error using content_broadcast and leave it to the content owner(s) to decide what to do about it. Only use warn_user for top-level contents. svn path=/trunk/netsurf/; revision=3204
* Fix handling of cookies in unverifiable transactions caused by a redirect ↵John Mark Bell2007-02-021-12/+19
| | | | | | from a fetch into a browser window which was varifiable. svn path=/trunk/netsurf/; revision=3165
* Make GTK build compile on FreeBSD.James Bursa2007-01-291-0/+1
| | | | svn path=/trunk/netsurf/; revision=3154
* Handle cookies in unverifiable transactionsJohn Mark Bell2007-01-271-26/+58
| | | | svn path=/trunk/netsurf/; revision=3151
* Fix parsing error when an empty HTML data is returned. Add HTTP status and ↵James Bursa2007-01-131-6/+2
| | | | | | other information to status bar. svn path=/trunk/netsurf/; revision=3140
* Format frame content to correct initial size. Scale iframe co-ordinates.Richard Wilson2007-01-031-2/+6
| | | | svn path=/trunk/netsurf/; revision=3134
* Reflow iframes on layout (fix 1617625)Richard Wilson2006-12-301-2/+8
| | | | svn path=/trunk/netsurf/; revision=3126
* Implement form targets (fix 1619094)Richard Wilson2006-12-301-18/+16
| | | | svn path=/trunk/netsurf/; revision=3125
* Update project URL.Michael Drake2006-11-271-2/+2
| | | | svn path=/trunk/netsurf/; revision=3073
* Add browser_window_reformat() and use it instead of content_reformat() to ↵James Bursa2006-11-261-29/+57
| | | | | | remove browser_window calls from html.c. svn path=/trunk/netsurf/; revision=3071
* Move frames-related code out of browser.c into a new file. Remove some ↵James Bursa2006-11-261-858/+243
| | | | | | browser_window calls from html.c. svn path=/trunk/netsurf/; revision=3070
* Unescape fragment identifiers.John Mark Bell2006-10-011-5/+21
| | | | svn path=/trunk/netsurf/; revision=2973
* Stop iframes from all getting the same content.Richard Wilson2006-09-081-2/+2
| | | | svn path=/trunk/netsurf/; revision=2935
* Trigger frame recalculation on child frame scale change.Richard Wilson2006-09-081-3/+4
| | | | svn path=/trunk/netsurf/; revision=2934
* Fix 1553282.Richard Wilson2006-09-081-2/+32
| | | | svn path=/trunk/netsurf/; revision=2932
* Simplify and tidy up RISC OS gui_ functions. Fix toolbar height changing ↵Richard Wilson2006-09-061-8/+7
| | | | | | issues for framesets. svn path=/trunk/netsurf/; revision=2924
* Add frame target support to imagemaps.John Mark Bell2006-09-061-56/+56
| | | | svn path=/trunk/netsurf/; revision=2920
* Limit maximum frame nesting level.Richard Wilson2006-09-051-0/+13
| | | | svn path=/trunk/netsurf/; revision=2918
* Make frame border width external to frame.Richard Wilson2006-09-041-0/+12
| | | | svn path=/trunk/netsurf/; revision=2912
* Fix 1551183.Richard Wilson2006-09-041-2/+2
| | | | svn path=/trunk/netsurf/; revision=2911
* Experimental new frames code.Richard Wilson2006-09-021-140/+975
| | | | svn path=/trunk/netsurf/; revision=2906
* Use browser_window_remove_caret() instead of resetting caret-related ↵James Bursa2006-08-281-15/+5
| | | | | | callbacks directly. svn path=/trunk/netsurf/; revision=2896
* Give Adjust precedence over SelectAdrian Lees2006-08-191-6/+6
| | | | svn path=/trunk/netsurf/; revision=2868
* Reposition caret when browser window reformattedAdrian Lees2006-08-131-3/+11
| | | | svn path=/trunk/netsurf/; revision=2839
* Centralise keypress handling (download and query dialogs still need porting ↵John Mark Bell2006-07-131-1/+3
| | | | | | | | over to wimp_event) Make core browser window invalidate caret callback on mouse clicks svn path=/trunk/netsurf/; revision=2746
* Make adjust-back/forwards/up open content in a new window (implement 1431600)Richard Wilson2006-07-051-1/+1
| | | | svn path=/trunk/netsurf/; revision=2717
* Make adjust-clicking submit open a new window (fix 1430135)Richard Wilson2006-07-051-9/+25
| | | | svn path=/trunk/netsurf/; revision=2716
* Fix 1516353 and implement 1352354Richard Wilson2006-07-041-4/+11
| | | | svn path=/trunk/netsurf/; revision=2711
* Fix submission of forms in embedded objects; resolve submission URL at John Mark Bell2006-07-031-23/+10
| | | | | | form creation time rather than at submit. svn path=/trunk/netsurf/; revision=2707
* Don't clone a NULL gesturerDaniel Silverstone2006-06-021-1/+1
| | | | svn path=/trunk/netsurf/; revision=2613