1
0
mirror of https://github.com/netsurf-browser/netsurf synced 2024-12-22 12:12:35 +03:00
Commit Graph

1550 Commits

Author SHA1 Message Date
John Mark Bell
23fb72ea6b The core code has always assumed a locale of "C".
Do not change the locale globally, else things will break in weird and 
wonderful ways.

Introduce utils/locale.[ch], which provide locale-specific wrappers for various 
functions (currently just the <ctype.h> ones).

Fix up the few places I can see that actually require that the underlying 
locale is paid attention to.

Some notes:

  1) The GTK frontend code has not been touched. It is possible that reading of 
     numeric values (e.g. from the preferences dialogue) may break with this 
     change, particularly in locales that use something other than '.' as their
     decimal separator.
  2) The search code is left unchanged (i.e. assuming a locale of "C"). 
     This may break case insensitive matching of non-ASCII characters. 
     I doubt that ever actually worked, anyway. In future, it should use
     Unicode case conversion to achieve the same effect.
  3) The text input handling in the core makes use of isspace() to detect
     word boundaries. This is fine for western languages (even in the C locale,
     which it's currently assuming). It will, however, break for CJK et. al. 
     (this has always been the case, rather than being a new issue)
  4) text-transform uses locale-specific variants of to{lower,upper}. In future
     this should probably be performing Unicode case conversion. This is the
     only part of the core code that makes use of locale information.

In future, if you require locale-specific behaviour, do the following:

  setlocale(LC_<whatever>, "");
  <your operation(s) here>
  setlocale(LC_<whatever>, "C");

  The first setlocale will change the current locale to the native environment.
  The second setlocale will reset the current locale to "C".
  Any value other than "" or "C" is probably a bug, unless there's a really
  good reason for it.

In the long term, it is expected that all locale-dependent code will reside in 
platform frontends -- the core being wholly locale agnostic (though assuming 
"C" for things like decimal separators).


svn path=/trunk/netsurf/; revision=4153
2008-05-13 14:37:44 +00:00
John Mark Bell
dc85ddb0a8 Launch redirects to unsupported URLs in other applications.
svn path=/trunk/netsurf/; revision=4098
2008-04-19 11:07:42 +00:00
Michael Drake
a2616bbfe7 Fix makefile for save text. Remove redundant ifdef.
svn path=/trunk/netsurf/; revision=4096
2008-04-13 22:23:04 +00:00
Rob Kendrick
59641def82 const fixes in plotters and history core
svn path=/trunk/netsurf/; revision=4083
2008-04-07 11:15:09 +00:00
John Tytgat
0d39c69763 - riscos/gui.c(path_to_url): escape the characters which need to be escaped when converting the host path to file: URL.
- utils/{url.c,url.h}(url_escape):
  * added parameter 'toskip' to specify number of input characters which need to be skipped in the escape process. This avoids extra malloc buffer juggling.
  * added parameter 'escexceptions' to specify the characters which need to be excluded from the escape process.

Solves SF tracker ID 1910169.
Note that when discname in path contains '/' characters (case: "file:///Sunfish#192.168.0.50::/home/joty.$/jo.html") or there is no discname specified at all (case "file:///HostFS:$/jo.htm"), you 
need an UnixLib fix as in http://www.riscos.info/websvn/listing.php?repname=gccsdk&path=%2Ftrunk%2Fgcc4%2F&rev=3395&sc=1

svn path=/trunk/netsurf/; revision=4069
2008-04-02 00:43:51 +00:00
John Tytgat
4b7c105afc Remove useless private UnixLib include.
svn path=/trunk/netsurf/; revision=4068
2008-04-01 19:44:57 +00:00
Michael Drake
62ca5e3e11 Tidy up.
svn path=/trunk/netsurf/; revision=4064
2008-03-31 18:59:23 +00:00
Michael Drake
5def4f5e0c Fix formatting of copied or saved text selections.
svn path=/trunk/netsurf/; revision=4063
2008-03-31 18:04:36 +00:00
Adrian Lees
aefa03aed9 Save non-opaque images with a proper mask/full alpha channel
svn path=/trunk/netsurf/; revision=4047
2008-03-24 01:35:13 +00:00
Adrian Lees
175395b52d Tidy up when drag save aborted (fixes assert when dragging URL to same window)
svn path=/trunk/netsurf/; revision=4043
2008-03-23 06:07:40 +00:00
Adrian Lees
084bcd631a Ensure 'tracking window' defined when starting selection
svn path=/trunk/netsurf/; revision=4042
2008-03-23 06:06:44 +00:00
Adrian Lees
2fd567590c Added missing initialiser
svn path=/trunk/netsurf/; revision=4041
2008-03-23 06:05:40 +00:00
John Tytgat
0588417b3c Add GCCSDK 4 support (cross-compile, static ELF only atm); Ignore codedocs directory during 'svn status'.
svn path=/trunk/netsurf/; revision=4031
2008-03-22 00:49:56 +00:00
Michael Drake
9d3b7b43fd Update status bar when standalone images are done.
svn path=/trunk/netsurf/; revision=3917
2008-03-10 12:41:41 +00:00
John Tytgat
79022d8ec2 Foresee OSLib 7 and pre-OSLib 7 compatibility
svn path=/trunk/netsurf/; revision=3913
2008-03-10 00:51:51 +00:00
John Tytgat
b79b0dbd82 Avoid rendering using random buffer data when content is locked. In such cases we leave the window area as is.
svn path=/trunk/netsurf/; revision=3912
2008-03-10 00:19:11 +00:00
Michael Drake
bae61d9224 Periodically reflow the page while fetching a page's objects. Make buffer all rendering default.
svn path=/trunk/netsurf/; revision=3874
2008-02-29 23:03:26 +00:00
John Mark Bell
ad6fcea6b0 Add url_fragment to extract fragment from URL
Optionally allow url_compare to ignore fragments in comparison
Fix handling of url_compare result in a few places
Fix redirects which contain fragments in the Location header

svn path=/trunk/netsurf/; revision=3826
2008-02-03 12:04:48 +00:00
John Mark Bell
78d194cb77 Rework handling of HTTP redirects -- we now count the number of redirects followed for a given item and abort if a fixed limit is reached. This fixes sites which have pages that redirect to themselves.
Redirect handling is now transparent to clients of fetchcache.

The new scheme works as follows:

1) Request content for URL (fetchcache()
2) Start fetch of content (fetchcache_go()
3) If no redirect, continue through LOADING, READY, DONE etc. states as before
   If redirect, receive NEWPTR for each redirect that occurs, then continue
   through LOADING, READY, DONE etc. states as before.

The upshot of this is that redirects result in extra contents being created. It also means that, until LOADING has been received, the content (and thus the URL being fetched) may change. Therefore, fetchcache clients should expect to have to deal with transient data prior to LOADING occurring.

As a necessary side-effect of this, the HTML object URLs and CSS @import URLs are no longer stored alongside the relevant contents. These URLs can be accessed by interrogating the url member of struct content anyway, so it was a rather redundant scheme before.

svn path=/trunk/netsurf/; revision=3787
2008-01-28 01:35:00 +00:00
Michael Drake
e5cadb5afe Update to real new welcome page path.
svn path=/trunk/netsurf/; revision=3735
2008-01-19 23:42:26 +00:00
John Mark Bell
23053f25da Oops; missed default homepage
svn path=/trunk/netsurf/; revision=3733
2008-01-19 23:30:30 +00:00
John Mark Bell
ed3b59964d Fix menu entries
svn path=/trunk/netsurf/; revision=3732
2008-01-19 23:29:28 +00:00
Michael Drake
db79ba2042 Update some paths. (Not all done.)
svn path=/trunk/netsurf/; revision=3730
2008-01-19 23:22:21 +00:00
James Bursa
5fdbe77e3e Implement ro_save_draw_path() to enable Draw export of SVGs.
svn path=/trunk/netsurf/; revision=3666
2007-12-11 04:07:35 +00:00
James Bursa
4525ffbd91 Plug a memory leak in ro_plot_path().
svn path=/trunk/netsurf/; revision=3665
2007-12-11 04:06:49 +00:00
James Bursa
9125ffa7d8 Fix warnings and remove some logging.
svn path=/trunk/netsurf/; revision=3664
2007-12-11 02:48:04 +00:00
James Bursa
87a4dc07fd Clear background when redrawing for all except HTML.
svn path=/trunk/netsurf/; revision=3662
2007-12-11 02:42:11 +00:00
Michael Drake
d13ac3b066 Increase default font size and line spacing.
svn path=/trunk/netsurf/; revision=3660
2007-12-09 11:13:25 +00:00
James Bursa
f386520ff2 Add empty path plotters to stop crashes.
svn path=/trunk/netsurf/; revision=3653
2007-11-29 05:50:21 +00:00
John Mark Bell
6eeeee1778 Ignore SIGPIPE on all platforms, not just RISC OS.
svn path=/trunk/netsurf/; revision=3638
2007-10-31 15:39:55 +00:00
Adrian Lees
0e8a03dc36 Fix recursion when search string is pure wildcard
svn path=/trunk/netsurf/; revision=3633
2007-10-15 22:48:24 +00:00
Richard Wilson
08ea9e706b Allow interactive help to be turned off (implement 1793020)
svn path=/trunk/netsurf/; revision=3631
2007-10-10 21:22:36 +00:00
Richard Wilson
693051471b Check the RAM sprite pool before the ROM sprite pool (fix 1781184)
svn path=/trunk/netsurf/; revision=3628
2007-10-09 17:49:48 +00:00
John Mark Bell
b82546a39f Probably fix crash on clicking in url completion dialogue.
URL completion really needs revisiting, as it's full of side effects and has weird and wonderful interactions with other parts of the system.

svn path=/trunk/netsurf/; revision=3535
2007-08-29 00:27:52 +00:00
James Bursa
21db9de5f8 Make F9 dump box tree to an editor for easier debugging.
svn path=/trunk/netsurf/; revision=3529
2007-08-20 02:39:49 +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
James Bursa
01cc865e02 Improve error message.
svn path=/trunk/netsurf/; revision=3480
2007-08-07 04:01:06 +00:00
James Bursa
5fa0e4a71f Add path plotter (for SVG). Requires other implementations.
svn path=/trunk/netsurf/; revision=3479
2007-08-07 04:00:17 +00:00
James Bursa
07c54283e3 Move window scaling from platform-specific code to desktop/browser.c. Modify gtk gui to handle scaling in the same way as RO.
svn path=/trunk/netsurf/; revision=3478
2007-08-07 03:55:18 +00:00
John Mark Bell
c1531c449f Fix string length measurement for strings in icons; if the string came from the templates file, it will be LF terminated, not NUL terminated. Therefore, use a strlen variant that terminates on control characters, rather than just \0. This prevents reading memory beyond the end of the string.
svn path=/trunk/netsurf/; revision=3475
2007-08-04 11:47:40 +00:00
Adrian Lees
86d0dd8563 Workaround for AWRenderer clipping issue (bug ) and improved rendering performance
svn path=/trunk/netsurf/; revision=3456
2007-07-22 04:15:27 +00:00
Michael Drake
d2c3d22f52 Change ArtWorks file MIME type to "image/x-artworks".
svn path=/trunk/netsurf/; revision=3449
2007-07-21 00:20:04 +00:00
Adrian Lees
84035a2a1d Use proper background colour for AW files using transparency
svn path=/trunk/netsurf/; revision=3447
2007-07-20 23:51:55 +00:00
James Bursa
895c2e2896 Remove dead code at the end of ro_gui_default_language().
svn path=/trunk/netsurf/; revision=3417
2007-07-15 17:20:25 +00:00
John Mark Bell
1ded087c6a Support dataloading of SVG files
Add internal filetype<->mimetype mapping for SVG files

svn path=/trunk/netsurf/; revision=3407
2007-07-13 08:25:34 +00:00
James Bursa
decb20da52 Add URL file (with the original URL) and Inventory file (listing URLs of objects) to Full Saves.
svn path=/trunk/netsurf/; revision=3383
2007-07-05 04:29:09 +00:00
Adrian Lees
1a67793784 Fix crash if content failed to open (memory shortage)
svn path=/trunk/netsurf/; revision=3365
2007-06-24 18:00:46 +00:00
Adrian Lees
9e2baee37d Scroll wheel support on hotlist and history windows
svn path=/trunk/netsurf/; revision=3364
2007-06-24 17:10:08 +00:00
Adrian Lees
ec40330a5b Overlooked warnings
svn path=/trunk/netsurf/; revision=3312
2007-06-05 06:17:16 +00:00
Adrian Lees
6890f816ed Fix interaction between failed drag save and pointer tracking (including page drag scrolling)
svn path=/trunk/netsurf/; revision=3311
2007-06-05 05:14:54 +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
John Mark Bell
81ef52dd22 Revert last change
svn path=/trunk/netsurf/; revision=3252
2007-04-07 23:53:10 +00:00
John Mark Bell
c010f30e09 Add logging
svn path=/trunk/netsurf/; revision=3251
2007-04-07 23:44:15 +00:00
Richard Wilson
9e3c519c2e Remove redundant close window calls.
svn path=/trunk/netsurf/; revision=3247
2007-04-07 22:53:59 +00:00
John Mark Bell
3bc2fdc652 Construct cookies treeview correctly (fixes 1675328)
svn path=/trunk/netsurf/; revision=3245
2007-04-07 22:44:46 +00:00
John Mark Bell
0ee2843948 Lose duplicate entry
svn path=/trunk/netsurf/; revision=3230
2007-04-01 16:48:53 +00:00
John Mark Bell
932765df96 Remove collusion between window, menus and search code in order to clear
search selection state - this should happen automagically through 
wimp_event callbacks now.
Also tidy search.c so I can read it better ;)

svn path=/trunk/netsurf/; revision=3227
2007-03-26 21:09:25 +00:00
Richard Wilson
933c642019 Call close function for submenu windows.
svn path=/trunk/netsurf/; revision=3226
2007-03-26 20:33:50 +00:00
Richard Wilson
e5129294c0 Call close functions when automatically closing child windows and when automatically handlign Cancel buttons.
svn path=/trunk/netsurf/; revision=3225
2007-03-26 12:28:19 +00:00
John Mark Bell
703b5fea73 Ensure content owners check that they are still interested in a content
when receiving notification that the content's in error. This prevents 
content pointers being corrupted when redirects occur. Fixes 1522002, 
1551475.

svn path=/trunk/netsurf/; revision=3211
2007-03-18 17:09:55 +00:00
John Mark Bell
8ffe5f5392 Fix pasting into writables via IcnClipBrd (fixes 1582072)
svn path=/trunk/netsurf/; revision=3208
2007-03-17 14:18:11 +00:00
John Mark Bell
9cf5122797 Content handlers should not call warn_user - they should broadcast the
error using content_broadcast and leave it to the content owner(s) to 
decide what to do about it.

Only use warn_user for top-level contents.


svn path=/trunk/netsurf/; revision=3204
2007-03-11 22:08:57 +00:00
Richard Wilson
6c65fea9b6 Position new folders correctly for global history (fix 1547523)
svn path=/trunk/netsurf/; revision=3196
2007-03-03 22:47:45 +00:00
Richard Wilson
284368c50e Implement keyboard scrolling for tree views.
svn path=/trunk/netsurf/; revision=3195
2007-03-03 21:57:51 +00:00
Richard Wilson
15ff0c9cf9 Fix failing window update for large extents.
svn path=/trunk/netsurf/; revision=3194
2007-03-03 21:57:24 +00:00
Richard Wilson
b5a14773ff Correctly calculate maximised frame heights (fix 1644216)
svn path=/trunk/netsurf/; revision=3193
2007-03-03 20:49:49 +00:00
Richard Wilson
7368688642 Dynamically update scale view (implement 1556975) and prevent double redraws.
svn path=/trunk/netsurf/; revision=3191
2007-03-03 19:46:20 +00:00
John Mark Bell
6ae4b59a4b Fix stupidity
svn path=/trunk/netsurf/; revision=3178
2007-02-11 12:24:13 +00:00
John Mark Bell
b54332fd58 Rewrite utf8_[to,from]_local_encoding to not have arbitrary limit in the
number of special characters permitted in the input. (fixes 1651343, 
1649247, 1644745, 1607934)

Should also be rather more efficient, too, as it now conducts only a 
single pass over the input data.

svn path=/trunk/netsurf/; revision=3177
2007-02-11 11:19:42 +00:00
John Mark Bell
25213dca24 Fix handling of cookies in unverifiable transactions caused by a redirect from a fetch into a browser window which was varifiable.
svn path=/trunk/netsurf/; revision=3165
2007-02-02 23:08:13 +00:00
John Mark Bell
df4dbaf4cf Handle cookies in unverifiable transactions
svn path=/trunk/netsurf/; revision=3151
2007-01-27 20:58:20 +00:00
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
Richard Wilson
0b875957cb Format frame content to correct initial size. Scale iframe co-ordinates.
svn path=/trunk/netsurf/; revision=3134
2007-01-03 15:15:54 +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
f4b8d3a009 Reflow iframes on layout (fix 1617625)
svn path=/trunk/netsurf/; revision=3126
2006-12-30 02:10:46 +00:00
James Bursa
7e252084a5 Replace font_menu with new rufl built-in font menu.
svn path=/trunk/netsurf/; revision=3111
2006-12-08 20:04:03 +00:00
Michael Drake
1b13cad222 Add break.
svn path=/trunk/netsurf/; revision=3109
2006-12-07 22:39:00 +00:00
Michael Drake
d102139fab Stop URL complete window opening.
svn path=/trunk/netsurf/; revision=3108
2006-12-07 22:34:46 +00:00
Michael Drake
56989c8ed9 Remove backspace key shortcut.
svn path=/trunk/netsurf/; revision=3107
2006-12-07 20:28:19 +00:00
James Bursa
b6b768f521 Improved tracking of memory usage. c->size is now exclusive of talloc size, and the two are added to find the full size.
svn path=/trunk/netsurf/; revision=3103
2006-12-03 22:34:26 +00:00
Richard Wilson
db0aae2a46 Fix 1593228.
svn path=/trunk/netsurf/; revision=3102
2006-12-03 21:11:34 +00:00
Richard Wilson
d18f49f004 Guard against using invalid data.
svn path=/trunk/netsurf/; revision=3099
2006-12-03 18:17:56 +00:00
Richard Wilson
4d14d54720 Implement 1554984.
svn path=/trunk/netsurf/; revision=3098
2006-12-03 12:45:35 +00:00
Richard Wilson
27e59bc3c3 Implement 1582065.
svn path=/trunk/netsurf/; revision=3096
2006-12-03 12:09:35 +00:00
Richard Wilson
6eb93ff077 Fix 1483163.
svn path=/trunk/netsurf/; revision=3095
2006-12-03 11:49:39 +00:00
Richard Wilson
0accd55b91 Fix 1568884.
svn path=/trunk/netsurf/; revision=3094
2006-12-03 11:38:14 +00:00
Richard Wilson
450d83769f Fix 1569172
svn path=/trunk/netsurf/; revision=3084
2006-12-01 15:05:16 +00:00
Richard Wilson
a674848f29 Fix invalid window initialisation
svn path=/trunk/netsurf/; revision=3083
2006-12-01 14:37:21 +00:00
Richard Wilson
ebdaeed557 Use new UTF-8 status bar. Use top-window dimensions for new windows from framesets.
svn path=/trunk/netsurf/; revision=3082
2006-11-30 15:30:54 +00:00
Michael Drake
ba23e4b693 Update project URL.
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
James Bursa
ec563e60ca Add browser_window_reformat() and use it instead of content_reformat() to remove browser_window calls from html.c.
svn path=/trunk/netsurf/; revision=3071
2006-11-26 21:04:42 +00:00
John Mark Bell
a1f291383f Convert query button text to local encoding correctly
svn path=/trunk/netsurf/; revision=3025
2006-11-04 12:38:24 +00:00
John Mark Bell
e5680bdccb Clean up wimp_event usage when closing browser windows.
svn path=/trunk/netsurf/; revision=3022
2006-10-31 23:06:12 +00:00
Richard Wilson
1e6345e562 Allow textareas to reformat on icon change.
svn path=/trunk/netsurf/; revision=3012
2006-10-20 00:47:07 +00:00
Richard Wilson
118d282ce7 Remove duplicate data setting. Fix documentation typo.
svn path=/trunk/netsurf/; revision=3011
2006-10-19 23:18:36 +00:00
Richard Wilson
af6ed66e8f Make progress icons have a left margin. Fix redraw artifact.
svn path=/trunk/netsurf/; revision=3004
2006-10-13 17:52:30 +00:00
Richard Wilson
5eb0913386 Remove the need for a text area list.
svn path=/trunk/netsurf/; revision=3001
2006-10-12 15:53:57 +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
Richard Wilson
50c303284b Don't convert text to local encoding. Correctly release all resources on destruction. Allow NULL text to clear the display. Scale progress bar for small dimensions.
svn path=/trunk/netsurf/; revision=2997
2006-10-12 13:41:29 +00:00
Richard Wilson
161b073f08 Allow dynamic resizing. Reverse animation direction.
svn path=/trunk/netsurf/; revision=2996
2006-10-12 13:36:28 +00:00
Richard Wilson
a6d038c543 UTF-8 status bar component.
svn path=/trunk/netsurf/; revision=2995
2006-10-11 23:25:02 +00:00
Richard Wilson
ab03c67360 Fix redraw when no sprites are present. Squash compiler warnings.
svn path=/trunk/netsurf/; revision=2994
2006-10-11 23:23:40 +00:00
Richard Wilson
d2469b806c Animated progress bar component.
svn path=/trunk/netsurf/; revision=2983
2006-10-06 13:42:59 +00:00
John Mark Bell
6c7323fded Squash memory leak.
Ensure that the icon string's always set to something, even if it's the 
UTF-8 text if we're unable to convert to the local encoding.

svn path=/trunk/netsurf/; revision=2965
2006-09-25 22:27:41 +00:00
Adrian Lees
5b87995de7 Fix case of NotFound message
svn path=/trunk/netsurf/; revision=2954
2006-09-16 00:16:49 +00:00
John Mark Bell
4b722c42ba Fix scale view shortcuts to use new scaling mechanism
svn path=/trunk/netsurf/; revision=2938
2006-09-09 22:07:08 +00:00
Richard Wilson
5340bf487b Don't scale windows without content.
svn path=/trunk/netsurf/; revision=2937
2006-09-08 22:36:09 +00:00
Richard Wilson
2f98e3977e Take scrollbars into account when placing frames.
svn path=/trunk/netsurf/; revision=2936
2006-09-08 20:50:07 +00:00
Richard Wilson
02a8722cc6 Fix 1553282.
svn path=/trunk/netsurf/; revision=2932
2006-09-08 16:57:26 +00:00
John Mark Bell
79554528ba Squash warning
svn path=/trunk/netsurf/; revision=2931
2006-09-08 16:05:36 +00:00
Richard Wilson
26f2b49447 Fix icon sizing
svn path=/trunk/netsurf/; revision=2929
2006-09-08 13:31:43 +00:00
John Mark Bell
f99998362d Lose noisy logging
svn path=/trunk/netsurf/; revision=2928
2006-09-07 20:39:37 +00:00
John Mark Bell
b353c7cd36 Fix 1553007
svn path=/trunk/netsurf/; revision=2926
2006-09-07 20:10:14 +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
3e0c02e8e5 Simplify and tidy up RISC OS gui_ functions. Fix toolbar height changing issues for framesets.
svn path=/trunk/netsurf/; revision=2924
2006-09-06 22:15:58 +00:00
Richard Wilson
d5540f344d Finish event based GUI system transiton and begin code cleanup.
svn path=/trunk/netsurf/; revision=2923
2006-09-06 14:46:18 +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
cba08bf827 Fix 1527343.
svn path=/trunk/netsurf/; revision=2919
2006-09-05 18:32:18 +00:00
Richard Wilson
4994441579 Improve caret handling.
svn path=/trunk/netsurf/; revision=2917
2006-09-05 17:34:30 +00:00
Richard Wilson
610a31dd97 Fix 1528364.
svn path=/trunk/netsurf/; revision=2916
2006-09-05 14:56:18 +00:00
Richard Wilson
4780e39836 Fix initial frame stack placement (fix www.theabar.co.uk and others)
svn path=/trunk/netsurf/; revision=2915
2006-09-05 01:09:05 +00:00
Richard Wilson
5a9af92cd1 Don't track windows after destruction.
svn path=/trunk/netsurf/; revision=2914
2006-09-05 00:53:17 +00:00
Richard Wilson
6d36d39a56 Don't force iframe windows 'onto screen' when opening (fix 1551632)
svn path=/trunk/netsurf/; revision=2913
2006-09-05 00:24:17 +00:00
Richard Wilson
5d53f3784c Fix window furniture issues at small dimensions.
svn path=/trunk/netsurf/; revision=2910
2006-09-04 10:13:56 +00:00
Richard Wilson
74fa727509 Experimental new frames code.
svn path=/trunk/netsurf/; revision=2906
2006-09-02 15:52:41 +00:00
James Bursa
b51f807fe3 Fix uninformative error message log.
svn path=/trunk/netsurf/; revision=2903
2006-08-30 20:09:02 +00:00
Rob Kendrick
66d0d78be1 Move default window size opens into core for use from nsgtk
svn path=/trunk/netsurf/; revision=2900
2006-08-29 00:17:35 +00:00
John Mark Bell
358f20f4cd Make fetch_mimetype consider our internal mapping table
svn path=/trunk/netsurf/; revision=2894
2006-08-25 22:46:38 +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
3cafb693ee Use weight 500 for Medium desktop font.
svn path=/trunk/netsurf/; revision=2881
2006-08-22 00:08:18 +00:00
James Bursa
8343f4f37a Move ro_gui_wimp_desktop_font() from wimp.c to font.c. Simplify code and add logging of result.
svn path=/trunk/netsurf/; revision=2876
2006-08-21 03:11:44 +00:00
James Bursa
877fe5c658 Remove unused and unimplemented nsfont_txtenum().
svn path=/trunk/netsurf/; revision=2875
2006-08-21 02:05:51 +00:00
Adrian Lees
7aaa33d2e5 Fix for knockout rendering of native formats
svn path=/trunk/netsurf/; revision=2869
2006-08-19 19:31:07 +00:00
Adrian Lees
a1292c7935 Map Ctrl-S/F to Save/Search for Windows compatibility since they were unused
svn path=/trunk/netsurf/; revision=2866
2006-08-18 05:39:53 +00:00
John Mark Bell
c6eeed815e Fix buffer overrun & squash compiler warning.
svn path=/trunk/netsurf/; revision=2864
2006-08-17 23:41:29 +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
34791dc3ea Make Home/End jump to top/bottom of page
svn path=/trunk/netsurf/; revision=2827
2006-08-11 02:36:12 +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
Richard Wilson
cad95f5aca Add ptr_lr shape and iconise outline for pre-RISC OS 5.
svn path=/trunk/netsurf/; revision=2807
2006-08-04 19:18:27 +00:00
Richard Wilson
0fa805df8f Fix mask creation for thumbnails.
svn path=/trunk/netsurf/; revision=2806
2006-08-04 19:14:40 +00:00
Rob Kendrick
fb91840001 Make url_suggest option core, rather than RISC OS-specific.
svn path=/trunk/netsurf/; revision=2799
2006-07-28 15:52:37 +00:00
Adrian Lees
748e38ab87 Use desktop font
svn path=/trunk/netsurf/; revision=2778
2006-07-18 01:51:19 +00:00
Richard Wilson
efbfb3ae3f Fix Ctrl+Right.
svn path=/trunk/netsurf/; revision=2775
2006-07-17 21:00:57 +00:00
Richard Wilson
697acab07b Implement Ctrl+U, Ctrl+Up, Ctrl+Down.
svn path=/trunk/netsurf/; revision=2774
2006-07-17 17:32:06 +00:00
Michael Drake
68ac9e41b1 Increase default status bar width to two thirds.
svn path=/trunk/netsurf/; revision=2773
2006-07-17 08:08:00 +00:00
Richard Wilson
0309e937e6 Allow the user to delete cookies.
svn path=/trunk/netsurf/; revision=2770
2006-07-16 21:42:37 +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
2c4fb5d683 More key bindings for textarea implementation. Still loads missing.
svn path=/trunk/netsurf/; revision=2767
2006-07-16 16:13:55 +00:00
Richard Wilson
9294938976 Extent cookie_update API to allow notification of deleted domains. Fix nodes not being re-calculated.
svn path=/trunk/netsurf/; revision=2765
2006-07-16 16:10:43 +00:00
Richard Wilson
54950fad08 Add missing include
svn path=/trunk/netsurf/; revision=2763
2006-07-16 14:09:37 +00:00
John Mark Bell
488f3e0d8a Fix small build
svn path=/trunk/netsurf/; revision=2762
2006-07-16 11:34:51 +00:00
John Mark Bell
dc612b767c Display certificate subject in list rather than issuer
svn path=/trunk/netsurf/; revision=2760
2006-07-16 00:47:20 +00:00
Richard Wilson
0657764d00 Remove debug information.
svn path=/trunk/netsurf/; revision=2758
2006-07-16 00:36:32 +00:00
Richard Wilson
589fe57264 Fix text area positioning, simpify scroll bar code.
svn path=/trunk/netsurf/; revision=2757
2006-07-16 00:34:16 +00:00
Richard Wilson
9006b194bb Update forgotten files.
svn path=/trunk/netsurf/; revision=2756
2006-07-16 00:23:10 +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
Richard Wilson
546bf17a7f Add relevent extensions to allow treeviews to be used as an embedded list component.
svn path=/trunk/netsurf/; revision=2753
2006-07-15 15:39:33 +00:00
John Mark Bell
1decf851aa Fix URL completion keypress handling
svn path=/trunk/netsurf/; revision=2748
2006-07-13 22:50:48 +00:00
John Mark Bell
752634a810 Fix corruption of character if it matches a control sequence handled by
the core code.
Explicitly check for IS_WIMP_KEY in every applicable case as clearing 
the relevant bit beforehand is insufficient (&18C (Left cursor) is a 
valid Unicode character value, for example)

svn path=/trunk/netsurf/; revision=2747
2006-07-13 22:35:46 +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
John Mark Bell
3716a5853e Fixup missing includes
svn path=/trunk/netsurf/; revision=2745
2006-07-13 21:52:35 +00:00
Richard Wilson
652f594cbb Further url completion fixes
svn path=/trunk/netsurf/; revision=2744
2006-07-13 21:28:07 +00:00
Richard Wilson
1fcceb72f6 Fix url completion
svn path=/trunk/netsurf/; revision=2743
2006-07-13 19:48:45 +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
3d63f5e5b2 Ctrl + resize scales the content to the new width.
svn path=/trunk/netsurf/; revision=2735
2006-07-12 17:23:00 +00:00
Richard Wilson
82dd81b859 Pass on RETURN and ESCAPE events to WIMP icon.
svn path=/trunk/netsurf/; revision=2734
2006-07-12 15:07:37 +00:00
Richard Wilson
06429e69b5 Fix single line textareas, improve display of multiline ones.
svn path=/trunk/netsurf/; revision=2732
2006-07-11 23:04:13 +00:00
John Mark Bell
774f7a7599 Add missing error assignment
svn path=/trunk/netsurf/; revision=2730
2006-07-11 06:16:55 +00:00
Richard Wilson
593a5cf511 Render trees in UTF8 via rufl (fix 1434430)
svn path=/trunk/netsurf/; revision=2728
2006-07-11 00:40:45 +00:00
Richard Wilson
5081a22490 Convert sprite names to lowercase (fix 1412453)
svn path=/trunk/netsurf/; revision=2727
2006-07-10 14:49:16 +00:00
Richard Wilson
0e0aef0f85 Fix 1496834.
svn path=/trunk/netsurf/; revision=2726
2006-07-10 13:42:42 +00:00
Richard Wilson
a47f148f2d Optimise out redundant group_start and group_end calls (speed up rendering.)
svn path=/trunk/netsurf/; revision=2725
2006-07-10 09:52:31 +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
John Mark Bell
8fefa1061e Fix 1517874. Plug memory leaks on failure.
svn path=/trunk/netsurf/; revision=2720
2006-07-06 06:42:54 +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
ea44d84833 Make adjust-back/forwards/up open content in a new window (implement 1431600)
svn path=/trunk/netsurf/; revision=2717
2006-07-05 16:50:35 +00:00
Richard Wilson
a102f34fa6 Make adjust-clicking submit open a new window (fix 1430135)
svn path=/trunk/netsurf/; revision=2716
2006-07-05 01:23:25 +00:00
Richard Wilson
667c3b6730 Fix 1516353 and implement 1352354
svn path=/trunk/netsurf/; revision=2711
2006-07-04 19:56:37 +00:00
Richard Wilson
bd732e40ed Respect CMOS configuration for full-size toggles on small contents.
svn path=/trunk/netsurf/; revision=2709
2006-07-04 14:50:15 +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
021f36675f Delegate redraw optimisations to the knockout rendering system (fix garbage being displayed in certain situations with buffered rendering)
svn path=/trunk/netsurf/; revision=2703
2006-07-03 02:45:48 +00:00
Richard Wilson
f99c19ebd8 Set ECF origin for buffered rendering (fix 1422009)
svn path=/trunk/netsurf/; revision=2702
2006-07-03 02:08:54 +00:00
Richard Wilson
d064f950a7 Allow any content to be dragged into a text area (fix 1461378)
svn path=/trunk/netsurf/; revision=2701
2006-07-03 01:38:13 +00:00
Richard Wilson
826a48d737 Fix 1496309.
svn path=/trunk/netsurf/; revision=2700
2006-07-03 01:14:46 +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
Richard Wilson
dbe40cffb3 Re-instate the knockout renderers after a nested flush(). Make so knockout rendering is always used.
svn path=/trunk/netsurf/; revision=2693
2006-07-02 17:23:49 +00:00
Richard Wilson
cf4294d3a8 Implement knockout rendering (controlled by 'knockout_rendering' option or Ctrl+F11, default is off). This attempts to minimise the amount of overlapping redraw performed, and thus can drasticly reduce the rendering time of many pages.
svn path=/trunk/netsurf/; revision=2682
2006-07-01 18:16:05 +00:00
Richard Wilson
3d6331efd7 Only check caret position for writable icons.
svn path=/trunk/netsurf/; revision=2667
2006-06-28 22:58:58 +00:00
John Mark Bell
ea7867b927 Dump RUfl family list if Homerton isn't found
svn path=/trunk/netsurf/; revision=2659
2006-06-28 14:38:31 +00:00
John Mark Bell
553d6066d0 Fix textarea crashes
svn path=/trunk/netsurf/; revision=2650
2006-06-26 19:47:22 +00:00
John Mark Bell
8db70d8e2d UTF-8 capable single/multi-line text area/display field - needs
optimisation, completion of outstanding todos.
Use this to display SSL certificate issuer and subject information.

svn path=/trunk/netsurf/; revision=2647
2006-06-26 01:14:33 +00:00
John Mark Bell
1404431fef Lose compiler warnings
svn path=/trunk/netsurf/; revision=2645
2006-06-25 13:12:07 +00:00
Rob Kendrick
045794bdbb Fix typo in Pinboard workaround (stops it being overly zealous)
svn path=/trunk/netsurf/; revision=2644
2006-06-24 16:56:56 +00:00
Rob Kendrick
73b13bff12 Add workaround to bug in Pinboard not displaying some windows when iconised
svn path=/trunk/netsurf/; revision=2641
2006-06-23 22:42:31 +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
5adef63ac5 Localise configure icon strings when appropriate.
Fix gright menu handling - now writes into display field without 
attempting to localise the selection string - it's already localised.
Update German Messages file appropriately.

svn path=/trunk/netsurf/; revision=2638
2006-06-20 21:35:33 +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
cc226c0293 Make URL completion ignore unvisited URLs
svn path=/trunk/netsurf/; revision=2621
2006-06-15 15:47:34 +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
09564c2bca Fix handling of backspace in URL entry field
svn path=/trunk/netsurf/; revision=2614
2006-06-02 14:27:18 +00:00
John Mark Bell
8fc65f1a64 New keybindings similar to other browsers:
Backspace -> back
Shift + Backspace -> forward

svn path=/trunk/netsurf/; revision=2610
2006-06-01 23:54:55 +00:00
Adrian Lees
c2f54bca82 Eliminate error at end of page drag scrolling on Select
svn path=/trunk/netsurf/; revision=2608
2006-05-28 16:49:39 +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
John Mark Bell
fa5156cfca Handle omitted realm
svn path=/trunk/netsurf/; revision=2602
2006-05-14 23:35:15 +00:00
James Bursa
b813b44a63 Add Ctrl-Shift-Q and Ctrl-Shift-W to change scale in 10% steps.
svn path=/trunk/netsurf/; revision=2593
2006-05-06 13:09:50 +00:00
Michael Drake
49e173baab Reinstate Ctrl+R (full reload).
svn path=/trunk/netsurf/; revision=2584
2006-05-02 10:13:36 +00:00
John Mark Bell
56f08aca95 Fix crash when no Choices file is present
svn path=/trunk/netsurf/; revision=2562
2006-04-29 19:59:26 +00:00
John Mark Bell
37cb487fc0 Fix crash when saving a selection after its containing window's content
has changed.

svn path=/trunk/netsurf/; revision=2557
2006-04-26 17:26:03 +00:00
Richard Wilson
aec8fd6c8f Remove redundant mouseaction code.
svn path=/trunk/netsurf/; revision=2554
2006-04-22 22:44:46 +00:00
Richard Wilson
55e5f80903 Remove redundant mouseaction code.
svn path=/trunk/netsurf/; revision=2553
2006-04-22 22:42:44 +00:00
Richard Wilson
a626658780 Fix incorrect interactive help assignment.
svn path=/trunk/netsurf/; revision=2551
2006-04-22 22:23:41 +00:00
Richard Wilson
9fdd71709d Fix incorrect interactive help assignment
svn path=/trunk/netsurf/; revision=2549
2006-04-22 21:50:44 +00:00
Richard Wilson
c7f77b0165 Finish history cloning.
svn path=/trunk/netsurf/; revision=2547
2006-04-22 18:24:18 +00:00
Richard Wilson
546ad9e70a Apparently I need to specify add/deletions too...
svn path=/trunk/netsurf/; revision=2541
2006-04-21 23:50:36 +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
3e54aab0d5 Fix insertion of unordered base nodes
svn path=/trunk/netsurf/; revision=2529
2006-04-14 00:27:49 +00:00
John Mark Bell
1b7797b395 Fix redraw issues for CONTENT_CSS
svn path=/trunk/netsurf/; revision=2528
2006-04-13 00:22:52 +00:00
John Mark Bell
d453fa3206 Fix global history tree corruption
svn path=/trunk/netsurf/; revision=2525
2006-04-12 08:10:05 +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
e0ba508992 Store URLs explicitly in URL database for faster access.
Iteration callbacks now passed url_data struct to remove need to look up

svn path=/trunk/netsurf/; revision=2522
2006-04-11 02:39:55 +00:00
John Mark Bell
c09eb457df Unify information databases
svn path=/trunk/netsurf/; revision=2519
2006-04-09 23:21:13 +00:00
Michael Drake
e5e1b982d5 Fix spelling in comment.
svn path=/trunk/netsurf/; revision=2518
2006-04-09 20:06:12 +00:00
James Bursa
5bb7337e88 Add missing include.
svn path=/trunk/netsurf/; revision=2515
2006-04-09 18:11:59 +00:00
Richard Wilson
1bb74deace [project @ 2006-04-06 22:42:22 by rjw]
Add connection option tool.

svn path=/import/netsurf/; revision=2498
2006-04-06 22:42:22 +00:00
Richard Wilson
04147f020e [project @ 2006-04-06 22:39:53 by rjw]
Fix documentation.

svn path=/import/netsurf/; revision=2497
2006-04-06 22:39:53 +00:00
Richard Wilson
9299e0d55a [project @ 2006-04-06 17:51:25 by rjw]
Content and security option tools.

svn path=/import/netsurf/; revision=2493
2006-04-06 17:51:25 +00:00
Richard Wilson
7fe74d3bc7 [project @ 2006-04-06 17:06:17 by rjw]
Add more interface options.

svn path=/import/netsurf/; revision=2491
2006-04-06 17:06:18 +00:00
Rob Kendrick
b875473027 [project @ 2006-03-31 10:41:21 by rjek]
Move default font face choices from RISC OS front end to core

svn path=/import/netsurf/; revision=2482
2006-03-31 10:41:21 +00:00
Rob Kendrick
5d434ff002 [project @ 2006-03-29 15:26:53 by rjek]
Moved homepage_url option into core from riscos, and use it in the GTK frontend

svn path=/import/netsurf/; revision=2481
2006-03-29 15:26:54 +00:00
John Mark Bell
c098703201 [project @ 2006-03-25 22:48:32 by jmb]
Assert that template names are <=11 chars long.
Rename con_language to con_lang

svn path=/import/netsurf/; revision=2165
2006-03-25 22:48:32 +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
James Bursa
016128c37d [project @ 2006-03-25 20:13:51 by bursa]
Make dialogs open fully on screen even if they are already open.

svn path=/import/netsurf/; revision=2163
2006-03-25 20:13:51 +00:00
Adrian Lees
29802d8404 [project @ 2006-03-25 06:21:21 by adrianl]
Correct operation in non-square 32bpp modes

svn path=/import/netsurf/; revision=2160
2006-03-25 06:21:21 +00:00
Adrian Lees
74a86c3751 [project @ 2006-03-24 04:00:27 by adrianl]
Missing #include

svn path=/import/netsurf/; revision=2159
2006-03-24 04:00:27 +00:00
Adrian Lees
1bded081d6 [project @ 2006-03-24 03:54:47 by adrianl]
Palette definitions for sprites

svn path=/import/netsurf/; revision=2158
2006-03-24 03:54:48 +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
Michael Drake
075f6ba3d1 [project @ 2006-03-23 10:25:50 by tlsa]
Add remaining pointer types to RISC OS build.

svn path=/import/netsurf/; revision=2154
2006-03-23 10:25:50 +00:00
Michael Drake
222b75de89 [project @ 2006-03-22 23:37:59 by tlsa]
More pointer types for RISC OS build.

svn path=/import/netsurf/; revision=2150
2006-03-22 23:37:59 +00:00
Rob Kendrick
07f691b326 [project @ 2006-03-21 18:20:07 by rjek]
Remove unwanted ; from drawfile saving code

svn path=/import/netsurf/; revision=2147
2006-03-21 18:20:07 +00:00
Rob Kendrick
388ce7b8c4 [project @ 2006-03-21 17:22:41 by rjek]
Radio and checkbox widgets are now 3D, and implemented arc plotting for them

svn path=/import/netsurf/; revision=2145
2006-03-21 17:22:41 +00:00
John Mark Bell
f7a178d62f [project @ 2006-03-19 21:27:54 by jmb]
Fixup _disc API

svn path=/import/netsurf/; revision=2138
2006-03-19 21:27:54 +00:00
Rob Kendrick
1562dd03cb [project @ 2006-03-19 19:03:07 by rjek]
Implemented unfilled disc plotting and GTK disc plotting

svn path=/import/netsurf/; revision=2136
2006-03-19 19:03:07 +00:00
Daniel Silverstone
35bb5f96d5 [project @ 2006-03-19 17:49:32 by dsilvers]
Add support for a few more CSS cursors and tidy the GUI_POINTER_* stuff to support what we already had

svn path=/import/netsurf/; revision=2135
2006-03-19 17:49:32 +00:00
John Mark Bell
63a70da244 [project @ 2006-03-10 11:28:16 by jmb]
Add missing "struct"

svn path=/import/netsurf/; revision=2126
2006-03-10 11:28:16 +00:00
Daniel Silverstone
7e02b0089c [project @ 2006-03-10 11:10:21 by dsilvers]
Include gui.h for gui_window struct

svn path=/import/netsurf/; revision=2125
2006-03-10 11:10:21 +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
James Bursa
548e5089f8 [project @ 2006-03-08 08:27:19 by bursa]
Disable font blending during printing (should fix text printing problems for LaserJets).

svn path=/import/netsurf/; revision=2111
2006-03-08 08:27:19 +00:00
James Bursa
0eebadfa40 [project @ 2006-03-05 12:24:18 by bursa]
Implement declaring fonts for printing (PostScript).

svn path=/import/netsurf/; revision=2110
2006-03-05 12:24:18 +00:00
Richard Wilson
a4263fd8d6 [project @ 2006-03-05 01:42:16 by rjw]
Show unknown content icon in theme configuration toolbars.

svn path=/import/netsurf/; revision=2109
2006-03-05 01:42:16 +00:00
Richard Wilson
d478d7ef08 [project @ 2006-03-05 01:19:57 by rjw]
Fix theme choices window

svn path=/import/netsurf/; revision=2108
2006-03-05 01:19:57 +00:00
Richard Wilson
c5ba8b2635 [project @ 2006-03-04 20:59:39 by rjw]
Only browser toolbars have associated gui windows (whoops!)

svn path=/import/netsurf/; revision=2107
2006-03-04 20:59:39 +00:00
John Mark Bell
c57f07a5cd [project @ 2006-03-04 20:50:12 by jmb]
Ensure bitmap is in memory

svn path=/import/netsurf/; revision=2106
2006-03-04 20:50:12 +00:00
Richard Wilson
25a995931d [project @ 2006-03-04 20:46:35 by rjw]
Continue work towards favicon support.

svn path=/import/netsurf/; revision=2104
2006-03-04 20:46:35 +00:00
Adrian Lees
06a4b7d502 [project @ 2006-03-04 06:11:55 by adrianl]
Second attempt

svn path=/import/netsurf/; revision=2102
2006-03-04 06:11:55 +00:00
Adrian Lees
dfd0e17b67 [project @ 2006-03-04 05:53:49 by adrianl]
Allow adjust-drag-saving of sprites too

svn path=/import/netsurf/; revision=2101
2006-03-04 05:53:49 +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
John Mark Bell
d4d3e5ee1c [project @ 2006-02-23 15:06:53 by jmb]
Handle invalid SSL certificates better - UI still needs work.
Modify fetch callback data parameter type to remove compiler warnings.
Constify things.
Lose global ssl_verify_certificates option.
Fix issue when closing a dialog without input focus.

svn path=/import/netsurf/; revision=2092
2006-02-23 15:06:54 +00:00
John Mark Bell
70fbf97688 [project @ 2006-02-22 20:04:39 by jmb]
Lose warnings

svn path=/import/netsurf/; revision=2091
2006-02-22 20:04:39 +00:00
Richard Wilson
6390393bee [project @ 2006-02-22 13:03:57 by rjw]
Make clicks on the recent URL menu move selected item to the top.

svn path=/import/netsurf/; revision=2090
2006-02-22 13:03:57 +00:00
Richard Wilson
3d9a1198db [project @ 2006-02-22 01:58:19 by rjw]
Reduce constant bitmap overhead per reference by moving to a flag word. Allow bitmaps to be reduced back to their raw data to free extra memory in a highly efficient manner.

svn path=/import/netsurf/; revision=2089
2006-02-22 01:58:19 +00:00
Richard Wilson
01cc7987c7 [project @ 2006-02-21 22:29:17 by rjw]
Fix broken decompression

svn path=/import/netsurf/; revision=2088
2006-02-21 22:29:17 +00:00
Richard Wilson
4cc85469cb [project @ 2006-02-21 20:49:11 by rjw]
Allow any content to be used as a background. Simplify bitmap code.

svn path=/import/netsurf/; revision=2087
2006-02-21 20:49:12 +00:00
John Mark Bell
5ce5fe084c [project @ 2006-02-19 18:26:23 by jmb]
Rewrite HTTP authentication.
Fix extraction of realm from WWW-Authenticate header.
Tidy up login dialog code.

svn path=/import/netsurf/; revision=2085
2006-02-19 18:26:23 +00:00
Adrian Lees
7dbc14cf05 [project @ 2006-02-15 23:28:18 by adrianl]
Make search accessible for textplain content

svn path=/import/netsurf/; revision=2084
2006-02-15 23:28:18 +00:00
Adrian Lees
2e6cb9f80c [project @ 2006-02-15 23:14:51 by adrianl]
Late arrival

svn path=/import/netsurf/; revision=2083
2006-02-15 23:14:51 +00:00
Adrian Lees
5f93f8f3f9 [project @ 2006-02-15 23:10:08 by adrianl]
New header files

svn path=/import/netsurf/; revision=2082
2006-02-15 23:10:08 +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
ba474f1c91 [project @ 2006-02-12 21:23:21 by adrianl]
Show all matches

svn path=/import/netsurf/; revision=2076
2006-02-12 21:23:22 +00:00
Adrian Lees
eeb97d89c3 [project @ 2006-02-11 19:10:42 by adrianl]
Corrected UTF8 conversion of imported text

svn path=/import/netsurf/; revision=2074
2006-02-11 19:10:42 +00:00
Adrian Lees
edded10c0f [project @ 2006-02-11 18:33:05 by adrianl]
Textarea/selection improvements and fixes

svn path=/import/netsurf/; revision=2072
2006-02-11 18:33:05 +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
bdbe7e8e51 [project @ 2006-02-07 16:32:47 by adrianl]
Added function to bring window to front

svn path=/import/netsurf/; revision=2062
2006-02-07 16:32:47 +00:00
Adrian Lees
57c86c8c0e [project @ 2006-02-07 16:16:23 by adrianl]
Confirmation before overwriting with download files; Interface Choices dialog

svn path=/import/netsurf/; revision=2061
2006-02-07 16:16:23 +00:00
John Mark Bell
0f228ada91 [project @ 2006-02-06 00:10:09 by jmb]
Implement HTTP caching algorithm; this should avoid stale cache entries being used.

svn path=/import/netsurf/; revision=2059
2006-02-06 00:10:09 +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
John Mark Bell
779bc57970 [project @ 2006-02-02 17:32:00 by jmb]
Tidy up and fix 1422623.

svn path=/import/netsurf/; revision=2053
2006-02-02 17:32:00 +00:00
Adrian Lees
9661e84371 [project @ 2006-02-01 22:31:27 by adrianl]
Eliminate spurious char at end of imported text

svn path=/import/netsurf/; revision=2052
2006-02-01 22:31:27 +00:00
Adrian Lees
158b6e1835 [project @ 2006-02-01 17:34:36 by adrianl]
Use hash table for faster access to event_windows

svn path=/import/netsurf/; revision=2051
2006-02-01 17:34:36 +00:00
James Bursa
2e7b32ea5a [project @ 2006-01-29 12:23:22 by bursa]
New version of RUfl - better weight detection and up to 9 weights.

svn path=/import/netsurf/; revision=2050
2006-01-29 12:23:22 +00:00
Michael Drake
8fc96b9862 [project @ 2006-01-26 23:52:01 by tlsa]
Revert accidentally checked in file.

svn path=/import/netsurf/; revision=2048
2006-01-26 23:52:01 +00:00
Michael Drake
cea6db4ee0 [project @ 2006-01-26 23:38:22 by tlsa]
Remove rule.netsurf/!NetSurf/Resources/AdBlock,f79

svn path=/import/netsurf/; revision=2046
2006-01-26 23:38:23 +00:00
Adrian Lees
5ed9d58a24 [project @ 2006-01-26 02:24:29 by adrianl]
Correct handling of special chars at string start and adjacent special chars

svn path=/import/netsurf/; revision=2045
2006-01-26 02:24:29 +00:00
John Mark Bell
5fdc462c1d [project @ 2006-01-25 23:12:36 by jmb]
Fix buffer overflow

svn path=/import/netsurf/; revision=2044
2006-01-25 23:12:36 +00:00
Richard Wilson
b5fcb4d94c [project @ 2006-01-25 17:28:29 by rjw]
Implement feature request 1365051.

svn path=/import/netsurf/; revision=2043
2006-01-25 17:28:29 +00:00
Richard Wilson
9af4220992 [project @ 2006-01-25 13:38:55 by rjw]
Correctly display toolbar separator when editing toolbars.

svn path=/import/netsurf/; revision=2042
2006-01-25 13:38:55 +00:00
Richard Wilson
45b78bc199 [project @ 2006-01-25 12:49:51 by rjw]
Possible workaround for OS template loading bug.

svn path=/import/netsurf/; revision=2041
2006-01-25 12:49:51 +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
3a3e27b7c6 [project @ 2006-01-25 00:33:00 by rjw]
Supress error message if parent window is already closed.

svn path=/import/netsurf/; revision=2037
2006-01-25 00:33:00 +00:00
Richard Wilson
921367f377 [project @ 2006-01-25 00:21:26 by rjw]
Fix NULL reads.

svn path=/import/netsurf/; revision=2036
2006-01-25 00:21:26 +00:00
Richard Wilson
7354ee1008 [project @ 2006-01-25 00:20:21 by rjw]
Rescue jmb from O2

svn path=/import/netsurf/; revision=2035
2006-01-25 00:20:21 +00:00
Richard Wilson
5157c9c280 [project @ 2006-01-24 23:41:23 by rjw]
Tidy up code.

svn path=/import/netsurf/; revision=2033
2006-01-24 23:41:23 +00:00
Richard Wilson
ef1f971a9a [project @ 2006-01-24 23:05:22 by rjw]
Don't allocate memory until it's actually needed.

svn path=/import/netsurf/; revision=2029
2006-01-24 23:05:22 +00:00
Richard Wilson
2b2b2ccf96 [project @ 2006-01-24 23:02:44 by rjw]
Stop failed decompression/loading from attempting to plot a NULL bitmap.

svn path=/import/netsurf/; revision=2026
2006-01-24 23:02:44 +00:00
John Mark Bell
15a14599db [project @ 2006-01-22 17:25:30 by jmb]
Convert local files to UTF-8 when dragged in (assumes they're encoded in the system local encoding).
Fix potential buffer overflow in utf8_from_local_encoding

svn path=/import/netsurf/; revision=2025
2006-01-22 17:25:30 +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
James Bursa
5d6c565828 [project @ 2006-01-10 08:17:51 by bursa]
Search font list ignoring case (should fix 1330351).

svn path=/import/netsurf/; revision=2020
2006-01-10 08:17:51 +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
Richard Wilson
dc50e72cc5 [project @ 2006-01-08 20:02:25 by rjw]
Only remove references on acknowledgement. Add simple routing functions.

svn path=/import/netsurf/; revision=2016
2006-01-08 20:02:26 +00:00
Richard Wilson
ba5812645d [project @ 2006-01-08 15:15:17 by rjw]
Automated RISC OS message routing

svn path=/import/netsurf/; revision=2015
2006-01-08 15:15:17 +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
John Mark Bell
5f160daacb [project @ 2006-01-07 13:12:58 by jmb]
Fix duplication of currently selected theme in theme_descriptor list

svn path=/import/netsurf/; revision=2012
2006-01-07 13:12:58 +00:00
Richard Wilson
52f1e3cbc0 [project @ 2006-01-07 00:51:55 by rjw]
Tidy up code.

svn path=/import/netsurf/; revision=2009
2006-01-07 00:51:55 +00:00
Richard Wilson
3e2ec17a62 [project @ 2006-01-07 00:40:59 by rjw]
Add new configure tools. Improve initial window size.

svn path=/import/netsurf/; revision=2007
2006-01-07 00:40:59 +00:00
Richard Wilson
a9b27cf661 [project @ 2006-01-07 00:39:49 by rjw]
Add missing include files.

svn path=/import/netsurf/; revision=2006
2006-01-07 00:39:49 +00:00
Richard Wilson
8bbb6a4359 [project @ 2006-01-07 00:38:14 by rjw]
Home page configuration tool.

svn path=/import/netsurf/; revision=2004
2006-01-07 00:38:14 +00:00
Richard Wilson
794a7808c3 [project @ 2006-01-07 00:37:54 by rjw]
Cache configuration tool.

svn path=/import/netsurf/; revision=2003
2006-01-07 00:37:54 +00:00
Richard Wilson
dd8fe80152 [project @ 2006-01-07 00:29:54 by rjw]
Fix toolbar editing for trees (hotlist, global history).

svn path=/import/netsurf/; revision=2001
2006-01-07 00:29:54 +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
e4fa7102bd [project @ 2006-01-06 21:21:34 by rjw]
Trim headers.

svn path=/import/netsurf/; revision=1997
2006-01-06 21:21:34 +00:00
John Mark Bell
801bfde4b3 [project @ 2006-01-06 21:01:01 by jmb]
Add missing include

svn path=/import/netsurf/; revision=1996
2006-01-06 21:01:01 +00:00
Richard Wilson
ef11c95375 [project @ 2006-01-06 20:56:44 by rjw]
Add code necessary to flush unaccounted references in the Cache directory.

svn path=/import/netsurf/; revision=1995
2006-01-06 20:56:44 +00:00
Richard Wilson
efb0194748 [project @ 2006-01-06 15:36:09 by rjw]
Faster reading of available themes.

svn path=/import/netsurf/; revision=1994
2006-01-06 15:36:09 +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
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
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
2b203ba00a [project @ 2006-01-04 23:24:50 by rjw]
Tidy up code.

svn path=/import/netsurf/; revision=1984
2006-01-04 23:24:50 +00:00
Richard Wilson
5ae56e6850 [project @ 2006-01-04 22:59:49 by rjw]
Reduce directory creation overhead slightly. Ensure directories are actually created.

svn path=/import/netsurf/; revision=1982
2006-01-04 22:59:49 +00:00
Richard Wilson
a3759ab0ef [project @ 2006-01-04 17:26:43 by rjw]
Optimise searching for sprites.

svn path=/import/netsurf/; revision=1979
2006-01-04 17:26:43 +00:00
John Mark Bell
3b2ec218a7 [project @ 2006-01-03 05:13:23 by jmb]
Fix 1394956.

svn path=/import/netsurf/; revision=1975
2006-01-03 05:13:23 +00:00
Richard Wilson
a059c234b9 [project @ 2006-01-03 01:40:32 by rjw]
Add animation configuration.

svn path=/import/netsurf/; revision=1974
2006-01-03 01:40:32 +00:00
Richard Wilson
e87907a76d [project @ 2006-01-03 01:38:20 by rjw]
Remove redundant code.

svn path=/import/netsurf/; revision=1973
2006-01-03 01:38:20 +00:00
Richard Wilson
8733cf9836 [project @ 2006-01-03 01:37:25 by rjw]
Move the caret from writable icons when shading.

svn path=/import/netsurf/; revision=1972
2006-01-03 01:37:25 +00:00
John Mark Bell
611ec68e46 [project @ 2006-01-02 23:31:28 by jmb]
Implement font default option properly

svn path=/import/netsurf/; revision=1969
2006-01-02 23:31:29 +00:00
John Mark Bell
3403027d91 [project @ 2006-01-02 23:00:42 by jmb]
Lose redundant externs

svn path=/import/netsurf/; revision=1967
2006-01-02 23:00:42 +00:00
John Mark Bell
adeea58dff [project @ 2006-01-02 23:00:18 by jmb]
Take account of default font family

svn path=/import/netsurf/; revision=1966
2006-01-02 23:00:18 +00:00
Richard Wilson
f6f12a3116 [project @ 2006-01-02 22:15:28 by rjw]
Fix claiming resulting in incorrect filenames.

svn path=/import/netsurf/; revision=1965
2006-01-02 22:15:28 +00:00
Richard Wilson
aa8348ec49 [project @ 2006-01-02 22:10:00 by rjw]
Use library function to initialise menu.

svn path=/import/netsurf/; revision=1963
2006-01-02 22:10:00 +00:00
Richard Wilson
498b481406 [project @ 2006-01-02 22:09:23 by rjw]
Enable access to new configuration tools.

svn path=/import/netsurf/; revision=1962
2006-01-02 22:09:23 +00:00
Richard Wilson
0bc97079e6 [project @ 2006-01-02 22:08:27 by rjw]
Header for con_theme

svn path=/import/netsurf/; revision=1961
2006-01-02 22:08:27 +00:00
Richard Wilson
c9c2c91ed4 [project @ 2006-01-02 22:07:36 by rjw]
Remove redundant externs.

svn path=/import/netsurf/; revision=1960
2006-01-02 22:07:36 +00:00
Richard Wilson
4fb5bda6ac [project @ 2006-01-02 22:06:59 by rjw]
Allow toolbars for non gui-windows

svn path=/import/netsurf/; revision=1959
2006-01-02 22:06:59 +00:00
Richard Wilson
be9c1c9409 [project @ 2006-01-02 22:05:53 by rjw]
Remove redundant code.

svn path=/import/netsurf/; revision=1958
2006-01-02 22:05:53 +00:00
Richard Wilson
2765c12163 [project @ 2006-01-02 22:04:35 by rjw]
Remove redundant externs.

svn path=/import/netsurf/; revision=1957
2006-01-02 22:04:35 +00:00
Richard Wilson
8b725c3371 [project @ 2006-01-02 22:02:13 by rjw]
New theme configuration tool.

svn path=/import/netsurf/; revision=1956
2006-01-02 22:02:38 +00:00
John Mark Bell
a28b0fbe07 [project @ 2006-01-02 21:24:42 by jmb]
Finish font configuration.

svn path=/import/netsurf/; revision=1953
2006-01-02 21:24:43 +00:00
Richard Wilson
df5ae87588 [project @ 2006-01-02 15:58:34 by rjw]
Remove flicker from example icon.

svn path=/import/netsurf/; revision=1951
2006-01-02 15:58:34 +00:00
Richard Wilson
9fb14f4d93 [project @ 2006-01-02 15:57:55 by rjw]
Only pass on selection changes.

svn path=/import/netsurf/; revision=1950
2006-01-02 15:57:55 +00:00
Richard Wilson
0f6fd9bba3 [project @ 2006-01-02 15:57:14 by rjw]
Remove redundant declarations

svn path=/import/netsurf/; revision=1949
2006-01-02 15:57:14 +00:00
James Bursa
fc4317b926 [project @ 2006-01-02 13:19:34 by bursa]
Fix comment typo.

svn path=/import/netsurf/; revision=1948
2006-01-02 13:20:01 +00:00
Richard Wilson
e58c83f189 [project @ 2006-01-02 05:33:53 by rjw]
Update display on Adjust-Cancel

svn path=/import/netsurf/; revision=1946
2006-01-02 05:33:53 +00:00
Richard Wilson
009ac8c7a0 [project @ 2006-01-02 05:23:26 by rjw]
Image configuration tool.

svn path=/import/netsurf/; revision=1944
2006-01-02 05:23:26 +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