Commit Graph

2075 Commits

Author SHA1 Message Date
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
Vincent Sanders
f287379a7c Fix several doxygen issues 2014-11-08 11:38:20 +00:00
Vincent Sanders
bc1914fbb1 remove uneeded html render include 2014-11-07 13:01:07 +00:00
Vincent Sanders
3405803280 Improve content encoding information API
Extend the content_get_encoding() API to retrieve the source of
the encoding as well as the actual encoding.
2014-11-07 12:33:34 +00:00
Vincent Sanders
8c2cfecfb5 Allow content handlers to have debug values set through API
Previously content handler debugging features were accessed by global
variables. This allows the setting of debugging parameters via a
content API giving per content control over debugging features.
Currently only used by the html content handler to toggle global
redraw debugging.
2014-11-06 22:51:46 +00:00
Vincent Sanders
46f369ca9e move themse install to its own header 2014-11-06 14:19:15 +00:00
Vincent Sanders
8ec7ad053a Make the fetching of a contents encoding generic.
The frontends previously had to use an html renderer API to get the
encoding of a content. This also required the explicit checking of the
contents type rather than using the existing content API to abstract
this knowledge.
2014-11-05 23:44:31 +00:00
Vincent Sanders
bdfedb686b replace save_link operation table entry usage of textural url with nsurl 2014-11-03 23:05:59 +00:00
Vincent Sanders
49ac8c3a94 fix risc os nsurl structure declaration 2014-11-02 22:53:44 +00:00
Vincent Sanders
c14ddad660 change url setting api to take an nsurl instead of a text string 2014-11-02 22:30:45 +00:00
Vincent Sanders
ad343eccb1 remove unecessary utils/types.h
This cleans up this header and moves the functionality into more
useful places while reducing the include complexity but only pulling
in whats required.
2014-11-02 20:10:32 +00:00
Vincent Sanders
c31c4babe1 Change contextual content retrieval to browser features.
Update the API which allows frontends to acquire the page features
(images, link urls or form elements) present at the given coordinates
within a browser window.

By making this an explicit browser_window API and using the browser.h
header for the associated data structure with a more appropriate API
naming the usage is much more obvious and contained.

Additionally the link url is now passed around as a nsurl stopping it
being converted from nsurl to text and back again several times.
2014-11-02 15:46:42 +00:00
Vincent Sanders
1794ac0d33 Do not attempt to convert an empty url on RISC OS menu click
When updating the RISC OS frontend to using nsurl for its menu
operations (as part of getting rid of url_nice) the check for
null (empty) url strings in the url under the mouse was omitted
leading to a crash.

Additionaly a use of url where current_menu_url was intended was
missed leading to crashes when "open in new window" was used.
2014-11-01 23:44:41 +00:00
Michael Drake
368861faab Remove useless includes of utils/url.h 2014-10-31 14:36:34 +00:00
Vincent Sanders
ce3d991918 use nsurl_nice and remove url_nice
change all callers over to using new API for generating nice filenames
from a url and remove the old API.
2014-10-31 00:24:57 +00:00