Commit Graph

505 Commits

Author SHA1 Message Date
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
Richard Wilson
b5fcb4d94c [project @ 2006-01-25 17:28:29 by rjw]
Implement feature request 1365051.

svn path=/import/netsurf/; revision=2043
2006-01-25 17:28:29 +00:00
John Mark Bell
9f7e57c99d [project @ 2006-01-25 08:25:37 by jmb]
Fix stupid aborts due to not removing scheduled callbacks

svn path=/import/netsurf/; revision=2040
2006-01-25 08:25:38 +00:00
John Mark Bell
0f77b057a1 [project @ 2006-01-25 06:52:38 by jmb]
Meta refresh support

svn path=/import/netsurf/; revision=2039
2006-01-25 06:52:38 +00:00
John Mark Bell
745deb7a9d [project @ 2006-01-08 01:51:33 by jmb]
Make data file locations user-configurable (no UI for this as yet)
Reduce intrusiveness of ncos modifications
Fix GTK build
Remove Cookies file details from Messages (this data never belonged in there anyway)
Make gui_init more robust against memory exhaustion.

svn path=/import/netsurf/; revision=2014
2006-01-08 01:51:33 +00:00
Richard Wilson
511fba0531 [project @ 2006-01-07 00:39:14 by rjw]
Add disc cache expiry option.

svn path=/import/netsurf/; revision=2005
2006-01-07 00:39:14 +00:00
Richard Wilson
d586f64316 [project @ 2006-01-06 13:25:29 by rjw]
Update last child reference on delinking. This will fix the bug where parts of the tree became inaccessible after insertion.

svn path=/import/netsurf/; revision=1992
2006-01-06 13:25:29 +00:00
Richard Wilson
17d7880bf9 [project @ 2006-01-06 12:50:37 by rjw]
Stop hotlist being lost on QUIT.

svn path=/import/netsurf/; revision=1990
2006-01-06 12:50:37 +00:00
Richard Wilson
2054391345 [project @ 2006-01-06 02:56:00 by rjw]
Stop slight tree redraw errors from wrapping of 16-bit units. Pass the data to update URL tree nodes to where applicable.

svn path=/import/netsurf/; revision=1988
2006-01-06 02:56:00 +00:00
Richard Wilson
a1c3e05e0a [project @ 2006-01-04 22:40:36 by rjw]
Don't allow folders to be launched.

svn path=/import/netsurf/; revision=1981
2006-01-04 22:40:36 +00:00
John Mark Bell
611ec68e46 [project @ 2006-01-02 23:31:28 by jmb]
Implement font default option properly

svn path=/import/netsurf/; revision=1969
2006-01-02 23:31:29 +00:00
John Mark Bell
cf657a2ffb [project @ 2006-01-01 18:52:30 by jmb]
Dump user options to stderr on abort.
Dump box tree on failed assertion.
Display Red/Yellow hourglass whilst dumping box tree (as this can take some time)

svn path=/import/netsurf/; revision=1928
2006-01-01 18:52:30 +00:00
Richard Wilson
e9601cb35a [project @ 2006-01-01 17:00:56 by rjw]
Optimise node element creation.

svn path=/import/netsurf/; revision=1927
2006-01-01 17:00:56 +00:00
Richard Wilson
b02995aed9 [project @ 2006-01-01 15:46:43 by rjw]
Deleting from the global history resets URL data

svn path=/import/netsurf/; revision=1926
2006-01-01 15:46:43 +00:00
John Mark Bell
6916d94356 [project @ 2005-12-31 06:17:36 by jmb]
Optimise degenerate trees by storing child tail pointer

svn path=/import/netsurf/; revision=1924
2005-12-31 06:17:36 +00:00
Richard Wilson
39e41ea386 [project @ 2005-12-31 04:37:56 by rjw]
Read URL data from url_store. Scroll items into view when expanding.

svn path=/import/netsurf/; revision=1914
2005-12-31 04:37:57 +00:00
Richard Wilson
6d36a1c81e [project @ 2005-12-31 04:31:37 by rjw]
Hotlist comments are no longer required.

svn path=/import/netsurf/; revision=1910
2005-12-31 04:31:37 +00:00
Richard Wilson
e6f311f97c [project @ 2005-12-31 04:30:49 by rjw]
Updates to work with new url_store system.

svn path=/import/netsurf/; revision=1909
2005-12-31 04:30:49 +00:00
Richard Wilson
47a9cfe29e [project @ 2005-12-29 23:18:17 by rjw]
Add URL expiry option.

svn path=/import/netsurf/; revision=1903
2005-12-29 23:18:17 +00:00
Richard Wilson
32602f6ea9 [project @ 2005-12-01 02:59:55 by rjw]
Plug memory leak

svn path=/import/netsurf/; revision=1890
2005-12-01 02:59:55 +00:00
James Bursa
b6e1d814a5 [project @ 2005-10-30 21:22:37 by bursa]
Implement link targets for framesets.

svn path=/import/netsurf/; revision=1873
2005-10-30 21:22:37 +00:00
Adrian Lees
799cc06016 [project @ 2005-09-01 03:20:21 by adrianl]
Save text in local encoding; fix selection of zero-length blocks

svn path=/import/netsurf/; revision=1857
2005-09-01 03:20:21 +00:00
James Bursa
4ce357f09b [project @ 2005-08-22 22:49:52 by bursa]
More work towards frame targets: add target parameter to box_create(), and copy target down the box tree during construction.

svn path=/import/netsurf/; revision=1853
2005-08-22 22:49:52 +00:00
James Bursa
08e8ee3ed1 [project @ 2005-08-21 12:04:17 by bursa]
Change void * parameters to intptr_t to make them correct for storing integers or pointers.

svn path=/import/netsurf/; revision=1852
2005-08-21 12:04:18 +00:00
James Bursa
4f82731104 [project @ 2005-08-21 10:52:17 by bursa]
Remove some dead code. Add description of browser_window_mouse_action_html(). Reformat some code.

svn path=/import/netsurf/; revision=1851
2005-08-21 10:52:17 +00:00
John Mark Bell
123fd6b94e [project @ 2005-08-15 00:00:31 by jmb]
Remove these files (missed by last commit)

svn path=/import/netsurf/; revision=1848
2005-08-15 00:00:31 +00:00
John Mark Bell
58d9b45e81 [project @ 2005-08-14 23:56:15 by jmb]
Move imagemap.[ch] into render/
Make imagemap URL extraction use box_extract_link

svn path=/import/netsurf/; revision=1847
2005-08-14 23:56:15 +00:00
Adrian Lees
4b4e4dba95 [project @ 2005-07-24 18:35:57 by adrianl]
Find nearest text when selecting

svn path=/import/netsurf/; revision=1823
2005-07-24 18:35:57 +00:00
Adrian Lees
80160f2a07 [project @ 2005-07-24 07:00:47 by adrianl]
Search below-right for nearest text when dragging start point of selection

svn path=/import/netsurf/; revision=1821
2005-07-24 07:00:47 +00:00
Adrian Lees
25b2742064 [project @ 2005-07-24 06:13:25 by adrianl]
Make selecting text easier by finding the nearest text above-left of the pointer; sort out issues with spaces in copied/saved text

svn path=/import/netsurf/; revision=1820
2005-07-24 06:13:25 +00:00
Adrian Lees
1a1901d19b [project @ 2005-07-20 23:27:27 by adrianl]
2D scrolling of text areas/frames; First cut at selection in textareas; Further text editing actions (Word left/right; Page up/down; Cut block; Delete line start/end)

svn path=/import/netsurf/; revision=1812
2005-07-20 23:27:28 +00:00
Adrian Lees
17134b3a02 [project @ 2005-07-16 20:25:58 by adrianl]
Allow login with new user/password if entered incorrectly.

svn path=/import/netsurf/; revision=1800
2005-07-16 20:25:58 +00:00
John Mark Bell
f4ecaaed31 [project @ 2005-07-16 14:35:20 by jmb]
- Convert Messages files to UTF-8 encoding.
- Replace local_encoding_name() with platform specific
  utf8_[to,from]_local_encoding() functions - this allows mapping of 8bit
  characters 0x80->0x9f (inclusive).
- All text that is rendered by the RISC OS Wimp is now converted to the system
  local encoding prior to display.
- Lose the horrendous hack that was messages_get_key()
- Menu text is now translated to system local encoding on the fly (if necessary)
  rather than at menu creation time. This allows the system alphabet to change
  under us and our menus remain usable.
- The Languages menu now lists all languages that are present in the LangNames
  file. In the case of selecting the UI language, those languages which are not
  available are shaded.

svn path=/import/netsurf/; revision=1796
2005-07-16 14:35:25 +00:00
John Mark Bell
46bc8ca154 [project @ 2005-07-11 18:10:10 by jmb]
Cache previous iconv conversion descriptor

svn path=/import/netsurf/; revision=1792
2005-07-11 18:10:10 +00:00
John Mark Bell
824d3cc66a [project @ 2005-07-03 16:36:13 by jmb]
Fix imagemaps

svn path=/import/netsurf/; revision=1784
2005-07-03 16:36:13 +00:00
James Bursa
9b78daf135 [project @ 2005-07-02 18:17:51 by bursa]
Rewrite calculation of box minimum and maximum widths to improve layout of many pages. Move calculation of column types and border collapsing to box tree normalising stage, since they are layout independent. Add window height parameter to layout and make <html> and <body> at least window height.

svn path=/import/netsurf/; revision=1777
2005-07-02 18:17:51 +00:00
Richard Wilson
b88a81b9d9 [project @ 2005-06-23 17:22:28 by rjw]
Allow images to be unloaded to disk or compressed in memory. Provide thumbnails in all tree windows (hotlist, history). Optimise the application initialisation times. Part 1 of 2.

svn path=/import/netsurf/; revision=1761
2005-06-23 17:22:28 +00:00
Richard Wilson
c3b1d286c3 [project @ 2005-06-13 20:41:28 by rjw]
Only reset hotlist statistics for selected items

svn path=/import/netsurf/; revision=1748
2005-06-13 20:41:28 +00:00
John Mark Bell
c0fce75798 [project @ 2005-06-07 21:58:17 by jmb]
Fix stupid assertions.

svn path=/import/netsurf/; revision=1745
2005-06-07 21:58:17 +00:00
John Mark Bell
0bcfdbeb50 [project @ 2005-06-07 21:29:26 by jmb]
Lose cnv_str_local_enc and friends.
UTF-8 conversion functions now return an enumerated type allowing for fallbacks, if appropriate.

svn path=/import/netsurf/; revision=1744
2005-06-07 21:29:26 +00:00
James Bursa
69d6e0685f [project @ 2005-05-24 20:21:47 by bursa]
Convert remaining BOX_INLINEs in forms to BOX_TEXT.

svn path=/import/netsurf/; revision=1736
2005-05-24 20:21:47 +00:00
Adrian Lees
05869d79be [project @ 2005-04-20 12:30:59 by adrianl]
Reintroduced NDEBUG

svn path=/import/netsurf/; revision=1674
2005-04-20 12:30:59 +00:00
Adrian Lees
31c659a2ea [project @ 2005-04-20 12:24:41 by adrianl]
text import from global clipboard, other apps & files and additional keys for editing text in textareas

svn path=/import/netsurf/; revision=1673
2005-04-20 12:24:41 +00:00
Adrian Lees
b72b5032bf [project @ 2005-04-18 11:52:26 by adrianl]
Ignore save drags from browser window that remain within window

svn path=/import/netsurf/; revision=1667
2005-04-18 11:52:26 +00:00
Adrian Lees
fb8a9434ef [project @ 2005-04-17 11:10:05 by adrianl]
explanatory comment

svn path=/import/netsurf/; revision=1660
2005-04-17 11:10:05 +00:00
Adrian Lees
452a27e74c [project @ 2005-04-17 03:30:35 by adrianl]
Search text highlighting in browser windows

svn path=/import/netsurf/; revision=1657
2005-04-17 03:30:35 +00:00
Adrian Lees
4cb3b99821 [project @ 2005-04-16 21:44:37 by adrianl]
Fix drag scrolling of non-html content

svn path=/import/netsurf/; revision=1656
2005-04-16 21:44:37 +00:00
Adrian Lees
2f3895f088 [project @ 2005-04-16 08:22:57 by adrianl]
first cut at selecting inter-block spaces

svn path=/import/netsurf/; revision=1652
2005-04-16 08:22:57 +00:00
Adrian Lees
f10db1f6f1 [project @ 2005-04-16 08:19:56 by adrianl]
missing #include

svn path=/import/netsurf/; revision=1651
2005-04-16 08:20:20 +00:00
John Mark Bell
c17dc661ea [project @ 2005-04-16 05:09:32 by jmb]
Split out UTF-8 handling functions.
Submit URL-encoded forms in sensible encoding:
  * First entry in accept-charset list, if present
  * Document encoding, otherwise
  We may want to explicitly look for UTF-8, to save converting.
Convert cnv_str_local_enc/cnv_local_enc_str to use iconv (they're now veneers for utf8_[to/from]_enc).
Provide mechanism for looking up local system charset (derived from system alphabet, under RISC OS)

svn path=/import/netsurf/; revision=1647
2005-04-16 05:09:33 +00:00
Adrian Lees
94fe825ed8 [project @ 2005-04-15 20:46:25 by adrianl]
Fix incorrect position at end of selection drag

svn path=/import/netsurf/; revision=1645
2005-04-15 20:46:25 +00:00
Adrian Lees
3028d21f35 [project @ 2005-04-15 20:45:43 by adrianl]
Fix for selection changing when page reformatted

svn path=/import/netsurf/; revision=1644
2005-04-15 20:45:43 +00:00
John Mark Bell
ee9a4712cd [project @ 2005-04-15 18:00:19 by jmb]
Split out generic text input code.
Support internationalised text input.
Fix textarea-related bugs.

svn path=/import/netsurf/; revision=1642
2005-04-15 18:00:21 +00:00
Adrian Lees
28e757a362 [project @ 2005-04-15 05:52:25 by adrianl]
Text selection, page drag scrolling, drag-saving images

svn path=/import/netsurf/; revision=1638
2005-04-15 05:52:25 +00:00
Adrian Lees
5d8dd3cfc6 [project @ 2005-04-15 05:51:11 by adrianl]
Text selection

svn path=/import/netsurf/; revision=1634
2005-04-15 05:51:32 +00:00
James Bursa
20c4d5d114 [project @ 2005-04-09 09:57:19 by bursa]
Remove obsolete style_clone field from struct box (forgot this file).

svn path=/import/netsurf/; revision=1610
2005-04-09 09:57:19 +00:00
James Bursa
2920bca14a [project @ 2005-04-09 09:47:36 by bursa]
Move HTML contents almost fully over to talloc(), simplifying code. Improvements to title attributes, broken forms, cellpadding. Reorder functions in box_construct.c.

svn path=/import/netsurf/; revision=1608
2005-04-09 09:47:37 +00:00