Commit Graph

12060 Commits

Author SHA1 Message Date
Chris Young
64575f2aed Avoid some crashing by disabling the update of the hotlist menu
This will be fixed properly when the menu code is re-written to use menuclass, as that supports dynamic updates.
2016-02-29 18:10:45 +00:00
Michael Drake
618e4570ef Fix copyrights. 2016-02-29 11:28:31 +00:00
Chris Young
3e9fe9b8ae Add our own NewObject() function for OS3 and enable optimisations 2016-02-29 00:11:38 +00:00
Chris Young
2108697533 Fix copying of the wrong .readme during installation.
Abort with a message if the archive doesn't match the OS version.
2016-02-28 11:26:19 +00:00
Chris Young
55b9a12785 Add a warning for OS3 for a non-working function 2016-02-25 19:50:53 +00:00
Chris Young
829642e8f7 Comment all of bitmap_render out for OS3 to see if it resolves a crash
This function doesn't work on OS3 anyway!
2016-02-25 19:48:28 +00:00
Michael Drake
924e35af08 RISC OS: Run git date setter over distributed files for merging. 2016-02-21 22:17:36 +00:00
Michael Drake
5d0a6b8f1d RISC OS: Updated SharedUnixLibrary.
New version from here:
  http://www.riscos.info/downloads/gccsdk/gcc-4.7.4-release-2/
2016-02-21 22:03:17 +00:00
Vincent Sanders
6a4efa35f8 update gtk resource path setting to use makefile variable 2016-02-20 18:37:50 +00:00
Michael Drake
592ff0ef76 Spidermonkey isn't needed. 2016-02-19 20:18:51 +00:00
Chris Young
1828079518 Fix a critical bug in the Amiga frontend which causes NetSurf to never exit.
Avoids looping trying to close a screen for which we are not the owner.
Moves the screen close to the very end of the code so if our own screen doesn't close we can still re-launch NetSurf.
2016-02-19 18:41:04 +00:00
Michael Drake
ebfcc6d9a9 Add script for setting files to git last touched date.
This may help with whatever issue is causing a problem with RISC OS
!Boot and !System distributions.

From the base of the netsurf repo, you can run it like this:

  $ ./utils/git-date.sh riscos/distribution/
2016-02-19 15:25:06 +00:00
Chris Young
00a0be2698 Update some Amiga-specific version numbers for post-3.4 2016-02-17 23:19:30 +00:00
Vincent Sanders
df28737bff update version info for next development cycle 2016-02-16 13:38:33 +00:00
Vincent Sanders
f34d815872 Merge branch 'heads/release/3.4' 2016-02-16 13:37:48 +00:00
Vincent Sanders
334873cb80 Update version for 3.4 release 2016-02-16 13:30:38 +00:00
Vincent Sanders
f077e81fcb Update copyright year 2016-02-16 13:24:47 +00:00
Vincent Sanders
8915a49b3f setup flags for building monkey on RISC OS 2016-02-15 15:16:23 +00:00
Vincent Sanders
eaed6b1dda Use compiler environment to control riscos header usage
Instead of relying on building the RISC OS frontend to determine correct
include compatability use the compiler __riscos__ macro.
2016-02-15 15:00:57 +00:00
Vincent Sanders
b9f58cdf77 allow passing of CFLAGS into make from environment 2016-02-15 14:59:23 +00:00
Michael Drake
d39531ff55 Ensure fetch attempts is not reduced to less than 1. 2016-02-15 11:06:37 +00:00
Michael Drake
6b57c94012 Return to original timeouts for now: One 30s attempt. 2016-02-15 09:58:52 +00:00
Michael Drake
c207216fa2 Fix constraints on curl_fetch_timeout option.
5 <= n <= 60 seconds.
2016-02-15 09:55:57 +00:00
Chris Young
3b57ce1013 Free shared_pens list on tree destroy 2016-02-14 15:42:58 +00:00
Chris Young
86247eea59 Don't re-use freed shared_pens list 2016-02-14 15:08:12 +00:00
Chris Young
097da50977 Remove old #define 2016-02-14 15:02:46 +00:00
Chris Young
df7bd6e07d Limit hotlist menu entries to 100 chars 2016-02-14 15:02:04 +00:00
Chris Young
a1beeda9da Make hotlist buttons show the URL as a HelpHint 2016-02-14 14:48:41 +00:00
Chris Young
bb4b602148 Limit hotlist buttons to 20 chars 2016-02-14 14:45:28 +00:00
Chris Young
e19d30027a Remove RMB trapping from the treeviews, previously used for context menus
The context menus for treeviews were removed ages ago, and any replacement won't need RMB trapping
2016-02-14 14:21:52 +00:00
Chris Young
769eb3f13b Remove some RMBTrap remnants, the new context menus don't require manual mouse trapping 2016-02-14 14:20:47 +00:00
Chris Young
0c55edfcb9 When we unlock a public screen, don't attempt to unlock it again.
We lock the screen to stop it closing before we open our window, and unlock it when the window is open (the window is a sufficient lock).  However we were not resetting the flag indicating the screen was still locked, so it was getting unlocked twice.
2016-02-14 14:13:24 +00:00
Chris Young
71cdc461a6 Pens need releasing before freeing layers to avoid invalid pointer access 2016-02-14 14:01:53 +00:00
Michael Drake
672119e509 Fix background attribute handling. 2016-02-13 22:36:31 +00:00
Vincent Sanders
72308c1f0d revert urldb include fixes as tehy cause build issues elsewhere and failed to fix the warning 2016-02-12 15:55:13 +00:00
Vincent Sanders
fb95797862 fix more freebsd warnings 2016-02-12 15:45:49 +00:00
Vincent Sanders
8a075b7142 fix strcasecmp implicit declaration warnings on freebsd 2016-02-12 14:53:52 +00:00
Vincent Sanders
157f05bc61 enable monkey to be built everywhere it is completely generic now 2016-02-12 14:16:31 +00:00
Vincent Sanders
2c9cc34334 fix debug print format type.
openbsd timeval structure defines the seconds part as time_t and not
int so we need to use a time_t format suitable everywhere.
2016-02-12 13:47:49 +00:00
Vincent Sanders
5d3c38a704 remove reliance on GLib from monkey frontend
This changes the monkey implemntation to use a simple scheduler list
and select instead of glib events.
2016-02-12 13:37:50 +00:00
Chris Young
a1e79a8ff6 Stop GIF animations when they are no longer in use
Previously animations would continue to run until destroyed
Fixes 2227
2016-02-11 19:26:56 +00:00
Chris Young
a0e41a46a3 Stop GIF animations when they are no longer in use, instead of waiting until they are destroyed. 2016-02-11 19:23:32 +00:00
Vincent Sanders
90f65814c6 fix coverity build generated tar handling 2016-02-11 12:01:41 +00:00
Michael Drake
04e61b710f Fix object accounting for aborted HTML contents. 2016-02-11 11:45:38 +00:00
Michael Drake
d4a01d525a HTML: Remove some status bar updating code. 2016-02-10 16:09:16 +00:00
Vincent Sanders
eadd589f63 cleanup cocoa application run method
This fixes several warnings and cleans up automatic pool cleanup
handling in the run method. Additionally this is a whitespace cleanup.
2016-02-10 15:35:28 +00:00
Vincent Sanders
a63e902871 Prevent cocoa infinite event loop at startup
The PSMTabController framework was calling mouse exited events on its
rollover button implementation which caused an inifinite recursion in
event forwarding.
2016-02-10 15:27:08 +00:00
Michael Drake
3bee7b7e12 Layout: Don't generate :before and :after boxes for replaced elements.
In CSS 2.1 this was undefined.

  CSS 2.1 -- 12.1 The :before and :after pseudo-elements

    Note. This specification does not fully define the interaction
    of :before and :after with replaced elements (such as IMG in HTML).
    This will be defined in more detail in a future specification.

    -- https://www.w3.org/TR/CSS21/generate.html#before-after-content

In CSS 3 the :before and :after generated content boxes are not allowed
on replaced elements.

  CSS 3 Generated and Replaced Content Module
        12. Replaced content

  The box model defines different rules for the layout of replaced
  elements than normal elements. Replaced elements do not have
  '::before' and '::after' pseudo-elements; the 'content' property
  in the case of replaced content replaces the entire contents of
  the element's box.

  -- https://www.w3.org/TR/css3-content/#replacedContent
2016-02-09 16:42:28 +00:00
Michael Drake
3af77eabd8 Can free pango font desc as soon as it's set. 2016-02-09 15:15:53 +00:00
Michael Drake
51084243a2 Add switch case fallthrough comment. 2016-02-09 13:54:21 +00:00