Commit Graph

1014 Commits

Author SHA1 Message Date
Adrian Lees
09768a5008 [project @ 2005-10-01 23:28:46 by adrianl]
Make robust against missing/unexpected thumbnail filenames, eg. saving errors (caused SIGSEGV recursion when starting)

svn path=/import/netsurf/; revision=1869
2005-10-01 23:28:46 +00:00
Adrian Lees
7a81755bca [project @ 2005-09-29 15:24:48 by adrianl]
Allow drag-saving of URLs from URL icon of browser windows

svn path=/import/netsurf/; revision=1867
2005-09-29 15:24:48 +00:00
John Mark Bell
a1e43b7c53 [project @ 2005-09-23 03:48:40 by jmb]
Add Latin10 table (RISC OS alphabet number 116)

svn path=/import/netsurf/; revision=1866
2005-09-23 03:48:40 +00:00
Adrian Lees
14d159f067 [project @ 2005-09-14 19:08:48 by adrianl]
Correct mode word of sprite that buffers output

svn path=/import/netsurf/; revision=1864
2005-09-14 19:08:48 +00:00
Adrian Lees
de8b91ca26 [project @ 2005-09-14 02:28:38 by adrianl]
Correct Tinct usage test

svn path=/import/netsurf/; revision=1863
2005-09-14 02:28:38 +00:00
John Mark Bell
5903845c4a [project @ 2005-09-07 20:22:33 by jmb]
Tighten up error checking.
When loading bitmaps from the disk cache, ensure they look valid.

svn path=/import/netsurf/; revision=1862
2005-09-07 20:22:33 +00:00
Adrian Lees
01153ef217 [project @ 2005-09-06 11:07:42 by adrianl]
Handle absence of filetype sprites, eg. ANT URL on Adjust

svn path=/import/netsurf/; revision=1861
2005-09-06 11:07:42 +00:00
Adrian Lees
4a372d76d1 [project @ 2005-09-01 20:29:59 by adrianl]
Tolerate incorrectly terminated and unterminated data xfer filenames

svn path=/import/netsurf/; revision=1860
2005-09-01 20:29:59 +00:00
Adrian Lees
d66f9c2fbd [project @ 2005-09-01 03:30:16 by adrianl]
Add IconSprites command to output 'app'

svn path=/import/netsurf/; revision=1859
2005-09-01 03:30:16 +00:00
Adrian Lees
84f43ac3a0 [project @ 2005-09-01 03:21:13 by adrianl]
Fix NULL read

svn path=/import/netsurf/; revision=1858
2005-09-01 03:21:13 +00:00
James Bursa
4af7520647 [project @ 2005-08-20 23:04:35 by bursa]
Fix strndup() warnings.

svn path=/import/netsurf/; revision=1850
2005-08-20 23:04:35 +00:00
James Bursa
4321094122 [project @ 2005-08-04 22:50:49 by bursa]
Fix "View source" (Filer_Run before setting filetype).

svn path=/import/netsurf/; revision=1839
2005-08-04 22:50:49 +00:00
Richard Wilson
9699f5e2a1 [project @ 2005-08-03 17:02:16 by rjw]
Save the desired window position when required.

svn path=/import/netsurf/; revision=1838
2005-08-03 17:02:16 +00:00
Richard Wilson
d8e290a7a1 [project @ 2005-08-03 17:01:40 by rjw]
Give an unique filename each time 'View Source' is used.

svn path=/import/netsurf/; revision=1837
2005-08-03 17:01:40 +00:00
Adrian Lees
56b06d8449 [project @ 2005-07-30 15:11:22 by adrianl]
Fix removal of 'Not found' message for non-RO5 systems

svn path=/import/netsurf/; revision=1829
2005-07-30 15:11:23 +00:00
Adrian Lees
13349e1ea0 [project @ 2005-07-27 17:54:10 by adrianl]
Remove stray log message

svn path=/import/netsurf/; revision=1827
2005-07-27 17:54:10 +00:00
John Mark Bell
8e6f1ddf42 [project @ 2005-07-27 15:31:48 by jmb]
Reinstate internal table. We check this first, and then ask MimeMap if we find nothing (Note that the file extension behaviour is retained, wherever the MIME type is looked for)

svn path=/import/netsurf/; revision=1826
2005-07-27 15:31:48 +00:00
John Mark Bell
42b6a05ece [project @ 2005-07-27 01:30:58 by jmb]
Make fetch_filetype use MimeMap - works as follows:
  If the filetype is text and the filename has an extension, then use the
  extension to detect the MIME type.
  In all other cases, the filetype is used.
Fix memory leak.

svn path=/import/netsurf/; revision=1825
2005-07-27 01:30:58 +00:00
John Mark Bell
784ffb42e6 [project @ 2005-07-26 23:16:21 by jmb]
Implement plugin streams properly (can now have multiple, simultaneous streams to a plugin).
Fix race condition when performing non-file streams.
Support for GETting an URL and streaming it to a plugin (this is untested, due to a lack of access to plugins that actually use this functionality).
General source tidyup.

svn path=/import/netsurf/; revision=1824
2005-07-26 23:16:21 +00:00
Adrian Lees
eed08b3250 [project @ 2005-07-24 03:13:51 by adrianl]
Convert title to local encoding before display

svn path=/import/netsurf/; revision=1819
2005-07-24 03:13:51 +00:00
Adrian Lees
f8750d2d4d [project @ 2005-07-24 03:13:33 by adrianl]
Correct comment

svn path=/import/netsurf/; revision=1818
2005-07-24 03:13:33 +00:00
Adrian Lees
7cfe74b6dc [project @ 2005-07-23 23:16:52 by adrianl]
Use a more appropriate name for saved text selections

svn path=/import/netsurf/; revision=1817
2005-07-23 23:16:53 +00:00
Adrian Lees
70d5160543 [project @ 2005-07-23 22:39:50 by adrianl]
Fix crash when drag-saving text selection

svn path=/import/netsurf/; revision=1816
2005-07-23 22:39:50 +00:00
James Bursa
97d5fa20f2 [project @ 2005-07-23 20:45:00 by bursa]
Fix bug in ro_gui_theme_add_toolbar_icons().

svn path=/import/netsurf/; revision=1815
2005-07-23 20:45:00 +00:00
James Bursa
253c199d1f [project @ 2005-07-23 20:43:37 by bursa]
Rewrite and simplify url_nice() to improve suggested filenames. Add option to keep extensions (no UI currently).

svn path=/import/netsurf/; revision=1814
2005-07-23 20:43:37 +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
ad1aaff33b [project @ 2005-07-19 05:59:18 by adrianl]
Added search and print windows

svn path=/import/netsurf/; revision=1808
2005-07-19 05:59:18 +00:00
Adrian Lees
56baede6fd [project @ 2005-07-19 04:05:08 by adrianl]
Convert to local encoding when copying to clipboard

svn path=/import/netsurf/; revision=1807
2005-07-19 04:05:08 +00:00
Adrian Lees
bd99f7081e [project @ 2005-07-19 03:56:17 by adrianl]
Search-as-you-type

svn path=/import/netsurf/; revision=1805
2005-07-19 03:56:17 +00:00
Adrian Lees
be2cd4131d [project @ 2005-07-18 16:37:55 by adrianl]
Add missing prototype

svn path=/import/netsurf/; revision=1803
2005-07-18 16:37:55 +00:00
John Mark Bell
c5e120e43d [project @ 2005-07-16 21:46:47 by jmb]
Fix path display

svn path=/import/netsurf/; revision=1801
2005-07-16 21:46:47 +00:00
Adrian Lees
23465f5705 [project @ 2005-07-16 16:17:49 by adrianl]
Correct and simplify space -> hard space conversion

svn path=/import/netsurf/; revision=1798
2005-07-16 16:17:49 +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
Adrian Lees
81a39c3075 [project @ 2005-07-16 14:02:15 by adrianl]
Update sprite name when saving

svn path=/import/netsurf/; revision=1795
2005-07-16 14:02:15 +00:00
Adrian Lees
c383813921 [project @ 2005-07-16 05:57:53 by adrianl]
Thumbnail display and dragging

svn path=/import/netsurf/; revision=1794
2005-07-16 05:57:53 +00:00
Adrian Lees
4a5dc6d5cc [project @ 2005-07-16 05:54:45 by adrianl]
Thumbnails displayed and dragged for full page save; spelling correction

svn path=/import/netsurf/; revision=1793
2005-07-16 05:54:45 +00:00
Adrian Lees
cfcc08137d [project @ 2005-07-09 18:30:28 by adrianl]
Stylistic changes

svn path=/import/netsurf/; revision=1791
2005-07-09 18:30:28 +00:00
Adrian Lees
bb51c62909 [project @ 2005-07-08 14:53:53 by adrianl]
Continue download after save errors; checking of free space; grey out file icon when can't save; tidy display on Select/Adjust

svn path=/import/netsurf/; revision=1789
2005-07-08 14:53:53 +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
Adrian Lees
ba6f228418 [project @ 2005-06-26 23:24:03 by adrianl]
Fix calculation of available memory

svn path=/import/netsurf/; revision=1769
2005-06-26 23:24:03 +00:00
John Mark Bell
20e3c01058 [project @ 2005-06-26 23:23:55 by jmb]
Disable raising of inexact floating point operations as we're not interested in them.

svn path=/import/netsurf/; revision=1768
2005-06-26 23:23:55 +00:00
John Mark Bell
9c53f98946 [project @ 2005-06-26 22:25:49 by jmb]
Update to cater for changes in UnixLib:
  - unixlib/features.h is now features.h
  - __dynamic_da_name is now declared as const char * const
  - We explicitly force all FPU exceptions/traps back on (UnixLib default is now off)
Correct error message when <NetSurf$Dir>.Resources.Sprites is missing.

svn path=/import/netsurf/; revision=1767
2005-06-26 22:25:49 +00:00
Richard Wilson
26872ea54f [project @ 2005-06-23 18:02:26 by rjw]
Remove test code.

svn path=/import/netsurf/; revision=1764
2005-06-23 18:02:26 +00:00
Richard Wilson
3150c97459 [project @ 2005-06-23 17:37:34 by rjw]
Unbreak the build.

svn path=/import/netsurf/; revision=1763
2005-06-23 17:37:34 +00:00
Richard Wilson
f559054c1a [project @ 2005-06-23 17:24:23 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 2 of 2.

svn path=/import/netsurf/; revision=1762
2005-06-23 17:24:23 +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
ede57892c6 [project @ 2005-06-23 17:17:56 by rjw]
Clients now manage the persistent state.

svn path=/import/netsurf/; revision=1760
2005-06-23 17:17:56 +00:00
James Bursa
d3aa28aa32 [project @ 2005-06-22 00:21:36 by bursa]
Make a configured countries Austria and Switzerland default to German translation.

svn path=/import/netsurf/; revision=1758
2005-06-22 00:21:36 +00:00
Adrian Lees
63ca06febb [project @ 2005-06-21 23:56:40 by adrianl]
Netherlands support

svn path=/import/netsurf/; revision=1757
2005-06-21 23:56:40 +00:00
Richard Wilson
523eb55a24 [project @ 2005-06-21 14:17:51 by rjw]
Unique filename provider.

svn path=/import/netsurf/; revision=1750
2005-06-21 14:17:51 +00:00
Richard Wilson
44ef42de34 [project @ 2005-06-13 20:49:23 by rjw]
Updated Tinct header file.

svn path=/import/netsurf/; revision=1749
2005-06-13 20:49:23 +00:00
Adrian Lees
ea6f3f8812 [project @ 2005-06-09 18:37:27 by adrianl]
Prevent checksum code traversing submenu dialogues

svn path=/import/netsurf/; revision=1747
2005-06-09 18:37:27 +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
John Mark Bell
be6a75509d [project @ 2005-06-07 16:35:13 by jmb]
Convert status bar text to local encoding. Fixes bug 1215998

svn path=/import/netsurf/; revision=1743
2005-06-07 16:35:13 +00:00
John Mark Bell
9edb2fb92c [project @ 2005-05-21 20:29:43 by jmb]
Remove base tags from output document as they have no meaning.

svn path=/import/netsurf/; revision=1728
2005-05-21 20:29:43 +00:00
John Mark Bell
2233db5b7d [project @ 2005-05-21 15:59:19 by jmb]
Fix encoding handling when full saving

svn path=/import/netsurf/; revision=1727
2005-05-21 15:59:19 +00:00
Richard Wilson
d8608af812 [project @ 2005-05-17 23:46:36 by rjw]
Make long theme names work on old filesystems.

svn path=/import/netsurf/; revision=1726
2005-05-17 23:46:36 +00:00
Richard Wilson
9702484306 [project @ 2005-05-17 23:25:32 by rjw]
Don't allow things to be scheduled twice.

svn path=/import/netsurf/; revision=1725
2005-05-17 23:25:32 +00:00
Richard Wilson
cfa4abed97 [project @ 2005-05-14 16:13:36 by rjw]
Recognise that current_gui may me NULL on menu selection if gui_multitask has been called.

svn path=/import/netsurf/; revision=1722
2005-05-14 16:13:36 +00:00
Richard Wilson
04ac7d63f9 [project @ 2005-05-11 00:54:56 by rjw]
Remove redundant code. Improve rendering of hr elements.

svn path=/import/netsurf/; revision=1717
2005-05-11 00:54:56 +00:00
Richard Wilson
759ff816db [project @ 2005-05-10 22:49:41 by rjw]
Implement RETURN for search and open url dialogs. Add recent URL menu to open url dialog.

svn path=/import/netsurf/; revision=1716
2005-05-10 22:49:41 +00:00
Richard Wilson
f21abddae3 [project @ 2005-05-03 21:56:20 by rjw]
Fix tree menu selection/deletion bug

svn path=/import/netsurf/; revision=1712
2005-05-03 21:56:20 +00:00
Richard Wilson
ab4dabe252 [project @ 2005-05-03 21:55:42 by rjw]
Fix tree menu quirk.

svn path=/import/netsurf/; revision=1711
2005-05-03 21:55:42 +00:00
Adrian Lees
1b46d8f35e [project @ 2005-05-02 22:12:53 by adrianl]
Fix Ctrl-Del and implement Home

svn path=/import/netsurf/; revision=1710
2005-05-02 22:12:53 +00:00
Adrian Lees
887ba25900 [project @ 2005-05-02 02:09:54 by adrianl]
Fix abort/quit confirmation; keyboard operation in download windows; allow spaces in filenames

svn path=/import/netsurf/; revision=1708
2005-05-02 02:11:06 +00:00
Adrian Lees
e22f12e223 [project @ 2005-04-30 14:38:43 by adrianl]
Hide non-functional Help button

svn path=/import/netsurf/; revision=1705
2005-04-30 14:38:43 +00:00
Richard Wilson
404b580721 [project @ 2005-04-29 10:47:35 by rjw]
Updated Tinct headers

svn path=/import/netsurf/; revision=1702
2005-04-29 10:47:35 +00:00
Richard Wilson
044a3a3f74 [project @ 2005-04-29 05:58:25 by rjw]
Only enable Find Text when we should.

svn path=/import/netsurf/; revision=1701
2005-04-29 05:58:25 +00:00
Richard Wilson
ea9bfd8f22 [project @ 2005-04-29 05:50:00 by rjw]
Fix theme installation

svn path=/import/netsurf/; revision=1700
2005-04-29 05:50:00 +00:00
Richard Wilson
ec9db1d6af [project @ 2005-04-29 01:35:52 by rjw]
Only initialise canvases if we need to.

svn path=/import/netsurf/; revision=1699
2005-04-29 01:35:52 +00:00
Richard Wilson
096eac7197 [project @ 2005-04-28 17:15:29 by rjw]
Don't rebuild SELECT menus on Adjust clicks.

svn path=/import/netsurf/; revision=1696
2005-04-28 17:15:29 +00:00
Richard Wilson
a174282e08 [project @ 2005-04-28 01:05:40 by rjw]
Fix incorrect menu preperation.

svn path=/import/netsurf/; revision=1691
2005-04-28 01:05:40 +00:00
Richard Wilson
b83f2c20b6 [project @ 2005-04-27 20:48:55 by rjw]
Don't close when other windows are resized.

svn path=/import/netsurf/; revision=1690
2005-04-27 20:48:55 +00:00
Richard Wilson
019043df82 [project @ 2005-04-27 00:02:02 by rjw]
Remove NULL read for no matching URLs

svn path=/import/netsurf/; revision=1687
2005-04-27 00:02:02 +00:00
Adrian Lees
9c1cb7bb2d [project @ 2005-04-23 02:58:27 by adrianl]
Query windows, desktop save protocol, confirm abort/quit when downloads in progress

svn path=/import/netsurf/; revision=1679
2005-04-23 02:58:27 +00:00
Adrian Lees
3d067e2fd6 [project @ 2005-04-23 02:56:14 by adrianl]
Query windows

svn path=/import/netsurf/; revision=1678
2005-04-23 02:56:14 +00:00
Adrian Lees
1e673368d1 [project @ 2005-04-22 00:58:05 by adrianl]
No selection when searching on non-html content

svn path=/import/netsurf/; revision=1677
2005-04-22 00:58:05 +00:00
Adrian Lees
8da644f442 [project @ 2005-04-21 21:36:23 by adrianl]
Dragging URLs into toolbar URL icon; keyboard actions in textareas conform to Wimp's icon editing; display of scale % fixed for 120%

svn path=/import/netsurf/; revision=1676
2005-04-21 21:36:23 +00:00
Richard Wilson
d736b3d3e5 [project @ 2005-04-20 23:22:49 by rjw]
Remove background blending option, fix tree menu bug.

svn path=/import/netsurf/; revision=1675
2005-04-20 23:22:49 +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
b75fd1a26b [project @ 2005-04-18 00:42:03 by adrianl]
Corrected scaling bug introduced by previous change

svn path=/import/netsurf/; revision=1666
2005-04-18 00:42:03 +00:00
Adrian Lees
89d98d0577 [project @ 2005-04-17 23:32:09 by adrianl]
better keyboard support for scale and find dialogs

svn path=/import/netsurf/; revision=1665
2005-04-17 23:32:09 +00:00
James Bursa
f3f63a1cac [project @ 2005-04-17 17:16:44 by bursa]
Enable closing windows while the browser is busy.

svn path=/import/netsurf/; revision=1664
2005-04-17 17:16:44 +00:00
Adrian Lees
9cff88ddd5 [project @ 2005-04-17 04:13:13 by adrianl]
Multiple matches per box

svn path=/import/netsurf/; revision=1658
2005-04-17 04:13:13 +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
28cbe9193a [project @ 2005-04-16 21:26:15 by adrianl]
Ignores save drags that stay within SaveAs/download window

svn path=/import/netsurf/; revision=1655
2005-04-16 21:26:15 +00:00
John Mark Bell
0a55a2b16e [project @ 2005-04-16 19:33:21 by jmb]
Fix silliness with use of control characters

svn path=/import/netsurf/; revision=1653
2005-04-16 19:33:21 +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
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
89993a5bf2 [project @ 2005-04-15 05:54:44 by adrianl]
Text selection, page drag scrolling, drag-saving images and a few SaveAs improvements

svn path=/import/netsurf/; revision=1640
2005-04-15 05:54:44 +00:00
Richard Wilson
92b2d46874 [project @ 2005-04-14 01:36:54 by rjw]
Fix redraw errors for standalone images when buffered.

svn path=/import/netsurf/; revision=1631
2005-04-14 01:36:54 +00:00
Richard Wilson
1d166e2b33 [project @ 2005-04-14 01:35:47 by rjw]
Fix textarea redraw errors.

svn path=/import/netsurf/; revision=1630
2005-04-14 01:35:47 +00:00
Richard Wilson
3e82c07a88 [project @ 2005-04-14 01:34:23 by rjw]
Only close menus we own.

svn path=/import/netsurf/; revision=1629
2005-04-14 01:34:23 +00:00
Adrian Lees
d656bcc592 [project @ 2005-04-13 22:02:28 by adrianl]
Fix scrolling to tags with scaled display

svn path=/import/netsurf/; revision=1628
2005-04-13 22:02:28 +00:00
James Bursa
11bc5345c5 [project @ 2005-04-13 21:58:28 by bursa]
Add fallback field to struct box for object fallback content. Add some checks for tree consistency to box_dump(). Rename struct plugin_params to object_param. Clean up box_object(), box_embed(), box_iframe(), and box_image(). Implement object fallback to contents if the fetch or conversion fails.

svn path=/import/netsurf/; revision=1627
2005-04-13 21:58:28 +00:00
Richard Wilson
4ebe390f8d [project @ 2005-04-12 19:11:35 by rjw]
Work around the stupid manner in which the FontManager only observes the plot origin for non-anti-aliased text operations.

svn path=/import/netsurf/; revision=1626
2005-04-12 19:11:35 +00:00
Richard Wilson
e08d9e7263 [project @ 2005-04-12 19:09:09 by rjw]
Round value up when going from OS units to pixels.

svn path=/import/netsurf/; revision=1625
2005-04-12 19:09:09 +00:00
Richard Wilson
a1c2719812 [project @ 2005-04-10 23:26:34 by rjw]
Simplify code.

svn path=/import/netsurf/; revision=1623
2005-04-10 23:26:34 +00:00
Richard Wilson
d8c19f2e13 [project @ 2005-04-10 23:26:17 by rjw]
Remove screen cache, workaround SpriteExtend bug.

svn path=/import/netsurf/; revision=1622
2005-04-10 23:26:17 +00:00
Richard Wilson
232911b403 [project @ 2005-04-10 19:33:33 by rjw]
Fix incorrect throbber size calculation.

svn path=/import/netsurf/; revision=1621
2005-04-10 19:33:33 +00:00
John Mark Bell
63c33349f0 [project @ 2005-04-09 22:56:34 by jmb]
Fix inappropriate free()s of talloced content

svn path=/import/netsurf/; revision=1619
2005-04-09 22:56:34 +00:00
Richard Wilson
2ef1e63d3d [project @ 2005-04-09 22:37:09 by rjw]
Fix bug that prevented the recent URL button working without a theme. Resizing the status bar to no width now works correctly when the window is resized. Lose legacy choices file reading (users may need to re-choose their desired theme.) Source code tidy-up part one.

svn path=/import/netsurf/; revision=1618
2005-04-09 22:37:09 +00:00
Richard Wilson
ed30d76336 [project @ 2005-04-09 22:31:26 by rjw]
Close file on memory exhaustion.

svn path=/import/netsurf/; revision=1617
2005-04-09 22:31:26 +00:00
Richard Wilson
bc43904af9 [project @ 2005-04-09 14:58:54 by rjw]
Don't expect the wimp to behave sensibly and return errors when it should.

svn path=/import/netsurf/; revision=1616
2005-04-09 14:58:54 +00:00
Richard Wilson
b7d0f95486 [project @ 2005-04-09 13:23:55 by rjw]
Fallback to default window furniture sizes.

svn path=/import/netsurf/; revision=1612
2005-04-09 13:23:55 +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
46a50d6b7a [project @ 2005-04-08 02:06:46 by rjw]
Save the page title with Acorn URI files, and use it when dragging into the hotlist.

svn path=/import/netsurf/; revision=1606
2005-04-08 02:06:46 +00:00
Richard Wilson
ce3c78545a [project @ 2005-04-07 21:47:17 by rjw]
Stop Ctrl+Q/W without a content from killing NetSurf.

svn path=/import/netsurf/; revision=1604
2005-04-07 21:47:17 +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
Richard Wilson
36b513ccce [project @ 2005-04-05 18:52:00 by rjw]
Fix reading from zero-page.

svn path=/import/netsurf/; revision=1601
2005-04-05 18:52:00 +00:00
Richard Wilson
9acf6d31cf [project @ 2005-04-05 17:19:58 by rjw]
Add sanity checks to Sprite file handling and simplify code.

svn path=/import/netsurf/; revision=1600
2005-04-05 17:19:58 +00:00
Richard Wilson
8e9561dc29 [project @ 2005-04-05 11:41:03 by rjw]
Missing check-in for updated sprite rendering.

svn path=/import/netsurf/; revision=1599
2005-04-05 11:41:03 +00:00
Richard Wilson
92743be24d [project @ 2005-04-05 02:36:33 by rjw]
Reduce re-allocation of memory when receiving files (drastically increases the speed of loading large files locally). Sprite files no longer require two copies of their data.

svn path=/import/netsurf/; revision=1598
2005-04-05 02:36:33 +00:00
Adrian Lees
8bd707114c [project @ 2005-04-04 22:14:51 by adrianl]
DataSave support for inter-app file/URL transfer

svn path=/import/netsurf/; revision=1596
2005-04-04 22:14:51 +00:00
John Mark Bell
f5ff372fe8 [project @ 2005-04-02 23:57:48 by jmb]
Dump all box trees when SIGFPE raised

svn path=/import/netsurf/; revision=1590
2005-04-02 23:57:48 +00:00
Adrian Lees
e7e34b78c3 [project @ 2005-03-29 13:32:11 by adrianl]
Fix read from NULL ptr when clicking on hotlist background

svn path=/import/netsurf/; revision=1586
2005-03-29 13:32:11 +00:00
John Mark Bell
0fd980d8b2 [project @ 2005-03-28 16:16:14 by jmb]
Fix sprite palette generation. Buffering now works properly in 16 colour modes.

svn path=/import/netsurf/; revision=1584
2005-03-28 16:16:14 +00:00
Adrian Lees
9b8a94cc39 [project @ 2005-03-25 14:25:25 by adrianl]
Removed string copying and added wildcard matching.

svn path=/import/netsurf/; revision=1582
2005-03-25 14:25:25 +00:00
James Bursa
d4760c09c0 [project @ 2005-03-24 07:45:41 by bursa]
Make line splitting more accurate by using rufl_split() instead of rufl_x_to_offset(). This fixes many cases of text leaking out of a box.

svn path=/import/netsurf/; revision=1579
2005-03-24 07:45:41 +00:00
Richard Wilson
67b91d31c5 [project @ 2005-03-22 20:19:30 by rjw]
Add specific check for 'Floating Help' for interactive help messages

svn path=/import/netsurf/; revision=1572
2005-03-22 20:19:30 +00:00
Richard Wilson
28d9260ca4 [project @ 2005-03-21 15:27:31 by rjw]
Correct wrong initial configuration.

svn path=/import/netsurf/; revision=1568
2005-03-21 15:27:31 +00:00
Richard Wilson
5ecea49e7e [project @ 2005-03-21 14:48:26 by rjw]
Make toolbar configurable.

svn path=/import/netsurf/; revision=1567
2005-03-21 14:48:26 +00:00
Richard Wilson
9a76676600 [project @ 2005-03-21 00:50:13 by rjw]
Add shift+toggle feature for short contents. *** HACK ***

svn path=/import/netsurf/; revision=1566
2005-03-21 00:50:13 +00:00
John Mark Bell
8c0cc33e3b [project @ 2005-03-21 00:15:48 by jmb]
Fix mouse click handling in local history window

svn path=/import/netsurf/; revision=1565
2005-03-21 00:15:48 +00:00
Richard Wilson
b718ee9158 [project @ 2005-03-20 22:50:29 by rjw]
Trees now use content title rather than gui_window title.

svn path=/import/netsurf/; revision=1562
2005-03-20 22:50:29 +00:00
Richard Wilson
f3b7d06f2a [project @ 2005-03-20 22:49:53 by rjw]
Tree toolbar actions update toolbar status (deleting a node/element is now correctly reflected.

svn path=/import/netsurf/; revision=1561
2005-03-20 22:49:53 +00:00
Richard Wilson
412c668af3 [project @ 2005-03-20 20:39:43 by rjw]
Allow theme changing during toolbar edit sessions. Stop pointer changing to ptr_lr when updating toolbar windows.

svn path=/import/netsurf/; revision=1558
2005-03-20 20:39:43 +00:00
John Mark Bell
062e6a5bae [project @ 2005-03-20 20:39:22 by jmb]
Fix draw_plot_rectangle API

svn path=/import/netsurf/; revision=1557
2005-03-20 20:39:22 +00:00
Richard Wilson
7cf3d4dde2 [project @ 2005-03-20 19:28:49 by rjw]
Further toolbar customisation work.

svn path=/import/netsurf/; revision=1555
2005-03-20 19:28:50 +00:00
John Mark Bell
68224ec45c [project @ 2005-03-20 18:58:34 by jmb]
Reinstate font background blending

svn path=/import/netsurf/; revision=1554
2005-03-20 18:58:34 +00:00
Richard Wilson
63c349330d [project @ 2005-03-20 14:57:51 by rjw]
Add missing change.

svn path=/import/netsurf/; revision=1552
2005-03-20 14:57:51 +00:00
Richard Wilson
06419abcca [project @ 2005-03-20 14:57:19 by rjw]
Further work towards configurable toolbars.

svn path=/import/netsurf/; revision=1551
2005-03-20 14:57:19 +00:00
John Mark Bell
4777e75682 [project @ 2005-03-20 01:55:48 by jmb]
Explicitly copy result of getenv(NetSurf$Dir) as not doing so will break things with latest UnixLib (as the result gets freed next time getenv is called).

svn path=/import/netsurf/; revision=1549
2005-03-20 01:55:48 +00:00
Richard Wilson
d06688b73f [project @ 2005-03-19 12:50:45 by rjw]
Minor toolbar/GUI refinements.

svn path=/import/netsurf/; revision=1543
2005-03-19 12:50:45 +00:00
Richard Wilson
251819b2d1 [project @ 2005-03-19 01:21:53 by rjw]
Remove legacy toolbar button configuration code. Squash some compiler warnings.

svn path=/import/netsurf/; revision=1542
2005-03-19 01:21:54 +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
9caff49577 [project @ 2005-03-14 22:41:16 by rjw]
Stop a lack of hotlist causing hotlist menu preparation from crashing.

svn path=/import/netsurf/; revision=1537
2005-03-14 22:41:16 +00:00
Richard Wilson
f6e1694894 [project @ 2005-03-14 14:01:02 by rjw]
Stop text matching keyboard shortcuts in SELECT entities being right aligned.

svn path=/import/netsurf/; revision=1536
2005-03-14 14:01:02 +00:00
Richard Wilson
501da1c487 [project @ 2005-03-14 13:58:43 by rjw]
Minimise flicker when viewing non-HTML files.

svn path=/import/netsurf/; revision=1535
2005-03-14 13:58:43 +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
Richard Wilson
a0875b261f [project @ 2005-03-13 01:23:10 by rjw]
Scale view is now applied to all content types. Ctrl+Q/Ctrl+W no longer step along a linear scale.

svn path=/import/netsurf/; revision=1533
2005-03-13 01:23:10 +00:00
Richard Wilson
4de547dc60 [project @ 2005-03-12 22:32:43 by rjw]
Retain global history between sessions

svn path=/import/netsurf/; revision=1532
2005-03-12 22:32:43 +00:00
James Bursa
6aea3ff270 [project @ 2005-03-09 00:20:45 by bursa]
Fix installed themes sitting in memory cache. Break out some code into functions.

svn path=/import/netsurf/; revision=1531
2005-03-09 00:20:45 +00:00
James Bursa
6ff76b4c3f [project @ 2005-03-08 00:04:57 by bursa]
Temporarily disable declaring fonts. Printing may now work on RO3-4 non-PS only.

svn path=/import/netsurf/; revision=1529
2005-03-08 00:04:57 +00:00
James Bursa
dace636329 [project @ 2005-02-24 22:00:40 by bursa]
Reimplement font family support, part 2 (font menus in choices).

svn path=/import/netsurf/; revision=1525
2005-02-24 22:00:41 +00:00
James Bursa
504e05c4b3 [project @ 2005-02-22 23:36:14 by bursa]
Reimplement font family support, part 1.

svn path=/import/netsurf/; revision=1524
2005-02-22 23:36:14 +00:00
James Bursa
e9598b10f8 [project @ 2005-02-21 21:31:31 by bursa]
Fix buffered font rendering.

svn path=/import/netsurf/; revision=1523
2005-02-21 21:31:31 +00:00
James Bursa
cb70291739 [project @ 2005-02-21 21:10:48 by bursa]
Check rufl_init() for errors. Rename gui_signal() to ro_gui_signal().

svn path=/import/netsurf/; revision=1522
2005-02-21 21:10:48 +00:00
James Bursa
65b5ae0f8f [project @ 2005-02-20 13:19:19 by bursa]
Font rewrite, part 3. Note that Draw export and printing are broken by these changes.

svn path=/import/netsurf/; revision=1519
2005-02-20 13:19:19 +00:00
Richard Wilson
07ae1a1ec9 [project @ 2005-02-09 00:16:38 by rjw]
Make URL completion only respond to Adjust clicks once.

svn path=/import/netsurf/; revision=1509
2005-02-09 00:16:38 +00:00
Richard Wilson
06a6a902c6 [project @ 2005-02-08 23:37:41 by rjw]
Give global history some functionality

svn path=/import/netsurf/; revision=1508
2005-02-08 23:37:41 +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
Richard Wilson
350247a0f2 [project @ 2005-02-07 23:00:09 by rjw]
Stop toolbar scrolling by 1px, make theme saving use leafnames, improve error handling

svn path=/import/netsurf/; revision=1499
2005-02-07 23:00:09 +00:00
Richard Wilson
db41dc3dac [project @ 2005-02-07 14:28:43 by rjw]
Initial work for global history (currently incomplete)

svn path=/import/netsurf/; revision=1497
2005-02-07 14:28:43 +00:00
Richard Wilson
d5255faf91 [project @ 2005-02-07 14:18:33 by rjw]
Create nested themes at the correct place in the choices window

svn path=/import/netsurf/; revision=1495
2005-02-07 14:18:33 +00:00
Richard Wilson
88da8ac018 [project @ 2005-02-05 01:08:00 by rjw]
Make F2 automatically open URL completion.

svn path=/import/netsurf/; revision=1493
2005-02-05 01:08:00 +00:00
Richard Wilson
b07582615b [project @ 2005-02-04 18:07:27 by rjw]
Adjust clicking on a suggested URL filters to the prefix and doesn't launch.

svn path=/import/netsurf/; revision=1491
2005-02-04 18:07:27 +00:00
Richard Wilson
097b8e5bcd [project @ 2005-02-04 03:02:15 by rjw]
Make URL completion less intrusive, fix incorrect horizontal clipping of vertical scrollbar.

svn path=/import/netsurf/; revision=1490
2005-02-04 03:02:15 +00:00
James Bursa
8aa96588e1 [project @ 2005-02-03 20:49:43 by bursa]
"IEURL" (1ba) file support.

svn path=/import/netsurf/; revision=1489
2005-02-03 20:49:43 +00:00
Richard Wilson
2affb76944 [project @ 2005-02-03 13:18:22 by rjw]
Implementation of URL suggestion

svn path=/import/netsurf/; revision=1488
2005-02-03 13:18:22 +00:00
Richard Wilson
4a34357986 [project @ 2005-02-03 13:12:24 by rjw]
Wider minimum URL bar width, make themes work on NCOS (probably)

svn path=/import/netsurf/; revision=1487
2005-02-03 13:12:24 +00:00
Richard Wilson
f11a991992 [project @ 2005-02-03 13:10:21 by rjw]
Make themes auto-install work on NCOS (probably)

svn path=/import/netsurf/; revision=1486
2005-02-03 13:10:21 +00:00
John Mark Bell
a17aa7d47f [project @ 2005-02-03 10:04:06 by jmb]
Fix issue with plugins embedded in a page requesting fetch of the same page on load.
Add option to block popups.

svn path=/import/netsurf/; revision=1482
2005-02-03 10:04:06 +00:00
John Mark Bell
e86bbdfc79 [project @ 2005-02-01 01:16:53 by jmb]
Lose spurious #include

svn path=/import/netsurf/; revision=1479
2005-02-01 01:16:53 +00:00
Richard Wilson
fd04e82e9b [project @ 2005-02-01 00:58:31 by rjw]
Only buffer redraws that update the entire current clipping area (fixes GIF redraw artifacts.)

svn path=/import/netsurf/; revision=1477
2005-02-01 00:58:31 +00:00
James Bursa
f84d33c036 [project @ 2005-01-29 16:17:23 by bursa]
Make DA max size 128M.

svn path=/import/netsurf/; revision=1475
2005-01-29 16:17:23 +00:00
James Bursa
b645f64e5e [project @ 2005-01-27 22:37:54 by bursa]
Builds now hosted on the main site.

svn path=/import/netsurf/; revision=1471
2005-01-27 22:37:54 +00:00
James Bursa
2583180b79 [project @ 2005-01-24 22:14:59 by bursa]
Simplify browser_window_go(). Replace browser_window_go_post() with browser_window_go() where possible.

svn path=/import/netsurf/; revision=1466
2005-01-24 22:14:59 +00:00
James Bursa
01b28b7538 [project @ 2005-01-24 20:59:15 by bursa]
Fix input focus behaviour. Remove obsolete gui_window_get_url().

svn path=/import/netsurf/; revision=1465
2005-01-24 20:59:15 +00:00
Richard Wilson
422df90089 [project @ 2005-01-23 16:09:05 by rjw]
Further work on theme installing

svn path=/import/netsurf/; revision=1463
2005-01-23 16:09:05 +00:00
Richard Wilson
2d2fc67265 [project @ 2005-01-20 23:17:08 by rjw]
Substantial speed increase for off-screen buffering

svn path=/import/netsurf/; revision=1459
2005-01-20 23:17:08 +00:00
James Bursa
d63e9fac4f [project @ 2005-01-16 21:04:00 by bursa]
Rename themeinstall template to avoid issues with 12-character names in some Wimp versions.

svn path=/import/netsurf/; revision=1454
2005-01-16 21:04:00 +00:00
James Bursa
f0b264670e [project @ 2005-01-13 22:42:38 by bursa]
Start on theme auto-install. Fix content_add_user() not to broadcast error on memory exhaustion.

svn path=/import/netsurf/; revision=1448
2005-01-13 22:42:39 +00:00
James Bursa
380842f2fb [project @ 2005-01-13 20:01:03 by bursa]
Change toolbar icon button type to click.

svn path=/import/netsurf/; revision=1444
2005-01-13 20:01:03 +00:00
John Mark Bell
124f0741d6 [project @ 2005-01-03 02:28:57 by jmb]
Lose erroneous #include

svn path=/import/netsurf/; revision=1430
2005-01-03 02:28:57 +00:00
John Mark Bell
77de9c1336 [project @ 2005-01-03 02:09:20 by jmb]
Shift + Click == download

svn path=/import/netsurf/; revision=1429
2005-01-03 02:09:20 +00:00
John Mark Bell
bd5ba01b2e [project @ 2005-01-03 01:18:17 by jmb]
Reorder F-key order (looks tidier ;)

svn path=/import/netsurf/; revision=1428
2005-01-03 01:18:17 +00:00
James Bursa
39eb35cbf1 [project @ 2005-01-02 11:47:51 by bursa]
Fix comment.

svn path=/import/netsurf/; revision=1424
2005-01-02 11:47:51 +00:00
John Mark Bell
8334683068 [project @ 2005-01-02 03:58:20 by jmb]
xcalloc/xrealloc/xstrdup-purge - Lose remaining calls (and purge the relevant functions from utils.c)

svn path=/import/netsurf/; revision=1419
2005-01-02 03:58:21 +00:00
James Bursa
7824e830cf [project @ 2005-01-01 22:14:06 by bursa]
xcalloc/xrealloc/xstrdup-purge week.

svn path=/import/netsurf/; revision=1417
2005-01-01 22:14:06 +00:00
James Bursa
7a71363d76 [project @ 2005-01-01 22:05:20 by bursa]
xcalloc/xrealloc/xstrdup-purge week, part 5. Improve and simplify encoding detection.

svn path=/import/netsurf/; revision=1416
2005-01-01 22:05:21 +00:00
John Mark Bell
fa05ee570c [project @ 2004-12-25 18:58:04 by jmb]
Fix issue with streaming as file when handling unknown content length (plugin_convert may have been called prior to the streaming being set up, thus resulting in the file not being streamed)
Lose spurious boolean in plugin_data struct.

svn path=/import/netsurf/; revision=1411
2004-12-25 18:58:04 +00:00
John Mark Bell
a36f92554a [project @ 2004-12-25 12:12:39 by jmb]
Support standalone plugins

svn path=/import/netsurf/; revision=1410
2004-12-25 12:12:39 +00:00
James Bursa
ed05aa87f8 [project @ 2004-12-25 11:37:35 by bursa]
Fix line endings.

svn path=/import/netsurf/; revision=1409
2004-12-25 11:37:35 +00:00
James Bursa
6dd1ab8fad [project @ 2004-12-25 11:25:21 by bursa]
Fix line endings.

svn path=/import/netsurf/; revision=1408
2004-12-25 11:25:21 +00:00
John Tytgat
0e72b17299 [project @ 2004-12-16 20:38:12 by joty]
Norcroft compatibility fix.

svn path=/import/netsurf/; revision=1406
2004-12-16 20:38:12 +00:00
Richard Wilson
441b364600 [project @ 2004-12-09 19:09:56 by rjw]
Lose xcalloc().

svn path=/import/netsurf/; revision=1397
2004-12-09 19:09:56 +00:00
Richard Wilson
bd652a750a [project @ 2004-12-09 12:07:32 by rjw]
Fix GTK build. Lose xcalloc() from history.

svn path=/import/netsurf/; revision=1396
2004-12-09 12:07:32 +00:00
Richard Wilson
32db7e04d0 [project @ 2004-12-09 10:30:43 by rjw]
Re-implementation of hotlist via general tree code. Animations can be stopped once more. Purged a few xcalloc() calls.

svn path=/import/netsurf/; revision=1394
2004-12-09 10:30:44 +00:00
James Bursa
6bddd0837f [project @ 2004-12-05 21:39:31 by bursa]
Return an error for invalid clip rectangles to ro_plot_clip().

svn path=/import/netsurf/; revision=1382
2004-12-05 21:39:31 +00:00
James Bursa
16fce4f8ff [project @ 2004-11-29 21:47:00 by bursa]
Open the home page when NetSurf is run when it is already running.

svn path=/import/netsurf/; revision=1376
2004-11-29 21:47:00 +00:00
John Mark Bell
a53d5ecfa9 [project @ 2004-11-28 23:38:38 by jmb]
Ensure dimensions specified by HTML/CSS are adhered to, rather than resizing to what the plugin wants

svn path=/import/netsurf/; revision=1375
2004-11-28 23:38:38 +00:00
John Mark Bell
3694fd54b2 [project @ 2004-11-28 00:26:17 by jmb]
Bug fixes.
Reformatting a plugin now works correctly in all cirumstances.
Streaming also works better and reloading a page containing plugins will now work properly.

svn path=/import/netsurf/; revision=1373
2004-11-28 00:26:17 +00:00
Richard Wilson
9c6094944b [project @ 2004-11-22 23:06:49 by rjw]
Stop scroll wheels from moving the toolbar

svn path=/import/netsurf/; revision=1370
2004-11-22 23:06:49 +00:00
James Bursa
dfad215d1b [project @ 2004-11-21 22:49:02 by bursa]
Fix crash when certain MNGs are opened in a new browser window.

svn path=/import/netsurf/; revision=1368
2004-11-21 22:49:02 +00:00
James Bursa
a31f6306f9 [project @ 2004-11-20 00:02:56 by bursa]
Improvements to overflow and scrolling: scrollbars now have most of the usual RISC OS behaviour. Better rendering of dotted and dashed borders.

svn path=/import/netsurf/; revision=1363
2004-11-20 00:02:56 +00:00
Richard Wilson
e87e37ca80 [project @ 2004-11-16 23:30:31 by rjw]
Minor fix to hotlist for titles with control characters.

svn path=/import/netsurf/; revision=1362
2004-11-16 23:30:31 +00:00
Richard Wilson
9512022595 [project @ 2004-11-14 21:07:55 by rjw]
Fix for toolbar sub-menu closing on Adjust selection.

svn path=/import/netsurf/; revision=1361
2004-11-14 21:07:55 +00:00