Commit Graph

11321 Commits

Author SHA1 Message Date
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
e62db5a49c define _DEFAULT_SOURCE as well as _BSD_SOURCE to supress warnings in glibc 2.12 2015-03-28 18:25:41 +00:00
Michael Drake
22e0c0536a Reduce log spam esp. from animated gifs. 2015-03-28 12:31:10 +00:00
Michael Drake
733400ed38 Reduce log spam from animations. 2015-03-28 12:27:45 +00:00
Michael Drake
c9e8bd24c8 Remove trailing whitespace. 2015-03-28 12:22:23 +00:00
Chris Young
fcfc9453ec Bump version 2015-03-27 20:51:00 +00:00
Vincent Sanders
1e1df59089 add some debug to form gadget freeing
Serveral reports of form freeing segfaulting on RISC OS so this adds
some debug in this area to see if we can tell why.
2015-03-27 15:27:33 +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
Michael Drake
78663e9111 Remove fragment from nsurl hash. 2015-03-27 11:58:52 +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
9d6ab0475f allow the strip command to be overridden from the comamndline
Closes #2208
2015-03-22 17:39:11 +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
8657bc563a Fixup atari thumbnail creation function parameters
Missed this frontend in previous commit.
2015-03-15 00:14:58 +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
Vincent Sanders
52b50db3a6 Cleanup windows download window header 2015-03-13 14:55:15 +00:00
Vincent Sanders
8525c857da Clean up more windows frontend issues and split out more functionality 2015-03-13 14:32:06 +00:00
Vincent Sanders
a487f7e611 Move win32 window operations into their own module
This splits up a great deal of the win32 window code out from other
gui code. It also remove large quantities of unused and junk
variables and functions.
2015-03-12 23:48:53 +00:00
John-Mark Bell
8b00dfcfbf Remove outdated and inaccurate build instructions.
See the wiki for something more accurate.
2015-03-11 13:53:59 +00:00
Vincent Sanders
c8d4fe96c4 update version info for next development cycle 2015-03-10 14:44:05 +00:00
Vincent Sanders
f49a9eb9a6 Merge branch 'heads/release/3.3' 2015-03-10 14:43:21 +00:00
Vincent Sanders
f06353959f Update version for 3.3 release 2015-03-10 14:37:37 +00:00
Vincent Sanders
0d59fe834f Merge remote-tracking branch 'origin/stevef/ibarmenu' 2015-03-10 10:21:33 +00:00
John-Mark Bell
6af5ba0c8f Forms: consider submit buttons successful. Fixes #2284. 2015-03-10 01:16:15 +00:00
Glen Walker
f4b3f10d57 Remove incorrect keyboard shortcuts from iconbar menu. 2015-03-09 19:36:13 +00:00
Vincent Sanders
84c29f1d86 Add invalidate API to html content script handling and use it.
The html content script handling needs to invalidate its JavaScript
context when the browsing context (browser_window) containing it is
either closed or the content fetch is aborted (stopped)

Previously the invalidation was only done on browser_window close
which resulted in use after free crashes because of the now invalid
JavaScript context.
2015-03-09 13:47:12 +00:00
Vincent Sanders
c4e551cd0c clear the html content reference to javascript context.
When the browser window is about to be destroyed html_close gets
called indicating the browser_window previously associated with the
html content is about to become invalid.

This makes the javascript context invalid within the html content (it
is held by the browser window) when that context is about to be
destroyed. Previously the javascript children would continue to
attempt to use the context after it had been destroyed causing all
sorts of strange errors and failures.
2015-03-06 17:16:09 +00:00
Vincent Sanders
5d3cc513a3 Fixup gtk viewdata window to open at appropriate size
The size hints given were insufficient for gtk to open the window at a
sensible size or position. This fixes it to open with a default
640x480 size which is a reasonable compromise.

The gtk3 ui builder file was completely reconstructed from fresh as it
was broken and was not working.
2015-03-06 17:16:09 +00:00
Michael Drake
7247f48d2f Remove unused #include. 2015-03-05 20:17:42 +00:00
Chris Young
db91442304 Remove branches that can't be taken under OS3
Micro-optimise these for OS4.1
Remove dummy compositing defines from os3support.h
2015-03-01 11:50:20 +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
Dick Tanis
74e2c86555 Updated Dutch message translations 2015-02-28 16:30:24 +00:00
Chris Young
07c210b656 Fix hook functions for 68k
Add (partially working) bitmap fonts support
2015-02-28 13:07:44 +00:00
Chris Young
5baf48859a Merge branch 'master' of git://git.netsurf-browser.org/netsurf into chris/bitmap-fonts 2015-02-28 13:06:30 +00:00
Chris Young
947c466c4b Split plotting and widthing functions up 2015-02-28 13:01:16 +00:00
Chris Young
df25135a4d micro-optimisation 2015-02-28 12:41:50 +00:00
Michael Drake
2ce332f1b0 Remove nsurl include. 2015-02-26 17:05:12 +00:00
Michael Drake
62c14f8b73 Remove include of nsurl.h 2015-02-26 17:01:04 +00:00
Michael Drake
ac636100e8 Remove include of nsurl from corestrings.h 2015-02-26 16:58:41 +00:00
Michael Drake
4402bcf779 Need nsurl. 2015-02-26 16:31:29 +00:00
Michael Drake
50ac5b7ce7 Need a nsurl fwd declaration. 2015-02-26 16:27:54 +00:00
Michael Drake
cbd9d710a3 Use forward declaration instead of #include for nsurl. 2015-02-26 16:14:23 +00:00
Michael Drake
30909f8ed5 Move FILE_SCHEME_PREFIX to corestrings. 2015-02-26 16:14:23 +00:00
John-Mark Bell
b051c037d3 RISC OS: squash warnings from GCC 4.7 2015-02-25 00:32:46 +00:00
John-Mark Bell
9a2fe3d481 Monkey: fix double-free on exit 2015-02-25 00:12:15 +00:00
Dick Tanis
3a3410dabf Updated Dutch message translations 2015-02-24 23:35:30 +00:00