Commit Graph

13018 Commits

Author SHA1 Message Date
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
8d9b2efc11 use nslog library for logging if available. 2017-09-03 23:40:32 +01:00
Vincent Sanders
f8cdbbce19 slightly amend how user config is included 2017-08-30 23:27:28 +01:00
Vincent Sanders
b72b9d1f1f clean up whitespace and indentation 2017-08-30 23:10:07 +01:00
Vincent Sanders
d1eb578ffe add logging library to required libraries 2017-08-30 23:09:15 +01:00
Vincent Sanders
7136b535ed add dnf package management 2017-08-30 23:08:44 +01:00
Michael Drake
c6717f1ade Messages: Correct code comment. 2017-08-30 09:47:49 +01:00
Michael Drake
c2ac1a713f Errorcodes: Add SPRITE_ERROR and use it in sprite content handler. 2017-08-30 09:43:13 +01:00
Michael Drake
1670dc33af Sprite content handler: Ensure we broadcast error on librosprite error. 2017-08-29 11:57:34 +01:00
Michael Drake
a9d18a8efd Sprite content handler: Fix leaked rosprite_mem_context on rosprite_load error. 2017-08-29 11:55:46 +01:00
Michael Drake
41f30992aa Messages: Return the unknown message if we get to the unhandled errorcode.
We shouldn't get there though.
2017-08-28 12:21:03 +01:00
Michael Drake
ba0283f526 RSVG content handler: Remove unused assignement. 2017-08-28 12:16:24 +01:00
Michael Drake
8de5625193 HTML CSS handler: event->data.error is invalid for errorcode. 2017-08-28 12:12:08 +01:00
Michael Drake
b35b3c1364 Search web: Ensure hlcache callbacks handle errorcode. 2017-08-28 12:10:27 +01:00
Michael Drake
c0205478c0 HTML object hlcache callback: Ensure final fetch completion triggers reformat.
Even if the final fetch finished with ERRORCODE.
2017-08-28 12:06:09 +01:00
Michael Drake
2ad990f3d5 HTML object hlcache callback: Errorcode without box is OK. 2017-08-28 12:04:23 +01:00
Michael Drake
4a014fecde hlcache content callback: Use designated initialiser for hlcache_event. 2017-08-28 11:52:54 +01:00
Michael Drake
7ba93407ad Messages: Do message lookups for all errorcodes. 2017-08-28 11:39:21 +01:00
Michael Drake
cebfa6c2cc Tests: Squash warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE". 2017-08-28 11:15:06 +01:00
Michael Drake
3a0e87e89f Errorcodes: Remove redundant MNG error. 2017-08-28 11:11:40 +01:00
Michael Drake
9fd0e06501 Whitespace: Tidy up errorcodes. 2017-08-28 11:08:18 +01:00
Michael Drake
7385f74141 Browser favicon: Handle errorcode in the hlcache callback. 2017-08-28 11:04:42 +01:00
Michael Drake
771fe0d44c HTML script handling: Convert to using content_broadcast_errorcode(). 2017-08-28 11:01:30 +01:00
Michael Drake
830d7ec6b6 HTML content handler: Ensure script fetch hlcache callback handles errorcode. 2017-08-28 10:58:02 +01:00
Michael Drake
a30ae27e5c HTML content handler: Ensure object fetch hlcache callback handles errorcode. 2017-08-28 10:53:07 +01:00
Michael Drake
adc6ceb0bb CSS content handler: Ensure fetch hlcache callback handles errorcode. 2017-08-28 10:32:48 +01:00
Michael Drake
8180116d96 Plain text content handler: Convert to using content_broadcast_errorcode(). 2017-08-28 10:27:20 +01:00
Michael Drake
e411c84e9b SVG content handler: Convert to using content_broadcast_errorcode(). 2017-08-28 10:24:04 +01:00
Michael Drake
9e64f37846 RSVG content handler: Convert to using content_broadcast_errorcode(). 2017-08-28 10:21:11 +01:00
Michael Drake
cae1c44f8f PNG content handler: Convert to using content_broadcast_errorcode(). 2017-08-28 10:14:22 +01:00
Michael Drake
36c01fc03b Sprite content handler: Convert to using content_broadcast_errorcode(). 2017-08-28 10:06:47 +01:00
Vincent Sanders
cde300133e initialise event struct correctly to avoid compiler warning 2017-08-27 16:01:58 +01:00
Vincent Sanders
5a40e94df6 remove unecessary textarea include 2017-08-27 15:46:00 +01:00
Michael Drake
d1a493f569 ICO content handler: Convert to using content_broadcast_errorcode(). 2017-08-27 13:32:53 +01:00
Michael Drake
d83f6ea3c1 GIF content handler: Convert to using content_broadcast_errorcode(). 2017-08-27 13:28:21 +01:00
Michael Drake
337bd98f6c BMP content handler: Convert to using content_broadcast_errorcode(). 2017-08-27 13:28:21 +01:00
Michael Drake
d4cdcf3067 CSS content handler: Convert to using content_broadcast_errorcode(). 2017-08-27 13:09:44 +01:00
Michael Drake
e94fe1632e Content API: Avoid content message copy in content user callback. 2017-08-26 16:38:18 +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
Vincent Sanders
a661fdf83b fix options document formatting 2017-07-31 20:33:33 +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
Vincent Sanders
8bdea3cc7e fix number of corestrings to test 2017-07-26 09:32:35 +01:00
Vincent Sanders
8721279687 update cookie database tests to not use expired cookie data 2017-07-26 09:17:57 +01:00
Chris Young
1a57d0ab7a Updated Italian translation from Samir 2017-06-28 23:44:01 +01:00
Chris Young
83b0dd2409 Don't double-convert string 2017-06-28 18:58:53 +01:00
Vincent Sanders
2b2bbbe765 fix resource leak on error in local history initialisation 2017-06-12 22:58:43 +01:00
Vincent Sanders
c4c2c22e87 remove depricated local history display API
Move local history display into separate module using corewindow
API. Note this is purely the rendering and teh browser history module
still constructs the history data.
2017-06-11 14:54:33 +01:00