Commit Graph

28 Commits

Author SHA1 Message Date
Daniel Silverstone
60f8f0126d
windows: Enable present_cookies callback
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-23 21:18:47 +01:00
Daniel Silverstone
e6c666d4f4
chore: Perform sslcert_viewer-ectomy
This removes the sslcert_viewer entirely from the code. Where
possible I've also trimmed out of frontends any code I think
should not be present.

Frontends should check and remove any further references that I
have failed to catch.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 09:01:39 +01:00
Vincent Sanders
4c68def432 extend search for certificate file to include resource paths 2019-12-10 23:12:10 +00:00
Vincent Sanders
77d184913b rename global resource path variables in win32 frontend 2019-12-10 23:12:10 +00:00
Vincent Sanders
56ddeed96c separate out construction of command line argument string vector 2019-12-10 23:12:10 +00:00
Vincent Sanders
2f7de349ea update resource search path to remove users directory
it is no longer suitable to search the users home directory for
 general browser resources as the correct config path is now
derived from the apropriate windows methods.

Additionaly the NETSURFRES environment variable is no longer part
 of the fixed path and is instead added from the makefile
 configuration option.
2019-12-10 23:12:10 +00:00
Vincent Sanders
dae0ff3d26 remove warning callback from miscelaneous function table 2019-11-11 16:59:28 +00:00
Vincent Sanders
ccd81015a1
remove login window from windows frontend 2019-08-14 12:09:04 +01:00
Daniel Silverstone
1cf1ec55bc Support SSL verification through new about: handler
In doing this, also propagate why the certificates were bad
so that the page can display a reason.  We will need FatMessages
for all these.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-06 13:15:23 +01:00
Daniel Silverstone
8469f4cc8e Reimplement handling of BAD_AUTH inside browser_window
We now handle authentication requests via an `about:` page
which presents a nice form built into the browser window.
In order to do this, we add internal navigation as a concept
to the browser window and we strip the 401login support from all
frontends except monkey.

The 401login callback is now intended for password safe type support
rather than an immediately interactive prompt.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-06 11:26:47 +01:00
Vincent Sanders
5742762070 split browser and browser_window operations 2019-08-01 19:51:19 +01:00
Vincent Sanders
95b8d12950 implement windows clipboard functionality
This allows clipboard to operate (cut, copy, paste and delete) in the
 win32 front end. The clipboard is set and read in windows unicode
 mode and then converted to/from utf-8 for the browser core.
2019-05-09 23:11:05 +01:00
Vincent Sanders
a8248a7bb9 Update windows frontend to use windows resources 2018-08-21 10:27:16 +01:00
Vincent Sanders
a6c595f4f3 add win32 http authentication dialog 2018-08-18 23:30:12 +01:00
Daniel Silverstone
8123e65351 Finalise nslog layer properly in closedown 2017-09-10 14:22:05 +01:00
Vincent Sanders
75018632a9 Use coccinelle to change logging macro calls in c files
for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done

@@ expression E; @@
-LOG(E);
+NSLOG(netsurf, INFO, E);
@@ expression E, E1; @@
-LOG(E, E1);
+NSLOG(netsurf, INFO, E, E1);
@@ expression E, E1, E2; @@
-LOG(E, E1, E2);
+NSLOG(netsurf, INFO, E, E1, E2);
@@ expression E, E1, E2, E3; @@
-LOG(E, E1, E2, E3);
+NSLOG(netsurf, INFO, E, E1, E2, E3);
@@ expression E, E1, E2, E3, E4; @@
-LOG(E, E1, E2, E3, E4);
+NSLOG(netsurf, INFO, E, E1, E2, E3, E4);
@@ expression E, E1, E2, E3, E4, E5; @@
-LOG(E, E1, E2, E3, E4, E5);
+NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5);
@@ expression E, E1, E2, E3, E4, E5, E6; @@
-LOG(E, E1, E2, E3, E4, E5, E6);
+NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6);
@@ expression E, E1, E2, E3, E4, E5, E6, E7; @@
-LOG(E, E1, E2, E3, E4, E5, E6, E7);
+NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7);
2017-09-06 18:45:27 +01:00
Vincent Sanders
c08ef5f984 make windows frontend use corewindow API for local history window 2017-06-01 23:57:09 +01:00
Michael Drake
e227b3d29c Windows: Update for core hotlist API change. 2017-04-25 12:16:33 +01:00
Michael Drake
c60ab801f3 Windows: Update for new hotlist API.
This allows the hotlist backend to work before the hotlist window opens.
2016-12-29 15:01:07 +00:00
Vincent Sanders
f3a1b49dd8 add corewindow support for windows frontend 2016-11-19 11:22:22 +00:00
Vincent Sanders
a2388a91cf Rationalise the use of win32 application instance handle use
The use of the application instance handle global variable was
inconsistent throughout the windows frontend.

By rationalising the passing of these handles it showed that some of
the toolbar and throbber parent handles were also setup wrong giving
odd offset behaviour.

All these issues have been addressed and the throbber is now in the
correct position.
2016-10-30 12:58:43 +00:00
Vincent Sanders
5e1236a8e7 allow windows frontend to load and store urldb files 2016-10-19 23:31:49 +01:00
Vincent Sanders
601d9da66d fix windows user preferences location storage 2016-10-19 11:12:19 +01:00
Vincent Sanders
7fc0a4c481 move desktop window header into public API 2016-05-30 17:32:57 +01:00
Vincent Sanders
c041393e66 move netsurf header into public API 2016-05-30 11:51:10 +01:00
Vincent Sanders
527756cca0 move fetch header into public API 2016-05-30 11:29:39 +01:00
Vincent Sanders
fe7eb85614 move misc header into public API 2016-05-30 11:23:32 +01:00
Vincent Sanders
d21447d096 move frontends into sub directory 2016-05-15 13:44:34 +01:00