Commit Graph

2089 Commits

Author SHA1 Message Date
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
Vincent Sanders
59df200b83 Error in RISC OS form entry API changes.
When the form entry changes were made the RISC OS implementation was
updated but the loop that counts entries was using an incorrect loop
iterator variable which was never incremented hence causing an
infinite loop.
2014-11-15 16:38:15 +00:00
Vincent Sanders
79e501075a make the form select menu API smaller.
By hiding all but the form selection menu option structure from code
outside of render this reduces the API to the absolute minimum to
support this feature.
2014-11-13 21:52:08 +00:00
Vincent Sanders
9fde3502b6 doxygen cleanups in utils 2014-11-12 23:27:13 +00:00
Vincent Sanders
e8277f2954 doxgen warning fixes in riscos frontend. 2014-11-12 22:36:11 +00:00
Vincent Sanders
1a7d00076d cleanup Doxygen warnings 2014-11-12 19:31:39 +00:00
Vincent Sanders
a99b1325d7 Doxygen cleanups 2014-11-12 11:45:07 +00:00
Vincent Sanders
3e4f5737aa Doxygen cleanups in frontends 2014-11-11 15:46:04 +00:00
Vincent Sanders
33eb1f413a Doxygen warning fixes 2014-11-10 20:15:14 +00:00
Vincent Sanders
d1f2d29e10 Doxygen cleanups and documentation additions 2014-11-10 17:00:15 +00:00
Vincent Sanders
ea033c54d4 Doxygen cleanups 2014-11-10 16:05:22 +00:00
Vincent Sanders
8f64d5d223 Improve Doxygen documentation 2014-11-08 12:35:11 +00:00