Commit Graph

12456 Commits

Author SHA1 Message Date
Vincent Sanders
e652eed493 fix framebuffer install rules 2016-10-05 10:55:32 +01:00
Vincent Sanders
b18c7aaa89 addjust posix feature level for openbsd 6 build 2016-10-01 12:17:54 +01:00
Vincent Sanders
a2396edde4 complete transition to locale independant core operation
The netsurf core no longer uses any locale dependant operations
excepting the mall number or cases where such operations are
explicitly wanted.

the netsurf_init now calls setlocale with the empty string and lets
the c library setup as per its specific implementation.

any core functionality that specificaly processes ascii text must use
the utils/ascii.h header to do so.
2016-09-29 22:37:10 +01:00
Vincent Sanders
0dcfc2fc5d fix use of default image on menu entries for gtk frontend 2016-09-27 21:17:33 +01:00
Michael Drake
f89ec1df37 Utils: Remove redundant genpubsuffix.pl (using libnspsl now). 2016-09-26 10:15:05 +01:00
Michael Drake
7b78ef3361 Style: Fix ignoring of STYLE elements with non-screen media.
We were handling the STYLE tag getting added in the
dom_default_action_DOMSubtreeModified_cb callback, however,
the media attribute dadn't been added by that point.

We now check it in the dom_default_action_DOMNodeInserted_cb
callback, at which time the media attribute is available for
checking.

Note, we should probably store the media type in the
html_stylesheet structure, but for now we just have an
`unused` boolean.

Also, it may be possible to optimise to avoid parsing non-
screen media STYLE element data if we could detect the media
earlier.
2016-09-24 12:44:28 +01:00
Vincent Sanders
1ef1edc9e0 enable use of netsurf public suffix library to prevent supercookies 2016-09-20 21:45:35 +01:00
Vincent Sanders
608a18caff remove junk references to old javascript implementations 2016-09-19 22:02:51 +01:00
Vincent Sanders
b78e887ba0 Add documentation on the cookie version field 2016-09-13 23:38:22 +01:00
Vincent Sanders
bd4377d693 remove cookie manage display of the no_delete boolean
The no_delete flag is mislabelled as persistent. In fact it is simply
never altered from its default value. It is serialised and its state
kept on disc but otherwise is completely vestigial.
2016-09-13 23:28:25 +01:00
Vincent Sanders
e582497322 if the cookie is a session cookie indicate it
previously session cookies were simply displayed as having an expiry
in 1970 which was unhelpful.
2016-09-13 23:17:28 +01:00
Vincent Sanders
c830d14d0b cleanup seevral doxygen warnings 2016-09-13 09:16:31 +01:00
Vincent Sanders
fa5e6fcdf9 make html content line parsing use no locale dependant ascii processing 2016-09-12 22:50:46 +01:00
Vincent Sanders
ca12878c2f use ascii processing when determining form charset 2016-09-12 22:43:39 +01:00
Vincent Sanders
9d858085c3 prevent memory leaks on realloc faliure 2016-09-12 22:30:25 +01:00
Vincent Sanders
315c0b0c60 fix formatting to be consistant spaces instead of partially width 4 tabs 2016-09-12 19:21:26 +01:00
Vincent Sanders
1776a0e61e make box construction use correct ascii processing 2016-09-11 16:42:12 +01:00
Vincent Sanders
6efe60ee1d simplify box_extract_link interface and improve documentation 2016-09-11 12:19:56 +01:00
Vincent Sanders
17de8d91ac change save complete to use ascii character manipulation 2016-09-11 10:27:11 +01:00
Vincent Sanders
11d2921bbf improve cookie time display and document locale interaction 2016-09-10 23:05:24 +01:00
Vincent Sanders
a91c7cdf04 make urldb parsing of ascii data explicit 2016-09-10 23:05:24 +01:00
Vincent Sanders
fa1af79e7c document file fetcher being locale dependant 2016-09-10 23:05:24 +01:00
Chris Young
e0c3e929f5 Correct the function definitions so the ARexx port works on OS3 (untested) 2016-09-10 20:53:17 +01:00
Chris Young
92601c26ae If NetSurf is already running, ensure when we open a new tab that it becomes active.
This matches the behaviour in more mainstream web browsers.
2016-09-10 20:41:07 +01:00
Chris Young
26c568af15 document ACTIVE 2016-09-10 20:38:14 +01:00
Chris Young
1f96c0a413 Add an ACTIVE switch to the OPEN ARexx command to force new tabs to be active 2016-09-10 20:36:11 +01:00
Chris Young
7cbff32f92 Stop passing NSOPTS/M back to the core
This is a quick fix to stop NetSurf crashing when the URL is provided on the commandline without the URL keyword.
Passing options on the commandline will not work until this is fixed properly.
2016-09-10 18:37:18 +01:00
Chris Young
e34b783b8d Scale using "triangle mode" to avoid corruption at the edge of bitmaps 2016-09-10 18:23:44 +01:00
Chris Young
08e88124d7 Attempt to preserve timestamps 2016-09-07 23:12:52 +01:00
Chris Young
2dba1d064d Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2016-09-07 23:11:46 +01:00
Vincent Sanders
b00a43139e make monkey frontend mime type processing use explicit ascii processing 2016-09-07 21:45:21 +01:00
Vincent Sanders
1beb1e938f make GTK frontend mime type processing use explicit ascii processing 2016-09-07 21:45:16 +01:00
Chris Young
7b5639d982 When opening a new blank tab, always switch to it. 2016-09-04 17:35:32 +01:00
Chris Young
239205033c Only bring the screen to the front if an active tab is being opened via re-launch 2016-09-04 17:17:45 +01:00
Chris Young
cd0ed22494 Bring screen to front when new window/tab is opened be launching NetSurf a second time. 2016-09-04 17:10:59 +01:00
Michael Drake
91d6215215 Duktape: Prevent clang static analysis.
Restore 336326af3a for 1.5.1 import.
2016-08-31 18:58:13 +01:00
Michael Drake
a64f8eb8a0 Duktape: Make declarations match definitions for duk_raw_read_xxx_be
Restore 6d63f7959a for 1.5.1 import.
2016-08-31 18:58:13 +01:00
Michael Drake
9800c5f298 Duktape: Update to version 1.5.1.
Version 1.5.1 includes some of our own fixes, reducing our delta
to upstream.

These should not be needed now:

    - 2cbb337756
      Squash harmless Clang warning introduced in Duktape 1.5.0.
    - 8f8cda2b48
      Fix Duktape on AmigaOS3 (thanks to Tygre and Sami)
2016-08-31 18:54:35 +01:00
Vincent Sanders
c71b1ec91b add some sanity checking for HOST variable if already set in environment 2016-08-29 13:51:11 +01:00
Chris Young
8f8cda2b48 Fix Duktape on AmigaOS3 (thanks to Tygre and Sami) 2016-08-27 18:51:17 +01:00
Vincent Sanders
a8a6098f68 move core window API into netsurf header path 2016-08-18 21:07:04 +01:00
Chris Young
5aa2feaa06 Call CloseLibrary 2016-08-18 00:33:58 +01:00
Chris Young
7543833037 Ensure we don't use a half-opened library if it is optional. 2016-08-18 00:32:33 +01:00
Chris Young
404b522119 Fail if the library interface doesn't open.
This will happen when attempting to open old 68k libraries with no separate interface file, but may also occur when the interface name or version doesn't exist (although the library version number _should_ prevent that)
2016-08-18 00:20:08 +01:00
Michael Drake
2d5db505e7 Test: Add trailing whitespace and garbage datetime string parse tests. 2016-08-17 09:11:02 +01:00
Michael Drake
30646c3145 Time: Micro-optimisation: Put GMT first in timezone list. 2016-08-17 09:07:44 +01:00
Vincent Sanders
72277de6ea add bmp file format to file fetch types for gtk and framebuffer 2016-08-16 13:08:44 +01:00
Chris Young
e8e15b9133 Open a new window instead of a tab if we can't locate the window the tab is supposed to be added to. 2016-08-15 18:00:12 +01:00
Chris Young
923cc06f98 Allow a second-run NetSurf to open passed URL in a new tab rather than a new window. 2016-08-15 17:51:01 +01:00
Vincent Sanders
02360ec7be add some corestrings API tests and fix corestrings fini. 2016-08-14 23:49:53 +01:00