Commit Graph

67 Commits

Author SHA1 Message Date
Vincent Sanders
d27027d4ba fix type used with content_get_source_data() 2019-05-06 08:13:00 +01:00
François Revol
579465df50 Haiku: use the native locale API to get the language name
We used getenv() on LC_MESSAGES but we currently set it incorrectly
anyway... We keep this as a fallback.
2018-08-21 21:17:12 +02:00
François Revol
35f28f0c9a haiku: add a package target
It seems to work, but hardcodes the dependencies versions.
2018-08-15 17:11:00 +02:00
Michael Drake
cf17ecbbc7 Haiku: Use struct nsurl in header. 2018-08-15 08:18:31 +01:00
Michael Drake
58240e4967 Haiku: Remove extraneous void. 2018-08-15 08:01:24 +01:00
Michael Drake
e41e558c5f Haiku: Update for new HTTP auth API. 2018-08-15 07:29:58 +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
2c7d24c5bc ensure stdint is included where required 2018-04-22 14:03:18 +01:00
Daniel Silverstone
c1e30c0c3a Initial shuffle of stuff out of !NetSurf 2018-04-22 10:41:55 +01:00
Vincent Sanders
0a6e8fc0b0 fix beos throbber allocation 2017-09-11 17:42:49 +01:00
Daniel Silverstone
8123e65351 Finalise nslog layer properly in closedown 2017-09-10 14:22:05 +01:00
Daniel Silverstone
0ad2f2de6f Hopefully quash LOG compile errors in BeOS 2017-09-08 19:45:13 +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
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
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
66602e6327 fixup errors introduced in set_scroll API change 2017-04-26 22:48:00 +01:00
Vincent Sanders
db9b829df2 Update beos frontend for set_scroll API change 2017-04-26 22:24:03 +01:00
Vincent Sanders
5467d5e157 update beos frontend to remove reformat API 2017-04-26 10:04:43 +01:00
Vincent Sanders
6e0f5bee55 Update beos frontend to use invalidate window area API 2017-04-23 20:59:50 +01:00
Vincent Sanders
e182a4d67c fix memory leak in beos instantiate error path 2017-03-05 14:43:23 +00:00
Vincent Sanders
0f69965805 clean up some of the doxygen generation warnings 2017-02-19 11:32:17 +00:00
Vincent Sanders
7b9fa8d7eb fix plotter merge 2017-02-12 20:31:18 +00:00
Vincent Sanders
513366a7a2 update beos to new plotter API 2017-02-12 19:56:09 +00:00
Vincent Sanders
7dab7cb43d move plot style header to netsurf include directory
move plotter style header and adjust all callers to use only what they
actually require.
2017-01-13 10:03:24 +00:00
Vincent Sanders
9be0f4ccaf fixup usage of directory creation macro in Makefiles 2017-01-07 13:21:25 +00:00
Vincent Sanders
6c441fd4b1 remove unecessary include of depricated tree interface from beos 2016-12-16 15:14:26 +00:00
François Revol
811d7b7175 haiku: close parenthesis in version string
they are unmatched due to the CI ifdefery
2016-11-21 21:34:57 +01:00
François Revol
540c6ee0ef haiku: use logging instead of fprintf 2016-11-21 21:02:55 +01:00
François Revol
cd3720d5b6 haiku: Fix popup menu
Only the reload entry is enabled for now.
2016-11-21 21:02:55 +01:00
François Revol
30ca72b32e haiku: Rework menu accelerator handling
Instead of splitting accel keys from the item string, we go the GTK
way of using a separate Accel-suffixed string id.
2016-11-21 18:20:47 +01:00
François Revol
b5fd0ae1ed haiku: catch NetPositive messages also in the Window
At least Pe sends them there for its Help menu.
2016-11-21 16:51:40 +01:00
François Revol
31b1c72ddc haiku: add a file extension when viewing source
Pe still requires it to detect the language, this makes it easier.
2016-11-21 16:38:22 +01:00
François Revol
35146ef0c8 haiku: try to open source in preferred app for source-code first
We still fall back to the hardcoded list, but we first check for the
user's prefered code editor.
2016-11-21 16:16:34 +01:00
Vincent Sanders
61a00c3832 fix unecessary base64 header include 2016-11-19 17:11:23 +00:00
Michael Drake
fa2e3b7784 URL unescape: return the new length to the caller.
The avoids situations were we threw away the length, only for
the caller to have to strlen the returned string.

Note, there seems to be a case of the amiga front end writing
beyond end of allocation.  Added a TODO for now.
2016-07-24 14:03:16 +01:00
Vincent Sanders
8066d1c8b4 move key press enums and operations to their own header 2016-07-01 14:27:04 +01:00
Vincent Sanders
c313524998 reduce curl usage to fetcher, url unescaping and time parsing 2016-06-29 23:06:53 +01:00
Daniel Silverstone
47ccd9855d Move fetcher_fdset to fetch.h (and rename to fetch_fdset). Maybe not ideal but better 2016-06-27 21:09:39 +01:00
Daniel Silverstone
767b73f5c7 Add NULL for silly frontend which can't use a useful compiler 2016-06-27 21:04:21 +01:00
Vincent Sanders
66d0f14b32 move the public form API 2016-06-14 12:39:54 +01:00
Vincent Sanders
976eca9958 msplit public url database API out for frontends 2016-06-13 23:34:45 +01:00
Vincent Sanders
f236e7d6b7 remove unecessary content header inclusion from beos frontend 2016-06-11 18:44:20 +01:00
Vincent Sanders
cba3a1468c beos frontend compile cannot do forward declrarations of enums 2016-06-06 10:24:51 +01:00
Vincent Sanders
de3194d1fe missed necessary header for haiku 2016-06-06 10:15:12 +01:00
Vincent Sanders
3743c78d56 fixup beos build after content header changes 2016-06-06 10:09:59 +01:00
Vincent Sanders
5074190c01 haiku gcc does not support forward enum declarations 2016-06-06 09:19:25 +01:00
Vincent Sanders
76a68d7dd0 Update content to split public and internal API 2016-06-06 09:01:38 +01:00