Commit Graph

451 Commits

Author SHA1 Message Date
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
John Mark Bell
9dded4a01c [project @ 2004-04-03 17:28:04 by jmb]
Wrap window offset every 5 windows.

svn path=/import/netsurf/; revision=715
2004-04-03 17:28:04 +00:00
John Mark Bell
0a31d736c2 [project @ 2004-04-03 12:36:48 by jmb]
Add fixed offset when opening new windows.

svn path=/import/netsurf/; revision=711
2004-04-03 12:36:48 +00:00
Richard Wilson
ad07b6e656 [project @ 2004-04-03 11:49:48 by rjw]
GIF file reading

svn path=/import/netsurf/; revision=710
2004-04-03 11:49:48 +00:00
John Mark Bell
7872dc57fd [project @ 2004-04-03 02:59:34 by jmb]
Implement page info dialog box.

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

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

svn path=/import/netsurf/; revision=705
2004-04-02 23:12:26 +00:00
James Bursa
c38ea1026a [project @ 2004-04-02 15:52:28 by bursa]
Fix scrolling and resizing of scaled windows.

svn path=/import/netsurf/; revision=702
2004-04-02 15:52:28 +00:00
John Mark Bell
361fcf507a [project @ 2004-04-02 15:16:15 by jmb]
Update url checking to use fetch_can_fetch
Fix non null-termination of strings in URL broadcast messages.

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

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

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

svn path=/import/netsurf/; revision=694
2004-04-01 00:26:05 +00:00
James Bursa
dcca670d43 [project @ 2004-03-30 22:47:23 by bursa]
Disable mouse gesture code, since it is unmaintained and broken.

svn path=/import/netsurf/; revision=693
2004-03-30 22:47:23 +00:00
John Mark Bell
66bab3a14a [project @ 2004-03-30 20:24:00 by jmb]
Make save button work

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

svn path=/import/netsurf/; revision=691
2004-03-30 11:45:48 +00:00
John Mark Bell
4b6e8a9a27 [project @ 2004-03-28 15:21:49 by jmb]
Fixup truncation of sprite name.
Use malloc instead of calloc

svn path=/import/netsurf/; revision=687
2004-03-28 15:21:49 +00:00
John Mark Bell
9c4dad6b63 [project @ 2004-03-28 14:33:52 by jmb]
Create iconsprite for save complete.

svn path=/import/netsurf/; revision=686
2004-03-28 14:33:52 +00:00
James Bursa
c75b1473be [project @ 2004-03-28 14:09:55 by bursa]
Set type of saved text.

svn path=/import/netsurf/; revision=685
2004-03-28 14:09:55 +00:00
James Bursa
776274f4a9 [project @ 2004-03-28 00:29:29 by bursa]
Fix idle polling when events are scheduled.

svn path=/import/netsurf/; revision=684
2004-03-28 00:29:29 +00:00
James Bursa
d5a81883e8 [project @ 2004-03-27 23:18:52 by bursa]
Implement url_nice() and make save boxes use it to choose the default filename.

svn path=/import/netsurf/; revision=682
2004-03-27 23:18:52 +00:00
James Bursa
26f171382f [project @ 2004-03-27 18:53:17 by bursa]
Menu warning bug fix.

svn path=/import/netsurf/; revision=681
2004-03-27 18:53:17 +00:00