Commit Graph

497 Commits

Author SHA1 Message Date
Vincent Sanders
0a6e8fc0b0 fix beos throbber allocation 2017-09-11 17:42:49 +01:00
Vincent Sanders
ff312f214e fix format specifiers signedness in atari settings 2017-09-11 17:33:35 +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
Michael Drake
d17b710fa9 GTK: Corewindow: Fix modifier keys on mouse click.
Modifiers were getting unset for the click (release) events.
2017-09-09 14:38:49 +01:00
Vincent Sanders
053fd7b583 Fix atari INFO macro name collision 2017-09-08 21:57:15 +01:00
Vincent Sanders
c1c8ed794d Revert "Hopefully quash INFO confusion on Atari MINT platform"
This reverts commit 9c93ed1bca.
2017-09-08 21:49:59 +01:00
Vincent Sanders
8b88e44090 fix time_t logging 2017-09-08 20:47:22 +01:00
Vincent Sanders
b525293a95 Fix up log call parameters 2017-09-08 20:42:12 +01:00
Daniel Silverstone
9c93ed1bca Hopefully quash INFO confusion on Atari MINT platform 2017-09-08 19:56:23 +01:00
Daniel Silverstone
a1dc9ab55f Hopefully quash LOG compile errors in Windows 2017-09-08 19:46:29 +01:00
Daniel Silverstone
0ad2f2de6f Hopefully quash LOG compile errors in BeOS 2017-09-08 19:45:13 +01:00
Vincent Sanders
f89f7192ef fix size+t formatting in logging 2017-09-07 21:08:02 +01:00
Vincent Sanders
3a633acc3f fixup junk comment close 2017-09-07 18:33:07 +01:00
Vincent Sanders
5d6f189d8b Fixup everything the semantic patch missed 2017-09-07 18:12:09 +01:00
Vincent Sanders
2b0a5ef2e7 update framebuffer toolkit logging to use a ctagory 2017-09-07 16:57:58 +01:00
Vincent Sanders
3faaf00ca3 revert semantic patch change to framebuffer font tool 2017-09-07 16:47:45 +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
9e81082355 Use coccinelle to change logging macro calls in c++
for F in $(git ls-files '*.cpp');do spatch --c++ --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
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
5a40e94df6 remove unecessary textarea include 2017-08-27 15:46:00 +01:00
Michael Drake
d70beb28db Content API: Make content_broadcast take pointer to content_msg_data. 2017-08-26 15:50:03 +01:00
François Revol
aedd9b5513 Fix bug 0002555: "No GC" alert when resizing the window
We don't need to touch the GC when invalidating anyway,
so just drop those calls.
2017-08-21 02:29:58 +02:00
Vincent Sanders
8c29c675c4 clean up atari treeview code, stop it including headers it does not need 2017-08-10 18:34:09 +01:00
James Woodcock
8c3d79f6fb fix redraw on window resize
A race condition with WM_PAINT can cause win32_window_set_scroll() to
use the old window size.  If this happens, the page data will not get
drawn from the top left of the window but offset quite a large
distance down and to the right.
2017-07-30 10:24:13 +01:00
mjw
5a9afe471c Fix windows word splitting
mjw on IRC pointed out that the windows word splitting code was not
checking a return code properly resulting in broken word splitting.
2017-07-30 10:08:39 +01:00
Chris Young
83b0dd2409 Don't double-convert string 2017-06-28 18:58:53 +01:00
Vincent Sanders
449e760d71 rationalise the RISC OS browser window implementation 2017-06-11 11:46:50 +01:00
Vincent Sanders
ee749f2b11 cleanup use of internal frames scrollbar widget header 2017-06-11 11:46:50 +01:00
Michael Drake
38c10c85cb Windows: Ensure core windows are fully initialised. 2017-06-11 10:12:50 +01:00
Michael Drake
98a73379fe RISC OS: Ensure core windows are fully initialised. 2017-06-11 10:10:25 +01:00
Michael Drake
dfa1e0bcd3 GTK: Ensure core windows are fully initialised. 2017-06-11 10:05:59 +01:00
Michael Drake
d34b0726e3 Framebuffer: Ensure local history corewindow is fully initialised. 2017-06-11 09:53:31 +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
50371731e3 GTK: Ensure drag status is initialised in core windows. 2017-06-10 17:55:18 +01:00
Michael Drake
12a1d7c36e Framebuffer: Return on successful non-repeating bitmap plot. 2017-06-10 16:18:05 +01:00
Michael Drake
c06cfd9fae Framebuffer: Fix bitmap plotter return value.
Caused local history to give up after the first bitmap plot.
2017-06-10 16:11:49 +01:00
Vincent Sanders
4b9aaee6cd update framebuffer to have corewindow interface and use it for localhistory 2017-06-10 15:35:36 +01:00
Daniel Silverstone
e25eedab66 Initial monkey farmer example, needs to be genericised 2017-06-10 12:54:57 +01:00
Daniel Silverstone
58d03aeb6f Add ability to set options in monkey 2017-06-10 12:54:57 +01:00
Daniel Silverstone
f357af4250 SET_SCROLL only wants x/y not x0y0x1y1 2017-06-10 12:54:57 +01:00
Daniel Silverstone
03ae0ec15a Look for resources in useful folder name 2017-06-10 12:54:57 +01:00
Daniel Silverstone
38df37565c Fix comments 2017-06-10 12:54:57 +01:00
Daniel Silverstone
fe9104096f Reflow monkey code, it was annoying me too much 2017-06-10 12:54:57 +01:00
Daniel Silverstone
63d53938f1 Include time in GENERIC POLL TIMED 2017-06-10 12:54:57 +01:00
Michael Drake
772ebc69c9 RISC OS: Local history now behaves the same as other core windows. 2017-06-10 12:02:44 +01:00