Commit Graph

14026 Commits

Author SHA1 Message Date
Vincent Sanders
778c05a194 populate customize window toolbar 2019-09-21 10:53:41 +01:00
Vincent Sanders
608cc3cbbf make handling of non browser window containing tabs reasonable 2019-09-21 10:53:41 +01:00
Vincent Sanders
747f135de5 make new browser window creation logic common 2019-09-21 10:53:41 +01:00
Vincent Sanders
fc4ad51a66 fix both gtk2 and 3 toolbar ui builder files 2019-09-21 10:53:41 +01:00
Vincent Sanders
c7c89daff3 allow toolbar customisation to open a tab 2019-09-21 10:53:41 +01:00
Vincent Sanders
46e1116aaa change toolbar customization to tab approach 2019-09-21 10:53:41 +01:00
Vincent Sanders
65d5161558 remove unsused junk gtk_history_window structure and functions 2019-09-21 10:53:41 +01:00
Vincent Sanders
635be1dfb8 make toolbar and menubar hiding work appropriately 2019-09-21 10:53:41 +01:00
Vincent Sanders
bcb2b7a2c4 simplify toolbar items macros 2019-09-21 10:53:41 +01:00
Vincent Sanders
1119707410 add toolbar customize to main and burger menu 2019-09-21 10:53:41 +01:00
Vincent Sanders
5f5b94c2ae simplify menu initialisation macros 2019-09-21 10:53:41 +01:00
Vincent Sanders
061499eef6 set menu activation handler using toolbar items 2019-09-21 10:53:41 +01:00
Vincent Sanders
64b2f355dc use toolbar_items to generate more boilerplate code through macros 2019-09-21 10:53:41 +01:00
Vincent Sanders
ec62f346e1 fix toolbar property update 2019-09-21 10:53:41 +01:00
Vincent Sanders
f6a669464f split burger menu from popup context menu 2019-09-21 10:53:41 +01:00
Vincent Sanders
85b65921ed cleanup scaffolding a bit 2019-09-21 10:53:41 +01:00
Vincent Sanders
2e8861dc05 make web search icon setting work properly 2019-09-21 10:53:41 +01:00
Vincent Sanders
e84990bc89 make popup context menu work on toolbar 2019-09-21 10:53:41 +01:00
Vincent Sanders
e36338b617 complete toolbar button click handler implementation 2019-09-21 10:53:41 +01:00
Vincent Sanders
08d7c55cc5 another five handlers and fix menu sensitivity on throbber state change 2019-09-21 10:53:41 +01:00
Vincent Sanders
45bd456cd8 add five more handlers 2019-09-21 10:53:41 +01:00
Vincent Sanders
7f115dc926 implemented another seven signal handlers 2019-09-21 10:53:41 +01:00
Vincent Sanders
8f0c0734ea implement more toolbar item handlers and make menus call them 2019-09-21 10:53:41 +01:00
Vincent Sanders
8eebe695f0 allow menu activation to use the toolbar button implementations 2019-09-21 10:53:41 +01:00
Vincent Sanders
b24b28e40e clean up some more handler code and remove button push 2019-09-21 10:53:41 +01:00
Vincent Sanders
ff64341ed3 make menu sensitivity work
what remains is interfaces to make the toolbar appropriately sensative
2019-09-21 10:53:41 +01:00
Vincent Sanders
c297101c3a make menus work again 2019-09-21 10:53:41 +01:00
Vincent Sanders
b389dd4116 make web search box work 2019-09-21 10:53:41 +01:00
Vincent Sanders
f3a68771e3 add home button clicked handler 2019-09-21 10:53:41 +01:00
Vincent Sanders
305190fe73 implement several more button press handlers 2019-09-21 10:53:41 +01:00
Vincent Sanders
07a9d5b3fb connect button clicked events for local history and stop buttons 2019-09-21 10:53:41 +01:00
Vincent Sanders
8b5100a97e fix url enttry completion 2019-09-21 10:53:41 +01:00
Vincent Sanders
869c16dae6 cleanup toolbar warnings 2019-09-21 10:53:41 +01:00
Vincent Sanders
bd90138b48 make url entry repond to navigate and update signals 2019-09-21 10:53:41 +01:00
Vincent Sanders
dd767acfee make toolbar url entry display url 2019-09-21 10:53:41 +01:00
Vincent Sanders
02c75d0790 working throbber 2019-09-21 10:53:41 +01:00
Vincent Sanders
89fb88f6de move toolbar to be in tab contents 2019-09-21 10:53:41 +01:00
Vincent Sanders
65d169da10 get the code to at least compile again. toolbar is completely broken 2019-09-21 10:53:41 +01:00
Vincent Sanders
1fc51d1f44 moved most of init to toolbar.c 2019-09-21 10:53:41 +01:00
Daniel Silverstone
63fc84a25f netsurf_exit(): Finalise DOM namespace strings
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-09-07 15:39:59 +01:00
Daniel Silverstone
8b0aec4bac Monkey: Clean up various leaked blocks
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-09-07 15:24:37 +01:00
Daniel Silverstone
b03786920a hlcache_fini(): Deschedule cleanups on finalisation
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-09-07 15:23:45 +01:00
Daniel Silverstone
4065f1e027 netsurf_exit(): Release user-agent string on exit
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-09-07 15:23:23 +01:00
Daniel Silverstone
6c2d97bf01 useragent: Add a free_user_agent_string() function
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-09-07 15:22:52 +01:00
Daniel Silverstone
2d87e7ebea monkey_driver: Make window-close take timeout=5
In the parallel test we run, it can sometimes take more than
a second for the JS compartment of a window to close down.  Since
that's part of the shutdown of a window, the driver can end up
timing out.  Default the timeout to 5s for window-close but make
it possible to specify in the yaml too.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-09-07 14:53:18 +01:00
Daniel Silverstone
524965b867 Box Conversion: Cancel conversion during html_destroy
If dom_to_box is still in progress when we destroy an HTML
content, we need to cancel the conversion otherwise we will
end up with a scheduled callback into infinity.

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-23 21:58:07 +01:00
Daniel Silverstone
cb33f696a2 browser_window: use about:blank if current_parameters is empty
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-23 21:57:04 +01:00
Daniel Silverstone
df496cc8bc Window: set{Timeout,Interval}() default delay 10ms
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-21 21:46:52 +01:00
Daniel Silverstone
9a3f138f92 Browser: Do a better job of not leaking query URIs to the frontend
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-21 20:51:13 +01:00
Daniel Silverstone
2538d05bb4 browser: Turn internal nav URLs into corestring_nsurls
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-08-21 20:50:54 +01:00