Commit Graph

6835 Commits

Author SHA1 Message Date
Michael Drake
e3211bf4fc fetch_can_fetch can take const nsurl.
svn path=/trunk/netsurf/; revision=12902
2011-09-27 14:42:45 +00:00
Michael Drake
7e7e1f6ed3 Squash erroneous warnings abuout uninitalised variable use from gcc 3.4.6.
svn path=/trunk/netsurf/; revision=12901
2011-09-27 12:08:23 +00:00
Michael Drake
58225862c2 fetch_can_fetch takes a nsurl now.
svn path=/trunk/netsurf/; revision=12900
2011-09-27 12:02:15 +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
Michael Drake
a269a82d1f s/nsurl_get_lwc/nsurl_get_component/
svn path=/trunk/netsurf/; revision=12898
2011-09-27 08:18:32 +00:00
John Mark Bell
e9cdc14d79 Reflect differences between draft-abarth-mime-sniff-06 and draft-ietf-websec-mime-sniff-03 (and thus, http://mimesniff.spec.whatwg.org)
In summary: audio/x-wave becomes audio/wave and we add sniffing for mp4 video

svn path=/trunk/netsurf/; revision=12897
2011-09-27 00:33:37 +00:00
Vincent Sanders
cb27637a41 add option to set tab position
svn path=/trunk/netsurf/; revision=12896
2011-09-26 23:35:06 +00:00
Chris Young
e3aceb4344 Abort if user is <OS4.1 and no static version available.
Probably needs moving up to before the user has been asked for an install location

svn path=/trunk/netsurf/; revision=12895
2011-09-26 21:50:39 +00:00
Michael Drake
e90f794706 Add nsurl_get_lwc function.
svn path=/trunk/netsurf/; revision=12894
2011-09-26 21:50:16 +00:00
Chris Young
ad3af34742 Build Cairo version as NetSurf; non-Cairo version as NetSurf-Static
Don't bother to build/copy NetSurf-Static for release packages
Update .readme to show requirement for AmigaOS 4.1

svn path=/trunk/netsurf/; revision=12893
2011-09-26 21:41:33 +00:00
Michael Drake
9992ee9119 Document fetch_add_fetcher.
svn path=/trunk/netsurf/; revision=12892
2011-09-26 21:23:47 +00:00
Michael Drake
c94271edf5 Fetchers register with an lwc_string, rather than a string.
svn path=/trunk/netsurf/; revision=12891
2011-09-26 21:07:19 +00:00
Michael Drake
393b1afd4f Disable fetch debug loops when not debugging.
svn path=/trunk/netsurf/; revision=12890
2011-09-26 15:22:38 +00:00
Michael Drake
75d61bca44 Simply return bool from nsurl_compare.
svn path=/trunk/netsurf/; revision=12889
2011-09-26 14:57:45 +00:00
Vincent Sanders
212358278c clean up gtk tabs argument types to avoid uncessary casting
svn path=/trunk/netsurf/; revision=12888
2011-09-26 14:34:16 +00:00
Michael Drake
47b18439e7 Change if/else if ladder to a switch.
svn path=/trunk/netsurf/; revision=12887
2011-09-26 14:12:19 +00:00
Michael Drake
8435195ea4 Remember to free host, now it's not kept for anything.
svn path=/trunk/netsurf/; revision=12886
2011-09-26 13:43:34 +00:00
Michael Drake
460648872f Remove unused host from fetch info struct.
svn path=/trunk/netsurf/; revision=12885
2011-09-26 13:38:06 +00:00
Michael Drake
85e5fcea40 Updated documentation.
svn path=/trunk/netsurf/; revision=12884
2011-09-26 13:29:05 +00:00
Michael Drake
38caddcf93 Add means to find out if a NetSurf URL object contains a given component.
svn path=/trunk/netsurf/; revision=12883
2011-09-26 13:27:20 +00:00
Michael Drake
dc53b47e0b Don't return length from nsurl_access.
svn path=/trunk/netsurf/; revision=12882
2011-09-26 12:19:35 +00:00
Vincent Sanders
07d140f0f1 make cocoa build use pkg-config properly and build release tarballs (primarily jmb I just made it link)
svn path=/trunk/netsurf/; revision=12879
2011-09-26 10:04:29 +00:00
John Mark Bell
e7dffc15b1 Fix bug #3413611: results page should be added to history
svn path=/trunk/netsurf/; revision=12878
2011-09-26 08:46:00 +00:00
Chris Young
0b6b01f08f Add context menu items for frames
svn path=/trunk/netsurf/; revision=12877
2011-09-25 18:44:10 +00:00
Chris Young
5d7c1caffe Also read mimetype mappings from mimetypes.user
svn path=/trunk/netsurf/; revision=12876
2011-09-25 17:03:37 +00:00
Chris Young
4573560c61 increase keyboard scroll speed to 10px
svn path=/trunk/netsurf/; revision=12875
2011-09-25 10:08:23 +00:00
Chris Young
3be63e2f69 Reduce task priority to -1
This stops the rest of the system slowing down when NetSurf is trying to receive data

svn path=/trunk/netsurf/; revision=12874
2011-09-25 09:56:43 +00:00
Chris Young
215c31ac0d When pressing mouse button don't try to go forwards in history first... instead make
releasing mouse button 5 go forwards in history.

svn path=/trunk/netsurf/; revision=12873
2011-09-24 15:20:05 +00:00
Vincent Sanders
7334ec404e reduce to a single global structure for glade file locations
svn path=/trunk/netsurf/; revision=12872
2011-09-24 09:24:13 +00:00
Michael Drake
9854ad6313 Add layout_get_object_dimensions param documentation missing from last commit.
svn path=/trunk/netsurf/; revision=12871
2011-09-23 17:42:25 +00:00
Michael Drake
9e91992478 Handle min/max-width on replaced elements.
svn path=/trunk/netsurf/; revision=12870
2011-09-23 17:34:04 +00:00
Michael Drake
dcfd80956f Use fixed insted of floating point to get percentage of available_width, for width calc.
svn path=/trunk/netsurf/; revision=12869
2011-09-23 16:50:20 +00:00
Michael Drake
e4a91f380c Move css_fixed and css_unit variables to where they're used.
svn path=/trunk/netsurf/; revision=12868
2011-09-23 16:40:58 +00:00
Michael Drake
9028673259 Simplify layout_get_object_dimensions.
svn path=/trunk/netsurf/; revision=12867
2011-09-23 16:35:37 +00:00
Michael Drake
b0ea2a46e9 Use layout_find_dimensions to get inline object width/height.
svn path=/trunk/netsurf/; revision=12866
2011-09-23 15:48:40 +00:00
Michael Drake
1385dea029 Assert that the url exists before reducing its reference count. Thanks to Martin Bazley.
svn path=/trunk/netsurf/; revision=12865
2011-09-23 09:06:05 +00:00
John Mark Bell
e7c67e8bb8 Fix fallout from r12733
svn path=/trunk/netsurf/; revision=12864
2011-09-23 00:02:14 +00:00
Michael Drake
2837f05094 nsurl_access must return const.
svn path=/trunk/netsurf/; revision=12863
2011-09-22 20:45:38 +00:00
Michael Drake
828b5b44c7 Simplify nsurl_access and sync implementation with API.
svn path=/trunk/netsurf/; revision=12862
2011-09-22 20:28:26 +00:00
Michael Drake
8c861347c0 Add nsurl_ref for copying, replace nsurl_destroy with nsurl_unref, and add nsurl_access for accessing a pointer to string data internal to the NetSurf URL object.
svn path=/trunk/netsurf/; revision=12861
2011-09-22 16:28:46 +00:00
Vincent Sanders
14db3f7c70 make resource path discovery robust when no resources can be found
svn path=/trunk/netsurf/; revision=12860
2011-09-22 15:10:22 +00:00
Michael Drake
c98e37be1f Better caret positioning in scrolled frames.
svn path=/trunk/netsurf/; revision=12851
2011-09-21 21:11:16 +00:00
Michael Drake
9f3a082658 New URL handling (unused atm).
svn path=/trunk/netsurf/; revision=12843
2011-09-21 14:36:42 +00:00
John Mark Bell
f27d5a3e15 Remove gui_multitask
svn path=/trunk/netsurf/; revision=12828
2011-09-21 00:25:09 +00:00
Ole Loots
0cf35ff730 added new options.
svn path=/trunk/netsurf/; revision=12827
2011-09-20 20:14:50 +00:00
Ole Loots
28a6e41174 Added "view source" to context menu.
svn path=/trunk/netsurf/; revision=12826
2011-09-20 20:12:10 +00:00
Ole Loots
8bb14fa569 Obey to clipping rules... (walk the rectangle list)
svn path=/trunk/netsurf/; revision=12825
2011-09-20 20:11:32 +00:00
Ole Loots
8b445036f3 Set focus to next available window when gui_window is closed.
svn path=/trunk/netsurf/; revision=12824
2011-09-20 20:09:42 +00:00
Ole Loots
a77b08a762 updatet docs.
svn path=/trunk/netsurf/; revision=12823
2011-09-19 18:41:31 +00:00
Ole Loots
8287d6c020 Added context menu.
svn path=/trunk/netsurf/; revision=12822
2011-09-19 18:39:13 +00:00