Commit Graph

11591 Commits

Author SHA1 Message Date
Vincent Sanders
d3c4eb7363 Move some beos specific make rules into its MAkefile.target 2015-04-05 14:53:59 +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
Vincent Sanders
77ffda1e46 Use nsutils unistd operations for pread and pwrite to get consistant interface 2015-04-02 17:28:55 +01:00
Vincent Sanders
47d08b6506 Revert "Fix RISC OS not having a pread/pwrite implementation."
This reverts commit 82c7a7a4ba.

Conflicts:
	content/fs_backing_store.c
2015-04-02 16:37:04 +01:00
Vincent Sanders
576b1c55bf extend backing store logging to show errno values ofter operations 2015-04-01 09:26:39 +01:00
Chris Young
8871149585 Remove inclusion of my async backing store code whilst it's not being used. 2015-03-31 22:48:27 +01:00
Vincent Sanders
82c7a7a4ba Fix RISC OS not having a pread/pwrite implementation. 2015-03-31 22:41:37 +01:00
Vincent Sanders
87a38ca5c1 ensure entry invalidation copes with entries in blocks 2015-03-31 22:02:07 +01:00
Vincent Sanders
9511e9c4e9 Improve file naming inside cache 2015-03-31 20:57:00 +01:00
Vincent Sanders
f1d4094566 allocate small block using block use bitmaps to find free entries. 2015-03-31 20:56:55 +01:00
Vincent Sanders
706a77170d implement block read and write operations. 2015-03-31 20:56:55 +01:00
Vincent Sanders
c965fa8739 Block file usage bitmaps (de)serialising 2015-03-31 20:56:55 +01:00
Vincent Sanders
a8e501a663 define block store parameters 2015-03-31 20:56:55 +01:00
Vincent Sanders
980e28d916 Change backing store fetch operation to always perform the allocations
The fetch API previously allowed for the caller to supply the storage,
this was never used and was preventing the refactoring necessary for
small black storage to be available.
2015-03-31 20:56:55 +01:00
Vincent Sanders
1d03f34d62 Compute the element index once and use that as a parameter.
Change to computing the element index from the flags passed to store
and fetch methods instead of passing the flags around and calculating
everywhere.

Additionally split out writing element of entry to file into distinct
function to make code clearer.
2015-03-31 20:56:55 +01:00
Vincent Sanders
c2eda75710 Change element layout and cope with index collisions. 2015-03-31 20:56:55 +01:00
Dick Tanis
6f523a72f1 Updated Dutch resources for NetSurf / interactive Help corrections and additions 2015-03-30 21:10:00 +01:00
Chris Young
729cd9134b Switch the English and French "fetches per host" text to the correct languages. 2015-03-29 23:47:29 +01:00
Chris Young
81f6cd2074 Correct the screen depth check for setting friend bitmaps.
Add some comments because using friend bitmaps in NetSurf causes problems under OS4.
2015-03-29 23:37:23 +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
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