Michael Drake
d9dacf9bb2
Atari: Add missing commas.
2018-08-15 07:59:21 +01:00
Michael Drake
297236ae0c
RISC OS: Use struct nsurl
.
2018-08-15 07:57:36 +01:00
Michael Drake
66a97b863c
Atari: Move to new HTTP auth API.
2018-08-15 07:29:58 +01:00
Michael Drake
c55a31aa11
RISC OS: Update to new HTTP auth API.
2018-08-15 07:29:58 +01:00
Michael Drake
97810d0c1a
Monkey: Update for new HTTP auth API.
2018-08-15 07:29:58 +01:00
Michael Drake
e41e558c5f
Haiku: Update for new HTTP auth API.
2018-08-15 07:29:58 +01:00
Michael Drake
6144993c8a
GTK: Update for new HTTP auth API.
2018-08-15 07:19:58 +01:00
Michael Drake
42d596bc11
Amiga: Update for new HTTP auth API.
2018-08-15 07:19:58 +01:00
Michael Drake
7458cfa999
Amiga: Fix silly.
2018-08-13 12:47:43 +01:00
Michael Drake
982ca87537
Amiga: Ensure realm is copied for local struct.
2018-08-13 11:31:48 +01:00
Michael Drake
57a6328b14
RISC OS: Make URL drag include the fragment.
2018-07-23 11:41:12 +01:00
Michael Drake
09b015bf11
Browser: Rename function to access bw URL.
2018-07-23 10:47:26 +01:00
Michael Drake
169a91ace9
RISC OS: Plotters: Fix typo.
2018-05-23 17:46:22 +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
6cabd4cd62
remove spurious messages file from framebuffer install target
2018-05-22 13:04:09 +01:00
Vincent Sanders
2a03ea3049
move html and text content handlers where they belong
2018-05-10 13:37:02 +01:00
Daniel Silverstone
9b04d79e60
Treat the .c font file as a sentinel for the .h, reduces rebuilds of fonts in -j
2018-04-22 14:10:16 +01:00
Vincent Sanders
0569fbf170
change tab next and back accelerators
...
fixes bug #2581
2018-04-22 14:03:18 +01:00
Vincent Sanders
2c7d24c5bc
ensure stdint is included where required
2018-04-22 14:03:18 +01:00
Vincent Sanders
d196ea7795
fix gtk accelerator loading
2018-04-22 14:03:18 +01:00
Vincent Sanders
cfa5856eea
Initial conversion of GTK accelerators to separate config file
2018-04-22 14:03:18 +01:00
Daniel Silverstone
9c164e591f
Fix embarassing typo in amiga Makefile
2018-04-22 11:37:33 +01:00
Daniel Silverstone
942ef0df03
Fix amiga Icons->icons issue
2018-04-22 11:28:08 +01:00
Daniel Silverstone
de806db28e
Move !NetSurf into frontends/riscos and fix up
2018-04-22 11:15:23 +01:00
Daniel Silverstone
e864997842
Fix last uses of !NetSurf outside of riscos build
2018-04-22 10:55:22 +01:00
Daniel Silverstone
c1e30c0c3a
Initial shuffle of stuff out of !NetSurf
2018-04-22 10:41:55 +01:00
Daniel Silverstone
5094a3fd04
Rework use of split-messages to clean up and use -z
2018-04-22 10:11:11 +01:00
Michael Drake
42f5bb6182
Framebuffer: Squash switch fall through warning.
2018-04-21 13:38:51 +01:00
Daniel Silverstone
5e52c6a233
Add missing dependency between font_internal and the generated fonts
2018-04-21 12:35:35 +01:00
Chris Young
d884e0e533
Minor opt
2018-02-27 21:51:32 +00:00
Chris Young
470dce645b
Avoid potential division by zero
2018-02-01 20:59:39 +00:00
Michael Drake
89baae16b4
Framebuffer: Squash fallthrough warnings in internal font handling.
2018-01-21 14:28:32 +00:00
Michael Drake
29e36cdf1a
Framebuffer: Tweak comment to avoid fallthrough warning.
2018-01-21 14:28:32 +00:00
John-Mark Bell
08c275ed2c
RISC OS: translate resource paths.
...
Fixes #2266 .
2018-01-21 14:27:10 +00:00
Chris Young
fdaad39a57
Don't destroy layers if we never created them.
2017-12-23 14:17:24 +00:00
Chris Young
6e5344464b
Ensure we have a layer before deleting it.
2017-12-23 14:14:20 +00:00
Chris Young
32adce8a09
Explicitly open dos.library
2017-12-10 23:20:18 +00:00
Vincent Sanders
eba0fd70eb
clean up toolbar configuration to be slightly less buggy
2017-12-10 22:57:06 +00:00
Vincent Sanders
1a7fc08e04
add crypto library to windows link to cope with updated openssl
2017-11-24 15:39:31 +00:00
Chris Young
acf5a20a2b
Fix switching back to own screen after using a public screen.
2017-11-16 19:47:30 +00:00
Chris Young
7f61cc15ea
Fix radio button labels on OS3 (thx Mikhail Malyshev)
2017-11-14 23:19:00 +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
Michael Drake
341c22d2a5
Windows: Use bitmap width as minimum width, since content width may be 0.
2017-10-25 17:51:25 +01:00
Chris Young
9af420b7af
Remove excess logging
2017-10-24 19:49:10 +01:00
Michael Drake
e418416c77
Squash remaining GCC7 -Wimplicit-fallthrough warnings.
2017-10-23 09:46:02 +01:00
Ashish Gupta
cbd23092d5
Handle HOME and END keys in framebuffer
2017-10-21 16:01:50 +01:00
Vincent Sanders
7fa4b36245
Update version for next development cycle
2017-10-15 14:44:53 +01:00
Michael Drake
8e6cf1e1d4
Framebuffer: Don't create 0x0 bitmaps if content width is 0.
2017-10-13 10:28:42 +01:00
Chris Young
2f466751ca
Ensure X DPI set correctly
2017-10-03 18:21:19 +01:00
Chris Young
7ca3308bd1
Widen available values for DPI
2017-10-03 18:03:58 +01:00
Chris Young
d2534e0e74
Button disable state updates should now work correctly on OS3
2017-09-26 23:36:56 +01:00
Chris Young
9eba271693
OS3 was not checking the GA_Disabled tag value
2017-09-26 23:33:51 +01:00
Chris Young
8e697d335a
Fix attribute
2017-09-24 23:33:04 +01:00
Daniel Silverstone
d3493b138f
Initialise DPI earlier so that it works for treeviews
2017-09-19 15:13:51 +01:00
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
Michael Drake
b0358727d9
GTK: Don't need to treat local history specially now.
2017-06-10 11:53:58 +01:00
Michael Drake
368b03bffb
Local history: Pass clip rectangle around as struct.
2017-06-10 11:15:20 +01:00
Vincent Sanders
9bf5ecfa87
Fix windows frontend click and invalidate region scroll offsets
2017-06-09 22:52:49 +01:00
Vincent Sanders
2bec7f113c
fix gtk bitmap doccomment to be truthful
2017-06-09 22:01:05 +01:00
Michael Drake
527b19b111
Windows: Core window: No need to erase the invalidated region on scroll.
...
The core is responsible for rendering the invalidated region, so
this avoids the area getting painted twice.
2017-06-09 21:58:16 +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
Chris Young
a8348f3bc9
Free the structure with the correct function call
2017-06-08 19:57:18 +01:00
Chris Young
103f99c210
Correct alignment (thx Jaime Cagigal)
2017-06-07 18:27:39 +01:00
Vincent Sanders
c08ef5f984
make windows frontend use corewindow API for local history window
2017-06-01 23:57:09 +01:00
Vincent Sanders
6b997431d3
update RISC OS frontend to use core window for local history
2017-05-28 22:07:33 +01:00
Vincent Sanders
6736ab9b72
fix risc os dialog opening relative to parent
2017-05-28 17:28:28 +01:00
Vincent Sanders
79cde2cefb
fixup windows invalidate call
2017-05-23 14:37:06 +01:00
Vincent Sanders
d6c0792541
remove cocoa frontend
...
The cocoa frontend has been broken for a few years and we have no
maintainer. It was removed from the CI six months ago and has already
bitrotted so it cannot be compiled.
2017-05-23 11:18:45 +01:00
Vincent Sanders
681586139f
update windows frontend for corewindow API change
2017-05-23 09:47:13 +01:00
Vincent Sanders
cef92b0fc7
update riscos frontend for corewindow API change
2017-05-23 09:46:56 +01:00
Vincent Sanders
3c1a6f9c52
update gtk frontend for corewindow API change
2017-05-23 09:45:37 +01:00
Vincent Sanders
ab676ec917
update atari frontend for corewindow API change
2017-05-23 09:45:24 +01:00
Vincent Sanders
6f2670ec42
update amiga corewindow implementation for changed API
2017-05-23 09:44:17 +01:00
Michael Drake
e431e6181b
RISC OS: Init core hotlist in read-only mode for external hotlist.
...
Note, the core hotlist is initialised in either normal or read-only
modes. This is done once on application startup. Toggling the
external hotlist option at runtime may cause loss of hotlist changes
made during the session.
2017-04-28 12:10:30 +01:00
Vincent Sanders
66602e6327
fixup errors introduced in set_scroll API change
2017-04-26 22:48:00 +01:00
Vincent Sanders
87ed0904e0
Merge branch 'vince/scroll-api'
2017-04-26 22:28:41 +01:00
Vincent Sanders
5fba1fb94d
Update windows frontend for set_scroll API change
2017-04-26 22:27:49 +01:00
Vincent Sanders
c100a33285
Update riscos frontend for set_scroll API change
2017-04-26 22:27:11 +01:00
Vincent Sanders
2de6386da2
Update monkey frontend for set_scroll API change
2017-04-26 22:25:23 +01:00
Vincent Sanders
0f039b4421
Update GTK frontend for set_scroll API change
2017-04-26 22:24:57 +01:00
Vincent Sanders
a696720cd6
Update framebuffer frontend for set_scroll API change
2017-04-26 22:24:29 +01:00
Vincent Sanders
db9b829df2
Update beos frontend for set_scroll API change
2017-04-26 22:24:03 +01:00
Vincent Sanders
db549331f7
Update atari frontend for set_scroll API change
2017-04-26 22:23:27 +01:00
Vincent Sanders
cbc60a906a
update amiga frontend to new set_scroll API
2017-04-26 22:22:03 +01:00
Michael Drake
4b76d2096d
GTK: Optimise tiled bitmap plotting, and scaled bitmap rendering.
...
We now let Cairo deal with the tiling. Also we don't keep cached
scaled bitmaps any more. The speedup for small bitmap tile sizes
is huge.
2017-04-26 12:38:04 +01:00
Vincent Sanders
796bb0f652
update framebuffer frontend to remove reformat API
2017-04-26 10:05:57 +01:00
Vincent Sanders
5467d5e157
update beos frontend to remove reformat API
2017-04-26 10:04:43 +01:00
Vincent Sanders
3c264d63e6
update atari frontend to remove reformat API
2017-04-26 10:03:29 +01:00
Vincent Sanders
52ee93597a
update monkey frontend to remove reformat API
2017-04-26 10:02:24 +01:00
Vincent Sanders
be7aef9231
update riscos frontend to remove reformat API
2017-04-26 10:00:51 +01:00
Vincent Sanders
1e197432f8
update amiga frontend to remove reformat API
2017-04-26 09:59:08 +01:00
Vincent Sanders
3e24dc831b
update windows frontend to remove reformat
2017-04-26 09:55:36 +01:00
Vincent Sanders
413ee474d2
update cocoa frontend with reformat API change
2017-04-26 09:52:39 +01:00
Vincent Sanders
72bd28d16e
update GTK frontend for reformat API change
2017-04-26 09:47:55 +01:00
Michael Drake
e227b3d29c
Windows: Update for core hotlist API change.
2017-04-25 12:16:33 +01:00
Michael Drake
0d8ed168b2
RISC OS: Update for core hotlist API change.
2017-04-25 12:13:07 +01:00
Michael Drake
a137de40a9
GTK: Update for core hotlist API change.
2017-04-25 12:08:32 +01:00
Michael Drake
c359bd9774
Cocoa: Update for core hotlist API change.
2017-04-25 12:06:09 +01:00
Michael Drake
229f6b5f23
Atari: Update for core hotlist API change.
2017-04-25 12:03:29 +01:00
Michael Drake
a44a0875a7
Amiga: Update for core hotlist API change.
2017-04-25 11:57:46 +01:00
Vincent Sanders
6e0f5bee55
Update beos frontend to use invalidate window area API
2017-04-23 20:59:50 +01:00
Vincent Sanders
becd3863c4
Update framebuffer frontend to use invalidate window area API
2017-04-23 20:42:37 +01:00
Vincent Sanders
6177e2930b
Update monkey frontend to use invalidate window area API
2017-04-23 20:42:37 +01:00
Vincent Sanders
b61c21c7d0
Update windows frontend to use invalidate window area API
2017-04-23 12:05:30 +01:00
Vincent Sanders
d930da3899
update gtk frontend with invalidate window API change
2017-04-23 12:05:30 +01:00
Vincent Sanders
b102950650
update atari frontend for invalidate window API change
2017-04-23 12:05:30 +01:00
Vincent Sanders
6833f526f6
update amiga frontend invalidate window API change
2017-04-19 16:32:21 +01:00
Vincent Sanders
febbdec345
update riscos frontend to invalidate window API
2017-04-19 16:27:14 +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
Michael Drake
2c8a47b7d4
GTK: Slight optimisation to nsfont_split().
...
When we aren't modifying the line, pango_layout_get_line_readonly()
is a faster alternative to pango_layout_get_line().
2017-04-11 16:32:03 +01:00
Michael Drake
90100bbd45
GTK: Font rendering: Use same pango layout for painting as for measuring.
...
With this change we are consistent about how the pango layout
we use is created.
Now it always comes from a pango_layout_new() call on a pango context
that comes from gdk_pango_context_get().
Previously the pango layout used for painting came from a call
to pango_cairo_create_layout(), which required a global called
"current_cr" (a cairo drawing context), which is only valid
during redraw (painting). Since it was only valid during
painting, this source could not be used for pango layout
creation for the measuring code.
2017-04-11 16:13:13 +01:00
Chris Young
3df40959e3
Allow for more varied notification backmsgs
2017-03-21 18:42:41 +00:00
Chris Young
cd39367ef4
Try to avoid extraneous progress notifications
2017-03-20 20:53:39 +00:00
Chris Young
ee88653dc0
Enable displaying download progress within a notification.
...
Requires Enhancer Pack (Ringhio 53.65+)
Defaults to 0 (off) as there is currently no check to see if this version is installed.
This is currently potentially dangerous to toggle whilst a download is in progress, so cannot be changed through the GUI.
2017-03-20 20:35:40 +00:00
Vincent Sanders
e182a4d67c
fix memory leak in beos instantiate error path
2017-03-05 14:43:23 +00:00
Vincent Sanders
e190cdf926
fix uninitialised variable usage in atari ssl viewer
...
cppcheck identified uninitialised variable usage error
2017-03-05 14:40:49 +00:00
Vincent Sanders
ca942e9e26
fix use of uninitialised variables in gtk print
...
fixes errors detected by coverity.
2017-03-04 14:23:06 +00:00
Vincent Sanders
30ccc06984
fix errors from cppcheck in amiga frontend
2017-03-03 19:34:11 +00:00
Vincent Sanders
7dee82d900
remove unused computed rectangle in gtk local hostory redraw
2017-02-26 16:26:50 +00:00
Vincent Sanders
86134d9881
add local history destruction for gtk
2017-02-26 16:26:50 +00:00
Chris Young
25f9610d03
Atari packaging was copying ca-bundle twice
2017-02-25 15:39:34 +00:00
Chris Young
7a42134bee
When switching to outline fonts on OS3 reset the fonts
...
TODO: make this change in the GUI when toggling
2017-02-25 00:16:49 +00:00
Chris Young
f162ddc711
Fix menu shortcuts on non-menuclass menus
2017-02-24 23:43:51 +00:00
Vincent Sanders
d9a2c7b9c1
fix some doxygen errors
2017-02-24 14:02:31 +00:00
Vincent Sanders
1820bb7e63
fix remaining doccomment errors
2017-02-22 08:30:58 +00:00
Vincent Sanders
d35f61caa3
fix merge error in windows frontend
2017-02-19 12:02:23 +00:00
Vincent Sanders
ae45b18b45
Merge branch 'vince/localhist-corewin'
2017-02-19 11:39:47 +00:00
Vincent Sanders
0f69965805
clean up some of the doxygen generation warnings
2017-02-19 11:32:17 +00:00
Vincent Sanders
67b22a8111
cleanup windows frontend documentation comments and spelling
2017-02-17 20:44:37 +00:00
Vincent Sanders
8ddb9df377
update gtk frontend to use corewindow local history
2017-02-17 09:06:32 +00:00
Vincent Sanders
9d0943b8e5
remove redundant global context
2017-02-15 08:37:52 +00:00
Vincent Sanders
6741b6e287
clean up incorrect documentation comments from plotter API rework
2017-02-14 23:06:04 +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
Vincent Sanders
7b9fa8d7eb
fix plotter merge
2017-02-12 20:31:18 +00:00
Vincent Sanders
1666944c7e
Merge branch 'vince/plotctx'
2017-02-12 20:01:05 +00:00
Vincent Sanders
513366a7a2
update beos to new plotter API
2017-02-12 19:56:09 +00:00
Vincent Sanders
4361bfeace
update atari plotters to new API
2017-02-12 18:01:46 +00:00
Michael Drake
703fd10400
RISC OS: Initialise nsfont before hotlist.
...
This should allow the treeview to measure the width of label text.
2017-02-12 10:18:02 +00:00
Chris Young
7bc4f46df1
Fix OS3 build
2017-02-11 16:28:49 +00:00
Vincent Sanders
a3a7cbf06a
update amiga plot API
2017-02-11 13:57:07 +00:00
Vincent Sanders
320c0e1a75
update windows plotters to new API
2017-02-11 13:57:07 +00:00
Vincent Sanders
386951ecfc
update framebuffer to new plotter API
2017-02-11 13:57:07 +00:00
Vincent Sanders
0f43b23270
update monkey plotters to new API
2017-02-11 13:57:07 +00:00
Vincent Sanders
3ea137ca3d
update RISC OS plotters to new API
2017-02-11 13:57:07 +00:00
Vincent Sanders
78d601eb76
Update GTK plotters to use new API
2017-02-11 13:57:07 +00:00
Daniel Silverstone
10f1b7a1aa
Fix up GTK+ hotlist finalisation to clean up properly
2017-02-05 10:43:58 +00:00
Vincent Sanders
b23f55c81b
fix warnings and errors in atari frontend
2017-01-21 16:49:14 +00:00
Vincent Sanders
6075feb487
create netsurf inttypes header to have portable integer formatting macros
2017-01-21 14:20:55 +00:00
Vincent Sanders
11f11e0a7f
add missing utils header for NOF_ELEMENTS macro
2017-01-19 22:19:46 +00:00
Vincent Sanders
10248264ff
fixup cocoa form select menu includes to get rect type definition
2017-01-19 21:31:12 +00:00
Vincent Sanders
d1246c2061
add missing include of inttypes to atari cookies viewer
2017-01-19 21:30:43 +00:00
Vincent Sanders
70d700b26c
rationalise use of utils/utils.h header
2017-01-19 21:15:08 +00:00
Chris Young
a99c7a5c44
remove silly debug
2017-01-16 22:28:02 +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
Chris Young
d871be3ea0
Update documentaton
2017-01-15 20:15:10 +00:00
Chris Young
d843f78c20
disable dynamic hotlist menu update
...
menuclass doesn't appear to be working as advertised
2017-01-15 20:11:31 +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
Chris Young
52f98c9fb2
Share menuclass object with all browser windows
2017-01-15 14:55:15 +00:00
Chris Young
24fed9d51c
Remove excess logging and fix user-added hotlist separator bars
2017-01-15 00:22:37 +00:00
Chris Young
b6f7ea536c
Fix MenuClass menu creation
2017-01-14 23:47:00 +00:00
Chris Young
e4d6d9a972
Get selected state with MenuClass compatible abstraction
2017-01-14 21:04:51 +00:00
Chris Young
313aaabdde
Replace OnMenu/OffMenu with MenuClass compatible abstraction
2017-01-14 20:51:51 +00:00
Chris Young
9f10babe64
Merge branch 'master' of git://git.netsurf-browser.org/netsurf into chris/menuclass
2017-01-14 19:58:54 +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
Chris Young
0d9023148d
Our hook function needs to be in UserData, not PickHook, for window.class reasons.
2017-01-12 18:46:48 +00:00
Chris Young
8ffc2e753b
Avoid accessing NULL pointer
2017-01-12 18:32:06 +00:00
Daniel Silverstone
9e03737627
Dave Higton's fix for 'tree' windows not being movable off-screen
2017-01-10 11:23:24 +00:00
Chris Young
439deddba1
Attempt to construct menu using menuclass
2017-01-09 19:06:09 +00:00
Chris Young
4fab8f830b
Queue redraws for SimpleRefresh browser windows
2017-01-08 23:10:27 +00:00
Chris Young
c19ea4deaa
Support SimpleRefresh corewindows
...
These queue redraws unlike the main browser window, which seems to work a bit better than redrawing immediately.
2017-01-08 13:59:51 +00:00
Chris Young
05e4463230
Update corewindow scrollbars when user resizes window
2017-01-08 13:21:32 +00:00
Chris Young
074afb43f4
Process in-window scrollbars using IDCMPUPDATE too
2017-01-08 01:55:45 +00:00
Chris Young
3436c097d2
Ensure we free the NM_END menu item
2017-01-08 01:29:50 +00:00
Chris Young
bf3ba5c97b
Complete Amiga corewindow implementation and migration from old treeviews
...
Merge branch 'chris/amiga-corewindow'
2017-01-08 01:09:41 +00:00
Chris Young
ae8959fa8b
Remove old tree implementation
2017-01-08 00:40:40 +00:00
Chris Young
d885c79743
remove excessive logging
2017-01-08 00:34:06 +00:00
Chris Young
22e25971ed
Working internal and tree-to-browser drags
...
tree-to-tree drags don't work unless the source supports internal drag moves (so global history to hotlist won't work as it did before)
2017-01-08 00:29:49 +00:00
Chris Young
0f58d92ab6
Dragging works internally
...
(except it doesn't, as the hotlist window is broken and doesn't respond to the mouse until selecting random menu items)
2017-01-07 18:00:48 +00:00
Chris Young
83840dca49
Possibly slightly less but still definitely broken drag handling
2017-01-07 17:43:45 +00:00
Vincent Sanders
d1693c27c0
fix windows installer generation
...
the windows installer package generation was not correctly
parameterised which resulted in fetching resources from incorrect
locations. Additionally the clean target was not removing generated
installer output.
2017-01-07 13:28:40 +00:00
Vincent Sanders
9be0f4ccaf
fixup usage of directory creation macro in Makefiles
2017-01-07 13:21:25 +00:00
Chris Young
a4bedbbaeb
Broken corewindow drag implementation
2017-01-07 00:26:15 +00:00
Chris Young
917a602dce
Conversion of Amiga hotlist manager to corewindow
2017-01-06 23:56:52 +00:00
Chris Young
a86f2c8dd3
Migrate global history to corewindow
2017-01-06 18:27:09 +00:00
Chris Young
e98a05bb08
Complete cookie manager corewindow interface
2017-01-05 18:50:38 +00:00
Chris Young
6e957396a9
fix some ui corruption on scrollbar hide
2017-01-03 20:14:41 +00:00
Chris Young
d6f6326ce9
it's not a double-click if the mouse has moved
2017-01-03 20:01:58 +00:00
Chris Young
26b98ac51b
template for menu addition in cookie manager
2017-01-03 19:43:55 +00:00
Chris Young
57a2bb8599
Merge branch 'master' of git://git.netsurf-browser.org/netsurf into chris/amiga-corewindow
2017-01-03 19:29:04 +00:00