Commit Graph

1271 Commits

Author SHA1 Message Date
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 #1756230) 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