Commit Graph

306 Commits

Author SHA1 Message Date
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