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
Vincent Sanders
74e73a3b8b
make local history use system colours
2017-01-12 08:00:02 +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
01e116ee1f
Clear pointer after free
2017-01-08 00:46:23 +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
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