Commit Graph

390 Commits

Author SHA1 Message Date
Chris Young
d0df3fa4b3 more accessor for gui_window_2 2019-05-08 01:44:44 +01:00
Chris Young
1cd30fdb3c Move ami_(re)set_pointer (back?) into gui.c as they need to set/read the gui_window_2 structure 2019-05-08 00:59:04 +01:00
Chris Young
ae36d35728 throbber crap 2019-05-08 00:56:07 +01:00
Chris Young
a5aa53657c get the window title from a gui_window 2019-05-08 00:35:09 +01:00
Chris Young
1edf8f2848 set find window function 2019-05-08 00:30:51 +01:00
Chris Young
c64d48005c Try moving form_control into gui_window 2019-05-08 00:18:43 +01:00
Chris Young
4713e1c8af Accessor for the select menu control pointer 2019-05-08 00:16:06 +01:00
Chris Young
ca1a519cfa remove direct access to gui_window_2's gui_window 2019-05-08 00:08:35 +01:00
Chris Young
b9dd0a60c3 accessor for window from gui_window_2 2019-05-07 23:43:15 +01:00
Chris Young
83c3831853 set menu to window through a function 2019-05-07 22:22:12 +01:00
Chris Young
67af746324 Get menu structure directly from gui_window 2019-05-07 22:07:57 +01:00
Chris Young
6d1f480f01 Get the shared window's window structure directly from the gui_window
In a lot of places gui_window_2 was only being accessed for Window
2019-05-07 21:58:09 +01:00
Chris Young
5c7b5476f0 Make gui_window private to gui.c
TODO: ratonalise these accessors
2019-05-07 21:45:40 +01:00
Chris Young
d719bdcee3 No debug symbols on OS3
None of the tools manage to extract any info from them
2019-05-06 13:36:18 +01:00
Chris Young
3e3a8e9549 Fix crash on exit 2019-05-06 13:31:35 +01:00
Vincent Sanders
2c49123a27 attempt to fix amiga os3 build 2019-05-06 12:16:45 +01:00
Vincent Sanders
dd96a69573 fix several amiga frontend warnings 2019-05-06 10:32:16 +01:00
Vincent Sanders
35bc2ccbb8 change content get_source_data interfaces to return uint8_t and size_t
previously these interfaces returned char * and unsigned int which was
undesirable.
2019-05-05 22:50:25 +01:00
Vincent Sanders
f966580d22 remove some warnings in amiga frontend build 2019-05-05 22:48:44 +01:00
Chris Young
ccb499b800 Release guigfx drawhandle 2019-04-10 18:27:24 +01:00
Chris Young
1a170f9f32 Re-instate accidental removal of pkg-config for curl/openssl 2019-04-08 18:44:44 +01:00
Chris Young
ac46ecbc1c Small Capital Q codepoint 2019-04-08 18:35:51 +01:00
Chris Young
35dbf07440 Add AmiSSL requirement 2019-04-08 12:49:13 +01:00
Chris Young
178d4bc25c Fix some bsdsocket.library usage
NetSurf now builds against libcurl-AmiSSL
2019-04-08 12:49:13 +01:00
Chris Young
0a72449f4b Allow for building against AmiSSL instead of OpenSSL 2019-04-08 12:49:06 +01:00
Chris Young
7c9066b49f No reason why RISC OS ,type extensions should end up in the Amiga resources any more 2019-03-17 23:59:55 +00:00
Chris Young
d0a9fc3e35 Fix IORequest duplication and ensure library bases are cleared when closed. 2019-03-17 23:43:47 +00:00
Chris Young
7d402ebc46 Reduce compression level for compatibility with Amiga LhA 2.15 2019-03-15 23:18:43 +00:00
Chris Young
446fd392e8 Ensure the message port has been initialised 2019-03-15 18:19:10 +00:00
Chris Young
13a7004e6b Fix URL + FORCE issue #2635 2019-03-02 23:30:38 +00:00
Chris Young
7d1e8a75fb single precision test 2018-11-21 18:41:43 +00:00
Chris Young
5b849b1e22 Add a TODO for history context menu 2018-09-27 00:23:36 +01:00
Chris Young
dfc8f5aef4 Quick fix to convert helphints to correct charset
We should probably have our own strings for these
2018-09-27 00:18:14 +01:00
Chris Young
b097455772 Convert find window messages to local charset 2018-09-27 00:12:17 +01:00
Chris Young
64bc2a7931 Stop using the same large list of gadget constants everywhere
Saves a small amount of memory
2018-09-26 23:53:49 +01:00
Chris Young
1a8fdb1462 Change logging back to INFO 2018-09-09 14:36:28 +01:00
Chris Young
39176736b3 Log version numbers of opened libraries
Log open failures as ERROR instead of INFO
2018-09-02 17:12:40 +01:00
Vincent Sanders
7fae41b6d3 update copyright years and versions in docs and readme 2018-08-29 10:40:36 +01:00
Chris Young
0f18440fd5 Convert user/pass from/to UTF-8
Haven't successfully logged in with credentials featuring UTF-8 characters, but ASCII run through the conversion is working and UTF-8 usernames display correctly when the user is re-prompted.
2018-08-15 18:54:47 +01:00
Chris Young
b46f1257c3 Convert user/pass to UTF-8 for submission 2018-08-15 18:20:18 +01:00
Chris Young
7964629914 Convert login UI strings from UTF-8 before display 2018-08-15 18:02:10 +01:00
Chris Young
122f09af5d Close login window if NetSurf quits 2018-08-15 17:39:36 +01:00
Michael Drake
42d596bc11 Amiga: Update for new HTTP auth API. 2018-08-15 07:19:58 +01:00
Michael Drake
7458cfa999 Amiga: Fix silly. 2018-08-13 12:47:43 +01:00
Michael Drake
982ca87537 Amiga: Ensure realm is copied for local struct. 2018-08-13 11:31:48 +01:00
Michael Drake
09b015bf11 Browser: Rename function to access bw URL. 2018-07-23 10:47:26 +01:00
Michael Drake
8332bf6b2a Plotters: Remove width param from path plotter.
We now use the stroke_width in the plot_style.
2018-05-23 13:48:17 +01:00
Michael Drake
66493421e6 Plotters: Change stroke width in the plot_style_t to fixed point. 2018-05-23 13:04:19 +01:00
Michael Drake
a58d97a41a Plotters: Add plot_style_fixed type, and use for font size. 2018-05-23 11:48:35 +01:00
Vincent Sanders
2a03ea3049 move html and text content handlers where they belong 2018-05-10 13:37:02 +01:00
Daniel Silverstone
9c164e591f Fix embarassing typo in amiga Makefile 2018-04-22 11:37:33 +01:00
Daniel Silverstone
942ef0df03 Fix amiga Icons->icons issue 2018-04-22 11:28:08 +01:00
Daniel Silverstone
e864997842 Fix last uses of !NetSurf outside of riscos build 2018-04-22 10:55:22 +01:00
Daniel Silverstone
c1e30c0c3a Initial shuffle of stuff out of !NetSurf 2018-04-22 10:41:55 +01:00
Chris Young
d884e0e533 Minor opt 2018-02-27 21:51:32 +00:00
Chris Young
470dce645b Avoid potential division by zero 2018-02-01 20:59:39 +00:00
Chris Young
fdaad39a57 Don't destroy layers if we never created them. 2017-12-23 14:17:24 +00:00
Chris Young
6e5344464b Ensure we have a layer before deleting it. 2017-12-23 14:14:20 +00:00
Chris Young
32adce8a09 Explicitly open dos.library 2017-12-10 23:20:18 +00:00
Chris Young
acf5a20a2b Fix switching back to own screen after using a public screen. 2017-11-16 19:47:30 +00:00
Chris Young
7f61cc15ea Fix radio button labels on OS3 (thx Mikhail Malyshev) 2017-11-14 23:19:00 +00:00
Chris Young
b099a8582e Remove the iconify gadget from the OS3 build
It is unlikely to ever work and I'm bored of hearing about it not working.
2017-11-13 19:01:45 +00:00
Chris Young
9af420b7af Remove excess logging 2017-10-24 19:49:10 +01:00
Vincent Sanders
7fa4b36245 Update version for next development cycle 2017-10-15 14:44:53 +01:00
Chris Young
2f466751ca Ensure X DPI set correctly 2017-10-03 18:21:19 +01:00
Chris Young
7ca3308bd1 Widen available values for DPI 2017-10-03 18:03:58 +01:00
Chris Young
d2534e0e74 Button disable state updates should now work correctly on OS3 2017-09-26 23:36:56 +01:00
Chris Young
9eba271693 OS3 was not checking the GA_Disabled tag value 2017-09-26 23:33:51 +01:00
Chris Young
8e697d335a Fix attribute 2017-09-24 23:33:04 +01:00
Vincent Sanders
8fb2fc6fc3 rationalise history icon bitmap handling to ensure correct lifetime 2017-09-10 16:06:38 +01:00
Daniel Silverstone
8123e65351 Finalise nslog layer properly in closedown 2017-09-10 14:22:05 +01:00
Vincent Sanders
5d6f189d8b Fixup everything the semantic patch missed 2017-09-07 18:12:09 +01:00
Vincent Sanders
b9bdc279f2 Update scheduler logging to use catagory 2017-09-07 15:30:08 +01:00
Vincent Sanders
b346790cf6 update plotter logging to use a catagory 2017-09-06 18:45:35 +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
Michael Drake
d70beb28db Content API: Make content_broadcast take pointer to content_msg_data. 2017-08-26 15:50:03 +01:00
Chris Young
83b0dd2409 Don't double-convert string 2017-06-28 18:58:53 +01:00
Vincent Sanders
ee749f2b11 cleanup use of internal frames scrollbar widget header 2017-06-11 11:46:50 +01:00
Chris Young
40951d5294 Use the correct function to get the URL at position
Hint popup still broken though :(
2017-06-10 22:37:43 +01:00
Chris Young
6511e9f9e0 Migrate Amiga local history to corewindow 2017-06-10 22:21:46 +01:00
Vincent Sanders
653ccb78a9 Split local history data from viewer in headers
This separates the local history data object API from the viewing
API. It also changes the api to return nsurl references instead of
strings.
2017-06-10 18:37:21 +01:00
Michael Drake
92ecc77768 Core window: Ensure all front ends initialise drag_status. 2017-06-10 18:10:07 +01:00
Michael Drake
368b03bffb Local history: Pass clip rectangle around as struct. 2017-06-10 11:15:20 +01:00
Vincent Sanders
703427a486 Update documentation removing junk and moving to markdown for most text files 2017-06-09 17:30:00 +01:00
Chris Young
a8348f3bc9 Free the structure with the correct function call 2017-06-08 19:57:18 +01:00
Chris Young
103f99c210 Correct alignment (thx Jaime Cagigal) 2017-06-07 18:27:39 +01:00
Vincent Sanders
6f2670ec42 update amiga corewindow implementation for changed API 2017-05-23 09:44:17 +01:00
Vincent Sanders
66602e6327 fixup errors introduced in set_scroll API change 2017-04-26 22:48:00 +01:00
Vincent Sanders
cbc60a906a update amiga frontend to new set_scroll API 2017-04-26 22:22:03 +01:00
Vincent Sanders
1e197432f8 update amiga frontend to remove reformat API 2017-04-26 09:59:08 +01:00
Michael Drake
a44a0875a7 Amiga: Update for core hotlist API change. 2017-04-25 11:57:46 +01:00
Vincent Sanders
6833f526f6 update amiga frontend invalidate window API change 2017-04-19 16:32:21 +01:00
Chris Young
7e0ed132f7 Adjust the requested class versions to be the minimum required.
Some features of later versions are used but are either restricted to OS4 only, or runtime version checks select the appropriate routines.
Where the lowest required version cannot be determined, the version provided in the ClassAct 3.3 archive is requested.
Bugs may mean these older classes do not work as expected.
In addition, restrict the opening of listbrowser.gadget and the custom Stringview class to OS4 only.
2017-04-16 17:49:27 +01:00
Chris Young
3df40959e3 Allow for more varied notification backmsgs 2017-03-21 18:42:41 +00:00
Chris Young
cd39367ef4 Try to avoid extraneous progress notifications 2017-03-20 20:53:39 +00:00
Chris Young
ee88653dc0 Enable displaying download progress within a notification.
Requires Enhancer Pack (Ringhio 53.65+)
Defaults to 0 (off) as there is currently no check to see if this version is installed.
This is currently potentially dangerous to toggle whilst a download is in progress, so cannot be changed through the GUI.
2017-03-20 20:35:40 +00:00
Vincent Sanders
30ccc06984 fix errors from cppcheck in amiga frontend 2017-03-03 19:34:11 +00:00
Chris Young
7a42134bee When switching to outline fonts on OS3 reset the fonts
TODO: make this change in the GUI when toggling
2017-02-25 00:16:49 +00:00
Chris Young
f162ddc711 Fix menu shortcuts on non-menuclass menus 2017-02-24 23:43:51 +00:00
Vincent Sanders
0f69965805 clean up some of the doxygen generation warnings 2017-02-19 11:32:17 +00:00