summaryrefslogtreecommitdiff
path: root/desktop
Commit message (Collapse)AuthorAgeFilesLines
* + Change core to handle different front end click behaviourMichael Drake2008-06-062-27/+54
| | | | | | | | | styles. (Act on mouse button press or on button release.) + Click hold on CSS scrollbar arrows now pauses before starting to auto-repeat. + Click hold on scrollbar wells will now auto-repeat. svn path=/trunk/netsurf/; revision=4268
* Fix list marker check. Thanks to jmb and mikeL.Michael Drake2008-06-031-1/+1
| | | | svn path=/trunk/netsurf/; revision=4258
* s/wchar_t/uint32_t/gJohn Mark Bell2008-05-162-8/+8
| | | | | | We always assumed that the keycode type was 32bits wide, anyway. wchar_t isn't guaranteed to be that big, so isn't remotely portable. svn path=/trunk/netsurf/; revision=4165
* The core code has always assumed a locale of "C".John Mark Bell2008-05-133-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not change the locale globally, else things will break in weird and wonderful ways. Introduce utils/locale.[ch], which provide locale-specific wrappers for various functions (currently just the <ctype.h> ones). Fix up the few places I can see that actually require that the underlying locale is paid attention to. Some notes: 1) The GTK frontend code has not been touched. It is possible that reading of numeric values (e.g. from the preferences dialogue) may break with this change, particularly in locales that use something other than '.' as their decimal separator. 2) The search code is left unchanged (i.e. assuming a locale of "C"). This may break case insensitive matching of non-ASCII characters. I doubt that ever actually worked, anyway. In future, it should use Unicode case conversion to achieve the same effect. 3) The text input handling in the core makes use of isspace() to detect word boundaries. This is fine for western languages (even in the C locale, which it's currently assuming). It will, however, break for CJK et. al. (this has always been the case, rather than being a new issue) 4) text-transform uses locale-specific variants of to{lower,upper}. In future this should probably be performing Unicode case conversion. This is the only part of the core code that makes use of locale information. In future, if you require locale-specific behaviour, do the following: setlocale(LC_<whatever>, ""); <your operation(s) here> setlocale(LC_<whatever>, "C"); The first setlocale will change the current locale to the native environment. The second setlocale will reset the current locale to "C". Any value other than "" or "C" is probably a bug, unless there's a really good reason for it. In the long term, it is expected that all locale-dependent code will reside in platform frontends -- the core being wholly locale agnostic (though assuming "C" for things like decimal separators). svn path=/trunk/netsurf/; revision=4153
* Remove unnecessary includesJohn Mark Bell2008-05-111-3/+0
| | | | svn path=/trunk/netsurf/; revision=4144
* Don't change URL bar contents until we've actually fetched the page.John Mark Bell2008-04-191-2/+0
| | | | svn path=/trunk/netsurf/; revision=4099
* Launch redirects to unsupported URLs in other applications.John Mark Bell2008-04-191-0/+12
| | | | svn path=/trunk/netsurf/; revision=4098
* Fix comment typos.Michael Drake2008-04-141-4/+4
| | | | svn path=/trunk/netsurf/; revision=4097
* Remove text export build config option. Tidy up save_text code.Michael Drake2008-04-132-7/+2
| | | | svn path=/trunk/netsurf/; revision=4095
* Rewrite text export to use box tree. Improves output formatting. Simplify ↵Michael Drake2008-04-134-164/+277
| | | | | | selection saving. svn path=/trunk/netsurf/; revision=4094
* 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-112-93/+175
| | | | svn path=/trunk/netsurf/; revision=4092
* Improve click handling in text inputs.Michael Drake2008-04-082-5/+7
| | | | svn path=/trunk/netsurf/; revision=4087
* const fixes in plotters and history coreRob Kendrick2008-04-073-6/+6
| | | | svn path=/trunk/netsurf/; revision=4083
* Various text selection improvements:Michael Drake2008-04-072-39/+71
| | | | | | | | | + 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
* Improve formatting of copied/saved text from text selections in PREs. ↵Michael Drake2008-04-021-5/+16
| | | | | | Improve formatting in other odd cases too. svn path=/trunk/netsurf/; revision=4071
* Remove unused variable. Update copyright.Michael Drake2008-03-311-2/+1
| | | | svn path=/trunk/netsurf/; revision=4067
* Suppress the box->space spaces after BRs in copied/saved text selections.Michael Drake2008-03-311-1/+2
| | | | svn path=/trunk/netsurf/; revision=4066
* Tidy up.Michael Drake2008-03-312-29/+38
| | | | svn path=/trunk/netsurf/; revision=4064
* Fix formatting of copied or saved text selections.Michael Drake2008-03-312-61/+159
| | | | svn path=/trunk/netsurf/; revision=4063
* Ensure adjust drags before selection adjust selection start point.Michael Drake2008-03-301-1/+1
| | | | svn path=/trunk/netsurf/; revision=4061
* Selection adjustments always change the selection end when click is inside ↵Michael Drake2008-03-292-7/+2
| | | | | | the existing selection. svn path=/trunk/netsurf/; revision=4059
* Change meaning of c->redraw_time to be the earliest time to reflow during ↵Rob Kendrick2008-03-112-3/+3
| | | | | | page asset fetch. Have the time selected vary depending on how long the last reflow took. svn path=/trunk/netsurf/; revision=3925
* Initial attempt at implementing data: URLs. Needs cleaning and verifying ↵Rob Kendrick2008-03-051-0/+1
| | | | | | that I'm using the fetcher API correctly. Appears to work, though. svn path=/trunk/netsurf/; revision=3882
* Squash warnings differently.Michael Drake2008-03-031-4/+3
| | | | svn path=/trunk/netsurf/; revision=3879
* Squash two warnings.Michael Drake2008-03-031-2/+3
| | | | svn path=/trunk/netsurf/; revision=3878
* Periodically reflow the page while fetching a page's objects. Make buffer ↵Michael Drake2008-02-292-5/+17
| | | | | | all rendering default. svn path=/trunk/netsurf/; revision=3874
* 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-253-47/+66
| | | | | | 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
* Set default max fetchers per host option to 2.Michael Drake2008-02-251-1/+1
| | | | svn path=/trunk/netsurf/; revision=3865
* Prevent tabbing into textfields whose styling is display: none;John Mark Bell2008-02-071-4/+10
| | | | svn path=/trunk/netsurf/; revision=3849
* 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
* Fixes for targetting NetBSD (Thanks to Adam Hoka)John Mark Bell2008-01-261-1/+1
| | | | svn path=/trunk/netsurf/; revision=3775
* Implement path plotter (for SVGs within a page).James Bursa2007-12-111-6/+4
| | | | svn path=/trunk/netsurf/; revision=3663
* Increase default font size and line spacing.Michael Drake2007-12-091-2/+2
| | | | svn path=/trunk/netsurf/; revision=3660
* Add empty path plotters to stop crashes.James Bursa2007-11-291-2/+13
| | | | svn path=/trunk/netsurf/; revision=3653
* 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
* Ignore SIGPIPE on all platforms, not just RISC OS.John Mark Bell2007-10-311-0/+9
| | | | svn path=/trunk/netsurf/; revision=3638
* Bug fixes by Franz Korntner.James Bursa2007-10-283-10/+5
| | | | svn path=/trunk/netsurf/; revision=3636
* Remove the old and crap gesture coreDaniel Silverstone2007-09-144-412/+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
* Rename default scale option back to "scale" (changed to "option_scale" by ↵James Bursa2007-08-131-1/+1
| | | | | | mistake). svn path=/trunk/netsurf/; revision=3512
* Update all source code file headers to reflect GPL version 2 only and ↵Vincent Sanders2007-08-0826-86/+364
| | | | | | contain appropriate licence text svn path=/trunk/netsurf/; revision=3486
* Fix division by 0 caused by uninitialised scale value.John Mark Bell2007-08-073-26/+41
| | | | | | Break out initialisation of common parts of struct browser_window into their own function. svn path=/trunk/netsurf/; revision=3481
* Add path plotter (for SVG). Requires other implementations.James Bursa2007-08-071-0/+9
| | | | svn path=/trunk/netsurf/; revision=3479
* Move window scaling from platform-specific code to desktop/browser.c. Modify ↵James Bursa2007-08-076-12/+41
| | | | | | gtk gui to handle scaling in the same way as RO. svn path=/trunk/netsurf/; revision=3478
* Add option_suppress_curl_debug and default it to trueDaniel Silverstone2007-06-272-0/+5
| | | | svn path=/trunk/netsurf/; revision=3373
* Add ca_path option which sets CURLOPT_CAPATH.Daniel Silverstone2007-06-272-0/+4
| | | | svn path=/trunk/netsurf/; revision=3369