Commit Graph

427 Commits

Author SHA1 Message Date
John Mark Bell
f629a4f00f Revert hack around broken pipe (not caching fetch handles used for SSL
connections).
Ignore SIGPIPE completely as nothing other than OpenSSL is expected to 
generate it.

svn path=/trunk/netsurf/; revision=3145
2007-01-18 01:26:58 +00:00
John Mark Bell
8b7d6e67f9 Improve signal handling. This should put an end to silent exits.
svn path=/trunk/netsurf/; revision=3132
2007-01-02 00:13:02 +00:00
James Bursa
3d09fed0af Display an error box when exiting due to a SIGFPE or SIGABRT.
svn path=/trunk/netsurf/; revision=3127
2006-12-31 21:04:14 +00:00
Richard Wilson
d18f49f004 Guard against using invalid data.
svn path=/trunk/netsurf/; revision=3099
2006-12-03 18:17:56 +00:00
Michael Drake
ba23e4b693 Update project URL.
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
John Mark Bell
2caa96dcc9 Fix attempts to call die() before messages_hash exists:
1) Make hash_* more robust in the face of bad parameters
2) Make messages_* more robust in the face of bad parameters
3) Tidy up gui_init such that localised messages are loaded at the 
   earliest opportunity

svn path=/trunk/netsurf/; revision=2998
2006-10-12 14:00:40 +00:00
John Mark Bell
b5274724ed Fix dataload stupidities
svn path=/trunk/netsurf/; revision=2925
2006-09-07 09:44:50 +00:00
Richard Wilson
1999becb42 Finish event based GUI system transition and begin code cleanup.
svn path=/trunk/netsurf/; revision=2922
2006-09-06 14:44:42 +00:00
Richard Wilson
74fa727509 Experimental new frames code.
svn path=/trunk/netsurf/; revision=2906
2006-09-02 15:52:41 +00:00
Adrian Lees
63631b4ec9 Workaround for later VideoHWSMI versions too; patterned line bug still not fixed
svn path=/trunk/netsurf/; revision=2883
2006-08-22 03:33:05 +00:00
James Bursa
844e6de6a9 Call rufl_dump_state() when a crash occurs.
svn path=/trunk/netsurf/; revision=2850
2006-08-15 04:05:30 +00:00
Adrian Lees
4d8c68583f Save and restore FP registers for APCS compliance
svn path=/trunk/netsurf/; revision=2815
2006-08-06 15:40:02 +00:00
Adrian Lees
748e38ab87 Use desktop font
svn path=/trunk/netsurf/; revision=2778
2006-07-18 01:51:19 +00:00
Adrian Lees
81512fa939 Workaround for A9home crash drawing patterned lines; maybe temporary
svn path=/trunk/netsurf/; revision=2768
2006-07-16 16:52:28 +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
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
0fe0a709ce Join update boxes if possible to decrease rendering time (optimise bouncing bunny testcase.)
svn path=/trunk/netsurf/; revision=2724
2006-07-09 17:38:34 +00:00
Richard Wilson
badad073ec Generate directory listings (fix 1397934)
svn path=/trunk/netsurf/; revision=2719
2006-07-06 00:07:11 +00:00
Richard Wilson
de0c4e2c32 Implement up toolbar icon and menu option.
svn path=/trunk/netsurf/; revision=2705
2006-07-03 21:07:02 +00:00
Richard Wilson
5eb703af73 Allow thumbnail icons to be turned off.
svn path=/trunk/netsurf/; revision=2699
2006-07-03 01:03:07 +00:00
John Mark Bell
9eb3efff78 Make filename_create_directory check if directory already exists
Constify return of filename_request
Make bitmap save code check for filename_request failure
Update ro_gui_view_source to take account of constification

svn path=/trunk/netsurf/; revision=2639
2006-06-20 22:58:36 +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
James Bursa
d94e0749e1 Replace a call to wimp_create_icon() with xwimp_create_icon().
svn path=/trunk/netsurf/; revision=2607
2006-05-24 22:56:46 +00:00
Richard Wilson
c7f77b0165 Finish history cloning.
svn path=/trunk/netsurf/; revision=2547
2006-04-22 18:24:18 +00:00
Richard Wilson
a2465c779f Remove RISC OS dependencies from filename code.
svn path=/trunk/netsurf/; revision=2540
2006-04-21 23:49:52 +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
ef301b8619 Fix URL file loading and add support for file:/// URLs to urldb
Convert file:/... to file:///... (the former isn't a valid URL)

svn path=/trunk/netsurf/; revision=2524
2006-04-12 08:09:27 +00:00
John Mark Bell
c09eb457df Unify information databases
svn path=/trunk/netsurf/; revision=2519
2006-04-09 23:21:13 +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
Adrian Lees
4b03028b51 [project @ 2006-03-24 03:44:33 by adrianl]
Use thumbnails for iconised windows

svn path=/import/netsurf/; revision=2157
2006-03-24 03:44:37 +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
Richard Wilson
60ea34ad48 [project @ 2006-02-26 02:25:19 by rjw]
Add support for ICO files.

svn path=/import/netsurf/; revision=2096
2006-02-26 02:25:19 +00:00
Richard Wilson
da4a9313f1 [project @ 2006-02-25 18:50:34 by rjw]
Support for BMP files

svn path=/import/netsurf/; revision=2095
2006-02-25 18:51:51 +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
e7810f25bf [project @ 2006-02-10 20:44:04 by adrianl]
Simplify code

svn path=/import/netsurf/; revision=2069
2006-02-10 20:44:04 +00:00
Adrian Lees
9f0f47cff7 [project @ 2006-02-10 18:10:09 by adrianl]
Improved reporting of startup errors

svn path=/import/netsurf/; revision=2068
2006-02-10 18:10:09 +00:00
Adrian Lees
647f7d110c [project @ 2006-02-09 00:43:32 by adrianl]
Disable trapping of FP underflows (raised erroneously by FPEv4.09-4.11)

svn path=/import/netsurf/; revision=2066
2006-02-09 00:43:32 +00:00
Adrian Lees
8823544009 [project @ 2006-02-03 21:20:43 by adrianl]
Tidy up ro_gui_screen_size and remember screen properties

svn path=/import/netsurf/; revision=2054
2006-02-03 21:20:43 +00:00
Richard Wilson
655eaf25ae [project @ 2006-01-25 02:43:07 by rjw]
Language configuration tool

svn path=/import/netsurf/; revision=2038
2006-01-25 02:43:07 +00:00
Richard Wilson
26e7a21863 [project @ 2006-01-18 00:54:27 by rjw]
Tidy up code to use generic url<->path functions.

svn path=/import/netsurf/; revision=2022
2006-01-18 00:54:27 +00:00
Richard Wilson
08ca6a9ae4 [project @ 2006-01-09 00:12:09 by rjw]
Begin moving message routing to new code. Implement Adjust-click close behaviour for local files.

svn path=/import/netsurf/; revision=2019
2006-01-09 00:12:09 +00:00
Richard Wilson
97950c2033 [project @ 2006-01-08 20:09:05 by rjw]
View source on local files now shows the actual file. Use the DataOpen protocol rather than changing the filetype.

svn path=/import/netsurf/; revision=2018
2006-01-08 20:09:05 +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
3ebf60d9fc [project @ 2006-01-06 21:25:34 by rjw]
Simplify code and make tree windows defined in the templates.

svn path=/import/netsurf/; revision=1999
2006-01-06 21:25:34 +00:00
Richard Wilson
eddf11ba5c [project @ 2006-01-06 13:27:15 by rjw]
Improve the dragging of URL files into the hotlist.

svn path=/import/netsurf/; revision=1993
2006-01-06 13:27:15 +00:00
John Mark Bell
71a9ffa7db [project @ 2006-01-06 00:57:01 by jmb]
Handle previous signal handler claimants correctly

svn path=/import/netsurf/; revision=1987
2006-01-06 00:57:01 +00:00
Richard Wilson
fbed705284 [project @ 2006-01-02 05:21:57 by rjw]
Use library sprite loading.

svn path=/import/netsurf/; revision=1943
2006-01-02 05:21:57 +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
5dff5b7a3c [project @ 2006-01-01 13:58:31 by rjw]
Re-introduce clicking in URL completion window

svn path=/import/netsurf/; revision=1925
2006-01-01 13:58:31 +00:00
Richard Wilson
f11b834daf [project @ 2005-12-31 04:38:27 by rjw]
Don't buffer any events. Use new wimp_event system.

svn path=/import/netsurf/; revision=1915
2005-12-31 04:38:27 +00:00
Adrian Lees
1efd4796a2 [project @ 2005-12-10 14:31:32 by adrianl]
ArtWorks support

svn path=/import/netsurf/; revision=1891
2005-12-10 14:31:33 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Richard Wilson
010039686d [project @ 2004-11-04 01:19:46 by rjw]
Toolbar separator icons are now displayed.

svn path=/import/netsurf/; revision=1342
2004-11-04 01:19:46 +00:00
James Bursa
5fd222bd53 [project @ 2004-11-03 23:27:15 by bursa]
Fix printing and improve error handling during printing.

svn path=/import/netsurf/; revision=1341
2004-11-03 23:27:15 +00:00
Richard Wilson
3276fe3ed8 [project @ 2004-11-03 02:29:01 by rjw]
Changing screenmodes causes font handles to be refound.

svn path=/import/netsurf/; revision=1338
2004-11-03 02:29:01 +00:00
John Mark Bell
fff5f231ed [project @ 2004-10-17 22:13:34 by jmb]
Lose hard-coded stylesheet URLs.

svn path=/import/netsurf/; revision=1323
2004-10-17 22:13:35 +00:00
John Mark Bell
0d6b3576dc [project @ 2004-10-01 21:33:20 by jmb]
Oops, missed this from last checkin.

svn path=/import/netsurf/; revision=1298
2004-10-01 21:33:20 +00:00
John Mark Bell
39ad1632eb [project @ 2004-10-01 00:06:49 by jmb]
Send HTTP referer header. This is _only_ sent when a link is clicked (theoretically, at least).

svn path=/import/netsurf/; revision=1296
2004-10-01 00:06:49 +00:00
John Mark Bell
4a37e17037 [project @ 2004-09-29 20:13:42 by jmb]
Write heuristically-generated font names to choices file - should speed up program load a bit.
Heuristic is re-run each time the choices file is saved.

svn path=/import/netsurf/; revision=1294
2004-09-29 20:13:42 +00:00
John Mark Bell
5802723281 [project @ 2004-09-27 05:21:00 by jmb]
Improve !Boot file and support protocol fallback positions.

svn path=/import/netsurf/; revision=1287
2004-09-27 05:21:00 +00:00
John Mark Bell
e8c7058873 [project @ 2004-09-24 23:52:40 by jmb]
German translation support (needs templates et al.)

svn path=/import/netsurf/; revision=1282
2004-09-24 23:52:40 +00:00
John Mark Bell
c358b80cc5 [project @ 2004-09-13 23:56:18 by jmb]
Make fonts user-configurable.
This loses font-style support, though it shouldn't be hard to put it back again.

svn path=/import/netsurf/; revision=1274
2004-09-13 23:56:18 +00:00
Richard Wilson
52ac79872c [project @ 2004-09-07 23:14:31 by rjw]
Norcroft fix and update relating to CVS filename change

svn path=/import/netsurf/; revision=1272
2004-09-07 23:14:31 +00:00
Richard Wilson
bf57d852ae [project @ 2004-08-30 21:03:48 by rjw]
Reworking of themes and toolbars.

svn path=/import/netsurf/; revision=1254
2004-08-30 21:03:48 +00:00
John Tytgat
f34a485dc6 [project @ 2004-08-26 22:58:19 by joty]
warn_user() : made warn_buffer static local.
die() : a too long error message is now correctly NUL terminated; got rid of static variable.

svn path=/import/netsurf/; revision=1251
2004-08-26 22:58:19 +00:00
John Tytgat
402c4ca66c [project @ 2004-08-14 14:30:10 by joty]
Removed a chunk of Norcroft compiler warnings.  Re-ident some pieces.

svn path=/import/netsurf/; revision=1231
2004-08-14 14:30:12 +00:00
John Mark Bell
d7627ceceb [project @ 2004-08-13 00:55:59 by jmb]
Rewrite of plugin handling. This is now much nicer than before although it has about the same amount of functionality.
Note: This is now configurable via an option (defaults to OFF)
This has only really been tested with the Flash plugin and seems to work reasonably.

svn path=/import/netsurf/; revision=1216
2004-08-13 00:55:59 +00:00
John Mark Bell
45b241906e [project @ 2004-08-11 21:36:30 by jmb]
Make message handling more robust

svn path=/import/netsurf/; revision=1212
2004-08-11 21:36:30 +00:00
John Mark Bell
dba4904ddb [project @ 2004-08-11 16:38:04 by jmb]
Add gui and plugin sources missed from previous checkin

svn path=/import/netsurf/; revision=1210
2004-08-11 16:38:04 +00:00
John Mark Bell
91e6c7c65b [project @ 2004-08-09 09:05:34 by jmb]
Ignore dataloadack unless we actually expected it

svn path=/import/netsurf/; revision=1205
2004-08-09 09:05:34 +00:00
John Mark Bell
c992f6252c [project @ 2004-08-09 06:28:56 by jmb]
Printing support.
Some issues remain - see the todo list at the top of print.c for more details

svn path=/import/netsurf/; revision=1199
2004-08-09 06:28:57 +00:00
Richard Wilson
afa046e1be [project @ 2004-08-08 20:16:17 by rjw]
Internal changes for theme handling. Tinct is now an external resource.

svn path=/import/netsurf/; revision=1196
2004-08-08 20:16:17 +00:00
John Mark Bell
db2b05cfae [project @ 2004-08-01 23:58:26 by jmb]
Allow dragging in of CSS files

svn path=/import/netsurf/; revision=1176
2004-08-01 23:58:26 +00:00
John Mark Bell
a6eca8d3e8 [project @ 2004-07-31 12:56:25 by jmb]
Prevent UnixLib munging suffixes

svn path=/import/netsurf/; revision=1169
2004-07-31 12:56:25 +00:00
James Bursa
54d25de371 [project @ 2004-07-30 16:16:07 by bursa]
Implement content_quit() and ro_gui_window_quit() to free resources on quit.

svn path=/import/netsurf/; revision=1164
2004-07-30 16:16:07 +00:00
James Bursa
0f7e16c04f [project @ 2004-07-28 23:07:52 by bursa]
Implement gui_init2() and move RISC OS-specific code in main() to it. Use intro page if option_homepage_url is "".

svn path=/import/netsurf/; revision=1158
2004-07-28 23:07:52 +00:00
Andrew Timmins
b59616c9ab [project @ 2004-07-26 20:13:45 by atimmins]
Updated to support new config options (homepage, open on startup).  Bug fixes with new config pane window (sticky selected radio icon bug!).  Also includes up-to-date French templates.

svn path=/import/netsurf/; revision=1150
2004-07-26 20:13:45 +00:00
Richard Wilson
de4d151285 [project @ 2004-07-25 20:45:15 by rjw]
Support for MNGs and JNGs. Bug fix for help token regression. Minor GUI fixes.

svn path=/import/netsurf/; revision=1144
2004-07-25 20:45:16 +00:00
Andrew Timmins
b02f6fa9a0 [project @ 2004-07-25 19:25:26 by atimmins]
Updated to support paned config dialog.

svn path=/import/netsurf/; revision=1143
2004-07-25 19:25:26 +00:00
John Mark Bell
45ea97d750 [project @ 2004-07-18 22:58:40 by jmb]
Remove unused variable from gui_init. Correctly apostrophise don't before Chocky complains.

svn path=/import/netsurf/; revision=1101
2004-07-18 22:58:40 +00:00
Andrew Timmins
86f60c4c0a [project @ 2004-07-18 22:21:32 by atimmins]
svn path=/import/netsurf/; revision=1097
2004-07-18 22:21:32 +00:00
James Bursa
58e2d033ec [project @ 2004-07-18 17:38:01 by bursa]
Improve form control interaction code. Replace box_under_area() with simpler box_at_point(). Detect objects for menu once on menu opening. Remove obsolete text selection code.

svn path=/import/netsurf/; revision=1096
2004-07-18 17:38:01 +00:00
James Bursa
f23fd2a094 [project @ 2004-07-17 23:32:08 by bursa]
Rewrite and simplify mouse click handling.

svn path=/import/netsurf/; revision=1094
2004-07-17 23:32:09 +00:00
James Bursa
e4a6e982e5 [project @ 2004-07-17 13:00:38 by bursa]
Simplify gui_window structure. Clean up various parts of the gui code.

svn path=/import/netsurf/; revision=1092
2004-07-17 13:00:38 +00:00
Richard Wilson
abaa8a9093 [project @ 2004-07-16 16:33:44 by rjw]
Various fixes for the GUI. Persistant windows are closed when upon a change of content. Hotlist saves in the same format as !Browse. Neater login window. Support for interactive help from hotlist windows.

svn path=/import/netsurf/; revision=1081
2004-07-16 16:33:45 +00:00
Richard Wilson
2fe0085f53 [project @ 2004-07-13 20:08:53 by rjw]
Adjust click on the iconbar icon opens the hotlist, Shift+Adjust opens the debug window.

svn path=/import/netsurf/; revision=1075
2004-07-13 20:08:53 +00:00
Richard Wilson
6cc16835e0 [project @ 2004-07-08 17:28:56 by rjw]
Save window cancel button implementation. Persistant child window handling.

svn path=/import/netsurf/; revision=1056
2004-07-08 17:28:56 +00:00
Richard Wilson
cfe6cd43dc [project @ 2004-07-07 22:09:26 by rjw]
Minor GUI fixes for hotlist. Hotlist toolbar.

svn path=/import/netsurf/; revision=1054
2004-07-07 22:09:26 +00:00
John Tytgat
a0d511734a [project @ 2004-07-05 20:19:51 by joty]
Using UTF-8 instead of Latin1 encoding.

svn path=/import/netsurf/; revision=1049
2004-07-05 20:19:52 +00:00
Richard Wilson
5db1eae529 [project @ 2004-07-04 18:44:51 by rjw]
Loading/saving of hotlists. Initial work for hotlist menu.

svn path=/import/netsurf/; revision=1046
2004-07-04 18:44:51 +00:00
Richard Wilson
4f664d1559 [project @ 2004-07-04 14:59:29 by rjw]
Futher hotlst development. Minor GUI tweaks.

svn path=/import/netsurf/; revision=1044
2004-07-04 14:59:29 +00:00
Richard Wilson
c499ad907d [project @ 2004-07-03 17:30:27 by rjw]
Further development of the selection and display code.

svn path=/import/netsurf/; revision=1042
2004-07-03 17:30:28 +00:00
Richard Wilson
4da7fcd8f5 [project @ 2004-06-29 23:13:40 by rjw]
Experimental hotlist code

svn path=/import/netsurf/; revision=1030
2004-06-29 23:13:40 +00:00
John Mark Bell
05c46359ba [project @ 2004-06-28 23:57:26 by jmb]
Correct behaviour of unknown URL launching mechanism. the ANT load never occurred.

svn path=/import/netsurf/; revision=1025
2004-06-28 23:57:26 +00:00
James Bursa
a1d73ecd11 [project @ 2004-06-27 23:24:11 by bursa]
Rewritten download window. Now downloads direct to file. New download window gui.

svn path=/import/netsurf/; revision=1020
2004-06-27 23:24:11 +00:00
James Bursa
86206259fe [project @ 2004-06-21 15:25:35 by bursa]
Remove obsolete files and some dead code.

svn path=/import/netsurf/; revision=988
2004-06-21 15:27:56 +00:00
James Bursa
408e042c19 [project @ 2004-06-18 17:03:22 by bursa]
Also warn user if Inet$Resolvers is set but empty.

svn path=/import/netsurf/; revision=978
2004-06-18 17:03:22 +00:00
James Bursa
0efd285302 [project @ 2004-06-11 12:19:56 by bursa]
New "About NetSurf" page, and menu item to open it.

svn path=/import/netsurf/; revision=960
2004-06-11 12:19:57 +00:00
John Mark Bell
bd6ec25190 [project @ 2004-06-10 22:39:56 by jmb]
Compiler warning purge

svn path=/import/netsurf/; revision=954
2004-06-10 22:39:56 +00:00
James Bursa
08177fa581 [project @ 2004-06-10 20:41:26 by bursa]
Add global content list. Better error handling in content code. Improved code documentation. Remove some obsolete functions. Implement debug window listing contents.

svn path=/import/netsurf/; revision=951
2004-06-10 20:41:26 +00:00
James Bursa
d3217d5be0 [project @ 2004-06-09 21:04:45 by bursa]
Log value of Inet$Resolvers.

svn path=/import/netsurf/; revision=943
2004-06-09 21:04:45 +00:00
John Tytgat
ec820df42f [project @ 2004-06-08 21:35:28 by joty]
Buffer overflow checks. Reident.

svn path=/import/netsurf/; revision=937
2004-06-08 21:35:28 +00:00
James Bursa
de6ba3a7aa [project @ 2004-05-25 10:42:28 by bursa]
Remove obsolete gui_window_in_list(), clean up gui_create_browser_window().

svn path=/import/netsurf/; revision=896
2004-05-25 10:42:28 +00:00
James Bursa
6ac57d946b [project @ 2004-05-22 23:04:44 by bursa]
Work on new theme choices dialog.

svn path=/import/netsurf/; revision=889
2004-05-22 23:04:44 +00:00
John Tytgat
9feb8b694c [project @ 2004-05-22 14:38:59 by joty]
gui_gadget_combo() : fix for spurious crash when RISC OS menu gets shown.

svn path=/import/netsurf/; revision=888
2004-05-22 14:38:59 +00:00
John Tytgat
dca6e2370b [project @ 2004-05-22 14:27:03 by joty]
gui_gadget_combo() : small changes.

svn path=/import/netsurf/; revision=887
2004-05-22 14:27:03 +00:00
Richard Wilson
48ace0dd89 [project @ 2004-05-14 19:59:09 by rjw]
Interactive help tokens now fall back to their base key when not available.
Help menu is now fully implemented.
F1 opens the help page.

svn path=/import/netsurf/; revision=864
2004-05-14 19:59:09 +00:00
James Bursa
837d60cc37 [project @ 2004-05-13 14:39:43 by bursa]
Fix URL protocol termination bug (reported by Fred Bambrough). Change from xcalloc to malloc and add error handling.

svn path=/import/netsurf/; revision=859
2004-05-13 14:39:43 +00:00
Richard Wilson
388e8a8a90 [project @ 2004-05-11 23:40:07 by rjw]
Interactive help support.

svn path=/import/netsurf/; revision=853
2004-05-11 23:40:07 +00:00
James Bursa
b148ed230f [project @ 2004-05-08 18:12:36 by bursa]
Move some functions from gui.c to window.c. Simplify and add error handling to gui_window_set_pointer().

svn path=/import/netsurf/; revision=842
2004-05-08 18:12:36 +00:00
James Bursa
24fb50b120 [project @ 2004-05-07 19:14:54 by bursa]
Implement multitasking warning dialog. Warn user if resolvers not set.

svn path=/import/netsurf/; revision=841
2004-05-07 19:14:54 +00:00
James Bursa
bb41604045 [project @ 2004-05-05 16:33:15 by bursa]
Fix some compiler warnings. Ignore size attribute for file inputs.

svn path=/import/netsurf/; revision=828
2004-05-05 16:33:15 +00:00
Richard Wilson
e7da747f5f [project @ 2004-05-04 22:21:37 by rjw]
Revised GUI.

svn path=/import/netsurf/; revision=823
2004-05-04 22:23:44 +00:00
James Bursa
8da6079f6f [project @ 2004-05-03 22:05:40 by bursa]
Implement dragging files into <input type="file" ...>.

svn path=/import/netsurf/; revision=821
2004-05-03 22:05:40 +00:00
John Mark Bell
e42361b684 [project @ 2004-05-02 17:38:29 by jmb]
Move save_complete_init() call to gui_init()

svn path=/import/netsurf/; revision=818
2004-05-02 17:38:29 +00:00
John Mark Bell
8cb321ec78 [project @ 2004-05-02 00:21:40 by jmb]
Minimal fixes to allow compilation with Norcroft

svn path=/import/netsurf/; revision=813
2004-05-02 00:21:41 +00:00
John Mark Bell
f5d8e5856c [project @ 2004-04-13 16:15:23 by jmb]
Move hot spot of caret pointer down.
Tidy up caret pointer sprite

svn path=/import/netsurf/; revision=772
2004-04-13 16:15:23 +00:00
John Mark Bell
d0a3543e72 [project @ 2004-04-12 21:46:08 by jmb]
Add popup tooltip containing URL when mouse is over history window entry

svn path=/import/netsurf/; revision=766
2004-04-12 21:46:08 +00:00
James Bursa
b7c5c93e59 [project @ 2004-04-12 17:43:54 by bursa]
Replace / in docs file names with _.

svn path=/import/netsurf/; revision=757
2004-04-12 17:43:54 +00:00
James Bursa
e90e01cd49 [project @ 2004-04-09 21:06:10 by bursa]
Add FixFonts to attempt to fix common font problem.

svn path=/import/netsurf/; revision=741
2004-04-09 21:06:10 +00:00
John Mark Bell
aed81aa917 [project @ 2004-04-04 18:07:44 by jmb]
Add pointer to containing content struct to box_selection and update box_under_area accordingly
This ensures relative links in frames etc. are url_joined correctly.

svn path=/import/netsurf/; revision=721
2004-04-04 18:07:44 +00:00
John Mark Bell
553dd5b592 [project @ 2004-04-02 23:59:53 by jmb]
Allow files to be dragged into browser windows.

svn path=/import/netsurf/; revision=708
2004-04-02 23:59:53 +00:00
John Mark Bell
a260f648f8 [project @ 2004-04-02 23:12:26 by jmb]
Implement CSS cursor property

svn path=/import/netsurf/; revision=705
2004-04-02 23:12:26 +00:00
John Mark Bell
20454498ed [project @ 2004-04-02 14:31:20 by jmb]
Forgot to increment the number of messages we're interested in.

svn path=/import/netsurf/; revision=700
2004-04-02 14:31:20 +00:00
John Mark Bell
9454b8bca1 [project @ 2004-04-02 00:41:10 by jmb]
Try to use external apps for URI schemes we don't understand (eg mailto:)

svn path=/import/netsurf/; revision=698
2004-04-02 00:41:10 +00:00
John Mark Bell
cda80645f2 [project @ 2004-04-01 00:26:05 by jmb]
Change mouse pointer over page elements

svn path=/import/netsurf/; revision=694
2004-04-01 00:26:05 +00:00
James Bursa
804cd42a34 [project @ 2004-03-30 11:45:48 by bursa]
Reduce frequency of gui_multitask() to improve performance.

svn path=/import/netsurf/; revision=691
2004-03-30 11:45:48 +00:00
James Bursa
776274f4a9 [project @ 2004-03-28 00:29:29 by bursa]
Fix idle polling when events are scheduled.

svn path=/import/netsurf/; revision=684
2004-03-28 00:29:29 +00:00
James Bursa
9a204ed536 [project @ 2004-03-27 00:49:29 by bursa]
Update die() to use an error box.

svn path=/import/netsurf/; revision=673
2004-03-27 00:49:29 +00:00
John Mark Bell
7e922c290f [project @ 2004-03-21 21:32:15 by jmb]
Fix for SparkFS causing problems with uploading zip files.
Map filetypes to mimetype properly.

svn path=/import/netsurf/; revision=646
2004-03-21 21:32:15 +00:00
James Bursa
f962f4301c [project @ 2004-03-21 12:46:56 by bursa]
Implement scheduled callbacks.

svn path=/import/netsurf/; revision=640
2004-03-21 12:46:56 +00:00
James Bursa
5a7d38ea9f [project @ 2004-03-13 13:03:01 by bursa]
Disable clean_cookiejar() due to reliability problems.

svn path=/import/netsurf/; revision=612
2004-03-13 13:03:01 +00:00
James Bursa
fba46de9cb [project @ 2004-03-11 02:19:13 by bursa]
Add source_data to content structure and remove equivalents from individual contents.

svn path=/import/netsurf/; revision=606
2004-03-11 02:19:14 +00:00
James Bursa
b5ba716f15 [project @ 2004-03-09 23:57:19 by bursa]
Process UserMessage etc. immediately instead of queuing (fixes menu warning bug).

svn path=/import/netsurf/; revision=595
2004-03-09 23:57:19 +00:00
James Bursa
7d9bf053b4 [project @ 2004-03-08 00:03:58 by bursa]
Implement Accept-Language option.

svn path=/import/netsurf/; revision=591
2004-03-08 00:03:58 +00:00
John Mark Bell
727db7f3d6 [project @ 2004-03-05 22:15:33 by jmb]
Fix URI file dragging properly.
Fix missing fclose in load()

svn path=/import/netsurf/; revision=587
2004-03-05 22:15:33 +00:00
John Mark Bell
4108f28975 [project @ 2004-03-05 17:08:28 by jmb]
Let's try again...

svn path=/import/netsurf/; revision=586
2004-03-05 17:08:28 +00:00
John Mark Bell
a9e9def7f4 [project @ 2004-03-05 16:55:31 by jmb]
Attempt to fix bad xstrdup.

svn path=/import/netsurf/; revision=585
2004-03-05 16:55:31 +00:00
John Mark Bell
7f1eced1ea [project @ 2004-03-05 16:34:31 by jmb]
Add support for dragging in URI files

svn path=/import/netsurf/; revision=584
2004-03-05 16:34:31 +00:00
John Mark Bell
0bb832d890 [project @ 2004-03-05 13:23:48 by jmb]
Fix memory leak when fgets fails.
Add debugging round early part of gui_init

svn path=/import/netsurf/; revision=583
2004-03-05 13:23:48 +00:00
John Mark Bell
0ea3e074f6 [project @ 2004-03-04 23:15:17 by jmb]
Add support for double clicking on / dragging in URL files.

svn path=/import/netsurf/; revision=582
2004-03-04 23:15:17 +00:00
James Bursa
d5bcedd3de [project @ 2004-03-03 00:19:47 by bursa]
Handle DataLoads to iconbar, canonicalise path when loading files.

svn path=/import/netsurf/; revision=579
2004-03-03 00:19:47 +00:00
James Bursa
1c85bf0429 [project @ 2004-03-02 18:02:17 by bursa]
Add new url functions and modify to use them.

svn path=/import/netsurf/; revision=578
2004-03-02 18:02:41 +00:00
James Bursa
7f68e012cc [project @ 2004-02-27 17:45:19 by bursa]
Move English text to Messages file for translation.

svn path=/import/netsurf/; revision=576
2004-02-27 17:45:19 +00:00
James Bursa
37cf580743 [project @ 2004-02-27 14:09:15 by bursa]
Implement option_language.

svn path=/import/netsurf/; revision=574
2004-02-27 14:09:15 +00:00
James Bursa
318869e90e [project @ 2004-02-26 00:44:42 by bursa]
Implement drag saving of drawfiles and clean up drag/drop/save code.

svn path=/import/netsurf/; revision=568
2004-02-26 00:44:42 +00:00
James Bursa
7897a98a4c [project @ 2004-02-25 15:12:57 by bursa]
Implement scaling; rewrite desktop/browser; add riscos/thumbnail; rewrite history.

svn path=/import/netsurf/; revision=566
2004-02-25 15:12:58 +00:00
James Bursa
deaaa4a753 [project @ 2004-02-23 00:25:09 by bursa]
Workaround for window closing crash.

svn path=/import/netsurf/; revision=565
2004-02-23 00:25:09 +00:00
James Bursa
1319ff78c8 [project @ 2004-02-13 16:09:12 by bursa]
Clean up and rewrite options code.

svn path=/import/netsurf/; revision=536
2004-02-13 16:09:12 +00:00
John Mark Bell
f53642c94b [project @ 2004-01-31 19:14:06 by jmb]
Fix positioning of caret in URL bar

svn path=/import/netsurf/; revision=520
2004-01-31 19:14:06 +00:00
James Bursa
ec933cf485 [project @ 2004-01-28 18:37:56 by bursa]
Clean up gui_poll() / gui_multitask() mess, add hourglass.

svn path=/import/netsurf/; revision=513
2004-01-28 18:37:56 +00:00
John Mark Bell
6b367e0795 [project @ 2004-01-20 20:13:43 by jmb]
View source for CSS files.

svn path=/import/netsurf/; revision=492
2004-01-20 20:13:43 +00:00
John Mark Bell
62245d13ec [project @ 2004-01-05 02:10:59 by jmb]
Add ability to turn off browser features in build.
This may be useful when hunting down bugs.

svn path=/import/netsurf/; revision=480
2004-01-05 02:10:59 +00:00
John Mark Bell
3d7c7a7050 [project @ 2003-12-29 22:50:43 by jmb]
Add some debugging.

svn path=/import/netsurf/; revision=470
2003-12-29 22:50:43 +00:00
John Mark Bell
b0b2ec850f [project @ 2003-12-28 02:35:46 by jmb]
Remove expired cookies from the cookiejar.
Cookies are removed every time a window is closed and when NetSurf is
quit.
/me slaps libcurl for not doing it itself.

Make cookie_create() read the cookie jar location from the messages file.

svn path=/import/netsurf/; revision=463
2003-12-28 02:35:46 +00:00
John Mark Bell
9ec88eb91f [project @ 2003-12-27 23:49:31 by jmb]
Add about:cookies.
Tidy special URL handling code (it's now been moved into url_join in
utils.c).

svn path=/import/netsurf/; revision=461
2003-12-27 23:49:31 +00:00
John Mark Bell
fe1e4efac2 [project @ 2003-12-27 04:50:02 by jmb]
Add rudimentary ANT URL protocol support

svn path=/import/netsurf/; revision=458
2003-12-27 04:50:02 +00:00
John Mark Bell
59fb052818 [project @ 2003-12-27 00:11:57 by jmb]
Tidy code to reduce compiler warnings. htmlredraw.c and plugin.c produce
the most now. Hopefully I haven't broken anything ;)

svn path=/import/netsurf/; revision=451
2003-12-27 00:11:57 +00:00
John Mark Bell
93dfe6dfe8 [project @ 2003-12-26 22:12:39 by jmb]
Move constant global data into a new file. This makes things a bit
tidier.
Add help: and home: shortcut URLs.

svn path=/import/netsurf/; revision=449
2003-12-26 22:12:39 +00:00