Commit Graph

517 Commits

Author SHA1 Message Date
Michael Drake ee7df2761f Make dom node children iterator return nserror. 2013-08-16 08:25:24 +01:00
Michael Drake 8747398c98 Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2013-06-03 17:10:14 +01:00
Vincent Sanders bccaa05fdb add finalisation to options and document the API better 2013-06-01 16:09:39 +01:00
Vincent Sanders 9bd2969876 amiga is the only user of the very odd usage of the options API 2013-06-01 16:09:26 +01:00
Chris Young 3b971bb1a7 Remove bool default setter as the user will struggle to override it 2013-06-01 15:21:08 +01:00
Chris Young 0bb08cc5d2 Macros for setting default options and updating user options if they are "as default" 2013-06-01 14:57:49 +01:00
Michael Drake de85b4348a Include stdbool.h. 2013-05-31 10:02:27 +01:00
Vincent Sanders a4f67018fa fix import of old broken Choices 2013-05-29 07:59:27 +01:00
Michael Drake 44f91c9fc8 Ensure colour values around #888888 can be read in HTML output. 2013-05-28 22:15:29 +01:00
Vincent Sanders 68c2013504 add provenance to about:config 2013-05-28 21:36:46 +01:00
Vincent Sanders 06d87fec2b if the colour value is unusable do not assign garbage to teh option 2013-05-28 20:29:37 +01:00
Vincent Sanders 45d309c0e3 copy the options data with memcpy instead 2013-05-28 20:04:42 +01:00
Vincent Sanders a92e5930ff fixup issues with new options API merge 2013-05-28 16:44:46 +01:00
Vincent Sanders 4ae69da5ea build new options code and remove old 2013-05-28 14:16:11 +01:00
Vincent Sanders a2769ec68b add new option API and implementation 2013-05-28 14:16:10 +01:00
Vincent Sanders 35dacc3671 move the logging initialisation out to be call by frontends
This allows each frontend to pass a distinct callback to configure the
output file stream appropriately for their use.
2013-05-23 11:50:57 +01:00
Vincent Sanders 12ff7a47f4 removed unsuded memdebug utilities 2013-05-23 09:29:00 +01:00
Vincent Sanders 447c0fc271 ensure downloaded files are not interpreted 2013-05-22 19:12:26 +01:00
Rob Kendrick (humdrum) bb08964f27 Merge branch 'master' into rjek/bloom 2013-05-17 13:15:25 +01:00
Michael Drake 39cc1a6d4a Add function to get a nsurl's hash value. 2013-05-17 12:25:04 +01:00
Rob Kendrick (humdrum) 60e8f11850 urldb maintains a bloom filter of URLs contained within and consults it when searching 2013-05-17 11:40:43 +01:00
Rob Kendrick (humdrum) 0c45ed935d Better bit and byte selection 2013-05-16 17:24:05 +01:00
Rob Kendrick (humdrum) 7d60132816 Painfully trivial bloom filter implementation to experiment with optimising urldb lookups 2013-05-16 17:15:29 +01:00
Michael Drake 023c014ac4 Tidy up cached descriptor usage and ensure "shrink-wrap" realloc call only ever has to shrink. 2013-05-15 23:30:01 +01:00
Michael Drake 51a5febad7 Cache conversion descriptor since this func. is called many times in series for the same conversion. (UTF-8 --> iso-8859-1) 2013-05-15 22:13:30 +01:00
Vincent Sanders bb9a7bbe6d update with x86 Linux proper triplet 2013-05-12 18:40:53 +01:00
Vincent Sanders e6eecc098b improve script to use case statements as appropriate and fail correctly for unsupported usage 2013-05-11 10:45:19 +01:00
Vincent Sanders 29086c377f add jenkins build script 2013-05-10 19:38:13 +01:00
Vivek Dasmohapatra 70b1a8b1ce Add new translation entries to the master file when importing 2013-05-07 22:20:11 +01:00
Vivek Dasmohapatra 9c6e4c7eb5 Fix unescaping when importing transifex/java-properties format translations 2013-05-07 22:20:11 +01:00
Vivek Dasmohapatra f4af0d86e2 import messages from other formats into a fatmessages file 2013-05-06 14:33:33 +01:00
Vincent Sanders 04c486ab54 perl script to fetch translated resources from transifex 2013-05-06 14:31:56 +01:00
Vincent Sanders c3530a0c39 make filepath_findfile() rely on realpath allocating the output buffer. 2013-05-04 16:42:00 +01:00
Vincent Sanders 52c5cccdeb cleanup tree_create_leaf_node text ownership 2013-05-04 09:49:11 +01:00
Vivek Dasmohapatra 4c4dff3384 Improvements to generated output 2013-05-02 23:08:18 +01:00
Vivek Dasmohapatra 820767e417 Improve the message split script to allow alternate output formats 2013-05-01 11:45:09 +01:00
Michael Drake c3f21572ed Add function to get the byte length of n characters in a utf8 string. 2013-03-17 22:01:42 +00:00
Vincent Sanders 95e726c7cc split sources lists out to their subdirectories as first step towards using core buildsystem 2013-03-11 17:53:52 +00:00
Vincent Sanders cc7f45898b refactor stylesheet handling to separate object from within html rendering 2013-02-24 16:08:37 +00:00
Michael Drake f72da52cfc Fix over-allocation of space for hash table chain heads. 2013-02-22 22:33:36 +00:00
Michael Drake d8af191c0a Include stdbool.h 2013-02-22 13:31:51 +00:00
Michael Drake 7088908cc2 Merge branch 'master' of git://git.netsurf-browser.org/netsurf
Conflicts of doom:
	render/html.c
2013-02-22 13:24:36 +00:00
Michael Drake c2a718075a A load of refactoring of how content selection and input work.
Keypresses now go via content interface.
Contents don't shove the selection object into browser windows any more.
Contents report selection existence by sending message.
HTML content keeps track of where selections in it exist.
Contents report whether they have input focus via caret setting msg.
Caret can be hidden (can still input/paste) or removed.
Consolidate textarea selection handling.
Make textarea report its selection status changes to client.
Various textarea fixes.
Changed how we decide when to clear selections, and give focus.
2013-02-22 12:19:35 +00:00
Vincent Sanders 5be20a0d6e change stylesheet fetching to be generated from the default dom events 2013-02-19 23:51:16 +00:00
Vincent Sanders 3bfb5b96a7 browser_window_navigate refactor 2013-02-18 11:23:27 +00:00
Vincent Sanders 7ab835df8f implement Element::className 2013-01-23 17:00:13 +00:00
Michael Drake 4e756f6088 Remove architecture from UA string. 2013-01-14 13:59:07 +00:00
John-Mark Bell a6b08c674f Fix handling of junk input 2013-01-12 20:57:01 +00:00
John-Mark Bell 261528747c Remove code that hasn't been used since 2004. 2013-01-12 02:35:09 +00:00
John-Mark Bell d0d3d31e97 Revert "Treat cookies from HTTP and HTTPS as identical."
Sadly, this breaks path cookies on HTTPS sites. The correct
fix is to implement RFC6265 in full (probably replacing
urldb with something less complex, too).

This reverts commit 924f8844d4.
2013-01-04 22:06:31 +00:00