Daniel Silverstone
f1c98ccfa4
Record that we have implemented EventTarget
2017-02-05 12:39:50 +00:00
Daniel Silverstone
57fec3504f
Add dom change event test
2017-02-05 12:39:50 +00:00
Daniel Silverstone
8e9751d3b6
Add EventTarget binding
...
This adds the binding for EventTarget along with implementations for
addEventListener() removeEventListener() and dispatchEvent()
2017-02-05 12:39:46 +00:00
Daniel Silverstone
2858aec1c2
Add EventListener support to duktape binding.
...
This paves the way for EventTarget and its associated event listener support.
In particular it ensures the generic event handling we do supports the
semantics of the addEventListener() and removeEventListener() managed lists of
callbacks.
2017-02-05 12:05:04 +00:00
Daniel Silverstone
51062e55b0
Ensure hash table test doesn't go over-time
2017-02-05 11:57:26 +00:00
Daniel Silverstone
4b3f2bb946
Fix up tests to not use system libidn
2017-02-05 11:57:16 +00:00
Daniel Silverstone
108cc0cebd
Support fixed nsgenbind bindings
2017-02-05 11:20:08 +00:00
Daniel Silverstone
10f1b7a1aa
Fix up GTK+ hotlist finalisation to clean up properly
2017-02-05 10:43:58 +00:00
Vincent Sanders
1f52b2d514
remove unused fetch acessor
2017-01-31 22:56:45 +00:00
Vincent Sanders
b23f55c81b
fix warnings and errors in atari frontend
2017-01-21 16:49:14 +00:00
Vincent Sanders
e96bf01339
make backing store use inttypes format specifiers
2017-01-21 16:48:41 +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
53ce28c170
Merge branch 'chris/menuclass'
...
Use menuclass to create menus when available.
This gives certain advantages, including being able to add more than one level of sub-menu to the hotlist menu
It also makes it easier to update and synchronise menu changes across our windows.
2017-01-15 20:17:07 +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
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