Commit Graph

7478 Commits

Author SHA1 Message Date
Vincent Sanders a911ecaa48 Add compatability code to allow compilation with earlier Spidermonky versions
By using carefuly built macros we can make the spidermonkey binding
work on earlier editions of spidermonkey.

Some ideas taken from Chris Young and Ole

Signed-off-by: Vincent Sanders <vince@netsurf-browser.org>
2012-06-30 17:38:12 +01:00
John Mark Bell 05ee98d1d6 Add support for selecting text fragments (based on a patch from Ole Loots)
svn path=/trunk/netsurf/; revision=14016
2012-06-30 10:24:15 +00:00
Chris Young 0f1c918949 Add lines to enable building against Spidermonkey 1.5 or 1.8.5
svn path=/trunk/netsurf/; revision=14015
2012-06-30 09:43:55 +00:00
Daniel Silverstone 8551b9dff0 Move js_finalise(). Fix provided by Ole Loots (mono)
svn path=/trunk/netsurf/; revision=14014
2012-06-29 20:37:32 +00:00
Ole Loots 5ca30e057a Added new iconset - thanks to atfact
svn path=/trunk/netsurf/; revision=13994
2012-06-28 22:26:18 +00:00
Vincent Sanders d5c900b5f1 fix mimetype handling of script elements
svn path=/trunk/netsurf/; revision=13993
2012-06-28 14:38:28 +00:00
Vincent Sanders ac1dbe0354 fix missing default
svn path=/trunk/netsurf/; revision=13992
2012-06-28 09:30:56 +00:00
Vincent Sanders 1c15183fe3 correctly terminate properties list
add helper to convert strings

svn path=/trunk/netsurf/; revision=13991
2012-06-27 23:39:18 +00:00
Vincent Sanders 804bec4f99 make non js builds compile
make js support compile with older debian/ubuntu packaging


svn path=/trunk/netsurf/; revision=13990
2012-06-27 23:17:18 +00:00
Vincent Sanders cfd26609bd add window and self properties
svn path=/trunk/netsurf/; revision=13989
2012-06-27 18:16:45 +00:00
John Mark Bell a1b119b2cc Remove bogus sanity checks -- the content factory removed the need for these.
svn path=/trunk/netsurf/; revision=13988
2012-06-26 23:06:37 +00:00
Vincent Sanders 638e135c60 correctly setup window object as global
svn path=/trunk/netsurf/; revision=13987
2012-06-26 18:55:57 +00:00
Ole Loots bf27997312 Show alert when no editor option is configured.
svn path=/trunk/netsurf/; revision=13985
2012-06-23 00:17:57 +00:00
Ole Loots ad656167dc Handle new toolbar options (background color, iconset)
svn path=/trunk/netsurf/; revision=13984
2012-06-23 00:16:12 +00:00
Ole Loots d2e7e3546c Added new toolbar options.
svn path=/trunk/netsurf/; revision=13983
2012-06-23 00:14:17 +00:00
Ole Loots fda51d4010 Added toolbar image folder option.
svn path=/trunk/netsurf/; revision=13982
2012-06-21 22:57:31 +00:00
Ole Loots 4cb8c980ac apply background color option and removed unused struct member of struct s_tb_button.
svn path=/trunk/netsurf/; revision=13981
2012-06-21 22:01:41 +00:00
Ole Loots 1b5771e44e added new options "atari_toolbar_bg".
svn path=/trunk/netsurf/; revision=13980
2012-06-21 22:00:42 +00:00
Ole Loots 65eadf642d Handle do not trackoption and fix a call to snprintf().
svn path=/trunk/netsurf/; revision=13979
2012-06-21 21:51:43 +00:00
Vincent Sanders 07bea88149 fix theme comment
fix CONTENT_ANY mask missing the script entry

svn path=/trunk/netsurf/; revision=13978
2012-06-20 09:05:24 +00:00
Ole Loots 40a2f8622c fix history redraw by calling the window specific redraw function from gui_poll(), also switch hotlist redraw to to hotlist specific redraw function.
svn path=/trunk/netsurf/; revision=13977
2012-06-19 23:46:57 +00:00
Vincent Sanders 3b5c782c16 ensure javascript content handler is initialised
svn path=/trunk/netsurf/; revision=13976
2012-06-19 23:21:15 +00:00
Ole Loots 43c3eb33b3 Integrated do not track option into the options dialog.
svn path=/trunk/netsurf/; revision=13975
2012-06-19 23:12:02 +00:00
Ole Loots bad987b185 added some missing WITH_8BPP_SUPPORT ifdefs.
svn path=/trunk/netsurf/; revision=13974
2012-06-19 23:06:39 +00:00
Ole Loots cd45e1f447 First attempt to implement the global history treeview. There is something wrong with the redraw ( the treeview area of the windo isn't redrawn, also it looks like the treeview content size isn't set )
svn path=/trunk/netsurf/; revision=13973
2012-06-19 23:04:38 +00:00
Ole Loots 1f3d249c15 Make use of plot_set_dimensions()
svn path=/trunk/netsurf/; revision=13972
2012-06-19 23:02:37 +00:00
Vincent Sanders 8611281b2e add content handler for javascript
svn path=/trunk/netsurf/; revision=13971
2012-06-19 22:57:29 +00:00
Chris Young 08f18009c8 Fix typo
svn path=/trunk/netsurf/; revision=13970
2012-06-19 20:00:53 +00:00
Vincent Sanders 2e31b6fd90 simplify stylesheet find context and remove junk variables
svn path=/trunk/netsurf/; revision=13969
2012-06-19 10:19:24 +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 a229a35767 remove unecessary empty response workround for old libxml dom
svn path=/trunk/netsurf/; revision=13967
2012-06-17 22:12:29 +00:00
Vincent Sanders 9dc376bdec use the correct version macro
svn path=/trunk/netsurf/; revision=13966
2012-06-16 12:06:47 +00:00
Vincent Sanders a5f2a8cfba Fix stupid braino missing include for non js case
svn path=/trunk/netsurf/; revision=13965
2012-06-13 18:02:46 +00:00
Vincent Sanders 0be03dea20 fix include for non javascript builds
svn path=/trunk/netsurf/; revision=13964
2012-06-13 17:57:16 +00:00
Vincent Sanders 4c89c9d5df improve javascript support
svn path=/trunk/netsurf/; revision=13962
2012-06-10 22:17:30 +00:00
Vincent Sanders feb37dd067 cleanup debug logging
svn path=/trunk/netsurf/; revision=13961
2012-06-10 14:53:52 +00:00
Vincent Sanders d6fbe19acd remove supurflous variable
svn path=/trunk/netsurf/; revision=13960
2012-06-10 14:53:25 +00:00
Vincent Sanders bc664042c4 remove junk blank page resource
svn path=/trunk/netsurf/; revision=13959
2012-06-10 14:51:40 +00:00
Ole Loots 70f61e7208 Added "Save link as..." context menu item.
svn path=/trunk/netsurf/; revision=13958
2012-06-04 21:53:06 +00:00
Ole Loots e97c0152b5 Added "Save link as..." context menu item.
svn path=/trunk/netsurf/; revision=13957
2012-06-04 21:52:41 +00:00
Ole Loots d79046d2b5 Fix redraw of embedded toolbar, by removing declaration of already declared local variable. Load toolbar resource trees at toolbar_init().
svn path=/trunk/netsurf/; revision=13956
2012-06-04 21:12:44 +00:00
Ole Loots 8ea00bafc4 Added "Save link as..." context menu item.
svn path=/trunk/netsurf/; revision=13958
2012-06-04 21:53:06 +00:00
Ole Loots cc9457bdd7 Added "Save link as..." context menu item.
svn path=/trunk/netsurf/; revision=13957
2012-06-04 21:52:41 +00:00
Ole Loots 529a3e6725 Fix redraw of embedded toolbar, by removing declaration of already declared local variable. Load toolbar resource trees at toolbar_init().
svn path=/trunk/netsurf/; revision=13956
2012-06-04 21:12:44 +00:00
Chris Young 76b0243a0a Run NetSurf at priority 0 by default, dropping to priority -1 when
downloading.

svn path=/trunk/netsurf/; revision=13955
2012-06-04 16:15:12 +00:00
Daniel Silverstone 0437f81c55 Testament generation now supports git
svn path=/trunk/netsurf/; revision=13946
2012-06-04 15:48:21 +00:00
Daniel Silverstone 9154e8b940 Add a gitignore file
svn path=/trunk/netsurf/; revision=13945
2012-06-04 15:48:09 +00:00
Chris Young cb9cee3ab7 Don't show a "download complete" message if there was an error or the user
aborted.

svn path=/trunk/netsurf/; revision=13944
2012-06-04 15:10:13 +00:00
Ole Loots 35ee72dccf Removed the use of duplicated OBJECT trees.
svn path=/trunk/netsurf/; revision=13943
2012-06-03 22:07:57 +00:00
Ole Loots 2051bf1cc4 Fixed redraw of embedded toolbar icons ( enabled / disabled state was incorrectly handled ).
svn path=/trunk/netsurf/; revision=13942
2012-06-03 21:37:18 +00:00