Commit Graph

11069 Commits

Author SHA1 Message Date
Chris Young
d46e6a6894 Encourage requesters onto the correct screen and remove some unneeded includes 2014-12-13 15:53:55 +00:00
Chris Young
17ec567266 Remove redundant check 2014-12-10 17:44:38 +00:00
Vincent Sanders
3b10dbe793 Document the core browser options and clarify Choices location for fb 2014-12-04 22:41:48 +00:00
Vincent Sanders
45f98ffd6e improve comments in low level cache and remove completed todo 2014-12-04 21:09:42 +00:00
Chris Young
0166083584 Get scale after memory allocated 2014-12-04 19:02:59 +00:00
Michael Drake
19fed3976f Don't need browser window private header now. 2014-12-04 12:23:24 +00:00
Michael Drake
f0b38f27d4 Use API to get at a browser window's content. 2014-12-04 12:22:56 +00:00
Michael Drake
60877b6ff5 Fix missmatched bracket. 2014-12-04 12:18:36 +00:00
Michael Drake
4af70cd1ac Use browser_window_get_extents to simplify window content size handling. 2014-12-04 12:14:16 +00:00
Michael Drake
fad6318d59 Use browser_window_get_url() 2014-12-04 12:04:36 +00:00
Michael Drake
b7b1bfe548 Don't include browser_private.h 2014-12-04 12:02:13 +00:00
Michael Drake
c5a8620ef9 Remove what seems a redundant check for bw->download. 2014-12-04 12:01:22 +00:00
Michael Drake
84261a8199 Use browser_window_get_url instead of poking inside bw at contents. 2014-12-04 11:59:59 +00:00
Michael Drake
c4e37fb03d Use API to get content from browser_window. 2014-12-04 11:58:49 +00:00
Michael Drake
e4437ad76b Store scale in gui_window. Remove a lot of bw dereferencing for scale. 2014-12-04 11:42:12 +00:00
Vincent Sanders
5bf4b3ff2b move the low bandwidth check to allow for an average over a much longer time 2014-12-03 20:13:10 +00:00
Vincent Sanders
0f6f0a0169 Improve message split generation
This changes the message splitting code to ensure that a translation
is generated for every different key using a specified language as a
fallback if no translation is available.

This also allows for a messages to be generated when there is no
fallback at all and when the translation is the same as the fallback
language
2014-12-02 16:27:24 +00:00
Vincent Sanders
57cd5c77b2 Use translated messgae for low bandwidth error 2014-12-02 10:03:27 +00:00
Chris Young
dd9a4af311 Remove unused variable 2014-12-01 23:38:13 +00:00
Chris Young
5f9c8b02b2 Clear message port variable so we don't errorneously send messages to it. 2014-12-01 21:48:37 +00:00
Chris Young
020e1f8272 Run backing store jobs synchronously in the background. 2014-12-01 21:42:07 +00:00
Chris Young
2f41c1ad11 Fix leak 2014-12-01 18:44:04 +00:00
Vincent Sanders
c9ee49baa8 cope with backing store writeout making no progress 2014-12-01 11:32:33 +00:00
Vincent Sanders
ba5ade87b2 ensure the backing store write reports at least a minimal amount of time 2014-12-01 09:18:31 +00:00
Vincent Sanders
ca74e0060d release gadget allocation on error path (Coverity 1109875) 2014-11-30 11:23:30 +00:00
Vincent Sanders
1c735140b6 fix resource leak on error (Coverity 1256245) 2014-11-30 11:21:34 +00:00
Chris Young
6a2461da8d Enable the async write process to be disabled for testing purposes 2014-11-30 01:25:20 +00:00
Vincent Sanders
9bc07e8d8f make coverity build script use updated environment variables 2014-11-30 00:37:35 +00:00
Vincent Sanders
61ab2777da Improve writeout rescheduling if list of objects is completed quickly 2014-11-30 00:27:05 +00:00
Vincent Sanders
d08acbc5ae correctly calculate writeout bandwidth and properly impose limits 2014-11-29 23:57:15 +00:00
Chris Young
70e777c30d Add some comments about timer.device. 2014-11-29 19:56:54 +00:00
Vincent Sanders
6b2676d33f Improve llcache writeout stratagy 2014-11-28 19:17:42 +00:00
Vincent Sanders
5f57a39130 revert unecessary librt linkage as it not comes from libnsfb pkg-config correctly 2014-11-27 16:04:16 +00:00
Vincent Sanders
18d1fce332 add rt library to link 2014-11-27 14:40:00 +00:00
Vincent Sanders
8d51dd4879 update the backing store to allow for invalidating entries which have an allocation 2014-11-27 13:31:43 +00:00
Vincent Sanders
79d5b1bf3b stop using gettimeofday and use the monotonic time interface fron nsutils 2014-11-26 21:29:13 +00:00
Vincent Sanders
81417ae4a5 caclulate the total amount of time spent writing an object out
In order to calculate the writeout bandwidth we need to know how long
it took to write the data to peristant storage in addition to how much
was written.
2014-11-25 23:11:41 +00:00
Vincent Sanders
cd2e336449 Try using -pipe on beos/haiku as temporary file access may be slow 2014-11-24 13:18:52 +00:00
Michael Drake
b9a6dae5ab Remove unecessary header include. 2014-11-24 09:43:59 +00:00
Vincent Sanders
5a78cd810f correctly release source data from llcache 2014-11-23 18:21:56 +00:00
Vincent Sanders
01b2bc5a57 Improve doxygen comments and add todo for cache and backing store 2014-11-23 15:43:03 +00:00
Vincent Sanders
246a1fec05 remove constness from backing stores store method 2014-11-23 01:37:24 +00:00
Vincent Sanders
63c35da66e annotate element struct with packing attributes to reduce entry size 2014-11-23 01:25:14 +00:00
Vincent Sanders
08c7ef6bed Do not use anonymous union as it is not portable
unnamed unions are not portable to old compilers. When reloading data
ensure the heap allocation status is discarded.
2014-11-23 00:35:11 +00:00
Vincent Sanders
8b810ee4a1 change the persistant data store to owning the allocations 2014-11-22 23:56:43 +00:00
Chris Young
335ba082fd Ensure we're not running events ahead of time. 2014-11-22 17:15:52 +00:00
Chris Young
4a395ad025 Process scheduled event changes before incoming timer events.
This stops things being run that have just been deleted.  However, may cause the next event to run early because we don't check the time.
2014-11-22 17:10:07 +00:00
Chris Young
4589cab433 Re-enable asynchronous backing store writes 2014-11-22 16:52:27 +00:00
Chris Young
bcd7413f8e Fix llcache ops table 2014-11-22 16:51:00 +00:00
Chris Young
0cd682644b Revert "Revert "Write out to the backing store asynchronously.""
This reverts commit 75623179aa.
2014-11-22 16:41:29 +00:00