Commit Graph

2116 Commits

Author SHA1 Message Date
Vincent Sanders
4f9dc97141 remove unecessary utils includes from RISC OS frontend 2016-05-02 16:09:28 +01:00
Vincent Sanders
cae22b17ac fix RISC OS font layout routines to return the correct error codes
During the font layout table refactor the return type was changed to
nserror and the risc os code was not updated correctly.
2016-04-28 11:32:45 +01:00
Vincent Sanders
8fd04922cc update RISC OS frontend to not use the depricated warn_user API 2016-04-26 15:16:33 +01:00
Vincent Sanders
5c427ba845 fix typo in riscos wan_user update 2016-04-25 23:19:12 +01:00
Vincent Sanders
bf3ee089cb use the miscellaneous table warning entry
change all the frontends to provide the warning callback in the
miscelaneous table instead of using the warn_user function.

Changing all the warn_user callsites still requires completion.
2016-04-25 23:11:55 +01:00
Vincent Sanders
f687eb8886 update risc os frontend for layout table 2016-04-24 13:32:07 +01:00
Vincent Sanders
7d9c9dba36 Split utils header into string functions and everything else
split out the string handling API from the rest of the utils header
and fix up all the fallout.
2016-04-21 22:36:21 +01:00
Vincent Sanders
6560384a2c change to use nsutils monotonic time API 2016-04-21 14:31:05 +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
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
695853c192 fix use of INT_MAX without including limits.h 2016-04-17 15:14:18 +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
Dave Higton
fdbb413403 Fix RISC OS relocatable module checks
Several relocatable modules are distributed with the RISC OS
version. The !Run file checks for their presence and version
number. However, if the check fails, the user is referred to dead
links.

This fixes this to requested an update to the !System folder from the
NS archive, using the Configure app.

Closes: 2441
2016-03-14 15:24:37 +00:00
Michael Drake
924e35af08 RISC OS: Run git date setter over distributed files for merging. 2016-02-21 22:17:36 +00:00
Michael Drake
5d0a6b8f1d RISC OS: Updated SharedUnixLibrary.
New version from here:
  http://www.riscos.info/downloads/gccsdk/gcc-4.7.4-release-2/
2016-02-21 22:03:17 +00:00
Dave Higton
8c05425a20 Fix RISC OS pointer shape issue
This is a patch for Mantis issue 2170.

The bug is that, if you hover over a link in a window and then close
the window with Control-F2, the pointer remains as the link pointer
shape.  The fix restores the pointer to the default shape before
destroying the window.
2016-02-07 22:06:35 +00:00
Dave Higton
51de6c2e7c RISC OS: Fix search ignoring case sensitivity. 2016-01-05 22:08:10 +00:00
Dave Higton
709a23aa34 Increase size of download window. 2015-11-22 21:49:11 +00:00
Dick Tanis
a7324d39a4 Updated Dutch messages for NetSurf 2015-11-03 23:10:39 +00:00
Michael Drake
576488f14c Don't #define things that might appear in oslib later. 2015-10-31 18:37:16 +00:00
Robert Sprowson
469147b593 Apply Sprow's fix for bug #2336.
I've not been able to test this, but since Sprow was also the original
reporter, it seems safe to apply.

Bug #2336: Colours rendered incorrectly in 4k and 64k colour modes.
2015-10-31 18:30:35 +00:00
Dave Higton
f2e56834be When an image content cannot be converted prevent export as sprite
If an image is not converted, for example it is a CMYK jpeg this
prevents a crash if trying to export the image as a RISC OS sprite.
2015-10-31 15:49:34 +00:00
Michael Drake
1bb7d295bb Make nsurl utf8 string conversion function consistent with nsurl API. 2015-10-25 09:03:20 +00:00
Chris Young
aabea8eceb Update RISC OS frontend to new API 2015-10-24 15:12:57 +01:00
Chris Young
ac8eccd035 Enable RISC OS to display decoded IDNs in the URL bar (subject to local charset restrictions) 2015-10-24 15:12:57 +01:00
John-Mark Bell
d90ab621f8 RISC OS: use correct format specifier 2015-08-15 10:06:19 +00:00
John-Mark Bell
f0c14aab7d RISC OS: explicitly handle SIGOSERROR 2015-08-15 10:00:35 +00:00
Michael Drake
1088c4cd38 Remove excessive logging. 2015-08-15 09:41:51 +01:00
Michael Drake
31d45274b6 Squash leak of path when path is directory. 2015-08-15 09:41:43 +01:00
John-Mark Bell
5ea9961737 RISCOS: further fix URL bar memory manipulation 2015-07-19 11:49:57 +01:00
Chris Young
80e9a23fc1 Check for empty URL in RISC OS 2015-07-19 10:45:53 +01:00
Chris Young
daef57aaee Check NULL pointer 2015-07-19 10:34:02 +01:00
John-Mark Bell
a470aacdb2 RISCOS: fix obvious NULL dereferences in URL complete. 2015-07-18 23:30:15 +01:00
Chris Young
abc7a71117 Pass the URL bar contents back as UTF-8. 2015-07-18 20:12:01 +01:00
Vincent Sanders
c08bccbcea fixup missing lincludes from messages API update 2015-06-22 10:42:01 +01:00
Vincent Sanders
67ded2a02a This moves message loading out of netsurf_init into each frontend
The translated message loading is dependant on configuration of
resource location in each frontend, additionally they should have the
ability to deal with errors in this loading in a implementation
specific manner.

This also extends the message loading API to be capable of loading
from an inline memory buffer instead of from a file.
2015-06-21 23:27:22 +01:00
Vincent Sanders
51c5f7f142 Set the default cache size on RISC OS to zero (off) 2015-06-01 11:52:41 +01:00
Vincent Sanders
0d811963c1 fixup all the remaining logging macro callsites
The semantic patch tool appears to have missed some difficult to
reason about callsites which have now been manually cleaned up
2015-05-28 17:06:18 +01:00
Vincent Sanders
c105738fa3 Change LOG() macro to be varadic
This changes the LOG macro to be varadic removing the need for all
callsites to have double bracketing and allows for future improvement
on how we use the logging macros.

The callsites were changed with coccinelle and the changes checked by
hand. Compile tested for several frontends but not all.

A formatting annotation has also been added which allows the compiler
to check the parameters and types passed to the logging.
2015-05-28 16:08:46 +01:00
Vincent Sanders
75d3fdc42e Convert RISC OS to use bitmap render operation 2015-04-24 23:49:49 +01:00
Vincent Sanders
1c3211c50f remove unrequired includes from riscos thumbnail header 2015-04-19 17:05:21 +01:00
Vincent Sanders
8f41764268 Remove unecessary includes from RISC OS bitmap header.
The RISC OS bitmap header was including several headers it simply did
not require. This removed those includes and also cleans up the
documentation comments to completely cover the exported interface.
2015-04-19 12:40:58 +01:00
Vincent Sanders
2465fc4e6b move the mandantory library config for libcss and libdom to core makefile 2015-04-17 22:48:55 +01:00
Vincent Sanders
ad18ef5db9 Update RISC OS frontend to use bitmap operation table 2015-04-15 23:57:39 +01:00
Vincent Sanders
062c40140f Update RISC OS make target to filter split messages 2015-04-07 00:44:44 +01:00
Vincent Sanders
2f2a73beea Move some RISc OS specific Makefile rules into its Makefile.target 2015-04-05 14:52:45 +01:00
Vincent Sanders
ea9a2ff01d Fix up some doxygen errors 2015-04-03 00:28:22 +01:00
Dick Tanis
6f523a72f1 Updated Dutch resources for NetSurf / interactive Help corrections and additions 2015-03-30 21:10:00 +01:00