Commit Graph

  • fed99c2cb5 jmb's rework of data: URL handling Rob Kendrick 2008-03-06 11:28:00 +0000
  • 58ee433b67 Add another check for malformed data: URLs Rob Kendrick 2008-03-05 23:09:36 +0000
  • b168d636d0 Many data: fixes. Acid2 no longer crashes NetSurf. Rob Kendrick 2008-03-05 22:57:46 +0000
  • c9bd38f5dd Check for calloc() failing Rob Kendrick 2008-03-05 15:01:42 +0000
  • 0e43415013 Use curl_free() when freeing data: URLs that are URL-encoded instead of using free() Rob Kendrick 2008-03-05 14:57:33 +0000
  • 8e79665248 Initial attempt at implementing data: URLs. Needs cleaning and verifying that I'm using the fetcher API correctly. Appears to work, though. Rob Kendrick 2008-03-05 14:21:29 +0000
  • 9b80498b42 Tidy up the DEP stuff a bit Daniel Silverstone 2008-03-05 12:30:29 +0000
  • f7be887580 Centered tables are a special case. Michael Drake 2008-03-05 08:09:06 +0000
  • f5b638b8de Squash warnings differently. Michael Drake 2008-03-03 15:10:16 +0000
  • 8eda5e9827 Squash two warnings. Michael Drake 2008-03-03 14:52:29 +0000
  • 3986abd20b Add testcase for non-fqdn -- already passes, but may as well keep it for regression testing. John Mark Bell 2008-03-03 13:21:02 +0000
  • 5859cae5d4 Squash warning. Michael Drake 2008-03-01 21:01:04 +0000
  • bae61d9224 Periodically reflow the page while fetching a page's objects. Make buffer all rendering default. Michael Drake 2008-02-29 23:03:26 +0000
  • f752aca0d4 Fix align attributes on TABLE etc being overridden in the table's cells by the default alignment of cells with no align attribute. Michael Drake 2008-02-28 20:36:09 +0000
  • 85bb19c93d Mark old contents as stale if a conditional request succeeded so they'll be flushed from the cache as soon as they're unused. John Mark Bell 2008-02-27 19:13:35 +0000
  • 3a79bcb3da Explicitly mark error pages as non-fresh so they'll get purged from the cache ASAP. John Mark Bell 2008-02-27 18:48:35 +0000
  • 89793c2171 Make content_reset actually do what it's meant to (i.e. reset the appropriate members) Fix up CONTENT_MSG_REFRESH scheduled events to gracefully the refresh URL disappearing from under them. John Mark Bell 2008-02-27 18:38:41 +0000
  • 748937547a Don't meddle with blockquote's margins. Michael Drake 2008-02-26 22:31:38 +0000
  • 1cf46a6792 SignednessWarnings.squash() John Mark Bell 2008-02-25 17:58:00 +0000
  • 674591f63d s/FALSE/false/g s/TRUE/true/g John Mark Bell 2008-02-25 17:08:09 +0000
  • a4e1ffda1a Improve handling of HTML attributes / markup: * Only apply presentational HTML attributes if no more important CSS has been set for the property. (NetSurf used to be a bit hit-and-miss when presentational markup and CSS were mixed.) * Change table cellpadding and border handling to happen as soon the boxes styles are available, rather than after the whole table has been constructed. Also fix default table border colour. * Improve handling of CENTER tag and ALIGN attribute. These could not be correctly supported in the default CSS file, so block level element alignment is now done during box construction. (Fixes #1891379, #1824492, #1723853) Form improvements: * Small MAXLENGTH values on text inputs now reduce element width. (Fixes #1894854) * Prevent select option text from wrapping. Michael Drake 2008-02-25 16:37:48 +0000
  • 11959f49f8 Set default max fetchers per host option to 2. Michael Drake 2008-02-25 11:10:09 +0000
  • 1fc91faff1 Also flag box as invisible so it'll have no effect on layout John Mark Bell 2008-02-25 08:56:11 +0000
  • 73c02364a8 Ignore spurious top-level framesets correctly (previously declared memory exhaustion, which is obviously wrong) John Mark Bell 2008-02-25 08:53:04 +0000
  • 369344518a For form gadgets, specified percentage width is inclusive of margin, border and padding space. Michael Drake 2008-02-17 18:22:06 +0000
  • 9f9d9c9d4f Update SSL certificates to the latest Mozilla certificates using curl/lib/mk-ca-bundle.pl. Number of certificates increased from 94 to 114. James Bursa 2008-02-14 03:39:31 +0000
  • a86e38d9cc Tweak select element style. Michael Drake 2008-02-11 21:18:53 +0000
  • 7d748ae2ff Select element width is width of longest option text. Michael Drake 2008-02-11 17:53:00 +0000
  • 455aefbb91 Make GIF decoding work correctly on big-endian (colors were wrong). James Bursa 2008-02-10 00:35:03 +0000
  • 55445a0daf Reinstate WARNFLAGS Make RISC OS build CFLAGS specify -mpoke-function-name John Mark Bell 2008-02-09 22:37:51 +0000
  • 2c2ac87e37 Prevent tabbing into textfields whose styling is display: none; John Mark Bell 2008-02-07 00:50:37 +0000
  • 5c1f3bd8c8 Move SVG code into a new library, libsvgtiny. James Bursa 2008-02-03 19:11:36 +0000
  • 61e70fee80 Fix makefile and RISC OS !Run file. Michael Drake 2008-02-03 18:54:21 +0000
  • 7177f59309 Improve float positioning. Michael Drake 2008-02-03 18:44:24 +0000
  • 35e8419fc6 Stop the repeating LEMON/DEP for the CSS parser with Makefile.unix Daniel Silverstone 2008-02-03 18:37:26 +0000
  • 7f70acaca6 Silence noisy logging John Mark Bell 2008-02-03 18:21:49 +0000
  • 1d849805b4 Include string.h. Thanks to joty. Michael Drake 2008-02-03 16:43:16 +0000
  • d67a84f7e3 Turn debug output off again. Remove extraneous include. Michael Drake 2008-02-03 14:29:07 +0000
  • 8491aecb35 Ensure min line length takes into account margins, borders and paddings of objects. Michael Drake 2008-02-03 14:24:46 +0000
  • ad6fcea6b0 Add url_fragment to extract fragment from URL 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 John Mark Bell 2008-02-03 12:04:48 +0000
  • eb2c2e3f63 Remove dubious default CSS rule. Michael Drake 2008-02-02 13:36:30 +0000
  • 43e365f0aa Ensure button style is the same as input type=button. Michael Drake 2008-02-02 09:53:42 +0000
  • 477cfc8baf Treat font tag relative sizes of +/- >1 the same as one. Michael Drake 2008-02-02 00:48:39 +0000
  • 87c68e38eb Update GTK form style. Michael Drake 2008-02-02 00:36:50 +0000
  • 04c38876b3 Remove unnecessary #ifdef riscos John Mark Bell 2008-02-02 00:25:21 +0000
  • 2e6d221a42 Fix GTK build. Michael Drake 2008-02-02 00:22:08 +0000
  • 120ca506c1 Make text input boxes with height:auto; and no initial value get a sensible height. Make all form elements have their dimensions based on the configured minimum font size, if the current text size is smaller. Remove redundant code for setting radio icon and checkbox sizes. All em/ex based sizes now respect the min font size, when it's in effect. Updated default styles for form elements. Michael Drake 2008-02-02 00:13:19 +0000
  • 83941da263 Add function to dump working stylesheets John Mark Bell 2008-01-31 01:47:57 +0000
  • 0309c25c2e Revert last change because it made the tracker almost unusable. Michael Drake 2008-01-30 22:09:41 +0000
  • cc3481a2ff Make core fetching code handle verifiability of transactions Make core fetching code be responsible for inserting cookies into the urldb Provide accessor to a fetch's parent url (this is defined as being the URL of the verifiable fetch which caused this one to occur) Make fetchcache's 3xx handling use the parent url when spawning new fetches John Mark Bell 2008-01-30 19:56:41 +0000
  • 087516561f Support SUP and SUB tags with relative position in default CSS file. Michael Drake 2008-01-30 18:30:59 +0000
  • 9164f247c2 Ensure plq is terminated when looking for an URL path. Ensure fetchcache_redirect() normalizes the redirect destination. John Mark Bell 2008-01-30 01:44:57 +0000
  • 1952b8b9ba Stop min gif delay option growing every time choices are saved on nsgtk. Use same scale factor as RISC OS. Michael Drake 2008-01-29 20:46:10 +0000
  • 0c311cf6a2 Add stylesheet for GTK specific rules. Michael Drake 2008-01-29 14:00:56 +0000
  • b74a1a173e Tidy default form element styles. Michael Drake 2008-01-29 13:03:29 +0000
  • 0241f21d4d Fix syntax. Michael Drake 2008-01-29 01:18:23 +0000
  • 3edfd4feb7 Reinstate things lost in the last checkins. Michael Drake 2008-01-29 01:14:20 +0000
  • 30b76c4dfa No need to recalculate a value we already have. Michael Drake 2008-01-29 01:01:02 +0000
  • 38dcd3f172 Apply min font size config option to radio icons and checkboxes. Michael Drake 2008-01-29 00:42:15 +0000
  • 416c81208b Make box dump show "gadget". Michael Drake 2008-01-28 13:48:59 +0000
  • 58724040e5 Render borders after backgrounds. Handle boxes with overflow hidden or scroll and borders correctly. Update copyrights. James Bursa 2008-01-28 04:33:39 +0000
  • 8fdd1f298e Recurse into noscript elements when looking for meta refresh. This would work perfectly, were it not for libxml's html parser terminating head and starting body on sight of a noscript tag. Joy. John Mark Bell 2008-01-28 02:43:06 +0000
  • 75fe183d01 Apply default margin to select and textarea elements too. Michael Drake 2008-01-28 02:25:30 +0000
  • 882c04c2fb Only needed the vertical position changed. Michael Drake 2008-01-28 02:01:04 +0000
  • 9c93407fce Thinly paper over gaping holes in the build system. John Mark Bell 2008-01-28 01:46:29 +0000
  • 78d194cb77 Rework handling of HTTP redirects -- we now count the number of redirects followed for a given item and abort if a fixed limit is reached. This fixes sites which have pages that redirect to themselves. John Mark Bell 2008-01-28 01:35:00 +0000
  • 32fe1bd1bf Replace accidentally checked in files with previous ones. Michael Drake 2008-01-28 01:11:37 +0000
  • 49fce64c1a Fix vertical position of images with margin/borders/padding. Michael Drake 2008-01-28 00:58:31 +0000
  • 48bdeb34c8 Ensure images within inline-blocks are shown properly. Fixed by zamez. Michael Drake 2008-01-27 22:25:11 +0000
  • fcd30e0819 Revert r3781. Michael Drake 2008-01-27 19:08:27 +0000
  • 2a28537fe6 Background area extends to border edge. Michael Drake 2008-01-27 19:06:11 +0000
  • f5d07c4988 Background area extends to border edge. Michael Drake 2008-01-27 18:15:56 +0000
  • b2b6fa0f10 Make inline-blocks have margins. Add defualt margin around form inputs. Michael Drake 2008-01-27 17:39:14 +0000
  • 053f2f830c Hopefully fix inline-block positioning. (Stops form elements from overlapping.) Michael Drake 2008-01-27 11:59:01 +0000
  • 252aa870f8 No need to reduce box height when adding scrollbar. Michael Drake 2008-01-26 23:03:30 +0000
  • ae3555ccdd Fixes for targetting NetBSD (Thanks to Adam Hoka) John Mark Bell 2008-01-26 16:44:17 +0000
  • 205fe6ea65 Remove old TODO docs. Michael Drake 2008-01-22 18:55:10 +0000
  • f69ce8d094 Add icon to distinguish online links. Michael Drake 2008-01-21 20:01:36 +0000
  • e5cadb5afe Update to real new welcome page path. Michael Drake 2008-01-19 23:42:26 +0000
  • 51160e3d34 Fix symlinks John Mark Bell 2008-01-19 23:33:21 +0000
  • 23053f25da Oops; missed default homepage John Mark Bell 2008-01-19 23:30:30 +0000
  • ed3b59964d Fix menu entries John Mark Bell 2008-01-19 23:29:28 +0000
  • 7ef6638af9 Link to new welcome page. Michael Drake 2008-01-19 23:26:58 +0000
  • db79ba2042 Update some paths. (Not all done.) Michael Drake 2008-01-19 23:22:21 +0000
  • 8798a3ccd2 Rename about page John Mark Bell 2008-01-19 23:15:48 +0000
  • 54da4474f7 Remove old files John Mark Bell 2008-01-19 23:01:32 +0000
  • 33ea795dea Update about page to use new CSS file and tidy. Michael Drake 2008-01-19 22:42:48 +0000
  • f8d8a7ef38 Remove unused directories John Mark Bell 2008-01-19 22:17:16 +0000
  • 02e2fab6a3 More work on cookie parser. Our junk value handling is now significantly closer to that of other browsers. John Mark Bell 2008-01-19 01:51:39 +0000
  • e5e2eb09f6 Work on cookies to bring our behaviour closer to the spec and other browsers: + Improve handling of quoted cookies -- now processes nested quotes correctly + Improve cookie output -- now knows which version it's outputting for and processes things appropriately + Add assertion that we're dealing with a domain cookie in the case where the cookie domain and URL host part don't match during validation. + Tidy up fix for broken domain cookie setting -- it's now less confusing to read. + Preserve cookie value quoting, regardless of its necessity. + Modify Cookie file format to save value_was_quoted flag -- version number bumped to 101. + Add more testcases. John Mark Bell 2008-01-17 20:00:55 +0000
  • 2fa8e656a1 The previous fix was broken -- URI paths include the leafname. Make url_path() return the full path (including the leafname). Defaulted cookie path attributes have the leafname and trailing slash stripped. Add testcase for defaulted path. Fix testcase conditions for paths with leafnames. John Mark Bell 2008-01-07 12:01:11 +0000
  • 74078b6e36 Fix potential crash in urldb_dump() Relax 4.3.2(i) checking (Cookie path must be a prefix of URL path). We now permit a cookie path containing the document leafname -- we strip the leafname from the path. Make testsuite build again. Add tests for cookie path checking. John Mark Bell 2008-01-07 04:58:06 +0000
  • 252ad5c476 Add url_leafname() Remove spurious * from url_host_is_ip_address() John Mark Bell 2008-01-07 04:54:08 +0000
  • 76416f1964 GCCSDK 4 build support. John Tytgat 2007-12-28 15:43:57 +0000
  • 13b91169fd Protect <pre> fix in cases where c->style is NULL Daniel Silverstone 2007-12-23 16:09:02 +0000
  • 23781fb862 An INLINE_CONTAINER which contains a TEXT which is zero chars long but *is* in a PRE white-space rule *DOES* contain a text child. Daniel Silverstone 2007-12-23 14:15:11 +0000
  • 6ee6a8c8dc Initial work on new makesystem. See top of Makefile.unix for notes. Not yet finished, will make ML posting when done. Daniel Silverstone 2007-12-22 21:15:58 +0000
  • 6a11f56dca Set SVG filetype's name. Michael Drake 2007-12-16 19:36:28 +0000
  • 99596c7751 Updated Dutch translation by Simon Voortman and Gerard van Katwijk. Michael Drake 2007-12-12 20:07:03 +0000
  • aaa9eba48b Fix non-ASCII text input for GTK build (Dmitry Artamonow) John Mark Bell 2007-12-11 19:34:49 +0000