Michael Drake
3f45e53539
s/history_core/local_history/
2013-07-10 11:55:42 +01:00
Vincent Sanders
2f280f16eb
completely rework scaffolding window destruction using gtkwidget destroy signals
2013-06-28 12:13:02 +01:00
Vincent Sanders
3d7f79683c
add new tab tab
2013-06-27 16:42:08 +01:00
Vincent Sanders
59dc293156
fix status/toolbar bottom split position and setting user option in gtk
2013-06-25 19:01:41 +01:00
Vincent Sanders
8b43b732bc
move gtk frontend to use new options API
2013-05-28 14:16:11 +01:00
Vincent Sanders
63d7247a9c
fix mismatched option name and variable names
...
block_ads should be block_advertisments to match option name
toolbar_status_width should be toolbar_status_size to match option name
2013-05-28 14:16:11 +01:00
Vincent Sanders
ee6e6eec05
move options include
2013-05-28 14:16:10 +01:00
Michael Drake
631265ef6b
Front ends have no reason to include desktop/selection.h now.
2013-05-10 12:16:05 +01:00
Michael Drake
3afd9c9731
Remove search context from browser window, simplify search interface for front ends.
...
Added content interface for search.
Removed bw->cur_search search context. Desktop layer now does nothing
except pass search requests from front end onto the bw's current_content
via the content interface.
Search API reduced to a pair of functions at each level:
{desktop|content|html|textplain}_search
and
{desktop|content|html|textplain}_search_clear
Updated front ends to use simplified search API. Only tested GTK and RO builds.
These confine the search stuff to render/. However search still uses struct
selection. The handling for which is still spread over desktop/ and render/.
Also the render/search code itself still fiddles inside html and textplain
privates.
2013-05-07 14:41:40 +01:00
Michael Drake
c2a718075a
A load of refactoring of how content selection and input work.
...
Keypresses now go via content interface.
Contents don't shove the selection object into browser windows any more.
Contents report selection existence by sending message.
HTML content keeps track of where selections in it exist.
Contents report whether they have input focus via caret setting msg.
Caret can be hidden (can still input/paste) or removed.
Consolidate textarea selection handling.
Make textarea report its selection status changes to client.
Various textarea fixes.
Changed how we decide when to clear selections, and give focus.
2013-02-22 12:19:35 +00:00
Vincent Sanders
529ca251fc
rename flags for browser_window routines to be shorter
2013-02-18 11:51:42 +00:00
Vincent Sanders
b112dec78d
change browser_window_create and refactor all callsites
2013-02-18 11:23:48 +00:00
Vincent Sanders
3bfb5b96a7
browser_window_navigate refactor
2013-02-18 11:23:27 +00:00
Michael Drake
e2e7aa135c
Update GTK front end to implement new clipboard API.
2013-01-08 17:02:27 +00:00
Vincent Sanders
33934e1271
implement the GTK preferances dialog with signals
2013-01-01 00:59:47 +00:00
John-Mark Bell
f824ab8af4
Port save complete to libdom.
2012-11-03 23:19:45 +00:00
Daniel Silverstone
fa660c24e8
Remove unnecessary libxml includes from GTK includes
2012-10-11 20:48:06 +01:00
Michael Drake
153c444454
Move browser_window struct to private header. Places that shouldn't include it do, such as front end code.
...
Frontends that have been updated to build:
framebuffer
gtk
monkey
riscos
TODO:
amiga
atari
beos
cocoa
windows
2012-08-22 12:22:58 +01:00
Michael Drake
634b8f642e
Don't need to set everything to zero since it's static
2012-08-20 23:05:09 +01:00
Michael Drake
b134279644
Allow the presence of form inputs to be obtained without knowledge of html content internals.
2012-08-20 22:02:37 +01:00
Michael Drake
9202c137b2
Remove unused includes.
2012-08-20 16:08:06 +01:00
Michael Drake
8fc0eab89b
Use proper function for dumping box tree.
2012-08-20 16:06:51 +01:00
Vincent Sanders
8ffc6439a7
fix build on gtk 2.12
...
svn path=/trunk/netsurf/; revision=13927
2012-05-17 16:48:20 +00:00
Vincent Sanders
2622adaa1f
allow netsurf to build with gtk3
...
svn path=/trunk/netsurf/; revision=13926
2012-05-16 19:57:43 +00:00
Vincent Sanders
1490b52a6b
NetSurf options rework (a=vince r=daniels,jmb)
...
svn path=/trunk/netsurf/; revision=13548
2012-03-22 09:34:34 +00:00
Vincent Sanders
ea0c028cac
fix favicon display
...
svn path=/trunk/netsurf/; revision=13460
2012-02-21 20:54:31 +00:00
Vincent Sanders
4dd1b4d80b
fix the popup menu entry signal attaching to attach the correct handler functions. as the prototype changes depending on signal type and we were using the non menu function prototype for menu entries.
...
svn path=/trunk/netsurf/; revision=13437
2012-02-08 02:45:03 +00:00
Vincent Sanders
7124d96b1f
ensure favicon is correctly set
...
svn path=/trunk/netsurf/; revision=13358
2011-12-31 12:57:47 +00:00
Vincent Sanders
e0596793e1
load default favicon once
...
svn path=/trunk/netsurf/; revision=13357
2011-12-31 00:00:54 +00:00
Vincent Sanders
be20f89884
only use libsexy entry widget prior to gtk 2.16
...
svn path=/trunk/netsurf/; revision=13356
2011-12-30 23:22:18 +00:00
Vincent Sanders
df18a97143
Change GTK plotting to use cairo surfaces throughout
...
svn path=/trunk/netsurf/; revision=13354
2011-12-30 00:58:35 +00:00
Michael Drake
67f2470d5a
Pass whether background images are wanted in redraw_context.
...
svn path=/trunk/netsurf/; revision=13335
2011-12-23 22:39:25 +00:00
John Mark Bell
f2993e6ed0
content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_url
...
svn path=/trunk/netsurf/; revision=13236
2011-12-04 14:55:23 +00:00
Daniel Silverstone
c7b2675eff
Ensure the GTK UI closes all its scaffoldings before exiting.
...
svn path=/trunk/netsurf/; revision=13019
2011-10-09 11:35:24 +00:00
Vincent Sanders
33af42360f
fix ico handler to actually decode to bitmap when called via get_internal
...
svn path=/trunk/netsurf/; revision=12980
2011-10-07 19:39:52 +00:00
Vincent Sanders
52ad2c1e25
initial favicon support
...
svn path=/trunk/netsurf/; revision=12975
2011-10-06 23:31:55 +00:00
Michael Drake
36eff6da2b
Port more internals to nsurl. Front ends may need updating.
...
svn path=/trunk/netsurf/; revision=12926
2011-10-03 15:56:47 +00:00
Vincent Sanders
212358278c
clean up gtk tabs argument types to avoid uncessary casting
...
svn path=/trunk/netsurf/; revision=12888
2011-09-26 14:34:16 +00:00
Vincent Sanders
7334ec404e
reduce to a single global structure for glade file locations
...
svn path=/trunk/netsurf/; revision=12872
2011-09-24 09:24:13 +00:00
Vincent Sanders
e82c5be653
remove deprecated GDK usage except for in libsexy
...
svn path=/trunk/netsurf/; revision=12803
2011-09-17 14:58:42 +00:00
Michael Drake
9db586ed63
Port GTK front end's context menu handling to browser_window_get_contextual_content. (Can handle various things the old code couldn't (imagemaps, (i)frames).) Fix "Save Link" menu option to save the target of the link rather than the current content.
...
svn path=/trunk/netsurf/; revision=12756
2011-09-06 18:15:42 +00:00
Michael Drake
34fe2531f2
Remove gui_window_get_browser_window from core. Remove unused implementations from front ends. Rename the GTK front end implementation to nsgtk_get_browser_window and change the GTK front end to use that.
...
svn path=/trunk/netsurf/; revision=12737
2011-09-05 13:28:17 +00:00
Michael Drake
48917cbb82
GTK changes for core search update (r12646).
...
svn path=/trunk/netsurf/; revision=12647
2011-08-24 12:31:27 +00:00
Michael Drake
9c91893028
Fix selection for non-gui browser windows (iframes).
...
Selection no longer uses current_redraw_browser.
Fix long-standing selection bugs on platforms that use action on release behaviour.
svn path=/trunk/netsurf/; revision=12598
2011-07-13 13:20:26 +00:00
Michael Drake
eddae6af06
Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends.
...
svn path=/trunk/netsurf/; revision=12543
2011-06-30 15:48:07 +00:00
Michael Drake
324e5bfce4
New window opens with homepage, rather than current page.
...
svn path=/trunk/netsurf/; revision=12457
2011-06-04 13:51:42 +00:00
John Mark Bell
e71691bae8
Merge branches/jmb/content-factory to trunk
...
svn path=/trunk/netsurf/; revision=12283
2011-05-06 20:40:09 +00:00
Vincent Sanders
cb2e3f95b8
make gtk help menu entries actually do something
...
svn path=/trunk/netsurf/; revision=12065
2011-03-15 21:00:08 +00:00
John Mark Bell
408f78b737
Move schedule.h to utils/
...
svn path=/trunk/netsurf/; revision=12039
2011-03-13 22:50:54 +00:00
Michael Drake
5833549a35
Purge nsgtk_plot_set_scale(), nsgtk_plot_get_scale() and nsgtk_plot_scale global.
...
svn path=/trunk/netsurf/; revision=11943
2011-03-09 16:52:03 +00:00