Commit Graph

141 Commits

Author SHA1 Message Date
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
François Revel
9fef803d1a Even less debug output.
svn path=/trunk/netsurf/; revision=12234
2011-04-22 17:59:00 +00:00
François Revel
c64bd92922 Tone down debug output a bit.
svn path=/trunk/netsurf/; revision=12222
2011-04-22 10:58:28 +00:00
François Revel
d2174fa8cc Change rsrc: fetcher to check the mime type of resources from the extension. Add needed resource to get about: working.
svn path=/trunk/netsurf/; revision=12119
2011-03-21 21:15:58 +00:00
François Revel
fea411b71e Fix BeOS build:
- missing include,
- use css_computed_color() accessor instead of struct css_computed_style member as it's now opaque to us.

svn path=/trunk/netsurf/; revision=12100
2011-03-17 20:53:59 +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
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
55fd1d0133 Front ends don't need to call thumbnail_get_redraw_scale() now.
svn path=/trunk/netsurf/; revision=11946
2011-03-09 21:04:15 +00:00
Michael Drake
e8fe0e64fd Remove nsbeos_plot_set_scale(), nsbeos_plot_get_scale() and nsbeos_plot_scale.
svn path=/trunk/netsurf/; revision=11944
2011-03-09 18:37:50 +00:00
Michael Drake
a183951c23 Don't scale text plots in front end (BeOS).
svn path=/trunk/netsurf/; revision=11938
2011-03-08 18:48:46 +00:00
John Mark Bell
de688b59e1 Fix text selection
svn path=/trunk/netsurf/; revision=11927
2011-03-06 18:04:13 +00:00
François Revel
064ab5bec9 Fix build: inline what used to be gui_window_redraw().
svn path=/trunk/netsurf/; revision=11902
2011-03-04 11:17:07 +00:00
François Revel
1842be491d Forward resources: to rsrc: which the BeOS port already has to use the stuff embedded in the binary. Doesn't seem to be used yet though !?
svn path=/trunk/netsurf/; revision=11836
2011-02-27 00:19:23 +00:00
John Mark Bell
e591889566 The frontend has no business calling fetch_poll(). Stop it.
svn path=/trunk/netsurf/; revision=11773
2011-02-23 22:30:31 +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
François Revel
e8ce7bd953 Fix the build.
svn path=/trunk/netsurf/; revision=11766
2011-02-22 23:50:18 +00:00
Michael Drake
ef18fe4384 Pass bw, not content.
svn path=/trunk/netsurf/; revision=11726
2011-02-20 16:13:50 +00:00
Michael Drake
1545c2bbae Port BeOS front end to browser_window_redraw().
svn path=/trunk/netsurf/; revision=11725
2011-02-20 16:07:43 +00:00
Michael Drake
77985f4faa Use core thumbnail_redraw() function in BeOS front end.
svn path=/trunk/netsurf/; revision=11722
2011-02-20 15:32:20 +00:00
Michael Drake
0bad971aec Impose maximum constraint on BeOS intrim thumbnail size.
svn path=/trunk/netsurf/; revision=11721
2011-02-20 15:30:23 +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
Michael Drake
94e7b44ebc Pass clip rect to clip plotters as struct. Simplify clip rect handling in debug window code. Pass clip rect to select menu as struct.
svn path=/trunk/netsurf/; revision=11683
2011-02-14 22:05:39 +00:00
Michael Drake
fe7921a387 Pass clip rect as struct through content_redraw api. Update the front ends to use this. Note only RO build tested.
svn path=/trunk/netsurf/; revision=11670
2011-02-13 22:25:11 +00:00
François Revel
e1c11a1d54 Pick the CSS system colours from ui_color() and BScreen::DesktopColor(). Update those when they are updated in ZETA. Also update the toolbar and statusbar background.
svn path=/trunk/netsurf/; revision=11535
2011-01-30 19:23:42 +00:00
François Revel
541864d501 Fix BeOS build.
svn path=/trunk/netsurf/; revision=11531
2011-01-30 17:25:36 +00:00
Vincent Sanders
fbb1139214 add default system colour handlers to each frontend
svn path=/trunk/netsurf/; revision=11530
2011-01-30 13:40:47 +00:00
François Revel
a5b5eedd50 Attempt to exit the main loop properly from the replicant view destructor. There are still some issues with multiple instances or on second instanciation though...
svn path=/trunk/netsurf/; revision=11030
2010-12-12 01:36:40 +00:00
François Revel
6b5a0c838a Fix passing replicant args. Remove debug output.
svn path=/trunk/netsurf/; revision=11029
2010-12-12 00:47:22 +00:00
François Revel
84ca0e364b Fix Replicant instanciation, though it doesn't get the url correctly yet, and leaves stuff behind when removed (like the main thread).
svn path=/trunk/netsurf/; revision=11028
2010-12-12 00:26:36 +00:00
Rob Kendrick
5285df8c33 Remove last remnants of Aliases
svn path=/trunk/netsurf/; revision=11003
2010-12-05 15:08:52 +00:00
Michael Drake
1a1bf3d2f0 Purge Aliases file stuff.
svn path=/trunk/netsurf/; revision=10982
2010-12-04 20:19:17 +00:00
Michael Drake
5eaeaed909 Remove Hubbub and Wapcaplet initialisation and finalisation.
svn path=/trunk/netsurf/; revision=10980
2010-12-04 20:14:33 +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
72cf3adc78 Beginning of NetSurf build infrastructure cleanup
Provide makefile fragment for each target, isolates the target makefile changes into one place simplifying the top level makefile

svn path=/trunk/netsurf/; revision=10910
2010-10-27 18:39: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
Michael Drake
aa877fe856 Remove todo comment for something already done.
svn path=/trunk/netsurf/; revision=10708
2010-08-14 17:09:13 +00:00
François Revel
8e84978562 Fix colors on copying to clipboard.
svn path=/trunk/netsurf/; revision=10704
2010-08-14 16:08:56 +00:00
Michael Drake
a84a8618f1 Remove printfs from bitmap plotter.
svn path=/trunk/netsurf/; revision=10699
2010-08-14 09:33:36 +00:00
Michael Drake
0612abef63 Delete dead code and tweak polygon plotter. Still wrong, but better.
svn path=/trunk/netsurf/; revision=10692
2010-08-13 10:59:40 +00:00
Michael Drake
01dc1ff435 Turn on knockout rendering.
svn path=/trunk/netsurf/; revision=10691
2010-08-13 08:41:44 +00:00
Michael Drake
2bd5c7a04a While bitmap_test_opaque() is unimplemented, it is unsafe to assume it is opaque, so return false instead.
svn path=/trunk/netsurf/; revision=10690
2010-08-13 08:38:26 +00:00
Michael Drake
312b1e9b4c Remove dead code. Fix bitmap_set_opaque() to apply the opacity value it's passed, rather than just setting it to true.
svn path=/trunk/netsurf/; revision=10689
2010-08-13 08:36:00 +00:00
François Revel
4cb2657d19 Copy over the gtk implementation of url_to_path/path_to_url(). This fixes getting the mime type of local files.
svn path=/trunk/netsurf/; revision=10688
2010-08-12 13:33:53 +00:00
François Revel
f1252a6ff1 Include the resource id enumeration header. Not used yet.
svn path=/trunk/netsurf/; revision=10682
2010-08-03 21:42:43 +00:00
François Revel
4c17317388 Move the resource id enum to its own header. Add a ersizing handle pic for the replicant.
svn path=/trunk/netsurf/; revision=10681
2010-08-03 21:24:55 +00:00
François Revel
982dc9e128 Fix BeOS build:
- struct content -> hlcache_handle
- login window (though it won't work yet as the message isn't handled, and since we don't have the window pointer anymore we can't add the alert as subset of the window...),
- rsrc fetcher,
- netsurf_init() args (but the replicant is still broken due to this),
- export the realpath() hack as it's needed elsewhere too.

svn path=/trunk/netsurf/; revision=10677
2010-08-02 23:35:35 +00:00
Chris Young
004aee8281 Amiga: Add "cut" option; make cut/copy/paste menus context sensitive; allow dragging
selections within NetSurf window to text fields (does not work across windows).

todo: switching tabs will reset cut/copy/paste menus to initial state; cut option is
putting something on the clipboard which causes a crash when pasting it back

svn path=/trunk/netsurf/; revision=10660
2010-07-24 16:39:37 +00:00
Michael Drake
513793a060 Fix inventory file leafname.
svn path=/trunk/netsurf/; revision=10624
2010-07-09 21:36:55 +00:00
Chris Young
1510bbd3ad Check the last character for a path separator, rather than the NULL string termination.
svn path=/trunk/netsurf/; revision=10622
2010-07-09 19:55:13 +00:00
Chris Young
d6eb28d5de Replace unnecessarily complicated path concatenation with something simpler and
easily adaptable to different platform path structures.

svn path=/trunk/netsurf/; revision=10621
2010-07-09 19:45:44 +00:00