Commit Graph

144 Commits

Author SHA1 Message Date
Chris Young
c5a07fac76 Replace global current gui_window with an accessor function 2019-05-10 20:32:40 +01:00
Chris Young
944d8fc412 try storing form_control in the hook data
it doesn't appear to be needed anywhere else
2019-05-08 18:12:22 +01:00
Chris Young
19742c826a Make gadget object enum private to gui.c 2019-05-08 17:51:53 +01:00
Chris Young
76618d9588 make gui_window_2 private to gui.c 2019-05-08 17:48:50 +01:00
Chris Young
df5c18315f Pass ptr to clicktab var instead of func calls 2019-05-08 17:29:14 +01:00
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
Vincent Sanders
dd96a69573 fix several amiga frontend warnings 2019-05-06 10:32:16 +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
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
13a7004e6b Fix URL + FORCE issue #2635 2019-03-02 23:30:38 +00: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
d884e0e533 Minor opt 2018-02-27 21:51:32 +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
d2534e0e74 Button disable state updates should now work correctly on OS3 2017-09-26 23:36:56 +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
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
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
6511e9f9e0 Migrate Amiga local history to corewindow 2017-06-10 22:21:46 +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
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
Vincent Sanders
30ccc06984 fix errors from cppcheck in amiga frontend 2017-03-03 19:34:11 +00:00
Chris Young
0c32cbb7cb Try to ensure we get the correct type of native BitMap 2017-02-13 18:41:38 +00:00
Chris Young
184348dada Remove direct_render, only ever used for debugging 2017-02-13 18:30:30 +00:00
Chris Young
76d1758d7f Make gui_globals less... global 2017-02-13 18:27:37 +00:00
Chris Young
e38f4d2f1a Get render bitmap size via function 2017-02-13 18:16:22 +00:00
Chris Young
593ec1fbea Manage shared pens internally unless we need multiple lists (eg. per browser_window) 2017-02-13 18:09:43 +00:00
Chris Young
075e9c0258 Alloc gui_global structure when initialising 2017-02-13 17:46:20 +00:00
Chris Young
edaa9c29f2 Remove use of global context data from Amiga frontend 2017-02-13 00:18:32 +00:00
Chris Young
2083375ec4 Perform dynamic update of Hotlist menu when using MenuClass menus
Currently updates on closing the Hotlist window, but could be persuaded to update on every hotlist drag if deemed necessary.
2017-01-16 22:24:05 +00:00