Commit Graph

12237 Commits

Author SHA1 Message Date
Vincent Sanders
16dde3c704 make framebuffer use nsutils library monotonic times 2016-04-21 13:50:16 +01:00
Vincent Sanders
77a1b4b5e0 replace wallclock API usage with nsutils monitonic time 2016-04-21 13:12:56 +01:00
Vincent Sanders
377652e047 fix missing assert include due to core changes 2016-04-21 08:30:27 +01:00
Vincent Sanders
86aff2154f fix missing include caused by core header cleanups 2016-04-21 00:04:29 +01:00
Vincent Sanders
f33d9dcc8c cleanup unneeded includes in utils.h after API simplification 2016-04-20 23:56:29 +01:00
Vincent Sanders
dd31499bf9 move remove underscores utility to alongside the single gtk call site 2016-04-20 23:38:08 +01:00
Vincent Sanders
7ba291037b move regex helper to be with teh single remaining call site 2016-04-20 23:33:31 +01:00
Vincent Sanders
10ef7b3f1d update content wallclock timing to use monotonic time interface 2016-04-20 22:58:48 +01:00
Vincent Sanders
9177143266 more atari header cleanup 2016-04-20 21:07:47 +01:00
Vincent Sanders
ea08caccb9 implement tsla code review points in render monotonic time change 2016-04-20 19:57:44 +01:00
Vincent Sanders
a6dd92c571 use monotonic clock call for html reflow timing 2016-04-20 19:18:15 +01:00
Vincent Sanders
31de1c251b Cleanup amiga include issues introduced as part of core updates 2016-04-20 15:54:18 +01:00
Vincent Sanders
3930d00519 atari header cleanup and warning squash
This rationalises atari platform user of headers and squashes a lot of
warnings. Should not be viewed as real maintenance, more that it was
getting in the way of fixing real core header issues.
2016-04-20 10:43:58 +01:00
Vincent Sanders
759c34b324 fix missing includes caused by content_protected header cleanup 2016-04-19 23:28:54 +01:00
Vincent Sanders
dee7426656 stop content header dragging in so many other headers 2016-04-19 23:20:29 +01:00
Vincent Sanders
d29bccdb3a add missing explicit dirent includes 2016-04-19 15:56:57 +01:00
Vincent Sanders
798654f910 remove curl fetchers use of the wallclock API
The wallclock() API uses gettimeofday which can be affected by the the
systems clock being changed etc. The curl fetcher usage of this API is
to generate a timing delta and does not cope with the gettimeofday
issues.

This changes the fetcher to use the nsutils library monotonic time
function which does not suffer from the issues with gettimeofday.
2016-04-19 14:18:09 +01:00
Vincent Sanders
afea659fef move dir_sort_alpha function from generic utils to one specific place it is used 2016-04-19 12:01:05 +01:00
Vincent Sanders
1bc010665e Reduce unecessary use of directory entry headers
The config header was causing many source files to unecessarily
include the dirent headers causing extra dependancies. This has been
fixed by providing a utility dirent header that provides a common API
across all platforms while removing the unecessary dirent header usage.
2016-04-19 11:21:06 +01:00
Vincent Sanders
4f38963337 move time function to apropriate header 2016-04-19 10:36:35 +01:00
Vincent Sanders
836ea5679e move sys/time.h support functionality out of generic header
The utils header is a large collection of functionality for several
system headers and API. This splits out the ones from sys/time.h into
a separate header reducing the need for many unconnected source files
to include the system header unecessarily.
2016-04-19 09:16:09 +01:00
Vincent Sanders
46e1061ef3 fix missing struct on http parameter declaration due to header change 2016-04-18 23:17:38 +01:00
Vincent Sanders
392307bb1f reduce content header interdependancy 2016-04-18 23:04:16 +01:00
Vincent Sanders
34f6aa1323 clean up header usage in content hnadling core 2016-04-18 20:58:49 +01:00
Vincent Sanders
d2dd574106 fix urldb test build 2016-04-17 22:27:53 +01:00
Vincent Sanders
695853c192 fix use of INT_MAX without including limits.h 2016-04-17 15:14:18 +01:00
Vincent Sanders
ade0cd8bb9 Reduce unecessary use of networking headers
The utility configuration header dragged in a number of bsd sockets
and related API as a side effect of setting up the configuration. By
splitting the header and API setup into a separate header only the
small number of places that need the functionality explitly include
it.
2016-04-17 13:42:28 +01:00
Vincent Sanders
810e9153d1 urldb no longer uses curl directly but it does need correct network includes
The update to remove curl usage from urldb must pull in the utility
config header instead to get inet_aton and such or compoles on some
platforms fail.
2016-04-17 09:39:44 +01:00
Vincent Sanders
7dee1cb7d6 fix missing misc table fixup on beos 2016-04-17 09:37:37 +01:00
Vincent Sanders
0bc5d2ca4c create date and time to seconds since epoch processing utility function
currently NetSurf uses curl_getdate to convert textural date and time
strings into seconds since epoch. It is betetr to move this
functionality to a utility function so curl_getdate can easily be
replaced if required.
2016-04-16 23:50:22 +01:00
Vincent Sanders
33c7df0c40 complete the rename of the gui browser table
When the operations tables were created the browser table was renamed
to miscellaneous except the actual rename patch was never applied,
this fixes that situation.
2016-04-16 23:50:21 +01:00
Vincent Sanders
7b78985983 make check library probe faliure silent 2016-04-16 23:50:21 +01:00
Chris Young
86450ed8a2 Ensure the ARexx-reported version number doesn't jump around between CI and release builds
Update minor version for next release cycle
2016-04-16 13:40:57 +01:00
Vincent Sanders
3a5b4571b4 update version info for next development cycle 2016-04-06 12:01:07 +01:00
Vincent Sanders
d6ad20a2c4 Merge branch 'heads/release/3.5' 2016-04-06 11:44:28 +01:00
Vincent Sanders
b2a32c3ea2 Update version for 3.5 release 2016-04-06 11:39:35 +01:00
Chris Young
281fe7674c Skip setting the pen in the RastPort if it is already set to that pen
This captures the scenario when the RGBA value has changed but graphics.library has picked the same pen.
2016-03-23 23:18:05 +00:00
Chris Young
0368935cd3 Avoid nsurl NULL access 2016-03-23 00:01:45 +00:00
Chris Young
7a7d99e004 Ensure we are only accessing pixel data using amiga_bitmap_get_buffer() 2016-03-22 22:55:31 +00:00
Chris Young
8a7d030af7 Ensure we don't access invalid pointers 2016-03-22 19:45:15 +00:00
Chris Young
215d1bec58 Document new bitmap functions 2016-03-22 19:39:33 +00:00
Chris Young
4b2ac84233 Make struct bitmap private to bitmap.c 2016-03-22 19:26:36 +00:00
Chris Young
bd663be927 Apparently setting pens is a strangely complex process, so avoid it. 2016-03-22 18:45:20 +00:00
Vincent Sanders
9faef114ec Update font interface documentation to include parameter direction 2016-03-22 17:52:24 +00:00
Vincent Sanders
afc1d2c3c7 fix broken windows frontend font handling 2016-03-22 17:51:31 +00:00
Michael Drake
719dc37b22 Fix obvious bug in nsfont_split.
Was using nsfont_position_in_string instead of nsfont_width, resulting
in returning nonsense actual_x and char_offset values.
2016-03-21 14:44:01 +00:00
Michael Drake
af4d72416b Log nsfont_width failure. 2016-03-21 14:43:47 +00:00
Michael Drake
3c8e522c25 Remove printf logging. 2016-03-21 14:43:46 +00:00
Vincent Sanders
57c9034f31 Add missing resources to windows frontend 2016-03-20 21:59:16 +00:00
Vincent Sanders
78fd5ccbf6 fix new creating new window assert 2016-03-20 20:28:20 +00:00