Commit Graph

2100 Commits

Author SHA1 Message Date
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
Vincent Sanders
c0469ca905 pass a url info the RISC OS object info preparation
The target url was previously being passed as a string derived from
nsurl_access which was asserting if the target_url was NULL. The nsurl
is now passed and a null check performed before attempting to access
it.

Closes #2298
2015-03-28 18:34:42 +00:00
Vincent Sanders
6f4f860ce3 Add some debug round thumbnail creation
More debugging of thumbnail creation as it appears to be involved in a
number of recently reported crashes on RISC OS.
2015-03-27 14:39:00 +00:00
Witold Filipczyk
befa5e6ed3 To avoid namespace conflicts with ncurses add NetSurf key prefix.
Adds a NetSurf key code prefix of NS_ to all key codes.
2015-03-27 09:36:19 +00:00
Vincent Sanders
07634ee58c Update Shared Unix Library support module to version 1.12 2015-03-18 23:05:36 +00:00
David Gee
a1f45dcf12 Stop unneccessary closure of menu tree when asked for clipboard data.
Currently, when asked for clipboard data, Netsurf unconditionally closes the
menu tree of the requesting application. This occurs in the routine
ro_gui_send_datasave. There is no reason to close the menu tree: this function
is called in only one place, amd the code path is through Wimp user messages--
the highest priority type of message, so other interactions cannot interfere.

The fix removes the line which closes the menu tree in this particular function.
2015-03-17 23:50:41 +00:00
Vincent Sanders
e7f1ad318f Create an empty !RunImage file in RISC OS page save apps
RISC OS apps take their creation date from the !RunImage apparently
and loose the data if the application directory gets copied without
one. Fixes #1970
2015-03-17 23:28:53 +00:00
Michael Drake
f4d173b7ee Remove unused #defines. 2015-03-17 11:36:32 +00:00
Vincent Sanders
8a99b045bc Remove url from content thumbnailers API
The content thumbnailers for each frontend were being provided the
contents url. This was only ever used to call the urldb thumbnail
setting API.

This changes it so the single callsite that passed a valid url adds
the bitmap to that url itself in desktop_history.c instead of forcing
every frontend to require the urldb API.

Additionally the old API could pass the url as NULL which was causing
asserts where this was not an expected parameter value. Because of
this this fixes bug #2286 which was also present in the monkey
frontend as both called nsurl_access() on the url without the NULL
check and caused an assertion.
2015-03-15 00:00:45 +00:00
Glen Walker
f4b3f10d57 Remove incorrect keyboard shortcuts from iconbar menu. 2015-03-09 19:36:13 +00:00
Dick Tanis
c0c9f54a9c Ensure dutch README is copied into target archive 2015-03-01 10:24:14 +00:00
Dick Tanis
a81a783947 Updated Dutch template and README translations 2015-02-28 22:35:31 +00:00
John-Mark Bell
21cf3d6186 RISC OS: fix the worst of the !Cache badness. 2015-02-28 19:07:28 +00:00
Michael Drake
50ac5b7ce7 Need a nsurl fwd declaration. 2015-02-26 16:27:54 +00:00
John-Mark Bell
b051c037d3 RISC OS: squash warnings from GCC 4.7 2015-02-25 00:32:46 +00:00
Vincent Sanders
8443bf8034 Add RISC OS locale dependant help
Dick Tanis <dtanis@ymail.com> provided a locale dependant !Help and
the dutch resources to go with it. I simply integrated it into the
build process
2015-01-29 23:41:12 +00:00
Vincent Sanders
669df172ec Fix my spelling of teh everywhere 2014-11-18 17:16:26 +00:00