Commit Graph

117 Commits

Author SHA1 Message Date
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
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
John Mark Bell
000e6ad3de It turns out that realloc(ptr, 0) --> free(ptr) is not actually required by the C standard (whereas realloc(NULL, size) --> malloc(size) is).
Therefore, explicitly model the behaviour expected by our libraries (that realloc of 0 size is equivalent to free).

svn path=/trunk/netsurf/; revision=10524
2010-04-30 07:00:58 +00:00
Vincent Sanders
03bb3e8636 remove _GNU_SOURCE define from everywhere.
strndup is not standard so provide an implementation.

svn path=/trunk/netsurf/; revision=10474
2010-04-24 15:22:17 +00:00
John Mark Bell
2748fe4f64 Make downloads work again.
svn path=/trunk/netsurf/; revision=10243
2010-04-05 21:35:38 +00:00
Vincent Sanders
95e4a737de rationalise the usage of the file scheme
svn path=/trunk/netsurf/; revision=10221
2010-03-31 13:59:57 +00:00
Vincent Sanders
7e67527267 first part of initialisation refactor move gui_init2 into frontends
svn path=/trunk/netsurf/; revision=10202
2010-03-29 16:59:30 +00:00
Daniel Silverstone
270ef59a98 Merge jmb/new-cache; r=dsilvers,rs=vince
svn path=/trunk/netsurf/; revision=10180
2010-03-28 12:56:39 +00:00
Chris Young
033b5d815a Move code which extracts the filename from a given path into frontend.
svn path=/trunk/netsurf/; revision=10139
2010-03-21 13:32:59 +00:00
John Mark Bell
e01c0ea326 Use correct length definition
svn path=/trunk/netsurf/; revision=9867
2010-01-23 13:48:06 +00:00
John Mark Bell
9f69106ac4 Construct font_family from core family name.
svn path=/trunk/netsurf/; revision=9863
2010-01-22 07:40:25 +00:00
Vincent Sanders
e01d93f344 Refactor main into the frontends
remove unused embedded global

svn path=/trunk/netsurf/; revision=9851
2010-01-20 20:32:30 +00:00
François Revel
314dd0cd50 Add missing gui_window_scroll_visible().
svn path=/trunk/netsurf/; revision=9784
2010-01-03 21:06:53 +00:00
François Revel
a3a0044185 Default BeOS implementation for save_complete_gui_save() and save_complete_htmlSaveFileFormat().
svn path=/trunk/netsurf/; revision=9780
2010-01-02 20:41:24 +00:00
François Revel
3ea6fa1fd9 Fix getting the box style to a BFont. for the clipboard.
svn path=/trunk/netsurf/; revision=9778
2010-01-02 02:54:30 +00:00
François Revel
6c95f7b967 Accomodate for plotter API change.
svn path=/trunk/netsurf/; revision=9777
2010-01-02 02:52:33 +00:00
François Revel
7b6ca89c57 Actually fake stdbool inclusion here as well.
svn path=/trunk/netsurf/; revision=9776
2010-01-02 02:51:06 +00:00
François Revel
b1fc7d44ab Remove copy-paste leftover ?
svn path=/trunk/netsurf/; revision=9775
2010-01-02 02:26:21 +00:00
François Revel
33034bf6f3 Handle new parameter to fetch_send_callback().
svn path=/trunk/netsurf/; revision=9774
2010-01-02 02:24:45 +00:00
François Revel
ba2396e554 s/TRANSPARENT/NS_TRANSPARENT/
svn path=/trunk/netsurf/; revision=9773
2010-01-02 02:14:21 +00:00
John Mark Bell
355799ce0b Merge branches/MarkieB/gtkmain to trunk.
svn path=/trunk/netsurf/; revision=9729
2009-12-17 23:55:02 +00:00
François Revel
d16eb2d650 Typo.
svn path=/trunk/netsurf/; revision=8984
2009-08-02 11:31:35 +00:00
John Mark Bell
ddeadd1c02 Merge LibCSS port to trunk.
svn path=/trunk/netsurf/; revision=8752
2009-07-23 23:05:34 +00:00
John Mark Bell
1e96962f6f Fix stupid
svn path=/trunk/netsurf/; revision=8672
2009-07-22 07:59:55 +00:00
John Mark Bell
6e13c2fb0a Scale font sizes, for better accuracy.
svn path=/trunk/netsurf/; revision=8657
2009-07-21 16:55:35 +00:00