Commit Graph

294 Commits

Author SHA1 Message Date
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
Richard Wilson
610fca368b [project @ 2005-04-07 20:46:22 by rjw]
Update to the way menus are handled. Various GUI bug fixes.

svn path=/import/netsurf/; revision=1603
2005-04-07 20:46:22 +00:00
John Mark Bell
81c410a6a6 [project @ 2005-03-20 23:42:23 by jmb]
Only stop existing fetch for window if we're really going to initiate a new one.

svn path=/import/netsurf/; revision=1564
2005-03-20 23:42:23 +00:00
Richard Wilson
dfdf4741f8 [project @ 2005-03-20 23:02:00 by rjw]
URL nodes without a title use the associated URL.

svn path=/import/netsurf/; revision=1563
2005-03-20 23:02:00 +00:00
John Mark Bell
ba304de23b [project @ 2005-03-20 21:13:38 by jmb]
Add fragment id to URL in URL bar

svn path=/import/netsurf/; revision=1560
2005-03-20 21:13:38 +00:00
John Mark Bell
452629ab85 [project @ 2005-03-20 20:38:40 by jmb]
Fix stupidity relating to URL matching

svn path=/import/netsurf/; revision=1556
2005-03-20 20:38:40 +00:00
John Mark Bell
55fd3a7ee7 [project @ 2005-03-20 16:34:20 by jmb]
Fix crash relating to opening a link containing a fragment in a new window.

svn path=/import/netsurf/; revision=1553
2005-03-20 16:34:20 +00:00
John Mark Bell
44f1f35436 [project @ 2005-03-20 03:35:50 by jmb]
Improve handling of fragments on the same page as already loaded.

svn path=/import/netsurf/; revision=1550
2005-03-20 03:35:50 +00:00
Richard Wilson
036622f35f [project @ 2005-03-18 23:52:38 by rjw]
Allow windows to be resized to an absolute minimum (toolbars collapse.)

svn path=/import/netsurf/; revision=1541
2005-03-18 23:52:38 +00:00
Richard Wilson
950d8e27a0 [project @ 2005-03-13 09:04:44 by rjw]
Update title and extent on scale change.

svn path=/import/netsurf/; revision=1534
2005-03-13 09:04:44 +00:00
James Bursa
51c5143a80 [project @ 2005-02-20 13:17:29 by bursa]
Font rewrite, part 1.

svn path=/import/netsurf/; revision=1517
2005-02-20 13:17:29 +00:00
Richard Wilson
acb914b90a [project @ 2005-02-08 23:34:56 by rjw]
Implement nodes being retained in memory after deletion, stop nodes being able to be moved within themselves.

svn path=/import/netsurf/; revision=1507
2005-02-08 23:34:56 +00:00