Commit Graph

66 Commits

Author SHA1 Message Date
John Mark Bell
d09d540fff Add missing return.
svn path=/trunk/netsurf/; revision=7635
2009-05-29 23:02:59 +00:00
John Mark Bell
e240c200d5 Avoid potentially unsafe writes through a const pointer.
svn path=/trunk/netsurf/; revision=6974
2009-03-28 19:59:46 +00:00
Adrian Lees
912adb285d Updated URLs in default hotlist
svn path=/trunk/netsurf/; revision=6011
2009-01-10 00:34:56 +00:00
John Tytgat
c40fc354b3 - Teached ro_gui_set_icon_string() and ro_gui_get_icon_string() about the difference between direct and indirect icons.
- ro_gui_get_icon_string(): 
    - Constify return value of ro_gui_get_icon_string() as you really shouldn't change its contents via this pointer.
    - Enfore NUL string termination as return value (instead of other control char termination) 
- Merged ro_gui_set_icon_string_le() into ro_gui_set_icon_string() by adding ro_gui_set_icon_string() and extra to_utf8 parameter.
- ro_gui_strncmp(): added

svn path=/trunk/netsurf/; revision=4907
2008-08-05 01:23:04 +00:00
John Tytgat
5f6c2cbff7 - Compiler warning squash
- Changed a lineending \n\r -> \n for a couple of files.
- More code style conformance.

svn path=/trunk/netsurf/; revision=4762
2008-07-26 22:29:15 +00:00
Vincent Sanders
2f864eeecc Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text
svn path=/trunk/netsurf/; revision=3486
2007-08-08 16:16:03 +00:00
Daniel Silverstone
6807b4208a Remove the netsurf/ from the include paths and rationalise use of <> vs "" in includes
NetSurf includes are now done with ""s and other system includes with <>s as C intended.
The scandeps tool has been updated to only look for ""ed includes, and to verify that the
files exist in the tree before adding them to the dependency lines. The depend rule has
therefore been augmented to make sure the autogenerated files are built before it is run.

This is untested under self-hosted RISC OS builds. All else tested and works.


svn path=/trunk/netsurf/; revision=3307
2007-05-30 22:39:54 +00:00
Rob Kendrick
6bcae05b66 Tweak default hotlist entries to be more up-to-date
svn path=/trunk/netsurf/; revision=3299
2007-05-21 16:02:42 +00:00
Michael Drake
ba23e4b693 Update project URL.
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
Richard Wilson
00d74fdd2d Allow the viewing of the entire SSL certificate chain.
svn path=/trunk/netsurf/; revision=2755
2006-07-16 00:21:15 +00:00
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
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
c09eb457df Unify information databases
svn path=/trunk/netsurf/; revision=2519
2006-04-09 23:21:13 +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
80abcd08f9 [project @ 2006-01-06 12:59:29 by rjw]
Create various extra NetSurf links if no Hotlist is present.

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

svn path=/import/netsurf/; revision=1988
2006-01-06 02:56:00 +00:00
Richard Wilson
442f0e2a2c [project @ 2005-12-31 04:36:24 by rjw]
Read data from url_store, use new wimp_event system.

svn path=/import/netsurf/; revision=1913
2005-12-31 04:36:24 +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
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
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
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
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
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
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
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
2601897638 [project @ 2004-11-03 17:57:39 by rjw]
Hotlist entries are correctly redrawn when renamed

svn path=/import/netsurf/; revision=1340
2004-11-03 17:57:39 +00:00
Richard Wilson
1fbcdd14d5 [project @ 2004-11-02 23:23:07 by rjw]
Fix for recent GIF decoding bug. Rectangular pixel mode-friendly sprites for hotlist. Slight change to history image size to please Tinct. Support for foreground and background image quality settings. Support for error diffusion and bi-linear filtering (Tinct still requires some further work)

svn path=/import/netsurf/; revision=1336
2004-11-02 23:23:07 +00:00
Richard Wilson
403f12872d [project @ 2004-10-04 23:54:42 by rjw]
Moved GIF file reading to image/, optimisation of plotting for GIFs, JNGs, PNGs and JPEGs, initial work for toolbar customisation. Possibly some other things too.

svn path=/import/netsurf/; revision=1301
2004-10-04 23:54:42 +00:00
John Mark Bell
49ce807e3c [project @ 2004-10-01 21:31:55 by jmb]
A somewhat better implementation of referrers which no longer sends the referer if the URL schemes don't match.

Things to do:
1) Preservation of referer across redirects (see comment in browser.c:284)
2) GUI templates/code for configuration of referer sending (simple on/off toggle only)
3) Make referer sending when fetching objects/stylesheets for a page pay attention to option_send_referer?
4) Handle the case where the referer is in the form of http://moo:foo@mysite.com/ (ie the login details embedded in the referer - not good).

svn path=/import/netsurf/; revision=1297
2004-10-01 21:31:55 +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 Mark Bell
c9bd6fa9fc [project @ 2004-08-09 16:11:58 by jmb]
Rework the interface of the URL handing module to allow for multiple error types.
Modify save_complete URL rewriting appropriately.

svn path=/import/netsurf/; revision=1206
2004-08-09 16:11:58 +00:00
Richard Wilson
33937fe2e5 [project @ 2004-08-05 19:27:31 by rjw]
Fix for hotlist toolbar not being updated for directory double clicks. Fix for OS3.7 buffered redraw error masking. Fix for error reporting stopping functionality.

svn path=/import/netsurf/; revision=1181
2004-08-05 19:27:31 +00:00
James Bursa
999ded28b8 [project @ 2004-07-30 18:35:31 by bursa]
Fix hotlist loading crash.

svn path=/import/netsurf/; revision=1166
2004-07-30 18:35:31 +00:00
James Bursa
f2ebc60ef0 [project @ 2004-07-29 11:40:48 by bursa]
Rewrite saving to use libxml2. Clean up and simplify loading.

svn path=/import/netsurf/; revision=1162
2004-07-29 11:40:48 +00:00
James Bursa
3244e3440d [project @ 2004-07-28 22:23:34 by bursa]
Fix double-free, and read from Choices: instead of Choices$Write.

svn path=/import/netsurf/; revision=1155
2004-07-28 22:23:34 +00:00
Richard Wilson
456077353c [project @ 2004-07-26 22:23:40 by rjw]
Hotlist toolbar icon shading. Fix for GIF animation artifacts under certain conditions.

svn path=/import/netsurf/; revision=1151
2004-07-26 22:23:40 +00:00
Richard Wilson
b0fa41bb11 [project @ 2004-07-25 22:47:54 by rjw]
Fix for fix for broken hotlist loading. Removed debug comments from mng.c

svn path=/import/netsurf/; revision=1148
2004-07-25 22:47:54 +00:00
Richard Wilson
9ff81cb0ee [project @ 2004-07-25 21:45:37 by rjw]
Fix for broken hotlist loading.

svn path=/import/netsurf/; revision=1147
2004-07-25 21:45:37 +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
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
8b0aaef01d [project @ 2004-07-16 16:45:42 by rjw]
Fix for missing parameters.

svn path=/import/netsurf/; revision=1082
2004-07-16 16:45:42 +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
99d1c18252 [project @ 2004-07-16 00:05:31 by rjw]
Updates to the interactive help text to reflect current interface. Removed development code so the hotlist can be saved.

svn path=/import/netsurf/; revision=1080
2004-07-16 00:05:32 +00:00
Richard Wilson
2858f0b685 [project @ 2004-07-15 23:58:08 by rjw]
Hotlist loading now uses libxml. Hotlist loading supports the !Browse file format.

svn path=/import/netsurf/; revision=1079
2004-07-15 23:58:08 +00:00
Richard Wilson
eb8f6921f5 [project @ 2004-07-11 23:14:24 by rjw]
Hotlist folder/entry creation.

svn path=/import/netsurf/; revision=1072
2004-07-11 23:14:24 +00:00
Richard Wilson
c273d17ae5 [project @ 2004-07-09 21:22:03 by rjw]
Fix for content-type auto updating

svn path=/import/netsurf/; revision=1065
2004-07-09 21:22:03 +00:00
Richard Wilson
5c804fe3b2 [project @ 2004-07-09 21:03:26 by rjw]
Various minor GUI fixes

svn path=/import/netsurf/; revision=1064
2004-07-09 21:03:26 +00:00
Richard Wilson
962b3dd828 [project @ 2004-07-09 17:03:34 by rjw]
Tidier hotlist code. URL normalisation. Redraw uses Tinct.

svn path=/import/netsurf/; revision=1063
2004-07-09 17:03:35 +00:00
Richard Wilson
e387d5e34a [project @ 2004-07-08 22:05:35 by rjw]
Lose compiler warnings. Fix for dragging hotlist item to itself failing. Initial work on adding/editing entries.

svn path=/import/netsurf/; revision=1061
2004-07-08 22:05:35 +00:00