Commit Graph

461 Commits

Author SHA1 Message Date
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
John Mark Bell
4f249f9d0a Merge cookies changes into head - unvalidated transactions and a UI
still need implementing.

svn path=/trunk/netsurf/; revision=2632
2006-06-19 21:49:25 +00:00
John Mark Bell
c1dbdad995 Provide persistent flag for urldb entries.
Make hotlist use this, rather than abusing the last visited date.
This fixes the hotlist being copied to global history issue.

svn path=/trunk/netsurf/; revision=2619
2006-06-14 22:46:12 +00:00
Daniel Silverstone
52e973d094 Don't clone a NULL gesturer
svn path=/trunk/netsurf/; revision=2613
2006-06-02 13:31:18 +00:00
Daniel Silverstone
a8ebc5ba5a Fix comment about direction 8 in the gesture core.
svn path=/trunk/netsurf/; revision=2612
2006-06-02 13:28:06 +00:00
Daniel Silverstone
8a86b6b2b4 Added rudimentary gesture engine and test in gtk frontend
svn path=/trunk/netsurf/; revision=2611
2006-06-02 07:48:13 +00:00
James Bursa
dece339528 Fix box_at_point() for certain cases involving floats (solves unclickable links on Wikipedia). Fix text-selection code that assumed that text boxes would be returned last by box_at_point().
svn path=/trunk/netsurf/; revision=2606
2006-05-24 22:55:37 +00:00
Daniel Silverstone
f07fce7307 Update the title when updating the history on reload
svn path=/trunk/netsurf/; revision=2600
2006-05-13 10:14:08 +00:00
John Mark Bell
37cb487fc0 Fix crash when saving a selection after its containing window's content
has changed.

svn path=/trunk/netsurf/; revision=2557
2006-04-26 17:26:03 +00:00
Richard Wilson
b17040905b Update history cloning to stop missing references.
svn path=/trunk/netsurf/; revision=2548
2006-04-22 21:35:28 +00:00
Richard Wilson
c7f77b0165 Finish history cloning.
svn path=/trunk/netsurf/; revision=2547
2006-04-22 18:24:18 +00:00
Richard Wilson
2b87a0b148 Clone history for child browser windows.
svn path=/trunk/netsurf/; revision=2546
2006-04-22 16:38:13 +00:00
John Mark Bell
9989fd4d3a Fix utter stupidity
svn path=/trunk/netsurf/; revision=2536
2006-04-16 10:22:53 +00:00
John Mark Bell
e5912fedd1 Use database's copy of URL for new global history entries
svn path=/trunk/netsurf/; revision=2534
2006-04-15 18:53:20 +00:00
John Mark Bell
691087a534 Fix crash when deleting directories
svn path=/trunk/netsurf/; revision=2533
2006-04-15 18:52:06 +00:00
John Mark Bell
52bdd72c71 Ensure hotlist URLs are retained in the database
Reduce number of unconditional calls to urldb_get_url_data

svn path=/trunk/netsurf/; revision=2531
2006-04-15 15:23:23 +00:00
John Mark Bell
e0ba508992 Store URLs explicitly in URL database for faster access.
Iteration callbacks now passed url_data struct to remove need to look up

svn path=/trunk/netsurf/; revision=2522
2006-04-11 02:39:55 +00:00
John Mark Bell
c09eb457df Unify information databases
svn path=/trunk/netsurf/; revision=2519
2006-04-09 23:21:13 +00:00
Rob Kendrick
b875473027 [project @ 2006-03-31 10:41:21 by rjek]
Move default font face choices from RISC OS front end to core

svn path=/import/netsurf/; revision=2482
2006-03-31 10:41:21 +00:00
Rob Kendrick
5d434ff002 [project @ 2006-03-29 15:26:53 by rjek]
Moved homepage_url option into core from riscos, and use it in the GTK frontend

svn path=/import/netsurf/; revision=2481
2006-03-29 15:26:54 +00:00
Daniel Silverstone
c37ff7b219 [project @ 2006-03-27 00:30:04 by dsilvers]
Ensure refresh_interval is -1 just in case

svn path=/import/netsurf/; revision=2194
2006-03-27 00:30:04 +00:00
Daniel Silverstone
dc3287127a [project @ 2006-03-27 00:19:19 by dsilvers]
Defer scheduling a refresh until the content is loaded. This prevents assertion failures in the rare case that a schedule_run ends up being called before a content object containing a refresh which is due is fully loaded

svn path=/import/netsurf/; revision=2193
2006-03-27 00:19:19 +00:00
Daniel Silverstone
d8576715d9 [project @ 2006-03-26 23:06:18 by dsilvers]
Consider the margins on the <html> object when calculating where a point is.

svn path=/import/netsurf/; revision=2189
2006-03-26 23:06:18 +00:00
Rob Kendrick
8cb8c74d40 [project @ 2006-03-26 21:26:47 by rjek]
Add a 5 pixel 'tail' at the start and end of history node links

svn path=/import/netsurf/; revision=2183
2006-03-26 21:26:47 +00:00
Daniel Silverstone
8ebdc30958 [project @ 2006-03-26 17:48:56 by dsilvers]
Argh, it's a length but it's called an offset

svn path=/import/netsurf/; revision=2181
2006-03-26 17:48:56 +00:00
Daniel Silverstone
ccea99c07f [project @ 2006-03-26 17:43:43 by dsilvers]
char_offset is an offset, add one to make it a length

svn path=/import/netsurf/; revision=2180
2006-03-26 17:43:43 +00:00
James Bursa
5a72700817 [project @ 2006-03-25 20:30:35 by bursa]
Split local history into portable and RISC OS specific code. Improve layout of history tree.

svn path=/import/netsurf/; revision=2164
2006-03-25 20:30:35 +00:00
Michael Drake
222b75de89 [project @ 2006-03-22 23:37:59 by tlsa]
More pointer types for RISC OS build.

svn path=/import/netsurf/; revision=2150
2006-03-22 23:37:59 +00:00
Rob Kendrick
388ce7b8c4 [project @ 2006-03-21 17:22:41 by rjek]
Radio and checkbox widgets are now 3D, and implemented arc plotting for them

svn path=/import/netsurf/; revision=2145
2006-03-21 17:22:41 +00:00
Rob Kendrick
1562dd03cb [project @ 2006-03-19 19:03:07 by rjek]
Implemented unfilled disc plotting and GTK disc plotting

svn path=/import/netsurf/; revision=2136
2006-03-19 19:03:07 +00:00
Daniel Silverstone
35bb5f96d5 [project @ 2006-03-19 17:49:32 by dsilvers]
Add support for a few more CSS cursors and tidy the GUI_POINTER_* stuff to support what we already had

svn path=/import/netsurf/; revision=2135
2006-03-19 17:49:32 +00:00
Daniel Silverstone
40260f177a [project @ 2006-03-14 14:21:00 by dsilvers]
Multi-parallel fetch. Needs documenting, works in basic GTK tests, makes things way faster on GTK port. Needs testing on RO and in general more testing is good.

svn path=/import/netsurf/; revision=2127
2006-03-14 14:21:01 +00:00
Daniel Silverstone
17d059f53f [project @ 2006-03-10 09:09:03 by dsilvers]
Minor refactor to pass the gui_window to gui_window_set_pointer and gui_window_hide_pointer

svn path=/import/netsurf/; revision=2123
2006-03-10 09:09:03 +00:00
John Mark Bell
77159f9e9a [project @ 2006-03-09 14:01:38 by jmb]
Avoid potential NULL read

svn path=/import/netsurf/; revision=2112
2006-03-09 14:01:38 +00:00
Richard Wilson
25a995931d [project @ 2006-03-04 20:46:35 by rjw]
Continue work towards favicon support.

svn path=/import/netsurf/; revision=2104
2006-03-04 20:46:35 +00:00
John Mark Bell
44d192c762 [project @ 2006-02-24 20:43:45 by jmb]
Fix broken fragment handling which prevented form submission.

svn path=/import/netsurf/; revision=2094
2006-02-24 20:43:45 +00:00
John Mark Bell
d4d3e5ee1c [project @ 2006-02-23 15:06:53 by jmb]
Handle invalid SSL certificates better - UI still needs work.
Modify fetch callback data parameter type to remove compiler warnings.
Constify things.
Lose global ssl_verify_certificates option.
Fix issue when closing a dialog without input focus.

svn path=/import/netsurf/; revision=2092
2006-02-23 15:06:54 +00:00
John Mark Bell
5ce5fe084c [project @ 2006-02-19 18:26:23 by jmb]
Rewrite HTTP authentication.
Fix extraction of realm from WWW-Authenticate header.
Tidy up login dialog code.

svn path=/import/netsurf/; revision=2085
2006-02-19 18:26:23 +00:00
Adrian Lees
dbfdafdf18 [project @ 2006-02-15 23:09:53 by adrianl]
Extend text selection, copying, saving and searching code to handle textplain contents; modified textplain code to accept other line terminators

svn path=/import/netsurf/; revision=2081
2006-02-15 23:09:55 +00:00
Adrian Lees
ba474f1c91 [project @ 2006-02-12 21:23:21 by adrianl]
Show all matches

svn path=/import/netsurf/; revision=2076
2006-02-12 21:23:22 +00:00
Adrian Lees
faa96477e5 [project @ 2006-02-11 18:44:23 by adrianl]
Remove currently unused and unusable functions

svn path=/import/netsurf/; revision=2073
2006-02-11 18:44:23 +00:00
Adrian Lees
edded10c0f [project @ 2006-02-11 18:33:05 by adrianl]
Textarea/selection improvements and fixes

svn path=/import/netsurf/; revision=2072
2006-02-11 18:33:05 +00:00
Adrian Lees
6b3b19a95b [project @ 2006-02-11 03:40:26 by adrianl]
Auto-repeat for scrollbar buttons

svn path=/import/netsurf/; revision=2070
2006-02-11 03:40:26 +00:00
John Mark Bell
0f228ada91 [project @ 2006-02-06 00:10:09 by jmb]
Implement HTTP caching algorithm; this should avoid stale cache entries being used.

svn path=/import/netsurf/; revision=2059
2006-02-06 00:10:09 +00:00
Adrian Lees
c176e276e2 [project @ 2006-02-06 00:07:18 by adrianl]
Drag-saving of text without pressing Ctrl

svn path=/import/netsurf/; revision=2058
2006-02-06 00:07:18 +00:00