Commit Graph

12182 Commits

Author SHA1 Message Date
Michael Drake
ae485432c5 Remove duplicate branch. 2016-02-05 10:49:58 +00:00
Michael Drake
e6c8188229 Tidy cellpadding hint handling. 2016-02-05 10:49:58 +00:00
Michael Drake
8e580ccd19 Split out presentational hints handling. 2016-02-05 10:49:58 +00:00
Vincent Sanders
f06ec6390a add noscript warning to all tests so it is obvious when js is disabled 2016-02-04 15:11:19 +00:00
Michael Drake
3cc80b6a7d Add test for document.write() adding a STYLE element. 2016-02-02 12:19:00 +00:00
Adrien Destugues
18c8cb0f85 UI fixes for search bar and cookie manager
- Make the "Utilities" menu enabled again, since the cookie manager is
  there,
- Bigger default size for the cookie manager window, and activate it
  when shown,
- Fix the layout of the top bar so the search field is visible, and
  make it send the search request to the right place.
2016-02-01 23:21:24 +00:00
John-Mark Bell
25b88e42e6 Test for [TreatNullAs=EmptyString] 2016-02-01 20:50:42 +00:00
Michael Drake
9fb755b754 Handle known HTML elements without specialisations. 2016-02-01 18:48:42 +00:00
Vincent Sanders
94b913e5b3 update for aarch64 2016-02-01 16:27:58 +00:00
Michael Drake
b1dbc046f1 Add paragraph proto test. 2016-02-01 15:36:12 +00:00
Michael Drake
2443cc432d Attempt to squash warning that happens on CI. 2016-02-01 15:27:26 +00:00
Michael Drake
6904622d9f JavaScript: Fix & optimise HTMLElement specialisation proto str generation.
We now map from tag name to appropriate specialisation of HTMLElement.

We also build the prototype strings at build time, rather than
using duktape to concatinate them together at run time.
2016-02-01 15:17:39 +00:00
Chris Young
cd0bcc421a Add an option to close inactive tabs to the tab bar context menu 2016-01-31 17:58:27 +00:00
Chris Young
cc0abb66b0 Implement warn_multi for OS3 (needed for the multiple tab close warning) 2016-01-31 17:21:51 +00:00
Chris Young
e98c220813 Fix some enable/disable gadget logic 2016-01-31 17:18:49 +00:00
Chris Young
1acc32b3a9 Force always show tabs when clicktab.gadget is older than v53 2016-01-31 17:10:47 +00:00
Chris Young
7729d93696 Enable tabbed browsing on OS3 2016-01-31 17:02:24 +00:00
John-Mark Bell
bf4382e3ec HTMLElement: stub .style getter. For #2413. 2016-01-31 12:19:58 +00:00
John-Mark Bell
720a8fec0e Javascript: introduce script execution timeout. For #2413. 2016-01-31 01:39:13 +00:00
Chris Young
f5ab570320 Disable "native scaled bitmaps" option if we're in palette mapped mode 2016-01-30 16:35:10 +00:00
Chris Young
e6b827979b Allocate bitmap structures using an itempool 2016-01-29 19:39:37 +00:00
Michael Drake
b002ba7357 Simplify special element handling in node inserted callback. 2016-01-29 16:04:47 +00:00
Michael Drake
b58176c65e Spaces to tabs. 2016-01-29 16:04:47 +00:00
Chris Young
b3c524cea1 Move some things around to try and prevent invalid pointer accesses on exit 2016-01-29 00:24:15 +00:00
Chris Young
0ce170c18e Disable the DPI gadget if in bitmap/diskfont fonts mode
Diskfont renders all font sizes at 72dpi.
2016-01-28 00:11:09 +00:00
Chris Young
ee640b80bc Add a GUI prefs option on OS3 only, to toggle between bitmap and outline fonts
"Allow bitmap fonts" causes NetSurf to use diskfont and graphics library routines for opening and displaying fonts.  This allows bitmap fonts to be used which are much faster on 68k hardware than outline fonts, but loses the ability to render pages in UTF-8.
Conversely, toggling this option off makes NetSurf use bullet.library directly and render glyphs itself, which precludes the usage of bitmap fonts but allows the full range of UTF-8 characters to be displayed.
This option is ON by default on OS3 for speed reasons, and OFF by default on OS4.  Additionally, this option is not shown on the prefs GUI on OS4 as the speed difference between bitmap and outline fonts is negligible on that hardware and I don't want to encourage the use of an option which provides inferior rendering.
2016-01-27 23:53:27 +00:00
Chris Young
5afd42aa5a Add the remaining missing OS3 prefs GUI elements
Might need to add/remove some things for the OS3 build
2016-01-27 00:33:37 +00:00
Chris Young
414e94452b Add dither and nativebitmap options to OS3 prefs gui 2016-01-27 00:11:49 +00:00
Chris Young
ca376741c6 Enable proxy options in prefs GUI for OS3 2016-01-27 00:07:14 +00:00
Chris Young
2c380f818f Fix some memory leakage 2016-01-27 00:01:42 +00:00
Chris Young
780752d276 fix the incorrect copy'n'pasted parameters 2016-01-26 23:55:14 +00:00
Chris Young
49bd536c6e Move OS3 array to list into separate function 2016-01-26 23:49:24 +00:00
Chris Young
f3332a20d7 Don't read the values of gadgets which were not created. 2016-01-26 19:52:39 +00:00
Chris Young
04cbc08c57 Don't use ami_NewMinList as it potentially writes past the MinList structure on OS3.
Instead we use ami_AllocMinList and pointers.
2016-01-26 19:40:59 +00:00
Chris Young
520e81f98d Alloc specifying local charset on OS3 as we can't get this from Locale 2016-01-26 19:37:18 +00:00
Chris Young
9505b8e514 Make most of the prefs GUI display (and hopefully work) under OS3
page.gadget is not a public class in OS3
Some gadgets which will not work have been temporarily #ifdef'd for OS4 only
Some gadgets which are not relevant have been disabled to avoid random values being set
2016-01-26 19:28:07 +00:00
Chris Young
78dec4d515 Show warnings on OS3 with an EasyRequest 2016-01-26 00:10:11 +00:00
Chris Young
2c2dc0f2bc Bring OS3 about requester up on the correct screen 2016-01-25 19:14:04 +00:00
Chris Young
a7ab6c7484 Simple "about" requester for OS3 2016-01-25 19:12:54 +00:00
Chris Young
9879cbbfae Merge branch 'chris/fix-palmap-crash'
Fixes a problem with OS4 freezing up when running NetSurf on a palette mapped screen.
2016-01-25 18:55:30 +00:00
Chris Young
893df2ccf1 Revert "Plot local history background white instead of wholly transparent"
On second thoughts this was correct initially.

This reverts commit 1ea29c6aec.
2016-01-25 18:53:21 +00:00
Chris Young
6eb0bd4579 Remove unneeded pen list 2016-01-25 18:48:49 +00:00
Chris Young
1ea29c6aec Plot local history background white instead of wholly transparent 2016-01-25 18:43:43 +00:00
Chris Young
5c8dccd5f6 When forcing 32-bit render mode, don't create the BitMaps as friends of the screen BitMap.
This fixes a system freeze on OS4
2016-01-25 18:41:50 +00:00
Chris Young
beb6cebf1e conflict 2016-01-25 18:26:22 +00:00
Chris Young
09ac17955b Merge branch 'master' of git://git.netsurf-browser.org/netsurf into chris/fix-palmap-crash
Conflicts:
	amiga/bitmap.c
2016-01-25 18:25:26 +00:00
Vincent Sanders
6847fad653 remove javascript build option from jenkins script 2016-01-25 16:10:42 +00:00
Vincent Sanders
6d63f7959a make declarations match definitions for duk_raw_read_xxx_be 2016-01-25 15:49:31 +00:00
Vincent Sanders
822493af0d fixup some empty logging calls in atari hotlist code 2016-01-25 15:49:31 +00:00
Michael Drake
9e1622a679 Wrap verbose JS logging in debug macro. 2016-01-25 12:20:58 +00:00