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
Vincent Sanders
0e5824c8e8
add bloom filter test for adding NULL string
2016-08-14 23:32:20 +01:00
Sergei Rogachev
a815ad6250
Fix longjmp to invalid address on jpeg init error
...
Libjpeg used in NetSurf for decoding of JPEG images handles exceptions using a
pair of non-local jump functions: setjmp() and longjmp(). When a decompression
context is created via a call to the function jpeg_create_decompress() the
caller passes a structure jpeg_decompress_struct as a parameter. This structure
should has a validly initialized jump buffer, so the initialization or other
functions called in future can jump to the exception handling context.
The jpeg backend of NetSurf now initializes libjpeg mistakenly: jump buffer is
filled after the call to jpeg_create_decompress(). It results in jump to random
addresses in the case of exception caught during operation of the function
jpeg_create_decompress().
The patch moves the initialization of jump buffer before the call to
jpeg_create_decompress().
Signed-off-by: Sergei Rogachev <rogachevsergei@gmail.com>
2016-08-14 22:37:12 +01:00
Vincent Sanders
c95cca4ca6
licence and credits buttons got swapped, fix it
...
Thanks to bavier for the bug report
2016-08-14 22:34:49 +01:00
Vincent Sanders
59b108498a
fix bitmap modification callback calling for bmp image handler
...
bitmap file decoding is done at first call to redraw but was not
calling the modified callback at the correct time immediately after
decode so frontend image chnages were not being done. This caused
nsgtk to fail to apply its colour space fixups so red was swapped with
blue.
2016-08-14 22:26:37 +01:00
Michael Drake
91f4f89d4c
Merge branch 'tlsa/date'
2016-08-13 13:36:17 +01:00
Michael Drake
fe00eac8cb
Buildsystem: Make curl/openssl usage build-time options.
2016-08-13 13:31:07 +01:00
Michael Drake
78d53fff1f
Tests: Add some basic tests for date string parsing.
2016-08-13 13:11:48 +01:00
Michael Drake
f23405f667
Time: Add date string to time_t parser.
2016-08-13 13:11:48 +01:00
Michael Drake
a1668f6c1e
url: Use ascii module, rather than ctype for locale safetly.
2016-08-13 12:05:55 +01:00
Michael Drake
efeeacca86
nsurl: Update to use ascii_* helper functions.
2016-08-13 12:05:55 +01:00