Vincent Sanders
d3ddb39102
fix possible missing null termination (coverity 1195410 and 1195411 )
2014-05-11 23:29:55 +01:00
Vincent Sanders
39b0393d31
cleanup utils header, remove cruft and add documentation
2014-05-11 21:31:14 +01:00
Vincent Sanders
7dc170e6d8
we now ensure the operations table is set up early enough the null check is not required
2014-05-10 11:17:34 +01:00
Vincent Sanders
429d6e20f7
remove unused url operations
2014-05-09 10:30:24 +01:00
Vincent Sanders
096bd47ab0
refactor url utility functions to use standard nserror codes and have appropriate documentation.
2014-05-08 00:16:50 +01:00
Vincent Sanders
6349704b5e
fix silly errors in atari and amiga file operation table change
2014-05-07 16:38:58 +01:00
Vincent Sanders
c56642819e
add file operations table and make all frontends use it.
...
This rationalises the path construction and basename file
operations. The default implementation is POSIX which works for all
frontends except windows, riscos and amiga which have differeing path
separators and rules.
These implementations are significantly more robust than the previous
nine implementations and also do not use unsafe strncpy or buffers
with arbitrary length limits.
These implementations also carry full documentation comments.
2014-05-07 16:24:51 +01:00
Vincent Sanders
c1e2da80df
add string utility to join strings
2014-05-07 16:24:30 +01:00
Vincent Sanders
0c5c7159d8
remove uncessary includes
2014-05-02 12:26:25 +01:00
Vincent Sanders
b7c744cf32
make brackets match
2014-05-02 12:01:37 +01:00
Vincent Sanders
3c8769cc4b
OpenBSD headers have strcasestr
2014-05-02 11:46:39 +01:00
Vincent Sanders
99c997bfc6
adjust javascript library build parameters for openbsd
2014-05-02 11:16:32 +01:00
Vincent Sanders
c80a281ea5
update to cope with make tool naming
2014-05-02 11:08:01 +01:00
Vincent Sanders
1eb49059ab
add OpenBSD to jenkins build script
2014-05-02 11:03:43 +01:00
Vincent Sanders
5dd6fa6f22
use compatability macro for mkdir
2014-04-28 17:38:15 +01:00
Vincent Sanders
1fd565cba7
make GTK configuration handling conform to XDG specification.
2014-04-28 16:37:00 +01:00
Michael Drake
2c4825cb38
Remove excessive logging.
2014-04-18 17:30:28 +01:00
Michael Drake
d1223950d7
Handle some directories already existing.
...
When creating the path to the cache directory we were
giving up on the first directory that already existed.
This prevented the path to the cache directory getting
made, which prevented view-source from working if the
path was only patially available.
2014-04-18 17:12:52 +01:00
Michael Drake
2a4f7f6b65
Add more logging for filename init.
2014-04-18 17:07:24 +01:00
Michael Drake
55415ed6cd
Add logging to filename_initialise().
2014-04-18 16:50:58 +01:00
Michael Drake
9c60417f73
Simplify DOM node walker.
2014-03-31 22:09:45 +01:00
Vincent Sanders
20b3c40816
make nsurl_defragment() API more obvious and remove duplicated parameter checking
2014-03-09 16:20:53 +00:00
Vincent Sanders
87f6314dab
move scheduleing into browser operation table
2014-03-09 15:37:40 +00:00
Michael Drake
1228cd7576
Save a call to lwc_string_length.
2014-02-15 12:39:09 +00:00
Michael Drake
4a59399cd7
Ensure allocation includes space for fragment.
2014-02-15 12:32:59 +00:00
Michael Drake
42be1ffa7b
Reject creation of http(s) urls without hosts.
2014-02-11 11:34:10 +00:00
Michael Drake
22d15380f4
Add function to get browser window's extents.
2014-02-08 16:03:06 +00:00
Michael Drake
8bc3a80320
Add function to get bw's URL.
2014-02-08 15:00:08 +00:00
Vincent Sanders
886a3106db
move utf8 local conversion operations to table
2014-02-01 22:17:36 +00:00
Vincent Sanders
d5a971c281
move verbose log global into logging module and remove netsurf.h include
2014-01-29 23:20:19 +00:00
Vincent Sanders
654da2ffb5
move utf8 conversion routines to use nserror instead of their own error enum
2014-01-28 21:40:13 +00:00
Vincent Sanders
8ce0a10670
move path_to_url and url_to_path to fetch operation table
2014-01-25 23:01:32 +00:00
Michael Drake
96e5368d34
Use corestring.
2014-01-25 09:53:54 +00:00
Michael Drake
ae6874d308
Just ref a corestring.
2014-01-24 23:19:46 +00:00
Michael Drake
5787f8335e
Simplify and optimise icon handling.
2014-01-24 23:13:18 +00:00
Michael Drake
14238615a4
Use corestrings for "about", "data", and "resource".
2014-01-24 20:08:41 +00:00
Michael Drake
c4e2fff5a4
Use corestrings for fetch module's lwc strings.
2014-01-24 19:25:07 +00:00
Michael Drake
72510f550b
Use corestrings in box construction.
2014-01-24 18:58:12 +00:00
Vincent Sanders
a2247a75a3
cleanup copyright headers and some doc comments
2014-01-16 13:24:14 +00:00
Vincent Sanders
d47fed4524
move 401 login into operation table
2014-01-16 00:52:17 +00:00
Vincent Sanders
38cb39339a
move filename_from_path and path_add_part into gui operation tables
2014-01-16 00:01:25 +00:00
Daniel Silverstone
6bf609a1a4
Support image inputs
2014-01-05 16:14:17 +00:00
Daniel Silverstone
b1e6c63a2f
Rewrite form_successful_controls() to use the DOM.
...
This stops image inputs from working temporarily, but makes
inputs inside display:none work correctly. As such, this is
a net-win.
2014-01-05 15:51:30 +00:00
Daniel Silverstone
a5bb596eb3
Ensure that file inputs update the dom node and annotate with the unencoded filename
2014-01-04 18:02:50 +00:00
Vincent Sanders
ad3f3590e4
Merge branch 'mmu_man/haiku-fixes'
2014-01-01 19:12:20 +00:00
Michael Drake
cde62790f6
Update for new lpu API.
2013-12-14 23:17:50 +00:00
Michael Drake
fabc086d4a
Rename libcss_node_data key for libdom node user data.
2013-12-13 23:02:15 +00:00
François Revol
d6561e51e0
Fix for gcc2 flexible array declaration
2013-12-07 01:16:22 +01:00
Michael Drake
b0fc9bfcb9
Optimise selection by generating node ancestor element/class/id name bloom filters for new libcss API.
2013-12-01 19:15:14 +00:00
Vincent Sanders
14387a53b7
check mkdir call for errors (coverity 1109834)
2013-11-28 23:10:29 +00:00