Commit Graph

471 Commits

Author SHA1 Message Date
James Bursa 6710971eec [project @ 2004-06-02 21:27:07 by bursa]
Simplify animation redraw code.

svn path=/import/netsurf/; revision=922
2004-06-02 21:27:07 +00:00
James Bursa 9f36f6144c [project @ 2004-06-02 21:26:12 by bursa]
Handle memory exhaustion and errors.

svn path=/import/netsurf/; revision=921
2004-06-02 21:26:12 +00:00
James Bursa e3369389a4 [project @ 2004-06-02 21:25:16 by bursa]
Handle errors from save_as_draw().

svn path=/import/netsurf/; revision=920
2004-06-02 21:25:16 +00:00
James Bursa de10519be4 [project @ 2004-06-02 21:24:39 by bursa]
Remove #include <setjmp.h> for debug build issue.

svn path=/import/netsurf/; revision=919
2004-06-02 21:24:39 +00:00
James Bursa cafb24a336 [project @ 2004-06-02 21:23:27 by bursa]
Remove obsolete files.

svn path=/import/netsurf/; revision=918
2004-06-02 21:23:27 +00:00
Richard Wilson 3f39cf8d42 [project @ 2004-05-31 21:51:35 by rjw]
History window shows the last frame of GIFs with a finite loop count, the first frame otherwise.

svn path=/import/netsurf/; revision=905
2004-05-31 21:51:35 +00:00
Richard Wilson ae59bb9482 [project @ 2004-05-31 20:03:20 by rjw]
Fix for interlaced GIFs with very small heights.

svn path=/import/netsurf/; revision=903
2004-05-31 20:03:20 +00:00
Richard Wilson 58bca93f8c [project @ 2004-05-31 14:37:02 by rjw]
Added #define for Tinct_AvailableFeatures (Tinct version 0.04+).

svn path=/import/netsurf/; revision=901
2004-05-31 14:37:02 +00:00
James Bursa bbad5f0461 [project @ 2004-05-29 21:01:36 by bursa]
Remove obsolete parameters. Visibility bug fix.

svn path=/import/netsurf/; revision=900
2004-05-29 21:01:36 +00:00
Richard Wilson 2af77b03e5 [project @ 2004-05-26 21:13:07 by rjw]
Fix for FP exceptions.

svn path=/import/netsurf/; revision=897
2004-05-26 21:13:07 +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
Richard Wilson 1d75176293 [project @ 2004-05-24 20:50:57 by rjw]
Added option for maximum GIF animation speed (currently defaults to 10cs).
Fix for scaled animations not being correctly updated due to rounding issues.

svn path=/import/netsurf/; revision=895
2004-05-24 20:50:57 +00:00
Richard Wilson b28605cd5f [project @ 2004-05-24 20:47:32 by rjw]
Simple theme pane handling.

svn path=/import/netsurf/; revision=894
2004-05-24 20:47:32 +00:00
John Mark Bell af576a9bc7 [project @ 2004-05-23 16:37:30 by jmb]
Fix acknowledgement of URI_MProcess. Thanks to John Baker for reporting.

svn path=/import/netsurf/; revision=893
2004-05-23 16:37:30 +00:00
Richard Wilson d721c0473d [project @ 2004-05-23 12:50:37 by rjw]
Fix for my stupidity.

svn path=/import/netsurf/; revision=892
2004-05-23 12:50:37 +00:00
Richard Wilson 9d305e4ec0 [project @ 2004-05-23 12:22:05 by rjw]
Improved style guide compliance and (incomplete) option to save window starting characteristics.

svn path=/import/netsurf/; revision=891
2004-05-23 12:22:05 +00:00
Richard Wilson 38befac56a [project @ 2004-05-23 11:22:10 by rjw]
Added detection for generic interactive help applications.

svn path=/import/netsurf/; revision=890
2004-05-23 11:22:10 +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
James Bursa 4a500f5614 [project @ 2004-05-21 23:42:26 by bursa]
Fix and clean code for radio and checkbox inputs.

svn path=/import/netsurf/; revision=884
2004-05-21 23:42:26 +00:00
James Bursa c2ebb7e4de [project @ 2004-05-21 10:29:54 by bursa]
Fix divide-by-zero bug.

svn path=/import/netsurf/; revision=879
2004-05-21 10:29:54 +00:00
Richard Wilson cfb09ad4f6 [project @ 2004-05-20 21:51:50 by rjw]
Animations now default to looping once.

svn path=/import/netsurf/; revision=875
2004-05-20 21:51:50 +00:00
Richard Wilson 9eb483c6e8 [project @ 2004-05-19 17:36:55 by rjw]
Faster GIF decoding

svn path=/import/netsurf/; revision=869
2004-05-19 17:36:55 +00:00
Richard Wilson a2e2222ac8 [project @ 2004-05-19 17:31:34 by rjw]
Fix for WindowManager 3.98

svn path=/import/netsurf/; revision=868
2004-05-19 17:31:34 +00:00
John Tytgat 25cca6f2a7 [project @ 2004-05-14 20:23:52 by joty]
Removed compiler warning (and odd construction).

svn path=/import/netsurf/; revision=865
2004-05-14 20:23:52 +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
Richard Wilson 4474156c22 [project @ 2004-05-14 17:36:30 by rjw]
Added support for more windows.
Fixed separators reporting the parent menu help message.

svn path=/import/netsurf/; revision=862
2004-05-14 17:36:30 +00:00
Richard Wilson 020080956a [project @ 2004-05-14 17:35:00 by rjw]
Begone status bar widget flicker!

svn path=/import/netsurf/; revision=861
2004-05-14 17:35:00 +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
John Mark Bell fa40b93632 [project @ 2004-05-12 10:43:34 by jmb]
Fix my inability to read

svn path=/import/netsurf/; revision=857
2004-05-12 10:43:34 +00:00
Richard Wilson 3f0f5d7be9 [project @ 2004-05-12 10:23:07 by rjw]
Interactive help keys made more descriptive.
Message key length increased to 24.

svn path=/import/netsurf/; revision=856
2004-05-12 10:23:07 +00:00
John Mark Bell 0ee5786458 [project @ 2004-05-12 08:05:35 by jmb]
Fix input focus when right clicking a link.

svn path=/import/netsurf/; revision=855
2004-05-12 08:05:35 +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
Richard Wilson 924fe5c995 [project @ 2004-05-10 22:53:36 by rjw]
Animations with a limited number of loops now stop on the last frame rather than the first.

svn path=/import/netsurf/; revision=850
2004-05-10 22:53:36 +00:00
Richard Wilson 47ab606edf [project @ 2004-05-10 22:14:33 by rjw]
Added support for NETSCAPE2.0 application extension for limited looping.
GIF decoding attempts all images, irrespective of whether they adhere to the GIF87/GIF89a spec.
Disabled logging.

svn path=/import/netsurf/; revision=849
2004-05-10 22:14:33 +00:00
Richard Wilson 7fa938d09c [project @ 2004-05-09 21:15:54 by rjw]
Temporary fix for decoding certain images.

svn path=/import/netsurf/; revision=848
2004-05-09 21:15:54 +00:00
Richard Wilson e5863b17d0 [project @ 2004-05-09 21:05:24 by rjw]
Local options are now adhered to (dither, filter, animate).

svn path=/import/netsurf/; revision=847
2004-05-09 21:05:24 +00:00
John Tytgat 226c002d57 [project @ 2004-05-09 16:49:53 by joty]
Type change of struct content_html.encoding from xmlCharEncoding to xmlChar; Pickup Content-Type charset in the HTML file and use this if the server didn't send it or there was no server involved (e.g. HTML loading from disk).

svn path=/import/netsurf/; revision=846
2004-05-09 16:49:53 +00:00
Richard Wilson f29ad7e266 [project @ 2004-05-09 16:12:24 by rjw]
Improved GIF animation and a decoding bug fix.

svn path=/import/netsurf/; revision=845
2004-05-09 16:12:24 +00:00
James Bursa 29340cf8c8 [project @ 2004-05-08 20:44:00 by bursa]
Break out ro_gui_dialog_load_template(). Replace xcalloc() with malloc() and add some error handling.

svn path=/import/netsurf/; revision=844
2004-05-08 20:44:00 +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
John Mark Bell 2d8ba47e70 [project @ 2004-05-07 00:06:26 by jmb]
Gain input focus when clicked

svn path=/import/netsurf/; revision=839
2004-05-07 00:06:26 +00:00
Richard Wilson fac94deeb8 [project @ 2004-05-06 22:24:37 by rjw]
Background redraw bug fix.

svn path=/import/netsurf/; revision=838
2004-05-06 22:24:37 +00:00
John Tytgat 255bf8f1ed [project @ 2004-05-06 21:18:26 by joty]
[ Again, the same commit of 2004-05-03 ]
ro_gui_set_icon_string() :
  - anti-flicker test didn't work when string is longer than icon text
    buffer length.
  - make sure we have a NUL char terminated string when new icon text is
    longer than icon buffer.

svn path=/import/netsurf/; revision=837
2004-05-06 21:18:26 +00:00
James Bursa 7cb9b4d79b [project @ 2004-05-06 20:37:48 by bursa]
Remove obsolete theme files. Hide some unimplemented toolbar icons. F2 moves caret to URL bar and clears it to "www.". Simplify some of the toolbar code. Fix menu-related crash (reported by Jerome Mathevet).

svn path=/import/netsurf/; revision=836
2004-05-06 20:37:48 +00:00
James Bursa c0a4ab450b [project @ 2004-05-06 12:14:47 by bursa]
Some save-related fixes.

svn path=/import/netsurf/; revision=835
2004-05-06 12:14:47 +00:00
John Mark Bell f01ebe2648 [project @ 2004-05-06 01:26:37 by jmb]
Remove Object->Reload menu entry as it does nothing.
Save the correct URL when exporting the URL of an object (previously it saved the URL of the link target (if appropriate) of ofla (if not). Now save the URL of the object.
TODO - saving of link targets and their URLs

svn path=/import/netsurf/; revision=834
2004-05-06 01:26:37 +00:00
John Mark Bell 4193007532 [project @ 2004-05-06 00:56:15 by jmb]
Fix previous checkin - don't ack when saving complete - it breaks otherwise.

svn path=/import/netsurf/; revision=833
2004-05-06 00:56:15 +00:00
John Mark Bell d93e102899 [project @ 2004-05-06 00:52:31 by jmb]
Convert "magic" number usage to an enum to appease James.
Send message dataload after successful save - now possible to save directly to other apps.

svn path=/import/netsurf/; revision=832
2004-05-06 00:52:31 +00:00
Richard Wilson c4fe8ccf18 [project @ 2004-05-05 20:04:37 by rjw]
Status window now correctly respects the horizontal scroll bar height.

svn path=/import/netsurf/; revision=829
2004-05-05 20:04:37 +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
John Mark Bell 9deb539031 [project @ 2004-05-05 00:19:51 by jmb]
Fixes for Norcroft

svn path=/import/netsurf/; revision=827
2004-05-05 00:19:51 +00:00
John Mark Bell 0f8e3e06e4 [project @ 2004-05-05 00:02:13 by jmb]
Implement saving of Links as URI, URL and Text
Implement saving of page objects in their original format
Implement export of page images as Sprite
Fix NULL pointer causing ofla when extracting page charset from libxml

svn path=/import/netsurf/; revision=826
2004-05-05 00:02:13 +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 Tytgat 24c57d3215 [project @ 2004-05-03 21:00:14 by joty]
ro_gui_set_icon_string() :
  - anti-flicker test didn't work when string is longer than icon text
    buffer length
  - make sure we have a NUL char terminated string when new icon text is
    longer than icon buffer.

svn path=/import/netsurf/; revision=820
2004-05-03 21:00:14 +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 afb5e4209b [project @ 2004-05-02 17:01:37 by jmb]
Remove #ifdef nastiness. Now uses alloca.

svn path=/import/netsurf/; revision=816
2004-05-02 17:01:37 +00:00
John Tytgat f310036536 [project @ 2004-05-02 14:49:28 by joty]
Corrupted PNG files will no longer result in assert() calling.  See
test suite at http://www.schaik.com/pngsuite/pngsuite.html.

svn path=/import/netsurf/; revision=815
2004-05-02 14:49:28 +00:00
John Mark Bell 51bea40b9a [project @ 2004-05-02 01:04:38 by jmb]
A couple more Norcroft-related patches.
The use of #ifdef __GNU_C__ in both of these can be avoided. I'm not entirely sure whether it would be sensible to do so, so I've left them as-is.

svn path=/import/netsurf/; revision=814
2004-05-02 01:04:38 +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 Tytgat 8d57502f04 [project @ 2004-05-02 00:16:23 by joty]
Ack successful save with message_DATA_LOAD.

svn path=/import/netsurf/; revision=812
2004-05-02 00:16:23 +00:00
John Tytgat 75871a2ac5 [project @ 2004-05-01 23:40:37 by joty]
Workaround for Norcroft oddity.

svn path=/import/netsurf/; revision=811
2004-05-01 23:40:37 +00:00
John Mark Bell dcfa1164d3 [project @ 2004-05-01 20:16:38 by jmb]
Escape @import in doxygen comments

svn path=/import/netsurf/; revision=809
2004-05-01 20:16:38 +00:00
James Bursa 199eee4b0b [project @ 2004-04-26 13:47:51 by bursa]
Fix scaled GIF animations.

svn path=/import/netsurf/; revision=805
2004-04-26 13:47:51 +00:00
Matthew Hambley d44ab700d0 [project @ 2004-04-25 11:40:05 by matthewh]
A more human face to download bytecounts.  Needs someone who can speak French to correct the fr messages file.

svn path=/import/netsurf/; revision=803
2004-04-25 11:40:05 +00:00
James Bursa 1f07fc6de5 [project @ 2004-04-24 23:42:31 by bursa]
Replace void pointer in content callbacks with union content_msg_data. Fix animated gif flickering (except for scaled or masked gifs). Add gif to the debug builds.

svn path=/import/netsurf/; revision=801
2004-04-24 23:42:32 +00:00
James Bursa a7dbc01677 [project @ 2004-04-21 22:26:54 by bursa]
Fix background clipping bug.

svn path=/import/netsurf/; revision=798
2004-04-21 22:26:54 +00:00
James Bursa 9bd6721a73 [project @ 2004-04-21 21:36:06 by bursa]
Fix redraw bugs; change plotting of radio and checkboxes to make them scalable.

svn path=/import/netsurf/; revision=796
2004-04-21 21:36:06 +00:00
Richard Wilson dc510627d9 [project @ 2004-04-17 20:50:33 by rjw]
Fixed animation disposal handling.

svn path=/import/netsurf/; revision=790
2004-04-17 20:50:33 +00:00
Richard Wilson 6f5dd247ad [project @ 2004-04-17 16:45:46 by rjw]
Improved Scale window GUI functionality.
Improved icon update code.

svn path=/import/netsurf/; revision=789
2004-04-17 16:45:46 +00:00
James Bursa 31c76750f9 [project @ 2004-04-13 23:19:44 by bursa]
Remove some obsolete options.

svn path=/import/netsurf/; revision=777
2004-04-13 23:19:44 +00:00
Andrew Duffell 1bd8727c69 [project @ 2004-04-13 21:57:12 by andrew]
removal of redundant options bor browser

svn path=/import/netsurf/; revision=776
2004-04-13 21:57:12 +00:00
Richard Wilson 033e1cda54 [project @ 2004-04-13 19:04:32 by rjw]
Added extra menu options.
Fixed bug in menu creation for values not present in the Messages file.

svn path=/import/netsurf/; revision=774
2004-04-13 19:04:32 +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 1df9d83656 [project @ 2004-04-13 13:31:54 by jmb]
Fix bug in URL rewriting affecting pages with embedded HTML documents.
Rename save_complete_internal to save_complete_html to aid clarity

svn path=/import/netsurf/; revision=770
2004-04-13 13:31:54 +00:00
John Mark Bell 04cdfb6151 [project @ 2004-04-12 23:59:01 by jmb]
Fix flawed check for URL scheme we can handle

svn path=/import/netsurf/; revision=768
2004-04-12 23:59:01 +00:00
John Mark Bell 226f3efbe8 [project @ 2004-04-12 22:04:51 by jmb]
Fix calculation of string width

svn path=/import/netsurf/; revision=767
2004-04-12 22:04:51 +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
Richard Wilson 7d165500d3 [project @ 2004-04-12 19:40:57 by rjw]
Theme height now reported as 2 OS units larger.

svn path=/import/netsurf/; revision=762
2004-04-12 19:40:57 +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
Richard Wilson cc48a49f21 [project @ 2004-04-11 14:30:18 by rjw]
Fixed memory leak.
Fixed background not being cleared for thumbnails that are not oversampled.

svn path=/import/netsurf/; revision=753
2004-04-11 14:30:18 +00:00
Richard Wilson 568ea65400 [project @ 2004-04-11 14:29:30 by rjw]
Added ability to turn off 32bpp thumbnails.

svn path=/import/netsurf/; revision=752
2004-04-11 14:29:30 +00:00
John Mark Bell 076b8c8a96 [project @ 2004-04-10 23:41:12 by jmb]
Fix use of wrong variable when rewriting <style> elements

svn path=/import/netsurf/; revision=749
2004-04-10 23:41:12 +00:00
John Mark Bell 02915fd4cd [project @ 2004-04-10 23:12:28 by jmb]
Add text under thumbnails again.

svn path=/import/netsurf/; revision=748
2004-04-10 23:12:28 +00:00
Richard Wilson 88bf9d7ddc [project @ 2004-04-10 20:04:11 by rjw]
Fix for thumbnail palette bug.
Fix for upper case iconsprite names.
Uses thumbnail sprite creation routines.

svn path=/import/netsurf/; revision=747
2004-04-10 20:04:11 +00:00
Richard Wilson f61d7fe881 [project @ 2004-04-10 18:19:35 by rjw]
Thumnails now created with a palette to fix incorrect colour rendition.
Thumnails output to a 32bpp sprite where possible.
Thumnails oversampled to improve display if desired.

svn path=/import/netsurf/; revision=744
2004-04-10 18:19:35 +00:00
Richard Wilson 4934762dd6 [project @ 2004-04-10 18:12:58 by rjw]
Added option for thumbnail oversampling.

svn path=/import/netsurf/; revision=743
2004-04-10 18:12:58 +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 9de746e0a0 [project @ 2004-04-08 23:46:41 by jmb]
Improve keypress handling in form text boxes.
Note: Not yet implemented for textareas as these need more work anyway.

svn path=/import/netsurf/; revision=740
2004-04-08 23:46:41 +00:00
Richard Wilson 13f1dde4d9 [project @ 2004-04-08 17:30:26 by rjw]
Support for 32bpp thumbnails.

svn path=/import/netsurf/; revision=739
2004-04-08 17:30:26 +00:00
John Mark Bell 96aa983ac6 [project @ 2004-04-06 23:23:24 by jmb]
Fix for changed GIF data structures

svn path=/import/netsurf/; revision=734
2004-04-06 23:23:24 +00:00
Richard Wilson 8b7d128a57 [project @ 2004-04-06 23:13:25 by rjw]
New GIF reading code.

svn path=/import/netsurf/; revision=732
2004-04-06 23:13:25 +00:00
John Mark Bell 8961ddc366 [project @ 2004-04-05 22:36:48 by jmb]
Tidy up handling of save_complete_list.
Fix rewriting of <style> elements to cater for hidden elements.

svn path=/import/netsurf/; revision=724
2004-04-05 22:36:48 +00:00
John Mark Bell f5a0093a88 [project @ 2004-04-05 21:54:22 by jmb]
Implement outstanding functionality

svn path=/import/netsurf/; revision=722
2004-04-05 21:54:22 +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 b43eb4f933 [project @ 2004-04-04 03:14:03 by jmb]
Take account of gAMA chunk

svn path=/import/netsurf/; revision=717
2004-04-04 03:14:03 +00:00
John Mark Bell 2f2cfbfe16 [project @ 2004-04-03 18:08:31 by jmb]
Add title text to history tree

svn path=/import/netsurf/; revision=716
2004-04-03 18:08:31 +00:00