Commit Graph

163 Commits

Author SHA1 Message Date
Vincent Sanders
35dacc3671 move the logging initialisation out to be call by frontends
This allows each frontend to pass a distinct callback to configure the
output file stream appropriately for their use.
2013-05-23 11:50:57 +01:00
Michael Drake
9644d0594c Remove struct selection from gui_drag_save_selection, so gui.h doesn't need it now. 2013-05-10 11:54:26 +01:00
Michael Drake
037beb44fb Pass caret clip rect out to front ends. (Nothing actually using them yet.) 2013-03-05 22:54:51 +00:00
Vincent Sanders
0eb0798873 fix errors introduced in refactor 2013-02-18 12:24:49 +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
e7e5211eb9 Update for new nsfont_split expectations. Untested, but code similar to framebuffer. 2013-02-10 18:32:08 +00:00
Michael Drake
0bfc40618a Make Monkey front end build with new clipboard API. 2013-01-08 17:06:01 +00:00
Vincent Sanders
484fa8b110 move common include path setup to core Makefile 2012-12-20 15:27:07 +00:00
Vincent Sanders
4448722425 allow flags to be selected based on compiler version 2012-12-13 19:27:16 +00:00
Vincent Sanders
c87cbe5655 split target defaults out 2012-12-13 19:26:24 +00:00
Vincent Sanders
45906b9dc2 make macro name more correct 2012-12-13 16:31:05 +00:00
Vincent Sanders
17e20537d4 try without option altogether 2012-12-13 16:04:06 +00:00
Vincent Sanders
0ff9d85813 let monkey generate unused-but-set-variable without causing an error 2012-12-13 15:52:55 +00:00
John-Mark Bell
617d655c7b Remove libxml 2012-11-10 00:11:57 +00:00
John-Mark Bell
f824ab8af4 Port save complete to libdom. 2012-11-03 23:19:45 +00:00
Daniel Silverstone
19a50699e2 Disable unused-but-set-variable warnings until such time as the JS bindings are complete (or bodged) 2012-11-02 23:04:22 +00:00
Vincent Sanders
9629e428a5 add javascript compilation to monkey 2012-10-22 16:37:58 +01:00
Michael Drake
35eb251244 Fix "error setting certificate verify locations" problem when the Choices file doesn't exist. Now there's a single place for front ends to set options overrides. Fix nsoption_setnull_charp leak. 2012-10-17 14:20:18 +01:00
Michael Drake
d88a839937 Remove suspension of bmp/gif images. It's completely redundant with the convert on demand core image cache. 2012-10-14 20:03:18 +01:00
Michael Drake
d9e7d58106 Fix up ripples from urldb change. 2012-10-11 11:20:02 +01:00
Vincent Sanders
e237ebac8f Split install and package targets.
Install target is for installing on the local machine and package generates a package
2012-08-23 11:46:31 +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
d106091d6e Pass font plot style out to front end clipboard append function. 2012-08-13 14:43:04 +01:00
Vincent Sanders
76583d63ec link math library 2012-08-13 11:16:35 +01:00
John-Mark Bell
37779f77d2 Fix build: we need libdom now. 2012-08-01 08:53:13 +01:00
Michael Drake
ce20021df7 Fix colour string matching. Lose unneeded case insensitivity in matching.
svn path=/trunk/netsurf/; revision=13739
2012-03-27 11:02:35 +00:00
Michael Drake
eb189092c7 Constify param to gui_system_colour_char function.
svn path=/trunk/netsurf/; revision=13737
2012-03-27 10:47:29 +00:00
Daniel Silverstone
85d3e6337f Monkey does not need _GNU_SOURCE
svn path=/trunk/netsurf/; revision=13596
2012-03-24 15:22:01 +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
John Mark Bell
b75a3960fc Fix gui_window_drag_start
svn path=/trunk/netsurf/; revision=13418
2012-02-05 08:16:41 +00:00
Michael Drake
6794af012e Constify rect param to gui_window_drag_start.
svn path=/trunk/netsurf/; revision=13397
2012-01-11 16:45:17 +00:00
Michael Drake
04ece30fa9 Pass pointer constraints for drag out to front ends. Ensure content scrollbar drag termination always informs the browser window layer that the drag is over.
svn path=/trunk/netsurf/; revision=13395
2012-01-11 14:20:26 +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
e2ffd38c1e Fix monkey frontend
svn path=/trunk/netsurf/; revision=13238
2011-12-04 14:59:11 +00:00
Daniel Silverstone
f32fa6fa0e More response tags, updated docs with commands
svn path=/trunk/netsurf/; revision=13181
2011-11-25 18:08:30 +00:00
Rob Kendrick
dd3ac94a9c Avoid unused variable warning
svn path=/trunk/netsurf/; revision=13180
2011-11-25 16:46:00 +00:00
John Mark Bell
d5bb9d98e7 Build resource: map at start time
Remove stylesheet url globals -- the core will always use resource:{default,quirks,adblock}.css as appropriate

svn path=/trunk/netsurf/; revision=12949
2011-10-05 08:32:52 +00:00
John Mark Bell
f27d5a3e15 Remove gui_multitask
svn path=/trunk/netsurf/; revision=12828
2011-09-21 00:25:09 +00:00
Michael Drake
0401d52f51 Remove gui_window_frame_resize_start() functions.
svn path=/trunk/netsurf/; revision=12738
2011-09-05 15:35:34 +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
5be6bd452d Remove gui_window_position_frame() definition from core and remove all implementations from front ends.
svn path=/trunk/netsurf/; revision=12711
2011-09-04 18:20:24 +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
ad205c1d66 Fix up Monkey for r12574 API change.
svn path=/trunk/netsurf/; revision=12581
2011-07-06 12:56:31 +00:00
Michael Drake
3bb83e0349 Add file missing from r12543.
svn path=/trunk/netsurf/; revision=12544
2011-06-30 15:49:12 +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
dea7683985 Remove gui_window_set_scale().
svn path=/trunk/netsurf/; revision=12502
2011-06-24 12:01:24 +00:00
Michael Drake
5a4c8916ef If iframes are reformatted due to containing document reflow, don't need to redraw them since they will be redrawn when the containing document is redrawn. Make iframe handling more robust.
svn path=/trunk/netsurf/; revision=12497
2011-06-24 09:30:33 +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
Michael Drake
a70c32422a gui_find_resource --> gui_get_resource_url.
svn path=/trunk/netsurf/; revision=12089
2011-03-17 11:57:09 +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
John Mark Bell
408f78b737 Move schedule.h to utils/
svn path=/trunk/netsurf/; revision=12039
2011-03-13 22:50:54 +00:00
Daniel Silverstone
93e9bfe323 Shunt the schedule function definitions to desktop/schedule.h. Shunt the hlcache/llcache to using schedule to get their cleanups run.
svn path=/trunk/netsurf/; revision=12029
2011-03-13 18:26:46 +00:00
Daniel Silverstone
18970a3be9 Fix message
svn path=/trunk/netsurf/; revision=12013
2011-03-13 10:51:33 +00:00
Daniel Silverstone
b4e78406e8 No point in saving bitmaps
svn path=/trunk/netsurf/; revision=12011
2011-03-13 10:19:16 +00:00
Daniel Silverstone
eef98634f6 Shunt some schedule_run() calls around.. Should improve behaviour on GTK and monkey a little
svn path=/trunk/netsurf/; revision=12004
2011-03-13 00:04:45 +00:00
Daniel Silverstone
7d8e3cac49 Run the schedule before as well as after the poll
svn path=/trunk/netsurf/; revision=12002
2011-03-12 23:59:02 +00:00
Daniel Silverstone
1fd6b4d767 Bunch of extra debug
svn path=/trunk/netsurf/; revision=12001
2011-03-12 23:58:31 +00:00
Daniel Silverstone
ef20c91f93 Take advantage of not needing to spin like a mofo thanks to r11986
svn path=/trunk/netsurf/; revision=11987
2011-03-12 19:26:03 +00:00
Daniel Silverstone
91003cbaf3 WINDOW REDRAW and WINDOW RELOAD. Also, when quitting, cleanup
svn path=/trunk/netsurf/; revision=11978
2011-03-12 17:54:02 +00:00
Daniel Silverstone
bdb05fa08a Give Monkey a hearing aid, add 'WINDOW NEW' 'WINDOW GO' and 'WINDOW DESTROY' commands, along with 'QUIT'
svn path=/trunk/netsurf/; revision=11974
2011-03-12 17:27:18 +00:00
Daniel Silverstone
7e85d15cb6 Add a deaf monkey frontend. TODO: Make it listen
svn path=/trunk/netsurf/; revision=11968
2011-03-12 15:08:07 +00:00