Vincent Sanders
2d9ed9cbc4
rename default build output directory target
2017-01-05 23:02:03 +00:00
Chris Young
047b37d5f8
Merge branch 'chris/amiga-corewindow'
...
Amiga cookie and SSL cert windows now migrated to corewindow
2017-01-05 18:56:03 +00:00
Chris Young
5687f6c27d
clear tree pointer on free
2017-01-05 18:53:33 +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
Chris Young
695783e33b
re-structure menu code to make it useable elsewhere in the frontend
2017-01-03 19:27:40 +00:00
Chris Young
2e11f7f3cb
less cranky scrollbars
2017-01-03 18:03:43 +00:00
Chris Young
5eb7ee97ed
Basic conversion of cookie manager to core window
...
slightly broken; blank window until resized; scroll bar wrong; no menu
2017-01-03 00:26:00 +00:00
Chris Young
3b1ef784fd
Partially implement Amiga core window
...
Migrate SSL cert window to use core window
Core window implementation has some features missing but is good enough for SSL cert
I will improve it as I migrate the other windows.
2017-01-02 19:18:28 +00:00
Chris Young
2bd8eb8c0b
Fix sslcert redraw
2017-01-02 19:16:33 +00:00
Chris Young
64bb74bdaf
fix mouse click processing
2017-01-02 18:57:16 +00:00
Chris Young
48e95ad2b3
show/hide scrollbars as required
...
move the sslcert scrollbars into the window as per the style guide
2017-01-02 18:41:40 +00:00
Vincent Sanders
eb63c1cc50
update default framebuffer font path
2017-01-02 15:28:58 +00:00
Chris Young
0fafa9576e
make the window title text common
2017-01-02 15:02:32 +00:00
Chris Young
4892497a19
correct full-window redraw co-ords
2017-01-02 14:55:17 +00:00
Chris Young
4b7abde7b0
ssl cert window should not have a close gadget
2017-01-02 14:50:20 +00:00
Chris Young
98f94c4bf3
move mousemove back to the event loop and ensure the window is created cleared
2017-01-02 14:41:08 +00:00
Chris Young
e7c9b863b3
Take the redraw routine from old tree_redraw with less meddling
2017-01-02 13:47:21 +00:00
Chris Young
a9cc0792a4
migrate sslcert to use corewindow
...
predictably blank
2017-01-02 12:57:07 +00:00
Michael Drake
a5222b579b
Windows: Fix font table to return nserror.
...
We were returning true on success, which when the return value was
tested for being NSERROR_OK (0), meant it was treated as failure.
Now we correctly return NSERROR_OK on success.
2017-01-02 12:10:14 +00:00
Michael Drake
e3b2f792c0
Framebuffer: Fix internal font table to return nserror.
...
We were returning true on success, which when the return value was
tested for being NSERROR_OK (0), meant it was treated as failure.
Now we correctly return NSERROR_OK on success.
2017-01-02 12:01:40 +00:00
Michael Drake
24b7fdf438
Framebuffer: Fix freetype font table to return nserror.
...
We were returning true on success, which when the return value was
tested for being NSERROR_OK (0), meant it was treated as failure.
Now we correctly return NSERROR_OK on success.
2017-01-02 11:59:32 +00:00
Chris Young
dab118b6f7
Amga core window redraw
...
This almost certainly will not work properly
2017-01-01 23:57:35 +00:00
Chris Young
3227ed6556
handle core window mouse buttons
...
todo: support drags
2017-01-01 17:26:55 +00:00
Chris Young
eb1f39fe7d
Process mouse moves and qualifier keys
...
NB: we are doing mouse moves differently by using an IDCMP hook on space.gadget, as this gives us co-ordinates relative to the render area
GID_DRAW object when the window is defined will need tagging ICA_TARGET, ICTARGET_IDCMP
2017-01-01 16:45:27 +00:00
Chris Young
31c08f39be
Basic event loop, only handles keypresses and window closure so far
2017-01-01 14:53:37 +00:00
Chris Young
c40e8197c2
Allow for the prospect of in-window scrollbars
2017-01-01 14:34:04 +00:00
Chris Young
8196f5b602
Basic template for an Amiga core window
...
Drawing and event processing not written yet
2017-01-01 13:28:11 +00:00
Chris Young
bb23418981
Merge branch 'chris/extmem'
...
This enables AmigaOS4.1FEU1 to use Extended Memory for the storage of uncompressed bitmaps.
2016-12-31 14:53:10 +00:00
Chris Young
86a0f14d0a
Make the documentation reflect reality.
...
ExtMem is enabled by default for now to give it a good workout. Disabled may be a more sensible default.
2016-12-31 14:47:33 +00:00
Chris Young
8af9a8407b
Don't unmap ExtMem immediately as:
...
(a) it is upsetting the gif decoder (although I suspect it is caused by the OS struggling with the excessive remaps)
(b) We are probably going to need to map it back in imminently for display
2016-12-31 14:43:06 +00:00
Chris Young
36b26b861f
Update to test ExtMem on OS4.1FEU1
...
Mostly works, but falls over when there are lots of tiny GIF anims on screen
2016-12-31 14:17:22 +00:00
Chris Young
43bbdc520d
Fix merge error
2016-12-31 14:04:14 +00:00
Chris Young
b7551fec72
NULL iextmem
2016-12-31 14:03:34 +00:00
Chris Young
570212add2
Don't map an extmem area is it is already mapped, just extend the lifetime
2016-12-31 14:03:34 +00:00
Chris Young
adac4d98bb
More logging
2016-12-31 14:03:34 +00:00
Chris Young
982a59744f
Revert "Disable ExtMem in palette-mapped modes"
...
This reverts commit 4db40c3f27d0ade8fc76f57cd383e5ff52ad7c93.
2016-12-31 14:03:33 +00:00
Chris Young
205abcf189
Debug logging
2016-12-31 14:03:33 +00:00
Chris Young
937dce4f2e
Schedule unmapping the extmem object to ensure it releases main memory
2016-12-31 14:03:33 +00:00
Chris Young
493036a920
Documentation
2016-12-31 14:02:40 +00:00
Chris Young
a83afda791
Disable ExtMem in palette-mapped modes
...
Something handling palette mapped images causes a freeze.
2016-12-31 14:01:29 +00:00
Chris Young
0804c43bf1
Allocate uncompressed bitmap data in extended memory.
...
This currently isn't working correctly - it simply freezes at some point after loading the page.
2016-12-31 14:01:29 +00:00
Vincent Sanders
5382ad2aa6
patch up cocoa use of depricated tree api
2016-12-31 01:04:27 +00:00
Vincent Sanders
48f868a955
move tree compatability layer to amiga frontend
2016-12-31 01:04:27 +00:00
Chris Young
76673bbf65
add a todo
2016-12-31 00:58:03 +00:00
Chris Young
5e523b608a
Simply the event loop for the shared message port
...
This now simply calls the event callback for each window, which returns TRUE is the window was closed during event processing.
The window loop now restarts if any windows were closed, which fixes a potential rare issue with delayed event processing.
2016-12-31 00:51:05 +00:00
Chris Young
9df30eb78f
Update local history window to use event callback
2016-12-31 00:43:06 +00:00