Commit Graph

18 Commits

Author SHA1 Message Date
Chris Young
97010ecef5 Make screen pointer accesible through an accessor function only 2019-05-10 20:59:30 +01:00
Chris Young
76618d9588 make gui_window_2 private to gui.c 2019-05-08 17:48:50 +01:00
Chris Young
d0df3fa4b3 more accessor for gui_window_2 2019-05-08 01:44:44 +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
Michael Drake
09b015bf11 Browser: Rename function to access bw URL. 2018-07-23 10:47:26 +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
6511e9f9e0 Migrate Amiga local history to corewindow 2017-06-10 22:21:46 +01:00
Vincent Sanders
30ccc06984 fix errors from cppcheck in amiga frontend 2017-03-03 19:34:11 +00:00
Chris Young
9e814fd0f0 minor menu fixes 2017-01-15 20:01:49 +00:00
Chris Young
b78d6f458e Attempt hotlist menu refresh 2017-01-15 17:51:55 +00:00
Chris Young
b8640956d4 Ignore the other check toggle stuff with menuclass
The one thing we are toggling is actioned immediately when potentially changing the state in the prefs window
2017-01-15 16:13:32 +00:00
Chris Young
8e7603e6a2 Update JS menu check state when prefs option is toggled 2017-01-15 16:10:23 +00:00
Chris Young
606cc0c219 Split up menu.c into generic and gui_window-specific files 2017-01-15 16:05:07 +00:00