Commit Graph

129 Commits

Author SHA1 Message Date
Vincent Sanders
f01a948329 move core window callbacks to the standard gui tables 2024-05-26 19:59:17 +01:00
Vincent Sanders
b5f4d905f9 use attributes to indicate switch fall through instead of comments 2024-03-05 21:33:13 +00:00
Vincent Sanders
b25ad06a34 resolve warnings in windows frontend 2024-02-27 13:22:28 +00:00
Vincent Sanders
ccb7562903 remove completely unused box pointer 2024-01-08 22:25:10 +00:00
Vincent Sanders
a82692093c Update copyright years and version numbers 2023-12-28 00:20:11 +00:00
John-Mark Bell
692da43855 BuildSystem: make package step depend on POSTEXES
The POSTEXE stages might add more stuff to the package contents,
so ensure they have completed before starting to package things up.
2022-11-03 21:44:57 +00:00
John-Mark Bell
b81c95aca8 s/http/https/ in user-facing URIs 2022-05-27 17:58:51 +01:00
Michael Drake
8e56cc3b1a Bitmap: Implement test_opaque in core instead of in every frontend. 2022-03-29 15:25:33 +01:00
Michael Drake
002c3c1a7c Bitmap API: Clean up creation flags. 2022-03-24 18:09:28 +00:00
Michael Drake
b0e61d1f32 Windows: Drop bitmap save callback entry; core doesn't use it. 2022-03-24 15:28:49 +00:00
Michael Drake
521440df7c Windows: Drop bitmap get bpp function. 2022-03-24 12:26:52 +00:00
Michael Drake
38fc60486b Windows: Use pkg-config when building on Windows. 2021-05-13 08:44:27 +01:00
Vincent Sanders
5db541a6d7 Improve target setup in makefiles
split out HOST TARGET and SUBTARGET generation into separate file.
split out target(frontend) specific tool settings into separate files.
2021-01-17 20:06:24 +00:00
zeug
1ea47f9caf Support Ctrl+A in the windows toolkit address bar 2020-08-16 23:50:52 +01:00
Vincent Sanders
38bfbe9cf6 remove perl split-messages tool usage 2020-06-22 00:04:42 +01:00
Vincent Sanders
860fbc2f8c make browser_window_update internal to browser window as intended 2020-05-25 13:45:54 +01:00
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
Vincent Sanders
714a90e2a5 update resources copyright years and readme version numbers 2020-05-23 11:14:06 +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
Daniel Silverstone
e59e52b853
windows: Convert the remaining NoMemory warnings which aren't about memory
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-24 12:10:35 +00:00
Daniel Silverstone
2fa06ed503
windows: Use nserror reporting rather than always NoMemory
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-24 11:57:18 +00:00
Daniel Silverstone
56a9a25192
Windows: Add nserror reporting function
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-24 11:57:02 +00:00
Vincent Sanders
338dd004f2 fix windows and amiga frontends to cope with certificate chain changes 2020-02-23 17:25:19 +00:00
Michael Drake
194dfad4a5 Core window: Constify the core_window handle through the getters. 2020-02-22 16:37:37 +00:00
Michael Drake
cbaf33e02d Windows: Attempt to remove unused minimum GIF delay option. 2020-02-21 11:45:20 +00:00
Vincent Sanders
0e304aba42 add page info button to url entry and update on change for win32 2019-12-16 00:31:48 +00:00
Vincent Sanders
dba2df4b9a add page info resources to win32 frontend 2019-12-16 00:28:10 +00:00
Vincent Sanders
f081ffb7e8 fix win32 font measurement of non ascii strings.
This greatly improves line breaking and font measurement in the
windows frontend.
2019-12-14 12:51:59 +00: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
03f72abdb3 fix win32 frontend to allow setting unicode titles 2019-12-01 11:27:21 +00:00
Vincent Sanders
dae0ff3d26 remove warning callback from miscelaneous function table 2019-11-11 16:59:28 +00:00
Vincent Sanders
4dc4d8b318 add miscellaneous event to browser window callback table
extend the browser window callback table with a miscallaneous event
 entry. This is used to replace all browser window callbacks which
 take no parameters.

This reduces the API surface from seven separate calls to a single
 call with an enumeration which may be readily extended.

The initial implementation in the frontends simply calls the original
 implementations to reduce scope for errors.
2019-08-20 00:16:52 +01: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
f21c41a2e5 change browser_window_redraw to use unscaled coordinates 2019-08-04 11:25:35 +01:00
Vincent Sanders
b2f5c80ef8 trivial documentation cleanups 2019-08-04 11:25:35 +01:00
Michael Drake
3938d5340b Corewindow: Sanitise scrolling API.
Now the core has a helper so that all the front ends don't need
to implement the scroll to show area API.

Now they simply have get and set scroll APIs.
2019-08-03 15:57:23 +01:00
Vincent Sanders
641f5fb072 make use of improved browser_window_set_scale API in frontends 2019-08-03 15:53:07 +01:00
Vincent Sanders
0ebfff259f change browser_window_mouse_track to use unscaled coordinates 2019-08-03 14:29:05 +01:00
Vincent Sanders
0a8ed41a1a change browser_window_mouse_click to use unscaled coordinates
this means frontends no longer need to scale mouse click events thus
simplifying their implementation.
2019-08-03 14:29:05 +01:00
Daniel Silverstone
99cb0d6bc6 windows/local_history: Scroll to cursor on open
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-02 21:02:24 +01:00
Vincent Sanders
552aab42e1 remove scaled parameter from get_dimensions 2019-08-02 12:26:20 +01:00
Vincent Sanders
5742762070 split browser and browser_window operations 2019-08-01 19:51:19 +01:00
Vincent Sanders
f7d4b485cb update copyright years for release 2019-07-17 11:19:06 +01:00
Michael Forney
6a53b447e5 Declare global variables as extern in headers
Otherwise, each source file that includes the header will create a
new definition, which are usually merged together by the linker.

Multiple definitions of an object is not allowed in ISO C.
2019-06-30 09:52:06 +01:00
Vincent Sanders
2db39b1f7d quieten down windows debug 2019-05-17 18:15:58 +01:00