Commit Graph

123 Commits

Author SHA1 Message Date
Vincent Sanders
a3ef5c2c3c fixup jsapi dom interface to include correct html/dom acessor hierachy 2012-08-15 18:48:46 +01:00
Vincent Sanders
135aae3921 add element object 2012-08-05 23:42:45 +01:00
Michael Drake
2ad24f39da Interned string cleanup, phase 2: Create utils/corestrings and use it in css handler. 2012-07-22 15:48:55 +01:00
Vincent Sanders
bd244b121a Merge branch 'vince/forms-fixed'
Conflicts:
	Makefile.sources
	render/box_construct.c
	render/html.c
	render/html_internal.h

Merge Daniel Silverstones forms branch
2012-07-14 14:42:02 -06:00
Vincent Sanders
6ab102c3b1 Rework form acessors to deal with binding changes 2012-07-14 13:24:14 -06:00
Vincent Sanders
d7289f6701 remove parser binding layer 2012-07-13 17:37:22 -06:00
Vincent Sanders
019be7616c split out script handling from html 2012-07-13 17:37:21 -06:00
Vincent Sanders
274a76d97a Add initial navigator object creation.
Basic navigator object outline ready to add methods to.
The navigator object contains all the information about the browser

Signed-Off-By: Vincent Sanders <vince@netsurf-browser.org>
2012-07-02 22:48:41 +01:00
Vincent Sanders
638e135c60 correctly setup window object as global
svn path=/trunk/netsurf/; revision=13987
2012-06-26 18:55:57 +00:00
Vincent Sanders
8611281b2e add content handler for javascript
svn path=/trunk/netsurf/; revision=13971
2012-06-19 22:57:29 +00:00
Vincent Sanders
49effe103a restructure javascript binding layout to be more explicit
fix html content so it correctly loads all the script tags


svn path=/trunk/netsurf/; revision=13968
2012-06-19 09:35:51 +00:00
Vincent Sanders
4c89c9d5df improve javascript support
svn path=/trunk/netsurf/; revision=13962
2012-06-10 22:17:30 +00:00
Vincent Sanders
b21f85a072 initial move to libdom
svn path=/trunk/netsurf/; revision=13573
2012-03-23 23:18:04 +00:00
Vincent Sanders
6ebaecccaf Totaly prefunctry binding to spidermonkey
svn path=/trunk/netsurf/; revision=13360
2012-01-01 21:42:38 +00:00
John Mark Bell
4e3a4448ec Beginnings of a gstreamer binding. I've been sitting on this for too long
svn path=/trunk/netsurf/; revision=13248
2011-12-05 22:33:02 +00:00
Michael Drake
e1f7a37f15 Port fetch layer to nsurl. Remove unused fetch_get_referer function.
svn path=/trunk/netsurf/; revision=12899
2011-09-27 11:07:32 +00:00
Vincent Sanders
b051cf466f Add Image cache and inegrate png and jpeg content handlers
Current periodic cache clean algorithm is poor and requires replacing with something suitable (probably a segregated LRU)
The speculative load algorithm is likewise poor and only uses the image size to make a decision.

svn path=/trunk/netsurf/; revision=12720
2011-09-04 23:50:14 +00:00
John Mark Bell
6807fa854d Sniff content types where appropriate.
We never sniff for CSS, nor for non-page artefacts (e.g. treeview icons)

svn path=/trunk/netsurf/; revision=12707
2011-09-04 06:28:09 +00:00
Chris Young
8679a18e28 Fix build when using NETSURF_USE_ROSPRITE
svn path=/trunk/netsurf/; revision=12674
2011-08-28 22:05:11 +00:00
Vincent Sanders
cd554e6f1e make image content handlers build conditional from teh makefile
svn path=/trunk/netsurf/; revision=12673
2011-08-28 14:29:15 +00:00
Michael Drake
63c07ee28d Core part of search improvement:
+ Split up browser window and content related elements of html & text search.
+ Associate search contexts with contents, rather than browser windows.
+ Remove highlighting of search terms dependency on current_redraw_browser.
+ Fixes issues with search contexts being applied to the wrong content.


svn path=/trunk/netsurf/; revision=12646
2011-08-24 12:29:30 +00:00
John Mark Bell
b34502af82 Refactor http utilities
svn path=/trunk/netsurf/; revision=12595
2011-07-08 08:38:17 +00:00
Michael Drake
bc91b72c56 Clean up text input code. Now desktop/textinput.{c|h} is concerend with browser windows only. HTML content specific stuff moved to render/textinput.{c|h} and disassociated from browser windows.
svn path=/trunk/netsurf/; revision=12587
2011-07-07 17:50:04 +00:00
François Revel
955896ac46 Revert r12412, the doi: URI scheme hasn't been kept around it seems, even ACM doesn't use it. And kyllikki was jumping on his seat anyway... It's still in the svn history if needed. I have some stuff for view-source: and man: but I'm not use they would be appreciated either :-D
svn path=/trunk/netsurf/; revision=12414
2011-05-16 19:28:40 +00:00
François Revel
d25e5568bb Add a redirecting fetcher for the doi: URI scheme. Not much used but just in case...
svn path=/trunk/netsurf/; revision=12412
2011-05-15 20:01:25 +00:00
Michael Drake
ac447fc293 s/scroll/scrollbar/ and improve scrollbar widget comments.
svn path=/trunk/netsurf/; revision=12363
2011-05-09 22:49:17 +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
Daniel Silverstone
15760b0960 Try encouraging the auto-build of testament a little harder
svn path=/trunk/netsurf/; revision=12122
2011-03-22 12:04:02 +00:00
Michael Drake
66f6e9eff5 Rename utils/resource to utils/filepath to avoid confusion with resource: fetcher.
svn path=/trunk/netsurf/; revision=12088
2011-03-17 11:26:30 +00:00
Daniel Silverstone
cc18b5f21e Initial testament functionality
svn path=/trunk/netsurf/; revision=12020
2011-03-13 11:59:20 +00:00
Vincent Sanders
0231675abf add resource handling
move gtk and framebuffer to use generic resource handling

svn path=/trunk/netsurf/; revision=11772
2011-02-23 22:27:55 +00:00
Michael Drake
a66575dfeb Remove thumbnail_create() from browser.h. Make RO front end use the core thumbnail_redraw function. Make other front ends include the right header for thumbnail_create().
svn path=/trunk/netsurf/; revision=11716
2011-02-19 22:17:54 +00:00
Vincent Sanders
fa98e3d76a add about: fetcher
rename fetchers to be more sensible 

svn path=/trunk/netsurf/; revision=11692
2011-02-15 23:18:10 +00:00
Michael Drake
20aedef6d8 Debug function for dumping browser_mouse_state.
svn path=/trunk/netsurf/; revision=11061
2010-12-15 18:05:25 +00:00
Vincent Sanders
802f58f10d Futher simplification of the makefile
Use target makefiles to set build sources

svn path=/trunk/netsurf/; revision=10916
2010-10-29 00:54:27 +00:00
Vincent Sanders
07c62407e2 Fix windows url bar
Clean up toolbar and urlbar creation and subclassing 

svn path=/trunk/netsurf/; revision=10891
2010-10-17 00:08:35 +00:00
Vincent Sanders
01c8552489 make windows frontend build and run again
Fix redraw bugs
Still major issue with frames

svn path=/trunk/netsurf/; revision=10880
2010-10-10 22:42:24 +00:00
John Mark Bell
6173bb0e6c Merge treeview-redux to trunk
svn path=/trunk/netsurf/; revision=10865
2010-10-05 19:14:46 +00:00
Chris Young
c0b63c111b WebP image support, needs libwebp (from trunk/libwebp) and libvpx.
Only enabled for Amiga build currently, may have colour issues on little-endian CPUs

svn path=/trunk/netsurf/; revision=10860
2010-10-03 20:41:31 +00:00
Chris Young
c0332c4394 Use core file fetcher
svn path=/trunk/netsurf/; revision=10759
2010-09-12 10:23:12 +00:00
John Mark Bell
2077918805 Merge branches/vince/netsurf-file-fetcher to trunk
r=jmb

svn path=/trunk/netsurf/; revision=10750
2010-09-09 21:45:59 +00:00
Michael Drake
175bb0344c Move directory listing HTML generation functions into separate module.
svn path=/trunk/netsurf/; revision=10715
2010-08-26 17:29:02 +00:00
Vincent Sanders
bda534e12a Clean up how GTK frontend finds resources
svn path=/trunk/netsurf/; revision=10668
2010-07-28 15:22:44 +00:00
Chris Young
693094ced4 Correct executable name. Apparently running the wrong executable makes it difficult
to spot glaringly obvious bugs :)

svn path=/trunk/netsurf/; revision=10625
2010-07-10 10:46:56 +00:00
John Mark Bell
5bebf2f2fc Merge branches/vince/netsurf-fbtk-rework to trunk.
svn path=/trunk/netsurf/; revision=10605
2010-07-07 18:08:17 +00:00
Michael Drake
b010a25771 + Refactor input handling from browser window code into content
handlers.
+ Disentangle all box tree manipulation from browser window
  code and put it where it belongs.
+ Move other content specific and other irrelevant code from
  browser window handling to appropriate places.
+ Put mouse state enum in new mouse header, since it's not just
  used by browser window code, and it is used by treeview
  windows on the treeview branch.

svn path=/trunk/netsurf/; revision=10561
2010-06-04 09:35:08 +00:00
Chris Young
8f9677dfa8 Allow building of AmigaOS4 Cairo and non-Cairo versions of NetSurf in same source tree
svn path=/trunk/netsurf/; revision=10544
2010-05-03 17:12:32 +00:00
Vincent Sanders
fe151c135d First steps towards rationalising fbtk, split teh scrollbar widgets out
svn path=/trunk/netsurf/; revision=10466
2010-04-22 23:50:58 +00:00
Rob Kendrick
39209643d0 Add gtk_compat.c, which provides implementations of newer GTK functions that we require. This is needed because some macros we were using have been deprecated and replaced with functions, and we build without deprecated features due to it spewing warnings everywhere.
svn path=/trunk/netsurf/; revision=10392
2010-04-13 17:13:52 +00:00
John Mark Bell
2748fe4f64 Make downloads work again.
svn path=/trunk/netsurf/; revision=10243
2010-04-05 21:35:38 +00:00