Adrian Lees
ac6946ef83
Fix frame-related crash (images.google) caused by destruction of current window when clicking URL/submitting form
...
svn path=/trunk/netsurf/; revision=3644
2007-11-04 01:16:50 +00:00
John Mark Bell
6eeeee1778
Ignore SIGPIPE on all platforms, not just RISC OS.
...
svn path=/trunk/netsurf/; revision=3638
2007-10-31 15:39:55 +00:00
James Bursa
d8b810b46b
Bug fixes by Franz Korntner.
...
svn path=/trunk/netsurf/; revision=3636
2007-10-28 17:05:39 +00:00
Daniel Silverstone
f025f23c52
Remove the old and crap gesture core
...
svn path=/trunk/netsurf/; revision=3537
2007-09-14 18:33:32 +00:00
Michael Drake
81df02abe4
Fix for Shift+Adjust clicks on links by Christopher Martin.
...
svn path=/trunk/netsurf/; revision=3533
2007-08-26 16:58:06 +00:00
James Bursa
3c435ccef8
Rename default scale option back to "scale" (changed to "option_scale" by mistake).
...
svn path=/trunk/netsurf/; revision=3512
2007-08-13 11:36:25 +00:00
Vincent Sanders
2f864eeecc
Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text
...
svn path=/trunk/netsurf/; revision=3486
2007-08-08 16:16:03 +00:00
John Mark Bell
cc684469df
Fix division by 0 caused by uninitialised scale value.
...
Break out initialisation of common parts of struct browser_window into their own function.
svn path=/trunk/netsurf/; revision=3481
2007-08-07 07:58:04 +00:00
James Bursa
5fa0e4a71f
Add path plotter (for SVG). Requires other implementations.
...
svn path=/trunk/netsurf/; revision=3479
2007-08-07 04:00:17 +00:00
James Bursa
07c54283e3
Move window scaling from platform-specific code to desktop/browser.c. Modify gtk gui to handle scaling in the same way as RO.
...
svn path=/trunk/netsurf/; revision=3478
2007-08-07 03:55:18 +00:00
Daniel Silverstone
e2d0019119
Add option_suppress_curl_debug and default it to true
...
svn path=/trunk/netsurf/; revision=3373
2007-06-27 16:27:52 +00:00
Daniel Silverstone
e91cfc8e47
Add ca_path option which sets CURLOPT_CAPATH.
...
svn path=/trunk/netsurf/; revision=3369
2007-06-27 15:39:56 +00:00
Rob Kendrick
43257a160b
Changes to allow building on Solaris.
...
* Tested on Solaris Express: Developer Edition,
which is between Solaris 10 and 11.
* Used gcc, libmng etc packages using pkg-get and blastwave's resources.
* Had to build lemon and re2c manually.
svn path=/trunk/netsurf/; revision=3350
2007-06-15 22:07:11 +00:00
Daniel Silverstone
6807b4208a
Remove the netsurf/ from the include paths and rationalise use of <> vs "" in includes
...
NetSurf includes are now done with ""s and other system includes with <>s as C intended.
The scandeps tool has been updated to only look for ""ed includes, and to verify that the
files exist in the tree before adding them to the dependency lines. The depend rule has
therefore been augmented to make sure the autogenerated files are built before it is run.
This is untested under self-hosted RISC OS builds. All else tested and works.
svn path=/trunk/netsurf/; revision=3307
2007-05-30 22:39:54 +00:00
Daniel Silverstone
25e22eb1f5
Add a -v option to enable debug logging. Pass -v by default to the RO runimage.
...
svn path=/trunk/netsurf/; revision=3306
2007-05-30 22:27:58 +00:00
James Bursa
15be8d1ade
Switch version to "2.0 (Development)".
...
svn path=/trunk/netsurf/; revision=3300
2007-05-22 04:11:34 +00:00
James Bursa
73281a7add
Log libxml2 version in lib_init().
...
svn path=/trunk/netsurf/; revision=3268
2007-05-06 06:11:00 +00:00
James Bursa
859ccf007b
Fix null pointer use when a content with no title is in the local history (history_update() was making title null).
...
svn path=/trunk/netsurf/; revision=3256
2007-04-18 02:52:26 +00:00
Richard Wilson
bc0c4c4f3e
Don't block new windows for Adjust-click on target='_blank' links.
...
svn path=/trunk/netsurf/; revision=3253
2007-04-08 17:49:42 +00:00
John Mark Bell
a27a1e425a
Fix return value check
...
svn path=/trunk/netsurf/; revision=3249
2007-04-07 23:27:28 +00:00
Richard Wilson
00af899230
Open window targets with a new name in a new window. Fix handling of Adjust-click on a form submit when new window opening is disabled.
...
svn path=/trunk/netsurf/; revision=3248
2007-04-07 23:08:31 +00:00
John Mark Bell
4aa1c867f5
Silence noisy logging
...
svn path=/trunk/netsurf/; revision=3244
2007-04-07 21:33:54 +00:00
John Mark Bell
b229c41e9c
1) Fix corruption of history data structure on cloning
...
2) Only destroy urldb's thumbnail bitmap if it's not the same as the new
one. This needs revisiting at a later date such that the mess
surrounding who owns bitmap objects is sorted (and so that urldb
doesn't need to know about bitmaps)
svn path=/trunk/netsurf/; revision=3243
2007-04-07 20:30:39 +00:00
John Mark Bell
cc0f1c7e28
Add logging
...
svn path=/trunk/netsurf/; revision=3242
2007-04-07 17:58:42 +00:00
John Mark Bell
1e118e02a3
Support insertion into textbox after optional trailing space.
...
svn path=/trunk/netsurf/; revision=3237
2007-04-06 17:39:20 +00:00
John Mark Bell
9d32795b47
Minor tidying
...
svn path=/trunk/netsurf/; revision=3224
2007-03-25 19:32:41 +00:00
John Mark Bell
9cf5122797
Content handlers should not call warn_user - they should broadcast the
...
error using content_broadcast and leave it to the content owner(s) to
decide what to do about it.
Only use warn_user for top-level contents.
svn path=/trunk/netsurf/; revision=3204
2007-03-11 22:08:57 +00:00
Rob Kendrick
2df3d592f3
Apply Darren Salt's keypress callbacl claiming patch, with addition of doc comment updates
...
svn path=/trunk/netsurf/; revision=3201
2007-03-06 23:50:06 +00:00
Michael Drake
3dea2a3987
Stop iframe contents from appearing in global history. Fix by JMB.
...
svn path=/trunk/netsurf/; revision=3198
2007-03-06 20:25:27 +00:00
John Mark Bell
25213dca24
Fix handling of cookies in unverifiable transactions caused by a redirect from a fetch into a browser window which was varifiable.
...
svn path=/trunk/netsurf/; revision=3165
2007-02-02 23:08:13 +00:00
John Mark Bell
9e96993474
Revert r3156 (content cleaner frequency reduction) as it introduces
...
potential stability issues.
svn path=/trunk/netsurf/; revision=3160
2007-01-31 00:02:38 +00:00
Rob Kendrick
5426a708a9
Generates and use a User-Agent: string based on new netsurf_version_major/minor values, and results of uname().
...
svn path=/trunk/netsurf/; revision=3158
2007-01-30 19:51:54 +00:00
John Mark Bell
f3e6ad3e90
Attempt to perform content cleaning far less frequently.
...
svn path=/trunk/netsurf/; revision=3156
2007-01-30 00:44:53 +00:00
James Bursa
a0b6661eb6
Make GTK build compile on FreeBSD.
...
svn path=/trunk/netsurf/; revision=3154
2007-01-29 22:27:15 +00:00
John Mark Bell
df4dbaf4cf
Handle cookies in unverifiable transactions
...
svn path=/trunk/netsurf/; revision=3151
2007-01-27 20:58:20 +00:00
James Bursa
bda01b3135
Fix parsing error when an empty HTML data is returned. Add HTTP status and other information to status bar.
...
svn path=/trunk/netsurf/; revision=3140
2007-01-13 00:21:15 +00:00
Richard Wilson
0b875957cb
Format frame content to correct initial size. Scale iframe co-ordinates.
...
svn path=/trunk/netsurf/; revision=3134
2007-01-03 15:15:54 +00:00
Richard Wilson
f4b8d3a009
Reflow iframes on layout (fix 1617625)
...
svn path=/trunk/netsurf/; revision=3126
2006-12-30 02:10:46 +00:00
Richard Wilson
1353585036
Implement form targets (fix 1619094)
...
svn path=/trunk/netsurf/; revision=3125
2006-12-30 00:34:26 +00:00
John Mark Bell
98b451ffae
Add option to set Accept-Charset header (Stefaan Claes)
...
svn path=/trunk/netsurf/; revision=3124
2006-12-28 00:42:14 +00:00
John Mark Bell
5b3f0755f6
Add URLdb destruction functionality
...
svn path=/trunk/netsurf/; revision=3115
2006-12-08 22:38:46 +00:00
Richard Wilson
74115a7a0d
Correctly support NORESIZE flag for frames (partially fix 1593228)
...
svn path=/trunk/netsurf/; revision=3100
2006-12-03 19:47:07 +00:00
Michael Drake
ba23e4b693
Update project URL.
...
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
James Bursa
ec563e60ca
Add browser_window_reformat() and use it instead of content_reformat() to remove browser_window calls from html.c.
...
svn path=/trunk/netsurf/; revision=3071
2006-11-26 21:04:42 +00:00
James Bursa
21af6f7fda
Move frames-related code out of browser.c into a new file. Remove some browser_window calls from html.c.
...
svn path=/trunk/netsurf/; revision=3070
2006-11-26 20:11:20 +00:00
John Mark Bell
118f435133
Unescape fragment identifiers.
...
svn path=/trunk/netsurf/; revision=2973
2006-10-01 18:10:55 +00:00
John Mark Bell
0f26a73976
Squash warning
...
svn path=/trunk/netsurf/; revision=2951
2006-09-11 00:47:46 +00:00
Jeffrey Lee
68d314f3a9
Fix wordwrap+horizontal scroll in textareas
...
svn path=/trunk/netsurf/; revision=2947
2006-09-10 20:25:20 +00:00
Jeffrey Lee
bfe14720be
Fixed the other caret issues after pasting into textarea
...
svn path=/trunk/netsurf/; revision=2944
2006-09-10 16:12:45 +00:00
Jeffrey Lee
cc41d7c27a
Fix some caret/scrolling issues after pasting into textarea
...
svn path=/trunk/netsurf/; revision=2943
2006-09-10 15:56:23 +00:00
Jeffrey Lee
d19839d334
Fixed spurious newline after pasting into textarea; possibly fixed some selection processing/rendering bugs
...
svn path=/trunk/netsurf/; revision=2942
2006-09-10 15:08:30 +00:00
Jeffrey Lee
271c28a5df
textarea html tag fix; horizontal scrollbars; auto-scroll improvements
...
svn path=/trunk/netsurf/; revision=2940
2006-09-10 13:27:08 +00:00
Richard Wilson
c7f70a8cf6
Stop iframes from all getting the same content.
...
svn path=/trunk/netsurf/; revision=2935
2006-09-08 20:19:08 +00:00
Richard Wilson
b30921382f
Trigger frame recalculation on child frame scale change.
...
svn path=/trunk/netsurf/; revision=2934
2006-09-08 17:18:44 +00:00
Richard Wilson
02a8722cc6
Fix 1553282.
...
svn path=/trunk/netsurf/; revision=2932
2006-09-08 16:57:26 +00:00
Richard Wilson
3e0c02e8e5
Simplify and tidy up RISC OS gui_ functions. Fix toolbar height changing issues for framesets.
...
svn path=/trunk/netsurf/; revision=2924
2006-09-06 22:15:58 +00:00
John Mark Bell
221e5aa2a3
Add frame target support to imagemaps.
...
svn path=/trunk/netsurf/; revision=2920
2006-09-06 00:15:10 +00:00
Richard Wilson
96b8fa5d46
Limit maximum frame nesting level.
...
svn path=/trunk/netsurf/; revision=2918
2006-09-05 17:59:29 +00:00
Richard Wilson
bb8cc24871
Make frame border width external to frame.
...
svn path=/trunk/netsurf/; revision=2912
2006-09-04 21:09:11 +00:00
Richard Wilson
05f16eef8f
Fix 1551183.
...
svn path=/trunk/netsurf/; revision=2911
2006-09-04 16:47:08 +00:00
Richard Wilson
74fa727509
Experimental new frames code.
...
svn path=/trunk/netsurf/; revision=2906
2006-09-02 15:52:41 +00:00
Rob Kendrick
2fa6c3a7ad
Implement user-defined new window placement in nsgtk
...
svn path=/trunk/netsurf/; revision=2901
2006-08-29 00:42:30 +00:00
Rob Kendrick
66d0d78be1
Move default window size opens into core for use from nsgtk
...
svn path=/trunk/netsurf/; revision=2900
2006-08-29 00:17:35 +00:00
James Bursa
3887fb72ae
Use browser_window_remove_caret() instead of resetting caret-related callbacks directly.
...
svn path=/trunk/netsurf/; revision=2896
2006-08-28 19:35:12 +00:00
James Bursa
bfa7ab71d7
Fix crash when using forms due to bug in browser_window_remove_caret().
...
svn path=/trunk/netsurf/; revision=2895
2006-08-28 19:33:41 +00:00
Adrian Lees
7aaa33d2e5
Fix for knockout rendering of native formats
...
svn path=/trunk/netsurf/; revision=2869
2006-08-19 19:31:07 +00:00
Adrian Lees
66c4906fb6
Give Adjust precedence over Select
...
svn path=/trunk/netsurf/; revision=2868
2006-08-19 19:27:59 +00:00
Daniel Silverstone
0acecb4de2
Change max_fetchers_per_host to 2, as the RFC states we SHOULD not hold more than 2 simultaneous connections to a host. Closes #1469511
...
svn path=/trunk/netsurf/; revision=2854
2006-08-17 09:18:50 +00:00
Adrian Lees
5295d21743
Reposition caret when browser window reformatted
...
svn path=/trunk/netsurf/; revision=2839
2006-08-13 03:05:55 +00:00
Rob Kendrick
fb91840001
Make url_suggest option core, rather than RISC OS-specific.
...
svn path=/trunk/netsurf/; revision=2799
2006-07-28 15:52:37 +00:00
Rob Kendrick
18d84f0c10
Make Cairo rendering a run-time option in nsgtk - also add infrastructure for nsgtk-specific options.
...
svn path=/trunk/netsurf/; revision=2793
2006-07-23 22:32:33 +00:00
Richard Wilson
0309e937e6
Allow the user to delete cookies.
...
svn path=/trunk/netsurf/; revision=2770
2006-07-16 21:42:37 +00:00
Richard Wilson
9294938976
Extent cookie_update API to allow notification of deleted domains. Fix nodes not being re-calculated.
...
svn path=/trunk/netsurf/; revision=2765
2006-07-16 16:10:43 +00:00
Richard Wilson
2ebc9d2c50
Slightly improve positioning of lists.
...
svn path=/trunk/netsurf/; revision=2759
2006-07-16 00:40:13 +00:00
Richard Wilson
9006b194bb
Update forgotten files.
...
svn path=/trunk/netsurf/; revision=2756
2006-07-16 00:23:10 +00:00
Richard Wilson
00d74fdd2d
Allow the viewing of the entire SSL certificate chain.
...
svn path=/trunk/netsurf/; revision=2755
2006-07-16 00:21:15 +00:00
Richard Wilson
546bf17a7f
Add relevent extensions to allow treeviews to be used as an embedded list component.
...
svn path=/trunk/netsurf/; revision=2753
2006-07-15 15:39:33 +00:00
John Mark Bell
4c564c28bf
Display session cookies' expiry correctly
...
Fix urldb debug build
Fix GTK build's cookie_update API
svn path=/trunk/netsurf/; revision=2752
2006-07-15 11:59:25 +00:00
John Mark Bell
25501c695e
Centralise keypress handling (download and query dialogs still need porting over to wimp_event)
...
Make core browser window invalidate caret callback on mouse clicks
svn path=/trunk/netsurf/; revision=2746
2006-07-13 21:57:35 +00:00
John Mark Bell
3716a5853e
Fixup missing includes
...
svn path=/trunk/netsurf/; revision=2745
2006-07-13 21:52:35 +00:00
Richard Wilson
a836591435
Add basic cookie viewer, make trees use textarea components for UTF8 editing, trim headers, fix tree redraw issues.
...
svn path=/trunk/netsurf/; revision=2739
2006-07-13 12:46:02 +00:00
Richard Wilson
593a5cf511
Render trees in UTF8 via rufl (fix 1434430)
...
svn path=/trunk/netsurf/; revision=2728
2006-07-11 00:40:45 +00:00
Richard Wilson
a47f148f2d
Optimise out redundant group_start and group_end calls (speed up rendering.)
...
svn path=/trunk/netsurf/; revision=2725
2006-07-10 09:52:31 +00:00
Richard Wilson
55389c543b
Fix 1488164.
...
svn path=/trunk/netsurf/; revision=2718
2006-07-05 17:28:30 +00:00
Richard Wilson
ea44d84833
Make adjust-back/forwards/up open content in a new window (implement 1431600)
...
svn path=/trunk/netsurf/; revision=2717
2006-07-05 16:50:35 +00:00
Richard Wilson
a102f34fa6
Make adjust-clicking submit open a new window (fix 1430135)
...
svn path=/trunk/netsurf/; revision=2716
2006-07-05 01:23:25 +00:00
Richard Wilson
667c3b6730
Fix 1516353 and implement 1352354
...
svn path=/trunk/netsurf/; revision=2711
2006-07-04 19:56:37 +00:00
Richard Wilson
ac0d20fdea
Stop knockout logging.
...
svn path=/trunk/netsurf/; revision=2710
2006-07-04 19:46:20 +00:00
Richard Wilson
e68f20d1c0
Stop lack of history entries from writing to invalid pointers (fix 1479657)
...
svn path=/trunk/netsurf/; revision=2708
2006-07-04 14:07:07 +00:00
John Mark Bell
5e2567370d
Fix submission of forms in embedded objects; resolve submission URL at
...
form creation time rather than at submit.
svn path=/trunk/netsurf/; revision=2707
2006-07-03 21:41:25 +00:00
Richard Wilson
1d8bf3ff91
Disable debugging.
...
svn path=/trunk/netsurf/; revision=2694
2006-07-02 17:26:25 +00:00
Richard Wilson
dbe40cffb3
Re-instate the knockout renderers after a nested flush(). Make so knockout rendering is always used.
...
svn path=/trunk/netsurf/; revision=2693
2006-07-02 17:23:49 +00:00
Richard Wilson
0f36a3e6a5
Allow nested calls to knockout rendering (stops iframes from flushing the current data).
...
svn path=/trunk/netsurf/; revision=2692
2006-07-02 16:17:51 +00:00
Richard Wilson
a1e42c14a2
Ensure all plots are bounding boxes are correctly clipped. Handle non-repeating backgrounds better. Delink deleted nodes for improved efficiency.
...
svn path=/trunk/netsurf/; revision=2690
2006-07-02 13:18:29 +00:00
Richard Wilson
467d9679f8
Totally knock out boxes as early into the tree as possible to improve efficiency. Fix incorrect buffer check.
...
svn path=/trunk/netsurf/; revision=2688
2006-07-02 01:36:02 +00:00
Richard Wilson
6e8ba3f4bb
Move array definitions for GCC4
...
svn path=/trunk/netsurf/; revision=2687
2006-07-02 00:08:54 +00:00
Richard Wilson
2dc65ac414
Don't assume tiled plotting will cover the entire clipping region.
...
svn path=/trunk/netsurf/; revision=2683
2006-07-01 18:41:33 +00:00
Richard Wilson
cf4294d3a8
Implement knockout rendering (controlled by 'knockout_rendering' option or Ctrl+F11, default is off). This attempts to minimise the amount of overlapping redraw performed, and thus can drasticly reduce the rendering time of many pages.
...
svn path=/trunk/netsurf/; revision=2682
2006-07-01 18:16:05 +00:00
Richard Wilson
c490c7f586
Handle memory exhaustion better.
...
svn path=/trunk/netsurf/; revision=2666
2006-06-28 22:45:48 +00:00
John Mark Bell
a63221a624
Rewrite cookie parser to be more tolerant of junk input
...
No longer need urldb_init; remove it.
svn path=/trunk/netsurf/; revision=2643
2006-06-24 15:44:48 +00:00