Commit Graph

426 Commits

Author SHA1 Message Date
Michael Drake b134279644 Allow the presence of form inputs to be obtained without knowledge of html content internals. 2012-08-20 22:02:37 +01:00
Vincent Sanders cc6c3a7c70 add mint to mmap exclude list 2012-08-13 21:03:37 +01:00
Vincent Sanders f58b5924a5 alter file fetcher to use mmap where available 2012-08-13 17:00:43 +01:00
Michael Drake 8e8c75cfe3 Fix RO build. 2012-08-13 15:41:26 +01:00
Vincent Sanders de982b4d3e fix windows build format specifiers
add install target for windows - creates installer rather than actually installing
2012-08-12 21:52:39 +01:00
Michael Drake b0ca8175bb Dodge a clang warning. 2012-08-09 17:44:59 +01:00
Vincent Sanders db76dd3b1a extend completion types 2012-07-30 22:55:13 +01:00
Michael Drake 4bd23e73ab s/object/option/ 2012-07-26 18:27:15 +01:00
Michael Drake 2f408f0ecb More use of interns. 2012-07-26 15:57:33 +01:00
Michael Drake 81e079e747 Use interns for string comparisons. 2012-07-26 14:49:27 +01:00
Vincent Sanders 25cdea3351 doxygen serious warning cleanup 2012-07-24 16:19:49 +01:00
Michael Drake 26a92340e2 Compare interns instead of strings in html_forms.c 2012-07-23 12:06:43 +01:00
Michael Drake f6f2bcbcde Interned string cleanup, phase 6 (final): Move html.c to corestring. 2012-07-22 23:28:45 +01:00
Michael Drake 5dadb1a0ec Interned string cleanup, phase 5: Move imagemap.c to corestring. 2012-07-22 20:52:34 +01:00
Michael Drake 1947019095 Interned string cleanup, phase 4: Move html_script.c to corestring. 2012-07-22 18:58:22 +01:00
Michael Drake 9de20d9a1a Interned string cleanup, phase 3: Move html_forms.c to corestring. 2012-07-22 18:01:10 +01:00
Michael Drake 2ad24f39da Interned string cleanup, phase 2: Create utils/corestrings and use it in css handler. 2012-07-22 15:48:55 +01:00
Daniel Silverstone 98e2b3f4df git-testament: Cope with detached HEAD better 2012-07-15 13:56:33 +01:00
Daniel Silverstone ea5a8ed771 Make log times line up for neatness 2012-07-07 18:01:57 +01:00
Chris Young 7ae14f77a2 Ensure backslashes are escaped in the GECOS string. Fixes a warning when building under Windows. 2012-07-07 10:14:44 +01:00
John Mark Bell a1b119b2cc Remove bogus sanity checks -- the content factory removed the need for these.
svn path=/trunk/netsurf/; revision=13988
2012-06-26 23:06:37 +00:00
Daniel Silverstone 0437f81c55 Testament generation now supports git
svn path=/trunk/netsurf/; revision=13946
2012-06-04 15:48:21 +00:00
Daniel Silverstone 9dc9e36bc3 Fix FTP detection. Thanks to Etienne Cochard <etienne.cochard@gmail.com> for spotting the bug.
svn path=/trunk/netsurf/; revision=13930
2012-05-23 10:34:30 +00:00
François Revel 647a36e2ee Redo r13857 differently, to avoid issues with non-unixish shells.
svn path=/trunk/netsurf/; revision=13858
2012-04-12 18:17:56 +00:00
François Revel 480282085f Make sure we use the default locale before parsing output of a localized program.
This fixes generating the testament here.

svn path=/trunk/netsurf/; revision=13857
2012-04-12 16:42:02 +00:00
Rob Kendrick 0adac87454 Add a perl script for splitting out messages files again
svn path=/trunk/netsurf/; revision=13669
2012-03-25 10:26:02 +00:00
Rob Kendrick 104e19994e Fix message merging script's manipulation patterns to mean we don't need any code changes on the C side.
svn path=/trunk/netsurf/; revision=13668
2012-03-25 10:25:15 +00:00
Rob Kendrick 99701232b2 Script to merge messages files. More tag manipulation patterns needed.
svn path=/trunk/netsurf/; revision=13662
2012-03-25 09:39:54 +00:00
François Revel 57676ad1c0 Reworked r13532 in a cleaner way. The FLEX_ARRAY_LEN_DECL macro from utils.h should be used when declaring an empty array at end of struct.
svn path=/trunk/netsurf/; revision=13535
2012-03-19 18:24:43 +00:00
François Revel 3d3bb0c5cf Workaround use of C99 flex array. gcc2 did not support it, only 0-len arrays. Possibly a FLEX_ARRAY_LEN macro could be defined in utils.h instead.
svn path=/trunk/netsurf/; revision=13532
2012-03-19 02:45:53 +00:00
Vincent Sanders c0b0dbd373 fix incorrect type in message loading
zlib has changed 
typedef voidp gzFile;
to 
typedef struct gzFile_s *gzFile;

historically the gzFile *fp has efectively expanded to void**fp
The compiler considerd void ** to be identical to void* as void cannot 
be dereferenced and compilation suceeded. 
With a concrete type it does not work.


svn path=/trunk/netsurf/; revision=13517
2012-03-14 16:42:02 +00:00
John Mark Bell 26a1bb7718 Use S_IRWXU where appropriate
svn path=/trunk/netsurf/; revision=13439
2012-02-10 20:02:13 +00:00
Michael Drake 67f2470d5a Pass whether background images are wanted in redraw_context.
svn path=/trunk/netsurf/; revision=13335
2011-12-23 22:39:25 +00:00
John Mark Bell 6ef2df13f7 Fix const correctness
svn path=/trunk/netsurf/; revision=13228
2011-12-04 11:12:17 +00:00
Michael Drake 714f07c48b Rename nsurl_enquire to nsurl_has_component.
svn path=/trunk/netsurf/; revision=13183
2011-11-27 18:32:06 +00:00
Michael Drake de10eff59c Don't escape '|'.
svn path=/trunk/netsurf/; revision=13162
2011-11-23 16:27:20 +00:00
Michael Drake 04f6957141 Fix handling of bad mailto: urls.
svn path=/trunk/netsurf/; revision=13113
2011-11-03 12:15:32 +00:00
Michael Drake 3ecf3c1eaf Fix empty port separator and redundant port removal when credentials are present.
svn path=/trunk/netsurf/; revision=13108
2011-10-31 22:23:02 +00:00
Michael Drake a4dc04e44a Test numbers before calling strncmp.
svn path=/trunk/netsurf/; revision=13107
2011-10-31 22:17:05 +00:00
Michael Drake d64e09aef7 Make sure port's just 80, before removing in http case.
svn path=/trunk/netsurf/; revision=13106
2011-10-31 22:13:38 +00:00
Michael Drake ea761e16e6 nsurl optimisation: Remove a load of branches into fewer.
svn path=/trunk/netsurf/; revision=13105
2011-10-31 22:02:40 +00:00
Michael Drake 3936e6df15 Remove some code that's not needed. Fix redundant port handling.
svn path=/trunk/netsurf/; revision=13104
2011-10-31 21:47:10 +00:00
Michael Drake c6f13db858 Don't need to generate string from scratch in nsurl_defragment, just copy.
svn path=/trunk/netsurf/; revision=13103
2011-10-31 21:27:11 +00:00
Michael Drake f980e6015f nsurl optimisation: Don't use separate allocations for nsurl strings.
svn path=/trunk/netsurf/; revision=13102
2011-10-31 21:13:29 +00:00
Michael Drake a112bfb676 Function for adding fragment onto nsurl.
svn path=/trunk/netsurf/; revision=13087
2011-10-28 19:18:14 +00:00
John Mark Bell f90aeba984 Appease ancient Perl installs.
svn path=/trunk/netsurf/; revision=13079
2011-10-24 22:52:12 +00:00
John Mark Bell da930e48ad Use local variables instead of global filehandles
svn path=/trunk/netsurf/; revision=13068
2011-10-17 21:55:45 +00:00
Michael Drake 62248c06d3 Don't need to rescan authority if there was no scheme. Bring documentation back into sync with code. Make pre-authority slash skipping more robust.
svn path=/trunk/netsurf/; revision=13061
2011-10-15 14:03:13 +00:00
John Mark Bell 5b644acf61 Move timeval_subtract to utils/log.c & make it static, as it's not used anywhere else
svn path=/trunk/netsurf/; revision=13059
2011-10-15 13:11:04 +00:00
John Mark Bell ee930d97e4 Fix handling of no scheme
svn path=/trunk/netsurf/; revision=13055
2011-10-15 11:51:54 +00:00