Commit Graph

11295 Commits

Author SHA1 Message Date
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
Michael Drake
e807a5c45e Update updated date. 2015-02-24 21:44:56 +00:00
Michael Drake
6a51b53758 Add some general cross-compilation instructions. 2015-02-24 21:37:19 +00:00
Chris Young
5f72dd2f0f Merge branch 'chris/bitmap-fonts' of git://git.netsurf-browser.org/netsurf into chris/bitmap-fonts 2015-02-24 19:53:27 +00:00
Chris Young
1ea747196e Fix more hook functions 2015-02-24 19:51:51 +00:00
Chris Young
a18f79ee5e Merge branch 'master' of git://git.netsurf-browser.org/netsurf into chris/bitmap-fonts 2015-02-24 19:42:51 +00:00
John-Mark Bell
c66c9fccf3 PNG: add more volatile to appease GCC 2015-02-24 17:06:57 +00:00
John-Mark Bell
5f0964fa09 GTK: inherit GTK version from environment. 2015-02-24 14:07:47 +00:00
John-Mark Bell
77bfab7003 Env: install libssl-dev, default to GTK2. 2015-02-24 14:07:10 +00:00
Chris Young
68c6ba3a70 fix OS3 build, avoid forward declarations 2015-02-23 23:16:34 +00:00
Chris Young
ce060f3c13 Convert menu.c to use macros for hook functions 2015-02-23 23:07:52 +00:00
Chris Young
28a6a63b4f fix warnings 2015-02-23 23:00:16 +00:00
Chris Young
805c1a2dca Convert hook function definitions to macros in gui.c 2015-02-23 22:58:57 +00:00
Chris Young
821a13d740 Merge branch 'master' of git://git.netsurf-browser.org/netsurf into chris/bitmap-fonts 2015-02-23 22:41:25 +00:00
Chris Young
5867fa4ef9 Avoid forward declarations
Specify hook function with 68k registers when building for that target
2015-02-23 20:34:24 +00:00
Chris Young
b70ab2a7a3 Make hook function static 2015-02-23 19:39:56 +00:00
Chris Young
2d09c81dd5 Off-load layouting onto NetSurf's process 2015-02-23 19:28:32 +00:00
Chris Young
85df94f47a more microoptimisation 2015-02-23 18:47:58 +00:00
Chris Young
6fda772b89 Avoid clobbering the PPC pipeline 2015-02-23 18:44:47 +00:00
Chris Young
5d43025adf Mostly working bitmap font support 2015-02-22 16:50:41 +00:00
Chris Young
33d16e170e Merge branch 'master' of git://git.netsurf-browser.org/netsurf into chris/bitmap-fonts 2015-02-22 16:08:13 +00:00
Chris Young
8b82e926fd debug 2015-02-21 12:29:03 +00:00
Chris Young
90d88f32d1 Expand ARexx script locations on NetSurf's process.
This resolves a problem with scripts sometimes not running when they are relative to PROGDIR: and stops PROGDIR: being requested under OS3.
Fixes #2271
2015-02-21 12:21:14 +00:00
Michael Drake
555276b04a Ensure line lengths cache is created initialised to zero. 2015-02-15 13:48:27 +00:00
Chris Young
b89fb480db Debug logging 2015-02-15 11:29:03 +00:00
Chris Young
bc1d98046a Remove some unnecessary OS3-only code 2015-02-15 11:27:27 +00:00
Chris Young
6c7a3c3a73 Clear the window using the BackFill hook 2015-02-13 18:34:08 +00:00